Power supply generation circuit and test device
By designing the power generation circuit of the controller and load circuit, the problem that existing power meters cannot generate fast power waveforms is solved, and low-cost, high-precision fast arbitrary power waveform generation is achieved, which is suitable for chip testing.
Patent Information
- Application Number
- CN202310378415.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-07
- Publication Date
- 2024-10-15
AI Technical Summary
Existing power meters lack constant slope fast power-on and power-off functions, are unable to generate fast enough power waveforms, are expensive, and cannot meet the demand for rapidly changing power waveforms in memory chip testing.
A power generation circuit is designed, including a controller, a waveform control circuit and a load circuit. The controller controls the waveform control circuit and the load circuit to adjust the initial power waveform of the working power supply to the target power waveform to achieve rapid generation of arbitrary power waveforms. , supports positive slope, negative slope, sine wave, square wave, triangle wave and other waveforms.
It achieves fast generation of arbitrary power waveforms, reduces costs, avoids the impact of energy storage capacitors and loads, and is suitable for large-volume chip testing and high-precision power waveform requirements.
Smart Images

Figure CN118777653A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic circuits, and in particular to a power generation circuit and a testing device. Background Art
[0002] During chip testing, a rapidly changing power waveform is usually required to test chip and power-related performance indicators, as follows:
[0003] 1. Use a fast-changing power waveform to test the chip's sensitivity to fast power on and off. The power on and off of the chip must meet the chip's design requirements, especially for storage chips: power on and off too quickly will cause internal data loss. Therefore, during the storage chip test, it is necessary to generate a fast-changing power waveform to test this indicator.
[0004] 2. Use fast-changing power waveforms to detect certain level thresholds inside the chip. For example, when the storage chip detects abnormal power failure (detects that the power voltage is lower than a certain threshold), it will issue a command to save data to prevent the loss of unsaved data. Therefore, when testing the storage chip, it is necessary to use a fast-changing power waveform to test this level threshold.
[0005] 3. Common power supplies on the market currently lack the function of fast power on and off with a constant slope. Some high-end power instruments have the function of generating power waveforms, but the generated voltage waveform does not change fast enough and is expensive. Summary of the invention
[0006] The present application provides a power supply generation circuit and a test device to achieve fast arbitrary power supply waveform generation.
[0007] A technical solution adopted in the present application is to provide a power generation circuit, which includes: a controller; a waveform control circuit, a first end of the waveform control circuit is coupled to a working power supply, and a second end of the waveform control circuit is coupled to the controller; a load circuit, a first end of the load circuit is coupled to an output end of the waveform control circuit, and a second end of the load circuit is coupled to the controller; wherein the controller is used to control the waveform control circuit and the load circuit to adjust the initial power waveform provided by the working power supply to a target power waveform output.
[0008] Among them, the waveform control circuit includes: a power supply chip, the first end of the power supply chip is coupled to the working power supply; a first digital-to-analog converter, the input end of the first digital-to-analog converter is coupled to the controller, and the output end of the first digital-to-analog converter is coupled to the second end of the power supply chip.
[0009] Among them, the waveform control circuit also includes: a first resistor, a first end of the first resistor is coupled to the output end of the power supply chip; a second resistor, a first end of the second resistor is coupled to the second end of the first resistor, and the second end of the second resistor is grounded; a third resistor, a first end of the third resistor is coupled to the output end of the first digital-to-analog converter, and the second end of the third resistor is coupled to the second end of the first resistor and the second end of the power supply chip.
[0010] The output voltage of the power chip and the control voltage output by the first digital-to-analog converter are in the following relationship:
[0011]
[0012] Among them, V OUT represents the output voltage of the power chip, R1 represents the resistance value of the first resistor, R2 represents the resistance value of the second resistor, R3 represents the resistance value of the third resistor, V FB Indicates the voltage at the second terminal of the power chip, V DAC Represents the control voltage output by the first digital-to-analog converter.
[0013] Wherein, the target power waveform is a positive slope waveform, the controller controls the first digital-to-analog converter to output a continuously decreasing control voltage, and the power chip outputs a positive slope power waveform.
[0014] The target power waveform is a negative slope waveform, the controller controls the first digital-to-analog converter to output a continuously rising control voltage, and the controller controls the load circuit to pull current from the load capacitor, so that the power chip outputs a negative slope power waveform.
[0015] Among them, the controller is used to control the waveform control circuit to inject current into the load capacitor and control the load circuit to pull current from the load capacitor, thereby adjusting the initial power waveform provided by the working power supply to the target power waveform output, wherein the target power waveform includes a sine wave, a square wave or a triangle wave.
[0016] The load circuit includes: a sampling resistor, a first end of the sampling resistor is coupled to the output end of the power chip;
[0017] A first operational amplifier, wherein the non-inverting input terminal of the first operational amplifier is coupled to the output terminal of the power chip, and the inverting input terminal of the first operational amplifier is coupled to the second terminal of the sampling resistor; a second operational amplifier, wherein the non-inverting input terminal of the second operational amplifier is coupled to the output terminal of the first operational amplifier; a switch unit, wherein the first channel terminal of the switch unit is coupled to the second terminal of the sampling resistor, the second channel terminal of the switch unit is grounded, and the control terminal of the switch unit is coupled to the output terminal of the second operational amplifier; a second digital-to-analog converter, wherein the input terminal of the second digital-to-analog converter is coupled to the controller, and the output terminal of the second digital-to-analog converter is coupled to the inverting input terminal of the second operational amplifier; wherein the second operational amplifier is used to output a second control signal to the control terminal of the switch unit according to a first control signal input to the inverting input terminal and a feedback signal input to the non-inverting input terminal, so as to control the conduction degree of the switch unit.
[0018] A technical solution adopted in the present application is to provide a test device, which includes a power generation circuit as provided in the above technical solution, and the power generation circuit is coupled to the component under test to provide power of arbitrary waveform to the component under test.
[0019] The components under test include a memory chip under test and a load capacitor.
[0020] The beneficial effects of the present application are as follows: different from the prior art, the power generation circuit of the present application includes: a controller; a waveform control circuit, a first end of the waveform control circuit is coupled to the working power supply, and a second end of the waveform control circuit is coupled to the controller; a load circuit, a first end of the load circuit is coupled to the output end of the waveform control circuit, and a second end of the load circuit is coupled to the controller; the controller controls the waveform control circuit and the load circuit, and adjusts the initial power waveform provided by the working power supply to the target power waveform output, thereby realizing fast arbitrary power waveform generation. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0022] Figure 1 It is a schematic diagram of the chip test scenario provided by this application;
[0023] Figure 2 It is a comparative schematic diagram provided by the present application and the related art;
[0024] Figure 3 is a structural schematic diagram of an embodiment of a power generation circuit provided by the present application;
[0025] Figure 4 It is a structural schematic diagram of an embodiment of a waveform control circuit provided by the present application;
[0026] Figure 5 It is a schematic diagram of a positive slope power supply waveform provided by the present application;
[0027] Figure 6 It is a schematic diagram of the negative slope power supply waveform provided by this application;
[0028] Figure 7 It is a schematic diagram of a sine wave provided by this application;
[0029] Figure 8 It is a schematic diagram of a square wave provided by this application;
[0030] Fig. 9 It is a schematic diagram of a triangle wave provided by this application;
[0031] Fig.10 It is a schematic diagram of the low-level trigger threshold detection wave provided by this application;
[0032] Fig.11 It is a schematic diagram of the high level trigger threshold detection wave provided by this application;
[0033] Fig.12 is a schematic diagram of any irregular waveform provided by this application;
[0034] Fig.13 is a structural schematic diagram of an embodiment of a load circuit provided by the present application;
[0035] Fig.14 It is a structural schematic diagram of an embodiment of a testing device provided in the present application. DETAILED DESCRIPTION
[0036] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It will be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only some but not all structures related to the present application are shown in the drawings. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0037] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations 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 may be combined with other embodiments.
[0038] like Figure 1 When the chip is working, the power supply provides the required power for it. There is also a storage capacitor (load capacitor) near the power pin of the chip to ensure the stability of the power supply when the power consumption of the chip fluctuates. According to the relationship between the voltage and current across the capacitor I = ΔU / C, these energy storage capacitors cause that if you want to quickly adjust the voltage across the chip, you need to inject (when the slope of the voltage waveform is positive) or pull (when the slope of the voltage waveform is negative) current into the chip and its energy storage capacitor. The current size depends on the slope of the voltage waveform and the size of the energy storage capacitor. The energy storage capacitor configured in the chip to be tested will limit the slope of the power waveform generated by the test circuit, especially when using a power meter. The power meter is connected to the chip to be tested and its energy storage capacitor through a very long test cable. The parasitic parameters (parasitic resistance, parasitic inductance) of the test cable further limit the speed of change (slope) of the power waveform generated by the power meter.
[0039] like Figure 2 In ①, ordinary power supply meters can inject current into the chip (load) to be tested and work in a single quadrant. This power supply can only inject current into the load and cannot pull current from the load capacitor, so it can only support very low-rate voltage waveform generation.
[0040] like Figure 2 In ②, the electronic load meter can pull current from the chip under test (load) and also work in a single quadrant. This single-quadrant load is only capable of pulling current (negative current) from the load and cannot support the generation of voltage waveforms.
[0041] like Figure 2 ③, some power supply instruments can both inject positive voltage and current into the load and pull current from the load, and work in dual quadrants. This power supply instrument injects current (positive current) into the load when generating a rising voltage waveform; when generating a falling voltage waveform, it pulls current from the load. The process of injecting and pulling current is controlled by software algorithms, which can support medium-rate voltage waveform generation. However, this power supply instrument that supports dual quadrants is costly and bulky, and cannot be embedded in the circuit to be tested, nor can it achieve high-rate voltage waveform generation.
[0042] Use as Figure 2 The disadvantage of solution ① is that this power supply meter has the ability to only inject current (positive current) into the load but not to pull current (negative current) from the load, so it can only support very low-rate voltage waveform generation.
[0043] Use as Figure 2The disadvantage of solution ③ is that this type of power supply instrument generally only supports low-rate voltage waveform generation, and is large in size and relatively expensive. It is not suitable for mass production testing of chips that are more cost-sensitive, nor is it suitable for situations in which rapidly changing power supply waveforms need to be generated in certain chip testing projects.
[0044] Based on this, the present application provides a circuit solution that supports fast arbitrary power waveform generation, the generated power waveform is not affected by changes in energy storage capacitor capacity and load power consumption, and is low-cost and easy to apply. For details, please refer to any of the following technical solutions.
[0045] See also Figure 3 , Figure 3 1 is a schematic diagram of a power generation circuit according to an embodiment of the present application. The power generation circuit 100 includes: a controller 10 , a waveform control circuit 20 and a load circuit 30 .
[0046] A first terminal of the waveform control circuit 20 is coupled to the working power source 40 , and a second terminal of the waveform control circuit 20 is coupled to the controller 10 .
[0047] A first terminal of the load circuit 30 is coupled to the output terminal of the waveform control circuit 20, and a second terminal of the load circuit 30 is coupled to the controller 10. The load circuit 30 may be an adjustable constant current load circuit.
[0048] The controller 10 is used to control the waveform control circuit 20 and the load circuit 30 to adjust the initial power waveform provided by the working power supply 40 to a target power waveform output.
[0049] In an application scenario, the waveform control circuit 20 can output a power waveform corresponding to the control signal under the control signal corresponding to the controller 10. For example, if the waveform control circuit 20 is to output a positive slope power waveform, the controller 10 can output a continuously decreasing control signal as a feedback signal of the waveform control circuit 20. When the waveform control circuit 20 receives a continuously decreasing feedback signal, the waveform control circuit 20 will output a continuously increasing power waveform. Because when the waveform control circuit 20 receives a continuously decreasing feedback signal, the waveform control circuit 20 will consider the output power waveform to be a decreasing power, and therefore the waveform control circuit 20 will increase the output power voltage internally.
[0050] For example, if the waveform control circuit 20 is to output a negative slope power waveform, the controller 10 can output a continuously rising control signal as a feedback signal of the waveform control circuit 20. When the waveform control circuit 20 receives a continuously rising feedback signal, the waveform control circuit 20 will output a continuously falling power waveform. Because when the waveform control circuit 20 receives a continuously rising feedback signal, the waveform control circuit 20 will consider the output power waveform to be a rising power, so the waveform control circuit 20 will lower the output power voltage, and the controller 10 also controls the load circuit 30 to pull current from the load capacitor to adjust the initial power waveform provided by the working power supply 40 to the target power waveform output.
[0051] Based on this, the controller 10 can synchronously control the waveform control circuit 20 and the load circuit 30 to adjust the initial power waveform provided by the working power supply 40 to an arbitrary power waveform output. Therefore, the controller 10 can control the waveform control circuit 20 and the load circuit 30 to adjust the initial power waveform provided by the working power supply 40 to a target power waveform output, thereby realizing rapid arbitrary power waveform generation.
[0052] See also Figure 4 The waveform control circuit 20 includes: a power chip U1 and a first digital-to-analog converter.
[0053] A first terminal of the power chip U1 is coupled to the working power source 40. The working power source 40 can provide a constant power to the power chip U1.
[0054] The input terminal of the first DAC is coupled to the controller 10, and the output terminal of the first DAC is coupled to the second terminal of the power chip U1. The first DAC can convert the digital control signal input from the controller 10 into an analog control signal and input it to the power chip U1.
[0055] Furthermore, the waveform control circuit 20 further includes: a first resistor R1, a second resistor R2, and a third resistor R3. A first end of the first resistor R1 is coupled to the output end of the power chip U1; a first end of the second resistor R2 is coupled to the second end of the first resistor R1, and a second end of the second resistor R2 is grounded; a first end of the third resistor R3 is coupled to the output end of the first digital-to-analog converter, and a second end of the third resistor R3 is coupled to the second end of the first resistor R1 and the second end of the power chip U1.
[0056] The output voltage of the power chip U1 and the control voltage output by the first digital-to-analog converter are in the following relationship:
[0057]
[0058] Among them, V OUTrepresents the output voltage of the power chip U1, R1 represents the resistance value of the first resistor R1, R2 represents the resistance value of the second resistor R2, R3 represents the resistance value of the third resistor R3, V FB Indicates the voltage at the second terminal of the power chip U1, V DAC Represents the control voltage output by the first digital-to-analog converter.
[0059] In one application scenario, the controller 10 controls the output target power waveform to be a positive slope waveform, and the controller 10 controls the first digital-to-analog converter to output a continuously decreasing control voltage to the feedback pin of the power chip U1. The power chip U1 outputs a continuously rising positive slope power waveform based on the continuously decreasing control voltage input at the feedback pin. At this time, because the target power waveform is a positive slope waveform, the controller 10 controls the load circuit 30 not to work and no load consumption is performed.
[0060] Specifically, the controller 10 controls the waveform control circuit 20 to inject a suitable current into the load capacitor so that the output voltage V OUT Generate a specified voltage waveform. Take a fixed slope voltage waveform of 0.5V~1V and a rising slope of 50V / ms as an example:
[0061] Output voltage V OUT From 0.5V to 1V, the output voltage V OUT With control voltage V DAC Relationship:
[0062]
[0063] V DAC It needs to drop from x1 to x2. For convenience, assume x1 = 1.5V, x2 = 1V. That is, the controller 10 controls V DAC From 1.5V down to 1V, the corresponding output voltage V OUT From 0.5V to 1V.
[0064] Output voltage V OUT It takes 10us to increase from 0.5V to 1V at a slope of 50V / ms. The controller 10 needs to control the output voltage V within 10us. OUT From 0.5V to 1V, that is, control V DAC From 1.5V down to 1V.
[0065] Assume that the controller 10 sends a signal to the first DAC every 0.1us via the high-speed SPI bus, and sends a total of 10us / 0.1us=100 times, so that V DAC It smoothly drops from 1.5 V to 1 V. It can be understood that the shorter the step time is, the more control signals the controller 10 needs to send, and the finer the generated voltage waveform is.
[0066] The waveform control circuit 20 receives the V DAC (1.5V~1V) signal, generates a corresponding voltage waveform (0.5V~1V) that rises at a fixed slope, such as Figure 5 shown.
[0067] In one application scenario, the controller 10 controls the output target power waveform to be a negative slope waveform, the controller 10 controls the first digital-to-analog converter to output a continuously rising control voltage, and the controller 10 controls the load circuit 30 to pull current from the load capacitor, then the power chip U1 outputs a negative slope power waveform.
[0068] In one application scenario, the controller 10 controls the waveform control circuit 20 to inject a suitable current into the load capacitor, and controls the load circuit 30 to pull out a suitable current, so that the output voltage V OUT Generate a specified voltage waveform. Take a fixed slope voltage waveform with a range of 1V to 0.5V and a falling slope of 50V / ms as an example:
[0069] Output voltage V OUT From 1V down to 0.5V, the output voltage V OUT With control voltage V DAC Relationship:
[0070]
[0071] V DAC It needs to rise from x1 to x2. For convenience, assume x1 = 1V, x2 = 1.5V. That is, the controller 10 controls V DAC From 1V to 1.5V, the corresponding output voltage V OUT From 1V down to 0.5V.
[0072] Output voltage V OUT It takes 10us to drop from 1V to 0.5V at a slope of 50V / ms. The controller 10 needs to control the output voltage V within 10us. OUT From 1V down to 0.5V, that is, control V DAC From 1V to 1.5V.
[0073] Assume that the controller 10 sends a signal to the first DAC every 0.1us (step time) through the high-speed SPI bus, and sends a total of 10us / 0.1us=100 times of signal, so that V DAC It rises smoothly from 1 V to 1.5 V. The shorter the step time is, the more control signals the controller 10 needs to send, and the finer the generated voltage waveform is.
[0074] The waveform control circuit 20 receives the V DAC (1V~1.5V) signal, generates a corresponding voltage waveform (1V~0.5V) that decreases at a fixed slope, such as Figure 6 shown.
[0075] Further, the controller 10 is used to control the waveform control circuit 20 to inject current into the load capacitor and control the load circuit 30 to pull current from the load capacitor, and then adjust the initial power waveform provided by the working power supply 40 to the target power waveform output, wherein the target power waveform includes a sine wave (such as Figure 7 As shown), square wave (as Figure 8 As shown), triangle wave (as Fig. 9 As shown), low level trigger threshold detection wave (as Fig.10 As shown), high level trigger threshold detection wave (as Fig.11 as shown) or any irregular waveform (such as Fig.12 shown).
[0076] See also Fig.13 The load circuit 30 includes: a sampling resistor R4, a first operational amplifier AMP1, a second operational amplifier AMP2 and a switch unit Q1.
[0077] A first terminal of the sampling resistor R4 is coupled to the output terminal of the power chip U1 .
[0078] A non-inverting input terminal of the first operational amplifier AMP1 is coupled to the output terminal of the power chip U1 , and an inverting input terminal of the first operational amplifier AMP1 is coupled to the second terminal of the sampling resistor R4 .
[0079] A non-inverting input terminal of the second operational amplifier AMP2 is coupled to the output terminal of the first operational amplifier AMP1 .
[0080] The first channel end of the switch unit Q1 is coupled to the second end of the sampling resistor R4, the second channel end of the switch unit Q1 is grounded, the control end of the switch unit Q1 is coupled to the output end of the second operational amplifier AMP2; the second digital-to-analog converter, the input end of the second digital-to-analog converter is coupled to the controller 10, and the output end of the second digital-to-analog converter is coupled to the inverting input end of the second operational amplifier AMP2. The switch unit Q1 can be a transistor, such as a MOS tube.
[0081] The second operational amplifier AMP2 is used to output a second control signal to the control end of the switch unit Q1 according to the first control signal input to the inverting input end and the feedback signal input to the non-inverting input end, so as to control the conduction degree of the switch unit Q1. By controlling the conduction degree of the switch unit Q1, a fixed current value can be pulled down to achieve precise control.
[0082] In summary, the controller 10 controls the first digital-to-analog converter and the second digital-to-analog converter through a high-speed bus such as SPI. The first digital-to-analog converter and the second digital-to-analog converter can both be high-speed digital-to-analog converters. The controller 10 controls the working state of the waveform control circuit 20 by controlling the first digital-to-analog converter. The controller 10 controls the working state of the load circuit 30 by controlling the second digital-to-analog converter to achieve the output of any power supply waveform.
[0083] See also Fig.14 , Fig.14 1 is a schematic diagram of a structure of an embodiment of a test device provided by the present application. The test device 1000 comprises a power generation circuit 100. The power generation circuit is coupled to a component under test to provide a power supply of an arbitrary waveform to the component under test.
[0084] The components under test include a memory chip under test and a load capacitor.
[0085] In one application scenario, various arbitrary power waveforms generated by the power generation circuit can be obtained by software control of the controller 10 in the power generation circuit.
[0086] The component under test is composed of the chip to be tested and the energy storage capacitor (load capacitor) on its power pin. The waveform control circuit 20 and the load circuit 30 achieve the purpose of accurately controlling the voltage waveform at both ends of the energy storage capacitor by controllable charging and discharging of the energy storage capacitor.
[0087] Among them, the fast power-on (positive slope) power waveform is generated as follows:
[0088] The controller 10 controls the waveform control circuit 20 to inject a suitable current into the load capacitor so that the output voltage V OUT Generate a specified voltage waveform. Take a fixed slope voltage waveform of 0.5V~1V and a rising slope of 50V / ms as an example:
[0089] Output voltage V OUT From 0.5V to 1V, the output voltage V OUT With control voltage V DAC Relationship:
[0090]
[0091] V DAC It needs to drop from x1 to x2. For convenience, assume x1 = 1.5V, x2 = 1V. That is, the controller 10 controls V DAC From 1.5V down to 1V, the corresponding output voltage V OUT From 0.5V to 1V.
[0092] The voltage rises from 0.5V to 1V at a slope of 50V / ms, which takes 10us. The controller 10 needs to control the output voltage V within 10us. OUT From 0.5V to 1V, that is, control V DAC From 1.5V down to 1V.
[0093] Assume that the controller 10 sends a signal to the first DAC every 0.1us (step time) through the high-speed SPI bus, and sends a total of 10us / 0.1us=100 times of signal, so that V DAC It drops smoothly from 1.5 V to 1 V. The shorter the step time is, the more control signals the controller 10 needs to send, and the finer the generated voltage waveform is.
[0094] The waveform control circuit 20 receives the V DAC (1.5V~1V) signal, generates a corresponding voltage waveform (0.5V~1V) that rises at a fixed slope.
[0095] Among them, the fast power-off (negative slope) power waveform is generated as follows:
[0096] The controller 10 controls the waveform control circuit 20 to inject a suitable current into the load capacitor, and controls the load circuit 30 to pull out a suitable current, so that the output voltage V OUT Generate a specified voltage waveform. Take a fixed slope voltage waveform with a range of 1V to 0.5V and a falling slope of 50V / ms as an example:
[0097] Output voltage V OUT From 1V down to 0.5V, the output voltage V OUT With control voltage V DAC Relationship:
[0098]
[0099] V DAC It needs to rise from x1 to x2. For convenience, assume x1 = 1V, x2 = 1.5V. That is, the controller 10 controls V DAC From 1V to 1.5V, the corresponding output voltage V OUT From 1V down to 0.5V.
[0100] The voltage drops from 1V to 0.5V at a slope of 50V / ms, which takes 10us. The controller 10 needs to control the output voltage V within 10us. OUT From 1V down to 0.5V, that is, control V DAC From 1V to 1.5V.
[0101] Assume that the controller 10 sends a signal to the first DAC every 0.1us (step time) through the high-speed SPI bus, and sends a total of 10us / 0.1us=100 times of signal, so that V DAC It rises smoothly from 1 V to 1.5 V. The shorter the step time is, the more control signals the controller 10 needs to send, and the finer the generated voltage waveform is.
[0102] The waveform control circuit 20 receives the V DAC (1V~1.5V) signal, generates a corresponding voltage waveform (1V~0.5V) that decreases at a fixed slope.
[0103] The arbitrary power waveform is generated as follows:
[0104] Any voltage waveform can be decomposed into instantaneous rising or falling waveforms. The controller 10 generates a voltage waveform V as required. OUT With control voltage V DAC Relationship:
[0105]
[0106] Pre-generate control of the first digital-to-analog converter output V DAC The timing of the waveform control circuit 20 makes the output voltage waveform follow the arbitrary voltage waveform that needs to be generated. When the voltage of the arbitrary waveform drops, the load circuit 30 is controlled to draw a suitable current from the load. These two modules work together to make the output voltage generate the desired arbitrary power waveform.
[0107] The above test principle is as follows:
[0108] When the voltage on the chip power supply needs to be changed quickly during chip testing, the capacitors at both ends need to be charged / discharged (sink / source current) with a large current to quickly change the power supply voltage at both ends.
[0109] According to the formula:
[0110]
[0111] Q=UC.
[0112] U / t=k.
[0113] in:
[0114] I = current across the load capacitor, in ampere A;
[0115] Q = charge on the capacitor, in coulombs C;
[0116] U = voltage across the capacitor, in volts V;
[0117] k = speed (slope) of voltage change across the load capacitor, in volts per second (V / s).
[0118] You can get:
[0119] I = kC.
[0120] That is, the faster the voltage across the load capacitor changes (the larger the slope k), the greater the current (I) that needs to be poured into / pulled from the capacitor.
[0121] From this, we can know that in order to obtain a rapidly changing power waveform, it is necessary to quickly inject or pull out a large instantaneous current into or out of the load capacitors at both ends of the chip under test.
[0122] In order to increase the voltage across the chip, it is necessary to control the waveform control circuit 20 to inject current into the load capacitor.
[0123] In order to reduce the voltage across the chip, the load circuit 30 needs to be controlled to draw current from the load chip.
[0124] The present application uses the controller 10 to quickly control the current sinking module (waveform control circuit 20) and the current sourcing module (load circuit 30) to achieve rapid control of the voltage across the chip under test. By controlling the current sinking / sourcing of the load chip and its load capacitor by the controller 10, rapid power-on / power-off and arbitrary waveform generation composed of power-on / power-off waveforms can be achieved.
[0125] In summary, the power generation circuit of the present application can realize fast arbitrary power waveform generation and perform various power-related chip tests. The circuit has fast response and precise voltage control, and can completely replace the power waveform generation function of various power instruments. It is low-cost and easy to embed into products.
[0126] Specifically, it can be applied to situations in which the power supply of the circuit under test needs to be powered on and off quickly and with a controllable slope in integrated circuit testing and circuit testing, as well as situations in which high-precision, rapidly changing power up and down pulse waveforms need to be generated to detect the level threshold that triggers certain events inside the chip, as well as situations in which test waveforms such as sine waves, square waves, triangle waves, arbitrary waves need to be generated in integrated circuit testing and circuit testing, and situations in which fast, precise constant slope voltage waveforms need to be generated, but ordinary high-end power instruments and programmable power supplies cannot achieve faster voltage slope changes.
[0127] In the several embodiments provided in this application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only illustrative, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0128] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0129] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0130] If the integrated units in the above other embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), disk or optical disk and other media that can store program codes.
[0131] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A power generation circuit, It is characterized in that The power generation circuit comprises: Controller; A waveform control circuit, wherein a first end of the waveform control circuit is coupled to a working power supply, and a second end of the waveform control circuit is coupled to the controller; A load circuit, wherein a first end of the load circuit is coupled to an output end of the waveform control circuit, and a second end of the load circuit is coupled to the controller; The controller is used to control the waveform control circuit and the load circuit to adjust the initial power waveform provided by the working power supply to a target power waveform output.
2. The power generation circuit according to claim 1, It is characterized in that The waveform control circuit comprises: A power chip, a first end of which is coupled to the working power supply; A first digital-to-analog converter, wherein an input end of the first digital-to-analog converter is coupled to the controller, and an output end of the first digital-to-analog converter is coupled to the second end of the power chip.
3. The power generation circuit according to claim 2, It is characterized in that The waveform control circuit also includes: A first resistor, wherein a first end of the first resistor is coupled to an output end of the power chip; a second resistor, wherein a first end of the second resistor is coupled to a second end of the first resistor, and a second end of the second resistor is grounded; A third resistor, wherein a first end of the third resistor is coupled to the output end of the first digital-to-analog converter, and a second end of the third resistor is coupled to the second end of the first resistor and the second end of the power chip.
4. The power generation circuit according to claim 3, It is characterized in that The output voltage of the power chip and the control voltage output by the first digital-to-analog converter are in the following relationship: Among them, V OUT represents the output voltage of the power chip, R1 represents the resistance value of the first resistor, R2 represents the resistance value of the second resistor, R3 represents the resistance value of the third resistor, V FB Represents the second terminal voltage of the power chip, V DAC Represents the control voltage output by the first digital-to-analog converter.
5. The power generation circuit according to claim 4, It is characterized in that The target power waveform is a positive slope waveform, and the controller controls the first digital-to-analog converter to output the control voltage that continuously decreases, so that the power chip outputs a positive slope power waveform.
6. The power generation circuit according to claim 4, It is characterized in that The target power waveform is a negative slope waveform, the controller controls the first digital-to-analog converter to output the continuously rising control voltage, and the controller controls the load circuit to pull current from the load capacitor, then the power chip outputs a negative slope power waveform.
7. The power generation circuit according to claim 4, It is characterized in that The controller is used to control the waveform control circuit to inject current into the load capacitor and control the load circuit to pull current from the load capacitor, thereby adjusting the initial power waveform provided by the working power supply to a target power waveform output, wherein the target power waveform includes a sine wave, a square wave or a triangle wave.
8. The power generation circuit according to claim 2, It is characterized in that The load circuit comprises: A sampling resistor, a first end of which is coupled to an output end of the power chip; A first operational amplifier, wherein a non-inverting input terminal of the first operational amplifier is coupled to the output terminal of the power chip, and an inverting input terminal of the first operational amplifier is coupled to the second terminal of the sampling resistor; a second operational amplifier, wherein a non-inverting input terminal of the second operational amplifier is coupled to an output terminal of the first operational amplifier; A switch unit, wherein a first channel end of the switch unit is coupled to the second end of the sampling resistor, a second channel end of the switch unit is grounded, and a control end of the switch unit is coupled to the output end of the second operational amplifier; a second digital-to-analog converter, wherein an input terminal of the second digital-to-analog converter is coupled to the controller, and an output terminal of the second digital-to-analog converter is coupled to an inverting input terminal of the second operational amplifier; The second operational amplifier is used to output a second control signal to the control end of the switch unit according to the first control signal input to the inverting input end and the feedback signal input to the non-inverting input end, so as to control the conduction degree of the switch unit.
9. A testing device, It is characterized in that The testing device comprises a power generation circuit as claimed in any one of claims 1 to 8, wherein the power generation circuit is coupled to a component under test to provide a power supply of an arbitrary waveform to the component under test.
10. The testing device according to claim 9, It is characterized in that The measured element includes a measured storage chip and a load capacitor.
