First Order Examples: Root Locus and Linearization
Please Log In for full access to the web site.
Note that this link will take you to an external site (https://shimmer.mit.edu) to authenticate, and then you will be redirected back to this page.


In the Crane example, recall that the distance from the beacon for the velocity-controlled crane, in Figure 1, is described by the difference equation
The model for the Crane, the first of the equation pair above, and the crane controller, the second of the pair, are both linear difference equations (LDEs). Whenever possible, we prefer LDE models of systems we want to control, mostly because we have so many good analysis tools for LDEs. For example, the model and controller LDE's for the Crane can be merged into a single difference equation,
We can also write an LDE for the "error",
The LDE for the Crane position error is easily derived by subtracting the crane model equation from the equation
In deriving the error equation, notice that we have used a small trick, adding and subtracting
Natural frequencies are innate to a system, so are invariant to changes in variables. For example, the nature frequency of the first-order LDE describing the feedback-controlled crane,
The points in the plot below are the natural frequencies for different gains in the Crane system. Note that the plot shows the natural frequencies as points in the complex plane (x-axis for real, y-axis for imaginary), even though they are real for first-order systems. As we will see once we start examining second-order systems, natural frequencies are the roots of a system-specific polynomials, and are general are complex. Also, we refer to the plots like Figure 3 as a root-locus plots, because the curves in the plots are formed from the "locus" of roots of the polynomials generated by sweeping a system's feedback gain from zero to infinity. Finally, root-locus plots for discrete-time systems often explicitly denote the unit circle

The arrows in the red curve of Figure 3 show the path of the natural frequency with increasing gain. As the plot shows, with increasing gain, the natural frequency moves from close to one, towards zero, then towards negative one, and finally outside the unit circle. The step responses for the system, in Figure 4, show the same trend with increasing gain. As the gain rises, the transient becomes faster and faster as the natural frequency approaches zero, and when it passes zero and becomes negative, the step response becomes oscillatory. For even larger gains, the system becomes unstable.

Most fused-filament 3-D printers "print" by extruding melted plastic filament through a temperature-controlled nozzle, like the one on the 3-D printer "hot-end" shown below. Along with the nozzle, the "hot-end" includes a heater, a temperature sensor, and large metallic "heat sink". The heat sink conducts heat away from the filament path, and insures that the high nozzle temperature will not lead to melting of the plastic filament before reaching the nozzle. Keeping the nozzle at a fixed high temperature given the high rate of heat conduction is a challenging problem, particularly given the variability in ambient room temperature.

Suppose we wish to design a feedback control system for the hotend, one that keeps the nozzle at

A simple model relating the voltage on the heater to the nozzle temperature can be derived by relating the net heat flowing into the nozzle to the rate at which the nozzle temperature changes. Assuming the nozzle heater is lossless, the heat it generates is equal to the applied electric power, which in turn is equal to the product of heater voltage and electric current. And since the electric current is equal to the heater voltage divided by its resistance, the applied power, and therefore the generated heat, depends quadratically on voltage. That is,
Heat flows into the nozzle from the the heater, but also flows out from the nozzle, conducted by the heat sink into the external environment. Conductive heat loss is typically proportional to the difference between nozzle and ambient (or external environment) temperature, as in
If we are sampling the nozzle temperature every
If the heater voltage is held constant at
Suppose we are designing a control system that adjusts heater voltage to maintain a specified, or desired, nozzle temperature,
A short digression: In our thermal example, there is only one nonlinearity, the quadratic relation between voltage and heat generation. Linearizing in this case is therefore equivalent to replacing the quadratic voltage-heat relation with its first-order Taylor series expansion. But are we justified in dropping the second-order term in the Taylor series? That is, will our analysis of a linearized model accurately predict the behavior of the nonlinear system? In general, the answer is an unequivocal..maybe. But if the system is first order, and if the linearized system's natural frequency is strictly less than one in magnitude, and if the system is never perturbed too far from the linearization point, then yes. We will use linearization in this class quite often, but a comprehensive treatment of its limitations is both fascinating and well beyond our scope.
Back to deriving the linearized LDE. To start, we will use lower case letters to denote the perturbations from steady state. That is,
Assuming the pair
Uhm, well, perhaps our statement "we can use first order Taylor expansions to write an LDE relating perturbed quantities..." was a little glib, and we should look at the steps involved. We can start by subtracting
Are the rest of the steps clear? If so, what are
In our temperature model, the terms involving temperature where all linear. Does that explain why