400 Commonwealth Drive, Warrendale, PA 15096-0001 U.S.A. Tel: (724) 776-4841 Fax: (724) 776-5760 Web: www.sae.org
SAE TECHNICAL
PAPER SERIES 2006-01-0169
Custom Real-Time Interface Blockset
Development in Matlab/Simulink for
On-Target Rapid Prototyping
Oguz H. Dagci and Alan W. Brown
General Motors Corporation
Reprinted From: In-Vehicle So ftware & Hardware Systems
(SP-2028)
2006 SAE World Congress
Detroit, Michigan
April 3-6, 2006
Downloaded from SAE International by Brought to you by the University of Kansas (Technical reports: 1998 to Present), Sunday, August 26, 2018The Engineering Meetings Board has approved this paper for publication. It has successfully completed
SAE's peer review process under th e supervision of the session organi zer. This process requires a
minimum of three (3) reviews by industry experts.
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or
transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of SAE.
For permission and licensing requests contact:
SAE Permissions
400 Commonwealth DriveWarrendale, PA 15096-0001-USAEmail:
[email protected]: 724-772-4028
Fax: 724-776-3036
For multiple print copies contact:
SAE Customer Service
Tel: 877-606-7323 (inside USA and Canada)Tel: 724-776-4970 (outside USA)Fax: 724-776-0790Email:
[email protected]
ISSN 0148-7191
Copyright © 2006 SAE International
Positions and opinions advanced in this paper are those of the author(s ) and not necessarily those of SAE.
The author is solely responsible for the content of th e paper. A process is available by which discussions
will be printed with the pap er if it is publishe d in SAE Transactions.
Persons wishing to submit papers to be considered for presentation or publicat ion by SAE should send the
manuscript or a 300 word abstract to Secretary, Engineering Meetings Board, SAE.
Printed in USADownloaded from SAE International by Brought to you by the University of Kansas (Technical reports: 1998 to Present), Sunday, August 26, 2018ABSTRACT
In GM R&D Powertrain/Engine Control Group, rapid
prototyping controller (RPC) systems with Matlab/Simulink are used extensively to design, simulate and implement advanced engine control algorithms and models. However, those RPC systems use powerful microprocessors with large amounts of RAM contrary to engine control modules (ECM) in production vehicles. Therefore, a thorough analysis on the comparatively much more complicated algorithms and models cannot be performed during the research stage, since there are not enough tools to enable the smooth transition from Matlab/Simulink to the production type processor. The Real-Time Interface (RTI) Blockset for a production like microprocessor would close the transition gap between rapid prototyping controller systems and production type microprocessors by leveraging the power and popularity of Matlab/Simulink in control engineering world and automatic code generation tools. Therefore, RTI Blockset with different customized functionalities for a production like microcontroller is developed in Matlab/Simulink in order to facilitate on-target rapid prototyping. Moreover, an engine control algorithm, which was developed before on a production like microcontroller via handwritten C-code is implemented on the same hardware using Matlab/Simulink Embedded Coder and the aforementioned RTI Blockset.
INTRODUCTION
In the last 10 years, with the advent of powerful and affordable microprocessors, rapid prototyping controllers have found wide usage in many disciplines especially in control engineering area. The reason why it is called rapid prototyping is the seamless transition from simulation to implementation. The automatic code generation tools integrated with simulation tools including peripheral configuration tools have driven the development of rapid prototyping controllers. Although rapid p