Physical accelerator and physical acceleration system
By designing a physical accelerator and physical acceleration system in digital twin technology, and using the synchronous control of hardware accelerator cards, the problems of low data collection and processing efficiency, insufficient accuracy and authenticity, and slow simulation speed in digital twin technology are solved, achieving high efficiency. The data synchronization and simulation speed are improved.
Patent Information
- Application Number
- CN202410561318.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-08
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-05-08
AI Technical Summary
Digital twin technology has challenges in data collection and processing, accuracy and authenticity, and simulation speed. In particular, in complex systems, data acquisition is cumbersome, accuracy and authenticity affect simulation results, and simulation speed is too slow.
A physical accelerator and physical acceleration system are designed. Through the inter-board synchronization signal synchronization between multiple hardware accelerator cards, the system synchronization of the digital space and the physical device is realized, which improves the efficiency of data collection and processing, and through high-speed interface and The synchronous control signal line performs synchronous control between the digital space and the hardware accelerator card to ensure the accuracy and authenticity of the data.
In large-scale systems in the field of digital twins, system synchronization of digital space and physical equipment is realized, which improves the simulation rate, can synchronize the digital end and the physical end in microseconds, and improves the accuracy and real-time performance of data, solving the problem The cumbersome problem of data acquisition and processing in complex systems.
Smart Images

Figure CN118536268A
Abstract
Description
Technical Field
[0001] The present application relates to the field of simulation technology, and in particular to a physical accelerator and a physical acceleration system. Background Art
[0002] As a cutting-edge technology, digital twins are playing an increasingly important role in today's wave of digital transformation. It is a bridge that closely integrates the physical world and the digital world. It can simulate the operating status of physical systems in real time, synchronize with the real world in real time through sensors and other devices, and realize accurate monitoring of real systems. This makes it possible to optimize and adjust the real system during operation, thereby improving production efficiency and resource utilization, but the existing technology has the following shortcomings and bottlenecks.
[0003] 1. Data collection and processing Digital twins require a large amount of data to support simulation and prediction, but data collection and processing remain a challenge, especially for complex systems, where data acquisition and processing can be cumbersome.
[0004] 2. Accuracy and authenticity The accuracy and authenticity of digital twins directly affect their practical value. When building a digital twin model, it is necessary to restore the characteristics of the real system as much as possible to ensure the accuracy of the simulation results.
[0005] 3. Simulation speed and real-time performance Digital space simulation is limited by factors such as the digital system communication method and the complexity of simulation calculations, resulting in slow simulation speed. There is an urgent need to improve the simulation speed. Summary of the invention
[0006] In order to solve one of the above technical defects, the present application provides a physical accelerator and a physical acceleration system.
[0007] In a first aspect, the present application provides a physical accelerator, the physical accelerator comprising: a plurality of hardware acceleration cards; Among them, multiple hardware acceleration cards are synchronized through inter-board synchronization signals; Any hardware acceleration card includes a master node chip, at least one slave node chip and at least one external high-speed interface; The master and slave node chips of any hardware acceleration card are interconnected through at least one input and output interface and / or at least one internal high-speed serial interface, and the master and slave node chips are synchronized through the internal synchronization control signal line; The physical accelerator is interconnected with the digital space through an external high-speed interface and an external synchronous control signal; The digital space performs synchronization control between the digital space and the hardware acceleration card through external synchronization control signals.
[0008] Optionally, the master node chip of any hardware acceleration card is used for bus decoding, input and output control, and high-speed serial interface control; the slave node chip of any board is used to run user-specific functional logic; The chips on any board exchange data via an internal high-speed serial interface.
[0009] Optionally, a universal interface is reserved in the slave node chip of any hardware acceleration card; General interface, used to obtain user-specific functional logic; The master node chip of any hardware acceleration card is used to interact with the digital space through an external high-speed interface to analyze the results, and to analyze the results from the digital space again and send them to the corresponding slave node chip; wherein the analysis results are the results of the digital space analyzing the data sent by the external simulation software; The slave node chip of any hardware acceleration card is used to run user-specific functional logic, accelerate the re-analysis results sent by the master node chip, and then feed back the processing results to the digital space, so that the digital space feeds back the processing results to the external simulation software.
[0010] Optionally, the external high-speed interface is a high-speed serial computer expansion bus standard interface; the maximum rate of the external high-speed interface is 5GT / s, and it supports high-throughput data interaction of multiple hardware acceleration cards at the same time; The internal high-speed serial interface is a G-bit transceiver interface and / or an interconnection system interface based on data packet switching; the minimum rate of the internal high-speed serial interface is 5GT / s; The input and output interfaces include one or more of the following: external memory interface, flash memory interface; The synchronization error between the hardware acceleration cards is less than 10 nanoseconds.
[0011] Optionally, the digital space includes: digital space control and parsing software, a synchronous communication component, and a communication interface component; Digital space, used for interface display, data interaction, data display, data storage, data playback, and data synchronization; Among them, the interface display is implemented based on the DuiLib library, and the user interface and processing logic are separated; Data interaction, including data interaction with external simulation software and data interaction with a physical accelerator; wherein the data interaction with the external simulation software includes: data acquisition and analysis by the external simulation software, obtaining analysis results, and feeding back the processing results of the physical accelerator to the external simulation software; the data interaction with the physical accelerator includes: sending the analysis results to the physical accelerator and receiving the processing results fed back by the physical accelerator; Data display, including data display of external simulation software and display of processing results of physical accelerator feedback; Data storage, including classified storage of data from external simulation software and classified storage of processing results fed back by physical accelerators; Data playback, including retrieval and playback of stored data; Data synchronization, including data synchronization between digital space and physical accelerator, is performed through synchronization control signals.
[0012] In a second aspect of the present application, a physical acceleration system is provided, the system comprising: external simulation software, a digital space and a physical accelerator; The physical accelerator is the physical accelerator shown in the first aspect above.
[0013] Optionally, the digital space includes: digital space control and parsing software, a synchronous communication component and a communication interface component.
[0014] Optionally, external simulation software is used to send data to the digital space control analysis software through the communication interface component and the synchronous communication component; Digital space control analysis software, used to analyze the data sent by the external simulation software and send the analysis results to the physical accelerator through the communication interface component; The physical accelerator is used to perform acceleration processing based on the analysis results, and then feed back the processing results to the external simulation software through the communication interface component and the synchronous communication component.
[0015] Optionally, the analysis result includes addresses, data, and signals of external simulation software.
[0016] Optionally, the synchronous communication component is also used to synchronize signals and data inside and outside the control system when the physical accelerator performs acceleration processing based on the analysis results.
[0017] The present application provides a physical accelerator and a physical acceleration system, which includes: multiple hardware acceleration cards; wherein the multiple hardware acceleration cards are synchronized through inter-board synchronization signals; any hardware acceleration card includes a master node chip, at least one slave node chip and at least one external high-speed interface; the master and slave node chips of any hardware acceleration card are interconnected through at least one input and output interface and / or at least one internal high-speed serial interface, and the master and slave node chips of the hardware acceleration card are synchronized through the internal synchronization control signal line; the physical accelerator is interconnected with the digital space through an external high-speed interface and an external synchronization control signal; the digital space performs synchronization control between the digital space and the hardware acceleration card through an external synchronization control signal. The physical accelerator provided by the present application can realize the system synchronization of the digital space and the physical device in the data acquisition and processing process of large-scale systems in the field of digital twins, and synchronize the digital end and the physical end in the system at the microsecond level, while ensuring the accuracy and authenticity of the data. In addition, the universalization of the interface can improve the universality. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings: Figure 1 A schematic diagram of the structure of a physical accelerator provided in an embodiment of the present application; Figure 2 A schematic diagram of the structure of another physical accelerator provided in an embodiment of the present application; Figure 3 A functional block diagram of a data space provided in an embodiment of the present application; Figure 4 A case diagram of a physical acceleration system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0019] In order to make the technical solutions and advantages in the embodiments of the present application more clearly understood, the exemplary embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than an exhaustive list of all the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0020] In the process of implementing this application, the inventors found that digital twins, as a cutting-edge technology, play an increasingly important role in today's wave of digital transformation. It is a bridge that closely combines the physical world and the digital world. It can simulate the operating status of the physical system in real time, synchronize with the real world in real time through sensors and other devices, and realize accurate monitoring of the real system. This makes it possible to optimize and adjust the real system during operation, thereby improving production efficiency and resource utilization, but the existing technology has the following shortcomings and bottlenecks: 1) Digital twins require a large amount of data to support simulation and prediction, but data collection and processing are still a challenge. Especially for complex systems, data acquisition and processing can be very cumbersome. 2) The accuracy and authenticity of digital twins directly affect their practical value. When establishing a digital twin model, it is necessary to restore the characteristics of the real system as much as possible to ensure the accuracy of the simulation results. 3) Simulation speed and real-time performance. Digital space simulation is limited by factors such as the communication method of the digital system and the complexity of the simulation calculation, resulting in a slow simulation speed, and it is urgent to improve the simulation speed.
[0021] In response to the above problems, a physical accelerator and a physical acceleration system are provided in an embodiment of the present application, and the physical accelerator includes: multiple hardware acceleration cards; wherein the multiple hardware acceleration cards are synchronized through inter-board synchronization signals; any hardware acceleration card includes a master node chip, at least one slave node chip and at least one external high-speed interface; the master and slave node chips of any hardware acceleration card are interconnected through at least one input and output interface and / or at least one internal high-speed serial interface, and the master and slave node chips of the hardware acceleration card are synchronized through the internal synchronization control signal line; the physical accelerator is interconnected with the digital space through an external high-speed interface and an external synchronization control signal; the digital space performs synchronization control between the digital space and the hardware acceleration card through an external synchronization control signal. The physical accelerator provided in this application can realize the system synchronization of the digital space and the physical device in the data acquisition and processing process of large-scale systems in the field of digital twins, and synchronize the digital end and the physical end in the system at the microsecond level, while ensuring the accuracy and authenticity of the data. In addition, the universalization of the interface can improve the universality.
[0022] See also Figure 1 This embodiment provides a physical accelerator, which includes: multiple hardware acceleration cards.
[0023] Among them, any hardware acceleration card includes a master node chip, at least one slave node chip and at least one external high-speed interface.
[0024] The master and slave node chips of any hardware acceleration card are interconnected through at least one input and output (IO) interface and / or at least one internal high-speed serial interface, and the master and slave node chips are synchronized through the internal synchronization control signal line.
[0025] The input and output (IO) interface includes but is not limited to: a switch interface and a flash interface.
[0026] The internal high-speed serial interface is a Gigabyte Transceiver (GT) transceiver interface and / or a RAPIDIO interface based on packet switching. The minimum rate of the internal high-speed serial interface is 5GT / s, which can be used for AXI (Advanced eXtensible Interface) data transmission.
[0027] The physical accelerator is interconnected with the digital space through an external high-speed interface and an external synchronous control signal.
[0028] The digital space performs synchronization control between the digital space and the hardware acceleration card through external synchronization control signals.
[0029] in, Figure 1 Only one slave node chip, one external high-speed interface, one input / output interface, and one internal high-speed serial interface are shown. In actual application, there may be multiple slave node chips, multiple external high-speed interfaces, multiple input / output interfaces, and multiple internal high-speed serial interfaces.
[0030] Among them, the master node chip of any hardware acceleration card is used for bus decoding, input and output control, and high-speed serial interface control. The slave node chip of any board is used to run user-specific functional logic.
[0031] The synchronization control signal between the digital space and the hardware acceleration card only exists between the digital space and one of the specified hardware acceleration cards ( Figure 1 and Figure 2 Only the first hardware acceleration card is taken as the designated hardware acceleration card as an example. In actual application, any hardware acceleration card may be designated), and the direction is unidirectional, sent from the digital space and received by the first hardware acceleration card.
[0032] Thereafter, the synchronization signal is distributed backwards by the master node in one of the designated hardware acceleration cards to the master nodes of other hardware acceleration cards and the slave node of the first hardware acceleration card itself.
[0033] Figure 2 The physical accelerator structure for internal high-speed serial interfaces such as GTX interfaces is shown. The chips on any board exchange data via an internal high-speed serial interface.
[0034] Among them, a universal interface is reserved in the slave node chip of any hardware acceleration card.
[0035] A common interface for obtaining user-specific functional logic.
[0036] The master node chip of any hardware acceleration card is used to interact with the digital space through an external high-speed interface to analyze the results, and to analyze the results from the digital space again and send them to the corresponding slave node chip. The analysis results are the results of the digital space analyzing the data sent by the external simulation software.
[0037] The slave node chip of any hardware acceleration card is used to run user-specific functional logic, accelerate the re-analysis results sent by the master node chip, and then feed back the processing results to the digital space, so that the digital space feeds back the processing results to the external simulation software.
[0038] Among them, the external high-speed interface is a high-speed serial computer expansion bus standard (Peripheral Component Interconnect Express, PCIE) interface. The maximum rate of the external high-speed interface is 5GT / s (Gigabit transfer per second), and it supports high-throughput data interaction of multiple hardware acceleration cards.
[0039] The input and output interfaces include one or more of the following: external memory interface (EMIF), flash memory interface.
[0040] The synchronization error between the hardware acceleration cards is less than 10ns (nanoseconds).
[0041] In addition, the digital space includes: digital space control and analysis software, synchronous communication components and communication interface components.
[0042] Digital space is used for interface display, data interaction, data display, data storage, data playback, and data synchronization. Figure 3 The principle block diagram of the digital space functional module is shown. The digital space is used to integrate the display and distribution of data sent by the front-stage data acquisition module or various circuit simulation software and the back-stage physical accelerator. The following are the modules of the various parts of the digital space.
[0043] The interface display is implemented based on the DuiLib library, and the user interface and processing logic are separated. For example, the interface display uses the DuiLib library for drawing and display, which can completely separate the user interface and processing logic, and can run on all systems from Windows XP to Windows 10.
[0044] Data interaction includes data interaction with external simulation software and data interaction with physical accelerators. Among them, data interaction with external simulation software includes: data acquisition and analysis of external simulation software, obtaining analysis results, and feeding back the processing results of the physical accelerator to the external simulation software. Data interaction with the physical accelerator includes: sending the analysis results to the physical accelerator and receiving the processing results fed back by the physical accelerator. Therefore, through data interaction, the storage, analysis, and display of various upper-level simulation and computing software data can be completed, and it supports passing data to each board in the hardware acceleration card cluster for system simulation. At the same time, it also completes the function of monitoring, displaying, and packaging the data returned by each board in the hardware acceleration card cluster and returning it to the upper-level simulation software.
[0045] Data display includes data display of external simulation software and display of processing results of physical accelerator feedback. Therefore, data display can display the interactive data between hardware accelerator cluster and upper-layer software in real time and interpret the data. Key parameters in test data can be highlighted, and the display mode supports multiple modes such as data list, data curve, bar chart, pie chart, etc.
[0046] Data storage includes classified storage of data from external simulation software and classified storage of processing results fed back by the physical accelerator. Therefore, data storage can be used to classify and store the data interacting between the hardware acceleration card cluster and the upper-layer software. The data is stored in a standardized format according to the system simulation step, which is convenient for users to view. The data storage function runs independently and does not affect the use of other software functions.
[0047] Data playback, including the retrieval and playback of stored data. Data playback allows you to select locally stored data sources, supporting data retrieval and data playback.
[0048] Data synchronization, including data synchronization between digital space and physical accelerator, is achieved through external synchronization control signals. Digital space and physical accelerator can achieve data synchronization of system simulation through self-developed synchronization communication components.
[0049] The digital space connected to the physical accelerator provided in this embodiment is a virtual domain, with embedded digital space analysis software, which can connect to multi-terminal simulation software, complete data interaction through synchronous communication components, and provide external communication interfaces. The physical accelerator provided in this embodiment is a physical physical system, which mainly provides data computing power for the digital space to achieve hardware acceleration. The two are bridged and communicated through a high-speed bus to complete data interaction from the virtual domain to the physical domain.
[0050] See also Figure 2The physical accelerator provided in this embodiment is composed of multiple hardware acceleration cards, each of which has at least two processors, and the processors are interconnected through input and output (IO) interfaces and internal high-speed serial interfaces. At the same time, the board has multiple external high-speed interfaces. The physical accelerator is mainly used for simulation acceleration, and data is exchanged with the digital space through high-speed interfaces.
[0051] The hardware of the physical accelerator provided in this embodiment is configured with multiple hardware acceleration cards; it supports high-speed parallel buses, multiple high-speed serial interfaces, and multiple external electrical interfaces; it supports multiple high-speed serial ports and multiple ordinary IO interfaces between dual-node chips.
[0052] In terms of the software / driver of the physical accelerator provided in this embodiment, each board of the hardware acceleration card cluster has a master node chip and a slave node chip. The master node is used to interact with the digital space for data, and the slave node runs the user-specific logic function program. The master node parses and distributes the data packets transmitted from the digital space to the slave node. After the user logic in the slave node is run, the data is returned to the master node, and then returned to the software digital space. In this way, the master node of the digital space and the hardware acceleration card cluster board is responsible for bridging the digital space and the physical accelerator data interaction simulation acceleration, and the slave node of the hardware acceleration card leaves a general interface for the user logic for system function simulation.
[0053] As for the interface of the physical accelerator provided in this embodiment, since the external high-speed interface between the digital space and the physical accelerator adopts the high-speed parallel bus PCIE interface, the interface rate can reach 5GT / s, which can simultaneously support high-throughput data interaction of multiple acceleration cards of the physical accelerator; the synchronization control line synchronizes the digital space and each board of the physical accelerator. The internal high-speed serial interface is a Gigabyte Transceiver (GT) transceiver interface and / or a RAPIDIO interface based on data packet exchange. The minimum rate of the internal high-speed serial interface is 5GT / s; the synchronization control signal line between the boards is used to make all the boards in the physical accelerator work synchronously, with a synchronization error of less than 10ns. There are multiple IO ports in the board for data interaction between processors, which can be used to simulate various data interfaces in real time.
[0054] The physical accelerator provided in this embodiment can form a large data envelope from the data collected and processed in the system through the digital space. At the same time, the interface display, data storage, synchronization, playback and other functions of the digital space can solve the cumbersome problems of data acquisition and processing in complex data twin systems. In addition, the digital space of the physical accelerator provided in this embodiment and the single-board interface rate of the physical accelerator can reach 5GT / s. Connecting the digital end and the physical end through a high-speed parallel bus interface can greatly improve the accuracy and real-time performance of the digital twin system data. The overall design of the physical accelerator provided in this embodiment adopts a universal digital space envelope and data interaction mechanism, which can save technical and personnel investment for subsequent development and application.
[0055] The physical accelerator provided in this embodiment can increase the system simulation rate by 400-800 times; it can achieve system synchronization between digital space and physical devices, and can synchronize the digital end and the physical end in the system at the microsecond level; it can monitor the real data of each node in the system in real time, and restore the characteristics of the real system as much as possible to ensure the accuracy of the simulation results; it can quickly and accurately locate problems in complex system simulations, which is convenient for early product problem troubleshooting.
[0056] The present embodiment provides a physical accelerator, which includes: multiple hardware acceleration cards; wherein the multiple hardware acceleration cards are synchronized through inter-board synchronization signals; any hardware acceleration card includes a master node chip, at least one slave node chip and at least one external high-speed interface; the master and slave node chips of any hardware acceleration card are interconnected through at least one input and output interface and / or at least one internal high-speed serial interface, and the master and slave node chips of the hardware acceleration card are synchronized through the internal synchronization control signal line; the physical accelerator is interconnected with the digital space through the external high-speed interface and the external synchronization control signal; the digital space performs synchronization control between the digital space and the hardware acceleration card through the external synchronization control signal. The physical accelerator provided in this embodiment can realize the system synchronization of the digital space and the physical device in the data collection and processing process of large-scale systems in the field of digital twins, and synchronize the digital end and the physical end in the system at the microsecond level, while ensuring the accuracy and authenticity of the data. In addition, the interface is universalized, which can improve the versatility.
[0057] based on Figure 1 The physical accelerator shown in this embodiment provides a physical acceleration system, which includes: external simulation software, digital space and a physical accelerator.
[0058] 1. External simulation software The external simulation software is used to send data to the digital space control analysis software through the communication interface component and the synchronous communication component.
[0059] Among them, there can be multiple external simulation software.
[0060] 2. Digital Space The digital space includes: digital space control and analysis software, synchronous communication components and communication interface components.
[0061] The digital space control analysis software is used to analyze the data sent by the external simulation software and send the analysis results to the physical accelerator through the communication interface component.
[0062] Among them, the synchronous communication component is also used to control the synchronization of signals and data outside, inside and between boards of the system when the physical accelerator performs acceleration processing based on the analysis results.
[0063] Figure 3 The block diagram of the digital space functional module is shown, which is mainly composed of 6 parts: interface display, data interaction, data display, data storage, data playback, and data synchronization. The digital space is used to integrate the display and distribution of data sent by the front-stage data acquisition module or various circuit simulation software and the back-stage physical accelerator. The following are the modules of the digital space.
[0064] The interface display is implemented based on the DuiLib library, and the user interface and processing logic are separated. For example, the interface display uses the DuiLib library for drawing and display, which can completely separate the user interface and processing logic, and can run on all systems from Windows XP to Windows 10.
[0065] Data interaction includes data interaction with external simulation software and data interaction with physical accelerators. Among them, data interaction with external simulation software includes: data acquisition and analysis of external simulation software, obtaining analysis results, and feeding back the processing results of the physical accelerator to the external simulation software. Data interaction with the physical accelerator includes: sending the analysis results to the physical accelerator and receiving the processing results fed back by the physical accelerator. Therefore, through data interaction, the storage, analysis, and display of various upper-level simulation and computing software data can be completed, and it supports passing data to each board in the hardware acceleration card cluster for system simulation. At the same time, it also completes the function of monitoring, displaying, and packaging the data returned by each board in the hardware acceleration card cluster and returning it to the upper-level simulation software.
[0066] Data display includes data display of external simulation software and display of processing results of physical accelerator feedback. Therefore, data display can display the interactive data between hardware accelerator cluster and upper-layer software in real time and interpret the data. Key parameters in test data can be highlighted, and the display mode supports multiple modes such as data list, data curve, bar chart, pie chart, etc.
[0067] Data storage includes classified storage of data from external simulation software and classified storage of processing results fed back by the physical accelerator. Therefore, data storage can be used to classify and store the data interacting between the hardware acceleration card cluster and the upper-layer software. The data is stored in a standardized format according to the system simulation step, which is convenient for users to view. The data storage function runs independently and does not affect the use of other software functions.
[0068] Data playback, including the retrieval and playback of stored data. Data playback allows you to select locally stored data sources, supporting data retrieval and data playback.
[0069] Data synchronization, including data synchronization between digital space and physical accelerator, is performed through external synchronization control signals. Through data synchronization, digital space and physical accelerator can achieve data synchronization of system simulation through self-developed synchronization communication components.
[0070] 3. Physical Accelerator The physical accelerator is Figure 1 The physical accelerator shown.
[0071] The physical accelerator is used to perform acceleration processing based on the analysis results, and then feed back the processing results to the external simulation software through the communication interface component and the synchronous communication component.
[0072] The analysis results include the address, data and signal of the external simulation software.
[0073] See also Figure 2 The physical accelerator provided in this embodiment is composed of multiple hardware acceleration cards, each of which has at least two processors, and the processors are interconnected through input and output (IO) interfaces and internal high-speed serial interfaces. At the same time, the board has multiple external high-speed interfaces. The physical accelerator is mainly used for simulation acceleration, and data is exchanged with the digital space through high-speed interfaces.
[0074] The hardware of the physical accelerator provided in this embodiment is configured with multiple hardware acceleration cards; it supports high-speed parallel buses, multiple high-speed serial interfaces, and multiple external electrical interfaces; it supports multiple high-speed serial ports and multiple ordinary IO interfaces between dual-node chips.
[0075] In terms of the software / driver of the physical accelerator provided in this embodiment, each board of the hardware acceleration card cluster has a master node chip and a slave node chip. The master node is used to interact with the digital space for data, and the slave node runs the user-specific logic function program. The master node parses and distributes the data packets transmitted from the digital space to the slave node. After the user logic in the slave node is run, the data is returned to the master node, and then returned to the software digital space. In this way, the master node of the digital space and the hardware acceleration card cluster board is responsible for bridging the digital space and the physical accelerator data interaction simulation acceleration, and the slave node of the hardware acceleration card leaves a general interface for the user logic for system function simulation.
[0076] With regard to the interface of the physical accelerator provided in this embodiment, since the external high-speed interface between the digital space and the physical accelerator adopts a high-speed parallel bus PCIE interface, the interface rate can reach 5GT / s, which can simultaneously support high-throughput data interaction of multiple acceleration cards of the physical accelerator; the external synchronization control signal is used for the synchronization control of the digital space and each board of the physical accelerator. The internal high-speed serial interface is a G-bit (Gigabyte Transceiver, GT) transceiver interface and / or a data packet exchange-based interconnection system (RAPIDIO) interface. The minimum rate of the internal high-speed serial interface is 5GT / s; the synchronization control signal line between the boards is used to make all the boards in the physical accelerator work synchronously, with a synchronization error of less than 10ns. There are multiple IO ports in the board for data interaction between processors, which can be used to simulate various data interfaces in real time.
[0077] The physical acceleration system provided in this embodiment can form a large data envelope through the digital space for the data collected and processed in the system. At the same time, the interface display, data storage, synchronization, playback and other functions of the digital space can solve the cumbersome problems of data acquisition and processing in complex data twin systems. In addition, the digital space of the physical accelerator provided in this embodiment and the single-board interface rate of the physical accelerator can reach 5GT / s. Connecting the digital end and the physical end through a high-speed parallel bus interface can greatly improve the accuracy and real-time performance of the digital twin system data. The overall design of the physical accelerator provided in this embodiment adopts a universal digital space envelope and data interaction mechanism, which can save technical and personnel investment for subsequent development and application.
[0078] The physical system provided in this embodiment can increase the simulation rate by 400-800 times; it can achieve system synchronization between digital space and physical equipment, and can synchronize the digital end and the physical end in the system at the microsecond level; it can monitor the real data of each node in the system in real time, and restore the characteristics of the real system as much as possible to ensure the accuracy of the simulation results; it can quickly and accurately locate problems in complex system simulations, which is convenient for early product problem troubleshooting.
[0079] The digital space in the physical acceleration system provided in this embodiment is a virtual domain, with embedded digital space analysis software, which can connect to multi-terminal simulation software, complete data interaction through synchronous communication components, and provide external communication interfaces. The physical accelerator in the physical acceleration system provided in this embodiment is a physical physical system, which mainly provides data computing power for the digital space to achieve hardware acceleration. The two are bridged and communicated through a high-speed bus to complete data interaction from the virtual domain to the physical domain.
[0080] Figure 4 An example of the physical acceleration system provided by this embodiment is shown. The physical acceleration system provided by this embodiment is composed of multiple external simulation software, digital space (including synchronous communication components, digital space control and analysis software) and physical accelerators. The external simulation software and the digital space control and analysis software send data through the synchronous communication components. The digital space analyzes the address, data, signal, etc. from the external simulation software and sends them to the hardware acceleration card cluster according to the protocol. After the hardware acceleration card performs data calculation, it returns instructions and data through the synchronous communication component. The synchronous communication component completes the synchronization of internal and external signals and data at each step of the system calculation, so that the entire software and hardware system can perform synchronous simulation.
[0081] The physical acceleration system provided in this embodiment is applicable to simulation technology that improves simulation efficiency. By connecting the computer simulation loop to the real object, it is closer to the actual situation and uses the hardware acceleration concept to achieve an order of magnitude improvement in the system simulation rate. The physical acceleration system provided in this embodiment is a digital mirror of a physical entity or process. It is a simulation model that can be updated in real time and has a doubled computing speed based on digital twin technology. It is used to support decision-making in various activities in the life cycle of physical products.
[0082] The physical acceleration system provided in this embodiment can realize the system synchronization of digital space and physical devices during the data collection and processing of large-scale systems in the field of digital twins, and synchronize the digital end and the physical end within the system at the microsecond level while ensuring the accuracy and authenticity of the data. In addition, the universalization of the interface can improve versatility.
[0083] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The schemes in the embodiments of the present application may be implemented in various computer languages, for example, object-oriented programming language Java and literal scripting language JavaScript, etc.
[0084] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0085] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0086] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0087] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0088] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A physical accelerator, characterized in that: The physical accelerator includes: a plurality of hardware acceleration cards; Among them, multiple hardware acceleration cards are synchronized through inter-board synchronization signals; Any hardware acceleration card includes a master node chip, at least one slave node chip and at least one external high-speed interface; The master and slave node chips of any hardware acceleration card are interconnected through at least one input and output interface and / or at least one internal high-speed serial interface, and the master and slave node chips are synchronized through the internal synchronization control signal line; The physical accelerator is interconnected with the digital space through an external high-speed interface and an external synchronous control signal; The digital space performs synchronization control between the digital space and the hardware acceleration card through the external synchronization control signal.
2. The physical accelerator according to claim 1, characterized in that: The master node chip of any hardware acceleration card is used for bus decoding, input and output control, and high-speed serial interface control; the slave node chip of any board is used to run user-specific functional logic; The chips of any board exchange data via an internal high-speed serial interface.
3. The physical accelerator according to claim 1, characterized in that: A universal interface is reserved in the slave node chip of any hardware acceleration card; The general interface is used to obtain user-specific functional logic; The master node chip of any of the hardware acceleration cards is used to interact with the digital space through an external high-speed interface to perform analysis results, and to re-analyze the analysis results from the digital space and send them to the corresponding slave node chip; wherein the analysis results are the results of the digital space parsing the data sent by the external simulation software; The slave node chip of any hardware acceleration card is used to run user-specific functional logic, accelerate the processing of the re-analysis result sent by the master node chip, and then feed back the processing result to the digital space, so that the digital space feeds back the processing result to the external simulation software.
4. The physical accelerator according to claim 1, characterized in that: The external high-speed interface is a high-speed serial computer expansion bus standard interface; the maximum rate of the external high-speed interface is 5GT / s, and it supports high-throughput data interaction of multiple hardware acceleration cards at the same time; The high-speed serial interface within the pair is a G-bit transceiver interface and / or an interconnection system interface based on data packet switching; the minimum rate of the high-speed serial interface within the pair is 5GT / s; The input and output interface includes one or more of the following: an external memory interface, a flash memory interface; The synchronization error between the hardware acceleration cards is less than 10 nanoseconds.
5. The physical accelerator according to claim 1, characterized in that: The digital space includes: digital space control and analysis software, synchronous communication components and communication interface components; The digital space is used for interface display, data interaction, data display, data storage, data playback, and data synchronization; Wherein, the interface display is implemented based on the DuiLib library, and the user interface and processing logic are separated; The data interaction includes data interaction with external simulation software and data interaction with the physical accelerator; wherein the data interaction with the external simulation software includes: data acquisition and analysis by the external simulation software, obtaining analysis results, and feeding back the processing results of the physical accelerator to the external simulation software; the data interaction with the physical accelerator includes: sending the analysis results to the physical accelerator and receiving the processing results fed back by the physical accelerator; The data display includes the data display of the external simulation software and the display of the processing result fed back by the physical accelerator; The data storage includes classified storage of data of the external simulation software and classified storage of the processing results fed back by the physical accelerator; The data playback includes retrieval and playback of stored data; The data synchronization includes data synchronization between the digital space and the physical accelerator through a synchronization control signal.
6. A physical acceleration system, characterized in that: The system includes: external simulation software, digital space and physical accelerator; Wherein, the physical accelerator is the physical accelerator shown in any one of claims 1 to 5.
7. The system according to claim 6, characterized in that The digital space includes: digital space control and analysis software, a synchronous communication component and a communication interface component.
8. The system according to claim 7, characterized in that The external simulation software is used to send data to the digital space control analysis software through the communication interface component and the synchronous communication component; The digital space control analysis software is used to analyze the data sent by the external simulation software and send the analysis results to the physical accelerator through the communication interface component; The physical accelerator is used to perform acceleration processing based on the analysis result and then feed back the processing result to the external simulation software through the communication interface component and the synchronous communication component.
9. The system according to claim 8, characterized in that The analysis results include the address, data and signal of the external simulation software.
10. The system according to claim 8, characterized in that The synchronous communication component is also used to control the synchronization of signals and data inside and outside the system when the physical accelerator performs acceleration processing based on the analysis result.
Citation Information
Patent Citations
Digital logic simulation acceleration architecture based on fragmentation
CN115964969A
Virtual-real integrated multi-agent cluster system simulation method
CN115994458A
PLC data-based assembly line digital twinning method and system
CN116700133A
Shaft hoist digital twin system architecture design, modeling and data interaction method
CN117078122A
Vehicle digital twin instance simulation operation system and method
CN117390854A
