5. Develop and Test Controllers

The VAV_MVCL system configuration implements the layered Model+View+Control testing architecture for the HVAC example.
Currently, this configuration is set up only to test the closed-loop control of the damper valve position, using instances of the REGRESS and DAMPER_CTL function block types. These are located in the DAMPER.CTRL resource along with the necessary auxiliary computation and communication blocks.
In this example, the SP (setpoint) output of the FACEPLATE type is used as the SP input of a DAMPER_CTL block. In a complete example, a cascade control arrangement would be used, where the FACEPLATE.SP output would be used as the SP input of a FB_PIDR instance, whose XOUT variable would serve as the SP input of the DAMPER_CTL block.
The DAMPER.HMI resource utilizes an instance of the composite REGRESS_OUT function block type to provide the HMI elements necessary to display the outputs of the REGRESS function block instance, as well as the SP input and OPEN/CLOSE outputs of the DAMPER_CTL instance.
The color coding of the traces on the RECORDER device are as follows:
Color Variable
blue Damper inlet air temperature (blue slider)
yellow Zone (room) temperature
cyan Outside air temperature (yellow slider)
green Damper air flow sensor value
The recorder traces below show the result of shifting the damper flow set point from approximately 50% to 28% of full scale.
Last updated: 2011-01-19.
©2011 Holobloc Inc.
Licensed under the Academic Free License version 3.0.