3

I don't know if this is a really dumb question or not, but I've seen all kinds of torque, peak-current and RMS discussions related to current drive output for stepper motors. I acknowledge that for a 2-phase Hybrid stepper motor to run smoothly the phase currents must be two sinusoids one advanced 90º in relation to the other, like the image below

https://www.researchgate.net/figure/Sampled-currents-in-2-phases-of-stepper-motor-in-500-ms_fig4_275460011 But I really don't know why is that. I've read in a book ( Stephen D. Umans- Fitzgerald & Kingsley's Eletrical Machinery) that the torque as a function of the rotor angle is a sinuisoidal curve when phase A or B are excited, but why phase A and B should also be a sinuisoidal current is not clear to me. I'm a grateful in advance for anyone who can explain for me this correlation between current sinusoidal waveforms and torque enter image description here

enter image description here

(https://www.researchgate.net/figure/Sampled-currents-in-2-phases-of-stepper-motor-in-500-ms_fig4_275460011)

  • 2
    Think of a simple stepper motor with one magnet and two orthogonal coils. What do you know about sines, cosines, and inscribed triangles having the radius of a circle as their hypotenuse? – Chris Stratton Apr 15 '19 at 18:51
  • 1
    Stepper motor currents DO NOT have to be sinusoidal, it depends purely on whether you micro-step or not. Micro-stepping allows you to position the motor between its base step positions. For example a 1.8deg step motor can be driven at 4, 8, 16 ….256 times it's base step resolution. Start reading: https://www.linearmotiontips.com/microstepping-basics/ – Jack Creasey Apr 15 '19 at 19:02
  • It's a dumb question, because you are ambiguous about your uncertainty. Is it only the how does quadrature phase 2 pole torque work with sin/cos? or why is it smooth sin/cos current instead of triangular? – Tony Stewart EE75 Apr 16 '19 at 13:16

2 Answers2

2

The sinusoid shown in your question is related to the position of the stepper motor between its base detents it has nothing to do with the current through the phases or the speed (rpm) of the motor. The frequency of this sinusoid can be reduced to DC, in other words the motor is stationary. Look at something like the TB6600 datasheet to understand the difference between the position current ratio (relative to two phases) and the switcher current (relates to only one phase).
One describes the relative ratios between the currents in two phases (but has nothing to do with absolute values, stepper motor phase inductance or resistance), while the other describes the actual phase current in one phase. Consider that the same driver can drive a stepper motor with 0.5A peak current and stepper with 2A peak current.....the position ratios do not change.

Stepper motor currents DO NOT have to be sinusoidal, but the ratios between phase current must be sinusoidal. This depends purely on whether you micro-step or not.
Micro-stepping allows you to position the motor between its base step positions. For example a 1.8deg step motor can be driven at 4, 8, 16 ….256 times it's base step resolution. Start reading:

  1. Micro-stepping as it relates to per step torque
  2. Switching frequency as it relates to per phase current

Notice that in #1 the torque collapses rapidly as you increase the micro-step ratio. Consider that at any point in the position domain the change in current through the two phases drops, so effectively reducing the power available to turn the motor armature.

You DO NOT need to have a switching driver for the per phase currents. There were many disk drives in the early days that did head positioning with stepper motors, but they used a D/A with a constant current driver to set the current per phase.

If you want a good reference for understanding stepper motors and the drive technologies you can't do much better than Paul Acarnley's book STEPPING-OTORS A GUIDETO THEORY AND PRACTICE.
In particular, sections 3.4.2 and 3.4.3 and 5.4.4 will be of interest to your question.

Jack Creasey
  • 21,428
  • 2
  • 15
  • 29
  • Regardless if the Stepper is PWM current controlled or Voltage PWM controlled , this waveform is 500ms cycle or 2 Hz and motor T=L/R decay time is much shorter. so the steady state current per microstep is still V/DCR of coil if voltage controlled by PWM at say > 100kHz So the voltage has steps but the current is smoother just like my answers shows with L/R time constant e.g. 400us – Tony Stewart EE75 Apr 15 '19 at 22:17
  • I simply don't get that you can't see that the current ripple in the phase (which is the only component your answer relates to in any way) has absolutely nothing to do with the sinusoidal RATIO of phase currents required to provide the position of the motor. There is no smoothing of the sinusoid ….they are steps (ratios) defined in the controller that have nothing to do with the absolute current value flowing in the phases. – Jack Creasey Apr 15 '19 at 22:27
  • THe question shows 2 sine wave coil currents about 60 deg apart with 2 Hz. I agree this is the slow microstepped wave. but as it is stepped towards max speed, there is an L/R effect. OK my bad. But it also has nothing to do with current feedback at this low speed. I = %V/DCR in open loop as well – Tony Stewart EE75 Apr 15 '19 at 22:35
  • Jack if you make a small edit ..such as explain why sin/cos example in question is 72 deg instead of 90 deg. then I can upvote it.. Thanks in advance as it is locked" until edited" – Tony Stewart EE75 Apr 16 '19 at 13:18
-1

All DC Motors behave with Current controlled torque.

Steppers are no different at slow speeds of variable current steps.

Holding torque (T) is the product of a motor’s torque constant (KT) and the current (i) applied to the stator windings.

it is true that as current is reduced with microstep position between poles, that the torque is reduced in a sine fashion and thus can only go 1/16 the acceleration and 1/16 the worse case static load to slip vs a full step current control. This torque smoothing method thus trades off max torque and max acceleration significantly. The step-to-step slew rate of the step is reduced by the L/R response time makes time plot look sinusoidal.

This researcher had some noise issues in his plots, which does not matter much due to necessary deadtime glitches with the motor L/R = 3.5mH/5R = 440 us risetime resulting in 1.1 kHz noise.

Ideally, the motor currents are in quadrature 90 deg phase difference. i.e. sin/cos controlled currents at some phase according to a sine lookup table from 0 to 100% with 8 bit resolution resulting 256 microsteps of PWM duty cycle 0 to 255.

e.g.

Step   = duty cycle @ 40 kHz for one phase winding
1 251
2 238
3 217
4 188
5 154
6 114
7 70
8 24
9 24
10 70
11 114
12 154
13 188
14 217
15 238
16 251

enter image description here

This is not an ideal design, but works.

This paper FPGA implementation is not ideal and they show the quadrature currents 72 degrees apart. Operating at a pole frequency of 2 Hz.

enter image description here

When operating at maximum Stepper rate the Motor inductance/resistance ratio is the limiting factor for pole frequency as the inductance raises the impedance , reduces the winding current and torque and is more likely to slip.

This paper used 40 KHz L=3.5mH and DCR= 5 Ohms.

Tony Stewart EE75
  • 1
  • 3
  • 54
  • 182
  • The integral applies to the switching frequency of the driver, typically in the 30-100kHz range and has absolutely nothing to do with micro-stepping. Try to explain when the motor is stopped at any of the micro-step positions. The motor is then stationary, stopped at some fixed position in the sinusoidal drive, but the switcher is still working at it's independent frequency. – Jack Creasey Apr 15 '19 at 20:03
  • That is not how micro-stepping works @JackCreasey The fundamental frequency ramps up from DC to some f with staircase PWM steps in quadrature cycles to a maximum RPM (f) at some fundamental frequency. So the waveform given in the question is at maximum RPM not static DC -1 to your comment. The number of microsteps is user selected results in fmax/N for N steps per half cycle. The lag current is the exponential or partial integral for each microstep due to L/R time constant. The actual cct is a Full H bridge and not the single switch as shown but the result is the same. for DC – Tony Stewart EE75 Apr 15 '19 at 21:53
  • But I agree some fast steppers use current steps. but the filtering effect is the same. – Tony Stewart EE75 Apr 15 '19 at 21:55
  • Regardless of whether you use Current Feedback or voltage PWM control, the resulting **current is same** %PWM difference between dual coils is due to the V/R =I thus current = torque balance to some microstep position between poles. So you still have a static DC current at rest, And this becomes sinusoidal at max RPM . As the stepper slows , the voltage reverses from BEMF then applied voltage and the same filtering effect as above is what the OP is asking about. DO you think it is about current controlled steps or DC position or at full speed microsteps.? – Tony Stewart EE75 Apr 15 '19 at 22:05
  • Absolutely none of what you just said applies a stepping motor at affixed position....or at very low stepping speed. You simply don't understand how it works. I suggest you go read the reference book I added to my answer, or any of the micro-stepping controller chip data sheets. – Jack Creasey Apr 15 '19 at 22:09
  • Jack I have understood , tested and verified Stepper designs since 1980 and as recent as my last quad gantry controlled system 2 years ago. Something wrong with your opinions. THis is not about the Toshiba IC.. WHen stepping slow. I=V/DCR using no feedback or with feedback for a given PWM duty cycle and Vavg=Vdc. CUrrent control has advantages for higher current when f>R/L cycle rate Your PWM clock rate is irrelevant to this question with a 500ms cycle time in the stepper current waveform. -1 examine his graph closer please, next time do not prejudge what I know – Tony Stewart EE75 Apr 15 '19 at 22:11
  • I reiterate, show me you math when the stepper motor is at any fixed position ….how does the PWM or switcher frequency relate to the sinusoidal ratios of currents required? I've built a load of CNC too …..especially at very high microstepping ratios. – Jack Creasey Apr 15 '19 at 23:15
  • I was attempting to illustrate the modulating frequency effects at max velocity microstep rate , not the PWM rate which is much higher ( here 40kHz in paper) In the early 80's I had the fastest stepper 5.25" HDD on themarket. with viscous damper and controlled acceleration rates.. My recent CNC gantry could move small loads up to 200 cm/s on a 12 mm D pulley gear thus my stepper RPM was ~53 Hz = 3180 RPM with 200 steps/rev or ~ 250 us step time with controlled acceleration....which is a pretty fast stepper – Tony Stewart EE75 Apr 16 '19 at 00:20
  • So you were not trying to answer the OPs question? I reiterate, the sinusoidal relationship ratio of current between the two phases has absolutely nothing to do with the PWM or switcher maintenance of current through a particular phase. – Jack Creasey Apr 16 '19 at 04:37
  • @Jack I revised my answer in response to your suggestions and the PWM just generates the current step. ok now? But I went further to show exactly how it works. – Tony Stewart EE75 Apr 16 '19 at 04:41
  • But I admit my mistake overlooking the scope trace as a VI curve of the motor rather than a A-B current that isn’t even in perfect quadrature, which is what distracted me in the first place – Tony Stewart EE75 Apr 16 '19 at 05:51