• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Amplifiers » Precision Amplifiers » Precision Amplifiers Forum » Need suggestion for current limiting with current sensing
Share
Precision Amplifiers
  • Forum
  • Announcements
  • E2E Wiki
Options
  • Subscribe via RSS
Check out
The Signal blog
  • $core_v2_blog.Current.Name

    Handy Gadgets and Resistor Divider Calculations

    Posted 6 days ago
    by Bruce Trump
    Handy gadgets make our engineering life easier—the little...
  • $core_v2_blog.Current.Name

    Chopper Op Amps—are they really noisy?

    Posted 14 days ago
    by Bruce Trump
    Chopper op amps offer very low offset voltage and dramatically...
  • $core_v2_blog.Current.Name

    Bypass Capacitors… yes, but why?

    Posted 27 days ago
    by Bruce Trump
    Everyone knows that op amps should have power supply bypass capacitors...

Forums

Need suggestion for current limiting with current sensing

This question is answered
Konstantinos Vasileris100221
Posted by Konstantinos Vasileris100221
on Apr 11 2012 05:36 AM
Prodigy130 points

Hello

I need to make a current limiting device that senses current and depending on the value of it is controlling the duty cycle of a PWM signal.

My though is to use a differential amplifier or an instrumentation to sense the voltage drop across the sense resistor. Then the output of the amplifier will go to a gain amplifier for amplification. Finally the signal will go to an ADC, the FPGA will read ADC and with some calculation it will produce the PWM signal

Requirements

Common voltage voltage 200volts

Amps sense between 1A and 10A, accuracy is not of top priority

For differential amplifier I’m thinking of using an INA149

The part has max input offset of 1.1mV, so with 1A across a 0.01Ω resistor that’s 10% error, correct? When the Amps increase the error will reduce

The other important parameter is CMRR I have to look at. How can I calculate it for different common voltages?

 

 

I have made a draft circuit and I will start building the details later. I want to hear your opinions and suggestions for correct implementation

The Vin will be around 150 Volts not 10

 

current limit Current Shunt Current Sense
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • John Caldwell
    Posted by John Caldwell
    on Apr 11 2012 11:00 AM
    Verified Answer
    Verified by Konstantinos Vasileris100221
    Expert6440 points

    Konstantinos,

    The INA149 is well-suited for high-side current sensing with very high common mode voltages just as in your application. As you noted the CMRR of the part will affect the accuracy of your measured current. Here is an example calculation using the minimum CMRR spec at DC (over temperature) given in the INA149 datasheet for a 200V common mode:

    As you can see, this offset value will need to be considered in your error budget. However, because you are following the INA149 with a second amplifier stage, you might consider applying a small negative voltage to the non-inverting input of U2 in order to null the offset.

    There is also a frequency dependent component of CMRR that may affect your system because you are using a PWM signal. It may be wise to include some low-pass filtering after the INA149 to remove the PWM signal from the current measurement.

    Two other comments I had about your circuit:

    1. Be sure to power the INA149 from +/-11V supplies or greater as the common mode range of the part is dependent upon the power supply voltage:

    2. You might want to consider a PMOS instead of an NMOS for M1 as this will make driving the gate much simpler.

    John Caldwell

    Analog Applications Engineer

    PA Linear Apps

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Konstantinos Vasileris100221
    Posted by Konstantinos Vasileris100221
    on Apr 12 2012 06:39 AM
    Prodigy130 points

    Thanks for the suggestions John

    May I ask some additional information to proceed?

    I took some ideas from the following paper

    http://e2e.ti.com/cfs-file.ashx/__key/CommunityServer-Components-PostAttachments/00-00-40-09-40/7a_2D00_-Curr-Meas-Apps.doc

    The circuit in figure 7 shows a current measurement circuit for 200V CMV. It’s using th OPA277 as a preamp to reduce the error of the INA117 which is a good idea. I wonder how it’s connecting the OPA277 across 150V since it’s not designed for such a high CMV. Maybe this has to do with the isolated power supply? Can you explain that?

    I imagine in my case I cannot do that and I have to put the gain opamp after INA149. You suggested to use small negative voltage to reduce the error of the INA149. As far as i understand that i have to put -6mv along with the resistors for gain 10 at the inverting output to remove the 6mv error of the INA149 but then at higher currents where the error is much smaller i would have a bigger errors. Do i understand something wrong?

    For low pass filter i'm thinking a simple RC filter at the output of INA149 in order to take advantage of the high impedance input of the gain opamp. What do you think?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • John Caldwell
    Posted by John Caldwell
    on Apr 12 2012 11:19 AM
    Expert6440 points

    Konstantinos,

    Notice that the COM terminal on the isolated supply is driven by the common mode voltage. Therefore, the +/-15V terminals on this side of the isolated supply are not +/-15V with respect to ground, they are +/-15V with respect to the common mode, thus for a common mode voltage of 150V, the power supply voltage is actually 165V and 135V with respect to ground. Now we can consider the common-mode voltage of 150V as being mid-supply and the opamp functions exactly as it would for a 0V common-mode and +/- 15V supplies. The output of the OPA277 will still have an offset of 150V, which is why the INA117 is necessary to remove this offset. I don't see anything in your application that prevents you from using this approach, but you would have to include the isolated power supply.

    The suggestion in my previous post was a topology as shown below:

    Potentiometer P1 allows you to apply an offset voltage to the non-inverting terminal of the opamp following the INA149 in order to remove the error caused by the common-mode. The amount of negative voltage necessary will depend on the gain of the opamp as the voltage at the non-inverting terminal will be amplified by 1+ R3/R2 (reference designators in the above schematic). For high gains in the opamp, this approach may not be practical as it would require extremely small voltages for offset correction.

    John Caldwell

    Analog Applications Engineer

    PA Linear Apps

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Konstantinos Vasileris100221
    Posted by Konstantinos Vasileris100221
    on Apr 18 2012 08:28 AM
    Prodigy130 points

    Thanks for suggestions John.

    If I understand correctly you suggest to substract a negative voltage from the INA output in order to remove the error. In other words a zero drift like approach? But if the error is not a constant value?

    Something that I noticed from some data I collected is that the output of the INA is not linear. I give you some readings I took

    Amp

    mv shunt

    mv INA

    Difference

    0,5

    11,56

    8,98

    2,58

    1

    22,58

    18,6

    3,98

    1,5

    34,16

    28,22

    5,94

    2

    45,85

    37,94

    7,91

    2,5

    56,85

    47,53

    9,32

    3

    69,08

    57,4

    11,68

    3,5

    81,6

    66,89

    14,71

    4

    91,18

    76,25

    14,93

    4,5

    102,74

    86,15

    16,59

    5

    116,1

    95,63

    20,47

    5,5

    126,8

    105,1

    21,7

    6

    138,42

    114,65

    23,77

    6,5

    149,8

    124,14

    25,66

    7

    163,31

    133,85

    29,46

     

    As you can see the difference is increasing with the voltage drop at the shunt. Any speculations why is this happening? I haven't included an RC resistor like in figure 46 of the datasheet because Rshunt is 23mOhm

    The ina voltage was +-13 and the voltage at the shunt was 13

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • John Caldwell
    Posted by John Caldwell
    on Apr 18 2012 11:54 AM
    Expert6440 points

    Konstantinos,

    Your data makes me believe that the INA149 is not operating properly as there should not be that large of a difference between the shunt voltage drop and the output of the INA149 (especially with a common mode voltage of only 13V). One thing you should verify is that both REF A and REF B are connected to a good low-impedance ground point. If there is any resistance in either of these "legs" of the circuit it will degrade the CMRR of the part. Would you mind attaching a schematic for the circuit you are using for your current shunt measurements?

    John Caldwell

    Analog Applications Engineer

    PA Linear Apps

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Konstantinos Vasileris100221
    Posted by Konstantinos Vasileris100221
    on Apr 19 2012 01:25 AM
    Prodigy130 points

    And the board

    U1 is INA and U2 is the filter and amplifier. The bottom layer is GND and the top is isolated copper. Do you think there is a problem with the layout?

    Some notes.

    For Load i used a dummy load. 2 mosfets driven from an opamp and i was adjusting the current that they drew using a 10 pot trimmer. I was not using a common ground between the dummy load and the INA circuit (i joined commons but i didn't notice any significant variations on the data, i will give you some other data later in the day)

    The second data i measured. This time with 1 Rshunt of 0.1Ω +-5%

    Amp mv shunt mv INA mv INA com
    0,4 42,93 39,27 39,2
    0,8 85,95 79,74 79,66
    1,2 125,75 119,66 119,56
    1,6 171,85 160,25 160,19
    2 215,6 200,58 200,53
    2,4 259,3 241,12 241,09
    2,8 303,77 282,06 282,02

    Again i notice the same kind of variations when the load is increasing

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Konstantinos Vasileris100221
    Posted by Konstantinos Vasileris100221
    on Apr 20 2012 10:05 AM
    Prodigy130 points

    I'm hitting a brick wall with that INA129, changed the IC with a new one and still facing the same issues. Also tried to make it single supply with +20V , by connecting pin4 to GND and REFA & REFB together. I applied 9,978Volts to both REF's through a voltage divider from 20V supply and i got the following readings

    amp mv shunt mv INA ref Difference
    0,5 29,15 10,006 9,978 1,15
    1 57,52 10,031 9,978 4,52
    1,5 88,89 10,055 9,977 10,89
    2 116,85 10,08 9,977 13,85
    2,5 149,2 10,105 9,976 20,2
    3 179,21 10,129 9,975 25,21
    3,5 205,54 10,153 9,973 25,54
    4 241,09 10,177 9,972 36,09
    4,5 270,75 10,201 9,971 40,75
    5 304 10,226 9,97 48

    The difference is worst that dual supply

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • John Caldwell
    Posted by John Caldwell
    on Apr 20 2012 10:48 AM
    Expert6440 points

    Konstantinos,

    I just want to verify that you are measuring  mV INA directly at the output of the INA149 as the filter circuit you have drawn with the OPA2171 has the potential to add significant offset. Also, rather than measuring the shunt voltage at the shunt itself, measure the voltage directly at the pins of the INA149, this is a good way to determine if the PCB layout is affecting the measurement. 

    John Caldwell

    Analog Applications Engineer

    PA Linear Apps

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Konstantinos Vasileris100221
    Posted by Konstantinos Vasileris100221
    on Apr 23 2012 01:29 AM
    Prodigy130 points

    Exactly what i was thinking. My plan was to remove the resistor and measure the output at the INA149 to see what is wrong. I will make new measurments today and reply

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Konstantinos Vasileris100221
    Posted by Konstantinos Vasileris100221
    on Apr 24 2012 03:59 AM
    Prodigy130 points

    I changed the layout of the PCB and now it's working as it should. The voltage at the shunt and INA had a big difference with the previous layout. As it turns out the filter didn't make any real difference

    Take a look at the data

    Amp Shunt INA legs INA out
    0,5 25,57 25,49 25,4
    1 51,11 51,01 50,98
    1,5 76,7 76,53 76,4
    2 102,4 102,13 102,05
    2,5 127,62 127,35 127,39
    3 153,84 153,51 153,56
    3,5 179,3 179 178,95
    4 204,66 204,2 204,3
    4,5 229,3 228,9 229,93
    5 256,17 255,66 255,66

    Thanks for the tips John

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use