EE 595 – Team No. 1 - University of Wisconsin

Download Report

Transcript EE 595 – Team No. 1 - University of Wisconsin

University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Capstone Design Project
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Eric Biehr
Mario Divis
Igor Stevic
Edwin Sofian
Security Dialer
Capstone Design Project
Kelly Chapin
Slide 0 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Design Team Members
Mario Divis
Edwin Sofian
Igor Stevic
Capstone Design Project
Kelly Chapin
Eric Biehr
Slide 1 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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.
Capstone Design Project
Slide 2 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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
Capstone Design Project
Slide 3 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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
Capstone Design Project
Slide 4 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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)
Capstone Design Project
Slide 5 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Standard Requirements
Standard Requirements
Minimum
Maximum
Operating Temperature Range (°C)
-10
50
Operating Humidity Range (Rh) Non-condensing
0%
85%
Operating Altitude Range (meters)
0
8,000
Storage Temperature Range (°C)
-20
50
Storage Humidity Range (Rh) Non-condensing
0
90%
Storage Altitude Range (meters)
0
13,000
Storage Duration (years)
5
Operational Drop @ 1 meter
1
Vibration and Shock (G)
10
List Price ($)
Capstone Design Project
350
Slide 6 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Standard Requirements Allocation
Standard Requirements &
'
% Allocation/Association
Power Consumption (Watts)
% Allocation
Product Weight (lbs)
% Allocation
Product Volume (cm³)
% Allocation
Shipping Package Volume (cm³)
% Allocation
Product Cost ($)
% Allocation
Prototype Cost ($)
% Allocation
Parts Count
% Allocation
Unique Parts Count
% Allocation
PC Board Area (cm²)
% Allocation
PC Board Count
Assocation
Capstone Design Project
Maximum
25
12
27,000
32,000
220
600
100
40
500
MicroPower
Voice
Web RingSensors
Keypad LCD Dialer
Siren Margin
controller
Supply
Record. Server back
0.5
2.0%
0.1
1.0%
324
1.2%
384
1.2%
28.6
13.0%
78.0
13.0%
2.0
2.0%
0.8
2.0%
25.0
5.0%
1.3
5.0%
0.2
2.0%
324
1.2%
384
1.2%
22.0
10.0%
60.0
10.0%
10.0
10.0%
4.0
10.0%
25.0
5.0%
1.3
5.0%
9.6
80.0%
16200
60.0%
19200
60.0%
28.6
13.0%
78.0
13.0%
30.0
30.0%
12.0
30.0%
150.0
30.0%
0.5
2.0%
0.1
1.0%
1890
7.0%
2240
7.0%
4.4
2.0%
12.0
2.0%
2.0
2.0%
0.8
2.0%
10.0
2.0%
7.5
30.0%
0.2
2.0%
945
3.5%
1120
3.5%
12.1
5.5%
42.0
7.0%
2.0
2.0%
0.8
2.0%
15.0
3.0%
1.3
5.0%
0.1
1.0%
324
1.2%
384
1.2%
11.0
5.0%
30.0
5.0%
10.0
10.0%
4.0
10.0%
25.0
5.0%
1.3
5.0%
0.1
1.0%
324
1.2%
384
1.2%
15.4
7.0%
42.0
7.0%
5.0
5.0%
2.0
5.0%
25.0
5.0%
XX
XX
XX
XX
XX
XX
XX
7.5
0.5
3.5
0
30.0% 2.0% 14.0% 100%
0.2
0.2
1.0
0
2.0% 2.0% 8.0% 100%
945
324 5400
0
3.5% 1.2% 20.0% 100%
1120 384 6400
0
3.5% 1.2% 20.0% 100%
57.2 15.4 8.8
17
26.0% 7.0% 4.0% 93%
170.0 12.0 24.0
52
28.3% 2.0% 4.0% 91%
10.0 19.0 10.0
0.0
10.0% 19.0% 10.0% 100%
10.0
1.6
4.0
0
25.0% 4.0% 10.0% 100%
150.0 25.0 50.0
0
30.0% 5.0% 10.0% 100%
3
XX
XX
XX
Slide 7 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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
 Manufacturer name and address
 Serial number (text and bar coded)
 Month and year manufactured
 All required text agency approvals and text (UL for US and Canada, FCC)
Capstone Design Project
Slide 8 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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
Capstone Design Project
Slide 9 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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. 60950
 Information technology equipment
Capstone Design Project
Slide 10 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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
Capstone Design Project
Slide 11 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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
CISPR 22 Class B
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
IEC 61000-4-2
ESD immunity
±6 kV direct, ±8 kV air (minimum)
IEC 61000-4-3
Radiated immunity
3 V/m for 80 to 2500 MHz , modulated at <10 Hz and 1 kHz
IEC 61000-4-4
Fast Transient immunity
2 kV power lines, 1 kV I/O lines > 3 meters
IEC 61000-4-5
Fast Surges immunity
1 kV (differential), 2 kV (common mode)
IEC 61000-4-6
Conducted immunity
3 V, 150 kHz to 80 MHz, modulated at <10 Hz and 1 kHz
IEC 61000-4-8
Magnetic immunity
3 A/m at 50/60 Hz
IEC 61000-4-11
Voltage variations
10 ms, 100 ms, 500 ms, 2 s; 0%, 40% and 70% of input voltage
IEC 61000-3-2
Harmonics Emissions
Per Standards
IEC 61000-3-3
Flicker Emissions
Per Standards
EN50082-1
EN50081-1
Capstone Design Project
Slide 12 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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
Capstone Design Project
Slide 13 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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
Capstone Design Project
Slide 14 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
ENCLOSURE
Edwin
+5VDC
VAC
VDC
Eric
Igor
Kelly
Capstone Design Project
+12VDC
Phone Line
Mario
Internet
Power
Supply
Siren
Dialer
Ringback
Detection
Embedded
Ethernet
Controller
/Web
Server
Microcontroller
Voice
Recording
Sensors
LCD
Microphone
7
Keypad
Slide 15 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
System Setup
ENCLOSURE
 LCD displays menu of options
+5V
VAC
VDC
Power
Supply
+12V
Phone
Line
Dialer
Dialer
Diale
r
Ringback
Detection
Embedded
Ethernet
Controller
/Web
Server
Microcontroller
Voice
Recording
Sensors
LCD
Siren
Internet
Capstone Design Project
Microphone
7
Keypad
Slide 16 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
System Setup
ENCLOSURE
 LCD displays menu of options
+5V
VAC
VDC
 Keypad accesses options
 User enters phone number
which will be stored in
microcontroller
Internet
Capstone Design Project
Power
Supply
+12V
Phone
Line
Dialer
Dialer
Diale
r
Ringback
Detection
Embedded
Ethernet
Controller
/Web
Server
Microcontroller
Voice
Recording
Sensors
LCD
Siren
Microphone
7
Keypad
Slide 17 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
System Setup
ENCLOSURE
 LCD displays menu of options
+5V
VAC
VDC
 Keypad accesses options
 User enters phone number
which will be stored in
microcontroller
Capstone Design Project
+12V
Phone
Line
Dialer
Dialer
Diale
r
Ringback
Detection
Embedded
Ethernet
Controller
/Web
Server
Microcontroller
Voice
Recording
Sensors
LCD
Siren
 Microphone conveys
message to voice recording
chip
Internet
Power
Supply
Microphone
7
Keypad
Slide 18 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
System Events
ENCLOSURE
 Microcontroller monitors
sensors and AC status
+5V
VAC
VDC
Power
Supply
+12V
Phone
Line
Dialer
Dialer
Diale
r
Ringback
Detection
Embedded
Ethernet
Controller
/Web
Server
Microcontroller
Voice
Recording
Sensors
LCD
Siren
Internet
Capstone Design Project
Microphone
7
Keypad
Slide 19 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
System Events
ENCLOSURE
 Microcontroller monitors
sensors and AC status
 Sensors are tripped
+5V
VAC
VDC
+12V
Phone
Line
Dialer
Dialer
Diale
r
Ringback
Detection
Embedded
Ethernet
Controller
/Web
Server
Microcontroller
Voice
Recording
Sensors
LCD
Siren
Internet
Capstone Design Project
Power
Supply
Microphone
7
Keypad
Slide 20 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
System Events
ENCLOSURE
 Microcontroller monitors
sensors and AC status
 Sensors are tripped
VDC
Power
Supply
+12V
Phone
Line
 Siren is activated
 Dialer dials preset phone
number
Internet
Capstone Design Project
+5V
VAC
Dialer
Dialer
Diale
r
Ringback
Detection
Embedded
Ethernet
Controller
/Web
Server
Microcontroller
Voice
Recording
Sensors
LCD
Siren
Microphone
7
Keypad
Slide 21 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
System Events
ENCLOSURE
 Microcontroller monitors
sensors and AC status
 Sensors are tripped
+5V
VAC
VDC
Power
Supply
+12V
Phone
Line
 Siren is activated
 Dialer dials preset phone
number
Dialer
Dialer
Diale
r
Ringback
Detection
Embedded
Ethernet
Controller
/Web
Server
Microcontroller
Voice
Recording
Sensors
LCD
Siren
 Ringback assessment
Internet
Capstone Design Project
Microphone
7
Keypad
Slide 22 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
System Events
ENCLOSURE
 Microcontroller monitors
sensors and AC status
 Sensors are tripped
+5V
VAC
VDC
Power
Supply
+12V
Phone
Line
 Siren is activated
 Dialer dials preset phone
number
Dialer
Dialer
Diale
r
Ringback
Detection
Embedded
Ethernet
Controller
/Web
Server
Microcontroller
Voice
Recording
Sensors
LCD
Siren
 Ringback assessment
 Message playback
Capstone Design Project
Internet
Microphone
7
Keypad
Slide 23 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Internet Controller
ENCLOSURE
+5V
 Monitors sensors and AC status
VAC
VDC
Power
Supply
+12V
Phone
Line
Dialer
Dialer
Diale
r
Ringback
Detection
Embedded
Ethernet
Controller
/Web
Server
Microcontroller
Voice
Recording
Sensors
LCD
Siren
Internet
Capstone Design Project
Microphone
7
Keypad
Slide 24 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Internet Controller
ENCLOSURE
+5V
 Monitors sensors and AC status
VAC
VDC
 Controls system through
microcontroller
Capstone Design Project
+12V
Phone
Line
Dialer
Dialer
Diale
r
Ringback
Detection
Embedded
Ethernet
Controller
/Web
Server
Microcontroller
Voice
Recording
Sensors
LCD
Siren
Internet
Power
Supply
Microphone
7
Keypad
Slide 25 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
System Power
ENCLOSURE
+5V
 Temporary AC connection
supplies power
VAC
VDC
Power
Supply
+12V
Phone
Line
Dialer
Dialer
Diale
r
Ringback
Detection
Embedded
Ethernet
Controller
/Web
Server
Microcontroller
Voice
Recording
Sensors
LCD
Siren
Internet
Capstone Design Project
Microphone
7
Keypad
Slide 26 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
System Power
ENCLOSURE
+5V
 Temporary AC connection
supplies power
 Permanent DC battery powers
system if AC power fails
VAC
VDC
Capstone Design Project
+12V
Phone
Line
Dialer
Dialer
Diale
r
Ringback
Detection
Embedded
Ethernet
Controller
/Web
Server
Microcontroller
Voice
Recording
Sensors
LCD
Siren
Internet
Power
Supply
Microphone
7
Keypad
Slide 27 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
- Mario Divis -
Microcontroller
VAC
VDC
Power
Supply
+5V
+12V
Phone
Line
Internet
Capstone Design Project
Siren
Dialer
Ringback
Detection
Embedded
Ethernet
Controller
/Web
Server
Microcontroller
Voice
Recording
Sensors
LCD
Microphone
7
Keypad
Slide 28 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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:
o Sensors, keypad, ring back detection, Ethernet control signals
o 5V DC(+/-20%) power supply, 50mA Max current
 Outputs:
o 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
Capstone Design Project
Slide 29 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Microcontroller Standard requirements
Storage temperature:
Storage humidity:
Production cost:
Max Proto cost:
Max part count:
Power consumption:
PCB size:
Dimensions:
Reliability:
• Disposal:
• Safety requirements:
Capstone Design Project
-30 to 85C
0 to 90% RH non condensing
<$2
<$12
<4
<1W
N/A (stand alone product)
5 x 1 [cm]
10 years
FCR Part 266 (Disposal of hazardous waste)
EN 50081-1:1992, EN 50082-1:1997
Slide 30 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Microcontroller block diagram
LCD module
4 bit
data
2 bits
3 bit ctrl
XTAL
GND
Voice recording
Power and Play/REC control
4 bits
Vcc
Dialer chip control
Web server stand by
and sensor control
5 bits
5 bits
Parallel keypad interface
Sensors control
1 bit
2 bits
1 bits
1 bit
AC status
signal
Capstone Design Project
Ring back
status
Ring back
enable
Slide 31 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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
Capstone Design Project
Slide 32 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Microcontroller Schematic
Note: - One pin extra
Capstone Design Project
Slide 33 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Program Flowchart
START
Do not monitor anything
Arm the system
MAIN MENU
options:
Stand By
Settings
Start Timer
Voice message
CHOOSE SETTINGS:
Change dial number
System Armed
Change Password
Start Recording
Enter Old Password
60sec Timer
Enter New Password
User input OR
sensor trip?
yes
Store new password
in EEPROM
Timer expired
OR
User stopped
Start Timer
Timer
Expired?
Stop recording
yes
Repeat
recording?
Enter Password
no
Store phone
number in
EEPROM
yes
no
Password
Fail?
Enter outgoing
phone number
no
yes
Alarm ON
Stop timer.
1. Dial phone number and play message.
2. Update sensor status for webserver
Enter Password
Turn Off Alarm.
Capstone Design Project
Slide 34 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
- Mario Divis -
LCD module
VAC
VDC
Power
Supply
+5V
+12V
Phone
Line
Internet
Capstone Design Project
Siren
Dialer
Ringback
Detection
Embedded
Ethernet
Controller
/Web
Server
Microcontroller
Voice
Recording
Sensors
LCD
Microphone
7
Keypad
Slide 35 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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:
o Data lines
o 5V DC(+/-10%) power supply for driver and backlight, 1A Max
 Interfacing through pin header.
Capstone Design Project
Slide 36 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
LCD module Performance requirements
 LCD signals:
 Number of data signals < = 8
 Number of control signals <= 4
Capstone Design Project
Slide 37 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
LCD module Performance requirements
Inputs:
Vih……………………………3.2 - 5.3V
Vil………………………………0 – 0.8V
Iih……………………………..<200uA
Iil………………………………<200uA
Backlight:
• LED backlight, Green/Yellow
Capstone Design Project
Slide 38 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
LCD module Standard requirements
Operating Temperature:
Operating humidity:
Storage temperature:
Storage humidity:
Production cost:
Max Proto cost:
Max part count:
Power consumption:
PCB size:
Reliability:
• Disposal:
• Safety requirements:
Capstone Design Project
-10 to 50C
0 to 85% RH, non-condensing
-30 to 70C
0 to 90% RH non condensing
<$10
<$60
<10
<2W
8 x 4 x 1 [cm]
20000 Hrs
FCR Part 266 (Disposal of hazardous waste)
EN 50081-1:1992, EN 50082-1:1997
Slide 39 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
20x4 LCD module block diagram
GND
LCD Contrast adjust
Vdd
Backlight
power
4 bit data bus
Capstone Design Project
3 bit control
line
Slide 40 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
LCD Component Selection
Description:
• Optrex Hitachi 44780 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
Capstone Design Project
Slide 41 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
LCD timing diagram - Write Cycle
Item
Symbol
Min.
Typ.
Max.
Unit
Enable cycle time
tC
500
-
-
ns
Enable pulse width
tW
220
-
-
ns
Enable rise/fall time
tR , tF
-
-
25
ns
RS, R/W set up time
tSU
40
-
-
ns
RS, R/W hold time
tH
10
-
-
ns
Data delay time
tD
-
-
120
ns
Data set up time
tDSU
60
-
-
ns
Data hold time
tDH
20
-
-
ns
Capstone Design Project
Slide 42 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
LCD timing diagram - Read Cycle
Item
Symbol
Min.
Typ.
Max.
Unit
Enable cycle time
tC
500
-
-
ns
Enable pulse width
tW
220
-
-
ns
Enable rise/fall time
tR , tF
-
-
25
ns
RS, R/W set up time
tSU
40
-
-
ns
RS, R/W hold time
tH
10
-
-
ns
Data delay time
tD
-
-
120
ns
Data set up time
tDSU
60
-
-
ns
Data hold time
tDH
20
-
-
ns
Capstone Design Project
Slide 43 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
LCD module Schematic
-4 pins
* 4 bit mode = saved 4 pins
Capstone Design Project
Slide 44 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
LCD – Microcontroller DC drive analysis
Device
Output Type
Input Type
Vil max
Vih min
Iil(-) Max Iih max
Vol max Voh min Iol max
Ioh(-) Min Checked
Microcontroller
STD
STD
0.3Vcc
-0.5V
8uA
980nA
0.7V
4.2V
20mA
20mA
X
LCD MODULE
STD
STD
0.6V
2.2V
TBD
TBD
0.4V
2.4V
1.2mA
0.205mA
X
Capstone Design Project
Slide 45 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Kelly
+5V
VAC
VDC
Power
Supply
+12V
Phone Line
Internet
Capstone Design Project
Siren
Dialer
Ringback
Detection
Embedded
Ethernet
Controller
/Web
Server
Microcontroller
Voice
Recording
Sensors
LCD
Microphone
7
Keypad
Slide 46 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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
Capstone Design Project
Slide 47 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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.
Capstone Design Project
Slide 48 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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
Capstone Design Project
Slide 49 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Block Diagram - Siren
Amplification
speaker
12 Volt on/off signal
Capstone Design Project
Siren Driver
ZSD100
Slide 50 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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
Capstone Design Project
Slide 51 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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.
FMOD 
2850
HZ
CMOD (61.5  RT ( EXT ))
FOUT 
1710
HZ
COUT (61.5  RT ( EXT ))
Capacitor values are in microfarads, resistor values in kilo  ohms.
Capstone Design Project
Slide 52 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Schematic - Siren
Capstone Design Project
Slide 53 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Kelly
+5V
VAC
VDC
Power
Supply
+12V
Phone Line
Internet
Capstone Design Project
Siren
Dialer
Ringback
Detection
Embedded
Ethernet
Controller
/Web
Server
Microcontroller
Voice
Recording
Sensors
LCD
Microphone
7
Keypad
Slide 54 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Performance Requirements - Keypad

Performance requirements
 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
Capstone Design Project
Slide 55 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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.
Capstone Design Project
Slide 56 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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
Capstone Design Project
Slide 57 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Block Diagram - Keypad
8 I/O Signals
EDE1144 4 Parallel Output
Keypad
Encoder
5V Supply
Capstone Design Project
Slide 58 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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 1-87499-3 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
Capstone Design Project
Slide 59 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Schematic - Keypad
Capstone Design Project
Slide 60 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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
DIGIT
AL
NA
NA
NA
NA
?
?
25mA
20m
A
NO
YES
KP
Capstone Design Project
Slide 61 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Kelly
+5V
VAC
VDC
Power
Supply
+12V
Phone Line
Internet
Capstone Design Project
Siren
Dialer
Ringback
Detection
Embedded
Ethernet
Controller
/Web
Server
Microcontroller
Voice
Recording
Sensors
LCD
Microphone
7
Keypad
Slide 62 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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.
Capstone Design Project
Slide 63 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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.
Capstone Design Project
Slide 64 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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.
Capstone Design Project
Slide 65 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Block Diagram - Water Sensor
5 Volt Supply
Sensing
Element
Dc output
Capstone Design Project
Logic
Single
Digital
Output
Slide 66 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Schematic - Water Sensor
Capstone Design Project
Slide 67 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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
NA
NA
NA
NA
1.46
V
3.68
V
16m
A
0.8
mA
NO
YES
H2O
Capstone Design Project
Slide 68 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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
Capstone Design Project
Slide 69 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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.
Capstone Design Project
Slide 70 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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.
Capstone Design Project
Slide 71 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Block Diagram - Door / Window Sensor
5 Volts DC
Sensing
Element
DC
Output
Capstone Design Project
Slide 72 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Schematic - Door / Window Sensor
Capstone Design Project
Slide 73 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Verification – Door / Window Sensor
5.0V
4.0V
3.0V
2.0V
1.0V
0s
V(OUTPUT)
2ms
4ms
V(SWITCH)
6ms
8ms
10ms
12ms
14ms
16ms
18ms
20ms
Time
Capstone Design Project
Slide 74 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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
NA
NA
NA
NA
1.46V
3.68
V
16mA
0.8
mA
NO
YES
D/W
Capstone Design Project
Slide 75 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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.
Capstone Design Project
Slide 76 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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.
Capstone Design Project
Slide 77 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
DIALER
Igor Stevic
VAC
VDC
Power
Supply
+5V
+12V
Phone Line
Internet
Capstone Design Project
Siren
Dialer
Ringback
Detection
Embedded
Ethernet
Controller
/Web
Server
Microcontroller
Voice
Recording
Sensors
LCD
Microphone
7
Keypad
Slide 78
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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 MultiFrequency) 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
Capstone Design Project
Slide 79
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Dialer Performance Requirements
•
Inputs:
• 4 bit digital signal from micro-controller
•
•
•
•
•
•
Vin (low)
Vin (High)
Iin (low)
Iin (High)
0-0.8 VDC
3.9-5.5 VDC
0-10uA
0-10uA
5V (±10%) DC, 70mA power supply
1 bit Relay Control Signal
• Vin (low)
0-0.8 VDC
• Vin (High)
• Iin(Low)
• Iin(High)
3-5.5 VDC
<100uA
>100uA
• Relay will be used to close/open phone line
•
Output:
•
DTMF signal (697-1477Hz), 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
Capstone Design Project
Slide 80
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Dialer Standard Requirements
Dialer Standard Requirement
Minimum
Maximum
Operating Temperature Range (°C)
-10
60
Operating Humidity Range (Rh) Non-condensing
0%
85%
Operating Altitude Range (meters)
0
8,000
Storage Temperature Range (°C)
-40
70
Storage Humidity Range (Rh) Non-condensing
0
95%
Storage Altitude Range (meters)
0
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:
•Safety Requirements:
Capstone Design Project
40 CFR Part 266 (Disposal of Hazardous Waste)
EN 50081-1:1992, EN 50082-1:1997, Part 68 FCC Rules
Slide 81
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Dialer
Block Diagram
Power Supply
Buffer
8-Bit
Dial Code
PLD
Dialer IC
5-Bit Dial and Control Signal from uC
Control
DTMF
Telephone Line
Interface, Amplifier
and Relay
1-Bit Control Signal from uC for
Relay Activation
Capstone Design Project
DTMF
Audio signal to Telephone Line
Slide 82
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Dialer Detailed Design Proto Build Component Selection
*
Component
Description
Package
Price
($)
Rationale
HT93214A
Dialer Chip
PDIP
0.40
Simple and Low Cost Dialer Chip
LM386*
Audio Power Amp
PDIP
0.94
Gain of 20 with no external components,
Single Power Supply, Can deliver
700mW into 8 Ohm Load
CD74ACT541E
Octal Non-Inverting
Buffer
PDIP
0.56
Tri-State, 8-Bit
GAL16V8D
PLD
PDIP
1.39
8-Outputs, Simple Mode
TTC-105*
Isolation
Transformer
PDIP
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
Capstone Design Project
Slide 83
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Internal Signal Worst Case Analysis
Sig
Name
A/D
Applicable Worst Case Analysis Plan
DC
Offset
PLD
Buffer
Dialer R
Dialer C
D
D
D
D
DTMF
A
DC Gain
Gain Phase vs Gain vs
vs Freq
Freq
Load
BW vs
SL
Dig
Input
X
X
X
Dig
Output
X
X
DC
Drive
X
X
X
X
Timing
Ioh (-)
Min
3.2
Checked
1
1
1
1
X
1) Timing Analysis Needed to Determine Propagation Delays
DC Drive Analysis
Device
GAL
16V8
CD74A
C541
Dialer
Rows
Dialer
Columns
Output
Type
Input
Type
DC Drive Device Parameters
Std
Std
Vil
max
0.8
TS
TS
0.8
2
1uA
Std
0.2Vdd
0.8Vdd
40uA
X
Std
0.2Vdd
0.8Vdd
40uA
X
Capstone Design Project
Vih
min
2
Iil (-)
Max
100uA
Iih
max
10uA
Vol
max
0.5
Voh
min
2.4
1uA
0.5
3.85
Iol
max
24
X
X
Slide 84
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Telephone Line Characteristics (DC)
•
ON-HOOK Condition:
•
•
•
•
50 VDC Between Tip and
Ring
Tip = 0 VDC
Ring = -50 VDC
No current flow
Capstone Design Project
•
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
Slide 85
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Telephone Line Characteristics (AC)
•
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
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
*
0
#
Capstone Design Project
•
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)
Slide 86
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Dialer Detailed Design Preliminary Schematics
BCD that
corresponds to
the number
being dialed
Buffer Holds
Dial Code Until
Ready to Dial.
OE Goes Low and Low Signal
Is Applied to Appropriate
Row and Column
Capstone Design Project
Slide 87
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
PLD Vectors Simulation Diagram
Capstone Design Project
Slide 88
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Dialer Detailed Design Preliminary Schematics (Output Stage)
220uF
50 KΩ Input Impedance
to Ground
20k
Capstone Design Project
720Ω
Slide 89
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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Ω
Capstone Design Project
Slide 90
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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
TBD
P=10log(P(L)/Pref)
P=V2rms/Z
Transformer Insertion Loss
(IL)
Maximum 2.5dB
NA
TBD
IL=10log(Pmax/Pdel)
Amplifier Gain
26dB
NA
TBD
Output From the Chip
½ mW into 600Ω
(No Amp Used)
V =0.155 Vrms (Data
Sheet)
P=4.5uW
TBD
Output From the Amp
½ mW into 600 Ω
P=325mW into 8Ω
(Data Sheet)
TBD
Note:
Power Delivered Out of
Amplifier needs to
compensate for this loss.
5kΩ Load
Calculations are Done Using Sinusoidal Signal. Final
calculations will be completed once proto is build and
measurements can be made.
Capstone Design Project
Slide 91
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Voice Recording
Igor Stevic
VAC
VDC
Power
Supply
+5V
+12V
Phone Line
Internet
Capstone Design Project
Siren
Dialer
Ringback
Detection
Embedded
Ethernet
Controller
/Web
Server
Microcontroller
Voice
Recording
Sensors
LCD
Microphone
7
Keypad
Slide 92
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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
Capstone Design Project
Slide 93
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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
MicroController
Capstone Design Project
REC
Voice
Recording
Chip
Audio
Amplifier
Phone
Line
Slide 94
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Voice Recording/Playback - Performance
Requirements
•
Inputs:
•
Audio AC signal 300-3400Hz, 500mVP Max
•
Digital control signals RECORD/PLAY and Power Down
•
•
•
•
•
•
Vin (Low)
Vin (High)
Iin (low)
Iin (High)
0-0.8V
3.9-5.5 V
0-10uA
0-10uA
5VDC(±10%) power supply, 45mA Max
Output:
•
300-3400Hz 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
Capstone Design Project
Slide 95
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Voice Recording Standard Requirements
Standard Requirement
Minimum
Maximum
0
60
0%
85%
Operating Altitude Range (meters)
0
8,000
Storage Temperature Range (°C)
-40
70
Storage Humidity Range (Rh) Non-condensing
0
95%
Storage Altitude Range (meters)
0
13,000
Operating Temperature Range (°C)
Operating Humidity Range (Rh) Non-condensing
Storage Duration (years)
Reliability (yr)
Vibration and Shock (G)
Power Consumption (Watts)
5
1yr or 500000 Recording
Cycles
10
1.25
Product Cost ($)
30
Prototype Cost ($)
40
Parts Count
20
Unique Parts Count
3
PC Board Area (cm²)
40
•Disposal:
•Safety Requirements:
Capstone Design Project
40 CFR Part 266 (Disposal of Hazardous Waste)
EN 50081-1:1992, EN 50082-1:1997, Part 68 FCC Rules
Slide 96
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Voice Recording/Playback - Block Diagram
Power Supply
Electret Microphone
1 bit
Voice Recording Chip
Amplifier
Audio Signal to telephone line
Play/ Record
1 bit signal from uC
Play : Active high
Record : Active low
1 bit
Power Down
1 bit signal from uC
Power Down: Active high
Capstone Design Project
Slide 97
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Voice Recording Detailed Design Proto Build Component Selection
Component
ISD2560P
Description
Package
Voice
PDIP
Recording Chip
Price ($)
10.5
Rationale
Allows for up to 1 minute of continuous
recording
LM386*
Audio Power
Amp
PDIP
0.94
Gain of 20 with no external components,
Single Power Supply
TTC-105*
Isolation
Transformer
PDIP
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
Capstone Design Project
Slide 98
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Worst Case Analysis Plan
Sig
Name
A/D
Applicable Worst Case Analysis Plan
DC
Offset
Audio
DC Gain
Gain Phase vs Gain vs
vs Freq
Freq
Load
X
A
BW vs
SL
Dig
Input
Dig
Output
DC
Drive
Timing
Voice Recording Detailed Design
DC Drive Analysis
Device
Voice Chip
(PD)
Voice Chip
(P/R)
Capstone Design Project
Input
Type
DC Drive Device Parameters
Vih
min
2
Iil (-)
Max
1uA
Iih
max
1uA
Vol
max
na
Voh
min
na
Iol
max
na
Ioh (-)
Min
na
Checked
Std
Vil
max
0.8
Std
0.8
2
1uA
1uA
na
na
na
na
X
X
Slide 99
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Voice Recording Detailed Design Schematics
Pull-up resistor
assures that PD
will not go low
during
initialization.
Voltage Divider Controls
the Amplitude of
Amplifier Input
Internal 10kΩ impedance and
coupling capacitor form highpass filter
Capstone Design Project
Slide 100
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Voice Recording Detailed Design Schematics
220uF
50 Kohm Input
Impedance to Ground
720Ω
20kΩ
Capstone Design Project
Slide 101
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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
TBD
P=10log(P(L)/Pref)
P=V2rms/Z
Transformer Insertion Loss
(IL)
Maximum 2.5dB
NA
TBD
IL=10log(Pmax/Pdel)
Amplifier Gain
26dB
NA
TBD
Output From the Voice Chip
<0.125 mW into
600Ω
(No Amp Used)
P=12.2 mW into 16 Ω
Data Sheet
TBD
Output From the Amp
<0.125 mW into
600Ω
P=325mW into 8Ω
Data Sheet
TBD
Note:
Power Delivered Out of
Amplifier needs to
compensate for this loss.
Nominal Gain
Calculations are Done Using Sinusoidal Signal. Final
calculations will be completed once proto is build and
measurements can be made.
Capstone Design Project
Slide 102
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Embedded Ethernet Controller
/Web Server
Igor Stevic
VAC
VDC
Power
Supply
+5V
+12V
Phone Line
Internet
Capstone Design Project
Siren
Dialer
Ringback
Detection
Embedded
Ethernet
Controller
/Web
Server
Microcontroller
Voice
Recording
Sensors
LCD
Microphone
7
Keypad
Slide 103
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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.
Capstone Design Project
Slide 104
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Embedded Ethernet Controller and Web
Server – Performance Requirements
•
Inputs:
•
3 one-bit digital inputs
•
•
•
•
•
•
•
0-0.8 V
2-5 V
0-10uA
0-10uA
5VDC (±10%) power supply, 300mA
Broadband Ethernet
Outputs:
•
3 one-bit digital outputs
•
•
•
•
•
•
Vin (low)
Vin (High)
Iin (low)
Iin (High)
Voh
Vol
Ioh
Iol
Broadband Ethernet
2.5 – 5 V
0-0.8 V
2-5mA
0-10uA
Mechanical Interfaces:
•
•
RJ45 connector
20 pin , two-row I/O connectors (2), 2.5 mm Pitch
Capstone Design Project
Slide 105
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Web Server Standard Requirements
Standard Requirement
Minimum
Maximum
Operating Temperature Range (°C)
0
60
Operating Humidity Range (Rh) Non-condensing
0%
85%
Operating Altitude Range (meters)
0
8,000
Storage Temperature Range (°C)
-40
70
Storage Humidity Range (Rh) Non-condensing
0
95%
Storage Altitude Range (meters)
0
13,000
Storage Duration (years)
5
Reliability (yr)
1
Vibration and Shock (G)
10
Power Consumption (Watts)
1.5
Product Cost ($)
70
Prototype Cost ($)
200
Parts Count
40 (All OEM)
Unique Parts Count
0
PC Board Area (cm²)
60
•Disposal:
•Safety Requirements:
Capstone Design Project
40 CFR Part 266 (Disposal of Hazardous Waste)
CISPR 22, CISPR 24
Slide 106
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Embedded Ethernet Controller and Web Server –
Block Diagram
3-Bit
Status signal from sensors:
3-Bit
3-Bit
Ethernet Controller
And
Web Server
Interfacing Circuit
Output Control Signals
3-Bit
Internet
Power Supply
Status Signals: Door/Window status, AC Status and Water Sensor
Control Signals: Can switch Water and Door/Window Sensor ON/OFF as well
as place system on Stand-by mode.
Capstone Design Project
Slide 107
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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!!!
Capstone Design Project
Slide 108
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
DC Drive Analysis
Device
Output
Type
16Bit Latch
TS
Input
Type
TS
DC Drive Device Parameters
Vil
Vih
Iil (-)
Iih
Vol
Voh
Iol
Ioh (-)
max
min
Max
max
max
min
max
Min
0.8
2
1uA
1uA
0.55
2
10uA
10uA
Checked
X
 Pull-up Resistor needed to bring Voh (Min) to 3V (Vih(min) for uC)
Capstone Design Project
Slide 109
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Schematics
Internal Circuit
Capstone Design Project
Slide 110
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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.
Capstone Design Project
Slide 111
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Preliminary Version Of the Web Page
Status
Monitoring
User
System
Control
Interface
System
Stand-BY
and
Power-ON
Switch
Capstone Design Project
Slide 112
EE 318-595 Spring 2004
Edwin
Design Team 1 – Security Dialer
+5V
VAC
VDC
Power
Supply
+12V
Phone Line
Internet
Siren
Dialer
Ringback
Detection
Embedded
Ethernet
Controller
/Web
Server
Microcontroller
Voice
Recording
Sensors
LCD
Microphone
7
Keypad
Slide 113
EE 318-595 Spring 2004
Design Team 1 – Security Dialer
Basic Call Progress
1
2
Telephone set is in ready
condition wait for a caller to
pick up its handset.
Costumer decides to make a
phone call and lifts the
handset off the switch hook of
the telephone set.
Slide 114
EE 318-595 Spring 2004
Design Team 1 – Security Dialer
Basic Call Progress
3
Costumer enter a phone
number (address) of a
telephone at another
location.
4
Telephone switch translates the
tones into a port address that
connects to a telephone set of
the called party.
Slide 115
EE 318-595 Spring 2004
Design Team 1 – Security Dialer
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
Slide 116
EE 318-595 Spring 2004
Design Team 1 – Security Dialer
Basic Call Progress
6
 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.
Slide 117
EE 318-595 Spring 2004
Design Team 1 – Security Dialer
Ring Back Detection
Power Supply + 5V
Ringback
Detection
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 + 480
Hz with a 2 seconds on/ 4 seconds off temporal pattern.
Slide 118
EE 318-595 Spring 2004
Design Team 1 – Security Dialer
Slide 119
EE 318-595 Spring 2004
Design Team 1 – Security Dialer
Precise Call Progress Tone Detection

Manufacture: Clare

Parts #: M-982-02P ~ 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
- 3.58 MHz crystal clock oscillator
Slide 120
EE 318-595 Spring 2004
Design Team 1 – Security Dialer
Precise Call Progress Tone Detector

M-982-02 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-982-02P 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%.
Slide 121
EE 318-595 Spring 2004
Design Team 1 – Security Dialer
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)
Slide 122
EE 318-595 Spring 2004
Design Team 1 – Security Dialer
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
Slide 123
EE 318-595 Spring 2004
Design Team 1 – Security Dialer
Standard Requirements

Safety
EMC Standard:
IEC 61000-3-2 (power line harmonics)
IEC61000-4-2 (Electro Static Discharge
Immunity)
Other Standards:
ISO 9001:2000 Certification
ISO 9001:1994 Certification
Slide 124
EE 318-595 Spring 2004
Design Team 1 – Security Dialer
Block Diagram
SIGIN
XRANGE
Precise Tone Detector
DET3
Detector
DET4
Outputs
XIN
XOUT
3.58 MHZ
Oscillator
Clock
Generator
PD
Power
Regulation
Vref Vdd Vss
OE
EN
Slide 125
EE 318-595 Spring 2004
Design Team 1 – Security Dialer
Circuit Diagram
Slide 126
EE 318-595 Spring 2004
Design Team 1 – Security Dialer
PIN FUNCTION & CONNECTION
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
uC
PD
Power-down operation, logic high inhibits internal clock
uC
V_DD
Most positive power supply input pin
Power Supply
OE
Active high enable
Power Supply
EN
Active high input
Power Supply
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
GND
V_REF
Internally generated mid-power supply voltage (output)
Circuit
XIN
Crystal oscillator or digital clock input
Circuit
XOUT
Crystal oscillator output
Circuit
Slide 127
EE 318-595 Spring 2004
Design Team 1 – Security Dialer
Parts List
Part Number
Description
Mfg.
QTY
Cost/unit
Total Cost
Clare
5
15.5
77.5
M-982-02P
Call Progress Tone
BC1659-ND
CAP FILM MKT .001UF 400VDC 10%
DIGIKEY
1
0.91
0.91
BC499KXCT-ND
RES 499K OHM METAL FILM .40W 1%
DIGIKEY
1
1.95
1.95
BC54.9KYCT-ND
RES 54.90K OHM METALFILM .40W 1%
DIGIKEY
1
0.95
0.95
BC49.9KYCT-ND
RES 49.90K OHM METALFILM .40W 1%
DIGIKEY
1
0.95
0.95
75C4752
OP AMP SINGLE SUPPLY, OPA244PA
NEWARK
3
1.41
4.23
18C1359
XO-54B-3.6864MHZ Crystals Oscillators
NEWARK
2
2.24
4.48
96F2798
Crystals/Oscillators 3.579545 MHz
NEWARK
2
0.66
1.32
Slide 128
EE 318-595 Spring 2004
Design Team 1 – Security Dialer
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Ω
Slide 129
EE 318-595 Spring 2004
Design Team 1 – Security Dialer
DC Drive Analysis Table
DC DRIVE ANALYSIS TABLE
Device
Outpu
t
Inpu
t
Type
DC Drive Device Parameters
Sig
Type
Device 1
Vil
Vih
Iil (-)
Iih
Vol
Voh
Iol
Ioh (-)
max
min
Max
max
max
min
max
Min
0.5
V
2.2
V
-1
mA
1 mA
Std
Device 2
Device 3
Name
Std
Std
0.5
V
3V
0.8
V
2V
Vhyst
Chec
ked
DET 3, DET 4
PD, OE
0.4
mA
0.1
mA
0.5
V
2.7
V
8
mA
0.4
mA
Ring Back
(from AND
gate)
Slide 130
EE 318-595 Spring 2004
Design Team 1 – Security Dialer
Digital Timing Analysis

Tri-state timing:
OE is active high input
DET n (active tri-state output)

Signal timing:
SIGIN (analog signal input)
DET n (active tri-state output)

Power Down Timing:
PD is high (logic high inhibits internal clock)
Clock is inactive
Slide 131
EE 318-595 Spring 2004
Design Team 1 – Security Dialer
Ring Back Validation Tools
Power Supplies
 Digital Multimeter
 Digital Oscilloscope

Slide 132
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
ENCLOSURE
+5V
Eric Biehr
VAC
VDC
Power
Supply
+12V
Phone Line
Internet
Capstone Design Project
Siren
Dialer
Ringback
Detection
Embedded
Ethernet
Controller
/Web
Server
Microcontroller
Voice
Recording
Sensors
LCD
Microphone
7
Keypad
Slide 133 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Power Allocation Table
DC Voltage (V)
Minimum
Maximum
Nominal
Maximum Current (mA) @
Nominal Voltage
Siren
4
18
12
500
CO sensor
4
14
5
15
Door/Window sensor
4
14
4
15
Water sensor
4
14
4
40
Keypad
4
6
5
5
Ringback Detection
3
5
5
15
4.5
5.5
5
300
2
5.5
2.5
70
10.6
12.6
12
17
4.5
5.5
5
45
4
5
5
40
13.5
15
13.65
250
4.5
6
5
500
Components
Web Server
Dialer
Dialer Relay
Voice Chip
Microcontroller
Battery Charger
LCD
Total Maximum Current
Capstone Design Project
1812
Slide 134 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Power Supply Performance Requirements
 Power Source Inputs
 Temporary 60±3Hz 120+10%/-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 leadacid battery with minimum 3 hours system supply time
Regulated
Output DC
Voltages
Input Voltage
Range (DC)
Regulation
Type
Output Voltage
Range (DC)
Minimum
Maximum
Nominal
Minimum
Maximum
Efficiency
+18V
Linear
21
30
24
17.2
18.8
>70%
+12V
Linear
15
20
18
10.6
12.6
>70%
+5V
Linear
8
14.4
12
4.75
5.25
>70%
Capstone Design Project
Slide 135 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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
Capstone Design Project
Slide 136 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Power Supply External Signals & DC Drive Analysis
External Signal
Worst Case Analysis
Signal
Name
I/O
Analog/
Digital
Dig Output
DC Drive
AC
Status
O
Digital
X
X
DC Drive Analysis
Device
Output
Type
SN74HC32
Standard
DC Drive Device Parameters (V or mA)
Vil
max
Vih
min
Iil (-)
max
Iih
max
Vol
max
Voh
min
Iol
max
Ioh (-)
min
Checked
1.35
3.2
20.0
20.0
0.33
3.84
4.0
4.0
X
Signal
Name
AC
Status
AC Status signal will be sent to Microcontroller and Web Server
Capstone Design Project
Slide 137 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Power Supply Standard Requirements
Security Dialer
Minimum
Maximum
Operating Temperature Range (°C)
-10
60
Operating Humidity Range (Rh) Non-condensing
0%
85%
0
10,000
-40
70
Storage Humidity Range (Rh) Non-condensing
0
95%
Storage Altitude Range (meters)
0
13,000
Operating Altitude Range (meters)
Storage Temperature Range (°C)
% Allocation
Reliability MTBF (years)
4
Storage Duration (years)
5
Product Weight (lbs)
9
80%
16,200
60%
Product Volume (cm³)
Operational Drop @ 1 meter
2
Vibration and Shock (G)
10
Prototype Cost ($)
75
13%
Production Cost ($)
40
13%
Parts Count
30
30%
Unique Parts Count
15
30%
PC Board Count
PC Board Area (cm²)
Capstone Design Project
1
200
30%
Slide 138 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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 50081-1:1992, EN 50082-1:1997
 Safety Regulation Standards
 UL1950
 Disposal/Recycle per 40 CFR Part 266
Capstone Design Project
Slide 139 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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
+18VDC 2A
Voltage
Regulator
+12VDC 1.5A
Power Mode
Detection &
Switching
Circuit
+12VDC 1.5A
Voltage
Regulator
Microcontroller
Dialer
Voice Chip
+5VDC 1A
LCD
Web Server
Keypad
40mA
70mA
45mA
500mA
300mA
5mA
Ringback Detection 15mA
Sensors
Battery
Manager
Capstone Design Project
+13.65 to +14.7VDC 250mA
70mA
DC battery
12V 4.5Ahr
Slide 140 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Power Supply Schematic
Capstone Design Project
Slide 141 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Power Supply Component Selection
Component
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
Capstone Design Project
Slide 142 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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
Capstone Design Project
Slide 143 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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 datasheet 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)
Capstone Design Project
Slide 144 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
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 = 164493Ω
RD = (VREF * RSUM) / (VOC – VF) = 360317.5 ≈ 360kΩ = R9
RA = (RSUM + RX)*(1 - VREF / VT) = 154230 ≈ 150kΩ = R7
Where RX = RC*RD / (RC+RD) = 30510.75
RB = RSUM – RA = 10262.71 ≈ 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
Capstone Design Project
Slide 145 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Power Supply Calculations
 Adjustable voltage regulator set for +18V output
VO = 1.25V (1 + R2 / R1) + IADJ R2
Set R1 = 220 Ω
Therefore R2 = (VO – 1.25) / (0.005682 + 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% = 2.755 to 3.045 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
Capstone Design Project
Slide 146 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Power Supply Design Details
 Total maximum power distributed by power supply
Power = (Sum of all Component’s Power) * 130%
= (14.7V*0.25A + 12V*0.5 + 5V*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
Capstone Design Project
Slide 147 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Preliminary Power Supply BOM
Part Name
Description
Tolerance
Manufacturer
Part No.
Quantity
Cost
AC Power Cord
Detachable, 6' 7", 300V, 18AWG
NA
Qualtek
312007-01
1
$3.37
AC Receptacle
External 5*20mm fuseholder
NA
Qualtek
719W-00/03
1
$2.42
Transformer
60Hz 120VAC / 25.2VAC, 2A
NA
Radio Shack
273-1512
1
$9.99
Fuse
Time Lag 5*20mm, 2.0A
NA
Wickmann USA, Inc.
1951200000
1
$0.32
Varistor
140V RMS, 9mm
NA
BC Components
2322 592 51416
1
$0.32
Bridge Rectifier
6A, 100PIV
NA
Diodes Inc.
PB61
1
$1.49
Voltage Regulator
Pos 1.2 to 33V adjustable, 3A max, 40 to 125 deg C, TO-220
NA
National Semiconductor
LM350AT
1
$3.50
Voltage Regulator
Pos 12V, 1.5A max, 0 to 125 deg C,
TO-220
NA
Texas Instruments
uA7812C
1
$0.52
Voltage Regulator
Pos 5V, 1.5A max, 0 to 125 deg C,
TO-220
NA
Texas Instruments
uA7805C
1
$0.52
Diode
Schottky, 60V, 3A
NA
International Rectifier
MBR360
2
$1.02
Diode
100V, 1A
NA
Micro Commercial Co.
1N4002
3
$0.12
Transistor
NPN, 200mA
NA
Fairchild Semiconductor
2N3904
1
$0.16
Transistor
PNP, 600mA
NA
Fairchild Semiconductor
2N4402BU
1
$0.17
OR Gate
Quad 2-Input 14-Dip
NA
Texas Instruments
SN74HC32N
1
$0.44
Polyswitch
Resettable-Fuse
1.10A
NA
Raychem Corp.
RUE110
1
$0.55
Heat Sink
TO-220, 4.5W
NA
Aavid Thermalloy
530614B00000
3
$1.29
Capacitor
0.1uF 50V Ceramic
+/-10%
Kemet
C322C104K5R5
3
$0.63
TOTAL:
Capstone Design Project
$26.83
Slide 148 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
APPENDIX
A. Gantt Charts
Capstone Design Project
Slide 149 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Project Gantt Chart
Definition Phase
Capstone Design Project
Appendix A
Slide 150 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Project Gantt Chart
Productization Phase
Capstone Design Project
Appendix A
Slide 151 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Project Gantt Chart
Prototype and Validation Phase
Capstone Design Project
Appendix A
Slide 152 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Power Supply Gantt Chart 1 of 2
Capstone Design Project
Appendix A
Slide 153 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Power Supply Gantt Chart 2 of 2
Capstone Design Project
Appendix A
Slide 154 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Microcontroller and LCD Gantt Chart
Capstone Design Project
Appendix A
Slide 155 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Microcontroller and LCD Gantt Chart
Capstone Design Project
Appendix A
Slide 156 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Dialer – Gantt Chart
Capstone Design Project
Appendix A
Slide 157 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Dialer – Gantt Chart
Capstone Design Project
Appendix A
Slide 158 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Voice Recording - Gantt Chart
Capstone Design Project
Appendix A
Slide 159 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Voice Recording - Gantt Chart
Capstone Design Project
Appendix A
Slide 160 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Embedded Ethernet Controller and Web
Server – Gantt Chart
Capstone Design Project
Appendix A
Slide 161 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Embedded Ethernet Controller and Web
Server – Gantt Chart
Capstone Design Project
Appendix A
Slide 162 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Siren Gantt Chart
Capstone Design Project
Appendix A
Slide 163 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Keypad Gantt Chart
Capstone Design Project
Appendix A
Slide 164 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Sensors Gantt Chart
Capstone Design Project
Appendix A
Slide 165 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Gantt Chart
Capstone Design Project
Appendix A
Slide 166 /148
University of Wisconsin – Milwaukee
EE 318-595 Spring 2004
Design Team No. 1
Security Dialer
Gantt Chart
Capstone Design Project
Appendix A
Slide 167 /148