Embedding Simulink Algorithms into ifix and GE Fanuc Series 90 PLCs
|
|
- Bennett Willis
- 5 years ago
- Views:
Transcription
1 Embedding Simulink Algorithms into ifix and GE Fanuc Series 90 PLCs Krzysztof Kołek AGH University of Science and Technology Institute of Automatics Al. Mickiewicza 30, Kraków, Poland Abstract The paper presents two new target platforms for the C-code generated by the Simulink/RTW toolboxes: the ifix SCADA system and the GE Fanuc Series 90 PLCs. The presented solutions build interfaces to the C-code generated by the RTW toolbox and allow building the executable files that are functionally equivalent to the source Simulink diagrams. The executables are executed outside the Simulink directly by the ifix engine or by the PLC processor. Dedicated software functions are created to initialize the code, to trigger the execution of the generated executables at the required time point and to terminate the execution. As well dedicated driver blocks are described that transfer the signals between the ifix signal database and the executable files or between the PLC references and the executable modules. Finally, three practical examples are shown. 1. Introduction MATLAB and Simulink environments are widely used to developed and analyze control systems. A huge set of MATLAB functions and Simulink blocks create a powerful and flexible tool for data analysis dedicated for control system development. The Simulink diagrams may be also used for rapid prototyping of real-time applications. The RTW toolbox generates a C-code that is functionally equivalent to the source Simulink diagram. The C-code contains the algorithmic part of the Simulink diagram and may be executed outside the Simulink environment. The execution can be controlled by a system that can create an interface to the generated C-code and that is able to trigger the execution of the code at the required time periods. There exist ready-touse interfaces to a selected target laboratory and industrial hardware architectures [1][2][3][4][5]. They cover laboratory requirements however omit the most popular industrial control elements like PLC controllers and SCADA systems. Let us bring the SCADA and PLC controllers near to MATLAB/Simulink and build a bridge that translates the functions of Simulink diagrams to become executables running directly at the ifix SCADA system and at the GE Facuc Series 90 PLCs. 2. Remarks corresponding to the RTW generated code The Simulink package is oriented to simulation. Variable or fixed step algorithms numerically solve the diagrams. At the beginning the Simulink solver initializes the diagram data. After that, at each simulation step (either variable of fixed time step) the solver calculates the response of the diagram blocks. Finally, at the last simulation step the solver performs cleanup operations and stores the simulation results. The RTW toolbox [1] can be applied to generate the C-code from the Simulink diagram. The code is functionally equivalent to the diagram. The style of the generated code may be customized by the TLC [6] language. The generated C-code can operate in a standalone mode outside the Simulink environment. In principle the execution of the C-code under control of a real-time environment contains: the initialization stage, the part invoked at each execution step and the termination phase. Also the following features have to be considered: the variable step algorithms are not suitable for real-time applications because usually a fixed period interrupt signal triggers the calculations. Such operation mode requires a fixed-step solver, when each calculation step is executed at a constant period it must be guaranteed that the duration of the calculation is less than the execution period, the real-time programs interact with the surrounding environment. The simulation programs usually communicate only with file data and with the operator. The real-time programs as well operate with files and interact with the user but their main goal is to read and send data to measurement and control devices. In the case of the Simulink diagrams there must exist dedicated device driver blocks responsible for the communication with the external I/O signals. In the rapid development path the Simulink diagrams evaluate as shown in Fig.1. The upper blocks express the X/05/$ IEEE
2 off-line simulation mode. In the real-time operating mode the off-line data sources and sinks are replaced by the on-line measurements and control device driver signals. The execution is excited by a real-time clock signal. From file From operator Measurements Device driver Data processing Rapid development of real-time applications Data processing To file To operator Control signals Device driver Figure 1. Simulink diagram evolution. In the Simulink environment the real-time executables can be created automatically from the Simulink diagrams. The automatic generation requires that the C-code generated by the RTW is wrapped by the procedures which: perform initialization, handle timer requests, perform device driver operations and finally terminate the real-time application. The wrapping procedures create an interface between the generated C-code and the requirements of the target execution platform. 3. ifix target ifix is a Supervisory Control And Data Acquisition Human Machine Interface (SCADA HMI) program. It may be successfully applied for supervision control and for process monitoring but the default contents of the package does not include any sophisticated data processing methods similar to these supported by Simulink. ifix contains built-in Visual Basic for Applications (VBA) that is a convenient tool for creating interfaces to external programs. Unfortunately, VBA does not process low-level ifix signals and an alternative method has to be developed for low-level data processing Operating mode of the ifix engine The heart of the ifix data processing is the Scan And Control (SAC) engine. The SAC processes blocks included in the signal database. The blocks are organized in chains. The SAC periodically or in an event-driven manner performs execution of the block chains. Each block has its own data processing algorithm. Some blocks operate as device driver interfaces transferring data to SAC or outside SAC. Some blocks perform simple operations under signals coming from other blocks. The operations associated with the signal database blocks are very simple the most complex block is just a simple PID controller. A user familiar to Simulink has to be disappointed in a poor SAC functionality Details of the Simulink/iFIX interface [7][8] A new database block that embeds the algorithms developed as Simulink diagrams into the database processing are created. The new block must be responsible for initialization of the calculations and for the execution of the processing algorithm at each time moment required by the SAC. The development of the new ifix database block requires a dedicated software [9]. The obvious approach is to generate separate database blocks from each Simulink diagram that is going to transfer the functions into ifix. It requires a large number of new blocks and at each time requires the block generation tools. To omit this requirement it is suggested the following solution: the C-code generated by RTW from the Simulink diagram is compiled to a kind of the DLL library. The library exports functions responsible for initialization, termination and solving the single step of the algorithm. It may be important to notify that the generation of the executable library is fully automatic and can be started directly from the Simulink environment, it is created only a single new database block. The block can at the run-time link to the generated executable files. The block calls the initialization procedure during the loading phase and the solving procedure each time the database chain is executed. As the block is created only once the block generation tools are not required each time a new Simulink algorithm is transferred into ifix, driver blocks are added to the Simulink diagrams to allow data transfer between the executable file and the numerical fields of the signal database blocks. When a procedure from the executable file is executed the drivers call SAC procedures to access numerical data from the signal database. The Simulink diagrams process only numerical data. It causes that the string and binary data types from the ifix signal database are not accessible by the generated executables Example At AGH University of Science and Technology in Kraków the central heating system of the university campus buildings is supervised by the ifix application [10][11]. The main campus heating substation supplies heat and hot water to a group of 16 lecturing, administration and laboratory buildings. The maximum heat consumption is 25GJ/h. In the heating substation a single valve is applied to control the volume of the hot water taken from the municipal heating system. A couple of years ego it were investigated applications of neural networks to control the heat consumption [11]. The
3 output of the neural networks was applied to set the position of the control valve (see Fig.2). TREFCO TPCO TZM NN FMDES UCO associate the signals from the signal database to the signals processed by the executable file. The example of the association for the Simulink diagram shown in the lower part of Fig.3 is presented in Fig.4. UCO(FM) Figure 2. Neural central heating controller. There are three inputs of the neural network block (NN): the central heating reference temperature (T REFCO ), the current temperature of the central heating (T PCO ) and the temperature of the water in the municipal heating system (T ZM ). The NN block calculates the volume of the warm water F MDES that has to be supplied from the municipal system to follow the reference temperature. The U CO (F M ) block calculates the control signal for the valve in such a way that the flow does not depend on the fluctuations of the pressure in the municipal network. To develop the NN controller a standard NN is trained (see the upper part of Fig.3). The quality of the network has been tested in the off-line mode. Input 1 FIX ( 1 ) Trefco FIX ( 2 ) TPco FIX ( 3 ) Tzm p{1} 3 3 p{1} y{1} Neural Network p{1} y{1} Neural Network Rapid development FIX ( 1 ) FmDes y{1} Figure 3. Evolution of the Simulink diagram. After the testing phase the input and output signals were replaced by the device drivers (see the lower part of Fig.3). The drivers allow access to the numerical data of the ifix signal database. Three input drivers and a single output driver are applied (the input drivers are shown in red at the left side and output driver in blue at the right side of Fig.3). Each driver contains a parameter that is a number at the list of input and output signals. At Fig.3 the input positions are numbered as (1), (2) and (3) and the output position as (1). The Simulink diagram equipped with the drivers is applied to generate the executable file. The executable file was used by the new database block for the direct on-line processing of the database signals. The new database block has to Figure 4. Association to the database signals. In Fig.4 the lists of the input and output database numerical fields are shown. The Simulink diagram (the lower part of Fig.3) requires three inputs and a single output. The indexes of the inputs are 1, 2 and 3 that are defined at the IO1, IO2 and IO3 fields. There is required only the single output signal which index is 1. The respective signal name is defined in the O01 field. The results of the experiment are given in Fig.5 and Fig.6. Two days history of the central heating system is presented. The system was controlled by ifix SCADA equipped with the new block. The new block periodically executed neural algorithm generated by the Simulink diagram. The calculation results were used to set the position of the control valve Trefco, Tzco, Tout [C] Trefco Tzco Tout : : : : : : :00 Figure 5. Temperatures in the central heating system. The outside temperature (T out ), the reference and the current central heating temperature (T refco and T zco respectively) are depicted in Fig.5. The temperature follows the reference value except the nighttime and early morning-time. During the nighttime the reference
4 temperature is decreased. Therefore the central heating system must decrease its temperature. Each morning the system increases the reference to rise the temperature inside the rooms. The central heating temperature may not be able to follow the reference if the temperature of the water in the municipal system is too low Uco [%] between the PLC references and the data processing algorithm. An example of the Simulink diagram is presented in Fig.7. In the upper part of the diagram the input device driver (I2 block) reads the value of the %I2 reference. Then the %I2 value is inverted. The non-inverted and inverted values are sent to the output device driver (Q_1_2 block). The output driver set the %Q1 and %Q2 binary outputs. In the middle of the diagram the value of the %I3 reference is applied to trigger the execution of the Repeating Sequence block. Respectively to the calculation results the output device driver Q_4_5_6_7_8 sets the %Q4, %Q5, %Q6, %Q7 and %Q8 outputs. The CS block forces the PLC to execute the LD program at constant sweep period (equal to 100ms in this case) : : : : : : :00 Figure 6. Control signal of the main valve. The control signal of the main valve is shown in Fig PLC target The Programmable Logic Controllers (PLC) are widely used in industrial applications. The most common PLC programming method is the Ladder Diagram (LD) language. Similarly to the default ifix processing methods the LD does not include any advanced data processing facilities Operating mode of PLC At PLCs the processor unit executes the programs. The LD programs process data from input or internal references and set data into output or internal reference locations. Usually the external inputs are denoted %I in the case of discrete inputs and %AI in the case of analog inputs. The discrete and analog outputs are denoted %Q and %AQ respectively. The internal PLC data are denotes %M, %T, %S or %R and are applied to store binary data as well as longer data structures Details of the Simulink/PLC interface The GE Fanuc Series 90 PLCs contain a tool [12] that allows creating new LD blocks as C-programs. This tool was applied to create wrapper functions that call the C-code generated by the RTW toolbox. As the results there are automatically created new LD blocks executed directly by PLC. The new blocks execute exactly the same data processing algorithms as the Simulink predecessor. Dedicated device driver blocks, included into a Simulink diagram, are responsible for data transfer Figure 7. Basic Simulink diagram oriented to PLC execution. The diagram given in Fig.7 is trivial and is given only to show how data are passed from PLC references into the algorithmic part of the PLC block, and finally to the output references. One might imagine the power of this solution knowing that an arbitrary Simulink diagram would be placed between the input and output references Incremental encoder interface The first example presents the interface to the incremental encoder. The incremental encoder logic generates two waves A and B (see Fig.8). The relation between the waves depends on the rotation direction. A change of either A or B wave causes the interface counter to increase or decrease their value. Sometimes a third signal is applied to reset the encoder counter and to set the origin position.
5 Wave A Wave B Counter Change Figure 8. Incremental encoder waves FFT example In the Simulink environment the FFT analysis may be applied in a very simply way. There are available blocksets that contain the ready-to-use FFT blocks. On the contrary to the previous example the author cannot imagine how to build the FFT block using only LD logic. To allow a PLC to calculate spectrum bars the Simulink diagram shown in Fig.11 is created. The Finite State Machine (FSM) of the encoder interface is designed in Stateflow (see Fig.9). It contains five states and transitions between states. The FSM transitions are triggered by the states of the inputs. Some transition cause the increment and some decrement of the counter value. When the Reset state is reached the counter is set to zero. Spectrum Analyser %R (Integer) --> [] R_300_363 PLC Model Periodogram FFT %R (Integer) [] --> R_364_395 Figure 11. Simulink diagram of the FFT processing. The diagram uses the Periodogram block that calculates FFT. As the input to the FFT algorithm are given signal samples stored in the %R references from %R300 to %R363. The results are stored in the references %R364 to %R395. Based on the diagram presented in Fig.11 the new LD block is automatically generated. The new block becomes a part of a LD program as shown in Fig.12. Figure 9. FSM of the incremental encoder interface. The encoder FSM has been tested in the off-line mode. After validation the Simulink diagram shown in Fig.10 is created. The sources of the input A, B and Reset signals are the %I2, %I3 and %I4 inputs. The result is stored in the %R200 reference. Figure 12. FFT block embedded into the LD program. Figure 10. Simulink diagram of the encoder interface. The diagram from Fig.10 has been used to build a new LD block. The block is executed by a PLC as a part of the LD program. The LD program is executed by PLC connected to the ifix package. ifix generates the test input signals for the PLC. The time diagram of the input signal and the spectrum bars calculated by the LD program are displayed in Fig.13.
6 Figure 13. Results of the FFT calculated by PLC. 5. Conclusions [7] Matlab-2-FIX Interface. User s Guide, InTeCo Ltd, [8] Pilat A., Kołek K.: Industrial SCADA Software Enriched with MATLAB/Simulink Functionality Applied to the AMB System, proceedings of The Second International Symposium On Stability Control Of Rotating Machinery, Gdańsk, 4-8 August 2003, p [9] Database Dynamo Toolkit Manual, Intellution Inc., [10] Grega W., Kołek K.: Monitoring and Control of Heat Distribution, International Carpathian Control Conference ICCC 2002, Malenowice, Czech Republic, May 27-30, 2002, pp [11] Kołek K., Mitkowski W.: Zastosowanie sieci neuronowych do analizy i sterowania głównego węzła CO AGH, NeuroMet, [12] C Programmer s Toolkit for Series 90 PLCs. User s Manual, GE Fanuc Automation, The Simulink environment contains a huge number of blocks that may be applied to develop and analyze real control systems. The popular industrial control and monitoring environments, the GE Fanuc Series 90 PLCs and the ifix SCADA system are poor in advanced data processing methods. A user who extensively uses MATLAB and Simulink immediately notice gaps in functionality of data processing algorithms practically implemented at the SCADA or PLC platforms. Fortunately, the RTW toolbox opens a method to port Simulink algorithms to new platforms. Once the porting is developed the transfer of the Simulink algorithms into a new form is done automatically and a user does not require to know the details of this transformation. The automatically generated executables are embedded into the target architectures. It means that they are executed in the same way as original target components. As presented in this paper the ifix package and the Series 90 PLCs are able to process data exactly the same way as Simulink diagrams do. Also other software as well as hardware target platforms may be considered in the future to embed Simulink diagram algorithms. References [1] Real-Time Workshop. User s Guide, The MathWorks Inc. [2] Real-Time Windows Target. User s Guide, The MathWorks Inc. [3] xpc Target. User s Guide, The MathWorks Inc. [4] Real-Time Workshop Embedded Coder. User s Guide, The MathWorks Inc. [5] TargetLink, dspace GmbH. [6] Real-Time Workshop. Target Language Compiler Reference Guide, The MathWorks Inc.
SIMULATION OF MCU HARDWARE PERIPHERALS
SIMULATION OF MCU HARDWARE PERIPHERALS R. Bartosinski, J. Kadlec Institute of Information Theory and Automation, Dept. of Signal Processing Abstract This paper describes one possible way, how MCU hardware
More informationRotary Motion Servo Plant: SRV02. Rotary Experiment #00: QuaRC Integration. Using SRV02 with QuaRC. Student Manual
Rotary Motion Servo Plant: SRV02 Rotary Experiment #00: QuaRC Integration Using SRV02 with QuaRC Student Manual SRV02 QuaRC Integration Instructor Manual Table of Contents 1. INTRODUCTION...1 2. PREREQUISITES...1
More informationUSING THE SYSTEM-C LIBRARY FOR BIT TRUE SIMULATIONS IN MATLAB
USING THE SYSTEM-C LIBRARY FOR BIT TRUE SIMULATIONS IN MATLAB Jan Schier Institute of Information Theory and Automation Academy of Sciences of the Czech Republic Abstract In the paper, the possibilities
More informationRapid Prototyping System for Teaching Real-Time Digital Signal Processing
IEEE TRANSACTIONS ON EDUCATION, VOL. 43, NO. 1, FEBRUARY 2000 19 Rapid Prototyping System for Teaching Real-Time Digital Signal Processing Woon-Seng Gan, Member, IEEE, Yong-Kim Chong, Wilson Gong, and
More informationTHE WIRELESS HYDROSTATIC TRANSMISSION CONTROL BY THE USE OF MOBILE TECHNOLOGY
Journal of KONES Powertrain and Transport, Vol. 21, No. 2 2014 ISSN: 1231-4005 e-issn: 2354-0133 ICID: 1133891 DOI: 10.5604/12314005.1133891 THE WIRELESS HYDROSTATIC TRANSMISSION CONTROL BY THE USE OF
More informationAplha accelerator for RTW Windows Target. Centre for Applied Cybernetics, UTIA AV CR Prague
Aplha accelerator for RTW Windows Target Centre for Applied Cybernetics, UTIA AV CR Prague Introduction This article describes our environments and extensions of the Real Time Workshop (RTW) and the Windows
More informationExperiment 3. Getting Start with Simulink
Experiment 3 Getting Start with Simulink Objectives : By the end of this experiment, the student should be able to: 1. Build and simulate simple system model using Simulink 2. Use Simulink test and measurement
More informationUsable Simulink Embedded Coder Target for Linux
Usable Simulink Embedded Coder Target for Linux Michal Sojka, Pavel Píša Czech Technical University in Prague Faculty of Electrical Engineering Department of Control Engineering 16 th Real-Time Linux Workshop
More informationDevelopment of Simulink blockset for embedded system with complex peripherals
Development of Simulink blockset for embedded system with complex peripherals V. Lamberský, J. Vejlupek, V. Sova, R. Grepl Abstract Automatic code generation from Simulink model for embedded processors
More informationIntelligent Systems Research Laboratory
Intelligent Systems Research Laboratory Technical Report TR-ISRL-05-01 Dept. of Computer Engineering and Computer Science University of Louisville Louisville, KY 40292 February 2005 Supervisory Control
More informationModel-based Design/Simulation
Fast development of controllers and sequence controllers The MATLAB program package and the associated toolbox, Simulink from Mathworks Inc. are considered to be the worldwide standard in the area of modeling
More informationExperiment 6 SIMULINK
Experiment 6 SIMULINK Simulink Introduction to simulink SIMULINK is an interactive environment for modeling, analyzing, and simulating a wide variety of dynamic systems. SIMULINK provides a graphical user
More informationAssignment 2 in Simulation of Telesystems Laboratory exercise: Introduction to Simulink and Communications Blockset
Mid Sweden University Revised: 2013-11-12 Magnus Eriksson Assignment 2 in Simulation of Telesystems Laboratory exercise: Introduction to Simulink and Communications Blockset You are expected to conclude
More informationDESIGN AND IMPLEMENTATION OF VISUAL FEEDBACK FOR AN ACTIVE TRACKING
DESIGN AND IMPLEMENTATION OF VISUAL FEEDBACK FOR AN ACTIVE TRACKING Tomasz Żabiński, Tomasz Grygiel, Bogdan Kwolek Rzeszów University of Technology, W. Pola 2, 35-959 Rzeszów, Poland tomz, bkwolek@prz-rzeszow.pl
More information8438/8838 User Manual User Manual of the 8438/8838 MATLAB Embedded Controllers
User Manual of the 8438/8838 MATLAB Embedded Controllers Warranty All products manufactured by ICP DAS are warranted against defective materials for a period of one year from the date of delivery to the
More informationIntegrated Simulation and Hardware-test Environment for Microcontroller Development
Integrated Simulation and Hardware-test Environment for Microcontroller Development Category: Semiconductor by Andras Ferencz, Zsolt Kemecsei Director, R&D engineer Naturen Ltd. Products Used: LabVIEW
More informationModel Based Design Development Environment for Simulink /Stateflow Product Specification
Model Based Design Development Environment for Simulink /Stateflow Product Specification November 2012 Overview extends MATLAB and Simulink by providing a development environment that both increases information
More informationDesign and Verification of FPGA and ASIC Applications Graham Reith MathWorks
Design and Verification of FPGA and ASIC Applications Graham Reith MathWorks 2014 The MathWorks, Inc. 1 Agenda -Based Design for FPGA and ASIC Generating HDL Code from MATLAB and Simulink For prototyping
More informationWhat s New with the MATLAB and Simulink Product Families. Marta Wilczkowiak & Coorous Mohtadi Application Engineering Group
What s New with the MATLAB and Simulink Product Families Marta Wilczkowiak & Coorous Mohtadi Application Engineering Group 1 Area MATLAB Math, Statistics, and Optimization Application Deployment Parallel
More informationImplementation Of Distributed Control System In Process Control Management Using MATLAB
Implementation Of Distributed Control System In Process Control Management Using MATLAB Khin Nway Oo, Zaw Min Naing, Hla Myo Tun Abstract: In recent years, process automation has being used in various
More informationConnecting MATLAB & Simulink with your SystemVerilog Workflow for Functional Verification
Connecting MATLAB & Simulink with your SystemVerilog Workflow for Functional Verification Corey Mathis Industry Marketing Manager Communications, Electronics, and Semiconductors MathWorks 2014 MathWorks,
More informationPrototyping and Deployment of Real- Time Signal Processing Algorithms for Engine Control and Diagnosis
Controlled CO 2 Diversified fuels Fuel-efficient vehicles Clean refining Extended reserves Prototyping and Deployment of Real- Time Signal Processing Algorithms for Engine Control and Diagnosis Fabrice
More informationReducing the cost of FPGA/ASIC Verification with MATLAB and Simulink
Reducing the cost of FPGA/ASIC Verification with MATLAB and Simulink Graham Reith Industry Manager Communications, Electronics and Semiconductors MathWorks Graham.Reith@mathworks.co.uk 2015 The MathWorks,
More informationCh 5 Industrial Control Systems
Ch 5 Industrial Control Systems Sections: 1. Process Industries vs. Discrete Manufacturing Industries 2. Continuous vs. Discrete Control 3. Computer Process Control Industrial Control - Defined The automatic
More informationAutomatic Code Generation Technology Adoption Lessons Learned from Commercial Vehicle Case Studies
08AE-22 Automatic Code Generation Technology Adoption Lessons Learned from Commercial Vehicle Case Studies Copyright 2007 The MathWorks, Inc Tom Erkkinen The MathWorks, Inc. Scott Breiner John Deere ABSTRACT
More informationVirtualizing the TCU of BMW's 8 speed transmission
10th Symposium on Automotive Powertrain Control Systems, 11. - 12. September 2014, Berlin Virtualizing the TCU of BMW's 8 speed transmission Rui Gaspar, Benno Wiesner, Gunther Bauer Abstract Virtualization
More informationConfigurationDesk/RTI. Compatibility with Toolboxes and Blocksets Provided by MathWorks
ConfigurationDesk/RTI Compatibility with Toolboxes and Blocksets Provided by MathWorks Version 1.0 October 2011 How to Contact dspace Mail: dspace GmbH Rathenaustraße 26 33102 Paderborn Germany Tel.: ++49
More informationConfigurationDesk/RTI. Compatibility with Toolboxes and Blocksets Provided by MathWorks
ConfigurationDesk/RTI Compatibility with Toolboxes and Blocksets Provided by MathWorks Version 1.0 November 2012 How to Contact dspace Mail: dspace GmbH Rathenaustraße 26 33102 Paderborn Germany Tel.:
More informationBACnet: A Data Communication Protocol for Building Automation and Control Networks
. BACnet: A Data Communication Protocol for Building Automation and Control Networks.......... CS495 Computer Networking Research Project Submitted By: Eric Durant Submitted To: Dr. Henry Welch Date: Wednesday
More informationFMI Kit for Simulink version by Dassault Systèmes
FMI Kit for Simulink version 2.4.0 by Dassault Systèmes April 2017 The information in this document is subject to change without notice. Copyright 1992-2017 by Dassault Systèmes AB. All rights reserved.
More informationII. RTW BUILD METHODS In order to understand how RTW generates C code and produces an executable image, the build process can be divided into three st
Embedded C Code Generation and Embedded Target Development Based on RTW-EC Feng Luo and Zhihui Huang College of Automotive Engineering, Tongji University, Shanghai, China, E-mail: luo_feng@tongji.edu.cn
More informationConfigurationDesk/RTI. Compatibility with Toolboxes and Blocksets Provided by MathWorks
ConfigurationDesk/RTI Compatibility with Toolboxes and Blocksets Provided by MathWorks Version 1.0 November 2015 How to Contact dspace Mail: dspace GmbH Rathenaustraße 26 33102 Paderborn Germany Tel.:
More informationIndustrial PC for real-time rapid prototyping KEY FEATURES
xpc TargetBox Industrial PC for real-time rapid prototyping xpc TargetBox is an industrial PC system that features a combination of performance, ruggedness, and I/O expandability in a compact package specifically
More informationConfigurationDesk/RTI. Compatibility with Toolboxes and Blocksets Provided by MathWorks
ConfigurationDesk/RTI Compatibility with Toolboxes and Blocksets Provided by MathWorks Version 1.0 November 2014 How to Contact dspace Mail: dspace GmbH Rathenaustraße 26 33102 Paderborn Germany Tel.:
More informationReal-time Model Predictive Control
Real-time Model Predictive Control MARIÁN MROSKO, EVA MIKLOVIČOVÁ Institute of Control and Industrial Informatics Faculty of Electrical Engineering and Information Technology Slovak University of Technology
More informationExperiment 8 SIMULINK
Experiment 8 SIMULINK Simulink Introduction to simulink SIMULINK is an interactive environment for modeling, analyzing, and simulating a wide variety of dynamic systems. SIMULINK provides a graphical user
More informationIntroduction to Control Systems Design
Experiment One Introduction to Control Systems Design Control Systems Laboratory Dr. Zaer Abo Hammour Dr. Zaer Abo Hammour Control Systems Laboratory 1.1 Control System Design The design of control systems
More informationDAQ in MATLAB HANS-PETTER HALVORSEN,
Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics DAQ in MATLAB HANS-PETTER HALVORSEN, 2011.06.07 Faculty of Technology, Postboks 203, Kjølnes ring
More informationModeling and Verifying Mixed-Signal Designs with MATLAB and Simulink
Modeling and Verifying Mixed-Signal Designs with MATLAB and Simulink Arun Mulpur, Ph.D., MBA Industry Group Manager Communications, Electronics, Semiconductors, Software, Internet Energy Production, Medical
More informationControl Systems Laboratory Manual Hardware and Software Overview. 2 Hardware Equipment. 2.1 Analog Plant Simulator (EE357 Only)
1 Introduction Control Systems Laboratory Manual Hardware and Software Overview The undergraduate Control Systems Lab is located in ETLC E5-006. In the lab, there are 15 PCs equipped with data acquisition
More informationImplementation of Electronic Governor & Control System of a Mini-hydro Power Plant
Implementation of Electronic Governor & Control System of a Mini-hydro Power Plant A.K. Chinthaka, G.R. De Silva, R.M.T. Damayanthi, K.P.P.M. Amerasiri Supervised by: Dr.D.P.N.Nanayakkara. Abstract Mini-Hydro
More informationTesting TargetLink. Models and C Code with Reactis
Testing TargetLink R Models and C Code with Reactis R Build better embedded software faster. Generate tests from TargetLink models. Detect runtime errors. Execute and debug models. Track coverage. Back-to-back
More informationMathWorks Technology Session at GE Physical System Modeling with Simulink / Simscape
SimPowerSystems SimMechanics SimHydraulics SimDriveline SimElectronics MathWorks Technology Session at GE Physical System Modeling with Simulink / Simscape Simscape MATLAB, Simulink September 13, 2012
More informationConfigurationDesk/RTI. Compatibility with Toolboxes and Blocksets Provided by MathWorks
ConfigurationDesk/RTI Compatibility with Toolboxes and Blocksets Provided by MathWorks Version 1.0 October 2017 How to Contact dspace Mail: dspace GmbH Rathenaustraße 26 33102 Paderborn Germany Tel.: ++49
More information1 General Information
2013 PLC 1 General Information Controller configuration: main block Visio V230-13-B20 standard version addit. module Snap-in I/0 V200-18-E1B or V200-18-E2B Program uses operands with fixed addresses: I
More informationOn Design of 3D and Multimedia Extension of Information System Using VRML
On Design of 3D and Multimedia Extension of Information System Using VRML Jiří Žára Daniel Černohorský Department of Computer Science & Engineering Czech Technical University Karlovo nam 13 121 35 Praha
More informationConfigurationDesk/RTI. Compatibility with Toolboxes and Blocksets Provided by MathWorks
ConfigurationDesk/RTI Compatibility with Toolboxes and Blocksets Provided by MathWorks Version 1.0 April 2017 How to Contact dspace Mail: dspace GmbH Rathenaustraße 26 33102 Paderborn Germany Tel.: ++49
More informationIntroducing Simulink Release 2012b for Control System Development Mark Walker MathWorks
Introducing Simulink Release 2012b for Control System Development Mark Walker MathWorks 2012 The MathWorks, Inc. 1 Simulink R2012b the most significant upgrade to Simulink ever Who does Simulink R2012b
More informationFundamentais of Programmable Logic Controllers, Sensors, and Communications. Jon Stenerson
Fundamentais of Programmable Logic Controllers, Sensors, and Communications Second Edition Jon Stenerson Fox Valley Technical College Prentice Hall Upper Saddle River, New Jersey Columbus, Ohio Contents
More informationINDUSTRIAL CONTROL SYSTEMS & COMPUTER PROCESS CONTROL
1 INDUSTRIAL CONTROL SYSTEMS & COMPUTER PROCESS CONTROL INDUSTRIAL CONTROL - DEFINED The automatic regulation of unit operations and their associated equipment as well as the integration and coordination
More informationSIGNALS AND LINEAR SYSTEMS LABORATORY EELE
The Islamic University of Gaza Faculty of Engineering Electrical Engineering Department SIGNALS AND LINEAR SYSTEMS LABORATORY EELE 3110 Experiment (5): Simulink Prepared by: Eng. Mohammed S. Abuwarda Eng.
More informationINDUSTRIAL POWER GROUP DEPT.OF ELECTRICAL ENGINEERING NIT CALICUT
INDUSTRIAL AUTOMATION INDUSTRIAL POWER GROUP DEPT.OF ELECTRICAL ENGINEERING NIT CALICUT Industrial Automation Automation is encompassing virtually every walk of life. Automation solutions are required
More informationIntroduction to latest innovation in advanced industrial instrumentation UNIT 6 BASIC INSTRUMENTATION
Introduction to latest innovation in advanced industrial instrumentation UNIT 6 BASIC INSTRUMENTATION Outline Simple block diagram of DCS ( Introductory) Simple block diagram of PLC ( Primary level ) Introduction
More informationAccord Builder. User Guide
User Guide Document: V 3.6 User Guide R01 V3.6 User Guide R01 Page 1 of 110 Table of Contents 1 Introduction... 7 2 General Summary and Definitions... 8 2.1 Accord Platform and Plant... 8 2.2 PLC Control
More informationAutomation of Conveyor System and Process Control with Power Reduction Using Efficient PLC Programming and SCADA
Automation of Conveyor System and Process Control with Power Reduction Using Efficient PLC Programming and SCADA N C Padmanaabhan 1, AManikandan 2 U.G. Student, Department of Electronics & Communication
More informationLaboratory Exercise 7
Laboratory Exercise 7 Finite State Machines This is an exercise in using finite state machines. Part I We wish to implement a finite state machine (FSM) that recognizes two specific sequences of applied
More informationChapter 7. Hardware Implementation Tools
Hardware Implementation Tools 137 The testing and embedding speech processing algorithm on general purpose PC and dedicated DSP platform require specific hardware implementation tools. Real time digital
More informationModule 4. Programmable Logic Control Systems. Version 2 EE IIT, Kharagpur 1
Module 4 Programmable Logic Control Systems Version 2 EE IIT, Kharagpur 1 Lesson 19 The Software Environment and Programming of PLCs Version 2 EE IIT, Kharagpur 2 Instructional Objectives After learning
More informationA MATLAB TOOLBOX FOR REAL-TIME CONTROL USING C167 MICROCONTROLLERS
A MATLAB TOOLBOX FOR REAL-TIME CONTROL USING C167 MICROCONTROLLERS F. WÖrnle, R. Murillo Garcia Glasgow Caledonian University School of Engineering, Science and Design Cowcaddens Road, Glasgow, G4 0BA,
More informationObjectives. Simulink Basics
Simulink Basics This material exempt per Department of Commerce license exception TSU Objectives After completing this module, you will be able to: Describe Simulink environment List some of the commonly
More informationConfigurationDesk/RTI. Compatibility with Toolboxes and Blocksets Provided by MathWorks
ConfigurationDesk/RTI Compatibility with Toolboxes and Blocksets Provided by MathWorks Version 1.0 April 2016 How to Contact dspace Mail: dspace GmbH Rathenaustraße 26 33102 Paderborn Germany Tel.: ++49
More informationModel-based Design/Simulation
Fast development of controllers and sequence controllers The MATLAB program package and the associated toolbox, Simulink from Mathworks Inc. are considered to be the worldwide standard in the area of modeling
More informationDS1103 PPC Controller Board
Single-Board Hardware DS1103 PPC Controller Board Powerful controller board for rapid control prototyping Key Features Single-board system with comprehensive I/O CAN interface and serial interfaces Interfaces
More informationPROGRAMMABLE LOGIC CONTROLLER
PROGRAMMABLE LOGIC CONTROLLER Control Systems Types Programmable Logic Controllers Distributed Control System PC- Based Controls Programmable Logic Controllers PLC Sequential logic solver PID Calculations.
More informationThe MathWorks Products and Prices Euro Academic March 2010
MATLAB Product Family Academic pricing is reserved for noncommercial use by degree-granting institutions in support of on-campus classroom instruction and academic research. Refer to /academia for complete
More informationIndustrial Automation
Industrial Automation Automation is encompassing virtually every walk of life. Automation solutions are required right from agricultural to space technology. Plant Automation is the necessity for the manufacturing
More informationCentre International de Maintenance Industrielle 8, Rue de l Azin BLOIS CEDEX
PRO32 PROSIMUL WIN32 - PRODUCT DESCRIPTION 2013A 1 PRO32 PROSIMUL WIN32 - PRODUCT DESCRIPTION 2013A 2 PRODUCT NAME : PROSIMUL EDITOR : (www.cimi.fr) ADRESS : 8, rue de l Azin - 41018 BLOIS CEDEX TEL :
More informationHow to choose an Industrial Automation Controller: White Paper, Title Page WHITE PAPER. How to choose an Industrial Automation Controller
How to choose an Industrial Automation Controller: White Paper, Title Page How to choose an Industrial Automation Controller Choosing the most effective controller requires careful evaluation of multiple
More informationIntro to System Generator. Objectives. After completing this module, you will be able to:
Intro to System Generator This material exempt per Department of Commerce license exception TSU Objectives After completing this module, you will be able to: Explain why there is a need for an integrated
More informationOn the Generation of Test Cases for Embedded Software in Avionics or Overview of CESAR
1 / 16 On the Generation of Test Cases for Embedded Software in Avionics or Overview of CESAR Philipp Rümmer Oxford University, Computing Laboratory philr@comlab.ox.ac.uk 8th KeY Symposium May 19th 2009
More informationLab 6 : Introduction to Simulink, Link for CCS & Real-Time Workshop
Lab 6 : Introduction to Simulink, Link for CCS & Real-Time Workshop September, 2006 1 Overview The purpose of this lab is to familiarize you with Simulink, Real Time Workshop, Link for CCS and how they
More informationBetter Building Controls Through Simulation
Better Building Controls Through Simulation John M. House, Ph.D. IBPSA-USA Winter Meeting January 21, 2012 Outline Who We Are Our Simulation Needs Simulation Tools We Use Use Cases Matching Needs with
More informationReal-Time Windows Target
Real-Time Windows Target For Use with Real-Time Workshop Modeling Simulation Implementation User s Guide Version 2 How to Contact The MathWorks: 508-647-7000 Phone 508-647-7001 Fax The MathWorks, Inc.
More information2015 The MathWorks, Inc. 1
2015 The MathWorks, Inc. 1 Realtime Simulation of Large- Scale Power System Using Multi- Core Realtime Machine 강효석과장 / Ph.D 2015 The MathWorks, Inc. 2 Renewable/Microgrid Series Topics Distributed and
More informationCombining the Power of DAVE and SIMULINK
Combining the Power of DAVE and SIMULINK From a High Level Model to Embedded Implementation Pedro Costa Infineon Munich, Germany pedro.costa@infineon.com Abstract In a modern real-time control system,
More informationAutomation of space management in vehicle parking using PLC and SCADA
Automation of space management in vehicle parking using PLC and SCADA Aravind.K [1],Donaldhardley [2], Pradeep [3], T.Vijayan [4], B.kalai Selvi [5],Dr S.Latha [6] [1-2] Final year Student, Dept of Electronics
More information6220 Ethernet-Based Voltage Measurement Module
Ethernet-Based Voltage Measurement Module Features 12 voltage inputs 16-bit, 100 khz per channel sample rate ±10 V input range Eight digital I/O Simultaneous sampling BNC connectors Multiple trigger modes
More informationPROGRAMMABLE LOGIC CONTROLLERS. Wiley USING CODESYS A PRACTICAL APPROACH TO IEC. Dag H. Hanssen Institute of Engineering and Safety,
PROGRAMMABLE LOGIC CONTROLLERS A PRACTICAL APPROACH TO IEC 61131-3 USING CODESYS Dag H. Hanssen Institute of Engineering and Safety, University oftroms0, Norway Translated by Dan Lufkin Wiley Contents
More informationxpc Target communication efficiency when multiple targets are involved
xpc Target communication efficiency when multiple targets are involved * *University of Craiova, Department of Automatic Control, 200585-Craiova Romania (Tel: +40-251-438198; e-mail: madalin@automation.ucv.ro)
More informationReal Time Testing of PMSM Controller using xpc Target Turnkey solution
Real Time Testing of PMSM Controller using xpc Target Turnkey solution August 08, 2012 Prasanna Deshpande Application Engineering MathWorks India 2012 The MathWorks, Inc. 1 What is real time testing Rapid
More informationRTW SUPPORT FOR PARALLEL 64bit ALPHA AXP-BASED PLATFORMS. Christian Vialatte, Jiri Kadlec,
RTW SUPPORT FOR PARALLEL 64bit ALPHA AXP-BASED PLATFORMS Christian Vialatte, Jiri Kadlec, Introduction Presentation of software supporting the Real-Time Workshop (Matlab 5.3), targeting AD66 ISA and AD66-PCI
More informationMonitoring of Thermal Power Plant Using PLC and SCADA
Monitoring of Thermal Power Plant Using PLC and SCADA SHUBHA KULKARNI 1, SOWMYARANI MALSA 2, NIDHISHREE D 3, PATIL ARCHANA 4, SHRUTI 5 1,2,3,4,5 Dept. of Electrical & Electronics Engineering, GNDEC, BIDAR
More informationEmbedded Systems. Problem 1: Getting started with STATEFLOW. Starting STATEFLOW
Prof. Bernd Finkbeiner, Ph.D. Winter term 2008/2009 Dipl.-Inf. Rüdiger Ehlers Problem Set 2 Dipl.-Inf.Hans-Jörg Peter Due: Thursday,6 th November 2008 Michael Gerke, B.Sc. Embedded Systems STATEFLOW is
More informationEthernet Control AC Motor via PLC using LabVIEW
Ethernet Control AC Motor via PLC using LabVIEW N.N. Barsoum #1, P.R.Chin #2 # Department of Electrical and Computer Engineering, Curtin University Sarawak Campus, CDT250 98009 Miri, Sarawak, Malaysia.
More informationWeapon System Fault Detection, Isolation, and Analysis using Stateflow
Weapon System Fault Detection, Isolation, and Analysis using Stateflow Rosa Donat Senior Controls Engineer MathWorks Aerospace and Defense Conference June 2007 Manhattan Beach, CA Approved for Public Release,
More informationIntroduction to Simulink. The Use of Mathematic Simulations in Electrical Engineering
Introduction to Simulink The Use of Mathematic Simulations in Electrical Engineering Lecture Outline 1) Introduction to Simulink 2) Modelling of dynamics systems 2 Simulink Tool for modeling, simulating,
More informationAverage and maximum measurement function block description
Average and maximum measurement function block description Document ID: PP-11-20111 Budapest, March 2013 User s manual version information Version Date Modification Compiled by Version 1.0 14.03.2013.
More informationModular code generation from synchronous models:
Modular code generation from synchronous models: modularity vs. reusability vs. code size Stavros Tripakis Joint work with Roberto Lublinerman, Penn State CHESS seminar, Berkeley, Feb 2009 1 Semantics-preserving
More informationFEATURES DESCRIPTION FEATURES
FEATURES Two High Speed Counters Two Pulse Train Outputs Two Pulse Width Modulation Outputs 24 Sinking or Sourcing Inputs 16 Outputs 1 RS232 Port 2 RS485 Ports Supports Modbus RTU Protocol Communicate
More informationThe monthly news, C&N
The monthly news, C&N - OMRON Cost-effective Control Devices - Vol. Vol.1 Complete Lineup of CP1E and NB Series Vol.2 New to NB-Designer Vol.3 Create Beautiful Screen with NB-Designer 1 Vol.4 Easy Programming
More informationSimulation of LET Models in Simulink and Ptolemy
Simulation of LET Models in Simulink and Ptolemy P. Derler, A. Naderlinger, W. Pree, S. Resmerita, J. Templ Monterey Workshop 2008, Budapest, Sept. 24-26, 2008 C. Doppler Laboratory Embedded Software Systems
More informationIn this lecture, we will focus on two very important digital building blocks: counters which can either count events or keep time information, and
In this lecture, we will focus on two very important digital building blocks: counters which can either count events or keep time information, and shift registers, which is most useful in conversion between
More informationHARDWARE OF SUPERVISORY CONTROL & DATA ACQUISITION SYSTEM
Chapter 3 HARDWARE OF SUPERVISORY CONTROL & DATA ACQUISITION SYSTEM Dr. H.K. VERMA Distinguished Professor Department of Electrical and Electronics Engineering School of Engineering and Technology SHARDA
More informationCh 9 Discrete Control Using PLCs and PCs
Ch 9 Discrete Control Using PLCs and PCs Sections: 1. Discrete Process Control 2. Ladder Logic Diagrams 3. Programmable Logic Controllers 4. Personal Computers Using Soft Logic Discrete Process Control
More informationoutput devices. connected to the controller. data communications link. relay systems. user program. MECH1500Quiz1ReviewVersion2 Name: Class: Date:
Class: Date: MECH1500Quiz1ReviewVersion2 True/False Indicate whether the statement is true or false. 1. The number and type of I/Os cannot be changed in a fixed PLC. 2. In a PLC system, there is a physical
More informationIntroduction to Microchip-SIMULINK Blocksets and MATLAB Plug-in for MPLAB IDE
Introduction to Microchip-SIMULINK Blocksets and MATLAB Plug-in for MPLAB IDE Produced by Murali Manohara Chembarpu 2008 Microchip Technology Incorporated. All Rights Reserved. WebSeminar Title Slide 1
More informationTiming Analysis of Automatically Generated Code by MATLAB/Simulink
Timing Analysis of Automatically Generated Code by MATLAB/Simulink Rômulo Silva de Oliveira, Marcos Vinicius Linhares, Ricardo Bacha Borges Systems and Automation Department - DAS Federal University of
More informationDesign and Verification of FPGA Applications
Design and Verification of FPGA Applications Giuseppe Ridinò Paola Vallauri MathWorks giuseppe.ridino@mathworks.it paola.vallauri@mathworks.it Torino, 19 Maggio 2016, INAF 2016 The MathWorks, Inc. 1 Agenda
More informationPLC Training - Intermediate
PLC Training - Intermediate Contact us Today for a FREE quotation to deliver this course at your company?s location. https://www.electricityforum.com/onsite-training-rfq This Intermediate PLC Training
More informationMULTI-FUNCTION PROCESS CONTROL TEACHING SYSTEM PCT40
PCT SERIES: PROCESS CONTROL TECHNOLOGY MULTI-FUNCTION PROCESS CONTROL TEACHG SYSTEM PCT40 CAPABILITIES > The basic PCT40 is used under computer control to demonstrate a variety of single control loops.
More information