Home > Store

Analog Electronics with LabVIEW

Register your product to gain access to bonus material or receive a coupon.

Analog Electronics with LabVIEW

Book

  • Sorry, this book is no longer in print.
Not for Sale

Description

  • Copyright 2003
  • Edition: 1st
  • Book
  • ISBN-10: 0-13-047065-1
  • ISBN-13: 978-0-13-047065-2

The hands-on, simulation-based introduction to analog electronics.

Analog Electronics with LabVIEW is the first comprehensive introduction to analog electronics that makes full use of computer simulation. Kenneth L. Ashley introduces analog electronics through a series of theory/project sections, in which theoretical presentations correlate directly with circuit measurement and analysis projects. The results of experiments are used to extract device model parameters used in subsequent electronic circuit analysis, providing a significant enhancement in the understanding of modern, computer-based electronic-circuit simulation. Readers will master not only the fundamentals of analog electronics, but also data acquisition and circuit simulation with LabVIEW, basic circuit-solution computation with Mathcad, and circuit simulation with Cadence Schematics or Capture. Coverage includes:

  • Elementary analog circuit analysis, including the resistor voltage divider and MOSFET DC gate voltage, MOSFET drain current-source equivalent, amplifier frequency response, and more
  • Fundamentals of transistors and voltage amplification
  • Characterization of MOS transistors for circuit simulation
  • Common-source amplifiers, MOSFET source-follower buffer stage, differential amplifier stage, and MOSFET current sources
  • Operational amplifiers: resistor negative feedback approaches and capacitor-based applications
  • Development of a Basic CMOS Operational Amplifier
  • LabVIEW tutorial with emphasis on analog electronics, the discrete nature of compute data acquisition, and LabVIEW measurement VIs such as the autoranging DC voltmeter
  • Characterization of the BJT for circuit simulation including linear modeling
  • BJT NPN common-emitter amplifier, including emitter degeneration and current-source PNP load with emitter degeneration

For those new to LabVIEW, the book also contains a complete introductory tutorial with emphasis relevant to analog-electronics applications.

CD-ROM INCLUDED

The accompanying CD-ROM includes a complete copy of LabVIEW 6 Student Edition Software, along with all the LabVIEW, Mathcad, and Schematics (or Capture) files you need to perform the experiments and exercises in this book, plus samples of all project measurement and data files for measurement simulation.

Sample Content

Downloadable Sample Chapter

Click here for a sample chapter for this book: 0130470651.pdf

Table of Contents



Preface.


References.


Hardware and Software Requirements.


LabVIEW VI Libraries and Project and Problem Folders and Files.


1. Elementary Circuit Analysis for Analog Electronics.

Resistor Voltage Divider and the MOSFET DC Gate Voltage. Output Circuit and DC Drain Voltage. Frequency Response of the Amplifier Stage. Summary of Equations. Exercises and Projects.



2. Transistors and Voltage Amplification.

BJT and MOSFET Schematic Symbols, Terminal Voltages, and Branch Currents. Fundamentals of Signal Amplification: The Linear Circuit. Basic NMOS Common-Source Amplifier. Transistor Output Resistance and Limiting Gain. Summary of Equations. Exercises and Projects. References to the Electronic Book Sequence.



3. Characterization of MOS Transistors for Circuit Simulation.

Physical Description of the MOSFET. Output and Transfer Characteristics of the MOSFET. Body Effect and Threshold Voltage. Derivation of the Linear-Region Current-Voltage Relation. Summary of Equations. Exercises and Projects.



4. Signal Conductance Parameters for Circuit Simulation.

Amplifier Circuit and Signal Equivalent Circuits. Transistor Variable Incremental Relationships. Transconductance Parameter. Body-Effect Transconductance Parameter. Output Conductance Parameter. Graphical Perspective of Output Characteristics and the Load Line. Summary of Equations.



5. Common-Source Amplifier Stage.

DC (Bias) Circuit. Amplifier Voltage Gain. Linearity of the Gain of the Common-Source Amplifier. Current-Source Common-Source Amplifier: Common-Source Amplifier with a Source Resistor. Design of a Basic Common-Source Amplifier. Summary of Equations. Exercises and Projects.



6. Coupling and Bypass Capacitors and Frequency Response.

Grounded-Source Amplifier: Coupling Capacitor. Current-Source Bias Amplifier: Bypass Capacitor. Precision Formulation of the Low-Frequency Gain and Characteristic Frequencies. Load Coupling Capacitor. Summary of Equations. Exercises and Projects.



7. MOSFET Source-Follower Buffer Stage.

DC (Bias) Circuit. Source-Follower Voltage Transfer Relation. Body Effect and Source-Follower Voltage Transfer Relation. Summary of Equations. Exercises and Projects.



8. MOSFET Differential Amplifier Stage.

DC (Bias) Circuit. DC Imbalances. Signal Voltage Gain of the Ideal Differential Amplifier Stage. Effect of the Bias Resistor on Voltage Gain. Differential Voltage Gain. Common-Mode Voltage Gain. Voltage Gains Including Transistor Output Resistance. Body Effect and Voltage Gain. Amplifier Gain with Differential and Common-Mode Inputs. Comparison of Numerical Gain Results. Summary of Equations. Exercises and Projects.



9. MOSFET Current Sources.

Basic Current Source. Current Source with Source Degeneration. Differential Amplifier Balancing Circuit. Summary of Equations.



10. Common-Source Amplifier with Current-Source Load.

DC (Bias) Circuit. Signal Voltage Gain. Summary of Equations. Exercises and Projects.



11. Operational Amplifiers with Resistor Negative Feedback.

Operational Amplifiers with Resistance Feedback. Output Resistance of the Resistor Feedback Amplifier. Operational Amplifier Offset. DC Stabilization with the Feedback Resistor. Frequency Response of the Operational Amplifier and Resistor Feedback Amplifier. Summary of Equations. Exercises and Projects.



12. Operational Amplifier Applications with Capacitors.

Operational Amplifier Integrator. Operational Amplifier Oscillator. Summer of Equations. Exercises and Projects.



13. Cascaded Amplifier Stages.

Combining NMOS and PMOS Circuits in Cascade. Amplifier Gain of Differential Amplifier and Common-Source Stage in Cascade. Stabilization of Signal Gain and Bias Current with a Source Resistor. Common-Source Stage as a Series - Series Feedback Circuit. Shunt - Series Cascade Amplifier. Summary of Equations.



14. Development of a Basic CMOS Operational Amplifier.

Current-Source Bias for the Differential Amplifier Stage. Current-Source Output Resistance and Common-Mode Gain. Current-Source Load for the Common-Source Stage. Current-Source Load for the Differential Stage. Two-Stage Amplifier with Current-Source Biasing. Output Buffer Stage. Output Resistance of the Feedback Amplifier and Effect on Gain from Loading. Output Stage of the TS271 Opamp. Summary of Equations.



Unit A. Communicating with the Circuit Board: LabVIEW Programming and Measurement Exercises.

Basics of Sending and Receiving Circuit Voltages. ADC and the Autoranging Voltmeter. A LabVIEW Oscilloscope and Voltmeter (ac). Measuring the Discrete Characteristics of Sending and Receiving Voltages. Sending and Receiving Waveforms. Summary of Programming Projects.



Unit B. Characterization of the Bipolar Junction Transistor for Circuit Simulation.

Fundamentals of Bipolar Junction Transistor Action. Base-Width Dependence on Junction Voltage. BJT Base, Emitter, and Collector Currents in the Active Mode. Diode-Connected Transistor Circuits for Measuring Base and Collector Current. Output Characteristics of BJT in the Common-Emitter Mode. SPICE Solution for IC versus VCE of the Measurement Circuit. Collector - Emitter Voltage and Collector Current in the Saturation Region. SPICE BJT ÙDC as a Function of Collector Current. Signal or Incremental Common-Emitter Current Gain. Summary of Equations. Exercises and Projects.



Unit C. Common-Emitter Amplifier Stage.

DC (Bias) Analysis. Linear or Signal Model for the BJT. Amplifier Voltage Gain. Accuracy of Transistor Gain Measurements. Effect of Finite Slope of the Transistor Output Characteristic. Selection of Coupling Capacitors. Common-Emitter Amplifier with Active Load. Frequency Response of the NPN - PNP Amplifier Due to the Base Shunt Capacitor. Common-Emitter Stage with Emitter Resistor and the Emitter-Follower Amplifier Stage. Summary of BJT Model Parameter Relations. Summary of Circuit Equations. Exercises and Projects.



Laboratory Projects.


Project 1. Basic Circuit Analysis for Electronic Circuits with Programming Exercises.

Resistor Voltage Divider Measurements. Resistor Voltage Divider with Current Measurement. Resistor Voltage Divider with Resistor Measurement. Resistor Voltage Divider with a Sine-Wave Source Voltage. Frequency Response of a Resistor - Capacitor Circuit.



Project 2. Basic NMOS Common-Source Amplifier with Programming Exercises.

NMOS Common-Source Circuit with Drain Current Measurement. NMOS Common-Source Amplifier with Resistor Gate Bias Circuit. Amplifier with Signal and Gain Measurement.



Project 3. Characterization of the PMOS Transistor for Circuit Simulation.

SPICE Parameters and Pin Diagram. SPICE Equations. PMOS Transistor. Low-Voltage Linear Region of the Output Characteristic. PMOS Parameters from the Transfer Characteristic. PMOS Lambda from the Transfer Characteristic. PMOS Output Characteristic. PMOS Lambda.



Project 4. Characterization of the NMOS Transistor for Circuit Simulation.

SPICE Parameters and Pin Diagram. NMOS Transistor. SPICE Equations. NMOS Parameters from the Transfer Characteristic. NMOS Lambda from the Transfer Characteristic. NMOS Gamma SubVI. NMOS Gamma. NMOS Circuit with Body Effect.



Project 5. PMOS Common-Source Amplifier.

SPICE Equations and Pin Diagram. PMOS Common-Source Amplifier DC Setup. Amplifier Gain at One Bias Current. Amplifier Gain versus Bias Current.



Project 6. PMOS Common-Source Amplifier Stage with Current-Source Biasing.

PMOS Schematic and Pin Diagram. SPICE PMOS and Circuit Equations. PMOS Current-Source Amplifier DC Setup. Amplifier Gain. Amplifier Frequency Response.



Project 7. NMOS Common-Source Amplifier Stage with Source-Resistor Bias.

SPICE Equations and Pin Diagram. NMOS Common-Source Amplifier DC Evaluation. Amplifier Gain at Optimum Bias for Linear Output. Optimum Bias Stability Test. Amplifier Frequency Response.



Project 8. NMOS Source Follower Stage.

SPICE Equations and Pin Diagram. Source-Follower DC Evaluation. Source-Follower Voltage Transfer Relation. Source-Follower Voltage Transfer. Relation with Body Effect.



Project 9. MOSFET Differential Amplifier Stage.

SPICE Equations and Pin Diagram. DC Evaluation of the Single-Power-Supply Differential Amplifier. Determination of the PMOS Parameters. Amplifier Gain Measurement. Transistor Parameters and DC Imbalance. Common-Mode Gain Measurement.



Project 10. The Current Mirror and the Common-Source Amplifier with Current-Source Load.

SPICE Equations and Pin Diagram. Evaluation of the Current-Source Circuit. Evaluation of the Mirror-Current Circuit. Evaluation of the Bias Setup. Measurement of Amplifier Gain versus Drain Current.



Project 11. Operational Amplifier with Resistor Feedback.

SPICE Equations. Bias Circuit Setup. Opamp Offset Voltage. Evaluation of the Bias Balancing Circuit. Evaluation of the Gain and Signal Limits with Scanned Input. Evaluation of the Gain with Sine-Wave and Square-Wave Signals. Determination of the Opamp Frequency Response.



Project 12. Operational Amplifier Integrator and Oscillator.

SPICE Equations. Opamp Integrator. Opamp Oscillator.



Project A. Communicating with the Circuit Board Using the DAQ.

Sending and Receiving Voltages with the Sending and Receiving VIs. Sending and Receiving Voltages from the Front Panel. Plotting Measured Samples. Using the Autoranging Voltmeter. Observing the Oscilloscope Output Graph. Discrete Output Voltage from the DAQ. Discrete Input Voltage from the Circuit Board. Using the Simultaneous Sending/Receiving Functions.



Project B. Characterization of the Bipolar Junction Transistor for Circuit Simulation.

SPICE Parameters and Transistor Diagram. SPICE Equations. Diode Connected Transistor Measurements. Measurement of ÙDC versus the Collector Current. BJT Output Characteristic Measurement. Simulation of Output Characteristic Measurement.



Project C1. NPN Common-Emitter Amplifier.

SPICE Equations and Pin Diagram. DC Circuit Setup and Parameter Determination. Amplifier Gain at One Bias Current. Amplifier Gain versus Bias Current. Gain-Measurement Frequency Response.



Project C2. NPN—PNP Common-Emitter Amplifier with Current-Source Load.

SPICE Equations and Pin Diagram. Measurement of the PNP Parameters. DC Circuit Setup. Measurement of the Amplifier Gain.



Index.

Preface

Preface

This book presents a study of analog electronics as a stand-alone course or as a course to be augmented by one of the many complete undergraduate textbooks on the subject. Theory and closely coupled laboratory projects, which are based entirely on computer-based data acquisition, follow in a sequential format. All analytical device characterization formulations are based exactly on SPICE.In addition to traditional curricula in electrical engineering and electronics technology, the course is suitable for the practicing engineer in industry. For the engineer with a general undergraduate electronics background, for example, the course of study can provide an upgrade in basic analog electronics. Under these or similar circumstances, it can be taken as self-paced or with minimum supervision.

Two course sequences are possible, depending on the emphasis desired:

  • For a course that stresses MOSFET characterization and circuits, beginning with Unit 1 and following the sequence is recommended. A brief review of relevant circuit analysis and the most rudimentary basics of electronics are presented initially, with associated projects. The projects include an introduction to LabVIEW programming along with the measurements of basic circuits. The programming aspects are directly relevant to the thrust of the course; they emphasize the measurement of analog electronics circuits. The student is thus provided with a basic understanding of LabVIEW concepts used throughout the projects.
  • If, on the other hand, interest is directed more toward LabVIEW and computer data acquisition, device characterization, and circuit simulation, the appropriate beginning sequence is Units A through C. The associated projects are Project A, Projects B, Project C1, and Project C2. Project A is a programming and measurement exercise that emphasizes and explores the use of LabVIEW DAQ software, the discrete nature of analog-to-digital and digital-to-analog conversions, LabVIEW-based voltmeters with autoranging, ac voltmeters, and simultaneous sending and receiving of waveforms initiated with a function generator. This is followed with projects on transistors and transistor circuits, which are based on the bipolar junction transistor. Although the BJT is losing ground as the most important transistor in electronics (compared to the MOSFET), its inherently more complex behavior provides for a rich array of circuit simulation formulations and design challenges. The projects include the mix of NPN and PNP devices in a single amplifier. The transistors recommended are the complementary pair NTE 186 (2N6288) and NTE 187 (2N62xx). The transistors are rated at 3 A and are therefore almost indestructible. At the much lower current levels of the projects, device heating is negligible, which is important, as all measurements assume that the circuit is at room temperature. Also, high-level model effects are avoided, whereas low-level effects abound.

With both approaches, all the measurement LabVIEW programs are provided. Many of the extraordinary features provided by LabVIEW are included in the programs. The programs therefore may serve additionally as a tutorial in advanced aspects of LabVIEW. The basics of operational amplifiers and their applications are treated in two units and two projects.

The book format consists of one or more units of background material for each laboratory project. A given set of theoretical units and the associated project have a related Mathcad problems file (Problemxx.mcd) and Mathcad exercise file (ExerciseXX.mcd), relating to the theory and project, respectively. The files are also in a pdf format (ProblemXX.pdf, ExerciseXX.pdf). A Mathcad file (ProjectXX.mcd) for evaluating the results of the projects is included with each project. Accompanying each Mathcad project file are SPICE simulator files based on PSPICE. The SPICE models for the simulations use, in each case, the parameters for the devices obtained in laboratory projects. Since the Mathcad projects use the exact SPICE formulations, the results from Mathcad and SPICE are identical in the case of the use of basic simulation levels.

Samples of all of the projects have been completed and are included. These provide for either demonstrations or simulated results without actually running the programs with circuits. The measured data are stored in LabVIEW graphics and can be extracted to obtain data files in the same manner as actually making the measurements. In some cases, the simultaneous taking of data, plotting and curve fitting is simulated. Units 13 and 14 are theoretical only but each has Mathcad problems on the topic of these respective units.

Special features of the lab experience are as follows:

  • The lab projects are based entirely on computer data acquisition using LabVIEW and a National Instruments data acquisition card (DAQ) in the computer for interfacing with the circuit board.
  • Each device category has an associated project for evaluating SPICE parameters in which device model parameters are obtained. Subsequent amplifier projects use the parameters in performance assessment.
  • No external instrumentation is required. The function generator, voltmeters, and oscilloscopes are virtual and provided by LabVIEW and a DAQ card in the computer. The projects on the current-mirror load common-source amplifier and the operational amplifier require an external power supply.
  • Circuits are constructed on a special circuit board. The board is connected to the computer DAQ card through a National Instruments shielded 68-pin cable. The circuit board allows expedient, error-free construction of the circuits, as connector strips for the respective output and input channels and ground are available directly on the board.

Topics included in this course treat many of the most relevant aspects of basic modern analog electronics without straying into peripheral areas. The course essentially streamlines the study of analog electronics. There is not a unit on, for example, feedback per se, but most basic types of feedback are addressed at some point. The role that the device plays in frequency response is omitted. This is consistent with the fact that to a large extent, the intension is that theory and measurements can be connected.

Students of electrical engineering or electronics engineering of today have a vast array of subjects to attempt to master; it is not reasonable to expect them to labor through a classical extensive study of the subject of analog electronics, although some basic knowledge should be required. Specialization can come at a later stage, if desired.

As mentioned, many LabVIEW features are utilized in the projects. To some extent, the goal of demonstrating the extensive array of the capabilities of LabVIEW influences the design of the various projects. This includes sending voltages (including waveforms), receiving voltages (including autoscaling), scanning, graphics, reading data files, writing data files, computations such as extraction of harmonic content of a signal, assembling data in a composite form, along with a host of array manipulation processes and data curve fitting.

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.