14
1 Virtual Traffic Signs Virtual Traffic Signs Controller Controller - Midterm - Midterm Presentation - Presentation - Performed by: Shahar Wolf Ido Raz Project instructor: Mony Orbach Technion – Israel Institute of Technology Department of Electrical Engineering High Speed Digital Systems Lab Spring Semester ‘04

Virtual Traffic Signs Controller - Midterm Presentation -

  • Upload
    kylee

  • View
    42

  • Download
    0

Embed Size (px)

DESCRIPTION

Technion – Israel Institute of Technology Department of Electrical Engineering High Speed Digital Systems Lab. Virtual Traffic Signs Controller - Midterm Presentation -. Performed by: Shahar Wolf Ido Raz Project instructor: Mony Orbach. Spring Semester ‘04. Project Goals. - PowerPoint PPT Presentation

Citation preview

Page 1: Virtual Traffic Signs Controller  - Midterm Presentation -

1

Virtual Traffic Signs ControllerVirtual Traffic Signs Controller - Midterm Presentation - - Midterm Presentation -

Performed by:

Shahar Wolf

Ido Raz

Project instructor:

Mony Orbach

Technion – Israel Institute of TechnologyDepartment of Electrical EngineeringHigh Speed Digital Systems Lab

Spring Semester ‘04

Page 2: Virtual Traffic Signs Controller  - Midterm Presentation -

2

Project GoalsProject Goals

Design and Implement a controller for virtual traffic signs alert system, that will:

• Manage data from the Motorola GSM/GPS G18 card.• Cross-analyze and integrate the GPS data

and the traffic data from the GSM, according to known profiles.• Send appropriate feedback to driver (if

necessary).

Page 3: Virtual Traffic Signs Controller  - Midterm Presentation -

3

Hardware ArchitectureHardware Architecture

Page 4: Virtual Traffic Signs Controller  - Midterm Presentation -

4

Hardware ArchitectureHardware Architecture

DSP

GSM

GPS

DB

Page 5: Virtual Traffic Signs Controller  - Midterm Presentation -

5

Block DiagramBlock Diagram

F2812SCIADRX

DTX

SCIBDRX

DTX

DSP UARTR

S-2

32

Lev

el C

onve

rter

g18 evaluation board

GSM

GPSRS-232

HOST PC

Code Composer StudioJTAG

eZdSP

On-board 1MB

External memory

Page 6: Virtual Traffic Signs Controller  - Midterm Presentation -

6

InputsInputs From GPS module:

• Data:• Coordinates (location)• Velocity• Direction of progress• etc…

• Communication feedback:• Satellite communication status (locked/unlocked)

From GSM module:• Data:

• Regional traffic data (signs, traffic info, etc…)

• Communication status with the GSM cellular network• Contacting GSM network cells• Reception level• etc..

Page 7: Virtual Traffic Signs Controller  - Midterm Presentation -

7

OutputsOutputs

Driver’s alert feedback:• Deviation from regional traffic profile (for example:

exceeding max. speed, attention to risky situations, etc..)

Motorola G18 card (communication management):

• GPS module:• Seek Satellite, lock Satellite, etc..

• GSM modules:• Seek cellular cell, contact cell, cells handshake,

make sign of life, etc..

Page 8: Virtual Traffic Signs Controller  - Midterm Presentation -

8

Layers and Modules DescriptionLayers and Modules Description

GSMGPSPhysical Layer

Interface/Drivers

Application

GSM Module:-Communication functions

-Request/get traffic data

GPS Module:-Communication functions

-Get data: location, velocity

-Search and manage Database

-Analyze data according to known profiles

-Send feedback to driver

Page 9: Virtual Traffic Signs Controller  - Midterm Presentation -

9

The Controller – G18 InterfaceThe Controller – G18 Interface

The F2812 DSP has two UART Serial Communication Interfaces (SCIA, SCIB), with which it will communicate with the g18 card, via two RS-232 ports.

RS-232 – CMOS level conversion between the two cards.

Communication with the g18 card will be at the HWI level.

Left to do:– Acquire RS-232 - 3.3V CMOS level converter.– Implement the communication drivers.

Page 10: Virtual Traffic Signs Controller  - Midterm Presentation -

10

The Device DriversThe Device Drivers

RS-232 – UART Connection Levelsend(string), receive(string) interrupts through SCIA,SCIB

G18 Control Level- Implement control functions that send ATcommands: For Example: Network_Register(), Send_SMS(char *massage)- Interpret G18 feedback (SWI)

Application Interface Level-control functions

For Example: Init_communication(), Receive_Location()

Page 11: Virtual Traffic Signs Controller  - Midterm Presentation -

11

Analyzing System’s PerformanceAnalyzing System’s Performance

Considerations for analyzing the systems performance:

Analyze effective communication buad rate (BPS). Analyze application’s Modules Memory

consumption on the DSP controller (working with/without DSP/BIOS).– The external memory is up to 1M total memory

Analyze response time of the system.

Page 12: Virtual Traffic Signs Controller  - Midterm Presentation -

12

System Characteristics - DSPSystem Characteristics - DSP

F2812 DSP

CPU Frequency150MHz

Connection SpeedSCI programmable to 64K different baud

rates

On Chip Memory L0 and L1: 4K x 16

ROM: 128K x 16

Flash: 128K x 16

External MemoryUp to 1MB

Page 13: Virtual Traffic Signs Controller  - Midterm Presentation -

13

System Characteristics – g18System Characteristics – g18Motorola g18

Connection Speed baud rate 4,800 up to 57,600bps

ONCORE GPS Receiver

Acquisition time Typical < 50 sec (warm)

Reacquisition: < 1 sec

Accuracy 100m with Selective Availability (SA) as per DoD

specification 25m without SA 1 – 5m in Motorola differential mode (?)

Timing Accuracy Aprox < 130 nsec

Serial Cummunication

Baud rate up to 9,600bps

Page 14: Virtual Traffic Signs Controller  - Midterm Presentation -

14

Schedule – 1Schedule – 1stst Semester Semester

Study the development environment:– Code Composer Studio – DONE!– The TI Controller features – DONE!– The Motorola G18 card interface – DONE!

Design the interface between the controller and the G18 card – 2 weeks until 30/5 - Started

- While physical connection between the two cards is not yet established, the G18 card will be simulated using internal loopback of the SCIs.

Build GPS/GSM drivers – 6 weeks, milestones:– Build the Connection level interrupt handlers - 13/6– Build the G-18 control level – 30/6– Build the Application interface level – 18/7

Simulate a primal test-case – End of 1st semester