CSE 370 - Fall 1999 - Introduction - 1 Electronics and Physical Interfaces  Speaker Interface  Electronics Review  8051 I/O.

Slides:



Advertisements
Similar presentations
Alternating Current Circuits
Advertisements

The uA741 Operational Amplifier
Chapter 7 Operational-Amplifier and its Applications
Common Emitter Amplifier. Design Rules V RE should be > 100 mV.
EC 2208 – Electronic Circuits Lab 1
Analog-to-Digital Converter (ADC) And
Lock-in amplifiers Signals and noise Frequency dependence of noise Low frequency ~ 1 / f –example: temperature (0.1 Hz), pressure.
Mark Neil - Microprocessor Course 1 Digital to Analog Converters.
Modifications to the Basic Transistor Model
CSE466 Autumn ‘00- 1 System Functional Requirements  Children’s toy…comes with PC software. Child plays notes on the screen and the device makes corresponding.
Revision: Power Amplifiers Basic Principles Operating modes of amplifiers Power dissipation and thermal effects Design/Analysis Class A, B, AB amplifiers.
Lesson 19 Impedance. Learning Objectives For purely resistive, inductive and capacitive elements define the voltage and current phase differences. Define.
Astable multivibrators I
Low Noise Amplifier. DSB/SC-AM Modulation (Review)
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lab 4P. 1Winter Quarter Analog Electronics Lab 4.
Lock-in amplifiers
Electronic Troubleshooting Chapter 9 Regulated Power Supplies.
Analog IC Design First – A OPAMP Design Example. Date: 15th NOV, 2007 報告人:何建興.
Electronics Involves the use of devices and circuits to control the flow of electric current to achieve some purpose. These circuits contain: Resistors,
CHAPTER 18 Power Supplies. Objectives Describe and Analyze: Power Supply Systems Regulation Buck & Boost Regulators Flyback Regulators Off-Line Power.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lab 3P. 1Winter Quarter Analog Electronics Lab.
Oscillator Foundations of Technology Oscillator © 2013 International Technology and Engineering Educators Association, STEM  Center for Teaching and Learning™
CHAPTER 5 Transistor Circuits.
Chapter 5 Transistor Bias Circuits
CSE466 Autumn ‘00- 1 Review and Lab Prep  hotmail account on mailing list doesn’t work.
Chapter 1 Introduction to Electronics
Operational Amplifiers The operational amplifier, also know as an op amp, is essentially a voltage amplifier with an extremely high voltage gain. One of.
Chapter 5 Transistor Bias Circuits
CSE Fall Introduction - 1 What’s Inside the Buffer? IhIh IlIl Write Reg This device always “drives” either high or low. Current is a function.
1 13. Pulsed waveforms and Timing Circuit Design 13.1Op. Amp. Pulse GeneratorsOp. Amp. Pulse Generators timer IC Oscillator555 timer IC Oscillator.
Objective: 1.You will build a simple circuit - two transistor audio oscillator that will generate an audio tone in a speaker.
Mark Neil - Microprocessor Course 1 Digital to Analog Converters.
EE301 Phasors, Complex Numbers, And Impedance. Learning Objectives Define a phasor and use phasors to represent sinusoidal voltages and currents Determine.
Audio Power Amplifier Detailed Design
UNIT III DC Choppers.
Introduction to Digital Electronics
Recall Last Lecture Biasing of BJT Applications of BJT
What is a DAC? A digital to analog converter (DAC) converts a digital signal to an analog voltage or current output DAC.
Purpose of This Minilab
Chapter 1 Introduction to Electronics
Dept. of ECE, Univ. of Houston
Electronic Devices Ninth Edition Floyd Chapter 17.
Lecture 10 Bipolar Junction Transistor (BJT)
Rectifiers and Filters
Chapter 4 Bipolar Junction Transistor
What’s Inside the Buffer?
Modifications to the Basic Transistor Model
Modifications to the Basic Transistor Model
Transistor Amplifiers
Lock-in amplifiers
Principles & Applications Small-Signal Amplifiers
Transistor Characteristics
TEXTBOOK Please be informed that the Electronics textbook will be available from next week at OSCENT, an engineering textbook selling booth arranged by.
Introduction to Electronics
Electronics Fundamentals
BJT Characteristics & Biasing Circuits
Recall Lecture 11 DC Analysis and Load Line
Chapter 1 Introduction to Electronics
Principles & Applications Large-Signal Amplifiers
CHAPTER 3 Range of power supply Voltage Regulator VRi = VPS - VZ
Conversation between Analogue and Digital System
Passive Components Rayat Shikshan Sanstha’s
Introduction to Small Signal Model
Passive Components Rayat Shikshan Sanstha’s
Chapter 4 Bipolar Junction Transistor
Chapter 5 OUTLINE Op-Amp from 2-Port Blocks
DC Biasing Circuits.
Recall Lecture 11 DC Analysis and Load Line
Phased Speaker Array : Phase of Our Lives
Bipolar Junction Transistors
Presentation transcript:

CSE Fall Introduction - 1 Electronics and Physical Interfaces  Speaker Interface  Electronics Review  8051 I/O

CSE Fall Introduction - 2 Speaker Interface  Add waveforms to get multiple tones (think current through speaker, not voltage) Note that lower frequency is smoother for a given sample rate

CSE Fall Introduction - 3 Ideal Solution  Digital to Analog Converter 8051 DAC 8 AMP (V to I) Voltage signal Speaker cares about current, not voltage What is algorithm to superimpose 1KHz tone with 500Hz tone With a sampling rate of 10KHz We can probably find a chip for this

CSE Fall Introduction - 4 Synthesizer Algorithm  Let sin[] be a look up table with 256 entries (1 complete cycle)  Every.1ms (10KHz)  P2 = sin[t1] + sin[t2] + sin[t3] …  For 1KHz, t1 += 256/10 is this hard? how do we implement this?  For 500Hz, t2 += 256/20  At 8-bit resolution we can vary output from 0 to 255. Hi frequencies are smoother  Can Compute arbitrary waveforms (not just tone summations)  This is probably quite doable with our 8051, but we will take a simpler approach (maybe some of you may take the last week to improve the acoustics) 0 Computer each sample through

CSE Fall Introduction - 5 Using single bit tones Two tones generated by single bit outputs. Use current summation externally. Note: high frequencies look more sinusoidal

CSE Fall Introduction - 6 Our Version  Objective convert number of bits to current 8051 AMP (B to I) tone1 tone2 tone3 5V

CSE Fall Introduction - 7 One Idea 8051 tone1 tone2 tone3 8ohms Does this sum? (I = Bx) What must R be to protect the processor? What is the worst case (1, 2, or 3 bits)? How much power are we putting through the speaker in the worst case? 5V R=? No quite. Vs decreases with increasing B. So each Ir decreases with increasing B Constraints 5/(8+R)<10mA 5/(8+R/3) < 26mA 3 bits is worse (Higher R constraint) (26mA)^2 * 8 = 5.4mA Vs

CSE Fall Introduction - 8 Another Idea  Use a current amplifier (PNP Transistor)  Ice =  Ib (assume  =10)  Assume Vbe = 0 (can be up to.7V)  Assume tone1 = 0V  Determine: Ib, Ice  Determine Power dissipated by speaker e c b 8ohms 5V 8051 tone1  Ib Ib I b = 11*I s I s = 5/8 I s = 625mA I b = 57mA I c = 568mA Violates speaker, 8051, Transistor constraints Ps = (.625^2) * 8 = ~3W (overpowers.2W speaker)

CSE Fall Introduction - 9 How do we fix this problem  How much current can we safely put through a.2W speaker?  Imax = (.2/8)^.5= ~158mA  From data sheet for transistor, notice that Ice = 50mA if Ib = 5mA, and it gives us values for Vce and Vbe for that case. Is this a good “on” operating point for us? (Other operating points can be found on graphs, experimentation)  Its perfect if we use one for each tone for a total of about 50mA  If we limit Ib then we limit Ice too. What size resistor should we put between 8051 port and the BASE to “bias” the transistor properly. Heavy use of KCL and Ohm’s law. See next page

CSE Fall Introduction - 10 Final Circuit Design 8051 tone1 tone2 tone3 R=? 8ohms 5V Size R to match your speaker and to Stay within the current limitations of the Processor. From DataSheet (On Sat.) Ib = 5mA Ic = 50mA Vbe =.65V (min) Vr = (5 – (50mA*8) -.65) R = Vr/5mA ~ 790ohms

CSE Fall Introduction - 11 Resistor  Review of basic Electronics  Capacitors  Inductors  Bipolar Transistors  MOS transistors  Review of 8051 I/O configuration