Driving 5V DC motor from MCU output

Click For Summary
SUMMARY

This discussion focuses on driving a 5V DC motor using a microcontroller (MCU) output while addressing issues related to voltage drops during motor startup. The motor is powered through a TPS5430 Step-down converter from an 18V supply. To mitigate the voltage surge that causes MCU reset, users recommend implementing a series resistor and shunt filter capacitor, with suggested values of R=5 ohms and C=10 mF for small motors. Additionally, using a dedicated LM7805 voltage regulator for the MCU and a Schottky diode for protection against inductive spikes are advised to enhance circuit stability.

PREREQUISITES
  • Understanding of TPS5430 Step-down converter operation
  • Knowledge of microcontroller voltage requirements and reset behavior
  • Familiarity with RC filter design principles
  • Experience with Schottky diodes and their applications in motor control circuits
NEXT STEPS
  • Research LM7805 voltage regulator specifications and implementation
  • Learn about RC filter design for motor control applications
  • Investigate Schottky diode characteristics and their impact on circuit performance
  • Explore methods for managing inrush current in DC motors
USEFUL FOR

Electronics engineers, hobbyists working with microcontrollers, and anyone involved in designing motor control circuits will benefit from this discussion.

alexwryt
Messages
4
Reaction score
0
I am trying to drive a 5V DC motor using a MCU output. The motor is run directly off the +5V line which is down-converted from 18V using a TPS5430 Step-down converter.

The MCU coding is basically that when the inputs are in the correct state, the output to the FET turns on for a number of milliseconds before shutting off again. My problem is that as soon as the motor turns on, the voltage from the supply surges down for a split second and kills my MCU with a POR reset. I think it is because of the initial great current demand for starting the motor from stop. Is there any way I can modify my circuit to protect against this effect?

[PLAIN]http://myimgs.net/images/ydhx.jpg
 
Last edited by a moderator:
Engineering news on Phys.org
I suggest splitting the +5 volts at the source, running 1 leg directly to the circuit, and putting a series resister R (first) and a shunt filter capacitor C (next) on the other leg in front of the motor. The values of R and C depend on the motor, but for a small motor drawing say 0.1 amps, use R=5 ohms and C= 10 mF for starters. If this doesn't work, put a separate smaller RC filter on the other leg.

Bob S
 
The Micro needs to have its own regulator. A LM7805 would be OK.

To do this, you would have to bring a supply voltage of 7 volts or more to the board with the Micro on it and mount a 5 volt regulator there.

If this wasn't possible, you could try this arrangement:

[PLAIN]http://dl.dropbox.com/u/4222062/supply%20filtering.PNG

The idea is that the large capacitor holds enough charge to supply the Micro while the motor starts.
The Schottky diode stops the voltage from the capacitor discharging into the motor.
Unfortunately, this diode also drops the supply voltage of the Micro by about 0.2 volts, even using a Schottky diode.
And the voltage will still fall when the motor starts, although not as much as without the diode and capacitor.

I have added a diode across the motor. This is a conventional way of protecting the FET against destructive pulses from an inductive load.
It is cheap insurance.
 
Last edited by a moderator:

Similar threads

Replies
2
Views
2K
Replies
5
Views
5K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 12 ·
Replies
12
Views
9K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
4K
Replies
11
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K