yaodema

Eventual artist

  • she/they

https://yaodema.com/


building the Hyperion setting, writing and drawing comics for that and others' worlds -- plus making tools for others to use for their own art!


Researchying (OOPs lore and other things)


I made that transformation hazard sign
(and self-replication too)


Zelda years old (1986)


-pegasus
@-pegasus

Our first electronics project is also one of the most useful tools for electronics projects - a bench power supply. While you're probably reading this in a room with dozens of power supplies, (Phone, laptop, whatever) using them will come with a ton of problems.

Generally speaking, power supplies are designed to give no more power than the thing they were sold with could ever use, and only at the voltage (or voltages) that gizmo was designed for.

A lot of them are cheaply made, too. Sometimes important safety features are left out because they never expected them to be used for any other purpose. If your project needs more power than they're meant to give, the results are impossible to predict. They could be catastrophic.

I like making things and I don't like house fires, so let's build a safe, controllable power supply. As a bonus, you'll learn the fundamentals of electronics, stuff that you'll take with you to every following project.

====

Let's have a look at what we're aiming for:

A drawing of a bench PSU's front panel

Only the finest illustrations!

This is our demonstration Bench PSU, an imaginary model I just made up.

It has Four displays, two knobs, a button, three sockets, three indicator LEDs, power and reset controls. Don't get overwhelmed! Let's break them down bit by bit.

VOLTAGE

The diagram is cropped and the voltage section highlighted

Voltage (Symbol = V) is a measure of electrical pressure. That is quite literal, it describes how hard the electricity will be forced through whatever it is you've connected it to. The more voltage is forced through, then the more power will be able to come along for the ride.

That means that controlling the voltage is EXTREMELY important. If we don't supply enough voltage to whatever we want to run, it just won't get enough power. It'll act strange or just not work.

Likewise, if we supply too much voltage, we can have results anywhere between "my model train is going too fast" to "oh, it's on fire now".

The display shows us exactly what the voltage output is that very moment, and the knob adjusts it smoothly from zero to maximum. There is no keypad nor enter key because it can be useful to see how a circuit behaves when voltage is brought up smoothly, rather than in steps, or all at once.

CURRENT LIMIT

This time, the current controls are highlighted

This section is current control. Current is measured in Amperes, usually shortened to Amps (Symbol = A)

If Voltage is a measure of electrical pressure, then Current might be thought of as how wide the pipe it's coming down is. Current is very different from Voltage in that it's consumption is not forced, but instead up to the circuit that's consuming it.

For example, say we have a lamp which is designed for 12 Volts and 0.5 (one half) Amperes. If we connected it up to a power supply of 12 Volts and 5 Amperes, it would happily light up without a single problem. It would take the 0.5A that it needs, and ignore the remaining 4.5 Amps the supply could give.

That makes it sound like it's not important to control current, and a lot of the time, that's true. However, it's possible for a damaged or wrongly made circuit to short out, or otherwise pull far too much current than it should do. If that happens, it could become a fire hazard, or maybe make a sudden loud bang with nasty ass smoke pouring out, so we better control it just in case.

Unlike with Voltage, we don't set an exact amount of Current. Instead, we set an allowed maximum. The display shows this, and the knob adjusts it much like with the voltage control.

Status LEDs and reset button

If the allowed current is exceeded, the power supply will detect this and immediately cut the supply. A buzzer will sound, the green LED will go dark, and the red LED will light up. The supply will stay cut until either the PSU is turned off and back on again, or the RESET button is pushed.

It goes without saying, but you should probably disconnect whatever tripped the cutoff circuit before resetting the PSU!

Outputs

Power outputs and current draw

The Red socket is our power output, at whatever voltage you set. Above that is the Current Draw indicator, which shows you the actual amount of current your project is using.

(If you want a straight power number, you can multiply Current draw * Volts. The answer is your power in Watts, Symbol = W)

The Green socket is GND (Ground, Common or Earth), the return path back from what you're powering, and so has Zero Volts. It exists to complete the circuit, a mandatory electricity thing, without which nothing would work.

Negative power output and current draw

The Black socket is electricity's Dark Gary. It does the equal and opposite of the Red socket, providing negative voltage. That is to say, if Red pushes electricity "towards" ground, then Black sucks electricity "away" from ground, to itself. Why would we want this?

Well, it's a surprise tool that'll help us later.

NEXT UP: Bench Power Supply Part 2: We have to talk about Mains Electricity now unfortunately

If you'd like to see this series continue, and you can afford it,
please put a buck in the tip jar!

I earn only £800 a month, spend more than half of that on rent alone, and so supplies and tools are a significant expense. Your support would be greatly appreciated! Who knows, if this really takes off I might buy a freezer.


You must log in to comment.

in reply to @-pegasus's post:

A good introduction, but I'd mention a few things:

Where voltage is essentially electrical pressure, current is essentially electrical flow, and is literally how much electrical charge flows through a cross-section of wire. Also, the width of the "pipe" is more analogous to electrical resistance/impedance, not current. A resistor can be modeled like a section of pipe that's much less wide around than the (copper wire) pipes on either side.

I'd also add that ground voltage is nothing more than a chosen reference point that other voltages in the circuit are relative to. It does technically have a nonzero "pressure" and one device's ground isn't necessarily equal to another's unless they're shorted together into a common ground. This typically won't cause damage or a safety hazard, but it's good to be aware. You could maybe think of ground like atmospheric pressure, and unequal ground voltages like how different atmospheric pressures cause the air in a bag of chips to expand or shrink depending on the packing plant's location relative to the store.

This is written for a beginner audience, covering a limited amount of information, explained at a pace and with a level of detail intentionally constrained so as not to overwhelm.

If you have two water pipes at the same pressure but one has a larger diameter it will flow more water. That is the entire extent of the analogy. As such, electrical resistance is a separate topic for another post.

Grounds being relative is also a separate topic for another post. It's not useful to cover it yet. Eventually there will be an appropriate time for all sorts of things, like how sometimes we don't need a direct ground connection, or how electrons are actually negative particles and common conventions are wrong, etc. But not now.

the usual black/red/green lab power supply terminals at least used to mean negative terminal of power supply, positive terminal, and earth, the last provided in case you want to connect one of the output terminals to it. there's often a bit of metal attached to the green terminal that you can connect to the red or black one depending on whether you want the other to be -xV or +xV.

(or you can leave it disconnected, but don't expect to float the power supply very far from earth gnd; but you can avoid adding another gnd connection to a circuit that already has a perfectly good one).

being a balanced power supply the gnd terminal is tied to the centre tap of the transformer secondary winding. Also to earth ground, if built with a three pin wall power plug

the +VE and -VE roles are fixed because one has a positive regulator and one has a negative regulator.

Pinned Tags