Professional Documents
Culture Documents
Repport Team 03
Repport Team 03
Collaborative Online International Learning between Farhat Abbas University, Setif 1, and
Tecnológico de Monterrey, campus Sonora Norte
Participant :
- Adimi Mortadja dhia eddine and Benstiti mohaned tahar from Farhat Abbas University,setif1
- Alejandra Corral Sánchez from Tecnológico de Monterrey, campus Sonora Norte
OBJECTIVE
Identify and validate an electronic plant/process for further control design.
INTRODUCTION
The practical activities help to reinforce the theoretical and simulation topics reviewed in the courses. In this sense, operational amplifiers (Op-
Amps) are electronic elements that allow the construction of plants that can be applied in automatic control. These devices are used intensively
in electronic systems, and more specifically in blocks/materials where their characteristics and a series of applications around them are
analyzed. Moreover, Op-Amps are studied because they can be used in the construction of first and second order plants, systems widely
applied in the control of industrial processes.
Second order plant with an overdamped response. The electronic circuit is a second order active low-pass filter.
Proposed values:
R1(MΩ) R2(MΩ) C1(µF) C2(µF)
1.601 1.601 0.82 0.18
For 𝑉𝑖 :
𝑉𝑖 − 𝑉𝑜 𝑑𝑉𝑜 𝑑(𝑉𝑜 − 𝑉𝑐 )
+ 𝐶1 + 𝐶2 =0
𝑅1 𝑑𝑡 𝑑𝑡
For 𝑉𝑜 :
𝑑(𝑉𝑜 −𝑉𝑐 ) 𝑉𝑜
-𝐶2 − =0
𝑑𝑡 𝑅2
For 𝑉𝑐 :
𝑑(𝑉𝑜 − 𝑉𝑐 ) 𝑉𝑜
𝐶2 − =0
𝑑𝑡 𝑅2
The following procedure was to model the dynamic equations of the plant.
𝑑2 𝑉𝑂 𝑑𝑉𝑂
𝑉𝑂 = 𝑉𝑖 − 2
(𝐶1 𝐶2 𝑅1 𝑅2 ) − (𝐶1 𝑅1 + 𝐶1 𝑅2 + 𝐶2 𝑅2 )
𝑑𝑡 𝑑𝑡
2
𝑑 𝑉𝑂 𝑑𝑉𝑂
(𝐶1 𝐶2 𝑅1 𝑅2 ) + (𝐶1 𝑅1 + 𝐶1 𝑅2 ) + 𝑉𝑂 = 𝑉𝑖
𝑑𝑡 2 𝑑𝑡
𝑑2 𝑉𝑂 𝑑𝑉𝑂
2
(820𝑛𝐹 ∗ 480𝑛𝐹 ∗ 1.6𝑀 ∗ 1.6𝑀) + (820𝑛𝐹 ∗ 1.6𝑀 + 820𝑛𝐹 ∗ 1.6𝑀) + 𝑉𝑂 = 𝑉𝑖
𝑑𝑡 𝑑𝑡
𝑑2 𝑉𝑂 𝑑𝑉𝑂
2
(1007616 )𝑡 2 + (2624)𝑡 + 𝑉𝑂 = 𝑉𝑖
𝑑𝑡 𝑑𝑡
3- the equations in the domain of the complex variable 's', and calculate [Vo(s) / Vi(s)].
The terms of the differential equation are related to the transfer function.
𝑉𝑂
𝐻(𝑠) =
𝑉𝑖
𝐶1 𝑅1 + 𝐶1 𝑅2 1 𝑉𝑖 (𝑠)
𝑉𝑂 (𝑠) ( 𝑠 2 + 𝑠 ( )+ )=
𝐶1 𝐶2 𝑅1 𝑅2 𝐶1 𝐶2 𝑅1 𝑅2 𝐶1 𝐶2 𝑅1 𝑅2
1 1 1 𝑉𝑖 (𝑠)
𝑉𝑂 (𝑠) ( 𝑠 2 + 𝑠 ( + )+ )=
𝐶1 𝑅2 𝐶1 𝑅1 𝐶1 𝐶2 𝑅1 𝑅2 𝐶1 𝐶2 𝑅1 𝑅2
1
𝑉𝑂 (𝑠) 1007616
=
𝑉𝑖 (𝑠) 1 1 1
𝑠 2 + 𝑠 (1312 + 1312) + 1007616
The state space is a representation in time, so we start from the differential equation.
𝑑2 𝑉𝑂 𝑑𝑉𝑂
2
(𝐶1 𝐶2 𝑅1 𝑅2 ) + (𝐶1 𝑅1 + 𝐶1 𝑅2 ) + 𝑉𝑂 = 𝑉𝑖
𝑑𝑡 𝑑𝑡
𝑑2 𝑉𝑂 𝑑𝑉𝑂
2
(𝐶1 𝐶2 𝑅1 𝑅2 ) = 𝑉𝑖 − (𝐶1 𝑅1 + 𝐶1 𝑅2 ) − 𝑉𝑂
𝑑𝑡 𝑑𝑡
𝑑2 𝑉𝑂 1 𝑑𝑉𝑂 (𝐶1 𝑅1 + 𝐶1 𝑅2 ) 1
= 𝑉𝑖 − − 𝑉
𝑑𝑡 2 𝐶1 𝐶2 𝑅1 𝑅2 𝑑𝑡 𝐶1 𝐶2 𝑅1 𝑅2 𝐶1 𝐶2 𝑅1 𝑅2 𝑂
𝑥1 = 𝑉𝑂
𝑥1̇ = 𝑥2
(𝐶1 𝑅1 + 𝐶1 𝑅2 ) 1 1
𝑥2̇ = −𝑥2 − 𝑥1 + 𝑉
𝐶1 𝐶2 𝑅1 𝑅2 𝐶1 𝐶2 𝑅1 𝑅2 𝐶1 𝐶2 𝑅1 𝑅2 𝑖
0 1 0
𝑥̇
[ 1] = [ 1 (𝐶1 𝑅1 + 𝐶1 𝑅2 )] [𝑥1 ] + [ 1 ] 𝑉𝑖
𝑥2̇ − − 𝑥2
𝐶1 𝐶2 𝑅1 𝑅2 𝐶1 𝐶2 𝑅1 𝑅2 𝐶1 𝐶2 𝑅1 𝑅2
5- Define the operating range of the plant (positive voltage), and apply the response approach to a step input
and use a graphical method to calculate Gp(s). FALSTAD circuit simulator
1 × 𝑒 −0.4578𝑝
𝐺𝑝(𝑠) =
1.5462𝑝 + 1
6- Validate the obtained model. Given the same input signal, compare the “experimental data” from FALSTAD
with the theoretical model (simulation in MATLAB-Simulink). Comment on the results. How close is the model
to the experimental data?
Using matlab we start by import the entry and exit data from falstad to matlab workspace:
after that we open ident toolbox and Choosing time domain data the import data:
After that we put this transfer function in Simulink and simulate it we got this graph:
P:
0.90−1
𝑀𝑝 = = −0.1
1
The Mp was negative, that means there is no overshoot, it didn't even reach the reference.
(−0.1) ∗ 100
%0𝑉 = = 0%
1
PI:
1.043−1
𝑀𝑝 = 1
= 0.043
(0.043) ∗ 100
%0𝑉 = = 4.3%
1
PID:
1−1
𝑀𝑝 = 1 = 0
(0) ∗ 100
%0𝑉 = = 0%
1
b) ts (settling time)
According to the curve, the ts parameter for the PID and PI controller was 9.3 s, while for P it was 4 s.
c) Sum of square errors. Consider it since the setpoint was modified and up to the
settling time ts
The sum of the squared errors was identified with the help of simulink
since the errors of each controller were integrated using blocks and we
graphed them.
PID= 0.615
PI=0.654
P=0.755
With the help of the graph and the lines are identified.
P=
1.27 − 1
%𝐷 = ∗ 100 = 27%
1
PI=
1−1
%𝐷 = ∗ 100 = 0
1
PID=
1−1
%𝐷 = ∗ 100 = 0
1
P= 9 segundos
PI=14 segundos
PID= 14 segundos
Furthermore, it is known in the literature that integral actions are useful in rejecting matched disturbances.
This activity was challenging because of the schedule and a little because of the language. I enjoyed learning
about different cultures and meeting my classmates.