Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    hello110300509
    @hello110300509
    Thank you
    hello110300509
    @hello110300509

    float a, b, y;

    switch((int)PIN(mode)) {
    case PHASE_90_3PH: // 90°
    a = u - v;
    b = w - v;
    y = u / 3.0 + v / 3.0 + w / 3.0;
    break;

    case PHASE_120_3PH:  // 120°
      a = u * 2.0 / 3.0 - v / 3.0 - w / 3.0;
      b = v / M_SQRT3 - w / M_SQRT3;
      y = u / 3.0 + v / 3.0 + w / 3.0;
      break;
    
    case PHASE_180_2PH:  // 180°
      a = 0;
      b = (u - w) / 2.0;
      y = (u + w) / 2.0;
      break;
    
    case PHASE_180_3PH:  // 180°
      a = v;
      b = (u - w) / 2.0;
      y = (u + w) / 2.0;
      break;
    
    default:
      a = 0.0;
      b = 0.0;
      y = 0.0;
    in the clark transformantion , what is the meaning of mode,
    We generally use the Clark transformantion as PHASE_120_3PH, Why the stmbl has the other modes
    Nico Stute
    @crinq
    for dc and 2ph motors
    hello110300509
    @hello110300509
    thanks. what is the meaning of PHASE_90_3PH and PHASE_180_3PH
    hello110300509
    @hello110300509
    Which component complete the initial posistion identification for stmbl
    Nico Stute
    @crinq
    fb_switch if the feedback is not absolute
    hello110300509
    @hello110300509
    Thank you
    hello110300509
    @hello110300509
    What is the initial posistion identification method used in stmbl
    issyvarsano
    @issyvarsano
    UVW
    Nico Stute
    @crinq
    depends on the feedback and motor
    e.g. hall sensors, open loop d axis alignment, hfi, ...
    hello110300509
    @hello110300509
    I can not find where the sturcts are defined, such as curpid_pin_ctx_t, fb_switch_pin_ctx_t and so on.
    where they are
    where are they
    Nico Stute
    @crinq
    run make and look at src/hal_tbl.c and stm32f303/src/hal_tbl.c
    hello110300509
    @hello110300509
    thank you
    Nico Stute
    @crinq
    the *_pin_ctx_t stuff is in inc/comps/<comp_name>.h generated by https://github.com/rene-dev/stmbl/blob/master/tools/create_comp_h.py
    hal_tbl.c contains the comp and pin names
    hello110300509
    @hello110300509
    ok, thank you
    hello110300509
    @hello110300509
    what is the meaning of the error: fault 6: saturation error

    I just typed the command as Connect it rev0.in = sim0.vel

    Set frequency sim0.freq = 1 (in Hz)

    Enable fault0.en = 1

    hello110300509
    @hello110300509
    sometimes, it shows : fault 5 position error
    1639972686(1).png
    I confirm that the encoder has been correctly configured
    Nico Stute
    @crinq
    looks like the polecount or encoder resolution is a bit off
    or if this is an incremental encoder with index conf0.mot_fb_offset is wrong
    hello110300509
    @hello110300509
    yes, this a incremental encoder
    how to determin the value of conf0.mot_fb_offset
    and i have ecountered another problem, when i enter rev0.in = sim0.vel, the red led under near the usb will flah slowly
    usually
    which means that the communication with the lV board is lost
    hello110300509
    @hello110300509
    image.png
    when the motor is stationary, there are jitters on the feedback speed.
    image.png
    hello110300509
    @hello110300509
    How do I know which modules are loaded in my stmbl
    Nico Stute
    @crinq
    help
    list all available commands
    lonestarecm
    @lonestarecm
    Hello. Is it possible to buy two completed stmbl right now?
    DMS-Sci
    @DMS-Sci
    I'm all out of STMBL kits, and the last time I checked with PCBAWay it was so expensive to order another batch due to the STM microprocessor shortage that it wasn't worth it.
    I have plenty of IRAM 256-2067A2 chips, laser cut cases, capacitors, even case labels... everything to make more drives except the populated boards.
    Edward Scott
    @edwardscott_gitlab
    I planning to retrofit new controls to an Emco 120P lathe. The lathe uses a Siemens DC spindle motor. The motor is rated at 2.6Kw with a 400V armature and requires the use of field weakening. More details can be found at https://emcocncretrofits.fandom.com/wiki/120_Spindle
    Is the V4.1 capable of driving this motor?
    Edward Scott
    @edwardscott_gitlab
    I strongly suspect I will never need the full 2.6Kw...
    Seppo Pietarinen
    @spietari

    I'm trying to get the FB0 ABZ encoder's Z routed to index_enable in LinuxCNC. By default it seems that sserial0.index_out is connected like this in STMBL:

    idx_home0.index_en <= sserial0.index_out

    I can see the index pulse in ServoTerm if I connect enc_fb0.index to term0.wave4.

    The connection in LinuxCNC is done like this:
    net xindex joint.0.index-enable <=> hm2_5i25.0.stbl.0.0.index_enable

    The issue is that joint.0.index-enable is false all the time.

    These are the lines in sserial.c that I suspect:
        //set bidirectional pins
        PIN(index_out)       = data_out.index_enable;
        data_in.index_enable = (PIN(index_clear) > 0) ? 0 : data_out.index_enable;
    Seppo Pietarinen
    @spietari
    Ok, it think I understood the principle now. LinuxCNC sets index_enable true to indicate index is needed. When STMBL sees the index signal the index_clear bit sets index_enable to false that LinuxCNC can see.
    John Dammeyer
    @jcdammeyer
    What's the difference between a Brushless DC Servo and an AC Servo?
    Nico Stute
    @crinq
    the name, nothing else
    roguish
    @roguish:matrix.org
    [m]
    hello all. What is the status of the stmbl drive? has the replacement for the unobtainable power IC been completed? Is anyone currently building units?