Dear Label_Name,

Greetings! I hope you are well.

I am writing on behalf of an international publishing house, Science and Education Publishing, USA (http://www.sciepub.com).

Science and Education Publishing (SciEP) is a multidisciplinary open access publisher of Journals covering the fields of Science, Technology and Medicine. All SciEP publications are subject to high-quality peer review, editorial and production processes and are freely available online.

Welcome to the April, 2013 edition of SciEP newsletter, providing monthly summaries of articles on science & education related topics of interest to scientist and professionals. The mission of our journals is to provide an open access forum for publishing new findings on issues pertinent to scientific and academic field. We also invite you to submit original research papers, review articles, short reports, or case studies are considered for publication in our Multidisciplinary Journals.

American Journal of Public Health Research
DOI: 10.12691/ajphr-1-1-3

The Implementation of a Tele-Homecare System with Service Oriented Architecture and HL7 Message Transmission Standard
Ching-Sung Wang

American Journal of Medical and Biological Research
DOI: 10.12691/ajmbr-1-1-2

The Influence of Ethanol on Pyruvate Kinases Activity in Vivo, in Vitro, in Silico
Lelevich Sergey Vladimirovich, Khrustalev Vladislav Victorovich, Barkovsky Eugene Victorovich, Shedogubova Tatyana Aleksandrovna

American Journal of Medical Sciences and Medicine
DOI: 10.12691/ajmsm-1-1-1

Clinical and Histological Features in Wegener Granulomatosis
Li Cavoli Gioacchino, Passantino Rita, Bono Luisa, Tortorici Calogera, Ferrantelli Angelo, Giammarresi Carlo, Rotolo Ugo

American Journal of Infectious Diseases and Microbiology
DOI: 10.12691/ajidm-1-1-2

The Curse of Lymphatic Filariasis: Would the Continual Use of Diethylcarbamazine Eliminate this Scourge in Papua New Guinea?
Anne Lanham, Lillian Mwanri

We have released issues of some journals on February 2013.
American Journal of Public Health Research
American Journal of Medical Sciences and Medicine
American Journal of Medical and Biological Research
American Journal of Pharmacological Sciences
American Journal of Clinical Medicine Research
American Journal of Nursing Research
American Journal of Cancer Prevention
American Journal of Medicine Studies
American Journal of Infectious Diseases and Microbiology
American Journal of Cardiovascular Disease Research
American Journal of Biomedical Research
American Journal of Mechanical Engineering
American Journal of Microbiological Research
Journal of Preventive Medicine
American Journal of Food and Nutrition
American Journal of Hypertension Research
American Journal of Sports Science and Medicine
Journal of Cancer Research and Treatment
American Journal of Zoological Research
Journal of Biomedical Engineering and Technology
American Journal of Microbiological Research
Biomedical Science and Engineering

We are pleased to announce that submissions are now being accepted for peer review for all the journals across all our subject areas in SciEP.

Please submit your manuscript via our online submission system:
http://www.sciepub.com/author/signin

To unsubscribe from our mailing list, please click on the following link: unsubscribe

I am looking forward to hearing from you.

Kind regards,

David Rain
Email:join@sciepub.com
Science and Education Publishing (http://www.sciepub.com)

Model Based Design of Embedded Systems

Ľubica Miková, Michal Kelemen*, Ivan Virgala, Tomáš Lipták

Department of Mechatronics, Technical University of Kosice, Faculty of Mechanical Engineering, Kosice, Slovak Republic

Abstract: Paper deals with embedded systems for mechatronics products. The problem of design of embedded systems can be solved via using of model based design. Hardware-in-the-loop (HIL) simulation is as device for designing of embedded systems. Simulation model of real product is running in hardware simulator and embedded systems can control the simulation model. This way enables try also dangerous situations.

Keywords: embedded system, simulation model, design, HIL

Citation: Ľubica Miková, Michal Kelemen, Ivan Virgala, Tomáš Lipták, Model Based Design of Embedded Systems. Journal of Automation and Control, 5 (2). 64-68. January 2017. doi:10.12691/automation-5-2-7

1. Introduction

Actually, several billions of microprocessors are made per year, but only few percent of them are used a brain of personal computer. Overwhelming majority of microprocessors becomes a part of embedded systems. Embedded systems are special computer systems, which are completely embedded into devices, which are controlled with them. Embedded systems as a basic part of everyday used products as car, printers, cameras, medical devices, gaming devices, washing machine, grass-cutting robots, vacuum cleaner robots, aeroplane, missile rockets, mobile phones, etc. (Figure 1).

Figure 1. Application of embedded systems

Term “embedded systems” is used for:

- Combination of hardware and software for executing of specific tasks.

- Embedded systems is a system which fully or partially autonomously execute tasks depended on human intervention.

- Embedded system is designed for executing of several tasks via using of the most effective way.

- Embedded system is computer system for specific tasks.

Using of embedded systems is practically unlimited and new products with embedded systems are daily introduced in market. This fact still causes that the price of microprocessors, microcontrollers and FPGA chips, fall down. Developing of new product with implemented flexible embedded systems is much cheaper then developing of complicated control structure. Developing of control system via using of embedded system became very simple thing.

Standard personal computer is usable for more purposes (text processing, image processing, internet, email, listening of music, watching the video, playing game etc., but embedded system is used only for one purpose related to product. Striking impact of embedded systems is visible in automotive industry. One car includes several tenths of embedded systems used for various activities as battery management, blind spot detection, air suspension system, parking assistant and self parking system, security system, tire pressure monitoring system, seat control, window lift, emergency brake system, internal combustion motor control, engine cooling system, cruise control, cross-traffic alert system, lane change assistant, collision avoidance system, air condition etc [1,2,3,4,5,6,7,8,9].

2. Embedded Systems

Tasks of embedded systems is very frequently related to specific time frame and time keeping is marginal important for right functionality of whole product. Very good example of embedded system is auto-pilot in aeroplane, where embedded system has to react very fast during the fly. This is the reason, why real time response is expected from embedded systems.

Embedded systems are applied for controlling of processes and functions of products. It is necessary to obtain amount of information for this controlling and embedded system evaluate these information in running programme and make decision about next activities. Mechatronic product also can communicate with user and can make advice what user should make. This product with embedded system behaves as intelligent system and it is able to automatically decide about its activities (Figure 2). Behaviour of this product is subjected to user, which has possibility to affect to its functions. Besides this, the product can has also other functions unknown for user as checking of product status, check of battery status, user security checking, damage protection, etc. Product should be designed also for unexpected situations caused by user or by others impacts. Key task of mechatronic product is to help to user with safely using of product. Also the product should eliminate bas steps of user, which can be dangerous for product or for user or their environment.

Figure 2. Embedded system with sensors and actuators and input or output human-machine devices

Previous solution of controlling system required amount of logical circuits, timers, buffers, driver circuits etc. Application of embedded systems fully replaces all these systems and provides more flexible and powerful platform. Many improvements can be achieved only via upgrade of control program with minimum intervention to hardware.

Embedded system development is supported also with Matlab/Simulink package with “Embedded coder”. Embedded system is also called as “Electronic Control Unit” – ECU or “production control unit. These units are designed with respecting of minimum production costs in serial production. ECU very often consists of system with lower CPU (Microprocessor) performance and low memory and often with fixed point math. Simulation model of controlling is completed in Matlab/Simulink and then “Generator of production code” is used for generating of C-code with quality of hand-written source code on the level of excellent programmers. It also enables the implementation of fix-point math routine and memory optimization for selected microcontroller. Generated C code needs only minor revision and then it is necessary for implementation into target microcontroller.

Figure 3. Embedded system design

Process of technical system design is supported via using of system model - “Model based design” [1,2,3,4,5,6,7,8,9].

3. Model Based Design

Initial stage of mechatronic product design can be supported through the using of model based design. It could help to identify weak places and mistakes in product design. Overall design is then faster and more successful then before. For this reason the model of system is in the centre of product design process during the all stages of product life cycle as requirement definition, own product design, simulation and verification of design and testing of product and also recycling after end of product life. Model simulation results show the problems and it is possible to modify design in early stage of design. Simulation shows if future product will fulfil of customer requirements.

Fast product developing requires the model based design as device for effective product design through the using of:

- Common design environment for all members of team.

- Coupling of product design with customer requirements.

- Simultaneous integration of design testing for continuous identification of errors and repairing of errors.

- Debugging of the algorithm using the multi-domain simulation.

- Automatic generation of software code.

- Developing and repeated using of testing system.

- Automatic generating of documentation.

- Repeated using of design for distribution of system to more processors and hardware devices.

Figure 4. Design of technical system supported with system model

Model of the system has key and important role in development process of technical system (Figure 4). System model is used for definition of realizable specification. Continuous flexible testing during the development process can catch critical errors before the hardware errors. This procedure is simpler than repairing of hardware. Al changes made during the testing are reflected into hardware specification of system model. And also source code for target processor is modified with these modified specifications [1,2,3,4,5,6,7,8,9].

4. Real Time Testing

Testing in real time includes two kinds of testing:

- rapid prototyping and

- hardware-in-the-loop – HIL testing and simulations (Figure 5).

Figure 5. Hardware-in-the-loop – HIL testing and simulations

During the rapid prototyping, real time system is connected with real time hardware. HIL testing develops model of system using the other real time devices. This developing helps to create the control algorithm for planed target processor. Control algorithm can be connected to plant model, which running in real time. Normally, HIL testing is realized in form that, plant system is running as simulation in computer or in simulator (e.g. dSpace simulator etc.).

There are also other types of simulation for model in the loop as (Figure 6):

- “model-in-the-loop” simulation (MIL),

- for software is used “software-in-the-loop” simulation (SIL),

- for target processor is used “processor-in-the-loop” (PIL) simulation.

Figure 6. Design of technical system supported with system model

HIL simulation is used in the first place for complicated controlling tasks and for systems, which needs big realization costs, where unsuccess means giant economic loss or dangerous for human (automotive aeroplanes, army devices, space devices, nuclear power plants, etc.). For the mentioned reasons, the initial stage of design uses the control system with not real system (real system is substituted with simulation model running in hardware simulator). Hardware simulator is a special fast and powerful hardware for model running and also input/output quantities are simulated. Hardware simulator often includes AD and DA converters, digital inputs and digital outputs, counters etc. as additional cards. It means that real sensors and real actuators can be connected to hardware simulator. Possible unsuccess of simulation will warn us for errors and weak places in system. We can modify them for removing of the problems and again we can start simulation. All these actions can be repeated many times without massive damages obtained from tests with real products. These procedures are repeated up to moment when all errors are removed. After that the HIL simulated object can be substituted with real object.

HIL simulation is very close to real experiment, because HIL simulator can be connected with real sensors and actuators. This way enables also simulate the error stages, which are not possible to obtain in real object experiments (ultra cold or ultra hot temperature simulation, radiation influence, etc.).

Automotive ECUs (Electronic control units) are tested also with HIL simulator before using in real car. The hardware and software by dSPACE and MathWorks enable the HIL simulation with precision model of product.

HIL simulation is inseparable part of product design almost in automotive and aeroplane developing. Developing of ECU with HIL simulator is very important, because the controlling loops are very fast in automotive mainly in F1. There is also very fast data transferring and also fast interfaces with high transfer speeds are used.

HIL simulator is often as multi core system with more processors and also all types of input and outputs are available. Also special types of interfaces are available as CAN bus, Profibus, FlexRay and also many accessories are available for HIL simulators. It depends on purpose of HIL simulator [1,2,3,4,5,6,7,8,9,10,11,12,13].

5. Design of Two Legged Robot with ECU

The main problem of two legged robot is swinging motion, which affects to use of sensors for obstacle avoidance or CCD camera for path planning. Designed variants have common significant novelty, that base plate (place for sensors, CCD camera or manipulator) is stabilized. Robot doesn’t have to do swinging motion during the locomotion. It means that obstacle sensing, manipulator end-effector handling and video capturing is easier, than before. Base plate is also maintained in equal high over the ground. Also, it is possible to change desired value of high of base plate. Designed variants differ mainly in count of actuators and kinematic arrangement.

Selected basic kinematic arrangement has 4 DOF (Figure 7). Two DOF are realized with linear links and parallelogram mechanism. Parallelogram mechanism ensures the parallelism of feet and ground.

Figure 7. Kinematic arrangement of legged robot

Simulation model has been done and result of simulation of walking is shown on Figure 8.

On the base of simulation result, the ECU scheme and printed circuit board – PCB has been developed (Figure 9).

Figure 8. Walking simulation with CAD model of kinematic arrangement – variant C

Figure 9. ECU board scheme and PCB

Figure 10. Simulation of robot locomotion

Stability and locomotion simulation were obtained from simulation in Matlab (Figure 10).

6. Conclusion

Impact of model based design lies on fact that time developing of product is shortened what has direct influence to product price and saleability. Other indisputable fact is that these products have been already tested in phase of development through the difficult tests. It ensures the higher safety and reliability of these products. Very high percentage of products is mechatronic and this type of design is mainly dedicated for them [14,15,16,17,18,19].

Acknowledgements

The work has been accomplished under the research projects No. VEGA 1/0872/16 financed by the Slovak Ministry of Education and project “Design and realization of pneumatic manipulator” financed by the Faculty of Mechanical Engineering at the Technical University of Kosice. This contribution is also the result of the project implementation: Centre for research of control of technical, environmental and human risks for permanent development of production and products in mechanical engineering (ITMS:26220120060) supported by the Research & Development Operational Programme funded by the ERDF.

References

[1]   | dSpace GmbH. Model-Based Development of Safety-Critical Software: Safe and Efficient Translation of “Sicherheitskritische Software entwickeln” Published at: MEDengineering, 06/2012. [online]. [cit. 2013-08-02], http://www.dspace.com.
[2]   | The MathWorks, Inc., Model-Based Design. Documentation Center. [onli-ne]. [cit. 2013-08-02], http://www.mathworks.com/help/simulink/gs/model-based-design.html.
[3]   | R. Otterbach,: Automotive Solutions, Systems and Applications. dSPACE GmbH. 2013. [online]. [cit. 2013-08-02], http://www.dspace.com.
[4]   | G. Sandmann, J. Schlosser, Maxi-mizing the benefits of Model-Based Design through early verification. Embedded Computing Design. An Open-Systems Media publication. [online]. [cit. 2013-08-02], http://embedded-computing.com/articles/maximizing-benefits-model-based-design-early-verification/#.
[5]   | MathWorks, Inc., Evolution of model-based design in aerospace. IML Group PLC. [online]. [cit. 2013-08-02], http://www.epdtonthenet.net/article/41911/Evolution-of-model-based-design-in-aerospace.aspx.
[6]   | T. Lennon, The MathWorks Inc.: Model-based design for mechatronics systems. In. Machine design, Nov. 21, 2007, 2013 Penton Corporate. [online]. [cit. 2013-08-02]: http://machinedesign.com/archive/model-based-design-mechatronics-systems.
[7]   | Jelínek, P.: Simulace Processor In the Loop a Hardware In the Loop. In. AUTOMA 05/2007, [online]. [cit. 2013-08-02], http://www.odbornecasopisy.cz/index.php?id_document=34311.
[8]   | J. Jirkovský,: Hardware-in-the-loop simulace ve Formuli 1. HUMUSOFT s.r.o., [online]. [cit. 2013-08-02], http://www.humusoft.cz/archiv/clanky/matlab/2009-automotive-eng-1/.
[9]   | N. Murakami, K. Murakami, LinX Corporation: Model-Based Software Development for Electronic Control Unit (ECU) Controller Development by applying High Performance Real-Time System. [online]. [cit. 2013-08-02], http://home.hiroshima-u.ac.jp/pros/jusfa02/jusfa_tutorial_B.htm.
[10]   | K. Karnofsky, Putting the system in electronic system design. EETimes Newsletter 2/4/2008, UBM Tech. Also available online. Cited 07-11-2013. http://www.eetimes.com/document.asp?doc_id=1271606.
[11]   | S. Köhl, D. Jegminat, How to Do Hardware-in-the-Loop Simulation Right. dSPACE GmbH. SAE International. 2005. 2005 SAE World Congress Detroit, Michigan, April 11-14, 2005. SAE Technical paper series. Reprinted From: Controller System Software Testing and Validation (SP-1928). ISSN 0148-7191.

[12]  
A. Dhaliwal, S. Nagaraj, S. Jogi, , Hardware-in-the-Loop Testing for Hybrid Vehicles. dSPACE GmbH, Evaluation Engineering, November 2009, NP Communications, LLC. dSPACE, 50131 Pontiac Trail, Wixom, MI 48393. Also available online. Cited 07-11-2013. http://www.evaluationengineering.com/articles/200911/hardware-in-the-loop-testing-for-hybrid-vehicles.php.

[13]   | D.Koniar, L. Hargaš and M. Hrianka, Application of standard DICOM in LabVIEW, Proc. of 7th conf. Trends in Biomedical Engineering, Kladno 11.-13. 9. 2007 ISBN 978-80-01-03777-5. 2007.
[14]   | A. Vitko, L. Jurišica, M. Kľúčik, R. Murár, F. Duchoň,: Embedding Intelligence Into a Mobile Robot. In: AT&P Journal Plus. ISSN 1336-5010. Č. 1 : Mobilné robotické systémy (2008), s. 42-44.
[15]   | P. Božek, Robot path optimization for spot welding applications in automotive industry, Tehnicki vjesnik / Technical Gazette . Sep/Oct2013, Vol. 20 Issue 5, p913-917. 5p.
[16]   | F. Duchoň, A. Babinec, M. Kajan, P. Beňo, M. Florek, T. Fico, L. Jurišica, Path planning with modified A star algorithm for a mobile robot, Procedia Engineering 96, 59-69.
[17]   | P. Pásztó, P. Hubinský, Mobile robot navigation based on circle recognition, Journal of Electrical Engineering 64 (2), 84-91.
[18]   | I. V. Abramov, Y. R. Nikitin, A. I. Abramov, E. V. Sosnovich, P. Božek, Control and Diagnostic Model of Brushless DC Motor, Journal of Electrical Engineering. Volume 65, Issue 5, Pages 277-282, 2014.
[19]   | D. Koniar, L. Hargaš, S. Štofan, Segmentation of Motion Regions for Biomechanical Systems, Procedia Engineering, Volume 48, 2012, Pages 304-311.