Journal "Software Engineering"
a journal on theoretical and applied science and technology
ISSN 2220-3397

Issue N12 2023 year

DOI: 10.17587/prin.14.575-582
Principles of Constructing a HIL Simulation Stand for Debugging Automated Process Control Systems based on the Baget PLC
Ya. A. Zotov, Engineer, zotov@niisi.ras.ru, Federal State Institution Scientific Research Institute for System Analysis of the Russian Academy of Sciences, Moscow, 117218, Russian Federation
Corresponding author: Engineer, Federal State Institution "Scientific Research Institute for System Analysis of the Russian Academy of Sciences", Moscow, 117218, Russian Federation, E-mail: zotov@niisi.ras.ru
Received on September 09, 2023
Accepted on October 02, 2023

The problem of constructing a HIL simulation stand for researching a technological process using programmable logic controller (PLC) "Baget" is described in this article. Issues of modeling technological processes are currently extremely relevant, since modeling is a mandatory stage in the automated process control systems development. An adequate model of the technological process allows debugging and verification of automated process control system algorithms without using real equipment, reducing financial costs and the probability of emergency situations. The HIL modeling method involves partial use of real equipment as part of the model. The inclusion of standard components of the original object in the model does not require detailed mathematical model and at the same time provides a more complete correspondence to the original. Due to using a computer from the original object, the stand software operates under conditions close to the real technological process, which improves the quality of the simulation results. The HIL modeling stand includes the following components:

  1. control computer of automated process control system;
  2. programmable logic controller PLC "Baget";
  3. simulation computer.
The stand for the basic element of an automated process control system allows to speed up the process of prototyping and debugging even in the case of complex systems, because it will be easier to build the entire system from correctly functioning elements. Another advantage of this approach is that the stand is not tied to a specific type of technological process or to a narrow area of production — the stand allows the use of ready-made models, the development of new models, and the inclusion of various function libraries. The simplicity of the stand design with this approach is combined with a full range of functionality. By connecting additional software, you can create more complicated and detaild model. This stand is also capable of serving both for debugging PLC algorithms and as a simulator for maintenance personnel of a real control object, because the stand operator can simulate failures and errors of standard equipment, emergency situations at the control object. Using C and JavaScript programming languages for development ensures portability and ease of expanding the capabilities of the modeling software. The development of complex systems based on HIL modeling allows saving resources and effectively solving assigned problems, therefore the proposed approach to building stands will be in demand in the process of developing an automated process control system based on the PLC "Baget".

Keywords: automated control systems, modeling, hardware-in-the-loop (HIL) simulation
pp. 575–582
For citation:
Zotov Ya. A. Principles of Constructing a HIL Simulation Stand for Debugging Automated Process Control Systems based on the Baget PLC, Programmnaya Ingeneria, 2023, vol. 14, no. 12, pp. 575—582. (in Russian).
References:
    • Shannon R. E. Systems Simulation: The Art and Science, University of Alabama in Huntsville. Huntsville, Alabama. Prentice-Hall, Inc., Englewood Cliffs, New Jersey, 1975, 387 p.
    • Balashov V. V., Bakhmurov A. G., Volkanov D. Yu. et al. HIL simulation stand for the development of embedded real-time computing systems, Sbornik dokladov Chetvertoy vserossiyskoy nauchno-prakticheskoy konferentsii "Imitatsionnoe modelirovanie. Teoriya i praktika", Saint Petersburg, 2009, pp. 215—219 (in Russian).
    • Devyatkov V. V. Methodology and technology of simulation studies of complex systems: current state and development prospects: monography, Moscow, Vuzovskiy uchebnik: INFRA-M, 2013, 448 p. (in Russian).
    • GOST R 57700.22—2020. Computer models and simulation. Classification» (in Russian).
    • GOST R 57700.37—2021. Computer models and simulation. Digital twins of products. General provisions (in Russian).
    • GOST 16504—81. The state system of testing products. Product test and quality inspection. General terms and definitions (in Russian).
    • What is GIBBS, available at: http://www.gibbsim.ru/node/10 (date of access 28.08.2023).
    • GE Predix, available at: https://www.tadviser.ru/index.php/ %D0%9F%D1%80%D0%BE%D0%B4%D1%83%D0%BA%D1%82: GE_Predix (date of access 28.08.2023).
    • Eclipse Ditto documentation overview, available at: https://www.eclipse.org/ditto/intro-overview.html (date of access 28.08.2023).
    • MATLAB, available at: https://www.mathworks.com/prod-ucts/matlab.html (date of access 28.08.2023).
    • Mathcad: Math Software for Engineering Calculations, available at: https://www.mathcad.com/en (date of access 28.08.2023).
    • Optimization with Excel Solver, available at: https://www. tutorialspoint.com/excel_data_analysis/advanced_data_analysis_op-timization_with_excel_solver.htm (date of access 29.08.2023).
    • Bazaeva S. E., Zotov Ya. A. Tools for developing models of technical complexes, Trudy nauchno-issledovatel'skogo instituta sistemnykh issledovaniy Rossiyskoy akademii nauk, 2022, no. 4, pp. 5—14 (in Russian).
    • Industrial controllers for Rosatom will be built by the creator of original Russian processors. Not "Elbrus", not "Baikal", Cnews, available at: https://www.cnews.ru/news/top/2023-02-28_ promyshlennye_kontrollery (date of access 04.09.2023).
    • Functional description of the DUSD program, available at: https://www.niisi.ru/%D0%94%D0%A3%D0%B8%D0%A1 %D0%94.pdf (date of access 23.06.2023).
    • Onin A. N. I/O server program, Trudy nauchno-issledovatel'skogo instituta sistemnykh issledovaniy Rossiyskoy akademii nauk, 2023, no. 3, pp. 5—12 (in Russian).
    • Functional description of the BPP MLCP DUSD program, available at: https://www.niisi.ru/soft3.pdf (date of access 04.09.2023).
    • Most popular programming languages in 2023, available at: https://survey.stackoverflow.co/2023/#most-popular-technologies-language-prof (date of access 25.09.2023).
    • MuJS, available at: https://mujs.com/ (date of access 04.09.2023).
    • ISC Open Source Software Licenses, available at: https:// www.isc.org/licenses/ (date of access 04.09.2023).
    • Denisenko V. PID controllers: principles of construction and modification, STA, 2006, no. 4, pp. 66—74 (in Russian).
    • ISO/IEC/IEEE 9945:2009. Information technology — Portable Operating System Interface (POSIX®) Base Specifications, Issue 7, available at: https://www.iso.org/standard/50516.html (date of access 04.09.2023).