PART 1: DESCRIPTION OF THE DIGITAL CONTROL SYSTEM

Size: px
Start display at page:

Download "PART 1: DESCRIPTION OF THE DIGITAL CONTROL SYSTEM"

Transcription

1 ELECTRICAL ENGINEERING TECHNOLOGY PROGRAM EET 433 CONTROL SYSTEMS ANALYSIS AND DESIGN LABORATORY EXPERIENCES INTRODUCTION TO DIGITAL CONTROL PART 1: DESCRIPTION OF THE DIGITAL CONTROL SYSTEM 1. INTRODUCTION This set of experiments deal with the subject of Digital Control. Because of time limitations, the lectures in the EET 433 course do not address this type of control. However, I believe that because its importance in industry, students will benefit from being exposed to its principles. I have designed these experiments with the goal of giving students a basic overview of the subject. These experiences are not a substitute for a formal and thorough learning of the theory behind Digital Control. Albert Lozano, July THE DIGITAL CONTROL SYSTEM The control system that we will be using for these experiences is based on a Basic Stamp module built around a PIC 16C57C microcontroller manufactured by Microchip as seen in the figure below. EET 433 PID Control Part 1 page 1

2 The Basic Stamp module is based interpreting the code rather than compiling it. This means that when running the program, the Basic Stamp module reads each instruction from its memory in an EEPROM, interprets it and performs the instruction. Once it finishes, it moves to the next instruction and so on. Therefore, a large amount of CPU time is used in reading instructions. On the other hand, it has the advantage of being able to use a very simple language, a form of BASIC that is very easy to learn and use. Given that the goal of this course is not on optimizing code and most control systems have relatively large response times (when compared to the time needed to execute an instruction), it makes sense to use it in these experiments to shift the emphasis on the issues related to control systems rather than programming and using microcontrollers. In an industrial setting, the step to take after having built and developed the appropriate code for a given control system to meet certain specifications using the Basic Stamp module would be to migrate it to a single microcontroller (for example the PIC 16C57). This will result in faster execution times and more importantly, will reduce the cost associated to the hardware for the control system. EET 433 PID Control Part 1 page 2

3 For these experiments, students will receive the source code and an explanation of how it works. Their interaction with the software will be limited to changing several parameters (constants) and evaluating how they affect the response of the system. 3.- THE GOAL OF THE DIGITAL CONTROL SYSTEM The goal of the digital control system used in this experiment is to maintain a certain environment at a given temperature. In our case, the environment to control is the temperature inside a film canister. There are two elements inside the film canister: - A resistor will be used to apply heat to the interior of the canister. - A LM34 temperature sensor (the same sensor used in one of the labs in EET 331) will be used to monitor the temperature of the canister. The figure below shows a picture of the environment for which we want to control its temperature. EET 433 PID Control Part 1 page 3

4 Once again, the goal of the system is to maintain a temperature as constant as possible inside the canister even with the presence of external perturbations. We will simulate external perturbations using a small fan as shown below: Controlling temperature is one of the most common requirements in several industrial processes. Industry applications as different as poultry incubators, mixing several molten metals, food processing, cryogenics, etc., rely on systems to measure and evaluate temperature as well as taking the appropriate actions to maintain that temperature in compliance with a set of specifications. 4.- THE ELEMENTS OF THE CONTROL SYSTEM Each one of the modules that make up the digital control system is described in the next sections. Because we will be using the same control system, it is better to leave it built in your breadboard. EET 433 PID Control Part 1 page 4

5 4.1 The Microcontroller Board As mentioned earlier, the core of this control system is a microcontroller board. It has 16 I/O Ports (P0 to P15). Each port can be configured as an input or as an output. The board is powered by 5 Vdc as shown below. BASIC STAMP MODULE PIC 16C57 Vdd Vss Vin RES P0 P1... P14 P15 5 V PB0 Each one of the pins is labeled in the microcontroller board. These names are reproduced in the figure above. Leave the input labeled as Vin not connected. The microcontroller board communicates with the host computer via a serial cable. PB0 is a normally-open pushbutton. When momentarily pressed, it brings the signal RES to ground, causing a reset in the program being executed by the microcontroller. That is, once it is depressed, the microcontroller will start executing the first program line. Build the circuit shown in the figure above. At this point, you don t connect any of the I/O ports. We will connect the appropriate I/O ports to the appropriate circuits as we build each module that will be used in the control system. EET 433 PID Control Part 1 page 5

6 4.2 The Heater Heating the canister is controlled by Port8 of the microcontroller as shown below. When P8 is high, there is enough current through the base of the transistor to saturate it, causing the collector voltage to be very close to zero volts. Therefore, the current flowing through the 47 Ω generates power that is dissipated as heat inside the canister. This situation also causes current flowing through LED1, that serves as an indicator of heat ON. 9V 5 47Ω Heating Resistor inside canister 4 To P Ω 1 220Ω 3 LED1 0 0 When P8 is low the transistor cannot conduct current and therefore there is no current flowing through the heating resistance. In this case, there is no heat being produced inside the canister. When P8 is low, LED1 is also OFF. Notice that because the microcontroller cannot source or sink the current needed to generate the required heat, it is necessary to use a transistor. In this case, the transistor acts like a current amplifier. This approach is very common for the output ports of a microcontroller as it protects them against over current. Question 1: Calculate the power dissipated by the 47 Ω heating resistor. Question 2: What is the power rating Question 3: How can you reconcile the answers in Questions 1 and 2? What do you expect to happen? EET 433 PID Control Part 1 page 6

7 Build this module using the schematic above. Connect the 470 Ω and 220 Ω resistors to Port 8 of the microcontroller board. The 47 Ω heating resistor is located inside the canister. Connect one of the wires from the resistor to the 9 Vdc source and the other wire to the collector of the transistor. The following is the pinout for the NPN transistor. 4.3 Manual heat control During the first experiments, when characterizing the system to control (canister), we will turn the heat ON or OFF manually. This is accomplished by the following module: 5V VCC PB1 To P1 6 10kΩ 0 EET 433 PID Control Part 1 page 7

8 Build the circuit shown above. The 10 kω resistor is connected to Port 1 of the microcontroller (P1). When PB1 is open, there is no current flowing through the resistance and therefore P1 is at zero volts. When PB1 is closed, P1 is directly connected to 5 Volts. This is a widely used circuit to produce digital inputs to the microcontroller. 4.4 The temperature sensor and the Analog-to-Digital converter Temperature is sensed by the LM34 that has a sensitivity of 10 mv/f as you had experienced in the EET 331 laboratory experiences. This temperature sensor is located inside the canister. The color code for the three wires that come out from the canister is: - Red: 5 Vdc - Black: Ground - White: Vout (10 mv/f) Build the circuit shown in the figure below. Connect the three appropriate terminals to ports P3, P4 and P5 of the microcontroller board. RED Temperature sensor inside canister WHITE BLACK The core of this circuit is the ADC 0831 Analog-to-Digital converter. Contrary to the typical A/D converters studied in class, in which the output consists of 8 bits in parallel, the output of this A/D converter is streamed in serial mode through pin 6 (Dout). Although this structure has the drawback of being 8 times slower than a comparable parallel converter, serial A/D converters EET 433 PID Control Part 1 page 8

9 are normally used when using microcontrollers as it only needs one port of the microcontroller. A parallel A/D converter would need to use 8 microcontroller ports. Pin 1 (CS) is a select pin controlled by port P3 and pin 7 (CLK) is the clock signal generated by the microcontroller to synchronize the transfer of bits. As shown in the circuit above, this A/D converter is a differential converter. This means that the voltage that is actually converted is the difference between pins 2 and 3. We will use this fact to extend the dynamic range for our control system. If we assume that the temperature in the canister will not fall below 70 F (or if it is below this temperature, we will constantly apply heat until it reaches 70 F), the voltage that we will convert in the ADC will be the difference between the voltage at the output of the temperature transducer and the equivalent voltage that is 0.7 V. Adjust the potentiometer connected to Pin3 to 0.70 V. If using this circuit in different days, ensure that the voltage in Pin3 is 0.70 V before starting to work. This sets the zero point at 70 F, and the software will add 70 F to the equivalent readout at the output of the converter. Pin 5 (Vref) is used to set the temperature span. Because we do not expect to expect 120 F, we will set the temperature span to 50 F. Adjust the potentiometer connect to Pin5 to 0.50 V. Once again, ensure that the voltage is 0.50 V each day that you will work with this circuit. In summary, the microcontroller will read a digital value that corresponds to the temperature inside the canister. Moreover, the range of temperatures that are considered valid by this control system are from 70 F to 120 F. 4.5 The brushless fan to create disturbances We will create temperature disturbances by connecting directly the brushless fan to 5 Vdc or to 9 Vdc as indicated by the experiment outline. Do not connect the fan at this moment. EET 433 PID Control Part 1 page 9

USER MANUAL FOR THE LM2901 QUAD VOLTAGE COMPARATOR FUNCTIONAL MODULE

USER MANUAL FOR THE LM2901 QUAD VOLTAGE COMPARATOR FUNCTIONAL MODULE USER MANUAL FOR THE LM2901 QUAD VOLTAGE COMPARATOR FUNCTIONAL MODULE LM2901 Quad Voltage Comparator 1 5/18/04 TABLE OF CONTENTS 1. Index of Figures....3 2. Index of Tables. 3 3. Introduction.. 4-5 4. Theory

More information

EEE3410 Microcontroller Applications Department of Electrical Engineering. Lecture 10. Analogue Interfacing. Vocational Training Council, Hong Kong.

EEE3410 Microcontroller Applications Department of Electrical Engineering. Lecture 10. Analogue Interfacing. Vocational Training Council, Hong Kong. Department of Electrical Engineering Lecture 10 Analogue Interfacing 1 In this Lecture. Interface 8051 with the following Input/Output Devices Transducer/Sensors Analogue-to-Digital Conversion (ADC) Digital-to-Analogue

More information

Microprocessors B Lab 4 Spring Motor Control Using Pulse Width Modulation (PWM)

Microprocessors B Lab 4 Spring Motor Control Using Pulse Width Modulation (PWM) Motor Control Using Pulse Width Modulation (PWM) Lab Report Objectives Materials See separate report form located on the course webpage. This form should be completed during the performance of this lab.

More information

Hello, and welcome to the TI Precision Labs video series discussing comparator applications. The comparator s job is to compare two analog input

Hello, and welcome to the TI Precision Labs video series discussing comparator applications. The comparator s job is to compare two analog input Hello, and welcome to the TI Precision Labs video series discussing comparator applications. The comparator s job is to compare two analog input signals and produce a digital or logic level output based

More information

Control System Circuits with Opamps

Control System Circuits with Opamps Control System Circuits with Opamps 27.04.2009 Purpose To introduce opamps, transistors and their usage To apply a control system with analog circuit elements. Difference Amplifier Figure 1 Basic Difference

More information

Embedded Control. Week 3 (7/13/11)

Embedded Control. Week 3 (7/13/11) Embedded Control Week 3 (7/13/11) Week 3 15:00 Lecture Overview of analog signals Digital-to-analog conversion Analog-to-digital conversion 16:00 Lab NXT analog IO Overview of Analog Signals Continuous

More information

Laboratory Experiments in Instrumentation and Control

Laboratory Experiments in Instrumentation and Control Session 9 Laboratory Experiments in Instrumentation and Control Ray Bachnak Texas A&M UniversityCorpus Christi Abstract Most engineering and engineering technology curricula include courses that use laboratory

More information

b b Fig. 1 Transistor symbols

b b Fig. 1 Transistor symbols TRANSISTORS Transistors have three terminals which are referred to as emitter (e), base (b) and collector (c). Fig 1 shows the symbols used for the two types of transistors in common use. c c b b e e npn

More information

HAW-Arduino. Sensors and Arduino F. Schubert HAW - Arduino 1

HAW-Arduino. Sensors and Arduino F. Schubert HAW - Arduino 1 HAW-Arduino Sensors and Arduino 14.10.2010 F. Schubert HAW - Arduino 1 Content of the USB-Stick PDF-File of this script Arduino-software Source-codes Helpful links 14.10.2010 HAW - Arduino 2 Report for

More information

The answer is R= 471 ohms. So we can use a 470 ohm or the next higher one, a 560 ohm.

The answer is R= 471 ohms. So we can use a 470 ohm or the next higher one, a 560 ohm. Introducing Resistors & LED s P a g e 1 Resistors are used to adjust the voltage and current in a circuit. The higher the resistance value, the more electrons it blocks. Thus, higher resistance will lower

More information

SCHEMATIC OF GRAYMARK 808 POWERED BREADBOARD

SCHEMATIC OF GRAYMARK 808 POWERED BREADBOARD SCHEMATIC OF GRAYMARK 808 POWERED BREADBOARD 1a white SW1 white 2a TP1 blue TP2 black blue TP3 TP4 yellow TP5 yellow TP6 4 3 8 7 + D1 D2 D5 D6 C1 R1 TP8 Q1 R3 TP12 2 TP18 U2-0-15V C8 9 C2 + TP15 C5 R12

More information

EET 438a Automatic Control Systems Technology Laboratory 1 Analog Sensor Signal Conditioning

EET 438a Automatic Control Systems Technology Laboratory 1 Analog Sensor Signal Conditioning EET 438a Automatic Control Systems Technology Laboratory 1 Analog Sensor Signal Conditioning Objectives: Use analog OP AMP circuits to scale the output of a sensor to signal levels commonly found in practical

More information

Dedan Kimathi University of technology. Department of Electrical and Electronic Engineering. EEE2406: Instrumentation. Lab 2

Dedan Kimathi University of technology. Department of Electrical and Electronic Engineering. EEE2406: Instrumentation. Lab 2 Dedan Kimathi University of technology Department of Electrical and Electronic Engineering EEE2406: Instrumentation Lab 2 Title: Analogue to Digital Conversion October 2, 2015 1 Analogue to Digital Conversion

More information

ET 438B Sequential Digital Control and Data Acquisition Laboratory 4 Analog Measurement and Digital Control Integration Using LabVIEW

ET 438B Sequential Digital Control and Data Acquisition Laboratory 4 Analog Measurement and Digital Control Integration Using LabVIEW ET 438B Sequential Digital Control and Data Acquisition Laboratory 4 Analog Measurement and Digital Control Integration Using LabVIEW Laboratory Learning Objectives 1. Identify the data acquisition card

More information

ES330 Laboratory Experiment No. 9 Bipolar Differential Amplifier [Reference: Sedra/Smith (Chapter 9; Section 9.2; pp )]

ES330 Laboratory Experiment No. 9 Bipolar Differential Amplifier [Reference: Sedra/Smith (Chapter 9; Section 9.2; pp )] ES330 Laboratory Experiment No. 9 Bipolar Differential Amplifier [Reference: Sedra/Smith (Chapter 9; Section 9.2; pp. 614-627)] Objectives: 1. Explore the operation of a bipolar junction transistor differential

More information

Motor Control Development Kit

Motor Control Development Kit User s Manual, V 1.0, June 2003 Motor Control Development Kit A reference design for low voltage 3-phase AC induction and brushless DC motor control. Microcontrollers Never stop thinking. Revision History:2003-06

More information

Prelab: Introduction and Greenhouse Construction

Prelab: Introduction and Greenhouse Construction Prelab: Introduction and Greenhouse Construction In this lab, you will create a PID control system that will regulate temperature and humidity of a greenhouse-like enclosure. You will learn the concepts

More information

EXPERIMENT 5 CURRENT AND VOLTAGE CHARACTERISTICS OF BJT

EXPERIMENT 5 CURRENT AND VOLTAGE CHARACTERISTICS OF BJT EXPERIMENT 5 CURRENT AND VOLTAGE CHARACTERISTICS OF BJT 1. OBJECTIVES 1.1 To practice how to test NPN and PNP transistors using multimeter. 1.2 To demonstrate the relationship between collector current

More information

Last Time. P and N type semiconductors Diode internals Transistors NPN PNP

Last Time. P and N type semiconductors Diode internals Transistors NPN PNP Last Time P and N type semiconductors Diode internals Transistors NPN PNP Device of the Day... Piezo microphone Device of the Day... Transistor Recap Transistors operate as current amplifiers With the

More information

Lab 2: Common Emitter Design: Part 2

Lab 2: Common Emitter Design: Part 2 Lab 2: Common Emitter Design: Part 2 ELE 344 University of Rhode Island, Kingston, RI 02881-0805, U.S.A. 1 Linearity in High Gain Amplifiers The common emitter amplifier, shown in figure 1, will provide

More information

Concepts to be Covered

Concepts to be Covered Introductory Medical Device Prototyping Analog Circuits Part 2 Semiconductors, http://saliterman.umn.edu/ Department of Biomedical Engineering, University of Minnesota Concepts to be Covered Semiconductors

More information

BASIC Stamp I Application Notes

BASIC Stamp I Application Notes 22: Interfacing a 2-bit ADC BASIC Stamp I Application Notes Introduction. This application note shows how to interface the LTC298 analog-to-digital converter (ADC) to the BASIC Stamp. Background. Many

More information

CYD8945 High Reliability Hall Effect Switch IC

CYD8945 High Reliability Hall Effect Switch IC CYD8945 High Reliability Hall Effect Switch IC The CYD8945 Hall-Effect switch, produced with ultra-high voltage bipolar technology, has been designed specifically for automotive and industrial applications

More information

Outline. Analog/Digital Conversion

Outline. Analog/Digital Conversion Analog/Digital Conversion The real world is analog. Interfacing a microprocessor-based system to real-world devices often requires conversion between the microprocessor s digital representation of values

More information

DS1801 Dual Audio Taper Potentiometer

DS1801 Dual Audio Taper Potentiometer DS1801 Dual Audio Taper Potentiometer www.dalsemi.com FEATURES Ultra-low power consumption Operates from 3V or 5V supplies Two digitally controlled, 65-position potentiometers including mute Logarithmic

More information

Data Conversion and Lab Lab 1 Fall Operational Amplifiers

Data Conversion and Lab Lab 1 Fall Operational Amplifiers Operational Amplifiers Lab Report Objectives Materials See separate report form located on the course webpage. This form should be completed during the performance of this lab. 1) To construct and operate

More information

University of Pittsburgh

University of Pittsburgh University of Pittsburgh Experiment #7 Lab Report Analog-Digital Applications Submission Date: 08/01/2018 Instructors: Dr. Ahmed Dallal Shangqian Gao Submitted By: Nick Haver & Alex Williams Station #2

More information

ME 461 Laboratory #5 Characterization and Control of PMDC Motors

ME 461 Laboratory #5 Characterization and Control of PMDC Motors ME 461 Laboratory #5 Characterization and Control of PMDC Motors Goals: 1. Build an op-amp circuit and use it to scale and shift an analog voltage. 2. Calibrate a tachometer and use it to determine motor

More information

Lecture 4: Basic Electronics. Lecture 4 Brief Introduction to Electronics and the Arduino

Lecture 4: Basic Electronics. Lecture 4 Brief Introduction to Electronics and the Arduino Lecture 4: Basic Electronics Lecture 4 Page: 1 Brief Introduction to Electronics and the Arduino colintan@nus.edu.sg Lecture 4: Basic Electronics Page: 2 Objectives of this Lecture By the end of today

More information

Lab 2: Discrete BJT Op-Amps (Part I)

Lab 2: Discrete BJT Op-Amps (Part I) Lab 2: Discrete BJT Op-Amps (Part I) This is a three-week laboratory. You are required to write only one lab report for all parts of this experiment. 1.0. INTRODUCTION In this lab, we will introduce and

More information

BME/ISE 3512 Bioelectronics. Laboratory Five - Operational Amplifiers

BME/ISE 3512 Bioelectronics. Laboratory Five - Operational Amplifiers BME/ISE 3512 Bioelectronics Laboratory Five - Operational Amplifiers Learning Objectives: Be familiar with the operation of a basic op-amp circuit. Be familiar with the characteristics of both ideal and

More information

Development of a MATLAB Data Acquisition and Control Toolbox for BASIC Stamp Microcontrollers

Development of a MATLAB Data Acquisition and Control Toolbox for BASIC Stamp Microcontrollers Chapter 4 Development of a MATLAB Data Acquisition and Control Toolbox for BASIC Stamp Microcontrollers 4.1. Introduction Data acquisition and control boards, also known as DAC boards, are used in virtually

More information

ECE 363 FINAL (F16) 6 problems for 100 pts Problem #1: Fuel Pump Controller (18 pts)

ECE 363 FINAL (F16) 6 problems for 100 pts Problem #1: Fuel Pump Controller (18 pts) ECE 363 FINAL (F16) NAME: 6 problems for 100 pts Problem #1: Fuel Pump Controller (18 pts) You are asked to design a high-side switch for a remotely operated fuel pump. You decide to use the IRF9520 power

More information

Resistors and voltage. CSE1010 Jeffrey A. Meunier

Resistors and voltage. CSE1010 Jeffrey A. Meunier Resistors and voltage CSE1010 Jeffrey A. Meunier Consider this circuit Consider this circuit 5 Volt power supply Consider this circuit A resistive load Consider this circuit A resistive load (the load

More information

DS1802 Dual Audio Taper Potentiometer With Pushbutton Control

DS1802 Dual Audio Taper Potentiometer With Pushbutton Control www.dalsemi.com FEATURES Ultra-low power consumption Operates from 3V or 5V supplies Two digitally controlled, 65-position potentiometers including mute Logarithmic resistive characteristics (1 db per

More information

INA169 Breakout Board Hookup Guide

INA169 Breakout Board Hookup Guide Page 1 of 10 INA169 Breakout Board Hookup Guide CONTRIBUTORS: SHAWNHYMEL Introduction Have a project where you want to measure the current draw? Need to carefully monitor low current through an LED? The

More information

BME 3512 Bioelectronics Laboratory Five - Operational Amplifiers

BME 3512 Bioelectronics Laboratory Five - Operational Amplifiers BME 351 Bioelectronics Laboratory Five - Operational Amplifiers Learning Objectives: Be familiar with the operation of a basic op-amp circuit. Be familiar with the characteristics of both ideal and real

More information

UNIVERSITI MALAYSIA PERLIS

UNIVERSITI MALAYSIA PERLIS UNIVERSITI MALAYSIA PERLIS ANALOG ELECTRONICS II EKT 214 Semester II (2013/2014) EXPERIMENT # 4 OP-AMP (COMPARATOR BASICS) EXPERIMENT 4 Op-Amp (Comparator Basics) 1. OBJECTIVE: 1.1 To demonstrate the op-amp

More information

MARMARA UNIVERSITY CSE315 DIGITAL DESIGN LABORATORY MANUAL. EXPERIMENT 7: Analog-to-Digital Conversion. Research Assistant Müzeyyen KARAMANOĞLU

MARMARA UNIVERSITY CSE315 DIGITAL DESIGN LABORATORY MANUAL. EXPERIMENT 7: Analog-to-Digital Conversion. Research Assistant Müzeyyen KARAMANOĞLU MARMARA UNIVERSITY CSE315 DIGITAL DESIGN LABORATORY MANUAL EXPERIMENT 7: Analog-to-Digital Conversion Research Assistant Müzeyyen KARAMANOĞLU Electrical&Electronics Engineering Department Marmara University

More information

University of Portland EE 271 Electrical Circuits Laboratory. Experiment: Op Amps

University of Portland EE 271 Electrical Circuits Laboratory. Experiment: Op Amps University of Portland EE 271 Electrical Circuits Laboratory Experiment: Op Amps I. Objective The objective of this experiment is to learn how to use an op amp circuit to prevent loading and to amplify

More information

Lab 2: Blinkie Lab. Objectives. Materials. Theory

Lab 2: Blinkie Lab. Objectives. Materials. Theory Lab 2: Blinkie Lab Objectives This lab introduces the Arduino Uno as students will need to use the Arduino to control their final robot. Students will build a basic circuit on their prototyping board and

More information

A 3-STAGE 5W AUDIO AMPLIFIER

A 3-STAGE 5W AUDIO AMPLIFIER ECE 2201 PRELAB 7x BJT APPLICATIONS A 3-STAGE 5W AUDIO AMPLIFIER UTILIZING NEGATIVE FEEDBACK INTRODUCTION Figure P7-1 shows a simplified schematic of a 3-stage audio amplifier utilizing three BJT amplifier

More information

SCRIPT. Voltage Dividers

SCRIPT. Voltage Dividers SCRIPT Hello friends in our earlier discussion we talked about series resistive circuits, when connected in series, resistors form a "string" in which there is only one path for current. Ohm's law can

More information

Each question is worth 4 points. ST07 One-hour Quiz #2 1 3/20/2007

Each question is worth 4 points. ST07 One-hour Quiz #2 1 3/20/2007 Name: Date: DEPARTMENT OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCE MASSACHUSETTS INSTITUTE OF TECHNOLOGY CAMBRIDGE, MASSACHUSETTS 02139 Spring Term 2007 Quiz 2 6.101 Introductory Analog Electronics

More information

Module 9C: The Voltage Comparator (Application: PWM Control via a Reference Voltage)

Module 9C: The Voltage Comparator (Application: PWM Control via a Reference Voltage) Explore More! Points awarded: Module 9C: The Voltage Comparator (Application: PWM Control via a Reference Voltage) Name: Net ID: Laboratory Outline A voltage comparator considers two voltage waveforms,

More information

// Parts of a Multimeter

// Parts of a Multimeter Using a Multimeter // Parts of a Multimeter Often you will have to use a multimeter for troubleshooting a circuit, testing components, materials or the occasional worksheet. This section will cover how

More information

ECE 2010 Laboratory # 5 J.P.O Rourke

ECE 2010 Laboratory # 5 J.P.O Rourke ECE 21 Laboratory # 5 J.P.O Rourke Prelab: Simulate the circuit used in parts 1 and 2 of the Lab and record the simulated results. Your Prelab is due at the beginning of lab and will be checked off by

More information

INTERNATIONAL JOURNAL OF ELECTRONICS AND COMMUNICATION ENGINEERING & TECHNOLOGY (IJECET)

INTERNATIONAL JOURNAL OF ELECTRONICS AND COMMUNICATION ENGINEERING & TECHNOLOGY (IJECET) INTERNATIONAL JOURNAL OF ELECTRONICS AND COMMUNICATION ENGINEERING & TECHNOLOGY (IJECET) International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976 ISSN 0976 6464(Print)

More information

L9: Analog Building Blocks (OpAmps,, A/D, D/A)

L9: Analog Building Blocks (OpAmps,, A/D, D/A) L9: Analog Building Blocks (OpAmps,, A/D, D/A) Acknowledgement: Dave Wentzloff Introduction to Operational Amplifiers DC Model Typically very high input resistance ~ 300KΩ v id in a v id out High DC gain

More information

Differential Amplifier : input. resistance. Differential amplifiers are widely used in engineering instrumentation

Differential Amplifier : input. resistance. Differential amplifiers are widely used in engineering instrumentation Differential Amplifier : input resistance Differential amplifiers are widely used in engineering instrumentation Differential Amplifier : input resistance v 2 v 1 ir 1 ir 1 2iR 1 R in v 2 i v 1 2R 1 Differential

More information

.dc Vcc Ib 0 50uA 5uA

.dc Vcc Ib 0 50uA 5uA EE 2274 BJT Biasing PreLab: 1. Common Emitter (CE) Transistor Characteristics curve Generate the characteristics curves for a 2N3904 in LTspice by plotting Ic by sweeping Vce over a set of Ib steps. Label

More information

Technical Note. Rb 2

Technical Note. Rb 2 Technical Note 1.Constant Current Source For Fujikura pressure sensor, a constant current source as shown in Fig. 1 is recommended. A reference voltage (Vref), which is generated by zener diode or voltage

More information

νµθωερτψυιοπασδφγηϕκλζξχϖβνµθωερτ ψυιοπασδφγηϕκλζξχϖβνµθωερτψυιοπα σδφγηϕκλζξχϖβνµθωερτψυιοπασδφγηϕκ χϖβνµθωερτψυιοπασδφγηϕκλζξχϖβνµθ

νµθωερτψυιοπασδφγηϕκλζξχϖβνµθωερτ ψυιοπασδφγηϕκλζξχϖβνµθωερτψυιοπα σδφγηϕκλζξχϖβνµθωερτψυιοπασδφγηϕκ χϖβνµθωερτψυιοπασδφγηϕκλζξχϖβνµθ θωερτψυιοπασδφγηϕκλζξχϖβνµθωερτψ υιοπασδφγηϕκλζξχϖβνµθωερτψυιοπασδ φγηϕκλζξχϖβνµθωερτψυιοπασδφγηϕκλζ ξχϖβνµθωερτψυιοπασδφγηϕκλζξχϖβνµ EE 331 Design Project Final Report θωερτψυιοπασδφγηϕκλζξχϖβνµθωερτψ

More information

CENG4480 Embedded System Development and Applications The Chinese University of Hong Kong Laboratory 1: Op Amp (I)

CENG4480 Embedded System Development and Applications The Chinese University of Hong Kong Laboratory 1: Op Amp (I) CENG4480 Embedded System Development and Applications The Chinese University of Hong Kong Laboratory 1: Op Amp (I) Student ID: 2018 Fall 1 Introduction This lab session introduces some very basic concepts

More information

Training Schedule. Robotic System Design using Arduino Platform

Training Schedule. Robotic System Design using Arduino Platform Training Schedule Robotic System Design using Arduino Platform Session - 1 Embedded System Design Basics : Scope : To introduce Embedded Systems hardware design fundamentals to students. Processor Selection

More information

Lab 8: SWITCHED CAPACITOR CIRCUITS

Lab 8: SWITCHED CAPACITOR CIRCUITS ANALOG & TELECOMMUNICATION ELECTRONICS LABORATORY EXERCISE 8 Lab 8: SWITCHED CAPACITOR CIRCUITS Goal The goals of this experiment are: - Verify the operation of basic switched capacitor cells, - Measure

More information

Autonomous Robot Control Circuit

Autonomous Robot Control Circuit Autonomous Robot Control Circuit - Theory of Operation - Written by: Colin Mantay Revision 1.07-06-04 Copyright 2004 by Colin Mantay No part of this document may be copied, reproduced, stored electronically,

More information

Lecture Week 5. Quiz #2 Ohm s Law Homework Power Review Shorthand Notation Active Components Ideal Op-amps

Lecture Week 5. Quiz #2 Ohm s Law Homework Power Review Shorthand Notation Active Components Ideal Op-amps Lecture Week 5 Quiz #2 Ohm s Law Homework Power Review Shorthand Notation Active Components Ideal Op-amps Quiz 2 Ohm s Law (20 pts.) Please clear desks and turn off phones and put them in back packs You

More information

ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab

ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab The purpose of this lab is to learn about sensors and use the ADC module to digitize the sensor signals. You will use the digitized signals

More information

= V IN. and V CE. = the supply voltage 0.7 V, the transistor is on, V BE. = 0.7 V and V CE. until saturation is reached.

= V IN. and V CE. = the supply voltage 0.7 V, the transistor is on, V BE. = 0.7 V and V CE. until saturation is reached. Switching Circuits Learners should be able to: (a) describe and analyse the operation and use of n-channel enhancement mode MOSFETs and npn transistors in switching circuits, including those which interface

More information

ML ML Bit A/D Converters With Serial Interface

ML ML Bit A/D Converters With Serial Interface Silicon-Gate CMOS SEMICONDUCTOR TECHNICAL DATA ML145040 ML145041 8-Bit A/D Converters With Serial Interface Legacy Device: Motorola MC145040, MC145041 The ML145040 and ML145041 are low-cost 8-bit A/D Converters

More information

Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN)

Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN) Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN) 217-3367 Ordering Information Product Number Description 217-3367 Stellaris Brushed DC Motor Control Module with CAN (217-3367)

More information

TRAC020LH TOTALLY RE-CONFIGURABLE ANALOG CIRCUIT - TRAC. Issue 2 - MARCH 1999

TRAC020LH TOTALLY RE-CONFIGURABLE ANALOG CIRCUIT - TRAC. Issue 2 - MARCH 1999 TOTALLY RE-CONFIGURABLE ANALOG CIRCUIT - TRAC Issue 2 - MARCH 1999 TRAC2LH DEVICE DESCRIPTION The TRAC2LH is a Micro-Power version of the existing TRAC products. It also offers significant improvements

More information

FDDI on Copper with AMD PHY Components

FDDI on Copper with AMD PHY Components Advanced Micro Devices FDDI on Copper with AMD PHY Components by Eugen Gershon Publication # Rev. Amendment Issue Date 15923 A /0 6/91 1991 Advanced Micro Devices, Inc. by Eugen Gershon INTRODUCTION This

More information

Isolated Industrial Current Loop Using the IL300 Linear Optocoupler Appnote 54

Isolated Industrial Current Loop Using the IL300 Linear Optocoupler Appnote 54 Isolated Industrial Current Loop Using the IL Linear Optocoupler by Bob Krause Introduction Programmable Logic Controllers (PLC) were once only found in large manufacturing firms but now are used in small

More information

Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K.

Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K. Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K. Roberts Page 1 See Appendix A, for Licensing Attribution information

More information

Laboratory 3 W. Liu, by A. Shakouri and K. Pedrotti. Introduction to Bipolar Junction Transistors

Laboratory 3 W. Liu, by A. Shakouri and K. Pedrotti. Introduction to Bipolar Junction Transistors University of California at Santa Cruz Jack Baskin School of Engineering EE-171L: Analog Electronics Lab Laboratory 3 W. Liu, by A. Shakouri and K. Pedrotti Name: Partner: Introduction to Bipolar Junction

More information

Logic Families. Describes Process used to implement devices Input and output structure of the device. Four general categories.

Logic Families. Describes Process used to implement devices Input and output structure of the device. Four general categories. Logic Families Characterizing Digital ICs Digital ICs characterized several ways Circuit Complexity Gives measure of number of transistors or gates Within single package Four general categories SSI - Small

More information

OP5340-1/OP USER GUIDE

OP5340-1/OP USER GUIDE OP5340-1/OP5340-2 USER GUIDE Analog to Digital Converter Module www.opal-rt.com Published by OPAL-RT Technologies, Inc. 1751 Richardson, suite 2525 Montréal (Québec) Canada H3K 1G6 www.opal-rt.com 2014

More information

8-Bit A/D Converter AD673 REV. A FUNCTIONAL BLOCK DIAGRAM

8-Bit A/D Converter AD673 REV. A FUNCTIONAL BLOCK DIAGRAM a FEATURES Complete 8-Bit A/D Converter with Reference, Clock and Comparator 30 s Maximum Conversion Time Full 8- or 16-Bit Microprocessor Bus Interface Unipolar and Bipolar Inputs No Missing Codes Over

More information

DS1267B Dual Digital Potentiometer

DS1267B Dual Digital Potentiometer Dual Digital Potentiometer FEATURES Two digitally controlled, 256-position potentiometers Serial port provides means for setting and reading both potentiometers Resistors can be connected in series to

More information

Figure 1: Basic Relationships for a Comparator. For example: Figure 2: Example of Basic Relationships for a Comparator

Figure 1: Basic Relationships for a Comparator. For example: Figure 2: Example of Basic Relationships for a Comparator Cornerstone Electronics Technology and Robotics I Week 16 Voltage Comparators Administration: o Prayer Robot Building for Beginners, Chapter 15, Voltage Comparators: o Review of Sandwich s Circuit: To

More information

Fig 1: The symbol for a comparator

Fig 1: The symbol for a comparator INTRODUCTION A comparator is a device that compares two voltages or currents and switches its output to indicate which is larger. They are commonly used in devices such as They are commonly used in devices

More information

DS1868B Dual Digital Potentiometer

DS1868B Dual Digital Potentiometer www. maximintegrated.com FEATURES Two digitally controlled, 256-position potentiometers Serial port provides means for setting and reading both potentiometers Resistors can be connected in series to provide

More information

University of Michigan EECS 311: Electronic Circuits Fall 2009 LAB 2 NON IDEAL OPAMPS

University of Michigan EECS 311: Electronic Circuits Fall 2009 LAB 2 NON IDEAL OPAMPS University of Michigan EECS 311: Electronic Circuits Fall 2009 LAB 2 NON IDEAL OPAMPS Issued 10/5/2008 Pre Lab Completed 10/12/2008 Lab Due in Lecture 10/21/2008 Introduction In this lab you will characterize

More information

LABORATORY 5 v3 OPERATIONAL AMPLIFIER

LABORATORY 5 v3 OPERATIONAL AMPLIFIER University of California Berkeley Department of Electrical Engineering and Computer Sciences EECS 100, Professor Bernhard Boser LABORATORY 5 v3 OPERATIONAL AMPLIFIER Integrated operational amplifiers opamps

More information

EE223 Laboratory #4. Comparators

EE223 Laboratory #4. Comparators EE223 Laboratory #4 Comparators Objectives 1) Learn how to design using comparators 2) Learn how to breadboard circuits incorporating integrated circuits (ICs) 3) Learn how to obtain and read IC datasheets

More information

ECE 203 LAB 6: INVERTED PENDULUM

ECE 203 LAB 6: INVERTED PENDULUM Version 1.1 1 of 15 BEFORE YOU BEGIN EXPECTED KNOWLEDGE Basic Circuit Analysis EQUIPMENT AFG Oscilloscope Programmable Power Supply MATERIALS Three 741 Opamps TIP41 NPN power transistor TIP42 PNP power

More information

Learning Objectives:

Learning Objectives: Learning Objectives: At the end of this topic you will be able to; Analyse and design a DAC based on an op-amp summing amplifier to meet a given specification. 1 Digital and Analogue Information Module

More information

Laboration: AD-conversion and the Thevenin theorem.

Laboration: AD-conversion and the Thevenin theorem. Laboration: AD-conversion and the Thevenin theorem. Embedded Electronics IE1206 Attention! To access the laboratory experiment you must have: completed your personal knowledge control on the Web (Web-quiz).

More information

Experiment #8: Designing and Measuring a Common-Collector Amplifier

Experiment #8: Designing and Measuring a Common-Collector Amplifier SCHOOL OF ENGINEERING AND APPLIED SCIENCE DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING ECE 2115: ENGINEERING ELECTRONICS LABORATORY Experiment #8: Designing and Measuring a Common-Collector Amplifier

More information

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs 10-11 Introduction to Arduino In this lab we will introduce the idea of using a microcontroller as a tool for controlling

More information

Tel: Fax:

Tel: Fax: B Tel: 78.39.4700 Fax: 78.46.33 SPECIFICATIONS (T A = +5 C, V+ = +5 V, V = V or 5 V, all voltages measured with respect to digital common, unless otherwise noted) AD57J AD57K AD57S Model Min Typ Max Min

More information

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016 Analog I/O ECE 153B Sensor & Peripheral Interface Design Introduction Anytime we need to monitor or control analog signals with a digital system, we require analogto-digital (ADC) and digital-to-analog

More information

Lab Exercise # 9 Operational Amplifier Circuits

Lab Exercise # 9 Operational Amplifier Circuits Objectives: THEORY Lab Exercise # 9 Operational Amplifier Circuits 1. To understand how to use multiple power supplies in a circuit. 2. To understand the distinction between signals and power. 3. To understand

More information

Laboratory 8 Operational Amplifiers and Analog Computers

Laboratory 8 Operational Amplifiers and Analog Computers Laboratory 8 Operational Amplifiers and Analog Computers Introduction Laboratory 8 page 1 of 6 Parts List LM324 dual op amp Various resistors and caps Pushbutton switch (SPST, NO) In this lab, you will

More information

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter EE283 Electrical Measurement Laboratory Laboratory Exercise #7: al Counter Objectives: 1. To familiarize students with sequential digital circuits. 2. To show how digital devices can be used for measurement

More information

Experiment 8: Semiconductor Devices

Experiment 8: Semiconductor Devices Name/NetID: Experiment 8: Semiconductor Devices Laboratory Outline In today s experiment you will be learning to use the basic building blocks that drove the ability to miniaturize circuits to the point

More information

Practical 2P12 Semiconductor Devices

Practical 2P12 Semiconductor Devices Practical 2P12 Semiconductor Devices What you should learn from this practical Science This practical illustrates some points from the lecture courses on Semiconductor Materials and Semiconductor Devices

More information

Introduction to the Op-Amp

Introduction to the Op-Amp Purpose: ENGR 210/EEAP 240 Lab 5 Introduction to the Op-Amp To become familiar with the operational amplifier (OP AMP), and gain experience using this device in electric circuits. Equipment Required: HP

More information

Section 2 Lab Experiments

Section 2 Lab Experiments Section 2 Lab Experiments Section Overview This set of labs is provided as a means of learning and applying mechanical engineering concepts as taught in the mechanical engineering orientation course at

More information

L10: Analog Building Blocks (OpAmps,, A/D, D/A)

L10: Analog Building Blocks (OpAmps,, A/D, D/A) L10: Analog Building Blocks (OpAmps,, A/D, D/A) Acknowledgement: Materials in this lecture are courtesy of the following sources and are used with permission. Dave Wentzloff 1 Introduction to Operational

More information

Bend Sensor Technology Electronic Interface Design Guide

Bend Sensor Technology Electronic Interface Design Guide Technology Electronic Interface Design Guide Copyright 2015 Flexpoint Sensor Systems Page 1 of 15 www.flexpoint.com Contents Page Description.... 3 Voltage Divider... 4 Adjustable Buffers.. 5 LED Display

More information

Activity P56: Transistor Lab 2 Current Gain: The NPN Emitter-Follower Amplifier (Power Output, Voltage Sensor)

Activity P56: Transistor Lab 2 Current Gain: The NPN Emitter-Follower Amplifier (Power Output, Voltage Sensor) Activity P56: Transistor Lab 2 Current Gain: The NPN Emitter-Follower Amplifier (Power Output, Voltage Sensor) Concept DataStudio ScienceWorkshop (Mac) ScienceWorkshop (Win) Semiconductors P56 Emitter

More information

ME218a Midterm Exam Due by 4pm on 10/25/96. I Certify that I have taken this examination in compliance with the Stanford University Honor Code.

ME218a Midterm Exam Due by 4pm on 10/25/96. I Certify that I have taken this examination in compliance with the Stanford University Honor Code. ME218a Midterm Exam Due by 4pm on 10/25/96 Name: I Certify that I have taken this examination in compliance with the Stanford University Honor Code. Sign Here Include this as the cover sheet for you solutions

More information

EE 330 Laboratory 8 Discrete Semiconductor Amplifiers

EE 330 Laboratory 8 Discrete Semiconductor Amplifiers EE 330 Laboratory 8 Discrete Semiconductor Amplifiers Fall 2017 Contents Objective:... 2 Discussion:... 2 Components Needed:... 2 Part 1 Voltage Controlled Amplifier... 2 Part 2 Common Source Amplifier...

More information

Appendix C, Paper 3 C-17

Appendix C, Paper 3 C-17 Appendix C, Paper 3 C-17 C-18 C-19 C-20 C-21 C-22 C-23 C-24 C-25 C-26 Appendix D USER S MANUAL SEMITEACH Based Converter System for Electrical Machines Jawwad Zafar Copyright 2010 by the Université Libre

More information

Well we know that the battery Vcc must be 9V, so that is taken care of.

Well we know that the battery Vcc must be 9V, so that is taken care of. HW 4 For the following problems assume a 9Volt battery available. 1. (50 points, BJT CE design) a) Design a common emitter amplifier using a 2N3904 transistor for a voltage gain of Av=-10 with the collector

More information

I2C Demonstration Board I 2 C-bus Protocol

I2C Demonstration Board I 2 C-bus Protocol I2C 2005-1 Demonstration Board I 2 C-bus Protocol Oct, 2006 I 2 C Introduction I ² C-bus = Inter-Integrated Circuit bus Bus developed by Philips in the early 80s Simple bi-directional 2-wire bus: serial

More information

ECE 454 Homework #1 Due 11/28/2018 This Wednesday In Lab

ECE 454 Homework #1 Due 11/28/2018 This Wednesday In Lab ECE 454 Homework #1 Due 11/28/2018 This Wednesday In Lab Design the Darlington push-pull amplifier specified in Lab 1: You will build this amplifier for Lab 1 so use parts that are available in the lab.

More information