The Controller section displays the formula used in the controller and correspondent coefficient values. The compensator type can be either Type III (VCM) or Type II (PCCM).
| Parameter | Description |
|---|---|
|
B0 |
Coefficient for Type II and Type III compensator |
|
B1 |
Coefficient for Type II and Type III compensator |
|
B2 |
Coefficient for Type II and Type III compensator |
|
B3 (for VCM only) |
Coefficient for Type III compensator |
|
A1 |
Coefficient for Type II and Type III compensator |
|
A2 |
Coefficient for Type II and Type III compensator |
|
A3 (for VCM only) |
Coefficient for Type III compensator |
|
K |
Digital controller gain Scales the controller output to consider PWM, ADC and pre-ADC scaling gain |
|
G |
Value fixed to default |
Note:
Default values for these coefficients are calculated depending on the control mode: Voltage or Peak Current (see the examples below).
- Copy coefficients – Click this button to copy the controller coefficients.
You can use them in your custom code example for VCM:
#define B0 0.680625
#define B1 -0.614837
#define B2 -0.679306
#define B3 0.616156
#define A1 1.637124
#define A2 -0.446365
#define A3 -0.190759
#define K 258.891213
#define G 1.0
or PCCM:
#define B0 1.915586
#define B1 0.052375
#define B2 -1.863211
#define A1 1.859155
#define A2 -0.859155
#define K 1.046025
#define G 1.0