Simulation and Design of MP1584 IC Buck Converter IC

This is a note on how the MP1584 Buck Converter IC works with design and test simulation and circuit animation.

MP1584 IC Proteus Library | Download Free

The following shows the MP1584 IC internal circuit diagram.

MP1584 IC Circuit Schematic Created by ee-diary.net Vuvlo Ven Vsum Vcs Vref Verr VIN GND EN SW BST FREQ V8 3V EN_PULLUP_V R1 3M EN_PULLUP_R U9 UVLO_CMP GAIN=1E5 VPOS=5 VNEG=0 ZI=1E8 ZO=1.0 U8 EN_CMP GAIN=1E5 VPOS=5 VNEG=0 ZI=1E8 ZO=1.0 V6 3V UVLO_THRESHOLD U10 EN_UVLO_AND TDLHDQ=5n TDHLDQ=5n V7 1.35V EN_THRESHOLD U1 ERR_AMP GAIN=200 VPOS=1.42 VNEG=-0.9 ZI=1E8 ZO=3.33M U2 PEAK_CURRENT_CMP GAIN=1E3 VPOS=5 VNEG=0 ZI=1E8 ZO=1.0 U6 ISENSE_AMP GAIN=4.44 VPOS=5 VNEG=0 ZI=1E8 ZO=100 Q1 NMOSFET VTO=2 KP=2.2 RD=0.02 R_SENSE 25m VA+VB SUM1 V(A)+V(B) SENSE_OFFSET_SUM V4 OSC_CLK V1=5 V2=0 TD=10n TR=1n TF=1n PW=20n PER=1/<F> V3 0.9V V_OFFSET_0V9 R_BLANK 1k C_BLANK 100pF RG 50 V1 SOFTSTART_REF V1=0 V2=0.8 TD=0 TR=1.5m TF=1.5m PW=10 PER=20 RPD 100k FB COMP U3 SR_LATCH_A TDLHDQ=7n TDHLDQ=5n U4 SR_LATCH_B TDLHDQ=7n TDHLDQ=5n U5 ON_INVERTER VA+VB SUM2 V(A)+V(B) GATE_LEVEL_SHIFT V5 5V Q2 PMOSFET3 VTO=-2 RD=20 D1 DIODE IS=2.52n RS=0.1 CJO=4p N=1.75 M=0.4 U7 BST CMP GAIN=1E5 VPOS=28 VNEG=0 ZI=1E8 ZO=50 U11 DRIVE_ENABLE_AND TDLHDQ=5n *DEFINE F=900k C1 100pF C_SW_PARASITIC V2 OSC_SAW V1=0 V2=0.08 TD=10n TR=1.1u TF=1n PW=1n PER=1/<F> SUM1(B)

Function of Components

1. Parent circuit (external components)

RefValueConnected betweenFunction / role
B112 VVIN – GNDInput supply
C110 µFVIN – GNDInput decoupling
C4100 nFSW – BSTBootstrap capacitor; holds about 5 V above SW for the gate drive
D1SS34GND (anode) – SW (cathode)Catch diode; carries inductor current while Q1 is off
R825 mΩSW – L1_INSeries resistance (probably inductor DCR)
L122 µHL1_IN – VOUTEnergy storage; with C2 forms the LC output filter
C222 µFVOUT – GNDOutput filter capacitor
R1412 kΩVOUT – FBUpper feedback divider resistor
R240.2 kΩFB – GNDLower feedback divider resistor; sets VOUT ≈ 9.0 V
R3125 kΩCOMP_RC – GNDCompensation resistor
C3150 pFCOMP – COMP_RCCompensation capacitor (series with R3 from COMP to GND)
R5100 kΩVIN – ENEnable divider, top
R624.9 kΩEN – GNDEnable divider, bottom; EN ≈ 2.39 V at 12 V in
R725 ΩVOUT – GNDLoad, about 0.36 A
R4100 kΩGND – GNDNo effect (both ends grounded); likely an unused FREQ resistor placeholder

2. Subcircuit U1: power stage and bootstrap

RefFunction / roleInputsOutput
U1_Q1 (NMOS)High-side power switchDrain from Q1_DRAIN, gate from Q1_GATESource drives SW
U1_R_SENSE (25 mΩ)Senses switch currentVINQ1_DRAIN
U1_RG (50 Ω)Gate resistor, slows the edgeGATE_DRIVEQ1_GATE
U1_RPD (100 kΩ)Gate pull-down; keeps Q1 off when undrivenQ1_GATESW
U1_C1 (100 pF)SW parasitic capacitanceSWGND
U1_SUM2Level shift so the gate floats with SWDRIVE_LOGIC + SWGATE_DRIVE
U1_V5 (5 V)Floating 5 V reference on SWSWSW_PLUS_5V
U1_U7 (BST CMP)Detects when BST has dropped below SW + 5 V− SW_PLUS_5V, + BSTQ2_GATE
U1_Q2 (PMOS)Recharges C4 from VIN when neededSource from VIN, gate from Q2_GATEQ2_DRAIN
U1_D1 (diode)Stops BST discharging back through Q2Q2_DRAINBST

3. Subcircuit U1: control loop

RefFunction / roleInputsOutput
U1_V1Soft-start reference, 0 → 0.8 V in 1.5 msnone (source)SS_REF
U1_U1 (ERR_AMP)Transconductance error amp (≈ 60 µS)− FB, + SS_REFCOMP
U1_U6 (ISENSE_AMP, ×4.44)Amplifies the voltage across R_SENSE− Q1_DRAIN, + VINISENSE_OUT
U1_R_BLANK + U1_C_BLANKLeading-edge blanking filter (1 kΩ + 100 pF)ISENSE_OUTVcs
U1_V2Slope-compensation sawtooth, 0–80 mVnone (source)RAMP (stacked on OFFSET_0V9)
U1_V3 (0.9 V)Offset that sets the COMP operating rangenone (source)OFFSET_0V9
U1_SUM1Adds current signal and rampVcs + RAMPVsum
U1_U2 (PEAK_CURRENT_CMP)Goes low when Vsum reaches COMP (peak current reached)− Vsum, + COMPPEAK_CMP_OUT
U1_V4900 kHz clock, 20 ns low pulsesnone (source)CLK
U1_U3 / U1_U4 (SR latch)The clock sets it (switch on); PEAK_CMP_OUT resets it (switch off)PEAK_CMP_OUT, CLKLATCH_Q / LATCH_QB
U1_U5 (inverter)Turns the latch output into a switch-on requestLATCH_QON_CMD

4. Subcircuit U1: enable, UVLO and gating

RefFunction / roleInputsOutput
U1_V6 (3 V)UVLO threshold referencenoneUVLO_REF
U1_U9 (UVLO_CMP)Lockout: high when VIN > 3 V− UVLO_REF, + VINUVLO_OK
U1_V7 (1.35 V)Enable threshold referencenoneEN_REF
U1_U8 (EN_CMP)High when EN > 1.35 V− EN_REF, + ENEN_OK
U1_V8 (3 V) + U1_R1 (“3M”)Internal pull-up on ENEN_PULLUP_3VEN
U1_U10 (AND)Both enable and UVLO must be goodUVLO_OK, EN_OKENABLE_OK
U1_U11 (AND)Lets the switch-on request through only when enabledENABLE_OK, ON_CMDDRIVE_LOGIC

Switching cycle in names:

  1. CLK sets the latch, so ON_CMD goes high. If ENABLE_OK is also high, DRIVE_LOGIC goes high.
  2. SUM2 turns that into GATE_DRIVE (DRIVE_LOGIC + SW), which drives Q1_GATE through RG.
  3. Current rises through R_SENSE and shows up as Vcs, which is added to RAMP to give Vsum.
  4. When Vsum reaches COMP, PEAK_CMP_OUT goes low and resets the latch, so Q1 turns off.
  5. The error amp (FB versus SS_REF) sets COMP, which closes the regulation loop.

Switching Frequency, Inductor Selection and Output Voltage Feedback Resistors Values

Here is a brief summary with the equations.

1. Switching frequency

The MP1584 frequency is set by a resistor from FREQ to GND. With RFREQ = 100 kΩ the oscillator runs at 900 kHz, and the programmable range is 100 kHz to 1500 kHz. The datasheet gives this as a curve (RFREQ vs. fSW), not a formula, so read other values off that graph. rs-onlinewe-online

With fSW = 900 kHz and Vin = 12 V, Vout = 9 V:

  • Duty cycle: D = Vout / Vin = 9 / 12 = 0.75
  • Period: T = 1 / fSW ≈ 1.11 µs
  • t_on = D × T ≈ 833 ns, t_off ≈ 278 ns

In your model the frequency comes from F=900k (V4/V2), not from R4, so changing R4 won’t change the simulation.

2. Inductor selection

Choose the ripple current as 30–40% of the maximum load current:

  • ΔIL = (0.3 to 0.4) × I_load(max)
  • L = (Vout / (fSW × Î”IL)) × (1 − Vout / Vin)
  • Peak current: I_peak = I_load + ΔIL/2. The inductor’s saturation current must be above this, and above the IC’s current limit if you plan to load it to 3 A.

For your test load, I_load = 9 V / 25 Ω = 0.36 A, so ΔIL ≈ 0.11–0.14 A:

L = 9 / (900k × 0.12) × 0.25 ≈ 20.8 µH, so 22 µH is the nearest standard value.

With L = 22 µH, the actual ripple is ΔIL = Vout(1 − D) / (fSW × L) = 2.25 / (900k × 22 µ) ≈ 0.114 A, which is about 32% of 0.36 A. The peak is about 0.42 A. At the full 3 A rating, 22 µH gives only about 4% ripple. That is fine for regulation but lower than the usual guideline.

3. Feedback resistors for the output voltage

  • Vout = 0.8 × (1 + R1 / R2)
  • R1 = R2 × (Vout / 0.8 − 1)

For 9 V with R2 = 40.2 kΩ: R1 = 40.2k × (11.25 − 1) = 412.05 kΩ, so R1 = 412 kΩ. Check: 0.8 × (1 + 412/40.2) = 8.999 V.

4. Compensation (R3, C3)

Your linear interpolation of R3 between the 5 V row (100 kΩ) and the 12 V row (147 kΩ) with C3 = 150 pF is:

R3 = 100k + (9 − 5)/(12 − 5) × 47k ≈ 126.9 kΩ

So 125 kΩ (or the nearby standard 127 kΩ) is fine as a starting value. Confirm it in simulation with a load-step test.

Performance and Simulation Test Results

Animation and Simulation Test Video of MP1584 IC:

The graph below shows the output voltage, the switching signal voltage, the compensation signal voltage and the current signal through inductor:

MP1584 IC Buck Converter IC simulation graph
MP1584 IC Buck Converter IC simulation graph
MP1584 IC Buck Converter IC simulation graph

Sawtooth Clock Signal Waveform

Sawtooth Clock Signal Waveform

Fourier Spectrum of Clocking signal

Fourier Spectrum of Clocking signal

MP1584 Datasheet IC Circuit Diagram

buck converter circuit diagram

Related Tutorials

Post a Comment

Previous Post Next Post