|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
|||||
|
|||||
|
Re: Jaguar current sensing technical details?
Actually, I'd look move to pages 8 and 9 of the data sheet, on "Accuracy variations as a result of Vsense and common mode voltage".
This amp is apparently most accurate at sense voltages >20mv. Which equates to 20A for us. There's 3 operating cases in this range, and we're not in the worst... So it could be worse? I've attached a snapshot of an example graph. What it boils down to is that the amp goes non-linear below 20mv, and eventually lands on some positive offset voltage at the output, instead of zero. They state the worst case zero offset at the output is 300mv. It looks less linear the closer you get to 0 Vsense, so that's exciting too. Oh yeah. And both Jags record a zero offset for the current ADC on power up, and then subtract that from current readings forever after. So if you end up with the worst case 300mv offset, then your readings above 20A will read 15A low. We're probably not getting this worst-case scenario, but that's obviously going to affect the accuracy of ALL the current readings. Better might be to just assume/hope that you have little absolute error in the ADC, and just use the zero offset as a linear correction below 20mv Vsense. Maybe FIRST will let us modify the Jag firmware this year? Yeah, you're right. That's never gonna happen. |
|
#17
|
|||
|
|||
|
Re: Jaguar current sensing technical details?
But TI can modify it. Perhaps you could submit the change to them. Bonus points for sending code with the request.
|
|
#18
|
|||||
|
|||||
|
Re: Jaguar current sensing technical details?
Oh certainly. I'll probably try playing with some of our jags sometime this season or after and see how trustworthy the current sense is and how good a fix my proposal is. My only concern would be that I'll be modifying the reference firmware and this all might not apply to the FRC firmware. I'll have to see if they're willing to release that source code to interested parties.
|
|
#19
|
||||
|
||||
|
Re: Jaguar current sensing technical details?
Where did you find this datasheet? It's certainly not the INA193AID one I attached.
|
|
#20
|
|||||
|
|||||
|
Re: Jaguar current sensing technical details?
Kevin,
The reason for the non linearity is the device's inability to drive the output to zero volts. The specification is for a minimum of 3 mV typical but can be as high as 50 mV. The TI datasheet on page 4 has a very descriptive curve showing the errors. In applications where minimum errors are needed, designers would usually add a biplolar power supply to allow driving to zero volts. http://pdf.chinaicmart.com/3AI/INA193AIDBVR.pdf |
|
#21
|
||||
|
||||
|
Re: Jaguar current sensing technical details?
Quote:
I could not edit my earlier post in this thread to reflect this new information, so I am attaching an updated image here. Also, there's an error in the Tan Jag image. The blue line should be shown going through the Q10,11,&12 FETs, not their Zener diodes. Last edited by Ether : 07-01-2011 at 15:22. |
|
#22
|
|||||
|
|||||
|
Re: Jaguar current sensing technical details?
First, here's the datasheet I'm working from. The latest and greatest from TI itself:INA193 datasheet
I see the note about the swing range of the output, but there's additional notes just above that and on page 8 and 9 that declare the output bottoms out at 300mV typ. Perhaps the 300mV thing isn't the dominant issue and it really will swing down to 3mV with increased error. It's kinda hard to decide, which all the more inclines me to just empirically test the thing. |
|
#23
|
||||
|
||||
|
Re: Jaguar current sensing technical details?
Quote:
Quote:
Above 20A, then, this current measurement is incredibly accurate; within %0.001 if your battery is at 11.5v or greater. Quote:
Wait a minute. Where did you get the 15A? I see 0.3v on the graph, which equates to 30A. |
|
#24
|
|||||
|
|||||
|
Re: Jaguar current sensing technical details?
Quote:
Again, this is all kinda theoretical. I'd really like to check it all with an actual amp meter. After all, they note the 300mV on the output as a worst case. |
|
#25
|
||||
|
||||
|
Re: Jaguar current sensing technical details?
Quote:
You're right according to the 20V/V spec on the datasheet, but the graph shows 100V/V. (At 20mV input, it says there's a 2V output) It appears this datasheet conflicts with itself. EDIT: Would you say a Fluke 179 would work for measuring current? Or would you prefer a 0.01 ohm current shunt with analog meter? Last edited by kamocat : 07-01-2011 at 18:49. |
|
#26
|
|||
|
|||
|
Re: Jaguar current sensing technical details?
Quote:
In my experience, that's very unlikely. |
|
#27
|
|||||
|
|||||
|
Re: Jaguar current sensing technical details?
[quote=kamocat;992566]
You're right according to the 20V/V spec on the datasheet, but the graph shows 100V/V. (At 20mV input, it says there's a 2V output) [quote] The graph(s) is data for three different devices. You have to be careful to look at the 193 (20v/V) graph only. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Motor speed sensing with the Jaguar motor controller? | mminutto | FRC Control System | 5 | 13-01-2009 18:13 |
| Technical Details for the IR sensor board | tuzzer | Electrical | 1 | 19-01-2008 08:38 |
| Sensing current and/or voltage drop??? | archiver | 2001 | 3 | 23-06-2002 23:21 |
| StangSense: WildStang's Current Sensing System | Dave Flowerday | Technical Discussion | 12 | 05-04-2002 07:40 |