You Are Here: Home » Blog » Electronics News Updates » TORPEDO: an all-purpose switched-mode power supply

TORPEDO: an all-purpose switched-mode power supply

Having explained the theory, let’s see in practice the project of the SEPIC power supply.


In this post we discussed – on a theoretical level (even if in a simplified way) – the SEPIC switching converters, also highlighting advantages and disadvantages, and giving you the basics for the calculation of their components. Let’s get to the heart of the project, now; we will present a practical application of the previously explained concepts: a power supply that we named Torpedo. It is a switched-mode power supply with a SEPIC configuration, that was born in order to execute some tests finalized to substitute – when we were developing our Fishino UNO board – the underperforming linear regulator that was found in it, and in all Arduino boards. The features that we wanted were:TORPEDO an all-purpose switched-mode power supply

  • triple power source, that is to say: the USB, the battery and an external one;
  • wide range of values as for the input voltage: from 3 to 20 volts;
  • minimum output current of 500 mA, with the possibility to reach 1A and more, via an external source;
  • high efficiency, above 70% and possibly above 80-90%;
  • single-cell LiPo battery charger incorporated;
  • a transition from battery power to another source that is without interruptions;
  • 5 V output with high stability, having a low ripple and when varying the load.

As we will see later, all the project specifications have been respected in Torpedo.


Circuit Diagram

In order to better understand our circuit’s functioning, we may divide the diagram in three blocks:

  • input stage;
  • battery charger;
  • SEPIC converter.Diagram TORPEDO an all-purpose switched-mode power supply

The input stage is composed mainly of the D5 and D6 diodes, that coupled with the Q1 MOSFET form the power source selector.

We will momentarily neglect the Q1 MOSFET and deal only with the D5 and D6 diodes and with the protection diode that is internal to the MOSFET itself: the three voltages – coming from an equal number of inputs, BAT, USBIN and PS1 – directly polarize the three diodes and therefore tend to make them start to conduct, reaching up to U2’s VIN pin. Clearly, the greatest voltage among the three of them brings the diode to conduct and causes the interdiction of the other two, that turn out to be inversely polarized; this system is actually an OR power port, that is to say, it carries out the selection by bringing the highest voltage (among the three available ones) to VIN. The diodes prevent that the highest voltage goes to an input having a lower voltage.

For more detail: TORPEDO: an all-purpose switched-mode power supply

Leave a Comment

You must be logged in to post a comment.

Read previous post:
Making a Geiger counter with 555 timer IC
Making a Geiger counter with 555 timer IC

Radioactive particles are found abundantly in nature. Whether they come from space or generated on Earth (radioactive waste, medical X-rays,...

Scroll to top