MIME-Version: 1.0 Content-Location: file:///C:/CE8B314E/CARSMPSDesign.htm Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="us-ascii"
|
The Audio Pages=
span> |
|
Project 89 =
|
Switchmode Power Supply For Car Audio
Sergio Sánchez Moreno and Rod El=
liott
Foreword=
b>
This contributed project is a result of considerable collaboration betwe= en Sergio and myself, and should not be seen as necessarily a complete project= in itself, but a stepping stone to understanding switching power supplies, how they work, and what you can do with them.
Be warned - there is considerable risk. Because of the extremely h= igh current available from a car battery, a tiny mistake may easily lead to catastrophic failure. All electronic components are said to contain s= moke (wire contains an enormous amount), and a slip of the soldering iron can liberate an unbelievable quantity. Seriously though, the risk of seve= re burns and the possibility of causing a fire in your car are very real, and should not be underestimated. 300A from a car battery can do a vast amount of damage in a few milliseconds - should the fuse not blow (you <= i>will use a fuse, won't you?), then the damage can be extensive.
At various points in Sergio's part of the article, I have added some of = my own information. This is shown in indented small font text.
Please see the special note at the end of this article for important information about the project.
Introduction
The difficulties of installing an HI-FI system in a car are many, althou= gh there is no doubt that the most important is the limitation of the vehicle supply voltage. As most readers already know, the nominal voltage of a car battery is 12V, reaching about 13.8V when charging (i.e., engine running). =
The maximum RMS. audio power from a given voltage V is somewhat less tha= n:
Pmax =3D =
( V /
( 2 x 2 ) )2 / R
… where
RL is the speaker nominal impedance.
Thus, for a 13.8V system, this power is limited to about 6W on a 4 Ohm l= oad. Note that the lower the resistance of the speaker, the higher the maximum p= ower (this is the reason most audio speakers have a 4 Ohm nominal impedance inst= ead of the more common 8 Ohm in home systems).
Thi= s may be simplified to some extent ...
P =3D (V / 3)2 / R= L
and= a typical calculation based on a 13.8V supply gives
P =3D (13.8 / 3)2 / 4
P =3D 4.62 / 4 =3D 5.29 WattsThis allows for standard losses, and is acceptably accurate at this voltage - the only real way to know is to measu= re the amp, since the losses vary depending on the topology of the output stag= e in particular.
Power output can be increased by a factor of nearly 4 by using bridging techniques, explained in more detail in ESP project 14, so we can obtain up= to about 24W on a 4 Ohm speaker. This can be enough for the midrange and high frequencies, but is obviously very limited for a subwoofer application, for example. (moral: distrust of "4 x 45W"= head units is well advised, for they certainly aren't talking about RMS power). =
So, what can be done to increase available audio power? The answer is a simple derivation of the above formula - either decrease load impedance or increase supply voltage. The lower the impedance, the more current is neede= d, making the construction of low impedance output stages more difficult (there are some other practical limits), so let's increase supply voltage.
Switch Mode Power=
Supply
Basics
The vast majority of high-powered audio amplifiers use SMPS (Switch Mode Power Supplies) to generate higher voltages from the available 12 (13.8) vo= lts. An extensive theoretical explanation on how these things work is beyond the scope of this article, but these are some fundamental ideas you should know about switch mode power supplies (SMPS) for car amps:
At this point, the r=
eader
should realise the magnitude of the currents involved in a high power SMPS =
for
a car amplifier, and that extreme caution should be taken especially when
connecting "the creature" to the car electrical system.
The system=
The present project describes the construction of a flexible SMPS capabl= e of delivering powers in the order of 350W continuously, depending on the transformer used. The output voltage depends mainly on the turns ratio of the primary and secondary windings, but may be adjusted to a somew= hat lower value using regulation. This should be enough to power a 200W subwoof= er amplifier plus perhaps 2 stereo amps for the mids and highs.
It is part of a complete car amp that I have built, with 6 power stages based on National's LM3886 Overture Amplifier. They can be combined into one >250W/4 Ohm subwoofer channel plus 2 x 65W/4 Ohm mid+high channels, alternatively into 2 x 120W/4 Ohm + 2 x 65W or even to form a multichannel = 6 x 65W/4 Ohm amplifier, so it is an extremely flexible and high-powered system without renouncing sound quality. The parallel bridging techniques needed t= o do this will be possibly described in another project.
Construction of t=
he SMPS
The complete schematic of the SMPS is shown below.
Note: This is Sergio's original vers= ion of the supply, the one shown in Figure 9 is likely to be= the most commonly used, as it is somewhat simpler, but has virtually identical performance. [esp]
Figure 2 - Switchmode Controller Schema=
tic
There are three main blocks described below ...
A - Switching MOSFETs and transformer
B - Rectification and filtering
C - Control circuitry
A - Switching MOSFETs and Transformer
The selected switching topology is called a "push-pull" converter,
because the transformer has a double primary (or a "centre-tapped"
one, if your prefer). The centre tap is permanen=
tly
connected to the car battery (via an LC filter to avoid creating peaks in t=
he
battery lines, which could affect other electronic equipment in the car). T=
he
two ends of the primary are connected to a pair of paralleled MOSFETs each =
that
tie them to ground in each conduction cycle (Vgs=
of
the corresponding MOSFET high).
These MOSFETs should be fast, able to withstand high currents (in excess= of 30A each if possible) and have the lowest possible Rds(= on). The proposed On-Semiconductor’s MTP75N06 can withstand 75Amp and has = a Rds(on) below 10 milliohm. This is important, because = the lower this resistance is, the less power they are going to dissipate when switching with a square waveform. Another altern= atives are MTP60N06, or the more popular BUZ11 and IRF540.
Although the schematics show a previous bipolar push-pull stage, you can also connect the gate resistor directly to the output of the controlling IC, leaving out the transistors, as the SG3525 is capable to drive up to 500 mA (theoretically), more than enough to switch the MOSFETs fast.
B - Rectification and Filtering
If one looks to the secondary side of the SMPS, it resembles exactly the sc=
heme
of a typical mains PSU, with one fundamental difference - the switching dio=
des
have to be FAST or ULTRAFAST, if you use a standard diode bridge the system
will simply blow up (and this can be very impressive, believe me!) Although=
a
diode bridge is represented, it can be made with discrete diodes as well. U=
se
high current (10 A minimum and a suitable voltage rating) diodes. I recomme=
nd
using 4 x TO220 double diodes that can be paralleled to form a single one in
each package.
You may be surprised that the capacitors aren't too big. This is due to = the high switching frequency. It is important that they are good quality ones a= nd must be rated for 105 degrees operation. Ripple current rating and low ESR (equivalent series resistance) is very important for any switching supply. = In my opinion, 5000uF per rail is enough.
C - Control Circuitry
The controller IC is an SG3525. It comprises all the necessary subsystems to
generate a fixed frequency, compare with a reference to modulate its pulse
width and drive two outputs without overlapping. It works from 8 to 35V and
filtering in the supply is recommended, as shown. As stated above, you can
connect the outputs directly to the gate resistors of the MOSFETs if you do=
n't
want to include the bipolar stages.
The resistor RT and capacitor CT fix the oscillation frequency. Experimentation showed me that about 35kHz produ= ces good results with my transformer. Another capacitor, Css fixes the "sl= ow start" time - when you turn on the system, the pulse width increases f= rom 0 up to the steady value, thus limiting the "inrush" current, a v= ery good feature to avoid "thumps" in the speaker and protect the electrical installation. It has also a shutdown pin that allows control of = the SMPS from an external signal (REMOTE from the head unit, for example).
In this project, layout is critical, incorrect track widths or excessive= ly long traces can have high inductances and produce peaks that can make the MOSFETs blow up. ESP will probably offer a suitable PCB layout if there is enough interest in it.
Transformer Const=
ruction
Details
This is the most critical part of the design, and you have two options, buying a commercial unit with the required power rating and turns ratio (ha= rd to find, only a single supplier found at the time of writing), or wind your own.
If you choose to wind your own transformer (as if you have much choice),= you have to decide which shape of core to use. The preferred material is ferrit= e, which has high permeability (ability to "conduct" magnetic flux) = or iron powder, which has a lower permeability, but is less likely to saturate. Most commercial transformers use ferrite, and iron powder is generally the = best material for filter chokes (inductors) that carry substantial DC.
For example, with a standard ETD39 core you could theoretically build a = > 350W supply. Winding this type of cores is not very difficult, but you will have to follow some guidelines I provide below in order to have good result= s.
Another possibility is using a toroid. You can extract it from a BIG pow= er inductor. As a guide, a 4cm diameter toroid with a section of about 1cm2 can be used for a > 250W SMPS. Winding is a little bit more complicated than with ETD cores but with a lit= tle practice is not too difficult either.
Toroidal cores
ETD-type cores
Toroid from ITL 100
inductor (Wilco Corp).
(Remove the thick wire before winding! :=
-)
These are a few general winding guidelines for all types of cores:
The following are ph=
otos of
two models of transformers. The left one is a toroidal I wound myself using=
the
core from a big inductor from Wilco Corporation (ITL-501), and the right on=
e is
a commercial unit from a US manufacturer (2x3:1, 350W). Both worked similar=
ly.
Left - Home Made
Transformer. Commercial Transformer - Right<=
/b>
Other remarks
My system's input choke, obtained from =
an old
PC power supply.
Detail of the =
MOSFET
arrangement
Note the insulation pad (one for all) and the thick supply wires. Individual insulation pads may be used with no loss of performance. U= se of a clamping bar will give improved thermal conduction to the heatsink bracket, but do not over tighten, or the bracket will bend.
Tests<=
span
style=3D'font-family:Arial'>
This project handles quite large powers, so it is well worth the pain of step-by-step testing before you regret blowing all your work up in a microsecond.
For the tests, use a big 12V to 13.8V power supply, with current limitin= g if possible and capable of delivering at least 10 to 20 amperes (see project 7= 7). If you don't have that, a PC computer PSU will work (although you won't get more than 80-90W, but it is enough for testing purposes and almost indestructible). Don't connect the SMPS to a car battery the first time you= test it (it can be really dangerous!). A 10A fuse in series with the 12V supply = is also a good idea. (You don't know to what extent! ;-)
The cables from the supply to the amp should be as short as possible and heavy gauged, to minimise losses. First time I tested the amp I had a 1 vol= t of difference from one side to the cable to the other in only 1.5 metres: the cable itself was dissipating more than 15W!!!. S= o, when calculating efficiency, always measure input voltage just at the input= of the SMPS to account for this.
When you are complet=
ely sure
that everything works as expected, you can proceed to connect it to the car
electrical wiring (see "installation procedures" paragraph). First
time you will notice an spark due to the sudden =
charge
of the big input capacitor, unless you connect a resistor in series first (=
very
good practice) to allow it charging slowly and then remove it for normal
operation.
Installation proc=
edures
For your car and own safety, it is VERY IMPORTANT that you pay special attention when installing the power supply (and amplifier) in your car. The= se are some recommendations that everyone should follow carefully:
Regulating the Po=
wer
Supply
The project itself has excellent load regulation, and the rails voltage = is almost only determined by the turns ratio, but it has inherently zero line regulation (basically, it "simply" multiplies the input voltage by the turns ratio), although this is not a problem in a car, where the battery voltage remains essentially constant.
If the obtained output voltages are very high and you can't (or don't wa= nt to) modify the windings, you can use regulation to lower them a bit. For example, I use a 3:1 transformer that would give about +/-38V without regulation that is unacceptable for my LM3886 stages to be safe, so I have regulated to +/-26V. The MOSFETs will suffer more, however, so regulate the supply only if strictly necessary.
You can install the feedback potentiometer and set it in order to have z= ero reference voltage to deactivate regulation, or increase its value to regula= te to the desired voltage.
NOTE: Regulation will work better with output inductors just between the rectifier diodes and the output capacitors. 10 to 100 uH with iron powder c= ore and at least 8A current rating can be adequate. (I don't use them and my su= pply works reliably, although I never put it to the power limits). You can also improve safety by paralleling more MOSFETs, so the current through them is shared. This also improves efficiency a bit, as the total Rds(on) is reduced.
Obtaining +/-12V =
from the
SMPS for Preamplifiers
If you need to power opamps for a crossover, equaliser or preamplifier, = you can obtain a symmetrical +/-12V (for example) from the main supply rails, simply with a resistor, zener and capacitor. (see Figure 1 of Project 27). Remember to use 1 or 2W resistors and zener diodes. You can obtain about 25-50 mA from this without problems.
Additional Inform=
ation
The following material is from ESP - there are some suggestions and additional information, as well as a simplified version of the SMPS.
Although my version of the switcher is simplified, this does not imply t= hat performance is lower than Sergio's original, but is the result of my own experiments and tests. We may be on opposite sides of the planet, but there was considerable collaboration during the development of the supply, = and I have built and tested the version shown below.
MOSFETs and Therm=
al
Runaway
It has been claimed that MOSFETs are immune from thermal runaway, since = they have a positive temperature coefficient for their "on" resistance. While this may be partially true for a Class-AB power amplifier, it is completely false for a switching supply.
For example, a push pull SMPS using one IRF540 MOSFET a side draws 30A at full load. If we check the data sheet, we find t= hat Rds(on) is 0.044 Ohm (44 millohms) at 25 degrees C, th= en we know that it will generate
P=3DI
2 x R =3D 302 x 0.044 =3D 900 x 0.044 =3D 39 W peak (per tra= nsistor).
At 50 degrees (not u=
ncommon
in a car that has been in the sun for some time), Rds(<=
/span>on)
will be about 1.25 times the value at 25 degrees (this is from the datashee=
t),
or 0.055 ohms. Power dissipation will now be 49W, so the heatsink has to
dispose of more heat. We can guarantee that the extra heat will cause the
heatsink temperature to rise further, which will increase Rds(on), and that
will make the heatsink hotter, and … BANG
Ensuring that you use parallel devices and a good heatsink will reduce t= he likelihood of this dramatically. Two MOSFETs sharing the load will dissipate 1/4 the power (each) of a single device, and have a lower thermal resistanc= e to the heatsink as well.
P=3DI
2 x R =3D 152 x 0.044 =3D 225 x 0.044 =3D 9.9 W peak (per tr= ansistor) - 19.8 W for both
The power shown per
transistor is the peak - actual (RMS) power (per device) is half that
calculated. The totalpower dissipated by b=
oth transistors
(or sets of transistors in the case of paralleled devices) is the fu=
ll
value shown, since when one device is "on", the other is
"off" and vice versa.
Naturally, the maximum dissipation will only occur at maximum (continuou= s) amplifier power - the real life requirements are usually somewhat less, however, it is essential that the design is capable of continuous "wor= st case" dissipation to ensure an adequate safety margin.
I strongly recommend that you do the calculations yourself, and make sur= e that you understand the implications.
Regulation=
Normally, one would expect regulation as shown in Figure 1, however, using the feedback input of the controller IC relies rather too heavily on the impedance of the DC supply lines. Normally, output ind= uctors are used (with an additional "flyback" diode) to provide a pulse width to voltage converter. The majority of commercial systems seem to use a non-regulated converter, so I would consider that this will be quite acceptable in practice. Tests so far have shown that with a load of a= bout 150 Watts, the regulation was almost entirely dependent on the voltage drop= in the supply line!
As well as being unregulated, there are a couple of other changes in the circuit. R8 (100 Ohms) is connected between the timing capacitor and discharge pins of the controller IC. This introduces a "dead time" where both outputs are turned off, and the reason for this is to ensure that the power MOSFET pairs can never be switched on at the same tim= e - should this happen, a very large current will flow (albeit for only a microsecond or less). Since I did not use the extra switching transis= tors and used higher value gate resistors, the dead time is important.
I also increased the switching frequency. As shown, the internal o= scillator runs at approximately 50kHz (my prototype actual= ly runs at 54kHz), where Sergio's original was designed for 35kHz switching.&n= bsp; The difference is determined by the resistor on the RT pin of the controlle= r, in my case, 12k.
Regulation will obviously make the circuit much more complicated, and as stated above, my version is unregulated. This will maintain maximum efficiency, and also reduces the dependence on the output filter capacitors= - they are effectively fed with almost pure DC from the rectifier at all load= s, so storage time is not an issue. Relatively small filter capacitors c= an be used, and the output will still be quite clean.
Not surprisingly, the turns ratio is very imp= ortant if regulation is not used. Assume an input voltage of 12V to allow for losses. To obtain +/-24V, the turns ratio = is 1:2 - for each turn on the primary, there will be 2 turns on the secondary.&nbs= p; This is the same as Sergio's description, and the same rules apply. Unlike a normal mains transformer supplied with a sinewave, the switching waveform is a squarewave, so the peak and RMS values are the same (in other words, there is no 1.414 conversion as would be the case with a mains frequ= ency transformer). The problem with this is that the 12V assumed at full l= oad will be 13.8V under light or normal loading, so the voltage will be higher = than expected. Using the same transformer as above (1:2 turns ratio) the no-load output voltage will be 27.6 volts - make sure that you do not exceed the voltage rating of the amplifier!
Figure 9 - Simplified Version of Switch=
ing
Supply
Since the transformer is relatively easy to wind, it is not a difficult = task to dismantle it and add (or remove) secondary turns to get the voltage right. My prototype transformer used 5+5 turns for the primary, and I used 3 strands of 0.8mm winding wire twisted together. There is plent= y of room in the recommended core, so it would be easy to use 5 strands instead = for lower losses.
Note that in the above (Fig. 9), the the heavy leads shown carry substan= tial current, and must be sized accordingly. I do not recommend PCB traces= be used, since the current involved is simply too high. Given that the suggested current density for PCB tracks is 4.0 A for a 100 "thou" (0.1" or 2.54 mm) track, then for 30A you need a track 0.75" (19 = mm) wide! This is difficult to accommodate on any printed board.
I also eliminated the relay, but at the cost of a small current when the
unit is not operating. The SG3525 has a shutdown pin for just this
purpose. A signal from the remote head amp will turn on Q1, and remove
the shut down signal from the controller. It behaves in exactly the s=
ame
manner as if power had just been applied, and the unit will become fully
operation in about 2 seconds or less. Current drain when turned off w=
ill
be about 1 to 2mA - considerably less than the clock in the car.
Construction
I recommend that an EDT39 ferrite core is used. These are easy to wind, and are capable of around 350W output. Bear in mind that this represents a considerable battery current at full power, in the order of 30= to 35 Amperes! Heavy transformer windings and supply cables are essentia= l, and the input filter must be capable of withstanding this current without saturating the core.
The former for these cores is rather large, and you may decide to cut the mounting sections off completely. Do remember that the transformer mu= st be mounted somehow though, so I suggest that you have a plan. At this stage, I am only experimenting, and do not have a plan. I will provide details of the solution when I actually have one.
All of Sergio's previous comments apply to this version, so make sure th= at you read his material thoroughly. I do not propose to cover the same instructions again, since Sergio has already done an excellent job.
Prototype Testing=
I have done some initial tests, but have not yet connected the bridge and output capacitors. With what was intended to be 12+12 turns on the secondary, I obtained an acceptably clean waveform with some overshoot with= the secondary unloaded. Output voltage was about 38V peak, so I obviously= had one more turn than I thought I did (input voltage was 14V DC). I cann= ot stress highly enough that the winding process is critical to the success of your transformer, and you should expect to have a couple of attempts before= you get it exactly right. The small number of turns needed makes this much easier than would otherwise be the case.
During my testing, my power supply and load became very warm indeed, but= the MOSFETs (I used IRF540s) remained cool, even though they were mounted on a rather small heatsink lying on my workbench. This indicates that the heatsinking requirements are easily achievable, but does not mean th= at you can be lax with mounting. My transformer also remained cool, with= no sign of the core or windings getting even warm. This must be consider= ed a design goal. Even the lead I used to my load became warm, so the power output was very real indeed!
You will need an oscilloscope (or at least access to one) = or the project will be very much harder to build and test. A design such= as this relies on careful measurements and great care to make certain that it = will perform as expected. Attempting this without an oscilloscope is not recommended.
This project has already created far more questions via e-mail than I desired or expected. For everyone who plans on making this supply ...= you are essentially on your own. I cannot (and will not) be drawn into lengthy e-mail exchanges if you cannot make the supply work.
That it does work if built as described is certain,<= /span> that you will be able to achieve the same results is not. If you do n= ot have (or at least have access to) an oscilloscope - don't even think about trying to make the supply, as it will not be possible to ensure that = the duty cycle of the controller is exactly 50%, or that there is no severe overshoot or ringing at the output.
Please do not not send me e-mai= ls asking for help. I will simply refer you to this paragraph - I cannot diagnose your problems via mail, and will not even try. It is entirel= y up to the constructor to determine his/ her abilities before starting.
The construction of any switching supply is fraught with difficulties, r= isks (including but not limited to elecrocution!) and problems that need to be a= ddressed. They are not simple (despite appearances) or easy, and there are a great ma= ny things that can go wrong. If you are not 100% confident that you understand the issues involved, please do yourself a favour and build somet= hing else instead.
Copyright Notice. This article, including but not limited to
all text and diagrams, is the intellectual property of Sergio Sánc=
hez
Moreno and Rod Elliott, and is Copyright
2002. Reproduction or re-publication by any means whatsoever, whether ele=
ctronic,
mechanical or electro- mechanical, is strictly prohibited under Internati=
onal
Copyright laws. The authors (Sergio Sánchez Moreno and Rod Elliott)
grant the reader the right to use this information for personal use only,=
and
further allow that one (1) copy may be made for reference while construct=
ing
the project. Commercial use is prohibited without express written
authorisation from Sergio Sánchez Moreno and Rod Elliott. |
Page=
Created
and Copyright Se=
rgio
Sánchez Moreno/ Rod Elliott 21 Apr 2002./=
Added
special note 31 Oct 2002.