A control system for intelligent manufacturing training sandbox
By designing an intelligent manufacturing training sandbox control system that supports local offline and online cloud modes, it uses MQTT, CoAP and HTTP protocols to communicate with the cloud platform, realizing docking with the cloud platform and digital twin operation, and solving the problem that the existing sandbox cannot be connected to the Internet. and equipment differences, it provides a complete scenario and linkage control that meets the needs of professional training.
Patent Information
- Application Number
- CN202410813382.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-24
AI Technical Summary
The existing smart manufacturing training sandbox cannot be connected to a general cloud platform, cannot perform network control and digital twin operations, and the equipment is very different from the actual usage scenarios, making it unable to meet the needs of professional training.
Design a control system for intelligent manufacturing training sandbox, which supports local offline mode and online cloud mode. It establishes communication between intelligent terminal equipment and cloud platform through MQTT, CoAP and HTTP protocols, and uses the digital twin system for job information synchronization and real-time monitoring. , and create digital device instances through the cloud platform for online control.
It realizes the connection between the intelligent manufacturing training sandbox and the general cloud platform, supports networked control and digital twin operations, meets professional training needs, provides complete training scenarios and linkage control, and reduces operational complexity and costs.
Smart Images

Figure CN118400362B
Abstract
Description
Technical Field
[0001] The invention relates to a training sandbox, and in particular to a control system for an intelligent manufacturing training sandbox. Background Art
[0002] At present, modern information majors such as communications, intelligent manufacturing, and the Internet of Things in colleges and universities have set up many courses on intelligent hardware, intelligent scene development and application, and other courses that are oriented to real enterprise production processes. All of them are teaching methods that integrate theory teaching with practical training. For the practical training modules of this type of courses, the current basic form is experimental boxes or offline sandboxes.
[0003] The overall design of the test box is an openable box, with two different forms: vertical and horizontal. The exterior materials include metal, plastic and other types. The box has built-in hardware such as a variety of sensors, gateways and integrated devices. Some experimental boxes will be equipped with a small-size LED display. For some hardware devices, corresponding debugging software will be configured, which will be installed on the computer and connected to the hardware through a serial port or USB. The shortcomings of this existing experimental box are: first, the experimental box is a simple combination of isolated sensors and gateways, and does not have a complete scene. There is no linkage between the various devices based on scene requirements. There is no way to match the real industrial manufacturing process, and the experimental content is seriously out of touch with actual usage; secondly, the experimental box only covers a small part of the course content. Whether it is the type of equipment, the process from embedded development of smart hardware to cloud communication, there are serious content and key links missing, which cannot meet the students' practical training needs.
[0004] Sandboxes are generally used to simulate the process design of a certain scene. They include a variety of intelligent hardware, development boards, controllers and other equipment. They are generally painted metal, and some sandboxes are equipped with fixed displays and lights to enhance the sensory effects. The current offline sandboxes generally control the equipment through unified centralized control software. Its disadvantages are: they do not have networking capabilities. Even if there are a few networking solutions, they generally use private protocols. There is no way to connect to general cloud platforms such as Alibaba Cloud and Tencent Cloud IoT platforms, and it is impossible to control and operate digital twins through general IoT platforms; some sandboxes occupy a large area due to the pursuit of consistency with reality, which is extremely inconvenient for students to practice; in addition, the equipment of offline sandboxes is mostly teaching-level hardware, which is very different from that used in real scenes. The effect of students using this offline sandbox for practical training is not good enough. Summary of the invention
[0005] The technical problem to be solved by the present invention is that it is necessary to provide a control system for an intelligent manufacturing training sandbox, which is designed to meet the needs of professional training and to be able to connect with a general cloud platform. It can be controlled and operated as a digital twin through the Internet of Things platform, which is convenient for students in professional fields to carry out intelligent manufacturing training teaching.
[0006] In this regard, the present invention provides a control system for an intelligent manufacturing training sandbox, comprising the following steps:
[0007] Step S1, controlling the operation mode of each subsystem, wherein the operation mode includes a local offline mode and an online cloud mode, and the subsystem jumps to the local offline mode working process or the online cloud mode working process according to the selected operation mode;
[0008] Step S2, establishing communication between the intelligent terminal device of the intelligent manufacturing training sandbox and the cloud platform, establishing a connection between the intelligent terminal device and the data processing center through the MQTT subnode, CoAP subnode and HTTP subnode, and saving the data to different databases through the data processing center to realize data display and application call, the databases include rabbitmq information queue database, redis database, mysql database, mongodb database and loki time series log database;
[0009] Step S3, synchronizing the operation information through the digital twin system and monitoring the status of the smart terminal device in real time;
[0010] Step S4, creating a digital device instance through the cloud platform, and associating the smart terminal device with the digital device instance to perform online control.
[0011] A further improvement of the present invention is that the local offline mode working process of step S1 includes the following sub-steps:
[0012] Step A1, designing a local strategy through embedded development, powering on the smart terminal device, and burning the local strategy to the smart terminal device and the local master control through the serial port;
[0013] Step A2: The AGV smart car is connected to the 5G terminal device via WIFI, and then connected to the local master control via the 5G terminal device. Other smart terminal devices are connected to the local master control via network cables.
[0014] Step A3, starting to execute the local strategy according to the selected operation mode. When the selected operation mode is independent operation, the local master control sends the corresponding independent operation instruction to the smart terminal device, and waits for the smart terminal device to execute the independent operation instruction; when the selected operation mode is the whole machine strategy, the local master control disassembles the whole machine strategy, and sends the disassembled whole machine strategy to the corresponding smart terminal device separately according to the control timing, and waits for each smart terminal device to complete the whole machine strategy.
[0015] A further improvement of the present invention is that the online cloud mode working process of step S1 includes the following sub-steps:
[0016] Step B1, complete the reporting attributes, command actions and network authentication supported by a single smart terminal device through embedded development, and burn them to the corresponding smart terminal device after powering on the smart terminal device; the smart terminal device includes AGV smart car, robot, smart silo and smart feeding and conveying equipment;
[0017] Step B2: The AGV smart car and the robot are connected to the cloud platform through the 5G module, and the smart silo and the smart feeding and conveying equipment are connected to the cloud platform through the WIFI module. The successfully connected smart terminal devices are displayed online on the cloud platform;
[0018] In step B3, the smart terminal device reports the working condition and performs corresponding operations according to the instructions issued by the cloud platform. When the selected operation mode is independent operation, the device attributes and service instructions are created through the cloud platform, and the smart terminal device is waited for to execute the service instructions; when the selected operation mode is the whole machine strategy, an integrated strategy for multiple smart terminal devices is created through the cloud platform, which is started in the cloud platform and the strategy start instruction is issued to the corresponding smart terminal device according to the control sequence, and each smart terminal device is waited for to complete the integrated strategy.
[0019] A further improvement of the present invention is that, in step S2, the process of establishing a connection between the intelligent terminal device and the data processing center through the MQTT sub-node includes the following sub-steps:
[0020] Step C1, fill in the release type topic, find the release type topic of the reported data in the release type list on the device details page, and report the data;
[0021] Step C2, fill in the payload script for data transmission in JSON format, construct the reported data, and the data format of the reported data is: / extended parameters / $ { product key} / $ { smart terminal device name} / method name for reporting data;
[0022] Step C3, parse and send the reported data, when reporting the data, request clock synchronization, and wait for the clock synchronization response.
[0023] A further improvement of the present invention is that, in step S2, the process of establishing a connection between the intelligent terminal device and the data processing center through the CoAP sub-node includes the following sub-steps:
[0024] Step D1, making an authentication request through an authentication request instruction;
[0025] Step D2: reporting data via a data reporting request instruction.
[0026] A further improvement of the present invention is that, in step S2, the process of establishing a connection between the intelligent terminal device and the data processing center through the HTTP sub-node includes the following sub-steps:
[0027] Step E1, making an authentication request through an authentication request instruction;
[0028] Step E2: reporting data via a data reporting request instruction.
[0029] Step S2 in this embodiment includes the following sub-steps:
[0030] Step S201, collecting device data of the intelligent terminal device of the intelligent manufacturing training sandbox in real time, and generating real scene data according to the device data of the intelligent terminal device;
[0031] Step S202, uploading the real scene data to the access point of the corresponding protocol sub-node for the connection protocol supported by the smart terminal device;
[0032] Step S203, processing the access point data of different protocol sub-nodes into a unified format and transmitting it to the data processing center;
[0033] Step S204, the data is saved in different databases through the data processing center, the real-time data stream is stored in the rabbitmq information queue database, the real-time data snapshot is stored in the redis database, the alarm, online and over-the-air download OTA status are stored in the mysql database, the historical data is stored in the mongodb database, and the log data is stored in the loki time series log database, so as to realize data display and application call;
[0034] In step S205, the cloud platform and the called application display the data to the user, and send the data to the smart terminal device through the interaction between the user and the cloud platform or the application.
[0035] A further improvement of the present invention is that step S3 includes the following sub-steps:
[0036] Step S301, determining the smart terminal device that can communicate normally with the cloud platform through network detection;
[0037] Step S302, designing digital twin components on the cloud platform by dragging and dropping components displayed on the interface;
[0038] Step S303, associating the digital twin component with the working conditions of each smart terminal device and the instructions it supports, and outputting the calculation results of the associated data;
[0039] Step S304, save the associated data and its calculation results, and publish them. When the smart terminal device is a display device, report the device operating conditions and refresh the charts in the digital twin component in real time; when the smart terminal device is a control device, send control instructions through the button switch component, and wait for the smart terminal device to respond and execute the control instructions.
[0040] A further improvement of the present invention is that step S4 includes the following sub-steps:
[0041] Step S401, capturing historical instances, extracting the operation mode, communication connection mode, control sequence and device status of the smart terminal device in the historical instances;
[0042] Step S402, numbering and keywording the historical instances, and matching and associating the numbers, keywords, operation modes, communication connection modes, control sequences, and device states of the smart terminal devices to obtain a historical instance association table;
[0043] Step S403, querying the historical instance association table according to the self-defined input digital device data, creating a digital device instance through the retrieved data, and associating the smart terminal device according to the digital device instance to perform online control;
[0044] Step S404, detecting the working condition of the smart terminal device in real time, and comparing the current working condition of the smart terminal device with the historical instance, and issuing an alarm signal when the comparison result is mismatch.
[0045] A further improvement of the present invention is that the subsystems of the intelligent manufacturing training sandbox include an automatic loading subsystem, a weighing subsystem, a conveying subsystem, an AGV transport subsystem, a visual inspection subsystem, a six-axis robotic arm subsystem, a warehousing subsystem, a 5G wireless communication module and a 5G terminal device. The automatic loading subsystem is connected to the conveying subsystem through the weighing subsystem, and the conveying subsystem is connected to the six-axis robotic arm subsystem through the AGV transport subsystem. The visual inspection subsystem is arranged between the conveying subsystem and the six-axis robotic arm subsystem, and the warehousing subsystem is arranged next to the six-axis robotic arm subsystem; the automatic loading subsystem and the conveying subsystem are connected to the 5G terminal device through WIFI, and then connected to the cloud platform through the 5G terminal device; the AGV transport subsystem and the six-axis robotic arm subsystem are connected to the original platform through the 5G wireless communication module, and are connected to the local master control through a network cable, WIFI or a 5G terminal device, and the automatic loading subsystem is connected to the local master control through a network cable.
[0046] Compared with the prior art, the beneficial effect of the present invention is that each subsystem includes a local offline mode and an online cloud mode, and the subsystem can first jump to the local offline mode working process or the online cloud mode working process according to the selected operation mode; then, the communication between the intelligent terminal device and the cloud platform of the intelligent manufacturing training sandbox is established through step S2, and the connection between the intelligent terminal device and the data processing center is established through the MQTT subnode, the CoAP subnode and the HTTP subnode, and the data is saved in different databases through the data processing center to realize data display and application call; then, the operation information can be synchronized through the digital twin system, and the status of the intelligent terminal device can be monitored in real time; finally, a digital device instance is created through the cloud platform, and then the intelligent terminal device can be associated with the digital device instance for online control. Therefore, the present invention can not only meet the needs of professional training, but also has a complete training scenario, and each intelligent terminal device can be linked and controlled, and the training content is basically consistent with the actual use; and it can also achieve docking with a general cloud platform, and can be controlled and operated by the Internet of Things platform, so as to facilitate real intelligent manufacturing training teaching for students in professional fields. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 It is a schematic diagram of the working process of an embodiment of the present invention;
[0048] Figure 2 This is a schematic diagram of the working process of the local offline mode of an embodiment of the present invention;
[0049] Figure 3 This is a schematic diagram of the working process of the online cloud mode of an embodiment of the present invention;
[0050] Figure 4 It is a schematic diagram of the communication process between an intelligent terminal device and a cloud platform according to an embodiment of the present invention;
[0051] Figure 5 It is a schematic diagram of the workflow of a digital twin system according to an embodiment of the present invention;
[0052] Figure 6 It is a structural schematic diagram of an intelligent manufacturing training sandbox according to an embodiment of the present invention;
[0053] Figure 7 It is a structural schematic diagram of an intelligent manufacturing training sandbox according to an embodiment of the present invention from another perspective;
[0054] Figure 8 It is a schematic diagram of an automatic operation strategy of an intelligent manufacturing training sandbox according to an embodiment of the present invention;
[0055] Fig. 9 It is a communication schematic diagram of an intelligent manufacturing training sandbox according to an embodiment of the present invention;
[0056] Fig.10 It is a fusion architecture diagram of a smart manufacturing training sandbox and a cloud platform according to an embodiment of the present invention. DETAILED DESCRIPTION
[0057] The preferred embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings.
[0058] like Figures 1 to 10 As shown, this embodiment provides a control system for an intelligent manufacturing training sandbox, comprising the following steps:
[0059] Step S1, controlling the operation mode of each subsystem, wherein the operation mode includes a local offline mode and an online cloud mode, and the subsystem jumps to the local offline mode working process or the online cloud mode working process according to the selected operation mode;
[0060] Step S2, establishing communication between the intelligent terminal device of the intelligent manufacturing training sandbox and the cloud platform, establishing a connection between the intelligent terminal device and the data processing center through the MQTT subnode, CoAP subnode and HTTP subnode, and saving the data to different databases through the data processing center to realize data display and application call, the databases include rabbitmq information queue database, redis database, mysql database, mongodb database and loki time series log database;
[0061] Step S3, synchronizing the operation information through the digital twin system and monitoring the status of the smart terminal device in real time;
[0062] Step S4, creating a digital device instance through the cloud platform, and associating the smart terminal device with the digital device instance to perform online control.
[0063] The subsystem described in this embodiment refers to each subsystem in the control system of the intelligent manufacturing training sandbox that can be controlled independently or in linkage, including but not limited to automatic feeding subsystem 1, weighing subsystem 2, transmission subsystem 3, AGV transportation subsystem 4, visual inspection subsystem 5, six-axis robotic arm subsystem 6, warehousing subsystem 7, 5G wireless communication module and 5G terminal equipment. The operation mode of each subsystem includes two operation modes: local offline mode and online cloud mode. It is worth noting that in these two operation modes, each subsystem supports independent operation and linkage operation without the participation of local master control, which effectively reduces the operation and control requirements of local master control, reduces the professional requirements for operators, and reduces labor costs.
[0064] More specifically, the local offline mode working process of step S1 in this embodiment includes the following sub-steps:
[0065] Step A1, design the local strategy through embedded development. The local strategy design can be pre-set according to the actual situation. Figure 8 The automatic operation strategy shown is used as the local strategy; the smart terminal device is powered on, and the local strategy is burned into the smart terminal device and the local master control through the serial port;
[0066] In step A2, the AGV smart car is connected to the 5G terminal device via WIFI, and then connected to the local master control via the 5G terminal device. Other smart terminal devices are connected to the local master control via network cables. The smart terminal devices include but are not limited to AGV smart cars, robots / six-axis manipulators, smart silos, smart feeding and conveying equipment, weighing equipment, industrial cameras and 5G terminal devices, etc. In addition to being implemented through industrial cameras, the visual inspection subsystem 5 can also use industrial high-resolution color cameras and high-resolution industrial lenses. The light source uses a high-brightness large-size surface light source to improve the accuracy of visual recognition and material positioning.
[0067] Step A3, start executing the local policy according to the selected operation mode, such as Figure 2As shown, when the selected operation mode is independent operation, the local master control sends the independent operation instruction corresponding to the smart terminal device, and waits for the smart terminal device to execute the independent operation instruction. The independent operation instruction refers to the control instruction for each smart terminal device when it operates independently; when the selected operation mode is the whole machine strategy, the local master control disassembles the whole machine strategy, and sends the disassembled whole machine strategy to the corresponding smart terminal device according to the control timing, waiting for each smart terminal device to complete the whole machine strategy. The local master control disassembles the whole machine strategy, which means adding the control timing to the control instructions corresponding to each smart terminal device according to the operation time of each smart terminal device, so that different smart terminal devices can be linked and controlled according to the preset control timing to realize the whole machine strategy; the whole machine strategy can be preset according to the actual situation, and the default setting is Figure 8 The timing control corresponding to the automatic operation strategy shown is used as the control timing of the overall strategy.
[0068] The online cloud mode working process of step S1 in this embodiment includes the following sub-steps:
[0069] Step B1, complete the reporting attributes, command actions and network authentication supported by a single smart terminal device through embedded development, and burn them to the corresponding smart terminal device after the smart terminal device is powered on; smart terminal devices that can support the online cloud mode working process include but are not limited to AGV smart cars, robots, smart silos and smart feeding and conveying equipment; the robot can use an automated handling module such as a six-axis manipulator;
[0070] Step B2, the AGV smart car and the robot are connected to the cloud platform through the 5G module to realize remote control through the 5G network; the smart silo and the smart feeding and conveying equipment are connected to the cloud platform through the WIFI module, and then can be connected to the cloud platform through the WIFI module and the 5G terminal device to realize networking connection through different networks; the successfully connected smart terminal devices are displayed online in the cloud platform to facilitate the real-time display of online smart terminal devices;
[0071] Step B3: The smart terminal device reports the working condition and performs corresponding operations according to the instructions issued by the cloud platform, such as Figure 3 As shown, when the selected operation mode is independent operation, device attributes and service instructions are created through the cloud platform, and the process of creating device attributes and service instructions includes the following steps:
[0072] Step B311, select the device model corresponding to the smart terminal device in the device model menu, add a custom attribute in the device model details, and keep the attribute identifier, data type and other parameters of the custom attribute consistent with the values burned into the smart terminal device;
[0073] Step B312, customize the service under the same device model, and keep the service identifier, input parameters and other parameters of the customized service consistent with the values burned into the smart terminal device.
[0074] After the device attributes and service instructions are created through step B311 and step B312, the process waits for the smart terminal device to execute the service instruction.
[0075] In step B3, when the selected operation mode is the whole machine strategy, an integrated strategy for multiple smart terminal devices is created through the cloud platform, and the cloud platform is started and a strategy start instruction is issued to the corresponding smart terminal device according to the control sequence, and each smart terminal device is waited for to complete the integrated strategy. The steps for creating an integrated strategy for multiple smart terminal devices are as follows:
[0076] Step B321, create an integrated device under the integrated device menu, and associate the integrated device with all related device instances. In the association process, it is preferred to associate by selecting the device instance name;
[0077] Step B322, in the integrated device, select the integrated strategy, set the start condition and execution action of each strategy according to the business process, and then create the integrated strategy; the start condition of the strategy is associated with the specific working condition value;
[0078] Step B323, in the property debugging process under the device debugging menu, find the start condition of the first policy in the integrated policy, call the property name associated with the start condition of the first policy, and set the property name to the value required in the start condition to complete the setting;
[0079] Step B324, start executing the integration strategy.
[0080] During the execution of the integrated strategy, it is detected in real time whether the current strategy execution is consistent with the planned business process. If not, it is judged as not meeting the expected requirements, and the inconsistent execution actions and their corresponding business processes are output to adjust the strategy content.
[0081] like Figure 4As shown, this embodiment can realize the communication process between the intelligent terminal device and the cloud platform. In the communication process, the objects include southbound terminals used to collect data generated in real scenarios, including but not limited to real logistics equipment and simulators, such as temperature and humidity sensors, AGV smart cars and MQTTX simulators, etc. MQTTX simulator refers to the MQTT 5.0 client simulator; MQTT refers to Message Queuing Telemetry Transport, which is a message protocol based on the publish / subscribe paradigm.
[0082] In step S2 of this embodiment, the communication between the intelligent terminal device of the intelligent manufacturing training sandbox and the cloud platform is established through the access point. The protocols supported by the access point in this embodiment include: MQTT protocol, CoAP protocol and HTTP; the access point is used to connect with devices of different protocol types, and after collection, the data formats of different protocols are converted into a unified data format to be transmitted to the data processing center. The data processing center is used to uniformly process the data pre-processed by the access point, and the unified processing includes saving the data to different databases, making alarm judgments, making rule engine rule judgments, and adding message queues. The database is used to save the data to different databases to respond to subsequent data display and application calls, wherein the rabbitmq information queue database is used to save real-time data streams to facilitate the web end and applications to obtain real-time data; the redis database is used to save real-time data snapshots to permanently save the latest data of the device; the mysql database is used to save the configuration data of the web end and the alarm, online status and OTA status information of the device; the mongodb database is used to save all recent historical data of the device; the loki time series log database is used to save the operation logs generated by the web end and the processing center.
[0083] The cloud platform and applications are northbound terminals, such as the web terminal used to display device data, configure equipment, control equipment and URLs, and applications used to obtain data uniformly processed by the data processing center for further processing and development. Such applications can be customized according to user needs or use existing applications.
[0084] The communication data transmission process between the smart terminal device and the cloud platform described in this embodiment is preferably: data is generated through real scenarios → data is collected through smart terminal devices → the smart terminal devices upload data to access points of different protocols according to supported protocols → the access points of different protocols are processed into a unified format and then transmitted to the data processing center → the data processing center saves data to different databases → different databases provide data for the cloud platform and applications respectively → the cloud platform and applications display the data to users, and users send the data to the smart terminal devices through interaction with the cloud platform and applications.
[0085] Specifically, the communication establishment process and communication format of different application protocols in this embodiment are introduced as follows.
[0086] In step S2 of this embodiment, the process of establishing a connection between the smart terminal device and the data processing center through the MQTT sub-node includes the following sub-steps:
[0087] Step C1, fill in the release type topic, find the release type topic of the reported data in the release type list of the device details page, and report the data through instructions. The instruction data format for data reporting is: / extended parameters / product key / smart terminal device name / property reporting request method;
[0088] Step C2, fill in the payload script for data transmission in JSON format, construct the reporting data according to the data protocol, and the data format of the reporting data is: / extended parameters / $ { product key} / $ { smart terminal device name} / reporting data method name;
[0089] Step C3, parse and send the reported data, when reporting the data, request clock synchronization, and wait for the clock synchronization response.
[0090] More specifically, the process of constructing the reported data according to the data protocol in step C2 of this embodiment preferably further includes the following sub-steps:
[0091] Step C21, responding to the attribute report through an instruction. The data format of the instruction for responding to the attribute report is: / extended parameters / product key / intelligent terminal device name / request method corresponding to the response data. The data format and protocol version number in the request method are the same as those of the request method for attribute reporting.
[0092] Step C22, the cloud platform sends a command to set the attribute to the smart terminal device, and the data format of the command for sending the attribute setting command is: / extended parameter / product key / smart terminal device name / attribute setting method name, and the smart terminal device reports the attribute once after the setting is completed;
[0093] Step C23, calling the device service of the smart terminal device through an instruction, the data format of the instruction for calling the device service of the smart terminal device is: / extended parameters / product key / smart terminal device name / called service name;
[0094] Step C24, reporting the event to the cloud platform through instructions, the instruction data format for reporting the event to the cloud platform is: / extended parameters / product key / smart terminal device name / service name.
[0095] Of course, the above steps C21 to C24 are only a preferred implementation mode for illustration. In actual application, the reported data can be constructed according to different data protocols.
[0096] In step S2 of this embodiment, the process of establishing a connection between the intelligent terminal device and the data processing center through the CoAP sub-node includes the following sub-steps:
[0097] Step D1, make an authentication request through an authentication request instruction, the request type is HTTP request POST, the data format of the authentication request instruction is resource address: authentication request address; the request payload is {username:{username}, password:{password}}, the request payload parameter value is obtained through the device details page, and the response data is returned as a token for subsequent reporting requests;
[0098] Step D2, data is reported through the reporting data request instruction. The data format of the reporting data request instruction is resource address: the address of the data reporting request, which is returned through the authentication request to fill in the publishing type topic published on the device details page; the request type is post; the request payload is {payload}, and the request payload content at this time is the same as the MQTT protocol payload content.
[0099] In step S2 of this embodiment, the process of establishing a connection between the intelligent terminal device and the data processing center through the HTTP sub-node includes the following sub-steps:
[0100] Step E1, make an authentication request through an authentication request instruction, the request type is HTTP request POST, the data format of the authentication request instruction is resource address: interface call address of the authentication request; the request type is post; the request parameters are username, password, and the parameter values of the request parameters are obtained through the device details page; the response data returns a token as a token for subsequent reporting requests;
[0101] Step E2, data is reported through the data reporting request instruction, wherein the data format of the data reporting request instruction is resource address: interface call address of data reporting request. The request type is post; the parameter is token, token indicates the authentication request return; in topic, payload, topic indicates the publishing type, and the publishing type topic and payload structure are the same as the MQTT protocol, and the response data is equivalent to the subscription data of mqtt.
[0102] Preferably, step S2 in this embodiment includes the following sub-steps:
[0103] Step S201, collecting device data of the intelligent terminal device of the intelligent manufacturing training sandbox in real time, and generating real scene data according to the device data of the intelligent terminal device;
[0104] Step S202, uploading the real scene data to the access point of the corresponding protocol sub-node for the connection protocol supported by the smart terminal device;
[0105] Step S203, processing the access point data of different protocol sub-nodes into a unified format and transmitting it to the data processing center;
[0106] Step S204, the data is saved in different databases through the data processing center, the real-time data stream is stored in the rabbitmq information queue database, the real-time data snapshot is stored in the redis database, the alarm, online and over-the-air download OTA status are stored in the mysql database, the historical data is stored in the mongodb database, and the log data is stored in the loki time series log database, so as to realize data display and application call;
[0107] In step S205, the cloud platform and the called application display the data to the user, and send the data to the smart terminal device through the interaction between the user and the cloud platform or the application.
[0108] In step S203 of this embodiment, the process of processing the access point data of different protocol sub-nodes into a unified format includes the following sub-steps:
[0109] Step S2031, collecting underlying data through device sensors and constructing data of corresponding protocols according to their application protocol types;
[0110] Step S2032, according to different protocol types, different processing frameworks are used to parse the data. If the protocol type is MQTT protocol, the mica-mqtt framework is used to parse the data; if the protocol type is HTTP protocol, the tomcat framework is used to parse the data; if the protocol type is CoAP protocol, the californium framework is used to parse the data;
[0111] Step S2033, using a custom service processing program to process the parsed data and generate data in a unified format according to a preset format; the preset format can be set and adjusted according to actual conditions, and the default format is sequence number-protocol type-access point-intelligent terminal device type-parsed data;
[0112] Step S2034, forwarding the processed data in a unified format to a data processing center, and the data processing center performs logical judgment or calls other applications.
[0113] like Figure 5 As shown, step S3 in this embodiment includes the following sub-steps:
[0114] Step S301, determining the smart terminal device that can communicate normally with the cloud platform through network detection;
[0115] Step S302, designing digital twin components on the cloud platform by dragging and dropping components displayed on the interface;
[0116] Step S303, associating the digital twin component with the working conditions of each smart terminal device and the instructions it supports, and outputting the calculation results of the associated data;
[0117] Step S304, save the associated data and its calculation results, and publish them. When the smart terminal device is a display device, report the device operating conditions and refresh the charts in the digital twin component in real time; when the smart terminal device is a control device, send control instructions through the button switch component, and wait for the smart terminal device to respond and execute the control instructions.
[0118] More specifically, step S302 in this embodiment includes the following sub-steps:
[0119] Step S3021, create a new twin under the twin space menu;
[0120] Step S3022, drag and drop the visualization components to be displayed from the left side in sequence, including charts, device 3D models, etc., and set the shape and size of each visualization component.
[0121] In step S303 of this embodiment, multiple association methods are provided. The first method is to associate the digital twin component with the working conditions of each intelligent terminal device; the second method is to associate the digital twin component with the output result of the data calculation task; and the third method is to associate the digital twin component with static data. The specific implementation process includes the following steps:
[0122] (1) The implementation process of associating with the working conditions of the intelligent terminal equipment is as follows:
[0123] Step F11, select a specific digital twin component and select the device model in the data source in the data source;
[0124] Step F12, selecting a specific smart terminal device model;
[0125] Step F13, the independent variable selects the device instance name corresponding to the selected intelligent terminal device model;
[0126] Step F14: the target variable selects the specific attribute name corresponding to the smart terminal device model.
[0127] (2) The implementation process of associating with the output results of the data computing task is as follows:
[0128] Step F21, select a specific digital twin component and select data calculation in the data source in the data source;
[0129] Step F22, select the task name corresponding to the selected data calculation as an independent variable;
[0130] Step F23, the target variable selects the name of the specific output data under this data calculation task.
[0131] In step F22, when associating data computing tasks, if there is no matching task name, a new data computing task is added and enabled. Adding and enabling the newly created data computing task includes the following sub-steps:
[0132] Step F221, under the data engine menu, create a new data calculation task;
[0133] Step F222, drag and drop input nodes, calculation nodes and output nodes according to the calculation target, and set detailed parameters of each of the input nodes, calculation nodes and output nodes;
[0134] Step F223, after the calculation task is saved, if the scheduled calculation task is not set, the calculation task is automatically executed once the input node data changes; if the scheduled calculation task is set, the data calculation is performed according to the set scheduled calculation task.
[0135] (3) The implementation process of associating with static data is as follows:
[0136] Step F31, select a specific digital twin component, and select static data from the data source in the data source, wherein the static data includes text and charts;
[0137] Step F32, fill in the first custom value as the independent variable;
[0138] Step F33: Fill in the second custom value of the target variable.
[0139] Therefore, this embodiment can realize the application of combining virtual digital devices with real hardware sandbox. After creating a digital device instance through the cloud platform, it can be associated with a specific intelligent terminal device to complete the online whole machine strategy or single device control, and carry out more realistic and effective virtual and real teaching applications. The intelligent manufacturing training sandbox can complete offline training independently, or it can complete online training in combination with the supporting cloud platform, and on this basis, a real-time interactive digital twin system is constructed.
[0140] The step S4 in this embodiment preferably includes the following sub-steps:
[0141] Step S401, capturing historical instances, extracting the operation mode, communication connection mode, control sequence and device status of the smart terminal device in the historical instances, where the device status is also called working condition;
[0142] Step S402, numbering and keywording the historical instances, and matching and associating the numbers, keywords, operation modes, communication connection modes, control sequences, and device states of the smart terminal devices to obtain a historical instance association table;
[0143] Step S403, querying the historical instance association table according to the self-defined input digital device data, creating a digital device instance by retrieving the data in the historical instance association table, and associating the smart terminal device according to the digital device instance to perform online control;
[0144] Step S404, detecting the working condition of the smart terminal device in real time, and comparing the current working condition of the smart terminal device with the historical instance, and issuing an alarm signal when the comparison result is mismatch.
[0145] Therefore, this embodiment can output digital device instances for practical training operations based on historical instances, and automatically determine whether the current working conditions of the smart terminal equipment are normal through comparison, so as to better meet the teaching needs of students for practical training operations, reduce the operational difficulty of practical training operations, and meet the practical training needs of students with no basic knowledge.
[0146] The smart manufacturing training sandbox described in this embodiment fully opens the hardware serial port and the software northbound interface. Students can perform zero-based training operations based on historical examples in the early stage; after reaching a certain skill level, they can also fully independently personalize the software and hardware, control the behavior of the hardware or develop corresponding third-party management software, providing an efficient foundation for smart manufacturing training at various stages.
[0147] like Figure 6 and Figure 7As shown, the subsystems of the intelligent manufacturing training sandbox described in this embodiment include an automatic loading subsystem 1, a weighing subsystem 2, a conveying subsystem 3, an AGV transportation subsystem 4, a visual inspection subsystem 5, a six-axis robotic arm subsystem 6, a warehousing subsystem 7, a 5G wireless communication module and a 5G terminal device. The automatic loading subsystem 1 is connected to the conveying subsystem 3 through the weighing subsystem 2, and the conveying subsystem 3 is connected to the six-axis robotic arm subsystem 6 through the AGV transportation subsystem 4. The visual inspection subsystem 5 is arranged between the conveying subsystem 3 and the six-axis robotic arm subsystem 6, and the warehousing subsystem 7 is arranged next to the six-axis robotic arm subsystem 6; the automatic loading subsystem 1 and the conveying subsystem 3 are connected to the 5G terminal device through WIFI, and then connected to the cloud platform through the 5G terminal device; the AGV transportation subsystem 4 and the six-axis robotic arm subsystem 6 are connected to the original platform through the 5G wireless communication module, and are connected to the local master control through a network cable, WIFI or a 5G terminal device, and the automatic loading subsystem 1 is connected to the local master control through a network cable.
[0148] The smart manufacturing training sandbox described in this embodiment is preferably a training tool in the form of a sandbox, and the dimensions of length*width*height are preferably 2.5m*1.5m*1.8m. The volume of the sandbox is reduced by partitioning for height aggregation, and the weight is controlled within 600kg. It uses AC220V and is provided with overcurrent and overvoltage protection to facilitate the practical teaching of smart manufacturing. The functional areas of the smart manufacturing training sandbox preferably include 5, namely, accessories area, packaging area, assembly area, storage area, and defective product area. These 5 functional areas correspond to the subsystems described above, and the automatic operation flow chart between the subsystems is preferably as follows: Figure 8 The smart manufacturing training sandbox described in this embodiment adopts the latest miniaturized control development board, communication module and smart device, simplifies the process of complex factory, retains the main smart terminal equipment and key processes, realizes the complete factory manufacturing process through the minimum number of smart terminal equipment, occupies a relatively small area, has no redundant elements in the overall design, and has a lower cost than the existing sandboxes on the market, which is easy to promote and apply.
[0149] Fig. 9 What is shown is the communication schematic diagram of this embodiment. The intelligent silo in the automatic feeding subsystem 1 and the conveying subsystem 3 are connected to the network through 5G CPE. 5G CPE refers to the 5G terminal equipment. The AGV smart car and the six-axis robotic arm are connected to the network through the 5G module, and the local master control uses the UDP protocol (that is, through the network cable) to communicate.
[0150] The smart manufacturing training sandbox described in this embodiment is also preferably configured with a general device management and digital twin platform, and the connection between each smart terminal device and the cloud platform is realized through the standard MQTT protocol. The connection method is consistent with the functions supported by the cloud platform. Fig.10 As shown in the figure, the digital twin platform function implementation includes the following steps:
[0151] Step G1, planning the business process of the overall smart scene and selecting the type of smart terminal device;
[0152] Step G2, select the specific model, networking mode and application protocol of the intelligent terminal device in the Iaas layer; the Iaas layer refers to the Infrastructure as a Service layer, that is, the infrastructure service layer; the selected intelligent terminal devices include but are not limited to AGC trolleys, robotic arms, intelligent silos, intelligent feeding and transmission equipment, 5G terminal devices, etc.;
[0153] Step G3, perform embedded development on the selected intelligent terminal device and complete burning;
[0154] Step G4, create the corresponding digital device in the Paas layer device management platform, and define the reporting attributes and downlink command services supported by the smart terminal device; the Paas layer refers to Platform as a Service;
[0155] Step G5, create the data computing task required for the scenario on the Paas layer device management platform, define complete data output parameters, and start the task;
[0156] Step G6, create a digital twin corresponding to the scene in the SaaS layer and build a visual digital panel; the SaaS layer refers to Software as a Service;
[0157] Step G7, associate each component in the digital panel with the data computing task or the real-time reporting attributes of the digital device in the device management platform, and start the digital twin task.
[0158] At this point, the complete digital twin system has been built.
[0159] To sum up, each subsystem of the present embodiment includes a local offline mode and an online cloud mode. The subsystem can first jump to the local offline mode working process or the online cloud mode working process according to the selected operating mode; then, through step S2, the communication between the intelligent terminal device and the cloud platform of the intelligent manufacturing training sandbox is established, and the connection between the intelligent terminal device and the data processing center is established through the MQTT sub-node, CoAP sub-node and HTTP sub-node, and the data is saved in different databases through the data processing center to realize data display and application call; then, the job information can be synchronized through the digital twin system, and the status of the intelligent terminal device can be monitored in real time; finally, a digital device instance is created through the cloud platform, and then the intelligent terminal device can be associated with the digital device instance for online control. Therefore, the present invention can not only meet the needs of professional training, but also has a complete training scenario. Various intelligent terminal devices can be controlled in an interconnected manner, and the training content is basically consistent with the actual usage. Moreover, it can also be connected to a general cloud platform, and can be controlled and operated as a digital twin through the Internet of Things platform, which is convenient for students in professional fields to carry out real intelligent manufacturing training and teaching. After mastering the relevant training content, students can seamlessly meet the job requirements without the need for high-cost zero-based training.
[0160] This embodiment also preferably designs a reset temporary storage area. When the robot is in the reset operation, the current material can be placed on the reset temporary storage area. The temporary storage area is arranged with sensors and indicator lights, and the size is compatible with the loading block, accessory block and packaging box. It is worth noting that the pallet and chassis mechanism of the AGV smart car of the AGV transportation subsystem 4 described in this embodiment use a hidden pallet screw design, the loading block and accessory block of the automatic loading subsystem 1 are both laser engraved, and the packaging box of the storage subsystem 7 uses a film label inside the box, which is beautiful and wear-resistant. The sensors in the assembly area, unqualified area and reset temporary storage area all use diffuse reflection photoelectric sensors, which can identify materials more accurately and have high compatibility.
[0161] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the scope of protection of the present invention.
Claims
1. A control system for intelligent manufacturing training sandbox, It is characterized in that The following steps are involved: Step S1, controlling the operation mode of each subsystem, wherein the operation mode includes a local offline mode and an online cloud mode, and the subsystem jumps to the local offline mode working process or the online cloud mode working process according to the selected operation mode; Step S2, establishing communication between the intelligent terminal device of the intelligent manufacturing training sandbox and the cloud platform, establishing a connection between the intelligent terminal device and the data processing center through the MQTT subnode, CoAP subnode and HTTP subnode, and saving the data to different databases through the data processing center to realize data display and application call, the databases include rabbitmq information queue database, redis database, mysql database, mongodb database and loki time series log database; Step S3, synchronizing the operation information through the digital twin system and monitoring the status of the smart terminal device in real time; Step S4, creating a digital device instance through the cloud platform, and associating the smart terminal device with the digital device instance to perform online control; The online cloud mode working process of step S1 includes the following sub-steps: Step B1, complete the reporting attributes, command actions and network authentication supported by a single smart terminal device through embedded development, and burn them to the corresponding smart terminal device after powering on the smart terminal device; the smart terminal device includes AGV smart car, robot, smart silo and smart feeding and conveying equipment; Step B2: The AGV smart car and the robot are connected to the cloud platform through the 5G module, and the smart silo and the smart feeding and conveying equipment are connected to the cloud platform through the WIFI module. The successfully connected smart terminal devices are displayed online on the cloud platform; Step B3, the smart terminal device reports the working condition and performs corresponding operations according to the instructions issued by the cloud platform. When the selected operation mode is independent operation, the device attributes and service instructions are created through the cloud platform, and the smart terminal device is waited to execute the service instructions; when the selected operation mode is the whole machine strategy, an integrated strategy for multiple smart terminal devices is created through the cloud platform, and the cloud platform is started and the strategy start instruction is issued to the corresponding smart terminal device according to the control sequence, and each smart terminal device is waited to complete the integrated strategy; The step S3 comprises the following sub-steps: Step S301, determining the smart terminal device that can communicate normally with the cloud platform through network detection; Step S302, designing digital twin components on the cloud platform by dragging and dropping components displayed on the interface; Step S303, associating the digital twin component with the working conditions of each smart terminal device and the instructions it supports, and outputting the calculation results of the associated data; Step S304, save the associated data and its calculation results, and publish them. When the smart terminal device is a display device, report the device working condition and refresh the chart in the digital twin component in real time; when the smart terminal device is a control device, send a control instruction through the button switch component, and wait for the smart terminal device to respond and execute the control instruction; The step S4 comprises the following sub-steps: Step S401, capturing historical instances, extracting the operation mode, communication connection mode, control sequence and device status of the smart terminal device in the historical instances; Step S402, numbering and keywording the historical instances, and matching and associating the numbers, keywords, operation modes, communication connection modes, control sequences, and device states of the smart terminal devices to obtain a historical instance association table; Step S403, querying the historical instance association table according to the self-defined input digital device data, creating a digital device instance through the retrieved data, and associating the smart terminal device according to the digital device instance to perform online control; Step S404, detecting the working condition of the smart terminal device in real time, and comparing the current working condition of the smart terminal device with the historical instance, and issuing an alarm signal when the comparison result is mismatch.
2. According to the control system for intelligent manufacturing training sandbox according to claim 1, It is characterized in that The local offline mode working process of step S1 includes the following sub-steps: Step A1, designing a local strategy through embedded development, powering on the smart terminal device, and burning the local strategy to the smart terminal device and the local master control through the serial port; Step A2: The AGV smart car is connected to the 5G terminal device via WIFI, and then connected to the local master control via the 5G terminal device. Other smart terminal devices are connected to the local master control via network cables. Step A3, starting to execute the local strategy according to the selected operation mode. When the selected operation mode is independent operation, the local master control sends the corresponding independent operation instruction to the smart terminal device, and waits for the smart terminal device to execute the independent operation instruction; when the selected operation mode is the whole machine strategy, the local master control disassembles the whole machine strategy, and sends the disassembled whole machine strategy to the corresponding smart terminal device separately according to the control timing, and waits for each smart terminal device to complete the whole machine strategy.
3. According to the control system for intelligent manufacturing training sandbox according to claim 1 or 2, It is characterized in that In step S2, the process of establishing a connection between the smart terminal device and the data processing center through the MQTT subnode includes the following sub-steps: Step C1, fill in the release type topic, find the release type topic of the reported data in the release type list on the device details page, and report the data; Step C2, fill in the payload script for data transmission in JSON format, construct the reported data, and the data format of the reported data is: / extended parameters / $ { product key} / $ { smart terminal device name} / method name for reporting data; Step C3, parse and send the reported data, when reporting the data, request clock synchronization, and wait for the clock synchronization response.
4. According to the control system for intelligent manufacturing training sandbox according to claim 1 or 2, It is characterized in that In step S2, the process of establishing a connection between the intelligent terminal device and the data processing center through the CoAP sub-node includes the following sub-steps: Step D1, making an authentication request through an authentication request instruction; Step D2: reporting data via a data reporting request instruction.
5. According to the control system for intelligent manufacturing training sandbox according to claim 1 or 2, It is characterized in that In step S2, the process of establishing a connection between the intelligent terminal device and the data processing center through the HTTP sub-node includes the following sub-steps: Step E1, making an authentication request through an authentication request instruction; Step E2: reporting data via a data reporting request instruction.
6. The control system for intelligent manufacturing training sandbox according to claim 1 or 2, It is characterized in that The step S2 comprises the following sub-steps: Step S201, collecting device data of the intelligent terminal device of the intelligent manufacturing training sandbox in real time, and generating real scene data according to the device data of the intelligent terminal device; Step S202, uploading the real scene data to the access point of the corresponding protocol sub-node for the connection protocol supported by the smart terminal device; Step S203, processing the access point data of different protocol sub-nodes into a unified format and transmitting it to the data processing center; Step S204, the data is saved in different databases through the data processing center, the real-time data stream is stored in the rabbitmq information queue database, the real-time data snapshot is stored in the redis database, the alarm, online and over-the-air download OTA status are stored in the mysql database, the historical data is stored in the mongodb database, and the log data is stored in the loki time series log database, so as to realize data display and application call; In step S205, the cloud platform and the called application display the data to the user, and send the data to the smart terminal device through the interaction between the user and the cloud platform or the application.
7. The control system for intelligent manufacturing training sandbox according to claim 1 or 2, It is characterized in that The subsystems of the intelligent manufacturing training sandbox include an automatic loading subsystem, a weighing subsystem, a conveying subsystem, an AGV transport subsystem, a visual inspection subsystem, a six-axis robotic arm subsystem, a warehousing subsystem, a 5G wireless communication module and a 5G terminal device. The automatic loading subsystem is connected to the conveying subsystem through the weighing subsystem, and the conveying subsystem is connected to the six-axis robotic arm subsystem through the AGV transport subsystem. The visual inspection subsystem is arranged between the conveying subsystem and the six-axis robotic arm subsystem, and the warehousing subsystem is arranged next to the six-axis robotic arm subsystem; the automatic loading subsystem and the conveying subsystem are connected to the 5G terminal device through WIFI, and then connected to the cloud platform through the 5G terminal device; the AGV transport subsystem and the six-axis robotic arm subsystem are connected to the original platform through the 5G wireless communication module, and are connected to the local master control through a network cable, WIFI or a 5G terminal device, and the automatic loading subsystem is connected to the local master control through a network cable.
Citation Information
Patent Citations
Experimental teaching platform based on intelligent home sensing and control
CN107623739A
Comprehensive practical training live-action sand table system for Internet of Things
CN109741656A
Digital twin intelligent monitoring system for unmanned fully mechanized coal mining face of mine
CN111208759A
Cloud robot real-time monitoring and control method based on cloud, fog and edge cooperation
CN115189997A
Virtual reality intelligent simulation process linkage sand table implementation method based on digital twinning
CN116841257A
