[PwrCtlCmp21] Power control and compensation, step function

Program block, name / node subtype: [PwrCtlCmp21] Power control and compensation, step function

Library hierarchy: Universal functions

Family: PwrCtlCmp

Configurator

Function

Power control and compensation receives the request from "Step up/down" for more or less power as a result of the pulse "Step up" or "Step down". This directly triggers the change to the next or previous row in the profile table.

Power control then checks whether the change in row in the "profile table" has resulted in the desired increase or reduction of the currently produced output. Power control receives the feedback on input [PwrCap] on the power currently produced by the heat generators and compares it to the value in internal memory [PrPwrCap].

If the desired result is not obtained, power control changes the row until the desired increase or reduction of current power is reached.

Use of internal memory

The internal memory is used by "power control and compensation" to correct deviations from the planned increase or reduction.

The internal memory is increased by 1 kW for "Step up". At the same time, it switches to the next row in the profile table. The power of the switched-on heat generator [PwrCap] is sent back to "power control and compensation". The current row in the profile table is retained if the power is higher than the value in memory and the value from [PwrCap] is written to the internal memory [PrPwrCap]. Conversely, if the power is still less than the value in memory, it switches to the next row in the profile table until the power is greater than the value in memory.

The memory is reduced by 1 kW for "Step down". At the same time, it switches to the previous row in the profile table. The power of the switched-on heat generator [PwrCap] is sent back to "power control and compensation". The current row in the profile table is retained if the power is lower than the value in memory and the value from [PwrCap] is written to the internal memory [PrPwrCap]. Conversely, if the power is still higher than the value in memory, it is switched to the next row in the profile table until the power is less than the value in memory.

Detailed workflow using the example for "Step up"

Power control and compensation receives an impulse "Step up" on input [StepUp] from "Step up/down". Power control and compensation sends a command to the profile table to move to the next row. The stage is started for the heat generator as defined in that row.

As a result, power control receives feedback on input [PwrCap] on the new, current power produced by the heat generator. It remains on this row if the value of the newly reported, currently produced power is greater than the value in memory. This is generally true as long as the heat generator is not in fault. Power control and compensation changes to the next row in the profile table if the new, currently produced power remains unchanged. The process is repeated until the reported, currently produced power is greater than the value in memory. As soon as this is the case, the reported currently produced power is stored again and displayed as the currently produced power on output [PrPwrCap].

The profile table SELP_8MS can transmit the last row with a valid entry via its output [PrRowMax]. "Power control and compensation" receives this value at input [MaxPos] and determines the row to which further switching is allowed.

[PwrCap] and [PrPwrCap] are compared in cycles, at a cycle time of 4 seconds.

[PrPwrCap] in the internal program logic is increased by 1 kW for an impulse "Step up".

The logic requires more power due to the resulting imbalance between [PwrCap] and [PrPwrCap]. At a cycle time of 4 seconds, it sends a "Step up" impulse until [PwrCap] is greater than [PrPwrCap].

The system is balanced again and [PwrCap] is written to the internal memory as [PrPwrCap].

Auxiliary functions

The following auxiliary functions can be enabled or disabled:

  • Request for target power: An impulse on input [SetTgtPwr] deploys the function to the power specified on input [TgtPwr]. The power on [TgtPwr] is stored and steps are initiated in the profile table until the value on [PwrCap] is greater than or equal to.
  • Forced compensation: A pulse on input [TrgCmp] restores the original power on [PrPwrCap] in sequential steps, for example, due to a loss of a heat generator caused by a fault and if no [EnCmpPwrShrtg] was enabled.
  • Automatic power compensation in the event of a power shortage [EnCmpPwrShrtg]: Power shortage is detected based on input [PwrCap] and balanced by sequential steps, e.g., due to a loss of a heat generator caused by a fault.
  • Automatic power compensation in the event of a power excess [EnCmpPwrExcs]: Power gain is detected based on input [PwrCap] and balanced by sequential steps, e.g., due to manually switching on a heat generator.