Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Driving MOSFET using PWM from PIC

Status
Not open for further replies.

farrukhtalib

Junior Member level 3
Joined
Jul 16, 2010
Messages
25
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,487
Hi,
I need to drive IRF 150 N channel MOSFET from the PWM signal produced from a PIC microcontroller. The frequency will be 1Khz. What kind of driver circuit will I need between the PIC and the MOSFET? The PIC runs off 5 volts. The MOSFET will switch 15 volts.
 

Any single MOSFET driver (Microchip TC4420, by example) should be enough.
 

Could anyone tell me how I can proceed for increasing the low voltage from the PIC to 15V for controlling an IGBT?I am using SPWM from PIC16F1936 and the IR2110(High side) and TC427(Low side),please help The IGBT I am suing are IRG4PC50FD

Thank you!!
 

I am using SPWM from PIC16F1936 and the IR2110(High side) and TC427(Low side)

Thank you!!

Why would you be using two different gate drivers when you can drive the High as well as the Low side using the IR2110 itself?
IR2110 inputs are CMOS compatible, so you don't need to increase the uC's output to 15V.

While making the connections,you need to provide 5V to VDD and 15V to VCC terminals of the IR2110.
 

The problem I have is that with PIC I generates only 3PWM while I need six,is it possible with IR2110 to input the same signal on LIN and HIN so that I obtained conveniable signals at pin1 and pin 7 for half bridge driving???

Thank you
 

The problem I have is that with PIC I generates only 3PWM while I need six,is it possible with IR2110 to input the same signal on LIN and HIN so that I obtained conveniable signals at pin1 and pin 7 for half bridge driving???

Thank you

If you give the same signal to the LIN and HIN terminals of the same IC, then you will end up shorting the Half Bridge when the input is Logic 1.

I am assuming that you would want to drive a 3-legged Inverter, and you would require the following connections to be made. NOT, EX-OR gates and 3 IR2110s would be sufficient to interface 3 PWM outputs to a 3-legged inverter (6 switches).

You would need to modulate the PWM signals in your PIC as per the phase sequence i.e. 120 degrees apart. You would require some external dead time to be generated for phases Y and B, so that your switching signals do not end up shorting any of the half bridges due the turn on/off times of the power switches.
If the PIC has the provision, you can generate the dead time internally or else you can generate it externally by referring this link. http://omapalvelin.homedns.org/electr/pwm-deadtime-gen/

 
Last edited by a moderator:

Dear pradhan.rachit,referring to the datasheet of PIC16F1936 with EECP capabilities there is a mean of creating a dead time but the problem I now have is creating the phase shift of this 120 degrees I referred to this link https://ww1.microchip.com/downloads/en/AppNotes/00889b.pdf,I saw that the entries of the Look Up Table (LUT) are 19 and the

Phase 1 starts from :9th
Phase 2 starts from :3rd
Phase3 starts from :15th number of the LUT ,I increased the entries to 61 and adjusted the phases as follows:

Phase 1starts from:30th entry
Phase 2starts from:10th entry
Phase 3 starts from 50th entry

But when simulating in proteus I get no 120 phases shifting,furthermore the 19 entries used with AN889 are from 0-90 degrees me the 60 entries used are from 0-180 degrees but when adding a Low pass filter I don`t really get an SPWM signal,I am using ASM with PIC16F1936https://ww1.microchip.com/downloads/en/DeviceDoc/41364E.pdf could you help?
on the phase shifting and that good SPWM signal?
 

But when simulating in proteus I get no 120 phases shifting

If you don't get a 120 degrees phase shift between the phases, what do you get then? Could you post a screenshot of the simulated waveform?
 

The signal are in phase and they are not sinusoidal,see the attached image,I used two oscilloscopes,one for showing the PWM signal and the second for showing a filtered wave

Thank you!!
 

Attachments

  • Simulation.png
    Simulation.png
    94.9 KB · Views: 132

120 degree phase shifted modulation required for a three phase inverter has nothing to do with the original topic of this thread.

Jean12, you are already maintaining multiple threads related to PWM generation for a three phase inverter and related problems. Please don't start new discussions about the same topic at various places, instead focus on the existing threads.

https://www.edaboard.com/threads/348652/
https://www.edaboard.com/threads/347906/
https://www.edaboard.com/threads/347789/

This thread had been already been marked as solved, I close it now.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top