Standalone Full Bridge DC Motor Driver

preview_player
Показать описание
Standalone Full Bridge (H Bridge) DC Motor Driver using Tiny13 and IR2104
======================================
======================================
======================================
======================================
The Full-Bridge (H-Bridge) is the most popular driver circuit to control brushed DC motors. The main advantage of a full bridge driver is the ability to change the rotation direction of the motor, without manually reversing the supply wires. I’ve already published the Half-bridge and H-bridge driver circuits before; however, I was receiving many requests and comments for a standalone H-Bridge driver to control the DC motors, without using any external board or a controller.
Therefore, I introduced a cheap, compact, and standalone H-Bridge DC motor driver that can be embedded in a variety of mechatronic devices. A cheap ATTiny13 microcontroller controls everything and I used the Arduino IDE to write the microcontroller code. All components, except for the connectors, are SMD.
The motor can be controlled in three modes: Forward, Stop, and Reverse. The user can adjust the rotation speed of the motor separately in the forward or reverse direction, using two panel-mounting potentiometers. The low ON-Resistance of the Mosfets allows you to use this circuit in high currents.
To design the schematic and PCB, I used Altium Designer 22. The fast component search engine (octopart) allowed me to quickly collect the components’ data and generate the BOM as well. To get high-quality fabricated boards, I sent the Gerber files to PCBWay. To test the driver board, I disassembled an electric toy car and used its powerful 775 DC motor (plus the gearbox).
It’s a cool experience, just build one and have fun!

Specifications
Input Voltage (Motor): 8-40VDC
Supply Voltage (Controller): 12VDC
PWM Frequency: 25KHz
Motor Control: Forward-Stop-Reverse
Motor Speed: [0 to 100%] Forward, [0 to 100%] Reverse
Рекомендации по теме
Комментарии
Автор

Standalone Full Bridge DC Motor Driver

MyVanitar
Автор

Excellent. I will build your circuit. It's going on perf board, I build one and move on. This will be my first go with the ATtiny13 and the use of MOSFETS in an H-bridge. Exciting new fronts.

planker
Автор

I like your design man! a channel like yours counts on Fingers on YouTube

hp
Автор

Hi there Hesam, great video. can you please tell me how you decided on the bootstrap circuit? I am making a similar board but much less current. those FETs are so expensive nowadays

oviwise
Автор

Hello. Maybe you can help me with a quick question. What is the 27 Ohm resistor between 12V and 5V for? Does it only act as an inrush current limiter for the capacitor? Is it necessary? Best

fragapple
Автор

Fantastic video!! Great in-depth inflammation, thank you very much.
Would you ever consider making a circuit that controls higher voltages like a treadmill motor?

seanmcdonald
Автор

would it be difficult to add a current sense circuit to it? what's the most appropriate way of adding it?

ljuberzy
Автор

Hi Vanitar, I am planning to use this to create 24V AC @80 AMPS to create tig aluminum welder. Planning to use arduino to switch forward/reverse. Will there be any problem?

sriramprabhu
Автор

That's a really neat little board with a tight layout. I've designed several motor control boards, but usually using all-in-one motor drivers, since I'm doing four channels per board, which would be 16 FETs! My control chip does PID using feedback from a quadrature encoder and has an SPI interface. Let me know if you're looking to add PID to your board.

ChristieNel
Автор

hello, how are the losses on the mosfet? Did you measure the Vds voltages and currents of the mosfet with an oscilloscope?
Have you done soft switching?
Thank you

elektrik-elektronikmuhendi
Автор

Hi. In your project you are using IR2104 MOSFET driver. May I ask you something why my output waveform to the gate of the MOSFET are not really smooth. Did you have any ideas or suggestions to fix this problem? I'm using 12.8V DC supply, 50KHz PWM frequency and 0.7 duty cycle

qucaizul
Автор

very useful project can we use single potentiometer for both reverse and forward

santoshbabu
Автор

Is the Arduino required for the PCB's operation.

ToddWestley
Автор

Thank you MyVanitar ! Nice project as always ! Why don't you try to make sine wave inverter, it would be an amazing topic as there is alot to tell about it !

youneshamache
Автор

hello. i have tried to use 24 volt as VCC for my 24 volt motor, but every time i run circuit i only get 8.5 volt maximum across the motor leads? does it have something to do with the VGS? i tried everything but unable to get 24 volts as it supposed to? help is appreciated please

hafeezullahqazi
Автор

سلام داداش..من اینو دقیقا با قطعات و شماتیک که گذاشتین کار کردم.. ولی جالب اینه که اصلا موتور حرکت نمیکنه.. چند تا هم برد دیگه زدم بازم کار نکرد.. نمیدونم چطور شد..میتونی لطفا کمک کنی. تشکر.

behzadabf
Автор

Hi ı am curious when we give PWM 1 to IC2, if Q4 and Q5 MOSFETs will short circuit or not.

beratarslan
Автор

Excellent explanation in your article. Just asking that is it mandatory to use PWM frequency from Arduino to be between 20KHz to 25KHz ???

graphic-omania
Автор

Is this board can drive 100% duty cycle?

metsereyvicheka
Автор

hello, it is possible to drive a 3-phase ac servo motor directly with materials such as a mosfet capacitor without a driver
to use driver tell me what I need

mehmetkays