AUGUST
25
Issue 16/2011 www.edn.com
What’s inside a smart meter? Pg 24 Those tenacious engineers Pg 8 Baker’s Best Pg 22 Design Ideas Pg 53
VOICE OF THE ENGINEER
Going against the grain dust Pg 62
GaN and SiC:
ON TRACK FOR SPEED AND EFFICIENCY SLACK SCHEDULING ENHANCES MULTICORE PERFORMANCE IN SAFETY-CRITICAL APPLICATIONS Page 29
HIGH-ACCURACY TEMPERATURE MEASUREMENTS CALL FOR PRTDs AND PRECISION DELTA-SIGMA ADCs Page 41
Page 34
Y G O NOL ht.
H .19" C E from GT
s N r I o t V c E SA Indu
d n a t n u & o C s M r e e c m a r SPA f o r f s Su d r Tran a nd a t S 00 ls 0 e 5 d r o e Ov Hole M Thru sformers hms,
0k o to 25ncy n s a m r h e 10 o requ ll units oe LT i d evels Watts, F50Hz. A RF-27. u c 2 3 A dan vels to 0Hz to to MIL-P Impe e 2
ted db er L Pow onse ±3d and tes p . e s r Re ufactu ailable man Units av ering QPL r Filt DC e w o nd P , DC ike aSupplies ulators p S , g e r Nois in Poweching Re l for t Idea licationsand Swi App verters us Con ta B ers s a D ent iplexansforrm t uirem l q e u M e Tr eet the 8/27 uivalents ls units mRF 2103trical eq Pu c P -In Plug PL-MIL- s are ele038/27. t 1 i Q 2 n f u o ace PRF Surf PL-MILQ erosseconds. of m r o nstof 100 Mriocsr econdP,RF-21038. a r T e ILds Mic PuNlsanosectoon150 Votlet sted to M 10 ating d and ET R ufacture er Man vert n 8V. o C nd 4 pecial self A C V s (S 4 r D DC- sformofe5V, 12gVe, s2to 3n00bVe useidonass. All 7. TrpautnvoltaOgeustput Vuopltpalied). inCga applicMaItL-PRF-2 In dard be s witch ted to Stan ges canr linear s and tes volta rating o actured satu manuf units s 5V z s r ltage 7 H o e 0 V z/80 form ondaryIL-PRFb-l2e). a 400Her Tra0nWsatts. tSuerecd to0 M Electronics, avail 15 nufac , 155 C w o o t Inc. a V P 4 Watts nits m (Class 0. 00V. U ss S to 3 e 5, Cla 143 Sparks Ave. Pelham, NY 10803 • Call Toll Free 800-431-1064 • Fax: 914-738-8225 Grad
EM & r e
I
rs
cto u d In
Pow
Send for free 180 pg PICO Catalog See PICO’s full Catalog Immediately on the internet
www.picoelectronics.com E-mail:
[email protected]
Plug in to our Power Tools Make better, faster power inductor choices with Coilcraft’s powerful web tools. Start with an IC, a converter topology, or a list of electrical and mechanical specs. In seconds you’ll get a list of every Coilcraft part
that could work for you, complete with price information. A few more clicks gives you a detailed analysis of core and winding losses. Check out our complete power designer’s toolbox at www.coilcraft.com/powertools
®
S RCOoMPH LIANT
www.coilcraft.com
800/322-2645
8.25.11
contents Slack scheduling enhances multicore performance in safety-critical applications
GaN and SiC: on track for speed and efficiency
29
Developers of safety-critical software can reap the benefits of multicore processors using RTOS techniques such as cache partition and slack scheduling. By Tim King, DDC-I
34
Wide-bandgap materials, such as GaN and SiC, are enabling a new generation of power switching devices that switch faster and with fewer losses than the venerable silicon MOSFET, resulting in smaller, more efficient power supplies. By Margery Conner, Technical Editor
pulse
high-accuracy temperature measurements call for prTDs and precision delta-sigma aDCs
41
Replaceable sensors and 24bit ADCs ease measurement. By Sohail Mirza and Joseph Shtargot, Maxim Integrated Products
Dilbert 14
13 Low-power audio codec prevents speaker damage
16 Cree shows off its proof-of-concept 152 lumens/W LED bulb
14 Smartphone test platform comes in reduced footprint
18 Philips wins $10 million L Prize for LED-based 60W replacement bulb
14 NI updates LabView with improved hardware integration
18 Atomic-scale films are critical to transistors
16 Localized haptics grabs handheld-game displays with new driver chip
20 Voices: Silicon versus the bad guys: Infineon’s Joerg Borchert on security
The realities of the maximum-supplycurrent specification for op amps
48
Understand what this common, important parameter really means and why it may be much higher than you see on the data sheet. By Harry Holt, Analog Devices Inc Cover: ImaGe CompoSITe: DavID NICaSTro; ImaGeS: ISToCkphoTo
DesigniDeas
VCC
53 Circuit provides universal ac-input-voltage adapter+ F R2 1.5M
HIGH
R4 8.25k 3
2 D1 BAT54S
R5 2.15k
1
MF-USMF005
1 54 LED Logic probe uses two comparators
8 IC1A AD823AR
R7
+
1
1k 56 DAC fine-tunes reference output ON 59 LEDs indicate sound level +
−
LED3
5
D2 ZHCS750
C2 100 nF
+
IC1B [www.edn.com]
AD823AR
6
C1 10 µF
−
4
August 25, 2011 | EDN 5
7 R8 1k
R9 1k
Find It Here. Faster.
™
The Newest Products for Your Newest Designs®
Scan Here to Watch Video
Authorized distributor for the most advanced semiconductors and electronic components.
Get What’s Next. Right now at mouser.com.
Mouser and Mouser Electronics are registered trademarks of Mouser Electronics, Inc.
contents 8.25.11 •
BACKLASH
TM +
−
•
•
•
TS
TS=TS −TS C
C
•
θM θD BS+K 1 ∑ JMS+BM S + −
∑
••
•
TS =BθD+KθD
θD=θM−θL
TS + C
−
•
+
62
B
•
T TS − L
∑
θL 1 JLS+BL
∑
θL
••
Benchmark MOSFETs
•
JLθL+BLθL=TS−TL
•
JMθM+BMθM=TM−TS
•
TS =BθB+KθB B
•
•
θD
1 S
θD +
−
∑
K/B
+
+
θD
∑
θB
•
θB
TS
θB ≤α
+
K
+
B
∑
+α θB I1 1 IF I1=A (TS≥0) S −α • THEN O1=MIN (0, I2) θB I2
B
IF I1=−A (TS≤0) THEN O1=MAX (0, I2)
26
DC-DC Buck Converter and POL Applications
O1
IF −A
d e pa r t m e n t s & C O l u m n s dn_mechatronics_fig2
8
Reduce 80% to fit
SO-8
ADELINE
EDN.comment: Those tenacious engineers
22 Baker’s Best: Get the job right the first time
V
IRF8788PBF
30
44
2.8
IRF8714PBF (Ctrl)
30
8.1
8.7
IRF7862PBF (Sync)
30
30
3.7
24 Prying Eyes: What’s inside a smart meter? iFixit tears it down 26 Mechatronics in Design: Control-oriented modeling for backlash 60 Product Roundup: Cooling and enclosures 62 Tales from the Cube: Going against the grain dust
online contents O n l i n e O n ly
D1 1N4148 ADJUST BRIGHTNESS OF LED R2
www.edn.com
WANTED: Design Ideas
Check out this Web-exclusive article:R
3 TO 9V
1
Want to see your Q 3 TOto 9V build an electric Engineer shares how 3 TO 9V C R R work featured in 300 pF 10k 200k 14 I (t) vehicle from the ground12 up—Part 2: I (t) 3 5 8 G 10 4 6 G 9 G I (t) OR I (t)EDN? Submit your specs, challenges, andHEF4011BP the future design R L 7 10k own 5 TO D Design Idea— C R Part 2 of this two-part how-to series 1N4007 150k 100 nF BYPASS Q 10 mH D Q) a (OR short, compact C1364 13 WHITE discusses mechanical and structural 12 G 11 HIGH-REVERSELED BREAKDOWN article that helps solve problems or shows VOLTAGE challenges and solutions, specifications, innovative ways to accomplish design NOTE: R +R =200 kΩ. road-test results, and what will be next tasks. We review articles that fall into virtufor this personal EV (electric-vehicle) effort. ally any technology area: analog or digital ➔www.edn.com/110825toca circuits, programmable logic, hardwaredesign languages, systems, programming tips, useful utilities, test techniques, and so What’s happening in the on. The idea should be useful, innovative, electronics world? or tricky. And if we publish your Design The EDN.com News Center provides Idea, we pay you $150. real-time breaking news and analysis on EDN110407 DI 5111 ToDIANE learn what makes a good Design the global electronics industry, including Idea, spend some time browsing our coverage of semiconductors, lawsuits, archive of Design Ideas at www.edn. IC design, microprocessor units, concom/designideas. For more information sumer electronics, analog, and business on how to submit a Design Idea, see the Design Ideas Writers’ Guide: www.edn. trends. com/110825tocc. ➔www.edn.com/110825tocb D2 1N4148
1
BC557
1
4
3
C
D
1
2
3
C
5
6
D
1
nC
Part
mΩ
PQFN (5x6) Part
V
nC
mΩ
IRFH5303
30
15
4.2
IRFH5304
30
16
4.5
IRFH5306
30
7.8
8.1
IRFH5301
30
37
1.9
IRFH5302
30
4.8
2.1
IRFH5302D
30
26
2.5
mΩ
PQFN (3x3) Part
V
nC
IRFHM831
30
7.3
7.8
IRFHM830
30
15
3.8
IRFHM830D
30
13
4.3
4
2
2
3
2
4
1
PQFN (2x2)
2
EDN® (ISSN# 0012-7515) is published semimonthly by UBM Electronics, 600 Community Drive, Manhasset, NY 11030-3825. Periodicals postage paid at Manhasset, NY, and at additional mailing offices. SUBSCRIPTIONS—Free to qualified subscribers as defined on the subscription card. Rates for nonqualified subscriptions, including all issues: US, $150 one year; $250 two years; $300 three years. Except for special issues where price changes are indicated, single copies are available for $10 US and $15 foreign. For telephone inquiries regarding subscriptions, call 847-559-7597. E-mail: [email protected]. CHANGE OF ADDRESS—Notices should be sent promptly to PO Box 47461, Plymouth, MN 55447. Please provide old mailing label as well as new address. Allow two months for change. NOTICE—Every precaution is taken to ensure accuracy of content; however, the publishers cannot accept responsibility for the correctness of the information supplied or advertised or for any opinion expressed herein. POSTMASTER—Send address changes to EDN, PO Box 47461, Plymouth, MN 55447. CANADA POST: Publications Mail Agreement 40612608. Return undeliverable Canadian addresses to BleuChip International, PO Box 25542, London, ON N6C 6B2. Copyright 2011 by United Business Media. All rights reserved. Reproduction in whole or part without written permission is prohibited. Volume 56, Number 16 (Printed in USA).
Part
V
nC
mΩ
IRFHS8342
30
4.2
16
IRFHS8242
25
4.3
13
OICE Your FIRST CH e for Performanc For more information call 1.800.981.8699 or visit www.irf.com
THE POWER MANAGEMENT LEADER
edn.comment BY PAUL RAKO, TECHNICAL EDITOR
Those crazy engineers
O
nce a Gila monster bites its prey, it never lets go until the prey is dead. Engineers should do the same to problems— perhaps not every problem, but now and then pick a battle and just don’t let go until you figure it out. It may seem a waste of time to those around you, especially your boss or your spouse. Yet persistence in solving problems makes you a better engineer and gives you a deeper understanding of what you are working on. Better yet, it gives you a better understanding of how to solve problems. By developing a reputation as a tenacious problem solver, you will become the go-to guy when something serious comes up. That reputation will surely help your career because management will see that you do the tough jobs.
I first saw what I considered crazy behavior in a consultant pal. My friend John Haggis is a software programmer, but he understands and respects hardware. Around 1985, like many of us, Haggis was building his own PC, but the add-in cards he had implemented just wouldn’t work. Back in the DOS days, you had to set a little DIP switch on the add-in card to select an interrupt line. Haggis had several add-in cards in the PC he was building. He had spent days trying to get all the cards to work properly. He didn’t let his title of programmer stop him from dragging out an oscilloscope and looking at the interrupt signals. He soon saw that the only way to make all the cards work was to assign a certain interrupt line to one of them. That card had no edge-cardconnector pin for the interrupt. Although most engineers might have given up, Haggis instead found an add-in card in a different slot that had an unused connector pin. No trace connected to the pin, so he knew the card didn’t need that particular interrupt. He took some blue wire-wrap wire and connected the problem add-in card DIP 8 EDN | August 25, 2011
By marching up the ramparts of a problem, you learn the details of how something works. switch to the edge-card connector pin on the card next to it. All the add-in cards then finally worked properly. In 2004, I worked with Paul Grohe at National Semiconductor. Grohe was
trying to put one of those old problematic Turtle Beach sound cards into an even older Windows 95 PC. Like Haggis, Grohe had no fear of seemingly unsolvable problems. Over daily weekday lunches in National’s cafeteria, several other engineers and I became more critical of Grohe’s seemingly absurd fixation with this problem. We told him to toss out the Turtle Beach card; everyone knew it was a problem. We told him to upgrade the OS to Windows 98 or Windows XP. We told him he could throw the whole computer in the garbage and get a new one for much less than the cost of the time he was spending to solve this problem. Nevertheless, Grohe soldiered on. “It’s not going to beat me; I will get this working,” he told us. It took him two weeks, but, one day, he came in all smiles. He had searched news groups. He had read documentation. He had learned how to update everything from the BIOS to the video drivers. Two weeks later, he upgraded the computer to Windows 98, and it seemed as if he had just thrown away all that work. Sure, knowing the details of a soundcard installation on an obsolete operating system might seem insignificant. But learning how a PC, the operating system, and those same pesky interrupts worked gave Grohe a foundation for solving modern-PC problems, as well. With tenacity, by marching up the ramparts of a problem after all around you have fallen, you learn the subtle details of how something works. You also learn the simplest and fastest way to take on what others considered an unsolvable problem. Haggis and Grohe are exceptional engineers, and, when I have a tough problem, they are on my short list of people to call to get insight and a method for solving it. We should all try to have the same level of tenacity. At first your boss might resent your spending so much time on a problem. As you get better at finding solutions, though, your boss will come to cherish your contribution, just as I cherish my crazy engineer friends.EDN Contact me at [email protected]. [www.edn.com]
POWER MANAGEMENT | ANALOG & RF | INTERFACE & CONNECTIVITY | CLOCKS & TIMING | MEMORY & LOGIC | TOUCH & USER INTERFACE | VIDEO & DISPLAY | AUDIO
Integrated D evice Technology FemtoClock NG – When a Trillionth Of a Second is Just Too Long
0.168 ps RMS Phase Noise (12k - 20M)
The FemtoClock Next Generation (NG) clock synthesiser family allows engineers to generate almost any output frequency from a fixed frequency crystal, and to meet the challenges of the most demanding timing applications.
engineers to generate any output frequency from any input frequency. And the advanced design of the FemtoClock NG family achieves greater than 80 dB of PSNR to make the devices immune to power-supply noise.
Use of a single source to generate multiple clocks often leads to increased susceptibility to power supply noise and restrictions on multiplication factors. IDT’s technology effectively eliminates these problems by doubling the power-supply noise rejection (PSNR) of previous generation devices while also introducing the potential for virtually limitless customization of output frequency.
Other performance benefits of FemtoClock NG technology include low power consumption and a clocking performance of under 0.5 ps RMS phase noise jitter! The devices offer standard outputs such as differential LVPECL, LVDS and single-ended LVCMOS, providing a precise fit to any application.
An innovative fractional multiplier PLL architecture introduces the flexibility for
With FemtoClock NG technology, IDT has eliminated the most challenging aspects of silicon-based clock design and introduced an unprecedented level of flexibility for clocking in high-performance applications.
Integrated Device Technology The Analog and Digital Company™
For more information visit us online at www.IDT.com
Accelerating Your Success.
™
Three Times the Power People. Products. Services. The powerful combination of Avnet and Bell Microproducts provides the expertise you need to accelerate your success. Our combined team gives you access to world-class resources. Bringing industry leading line cards together, we now deliver the most extensive inventory of brand name systems, embedded hardware, displays, storage and software. And, with our enhanced services you have access to Avnet’s leading ISO integration centers, financial solutions and supply chain strategies.
1 800 332 8638 www.avnetexpress.com Follow us on Twitter!
©Avnet, Inc. 2011. All rights reserved. AVNET is a registered trademark of Avnet, Inc.
www.twitter.com/avnetdesignwire
AssociAte Publisher, EDN WorldWide
Bob Dumas, 1-516-562-5742; [email protected] director of content, EDN And designlines
Patrick Mannion, 1-631-543-0445; [email protected] editor-At-lArge
Ron Wilson EDA Tools, Chip Design, Services, Silicon 1-415-947-6317; [email protected] MAnAging editor
Amy Norcross Contributed technical articles 1-781-869-7971; [email protected] MAnAging editor, online
Suzanne Deffree Electronic Business, Distribution 1-631-266-3433; [email protected] technicAl editor
Margery Conner Power Sources, Components, Green Engineering 1-805-461-8242; [email protected] technicAl editor
Paul Rako Design Ideas, Analog, RF, PCB Design 1-408-745-1994; [email protected] senior AssociAte editor
Frances T Granville, 1-781-869-7969; [email protected] AssociAte editor
Jessica MacNeil, 1-781-869-7983; [email protected] coluMnists
Howard Johnson, PhD, Signal Consulting Bonnie Baker, Texas Instruments Pallab Chatterjee, SiliconMap Kevin C Craig, PhD, Marquette University
contributing technicAl editors
Dan Strassberg, [email protected] Stephen Taranovich, [email protected] Nicholas Cravotta, [email protected] Robert Cravotta, [email protected] Vice President/design director
Gene Fedele creAtiVe director
David Nicastro Art director
Giulia Fini-Gulotta Production
Adeline Cannone, Production Manager Laura Alvino, Production Artist Yoshihide Hohokabe, Production Artist Diane Malone, Production Artist EDN EuropE
Graham Prophet, Editor, Reed Publishing [email protected] EDN AsiA
Grace Wu, Associate Publisher [email protected] Kirtimaya Varma, Editor-in-Chief [email protected] EDN ChiNA
$RAW &ROM