Hi Everyone ,
I have basic question about Digital DC-DC Buck Boost converter from here :
and related files;
I will briefly summarize my question.
At ‘Sepic_new_closedloop_tune’ matlab file is a model in the loop simulation at It has dicrete PI controller and its usage and values are shown below figures,
No problem so far.
As regards ‘DC_DC_LED_Implemenatation’ file , as you know , this is a hardware in the loop interface in order to build&deploy to C2000 microprocessor(target hardware) . In this code , to get rid of calcution complexity(multiplication) C2000 math operations are used as following figure ,
And integrator block as following
According to knob(varies) parameter , PI values are below;
Proportional=min:0 max :0.1
Integral= min:0 max :0.1
I know in hardware in the loop simulation fixed data point values have used in order to not waste time and microprocessor works efficiently. But,
I didn’t understand when model in the loop simulation P=1e-3 and I=40 why these values are different in the hardware simulation (P=0-0.1)(I=0-0.1) ?
How do they 40,1e-3 values transform to small range(0-0.1) .
And what is the convertion formula ?
Is anyone has idea?
Thanks in advance for your answers.