Download REV Performance Vehicle Instrumentation
Transcript
4 CAN BUS SPY reduce audio disruptions from track-switching discontinuities that occur during system use. The addition of emulated gear system has allowed the system to better approximate the sound output of a conventional petrol vehicle. 4 CAN Bus SPY The instrument cluster in the Lotus consists of a speedometer, tachometer and various other assorted indicators. In 2009, when the Lotus was shipped, the speedometer was replaced with one indicating km/hr, as the previous one indicated miles per hour. As a requirement of the Australian Design Rules [31], this was replaced. In addition, during the conversion the Engine Control Unit (ECU) providing all signals to the instrument had to be removed and rewired in accordance with its new drive system. Whilst the speedometer was reconnected in line with Australian requirements, a tachometer is not such a requirement, and as the ECU providing this signal was removed, it was not attached. Fortunately, the UQM Powerphase 75 installed in the Lotus has the ability to output information about the engine over a connection from the motor controller [32]. This includes engine speed, torque, voltage, current and temperature. It can do this through two methods; one using a serial connection, and the other a CAN bus connection. As UQM does not provide information about the protocol used to send data over serial this could not be used. It does however, provide the protocol for CAN bus connections [33], based on the SAE J1939-21 standard [34], [35]. As such, it was decided to implement a system using the CAN bus. In addition to taking data from the CAN bus to create an RPM signal, it would be useful to be able to also relay this information to the in-car PC. As such, we define the following set of requirements: 1. Take input data from the CAN Bus 2. Output this over the serial line 3. Alter a Pulse Width Modulated (PWM) signal to drive the tachometer Following on now is background information about the CAN bus. Afterwards the system design in both hardware and software is discussed, finishing with the evaluation of the system. 23