Presentation is loading. Please wait.

Presentation is loading. Please wait.

המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory 1 Performed by: Shahar Wolf Ido Raz Instructor: Mony Orbach (Route-Link) הטכניון -

Similar presentations


Presentation on theme: "המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory 1 Performed by: Shahar Wolf Ido Raz Instructor: Mony Orbach (Route-Link) הטכניון -"— Presentation transcript:

1 המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory 1 Performed by: Shahar Wolf Ido Raz Instructor: Mony Orbach (Route-Link) הטכניון - מכון טכנולוגי לישראל הפקולטה להנדסת חשמל Technion - Israel institute of technology department of Electrical Engineering Virtual Traffic Sign - Final Presentation - Bi-Semester Project

2 המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory Motivation One of the causes for traffic accidents is the driver’s alert of the road. In order to raise the driver’s attention to risky situations in the road there’s a need for a system that will alert the driver in the necessary cases.

3 המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory The Idea Vehicle Coordinates Enter Alert Zone ? Enter Safe Profile ? Sign Coordinates Signs data received through GSM network Car position received through GPS

4 המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory The Idea (cont.) Receive local area driving profile (traffic signs, maximum speed etc.) from local GSM network, and the car’s coordinates from GPS module. When driving according to the local profile - the system should keep silent!

5 המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory The Idea (cont.) When deviating from the local profile (for example: approaching too fast to a stop sign) - the system should alert the driver accordingly!

6 המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory Project Goal Design and Implement a controller for virtual traffic signs alert system, that will: Manage data from GSM and GPS modules. Cross-analyze and integrate the GPS data and the traffic data from the GSM, according to known profiles. Send appropriate real time feedback to driver (if necessary).

7 המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory System Requirements Controller with processing abilities. High frequency in order to support real time functionality. At least two serial ports for communication with the GSM and GPS modules. Low power consumption. Debug capabilities.

8 המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory Project Progress Semester A : Study the design and development environment Design the interface between the controller and the g18 card Build GSM/GPS drivers Simulate small test-case Semester B: Design the Virtual traffic signs application and algorithm Debug and simulate final system functionality Evaluation of system performance

9 המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory System General View Texas Instruments TMS320F2812 ezDSP controller (150MHz). Motorola g18 integrated GSM/GPS card. Development Enviornment: Code Composer Studio 2

10 המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory Block Diagram F2812 SCIA DRX DTX SCIB DRX DTX DSP UART g18 evaluation board GSM GPS HOST PC Code Composer Studio JTAG eZdSP On-board 1MB External memory

11 המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory Layers and Modules Description GSMGPS Physical 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

12 המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory Simulation Block Diagram F2812 SCIA DRX DTX SCIB DRX DTX DSP UART g18 evaluation board GSM GPS HOST PC Code Composer Studio JTAG eZdSP On-board 1MB External memory

13 המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory Application algorithm SPAN CHK_RADIUS

14 המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory Distance and Azimuth Calculation Because of the near-spherical shape of the Earth, calculating an accurate distance between two points requires the use of spherical geometry and trigonometric math functions – require heavy floating-point calculation. For solving the distance/azimuth bottleneck we searched for reduction of the floating-point instructions consumption. Thus we found from the TI website the IQmath library which is collection of highly optimized and high precision mathematical Function Library for C/C++ programmers to seamlessly port the floating-point algorithm into fixed point code on TMS320C28x devices.

15 המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory System Performance There are two main parameters for evaluation of the system performance: 1.The car position update rate 2.The car position accuracy (location, velocity, etc.)

16 המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory 1. The car position update rate There are two characteristics that influence the car position update rate : The GPS update rate and the rate in which the DSP is ready to receive new car position. The Motorola g18 GPS module has update rate of 1 update per second (1PPS).

17 המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory The DSP analyzing performance This characteristic depends on the time that takes for the DSP to analyze the car position against every sign. DSP performance with the basic application: RemarkRate [ 1/sec] Elapsed Time [ m Sec] Number of Instruction Function Conversion to radians0.0081.3 K DecDeg 0.23335 K distance 0.1827 Kazimuth NOS = Number Of Signs In database 2142 / NOSNOS * 0.47NOS * 70 KCheckDriver From the Rate parameter we find out that with GPS data update of 1 per second we can analyze approximately 2142 signs from the database.

18 המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory The DSP analyzing performance (cont.) For solving the distance/azimuth bottleneck we searched for reduction of the floating-point instructions consumption and thus we found the IQmath library. DPS performance with the IQmath library: RemarkRate [ 1/sec] Elapsed Time [ m Sec] Number of Instruction Function Conversion to radians0.0081.3 K DecDeg 0.0588.7 K distance 0.0598.8 Kazimuth NOS = Number Of Signs In database 5882 / NOSNOS * 0.17NOS * 25.5 KCheckDriver From the Rate parameter we find out that with GPS data update of 1 per second we can analyze approximately 5882 signs from the database.

19 המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory The DSP analyzing performance (cont.) Then we turned to optimize the code by using heavy function as minimum as possible (mainly by reducing the number of running of DecDeg function) and we received the following results: RemarkRate [ 1/sec] Elapsed Time [ m Sec] Number of Instruction Function Conversion to radians0.0081.3 K DecDeg 0.0111.7 K distance 0.0121.8 Kazimuth NOS = Number Of Signs In database 0.017 + NOS * 0.05 2.6K + NOS * 7.4 K CheckDriver From the Rate parameter we find out that with GPS data update of 1 per second we can analyze approximately 20,000 signs from the database.

20 המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory 2. The car position accuracy This parameter is determined by the GPS module and given by the GPS module manufacturer. In our system we use the Motorola g18 DVG/slim that contain the M12 Oncore GPS service module. The accuracy of that system is: –Location : 1 to 5 meter –Velocity : 0.072 Km/H From these parameters we can see that the GPS system has satisfactory accuracy relatively to the car velocity and not adding any error to our calculation.


Download ppt "המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory 1 Performed by: Shahar Wolf Ido Raz Instructor: Mony Orbach (Route-Link) הטכניון -"

Similar presentations


Ads by Google