Presentation on theme: " Primary: Provide a user friendly monitoring system which can be used to detect fires and explosions in a commercial building Purpose: › Reduce response."— Presentation transcript:
Primary: Provide a user friendly monitoring system which can be used to detect fires and explosions in a commercial building Purpose: › Reduce response time by rescue officials › Integrate into sponsors system: Release emergency doors which have delays
Provide an area of coverage of 40’ x 40’ x 15’ Detect incendiary events: › Room Temperature- Threshold set to 120˚F Meet National Fire Protection Association(NFPA) standards “Low” under the category of heat detector. › Monitor room air for smoke Detect explosions: › Room acoustic - Threshold set at 100dB(default) Provide battery backup: 24 Hrs GUI monitoring system for end user
Processing Times Analog/Digital Converter Memory Power Supply Cost › Financial › Development Software Learning Curve
MicrocontrollerATmega 328PMC9S08SH8MSP 430 Processing Time5µs2.5µs62.5 ns A/D ConverterYes Dev Board Cost$29.99$50.00$22.95 MCU CostAbout $3.00 Around $2.00 Software CostFreeRestricted/$195Restricted/$149 Power Supply1.8-5.5 V0.3-5.8 V1.8-3.6 V Bit Architecture8816 I/O Pins281615 Memory1KB/2 KB512B/8192 B256/2000B Memory TypesEEPROM/RAMFlash /RAM Final Est. Cost$29.99$245$171.95
ATmega 328P Final Choice 20 MIPS Throughput at 20 MHz 6 Channel 10 Bit ADC PDIP (Input) Programmable Serial USART 13 Programmable Lines (I/O) 6 Power Channels (PWM) On chip analog comparator Arduino IDE, C++ compatible
Sensors send Analog Signals to Assigned pins MCU will control Sensors via Digital Signals through Quad-High-Side-Switch Sensors connected to LED to confirm activity Communicate through FT232RL MCU ATMega328 Acoustic Sensor Smoke Sensor Thermal Sensor
Receive communication from MCU Transmit data via USB to Desktop Have TX and RX LED to verify communication taking place CPU (GUI) FT232RL CPU (GUI) RS232 USB (Optional)
Used Arduino 0015 IDE Program input and output pins Program Function to collect & Display Analog Data Control Function to Control Sensors Function to sound an Alarm or buzzer for event or sensor malfunction
Log-in system Database management Alert System Monitor Safety Device System Log
GUI (Graphical User Interface), for easy user interaction Language C# › Object Oriented programming IDE – Microsoft Visual Studio 2008 › Provides very easy GUI creation tools and environments › Cost = Free from msdn
Password Form Password Form Main Form Main Form Start End Verify Account Verify Account A class per form Password Form start/ends program System Log updates at for each event Verifies user has correct access to use the system Branches to Main Form if successful
Main Form Main Form Alert Form Alert Form Monitor Form Monitor Form System Log Form System Log Form Emergency Contact Form Emergency Contact Form User Account Form User Account Form Add/Edit Form Add/Edit Form Add/Edit Form Add/Edit Form Admin Check Admin Check Main form branches to 5 other forms Monitor and Alert deals with microcontroller and outside contact System Log is updated automatically at certain events Admin rights determines ability to modify EContact and UserAccount data New editing or adding new entry
3 Text files for storing specific system information UserAccount.txt – Holds user account info EContacts.txt – Hold emergency contact information SystemLog.txt – Holds log data for specific events occurring during operation
UserAccount.txt – 174 bytes/Entry › 20 X 174 = 3480 bytes or 3.4 kilobytes EContacts.txt - 134 bytes/Entry › 20 X 134 = 2680 bytes or 2.62 kilobytes SystemLog.txt – 115 bytes/Entry › (4-logs X 2-instances X 365-days) X 115 bytes = 335800 bytes or 327.9 KB or.32 MB Cheapest and smallest HD 160 GB for $30 Newegg
Alert Form › Sends important messages to selected individuals › Message is dictated by user › Update log Uses data from EContact.txt Two forms of alert: › Email › Text messaging
Execution tier: › Email › Text message Cycle through each contact entry and checks priority and executes based on priority › Priority levels: 1 - 3 Match Priority Match Priority Start Next Entry Next Entry Send Email Send Email Send Text Message Send Text Message Check if Texting Check if Texting
Use smtp mail server to send out email and text message Requires an account with username and password Demonstration: Smtp from Google using GMAIL › smtp.gmail.com, port 587
Monitor Form class Connects to detection device Turn off individual sensors or resets them Monitors signals transferred from device Automatically calls the alert method in Alert form class if a sensor is tripped. Can call Alert Form manually if communication protocol fails.
The device requires a continuous supply of at least 24 V DC. The system has two power sources: main power supply and battery backup. › Battery Backup provides 24-Hr run time Power to each sensor is controlled by the Central Monitoring System.
Switch-mode power supply 50 kHz switching frequency 88-264 VAC/47-63 Hz input Provides 36 VDC at 1 A Small size (3.9” x 3.2” x 1.4”) Cost: $19.03
Ensures uninterrupted power to the device for 24-Hrs. Two PS-1221S 12 V SLA batteries in series. 2 Ah capacity 5.75” x 3.5” x.75” 1.5 lb ea. Cost: $22.95 ea.
Designed specifically for Sealed Lead Acid Batteries Programmable charge current Used as a three level float charger 16 pin DIP IC (.785”x.3” ) Input voltage range: 6-40 V Cost: $5.50
Solid state switch compared to electro-mechanical relay. 20 lead plastic DIP Enables the Central Monitoring System to control sensor power. Input voltage: 8-48 V Fully enhances N-channel MOSFET switches Individual short circuit protection for the sensors Cost: Free
Adjustable voltage through the use of an external voltage divider circuit Output voltage: 1.2-37 V Output current:.5 A Cost: $.69 ea.
ItemSupply VoltageSupply CurrentPower Consumption MicroController5.5 V25 mA137.5 mW Comparators (3)5 V.75 mA x 3 = 2.25 mA 3.75 mW x 3 = 11.25 mW Buffers (3)5 V 1.1 mA x 3 = 3.3 mA 5.5 mW x 3 = 16.5 mW LT116124 V10.55 mA253.2 mW Thermal Sensor5.5 V10 µA55 µW Acoustic Sensor24 V4.7 mA48 mW Smoke Sensor5 V30.2 mA151 mW UC3906 and Charging Circuit 36 V 1.6 mA (standby), 550 mA (max) 57.6 mW (min), 19.8 W (max) Total = 77.61-627.61 mA Total = 675.11mW- 20.48W
System Testing: › Acoustic: point charges at a distance of 15’- 40’ › Thermal Detector: use a heat gun › Smoke: Use a fire detector test spray Battery Backup: disconnect main power and test. Software testing: › Proper alerts were executed