Cruise Control — PI control tuned from a model (IMC)

App Exercises

Model and Control Exercise 10 of 40. BYU class 10 · PDC class 12. 15 minutes.

Cruise Control lecture cover
Open the Cruise Control App

Learning Outcomes

  • Compute IMC tuning from a first-order model.
  • Relate the closed-loop time constant `τ_c` to how hard the pedal works.
  • Explain what the integral term does that the proportional term cannot.

Book Chapter

Practical PID Control (Volume 2), Chapter 2, Automobile Cruise Control Simulator for Velocity-Form PID Under Quadratic Drag. Read online · Chapter PDF · Lecture slides

Theory in Brief

For a local first-order plus dead-time car model, tau_c is the desired closed-loop speed. Use matching input fractions or percentage points throughout the calculation.

$$u=u_{bias}+K_c e+(K_c/\tau_I)\int e\,dt$$

$$K_c=\tau_p/[K_p(\theta_p+\tau_c)]$$

$$\tau_I=\tau_p$$

Model to Controller

Fit K_p and tau_p from the pedal step. Tune with the chosen speed and check pedal movement against the actuator limits.

Exercise

Read (2 min). Review the model and identify which signals you will compare.

Predict (1 min). Predict which shipped tuning corresponds to the smaller τ_c.

Run (8 min).

  1. Open the app and select the following cases in order.
  2. 2 · Open-loop actuator step.
  3. 6 · Conservative tuning.
  4. 7 · Aggressive tuning.
  5. Read gain and time constant from case 2. For cases 6 and 7, use the same settling band and total pedal travel interval. Rearrange the IMC formula to calculate the implied closed-loop time constant.
  6. Record K_p, τ_p, and the settling time and pedal travel under each.

Explain (2 min). Which observation supports or changes your prediction? Which assumption or limit explains the gap between calculation and observation?

Generative AI Learning (2 min)

"I predicted {prediction} and measured {results} for K_p, τ_p, and the settling time and pedal travel under each. Ask me to explain the model first. Check my method and units, then suggest one claim I can test on my trend."

Verify the suggested claim using a second point on your trend or an independent calculation from the equations. Cite the signal, units and case that support your conclusion.

What to Turn In

Submit a screenshot of the relevant trend or scorecard and three sentences covering your prediction, the measured result with units, and the model's explanation. Course guidelines for AI use.

For fixed plant parameters, the larger gain implies the smaller tau_c. With sufficient actuator authority, a PI loop can eliminate offset from a constant load.

Which part of the model connects the measured signal to the exercise?

Fit K_p and tau_p from the pedal step. Tune with the chosen speed and check pedal movement against the actuator limits.

How should the observations be interpreted?

For fixed plant parameters, the larger gain implies the smaller tau_c. With sufficient actuator authority, a PI loop can eliminate offset from a constant load.

How could you check that a result is comparable across cases?

Use the same signal, units and reference point. When comparing integrated quantities, use the same interval.

Related

Proportional Integral (PI) Control · Quiz I · Auto Cruise Control · PI Control

9 · Tank Level · 11 · Ball and Beam

Course Information

Assignments

Projects

Exams

Dynamic Modeling

Equipment Design

Control Design

Optimal Control

Exercises

Related Courses

Admin