Author Topic: How to test an IR2104/2111?  (Read 3517 times)

0 Members and 1 Guest are viewing this topic.

Offline DELTA67Topic starter

  • Regular Contributor
  • *
  • Posts: 57
  • Country: fr
How to test an IR2104/2111?
« on: April 17, 2024, 05:57:41 pm »
Hi all,
I want to test the IR2104 MOSFET driver but without the mosfets. I built the circuit attached bellow.
The simulation in PROTEUS works great but the real circuit niet!!!
The frequency is about 31KHz.
I tried loading the HO and LO with 10k resistors with no success.
I've also tried with an IR2111 (which has a bit different pinout).
Please, what I'm missing?
Thanks
 

Offline DELTA67Topic starter

  • Regular Contributor
  • *
  • Posts: 57
  • Country: fr
Re: How to test an IR2104/2111?
« Reply #1 on: April 17, 2024, 06:06:35 pm »
What I've done I simply connected VB to Vcc and VS to COM (GND).

The ATtiny85 code for 31KHz PWM @ 8MHz CPU clock:

Code: [Select]
//ATtiny85 PWM in CTC  Mode

int main(){
DDRB =1<<PB0; // set  PB0 as output to enable PWM generation
TCCR0A = 1 << COM0A1 | 1 << WGM01 | 1 << WGM00;
TCCR0B = 1 << CS00; //prescaler = 1
TCNT0=0;
OCR0A=150;            //Generating PWM of 58.9% duty cycle from OC0A

while(1);
}
Dont forget to program the LOW fuse to 0xE2 (disable the divide by eight).
« Last Edit: April 17, 2024, 06:19:25 pm by DELTA67 »
 

Online wraper

  • Supporter
  • ****
  • Posts: 16871
  • Country: lv
Re: How to test an IR2104/2111?
« Reply #2 on: April 17, 2024, 06:13:19 pm »
What made you think you can connect VB to VCC?
 

Offline DELTA67Topic starter

  • Regular Contributor
  • *
  • Posts: 57
  • Country: fr
Re: How to test an IR2104/2111?
« Reply #3 on: April 17, 2024, 06:18:23 pm »
From the internal circuit I think we can do that, no?
Is there any other simple way to do the test?
 

Online wraper

  • Supporter
  • ****
  • Posts: 16871
  • Country: lv
Re: How to test an IR2104/2111?
« Reply #4 on: April 17, 2024, 06:19:33 pm »
It should work I guess but it's completely not clear what is what and at what voltage levels on scope picture.
 

Offline langwadt

  • Super Contributor
  • ***
  • Posts: 4440
  • Country: dk
Re: How to test an IR2104/2111?
« Reply #5 on: April 17, 2024, 06:22:05 pm »
What made you think you can connect VB to VCC?


why not? the drive for HO is the voltage between VB and VS
 

Offline DELTA67Topic starter

  • Regular Contributor
  • *
  • Posts: 57
  • Country: fr
Re: How to test an IR2104/2111?
« Reply #6 on: April 17, 2024, 06:32:13 pm »
it's completely not clear what is what and at what voltage levels on scope picture.
The scope pic is from SIMULATION.
HO is the Yellow trace
LO the Blue one
both at 5V/div  (Vcc is 11V).
HO is in phase with the In(put) signal as expected.
« Last Edit: April 17, 2024, 06:34:20 pm by DELTA67 »
 

Online mtwieg

  • Regular Contributor
  • *
  • Posts: 126
  • Country: us
Re: How to test an IR2104/2111?
« Reply #7 on: April 18, 2024, 04:37:19 am »
Connecting the chip like that is ok if you just want to see both gate drivers operating as low-side drivers. But that won't be capable of driving an actual half bridge, which I'm assuming is what you aim to do (otherwise there's be no point in selecting a part like this).

To properly test the high side driver, you need to connect actual transistors. To start, you should power the half bridge from a power supply with a low current limit (maybe 100mA), and no other circuits loading the bridge output, such that if you make a mistake you're much less likely to damage you components due to cross conduction.
 

Offline Andy Chee

  • Frequent Contributor
  • **
  • Posts: 692
  • Country: au
Re: How to test an IR2104/2111?
« Reply #8 on: April 18, 2024, 04:44:41 am »
If you want to test the high side driver in its floating supply configuration, you will need either differential oscilloscope probes, or use the math function on the scope.
 

Offline DELTA67Topic starter

  • Regular Contributor
  • *
  • Posts: 57
  • Country: fr
Re: How to test an IR2104/2111?
« Reply #9 on: April 18, 2024, 09:43:16 am »
I just want to test the chip is Ok or not, of course it's not the correct config to drive a high side MOSFET.
My problem it's not working where theoriticaly it does!!!
The circuit is mounted on a breadboard but I think it's not an issue because the working frequency is relatively low (31KHz).
Vcc is 11V but the IC works from 10V to 20V.
« Last Edit: April 18, 2024, 09:48:51 am by DELTA67 »
 

Online wraper

  • Supporter
  • ****
  • Posts: 16871
  • Country: lv
Re: How to test an IR2104/2111?
« Reply #10 on: April 18, 2024, 09:49:12 am »
it's completely not clear what is what and at what voltage levels on scope picture.
The scope pic is from SIMULATION.
HO is the Yellow trace
LO the Blue one
both at 5V/div  (Vcc is 11V).
HO is in phase with the In(put) signal as expected.
So you did not say at all how exactly is does not operate. Also on schematic it's not clear to what SD pin is connected.
 

Online mtwieg

  • Regular Contributor
  • *
  • Posts: 126
  • Country: us
Re: How to test an IR2104/2111?
« Reply #11 on: April 18, 2024, 11:20:41 am »
I just want to test the chip is Ok or not, of course it's not the correct config to drive a high side MOSFET.
My problem it's not working where theoriticaly it does!!!
I had assumed you were unsuccessful in testing the full half bridge circuit, but you never clarified that this test setup also isn't working. What are you observing on the HO and LO pins?
Quote
The circuit is mounted on a breadboard but I think it's not an issue because the working frequency is relatively low (31KHz).
Vcc is 11V but the IC works from 10V to 20V.
11V should be enough to exceed the chip's UVLO threshold.
What logic levels are you applying to the IN and SD pins? Note these often don't have TTL compatible inputs, best to drive them with 5V logic. If you don't want to use the SD pin, tie it to VCC.
 

Offline DELTA67Topic starter

  • Regular Contributor
  • *
  • Posts: 57
  • Country: fr
Re: How to test an IR2104/2111?
« Reply #12 on: April 18, 2024, 08:08:44 pm »
I've never said that I want to test a half bridge! I want to test the chip it self only.
as shown in the circuit joint in the 1st post, SD is tied to 5V and the INput is from an ATtiny85 uC.
What are you observing on the HO and LO pins?
No signal,  just DC.
For IR2111 I've got:
 LO 11V.
 HO 2V
« Last Edit: April 18, 2024, 09:41:03 pm by DELTA67 »
 

Offline Andy Chee

  • Frequent Contributor
  • **
  • Posts: 692
  • Country: au
Re: How to test an IR2104/2111?
« Reply #13 on: April 19, 2024, 06:35:52 am »
What are you observing on the HO and LO pins?
No signal,  just DC.
For IR2111 I've got:
 LO 11V.
 HO 2V
I'm still confused.  Your first post you attached a scope photo.  I thought that photo was from your real scope?  If so, your chip appears to be working perfectly.
 

Offline DELTA67Topic starter

  • Regular Contributor
  • *
  • Posts: 57
  • Country: fr
Re: How to test an IR2104/2111?
« Reply #14 on: April 19, 2024, 10:15:25 am »
I thought that photo was from your real scope? 
Sorry if I've not been clear on that point.
The scope picture is from the simulation on PROTEUS.
If it was from the real device then there's no need to open this thread!!!

Now I've changed the power Vcc to 14V, the chip get's very hot.
Can the uC drive directly the chip or I must use a buffer?
are these chips(IR2104/2111) cloned?
 

Online wraper

  • Supporter
  • ****
  • Posts: 16871
  • Country: lv
Re: How to test an IR2104/2111?
« Reply #15 on: April 19, 2024, 12:09:11 pm »
I thought that photo was from your real scope? 
Sorry if I've not been clear on that point.
The scope picture is from the simulation on PROTEUS.
If it was from the real device then there's no need to open this thread!!!

Now I've changed the power Vcc to 14V, the chip get's very hot.
Can the uC drive directly the chip or I must use a buffer?
are these chips(IR2104/2111) cloned?
If it's from China, there is a high chance it's fake and even could be relabeled different unrelated IC.
 

Offline DELTA67Topic starter

  • Regular Contributor
  • *
  • Posts: 57
  • Country: fr
Re: How to test an IR2104/2111?
« Reply #16 on: April 19, 2024, 03:10:22 pm »
If it's from China, there is a high chance it's fake and even could be relabeled different unrelated IC.
Yes,  I think so!
Forget it, I'll skip this project for the moment until finding a genuine chips.
Thanks for all.
 

Offline Andy Chee

  • Frequent Contributor
  • **
  • Posts: 692
  • Country: au
Re: How to test an IR2104/2111?
« Reply #17 on: April 20, 2024, 03:57:50 am »
Can the uC drive directly the chip or I must use a buffer?
Actually now that I think about it, this could be your problem.

I'm pretty sure the input PWM must swing from 0V to 11V or whatever your IR2111 is connected to.

I assume your ATtiny is only connected to 3.3V?  No wonder the IR2111 output wasn't switching!

In other words, you'll need to voltage translate the ATtiny to whatever the IR2111 is using.  ATtiny driving an open collector with pull-up, should do the trick.
 

Online wraper

  • Supporter
  • ****
  • Posts: 16871
  • Country: lv
Re: How to test an IR2104/2111?
« Reply #18 on: April 20, 2024, 09:50:56 am »
Can the uC drive directly the chip or I must use a buffer?
Actually now that I think about it, this could be your problem.

I'm pretty sure the input PWM must swing from 0V to 11V or whatever your IR2111 is connected to.

I assume your ATtiny is only connected to 3.3V?  No wonder the IR2111 output wasn't switching!

In other words, you'll need to voltage translate the ATtiny to whatever the IR2111 is using.  ATtiny driving an open collector with pull-up, should do the trick.
It basically needs to be Vcc voltage for IR2111 but IR2104 is completely fine with 3.3V or 5V logic out. Actually there is no MCU or other circuit creating switching signal required at all, as bootstrap circuit is unused you can just apply low/high level DC to its input and see if output changes.
 

Offline DELTA67Topic starter

  • Regular Contributor
  • *
  • Posts: 57
  • Country: fr
Re: How to test an IR2104/2111?
« Reply #19 on: April 21, 2024, 08:09:08 am »
I'm pretty sure the input PWM must swing from 0V to 11V or whatever your IR2111 is connected to.
Thanks for this detail !!
Yes, in fact the uC is 5V powered so it's output swings from 0V to 5V.
But the IR2104 is 3.3V compatible, I don't know why it's not working.
 

Online xavier60

  • Super Contributor
  • ***
  • Posts: 2838
  • Country: au
Re: How to test an IR2104/2111?
« Reply #20 on: April 21, 2024, 08:48:21 am »
Is there a Vcc bypass capacitor near the IC? Some driver ICs can self-oscillate and damage themselves.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Offline DELTA67Topic starter

  • Regular Contributor
  • *
  • Posts: 57
  • Country: fr
Re: How to test an IR2104/2111?
« Reply #21 on: April 21, 2024, 09:02:48 am »
Is there a Vcc bypass capacitor near the IC? Some driver ICs can self-oscillate and damage themselves.
Yes
 

Online mtwieg

  • Regular Contributor
  • *
  • Posts: 126
  • Country: us
Re: How to test an IR2104/2111?
« Reply #22 on: April 21, 2024, 02:07:52 pm »
Now I've changed the power Vcc to 14V, the chip get's very hot.
If a chip like this is noticeably warm in a test like this then it's been damaged, replace it and try again.
Quote
Can the uC drive directly the chip or I must use a buffer?
The datasheet says it's 3.3V compatible, but also gives a max VIH of 3V. IMO that makes 3.3V too marginal, 5V should be plenty though. The drive current strength of ordinary MCUs should be plenty though.
Quote
are these chips(IR2104/2111) cloned?
It's possible, but I doubt that alone explains what you're seeing. Most cloned/counterfeit chips actually do function similarly to the genuine article. At the very least they should not exhibit clear signs of damage (like self-heating in your case).
 

Offline DELTA67Topic starter

  • Regular Contributor
  • *
  • Posts: 57
  • Country: fr
Re: How to test an IR2104/2111?
« Reply #23 on: April 21, 2024, 04:17:20 pm »
you'll need to voltage translate the ATtiny to whatever the IR2111 is using.  ATtiny driving an open collector with pull-up, should do the trick.
YES, it works with the IR2111 @ 11V  and no warming, Thanks!
I've read the datasheet many times but I've never paid attention to the IN(put) level details. I thougt it's 3.3V compatible like the IR2104.
For the IR2104 I get only the LO output working with or without the level shifter.
No signal on the HO output.

 

Offline DELTA67Topic starter

  • Regular Contributor
  • *
  • Posts: 57
  • Country: fr
Re: How to test an IR2104/2111?
« Reply #24 on: April 21, 2024, 05:00:31 pm »
you can just apply low/high level DC to its input and see if output changes.
A very good idea!
Here's the results @ 11V:
1- For the IR2111:
  IN = H (11V) ===> HO = 11V,  LO = 0V
  IN = L ===> HO = 0V,  LO = 11V

2- For the IR2104  (SD=5V):
  IN = H (5V) ===> HO = 11V,  LO = 0V
  IN = L ===> HO = 2.9V,  LO = 11V
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf