Switch-Mode Power Supplies, Second Edition: SPICE Simulations and Practical Designs
Switch-Mode Power Supplies, Second Edition: SPICE Simulations and Practical Designs
https://ebookmass.com/product/designing-control-loops-for-linear-
and-switching-power-supplies-a-tutorial-guide-ebook-pdf-version/
https://ebookmass.com/product/practical-rust-projects-second-
edition-shing-lyu/
https://ebookmass.com/product/psychophysics-second-edition-a-
practical-introduction-kingdom/
https://ebookmass.com/product/sugar-spice-and-cant-play-nice-
annika-sharma/
Reservoir Simulations Shuyu Sun
https://ebookmass.com/product/reservoir-simulations-shuyu-sun/
https://ebookmass.com/product/978-1420051803-occupational-health-
and-safety-management-a-practical-approach-second-edition/
https://ebookmass.com/product/official-gre-super-power-pack-
second-edition-2nd-edition-ebook-pdf/
https://ebookmass.com/product/working-guide-to-pump-and-pumping-
stations-calculations-simulations-1st-edition/
3.5.7 Type 2b—Proportional Plus a Pole
3.5.8 Type 3—Origin Pole Plus Two Coincident Zero-Pole Pairs
3.5.9 Selecting the Right Amplifier Type
7.8.2 Selecting kc
Christophe P. Basso is currently an engineering director at ON Semiconductor in France, where he has developed numerous popular switching
power supply controllers, for instance, for the notebook adapter business. He is the author of several books on power electronics, including
McGraw-Hill’s Switch-Mode Power Supply SPICE Cookbook, and, recently, he released a title 100% dedicated to loop control, Designing
Control Loops for Linear and Switching Power Supplies. He regularly teaches professional seminars at IEEE-sponsored Applied Power
Electronics Conferences and often publishes articles in trade magazines such as PET and the online newsletter How2Power. Mr. Basso
graduated from the Montpellier University in 1985, and he received his M.S.E.E. in power electronics from the National Polytechnic Institute of
Toulouse in 2008. He holds 29 patents in the field of power electronics and he is an IEEE Senior Member.
PREFACE
I am glad to introduce the second edition of my 2008 book Switch-Mode Power Supplies: SPICE Simulations and Practical Designs. I would like
to thank all the readers who have contributed to make the first edition a success. I received numerous warm and supportive messages from all
around the world and it is extremely rewarding. Without you, this new book would not exist. Some of these readers have been kind enough to
report typos and errors they found in the first edition. I compiled them throughout the years and I used the list to clean equations and figures.
Revising a book is not an easy task, as some readers will object that there is too little renewed content to make it a new book while others
complain that this new edition represents a completely different document than the first one they bought! Needless to say, trying to please both
parties is a perilous exercise. Loyal to my original approach, I added topics in which I detailed the mathematical treatment so that you can follow
and learn from the book. In Chap. 1, it is the case for rms constraints concerning the basic switching cells. In most of the available books, authors
give formulas without founding equations and often limit their analysis to one conduction mode. Here, both conduction modes are explored and
detailed, with clear summary tables at the end. Numerous Mathcad® sheets are provided online at www.mhprofessional.com/Basso to let you
evaluate your own configurations. Small-signal-wise, Chap. 2 has been expanded with the PWM switch at work in a discontinuous conduction
mode boost converter and the derivation of a feedforward compensator gain. Chapter 3 now includes OTA-based compensators and offers a
transistor-level TL431 model. Chapter 4 includes several revisions on blocks such as the D-flip-flop and the leading edge blanking timer. Chapter
6 now includes a complete small-signal analysis of the borderline-operated boost PFC circuit operated in voltage or current mode. Chapter 7
covers in detail all over power phenomena in fixed-frequency discontinuous or continuous flyback converters, without forgetting quasi-resonance.
A small-signal model of a QR flyback converter is presented in one of the appendices. Finally, Chap. 8 includes a new small-signal model of the
active clamp forward converter operated in voltage-mode control.
I hope you will enjoy reading this second edition, in particular the newly added materials. Despite all my efforts, some typos or mistakes may have
escaped my attention and I would be grateful if you would send your corrections/remarks to [email protected]. As usual, I will keep a record of
these findings and compile them in my webpage http://cbasso.pagesperso-orange.fr/Spice.htm for the benefit of the reading community. I thank
you in advance and wish you the best of luck for your designs!
CHRISTOPHE P. BASSO
ACKNOWLEDGMENTS
My warmest thanks and love go first of all to my dear family: Anne, my wife, and my two beloved children, Lucile and Paul. Revising an entire 900-
page book cannot be done overnight and I am grateful I could spend endless hours correcting and writing new paragraphs without affecting family
life. Now that it is done, I will enjoy hiking, cycling, reading, snowshoeing, and spending leisure time with you all again!
The book revision could not have been envisaged without the help and involvement of many people. I wish to thank Joël Turchi, my friend and
colleague at work, who is always available to discuss technical subjects for hours and review my work. These discussions also took place with the
application team with whom I am lucky to work: Thierry Sutto, Stéphanie Cannenterre, Yann Vaquette, and Dr. José Capilla. They kindly reviewed
this second edition’s materials. Special thanks go to Alain Laprade of ON Semiconductor in East Greenwich who kindly reviewed several
chapters.
I wish to also express my gratitude to my beloved parents, Michele and Paul Basso, who bought me my first power supply when I was 14 and let
me develop my passion for electronic circuits, at the expense of numerous breaker trips. As we have returned to my youth, “merci” to teachers
such as René Vinci and Bernard Métral from the “Clos-Banet Lycée,” who instilled their passion and knowledge into the restless student that I
was. At the same time, I published my first article in Radio-Plans (1982), thanks to my friends Claude Ducros and Christian Duchemin, last
editors-in-chief of the now-defunct magazine. Finally, Claude Duchemin from the Montpellier University added the finishing touches and plugged
my fingers into the switching power supply world!
Both the first and second editions of this book incorporate comments and recommendations from prestigious people I have been honored to
work with. Their names follow and I wish to thank them warmly for the amount of time they spent reviewing the first edition’s materials and tracking
inaccuracies: Dr. Vatché Vorpérian (Jet Propulsion Laboratory), Dr. Richard Redl (Elfi), Ed Bloom (e/j BLOOM associates Inc.), Dr. Raymond
Ridley (Ridley Engineering), Dr. Ivo Barbi (Power Electronics Institute of the Federal University of Santa Catarina), Jeff Hall (ON Semiconductor),
Dhaval Dalal (Acptek), and not forgetting Monsieur Mullett (formerly with ON Semiconductor) for the two appendices kindly contributed on
magnetic designs! Also, Christian Zardini (retired from the ENSEIRB school), Dr. Franki Poon and Dr. S. C. Tan (PowerELab and the Hong Kong
Polytechnic University), Dr. Dylan Lu (Sydney University), Arnaud Obin (formerly with Lord Engineering), Dr. V. Ramanarayanan (Electrical
Engineering Department of the Indian Institute of Science in Bangalore), Dr. Jean-Paul Ferrieux (Laboratoire d’Electrotechnique de Grenoble),
Steve Sandler (AEi Systems), Dr. Didier Balocco (formerly with Saft Power Systems), and Pierre Aloisi (formerly with MOTOROLA).
I would also like to thank the people at Intusoft, Larry and Lise Meares and all their great support team (George, Farhad, Everett, Tim), who helped
me during the testing phase of the numerous book examples. I want to thank the editors of simulation software who have kindly contributed
simulation examples.
Finally, thank you to Mike McCabe, at McGraw-Hill, for giving me the opportunity to publish a new edition of my original book.
NOMENCLATURE
Br the remanent induction flux level when the magnetizing field is zero
CL closed loop
Gfc the gain deficit (or excess) at the selected crossover frequency fc
Hc the coercive field which brings the flux density back to zero
Ia, Ip, and Ic the average currents flowing in or out of the PWM switch terminals
LHP left half-plane zero (LHPZ) or pole (LHPP) located in the left portion in an s-plane plot
Lleak the transformer total leakage inductance seen from the primary (all outputs shorted)
Mc the slope compensation level in a current-mode converter (per Dr. Ridley’s definition)
Mr the external ramp coefficient in current-mode designs (as a percentage of the off slope)
μi the initial permeability describes the slope of the magnetization curve at the origin
N the turns ratio of a transformer normalized to its primary winding. For instance, if Np = 10 and Ns = 3, then N
= 0.3
Pcond the conduction losses of an element implying a resistive path and a rms current squared
PF power factor
PSW switching losses of an element implying an overlap area between a current and voltage
PSW
Qr the charge the diode needs to evacuate before recovering its blocking capabilities
QG the amount of coulombs you need to bring to the MOSFET for its full enhancement
rCf the series resistor of the capacitor; also noted the ESR
rLf the series resistor of the inductor; also noted the ESL
Rsense or Ri the sense resistor in a current-mode converter; sometimes called the burden resistor
RHP right half-plane zero (RHPZ) or pole (RHPP) located in the right portion in an s-plane plot
toff the time during which the power switch is turned off
Vac, Vcp the average voltages across the PWM switch terminals
Vbulk,max or Vpeak the bulk voltage at the highest line (the ripple is neglected in this case)
ζ the Greek letter zeta, representative of the damping factor [often mixed up with ζ (xi)]
CHAPTER 1
User friendliness is a key factor for the commercial success of any simulation program. The growing complexity of integrated circuits and
equipment makes this aspect increasingly important. Despite numerous publications devoted to the Simulation Program with Integrated Circuit
Emphasis (SPICE), it still scares the novice when its name is mentioned.
Developed in the mid-1970s at the University of California, Berkeley, the SPICE program’s primary aim was to fulfill the needs of the electronics
industry—mainly integrated circuit makers. However, with the support and funds from private editors, the SPICE program has evolved over a
number of years into many practical and affordable packages, with emphasis on providing both low-priced and friendly access to beginners.
SPICE can significantly help you speed up the design phase of the equipment you are currently working on, even if SPICE is not able to generate
an electronic schematic by itself. SPICE is inherently efficient because if you start working with an unfamiliar concept, it will quickly enable you to
grasp the full meaning of any particular architecture by unveiling its peculiar waveforms. You can thus use the simulator to gain insight into the
circuit you have to build and also ensure all parameters are taken into account before the breadboard phase.
This book is intended for power supply designers, experts in their fields, as well as for beginners who would like to understand the secrets of
switch-mode power conversion. Manipulating virtual components on a computer screen, without the hazards of high voltage, offers an interesting
and safe way to learn the technique. Furthermore, the “experience” gained in simulation, and it is also true for experts simulating a novel concept,
will let you feel more comfortable when breadboarding on the bench.
How many times have you heard this question when asking for a simulation package or a new computer? The following statements do not
represent an exhaustive list of pros about computer simulation, but they can certainly be considered a “help list” available during the negotiations:
1. Here is an argument: Simulation can avoid waste of time and money. With its inherent iterative power, SPICE covers numerous application
cases in which you could easily detect any design flaw or product weakness. The stability of a closed-loop SMPS represents a typical application
when some key feedback elements are moving (i.e., the variable load that affects a pole) or start to degrade with temperature and aging (as the
electrolytic equivalent series resistor). Moreover, design ideas can also be tested or assessed in a snapshot through a computer and, if they are
worth trying, further refined in the lab.
2. You can start to work on a project by downloading components models and becoming familiar with the key elements, before going to the bench
or waiting for the samples to be delivered. Once these samples arrive, you will have already gained insight by prototyping with the simulator and
the practical debug phase on the bench will clearly take benefit from your first computer-based experiments.
3. Simulate test measurements whenever you do not own the adequate equipment: Bandwidth measurements represent a good example. If you
cannot afford a network analyzer, then a proven small-signal model can help you start to refine your feedback loop. When run on the final
prototype, stability assessments will be faster and more efficient.
4. Power libraries are safe: They let you experiment “what if” when amperes and kilovolts are flowing in the circuit without blowing up in the event
of a wrong connection! Also, they let you see how your design reacts to a short-circuit of the optocoupler or the opening of a resistor. SPICE can
begin to give you the answer.
This book thoroughly details the advantages of SPICE to let you understand, simulate, test, and finally improve the switch-mode power supply
(SMPS) you want to design. By providing you with specific simulation recipes, this work intends to facilitate as much as possible your SMPS
design. Unlike other books, the author strives to balance the theoretical content, necessary to understand and question simulation results, with
practical design examples. This is developed throughout the eight chapters of the book.
Chapter 1 explains switch-mode power supply techniques and types of converters, and it introduces a few important results to help you better
understand averaging techniques. This second edition includes the comprehensive derivation of root mean square (rms) current constraints of the
basic switching cells, buck, boost, and buck-boost operated in continuous or discontinuous conduction modes. As usual, I have detailed
derivation steps so that you can follow and learn the technique in case you encounter a different switching cell. A new appendix has been added.
Chapter 2 explains how average models were derived, and different types are described. A good comprehension of this chapter is fundamental:
It will help you question certain weird SPICE data resulting from a bad model implementation. If you do not understand the way the model has
been derived, you will obviously face some difficulties in resolving these issues. In Chap. 2, you will also learn how to wire an average model and
run basic simulations. This second edition adds the description of the feedforward modulator. I added more details to the small-signal PWM
switch. In particular, I show how keeping the same voltage-mode average model to which you add a “duty ratio factory” turns the model into a
simplified version of current mode. An appendix has been added focusing on the DCM (discontinuous conduction mode) voltage-mode boost
small-signal transfer function. Closing the loop is obviously an important aspect of converter design that is often overlooked. This is not the case
here, and Chap. 3 will guide you through control loop design, again using practical examples with a TL431 and not op amps only, as often seen in
the literature. OTA (operational transconductance amplifiers) compensators are now part of this chapter, covering types 1 and 2. A complete
transistor-level model of the TL431 has been added to its dedicated appendix. Because not every integrated circuit always comes with a SPICE
model, Chap. 4 describes how the generic switched models are derived. This chapter will interest those who want to strengthen their knowledge
of SPICE model writing. A more robust D-flip-flop is described and several new circuits have been added. Chapter 5 describes practical designs
of the three basic nonisolated topologies, including the front-end filter. Before analyzing off-line converters, Chap. 6 shows how to design the
rectifying section and explains the various power factor correction techniques. Small-signal response of the popular borderline-operated power
factor correction (PFC) has been added in a dedicated appendix. Chapter 7 is entirely dedicated to the flyback converter, with specific design
examples at the end. A new section on over power has been added and it covers all operating modes, including QR converters. An appendix
gives the small-signal response of the QR converter. Nonlinear capacitor switching losses are explored in a dedicated appendix. Finally, the
forward converter appears in Chap. 8, again associated with a design example. The coupled-inductors section has been updated and a
complete small-signal model of the active-clamp converter operated in voltage-mode is presented with experimental results.
Version syntax is a significant issue with SPICE. Most SPICE editors deal with a proprietary syntax, sometimes SPICE3 conformant, that makes
translation from one platform to another a difficult and painful exercise. To allow the use of different simulators, the standard models presented
throughout the pages are compatible with Intusoft IsSpice (San Pedro, Calif.) and CADENCE’s PSpice (Irvine, Calif.).
To help you quickly copy and paste examples, simulation files have been made available for download from a McGraw-Hill website. Please check
App. 8E for details. Some selected simulation examples are offered in IsSpice and PSpice syntax, and you can easily load them on your
computer if you have one of these software programs. For students or newcomers to the SPICE world, some demonstration versions will let you
open files and simulate some of them (those demos are size-limited) to give you a taste of what the full version can do. The McGraw-Hill
download page contains PowerPoint® and Mathcad® files to let you key in your own design parameters and check small-signal response or rms
constraints of the basic switching cells.
For professional power supply designers, another library file is separately distributed. This file contains the design examples presented in the
book plus numerous other industrial applications using real controllers. Please visit the author’s website for distribution details
(http://cbasso.pagesperso-orange.fr/Spice.htm).
This book does not describe the way SPICE operates, nor does it solve typical electric circuits. It assumes that the reader is already familiar with
the basics of SPICE simulations. Numerous books and papers are available on the subject as the References section details [1, 2]. Whenever
possible, the extended bibliography will guide your choice if you wish to strengthen your knowledge in a particular domain, such as some
topologies that you are unfamiliar with. If some theoretical results are sometimes delivered just “as is,” we strongly encourage the reader to dig
further into the appropriate literature and acquire the theory that precedes the result.
The book focuses only on a system approach. No SPICE description of typical discrete power elements such as diodes, MOSFETs, etc., is
proposed.
Finally, here is the important statement, probably the most interesting one! SPICE does not replace the breadboard phase, nor does it shield you
from writing equations or understanding electronics. It looks like a simple sentence, but the author has often been confronted by designers
showing boards in the trash and claiming, “But SPICE said it would work!!” Yes, all ideas work on paper until they face the soldering iron
condemnation.… Use SPICE as a design companion, a circuit insider that can reveal waveforms difficult to observe. But always question the
delivered data: Is this the real behavior, have I been misled somewhere, does a simple calculation more or less confirm what I see?
After this brief introduction, it is time to plunge into the intricacy of SMPS design and simulation with SPICE.
In the electronics world, different types of circuitries must cohabit: logic devices, analog circuits, microprocessors, and so on. Unfortunately for the
designer, these circuits do not cope with a single, fixed, power supply rail: A microprocessor or a digital signal processor (DSP) will need a
stable 3.3-V source or less, a front-end acquisition board will require ±15 V and perhaps some logic glue around a standard 5 V. For the final
board being supplied from a single power point, for example, the mains outlet or a battery, how is one to adapt and distribute all these different
voltages to the appropriate portions? The solution consists of inserting a so-called converter to adapt the voltage distribution to the circuit needs.
Figure 1.1 portrays the simplest option a designer can think of: resistive dividers. If our DSP consumes 66 mA over 3.3 V, then it can be replaced
by a 50-Ω resistor, the same as for our 50 mA, 5-V logic circuit via the 100-Ω resistor. From a 12-V source, we can then calculate the dropping
resistors:
Another random document with
no related content on Scribd:
more than thirty years ago as a sprouting bed for naturalistic drama
and the social thesis-play. To-day it still cultivates the best in Realism
and in the social drama, but it looks condescendingly on the thesis-
play, and it gives the most completely artistic and successful
example to be seen in Germany of an expressionist play and an
expressionist production.
The Volksbühne has always had a double policy—that of buying
out performances of good plays and retailing the seats to its
members for much less than the box office prices, and that of
producing plays itself. It began with a few Sunday performances of
both kinds, and steadily grew in membership to the point where it
buys all the Sunday matinees at a number of theaters, has two
playhouses of its own, the Volksbühne and the Neues Volkstheater,
and is organizing an opera house, the Volksoper. One hundred and
eighty thousand men and women of the lower and lower-middle
classes subscribed in 1922 for eight productions, either at the
society’s theaters or at the playhouses with which it deals.
The Volksbühne itself is rather an extraordinary theater. Its striking
front, with the words Die Kunst dem Volke upon its pediment, rises
across a street that cuts through the workingmen’s quarter of Berlin,
and, after a slight bend, crosses the Spree and becomes Unter den
Linden. From above its little triangle of park, the Volksbühne stares
ironically and, doubtless, a little proudly down the long street that
passes the hideous art galleries of the Prussian government, the
palaces once occupied by the Hohenzollerns, the State Opera,
where royalty turned its back upon Richard Strauss, and runs on to
the Brandenburger Tor of Imperial memories. The theater has the
grimly noble air of the best of German architecture. In its auditorium
Oskar Kaufmann has turned from the austerity of gray stone to the
richness of red mahogany. The working class audiences of the
Volksbühne find themselves seated, therefore, in the handsomest
and doubtless the most costly auditorium of Berlin when they come
to see the play which might almost be the story of their own defeat in
the communist risings of 1919.
Masse-Mensch itself is a play, half dream and half reality, in which
is pictured the conflict of Masse, the masses, against Mensch, the
individual, of violent revolution against passive strike. Its drama
pleads piteously for the sacredness of human life and the equal guilt
of the State or the revolution that takes it. Because it was written by
Ernst Toller, who, as he wrote it, lay in a Munich jail serving a twenty-
year sentence for his part as Minister of Justice in the red rebellion
which followed the assassination of Kurt Eisner by the reactionaries,
Masse-Mensch is pretty generally taboo in German theaters. In the
first six months after its première at the Volksbühne (29th
September, 1921) it was played about seventy times, a very great
number of performances in repertory. But upon its production in
Nuremberg riots interrupted the first performance, and it was never
repeated.
Richard III: the final moment. White virtue triumphs.
It is not easy to trace the cause of failure, but it seems to lie in the
curious fact that here Reinhardt was both careless and too careful.
Physically the theater was wrong, if the theory was right, and its
physical mistakes can be traced to Reinhardt. He was too careful in
planning it and not courageous enough. Because he feared for its
future as a financial undertaking, he seems to have compromised it
in form, in order that it could be used as an ordinary, though huge
playhouse if it failed as a new kind of theater. He put in the Greek
orchestra surrounded on three sides by spectators. He made the
floor flexible in its levels, and led it up by adjustable platforms to a
stage at one side of the house. This much was right enough. But
then he made the thing a compromise between the Greek theater, a
circus, and the modern playhouse, by slapping a proscenium arch
into the side wall and installing behind it a huge stage with all the
mechanical folderols of the day—great dome, cloud-machine,
revolving stage. It was beyond human nature to resist the temptation
of playing with the whole gigantic toy. Neither Reinhardt nor the
directors who succeeded him could be content, as they should have
been, to lower the curtain across the proscenium, to plaster up the
fourth wall. Perhaps there were not enough great dramas like
Œdipus to draw for months the gigantic audiences needed to support
the venture; but this only meant that such a theater must be
maintained for festival performances, not that it must be filled with
bastard productions requiring a picture stage and largely inaudible
across the spaces of the Grosses Schauspielhaus.
Reinhardt was as careless in his selection of an architect as he
was careful in compromise. His original conception of the place was
excellent. He wanted it primitive and grand. He wanted it to soar.
And he thought of early Gothic. Between the pillars that had to be
there to support the roof of the old circus, he wanted a dark blue
background, a background of emptiness. The dome over the middle
was to vanish into a deep presence, lit sometimes by dim stars.
Some one got to Reinhardt, and persuaded him that he must be
“modern;” he must assume a leadership in architecture; he must give
a chance to the greatest of the new architects, Hans Poelzig.
Reinhardt consented. And Poelzig produced a very strange affair.
Some of the mistakes of the Grosses Schauspielhaus may be laid
to the old building. The banks of seats are rather close against the
roof, while the middle of the house is bridged by a gigantic dome.
These conditions might have been minimized by giving the low
portion lines that seemed to mount, and perhaps by closing in a
large part of the dome or darkening it. Instead Poelzig has made the
dome the only lovely and aspiring part of the architecture. It is a
dream of soaring circles. If the building could only be turned upside
down, and the actors could play in this flashing bowl, while the
audience looked down upon them—!