1 / 50

SacMan Control Tuning

SacMan Control Tuning. Bert Clemmens Agricultural Research Service. Canal Control Problem. Balance supply with demand. Maintain desired delivery rate. Above are accomplished by Control of pool water levels which in turn requires control of pool volumes. Three Aspects of Canal Automation.

Download Presentation

SacMan Control Tuning

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. SacMan Control Tuning Bert Clemmens Agricultural Research Service

  2. Canal Control Problem • Balance supply with demand. • Maintain desired delivery rate. • Above are accomplished by • Control of pool water levels • which in turn requires control of pool volumes

  3. Three Aspects of Canal Automation • Flow control • Ability to control flow rates at key points • Feedforward control of flow rates • Ability to route known major flow changes through the canal • Feedback control of water levels • Ability to adjust to disturbances and flow rate errors with downstream water-level feedback

  4. Tuning Requirements • Gate calibration are important, but not critical when feedback control is used. We use handbook calibration or calibrations provided by operators. Nothing special! • Delay times for routing are important to transient performance. We manually adjust Manning n to match predicted and observed delay time for feedforward. • We use optimal control methods to obtain water level feedback control parameters. Canal properties are determined from simulation or on-line tests.

  5. Typical Check Structure Hardware

  6. Automata HardwareGate Position Sensor • Two Sensors • Digital Output for fine resolution of gate movement • Analog Output for coarse resolution of gate opening

  7. Optical Encoder Pulsed Output • Pulses count down to zero and motor stops 0.95 mm

  8. Calibration of gates at CAIDD • District has determined from experience, relationship between relative gate position change and flow rate change • This is assumed linear. Then they correct when flows do not balance. • Sometimes they take into account non-linearity in initial opening. • We use this calibration to determine the amount of gate movement (number of pulses) for a desired flow change. • This is programmed into the SCADA system for manual control • SacMan also considers upstream water level in determining gate position change

  9. Flow control issues • Canal headgates are often not accurate for flow measurement • Separate meter downstream can be used to adjust headgate • Downstream Water-Level Feedback adjusts for flow errors upstream • Incremental flow control allow gradual adjustment to match downstream flows • Free flow gate downstream can be used to adjust head gate

  10. If gate is close to head-gate and is free-flowing, it can be alternative measurement device

  11. Canal properties significantly affect the performance of any canal automation scheme. • pool delay times • which limits the responsiveness of the canal and thus the control possible • pool volume changes with flow rate • which influences the routing of flow changes through a canal • downstream water level response to pool volume changes over time • which influences the strength of feedback corrections to water level errors • Reflection Wave Frequency • Which is needed to avoid unstable feedback control

  12. Control Engineering Practice • Most industrial controllers use simple “Classical” control, such as PID. • So called “Modern” control theory, which uses optimization, has never caught on. • Adaptive-classical control has received more coverage in the literature. • Several simple controllers in series continues to be a difficult control problem.

  13. Optimization with State-Feedback Control of Water Levels • State-Transition Relationship • we use the Integrator-Delay Model • where, y(t) is the downstream water level at time t in response to a step change in upstream flow rate, Q, •  is the pool time delay, and • A is the pool backwater surface area.

  14. Integrator Delay Model • Time delay,  • Backwater surface area, As

  15. Integrator-Delay Model

  16. Canals under normal depth follow this model well (SRP Arizona Canal - Pool 1)

  17. State Transition Equations • Derived from integrator-delay model

  18. Optimization with State-Feedback Control of Water Levels • State-Feedback Control Law where u(k) is the control action (change in flow rate) at time step k, K is the controller gain matrix, and x(k) is the state vector.

  19. Optimization with State-Feedback Control of Water Levels • Linear Quadratic Regulator (LQR) with Penalty Function where J is the cost, e(k) is the water level error at time step k, and Q and R are penalties on the water level errors and control actions, respectively.

  20. Controller Tuning • Centralized PI-controller (with full gain matrix) can be found from solution of Riccati equation • Gradient search procedures are used to optimize other, more simple controllers, such as a series of local PI controllers

  21. Proportional-Integral Controller • We can optimally tune a PI controller with the above scheme, • provided that the state vector, x(k), is properly chosen and • when only certain elements are chosen within the gain matrix, K.

  22. Three local PI Controllers in series

  23. Expansion of simple PI controller • Additional terms are added to state vector to account for delays(as in Smith Predictor used in control theory) • Off diagonal elements allow “decoupling” and centralized control

  24. Full gain Matrix • Top version highlights PI terms • Bottom version highlights delay (L) terms

  25. Comparison of Controllers - Test 1-1

  26. Conclusions from Optimization • Series of simple PI controllers can be greatly improved upon • Adding Smith Predictor should improve controller performance for this canal • Decoupling or sending control signals to other pools should improve control • Sending information to one pool downstream and one (or more) pools upstream is a good control compromise

  27. Simulation Testing • Controllers tested with CanalCAD • Tested under tuned and untuned conditions • 12 different controllers tested for each test case

  28. Test 1-1 with NO gate movement restrictionsCentralized PI Controller (PIL-+) Change at 2 hours had feed-forward Change at 14 hours was only feed-back

  29. Test 1-1 with gate movement restrictionsCentralized PI Controller (PIL-+)

  30. Test 1-1 untuned (gate move. restr. implied)Centralized PI Controller (PIL-+)

  31. Test 1-1 untuned Simple PI Controller

  32. Test 1-1 untuned PI-1+1 Controller

  33. Test 1-1 Comparison: relative to PI+S-+

  34. Test 1-1 Comparison: LQR / PI+S-+

  35. Test 1-2 untuned Centralized PI Controller (PIL-+)

  36. Test 1-2 untuned Simple PI Controller (PI)

  37. Test 1-2 untuned PI-1+1 Controller

  38. Test 1-2 untuned PIL-1+1 Controller

  39. Test 1-2 Comparison: relative to PI+S-+

  40. Test 1-2 Comparison: LQR / PI+S-+

  41. Conclusions • Gate movement restrictions have a big influence on controller performance • Tuning to actual canal conditions can improve controller performance • Results suggest passing control actions one pool upstream and one pool downstream may be good compromise. • While optimization suggests Smith predictor always improves performance, simulation results suggest that it often doesn’t • Control with centralized PI controller comparable to traditional LQR controller

  42. Simulation results for Upper Arizona Canal when controlling entire network MPC w/ feedforward Centralized PI w/ feedforward Centralized PI w/ feedback only MPC w/ feedback only

  43. Manning n is used to adjust delay times for volume-based feedforward routing

  44. Some canal pools do not follow the ID model. They have “effectively” no delay, a backwater area, and reflection waves

  45. Influence of reflection waves Reflection waves can destabilize an otherwise stable controller Water level filtering can be used to Minimize the influence of reflection waves on control Remove transducer noise Provide Anti-aliasing

  46. Pseudo-random binary signal can be used to obtain frequency response of canal pool

  47. Bode (Frequency) Diagram can be used to design filters Resonance Peak Filter Actual Signal ID Model is straight line Filtered Signal Frequency

  48. Resulting filtered water levels

  49. Manual Supervisory Control • Standard Supervisory Control Features using iFix Dynamics from Intellution, Inc. • Added features for canal management

  50. Manual Supervisory Control • iFix allows many types of displays (CAIDD) • Screen allows incremental flow change at gate

More Related