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.

INA225-Q1: Pwm signal management current sense

Part Number: INA225-Q1
Other Parts Discussed in Thread: INA225, INA240-Q1, INA128, SG3524, INA240

Hello

I am using the Ina 225 but I think that I do not know to use it with a PWM signal. As a Pwm signal the value is in the modulation and not the peak. So, i am use that I lack some knowledge.

So, please tell me, who reads this bottle in the sea, how do you manage a pwm signal with a INA225.

Thanks to all for your help

Regards

Vincent

  • Hello Vincent,

    Most amplifiers do not do well with PWM signals an the inputs as the Common Mode of the inputs vary so much and the AC CMRR are typically very low as the frequency increases.  Since the PWM has the large slew rate it includes very high frequency CM changes causing issues with some amplifiers.  Also you need the amplifier to be fast enough to recover from the CM rapid change before the signal changes.

    I would recommend looking into the INA240-Q1 which has some PWM rejection circuitry.  Two plots to consider looking at is the Common-Mode Rejection Ratio vs Frequency and Gain vs Frequency.

  • Hello Javier

    Thanks for your message. Some people told me to check a RC filter at entrance in the way to convert PWM into a DC voltage, I will do that this afternoon. What I don't undersand is why those products as INA1225 are recommended in datasheets to go with PWM circuitry. That I don't understand. 
    Regards and thanks 

    Vincent

  • Hello Vincent, 

    Be careful when using and input filter and please look at section 7.4.1 of the datasheet.and the gain error as you place a large resistor at the input.

    I understand why someone would recommend this device for the PWM application as this is one of our higher speed Current Sense Amplifiers.  I think I missed that section on the data sheet.  Can you point me to what section you are referring to?

  • Hello Javier

    I have solved my problem with a RC filter just before going to the, not the INA225 but I have changed to INA128 because of the package DIP;

    it works well IF i let IN+ FLOATING and if I enter the RC treated signal on IN-. Unbeleivable but it is like that

    If you have some explanation, welcomed. Next time, I will be a lawer than engineer, I have often the feeling to have an IQ of 43 ..smile

    Have a nice day, 

    Vincent

  • Vincent,

    I am glad you solved your issue.  Please let us know if you have any further issues.

    If you would like more explanation I would like to see a schematic to make sure I completely understand.

  • Hello Javier

    I hope that you are going well.

    I have a bad news. As you know, I have a currens sens resistor that gives 35 mV at 100 A and I am working at 100A. The signal is a PWM one at 1KHz 14 V or 28 V depending if it is a car or a truck ( automotive )

    I have made the same circuit with INA128, INA 225 and 301 but I have decided to go on the AD627. For unknow reason, and it is the same circuit ( I have a IC holder where  I replace the IC with switches ), the TI items doesn't react at all when I increase the current value.

    AD617 disadvantage is the voltage range, but maybe I will find a solution .

    If you have any understanding why TI units doesn't react, tell me, it is really strange. And the curcuit is direct,..means really simple. I place the AD627, works, I put in place any TI...nothing moves when I moves..And the gain resistor or inputs are ok as well.

    Add, I have to manage something with SG3524, but I beleive that it is not a sense subject. Otherwise, tell me.

    Regards and have a nive week end

    Vincent

  • Vincent,

    I would still guide you to the INA240 with the PWM rejection. This device is meant to deal with the rapid CM changes with PWM signals.

  • Vincent HURET said:
    it works well IF i let IN+ FLOATING and if I enter the RC treated signal on IN-. Unbeleivable but it is like that

    Pardon - but is leaving so critical an input pin 'Floating'  (now/here) deemed 'Accepted Practice?'    Hopefully this user statement has 'escaped vendor notice' - and the practice (key input allowed to Float) is NOT recommended!

  • CB1,

    I did miss the input floating.  I may have seen the solved issue and moved on.

    Vincent,

    Please send me a schematic so I can better assist.  Also I still recommend the INA240.  Also please detail the input function you are using.

  • Hello Javier and thanks

    I will listen to you and try to find an INA 240 to check. 

    To be honnest, I get the best results with an AD627 but the voltage range is too short for me. Nevertheless, it gives a good example about specifications that I need. Regarding the schematic, it is very simple design. 

    The shunt is 75 mV for 200 A, and I need to regulate at 50 A and 100A

    The pwm frequency is 1 KHz, not so much but until now the INA 225 and 301 are "blind"...

    Thanks for your help Javier, and I will isten to you regarding the INA 240

     e. 

  • Vincent,

    So you are using the AD627 to measure across the shunt resistor of 375µΩ.  Are you using that output to help regulate?  I would like to know how you connect it vs using the other INA devices that are not working for you.  

    The other INA device you mentioned should give you some result and should not be that bad.  I know the INA240 should be better as well.

  • Dear Javier. I have ordered INA240 that I will get from Mouser. I have only question, it is about the gain. Not so clear for me when I ready the data sheet. It says 20V/V;

    My signal is coming from a 50 A shunt ( 0,01875 V betwwen IN-1 and IN-2 ) and 100 A ( 0,0375 V between IN1 and IN-2). 

    Further you, what should I get as output level ?

    The power supply is 5V.

    Really not so clear. 

    I will compare it with AD627, AD626 and INA225 if it find where I put it in my lab's mess. Smile

    Regards

    Vincent

  • Vincent,

    So we do have different gain options for the INA240.  The gain of 20 the output of the INA240A1 will result in 375mV for 50A and 750mV for 100A if you connect the reference pin to GND.  You could consider the one of the other gain options depending on the full scale you want at the output.  I have completed a table of what to expect depending on the INA240 gain variant you use.  One version is not an option which is the gain of 200 because the output voltage is above the maximum supply allowed.

    Device

    Current In(A)

    Rshunt (µΩ)

    Vshunt (InPos-InNeg) (mV)

    Gain (V/V)

    Vout (V)

    INA240A1

    50

    375

    18.75

    20

    0.375

    INA240A1

    100

    375

    37.5

    20

    0.75

     

     

     

     

     

     

    INA240A2

    50

    375

    18.75

    50

    0.9375

    INA240A2

    100

    375

    37.5

    50

    1.875

     

     

     

     

     

     

    INA240A3

    50

    375

    18.75

    100

    1.875

    INA240A3

    100

    375

    37.5

    100

    3.75

     

     

     

     

     

     

    INA240A4

    50

    375

    18.75

    200

    3.75

    INA240A4

    100

    375

    37.5

    200

    7.5


    Now you are comparing our Current Sense amplifier with an Instrumentation Amplifier.  They are a little different.  This training video cover it.