Author Topic: is this correct way to current sense?  (Read 2222 times)

0 Members and 1 Guest are viewing this topic.

Offline 3roomlabTopic starter

  • Frequent Contributor
  • **
  • Posts: 825
  • Country: 00
is this correct way to current sense?
« on: January 21, 2015, 09:36:59 am »
trying to convert some spare MC33072 into current sense. the residual floating voltage (in simulation) seems to be a problem ...

while i think i have got the general idea right, could someone hint if there is a way to remove the residual 3mV?
« Last Edit: January 21, 2015, 09:38:39 am by 3roomlab »
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21671
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: is this correct way to current sense?
« Reply #1 on: January 21, 2015, 09:48:53 am »
Looks like input offset?

SPICE models are often made with a "typical max" amount of offset, so that you are reminded that it's there, even though it's not representative of an average part (which has an expected offset of zero..).

Your error due to all the resistor pairs being real resistors will be far in excess, even for very pricey ones.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline 3roomlabTopic starter

  • Frequent Contributor
  • **
  • Posts: 825
  • Country: 00
Re: is this correct way to current sense?
« Reply #2 on: January 21, 2015, 10:52:21 am »
what could i do to correct the resistor error? the few mA going thru the divider + op amp feeder?

(it reminds me of the video control "pedestal" ... lol adjust the entire setup up/down a few mV)

doesnt look like a simple add 1 resistor thingy ... an entire "pedestal" adjustment from another output op amp fix? it looks like i need to add a negative rail if i were to shift "pedestal" wise

come to think of it, it should be fine if im not going for 1mA accuracy. but was wondering ...
« Last Edit: January 21, 2015, 11:08:16 am by 3roomlab »
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21671
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: is this correct way to current sense?
« Reply #3 on: January 21, 2015, 08:23:36 pm »
You need three adjustments in total: one to vary the sense/divider ratio, to null CMRR; one to null the DC offset voltage (due to op-amp error and unbalanced leakage currents); and one to adjust overall gain (to calibrate slope).

Do your DC sweep thingy in a Monte Carlo simulation, where the resistors all have some specified tolerance.  You'll see the problem.

Since you have two sets of divider resistors, the CMRR ratio adjustment can be placed in any of them, as long as the adjustable range is give or take the resistor tolerance.  You might make one side intentionally "long", then make the other adjustable between normal, long, and twice as long (so, for 1% resistors, make the one side longer by 1%, and give the other an adjustable range of 0-2% longer).

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf