Author Topic: LTC4365 resistor values  (Read 10901 times)

0 Members and 1 Guest are viewing this topic.

Offline qrperTopic starter

  • Contributor
  • Posts: 13
  • Country: us
LTC4365 resistor values
« on: April 26, 2017, 08:16:20 pm »
Gang....

I guess my old high school math is lacking. I'm unable to come up with the three necessary values to use with the Linear LTC4365.

I have the SPICE model working, and I've been tossing values in it all day long.

The required over voltage set point would be 15V and the low voltage set point 11.5 V.

Quick frankly, I don't know why Linear had use the examples of 18 and 3.5 with a 12V source. But then again.... who knows?

I can set the OV setpoint, but when it comes to LV set point, I'm not even close.

so, does anyone what to help a guy with a few numbers?

Many thanks

mike
 
The following users thanked this post: Level42

Offline MagicSmoker

  • Super Contributor
  • ***
  • Posts: 1408
  • Country: us
Re: LTC4365 resistor values
« Reply #1 on: April 26, 2017, 10:21:28 pm »
Attached is a snippet of a window comparator circuit I use for OV/UV lockout based on TI TPS3700. I didn't check the LTC4365 datasheet very carefully, but I did notice it uses a 0.5V reference, so the 0.4 in my equations would need to be changed to 0.5. See if they work for you and then let us know the result, as all too often around here we get drive-by problems, so to speak.

edit: bay -> by
« Last Edit: April 26, 2017, 11:03:56 pm by MagicSmoker »
 

Offline qrperTopic starter

  • Contributor
  • Posts: 13
  • Country: us
Re: LTC4365 resistor values
« Reply #2 on: April 26, 2017, 11:02:30 pm »
That's close.... running the spice, the low voltage kicks in a 12 V

I'll diddle with the values a bit more.

Is it me or does this seem a bit much to calculate a few resistors

Mike
 

Offline MagicSmoker

  • Super Contributor
  • ***
  • Posts: 1408
  • Country: us
Re: LTC4365 resistor values
« Reply #3 on: April 26, 2017, 11:06:38 pm »
That's close.... running the spice, the low voltage kicks in a 12 V

I'll diddle with the values a bit more.

Is it me or does this seem a bit much to calculate a few resistors

Mike

Well, now you know why I put the equations in the schematic, because I got tired of re-deriving them every time I need this kind of OV/UV lockout!



 

Offline digsys

  • Supporter
  • ****
  • Posts: 2209
  • Country: au
    • DIGSYS
Re: LTC4365 resistor values
« Reply #4 on: April 27, 2017, 12:40:50 am »
Quote from: MagicSmoker
....  I use for OV/UV lockout based on TI TPS3700 ...
I also use that comparator, with 2+ in series, with up to 5 windows. Just made up an EXCEL spreadsheet, all the complex formulas plugged in, and now I can easily change resistors / or voltages
and instantly see the values change. In one case, I even linked a chart.  Use the tools Luke, use the tools !! :-)
Hello <tap> <tap> .. is this thing on?
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19494
  • Country: gb
  • 0999
Re: LTC4365 resistor values
« Reply #5 on: April 27, 2017, 08:23:42 am »
Here's a handy tool which can help you select resistor values for a potential divider, given the input and output voltages.
http://sim.okawa-denshi.jp/en/teikokeisan.htm
 

Offline qrperTopic starter

  • Contributor
  • Posts: 13
  • Country: us
Re: LTC4365 resistor values
« Reply #6 on: April 27, 2017, 04:26:08 pm »
Quote from: MagicSmoker
....  I use for OV/UV lockout based on TI TPS3700 ...
I also use that comparator, with 2+ in series, with up to 5 windows. Just made up an EXCEL spreadsheet, all the complex formulas plugged in, and now I can easily change resistors / or voltages
and instantly see the values change. In one case, I even linked a chart.  Use the tools Luke, use the tools !! :-)

If I buy you a beer and a cheeseburger, would you send me the excel file?

Mike
 

Offline digsys

  • Supporter
  • ****
  • Posts: 2209
  • Country: au
    • DIGSYS
Re: LTC4365 resistor values
« Reply #7 on: April 27, 2017, 11:39:51 pm »
Quote from: qrper
... If I buy you a beer and a cheeseburger, would you send me the excel file? 
:-) I can't give you my equations, as they are part of our products, but I can push you in the right direction -
If you google search - "BQ24450 calculations" - Which uses a similar resistive divider PITA chain :-) , one guys formula is at - oliver.st/blog/quick-calculator-for-bq24450-lead-acid-charge-controller/
Which is where I started. There are also other formulas for that IC, which we also use with the series battery stack, hence the complicated requirement.
One more hint - SET a FIXED current for your string, eg 10uA / 20uA, and derive the formulas from that. It actually becomes a piece of cake once you have 1 fixed reference. See how you go :-)
Edit: another formula
https://e2e.ti.com/cfs-file/__key/telligent-evolution-components-attachments/00-179-01-00-01-32-75-90/correct-BQ24450EVM-Battery-Charging-Calculations.xlsx
« Last Edit: April 27, 2017, 11:41:53 pm by digsys »
Hello <tap> <tap> .. is this thing on?
 

Offline Dave

  • Super Contributor
  • ***
  • Posts: 1352
  • Country: si
  • I like to measure things.
Re: LTC4365 resistor values
« Reply #8 on: April 28, 2017, 12:40:45 am »
You know, there's a reason why IC manufacturers provide datasheets... :palm:

They even go as far as showing an example calculation for the mathematically challenged.
<fellbuendel> it's arduino, you're not supposed to know anything about what you're doing
<fellbuendel> if you knew, you wouldn't be using it
 

Offline digsys

  • Supporter
  • ****
  • Posts: 2209
  • Country: au
    • DIGSYS
Re: LTC4365 resistor values
« Reply #9 on: April 28, 2017, 02:36:08 am »
Quote from: Dave
You know, there's a reason why IC manufacturers provide ... They even go as far as showing an example calculation for the mathematically challenged.
Yeah thanks, I must have been too dumb to understand them :-) attitude issue?
Hello <tap> <tap> .. is this thing on?
 

Offline qrperTopic starter

  • Contributor
  • Posts: 13
  • Country: us
Re: LTC4365 resistor values
« Reply #10 on: April 28, 2017, 02:35:23 pm »
Quote from: qrper
... If I buy you a beer and a cheeseburger, would you send me the excel file? 
:-) I can't give you my equations, as they are part of our products, but I can push you in the right direction -
If you google search - "BQ24450 calculations" - Which uses a similar resistive divider PITA chain :-) , one guys formula is at - oliver.st/blog/quick-calculator-for-bq24450-lead-acid-charge-controller/
Which is where I started. There are also other formulas for that IC, which we also use with the series battery stack, hence the complicated requirement.
One more hint - SET a FIXED current for your string, eg 10uA / 20uA, and derive the formulas from that. It actually becomes a piece of cake once you have 1 fixed reference. See how you go :-)
Edit: another formula
https://e2e.ti.com/cfs-file/__key/telligent-evolution-components-attachments/00-179-01-00-01-32-75-90/correct-BQ24450EVM-Battery-Charging-Calculations.xlsx

Ah, no problem. I was worried about how to package a cheeseburger for the mail.
 

Offline qrperTopic starter

  • Contributor
  • Posts: 13
  • Country: us
Re: LTC4365 resistor values
« Reply #11 on: April 28, 2017, 02:40:16 pm »
You know, there's a reason why IC manufacturers provide datasheets... :palm:

They even go as far as showing an example calculation for the mathematically challenged.

Yeah, I know why they publish datasheets. My original post states quite simply, that the math is beyond my abilities. It's been 60 years since I've been in high school, and the numbers I come up with aren't correct when I run the LTSPICE simulation.

I guess I'm only a stupid old man that asked from some help.

 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19494
  • Country: gb
  • 0999
Re: LTC4365 resistor values
« Reply #12 on: April 28, 2017, 08:47:31 pm »
You know, there's a reason why IC manufacturers provide datasheets... :palm:

They even go as far as showing an example calculation for the mathematically challenged.

Yeah, I know why they publish datasheets. My original post states quite simply, that the math is beyond my abilities. It's been 60 years since I've been in high school, and the numbers I come up with aren't correct when I run the LTSPICE simulation.

I guess I'm only a stupid old man that asked from some help.
See the attached spreadsheet.

The V1, V2 & V3 outputs are for use with the optimum resistor finder tool I linked to previously.
http://sim.okawa-denshi.jp/en/teikokeisan.htm

V1 = 10
V2 = 0.434782608695652
V3 = 0.333333333333333

Enter them into the tool and it spits out the following values:
R1 = 4k3
R2 = 47R
R3 = 150R

Where R1 to R3 is RLOWER to RUPPER. Those values are a bit high and it's only the ratio which matters, so they can be multiplied by 100.

RUPPER = 430k
RMIDDLE = 4k7
RLOWER = 15k
« Last Edit: April 29, 2017, 09:35:42 pm by Hero999 »
 
The following users thanked this post: MagicSmoker, Level42, Mukrakiish

Offline digsys

  • Supporter
  • ****
  • Posts: 2209
  • Country: au
    • DIGSYS
Re: LTC4365 resistor values
« Reply #13 on: April 28, 2017, 11:02:41 pm »
Quote from: qrper
  ... I guess I'm only a stupid old man that asked from some help.
Don't worry about Dave, he (and some others) have a habit of belittling people who aren't as smart as they is :-). Happens pretty much in all forums.
And welcome to EEVBlog, hope this didn't put you off. If you really get stuck, I'll make you up a generic spreadsheet. Just PM me.
Hello <tap> <tap> .. is this thing on?
 

Offline qrperTopic starter

  • Contributor
  • Posts: 13
  • Country: us
Re: LTC4365 resistor values
« Reply #14 on: April 29, 2017, 09:04:22 pm »
Quote from: qrper
  ... I guess I'm only a stupid old man that asked from some help.
Don't worry about Dave, he (and some others) have a habit of belittling people who aren't as smart as they is :-). Happens pretty much in all forums.
And welcome to EEVBlog, hope this didn't put you off. If you really get stuck, I'll make you up a generic spreadsheet. Just PM me.

gang, after all these years on the planet, my skin is kinda thick. but sometimes my wagon does come out of the barn.
Thanks everyone for the help. For some reason the spice simulation doesn't seem to like the values used for the low end turn off. It became quite apparent that the way the designers made the IC, changing one resistor  value ever so slightly upsets the whole cart.

So what I did was pull the voltage dividers from the OV and LV pins. I put separate voltage dividers on each input line. I will order some of the ICs and find a carrier so I can put power to the things in real time. It also looks like a 10 turn trimmer might be needed as tolerance in even 1% resistors can really swing the outputs.

Since I don't have one here to look at, the datasheets say the footprint is a TSOT-23. Tiny little sucker!

Made up a pcb device pattern using a SOT-23 footprint to start with. According the dimensions for the pcb cad software, the one I made should be okay. We will see.

thanks everyone

mike
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19494
  • Country: gb
  • 0999
Re: LTC4365 resistor values
« Reply #15 on: April 29, 2017, 10:54:56 pm »
Quote from: qrper
  ... I guess I'm only a stupid old man that asked from some help.
Don't worry about Dave, he (and some others) have a habit of belittling people who aren't as smart as they is :-). Happens pretty much in all forums.
And welcome to EEVBlog, hope this didn't put you off. If you really get stuck, I'll make you up a generic spreadsheet. Just PM me.

gang, after all these years on the planet, my skin is kinda thick. but sometimes my wagon does come out of the barn.
Thanks everyone for the help. For some reason the spice simulation doesn't seem to like the values used for the low end turn off. It became quite apparent that the way the designers made the IC, changing one resistor  value ever so slightly upsets the whole cart.

So what I did was pull the voltage dividers from the OV and LV pins. I put separate voltage dividers on each input line. I will order some of the ICs and find a carrier so I can put power to the things in real time. It also looks like a 10 turn trimmer might be needed as tolerance in even 1% resistors can really swing the outputs.

Since I don't have one here to look at, the datasheets say the footprint is a TSOT-23. Tiny little sucker!

Made up a pcb device pattern using a SOT-23 footprint to start with. According the dimensions for the pcb cad software, the one I made should be okay. We will see.

thanks everyone

mike
It doesn't work because the formula on the data sheet, my spread sheet and that posted above are wrong! I don't have time to correct it at the moment.

I agree, it's easier to use two potential dividers! The disadvantage is higher power consumption.

Using the tool I linked to above, with V2 set to 0.5V and V1 set to 11.5V and 15V for under and over voltage, gives out the correct values. Use a trimmer pot. if you like but I wouldn't recommend it because it's a bodge. If it's possible, it's better to select the correct resistor values in the first place.

« Last Edit: April 30, 2017, 08:19:36 am by Hero999 »
 

Offline qrperTopic starter

  • Contributor
  • Posts: 13
  • Country: us
Re: LTC4365 resistor values
« Reply #16 on: April 29, 2017, 11:21:30 pm »
BASICALLY, that's what I did

I used the resistor calculator and solved for 11 in and .5 at the input of the LV divider.

Did the same for the OV input, too.

The trimmers would make it a bit easier to trim the settings. Current draw won't be an issue, considering if this works, the supply will be a high capacity (200amp/hrs) battery.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19494
  • Country: gb
  • 0999
Re: LTC4365 resistor values
« Reply #17 on: April 30, 2017, 08:30:20 am »
BASICALLY, that's what I did

I used the resistor calculator and solved for 11 in and .5 at the input of the LV divider.

Did the same for the OV input, too.

The trimmers would make it a bit easier to trim the settings. Current draw won't be an issue, considering if this works, the supply will be a high capacity (200amp/hrs) battery.
I don't know what I was thinking last night. The formula above, on the data sheet and my spreadsheet are correct.

One thing you'll notice and possibly what might have confused me, is the turn on voltages for the rising and falling side of the input ramp, are slightly different. This is because the LTC4365 has hysteresis, which is a good idea, to prevent oscillation.

« Last Edit: April 30, 2017, 12:47:11 pm by Hero999 »
 

Offline digsys

  • Supporter
  • ****
  • Posts: 2209
  • Country: au
    • DIGSYS
Re: LTC4365 resistor values
« Reply #18 on: April 30, 2017, 11:21:19 am »
I forgot to mention, how I dealt with the resistor tolerance issue -
I use 2x resistors for each Ref point. The 1st resistor is a value below calculation, the 2nd resistor isn't installed, but has a 2 pin cal connector, in which I plug 2 - 4 trimpots.
I have 2 DMMs also plugged into test points. Plug it all in, wiggle the pots, find the closest R1b / R2b / R3b value and add it. I keep a huge set of E192+ resistors.
It's perfect for a production environment, and you don't end up with a trimpot of dubious tempco / tracking.
Hello <tap> <tap> .. is this thing on?
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19494
  • Country: gb
  • 0999
Re: LTC4365 resistor values
« Reply #19 on: April 30, 2017, 01:30:22 pm »
I forgot to mention, how I dealt with the resistor tolerance issue -
I use 2x resistors for each Ref point. The 1st resistor is a value below calculation, the 2nd resistor isn't installed, but has a 2 pin cal connector, in which I plug 2 - 4 trimpots.
I have 2 DMMs also plugged into test points. Plug it all in, wiggle the pots, find the closest R1b / R2b / R3b value and add it. I keep a huge set of E192+ resistors.
It's perfect for a production environment, and you don't end up with a trimpot of dubious tempco / tracking.
If the optimum resistor values are chosen, the tolerance is fairly small.

With the values shown in my previous post.
RUPPER = 430k
RMIDDLE = 4.7k
RLOWER = 15k
Overvoltage = 14.99V
Undervoltage = 11.414V

Using 1% resistor values:
RUPPER = 165k
RMIDDLE = 1.74k
RLOWER = 5.76k
Overvoltage = 14.974V
Undervoltage = 11.5V

 
The following users thanked this post: Level42

Offline MagicSmoker

  • Super Contributor
  • ***
  • Posts: 1408
  • Country: us
Re: LTC4365 resistor values
« Reply #20 on: April 30, 2017, 02:20:21 pm »
Generally 1% resistors are sufficiently accurate when using a window comparator for OV/UV lockout. For example, the circuit excerpt I posted earlier controls the operation of a much larger dc/dc converter with an operational input range of 100-400V, while the window comparator trip points are closer to 95V and 425V so as to not run into any nuisance tripping of UV or OV lockout (and believe me, the market this product is aimed at has customers that will light up my inbox if I don't deliver better than promised specs - it's like the exact opposite of how engineers should interpret component datasheets...  |O ).

 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19494
  • Country: gb
  • 0999
Re: LTC4365 resistor values
« Reply #21 on: April 30, 2017, 04:22:33 pm »
Generally 1% resistors are sufficiently accurate when using a window comparator for OV/UV lockout. For example, the circuit excerpt I posted earlier controls the operation of a much larger dc/dc converter with an operational input range of 100-400V, while the window comparator trip points are closer to 95V and 425V so as to not run into any nuisance tripping of UV or OV lockout (and believe me, the market this product is aimed at has customers that will light up my inbox if I don't deliver better than promised specs - it's like the exact opposite of how engineers should interpret component datasheets...  |O ).
I concur. There's no need for precision components or trimmers. I'd even say 5% is good enough for a voltage cut-off circuit, where you ordinarily want to keep the voltage a good 10% away from either extreme, to avoid nuisance tripping.
 

Offline digsys

  • Supporter
  • ****
  • Posts: 2209
  • Country: au
    • DIGSYS
Re: LTC4365 resistor values
« Reply #22 on: May 01, 2017, 07:03:04 am »
Quote from: Hero999
I concur. There's no need for precision components or trimmers. I'd even say 5% is good enough for a voltage cut-off circuit, where you ordinarily want to keep the voltage a good 10% away from either extreme, to avoid nuisance tripping. 
And for most situations, that may be quite true, but since the OP asked about tolerances, I offered a solution. He may well have been content with 1-5%
This is my setup - During cal / setup, insert the service PCB, and run all the relevant tests required, including sweeping the Input voltage ranges. Quite nifty :-)
Hello <tap> <tap> .. is this thing on?
 

Offline MagicSmoker

  • Super Contributor
  • ***
  • Posts: 1408
  • Country: us
Re: LTC4365 resistor values
« Reply #23 on: May 01, 2017, 11:37:50 am »
And for most situations, that may be quite true, but since the OP asked about tolerances, I offered a solution. He may well have been content with 1-5%
...

The OP specified a voltage window of 11.5V to 15V, so 1% resistors at each position in the divider should suffice.

 

Offline qrperTopic starter

  • Contributor
  • Posts: 13
  • Country: us
Re: LTC4365 resistor values
« Reply #24 on: May 09, 2017, 07:09:57 pm »
gang,

I received my supply of LTC4365 ICs.

I know what size the footprints are, but when you see the part in real time.

Damn! That thing is tiny.

Mike
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf