editorial embedded-model-based controldownloads.hindawi.com/journals/jcse/2013/237897.pdf ·...

3
Hindawi Publishing Corporation Journal of Control Science and Engineering Volume 2013, Article ID 237897, 2 pages http://dx.doi.org/10.1155/2013/237897 Editorial Embedded-Model-Based Control Sabri Cetinkunt, 1 Shin-ichi Nakajima, 2 Brad Nelson, 3 and Salem Haggag 4 1 Department of Mechanical and Industrial Engineering, University of Illinois at Chicago, Chicago, IL 60607, USA 2 Department of Mechanical and Control Engineering, Niigata Institute of Technology (NIIT), Niigata 9503315, Japan 3 Institute of Robotics and Intelligent Systems, ETH Zurich, 8092 Zurich, Switzerland 4 Faculty of Engineering, Ain Shams University, Cairo 11511, Egypt Correspondence should be addressed to Sabri Cetinkunt; [email protected] Received 27 June 2013; Accepted 27 June 2013 Copyright © 2013 Sabri Cetinkunt et al. is is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. e industrial practice of mechatronics engineering involves three phases of soſtware development: Phase 1: control soſtware development and simulation in non-real-time environment; Phase 2: hardware-in-the-loop (HIL) simulation and testing in real-time environment; Phase 3: testing and validation on actual machine. In Phase 1, the control soſtware is developed increasingly by using graphical soſtware tools as opposed to script-based soſtware tools, such as Simulink and Stateflow. en the developed soſtware is simulated and analyzed on a non-real- time computer environment. e “plant model” which is the computer model of the machine controlled is a non-real-time detailed dynamic model. Simulations and analysis are done in this non-real-time environment. In Phase 2, the “same control soſtware” is tested on a target embedded control module (ECM). at is, the “same control soſtware” is a C-code which is autogenerated from the graphical diagrams using autocode generation tools. at real-time controller soſtware is run on the target embedded controller module (ECM) hardware which is connected to another computer which simulates the controlled process dynamics in real time. is is called the hardware-in-the-loop (HIL) simulation. is process allows the engineer to test the control soſtware on the actual ECM hardware. e computer which simulates the plant model in real time provides the simulated I/O connections to the ECM. e fundamental challenge in HIL simulations is the to find a balance between the model accuracy (hence, more complex and detailed models) and the need for real-time simulation. As the real- time modeling capabilities are improved, virtual dynamic testing and validation of complete machines using HIL tools will become a reality in engineering design and development processes for embedded control systems. HIL is the testing and validation engineering process between pure soſtware simulation (100% soſtware) and pure hardware (100% actual machine) with all its hardware and embedded soſtware, where some of the components are actual hardware and some are simulated in real-time soſtware. e pure soſtware- based simulation cannot capture the real-time conditions in sufficient detail to provide the necessary confidence in the overall system functionality and reliability. However, pure hardware testing is quite oſten too expensive due to the cost of actual hardware, its custom instrumentation for testing purposes, and team of engineers and operators involved in the testing. Furthermore, some tests (especially failure modes) cannot be tested or are very difficult to test (i.e., flight control systems) on the actual hardware. HIL tools have been developed rapidly in recent years such that some of the hardware components of the control system are included as actual hardware (such as electronic control unit (ECU), engine, transmission, and dynamometer) and some of the components are present in soſtware form running in real time and its results are reflected on the control system by a generic simulator (i.e., dynamometer which represent the load on the powertrain based on the machine dynamics and operating conditions). Early versions of HIL simulations were used to test the static input-output

Upload: ngodat

Post on 27-May-2018

224 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Editorial Embedded-Model-Based Controldownloads.hindawi.com/journals/jcse/2013/237897.pdf · Editorial Embedded-Model-Based Control ... Correspondence should be addressed to Sabri

Hindawi Publishing CorporationJournal of Control Science and EngineeringVolume 2013, Article ID 237897, 2 pageshttp://dx.doi.org/10.1155/2013/237897

EditorialEmbedded-Model-Based Control

Sabri Cetinkunt,1 Shin-ichi Nakajima,2 Brad Nelson,3 and Salem Haggag4

1 Department of Mechanical and Industrial Engineering, University of Illinois at Chicago, Chicago, IL 60607, USA2Department of Mechanical and Control Engineering, Niigata Institute of Technology (NIIT), Niigata 9503315, Japan3 Institute of Robotics and Intelligent Systems, ETH Zurich, 8092 Zurich, Switzerland4 Faculty of Engineering, Ain Shams University, Cairo 11511, Egypt

Correspondence should be addressed to Sabri Cetinkunt; [email protected]

Received 27 June 2013; Accepted 27 June 2013

Copyright © 2013 Sabri Cetinkunt et al.This is an open access article distributed under the Creative CommonsAttribution License,which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

The industrial practice of mechatronics engineering involvesthree phases of software development:

Phase 1: control software development and simulationin non-real-time environment;Phase 2: hardware-in-the-loop (HIL) simulation andtesting in real-time environment;Phase 3: testing and validation on actual machine.

In Phase 1, the control software is developed increasinglyby using graphical software tools as opposed to script-basedsoftware tools, such as Simulink and Stateflow. Then thedeveloped software is simulated and analyzed on a non-real-time computer environment. The “plant model” which is thecomputermodel of themachine controlled is a non-real-timedetailed dynamicmodel. Simulations and analysis are done inthis non-real-time environment.

In Phase 2, the “same control software” is tested on atarget embedded control module (ECM). That is, the “samecontrol software” is a C-code which is autogenerated fromthe graphical diagrams using autocode generation tools.Thatreal-time controller software is run on the target embeddedcontroller module (ECM) hardware which is connected toanother computer which simulates the controlled processdynamics in real time.This is called the hardware-in-the-loop(HIL) simulation. This process allows the engineer to test thecontrol software on the actual ECM hardware. The computerwhich simulates the plant model in real time provides thesimulated I/O connections to the ECM. The fundamentalchallenge in HIL simulations is the to find a balance between

the model accuracy (hence, more complex and detailedmodels) and the need for real-time simulation. As the real-time modeling capabilities are improved, virtual dynamictesting and validation of complete machines using HIL toolswill become a reality in engineering design and developmentprocesses for embedded control systems. HIL is the testingand validation engineering process between pure softwaresimulation (100% software) and pure hardware (100% actualmachine) with all its hardware and embedded software,where some of the components are actual hardware andsome are simulated in real-time software. The pure software-based simulation cannot capture the real-time conditions insufficient detail to provide the necessary confidence in theoverall system functionality and reliability. However, purehardware testing is quite often too expensive due to the costof actual hardware, its custom instrumentation for testingpurposes, and team of engineers and operators involvedin the testing. Furthermore, some tests (especially failuremodes) cannot be tested or are very difficult to test (i.e., flightcontrol systems) on the actual hardware.

HIL tools have been developed rapidly in recent yearssuch that some of the hardware components of the controlsystem are included as actual hardware (such as electroniccontrol unit (ECU), engine, transmission, and dynamometer)and some of the components are present in software formrunning in real time and its results are reflected on thecontrol system by a generic simulator (i.e., dynamometerwhich represent the load on the powertrain based on themachine dynamics and operating conditions). Early versionsof HIL simulations were used to test the static input-output

Page 2: Editorial Embedded-Model-Based Controldownloads.hindawi.com/journals/jcse/2013/237897.pdf · Editorial Embedded-Model-Based Control ... Correspondence should be addressed to Sabri

2 Journal of Control Science and Engineering

behavior of the ECM running the intended real-time controlcode. Modern HIL simulation and testing are performed fordynamic testing, as well as static testing, where the I/O toECM is driven by dynamic and detailed models of the actualmachine.

In Phase 3, the ECM with the control code is tested onthe actual prototype machine. First, all of the I/O hardwareis verified for proper operation. The sensors and actuators(i.e., solenoid drives and amplifiers) are calibrated. Thesoftware logic is tested to make sure all contingencies forfault conditions are taken into account. Then, the controlalgorithm parameters are tuned to obtain the best possibledynamic performance based on expert operator and end-usercomments.The performance and reliability of the machine istested, compared to benchmark results, and documented inpreparation for production release.

In this special edition, we have tried to put together a setof papers to address these essential aspects of the modernmechatronics engineering practice. We hope that it will be auseful collection for our readers.

Sabri CetinkuntShin-ichi Nakajima

Brad NelsonSalem Haggag

Page 3: Editorial Embedded-Model-Based Controldownloads.hindawi.com/journals/jcse/2013/237897.pdf · Editorial Embedded-Model-Based Control ... Correspondence should be addressed to Sabri

International Journal of

AerospaceEngineeringHindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

RoboticsJournal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Active and Passive Electronic Components

Control Scienceand Engineering

Journal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

International Journal of

RotatingMachinery

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Hindawi Publishing Corporation http://www.hindawi.com

Journal ofEngineeringVolume 2014

Submit your manuscripts athttp://www.hindawi.com

VLSI Design

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Shock and Vibration

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Civil EngineeringAdvances in

Acoustics and VibrationAdvances in

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Electrical and Computer Engineering

Journal of

Advances inOptoElectronics

Hindawi Publishing Corporation http://www.hindawi.com

Volume 2014

The Scientific World JournalHindawi Publishing Corporation http://www.hindawi.com Volume 2014

SensorsJournal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Modelling & Simulation in EngineeringHindawi Publishing Corporation http://www.hindawi.com Volume 2014

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Chemical EngineeringInternational Journal of Antennas and

Propagation

International Journal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Navigation and Observation

International Journal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

DistributedSensor Networks

International Journal of