Hi,
I am analysing the control loop and i can't find the unit of Umin and Umax in the following.
Is it in rad ? Is it a phase shift limit?
thank you,
Vincent Beaulieu-Gagnon
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.
Hi,
I am analysing the control loop and i can't find the unit of Umin and Umax in the following.
Is it in rad ? Is it a phase shift limit?
thank you,
Vincent Beaulieu-Gagnon
Hi Vincent,
Umin and Umax are saturation limits for the PI controller. In the case f the TIDA-010054 Lab 4 with closed current loop these are the phase shift limits in pu.
1pu = 360 degrees or 2pi rad.
Please find more information in the DCL User'S Guide:
https://dev.ti.com/tirex/explore/node?node=A__AJWaWA2Sb64MnpYgHjEPPQ__c2000ware_software_package__gYkahfz__LATEST
Best regards,
Andreas
Hi Andreas,
Thank you for the fast reply.
I have another question.
I am trying to make a parrallel PI structure. Is there a library to use an integrator in CCS?
Are is it possible for you to show me an exemple of integrator? I found exemple on the internet, but it look too simple...
Here error = setpoint - feedback;
There must be an integrator in (DCL_runPI_C6), can you explain it to me?
thank you for the great support,
Vincent Beaulieu-Gagnon
Hi Vincent,
DCL_runPI_C4 is a function for parallel PI structure. I do not think we have one only with integrator.
Thanks and regards, Pawan
Hi Pawan,
There is nothing for me in C4, it's going to externe.
Thank you,
Vincent Beaulieu-Gagnon
Vincent,
Did you try using our PI function with Kp=0? That would essentially serve as an integrator.
Thanks,
Sira
Hi Andreas,
I can't find the sampling frequency used for DAB_vSecSensed_pu. Can you help me find it?
thank you
Vincent Beaulieu-Gagnon
HI Vincent,
All control loop relevant measurements are sampled with the switching frequency. So with 100kHz.
They are read out at the beginning of DAB_runsISR1() with the DAB_readSensedSignals() function.
Best regards,
Andreas
Hi Andreas,
So the sampling frequency is 100 kHz. I am trying to understand how it's done?
Here is the road i used. But i can't find the line that define the sampling frequency to 100 kHz.
Also what is (DAB_VPRIM_ADC_ACQPS_SYS_CLKS 40)?
thank you
Vincent Beaulieu-Gagnon
Hi Vincent,
The ADC is setup in the DAB_HAL_setupADC() function.
In this function the ADC Module, ADC Channel, ADC start of conversion, ADC trigger and the ADC acquisition time is defined
As a trigger source the EPWM module1 which is used for the first leg on primary side is used. That's why its 100kHz.
This is done in DAB_HAL_setupTrigForADC().
DAB_VPRIM_ADCREAD is the macro to read out the ADC Results register at the correct spot.
DAB_VPRIM_ADC_ACQPS_SYS_CLKS is the number of cycles for acquisition. This is the time how long the sample and hold capacitor inside the ADC module is charged for, before conversion is started.
I hope this helps.
Best regards,
Andreas