HIGH PRECISION TEMPERATURE CONTROLLER Group 13 Ashley Desiongco Stacy Glass Martin Trang Cara Waterbury.

Slides:



Advertisements
Similar presentations
INPUT-OUTPUT ORGANIZATION
Advertisements

Jordan Barry Victor Brzeski
The Industry’s Smallest 16 Bit ADC’s
Georgia Tech Digital Back-end µHRG interface Curtis Mayberry School of Electrical and Computer Engineering Georgia Institute of Technology January 13 th,
ELECTRONIC SYSTEMS NESI NanoRacks Embedded System Integration Board HARDWARE Functional Design.
Inputs: Digital and 4 configurable for Digital or 10 bit Analog Outputs:4 - 8 amp Relays or 700ma Transistors (1 PWM) 4 Line by 18 Character fully.
What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)
By: Russ Butler ECE4220 Spring 2012 Dr. DeSouza May 2, 2012.
Sensors Interfacing.
Digital to Analogue Conversion Chapter 13. Why is conversion needed? Most signals in the world are analogue. Microprocessors and most computers computers.
High Precision Temperature Controller
SPI Serial Peripheral Interface. SPI Serial Peripheral Interface is communication between two devices, one bit at a time sequential one bit at time over.
Autonomous Helicopter: James Lyden Harris Okazaki EE 496 A project to create a system that would allow a remote- controlled helicopter to fly without user.
Data Acquisition Risanuri Hidayat.
Oscilloscope Watch Teardown. Agenda History and General overview Hardware design: – Block diagram and general overview – Choice of the microcontroller.
PLC front-end Design Review Curtis Mayberry
Data Protection Card Submit: Assaf Matia Technion Guide: Eran Segev Rafael Guide: Henri Delmar Winter & Spring 2004.
STARLight PDR 3 Oct ‘01I.1 Miller STARLight Control Module Design Ryan Miller STARLight Electrical Engineer (734)
Initial Position Orientation Tracking System (IPOTS) Group Members: Keiichi McGuireHenry Pham Marc TakamoriScott Spiro.
1 Project supervised by: Dr Michael Gandelsman Project performed by: Roman Paleria, Avi Yona 12/5/2003 Multi-channel Data Acquisition System Mid-Term Presentation.
Guitar Effects Processor Critical Design Review October, 07, 2003 Groups Members: Adam Bernstein Hosam Ghaith Jasenko Alagic Matthew Iyer Yousef Alyousef.
Design and Implementation of a Virtual Reality Glove Device Final presentation – winter 2001/2 By:Amos Mosseri, Shy Shalom, Instructors:Michael.
EEG Machine By The All-American Boys Featuring Slo- Mo Motaz Alturayef Shawn Arni Adam Bierman Jon Ohman.
Aztec PC Scope Preliminary Design Review Fall 2006 Michael MasonJed Brown Andrew YoungsJosh Price.
1 Project supervised by: Dr Michael Gandelsman Project performed by: Roman Paleria, Avi Yona 26/4/2004 Multi-channel Data Acquisition System Final_A Presentation.
Analogue Input/Output
7-1 Digital Serial Input/Output Two basic approaches  Synchronous shared common clock signal all devices synchronised with the shared clock signal data.
1 ECE 263 Embedded System Design Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System.
Aztec PC Oscilloscope Michael Mason Jed Brown Josh Price Andrew Youngs.
Team Members Jordan Bennett Kyle Schultz Min Jae Lee Kevin Yeh.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Bonitron Air Demand Scheduler Design Review Vanderbilt Senior Design Alex Brown Ajmer Dwivedi Cory Haugh February 04, 2008.
INPUT-OUTPUT ORGANIZATION
David MacNair POWER SUPPLY 3/30/20061 Ethernet Power Supply Controller.
 Chasis / System cabinet  A plastic enclosure that contains most of the components of a computer (usually excluding the display, keyboard and mouse)
Wireless Intelligent Sensor Modules for Home Monitoring and Control Presented by: BUI, Phuong Nhung, 裴芳绒 António M. Silva1, Alexandre Correia1, António.
ECE 477 DESIGN REVIEW TEAM 2  FALL 2011 Members: Bo Yuan, Yimin Xiao, Yang Yang, Jintao Zhang.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
Digital to Analogue Converter
Lecture 20: Communications Lecturers: Professor John Devlin Mr Robert Ross.
Universal Asynchronous Receiver/Transmitter (UART)
Group 8: Video Game Console Team Members: Rich Capone Hong Jin Cho Dave Elliott Ryan Gates.
Owner : SAYD Cypress Confidential Sales Training 2/21/ FTDI FT232R vs. USB Serial CY7C65213 USB - UART Converter Cable USB to UART Conversion at.
Autonomous Helicopter James LydenEE 496Harris Okazaki.
Atmel Atmega128 Overview ALU Particulars RISC Architecture 133, Mostly single cycle instructions 2 Address instructions (opcode, Rs, Rd, offset) 32x8 Register.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
Alexei SemenovGeneric Digitizer Generic Digitizer 10MHZ 16 bit 6U VME Board.
INTRODUCTION TO PIC MICROCONTROLLER. Overview and Features The term PIC stands for Peripheral Interface Controller. Microchip Technology, USA. Basically.
Analog Capture- Port E. Digital to Analog and Analog to Digital Conversion D/A or DAC and A/D or ADC.
By James Cockrell and Justin Loveless
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
High Speed Digital Systems Lab Spring/Winter 2010 Project definition Instructor: Rolf Hilgendorf Students: Elad Mor, Ilya Zavolsky Integration of an A/D.
ADC 1 Analog to Digital Converter. ADC 2 ADC Features n General Features -Supports 8 or 10-bit resolution Modes, -Track period fully programmable up to.
Electronic instrumentation Digitization of Analog Signal in TD
Moisture Controlled Irrigation System Team Members: ECE - Aaron Beekman, Adrian Fletcher, and Derek Thomas CECS – Jacob Schreiver.
HOME SECURITY USING WIRELESS SENSOR NETWORK UNDER THE ESTEEMED GUIDANCE OF: P.RAMESH D.SIVOM( ) KANMANI RAVI( ) B.SAI RAJSEKHAR( )
1. PIC ADC  PIC18F877 has 8 analog input channels i.e. port A pins(RA0 to RA5) and port E pins(RE1 and RE2). These pins are used as Analog input pins.
USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER
CORDLESS MOUSE FEATURES BY TV REMOTE USING PIC MICROCONTROLLER
MECH 373 Instrumentation and Measurements
Chip Config & Drivers – Required Drivers:
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
This chapter provides a series of applications.
Introduction to Microprocessors and Microcontrollers
Chapter 7 Features and Interfacing of Programmable Devices for 8085 based systems.
ADC and DAC Data Converter
MSP432™ MCUs Training Part 6: Analog Peripherals
Data Acquisition (DAQ)
AVR – ATmega103(ATMEL) Architecture & Summary
ADC and DAC Data Converter
Presentation transcript:

HIGH PRECISION TEMPERATURE CONTROLLER Group 13 Ashley Desiongco Stacy Glass Martin Trang Cara Waterbury

Objectives Replace COTS controller More Efficient More Economical Use modern technology Part selection must consider production life

Application Extended Area Will use 2 Type T T/C or 4 RTDs From -30°C to 700°C Cavity Will use 2 Type S T/C From 50°C to 1200°C

Top Level Block Diagram

ANALOG SUBSYSTEM

Sensor & Reading Specifications Must stabilize within +/-.5°C Read a minimum of: 2 differential thermocouple signals 5 RTD signals Convert to digital signal and send to PIC All noise/drift must be accounted for

Sensor Types Thermocouples Type S 20 ⁰ C min 1300 ⁰ C max mV to mV Cavity source Type T -30 ⁰ C min 400 ⁰ C max mV to mV Extended area source RTDs PT ⁰ C min 400 ⁰ C max Extended area source: Ω to Ω Cold junction comp: 100 Ω to Ω

Block Diagram

Differential Op Amp Differential output conditioning Op Amp V OCM = 2.5 V reference voltage Internal precision 10kΩ resistors

RTD Readings RTD ladder Requires only 1 precision resistor Must match min input requirements of AD converter

Schematic

A-D Converters AD bit resolution 1 differential input SPI interface Internal gain amplifier fixed at 128 Used for heater (TC) reading AD bit resolution 8 channel input MUX SPI interface Internal PGA of 1 to 128 Used for all RTD readings and secondary TC reading

Reference Voltage Considerations ComponentCurrent Draw AD77971 μA AD μA AD8476 – Op Amp (2)5 μA RTD Ladder713 μA TOTAL μA V out = 2.5 V I out = 40 mA Temp drift = 3ppm/ ⁰ C

MICROCONTROLLER

Microcontroller Specifications Capable of Communicating with 8 Peripheral Devices. Capable of Handling RS-232, RS-485, USB, and Ethernet Protocols. Capable of performing signed, floating point math.

PIC32MX150F128B 2 SPI Interfaces 2 UART Interfaces Full-featured ANSI-Compliant C Programming Language

General Design Two PIC32MX150F128B connected in Master-Slave configuration. Slaves will be customized to serve a single purpose. Master will handle outside communication and slave coordination.

Pinout

Peripherals (from the Master) MAX232 – RS232 – UART MAX481 – RS485 – UART MCP2200 – USB – UART ENC28J60 – Ethernet – SPI µLCD – Display – UART PIC32MX150F128B – Slave – SPI Independent 8-level deep FIFO TX/RX UART Buffers Independent 4-level deep FIFO TX/RX SPI Buffers onboard the PIC32MX150F128B

Development Environment MPLABX using MPLAB C32 Simulation Capability Debugging Using PICKIT3

DISPLAY

Requirements Touch Screen Low-Cost Fit in existing chassis Interface easily to microcontroller

4D-Systems uLCD32 (GFX) Built in Graphics Controller Easy 5-pin interface On-board Audio Micro-SD card connector Expansion Ports Built in Graphics Libraries

Features x272 Resolution 2.Expansion Ports (2) 3.5 Pin Serial Programming Interface 4.PICASO-GFX2 Processor 5.Micro-SD Card Slot 6.1.2W Audio Amplifier with Speaker 3.2”

Hardware Interface Easy 5 pin interface Vin, TX, RX, GND, RESET Also used to program display with 4D Programming Cable

PICASO-GFX2 Processor Custom Graphics Controller Configuration available as a PmmC (Personality-module-micro-Code) PmmC file contains all low level micro-code information

Audio/Micro-SD Card Audio support is supplied by the PICASO-GFX2 processor, an onboard audio amplifier and 8-ohm speaker Executed by a simple instruction Micro-SD card is used for all mulitmedia file retrieval Can also be used as general purpose storage

Temperature displayed at all times Change current set point option

POWER

Power Part Current (mA)Voltage (V)QuantityPower (mW) ADC ADC ADC ADC OpAmp Ref Quad Buffer RS RS USB Ethernet Controller Display Microcontroller :1 MUX TOTALS

Power Block Diagram LS – 240 Vac 5V ADC RS485 OpAmp RS232 Ref. Display Buffer USB LT Ethernet Microcontroller 4:1 MUX ADC 3.3V

TEMPERATURE CONTROL METHOD

PID Requirements Eliminate noise Minimize overshoot More efficient than standard PID

Nested PID Influence of parameters: P = Decreases rise time I = Eliminates SS Error D = Decreases overshoot and settling time Initial loop encompasses entire temperature range using only P and D parameters Next loop focuses on a smaller range and uses P, I and D

ANALOG SYSTEM SOFTWARE DESIGN

Interfacing with AD7797 Thermocouple Reading Initialize AD7797 to the following settings: Unipolar Mode: 0 – 20 mV Sampling Frequency: 123 Hz Clock Source: Internal 64 kHz Converting Mode: Continuous Conversion Mode Reading data output register: Send 0x58FFFFFF to DIN of AD7797 – Single Read Operation

Interfacing with AD7718 CJC Reading Initialize AD7718 to the following settings: Unipolar Mode Programmable Gain: 128 Sampling Frequency: Hz Chopper Enabled Converting Mode: Continuous Conversion Mode Channel Select: AIN(+) – AIN3; AIN(-) – AIN4 Reading data output register: Send 0x44FFFFFF to DIN of AD7718 – Single Read Operation

Temperature Conversion Acquire CJC equivalent voltage reading Acquire thermocouple voltage Subtract CJC voltage from thermocouple voltage Translate to temperature using NIST Standard Tables. AD7718 Formula AD7797 Formula

PERIPHERAL SOFTWARE DESIGN

General Overview No Interrupt Driven Events Constant Polling Transmit/Receive Buffers for SPI and UART Master PIC handles data transfer to and from the Display and Slave PIC Master PIC serves as a slave to the Computer Interface. Custom LABVIEW software to handle all computer interfacing.

DISPLAY SOFTWARE DESIGN

General Overview Polls RX buffer for command from master 0x01: master to send current temperature 0x02: master to send new set point 0x03: master requests new set point from display Handles touch events Uses internal functions to determine location of touch events

Software Tools 1. 4D Workshop IDE 2. PmmC Loader 3. Graphics Composer 4. FONT Tool

Temperature Formatting Data sent in 3 bytes from master or display Display UART is limited to 1 byte First Byte: Contains tenths place (upper four bits) and ones place (lower four bits) Second Byte: Contains tens place (upper four bits) and hundreds place (lower four bits) Third Byte: Contains Thousands place (upper four bits) and sign/check bit (lower four bits) Fourth bit must be set high for data to be valid.

PID SOFTWARE DESIGN

General Overview Compare Set Point temperature with Current temperature Check if the current temperature is within the proportional band Accumulate error (for Integral Action) and store previous temperature (for Derivative Action) Calculate Proportional, Integral, and Derivative terms Translate PID terms into varying duty cycles for PWM output

TESTING

Testing OpAmp Testing AD7797 (via PIC32 Starter Kit) Testing AD7797 (via PIC32MX150F128B) Full System Integration Testing

PID PARAMETER TESTING

Trial 1 P Band = 5% Repeats per Minute=.65 Derivative Time=.001 Set Point = 600.0°C

Trial 2 P Band = 5% Repeats per Minute=.50 Derivative Time=.01 Set Point = 600.0°C

Trial 3 P Band = 5% Repeats per Minute=.50 Derivative Time=.01 Set Point = 700.0°C

Work Breakdown AshleyMartinCaraStacy Analog Hardware95%5%-- Digital Hardware-80%-20% Display-5%95%- Software5%10%5%80% Power--100%-

Budget Parts Digital Devices$ 21 Analog Devices$ 30 Passive Devices$ 62 Power Devices$ 20 Display$ 101 Board Fabrication$ 80 Programming Tools$ 52 TOTAL$ 366 Goal: $500

Educational Experience Conflicting Reprogrammable pin assignment definitions LATx versus PORTx Three Tier SPI handshaking Board Population

QUESTIONS?