Download presentation

Presentation is loading. Please wait.

Published byArlene Hicks Modified over 8 years ago

1

Linearizing ODEs of a PID Controller Anchored by: Rob Chockley and Scott Dombrowski

2

Basis for Linearization Linear Approximation Taylor Series Expansion Ordinary Differential Equation

3

Real Life Example For our example, we created a real world situation. In: 3 mol/s (const) Out: Controlled by PID We are using a PID controller to maintain the tank pressure at a constant pressure of 8 atm.

4

Linearizing Our Model Our system is being controlled by a PID controller. The first equation models the differential pressure change. The second equation is the controller output. The third is the function is the first step of linearization. F(P) is equal to the combined model of the differential pressure change. Finally, the four equation is the derivative of the function f(P). This is used in the linearization model at the steady state pressure of 8 atm.

5

Model for the System The graph to the right is the model for the system. The pressure within the tank is being controlled by the valve. The valve is being throttled according to the output from the sensor. The pressure fluctuates a great deal at the beginning of the run but eventually reaches steady state at our desired pressure. Gas Flow into a Tank: Controlling Pressure using a PID Controller timestep1s V100Ltank volume T300Ktank temperature R0.08206Latm/molKgas constant nin3mol/sflow rate in F5mol/smax flow rate out ni40molinitial tank contents Pinitial9.8472atminitial tank pressure Pset8atmtank set point bias0.6 Kc0.1 Ti10 Td0.1

6

Linearization of dP/dt This graph shows the plot of dP/dt vs. P and the linear approximation from a truncated linear expansion. Because the pressure oscillated there are multiple values of dP/dt for one pressure. The linearization is not a good approximation for the behavior of the differential equation.

7

Linear Approximation behaving Like Nonlinear Function We change the coefficients within the model to create a new behavior. Here, the ratio of change in the output to the change in input is three time what it was previously, and the Integral time is 10 times than before. Here the desired pressure is reached more quickly. Gas Flow into a Tank: Controlling Pressure using a PID Controller timestep1s V100Ltank volume T300Ktank temperature R0.08206Latm/molKgas constant nin3mol/sflow rate in F5mol/smax flow rate out ni40molinitial tank contents Pinitial9.8472atminitial tank pressure Pset8atmtank set point bias0.6 Kc0.3 Ti100 Td0.1

8

Linearization of dP/dt Again For this trial the model had no oscillation so the nonlinear equations that govern the change in pressure are more easily linearized.

9

Conclusion This walkthrough and model shows that linearizing nonlinear equations is not always the best idea. The PID controller creates instances where the differential of pressure is not an independent function of one variable. Under certain conditions, however, The model can be use. These models may not occur in real life.

Similar presentations

© 2023 SlidePlayer.com Inc.

All rights reserved.