Trying to use a MC34063 as a current source I found that it works well on the simulator but does not in real life. What I did is essentially running it "pedal to the metal", inverting input grounded, and letting it limit the inductor peak current.
What happens is that it drops around 70% in linear regulator fashion, nothing in there oscillates and, of course, this gets it hot.
Is there some undocumented pathology that prevents the thing from working when "floored"?
How, pray tell, are you doing that? Schematic? Even an LTspice schematic will do >:-} ...Jim Thompson
--
| James E.Thompson | mens |
| Analog Innovations | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| San Tan Valley, AZ 85142 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
The touchstone of liberalism is intolerance
Yes, got a sim but it only works if you have the MC34063 model. I'll add those in another post. The whole thing is a bicycle light I wan't to built for my montain bike and then also my road bike. You can't buy such lights. I'll try to post the model and symbol in the next post:
SYMBOL res -784 -416 R180 WINDOW 0 36 76 Left 2 WINDOW 3 36 40 Left 2 SYMATTR InstName R1 SYMATTR Value 1 SYMBOL MC33063A -528 -336 M0 WINDOW 0 0 176 Center 2 SYMATTR InstName X1 SYMBOL cap -416 -272 R0 SYMATTR InstName C3 SYMATTR Value 1000p SYMBOL schottky -272 -288 M180 WINDOW 0 24 64 Left 2 WINDOW 3 25 0 Left 2 SYMATTR InstName D1 SYMATTR Value MBRS130L SYMATTR Description Diode SYMATTR Type diode SYMBOL ind -224 -368 R270 WINDOW 0 32 56 VTop 2 WINDOW 3 5 56 VBottom 2 WINDOW 39 56 56 VTop 2 SYMATTR InstName L1
SYMATTR SpiceLine Rser=0.1 Rpar=10k SYMBOL LED -96 -352 R0 SYMATTR InstName D2 SYMATTR Value LXK2-PW14 SYMATTR Description Diode SYMATTR Type diode SYMBOL cap 96 -336 R0 SYMATTR InstName C1
SYMBOL res -720 -496 R0 SYMATTR InstName R3 SYMATTR Value 1k SYMBOL MC33063A -1232 -48 M0 WINDOW 0 0 176 Center 2 SYMATTR InstName X2 SYMBOL cap -1120 16 R0 SYMATTR InstName C5
SYMBOL res -1376 -384 R0 SYMATTR InstName R4 SYMATTR Value 10k SYMBOL diode -1376 -608 R0 SYMATTR InstName D3 SYMATTR Value 1N4148 SYMBOL diode -1376 -512 R0 SYMATTR InstName D4 SYMATTR Value 1N4148 SYMBOL res -1248 -368 R270 WINDOW 0 32 56 VTop 2 WINDOW 3 0 56 VBottom 2 SYMATTR InstName R2 SYMATTR Value 4k SYMBOL pnp -1424 -656 M180 SYMATTR InstName Q1 SYMATTR Value 2N3906 SYMBOL res -1536 -832 R0 SYMATTR InstName R5 SYMATTR Value 1k SYMBOL res -1536 -624 R0 SYMATTR InstName R6 SYMATTR Value 10k SYMBOL res -1184 -816 R0 SYMATTR InstName R7 SYMATTR Value 1MEG TEXT -984 -568 Left 2 !.tran 0 80m 1n TEXT -664 -16 Left 2 ;C5 at 0.047u only for sim TEXT -664 16 Left 2 ;Set to 47uF for 1sec periods
SYMBOL res -784 -416 R180 WINDOW 0 36 76 Left 2 WINDOW 3 36 40 Left 2 SYMATTR InstName R1 SYMATTR Value 1 SYMBOL MC33063A -528 -336 M0 WINDOW 0 0 176 Center 2 SYMATTR InstName X1 SYMBOL cap -416 -272 R0 SYMATTR InstName C3 SYMATTR Value 1000p SYMBOL schottky -272 -288 M180 WINDOW 0 24 64 Left 2 WINDOW 3 25 0 Left 2 SYMATTR InstName D1 SYMATTR Value MBRS130L SYMATTR Description Diode SYMATTR Type diode SYMBOL ind -224 -368 R270 WINDOW 0 32 56 VTop 2 WINDOW 3 5 56 VBottom 2 WINDOW 39 56 56 VTop 2 SYMATTR InstName L1
SYMATTR SpiceLine Rser=0.1 Rpar=10k SYMBOL LED -96 -352 R0 SYMATTR InstName D2 SYMATTR Value LXK2-PW14 SYMATTR Description Diode SYMATTR Type diode SYMBOL cap 96 -336 R0 SYMATTR InstName C1
SYMBOL res -720 -496 R0 SYMATTR InstName R3 SYMATTR Value 1k SYMBOL MC33063A -1232 -48 M0 WINDOW 0 0 176 Center 2 SYMATTR InstName X2 SYMBOL cap -1120 16 R0 SYMATTR InstName C5
SYMBOL res -1376 -384 R0 SYMATTR InstName R4 SYMATTR Value 10k SYMBOL diode -1376 -608 R0 SYMATTR InstName D3 SYMATTR Value 1N4148 SYMBOL diode -1376 -512 R0 SYMATTR InstName D4 SYMATTR Value 1N4148 SYMBOL res -1248 -368 R270 WINDOW 0 32 56 VTop 2 WINDOW 3 0 56 VBottom 2 SYMATTR InstName R2 SYMATTR Value 4k SYMBOL pnp -1424 -656 M180 SYMATTR InstName Q1 SYMATTR Value 2N3906 SYMBOL res -1536 -832 R0 SYMATTR InstName R5 SYMATTR Value 1k SYMBOL res -1536 -624 R0 SYMATTR InstName R6 SYMATTR Value 10k SYMBOL res -1184 -816 R0 SYMATTR InstName R7 SYMATTR Value 1MEG TEXT -984 -568 Left 2 !.tran 0 80m 1n TEXT -664 -16 Left 2 ;C5 at 0.047u only for sim TEXT -664 16 Left 2 ;Set to 47uF for 1sec periods
Symbol for MC34063:
Version 4 SymbolType BLOCK RECTANGLE Normal 96 160 -96 -160 TEXT 0 0 Center 2 MC33063A PIN -96 -144 LEFT 8 PINATTR PinName SwC PINATTR SpiceOrder 1 PIN -96 -48 LEFT 8 PINATTR PinName SwE PINATTR SpiceOrder 2 PIN -96 48 LEFT 8 PINATTR PinName Osc PINATTR SpiceOrder 3 PIN -96 144 LEFT 8 PINATTR PinName Com PINATTR SpiceOrder 4 PIN 96 144 RIGHT 8 PINATTR PinName Inv PINATTR SpiceOrder 5 PIN 96 48 RIGHT 8 PINATTR PinName Vcc PINATTR SpiceOrder 6 PIN 96 -48 RIGHT 8 PINATTR PinName Ipk PINATTR SpiceOrder 7 PIN 96 -144 RIGHT 8 PINATTR PinName DrC PINATTR SpiceOrder 8
Just a regular buck. Feedback (INV) to ground, the load is an LED that is to be driven in a (somewhat) constant current fashion. There is a 2nd MC34063 running flat-out but only used to regularly bump the current for an additional strobe effect. All for personal use, on my bicycles. Mainly so car drivers see me better and so dirt bikers don't crash into me on the trails.
I attached it in the response to John, then the MC34063 model schematic plus symbol in the 2nd response post to him. Got an Eagle schematic as well.
It's just for sports, normally one would use a micro controller for that. And I might if the 34063 turns out to be a dud.
Yes, for you and me that's easy. However, the motivation behind this was to make a very visible tail light that almost everyone in the world can copy without having access to Digikey or Mouser. With stuff they either already have or can easily scavenge out of discarded electronics. Once it works well and passes my personal trail tests (commercial lights generally don't) I want to post it on the web.
I also wanted it to be easily adaptable to higher voltage batteries. The guy on a rickshaw might not have the funds to buy a 8.4V Li-Ion battery.
Guys, I got it going. Long story shory, a hair crack in a capacitor. Never had that before. The blink mode still doesn't work right but that's just a matter of resistor values.
No kidding, I would. But I wanted it to fit into a housing of a cheap old-style tail light that can easily be found. So you have about one square-inch and 1/4" in height (but only on part of that surface). Also, nothing should become too hot and no electrolytics.
I got it going, it was a hair crack in a cap. Still have to adjust the blink mode. It is supposed to drop the steady background light and continue flash-only when the battery gets low. That way the rider will notice a low battery yet can continue home safely because the power consumption will drop way down. Even if that's still 10 miles up into the hills like in my case.
It is almost unbelievable how crude, flimsy and weak bicycle "lighting systems" are when compared to motor vehicles. I want to change that.
60Wh Li-Ion plus Cree XM-L run at 7.5W will do. That is what I have on the mountain bike. Once I waited at a red traffic light and a guy on a Harley pulled up next to me. He looked at my light, held his hand in front of his to muffle it, saw that mine outshined his big light and looked at me in disbelief.
To make a "current source" you need to regulate current >:-} ...Jim Thompson
--
| James E.Thompson | mens |
| Analog Innovations | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| San Tan Valley, AZ 85142 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
The touchstone of liberalism is intolerance
It sure is nice. At 7.5W it lights up a bush road or singletrack dirt trail bright enough to barrel down there at 15mph after dark. 20mph would be better but that would require 15-20W of LED lighting.
That's what Isense is for. It regulates the inductor current. If you make the inductance large enough the ripple will be low and thus the LED current will become almost constant and independent of supply voltage. Which it now does after I found a hair crack in a capacitor. Which begs the question, how will ceramic multi-layer caps fare on a mountain bike that is used on quite brutal trails at speeds north of 15mph?
I've done this a lot with other chips, placing a brick on VFB and just regulating the peak inductor current. That can require handing out sick bags before a design review.
What's your target LED current? Looks like a job for an LM339 >:-} ...Jim Thompson
--
| James E.Thompson | mens |
| Analog Innovations | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| San Tan Valley, AZ 85142 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
The touchstone of liberalism is intolerance
Hah, I believe that. When we reach the highway on return from our night hikes, my mate Kevin regularly gets flashed by cars who want him to dim his high-beams... three XM-L lights across his chest... even though they're turned down to 10% by then anyway. It's a custom-built rig with his own controller that even has digitised voice reporting.
I joke that he has to keep them turned down when the weather is dry, for fear of starting grass fires 100m away :)
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.