Application of kalman filtering in delta v

2,285 views

Published on

In this presentation we address the implementation of a scalar Kalman Filter for use in closed loop control of industrial process that is characterized by one manipulated input and one controlled parameter. A DeltaV linked composite is described that allows Kalman filtering to be used with the PID block in closed loop control. Also, information is provided on a DeltaV module that may be used to get more familiar with the Kalman filter in a test environment. The Kalman Filter composite and test module may be accessed through application exchange at the DeltaV Interactive Portal

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,285
On SlideShare
0
From Embeds
0
Number of Embeds
221
Actions
Shares
0
Downloads
63
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Application of kalman filtering in delta v

  1. 1. Addressing Control in the Presence of Process and Measurement Noise Application of the Kalman Filter in DeltaV
  2. 2. Presenters  Terry Blevins  Willy Wojsznis
  3. 3. Introduction In this workshop we address how the Kalman Filter may be applied in DeltaV to reduce the impact of process or measurement noise.  Background on Kalman filter, its use in industry  Design of digital scalar Kalman filter, enhancements  DeltaV Implementation, commissioning  Test Results, expected improvement in performance  Business Results  Summary  Where To Get More Information
  4. 4. Kalman Filtering  A paper published in 1960 by Rudolf Kálmán “A New Approach to Linear Filtering and Prediction Problems” is the basis for the Kalman Filter.  The Kalman filter uses a dynamics model, measured control input(s) and process measurement(s) to estimate the process output.  A wide variety of applications have successfully utilized Kalman filtering: – The guidance of commercial airplanes – Seismic data processing, – Nuclear power plant instrumentation, – Vehicle navigation and control (e.g. the Apollo vehicle), – Radar tracking algorithms for ABM applications – Process control
  5. 5. Kalman Filtering (Cont)  On 7 October 2009 U.S. President Barack Obama honored Kalman in an awards ceremony at the White House when he presented him with the National Medal of Science, the highest honor the United States can give for scientific achievement.  The Kalman filter has played a vital role in the implementation of the navigation systems used in U.S. Navy nuclear ballistic missile submarines, cruise missiles such as the U.S. Navy's Tomahawk missile , NASA Space Shuttle and the International Space Station
  6. 6. Implementation Challenges  The complexity of the Kalman Filter algorithm may be a barrier in implementation  Original design addressed a general multi- variant environment  Process and measurement noise covariance may not be known in many industrial application.
  7. 7. Scalar Kalman Filter  Many industrial process units are characterized by one manipulated input, U(t), and one measured process output, X(t). The scalar Kalman Filter addresses these applications and is easier to understand and implement.  The model of a liner process with one manipulated input and one measured process output may be expressed in state variable format.
  8. 8. Example - State Variable Representation A first order process may be expressed in this format where: An integration process may also be expressed in this format:
  9. 9. General Process Representation  The Kalman filter is based on the assumption that the process and measurement noise have zero mean.  Later we will see the impact of this assumption and the way the Kalman filter can be modified to accommodate a non- zero mean (common in process industry control applications)
  10. 10. Application of Kalman Filter with PID  For the case where input and output are in % of scale then h=1.  If process gain and dynamics are known then only the Kalman gain, K, must be calculated.
  11. 11. Kalman Gain Calculation  If the process and measurement noise covariance are assumed to be constant, then K is a constant.  When the measurement noise is negligible then the Kalman gain, K = 1/h  Thus, K may be implemented as a tuning parameter that is adjusted by the user (rather than being calculated)
  12. 12. Kalman Filter - DeltaV Implementation Kalman Filter
  13. 13. Kalman Filter Performance  Attenuation of process noise is provided by adjusting Kalman Gain  Process noise with non-zero mean causes an offset in predicted and actual measurement value for Kalman gain values of K<1. Kalman Gain = 1 Kalman Gain = 0.05 Offset SP PID Output Unmeasured Disturbance (Process Noise) Measurement 3% Measurement Noise Measurement Prediction
  14. 14. Modified Kalman Filter  In the DeltaV implementation, the Kalman Filter has been modified to account for noise with non-zero mean  The modified Kalman Filter includes a Proc_Sel option that allows process gain, TC, and Filter TC to be automatically set based on controller tuning Modification Option
  15. 15. Modified Kalman Filter Performance  Attenuation of process noise is provided by adjusting Kalman Filter Gain  Process noise with non-zero mean is fully addressed i.e. no off-set as observed with the standard Kalman filter Kalman Gain = 1 Kalman Gain = 0.05 SP PID Output Unmeasured Disturbance (Process Noise) Measurement 3% Measurement Noise Measurement Prediction
  16. 16. Kalman Filtering vs DeltaV PV Filtering  A test module was created to compare PID control performance (IAE and total valve travel) using the Kalman Filter vs PID with PV filtering  In this test module, measurement and process noise may be injected into the simulated process  Default Process: Gain = 1, TC = 6 sec, DT = 2 sec
  17. 17. Example – Performance Test  Kalman Gain = 0.05, filter TC =16  PID PV filter TC = 16sec, Reset = 18 sec  Process gain = 1, TC =6 sec, DT = 2 sec SP PID Output (Kalman) Unmeasured Disturbance (Process Noise) Measurement 3% Measurement Noise Measurement Prediction
  18. 18. Test Results  The test results show the modified Kalman filter provides approximately a 2X reduction in variation (as measured by IAE) over control based on PID with PV filter.  Improvement stems from the fact that when the Kalman filter is used, the PID tuning is based only on the process dynamics and gain. When PV filtering is used then the PID reset must be modified to account for the slower response seen by the PID as a result of the PV filter.
  19. 19. Applying Kalman Filtering in DeltaV  The Kalman Filter composite, documentation, a test module and plot are available through Application Exchange.  The composite and test module may be utilized in any version of DeltaV.  The documentation provides detailed information on the background, design, implementation and the test module and tend for demonstrating and testing this capability. Documentation Kalman Filter Composite Module for Testing/Demo Trend for Testing/Demo
  20. 20. Business Results Achieved  When a process is characterized by significant process or measurement noise then the kalman filter may be used with the PID to reduce variation in the controlled parameter by a factor of 2X over the application of PV filtering.  In many application the reduction in variation achieved using the Kalman filter leads to: – Less off-spec product, product may be more easily maintained within specification. – Greater throughput when production is limited by operating constraints, by operating closer to the constraint limit.
  21. 21. Summary  A DeltaV composite for the implementation of a scalar Kalman filter is freely available through the Application Exchange. The composite may be imported into any DeltaV version.  In the DeltaV implementation, the Kalman filter accounts for process noise that is characterized by non-zero mean.  The Kalman filter composite is designed to work with the DeltaV PID block. When the PROC_SEL option is selected (value of 1) , then only the user must only adjust Kalman gain.  A module and trend are available in Application Exchange that may be used to demonstrate and test the modified Kalman filter.
  22. 22. Where To Get More Information  Workshop 12-4381, Emerson Exchange 2013, Nixon and Blevins, “Control Using Wireless Measurements” (Using Kalman Filter)  E. Cheever. “Introduction to Kalman Filter”, http://www.swarthmore.edu/NatSci/echeeve1/Ref/Kalman/ScalarKa lman.html  Application Exchange, “Kalman Filtering in DeltaV – Control in the Presence of Noise”, http://www2.emersonprocess.com/en- US/brands/deltav/interactive/Pages/Interactive.aspx
  23. 23. Thank You for Attending! Enjoy the rest of the conference.

×