WO2023133971A1 - Zigbee-based web3d virtual single-chip microcomputer digital twin system - Google Patents

Zigbee-based web3d virtual single-chip microcomputer digital twin system Download PDF

Info

Publication number
WO2023133971A1
WO2023133971A1 PCT/CN2022/077831 CN2022077831W WO2023133971A1 WO 2023133971 A1 WO2023133971 A1 WO 2023133971A1 CN 2022077831 W CN2022077831 W CN 2022077831W WO 2023133971 A1 WO2023133971 A1 WO 2023133971A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual
chip microcomputer
real
chip
scene
Prior art date
Application number
PCT/CN2022/077831
Other languages
French (fr)
Chinese (zh)
Inventor
王静
邹电
张应宝
王进
杨嘉凌
Original Assignee
长沙理工大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 长沙理工大学 filed Critical 长沙理工大学
Publication of WO2023133971A1 publication Critical patent/WO2023133971A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present application relates to the technical field of virtual single-chip microcomputer system, and more specifically, relates to a ZigBee-based Web3D virtual single-chip microcomputer digital twin system.
  • Digital twin is a simulation process that makes full use of physical models, sensor updates, operation history, etc., integrates multi-disciplinary, multi-physical quantities, multi-scale, and multi-probability simulation processes, and completes the mapping in the virtual space to reflect the entire life cycle of the corresponding physical equipment. process.
  • a digital twin is a concept beyond reality that can be viewed as a digital twin of one or more important, interdependent equipment systems.
  • Digital twin is a generally applicable theoretical and technical system, which is widely used in product design, product manufacturing, medical analysis, engineering construction and other fields.
  • this application provides a ZigBee-based Web3D virtual single-chip digital twin system, which can reflect the running status of the real hardware scene under the ZigBee protocol in real time, can better observe and monitor the running status of the system, and is easy to adjust The operating status of system nodes improves system development efficiency.
  • the application provides a ZigBee-based Web3D virtual single-chip digital twin system, including: a 3D virtual scene set under the ZigBee protocol; a virtual single-chip system set in the 3D virtual scene; The front end carries out virtual experiment emulation; The real hardware scene that is set under ZigBee agreement; The real single-chip microcomputer system that is set in described real hardware scene; Described real single-chip microcomputer system is in order to carry out single-chip microcomputer entity operation by physical electronic hardware; Set in the described 3D Between the virtual scene and the real hardware scene, the MQTT server of the virtual single-chip system and the real single-chip system is connected; the MQTT server is used to link the 3D virtual scene and the real hardware scene through the MQTT communication protocol to perform data processing. transmission, storage and synchronization.
  • the virtual single-chip microcomputer system includes:
  • the real single-chip microcomputer system includes:
  • the coordinator function real single-chip microcomputer system that is connected with described MQTT server;
  • the real single-chip microcomputer system of the router function connected with the real single-chip microcomputer system of the coordinator function;
  • a real single-chip microcomputer system with a terminal function that is communicatively connected with the real single-chip microcomputer system with the coordinator function and the real single-chip microcomputer system with the router function.
  • the ZigBee-based Web3D virtual single-chip microcomputer digital twin system also includes: a computer code editing box set in the 3D virtual scene for inputting control codes;
  • a virtual computer connected to the computer code editing box; a virtual burner connected to the virtual computer; the virtual burner is connected to the virtual single-chip microcomputer system to burn the control code into the virtual In the CPU of the single-chip microcomputer system.
  • Described real burner connects the described real single-chip microcomputer system with ZigBee communication module, in order to burn described control code to all In the CPU of the real single-chip microcomputer system.
  • the ZigBee-based Web3D virtual single-chip microcomputer digital twin system also includes: a host computer connected to the real single-chip microcomputer system set in the real hardware scene; To set a communication address for the real hardware scene node;
  • the virtual host computer front-end page connected with the virtual single-chip microcomputer system; the virtual host computer front-end page is used to set a communication address consistent with the real hardware scene node for the 3D virtual scene node .
  • the real hardware scene node and the 3D virtual scene node are network nodes under the ZigBee protocol, specifically any one of a coordinator, a router, and a terminal.
  • the ZigBee-based Web3D virtual single-chip digital twin system also includes: a virtual coordinator arranged between the virtual single-chip system and the MQTT server; and connecting the real The real coordinator of the microcontroller system and the MQTT server.
  • composition of the virtual single-chip microcomputer system includes:
  • a virtual single-chip microcomputer development board ; a virtual power supply connected to the virtual single-chip microcomputer development board;
  • a virtual voltage converter arranged between the virtual single-chip microcomputer development board and the virtual power supply;
  • the virtual external power supply is connected to the power interface of the virtual single-chip microcomputer development board through the virtual voltage converter, and provides analog power supply input for the virtual single-chip microcomputer development board;
  • a code converter connected with the virtual burner
  • the code converter is used to convert the control code into JavaScript code and synchronize it into the CPU of the virtual single-chip microcomputer development board after running and burning;
  • a virtual external electronic component library connected with the virtual single-chip microcomputer development board; the virtual external electronic component library is used to provide external virtual electronic components for the system.
  • the virtual single-chip microcomputer system further includes:
  • the virtual electronic components connected with the virtual single-chip microcomputer development board include: the first timing state detector connected with the virtual single-chip microcomputer development board; the first timing state detector is used to detect the The simulated power supply status of the virtual power supply; the second timing state detector located on the CPU port of the virtual single-chip microcomputer development board; the second timing state detector is used to detect the CPU port state, and continuously schedule each virtual electronic component work; and a virtual power switch connected to the virtual single-chip microcomputer development board; the virtual power switch is connected to the virtual voltage converter to connect the power supply input for the virtual single-chip microcomputer system.
  • a kind of ZigBee-based Web3D virtual single-chip microcomputer digital twin system includes: a 3D virtual scene set under the ZigBee protocol; a virtual single-chip microcomputer system set in the 3D virtual scene; The virtual single-chip microcomputer system is used to carry out virtual experiment simulation at the front end of the Web page; the real hardware scene set under the ZigBee protocol; the real single-chip microcomputer system set in the real hardware scene; Entity running; set between the 3D virtual scene and the real hardware scene, connecting the virtual single-chip system and the MQTT server of the real single-chip system; the MQTT server is used to link the 3D virtual scene and the real hardware scene through the MQTT communication protocol
  • the real hardware scene performs data transmission, storage and synchronization.
  • the real hardware scene corresponds to the 3D virtual scene under the ZigBee protocol, and the key is to realize the state synchronization of the virtual single-chip system and the real single-chip system through the communication protocol of the MQTT server;
  • the The virtual single-chip microcomputer system is based on Web front-end technology, and virtual electronic hardware is rendered through 3D modeling, and then combined with different virtual electronic components to restore multiple virtual single-chip microcomputer systems; It is built from electronic hardware; the MQTT server is set between the virtual single-chip system and the real single-chip system, and the operation effect of the real single-chip system is consistent with that of the virtual single-chip system through the MQTT protocol.
  • the virtual single-chip system can synchronize the operating status of the real single-chip system in real time, and perform status monitoring.
  • the technical solution involved in the present invention can reflect the running state of the real hardware scene under the ZigBee protocol in real time, can better observe and monitor the running state of the system, and is convenient for adjusting the running state of the system nodes , improve system development efficiency.
  • the digital twin system provided by this application can reflect the running status of the real hardware scene under the ZigBee protocol in real time, and can better observe and monitor the running status of the system, and facilitate the adjustment of the running status of the system nodes;
  • the digital twin system provided by this application can more conveniently debug and observe the real hardware scene under the ZigBee protocol, improve the development efficiency of the multi-single-chip computer system cooperative work system under the ZigBee protocol, and also help reduce hardware costs during project pre-research, Reduce project development risk.
  • Fig. 1 is the structural representation of the Web3D virtual single-chip computer digital twin system based on ZigBee that the embodiment of the present invention provides;
  • Fig. 2 is the first working mechanism diagram of the ZigBee-based Web3D virtual single-chip digital twin system provided by the embodiment of the present invention
  • FIG. 3 is a diagram of the second working mechanism of the ZigBee-based Web3D virtual single-chip digital twin system provided by the embodiment of the present invention.
  • first and second are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, a feature defined as “first” and “second” may explicitly or implicitly include one or more of these features. In the description of the present application, the meanings of "plurality” and “several” are two or more, unless otherwise specifically defined.
  • the ZigBee-based Web3D virtual single-chip digital twin system includes: a 3D virtual scene set under the ZigBee protocol; a virtual single-chip microcomputer system set in the 3D virtual scene ;
  • the virtual single-chip microcomputer system is used to carry out virtual experiment simulation at the front end of the Web page; the real hardware scene set under the ZigBee protocol; the real single-chip microcomputer system set in the real hardware scene;
  • the hardware performs the physical operation of the single-chip microcomputer; it is set between the 3D virtual scene and the real hardware scene, and connects the MQTT server of the virtual single-chip system and the real single-chip system; the MQTT server is used to link the 3D through the MQTT communication protocol.
  • the virtual scene and the real hardware scene perform data transmission, storage and synchronization.
  • the present invention provides a ZigBee-based Web3D virtual single-chip digital twin system, specifically comprising: a 3D virtual scene set under the ZigBee protocol; a virtual single-chip system set in the 3D virtual scene; The front end of the web page carries out virtual experiment simulation; the real hardware scene set under the ZigBee protocol; the real single-chip microcomputer system set in the real hardware scene; the real single-chip microcomputer system is used to carry out single-chip microcomputer entity operation through physical electronic hardware; Between the 3D virtual scene and the real hardware scene, the MQTT server of the virtual single-chip system and the real single-chip system is connected; the MQTT server is used to link the 3D virtual scene and the real hardware scene through the MQTT communication protocol to perform Data transmission, storage and synchronization.
  • the real hardware scene corresponds to the 3D virtual scene under the ZigBee protocol, and the key is to realize the state synchronization of the virtual single-chip system and the real single-chip system through the communication protocol of the MQTT server;
  • the The virtual single-chip microcomputer system is based on Web front-end technology, and virtual electronic hardware is rendered through 3D modeling, and then combined with different virtual electronic components to restore multiple virtual single-chip microcomputer systems; It is built from electronic hardware; the MQTT server is set between the virtual single-chip system and the real single-chip system, and the operation effect of the real single-chip system is consistent with that of the virtual single-chip system through the MQTT protocol.
  • the virtual single-chip system can synchronize the operating status of the real single-chip system in real time, and perform status monitoring.
  • the technical solution involved in the present invention can reflect the running state of the real hardware scene under the ZigBee protocol in real time, can better observe and monitor the running state of the system, and is convenient for adjusting the running state of the system nodes , improve system development efficiency.
  • the virtual single-chip computer system includes: a coordinator function virtual single-chip computer system connected to the MQTT server; a router function virtual single-chip computer system connected to the coordinator function virtual single-chip computer system; and A terminal function virtual single-chip microcomputer system communicatively connected with the coordinator function virtual single-chip computer system and the router function virtual single-chip computer system.
  • the real single-chip microcomputer system includes: a coordinator function real single-chip microcomputer system connected to the MQTT server; a router function real single-chip microcomputer system connected to the coordinator function real single-chip microcomputer system; and A real single-chip microcomputer system with a terminal function that is communicatively connected to the real single-chip microcomputer system with the coordinator function and the real single-chip microcomputer system with the router function.
  • the real hardware scene corresponds to the 3D virtual scene under the ZigBee protocol, and state synchronization is realized through the MQTT Internet of Things instant messaging protocol in the MQTT server.
  • the coordinator function real single-chip microcomputer system in the real hardware scene is responsible for sending network beacons, establishing a network, managing network nodes, storing network node information, and finding a pair of nodes Inter-routing messages, continuously receiving information, and synchronizing information to the tasks of the MQTT server;
  • the real single-chip microcomputer system of the router function undertakes the tasks of data collection, processing and transmission;
  • the real single-chip microcomputer system of the terminal function undertakes the specific execution of data collection and transmission tasks;
  • each real single-chip microcomputer system in the real hardware scene has a set of corresponding 3D models in the 3D virtual scene, the data in the MQTT server is obtained in real time, and the state of each single-chip microcomputer system in the real hardware scene is synchronized.
  • the single-chip microcomputer system is missing in the real hardware scene, the missing single-chip microcomputer system can be virtualized in the 3D virtual scene and its proper functions can be simulated, and it can be linked with other single-chip microcomputer systems according to the ZigBee protocol to improve development costs and efficiency.
  • the ZigBee-based Web3D virtual single-chip digital twin system also includes: a computer code editing box for inputting control codes in the 3D virtual scene;
  • the virtual computer connected to the edit box; the virtual burner connected to the virtual computer; the virtual burner is connected to the virtual single-chip microcomputer system, in order to burn the control code into the CPU of the virtual single-chip microcomputer system .
  • the present invention also includes: a code development platform set in the real hardware scene to write the control code; a real computer connected to the code development platform; The real burner of computer; The real burner is connected with the real single-chip microcomputer system with ZigBee communication module, in order to burn the control code into the CPU of the real single-chip microcomputer system.
  • the real single-chip microcomputer system and the virtual single-chip microcomputer system use the same set of control codes, and the code burning process is similar.
  • code burning now write the control code on the code development platform, and burn it into the real single-chip microcomputer system through the real burner;
  • the control code is written into the virtual computer by the computer code editing box, and then burned into the virtual single-chip microcomputer system through the virtual burner.
  • the ZigBee-based Web3D virtual single-chip microcomputer digital twin system also includes: an upper computer connected to the real single-chip computer system in the real hardware scene; Set communication address for described real hardware scene node; Be set in described 3D virtual scene, the virtual host computer front-end page that is connected with described virtual single-chip microcomputer system; Described virtual host computer front-end page is used for setting for described 3D virtual scene node The communication address consistent with the real hardware scene node.
  • the communication address of the nodes in the real hardware scene can be set through the software in the host computer, and a front-end page of a virtual host computer is correspondingly designed in the 3D virtual scene, so as to control the virtual single-chip microcomputer system Set the communication address.
  • the communication address set in the virtual single-chip microcomputer system must be consistent with the communication address set in the corresponding real single-chip microcomputer system.
  • the real hardware scene node and the 3D virtual scene node are network nodes under the ZigBee protocol, specifically any one of a coordinator, a router, and a terminal.
  • the nodes in the real hardware scene and the nodes in the 3D virtual scene all refer to network nodes under the ZigBee protocol, which can be any one of a router, a terminal, and a coordinator; when the node is a coordinator , as shown in Figure 3, directly interacts with the MQTT server.
  • ZigBee protocol can be any one of a router, a terminal, and a coordinator
  • the ZigBee-based Web3D virtual single-chip digital twin system also includes: a virtual coordinator arranged between the virtual single-chip system and the MQTT server; and connecting the real single-chip system and the real coordinator of the MQTT server.
  • the nodes of the real hardware scene will integrate and send the collected data in real time and send the real coordinator to the MQTT server,
  • the virtual coordinator then synchronizes the state information of the nodes in the real hardware scene to the virtual nodes in real time, so that the running state effect of the nodes in the 3D virtual scene is consistent with that in the real scene.
  • some functions of the single-chip system are allowed to be manually set, and sent to the virtual coordinator in the form of data instructions, and the data instructions are transmitted to the MQTT server through the virtual coordinator, and the real coordinator Then, the data instruction is distributed to the corresponding node, so that the running state of the corresponding node is changed, and the remote control of the real hardware scene by the 3D virtual scene is realized.
  • the composition of the virtual single-chip microcomputer system includes: a virtual single-chip microcomputer development board; a virtual power supply connected to the virtual single-chip microcomputer development board; The virtual voltage converter between; the virtual external power supply is connected to the power interface of the virtual single-chip microcomputer development board through the virtual voltage converter, and provides analog power supply input for the virtual single-chip microcomputer development board; and the virtual burner A code converter connected; the code converter is used to convert the control code into JavaScript code and synchronize to the CPU of the virtual single-chip microcomputer development board after running and burning; and the virtual single-chip microcomputer development board connected with the virtual External electronic component library; the virtual external electronic component library is used to provide external virtual electronic components for the system.
  • the virtual single-chip microcomputer system further includes: a virtual electronic component connected to the virtual single-chip development board; the virtual electronic component includes: a virtual electronic component connected to the virtual single-chip development board The first timing state detector; The first timing state detector is used to detect the analog power supply situation of the virtual power supply; The second timing state detector that is located on the CPU port of the virtual single-chip microcomputer development board; The second Timing state detector is in order to detect CPU port state, continuously dispatches each described virtual electronic components and parts work; And the virtual power switch that is connected with described virtual single-chip microcomputer development board; Described virtual power switch connects described virtual voltage converter, in order to The virtual single-chip microcomputer system is connected to the power supply input.
  • the ZigBee-based Web3D virtual single-chip microcomputer digital twin system involved in the embodiment of the present invention in this application, the real hardware scene under the ZigBee protocol corresponds to the 3D virtual scene, the key is to pass the MQTT server
  • the communication protocol realizes the state synchronization of the virtual single-chip system and the real single-chip system; wherein, the virtual single-chip system is based on Web front-end technology, and renders virtual electronic hardware through 3D modeling, and then combines different virtual electronic components
  • the device restores a plurality of virtual single-chip microcomputer systems; the real single-chip microcomputer system is built by physical electronic hardware; the MQTT server is provided between the virtual single-chip microcomputer system and the real single-chip microcomputer system, through MQTT
  • the protocol makes the operation effect of the real single-chip system consistent with that of the virtual single-chip system.
  • the digital twin technology Through the digital twin technology, "virtual mirroring the real, real control of the virtual” is realized, and the data in the MQTT server is obtained in real time.
  • the virtual single-chip system can be synchronized in real time.
  • the running status of the real single-chip microcomputer system is monitored for status.
  • the technical solution involved in the present invention can reflect the running state of the real hardware scene under the ZigBee protocol in real time, can better observe and monitor the running state of the system, and is convenient for adjusting the running state of the system nodes , improve system development efficiency.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present application discloses a ZigBee-based Web3D virtual single-chip microcomputer digital twin system. The system comprises: a 3D virtual scene arranged under a ZigBee protocol; a virtual single-chip microcomputer system arranged in the 3D virtual scene, the virtual single-chip microcomputer system being used for performing virtual experiment simulation at the front end of a Web page; a real hardware scene arranged under the ZigBee protocol; a real single-chip microcomputer system arranged in the real hardware scene, the real single-chip microcomputer system being used for performing single-chip microcomputer physical operation by means of physical electronic hardware; and an MQTT server arranged between the 3D virtual scene and the real hardware scene, the MQTT server being used for linking the 3D virtual scene and the real hardware scene by means of an MQTT communication protocol so as to perform data transmission, storage and synchronization. According to the technical solution involved in the present invention, the operation state of the real hardware scene under the ZigBee protocol can be reflected in real time, the operation state of the system can be better observed and monitored, and the operation state of a system node can be conveniently adjusted, thereby increasing the system development efficiency.

Description

基于ZigBee的Web3D虚拟单片机数字孪生系统Web3D virtual MCU digital twin system based on ZigBee 技术领域technical field
本申请涉及虚拟单片机系统技术领域,更具体地说,尤其涉及一种基于ZigBee的Web3D虚拟单片机数字孪生系统。The present application relates to the technical field of virtual single-chip microcomputer system, and more specifically, relates to a ZigBee-based Web3D virtual single-chip microcomputer digital twin system.
背景技术Background technique
数字孪生是充分利用物理模型、传感器更新、运行历史等数据,集成多学科、多物理量、多尺度、多概率的仿真过程,在虚拟空间中完成映射,从而反映相对应的实体装备的全生命周期过程。数字孪生是一种超越现实的概念,可以被视为一个或多个重要的、彼此依赖的装备系统的数字映射系统。数字孪生是个普遍适应的理论技术体系,现如今在产品设计、产品制造、医学分析、工程建设等领域应用较多。Digital twin is a simulation process that makes full use of physical models, sensor updates, operation history, etc., integrates multi-disciplinary, multi-physical quantities, multi-scale, and multi-probability simulation processes, and completes the mapping in the virtual space to reflect the entire life cycle of the corresponding physical equipment. process. A digital twin is a concept beyond reality that can be viewed as a digital twin of one or more important, interdependent equipment systems. Digital twin is a generally applicable theoretical and technical system, which is widely used in product design, product manufacturing, medical analysis, engineering construction and other fields.
目前,传统多个单片机系统使用ZigBee协议进行联动时,需要借助真实的电子硬件,整个系统调试麻烦、不易观察,并且在缺失部分电子硬件的情况下无法提前验证缺失的电子硬件需要编写的代码,降低开发效率。现如今关于此领域的技术研究也层出不穷,在申请号为202111252171.X的中国发明专利中,公开了一种Web3D多虚拟单片机系统的协同作业系统,此专利公开的技术基于Web前端技术,通过3D建模渲染出虚拟的电子硬件,再组合不同的虚拟电子硬件能够还原多个真实的单片机系统。因此,在实际单片机系统的项目开发中,利用上述技术可以解决虚拟单片机仿真的问题,但是系统开发需要得到的是真实的单片机系统,在开发时必然需要对真实单片机系统进行状态检测,确保开发系统的正确性,这就导致在开发过程必然会遇到虚拟单片机系统与真实单片机系统联动运行的问题;但是,此类问题在现如今虚、实单片机系统仿真监测中并没有得到有效解决,可以说使用数字孪生技术对基于ZigBee协议进行通信的单片机系统进行虚拟实现还是一片空白。At present, when multiple traditional single-chip microcomputer systems are linked using the ZigBee protocol, real electronic hardware is needed. The whole system is troublesome to debug and difficult to observe, and it is impossible to verify in advance the code that needs to be written for the missing electronic hardware when some electronic hardware is missing. Reduce development efficiency. Nowadays, technical research in this field is also emerging. In the Chinese invention patent application number 202111252171.X, a collaborative operation system of Web3D multi-virtual single-chip computer system is disclosed. The technology disclosed in this patent is based on Web front-end technology. Through 3D Modeling and rendering of virtual electronic hardware, and then combining different virtual electronic hardware can restore multiple real single-chip microcomputer systems. Therefore, in the project development of the actual single-chip microcomputer system, the above-mentioned technology can be used to solve the problem of virtual single-chip microcomputer simulation, but what the system development needs to obtain is a real single-chip microcomputer system, and it is necessary to check the status of the real single-chip microcomputer system during development to ensure that the development system The correctness of the system leads to the problem that the virtual single-chip system and the real single-chip system will run in conjunction with each other during the development process; however, such problems have not been effectively solved in the simulation monitoring of virtual and real single-chip systems today. It can be said that It is still blank to use digital twin technology to realize the virtual realization of single-chip microcomputer system based on ZigBee protocol communication.
因此,如何提供一种基于ZigBee的Web3D虚拟单片机数字孪生系统,其能够实时反应出ZigBee协议下真实硬件场景的运行状态,能够更好的观察、监测系统的运行状态,便于调整系统节点的运行状态,提高系统开发效率,已经成为本领域技术人员亟待解决的技术问题。Therefore, how to provide a ZigBee-based Web3D virtual single-chip digital twin system, which can reflect the running status of the real hardware scene under the ZigBee protocol in real time, can better observe and monitor the running status of the system, and facilitate adjustment of the running status of the system nodes , improving system development efficiency has become a technical problem to be solved urgently by those skilled in the art.
发明内容Contents of the invention
为解决上述技术问题,本申请提供一种基于ZigBee的Web3D虚拟单片机数字孪生系统,其能够实时反应出ZigBee协议下真实硬件场景的运行状态,能够更好的观察、监测系统的运行状态,便于调整系统节点的运行状态,提高系统开发效率。In order to solve the above technical problems, this application provides a ZigBee-based Web3D virtual single-chip digital twin system, which can reflect the running status of the real hardware scene under the ZigBee protocol in real time, can better observe and monitor the running status of the system, and is easy to adjust The operating status of system nodes improves system development efficiency.
本申请提供的技术方案如下:The technical scheme that this application provides is as follows:
本申请提供一种基于ZigBee的Web3D虚拟单片机数字孪生系统,包括:设于ZigBee协议下的3D虚拟场景;设于所述3D虚拟场景中的虚拟单片机系统;所述虚拟单片机系统用以在Web网页前端进行虚拟实验仿真;设于ZigBee协议下的真实硬件场景;设于所述真实硬件场景中的真实单片机系统;所述真实单片机系统用以通过实体电子硬件进行单片机实体运行;设于所述3D虚拟场景以及所述真实硬件场景之间,连接所述虚拟单片机系统和真实单片机系统的MQTT服务器;所述MQTT服务器用以通过MQTT通信协议联动所述3D虚拟场景以及所述真实硬件场景,进行数据的传输、储存以及同步。The application provides a ZigBee-based Web3D virtual single-chip digital twin system, including: a 3D virtual scene set under the ZigBee protocol; a virtual single-chip system set in the 3D virtual scene; The front end carries out virtual experiment emulation; The real hardware scene that is set under ZigBee agreement; The real single-chip microcomputer system that is set in described real hardware scene; Described real single-chip microcomputer system is in order to carry out single-chip microcomputer entity operation by physical electronic hardware; Set in the described 3D Between the virtual scene and the real hardware scene, the MQTT server of the virtual single-chip system and the real single-chip system is connected; the MQTT server is used to link the 3D virtual scene and the real hardware scene through the MQTT communication protocol to perform data processing. transmission, storage and synchronization.
进一步地,在本发明一种优选方式中,所述虚拟单片机系统包括:Further, in a preferred manner of the present invention, the virtual single-chip microcomputer system includes:
与所述MQTT服务器连接的协调器功能虚拟单片机系统;A coordinator function virtual single-chip microcomputer system connected with the MQTT server;
与所述协调器功能虚拟单片机系统连接的路由器功能虚拟单片机系统;A router function virtual single-chip computer system connected with the coordinator function virtual single-chip computer system;
以及与所述协调器功能虚拟单片机系统以及所述路由器功能虚拟单片机系统通信连接的终端功能虚拟单片机系统。And a terminal function virtual single-chip microcomputer system communicatively connected with the coordinator function virtual single-chip computer system and the router function virtual single-chip computer system.
进一步地,在本发明一种优选方式中,所述真实单片机系统包括:Further, in a preferred manner of the present invention, the real single-chip microcomputer system includes:
与所述MQTT服务器连接的协调器功能真实单片机系统;The coordinator function real single-chip microcomputer system that is connected with described MQTT server;
与所述协调器功能真实单片机系统连接的路由器功能真实单片机系统;The real single-chip microcomputer system of the router function connected with the real single-chip microcomputer system of the coordinator function;
以及与所述协调器功能真实单片机系统以及所述路由器功能真实单片机系统通信连接的终端功能真实单片机系统。And a real single-chip microcomputer system with a terminal function that is communicatively connected with the real single-chip microcomputer system with the coordinator function and the real single-chip microcomputer system with the router function.
进一步地,在本发明一种优选方式中,所述基于ZigBee的Web3D虚拟单片机数字孪生系统还包括:设于所述3D虚拟场景中,用以输入控制代码的电脑代码编辑框;Further, in a preferred mode of the present invention, the ZigBee-based Web3D virtual single-chip microcomputer digital twin system also includes: a computer code editing box set in the 3D virtual scene for inputting control codes;
与所述电脑代码编辑框连接的虚拟电脑;与所述虚拟电脑连接的虚拟烧录器;所述虚拟烧录器连接所述虚拟单片机系统,用以将所述控制代码烧录至所述虚拟单片机系统的CPU中。A virtual computer connected to the computer code editing box; a virtual burner connected to the virtual computer; the virtual burner is connected to the virtual single-chip microcomputer system to burn the control code into the virtual In the CPU of the single-chip microcomputer system.
进一步地,在本发明一种优选方式中,还包括:Further, in a preferred mode of the present invention, it also includes:
设于所述真实硬件场景中,用以写入所述控制代码的代码开发平台;A code development platform for writing the control code in the real hardware scene;
与所述代码开发平台的真实电脑;连接所述真实电脑的真实烧录器;所述真实烧录器连接带ZigBee通信模块的所述真实单片机系统,用以将所述控制代码烧录至所述真实单片机系统的CPU中。With the real computer of described code development platform; Connect the real burner of described real computer; Described real burner connects the described real single-chip microcomputer system with ZigBee communication module, in order to burn described control code to all In the CPU of the real single-chip microcomputer system.
进一步地,在本发明一种优选方式中,所述基于ZigBee的Web3D虚拟单片机数字孪生系统还包括:设于所述真实硬件场景中,与所述真实单片机系统连接的上位机;所述上位机用以为所述真实硬件场景节点设置通信地址;Further, in a preferred mode of the present invention, the ZigBee-based Web3D virtual single-chip microcomputer digital twin system also includes: a host computer connected to the real single-chip microcomputer system set in the real hardware scene; To set a communication address for the real hardware scene node;
设于所述3D虚拟场景中,与所述虚拟单片机系统连接的虚拟上位机前端页面;所述虚拟上位机前端页面用以为所述3D虚拟场景节点设置与所述真实硬件场景节点一致的通信地址。Set in the 3D virtual scene, the virtual host computer front-end page connected with the virtual single-chip microcomputer system; the virtual host computer front-end page is used to set a communication address consistent with the real hardware scene node for the 3D virtual scene node .
进一步地,在本发明一种优选方式中,所述真实硬件场景节点以及所述3D虚拟场景节点为在ZigBee协议下的网络节点,具体为协调器、路由器以及终端中的任意一种。Further, in a preferred manner of the present invention, the real hardware scene node and the 3D virtual scene node are network nodes under the ZigBee protocol, specifically any one of a coordinator, a router, and a terminal.
进一步地,在本发明一种优选方式中,所述基于ZigBee的Web3D虚拟单片机数字孪生系统还包括:设于所述虚拟单片机系统以及所述MQTT服务器之间的虚拟协调器;以及连接所述真实单片机系统以及所述MQTT服务器的真实协调器。Further, in a preferred mode of the present invention, the ZigBee-based Web3D virtual single-chip digital twin system also includes: a virtual coordinator arranged between the virtual single-chip system and the MQTT server; and connecting the real The real coordinator of the microcontroller system and the MQTT server.
进一步地,在本发明一种优选方式中,所述虚拟单片机系统组成包括:Further, in a preferred manner of the present invention, the composition of the virtual single-chip microcomputer system includes:
虚拟单片机开发板;与所述虚拟单片机开发板连接的虚拟电源;A virtual single-chip microcomputer development board; a virtual power supply connected to the virtual single-chip microcomputer development board;
设于所述虚拟单片机开发板以及所述虚拟电源之间的虚拟电压转换器;A virtual voltage converter arranged between the virtual single-chip microcomputer development board and the virtual power supply;
所述虚拟外置电源通过所述虚拟电压转换器连接所述虚拟单片机开发板的电源接口,为所述虚拟单片机开发板提供模拟供电输入;The virtual external power supply is connected to the power interface of the virtual single-chip microcomputer development board through the virtual voltage converter, and provides analog power supply input for the virtual single-chip microcomputer development board;
与所述虚拟烧录器连接的代码转换器;A code converter connected with the virtual burner;
所述代码转换器用以在运行烧录后将所述控制代码转换成JavaScript代码并同步到所述虚拟单片机开发板的CPU中;The code converter is used to convert the control code into JavaScript code and synchronize it into the CPU of the virtual single-chip microcomputer development board after running and burning;
以及与所述虚拟单片机开发板连接的虚拟外置电子元器件库;所述虚拟外置电子元器件库用以为系统提供外置虚拟电子元器件。And a virtual external electronic component library connected with the virtual single-chip microcomputer development board; the virtual external electronic component library is used to provide external virtual electronic components for the system.
进一步地,在本发明一种优选方式中,所述虚拟单片机系统还包括:Further, in a preferred manner of the present invention, the virtual single-chip microcomputer system further includes:
与所述虚拟单片机开发板连接的虚拟电子元器件;所述虚拟电子元器件包括:与所述虚拟单片机开发板连接的的第一定时状态检测器;所述第一定 时状态检测器用以检测所述虚拟电源的模拟供电状况;设于所述虚拟单片机开发板CPU端口上的第二定时状态检测器;所述第二定时状态检测器用以检测CPU端口状态,持续调度各所述虚拟电子元器件工作;以及与所述虚拟单片机开发板连接的虚拟电源开关;所述虚拟电源开关连接所述虚拟电压转换器,用以为虚拟单片机系统接通供电输入。The virtual electronic components connected with the virtual single-chip microcomputer development board; the virtual electronic components include: the first timing state detector connected with the virtual single-chip microcomputer development board; the first timing state detector is used to detect the The simulated power supply status of the virtual power supply; the second timing state detector located on the CPU port of the virtual single-chip microcomputer development board; the second timing state detector is used to detect the CPU port state, and continuously schedule each virtual electronic component work; and a virtual power switch connected to the virtual single-chip microcomputer development board; the virtual power switch is connected to the virtual voltage converter to connect the power supply input for the virtual single-chip microcomputer system.
本发明提供的一种基于ZigBee的Web3D虚拟单片机数字孪生系统,与现有技术相比,包括:设于ZigBee协议下的3D虚拟场景;设于所述3D虚拟场景中的虚拟单片机系统;所述虚拟单片机系统用以在Web网页前端进行虚拟实验仿真;设于ZigBee协议下的真实硬件场景;设于所述真实硬件场景中的真实单片机系统;所述真实单片机系统用以通过实体电子硬件进行单片机实体运行;设于所述3D虚拟场景以及所述真实硬件场景之间,连接所述虚拟单片机系统和真实单片机系统的MQTT服务器;所述MQTT服务器用以通过MQTT通信协议联动所述3D虚拟场景以及所述真实硬件场景,进行数据的传输、储存以及同步。在本申请中,在ZigBee协议下所述真实硬件场景对应所述3D虚拟场景,关键在于通过所述MQTT服务器的通信协议实现所述虚拟单片机系统以及所述真实单片机系统的状态同步;其中,所述虚拟单片机系统,是基于Web前端技术,通过3D建模渲染出虚拟的电子硬件,再组合不同的虚拟电子元器件还原多个所述虚拟单片机系统;而所述真实单片机系统,则是通过实体电子硬件搭建而成;在所述虚拟单片机系统以及所述真实单片机系统之间设有所述MQTT服务器,通过MQTT协议使得真实单片机系统的运行效果和虚拟单片机系统的运行效果一致,通过数字孪生技术实现“虚映实,实控虚”,实时获取MQTT服务器里面的数据,所述虚拟单片机系统可以实时同步所述真实单片机系统中运行状态,进行状态监测。本发明涉及的技术方案,相较于现有技术而言,其能够实时反应出ZigBee协议下真实硬件场景的运行状态,能够更好的观察、监测系统的运行状态,便于调整系统节点的运行状态,提高系统开发效率。A kind of ZigBee-based Web3D virtual single-chip microcomputer digital twin system provided by the present invention, compared with the prior art, includes: a 3D virtual scene set under the ZigBee protocol; a virtual single-chip microcomputer system set in the 3D virtual scene; The virtual single-chip microcomputer system is used to carry out virtual experiment simulation at the front end of the Web page; the real hardware scene set under the ZigBee protocol; the real single-chip microcomputer system set in the real hardware scene; Entity running; set between the 3D virtual scene and the real hardware scene, connecting the virtual single-chip system and the MQTT server of the real single-chip system; the MQTT server is used to link the 3D virtual scene and the real hardware scene through the MQTT communication protocol The real hardware scene performs data transmission, storage and synchronization. In this application, the real hardware scene corresponds to the 3D virtual scene under the ZigBee protocol, and the key is to realize the state synchronization of the virtual single-chip system and the real single-chip system through the communication protocol of the MQTT server; wherein, the The virtual single-chip microcomputer system is based on Web front-end technology, and virtual electronic hardware is rendered through 3D modeling, and then combined with different virtual electronic components to restore multiple virtual single-chip microcomputer systems; It is built from electronic hardware; the MQTT server is set between the virtual single-chip system and the real single-chip system, and the operation effect of the real single-chip system is consistent with that of the virtual single-chip system through the MQTT protocol. Through the digital twin technology Realize "virtual mirroring reality, real control virtual", real-time acquisition of data in the MQTT server, the virtual single-chip system can synchronize the operating status of the real single-chip system in real time, and perform status monitoring. Compared with the prior art, the technical solution involved in the present invention can reflect the running state of the real hardware scene under the ZigBee protocol in real time, can better observe and monitor the running state of the system, and is convenient for adjusting the running state of the system nodes , improve system development efficiency.
有益效果:Beneficial effect:
1.本申请提供的数字孪生系统能够实时反应出ZigBee协议下真实硬件场景的运行状态,能够更好的观察、监测系统的运行状态,便于调整系统节点的运行状态;1. The digital twin system provided by this application can reflect the running status of the real hardware scene under the ZigBee protocol in real time, and can better observe and monitor the running status of the system, and facilitate the adjustment of the running status of the system nodes;
2.本申请提供的数字孪生系统能更加方便调试、观察ZigBee协议下的真实硬件场景,提高ZigBee协议下的多单片机系统协同工作系统的开发效率,同时也有助于项目预研时减少硬件成本、降低项目开发风险。2. The digital twin system provided by this application can more conveniently debug and observe the real hardware scene under the ZigBee protocol, improve the development efficiency of the multi-single-chip computer system cooperative work system under the ZigBee protocol, and also help reduce hardware costs during project pre-research, Reduce project development risk.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present application. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为本发明实施例提供的基于ZigBee的Web3D虚拟单片机数字孪生系统的结构示意图;Fig. 1 is the structural representation of the Web3D virtual single-chip computer digital twin system based on ZigBee that the embodiment of the present invention provides;
图2为本发明实施例提供的基于ZigBee的Web3D虚拟单片机数字孪生系统的第一种工作机制图;Fig. 2 is the first working mechanism diagram of the ZigBee-based Web3D virtual single-chip digital twin system provided by the embodiment of the present invention;
图3为本发明实施例提供的基于ZigBee的Web3D虚拟单片机数字孪生系统的第二种工作机制图。FIG. 3 is a diagram of the second working mechanism of the ZigBee-based Web3D virtual single-chip digital twin system provided by the embodiment of the present invention.
具体实施方式Detailed ways
为了使本领域的技术人员更好地理解本申请中的技术方案,下面将结合本申请实施例中的附图对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those skilled in the art to better understand the technical solution in the application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the drawings in the embodiment of the application. Obviously, the described implementation Examples are only some of the embodiments of the present application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.
需要说明的是,当元件被称为“固定于”或“设置于”另一个元件上,它可以直接在另一个元件上或者间接设置在另一个元件上;当一个元件被称为是“连接于”另一个元件,它可以是直接连接到另一个元件或间接连接至另一个元件上。It should be noted that when an element is referred to as being "fixed" or "disposed on" another element, it may be directly disposed on another element or indirectly disposed on another element; when an element is referred to as being "connected" It may be directly connected to another element or indirectly connected to another element.
需要理解的是,术语“长度”、“宽度”、“上”、“下”、“前”、“后”、“第一”、“第二”、“竖直”、“水平”、“顶”、“底”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。It is to be understood that the terms "length", "width", "upper", "lower", "front", "rear", "first", "second", "vertical", "horizontal", " The orientations or positional relationships indicated by "top", "bottom", "inner", "outer", etc. are based on the orientations or positional relationships shown in the drawings, and are only for the convenience of describing the application and simplifying the description, rather than indicating or implying the It should not be construed as limiting the application to indicate that a device or element must have a particular orientation, be constructed, and operate in a particular orientation.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或 暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请的描述中,“多个”、“若干个”的含义是两个或两个以上,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, a feature defined as "first" and "second" may explicitly or implicitly include one or more of these features. In the description of the present application, the meanings of "plurality" and "several" are two or more, unless otherwise specifically defined.
须知,本说明书附图所绘示的结构、比例、大小等,均仅用以配合说明书所揭示的内容,以供熟悉此技术的人士了解与阅读,并非用以限定本申请可实施的限定条件,故不具技术上的实质意义,任何结构的修饰、比例关系的改变或大小的调整,在不影响本申请所能产生的功效及所能达成的目的下,均应仍落在本申请所揭示的技术内容得能涵盖的范围内。It should be noted that the structures, proportions, sizes, etc. shown in the drawings of this specification are only used to match the content disclosed in the specification, for those who are familiar with this technology to understand and read, and are not used to limit the conditions that this application can implement , so it has no technical substantive meaning, and any modification of structure, change of proportional relationship or adjustment of size shall still fall within the scope of the disclosure disclosed in this application without affecting the effect and purpose of this application. The technical content must be within the scope covered.
请如图1至图3所示,本申请实施例提供的基于ZigBee的Web3D虚拟单片机数字孪生系统,包括:设于ZigBee协议下的3D虚拟场景;设于所述3D虚拟场景中的虚拟单片机系统;所述虚拟单片机系统用以在Web网页前端进行虚拟实验仿真;设于ZigBee协议下的真实硬件场景;设于所述真实硬件场景中的真实单片机系统;所述真实单片机系统用以通过实体电子硬件进行单片机实体运行;设于所述3D虚拟场景以及所述真实硬件场景之间,连接所述虚拟单片机系统和真实单片机系统的MQTT服务器;所述MQTT服务器用以通过MQTT通信协议联动所述3D虚拟场景以及所述真实硬件场景,进行数据的传输、储存以及同步。As shown in Figures 1 to 3, the ZigBee-based Web3D virtual single-chip digital twin system provided by the embodiment of the present application includes: a 3D virtual scene set under the ZigBee protocol; a virtual single-chip microcomputer system set in the 3D virtual scene ; The virtual single-chip microcomputer system is used to carry out virtual experiment simulation at the front end of the Web page; the real hardware scene set under the ZigBee protocol; the real single-chip microcomputer system set in the real hardware scene; The hardware performs the physical operation of the single-chip microcomputer; it is set between the 3D virtual scene and the real hardware scene, and connects the MQTT server of the virtual single-chip system and the real single-chip system; the MQTT server is used to link the 3D through the MQTT communication protocol. The virtual scene and the real hardware scene perform data transmission, storage and synchronization.
本发明提供一种基于ZigBee的Web3D虚拟单片机数字孪生系统,具体包括:设于ZigBee协议下的3D虚拟场景;设于所述3D虚拟场景中的虚拟单片机系统;所述虚拟单片机系统用以在Web网页前端进行虚拟实验仿真;设于ZigBee协议下的真实硬件场景;设于所述真实硬件场景中的真实单片机系统;所述真实单片机系统用以通过实体电子硬件进行单片机实体运行;设于所述3D虚拟场景以及所述真实硬件场景之间,连接所述虚拟单片机系统和真实单片机系统的MQTT服务器;所述MQTT服务器用以通过MQTT通信协议联动所述3D虚拟场景以及所述真实硬件场景,进行数据的传输、储存以及同步。在本申请中,在ZigBee协议下所述真实硬件场景对应所述3D虚拟场景,关键在于通过所述MQTT服务器的通信协议实现所述虚拟单片机系统以及所述真实单片机系统的状态同步;其中,所述虚拟单片机系统,是基于Web前端技术,通过3D建模渲染出虚拟的电子硬件,再组合不同的虚拟电子元器 件还原多个所述虚拟单片机系统;而所述真实单片机系统,则是通过实体电子硬件搭建而成;在所述虚拟单片机系统以及所述真实单片机系统之间设有所述MQTT服务器,通过MQTT协议使得真实单片机系统的运行效果和虚拟单片机系统的运行效果一致,通过数字孪生技术实现“虚映实,实控虚”,实时获取MQTT服务器里面的数据,所述虚拟单片机系统可以实时同步所述真实单片机系统中运行状态,进行状态监测。本发明涉及的技术方案,相较于现有技术而言,其能够实时反应出ZigBee协议下真实硬件场景的运行状态,能够更好的观察、监测系统的运行状态,便于调整系统节点的运行状态,提高系统开发效率。The present invention provides a ZigBee-based Web3D virtual single-chip digital twin system, specifically comprising: a 3D virtual scene set under the ZigBee protocol; a virtual single-chip system set in the 3D virtual scene; The front end of the web page carries out virtual experiment simulation; the real hardware scene set under the ZigBee protocol; the real single-chip microcomputer system set in the real hardware scene; the real single-chip microcomputer system is used to carry out single-chip microcomputer entity operation through physical electronic hardware; Between the 3D virtual scene and the real hardware scene, the MQTT server of the virtual single-chip system and the real single-chip system is connected; the MQTT server is used to link the 3D virtual scene and the real hardware scene through the MQTT communication protocol to perform Data transmission, storage and synchronization. In this application, the real hardware scene corresponds to the 3D virtual scene under the ZigBee protocol, and the key is to realize the state synchronization of the virtual single-chip system and the real single-chip system through the communication protocol of the MQTT server; wherein, the The virtual single-chip microcomputer system is based on Web front-end technology, and virtual electronic hardware is rendered through 3D modeling, and then combined with different virtual electronic components to restore multiple virtual single-chip microcomputer systems; It is built from electronic hardware; the MQTT server is set between the virtual single-chip system and the real single-chip system, and the operation effect of the real single-chip system is consistent with that of the virtual single-chip system through the MQTT protocol. Through the digital twin technology Realize "virtual mirroring reality, real control virtual", real-time acquisition of data in the MQTT server, the virtual single-chip system can synchronize the operating status of the real single-chip system in real time, and perform status monitoring. Compared with the prior art, the technical solution involved in the present invention can reflect the running state of the real hardware scene under the ZigBee protocol in real time, can better observe and monitor the running state of the system, and is convenient for adjusting the running state of the system nodes , improve system development efficiency.
具体地,在本发明的实施例中,所述虚拟单片机系统包括:与所述MQTT服务器连接的协调器功能虚拟单片机系统;与所述协调器功能虚拟单片机系统连接的路由器功能虚拟单片机系统;和与所述协调器功能虚拟单片机系统以及所述路由器功能虚拟单片机系统通信连接的终端功能虚拟单片机系统。Specifically, in an embodiment of the present invention, the virtual single-chip computer system includes: a coordinator function virtual single-chip computer system connected to the MQTT server; a router function virtual single-chip computer system connected to the coordinator function virtual single-chip computer system; and A terminal function virtual single-chip microcomputer system communicatively connected with the coordinator function virtual single-chip computer system and the router function virtual single-chip computer system.
具体地,在本发明的实施例中,所述真实单片机系统包括:与所述MQTT服务器连接的协调器功能真实单片机系统;与所述协调器功能真实单片机系统连接的路由器功能真实单片机系统;和与所述协调器功能真实单片机系统以及所述路由器功能真实单片机系统通信连接的终端功能真实单片机系统。Specifically, in an embodiment of the present invention, the real single-chip microcomputer system includes: a coordinator function real single-chip microcomputer system connected to the MQTT server; a router function real single-chip microcomputer system connected to the coordinator function real single-chip microcomputer system; and A real single-chip microcomputer system with a terminal function that is communicatively connected to the real single-chip microcomputer system with the coordinator function and the real single-chip microcomputer system with the router function.
具体地,在本发明的实施例中,在ZigBee协议下所述真实硬件场景对应着3D虚拟场景,通过所述MQTT服务器中的MQTT物联网即时通信协议实现状态同步。Specifically, in the embodiment of the present invention, the real hardware scene corresponds to the 3D virtual scene under the ZigBee protocol, and state synchronization is realized through the MQTT Internet of Things instant messaging protocol in the MQTT server.
其中如图1所示,在ZigBee协议下,所述真实硬件场景中的所述协调器功能真实单片机系统承担发送网络信标、建立一个网络、管理网络节点、存储网络节点信息、寻找一对节点间的路由消息、不断接收信息、同步信息到所述MQTT服务器的任务;Wherein as shown in Figure 1, under the ZigBee protocol, the coordinator function real single-chip microcomputer system in the real hardware scene is responsible for sending network beacons, establishing a network, managing network nodes, storing network node information, and finding a pair of nodes Inter-routing messages, continuously receiving information, and synchronizing information to the tasks of the MQTT server;
所述路由器功能真实单片机系统承担数据的采集、处理、传递任务;所述终端功能真实单片机系统承担具体执行的数据收集、传送任务;The real single-chip microcomputer system of the router function undertakes the tasks of data collection, processing and transmission; the real single-chip microcomputer system of the terminal function undertakes the specific execution of data collection and transmission tasks;
而在所述3D虚拟场景中,主要是对所述真实硬件场景中的所述真实单片机系统进行虚拟还原。所述真实硬件场景中各真实单片机系统在3D虚拟场景中均有一套对应的3D模型,过实时获取MQTT服务器里面的数据,同步真实硬件场景中各单片机系统的状态。当真实硬件场景中缺失单片机系统时, 可以在3D虚拟场景中虚拟出缺失的单片机系统并仿真其应有的功能,并和其他的单片机系统按照ZigBee协议联动运行,提高开发成本与效率。In the 3D virtual scene, the virtual restoration of the real single-chip microcomputer system in the real hardware scene is mainly carried out. Each real single-chip microcomputer system in the real hardware scene has a set of corresponding 3D models in the 3D virtual scene, the data in the MQTT server is obtained in real time, and the state of each single-chip microcomputer system in the real hardware scene is synchronized. When the single-chip microcomputer system is missing in the real hardware scene, the missing single-chip microcomputer system can be virtualized in the 3D virtual scene and its proper functions can be simulated, and it can be linked with other single-chip microcomputer systems according to the ZigBee protocol to improve development costs and efficiency.
具体地,在本发明的实施例中,所述基于ZigBee的Web3D虚拟单片机数字孪生系统还包括:设于所述3D虚拟场景中,用以输入控制代码的电脑代码编辑框;与所述电脑代码编辑框连接的虚拟电脑;与所述虚拟电脑连接的虚拟烧录器;所述虚拟烧录器连接所述虚拟单片机系统,用以将所述控制代码烧录至所述虚拟单片机系统的CPU中。Specifically, in an embodiment of the present invention, the ZigBee-based Web3D virtual single-chip digital twin system also includes: a computer code editing box for inputting control codes in the 3D virtual scene; The virtual computer connected to the edit box; the virtual burner connected to the virtual computer; the virtual burner is connected to the virtual single-chip microcomputer system, in order to burn the control code into the CPU of the virtual single-chip microcomputer system .
具体地,在本发明的实施例中,还包括:设于所述真实硬件场景中,用以写入所述控制代码的代码开发平台;与所述代码开发平台的真实电脑;连接所述真实电脑的真实烧录器;所述真实烧录器连接带ZigBee通信模块的所述真实单片机系统,用以将控制代码烧录至所述真实单片机系统的CPU中。Specifically, in the embodiment of the present invention, it also includes: a code development platform set in the real hardware scene to write the control code; a real computer connected to the code development platform; The real burner of computer; The real burner is connected with the real single-chip microcomputer system with ZigBee communication module, in order to burn the control code into the CPU of the real single-chip microcomputer system.
其中,所述真实单片机系统和所述虚拟单片机系统使用同一套控制代码,代码烧录的流程类似。在所述真实硬件场景中,代码烧录:现在所述代码开发平台上写入所述控制代码,通过所述真实烧录器将其烧录至所述真实单片机系统中;在所述3D虚拟场景中,所述控制代码由所述电脑代码编辑框写入虚拟电脑,在经过所述虚拟烧录器将其烧录至所述虚拟单片机系统中。Wherein, the real single-chip microcomputer system and the virtual single-chip microcomputer system use the same set of control codes, and the code burning process is similar. In the real hardware scenario, code burning: now write the control code on the code development platform, and burn it into the real single-chip microcomputer system through the real burner; In the scene, the control code is written into the virtual computer by the computer code editing box, and then burned into the virtual single-chip microcomputer system through the virtual burner.
具体地,在本发明的实施例中,所述基于ZigBee的Web3D虚拟单片机数字孪生系统还包括:设于所述真实硬件场景中,与所述真实单片机系统连接的上位机;所述上位机用以为所述真实硬件场景节点设置通信地址;设于所述3D虚拟场景中,与所述虚拟单片机系统连接的虚拟上位机前端页面;所述虚拟上位机前端页面用以为所述3D虚拟场景节点设置与所述真实硬件场景节点一致的通信地址。Specifically, in an embodiment of the present invention, the ZigBee-based Web3D virtual single-chip microcomputer digital twin system also includes: an upper computer connected to the real single-chip computer system in the real hardware scene; Set communication address for described real hardware scene node; Be set in described 3D virtual scene, the virtual host computer front-end page that is connected with described virtual single-chip microcomputer system; Described virtual host computer front-end page is used for setting for described 3D virtual scene node The communication address consistent with the real hardware scene node.
其中,所述真实硬件场景中节点的通信地址可以通过所述上位机中的软件进行设置,对此所述3D虚拟场景中对应设计了一个虚拟上位机的前端页面,以对所述虚拟单片机系统设置通信地址,虚拟单片机系统里设置的通信地址要与对应的真实单片机系统里设置的通信地址一致。Wherein, the communication address of the nodes in the real hardware scene can be set through the software in the host computer, and a front-end page of a virtual host computer is correspondingly designed in the 3D virtual scene, so as to control the virtual single-chip microcomputer system Set the communication address. The communication address set in the virtual single-chip microcomputer system must be consistent with the communication address set in the corresponding real single-chip microcomputer system.
具体地,在本发明的实施例中,所述真实硬件场景节点以及所述3D虚拟场景节点为在ZigBee协议下的网络节点,具体为协调器、路由器以及终端中的任意一种。Specifically, in the embodiment of the present invention, the real hardware scene node and the 3D virtual scene node are network nodes under the ZigBee protocol, specifically any one of a coordinator, a router, and a terminal.
其中如图2所示,真实硬件场景中的节点和3D虚拟场景的节点均是指在 ZigBee协议下的网络节点,可以是路由器、终端以及协调器中的任意一种;当节点是协调器时,则如图3所示,直接和所述MQTT服务器进行交互。Wherein as shown in Figure 2, the nodes in the real hardware scene and the nodes in the 3D virtual scene all refer to network nodes under the ZigBee protocol, which can be any one of a router, a terminal, and a coordinator; when the node is a coordinator , as shown in Figure 3, directly interacts with the MQTT server.
具体地,在本发明的实施例中,所述基于ZigBee的Web3D虚拟单片机数字孪生系统还包括:设于所述虚拟单片机系统以及所述MQTT服务器之间的虚拟协调器;以及连接所述真实单片机系统以及所述MQTT服务器的真实协调器。Specifically, in an embodiment of the present invention, the ZigBee-based Web3D virtual single-chip digital twin system also includes: a virtual coordinator arranged between the virtual single-chip system and the MQTT server; and connecting the real single-chip system and the real coordinator of the MQTT server.
对于所述3D虚拟场景对所述真实硬件场景的控制,如图2所示的运行机制中,所述真实硬件场景的节点将采集到的数据实时整合发送所述真实协调器转到MQTT服务器,所述虚拟协调器再实时同步所述真实硬件场景节点的状态信息到虚拟的节点中,进而使得3D虚拟场景中的节点运行状态效果和真实场景的一致。在所述3D虚拟场景中,允许手动设置单片机系统的部分功能,并以数据指令的形式发给所述虚拟协调器,通过所述虚拟协调器将数据指令传到所述MQTT服务器,真实协调器再将数据指令分发给对应的节点,使得对应节点的运行状态发生改变,实现所述3D虚拟场景对所述真实硬件场景的远程控制。For the control of the real hardware scene by the 3D virtual scene, in the operation mechanism shown in Figure 2, the nodes of the real hardware scene will integrate and send the collected data in real time and send the real coordinator to the MQTT server, The virtual coordinator then synchronizes the state information of the nodes in the real hardware scene to the virtual nodes in real time, so that the running state effect of the nodes in the 3D virtual scene is consistent with that in the real scene. In the 3D virtual scene, some functions of the single-chip system are allowed to be manually set, and sent to the virtual coordinator in the form of data instructions, and the data instructions are transmitted to the MQTT server through the virtual coordinator, and the real coordinator Then, the data instruction is distributed to the corresponding node, so that the running state of the corresponding node is changed, and the remote control of the real hardware scene by the 3D virtual scene is realized.
具体地,在本发明的实施例中,所述虚拟单片机系统组成包括:虚拟单片机开发板;与所述虚拟单片机开发板连接的虚拟电源;设于所述虚拟单片机开发板以及所述虚拟电源之间的虚拟电压转换器;所述虚拟外置电源通过所述虚拟电压转换器连接所述虚拟单片机开发板的电源接口,为所述虚拟单片机开发板提供模拟供电输入;与所述虚拟烧录器连接的代码转换器;所述代码转换器用以在运行烧录后将所述控制代码转换成JavaScript代码并同步到所述虚拟单片机开发板的CPU中;以及与所述虚拟单片机开发板连接的虚拟外置电子元器件库;所述虚拟外置电子元器件库用以为系统提供外置虚拟电子元器件。Specifically, in an embodiment of the present invention, the composition of the virtual single-chip microcomputer system includes: a virtual single-chip microcomputer development board; a virtual power supply connected to the virtual single-chip microcomputer development board; The virtual voltage converter between; the virtual external power supply is connected to the power interface of the virtual single-chip microcomputer development board through the virtual voltage converter, and provides analog power supply input for the virtual single-chip microcomputer development board; and the virtual burner A code converter connected; the code converter is used to convert the control code into JavaScript code and synchronize to the CPU of the virtual single-chip microcomputer development board after running and burning; and the virtual single-chip microcomputer development board connected with the virtual External electronic component library; the virtual external electronic component library is used to provide external virtual electronic components for the system.
具体地,在本发明的实施例中,所述虚拟单片机系统还包括:与所述虚拟单片机开发板连接的虚拟电子元器件;所述虚拟电子元器件包括:与所述虚拟单片机开发板连接的的第一定时状态检测器;所述第一定时状态检测器用以检测所述虚拟电源的模拟供电状况;设于所述虚拟单片机开发板CPU端口上的第二定时状态检测器;所述第二定时状态检测器用以检测CPU端口状态,持续调度各所述虚拟电子元器件工作;以及与所述虚拟单片机开发板连 接的虚拟电源开关;所述虚拟电源开关连接所述虚拟电压转换器,用以为虚拟单片机系统接通供电输入。Specifically, in an embodiment of the present invention, the virtual single-chip microcomputer system further includes: a virtual electronic component connected to the virtual single-chip development board; the virtual electronic component includes: a virtual electronic component connected to the virtual single-chip development board The first timing state detector; The first timing state detector is used to detect the analog power supply situation of the virtual power supply; The second timing state detector that is located on the CPU port of the virtual single-chip microcomputer development board; The second Timing state detector is in order to detect CPU port state, continuously dispatches each described virtual electronic components and parts work; And the virtual power switch that is connected with described virtual single-chip microcomputer development board; Described virtual power switch connects described virtual voltage converter, in order to The virtual single-chip microcomputer system is connected to the power supply input.
由上所述,本发明实施例涉及的基于ZigBee的Web3D虚拟单片机数字孪生系统,在本申请中,在ZigBee协议下所述真实硬件场景对应所述3D虚拟场景,关键在于通过所述MQTT服务器的通信协议实现所述虚拟单片机系统以及所述真实单片机系统的状态同步;其中,所述虚拟单片机系统,是基于Web前端技术,通过3D建模渲染出虚拟的电子硬件,再组合不同的虚拟电子元器件还原多个所述虚拟单片机系统;而所述真实单片机系统,则是通过实体电子硬件搭建而成;在所述虚拟单片机系统以及所述真实单片机系统之间设有所述MQTT服务器,通过MQTT协议使得真实单片机系统的运行效果和虚拟单片机系统的运行效果一致,通过数字孪生技术实现“虚映实,实控虚”,实时获取MQTT服务器里面的数据,所述虚拟单片机系统可以实时同步所述真实单片机系统中运行状态,进行状态监测。本发明涉及的技术方案,相较于现有技术而言,其能够实时反应出ZigBee协议下真实硬件场景的运行状态,能够更好的观察、监测系统的运行状态,便于调整系统节点的运行状态,提高系统开发效率。From the above, the ZigBee-based Web3D virtual single-chip microcomputer digital twin system involved in the embodiment of the present invention, in this application, the real hardware scene under the ZigBee protocol corresponds to the 3D virtual scene, the key is to pass the MQTT server The communication protocol realizes the state synchronization of the virtual single-chip system and the real single-chip system; wherein, the virtual single-chip system is based on Web front-end technology, and renders virtual electronic hardware through 3D modeling, and then combines different virtual electronic components The device restores a plurality of virtual single-chip microcomputer systems; the real single-chip microcomputer system is built by physical electronic hardware; the MQTT server is provided between the virtual single-chip microcomputer system and the real single-chip microcomputer system, through MQTT The protocol makes the operation effect of the real single-chip system consistent with that of the virtual single-chip system. Through the digital twin technology, "virtual mirroring the real, real control of the virtual" is realized, and the data in the MQTT server is obtained in real time. The virtual single-chip system can be synchronized in real time. The running status of the real single-chip microcomputer system is monitored for status. Compared with the prior art, the technical solution involved in the present invention can reflect the running state of the real hardware scene under the ZigBee protocol in real time, can better observe and monitor the running state of the system, and is convenient for adjusting the running state of the system nodes , improve system development efficiency.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其他实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

  1. 一种基于ZigBee的Web3D虚拟单片机数字孪生系统,其特征在于,包括:设于ZigBee协议下的3D虚拟场景;A ZigBee-based Web3D virtual single-chip digital twin system, characterized in that it includes: a 3D virtual scene set under the ZigBee protocol;
    设于所述3D虚拟场景中的虚拟单片机系统;所述虚拟单片机系统用以在Web网页前端进行虚拟实验仿真;A virtual single-chip microcomputer system located in the 3D virtual scene; the virtual single-chip microcomputer system is used for virtual experiment simulation at the front end of a Web page;
    设于ZigBee协议下的真实硬件场景;设于所述真实硬件场景中的真实单片机系统;所述真实单片机系统用以通过实体电子硬件进行单片机实体运行;Set in the real hardware scene under the ZigBee protocol; be set in the real single-chip microcomputer system in the described real hardware scene; the real single-chip microcomputer system is used to carry out the single-chip microcomputer entity operation by physical electronic hardware;
    设于所述3D虚拟场景以及所述真实硬件场景之间,连接所述虚拟单片机系统和真实单片机系统的MQTT服务器;An MQTT server that is located between the 3D virtual scene and the real hardware scene and connects the virtual single-chip system and the real single-chip system;
    所述MQTT服务器用以通过MQTT通信协议联动所述3D虚拟场景以及所述真实硬件场景,进行数据的传输、储存以及同步。The MQTT server is used to link the 3D virtual scene and the real hardware scene through the MQTT communication protocol to perform data transmission, storage and synchronization.
  2. 根据权利要求1所述的基于ZigBee的Web3D虚拟单片机数据孪生系统,其特征在于,所述虚拟单片机系统包括:The Web3D virtual single-chip computer data twin system based on ZigBee according to claim 1, is characterized in that, described virtual single-chip computer system comprises:
    与所述MQTT服务器连接的协调器功能虚拟单片机系统;A coordinator function virtual single-chip microcomputer system connected with the MQTT server;
    与所述协调器功能虚拟单片机系统连接的路由器功能虚拟单片机系统;A router function virtual single-chip computer system connected with the coordinator function virtual single-chip computer system;
    以及与所述协调器功能虚拟单片机系统以及所述路由器功能虚拟单片机系统通信连接的终端功能虚拟单片机系统。And a terminal function virtual single-chip microcomputer system communicatively connected with the coordinator function virtual single-chip computer system and the router function virtual single-chip computer system.
  3. 根据权利要求2所述的基于ZigBee的Web3D虚拟单片机数字孪生系统,其特征在于,所述真实单片机系统包括:The Web3D virtual single-chip computer digital twin system based on ZigBee according to claim 2, wherein said real single-chip computer system comprises:
    与所述MQTT服务器连接的协调器功能真实单片机系统;The coordinator function real single-chip microcomputer system that is connected with described MQTT server;
    与所述协调器功能真实单片机系统连接的路由器功能真实单片机系统;The real single-chip microcomputer system of the router function connected with the real single-chip microcomputer system of the coordinator function;
    以及与所述协调器功能真实单片机系统以及所述路由器功能真实单片机系统通信连接的终端功能真实单片机系统。And a real single-chip microcomputer system with a terminal function that is communicatively connected with the real single-chip microcomputer system with the coordinator function and the real single-chip microcomputer system with the router function.
  4. 根据权利要求1所述的基于ZigBee的Web3D虚拟单片机数字孪生系统,其特征在于,所述基于ZigBee的Web3D虚拟单片机数字孪生系统还包括:设于所述3D虚拟场景中,用以输入控制代码的电脑代码编辑框;The ZigBee-based Web3D virtual single-chip digital twin system according to claim 1, wherein the ZigBee-based Web3D virtual single-chip digital twin system also includes: set in the 3D virtual scene for inputting control codes computer code edit box;
    与所述电脑代码编辑框连接的虚拟电脑;与所述虚拟电脑连接的虚拟烧录器;所述虚拟烧录器连接所述虚拟单片机系统,用以将所述控制代码烧录至所述虚拟单片机系统的CPU中。A virtual computer connected to the computer code editing box; a virtual burner connected to the virtual computer; the virtual burner is connected to the virtual single-chip microcomputer system to burn the control code into the virtual In the CPU of the single-chip microcomputer system.
  5. 根据权利要求4所述的基于ZigBee的Web3D虚拟单片机数字孪生系统,其特征在于,还包括:The Web3D virtual single-chip digital twin system based on ZigBee according to claim 4, is characterized in that, also comprises:
    设于所述真实硬件场景中,用以写入所述控制代码的代码开发平台;A code development platform for writing the control code in the real hardware scene;
    与所述代码开发平台的真实电脑;连接所述真实电脑的真实烧录器;所述真实烧录器连接带ZigBee通信模块的所述真实单片机系统,用以将所述控制代码烧录至所述真实单片机系统的CPU中。With the real computer of described code development platform; Connect the real burner of described real computer; Described real burner connects the described real single-chip microcomputer system with ZigBee communication module, in order to burn described control code to all In the CPU of the real single-chip microcomputer system.
  6. 根据权利要求5所述的基于ZigBee的Web3D虚拟单片机数字孪生系统,其特征在于,所述基于ZigBee的Web3D虚拟单片机数字孪生系统还包括:设于所述真实硬件场景中,与所述真实单片机系统连接的上位机;所述上位机用以为所述真实硬件场景节点设置通信地址;The ZigBee-based Web3D virtual single-chip digital twin system according to claim 5, wherein the ZigBee-based Web3D virtual single-chip digital twin system also includes: being located in the real hardware scene, and the real single-chip system A connected host computer; the host computer is used to set a communication address for the real hardware scene node;
    设于所述3D虚拟场景中,与所述虚拟单片机系统连接的虚拟上位机前端页面;所述虚拟上位机前端页面用以为所述3D虚拟场景节点设置与所述真实硬件场景节点一致的通信地址。Set in the 3D virtual scene, the virtual host computer front-end page connected with the virtual single-chip microcomputer system; the virtual host computer front-end page is used to set a communication address consistent with the real hardware scene node for the 3D virtual scene node .
  7. 根据权利要求6所述的基于ZigBee的Web3D虚拟单片机数字孪生系统,其特征在于,所述真实硬件场景节点以及所述3D虚拟场景节点为在ZigBee协议下的网络节点,具体为协调器、路由器以及终端中的任意一种。The ZigBee-based Web3D virtual single-chip digital twin system according to claim 6, wherein the real hardware scene node and the 3D virtual scene node are network nodes under the ZigBee protocol, specifically coordinators, routers and any of the terminals.
  8. 根据权利要求1所述的基于ZigBee的Web3D虚拟单片机数字孪生系统,其特征在于,所述基于ZigBee的Web3D虚拟单片机数字孪生系统还包括:设于所述虚拟单片机系统以及所述MQTT服务器之间的虚拟协调器;以及连接所述真实单片机系统以及所述MQTT服务器的真实协调器。The ZigBee-based Web3D virtual single-chip digital twin system according to claim 1, wherein the ZigBee-based Web3D virtual single-chip digital twin system also includes: a system located between the virtual single-chip system and the MQTT server a virtual coordinator; and a real coordinator connecting the real single-chip system and the MQTT server.
  9. 根据权利要求1所述的基于ZigBee的Web3D虚拟单片机数字孪生系统,其特征在于,所述虚拟单片机系统组成包括:The Web3D virtual single-chip microcomputer digital twin system based on ZigBee according to claim 1, wherein the virtual single-chip microcomputer system composition comprises:
    虚拟单片机开发板;与所述虚拟单片机开发板连接的虚拟电源;A virtual single-chip microcomputer development board; a virtual power supply connected to the virtual single-chip microcomputer development board;
    设于所述虚拟单片机开发板以及所述虚拟电源之间的虚拟电压转换器;A virtual voltage converter arranged between the virtual single-chip microcomputer development board and the virtual power supply;
    所述虚拟外置电源通过所述虚拟电压转换器连接所述虚拟单片机开发板的电源接口,为所述虚拟单片机开发板提供模拟供电输入;The virtual external power supply is connected to the power interface of the virtual single-chip microcomputer development board through the virtual voltage converter, and provides analog power supply input for the virtual single-chip microcomputer development board;
    与所述虚拟烧录器连接的代码转换器;A code converter connected with the virtual burner;
    所述代码转换器用以在运行烧录后将所述控制代码转换成JavaScript代码并同步到所述虚拟单片机开发板的CPU中;The code converter is used to convert the control code into JavaScript code and synchronize it into the CPU of the virtual single-chip microcomputer development board after running and burning;
    以及与所述虚拟单片机开发板连接的虚拟外置电子元器件库;所述虚拟外置电子元器件库用以为系统提供外置虚拟电子元器件。And a virtual external electronic component library connected with the virtual single-chip microcomputer development board; the virtual external electronic component library is used to provide external virtual electronic components for the system.
  10. 根据权利要求9所述的基于ZigBee的Web3D虚拟单片机数字孪生 系统,其特征在于,所述虚拟单片机系统还包括:The Web3D virtual single-chip computer digital twin system based on ZigBee according to claim 9, is characterized in that, described virtual single-chip computer system also comprises:
    与所述虚拟单片机开发板连接的虚拟电子元器件;所述虚拟电子元器件包括:与所述虚拟单片机开发板连接的的第一定时状态检测器;所述第一定时状态检测器用以检测所述虚拟电源的模拟供电状况;设于所述虚拟单片机开发板CPU端口上的第二定时状态检测器;所述第二定时状态检测器用以检测CPU端口状态,持续调度各所述虚拟电子元器件工作;以及与所述虚拟单片机开发板连接的虚拟电源开关;所述虚拟电源开关连接所述虚拟电压转换器,用以为虚拟单片机系统接通供电输入。The virtual electronic components connected with the virtual single-chip microcomputer development board; the virtual electronic components include: the first timing state detector connected with the virtual single-chip microcomputer development board; the first timing state detector is used to detect the The simulated power supply status of the virtual power supply; the second timing state detector located on the CPU port of the virtual single-chip microcomputer development board; the second timing state detector is used to detect the CPU port state, and continuously schedule each virtual electronic component work; and a virtual power switch connected to the virtual single-chip microcomputer development board; the virtual power switch is connected to the virtual voltage converter to connect the power supply input for the virtual single-chip microcomputer system.
PCT/CN2022/077831 2022-01-11 2022-02-25 Zigbee-based web3d virtual single-chip microcomputer digital twin system WO2023133971A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210024076.2 2022-01-11
CN202210024076.2A CN114095549A (en) 2022-01-11 2022-01-11 Web3D virtual single-chip microcomputer digital twin system based on ZigBee

Publications (1)

Publication Number Publication Date
WO2023133971A1 true WO2023133971A1 (en) 2023-07-20

Family

ID=80308468

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/077831 WO2023133971A1 (en) 2022-01-11 2022-02-25 Zigbee-based web3d virtual single-chip microcomputer digital twin system

Country Status (2)

Country Link
CN (1) CN114095549A (en)
WO (1) WO2023133971A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111708332A (en) * 2020-05-28 2020-09-25 上海航天精密机械研究所 Digital twin system of production line
CN111895618A (en) * 2020-06-28 2020-11-06 五邑大学 Cloud platform data visualization control method and device and storage medium
WO2021031454A1 (en) * 2019-08-21 2021-02-25 佳都新太科技股份有限公司 Digital twinning system and method and computer device
CN113703925A (en) * 2021-10-27 2021-11-26 长沙理工大学 Cooperative operation method and system of web3D multi-virtual-single-chip-microcomputer system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11227448B2 (en) * 2017-11-14 2022-01-18 Nvidia Corporation Cloud-centric platform for collaboration and connectivity on 3D virtual environments
CN111077797A (en) * 2019-12-04 2020-04-28 南京维睛视空信息科技有限公司 Automobile assembly line digital twinning method based on PLC data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021031454A1 (en) * 2019-08-21 2021-02-25 佳都新太科技股份有限公司 Digital twinning system and method and computer device
CN111708332A (en) * 2020-05-28 2020-09-25 上海航天精密机械研究所 Digital twin system of production line
CN111895618A (en) * 2020-06-28 2020-11-06 五邑大学 Cloud platform data visualization control method and device and storage medium
CN113703925A (en) * 2021-10-27 2021-11-26 长沙理工大学 Cooperative operation method and system of web3D multi-virtual-single-chip-microcomputer system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CUI, YONG ET AL.: "Research on the Virtual Simulation Experimental Course of Microcontroller Based on Digital Twin", JOURNAL OF ELECTRICAL & ELECTRONIC EDUCATION, vol. 42, no. 4, 15 August 2020 (2020-08-15), XP009547712 *

Also Published As

Publication number Publication date
CN114095549A (en) 2022-02-25

Similar Documents

Publication Publication Date Title
Madden et al. TinyDB: In-network query processing in tinyos
CN103580770B (en) Time deviation between equipment of the measurement with independent silicon clock
CN109101627A (en) heterogeneous database synchronization method and device
CN103645908B (en) Full life circle development achievement system of intemetware
CN105955910B (en) A kind of time service method towards high-density server system of soaring
CN104899333A (en) Cross-platform migrating method and system for Oracle database
CN102508886B (en) Extensive makeup language (XML)-based method for synchronously updating increment of spatial data
CN109117407A (en) A kind of management board and server
CN109683882B (en) NB-IOT terminal software development method based on mobile terminal in visual environment
CN201743667U (en) Plug-in monitor
WO2023133971A1 (en) Zigbee-based web3d virtual single-chip microcomputer digital twin system
CN103595742B (en) A method and an apparatus for debugging webpage CSS
CN208488713U (en) The synchronous devices of keyboard lights of attending a banquet in a kind of distribution kvm system more
CN112527647A (en) NS-3-based Raft consensus algorithm test system
CN210514969U (en) High-reliability data acquisition controller based on double CPU (Central processing Unit) architecture
CN106383901A (en) Method for unidirectional data synchronization between multiple data sources
Gu et al. The redesign and implementation of data acquisition and control system for EAST NBI
CN116701285A (en) Remote access control apparatus, remote access control method, remote access control device, and computer readable medium
Xin et al. Implementation of SPI and driver for CC2430 and C8051F120
CN210807344U (en) Remote FPGA experiment system
CN205620802U (en) Human -computer interaction system and fire engine
CN111611194A (en) ARM cluster service complete machine
JP2913991B2 (en) Real-time system debug device
Cheng et al. Design of Dynamic Data Acquisition System of Virtual Reality Webpage
CN207099099U (en) A kind of ARCNET modules for high speed cigarette packaging facilities

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22919616

Country of ref document: EP

Kind code of ref document: A1