eGFI - Dream Up the Future Sign-up for The Newsletter  For Teachers Online Store Contact us Search
Read the Magazine
What's New?
Explore eGFI
Engineer your Path About eGFI
Autodesk - Change Your World
Overview E-tube Trailblazers Student Blog
  • Tag Cloud

  • What’s New?

  • Pages

  • RSS RSS

  • RSS Comments

  • Archives

  • Meta

Class Activity: Design a Thermostat

(From Teachengineering.org)

Grade Level: 9 (9-11) Group Size: 2
Time Required: 120 minutes
Expendable Cost Per Group: US$13
(The breadboards, wires, wire strippers, resistors and multimeters can be re-used.)

Summary: Students investigate circuits and their components by building a basic thermostat. They learn why key parts are necessary for the circuit to function, and alter the circuit to optimize the thermostat temperature range. They also gain an awareness of how electrical engineers design circuits for the countless electronic products in our world.
Engineering Connection: Circuits are pervasive in the modern engineered world. Most engineers have a good understanding of electricity and basic circuitry so as to better design everything from cars and houses, to cell phones and computers. Electrical engineers design the circuits that power our houses and appliances. Aerospace and mechanical engineers use their understanding of circuits to design control systems (such as anti-lock brakes), motors, amusement park rides, wave machines and space flight equipment. Other engineers design devices such as thermostats to reduce energy usage and waste.

Related subject area: Physical Science

Pre-requisite Knowledge: A familiarity with circuits in electricity, including the concepts of open and closed circuits.

Learning Objectives

After this activity, students should be able to:

Describe the relationship of a programmable thermostat to energy conservation.
Develop a model of the circuitry in a programmable thermostat.
Describe how engineers use circuit diagrams to design a circuit.
List the advantages of using a breadboard during circuit design.

Materials List

Each group needs:

1 breadboard (EXP 350 recommended, $6 from online vendors; or RadioShack for $8+; or find used breadboards)
1(or more) LM35 temperature sensor chip ($1.29 each, online from www.digikey.com; get extras in case students accidentally break one by setting up the circuit incorrectly.)
1 LM324AN operational amplifier integrated circuit ($1.69 at RadioShack)
1 9-volt battery (or have a few for the class to share)
1 9-volt battery holder (optional, or have a few for the class to share)
Ice
Ziploc bag
Thermostat Worksheet
Breadboard and Circuit Diagram Basics Handout (To download worksheets and handouts, see below).

For the entire class to share:

1 jumper wire kit (preferred since it is easier and reduces set-up time, $6.50 at RadioShack), or each group needs 2 pieces of 1-inch wire, 2 pieces of 3-inch wire, and 5 pieces of 2-inch wire and electrical tape
Small wire strippers (only needed if you are using insulated wire and not the jumper wire kit, to remove insulation at wire ends)
Multiple � watt resistors of various sizes from 500 Ohm up to 10K Ohm (100-piece kit: $6.50; 500 piece kit: $13 at RadioShack)
A few multimeters to make various measurements (such as Kelvin 50LE www.kelvin.com part # 990177, $3.65)
Materials note: The breadboards, wires, wire strippers, resistors and multimeters can be re-used.

Introduction/Motivation

Who can name some things that use a circuit � or multiple circuits? (Possible answers: Cell phones, radios, televisions, computers, video games, cars, houses, buildings, calculators.) Those are all great answers. Everything that plugs into a wall outlet or runs on batteries contains a circuit in order to operate. Can anyone give me a reason why an engineer would need to know about circuits? (Answer: To be able to design and create things that use electricity to operate.) That’s right, many engineers use circuits in the design and manufacture of all the things we mentioned. More than any other type of engineer, electrical engineers primarily design using circuits. They are responsible for the design of most of the circuitry found in the everyday devices all around us, including computers and computer chips. However, many other engineers must have at least a basic understanding of circuits and how to create a simple circuit.

Today, we are going to investigate the circuit in a thermostat. Does anyone know what a thermostat is? A thermostat is a device installed in homes and buildings to regulate the temperature of an area of the building � such as a single room, a few rooms (a zone), or the entire building. Basically a thermostat works by determining the temperature in the immediate area of the sensor and converting that temperature into an electric signal. The thermostat is programmed to perform a chosen task based on that electric signal. The electric signal tells the thermostat to turn on or off a heater or air conditioner so as to change the temperature in the room.

We all want to conserve energy and make sure we are efficient in using energy in our homes, schools and places of work. Did you know that some thermostats are designed to help save energy? Most new homes and businesses use programmable thermostats that regulate the temperature of all or part of a building. These thermostats are useful in saving energy and can be programmed for many different settings. They are often set to not heat or cool a building during times when no people are using the building, since no one is present to benefit from the energy output. These times might be evenings in offices and schools, and daytimes at homes. Can you imagine how much energy we can save if we do not turn on the furnace or air conditioner when it is not needed?

Ask students to look for a thermostat in their homes or school classrooms.

Programmable thermostats can also be set to direct the heater or air conditioner to maintain a temperature range throughout the time when people are using the building; you set a low temperature and an upper temperature that is comfortable for the building’s inhabitants. If at any time the temperature at the thermostat sensor goes out of the set comfort range, the thermostat generates an electric signal to turn on either the heater to heat the room back up into the temperature range, or the air conditioner to cool the room down into the temperature range. The thermostat keeps the heater/cooler on until the temperature gets to the opposite side of the set comfort range, then sends another signal to turn it off, giving the air time to become cool or warm again before the cycle starts over.

For example, if a room goes below a set comfort temperature, the thermostat turns on the heater to warm up the room. The thermostat keeps the heater on until the temperature reaches the upper temperature boundary. Once the room temperature reaches that upper boundary, the thermostat signals to turn the heater off. Since the heater works more efficiently (saving energy) when it is not being turned on and off repeatedly, this ensures that the temperature must drop more than a degree or two before the heater is turned back on. So the benefit of having a programmable thermostat over a standard one, is that it allows you to set your own range of temperatures for the thermostat to keep the room at, rather than having the heater turn on and off repeatedly. With the more advanced programmable thermostat designs, you can program temperature ranges for different days of the week in advance, so you can accommodate differences in building use during weekdays and weekends.

As we mentioned earlier, circuits are used by different types of engineers. For example, circuits are important to mechanical engineers in the design of motors because most motors are run and maintained with a circuit. Mechanical engineers must be knowledgeable about circuits in order to effectively design and create motors to run the parts they design. Teams of engineers from with different specialties often work together to build everything from cars to roller coasters to medical instruments � devices that combine mechanical parts and electrical systems. Knowing the basic components of a circuit and how they fit and work together is important for engineers to understand if they are to design anything that uses electricity.

Today we are going to learn about the different components in a circuit and how to put them together to create a simple circuit, a thermostat. We are going to design a programmable thermostat, in which the user determines the temperature range s/he would like the room/building to remain in and the thermostat makes sure it does that in an energy-efficient way.

Vocabulary/Definitions

Breadboard: A reusable solderless tool used to create a temporary (usually a prototype) circuit to experiment with until a more permanent circuit is created.?
Conductor: A material that allows charges to move easily, such as copper wire.?
Electric current: The flow of electric charge through an electrical circuit or conductor.?
Electrical circuit: A collection of circuit elements (resistances, inductances, capacitances, etc.) connected in closed paths by conductors.?
Hysteresis: An electric circuit that is path-dependent and, thus, has memory.?
Hysteresis band: The difference in voltage between the turn on and turn off points in an electrical circuit using hysteresis.?
Integrated circuit (IC): Several circuit elements that are manufactured together onto a single chip by a sequence of processing steps.?
Operational amplifier (op-amp): An integrated circuit that contains multiple resistors and capacitors. Op-amps have many practical applications in engineering instrumentation.?
Parallel: Two or more circuit elements are in parallel if they are connected to the same node or junction of the circuit and have the same voltage drop across their terminals.?
Resistor: A circuit element that resists electric current and dissipates energy in the form of heat.?
Series: Two or more circuit elements are in series if the same current flows through them.?
Voltage: A measure of the potential energy of an electrical field to cause an electrical current in a conductor.

Procedure

Background

Circuits have become an essential part of our everyday lives. Circuits are found everywhere � in cars, TVs, computers, phones, homes, schools, etc. Their impact on our lives is immense and much of our society would not be the same without the circuit. Most every electrical circuit contains the same basic components � resistors, integrated circuits, capacitors and inductors. Each of these components performs a certain task (sometimes different components are combined to do the job of one of the other components) and are used by most engineers, especially those working with electricity or products that use electricity.

Thermostats are useful devices to regulate the temperature of a room, area or an entire building. They work by using a temperature sensor � generally an electronic chip designed to change its resistance depending on the temperature. As the temperature of the chip changes, the resistance of the chip changes and alters the voltage drop across the chip. The chip is internally calibrated to produce a linear relationship between the temperature and the voltage output of the sensor. After the sensor determines the temperature, the resulting electrical signal (output voltage) is sent into another portion of the circuit designed to interpret the incoming voltage and select an outcome based on the signal. This part of the circuit can be performed in many ways; however, the least complicated way is to use an operational amplifier (op amp).

Using an op amp permits the introduction of hysteresis into the circuit � or memory. In this activity, students take the output signal from the sensor and compare it to a predetermined voltage that is manually set. If the voltage from the sensor measures lower than the voltage the students set, indicating that the temperature sensor is reading a temperature that is colder than what we want it to be, the heater (an LED) turns on to “warm up” the room. Once the heater (LED) turns on, the hysteresis of the op amp forces the heater to stay on until the voltage goes above the second or high voltage set in the desired comfort range. This keeps the thermostat from rapidly turning the heater on and off if the temperature is hovering around the desired initial temperature. By forcing the heater to stay on until the second voltage, the circuit demonstrates path-dependence, which means that it remembers where it has been and uses that to inform what it will do next. It will not turn off after going above the low-set voltage because it “knows” that it just recently went below that mark. It forces the heater to stay on until the second voltage mark is passed.

The circuit the students create contains a LM35 temperature sensor, which has a linear relationship between the temperature of the sensor and the output voltage; the relationship is 10mV for every degree Celsius. Therefore, at room temperature (~20-23 �C), the LM35 should have an output voltage of 200-230mV. As the temperature rises or falls, the output voltage rises or drops 10mV for each degree of temperature change.

Before the Activity

If using insulated wire, cut it into sections for each group.
Make copies of the Thermostat Worksheet and the Breadboard and Circuit Diagram Basics Handout.

With the Students

Divide the class into groups of two or three students each.
Distribute the materials to each group along with the worksheet and handout.
If using the insulated wire, have students strip about � to 3/8 of an inch from both ends of each of the wires.
Have students set up the circuit as shown in Part 1 of the worksheet. Reference the handout for additional information, especially clarification of the circuit diagram symbols and breadboards parts.
Have students turn on the multimeters and set them up to measure voltage in mV.
Have students place the battery in the battery holder, or tape the ends of the two pieces of 3-inch wire to both the positive and negative terminals of the battery.
Connect the wire coming from the positive terminal (denoted with a + on the side of the battery that the positive terminal is on) to the power row on the breadboard.
To complete the circuit, connect the wire coming from the negative terminal (denoted with a (-) on the side of the battery) to the ground row on the breadboard.
Have students complete the circuit check part of the worksheet.
Have students complete the modeling the circuit part of the worksheet.
Have students use multimeters to measure the voltage from the output of the temperature sensor and record the value on the worksheet .
Have one student in each team continue to measure the voltage from the output of the temperature sensor while the others cool the temperature sensor using a Ziploc bag containing ice.
The light should turn on when the temperature (voltage) reaches the low point of our set temperature range. Have students record this value of the voltage on the worksheet.
After the light comes on, have students warm the temperature sensor by blowing on it or pinching it between two fingers.
As the upper temperature (voltage) of our range is reached, the light should turn off. Again, have students record this voltage value on the worksheet.
Have students work out the redesigning the circuit part of the worksheet.
Have students calculate on their worksheet the new voltages corresponding to the new temperatures.
Have students identify which resistors must be changed for their new design and have them change them to coincide with the new cut-off points. (It may be necessary to connect resistors in series or parallel to achieve desired voltages. Also, you may not be able to get the exact resistance the students calculated; if this is the case, have them get as close as possible and note it on the worksheet.)
Have students model the new circuit by repeating steps 10-15 with the new, optimized circuit (Part 5 on the worksheet).
Have students complete the analysis part of the worksheet.
Conclude by leading a class discussion to review the worksheet answers.
To further test students’ comprehension, ask them how they would make the thermostat hysteresis work in reverse, so that the circuit turns on at the higher temperature and turns off at the lower temperature � like an air conditioner, instead of a heater.

Worksheets and handouts:

Thermostat Worksheet
Thermostat Worksheet
Thermostat Worksheet Answers
Thermostat Worksheet Answers
Breadboard and Circuit Diagram Basics Handout
Breadboard and Circuit Diagram Basics Handout
(To download these documents, go to www.teachengineering.org, click on browse, then on activities, then search for Designing a Thermostat).

Safety Issues

Working with electricity is always dangerous. To make sure that a component does not overheat, remind students to double-check their circuit with the circuit diagram and image provided on the worksheet before connecting the circuit to the battery.
Attention to detail is important. Remind students to take care to make sure the components are placed where they should be. The wrong connections to ground and/or power can cause these chips to overheat, smoke, and (potentially) become permanently damaged.

Troubleshooting Tips

Make sure students do not leave the battery connected to the breadboard if they are not actively taking a measurement, debugging or observing the circuit. Keeping it unconnected most of the time prolongs the life of the battery and ensures that the circuit components do not get too hot by being “left on” for a while.

If a team’s circuit is not working, disconnect the breadboard wires coming from the battery and double-check the circuit diagram and circuit. Make sure that the pins from the LM35 and LM324AN are connected and oriented correctly. If everything looks good, reconnect the battery and debug the circuit using the multimeter. Check the input and ground pins of the temperature sensor and the LM324AN to make sure they are connected properly. The multimeter should read 9 volts (or close to that) for the input on the temperature sensor; the ground for both should read zero volts (or close to that). The input of the LM324AN should be the same as the output of the temperature sensor. Also check the connections to the LED; make sure there is an input when there should be one, and that the ground pin of the LED reads zero volts.

LEDs can easily burn out if they are left on too long, or if too large of a current is sent through them. This is why the output from the LM324AN goes through a resistance before reaching the LED. If a circuit is not working, and everything else seems to be in the correct place, try a different LED.

Make sure that none of the resistors touch another resistor, which makes those two resistors in series and thus changes the value of the resistance, and consequently the voltage going through that section of the circuit.

Assessment

Pre-Activity Assessment

Class Discussion Question: Ask the students and discuss as a class:

Why might it be a good idea to be able to control at which temperatures a heater and/or air conditioner turns on and off?

Activity Embedded Assessment

Worksheet: Have students complete the activity worksheet; review their answers to gauge their mastery of the subject.

Post-Activity Assessment

Worksheet Discussion: Review and discuss the worksheet answers with the entire class. Use students’ answers to gauge their mastery of the subject. In Reverse: Have students either brainstorm or research ways to allow the thermostat hysteresis work in reverse, so that the circuit turns on at the higher temperature and turns off at the lower temperature � like an air conditioner, instead of a heater. To do this, the students would rewire the circuit to turn on and off at different temperatures.

Activity Extensions

Have students research hysteresis. Find out what it means, how this circuit uses hysteresis and other examples of hysteresis.

Have students research where else hysteresis shows up. Have them prepare a paragraph describing the phenomenon they discover and how it displays hysteresis. Also have them compare it to the circuit they have just built. How are they similar? How are they different?

Activity Scaling

For students with a better understanding of circuit analysis, have them research the formulas used to determine the resistances needed to set the on/off points (Kirchhoff’s voltage and current laws, Ohm’s Law, etc.).

Owner: Integrated Teaching and Learning Program, College of Engineering, University of Colorado at Boulder. Contributors: Tyler Maline, Lauren Cooper, Malinda Schaefer Zarske, Denise W. Carlson.

Copyright: � 2007 by Regents of the University of Colorado

Comments or Questions?

By clicking the "Submit" button you agree to the eGFI Privacy Policy.