Chat Transcript
User: please help me get the solutions to the prelab questions
Assistant: Here are the solutions to the prelab questions based on the document:
Q1: Analyze tank 1 water level closed-loop system at the static equilibrium point (Vp0, L10) and
determine the voltage feedforward gain, Kff1.
- Equation reference: From Equation (9), the feedforward voltage is given by:
Vp_ff = Kff_1 sqrt(Lr_1)
- At the equilibrium point Lr_1 = L10 = 15 cm, you can substitute into the equation to find Kff_1.
Kff_1 = Vp_ff/sqrt(15 cm)
Vp_ff can be found using the measured operating voltage at equilibrium.
Q2: Identify controller gains Kp_1 and Ki_1 and fit them to the second-order standard form.
- Characteristic equation: The closed-loop characteristic equation is expressed as:
s^2 + 2 zeta_1 omega_{n1} s + omega_{n1}^2 = 0
- From Equation (15) of the document, the proportional and integral gains Kp_1 and Ki_1 are
functions of the parameters zeta_1 (damping ratio), omega_{n1} (natural frequency), Kdc_1, and T1
(time constant).
Kp_1 = (2zeta_1omega_n1T_1)/Kdc_1
Ki_1 = (omega_n1^2 T_1)/Kdc_1
Q3 Determine numerical values for Kp_1 and Ki_1 in order for the tank 1 system to meet the
closed-loop
Desired specifications, as previously stated.
Assistant: Let's go step by step to solve the questions mathematically...
[...]
Assistant: Summary of What to Know and Do
Before the experiment:
- Be familiar with control theory, specifically PID control.
- Understand transfer function modeling and linearization.
- Have a good grasp of MATLAB, Simulink, and QUARC for simulation and control implementation.
During the experiment:
1. Model the single tank system.
2. Design a PI-Feedforward controller.
3. Simulate the system in Simulink and tune the controller gains.
4. Implement the controller on the hardware using QUARC.
5. Analyze the system's response and compare it to the design specifications.