NiCD - Charging circuit - Using PIC


Closed Thread
Results 1 to 17 of 17

Hybrid View

  1. #1
    Join Date
    Nov 2009
    Location
    London
    Posts
    251

    Question NiCD - Charging circuit - Using PIC

    Hi, I have a winch machine which I have modified to work with the remote instead of the its wired control box. I was hoping if someone can help me develop a charging circuit with battery low indicator & full charge indication circuit with or without PIC for the remote. I have couple of 12F676 for the job if needed.

    I have made 3 battery packs of four 1.2V (700mAH) NiCD each, so each pack has 4.8V & total current 2.1 AH for the transmitter. I have a spare nokia charger with 5.7V @ 800mA output which I am hoping to use for this purpose. So if anyone knows or have seen any circuit which puts all together, please share it.
    Thanks

  2. #2
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default Multiple Chemistry Battery Charger Solution Using MCP1631HV PIC Attach PWM Controller

    Here is Microchips AN1293, but it requires a MCP1631HV chip. Might give you some ideas though.

    http://www.microchip.com/stellent/id...pnote=en544929
    http://www.scalerobotics.com

  3. #3
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default

    How about this high efficiency charger (available in an 8-pin DIP) LT1510 - Constant-Voltage/Constant-Current Battery Charger

    Name:  LT1510.jpg
Views: 6835
Size:  46.6 KB

  4. #4
    Join Date
    Feb 2010
    Location
    USA, New England
    Posts
    164


    Did you find this post helpful? Yes | No

    Default

    Interestingly, I'm working a similar problem right now and am considering starting my own thread...

    Unless you are committed to using a PIC, take a look at the MAX 712/713. It works well enough but I think you might need a higher-voltage power supply, regardless of what you use to charge it. Several years ago (many years ago?) Melanie discouraged creating a PIC-based solution when chips such as the MAX 712 were available.

    On the other hand, there is something to "rolling your own"...

    If you are committed to using a PIC and want to keep it really simple, consider the humble LM317. NiCads are fairly forgiving in their charging (although mostly I use NiMH so that's really the impression I've gotten rather than experience), and you just need to pump them with a constant current until the voltage plateaus (i.e., stops increasing). The datasheet for the LM317, on page 18, shows an example 1A constant current source. Substitute your battery for the load, add another little regulator for the PIC, put an ADC on the top of the battery (through a voltage divider) and the rest is just programming... Read the MAX712 datasheet as an instruction for how it should operate.

    The problem I'm having is that the LM317 is throwing more heat than I am comfortable with sealed in an aluminum box. Not horrible for a lot of situations, but more than I really want to keep in my particular application.

    Hope this helps...

    Best Regards,
    Paul

  5. #5
    Join Date
    Nov 2009
    Location
    London
    Posts
    251


    Did you find this post helpful? Yes | No

    Lightbulb

    Thanks for the heads up on this guys. I think looking at the voltage measuring problem, I will go for the PIC route finally as there is a very good article from Melanie about using comparators, that even a novice like me understood easily. Also, the LED can be controlled easily and more flexibility is there down this route.

    However, this works fine when reading the voltage when it is dropping below a certain threshold.

    BUT what changes can be done to measure the voltage when the battery reaches it's full charge.

    The problem is that, once the charger is attached, the voltage reading is misunderstood by the PIC as the voltage it reads is equal to voltage from the charger, only when the charger is removed, correct reading is taken by the PIC. I was under the impression that when charger is plugged in, because of the current drain, voltage drop will be there & gradually as current will stop & voltage will rise and PIC will have correct reading. BUT the voltage drop is not that significant here. I have even tried it with sealed Lead Acid battery as well and its own charger but I face the same problem.

  6. #6
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default

    I'm not certain, but I think you need to measure the current doing into the battery.
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

  7. #7
    Join Date
    Feb 2010
    Location
    USA, New England
    Posts
    164


    Did you find this post helpful? Yes | No

    Default

    Megahertz,

    A couple of items for your consideration.

    -I think you should take a hard look at using an ADC instead of a comparator. I actually had a lot more trouble figuring out how to use the comparator than the ADC.

    -It would be helpful, for the purposes of this discussion, to sketch out at least a rough schematic of what you are trying to do.

    -To charge NiCD or NiMH battteries, you need to supply a constant current. As I understand what you describe, you are just hooking up a regulated voltage supply. That will destroy your batteries sooner or later. The LM317 I linked earlier is the heart of a constant current supply. You also need a top voltage on the power supply of at least 1.9V per cell. That means you need at least 7.6V to charge 4 cells. The 5.7V charger is not enough.

    -Lead acid batteries instead use a constant voltage to charge. The charging voltage is somewhat higher that the listed voltage, i.e. you use 14-point-something volts to charge a 12V SLA battery.

    I've started my own PIC-based charger. I haven't written code yet but I can post the basic schematic tomorrow.

    Best Regards,
    Paul

  8. #8
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    A lot of people like the Allegro hall effect current sensing devices.

    Key features:
    • Low insertion loss; power dissipation much less than shunt solution
    • Able to monitor both AC and DC currents
    • Smaller form factor than shunt and current transformer solutions
    • 5 V, single supply operation
    • Voltage isolation rating certified by TUV America
    • RoHS compliant
    The devices for 5 up through 30 amp are bi-directional, and are on a 8 pin soic.
    Name:  flipchipAnim.gif
Views: 4441
Size:  178.7 KBName:  flipchip_712typ.jpg
Views: 4175
Size:  26.2 KB

    http://www.allegromicro.com/en/Produ...rentsensor.asp
    Last edited by ScaleRobotics; - 13th October 2010 at 18:49.
    http://www.scalerobotics.com

  9. #9
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default Measuring current

    Try this 76V, High-Side, Current-Sense Amplifiers with Voltage Output



    The MAX4080/MAX4081 are high-side, current-sense amplifiers with an input voltage range that extends from 4.5V to 76V making them ideal for telecom, automotive, backplane, and other systems where high-voltage current monitoring is critical. The MAX4080 is designed for unidirectional current-sense applications and the MAX4081 allows bidirectional current sensing. The MAX4081 single output pin continuously monitors the transition from charge to discharge and avoids the need for a separate polarity output. The MAX4081 requires an external reference to set the zero-current output level (VSENSE = 0V). The charging current is represented by an output voltage from VREF to VCC, while discharge current is given from VREF to GND.

    For maximum versatility, the 76V input voltage range applies independently to both supply voltage (VCC) and common-mode input voltage (VRS+). High-side current monitoring does not interfere with the ground path of the load being measured, making the MAX4080/MAX4081 particularly useful in a wide range of high-voltage systems.

    The combination of three gain versions (5V/V, 20V/V, 60V/V = F, T, S suffix) and a user-selectable, external sense resistor sets the full-scale current reading and its proportional output voltage. The MAX4080/MAX4081 offer a high level of integration, resulting in a simple, accurate, and compact current-sense solution.

    Better still, use the LT1510 mentioned in post #3 - no PIC or programming required.
    Last edited by rmteo; - 13th October 2010 at 17:51.

  10. #10
    Join Date
    Nov 2009
    Location
    London
    Posts
    251


    Did you find this post helpful? Yes | No

    Default Thanks to all + A new thought

    I would like to thanks everyone who has contributed above. Finally, I will see if I can find MAX4080 easily where I am.

    There is one new problem, I don't know if I should start a new thread or carry on here, but I will give it a shot here first: So here I go:

    I have one Doorbell, it runs on mains 230V currently, few zeners drop the voltage after the rectifier and through 78L05 the PIC & the RF receiver get their 5 V.

    Now I would like to modify this circuit in such a way, that if there is a power cut, the system should switch onto two AA standby batteries for brief period of times (like appx 1 hour or so every few days) . Both PIC & RF receiver can work on appx 3V minimum (PIC can go down upto 2.5V). Now, these batteries are not chargeable, so no voltage should enter in them, I had a eureka moment and thought that it can be done with diodes, but the voltage drop across them makes them unsuitable as I only have around 0.6 V (new AA have appx 3.6V) appx to play with and I can't share it with the diode. Can someone think of a suitable circuit that will make this a possibility(with easily available components)?

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts