虚拟调试

Validate industrial controls in a simulation environment

Virtual commissioning is the testing, verification, and validation of automation control systems by using a digital model of the automation equipment and plant. In desktop and hardware-in-the-loop simulation, the interaction between electromechanical components, control system, and the process can be tested in various scenarios before deploying software to the prototype or production equipment.

Virtual commissioning allows engineers to:

  • 在此过程的早期识别和消除设计错误
  • Reduce development and validation time
  • 降低物理系统调试期间的风险和潜在损害
  • 快速和非破坏性测试各种各样的操作场景

A model of the plant and control system enables more than virtual commissioning. Engineering teams can reuse models throughout the design, implementation, integration, and operation of the equipment. They can apply their models in the form of digital twins for tasks such as monitoring machinery or performing predictive maintenance.模拟software,例如simulin金宝appk®,允许您模拟系统,设计工业控制算法,验证和验证设计,并在全面的工程软件环境中为工业控制器生成代码。

Typical Model-Based Design workflow used by industrial automation and machinery companies that use Simulink to design, validate, and implement industrial control algorithms

Typical Model-Based Design workflow used by industrial automation and machinery companies that use Simulink to design, validate, and implement industrial control algorithms

Virtual commissioning based on Model-Based Design, using MATLAB®和Sim金宝appulink,通常包括以下步骤:

  1. Modeling and Desktop Simulation
  • Design controls model and plant models of the physical system, including CAD import
  • Prototype new functionality in combination with legacy machine software
  • Automate system tests
  • Optimize parameters (such as software, mechanics, hydraulics)
  • 自动从型号(IEC 61131-3结构化文本和梯形图,C/C ++,HDL)生成代码
  1. 硬件在循环中和实时测试
  • Emulate the behavior of the physical system (plant model) in real time
  • 设计和测试哈尔dware-independent functionality
  • 直接从Simulink进行调试实时算法(使用“外部模式”)金宝app
  • Connect the virtual machine to the PLC over an industrial fieldbus
  1. PLC平台的代码生成
  • 生成C/C ++,IEC 61131-3或HDL代码
  • Integrate automatically generated code into the PLC software through the vendor’s IDE
  • Perform online debugging from Simulink and Stateflow using “External Mode”
  1. 数字双胞胎在运行中使用
  • Perform model-based health monitoring and predictive maintenance
  • Reproduce errors from field data
  • 火车运营商在新系统上

Virtual commissioning enables machine builders and industrial equipment builders to test their embedded software early in the design process—before the physical machine or prototype is available.



Software Reference

See also:控制设计软件,embedded code generation,state machine,正式验证,parameter estimation,physical modeling,PID control,rapid prototyping,real-time simulation,仿真和基于模型的设计,state diagram,系统设计和仿真,确认,validation and test,control systems,PLC Coder,虚拟调试with Simulink(3个视频),虚拟调试of Production Machines(6个视频)