Success Story

CANbus network

Factory Automation
CANbus network

The main project requirement was to construct robust CANbus network of multiple ECUs, that will exchange physical process parameters according to J1939 protocol. Each controller had configurable set of sensors (pressure, force, flow, temperature) for monitoring machine dynamics and actuators (motors, valves). Values from sensors are further filtered and pushed to the CANbus periodically. Implementation involved adding of UDS diagnosis and XCP stack support (Automotive standards). Data exchange between controller and sensors/actuators was established using I2C and SPI bus. There was implemented various number of project specific UDS services (Routine Control, Write/Read Data By Identifier) for specific ECU configuration. One of diagnosis services offers support for user calibration (zero, two-point) and direct modification of motor static curve. All important runtime parameters were stored in emulated EEPROM (internal FLASH memory. The device can recognize several causes of controller‘s hard fault reasons. At these specific moments, ECU should enter defined safe state inside allowed process safety time.