ACS ASSIGNMENT Final
ACS ASSIGNMENT Final
ASSIGNMENT -
3
Q1. The following schematic shows a hydraulic servo mechanism used in a
copying lathe machine to produce identical parts on large scale. The profile of
the master forms the input x(t) given to the servo mechanism. Write a simulation
program using MATLAB/Simulink, Python or any other software and plot the
input and output response y(t) for the device. Comment on error.
Simulink model is developed for the copy lathe. The signal inputs given are of “Step”,
“Ramp” and “Circular arc”. The output is given within the scope. The clock displays the
simulation time as well as an input for the If else block or switch block. The code for the
Circular arc function.
The Simulink model above gives the required trajectory of the tool of the copy lathe. It is the
trajectory of the master.
Anurag Hanmant Patil
112010094 Batch E Div 2
When transfer function is (1/S + 1) the trajectory of the lathe tool is deviated from the
required trajectory.
When transfer function is (1/0.1S + 1) the trajectory of the lathe tool almost perfectly matches
the required trajectory
Anurag Hanmant Patil
112010094 Batch E Div 2
figure shows the Simulink model for a transfer function, we will substitute the Gain block
with a PID block and tune its response using Ziegler-Nichols Method
response from the above model for different values of gain are as follows
K=1
Anurag Hanmant Patil
112010094 Batch E Div 2
K=5
K=10
Anurag Hanmant Patil
112010094 Batch E Div 2
K=15
K=12
K= 12.6
Anurag Hanmant Patil
112010094 Batch E Div 2
We observe above that as we increase the value of Gain above 12 the response seems to
increase its amplitude of oscillations, by trial and error we get the point of neutral oscillations
where the response is between two amplitudes. At K = 12.6 such state is received. So
Ku=12.6
Kp=4.2
With the PID controller we can observe the oscillations within the signal are reduced by a
large amount and the signal received is very stable
Anurag Hanmant Patil
112010094 Batch E Div 2