Pages: [1]   Go Down
Author Topic: Motor doesn't like switching high side.  (Read 405 times)
0 Members and 1 Guest are viewing this topic.
California
Offline Offline
Sr. Member
****
Karma: 3
Posts: 443
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I have a couple medium lego power functions motors than I want to control speed and direction with the arduino. I am ordering the SN754410NE to control them. The problem is that I am playing around with them, switching them with a PSMN2R0-30PL. I am just doing one pin at a time right now so only speed, no direction. When I use the mosfet to switch the low side of the motor it works fine. But when I switch the high side it goes much slower.

If I do anything like add a bit of resistance to the high side it stops working. But if I power it with a clean 5v, down from its usual 9, it runs fine. Just slower. Is this normal? How can I make sure this motor will work with that motor driver chip?

Thanks.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 544
Posts: 27352
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

"How can I make sure this motor will work with that motor driver chip? "
Connect N-channel & NPN to the low side.

Connect P-channel & PNP to the high side.  That's how.

The 754410 makes those connections internally, see page 2.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

California
Offline Offline
Sr. Member
****
Karma: 3
Posts: 443
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

So the high side specifically need to be driven by a P-channel? I had assumed that was simply to use only one signal to pull one low and one high. Is that my problem?
(I should clerify that I do not have a P-channel on me so I can't just try it)
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 631
Posts: 34488
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
So the high side specifically need to be driven by a P-channel?
Yes if the voltage you are switching is greater than the voltage driving the switch. Otherwise the output on the high side can never be greater than the switch voltage which in this case is 5V.
Logged

California
Offline Offline
Sr. Member
****
Karma: 3
Posts: 443
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That sounds familiar, hopefully I remember this time. Thank you this solves my problem completely.
Logged

0
Offline Offline
Shannon Member
****
Karma: 214
Posts: 12406
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

High-side MOSFET driver chips exist that synthesize a bias voltage to allow them to switch n-channel MOSFETS on the high-side - an external capacitor (and sometimes diode) are needed for the charge-pump circuit.   Since n-chan MOSFETs are about 3 times superior in performance to p-chan MOSFETs (all else being equal) these are very handy.  The popularity of this technique is why p-chan MOSFETs aren't very common.
Logged

[ I won't respond to messages, use the forum please ]

Pages: [1]   Go Up
Jump to: