Download - Mechatronics Lab
![Page 1: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/1.jpg)
AEC/MECH/MECHATRONICS LAB
1 MANUAL CUM OBSERVATION
INDEX
S.NO Date Name of the ExperimentMarks
AwardedSign
Actuation of pneumatic cylinder to find outSpeed vs dischargeActuation of pneumatic cylinder to find outForce vs pressureElectrically control single acting cylinder using push buttonswitchElectrically Control Double Acting Cylinder Using SPDTSwitchElectrically Control Double Acting Cylinder UsingPushbutton Switch
Simulation of Pneumatic Circuit to Control the DoubleActing Cylinder Using Electrical SwitchSimulation of Hydraulic Circuit to Control the DoubleActing Cylinder Using Electrical SwitchAutomatic Actuation of Single Acting Cylinder Using PLC
Automatic Actuation of Double Acting Cylinder Using PLC
Servo Controller Interfacing For Open Loop
Servo Controller Interfacing For Closed Loop
Study of PID Control System
PID Control System – Speed Variables
Full Step Sequence Clockwise Of Stepper Motor byInterfacing with MicrocontrollerFull Step Sequence Anti Clockwise Of Stepper Motor byInterfacing With MicrocontrollerStepper Motor Interface with Half Step Sequence Clockwise
Half Step Sequence Anticlockwise Of Stepper Motor byInterfacing MicrocontrollerComputerized Data Logging System with Control for FlowProcessComputerized Data Logging System with Control forPressure ProcessComputerized Data Logging System with Control ForTemperature Process
AVERAGE MARKS
![Page 2: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/2.jpg)
2 MANUAL CUM OBSERVATION
AEC/MECH/MECHATRONICS LAB
CONNECTION DIAGRAM
![Page 3: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/3.jpg)
3 MANUAL CUM OBSERVATION
AEC/MECH/MECHATRONICS LAB
ACTUATION OF PNEUMATIC CYLINDER TO FIND OUT SPEED VS DISCHARGE
Ex. No: Date:
AIM
To actuate the double acting cylinder to find out Speed vs Discharge.
COMPONENTS REQUIRED
5/2 double solenoid valve Flow control valve Double acting cylinder Load cell and data actuation card Lab view software
PROCEDURE
1. To slide the Hand slide valve to FRL unit.
2. Switch on the power supply to the control unit.
3. Open the lab view software in the system.
4. Inter face Pneumatic trainer with system using RS-232.
5. Open the speed. Go to operate, click the run. Than power on (below).
6. Now extend the system by pressing the up button.
7. Now regulate the flow control valve, contract the system by pressing down position.
After seen monitor in velocity cm/sec.
![Page 4: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/4.jpg)
4 MANUAL CUM OBSERVATION
AEC/MECH/MECHATRONICS LAB
TABULATION
S.NoVELOCITY IN UP (SPEED IN M/SEC)
VELOCITY IN DOWN (SPEED IN M/SEC)
DISCHARGE IN UP (FLOW IN M/SEC)
DISCHARGE IN DOWN (FLOW
IN M/SEC)
CALCULATED FLOW:
SPEED in CM/SEC; FLOW=DISCHARGE (Q) IN M/SEC
D = diameter of cylinder; Cylinder diameter = 80mm
FLOW = VELOCITY × AREA
![Page 5: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/5.jpg)
5 MANUAL CUM OBSERVATION
AEC/MECH/MECHATRONICS LAB
8. Now adjust the flow control valves and set the maximum flow, to find the up and
velocity.
9. Repeat the velocity values for different flows.
RESULT
The actuation of Pneumatic cylinder was carried out.
VIVA QUES TIONS
1. What is fluid power?
2. Why is hydraulic power preferred to perform heavy work?
3. Differentiate between fluid transport and fluid power system.
4. What is a prime mover?
5. Explain pneumatic system and hydraulic system.
![Page 6: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/6.jpg)
6 MANUAL CUM OBSERVATION
AEC/MECH/MECHATRONICS LAB
![Page 7: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/7.jpg)
7 MANUAL CUM OBSERVATION
AEC/MECH/MECHATRONICS LAB
ACTUATION OF PNEUMATIC CYLINDER TO FIND OUT FORCE Vs PRESSURE
Ex. No:
Date:
AIM
To actuate the double acting cylinder and to find the force vs pressure.
COMPONENTS REQUIRED
FRL unit
5/2 double solenoid valve
Double acting cylinder
Load cell, and data actuation card
Lab view software
PROCEDURE
1. To slide the hand slide valve to FRL unit.
2. Switch on the power supply to the control unit.
3. Open the lab view software in the system.
4. Inter face Pneumatic trainer with system using RS-232.
5. Open the force. Go to operate, click the run. Than power on (below).
6. Now extend the system by pressing the up button.
7. Load cell indicate the force value in the monitor.
8. Now adjust the pressure regulator and set the maximum pressure as (0 - 4) bar.
9. Retract the cylinder.
![Page 8: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/8.jpg)
8 MANUAL CUM OBSERVATION
AEC/MECH/MECHATRONICS LAB
TABULATION
S.No PRESSURE IN Kg/cm2
DISPLAYEDFORCES IN KG
CALCULATEDFORCES IN KG
% OFERROR
CALCULATED FORCE:
PRESSURE in kg/cm2, FORCE in kg, AREA in cm2
D = Cylinder diameter ; Cylinder dia = 80mm; Piston dia = 25mm ; Cylinder stroke length = 160mm
![Page 9: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/9.jpg)
9 MANUAL CUM OBSERVATION
AEC/MECH/MECHATRONICS LAB
10. Once again forward the cylinder; you have adjusted the pressure in pressure regulator.
11. You have seen the force value in monitoring.
12. Repeat the force value for different pressure.
RESULT
The actuation of double acting cylinder was carried out.
VIVA QUES TIONS
1. What is compressibility?
2. Define density.
3. Define mass density.
4. Define Viscosity Index.
5. What is Pressure relief valve?
![Page 10: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/10.jpg)
10 MANUAL CUM OBSERVATION
AEC/MECH/MECHATRONICS LAB
CON N ECTI O N D IAGR A M
![Page 11: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/11.jpg)
11 MANUAL CUM OBSERVATION
AEC/MECH/MECHATRONICS LAB
ELECTRICALLY CONTROL SINGLE ACTING CYLINDER USINGPUSH BUTTON SWITCH
Ex. No:
Date:
AIM
To construct a pneumatic circuit to control the single acting cylinder electrically using push button
switch.
COMPONENTS REQUIRED
Compressor,
FRL unit,
solenoid coil,
electrical trainer kit,
single acting cylinder
Patch chords and fitting hoses
PROCEDURE
1. Draw the circuit diagram.
2. Electro controller gives - voltage to pneumatic panel.
3. Input of push button is getting from solenoid valve output.
4. Connect the air supply to FRL unit.
5. Check all the connections carefully
6. Test the circuit.
7. Observe the working of the cylinder using the 3/2 single solenoid valve.
![Page 12: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/12.jpg)
12 MANUAL CUM OBSERVATION
AEC/MECH/MECHATRONICS LAB
![Page 13: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/13.jpg)
13 MANUAL CUM OBSERVATION
AEC/MECH/MECHATRONICS LAB
RESULT
Thus the movement of single acting cylinder was carried out using the 3/2 single solenoid
Valve.
VIVA QUES TIONS
1. Define weight density
2. Define specific gravity
3. Define specific weight
4. Define viscosity and viscosity index
5. Define kinematics viscosity
6. What is FRL Unit?
7. How to differentiate single acting and double acting cylinder.
8. Define solenoid valve
![Page 14: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/14.jpg)
14 MANUAL CUM OBSERVATION
AEC/MECH/MECHATRONICS LAB
CON N ECTI O N D IAGR A M
![Page 15: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/15.jpg)
AEC/MECH/MECHATRONICS LAB
15 MANUAL CUM OBSERVATION
ELECTRICALLY CONTROL DOUBLE ACTING CYLINDER USING SPDT SWITCH
Ex. No:
Date:
AIM:
To construct a pneumatic circuit to control the double acting cylinder electrically using SPDTswitch.
COMPONENTS REQUIRED:
Compressor,
FRL unit,
Electrical controller,
5/2 Double solenoid valve,
SPDT switch and Data Card.
PROCEDURE
1. Provide power supply to the pneumatic trainer from control trainer by interfacing 24V +
and -
2. Using the SPDT switch energize the corresponding solenoid valve to get the desired
movement in the cylinder.
3. Design and draw the pneumatic circuit.
4. Supply the Air to FRL unit.
5. Assemble all the components.
6. Check all the connections carefully.
7. Test the circuit.
8. Observe the working of the cylinder using the 5/2 double solenoid valve.
![Page 16: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/16.jpg)
16 MANUAL CUM OBSERVATION
AEC/MECH/MECHATRONICS LAB
![Page 17: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/17.jpg)
17 MANUAL CUM OBSERVATION
AEC/MECH/MECHATRONICS LAB
RESULT
valve.Thus the movement of the double acting cylinder was carried out using the 5/2 double solenoid
VIVA QUES TIONS
1. Application of fluid power.
2. Advantages of fluid power.
3. Difference between gauge pressure and absolute pressure.
4. Define pressure, head, and force.
5. Define Darcy’s equation.
![Page 18: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/18.jpg)
CONNECTION DI A GRAM
![Page 19: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/19.jpg)
ELECTRICALLY CONTROL DOUBLE ACTING CYLINDER USING PUSH BUTTON SWITCH
Ex. No:
Date:
AIM
To construct a pneumatic circuit to control the double acting cylinder electrically using push
button switch.
COMPONENTS REQUIRED
Compressor,
FRL unit,
Electrical controller,
5/2 Double solenoid valve,
Pushbutton switch and Data Card.
PROCEDURE
1. Draw the circuit diagram and connect the air supply to FRL unit.
2. Connect the electrical circuit from 24V DC source to ON/OFF switch.
3. Solenoids are connected to the pushbutton switch.
4. When the solenoid is given a signal by a push button switch. DCV is activated to double acting cylinder.
5. When off button is pressed the signal solenoid are cut and the solenoids are de-energized andthe DCV comes to the original position.
![Page 20: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/20.jpg)
![Page 21: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/21.jpg)
RESULT
Thus the double acting cylinder is controlled by electrically operated switch.
VIVA QUES TIONS
1. Define sequential circuit.
2. What is return stroke?
3. What is forward stroke?
4. Define double acting cylinder.
5. What is synchronizing?
6. Define 5/2 Double solenoid valve
![Page 22: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/22.jpg)
C O NNECT I O N D IA G RA M
![Page 23: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/23.jpg)
![Page 24: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/24.jpg)
SIMULATION OF PNEUMATIC CIRCUIT TO CONTROL THE DOUBLE ACTING CYLINDER USING ELECTRICAL SWITCH
Ex. No:
Date:
AIM:
To simulate a pneumatic circuit to control the double acting cylinder using electrical switch.
PROCEDURE
1. Install the Fluid SIM software to PC
2. Open the Fluid SIM pneumatics software
3. Click filebutton and choose new file
4. Next go to component library choose the component, click the supply element track the compressor
5. Go to component library next track for solenoid valve in valves
6. Next track the double acting cylinder
7. Connect the all component , compressor output connect to the input of the solenoid valve and double click solenoid connection give label name
8. The output of the for solenoid valve connected to the input of the actuator
9. Finally connect the electrical connection choose in power supply in electrical controls andElectrical switch and solenoid valve.
10. Click the run and switch button.
RESULT
switch.
Thus the pneumatic circuit is simulated to control the double acting cylinder using electrical
![Page 25: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/25.jpg)
![Page 26: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/26.jpg)
VIVA QUES TIONS
1. What is the function of limit switches?
2. List out any two benefits of solenoid valve
3. Define electrical switches.
4. Application of hydraulic system
5. List the pneumatic designing software.
![Page 27: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/27.jpg)
C O NNECT I O N D IA G RA M
![Page 28: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/28.jpg)
SIMULATION OF HYDRAULIC CIRCUIT TO CONTROL THE DOUBLE ACTING CYLINDER USING ELECTRICAL SWITCH
Ex. No:
Date:
AIM:
To simulate a hydraulics circuit to control the double acting cylinder using electrical switch.
PROCEDURE
1. Install the Fluid SIM software to PC
2. Open the Fluid SIMhydraulics software
3. Click file button and choose new file
4. Next go to component library choose the component, click the supply element track the pump unit and tank
5. Go to component library next track for solenoid valve in valves
6. Next track the double acting cylinder
7. Connect the all component , the pump unit output connect to the input of the solenoid valve and double click solenoid connection give label name
8. The output of the for solenoid valve connected to the input of the actuator
9. Finally connect the electrical connection choose in power supply in electrical controls andElectrical switch and solenoid valve.
10. Click the run and switch button.
RESULT
switch.Thus the hydraulics circuit is simulated to control the double acting cylinder using electrical
![Page 29: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/29.jpg)
![Page 30: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/30.jpg)
VIVA QUES TIONS
1. What is PLC?
2. List out the merits of hydraulic fluids
3. What is a timer?
4. How do you select a PLC?
5. Explain data handling.
6. Define actuators
![Page 31: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/31.jpg)
C O NNECT I O N D IA G RA M
![Page 32: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/32.jpg)
AUTOMATIC ACTUATION OF SINGLE ACTING CYLINDER USING PLC
Ex. No:
Date:
AIM
To simulate the automatic sequence of single acting cylinder using PLC.
COMPONENTS REQUIRED
Compressor
FRL unit
Air tube
3/2 single solenoid valve
PLC and versa pro software
single acting cylinder
PROCEDURE
1. Draw the circuit diagram.
2. Provide +24V and –24V from PLC trainer to panel.
3. Open the versa pro software in desktop.
4. Interface PLC with PC using RS232 cable.
5. Write a ladder diagram.
6. Output of PLC (q1) is direct connecting to input of solenoid coil.
7. Following the opening procedure of versa pro software.
8. Check the ladder diagram.
![Page 33: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/33.jpg)
PROGRAM
![Page 34: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/34.jpg)
9. Connect the air supply to FRL unit.
10. Run the PLC. Observe the working of single acting cylinder is automatic reciprocating.
RESULT
The ladder diagram for the automatic running of single acting cylinder is drawn and executed.
VIVA QUES TIONS
1. What is a transducer?
2. What are the types of sensors?
3. Define ladder diagram
4. What are the types of actuators?
5. Define single acting cylinder.
![Page 35: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/35.jpg)
CON N ECTI O N D IAGR A M
![Page 36: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/36.jpg)
AUTOMATIC ACTUATION OF DOUBLE ACTING CYLINDER USING PLC
Ex. No: Date:
AIM
To simulate the automatic sequence of double acting cylinder using PLC.
COMPONENTS REQUIRED
Compressor,
FRL unit,
Air tube,
3/2 single solenoid valve,
PLC and versa pro software,
single acting cylinder
PROCEDURE
1. Draw the circuit diagram.
2. Provide +24v and –24 from PLC trainer to panel.
3. Open the versa pro software in desktop.
4. Interface PLC with PC using RS232 cable.
5. Write a ladder diagram.
6. Both Outputs of PLC (q1 and q2) are direct connect to inputs of solenoid coils.
7. Following the opening procedure of versa pro software.
8. Check the ladder diagram.
![Page 37: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/37.jpg)
P R O G R A M
![Page 38: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/38.jpg)
9. Connect the air supply to FRL unit.
10. Run the PLC. Observe the working of double acting cylinder is automatic reciprocating.
RESULT
The ladder diagram for the automatic running of double acting cylinder is drawn and executed.
VIVA QUES TIONS
1. Compare PLC and PC
2. Uses of PLC
3. Limitation of PLC
4. 3/2 single solenoid valve,
5. What is meant by Lab VIEW?
![Page 39: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/39.jpg)
LA D DER D IAGR A M
![Page 40: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/40.jpg)
SERVO CONTROLLER INTERFACING FOR OPEN LOOP
Ex. No:
Date:
AIM
To speed control of AC servomotor for open loop system.
COMPONENTS REQUIRED
Servo controller(VPAT-22)
AC Servo motor
6-pin connector with USB
4-pin connector
Patch cord [8]
PROCEDURE
1. Install the winpro ladder and panatrem software to PC.
2. Open the winpro ladder software.
3. Switch on the PLC trainer.
4. Connect the PLC and servo controller kit.
5. Click file button then click new project.
6. Give a project name then click OK.
7. Now double click system configuration then double click I/O configuration.
8. Go to Timer/counter and set Hardware counter counting mode set A/BA phase-X0
Bphase-X1, MSK-X2, CLR-X3
9. Again double click I/O configuration and click output setup
10. Mark Y1 and Y2 and set PS00 as Y0= PLS; Y1= DIR and click OK.
11. Click ‘contact’ icon and click in working space. Give address as X3.
![Page 41: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/41.jpg)
12. Click function icon and click near the contact in working space.
![Page 42: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/42.jpg)
TABULATION
OPEN LOOP
Direction Speed
![Page 43: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/43.jpg)
13. A new window will open. Type 140 and click OK.
14. Set Ps as 0, SR as any number with prefix R and WR SR as any number with prefix
R then cl.ick OK.
15. Click project on the menu bar and click servo program table and click new table.
16. Give any table name and give the SR. SR should be the SR of function. Then click OK.
17. A new window will open. Click addand give speed between 1 to 10000.
18. Make changes as shown in below and click OK.
19. Connect the patch cord as shown in circuit diagram.
20. Click PLC and click run.
RESULT:
Thus the performance of servomotor control for open loop system has been verified.
VIVA QUES TIO N
1. Define open loop
2. Define servo valve
3. Limitation of open loop
4. Advantages of servo valve
![Page 44: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/44.jpg)
L ADD ER DIA G RA M
![Page 45: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/45.jpg)
SERVO CONTROLLER INTERFACING FOR CLOSED LOOP
Ex. No:
Date:
AIM
To control speed of AC servomotor for closed loop system.
COMPONENTS REQUIRED
Servo controller(VPAT-22) AC Servo motor 6-pin connector with USB 4-pin connector Patch cord
PROCEDURE
1. Install the winpro ladder and panatremsoftware to PC.
2. Open the winpro ladder software.
3. Switch on the PLC trainer.
4. Connect the PLC and servo controller kit.
5. Click file button then click new project.
6. Give a project name then click OK.
7. Now double click system configuration then double click I/O configuration.
8. . Go toTimer/counter and set Hardware counter counting mode set A/B A phase-X0 ,Bphase-X1, MSK-X2, CLR-X3
9. Again double click I/O configuration and click output setup
10. Mark Y1 and Y2 and set PS00 as Y0= PLS; Y1= DIR and click OK.
11. Click ‘contact’ icon and click in working space.
12. Give address as X3.
![Page 46: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/46.jpg)
13. Click function icon and click near the contact in working space.
![Page 47: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/47.jpg)
TABULATION
CLOSED LOOP
Revolution Direction Seconds in(hundreds)
Speed
![Page 48: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/48.jpg)
14. A new window will open. Type 140 and click OK.
15. Set Ps as 0, SR as any number with prefix R and WR SR as any number with prefix R
then cl.ick OK.
16. Click project on the menu bar and click servo program table and click new table.
17. Give any table name and give the SR. SR should be the SR of function. Then click OK.
18. A new window will open. Click addand give speed between 1 to 10000.
19. Make changes as shown in below and click OK.
20. Connect the patch cord as shown in circuit diagram.
21. Click PLC and click run.
RESULT
Thus the performance of servomotor control for closed loop system has been verified.
VIVA QUES TION
1. Define Close loop
2. Define servo mechanism
3. Limitation of closed loop
4. Advantages of winpro ladder
![Page 49: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/49.jpg)
![Page 50: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/50.jpg)
STUDY OF PID CONTROL SYSTEM
Ex No: Date:
AIM:-
To study about PID control system.
DESCRIPTION:-
Any industrial drive undergoes run time variations from a process present valve in various
process parameters like speed, temperature and pressure etc., these variation occur due to different
reason like variation in input, loading patterns etc., routing in degradation of the quality of the final
product for example the variation in temperature in a food processing industry may affect the quality
of food product or variation in speed may affect. The quality of job in a machine CNC. The PID
control system is a technique used to control different types of process employed in an industrial
environment. The industrials process may involve slow changing parameters like temperature.
A proportional integral and inlet temperature control system consists of a set of present run
time parameter. The machine process runs according to the present control valves. When these in a
deviation more than the tolerance limits, one or more of the run time tolerance limit. If the error valve
is beyond tolerance then necessary corrective taken by system.
The corrective action components for the quantum of error and control the operative present
limits. For Example:-
![Page 51: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/51.jpg)
![Page 52: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/52.jpg)
Consider the following is a speed control applications. Let the present speed be 1000 rpm. As the
motor is switched on the motor actuates reaches the speed of when a load is applied to the motor shaft
and amount of decrease in speed is proportional to the applied load.
Thus the reduction in speed is measured by sensor and sent to the control system as an error
signal is the speed. Thus the control sequence repeats whenever a deviation about tolerance limit in the
speed. Two process control application are provided with the system normally they are described as
follows motor speed control an example for that changing parameters lies speed.
RESULT:-
The performance of the PID control system in monitoring and controlling the speed of motor
by the two different modes has been studied.
![Page 53: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/53.jpg)
AEC/MECH/MECHATRONICS LAB
TABULATION
Maximumspeed
Set speed PropotoinalGain (Kp)
IntegralGain(Ki)
DerivativeGain(Kd)
Processvariable
![Page 54: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/54.jpg)
AEC/MECH/MECHATRONICS LAB
PID CONTROL SYSTEM – SPEED VARIABLES
Ex No: Date:
AIM:
To control the speed of PMDC motor with PID controller.
COMPONENTS REQUIRED
PID controller
DC motor speed control trainer kit (VPAT-02)
9-pin male connector [2]
PMDC motor
DESCRIPTION:-
Any industrial drive undergoes run time variations from a process present valve in various
process parameters like speed, temperature and pressure etc., these variation occur due to different
reason like variation in input, loading patterns etc., routing in degradation of the quality of the final
product for example the variation in temperature in a food processing industry may affect the quality
of food product or variation in speed may affect. The quality of job in a machine CNC. The PID
control system is a technique used to control different types of process employed in an industrial
environment. The industrials process may involve slow changing parameters like temperature.
RESULT
Thus, the digital PID controller controls the speed of the DC motor depends on the set point
Kp, Ki,Kd values. This AC speed control module is act as the closed loop circuit.
VIVA QUES TIONS
1. What is controller?
2. Types of controller.
3. Response of PID controller.
![Page 55: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/55.jpg)
AEC/MECH/MECHATRONICS LAB4. Define PID.
![Page 56: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/56.jpg)
901D MOVX @DPT R,A901E LCALL 902C9021 MOV A,#0E9023 MOV DPTR,#20429026 MOVX @DPT R,A9027 LCALL 902C902A SJMP 9006902C MOV R0,#F7902E MOV R1,#FF9030 DJNZ R1, 90309032 DJNZ R0, 902E9034 RET
AEC/MECH/MECHATRONICS LAB
FULL STEP CLOCKWISE:-
9000 MOV A, #809002 MOV DPTR, #20439005 MOVX @DPT R,A9006 MOV A, #0D9008 MOV DPTR,#2042900B MOVX @DPT R,A900C LCALL 902C900F MOV A,#0B9011 MOV DPTR,#20429014 MOVX @DPT R,A9015 LCALL 902C9018 MOV A,#07901A MOV DPTR,#2042
![Page 57: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/57.jpg)
AEC/MECH/MECHATRONICS LAB
53 MANUAL CUM OBSERVATION
FULL STEP SEQUENCE CLOCKWISE OF STEPPER MOTOR BY INTERFACING WITHMICROCONTROLLER
Ex No: Date:
AIM:-
To obtain a full step sequence clockwise of a stepper motor by interfacing with microcontroller
(8051) kit.
APPARATUS REQUIRED:-
Microcontroller (8051)) kit Single phase stepper motor. Key board.
OPERATION:-
Steppers motors are very useful to electro mechanical transducer for position control they are used in
a number of industrial kit apply. Hence it is very useful to study the aspects of stepper motor using
microprocessor. The stepper motor interface designated to use both microcontroller/ microprocessor to can
be used to control single phase two phase and imported stepper motor. Interface is designated using the speed
switching destine transistor with max 1A, 80V rating with appropriate heat sinks, these switches are devices
through open controller.
RESULT:-
Thus the stepper motor starts and rotating as per program (clockwise).
VIVA QUES TIONS
1. What is microcontroller?
2. Types of motor.
3. Limitation of stepper motor.
4. Define stepper motor.
5. what is the uses of microcontroller?
![Page 58: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/58.jpg)
FULL STEP ANTICLOCKWISE:-
9000 MOV A, #809002 MOV DPTR,#20439005 MOVX @DPT R,A9006 MOV A,#0D9008 MOV DPTR,#2042900B MOVX @DPT R,A900C LCALL 902C900F MOV A, #0E9011 MOV DPTR,#20429014 MOVX @DPT R,A9015 LCALL 902C9018 MOV A, #07901A MOV DPTR,#2042901D MOVX @DPT R,A901E LCALL 902C9021 MOV A, #0B
9023 MOV DPTR,#20429026 MOVX @DPT R,A9027 LCALL 902C902A SJMP 9006902C MOV R0,#F7902E MOV R1,#FF9030 DJNZ R1, 90309032 DJNZ R0, 902E9034 RET
![Page 59: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/59.jpg)
55 MANUAL CUM OBSERVATION
Ex No: Date:
AIM:-
FULL STEP SEQUENCE ANTI CLOCKWISE OF STEPPER MOTOR BY INTERFACING WITH MICROCONTROLLER
To obtain a full step sequence Anticlockwise of a stepper motor by interfacing with microcontroller (8051) kit.
APPARATUS REQUIRED:-
Microcontroller (8051)) kit
Single phase stepper motor.
Key board.
PROCEDURE:-
1. Make the power connection from away power make connector IP2 on the ALS-
NIFC-0IA board.
2. Connect the motor away power make connector to JP3 on the ALS-MFI0IA.
3. Connect 25 pin flat cables for different types of trains.
4. Switch the power supply.
5. Execute the program.
RESULT:-Thus the stepper motor starts and rotating as per program (Anticlockwise).
VIVA QUES TIONS
1. What is interface?
2. Types of controller.
3. Define piezo-electric transducer
4. Differentiate servo and stepper motor..
5. Types of stepper motor.
![Page 60: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/60.jpg)
9027 LCALL 9069
902A MOV A,#03902C MOV DPTR,#2042902F MOVX @DPTR,A9030 LCALL 90699033 MOV 9069
9036 MOV A,#079038 MOVX DPTR,#2042903B LCALL @DPTR,A903C LCALL 9069903F MOV 90699042 MOV A,#06
9044 MOVX DPTR,#20429047 LCALL @DPTR,A9048 LCALL 9069904B MOV 9069904E MOV A,#0E
9050 MOVX DPTR,#2042
9053 LCALL @DPTR,A8054 LCALL 90699057 MOV 9069905A MOV A,#0C905C MOVX DPTR,#2042
905F LCALL @DPTR,A9060 LCALL 90699063 LCALL 90699066 LCALL 00039069 MOV R0,#F7906B MOV R1,#FF
906D DJNZ R1,906D906F DJNZ R0,906B9071 RET
HALF STEP CLOCKWISE:-
9000 MOV A,#80
9002 MOV DPTR,#2043
9005 MOVX @DPTR,A9006 MOV A,#0D9008 MOV DPTR,#2042900B MOVX @DPTR,A
900C LCALL 9069900F LCALL 90699012 MOV A,#099014 MOV DPTR,#20429017 MOVX @DPTR,A9018 LCALL 9069901B LCALL 9069
901E MOV A,#0B9020 MOV DPTR,#20429023 MOVX @DPTR,A9024 LCALL 9069
![Page 61: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/61.jpg)
Ex No:
Date:
AIM:-
STEPPER MOTOR INTERFACE WITH HALF STEP SEQUENCE CLOCKWISE
To obtain a half step sequence clockwise of a stepper motor by interfacing with microcontroller
(8051) kit.
APPARATUS REQUIRED:-
Microprocessor(8051)kit
Single Phase Stepper Motor.
Key Board.
PROCEDURE:-
1. Make the power supply connection from four way power mate connector JP2 on the ALNIFL-
OIA board.
2. Connect the motor connection from 5 way power connector to Jp3 on ALS-NIFL-O!A board.
3. Connect 20 pin flat cables for different type of drains kit.
4. Switch on the power supply.
5. Enter the program in the RAM location.
6. Execute the program.
RESULT:-Thus the stepper motor starts rotating as per the program (clockwise).
VIVA QUES TION
1. Application of stepper motor.
2. Define single phase motor
3. How is working stepper motor?
4. What is power factor?
![Page 62: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/62.jpg)
9027 LCALL 9069902A MOV A,#06
902C MOV DPTR,#2042902F MOVX @DPTR,A9030 LCALL 90699033 MOV 90699036 MOV A,#079038 MOVX DPTR,#2042903B LCALL @DPTR,A903C LCALL 9069
903F MOV 90699042 MOV A,#039044 MOVX DPTR,#2042
9047 LCALL @DPTR,A9048 LCALL 9069904B MOV 9069904E MOV A,#0B
9050 MOVX DPTR,#20429053 LCALL @DPTR,A
8054 LCALL 90699057 MOV 9069905A MOV A,#09905C MOVX DPTR,#2042905F LCALL @DPTR,A9060 LCALL 90699063 LCALL 90699066 LCALL 0002
9069 MOV R0,#F7906B MOV R1,#FF906D DJNZ R1,906D
906F DJNZ R0,906B9071 RET
HALF STEP ANTICLOCKWISE:-
9000 MOV A,#80
9002 MOV DPTR,#2043
9005 MOVX @DPTR,A9006 MOV A,#0D9008 MOV DPTR,#2042900B MOVX @DPTR,A900C LCALL 9069900F LCALL 90699012 MOV A,#0C9014 MOV DPTR,#20429017 MOVX @DPTR,A
9018 LCALL 9069
901B LCALL 9069901E MOV A,#0E9020 MOV DPTR,#20429023 MOVX @DPTR,A9024 LCALL 9069
![Page 63: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/63.jpg)
59 MANUAL CUM OBSERVATION
HALF STEP SEQUENCE ANTICLOCKWISE OF STEPPER MOTOR BYINTERFACING MICROCONTROLLER
Ex No: Date:
AIM:-
To obtain a half step sequence anticlockwise of a stepper motor by interfacing with
microcontroller (8051) kit.
APPARATUS REQUIRED:-
Microprocessor(8051)kit
Single Phase Stepper Motor.
Key Board.
PROCEDURE:-
1. Make the power supply connection from 4 way power mate connector ID2 on the
ALS-NIFC-OIA board.
2. Connect the motor connection from 5 way power mate connector to JP3 on ALS-
NIFS-OIA board.
3. Connect 20 pin flat cables for different type of power supply
4. Switch on the power supply.
5. Enter the program in the RAM location as per bit.
6. Execute the program.
RESULT:-
Thus the stepper motor starts rotating as per the program (clockwise).
![Page 64: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/64.jpg)
60 MANUAL CUM OBSERVATION
CONNECTION DIAGRAM
PATCH CARD CONNECTION
I1
INPUT 1 I2
OUTPUT1
E 1 E2F1 F2
![Page 65: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/65.jpg)
61 MANUAL CUM OBSERVATION
COMPUTARIZED DATA LOGGING SYSTEM WITH CONTROL FOR
FLOW PROCESS
Ex. No:
Date:
AIM
To study the performance of ON-OFF/P/PI/PD/PID controllers on Flow process.
COMPONENTS REQUIRED
Setup VMPA - 62 Data Acquisition card / Digital Controller with cable PC with Process control software Patch chords
HAND VALVE SETTINGS
HV1 - Partially Closed
HV2 - Fully Opened
HV3 - Fully Closed
HV4 - Fully Closed
HV5 - Fully Opened
HV6 - Fully Closed
HV7 - Fully Opened
PROCEDURE
1. Ensure the availability of Air & Water.
2. Interface the Data Acquisition card or Digital Controller with process and PC.
3. Make the connections as per connection diagram - 3.
4. Maintain Gauge (G2) pressure at 20 Psi by using air regulator knob.
5. Ensure the hand valve settings are correct.
![Page 66: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/66.jpg)
62 MANUAL CUM OBSERVATION
![Page 67: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/67.jpg)
63 MANUAL CUM OBSERVATION
6. Switch ON VMPA - 62 unit and Data Acquisition card with PC.
7. Invoke Process Control Software.
8. Select “Flow << control << ON-OFF/P/PI/PD/PID.
9. Switch ON the pump and select desired speed of pump by varying speed control knob.
10. Enter the parameters and observe the responses of various controllers various set point.
11. Switch OFF the pump.
12. Save the response and conclude the behaviour of Flow process.
RESULT
Thus the performance of ON- OFF/P/PI/PD/PID controllers on flow process was verified.
VIVA QUES TION
1. Define friction.
2. Define friction factor.
3. Define laminar, turbulent flow.
4. Define K factor.
5. What are the types of friction in pneumatic circuit?
![Page 68: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/68.jpg)
AEC/MECH/MECHATRONICS LAB
64 MANUAL CUM OBSERVATION
CONNECTION DIAGRAM
PATCH CHORDS CONNECTION
I1
INPUT 1 I2
OUTPUT1
E 1 E2P1 P2
![Page 69: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/69.jpg)
65 MANUAL CUM OBSERVATION
COMPUTARIZED DATA LOGGING SYSTEM WITH CONTROL FOR
PRESSURE PROCESS
Ex. No:
Date:
AIM
To study the performance of ON-OFF/P/PI/PD/PID controllers on Pressure process.
COMPONENTS REQUIRED
Setup VMPA - 62 Data Acquisition card / Digital Controller with cable PC with Process control software Patch chords
HAND VALVE SETTINGS
HV1 - Partially Closed
HV2 - Fully Opened
HV3 - Fully Closed
HV4 - Fully Closed
HV5 - Fully Opened
HV6 - Fully Closed
HV7 - Partially Opened
PROCEDURE
1. Ensure the availability of Air & Water.
2. Interface the Data Acquisition card or Digital Controller with process and PC.
3. Make the connections as per connection diagram - 2.
![Page 70: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/70.jpg)
66 MANUAL CUM OBSERVATION
![Page 71: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/71.jpg)
67 MANUAL CUM OBSERVATION
4. Maintain Gauge (G2) pressure at 20 Psi by using air regulator knob.
5. Ensure the hand valve settings are correct.
6. Switch ON VMPA - 62 units and Data Acquisition card with PC.
7. Invoke Process Control Software.
8. Select “Pressure << control << ON-OFF/P/PI/PD/PID”.
9. Switch ON the pump and select desired speed of pump by varying speed control knob.
10. Enter the parameters and observe the responses of various controllers at various set point.
11. Switch OFF the pump.
12. Save the response and conclude the behavior of Pressure process.
RESULT
Thus the performance of ON-OFF/P/PI/PD/PID controllers on Pressure process was
verified.
VIVA QUES TION
1. Define PI/PI Controller.
2. Define computerized data logging system.
3. Merits of computerized data logging system.
4. Define VMPA K factor.
5. What are the types of electro pneumatics circuit?
![Page 72: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/72.jpg)
N68 MANUAL CUM OBSERVATIO
CONNECTION DIAGRAM
PATCH CHORDS CONNECTION
I1
INPUT 1 I2
OUTPUT
B 1 B2T1 T2
![Page 73: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/73.jpg)
69 MANUAL CUM OBSERVATION
Ex. No:
Date:
AIM
COMPUTARIZED DATA LOGGING SYSTEM WITH CONTROL FOR TEMPERATUREPROCESS
To study the performance of ON-OFF/P/PI/PD/PID controllers on Temperature process.
COMPONENTS REQUIRED
VMPA - 62
Data Acquisition card / Digital Controller with cable.
PC with Process control software.
Patch chords.
HAND VALVE SETTINGS
HV1 - Partially Closed
HV2 - Fully Closed
HV3 - Fully Opened
HV4 - Fully Opened
HV5 - Fully Closed
HV6 - Fully Opened
HV7 - Fully Opened
PROCEDURE
1. Ensure the availability of Water.
2. Interface the Data Acquisition card or Digital Controller with process and PC.
3. Make the connections as per connection diagram - 4.
4. Ensure the hand valve settings are correct.
5. Switch ON VMPA - 62 unit and Data Acquisition card with PC.
![Page 74: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/74.jpg)
![Page 75: Mechatronics Lab](https://reader030.vdocuments.mx/reader030/viewer/2022033014/55cf9d5a550346d033ad4538/html5/thumbnails/75.jpg)
6. Invoke Process Control Software.
7. Select “Temperature << control << ON-OFF/P/PI/PD/PID.
8. Switch on the pump and select desired speed of pump by varying speed control knob.
9. Set the Rota meter at some minimum flow rate (say 40 LPH).
10. Switch ON the heater.
11. Enter the parameters and observe the responses of various controllers.
12. Switch OFF the heater.
13. Save the response and conclude the behavior of Temperature process.
RESULT
Thus the performance of ON- OFF/P/PI/PD/PID controllers on Temperature process was
verified.
VIVA QUES TIONS
1. Types of temperature transducers.
2. Define thermocouple.
3. Define Rota meter
4. What are types of temperature measuring methods?
5. What is the use of patch card?