Professional Documents
Culture Documents
Mte 510 Laboratory Manual
Mte 510 Laboratory Manual
Mte 510 Laboratory Manual
Objective:
The objective of this laboratory assignment is to design a pneumatic control system using IR,
PIR, and ultrasonic sensors to control the movement of both double and single-acting cylinders.
Materials Needed:
Experimental Setup:
1. Connect the pneumatic components to form a basic pneumatic circuit with both double
and single-acting cylinders.
2. Connect the cylinders to solenoid valves for controlling the airflow.
3. Connect the valves to the air supply and exhaust.
4. Attach the IR sensor, PIR sensor, and ultrasonic sensor at suitable positions for detecting
objects or movement.
Circuit Connections:
1. Connect the IR sensor, PIR sensor, and ultrasonic sensor to the Arduino board.
2. Connect the LEDs to the Arduino board to indicate the status of each sensor.
3. If using a motorized system for the double-acting cylinder, connect the motor driver to
the Arduino.
Arduino Programming: write the code and sketch the pneumatic circuit ?
Write an Arduino program that reads the sensor data and controls the movement of the cylinders
accordingly. Consider the following logic:
1. Understand the purpose and working principle of IR, PIR, and ultrasonic sensors.
2. Connect the pneumatic components to build a basic pneumatic circuit.
3. Connect the sensors and LEDs to the Arduino board according to the circuit connections.
4. Upload the provided Arduino program to the Arduino board.
5. Observe and analyze the behavior of the cylinders based on sensor inputs.
6. Experiment with different sensor configurations and program modifications.
7. Document your observations and any challenges faced during the experiment.
8. Write a conclusion discussing the effectiveness of using IR, PIR, and ultrasonic sensors
for controlling pneumatic systems.
Assessment Criteria:
Materials Needed:
Experimental Setup:
1. Assemble the four-wheel mobile robot by attaching motors and wheels to the chassis.
2. Connect the motor driver module to the Arduino board and the robot motors.
3. Attach the ultrasonic sensors to the front of the robot at equal intervals.
Circuit Connections:
1. Connect the motor driver module to the Arduino board according to the datasheet or
module instructions.
2. Connect the ultrasonic sensors to the Arduino board (Trig and Echo pins for each sensor).
Arduino Programming: Write an Arduino program that reads data from the ultrasonic sensors
and controls the motors to avoid obstacles. Consider the following logic:
Assessment Criteria:
This laboratory assignment provides students with hands-on experience in building and
programming a four-wheel mobile robot with an ultrasonic sensor-based obstacle avoidance
system. Students can further enhance the project by adding additional sensors, improving the
algorithm, or integrating wireless communication for remote control.
3) Title: Implementation of PI, PD, and PID Controllers for DC
Motor Control using MATLAB Simulation
Objective: The objective of this laboratory assignment is to gain an understanding of the
proportional-integral (PI), proportional-derivative (PD), and proportional-integral-derivative
(PID) controllers and their applications in controlling the speed of a DC motor through
MATLAB simulation.
Materials Needed:
1. DC Motor Model:
o Model a DC motor using Simulink in MATLAB. You can use the "Transfer Fcn"
block to represent the motor dynamics.
o Parameters to consider: Armature resistance, armature inductance, motor constant
(Km), back electromotive force constant (Ke), moment of inertia (J), and damping
coefficient (B).
2. PI Controller:
o Implement a PI controller using Simulink.
o Tune the PI controller parameters (proportional gain (Kp) and integral gain (Ki))
to achieve a stable and efficient response.
o Connect the PI controller to the DC motor model.
3. PD Controller:
o Implement a PD controller using Simulink.
o Tune the PD controller parameters (proportional gain (Kp) and derivative gain
(Kd)) for optimal performance.
o Connect the PD controller to the DC motor model.
4. PID Controller:
o Implement a PID controller using Simulink.
o Tune the PID controller parameters (proportional gain (Kp), integral gain (Ki),
and derivative gain (Kd)) for optimal performance.
o Connect the PID controller to the DC motor model.
5. Simulation Scenarios:
o Simulate the system under various scenarios such as step input, ramp input, and
sinusoidal input to observe the response of the DC motor under PI, PD, and PID
control.
MATLAB Code: Below is a basic template for the Simulink model in MATLAB. Be sure to
replace the placeholders with the actual parameters of your DC motor.
1. Open the Simulink model in MATLAB and inspect the DC motor and controller
configurations.
2. Run the simulation for each controller (PI, PD, and PID) separately.
3. Observe and analyze the system response under different scenarios.
4. Adjust the controller gains to achieve better performance and stability.
5. Document your observations and explain the impact of each controller on the DC motor's
behavior.
6. Compare the performance of PI, PD, and PID controllers in terms of response time,
overshoot, and steady-state error.
Assessment Criteria:
Materials Needed:
PLC Code Template (Ladder Logic): Below is a basic template for ladder logic programming.
Adjust it according to your specific PLC simulator and requirements.
Assessment Criteria:
Correct implementation of ladder logic programming for the traffic light control system.
Successful simulation of the system in the PLC simulator.
Documentation of observations and any modifications made to the program.
Understanding of basic PLC programming concepts and traffic light control logic.
Creativity in introducing additional features or modifications to the system.
Experimental Setup:
Assessment Criteria: