Design Automation


Jaguar reduces development costs with MathWorks rapid prototyping and code generation tools

19 November 2003 Design Automation

To meet demands for increasingly complex new vehicles while continuing to reduce costs, where possible Jaguar develops and tests new functionality using existing production vehicles instead of building expensive prototypes. This approach involves adding a special-purpose electronic control unit (ECU) to the vehicle.

Jaguar, based in Coventry, England, uses products from MathWorks to generate control software and deploy it on commercially available, general-purpose ECU hardware based on the Motorola MPC555 microcontroller. Jaguar selected the Microgen product from the UK company add2 Limited as its hardware platform (see: www.add2.co.uk/MicroGen.htm).

The Microgen MPC555-based electronic control module from add2 Ltd  is seen here mounted on the vehicle dashboard
The Microgen MPC555-based electronic control module from add2 Ltd is seen here mounted on the vehicle dashboard

In this way Jaguar can develop new features in an offline mode on a desktop in the lab and then try them out in a vehicle. It can support a variety of application areas, such as the transmission, driver entertainment, and body system. By testing the new features on real hardware Jaguar improves the quality of specifications that it provides to its suppliers.

The challenge

Most vehicles today contain several control units that are interconnected via realtime network standards such as CAN and J1850. Messages sent over these networks are used to continually transfer vehicle data and control information between ECUs. When a new ECU is received (by Jaguar) from a supplier, the ECU 'expects' to be installed in a vehicle with other ECUs that use the same message format and network protocol. However, initial development of systems with the new ECUs begins on existing production vehicles, presenting problems with incompatible message formats and protocols.

Previously, Jaguar would deal with this problem by commissioning a special-purpose ECU that would perform 'protocol conversion' between a new ECU and an existing network on the production vehicle. This work was subcontracted to external code developers - a slow and costly option. It involved giving specifications to a vendor, who would write software and send them the code. On-vehicle debugging would identify problems with the code, requiring Jaguar to go through several iterations before implementation. Jaguar needed a quicker, more cost-effective approach.

The solution

In proposing a solution it soon became apparent that the resulting system could be used, not only for protocol conversion, but also as a rapid prototyping system for implementing and testing new control algorithms or diagnostic features. The scope of the project was widened accordingly.

For targeting Microgen, its general-purpose ECU, Jaguar selected the MathWorks complete software environment, based on Simulink, Stateflow, and Real-Time Workshop.

A new product, the Embedded Target for Motorola MPC555, was created. Jaguar used these MathWorks products to design, simulate, and test control algorithms and generate custom code that was downloaded to Microgen hardware. For a typical project, it builds the control system as a block diagram in Simulink and Stateflow. To access I/O such as PWM, analog input, or CAN that is incorporated in the MPC55 microcontroller, it uses blocks that are included with the Embedded Target for Motorola MPC555.

Additional Simulink blocks have been developed by add2 Ltd to provide access to I/O devices that are external to the MPC555 chip. In this way, the control algorithms that Jaguar developed could process signals received via a CAN or J1850 bus or directly from sensor inputs. The algorithm output could be transmitted as a bus message or used to drive output devices directly.

Because the Simulink and Stateflow model was an executable specification, algorithms could be simulated and tested offline as they were being developed. Once the algorithm was validated in simulation, a complete application could be automatically generated and downloaded to ECU hardware.

Once the code was generated, test engineers downloaded the application over CAN into either RAM or flash memory on the target ECU.

Jaguar can customise, document, test, and validate the algorithm model, and then generate code for Microgen, all within the MathWorks environment. For example, the Embedded Target for Motorola MPC555, in conjunction with Jaguar's ECU hardware, allows some prototype work to be completed in-house, which in turn allows more complete and accurate specifications to be sent to suppliers for them to develop the actual system.

Jaguar is now using the code with general-purpose ECU hardware to aid in the development of control strategies. For example, during Engine Management Systems (EMS) development, it ran code on Microgen to simulate the vehicle transmission control unit. This allowed the engine and EMS to be tested through a number of drive cycles. The cycles were simulated by using the ECU hardware to send transmission position information to the EMS, which in turn 'thought' it was in a certain gear. The gear selected was easily controlled by the test engineer or by an automated test procedure.

The results

* Time and cost savings. Using MathWorks tools cuts several weeks from a typical development project. Without the general-purpose ECU, Jaguar would have had to ask the supplier to provide special, development-grade ECUs and software update every time it wanted to test a new strategy. Today it can test many more design iterations and save a great deal of time and money.

* Ability to test more design options. Reduced validation effort and the increased use of general-purpose and cost-effective ECU hardware allow the simultaneous trial of prototype control modules across a fleet of engineering vehicles, thereby enabling more rapid evaluation of proposed features.

* Faster development of embedded control designs. MathWorks products enable Jaguar to test innovative new vehicle features faster and more effectively.



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Quad-Apollo MxFE reference design
Design Automation
The Quad-Apollo MxFE reference design exemplifies a complete, high-performance platform for every-element direct-RF sampling digital beamforming using Analog Devices’ Apollo mixed-signal front-end technology.

Read more...
MIKROE signs multi-year deal with Renesas
Dizzy Enterprises Design Automation
MIKROE has signed a multi-year MCU development tool support deal with Renesas, which commits MIKROE to providing development tools for 500 of Renesas’ most popular MCUs.

Read more...
Future Electronics and SnapMagic announce CAD model integration to support faster design cycles
Future Electronics Design Automation
Engineers can now download verified symbols, footprints, and 3D models directly from supported product pages, enabling a smoother transition from component selection to PCB layout.

Read more...
Pulsonix 14.0 advances design
Design Automation
Pulsonix’s latest PCB design software platform further strengthens simulation and brings significant enhancements in mechanical-electrical 3D integration, smarter comparison tools, and enhanced usability features.

Read more...
Silicon Labs’ Simplicity AI-enabled SDK
Design Automation
Silicon Labs recently unveiled a new way it is helping developers and their AI agents collaborate through its Simplicity AI SDK.

Read more...
Accelerate development of AI-enabled embedded systems
Design Automation
ADI’s CodeFusion Studio (CFS) is a modern embedded software development platform aimed at accelerating the creation of AI-enabled embedded systems.

Read more...
STM32CubeIDE for Visual Studio Code
Design Automation
STM32CubeIDE has moved from prerelease to official release marking a milestone in the deployment of STM32CubeIDE for Visual Studio Code.

Read more...
Siemens’ software selected for verification and validation
ASIC Design Services Design Automation
Siemens Digital Industries Software recently announced that Veloce Strato CS and Veloce proFPGA CS have been deployed at Arm, a longtime user of Veloce, as part of its design flow for Arm Neoverse Compute Subsystems.

Read more...
Enhanced graphics on STM32U3
Design Automation
ST has introduced a new program designed specifically for users working with its mainstream STM32 MCUs, including STM32C0, U0, WBA, and U3 series.

Read more...
Semicon Summit 2025 - Dubai: Direct access to global chipmakers, built for Africa’s engineering needs
Design Automation
[Sponsored] The future of South Africa’s technology ecosystem depends on deeper integration with global supply chains and tighter alignment with semiconductor manufacturers. That alignment takes presence, interaction, and shared focus on real systems.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved