Speaker
Mr
Quentin King
(CERN)
Description
The converter controls for the LHC power converters was successfully based on the RST algorithm. The software included the code to calculate the RST coefficients to create a PII controller on an inductive load. In 2008 the same RST implementation was used to control the field in the PS main circuit using RST coefficients calculated using MATLAB. In 2010 the RST algorithm was extracted and refactored into a C software library that is now available under the LGPL. A test program call cctest was written under Linux to test libreg and libfg (function generation) and it provides a template for a real-time controller based on the RST algorithm. Libreg supports reference and measurement limits checking, magnet saturation compensation, current and field regulation, and voltage source and load simulation. The tutorial will present the implementation of a complete RST based converter regulation program and will show how cctest can be used to simulate regulation and as a template for the development of a controller.