H Bridge

Site: MyCourses
Course: KON-C3003 - Mekatroniikan harjoitustyö, Luento-opetus, 11.1.2022-14.4.2022
Book: H Bridge
Printed by: Guest user
Date: Monday, 18 November 2024, 12:11 PM

Description

Device demonstrating the working principle an H bridge electrical circuit


1. About the project

The main purpose of this device is to demonstrate the structure of an H bridge electrical circuit. This is achieved by showing both the schematics and the actual components of the structure. Because H bridge is often used to control the direction of a DC motor, the device also features a motor speed controller which is done by manipulating the duty cycle of a square wave (pulse width modulation).


2. The device

This chapter contains information about the functionality of the device.

2.1. General design

The mechanical structure of the device consists of a box that has two lids on hinges. The box and the top lid are 3D printed. The upper lid has a picture of the schematics of the H bridge as well as indicator LEDs to tell which MOSFETs are currently activated. There is also a small DC motor in the middle of the upper lid. The lower lid is a breadboard with the actual working components wired.

All of the wirings are done on the side of the hinges in order to avoid damage (and also for improved aesthetics). The controls of the device are placed on the side for easier and cleaner wiring. The motor and controls are fitted on a small separate 3D printed part to ensure they fit in the case a replacement part has different dimensions.

The device is powered with a 9 V battery.



2.2. H bridge and indicator LEDs

The H bridge is built by using N-channel MOSFETs (FDP7030BL). The diodes in the schematic are there to protect the MOSFETs from back EMF. The actual H bridge circuit is placed on the stripboard, which acts as a lower lid.

LEDs on the upper lid are not connected to the output of the speed controller. This would interfere with the functionality of the circuit. Instead, they are operated by a 3-way switch (on-off-on), which also controls the H bridge.

It is important that the current always goes through the load (DC motor). All the MOSFETs are not to be turned on simultaneously. Therefore the correct wiring on the switch is essential.


2.3. PWM motor speed control

The motor speed is controlled by a 555 timer circuit. Its output is fed to the gate of the MOSFETs. The speed of the motor is altered by modulating the pulse-width of the output. The duty cycle of the signal is controlled with a variable resistor (potentiometer).

The 555 timer IC is used in astable mode (not monostable because it generates only a single pulse).



3. Schematics

Schematics of the 555 timer IC and the H-bridge.


4. Wiring of the connectors



Connectors from left to right.

Potentiometer
Blue Green Blue
Side Middle Side

The direction of this connector only determines the direction of the potentiometer.
Connector to the lid
Red Black Green Green Black
Motor Motor LED out 1 LED out 2 Ground

This connector is divided into 2 parts; the motor and LEDs. The wrong direction of motor wires doesn’t cause problems since it is a DC motor. However, the 3-wire connector must be wired correctly.
8-wire connector
Green Blue Blue Green Blue Blue Black Red
PWM from the 555 to the switch PWM 1 from the switch PWM 2 from the switch 9V to the switch LED 1 from the switch LED 2 from the switch Ground from the 9V battery 9V from the battery (through the main power switch)