Design Report Southern Illinois Power Cooperative Wireless Data Acquisition To Southern Illinois Power Cooperative Submitted By: Saluki Engineering Company Project Number: S11-61-SIPCWDAQ Team Members: Stephen Seipel EE Katie Rick EE Jenny Duan EE Scott Parroné CpE, EE November 29, 2011 November 29, 2011 Saluki Engineering Company Senior Engineering Design Center College of Engineering - Mailcode 6603 Carbondale, IL 62901-6603 (309)-255-1599 stephenseipel@gmail.com Scott Achelpohl Southern Illinois Power Cooperative 5975 Giant City Road Carbondale IL 62902 (618)-599-3212 Dear Mr. Achelpohl: This letter is in response to your request for a design report for the wireless sensor network. Furthermore, I would like to thank you for giving us the opportunity to submit a design report for this project. The SIPCWDAQ team at the Saluki Engineering Company believes the report of the design has met or exceeded the requirements as required in the request for report submitted to the Saluki Engineering Company February 15, 2011. The team has designed a system with an Omega infrared sensor, which exceeds the requirements, and an Extech anemometer, which will be modified to meet the requirements of the proposed application of the wireless sensor network. Along with these two sensors the team has designed a data logger with multiple analog inputs, data storage and the ability to communicate wirelessly with other data loggers we design. If there are any questions regarding the report, please feel free to contact me either by phone number or the e-mail address listed above. Once again, thank you for this opportunity. Sincerely Stephen Seipel Project Manager 2.1-2 Table of Contents Table of Contents .................................................................................................................................... 2.1-3 Figures ..................................................................................................................................................... 2.1-6 Tables ...................................................................................................................................................... 2.1-6 Executive summary ................................................................................................................................. 2.1-8 Acknowledgements................................................................................................................................. 2.1-9 1. Introduction .................................................................................................................................. 2.1-10 2. Project description ........................................................................................................................ 2.1-11 2.1. Overview ............................................................................................................................... 2.1-11 2.1.1. Technical Description .................................................................................................... 2.1-11 2.1.2. Functional Description .................................................................................................. 2.1-11 2.1.3. Definition....................................................................................................................... 2.1-11 2.1.4. Discussion of options and trade-off studies, justification for chosen option ............... 2.1-11 2.1.5. Description of appearance ............................................................................................ 2.1-11 2.2. Wireless Subsystem .............................................................................................................. 2.2-14 2.2.1. Description of function or purpose ............................................................................... 2.2-14 2.2.2. Discussion of options and trade-off studies, justification for chosen options ............. 2.2-14 2.2.3. Description of relationships to the other subsystems .................................................. 2.2-14 2.2.4. List of equipment, materials, and components and Cost data ..................................... 2.2-15 2.2.5. Transition to the next subsystem ................................................................................. 2.2-15 2.2.6. Engineering drawings .................................................................................................... 2.2-16 2.2.7. References .................................................................................................................... 2.2-17 2.3. Data Logger Subsystem ......................................................................................................... 2.3-18 2.3.1. Description of function or purpose ............................................................................... 2.3-18 2.3.2. Discussion of options and trade-off studies, justification for chosen options ............. 2.3-18 2.3.3. Appearance ................................................................................................................... 2.3-18 2.3.4. Description of relationships to the other subsystems .................................................. 2.3-18 2.3.5. 2.1.4 List of equipment, materials, and components ................................................... 2.3-19 2.3.6. Transition to the next subsystem ................................................................................. 2.3-19 2.3.7. Engineering drawings .................................................................................................... 2.3-20 2.1-3 2.3.8. 2.4. 4. Power .................................................................................................................................... 2.4-25 2.4.1. Description of function or purpose of power ............................................................... 2.4-25 2.4.2. Discussion of options and trade-off studies: ................................................................ 2.4-25 2.4.3. Description of Relationships to the Other Subsystems ................................................ 2.4-25 2.4.4. List of Materials and Components ................................................................................ 2.4-26 2.4.5. Transition to Sensors..................................................................................................... 2.4-26 2.4.6. Drawings ....................................................................................................................... 2.4-26 2.4.7. References .................................................................................................................... 2.4-27 2.5. 3. References .................................................................................................................... 2.3-24 Sensors .................................................................................................................................. 2.5-28 2.5.1. Description of function or Purpose ............................................................................... 2.5-28 2.5.2. Discussion of options and trade-off studies: ................................................................ 2.5-28 2.5.3. Description of Relationships to the Other Subsystems ................................................ 2.5-29 2.5.4. List of Materials and Components ................................................................................ 2.5-29 2.5.5. Cost Data ....................................................................................................................... 2.5-29 2.5.6. Schedule Data ............................................................................................................... 2.5-29 2.5.7. Drawings ....................................................................................................................... 2.5-30 2.5.8. References .................................................................................................................... 2.5-30 Cost and Implementation schedule .............................................................................................. 2.5-31 3.1. Cost ....................................................................................................................................... 3.1-31 3.2. Implementation schedule ..................................................................................................... 3.2-32 Other Issues .................................................................................................................................. 3.2-33 4.1. Health issues ......................................................................................................................... 4.1-33 4.2. Safety issues .......................................................................................................................... 4.2-33 4.2.1. Battery Safety Issues: .................................................................................................... 4.2-33 4.2.2. OS100E Series Safety and Concerns.............................................................................. 4.2-33 4.3. Environmental issues ............................................................................................................ 4.3-34 4.3.1. Battery........................................................................................................................... 4.3-34 4.3.2. OS100E Sensor .............................................................................................................. 4.3-34 4.4. Manufacturability ................................................................................................................. 4.4-34 5. Conclusions and recommendations .............................................................................................. 4.4-35 6. Appendices .................................................................................................................................... 4.4-36 2.1-4 6.1. Test wind speed by using Extech® model 45158 mini thermo-anemometer ....................... 6.1-36 6.2. Test Infrared Temperature Sensor........................................................................................ 6.2-40 6.3. Test humidity by using Extech model 45158 mini thermo-anemometers. .......................... 6.3-45 6.4. Code ...................................................................................................................................... 6.4-48 2.1-5 Figures Figure 2.1-1 Block Diagram ................................................................................................................... 2.1-12 Figure 2.1-2 PCB Layout ........................................................................................................................ 2.1-13 Figure 2.2-1 CDR-915L - Mechanical [2.2.8].......................................................................................... 2.2-16 Figure 2.2-2 Interface Board - Mechanical [2.2.9] ................................................................................ 2.2-16 Figure 2.3-1 Functional Block Diagram [2.3.1] ...................................................................................... 2.3-20 Figure 2.3-2 MSP430F229 Pin Out [2.3.2] ............................................................................................. 2.3-20 Figure 2.3-3 Data Logger Schematic ..................................................................................................... 2.3-21 Figure 2.3-4 Top Silkscreen Showing Location of Components ............................................................ 2.3-22 Figure 2.3-5 Top Copper ....................................................................................................................... 2.3-23 Figure 2.3-6 Bottom Copper ................................................................................................................. 2.3-24 Figure 2.4-1 LM2937 Schematic 5.0V output ....................................................................................... 2.4-26 Figure 2.4-2 LM2937 Schematic 3.3V output ....................................................................................... 2.4-26 Figure 2.5-1 Infrared Sensor Connections ............................................................................................ 2.5-30 Figure 3.2-1 Implementation schedule ................................................................................................. 3.2-32 Figure 4.3-1 Expected Batter life .......................................................................................................... 4.3-34 Figure 6.1-1 Anemometer back cut off ................................................................................................. 6.1-36 Figure 6.1-2 Anemometer pins ............................................................................................................. 6.1-37 Figure 6.1-3 Fan Setup .......................................................................................................................... 6.1-37 Figure 6.1-4 Speed vs. Frequency Trial 1 .............................................................................................. 6.1-38 Figure 6.1-5 Speed vs. Frequency Trial 2 .............................................................................................. 6.1-39 Figure 6.2-1 Omega Sensor ................................................................................................................... 6.2-40 Figure 6.2-2 Omega sensor Pin locations.............................................................................................. 6.2-41 Figure 6.2-3 Infrared Test 1................................................................................................................... 6.2-42 Figure 6.2-4 Infrared Test 2................................................................................................................... 6.2-43 Figure 6.3-1 Voltage vs. Humidity ......................................................................................................... 6.3-46 Figure 6.3-2 Voltage vs. Humidity ......................................................................................................... 6.3-47 Tables Table 2.2-1 Zlink Wireless I/O Modules [2.2.1] [2.2.2] [2.2.3] .............................................................. 2.2-14 Table 2.2-2 Linx Wireless I/O Modules [2.2.4] [2.2.5] [2.2.6] ............................................................... 2.2-14 Table 2.2-3 Coyote DataCom Wireless I/O Modules [2.2.7] ................................................................. 2.2-14 Table 2.4-1 Battery Comparison Lead-acid vs NiMH [2.4.1][2.4.2][2.4.3] ............................................ 2.4-25 Table 2.4-2 Lead-Acid Battery Comparison [2.4.1] [2.4.2] [2.4.3] ........................................................ 2.4-25 Table 2.4-3 Power Supply Components and Cost ................................................................................. 2.4-26 Table 2.5-1 Anemometer Comparison [2.5.1] [2.5.2] [2.5.3] ............................................................... 2.5-28 Table 2.5-2 Infrared Sensor Comparison [2.5.1] [2.5.2] [2.5.3] ............................................................ 2.5-29 Table 2.5-3 Sensor Cost Data ................................................................................................................ 2.5-29 Table 3.1-1 System Cost ........................................................................................................................ 3.1-31 Table 6.1-1 Air Speed Test 1 ................................................................................................................. 6.1-38 2.1-6 Table 6.1-2 Air Speed Test 2 ................................................................................................................. 6.1-39 Table 6.2-1 Infrared Test 1 .................................................................................................................... 6.2-41 Table 6.2-2 Infrared Test 2 .................................................................................................................... 6.2-43 Table 6.2-3 Infrared test 3 with Ice water ............................................................................................ 6.2-44 Table 6.3-1 Humidity Test ..................................................................................................................... 6.3-45 Table 6.3-2 Humidity Trail 2 .................................................................................................................. 6.3-46 2.1-7 Executive summary The Saluki Engineering Company (SEC) has designed a semi-permanent data logger sensor kit for the Southern Illinois Power Cooperative. This data logger will be portable, durable, and able to operate in harsh environments. The kit will have three subsystems: data logger, sensors, and wireless communication. The data logger will be able to collect up to six months of data from four independent sensors at a rate of up to one data point per minute. The designed system will cost $1,810.44 and includes the components to build both the wireless hub on top of the roof; the wireless node inside the roof; one anemometer to measure air temperature, humidity, air speed and two non-contact infrared sensors to measure surface temperature. 2.1-8 Acknowledgements Design team 61, SIPCWDAQ, would like to acknowledge our client Southern Illinois Power Cooperative for the funding and help they provided throughout the design and implementation process of the wireless data acquisition kit. We would also like to thank Scott Achelpohl for bringing us this project and all of the assistance he offered as our client contact. Furthermore, we would also like to acknowledge Dr. Harini Ramaprasad for her contribution in the software programming for the microcontroller and Dr. Haibo Wang for his insight of data acquisition, sensor actual to the microcontroller, amplifier, and voltage divider. Also, Anil Mehta for his knowledge of wireless communication systems and all three for serving as our technical advisors. Finally, we would like to thank the management of Saluki Engineering Company for all of their assistance throughout this project. 2.1-9 1. Introduction Wireless sensor networks (WSN) have become quite common in modern industrial, environmental and power grid monitoring systems. In the push to become more environmentally friendly while being economical, older processes and systems need to become more efficient. Monitoring equipment and WSN can help make the decisions to retrofit current systems or replace systems to efficiency of the industry. Although many wireless sensor networks exist, the particular needs of the Southern Illinois Power Cooperative (SIPC) are not met by any of them. SIPC wants a system that is temporary, requires minimal changes to existing structures and procedures, and is permanent enough that it may be left in place up to 6 months with little maintenance. The system will be able to record data from all sensors in a central location for at least one month; and the recorded data must be easily retrieved from the system. The system will be modular in a way that additional sensors can be added or removed from the WSN with minor changes to the configuration of the system. Systems that are currently available fail to meet one or more of these requirements, including the increased cost in multiple data loggers and increased time spent in maintenance and data gathering. SIPC wants such a system in order to study the heat dissipation of the turbine room and improve the ventilation of the room, decreasing the wear and maintenance of the turbines and generators. The system wanted has three subsystems: wireless communication, the data logger, and the sensors required. 2.1-10 2. Project description 2.1.Overview 2.1.1. Technical Description The system is built around a Texas Instruments MSP430F5529 microcontroller chosen for its low power consumption, low cost and built in peripherals. The system includes a Coyote DataCom CDR-915LXL wireless communication module, a Zeus 12V 4.5Ah lead acid battery, two Omega infrared temperature sensors and an Extech anemometer. 2.1.2. Functional Description The system will include a contactless temperature sensor which will communicate to the wireless node through a 0-5V DC connection. The analog signal from the contactless temperature sensor will be converted to digital signal by the 12 bit analog to digital (A/D) converter on the microcontroller. Data from the inside of the building will be transmitted to the wireless hub to be stored in the Secure Digital card as a coma separated value. The wireless node will be powered by a 12V lead acid battery. The air temperature, humidity sensor will communicate with the wireless hub via separate analog signals. These analog signals will be converted to a digital signal by the microcontroller’s 12bit A/D converter. The air speed sensor transmits a square wave to the wireless hub which will be amplified then, the period of the signal will be recorded using the timer on the microcontroller. The data from all sensors will be stored in the SD card of the wireless hub. The wireless hub will be powered by a lead acid battery. The wireless hub and wireless node will be identical in hardware design lowering cost. The software for the two devices will be minimally different, as the wireless node will be transmitting data and the wireless hub will be receiving data and storing the data in the SD card. 2.1.3. Definition This system as a whole is a wireless sensor network, comprised of a wireless node, wireless hub, an anemometer, two infrared temperature sensors, and two lead acid batteries. The wireless node and wireless hub share the same design, but there functions are different. The wireless node converts an analog signal to digital data meaningful to the operator and transmits the data to the wireless hub. The wireless hub receives data from the wireless node as well as converts analog signals to digital data and stores both the received data and converted data onto a SD card. 2.1.4. Discussion of options and trade-off studies, justification for chosen option Team 61 went with the design where the wireless hub and wireless node shared the same design because it provides expandability, reusability of the code, lower cost and simplicity of the manufacturing process. 2.1.5. Description of appearance 2.1-11 Figure 2.1-1 Block Diagram 2.1-12 Figure 2.1-2 PCB Layout 2.1-13 2.2.Wireless Subsystem 2.2.1. Description of function or purpose The wireless subsystem transmits data from the remote temperature sensor to the main data logger. 2.2.2. Discussion of options and trade-off studies, justification for chosen options Before deciding on a wireless subsystem several options were reviewed. Table 2.2-1 Zlink Wireless I/O Modules [2.2.1] [2.2.2] [2.2.3] Zlink Model ZXT9-RM-KIT ZXT9-IO-222R2 ZZ9D-NA-LR ZZ9D-NB-LR Frequency 900 MHz 900 MHz 900 MHz 900 MHz Analog InputsInterface 2RS 232 2RS 232 2RS 232 4RS 232 Max OutputsThroughput 115.2 kbps 115.2 kbps 115.2 kbps 4115.2 kbps Indoor Range 3000 ft 3000 ft 1500 Ft 1500 ft Price $ 1,199.00 $ 699.00 $ 649.00 $ 599.00 Max Throughput 56 kbps 56 kbps 56 kbps 56 kbps Indoor Range 1000 Ft 1000 Ft 1000 Ft 1000 Ft Price $ 299.00 $ 299.00 $ 324.00 $ 324.00 Indoor Range 30 miles 10 miles 1500 Ft Price $ 807.00 $ 579.00 $ 315.00 Table 2.2-2 Linx Wireless I/O Modules [2.2.4] [2.2.5] [2.2.6] Linx Model MDEV-HP3-PPS-RS232 MDEV-HP3-SPS-RS232 MDEV-HP3-PPS-USB MDEV-HP3-SPS-USB Frequency 900 MHz 900 MHz 900 Mhz 900 MHz Interface RS232 RS232 USB USB Table 2.2-3 Coyote DataCom Wireless I/O Modules [2.2.7] Coyote DataCom Model CDR-9150XL-DK CDR-915XL-DK CDR-915LXL-DK Frequency 900 MHz 900 MHz 900 MHz Interface RS-232 RS-232 RS-232 Max Throughput 56 kbps 56 kbps 56 kbps All three vendors provide models that operate in the 900 MHz industrial frequency and support RS-232 or USB interfaces. The Zlink models offer a greater throughput speed, while Coyote DataCom’s models offer a far greater range. The CDR-915LXL-DK was chosen as the most economical unit that fit the needs of the project. It was also the only unit that did not require additional FCC approval. 2.2.3. Description of relationships to the other subsystems The microcontroller on the remote unit sends data to the transmitting wireless module. The wireless module in the main data logger receives data from the remote unit and transmits it to the main microcontroller. 2.2-14 2.2.4. List of equipment, materials, and components and Cost data Item Quantity Part 42 43 Manufacturer Manufacturer part # Distributor 1 OEM design kit Coyote Data Com CDR-915LXL-DK 1 Wireless module Coyote Data Com CDR-915LXL Distributor part # Price/part Total Price Coyote Data Com CDR-915LXL-DK Coyote Data Com CDR-915LXL Total Budget Differnce 2.2.5. Transition to the next subsystem Each wireless module connects to the associated microcontroller. 2.2-15 $ $ 315.00 99.00 $ 315.00 $ 99.00 $ 414.00 $ 630.00 $ 216.00 2.2.6. Engineering drawings Figure 2.2-1 CDR-915L - Mechanical [2.2.8] Figure 2.2-2 Interface Board - Mechanical [2.2.9] 2.2-16 2.2.7. References [2.2.1] Electronic Manufacturing Company “Zlinx Xtreme Radio Modem,” copyright © 2010. Web. 2 Feb 2011. <http://www.bb-elec.com/bb-elec/literature/ZXTx-RM-2510ds.pdf> [2.2.2] Electronic Manufacturing Company. “Zlinx Xtreme I/O Cable Replacement & Modbus Solution,” copyright © 2010. Web. 5 Feb 2011. <http://www.bbelec.com/product_multi_family.asp?MultiFamilyId=112> [2.2.3] Electronic Manufacturing Company. copyright © 2010. Web. 6 Mar 2011. < http://www.bbelec.com/product_multi_family.asp?MultiFamilyId=92> [2.2.4] Linx Technologies Inc. “Zlinx Wireless Modbus I/O-Faster and Better than Ever,” 2009.Web. 8 Mar 2011. < http://www.linxtechnologies.com/Documents/TXM-900-HP3xxx_Data_Guide.pdf> copyright © [2.2.5] Linx Technologies Inc. “ES SERIES TRANSMITTER DATA GUIDE,” copyright © 2011.Web. 10 Mar 2011. <http://www.linxtechnologies.com/Documents/TXM-xxx-ES_Data_Guide.pdf> [2.2.6] Linx Technologies Inc. “Price List/ Order Terms,” copyright © 2011. Web. 20 Mar 2011. <http://www.linxtechnologies.com/Registration/pricelist.pdf> [2.2.7] Coyote DataCom. “CDR-9150XL Advanced OEM Spread-spectrum Data Radio Module. Web. 2 May 2011. < http:// www.coyotedatacom.com/products/oemradio /CDR9150XL.htm> [2.2.8] Coyote DataCom. “Coyote DataCom CDR-915L Mechanicals.” Copyright 2001. Web. 19 Nov 2011. http://www.coyotedatacom.com/pdfs/CDR915LMech.pdf [2.2.9] Coyote DataCom. “Coyote DataCom CDR Family Interface Mounting Mechanicals.” Copyright 2009. Web. 19 Nov 2011. http://www.coyotedatacom.com/pdfs/INTMech.pdf 2.2-17 2.3.Data Logger Subsystem 2.3.1. Description of function or purpose The data logger subsystem covers bother the wireless hub and wireless node because of the shared design. The data logger is used to convert analog signals to digital data, transmit and receive data from other data loggers in the system and to store the data. In the designed data logger this accomplished by using a Texas Instruments MSP430F5529 microcontroller, this provides a solution to converting and storing the data, as well as providing an interface to the wireless module for communication. 2.3.2. Discussion of options and trade-off studies, justification for chosen options The MSP430F5529 is an efficient 16-bit ultra-low power microcontroller which can wake from standby mode, quickly perform its task and return to low power mode. The MSP430F5529 is a microcontroller configuration with integrated USB and PHY supporting USB 2.0, four 16-bit timers, a high-performance 12-bit analog-to-digital converter (ADC), two universal serial communication interfaces (USCI), hardware multiplier, DMA, real-time clock module with alarm capabilities, and 63 I/O pins. This makes it ideal for this application. 2.3.3. Appearance The designed data logger is a 5”x 5”printed circuit board with the microcontroller and external components soldered onto the board. 2.3.4. Description of relationships to the other subsystems The microcontroller on the remote unit interfaces between the sensor and the wireless module. The microcontroller on the second unit accepts data from the second wireless module and the remaining three sensors and outputs it to the SD data card. 2.3-18 2.3.5. 2.1.4 List of equipment, materials, and components Item Quantity Part 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 28 29 30 31 32 33 34 35 36 37 38 30 6 6 6 4 6 10 6 4 2 2 14 2 2 2 10 8 4 6 6 4 4 3 3 3 4 4 8 6 8 2 2 4 4 4 0.1uF 0.47uF 0.22uF 47pF 4.7uF 10pF 1uF 10uF Tantalum 6.3V SL02 TSM-107-01-T-DH CON10 CON2 CON5 51387-0578 SCHA4B0100 0 ohm 10k 110 33 100K 82k 270k MSP430F5529 LMV321/SO 16MHz 12pF 50V Crystals 32.768KHz coded rotory switch Tactile Switch 10uF 10V Red LED MAX232 47K 100 470 Manufacturer Manufacturer part # Distributor Distributor part # Price/part Total Price AVX Vishay Kemet Xicon TDK Vishay Kemet Kemet Vishay FCI 3M Phoenix Phoenix Molex ALP Xicon Panasonic Xicon Panasonic Xicon Bourns Xicon Texas Instruments Fairchild Abracon Xicon Abracon Mountain Switch C&K Components TDK Kingbright Texas Instruments Panasonic Xicon Panasonic 08055C104JAT2A VJ0805V474MXXCW1BC C0805C224Z3VACTU 140-CC501N470J-RC C2012Y5V1A475ZT VJ0805A100KXACW1BC C0805C105M4RACTU T491A106K006AT SL02-GS08 67996-414HLF 929870-01-10-RA 1935161 1935190 51387-0578 SCHB1B0100 260-0-RC ERJ-6GEYJ103V 292-110-RC ERJ-6GEYJ330V 292-100K-RC CR0805-FX-8202ELF 260-270K-RC MSP430F5529IPN LMV321AP5X ABL-4.000MHZ-B2 140-CC501N120J-RC AB38T-32.768KHZ 106-H4A10-EV PTS645SL70 LFS C2012X5R1A106KT/1.25 WP7104LID MAX232DR ERJ-6GEYJ473V 292-100-RC ERJ-6GEYJ471V Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ 581-08055C104J 77-VJ0805V474MXXCBC 80-C0805C224Z3V 140-CC501N470J-RC 810-C2012Y5V1A475Z VJ0805A100KXACW1BC 80-C0805C105M4R 80-T491A106K006 78-SL02 649-67996-414HLF 517-929870-01-10-RA 651-1935161 651-1935190 538-51387-0578 688-SCHB1B0100 260-0-RC 667-ERJ-6GEYJ103V 292-110-RC 667-ERJ-6GEYJ330V 292-100K-RC 652-CR0805FX-8202ELF 260-270K-RC 595-MSP430F5529IPN 512-LMV321AP5X 815-ABL-4-B2 140-CC501N120J-RC 815-AB38T-32.768KHZ 106-H4A10-EV 611-PTS645SL70LFS 810-C2012X5R1A106K-3 604-WP7104LID 595-MAX232DR 667-ERJ-6GEYJ473V 292-100-RC 667-ERJ-6GEYJ471V 0.05 0.19 0.09 0.06 0.11 0.10 0.08 0.20 0.21 0.37 1.19 0.36 0.79 2.20 0.89 0.04 0.04 0.04 0.04 0.04 0.05 0.04 8.24 0.41 0.39 0.06 0.24 2.37 0.19 0.13 0.05 0.71 0.04 0.04 0.04 Total Budget Differnce 2.3.6. Transition to the next subsystem In order to provide a 3.3V DC to the microcontroller we designed the power regulation section, discussed below. 2.3-19 $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ 1.50 1.14 0.54 0.36 0.44 0.60 0.80 1.20 0.84 0.74 2.38 5.04 1.58 4.40 1.78 0.40 0.32 0.16 0.24 0.24 0.20 0.16 24.72 1.23 1.17 0.24 0.96 18.96 1.14 1.04 0.10 1.42 0.16 0.16 0.16 $ 76.52 $ 670.00 $ 593.48 2.3.7. Engineering drawings Figure 2.3-1 Functional Block Diagram [2.3.1] Figure 2.3-2 MSP430F229 Pin Out [2.3.2] 2.3-20 Figure 2.3-3 Data Logger Schematic 2.3-21 Figure 2.3-4 Top Silkscreen Showing Location of Components 2.3-22 Figure 2.3-5 Top Copper 2.3-23 Figure 2.3-6 Bottom Copper 2.3.8. References [2.3.1] Texas Instruments. “Mixed Signal Microcontroller.” Web. 19 Nov 2011. http://www.ti.com/lit/ds/symlink/msp430f5529.pdf. Page 3. [2.3.2] Texas Instruments. “Mixed Signal Microcontroller.” Web. 19 Nov 2011. http://www.ti.com/lit/ds/symlink/msp430f5529.pdf. Page 4. 2.3-24 2.4.Power 2.4.1. Description of function or purpose of power The battery is meant to power the entire system, while allowing access in remote locations. 2.4.2. Discussion of options and trade-off studies: Originally in the proposal, the team had decided to go with a NiMH battery type however the battery used in this design is a 12V lead acid battery, from Zeus Batteries. When we compare the costs of NiMH to the costs of lead acid batteries as shown in table 2.1, lead acid batteries are the cheaper option. Table 2.4-1 Battery Comparison Lead-acid vs NiMH [2.4.1][2.4.2][2.4.3] Battery NiMH Battery pack Zeus PC4.5-12 AT:Tenergy NiMH B.B.BP7-12 Voltage 12V 12V 12V 12V Capacity 4.5 A/h 4.5 A/h 5 A/h 7A/h Cost $53.69 $12.95 $84.99 $25.99 The weight of the battery might be a concern in some applications as oppose to the weight of NiMH, but it all comes down to cost. In this particular application of this project, the battery is expected to perform in a higher temperature environment. Both battery types’ life decreases with prolonged exposure to higher temperatures, therefore it would be much more cost effective to replace the cheaper battery. Once it was decided that lead acid was the new direction, the next consideration was the weight of the battery. Since this particular data logger would be strapped to the ceiling, the data logger could not be too heavy. In table 2.2 we can see the comparison of four different lead acid batteries with respect to weight, cost and capacity. Table 2.4-2 Lead-Acid Battery Comparison [2.4.1] [2.4.2] [2.4.3] Battery Amstron B.B.BP7-12 CSB GP1272 Zeus PC4.4-12 Voltage 12V 12V 12V 12V Capacity 3.4 A/h 7 A/h 7.2 A/h 4.5 A/h Cost $21.99 $25.99 $23.84 $12.95 Weight 2.87 lbs 5.5 lbs 5.5 lbs 3.5 lbs Aside from the low price, the Zeus battery is relatively light weight, and has a higher capacity than the Amstron, so seems to be the best choice. 2.4.3. Description of Relationships to the Other Subsystems The 12 V battery powers the entire system, however throughout the system there exists three voltage requirements, which are 12V, 5V, and 3.3V. The Infrared sensor requires 12v, so the battery supplies a direct power source. For the systems that require less than the source, there are voltage regulators to step down the 12 volts. The source voltage from the battery passes through the LM2937 voltage regulator to output 5V, and then supplies the RS232 communication module. The source voltage passes through an 2.4-25 additional LM2937 voltage regulator to step down the 12V to 3.3V, which in turn powers; the micro controller, the Secure Digital (SD) card, the off-amps, the air speed, humidity, and the temperature sensors. 2.4.4. List of Materials and Components Table 2.4-3 Power Supply Components and Cost Item Quantity Part 1 26 27 Manufacturer Manufacturer part # Distributor Distributor part # 1 12V 4.5Ah Zeus Batteries PC4.5-12 Zeus Batteries PC4.5-12 2 LM2937-5/SOT National LM2937IMP-5.0/NOPB DigiKey LM2937IMP-5.0CT-ND 2 LM2937-3.3/SOT National LM2937IMP-3.3/NOPB DigiKey LM2937IMP-3.3CT-ND Total Budget Differnce 2.4.5. Transition to Sensors The power section also provides 3.3V DC and 5.0 V DC for the sensor subsection. 2.4.6. Drawings Figure 2.4-1 LM2937 Schematic 5.0V output Figure 2.4-2 LM2937 Schematic 3.3V output 2.4-26 Price/part Total Price $ $ $ 12.95 2.06 2.06 $ 12.95 $ 4.12 $ 4.12 $ 21.19 $ 150.00 $ 128.81 2.4.7. References [2.4.1] atbatt.com. World’s largest site for Batteries. Copyright © 2011. Web. 17 Sept 2011. <http://www.atbatt.com> [2.4.2] Powerizer. Copyright © 2000-2011. Web. 17 Sept 2011. <http://www.batteryspace.com> [2.4.3] Zeus. Copyright © 2011. Web. 24 Sept 2011. <http://www.powercellbattery.com> [2.4.4] Battery University. “Can the Lead-acid Battery Compete in Modern Times?”. Copyright © 2011. Web. 15 Oct 2011. <http://batteryuniversity.com/> 2.4-27 2.5.Sensors 2.5.1. Description of function or Purpose 2.5.1.1. Air speed Sensor For this application of the air speed sensor, it is used to measure the speed of the air exiting the vents on the roof of the building. The data collected from the air speed sensor combined with the air temperature can be used to find the heat transferred between the inside and outside of the building via the vents. 2.5.1.2. Infrared Temperature Sensor The infrared temperature sensor in this application is used to measure the temperature of the inside ceiling and the outside roof. This data will be used for calculating the heat transferred from the inside to outside the building via the roof. Other applications of this sensor include recording temperature of inaccessible areas and for objects that may move. 2.5.1.3. Humidity Sensor In this application the humidity sensor is used in combination with the temperature of the air to determine the density of the air, this is used then to better calculate the thermal transfer of the air. The air temperature, air speed and humidity can also be used to calculate the mass of air transferred from one area to another. Other applications of the humidity sensor include determining the comfort level of a residential area. 2.5.2. Discussion of options and trade-off studies: For the anemometer, the 451126 and HHF143B models have an excessive wind speed range. Furthermore, the temperature range of 451126 models could be problematic during the winter month with a range only 32 to 122°F. Even though the accuracy range is better than the Extech model, the cost is prohibitive. Table 2.5-1 Anemometer Comparison [2.5.1] [2.5.2] [2.5.3] Manufacturer Extech Extech Omega Model # 45158 451126 HHF143B Wind Speed Output Range Not given 1.1 to 62.5 MPH Digital RS232 0.7 to 100 MPH Voltage 0.45 to 89 MPH Accuracy Range WS ±3% ±3% ±1.0% Temeratue Accuracy Humidity Accuracy Range Range Temp Range Range RH Cost 0 to 122°F ±1.8°F 10% to 95% ± 4% $ 139.99 32 to 122°F ±1.5°F NA NA $ 299.99 -22 to 212°F ±0.5°F NA NA $ 845.00 For the infrared temperature sensors the OS1551-A model has a lower temperature range and output range is in milliamps instead of voltage which is more desirable. Even though the accuracy is ± 1% it does not justify the higher cost. 2.5-28 Table 2.5-2 Infrared Sensor Comparison [2.5.1] [2.5.2] [2.5.3] Manufacturer Omega Omega Extech Extech Model # OS101E-V1 OS1551-A 42560 IR201 Output Range 0-5V dc 4-20 mA Digital NA Temperature Range 0 - 1000° F 32 - 392° F -58° - 1922°F -58 - 518° F Accuracy Range ±2% or 4° F ±1% or 3° F ±2% or 4° F ±2.5% or 3° F Operating Range 32 to 122°F 32 to 122°F Not Given Not Given Cost $ 195.00 $ 690.00 $ 329.99 $ 59.00 2.5.3. Description of Relationships to the Other Subsystems The sensors will communicate with the data logger using three analog signals, which will be determined through testing of the three sensors. The test will include the careful dismantling of one anemometer, housing the humidity sensor and the airspeed sensor, and the infrared sensor. The data from the runs will be compared and then used to calibrate the data logger software to the anemometer. The Infrared sensor will be powered by 12V and the humidity sensor and the airspeed sensor, and later on the temperature sensor will be powered by 3.3V. 2.5.4. List of Materials and Components 1. 2- Anemometer w/temp &humidity 2. 2 Infrared Temperature Sensor 0-5V out 3. 2-Sensor Head mounting Brackets 2.5.5. Cost Data After submitting the proposal the team realized that it was necessary to have two anemometers for testing. Table 2.5-3 Sensor Cost Data Item Quantity Part 1 2 3 Manufacturer Manufacturer part # Distributor 2 Anemometer w/ Temp & Humidity Extech 2 Infrared Temperature Sensor 0-5V out Omega 2 Sensor Head Mounting Bracket Omega Distributor part # Price/part Total Price 45158 Bell Electronics 45158 OS101E-V1 Omega.com OS101E-V1 OS100-MB Omega.com OS100-MB Total Budget Differnce 2.5.6. Schedule Data 2.5-29 $ $ $ 139.99 $ 279.98 270.00 $ 540.00 20.00 $ 40.00 $ 859.98 $ 669.98 $ (190.00) 2.5.7. Drawings Figure 2.5-1 Infrared Sensor Connections 2.5.8. References [2.5.1] OMEGA Engineering, Inc. “Infrared Temperature Sensor/Transmitters”, © copyright 200-2010. Web. 17 Feb 2011. <http://www.omega.com/ppt/pptsc.asp?ref=OS101E&Nav=temj11> [3.2] OMEGA Engineering, Inc. “Infrared Temperature sensor with USB interface”, © copyright 20002010. Web. 1 Mar 2011. <http://www.omega.com/ppt/pptsc.asp?ref=IR-USB&TTID=IR-USB&Nav> [3.3][2.5.2] Extech Instrument Corporation. “Pocket IR Thermometer,” © copyright 2007, all rights reserved. Web. 5 Mar 2011. <http://www.extech.com/instruments/product.asp?catid=i&prodid=44> [3.4] Extech Instrument Corporation. “CFM/CMM Vane Anemometer Data logger”, © copyright 20072008. Web. 17 Mar 2011. All rights reserved <http://www.extech.com/instruments/product.asp?catid=1&prodid=44 > [3.4]<http://www.extech.com/instruments/product.asp?catid=1&prodid=44> [2.5.3] Extech Instrument Corporation. “Extech 45158 Mini Waterproof Thermo Humidity Meter,” © copyright 2011. Web. 17 Mar 2011. All rights reserved < http://www.northerntool.com/shop/tools/product_200324285_200324285 > 2.5-30 Anemometer and 3. Cost and Implementation schedule 3.1.Cost Table 3.1-1 System Cost Item Quantity Part 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 1 12V 4.5Ah 30 0.1uF 6 0.47uF 6 0.22uF 6 47pF 4 4.7uF 6 10pF 10 1uF 6 10uF Tantalum 6.3V 4 SL02 2 TSM-107-01-T-DH 2 CON10 14 CON2 2 CON5 2 51387-0578 2 SCHA4B0100 10 0 ohm 8 10k 4 110 6 33 6 100K 4 82k 4 270k 3 MSP430F5529 3 LMV321/SO 2 LM2937-5/SOT 2 LM2937-3.3/SOT 3 16MHz 4 12pF 50V 4 Crystals 32.768KHz 8 coded rotory switch 6 Tactile Switch 8 10uF 10V 2 Red LED 2 MAX232 4 47K 4 100 4 470 2 Anemometer w/ Temp & Humidity 2 Infrared Temperature Sensor 0-5V out 2 Sensor Head Mounting Bracket 1 Spread-spectrum data radio, OEM design kit 1 Wireless module 5 Printed Circuit Board 1 Electrical Testing Manufacturer Manufacturer part # Distributor Zeus Batteries AVX Vishay Kemet Xicon TDK Vishay Kemet Kemet Vishay FCI 3M Phoenix Phoenix Molex ALP Xicon Panasonic Xicon Panasonic Xicon Bourns Xicon Texas Instruments Fairchild National National Abracon Xicon Abracon Mountain Switch C&K Components TDK Kingbright Texas Instruments Panasonic Xicon Panasonic Extech Omega Omega Coyote Data Com Coyote Data Com Advanced Circuts Advanced Circuts PC4.5-12 08055C104JAT2A VJ0805V474MXXCW1BC C0805C224Z3VACTU 140-CC501N470J-RC C2012Y5V1A475ZT VJ0805A100KXACW1BC C0805C105M4RACTU T491A106K006AT SL02-GS08 67996-414HLF 929870-01-10-RA 1935161 1935190 51387-0578 SCHB1B0100 260-0-RC ERJ-6GEYJ103V 292-110-RC ERJ-6GEYJ330V 292-100K-RC CR0805-FX-8202ELF 260-270K-RC MSP430F5529IPN LMV321AP5X LM2937IMP-5.0/NOPB LM2937IMP-3.3/NOPB ABL-4.000MHZ-B2 140-CC501N120J-RC AB38T-32.768KHZ 106-H4A10-EV PTS645SL70 LFS C2012X5R1A106KT/1.25 WP7104LID MAX232DR ERJ-6GEYJ473V 292-100-RC ERJ-6GEYJ471V Zeus Batteries Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser DigiKey DigiKey Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Mouser Distributor part # 45158 PC4.5-12 581-08055C104J 77-VJ0805V474MXXCBC 80-C0805C224Z3V 140-CC501N470J-RC 810-C2012Y5V1A475Z VJ0805A100KXACW1BC 80-C0805C105M4R 80-T491A106K006 78-SL02 649-67996-414HLF 517-929870-01-10-RA 651-1935161 651-1935190 538-51387-0578 688-SCHB1B0100 260-0-RC 667-ERJ-6GEYJ103V 292-110-RC 667-ERJ-6GEYJ330V 292-100K-RC 652-CR0805FX-8202ELF 260-270K-RC 595-MSP430F5529IPN 512-LMV321AP5X LM2937IMP-5.0CT-ND LM2937IMP-3.3CT-ND 815-ABL-4-B2 140-CC501N120J-RC 815-AB38T-32.768KHZ 106-H4A10-EV 611-PTS645SL70LFS 810-C2012X5R1A106K-3 604-WP7104LID 595-MAX232DR 667-ERJ-6GEYJ473V 292-100-RC 667-ERJ-6GEYJ471V Bell Electronics 45158 OS101E-V1 Omega.com OS101E-V1 OS100-MB Omega.com OS100-MB CDR-915LXL-DK CDR-915LXL SIPCWDAQ Rev. 1.0 Coyote Data ComCDR-915LXL-DK Coyote Data ComCDR-915LXL Total Budget Differnce 3.1-31 Price/part Total Price $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ 12.95 0.05 0.19 0.09 0.06 0.11 0.10 0.08 0.20 0.21 0.37 1.19 0.36 0.79 2.20 0.89 0.04 0.04 0.04 0.04 0.04 0.05 0.04 8.24 0.41 2.06 2.06 0.39 0.06 0.24 2.37 0.19 0.13 0.05 0.71 0.04 0.04 0.04 139.99 270.00 20.00 315.00 99.00 70.75 85.00 $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ 12.95 1.50 1.14 0.54 0.36 0.44 0.60 0.80 1.20 0.84 0.74 2.38 5.04 1.58 4.40 1.78 0.40 0.32 0.16 0.24 0.24 0.20 0.16 24.72 1.23 4.12 4.12 1.17 0.24 0.96 18.96 1.14 1.04 0.10 1.42 0.16 0.16 0.16 279.98 540.00 40.00 315.00 99.00 353.75 85.00 $ 1,810.44 $ 2,479.98 $ 669.54 3.2.Implementation schedule Figure 3.2-1 Implementation schedule ID Project Name Days Start End 1.0 SIPCWDAQ Implimentation 70 20-Dec 28-Feb 1.1 1.2 1.3 Assembly Software Codeing Testing 10 70 47 20-Dec 20-Dec 10-Jan 30-Dec 28-Feb 26-Feb 20-Dec 27-Dec 3-Jan 10-Jan 17-Jan 24-Jan 31-Jan 3.2-32 7-Feb 14-Feb 21-Feb 28-Feb 6-Mar 4. Other Issues 4.1.Health issues Health Hazard Data: with regard to the lead-acid battery as directed from the Zeus Company data sheet LEAD: The toxic effects of lead are accumulative and slow to appear. It affects the kidneys, reproductive, and central nervous systems. The symptoms of lead overexposure are anemia, vomiting, headache, stomach pain, and dizziness, loss of appetite, and muscle and joint pain. Exposure to lead from a battery most often occurs during lead reclaim operations through the breathing or ingestion of lead dust or fumes. SULFURIC ACID: Sulfuric acid is a strong corrosive. Contact with acid can cause severe burns on the skin and in eyes. Ingestion of sulfuric acid will cause GI-Tract burns. Acid can be released if the battery case is damaged or if vents are tampered with. FIBER GLASS SEPERATOR: Fiber glass is an irritant of the upper respiratory, skin, and eyes. For exposure up to up to 10F/CC use MSA Comfoll with type H filter. Above 10F/CC up to 50F/CC use Ultra-Twin with type H filter, this product is not considered carcinogenic by. 4.2.Safety issues 4.2.1. Battery Safety Issues: 4.2.1.1. Spill or leak procedures: Steps to take in case of leak or spill: If sulfuric acid is spilled from a battery, neutralized acid with bicarbonate, sodium carbon, or calcium oxide. Flush area with water and discard to the sewage system. Do not allow neutralized acid into sewage system. 4.2.1.2. Waste disposal method: Neutralized acid may be flushed down the sewer. Spent batteries must be treated as hazardous waste and disposed of according to local, state, and federal guidelines. 4.2.1.3. Protection Protective equipment must be worn if the battery is cracked or otherwise damaged. A respirator should be worn during reclaim operations if the TLV is exceeded. 4.2.1.4. Electrical Safety: Due to the battery’s low internal resistance and high power density, high levels of short circuit current can be developed across the battery terminals. Do not rest tools or cables on the battery. Use insulated tools only: Follow all installation instructions and diagrams when installing or maintaining battery systems. 4.2.2. OS100E Series Safety and Concerns There are no user replaceable fuses in this product. Do not operate the equipment in flammable or explosive environments. 4.2-33 Not intended to be used in medical applications or used on humans. 4.3.Environmental issues 4.3.1. Battery Due to the higher temperatures in the plant, the expected life of the battery will decrease. Below, table 1 shows the effect of temperature on the life of the battery. Figure 4.3-1 Expected Batter life Expected Battery life in Higher Temperatures 6 5 Years 4 3 2 Life 1 0 77 79 81 83 85 87 89 91 93 95 97 99 Temperature (Fo) 4.3.2. OS100E Sensor Due to the environment in the plant, smoke, dust, and fumes, the optic lens will get dirty, and cause erroneous temperature readings. To keep the surface of the optical lens clean, the air purge collar accessory is recommended, OS100-AP. It runs for $30 off of the Omega website. (http://www.omega.com/ppt/pptsc.asp?ref=OS102) Also it is important to note that the sensing head can operate in an ambient temperature of 0° to 70° C (32 to158°F). There is a warm up period of 3 minutes after power up. After the warm up period, temperature measurement can be made. Another note, when the ambient temperature around the sensor head changes abruptly. The sensor head goes through thermal shock. It takes a certain amount of time for the sensor head to stabilize to the new ambient temperature. 4.4.Manufacturability The designed system uses a printed circuit board, which is manufactured off site. By using a printed circuit board the system can be produced in small to large quantities with ease. This also allows 4.4-34 automated or manual assembly types to be used for the assembly of the data logger. Automated assembly is quicker and has higher accuracy; however there are limitations and cost can be higher. Manual assembly is used for smaller quantities or for abnormal parts, this can take more time. The rest of the system is designed so it is easy to assemble; there are screw terminals for the analog inputs, the frequency input, the battery connection, and for the voltage outputs to the sensors. The wireless module has mounting holes and a ten pin connector on the printed circuit board for easy mounting. The printed circuit board also includes four mounting holes so it can easily be mounted in a case or other location. 5. Conclusions and recommendations In order to provide SIPC with the best possible solution to their problem SEC Team 61 has designed a system which the applications are not limited to recording the temperature of the roof or the speed, temperature and humidity of the air moving through the exhaust vents on the roof of the power plant. There are multiple possible applications of this system which include but are not limited to recording temperature of a rotating drive shaft or a system which is not easily accessible. The team also designed a system which allows for the recording of up to six analog inputs and one frequency input. The design includes the Texas Instruments MSP430F5529 microcontroller for low power consumption, a single PCB design for lower manufacturing cost, a wireless module and battery for portability. The design also includes one anemometer for speed, temperature and humidity of air, and two infrared temperature sensors for measuring surface temperatures. Although the design includes these components there is still work that needs to be done before the system could be considered ready for use. Work that still needs to be done includes; the assembly of the hardware of the system, the completion, testing and debugging of software to be loaded to the microcontroller, testing of the power consumption of the system, communication between the wireless node and wireless hub. 4.4-35 6. Appendices 6.1.Test wind speed by using Extech® model 45158 mini thermoanemometer Equipment: Mini fan, DSO3102A Digital Storage Oscilloscope and Power Source, and thermoanemometer. 1. Attach the mini fan to the power source creating a variable voltage, and therefore a variable fan. 2. Attach the oscilloscope to the sensor, one on the ground clip, and the other touching the first pin of the V22521 chip. 3. Starting at a low voltage place the fan so that it is blowing into the turbine, and record the wind speed on the Extech® display screen, and the frequency off the oscilloscope. 4. Repeat step 3 while increasing the voltage of the fan, while each time recording the speed and the frequency. Figure 6.1-1 Anemometer back cut off 6.1-36 Figure 6.1-2 Anemometer pins Figure 6.1-3 Fan Setup 6.1-37 Table 6.1-1 Air Speed Test 1 frequency (Hz) Speed(m/s) 66.45 4.1 64.94 4 58.82 3.7 45.56 2.7 75 4.3 65.83 4 67.29 4.1 26.29 1.8 17.06 1.6 48.54 3.1 11.16 0.05 66.03 4.1 38.89 2.3 Figure 6.1-4 Speed vs. Frequency Trial 1 Speed(m/s) vs Frequency (Hz) 5 4.5 4 3.5 3 2.5 2 1.5 1 0.5 0 Speed(m/s) Linear (Speed(m/s)) y = 0.0607x + 0.0195 R² = 0.9571 0 20 40 60 6.1-38 80 Table 6.1-2 Air Speed Test 2 frequency (Hz) Speed (m/s) 59.14 3.5 27.76 2.7 61.73 3.6 50.07 2.3 30.07 1.8 32.15 2 48.78 2.9 32 2 17.09 1 25.61 1.6 20.19 1.1 97.09 5.8 105.3 6.3 102.1 6.1 91.4 5.5 84 5 86.2 5.3 28 1.7 34.06 2.1 21.09 1.3 19.88 1.2 17.54 1 Figure 6.1-5 Speed vs. Frequency Trial 2 Speed (m/s) vs Frequency (Hz) 7 6 5 4 Speed (m/s) 3 Linear (Speed (m/s)) 2 y = 0.0588x + 0.0768 R² = 0.9774 1 0 0 50 100 150 6.1-39 6.2.Test Infrared Temperature Sensor Equipment: Rice Cooker, Power Source, OS100-SOFT, Voltmeter, and Infrared Temperature Sensor. (First Trial) boiling water. 1. Using a 12-24V power source hook up the omega sensor to the power source. The positive terminal on pin 1 and the negative terminal on pin 8. 2. Next hook up the RS232 cable to the sensor using the following connections: pin 5 to Signal GND (yellow), pin 6 to Tx (red), and pin 7 to Rx (Brown). 3. Hook up the Omega infrared sensor to the computer using the RS232 serial cable, and start the OS100-SOFT program. 4. To obtain the voltage positive terminal on pin 2 and negative to pin 5. 5. Set the emissivity to the 5 setting on both dials 6. Fill the rice cooker with water, and heat. 7. Place the sensor head about an inch away from the surface of the water and record the temperature and voltage. 8. Keep recording the temperature and voltage as temperature increases. Figure 6.2-1 Omega Sensor 6.2-40 Figure 6.2-2 Omega sensor Pin locations Table 6.2-1 Infrared Test 1 Temperature (°F) Voltage (V) 94 0.47 98 0.499 100 0.494 101 0.504 104 0.524 106 0.529 108 0.532 110 0.549 111 0.553 112 0.559 113 0.564 117 0.584 122 0.609 124 0.618 127 0.634 128 0.638 132 0.648 134 0.664 Temperature (°F) Voltage (V) 139 0.688 142 0.712 146 0.728 147 0.733 149 0.74 150 0.749 151 0.754 154 0.769 158 0.78 161 0.8 165 0.823 167 0.838 169 0.844 175 0.878 176 0.866 177 0.887 174 0.877 172 0.858 6.2-41 Figure 6.2-3 Infrared Test 1 Voltage 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 50 70 90 y = 0.005x - 1E-05 R² = 0.9988 110 130 Voltage 6.2-42 150 170 190 Linear (Voltage) Table 6.2-2 Infrared Test 2 Temperature (°F) Voltage (V) 107 0.53 110 0.55 124 0.63 120 0.6 122 0.61 124 0.62 122 0.609 123 0.615 125 0.625 127 0.635 128 0.64 131 0.662 133 0.664 135 0.675 139 0.689 141 0.704 139 0.7 140 0.69 144 0.715 142 0.71 143 0.715 146 0.73 150 0.75 148 0.749 Temperature (°F) Voltage (V) 150 0.755 151 0.742 154 0.762 156 0.77 157 0.78 151 0.764 158 0.755 160 0.805 158 0.784 161 0.806 162 0.814 165 0.83 166 0.821 168 0.845 173 0.88 170 0.879 176 0.88 182 0.905 185 0.901 184 0.922 185 0.94 193 0.948 194 0.95 Figure 6.2-4 Infrared Test 2 Temperature 250 200 150 Temperature 100 Linear (Temperature) y = 200.87x - 0.4177 R² = 0.9914 50 0 0 0.2 0.4 0.6 6.2-43 0.8 1 (Third Trial) Boiling Ice water Equipment: Rice Cooker, Power Source, OS100-SOFT, Voltmeter, and Infrared Temperature Sensor, Water, Ice. 1. Using a 12-24V power source hook up the omega sensor to the power source. The positive terminal on pin 1 and the negative terminal on pin 8. 2. Next hook up the RS232 cable to the sensor using the following connections: pin 5 to Signal Gnd (yellow), pin 6 to Tx (red), and pin 7 to Rx (Brown). 3. Hook up the Omega infrared sensor to the computer using the RS232 serial cable, and start the OS100-SOFT program. 4. To obtain the voltage positive terminal on pin 2 and negative to pin 5. 5. Set the emissivity to the 5 setting on both dials 6. Fill the rice cooker with water add 32 oz of ice. 7. Place the sensor head about an inch away from the surface of the water and record the temperature and voltage. 8. Heat the ice water. 9. Keep recording the temperature and voltage as temperature increases. Table 6.2-3 Infrared test 3 with Ice water Voltage (V) 0.044 0.026 0.014 0.005 0.477 0.483 0.499 0.504 0.51 0.514 0.519 0.525 0.548 0.554 0.56 Temperature (°F) -66 -63 -63 -47 95 97 100 101 102 103 104 105 107 110 112 6.2-44 6.3.Test humidity by using Extech model 45158 mini thermoanemometers. Equipment: Voltmeter, thermo-anemometer, heated water source in close room. (First trial) 1. In this experiment you will need to be measure the output voltage of the humidity sensor. To measure this voltage the positive terminal of the voltmeter goes to the second pin of U7 and the negative to ground, see figure. 2. In an enclosed room, turn on the heated water source and let it run. 3. While the water source is running record the humidity on the display screen of the Extech® sensor, and the voltage. 4. Keep recording until the display has read 100% RH. Next turn off the water and crack open the door, and record the voltage and humidity until the humidity readings are back to their initial starting point. Table 6.3-1 Humidity Test RH% 74.9 75.2 74.4 73.9 71.7 35.5 34 32.7 69.4 70.3 70 72.5 68.3 Voltage (V) 3.15 3.1 3.09 3.1 3.07 1.94 1.9 1.5 3.02 3.03 3 3 2.89 RH% 69.5 70.3 68.2 66.7 64.5 61.1 65.1 66.1 62.9 60.7 46.6 42.1 37.9 6.3-45 Voltage (V) 3.04 2.99 2.88 2.8 2.79 2.73 2.87 2.77 2.69 2.54 2.25 2.09 1.96 Figure 6.3-1 Voltage vs. Humidity 3.5 3 2.5 2 Series1 1.5 Linear (Series1) 1 y = 0.0327x + 0.6814 R² = 0.9725 0.5 0 0 20 40 60 Table 6.3-2 Humidity Trail 2 RH% 85.5 90 91.5 91.9 100 92.3 89.3 84.5 80.6 80.3 79.9 78.8 74 71.2 69.9 68.8 68.9 Voltage (V) 3.54 3.66 3.69 3.62 3.96 3.65 3.54 3.36 3.26 3.29 3.25 3.22 3.1 3 2.94 2.96 2.92 6.3-46 80 Figure 6.3-2 Voltage vs. Humidity Voltage Voltage vs. Humidity 4.5 4 3.5 3 2.5 2 1.5 1 0.5 0 Voltage Linear (Voltage) y = 0.0324x + 0.684 R² = 0.9831 0 20 40 60 80 Humidity 6.3-47 100 120 6.4.Code // // This is the main program for the remote temperature sensor unit Team 61 - ECE 495D - 2011-11-28 #include <msp430f5529.h> // Specific device #include <in430.h> // Intrinsic functions //---------------------------------------------------------------------void main (void) { WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer TACCR0 = 49999; // Upper Limit for count TACCTL0 = CCIE; // Enable interrupts on Compare 0 TACTL = MC_1|ID_3|TASSEL_2|TACLR; // Set up and start Timer A __enable_interrupt(); for (;;) { // Loop forever __low_power_mode_3(); // Remain in LPM3 until interrupt } } //Interrupt service routine for Timer A channel 0 #pragma vector = TIMERA0_VECTOR __interrupt void TA0_ISR (void) { GetTemp(Temp); // Get temperature from sensor SendTemp(Temp); // Send temperature data to main unit } 6.4-48 /*---------------------------------------------------------------------------*/ /* in430.h */ - Intrinsic function prototypes and convenience mapping /* */ macros for migrating code from the IAR platform. /* */ /* */ Ver | dd mmm yyyy | Who | Description of changes /* =====|=============|======|============================================= */ /* */ 0.01| 06 Apr 2004 | A.D. | First Prototype /* */ 0.02| 22 Jun 2004 | A.D. | File reformatted /* */ /*---------------------------------------------------------------------------*/ #ifndef __IN430_H #define __IN430_H /*---------------------------------------------------------------------------*/ /* COMPILER INTRINSIC FUNCTIONS */ /*---------------------------------------------------------------------------*/ void _enable_interrupts(void); void _disable_interrupts(void); unsigned short _bic_SR_register(unsigned short mask); 6.4-49 unsigned short _bic_SR_register_on_exit(unsigned short mask); unsigned short _bis_SR_register(unsigned short mask); unsigned short _bis_SR_register_on_exit(unsigned short mask); unsigned short _get_SR_register(void); unsigned short _get_SR_register_on_exit(void); unsigned short _swap_bytes(unsigned short src); void _nop(void); void _never_executed(void); /*---------------------------------------------------------------------------*/ /* INTRINSIC MAPPING FOR IAR V1.XX */ /*---------------------------------------------------------------------------*/ #define _EINT() _enable_interrupts() #define _DINT() _disable_interrupts() #define _BIC_SR(x) _bic_SR_register(x) #define _BIC_SR_IRQ(x) _bic_SR_register_on_exit(x) #define _BIS_SR(x) _bis_SR_register(x) #define _BIS_SR_IRQ(x) _bis_SR_register_on_exit(x) #define _SWAP_BYTES(x) _swap_bytes(x) #define _NOP() _nop() /*---------------------------------------------------------------------------*/ /* INTRINSIC MAPPING FOR IAR V2.XX/V3.XX */ /*---------------------------------------------------------------------------*/ 6.4-50 #define __enable_interrupt() _enable_interrupts() #define __disable_interrupt() _disable_interrupts() #define __bic_SR_register(x) _bic_SR_register(x) #define __bic_SR_register_on_exit(x) _bic_SR_register_on_exit(x) #define __bis_SR_register(x) _bis_SR_register(x) #define __bis_SR_register_on_exit(x) _bis_SR_register_on_exit(x) #define __get_SR_register() _get_SR_register() #define __get_SR_register_on_exit() _get_SR_register_on_exit() #define __swap_bytes(x) _swap_bytes(x) #define __no_operation() _nop() #endif /* __IN430_H */ 6.4-51