Professional Documents
Culture Documents
Engine Desigh - Edited
Engine Desigh - Edited
Engine Desigh - Edited
Student
Institution
Instructor
Date
Engine design and thermodynamics
2
Fig no 1
Part no 1:
Car Parameter:
Now we get the mass, the damper and spring value of the car tesla model S [1]
A.
The model of the system:
The free-body diagram for this system is shown below fig no 2 of the car model system. The
spring force is proportional to the displacement of the mass, and the viscous damping force is
proportional to the group's velocity . Both parties oppose the pack's motion and are,
therefore, shown in the negative -direction. Note also that corresponds to the position of
the group when the spring is unstretched.
Fig no 2
in the -direction we have:
This equation, known as the governing equation, completely characterizes the dynamic state of
the system. Later, we will see how to use this to calculate the response of the system to any
external input and analyze system properties such as stability and performance.
Taking the Laplace and the then we get
F (s)−Bsx (s)−Kx (s )=ms 2 x ( s)
Now for the transfer function then the equation
F (s) /x ( s)=1/¿)
The system's simulation model used in theories and the system's transfer function is given below
in fig no 3, which will include the damper and the equation, and the hook's law says, so we
generate the MATLAB code of the system.
B.
The model of the system is given in part no A, and the equation of the system is provided in part
A
Fig no 3
F (s) /x ( s)=1/¿)
Now open the script file and write the num and den value
No, write the command of the transfer function of the system
CODE
num=1;
den=[2500 80000 350]
s=tf(num,den);
Fig no 3
D. Step and impulse response of the system:
For the step and impulse response of the system in MATLAB, we have to calculate that step
response of the system. After that, we have to figure the system impulse response of the
system .for the impulse and step response, the method is nearly the same, but the changes will
happen when we plot the comeback. firstly write he code of the step response and get the graph,
then replace of impulse over the step(s)
Procedure :
First, open the MATLAB and run the script file
Now write the num and den value
Now use the transfer command for the transfer of the function
Now add the step command for step response, and for the impulse, replace the step
command with the impulse response command
CODE:
For step:
num=1;
den=[2500 80000 350]
s=tf(num,den);
step(num,den)
For impulse
num=1;
den=[2500 80000 350]
s=tf(num,den)
impulse(s)
the result of both responses of the system is given below in figure no 4
Engine design and thermodynamics
5
Figure no 4
E. Comments:
The response of the system can be improved when we use the close loop. The course will then
get feedback and improve the system settling time, peak time, settling time, etc.
Part 3
E. Simulink model:
For the building of the Simulink model of the mode
Open the Simulink file in MATLAB.
Now add the transfer function, step, and derivative and scope blocks in the sims file.
Now connect the appropriate step and the impulse response of the system.
Use scope for the output graph.
F. Result of Simulink:
for result calculation of the system and comparing the response of the system in step and the
impulse response
Figure no 8
The above-written equations are implemented in Simulink to observe the suspension's open-loop
responses on a bump, which is obtained by considering only the disturbance input W(s) = 0.1,
and U(s) = 0. The model is given below
Figure no 9
The following open Loop response is achieved by considering only the disturbance inputs(s)
=0m, and U(s ) = 1.
Fig no 10
Figure 10 Vehicle Suspension System when input W(s) = 0m, and U(s) = 1.
The following open Loop response is achieved by considering only the disturbance input ( ) =
0.1 , and ( ) = 0.
Fig no 11
Figure 11 Vehicle Suspension System when input W(s) = 0.1m, and U(s) = 0.
the system. The Simulink model of the Vehicle Suspension system using PID Controller is
shown
Fig no 12
The values of KP and KI are 531962 and 14348611, calculated earlier. The Root Locus for kd is
given below.
Fig no 13
Engine design and thermodynamics
10
The value of Ki comes out to be 5000. The response of the Vehicle Suspension System using a
PID controller is shown.
Fig no 14
Figure 16 Vehicle Suspension System using PID controller when input W(s) = 0.1m, and U(s) =
0.
The above response depicts that the people sitting in Vehicle feel a minimal amount of
oscillations in 1 to 1.5 seconds. By the use of PID Controller, the performance characteristics of
Vehicle suspension Systems are drastically improved.
It is observed from the comparison of the Open-loop Vehicle Suspension System and PID
controller is that the PID controller has less overshoot and has a minimal settling time, i.e., 1.5
seconds as compared to others. Below is the analysis of open and closed-loop systems.
We have designed PID controllers and employed for controlling a suspension system of a ¼
vehicle model. The control scheme has been implemented in SIMULINK and the response of the
open-loop PID controller. The overshoot of open-loop response is observed as 0.88, and settling
Engine design and thermodynamics
11
time is 300sec, signifying that people sitting in the Vehicle feel a small amount of oscillation for
an unacceptably long time. For further improvement, the PID controller is used, and it has been
observed that the overshoot decreases to 0.004, and the response is settled at 1.5 sec, which is a
desired response of the suspension system. The proposed model aims to develop and carry the
system's responsibilities using a PID controller up to a better level.
References
Engineering know-how in engine design. (, 1953). New York: Society of Automotive Engineers.
Hodkinson, R., & Fenton, J. (2001). Lightweight electric/hybrid vehicle design. Oxford:
Butterworth-Heinemann.