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

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

  • View
    215

  • Download
    0

Embed Size (px)

Citation preview

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

Critical Design Review

VSTVigilant Sensing Technologies

Joel Keesecker, Mark Kien, Pat Hauser

Page 2: 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

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

System Description

• Modular and expandable sensor network utilizing RF and power-line communication

RF Remote Sensing

Unit

Temp

Serial Interface

Master Controller Unit

RF

Ove

r P

ower

Com

mun

icat

ion

Link

2.4 GHz

RFRemote Sensing

Unit

Motion

Power Line Remote Sensing

Unit

Cell Traffic

GUI on Host PC

`

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

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

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

RSU/MCU Module Diagram

Sensor Interface

MCU Specific Components

MSP 430

Yitran IT800D SPIM

Xbee Tranciever

Host PCExternal

Dual UART

Line Driver

Buttons/Leds

LCD

SPI UART

SPI Sensor

Analog Sensor

Sensor ID and IRQ

Extra Data Storage

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

Board Schematic

P8.4/S2133

P7.2/UCA0SOMI/S3143

VeREF+/DAC010

P2.5/UCA0RXD 74

P3.5/TB4 66

P4.0/UTXD1 63

P1.3/TBOUTH/SVSOUT 84

P7.4/S2941

P9.3/S1426

P1.2/TA1 85

P4.5/UCLK1/S36 48

P8.3/S2234

P7.1/UCA0SIMO/S3244

P4.7/UCA0RXD/S34 46

P3.4/TB3 67

P6.4/A4/OA1I03

P9.2/S1527

P2.0/TA2 79

P1.1/TA0/MCLK 86

P2.6/CAOUT 73

P9.7/S1022

P8.2/S2335

P6.6/A6/DAC0/OA2I05

P9.1/S1628

P4.6/UCA0TXD/S35 47

P10.0/S921

P5.2/COM1 53

P10.6/S3/A15 (see Note 1)15

P2.4/UCA0TXD 75

P4.2/STE1/S39 51

P5.1/S0/A12/DAC1 12P10.1/S820

P10.2/S719

P7.7/S2638

P9.6/S1123

P3.0/UCB0STE 71P8.1/S2436 P2.7/ADC12CLK/DMAE0 72

P1.0/TA0 87

P10.3/S618

P8.7/S1830

P2.3/TB2 76

P10.4/S517

P6.7/A7/DAC1/SVSIN6

P6.2/A2/OA0I197

P5.3/COM2 54

P10.5/S416

P9.0/S1729

P4.3/SIMO1/S38 50

P3.3/UCB0CLK 68

P3.7/TB6 64

P5.5/R03 56

P7.3/UCA0CLK/S3042

P9.5/S1224

P7.6/S2739

P5.6/LCDREF/R13 57

P8.0/S2537

P6.1/A1/OA0O96

P10.7/S2/A14/OA2I114

P8.6/S1931

P6.3/A3/OA1O2

P1.5/TACLK/ACLK 82

P2.2/TB1 77

P1.7/CA1 80

P4.1/URXD1 62

P5.4/COM3 55

P1.4/TBCLK/SMCLK 83

P8.5/S2032

P3.2/UCB0SOMI/UCB0SCL 69

P6.0/A0/OA0I0 95

P3.6/TB5 65

P6.5/A5/OA2O4

P7.5/S2840

P9.4/S1325

TDO/TDI90

P4.4/SOMI1/S37 49

P3.1/UCB0SIMO/UCB0SDA 70

P5.0/S1/A13/OA1I1 13

P7.0/UCA0STE/S3345

P2.1/TB0 78

P1.6/CA0 81

P5.7/R23 58

msp430fg4617ipz

SYM 2 OF 2

U1A

msp430fg4617ipz

TDI/TCLK91

AVSS98

XIN8 VREF-/VeREF-11

DVSS99

AVCC100

XT2IN89

XT2OUT 88

DVSS261

TCK93

DVCC260 DVCC11

COM0 52

TMS92

VREF+ 7

LCDCAP/R3359

XOUT 9

RST*/NMI94

msp430fg4617ipz

SYM 2 OF 2

U1B

msp430fg4617ipz

+121

AG

ND2

GN

D3

+3.3an4

+3.3V5

RX

_LE

D6

SCL

7

SDA

8

nReset9

M3

10

TS

15

TxD

16

RxD

17

Line1

20

Line2

21

IT800D

-SPIM C

onnector

Con1PIM Connector

VCC1

RXD2

TXD3

NC4

nReset5

RSSI6

DIO117

NC8

Sleep9

GND10 DIO4 11nCTS 12Status 13NC 14Asoc 15nRTS 16A3 17A2 19A1 20A0 21Con2

XBee Connector

VCC33

RXB 25

RXA 39

TXRDYA*1

GND 12

D79

RIB* 31

D68

D57

A2 15

D46

A1 14

D35

A0 10

D24

CHSEL 16

D13

D02

DSRA* 41

DTRB*27

RTSB*23

MFB*19

XTAL2 13

RIA* 43

XTAL1 11

CTSB* 28

IOR* 24

CDB* 30

VCC44

CS* 18

DTRA*37

RTSA*36

TXRDYB*32

INTB17

INTA34

MFA*35

TXB26

TXA38

GND 22

RESET 21

CTSA* 40

CDA* 42

IOW* 20

DSRB* 29

U2

tl16c2752ifn

max3223eidbr

DIN113

RIN29 RIN116

C2- 6C2+ 5

DOUT2 8DOUT1 17

V-

7V

+3

GN

D18

FORCEON14

V_C

C19

C1- 4

FORCEOFF*20

C1+2

EN*1

ROUT2 10

INVALID* 11

ROUT1 15

DIN212

U4

nCS1

SDO2

nWP3

GND4

VCC 8

SCL 6

SDI 5

U3

AT26DF321

12

P20Header 2

12

P9

Header 2

12

P5Header 2

12

P8Header 2

1 2

P1

Header 2

1 2

P12Header 2

1 2

P14

Header 2

GND

VCC

S1.IDC

LK

S1.CS

S1.ID

12

34

56

78

910

1112

1314

Sensor2Header 7X2H

12V

S1.An

S1.IRQ

S1.CE

SCL

KM

OSI

MISO

VCC

12

P7Header 2

VCC_AN

12V

AGND

GND

I2C

_SD

AI2

C_S

CL

Lin

e2L

ine1

PIM

_TxD

PIM

_RxD

VCC

12Y2

XTAL

12Y1 XTAL

VCC

1 23 45 67 89 1011 1213 14

JTAG1

JTAG

TCKTDI/TCLKTMS

TDO/TDI

TDO/TDI

TCKTMSTDI/TCLK

VCC

12

P18

Header 2

12

P19

Header 2

VCC

47K

R5

Res3 10n

C7Cap Semi

GND

GND

TS

XPWM_RSSI

XSLEEP

GND

12

P4

Header 2

XTxDXRxD

D3LED

D1LED

GND

GND

D2LED

GND

1 23 45 6

P2

Header 3X2

1 23 45 6

P3

Header 3X2

MOSIMISO

S1

SW-PBMISO

MOSISCLK

VCC

1 2 3

P13Header 3

VCCGND

GND

nCS.DF

GND

UART_IRQ1UART_IRQ2

UART_IRQ3UART_IRQ4

UART_IRQ5UART_IRQ6

UART_A0UART_A1UART_A2

UART_D0UART_D1UART_D2UART_D3UART_D4UART_D5UART_D6UART_D7

VCC

AVCC

AGND

1

2

3

4

5

6

7

8

9

11

10

J1

D Connector 9GND

232TX

232RX

UART_CHUART_nCS

UART_nIORUART_nIOW

VCC

VCC

VCC

VCC

PIM_RxD PIM_TxD

XRxD XTxD

GND

VCC

S2.IDC

LK

S2.CS

S2.ID

12

34

56

78

910

1112

1314

Sensor1Header 7X2H

12V

S2.An

S2.IRQ

S2.CE

SCL

KM

OSI

MISO

GND

VCC

S3.IDC

LK

S3.CS

S3.ID

12

34

56

78

910

1112

1314

Sensor3Header 7X2H

12V

S3.An

S3.IRQ

S3.CE

SCL

KM

OSI

MISO

GND

UART_RESET

URXBURXA

UTXBURXA

MSP_TXDMSP_RXD

MSP_TXDMSP_RXD

MSP_TXDMSP_RXD

SCLK

232TX

232RX

UTXB

UTXBURXB

URXB

URXA

UTXA

0.1uF

C4

Cap Semi

0.1uF

C2

Cap SemiGND

0.1uF

C5

Cap Semi

0.1uF

C1

Cap SemiGND

MAXnFoffMAXnFon

MAXnEn

UART_D0UART_D1UART_D2UART_D3UART_D4UART_D5UART_D6UART_D7UART_D8UART_A0UART_A1UART_A2

UART_IRQ1UART_IRQ2UART_IRQ3UART_IRQ4UART_IRQ5UART_IRQ6

UART_nCSUART_nIORUART_nIOW

S1.CSS2.CSS3.CSnCS.DF

MAXnEnMAXnFoffMAXnFon

UART_RESET

XSLEEPTS

nCS_LCD

12

P6

Header 2

XStatusXAssoc

XAssocXStatus

I2C_SCLI2C_SDA

S1.IDCLK

S1.ID

S1.An

S1.IRQ

S1.CE

S3.IDCLK

S3.ID

S3.An

S3.IRQ

S3.CE

S2.IDCLK

S2.ID

S2.An

S2.IRQ

S2.CE

mLED0mLED1mLED2mLED3

XnReset

XnReset

XPWM_RSSI

PB0PB1

nReset

1 2 3

P11Header 3

AC

LK

ACLK

1 23 4

P15

Header 2X2

123

P17

Header 3

UTXBURXB

DIN2

ROUT2

DIN2ROUT2

RIN2

RIN2

GND

12345678

P16

Header 8

UART_D1UART_D2UART_D3UART_D4UART_D5UART_D6UART_D7

UART_D0

D7LED3

D6LED3

D5LED3

D4LED3

mL

ED

1

mL

ED

2

mL

ED

3

mL

ED

4

GNDGNDGNDGND

33K

R2

Res Semi

330

R1Res Semi

GND

GND

100n

C3Cap Semi

PB0

VCC

S2

SW-PB33K

R4

Res Semi

330

R3Res Semi

GND

GND

100n

C6Cap Semi

PB1

VCC

PIM

_nR

eset

PIM_nReset

1 2

P10

Header 2

VCC

VCC

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

MaxStream Xbee Series 2

• 2.4 GHZ• Up to 250Kbps• UART Interface• 2mW Transmit Power

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

Yitran IT800D-SPIM

• DCSK (Differential Code Shift Keying)

• Hardware Forward Error Correction

• Collision Avoidance• Up to 7.25Kbps• UART Interface• Arrived Yesterday

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

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

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

Power System – Specifications

• Wide load variation regulated supply– 3.3V Load Variation 52 A 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%

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

Power System – Block Diagram

Line Coupler

Lithium-Ion Charger Circuit

(TI – bq24105)

20 VDCAC/DC

Converter 3.6V to 12V

DC/DCBoost

Converter(TI – TPS61081)

Peripheral Components

Peripheral Components

3.6V to 3.3VDC/DC

Buck Boost Converter

(TI – TPS63001)

Peripheral Components2:1

TO

MC

U/R

SU

3.6V/4.2 V

3.3 V

12 V

60 V

AC

20 V

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

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.

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

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

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

Sensor – Interface

AD8313Detector C

ell P

hone

Em

issi

ons

Analog Voltage/Interrupt

3.3 V Supply 1m Coax

0.1uFC1

IN+1

Vref3 OUT

4Vcc

5

GND4

U2

ADCMP370

P81

Q62

Q8 3P44

P35

P26

P17

GND8

P/S9

C10

DS11

Q712

P513

P614

P715

VDD16

U3

MC14021BD

IN31

IN22

IN33

IN44

IN55

IN66

IN77

IN88

OUT116

OUT215

OUT314

OUT413

OUT512

OUT611

OUT710

OUT89

U4

4-1825059-1

GND

VDD

VDD

GND

GND

VDD

1 2 3 4 5 6 7 8

9 10 11 12 13 14 15 16

R1

GND

GND

ID_Clock

ID_Clock

ID_Ser/Par_Sel

ID_Ser/Par_Sel

ID_Ser_Out

ID_Ser_Out

1 23 45 67 89 1011 1213 14

P1

Header 7X2H

12V

1

2

3

R2

3303X-3-103E

VDD

1

32

S1

Jameco_109171

1

32

S2

Jameco_109171

1 2 3 4 5

J1

MCX-J-P-H-RA-TH1

1 2 3 4 5

J2

MCX-J-P-H-RA-TH1

GNDGND

Analog_O

ut

Analog_Out

Int_Out

Int_Out

NC1

CE2

SCLK3

SDO5

SDI6

ID7VDD8

GND4

U5

AD7314

VDD

SDISDO

CESCLK

GND

CESCLK

SDISDO

VDD

0.1uFC2

0.1uFC3

VDD

GND

Decoupling capacitors for U2, U3, and U5

1KR3

VDD

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

Embedded S/W - States

• Initialization

• Configure profile

• Run

• Update

• Error

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

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

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

Embedded S/W – High Level ExecutionStart

InitializeRSU/MCU Execute

Pending Profile or Wait

for Further InstructionsSend/Store

System Config to/on MCU

Configure timeoutsRead Sensor id/type

Check InSet time/date

Update LCD(MCU)Update LEDs

RSUSend system config upon

request.

MCURequest system config from

each RSU.and store.

Check profile status. Reconfigure Interrupts if

necessary.

Update display and GUI as neccessary

New Profile?No

Confgure system for new Profile

YES

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

Embedded S/W – Error Handler

RSUError

Execute safe shut down

Add error to error log

Requires system interogation

Does error effect running

profile?

Exit error handler

Report error to MCU/GUI

NO

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

VST1000 - Data Tab

Graphical User Interface

Data Tab

Get Sensor DataData Table Selection

Format Data String

Get Selected Line Data

Display Data in “Current

Selection” box

Is most recent Detect?

Display Data in “Last

Reading” bok

Yes

Send Data string to COM Port

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

VS1000 - Sensor Status Tab

Graphical User

Interface Status tab

Configure Data string to Get

wireless Battery Power

Send string to COM Port

Display Resulting Battery Power

Configure Data string to Get Wireless ID

Mapping

Send string to COM Port

Display Resulting ID

Mapping

Configure Data string to get

Power Line ID Mapping

Send string to COM Port

Display Resulting ID

Mapping

On Startup

Get Battery Power

Configure Data string to get

Batter Power

Send string to COM Port

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

VST1000 - Configuration Tab

Graphical User Interface

Configuration Tab

Execute Database Query

on “Profiles” Table

Populate “Historic Profiles”

Table

“Create Profile” button

Get User defined input

Configure string

“Use Historical Profile” button

Get Data from “Historical

Profiles” Table

“Delete Profile” button

Get Data from “Active Profiles”

Table

Execute Database Query

on “Active Profiles” Table

Delete Selected profile from

“Active Profiles” Table in

Database

Populate “Active Profiles” Table

Update “Active Profiles” Table

Send string to COM Port

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

VST1000 - Background Process

“While 1” loopAre any bits

waiting?Read line from

COM PortConnect to COM

Port Yes

No

Is Line Sensor Data?

Is Line Status Data?

Parse line

Add Data to Database

Update GUI “Data” Tab

No

Yes

Update GUI “Battery Power”

Yes

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

Division of LaborPat Hauser Joel Keesecker Mark Kien

Primary•GUI Development

•PC Interface

•Embedded Software

Primary•RSU/MCU Board Development

•Research

Primary•H/W Testing

•Sensor Development

•Embedded Software

•Project Manager

•Power Supply Design

Secondary•Research

•Testing

Secondary•Embedded Software

•Power Supply Design

•Testing

Secondary•Circuit Design

All: Documentation

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

Schedule Overview

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

Schedule cont.

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

Schedule cont.

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

Schedule cont.

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

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 micro-

controller

• Host PC– COM port communication working– Data viewer tab done

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

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

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

Expo

• Demonstrate complete system functionality

• All pieces integrated

• Documentation complete

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

Parts ListComponent Part Number Supplier Total Price

Prototyping Materials to date E- Stores $6.00Powerline modems and coupling components Yitran IT800D- SPIM and Coupling Yitran $204.00Xbee Series 2 RF Module x 4 MaxStream $84.00LCD CFA634NFAKS Crystalfontz $45.00AC- DC Power Supply $60.00Power Supply Components

Lithium- Ion Charge Controller bq24105 TI $0.00Buck- Boost Converter Controller TPS63001 TI $0.00Boost Converter Controller TPS61081 TI $0.00

Batteries x 4 PL655585 $68.00PCB Fabrication Advanced Circuits $264.00Dual UART TL16C2752 TI $0.00RS- 232 Line Driver/Reciever MAX3223 TI $0.00Microcontroller MSP430FG4617 TI $0.00Atmel DATAFLASH $0.00Sensor Interface Boards …

Right angle quick mating coaxial connector MCX-J-P-H-RA-TH1 Samtec $0.00Header, 7-Pin, Dual row, Right Angle Header 7X2H Samtec $0.0010kohm resistor pack 2QSP-16-TJ1-103LF $0.00Trim Potentiometer 3303X-3-103E $0.00SPDT Switch 109171 J ameco $0.00Comparitor ADCMP370 Analog Devices $0.008-Bit Static Shift Register MC14021BD On Semiconductor $0.008-Position DIP Switch 4-1825059-1 $0.00Temperature Sensor AD7314 Analog Devices $0.00

Chasis/Enclosure $15.00Sensors $15.00

RF Detector AD8313 Analog Devices $0.00Motion Sensor IR- 550LP IR- TEC $0.00

Analog/Misc Components $20.00Manual Printing & Binding $50.00Display Materials $10.00

Total $835.00

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

Questions?