2+D KY CONVERTER – SIMULATION IN MATLAB -12 V TO 26V BOOST CONVERTER DESIGN

Photo of author

By Jackson Taylor

Home » Electronics Topics » Power Electronics » 2+D KY CONVERTER – SIMULATION IN MATLAB -12 V TO 26V BOOST CONVERTER DESIGN

This article walks through a MATLAB Simulink simulation of a 2+D KY converter that raises a 12 V DC input to about 26 V DC. The video below shows the model running, and the download link at the end gives you the design file so you can open it and try it yourself.

DOWNLOAD DESIGN

What is a KY converter?

The KY converter is a DC-DC step-up (boost-type) topology. It is usually described as a converter that combines a boost-like input stage with an output stage built around a switched capacitor and a synchronous switch. Compared with a basic boost converter, this arrangement is generally credited with continuous input current, low output voltage ripple and a fast response when the load changes.

Several variants exist, and the names “1+2D” and “2+D” usually refer to how the voltage gain depends on the duty ratio D. The exact gain expression depends on the circuit used in the model, so check the schematic in the download rather than relying on a general formula. If you want to compare the two versions, the 1+2D KY converter simulation follows the same 12 V to 26 V target.

Hardware Hack

Stop Buying New Batteries for Your Tech

Electronics are expensive, but their power sources don't have to be. Discover the simple engineering trick to recondition dead batteries and bring your gadgets back to 100% capacity.

Watch the Free Video

What the simulation shows

The model takes a 12 V DC source and produces roughly 26 V at the output. That is a step-up ratio of a little over 2. A step-up of this size is useful when a low-voltage battery or small source has to feed a higher-voltage load.

The simulation is open loop in the basic version. A fixed duty ratio drives the switch, and you read the resulting output voltage from a scope or display block. This makes it a good way to see how the circuit behaves before adding any controller.

How to set up the model in Simulink

If you are rebuilding the circuit instead of opening the file, the usual workflow looks like this:

  1. Add the source. Use a DC voltage source set to 12 V.
  2. Build the power stage. Place the inductor(s), capacitor(s), diode(s) and the MOSFET or IGBT as shown in the schematic.
  3. Add the gate drive. Use a PWM generator or a pulse generator with a set switching frequency and duty ratio, connected to the switch gate.
  4. Add the load. A resistor sized for the power level you want is the simplest choice.
  5. Add measurement blocks. Voltage and current measurements on the input, output, inductors and switch let you check the waveforms.
  6. Configure the solver. Power circuits with fast switching usually need a variable-step stiff solver such as ode23tb, or a discrete solver with a small fixed step.
  7. Run and observe. Let the simulation run past the start-up transient before you read the steady-state values.
See also
BI DIRECTIONAL AND SPEED CONTROL OF AC MOTOR USING ARDUINO

Choosing the duty ratio for 26 V

For a plain boost converter in ideal conditions, the output is Vin / (1 – D). Getting 26 V from 12 V would need a duty ratio of about 0.54. The KY family has a different gain curve, so the duty ratio needed for 26 V will be different in this circuit. The practical approach is to start from the value in the design file and adjust it in small steps until the output settles near 26 V.

Real components have losses, so the output will usually be slightly below the ideal calculation. Increase the duty ratio a little if you need to compensate, but avoid pushing it too high, because efficiency and stress on the switch get worse.

What to check in the results

  • Output voltage: does it settle near 26 V at the chosen load?
  • Output ripple: look at the peak-to-peak variation once the voltage is steady.
  • Input current: in a KY converter it should be continuous, without large gaps.
  • Inductor current: check that it behaves as expected and does not drift or saturate.
  • Switch voltage and current: these tell you what ratings a real MOSFET and diode would need.
  • Response to a load step: change the load resistor mid-run and see how quickly the output recovers.

Going further

Once the open-loop model works, there are a few useful next steps. You can add a feedback loop to hold the output at 26 V when the input or load changes. Our page on closed loop control in a boost converter shows how that is set up in Simulink, and the fuzzy logic controller example shows a different control method on a similar voltage range.

If you need to review the basics first, the boost converter design article explains how inductor and capacitor values are chosen. Those ideas carry over to the KY topology, even though the exact formulas differ.

Common problems

  • Output stays at 12 V or drops: the PWM signal may not be reaching the gate, or the duty ratio is too low.
  • Simulation runs very slowly: the switching frequency is high relative to the step size, so try a different solver or a larger maximum step.
  • Large spikes in the waveforms: ideal switches with no snubber can produce sharp spikes in simulation. Check the switch and diode parameters.
  • Warnings about algebraic loops or a missing powergui: make sure a powergui block is in the model.
See also
BOOST CONVERTER DESIGN

FAQ

What does “2+D” mean in the converter name?

It describes the form of the voltage gain of this KY converter variant in terms of the duty ratio D. Check the schematic in the downloaded design for the exact circuit and its gain expression.

Which MATLAB version do I need?

You need MATLAB with Simulink and the Simscape Electrical (formerly SimPowerSystems) tools for the power components. If the file does not open, an older release may have been used, so try rebuilding the circuit from the schematic.

Can this simulation be used for real hardware?

It is a starting point. A simulation with ideal or simple components does not include all losses, layout effects or switching behaviour, so you would need to select real parts and test the circuit carefully.

Sustainable Tech

Keep Toxic E-Waste Out of Landfills

Don't throw away your failing laptop, phone, or car batteries. Learn how to recondition them at home in just a few hours. It's better for the planet—and your wallet.

Learn How It Works

Why use a KY converter instead of a basic boost converter?

It is typically chosen when continuous input current, low output ripple or fast load response matters. A basic boost converter is simpler and may be enough if those are not requirements.

Revive Your Dead Electronics

Got a drawer full of dead gadgets or a failing car battery? Instead of paying a premium for replacements, use this simple trick to easily recondition them right from home.

See How It Works