Bipolar LED driver circuit?

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
Was using NPN and PNP for each LED feed.
Both should be possible, or even none. Anyway, there is no need for an IC.
Here is an example with a NPN, current through the LEDs = 10mA (can be adapted by scaling the resistor's values).

On the right is an example using only resistors; to be able to use it, you'll need a comfortable enough supply voltage, 12V or more should be sufficient.
 

Attachments

  • BipLeds.png
    BipLeds.png
    14.4 KB · Views: 121
If you look at the schematic i posted, the mosdriver isn't connected to the 74HC14, not needed.And with the HC version 10mA led current is easely reached with parallel outputs.
Mona

Yes, I noticed amendment, but please realise I'm using the 74AC14 device now and due to past issues with driving mosdriver plus other devices from same signal I presumed it would be better to have some form of buffer between what is 'essential' and 'indication' levels of function.

I was considering abandoning any 'fault indication' due to potential compromise last week. Now I have solution... cool... thanks to all.

Device cost is not an issue.... I'm not in production of 10,000 widgets.
High speed, High reliability of essential and indication function ...with
Low component count and board space the priorities.

So, it follows, given the de-rating of output device, [50% loading]
What merit is there, if any, in parallel connected invert gates driving the panel indicator LED other than using these redundant outputs in a hex package?
 
Member
Joined 2011
Paid Member
Arrange the PCB layout so that it's especially easy to try both variants of the circuit. Either by making a solder-bridgeable open circuit, or by laying out an intact trace that's especially easy to cut without injuring anything else nearby. Then try it both ways.

(Or perform the experiments in vitro using through hole components on a solderless breadboard, if you feel your perceptions and measurements in the lab are a good predictor of your perceptions and measurements in the audio salon on the finished gear.)

BTW another way to gainfully employ all N Schmitt Trigger inverters in a package, is to use two of them to make the H-bridge, one of them to provide teeter-totter antiphase operation, and the remaining (N-3) in cascade, to make awful damn certain the final outputs are slammed hard to a full logic level, despite unreliable and slow-moving input.

If you've never measured the DC gain of a CMOS logic gate (gain == slope of the Vout_vs_Vin curve == dVout/dVin), I recommend trying it. You'll be astonished.
 

Attachments

  • jumper1.jpg
    jumper1.jpg
    100.1 KB · Views: 96
  • jumper2.png
    jumper2.png
    10.5 KB · Views: 93
Took your advice Gareth, here is my take on the second para of post#1. You would have to calculate the resistor values depending on your supply voltage and the current you will allow through the LEDs. Hope it solves your problem "Shh its me"

Obviously when the power is off then no LED is on. :)
 

Attachments

  • Clipboard01.jpg
    Clipboard01.jpg
    35.3 KB · Views: 64
Last edited:
Member
Joined 2011
Paid Member
Regrettably you didn't read properly the first line of the first post
Yikes you are right. I only read the first half of the first line! Please accept my apologies.

If you mounted the components on a DIP header like we used to do in the good old days of wire-wrap ('cause the only WW sockets were DIP sockets!), you could use the first 3 rows to mount the BJT, and the remaining 4 rows to mount the four resistors. Voila it all fits in the footprint of a 14 pin DIP. However the 68K resistance of R35 might make it a bit tricky to match the brightness of the left and right LEDs. The right LED gets, what, 180 microamperes?

_
 

Attachments

  • ckt9.png
    ckt9.png
    129.6 KB · Views: 64
  • header.png
    header.png
    70.3 KB · Views: 54
I'd be tempted to put it into Spice for the circuit conditions you have available and then tinker around to find what works - I'm lazy (I think you remember that !!). The circuit I posted was an excerpt from a dc-protection circuit and the resistor values were dictated by the surrounding circuitry - I think the collector was fed from the +ve rail of the amplifier so it was 40V or so. I like that DIP idea, keeps it simple.
 
Took your advice Gareth, here is my take on the second para of post#1. You would have to calculate the resistor values depending on your supply voltage and the current you will allow through the LEDs. Hope it solves your problem "Shh its me"

This is similar to a circuit I considered and tried.

The 'problem' I have with this is the load of R10 and R11 [220 +220 ] across supply and more so the 'dead short' presenting if both transistors receive an oscillating base signal.

To prevent this 'dead short' I changed PNP to NPN and NPN to PNP, so if such signal occurred no conduction at all.

Still distracted and time poor , having that non-audio matter. :(
 
Member
Joined 2011
Paid Member
Schmitt triggers will attenuate weak oscillation and amplify strong oscillation.

Maybe you need to find an 8 pin microcontroller chip whose I/O pins have enough grunt to directly drive an LED. Now you can program the thing to detect and ignore an oscillating input. You can program the thing to remain in the same output state for at least X milliseconds (regardless of input), for whatever X you desire, thereby preventing rapidly oscillating outputs. You can program the thing to sample the input every N milliseconds, and only consider the input "valid" if it's been in the same state for Z consecutive samples. This effectively lowpass filters the input and disregards rapid oscillation / flutter. You can do whatever you want, and major changes to the "theory of operation" do not require re-layout of PCB or desoldering wick.

Consider the Microchip PIC12F1571 for $0.66 in qty=1. One 8 pin DIP, one current limiting resistor, and your bicolor LED. Done. With all of the anti-oscillation countermeasures your fevered brain can possibly invent.
 
Took your advice Gareth, here is my take on the second para of post#1. You would have to calculate the resistor values depending on your supply voltage and the current you will allow through the LEDs. Hope it solves your problem "Shh its me"

Obviously when the power is off then no LED is on. :)

Hello Nico,
are you aware if anyone has implemented your scheme?
I would like to incorporate this into my upc1237 circuit.
yours is better than e.g. http://hifimediy.com/download/Speaker_Protection_Circuit.pdf which only indicates either power on or fault condition.
regards
Prasi
 
Last edited:
Member
Joined 2004
Paid Member
Folks:

I'd appreciate some guidance on controlling bicolor LEDs. The designs discussed in this thread are interesting but I'm unclear about why they are superior to the design I've successfully used, pictured below. The design I've used only requires two resistors and half of a DPST switch. Is a more complicated approach more efficient or less susceptible to failure? I'm not trying to pick a fight -- I want to adopt the best available approach in future projects.

Regards,
Scott
 

Attachments

  • bi-color_LED_two-resistors (SPDT).gif
    bi-color_LED_two-resistors (SPDT).gif
    2.7 KB · Views: 49
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.