MTR FA 2 Final
MTR FA 2 Final
Mechatronics
Formative Assessment-II
Part A & B
Name PRN
Mohit Hinge 122B1G071
Sudarshan Kashid 122B1G081
Aryan N. Kawade 122B1G082
Om Parekh 122B1G129
2. Problem Statement
In the absence of an automated system, empty bottles are often missed during
production, leading to issues in downstream processes like labeling, capping, and
packaging. If these bottles are not detected and removed quickly, they contribute
to material wastage and pose a risk to the overall product quality. Manual
inspection for empty bottles is inefficient and prone to errors, especially in high-
speed environments. This system needs to automate the process of identifying and
removing empty bottles on a conveyor system, ensuring that only filled bottles
proceed further along the production line.
3. Objectives
The primary objectives of this project are as follows:
4. System Description
4.1 Components
• Sensor Unit: Photoelectric or capacitive sensors are used to detect the
presence of empty or filled bottles.
• PLC Unit: The PLC receives input from sensors and processes the data
using ladder logic to control system outputs.
• Pneumatic Cylinder: A pneumatic cylinder is used to push the empty
bottles off the conveyor.
• Solenoid Valve: The solenoid valve, controlled by the PLC, operates
the pneumatic cylinder.
• Conveyor System: The conveyor system moves the bottles along the
production line, passing through the detection zone and the rejection
zone.
5.2 PD Controller
A Proportional-Derivative (PD) controller is implemented to achieve better response time and
damping. The derivative component (D) helps to anticipate changes in the system’s state,
reducing overshoot and improving the system’s ability to reach its target position quickly. This is
ideal for fast-moving conveyor systems.
Where:
This transfer function models the combined dynamics of the solenoid valve and
pneumatic cylinder. By analyzing the system’s response using this transfer
function, we can determine the optimal control strategy and fine-tune the PID
parameters.
8. Implementation
The PLC logic was implemented using ladder programming to:
The system was tested in a laboratory setting using a conveyor system to simulate
real-world conditions. The results demonstrated that the system could reject empty
bottles consistently with minimal delay and high accuracy.
8.1 MATLAB Simulink Code :
9. Results and Discussion
9.1 Performance Analysis
The system successfully detected and rejected empty bottles with a high degree of
accuracy. The PID controller demonstrated superior performance compared to the
PI and PD controllers. The PID controller minimized overshoot, reduced settling
time, and ensured that the cylinder reached the desired position quickly and
smoothly.
10. Conclusion
The integration of PLC-based control with PID algorithms significantly enhances
the efficiency and reliability of the empty bottle rejection system. This approach
reduces manual labor, minimizes material waste, and improves the overall quality
of products moving through the production line. The system is scalable, allowing
for future expansions and improvements in detection and rejection mechanisms.
11. References
1. Smith, O. J. M. (2005). "The PID Control Handbook." Springer.
2. Ziegler, J. G., & Nichols, N. B. (1942). "Optimum Settings for Automatic
Controllers."
Transactions of the ASME.
3. PLC manufacturer datasheets and programming manuals.