A test system, method, device, electronic equipment and storage medium
By using temperature control equipment, oscilloscopes, power control boards and controllers to automatically configure test parameters in the phase-locked loop circuit test system, the problems of misoperation and low efficiency caused by manual configuration are solved, and efficient automation of the phase-locked loop circuit is achieved. test.
Patent Information
- Application Number
- CN202310116851.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-17
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2043-01-17
AI Technical Summary
In the existing technology, phase-locked loop circuit testing requires manual configuration of parameters, which can easily lead to misoperation or irregular execution, resulting in low testing efficiency.
A test system is designed, including temperature control equipment, oscilloscope, power control board and controller, which automatically configures the target temperature, test point, voltage, working mode and frequency point by sending preset control instructions to avoid the manual configuration process.
It realizes automated testing of phase-locked loop circuits, improves testing efficiency, facilitates maintenance and expansion through module decomposition, and can achieve optimal adaptation with minimal workload modifications in different application scenarios.
Smart Images

Figure CN116068998B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automated testing technology, and in particular to a testing system, method, device, electronic equipment and computer-readable storage medium. Background Art
[0002] A phase-locked loop (PLL) is a feedback control circuit. A phase-locked loop (PLL) can use an external reference signal to control the frequency and phase of the oscillation signal inside the loop. Because the phase-locked loop can achieve phase synchronization between the output signal and the input signal, it is usually used in closed-loop tracking circuits.
[0003] In the prior art, a chip with an integrated phase-locked loop circuit is usually embedded in the device under test, and the waveform state of the output signal of the closed-loop tracking circuit is detected by an oscilloscope to intuitively reflect the function and signal quality of the phase-locked loop circuit. Before the oscilloscope performs a waveform test on the output signal of the closed-loop tracking circuit, it is usually necessary to manually configure the parameter values of various parameters (or configurable items) that match the desired test conditions. Specifically, for example, manual configuration is used to configure the oscilloscope, modify the DC output voltage to configure the power supply voltage, configure the chip register value to modify the PLL operating mode and frequency, manually connect different test points, and modify the test temperature of the temperature control device.
[0004] The above manual configuration method has the disadvantage that it is easy to cause misoperation or non-standard execution, resulting in low test efficiency. Summary of the invention
[0005] The purpose of the embodiments of the present invention is to provide a test system, method and electronic device to solve the problem that in traditional test technology, manual configuration is prone to errors or non-standard execution.
[0006] To solve the above technical problems, the embodiments of the present invention are implemented as follows:
[0007] In a first aspect, an embodiment of the present invention provides a test system, the system comprising: a temperature control device, an oscilloscope, a power control board, a device under test, and a controller.
[0008] The controller is respectively connected to the temperature control device, the oscilloscope, the power control board and the chip embedded in the device under test;
[0009] The chip in the device under test is connected to the oscilloscope, the temperature control device, and the power control board respectively;
[0010] The controller sends corresponding preset control instructions to the temperature control device, the oscilloscope, the power control board, and the chip respectively, and the preset control instructions include a target temperature value, a target test point value, a target voltage value, a target operating mode value, and a target frequency value, so as to trigger: the temperature control device sets the temperature of the chip surface to the target temperature value according to the received target temperature value; the oscilloscope switches the test channel of the oscilloscope to the channel corresponding to the target test point value according to the received target test point value; the power control board sets the power supply voltage of the power control board to the target voltage value to supply power to the chip according to the received target voltage value; the chip sets the operating mode and frequency of the chip to the corresponding target operating mode and target frequency according to the received target operating mode value and target frequency value;
[0011] When the test channel of the oscilloscope corresponds to the target test point value, the oscilloscope probe detects the waveform of the output signal of the phase-locked loop circuit integrated in the chip.
[0012] In one implementation, the controller communicates with the single-chip microcomputer on the power control board via a USB interface to adjust the power supply voltage of the device under test.
[0013] In a second aspect, an embodiment of the present invention provides a testing method, the method comprising:
[0014] The controller sends corresponding preset control instructions to the temperature control device, oscilloscope, power control board, and chip respectively.
[0015] To trigger: the temperature control device sets the temperature of the chip surface to the target temperature value according to the received target temperature value in the preset control instruction;
[0016] The oscilloscope switches the channel of the oscilloscope to a channel corresponding to the target test point value according to the received target test point value in the preset control instruction, and detects the waveform data of the chip and analyzes the test data to the controller;
[0017] The power control board sets the supply voltage of the power control board to the target voltage value according to the received target voltage value in the preset control instruction;
[0018] The chip sets the working mode and frequency of the chip to the corresponding target working mode and target frequency according to the received target working mode value and target frequency value in the preset control instruction.
[0019] In one implementation, when the conditions of the target temperature value, target test point value, and target voltage value corresponding to the preset control instruction remain unchanged, the chip adjusts the working mode and frequency of the chip to the target working mode and target frequency each time it responds to a target working mode and a corresponding target frequency until all working modes and frequencies are tested.
[0020] In one implementation, when the conditions of the target temperature value and the target test point value in the preset control instruction remain unchanged, the power control board adjusts the voltage of the power control board to the target voltage value each time it responds to a target voltage value, and cyclically executes the test conditions of the target operating mode and target frequency point until all voltage condition tests are completed.
[0021] In one implementation, when the condition of the target temperature value in the preset control instruction remains unchanged, each time the oscilloscope responds to a target test point value, the test point of the oscilloscope is adjusted to the target test point value, and the test conditions of the target operating mode value, target frequency value and target voltage value are cyclically executed until all target test point value tests are completed.
[0022] In one implementation, each time the temperature control device responds to a target temperature value, the test conditions of the target operating mode value, the target frequency value, the target voltage value and the target test point value are cyclically executed until all target temperature value tests are completed.
[0023] In a third aspect, an embodiment of the present invention provides a testing device, the device comprising: a sending module, which is used for a controller to send corresponding preset control instructions to a temperature control device, an oscilloscope, a power control board, and a chip respectively;
[0024] To trigger: the temperature control device sets the temperature of the chip surface to the target temperature value according to the received target temperature value in the preset control instruction;
[0025] The oscilloscope switches the channel of the oscilloscope to a channel corresponding to the target test point value according to the received target test point value in the preset control instruction, and detects the waveform data of the chip and analyzes the test data to the controller;
[0026] The power control board sets the supply voltage of the power control board to the target voltage value according to the received target voltage value in the preset control instruction;
[0027] The chip sets the working mode and frequency of the chip to the corresponding target working mode and target frequency according to the received target working mode value and target frequency value in the preset control instruction.
[0028] In a fourth aspect, an embodiment of the present invention provides an electronic device for predicting system failures, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the test method provided in the above embodiment when executed by the processor.
[0029] In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the test method provided in the above embodiment are implemented.
[0030] It can be seen from the technical solution provided by the above embodiments of the present invention that in the embodiments of the present invention, the controller sends corresponding preset control instructions to the temperature control device, the oscilloscope, the power control board, and the chip respectively to trigger: the temperature control device sets the temperature of the chip surface to the target temperature value according to the target temperature value in the preset control instruction received; the oscilloscope switches the test channel of the oscilloscope to the channel corresponding to the target test point value according to the target test point value in the preset control instruction received; the power control board sets the supply voltage of the power control board to the target voltage value according to the target voltage value in the preset control instruction received; the chip sets the working mode and frequency of the chip to the corresponding target working mode and target frequency according to the target working mode value and target frequency value in the preset control instruction received, and the controller calls each module interface for logic processing, which avoids the test conditions required in the test process by manually configuring the traditional technology, can realize the automatic test of the circuit system, improve the efficiency of automatic test, facilitate maintenance and expansion through module decomposition, and can perform the modification with the minimum workload to achieve the optimal adaptation in different application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0032] Figure 1 A schematic diagram of a test system provided by an embodiment of the present invention;
[0033] Figure 2 A flow chart of a testing method provided by an embodiment of the present invention;
[0034] Figure 3A schematic diagram of a module of a testing device provided by an embodiment of the present invention;
[0035] Figure 4 A schematic diagram of the structure of an electronic device for a testing method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0037] Those skilled in the art may appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0038] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0039] Example 1
[0040] Embodiment 1 of the present application provides a test system to solve the problems existing in the prior art of using manual configuration, which may easily lead to erroneous operation or non-standard execution, resulting in low test efficiency.
[0041] like Figure 1 As shown, a test system provided by an embodiment of the present application includes a temperature control device, an oscilloscope, a power control board, a device under test and a controller.
[0042] The controller is respectively connected to the temperature control device, the oscilloscope, the power control board and the chip embedded in the device under test;
[0043] The chip in the device under test is connected to the temperature control device and the power control board respectively;
[0044] The controller sends corresponding preset control instructions to the temperature control device, the oscilloscope, the power control board, and the chip respectively, and the preset control instructions include a target temperature value, a target test point value, a target voltage value, a target operating mode value, and a target frequency value, so as to trigger: the temperature control device sets the temperature of the chip surface to the target temperature value according to the received target temperature value; the oscilloscope switches the channel of the oscilloscope to the channel corresponding to the target test point value according to the received target test point value; the power control board sets the power supply voltage of the power control board to the target voltage value to supply power to the chip according to the received target voltage value; the chip sets the operating mode and frequency of the chip to the corresponding target operating mode and target frequency according to the received target operating mode and target frequency values;
[0045] When the test channel of the oscilloscope corresponds to the target test point value, the oscilloscope probe detects the waveform of the output signal of the phase-locked loop circuit integrated in the chip.
[0046] Among them, the phase-locked loop circuit (PLL) includes at least one test point. The test point is determined according to the PLL working mode of the chip design. The number of test points in different chip PLL working modes is different. In order to adapt to the number of channels of the oscilloscope and reduce the test variables, the fewer the test points, the better. For example, if the oscilloscope channel is 4, in order to avoid switching the oscilloscope channel, the test points are unified as much as possible. In order to cover more test points and application environments, the test point switching can also be achieved by switching the oscilloscope channel.
[0047] The oscilloscope is used as a measuring instrument. The oscilloscope switches the test channel of the oscilloscope to the test channel corresponding to the target test point value according to the received target test point value. The probe is physically connected to the device under test. When the test channel meets the target test point value, the signal output waveform of the chip in the device under test is detected by the probe of the oscilloscope, and the data obtained by the analysis test is fed back to the controller for processing.
[0048] For example, channel 1 of the oscilloscope corresponds to test point 1 of the chip, and channel 2 of the oscilloscope corresponds to test point 2 of the chip. The above correspondence is not limited to the above correspondence, and any configuration that can achieve the correspondence between the oscilloscope channel and the chip test point is acceptable.
[0049] Specifically, the system further includes a switch, and the controller is communicatively connected with the temperature control device and the oscilloscope respectively through the switch.
[0050] It should be noted that the switch is used as an Ethernet expansion interface. When the controller has only one or two Ethernet interfaces, the Ethernet interface cannot meet the demand. In order to more conveniently realize data interaction, the controller can configure the switch Ethernet port status through the UART management port, thereby increasing the number of communications with the back-end Ethernet interface devices.
[0051] In one embodiment, the controller of the system may be a PC host computer, and the PC host computer communicates with the oscilloscope and the temperature control device via Ethernet.
[0052] like Figure 1 As shown, the system mainly uses the python development environment on the PC host computer to develop the host computer for logic control, which is used to control the conditional switching and logic execution between modules, and realizes data communication between the PC host computer and the oscilloscope and temperature control equipment through Ethernet.
[0053] The temperature control device can send the target temperature value through the network interface and accurately control the temperature of the chip surface to reach the target temperature value. For example, the target temperature value can be high temperature 125°C, normal temperature 25°C, and low temperature -40°C. It is not limited to the above temperature settings, but can also be other temperatures within the target temperature value range. At the same time, the temperature change rate can be set to change the heating and cooling speed.
[0054] It should be noted that the temperature control device uses air pressure on the chip surface through the socket, and controls the temperature of the chip surface by heating or lowering the socket temperature. The temperature control device can send the target temperature value through the Ethernet interface, or through other networks. There is no restriction here. The temperature control device is connected to the chip of the device under test through a physical connection.
[0055] In one embodiment, the PC host computer communicates with the single-chip microcomputer on the power control board through a USB interface to adjust the power supply voltage of the device under test. The power control board serves as a multi-channel power supply board for the device under test, and is designed with a power port compatible with the device under test. The PC host computer communicates with the single-chip microcomputer on the power control board through a USB interface to modify the power supply voltage of the device under test.
[0056] The power control board is electrically connected to the phase-locked loop circuit of the device under test, and the power control board is used to power the chip. Specifically, the power control board can receive the target voltage value of the controller, set the supply voltage value of the power control board to the target voltage value, and power the chip according to the target voltage value. The power control board here can function as a power supply that can be adjusted according to the adjustment instruction. Generally, different PLL operating modes correspond to different power domains, which are 1.8V and 0.8V. 1.8V corresponds to a high voltage of 1.98V, a normal voltage of 1.8V, and a low voltage of 1.62V. 0.8V corresponds to a high voltage of 0.88V, a normal voltage of 0.8V, and a low voltage of 0.72V. It is not limited to the above voltage value settings, and can also be set to other voltages within the target voltage range.
[0057] A phase-locked loop circuit is integrated on the chip, and the above circuit can output a signal waveform. The controller sends the PLL target operating mode and target frequency to the chip test development tool Debug Tool, and configures the PLL operating mode and frequency of the chip to the target operating mode and target frequency by calling the Debug Tool. The controller calls the Debug Tool through the pll.py (python interface) interface to configure the chip. For example, the PLL target operating mode may include MPLL, SPLL, CPLL, FPLL, DPLL, RPLL, NPLL and other operating modes, and the frequency points include high frequency and low frequency, and each PLL operating mode includes corresponding high frequency points and low frequency points.
[0058] In an embodiment of the present invention, a test system is provided, wherein a controller sends corresponding preset control instructions to the temperature control device, the oscilloscope, the power control board, and the chip respectively to trigger: the temperature control device sets the temperature of the chip surface to the target temperature value according to the received target temperature value in the preset control instruction; the oscilloscope switches the test channel of the oscilloscope to the channel corresponding to the target test point value according to the received target test point value in the preset control instruction; the power control board sets the supply voltage of the power control board to the target voltage value according to the received target voltage value in the preset control instruction; the chip sets the working mode and frequency of the chip to the corresponding target working mode and target frequency according to the received target working mode value and target frequency value in the preset control instruction, and the controller calls each module interface for logic processing, thereby avoiding the test conditions required in the test process by manually configuring the manual configuration in the traditional technology, realizing the automatic test of the circuit system, improving the efficiency of the automatic test, facilitating maintenance and expansion through module decomposition, and achieving the optimal adaptation with the minimum workload in different application scenarios.
[0059] Example 2
[0060] In order to solve the problems existing in the prior art and based on the same inventive concept as the above-mentioned embodiments of the present application, the present application provides a testing method in Embodiment 2. The execution subject of the method can be any computing device that can implement the method, such as a server, a mobile phone, a personal computer, a smart wearable device, a smart robot, and the like.
[0061] The different steps of the method may be implemented by the same execution subject or by different execution subjects. The embodiment of the present application does not limit the execution subject used to implement the method.
[0062] In addition, the execution order of different steps is not limited in the embodiment of the present application. When using the method provided in the embodiment of the present application, the execution order of different steps can be adjusted according to actual needs.
[0063] For ease of description, the method provided in the embodiment of the present application is described in detail below by taking a test controller as the execution subject of the method as an example.
[0064] like Figure 2 As shown, a testing method provided in an embodiment of the present application comprises:
[0065] The controller sends corresponding preset control instructions to the temperature control device, oscilloscope, power control board, and chip respectively.
[0066] To trigger: the temperature control device sets the temperature of the chip surface to the target temperature value according to the received target temperature value in the preset control instruction;
[0067] The oscilloscope switches the channel of the oscilloscope to a channel corresponding to the target test point value according to the received target test point value in the preset control instruction, and detects the waveform data of the phase-locked loop circuit in the chip and analyzes the test data to the controller;
[0068] The power control board sets the supply voltage of the power control board to the target voltage value according to the received target voltage value in the preset control instruction;
[0069] The chip sets the working mode and frequency of the chip to the corresponding target working mode and target frequency according to the received target working mode value and target frequency value in the preset control instruction.
[0070] Among them, the controller sends corresponding preset control instructions to the temperature control device, oscilloscope, power control board, and chip respectively. The preset control instructions include target temperature value, target test point value, target voltage value, target operating mode and target frequency. The target temperature value, target test point value, target voltage value, target operating mode and target frequency of this embodiment are all described in Example 1 and will not be repeated here.
[0071] A test method includes a single-point non-cyclic test mode and a cyclic traversal test mode:
[0072] The single-point non-cyclic test mode is as follows:
[0073] S1. Configure the test conditions of the single-point non-cyclic test mode, which include a target temperature value, a target test point value, a target voltage value, a target operating mode, and a target frequency point of a preset control instruction.
[0074] S2. The controller sends the target temperature value in the preset control instruction to the temperature control device according to the pre-configured target temperature value. The temperature control device receives the target temperature value of the preset control instruction and heats the temperature of the socket to the target temperature value, thereby increasing or decreasing the temperature of the chip surface to the target temperature value through the socket.
[0075] S3. The controller sends the target test point value in the preset control instruction to the oscilloscope according to the pre-configured target test point value. The oscilloscope receives the target test point value in the preset control instruction and switches the channel of the oscilloscope to the channel corresponding to the target test point value.
[0076] S4. The controller sends the target voltage value in the preset control instruction to the power control board according to the pre-configured target voltage value. The power control board receives the target voltage value of the preset control instruction and automatically adjusts the supply voltage of the power control board to the target voltage value.
[0077] S5. The controller sends the target operating mode and target frequency in the preset control instruction to the chip according to the pre-configured target operating mode and target frequency. The chip switches to the corresponding target operating mode and target frequency according to the target operating mode and target frequency in the preset control instruction.
[0078] The controller calls the target working mode and target frequency of the Debug Tool. The target working mode can be embedded in the controller or implemented by calling the Debug Tool separately.
[0079] S6. When the above test conditions all meet the preset conditions, the oscilloscope detects the waveform of the output signal of the phase-locked loop circuit integrated in the chip through a probe, analyzes the test data, and automatically generates a test report.
[0080] S7. Under the single-point non-loop condition, loop steps S2-S6 to test different combination conditions.
[0081] The single-point non-cyclic test mode tests fail under a single combination of test conditions and is used in scenarios where abnormal problems are located. This makes it easy to quickly locate abnormal problems.
[0082] Specifically, the temperature control setting receives the target temperature value sent by the controller through Ethernet, and adjusts the temperature of the temperature control device according to the target temperature value. The temperature control device and the chip of the device under test are pressed on the chip surface with air pressure through the socket, and the temperature of the chip surface is increased by heating the socket. The temperature control device and the chip of the device under test can also be physically connected using an insulation layer. The temperature control device accurately transfers the adjusted temperature to the chip surface through the insulation layer. The connection method between the chips of the controlled device and the device under test is not limited to the present solution. The chips of the controlled device and the device under test can also be physically connected through other materials that transfer heat.
[0083] The oscilloscope switches the channel of the oscilloscope to a channel corresponding to the target test point value according to the target test point value in the received preset control instruction, and detects the waveform data of the chip and analyzes the test data to the controller;
[0084] Specifically, the target test point value in the preset control instruction received by the oscilloscope is a test point for the chip. It is not easy to traverse each test point on the chip. The present invention converts the problem of setting chip test points into the problem of switching oscilloscope test channels. It only needs to switch the oscilloscope test channel to the channel corresponding to the target test point. The method is simple to set and easy to operate.
[0085] The power control board sets the supply voltage of the power control board to the target voltage value in accordance with the received preset control instruction;
[0086] Specifically, the power control board of the present invention is equivalent to a power supply, which mainly provides a power supply voltage for the device under test and can provide high voltage, normal voltage, and low voltage.
[0087] Specifically, the controller sends the PLL target operating mode and target frequency to the chip test development tool Debug Tool, and sets the PLL operating mode and frequency of the chip to the target operating mode and target frequency by calling the chip test development tool. For example, the PLL target operating mode may include MPLL, SPLL, CPLL, FPLL, DPLL, RPLL, NPLL and other operating modes, and the frequency includes high frequency and low frequency. Each PLL operating mode includes corresponding high frequency and frequency.
[0088] The cyclic traversal test mode is as follows (it should be noted that several steps of the above-mentioned single-point non-cyclic test mode are used in the cyclic traversal test mode):
[0089] S8. Configure the test conditions in the cycle mode. In the cycle mode, the frequency point supports 20*5 (frequency point) = 100 frequency point cycle tests at a time. The temperature and voltage support 20 configuration states respectively. A total of 40,000 different state test groups can be completed for automatic cycle testing.
[0090] S9. The test conditions of steps S2-S4 remain unchanged. According to step S5, each time a target operating mode value and a target frequency value of a preset control instruction are sent to the chip, the chip switches to the corresponding target operating mode and target frequency, and executes step S6 until steps S2-S4 remain unchanged. The current test point completes waveform detection in all configured PLL operating modes.
[0091] S10. The test conditions of steps S2-S3 remain unchanged, and the loop executes "execute step S4, each time sending a target voltage value of a preset control instruction to the power control board, execute step S9" until all voltage condition tests are completed.
[0092] S11. The test conditions of step S2 remain unchanged, and the loop executes "execute step S3, each time a target test point of a preset control instruction is sent to the oscilloscope, the test channel of the oscilloscope is switched to the oscilloscope channel corresponding to the target test point, and execute step S10" until all test point condition tests are completed.
[0093] S12, looping and executing "execute step S2, each time sending a target temperature value in a preset control instruction to the temperature control device, the temperature control device adjusts the temperature to the target temperature value, and executes step S11", until all temperature condition tests are completed.
[0094] S13. In the loop traversal test mode, when all the above steps meet the test conditions, the oscilloscope detects the waveform of the output signal of the phase-locked loop circuit integrated in the chip through a probe, analyzes the test data, and automatically generates a test report.
[0095] In an embodiment of the present invention, a test method is provided, wherein a controller sends corresponding preset control instructions to a temperature control device, an oscilloscope, a power control board, and a chip respectively, so as to trigger: the temperature control device sets the temperature of the chip surface to the target temperature value according to the target temperature value in the received preset control instruction; the oscilloscope switches the test channel of the oscilloscope to the channel corresponding to the target test point of the chip according to the target test point value in the received preset control instruction; the power control board sets the supply voltage of the power control board to the target voltage value according to the target voltage value in the received preset control instruction; the chip sets the working mode and frequency of the chip to the corresponding target working mode and target frequency according to the target working mode value and target frequency value in the received preset control instruction, and the controller calls each module interface for logic processing, and performs testing in combination with the single-point non-cyclic mode and the cyclic traversal mode, thereby avoiding the test conditions required in the test process by manually configuring the traditional technology, realizing the automatic testing of the circuit system, improving the test efficiency, facilitating maintenance and expansion through module decomposition, and achieving the optimal adaptation with the minimum workload in different application scenarios.
[0096] Example 3
[0097] In order to solve the problems existing in the prior art and based on the same inventive concept as the above-mentioned embodiments of the present application, Embodiment 3 of the present application provides a testing device:
[0098] The specific structural diagram of the device is shown in Figure 3 As shown, it includes the following functional modules:
[0099] S101, a sending module, which is used for the controller to send corresponding preset control instructions to the temperature control device, the oscilloscope, the power control board, and the chip respectively;
[0100] Used to trigger: the temperature control device sets the temperature of the chip surface to the target temperature value according to the target temperature value in the received preset control instruction;
[0101] The oscilloscope sets the target test point value according to the received target test point value in the preset control instruction, detects the waveform data of the chip and analyzes the test data to the controller;
[0102] The power control board sets the voltage of the power control board to the target voltage value according to the received target voltage value in the preset control instruction;
[0103] The chip sets the working mode and frequency of the chip to the corresponding target working mode and target frequency according to the received target working mode value and target frequency value in the preset control instruction.
[0104] In the embodiment of this specification, the device includes:
[0105] S201, a first response module, is used for adjusting the working mode and frequency of the chip to the target working mode and target frequency each time the chip responds to a target working mode and a corresponding target frequency when the conditions of the target temperature value, target test point value, and target voltage value corresponding to the preset control instruction remain unchanged, until all working modes and frequencies are tested.
[0106] In the embodiment of this specification, the device further includes:
[0107] S202, a second response module, is used for adjusting the voltage of the power control board to the target voltage value each time the power control board responds to a target voltage value when the conditions of the target temperature value and the target test point value in the preset control instruction remain unchanged, and cyclically executing the test conditions of the target operating mode and the target frequency point until all voltage condition tests are completed.
[0108] In the embodiment of this specification, the device further includes:
[0109] S203, a third response module, is used for adjusting the test point of the oscilloscope to the target test point value each time the oscilloscope responds to a target test point value when the condition of the target temperature value in the preset control instruction remains unchanged, and cyclically executing the test conditions of the target operating mode value, target frequency value and target voltage value until the test of all target test point values is completed.
[0110] In the embodiment of this specification, the device further includes:
[0111] S204, a fourth response module, for cyclically executing the test conditions of the target operating mode value, the target frequency value, the target voltage value and the target test point value each time the temperature control device responds to a target temperature value, until all target temperature value tests are completed.
[0112] In an embodiment of the present invention, a test device is provided, through a controller, by sending corresponding preset control instructions to the temperature control device, the oscilloscope, the power control board, and the chip respectively, so as to trigger: the temperature control device sets the temperature of the chip surface to the target temperature value according to the target temperature value received in the preset control instruction; the oscilloscope switches the test channel of the oscilloscope to the channel corresponding to the target test point according to the target test point value received in the preset control instruction; the power control board sets the supply voltage of the power control board to the target voltage value according to the target voltage value received in the preset control instruction; the chip sets the working mode and frequency of the chip to the corresponding target working mode and target frequency according to the target working mode value and target frequency value received in the preset control instruction, and the controller calls each module interface for logic processing, so as to avoid the test conditions required in the test process by manually configuring the manual configuration in the traditional technology, realize the automatic test of the circuit system, improve the efficiency of the automatic test, facilitate maintenance and expansion through module decomposition, and achieve the optimal adaptation with the minimum workload in different application scenarios.
[0113] Example 4
[0114] Based on the same inventive concept as the aforementioned embodiments of the present application, Embodiment 4 of the present application provides a computing device to solve the problem of automated testing of the system.
[0115] like Figure 4 As shown, the computing device includes: a memory 81 and a processor 82. The memory 81 can be configured to store various other data to support operations on the electronic device. Examples of these data include instructions for any application or method for operating on the electronic device. The memory 81 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk or an optical disk.
[0116] The processor 82 is coupled to the memory 81 and is used to execute the computer program stored in the memory 81 to execute a testing method described in Example 2 of the present application.
[0117] When the processor 82 executes the computer program in the memory 81, in addition to the above functions, it can also realize other functions, and the details can be found in the description of the previous embodiments.
[0118] Further, such as Figure 4As shown, the computing device also includes: a display 84, a communication component 83, a power component 85, an audio component 86 and other components. Figure 4 Only some components are shown schematically, and it does not mean that the computing device only includes Figure 4 Components shown.
[0119] Accordingly, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a computer, the methods provided in the above embodiments can be implemented.
[0120] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0121] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0122] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A testing system, characterized in that: The system includes: a temperature control device, an oscilloscope, a power control board, a device under test and a controller. The controller is respectively connected to the temperature control device, the oscilloscope, the power control board and the chip embedded in the device under test; The chip in the device under test is physically connected to the oscilloscope and the temperature control device respectively; The controller sends corresponding preset control instructions to the temperature control device, the oscilloscope, the power control board, and the chip respectively, and the preset control instructions include a target temperature value, a target test point value, a target voltage value, a target operating mode value, and a target frequency value, so as to trigger: the temperature control device sets the temperature of the chip surface to the target temperature value according to the received target temperature value; the oscilloscope switches the test channel of the oscilloscope to the channel corresponding to the target test point value according to the received target test point value; the power control board sets the power supply voltage of the power control board to the target voltage value to supply power to the chip according to the received target voltage value; the chip sets the operating mode and frequency of the chip to the corresponding target operating mode and target frequency according to the received target operating mode value and target frequency value; When the test channel of the oscilloscope corresponds to the target test point value, the oscilloscope probe detects the waveform of the output signal of the phase-locked loop circuit integrated in the chip.
2. The system according to claim 1, characterized in that The controller communicates with the single-chip microcomputer on the power control board via a USB interface to adjust the power supply voltage of the device under test.
3. A testing method, characterized in that: The method comprises: The controller sends corresponding preset control instructions to the temperature control device, oscilloscope, power control board, and chip respectively. To trigger: the temperature control device sets the temperature of the chip surface to the target temperature value according to the received target temperature value in the preset control instruction; The oscilloscope switches the channel of the oscilloscope to a channel corresponding to the target test point value according to the received target test point value in the preset control instruction, and detects the waveform data of the phase-locked loop circuit in the chip and analyzes the test data to the controller; The power control board sets the supply voltage of the power control board to the target voltage value according to the received target voltage value in the preset control instruction; The chip sets the working mode and frequency of the chip to the corresponding target working mode and target frequency according to the received target working mode value and target frequency value in the preset control instruction.
4. The method according to claim 3, characterized in that The method comprises: When the conditions of the target temperature value, target test point value, and target voltage value corresponding to the preset control instruction remain unchanged, the chip adjusts the working mode and frequency of the chip to the target working mode and target frequency each time it responds to a target working mode and a corresponding target frequency until all working modes and frequencies are tested.
5. The method according to claim 4, characterized in that When the target temperature value, target test point value, and target voltage value corresponding to the preset control instruction remain unchanged, the chip adjusts the working mode and frequency of the chip to the target working mode and target frequency each time it responds to a target working mode and a corresponding target frequency until all working modes and frequencies are tested, including: When the conditions of the target temperature value and the target test point value in the preset control instruction remain unchanged, the power control board adjusts the voltage of the power control board to the target voltage value each time it responds to a target voltage value, and cyclically executes the test conditions of the target operating mode and target frequency point until all voltage condition tests are completed.
6. The method according to claim 5, characterized in that When the conditions of the target temperature value and the target test point value in the preset control instruction remain unchanged, the power control board adjusts the voltage of the power control board to the target voltage value each time it responds to a target voltage value, and cyclically executes the test conditions of the chip until all voltage condition tests are completed, including: When the condition of the target temperature value in the preset control instruction remains unchanged, each time the oscilloscope responds to a target test point value, the channel of the oscilloscope is switched to the channel corresponding to the target test point, and the test conditions of the target operating mode value, target frequency value and target voltage value are cyclically executed until the testing of all target test point values is completed.
7. The method according to claim 6, characterized in that When the condition of the target temperature value in the preset control instruction remains unchanged, the oscilloscope switches the channel of the oscilloscope to the channel corresponding to the target test point each time it responds to a target test point value, and cyclically executes the test conditions of the target working mode, target frequency point and target voltage until all test points are tested, including: Each time the temperature control device responds to a target temperature value, the test conditions of the target operating mode value, the target frequency point value, the target voltage value and the target test point value are cyclically executed until all target temperature value tests are completed.
8. A testing device, characterized in that: include: The sending module is used for the controller to send corresponding preset control instructions to the temperature control device, oscilloscope, power control board and chip respectively; To trigger: the temperature control device sets the temperature of the chip surface to the target temperature value according to the received target temperature value in the preset control instruction; The oscilloscope switches the channel of the oscilloscope to a channel corresponding to the target test point value according to the received target test point value in the preset control instruction, and detects the waveform data of the chip and analyzes the test data to the controller; The power control board sets the supply voltage of the power control board to the target voltage value according to the received target voltage value in the preset control instruction; The chip sets the working mode and frequency of the chip to the corresponding target working mode and target frequency according to the received target working mode value and target frequency value in the preset control instruction.
9. An electronic device, characterized in that: The method comprises a processor, a memory and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the testing method according to any one of claims 3 to 7 when executed by the processor.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the testing method according to any one of claims 3 to 7 are implemented.
Citation Information
Patent Citations
Signal control method and electronic device
CN107168400A
Automatic test system and method for GHz analog-to-digital converter
CN109120264A
Chip system and related device
CN111783375A
Automatic pressure measurement method and device, storage medium and electronic device
CN115442265A
Electric motor car instrument disk controller structure based on two -wire system carrier wave bus control system
CN206584226U
