Doorgaan naar hoofdcontent

Fixed voltage on cheap buck converter (MP1584) conversion with single 0805 resistor

Everywhere I look on the Ali and Ebays I see these step down converters based on MP1584.
I bought a couple and actually they are not bad at all.


The output voltage is set by the trimming-resistor in the left top corner of the picture.
This works OK, but.. it is dangerous because it is rather sensitive to the touch.

I decided that I wanted fixed output, so I had to figure out how this thing worked.
The datasheet looks like this :

R1 in the datasheet is what I call "R feedback" in my image.
The value of R2 is mostly 8.2K Ohm in the boards I have seen. 



So to set some common values for output voltage:
change R1 to 27K for 3V3 output (actually 3.4 volt, but 27K is a standard value)
or
change R1 to 43K0 for 5.0 Volt output. (43 K is a standard value)
A standard 0805 size resistor fits precisely, how convenient ;-).

Make sure the other resistor is really 8.2K because that determines the feedback ratio.

This way you can not burn up your circuits by accident (or some funny clown turning the potentiometer)

There is an online tool to help you figure all the values out : https://www.monolithicpower.com/en/design-tools/design-tools/dc-dc-designer-online.html?PN=MP1584/


Reacties

JHM zei…
Hello:

I've been looking at running one or two of these off a PS from a Sun array that has a very solid 12V/5V output at ~23A and 30A respectively to get a couple of additional variable outputs for a bench, with a heatsink on the other side of the the PCB, of course.

I know it is an old post but ...
Do you recall the value of the variable resistor?

I was wondering if it could be substituted with a multi-turn wire pot.

TIA,

JHM
#oetelx zei…
https://www.monolithicpower.com/en/design-tools/design-tools/dc-dc-designer-online.html?PN=MP1584/ will help you.

But as a rough ballpark value... I would use a 50k pot, that should get output values from about 1 volt upto just above 5 volts, which is what I need most of the time.

Good luck with experimenting. If you have any succes please post a reply.
JHM zei…
Hello:

Thanks for taking the time to write back. =-)
And for the link.

But it takes me to a place where I am rather over my head: I'm just a hardware tinkerer who manages to solder some, albeit not too well.

My idea is to keep this thingy well within it's specs, replacing the original SMD pot with a multi-turn one of the same value so as to get roughly the output the manufacturer of the board *says* you can get but with the possibility of a finer and more reliable adjustment and a higher thermal stability.

I guess a 12V input can get me a decent range from 5V to 11.5V and if I find I need a range below 5V, I could maybe add a second board for that range.

Page 14 of the spec sheet indicates that the chip cools through thermal conduction from a pad on it's underside exposed to the PCB and the ground plane through some tiny holes on it, thermally connected with some solder.

But I doubt the copper is the proper gauge for that, at least not at this price point.

I've seen some tests on-line that show it is not good over 1.0A as the built-in thermal protection will kick in, but maybe a decent sized heatsink taped to the underside of the board could help.

Nevertheless, I forsee that mounting these things properly will be a challenge.

Cheers,

JHM
#oetelx zei…
Ok, I will take a look at this.
So we assume input is >= 12 Volt and below 15 V.
Output current is up to 1.0 Amp.
Output voltage is between 5.0 and maximum, about 11.5.
We need to adjust the UVLO (under voltage lockout, so if voltage drops below required output voltage the thing will shut down instead of hicking and behaving badly)
What is the exact load/application you want to use this thing for?
JHM zei…
Hello:

> Ok, I will take a look at this.
Thanks a lot ... =-)

> ... assume input is >= 12 Volt and below 15 V
This is a FDK PEX737-40 PS made in Japan for Sun Microsystems.
Has no SMD components on the board so it is rather large by today's standards but it is impressively well built. Like the HP/IBM iron from long ago.

Label states 'total max. continuous 360W' +5V 30A (L3) and +12V 23A (L5).
Given the OEM and quality of Sun hardware, I expect the output tolerances and regulation to be very tight, so maybe 15V is too high.

> ... between 5.0 and maximum, about 11.5.
Yes, I have 5V from one rail and 12V from the other.
Don't think the converter will go over 11.5V.

WRT the current, if using a heatsink will get a stable 1.5/2.0 that would be ideal. I will probably be adding a polyswitch to the variable output and 20mm fuses to the 2x12V and 2x5V outputs.

> What is the exact load/application ...
Just for the usual tinkering stuff, nothing specific.

eg:
My RPi3B+ complained at boot because the crap PS I was using dropped a bit for just a under 1.5 seconds as noted in dmesg but then recovered.

The cause was the old 40Gb portable IDE HDD drawing power from the same PS and I did not have a bench PS to test that, which led me to get this out of the closet to see if I could repurpose it. I try to recycle any hardware that comes my way.
#oetelx zei…
Ok, I think you want to give every critical device its own POL (point of load) regulator. So the Raspberry-3B its own 5.25 Volt (yes a bit higher) POL power supply, do not use a polyfuse in series, it will drop too much voltage. The little MP1584 board will survive a short circuit. Also use separate POL regulator for other parts. Connect ground wires in a star topology. Keep wires short. Use decoupling capacitors on the devices, eg. small capacitor added between GND and 5 Volt rail of the Raspberry. Do not feed the raspberry using the USB (bad cables), use the pin headers. Keep voltages stable. Use wires of good thinkness, like AWG 22, real tinned hookup wire. (no thin recycled flat cables)
#oetelx zei…
I think this has been done before... wait... it was me : Here on this blog
JHM zei…
Hello:

I'm sorry, my text was rather confusing: the exSun PS is not for the RPi, it is to have a general purpose PS to be able to check problems like the one I had with the RPi and just test hardware/stuff to see if it works.

ie: 2x+5V, 2x+12V and the +5V -> +11.5V variable output, if possible up to 2.0A.

The RPi PS problem got solved with a small 5V/9.5A 12V/1.2A 50W PS from a router to which I had to add a 10W 10Ω load so that it would put out a stable 5.25V. I connected the outputs to the remains of an old laptop plug-in type USB1.1 hub, shorting the data lines and adding 30V/1.5A polyfuses to each of the four ports. The power cable to the RPi is a short (20cm) charging cable from one of my Blackberrys. It's AWG28, works a charm.

Only thing I don't have is the decoupling capacitors.

Best,

JHM
JHM zei…

I'll have a look ...

And yes, I was hoping for something more from my RPi3B+
But besides the fact that it is 64bit, my Asus 1000HE does more or less the same and has 2.0Gb instead of 1.0.

BTW: bright white lettering on a bright yellow background is very hard to read.

JHM

Populaire posts van deze blog

Denon DHT T100 DESIGNED TO FAIL : bad caps (ceramic caps this time)

A friend gave me a Denon DHT-T100 to look at.
Do not spend much time on it.. ok.


It had a problem, it started clicking and ticking after power on, and after some time.
(a so called intermittent problem)

Sometimes it did not tick or click, but it was basically not usable.
The clicking had a sharp click in one channel and repeated after about a second, then sound recovered and it would click and drop out again.

He told me, do not spend any time on it, yeah, right. ;-) like I would give up after 15 minutes.
I wanted to know what was going on with this thing, I found some schematic online and started measuring the usual things.

The power supply, 24V did it drop down when a tick occurred ? Difficult to find out because sometimes the thing would play for hours without a glitch.

I eventually found out the 24 V PSU, the step down SMPS on board and the LDO's were all ok, all power rails remained within spec, but it still glitched sometimes. (while power was ok)

I investigated methodically,…

Raspberry Pi, PyFace Digital, the lost documentation, I found it finally

The Raspberry PI or R-pi from http://www.raspberrypi.org/ is well known these days.
It is not an accident that I have one, I have been doing Linux stuff since 1991, and professionally since 1996 I can not skip over these developments, have to keep up with the new kids. :-)
Times have changed, hardware has become very affordable, everybody knows the Arduino, Raspberry Pi and Beagle-Bone-Black (BBB). Not everybody knows the stuff that http://www.acmesystems.it/ aka Acme-Systems and https://github.com/OLIMEX/OLINUXINO aka Olimex make, so I will endorse them here.
Since I am an engineer I expect to connect switches and relays to the boards and some documentation with products, not so with the "PiFace Digital" board, it comes without serious documentation, not a even the schematic. All links on their blog point nowhere. People asked them many times, yet nowhere is the schematic to be found.

I finally found some info after hours of google-work, someone made a copy!
https://github.c…

ESP32 IDF master update troubles (and fix)

I am using ESP32 IDF for some private experiments. (more info later)

I really like it, not like some Arduino hobby IDE, that is a  half done, non-professional project.
I see a lot of people writing stuff like "do ESP32 in Arduino" this is completely backwards, you should avoid anything Arduino-related. You can not use Arduino in a real project, it can not be controlled, it is doing "magic" things and breaks everytime. You guessed it: I do not like it. ;-)

The ESP-IDF works really well uses cmake, is well documented, I use visual studio code insiders or clion van jetbrains to coordinate my coding and GIT to store my stuff.

I am really impressed with how well it works. Including flash-upload, debugging all works fine.

A few days ago I updated the IDF to the latest version and got errors:


$ git checkout master
$ git pull

remote: Enumerating objects: 1492, done.
remote: Counting objects: 100% (1492/1492), done.
remote: Compressing objects: 100% (213/213), done.
remote: Total…