Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Re: Was (What is a current sensing resistor)

2004-04-27 by James Wagner

Not sure if this original query was answered but here is a
stab at it.

For micro-stepped stepper motors, the windings are usually
driven directly with a PWM switch (ofen, using an
H-bridge). The PWM is not open-loop as would be the case
with PWM from most micros. Instead, it is feedback
controlled, varying the PWM on-time according to the
current actually flowing vs the desired current. The
current sense resistor is used to measure the actual
winding current. 

If you are not microstepping, then its a simple matter of
windings all on or all off. You don't need to measure the
current. But, you do need to be careful about the operating
voltage and current of the windings because the current
will rise to the value set by the simple winding resistance
(and the power supply voltage).

If you ARE microstepping, in my opinion, you are far better
off using one of the integrated microstepping drivers
(Allegro and JRC come to mind). These take ANALOG voltages
in to set the current in each winding and those analog
voltages can be made by smoothing PWM outputs from the
micro.

Hope this isn't too confusing!

Jim Wagner

>  In AVR-Chat@yahoogroups.com, "dv7839"
> <danvernon@e...> wrote:
> > I hope this isn't too far off topic.  I was
> doing some research for 
> an 
> > AVR powered stepper motor driver design when I came
> across a 
> reference 
> > to a current sensing resistor.  Could someone
> please explain what 
> this 
> > is, and why one might use it?
> > 
> > thanks,
> > dan
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Yahoo! Groups Links
> 
> To visit your group on the web, go
> to:http://groups.yahoo.com/group/AVR-Chat/ 
> To unsubscribe from this group, send an email
> to:AVR-Chat-unsubscribe@yahoogroups.com 
> Your use of Yahoo! Groups is subject to the Yahoo! Terms
> of Service.
> 
> 
> 
> 
> 
> 
> 
> 
> 

Make the most out of Apple's innovative technologies
http://developer.apple.com/wwdc/applelinks.html
---------------------------------------------------------------
---------------------------------------------------------------
The Think Different Store
http://www.thinkdifferentstore.com/
For All Your Mac Gear
---------------------------------------------------------------
---------------------------------------------------------------

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.