Search

CN-122019348-A - Debugging system for software and hardware integration and debugging method thereof

CN122019348ACN 122019348 ACN122019348 ACN 122019348ACN-122019348-A

Abstract

A debugging system for software and hardware integration and a debugging method thereof belong to the technical field of Internet of things and are used for solving the problems of long integrated construction period and repeated debugging caused by the linear development of software and hardware integration, wherein the debugging system is arranged in parallel between hardware debugging and software on-line and comprises an SCADA module and a PLC module, data interaction can be carried out between the two modules, the SCADA module receives production data from the PLC module and transmits the received production data to a production management and control system to be debugged, and the PLC module simulates the operation flow of a production operation node through automatic programming and outputs corresponding production data for the SCADA module to acquire, and realizes the simulation debugging of hardware and software to be integrated through the data interaction of the two modules. The invention is used for matching and debugging and verifying coordinated operation between integrated software and hardware, realizes synchronous development of hardware debugging and hardware and software integrated debugging, and greatly shortens the debugging period of intelligent factory construction.

Inventors

  • LIU YABIN
  • BAI ZHONGHUA
  • MA XIANG
  • CHANG TAO
  • MAO CHUNSHENG
  • NAI XIAOWEN
  • MA TAO

Assignees

  • 共享智能铸造产业创新中心有限公司

Dates

Publication Date
20260512
Application Date
20260119

Claims (9)

  1. 1. A debugging system for software and hardware integration is characterized in that the debugging system is arranged between hardware debugging and software on-line and comprises an SCADA module and a PLC module, wherein data interaction can be carried out between the two modules, the SCADA module receives production data from the PLC module and transmits the received production data to a production control system to be debugged, the PLC module simulates the operation flow of a production operation node through automatic programming and outputs corresponding production data for the SCADA module to acquire, and the simulation debugging of hardware and software to be integrated is realized through the data interaction of the SCADA module and the PLC module.
  2. 2. The system according to claim 1, wherein the PLC module runs a test software, the test software is provided with a process node, and the test software can implement automatic programming of the operation process of the production operation node and generate a debugging program, and the debugging program simulates the operation process of the production operation device or the data acquisition device on the corresponding production operation node and outputs corresponding production data.
  3. 3. The debugging system for software and hardware integration according to claim 2, wherein the production data comprises read-write data and read-only data, the data flow of the read-write data is test software operated by a PLC module, the production control system, the data acquisition equipment/PLC module, the SCADA module, the test software operated by the PLC module, reading and writing of the read-write data are realized, and the data flow of the read-only data is divided into three types, namely the PLC module, the data acquisition equipment, the production control system, the test software operated by the PLC module or the PLC module, the data acquisition equipment, the test software operated by the PLC module or the test software operated by the PLC module, the SCADA module and the test software operated by the PLC module, so that reading of the read-only data is realized.
  4. 4. The system according to claim 1, wherein the SCADA module is provided with a control button for controlling the running process of the debugging program so that the PLC module can simulate the operation flow of the production operation node and output the required production data.
  5. 5. A debugging method of a software and hardware integrated debugging system as claimed in any one of claims 1 to 4, comprising, S01, dividing the overall process flow of the intelligent factory into a plurality of production operation nodes according to procedures; S02, decoupling each production operation node from operation equipment according to an operation flow to generate a scene object; S03, connecting all the scene objects in series according to the production operation nodes and the overall process flow, and if the debugging of each scene object is passed, the simulation debugging of the overall process flow is passed.
  6. 6. The method according to claim 5, wherein if the debugging process or the collected data of one scene object is more, the scene object can be split into sub-scene objects again, which is unfavorable for the automatic programming of the test software.
  7. 7. The method for debugging a software and hardware integrated debugging system as recited in claim 5, wherein the debugging process of S03 comprises, S031, scene object programming, wherein the test software operated by the PLC module automatically programs according to the operation flow of the split scene object to generate a debugging program for simulating the scene object; s032, configuring the automatically programmed scene object in the SCADA module, so that the abnormal problem can be rapidly positioned and eliminated; S033, sequencing the scene objects, wherein the SCADA module performs permutation and combination according to any process flow, the debugging sequence of any scene object is determined by the SCADA module, and the sequencing mode is suitable for debugging of the whole flow, or the PLC module programs the permutation and combination of each scene object according to any process flow to generate a scene object debugging sequence program, and the sequencing mode is suitable for debugging of a single process or a local process and can be started or stopped at will; s034, starting debugging, and carrying out simulation debugging on each scene object according to the set sequence of the scene objects.
  8. 8. The method for debugging software and hardware integrated debugging system as recited in claim 7, wherein the specific method for debugging in S034 comprises, Setting the conditions of the PLC module according to the debugging parameters, the running parameters and the like of hardware such as operation equipment, data acquisition equipment and the like, and realizing the simulation of the hardware; The debugging program generated by running the test software outputs production data to the SCADA module, and the SCADA module judges the correctness and the consistency of the logic and the numerical value of the received production data; If the production data are consistent, the hardware debugging is reasonable, and if the production data are inconsistent, the reasons of data errors or debugging suggestions are given.
  9. 9. The method for debugging software and hardware integrated debugging system as recited in claim 7, wherein the specific method for debugging in S034 comprises, The SCADA module transmits the production instruction to the PLC module; The test software simulates a production operation scene according to the operation flow of the corresponding scene object which is automatically programmed, and feeds back production data to the SCADA module again; If the production data are consistent, the hardware debugging is reasonable, and if the production data are inconsistent, the reasons of data errors or debugging suggestions are given.

Description

Debugging system for software and hardware integration and debugging method thereof Technical Field The invention relates to the technical field of the Internet of things, in particular to a software and hardware system full-flow simulation verification system. Background When the intelligent casting factory construction based on 3DP carries out system integration, the key processes related to production management and control system and equipment include but are not limited to sand supply liquid, 3D printing, buffer sand removal, dip-coating drying, storage core assembly, charging smelting, temperature measurement composition, tapping casting, standing and boxing, heat treatment, shot blasting, paint spraying and the like. Under the conventional condition, equipment manufacturers enter the factory to debug successively, the automatic flow among the equipment is relatively smooth, and after the equipment is networked and data collected, the equipment is integrated with a production monitoring system, and the process is repeated, even one part is pulled, and a plurality of parts are changed. When the monomer is verified in advance, a software engineer and a hardware engineer are often required to cooperate in the whole process, the whole debugging implementation process is basically in a serial mode, and the method is time-consuming and labor-consuming and cannot meet the urgent construction period requirement. In addition, no two factories are identical, which can lead to custom adaptations and migration of production monitoring systems. The relevant patent search cases are as follows: The application number of the virtual simulation test platform and the method for the full-flow electronic and electric information architecture is CN202311589078.7, and the virtual simulation test platform and the method for the full-flow electronic and electric information architecture are disclosed, and relate to the technical field of virtual simulation test; the execution simulation computer comprises a vehicle simulation module, a sensor simulation module, a scene simulation module and a debugging simulation module. The invention completely places the test verification process of the design process of the electronic and electric information architecture in the virtual environment, can test and verify the whole flow of the design of the electronic and electric information architecture in the dimension of the software in the ring, and improves the test verification efficiency of the design process of the electronic and electric information architecture. The application number of the digital twin architecture design method facing the flow industry is CN202311481268.7, and the digital twin architecture design method facing the flow industry is disclosed. The digital twin system is a visual virtual production system, can realize parallel operation with a field physical entity, and provides energizing technologies such as simulation optimization, monitoring diagnosis, intelligent operation and maintenance and the like for safe and efficient production of the entity. The existing digital twin system cannot meet the core functions such as quality index sensing capability, optimal control enabling efficacy, fault diagnosis enabling efficacy and the like which are urgently needed by the process industry. Aiming at the defects, the invention provides a digital twin architecture design method for flow industry, which supplements a ADAPTIVE DIASSA algorithm-based fault detection module, an SF-transform algorithm-based quality index soft measurement module and a QST-MPC algorithm-based mixed integer decision optimization module on the basis of digital twin basic architectures such as data perception, geometric modeling, connection interaction and the like, and ensures the real floor application of the flow industry digital twin system. The application number of the method and the system for assisting in changing the distribution network transaction data based on the digital twin is CN202311243792.0, and the method for assisting in changing the distribution network transaction data based on the digital twin is disclosed. The intelligent contract verification method realizes the intellectualization and automation of the parameter configuration flow, greatly reduces the manual operation time, improves the parameter adjustment efficiency, realizes the natural expression and conversion of parameter configuration requirements through voice interaction, simplifies the man-machine interaction flow, ensures that each parameter adjustment meets the rule requirement, reduces the risk of illegal operation, constructs a parameter relation knowledge graph, can intelligently judge the influence range of parameter change, enables parameter adjustment to be more accurate, can discover the equipment adaptation problem of parameter configuration in advance by means of digital twin and simulation, realizes the traceability of the whole flow of parameter