Author Topic: ADS1115 Front End Protection  (Read 2653 times)

0 Members and 2 Guests are viewing this topic.

Offline jramTopic starter

  • Contributor
  • Posts: 17
  • Country: mt
    • Never Not Fixing
ADS1115 Front End Protection
« on: May 12, 2019, 08:26:31 am »
So I have a project to measure the cell voltages on my LiFePO4 pack.  3P4S - 540 Ah pack.  Its a real world power supply in daily use, charged from a variety of sources depending on circumstances.  Charging sources include MPPT solar (up to 900W), alternators and wind.  Loads include some really beefy DC (12V) motors the largest of which includes a 1400W motor.

The ADC (ADS1115) front end voltage divider is attached but basically divides the voltages down to a common level 1.7 V nominal) so the ADC can be used at the 2.048 level. Voltages are recalculated and scaled in software.

I've had 2 prototypes without protecting the front end and I have witnessed significant spikes in voltage when operating the motor which, on the latest prototype may have led to an ADC channel 'locking up' and requiring a power-down reboot.  I intend to implement the scheme discussed at http://eecatalog.com/medical/2015/09/01/how-to-protect-adcs-from-input-overvoltage/ but I thought I'd throw my design out there for more general (constructive  ;D ) criticism and comment as well as guidance on sizing of the protection diodes.  The referenced solution mentions BAT 5x series diodes but would a TVS be more appropriate?

So, please fire away and give me the benefit of your experience so I can refine this design.

Thank you :)
TVMIA

John
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22436
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: ADS1115 Front End Protection
« Reply #1 on: May 12, 2019, 09:21:48 am »
Diode in series..?

You probably want to avoid series diodes, and shunt shottky diodes, because of voltage drop, and leakage current, respectively.  Typical is to use zener/TVS or clamp diode (PN junction, e.g. BAV99) to limit voltage without much leakage.

Mind that zeners aren't available in sharp, accurate voltages; leakage goes up sharply at say 80 or 90% of rated breakdown, and low voltage ratings (under 6V) have terrible leakage period, so much so that they're awful even for voltage regulation purposes.

What's up with the switched common ground?  Is that to reduce current consumption?  Current still flows between taps though...

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: jram

Offline iMo

  • Super Contributor
  • ***
  • Posts: 5570
  • Country: va
Re: ADS1115 Front End Protection
« Reply #2 on: May 12, 2019, 10:24:29 am »
I would use 1N4148, their leakage is <10nA, that is at least 10x better than any schottky. With your 62uV ADC resolution and say 5nA leakage and 2k/2k divider worst case you are well below 1LSB error due to the leakage, imho.
« Last Edit: May 12, 2019, 10:26:43 am by imo »
Readers discretion is advised..
 
The following users thanked this post: jram

Online voltsandjolts

  • Supporter
  • ****
  • Posts: 2548
  • Country: gb
Re: ADS1115 Front End Protection
« Reply #3 on: May 12, 2019, 03:31:17 pm »
It's better to provide the whole schematic when asking for help.
Where is the ADC Ground? Is it connected to the source of U6?
(BTW: MOSFET designators are generally Q or T not U which is for ICs)
 
The following users thanked this post: jram

Offline Kleinstein

  • Super Contributor
  • ***
  • Posts: 15149
  • Country: de
Re: ADS1115 Front End Protection
« Reply #4 on: May 12, 2019, 05:06:32 pm »
The filtering caps should be more like behind the dividers. Even with the diodes to the supplies there should be another series resistor of some 1 K  (depends on the ADC) just before each ADC.
The application looks like it is not very high impedance or need for very high accuracy. So the 1N4148 should be OK.
 
The following users thanked this post: jram

Offline jramTopic starter

  • Contributor
  • Posts: 17
  • Country: mt
    • Never Not Fixing
Re: ADS1115 Front End Protection
« Reply #5 on: May 12, 2019, 08:39:31 pm »
Thanks to each of you for the insights. Sorry, my bad. Please find attached the full schematic.

The ADC ground passes through U6. It was a poorly considered (and, as yet unimplemented) attempt to reduce the quiescent current during non-measuring periods.

Further explanation is required for the full schematic.  The outputs from the IXDN604s are designed to drive large (500A) latching relays to isolate the battery pack from either charging or load busbars.  I allowed for 'spare' outputs. The buzzer circuit is faulty - duh!

I'll implement the recommended changes and repost in a day or so - I'm travelling at the moment in GMT +12 - thanks again!
TVMIA

John
 

Online voltsandjolts

  • Supporter
  • ****
  • Posts: 2548
  • Country: gb
Re: ADS1115 Front End Protection
« Reply #6 on: May 13, 2019, 11:28:32 am »
The ADC pins should not be driven higher than the 3V3 supply voltage. When U6 is off, battery voltage will cause current flow into the ADC pin protection diodes.
So, U6 won't save any current.
You need to use four high side switches if you must disconnect the resistor dividers.
 
The following users thanked this post: jram


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf