stmbl servo drive setup with smart serial.

  • skunkworks
  • Topic Author
  • Offline
  • Moderator
  • Moderator
More
7 years 8 months ago #127555 by skunkworks
stmbl servo drive setup with smart serial. was created by skunkworks
I want to use one of my stmbl drives to power my bldc spindle motor. It is a 155v 750w motor. After a few false starts I figured out the CUI amt102 encoders are not great for position control. (not accurate and hunt around) Anyway - I put a normal optical encoder with index and it seems to work good. (just using the servoterm to 'jog' the servo around)

I have it working with closed loop within the stmbl drive - you can see it here...



Now - I setup a 7i92+7i76 to see if I could communicate with smart serial. I have it finding the stmbl amp - but I am not getting the pins expected.
Code:
halcmd: show pin hm2_7i92.0.stbl.0.1. Component Pins: Owner Type Dir Value Name 14 float OUT 0 hm2_7i92.0.stbl.0.1.current 14 bit IN FALSE hm2_7i92.0.stbl.0.1.enable 14 bit OUT FALSE hm2_7i92.0.stbl.0.1.fault 14 bit OUT FALSE hm2_7i92.0.stbl.0.1.fault-not 14 bit OUT FALSE hm2_7i92.0.stbl.0.1.in-00 14 bit OUT FALSE hm2_7i92.0.stbl.0.1.in-00-not 14 bit OUT FALSE hm2_7i92.0.stbl.0.1.in-01 14 bit OUT FALSE hm2_7i92.0.stbl.0.1.in-01-not 14 bit OUT FALSE hm2_7i92.0.stbl.0.1.in-02 14 bit OUT FALSE hm2_7i92.0.stbl.0.1.in-02-not 14 bit OUT FALSE hm2_7i92.0.stbl.0.1.in-03 14 bit OUT FALSE hm2_7i92.0.stbl.0.1.in-03-not 14 bit I/O FALSE hm2_7i92.0.stbl.0.1.index_enable 14 bit I/O FALSE hm2_7i92.0.stbl.0.1.index_enable-not 14 bit IN FALSE hm2_7i92.0.stbl.0.1.out-00 14 bit IN FALSE hm2_7i92.0.stbl.0.1.out-01 14 bit IN FALSE hm2_7i92.0.stbl.0.1.out-02 14 bit IN FALSE hm2_7i92.0.stbl.0.1.out-03

This is my current stmbl config
Code:
link pid link pmsm link enc_fb0 link jog_cmd link misc conf0.r = .3 conf0.l = 0.0001 conf0.j = 0.0004 conf0.polecount = 2 conf0.mot_fb_rev = 1 io0.out0 = fault0.mot_brake conf0.max_ac_cur = 20 conf0.max_force = 4 conf0.mot_fb_res = 20000 conf0.mot_fb_offset = -.65 conf0.phase_cur = 5 link sserial

I am swimming around a bit..

Please Log in or Create an account to join the conversation.

  • skunkworks
  • Topic Author
  • Offline
  • Moderator
  • Moderator
More
7 years 8 months ago #127560 by skunkworks
Replied by skunkworks on topic stmbl servo drive setup with smart serial.
Rene just let me know that I need to use 2.8 currently. 2.7 doesn't have floating point over smart serial. So I am going to try that :)

Thanks!

Please Log in or Create an account to join the conversation.

  • skunkworks
  • Topic Author
  • Offline
  • Moderator
  • Moderator
More
7 years 7 months ago #128059 by skunkworks
Replied by skunkworks on topic stmbl servo drive setup with smart serial.
So - I think the main problem is that the stmbl drive had old firmware in it. I managed to get the drive into a odd state. Flashing the latest firmware fixed the issues I was having..

The following user(s) said Thank You: silopolis

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago #129987 by silopolis
Replied by silopolis on topic stmbl servo drive setup with smart serial.
Hi,

What kind of power supply do you use to feed the 155VDC?

Thanks in advance

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago #129997 by tommylight
Replied by tommylight on topic stmbl servo drive setup with smart serial.
Usually big transformers with rectifiers and some capacitors to smooth the output voltage.
The following user(s) said Thank You: silopolis

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago #130089 by silopolis
Replied by silopolis on topic stmbl servo drive setup with smart serial.
Do you design and build your own circuits or use off the shelf modules/PCBs ?

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago #130126 by cmorley

Please Log in or Create an account to join the conversation.

  • skunkworks
  • Topic Author
  • Offline
  • Moderator
  • Moderator
More
7 years 7 months ago #130127 by skunkworks
Replied by skunkworks on topic stmbl servo drive setup with smart serial.
Some tinkering

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago #130206 by andypugh
Replied by andypugh on topic stmbl servo drive setup with smart serial.

silopolis wrote: What kind of power supply do you use to feed the 155VDC?


In most applications you can use just a fuse, inrush current limiter [1] and bridge rectifier and rely on the internal caps in the STMBL. You only need external filter caps in high power applications.

[1]That's just an example, you might want to read the data sheets to choose the most suitable.
The following user(s) said Thank You: silopolis

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago - 7 years 6 months ago #130281 by silopolis
Replied by silopolis on topic stmbl servo drive setup with smart serial.

andypugh wrote: In most applications you can use just a fuse, inrush current limiter [1] and bridge rectifier and rely on the internal caps in the STMBL. You only need external filter caps in high power applications.


ok, so, seems like I should have bookmarked those DIN modules where it seemed you could just plug those thermistors in !?... Couldn't find ICL boards (if that makes sense), but nevertheless, found "proper" ICL DIN modules.

I know that can get toroidal transformer with the secondary outputs I want. But I'm having much harder times finding rectifying circuit modules in for the high voltages the motors I've seen around ask for (220V, 310V).

In the end, I've found professional PSUs for servo motors, but afraid the bill would be discouraging, and a little too far of what I'm looking for as the ideal option would be an Open Hardware circuit.

Finally, opinions seem controversial about switching power supplies for servo applications (as they are in audiophile ones BTW) so they remain a suspended option to me...
Last edit: 7 years 6 months ago by silopolis.

Please Log in or Create an account to join the conversation.

Time to create page: 0.081 seconds
Powered by Kunena Forum