I do have some skills on KiCad but eveything I do is normally very basic - has no requirements and allows me to design the board with a lack of responsability or guidelines to follow. However, to design a boost converter it is necessary to be careful in the way the design is made.

The idea was (and still is) to design a boost converter from 5V to 12V, and so it should match these criteria:

  • Work with USB-C@5V.
  • Have a switch On/Off.
  • Find and use a boost converter with, at least, 90% of efficiency.
  • Support two outputs.

First designs

I did 4 different designs before making it work! Yes, f o u r different ones. It took a lot of time because I underestimate the amount of effort and time to place on this project in order to succeed. Noobie mistake.

This project started in July and only in November I had the desired 12V at the output of the board. It takes some time to design and order, and also, the shipping time, which is around 2 weeks. Normally, I would put 2 to 3 days during a mounth to work on this.

First board (v0.1)

First board was bad. Had design issues and the Bill of Materials was wrong.

One of the most important parts of a boost converter is the inductor. It is its responsability to charge and discharge, and therefore output a higher voltage. If the inductor cannot handle the amount of current passing through and used to charge/discharge, it will burn and the boost converter is useless without it.

IMG_5714

You can clearly see in the image above, the inductor (top of the board, above the boost converter footprint) was dead 😛. Also, the design is awful! Traces don’t follow a pattern, quite random design.

v0.2

Board v0.2 was still to fix previous problems on the board. The design was very much the same, I only changed the footprint for the inductor. Instead of using a regular 6.8uH 0603 inductor, I choose to use a new one based on LM2621 DATASHEET:

The LM2621’s high switching frequency enables the use of a small surface mount inductor. A 6.8-µH shielded inductor is suggested. The inductor should have a saturation current rating higher than the peak current it will experience during circuit operation (see Figure 10). Less than 100-mΩ ESR is suggested for high efficiency. Open-core inductors cause flux linkage with circuit components and interfere with the normal operation of the circuit. They should be avoided. For high efficiency, choose an inductor with a high frequency core material, such as ferrite, to reduce the core losses. To minimize radiated noise, use a toroid, pot core or shielded core inductor. The inductor should be connected to the SW pin as close to the IC as possible.

Therefore, I looked up for avaialble inductors in TME and got this one - DLG-0504-6R8 FERROCORE. Although the inductor is unshielded, the inductor is made for DC/DC conversions and supports a peak current up to 1.6A.

IMG_5850

The next version of the board could definitly have a shielded inductor!

v0.3

Now that the BOM seemed OK, I thought the next board, the third one, would work. How wrong was I :)

I’m still not sure what was the problem with this version of the board - design was not great, but it should, at least, work inefficiently.

IMG_5851

This time I included a LED to give me some feedback if power was comming from the USB-C cable. Still quite useless - in a user experience view, it is much more useful to have a LED to know if the board is On or Off (next board!).

Was also working on this design I started to ask people online (Reddit) about boost converter design guidelines. A gentle soul shared this document with me: Five Steps to a Good PCB Layout of a Boost Converter and told me to look up for delevopment boards that used the same boost converter (which normally manufacturers have).

v0.4

This board was my last attempt to make this work. It actually worked, but I had to re-solder almost every component again. Added some cables to input 5V directly into the board using a lab power supply and check the amount of current drew.

IMG_5852

With a fan in the output working at 12V with an output current of 200mA, the board draws ~600ma. We can check if this value is reasonable by verifying if the effecency of the boost converter is close to the 90% stated on the PAM242 datasheet:

Not far from the desired and stated 90% but it could be better with an improved design 😁.

v1.0

Finally, a board with a great design and, in my opinion, quite aesthetic!

IMG_5854

You can see the zones created around the components. Much better than using traces to connect everything!

IMG_5853

Black PCBs look amazing!

Download PCB

Improvements for upcoming new versions

  1. The USB C interface doesnt support Power Delivery, and so it doesn’t work if connected to a MacBook Pro, for instance. This is quite concerning since the world is shifting into using PD more and more. I want to make this more universal.
  2. Two 12V output are not as usefull as one 12V plus other one at 5V. Changing this would make the product support more types of fans.
  3. Portability is key nowdays. If this is small I can make it portable as well. I don’t mean it to walk around with this on my pocket, but for organizing purposes - it is way easier if the product is just plug and play.