Electrical Engineering 101. Third Edition



Similar documents
Integrated Reservoir Asset Management

superseries FIFTH EDITION

HTML5 DESIGNING RICH INTERNET APPLICATIONS MATTHEW DAVID

Club Accounts Question 6.

Mike: Alright welcome to episode three of Server Talk, I m here with Alexey. I m Mike. Alexey, how are things been going, man?

How To Thrive & Succeed Selling Lots of Pre-Arranged Funerals Even in a Lousy Economy

The Psychic Salesperson Speakers Edition

Reputation Management for Local Businesses: Protect Your Image

15 Toughest Interview Questions and Answers! Reference: WomenCo. Lifestyle Digest,

Copyright 2011 Gartner, Inc. All rights reserved. Printed in the United States of America

A: We really embarrassed ourselves last night at that business function.

Agile Development & Business Goals

Rock-N-Happy Heart: The Devotional By Yancy. by Yancy

HIGHLIGHT PROGRESSION WHETHER IT BE IN SCHOOL, LEADERSHIP, OR WORK.

RECRUITERS ON RECRUITING

One Day. Helen Naylor. ... Level 2. Series editor: Philip Prowse. Cambridge University Press One Day.

A Simple Guide to Churn Analysis

The One Key Thing You Need to Be Successful In Prospecting and In Sales

Advice for Recommenders: How to write an effective Letter of Recommendation for applicants to the Stanford MBA Program

Seven Things You Must Know Before Hiring a Real Estate Agent

Kim: Thank you Todd, I m delighted to be here today and totally looking forward to our conversation.

Drunk Driving Vocabulary Lesson

Agile Development & Business Goals. The Six Week Solution. Joseph Gee. George Stragand. Tom Wheeler

LISTEN A MINUTE.com. Accidents. One minute a day is all you need to improve your listening skills.

Thank you so much for having me. I m really excited to be here today.

Copyright (c) 2015 Christopher Small and The Art of Lawyering. All rights reserved.

How To Understand Your Car Insurance Coverage

I m Graydon Trusler and I ve been doing all the Marketing for my wife s divorce law firm in Austin for 8 years or so.

[ INTRODUCTION ] A lot has changed since 1992, except for everything that hasn t. We come from a place you ve probably never heard of.

NEW DRIVERS HOW TO TAKE THE ON-THE-ROAD SKILLS TEST. KELLY MANNING: Welcome to DMV Infocast, an audio production of the

Art Direction for Film and Video

MORNING STORIES TRANSCRIPT. Shipment Number Six: Mark Grashow and Sheri Salzburg prepare containers of ideas for African kids.

GOSPEL Mark 10: The holy gospel, according to Saint Mark, the tenth chapter. Glory to you, O Lord.

Self-Acceptance. A Frog Thing by E. Drachman (2005) California: Kidwick Books LLC. ISBN Grade Level: Third grade

Why Your Job Search Isn t Working

Student Evaluation of Teaching - Form SRT Form - Official End-of-Semester Evaluation of Teaching

REAL ESTATE DOUGH Your Recipe for Real Estate Success!

Worth the Sacrifice: Making College Count for You

ACT ONE. (The phone rings. He answers.)

Task 3 Reading into Writing: Family Business

BetInfo24 Betfair Trading Strategy

You re sitting on a gold mine right there. Are you a good accountant? And many of your clients have been with you for a while?

Ep #19: Thought Management

Lance Pitlick has built two careers from his passion for hockey

ADDRESS TO NEW MEMBERS MAY 16, 2005 THE MEANING OF LIFE, THE UNIVERSE, AND ALL THAT

Secrets From OfflineBiz.com Copyright 2010 Andrew Cavanagh all rights reserved

Regional Slot Tech Training Class Five-Day Class-March 18-22, 2013

Pay per Click Success 5 Easy Ways to Grow Sales and Lower Costs

Helping Your Kid Choose a College: A PARENTS GUIDE

Audience: Audience: Tim Sain: Audience:

How to Create a Diverse Marketing Plan Valtimax Radio. PO Box Aventura, FL

CROSS EXAMINATION OF AN EXPERT WITNESS IN A CHILD SEXUAL ABUSE CASE. Mark Montgomery

Colleen s Interview With Ivan Kolev

16 Rules of Internet Success By Jeff Walker

HOW WALMART FOUND ITS VOICE. An Interview with Director of Social Strategy Umang Shah

A: I thought you hated business. What changed your mind? A: MBA's are a dime a dozen these days. Are you sure that is the best route to take?

What does student success mean to you?

Critical analysis. Be more critical! More analysis needed! That s what my tutors say about my essays. I m not really sure what they mean.

Creating Your Own Spreads by Radleigh Valentine

How to Outsource Without Being a Ninnyhammer

Configuration. Management for. Senior Managers. Essential Product Configuration. and Lifecycle Management

Mortgage Secrets. What the banks don t want you to know.

Please note the information contained within this document is for Educational purposes only.

Mammon and the Archer

Sample only. STOP for Each Other. Unit 1: Introduction SAFETY TRAINING OBSERVATION PROGRAM. Name:

King Midas & the Golden Touch

Seven Things You Must Know Before Hiring a Real Estate Agent

The Money Jars Activity Lesson Use with Camp Millionaire and The Money Game

ZCorum s Ask a Broadband Expert Series:

an excerpt from The 21 Success Secrets of Self-Made Millionaires by Brian Tracy Published by Berrett-Koehler Publishers

Transcription. Crashplan vs Backblaze. Which service should you pick the short version

ONE DOLLAR AND EIGHTY-SEVEN CENTS.

Internet Marketing for Local Businesses Online

LOVE OUT LOUD 365 DEVOTIONS FOR LOVING GOD, LOVING YOURSELF, AND LOVING OTHERS

Elvis and the Feathers

Bottleneck. Breaking. the ST. LOUIS

Before you start, let s have a little fun. Grab a few crayons and a couple pieces of paper. Got it? Now, everyone draw a picture of Jesus.

The Academic Language of Tests

Computer Assisted Language Learning. Blogger Tutorial

Supply Chain Strategies

Angel Guidance Messages of Love and Guidance

Invest Your Heartbeats

Using sentence fragments

How to Create Effective Training Manuals. Mary L. Lanigan, Ph.D.

SCRIPT FOR OUTREACH. Disconnected and Cyber Predators. Introduction. How many of you have your own cell phones or smart phone?

National Wraparound Initiative Technical Assistance Call Transcript. Family Members as Wraparound Facilitators And Funding Wraparound with Medicaid

Financial Freedom: Three Steps to Creating and Enjoying the Wealth You Deserve

She Wants Out Part II. Female gang members are second-class citizens. The guys sometimes throw

TOP 10 VIRTUAL ASSISTANT TIPS

Fixed/Mobile Convergence and Beyond AMSTERDAM BOSTON. HEIDELBERG LONDON

Interviewer: What is your business, first of all? What do you do, and what is it like being a pastor and businessman at the same time?

Transcription:

Electrical Engineering 101 Third Edition

Electrical Engineering 101 Everything You Should Have Learned in School but Probably Didn t Third Edition Darren Ashby AMSTERDAM BOSTON HEIDELBERG LONDON NEW YORK OXFORD PARIS SAN DIEGO SAN FRANCISCO SINGAPORE SYDNEY TOKYO Newnes is an imprint of Elsevier

Newnes is an imprint of Elsevier 225 Wyman Street, Waltham, MA 02451, USA The Boulevard, Langford Lane, Kidlington, Oxford, OX5 1GB, UK 2012 Elsevier Inc. All rights reserved. No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or any information storage and retrieval system, without permission in writing from the Publisher. Details on how to seek permission, further information about the Publisher s permissions policies and our arrangements with organizations such as the Copyright Clearance Center and the Copyright Licensing Agency, can be found at our website: www.elsevier.com/ permissions This book and the individual contributions contained in it are protected under copyright by the Publisher (other than as may be noted herein). Notices Knowledge and best practice in this field are constantly changing. As new research and experience broaden our understanding, changes in research methods, professional practices, or medical treatment may become necessary. Practitioners and researchers must always rely on their own experience and knowledge in evaluating and using any information, methods, compounds, or experiments described herein. In using such information or methods they should be mindful of their own safety and the safety of others, including parties for whom they have a professional responsibility. To the fullest extent of the law, neither the Publisher nor the authors, contributors, or editors, assume any liability for any injury and/or damage to persons or property as a matter of products liability, negligence or otherwise, or from any use or operation of any methods, products, instructions, or ideas contained in the material herein. Library of Congress Cataloging-in-Publication Data Ashby, Darren. Electrical engineering 101 : everything you should have learned in school but probably didn t / Darren Ashby. 3rd ed. p. cm. ISBN 978-0-12-386001-9 (pbk.) 1. Electrical engineering. I. Title. II. Title: Electrical engineering one hundred one. III. Title: Electrical engineering one hundred and one. TK146.A75 2011 621.3 dc23 2011020171 British Library Cataloguing-in-Publication Data A catalogue record for this book is available from the British Library. For information on all Newnes publications visit our website at www.elsevierdirect.com Typeset by: diacritech, India 11 12 13 14 10 9 8 7 6 5 4 3 2 1 Printed in the United States of America

Contents v PREFACE... vii ABOUT THE AUTHOR... xi CHAPTER 0 What Is Electricity Really?... 1 Chicken vs. Egg...1 So What Is Electricity?...1 The Atom...2 Now What?...5 A Preview of Things to Come...9 It Just Seems Magical...10 CHAPTER 1 Three Things They Should Have Taught in Engineering 101... 11 Units Count!...11 How to Visualize Electrical Components...14 Learn an Intuitive Approach...19 Lego Engineering...22 CHAPTER 2 Basic Theory... 25 Ohm s Law Still Works: Constantly Drill the Fundamentals...25 It s About Time...43 Beam Me Up?...54 Keep It Under Control...60 CHAPTER 3 Pieces Parts... 67 Partially Conducting Electricity...67 Power and Heat Management...77 The Magical Mysterious Op-Amp...82 Negative Feedback...85 Positive Feedback...89 It s Supposed to Be Logical...93 Microprocessor/Microcontroller Basics...105 Climbing the Software Language Mountain...115 Input and Output...119

vi Contents CHAPTER 4 The Real World... 133 Bridging the Gap...133 A-to-D and Back Again...136 It Takes a Little D to A to Get a Little A to D...138 When Parts Aren t Perfect...142 Robust Design...148 Some of My Favorite Circuits...153 Get Your Own Here Are a Few...158 Power Supplies...162 Making Stuff Move: The Electromechanical World...168 Maintaining Speed...175 Some Other Types of Motors...181 CHAPTER 5 Tools... 189 Making the Invisible Visible...189 Simulators...196 Soldering Irons...199 People Tools...204 CHAPTER 6 Troubleshooting... 209 Getting Ready for the Hunt...209 Ghost in the Machine: EMI...215 Timing Is Everything...220 Under Pressure...220 Be Prepared for Surprises...220 Code Junkies Beware...226 CHAPTER 7 Touchy-Feely Stuff... 231 People Skills...231 Becoming an Extroverted Introvert...238 Communication Skills...243 Especially for Managers...247 Especially for Employees...252 How to Make a Great Product...256 GLOSSARY... 261 INDEX... 269

Preface vii THE FIRST WORD In my day job I have been lucky enough to work with one of the greatest corporate success stories in the technical field ever. For a sparky tech nut just going to the Google campus was a bit like traipsing to mecca. I remember my first tour there, and getting a free lunch. Our corporate contact made a comment. He said, They ve created some kind of engineers paradise over here. I kind of wondered about that comment. Over the last couple of years I have pondered it quite a bit. I learned a lot more about what this paradise was in subsequent dealings with the king of search. They had the free food and all these other perks but the thing that stood out most to me from the first time I heard it was 20% time. A quick Google search will tell you the details of 20% time. The principle is simple: You are given 20% of your time to work on a pet project. The project is your choice. The only caveat is that if you come up with something cool Google gets to use it to make more money. In talking to contacts there I found out that time is sacrosanct; your management cannot demand you give up that time for your main goals. You can volunteer it if you want to but it is up to you. In general planning, however, you and your boss plan four days a week on your main assigned tasks and one day every week is yours. Build Intrepreneurs I learned a new term recently that I think is very relevant in corporate growth and success, intrepreneur. The intrepreneur is the baby brother to the entrepreneur. This is the guy who has that big idea and wants to change the world; he has the mentality to do so but doesn t have the resources. Resources, in fact, is the only way in which they differ. The entrepreneur finds a way to resource his idea, but whether due to motivation or circumstance, the intrepreneur can t quite get over that issue. Often times these are the shooting stars in your organization. The trick is to enable these guys to make things happen. Give them the resources and turn them loose. The 20% time mentioned above is a great way of finding these individuals. The successful intrepreneur will gather others and use their 20% time to make something cool. What engineer do you know that wouldn t consider that paradise? Engineers = Success Why are engineers so important to America s success? Here is an interesting fact or two: Google hires 50% engineers and 50% everyone else. Twice as many start-up businesses are from new MIT grads than from Harvard Business School graduates (and the schools are practically right next to each other). I haven t

viii Preface met an engineer who doesn t like to make cool things; it is in their mindset; it is in their nature; great engineers usually make pretty good money relative to the average Joe in America, simply because their skill set is so valued. Thing is, they aren t always the top-paid people, even though their contributions are often much more critical to success than that of all the management above them. I think this is because they get so much satisfaction out of making stuff that, as long as they feel like they are making ends meet, things are good. This type of person is a huge asset to the American economy. Greed doesn t drive them, invention does, and invention leads to an improved economy more than anything else. Invention of new technology improves the standard of living for everyone. It is the only thing that does. Google went from nothing to the top in 11 years; they themselves credit this to hiring great engineers and cutting them loose to change the world. We need more of this. We humans have a built-in engineering gene; we love to build and make stuff. Every kid plays with blocks, creates things, and imagines things. So why aren t there more engineers? Is it really that hard to become one? Should it be? I hope that somebody out there reads this book and thinks, Screw all those guys who think I m not smart enough I m gonna change the world anyway! OVERVIEW For Engineers Granted, there are many good teachers out there and you might have gotten the basics, but time and too many status reports have dulled the finish on your basic knowledge set. If you are like me, you have found a few really good books that you often pull off the shelf in times of need. They usually have a well-written, easy-to-understand explanation of the particular topic you need to apply. I hope this will be one of those books for you. You might also be a fish out of water, an ME thrown into the world of electrical engineering, who would really like a basic understanding to work with the EEs around you. If you get a really good understanding of these principles, I guarantee you will surprise at least some of the sparkies (as I like to call them) with your intuitive insights into the problems at hand. For Students I don t mean to knock the collegiate educational system, but it seems to me that too often we can pass a class in school with the assimilate and regurgitate method. You know what I mean: Go to class, soak up all the things the teacher wants you to know, take the test, say the right things at the right time, and leave the class without an ounce of applicable knowledge. I think many students are forced into this mode when teachers do not take the time to lay the groundwork for the subject they are covering. Students are so hard-pressed to simply keep up that they do not feel the light bulb go on over their heads or say,

Preface ix A-ha, now I get it! The reality is, if you leave the class with a fundamental understanding of the topic and you know that topic by heart, you will be eminently more successful at applying that basic knowledge than anything from the end of the syllabus for that class. For Managers The job of the engineering manager 1 really should have more to it than is depicted by the pointy-haired boss you see in Dilbert cartoons. One thing many managers do not know about engineers is that they welcome truly insightful takes on whatever they might be working on. Please notice I said truly insightful; you can t just spout off some acronym you heard in the lunchroom and expect engineers to pay attention. However, if you understand these basics, I am sure there will be times when you will be able to point your engineers in the right direction. You will be happy to keep the project moving forward, and they will gain a new respect for their boss. (They might even put away their pointy-haired doll!) For Teachers Please don t get me wrong, I don t mean to say that all teachers are bad; in fact, most of my teachers (barring one or two) were really good instructors. However, sometimes I think the system is flawed. Given pressures from the dean to cover X, Y, and Z topics, sometimes the more fundamental X and Y are sacrificed just to get to topic Z. I did get a chance to teach a semester at my own alma mater. Some of these chapters are directly from that class. My hope for teachers is to give you another tool that you can use to flip the switch on the a-ha light bulbs over your students heads. For Everyone At the end of each topic discussed in this book are bullet points I like to call Thumb Rules. They are what they seem: those rule-of-thumb concepts that really good engineers seem to just know. These concepts are what always led them to the right conclusions and solutions to problems. If you get bored with a section, make sure to hit the Thumb Rules anyway. There you will get the distilled core concepts that you really should know. 1 Suggested alternate title for this book from reader Travis Hayes: EE for Dummies and Those They Manage. I liked it, but I figured the pointy-haired types wouldn t get it.

About the Author xi Darren Coy Ashby is a self-described techno geek with pointy hair. He considers himself a jack-of-all-trades, master of none. He figures his common sense came from his dad and his book sense from his mother. Raised on a farm and graduated from Utah State University seemingly ages ago, Darren has more than 20 years of experience in the real world as a technician, an engineer, and a manager. He has worked in diverse areas of compliance, production, testing, and his personal favorite, research and development. Darren jumped at a chance some years back to teach a couple of semesters at his alma mater. For about two years, he wrote regularly for the online magazine Chipcenter.com. He is currently the director of electronics R&D at a billiondollar consumer products company. His passions are boats, snowmobiles, motorcycles, and pretty much anything with a motor. When not at his day job, he spends most of his time with his family and a promising R&D consulting/ manufacturing firm he started a couple of years ago. Darren lives with his beautiful wife, four strapping boys, and cute little daughter next to the mountains in Richmond, Utah. He believes pyromania goes hand in hand with becoming a great engineer and has dedicated a Facebook page to that topic. You can email him with comments, complaints, and general ruminations at dashby@raddd.com; if all you want are tidbits of wisdom you can follow him on Twitter under sparkyguru.