1 / 18

Nonlinear Fuzzy PID Control

Nonlinear Fuzzy PID Control. Jan Jantzen jj@inference.dk www.inference.dk 2013. Example : a nonlinear valve. Valve opening between 0 and 1. Nonlinear flow through valve.

xanthe
Télécharger la présentation

Nonlinear Fuzzy PID Control

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Nonlinear Fuzzy PID Control Jan Jantzen jj@inference.dk www.inference.dk 2013

  2. Example: a nonlinear valve Valve opening between 0 and 1 Nonlinear flow through valve Three steps up on the reference. The response gets worse and worse. The third response is marginally stable and the valve saturates in the upper limit (fully open).

  3. Standard nonlinearities Nonlinear systems can be mathematically unpredictable. Instead we simulate the behaviour using a number of standard blocks that model nonlinear components. The simulation will be approximate when we cannot solve the equations, but it is often good enough.

  4. Standard rule base • If error is Neg and change in error is Neg then control is NB • If error is Neg and change in error is Zero then control is NM • If error is Neg and change in error is Pos then control is Zero • If error is Zero and change in error is Neg then control is NM • If error is Zero and change in error is Zero then control is Zero • If error is Zero and change in error is Pos then control is PM • If error is Pos and change in error is Neg then control is Zero • If error is Pos and change in error is Zero then control is PM • If error is Pos and change in error is Pos then control is PB With two inputs and three fuzzy terms (Neg, Zero, Pos) for each, we can build nine rules that cover the whole state space. However, just four rules may be sufficient in many cases: rules 1, 3, 7, and 9. These avoid rules with Zero, and in that case Neg and Pos must overlap each other in order to account for mid-range values.

  5. Phase plot We have chosen one point in each quadrant Phase plane 2 1 3 Phase plot 4 Step response Trajectory of the response on the control surface Phase plane

  6. Linear and saturationsurface We have constructed four standard control surfaces. The choice of shapes was inspired by the standard nonlinearities presented earlier. We can thus study a variety of standard behaviours. A plane. The values are between -200 and 200. The surfaces are built from four rules using these membership functions. The 'saturation' surface. The four corners are in the same positions as the linear surface.

  7. Dead zone and quantizersurface There is a dead zone in the middle with almost zero control signal. The quantizer surface requires three input sets and nine rules. The 'quantizer' surface. The four corners are in the same positions in all four standard surfaces.

  8. Saturation and limit cycle These are two typical phenomena in nonlinear systems. An example of saturation in the limit of the universe. The trajectory touches the edge. An example of a limit cycle. The trajectory cycles round and round for ever.

  9. Example: unstable frictionless vehicle Force Linear equation of motion: Newton's 2. law. Acceleration Mass Design a crisp PD controller Replace it with a linear fuzzy controller Make it nonlinear (Fine-tune it)

  10. Linear FPD Same performance as the PD controller. The PD controller was hand-tuned.

  11. Saturation surface FPD The saturation surface provides tighter control around the centre of the surface. The response is more damped.

  12. FPD with squared memberships Making the surface steeper improves damping even more. In this case, at least. A very good response. They are the previous ones squared. The control signal looks highly nonlinear now.

  13. Example: nonlinear valvecompensator If u is Low then x = 4.62u If u is High then x = 0.46u + 0.543 Three steps up on the reference. The response is considerably better than without the compensator.

  14. Example: motor actuatorwith limits Motor Actuator The control signal saturates, and the integrator in PI winds up. The response is poor.

  15. Example: motor actuatorwith limits The response is considerably better with the FInc controller. It has an integrator at the end of its signal path, and it is relatively easy to limit it to the same limits as the actuator. It avoids windup.

  16. Autopilot example: mass load A train car is standing on a curved track. At t = 10 the car is loaded with 5 times its own mass. It is taken off again at t = 30. A PI controller attempts to keep the train car in place (we do not consider using the brakes for the sake of the example).

  17. Autopilot example: mass load The FInc response has a smaller dip, a smaller flare, and it avoids creeping. The PID response has a large dip, and it creeps in towards the setpoint (x = 5). This membership function is squared using Very in the rule base.

  18. Summary • The linear fuzzy performs as a PID. • We introduced three nonlinear surfaces in order to standardize. • Fuzzy can cope with some nonlinearities that PID cannot. • Human beings can read the rule base.

More Related