This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C2000-DIGITAL-CONTROL-LIBRARY: output range of DCL functions

Part Number: C2000-DIGITAL-CONTROL-LIBRARY

HI

What is the output range of the DF22_c1  controller and the DCL_PID_c4  controller. 
Is it between 0-1 or -1 to +1. 
Couldn't find that information in the DCL Guide.

Regards
Damith

  • Hi Damith,

    The DF22 implementation in DCL does not have a saturation function integrated. You will need to add your own saturation to the compensator output.

    For the DCL_PID_C4, the saturation value are set in the Umax and Umin variable in the DCL_PID struct. If you initialize the struct with PID_DEFAULTS, then it will be initialized to -1 ~ 1 range. But you can always update the saturation value later in your code.

    Best regards,

    Han

  • Hi Han

    Thank you for the answer.

    So it means, we doesnt need to enter normalized values to df22 or pid c4 functions.

    Is that right?.

    For example, if we want  to control a 200V 20A buck converter, we can enter those values as it is, without dividing from maximum values.

    Regards

    Damith

  • Damith,

    You are correct. Since the controllers are implemented as floating point, you can customized your input and output range. You will need to design your compensator gains accordingly.

    Han