Other Parts Discussed in Thread: TIDM-02000
Hi,
What is the purpose of subtracting a pre-computation form of a digital compensator from the main digital compensator, such as in the examples given in DCL User's Guide.pdf (ti.com)?
The difference of the controllers is fed back to the main C file (CPU1), and I assume this would then be the result which modulates the duty cycle and/or frequency of a PWM signal in the digital compare modules. But if we are passing back to the main function the difference between two filters, is this representative of the error of the input signal, or the error between two different compensators which may be different depending on their constants?
I may need to brush up on my digital control - does having this precomputation features improve control speed/accuracy?
Or is it purely used as a way to examine the difference between two different, separate controllers - of which the user should choose the one which works best in their application - or is it best practice to always included a normal and pre-computation digital compensator for best results?
Thanks!
Joel