Combining CAN BUS and Automotive Sensors in Virtual Reality to Implement Driving Simulation

碩士 === 中華科技大學 === 電子工程研究所碩士班 === 105 === The purpose of this thesis, is to build a model of "CAN Bus driving simulation platform", by using vehicle sensors includes ultrasonic sensors, which uses in parking and three-axis accelerometer which is applied to detect the angle of inclination fr...

Full description

Bibliographic Details
Main Authors: 唐汝欣 TANG, JU-HSIN, 唐汝欣
Other Authors: TSAI, PU-SHENG
Format: Others
Language:zh-TW
Published: 2017
Online Access:http://ndltd.ncl.edu.tw/handle/52536488890199247069
Description
Summary:碩士 === 中華科技大學 === 電子工程研究所碩士班 === 105 === The purpose of this thesis, is to build a model of "CAN Bus driving simulation platform", by using vehicle sensors includes ultrasonic sensors, which uses in parking and three-axis accelerometer which is applied to detect the angle of inclination from X and Y axis and simulate engine speed from output pulse signal of electronic tachometer. Sent the traffic information of vehicle sensors to the car display panel through the CAN Bus Protocols, and then sent messages to computer through the RS232 serial communication. In this paper, the unity 3D game development engine is used as the development platform of virtual reality of vehicle. Builds in the scene of ring roads and sport car objects makes virtual experience closes to real. Unity 3D is a professional cross-platform game development software with powerful VR functions. Game scripts create code by C# or Java. The cross-platform software can be operated on different platforms, including Windows, Mac OS, and Linux. For achieving the realistic effects of the game scenes, this paper applied 3ds Max software modeling various objects, including Office building area, Factory area, Residential district, Resort area, School district and Seaside scenery area. The control core of the system consists of two boards including the vehicle signal acquisition circuit and the vehicle signal display circuit. The two boards communicate through the CAN Bus protocol as the signal communication channel. The embedded microcontrollers of the two boards use the 8bit high-performance RISC chip AT90CAN128 from Atmel as the core control chip, the main reason is this chip has CAN 2.0A & CAN 2.0B communication protocol, no external CAN controller required. (such as MCP2515 and other chips). This paper combines the interaction between reality and virtual to achieve a new experience on the simulation of driving behavior. With the experimental results, we found that the CAN Bus driving simulation platform in this paper is stable, and it is safe and reliable not only zero energy consumption, no air pollution, but also actual driving on the road. Hope to attract more innovative applications with a lifestyle change in the future.