860 likes | 1.05k Views
Capstone Design Project EE 318-595 Spring 2004 Design Team No. 1 Security Dialer. Eric Biehr Mario Divis Igor Stevic Edwin Sofian Kelly Chapin. Design Team Members. Mario Divis. Edwin Sofian. Kelly Chapin. Igor Stevic. Eric Biehr.
E N D
Capstone Design Project EE 318-595 Spring 2004 Design Team No. 1 Security Dialer Eric Biehr Mario Divis Igor Stevic Edwin Sofian Kelly Chapin
Design Team Members Mario Divis Edwin Sofian Kelly Chapin Igor Stevic Eric Biehr
This design is favored because it offers individual challenges to each team member, is easily scalable and covers many electrical design aspects as well as project requirements. • Major risks include exceeding the projected budget and over-scoping of project blocks. • Other projects were rejected because they were not complex enough to satisfy high level requirements. • This project was unanimously supported by all team members. Security Dialer Project Selection
Automated home security monitoring system • Emergency status notification through phone line • Internet status monitoring including remote control of the system • CO monitoring, door or window opening, standing water sensor and AC power failure notification • Backup DC battery in the event of AC power failure • Audible alarm in case of an emergency Product Definition • The home security system is a common product on the market but the internet and phone access makes it unique • This product belongs to a general consumer products/home security industry
Standard Requirements • Major competitors include ADT, Brinks, CyberEye and GE • Annual volume of 5000 units • To be sold to North American home owners • Installation intended by user or contractor, distributed by retailers • Intended purpose is for life and asset protection • Indoor use only • Temporary 60Hz 120VAC power supply with permanent 12VDC rechargeable reserve battery • Stainless steel prototype enclosure • 12 months replacement warranty • Recycle product according to government regulations • Product Life of 100,000 Hours MTBF
Performance Requirements • Armed and Standby operational modes • LCD output displaying status indication and user menu • Viewable within 1 meter • 20 x 4 character display • Backlight option for increased visibility • 16 key Alpha-Numeric Keypad for user operation and functionality • Panasonic Omni-directional Electret Microphone • Audible siren >100dB • External electrical interfaces • RJ11 phone line output • RJ45 Ethernet connection • AC standard 3-prong Nema input • Three 3mm single row 2 and 3 pin Molex sensor input connectors
Performance Requirements • Unique components • Atmel AVR AT90S8515 microprocessor • Winbond ISD2560 voice recording chip • Holtek HT93214A dialer chip • Clare M98202 Precise Call Progress Tone Detector • Sena Technologies Ethernet controller and web server
Safety Regulation Requirements • Federal Communications Commission • Part 68 • Governs the direct connection of terminal equipment to the Public Switched Telephone Network • Contains rules concerning for automated dialing machines • Underwriters Laboratory Standards • UL639 • Intrusion-detection units intended to be used in burglary-protection signaling systems • UL1023 • Household burglar-alarm system units • UL1950 • Mains-powered or battery-powered information technology equipment • Canadian Standards Association • CSA C22.2 No. 205 • Signal equipment • CSA C22.2 No. 60950 • Information technology equipment
Electromagnetic Compatibility Standards • EN50081-1: 1992 • Generic emission standard, part 1: residential, commercial and light industry • EN50082-1: 1997 • Generic immunity standard, part 1: residential, commercial and light industry • EN55022 – CISPR 22 • Emission requirements for information technology equipment • EN55024 – CISPR 24 • Immunity requirements for information technology equipment
Power Supply +5V Edwin Eric Igor Kelly Mario VAC VDC +12V 3 Phone Line Siren Ringback Detection Dialer 10 6 9 Embedded Ethernet Controller /Web Server Micro-controller Voice Recording Internet Microphone 8 1 7 7 Sensors LCD Keypad 2 5 4
Power Supply Performance Requirements • Power Source Inputs • Temporary 60±3Hz 120+10%/-15%VAC power using standard 3 prong detachable 6’7” Nema plug connecting to IEC 320 AC receptacle with external 5 x 20 mm fuse holder for consumer accessibility • Permanent reserve 12VDC 7.2Ahr 86.4Watt-hrs maintenance-free rechargeable AGM sealed lead-acid battery (5.5 lbs)
Power Supply Performance Requirements • AC and DC powered modes • Transistor and diode switching circuit routes power from DC battery if AC power source fails • Logic signal (VOH: 3 to 5.5VDC, VOL: 0 to 1.5V; Io: 40mA max) sent to microprocessor and web server to display notification on LCD and security web page when operating in DC powered mode • Interfaces • Mechanical: • AC input line cord • Electrical: • Voltage input from AC source and DC battery source • Voltage outputs to system components with 3 pin connector • Switching frequency > 200kHz • Voltage Ripple and Noise < 50mV • Load Regulation < 5% for 30% load change • Line Regulation < 5% for 15% line voltage change
Power Supply Block Diagram Microcontroller & Web Server Logic Signal 40mA 60Hz 120VAC VOH=5V, VOL=0.7V Siren 1A Microcontroller 40mA 24VAC Transformer, Rectifier & Voltage Regulator Voltage Regulator Power Mode Detection & Switching Circuit Switching Regulator Dialer 70mA Voice Chip 45mA +18VDC 3A +12VDC 2.5A +12VDC 2.5A +5VDC 1A LCD 500mA Web Server 300mA Keypad 5mA Ringback Detection 15mA Sensors 70mA Voltage Regulator Battery Charger DC battery 12V 7.2Ahr +13.65VDC 300mA
Power Supply EMC, Safety Standards and Disposal • Electromagnetic Compatibility Standards • EN 61204-3:2000 • Low voltage power supplies with DC output • EN 50081-1:1992 • Generic Emission Standard for residential, commercial and light industry • EN 50082-1:1997 • Generic Immunity Standard for residential, commercial and light industry • Safety Regulation Standards • UL 603 • Power supplies for use with burglar-alarm systems • UL 1236 • Battery chargers for charging engine-starter batteries • Recycle materials according to city/government regulations
Power Supply Safety Devices • UL compliant molded AC line cord and IEC 320 Receptacle • External 3A fuse within IEC 320 receptacle to provide over-current protection • 145V Varistor to provide suppression of transient voltage • Properly rated self-resetting fuses used throughout circuitry to provide over-current circuit protection • Diodes to protect voltage regulators and DC battery from voltage polarity reversal • Transformer provides electrical isolation between AC source and system
LCD module Performance requirements • The LCD module displays the status of the whole system. • A user will be presented a menu with choices of what action/instruction a user wants to take regarding configuration/setup and arming the system • When a certain choice has been made a visual display of the chosen option will be shown along with all the information related to the choice • A backlight will light up every time a user pushes a key on the keypad • A screen will be able to display at least 60 characters • A module will have a Hitachi 44780 compatible driver chip • Inputs: • Data lines • 5V DC(+/-10%) power supply for driver and backlight, 1A Max • Interfacing through pin header
20x4 LCD module GND LCD Contrast adjust 4.5 < Vdd< 6.5 V Vmax =6.5 V Imax = 1mA + - Backlight power 8/4 bit data bus 3 bit control line Vih min = 2.2 V Vih max = Vdd Vil min = 0 V Vil max = 0.6 V
LCD module Standard requirements • Operating Temperature: -10 to 50C • Operating humidity: 0 to 85% RH, non-condensing • Storage temperature: -30 to 70C • Storage humidity: 0 to 90% RH non condensing • Production cost: <$10 • Max Proto cost: <$60 • Max part count: <10 • Power consumption: <2W • PCB size: 8 x 4 x 1 [cm] • Reliability: 20000 Hrs • Disposal: According to city/government laws • Safety requirements: EN 50081-1:1992, EN 50082-1:1997
Microcontroller Performance requirements • A microcontroller will be from the AVR Atmel family of microcontrollers • A clock of at least 4MHz will be used for the microcontroller • The microcontroller will be used to control most of the devices/peripherals in the system • The microcontroller will be used to control the LCD display by responding to user input as well as monitoring the status of sensors and controlling Ethernet web server • Inputs: • Sensors, keypad, ring back detection, Ethernet control signals • 5V DC(+/-20%) power supply, 50mA Max current • Outputs: • Siren signal, Ethernet control line, LCD data and control signals, dialer, voice recording • It will interface to other devices through the chip connection pins
AT90S8515 Microcontroller interface LCD module 8/4 bit data 3 bit ctrl 8/16 MHz XTAL GND Voice recording Power and Play/REC control 2 bits 4.5 < Vcc< 6.6 V 4 bits Dialer chip control 4/2 bits Parallel keypad interface/UART Sensors control Web server stand by and sensor control 4 bits 3 bits 1 bit 2 bits VIL max = 0.3VCC VIL min = -0.5 V VIH min = 0.6VCC VIHmax = VCC + 0.5 VOLmax = 0.6 V VOH min = 4.2 V I I/O max = 40mA RI/O max = 120k ohm ICC max = 3mA 1 bit AC status signal Ring back status Ring back enable
Microcontroller Standard requirements • Operating Temperature: -10 to 80C • Operating humidity: 0 to 90% RH, non-condensing • Storage temperature: -30 to 85C • Storage humidity: 0 to 90% RH non condensing • Production cost: <$2 • Max Proto cost: <$12 • Max part count: <4 • Power consumption: <1W • PCB size: N/A (stand alone product) • Dimensions: 5 x 1 [cm] • Reliability: 10 years • Disposal: According to city/government laws • Safety requirements: EN 50081-1:1992, EN 50082-1:1997
Telephone Basics • OFF-HOOK Condition: • 8 VDC Between Tip and Ring • Tip = -20 VDC • Ring = -28 VDC • DC Resistance = 200-300Ω • 20-50mA Current Flow • ON-HOOK Condition: • 48 VDC Between Tip and Ring • Tip = 0 VDC • Ring = -48 VDC • No current flow DTMF Dial Tone Frequencies • Line Characteristics: • Ring Signal: 70 – 120 VAC • Bandwidth: 300Hz-3.4kHz • Min DTMF Tone Duration: 100ms
Dialer will dial the preset telephone number in the case of an emergency. This will be accomplished by placing DTMF (Dual Tone Multi-Frequency) signal on the telephone line. Phone number will be stored in the Micro-controller memory and sent to the dialer in form of 4-bit binary signal. This signal will be decoded by Dialer circuitry. Inputs: 4 bit digital signal from micro-controller Vin (low) = 0-0.8 VDC Vin (High) = 3.9-5.5 VDC 5V (±10%) DC, 70mA power supply 1 bit Relay Control Signal Vin (low) = 0-0.8 VDC Vin (High) = 3.9-5.5 VDC Relay will be used to close/open phone line Output: DTMF signal (697-1477Hz), 0.5VAC Peak max. Mechanical interface: RJ11 connector to phone line Dialer Performance Requirements
Operating Temperature: -10 to 60C Operating Humidity: 0 to 85%RH, non-condensing Storage Temperature: -40 to 70C Storage Humidity: 0 to 95%RH, non-condensing Max Part Count: <35 Max Proto Cost: < $30 Production Cost: <$20 Power Consumption: <1/2W PCB size: 5 X 10 X 2 (Cm) Reliability: 1000Hrs MTBF Disposal: According to government regulations Safety Requirements: EN 50081-1:1992, EN 50082-1:1997, Part 68 FCC Rules. Dialer Standard Requirements
Voice recording will record the user’s message which will be played after the telephone communication between the user and system has been established. The message will be recorded when RECORD signal is received from the micro-controller. The message will be played when PLAY signal is received from the micro-controller during emergency. Inputs: Audio AC signal 300-3400Hz, 50mVP-P Max Digital control signals RECORD/PLAY and Power Down 0-0.8VDC Low, 3.9-5.5VDC High 5VDC(±10%) power supply, 45mA Max Output: 300-3400Hz AC signal, 0.5VAC Peak Max Mechanical Interface: 2-Pin Microphone Connector Voice Recording/Playback - Performance Requirements
Voice Recording/Playback - Performance RequirementsBlock Diagram
Operating Temperature: 0 to 60C Operating Humidity: 0 to 85%RH, non-condensing Storage Temperature: -40 to 70C Storage Humidity: 0 to 95%RH, non-condensing Max Part Count: <20 Max Proto Cost: < $40 Production Cost: <$30 Power Consumption: <1.25W PCB size: 5 X 8 X 2 (Cm) Reliability: 1000Hrs MTBF, >50000 Recording Cycles Disposal: According to government regulations Safety Requirements: EN 50081-1:1992, EN 50082-1:1997, Part 68 FCC Rules. Voice Recording Standard Requirements
OEM Product that will enable two way communication between the user and the device. User will be able to monitor each sensor status over the internet. User will also have the ability to turn individual sensors on or off and to shut-down/restart the system. The I/O commands will be transferred through TCP/IP protocol using the internet socket interface. The socket interface will be implemented with Java applet. Inputs: 4 one-bit digital inputs 0-0.8 VDC Low, 2-5 VDC High 5VDC (±10%) power supply, 300mA Broadband Ethernet Embedded Ethernet Controller and Web Server – Performance Requirements
Outputs: 4 one-bit digital outputs 2.5 – 5 VDC High Broadband Ethernet Mechanical Interface: RJ45 connector 20 pin , two-row I/O connector, 2.5 mm Pitch Embedded Ethernet Controller and Web Server – Performance Requirements
Operating Temperature: 0 to 60C Operating Humidity: 0 to 85%RH, non-condensing Storage Temperature: -40 to 70C Storage Humidity: 0 to 95%RH, non-condensing Max Part Count: <40 Max Proto Cost: < $200 Production Cost: <$70 Power Consumption: <1.5W PCB size: 10 X 6 X 2 (Cm) Reliability: 1000Hrs MTBF Disposal: According to government regulations Safety Requirements: CISPR 22, CISPR 24 Embedded Ethernet Controller and Web Server – Standard Requirements
Ring Back Detection Ringback Detection Power Supply + 5V Micro controller Phone Line Once the alarm is triggered, uC talks to the dialer to dials. The ring back detection looks for ring-back/busy/dial tone. It connects to the phone line, detects the signals, and will let the uC know when the line is answered. WHY RING BACK ? Ring Back/ Ring Tone is returned to the calling party to indicate that the called line has been reached and power ringing has started. In the precise tone plan, audible ring back consists of 440 Hz + 480 Hz with a 2 seconds on/ 4 seconds off temporal pattern.