i don't know how to show my circuit.
thanks
Are you planning on disconnecting the LED string from the chip? Seems to me that disconnecting the switch pin should work. I would leave the LED-inductor-diode loop intact.
I have also thought about shorting one or two LEDs in the string with a switch. If you are planning on switching between two or more LEDs, you can put them in series, and short whichever one(s) you want off.
Another problem is overhead voltage for 3 LEDs. I'm limited to 12 volt power source. How much does the chip use? What do you think?
I'll try to figure out how to post a picture of circuit. Shouldn't be so complicated for an old man.
and THANKS again.
https://www.dropbox.com/s/uyfxwil72d8oc31/8861 (800x484).jpg?dl=0
I'm limited to one switch. I use the SOT89 package for smaller size and still get 1.5A rating.
I was going to hook common on switch to pin 4. Connect 1 side of switch to first LED in string, connect other side of switch to second LED in string. I'm using this design on another light with 2 LED string and it has been working great with no failures. With the new design, I will have to power the chip hot all the time and break the circuit with a single switch to turn light off. Don't really like being powered all the time and it will require 5 wires. I wish there was a simpler design. Another problem is overhead voltage for 3 LEDs. I'm limited to 12 volt power source. How much does the chip use? What do you think?
I'll try to figure out how to post a picture of circuit. Shouldn't be so complicated for an old man.
and THANKS again.
https://www.dropbox.com/s/uyfxwil72d8oc31/8861 (800x484).jpg?dl=0
If you don't switch between LEDs often, it's probably not a problem, especially if you have a big beefy switch. If you have a tiny switch with barely enough current rating, and you switch often under power, the tiny little arc there is each time could eventually erode the contacts.
The buck topology gives open LED protection because once an LED opens, there's no way to increase the current in the inductor. The inductor current rapidly drops to zero, and the output voltage equals the input voltage.
With boost topology, this isn't so. When an LED opens, the inductor current dumps into the output cap, then charges back up, then dumps into the output cap. The output voltage continues to rise until something breaks down. You have to add something to the basic topology if you want to ensure this can't happen.