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

Similar documents
Smoke Detector Demo Reference Solution

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

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

Circuit Schematics Control Unit with Camera. Power Supply

FlameGard 5 UV/IR HART

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

E Programmable Smoke Detector Controller AN 0129 Mar 25, 2015

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

Homework 5: Theory of Operation and Hardware Design Narrative

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

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

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

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

Using the HT46R48 in a Gas Water Heater Application

The design of the human body infrared thermometer

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

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

JOVY SYSTEMS RE User Manual Rev. 1.00

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

Thermostat Reference Design Using the MC9S08LL16. Devices Supported: MC9S08LL16

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

Defrost Board. Hardware Design and Test Document

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

OPERATION MANUAL Gas Alarm Processing Unit GAZ 203 VN VN 10

DS1286 Watchdog Timekeeper

Break-in Detector and Alarm System

Exercise 1. Introduction to Sensors EXERCISE OBJECTIVE

CRUSH: Cognitive Radio Universal Software Hardware

UNC100 Integra Manual

POP_ Smoke Detector

ECO N DATE DESCRIPTION OF CHANGE CHG

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

Smoke/Temperature Controlled Fan

POP_ Smoke Detector

DHM5150 Human Motion Sensor Module User Manual

Construction of Wireless Fire Alarm System Based on ZigBee Technology

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

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

RE46C190 3V Photo Smoke Detector IC

Preliminary Design Report with Diagrams

The Design of Temperature Control System for Vegetable Greenhouse

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

An FPGA Spectrum Sensing Accelerator for Cognitive Radio

Addressable Fire Alarm Control System 2100 series

CAN unit for Analog Sensors

Dual SDI Optical to Electrical Converter

FEATURE ARTICLE. The PLCA-800 Series Inline Particle Sensor for Chemical Solutions. Yoshihito Yuhara. Abstract

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

200 SERIES ADVANCED PHOTO/THERMAL/IR DETECTOR PRODUCT SPECIFICATION

Temporary wireless battery operated fire system from Channel Safety Systems

Outdoor Temperature Sensor

Smoke Detector and Siren. Manual

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

Design of Microwave Anti-theft Alarm Based on Microcontroller

Fig.: A fire in a server room or data center may cause devastating damage. Protect your infrastructure.

Tebis application software

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

Sirius Technologies, Inc.

Use of the application program

AUTOMATIC STREET LIGHT CONTROL SYSTEM USING MICROCONTROLLER

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

The EN54 Part 2 & 4 Fire System

Optical Smoke Detector Heat Detector Manual Call Point Output Unit Isolator

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

Recalibrate the way you look at gas detection

GPS Evaluation Kit EVA1037/1080

ModBus DE-1 INSTALLATION AND USER MANUAL

SD Series Optoschmitt Detector, TO-46 Metal Can Package

Transponder reader TECHNICAL SHEET (White) (Magnesium)

ACCURATE ELECTRONICS INC

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

ENACTMENT OF SCADA SYSTEM FOR JUDICIOUS DWELLING

Fire & Security Products. Siemens Building Technologies Group

Air-Quality Detection Module. User s Manual

Info-Display xx

FLOW CONTROLLER TYPE S/601

Siemens aspirating smoke detector (ASD) for the addressed FDnet/C-NET detector line or for standalone operation

ECOLOG TN2, TN3-P, TN4, TN4-L, TP2, TP4-L,TH1, TH2

Microcontroller based design for Tele-sensing and extinguishing fire

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

10 Year Smoke Detector and Siren

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

Solar-Powered BLE Sensor Beacon 5 Pack Kit Guide

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

Design of Cold Light Source System for Medical LED Endoscope

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

ENGINE MONITOR VOTT MODEL: YEAR WARRANTY

Combined CAN Sensor Unit Temperature, Humidity and Smoke

Team Rescue X: Autonomous Firefighting Robot

Installation, Operating and Maintenance Manual

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

DC Voltage Sensor. Specifications Didactum DC sensor: The sensor is automatically detected by the Didactum base unit. Accuracy: 1%

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

E PIR Motion Detector. Features. General Description. Applications. Single Sensor Application Circuit

Controllers. Centralization of Access Control Devices Made Easy. Installer Guide

Operating Instructions Version 1.2

NIDS Dust sensor ED-N-DS-1408

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

Transcription:

Fujitsu Semiconductor (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

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 Semiconductor (Shanghai) Co., Ltd. MCU-AN- 500054-E-10 Page 2

CONTENTS Revision History... 2 1 Overview... 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

1 Overview 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

2 Demo Platform 2.1 Platform Figure 2.1 shows the platform of smoke detector. 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

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 Table 3. 1 Current Consumption dc to dc amplifier MCU others total 65mA (EMH7600) 20mA 10mA 5mA 100mA*3V=300mW 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

4 Functions 4.1 Normal State Indication When power is on, 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 in 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. When low battery output occurs, 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

5 Hardware 5.1 System Block Diagram The demo system contains the following elements as 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

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 Guide V1.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

Table 5.1 shows the pin assignment. Table 5. 1 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 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 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

6 Firmware As many battery powered systems, to reduce power consumption from firmware side is as important as 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. Figures 6.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 samples 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 be set to 1s and start a counter. Figure 6.2 illuminates the watch time ISR (see next page) MCU-AN- 500054-E-10 Page 13

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 MCU-AN- 500054-E-10 Page 14

Figure 6. 2 Watch Timer ISR NOTE: LBO means low battery output. 6.2 Project In this project, all functions and definitions 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

7 More Information For more information on FUJITSU MB95200 products, please visit following website: English version: http://www.fujitsu.com/cn/fsp/services/mcu/mb95/application_notes.html Simplified Chinese Version: http://www.fujitsu.com/cn/fss/services/mcu/mb95/application_notes.html MCU-AN- 500054-E-10 Page 16

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... 15 Figure 6. 3 Project... 15 Table 3. 1 Current Consumption... 6 Table 5. 1 Pin Assignment... 11 MCU-AN- 500054-E-10 Page 17