Mid semester class test
CHEN4011 - Advanced Modelling and Control
Question 1 (10 marks)
Consider the following transfer functions for a mixing process:
The system is controlled with a PI controller of the form
with parameters .
Assume unity measurement. The feedforward signal is added at the plant input. For parts (c)–(e), ignore the time delay.
Tasks:
- Derive the expression for the ideal feedforward controller . (2 marks)
Answer
The ideal feedforward controller is obtained from
- Comment on whether it is realizable. If the ideal feedforward controller is not realizable, suggest practical strategies to approximate it. (2 marks)
Answer
The term corresponds to a time advance (prediction), which is non-causal and thus not physically realizable.
Practical approximations:
- Delay matching: Insert a deliberate 1 s delay to cancel the advance:
- Static gain feedforward: Use steady-state gain ratio with a filter:
- IMC-style filtered inversion:
with to enforce causality and robustness.
- Delay matching: Insert a deliberate 1 s delay to cancel the advance:
- Derive the open-loop transfer function . (2 marks)
Answer
Ignoring delays:
- Derive the closed-loop transfer function assuming unity feedback. (2 marks)
Answer
With unity feedback:
Simplified:
- Using the Routh criterion, comment on the stability of the closed-loop system. (2 marks)
Answer
Characteristic polynomial:
- All coefficients are positive.
- For a second-order system, positivity of coefficients ensures stability.
- The discriminant , confirming real negative roots.
Conclusion: The closed-loop system is stable.
Question 2 (10 Marks)
A binary distillation column has a total condenser and a reflux drum. The overhead vapor is condensed to liquid and split into reflux back to the column and distillate to product. The top‑tray temperature used as an inferential measure of distillate composition.
The plantwide policy is to hold a constant reflux‑to‑distillate ratio () to stabilize top composition during feed disturbances while the drum level is regulated. A ratio station computes the reflux‑flow setpoint from the measured distillate flow.
a). For ratio control identify the following (5 marks)
Controlled variable (CV) of the ratio loop:
Answer:
held at set value
Measured variables used by the ratio station:
Answer
Distillate flow (optionally a trim signal from or analyzer)
Manipulated variable (MV):
Answer
Reflux flow controller setpoint (reflux valve)
Ratio relationship implemented (write the exact formula the ratio station should use, including an optional trim ):
Answer
Major disturbances the ratio loop helps reject (list any three):
Answer
Major disturbances the ratio loop helps reject (any three):
- Feed flow-rate changes
- Feed composition changes
- Feed temperature/enthalpy changes
- Upstream pressure fluctuations
- Condenser cooling-water temperature changes
Regulatory control for safe operation (name the variables typically held and their actuators):
Answer
Regulatory control for safe operation (variables and actuators):
- Reflux drum level → distillate product valve
- Column pressure → condenser duty or vent/blanket valve
- Reboiler (sump) level → bottoms product valve
- Reboiler heat input → steam or heat-medium valve
- Feed flow → feed control valve
b). Draw a clean schematic showing a cascade control structure in which the tray‑temperature controller is the primary loop and a reflux‑to‑distillate ratio controller is the secondary loop feeding the reflux flow controller. (5 marks)
Question 3 (10 Marks)
Consider the process
A PI controller is used with parameters
Develop a SIMULINK model to simulate:
- Standard feedback control with PI only.
- Smith Predictor based control. Use the internal model without delay,
and place the actual time delay only in the forward plant path.
Use the following conditions while developing the simulation.
- Total simulation time: 100 s
- Set point: unit step at
- Use the PI parameters above for both cases
- Measure output
Upload the developed SIMULINK model to the submission link on blackboard.
Populate Table 1.
Question 4 (10 Marks)
A DC motor is driven by an input voltage and both the angular position and angular velocity are measured as outputs. The dataset dcmotordata
is provided with MATLAB System Identification Toolbox. It contains:
u
: armature voltage (input)y
: [angular position, angular velocity] (outputs)
Load the data in MATLAB with the commands:
load dcmotordata
z = iddata(y,u,0.1);
Here, y
includes two outputs and 0.1
is the sampling time (s).
Use the first 200 samples of the dataset (z(1:200)
) for model estimation and the last 200 samples (z(201:400)
) for model prediction (testing).
Estimate the following multi-output models using MATLAB functions:
- Transfer function models with one and two poles (
tfest
) - ARX models with orders (na=2, nb=2, nk=1) and (na=4, nb=4, nk=1) (
arx
) - ARMAX model with orders (na=2, nb=2, nc=2, nk=1) (
armax
)
- Compare each model against the test data using the
compare
command. Report the fit percentage for prediction data in Table 2 for both outputs. (5 marks)
Model | Fit to angular position data | Fit to angular velocity data |
---|---|---|
Transfer function with one pole | ||
Transfer function with two poles | ||
ARX model (na=2, nb=2, nk=1) | ||
ARX model (na=4, nb=4, nk=1) | ||
ARMAX model (na=2, nb=2, nc=2, nk=1) | ||
Answer
Model | Fit to angular position data | Fit to angular velocity data |
---|---|---|
Transfer function with one pole | 91.22 | 84.47 |
Transfer function with two poles | 98.35 | 84.49 |
ARX model (na=2, nb=2, nk=1) | 97.37 | 83.44 |
ARX model (na=4, nb=4, nk=1) | 97.78 | 84.38 |
ARMAX model (na=2, nb=2, nc=2, nk=1) | 98.26 | 84.82 |
- Comment on the results. (5 marks)
- Which output is harder to model?
Answer
The angular velocity output is consistently more difficult to model. Across all models, its fit percentage remains lower (≈83–85%) compared to the angular position output (≈91–98%). This suggests that the angular velocity exhibits more noise or faster dynamics that are not fully captured by the identified models.
- Does increasing model complexity always improve prediction? Explain why or why not.
No, increasing complexity does not guarantee better prediction.
For angular position, moving from a one-pole transfer function to a two-pole or higher-order ARX/ARMAX improves the fit significantly.
For angular velocity, however, increasing the order of ARX or moving to ARMAX yields only marginal improvements (less than 1%).
More complex models risk overfitting the estimation data, capturing noise rather than system dynamics, which does not translate into better performance on unseen test data.
Conclusion: A moderate-complexity model such as the ARMAX (2,2,2,1) provides a good balance—achieving excellent accuracy for angular position and the best (though still limited) accuracy for angular velocity without unnecessary over-parameterization.
Formula sheet
Ideal PI Controller Tuning
. Typically ; . Matlab controller parameters: ; .
First-Order plus Deadtime (FOPDT) model
Idealized Feedforward Controller
Simple feedback loop with output disturbance
Cursor measurements
Useful information about the time series can be obtained using cursor measurements.
Citation
@online{student_id:,
author = {Student ID:, Name:\textbackslash hspace\{8cm\}},
title = {Mid Semester Class Test},
url = {https://amc.smilelab.dev/admin/midsem/},
langid = {en}
}