Giter Club home page Giter Club logo

erdemcanaz / ee313-term-project Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 27.67 MB

Semanur and I are university students at METU EE, and we are lab partners at an analog laboratory course abbreviated as EE313. In this course, we do predetermined experiments on analog circuits (mainly amplifiers). At the end of the term, we are supposed to design a prototype that fulfills a specified task. This repo will include files of that prototype.

AMPL 60.58% AGS Script 35.34% MATLAB 4.08%

ee313-term-project's Introduction

Implementing An Analog Approach For Closed Environment Autonomous Temperature Control Circuitry

EE-313 TERM PROJECT

General requirements

The project consists of five units; namely, sensing, set, control, operation and display units. The sensing unit perceives the ambient temperature and sends this information to the control and display units. Similarly, set unit receives an input from the user indicating the desired temperature level and send this information to control and display units. Control unit compares the two temperatures and decides the action to be taken by the operation unit. Operation unit is where the heating and cooling systems are present. It perates one of these systems according to the signal sent from the control unit. Display unit shows the ambient and set temperatures by mapping them into a color spectrum

Sensing Unit

Sensing unit output voltage (Vsensing) is 0V and 9V voltage for the 24◦C and 40◦C temperatures, respectively. Between these temperature levels, it has a linear increase in the output voltage. Outside of this temperature range, it performs clipping in the voltage levels. The temperature sensor used (LM35) has lienar characteristics and outputs 240mV and 400mv for 24◦C and 40◦C temperatures respectively. By subtracting 240mV and multiplying the result with 56 (160 mV x 56=8.96V), we can get desired output characteristics. Yet another problem to solve is to constrain this voltage in between 0-9Volts. Which can be done by a diode an a 9.1V zenner diode.

  1. Voltage Reference Stage: At this stage, about 240mV+(0.7)/56 is generated. 240mV is due to LM35 and (0.7)/56 is due to forward voltage drop of diode D1. Even though R3 & R4 is >> R1,R2 % R_POT; this voltage reference is not isolated. Also forward votlage drop of the diode may not be exactly 0.7Volts. Thus, a potentiometer is used to find exact point where output is 0 volt at 24C and starts to increase just after that. Then, potentiometer is replaced by resistors.
  2. Subtraction and Amplification Stage: At this stage, reference voltage is subtracted froum LM35 voltage output. The result is multiplied by the ratio of R4/R3. We chosed R4/R3 as 56.
  3. Clipping Stage: This stage rectifies the output of the subtraction stage due to D1. And if voltage of the previous stage is greater than V_Z2, Z2 is activated and voltage upper limit is set.
  4. Buffering Stage: This stage buffers the output.
Experimentally measured input output characteristics and stability of the reference stage due to unstable buss voltage are given below.

Set Unit

Desired temperature is set by adjusting the the potentiometer's knob. The schematic is self explanatory. R1, R2 and R_POT ensures voltage of the second leg of the potentiometer is greater than 0.25V and less than 8.75V.

Control Unit

Operation Unit: Heating and Cooling

Display Unit

THANKS!

Semanur Avşar (Left) & Erdem Canaz (right)
https://youtu.be/WysXOD-1qQ8

ee313-term-project's People

Contributors

erdemcanaz avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.