Pages: 1 [2]   Go Down
Author Topic: help regulating voltage  (Read 826 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i found this MC34063A switchable regulator on a shop, but i just dont know how to wire it.
Logged

Texas
Offline Offline
Edison Member
*
Karma: 25
Posts: 1298
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You don't give us a URL?

The example I presented to you cost $3.80. Do you find one less expensive. What's the URL ?
Logged

Good luck, Jack

Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

https://www.sparkfun.com/products/317


i am not buying it from here, a local store sells for $2.90, but i belive i need extra components
Logged

Texas
Offline Offline
Edison Member
*
Karma: 25
Posts: 1298
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't know anything about that IC. I would suggest spend a dollar more, and get all the components on the board.
Logged

Good luck, Jack

Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

can you help me on how do i need to design it?
Logged

Lacey, Washington, USA
Offline Offline
Edison Member
*
Karma: 37
Posts: 1752
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If you have a dollar store near you, see if they have any cigarette lighter plug to USB charger adapters. You are nearly 100% guaranteed that it'll have a MC34063A buck regulator in there. Complete with schottky diode and coil.

Many of the cigarette lighter plug phone chargers also use the MC34063A chip.

The Dollar Tree here has them now and again, and the ones they sell use a rewindable inductor and the chip itself, the diode, and inductor are through-hole components. You'll have to replace the input caps to withstand 24V (use 35V capacitors) and change some other components.

There are Javascript calculators on several websites, I like this one because it automatically selects buck or boost, and you can use a percent variation of input voltage to account for changing supply voltage:
http://dics.voicecontrol.ro/tutorials/mc34063/

This chip has a built-in current limiter, it can output a maximum of 750mA. However! You should not be daisy chaining regulators. The LM317 in your circuit, besides having insufficient input smoothing capacitance, has to carry all the circuit current. You never said, what is the input voltage there? Is it AC, or is the bridge rectifier there just so it doesn't matter which way a battery is connected? Either way, there should be more capacitance there.

The MC34063 can withstand up to 40V of input voltage.
Logged

Steve Greenfield AE7HD
CET Consumer Electronics and Computer

Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

if i use that calculator i get this

Vin =   24.00 ±10% V
Vout =   5.00 V
Iout =   500.00 A
Vripple =   0.10 V

Vin min =   21.60 V
Ton / Toff =   0.34
Ton + Toff =   10.00 µs (micro seconds)
Toff =   7.49 µs (micro seconds)
Ton =   2.51 µs (micro seconds)
Ct =   100.47 pF
Ipk =   1,000.00 A
Rsc =   0.00 Ω
Lmin =   0.04 µH
Co =   12,500.00 µF
R1 =   10.00 kΩ
R2 = ((Vout - 1.25) / 1.25) * R1 =   30.00 kΩ





isnt 12,500uf a bit unrealistic?
Logged

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 439
Posts: 23743
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


http://www.pololu.com/catalog/category/131
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i cant afford the time that would take me to get those here
Logged

Lacey, Washington, USA
Offline Offline
Edison Member
*
Karma: 37
Posts: 1752
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Isn't 500 Amps just a little unrealistic?

Vin =   24.00 ±10% V
Vout =   5.00 V
Iout =   0.50 A
Vripple =   0.10 V

Vin min =   21.60 V
Ton / Toff =   0.34
Ton + Toff =   10.00 µs (micro seconds)
Toff =   7.49 µs (micro seconds)
Ton =   2.51 µs (micro seconds)
Ct =   100.47 pF
Ipk =   1.00 A
Rsc =   0.30 Ω
Lmin =   38.93 µH
Co =   12.50 µF
R1 =   10.00 kΩ
R2 = ((Vout - 1.25) / 1.25) * R1 =   30.00 kΩ
Logged

Steve Greenfield AE7HD
CET Consumer Electronics and Computer

Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

why is it Lmin and Vin min, there is no problem if it is greater??
Logged

Lacey, Washington, USA
Offline Offline
Edison Member
*
Karma: 37
Posts: 1752
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Vin min is simply Vin - 10% of Vin, as you specify.

As for the inductor, if the inductance is too low, the chip cannot switch off fast enough. The lower the inductance, the faster current rises. I'd not go -too- much higher than the minimum, but I can't tell you what that amount might be. 25%?
Logged

Steve Greenfield AE7HD
CET Consumer Electronics and Computer

United Kingdom
Offline Offline
Tesla Member
***
Karma: 220
Posts: 6587
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If im good at my estimates, i am not drawing more than .5A so i think i could design a 1a regulator, so i am trying to figure out how smiley

Where did you get the figure of .5A from? Does all of that .5A need to come from the 5V supply? For example, if you are running relays from the 5V, then you would be better off using 12V or 24V relays, which draw less current.

If you can reduce the demand on the 5V supply to about 100mA or less, then you can go back to using a linear regulator. Otherwise, you need a switching regulator, and I strongly advise you to buy a ready-made board. There are lots on offer at eBay.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Offline Offline
Full Member
***
Karma: 5
Posts: 199
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you really only have .1 uf on tbe input of the 317? You're going to need a lot more if it's coming directly from a bridge rectifier.
Logged

Lacey, Washington, USA
Offline Offline
Edison Member
*
Karma: 37
Posts: 1752
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Is there some reason why you won't tell us what the source of power is?
Logged

Steve Greenfield AE7HD
CET Consumer Electronics and Computer

Pages: 1 [2]   Go Up
Jump to: