Isolating and Protecting Your Microcontroller and Motor with Shared Power Supply

Click For Summary
SUMMARY

Using a shared 12V power supply for both a microcontroller and a DC motor can lead to current disturbances, particularly due to the high current demands of the motor. It is essential to select an AC-DC adapter with a current rating that meets or exceeds the motor's operational requirements, as indicated in the motor's data sheet. To mitigate issues such as voltage spikes and electrical noise, it is advisable to implement separate power supplies for digital and high-power components. Additionally, employing bypass capacitors and reverse-biased diodes can provide necessary isolation and protection for the microcontroller.

PREREQUISITES
  • Understanding of voltage regulators and their applications
  • Knowledge of DC motor specifications and current requirements
  • Familiarity with electrical noise and its impact on microcontroller performance
  • Experience with circuit protection techniques, including bypass capacitors and diodes
NEXT STEPS
  • Research the specifications of your DC motor to determine its current requirements
  • Learn about implementing bypass capacitors for noise reduction in circuits
  • Explore methods for isolating power supplies in mixed-signal applications
  • Study the use of reverse-biased diodes for transient protection in motor circuits
USEFUL FOR

Electronics engineers, hobbyists working with microcontrollers and motors, and anyone involved in designing circuits that require power management and noise reduction strategies.

MHR-Love
Messages
17
Reaction score
0
Would there be any fear if I supplied both the microcontroller (through a voltage regulator) and the 12V DC motor using a driver connected to the microcontroller from the same 12V source?

Current will be distributed on both the motor and the controller and some other circuits interfaced with it. I think this might cause some current disturbance as DC motors require a considerable amount of current.
I am afraid that the whole circuit will need more current than the one supplied by my AC-DC adapter (400mA).

If I can use the same source, what is the current rating of the new adapter that is suitable for this application?
Thnx
 
Engineering news on Phys.org
We can't answer your last question, except by saying the current rating for the adapter should be whatever current your motor needs to operate. See the data sheet for the motor.

Often it is better to have separate supplies for the digital electronics and the analog (and high power) parts of the system, to minimize any problems with the electronics getting a "noisy" power supply with voltage spikes when the motor switches on and off, etc.
 
motors with brushes are electrically "noisy" , if you're using one be sure to place bypass capacitors nearby.
 
Be careful with the "ground"/minus supply wiring. You may need to run a separate ground wire for the processor circuit back to the supply. I use a diode with a good sized filter capacitor in line to the processor's voltage regulator so dips in the power from motor turn-on loads don't drop out the regulator. Reverse biased diodes and bypass capacitors across the motor (or other inductive loads) will help to clamp transients as well.
 
I would put as much isolation and protection between the motor and your microcontroller if they're both supplied by the same 12V. I have blown up my microcontroller voltage regulator and bridge circuits by improperly commutating a motor with high torque ripple before because I did not put sufficient voltage transient protection at the input of my regulator.
 
Most likely this can only be answered by an "old timer". I am making measurements on an uA709 op amp (metal can). I would like to calculate the frequency rolloff curves (I can measure them). I assume the compensation is via the miller effect. To do the calculations I would need to know the gain of the transistors and the effective resistance seen at the compensation terminals, not including the values I put there. Anyone know those values?

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
Replies
21
Views
8K
Replies
21
Views
2K
Replies
7
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K