Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    andypugh
    @andypugh
    On the LinuxCNC side, yes.
    It should all auto-detect.
    Marian Omnibus
    @rabrabar
    Great!
    boerderpatrol
    @boerderpatrol
    Once more what is the command to enable step/dir command? Which part of the git outlines step/dir details?
    issyvarsano
    @issyvarsano
    read the integrator manual
    boerderpatrol
    @boerderpatrol
    Located in which folder?
    Nico Stute
    @crinq
    step/dir:
    link enc_cmd
    enc_cmd0.mode = 1
    Paule2002
    @Paule2002
    I would like to flash my completly new soldered stmbl.
    But the Board only pops up as STM32 BOOTLOADER and not as stm in dfu mode
    Can someone give me a hint?
    WolframMalukker
    @WolframMalukker
    what OS are you flashing from?
    If Windows, yo MUST use the bootloader jumper to get it in DFU mode. To do this, you must un-power both boards, short the boot jumper, power whichever board you're programming and then unshort the boot jumper. THEN it will appear as a DFU device
    Nico Stute
    @crinq
    if it shows up as STM32 BOOTLOADER it is in dfu mode
    Marian Omnibus
    @rabrabar
    @issyvarsano which integrator manual?
    issyvarsano
    @issyvarsano
    @rabrabar if you want to use it with linuxcnc , then you need to read the manualfrom the linuxcnc web
    Paule2002
    @Paule2002
    My OS is Windows. I tried to follow https://github.com/nneil/stmbl-notes/blob/master/firmware-flashing-dfu-windows.md But STMBL is recognized as STM32 BOOTLOADER in windows device manager and not as described in the manual as STM Device in DFU Mode.
    So therefore it is not recognized from DfuSeDemo and I am not able to flash it.
    I will try it again otherwise i think I have to flash it via SWD.
    andypugh
    @andypugh
    @Paule2002 The manual was written by a Mac user. It is possible that the reported status for DFU mode is different in Windows.
    If Nico says that "STM32 BOOTLOADER" == DFU mode then I would proceed on the basis that he is correct.
    @Paule2002 Addendum: The docs here (https://github.com/rene-dev/stmbl/blob/master/docs/src/Getting%20Started.adoc ) were written by a Mac user. The nneil repository is new to me, and might be more up to date.
    Paule2002
    @Paule2002
    I managed to flash the .bin´s with the new STM32CubeProgrammer which was super easy. Thank you for your support.
    Marian Omnibus
    @rabrabar
    @issyvarsano ok
    andypugh
    @andypugh
    John Dammeyer
    @jcdammeyer
    @andypugh As the comments say. It's just a commercial product designed for a specific need but maybe overkill for 99% of the applications?
    wiesi-94
    @wiesi-94

    Hello,
    I have a problem with the configuration of a DC motor. When i use the haas.txt configuration the motor jumps on the table.

    I have played with all parameters but i couldn't found a working configuration.

    This is my setup:
    Input: 320V rectified mains
    Motor connected to U & W
    The motor was originally operated with a maximum of 190V and 16A. And has an armature resistance of 0.8Ω.
    I mounted the optical encoder directly on the motor shaft.

    Which parameters do I have to adjust so that the motor runs smoothly?

    Nico Stute
    @crinq
    which parameters did you change?
    wiesi-94
    @wiesi-94
    I have increased and decreased the following parameters: conf0.r, conf0.l, conf0.j, conf0.psi, conf0.cur_p.
    The max_ac_cur is set to 10.
    But i always ended up with the parameters form the haas.txt file. They work best but still very bad.
    image.png
    After a few seconds I get a Fault 6: saturation error
    Nico Stute
    @crinq
    playing with parameters will not work, you need to measure them or find a datasheet
    if you can compile and flash new firmware you can try the autotuning in the sys_id branch (needs new HV and LV firmware) https://github.com/rene-dev/stmbl/blob/sys_id/docs/src/tuning.adoc#auto-tuning
    sys_id is experimental and might not work
    John Dammeyer
    @jcdammeyer
    This is what I used with my DC Servos but it never really worked very well.
    '''# KL-34-180-90 DC Servo Motor - Haas Clone
    link pid
    link dc
    link enc_fb0
    link enc_cmd
    link misc
    conf0.r = 0.925
    conf0.l = 0.0025
    conf0.j = 0.00034
    conf0.psi = 0.3
    conf0.max_force = 8
    conf0.max_ac_cur = 20
    conf0.mot_fb_res = 1000
    conf0.cmd_res = 2000
    conf0.high_dc_volt = 120
    conf0.max_dc_volt = 150
    conf0.max_vel = 344
    conf0.cur_p = 0.7
    linrev0.scale = 6
    enc_cmd0.mode = 1'''
    '''# Now enable drive if external signal there
    fault0.en=io0.C78'''
    Nico Stute
    @crinq
    haas.txt is a very old config for our vf0
    it's not suitable for a motor without a machine
    John Dammeyer
    @jcdammeyer
    What does that mean, "motor without a machine"?
    wiesi-94
    @wiesi-94
    Are there compiled *.bin files available for the sys_id branch?
    Nico Stute
    @crinq
    no
    8 replies
    highbiker
    @highbiker
    Hi,
    I have a question about the Jumper 2. I have Motor with resolver feedback and the resolver provides a temperature sensor (temperature sensitive resistance). As I guess from the STMBL schematics I have to unconnect the Jumper 2. Otherwise the AIN would always read the value for 5V. Is that correct?
    grafik.png
    Nico Stute
    @crinq
    yes, but currently there is no software support for calculating the temperature from the adc reading
    you only get the voltage on pin 7
    1 reply
    Marian Omnibus
    @rabrabar
    @crinq I have a Stegmann SRS50-HFA0-K01 hiperface encoder. As I have seen previously, for now only sin+cos is used and it will work as an incremental encoder. Does this mean no index pulse, no fixed commutation signals and motor moving randomly on the startup? What about twisted pairs, should sin&refsin go to sin+&sin- input, same with cos and refcos. Should I connect data pair to ref+- (blue pair), or leave it unconnected and use it insted for PTC? I need brown pair to supply +12v, so I will switch the jumper. It looks like the ADC is only on the brown pair, so I will have to connect PTC to the screw terminal, or can I use the RJ45 somehow?
    Marian Omnibus
    @rabrabar
    I'm having trouble in locating graphical schematic for 4.1...
    Nico Stute
    @crinq
    sin/sinref -> sin+/sin-, ...
    sin, cos normally works with 5V, you only need 12V for the hiperface stuff
    i think you can connect the data pair and implement the protocol later
    you don't need the ptc, the i^2t observer is good enough for normal operation
    but you can connect it to the analog inputs (needs pullup/down + software to convert to temperature)
    Marian Omnibus
    @rabrabar
    Ok, that simplifies the cabling a bit. I checked and its a real thermistor, but I will leave it unconnected for now as there are no free pairs left.
    Marian Omnibus
    @rabrabar
    The sin&cos look like 1vpp signal, and looks right with 5v supply. I see it converted to square on two 65176 (pin 1). With default config, res_fb0 it shows something in servoterm on the graph along with position error, i changed to 1vpp_fb0 and i see no reaction when turning. Where to get more info?
    Marian Omnibus
    @rabrabar
    no comp with this name..
    Nico Stute
    @crinq
    link enc_fb0
    fb_switch0.mot_pos = enc_fb0.ipos
    Marian Omnibus
    @rabrabar
    wow!
    the red graph should wrap around after one revolution?
    Nico Stute
    @crinq
    yes
    arsenixprime
    @arsenixprime
    Are there any lower voltage variants of stmbl that are still active/supported? I have seen OtterControl, and mention of a 160V version in the history here. I'm doing a conversion which is only 90v. The full stmbl seems like overkill for this use (especially considering availability of various parts is limited).