Isolating and Protecting Your Microcontroller and Motor with Shared Power Supply

Click For Summary

Discussion Overview

The discussion revolves around the concerns and considerations of supplying both a microcontroller and a 12V DC motor from the same power source. It explores the implications of shared power supply on circuit performance, particularly focusing on current distribution, noise, and protection mechanisms.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Experimental/applied

Main Points Raised

  • One participant expresses concern about potential current disturbances when supplying both the microcontroller and the motor from the same 12V source, suggesting that the total current demand may exceed the adapter's capacity of 400mA.
  • Another participant indicates that the current rating for the adapter should match the motor's operational requirements as specified in its data sheet, emphasizing the importance of understanding the motor's current needs.
  • A participant notes that brushed motors can introduce electrical noise, recommending the use of bypass capacitors placed nearby to mitigate this issue.
  • One contributor advises caution regarding the ground wiring, suggesting the use of a separate ground wire for the processor circuit and the implementation of a diode with a filter capacitor to prevent voltage dips affecting the regulator.
  • Another participant shares a personal experience of damaging a microcontroller due to insufficient voltage transient protection when improperly managing a motor with high torque ripple, advocating for increased isolation and protection measures.

Areas of Agreement / Disagreement

Participants express a range of concerns regarding the shared power supply, with no consensus on the best approach. There are differing opinions on the necessity of isolation and protection measures, as well as the implications of noise from the motor.

Contextual Notes

Limitations include the lack of specific details about the motor's current requirements and the potential impact of noise on the microcontroller's performance. The discussion does not resolve the optimal configuration for power supply and protection.

Who May Find This Useful

Electronics hobbyists, engineers working with microcontrollers and motors, and those interested in circuit design and power management may find this discussion relevant.

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.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
Replies
21
Views
8K
Replies
21
Views
3K
Replies
7
Views
4K
  • · 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