News

05/12/2017 by Kvaser

MathWorks uses a Kvaser Blackbird for race car telemetry

RC_mode_racecar-1024ร—768

Christoph Hahn and Jose Avendano Arbelaez, technical education specialists for MathWorks, created a remote-control race car demo to show engineering students at this yearโ€™s Formula Student events how to use model-based design to accelerate system development and implementation.

Christoph and Jose used MathWorksโ€™ Vehicle Network Toolboxโ„ข (VNT), a CAN hardware support toolbox, to implement a CAN network and connect to vehicle dynamics controllers that had been previously designed and validated within Simulink, MathWorksโ€™ eponymous simulation environment. In this case, the VNT was used to acquire CAN data for use in simulations, prototype and test.

Kvaserโ€™s BlackBird v2 was attached to the base of the car where it acquired CAN data and sent it wirelessly to a Simulink application on a host laptop where a race engineer could monitor racecar data and tune controller settings. This enabled students to drive the car and experience their self-tuned control algorithms for themselves.

Whilst a primary design consideration for choosing Kvaserโ€™s CAN interfaces was compatibility to MathWorksโ€™ Vehicle Network Toolbox, Christoph explains: โ€œThe wireless capabilities of the BlackBird v2 allowed us to expand our project towards wireless telemetry data processing. Using the BlackBird as a major component for a professional test and tuning workflow is definitively a success factor.โ€

In line with good design practice, he cautions: โ€œWe would encourage users to design fail-safe systems. Wireless connections are always dependent on surrounding conditions and hence a system should work independently. Teams who donโ€™t want to rely on wireless communication, will find the log-and-replay feature of VNT helpful.โ€ It is for that reason that other Kvaser CAN interfaces were also used for the demo.

Read about the demo at MathWorks Racing Lounge Blog here.

Follow MathWorksโ€™ step-by-step video guide to creating their remote-control race car, starting with Part 1: Programming ECUs Using Simulink Hardware Support.