Tank Level — P-only control and offset

App Exercises

Model and Control Exercise 9 of 40. BYU class 9 · PDC class 11. 15 minutes.

Tank Level lecture cover
Open the Tank Level App

Learning Outcomes

  • Compute the offset a P-only controller leaves on a self-regulating process.
  • Show that a larger gain shrinks the offset and costs valve movement.
  • Explain why an integrating process leaves none after a setpoint step.

Book Chapter

Process Dynamics, Modeling, and Identification (Volume 1), Chapter 2, Gravity-Drained Tank Laboratory for Level Loops With a Moving Time Constant. Read online · Chapter PDF · Lecture slides

Theory in Brief

For a stable first-order self-regulating plant in deviation variables, proportional feedback changes gain and response speed. The formulas assume a steady initial setpoint and no saturation.

$$u=u_{bias}+K_ce$$

$$e_{ss}=\Delta SP/(1+K_cK_p)$$

$$\tau_{cl}=\tau_p/(1+K_cK_p)$$

Model to Controller

The open-loop step supplies K_p and the local time scale. Their product with controller gain determines the offset and effective time constant.

Exercise

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

Predict (1 min). Use the open-loop gain read in case 2 to predict the offsets at two proportional gains.

Run (8 min).

  1. Open the app and select the following cases in order.
  2. 2 · Open-loop actuator step.
  3. 3 · Closed-loop setpoint step.
  4. Read the open-loop gain in case 2. In case 3, select PID, set Integral gain and Derivative gain to zero, and repeat the same setpoint change at two Proportional gain settings. Record the final error in each run.
  5. Record K_p, the two offsets, and each against the formula.

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, the two offsets, and each against the formula. 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.

Larger positive loop gain reduces the predicted offset, with larger control moves. Check the actuator trend before applying the formula.

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

The open-loop step supplies K_p and the local time scale. Their product with controller gain determines the offset and effective time constant.

How should the observations be interpreted?

Larger positive loop gain reduces the predicted offset, with larger control moves. Check the actuator trend before applying the formula.

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-only (P-only) Control · Quiz H · Tank Level · P-only Control

8 · Ball Levitation · 10 · Cruise Control

Course Information

Assignments

Projects

Exams

Dynamic Modeling

Equipment Design

Control Design

Optimal Control

Exercises

Related Courses

Admin