A complex device hardware and software collaborative verification circuit and method
By designing digital power monitors and health management sub-boards in complex devices to collect and monitor voltage, current, power consumption and temperature in real time, the problem of existing technology being unable to monitor the working status of complex devices in real time is solved and the accuracy of measurement is improved. and timeliness.
Patent Information
- Application Number
- CN202210614649.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-31
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2042-05-31
AI Technical Summary
Existing technology cannot monitor the voltage, current, power consumption and temperature physical quantities of complex devices in various states in real time, and cannot fully verify their working status.
A complex device software and hardware collaborative verification circuit is designed, including a digital power monitor, DSP verification sub-board, health management sub-board and ground industrial computer. Voltage, current, power consumption and temperature data are collected through the digital power monitor, and It is transmitted to the ground industrial computer for real-time monitoring and processing.
Real-time monitoring of the working status of complex devices under different application algorithms is achieved, improving the accuracy and timeliness of measurement.
Smart Images

Figure CN115047324B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of large-scale or ultra-large-scale integrated circuit application verification, and relates to a complex device software and hardware collaborative verification circuit and method. Background Art
[0002] Complex devices refer to a collection of large-scale or ultra-large-scale integrated circuits that support software-defined hardware functions. Their operation usually requires the support of compilers, basic functions, etc., and generally have computing, storage, communication and other functions, such as DSP, CPU, SoC, FPGA, etc.
[0003] Hardware-software collaboration refers to the use of software testing programs to verify the functional and performance specifications of complex devices that have passed identification and inspection in a system environment at the board level, single-machine level or system level according to actual application requirements.
[0004] At present, the verification method for complex devices mainly applies stimulus to the object under test on a dedicated or general verification platform to cover its function, performance and related environmental adaptability verification requirements. However, the above method can only verify that the specified application algorithm completes the specified calculation, processing and produces the correct result on the complex device, and cannot monitor the voltage, current, power consumption and temperature physical quantities of the complex device working in various states. Summary of the invention
[0005] The present invention proposes a complex device software and hardware collaborative verification circuit and method based on a digital power monitor to solve the problem that the prior art cannot monitor the voltage, current, power consumption and temperature physical quantities of the device under test in real time when the device is working in various states.
[0006] To achieve the above object, the present invention proposes the following technical solutions:
[0007] A complex device hardware and software collaborative verification circuit, including a motherboard, a DSP verification sub-board, a health management sub-board, a BUS board and a ground industrial computer;
[0008] The DSP verification sub-board includes a DSP verification sub-board debugging interface, a DSP verification sub-board first standard FMC connector and a DSP verification sub-board second standard FMC connector;
[0009] The health management sub-board includes a digital power monitor, a health management sub-board debugging interface, a health management sub-board asynchronous serial communication interface, a health management sub-board first standard FMC connector and a health management sub-board second standard FMC connector;
[0010] The BUS board includes a BUS board first standard FMC connector and a BUS board second standard FMC connector;
[0011] The motherboard includes a motherboard debugging interface, an HPC plug-in, and an LPC plug-in;
[0012] The ground industrial computer includes a ground industrial computer asynchronous serial communication interface, a first USB interface, a second USB interface and a third USB interface;
[0013] The first standard FMC connector of the DSP verification daughter board is connected to the first standard FMC connector of the BUS board, the second standard FMC connector of the DSP verification daughter board is connected to the LPC connector, and the debugging interface of the DSP verification daughter board is connected to the second USB interface through the DSP emulator;
[0014] The first standard FMC connector of the health management sub-board is connected to the second standard FMC connector of the BUS board, the second standard FMC connector of the health management sub-board is connected to the LPC plug-in, the debugging interface of the health management sub-board is connected to the first USB interface through the single-chip emulator, and the asynchronous serial communication interface of the health management sub-board is connected to the asynchronous serial communication interface of the ground industrial computer;
[0015] The first standard FMC connector of the health management daughter board is connected to the input terminal of the digital power monitor, and the output terminal of the digital power monitor is connected to the microcontroller;
[0016] The motherboard debugging interface is connected to the third USB interface via a download cable.
[0017] Preferably, the motherboard is a ZC706 motherboard.
[0018] Preferably, the DSP verification sub-board also includes a processor and a tertiary power supply module, the processor is connected to the first standard FMC connector of the DSP verification sub-board, the second standard FMC connector of the DSP verification sub-board and the DSP verification sub-board debugging interface, and the output end of the tertiary power supply module is connected to the processor.
[0019] Preferably, the health management sub-board also includes a single-chip microcomputer; the single-chip microcomputer is connected to the health management sub-board debugging interface and the health management sub-board asynchronous serial communication interface.
[0020] Preferably, the motherboard further includes a 7Z045 chip, and the 7Z045 chip is connected to the motherboard debugging interface, the LPC plug-in and the HPC plug-in.
[0021] Preferably, the DSP verification sub-board also includes a storage module, and the storage module is connected to the processor.
[0022] Preferably, the health management sub-board also includes a clock module and a reset module; the output end of the clock module is connected to the first input end of the single-chip microcomputer, and the output end of the reset module is connected to the second input end of the single-chip microcomputer.
[0023] Preferably, the motherboard also includes a power supply module, and the output end of the power supply module is connected to the input end of the 7Z045 chip.
[0024] A complex device hardware and software collaborative verification method comprises the following steps:
[0025] Step 1: Initialize the system;
[0026] Step 2: Enable the relevant GPIO pins according to the preset power-on sequence, and output three power-on control signals of the DSP verification sub-board;
[0027] Step 3, initializing the digital power monitor, including software reset, setting acquisition conversion time, acquisition voltage range, working mode, calibration compensation value and acquisition threshold value;
[0028] Step 4, respectively read the acquisition result registers of the voltage, current, power consumption and temperature of the digital power monitor to obtain the acquisition binary values of the voltage, current, power consumption and temperature of the digital power monitor;
[0029] Step 5: Calculate the actual values of voltage, current, power consumption and temperature after conversion;
[0030] Step six, determine whether the digital power monitor generates an alarm interrupt signal; if so, control the relevant GPIO pins according to the specified power-off sequence and turn off the three power-on control signals of the DSP verification daughter board.
[0031] Preferably, the data collected by the digital power supply monitor is packaged and framed and transmitted to the ground industrial computer.
[0032] The present invention is beneficial in that:
[0033] By collecting the voltage, current, power consumption, and temperature physical quantities of the device under test on the DSP verification sub-board through the health management sub-board and sending them to the ground industrial computer, the working status of the device under test running various application algorithms can be monitored in real time, improving the accuracy and timeliness of the measurement. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:
[0035] Figure 1 A schematic diagram of the circuit structure for hardware-software collaborative verification of a complex device;
[0036] Figure 2 This is a structural diagram of the health management sub-board;
[0037] Figure 3 A circuit diagram of a digital power monitor according to an embodiment of the present invention;
[0038] Figure 4The figure is a flowchart of a method for co-verification of hardware and software of a complex device.
[0039] 1 is a BUS board, 2 is the first standard FMC connector of the health management sub-board, 3 is a DSP board, 4 is a health management sub-board, 5 is a single-chip microcomputer, 6 is a clock module, 7 is a health management sub-board debugging interface, 8 is an asynchronous serial communication interface of the health management sub-board, 9 is a reset module, 10 is a single-chip microcomputer simulator, 11 is a complex device to be tested, 12 is a DSP verification sub-board debugging interface, 13 is a three-power supply module, 14 is a storage module, 15 is a DSP simulator, 16 is a 7Z045 chip, 17 is an LPC plug-in, 18 is an HPC plug-in, 19 is a power supply module, 2 0 is the motherboard debugging interface, 21 is the ZC706 motherboard, 22 is the download cable, 23 is the ground industrial computer, 24 is the asynchronous serial communication interface of the ground industrial computer, 25 is the first USB interface, 26 is the second USB interface, 27 is the third USB interface, 28 is the first standard FMC connector of the DSP verification daughter board, 29 is the second standard FMC connector of the DSP verification daughter board, 30 is the second standard FMC connector of the health management daughter board, 31 is the first standard FMC connector of the BUS board, 32 is the second standard FMC connector of the BUS board, and 33 is the digital power monitor. DETAILED DESCRIPTION
[0040] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present invention can be combined with each other without conflict.
[0041] The following detailed description is an exemplary description, which is intended to provide further detailed description of the present invention. Unless otherwise specified, all technical terms used in the present invention have the same meaning as those generally understood by those skilled in the art to which the present invention belongs. The terms used in the present invention are only for describing specific embodiments, and are not intended to limit the exemplary embodiments according to the present invention.
[0042] like Figure 1 As shown, a complex device software and hardware collaborative verification circuit based on a digital power monitor includes a ZC706 motherboard 21, a DSP verification sub-board 3, a health management sub-board 4, a BUS board 1 and a ground industrial computer 23;
[0043] The DSP verification sub-board 3 is a minimum system of a complex device to be tested, including a complex device to be tested 11, a DSP verification sub-board debugging interface 12, a storage module 14, and a tertiary power supply module 13. The complex device to be tested 11 is connected to the tertiary power supply module 13, the storage module 14, and the debugging interface 12. The two ends of the DSP verification sub-board 3 are also provided with a DSP verification sub-board first standard FMC connector 28 and a DSP verification sub-board second standard FMC connector 29;
[0044] like Figure 2 As shown, the health management sub-board 4 mainly uses the digital power monitor 33 to collect the voltage, current, power consumption, and temperature physical quantities of the complex device to be tested, and specifically includes a single-chip microcomputer 5, a digital power monitor 33, a health management sub-board debugging interface 7, an asynchronous serial communication interface 8, a clock module 6, and a reset module 9, and the health management sub-board 4 is provided with a health management sub-board first standard FMC connector 2 and a health management sub-board second standard FMC connector 30 at both ends; the single-chip microcomputer 5 is connected to the digital power monitor 33, the health management sub-board debugging interface 7, the health management sub-board asynchronous serial communication interface 8, the clock module 6, and the reset module 9, and the health management sub-board debugging interface 7 is connected to the single-chip microcomputer emulator 10 outside the sub-board.
[0045] The health management sub-board 4 is the core part of data acquisition. The main function of the circuit is to control the power on and off of the circuit under test, control the various clock signals required by the clock management chip to output, and collect various voltage, current and temperature information of the circuit under test.
[0046] The single-chip computer 5 uses the STMicroelectronics STM32 series ultra-low power 32-bit microcontroller, specification model STM32L475VGT6, and configures the digital power monitor 33 through the built-in standard four-wire SPI1 communication controller. At the same time, the corresponding pins of the GPIO function of the single-chip computer 5 are PD4~PD6, PD8, and PD9, which are used to control the power-on enable signals of the five tertiary power supplies of the circuit under test, namely F1.2V, F2.5V, F3.3V, D2.5V, and D1.2V; the data transmission interface adopts a standard five-wire asynchronous serial communication interface to be connected to the asynchronous serial communication interface 24 of the ground industrial computer;
[0047] The digital power monitor 33 uses an ADC chip from TI, specification model INA229, and uses 5 INA229 chips to collect 6 power supply voltages and currents on the circuit under test in sequence, namely F1.2V, F2.5V, F3.3V, D2.5V, D1.2V and 12V.
[0048] The BUS board 1 has a first standard FMC connector 31 and a second standard FMC connector 32 on the BUS board, which are connected to the first standard FMC connector 28 of the DSP verification sub-board and the first standard FMC connector 2 of the health management sub-board respectively; the BUS board 1 is used to introduce the voltage and current signals to be measured on the DSP verification sub-board 3 into the health management sub-board 4 through the connector, and at the same time output relevant control signals to control the tertiary power supply circuit on the DSP verification sub-board 3.
[0049] The ZC706 motherboard 21 is used to provide the secondary power supply required by the DSP verification sub-board 3 and the health management sub-board 4. The ZC706 motherboard 21 is provided with a 7Z045 chip 16, a power supply module 19, a motherboard debugging interface 20, an LPC plug-in 17 and an HPC plug-in 18. The 7Z045 chip 16 is connected to the power supply module 19 and the motherboard debugging interface 20, and the motherboard debugging interface 20 is connected to the download cable 22.
[0050] The second standard FMC connector 29 of the DSP verification daughter board is connected to the HPC plug-in 18 , and the second standard FMC connector 30 of the health management daughter board is connected to the LPC plug-in 17 of the ZC706 motherboard 21 .
[0051] The ground industrial computer 23 includes a ground industrial computer asynchronous serial communication interface 24, a first USB interface 25, a second USB interface 26 and a third USB interface 27;
[0052] The first USB interface 25 is connected to the single-chip computer emulator 10, and the single-chip computer emulator 10 is connected to the health management sub-board debugging interface 7;
[0053] The third USB interface 27 is connected to the download cable 22, and the download cable 22 is connected to the motherboard debugging interface 20;
[0054] The second USB interface 26 is connected to the DSP emulator 15 ; the DSP emulator 15 is connected to the DSP verification daughter board debugging interface 12 .
[0055] 7Z045 chip 16 generally chooses XC7Z045FF900.
[0056] The download cable 22 is generally a product of Xilinx.
[0057] The asynchronous serial communication interface 24 of the ground industrial computer is connected to the asynchronous serial communication interface 8 of the health management sub-board.
[0058] A complex device hardware and software co-verification method based on a digital power monitor, the specific steps are as follows:
[0059] Step 1: Initialize the software system, including initializing the microcontroller's clock, GPIO pins, SPI communication interface, etc.
[0060] Step 2: Enable the relevant GPIO pins according to the specified power-on sequence, and output three power-on control signals of the DSP verification sub-board 3;
[0061] Step 3, initializing the digital power monitor 33; including software reset, setting acquisition conversion time, acquisition voltage range, working mode, calibration compensation value and acquisition threshold value, etc.;
[0062] Step 4, read the acquisition result registers of voltage, current, power consumption and temperature of the digital power monitor 33 respectively to obtain the acquisition binary values of the above physical quantities; package all the acquired data into frames and transmit them to the ground industrial computer at a baud rate of 921.6Kbps for data judgment and display.
[0063] Step 5, calculate the actual values of voltage, current, power consumption and temperature after conversion according to the formula;
[0064] Step 6, determining whether the digital power monitor 33 generates an alarm interrupt signal;
[0065] If yes, then control the relevant GPIO pins according to the specified power-off sequence and turn off the three-time power-on control signal of the DSP verification sub-board 3;
[0066] If not, repeat step 4.
[0067] The digital power supply monitor 33 packages all the collected data into frames and transmits them to the ground industrial computer at a baud rate of 921.6 Kbps for data judgment and display.
[0068] The following uses the complex device hardware and software co-verification circuit and method to test the voltage, current, power consumption, and temperature of the digital signal processor FDM-D20101N when running several different application algorithms. The results are as follows:
[0069] Table 1. Collected values when running the internal RAM memory test
[0070] Serial number project Voltage (V) Current (A) Temperature(℃) Power consumption (W) 1 F1.2V 1.2041 0.2025 33.9843 0.2438 2 F2.5V 2.5066 0.1077 24.8593 0.2702 3 F3.3V 3.3451 0.1336 33.2031 0.4472 4 D1.2V 1.2001 0.7038 25.3593 0.8439 5 D2.5V 2.5072 0.1415 25.0937 0.3547 6 12V 12.2302 0.4799 25.2109 5.8693
[0071] Table 2 Collection values when running the FFT algorithm
[0072] Serial number project Voltage (V) Current (A) Temperature(℃) Power consumption (W) 1 F1.2V 1.2050 0.2092 34.0937 0.2521 2 F2.5V 2.5064 0.1318 24.9817 0.3303 3 F3.3V 3.3452 0.1398 33.3526 0.4676 4 D1.2V 1.2015 0.7451 25.5650 0.8953 5 D2.5V 2.5263 0.1783 25.2734 0.4504 6 12V 12.2315 0.4822 25.5648 5.8980
[0073] Table 3. Acquisition values when running the radar pulse compression algorithm
[0074]
[0075]
[0076] It is known from common technical knowledge that the present invention can be implemented by other embodiments that do not deviate from its spirit or essential features. Therefore, the above disclosed embodiments are only illustrative in all respects and are not exclusive. All changes within the scope of the present invention or within the scope equivalent to the present invention are included in the present invention.
Claims
1. A complex device hardware and software co-verification circuit, characterized in that: It includes a motherboard (21), a DSP verification sub-board (3), a health management sub-board (4), a BUS board (1) and a ground industrial control computer (23); The DSP verification sub-board (3) comprises a DSP verification sub-board debugging interface (12), a DSP verification sub-board first standard FMC connector (28) and a DSP verification sub-board second standard FMC connector (29); The health management sub-board (4) comprises a digital power supply monitor (33), a health management sub-board debugging interface (7), a health management sub-board asynchronous serial communication interface (8), a health management sub-board first standard FMC connector (2) and a health management sub-board second standard FMC connector (30); The BUS board (1) comprises a BUS board first standard FMC connector (31) and a BUS board second standard FMC connector (32); The motherboard (21) includes a motherboard debugging interface (20), an HPC plug-in (18) and an LPC plug-in (17); The ground industrial control computer (23) comprises a ground industrial control computer asynchronous serial communication interface (24), a first USB interface (25), a second USB interface (26) and a third USB interface (27); The first standard FMC connector (28) of the DSP verification sub-board is connected to the first standard FMC connector (31) of the BUS board, the second standard FMC connector (29) of the DSP verification sub-board is connected to the HPC (18) connector, and the debugging interface (12) of the DSP verification sub-board is connected to the second USB interface (26) through the DSP emulator (15); The first standard FMC connector (2) of the health management sub-board is connected to the second standard FMC connector (32) of the BUS board, the second standard FMC connector (30) of the health management sub-board is connected to the LPC plug-in (17), the debugging interface (7) of the health management sub-board is connected to the first USB interface (25) through the single-chip emulator (10), and the asynchronous serial communication interface (8) of the health management sub-board is connected to the asynchronous serial communication interface (24) of the ground industrial control computer; The first standard FMC connector (2) of the health management sub-board is connected to the input end of the digital power monitor (33), and the output end of the digital power monitor (33) is connected to the single chip microcomputer (5); The motherboard debugging interface (20) is connected to the third USB interface via a download cable.
2. A complex device hardware and software collaborative verification circuit as claimed in claim 1, characterized in that: The motherboard (21) is a ZC706 motherboard.
3. A complex device hardware and software collaborative verification circuit as claimed in claim 1, characterized in that: The DSP verification sub-board (3) also includes a processor (11) and a tertiary power supply module (13); the processor (11) is connected to a first standard FMC connector (28) of the DSP verification sub-board, a second standard FMC connector (29) of the DSP verification sub-board and a DSP verification sub-board debugging interface (12); and an output end of the tertiary power supply module (13) is connected to the processor (11).
4. A complex device hardware and software collaborative verification circuit as claimed in claim 1, characterized in that: The health management sub-board also includes a single-chip microcomputer (5); the single-chip microcomputer (5) is connected to the health management sub-board debugging interface (7) and the health management sub-board asynchronous serial communication interface (8).
5. A complex device hardware and software co-verification circuit as claimed in claim 1, characterized in that: The motherboard (21) also includes a 7Z045 chip (16), and the 7Z045 chip (16) is connected to the motherboard debugging interface (20), the LPC plug-in (17) and the HPC plug-in (18).
6. A complex device hardware and software collaborative verification circuit as claimed in claim 3, characterized in that: The DSP verification sub-board (3) also includes a storage module (14), and the storage module (14) is connected to the processor (11).
7. A complex device hardware and software collaborative verification circuit as claimed in claim 4, characterized in that: The health management sub-board also includes a clock module (6) and a reset module (9); the output end of the clock module (6) is connected to the first input end of the single-chip computer (5), and the output end of the reset module (9) is connected to the second input end of the single-chip computer (5).
8. A complex device hardware and software collaborative verification circuit as claimed in claim 5, characterized in that: The motherboard (21) also includes a power supply module (19), and the output end of the power supply module (19) is connected to the input end of the 7Z045 chip (16).
9. A complex device hardware and software co-verification method, based on a complex device hardware and software co-verification circuit according to any one of claims 1 to 8, characterized in that: The steps include: Step 1: Initialize the system; Step 2: according to the preset power-on sequence, enable the relevant GPIO pins and output three power-on control signals of the DSP verification sub-board (3); Step 3, initializing the digital power monitor (33), including software reset, setting acquisition conversion time, acquisition voltage range, working mode, calibration compensation value and acquisition threshold value; Step 4, respectively reading the acquisition result registers of the voltage, current, power consumption and temperature of the digital power monitor (33) to obtain the acquired binary values of the voltage, current, power consumption and temperature of the digital power monitor (33); Step 5: Calculate the actual values of voltage, current, power consumption and temperature after conversion; Step six, determining whether the digital power monitor (33) generates an alarm interrupt signal; if so, controlling the relevant GPIO pins according to the prescribed power-off sequence, and turning off the three power-on control signals of the DSP verification sub-board (3).
10. A complex device hardware and software co-verification method as claimed in claim 9, characterized in that: The data collected by the digital power monitor (33) are packaged and framed and transmitted to the ground industrial control computer.
