Software_download_ModelBasedDesign
M-Target_for_Simulink_2019
1 / 2

Fast development of controllers and sequence controllers via model-based design

The MATLAB® program package and the associated Simulink® simulation environment from MathWorks are regarded worldwide as the standard in the field of modeling dynamic systems in technologically demanding processes.

Within this development environment, M-Target for Simulink® integrates the Bachmann controller as a comprehensively supported target system. This allows users to develop their automation program in the well-known graphic programming environment Simulink®. In combination with a plant model, all operating states of the program can be tested and optimized in advance through simulation. The subsequent code generation and installation on the Bachmann controller take place automatically in the background and require no knowledge of a programming language. This completely integrated toolchain enables efficient, time-saving programming and commissioning of the Bachmann automation system.

With M-Target, application programs, including their communication and software interfaces to other software programs, such as IEC 61131-3 and C/C++ application programs, can be fully created, tested, diagnosed online, and executed directly on the M200 controller in Simulink®. The same application program can be used without adjustments on all M200 processor modules of the MX, MC, and MH series. Deployment takes place directly from Simulink®. This reduces development, test, and maintenance efforts when changing or expanding the controller hardware.

On the Bachmann automation system, real-time application programs generated from Simulink® can be operated in parallel with existing PLC and C/C++ application programs. This allows new functions to be seamlessly integrated into existing automation architectures.

Another feature is the transparent and simple license model, in which users benefit from clearly calculable costs without complex license-dependent function restrictions.

 

Features

  • Creation of complete application programs including communication and software interfaces directly from Simulink®
  • Configurable and parameterizable application programs enable flexible adaptation to different requirements
  • Creation of conventional as well as redundantly executable control application programs
  • Support for SIL and HIL tests
  • Co-simulation between Simulink® on the engineering PC and the M200 controller for prototype development and test benches
  • Reliable, automatic code generation eliminates error sources in manual program creation for the target controller
  • Execution of the same application program on all supported M200 processor modules
  • Parallel operation with IEC 61131-3 and C/C++ application programs on the same control system
  • Direct online diagnostics and parameter assignment of real-time application programs via Simulink®
  • Exchange or update of application programs possible without restarting the controller
  • Transparent and simple license model
1 / 5

1. Modeling

Both process (controlled system) as well as controller and control programs are modeled in Simulink®. Using application specific toolboxes reduce the time spent developing the system. Through the numerous domain-specific extensions for physical modeling, such as Simscape ElectricalTM, Simscape FluidsTM, Simscape MultibodyTM etc., this can also be done directly in a description environment familiar to the respective process expert. For mathematical modeling, MATLAB® and Simulink® also offer a range of ready-to-use algorithms. Established service companies offer additional expertise in all domains.

Already at this phase, interfaces to IEC 61131-3 programs, C/C++ modules, and other software components can be taken into account and modeled. This creates a complete digital representation of the later application program, including its networking.

2. Simulation

The resulting complete model is now simulated offline on the computer. Comprehensive test series of possible operating states and error situations can already be run through at this phase. Iterative model adjustments and new simulations follow seamlessly.

The powerful methods/solvers of MATLAB® and Simulink® enable the numerical computation of complex dynamic systems. Extensive visualization functions such as curve plots, surface plots, and animated 3D-CAD models support the analysis, validation, and optimization of simulation models.

3. Generation and Download

In this step, the process model is first separated from the actual control part. Then a mouse click triggers automatic code generation and preparation of the application program for the real-time system.

The finished application program is loaded directly from the Simulink® user interface onto the controller. In this process, in addition to the actual application, the required communication and program interfaces are also taken into account automatically.

Alternatively, libraries for IEC 61131-3 programs or for C/C++ can be generated. In contrast to directly executable software modules, these are used in the respective development environments for further application creation.

4. Test and optimization

The generated real-time program now runs in the controller. Via the communication interfaces integrated during code generation, it exchanges data directly with Simulink® on the PC. In what is known as "External Mode", the actual process values (variables, channel values) are available online in Simulink®. At the same time, variable values and internal parameters of the Simulink®-blocks can be changed in the real-time program.

In this mode, the Simulink® model is only the graphical front end for visualization and parameter specification, while the algorithms run on the control system. In the real execution environment, the solution found can thus be verified and further optimized.

A suitable test option is available for each development phase: In addition to software-in-the-loop tests (SIL), hardware-in-the-loop tests (HIL) as well as co-simulations can be set up. This allows functions and system behavior to be safeguarded at an early stage and risks during commissioning to be significantly reduced. For iterative improvement, it is possible to switch to a previous process step and make refinements there.

5. Operation

As soon as a satisfactory result is achieved, the project engineering PC can be separated from the controller. This continues to run autonomously in real time. All interfaces to parallel-running application programs on the same (or other) controller(s) remain in place. The published process variables can be depicted through the engineering tool SolutionCenter or in visualizations.

The application program generated from Simulink® can be operated permanently in parallel with existing IEC 61131-3 and C/C++ applications. Updates or the exchange of application programs can be performed without restarting the controller. This increases plant availability and minimizes downtime during maintenance and further development.

Comprehensive online diagnostics are also available directly from Simulink® during operation. This allows process data to be analyzed, parameters to be adjusted, and optimizations to be made without leaving the modelbased development workflow.

Application areas

M-Target for Simulink® is suitable for model-based development, simulation, and real-time operation of demanding automation, control, and closed-loop control tasks on Bachmann controllers.

Thanks to direct integration into Simulink®, execution of the same application program on all supported M200 processor modules, and the option for online diagnostics, M-Target is suitable both for developing innovative prototypes and for long-term industrial use in series machines and plants.

Typical application areas are:

  • Mechanical engineering and special-purpose machine construction
  • Motion control and drive technology (positioning, synchronization, servo and multi-axis control loops)
  • Research & Development (R&D) for rapid prototyping as well as the development and validation of new closed-loop control and control algorithms
  • Test bench automation with SIL, HIL, and co-simulations
  • Industrial and process automation
  • Energy and environmental technology, for example wind, water, and energy storage applications 
  • OEM and series applications with reusable software components

Datasheet

M-Target for Simulink

M-Target for Simulink EN
PDF - 1.96 Mb
M-Target for Simulink EN
M-Target for Simulink DE
PDF - 2.36 Mb
M-Target for Simulink DE

System overview

Loading...