Software
RRDTool
RRDTool is a round robin database format for storing time series data. It is the perfect tool for storing data from the SCADA system. RRDTool handles time scaling of data, and prevents buffer overflow issues. Provided below is an example of how to interface with RRDTool through the PyRRD library.
CAN Buffer Overflow Problem
The CAN buffer overflow problem is an interesting one… In summary, the issue is the software from HPEVS overflows the SocketCAN buffer in Linux, causing the system to crash if write events are performed.
The software provided by HPEVS running on the Curtis Motor Controller, documents two frames (0x601-0x602), but does mention the additional frames (0x250-0x253) which are causing the problems. Unfortunately we do not have an easy means of accessing, or modifying the behavior of this software. A dual CAN Bus system is highly recommended. One CAN Bus attached to the motor controller should be used as a read-only bus. Another CAN Bus should be attached to all other systems
MCS Buffer Overflow CANDUMP (TXT)
If someone is willing to hand compile a kernel, that might fix the issue. This issue presents itself on Ubuntu, OpenSuse, Debian, and Fedora. A laptop running Gentoo (custom kernel, recent SocketCAN) is not effected by this problem.
SCADA Hardware
The VIA Embedded VAB-820 was selected for its dual CAN bus, long term support and integrated LVDS/HDMI connectors. The computer has already been purchased, and is a good choice for the SCADA system.
It is recommended that the final vehicle use AMOS-820 computer, which is a ruggedized version of the VAB-820 containing a pre-built housing.
DUAL CAN BUS SUPPORT IS NECESSARY