@FvM
Ok. I too searched a lot for a good Vs High-Side Low-Side Driver but was not able to find it. I will revert back. I will use 6x HCNW3120 only.
I have a new question. It is regarding programming. I am using dsPIC33FJ32MC202 and mikroC PRO dsPIC Compiler. Crystal is 20 MHz. Project and Proteus file attached.
I am not getting the Signals.
When 6 channels mode is used does H and L signals will be complementary. It means that when PWM1Hx is high then PWM1Lx will be low. Does that also mean that there will be a 180 degree phase shift between the signals ?
6 signals are generated. Will the dsPIC auto generate 270 degree phase shifts between the PWM1Hx, PWM1H2 and PWM1H3 signals ? (also for PWM1L1, PWM1L2 and PWM1L3)
If the PWM1Hx and PWM1Lx doesn't have a phase shift of 180 degrees then should I implement it in the code ?
If the PWM1H1, PWMH2 and PWM1H3 signals doesn't have 270 degree phase shift then should I implement it in the code ?
I am using mikroC PRO dsPIC Compilers PWM_Motor Library.
Page 159 of dsPIC33 datasheet says it can be used for driving 3-Phase AC Induction Motor.
- - - Updated - - -
@brushhead
Why what is wrong with my latest circuit ? I am not using TLP250. I chose the right components. There will be a 10k Gate to Source resistor. A 22E gate series resistor for the IGBT. Somebody at Microchip forum had mentioned that is had used HCNW3120 opto-isolated driver for driving IGBTs for a 7.5 KW Induction Motor Driver.
Please see the attached image. I am not able to set the pair_output_mode and clock_prescale_output_postsclae parameters. Please explain it with an example. For now I just want to use PWM in 6 channel mode which are
PWM1H1
PWM1L1
PWM1H2
PWM1L2
PWM1H3
PWM1L3
Hx and Lx have to be complementary. I just want to see the 6 PWM signals on the scope.
This is the code I have written but I am not getting any signals.
Code:
PWM1_Mc_Init(10000, 1, 0x11, 0);
PWM1_Mc_Set_Duty(32767, 1);
PWM1_Mc_Start();
- - - Updated - - -
After experimenting a little with the PWM Library functions I made this code. I have a doubt with the bit value 0 / 1 which makes the Hx and Lx signals complementary. Please check the code and the image which shows the library function. See attached image which shows the signals. I am getting this signals. Are they correct.
Code:
pwm_duty = PWM1_Mc_Init(10000, 0, 0x77, 0);
PWM1_Mc_Set_Duty(pwm_duty, 1);
PWM1_Mc_Set_Duty(pwm_duty, 2);
PWM1_Mc_Set_Duty(pwm_duty, 3);
P1DTCON1 = 0xC3; //Dead Time Register
PWM1_Mc_Start();