Apply a controller designed for one model to several actual models and delay conditions to find where performance deteriorates.
Before practice
01 How does the same controller's response change when mass, damping, and stiffness vary?
Description
Keep gain fixed, change the plant's three parameters, and calculate poles and step responses. This activity compares 27 models formed by combining three values for each parameter.
02 How can you assess whether models between the selected values are also stable?
Description
Rather than calculate a few more models, assess whether all coefficients of this example's 2nd-order characteristic polynomial are positive throughout the given range. Distinguish stability over the entire range from individual responses' settling times.
1. Applying the nominal controller to other actual models
Starting conditions
kg, N·s/m, N/m. Fix K and N at the values designed for .
Procedure
Keep the nominal controller fixed and compare the poles and responses of the three actual models.
Find the final value and 2% settling time of each response, and identify the slowest condition.
Results to retain
Three response curves and a comparison table of poles and settling times.
Items to record and points to check
Mass
Pole
Final value
Settling Time
Points to check
Did you keep K unchanged rather than redesigning it for each actual model?
Did you check that the response stays within the 2% band after the settling time?
2. Changing mass, friction, and stiffness together
Starting conditions
Use the 27 combinations of m∈{.7,1,1.3}, b∈{2,3,4}, and k∈{1,2,3}. Keep and fixed.
Procedure
For each combination, find the maximum real part of the eigenvalues of . Record the number of models where this value is negative and where it is 0 or greater.
Find the combination with the largest maximum real part. Also calculate for each combination, and separately find the combination with the largest .
For the two selected combinations, tabulate , maximum pole real part, and steady-state error, and plot unit-step responses on the same time axis.
Distinguish the parameter values checked in this calculation from the unchecked values between them. Explain which coefficient conditions in the learning material's characteristic polynomial should be examined to assess stability over the entire range.
Results to retain
A stability summary for the 27 conditions and responses for the two extreme cases.
Items to record and points to check
m,b,k
Maximum pole real part
Steady-State Error
Points to check
Did you calculate poles from rather than A?
Did you distinguish pole calculations for the 27 combinations from analytical justification covering the entire parameter range?
3. With input delay and saturation
Starting conditions
Euler-integrate the nominal model's state with dt=.002 s steps for 6 s. Input delays are 0,.08,.2 s, and the input limit is ±4.
Procedure
Use the practice notebook's function to plot outputs and inputs for the three delays.
Halve dt and check that the main responses remain similar.
Explain why linear-pole stability alone is insufficient to assess an implementation with delay and saturation.
Results to retain
Output and input curves, RMS tracking error (after 2 s), input saturation fraction (the full 0–6 s record), and comparison of integration time steps.
Items to record and points to check
Delay
dt
RMS tracking error
Input saturation fraction
Points to check
Is delay implemented by retrieving past inputs from the command history?
Did you avoid confusing time-step effects with model instability?