Friday 5 June 2015

WEEK 7 (FYP 2)

WEEK 7

                                                           Hardware block diagram 
            


For this project, figure above shows a block diagram on how the system is declare as a input or output. These projects have 1 inputs which are analog signal from current transducer that is being converted to digital signal. The reason why the signal from current transducer is converted to digital signal is because microcontroller understand in digital signal only that is 8 bit. Output for these project is LCD and relay. Relay is used to drive the motor otherwise LCD is to display the current that pass through current traducer.

Design the circuit and programming.

The hardware implementation includes the construction of the circuit design of the system which includes configuration of current transducer, LCD display, and single pole double throw relay and H-bridge motor control.

Design the circuit using ISIS proteus professional 7.



Circuit for micro controller
By referring to the figure above there are stated the important ports description used in this project. The port actually is depending on how to design and which port will be used. It need to follow which port is declare during create the code. It is important to make sure that when compile the simulation each port will be active. Table 2 below show the description of each port at microcontroller atmel 89S52




Circuit for ADC

above figure shows the port used for the ADC and it is connected to atmel 89S52. The voltage reference is set to 2.5V and pin 6 is connected to output of the sensor used.





Circuit for LCD 16x2
figure show the configuration of the LCD 16x2. For the pin no 3 is connected straight to the ground to get maximum contrast.




Circuit for H-Bridge Motor Control

Figure  show the schematic diagram of H bridge motor control. The configuration of the H-bridge is to control forward and reverse of DC motor. And the motor that is used for this project is power windows motor. MOSFET transistor used is P-Channel IRF9540N at the top and N-Channel IRFZ44N on the bottom. IRF9540 has the ability to skip a current of 23A and 40A of IRFZ44N. With a maximum voltage of 24V. The use of a motor driver MOSFET is often applied to the motor driving the world of robotics. The switch above will connected to the port microcontroller and the motor will control by the microcontroller to be forward and reverse.



Circuit for Relay Motor Control Motor Control
Figure  show the schematic relay motor control. Relay is one of the method to control forward and reverse of the motor. Figure 3.9 show there is 2 relay of single pole double throw used to control forward and reverse of the motor. Capacitor C1 and C2 is used to filter the current so that there is no spark and reduced arced when switching the relay off and on.




No comments:

Post a Comment