A localization heterogeneous computing platform and test method for industrial edge multi-intelligent algorithm test

The domestically developed heterogeneous computing platform solves the resource competition and testing challenges of multiple intelligent algorithms on industrial edge devices, enabling collaborative execution and unified testing of multiple intelligent algorithms, reducing deployment and debugging costs, and improving testing flexibility and result traceability.

CN123157591APending Publication Date: 2026-11-24HARBIN INST OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611302053.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-26
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing technologies make it difficult to achieve parallel testing and verification of multiple intelligent algorithms on industrial edge devices. There is severe competition for resources, a lack of standardized access and testing processes, resulting in high costs for algorithm deployment and debugging, and difficulty in comparative testing and evaluation on different domestic computing resources.

Method used

It adopts a domestically produced heterogeneous computing platform, including a main control computing unit, an AI acceleration processing unit, and an FPGA interface processing unit. Through a modular stacking structure and data exchange module, it realizes the division of labor for algorithm management, data access, model inference, and testing tasks, and supports the collaborative execution and unified testing of multiple intelligent algorithms.

Benefits of technology

It reduces resource contention on a single processor, supports collaborative execution and unified testing of multiple intelligent algorithms, adapts to the needs of industrial edge applications, reduces algorithm deployment and debugging costs, and improves testing flexibility and result traceability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123157591A_ABST
    Figure CN123157591A_ABST
Patent Text Reader

Abstract

The application discloses a localization heterogeneous computing platform and a testing method for industrial edge multi-intelligent algorithm testing, belongs to the technical field of industrial edge computing and intelligent algorithm testing, and solves the problems of resource competition, non-uniform interfaces, difficult parallel scheduling and incomplete evaluation of multi-intelligent algorithm deployment testing in an industrial edge scene. The application adopts a domestic CPU, an NPU and an FPGA to construct a modularized stacking heterogeneous platform, which respectively undertakes task arrangement, model reasoning and industrial data preprocessing; a standard algorithm package access, two-stage registration self-checking, multi-task independent parallel scheduling, heterogeneous hardware unified adaptation and software and hardware state correlation evaluation mechanism are designed in a matched mode, so that unified deployment and collaborative testing of multiple intelligent algorithms are realized. The application is suitable for an industrial field machine vision application scene.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of industrial edge computing and intelligent algorithm testing, and particularly relates to a domestic heterogeneous computing platform for industrial edge multi-intelligent algorithm testing and a testing method. BACKGROUND

[0002] With the development of industrial internet and intelligent manufacturing, various intelligent perception algorithms such as machine vision detection, equipment state recognition and time sequence anomaly detection are gradually deployed in industrial edge sites. Current industrial edge devices mostly adopt single processor architecture, and simultaneously undertake data acquisition, model inference and test management tasks, which is prone to resource competition and difficult to support parallel testing and verification of multiple intelligent algorithms.

[0003] Furthermore, due to the diversity of industrial intelligent algorithm development frameworks, non-uniformity of model formats and input specifications, and lack of standardized access and testing processes, the algorithm deployment and debugging cost is high; the existing testing schemes are mostly designed for single algorithm or single computing resource, and it is difficult to realize comparative testing of the same algorithm on different domestic computing resources, and it is also difficult to associate the algorithm execution result with the hardware running state for evaluation, so the traceability and comprehensiveness of the testing result are insufficient. In addition, there is a lack of unified testing scheme for multiple intelligent algorithms on domestic embedded computing platforms, which is difficult to adapt to the application requirements of industrial site electromagnetic compatibility, wide temperature operation and long-term continuous work. SUMMARY

[0004] The application provides a domestic heterogeneous computing platform for industrial edge multi-intelligent algorithm testing and a testing method, which aims to solve the problems of resource competition, non-uniform interface, parallel scheduling difficulty and incomplete evaluation of multi-intelligent algorithm deployment testing in industrial edge scenarios.

[0005] In a first aspect, the application aims to provide a domestic heterogeneous computing platform for industrial edge multi-intelligent algorithm testing, which includes a main control computing unit, an AI acceleration processing unit, an FPGA interface processing unit and a data exchange module.

[0006] The main control computing unit is used to run multi-intelligent algorithm testing software, complete algorithm package management, test task scheduling, data preprocessing, result aggregation and test report generation, and perform state management on the AI acceleration processing unit and the FPGA interface processing unit.

[0007] The AI acceleration processing unit is used to complete deep learning model loading, tensor inference, inference performance collection and device state feedback.

[0008] The FPGA interface processing unit is used to complete industrial site multi-type data access, protocol analysis, timestamp marking, data caching and deterministic preprocessing, and output structured standard data.

[0009] The data exchange module is in communication connection with the master control computing unit, the AI acceleration processing unit and the FPGA interface processing unit respectively, for realizing data interaction between units and providing access interface of external test control end;

[0010] The platform adopts a modular stacking structure, and the master control computing unit, the AI acceleration processing unit and the FPGA interface processing unit are independent function boards, each of which can be independently debugged, replaced and upgraded, and the computing resources and interface resources can be flexibly configured according to test tasks.

[0011] Further, a preferred scheme is provided: the master control computing unit adopts a domestic embedded CPU, which is a Feiteng master control computing board, including a Feiteng Tengxue D2000 core board, an Ethernet switch module, an M.2 NVMe storage module, a USB interface module, a reset circuit, a DP display interface module and a master control power module.

[0012] The Ethernet switch module adopts an RTL8367RB-CG switching chip, which is connected with the Feiteng core board network port, the AI acceleration processing unit network port, the FPGA interface processing unit network port and the external connector respectively, to realize network interconnection between internal units and the outside.

[0013] Further, a preferred scheme is provided: the master control power module adopts a hierarchical step-down power supply architecture: the external 28V DC input is converted into 12V main power supply through an LM5148RGYR synchronous step-down circuit, the 12V main power supply is converted into 5V voltage through an IS6606, and the 5V voltage is converted into 3.3V voltage through an RY9132, to supply power for devices in the board.

[0014] Further, a preferred scheme is provided: the AI acceleration processing unit adopts a domestic neural network processor, which is a Shengsheng AI acceleration board, taking an Atlas 200I A2 Shengsheng acceleration module as the core, including an acceleration board power module, an eMMC storage module, a gigabit Ethernet interface module and a debugging auxiliary circuit.

[0015] Further, a preferred scheme is provided: the gigabit Ethernet interface module includes a Yutai micro YT8521SH-CA gigabit PHY chip and a G2415S network transformer; the RGMII MAC signal output by the Atlas 200I A2 module is converted into a physical layer signal through the PHY chip, and then output after isolation through the network transformer.

[0016] Further, the preferred solution is provided: the acceleration board power module adopts a hierarchical step-down architecture: the external 28V DC input is converted to 12V main power through the LM76005RNPR step-down circuit, and the TPS24711DGSR hot plug controller is arranged at the 12V input end; the 12V main power is converted to 3.3V voltage through the SGM61163XTRI14G / TR, to 5V voltage through the TPS563202DRLR, and to 1.8V voltage through the TPL930ADJ-QF6R.

[0017] Further, the preferred solution is provided: the FPGA interface processing unit adopts a domestic field programmable gate array, which is an FPGA interface processing board, and adopts the PG2L100H chip of Zhejiang Ulead Technology Co., Ltd., and includes an FPGA power module, an industrial bus interface module, an AD acquisition module, an Ethernet interface module, a debugging and maintenance interface, and an SD card storage module.

[0018] In a second aspect, the purpose of the present application is to propose an industrial edge-oriented multi-intelligent algorithm testing method, which is applied to the industrial edge-oriented multi-intelligent algorithm testing domestic heterogeneous computing platform of any one or more of the above-mentioned solutions in combination, and includes the following steps:

[0019] S1: access industrial real-time data, historical data sets, simulation data or fault injection data, and convert them into standard data records in a unified format after being processed by the FPGA interface processing unit or the main control computing unit; the standard data records at least include data source identification, channel identification, time stamp, data type, data value and valid state;

[0020] S2: encapsulate the to-be-tested algorithm into a standard algorithm package, complete registration after passing through two-level verification of loading self-check and running self-check in sequence, and perform version management and maintenance on the algorithm;

[0021] S3: select the to-be-tested algorithm, data source and target execution device according to the testing requirements, configure the testing parameters, and establish an independent task context, input window and task queue for each algorithm testing task;

[0022] S4: distribute the testing tasks to the corresponding execution adapters according to the algorithm type, and complete the algorithm execution by the main control computing unit, the AI acceleration processing unit or the FPGA interface processing unit;

[0023] S5: during the algorithm execution process, synchronously collect the algorithm output, execution time delay, hardware resource occupation, temperature and power consumption state data of each computing unit;

[0024] S6: associate the algorithm output and hardware state data based on the task identification and time stamp, generate evaluation results including correctness, performance, resource occupation and stability indicators, and output the testing report.

[0025] Thirdly, the present invention aims to provide a computer device, the computer device including a memory and a processor, the memory storing a computer program, and when the processor runs the computer program stored in the memory, the processor executes the multi-intelligent algorithm testing method for industrial edge as described in any one or more of the above-described schemes.

[0026] Fourthly, the present invention aims to provide a computer-readable storage medium for storing a computer program that executes the multi-intelligent algorithm testing method for industrial edge computing described in any one or more of the above-described schemes.

[0027] Compared with the prior art, the advantages of the present invention are:

[0028] This invention adopts a heterogeneous computing architecture of domestic CPU, NPU and FPGA, and maps algorithm management, model inference and data access to different computing resources respectively, effectively reducing the resource competition of a single processor, supporting the collaborative execution and unified testing of multiple intelligent algorithms, and adapting to the needs of domestic industrial edge applications.

[0029] This invention enables unified access to algorithms from different development frameworks and model formats through standard algorithm package encapsulation and unified calling interface, reducing the cost of algorithm deployment and debugging; coupled with a two-level verification mechanism of loading self-test and running self-test, it improves the operational stability of the algorithm after deployment and reduces test interruptions.

[0030] This invention employs a multi-task independent orchestration mechanism with a shared data source, allowing multiple algorithms to share the same industrial data stream while maintaining independent task queues and running statuses. An malfunction in a single algorithm does not affect the execution of other tasks, thus achieving efficient scheduling for parallel and independent testing of multiple algorithms.

[0031] This invention shields the underlying driver differences of different computing resources through a heterogeneous execution adapter, supporting cross-device comparative testing of the same algorithm on CPU, NPU, and FPGA, thereby improving testing flexibility.

[0032] This invention is applicable to machine vision applications in industrial settings. Attached Figure Description

[0033] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.

[0034] Figure 1 This is a schematic diagram of the overall architecture of the domestically produced heterogeneous computing platform and multi-intelligent algorithm testing software of the present invention;

[0035] Figure 2 This is a schematic diagram of the overall hardware architecture of the domestically produced heterogeneous computing platform of the present invention;

[0036] Figure 3 This is a schematic diagram of the modular stacking structure of the present invention;

[0037] Figure 4 A schematic diagram of the overall data flow for testing multiple intelligent algorithms;

[0038] Figure 5 A schematic diagram of the layered architecture of multi-intelligent algorithm testing software;

[0039] Figure 6 This is the circuit diagram of the power module of the Phytium main control computing board;

[0040] Figure 7 Block diagram of the M.2 NVMe storage interface of the Phytium main control computing board;

[0041] Figure 8 Diagram of USB interface and ESD protection circuit for Phytium main control computer board;

[0042] Figure 9 This is the reset circuit diagram for the Phytium main control computer board;

[0043] Figure 10 This is a structural diagram of the DP display module on the Phytium main control computing board;

[0044] Figure 11 This is a structural diagram of the Ethernet switch module on the Phytium main control computing board.

[0045] Figure 12 This is a schematic diagram of the power tree structure of the Ascend AI Accelerator Board;

[0046] Figure 13 This is a circuit diagram of the eMMC storage for the Ascend AI Accelerator Board.

[0047] Figure 14 Circuit diagram of the Gigabit Ethernet interface for the Ascend AI Accelerator Board;

[0048] Figure 15 This is the circuit diagram for the USB interface of the Ascend AI Accelerator Board.

[0049] Figure 16 Auxiliary support circuit diagram for Ascend AI Accelerator Board;

[0050] Figure 17 This is a diagram of the power tree structure of an FPGA board.

[0051] Figure 18This is the circuit diagram for the RS422 interface of the FPGA board.

[0052] Figure 19 This is the CAN interface circuit diagram for the FPGA board.

[0053] Figure 20 This is the interface circuit diagram for the FPGA board 1553B.

[0054] Figure 21 This is the circuit diagram for the serial port interface of the FPGA board.

[0055] Figure 22 This is a schematic diagram of the Ethernet data flow on the FPGA backplane.

[0056] Figure 23 This is the circuit diagram for the Ethernet interface on the FPGA baseboard.

[0057] Figure 24 This is a circuit diagram for storing data on an FPGA board.

[0058] Figure 25 A flowchart outlining the complete testing process for multiple intelligent algorithms;

[0059] Figure 26 Flowchart for algorithm package deployment and version management testing. Detailed Implementation

[0060] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application can also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods are omitted so as not to obscure the description of this application with unnecessary detail.

[0061] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0062] Many specific details are set forth in the following description in order to provide a full understanding of this application. However, this application may also be implemented in other ways different from those described herein. Those skilled in the art can make similar extensions without departing from the spirit of this application. Therefore, this application is not limited to the specific embodiments disclosed below.

[0063] Implementation Method 1

[0064] As shown in Figure 1 and Figure 2, Figure 3 As shown, this invention discloses a domestically produced heterogeneous computing platform for testing multiple intelligent algorithms at the industrial edge. Designed to meet the deployment and testing needs of various intelligent sensing algorithms on domestically produced embedded devices in industrial settings, the platform consists of a domestically produced embedded CPU main control computing unit, an AI acceleration processing unit, an FPGA interface processing unit, and a data exchange module. The platform maps algorithm management, test task orchestration, general logic computation, intelligent model inference, and on-site data access to different types of computing resources, enabling unified deployment, collaborative execution, and testing evaluation of multiple intelligent algorithms. This reduces resource contention caused by a single processor simultaneously handling data acquisition, model inference, and test management tasks.

[0065] The platform adopts a modular stacked structure, consisting of three independent boards: a main control computing board, an AI acceleration processing board, and an FPGA interface processing board. Each board is relatively independent in function, and its computing and interface resources can be flexibly configured according to industrial algorithm testing tasks. It also supports individual debugging, replacement, and upgrades. The overall structure can be designed to meet the requirements of industrial environments for electromagnetic compatibility, wide-temperature operation, and long-term continuous operation.

[0066] The functions of each key module of the platform are shown in Table 1:

[0067] Table 1 Key Module Function Descriptions

[0068]

[0069] The domestically produced embedded CPU serves as the platform's main control unit, responsible for running multi-intelligent algorithm testing software, receiving algorithm packages, parsing test configurations, and registering algorithms. The CPU also handles industrial data preprocessing, test task orchestration, and result aggregation, and provides unified state management for the AI ​​acceleration processing unit and FPGA interface processing unit, offering a control foundation for independent testing, parallel testing, and cross-device comparative testing of multiple algorithms.

[0070] The AI ​​acceleration processing unit primarily undertakes the deep learning model inference tasks in industrial intelligent sensing algorithms. It supports machine vision inspection, equipment status recognition, and temporal anomaly detection, and can also be used for sound recognition and multi-sensor fusion. The CPU organizes model input and schedules test tasks, while the AI ​​acceleration processing unit loads and performs inference, returning algorithm output, execution latency, and equipment status.

[0071] The FPGA interface processing unit is primarily responsible for data access and protocol adaptation from industrial sensors, PLCs, and fieldbuses. The FPGA performs protocol parsing, data format conversion, and timestamping of external data, and completes integrity verification and cache management, converting data from different sources into unified data records to provide structured input for the CPU and AI acceleration processing units.

[0072] The platform adopts a modular stacked structure, consisting of a main control computing board, an AI acceleration processing board, and an FPGA interface processing board. Each board is relatively independent in function, and its computing and interface resources can be flexibly configured according to industrial algorithm testing tasks. It also supports individual debugging, replacement, and upgrades. The overall system can be structurally designed to meet the requirements of industrial environments for electromagnetic compatibility, wide-temperature operation, and long-term continuous operation.

[0073] like Figure 4 The diagram shows the overall data flow of the platform: The platform supports receiving real-time data from industrial sites, historical datasets, and simulation test data, as well as fault injection data. For fieldbus and analog signals, the FPGA performs protocol parsing, timestamp marking, and data verification, and performs caching; for file or database data, the CPU performs data reading and format conversion. Data from different sources is uniformly converted into standard data records, the contents of which include at least the data source identifier, channel identifier, timestamp, data type, data value, and validity status.

[0074] The CPU performs data channel filtering, time alignment, and window assembly based on the input specifications of the algorithm under test, and performs missing value marking and data type conversion to form a standard algorithm input object. Rule-based statistical algorithms and traditional machine learning algorithms can be called by the CPU execution adapter, deep learning algorithms by the NPU execution adapter, and deterministic preprocessing tasks by the FPGA execution adapter. During algorithm execution, execution latency, processor load, and memory usage are simultaneously collected, along with device temperature and power consumption.

[0075] After the test is completed, the CPU uses the task identifier and timestamp to associate the algorithm output and hardware status to generate evaluation results for correctness, real-time performance, and throughput, and summarizes resource usage and stability indicators. The platform thus forms a closed loop for multi-intelligent algorithm testing, encompassing data injection, algorithm execution, status monitoring, result evaluation, and report generation.

[0076] like Figure 5 As shown, the multi-algorithm testing software is deployed on a Phytium main control CPU. The software is layered and includes seven core modules: core control module, algorithm package deployment and version management module, test data management module, heterogeneous algorithm execution module, multi-algorithm test task orchestration module, runtime status monitoring module, and test result evaluation module. Each module interacts through a standard interface, shielding the underlying hardware differences and supporting unified scheduling and testing of multiple types of algorithms.

[0077] Implementation Method 2

[0078] Reference Figures 6 to 24 This implementation method is described below.

[0079] This embodiment is a further explanation of the overall hardware board architecture in the domestically produced heterogeneous computing platform for testing multi-intelligent algorithms at the industrial edge, as described in Embodiment 1.

[0080] 1. Main control computing unit (including power supply module, M.2 NVMe storage module, USB and reset design, display interface design, Ethernet switch module)

[0081] The main control computing unit uses a domestically produced embedded CPU, specifically the Phytium main control computing board, which serves as the platform control hub. It is equipped with the Phytium D2000 core board and integrates an RTL8367RB-CG multi-channel Ethernet switching chip, M.2 NVMe high-speed storage, DP display, USB, and reset circuit. It adopts a 28V input graded step-down power supply architecture to provide stable multi-level voltages for the entire board and is responsible for overall task scheduling, data aggregation, and report generation.

[0082] (1) Power module

[0083] In terms of power supply modules, Phytium's standalone computing machine adopts a tiered step-down power supply architecture. The external 28V DC power supply is first converted into VCC12V0 main power supply by the LM5148RGYR synchronous step-down circuit, and then the 12V main power supply is converted into other board-level operating voltages by IS6606 and RY9132 respectively.

[0084] (2) M.2 NVMe storage module

[0085] The M.2 NVMe storage interface is used to support system programming and data management functions of the Phytium core board. Compared with ordinary low-speed storage media, NVMe solid-state drives have higher read and write speeds and better capacity scalability, making them suitable as local data storage media for master nodes.

[0086] (3) USB and reset design

[0087] The USB interface is used for external data import, debugging device connection, and system maintenance. It is practically necessary for the CPU main control board to retain a USB interface. After the USB signal is brought out, it should first pass through the ESD protection device to reduce the impact of electrostatic discharge on the main control chip and high-speed transceiver when plugging and unplugging peripherals.

[0088] The reset control circuit includes power reset and reset functions, providing the most basic hardware control entry point during system startup, fault recovery, and on-site debugging. When system services malfunction or the network is disconnected, the main control board can be returned to a predetermined state via reset.

[0089] (4) Display interface

[0090] Regarding the display interface, the Phytium Computing standalone unit provides a DP display channel for connecting to an external monitor, enabling system installation, startup status observation, and application software debugging. The interface power supply is provided by a 3.3V power supply via a ferrite bead / filter device, offering auxiliary power to the display interface side, with current limiting and decoupling handled by resistors and capacitors.

[0091] (5) Ethernet switch module

[0092] The Ethernet switch module uses the RTL8367RB-CG as its onboard Ethernet switching chip to implement multi-port Ethernet expansion and data exchange. This module connects to the Phytium main control network port, Ascend acceleration module network port, FPGA / peripheral network port, and external connectors, enabling network interconnection between the internal computing modules and external devices. Each Ethernet differential signal is equipped with a network transformer before entering the external interface to improve differential signal transmission quality and enhance the stability of high-speed network communication.

[0093] 2. AI acceleration processing unit (including power module, storage module, gigabit Ethernet, debugging and auxiliary circuitry)

[0094] The AI ​​acceleration processing unit is the Ascend AI Accelerator Board, which uses the Atlas 200I A2 module as its core. It primarily handles deep learning model inference and algorithm acceleration functions in industrial intelligent sensing algorithm testing. The Ascend AI Accelerator Board's schematic design focuses on power supply, system startup, network communication, and status debugging, ensuring the AI ​​acceleration module can be stably powered on, start independently, and participate in the data collaboration of the entire platform.

[0095] (1) Power module design

[0096] In terms of power modules, the Ascend AI Accelerator Board uses 28V as the main input power, and converts it to multiple board-level voltages such as 12V, 5V, 3.3V, and 1.8V as needed. The external 28V power supply first enters a first-stage DC / DC step-down circuit, where an LM76005RNPR converts the 28V to the 12V main power supply. A hot-swap controller TPS24711DGSR is installed at the 12V input to limit the inrush current during power-on, preventing excessive current during plugging / unplugging or startup from affecting the stability of subsequent circuits. The 12V to 3.3V conversion uses an SGM61163XTRI14G / TR power module, mainly supplying power to digital logic, interface levels, and some peripheral circuits; the 12V to 5V conversion uses a TPS563202DRLR for powering USB and other peripherals; and the 3.3V to 1.8V conversion uses a TPL930ADJ-QF6R to meet the power requirements of low-voltage interfaces and some chips. The power tree design is as follows: Figure 5 As shown.

[0097] (2) Storage module

[0098] The NPU accelerator board uses eMMC media for local storage to save system images, runtime environments, inference frameworks, and subsequent model files, ensuring that the NPU module has independent startup and maintenance capabilities.

[0099] The eMMC NAND flash memory used is the Samsung KLMBG2JETD-B041. This device is a 32GB eMMC 5.1 device, which is protocol-compatible with the eMMC 5.1 controller of the Atlas200I A2 module. It can be directly used for storing system images, basic software, and model files, while the 32GB capacity is sufficient for the local boot and runtime environment loading of the Ascend system.

[0100] (3) Gigabit Ethernet

[0101] The Atlas 200I A2 module outputs an RGMII MAC interface signal, not an Ethernet signal that can be directly connected to a twisted-pair cable. Therefore, an external PHY chip is required to complete the conversion from the MAC layer to the physical media layer. This implementation selects the YT8521SH-CA from Yutai Microelectronics as the external Gigabit Ethernet PHY. The RGMII signal of the Atlas 200I A2 is directly compatible with the YT8521SH-CA; furthermore, this PHY has a high degree of integration and can effectively implement the physical layer of a single Gigabit Ethernet port.

[0102] The PHY stage also requires isolation and cable-side coupling via a network transformer. In this implementation, the G2415S is used as the network transformer to improve the system's ability to suppress common-mode interference and external surges, while also completing interface impedance matching to ensure stable transmission of Gigabit Ethernet signals.

[0103] (4) Debugging and auxiliary circuit design

[0104] The Ascend AI Accelerator Board retains auxiliary debugging circuits such as USB, debug serial port, reset control, and status indicator circuit. The debug serial port is used for startup log output and low-level fault recovery; USB is used for image maintenance and peripheral connection; and the status indicator circuit is used to display the module's power-on, running, and sleep status.

[0105] 3. FPGA Interface Processing Unit

[0106] (1) Power module design

[0107] In terms of power supply modules, the FPGA interface processing board uses a 28V power supply as the main input power, and converts it into multiple board-level voltages such as 12V, 5V, 3.3V, and 1.8V as needed. The external 28V power supply first enters a single-stage DC / DC step-down circuit, where an LM76005RNPR converts the 28V to 12V main power. The 12V to 7V module uses a TPS54428DDAR chip. The 12V to 3.3V conversion uses the MP2143DJ-LF-Z power module; the 12V to 5V conversion uses the MP2225GJ-Z module; and the 5V to 1.8V conversion uses the MP2143DJ-LF-Z module.

[0108] (2) External bus and signal interface design

[0109] The FPGA baseboard retains interfaces such as RS422, CAN, 1553B, and AD acquisition for receiving various types of external data in industrial fields and specialized equipment. RS422 is suitable for differential serial communication and has good anti-interference capabilities; CAN is suitable for distributed control node access; 1553B is suitable for high-reliability deterministic bus communication scenarios and can be used for data exchange between nodes in specialized equipment; the AD acquisition module is used to receive external analog signals.

[0110] The HI-1573 is used as the bus transceiver, and the PM-DB2725EX is used as the isolation transformer. The HI-1573 is a low-power CMOS monolithic dual transceiver, operating from a single 3.3V supply, meeting the MIL-STD-1553 specification, and can be used with 1:1.79 or 1:2.5 turns ratio transformers for different coupling methods. The PM-DB2725EX is a dual-ratio isolation transformer that supports both 1:1.79 and 1:2.5 turns ratios.

[0111] In the transmitting direction, the FPGA outputs encoding / control signals into the 1553B interface device, and then forms a differential bus signal through bus coupling and isolation network. In the receiving direction, the differential signal of the 1553 bus is transmitted from the connector through the signal isolation adjustment of the isolation transformer, and then through the 1553B transceiver to the FPGA's functional control IP core for data processing.

[0112] (3) FPGA debugging and maintenance interface design

[0113] The FPGA backplane retains debugging and maintenance interfaces such as a serial port, JTAG, and a reset button. The serial port is used for log output and command interaction; JTAG is used for FPGA configuration download, online debugging, and boundary testing; the reset circuit ensures that the FPGA and its peripherals return to a defined state after power-on or in case of abnormal conditions.

[0114] (4) FPGA Ethernet Interface Design

[0115] The FPGA backplane is equipped with multiple Ethernet interfaces, one of which is used to connect to the internal switching plane of the master node, while the other interfaces can be used for external high-speed data input or future expansion. The Ethernet link allows the FPGA to exchange data with the CPU main control board via standard network protocols, avoiding the need for all data to be transmitted via a dedicated parallel bus and reducing the difficulty of system integration and debugging.

[0116] (5) Storage module design

[0117] The FPGA interface processing board uses an SD card as the boot medium. First, the system image, FPGA configuration file, or interface processing program is written to the SD card on the host computer. Then, the SD card is inserted into the FPGA interface processing board, and the system loading and function operation are completed through the board's boot configuration.

[0118] Implementation Method 3: Description of Core Software Functions

[0119] All algorithms to be tested are uniformly packaged into a standard algorithm package, which includes description files, programs, models, configurations, and test cases. During deployment, a loading self-check is performed first (verifying files, specifications, and environment), followed by a runtime self-check (small sample trial run to verify output and latency). Only after both checks are passed can the algorithm be registered and used, reducing the probability of test failures.

[0120] Multiple algorithms can subscribe to the same data stream, but each task independently maintains its read cursor, window cache, and task queue. When a single algorithm times out or crashes, it only isolates itself and does not affect the continuous operation of other test tasks. It supports four types of test modes: independent testing, parallel testing, cross-hardware comparison, and multi-version regression.

[0121] Three types of execution adapters are set up: CPU, NPU, and FPGA. A unified calling interface is provided at the top, and different domestic hardware drivers are adapted at the bottom. The software automatically matches the optimal execution hardware according to the algorithm type and resource load, and supports performance comparison of the same algorithm on multiple heterogeneous hardware.

[0122] By binding algorithm output, inference latency, CPU / NPU / FPGA load, temperature, power consumption, and network traffic to task numbers and global timestamps, a traceable test report is automatically generated from four dimensions: correctness, performance, resource usage, and stability. The report fully retains the algorithm version, test dataset, hardware parameters, and runtime logs.

[0123] Implementation Method 4: Testing Process

[0124] 1. Multi-algorithm testing

[0125] Multi-algorithm testing is used to verify the deployment compatibility, execution correctness, and operational performance of multiple industrial intelligent sensing algorithms on a domestically produced heterogeneous computing platform. The test steps are as follows: Figure 25As shown in the figure, the simulation software corresponds to the test control software of this embodiment, and the hardware platform computing stage corresponds to the task arrangement and execution process of the multi-intelligent algorithm test software.

[0126] Step 1: Start the multi-intelligent algorithm testing software and the domestic heterogeneous computing platform, check the operating status of the CPU, NPU and FPGA, and then proceed to Step 2;

[0127] Step 2: Read the algorithm registry, display the registered algorithms, algorithm versions, running status, and supported target devices, then proceed to Step 3;

[0128] Step 3: Select one or more algorithms to be tested, and specify a test version for each algorithm, then proceed to Step 4;

[0129] Step 4: Select industrial real-time data, historical datasets, simulation data, or fault injection data as the test data source, then proceed to Step 5;

[0130] Step 5: Configure the input channel, window length, step size, number of executions, concurrency, and timeout, and select CPU, NPU, or FPGA as the target device, then proceed to Step 6;

[0131] Step Six: The platform checks the integrity of the algorithm package, the specifications of the input data, and the operating environment of the target device; if the check passes, proceed to Step Seven; if the check fails, return to Step Three or Step Five to modify the configuration.

[0132] Step 7: The test task orchestration module establishes an independent task context, input window, and task queue for each algorithm, then proceed to Step 8;

[0133] Step 8: The data adaptation module completes channel filtering, time alignment, and window assembly, and injects data into each algorithm task through the standard input interface, then proceeds to step 9;

[0134] Step 9: The heterogeneous execution module assigns tasks to the corresponding execution adapters. Multiple algorithms are executed independently or in parallel according to the configuration. Proceed to Step 10.

[0135] Step 10: The runtime status monitoring module synchronously collects algorithm output, execution latency, and resource usage, and completes result association based on task number and timestamp, then proceeds to step 11;

[0136] Step 11: The result evaluation module calculates the correctness, throughput, resource consumption, and stability indicators, and displays the algorithm results and comparison results in the test control software, then proceeds to Step 12;

[0137] Step 12: After the test, review the output, performance curves and exception logs of each algorithm, and confirm that the test data and algorithm version records are complete, then proceed to Step 13;

[0138] Step 13: Generate and save the test report, which includes test configuration, algorithm version, dataset index, target device, evaluation metrics, and runtime logs. End the test.

[0139] 2. Multi-algorithm deployment and version management testing

[0140] Multi-algorithm deployment and version management testing is used to verify the standard algorithm package upload, algorithm registration, version switching, and exception rollback functions. The test steps are as follows: Figure 26 As shown in the diagram, the control software corresponds to the algorithm deployment and testing control software, and the APP corresponds to the multi-intelligent algorithm testing software.

[0141] Step 1: Launch the algorithm deployment and testing control software, enter the algorithm management interface, and proceed to Step 2;

[0142] Step 2: Start the multi-intelligent algorithm testing software on the domestic heterogeneous computing platform, put the control command interface and algorithm package upload interface into listening mode, and then proceed to Step 3;

[0143] Step 3: Configure the platform IP address, control command port, and algorithm package upload port, and perform a connection test; if the connection is successful, proceed to step 5; if the connection fails, proceed to step 4.

[0144] Step 4: Check the platform software startup status, IP address, port configuration, firewall, and physical link. After fixing any abnormalities, return to Step 3.

[0145] Step 5: Send an algorithm and version query command to obtain the type, algorithm number, current version, and running status of the deployed algorithms; if the query is successful, proceed to step 7; if the query fails, proceed to step 6.

[0146] Step Six: Check the query command, algorithm registry, version configuration table, and interface service status. After fixing any anomalies, return to Step Five.

[0147] Step 7: Determine whether this task is a new algorithm deployment or an existing algorithm version update; for a new algorithm deployment, proceed to Step 8; for an existing algorithm version update, proceed to Step 12.

[0148] Step 8: Prepare the algorithm description file, entry program, model or rule file, parameter configuration and test cases according to the standard algorithm package specification, and complete the algorithm package packaging, then proceed to step 9;

[0149] Step 9: Perform integrity checks, interface specification checks, and target device compatibility checks on the algorithm package; if the checks pass, proceed to Step 10; if the checks fail, return to Step 8.

[0150] Step 10: Upload the new algorithm package. The platform receives, verifies, and decompresses the package, and then performs a loading self-test and a minimum running self-test in sequence. After the self-test passes, registration is completed, and you proceed to Step 11.

[0151] Step 11: Check the registration status of the new algorithm to confirm that the algorithm number, algorithm name, input channel, target device and version number have been written to the registry and the algorithm status is testable; if the registration is successful, proceed to step 15; if the registration fails, return to step 8 or step 10.

[0152] Step 12: Select the algorithm to be updated and the target version file, upload the new version algorithm package or parameter configuration, and proceed to Step 13;

[0153] Step 13: After the platform completes file verification, version registration, and candidate version self-check, it queries the version number of the corresponding algorithm; if the query is successful, it proceeds to step 14; if the query fails, it checks the upload records and platform logs and then returns to step 12.

[0154] Step Fourteen: Perform a specified version switch or version rollback, and run a verification test using standard test cases to confirm that the current loaded version, algorithm output, and execution status meet the requirements, then proceed to Step Fifteen;

[0155] Step 15: Save the test logs, upload records, version query results, self-check results, and platform feedback information to complete one algorithm deployment and version management test;

[0156] Step 16: Repeat the algorithm version switching and rollback test 100 times, count the number of successful attempts and calculate the success rate.

[0157] It is understood that the present invention has been described through some embodiments, and those skilled in the art will recognize that various changes or equivalent substitutions can be made to these features and embodiments without departing from the spirit and scope of the invention. Furthermore, under the teachings of the present invention, these features and embodiments can be modified to adapt to specific situations and materials without departing from the spirit and scope of the invention. Therefore, the present invention is not limited to the specific embodiments disclosed herein, and all embodiments falling within the scope of the claims of this application are within the protection scope of the present invention.

Claims

1. A domestically developed heterogeneous computing platform for testing multi-intelligent algorithms at the industrial edge, characterized in that, It includes a main control computing unit, an AI acceleration processing unit, an FPGA interface processing unit, and a data exchange module; The main control computing unit is used to run multi-intelligent algorithm testing software, complete algorithm package management, test task arrangement, data preprocessing, result aggregation and test report generation, and perform status management of AI acceleration processing unit and FPGA interface processing unit; The AI ​​acceleration processing unit is used to complete deep learning model loading, tensor inference, inference performance acquisition, and device status feedback. The FPGA interface processing unit is used to complete multi-type data access, protocol parsing, timestamp marking, data caching and deterministic preprocessing in industrial fields, and output structured standard data; The data exchange module is communicatively connected to the main control computing unit, the AI ​​acceleration processing unit, and the FPGA interface processing unit, respectively, to realize data interaction between the units and provide an access interface for the external test control terminal. The platform adopts a modular stacked structure. The main control computing unit, AI acceleration processing unit, and FPGA interface processing unit are all independent functional boards. Each board can be independently debugged, replaced, and upgraded, and computing and interface resources can be flexibly configured according to the test task.

2. The domestically developed heterogeneous computing platform for testing multi-intelligent algorithms at the industrial edge, as described in claim 1, is characterized in that... The main control computing unit uses a domestically produced embedded CPU, which is a Phytium main control computing board, including a Phytium Tengrui D2000 core board, an Ethernet switch module, an M.2 NVMe storage module, a USB interface module, a reset circuit, a DP display interface module, and a main control power supply module. The Ethernet switch module uses the RTL8367RB-CG switching chip, which connects to the Phytium core board network port, the AI ​​acceleration processing unit network port, the FPGA interface processing unit network port, and the external connector, respectively, to realize network interconnection between internal units and the outside.

3. The domestically developed heterogeneous computing platform for testing multi-intelligent algorithms at the industrial edge, as described in claim 2, is characterized in that... The main control power module adopts a hierarchical step-down power supply architecture: the external 28V DC input is converted into 12V main power through the LM5148RGYR synchronous step-down circuit, the 12V main power is converted into 5V voltage through IS6606, and then converted into 3.3V voltage through RY9132 to power the various devices on the board.

4. The domestically developed heterogeneous computing platform for testing multi-intelligent algorithms at the industrial edge, as described in claim 1, is characterized in that... The AI ​​acceleration processing unit uses a domestically produced neural network processor, which is the Ascend AI acceleration board. It is based on the Atlas 200IA2 Ascend acceleration module and includes an acceleration board power module, an eMMC storage module, a gigabit Ethernet interface module, and debugging auxiliary circuits.

5. The domestically developed heterogeneous computing platform for testing multi-intelligent algorithms at the industrial edge, as described in claim 4, is characterized in that... The gigabit Ethernet interface module includes a YT8521SH-CA gigabit PHY chip and a G2415S network transformer; the RGMII MAC signal output by the Atlas 200I A2 module is converted into a physical layer signal by the PHY chip and then output after isolation by the network transformer.

6. The domestically developed heterogeneous computing platform for testing multi-intelligent algorithms at the industrial edge, as described in claim 4, is characterized in that... The power module of the accelerator board adopts a hierarchical step-down architecture: the external 28V DC input is converted to 12V main power by the LM76005RNPR step-down circuit, and the 12V input terminal is equipped with a TPS24711DGSR hot-swap controller; the 12V main power is converted to 3.3V voltage by the SGM61163XTRI14G / TR, converted to 5V voltage by the TPS563202DRLR, and the 3.3V voltage is converted to 1.8V voltage by the TPL930ADJ-QF6R.

7. The domestically developed heterogeneous computing platform for testing multi-intelligent algorithms at the industrial edge, as described in claim 1, is characterized in that... The FPGA interface processing unit adopts a domestic field-programmable gate array and is an FPGA interface processing board. It uses the Ziguang Tongchuang PG2L100H chip and includes an FPGA power module, an industrial bus interface module, an AD acquisition module, an Ethernet interface module, a debugging and maintenance interface, and an SD card storage module.

8. A multi-intelligent algorithm testing method for industrial edge computing, applied to the domestically produced heterogeneous computing platform for testing multi-intelligent algorithms for industrial edge computing as described in any one of claims 1-7, characterized in that, Includes the following steps: S1: Access industrial real-time data, historical datasets, simulation data, or fault injection data, and after parsing and processing by the FPGA interface processing unit or the main control computing unit, convert them into standard data records in a unified format; the standard data records include at least the data source identifier, channel identifier, timestamp, data type, data value, and valid status; S2: The algorithm to be tested is packaged into a standard algorithm package, and after passing two levels of verification, namely loading self-test and running self-test, the registration is completed, and version management and maintenance of the algorithm are performed. S3: Select the algorithm to be tested, data source and target execution device according to the test requirements, configure the test parameters, and establish an independent task context, input window and task queue for each algorithm test task; S4: Based on the algorithm type, the test task is assigned to the corresponding execution adapter, and the algorithm execution is completed by the main control computing unit, AI acceleration processing unit or FPGA interface processing unit. S5: During algorithm execution, synchronously collect algorithm output, execution latency, hardware resource usage, temperature, and power consumption status data of each computing unit; S6: Based on the task identifier and timestamp association algorithm, output hardware status data to generate evaluation results including correctness, performance, resource consumption and stability indicators, and output test reports.

9. A computer device, characterized in that, The computer device includes a memory and a processor. The memory stores a computer program. When the processor runs the computer program stored in the memory, the processor executes the multi-intelligent algorithm testing method for industrial edge as described in claim 8.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store a computer program that executes the multi-intelligent algorithm testing method for industrial edge as described in claim 8.