Presentation is loading. Please wait.

Presentation is loading. Please wait.

Final (Part A) Presentation 31/10/04 Virtual Traffic Signal Presented by: Ron Herman Ofir Shentzer Instructor: Mr. Mony Orbach Technion – Israel Institute.

Similar presentations


Presentation on theme: "Final (Part A) Presentation 31/10/04 Virtual Traffic Signal Presented by: Ron Herman Ofir Shentzer Instructor: Mr. Mony Orbach Technion – Israel Institute."— Presentation transcript:

1 Final (Part A) Presentation 31/10/04 Virtual Traffic Signal Presented by: Ron Herman Ofir Shentzer Instructor: Mr. Mony Orbach Technion – Israel Institute Of Technology Electrical Engineering Department

2 The Basic Idea… One of The major factors in today ’ s car accidents is driver ’ s lack of attention. a solution to this problem is a system which produces alerts in real time to the driver. The system can identify a compromising situation to the driver, according to pre-defined profiles, that characterize which approach to the traffic sign is dangerous.

3 Block Diagram Remote DB server GSM Card GSM HandlerGPS Handler MySQL Handler Local DB server User Interface Controller Traffic Signs Container GPS Card

4 Design’s Description The Local DB holds the traffic signs relevant to the vehicle’s present location. This Information is synchronized with the vehicle’s orientation. The Controller interacts with a Remote DB (holding the entire set of traffic signs) via GSM cellular communication. A request for update is sent by the Controller to the GSM card, and the relevant data is retrieved from the Remote DB, according to the current location. Each pre-defined time interval, the Controller unit Checks whether the vehicle is in a compromising situation, and if so, a warning signal is sent to the driver through the User Interface.

5 Class Diagram See Attached Word Document …

6 Class Diagram (Cont.) MySQL – the local database server. GPS – data manipulations. Controller – information processing. Signs - holds signs types. GUI – the user interface.

7 Class: MySQL This class enables access to a mySql server which is used as the local database. Through it we can query for specific signs ’ data necessary for the controller. This class is an object oriented wrapper for simplifying access to mySql server.

8 The Local Database The local DB is implemented using MySQL-server, for better performance and modularity. Each record in the DB represents a traffic sign of some sort, using the following identifiers: Area of operation: direction, location, effective- radius, opening-angle. Identity: sign-type, sign-SN. (serial number) and comment. (example in next slide…)

9 The Identifiers In Practice Visible in this drawing are the Area of operation (the shaded triangle), the sign’s direction, the work-angle, the effective radius.

10 MySQL DB screen shot

11 Class: GPS The GPS class handles two tasks: Retrieve GPS data samples (velocity, location, direction). Manipulate the retrieved data, such as calculating absolute distance or speed and several location vector calculations.

12 Class: Controller The controller processes input data from the database and the GPS. Utilize it to recognize compromising situations. If the controller decides such situation exists, it sends appropriate alerts to the user.

13 The “Magic” behind the decision… The Controller has to identify a compromising situation based on the car’s location and speed and a set of signs stored in the database. All the sign’s are extracted from the database. Sign’s area of operation is check to see if it holds the current car’s location. This decision is made by a special function called “isInRange”. “isInRange” gets the sign’s parameters (direction and opening angle) and checks if the car is in the sign’s view range. (see next slide for illustration)

14 Is In Range… ?

15 The “Magic”… (cont.) Once we found that the car is in the sign ’ s range of operation, “ isSafe ” method is executed, to check if the sign ’ s profile is met. If the car violates the sign ’ s profile a proper alert is invoked. The “ isSafe ” method is a member of the sign class, and will be reviewed in the following slides.

16 Making the decision - flow chart Get GPS sample get all sign from DB For each sign S do: Is car in sign’s angle of operation Is car facing the sign? Is car in sign’s radius? S.isSafe ? Invoke alert Start No Yes

17 Class: Signs Signs is in fact a container which holds all the signs familiarized by the system, such as stop sign, slow sign, etc… Each sign is an object for itself. All the signs inherits from a super object while using the polymorphism mechanism.

18 The Sign Object Each Sign must implement a certain function called “ isSafe ”. The “ isSafe ” method is a virtual method which each sign implements differently, according to it ’ s profile. “ isSafe ” checks whether our current car ’ s status complies with the profile. (example in next slide … )

19 Example : “Stop Sign” Profile 100m50m This profile is based on Galileo's equation: x denotes distance and v 0 denotes speed at distance of 0 meters

20 Class: Graphical User Interface The user interface was implemented using MFC concepts. The interface displays the warning messages to the user. It also displays additional information for better understanding of the running simulation, such as: The current GPS sample data. a radar-like view of the surrounding signs. (100 meter radius) a view of the closest sign. (screen shot available in next slide)

21 GUI screen shot

22 Next semester goals: Review and development of the local database exchange algorithm. Optimization of the controller and the identification algorithm. Add scripting abilities for the GPS simulator. To interface with a GPS. Conduct a Real-time testing of the system.

23 31/10/2004


Download ppt "Final (Part A) Presentation 31/10/04 Virtual Traffic Signal Presented by: Ron Herman Ofir Shentzer Instructor: Mr. Mony Orbach Technion – Israel Institute."

Similar presentations


Ads by Google