Difference between revisions of "Detector Building"

From Scioly.org
Jump to: navigation, search
m (adding soinc website and top 3 from 2019 nats trial)
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{Incomplete}}
 
{{Incomplete}}
 +
 
{{EventLinksBox
 
{{EventLinksBox
 
|active=yes
 
|active=yes
Line 6: Line 7:
 
|type=Engineering
 
|type=Engineering
 
|cat=Build
 
|cat=Build
|B Champion=
+
|Website=https://www.soinc.org/detector-building-c
|C Champion=[[Chattahoochee High School]]
+
|1stCName=Chattahoochee High School
 +
|2ndCName=Pearl City High School
 +
|3rdCName=Ed W. Clark High School
 
}}
 
}}
'''Detector Building''' is a [[Division C]] event for the [[2020]] season. It was a featured trial event at the [[2019]] [[Cornell University 2019|National Tournament]], and was also run at various [[2019]] state tournaments including [[North Carolina]], [[Texas]], and [[Florida]]. In this event, students are required to build a sensor or detector that fits the parameters outlined in the rules.  
+
'''Detector Building''' is a [[Division C]] event for the [[2020]] season. Previously, it was a featured trial event at the [[2019]] [[Cornell University 2019|National Tournament]] and was also run at various [[2019]] state tournaments including [[North Carolina]], [[Texas]], and [[Florida]].
  
==The Event==
+
For the 2020 event, students are required to build an electronic temperature-sensing device that measures and displays temperatures for water samples.
In the 2019 season, participants are required to build a temperature sensing device that accurately measures and displays temperatures from 0 C to 100 C using a microcontroller board such as an Arduino or a Raspberry Pi. Teams are also required to submit a Design Log including a picture or schematic, a practice log with a minimum of 10 trials, an equation modeling the data, and an explanation of the device's programming. All items must be impounded, with the exception of tools. The sensing device is tested at four different stations, where it must measure the temperature of the water and display the temperature zone using colored LED indicators. The device may be connected to a laptop, but it must withstand the temperatures it could possibly be subjected to.  
 
  
A test is also given at the event over the theories behind it. The test has 10-15 questions, and is used as a tiebreaker. Questions can be about electricity (voltage, resistance, etc.), how an LED works, calibration, or construction parameters. The test questions can be answered at any time during the event.
+
==Event Summary==
==Preparation==
+
For the 2020 season, students are required to build a temperature-sensing device that accurately measures and displays temperatures from 0°C to 75°C using a microcontroller board such as the TI Innovator, Arduino, or Raspberry Pi. The device must contain red, green, and blue LEDs to indicate temperature ranges. Teams are also required to prepare a Design Log that contains a photograph and description of the device, temperature/voltage raw data, plotted temperature/voltage data, mathematical model(s) used for temperature-voltage conversions, and annotated printouts of code.  
  
==Electricity==
+
At the competition, students will adjust the temperature ranges that correspond to each LED color combination on their device before measuring and displaying temperatures and LED color combinations for four water samples provided by Event Supervisors.
  
===LEDs===
+
The event includes a written test that covers topics including temperature/voltage/resistance relationships, theory and operation of electrical components, and determining real world relationships from raw data.
 +
 
 +
==The Device==
  
===Resistors and thermistors===
 
  
==Microcontrollers==
+
===Microcontrollers===
 
Microcontrollers are small computers that run a specified program on an integrated circuit. Manufacturers have the option of mounting microcontrollers onto a circuit board connecting to an ordinary computer, which can read data from the microcontroller and write a program to the microcontroller. This lets users control the microcontroller from their laptop or desktop computer, allowing ease of coding. Some examples of microcontroller boards are TI Innovator, Raspberry Pi, and Arduino.
 
Microcontrollers are small computers that run a specified program on an integrated circuit. Manufacturers have the option of mounting microcontrollers onto a circuit board connecting to an ordinary computer, which can read data from the microcontroller and write a program to the microcontroller. This lets users control the microcontroller from their laptop or desktop computer, allowing ease of coding. Some examples of microcontroller boards are TI Innovator, Raspberry Pi, and Arduino.
  
===TI Innovator===
+
====TI Innovator====
 
 
  
  
 
+
====Arduino====
 
 
===Arduino===
 
 
:''See also: [[Amazing Mechatronics#Arduino|Amazing Mechatronics § Arduino]]''
 
:''See also: [[Amazing Mechatronics#Arduino|Amazing Mechatronics § Arduino]]''
  
Line 47: Line 47:
 
Electricity can break an Arduino. If more than 40 milliamps of current travel through a pin, the Arduino may reboot or the pin may "burnt out," leaving it permanently disabled.  
 
Electricity can break an Arduino. If more than 40 milliamps of current travel through a pin, the Arduino may reboot or the pin may "burnt out," leaving it permanently disabled.  
  
====Useful commands====
+
=====Useful commands=====
  
 
<!-- maybe this section should be turned into a bogus example of a detector so that people can see how the code actually converts raw data into temperature? -->
 
<!-- maybe this section should be turned into a bogus example of a detector so that people can see how the code actually converts raw data into temperature? -->
Line 55: Line 55:
 
<code>Serial.println("Hello world!")</code> - prints <code>Hello world!</code> onto the serial monitor
 
<code>Serial.println("Hello world!")</code> - prints <code>Hello world!</code> onto the serial monitor
  
===Raspberry Pi===
+
====Raspberry Pi====
 
Raspberry Pi is a microcomputer that runs the Raspbian operating system, which is derived from Linux. In this way, it is more versatile than many other microcontroller systems. For instance, Raspberry Pi can link directly to an HDMI-enabled monitor as well as keyboard and mouse. However, the Raspberry Pi must be fed large amounts of electricity to sustain its powerful processing, and it is therefore susceptible to overheating. A fan may be installed to cool the Pi down. (Because the Pi processors overheat rather than the wires, overheating and fanning have negligible impact on temperature sensing.)
 
Raspberry Pi is a microcomputer that runs the Raspbian operating system, which is derived from Linux. In this way, it is more versatile than many other microcontroller systems. For instance, Raspberry Pi can link directly to an HDMI-enabled monitor as well as keyboard and mouse. However, the Raspberry Pi must be fed large amounts of electricity to sustain its powerful processing, and it is therefore susceptible to overheating. A fan may be installed to cool the Pi down. (Because the Pi processors overheat rather than the wires, overheating and fanning have negligible impact on temperature sensing.)
  
 
Raspberry Pi requires socket-type wires in order for you to connect it to other electrical components.
 
Raspberry Pi requires socket-type wires in order for you to connect it to other electrical components.
 +
 +
==Design Log==
 +
The Design Log is a report on the temperature-sensing device that contains a photograph and description of the device, temperature/voltage raw data, plotted temperature/voltage data, mathematical model(s) used for temperature-voltage conversions, and annotated printouts of code.
 +
 +
The Design Log should not be overlooked for it contributes a fifth of the total possible points. The following suggestions are included to maximum points earned by teams on their Design Logs. In general, making the Design Log as self-explanatory as possible is recommended.
 +
 +
{| class="wikitable"
 +
! Suggestion
 +
! Good Example
 +
! Bad Example
 +
|-
 +
|
 +
* Use a photograph (not drawing) of your device with a clear light-colored background. For example, photograph your device on a sheet of white paper.
 +
* Position your device components in the photograph such that all important components are clearly visible and not overlapping.
 +
* Include labels for all important components. For wires, specify what it is used for, e.g. ground, power, analogue inputs, etc.
 +
* Use descriptive labels that provide as much detail as possible. Specify values (e.g. resistances) and part numbers (e.g. "NTCLE100E3") where applicable.
 +
| [[Image:Detector-building photograph good.png|300px]]
 +
| [[Image:Detector-building photograph bad.png|300px]]
 +
|-
 +
|
 +
* Provide a descriptive title and label all columns/rows with units.
 +
* Use consistent and appropriate significant figures for values. For example, 3.61827319923 V from an Arduino probably is not reasonable.
 +
* Check that values are actually temperature and voltage (and not analogue input values). For example, a value of 700 probably is neither a temperature nor voltage measurement.
 +
| [[Image:Detector-building table good.png|300px]]
 +
| [[Image:Detector-building table bad.png|300px]]
 +
|-
 +
|
 +
* Use a descriptive title for your plot.
 +
* Label all axes including units.
 +
* Set axis ranges to maximize usage of the plotting area.
 +
* Provide an equation (rather than an expression) for the model. An equation has an 'equals' sign.
 +
* Write the model equation such that temperature is the output, i.e. T = _____, and voltage is the input.
 +
* Describe and provide units for variables in the model equation.
 +
* Display plots on a full page so they can be viewed comfortably.
 +
| [[Image:Detector-building graph good.png|300px]]
 +
| [[Image:Detector-building graph bad.png|300px]]
 +
|-
 +
|
 +
* Organize code into sections to facillitate reading. For example, group pin declarations together.
 +
* Annotate code with comments that describe purpose of each line/section of code.
 +
* Highlight (not underlike or circle) the sections of code as required by the rules.
 +
| [[Image:Detector-building code good.png|300px]]
 +
| [[Image:Detector-building code bad.png|300px]]
 +
|-
 +
|}
 +
 +
==Written Test==
 +
 +
===Light-emitting Diodes (LEDs)===
 +
 +
An LED is a semiconductor light source that emits light when current flows through it. When a current flows through the diode, electrons are able to recombine with electron holes within the device, releasing energy in the form of photons.The color of the light (corresponding to the energy of the photons) is determined by the energy band gap of the semiconductor. White light is obtained by using multiple semiconductors or a layer of light-emitting phosphor on the semiconductor device.
 +
 +
====History====
 +
 +
Appearing as practical electronic components in 1962, the earliest LEDs emitted low-intensity infrared light. Infrared LEDs are still frequently used as transmitting elements in remote-control circuits, such as those used with a wide variety of consumer electronics. The first visible-light LEDs were of low intensity and limited to red. Modern LEDs are available across the visible, ultraviolet, and infrared wavelengths, with high light output.
 +
 +
Early LEDs were often used as indicator lamps, replacing small incandescent bulbs, and in seven-segment displays. Recent developments have produced white-light LEDs suitable for room lighting. LEDs have led to new displays and sensors, while their high switching rates are useful in advanced communications technology.
 +
 +
====Advantages and Modern Use====
 +
 +
LEDs have many advantages over incandescent light sources, including lower energy consumption, longer lifetime, improved physical robustness, smaller size, and faster switching. Light-emitting diodes are used in applications as diverse as aviation lighting, automotive headlamps, advertising, general lighting, traffic signals, camera flashes, lighted wallpaper and medical devices.
 +
 +
Unlike a laser, the color of light emitted from an LED is neither coherent nor monochromatic, but the spectrum is narrow with respect to human vision, a.nd functionally monochromatic.
 +
 +
===Resistors and thermistors===
 +
  
 
==Scoring==
 
==Scoring==
The team with the highest Total Score wins. A team's score is based off of how accurate their device is and whether or not they have a complete design log, as well as a test about a team's knowledge of electricity and detector construction. A complete Design Log gives 28 points. 60 points total are possible based on how accurate the sensor is when displaying the temperature at all four stations (15 points per station). If the detector turns on LEDs of the correct color at a station, 5 more points are awarded, or at most 20 points for all four stations. A 10-15 question test is worth 30 points. Prior to the 2019-20 season, the written test was only used to break ties.
+
Each team's '''Total Score''' is the sum of their Temperature Accuracy Score, points earned for correct LEDs, Design Log score, and Written Test score. The team with the highest Total Score wins.
==External Links==
+
 
*[https://www.soinc.org/sites/default/files/uploaded_files/Sample_Innovator_Code.pdf Sample code to be used with the TI Innovator]
+
The '''Temperature Accuracy Score''' is calculated using the absolute error at each station between the temperature displayed by a team's device and a calibration thermometer, with points awarded for displaying the '''correct color LED(s)''' at each station. '''Design Logs''' are scored on completeness and each team's ability to answer questions about seven required sections. The '''Written Test''' is written with scoring decided by the Event Supervisor, with a maximum of 30 possible points allowed by the rules. Prior to the 2019-20 season, the written test was only used to break ties.
 +
 
 +
{| class="wikitable"
 +
! Component
 +
! Description
 +
! Points Possible
 +
|-
 +
| Temperature Accuracy Score
 +
| Based on error between the temperature displayed by a team's device and a calibration thermometer, scored with the formula ''60 points - (total absolute error of the 4 temperature measurements x multiplier)'', where ''maximum absolute error x multipler'' per station is 15. Multipliers are 2 for regional, 3 for state, and 4 for national.
 +
| 60 points
 +
|-
 +
| Correct LEDs
 +
| Points for displaying the correct LED colors at each of the 4 water stations, with 5 points per station.
 +
| 20 points
 +
|-
 +
| Design Log
 +
| A report on the device assessed on 7 criteria, each scored out of 4 points.
 +
| 28 points
 +
|-
 +
| Written Test
 +
| A written test covering topics listed in the rules.
 +
| Up to 30 points
 +
|-
 +
| '''Total Score'''
 +
| '''The sum of the Temperature Accuracy Score, points earned for correct LEDs, Design Log score, and Written Test score.'''
 +
| '''Up to 138 points'''
 +
|-
 +
|}
  
 +
==Other Resources==
 +
* [https://www.soinc.org/sites/default/files/uploaded_files/Sample_Innovator_Code.pdf Sample code from Science Olympiad to be used with the TI Innovator]
 +
* [https://www.soinc.org/sites/default/files/uploaded_files/Detector_Building_ESGuide_updated_112619_0.pdf Guide to running the event from Science Olympiad]
 +
* [https://www.soinc.org/sites/default/files/uploaded_files/DetectorBuiliding_Illegal_Legal_Sensosrs.pdf List of example legal and illegal sensors from Science Olympiad]
 +
* Event tutorial for participants from Texas Instruments on YouTube: [https://www.youtube.com/watch?v=t8rcQ76VUzY Introduction] [https://www.youtube.com/watch?v=WNzPETuXfbQ Part 1] [https://www.youtube.com/watch?v=icSYtbhvLFw Part 2] [https://www.youtube.com/watch?v=1xScyFGx0bo Part 3] [https://www.youtube.com/watch?v=IUARmNoAF3Y Part 4]
 +
* Event overview for participants and Event Supervisors from North Carolina Science Olympiad on YouTube: [https://www.youtube.com/watch?v=fr1GaHujWKE Part 1] [https://www.youtube.com/watch?v=CWofZBR5vus Part 2]
  
 +
{{2019 National Trials}}
 +
{{Technology and Engineering Event}}
 +
{{2021Events}}
 +
[[Category:Technology and Engineering Events]]
 
[[Category:Building Event Pages]]
 
[[Category:Building Event Pages]]
 +
[[Category:Trial Event Pages]]
 +
[[Category:Event Pages]]

Latest revision as of 22:50, 29 June 2020

Detector Building
This event is an event held in the current season.

Type Engineering
Category Build
Latest Appearance 2020
Forum Threads
Official Resources
Website soinc.org
Division C Results
1st Chattahoochee High School
2nd Pearl City High School
3rd Ed W. Clark High School

Detector Building is a Division C event for the 2020 season. Previously, it was a featured trial event at the 2019 National Tournament and was also run at various 2019 state tournaments including North Carolina, Texas, and Florida.

For the 2020 event, students are required to build an electronic temperature-sensing device that measures and displays temperatures for water samples.

Event Summary

For the 2020 season, students are required to build a temperature-sensing device that accurately measures and displays temperatures from 0°C to 75°C using a microcontroller board such as the TI Innovator, Arduino, or Raspberry Pi. The device must contain red, green, and blue LEDs to indicate temperature ranges. Teams are also required to prepare a Design Log that contains a photograph and description of the device, temperature/voltage raw data, plotted temperature/voltage data, mathematical model(s) used for temperature-voltage conversions, and annotated printouts of code.

At the competition, students will adjust the temperature ranges that correspond to each LED color combination on their device before measuring and displaying temperatures and LED color combinations for four water samples provided by Event Supervisors.

The event includes a written test that covers topics including temperature/voltage/resistance relationships, theory and operation of electrical components, and determining real world relationships from raw data.

The Device

Microcontrollers

Microcontrollers are small computers that run a specified program on an integrated circuit. Manufacturers have the option of mounting microcontrollers onto a circuit board connecting to an ordinary computer, which can read data from the microcontroller and write a program to the microcontroller. This lets users control the microcontroller from their laptop or desktop computer, allowing ease of coding. Some examples of microcontroller boards are TI Innovator, Raspberry Pi, and Arduino.

TI Innovator

Arduino

See also: Amazing Mechatronics § Arduino

Arduino is a family of microcontroller boards that run open source Arduino software and are approved by the Arduino S.r.l. company. Arduino code is written in syntax based on the C language.

The Arduino can transmit data to an output on your computer known as the serial monitor. You'll be able to use the serial monitor to read data from the Arduino, and this may help at debugging code in the early stages of the process.

The Arduino has both digital pins and analog pins, as well as pins that are neither. Analog and digital pins may be input (to read data) or output (acting as a source of current). Digital pins are all-or-nothing pins: they may be HIGH, where they have an output of 5 volts (3.3 volts on some Arduino models), or LOW, where they serve as ground (0 volts). However, they cannot be set to intermediate voltage values between HIGH and LOW. Analog pins too can also be used to source current, but unlike digital pins, analog pins can acquire a range of voltage values between 0 V and 5 V.

An Arduino connected to a breadboard for water quality. Teams who do not use laptops may choose to show their temperature reading on a liquid crystal display instead (depicted).

Pins that are neither digital nor analog include the 5 V and ground pins. The Arduino references its voltage measurements relative to the ground pin, which acts as 0 V.

Electricity can break an Arduino. If more than 40 milliamps of current travel through a pin, the Arduino may reboot or the pin may "burnt out," leaving it permanently disabled.

Useful commands

Serial.begin(9600) - initializes the serial monitor, with data transferred from the Arduino to your laptop at a rate of 9600 bits per second

Serial.println("Hello world!") - prints Hello world! onto the serial monitor

Raspberry Pi

Raspberry Pi is a microcomputer that runs the Raspbian operating system, which is derived from Linux. In this way, it is more versatile than many other microcontroller systems. For instance, Raspberry Pi can link directly to an HDMI-enabled monitor as well as keyboard and mouse. However, the Raspberry Pi must be fed large amounts of electricity to sustain its powerful processing, and it is therefore susceptible to overheating. A fan may be installed to cool the Pi down. (Because the Pi processors overheat rather than the wires, overheating and fanning have negligible impact on temperature sensing.)

Raspberry Pi requires socket-type wires in order for you to connect it to other electrical components.

Design Log

The Design Log is a report on the temperature-sensing device that contains a photograph and description of the device, temperature/voltage raw data, plotted temperature/voltage data, mathematical model(s) used for temperature-voltage conversions, and annotated printouts of code.

The Design Log should not be overlooked for it contributes a fifth of the total possible points. The following suggestions are included to maximum points earned by teams on their Design Logs. In general, making the Design Log as self-explanatory as possible is recommended.

Suggestion Good Example Bad Example
  • Use a photograph (not drawing) of your device with a clear light-colored background. For example, photograph your device on a sheet of white paper.
  • Position your device components in the photograph such that all important components are clearly visible and not overlapping.
  • Include labels for all important components. For wires, specify what it is used for, e.g. ground, power, analogue inputs, etc.
  • Use descriptive labels that provide as much detail as possible. Specify values (e.g. resistances) and part numbers (e.g. "NTCLE100E3") where applicable.
Detector-building photograph good.png Detector-building photograph bad.png
  • Provide a descriptive title and label all columns/rows with units.
  • Use consistent and appropriate significant figures for values. For example, 3.61827319923 V from an Arduino probably is not reasonable.
  • Check that values are actually temperature and voltage (and not analogue input values). For example, a value of 700 probably is neither a temperature nor voltage measurement.
Detector-building table good.png Detector-building table bad.png
  • Use a descriptive title for your plot.
  • Label all axes including units.
  • Set axis ranges to maximize usage of the plotting area.
  • Provide an equation (rather than an expression) for the model. An equation has an 'equals' sign.
  • Write the model equation such that temperature is the output, i.e. T = _____, and voltage is the input.
  • Describe and provide units for variables in the model equation.
  • Display plots on a full page so they can be viewed comfortably.
Detector-building graph good.png Detector-building graph bad.png
  • Organize code into sections to facillitate reading. For example, group pin declarations together.
  • Annotate code with comments that describe purpose of each line/section of code.
  • Highlight (not underlike or circle) the sections of code as required by the rules.
Detector-building code good.png Detector-building code bad.png

Written Test

Light-emitting Diodes (LEDs)

An LED is a semiconductor light source that emits light when current flows through it. When a current flows through the diode, electrons are able to recombine with electron holes within the device, releasing energy in the form of photons.The color of the light (corresponding to the energy of the photons) is determined by the energy band gap of the semiconductor. White light is obtained by using multiple semiconductors or a layer of light-emitting phosphor on the semiconductor device.

History

Appearing as practical electronic components in 1962, the earliest LEDs emitted low-intensity infrared light. Infrared LEDs are still frequently used as transmitting elements in remote-control circuits, such as those used with a wide variety of consumer electronics. The first visible-light LEDs were of low intensity and limited to red. Modern LEDs are available across the visible, ultraviolet, and infrared wavelengths, with high light output.

Early LEDs were often used as indicator lamps, replacing small incandescent bulbs, and in seven-segment displays. Recent developments have produced white-light LEDs suitable for room lighting. LEDs have led to new displays and sensors, while their high switching rates are useful in advanced communications technology.

Advantages and Modern Use

LEDs have many advantages over incandescent light sources, including lower energy consumption, longer lifetime, improved physical robustness, smaller size, and faster switching. Light-emitting diodes are used in applications as diverse as aviation lighting, automotive headlamps, advertising, general lighting, traffic signals, camera flashes, lighted wallpaper and medical devices.

Unlike a laser, the color of light emitted from an LED is neither coherent nor monochromatic, but the spectrum is narrow with respect to human vision, a.nd functionally monochromatic.

Resistors and thermistors

Scoring

Each team's Total Score is the sum of their Temperature Accuracy Score, points earned for correct LEDs, Design Log score, and Written Test score. The team with the highest Total Score wins.

The Temperature Accuracy Score is calculated using the absolute error at each station between the temperature displayed by a team's device and a calibration thermometer, with points awarded for displaying the correct color LED(s) at each station. Design Logs are scored on completeness and each team's ability to answer questions about seven required sections. The Written Test is written with scoring decided by the Event Supervisor, with a maximum of 30 possible points allowed by the rules. Prior to the 2019-20 season, the written test was only used to break ties.

Component Description Points Possible
Temperature Accuracy Score Based on error between the temperature displayed by a team's device and a calibration thermometer, scored with the formula 60 points - (total absolute error of the 4 temperature measurements x multiplier), where maximum absolute error x multipler per station is 15. Multipliers are 2 for regional, 3 for state, and 4 for national. 60 points
Correct LEDs Points for displaying the correct LED colors at each of the 4 water stations, with 5 points per station. 20 points
Design Log A report on the device assessed on 7 criteria, each scored out of 4 points. 28 points
Written Test A written test covering topics listed in the rules. Up to 30 points
Total Score The sum of the Temperature Accuracy Score, points earned for correct LEDs, Design Log score, and Written Test score. Up to 138 points

Other Resources