Power Supplies

Power supplies

Working with electronic-circuits means you are always in need of ‘power’. A lot of circuits work with battery operated power. This is not really dangerous and if the battery ‘dies’ on you, you just buy a new one. But for a lot of reasons (environmental, money, more power) it’s a better choice to make use of power-supplies.

A power-supply takes its energy from the wall-socket (in Europe 230V AC/50Hz / USA and Japan 110VAC/60Hz) and converts this into low voltage DC.  So before we have a power-supply that provides us with (let’s say) +9VDC, there are some important steps to take.

Transformer

The first thing is to transform the 230V~ (Europe) down to (for example) 12V~. This is done by a transformer. A transformer is in its fundamental a piece of metal with two coils wound around it. See the picture (thanks Wiki).  The red wire is the primary winding and the blue wire is the secondary winding.

The red wire is connected to the mains (230V~) and is inducing a magnetic Flux within the metal core (green dotted line). In the blue wire, wound around the same metal core, an electric current will flow (induced) because of this magnetic flux. If the amount of windings on the primary side (N1) is equal to the amount of windings of the secondary side (N2), the voltage on the input and output are equal. But let’s say the primary coil has 1000 windings and the secondary coil has 100 windings, the output voltage (the secondary voltage) will be 23V~ (230 * 1/10). So the proportion of the primary and secondary windings ( N1/N2) determine to which value the voltage is transformed. In practise there are values that vary from 6V~, 9V~, 12V~, 15V~, 18V~, 24V~, … Note that the output (~) is still an AC signal. It has a smaller amplitude but it still has the same frequency (50Hz).

Important notice is that a transformer only works for AC! 
Since the coil is just a long wire, it’s (dc) resistance is low and when a DC-voltage is applied, the current will be too high (the coil can burn). For AC-signals a coil acts as a resistor, so for AC the current will be low(er).
The other reason why only alternating signals works for a transformer, is that we need alternating current to create a constant changing magnetic field (flux). Due to this changing magnetic filed, a current will be induced in the secondary coil.

Recitification

The next step in the design of a dc-power-supply is to ‘rectify’ this low secondary AC-output of the transformer and change it into a DC-signal. This is achieved with the use of 4 diodes actually placed into a bridge-circuit, also called Greatz circuit. These 4 diodes connected to an AC-signal will double rectify the AC-signal. If a big capacitor is placed parallel to the output of the diode-bridge, the rectified output will be smoothed and the ‘gaps’ between will be filled. See the figure below.

Voltage regulation

The setup above shows the very standard and simple power-supply setup. The DC output of this setup still has some ‘ripple’ (= dsiturbance) on top of the DC signal (see the ‘capacitor’ part of the graph). To make a ‘perfect’ straight DC output, we make use of so called regulators.

Regulators, like the ‘7809’ in the example above,  do come in all kind of forms or shapes. The 78XX series are positive regulators and the number (XX) determines the value of the voltage they will regulate. Of course this is only possible if the voltage in the input is higher than the regulated output. In general the difference between the in- and the output should be at least 2,5V. The capacitors used on the in- and output of the regulator are here to avoid oscillation and they are placed as near the regulator as possible. The power supply with only +9V output is also called a ‘unbalanced’ power supply. It is only one value.

If you want to work with audio circuits you most likely need a balanced power supply. This is a supply that provides you with both plus and minus values. An example below:


Single sided power

Unbalanced power supply

When you are in need to power your circuit, most of the time you will use a battery (or a powersupply as decribed above). A single battery provides you with only (for example) +9V DC in relation to the 0V – hence the plus and the minus connection. Take a look at the picture below.

For a lot of circuits this single battery will be fine. It can provide the circuit with 9V and a small current of (more or less) 100mA. If you want to power an audio circuit (opamps for example) with only one battery, then you will encounter a challenge. An audio signal (AC) is positive AND negative! If you think about a speaker that generates sound, the membrane of the speaker will move forwards but also backward – through the zero (rest) point. See the picture below with a speaker moving forward (+) and backward (-).

A circuit that amplifies an audio signal needs to have ‘balanced power’. A single-sideded powersupply (like a battery) can not provide this- it is only positive. If you would connect an audio amplifier to a single sided powersupply, the picture below shows what will happen:

The negative part of the sinewave cannot be amplified, because there is no negative power! So how can we make sure that the negative part of the sinewave will be amplified as well? The answer: use a balanced power supply. This is a power supply with two sources, placed in series.

Double sided power supply

Balanced power supply

If we take two batteries (or voltage sources) and place them ‘in series’, we actually create 3 points. We have the plus, the zero and the minus. In general plus (+) is indicated with red, ground or zero with black and negative (minus) with blue.

IF we now want to amplify a sinewave, we have positive AND negative power available and the audio signal can be streched up and down. See the graph below.

Create simple balanced power

There is also a possibility or ‘trick’ to avoid the use of two power sources or batteries. Like explained in the fundamentals and ‘Ohms law’, you can also create a voltage divider with two resistors. The two resistors divide the voltage in two equal parts, e.a. 9V divided by two creates two times 4,5V. See the image below:

The middle point (0V) can now be used as ‘ vritual ground or ‘signal ground. In reference to that point you have +4,5V and -4,5V. We have balanced power. The signal-ground (virtual ground) should not be mistaken for the real ground. It still has a potential voltage of 4,5V. Circuits tat make use of this setup always have to apply a capacitor to get rid of the DC component.

Ohms law

Ohms law

Some basics of electronics

To be able to understand a bit more about electronics and the circuits that are shown on this or other websites, it is actually inevitable to understand Ohm’s law – it makes live a bit easier. You have to understand what happens with the current, the voltage and the resistance. All these three variables are linked and make part of  ‘Ohms Law’.


In formula:  U = I x R  


The voltage  [V] is a product of the current {A] times the resistance [Ohm])

A graphical representation of this formula: when you look to the triangle from one of the three angles, you ‘see’ the formula’s for every variable. If you look from the top you ‘see’ U = I*R. Looking from the left corner beneath, you ‘see’ I=U/R.

In other words: the higher the value of the resistor, the lower the current given a constant voltage (the battery). If the resistance is 0 Ohm, we call this a short-circuit. A short circuit will result in a undefined value (too high) of the current (dividing by zero is not possible)


Suppose you have a battery of 9V. If you connect a resistor of 1kOhm (=1000 Ohm) parallel, the resulting current will be:
I = (U / R) = 9 / 1000 =
9 mA = 0,009 Ampere (A) (9 mili Amp)


Within electronics, the values we use will vary from Tera (= 1000000000000) or 1012 ( a one with 12 zero’s) to pico: 0,000000000001. The engineering values always take steps of ‘3’ digits, in order to keep the notation clean and avoid errors.


Series

Voltage divider

If resistors are placed in series (see figure below), the total resistance is a summation of al the resistors. So the total resistance in the example below is: R1+R2. If more resistors are placed in series, just add them up. If you have the total resistance, the current can be calculated in that circuit with ohm’s law.

The current (I) in the series-circuit (see above) is the same in the whole circuit. There is only one branch. The voltage however is divided into equivalent parts. Another name for the circuit above is a voltage divider. The current through a resistor causes a ‘voltage-drop’ so with two resistors the voltage is divided into two values. If the series resistors have the same value (let’s say 1k), the value of the voltage parallel to the resistors is the same – the voltage is divided in equal parts. In case of the example below, the 10V of the power-supply is divided into two times 5V.

Be aware of the values that you use with these kind of calculations. Try to make use of the ‘engineering-values’ and avoid shifting comma’s. See the figure below.

If we would look at the series circuit defining an input and an output, the battery is the input and the voltage parallel to R2 is defined to be the output. This is an important definition when we start to talk about filters!


The output of this series-circuit can be defined like this:


Parallel

Current divider

If resistors are placed parallel (see figure below), they divide the current in equivalent parts – hence the name current divider. The voltage parallel to the two resistors is for both resistors the same – it is one electrical node (= electrical point). The current however is divided into two separate current flows. The amount of current is determined by the value of the resistor. See the figure.

The total resistance of parallel resistors is the inverse of the series switched resistors. To calculate the total resistance you have to sum the inverses. This means that when resistors are connected parallel, the total resistance will go down. Suppose we have 2 resistors of 1kOhm placed parallel, the total resistance will be 500 Ohm.


Quiz question 🙂

Below a circuit with series and parallel connections. The voltage of the battery is 10V dc. All resistors have the same value of 1K Ohm. The quiz question is: what is the voltage parallel to resistor R4? Good-luck!

PS: the symbol on the bottom of the circuit indicates the ground connection.


Sonology

Introduction to Electronics Sonology Ba1 – 2023/2024

Introduction to Electronics for Sonology Ba1 students consist of 6 practical individual instruction lessons. In these lessons we will talk about the most fundamental electronic subjects like ohms law, voltage, current, ac, dc, frequency, phase, digital, analog and much much more. Also subjects the students themselves find interesting can be part of the lesson.

The location of the lessons is the office of the Electronics Workshop (6.67) and the group-size will be limited to a maximum of one student per lesson. This is due to the lack of space and the Covid measures. To finish the course all lessons have to be attended and a small assignment has to be carried out:

Assignment:
Build a small electronic device.
A device that works.