Download presentation
Presentation is loading. Please wait.
Published byShannon Rose Modified over 7 years ago
0
Capstone Design Project
EE Spring 2004 Design Team No. 1 Security Dialer Eric Biehr Mario Divis Igor Stevic Edwin Sofian Kelly Chapin
1
Design Team Members Mario Divis Edwin Sofian Kelly Chapin Igor Stevic
Eric Biehr
2
Security Dialer Project Selection
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.
3
Product Definition Automated home security monitoring system
Emergency status notification through phone line Internet status monitoring including remote control of the system Door or window opening, standing water and AC power failure notification Backup DC battery in the event of AC power failure Audible alarm in case of an emergency 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
4
Product Definition Continued
The system will detect If the door or window is opened Standing water Power failure If any of these conditions are met A signal will be sent to the microcontroller and web server The siren will be activated unless power failure is detected The dialer will dial a pre-set telephone number and when the call is answered the phone will play a pre-recorded message The display will show the status The user can monitor the status on the internet
5
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 standard Nema plug Permanent 12VDC rechargeable reserve battery with minimum 3 hours run time Stainless steel enclosure 12 months replacement warranty Product Life of 10,000 Hours MTBF Disposal/Recycle per 40 CFR Part 266 (Disposal of Hazardous Waste)
6
Standard Requirements
7
Standard Requirements Allocation
8
Packaging and Product Labeling
Product will be manufactured, assembled and packaged within the same facility Cardboard box and Styrofoam mold will be used to ship final product Shipping box labeling will include Manufacturer part number (bar coded) Manufacturer name and address Serial number (bar coded) Storage temperature, humidity and altitude Product enclosure labeling will include Model number Serial number (text and bar coded) Month and year manufactured All required text agency approvals and text (UL for US and Canada, FCC)
9
Operator’s Guide The consumer shall be given instructions for proper set-up and operation of the system Manual shall provide the following Product specifications Installation and set-up procedures Operating instructions The guide will be published in both English and Spanish
10
Safety Regulation Requirements
Federal Communications Commission 47 CFR 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 Information technology equipment
11
Electromagnetic Compatibility Standards
EN : 1992 Generic emission standard, part 1: residential, commercial and light industry EN : 1997 Generic immunity standard, part 1: residential, commercial EN55022 – CISPR 22 Emission requirements for information technology equipment EN55024 – CISPR 24 Immunity requirements for information technology equipment
12
EMC Test Requirements Specific EMC Requirements Test Description
Limits CISPR 22 Class B Radiated Emissions 30dBuV/m at 30 to 230 MHz, 37dBuV/m at 230 to 1 GHz Conducted Emissions 46 dBuV at 0.5 to 5 MHz, 50 dBuV at 5 to 30 MHz MIL-STD-461E, RE101 Magnetic emissions 7 cm for 30 Hz to 100 kHz EN IEC ESD immunity ±6 kV direct, ±8 kV air (minimum) IEC Radiated immunity 3 V/m for 80 to 2500 MHz , modulated at <10 Hz and 1 kHz IEC Fast Transient immunity 2 kV power lines, 1 kV I/O lines > 3 meters IEC Fast Surges immunity 1 kV (differential), 2 kV (common mode) IEC Conducted immunity 3 V, 150 kHz to 80 MHz, modulated at <10 Hz and 1 kHz IEC Magnetic immunity 3 A/m at 50/60 Hz IEC Voltage variations 10 ms, 100 ms, 500 ms, 2 s; 0%, 40% and 70% of input voltage EN IEC Harmonics Emissions Per Standards IEC Flicker Emissions Per Standards
13
Performance Requirements
Armed and Standby operational modes Display output conveying 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 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 position Molex sensor input connectors
14
I/Os Inputs Keypad used for menu options, user password, storing phone number and system control Microphone used for voice recording Sensors used to detect abnormal situations Internet used for system control Outputs Display used to view system status and menu options Internet used for system monitoring Phone line used to notify user when alarm is tripped Siren used to alert consumer
15
Embedded Ethernet Controller /Web Server
ENCLOSURE Power Supply +5VDC Edwin Eric Igor Kelly Mario VAC VDC +12VDC Phone Line Siren Dialer Ringback Detection Dialer Dialer Embedded Ethernet Controller /Web Server Micro-controller Voice Recording Internet Microphone 7 Sensors LCD Keypad
16
Embedded Ethernet Controller /Web Server
System Setup ENCLOSURE LCD displays menu of options Power Supply +5V VAC VDC +12V Phone Line Siren Dialer Ringback Detection Dialer Dialer Embedded Ethernet Controller /Web Server Micro-controller Internet Voice Recording Microphone 7 Sensors LCD Keypad
17
Embedded Ethernet Controller /Web Server
System Setup ENCLOSURE LCD displays menu of options Power Supply +5V VAC Keypad accesses options VDC +12V User enters phone number which will be stored in microcontroller Phone Line Siren Dialer Ringback Detection Dialer Dialer Embedded Ethernet Controller /Web Server Micro-controller Internet Voice Recording Microphone 7 Sensors LCD Keypad
18
Embedded Ethernet Controller /Web Server
System Setup ENCLOSURE LCD displays menu of options Power Supply +5V VAC Keypad accesses options VDC +12V User enters phone number which will be stored in microcontroller Phone Line Siren Dialer Ringback Detection Dialer Dialer Microphone conveys message to voice recording chip Embedded Ethernet Controller /Web Server Micro-controller Internet Voice Recording Microphone 7 Sensors LCD Keypad
19
Embedded Ethernet Controller /Web Server
System Events ENCLOSURE Microcontroller monitors sensors and AC status Power Supply +5V VAC VDC +12V Phone Line Siren Dialer Ringback Detection Dialer Dialer Embedded Ethernet Controller /Web Server Micro-controller Internet Voice Recording Microphone 7 Sensors LCD Keypad
20
Embedded Ethernet Controller /Web Server
System Events ENCLOSURE Microcontroller monitors sensors and AC status Power Supply +5V VAC VDC +12V Sensors are tripped Phone Line Siren Dialer Ringback Detection Dialer Dialer Embedded Ethernet Controller /Web Server Micro-controller Internet Voice Recording Microphone 7 Sensors LCD Keypad
21
Embedded Ethernet Controller /Web Server
System Events ENCLOSURE Microcontroller monitors sensors and AC status Power Supply +5V VAC VDC +12V Sensors are tripped Phone Line Siren is activated Siren Dialer Ringback Detection Dialer Dialer Dialer dials preset phone number Embedded Ethernet Controller /Web Server Micro-controller Internet Voice Recording Microphone 7 Sensors LCD Keypad
22
Embedded Ethernet Controller /Web Server
System Events ENCLOSURE Microcontroller monitors sensors and AC status Power Supply +5V VAC VDC +12V Sensors are tripped Phone Line Siren is activated Siren Dialer Ringback Detection Dialer Dialer Dialer dials preset phone number Ringback assessment Embedded Ethernet Controller /Web Server Micro-controller Internet Voice Recording Microphone 7 Sensors LCD Keypad
23
Embedded Ethernet Controller /Web Server
System Events ENCLOSURE Microcontroller monitors sensors and AC status Power Supply +5V VAC VDC +12V Sensors are tripped Phone Line Siren is activated Siren Dialer Ringback Detection Dialer Dialer Dialer dials preset phone number Ringback assessment Embedded Ethernet Controller /Web Server Micro-controller Message playback Internet Voice Recording Microphone 7 Sensors LCD Keypad
24
Embedded Ethernet Controller /Web Server
Internet Controller ENCLOSURE Power Supply +5V Monitors sensors and AC status VAC VDC +12V Phone Line Siren Dialer Ringback Detection Dialer Dialer Embedded Ethernet Controller /Web Server Micro-controller Internet Voice Recording Microphone 7 Sensors LCD Keypad
25
Embedded Ethernet Controller /Web Server
Internet Controller ENCLOSURE Power Supply +5V Monitors sensors and AC status VAC VDC +12V Controls system through microcontroller Phone Line Siren Dialer Ringback Detection Dialer Dialer Embedded Ethernet Controller /Web Server Micro-controller Internet Voice Recording Microphone 7 Sensors LCD Keypad
26
Embedded Ethernet Controller /Web Server
System Power ENCLOSURE Power Supply +5V Temporary AC connection supplies power VAC VDC +12V Phone Line Siren Dialer Ringback Detection Dialer Dialer Embedded Ethernet Controller /Web Server Micro-controller Internet Voice Recording Microphone 7 Sensors LCD Keypad
27
Embedded Ethernet Controller /Web Server
System Power ENCLOSURE Power Supply +5V Temporary AC connection supplies power VAC VDC +12V Permanent DC battery powers system if AC power fails Phone Line Siren Dialer Ringback Detection Dialer Dialer Embedded Ethernet Controller /Web Server Micro-controller Internet Voice Recording Microphone 7 Sensors LCD Keypad
28
Embedded Ethernet Controller /Web Server
- Mario Divis - Microcontroller Power Supply +5V VAC VDC +12V Phone Line Siren Ringback Detection Dialer Embedded Ethernet Controller /Web Server Micro-controller Voice Recording Microphone Internet 7 Sensors LCD Keypad
29
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 A microcontroller will have at least 30 I/O pins
30
Microcontroller Standard requirements
Disposal: FCR Part 266 (Disposal of hazardous waste) Safety requirements: EN :1992, EN :1997
31
Microcontroller block diagram
LCD module 4 bit data 3 bit ctrl XTAL Voice recording Power and Play/REC control GND 2 bits Vcc 4 bits Dialer chip control 5 bits Parallel keypad interface Web server stand by and sensor control Sensors control 5 bits 2 bits 1 bit 1 bits 1 bit AC status signal Ring back status Ring back enable
32
Microcontroller component selection
Description: AVR ATMega16 8-bit microcontroller 16k byte program memory 8MHz 40 pin DIP package 32 I/O pins Reason: Inexpensive chip and free C complier Good technical support (online community) Easily upgradeable to bigger size Large enough program memory
33
Microcontroller Schematic
Note: - One pin extra
34
Program Flowchart
35
Embedded Ethernet Controller /Web Server
- Mario Divis - LCD module Power Supply +5V VAC VDC +12V Phone Line Siren Ringback Detection Dialer Embedded Ethernet Controller /Web Server Micro-controller Voice Recording Internet Microphone 7 Sensors LCD Keypad
36
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 Inputs: Data lines 5V DC(+/-10%) power supply for driver and backlight, 1A Max Interfacing through pin header.
37
LCD module Performance requirements
LCD signals: Number of data signals < = 8 Number of control signals <= 4
38
LCD module Performance requirements
Inputs: Vih…………………………… V Vil………………………………0 – 0.8V Iih……………………………..<200uA Iil………………………………<200uA Backlight: LED backlight, Green/Yellow
39
LCD module Standard requirements
Disposal: FCR Part 266 (Disposal of hazardous waste) Safety requirements: EN :1992, EN :1997
40
20x4 LCD module block diagram
GND LCD Contrast adjust Vdd Backlight power 4 bit data bus 3 bit control line
41
LCD Component Selection
Description: Optrex Hitachi compatible 4x20 character LCD 8 bi-directional data bus lines 3 control lines EL (Electro Luminescent ) backlight Blue/Yellow Reason: Easy to program Short lead time
42
LCD timing diagram - Write Cycle
Item Symbol Min. Typ. Max. Unit Enable cycle time tC 500 - ns Enable pulse width tW 220 Enable rise/fall time tR , tF 25 RS, R/W set up time tSU 40 RS, R/W hold time tH 10 Data delay time tD 120 Data set up time tDSU 60 Data hold time tDH 20
43
LCD timing diagram - Read Cycle
Item Symbol Min. Typ. Max. Unit Enable cycle time tC 500 - ns Enable pulse width tW 220 Enable rise/fall time tR , tF 25 RS, R/W set up time tSU 40 RS, R/W hold time tH 10 Data delay time tD 120 Data set up time tDSU 60 Data hold time tDH 20
44
LCD module Schematic -4 pins * 4 bit mode = saved 4 pins
45
LCD – Microcontroller DC drive analysis
20mA 4.2V 0.7V 980nA 8uA -0.5V 0.3Vcc Microcontroller Ioh(-) Min Iol max Voh min Vol max Iih max Iil(-) Max Vih min Vil max 20mA 4.2V 0.7V 980nA 8uA -0.5V 0.3Vcc Microcontroller Ioh(-) Min Iol max Voh min Vol max Iih max Iil(-) Max Vih min Vil max 20mA 4.2V 0.7V 980nA 8uA -0.5V 0.3Vcc Microcontroller Ioh(-) Min Iol max Voh min Vol max Iih max Iil(-) Max Vih min Vil max LCD – Microcontroller DC drive analysis
46
Embedded Ethernet Controller /Web Server
Kelly Power Supply +5V VAC VDC +12V Phone Line Siren Ringback Detection Dialer Embedded Ethernet Controller /Web Server Micro-controller Voice Recording Internet Microphone 7 Sensors LCD Keypad
47
Performance Requirements - Siren
Performance Requirements – The power supply turns the siren on or off User indicators – The siren is one way to inform the user of a zone violation Estimated 100dB sound from the speaker Indoor perception distance will be 100 feet Operation modes – Unit will have two modes, on and off Electrical Transfer Performances THD maximum is 10% which is not critical Min power gain of 1 Maximum delay between triggered and activated is 2 seconds
48
Standard Requirements - Siren
Safety –UL464 (Standard for Audible Signal Appliances) Manufacturing –The maximum total parts count is 10, 3 of which are unique. The maximum parts and materials cost is $18, and the maximum assembly and test cost is $2 Life cycle – Estimated maximum production lifetime of 7 years, with a factory and/or field service strategy. Product life is estimated to be 15 years, with a three year warranty period. Market - Estimated prototype cost is $20, with a mass production cost of $15 Power – 12V dc, delivered from the power supply, and 5V signal from microprocessor Minimum operating voltage is 4V, maximum is 15V. Total power consumption is 12W.
49
Standard Requirements - Siren
Environmental – Range of operational and storage temperature is -40 C to 72 C. Relative humidity cannot exceed 90-95%. Product can be stored for ten years Mechanical Maximum product volume 64 cubic inches Volume 80 cubic inches Maximum product mass of 1.5 pounds Circuit will be on the master printed circuit board, and occupy 2.25 square inches Supply voltage will be transferred by soldered trace Estimated maximum shock force of 2 G due to the speaker Will survive 4 drops
50
Block Diagram - Siren speaker 12 Volt on/off signal Amplification
Siren Driver ZSD100 12 Volt on/off signal
51
Implementation - Siren
Amplification is provided by National Semiconductor LM386 Low voltage Audio Power Amplifier. Voltage gain can vary from 20 to 200 and is TBD Caps used are 220uF, 10uF, and 0.05uF One 10 ohm resistor Speaker is made by CUI Inc. Part number GF1004H. 8 ohm 4 inches in diameter Nominal input of 20W
52
Implementation - Siren
The siren block communicates to the user when the security system is triggered via audible alert The siren block will be activated by supplying power to the 2N2222 Philips npn transistor. This in turn connects the 12V supply to the siren driver. Siren signal generation comes from the ZSD100 chip. Signal frequency is variable, and is a function of capacitances Cout and Cmod Output frequency is TBD, and can range from 100Hz to 10kHz.
53
Schematic - Siren
54
Embedded Ethernet Controller /Web Server
Kelly Power Supply +5V VAC VDC +12V Phone Line Siren Ringback Detection Dialer Embedded Ethernet Controller /Web Server Micro-controller Voice Recording Internet Microphone 7 Sensors LCD Keypad
55
Performance Requirements - Keypad
Buttons are of the pushbutton type Tamper resistant User indicators and displays Sixteen alpha-numeric buttons; 0-9, *, #, and letters A-D Viewing distance is approximately four feet depending on the users vision, in normal room lighting Operation modes Power modes are on, and off Functional modes are “key depressed”, and “standby” Electrical interfaces – Keypad signals will be transferred to circuitry through soldered wires Mechanical interfaces – Connector from keypad to main board is a single row, 8 connector female housing. Wires from the connector will be soldered onto the main board
56
Standard Requirements - Keypad
Market - Estimated prototype cost is $18, with a mass production cost of $15. Power – 5V dc nominal Minimum operating voltage is 4.5V, maximum is 5.5V Mechanical Maximum product volume is 8 cubic inches Individual volume 10 cubic inches Maximum product mass 0.25 pounds This circuit will be on the master printed circuit board, and not occupy more than 2 square inches Supply voltage to the keypad will be transferred via pin and socket connector. Supply voltage to the logic will be delivered by a soldered trace on the circuit board. Estimated maximum shock force of 10G. Product will survive 20 drops.
57
Standard Requirements - Keypad
Environmental – Operating temperature is form -30 to 80 Celsius. Safety – None found Manufacturing Maximum total parts count is 35, with four being unique Maximum parts and material cost will be $30, assembly and test cost of $5 Life Cycle Estimated maximum production lifetime of 5 years, with a factory and/or field service strategy Product life 15 years, three year warranty period
58
Block Diagram - Keypad 4 Parallel Output EDE1144 Keypad Encoder
8 I/O Signals 5V Supply
59
Implementation - Keypad
The keypad can be used for arming, disarming, system setup, and dialer programming. The user may activate and deactivate the alarm by entering a security code on the keypad. The user also can use the keypad to control various functions of the system Parts Grayhill 96 series keypad Tyco eight position female connector E-Lab EDE1144 keypad encoder will be used to interface the keypad to the microprocessor. 4 MHz crystal oscillator Four 330 ohm resistors Four 4.75k ohm resistors Two 27 picoFarad Capacitors for the clock
60
Schematic - Keypad
61
Implementation – Keypad – DC Drive Analysis
DEVICE OUTPUT TYPE INPUT TYPE ViL MAX ViH MIN IiL MAX IiH MAX VoL MAX VoH MIN IoL MAX IoH MIN Vhyst CHECKED SIGNAL NAME KEYPAD DIGITAL NA ? 25mA 20mA NO YES KP
62
Embedded Ethernet Controller /Web Server
Kelly Power Supply +5V VAC VDC +12V Phone Line Siren Ringback Detection Dialer Embedded Ethernet Controller /Web Server Micro-controller Voice Recording Internet Microphone 7 Sensors LCD Keypad
63
Performance Requirements – Water Sensor
Operation modes – Sensor has one mode which is “on”. The functional modes are “water present”, and “no water present”. Electrical Interfaces – When water is detected, the sensor will send a digital signal to the microprocessor. Mechanical interfaces – This sensor requires two contacts. Therefore a 2 position connector is used to link it to the system.
64
Standard Requirements – Water Sensor
Life cycle Estimated Maximum production lifetime 7 years Replacement only, no service Product life of 10 years Market – Maximum production cost is $10, maximum prototype cost is $15. Power – 5V dc, delivered from the power supply. Minimum operating voltage is estimated to be 4V, maximum is estimated to be 14V.
65
Standard Requirements – Water Sensor
Mechanical Maximum product volume 6 cubic inches Maximum product mass is 0.25 pounds Sensor has four parts, all of them are unique. The maximum shock force is 100G, 10+ impacts. Environmental – Operating and storage temperature is form -30 to 80 Celsius. Product will operate in all humidity. Safety –UL 634 (Standard for Connectors and Switches for Use with Burglar-Alarm Systems) Manufacturing - 8 parts maximum, 6 parts are unique. Maximum parts cost is $7, with a $2 assembly and test cost.
66
Block Diagram - Water Sensor
5 Volt Supply Single Digital Output Sensing Element Logic Dc output
67
Schematic - Water Sensor
68
Implementation – Water Sensor – DC Drive Analysis
DEVICE OUTPUT TYPE INPUT TYPE ViL MAX ViH MIN IiL MAX IiH MAX VoL MAX VoH MIN IoL MAX IoH MIN Vhyst CHECKED SIGNAL NAME WATER SENSOR DIGITAL NA 1.46V 3.68V 16mA 0.8mA NO YES H2O
69
Performance Requirements – Door / Window Sensor
Performance requirements – Momentary pushbutton switch used to sense opening of a door or window. Operation modes - Sensor has one mode “on”. Sensor has two functional modes, “closed window / door”, and “open window / door”. Electrical interfaces - Sensor will return a digital signal to the microprocessor in the event of intrusion. Mechanical interfaces Requires mounting hardware Sensor requires a 2 position connector to link it to the system
70
Standard Requirements – Door / Window Sensor
Market – Maximum production cost is $8, maximum prototype cost is $15. Power - 12V dc, delivered from the power supply. Minimum operating voltage is estimated to be 4V, maximum is estimated to be 14V. Mechanical Maximum product volume is 1 cubic inch Maximum product mass is 0.25 pounds Sensor has 8 parts, all unique The maximum shock force is 100G, 10+ impacts Environmental – Operating and storage temperature is form -30 to 65 Celsius. Humidity operation for pushbutton switch is not rated.
71
Standard Requirements – Door / Window Sensor
Safety – UL 634 (Standard for Connectors and Switches for Use with Burglar-Alarm Systems), UL 498 (Standard for Attachment Plugs and Receptacles), Manufacturing - 10 parts maximum, 5 are unique. Maximum parts cost is $7, with a $1 assembly and test cost. Life cycle – Estimated Maximum production lifetime of 15 years. Replacement only, no service. Product life of 10 years. Product will be disposed in accordance to laws and regulations regarding solder.
72
Block Diagram - Door / Window Sensor
5 Volts DC Sensing Element DC Output
73
Schematic - Door / Window Sensor
74
Verification – Door / Window Sensor
75
Implementation – Door / Window Sensor - DC Drive Analysis
DEVICE OUTPUT TYPE INPUT TYPE ViL MAX ViH MIN IiL MAX IiH MAX VoL MAX VoH MIN IoL MAX IoH MIN Vhyst CHECK SIGNAL NAME DOOR / WINDOW SENSOR DIGITAL NA 1.46V 3.68V 16mA 0.8mA NO YES D/W
76
Implementation - Door / Window Sensor
Installation example for a door – Required hardware is one angled bracket and one flathead wood screw. Shown below are both an “open door” and a “closed door” situation.
77
Implementation – Door / Window Sensor
Parts 74LS32 OR gate Resistors – two 5k and one 1k Mounting hardware - TBD C&K 8500 Series Subminiature Pushbutton Switch Part # 8532T1ZQE1 The production system will have will have the capability of using more than 2 sensors. Only 2 are used in this case due to limited microprocessor I/O pins.
78
Embedded Ethernet Controller /Web Server
DIALER Igor Stevic Power Supply +5V VAC VDC +12V Phone Line Siren Ringback Detection Dialer Embedded Ethernet Controller /Web Server Micro-controller Voice Recording Internet Microphone 7 Sensors LCD Keypad
79
Dialer Performance Requirements
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 will be sent to the dialer in form of 4-bit BCD signal BCD Signal Will be Decoded by Dialer circuitry 1-bit Signal from the Micro-controller will be used to control timing of dialer output
80
Dialer Performance Requirements
Inputs: 4 bit digital signal from micro-controller Vin (low) VDC Vin (High) VDC Iin (low) uA Iin (High) uA 5V (±10%) DC, 70mA power supply 1 bit Relay Control Signal Vin (High) VDC Iin(Low) <100uA Iin(High) >100uA Relay will be used to close/open phone line Output: DTMF signal ( Hz), 0.5VAC Peak max THD <-15dB – 600 Ohm Load Capable of achieving -9dBm when driven into 600 Ohm Load Mechanical interface: RJ11 connector to phone line
81
Dialer Standard Requirements
Minimum Maximum Operating Temperature Range (°C) -10 60 Operating Humidity Range (Rh) Non-condensing 0% 85% Operating Altitude Range (meters) 8,000 Storage Temperature Range (°C) -40 70 Storage Humidity Range (Rh) Non-condensing 95% Storage Altitude Range (meters) 13,000 Storage Duration (years) 5 Reliability (yr) 1 Vibration and Shock (G) 10 Power Consumption (Watts) 1/2 Product Cost ($) 20 Prototype Cost ($) 30 Parts Count 35 Unique Parts Count 3 PC Board Area (cm²) 50 Disposal: CFR Part 266 (Disposal of Hazardous Waste) Safety Requirements: EN :1992, EN :1997, Part 68 FCC Rules
82
Dialer Block Diagram
83
Dialer Detailed Design - Proto Build Component Selection
Description Package Price ($) Rationale HT93214A Dialer Chip PDIP 0.40 Simple and Low Cost Dialer Chip LM386* Audio Power Amp 0.94 Gain of 20 with no external components, Single Power Supply, Can deliver 700mW into 8 Ohm Load CD74ACT541E Octal Non-Inverting Buffer 0.56 Tri-State, 8-Bit GAL16V8D PLD 1.39 8-Outputs, Simple Mode TTC-105* Isolation Transformer 2.95 Telecommunication Transformer, “Wet”, 1:1 Turn Ratio, 600:600 Ohm Impedance, 90mA DC Current * These components are shared between Dialer and Voice Recording Blocks
84
Internal Signal Worst Case Analysis
1) Timing Analysis Needed to Determine Propagation Delays DC Drive Analysis
85
Telephone Line Characteristics (DC)
ON-HOOK Condition: 50 VDC Between Tip and Ring Tip = 0 VDC Ring = -50 VDC No current flow OFF-HOOK Condition (DC): Current Flows into the Load Load Creates Voltage Divider In our Case: R(Line) =580 Ohm V(Load) = 5.7V I (Load) = 76 mA
86
Telephone Line Characteristics (AC)
Ring Signal: 70 – 120 VAC Dial Signal: 350 Hz and 440 Hz (-13 dBm) Bandwidth: 300Hz-3.4kHz Min DTMF Tone Duration: 100ms Min DTMF Pause: 100ms FCC Part 68 Regulations Speech signal not to exceed -9 dBm when averaged over any 3 second interval Signal not to exceed 0 dBm when used for network control (DTMF) Terminal Equipment DC Resistance for on hook condition should be greater then 5 MΩ (Tip to Ring) DTMF Table 1,209 Hz 1,336 Hz 1,477 Hz 697 Hz 1 2 3 770 Hz 4 5 6 852 Hz 7 8 9 941 Hz * #
87
Dialer Detailed Design - Preliminary Schematics
Buffer Holds Dial Code Until Ready to Dial. BCD that corresponds to the number being dialed OE Goes Low and Low Signal Is Applied to Appropriate Row and Column
88
PLD Vectors Simulation Diagram
89
Dialer Detailed Design - Preliminary Schematics (Output Stage)
220uF 50 KΩ Input Impedance to Ground 720Ω 20k
90
Dialer Detailed Design - Transistor (Relay) Switch
Coil Resistance= 720Ω Coil Current=16.7mA Vbe=0.73V When Ic=16.7mA Ib=167uA Voh(min)=4.2V R2=20.8kΩ
91
Preliminary Calculations - Dialer
Parameter Requirement Calc. Value Meas. Value Comments Coupling Capacitors fco < 300 Hz 0.1uF (Dialer Chip Output) 200uf (Amp Output) TBD fco=1/(2*pi*R*C) Power Delivered To Load -7dBm < P < 0 dBm 1/2mW Using -3dBm P=10log(P(L)/Pref) P=V2rms/Z Transformer Insertion Loss (IL) Maximum 2.5dB NA IL=10log(Pmax/Pdel) Power Delivered Out of Amplifier needs to compensate for this loss. Amplifier Gain 26dB Output From the Chip ½ mW into 600Ω (No Amp Used) V =0.155 Vrms (Data Sheet) P=4.5uW 5kΩ Load Output From the Amp ½ mW into 600 Ω P=325mW into 8Ω (Data Sheet) Note: Calculations are Done Using Sinusoidal Signal. Final calculations will be completed once proto is build and measurements can be made.
92
Embedded Ethernet Controller /Web Server
Voice Recording Igor Stevic Power Supply +5V VAC VDC +12V Phone Line Siren Ringback Detection Dialer Embedded Ethernet Controller /Web Server Micro-controller Voice Recording Internet Microphone 7 Sensors LCD Keypad
93
Voice Recording – Performance requirements
Voice recording will record the user’s message The message will be played after the system was breached and telephone communication between the user and system has been established Only one message can be stored in memory Chip with Flash Memory will be used At least 1 minute of recording space will be available
94
Voice Recording Chip Micro-Controller Amplifier
Operation Sequence When user requests to record the message uC will send RECORD signal to voice chip Message is stored until alarm is activated Once the alarm is activated, PLAY Signal is sent from uC and message is played over the phone line Message will loop for 90 seconds until stopped by uC Mic PLAY Voice Recording Chip Phone Line Audio Micro-Controller Amplifier REC
95
Voice Recording/Playback - Performance Requirements
Inputs: Audio AC signal Hz, 500mVP Max Digital control signals RECORD/PLAY and Power Down Vin (Low) V Vin (High) V Iin (low) uA Iin (High) uA 5VDC(±10%) power supply, 45mA Max Output: Hz AC signal, 0.5VAC Peak Max THD < 2% At 1kHZ Capable of achieving -9dBm when driven into 600 Ohm Load Mechanical Interface: 2-Pin Microphone Connector
96
Voice Recording Standard Requirements
Minimum Maximum Operating Temperature Range (°C) 60 Operating Humidity Range (Rh) Non-condensing 0% 85% Operating Altitude Range (meters) 8,000 Storage Temperature Range (°C) -40 70 Storage Humidity Range (Rh) Non-condensing 95% Storage Altitude Range (meters) 13,000 Storage Duration (years) 5 Reliability (yr) 1yr or Recording Cycles Vibration and Shock (G) 10 Power Consumption (Watts) 1.25 Product Cost ($) 30 Prototype Cost ($) 40 Parts Count 20 Unique Parts Count 3 PC Board Area (cm²) 40 Disposal: 40 CFR Part 266 (Disposal of Hazardous Waste) Safety Requirements: EN :1992, EN :1997, Part 68 FCC Rules
97
Voice Recording/Playback - Block Diagram
98
Voice Recording Detailed Design - Proto Build Component Selection
* These components are shared between Dialer and Voice Recording Blocks
99
Worst Case Analysis Plan
Voice Recording Detailed Design DC Drive Analysis
100
Voice Recording Detailed Design - Schematics
Voltage Divider Controls the Amplitude of Amplifier Input Pull-up resistor assures that PD will not go low during initialization. Internal 10kΩ impedance and coupling capacitor form high-pass filter
101
Voice Recording Detailed Design - Schematics
220uF 50 Kohm Input Impedance to Ground 720Ω 20kΩ
102
Preliminary Calculations – Voice Recording
Parameter Requirement Calc. Value Meas. Value Comments Coupling Capacitors fco < 300 Hz 0.1uF (Voice Chip Output) 200uf (Amp Output) TBD fco=1/(2*pi*R*C) Power To Load -14dBm<P<-9 dBm <0.125mW P=10log(P(L)/Pref) P=V2rms/Z Transformer Insertion Loss (IL) Maximum 2.5dB NA IL=10log(Pmax/Pdel) Power Delivered Out of Amplifier needs to compensate for this loss. Amplifier Gain 26dB Nominal Gain Output From the Voice Chip <0.125 mW into 600Ω (No Amp Used) P=12.2 mW into 16 Ω Data Sheet Output From the Amp P=325mW into 8Ω Note: Calculations are Done Using Sinusoidal Signal. Final calculations will be completed once proto is build and measurements can be made.
103
Embedded Ethernet Controller /Web Server
Igor Stevic Power Supply +5V VAC VDC +12V Phone Line Siren Ringback Detection Dialer Embedded Ethernet Controller /Web Server Micro-controller Voice Recording Internet Microphone 7 Sensors LCD Keypad
104
Embedded Ethernet Controller and Web Server – Performance 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.
105
Embedded Ethernet Controller and Web Server – Performance Requirements
Inputs: 3 one-bit digital inputs Vin (low) V Vin (High) V Iin (low) uA Iin (High) 0-10uA 5VDC (±10%) power supply, 300mA Broadband Ethernet Outputs: 3 one-bit digital outputs Voh – 5 V Vol V Ioh 2-5mA Iol uA Mechanical Interfaces: RJ45 connector 20 pin , two-row I/O connectors (2), 2.5 mm Pitch
106
Web Server Standard Requirements
Minimum Maximum Operating Temperature Range (°C) 60 Operating Humidity Range (Rh) Non-condensing 0% 85% Operating Altitude Range (meters) 8,000 Storage Temperature Range (°C) -40 70 Storage Humidity Range (Rh) Non-condensing 95% Storage Altitude Range (meters) 13,000 Storage Duration (years) 5 Reliability (yr) 1 Vibration and Shock (G) 10 Power Consumption (Watts) 1.5 Product Cost ($) Prototype Cost ($) 200 Parts Count 40 (All OEM) Unique Parts Count PC Board Area (cm²) Disposal: CFR Part 266 (Disposal of Hazardous Waste) Safety Requirements: CISPR 22, CISPR 24
107
Embedded Ethernet Controller and Web Server – Block Diagram
108
Sena HD 1100 Specifications
Component Selection Sena HD 1100 Specifications 16 Digital Inputs 16 Digital Outputs Built-in TCP/IP Stack Utility Software Included as well as IDE SW Micro-Controller on Board 10 Base T Ethernet Controller on Board 5VDC Power Requirement RJ45 Connector 512KB Flash Memory Low Price ($90) BEST VALUE THAT SATISFIES PROJECT REQUIREMENTS!!!
109
DC Drive Device Parameters
DC Drive Analysis Device Output Input Type DC Drive Device Parameters Type Vil Vih Iil (-) Iih Vol Voh Iol Ioh (-) Checked max min Max Min 16Bit Latch TS 0.8 2 1uA 0.55 10uA X Pull-up Resistor needed to bring Voh (Min) to 3V (Vih(min) for uC)
110
Schematics Internal Circuit
111
Java Script A socket is one end-point of a two-way communication link between two programs running on the network. The java.net package provides two classes--Socket and ServerSocket--that implement the client side of the connection and the server side of the connection. Sena HD IDE (Integrated Development Environment) Creates Java script that implements these sockets as well as graphic user interface. HD IDE Software Package allows creation of web pages quickly with minimum programming knowledge.
112
Preliminary Version Of the Web Page
Status Monitoring User System Control Interface System Stand-BY and Power-ON Switch
113
Embedded Ethernet Controller /Web Server
Power Supply Edwin +5V VAC VDC +12V Phone Line Siren Ringback Detection Dialer Embedded Ethernet Controller /Web Server Micro-controller Voice Recording Internet Microphone 7 Sensors LCD Keypad
114
Basic Call Progress 1 2 Costumer decides to make a phone call and lifts the handset off the switch hook of the telephone set. Telephone set is in ready condition wait for a caller to pick up its handset.
115
Basic Call Progress 4 3 Telephone switch translates the tones into a port address that connects to a telephone set of the called party. Costumer enter a phone number (address) of a telephone at another location.
116
Basic Call Progress 5 CO* switch connects to the called line, it sends a 20 Hz-90V and sends ringing signal to the phone of the called party. While ringing the called party’s phone, the CO switch sends ring back tone to caller and lets the caller know that ringing is taking place at the called party’s phone. *CO = central office
117
Basic Call Progress As soon as the called party lifts the handset, an off-hook phase starts again from the opposite site of the network. The local loop is closed on the called party’s side, and current starts to flow to the CO switch. This switch detects current flow and completes the voice connection back to the calling party’s phone. 6
118
Ring Back Detection Power Supply + 5V Micro controller Phone Line
Once the sensor is triggered, uC talks to the dialer to dials. The ring back detection looks for ring-back tone. Because it connects to the phone line, it will detect the ring back signals, and tell the microcontroller if the line has answered. ADVANTAGE OF RING BACK: Ring Back Tone is returned to the caller to indicate that the called line has been reached and ringing has started. In the precise tone plan, audible ring back consists of 440 Hz Hz with a 2 seconds on/ 4 seconds off temporal pattern.
120
Precise Call Progress Tone Detection
Manufacture: Clare Parts #: M P ~ 22-pin plastic DIP Features: - Receive and generate common call progress tones - Detectors operate with a single 3 to 5 volt supply - Linear/analog input and digital output - Wide dynamic range (>38 dB) - Low power consumption MHz crystal clock oscillator
121
Precise Call Progress Tone Detector
M contains five signals detectors (DET n) sensitive to the frequencies. In this case, I am going to use 2 frequency signals only for Ring Back (Det3-440Hz, Det4-480Hz). DET n outputs of the M P can determine the nature of signals/characters present by measuring their duty cycle (2 sec on, 4 sec off). Duty cycle for ring back is around 33.33%.
122
Performance Requirements
Operation Modes Power-down mode: 4 to 10 uA Electrical Interface - Input : Analog (Linear) - Outputs: Digital (CMOS compatible), tri-state - Dynamic range: 30 dB - Signal Detection Freq Range: -11 to +11 Hz * Duration (tdd) = 200ms * Bridge time (tbb) = 20ms - Signal Rejection Freq Range: -66Hz * Interval duration (tid) = 160ms * Time to output (tio) = 200ms Mechanical Interface Connector: Phone line (a & b)
123
Standards Requirements
Market Max Prototype cost: $25 Max Production cost: $12 Mechanical Max Total PCB Area: 100 cm^2 Power Single supply: 3 to 5 volt (low power CMOS) Current Drain (Idd): = 15 mA Environmental Storage Temperature: -40 to 150˚C Operating Ambient Temperature: -40 to 85˚C Operating Conditions: Vdd = 2.7 – 5.5V Vref = 1.296V – 1.404V Power Supply Noise = 20mVp-p
124
Standard Requirements
Safety EMC Standard: IEC (power line harmonics) IEC (Electro Static Discharge Immunity) Other Standards: ISO 9001:2000 Certification ISO 9001:1994 Certification
125
Block Diagram Detector Outputs Precise Tone Detector
SIGIN DET3 XRANGE DET4 XIN 3.58 MHZ Oscillator Clock Generator Power Regulation XOUT PD Vref Vdd Vss OE EN
126
Circuit Diagram
127
PIN FUNCTION & CONNECTION
DET 3 Active high tri-state output, detect for 440 Hz uC DET 4 Active high tri-state output, detect for 480 Hz PD Power-down operation, logic high inhibits internal clock V_DD Most positive power supply input pin Power Supply OE Active high enable EN Active high input V_SS Most negative power supply input pin GND SIGIN Analog signal input (internally capacitive coupled) Circuit XRANGE Active low input. Adds 10 dB of gain to input stage V_REF Internally generated mid-power supply voltage (output) XIN Crystal oscillator or digital clock input XOUT Crystal oscillator output
128
Parts List Part Number Description Mfg. QTY Cost/unit Total Cost
M P Call Progress Tone Clare 5 15.5 77.5 BC1659-ND CAP FILM MKT .001UF 400VDC 10% DIGIKEY 1 0.91 BC499KXCT-ND RES 499K OHM METAL FILM .40W 1% 1.95 BC54.9KYCT-ND RES 54.90K OHM METALFILM .40W 1% 0.95 BC49.9KYCT-ND RES 49.90K OHM METALFILM .40W 1% 75C4752 OP AMP SINGLE SUPPLY, OPA244PA NEWARK 3 1.41 4.23 18C1359 XO-54B MHZ Crystals Oscillators 2 2.24 4.48 96F2798 Crystals/Oscillators MHz 0.66 1.32
129
For input impedance Voltage Feedback Ri = 10^6Ω
Calculation For input impedance Voltage Feedback Ri = 10^6Ω A = open loop gain = 106dB = 3.98x10^10 B = amplifier gain = -Rf/Ri = -0.1 Ri’ = (1+AB)Ri = {1+(3.98x10^10)(-0.1)} (10^6) Ri’ = 3.98x10^15Ω
130
DC Drive Analysis Table
Device Output Input Type DC Drive Device Parameters Sig Type Name Vil Vih Iil (-) Iih Vol Voh Iol Ioh (-) Vhyst Checked max min Max Min Device 1 Std 0.5 V 2.2 V -1 mA 1 mA DET 3, DET 4 Device 2 3 V PD, OE Device 3 0.8 V 2 V 0.4 mA 0.1 mA 2.7 V 8 mA Ring Back (from AND gate)
131
Digital Timing Analysis
Tri-state timing: OE is active high input DET n (active tri-state output) Signal timing: SIGIN (analog signal input) Power Down Timing: PD is high (logic high inhibits internal clock) Clock is inactive
132
Ring Back Validation Tools
Power Supplies Digital Multimeter Digital Oscilloscope
133
Embedded Ethernet Controller /Web Server
ENCLOSURE Power Supply +5V Eric Biehr VAC VDC +12V Phone Line Siren Dialer Ringback Detection Dialer Dialer Embedded Ethernet Controller /Web Server Micro-controller Voice Recording Internet Microphone 7 Sensors LCD Keypad
134
Maximum Current (mA) @ Nominal Voltage
Power Allocation Table Components DC Voltage (V) Maximum Current Nominal Voltage Minimum Maximum Nominal Siren 4 18 12 500 CO sensor 14 5 15 Door/Window sensor Water sensor 40 Keypad 6 Ringback Detection 3 Web Server 4.5 5.5 300 Dialer 2 2.5 70 Dialer Relay 10.6 12.6 17 Voice Chip 45 Microcontroller Battery Charger 13.5 13.65 250 LCD Total Maximum Current 1812
135
Power Supply Performance Requirements
Power Source Inputs Temporary 60±3Hz %/-15%VAC power using standard 3 prong detachable Nema plug connecting to IEC 320 AC receptacle with external 5 x 20 mm fuse holder for consumer accessibility Permanent reserve 12VDC 4.5Ahr 54Watt-hrs rechargeable sealed lead-acid battery with minimum 3 hours system supply time Regulated Output DC Voltages Regulation Type Input Voltage Range (DC) Output Voltage Range (DC) Efficiency Minimum Maximum Nominal +18V Linear 21 30 24 17.2 18.8 >70% +12V 15 20 18 10.6 12.6 +5V 8 14.4 12 4.75 5.25
136
Power Supply Performance Requirements
AC and DC powered modes Diode circuit allows power flow from DC battery if AC power source fails Logic signal (signal specifications on next slide) 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 Voltage Ripple and Noise < 300mV Load Regulation < 5% for 30% load change Line Regulation < 5% for 15% line voltage change Maximum leakage current is 5mA per UL1950
137
Power Supply External Signals & DC Drive Analysis
Name I/O Analog/ Digital Worst Case Analysis Dig Output DC Drive AC Status O X DC Drive Analysis Device Output Type DC Drive Device Parameters (V or mA) Signal Name Vil max Vih min Iil (-) Iih Vol Voh Iol Ioh (-) Checked SN74HC32 Standard 1.35 3.2 20.0 0.33 3.84 4.0 X AC Status AC Status signal will be sent to Microcontroller and Web Server
138
Minimum Maximum % Allocation
Power Supply Standard Requirements Minimum Maximum % Allocation Operating Temperature Range (°C) -10 60 Operating Humidity Range (Rh) Non-condensing 0% 85% Operating Altitude Range (meters) 10,000 Storage Temperature Range (°C) -40 70 Storage Humidity Range (Rh) Non-condensing 95% Storage Altitude Range (meters) 13,000 Reliability MTBF (years) 4 Storage Duration (years) 5 Product Weight (lbs) 9 80% Product Volume (cm³) 16,200 60% Operational 1 meter 2 Vibration and Shock (G) 10 Prototype Cost ($) 75 13% Production Cost ($) 40 Parts Count 30 30% Unique Parts Count 15 PC Board Count 1 PC Board Area (cm²) 200
139
Power Supply EMC, Safety Standards and Disposal
Power Supply Safety Devices UL compliant molded AC line cord and IEC 320 Receptacle External 2A fuse within IEC 320 receptacle to provide over-current protection 140V 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 Power Supply EMC, Safety Standards and Disposal Electromagnetic Compatibility Standards EN :1992, EN :1997 Safety Regulation Standards UL1950 Disposal/Recycle per 40 CFR Part 266
140
Power Mode Detection & Switching Circuit
Power Supply Block Diagram Microcontroller & Web Server Logic Signal 40mA 60Hz 120VAC VOH=5V, VOL=0.7V Siren 500mA, Relay 17mA 25.2VAC Transformer, Rectifier & Voltage Regulator Voltage Regulator Power Mode Detection & Switching Circuit Voltage Regulator Microcontroller mA Dialer mA Voice Chip mA +18VDC 2A +12VDC 1.5A +12VDC 1.5A +5VDC 1A LCD mA Web Server mA Keypad mA Ringback Detection 15mA Sensors mA Battery Manager DC battery 12V 4.5Ahr to +14.7VDC 250mA
141
Power Supply Schematic
142
Power Supply Component Selection
Selection Purpose Power Line Cord UL compliant, convenient detachable feature, safety ground Cord Receptacle UL compliant, convenient external fuse Fuse 1 Provides over-current protection from AC source Varistor Provides over-voltage protection from AC source Transformer Drops down AC voltage to desired voltage level and supplies sufficient current Bridge Rectifier Rectifies AC voltage to DC voltage Voltage Regulators Provide proper output voltages and current for system components Heat Sinks Large heat sinks provide proper heat dissipation from voltage regulators Diodes 1-3 Protect voltage regulators from possible reverse voltages Resistors 1-2 Calculated to set adjustable regulator to proper output voltage Capacitors 1-3 Provide smoothing of rectified voltage to minimize voltage ripple and meet specifications Capacitors 4-6 Increases transient response, bypasses high-frequency noise generated by load Battery Manager IC Provides ideal battery charging states with limited external components Battery Sealed battery for safety within enclosure, provides proper operating time Resistors 5-10 Calculated for battery IC based on charging voltage and current Transistor Q1 Connected to battery IC driver and allows for passing of battery charging voltage Diode 4 Protects voltage regulator output and blocks voltage for AC status signal Diode 5 Provides over-charge battery protection Fuse 2 Self-Resetting Polyswitch provides over-current protection to load OR-Gate Provides proper DC drive for AC status logic signal Transistor Q2 Used to switch AC status signal into OR-gate Resistors 3-4 Chosen to provide proper input signal to OR-gate
143
Reserve Battery Implementation
MK Battery ES4-12 Sealed lead-acid AGM maintenance-free rechargeable battery Stores very well and tends to degrade slower than other chemistries Low chance of corrosion and the safest lead-acid batteries you can use 12V value to eliminate need for step-up converter if lower value used 4.5Ahr will provide a minimum of 3 hours run time as stated within the performance specifications Note: Run time will be maximized if system is not in triggered alarm state Low 4.5Ahr rate selected to minimize size and weight of battery
144
Battery Manager Implementation
Texas Instruments IC UC2906 Sealed lead-acid battery charger ideal for battery chosen Controls charging with limited number of external components Controls voltage and current through voltage loop and current limit amplifiers by internal driver, voltage and current sense comparators sense battery state and respond with logic inputs to the internal charge state logic External component calculations were made based on UC2906 data-sheet application information and battery data sheet specifications VF ≡ Float Voltage = 13.65V (Battery data sheet specifications: 13.5 to 13.8V) VOC ≡ Over-charge level = 14.7V (Battery data sheet specifications: 14.4 to 15V) IMAX ≡ Maximum charging current = 250mA (Battery sheet specifications: 1.35A max) (Lead-acid batteries should be charged at 1/10 to 1/20 of capacity)
145
Battery Manager Component Calculations
VIN = +18V, VREF = 2.3V VT ≡ Battery voltage to enable max charging current = 11.7V VOFF for internal Current Limit Amplifier = 0.25V ID ≡ Divider Current = 70μA (Battery charger data sheet specifications: 50 to 100μA) IT ≡ Trickle current chosen as IMAX / 20 = 10mA RC = VREF / ID = 33333Ω ≈ 33kΩ = R10 RA + RB = RSUM = (VF – VREF) / ID = Ω RD = (VREF * RSUM) / (VOC – VF) = ≈ 360kΩ = R9 RA = (RSUM + RX)*(1 - VREF / VT) = ≈ 150kΩ = R7 Where RX = RC*RD / (RC+RD) = RB = RSUM – RA = ≈ 10kΩ = R8 RS = VOFF / IMAX = 1Ω = R5 RT = (VIN – VT – 2.5V) / IT = 450Ω =R6 Laboratory testing will be completed to validate proper battery charging specifications are met
146
Power Supply Calculations
Adjustable voltage regulator set for +18V output VO = 1.25V (1 + R2 / R1) + IADJ R Set R1 = 220 Ω Therefore R2 = (VO – 1.25) / ( IADJ) Note: IADJ = 50uA typical, 100uA maximum for LM350AT R2 = (18 – 1.25) / (1.25/220 + IADJ) IADJ typ = 50μA: Therefore R2a = 2922 Ω IADJ max = 100μA: Therefore R2b = 2897 Ω Choose R2 = 2.9kΩ Worst case analysis for adjustable regulator output R1 = 220 Ω +/-5% = 209 to 231 Ω R2 = 2.9 kΩ +/-5% = to kΩ Therefore, VO min = 16.29V using R1 max, R2 min and IADJ typ VO max = 19.77V using R1 min, R2 max and IADJ max Both VO worst case values are within the power supply performance specifications
147
Power Supply Design Details
Total maximum power distributed by power supply Power = (Sum of all Component’s Power) * 130% = (14.7V*0.25A + 12V* V*1.045A) * 130% = 14.9 Watts Note: Power is multiplied by 130% because the linear voltage regulators used have a minimum efficiency of 70% Total distributed power falls below system standards specification Linear voltage regulator capacitor selection Large 2200uF electrolytic initial input filter capacitor for 18V regulator chosen to minimize voltage ripple downstream through system Smaller 100uF electrolytic capacitors chosen for input filter capacitors of remaining voltage regulators to further reduce noise and ripple Nominal valued 0.1uF tantalum capacitors chosen as bypass output filter capacitors due to their low series inductance Laboratory testing will be conducted to validate voltage ripple and noise performance specifications compared to various capacitor values and varied loads
148
Preliminary Power Supply BOM
Part Name Description Tolerance Manufacturer Part No. Quantity Cost AC Power Cord Detachable, 6' 7", 300V, 18AWG NA Qualtek 1 $3.37 AC Receptacle External 5*20mm fuseholder 719W-00/03 $2.42 Transformer 60Hz 120VAC / 25.2VAC, 2A Radio Shack $9.99 Fuse Time Lag 5*20mm, 2.0A Wickmann USA, Inc. $0.32 Varistor 140V RMS, 9mm BC Components Bridge Rectifier 6A, 100PIV Diodes Inc. PB61 $1.49 Voltage Regulator Pos 1.2 to 33V adjustable, 3A max, -40 to 125 deg C, TO-220 National Semiconductor LM350AT $3.50 Pos 12V, 1.5A max, 0 to 125 deg C, TO-220 Texas Instruments uA7812C $0.52 Pos 5V, 1.5A max, 0 to 125 deg C, TO-220 uA7805C Diode Schottky, 60V, 3A International Rectifier MBR360 2 $1.02 100V, 1A Micro Commercial Co. 1N4002 3 $0.12 Transistor NPN, 200mA Fairchild Semiconductor 2N3904 $0.16 PNP, 600mA 2N4402BU $0.17 OR Gate Quad 2-Input 14-Dip SN74HC32N $0.44 Polyswitch Resettable-Fuse 1.10A Raychem Corp. RUE110 $0.55 Heat Sink TO-220, 4.5W Aavid Thermalloy 530614B00000 $1.29 Capacitor 0.1uF 50V Ceramic +/-10% Kemet C322C104K5R5 $0.63 TOTAL: $26.83
149
APPENDIX A. Gantt Charts
150
Project Gantt Chart Definition Phase
Appendix A
151
Project Gantt Chart Productization Phase
Appendix A
152
Project Gantt Chart Prototype and Validation Phase
Appendix A
153
Power Supply Gantt Chart 1 of 2
Appendix A
154
Power Supply Gantt Chart 2 of 2
Appendix A
155
Microcontroller and LCD Gantt Chart
Appendix A
156
Microcontroller and LCD Gantt Chart
Appendix A
157
Dialer – Gantt Chart Appendix A
158
Dialer – Gantt Chart Appendix A
159
Voice Recording - Gantt Chart
Appendix A
160
Voice Recording - Gantt Chart
Appendix A
161
Embedded Ethernet Controller and Web Server – Gantt Chart
Appendix A
162
Embedded Ethernet Controller and Web Server – Gantt Chart
Appendix A
163
Siren Gantt Chart Appendix A
164
Keypad Gantt Chart Appendix A
165
Sensors Gantt Chart Appendix A
166
Gantt Chart Appendix A
167
Gantt Chart Appendix A
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.