Smoke Detector Demo Reference Solution

Similar documents
F 2 MC-8FX FAMILY MB95200 SERIES SMOKE DETECTOR DEMO REFERENCE SOLUTION 8-BITMICROCONTROLLER APPLICATION NOTE

S3F8S28. Smoke Detector. Revision 0.00 February Samsung Electronics Co., Ltd. All rights reserved.

Fujitsu Microelectronics Europe Application Note MCU-AN E-V10 FR FAMILY 32-BIT MICROCONTROLLER MB91460 ALARM COMPARATOR APPLICATION NOTE

Circuit Schematics Control Unit with Camera. Power Supply

E Programmble Smoke Detector Controller. Figure 1. Programmable Smoke Detector Kit

DISCONTINUED PRODUCT. For reference only SMOKE DETECTOR WITH INTERCONNECT FEATURES. ABSOLUTE MAXIMUM RATINGS (Voltages are referenced to V SS

GP2Y1010AU0F. Compact Optical Dust Sensor. Description. Compliance. Applications. Features GP2Y1010AU0F. 1. Compliant with RoHS directive (2002/95/EC)

FlameGard 5 UV/IR HART

Replaced by A5367CA. DISCONTINUED PRODUCT SMOKE DETECTOR WITH INTERCONNECT AND TIMER FEATURES

The supplier and installer of the system should be approved by the local civil defence authority.

Using the HT46R48 in a Gas Water Heater Application

The design of the human body infrared thermometer

E Programmable Smoke Detector Controller AN 0129 Mar 25, 2015

Design of Classroom Intelligent Lighting System Based on SCM. Jiale Zheng1, a

Homework 5: Theory of Operation and Hardware Design Narrative

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

Break-in Detector and Alarm System

Construction of Wireless Fire Alarm System Based on ZigBee Technology

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

Optical Sensor (2A) Optical Sensor Type Optical Sensor Characteristics. Young Won Lim 9/12/09

OPERATION MANUAL Gas Alarm Processing Unit GAZ 203 VN VN 10

901-M / 901-ML. Pulse Oximetry System. Technical Information and Service Manual

Exercise 1. Introduction to Sensors EXERCISE OBJECTIVE

FEBL8511_REFBOARD_Manual-01 ML FC. REFERENCE BOARD Manual for UV Sensor (QFN)

JOVY SYSTEMS RE User Manual Rev. 1.00

CRUSH: Cognitive Radio Universal Software Hardware

UNC100 Integra Manual

POP_ Smoke Detector

AUTOMATIC ROOM LIGHT AND FAN CONTROLLER WITH BI- DIRECTIONAL VISITOR COUNTER

Azatrax Quad Infrared Proximity Detector Shield for ArduinoTM Uno, Mega and compatibles

ECO N DATE DESCRIPTION OF CHANGE CHG

POP_ Smoke Detector

DHM5150 Human Motion Sensor Module User Manual

Defrost Board. Hardware Design and Test Document

Preliminary Design Report with Diagrams

The Design of Temperature Control System for Vegetable Greenhouse

DS1286 Watchdog Timekeeper

An FPGA Spectrum Sensing Accelerator for Cognitive Radio

1Hz,16Hz, S2 S3 S4 S5 S6 S7 S8 ALARM REGISTER COMPARATOR WEEK SECONDS MINUTES HOURS DAYS MONTHS YEARS /12 1 /24 1 /7 /28-1 /31

Smoke/Temperature Controlled Fan

Optical Smoke Detector Heat Detector Manual Call Point Output Unit Isolator

DEEP SEA ELECTRONICS PLC DSE94xx Battery Charger Series Configuration Suite PC Software Manual

200 SERIES ADVANCED PHOTO/THERMAL/IR DETECTOR PRODUCT SPECIFICATION

Smoke Detector and Siren. Manual

Temporary wireless battery operated fire system from Channel Safety Systems

HOA1888 Series. Infrared Assemblies Wide Gap Transmissive Sensor. MICRO SWITCH Sensing and Control

Break-in Detection and Alarm System

Design of Microwave Anti-theft Alarm Based on Microcontroller

RE46C190 3V Photo Smoke Detector IC

Team Rescue X: Autonomous Firefighting Robot

Sirius Technologies, Inc.

Dust sensor SM-PWM-01A SPECIFICATION. Product Name: Dust Sensor Model No. : SM-PWM-01A 1 / 12

2015 Amphenol Advanced Sensors. Jinton Industrial Park, Wujin, Changzhou, Jiangsu, China. Web:

AUTOMATIC STREET LIGHT CONTROL SYSTEM USING MICROCONTROLLER

LASER DIODE NX8316XC nm FOR LONG HAUL 2.5 Gb/s InGaAsP MQW-DFB LASER DIODE TOSA DESCRIPTION APPLICATION FEATURES

Dual SDI Optical to Electrical Converter

Design of an Infusion Rate Control System Based on Single Chip Microcomputer

NIDS Dust sensor ED-N-DS-1408

Thermostat Reference Design Using the MC9S08LL16. Devices Supported: MC9S08LL16

The EN54 Part 2 & 4 Fire System

User Manual. For use with model CS-10A/CS-11A solar ventilation system controllers

"Three Preventions" System Design Based On Single-Chip Microcomputer (SCM) Control Jiaxiong Wen

Series 65 Product Guide MAN 3036

Typical applications include the vibration detector. Detection of vibrations and shocks

SD Series Optoschmitt Detector, TO-46 Metal Can Package

Transponder reader TECHNICAL SHEET (White) (Magnesium)

Design of Unmanned Monitoring and Automatic Monitoring System

ENACTMENT OF SCADA SYSTEM FOR JUDICIOUS DWELLING

Microcontroller based design for Tele-sensing and extinguishing fire

Automatic Customer Counter and Payment Tool for Shopping Centers and commercial spaces

The Kentec driver connects to the Kentec Syncro range of fire detection panels. Available for Commander and ObSys.

FCX-11AB5-3XX-XX 155Mbps BIDI SFP TRANSCEIVER(100Km)

ENGINE MONITOR VOTT MODEL: YEAR WARRANTY

CONTROL PANEL INTERFACE ACTIVATE THE GENERATOR DISPLAY INTERFACE MENUS. Control Panel USING THE AUTO/OFF/MANUAL SWITCH

Tebis application software

ACCURATE ELECTRONICS INC

SMART Dust Sensor. Amphenol Advanced Sensors SM-PWM-01C. Application Note. Features

Maintenance Manual ALARM SHELF 19D902821P1 & P2. ericssonz LBI-38496C. TABLE OF CONTENTS (Vendor Documentation)

(12) United States Patent (10) Patent No.: US 7,190,120 B1

CAN unit for Analog Sensors

Operating Instructions Version 1.2

EL-OEM-3 OEM Packaged Voltage Data Logger

SMART dust sensor for air purifier Description SM-ND-02A SM-ND-02A is a dust sensor that detects the dust particle concentration in air by using optic

Use of the application program

Instruction manual MTL process alarm equipment. October 2016 CSM 725B rev 2 MTL RTK 725B. Configuration Software Manual

HRX Technical Manual. Version 1.2

SCR100 User Manual. Version:1.1 Date:Dec 2009

ZX1e ZX2e ZX5e. Document No Issue 01 user manual

BASIC-Tiger Application Note No. 029 Rev Waking up sleeping tigers. Gunther Zielosko. 1. Basics Real Time Clock

K-Band Doppler Sensor Module

Solution Ultima Series Operators Manual ISSUE 1.00

Plug-in Base, Long Range Sensor E3B2

ModBus DE-1 INSTALLATION AND USER MANUAL

Addressable Fire Alarm Control System 2100 series

AO Annunciator Module

Outdoor Temperature Sensor

Fire & Security Products. Siemens Building Technologies Group

ANTI SLEEP ALARM INTRODUCTION

Ei600ZW Z-Wave Module for 10 Year Smoke Sensor with Siren

PNC 1000 SERIES 2, 4, 8 Zone Fire Alarm Control Panel

Transcription:

Fujitsu Microelectronics (Shanghai) Co., Ltd. Application Note MCU-AN- 500054-E-10 F 2 MC-8FX FAMILY 8-BITMICROCONTROLLER MB95200 SERIES Smoke Detector Demo Reference Solution APPLICATION NOTE

Smoke Detector Demo Quick Start GuideV1.0 Revision History Date Author Change of Records 2009-11-4 Kevin Lin V1.0 This manual contains 17 pages. 1. The products described in this manual and the specifications thereof may be changed without prior notice. To obtain up-to-date information and/or specifications, please contact your Fujitsu sales representative or Fujitsu authorized dealer. 2. Fujitsu will not be liable for infringement of copyright, industrial property right, or other rights of a third party caused by the use of information or drawings described in this manual. 3. The contents of this manual may not be transferred or copied without the express permission of Fujitsu. 4. The products contained in this manual are not intended for using for with equipment which requires extremely high reliability such as aerospace equipments, undersea repeaters, nuclear control systems or medical equipments for life support. 5. Some of the products described in this manual may be strategic materials (or special technology) as defined by the Foreign Exchange and Foreign Trade Control Law. In such cases, the products or portions thereof must not be exported without permission as defined under the law. 2009 Fujitsu Microelectronics (Shanghai) Co., Ltd. MCU-AN- 500054-E-10 Page 2

Smoke Detector Demo Quick Start Guide V1.0 CONTENTS Revision History... 2 1 Outline... 4 2 Demo Platform... 5 2.1 Platform... 5 3 Features... 6 3.1 High db Alarm... 6 3.2 Powered by Battery... 6 3.3 Low Power Consumption... 6 4 Functions... 7 4.1 Normal State Indication... 7 4.2 Self-test Function... 7 4.3 Low Battery Output Warning... 7 4.4 Automatic Alarm... 7 5 Hardware... 8 5.1 System Block Diagram... 8 5.2 Schematic... 9 5.3 Modules... 10 6 Firmware... 13 6.1 Flow Chart... 13 6.2 Project... 15 7 More Information... 16 8 Appendix... 17 MCU-AN- 500054-E-10 Page 3

Smoke Detector Demo Quick Start GuideV1.0 1 Outline This Demo board is a smoke detector which is used to detect fire. It is a photoelectric detector that senses the infrared refracted by mote or dust caused by fire. The MCU is Fujitsu MB95202K from MB95200 series. This demo set supports the following features: High db alarm Powered by battery Low power consumption MCU-AN- 500054-E-10 Page 4

Smoke Detector Demo Quick Start Guide V1.0 2 Demo Platform 2.1 Platform Figure 2.1 shows the platform of smoke detector. The D1 and D2 are alarm LEDs. The key is used for self-test. Figure 2. 1 Demo platform MCU-AN- 500054-E-10 Page 5

Smoke Detector Demo Quick Start GuideV1.0 3 Features 3.1 High db Alarm The sound is higher than 70dB in the field of 3 meters. When the detector is fixed lower than 5 meters above the floor, it can cover 60 square meters. 3.2 Powered by Battery The detector is battery powered equipment. Two 5# batteries can drive it. It runs at 1.8v to 3.3v DC voltage. 3.3 Low Power Consumption In battery powered system, the power consumption is a key parameter. There is a table below to illuminate the main current consumptions. test condition 3V dc to dc amplifier MCU others total 65mA (EMH7600) 20mA 10mA 5mA 100mA*3V=300mW Table 3. 1 Current Consumption In 3v condition, the total current is 100mA. If it is powered by two 5# batteries which have a capacity of 2300mAh, the batteries can last 958 days which is calculated by this formula: (2300mAh*1000) / (100mA*24h) =958, Of course this is an ideal data. The actual time will be shorter. The designer can reduce the power consumption by using low power consumption ICs, reducing the system leak current, and using more prefect firmware and so on. MCU-AN- 500054-E-10 Page 6

Smoke Detector Demo Quick Start Guide V1.0 4 Functions 4.1 Normal State Indication When power is on, the D1 and D2 will flash for one time to indicate that the demo works normally. 4.2 Self-test Function In order to test the demo, we can press the key. The buzzer will sound periodically when the key is continuously pressed. That means the detector is on normal state. 4.3 Low Battery Output Warning In this demo set, the DC-DC converter has battery capacity monitor function which can supply a signal to the MCU to warn low battery output happened. When low battery output happened, the buzzer will sound and the LEDs will flash at the same time. 4.4 Automatic Alarm The detector senses the refracted light that reflects the thickness of mote or dust. Stronger light means more mote or dust, and also means high risk of fire. When the thickness of the mote or dust rises up to a threshold, the red fire-alarm light will flash first, then buzzer will sound for 11 seconds later. MCU-AN- 500054-E-10 Page 7

Smoke Detector Demo Quick Start GuideV1.0 5 Hardware 5.1 System Block Diagram The demo system contains the following elements and it is shown in Figure 5.1. -MCU -DC/DC boost converter -IR receiver and amplifier circuit -IR LED driver -EEPROM -Buzzer -Temperature sensor Batteries 3.3V DC-DC convertor Receiver and Amplifier EEPROM Infrared-Emitting Diode MB95F202K Buzzer Temperature Sensor LEDs Figure 5. 1 System Block Diagram MCU-AN- 500054-E-10 Page 8

Smoke Detector Demo Quick Start Guide V1.0 5.2 Schematic This schematic is a full version, and the temperature and EEPROM are alterable devices. Figure 5.2 shows the schematic. Figure 5. 2 Smoke Detector MCU-AN- 500054-E-10 Page 9

5.3 Modules Smoke Detector Demo Quick Start GuideV1.0 Some main modules will be introduced in this section. MCU In this demo, the MCU is MB95F202K from Fujitsu excellent MB95200 series. It has following main features: - 4 K bytes FLASH, 240 bytes RAM -4 clock resources: main OSC, sub OSC, main CR, sub CR. -2 channels of 8/16bits timer -LIN module supporting main and slave mode -6 channels for 8/10bit A/D -LVD So, this MCU is absolutely competent in this system. The peripheral circuit is like Figure 5.3. Figure 5. 3 MCU MCU-AN- 500054-E-10 Page 10

Smoke Detector Demo Quick Start Guide V1.0 Table 5.1 shows the pin assignment. Number Pin Function 1 PF0 EEPROM clock 2 PF1 EEPROM data 8 RST REST input 9 P62 Buzzer 10 P63 LED D1 11 P64 LED D2 12 P00 Voltage input transformed from reflected infrared current 13 P01 Temperature input 16 P04 Infrared output 18 P06 Monitor the battery capacity 19 P07 Key input 20 P12 One line debug Table 5. 1 Pin Assignment DC-DC Boost Converter The DC-DC boost converter is used to fix the power output at 3.3v when the battery voltage is lower than 3v. In this design, we select EMH7600 which is a boost converter with 0.3v-6v input and 3.3v output. The output current is up to 500MA. About this part, the efficiency has to be considered. Low efficiency will bring huge power consumption. This IC has a battery capacity monitoring function which is useful here. The pin LBI is battery comparator input and LBO is the output. When the voltage on LBI is lower than 1.195v, the LBO will switch to low from high level. Figure 5.4 gives the dc-dc circuit. Figure 5. 4 DC-DC MCU-AN- 500054-E-10 Page 11

IR Receiver and Amplifier Circuit Smoke Detector Demo Quick Start GuideV1.0 This demo is a photoelectric detector which contains an IR-emitted diode and an IR-received diode. The IR-received diode is fixed in a dark cavity. Amplifiers circuit is needed here to magnify the signal for the following AD stage. The current was transformed to voltage before the amplifier. The amplifier circuit contains two stage amplifiers with total plus of 50 times. PD204-6B is IR receiver. Figure 5. 5 Amplifier Circuit IR Emitter Circuit Actually IR emitter is an IR emitting diode. It is driven by a dynatron. Figure 5.6 shows the circuit. Figure 5. 6 IR Emitter MCU-AN- 500054-E-10 Page 12

Smoke Detector Demo Quick Start Guide V1.0 6 Firmware As many battery powered system, to reduce power consumption from firmware side is the same important to the hardware side. Sleeping with periodical wake-up is a widely used method to reduce the power consumption, so does this demo. 6.1 Flow Chart 6.1.1 Main Function The Low power modes are set in the main function. The MCU can enter SLEEP or STOP mode according to the key and alarm state. Figures6.1 illuminates the main function. Start Initialize MCU Key pressed or in pre-alarm? N Y Enter SLEEP Enter STOP Figure 6. 1 Main Function 6.1.2 Watch Timer ISR Usually, the MCU will be waked up by watch timer interrupt one time in every 4 seconds. MCU will give a plus to the infrared LED, and sampling the voltage input at the same time when it is waked up. If it is the first time that the A/D value is greater than the threshold, the wake-up interval will set to be 1s and start a counter. Figure6.2 illuminates the watch time ISR (see next page) MCU-AN- 500054-E-10 Page 13

Smoke Detector Demo Quick Start GuideV1.0 Clear watch timer interrupt flag Send IR plus and sample A/D LBO happened? N Y LED and buzzer warning Fire alarm happened? Y LED and buzzer alarm N Key pressed? N Y Switch to 1s interval, led and buzzer indicate AD > threshold? Y Counter+1 N Clear counter Set 4s interval N Counter> 9? Y Switch to 1s interval and set fire alarm flag Return Figure 6. 2 Watch Timer ISR MCU-AN- 500054-E-10 Page 14

Smoke Detector Demo Quick Start Guide V1.0 NOTE: LBO means low battery output. 6.2 Project In this project, all functions and defines can be found in main.c. The others are files supplied by Fujitsu. Mb95200.asm is a memory definition. startup.c is start file. vectors.c is a vector definition. Figure 6. 3 Project MCU-AN- 500054-E-10 Page 15

Smoke Detector Demo Quick Start GuideV1.0 7 More Information For more information on FUJITSU MB95200 products, please visit following website: Simplified Chinese Version http://www.fujitsu.com/cn/fmc/services/mcu/mb95200/ MCU-AN- 500054-E-10 Page 16

Smoke Detector Demo Quick Start Guide V1.0 8 Appendix Figure 2. 1 Demo platform... 5 Figure 5. 1 System Block Diagram... 8 Figure 5. 2 Smoke Detector... 9 Figure 5. 3 MCU... 10 Figure 5. 4 DC-DC... 11 Figure 5. 5 Amplifier Circuit... 12 Figure 5. 6 IR Emitter... 12 Figure 6. 1 Main Function... 13 Figure 6. 2 Watch Timer ISR... 14 Figure 6. 3 Project... 15 Table 3. 1 Current Consumption... 6 Table 5. 1 Pin Assignment... 11 MCU-AN- 500054-E-10 Page 17