Unformatted text preview:

ThermostatThis laboratory demonstrates very basic principles of the design and operation of feedback control systems. Feedback control, also known as system dynamics, is a major area of study in Mechanical Engineering. Systems such as gas turbines, weapons guidance systems, and vertical take-off and landing (VTOL) airplanes all use feedback control. Typically, mechanical actuators on these systems are controlled by a combination of computer hardware, software and sensors that may sense position, velocity, acceleration or anything else. The sensors and computers tell the mechanical components what to do.In this lab, you will design, build and program a robot to act as a feedback control thermostat. The robot will heat a bucket of cold water up to 40 degrees Celsius by adding hot water until the proper temperature is reached. You will first calibrate the Lego temperature sensor to the water temperature your TA is using, then complete the rest of the lab.QuestionsMAE 117 - Introduction to Mechanical EngineeringCornell University, Fall 2008Lego Mindstorms Laboratory Session #2ThermostatIntroductionThis laboratory demonstrates very basic principles of the design and operation of feedback controlsystems. Feedback control, also known as system dynamics, is a major area of study in MechanicalEngineering. Systems such as gas turbines, weapons guidance systems, and vertical take-off andlanding (VTOL) airplanes all use feedback control. Typically, mechanical actuators on these systems arecontrolled by a combination of computer hardware, software and sensors that may sense position,velocity, acceleration or anything else. The sensors and computers tell the mechanical components whatto do. In this lab, you will design, build and program a robot to act as a feedback control thermostat. The robotwill heat a bucket of cold water up to 40 degrees Celsius by adding hot water until the proper temperatureis reached. You will first calibrate the Lego temperature sensor to the water temperature your TA is using,then complete the rest of the lab. EquipmentOne Lego Mindstorms Invention System kit, Lego temperature sensor, water proof containers, brass ballvalve, mounting stand and duct tape.Procedure1. Write a program to measure what temperature your sensor indicates. The TA will have a controlsource of water at 40 Celsius. You will want to have your water stay at this temperature. Try tomeasure the approximate time it takes for the sensor to adjust to the proper temperature. This time isimportant in determining the intervals between adding hot water to the cold water.2. Before you start building, design a robot that will use the valve to let hot water into the bucket of coldwater until the temperature in the bucket reaches 40 degrees Celsius. Make several sketches ofpossible ideas prior to building the robot. Think about how you will use the various gears and motors,and how you will attach the robot to the valve. Show your TA your design when you are finished, andhe will provide a set of Lego Mindstorms.3. Build your robot. You may want to use a long arm attached to the motor, or you could make a gearbox to attach the motor directly to the handle. The method for controlling the ball valve is up to you.You may have to attach your robot to the valve using the duct tape provided. As you are designingand building the robot, think about how you are going to write the program to operate it.4. While your robot is being built, have one or two group members write a program to operate it, thendownload the program to the RCX unit with the infared transmitter. 5. Test and debug your robot until it is time to do the final run. When you are ready, the TA will watchyou perform the test, then he will measure the final temperature of your water. Questions1. Give a detailed description of your robot, including the program. Draw the program as it appeared onthe screen. How could your robot be improved? Include drawings of how your robot works.2. What temperature did your robot bring the water to? If it was not exactly 40º, what are some possiblereasons for the error? If it was exactly 40º, what made yours perfect?3. Did your robot cause the temperature to fluctuate up and down around 40 ? If so, what should youhave done to correct this problem? If not, how did you insure that the temperature remainedconstant?4. How long did it take your program to reach the desired temperature? Try to think of some ways tolower the amount of time and the number of commands needed to reach the same goal.5. Can you think of any other systems that use feedback control? List at least three (Not including thosementioned in the introduction). 6. Include a paragraph on what was accomplished in Lab last week. Was your group able to completeall the tasks? What special task did your robot perform? Draw a picture of your program and explainit.Lab ReportInclude answers to all questions, all the data you collected, drawings of how your robot works, as well ashow the program works, and comments and suggestions for the


View Full Document

CORNELL MAE 1170 - Study Notes

Download Study Notes
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Study Notes and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Study Notes 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?