Author Topic: LED status indicator  (Read 2646 times)

0 Members and 1 Guest are viewing this topic.

VinceB

  • Newbie
  • *
  • Posts: 6
LED status indicator
« on: May 11, 2007, 12:25:16 AM »
Hey guys,


I have finished the prototype of my shunt regulator, using the homepower design. The 555 timer generates a pseudo-PWM because it is used in the monostable mode. What I would like to do, is indicate the duty cycle of the said PWM using a couple of LEDs (let's say 5). Zero LED means not dumping. 1 LED = low dumping, 2 LEDs = higher.. and so on. All LEDs being light would mean around 100% duty cycle = heavy dumping.


The thing is I am not sure which way to implement it. I figured an integrator with an op-amp could do the job of providing different voltages in function of the duty cycle. Then, a few parallel branches, with different zener diodes could allow to light specific LEDs at different voltage level.... I am thinking maybe there is a simpler way of doing it, so if anyone could provide some help, it would be great!


thank you

Vincent

« Last Edit: May 11, 2007, 12:25:16 AM by (unknown) »

SamoaPower

  • Sr. Member
  • ****
  • Posts: 417
Re: LED status indicator
« Reply #1 on: May 10, 2007, 09:46:21 PM »
Take a look at the LM3914.

« Last Edit: May 10, 2007, 09:46:21 PM by (unknown) »

(unknown)

  • Guest
Re: LED status indicator
« Reply #2 on: May 10, 2007, 09:50:08 PM »
hmm, could rectify, feed a filter cap and feed the variable voltage to a bar graph display.
« Last Edit: May 10, 2007, 09:50:08 PM by (unknown) »

Flux

  • Super Hero Member Plus
  • *******
  • Posts: 6275
Re: LED status indicator
« Reply #3 on: May 11, 2007, 12:59:12 AM »
Yes the LM3914 bar graph driver should be your first choice. Download the data sheet, it has all the basic ideas for what you want. I did a crude ammeter with one some time ago for someone who wanted a wind turbine for show more than use.


Flux

« Last Edit: May 11, 2007, 12:59:12 AM by (unknown) »

VinceB

  • Newbie
  • *
  • Posts: 6
Re: LED status indicator
« Reply #4 on: May 11, 2007, 08:21:25 AM »
Cool cool! I'll have a look at it!

Sounds better than my initial idea!


thanks

Vincent

« Last Edit: May 11, 2007, 08:21:25 AM by (unknown) »

Opera House

  • Sr. Member
  • ****
  • Posts: 261
Re: LED status indicator
« Reply #5 on: May 11, 2007, 01:51:09 PM »
I think you ought to use a diode and measure the temperature of the load resistor.  For that circuit you will need an integration time of over a minute if you try to measure the voltage on the resistor.  That homepower circuit is the greatest evil since elevator music.
« Last Edit: May 11, 2007, 01:51:09 PM by (unknown) »

rossw

  • Hero Member
  • *****
  • Posts: 834
  • Country: au
Re: LED status indicator
« Reply #6 on: May 11, 2007, 05:11:41 PM »
Just thinking "outside the square" for a moment.


You have an output that goes high, stays high for a fixed period, then goes low for a variable period yes? The shorter the "low" period, the higher the dump rate.


Conceptually, then, a fairly simple counter could be used.

Reset on the falling edge, gate the count pulses while the output is low.


If you used something like a 4017, you could drive one-of-(n) LEDs.

If you don't put a led on the last output, when the "low" interval is too long, there will be no LEDs lit. Its then just a matter of picking a suitable clock speed to scale your LEDs to the dump rate.


Just my 2c worth.

« Last Edit: May 11, 2007, 05:11:41 PM by (unknown) »

wooferhound

  • SuperHero Member
  • ******
  • Posts: 2288
  • Country: us
  • Huntsville Alabama U.S.A.
    • Woofer Hound Sound & Lighting Rentals
Re: LED status indicator
« Reply #7 on: May 12, 2007, 11:34:40 AM »
« Last Edit: May 12, 2007, 11:34:40 AM by (unknown) »

commanda

  • Hero Member
  • *****
  • Posts: 731
Re: LED status indicator
« Reply #8 on: May 12, 2007, 05:17:32 PM »
If you're going to use an LM3914, why not lose the homepower circuit altogether. Use the led outputs to switch small pnp transistors which sequentially switch fets. If you scale the voltage range to cover the full battery voltage range, you can use the top one or two outputs to switch in dummy loads.


The small pnp transistors go in series with the leds. From the positive rail to emitter of transistor, base of transistor to anode of led, kathode of led to LM3914 as usual.

Collector of transistor to gate of fet.


If you have a look at circuit 1 in my dump load controller should give an idea of what the circuit looks like.


http://www.fieldlines.com/story/2006/6/22/04750/5496


Amanda

« Last Edit: May 12, 2007, 05:17:32 PM by (unknown) »

Dave B

  • Hero Member
  • *****
  • Posts: 1014
  • Country: 00
    • DCB Energy Systems
Re: LED status indicator
« Reply #9 on: May 16, 2007, 03:01:02 PM »
I designed and built this output meter / variable load controller a few years back and it works fine. Rectifying a tap off the alternator for the LM3914 input with a pot for adjustable full range output. The power resistors you see are just what was handy to work with the pot I had handy to knock down the DC for the input, no heat there. DC wall wort powers the leds and solid state relays are swithced directly off the selected leds lit for load control by way of toggle switches. Resistive elements for the load are plugged into the switched receptacles. 15 leds using 2-LM3914's  5 green 5 yellow 5 red. Simple is good,  Dave B. Don't know why the photo shows large, it's a small file.

« Last Edit: May 16, 2007, 03:01:02 PM by (unknown) »
DCB Energy Systems
http://dcbenergy.com/

VinceB

  • Newbie
  • *
  • Posts: 6
Re: LED status indicator
« Reply #10 on: May 18, 2007, 05:30:19 PM »
Wow!


That's really interesting. I never thought of it this way.

The LM3914 actually provides the voltage reference, comparators and outputs all in one chip!! I am working on the circuit right now... Trying to figure out how I will set it up.

« Last Edit: May 18, 2007, 05:30:19 PM by (unknown) »

VinceB

  • Newbie
  • *
  • Posts: 6
Re: LED status indicator
« Reply #11 on: May 19, 2007, 04:28:30 PM »
Hello Dave B,


I would like to have more details about the general design of that controller.


From what I see, you seem to have two dump loads, did I get that right?

What is your voltage scale, min and max value? Which values turn the loads on?


thanks!

Vince B

« Last Edit: May 19, 2007, 04:28:30 PM by (unknown) »

Dave B

  • Hero Member
  • *****
  • Posts: 1014
  • Country: 00
    • DCB Energy Systems
Re: LED status indicator
« Reply #12 on: May 19, 2007, 04:59:58 PM »
Hi Vince,

  I cascaded (2) Lm3914's to allow for a 15 led scale. I have a pot on the DC input to allow any range of full scale min to max. Yes, the photo shows 2 solid state relays and they are triggered by the output of any led selected when lit. This is done with simple toggle switches run parallel off the led out put to the relay input. I run this in bar mode so each previous led remains lit. I will be modifying this for 3 phase for my new 18' that I am currently testing, this was originally run on my single phase switching 2 different hot water elements at different rpm. It works very well and is simple. I will wire this for overspeed protection as well as battery back up for powering the leds in case of a power outage on the grid. Maybe get rid of the dc power supply altogether and make it self contained. I used the dc power supply because with 15 leds lit at times there was minimal voltage to enrgize the relays. Simple is good and I may even elect to just use it as a voltage / rpm indicator on my 18' with no load control. Less chance of failure the better, overspeed is a scarey thing.  Dave B.
« Last Edit: May 19, 2007, 04:59:58 PM by (unknown) »
DCB Energy Systems
http://dcbenergy.com/