CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Half H-Bridge Design

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
ertansuluagac



Joined: 13 Jul 2017
Posts: 135
Location: IZMIR

View user's profile Send private message Send e-mail

Half H-Bridge Design
PostPosted: Sun Apr 26, 2020 4:05 am     Reply with quote

Hello everbody
I want to get an idea about a topic. The subject is;
I want to drive using mosfet instead of relay. Do you think it makes sense?
_________________
Es
temtronic



Joined: 01 Jul 2010
Posts: 9243
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sun Apr 26, 2020 4:45 am     Reply with quote

re: MOSFET vs relay

Implies a very low speed control signal as relays are 'slow' devices. Just on, off, usually less than 5Hz. So NOT PWM.

1/2 H-bridge requires a split (center tapped) power supply. $$$ !! especially at high current.

Depending on the 'device' a relay could be a LOT cheaper than a MOSFET (and support parts). A 40 Amp relay might be $5, MOSFET +parts $10-20 ?

MOSFET will need a 'driver', so added parts, PCB design, etc. Power layout on PCB is critical.

We need to know more 'specs' about the intended 'load' or 'device' that the PIC will control.

edit. rethinking about this and the 1/2 bridge power supply HAS to have IDENTICAL + and ++ supplies, probably within 1/2%, so that say CW and CCW rotations of the motor is within a reasonable design specification.
it could be one reason why full H-bridges are used. Again this goes back to 'what' the device is that has to be controlled.


Last edited by temtronic on Sun Apr 26, 2020 8:04 pm; edited 1 time in total
elcrcp



Joined: 11 Mar 2016
Posts: 62
Location: izmir / Turkey

View user's profile Send private message

PostPosted: Sun Apr 26, 2020 8:19 am     Reply with quote

It depends on purpose... If you are not dynamically controlling the motors, not applying pwm, not changing course in miliseconds then relays are the right choice. But if you have a very dynamic motor control system then the mosfet drivers are the right thing.

As Jay mentioned, 10-40Amps mosfet motor drivers comes pricy and designing one might come tricky. But there are many H bridge IC's If you are working on low power.
_________________
There is nothing you can't do if you try
dluu13



Joined: 28 Sep 2018
Posts: 395
Location: Toronto, ON

View user's profile Send private message Visit poster's website

PostPosted: Sun Apr 26, 2020 8:26 am     Reply with quote

If you're using a small motor then I would consider MOSFETs because they take less power to run than relays if that's a concern.
newguy



Joined: 24 Jun 2004
Posts: 1909

View user's profile Send private message

PostPosted: Sun Apr 26, 2020 9:30 am     Reply with quote

In either case ensure you have good quality/properly rated flyback diodes. A snubber might be required as well.
dluu13



Joined: 28 Sep 2018
Posts: 395
Location: Toronto, ON

View user's profile Send private message Visit poster's website

PostPosted: Sun Apr 26, 2020 9:35 am     Reply with quote

newguy wrote:
In either case ensure you have good quality/properly rated flyback diodes. A snubber might be required as well.


Yes. Note that if you buy an h bridge chip they usually come included. Just make sure to check the data sheet though.
Ttelmah



Joined: 11 Mar 2010
Posts: 19540

View user's profile Send private message

PostPosted: Mon Apr 27, 2020 5:31 am     Reply with quote

Lets get this clear.
A half H bridge, only allows you to turn a motor on, disconnect it, or
apply braking to it.
With a relay, that is all.
With mosfets, and PWM, you can also do speed control.
Nothing else.
Is this all you need?.

Now with mosfets, first key thing is there is no isolation. The drive voltage
for the bottom fet has to share it's Vss rail with that of the control voltage.
For the upper fet, with a 5v motor, a P-channel type can be used, and
the same then applies with the Vdd. However for higher voltages, and
better efficiency, and N-channel fet can also be used, but then a voltage
rail above the supply has to be generated for the gate drive, and the drive
voltage then has to be isolated using an opto-coupler typically.
Also, because mosfets have extremely high input capacitances, switching
them at speed requires a lot of drive current, so high current drivers have
to be used, not just a direct output from the logic.
Properly done a mosfet bridge is a great way to go, but use a proper
driver IC designed for this. It saves a lot of problems....
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group