Skip to content

kamilsss655/vectatus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

vectatus

Vectatus - universal portable DC/DC converter

7

Introduction

Vectatus is meant to be a portable, universal, programmable DC/DC converter that resolves most of the common power interfacing issues like not having the right battery, or a correct charger at hand.

The device will provide a set of LEDs indicating device operating mode, input voltage, output voltage, warnings, errors etc.

User will be able to switch different modes via onboard buttons. This way no multimeter is required to operate the device, as it usually is the case with traditional DC/DC converters.

Selected modes should be stored in EEPROM, so they do not change in case of power failure. There also should be user lock option so, the mode cannot be accidentally changed possibly causing damage.

Device will provide connections for output and input via:

  • pads for attaching wires or alligator clips
  • USB type C port
  • common lipo battery connector

Operation

The idea is to have MCU (STM32 probably) run independendly from a wide range of input voltages 0.6V-20V. The MCU power circuit will choose boost or LDO power path automatically for the MCU based on the input voltage.

The DC/DC converion is done from the input source and to output. MCU has it's own power path which is pararell to the DC/DC converter part.

The DC/DC converter topology will either be:

  • non-inverting buck-boost
  • SEPIC

SEPIC seems favorable for this kind of application due to decoupling capacitor acting as a short circuit protection.

The MCU will measure:

  • input voltage
  • input current
  • output voltage
  • output current

Above set of data is enough to dynamically measure efficiency, so the MCU can adjust conversion parameters like frequency etc. in order to achieve best efficiency.

Features:

  • reverse polarity protection on input
  • short-circuit protection on output
  • overcurrent protection on output and input
  • overdischarge protection
  • soft start
    • slowly ramp-up the voltage at start
  • overvoltage protection on output when load is disconnected
    • when voltage is raises 2-3V above preset value, immediately turn the duty cycle to 0 to prevent voltage spikes
    • might require crowbar circuit as well

Operation modes

  • CV (Constant Voltage) - provide stable voltage for powering different devices
  • CC (Constant Current) - provide constant current which can be used as a LED driver or a charger
  • Charger - dedicated charger mode that can consist of CC/CV based on the specific needs of the target battery

Input sources

  • 1.8-20V solar panels
  • 2 x 1.2V NiMh battery - needs to be protected from overdischarge
  • 2 x 1.5V alkaline - can drain batteries that are classified as "empty" due to joule thief design
  • 3.7V LiPo, Lithium-ion battery - needs to be protected from overdischarge
  • 5V USB - needs overcurrent protection
  • 9V battery
  • 12V car battery - needs to be protected from overdischarge
  • 18V power tool battery / laptop battery - needs to be protected from overdischarge

Output sources

  • 1.5V - emulates single AA, AAA battery
  • 3V - emulates double AA, AAA battery
  • 3.7V LiPo, Lithium-ion battery - acts as a charger or emulates a battery
  • 5V USB - for powering USB devices
  • 9V - emulates 9V battery
  • 12V - emulates 12V battery or acts as a car battery charger
  • 18V - emulates 18V battery (no support for charching multi-cell batteries due to design limitations)
  • manual mode - CV 0-20V, CC 0-3A adjustable via buttons (user needs multimeter)

Use cases

Here are some examples of use cases:

  • User has one AA 1.5V alkaline battery but wants to use 3V 2xAA battery device
  • User has one AA 1.5V alkaline battery but wants to charge the phone via USB C cable
  • User has 2X AA batteries, but wants to use 9V battery device
  • User has a solar panel, but wants to charge the 3.7V LiPo battery
  • User has a solar panel, but wants to charge the phone via USB C cable
  • User has a solar panel, but wants to charge the 12V car battery
  • User has a solar panel, but wants to charge the 18V power tool battery
  • User has 5V USB C charger, but wants to charge 12V car battery
  • User has 5V USB C charger, but wants to charge 3.7V LiPo battery
  • User has 5V USB C charger, but wants to use 3V 2xAA battery device
  • User has 5V USB C charger, but wants to drive power LED at 0.5/1A constant current
  • User has 3.7V LiPo battery, but wants to power 5V USB C device
  • User has 3.7V LiPo battery, but wants to power 9V battery device
  • User has 18V power tool battery, but wants to charge the phone via USB C cable

MCU candidates

Here is a list of potential MCU candidates for this project:

  • STM32G431CBU6
    • higher cost STM32 solution with programable gain op-amp
    • it has USB PD controller so it could be possible to use 5V, 9V, 12V, 20V from the USB PD sources
    • widely available
  • LGT8F328P
    • low cost Atmega clone with some improvements
    • the programable gain op-amp is especially appealing for this use case
    • availability and support might be questionable
  • RP2040
    • claims high speed hardware PWM
    • needs further reasearch

MCU power circuit

V1: mcu-power

V2: vectatus-2

V3: Decided on a different solution. Not ready to be published yet though.

DC/DC converter circuit

...

Contributions

The project is still in the design phase. If you have any ideas, suggestions let me know in the Discussions section.

If you'd like to move this project forward any donations towards prototyping and design are welcome.

About

Vectatus - universal portable DC/DC converter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published