The Temperature Controlled Window Matt Aldeman and Chase Brill ME 224 June 2003

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

Section 2 Lab Experiments

F4 16DA 2 16-Channel Analog Voltage Output

University of Portland EE 271 Electrical Circuits Laboratory. Experiment: Digital-to-Analog Converter

Massachusetts Institute of Technology. Lab 2: Characterization of Lab System Components

MSK4310 Demonstration

2 Thermistor + Op-Amp + Relay = Sensor + Actuator

F4 08DA 2 8-Channel Analog Voltage Output

Linear vs. PWM/ Digital Drives

GENERATION OF SIGNALS USING LABVIEW FOR MAGNETIC COILS WITH POWER AMPLIFIERS

Tel: Fax:

ENGR 1 Presentation. Thomas Matthews

DC motor control using arduino

King Fahd University of Petroleum and Minerals. Department of Electrical Engineering

ENGS 26 CONTROL THEORY. Thermal Control System Laboratory

Servo Closed Loop Speed Control Transient Characteristics and Disturbances

University of Tennessee at. Chattanooga

sin(wt) y(t) Exciter Vibrating armature ENME599 1

*X036/12/01* X036/12/01 TECHNOLOGICAL STUDIES HIGHER NATIONAL QUALIFICATIONS 2013 TUESDAY, 21 MAY 1.00 PM 4.00 PM

EE445L Spring 2018 Final EID: Page 1 of 7

AD557 SPECIFICATIONS. T A = 25 C, V CC = 5 V unless otherwise noted) REV. B

EKT 314/4 LABORATORIES SHEET

F4-04DA-1 4-Channel Analog Current Output

SRVODRV REV7 INSTALLATION NOTES

PowerAmp Design. PowerAmp Design PAD20 COMPACT HIGH VOLTAGE OP AMP

Control System Circuits with Opamps

Upgrading from Stepper to Servo

Lab 15: Lock in amplifier (Version 1.4)

UNIVERSAL INPUT RESISTANCE OUTPUT

Optical Theremin Critical Design Review Yanzhe Zhao, Mason Story, Nicholas Czesak March

EE 300W Lab 2: Optical Theremin Critical Design Review

STEPPING MOTOR EMULATION

Chapter 5: Signal conversion

Lab 2: Optical Theremin Team 2 Flyback By Brian Pugh, Andrew Baker, and Michael Betts

ECE 511: FINAL PROJECT REPORT GROUP 7 MSP430 TANK

ME 461 Laboratory #5 Characterization and Control of PMDC Motors

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators

Measuring Power Supply Switching Loss with an Oscilloscope

Electronic Instrumentation & Automation. ET-7th semester. By : Rahul Sharma ET & TC Deptt. RCET, Bhilai

ME375 Lab Project. Bradley Boane & Jeremy Bourque April 25, 2018

Embedded Systems Lab Lab 7 Stepper Motor Application

F4 04DAS 1 4-Channel Isolated 4 20mA Output

Embedded Test System. Design and Implementation of Digital to Analog Converter. TEAM BIG HERO 3 John Sopczynski Karim Shik-Khahil Yanzhe Zhao

Magnetic Levitation System

9200 Series, 300 MHz Programmable Pulse Generator

Zero-Drift, High Voltage, Bidirectional Difference Amplifier AD8207

Lab 6 Prelab Grading Sheet

MTY (81)

ANALOG TO DIGITAL (ADC) and DIGITAL TO ANALOG CONVERTERS (DAC)

Electro Controls. Input-Output Modules WattsIndustries.co.uk

PEAKTRONICS AMC-103 ADDITIONAL FEATURES. AC Motor Controller, 2A AMC-103 AMC-103A AMC-103B

Project Proposal. Low-Cost Motor Speed Controller for Bradley ECE Department Robots L.C.M.S.C. By Ben Lorentzen

SCX Series Precision compensated pressure sensors

EMG Electrodes. Fig. 1. System for measuring an electromyogram.

CA SERIES PRECISION REGULATED, LOW RIPPLE HIGH VOLTAGE DC TO DC CONVERTERS

ANALOG TO DIGITAL CONVERTER ANALOG INPUT

MASTER/SLAVE TENSION CONTROL

PHASE CUT SIGNAL DRIVERS

Tech Note #3: Setting up a Servo Axis For Closed Loop Position Control Application note by Tim McIntosh September 10, 2001

Motor Generator Dynamometer Setup

Continental Hydraulics Installation Manual CEM-RA-A

Figure 70 - False-colored image of Shoffner's team basic design for a Peltier (thermalelectric cooler - TEC) driven PCR-chip thermocycler.

Bend Sensor Technology Electronic Interface Design Guide

Low-Power, 12-Bit, Rail to Rail Voltage-Output Serial DAC in SOT23

L E C T U R E R, E L E C T R I C A L A N D M I C R O E L E C T R O N I C E N G I N E E R I N G

NAU82011WG 2.9 W Mono Filter-Free Class-D Audio Amplifier. 1 Description VIN. Output Driver VIP. Class D Modulator VDD VSS

Current loop output (4...20mA) for a volt pressure transmitter

Chapter 5. Tracking system with MEMS mirror

Users Group Conference 2018

T6+ Analog I/O Section. Installation booklet for part numbers: 5/4-80A-115 5/4-90A-115 5/4-80A /4-90A-1224

DACPORT Low Cost, Complete P-Compatible 8-Bit DAC AD557*

PowerAmp Design. PowerAmp Design PAD135 COMPACT HIGH VOLATGE OP AMP

Introduction. ELCT903, Sensor Technology Electronics and Electrical Engineering Department 1. Dr.-Eng. Hisham El-Sherif

Remote Laboratory Operation: Web Technology Successes

Fast Response, High Voltage Current Shunt Comparator AD8214

Introduction to MS150

HVW Technologies Analog Infra-Red Ranging System (AIRRS )

CHAPTER AC DRIVE PARAMETERS. In This Chapter...

Linear Power Amplifier Module

ME 144L Prof. R.G. Longoria Dynamic Systems and Controls Laboratory. Department of Mechanical Engineering The University of Texas at Austin

ERROR MESSAGES: Click on Error for further detail PROBE ERROR: PROBE IS OPEN OR NOT CONNECTED.

Sensor-Emulator-EVM. System Reference Guide. by Art Kay High-Precision Linear Products SBOA102A

Lab E5: Filters and Complex Impedance

Teaching Mechanical Students to Build and Analyze Motor Controllers

This Errata Sheet contains corrections or changes made after the publication of this manual.

Electronic Systems. Dr. Kenneth Kin-Yip Wong. ENGG st Semester, Department of Electrical and Electronic Engineering

ELG3336 Design of Mechatronics System

PowerAmp Design. PowerAmp Design PAD112 HIGH VOLTAGE OPERATIONAL AMPLIFIER

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

High Voltage Current Shunt Monitor AD8212

Wednesday 7 June 2017 Afternoon Time allowed: 1 hour 30 minutes

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT BIT DIFFERENTIAL INPUT DELTA SIGMA ADC LTC DESCRIPTION

Laboratory Tutorial#1

Low Cost, General Purpose High Speed JFET Amplifier AD825

GS1 Parameter Summary Detailed Parameter Listings...4 9

Section3 Chapter 2: Operational Amplifiers

Exercise 3-3. Manual Reversing Starters EXERCISE OBJECTIVE DISCUSSION. Build manual reversing starters and understand how they work.

Anacon Power & Controls Relay Assembly Specialists An Anacon Electronic Sales, Inc. Company

10. Computer-Assisted Data Acquisition and Analysis

Continental Hydraulics Installation Manual CEM-PA-A

Transcription:

The Temperature Controlled Window Matt Aldeman and Chase Brill ME 224 June 2003

Design Objectives The purpose of our device is to control a window based on the temperature of a specified area. The goal is to allow a user to input the temperature at which they would like the window to open and close. The window will then open once the temperature of the area reaches this specified temperature. Then, as the area cools, the window will close once this specified temperature is again reached. To achieve this goal, we will use a thermistor, an operational amplifier, two relays, a DC motor, five volt, twelve volt, and negative twelve volt power sources, a digital acquisition card, and a Labview program. Circuitry The first step we took was to simplify the project. We wanted to simulate the actual opening and closing of a window, but we did not have access to a portable window such that we could bring it into class to demonstrate, and the equipment required for such a task would be rather bulky and expensive. To simplify, we decided to scale everything down. Our motor is a small high-rpm DC motor with a set of reduction gears. This motor is suitable to attach a spool to the output shaft and wrap string around the spool. We could then attach a small weight weighing a few ounces to simulate the window. This project assumes that the window is on a frictionless windowsill such that the window will return to the closed position when no force is applied to keep it open, i.e. closing the window does not require a downward force; it must simply be let go. To obtain the ambient temperature, a thermistor is used. Five volts is sent through the thermistor, and the varying voltage from the thermistor is then sent through a difference operational amplifier with a DC offset to obtain a range large enough to work with in LabView (see section below on our operational amplifier). After the signal is amplified to a range of approximately -5 to 5 volts, which is sufficient for our purposes, the signal is input into LabView through the ADC card. The signal is input into LabView (see section below on our LabView program) and LabView converts the voltage into a temperature using calibration data that we obtained. The purpose of the LabView program is to send a current to one of our DAC s if the temperature is above the pre-set activation temperature and the window is currently closed. Conversely, the program should send a current to our second DAC if the temperature is below the activation temperature and the window is currently open. The current from the DAC s then passes through a set of relay switches. The DAC card does not supply an adequate current to power our motor, so we had to use two relay switches. When current passes through the relay, it triggers a switch completing the circuit between the connected power source (either +12V or -12V) and our motor. The LabView program only sends current through the DAC for a time period sufficient to close or open the window. This time period is easily adjustable in LabView so it could be used for a variety of windows. A circuitry diagram is included with this report in Appendix A.

The Operational Amplifier The operational amplifier is an integrated circuit used for signal conditioning. It is a high performance linear amplifier. We used a difference operational amplifier to amplify the voltage coming out of the thermistor. Originally, this voltage ranged from about 4.51 to about 4.81 volts for a temperature range from 25 ûc to 50 ûc (77 ûf to 122 ûf). A chart containing voltage vs. temperature follows: Temperature [ C] Voltage [V] 25 4.81 30 4.75 35 4.72 40 4.65 45 4.56 50 4.51 The governing equation for a difference operational amplifier is: V out =R 2 /R 1 (V 1 -V 2 ) In this equation, V 2 is the DC offset, which is equal to V ave. V ave =(V max +V min )/2=(4.81+4.51)/2=4.66 R 2 /R 1 is the gain, n, of the operational amplifier. n=10v/ V V=(V max -V min )/2=(4.81-4.51)/2=.14 Thus, the gain, n, is equal to 71 and R 2 must be 71 times R 1. To ensure that we do not get a voltage above 10 volts or below -10 volts, we will use a slightly lower gain in our circuit. Thus, we will not use quite the entire range of -10 to 10 volts through which the operational amplifier can work. We choose our R2 resistance to be 56KΩ and our R1 resistance to be 1KΩ. With these values in place, we have created an operational amplifier that will amplify the range of voltages from the thermistor from the previous values ranging from 4.51 to 4.81 volts to the amplified values ranging from -5 to 5 volts.

The Temperature Voltage Formula In order to convert from a voltage to a temperature in Labview to allow the user to input a desired transition temperature, is is necessary to develop an equation for temperature as a function of voltage. To do this, we took a series of reading for various temperatures and recorded it in a graph. Then, we found the equation for the regression line through these points. The data, graph and equation follow: Voltage [V] Temperature [C] -4.62 23-0.47 30 0.15 35 0.8 40 1.33 45 2.21 50 2.72 55 3.34 60 3.64 65 4.17 70 Temperature [C] Voltage vs. Temperature 80 70 60 50 40 30 20 10 0 y = 5.5912x + 39.88-6 -4-2 0 2 4 6 Voltage [V] This is the equation used in the formula node in the Labview program discussed in detail in the next section.

The Labview Program The Labview program used for our design is attached. Follow along with it as I explain the steps used in our program: 1) The user inputs the desired window transition temperature on the front panel and indicates whether the window is currently up or currently down. If the window is up, the light should be on and if the window is down it should be off. This boolean actually controls a local variable in the program. 2) In the first frame of the large sequence structure, the voltage from the operational amplifier is input to the program with an analog-to-digital controller. This voltage is converted to a temperature using a pre-determined formula (explained above) in a formula node. 3) This temperature is compared to the desired transition temperature. Then, one of three options occurs: (a) If the window is closed and the current thermistor temperature is greater than the desired transition temperature, then the bottom case structure is run. Inside this case structure is a sequence structure that first uses a digital-to-analog controller to supply 5 volts to a relay and changes the value of the local variable to true, indicating that the window is now up. Then it waits for two seconds, and finally, uses another digital-to-analog controller to stop the voltage to the relay. (b) If the window is open and the current thermistor temperature is less than the desired transition temperature, then the top case structure is run. Inside this case structure is a sequence structure that first uses a digital-toanalog controller to supply 5 volts to the other relay and changes the value of the local variable to false, indicating that the window is down. Then it waits for two seconds, and finally, uses another digital-to-analog controller to stop the voltage to this relay. (c) If neither of the above conditions is true, no action is taken. 4) After one of these three actions is taken, the second frame of the sequence structure runs, which contains a wait command that is set to one second, causing the voltage from the operational amplifier to be taken once every second.

Relay Switches The relay switches are used to supply power to the DC motor used to operate the window. Because our motor needs to operate in the forward as well as reverse directions ( opening and closing the window), the polarity of the power source needs to be switched whenever we need to switch the operation of the motor. To accomplish this, two relay switches are used to supply power. A diagram of our relay setup can be found in Appendix A, and a diagram of the operation of a relay can be found in Appendix B. A relay operates using a coil and an actuator arm. When a current is passed through the coil, a magnetic field is developed, which pushes the actuator arm to complete a circuit. For our setup, we needed both of our relays to be in the normally open mode. The relays should close the circuit between the power source and the motor only when current is being sent from the DAC. Our LabView program ensures that only one relay switch will be receiving current from the DAC at any given time: both relay switches will never be receiving current at the same time. When current is being sent from our first DAC to the first relay switch, the relay connects the positive power source to the positive terminal of the motor and the negative power source to the negative motor terminal. However, when the second DAC is turned on and the second relay switch is active, the situation is reversed. The negative power source is connected to the positive motor terminal, and the positive power source is connected to the negative motor terminal. In this way we were able to control the motor in both forward and reverse directions.