You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

180 lines
7.5 KiB

5 years ago
  1. \documentclass[11pt]{article}
  2. %Gummi|065|=)
  3. \usepackage{graphicx}
  4. \usepackage{caption}
  5. \title{\textbf{BatteryMonitorBoard}}
  6. \author{Steak Electronics}
  7. \date{}
  8. \begin{document}
  9. \maketitle
  10. \tableofcontents
  11. \section{Overview}
  12. \section{Chip Hunting}
  13. Need to find a chip for battery charging. Some sheets have been saved. I looked at TI primarily. Though considered one AD/LTC. BQ2954 is out of the question as its too complex in its application circuit. THe BQ2000 is a 8 pin DIP and seems like a good start. That will cover nicad/nimh, and lithium batteries.
  14. Though the BQ2000 is a bit of a mess as well. Data sheet has a complex circuit. There is a simpler one here:
  15. http://www.ti.com/lit/pdf/sluu007
  16. and
  17. https://electronics.stackexchange.com/questions/95970/how-to-use-battery-charge-controller-bq2002n
  18. Regardless of the contents of that post, the fact is, the chip requires a lot of stuff.
  19. https://www.st.com/content/ccc/resource/technical/document/datasheet/df/b9/e6/5b/ec/92/45/ed/CD00132951.pdf/files/CD00132951.pdf/jcr:content/translations/en.CD00132951.pdf
  20. This chip: stc4054, is extremely simple. Limited to 1 lithium cell (so only 4.2 volts max) but application circuit is lean, and it has a shutdown pin, so you can turn off the charger. Price is the cheapest as well, at 1.50 for 1.
  21. That looks hopeful. Why not multiple?
  22. Need to remember to be careful of 4.1 lithium batteries. Most chargers are 4.2, and its easy to forget that there is a difference.
  23. MCP73826 is another reasonable option. Slightly more complex, but not by much.
  24. RT9526A is also simple. Let's start with the st chip.
  25. Looks like the voltage on that pin should be between 1.2 and 2.4 in order to turn it off. Below 1.2 it is on, and monitoring current. Above 1.2 but below 2.4 it is off. above 2.4 it's putting 35ua into the battery. I think.
  26. Also like the LTC1734, which is lithium / nicad. But expensive at 3-4 dollars. Don't see any lead acid battery chargers on digi that aren't being obsoleted. There's not one. I did see some on manufacturer's pages though. Just not here.
  27. There is one microchip one (lead acid) based on a pic. App circuit is complex.
  28. AN1015 is the app note.
  29. So need a lead, and nicd charger still.
  30. Tomorrow I'd like to look at maxim. I see this:
  31. https://www.maximintegrated.com/en/products/power/battery-management/MAX1772.html
  32. But the application circuit is too much for what I want to deal with.
  33. Seems lead acid battery chargers are not as common as they must've been before.
  34. Onsemi is only lithium batteries.
  35. Mouser has only universal chargers, no lead. But universal includes lead.
  36. let's check linear. LT1510 is an 8 pin simple device. Though it's nicad and lithium only. It says it can do lead in table, but not in datasheet.
  37. lt1510 would work for nicad. data sheet figure 6 has a circuit for nicad.
  38. What about lead?
  39. lt1513 does the three main types: nicd,li-ion,lead
  40. At a cost of \$10.
  41. At digi, the bq2031 is the only lead battery chip (not multi type) that is in production. Not much choice. EDIT: actually that is not
  42. recommended for new designs either.
  43. http://www.eevblog.com/forum/beginners/mc34063-battery-charger/msg1378671/\#msg1378671
  44. Here he uses a boost regulator to power a battery. Essentially just setting the voltage.
  45. http://www.eevblog.com/forum/projects/switching-lead-acid-battery-charger-ic/msg806972/\#msg806972
  46. Here is some better advice.
  47. quote:
  48. \begin{verbatim}
  49. I'd recommend just float charging. It takes only a little longer
  50. and is easier on the batteries. You will need to limit the initial
  51. charge current to about 0.1 C (so 2 A for a 20 AH battery). The
  52. easiest way to do this is a constant current/ constant voltage
  53. power supply. Set the current limit to the desired charge current,
  54. and the voltage to the float voltage (13.8 V adjusted for
  55. temperature if needed). The voltage on the battery will slowly
  56. increase over time until it reaches ~13.8 V, then the current will
  57. slowly drop over time until it reaches nearly zero. At that point,
  58. the battery is fully charged and you can either remove the charger
  59. or just leave it on.
  60. \end{verbatim}
  61. Which is what I did with my solar battery charger, and it worked well. So I suppose there is no need for anything more than a vreg for lead batteries. This time I will go to the recommended 13.8 instead of what I had before (around 12) and I will do the same trickle charge method. Simple. Done.
  62. May use 1512 instead. \$5 in 150 quantity. Hm...
  63. \$10 in single.
  64. That would cover lead, nicad.
  65. Will need jumpers on R1 and R2 depending on what battery type. According to data sheet, li-ion the divider is a float voltage. In nicd, it is a top limit.
  66. OK, i've decided:
  67. \subsection{Part Selection Summary}
  68. LT1512, and STC4054.
  69. For starters, I will use stc as lithium and lt as nicad / lead.
  70. this will avoid the worry of jumpers, and what not. Later I can be flexible.
  71. Now onto other parts. I need some way to monitor the current, and of course a voltage tap.
  72. Where to put current sense? I think before the battery.
  73. I should put some jumpers in, so I can isolate everything though. I dont' want to mix circuits at the start. So isolate the charger from the op amp and sense, at first.
  74. Let's go with the basic differential op amp in microchip an1332. I need a vreg supply (linear) at 15.5 volts, for the op amp, so it's above the lead battery voltage. Simplest two switchers I see are lm2577 or the mk3608. The mk is easier to use.
  75. With that we have:
  76. \begin{itemize}
  77. \item Battery charger x 2
  78. \item voltage monitor x 2
  79. \item current monitor x 2
  80. \item ethernet (using off the shelf enc modules for now, but maybe
  81. on board later).
  82. \item microcontroller (nano)
  83. \item temperature monitor (something like max6675 looks nice. can put on board, without difficulty).
  84. \item additional taps into adc, and some op amps and current shunts not populated to be used as extra current - voltage converters. At least two. Put on modular schematic.
  85. \end{itemize}
  86. I also want a general current and voltage monitor. I want
  87. to be able to watch the load on a battery, and record that as well...
  88. Perhaps that will be separate. I might want to grab some off the shelf
  89. current / voltage monitoring stuff, or just throw a few op amps with breakouts on the board.
  90. Let's build.
  91. Keep all schematics modular!
  92. \textbf{A note on lt1512 tuning}
  93. \begin{verbatim}
  94. How this is tuned:
  95. The V divider on Feedback pin
  96. determines float voltage.
  97. The R downstream of I_feedback
  98. (after 24 ohm resistor)
  99. determines current (100mV / R)
  100. See data sheet for more details.
  101. Put Simply: Set float voltage on r divider
  102. and make sure current resistor is high enough
  103. to be low current.
  104. \end{verbatim}
  105. \textbf{Calculating LT1512 vdivider}
  106. \begin{verbatim}
  107. Example calculation for R1:
  108. R1 = (R2(Vbat - 1.245) )\ (1.245+R2(0.3uA))
  109. with default R2 at 12,400
  110. Desired Vbat float of 13.8 (lead)
  111. (13.8 - 1.245) * 12400 == 155682
  112. 1.245 + (12400 * .000003) == .03720 + 1.245 == 1.2822
  113. 155682/1.2822 == 121417
  114. It would be evil for them to put 0.3uA and
  115. expect you to convert that to 0.000003A
  116. But that's what they did. At least they
  117. give an example to check.
  118. Five zeros on that.
  119. \end{verbatim}
  120. Based on the vdivider, what you are seeing is for high voltages, with R2 being the recommended 12.4K, is R1 150K at ~13, R1 220K at ~9V.
  121. Some more notes
  122. \begin{verbatim}
  123. checking the given example:
  124. 41200 * (8.2 - 1.245) 286546
  125. 41200 * 0.000003 + 1.245 == 1.3605
  126. lowest possible value (1.3V charge)
  127. (1.3 - 1.245 ) * 12400 == 682
  128. (12400 * .000003 ) + 1.245 == 1.28
  129. 682 / 1.28 == 532
  130. so lowest resistor value must be 500 about...
  131. \end{verbatim}
  132. Lowest resistor would be 536. (e48 resistor)
  133. Variable resistor would be
  134. \end{document}