Single board test circuit and method
By connecting a voltage conversion circuit to each target device under test, the bus voltage is converted into an appropriate test voltage, which solves the problem of device damage due to excessive voltage during single board testing, and achieves device safety testing and cost reduction.
Patent Information
- Application Number
- CN202211692864.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-28
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2042-12-28
AI Technical Summary
During single-board device testing, due to the different input voltage ranges of different devices, the voltage of some devices is higher than the overvoltage protection voltage when powered by the same bus voltage, which may cause device damage.
Design a single-board test circuit that converts the bus voltage into the test voltage required by the device by connecting a voltage conversion circuit to each target device under test to avoid damage to the device during the test process. The circuit includes a control loop, a switching circuit and a voltage output circuit, and the appropriate test voltage is output by adjusting the state of the switching circuit.
It effectively prevents devices from being damaged during testing, reduces design costs, and ensures that all devices under test work simultaneously without being damaged during testing.
Smart Images

Figure CN116087747B
Abstract
Description
Technical Field
[0001] The present application relates to the field of semiconductor device testing, and in particular to a single board testing circuit and method. Background Art
[0002] During the device testing process of a single board, different devices have different input voltage ranges, and the corresponding overvoltage protection (OVP) voltages are also different. OVP is a protection method that disconnects the power supply or reduces the voltage of the controlled device when the voltage of the protected circuit exceeds the predetermined maximum value.
[0003] However, in electronic products such as servers, switches, and network routers, the same bus voltage is mainly used to provide input voltage to different devices at the same time. In this way, when performing functional tests on the devices on a single board, the voltage value of some devices powered by the same bus voltage will be higher than the OVP voltage of these devices, which will cause damage to the devices.
[0004] Therefore, how to prevent some components from being damaged when performing single board functional testing becomes a technical problem that needs to be solved urgently. Summary of the invention
[0005] Based on this, it is necessary to provide a single board test circuit and method to address the above technical issues, so as to prevent some components from being damaged when performing single board function testing.
[0006] In a first aspect, the present application provides a single-board test circuit, which includes a plurality of devices under test, wherein the plurality of devices under test include at least one target device under test, and the target device under test represents a device whose required test voltage is less than the bus voltage of the single board;
[0007] A voltage conversion circuit is connected between each target DUT and the bus voltage, and the voltage conversion circuit is used to convert the bus voltage into the test voltage required by the corresponding target DUT; wherein the parameters in each voltage conversion circuit are configured according to the test voltage required by the corresponding target DUT.
[0008] In the technical solution of the embodiment of the present application, a single board test circuit includes multiple devices under test, and the multiple devices under test include at least one target device under test. A voltage conversion circuit is connected between each target device under test and the bus voltage, and the voltage conversion circuit is used to convert the bus voltage into the test voltage required by the corresponding target device under test. Among them, the target device under test represents a device whose required test voltage is less than the bus voltage of the single board, and the parameters in each voltage conversion circuit are configured according to the test voltage required by the corresponding target device under test. Since the single board test circuit is connected to a voltage conversion circuit for each target device under test, and there is no need to add a control loop to all devices under test, the design cost can be reduced. Further, the parameters in the voltage conversion circuit are configured according to the test voltage required by the corresponding target device under test, and the bus voltage is converted by the voltage conversion circuit to output the test voltage of the target device under test. That is to say, different target devices under test correspond to different voltage conversion circuits. The single board test circuit constructed in this way can ensure that all devices under test work at the same time and are not damaged when performing single board function testing.
[0009] In one of the embodiments, for the voltage conversion circuit of any target device under test, the voltage conversion circuit includes a control loop, a switch circuit and a voltage output circuit, the first end of the control loop and the first end of the switch circuit are both connected to the bus voltage, the second end of the control loop is connected to the second end of the switch circuit, the third end of the switch circuit is connected to the first end of the voltage output circuit, the second end of the voltage output circuit is connected to the third end of the control loop, and the third end of the voltage output circuit is used to provide a test voltage to the target device under test;
[0010] The control loop outputs a control signal to the switch circuit according to the bus voltage, so as to adjust the test voltage required by the target device under test by controlling the working state of the switch circuit.
[0011] In the technical solution of the embodiment of the present application, the control loop is based on the bus voltage, so that the output control signal is more accurate and reliable, and the switch circuit integrates the control signal, the bus voltage and the information of each port of the voltage output circuit to obtain the output voltage. The control loop, the switch circuit and the voltage output circuit in the circuit work together, and the output voltage range is controllable, and it supports flexible adjustment according to the test voltage of the target device under test.
[0012] In one embodiment, the control loop includes a voltage control circuit and a signal amplifying circuit, the input end of the voltage control circuit is connected to the bus voltage, the output end of the voltage control circuit is connected to the input end of the signal amplifying circuit, and the output end of the signal amplifying circuit is connected to the control end of the switch circuit;
[0013] The voltage control circuit provides an input voltage to the signal amplification circuit according to the bus voltage, so that the signal amplification circuit outputs a control signal to the switch circuit; wherein, when the control signal is at a first level, the switch circuit is in an on state; when the control signal is at a second level, the switch circuit is in a voltage-limited state; and the voltage output circuit provides the required test voltage to the target device under test when the switch circuit is in a voltage-limited state.
[0014] In the technical solution of the embodiment of the present application, the output voltage of the voltage control circuit is used as the output basis of the signal amplification circuit, and then the control signal is output to the switch circuit through the signal amplification circuit to output the test voltage required by the target device under test. The control loop adjusts the output voltage through the signal amplification circuit and the switch circuit, and can provide the test voltage for the target device under test more accurately.
[0015] In one embodiment, the voltage output circuit includes a first resistor and a second resistor, the first end of the first resistor is connected between the third end of the switch circuit and the input end of the target device under test, the second end of the first resistor is respectively connected to the output end of the voltage control circuit and the first end of the second resistor, and the second end of the second resistor is grounded;
[0016] The test voltage provided by the voltage output circuit to the target device under test is related to the resistance values of the first resistor and the second resistor, and the voltage output by the voltage control circuit.
[0017] In the technical solution of the embodiment of the present application, when the switch circuit is in the voltage limiting state, the test voltage provided by the voltage conversion circuit is calculated by the resistance value of the first resistor, the resistance value of the second resistor and the reference voltage. The resistance value of the resistor can be flexibly adjusted, which means that when the test voltage of the target device under test is different, only the specific values or ratios of the first resistor and the second resistor in the voltage conversion circuit need to be adjusted to make the output voltage meet the test voltage of the target device under test.
[0018] In one of the embodiments, the voltage control circuit includes a voltage dividing circuit, a voltage reference circuit and a voltage comparison circuit;
[0019] The input end of the voltage divider circuit and the input end of the voltage reference circuit are both connected to the bus voltage, the output end of the voltage divider circuit is connected to the voltage negative input end of the voltage comparison circuit, the output end of the voltage reference circuit is respectively connected to the voltage positive input end of the voltage comparison circuit and the signal negative input end of the signal amplifier circuit, and the output end of the voltage comparison circuit is connected to the signal positive input end of the signal amplifier circuit;
[0020] The signal amplifying circuit outputs a control signal according to the magnitude relationship between the input signals at the signal reverse input terminal and the signal forward input terminal.
[0021] In the technical solution of the embodiment of the present application, the voltage control circuit uses a voltage divider circuit and a voltage reference circuit as the input of the voltage comparison circuit, and uses the output of the voltage comparison circuit as the basis for the signal method circuit to output a control signal, which is equivalent to a control signal obtained based on the voltage divider circuit and the voltage reference circuit. Such a control signal has strong logic and is easy to implement in the actual circuit configuration process.
[0022] In one embodiment, the voltage comparison circuit includes a voltage comparator and a switch tube, the input voltage positive input terminal of the voltage comparator is connected to the voltage reference circuit, the voltage negative input terminal of the voltage comparator is connected to the voltage divider circuit, the output terminal of the voltage comparator is connected to the first terminal of the switch tube, the second terminal of the switch tube is connected to the signal positive input terminal, and the third terminal of the switch tube is grounded;
[0023] The switch tube is turned on when the voltage comparator outputs a high level signal, and is turned off when the voltage comparator outputs a low level signal; wherein, when the switch tube is turned off, the control signal output by the signal amplification circuit is at the second level.
[0024] In the technical solution of the embodiment of the present application, the voltage comparator controls the state of the switch tube by comparing the reference voltage and the voltage division value, thereby controlling the output of the signal amplification circuit. The state of the switch tube can be switched by the resistance value of the resistor, thereby controlling the output voltage of the voltage comparison circuit, making the voltage comparison circuit universal.
[0025] In one embodiment, the voltage divider circuit includes a third resistor and a fourth resistor, a first end of the third resistor is connected to the bus voltage, a second end of the third resistor is respectively connected to a first end of the fourth resistor and a negative voltage input end of the voltage comparator, and a second end of the fourth resistor is grounded;
[0026] The divided voltage on the fourth resistor provides a negative input voltage for the voltage comparator; the voltage reference circuit provides a positive input voltage for the voltage comparator;
[0027] When the negative input voltage is less than the positive input voltage, the voltage comparator outputs a high level; when the negative input voltage is greater than the positive input voltage, the voltage comparator outputs a low level.
[0028] In the technical solution of the embodiment of the present application, the voltage divider circuit uses the voltage drop of the fourth resistor as the negative input voltage of the voltage comparator, and uses the reference voltage obtained by the voltage reference circuit as the positive input voltage of the voltage comparator. The voltage comparator constructed in this way is logical and easy to implement. In addition, the reference voltage obtained by the voltage reference circuit is also the reverse signal input terminal of the signal amplification circuit, which makes the connection between the various links of the control loop closer and the output response of the voltage switching circuit faster.
[0029] In one embodiment, the voltage reference circuit includes a fifth resistor and a voltage stabilizing circuit, the first end of the fifth resistor is connected to the bus voltage, the second end of the fifth resistor is respectively connected to the first input end of the voltage comparison circuit, the second input end of the signal amplification circuit and the first end of the voltage stabilizing circuit, and the second end of the voltage stabilizing circuit is grounded.
[0030] In the technical solution of the embodiment of the present application, the voltage reference circuit is composed of a resistor and a voltage stabilizing circuit, and the voltage drop of the voltage stabilizing circuit is directly used as the reference voltage of the voltage reference circuit. The voltage reference circuit has a simple structure and low cost, and can quickly and conveniently measure the reference voltage when the accuracy requirement is not high.
[0031] In one embodiment, the voltage stabilizing circuit includes a Zener diode, an anode of the Zener diode is connected to the second end of the fifth resistor, and a cathode of the Zener diode is grounded.
[0032] In the technical solution of the embodiment of the present application, the voltage reference circuit utilizes the voltage-stabilizing characteristics of the reverse breakdown of the Zener diode, and can stably and continuously obtain a constant voltage value by only relying on adjusting the resistor, and can provide a stable reference voltage for the voltage comparator and signal amplifier, thereby ensuring the stability of the entire voltage conversion circuit.
[0033] In a second aspect, the present application also provides a single board testing method, the method comprising:
[0034] Determine the target device under test according to the test voltage required by each device under test on the single board and the bus voltage of the single board; the target device under test means a device whose test voltage is less than the bus voltage;
[0035] According to the test voltage required by each target device under test, the bus voltage of the corresponding target device under test is transformed to obtain the test voltage of each target device under test;
[0036] Perform functional tests on the corresponding target DUT at each test voltage.
[0037] In the technical scheme of the embodiment of the present application, the target device to be tested is first determined according to the test voltage required by each device to be tested on the single board and the bus voltage of the single board, and then the bus voltage of the corresponding target device to be tested is transformed according to the test voltage required by each target device to be tested to obtain the test voltage of each target device to be tested; finally, the corresponding target device to be tested is functionally tested with each test voltage. Among them, the target device to be tested represents a device whose test voltage is less than the bus voltage. The single board test method of this embodiment distinguishes all devices on the single board, and takes the device whose test voltage is less than the bus voltage as the target device to be tested. The corresponding voltage conversion circuit is added between the target device to be tested and the bus voltage. Different voltage conversion circuits perform multiple groups of parallel conversions on the bus voltage, which can meet the test voltage of each target device to be tested and ensure that the target devices to be tested on the single board work at the same time. Such a single board test method not only protects the device from damage during the single board test process, but also takes into account the correlation of each target device to be tested to the error of the functional test, and obtains the functional parameters of the target device to be tested more accurately.
[0038] In a third aspect, the present application also provides a single board testing device, the device comprising:
[0039] A determination module is used to determine a target device under test according to the test voltage required by each device under test on the single board and the bus voltage of the single board; the target device under test means a device whose test voltage is less than the bus voltage;
[0040] A conversion module, used for converting the bus voltage of the corresponding target device under test according to the test voltage required by each target device under test, so as to obtain the test voltage of each target device under test;
[0041] The test module is used to perform functional tests on the corresponding target device under test at various test voltages.
[0042] In a fourth aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0043] Determine the target device under test according to the test voltage required by each device under test on the single board and the bus voltage of the single board; the target device under test means a device whose test voltage is less than the bus voltage;
[0044] According to the test voltage required by each target device under test, the bus voltage of the corresponding target device under test is transformed to obtain the test voltage of each target device under test;
[0045] Perform functional tests on the corresponding target DUT at each test voltage.
[0046] In a fifth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0047] Determine the target device under test according to the test voltage required by each device under test on the single board and the bus voltage of the single board; the target device under test means a device whose test voltage is less than the bus voltage;
[0048] According to the test voltage required by each target device under test, the bus voltage of the corresponding target device under test is transformed to obtain the test voltage of each target device under test;
[0049] Perform functional tests on the corresponding target DUT at each test voltage.
[0050] In a sixth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0051] Determine the target device under test according to the test voltage required by each device under test on the single board and the bus voltage of the single board; the target device under test means a device whose test voltage is less than the bus voltage;
[0052] According to the test voltage required by each target device under test, the bus voltage of the corresponding target device under test is transformed to obtain the test voltage of each target device under test;
[0053] Perform functional tests on the corresponding target DUT at each test voltage. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 is a schematic structural diagram of a device testing circuit in one embodiment;
[0055] Figure 2 A schematic diagram of the structure of a single board test circuit in one embodiment;
[0056] Figure 3 is a schematic structural diagram of a voltage conversion circuit in one embodiment;
[0057] Figure 4 is a schematic structural diagram of a voltage conversion circuit in another embodiment;
[0058] Figure 5 is a schematic structural diagram of a voltage conversion circuit in another embodiment;
[0059] Figure 6 is a schematic structural diagram of a voltage conversion circuit in another embodiment;
[0060] Figure 7is a schematic structural diagram of a voltage comparison circuit in one embodiment;
[0061] Figure 8 is a schematic structural diagram of a voltage divider circuit in one embodiment;
[0062] Fig. 9 is a schematic structural diagram of a voltage reference circuit in one embodiment;
[0063] Fig.10 is a schematic structural diagram of a voltage reference circuit in another embodiment;
[0064] Fig.11 A schematic diagram of output characteristics of a Zener diode in one embodiment;
[0065] Fig.12 is a schematic structural diagram of a voltage conversion circuit in another embodiment;
[0066] Fig.13 A schematic diagram of a flow chart of a single board testing method in an embodiment;
[0067] Fig.14 is a structural block diagram of a single board testing device in an embodiment;
[0068] Fig.15 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment.
[0069] Description of reference numerals:
[0070] 01: Single board test circuit; 10: Voltage conversion circuit;
[0071] 101: switch circuit; 102: control loop;
[0072] 1021: signal amplifying circuit; 1022: voltage control circuit;
[0073] 1022a: a voltage divider circuit; 1022b: a voltage reference circuit;
[0074] 1022c: voltage comparison circuit; 1022d: voltage stabilization circuit;
[0075] 103: voltage output circuit; 20: device under test;
[0076] 202: Target device under test. DETAILED DESCRIPTION
[0077] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0078] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by technicians in the technical field of the present application; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" in the specification and claims of the present application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions. In the description of the embodiments of the present application, "multiple" and "multilayer" mean more than two, unless otherwise clearly and specifically defined. The reference to "embodiment" in this article means that the specific features, structures or characteristics described in conjunction with the embodiment may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0079] In the description of the embodiments of the present application, the orientation or positional relationship indicated by the technical terms "length", "width", "thickness", "up", "down", "front", "back", "left", "right", etc. is based on the orientation or positional relationship shown in the accompanying drawings, and is only for the convenience of describing the embodiments of the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise clearly specified and limited, the technical terms "installed", "connected", "connected", "fixed" and other terms should be understood in a broad sense, for example, it can be a fixed connection, or a detachable connection, or integrated; it can also be a mechanical connection or an electrical connection; it can be directly connected, or it can be indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present application can be understood according to the specific circumstances.
[0080] Currently, bus voltage (V BUS ) power supply architecture, while providing input voltage to different devices, such as hot-swap protection chip (Hot-Swap Intelli-Fuse), AC power-DC power (Alternating Current-Direct Current, AC-DC) conversion chip, etc. Different devices have different test voltage ranges and overvoltage protection (Over Voltage Protection, OVP) voltages. For the overvoltage protection function test phase of the single board test phase, the same V BUSThe OVP voltage value of the powered device will be higher than the input voltage range of other devices, causing damage to other devices. Therefore, it is necessary to take necessary measures to coordinate the relationship between the bus voltage and the device test voltage during the test phase to achieve the purpose of protecting the device.
[0081] The existing technology is to add relays to the circuits of various devices, such as Figure 1 As shown in the figure, when testing three devices, the circuit where the device under test is located is closed through K1, K2, and K3 respectively, and the circuits where other devices are located are disconnected to protect the devices from damage during the test. However, there are the following disadvantages:
[0082] (1) In V BUS With V BUS Placing relays between the various power supply devices will add new control signals and control loops, and have poor anti-interference capabilities, high failure rates, and increased single board design costs.
[0083] (2) When devices are interconnected, it is impossible to accurately monitor the performance of a single device.
[0084] Based on this, the embodiment of the present application provides a single board test circuit and method. BUS Get the target device between the devices powered by it, and then BUS Adding a voltage conversion circuit between the target device and the bus voltage to convert the bus voltage into the test voltage required by the corresponding target device under test can prevent damage to some devices during single-board functional testing.
[0085] The single-board test circuit provided in the embodiment of the present application is described below.
[0086] In one embodiment, Figure 2 As shown, the single-board test circuit 01 includes a plurality of devices under test 20, wherein the plurality of devices under test 20 include at least one target device under test 202, and the target device under test 202 indicates that the required test voltage is less than the bus voltage V of the single board. BUS Device; each target device under test 202 and bus voltage V BUS A voltage conversion circuit 10 is connected between them, and the voltage conversion circuit 10 is used to convert the bus voltage V BUS Transformed into the test voltage V required by the target DUT 202 out Wherein, the parameters of each voltage conversion circuit 10 are based on the test voltage V required by the corresponding target device under test 202 out Configured.
[0087] exist Figure 2 The device under test 20 shown in the figure may also include a non-target device under test, and the test voltage required by the non-target device under test is not less than the bus voltage V BUSThe input of the non-target DUT can be directly connected to the bus voltage V BUS connected.
[0088] Among them, a single board is a printed circuit board (PCB) that integrates multiple components and devices together, also known as an electronic component assembly PCB board or circuit board. As a carrier for connecting electronic components, a single board consists of an insulating base plate, connecting wires, and pads for assembling and welding electronic components. It has the dual functions of a conductive line and an insulating base plate. It can replace complex wiring and realize electrical connections between various devices in the circuit.
[0089] The single board includes multiple devices. Before the single board works, the devices on the single board are tested to obtain the test function parameters of the device under test 20 on the single board. BUS For example, before the test, due to the different input voltage ranges of the devices on the board, that is, the V out Different, if V out Lower than the bus voltage V BUS The device with input voltage lower than the bus voltage will be damaged during the test. Therefore, it is necessary to protect the device under test 202 with the input voltage lower than the bus voltage. The corresponding protection method is: BUS A voltage conversion circuit 10 is connected between the two devices. The voltage conversion circuit usually includes components such as resistors. Then the parameters in the voltage conversion circuit 10 refer to the resistance values of each resistor in the voltage conversion circuit 10. According to the test voltage V required by different target devices under test 202, out The values of the resistors in the voltage conversion circuit 10 connected to different target devices under test 202 are also different. In this way, the voltage conversion circuit 10 can convert the bus voltage V BUS Transformed into the test voltage V required by the target DUT 202 out This means that the voltage conversion circuit 10 converts the bus voltage V BUS , so that the target device under test 202 always inputs the test voltage V required by itself out , to prevent the target device under test 202 from being input with a bus voltage V BUS The target device under test 202 may be one or more, and the number of the voltage conversion circuits 10 corresponds to the number of the target devices under test 202 .
[0090] Optionally, if the test voltage of a device on the board is lower than the bus voltage, the device is used as the target device under test, and a voltage conversion circuit is connected between the target device under test and the bus voltage. The conversion voltage output by the voltage conversion circuit meets the test voltage required by the target device under test.
[0091] Optionally, if the test voltage of multiple devices on a single board is lower than the bus voltage, the multiple devices whose test voltage is lower than the bus voltage are used as target devices under test, and different voltage conversion circuits are respectively connected between the multiple target devices under test and the bus voltage, so that the conversion voltage output by each voltage conversion circuit meets the test voltage required by the multiple target devices under test.
[0092] The single-board test circuit includes a plurality of devices under test, and the plurality of devices under test include at least one target device under test. A voltage conversion circuit is connected between each target device under test and the bus voltage, and the voltage conversion circuit is used to convert the bus voltage into the test voltage required by the corresponding target device under test. The target device under test refers to a device whose required test voltage is less than the bus voltage of the single board, and the parameters in each voltage conversion circuit are configured according to the test voltage required by the corresponding target device under test. Since the single-board test circuit is connected to a voltage conversion circuit for each target device under test, and there is no need to add a control loop to all devices under test, the design cost can be reduced. Furthermore, the parameters in the voltage conversion circuit are configured according to the test voltage required by the corresponding target device under test, and the bus voltage is converted by the voltage conversion circuit to output the test voltage of the target device under test. That is to say, different target devices under test correspond to different voltage conversion circuits. The single-board test circuit constructed in this way can ensure that all devices under test work simultaneously and are not damaged when performing single-board functional testing.
[0093] When testing a single board, the bus voltage V BUS Based on this, the structure of the voltage conversion circuit 10 is described below through an embodiment.
[0094] In one embodiment, Figure 3 As shown, for any target device under test 202, the voltage conversion circuit 10 includes a control loop 102, a switch circuit 101 and a voltage output circuit 103, and the first end of the control loop 102 and the first end of the switch circuit 101 are both connected to the bus voltage V BUSThe second end of the control loop 102 is connected to the second end of the switch circuit 101, the third end of the switch circuit 101 is connected to the first end of the voltage output circuit 103, the second end of the voltage output circuit 103 is connected to the third end of the control loop 102, and the third end of the voltage output circuit 103 is used to provide a test voltage V to the target device under test 202. out ; The control loop 102 is based on the bus voltage V BUS Output a control signal to the switch circuit 101 to adjust the test voltage V required by the target device under test 202 by controlling the working state of the switch circuit 101 out .
[0095] Among them, the first end of the control loop 102 is the input end, the second end of the control loop 102 is the control end, and the third end of the control loop 102 is the output end; the first end of the switch circuit 101 is the input end, the second end of the switch circuit 101 is the control end, and the third end of the switch circuit 101 is the output end; the first end of the voltage output circuit 103 is the output end of the switch circuit, the second end of the voltage output circuit 103 is the output end of the control loop 102, and the third end of the voltage output circuit 103 is the ground end.
[0096] The control loop 102, the switch circuit 101 and the voltage output circuit 103 all have three ports and are connected to each other. The input end of the control loop 102 is connected to the bus voltage V BUS The second end of the control loop 102 is the control end, which controls the state of the switch circuit 101; the third end of the control loop 102 is the output end, which serves as the basis for whether the voltage output circuit 103 works. The state of the switch circuit 101 includes the variable resistance zone state and the conduction state.
[0097] Optionally, if the control end of the control loop 102 outputs a control signal so that the switch circuit 101 is in the on state, the voltage output circuit 103 does not work, and the test voltage V output by the voltage conversion circuit 10 is out is a specific value. The smaller the voltage drop of the switch circuit 101 in the on state is, the higher the output test voltage V out With bus voltage V BUS The closer.
[0098] Optionally, if the control end of the control loop 102 outputs a control signal so that the switch circuit 101 is in the variable resistance zone, the voltage output circuit 103 works, and the test voltage V of the voltage conversion circuit 10 is out In a variable range, the output test voltage V out The specific value of depends on the regulation of the voltage output circuit 103.
[0099] In the above voltage conversion circuit, the control loop is based on the bus voltage, making the output control signal more accurate and reliable. The switch circuit integrates the control signal, bus voltage and the information of each port of the voltage output circuit to obtain the output voltage. The control loop, switch circuit and voltage output circuit in this circuit work together, and the output voltage range is controllable, and it supports flexible adjustment according to the test voltage of the target device under test.
[0100] The bus voltage V is converted by the voltage conversion circuit 10 BUS During the transformation, the control loop 102, the switch circuit 101 and the voltage output circuit 103 need to work together to obtain a test voltage that meets the requirements of the device. Based on this, the structure of the control loop 102 is described below through an embodiment.
[0101] In one embodiment, Figure 4 As shown, the control loop 102 includes a voltage control circuit 1022 and a signal amplification circuit 1021. The input end of the voltage control circuit 1022 is connected to the bus voltage V BUS The output end of the voltage control circuit 1022 is connected to the input end of the signal amplifying circuit 1021, and the output end of the signal amplifying circuit 1021 is connected to the control end of the switch circuit 101; the voltage control circuit 1022 is connected to the input end of the signal amplifying circuit 1021 according to the bus voltage V BUS An input voltage is provided to the signal amplifier circuit 1021 so that the signal amplifier circuit 1021 outputs a control signal to the switch circuit 101; wherein, when the control signal is at a first level, the switch circuit 101 is in an on state; when the control signal is at a second level, the switch circuit 101 is in a voltage-limited state; the voltage output circuit 103 provides the required test voltage V to the target device under test 202 when the switch circuit 101 is in a voltage-limited state. out .
[0102] Optionally, the output end of the voltage control circuit 1022 is connected to the input end of the signal amplifying circuit 1021 through a diode, and the diode corresponds to a conduction voltage. BUS When the output voltage is higher than the diode conduction voltage, the diode is turned on. At this time, the signal amplifier circuit 1021 receives the high level and outputs the first level. Under the action of the first level, the switch circuit 101 is in the on state, and the voltage conversion circuit 10 outputs the bus voltage V BUS When the voltage control circuit 1022 is based on the bus voltage V BUS When the output is lower than the conduction voltage of the diode, the diode is in the cut-off state. At this time, the signal amplifying circuit 1021 outputs the second level. Under the action of the second level, the switch circuit 101 is in the voltage limiting state. The voltage conversion circuit 10 outputs V out , that is, the test voltage.
[0103] Optionally, the output end of the voltage control circuit 1022 is connected to the input end of the signal amplifying circuit 1021 through a field effect transistor, and the field effect transistor corresponds to a cut-off voltage and a conduction voltage. BUS When the output voltage is higher than the conduction voltage of the field effect tube, the field effect tube is turned on. At this time, the signal amplifier circuit 1021 receives the high level and outputs the first level. Under the action of the first level, the switch circuit 101 is in the conduction state, and the voltage conversion circuit 10 outputs the bus voltage V BUS When the voltage control circuit 1022 is based on the bus voltage V BUS When the output voltage is lower than the cut-off voltage of the field effect tube, the field effect tube is in the cut-off state. At this time, the signal amplifying circuit 1021 outputs the second level. Under the action of the second level, the switch circuit 101 is in the voltage limiting state. The voltage conversion circuit 10 outputs V out , that is, the test voltage.
[0104] In the above control loop, the output voltage of the voltage control circuit is used as the output basis of the signal amplifier circuit, and then the control signal is output to the switch circuit through the signal amplifier circuit to output the test voltage required by the target device under test. The control loop adjusts the output voltage through the signal amplifier circuit and the switch circuit, and can provide the test voltage for the target device under test more accurately.
[0105] The bus voltage V is converted by the voltage conversion circuit 10 BUS During the conversion, the control loop 102, the switch circuit 101 and the voltage output circuit 103 need to work together to obtain the test voltage required by the device. Based on this, the structure of the voltage output circuit 103 is described below through an embodiment.
[0106] In one embodiment, Figure 5 As shown, the voltage output circuit 103 includes a first resistor R1 and a second resistor R2, the first end of the first resistor R1 is connected between the third end of the switch circuit 101 and the input end of the target device under test 202, the second end of the first resistor R1 is connected to the output end of the voltage control circuit 1022 and the first end of the second resistor R2, and the second end of the second resistor R2 is grounded; the voltage output circuit 103 provides a test voltage V out , which is related to the resistance values of the first resistor R1 and the second resistor R2, and the voltage output by the voltage control circuit 1022.
[0107] The second end of the first resistor R1 is connected in series with the first end of the second resistor R2, and the second end of the second resistor R2 is grounded. At the connection point between the first resistor R1 and the second resistor R2, that is, the second end of the first resistor R1 (the first end of the second resistor), it is connected to the output end of the voltage control circuit 1022 and the input end of the signal amplification circuit 1021.
[0108] The signal amplifier circuit 1021 is used as an error amplifier. The positive input terminal of the error amplifier is connected to the output terminal of the voltage control circuit, that is, the second end of the first resistor (the first end of the second resistor). The negative input terminal of the error amplifier is the reference voltage V ref For example, when the voltage provided by the voltage output circuit 103 composed of the first resistor R1 and the second resistor R2 cannot turn on the error amplifier, the switch circuit 101 is in the variable resistance region, the voltage conversion circuit 10 is in the voltage limiting state, and the test voltage provided by the voltage output circuit 103 to the target device under test 202, that is, the output voltage V of the voltage conversion circuit 10 out It is expressed as:
[0109]
[0110] When the voltage provided by the voltage output circuit 103 composed of the first resistor R1 and the second resistor R2 can turn on the error amplifier, the positive input terminal of the error amplifier is grounded, the switch circuit 101 is in the on state, and the voltage output circuit 103 provides the test voltage to the target device under test 202, that is, the output voltage V of the voltage conversion circuit 10. out It is expressed as:
[0111] V out =V BUS
[0112] In the above voltage output circuit, when the switch circuit is in the voltage limiting state, the test voltage provided by the voltage conversion circuit is calculated by the resistance value of the first resistor, the resistance value of the second resistor and the reference voltage. The resistance value of the resistor can be flexibly adjusted, which means that when the test voltage of the target device under test is different, only the specific values or ratios of the first resistor and the second resistor in the voltage conversion circuit need to be adjusted to make the output voltage meet the test voltage of the target device under test.
[0113] The control loop 102 includes a signal amplifying circuit 1021 and a voltage control circuit 1022. In the control loop 102, the bus voltage V BUS The signal amplifier circuit 1021 is processed and then acts on the signal amplifier circuit 1021 based on the processing result to output the control signal of the control loop 102. The input end of the signal amplifier circuit 1021 includes a signal positive input end and a signal negative input end. To further illustrate the connection relationship between the input end of the signal amplifier circuit 1021 and the voltage control circuit 1022, the structure of the voltage control circuit 1022 in the control loop 102 is described below through an embodiment, taking the error amplifier as the signal amplifier circuit 1021.
[0114] In one embodiment, Figure 6As shown, the voltage control circuit 1022 includes a voltage divider circuit 1022a, a voltage reference circuit 1022b and a voltage comparison circuit 1022c; the input end of the voltage divider circuit 1022a and the input end of the voltage reference circuit 1022b are both connected to the bus voltage V BUS The output end of the voltage divider circuit 1022a is connected to the negative voltage input end of the voltage comparison circuit 1022c, the output end of the voltage reference circuit 1022b is respectively connected to the positive voltage input end of the voltage comparison circuit 1022c and the reverse signal input end of the signal amplifier circuit 1021, and the output end of the voltage comparison circuit 1022c is connected to the positive signal input end of the signal amplifier circuit 1021; the signal amplifier circuit 1021 outputs a control signal according to the size relationship between the input signals of the reverse signal input end and the positive signal input end.
[0115] The voltage divider circuit 1022a is a circuit that divides the bus voltage V BUS and grounding loop, two or more loads are connected in series, and the bus voltage V BUS Perform voltage division.
[0116] The voltage reference circuit 1022b is based on the bus voltage V BUS A circuit for obtaining a reference voltage. Commonly used reference voltage obtaining methods include voltage regulators, integrated chips, and bandgap reference voltage circuits. It should be noted that since the embodiment of the present application only needs to protect the target device under test during the overvoltage protection test, the accuracy requirement is not high, and a lower-cost voltage regulator reference voltage source circuit can be selected. The output of the voltage reference circuit 1022b is simultaneously used as the input of the voltage comparison circuit 1022c and the first output port of the voltage control circuit 1022. The first output port of the voltage control circuit 1022 is connected to the signal positive input terminal of the signal amplification circuit 1021.
[0117] The input terminal of the voltage comparison circuit 1022c includes a positive input terminal and a negative input terminal. The output of the voltage divider circuit 1022a and the output of the voltage reference circuit 1022b are used as inputs and are respectively input to the voltage positive input terminal and the voltage negative input terminal of the voltage comparison circuit 1022c. The output of the voltage comparison circuit 1022c serves as the second output port of the voltage control circuit 1022. The second output port of the voltage control circuit 1022 is connected to the signal negative input terminal of the signal amplifier circuit 1021.
[0118] The signal amplifier circuit 1021 outputs a control signal according to the magnitude relationship between the input signals at the signal reverse input terminal and the signal forward input terminal. When the difference between the signal reverse input terminal and the signal forward input terminal is the reference voltage, the output control signal turns on the switch circuit 101; otherwise, the output control signal turns the switch circuit 101 into the variable resistance region and the voltage conversion circuit 10 is in the voltage limiting state.
[0119] The above-mentioned voltage control circuit uses a voltage divider circuit and a voltage reference circuit as inputs to the voltage comparison circuit, and uses the output of the voltage comparison circuit as the basis for the signal method circuit to output a control signal, which is equivalent to a control signal obtained based on the voltage divider circuit and the voltage reference circuit. Such a control signal has strong logic and is easy to implement in the actual circuit configuration process.
[0120] The voltage control circuit 1022 includes a voltage divider circuit 1022a, a voltage reference circuit 1022b and a voltage comparison circuit 1022c. The voltage comparison circuit 1022c in the voltage control circuit 1022 is described below through an embodiment.
[0121] In one embodiment, Figure 7 As shown, the voltage comparison circuit 1022c includes a voltage comparator N and a switch tube Q0, the input voltage positive input terminal of the voltage comparator N is connected to the voltage reference circuit 1022b, the voltage negative input terminal of the voltage comparator N is connected to the voltage divider circuit 1022a, the output terminal of the voltage comparator N is connected to the first terminal of the switch tube Q0, the second terminal of the switch tube Q0 is connected to the signal positive input terminal, and the third terminal of the switch tube Q0 is grounded; when the voltage comparator N outputs a high-level signal, the switch tube is turned on, and when the voltage comparator N outputs a low-level signal, the switch tube Q0 is turned off; wherein, when the switch tube Q0 is turned off, the control signal output by the signal amplification circuit 1021 is the second level.
[0122] Exemplarily, the switching tube selects an N-channel enhancement type field effect tube, the gate (d pole) is connected to the signal positive input terminal of the signal amplifier, the drain (d pole) is connected to the output terminal of the voltage comparator, and the source (s pole) is grounded. When the voltage comparator outputs a low-level signal, the field effect tube is in the cut-off region, and the control signal output by the signal amplification circuit is the second level; when the output is a high level, when the voltage comparator outputs a high-level signal, the field effect tube is in the saturation region, and the control signal output by the signal amplifier is the first level.
[0123] In the above voltage comparison circuit, the voltage comparator controls the state of the switch tube by comparing the reference voltage and the voltage division value, thereby controlling the output of the signal amplification circuit. The state of the switch tube can be switched by the resistance value of the resistor, thereby controlling the output voltage of the voltage comparison circuit, making the voltage comparison circuit universal.
[0124] The voltage control circuit 1022 includes a voltage divider circuit 1022a, a voltage reference circuit 1022b and a voltage comparison circuit 1022c. The voltage divider circuit 1022a in the voltage control circuit 1022 is described below through an embodiment.
[0125] In one embodiment, Figure 8As shown, the voltage divider circuit 1022a includes a third resistor R3 and a fourth resistor R4. The first end of the third resistor R3 is connected to the bus voltage V BUS The second end of the third resistor R3 is connected to the first end of the fourth resistor R4 and the negative voltage input end of the voltage comparator N respectively, and the second end of the fourth resistor R4 is grounded; the voltage division on the fourth resistor R4 provides a negative input voltage for the voltage comparator N; the voltage reference circuit 1022b provides a positive input voltage to the voltage comparator N; when the negative input voltage is less than the positive input voltage, the voltage comparator N outputs a high level; when the negative input voltage is greater than the positive input voltage, the voltage comparator N outputs a low level.
[0126] The third resistor R3 and the fourth resistor R4 are connected in series to the bus voltage V BUS In the loop formed by the grounding electrode, the second end of the fourth resistor R4 is grounded, so the divided voltage of the fourth resistor R4 is the input voltage of the negative input end of the voltage.
[0127] For example, the bus voltage is V BUS , the bus voltage V BUS The third resistor R3 and the fourth resistor R4 are connected in series in the loop of the grounding electrode, and the voltage division value V3 corresponding to the resistor R3 is expressed as:
[0128]
[0129] The voltage division value V4 corresponding to the resistor R4, that is, the expression of the reverse input terminal of the voltage comparator N is as follows:
[0130]
[0131] Obviously, the relationship between V3 and V4 satisfies: V3+V4=V BUS .
[0132] The reference voltage V obtained by the voltage reference circuit 1022b ref is the input voltage at the positive input terminal. <V ref When V3>V ref When , the voltage comparator N outputs a low level.
[0133] The voltage divider circuit uses the voltage drop of the fourth resistor as the negative input voltage of the voltage comparator, and uses the reference voltage obtained by the voltage reference circuit as the positive input voltage of the voltage comparator. The voltage comparator constructed in this way is logical and easy to implement. In addition, the reference voltage obtained by the voltage reference circuit is also the reverse signal input terminal of the signal amplification circuit, which makes the connection between the various links of the control loop closer and the output response of the voltage switching circuit faster.
[0134] The voltage control circuit 1022 includes a voltage divider circuit 1022a, a voltage reference circuit 1022b and a voltage comparison circuit 1022c. The voltage reference circuit 1022b in the voltage control circuit 1022 is described below through an embodiment.
[0135] In one embodiment, Fig. 9 As shown, the voltage reference circuit 1022b includes a fifth resistor R5 and a voltage stabilizing circuit 1022d, and a first end of the fifth resistor R5 is connected to the bus voltage V BUS The second end of the fifth resistor R5 is respectively connected to the first input end of the voltage comparison circuit 1022c, the second input end of the signal amplifying circuit 1021 and the first end of the voltage stabilizing circuit 1022d, and the second end of the voltage stabilizing circuit 1022d is grounded.
[0136] Taking the voltage reference voltage of the voltage regulator tube as the voltage reference circuit 1022b as an example, the voltage reference circuit 1022b includes a fifth resistor R5 and a voltage regulator circuit 1022d, and the fifth resistor R5 and the voltage regulator circuit 1022d are connected in series at the bus voltage V BUS In the loop formed by the ground electrode, the first end of the fifth resistor R5 is connected to the bus voltage V BUS The second end of the fifth resistor R5 is connected to the first end of the voltage stabilizing circuit 1022d, and the second end of the voltage stabilizing circuit 1022d is grounded. At this time, the voltmeter is placed on the second end of the fifth resistor R5, that is, the first end of the voltage stabilizing circuit 1022d, and the voltage drop of the voltage stabilizing circuit 1022d is measured, and the voltage drop of the voltage stabilizing circuit 1022d is used as the reference voltage V obtained by the voltage reference circuit 1022b. ref .
[0137] The voltage reference circuit is composed of a resistor and a voltage stabilizing circuit, and the voltage drop of the voltage stabilizing circuit is directly used as the reference voltage of the voltage reference circuit. The voltage reference circuit has a simple structure and low cost, and can quickly and conveniently measure the reference voltage when the accuracy requirement is not high.
[0138] In one embodiment, Fig.10 As shown, the voltage stabilizing circuit 1222d includes a Zener diode Z1, an anode of the Zener diode Z1 is connected to the second end of the fifth resistor R5, and a cathode of the Zener diode Z1 is grounded.
[0139] Among them, the Zener diode refers to a diode with a voltage stabilizing effect. Its working principle is to utilize the reverse breakdown state of the PN junction. Its current can vary within a wide range while the voltage remains basically unchanged.
[0140] In the embodiment of the present application, the voltage reference circuit is composed of a resistor and a Zener diode connected in series. The current of the voltage regulator reference voltage source circuit is controlled by setting the resistance value of the fifth resistor, so that the Zener diode is always in a breakdown state, that is, a voltage stabilization state. At this time, the voltage of the Zener diode is obtained as the reference voltage. The voltage characteristic curve of the Zener diode is as follows: Fig.11 As shown, the horizontal axis is the voltage of the Zener diode, and the vertical axis is the current passing through the Zener diode, V z To stabilize the voltage, V R is the fifth resistor voltage, V F is the reverse breakdown voltage, corresponding to I ZT For stable current, I R is the reverse leakage current, I F The reverse limiting current threshold is set by adjusting the fifth resistor to make the voltage regulator diode work in the Zener breakdown state, and setting the maximum working voltage of the fifth resistor to limit the current of the Zener diode, so that the admittance diode is in a stable state. zt The voltage drop of the reverse breakdown admittance diode is used as the reference voltage.
[0141] The voltage reference circuit utilizes the voltage stabilizing characteristic of the reverse breakdown of the Zener diode and can stably and continuously obtain a constant voltage value only by adjusting the resistor, and can provide a stable reference voltage for the voltage comparator and the signal amplifier, thereby ensuring the stability of the entire voltage conversion circuit.
[0142] In one embodiment, the bus voltage V BUS Converted to output voltage V out The structural diagram of Fig.12 As shown. The voltage conversion circuit consists of a switching loop composed of a field effect transistor Q1, a voltage output circuit composed of R1 and R2, a signal amplification circuit composed of an error amplifier S, a voltage comparison circuit composed of a voltage comparator N and a field effect transistor Q2, a voltage divider circuit composed of R3 and R4, and a voltage reference circuit. Among them, Q1 uses a P-channel depletion type. When the error amplifier S outputs a low level, it is in the saturation area, that is, the on state. When the positive end of the error amplifier S is not grounded, it is in the variable resistance area. Q2 uses an N-channel enhancement field effect transistor. When the voltage comparator N outputs a low level, Q2 is in the cut-off area. When the voltage comparator N outputs a high level, Q2 is in the saturation area. The voltage reference circuit obtains the reference voltage V ref .
[0143] The voltage positive input terminal of the voltage comparator N is the voltage V4 of R4 in the voltage divider circuit, V4 = V BUS R4 / (R3+R4), the negative input terminal is the reference voltage V obtained by the voltage reference ref In V4 <V refWhen the voltage comparator N outputs a high level, Q2 is turned on, the positive input of the error amplifier S is grounded, and the negative input is connected to the reference voltage V ref , the input difference of the error amplifier S is V ref , the error amplifier S outputs a low level, Q1 is turned on, and V out =V BUS When V4>V ref When , the voltage comparator N outputs a low level, Q2 is cut off, and the positive input terminal of the error amplifier S outputs a control signal, which makes Q1 in the variable resistance area. At this time, the circuit conversion circuit is in the voltage limiting mode, V out =(R1+R2)V ref / R2, where V out It can be adjusted according to the input voltage range required by the device.
[0144] In the above embodiment, the test voltage of each target device under test is the transformed bus voltage, that is, on the basis of the unified bus voltage, the test voltage of each target device under test is also different, and the test voltage of each target device under test can meet the normal operation of each target device under test. This means that the target devices under test on a single board can be tested at the same time and will not be damaged during the test process.
[0145] In addition, in one embodiment, Fig.13 As shown, the present application provides a single board testing method, comprising the following steps:
[0146] S1302, determining a target device under test according to the test voltage required by each device under test on the board and the bus voltage of the board; the target device under test refers to a device whose test voltage is less than the bus voltage.
[0147] S1304 , according to the test voltage required by each target device under test, transform the bus voltage corresponding to the target device under test to obtain the test voltage of each target device under test.
[0148] S1306, performing functional tests on the corresponding target DUTs using the test voltages.
[0149] Among them, a program instruction for indicating the target device under test can be pre-set, and after the computer device receives the trigger of the program instruction, the corresponding operation is performed, that is, according to the preset configuration, the test voltage of all devices on the single board is compared with the bus voltage, and the target device under test is obtained according to the comparison result. The comparison method is to compare the test voltage of the device on the single board with the device of the bus voltage, and the device with a test voltage less than the bus voltage is used as the target device under test. Afterwards, according to the test voltage of the target device under test, a voltage transformation strategy is adopted to transform the bus voltage, and each transformed bus voltage meets the test voltage of each target device under test, and the corresponding target device under test is functionally tested with each test voltage.
[0150] Optionally, the voltage transformation strategy may be to connect different preset loads in series between each target device under test and the bus voltage. In multiple loops consisting of different target devices under test and the bus voltage, the bus voltage is transformed by dividing the bus voltage to different degrees through each preset load, so that the transformed bus voltage in each loop can respectively meet the test voltage of each target device under test.
[0151] Optionally, the voltage transformation strategy may be to connect different voltage transformation circuits in series between each target device under test and the bus voltage, and in multiple loops consisting of different target devices under test and the bus voltage, transform the bus voltage through each preset voltage transformation circuit, so that the transformed bus voltage in each loop can respectively meet the test voltage of each target device under test.
[0152] The single board test method provided in the embodiment of the present application first determines the target device to be tested according to the test voltage required by each device to be tested on the single board and the bus voltage of the single board, and then transforms the bus voltage of the corresponding target device to be tested according to the test voltage required by each target device to be tested, and obtains the test voltage of each target device to be tested; finally, the corresponding target device to be tested is functionally tested with each test voltage. Among them, the target device to be tested represents a device whose test voltage is less than the bus voltage. The single board test method of this embodiment distinguishes all devices on the single board, and takes the device whose test voltage is less than the bus voltage as the target device to be tested. The corresponding voltage conversion circuit is added between the target device to be tested and the bus voltage. Different voltage conversion circuits perform multiple groups of parallel conversions on the bus voltage, which can meet the test voltage of each target device to be tested and ensure that the target devices to be tested on the single board work at the same time. Such a single board test method protects the device from damage during the single board test process, and also takes into account the correlation of each target device to be tested to the error of the functional test, and the functional parameters of the target device to be tested are obtained more accurately.
[0153] It can be understood that the above process is implemented by computer program instructions, and these computer program instructions are provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device, so that the instructions executed by the processor of the computer or other programmable data processing device can realize the test voltage of the target device under test output according to the voltage transformation strategy in this embodiment. Of course, these computer program instructions can also be stored in a computer-readable memory that can guide the computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device. Alternatively, these computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operating steps are performed on the computer or other programmable device to generate a computer-implemented process, so that the computer program instructions are executed on the computer or other programmable device to realize the above functions.
[0154] Based on the same inventive concept, the embodiment of the present application also provides a single board testing device for implementing the single board testing method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more multi-single board testing device embodiments provided below can refer to the limitations on the single board testing method above, and will not be repeated here.
[0155] In one embodiment, Fig.14 As shown, a single board testing device 1400 is provided, including a determination module 1402, a transformation module 1404 and a testing module 1406, wherein:
[0156] The determination module 1402 is used to determine the target device under test according to the test voltage required by each device under test on the single board and the bus voltage of the single board; the target device under test means a device whose test voltage is less than the bus voltage;
[0157] The transformation module 1404 is used to transform the bus voltage of the corresponding target device under test according to the test voltage required by each target device under test, so as to obtain the test voltage of each target device under test;
[0158] The testing module 1406 is used to perform functional tests on the corresponding target DUTs using various test voltages.
[0159] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.15As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a single board testing method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0160] Those skilled in the art will understand that Fig.15 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0161] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0162] Determine the target device under test according to the test voltage required by each device under test on the single board and the bus voltage of the single board; the target device under test means a device whose test voltage is less than the bus voltage;
[0163] According to the test voltage required by each target device under test, the bus voltage of the corresponding target device under test is transformed to obtain the test voltage of each target device under test;
[0164] Perform functional tests on the corresponding target DUT at each test voltage.
[0165] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0166] Determine the target device under test according to the test voltage required by each device under test on the single board and the bus voltage of the single board; the target device under test means a device whose test voltage is less than the bus voltage;
[0167] According to the test voltage required by each target device under test, the bus voltage of the corresponding target device under test is transformed to obtain the test voltage of each target device under test;
[0168] Perform functional tests on the corresponding target DUT at each test voltage.
[0169] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0170] Determine the target device under test according to the test voltage required by each device under test on the single board and the bus voltage of the single board; the target device under test means a device whose test voltage is less than the bus voltage;
[0171] According to the test voltage required by each target device under test, the bus voltage of the corresponding target device under test is transformed to obtain the test voltage of each target device under test;
[0172] Perform functional tests on the corresponding target DUT at each test voltage.
[0173] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0174] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0175] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A single board test circuit, characterized in that: The single board test circuit includes a plurality of devices under test, wherein the plurality of devices under test include at least one target device under test, and the target device under test represents a device whose required test voltage is less than the bus voltage of the single board; A voltage conversion circuit is connected between each of the target devices under test and the bus voltage, and the voltage conversion circuit is used to convert the bus voltage into a test voltage required by the corresponding target device under test; wherein the parameters in each voltage conversion circuit are configured according to the test voltage required by the corresponding target device under test; The voltage conversion circuit includes a control loop, a switch circuit and a voltage output circuit, the control loop includes a voltage control circuit, the voltage output circuit includes a first resistor and a second resistor, the first end of the first resistor is connected between the third end of the switch circuit and the input end of the target device under test, the second end of the first resistor is respectively connected to the output end of the voltage control circuit and the first end of the second resistor, and the second end of the second resistor is grounded; the test voltage provided by the voltage output circuit to the target device under test is related to the resistance values of the first resistor and the second resistor, and the voltage output by the voltage control circuit; The control loop outputs a control signal to the switch circuit according to the bus voltage, so as to adjust the test voltage required by the target device under test by controlling the working state of the switch circuit.
2. The test circuit according to claim 1, characterized in that: For the voltage conversion circuit of any target device under test, the first end of the control loop and the first end of the switch circuit are both connected to the bus voltage, the second end of the control loop is connected to the second end of the switch circuit, the third end of the switch circuit is connected to the first end of the voltage output circuit, the second end of the voltage output circuit is connected to the third end of the control loop, and the third end of the voltage output circuit is used to provide a test voltage to the target device under test.
3. The test circuit according to claim 2, characterized in that: The control loop further includes a signal amplifying circuit, the input end of the voltage control circuit is connected to the bus voltage, the output end of the voltage control circuit is connected to the input end of the signal amplifying circuit, and the output end of the signal amplifying circuit is connected to the control end of the switch circuit; The voltage control circuit provides an input voltage to the signal amplifying circuit according to the bus voltage, so that the signal amplifying circuit outputs the control signal to the switching circuit; wherein, when the control signal is at a first level, the switching circuit is in an on state; when the control signal is at a second level, the switching circuit is in a voltage-limiting state; and when the switching circuit is in a voltage-limiting state, the voltage output circuit provides the required test voltage to the target device under test.
4. The test circuit according to claim 3, characterized in that: The voltage control circuit includes a voltage dividing circuit, a voltage reference circuit and a voltage comparison circuit; The input end of the voltage divider circuit and the input end of the voltage reference circuit are both connected to the bus voltage, the output end of the voltage divider circuit is connected to the voltage negative input end of the voltage comparison circuit, the output end of the voltage reference circuit is respectively connected to the voltage positive input end of the voltage comparison circuit and the signal negative input end of the signal amplification circuit, and the output end of the voltage comparison circuit is connected to the signal positive input end of the signal amplification circuit; The signal amplifying circuit outputs the control signal according to the magnitude relationship between the input signals of the signal reverse input terminal and the signal forward input terminal.
5. The test circuit according to claim 4, characterized in that: The voltage comparison circuit comprises a voltage comparator and a switch tube, wherein the input voltage positive input terminal of the voltage comparator is connected to the voltage reference circuit, the voltage negative input terminal of the voltage comparator is connected to the voltage divider circuit, the output terminal of the voltage comparator is connected to the first terminal of the switch tube, the second terminal of the switch tube is connected to the signal positive input terminal, and the third terminal of the switch tube is grounded; The switch tube is turned on when the voltage comparator outputs a high level signal, and the switch tube is turned off when the voltage comparator outputs a low level signal; wherein, when the switch tube is turned off, the control signal output by the signal amplification circuit is the second level.
6. The test circuit according to claim 5, characterized in that: The switch tube is an N-channel enhancement type field effect tube.
7. The test circuit according to claim 5, characterized in that: The voltage divider circuit comprises a third resistor and a fourth resistor, a first end of the third resistor is connected to the bus voltage, a second end of the third resistor is respectively connected to the first end of the fourth resistor and the negative voltage input end of the voltage comparator, and a second end of the fourth resistor is grounded; The divided voltage on the fourth resistor provides a negative input voltage for the voltage comparator; the voltage reference circuit provides a positive input voltage for the voltage comparator; When the negative input voltage is less than the positive input voltage, the voltage comparator outputs a high level; when the negative input voltage is greater than the positive input voltage, the voltage comparator outputs a low level.
8. The test circuit according to claim 7, characterized in that: The voltage reference circuit includes a fifth resistor and a voltage stabilizing circuit, wherein the first end of the fifth resistor is connected to the bus voltage, the second end of the fifth resistor is respectively connected to the first input end of the voltage comparison circuit, the second input end of the signal amplifying circuit and the first end of the voltage stabilizing circuit, and the second end of the voltage stabilizing circuit is grounded.
9. The test circuit according to claim 8, characterized in that: The voltage stabilizing circuit comprises a Zener diode, an anode of the Zener diode is connected to the second end of the fifth resistor, and a cathode of the Zener diode is grounded.
10. A single board testing method, characterized in that: The method comprises: Determine a target device under test according to the test voltage required by each device under test on the single board and the bus voltage of the single board; the target device under test represents a device whose test voltage is less than the bus voltage; According to the test voltage required by each target device under test, the bus voltage of the corresponding target device under test is transformed to obtain the test voltage of each target device under test; the test voltage is provided by the voltage conversion circuit of the single board test circuit according to any one of claims 1 to 9; A functional test is performed on the corresponding target device under test using each of the test voltages.
