R
Robert Latest
Guest
Hi guys,
I built a very simple PWM circuit to maintain a contant, unidirectional
current through a small (24V/1A) DC motor from parts I had kicking
around.
The circuit consists of a low-side MOSFET switcher with .5R current
sense in the source leg. An LM393 comparator compares this voltage to an
externally set reference and asynchronously resets a flip flop when the
sense voltage is greater than the ref. The flip flop is clocked "on"
periodically by a 20kHz oscillator; its output drives the gate driver.
Well, it works fine, actually.
My problem is that the circuit doesn't switch at 20kHz but at much lower
frequencies, which are quite unstable and vary greatly depending on the
preset current limit and motor speeds, which of course creates
intolerable noise.
Before I start redesigning the circuit to employ a less direct form of
feedback (not using the instant motor current itself to create the PWM
ramp) I'd like to ask if this problem is common, and how it is usually
dealt with. I've looked at data sheets of several PWM controller ICs and
found pretty much the very same circuit I'm using.
What are the fine points I have missed?
I know that a certain "singing" of PWM controlled inductances such as
stepper motors is common and hard to avoid. I'd just like to limit the
noise to a tolerable level.
Thanks,
robert
I built a very simple PWM circuit to maintain a contant, unidirectional
current through a small (24V/1A) DC motor from parts I had kicking
around.
The circuit consists of a low-side MOSFET switcher with .5R current
sense in the source leg. An LM393 comparator compares this voltage to an
externally set reference and asynchronously resets a flip flop when the
sense voltage is greater than the ref. The flip flop is clocked "on"
periodically by a 20kHz oscillator; its output drives the gate driver.
Well, it works fine, actually.
My problem is that the circuit doesn't switch at 20kHz but at much lower
frequencies, which are quite unstable and vary greatly depending on the
preset current limit and motor speeds, which of course creates
intolerable noise.
Before I start redesigning the circuit to employ a less direct form of
feedback (not using the instant motor current itself to create the PWM
ramp) I'd like to ask if this problem is common, and how it is usually
dealt with. I've looked at data sheets of several PWM controller ICs and
found pretty much the very same circuit I'm using.
What are the fine points I have missed?
I know that a certain "singing" of PWM controlled inductances such as
stepper motors is common and hard to avoid. I'd just like to limit the
noise to a tolerable level.
Thanks,
robert