Professional Documents
Culture Documents
Equipment Required:
The equipment required are as follow:
Hardware:
My Rio
Servo or DC motor
Rio interface bread board
Software:
Ni Lab view
Procedure:
Software Procedure:
Connect My Rio to the NI lab view interface through the connection cable.
Launch the NI MY RIO interface from the pop-up menu that appear on the screen.
Then add blocks to the NI LAB view for temperature control and Motor Control system.
For motor control system add PWM and Digital output block from the MY RIO library and
create variable for both.
Now arrange the blocks in the front panel and give the values of the duty cycle and the frequency
on which you want to operate on.
Hardware Procedure:
Attach the Pin 18 of MY RIO with the Input 1 of the H-Bridge for pulse modulatory signal.
Now attach Pin 8 and Pin 11 of MY RIO to the digital input of the H-Bridge to control the speed
of the motor interface.
Connect the output of the H-Bridge with the MOTOR.
NATIONAL UNIVERSITY OF TECHNOLOGY (NUTECH)
Main IJP Road, Sector I-12, Islamabad Telephone:
051-5476768/4576809, Fax: 051-5476769
Website: www.nutech.edu.pk
DEPARTMENT OF ELECTRICAL ENGINEERING
Hardware Implementation:
Simulation Implementation:
MOTOR CONTROL SYSTEM USING H-BRIDGE NI MY RIO:
Schematic Diagram:
NATIONAL UNIVERSITY OF TECHNOLOGY (NUTECH)
Main IJP Road, Sector I-12, Islamabad Telephone:
051-5476768/4576809, Fax: 051-5476769
Website: www.nutech.edu.pk
DEPARTMENT OF ELECTRICAL ENGINEERING
FRONT PANEL VIEW:
NATIONAL UNIVERSITY OF TECHNOLOGY (NUTECH)
Main IJP Road, Sector I-12, Islamabad Telephone:
051-5476768/4576809, Fax: 051-5476769
Website: www.nutech.edu.pk
DEPARTMENT OF ELECTRICAL ENGINEERING
Results:
o As the input voltage increased, the motor speed demonstrated a proportional increase.
o Manipulating the duty cycle of the H-Bridge PWM signal allowed for fine control over the
motor speed.
o The feedback mechanism in the control loop effectively maintained the desired speed
within a reasonable margin of error.
Temperature Regulation:
Temperature regulation was achieved using a temperature sensor and the NI My RIO model.
o The system responded promptly to changes in the external temperature.
o The proportional-integral-derivative (PID) controller implemented on the My RIO
effectively regulated the temperature around the setpoint.
o A steady-state condition was reached, demonstrating the stability and accuracy of the
temperature control system.
Conclusion/Result Analysis:
o The H-Bridge proved to be an efficient tool for controlling motor speed, offering both
coarse and fine adjustments.
o The feedback loop in the motor control system contributed to the stability and
responsiveness of the speed control mechanism.
o The temperature control system exhibited stability, precision, and quick response time,
meeting the requirements for real-time control applications.
In conclusion, the integration of the H-Bridge and NI My RIO provided a robust platform for motor
speed control and temperature regulation. These findings contribute to the understanding of practical
control systems and their applications in various engineering fields.