EECS 373 On Operational Amplifiers and Other Means of Manipulating Voltage and Current.

Slides:



Advertisements
Similar presentations
By: Alex Sowa Electrical Projects April 10 th, 2013.
Advertisements

In this presentation you will:
Data Acquisition ET 228 Chapter
An Inverting Amplifier. Op Amp Equivalent Circuit The differential voltage v d = v 2 – v 1 A is the open-loop voltage gain v2v2 v1v1 An op amp can be.
Contributed by: Integrated Teaching and Learning Program, College of Engineering, University of Colorado at Boulder.
ENGR 6806 – Motor Control Prepared By: Rob Collett September 15, Office: EN2074.
JMC – Joint Motion Controller Complete guide to building and testing each JMC.
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
IT253: Computer Organization Lecture 3: Memory and Bit Operations Tonga Institute of Higher Education.
ECE 1100: Introduction to Electrical and Computer Engineering Dr. Dave Shattuck Associate Professor, ECE Dept. Set #5 – Introduction to Circuit Analysis.
64 CONTROLLER 64 CONTROLLER AARON RIDENOUR, RYAN WOOSTER, ALEX JAECKEL.
Electronics Principles & Applications Fifth Edition Chapter 10 Troubleshooting ©1999 Glencoe/McGraw-Hill Charles A. Schuler.
Floyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd © 2008 Pearson Education Chapter 1.
Limited wires. We have only one data line. Use for for bi-directional communication. Need to send: requests for data rumble pack on/off Need to receive.
NATCAR SUMMER CLASS II 6 July 2004 Chung Hsieh. Topic of Discussion Power Supply Motor Drive Circuits Braking.
Networked Embedded Systems Pengyu Zhang EE107 Spring 2016 Lecture 8 Serial Buses.
EECS 373 On Operational Amplifiers and Other Means of Manipulating Voltage and Current.
Introduction to Linear Voltage Regulators Krishna Kishore Reddy K 2010H223084H.
Crashcourse Oscilloscope and Logic Analyzer By Christoph Zimmermann.
Arduino based Automatic Temperature Controlled Fan Speed Regulator.
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.
ENERGY METER TO INDICATE BILLING IN RUPEES FOR LOAD WISE OR DAY WISE
SENSORS.
ARDUINO BASED UNDERGROUND CABLE FAULT DETECTION
ECE 1100: Introduction to Electrical and Computer Engineering
Created by Tim Green, Art Kay Presented by Peggy Liska
Module 1 – Part 3 Circuit Elements
EECS 473 Advanced Embedded Systems
CHAPTER 6 VOLTAGE REGULATOR Tulus Ikhsan Nasution.
INDUSTRIAL ELECTRONICS/ELECTRICITY
Arduino Based Industrial appliances control system by decoding dual tone multi frequency signals on GSM / CDMA network. Submitted by:
ARDUINO BASED AUTOMATIC TEMPERATURE BASED FAN SPEED CONTROLLER
SAR ADC Input Types TIPL 4003 TI Precision Labs – ADCs
Environment Temperature Monitor
Electronic Devices & Circuits
Speech Recognition There are different kinds of voice or speech "engines" that take the sounds of your voice and match it with words. The engine is software.
Analog-Digital Conversion
555 Timer EEE DEPARTMENT KUMPAVAT HARPAL( )
What’s Inside the Buffer?
INDUCTION MOTOR PROTECTION FOR SINGLE PHASING, OVERVOLTAGE AND OVER TEMPERATURE Submitted by:
OPS - Energy Harvesting
DIGITAL CALCULATOR USING 8051
Serial I/O and Data Communication.
Arduino Part 1 Topics: Microcontrollers Programming Basics
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
Principles & Applications
Project: security lock system
E3165 DIGITAL ELECTRONIC SYSTEM
Introduction Example: model train controller..
Programming Boe-Bots (Part 1)
How to avoid catching things on fire.
BJ Furman ME 106 Fundamentals of Mechatronics 15NOV2012
Power Supply in PCs It is primarily designed to take AC power from the wall outlet and convert it into much lower DC voltages needed by the system. This.
Internet-of-Things (IoT)
Speech Recognition There are different kinds of voice or speech "engines" that take the sounds of your voice and match it with words. The engine is software.
Introduction to Linear Voltage Regulators
Simple ADC structures.
Simple ADC structures.
Serial Communication Interface: Using 8251
Serial EEPROM (Atmel 24C-512)
CSCI1600: Embedded and Real Time Software
CSCE 489- Problem Solving Programming Strategies Spring 2018
Basic Electronics Part Two: Electronic Components.
Medical electronics II RC operation amplifier circuits
ENGR 1 Presentation Thomas Matthews.
CSCI1600: Embedded and Real Time Software
POWER ELECTRONICS DC-DC CONVERTERS (CHOPPERS) PART 1
Physical Layer – How bits are sent
I/O Experiments Assignment 1.
2019 Investing Now Summer Program
Presentation transcript:

EECS 373 On Operational Amplifiers and Other Means of Manipulating Voltage and Current

Once you’ve done your topic talk… Send me your slides Pdf is fine, but I’d prefer power point (and both is better yet).

Other Administrivia? And yes, Merriam-Webster accepts that as an English word.

Analog—the bane of the computer engineer  In embedded systems, you often need to deal with voltages and currents. Often the outputs you have don’t match the inputs you need. Generally the current or voltage is too small Sometimes the voltage is too big. Sometimes the values are in the wrong range. Today we’ll touch on some ways of manipulating these values. This is intended to give you some idea what options are out there Often the details are tricky and/or annoying. We expect you may need to ask for help…

Examples of where you might have problems. You have 5V for power, but some devices need 3.3V for power. You are using a device that generates too little current for your ADC, you may want to amplify the current but hold the voltage constant. You may be using a UART or other serial bus where one device wants 3.3V or 1.7V and the other wants 5V. You may be driving a motor that needs 12V@1A but you can only drive 5V@5mA, what do you do?

What are DC converters? DC converters convert one DC voltage level to another. Very commonly on PCBs Often have USB or battery power But might need 1.8V, 3.3V, 5V, 12V and -12V all on the same board. On-PCB converters allow us to do that Images from http://itpedia.nyu.edu/wiki/File:V_reg_7805.jpg, http://www.electronics-lab.com/blog/wp-content/uploads/2007/10/p1000255.JPG

DC converters Probably the most common problem is dropping power from 5V to 3.3V. Often because we’ve got a device that wants 3.3V as Vcc and everything else wants 5V. The generic term for a device used to change voltages is “DC converter” But when dropping it is sometimes called a “voltage regulator”. Specific types are called “linear regulator”, “Low Dropout (LDO)”, and “Switching regulator”

Different types of DC converters Linear converters Switching converters Simpler to design Low-noise output for noise-sensitive applications Can only drop voltage And in fact must drop it by some minimum amount The larger the voltage drop the less power efficient the converter is (All voltage dropped is converted to heat). Can be significantly more complex to design **Don’t use for project** Can drop voltage or increase voltage “buck” and “boost” respectively Generally very power efficient 75% to 98% is normal

Linear regulator 1 2 3 Input Ground Output

Linear regulators and capacitors Specification for regulators almost always include required capacitors If you don’t have them, your output may get noisy and cause all kinds of problems including reseting your chips. Too big is better than too small. May have required capacitor types (ceramic, etc.) Be sure to check (most linear regulators don’t…)

Op-amps We’ll briefly talk about using op-amps to do a few basic things. Current buffering Threshold detection Etc. I’m not going to talk much about single supply vs. dual supply. https://www.researchgate.net/post/what_is_the_difference_between_single_supply_opamp_and_dual_supply_opamp is helpful though.

Very idealized basics http://www.electronics-tutorials.ws/opamp/opamp1.gif?81223b

Voltage comparator Can change the ground input to any voltage. Often just goes down to ground rather than –Vcc.

Voltage follower How does this work?

And a bunch of others

Current to voltage and back. Where would we have used a current-to-voltage device?

Additional reading http://research.cs.tamu.edu/prism/lectures/iss/iss_l5.pdf Used for the last 4 slides.

N64 controller Slides taken from a presentation by Aaron Ridenour, Ryan Wooster and Alex Jaeckel

Controller Inputs: A, B, L, R, Z, start, C-up C-down, C-left, C-right, http://conker.wikia.com/wiki/Nintendo_64_Controller http://electronics.howstuffworks.com/n643.htm Inputs: A, B, L, R, Z, start, C-up C-down, C-left, C-right, D-Pad(up, down, left, right), Joystick Options: Rumble Pak, Memory Pak

Joystick http://electronics.howstuffworks.com/n643.htm http://electronics.howstuffworks.com/n643.htm Two wheels positioned at right angles to each other, one for the x-axis, one for the y-axis.

OPEN Collector Pull-up resistor keeps the line high while idle. To send 0, the output line is pulled low and connected to ground. To send 1, nothing should be sent. Do not drive the line high. http://www-inst.eecs.berkeley.edu/~cs150/fa04/Lab/Checkpoint1.PDF

OPEN Collector 1 Sending a logical 0: 1 http://www-inst.eecs.berkeley.edu/~cs150/fa04/Lab/Checkpoint1.PDF

OPEN Collector Sending a logical 1: 1 1 1 Sending a logical 1: 1 1 1 http://www-inst.eecs.berkeley.edu/~cs150/fa04/Lab/Checkpoint1.PDF

Controller Encoding Each bit is sent in 4 𝜇𝑠 Logical 0: Low for 3 𝜇𝑠, followed by high for 1 𝜇𝑠 http://www.pieter-jan.com/node/10 Logical 1: Low for 1 𝜇𝑠, followed by high for 3 𝜇𝑠 http://www.pieter-jan.com/node/10

On a scope. Pieter-Jan.com

Controller Encoding http://inst.eecs.berkeley.edu/~cs150/sp01/Labs/lablecckpt1.ppt

Communication protocol When a Command byte is sent to the controller, it sends a response depending on which command was sent. Check Controller Command: 0x00 The controller responds with 3 bytes. The first two bytes are always 0x0500 Last byte is determined by: 0x01: If a controller pack is connected. 0x02: If no controller pack is connected. 0x04: If a previous command resulted in an error.

Communication protocol Reset Controller Command: 0xFF First resets the controller, including resetting the joystick calibration Controller then responds as in the Check Controller Command

Communication protocol Input Polling Command: 0x01 The controller responds with 4 bytes, encoding the button and joystick values Byte Data[7] Data[6] Data[5] Data[4] Data[3] Data[2] Data[1] Data[0] 1 A B Z Start D-Up D-Down D-Left D-Right 2 Joystick Reset L R C-Up C-Down C-Left C-Right 3 Signed joystick x-axis coordinate 4 Signed joystick y-axis coordinate The joystick values range between -128 and 127, but the controller physically can only use from -81 to 81.

Example data waveform |----Command (console) 0x01-----| start bit stop bit A B Z St reset L R |----Command (console) 0x01-----| |----Data1 (controller) 0x00----| |-----Data2 (controller) 0x00----| stop bit Joystick x-coordinate Joystick y-coordinate |--------Data3 (controller) 0x00----------| |---------Data4 (controller) 0x01---------| Images taken from: http://afermiano.com/index.php/n64-controller-protocol

Communication protocol Controller Pack Read: 0x02 Used to read from the controller pack. The command is followed by 2 bytes which indicate the address being read from and a CRC to verify the address. The controller responds with 32 bytes of data from that address, followed by the data CRC.

References http://www.pieter-jan.com/node/10 http://afermiano.com/index.php/n64-controller-protocol https://code.google.com/p/micro-64-controller/wiki/Protocol http://www-inst.eecs.berkeley.edu/~cs150/fa04/Lab/Checkpoint1.PDF http://www.mixdown.ca/n64dev/ http://svn.navi.cx/misc/trunk/wasabi/devices/cube64/firmware/n64gc_comm.inc