Experiment 6 -- Digital Switching

Slides:



Advertisements
Similar presentations
Differential Amplifiers and Integrated Circuit (IC) Amplifiers
Advertisements

Chapter 7 Operational-Amplifier and its Applications
CHAPTER 3: SPECIAL PURPOSE OP-AMP CIRCUITS
Electronic Devices Eighth Edition Floyd Chapter 4.
Describe and analyze the operation of several types of comparator circuits. Describe and analyze the operation of several types of summing amplifiers.
Revision analog electronics
TRANSISTOR. TRANSISTOR Background and Introduction A semiconductor device that Amplifies, Oscillates, or Switches the flow of current between two terminals.
Transistors These are three terminal devices, where the current or voltage at one terminal, the input terminal, controls the flow of current between the.
* Operational Amplifiers * Op-Amp Circuits * Op-Amp Analysis
Comparator circuits An ideal comparator compares two input voltages and produces a logic output signal whose value (high or low) depends on which of the.
Transistor. BJT Transistors: NPN Transistor PNP Transistor Sandwiching a P-type layer between two n- type layers. Sandwiching a N-type layer between.
10/11/2004EE 42 fall 2004 lecture 181 Lecture #18 Summary of ideal devices, amplifier examples Reminder: MIDTERM coming up one week from today (Monday.
Department of Information Engineering286 Transistor 3-layers device –npn (more common) –pnp (less common) N P N e b c P N P e b c.
Department of Information Engineering357 Operation amplifier The tail, large impedance gives high CMRR Mirror as active load. High gain Follower as buffer.
Experiment 10 Comparators and Schmitt Triggers
Chapter 1 Quick review over Electronics and Electric Components Prepared By : Elec Solv.
TIMERS.
Content Op-amp Application Introduction Inverting Amplifier
Chapter 8 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Semiconductor circuit elements and dependent sources
Principles & Applications
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 21.1 Bipolar Transistors  Introduction  An Overview of Bipolar Transistors.
10/6/2004EE 42 fall 2004 lecture 161 Lecture #16 Bipolar transistors Reading: transistors Bipolar: chapter 6 MOS: chapter 14.
ECA1212 Introduction to Electrical & Electronics Engineering Chapter 5: Bipolar Junction Transistor by Muhazam Mustapha, October 2011.
09/16/2010© 2010 NTUST Today Course overview and information.
Black Box Electronics An Introduction to Applied Electronics for Physicists 2. Analog Electronics: BJTs to opamps University of Toronto Quantum Optics.
Kit Building Class Lesson 7Page 1 The JFET The Junction Field Effect Transistor is another type of transistor, which can be used in the same kinds of circuits.
Transistors Three-terminal devices with three doped silicon regions and two P-N junctions versus a diode with two doped regions and one P-N junction Two.
Chapter 6. Bipolar Junction Transistors (BJTs). Bipolar Junction Transistor Three terminal device Voltage between two terminals to control current flow.
Chapter 2 Operational Amplifier Circuits
Chapter 8 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Principles & Applications
General Licensing Class Oscillators & Components Your organization and dates here.
Bipolar Junction Transistors (BJTs) The bipolar junction transistor is a semiconductor device constructed with three doped regions. These regions essentially.
© 2013 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill 5-1 Electronics Principles & Applications Eighth Edition Chapter 5 Transistors.
10/11/2015 Operational Amplifier Characterization Chapter 3.
BJTs. Transistor The transistor is the main building block “element” of electronics. A transistor is a semiconductor device used to amplify and switch.
Dynamic Presentation of Key Concepts Module 5 – Part 1 Fundamentals of Operational Amplifiers Filename: DPKC_Mod05_Part01.ppt.
PHY 202 (Blum)1 Analog-to-Digital Converter and Multi-vibrators.
1 Fundamentals of Microelectronics  CH1 Why Microelectronics?  CH2 Basic Physics of Semiconductors  CH3 Diode Circuits  CH4 Physics of Bipolar Transistors.
Electronic Principles 7th Edition Albert Malvino & David J Bates
Fundamentals of Electric Circuits Chapter 5 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 1 Introduction to Electronics
Transistor.
McGraw-Hill 5-1 © 2013 The McGraw-Hill Companies, Inc. All rights reserved. Electronics Principles & Applications Eighth Edition Chapter 5 Transistors.
Chapter 4 Bipolar Junction Transistors
Electronic. Analog Vs. Digital Analog –Continuous –Can take on any values in a given range –Very susceptible to noise Digital –Discrete –Can only take.
Chapter 3 – Transistor Amplifiers – Part 2 Special Amplifiers 1.Difference Amplifier 2.Complementary Symmetry 3.Cascading.
1 Chapter 8 Operational Amplifier as A Black Box  8.1 General Considerations  8.2 Op-Amp-Based Circuits  8.3 Nonlinear Functions  8.4 Op-Amp Nonidealities.
Introduction Semiconductors are materials whose electrical properties lie between Conductors and Insulators. Ex : Silicon and Germanium.
NAME: NIDHI PARMAR ENR.NO.: GUIDED BY: RICHA TRIPATHI.
COURSE NAME: SEMICONDUCTORS Course Code: PHYS 473 Week No. 8.
Op-amp Comparators part I of 3
Bipolar Junction Transistors Working Principle and Applications.
Electronics SL – Option C.3 HL – Option F.5. Operational Amplifier An amplifier is a device that takes a signal and makes its bigger. – An mp3 player.
Chapter 4 Bipolar junction transistor Ir. Dr. Rosemizi Abd Rahim 1 Ref: Electronic Devices and Circuit Theory, 10/e, Robert L. Boylestad and Louis Nashelsky.
Transistors Student Lecture by: Giangiacomo Groppi Joel Cassell
Transistor.
Different Types of Transistors and Their Functions
Chapter 4 Bipolar Junction Transistor
HASMUKH GOSWAMI COLLAGE OF
Intro to Engineering Electronics
Electronics Fundamentals
Digital Computer Electronics TTL
Intro to Engineering Electronics
Chapter 1 Introduction to Electronics
Chapter 3 – Transistor Amplifiers – Part 2
Chapter 4 Bipolar Junction Transistor
BIPOLAR JUNCTION TRANSISTOR (BJT)
Presentation transcript:

Experiment 6 -- Digital Switching Part A: Transistor Switches Part B: Comparators and Schmitt Triggers Part C: Digital Switching Part D: Switching a Relay

Part A: Transistors Analog Circuits vs. Digital Circuits Bipolar Junction Transistors Transistor Characteristics Using Transistors as Switches

Analog Circuits vs. Digital Circuits An analog signal is an electric signal whose value varies continuously over time. A digital signal can take on only finite values as the input varies over time.

A binary signal, the most common digital signal, is a signal that can take only one of two discrete values and is therefore characterized by transitions between two states. In binary arithmetic, the two discrete values f1 and f0 are represented by the numbers 1 and 0, respectively.

In binary voltage waveforms, these values are represented by two voltage levels. In TTL convention, these values are nominally 5V and 0V, respectively. Note that in a binary waveform, knowledge of the transition between one state and another is equivalent to knowledge of the state. Thus, digital logic circuits can operate by detecting transitions between voltage levels. The transitions are called edges and can be positive (f0 to f1) or negative (f1 to f0).

Bipolar Junction Transistors The bipolar junction transistor (BJT) is the salient invention that led to the electronic age, integrated circuits, and ultimately the entire digital world. The transistor is the principal active device in electrical circuits. When inputs are kept relatively small, the transistor serves as an amplifier. When the transistor is overdriven, it acts as a switch, a mode most useful in digital electronics.

B There are two types of BJTs, npn and pnp, and the three layers are called collector (C), base (B), and emitter (E). npn transistor E C All current directions are reversed from the npn-type to the pnp-type. A BJT consists of three adjacent regions of doped silicon, each of which is connected to an external lead. The base, a very thin slice of one type, is sandwiched by the complementary pair of the other type, hence the name bipolar.

FET, Field Effect Transistors, are another type of transistor FET, Field Effect Transistors, are another type of transistor. They are the basis of most logic, memory and microprocessor chips. Applying a gate voltage that exceeds the threshold voltage opens up the channel between the source and the drain This is from an excellent collection of java applets at SUNY Buffalo http://jas.eng.buffalo.edu/

Note: The npn-type is the more popular; it is faster and costs less. pnp and npn transistors Note: The npn-type is the more popular; it is faster and costs less. VCE > 0 VBE > 0 VCE < 0 VBE < 0 pnp BJT npn BJT Apply voltage LOW to base to turn ON Apply voltage HIGH to base to turn ON

Characteristics of Transistors Cutoff Region Not enough voltage at B for the diode to turn on. No current flows from C to E and the voltage at C is Vcc. Saturation Region The voltage at B exceeds 0.7 volts, the diode turns on and the maximum amount of current flows from C to E. The voltage drop from C to E in this region is about 0.2V but we often assume it is zero in this class. Active Region As voltage at B increases, the diode begins to turn on and small amounts of current start to flow through into the doped region. A larger current proportional to IB, flows from C to E. As the diode goes from the cutoff region to the saturation region, the voltage from C to E gradually decreases from Vcc to 0.2V.

Diode Model of the npn BJT The diode is controlled by the voltage at B. When the diode is completely on, the switch is closed. This is the saturation region. When the diode is completely off, the switch is open. This is the cutoff region. When the diode is in between we are in the active region.

npn Common Emitter Characteristics IC = βIB VBE = 0.7 V VBE < 0.6 V

Switch Model of the npn BJT Controls transistor Circuit that is switched Switch Remove the part of the circuit that controls the switch and consider two possible cases:

Using the transistor as a switch

Building logic gates with transistors Input Output 1

Part B: Comparators and Schmitt Triggers Op-Amp Comparators Model of a Schmitt Trigger

Comparators and Schmitt Triggers In this section we will use op-amps to create binary signals. Comparators are the simplest way to create a binary signal with an op amp. They take advantage of the very high gain of the chip to force it to saturate either high (VS+) or low (VS-) creating two (binary) states. Schmitt Triggers are a modified version of a comparator which uses a voltage divider to improve the performance of the comparator in the presence of noise.

Op-Amp Comparators The prototype of op-amp switching circuits is the op-amp comparator. The circuit does not employ feedback.

Consider the following. Because of the large gain that characterizes open-loop performance of the op-amp (A > 105), any small difference between the input voltages will cause large outputs; the op-amp will go into saturation at either extreme, according the voltage supply values and the polarity of the voltage difference. One can take advantage of this property to generate switching waveforms. Consider the following. Non-inverting Op-Amp Comparator

The comparator is perhaps the simplest form of an analog-to-digital converter, i.e., a circuit that converts a continuous waveform to discrete values. The comparator output consists of only two discrete levels. Input and Output of Non-Inverting Comparator Vsat = ± 13.5 volts V = 1 volt

It is possible to construct an inverting comparator by connecting the non-inverting terminal to ground and connecting the input to the inverting terminal. Input and Output of Inverting Comparator

Comparator with Offset A simple modification of the comparator circuit consists of connecting a fixed reference voltage to one of the input terminals; the effect of the reference voltage is to raise or lower the voltage level at which the comparator will switch from one extreme to the other.

Below is the waveform of a comparator with a reference voltage of 0 Below is the waveform of a comparator with a reference voltage of 0.6 V and an input voltage of sin(ωt). Note that the comparator output is no longer a symmetric square wave.

Another useful interpretation of the op-amp comparator can be obtained by considering its input-output transfer characteristic. Non-Inverting Zero-Reference (no offset) Comparator often called a zero-crossing comparator

Shown below is the transfer characteristic for a comparator of the inverting type with a nonzero reference voltage.

Comparator Response to Noisy Inputs Note how the output swings between high and low.

Schmitt Trigger Model One very effective way of improving the performance of the comparator is by introducing positive feedback. Positive feedback can increase the switching speed of the comparator and provide noise immunity at the same time. The voltage range over which the signal does not switch is called the hysteresis (In this case, h=2d) Can you explain how this works?

In effect, the Schmitt trigger provides a noise rejection range equal to ± Vsat [R2 / (R2 + R1)] within which the comparator cannot switch. Thus if the noise amplitude is contained within this range, the Schmitt trigger will prevent multiple triggering.

If it is desired to switch about a voltage other than zero, a reference voltage can also be connected to the non-inverting terminal. In this case, d+ is not equal to d-, and the hysteresis is given by h=d+ + d- Switching levels for the Schmitt Trigger are: positive-going transition negative-going transition

How to determine switching levels We are always comparing the input to the voltage at v+ Example: If vref=1V and Vsat=15V or -15V, then

Part C: Digital Switching Digital Chips Inverting Digital Chips Simulating Noise Using Inverters to control a transistor

Digital Chips Digital Chips generally have 14 or 16 pins Digital Chips typically have many gates in a single chip The upper right hand corner must be tied to the source voltage (5V) The lower left hand corner must be grounded.

Inverting Digital Chips The Schmitt trigger inverter chip is a digital chip that converts analog to digital signals. The inverter inverts a digital signal. It operates much like an inverting comparator. The operating range of both chips is 0V to 5V They both output either HIGH or LOW.

Simulating Noise Two voltage sources together can be used to simulate a signal with noise in PSpice.

Using Inverters to control a Transistor Two identical circuits in parallel. One uses a Schmitt trigger inverter and the other an inverter. (If you copy and paste, components cannot have identical names.)

Part D: Switching a Relay Relays Relay Switching Circuit

Relays Relays are electromechanical switches Relays contain an electromagnet NO: Current on  switch is pulled towards inductor NC: Current off  switch returns to normal position A relay looks like a black box with 5 connections

Relay Circuit DC voltage source is used to control a Schmitt trigger. Schmitt trigger switches a transistor. Transistor switches relay. It clicks. Observe output at indicated points. Then swap in an inverter and listen to the difference.