Hello builders!
I've seen a lot of arduino based bench psu-s, so i wanted to build one. The main part of this project that is is almost free of charge, with main components I already have.
I plan to post pictures and a summary of the project, as well as asking some questions at the beginning. This project might be interesting for those who aren't involved to serious electrics, and can't build their own super-duper switching supply.
I began heavy planning and building some days ago, but I ran into problems.
My plans are as follows: If you have better ideas, don't hesitate to tell.
-it is based on two 65w notebook power supplies wired in series: exactly 38V (works so far)
-Use an ATX psu as enclosure
-achieve full voltage and current limit adjust with a buck converter, or more buck converter boards in parralel for bigger current.
-Include an arduino pro mini with a 1602 lcd for extended functionality for the future.
Here comes the harder, and the really hard point:
-drive and set the parameters using an arduino
- include an encoder with few switches to set CC/CV
The software isn't a problem imho, but with the hardware part i have issues
These modules use potentiometers (resistor dividers) to set the desired voltage and current limit.
1st concern:
Current:
Using a 20A ACS712 ebay module it shouldn' be a problem, i have ordered it already. It has 2.5V nullpoint, with 100mV/A feedback. At 10Amperes it is 3.5V, perfect ![]()
The arduino has 10 bit ADC, which translates to roughly 0.005V resolution. A minimum of 0.05A can be measured, not the most precise, but with this part it is more than acceptable.
Voltage:
The input for arduino is maximum 5V, 10bit. If I want to measure the full 35Vscale, i'd need about 6.5:1 resistor divider as a safety margin. 0.1Volt output change will be shown as 0.013V at ADC in, 0.035V output change is measureable.
With precision resistors, it can be done fairly precisely.
My problem: Setting those values!
Many-Many problems. Maybe here is the death of the whole project.
- From the factory, it is done by small multi-turn trimpots.
I have a smaller cc-cv buck module, it uses 1kOhm and 10kOhm pots, but i think only the divider is important, the actual resistance isn't.
-
There are digital potentiometers exist, they are not cheap, but exist.
The ebay budget one MCP410xx series have a resolution of 256 steps.
-Theoretically, I have to control 0-35Volts, maybe a little less, but for simplicity it is. 35V/255=0.13V
This is not the most precise.I t will be a "lab" psu it could be better.
-A maximum rating of 10A with this 256 steps is 0.04A, that is what we speak about! 1/20th Amps is some kind of precision.
-The 10bit digital potmeters are quite expensive, and available only in surface mount micro packages. -
The digital pots also have a rated current. I heard somewhere that is is about 5mA.
I looked at the datasheet, and the potmeter is wired parralel to the Voutintthe module. At 35V/10kOhm, the flowing current is 3.5mA, close to the maximum.
So, that is my project goal, I'd e interested what are your thoughts.