Other Parts Discussed in Thread: TIDM-1000, C2000WARE
Hello,
I'm working on 3 phase rectifier project. And I am tring different control loops. My last control loop scheme has been added as a picture. But i have some questions.
Calculation 1 -> I get the phasse angle the grid.
Calculation 2 -> This is PI loop for DC capacitor.
Calculation 3 -> Here , I rectify the signal which is multiplication of PI loop output and grid voltages.
Calculation 4 -> I compare measured and rectified Current and result of calculation 3 after that i get the value of comparison which are 0 and 1. Than i apply the result of calculation 4 to IGBT by using the result of calculation 1 for apply the correct transistor.
I have explained my control loop briefly above.Simulation results are good. But I encountered some challenges when applying control loop in microontroller.
Question 1 -> My calculation 4 results are binary already. How could I drive IGBT in the right cycle of grid by using PWM module ? Because it seems easier to set up GPIO. How should i set up PWM module ?
Question 2 -> Control loop results are satisfying. But is it appropriate in practice ? Is there any other method you can recommend ? Especially for current loop ?
Question 3 -> My control loop is 20 khz and I am reading all ADC in this frequency than i calculate all operations about control loop in this duration. Is it too fast ? Should I read and calculate the PI and DC Capasitor in 10 Hz. Would it be benefitial for results ?