MC34063 Calculation: Step-Down Circuit and Inductor Design

The MC34063 calculation consists of nine steps, all derived from a single formula table in the datasheet: first the ton/toff ratio, then the period, the timing capacitor CT, the peak current Ipk, the current sense resistor Rsc, the inductor L(min) and the output capacitor CO. In this article we calculate a step-down (buck) converter from 12 V to 5 V / 500 mA from start to finish. Result: CT = 470 pF, Rsc = 0.27 Ω, L = 68 µH, CO = 220 µF, R1 = 1.2 kΩ, R2 = 3.6 kΩ. Below you will find which formula and which assumption each value comes from, and where tolerances break the calculation.
What is the MC34063 and how does it work?
The MC34063A is a switching regulator control IC that combines the blocks required for a DC-DC converter in a single package. It contains a 1.25 V reference, a comparator, a current-limited oscillator, a driver and an output transistor that carries up to 1.5 A. The same IC can be used to build step-down (buck), step-up (boost) and voltage-inverting circuits; the input range is 3 V to 40 V.
It does not operate as fixed-frequency PWM. The oscillator charges and discharges the CT capacitor on pin 3 with a constant current. The charge time is the longest time the switch can stay on in one cycle (ton), and the discharge time is the shortest off time. The comparator compares the voltage on pin 5 with 1.25 V: if the output is low, it allows the switch to turn on in that cycle; if the output is high enough, it skips the cycle. Regulation is achieved by cycle skipping. This is why the toff in the formula table is longer than the oscillator’s discharge time: it is the average off time that the design method assumes at full load.
The current limit also works through the oscillator. When the voltage across the Rsc resistor placed between VCC and pin 7 reaches about 300 mV, CT is charged rapidly by an additional current and ton ends early.

Datasheet values used in the calculation
The values below are taken from the onsemi MC34063A datasheet. In a design, you should calculate with typical values and check against the minimum and maximum.
| Parameter | Condition | Min | Typical | Max |
|---|---|---|---|---|
| Supply voltage VCC | Operating range; 40 V is also the absolute maximum | 3 V | 40 V | |
| Switch current ISW | Absolute maximum | 1.5 A | ||
| Comparator threshold Vth | TA = 25 °C | 1.225 V | 1.25 V | 1.275 V |
| Oscillator frequency | CT = 1 nF, 25 °C | 24 kHz | 33 kHz | 42 kHz |
| CT charge current | 25 °C | 24 µA | 35 µA | 42 µA |
| CT discharge current | 25 °C | 140 µA | 220 µA | 260 µA |
| Discharge-to-charge current ratio | 25 °C | 5.2 | 6.5 | 7.5 |
| Current limit sense voltage | 25 °C | 250 mV | 300 mV | 350 mV |
| Switch saturation voltage | Darlington connection, 1 A | 1.0 V | 1.3 V | |
| Supply current ICC | CT = 1 nF | 4 mA | ||
| Thermal resistance RθJA | PDIP-8 / SOIC-8 | 115 / 160 °C/W | ||
| Ambient temperature (MC34063A) | 0 °C | 70 °C |
Design target and two assumptions
The inputs for the example design are: nominal input 12 V, minimum input Vin(min) = 10 V, output 5 V, maximum load current 500 mA, selected minimum switching frequency 50 kHz, and target output ripple 50 mV peak-to-peak. Here 50 kHz is a design input: the minimum switching frequency targeted at full load and minimum input. The free-running frequency of the oscillator is set by CT alone, and the IC’s upper limit is 100 kHz.
Two voltage drops appear in the formulas, and the designer chooses both:
- Vsat (switch saturation voltage): The 1.0 V typical value in the electrical characteristics table is for the Darlington connection, measured at the collector. In a buck circuit the switch operates with an emitter output, and the datasheet’s emitter-follower curve (Figure 5) shows about 1.6 V at 1 A. In this article we use the approximately 1.6 V read from the graph, and we also check the inductor value with 1.0 V.
- VF (diode forward voltage): The 1N5819 was chosen as the Schottky diode. Its datasheet gives a maximum forward voltage of 0.6 V at 1 A and a reverse voltage of 40 V. VF = 0.6 V was used in the calculation.
MC34063 step-down calculation: step by step
The formulas are from the step-down column of the design formula table in the datasheet.
- ton/toff ratio: (Vout + VF) / (Vin(min) − Vsat − Vout) = (5 + 0.6) / (10 − 1.6 − 5) = 5.6 / 3.4 ≈ 1.65
- Period: ton + toff = 1/f = 1 / 50 kHz = 20 µs
- toff: (ton + toff) / (ton/toff + 1) = 20 µs / 2.65 ≈ 7.56 µs
- ton: 20 µs − 7.56 µs = 12.44 µs
- Timing capacitor: CT = 4.0 × 10−5 × ton = 4.0 × 10−5 × 12.44 × 10−6 ≈ 498 pF. Standard value: 470 pF. With this value ton becomes about 11.75 µs; the following steps continue with 12.44 µs, and the difference is on the safe side for the inductor calculation.
- Switch peak current: Ipk = 2 × Iout(max) = 2 × 0.5 A = 1.0 A
- Current sense resistor: Rsc = 0.3 / Ipk = 0.3 / 1.0 = 0.3 Ω
- Minimum inductor: L(min) = (Vin(min) − Vsat − Vout) / Ipk × ton(max) = (3.4 V / 1.0 A) × 12.44 µs ≈ 42 µH
- Output capacitor: CO = Ipk × (ton + toff) / (8 × Vripple) = 1.0 A × 20 µs / (8 × 0.05 V) = 50 µF
The output voltage is set with a separate formula: Vout = 1.25 × (1 + R2/R1). For 5 V, R2/R1 = 3 is required; R1 = 1.2 kΩ and R2 = 3.6 kΩ give exactly 5.0 V. R1 is connected between pin 5 and GND, and R2 between the output and pin 5.
From calculated result to standard value
| Component | Calculated | Selected | Reason for selection |
|---|---|---|---|
| CT | 498 pF | 470 pF | Nearest standard value |
| Rsc | 0.3 Ω | 0.27 Ω | Margin for the lower limit of the sense threshold |
| L | at least 42 µH | 68 µH | Vsat uncertainty and inductor tolerance |
| CO | at least 50 µF | 220 µF, low ESR | ESR-induced ripple |
| R1 / R2 | ratio 3 | 1.2 kΩ / 3.6 kΩ, 1% | 5.0 V |
| Diode | 1N5819 | 40 V, 1 A Schottky |

Where do tolerances change the calculation?
Rsc and guaranteed output current
The current limit sense voltage varies between 250 mV and 350 mV at 25 °C. With Rsc = 0.3 Ω, the peak current limit can drop to 0.83 A; under the formula table’s assumption of Ipk = 2 × Iout, this corresponds to a load current of 0.42 A. With 0.27 Ω selected, the table becomes:
| Sense voltage | Peak current limit (0.27 Ω) | Load current assuming L = L(min) (Ipk/2) |
|---|---|---|
| 250 mV (min) | 0.93 A | 0.46 A |
| 300 mV (typical) | 1.11 A | 0.56 A |
| 350 mV (max) | 1.30 A | 0.65 A |
The upper limit stays below the 1.5 A switch current limit. The last column is for the L = L(min) case, where the inductor current rises from zero to peak every cycle, and should be read as a lower bound: with 68 µH the current ripple is smaller, so the load current available at the same peak limit is higher. According to the datasheet’s temperature curve, the sense threshold decreases as temperature rises, so a margin must be left. When reducing the resistor, the upper limit must also be checked: with 0.24 Ω the highest limit stays at 1.46 A, while with 0.22 Ω it rises to 1.59 A and may exceed the 1.5 A switch current limit. If more current is needed, the datasheet’s external-transistor connection is used.
Inductor value and saturation current
If the table’s 1.0 V is used for Vsat instead of 1.6 V, the same calculation gives L(min) ≈ 47 µH. Since a 47 µH inductor can drop to 38 µH with a 20% tolerance, it falls below both results. A 68 µH inductor is still 54 µH even when it comes in 20% low. Because the CT charge current varies between 24 and 42 µA, ton can also exceed the calculated value; in that case the peak current is cut off by the current limit working through Rsc. The inductor’s saturation current should be chosen above 1.3 A, the upper value of the current limit; 1.5 A or more is a suitable choice.
Upper limit of ton/toff
The switch is on while the oscillator is charging CT and off while it is discharging. Therefore the largest achievable ton/toff ratio equals the discharge-to-charge current ratio: 5.2 in the worst case at 25 °C. The 1.65 in the example is well below this limit. As the input voltage approaches the output, the ratio grows rapidly; for Vin(min) = 7.7 V the ratio rises to 5.1 and the design hits the limit.
Output voltage tolerance
The reference threshold is in the 1.225–1.275 V range at 25 °C, so the error from the IC alone is ±2%: a 5 V output can be anywhere between 4.90 and 5.10 V. Two 1% tolerance resistors add roughly another ±1.5%. Over the full operating temperature range the threshold is 1.21–1.29 V. Since the current through the divider is about 1 mA, the comparator’s maximum input current of 400 nA is negligible.
Power dissipation and package choice: DIP or SOIC?
The numbers below are not measurements but approximate calculations for Vin = 10 V and a 500 mA load. The switch is on for ton/T = 12.44/20 ≈ 62% of the period; the average switch current is 0.5 A × 0.62 ≈ 0.31 A.
- Switch loss: 1.6 V × 0.31 A ≈ 0.50 W
- IC’s own consumption: 4 mA × 10 V = 0.04 W
- Diode loss: 0.6 V × 0.19 A ≈ 0.11 W
- Rsc loss: about 0.04 W
Total loss is about 0.7 W; since output power is 2.5 W, the estimated efficiency is around 78%. A linear regulator does the same job at 12 V input by turning (12 − 5) × 0.5 = 3.5 W into heat; for details on the linear side, see the 7805 vs. AMS1117 article.
The power dissipated inside the IC is about 0.54 W (excluding driver current). Estimated junction temperature by package:
| Package | RθJA | Temperature rise | TJ at TA = 50 °C | TJ at TA = 70 °C |
|---|---|---|---|---|
| PDIP-8 (MC34063AP1G) | 115 °C/W | ≈ 62 °C | ≈ 112 °C | ≈ 132 °C |
| SOIC-8 (MC34063ADR2G) | 160 °C/W | ≈ 86 °C | ≈ 136 °C | ≈ 156 °C |
The maximum junction temperature is 150 °C. At this load and input voltage, the DIP package stays below the limit at 70 °C ambient; the SOIC package exceeds the limit under the same conditions. When using SOIC, you need to reduce the load current, limit the ambient temperature or switch to an external transistor.
Common mistakes
- Using a slow diode: The diode turns on and off every cycle. A slow rectifier such as the 1N4007 heats up here and reduces efficiency; a Schottky or fast diode is required. The differences between diode types are explained in the 1N4007, UF4007 and 1N5819 comparison.
- Shorting Rsc: Connecting pin 7 directly to VCC disables the current limit. In a short circuit, nothing is left to limit the switch current.
- Choosing the inductor by inductance alone: An inductor whose saturation current is below the peak current saturates, the current rises rapidly and the current limit kicks in every cycle.
- Leaving CO at the formula value: The formula does not account for the capacitor’s internal resistance. The datasheet states that the calculated value must be increased in practice because of ESR and board layout. Ripple due to ESR is roughly the inductor current ripple × ESR. With 68 µH at the nominal 12 V input, the current ripple can reach about 0.9 A; for 50 mV, ESR needs to be around 50 mΩ or lower.
- Placing the input capacitor far away: The switch current is pulsed. The input capacitor should be close to pin 6 and Rsc; 100 µF is used in the datasheet example.
- Supplying a ripple-sensitive load directly: In the datasheet’s 25 V to 5 V / 500 mA example, output ripple was measured at 120 mV peak-to-peak and dropped to 40 mV with an additional 1 µH and 100 µF filter.
Frequently asked questions
How many amps can the MC34063 deliver?
The current limit of the internal switch is 1.5 A peak. Because the peak current is taken as twice the load current in the step-down connection, the output current theoretically cannot exceed 0.75 A without an external transistor; once tolerances and heating are taken into account, the practical limit is below that. For higher current, the datasheet shows connections with an external NPN or PNP transistor.
How is the MC34063 output voltage set?
The output voltage is determined by the formula Vout = 1.25 × (1 + R2/R1). R1 is the resistor between pin 5 and GND, and R2 is the resistor between the output and pin 5. R1 = 1.2 kΩ and R2 = 3.6 kΩ give 5 V.
What value should the CT capacitor be, in pF?
It is calculated with the formula CT = 4.0 × 10−5 × ton (ton in seconds, CT in farads). With 1 nF, the oscillator frequency is typically 33 kHz at 25 °C (24–42 kHz). As the capacitor gets smaller, the frequency increases; the IC operates up to 100 kHz.
What is the difference between the MC34063 and the MC33063?
They are the same circuit; the difference is the operating temperature range. The MC34063A is specified for 0 °C to +70 °C, the MC33063A for −40 °C to +85 °C, and the MC33063AV for −40 °C to +125 °C ambient temperature.
Can the MC34063 step up voltage?
Yes. The datasheet includes a step-up example delivering 28 V / 175 mA from 12 V and a voltage-inverter example delivering −12 V / 100 mA from 5 V. In these connections the ton/toff, Ipk, L(min) and CO formulas differ from step-down; the corresponding column of the same table must be used.
Conclusion
The MC34063 calculation is simply a matter of applying the formula table in order, but three choices that determine the result lie outside the table: which value is used for Vsat, checking Rsc against the lower and upper limits of the sense threshold, and the thermal resistance of the package. In the 12 V to 5 V / 500 mA example, these three checks led to choosing 0.27 Ω instead of 0.3 Ω, 68 µH instead of the nearest standard value of 47 µH, and a DIP package instead of SOIC in a hot environment.
To build the circuit, the MC34063AP1G (PDIP-8) can be used on through-hole boards and the MC34063ADR2G (SOIC-8) for surface mount. Other switching regulator ICs are in the DC-DC switching regulators category.
References
- onsemi MC34063A, MC33063A datasheet (PDF): maximum ratings, electrical characteristics, step-down application and design formula table
- 1N5817–1N5819 Schottky diode datasheet (PDF): reverse voltage and forward voltage values
Products in this article
-
$1.44MC34063AP1G
onsemi · EE01090IC REG BCK BST INV ADJ 1.5A 8DIPRoHS compliant96 In Stock -
$0.18MC34063ADR2G
onsemi · EE02104IC REG BUCK BOOST INV ADJ 8SOIC857 In Stock
More from Devre Tasarımı ve Uygulama Notları
- Devre Tasarımı ve Uygulama NotlarıIntermediate
IR2110 Bootstrap Capacitor Calculation: Step by Step
How do you calculate the IR2110 bootstrap capacitor? Using a 310 V half-bridge example, we walk through the Q/ΔV formula, UF4007 diode and series…
Optocoupler Resistor Calculation: PC817 and CTR Design
Optocoupler resistor calculation step by step: input and pull-up resistors with the PC817, worst-case CTR margin, aging and temperature effects; 4N35 vs. 6N137.

