Download as pdf or txt
Download as pdf or txt
You are on page 1of 69

Practical Electronic Design for

Experimenters 1st Edition Louis


Frenzel - eBook PDF
Go to download the full and correct content document:
https://ebooksecure.com/download/practical-electronic-design-for-experimenters-ebo
ok-pdf/
More products digital (pdf, epub, mobi) instant
download maybe you interests ...

Principles of Electronic Communication Systems 5th


Edition Louis Frenzel - eBook PDF

https://ebooksecure.com/download/principles-of-electronic-
communication-systems-ebook-pdf-2/

Experiments Manual for Principles of Electronic


Communication Systems 5th Edition Louis Frenzel - eBook
PDF

https://ebooksecure.com/download/experiments-manual-for-
principles-of-electronic-communication-systems-ebook-pdf/

Principles of Electronic Communication Systems 5th


Edition Louis E Frenzel Jr - eBook PDF

https://ebooksecure.com/download/principles-of-electronic-
communication-systems-ebook-pdf/

Principles of Electronic Communication Systems 4 ed.


Edition Louis E. Frenzel Jr. - eBook PDF

https://ebooksecure.com/download/principles-of-electronic-
communication-systems-ebook-pdf-3/
(eBook PDF) Practical Concepts for Capstone Design
Engineering

http://ebooksecure.com/product/ebook-pdf-practical-concepts-for-
capstone-design-engineering/

Startup Program Design: A Practical Guide for Creating


Corporate Accelerators and Incubators 1st Edition-
eBook PDF

https://ebooksecure.com/download/startup-program-design-a-
practical-guide-for-creating-corporate-accelerators-and-
incubators-ebook-pdf/

Power Electronic System Design: Linking Differential


Equations, Linear Algebra, and Implicit Functions 1st
edition - eBook PDF

https://ebooksecure.com/download/power-electronic-system-design-
linking-differential-equations-linear-algebra-and-implicit-
functions-ebook-pdf/

Electronic Devices and Circuits 1st edition - eBook PDF

https://ebooksecure.com/download/electronic-devices-and-circuits-
ebook-pdf/

Practical Research: Planning and Design 12th Edition


(eBook PDF)

http://ebooksecure.com/product/practical-research-planning-and-
design-12th-edition-ebook-pdf/
Practical Electronic Design
for Experimenters
This page intentionally left blank
Practical Electronic Design
for Experimenters

Louis E. Frenzel, Jr.

New York Chicago San Francisco Athens London Madrid


Mexico City Milan New Delhi Singapore Sydney Toronto
Copyright © 2020 by McGraw-Hill Education. All rights reserved. Except as permitted under the United States Copyright Act of 1976,
no part of this publication may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system,
without the prior written permission of the publisher.

ISBN: 978-1-26-045616-5
MHID: 1-26-045616-1

The material in this eBook also appears in the print version of this title: ISBN: 978-1-26-045615-8,
MHID: 1-26-045615-3.

eBook conversion by codeMantra


Version 1.0

All trademarks are trademarks of their respective owners. Rather than put a trademark symbol after every occurrence of a trademarked
name, we use names in an editorial fashion only, and to the benefit of the trademark owner, with no intention of infringement of the
trademark. Where such designations appear in this book, they have been printed with initial caps.

McGraw-Hill Education eBooks are available at special quantity discounts to use as premiums and sales promotions or for use in corpo-
rate training programs. To contact a representative, please visit the Contact Us page at www.mhprofessional.com.

Information contained in this work has been obtained by McGraw-Hill Education from sources believed to be reliable. However, nei-
ther McGraw-Hill Education nor its authors guarantee the accuracy or completeness of any information published herein, and neither
McGraw-Hill Education nor its authors shall be responsible for any errors, omissions, or damages arising out of use of this information.
This work is published with the understanding that McGraw-Hill Education and its authors are supplying information but are not at-
tempting to render engineering or other professional services. If such services are required, the assistance of an appropriate professional
should be sought.

TERMS OF USE

This is a copyrighted work and McGraw-Hill Education and its licensors reserve all rights in and to the work. Use ofthis work is subject
to these terms. Except as permitted under the Copyright Act of 1976 and the right to store and retrieve one copy of the work, you may
not decompile, disassemble, reverse engineer, reproduce, modify, create derivative works based upon, transmit, distribute, disseminate,
sell, publish or sublicense the work or any part of it without McGraw-Hill Education's prior consent. You may use the work for your
own noncommercial and personal use; any other use of the work is strictly prohibited. Your right to use the work may be terminated if
you fail to comply with these terms.

THE WORK IS PROVIDED "AS IS." McGRAW-HILL EDUCATION AND ITS LICENSORS MAKE NO GUARANTEES OR WAR-
RANTIES AS TO THE ACCURACY, ADEQUACY OR COMPLETENESS OF OR RESULTS TO BE OBTAINED FROM USING
THE WORK, INCLUDING ANY INFORMATION THAT CAN BE ACCESSED TIIROUGH THE WORK VIA HYPERLINK OR
OTHERWISE, AND EXPRESSLY DISCLAIM ANY WARRANTY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. McGraw-Hill Education
and its licensors do not warrant or guarantee that the functions contained in the work will meet your requirements or that its opera-
tion will be uninterrupted or error free. Neither McGraw-Hill Education nor its licensors shall be liable to you or anyone else for any
inaccuracy, error or omission, regardless of cause, in the work or for any damages resulting therefrom. McGraw-Hill Education has no
responsibility for the content of any information accessed through the work. Under no circumstances shall McGraw-Hill Education and/
or its licensors be liable for any indirect, incidental, special, punitive, consequential or similar damages that result from the use of or
inability to use the work, even if any of them has been advised of the possibility of such damages. This limitation ofliability shall apply
to any claim or cause whatsoever whether such claim or cause arises in contract, tort or otherwise.
Contents

Introduction .................................................. . xi

1 Introduction to Electronic Design ..•..••..•..•..••.••..•..••.••..• 1


Defining Design .......................................... ...... . 1
Design Perspective .............................................. . 1
Get a Design Notebook .......................................... . 2
Get a Calculator................................................ . 2
A Standard Design Approach ..................................... . 3
Design Doctrine Dozen .......................................... . 9
Types of Design .......................................... ...... . 10
Prerequisites for Design ......................................... . 11
A Design Example .............................................. . 11
An Alternative Beginning ........................................ . 14
2 Design Resources ............................................... . 15
Books ........................................................ . 15
Sources of Catalogs, Components, and Equipment .................... . 15
Magazines .................................................... . 16
Data Sheets ................................................... . 16
Applications Notes ............................................. . 17
Useful Web Sites ............................................... . 17
Educational Sources ............................................ . 18
Back to Basics ................................................. . 18
Searches ...................................................... . 18
3 Simulation and Prototyping ••.••..•..••..•..•..••.••..•..••.••..• 19
Circuit Simulation .............................................. . 19
Recommendation .............................................. . 21
Breadboarding ................................ .. .............. . . 21
Dead Bug Method .............................................. . 25
Working with Surface-Mount Components .......................... . 25
Components ................................................... . 25
One Good Prototyping Practice ................................... . 26
A Workbench .................................................. . 26
Summarizing ................................. .. ............... . 26
y
vi Contents

A Word About Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26


Your Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
4 Testing and Measuring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Multimeters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
How to Use a Multimeter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Oscilloscopes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Function Generators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Virtual Instruments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Circuits for Testing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Signal Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Making L and C Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
5 Common Circuit Design Techniques • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • 39
Drawing Circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Series-Dropping Resistor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Voltage Dividers................................................. 41
Special Sensor Resistors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Potentiometers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Error and Accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Variable Voltage Dividers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Transistor Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Design Example 5.1.............................................. 48
Design Example 5.2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Design Project 5.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Design Project 5.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Design Project 5.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Design Project 5.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Design Project 5.5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
6 Power Supply Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Power Supply Choices and Specifications............................. 51
The Make vs. Buy Decision. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Common Voltages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Designing a Battery Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Ampere-Hour Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Battery Supply Design Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Battery Supply Enhancements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Specifying a Linear Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Linear Supply Design Procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Linear Supply Design Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Switch-Mode Power Supplies (SMPS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Pulse-Width Modulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Contents vn

Design Project 6.1 . . . . .. . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . 68


Design Project 6.2 . . . . .. . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . 68
Design Project 6.3 . . . . .. . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . 68
Design Project 6.4 . . . . .. . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . 68

7 Amplifier Design. • • . • • . . • . . • • . • • . . • . . • • . . • . . • . . • • . • • . . • . . • • . • • . . • 69
Amplifier Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Specifying Amplifiers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Understanding the Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
A Microphone Amplifier. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Designing with Op Amps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Primary Op Amp Application Circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Differential Amplifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Error Source Compensation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Comparators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Power Amplifiers................................................ 83
Design Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Design Project 7.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Design Project 7.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Design Project 7 .3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Design Project 7 .4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86

8 Signal Source Design • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • 87


Signal Source Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Sine Wave Oscillators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Clock Oscillators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Multivibrators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Frequency Synthesizers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Design Project 8.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
Design Project 8.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
Design Project 8.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
Design Project 8.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Design Project 8.5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Design Project 8.6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101

9 Filter Design. . • • . • • . • • . . • . . • • . • • . . • . . • • . . • . . • . . • • . • • . . • . . • • . • • . . • 103


Types of Filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Filter Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Filter Design Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Filter Response Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
RC Filter Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Bandpass LC Filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Band Reject Filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
RC Active Filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Low-Pass Filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
viii Contents

LC Filter Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113


Switched Capacitive Filters..... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
DSP Filters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Design Project 9.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Design Project 9.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Design Project 9.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Design Project 9.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
1o Electromechanical Design .••.••..•..••.••..•..••.••..•..••.••..•• 117
Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Relays......................................................... 118
Solenoids . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Motors........................................................ 122
Motor Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Servo Motors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Design Project 10.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Design Project 10.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Design Project 10.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
11 Digital Design ••••••••••••••••••••••••••••••••••••••••••••••••••• 127
Three Design Approaches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Preliminary Design Decisions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Combinational Logic Circuits. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
DeMorgan's Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Functional ICs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Practical Digital Design Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
Design Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
Designing with a Programmable ROM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
TTL vs. CMOS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Sequential Logic Circuits. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Flip Flops. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Counters and Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
State Machine Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Design Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Data Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Data Conversion ICs............................................. 144
Design Project 11.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Design Project 11.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Design Project 11.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
Design Project 11.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Design Project 11.5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Design Project 11.6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Design Project 11.7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Design Project 11.8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Design Project 11.9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Contents ix

12 Programmable Logic Devices (PLDs) ..••..•..•..••.••..•..••.••..• 149


Programmable Logic Types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
Programming PLDs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
Complex Programmable Logic Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
FPGA Dominance............................................... 151
Application Decisions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
An Introduction to VHDL and Verilog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Development Boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Coding the Digital Circuit with an HDL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
FPGA Learning Resources........................................ 155
Development Board Sources....................................... 156
Summary...................................................... 156

13 Designing with Microcontrollers .. ................................ 157


Embedded Controller Design Process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Choosing an MCU and the Software................................ 159
More About Selecting an MCU or Processor. . . . . . . . . . . . . . . . . . . . . . . . . . 161
Software and Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Programming Language Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Some Takeaways . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Learning to Love BASIC.......................................... 167
The Case for Assembly Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
Microdesign Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Microinterfacing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
A Plan for Learning Micros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
Committing to a Microfuture...................................... 174
Design Project 13 .1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
Design Project 13.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
Design Project 13.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175

14 Component Selection ............................................ 177


Resistors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
E-24 Resistor Values-5 percent. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
E-96 Resistor Values-I percent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Special Resistors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
Potentiometers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
Capacitors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
Inductors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Semiconductor Selection.... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183

15 Troubleshooting and Debugging ................................. 187


Mitigating the Need for Hardware Troubleshooting . . . . . . . . . . . . . . . . . . . . 187
Test Equipment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
Prototype Troubleshooting........................................ 188
Electrical Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
x Contents

Troubleshooting Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190


Component Failure Likelihood . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
A Troubleshooting Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
Continuity Testing....................................... ........ 192
General Troubleshooting Suggestions................................ 193
Software Debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
Troubleshooting Practice. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
A Recommended Reference Books . ................................. 197

B Solutions to Design Projects • ••••••••••••••••••••••••••••••••••••• 199

C Transistor Amplifier Design ••.••..•..••.••..•..••.••..•..••.••..•• 217


D How to Use Karnaugh Maps •••••••••••••••••••••••••••••••••••••• 223
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
Introduction

This book is for you experimenters and makers wheel? The result is lesser design time and greater
who want to design your own electronic circuits success at lower cost. Your design may not
and equipment. There are not too many books always be "leading-edge" but it will do the job.
like this. Most books tell you how electronic
devices work and provide some projects to learn
You Are the Target Audience
from. But now you have in your hands a book
that is actually going to show you how to design When writing this book, I had the following
your own electronic circuits and equipment. It is people in mind:
written in a way so that any of you who have a • Hobbyists, experimenters, DIYers, and
background in electronic fundamentals can create makers who want to create their own
a circuit or device to do something you want to do. equipment.
You don't have to be an engineer to design things.
• New engineers-graduates who are well
With the knowledge and procedures in versed in math, physics, and electronic
this book, you can create products for resale, fundamentals but have not yet learned to
implement scientific projects that need special apply that knowledge to creating products.
equipment, or produce circuits for your own
• Technicians who are knowledgeable in
DIY (do-it-yourself) idea. The book relies upon
electronics but have not designed.
the availability of popular integrated circuits and
the many finished modules and subassemblies. • Scientists like physicists, chemists,
Using existing products and legacy circuits geologists, and other users of electronic
eliminates most of the difficult circuit design. equipment who often need custom
In many cases, you can piece together existing noncommercial equipment but can learn to
circuits and modules to make a device with design their own.
minimal electronic design. However, some basic • Students who can supplement their
circuit design is usually necessary and hopefully, theoretical studies with practical design
this book will help with that. knowledge. Students in an introductory
The design approach in this book focuses on college design course or taking a design
making a working device using standard parts capstone course or culminating design
and circuits. The recommendations in each project course where the theory is applied to
chapter suggest that you use chips and circuits a specific circuit or device.
that have been used before. Why reinvent the It is likely that you are part of one those groups.

xl
xii Introduction

Book Rationale Prerequisites


Where does one generally go to learn electronic The book assumes that you have some minimal
design? At colleges or universities offering a level of knowledge or experience in electronics.
BSEE degree, of course. These institutions teach While formal college-level electronic education
all the science, math, theory, components, and is preferred, any training or instruction in the
circuits. Some courses actually teach related fundamentals from the military service, company
design. Much of the design taught in college is classes, or by personal self-learning will probably
how to design integrated circuits using special be adequate. At a minimum you should be
software created for that purpose. Yet, many familiar with these topics:
colleges and universities rarely address modem • Ohm'slaw
practical product design. There is a need to learn
• Kirchhoff's laws
how to translate theory into practice by creating
useful end products. This book addresses • Resistors and capacitors in series and parallel
that void. It is unique and serves a need. Not • How transistors operate (BIT and
everyone can go to college, but that does not MOSFET)
mean you cannot learn design. In fact, in the real • Basic digital logic
world BSEE graduates go out to jobs and that
This book reviews some of this material and uses
is where they really learn the design process. On
the "teaching moment" that explains selected
the job training (OJT) is where you get actual
necessary basic theory along with the design
design experience. Now you can get a taste of
processes.
that with this book.

Functions of This Book Math


You should know up front that this book does
• Illustrates a practical, almost "cook book"
use some mathematics. After all, design is
approach that you can use to create new
the process of calculating electronic values to
devices or design equipment to solve a unique
implement a specific circuit. It is a necessary
problem not met by available existing products.
part of design. That may be bad news for some
• Shows you how to create your own devices of you who hate math. Get over it. The good
from scratch. news is that most of the math is pretty simple.
• Introduces basic systems design processes to For example, many calculations are just the
define the product. process of plugging numerical values into a
• Shows how standard off the shelf (OTS) given formula and grinding out the math. Other
products can be used to create the desired math is basically just algebra. You may have
end product. to rearrange a formula to solve for a different
variable but it rarely gets more complex than
• Emphasizes that large segment of electronic
that. Get yourself a good scientific calculator,
design today is actually at the product level
use the calculator that is in your smartphone,
rather than the component and circuit level.
or tap the calculator in the Windows operating
• Illustrates that you do not necessarily need system. It's not that hard.
a college degree to design some types of
electronic products.
Introduction xiii

Book Features What This Book


• A first design book for the inexperienced Does Not Cover
maker and experimenter. • Leading-edge circuit design. Once you learn
• Chapters covering the most common types and practice the basic design procedures
of circuits and equipment. given in this book, you can then move on to
• Provides the knowledge to immediately more sophisticated and complex designs.
create new devices. • Integrated circuit design. This is usually done
• Describes well-known circuits and short cuts with expensive electronic design automation
that always work. (EDA) software. It also does not cover
the current semiconductor processes and
• Related theory, basic principles, or
chip-making techniques.
background covered briefly as needed.
• Mechanical design and packaging. This
• Provides design projects that will help you
includes printed circuit board (PCB) design
apply and test your design ability.
and manufacturing. Electronic packaging
• Recommends standard available parts. is a whole different field of expertise where
• Includes design examples. you need to know about chemicals, metals,
plastics, and other related technologies.
• Provides a collection of popular circuits that
always work, which you can use as building • PCB design. Another mechanical function
blocks for new designs. that is mostly handled by software these
days. A world of its own.
• Math level: Mainly algebra, some elementary
trigonometry, and basic logarithms. No • Programming. Software and programming
calculus. are mentioned in the chapter on
microcontrollers, but no programming
languages or techniques are taught.
Design Projects Hopefully you know some programming but
Included at the end of each chapter are several if not, don't worry. The amount of software
Design Projects. These are provided to help coverage included here is minimal.
you apply the design procedures. The project
may be just a demonstration or a major design Book Content
assignment. Be sure to do these as they provide
the practice you need to become competent in This is basically a hardware book. Its approach
design. Simulate, build, and test your design. encourages hands-on experimentation by
Typical solutions are given in Appendix B to building things. The book is also a bit "retro."
further illustrate proper techniques as well The book includes many older circuits and
as the kinds of decisions that you may need techniques. Why? Mainly they are still available,
to make. Be sure to read all of the Design affordable, proven to work, and easy to design
Projects and their solutions in Appendix B. with. Your goal is to design some useful device
These solutions give you a significant amount so why try to devise a complex high-tech
of additional design tips, approaches, and circuitry device when cheap simple circuits and
processes. processes work?
xiv Introduction

The main focus is analog or linear circuits Enjoy the Process


but an extensive digital chapter is included.
Introductory chapters on PLDs/FPGAs and I can tell you right now that there is probably
microcontroller design are provided as a starting nothing more satisfying than to design
point for your future work with these subjects. something, build it and see it works successfully.
There is true delight in that accomplishment.
Have the fun and feel the reward of achievement.
\Nhat~inltforYou?
You will be spending time and money working Invest in Yourself
with this book. Why should you do that? Here
Finally, let me say this to you experimenters
are a few benefits to consider.
and makers. Plan to invest in some test
• You get to satisfy your interest in electronics equipment, prototyping hardware, software,
by working with hands-on projects. and components. Without good test and
• You will develop your natural human desire measurement capability, you cannot actually
to create things and solve problems. evaluate what you are designing. Full prototype
construction is recommended despite the
• You will be able to design and build practical
availability of excellent simulation software.
and useful electronic devices.
You never really know for sure how a product
• You will learn more electronics. Design is a performs until you actually build and test one.
great teacher. It makes the theory come alive
in the circuit or device you are designing.
And you will never find a better way to really How to Use This Book
understand electronics until you have to
design actual circuits and equipment. Start by rereading this Introduction again.
Definitely read Chapter 1 first to get the big
• You may even improve your knowledge and
picture about electronic design. Then go on
skills to the extent that they could be useful
and read Chapters 2 through 4 and do what
in your job if you work in the electronics
they say. Specifically, put together a basic book
industry.
library (Appendix A), so you will have some
• Have fun with your hobby. ready references if you need them. Next, set
up your workbench. That includes acquiring
the necessary tools, test equipment, and
Three Pieces of Advice
breadboarding equipment. Track down a circuit
Failure Is an Option simulator software like Multisim and get it
installed on your PC.
First, do not be afraid to fail. Experiment. If
in doubt, try it out. If that does not work, try As a first project, I suggest you next go to
something else. Failure is a common occurrence Chapter 5. It has multiple circuits that you will
in design. Examples are a circuit that does not use again and again in other designs. Complete
work at all and one that works but does not meet the Design Projects given. Simulate them and/or
the specifications. Each failure is just a learning breadboard them and run the physical tests. Get
process. Be patient. You will eventually figure out some experience in breadboarding and testing.
something that works. Failure is just part of the You will come to appreciate how time consuming
overall learning experience that design provides. all this is.
Introduction xv

Now you can go on to the chapters on specific will give you practice in breadboarding
designs. If you do not have a good laboratory and/or using the simulation software.
power supply, you may want to go to Chapter 6 Some possible design solutions are given in
next and build your own power supply. Appendix B. Finally, as you go through the
You are on your own after that. You can go to book, you will discover a product or circuit
any other chapter as it fits your needs. that interests you. Start the design and
follow through.
Again, I urge you to build and test the
Design Projects given in each chapter. It Now, go design something.
This page intentionally left blank
CHAPTER 1

Introduction to Electronic Design

Product design is the process of creating an Design Perspective


electronic circuit, device, or piece of equipment.
It may be a new commercial product for sale to Designing electronic circuits has evolved over
generate new revenue and profit. Or it could be the years from designing circuits with discrete
a highly specialized device needed as part of a components to designing in two other major
scientific research effort. Then again it may be ways. The most sophisticated and original
the brainchild of a hobbyist or experimenter for circuit design today is done by engineers in the
entertainment or learning purposes. The design semiconductor companies. These engineers use
process varies widely from engineer to engineer computer-aided design software to facilitate
or from company to company. Yet despite the both the circuit design and the manufacturing of
differences, the processes have common elements semiconductors. This is where the real innovative
or essential steps. This chapter attempts to designs come from. You still get to design with
identify these common and necessary steps and individual transistors and capacitors, but at the
to generate a cookbook design method that you software level. This is probably the highest-level
can use to create a product. design because it requires significant theoretical
knowledge, experience, and natural creativity.
Engineers who do this probably have advanced
Defining Design degrees as well as plenty of experience.
The formal definition of design is to conceive The second form of electronic design is what
and plan from your own mind some idea, some call the connect-the-pins approach. What
process, or object-to create something using that means is that the engineer designs products
one's intelligence and experience by defining by selecting appropriate integrated circuits (ICs)
look, function, and operation. The result is and then connecting their pins to produce the
often original and may be patentable. While final product. Some say this is not a very creative
that definition applies to this book, there is process because it can be done without a whole
another definition that is more applicable. That lot of theory and experience. This is probably the
is, design is developing an electronic product, most common form of electronic design where
circuit, or device for some useful purpose. That engineers are developing products, not chips. If
design can include existing circuits, components, you know how the chips work, you can probably
and techniques. Design is combining standard, do this type of design. The most challenging
well-known circuits, parts, and methods to solve parts of the design are printed circuit board
a problem or produce some useful new device. (PCB) design and writing the software or
Using proven circuits, parts, and methods will firmware for the ubiquitous microcontroller that
improve the chances of success, reduce costs, and is usually part of most designs.
save design time.
1
2 Practical Electronic Design for Experimenters

This book covers design much like the stores, grocery stores, and pharmacies. Special
connect-the-pins approach. It offers an almost engineering notebooks containing grid paper
cookbook-like method for conceiving of a are great and useful but also expensive and not
product and making it. With literally thousands really necessary.
of different types of ICs out there, you need Do not skip this first step. You must keep
to be creative to put them together in one of notes and record details so that you know what
the almost infinite number of ways possible to works and what does not. You want to maintain
accomplish your design goal. Best of all, you all facts and figures, schematics, calculations, test
really do not have to be a graduate engineer to results, and debugging notes in one place so you
do it. But you do need to meet the prerequisites can reference them later if needed. And be sure
discussed elsewhere. to get into the habit of putting the date on each
Two key points to consider are: page.
• Know your chips. Get familiar with Many companies absolutely require engineers
the available ICs, dig out the details of to maintain a design notebook to document
those of interest, and get relevant data the progress and retain the experience and
sheets, app notes, etc. Keep track of new knowledge they acquire during the design.
chip introductions by monitoring the It also documents the activities in case the
semiconductor company Web sites and outcome is a patentable circuit, process, or
keeping up with industry magazines and product. Writing everything down will take
Web sites. some getting used to, and it may aggravate you
• Become software literate. Learn to code in a at first. Eventually you will discover how useful
popular language, and become proficient in the notebook is since we all tend to forget. You
writing programs for micros. The future is must document everything. This is especially
firmware. true in writing software code. Chances are your
design will include a microcontroller for which
The remainder of this book will take you
you will write some programs. Documenting this
down that path.
process is critical. If you or someone else needs
to revise or fix the software, you will appreciate
any explanations or other details you find there.
Get a Design Notebook Documenting can be aggravating, but get over
Before listing the design steps, you should it-before long you will grow to appreciate the
acquire a notebook that you will use to record-keeping process.
document your design. It will contain
statements of purpose, goals, features, benefits,
specifications, test results, identified problems, Get a Calculator
and other defining data. The notebook will also
When you design, you will be making
be used to contain your calculations, draw your
calculations. Most of the calculations are
block diagrams and schematics, and record test
simple formulas to solve or at worst, some
and measurement data. The design notebook
basic algebra. You may need to rearrange a
can be anything you are comfortable with. A
formula to solve for a different variable, for
standard-size spiral bound school notebook is a
example. For these calculations you need a
good choice. They are available in most big box
scientific calculator. The calculator should
stores like Walmart and Target, office supply
include scientific notation, trigonometry
Chapter 1 • Introduction to Electronic Design 3

functions, logarithms, and other engineering Step


calculation functions. Individual calculators are 1 Name Product
available, but you do not need anything fancy.
Programmable calculators are nice but are not 2 Describe Product
needed for this book. You can also use the
calculator built into your Windows operating
3 List Features
system or your smartphone. I still use an old
Texas Instruments calculator I have had for
4 Draw Black Box
decades. Use whatever works best for you.
5 Learn Operation

A Standard Design Approach


6 Draw Block Diagram
The design approach introduced here is covered
in these basic stages: 7 Describe Packaging

• Definition
8 Write Specifications
• Detail design
• Simulation (optional)
• Prototype Get
Details
• Testing
• Packaging
• Use
Get
10 MFG
Definition Stage Input

Figure 1.1 shows a :flowchart of the key steps in


the definition stage of the design.
Record all of the
1. Name the product. Give it a name that tells 11 Above in Notebook
others what it is or does.
2. Describe the product by writing out a short
Search for
paragraph. State why it is needed, by whom, 12 Commercial Product
and what it is supposed to do. Be as detailed
as possible, but keep it short if you can. This
description is mainly for you, but it could
be used by your supervisor, a marketing
person, or a customer.
3. List the main features of the product. 13
What will it do? What are some important Proceed with Design 14

characteristics that allow it to solve a


problem or perform a function not available
mII qj KI A flowchart that summarizes the main
steps in designing an electronic circuit
elsewhere? What do the sales and marketing or product.
people want? If this is a product for sale,
4 Practical Electronic Design for Experimenters

what features should be included to make diagrams, how-it-works descriptions,


the product attractive to buyers? Who and the like. If competitive products are
are the competitors, if any? Identify their available, acquire them if the budget allows.
products and do a comparison. If necessary, If you want to design something but don't
negotiate the features with the sales and know where to start, it is probably because
marketing team. Then finalize the features you do not know how it functions. As an
list. example, at one time I wanted to design a
4. Treating the product as a "black box," metal detector. How hard could it be? But
identify the inputs and the outputs. See I was stumped. I did not even know what
Fig. 1.2. An electronic circuit or product circuits it contained or how they work
can be viewed as a box of signal processing together to locate metal objects. So go back
and manipulation that responds to one or and reread this step.
more inputs and then generates one or more 6. Draw a block diagram of the device.
outputs. Describe each signal in as much Knowing the theory of operation and
detail as possible. Also identify where the the inputs and outputs, you can probably
inputs come from and where the outputs go. generate a first attempt to see what circuits
Be sure to include the ac and/or de power and modules or other subassemblies you
requirements. Again, be as detailed as you may need. State the purpose of each stage.
can at this early stage. Do the best you can at this point, and
s. Learn how the device or circuit works. keep in mind it will change as you learn
This is the time for detailed research. more. For you real beginners, Table 1.1
You can't design something unless you summarizes all the most common circuits
know how it works. You must learn the engmeers use.
concepts, theory, and operational details 7. Describe the most desirable physical
of something before you can design it. packaging. What will the end product look
Use any available textbooks to identify like mechanically? Will it use a printed
circuits and configurations. At this point circuit board (PCB)? This book does not
you should also do an internet search to delve into the physical packaging of a
determine some details about your project. design, but you still need to determine it.
Search on the product name you assigned, B. Write out a set of specifications.
and use alternative descriptions to gather Knowing the inputs, outputs, and power
as much information as you can. Search on requirements, you should be able to
circuit names, component part numbers, list key specifications. Some of these
or whatever other detail you may have or are frequency range, input and output
need. Look for block diagrams, schematic voltage levels, specific signal shapes and
conditions, estimated power supply voltages,
Black data rate, interface requirements, and
Box - - Outputs current limits. You also need to add any
Product
special environmental conditions, such as
temperature range, humidity, vibration/
de Power shock, and electromagnetic interference
QI IIlj f l The "black box" concept that applies to (EMI) considerations. Add physical
most electronic circuits or products. specifications like desired size, weight, and
Chapter 1 • Introduction to Electronic Design 5

Id tj fjj 81 The most commonly used electronic circuit building blocks and what each does

Circuit Function Available IC or module? Other


Amplifier Takes a small input voltage or power and boosts it Yes, usually. All types available.
up by some gain factor to a larger output.
Analog-to-digital Samples an analog signal and produces a digital Yes, many.
converter (ADC) output.
Attenuator A circuit that reduces the amplitude of voltage or There may be. A resistive
power by some loss factor usually expressed in voltage divider or network is
decibels (dB). more common.
Buffer A circuit, usually an amplifier, that isolates one circuit Maybe. Could be analog or
from another to prevent or minimize loading that digital.
affects output voltage, power, or frequency.
Clock An oscillator that generates accurate rectangular Yes.
pulses used for timing and operating an MCU or
other digital circuits.
Comparator Takes two input signals, one usually a fixed reference Yes.
voltage and the other a varying amplitude signal,
and provides an output signal that indicates which
input is equal to, less than, or more than the other.
Counter A circuit that keeps track of the number of binary input Yes, multiple.
pulses that are applied to its input. The output
is in binary format.
Driver A circuit that operates some other device like a Yes, usually. Could be just a
motor, relay, LED, or servo. transistor or an IC.
Decoder A digital circuit that looks at multiple lines of binary Yes.
signals and detects one or more separate output
conditions, each recognizing a unique code.
Detector A circuit that indicates the presence of a signal. Maybe.
Another name for a demodulator.
Digital-to-analog A circuit that translates its binary input into the Yes, many.
converter (DAC) analog equivalent.
Divider A digital circuit that produces an output that is lower Some. An often-designed
in frequency than the input. Also, an analog circuit circuit to fit the application.
that splits an input into two or more equal outputs. A digital counter makes a
good frequency divider.
Filter A circuit that allows some frequencies to pass and Yes. Some filters can be
others to be stopped or at least greatly attenuated. designed with discrete
components to fit the
application.
Follower A high input impedance-low output impedance No. Usually a circuit designed
circuit that provides some isolation between amplifier for the application.
stages as well as some power gain. See Buffer.
Frequency A signal source like an oscillator that generates a Yes. Multiple kinds. Two major
synthesizer sine wave or rectangular wave. versions like phased-locked
loop (PLL) and direct digital
synthesis (DDS).
(Continued)
6 Practical Electronic Design for Experimenters

Id' a8' The most commonly used electronic circuit building blocks and what each does (Continued)

Circuit Function Available IC or module? Other


Function A signal source that usually generates sine, square, Yes.
generator and triangular waves for testing.
Gate Basically, just a switch that blocks a signal until Yes, both analog and digital
another enabling signal is applied. May also perform types.
some digital (boolean) logic function.
MCU Microcontroller unit. An embedded microcontroller Yes, many. Something for every
or single chip computer that is the basis of most application.
other products today.
Memory A storage circuit for binary words or data. Yes, Many kinds.
Mixer Two types, linear and RF. Linear mixers combine multiple A few.
analog inputs into a composite signal, as in an audio
mixer that adds multiple musical instruments and two or
more microphones. The RF mixer serves as an up converter
or down converter for translating signa Is to a higher or
lower frequency, as in radio transmitters or receivers.
Modulator A circuit that varies the amplitude, frequency, or Yes, not many.
phase of a higher frequency carrier signal for the
purpose of transmitting information by wireless.
Multiplexer A circuit with two or more inputs and a single output Yes, both digital and analog
and a means of selecting any one of these to appear at versions are available.
the output.
Oscillator A circuit that generates a signal, analog or digital, at a Yes, multiple types. RC, LC,
specific frequency or over some variable frequency range. crystal.
Rectifier A circuit that converts ac into pulsating de that is usually No. Usually made with discrete
smoothed into a continuous voltage by a capacitor. diodes.
Regulator A circuit that maintains a fixed output voltage despite Yes, many types for all
changes in other operational factors like input voltage occasions.
or output load.
Register A circuit made up of flip flops that can store a binary Yes, multiple types.
value or manipulate it.
Voltage-controlled A signal source whose output frequency can be varied A few.
oscillator (VCO) by applying a de control voltage.
Voltage divider A circuit made primarily with resistors that produces A circuit that must usually
an output that is lower than the input. be designed. Capacitor and
inductor dividers can be made
but are not common.

power consumption. Also consider ease of you may need to meet some required set
use, maintenance, and potential repair. The of standards mandated by law. Examples
end product should be simple to operate are ac-powered devices that may have to be
with minimal training or instruction. tested by the Underwriters Laboratories
9. Consider required testing and certification. (UL) or the Federal Communications
If you are designing a product for resale, Commission (FCC).
Chapter 1 • Introduction to Electronic Design 7

1o. Will the product be manufactured? If this is a capacitor values, any read numbers
one-off product, skip this step. If the product or part numbers on the ICs, and
will be made in volume, be sure to involve the transistors. Record all this on the
manufacturing people in evaluating the design schematic diagram.
and getting their input regarding steps to g. Redraw the schematic diagram and part
make the device from initial PCB construction numbers and values. NOTE: In many
through final testing and packaging. products, the labels on the I Cs will
11. Record all of this information in your be omitted to prevent someone from
notebook. identifying the part and copying the
circuit. If that is the case, maybe later
12. Next, you should look to see if what you
you can deduce what it is.
defined is already a product available for
sale. Maybe you won't have to design it if h. Given your copied design, consider
you can purchase a ready-made version. Do whether you could duplicate this item.
an extensive internet search. Use different If you can, you can adopt the design
product names or descriptions to be sure for your own version. If you do not
you will locate something similar. If you believe that you can duplicate it, just
find something similar, acquire as much reassemble the product and use it. Then
information as you can, and compare its move on to another project.
features and specs to your definition. Buy 14. If no commercial product turns up to buy,
the product if you can afford it. press on with the design.
13. Reverse engineer the product. Take it apart,
being careful not to damage anything. Do Detail Design Stage
the following:
This is where you fill in the boxes in your block
a. Take photos along the way. diagram with specific circuits, modules., or other
b. Identify all of the major subassemblies units. Think of the various circuits available and
and larger components, and document how you can use them as building blocks. From
any wiring between these sections. your searches you should have identified the circuits
c. Identify the power source like the ac or ICs you want to use. Identify specific circuits
line or batteries and the related power where you can. Search for specific ICs that do what
supply. you need. You should be able to determine that
you need an amplifier, a :filtei; a digital counter,
d. If PCBs are involved, remove them, but
LCD display, or whatever. You may do some rough
record any interconnections by way of
partitioning at this point as you identify different
connectors or wiring.
parts of the design. For example, you may have an
e. Develop the schematic diagram from analog signal or linear segment, a digital segment,
the PC board. Identify how the copper and a power supply segment. Then, for the first
traces on the PCB connect the various time, try to draw a schematic diagram of the design.
components. Your initial schematic Next you will choose components to match
diagram will be messy and crude, but you your circuit specifications. You will be selecting
can redraw it later in a more useful way. ICs, diodes, transistors, capacitors, resistors,
f. Identify the individual components. potentiometers, transformers, and a mix of
Read the resistor color codes, read other parts. You should have catalogs on
8 Practical Electronic Design for Experimenters

hand from the major distributors if you can Packaging Stage


get them. Otherwise, go online to the major
distributor sites to select your parts. You can At his point your product is finished and it works.
also do additional internet searches to find what And by now you should have thought about
you need and to get additional information how the product should be packaged. What is its
from data sheets, application notes, and other housing? How are the circuits wired? No doubt
sources. a PCB is required. Packaging is a mechanical
design process beyond the scope of this book. Yet
it is important, especially if you plan to market
Simulation Stage the device as a commercial product.
You can also call this the verification stage.
This is an optional process where you validate Use Stage
that your circuits will work. You can use circuit Manufacture, sell, or use the product.
simulation software to build the circuits and
One final thing. As indicated earlier, this
product on the computer before making an
product design process does not include
actual prototype. More details are given in
considerations for high-volume manufacturing.
Chap. 3. Simulation is a good learning
The design process for manufacturing is
experience, but it does take time to learn the
similar, but serious consideration is given to
software and the simulation process. You could
cost of manufacturing, ease and speed of
go directly to a hardware prototype for testing.
manufacturing, special testing or alignment
But I recommend you give simulation a try.
procedures, and parts availability.
Design examples using the process described
Prototype Stage here are given in the design chapters to come.
Now you start building your prototype. Build Here is a summary.
each circuit one at a time and make each • Chapter 5 Common Circuit Design
work alone. Guidelines for prototyping and Techniques. Basic circuits and concepts you
breadboarding are given in Chap. 3. Once you will use in most designs.
define each circuit's function, you can begin • Chapter 6 Power Supply Design. Battery and
connecting circuits together to form the final ac to de supplies.
product.
• Chapter 7 Amplifier Design. Mostly op
amps, but some discrete designs.
Testing Stage • Chapter 8 Signal Source Design. Oscillators,
Testing is the final stage. This is covered in clocks, synthesizers.
Chap. 4. You will test your device to see that it • Chapter 9 Filter Design. RC, LC, active, and
implements all of the desired features. You will modules.
also test to see that it meets the specifications • Chapter 10 Electromechanical Design.
you assigned earlier. You can expect to do some Switches, relays, motors, servos.
troubleshooting at this time to fix problems,
• Chapter 11 Digital Design. Discrete IC logic.
fine-tune the design to meet specifications,
or correct errors. Chapter 15 covers • Chapter 12 Programmable Logic Devices.
troubleshooting. Occasionally you will, as they • Chapter 13 Designing with Microcontrollers.
say, "have to go back to the drawing board." Interfacing and I/O and programming.
Chapter 1 • Introduction to Electronic Design 9

Design Doctrine Dozen operations have already been developed


many times in a variety of forms.
The rules for design in this book are based on the
3. Old designs are just fine. Old circuits and
premise that you are trying to design something
components are not bad. If it works and
that will work reliably, have a reasonable cost,
solves the problem, use it.
and take less time to create. Your goal should be
to create a product that works, solves a problem, 4. Cheaper is usually better.
or fills a need. Here are the guidelines for design s. It does not have to be leading edge. You will
as recommended in this book. not be designing your own ICs. Use existing
1. Keep it simple, stupid (KISS). Simple chips when you can.
designs are always best. They are less 6. Use manufacturers' reference designs.
complex, less expensive, and take less time Many semiconductor manufacturers have
to create. And they are generally more already designed what you may need. A
reliable. reference design is a predesigned device
2. Do not reinvent the wheel. Use existing using the manufacturer's ICs. It is usually
circuits and designs. Borrow liberally from a prewired PCB with connectors and in
magazine articles, books, manufacturer's some cases software-everything you need
data sheets, application notes, and to get started without having to design
online sources. Why spend extra time it yourself. These evaluation boards are
experimenting with new approaches when recommended because they save time and
there is probably already a design you can money.
access and use? Seek out and maintain a 7. Use manufacturers' design tools. Design
library of standard circuits that work. I tools are software that semiconductor
keep a file folder for different types of useful manufacturers develop to help engineers
circuits (amplifiers, oscillators, logic circuits, design selected circuits. The software that
etc.) When I come across a magazine is typically available online simply walks
article, internet printout, or data sheet, you through the design process and leads to
I file it for future use. Put together these a design for you. Of course, the tools will
existing designs in different combinations typically lead you to the company's ICs or
as needed. Modify these circuits as needed other devices to implement it.
to create your design. There should be no 8. Use free or low-cost design software from
embarrassment in using the designs of the internet. Circuit simulation software is
others if you can. Most basic electronic available from multiple sources. Feel free
functions have been discovered and to use it to develop your design. However,
implemented. These are mostly in the public always build and test a real prototype to be
domain, and you are free to use them. sure it works.
Take advantage. It is OK to be creative and
9. Use existing well-known ICs, transistors,
design some things from scratch, but just
and other components. There are multiple
remember it takes more time, and you may
sources, and the cost is low. For commercial
need to redesign it multiple times to get
designs, some companies require that there
what you want. While not everything has
be one or more secondary sources for ICs,
been invented yet, it is difficult to devise a
transistors, and other parts. Then if one
design that is totally original. Most common
manufacturer discontinues the part, you will
1O Practical Electronic Design for Experimenters

still be able to get it elsewhere. Chapter 14 product by using standard textbook theory
gives you some recommendations. and procedures. There are multiple textbooks
1o. A microcontroller design is not always the to help you do this. The procedures are well
best approach. Most products today are based known and generally proven. They are taught in
upon a central embedded controller. These college. This approach does not use cookbook
microcontroller units (MCUs), or micros as recipes but offers the theory with examples,
I refer to them here, are flexible and cheap, then tests you with end-of-chapter problems.
but they require software and programming The theory is given, but its interpretation
in addition to the electronic interface design. and its implementation are left to you. This
Sometimes a simple hardware design is the book generally uses this approach, but it is
fastest and cheapest solution. supplemented with a bit of experience that yields
some step-by-step procedures that save time.
11. Focus your budget on good test equipment
and prototyping equipment. You cannot
really design without testing and measuring Empirical Design
equipment. So, plan to set aside a budget
This approach is design by experimentation.
for a good multimeter, oscilloscope, and
You can also call it the cut-and-try method. You
breadboarding gear.
essentially start with something you know, then
12. Learn and have fun. Experiment. Screw up. observe the result. If it is not what your goal is,
Fail. Learn what works and what does not. you experiment. You change or add something,
Then eventually achieve success. observe the outcome, then change again if the
end result does not tum out as you want. You
WARNING! go back and learn some more. You keep on
In designing commercial products, some circuits learning, testing, experimenting until you get
and methods may really be new and patentable. what you want. It sounds crazy, but it works,
These circuits or methods become valuable especially for those with some experience in
intellectual property (IP) to your employer. Such
IP may give some company competitive benefits. the subject. After a while you get to know what
Or the company could license the design to works and what does not.
generate royalty income. This is especially true
of IC designs, but it could apply to some other
arrangement. Just be sure to document everything Intuitive Design
in your notebook in case it comes up.
This is an approach that is based upon years
of acquiring knowledge and experience that in
tum give you the intuition to create something
Types of Design new. Your design is based upon your intuition
When designing any electronic circuit or without supporting facts. You go with what you
product, you will discover that there are lots of know and believe to be true. Or as they say, you
ways to do it. My own view of this is that there go with your gut.
are three basic design approaches. Here is a After years of design experience, I have come
summary of each. to believe that a person inherits some of each
approach. You start with the textbook approach,
Textbook Design learn more as you experiment with the empirical
approach, then finally with sufficient knowledge
You could also call this the traditional approach. and experience you go with the intuitive
This is the process of designing a circuit or approach.
Chapter 1 • Introduction to Electronic Design 11

Prerequisites for Design c. Lightweight.


d. Battery operated.
This book will give you a basic process for
designing. Along the way, it will also review e. Speaker and/or headphone output.
some of the related electronic fundamentals. f. Relatively easy to build as a first or
This book assumes that you already have a early hobby project.
general working knowledge of electronics. 4. The black box concept is relatively simple:
Ideally you will have had some formal
a. Input, search coil
training or education in electronics or relevant
experience. Self-taught is OK, too. At a bare b. Output, speaker or headphones
minimum, you should know Ohm's law, how 5. Searching on the topic of metal detectors
transistors work, some basic digital logic, and produces a ton of information. A detailed
which end of a soldering iron gets hot. search using the terms "How do metal
To help in this regard, you should acquire some detectors work" and "metal detector
books to use for reference if you need to learn circuits" produces a considerable amount of
some fundamentals or refresh your knowledge. detail. Summary:
Appendix A is a list of books I recommend. a. There are four basic types of metal
They cover the fundamentals and provide some detectors: very low frequency (VLF),
additional information on design. Build a library pulse, heterodyne, and variable tone.
of such books. Some are expensive, but remember b. The first two (VLF and pulse) require
you can always find used ones on Amazon or some sophisticated circuitry that may
other internet sources. You can never have too be difficult to understand without
much information. If you are designing, you must extensive research and experience.
seek out and acquire as much reference material These two types are also the most
from multiple sources as you can. expensive. The third type uses a
heterodyne method that mixes two
signals together to get a difference
A Design Example
frequency in the audio range. The
Here is how you might approach a project using simplest detector is the variable tone
the steps described earlier. This is the process type.
I went through on one project. c. One type uses an audio oscillator
whose tone changes if metal is near the
The Definition Stage search coil. The second type uses two
1. Metal detector. oscillators, one at a fixed frequency and
another whose frequency can be varied
2. The metal detector should detect buried
by the presence of nearby metal. The
metal items to a depth of 10 to 20 cm. It will
two oscillator frequencies are mixed
be used to see what treasures are buried in
together. The result is a frequency in
beaches, back yards, and other patches of
the audio range that represents the
ground that might provide potential targets.
difference between the two oscillator
3. Main features: frequencies. Tone changes signal the
a. Identify metal at a depth of 10 to presence of metal.
20cm. 6. I was able to draw a crude block diagram of
b. Portable. both methods. See Fig. 1.3.
12 Practical Electronic Design for Experimenters

Search Coil The Design Stage


I Speaker
Oscillator or The design stage started with expanding and
Headphones improving upon the block diagram produced
{a)
earlier. The heterodyne type of detector was
chosen. Two oscillators are used, so a search for
oscillators started. Search data obtained earlier
showed several oscillator possibilities. The difficult
part was deciding on a frequency of operation.
Amp Headphones
Apparently a wide range is used. I decided upon
....._--:--1.____ __J F2
Search something in the 50 to 200 kHz range.
Coil
{b)
One of the oscillators uses a large coil of wire

Q ji Ilj f I First black box diagrams for the project.


as the search head but also as the inductance
in a tuned circuit for one of the oscillators.
The upper drawing shows the single
oscillator approach (a) and the lower I searched for as much detail as possible here
drawing showing the two oscillator and more or less summarized the current form
design (b).
and size of circuits I discovered. A popular
inductance value as a target is 10 mH. I suspect
7. Physical packaging is not critical since you
some experimentation will be needed here.
are making the product for your own use. It
should have an enclosure to hold a battery Next I needed a mixer that would produce the
and the circuitry, a search coil that can difference frequency between the two oscillators.
reach the ground, and a place to plug in The designers of this circuit use an XOR gate. I'm
some headphones. not sure how that works, but it apparently does.

8. No specifications other than those features I also needed an audio amplifier to operate
described in step 3 were written since the headphones.
they are not applicable to noncommercial A second method of detection that I call
devices. variable tone uses an oscillator whose frequency
9. No testing or certification is required for is changed by being close to a metal object. It is a
personal products. simple circuit, and it seems cheap and easy to try. I
suspect that the heterodyne method is much better.
1 O. The product will not be manufactured in
quantity. Figure 1.4 shows the simple circuit. A
555 timer IC is used as an oscillator with a
1 1. I did write down all the details in my
tuned RLC circuit setting the frequency. This
notebook.
frequency is in the audio range so you can hear
12. A search for a commercial product did it. With the values shown in the figure, the
occur. There are many. From low-cost frequency computes to 1073 Hz.
hobby models for less than $100 to military-
The big design obstacle is the inductance that
grade units for finding mines costing
not only sets the frequency but also serves as the
thousands of dollars. No commercial
search coil. The desired inductance is 10 mH.
product was purchased.
The search coil is many turns of copper wire
13. No reverse engineering took place. whose diameter is in the 4- to 10-inch-diameter
14. The design process will go on. range. Approximately 140 to 150 turns of wire
Chapter 1 • Introduction to Electronic Design 13

+V +V

4 8 lOµF
3
555 ~./lsn
_!jspeaker
1

J2.2µF

QJll it j 11 A 555 timer IC as an oscillator whose


frequency is set by the 1O mH coil and
the 2.2 µF capacitor.

should give you an inductance value close to All Other


Circuits To 74HC86
what you need. You will just have to experiment

n
with this to make it work. I ended up with 140 v
T50pF
turns of #22 wire on a 6-inch-diameter form.
I never did know the exact inductance, but it was
lOmH
Search
= 9V = = 5.1 V

in the correct range. Coil

Normally you will just hear the audio tone. Q!l!tjJj A final circuit diagram of the metal
detector.
If the coil is passed over metal, it affects the
inductance of the coil, usually increasing its 10 mH is the target, with about 140 turns of wire
value and thereby lowering the audio tone. six inches in diameter. I also changed the audio
A design using the heterodyne method amplifier. The final circuit is shown in Fig. 1.5.
was hard to come by. I found two references The biggest hassle is the coil, and it required
illustrating this approach. One of them uses a great deal of testing to zero in on an audio
two complementary metal oxide semiconductor frequency. That frequency is not particularly
(CMOS) oscillators operating in the 160 kHz critical, but it must be something you can hear.
range. (Low Power Metal Detector, from If the 300-kHz design is used, the search coil
Encyclopedia of Electronic Circuits, Rudolf F. can be much smaller. The target inductance is
Graf, Tab Books, 1985.) 330 µH. A suggested search coil size is 40 turns
The circuit uses a CMOS XOR IC to create about 7.5 cm in diameter.
the two oscillators, a mixer and an audio The main circuit modifications were the
amplifier. Another similar design used the same replacement of the no-longer-available 4030 IC
CD4030 IC, which is no longer available. This with a 74HC86. I selected the design using
design (Simple Metal Detector Circuit with 160 kHz oscillators. One of the oscillators called
CD4030, HYPERLINK "http://www.next.gr" for a variable inductor that I could not find.
www.next.gr) operated at a frequency of I used a fixed 10-mH inductor and added a
300 kHz. It used a standard 330 µH inductor for 100 pF variable capacitor so the frequency
the fixed frequency oscillator. could be varied over a narrow range.
Again, the main design problem is getting the I used the popular LM386 amplifier for the
search coil right. An inductance value of speaker or headphones.
14 Practical Electronic Design for Experimenters

After the design, I skipped the simulation and • Build a kit. You do not have to design
went right to the prototype. I spent many hours anything. You will simply build the kit
tinkering with it, which is typical of some designs. as detailed in the instructions. It will get
The oscilloscope was useful in determining the you familiar with the components, and
frequency of the oscillators. I also tested the you will learn some soldering and other
circuit on several pieces of metal such as a coil, related skills. A small robot kit is a good
a ring, and a small piece of aluminum I had. It choice. Some kit sources are given in
does work; as the metal is sensed a tone change Chap. 2.
occurs to signal the find. The goal of achieving a • Build an existing design. Locate a circuit
detecting range of 10 cm or more seems remote, for a product or device you are interested
however. More testing is needed. in and just copy and build it. Again, there
As for power, I used a 9-V battery. All the is no design involved. However, you will
circuitry seems to be OK with that except the become comfortable with breadboarding
74HC86 IC. I used a 5.1-V zener diode to reduce and prototyping and some testing and
the voltage for the IC to 5 V. troubleshooting. Look online and in
I won't bore you with the packaging other than magazines for circuits to copy and build.
to say I left the circuit wired on breadboarding Each of the design chapters contain some
socket and put the whole thing in a box. useful circuits you can easily build and use in
future projects.
The metal detector did work after much
tinkering. Determining the actual value of the • Initiate a so-called system design. A
coil inductance was an issue. I solved it using system design is a higher-level approach
a measurement method described in Chap. 4. than circuit design. It involves putting
Inductance increases with the number of turns together multiple existing parts and
of wire. If measurement determines that the pieces, including software, to create a
inductance is too low, add more turns of wire working system. Some examples are:
and measure again. If your inductance is too radio/controlled airplane or drone, audio
high, reduce the number of turns of wire. Repeat system, TV streaming, video doorbell,
until you get close to your target value. Once home security system, or something PC
I got close to 10 mH, the circuit worked. The controlled. No circuit design is involved,
device does detect metal, but it did not live up to but you will work at the block diagram
its goal of picking up metal objects 10 to 20 cm level, following signal flow between items,
below ground level. This is typical of many and you will make multiple devices all
projects. More experimenting is needed. work together.
The idea here is to start small and easy to
ensure some success that will give you the
An Alternative Beginning
confidence to go on. Practice on larger and
If you are new to electronics, and the metal larger projects until you feel ready to try some
detector example seems too much of a challenge, design. A small robot kit today, a Battlebot
here are several alternatives. tomorrow.
CHAPTER 2

Design Resources

As you design, you will need a lot of additional Some free online ebooks on electronics
information. And there is a boatload of it out are available. These are mainly addressed to
there for your use. You just need to know what college instructors and professors, and they
it is and where to get it. The internet will be the cover the fundamentals. It is good to have some
major source of it, but there are other sources theory books on hand when you need to look
like books, catalogs, and magazines. You will something up. Try at these sites:
certainly find much of the needed information Open Educational Resources (OER)
on your own with internet searches. This chapter OERCommons.org or Merlot.org
summarizes some of these sources and shows
http://www.freebookcentre.net/Electronics/
how to get them.
Engineering-Books-Online.html
https://ebookpdf.com/basic-electronics-books
Books https://easyengineering.net/power-
electronics-books/
It is always good to keep a few good reference
books on hand to use as needed to understand https://www.allaboutcircuits.com/textbook/
a component or circuit, check on related theory, http://www2/mvcc.edu/users/faculty/j:fiore/
or solve a problem. You may already have a freebooks.html
library of books you use. Some recommended
suggestions for books that are useful when
designing are given in App. A. Sources of Catalogs,
If you can't find what you need, search the Components, and Equipment
internet for other books. You can search on the
You will be buying parts and equipment as
publisher's Web sites or do a general search.
you design. There are multiple sources for
Some publishers to consider follow:
what you need. It is extremely helpful to have
• Elsevier/Newnes a listing of parts and equipment available and
• Maker Media where to get it. The following is a list of parts
• McGraw-Hill sources you can use as reference in selecting
parts and equipment. Go to their Web sites
• Pearson/Prentice Hall
to select parts. Some of these sources still
• Wiley offer print catalogs that are helpful to have
Amazon is a good place to search. They are the on hand. Most distributors have discontinued
largest bookseller in the world these days. Barnes print catalogs because of their size and cost
and Noble also has a good site to search. to print and update. Everything is online, so

15
16 Practical Electronic Design for Experimenters

you should not have a problem finding the Magazines


information you need.
Magazines will be the source of many design
projects, ideas, circuits, and related product ads.
Generic Sources of Parts
Here are a few to consider.
• All Electronics The following magazines are still available in
• Digi-Key Electronics print form. If you are serious, subscribe to keep
• Fry's Electronics a steady flow of information coming your way.

• Jameco Electronics • Circuit Cellar-Their major focus is on


embedded controllers and related topics.
• Marlin P. Jones & Assoc. Inc.
• Elektor-A magazine and Web site based in
• Mouser Electronics
the Netherlands. A bit expensive, but very
• Newark useful.
• RadioShack • Make-Covers all aspects of do-it-yourself
(DIY) projects, such as mechanical,
Sources for Microcomputer Hardware woodworking, welding, and 3-D printing. It
and Parts has many good electronic projects as well.

• Adafruit • Nuts & Volts-Long-time publication for


hobbyists and experimenters. Good projects.
• Digilent
• QST-A publication of the American Radio
• Elektor
Relay League (ARRL) for amateur radio
• Elenco operators-You need to join ARRL to get it,
• MAKE but it offers excellent technical articles and
• Pololu electronic, test, and radio projects.

• SparkFun • Electronic Design-Written mainly for


engineers, this magazine has good articles on
the latest technologies and online resources.
Some Kit Sources
Here are a few magazines that still publish on.line
• Adafruit but not in print that are worth subscribing to.
• All Electronics • ECN
• Ebay (huge listings of many kits) • EDN
• Electronics Hub (multiple kit suggestions) • EE Times
• Elektor Go to their Web sites and sign up.
• Elenco
• Jameco
Data Sheets
• Knight Kit Electronics (list of over 60 kit
sources) A data sheet is a publication issued by a
company describing in detail the ratings,
• littleBits
specifications, and features of a specific
• MAKE transistor, integrated circuit, capacitor, or other
• SparkFun device. You will need this information
Chapter 2 • Design Resources 17

to use the device correctly. For example, if you • Rohm


are implementing a circuit using a 2N7000 • Silicon Laboratories
metal oxide semiconductor field effect transistor
• ST Microelectronics
(MOSFET), it is handy to know its maximum
voltage, current ratings, and other specifications. • Texas Instruments
The internet is probably the fastest way to get • Xilinx
a data sheet. Simply search on the part number, Some test equipment companies to search follow:
and typically multiple sources of data sheets will • Anritsu
show up. Select one and print it out.
• Fluke
• Keysight
Applications Notes
• National Instruments
These are articles published by manufacturers
• Rhode & Schwarz
that show how to use their products. A high
percentage of these are from semiconductor • Tektronix
manufacturers. They regularly publish app notes
that explain the operation of the product (a new
chip, etc.) and give examples of its use, often Useful Web Sites
including design information. Test equipment There are many Web sites devoted to electronics.
manufacturers also publish a massive amount of Your internet searches will turn up some of
information on test instruments, measurement them. Some good ones to look at follow:
procedures, and advanced technology topics.
AllAboutCircuits.com
Go to the company Web site and search for
app notes, white papers, documentation, and Changpuak.ch
manuals, and see what comes up. Circuitstoday.com
The following are some selected Designfact.com
semiconductor manufacturers to search on: Electroschematics.com
• Altera Electro-Tech-Online.corn
• AMD www.electronic-notes.com
• Analog Devices Elektor.com
• Cypress Semiconductor element14.com
• Infineon fritzing.org
• Intel Hackster.io
• Intersil Hobby-electronics.info
• Linear Technologies (Analog devices)
Homemade-circuits.com
• Maxim Integrated
Instructables.com
• Microchip Technology
Next.gr
• NXP Predictable designs.corn
• ON Semiconductor
Radioelectronics.com
• Qualcomm
18 Practical Electronic Design for Experimenters

These are the only Web sites I have discovered reference book. It is a good review for those of
so far. I keep finding new ones as I search for you who have learned it before. It also makes a
information. You should do the same. And don't good first course if you are just beginning.
forget the Web sites of the magazines mentioned A good source of math instruction if you
earlier. All are useful. are a bit rusty or just never learned it is Khan
Academy. It offers online instruction in all levels
of math from grade school level to university
Educational Sources graduate level: algebra, trig, calculus, statistics,
As you design, you are going to want to and others. They also offer some online courses
learn new subjects and procedures. All of the in physics and electrical engineering you may
resources given earlier are learning sources, but wish to explore. And it's free.
there are some Web sites that are designed for YouTube videos are another good source
more formal instruction. For example, there are of the basics. There is so much out there it is
many educational videos on YouTube and other hard to describe. Just search on what you need
sites. The way to find these is to do your usual to know. Recently, a friend of mine needed to
internet search but include the terms tutorial, repair or replace the headliner in his 1997 Dodge
learning, instruction, or education along with the vehicle. A search turned up five videos on that
subject. specific topic. All amateurish but collectively
For formal college-level online courses go to useful. I suspect most of you have already
the following Web sites: discovered this resource. Something to try when
all else fails.
coursera.org
edx.org
Udemy.com. Searches
They all cover electronics, software, and I am sure you already do searches for
programming along with many other related information and answers to your questions,
topics. I have used these multiple times and whatever the subject. There are lots of electronic
recommend them if you just need the formal and design materials out there. You can search
instruction. They work. on topics like the following:
• Part number
• Type of circuit
Back to Basics
• Kits
If you need to review electronic fundamentals
• How to design a .. ... .
before you do a deep dive into this book,
I recommended the video course titled • How to test a .... .
Understanding Modern Electronics by Richard Anyway, you know what to do. Print out what
Wolfson. It is published by The Great Courses, you find so you can have a hard copy with you
Chantilly, VA. It features 24 video lectures and a on the work bench.
CHAPTER 3

Simulation and Prototyping

After you design something, you will need mathematical model of the circuit internally.
to build a prototype of it. Prototyping is the Then you can run the software model to see if
process of creating a real physical version of your circuit works. Most simulators also have
your circuit or device so that you can see if it virtual instruments (scope, meters, etc.} to use
works. It is the critical part of the design process. in making measurements. Then, depending on
There are also instances when you will discover a the outcome of the simulation, you can make
circuit you like and may be able to use. Your first changes until you get the circuit to perform as
step of the design would be to build the circuit you wish. Figure 3.1 gives a glimpse of National
and evaluate it based upon your needs. Then you Instruments' Multisim.
can modify it to fit your specifications. In any There are literally dozens of such simulators.
case, you must build a prototype. It is the only Many are free and others cost a small fortune.
real way to validate its operation. Some common The following list shows just a few of the
prototyping techniques are described in this simulators I have discovered and used. Like any
chapter. software, simulators will take up a good deal of
There is also another way to build a your time while learning how to use them. My
prototype. Use software simulation. Circuit recommendation is to research the following
simulation software lets you build your design links, download a free trial version of one, and
on your computer and test it. It is not a give it a try. Start with some simple circuits to
necessary step in design, but it is a handy tool get the feel for it, then move on to the more
to use before you commit to a full hardware complex circuits as you gain some experience
prototype. and competence with the program. Some
Many of you may already be using the simulators I have discovered follow.
techniques covered here. In that case, you can • Circuitlab
just skip this chapter and move on. • LTSpice (Linear Technologies/Analog
Devices}
• Micro-Cap
Circuit Simulation
• Multisim (National Instruments}
Circuit simulation is the process of building a
• TINA (Texas Instruments}
mathematical model of your circuit on a PC.
Special software does this for you. The most Some others to check out are
common approach today is that the software lets • 123D Circuits
you enter your circuit as a schematic diagram.
• CircuitLogix
Using predesignated component symbols and
interconnecting them, the software builds a • Circuit Simulator

19
20 Practical Electronic Design for Experimenters

Rcflsmfn Vee

11&
PR2

2
Rdchsmin UtPR3
~
lkQ UT
JST OUT

-
5
Dchs DIS OUT
1N4148
Od~

-
T IU

1N4148 Ctll
3 6
Rdcod) P~t
Cctf 0

Ct

r·~
Potentiometer RdcadJ ad3usts the duty cycle
with slight effect on frequency.

mI I: ¥5 •
I A glimpse of the screen of National Instruments' Multisim showing a simulated circuit.
(Ort:uit courtesy National lnstruments'Website www.multisim.com)

• DcAcLab screen. Then you interconnect them with


• DoCircuits lines following the schematic diagram of
your design.
• EasyCircuit
• Virtual instruments. These are test
• EasyEDA
instruments simulated by the software that
• Gecko Simulations let you monitor the voltages at any point
• Micro-Cap in the circuit. These are mainly a digital
• NgSpice
multimeter (DMM) and an oscilloscope. A
function generator may also be available.
• PartSim
• Bode plotter. This feature lets you plot
• Proteus the frequency response curves of filters,
• PSPICE amplifiers, and other circuits.
• Simulator.io • Digital logic. Get a simulator that also
Some are free and others require a payment of simulates digital logic circuits.
some sort. • Standard parts. All simulators have
The main features to look for in a simulator generic software models that define the
are characteristics for each component. Other
simulators also have models of actual
• Schematic entry. The software provides
component symbols that you place on the commercial parts like op amps or logic gates
Chapter 3 • Simulation and Prototyping 21

and flip flops. The real parts simulations will In addition, use the simulator for some of the
produce a more accurate simulation. suggested circuits, then test the software using
• Tech support. Choose a simulator that has the design projects in each chapter to verify the
sufficient documentation you can learn outcome. Once you find out if the circuit works,
from. A desirable feature is online chat or you can build one and test it. The more you
telephone help to answer your questions and practice with the simulator, the better you will
provide additional information. get at it.

One of the oldest and most widely used


simulator is Multisim by National Instruments Breadboarding
(NI). It has been widely expanded and updated
Breadboarding is the name given to the
over the years. The main problem with Multisim
construction of prototypes for evaluation. There
is its very high price. Only professional engineers
are multiple ways to do it. It involves connecting
or their companies can afford it. Multisim is also
components together to build a circuit or device.
used in colleges and universities.
These include breadboarding sockets, perf
To make Multisim more available, NI has board, PC board blanks, and a few others.
established Multisim.Live, a free version for
students and experimenters. Its functionality Breadboarding Sockets
is somewhat limited, but it is definitely
useable. I encourage you to try this oneGo to The most popular way to do this today is to
www.multisim.com. I highly recommend that use breadboarding sockets like the one shown
you access all the various introductions on this in Fig. 3.2. The "rat's nest" of components
site, including a step-by-step example of how to are several prototype circuits. These solderless
build and test a circuit. Also look at all of the connectors accept wire, component leads, IC
various circuits that have been simulated. Spend pins, and special jumper wires to interconnect
some time on this site, and you will come away everything. They are also referred to by some as
with the concept of simulation. protoboards.
If you get a simulatoi; please kfep in mind that
you will need to put in some time figuring out
how to use it. Some love it, others hate it. You
have to try it for yourself to see where you stand
I must admit that it is a good test of your design
before you spend money on parts and time on
construction of the prototype. This prequalification
usually minimizes experimentation, testing, and
troubleshooting time.

Recommendation
\.
The whole circuit simulation process is complex
and difficult to describe in a book chapter. I urge Q L\ @JQ Several circuit prototypes on the
you to get a simulator and try it out. You must breadboard. Messy as usual, but they
experience it for yourself and learn bow to use it. all work.
22 Practical Electronic Design for Experimenters

Figure 3.3 shows a more detailed layout. For to five leads or wires together. The long string of
each five-hole group, a pressure connector on the holes nmning along the sides of the boards are
backside of the socket electrically connects up buses or power rails used to connect the circuits
to the power supply voltage and ground.
Each Square These Five These breadboards provide a fast and easy
is a Hole for a Holes Connected way to put a circuit together with standard
Component Lead. Together.
components with leads. Newer surface-mount
-+ -+ components do not have wire leads, so they
AB abcdc fghij AB
1 1 r,
cannot be used with these sockets directly,

I --,. 0

5
00 00 o~

s
although some special adapters are available to
allow surface-mount parts to be used.

Adjacent
Groups Not
I 10
. 00 OOO
00 OOO
10
These prototyping sockets are available in
multiple sizes to fit your project. The most
common size is the 840-terminal board that
Connected.

I 15 15 measures 6.5 in long and 2.25 in wide.


I recommend that you have several of different
sizes on hand at all times. If you do a lot of

I 20

25
20

25
experimentation, it is handy to use some of the
smaller boards and just build one circuit on it.
Don't tear it down as you may need that circuit

IAB
-+
30
abcde fghij
30
AB
-+
again in another project, and you won't have to
build it, test it, or troubleshoot it again.
Figure 3.4a shows a schematic diagram of an
...
"I _ All Holes in B Column I op amp test circuit. Figure 3.4b shows the IC pin
Connected Together. numbering. The typical wiring details of an IC
All Holes in A Column _ op amp with resistors connected to a +V and -V
Connected Tugether. power supplies.
(a)
There are no particular rules to translate
your schematic diagram into actual wiring. The
only common format is to connect the positive
lead of the power supply to the + bus and the
negative lead of the power supply to the - bus.
This lets circuits on any part of the socket tap
into power and ground where needed.
The ICs straddle the center line. A good
beginning point is to plug in any ICs first then
connect the de power and ground wires. Then
add the other wiring. The preferred wire is
insulated #22 gauge solid copper. Buy a roll of
(b) it. Special wiring jumpers for these sockets are
Q!!@Jf 1 (a) A common breadboard layout. also available. These are precut to several lengths
(b) The most popular breadboard and have connectors on each end to make
size.
Chapter 3 • Simulation and Prototyping 23

47k When building circuits. care should be taken


to be sure of the correct orientation of each
part. Be sure you have a data sheet for any IC
In 6
Out to ensure the correct pin orientation. All ICs
have some orientation feature that will identify
- pin 1. Other critical components are transistors,
(a)
diodes. LEDs. and electrolytic capacitors.
1 • 8 Obviously, the wrong connections can cause
2 7 TI.081 damage to a component. Polarized capacitors
3 6 Op Amp like aluminum electrolytics and tantalum types
4 5 will be damaged if inserted backwards. A reverse
(b) connected tantalum capacitor, for example, will
actually explode when power is applied. So be
-+ -+
careful. If in doubt, get a data sheet to verify the
AB AB
connection points.

I 00 00 0

i Just So You Know

;t ...
I

\:> l
- I-

I/°(})
I
i..-OutpuL_
Building circuits on breadboarding sockets is OK
for de and low-frequency projects. However, if you
are making higher frequency circuits, you could
introduce too much stray, distributed, or parasitic
inductance and capacitance and create a circuit
..... -J rt ..... that does not perform well. It could oscillate,

I
"<I ".CJ
v ..... -
have a limited frequency response, do weird
11 I I a'-' ~ \ I
-...... :..- things, or just not work. At higher frequencies,
~
"'
I I ~ \

.....
...,.!-'
I'"' ·~
~ 1 I
-- say those beyond about 1 MHz, the component
leads and wires become significant inductors.
?_ """""
- ..... r ... ' I
f \..
--
~

,__
The capacitance between component leads or
the capacitance between the connectors in the
- ..... ,__

--
GND
--
--
breadboarding socket may create a circuit that you
did not intend. If you suspect this is happening,
then there are several things you can do.

IAB
-+
IAB
-+
First, shorten all component leads as much as
is practical, and shorten all wires. You may even
want to try another layout on the socket, putting
the components closer together. If that does not
help, you may need to use some other prototyping
method as discussed elsewhere in this chapter.

GND
(c)

mIIIif! I (a} Schematic diagram an op amp


inverter circuit. {b} C pin numbering.
Perf Board
Perf board is a sheet of insulating material
(c} Wiring details.
with perforations or holes punched into
it. (See Fig. 3.5a.) A common material is
connection to the socket easy and reliable. The
designated FR4, an insulating base used to
extra cost is worth it, but #22 gauge wire also
make many PCBs. Hole spacing is usually 0.1 in
works just fine.
24 Practical Electronic Design for Experimenters

to match up with common IC lead spacing. that it should perform better and look more like
The idea is to put the component leads through a finished project.
the holes, bend the leads over, and make the There are several kinds of perf board
circuit interconnections with solder on the that provide an even more finished look to a
back of the board. You can use the component prototype. One type has copper wiring patterns
leads themselves or use wires as necessary to on one side that you can use to make the
make the connections. Connections should be interconnections. (See Fig. 3.6.) These boards
soldered. For higher frequency circuits, keep the come in different sizes and have different solder
components close together and the leads short pad arrangements. You still put the component
for best results. Figure 3.Sb shows an example. leads through the holes. but you solder the leads
This method of breadboarding is a little to the copper pads. You have to use the pads
neater and closer to what a printed circuit that are available to make the links between
board (PCB) layout would look like. It is a bit the different parts. In some cases, you may
more difficult to build than using a prototyping have to add a wire here or there to make the
socket. And it is also a bit more difficult to connections. The result is a very organized and
troubleshoot and to make changes. The upside is neat package. For one time designs this could be
your finished project.

(c)

......................
... ...........................
.......... .. ... ... ....
........ . .. . . . . .. . . . . . . .
........................................... ........... . . .
(a) .........................
.........................
························
................. .........
................
························
........ .... ........... ... ........
·················
.........................
. ........ .........
.............. .. ...······... ....
......................... .......
.......................
·······················
................... ...................................................
......
.... .....................
........... .....
.....................
•••• • • ••••• •••••• • •••• OI

(a)
.................................
............ ...... .... ...
~

.. ........................................ ... ................


~ ~

\ .. ············
.. (b)

iil:l l!{JJ.j (a) on the left is a larger board with


power buses designed to hold many
ICs, (b) in the lower right a generic all-
purpose board for small circuits, and
(b)
(c) in the upper right is a board with
ij{!i!lffj Typical perfboard construction (a) and surface-only pads perfect for dead-bug
the bottom wiring (b). prototyping.
Chapter 3 • Simulation and Prototyping 25

Dead Bug Method one side. Then build a simple circuit yourself.
Make your decision from there.
One alternative way to build prototypes is to
use the so-called dead bug method. It uses an
unetched PCB with full copper cladding on Working with Surface-Mount
one side. This becomes your base and common
ground for the circuit. If your design uses an IC,
Components
you lay it leads-up with the top of the IC on the In general experimenting and prototyping, you
copper. You will then bend the IC ground lead will use ICs in the standard dual in-line packages
over and solder it to the copper. If the circuit (DIP). They plug right into breadboarding
calls for other pins to be grounded, bend them sockets and are larger and easier to handle than
over and solder them to the copper. The other the surface-mount devices (SMD) that are used
IC pins you will solder to other components. in most new electronic equipment. Most of the
Resistors, capacitors, and diodes are simply older parts still available today are in a DIP. Use
soldered to the IC pins and/or each other. The these whenever you can as they are less expensive
component leads are sturdy enough to support and work well with breadboarding sockets.
one another in free space above the copper base. There may be times when you want to use a
The result is a self-supporting messy circuit. particular IC, but it is only available in a surface-
Wires are added to the circuit as needed for mount package. These are difficult to work with
external power and signals. but there are helpful prototyping accessories you
I do not recommend this method. It is hard can buy. An example is a small PCB to which
to follow or trace on a schematic diagram, and you can solder the IC. This small board has pins
it is difficult to solder all the parts together. that plug into a breadboarding socket. These
I do admit that the entire circuit is out in the adapter boards are made by SchmartBOARD
open and that makes it easy to connect to test and Capital Advanced Technologies. Keep them
equipment and other external devices. Some in mind if you ever need one. Most of the newer
designers swear by this approach. It is the best ICs come only in surface-mount packages. You
way to test high-frequency circuits. Apparently, will definitely have to deal with them at some
this method is good up to 1 GHz if you keep the time.
leads short to minimize stray inductance and
capacitance.
Components
Some who use this technique have found a
way to separate segments of the copper so that To test the circuits and products you plan to
signal leads and other nonground connections design, you will need the components to build
can be made. You can actually score the copper them. You will choose these parts yourself
with a knife until you create an insulating space according to the design. This book suggests and
between copper sections. You can also cut copper recommends many of the parts. See Chap. 14.
strips with your knife and peel the copper off. In some of the projects, specific parts like ICs
Other not-so-elegant mechanical methods can will be given. You will need to buy these parts as
be used to create separate islands for multiple needed from the sources listed in Chap. 2.
connections, such as using a Dremel tool. The best preparation is to have on hand some
If you want to try it out, get a blank piece of of the most common parts you will always need
PCB, such as FR4 with full copper cladding on like resistors and capacitors. One good approach
26 Practical Electronic Design for Experimenters

is to buy available sets or kits of resistors and small table is all you usually need. You can set up
capacitors that include multiple pieces of all the your test equipment and other stuff and leave it
most common values. It is maddening and off- there between work sessions.
putting not to have a specific value of a resistor
or capacitor when you are ready to build the
circuit. These kits are relatively inexpensive and Summarizing
a good value. You can also get kits of transistors, A general recommendation is to use the flexible
diodes, and ICs if you want to go all out. Check
and convenient breadboarding sockets for your
with the distributors to see what is available. initial prototyping efforts as you can build the
With most common parts on hand, your orders circuit fast and make changes and corrections
will only be for the special parts required.
quickly. You should keep several of these sockets
in different sizes on hand. Also get some perf
boards to build your finished circuits. There are
One Good Prototyping instances where you may need a socket for a new
Practice project but none are available. That means you
When building a multicircuit project it is may have to tear down an existing prototype to
desirable to keep each circuit separate from free up the socket. This is usually a big mistake.
the others. Put each circuit on a separate small You never know when you are going to need
breadboarding sock.et, perf board, or dead bug that circuit again, so it is a good idea to keep
board. In many projects, you may be using one previously used circuits for later applications.
of the small microcomputer boards like the As you perfect the circuit, you can move from
Arduino. Keep it separate. If you are using a the breadboarding socket to a perf board for a
reference design kit that some IC manufacturers more finished appearance. As a next step, take
sell, keep it separate, too. Then you can wire a look at what is available in a catalog or online
all the individual boards and pieces together to and search for these sockets and boards to see
make the final product. what may fit your projects.
This separation-of-circuits method makes
design, testing, and troubleshooting faster and
easier. Design and test each circuit separately
A Word About Tools
without the clutter of multiple circuits all on one If you have done any electronics work before,
breadboarding socket or perf board. Later, when you may already have the necessary tools for
you have proved that everything works, you can prototyping, kit building, or repair. If not, here
always repackage it. is a short list of the minimum tool inventory
needed for most projects.
• Needle-nose pliers
A Workbench • Standard pliers
It is difficult to work on electronic projects without • Side cutters
the proper space. You cannot always commandeer
• Wire stripper
the kitchen or dining tables for your designs. If
possible, try to set up a dedicated bench where • Sharp knife
you can do your design and prototyping. Use the • Several sizes of both standard and Philips
basement, garage, or a comer of a bedroom. A screwdrivers
Chapter 3 • Simulation and Prototyping 27

• Soldering iron and holder, 15 to 35 W. Small Your Projects


tip to solder tiny PCB and SMDs
Each chapter in this book will give you some
• Solder removal tool or solder wick for
design projects for practice. Design and build the
desoldering
circuits recommended then build and test them.
• A good light for your bench After that, you should be prepared to conceive
• A magnifying glass your own projects. Maybe you already have
Some tools that fall into the maybe category something in mind. If so, go for it. Otherwise,
are a small electric drill and a PCB holder. A you may be looking for a new design project to
PCB holder has clips to hold a board or other tackle. A good starting place is the magazines.
object steady while you solder it. It is like a Hopefully you have already subscribed to Circuit
third hand. Some even come with a magnifying Cellar, Elektor, MAKE, Nuts & Volts, or QST.
glass to help you see the small details like part These publications always have interesting
numbers and color codes on ICs, transistors, or projects you can duplicate or otherwise give you
capacitors. some ideas to explore.
Another random document with
no related content on Scribd:
The Chief continued: “Yesterday he spoke of Europe, which
would intervene if we did not moderate our demands. But I replied, ‘If
you speak to me of Europe I shall speak to you of Napoleon.’ He
would not believe that they had anything to fear from him. I proved
the contrary to him, however. He should remember the plebiscite and
the peasantry, together with the officers and soldiers. It was only
under the Emperor that the Guards could again have the position
which they formerly occupied; and with a little cleverness it could not
be difficult for Napoleon to win over 100,000 soldiers among the
prisoners in Germany. We should then only have to arm them and let
them cross the frontier, and France would be his once more. If they
would concede good conditions of peace we might even put up with
one of the Orleans, though we knew that that would mean another
war within two or three years. If not, we should have to interfere,
which we had avoided doing up to the present, and they would have
to take Napoleon back again. That, after all, must have produced a
certain effect upon him, as, to-day, just as he was going to talk about
Europe again, he suddenly broke off and said, ‘Excuse me.’ For the
rest, I like him very well. He is at least highly intelligent, has good
manners, and is an excellent story-teller. Besides, I often pity him, for
he is in an extremely awkward position. But all that can’t help him in
the least.”
With regard to the war indemnity, the Chief said: “Thiers insisted
that fifteen hundred million francs was the maximum, as it was
incredible how much the war had cost them. And in addition to that
everything supplied to them was of bad quality. If a soldier only
slipped and fell down, his trousers went to pieces, the cloth was so
wretched. It was the same with the shoes which had pasteboard
soles, and also with the rifles, particularly those from America.” I
replied: “But just imagine, you are suddenly pounced upon by a man
who wants to thrash you, and after defending yourself and getting
the better of him, you demand compensation—what would you say if
he asked you to bear in mind how much he had had to pay for the
stick with which he had intended to beat you, and how worthless the
stick had proved to be? However there is a very wide margin
between fifteen hundred and six thousand millions.”
The conversation then lost itself—I can no longer remember how
—in the depths of the Polish forests and marshes, turning for a while
on the large solitary farm houses in those districts and upon
colonisation in the “backwoods of the east.” The Chief said:
“Formerly when so many things were going wrong—even in private
affairs—I often thought that if the worst came to the worst I would
take my last thousand thalers and buy one of those farms out there
and set up as a farmer. But things turned out differently.”
Later on, diplomatic reports were again discussed, and the Chief,
who seems in general to have a poor opinion of them said: “For the
most part, they are just paper smeared with ink. The worst of it is
that they are so lengthy. In Bernstorff’s case, for instance, when he
sends a ream of paper filled with stale newspaper extracts—why,
one gets accustomed to it! But when some one else writes at
interminable length, and as a rule there is nothing in it, one becomes
exasperated. As for using them some day as material for history,
nothing of any value will be found in them. I believe the archives are
open to the public at the end of thirty years—but it might be done
much sooner. Even the despatches which do contain information are
scarcely intelligible to those who do not know the people and their
relations to each other. In thirty years time who will know what sort of
a man the writer himself was, how he looked at things, and how his
individuality affected the manner in which he presented them? And
who has really an intimate knowledge of the people mentioned in his
reports? One must know what Gortschakoff, or Gladstone, or
Granville had in his own mind when making the statements reported
in the despatch. It is easier to find out something from the
newspapers, of which indeed governments also make use, and in
which they frequently say much more clearly what they want. But
that also requires a knowledge of the circumstances. The most
important points, however, are always dealt with in private letters and
confidential communications, also verbal ones, and these are not
included in the archives.
“The Emperor of Russia, for instance, is on the whole very
friendly to us—from tradition, for family reasons, and so on—and
also the Grand Duchesse Hélène, who influences him and watches
him on our behalf. The Empress, on the other hand, is not our friend.
But that is only to be ascertained through confidential channels and
not officially.”
Thursday, February 23rd.—We retain Metz, but not Belfort. It has
been practically decided that a portion of our army shall enter Paris.
And I write the following intimation for the Moniteur:—
“The arrogance with which the Parisian press insults and abuses
the victorious German army that stands outside the gates of the
capital has been frequently stigmatised by us as it deserves. We
have likewise pointed out that the occupation of Paris by our troops
would be the most effectual means of putting an end to this sort of
insolence. At the present moment these lies and calumnies and
provocations know no bounds. For instance, the Figaro of the 21st of
February, in a feuilleton entitled ‘Les Prussiens en France,’ and
signed Alfred d’Aunay, charges German officers and the Germans in
general with the most disgraceful conduct such as theft and pillage.
We learn that these proceedings, which we forbear to characterise,
have entirely frustrated the efforts made by the Parisian negotiators
to prevent the German army entering into Paris. We are positively
assured that the entry of the German forces into the French capital
will take place immediately after the expiration of the armistice.”
Friday, February 24th.—Thiers and Favre were here from 1 to
5.30 p.m. After they left, the Duc de Mouchy and the Comte de
Gobineau were announced. The object of their visit was to complain
of the oppressive action of the German Prefect at Beauvais, who is
apparently rather harsh, or at least not very conciliatory or indulgent.
The Chief came to dinner in plain clothes for the first time during the
war. Is this a sign that peace has been concluded? He again
complained that when he went to see the King, the Grand Dukes,
“with their feminine curiosity, pestered him with questions.” With
regard to the deputation from Beauvais, Hatzfeldt said that Mouchy
and Gobineau were both sensible men and Conservatives, and that
our Prefect, Schwarzkoppen, bullied them and the other notables of
the town and neighbourhood in an unpardonable way. Amongst
other things, two days before the expiration of the term on which a
contribution of two millions was to be paid, they brought him a million
and a half and said that the balance would follow shortly, whereupon
he told them brutally that he was there for the purpose of ruining
them and meant to do so, and he threatened to have them locked up
in order to “coerce” them, which was not in the least necessary. The
Chief was very angry and called Schwarzkoppen a “blockhead.”
Saturday, February 25th.—Unpleasant news has again been
received from Bavaria. Werther (who, it is true, is described by
Bucher as unreliable and a visionary) writes that Count Holnstein
regards the condition of King Lewis with very great anxiety. Prince
Adalbert, who combines “the Wittelsbach haughtiness with Jesuitry,”
is inciting him against us. He asserts that he signed the treaties
under pressure. Before every Court dinner and even before every
audience he drinks large quantities of the strongest wines, and then
says the most extraordinary things to every one without distinction of
persons. He wants to abdicate and leave the crown to his brother
Otto, who, however, has no wish for it, and he is always inquiring
about deadly poisons, &c. The Ultramontanes are aware of all this,
and their candidate for the Reichstag, Prince Luitpold, is also their
candidate for the throne, and they mean to get him chosen in spite of
Prince Otto’s claims.
Wednesday, March 1st.—In the morning I crossed the bridge of
boats at Suresnes to the Bois de Boulogne where, from the half-
ruined stand on the racecourse, I saw the Emperor review the troops
before they marched into Paris.
We were joined at dinner by Mittnacht, and the Würtemberg
Minister, von Wächter, who was formerly attached to the Embassy in
Paris, and while there did his utmost against Prussia. The Chief said
he had ridden in to Paris, and was recognised by the populace, but
there was no demonstration against him. He rode up to one man
who looked particularly vicious, and asked him for a light, which he
willingly gave.
The Chancellor afterwards took occasion once more to speak his
mind out on the obtrusiveness of certain princely personages. “They
are like flies,” he said, “there is no getting rid of them. But Weimar is
the worst of the lot. He said to me to-day, ‘Please tell me where did
you disappear to so quickly yesterday? I should have been glad to
put some further questions to you.’ I replied, ‘That was exactly it,
your Royal Highness. I had business to do, and could not enter into
a lengthy conversation.’ He fancies that the whole world has been
created merely for his sake, for his amusement, the improvement of
his education, and the satisfaction of his curiosity, which is insatiable,
and he has absolutely no tact.” Somebody observed that as a rule
when he talks he does not think of what he says, but rather repeats
phrases that he has learnt by rote. Mittnacht told another story about
this august personage. “Some one was introduced to him: ‘Ah, very
pleased indeed, I have heard so much to your credit. Let me see,
what was it I heard?’”
Thursday, March 2nd.—Favre arrived this morning at 7.30 a.m.,
and wished to be shown in to the Chief. Wollmann declined to wake
him, however, at which the Parisian Excellency was very indignant.
Favre wanted to inform the Chancellor of the news he had received
during the night that the National Assembly at Bordeaux had ratified
the preliminaries of peace, and thereupon to ask that Paris and the
forts on the left bank of the Seine should be evacuated. This request
was submitted in a letter which he left behind him.
Sunday, March 5th.—We leave to-morrow, first going to Lagny
and thence to Metz. The Chief is present at dinner. The conversation
first turned upon our landlady, Madame Jesse, who put in an
appearance either to-day or yesterday and made a variety of
complaints to the Minister as to the damage we are supposed to
have done to her property. He replied that was the way in war,
particularly when people deserted their homes. Besides she had
reasons to be thankful that she had got off so easily. The little table
on which the Treaty of Peace was signed is to be taken with us to
Germany. Taglioni, who is to remain behind a few days with the King,
is instructed to have it replaced by an exactly similar piece of
furniture. In speaking of the preparations for our departure the Chief
says: “Kühnel thinks we ought not to travel by night, as Lorraine will
be haunted, and they might lay something on the rails.” I replied,
“Then I will travel incognito as the Duke of Coburg. Nobody owes
him a grudge. He is regarded as perfectly innocent—and with
justice.”
Monday, March 6th.—A lovely morning. Thrushes and finches
warble the signal for our departure. At 1 o’clock the carriages get
under way, and with light hearts we drive off towards the gate that we
entered five months ago, and passed Villa Coublay, Villeneuve Saint
Georges, Charenton, and La Fasanerie to Lagny, where we take up
our quarters for the night.
We leave here next day by a special train for Metz, where we
arrive late at night. We put up at an hotel, while the Chief stays with
Count Henckel at the Prefecture. Next morning we stroll through the
town, visit the cathedral, and survey the neighbourhood from the
bastions of the fortress. Shortly before 11 o’clock we are again in the
train, and travel by Saarbrücken and Kreuznach to Mainz, and
thence to Frankfurt.
The Chief has an enthusiastic reception everywhere along the
line and particularly at Saarbrücken and Mainz. Frankfurt is the only
exception. We arrive there at a late hour, and start again in the night.
At 7.30 on the following morning we reach Berlin, after exactly seven
months’ absence. All things considered, everything has been done
during those seven months which it was possible to do.
FOOTNOTES
[1] Strictly speaking, almost complete, as some passages
must still be omitted for the present.
[2] The despatch was understood to contain a sentence to the
effect that Rome should take care not to challenge Europe, and
that whatever the Church might say, the Austrian Courts of Justice
would not allow themselves to be influenced into according any
indulgence towards those who broke the laws or instigated others
to do so.
[3] At that time it had only been accepted by the Committee of
the House of Commons,—without any important amendments
however, and its adoption on a third reading was assured. It is
true, objections were raised. Gladstone very characteristically
observed that the law now only empowered the Administration to
proceed against incitements to treasonable action; it was,
however, necessary to provide for the punishment of attempts by
the press to create a “treasonable state of mind” amongst the
people. The sole concession made by the Government was that
the threatened measures should not be put into execution until
warning (once only) had been given.
[4] The loyal Hanoverian circles did not tell the truth in this
matter. Stoffel’s reports were, on the whole, good, and he himself
was a man of respectable character.
[5] Not quite correct, according to a subsequent statement of
the Minister’s and Count Bill’s own account.
[6] Louis de Condé was treacherously murdered on the 12th of
March, 1569, after the engagement at Jarnac, just as he had
delivered up his sword to an officer of the royal army, being shot
by one Montesquieu, a captain of the Guards.
[7] These particulars are worked up into the preceding chapter.
[8] In presence of later events he can hardly have expressed
himself in this way.
[9] The Würtemberger was Von Reinhard, and the
Darmstadter Von Munch-Bellinghausen, both determined
opponents of Prussia.
[10] Compare this passage with the speech delivered by
Bismarck in the United Diet on the 15th of June, 1847. On that
occasion he said, “I am of opinion that the conception of the
Christian state is as old as the so-called Holy Roman Empire, as
old as all the European States, and that it is exactly the ground in
which those States have struck deep roots; and further, that each
State that wishes to secure its own permanence, or even if it
merely desires to prove its right to existence, must act upon
religious principles. The words ‘By the grace of God,’ which
Christian rulers add to their names, are for me no mere empty
sound. On the contrary, I recognise in them the confession that
Princes desire to wield the sceptre with which God has invested
them in accordance with His Will.” Certain remarks made by the
Chancellor in his speech of the 9th of October, 1878, during the
debate on the Anti-Socialist Bill, should also be remembered in
this connection. He said, inter alia: “If I had come to believe as
these men (the Social Democrats) do—yes, I live a full and busy
life and am in opulent circumstances—but that would not be
sufficient to make me wish to live another day if I had not, in the
words of the poet, ‘an Gott und bessere Zukunft Glauben’ (faith in
God and a better future).”
[11] It was a report from Mohl, originally intended, for his
Government at Carlsruhe, which was communicated to the Chief,
under whose instructions extracts therefrom were utilised in the
press.
[12] At that time Secretary of State in the Foreign Office. He
was not a Catholic.
[13] Bucher afterwards told me that the Chancellor was
affected both by the superstition respecting the number thirteen
and that relating to Friday. Other diplomats, as, for instance, the
French, seem to entertain the same objection both to the number
and the day. The following anecdote, which I was assured was
perfectly genuine, may serve as an example. After the
negotiations respecting the duty payable by ships passing through
the Sound had been completed, it was arranged that the treaty
containing the terms agreed upon should be signed at
Copenhagen on the 13th of March, 1587. It turned out that the
day thus chosen was not only the thirteenth of the month, but was
also a Friday, and that there were thirteen Plenipotentiaries to
sign the document. “A threefold misfortune!” exclaimed the French
Ambassador Dotezac. To his delight, however, the addition of the
signatures was postponed for some days owing to difficulties
occasioned by the difference in the rate of exchange of Danish
and Prussian thalers. The number of representatives still caused
him so much anxiety, however, that it made him ill, and it was only
on the decease of the Hanoverian Plenipotentiary a few weeks
later that the French Ambassador and the other signatories of the
treaty felt that they were no longer in danger of sudden death.
[14] Walker, the English Kutusow of Count Bismarck-Bohlen,
H. B. M.’s Military Plenipotentiary at headquarters, was not held in
much estimation by the Chancellor and his entourage.
[15] These suspicions, though fully justified by appearances,
were subsequently shown to be for the greater part unfounded,
except that there was inadequate provision for the requirements
of the wounded. I reproduce the episode as evidence of the
Minister’s usual humane feeling and love of justice.
[16] A reference to the popular Thuringian ballad of “The
Landgrave and the Smith.”
[17] His greeting to those who brought him the news of his
election as Emperor while he was netting birds in the forest.
[18] Thun, Rechberg and Prokesch held in succession the
position of Austrian Minister to the Bundestag.
[19] The communication referred to is a letter by Thomas
Carlyle published in The Times of November 18, in which it
occupied two and a half columns. The passages quoted by Dr.
Busch are here reproduced from the original:—
“The question for the Germans, in this crisis, is not one of
‘magnanimity,’ of ‘heroic pity and forgiveness to a fallen foe,’ but
of solid prudence and practical consideration what the fallen foe
will, in all likelihood, do when once on his feet again. Written on
her memory, in a distinctly instructive manner, Germany has an
experience of 400 years on this point; of which on the English
memory, if it ever was recorded there, there is now little or no
trace visible.... No nation ever had so bad a neighbour as
Germany has had in France for the last 400 years; bad in all
manner of ways; insolent, rapacious, insatiable, unappeasable,
continually aggressive.... Germany, I do clearly believe, would be
a foolish nation not to think of raising up some secure boundary
fence between herself and such a neighbour now that she has the
chance. There is no law of nature that I know of, no Heavens Act
of Parliament whereby France, alone of terrestrial beings, shall
not restore any portion of her plundered goods when the owners
they were wrenched from have an opportunity upon them.... The
French complain dreadfully of threatened ‘loss of honour’; and
lamentable bystanders plead earnestly, ‘Don’t dishonour France;
leave poor France’s honour bright.’ But will it save the honour of
France to refuse paying for the glass she has voluntarily broken in
her neighbour’s windows. The attack upon the windows was her
dishonour. Signally disgraceful to any nation was her late assault
on Germany; equally signal has been the ignominy of its
execution on the part of France. The honour of France can be
saved only by the deep repentance of France, and by the serious
determination never to do so again—to do the reverse of so for
ever henceforth.... For the present, I must say, France looks more
and more delirious, miserable, blamable, pitiable and even
contemptible. She refuses to see the facts that are lying palpably
before her face, and the penalties she has brought upon herself.
A France scattered into anarchic ruin, without recognisable head;
head, or chief, indistinguishable from feet, or rabble; Ministers
flying up in balloons ballasted with nothing else but outrageous
public lies, proclamations of victories that were creatures of the
fancy; a Government subsisting altogether on mendacity, willing
that horrid bloodshed should continue and increase rather than
that they, beautiful Republican creatures, should cease to have
the guidance of it; I know not when and where there was seen a
nation so covering itself with dishonour.... The quantity of
conscious mendacity that France, official and other, has
perpetrated latterly, especially since July last, is something
wonderful and fearful. And, alas! perhaps even that is small
compared to the self-delusion and unconscious mendacity long
prevalent among the French.... To me at times the mournfullest
symptom in France is the figure its ‘men of genius,’ its highest
literary speakers, who should be prophets and seers to it, make at
present, and, indeed, for a generation back have been making. It
is evidently their belief that new celestial wisdom is radiating out
of France upon all the other overshadowed nations; that France is
the new Mount Zion of the universe; and that all this sad, sordid,
semi-delirious, and, in good part, infernal stuff which French
literature has been preaching to us for the last fifty years is a
veritable new Gospel out of Heaven, pregnant with blessedness
for all the sons of men.... I believe Bismarck (sic) will get his
Alsace and what he wants of Lorraine, and likewise that it will do
him, and us, and all the world, and even France itself by and by, a
great deal of good.... (Bismarck) in fact seems to me to be striving
with strong faculty, by patient, grand and successful steps,
towards an object beneficial to Germans and to all other men.
That noble, patient, deep, and solid Germany should be at length
welded into a nation and become Queen of the Continent, instead
of vapouring, vain-glorious, gesticulating, quarrelsome, restless
and over-sensitive France, seems to me the hopefullest public
fact that has occurred in my time.”—The Translator.
[20] The King.
[21] The Crown Prince.
END OF VOL. I.

RICHARD CLAY AND SONS, LIMITED, LONDON AND BUNGAY.


Transcriber's Notes
The following changes have been made to the
text as printed. In cases of doubt, recourse has
been had to the original German work
(Tagebuchblätter).
1. Obvious typographical errors have been
corrected.
2. Errors in use of quote marks and other
punctuation have been corrected.
3. In cases of inconsistent spelling of German
and French names, the spelling used in the original
language has been preferred. Examples include
changing Frankfort to Frankfurt, Mayence to Mainz,
Rheims to Reims, Delbruck to Delbrück. However,
where the English text is consistent in spelling, that
spelling has been retained (Cologne, Munich,
Jahrbuecher).
4. Where a word is used repeatedly in the same
way, hyphenation has been made consistent,
preferring the form most often used in the printed
work, or failing that the more usual form in general
use at the time of publication.
5. Page 113: the result would not been has
been changed to the result would not have been.
*** END OF THE PROJECT GUTENBERG EBOOK BISMARCK ***

Updated editions will replace the previous one—the old editions


will be renamed.

Creating the works from print editions not protected by U.S.


copyright law means that no one owns a United States copyright
in these works, so the Foundation (and you!) can copy and
distribute it in the United States without permission and without
paying copyright royalties. Special rules, set forth in the General
Terms of Use part of this license, apply to copying and
distributing Project Gutenberg™ electronic works to protect the
PROJECT GUTENBERG™ concept and trademark. Project
Gutenberg is a registered trademark, and may not be used if
you charge for an eBook, except by following the terms of the
trademark license, including paying royalties for use of the
Project Gutenberg trademark. If you do not charge anything for
copies of this eBook, complying with the trademark license is
very easy. You may use this eBook for nearly any purpose such
as creation of derivative works, reports, performances and
research. Project Gutenberg eBooks may be modified and
printed and given away—you may do practically ANYTHING in
the United States with eBooks not protected by U.S. copyright
law. Redistribution is subject to the trademark license, especially
commercial redistribution.

START: FULL LICENSE


THE FULL PROJECT GUTENBERG LICENSE
PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK

To protect the Project Gutenberg™ mission of promoting the


free distribution of electronic works, by using or distributing this
work (or any other work associated in any way with the phrase
“Project Gutenberg”), you agree to comply with all the terms of
the Full Project Gutenberg™ License available with this file or
online at www.gutenberg.org/license.

Section 1. General Terms of Use and


Redistributing Project Gutenberg™
electronic works
1.A. By reading or using any part of this Project Gutenberg™
electronic work, you indicate that you have read, understand,
agree to and accept all the terms of this license and intellectual
property (trademark/copyright) agreement. If you do not agree to
abide by all the terms of this agreement, you must cease using
and return or destroy all copies of Project Gutenberg™
electronic works in your possession. If you paid a fee for
obtaining a copy of or access to a Project Gutenberg™
electronic work and you do not agree to be bound by the terms
of this agreement, you may obtain a refund from the person or
entity to whom you paid the fee as set forth in paragraph 1.E.8.

1.B. “Project Gutenberg” is a registered trademark. It may only


be used on or associated in any way with an electronic work by
people who agree to be bound by the terms of this agreement.
There are a few things that you can do with most Project
Gutenberg™ electronic works even without complying with the
full terms of this agreement. See paragraph 1.C below. There
are a lot of things you can do with Project Gutenberg™
electronic works if you follow the terms of this agreement and
help preserve free future access to Project Gutenberg™
electronic works. See paragraph 1.E below.
1.C. The Project Gutenberg Literary Archive Foundation (“the
Foundation” or PGLAF), owns a compilation copyright in the
collection of Project Gutenberg™ electronic works. Nearly all the
individual works in the collection are in the public domain in the
United States. If an individual work is unprotected by copyright
law in the United States and you are located in the United
States, we do not claim a right to prevent you from copying,
distributing, performing, displaying or creating derivative works
based on the work as long as all references to Project
Gutenberg are removed. Of course, we hope that you will
support the Project Gutenberg™ mission of promoting free
access to electronic works by freely sharing Project
Gutenberg™ works in compliance with the terms of this
agreement for keeping the Project Gutenberg™ name
associated with the work. You can easily comply with the terms
of this agreement by keeping this work in the same format with
its attached full Project Gutenberg™ License when you share it
without charge with others.

1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside
the United States, check the laws of your country in addition to
the terms of this agreement before downloading, copying,
displaying, performing, distributing or creating derivative works
based on this work or any other Project Gutenberg™ work. The
Foundation makes no representations concerning the copyright
status of any work in any country other than the United States.

1.E. Unless you have removed all references to Project


Gutenberg:

1.E.1. The following sentence, with active links to, or other


immediate access to, the full Project Gutenberg™ License must
appear prominently whenever any copy of a Project
Gutenberg™ work (any work on which the phrase “Project
Gutenberg” appears, or with which the phrase “Project
Gutenberg” is associated) is accessed, displayed, performed,
viewed, copied or distributed:

This eBook is for the use of anyone anywhere in the United


States and most other parts of the world at no cost and with
almost no restrictions whatsoever. You may copy it, give it
away or re-use it under the terms of the Project Gutenberg
License included with this eBook or online at
www.gutenberg.org. If you are not located in the United
States, you will have to check the laws of the country where
you are located before using this eBook.

1.E.2. If an individual Project Gutenberg™ electronic work is


derived from texts not protected by U.S. copyright law (does not
contain a notice indicating that it is posted with permission of the
copyright holder), the work can be copied and distributed to
anyone in the United States without paying any fees or charges.
If you are redistributing or providing access to a work with the
phrase “Project Gutenberg” associated with or appearing on the
work, you must comply either with the requirements of
paragraphs 1.E.1 through 1.E.7 or obtain permission for the use
of the work and the Project Gutenberg™ trademark as set forth
in paragraphs 1.E.8 or 1.E.9.

1.E.3. If an individual Project Gutenberg™ electronic work is


posted with the permission of the copyright holder, your use and
distribution must comply with both paragraphs 1.E.1 through
1.E.7 and any additional terms imposed by the copyright holder.
Additional terms will be linked to the Project Gutenberg™
License for all works posted with the permission of the copyright
holder found at the beginning of this work.

1.E.4. Do not unlink or detach or remove the full Project


Gutenberg™ License terms from this work, or any files
containing a part of this work or any other work associated with
Project Gutenberg™.

You might also like