Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #390525

Re: Todays's tronix project, LM2596 switcher as a current source

From Jan Panteltje <pNaOnStPeAlMtje@yahoo.com>
Newsgroups sci.electronics.design
Subject Re: Todays's tronix project, LM2596 switcher as a current source
Date 2015-12-22 18:22 +0000
Organization Datemas.de http://www.news.datemas.de
Message-ID <n5c4dl$v6g$1@news.datemas.de> (permalink)
References <n5bkt5$s8t$1@news.datemas.de> <n5blho014rq@drn.newsguy.com>

Show all headers | View raw


On a sunny day (22 Dec 2015 06:08:56 -0800) it happened Winfield Hill
<hill@rowland.harvard.edu> wrote in <n5blho014rq@drn.newsguy.com>:

>Jan Panteltje wrote...
>>
>>Todays's tronix project, LM2596 switcher as a current source.
>
>Hey, Jan, if you use the ADJ type of LM2596, you can simply feed its FB pin with
>your ground sense resistor, and you've got a much more simple current-regulated
>rather than voltage regulated supply.  I mean, since you were willing to lift
>the load off ground anyway.  BTW, if you want the current-sense resistor on the
>high input side of your load, add an LTC6101, very handy.

Right,
the case was I once needed 1 LM2596 3.3 V,
ebay came as 10 for a very low price.
so since then I am using these.

Sure enough now you mention that next time I will use the adjustable version.

I also want to mention that if you need to limit voltage as well, (as in the battery case),
one of those TL431 from the + output to the base of the NPN should work.

Never ever used TL431, but now 50 are on their way for 1$83 IIRC it was,
so _have_ to use those.

Since I actually need to boost too (from 18 V solar) maybe I will fiddle around a bit more.
This was actually just a test of part of a bigger thing I painted together today;
 http://panteltje.com/pub/battery_control_idea_IMG_5229.JPG

Anything can still change at this time, some resistors still need to be calculated,
not until those TL431 arrive.. And I tested those.


The 'control module' will have RS232 NMEA, and Ethernet using this ebay module:
 http://www.ebay.com/itm/170929813328
and I _just_ got enough analog inputs on the PIC 18F14K22 to monitor all cells.
AN3 according to the errata datasheet has a huge error, but can be used to monitor the shunt voltage,
in that case that error is only milli volts, and the lower impedance helps.
There are some notes ehh, well to remind myself that the pin-assignment for the ENC28J60 drive signals
on the PIC have changed (I have used that chip before and wrote a UDP stack for it:
 http://panteltje.com/panteltje/pic/ethernet_color_pic/index.html
and that works 100 % reliable now for more than a year.
So I expect no problems there.
I use software SPI, as Microchip errata also mentions broken hardware SPI on that PIC.

Anyways, the original 2N2955 current source in that drawing to be replaced by the thing in the middle.
Cell voltages is just subtraction, final calibration 2 bytes per cell in EEPROM,
set via the RS232 only once, PIC 1024 mV (or there about) reference.

Thanks for the suggestion, had not thought about that.

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Todays's tronix project, LM2596 switcher as a current source Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-12-22 13:57 +0000
  Re: Todays's tronix project, LM2596 switcher as a current source Winfield Hill <hill@rowland.harvard.edu> - 2015-12-22 06:08 -0800
    Re: Todays's tronix project, LM2596 switcher as a current source Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-12-22 18:22 +0000
    Re: Todays's tronix project, LM2596 switcher as a current source Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-12-23 13:50 +0000
  Re: Todays's tronix project, LM2596 switcher as a current source whit3rd <whit3rd@gmail.com> - 2015-12-22 13:04 -0800
    Re: Todays's tronix project, LM2596 switcher as a current source Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-12-22 21:13 +0000
      Re: Todays's tronix project, LM2596 switcher as a current source Jasen Betts <jasen@xnet.co.nz> - 2015-12-23 01:07 +0000
        Re: Todays's tronix project, LM2596 switcher as a current source Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-12-23 08:00 +0000
        Re: Todays's tronix project, LM2596 switcher as a current source Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-12-23 09:52 +0000
  Re: Todays's tronix project, LM2596 switcher as a current source Robert Baer <robertbaer@localnet.com> - 2015-12-23 17:42 -0800

csiph-web