Critical Design Review VST Vigilant Sensing Technologies Joel Keesecker, Mark Kien, Pat Hauser

advertisement
Critical Design Review
VST
Vigilant Sensing Technologies
Joel Keesecker, Mark Kien, Pat Hauser
Outline
•
•
•
•
•
•
•
•
•
•
System Description and Diagrams
Status Update
Schematic
Power Subsystem
Sensor Interface
Firmware and Software
Division of Labor
Schedule & Deliverables
Parts List and Budget
Q&A
System Description
RF
Temp
Remote
Sensing
Unit
RF
Motion
Remote
Sensing
Unit
2.4 GHz
Master
Controller Unit
GUI on Host PC
Serial Interface
`
Power Line Cell
Remote Traffic
Sensing
Unit
RF Over Power Communication Link
• Modular and
expandable sensor
network utilizing RF
and power-line
communication
Status Update
• MCU/RSU
– Power system design 80% complete
– Schematic under development
• Sensors
– Generic interface schematic complete
• Embedded Software
– Operation states and sub-modules identified
• GUI
– Visual structure and layout
– COM port communication
• System
– System command set developed
RSU/MCU Module Diagram
Sensor Interface
SPI
Sensor
Analog
Sensor
Sensor ID
and IRQ
Buttons/
Leds
MSP 430
SPI
MCU Specific Components
LCD
Host PC
Extra Data
Storage
Line
Driver
External
Dual
UART
UART
Yitran
IT800D
SPIM
Xbee
Tranciever
2
Header
P20
1
2
2
OF
2
SYM
D
N
G
msp430fg4617ipz
DVSS
VCC
1
6
DVSS2
9
9
JTAG
6
A
D
N
G
V
2
1
D
N
G
V
2
1
D
N
G
V
2
1
DVCC2
0
D
N
G
DVCC1
2
1
1
1
4
1
3
1
1
MISO
MOSI
MISO
MOSI
MISO
MOSI
VCC
VCC
VCC
0
1
9
D
N
G
AVSS
8
7
K
7
4
8
9
K
C
T
XT2OUT
AVCC
AVCC
6
5
Res3
8
8
0
0
1
TMS
VCC
n
0
1
T
U
O
X
4
3
9
2
Header
TDI/TCLK
Semi
Cap
XTAL
5
R
VREF+
XT2IN
2
1
1
1
1
3
8
1
1
1
6
1
7
5
9
4
2
3
1
1
1
1
1
1
3
7
5
9
8
6
4
3
1
1
1
2
1
3
1
1
1
9
8
6
7
5
VREF-/VeRE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6.3/A3/OA1O
G
Connector
XBee
8
P
7
P
4
8
3
D
P1.3/TBOUTH/SVSOUT
P6.4/A4/OA1I0
S1.An
N
2
Header
2
Header
3
8
4
S2.An
G
P1.4/TBCLK/SMCLK
P6.5/A5/OA2O
S3.An
Connector
IT800D-SPIM
2
1
Line2
Line1
RxD
TxD
T
M
nReset
SDA
SCL
RX_LED
+3.3V
+3.3an
G
A
+
UTXB
URXB
1
S
N
G
3
2
2
1
2
P
D
N
D
1
P
Con1
Connector
PIM
Board Schematic
MaxStream Xbee Series 2
•
•
•
•
2.4 GHZ
Up to 250Kbps
UART Interface
2mW Transmit Power
Yitran IT800D-SPIM
• DCSK (Differential
Code Shift Keying)
• Hardware Forward
Error Correction
• Collision Avoidance
• Up to 7.25Kbps
• UART Interface
• Arrived Yesterday
Prototyping
• Plan to make simple breakout board with
MAX233 and line coupling components to
interface PC directly with XBee module and
SPIM.
• Test basic functionality and config
• Aide software development
Power System – Specifications
• Wide load variation regulated supply
– 3.3V Load Variation 52 mA to 402 mA
– 12 V Load Variation 50 mA to 260 mA
• Uninterrupted operation (All modules)
– High efficiency 3200mAh Li-Ion battery
– Integrated inline charger
• Worst case efficiency is 50%
Power System – Block Diagram
Sensor - Types
• Motion Sensor
– Powered from single 3.3 V supply.
– Produces an interrupt.
• Cell Phone Detector
– Powered from single 3.3 V Supply.
– Produces a V/dB output of the power level
• Temperature Sensor
– Located on sensor I/F board
– Data taken transferred serially over SPI interface.
Sensor – Interface Features
•
•
•
•
Generic sensor interface for most sensors
DIP switch to identify sensor type and ID
Generates interrupt based on analog level
Noise immunity provided by coax
transmission lines
Sensor – Interface
Analog Voltage/Interrupt
1m Coax
3.3 V Supply
SDI
SDO
VDD
VDD
GND
Header 7X2H
GND
R3
1K
S1
Analog_Out
VDD
10
11
ID_Ser/Par_Sel 9
1
3
3
2
Jameco_109171
Q6
Q7
Q8
16
2
12
3
U2
R2
ID_Ser_Out
5
1
3
4
2
GND
MC14021BD
Vcc
IN+ OUT
Vref
GND
4
ADCMP370
1
3303X-3-103E
8
P1
P2
P4
P3
P5
P6
P7
P8
GND
GND
U4
1
2
3
4
5
6
7
8
IN3
IN2
IN3
IN4
IN5
IN6
IN7
IN8
VDD
OUT1
OUT2
OUT3
OUT4
OUT5
OUT6
OUT7
OUT8
16
15
14
13
12
11
10
9
U5
1
CE
2
SCLK 3
4
NC
VDD
CE
ID
SCLK SDI
GND SDO
VDD
8
7
6 SDI
5 SDO
AD7314
GND
4-1825059-1
16
15
14
13
12
11
10
9
VDD
Decoupling capacitors for U2, U3, and U5
R1
C1
0.1uF
C2
0.1uF
8
7
6
5
4
3
2
1
GND
GND
Int_Out
Jameco_109171
VDD
VDD
3
7
6
4
5
13
14
15
1
GND
C
DS
P/S
S2
1
2
U3
ID_Clock
J2
5
4
3
2
1
1
2
3
4
5
6
7
8
9 10
11 12
13 14
ID_Clock
ID_Ser/Par_Sel
ID_Ser_Out
Analog_Out
Int_Out
CE
SCLK
5
4
3
2
1
GND
MCX-J-P-H-RA-TH1
J1
P1
C3
0.1uF
AD8313
Detector
Cell Phone Emissions
MCX-J-P-H-RA-TH1
12V VDD
Embedded S/W - States
•
•
•
•
•
Initialization
Configure profile
Run
Update
Error
Embedded Software - Modules
•
•
•
•
•
•
•
•
•
•
•
•
Read sensor id/type
Check In
Set time/date
Store test profile
Configure profile
Check profile status
Store data record
Configure interrupts
Transmit data record
Receive data record
Configure modem
Error handler
•
•
•
•
•
•
•
•
•
•
•
Check charge level
Read sensor analog
Read sensor digital
Update LCD
Update LEDs
Send system config
Terminate profile
Store system config
Configure timeouts
Wait and listen
Command interpreter
Embedded S/W – High Level
Execution
Start
Configure timeouts
Read Sensor id/type
Check In
Set time/date
Update LCD(MCU)
Update LEDs
RSU
Send system config upon
request.
MCU
Request system config from
each RSU.and store.
Initialize
RSU/MCU
Execute
Pending
Profile or Wait
for Further
Instructions
Send/Store
System
Config to/
on MCU
No
New Profile?
YES
Confgure
system for
new Profile
Check profile status.
Reconfigure Interrupts if
necessary.
Update display and GUI as
neccessary
Embedded S/W – Error Handler
RSU
Error
Add error
to error log
Report error
to MCU/GUI
Requires system interogation
Does error
effect running
profile?
NO
Exit error
handler
Execute safe
shut down
VST1000 - Data Tab
Graphical
User Interface
Data Tab
Data Table
Selection
Get Sensor Data
Format Data
String
Is most recent
Detect?
Get Selected
Line Data
Yes
Send Data string
to COM Port
Display Data
in “Last
Reading” bok
Display Data
in “Current
Selection” box
VS1000 - Sensor Status Tab
Graphical
User
Interface
Status tab
Configure Data
string to Get
wireless Battery
Power
Configure Data
string to Get
Wireless ID
Mapping
Configure Data
string to get
Power Line ID
Mapping
Send string to
COM Port
Send string to
COM Port
Send string to
COM Port
Display
Resulting
Battery
Power
Display
Resulting ID
Mapping
Display
Resulting ID
Mapping
On
Startup
Get Battery
Power
Configure Data
string to get
Batter Power
Send string to
COM Port
VST1000 - Configuration Tab
Graphical User
Interface
Configuration
Tab
Execute
Database Query
on “Active
Profiles” Table
Execute
Database Query
on “Profiles”
Table
“Create Profile”
button
Populate
“Historic Profiles”
Table
“Use Historical
Profile” button
“Delete Profile”
button
Populate “Active
Profiles” Table
Get User defined
input
Get Data from
“Historical
Profiles” Table
Get Data from
“Active Profiles”
Table
Configure string
Delete Selected
profile from
“Active Profiles”
Table in
Database
Send string to
COM Port
Update “Active
Profiles” Table
VST1000 - Background Process
Connect to COM
Port
Are any bits
waiting?
“While 1” loop
Y
e
s
Read line from
COM Port
No
Parse line
Is Line
Sensor Data?
N
o
Is Line Status
Data?
Y
e
s
Update GUI
“Battery Power”
Add Data to
Database
Y
e
s
Update GUI
“Data” Tab
Division of Labor
Pat Hauser
Joel Keesecker
Mark Kien
Primary
Primary
Primary
•GUI Development
•PC Interface
•Embedded Software
•RSU/MCU Board
Development
•Research
•H/W Testing
•Sensor Development
•Embedded Software
•Project Manager
•Power Supply Design
Secondary
Secondary
Secondary
•Research
•Testing
•Embedded Software
•Power Supply Design
•Testing
•Circuit Design
All: Documentation
Schedule Overview
Schedule cont.
Schedule cont.
Schedule cont.
Milestone 1
• Sensors
– 2 of 3 sensors tested and working
• MCU/RSU
– Interface board complete
– Rev1 Board populated
– Power system operational
• Firmware
– Able to communicate between Host PC and development microcontroller
• Host PC
– COM port communication working
– Data viewer tab done
Milestone 2
• Sensors
– Ready for integration
• MCU/RSU
– Unit testing complete ready for system integration
• Firmware
– Module testing complete
• Host PC
– GUI done but not integrated into system
Expo
• Demonstrate complete system functionality
• All pieces integrated
• Documentation complete
Parts List
Component
Prototyping Materials to date
Powerline modems and coupling components
Xbee Series 2 RF Module x 4
LCD
AC-DC Power Supply
Power Supply Components
Lithium-Ion Charge Controller
Buck-Boost Converter Controller
Boost Converter Controller
Batteries x 4
PCB Fabrication
Dual UART
RS-232 Line Driver/Reciever
Microcontroller
Atmel DATAFLASH
Sensor Interface Boards …
Right angle quick mating coaxial connector
Header, 7-Pin, Dual row, Right Angle
10kohm resistor pack
Trim Potentiometer
SPDT Switch
Comparitor
8-Bit Static Shift Register
8-Position DIP Switch
Temperature Sensor
Chasis/Enclosure
Sensors
RF Detector
Motion Sensor
Analog/Misc Components
Manual Printing & Binding
Display Materials
Part Number
Yitran IT800D-SPIM and Coupling
CFA634NFAKS
bq24105
TPS63001
TPS61081
PL655585
TL16C2752
MAX3223
MSP430FG4617
Supplier
E-Stores
Yitran
MaxStream
Crystalfontz
TI
TI
TI
Advanced Circuits
TI
TI
TI
MCX-J-P-H-RA-TH1
Header 7X2H
2QSP-16-TJ1-103LF
3303X-3-103E
109171
ADCMP370
MC14021BD
4-1825059-1
AD7314
Samtec
Samtec
AD8313
IR-550LP
Analog Devices
IR-TEC
Jameco
Analog Devices
On Semiconductor
Analog Devices
Total
Total Price
$6.00
$204.00
$84.00
$45.00
$60.00
$0.00
$0.00
$0.00
$68.00
$264.00
$0.00
$0.00
$0.00
$0.00
$0.00
$0.00
$0.00
$0.00
$0.00
$0.00
$0.00
$0.00
$0.00
$15.00
$15.00
$0.00
$0.00
$20.00
$50.00
$10.00
$835.00
Questions?
Download