Control Systems -- Advanced Topics 1
Overview
Christian Hubicki explains how to extend linear control methods to nonlinear systems, moving from local linearization and gain scheduling to feedback linearization for affine systems. He shows how actuator limits and matrix singularities constrain feedback linearization, distinguishes it from controllability using the pendulum-on-a-cart example, and closes with an introduction to optimal control and MATLAB's LQR command.
Key takeaways
- Local linearization is valid near a chosen equilibrium, so a nonlinear system that moves across a wide range may need multiple operating-point models and gain scheduling.
- For a pendulum with torque input, adding the feedforward term m g L sin(theta) cancels gravity and leaves linear angular-acceleration dynamics for a feedback controller.
- Feedback linearization of x-dot = f(x) + G(x)u depends on the invertibility of G(x); robot-arm configurations such as a fully extended elbow can create singularities.
- Underactuated systems are not necessarily uncontrollable: the pendulum-on-a-cart can reach desired states despite having fewer actuators than degrees of freedom.
- Controllability asks whether a target state can eventually be reached, while feedback linearization can provide greater freedom to specify the trajectory taken to reach it.
- LQR balances state error and control effort through Q and R; MATLAB's lqr(A,B,Q,R) computes the feedback gain for that chosen tradeoff.
Chapters
- The final project report and presentation are due Friday of finals week at 5:00 pm.
- Each group submits a project report in the format specified by the project document and a roughly five-minute video presentation.
- Christian Hubicki recommends recording a presentation in Zoom and exporting it in a standard format such as MP4.
- Every group member should participate; an optional anonymous group evaluation may also be posted on Canvas.
- Hubicki shifts from course logistics to advanced control topics intended to support students' projects and future work.
- He notes that office-hours questions can influence upcoming lectures, including this session's expanded focus on nonlinear control.
- The class has mostly studied linear time-invariant systems, but many project systems are nonlinear or time-varying.
- A general dynamical system is written as x-dot = f(x,u), where x is the state vector and u is the control input.
- Linearization approximates the dynamics near an equilibrium with x-dot ≈ Ax + Bu.
- A fixed point requires a state x-star and input u-star for which f(x-star,u-star) = 0.
- For a free pendulum, the resting downward and upright positions are both fixed points, although the upright one is unstable.
- Hubicki models a pendulum with angle theta and angular velocity as its two states, and applied torque tau as its input.
- At the downward equilibrium, theta = 0, angular velocity = 0, and tau-star = 0; the upright equilibrium at theta = pi also requires zero torque in the ideal model.
- More generally, a stationary pendulum at any angle can be held by the equilibrium torque tau-star = m g L sin(theta).
- An equilibrium calculation must include the input as well as the state, since a nonzero motor torque can make a seemingly stationary position accelerate.
- Linearization is accurate only near its selected equilibrium; Hubicki defines the deviation state as x-tilde = x - x-star.
- The corresponding deviation input is u-tilde = u - u-star, so the linear model is written in deviations rather than absolute values.
- For the pendulum, linearizing only at the upright and downward positions does not accurately describe the substantially different dynamics between them.
- Because a holding torque can establish equilibria at many pendulum angles, the model can be linearized around a family of operating points.
- At each operating point, the linearized matrices come from Jacobians: A = partial f/partial x and B = partial f/partial u, evaluated at x-star and u-star.
- A different pair of A and B matrices can produce a different state-feedback gain matrix K, for example through pole placement.
- Gain scheduling selects the appropriate controller gains as the system moves between operating points.
- The scheduled controller must use deviations from the current equilibrium, including the input offset u-star, rather than treating every operating point as zero.
- Gain scheduling repeatedly updates the local linear model instead of relying on one linear approximation across the entire nonlinear trajectory.
- For each scheduled operating point, feedback takes the deviation form u-tilde = -K(x-x-star).
- Hubicki introduces a stronger approach: cancel the pendulum's nonlinear gravity term using a feedforward torque, then control the remaining linear dynamics.
- For the pendulum equation theta-double-dot = -g/L sin(theta) + tau/(mL²), choose tau = m g L sin(theta) + tau-feedback.
- The feedforward term m g L sin(theta) cancels gravity, leaving theta-double-dot = tau-feedback/(mL²).
- The remaining dynamics are linear, so familiar methods such as PD control, pole placement, and root-locus analysis can be applied.
- Hubicki describes the gravity-canceling term as feedforward and the chosen stabilizing or tracking controller as feedback.
- Hubicki considers control-affine systems of the form x-dot = f(x) + G(x)u, a structure common in mechanical systems.
- The nonlinear drift term f(x) can sometimes be canceled by choosing an input that depends on the current state.
- The remaining input can then specify desired dynamics, provided the control-effectiveness matrix G(x) can be inverted.
- The pendulum's gravity-canceling torque is a concrete example of this feedforward cancellation strategy.
- For vector-valued inputs, feedback linearization requires an invertible G(x); a singular or nonsquare matrix prevents the required inverse.
- A robot arm with a fully extended elbow can lose the ability to accelerate its hand in some directions, making its control matrix singular.
- Hubicki connects this issue to Honda's ASIMO and older legged robots, which often walked with bent knees to avoid configurations that made the control calculation singular.
- Avoiding singular configurations can simplify control, but it can also force mechanically inefficient or unnatural motions.
- A system is fully actuated when it has one actuator per degree of freedom; this gives feedback linearization a chance, but does not guarantee invertibility everywhere.
- A system with fewer actuators than degrees of freedom is underactuated and generally cannot use full feedback linearization.
- A person's support conditions can change the effective actuation: a planted foot provides more control than balancing on a toe, while motion in the air lacks direct actuation of the body's center of mass.
- Hubicki points to partial feedback linearization, associated with Mark Spong, as an approach for linearizing some degrees of freedom while handling the others separately.
- The pendulum-on-a-cart has two controlled objectives, cart position and pendulum angle, but only one actuator, so it is underactuated.
- The system can still be controllable even though it is not fully feedback linearizable.
- For a linearized model with n states, controllability is tested using the matrix [B, AB, ..., A^(n-1)B]; full rank indicates controllability.
- Controllability means a target state can be reached eventually, while feedback linearization offers more freedom to prescribe the trajectory along the way.
- Hubicki distinguishes the ability to reach a finish line from the quality of the controller's performance, using Usain Bolt and an amateur runner as an example.
- Pole placement and measures such as settling time or steady-state error do not fully capture goals such as minimizing control effort.
- Optimal control formalizes performance by defining a cost that trades off state error against input effort.
- The linear quadratic regulator minimizes a cost that integrates state error and control effort over time, often from the present to infinity.
- The Q matrix weights the importance of state performance, while R weights the cost of using control input.
- MATLAB's lqr command takes A, B, Q, and R and returns an optimal feedback gain matrix K for the specified objective.
- Increasing Q relative to R emphasizes reaching the desired state; increasing R relative to Q favors using less control effort.
Transcript excerpt
0:02 All right. Just one sec. >> All right. Good morning, folks. >> Morning. >> So, today December 1st already went. I know. I know. I had the exact same reaction. So, a couple things. So everything we're covering on for this week is really it's advanced topics that are designed to help you out for your project or for your future. Anytime you want to do things in control systems, I had people come to my office hours asking about help for the control system. And in fact, I had a question come to my office yesterday. I was like, you know what? I'm going to change what I'm talking about on Tuesday to cover this instead.
0:49 So keep that in mind. You come to office hours, I might change a make a lecture that's just for you. Okay? Just keep that in mind. All right. So, uh I was just going to cover observers today, but I felt it was it was it was uh it may be more relevant for your projects to cover a little bit more of the nonlinear and advanced levels of control for people who are doing some more advanced concepts with their controllers for their projects and um and maybe inspire you to try some things if you haven't tried them already. Okay. With your projects. But speaking of your projects, okay, well, I guess we go back up for a second. We're still working on your exams. I uh I'm pushing through the exams. They should be back for next class. Okay. I think you guys did okay. I mean, I I I always think that and I always grade with sort of a mental curve in mind. So, what I'm trying to say is I
1:38 don't think there's a reason to panic
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Christian Hubicki.