Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    boerderpatrol
    @boerderpatrol
    $255 a piece though I’d certainly prefer to sell the lot and be done with it.
    Itching to gut these beasts, make the adapters and call it done.
    But the sale of the stmbls pays for the Chinese drive kits.
    boerderpatrol
    @boerderpatrol
    Good luck in you alls projects, thanks devs, if you want any remaining drives talk to @DMS-Sci farewell!
    highbiker
    @highbiker
    Hi,
    @Borderpatrol offered STMBLs of version 4.4. But on Github I can only find version 4.3.
    Where do I find version 4.4?
    Thanks in advance
    DMS-Sci
    @DMS-Sci
    @boerderpatrol sold me all of his STMBL drives. There are 6 completed v4.1 drives, and a partially completed v4.3. I was going to test them to make sure they work then offer them to the forum here.
    DMS-Sci
    @DMS-Sci
    20220505_135709.jpg
    focus-tec
    @focus-tec
    hello! I need help. I want to connect via usb to hv board, but there is no usb_device.c file. if i use libs from stm32cube it doesn't work. how can I do it?
    Rene Hopf
    @rene-dev
    The usb on the hv board is only for programming via bootloader, there is no usb support in the firmware.
    JanStry
    @JanStry

    Hi i'm having troubles with my stmbl & AC servo. the resolver works fine. when i'm using 24volt on HV board i can joy the motor. but the motor runs a bit jerky from time to time.. sometimes i get a saturation error. when connecting 320V to the stmbl the servo is more jerky and i get more saturation errors and position errors..somebody has a idea where to start solving this.. thanks

    conf: link res_fb0
    conf0.j = 0.0001
    conf0.l = 0.0001
    conf0.r = 1.1
    conf0.max_vel = 600
    conf0.max_ac_cur = 1
    conf0.max_force = 2.4
    conf0.polecount = 3

    issyvarsano
    @issyvarsano
    use sys_id branch for tuning , there is little readme explaing haw to
    JanStry
    @JanStry
    thanks @issyvarsano , i got the motor running pretty decent. good torque at all speeds.
    Sometimes my laptop built-in mouse starts to act weird when the stmbl is connected and servo running..when i disable the drive its back to normal. i guess this is not very safe....somebody experienced the same problem??
    andypugh
    @andypugh
    Is it a wireless mouse? I have a wireless mouse at work, and that gets weird if the office is unusually full. Nothing to do with servo drives, but shows that they are susceptible to interference.
    JanStry
    @JanStry
    built in macbook mousepad....usb internal
    Sync-
    @Sync-
    it's a grounding issue
    you get capacitive coupling of the motor voltages and then the touchpad acts up
    I have it sometimes too
    JanStry
    @JanStry
    oh ok.
    i would like to use my stmbl for spindle control in linux cnc. i guess SmartSerial is the best way but since i'm only using stmbl for the spindle on this machine(not the xyz) i would like to control it without mesa card. is it possible to control the drive with step/dir + serial/rs485 for errors and current monitoring?
    andypugh
    @andypugh
    Step/dir for speed control ought to be fairly easy. I am less sure about separating the coms feedback.
    JanStry
    @JanStry
    thank andy, i got step/dir working but its pretty noisy since i'm not using differential signals atm.(i will use a am26ls31cn in the future to send rs422 signals for step/dir)
    about the serial protocols. is there a working protocol on the feedback1 connector?
    issyvarsano
    @issyvarsano
    @JanStry use common mode filters at the motor connectors near the stmbl. It will reduce significant the noice
    JanStry
    @JanStry
    286007123_434861071434959_7374313573173750396_n.jpg
    hi i did some more testing. i build a small circuit with am26ls31 to send step/dir. this works pretty good. with my 24V powersupply everything works great. but with my 320V powersupply step/dir is still not working as it should. i tried sending step/dir pulses from a arduino and from time to time the arduino freezes reboots...and my laptop trackpad is acting up.. i have added a ferrite core on the motor leads close to the stmbl as @issyvarsano suggested. this does not make a noticeable difference in my case.. what is the best way to ground the drive? maybe the problem is my small 320V powersupply.. its pretty rudimental : 4diodes in bridge and a small 100uF(400V) cap.
    issyvarsano
    @issyvarsano
    @JanStry wrong ferite ...
    use Laird-Signal Integrity Products 28B1122-100 , make 2-3 turns
    JanStry
    @JanStry
    thanks you @issyvarsano , the ferrite i'm using at the moment is about 2mm shorter and 3mm thinner than the Laird-28B1122-100 you suggested. (not on the photo obvious) . it might be something else..maybe capacitive coupling of the motor voltages like @Sync- also experienced . any solutions for this? thanks
    long0900
    @long0900
    @tlorincz72 Hi, were you able to read all 22 bits of HG-KR servo motor's encoder
    although the manual say the encoder is 22 bit, my experiment and the hint from stmbl's wiki suggest that it only has 18 bit resolution
    tlorincz72
    @tlorincz72
    @long0900 Hi, I read as 17 bit encoder (with 2,5Mbit/s). Good enough for my projects..
    long0900
    @long0900
    I agree that 17-18 bit is plentiful but the encoder has up to 22 bit resolution, at least that's what the manual says. The more the better, right? ;)
    can you confirm your HG-KR motor is equiped with OBA24R encoder? Thanks!
    tlorincz72
    @tlorincz72
    @long0900 just sent 0x32, and encoder replies the 17bit pos data. I have the same OBA24R encoder on the motor (nearby the matrix code)
    Nico Stute
    @crinq
    afaik you have to send a different byte to get more data from the encoder
    tlorincz72
    @tlorincz72
    @crinq I don't modified the original stmbl firmware. Just works with HG-KR encoder.
    tlorincz72
    @tlorincz72
    @crinq Here is the HG-KR73 config:
    link pid
    link pmsm
    link encm_fb0
    link misc
    load enc_cmd
    enc_cmd0.rt_prio = 2
    enc_cmd0.res = conf0.cmd_res
    rev0.in = enc_cmd0.pos
    enc_cmd0.mode = 0
    conf0.r = 0.8
    conf0.l = 0.008
    conf0.j = 0.00013
    conf0.max_force = 4
    conf0.max_ac_cur = 5
    conf0.mot_fb_res = 131072
    conf0.cmd_res = 2048
    conf0.mot_fb_offset=0
    conf0.com_fb_offset=0
    conf0.mot_fb_rev = 1
    conf0.polecount = 5
    conf0.psi = 0.08
    fault0.cmd_error = 0
    io0.cmdg = 1
    long0900
    @long0900
    @tlorincz72 thank you
    long0900
    @long0900
    @crinq that's strange since the encoder reports 3-byte position, there's enough room to fit the LSBs in these bytes
    maybe I'll try to test all possible command bytes and observe the outcomes
    Nico Stute
    @crinq
    it sends single + multi turn data for the 0x32 request
    you can overwrite the request with encm0.cmd
    long0900
    @long0900
    thanks :) I'll take note of this
    currently I haven't built any stmbl drive yet, just tinkering with FOC concept and implementation
    Marian Omnibus
    @rabrabar
    @JanStry Hey try half-wave rectifier configuration, where neutral (verified and not just one from any two wires in any socket) is directly connected to capacitor minus. The neutral should already be grounded somewhere. I have just had problems with full wave rectifier on square wave inverter power, with one output grounded. It seems just a diode drop away there, but who knows what goes on there with the spikes...
    Marian Omnibus
    @rabrabar
    This may be off topic but I know most of You use LinuxCNC... Does anyone remember the keystick ncurses interface? I never used it but I would like to avoid X on one machine... It looks like it was abandoned for a few years before it went out of EMC. I tried linuxcncrsh and the python interface really is a snail compared to that. I might try to get keystick working again, or create something similar. My question is if I should use emc.hh NML stuff to communicate or is non-realtime hal component talking to halui an acceptable solution? I'm not sure it would cover all needed features, that is one thing but I wonder if any of these be noticably faster than the other? Any other things to consider? Thanks.