Programmable high dynamic performance electronic load circuit
By using a segmented current digital-to-analog converter and a sequence controller, rapid switching and superposition of current are achieved, which solves the shortcomings of existing programmable electronic loads in terms of dynamic performance, improves the flexibility and automation of current waveform generation, and is suitable for high-frequency dynamic load simulation and transient performance testing.
Patent Information
- Application Number
- CN202611467901.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-20
- Publication Date
- 2026-11-27
AI Technical Summary
Existing programmable electronic loads have shortcomings in dynamic performance, making it difficult to achieve high-frequency, continuously varying current extraction and to accurately assess the transient performance and stability of the power supply system.
A current digital-to-analog converter with partial segmented encoding is used. The lower M1 bit is encoded with binary code, and the higher M2 bit is encoded with thermometer code. Combined with a sequence controller, current digital-to-analog conversion is performed. The target current value is generated by rapidly switching and superimposing the current through binary code and row and column control signals.
It achieves rapid current transitions and high-frequency dynamic performance, and can flexibly simulate complex current waveforms. It is suitable for high-frequency dynamic load simulation and transient performance testing, and improves the flexibility and automation of current waveform generation.
Smart Images

Figure CN123176299A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic circuit technology, and in particular to a programmable high dynamic performance electronic load circuit. Background Technology
[0002] Electronic load circuits simulate the load behavior of a device under test (DUT) by absorbing electrical energy and are widely used to evaluate the current capability, transient response, and other performance characteristics of power management chips. The schematic diagram of an electronic load circuit in constant current operation is shown below. Figure 1 As shown, the voltage (i.e., current signal) across the sampling resistor R in the electronic load circuit is adjusted to the input reference voltage value Vin, thereby achieving the extraction of a constant current Vin / R from the device under test.
[0003] To enhance the flexibility of electronic loads, programmable electronic loads have been designed. By programming the load current, appropriate current levels can be drawn according to different operating states of the power supply chip under test, thereby simulating various load conditions. However, existing programmable electronic loads still have significant shortcomings in dynamic performance. In actual power management chip operating scenarios, load current often exhibits drastic changes, with frequent step current jumps and steep rise and fall edges. Existing programmable electronic loads are mostly statically set, making it difficult to achieve high-frequency, continuously varying current extraction, and the rate of change is limited by various factors, making it difficult to accurately evaluate the transient performance and stability of the power supply system. Summary of the Invention
[0004] The purpose of this application is to provide a programmable high dynamic performance electronic load circuit that can solve at least one of the technical problems mentioned in the prior art.
[0005] One aspect of this application provides a programmable high dynamic performance electronic load circuit. The programmable high dynamic performance electronic load circuit includes a current digital-to-analog converter (DAC) and a sequence controller. The DAC uses a partially segmented encoding method to achieve M-bit current digital-to-analog conversion, where the lower M1 bits are encoded using binary code and the higher M2 bits are encoded using thermometer code, M1 + M2 = M. The sequence controller's input signal includes load current setting data, which includes N bits of load current information. The sequence controller slices the N bits of load current information into groups of M bits, and sequentially generates binary code control signals and row / column control signals for driving the DAC, where N is a multiple of M. The DAC includes a parallel r×c current unit array, which includes a first current unit encoded using binary code and a second current unit encoded using thermometer code. The first current unit is one, and the second current unit is r×c-1, where r, c, and M2 are related as follows: The binary code control signal is used to control the switching state of the first current unit, and the row and column control signals are used to control the switching state of the second current units in the corresponding rows and columns, so as to realize the superposition of currents with different weights and generate the target current value.
[0006] Furthermore, the magnitude of the current in the second current unit is ,in, This is the current value of the smallest current unit.
[0007] Furthermore, the row and column control signals include r row all-on control signals, r row partially-on control signals, and c column on control signals, wherein each of the row all-on control signals and each of the row partially-on control signals is connected to all the second current units in the corresponding row; and each of the column on control signals is connected to all the second current units in the corresponding column.
[0008] Furthermore, the control logic of the row and column control signals is as follows: , , , Where i represents the row number; j represents the column number; row_full[i] represents the control signal for fully enabling the i-th row; row_part[i] represents the control signal for partially enabling the i-th row; col[j] represents the control signal for enabling the j-th column, and r and c are limited to positive integer powers of 2, denoted as: , ,in, , This represents the first M-bit segment of the M-bit signal obtained from each slice. Ranked first The decimal number corresponding to each digit; This represents the M1st to the M2nd bits of the M-bit signal obtained from each slice. The corresponding decimal number.
[0009] Furthermore, the activation logic condition for the second current unit in the i-th row and j-th column is: , in, This indicates that the second current unit in the i-th row and j-th column is turned on.
[0010] Furthermore, the second current unit includes a second MOS transistor, an AND gate, and an OR gate, wherein the two inputs of the AND gate are respectively connected to the row partial enable control signal and the column enable control signal; one input of the OR gate is connected to the output of the AND gate, and the other input of the OR gate is connected to the row full enable control signal; the gate of the second MOS transistor is connected to the output of the OR gate, the drain of the second MOS transistor is connected to the power supply voltage, and the source is grounded.
[0011] Furthermore, the sequence controller includes multiple internal registers, a sequence output control circuit, and a logic decoding circuit. The load current setting data also includes address bits. Each internal register is used to store N bits of load current information corresponding to each address bit. The sequence output control circuit is used to iterate through the N bits of load current information in each internal register, slice the N bits of load current information into groups of M bits, and sequentially generate a load current encoded signal corresponding to the target current value in a time-division manner. The lower M1 bits of the load current encoded signal are used as the binary code control signal. The logic decoding circuit is used to decode the higher M2 bits of the load current encoded signal into the row and column control signal.
[0012] Furthermore, the sequence controller's operating modes include a test mode, a read mode, and an output mode. The sequence controller's input signals also include a test mode control signal, a read mode control signal, and an output mode control signal. When the test mode control signal is valid, the sequence controller operates in the test mode. In this test mode, the sequence controller selects a portion of bits from the load current setting data and directly outputs them as the binary code control signal and the row / column control signal. The current digital-to-analog converter (DAC) is used to extract a fixed current. When the read mode control signal is valid, the sequence controller operates in the read mode. In this read mode, the sequence controller identifies the address bits in the load current setting data and stores the N bits of load current information in the internal register corresponding to the address bits. When the output mode control signal is valid, the sequence controller operates in the output mode. In this output mode, the sequence controller generates, in a time-division multiplexing manner, the binary code control signal and the row / column control signal used to drive the current DAC.
[0013] Furthermore, the programmable high dynamic performance electronic load circuit also includes multiple multiplexers, including a first multiplexer, a second multiplexer, a third multiplexer, and a fourth multiplexer. When the test mode control signal is valid, the first multiplexer is used to directly output the lower M1 bits of data selected from the load current setting data as the binary code control signal. The second to fourth multiplexers are used to select two consecutive r-bit segments and one c-bit segment from the load current setting data, starting from the M1 bit, as the... The row-wide enable control signal, the row-partial enable control signal, and the column enable control signal are directly output; when the output mode control signal is valid, the first multiplexer is used to output the low M1 bit of the load current encoded signal output by the sequence output control circuit as the binary code control signal; the second to the fourth multiplexers are used to output the signals after the high M2 bit of the load current encoded signal is decoded and converted by the logic decoding circuit as the row-wide enable control signal, the row-partial enable control signal, and the column enable control signal, respectively.
[0014] Furthermore, the first current unit includes M1 current sub-units connected in parallel, wherein the current magnitudes of the M1 current sub-units are respectively... , … ,in, The minimum current unit current value is used as the basis for controlling the switching state of the M1 current sub-units.
[0015] The programmable high dynamic performance electronic load circuit of one or more embodiments of this application can have at least the following beneficial technical effects: (1) Programmable simulation of complex current waveforms The sequence controller has K internal registers that can store K×N data. After configuration, it can output data in a predetermined order. The programmable high-dynamic-performance electronic load circuit uses a set current setting to achieve continuous updating and variation of the current. By pre-discretizing the target waveform into a series of current values and writing them into an internal register, the circuit can automatically complete the cyclic output of the entire data segment in output mode, without the need for frequent external input or manual intervention during operation. Based on this mechanism, the programmable high-dynamic-performance electronic load circuit of this application can flexibly construct various complex current waveforms, effectively simulating the dynamic load characteristics that change over time in practical applications. Compared with traditional methods that rely on single-point setting or manual updates, this application has significantly improved the flexibility and automation of waveform generation, meeting the programmability requirements of current waveforms in complex testing scenarios.
[0016] (2) High dynamic performance Compared to traditional closed-loop regulation structures based on operational amplifiers or microcontrollers, this application employs an open-loop control method to directly drive the current unit. Since it eliminates the need for sampling, error calculation, and feedback adjustment processes, the programmable high-dynamic-performance electronic load circuit of this application avoids the limitations imposed by operational amplifier response speed and processing delays. Current updates are determined solely by the transmission of digital control signals and the switching characteristics of the devices, significantly shortening the response path and significantly improving dynamic performance. This allows the current unit to be turned on and off in an extremely short time, exhibiting high rise and fall rates, enabling rapid current transitions. In practical applications, this application can reproduce rapidly changing or even abrupt current characteristics, making it more suitable for high-frequency dynamic load simulation and transient performance testing scenarios.
[0017] (3) Optimization of linearity and wiring complexity based on “partial segmented coding + current unit array organization and arrangement” For current-to-analog converters, traditional pure binary code weighted structures are prone to significant nonlinearity or even non-monotonicity in the output during large codeword transitions due to current source mismatch. Thermometer code encoding, by conducting each unit sequentially, effectively avoids this nonlinearity problem. However, thermometer encoding requires independent control signals for each current unit, resulting in a large number of control signals and significant wiring complexity. This application improves linearity in critical code segments by using a hybrid approach of thermometer code encoding in the high-order bits and binary code weighting in the low-order bits, while avoiding the large number of current units required for full thermometer code encoding. Furthermore, the high-order current units are organized in an array and driven jointly by row and column control signals, further reducing the number of digital control signals and simplifying wiring. Attached Figure Description
[0018] Figure 1 This is a schematic diagram of an electronic load circuit.
[0019] Figure 2 This is a schematic diagram of a programmable high dynamic performance electronic load circuit according to an embodiment of this application.
[0020] Figure 3 This is a schematic diagram of the structure of a current digital-to-analog converter based on partial segmentation coding according to an embodiment of this application.
[0021] Figure 4 This is a schematic diagram of the working mode of a sequence controller in test mode according to an embodiment of this application.
[0022] Figure 5 This is a schematic diagram of the working mode of a sequence controller in read mode according to an embodiment of this application.
[0023] Figure 6 This is a schematic diagram of the working mode of a sequence controller in output mode according to an embodiment of this application. Detailed Implementation
[0024] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses consistent with some aspects of this application as detailed in the appended claims.
[0025] Programmable electronic loads in related technologies typically fall into two categories: one involves adjusting the gate voltage of a MOSFET (Metal-Oxide-Semiconductor Field-Effect Transistor) by comparing a sampled voltage value with a set voltage value using a microcontroller, thereby regulating the load current; the other method involves adjusting the resistance value of a programmable resistor using a digital control signal to extract different load current values. Essentially, both of these programmable electronic loads belong to... Figure 1 The variants, the first structure achieves programmable control of the load current by setting the input reference voltage value Vin, and the second structure achieves control by setting the resistor R.
[0026] While programmable electronic loads possess a degree of flexibility, they still exhibit significant shortcomings in terms of dynamic performance.
[0027] First, in most implementations, the load current is typically presented as a single setpoint, meaning that once set, only a fixed current can be drawn stably. When simulating complex current waveforms (such as step, pulse, or arbitrary waveforms), users often need to manually modify the setpoint repeatedly. The change period of the current setpoint is usually long, making rapid dynamic adjustment difficult. This operating mode is essentially still close to a static load, making it difficult to simulate the complex load characteristics that change rapidly over time in real-world application scenarios, resulting in insufficient response to high-frequency testing requirements. This limits its application capability in transient response testing and affects the evaluation of the dynamic performance of the power supply under test.
[0028] Secondly, from the perspective of control structure, most programmable electronic loads in related technologies employ closed-loop feedback structures containing operational amplifiers or microcontrollers to regulate load current. When the load undergoes a sudden change, the system must undergo a readjustment process. For operational amplifier-based loops, the response speed of the operational amplifier limits the frequency of load current changes; for loops containing microcontrollers, factors such as sampling rate and computation delay lengthen the load current change period. Therefore, these feedback-based electronic loads have a natural bottleneck in dynamic performance due to the limited rate of load current change, making it difficult to achieve high-speed current jumps. This also limits their performance when simulating fast transient loads, making it difficult to accurately reproduce the rapid current changes in real-world applications.
[0029] In view of this, this application provides an improved programmable high dynamic performance electronic load circuit that can improve dynamic performance.
[0030] The programmable high dynamic performance electronic load circuit of this application will now be described in detail with reference to the accompanying drawings. Unless otherwise specified, the features of the following embodiments and implementations can be combined with each other.
[0031] Figure 2 A schematic diagram of the structure of a programmable high dynamic performance electronic load circuit 100 according to an embodiment of this application is shown. Figure 2 As shown, a programmable high dynamic performance electronic load circuit 100 of one embodiment of this application can realize the output of a target current waveform from digital input data, and includes a sequence controller 200 and a current digital-to-analog converter 300 based on partial segmentation coding.
[0032] The current digital-to-analog converter 300, as the execution unit, primarily converts digital input signals into corresponding analog current outputs. The current digital-to-analog converter 300 employs a partially segmented encoding structure to achieve M-bit current digital-to-analog conversion. The lower M1 bits use binary code encoding, while the higher M2 bits use thermometer code encoding, where M1 + M2 = M.
[0033] In the embodiment illustrated in this application, M=10, M1=4, and M2=6. That is, the lower 4 bits are encoded using binary code, and the higher 6 bits are encoded using thermometer code. This partially segmented encoding method achieves 10-bit current digital-to-analog conversion.
[0034] The sequence controller 200 serves as a control and scheduling unit, and its main function is to generate the binary code control signal vid[3:0] and row and column control signals required by the drive current digital-to-analog converter 300.
[0035] Figure 3 A schematic diagram of a current digital-to-analog converter 300 based on partial segmentation coding according to an embodiment of this application is shown. Figure 3 As shown, the current-to-analog converter 300 includes an r×c array of current units connected in parallel. The r×c current unit array may include a first current unit 310 using binary code encoding and a second current unit 320 using thermometer code encoding. The number of first current units 310 is one, and the number of second current units 320 is r×c-1.
[0036] The relationship between r, c, and M2 is as follows: (1) In the embodiment illustrated in this application where M2=6, r=8 and c=8 can be used. That is, the current digital-to-analog converter 300 includes an 8×8 current unit array, of which one is a first current unit 310 and the remaining 63 are second current units 320. It is understood that when M2=6, the current digital-to-analog converter 300 including an 8×8 current unit array is only one embodiment of this application, and is not limited to an 8×8 current unit array. When M2=6, the current digital-to-analog converter 300 may also include a current unit array with other numbers of rows and columns, as long as the relationship between r, c and M2 satisfies the above formula (1).
[0037] The programmable high dynamic performance electronic load circuit 100 of this application enables rapid updating of current values by using a sequence controller 200 to schedule and continuously output multiple sets of digital data, and by using a current digital-to-analog converter 300 to control the current unit, thereby supporting the generation of high-frequency, complex current waveforms.
[0038] like Figure 2 As shown, the input signal of the sequence controller 200 includes load current setting data data_in[161:0] (taking a total bit width of 162 for the load current setting data as an example). The load current setting data data_in[161:0] includes N bits of load current information. The sequence controller 200 can be used to slice the N bits of load current information into groups of M bits, and sequentially generate binary code control signals vid[3:0] and row and column control signals for driving the current digital-to-analog converter 300 in a time-division multiplexing manner, where N is a multiple of M. In the embodiment illustrated in this application, N=160.
[0039] The binary code control signal vid[3:0] generated by the sequence controller 200 can be used to control the switching state of the first current unit 310. The row and column control signals generated by the sequence controller 200 can be used to control the switching state of the second current unit 320 in the corresponding row and column, so as to realize the superposition of currents with different weights to generate the target current value.
[0040] Reference Figure 3 The first current unit 310 includes M1 current sub-units connected in parallel. The current magnitudes of the M1 current sub-units are respectively... , … The binary code control signal vid[3:0] can control the switching state of M1 current sub-units in the first current unit 310.
[0041] In the embodiment illustrated in this application, the first current unit 310 includes four current subunits 311, 312, 313, and 314, and the current magnitudes of the four current subunits 311, 312, 313, and 314 are respectively... , , , ,in, This is the current value of the smallest current unit.
[0042] In some embodiments, the first current unit 310 includes four first MOS transistors, wherein the gates of the four first MOS transistors are respectively connected to the corresponding bits of the binary code control signal vid[3:0], the drains of the four first MOS transistors are connected to the power supply voltage V_DUT, and the sources are grounded to GND.
[0043] The current magnitude of each second current unit 320 is ,in, This is the current value of the smallest current unit.
[0044] In some embodiments, the row and column control signals may include r row-full control signals, r row-part control signals, and c column-full control signals. For example, in the embodiment illustrated in this application, there are 8 row-full[0] to row-full[7] control signals, 8 row-part control signals, and 8 column-full ...
[0045] Each row-wide enable control signal `row_full` and each row-part enable control signal `row_part` are connected to all the second current units 320 of the corresponding row. For example, the row-wide enable control signal `row_full[0]` and the row-part enable control signal `row_part[0]` are connected to all the second current units 320 of the 0th row; the row-wide enable control signal `row_full[1]` and the row-part enable control signal `row_part[1]` are connected to all the second current units 320 of the 1st row; the row-wide enable control signal `row_full[2]` and the row-part enable control signal `row_part[2]` are connected to all the second current units 320 of the 2nd row; and the row-wide enable control signal `row_full[3]` and the row-part enable control signal `row_part[3]` are connected to all the second current units 320 of the 3rd row. The row-wide enable control signal row_full[4] and the row-part enable control signal row_part[4] are respectively connected to all the second current units 320 in the 4th row; the row-wide enable control signal row_full[5] and the row-part enable control signal row_part[5] are respectively connected to all the second current units 320 in the 5th row; the row-wide enable control signal row_full[6] and the row-part enable control signal row_part[6] are respectively connected to all the second current units 320 in the 6th row; the row-wide enable control signal row_full[7] and the row-part enable control signal row_part[7] are respectively connected to all the second current units 320 in the 7th row.
[0046] Each column-on control signal col is connected to all the second current units 320 of the corresponding column. For example, column-on control signal col[0] is connected to all the second current units 320 of column 0; column-on control signal col[1] is connected to all the second current units 320 of column 1; column-on control signal col[2] is connected to all the second current units 320 of column 2; column-on control signal col[3] is connected to all the second current units 320 of column 3; column-on control signal col[4] is connected to all the second current units 320 of column 4; column-on control signal col[5] is connected to all the second current units 320 of column 5; column-on control signal col[6] is connected to all the second current units 320 of column 6; and column-on control signal col[7] is connected to all the second current units 320 of column 7.
[0047] The control logic for the row and column control signals is as follows: Where i represents the number of rows; j represents the number of columns; row_full[i] represents the control signal for the entire i-th row being enabled; row_part[i] represents the control signal for the partial i-th row being enabled; and col[j] represents the control signal for the j-th column being enabled.
[0048] Given that r and c are positive integer powers of 2, let: in, , This represents the first M-bit segment of the M-bit signal obtained from each slice. Ranked first The decimal number corresponding to each digit; This represents the M1st to the M2nd bits of the M-bit signal obtained from each slice. The corresponding decimal number.
[0049] The activation logic condition for the second current unit 320 in the i-th row and j-th column is as follows: , Here, en[i][j] indicates that the second current unit 320 in the i-th row and j-th column is turned on.
[0050] When the control signal row_full[i] for the full activation of the i-th row is 1, all second current units 320 in the i-th row are turned on (i=0,1,…,7); when the control signal row_part[i] for the partial activation of the i-th row is 1, the second current units 320 in the i-th row are selectively activated based on whether the control signal col[j] for the j-th column is 1, that is, if the control signal col[j] for the j-th column is 1, then the second current unit 320 in the i-th row and j-th column is activated, otherwise the current unit is deactivated (i,j=0,1,…,7); when both the control signal row_full[i] for the full activation of the i-th row and the control signal row_part[i] for the partial activation of the i-th row are 0, all second current units 320 in the i-th row are deactivated.
[0051] In some embodiments, the second current unit 320 may include a second MOSFET 321, an AND gate 322, and an OR gate 323. The two inputs of the AND gate 322 are respectively connected to a row-part enable control signal `row_part` and a column enable control signal `col`; one input of the OR gate 323 is connected to the output of the AND gate 322, and the other input of the OR gate 323 is connected to a row-full enable control signal `row_full`; the gate of the second MOSFET 321 is connected to the output of the OR gate 323, the drain of the second MOSFET 321 is connected to the power supply voltage `V_DUT`, and the source is grounded to GND.
[0052] For example, if the M-bit signal (taking M=10 as an example) used for digital-to-analog conversion is 1010010010, extracted from the N-bit load current information of the load current setting data_in[161:0], then the lower 4 bits are 0010 and the higher 6 bits are 101001. After digital-to-analog conversion, the final result needs to be of size 658. The current value.
[0053] The lower 4 bits are encoded in binary code. These lower 4 bits control the corresponding four current sub-units in the first current unit 310. The switching state of a current sub-unit is controlled by whether each bit is 1. When a bit is 1, the first MOSFET in the corresponding current sub-unit is turned on; when a bit is 0, the first MOSFET in the corresponding current sub-unit is turned off. Since the lower 4 bits are 0010, only the first MOSFET in the second current sub-unit is turned on, while the others are turned off. The current magnitude of the second current sub-unit is... Therefore, the total current components output by weighting the lower 4 bits using binary code are: .
[0054] The high 6 bits are encoded using thermometer code. The high 4 bits are 101001, the first three bits are 101, corresponding to the decimal number 2. 2 +2 0 =5; the last three digits are 001, corresponding to a decimal number of 2. 0 =1, therefore, all the second current units 320 in the first 5 rows are turned on, that is, all the second MOS transistors 321 in the first 5 rows are turned on, and one second current unit 320 in the 6th row is turned on, that is, one of the second MOS transistors 321 in the 6th row is turned on, and the rest are turned off. The corresponding row and column control signals are: row_full[0]~row_full[4]=1, row_part[5]=1, col[0]=1, and the rest are 0. Since all the second current units 320 in the first 5 rows are turned on, and one second current unit 320 in the 6th row is turned on, the total current component of the high 6 bits weighted by the thermometer code is 5×8×16. +1×16 =656 .
[0055] Therefore, the final total current value of the analog current output through the weighted sum of the lower 4 bits and the higher 6 bits is 2. +656 =658 This converts the 10-bit digital current input signal into a current magnitude of 658. The analog current output enables digital-to-analog conversion of current.
[0056] Return to reference Figure 2 In some embodiments, the sequence controller 200 of this application may include multiple (e.g., K) internal registers 210, a sequence output control circuit 220, and a logic decoding circuit 230. The externally input load current setting data data_in[161:0] contains address bits and load current information. For example, in the embodiment illustrated in this application, data_in[161:160] in the load current setting data data_in[161:0] are address bits, and data_in[159:0] is 160 bits of load current information.
[0057] Each internal register 210 can be used to store N bits of load current information corresponding to each address bit. For example, in the embodiment illustrated in this application, K=4, that is, the sequence controller 200 includes four internal registers 210 with different addresses and a width of 160 bits each.
[0058] The sequence output control circuit 220 can cyclically traverse the N-bit load current information in each internal register 210, slice the N-bit load current information into groups of M-bit signals, and sequentially generate the load current encoding signal vid_int[9:0] corresponding to the target current value in time-division. Among them, the lower M1 bit signal vid_int[3:0] in the load current encoding signal vid_int[9:0] is used as the binary code control signal vid[3:0].
[0059] The logic decoding circuit 230 can decode the high M2 bits of the load current encoded signal vid_int[9:0], vid_int[9:4], into row and column control signals.
[0060] In some embodiments, the operating modes of the sequence controller 200 of this application may include a test mode, a read mode, and an output mode. Accordingly, the input signals of the sequence controller 200 also include a test mode control signal "test", a read mode control signal "load", and an output mode control signal "start".
[0061] Figure 4This illustration shows a schematic diagram of the operating mode of a sequence controller 200 in test mode according to an embodiment of this application. Figure 4 As shown, when the test mode control signal test is valid, for example, when test=1, the sequence controller 200 operates in test mode. In test mode, the sequence controller 200 can select a portion of bits from the load current setting data data_in[161:0] and output them directly as binary code control signal vid[3:0] and row and column control signals (i.e., row_full[7:0], row_part[7:0], and column_part[7:0]) without internal storage and decoding. The current digital-to-analog converter 300 can extract a fixed current to act as a static load for debugging and verifying the basic functions of the current digital-to-analog converter 300 and the working status of each current unit.
[0062] Figure 5 This illustration shows the operating mode of a sequence controller 200 in read mode according to an embodiment of this application. Figure 5 As shown, when the read mode control signal load is valid, for example, when load=1, the sequence controller 200 operates in read mode. In read mode, the sequence controller 200 identifies the address bits in the load current setting data data_in[161:0] and stores the N bits of load current information into the internal register 210 corresponding to the address bits.
[0063] Figure 6 This illustration shows a schematic diagram of the operating mode of a sequence controller 200 in output mode according to an embodiment of this application. Figure 6 As shown, when the output mode control signal start is valid, for example, start=1, the sequence controller 200 operates in output mode. In output mode, the sequence controller 200 can generate binary code control signals vid[3:0] and row and column control signals for driving the current digital-to-analog converter 300 in a time-division multiplexing manner. Specifically, the sequence output control circuit 220 cyclically traverses the 640-bit data in the four internal registers 210, reading the 640-bit data into the load current encoding signal vid_int[9:0] in groups of 10 bits. Among them, the lower 4 bits vid_int[3:0] of the load current encoding signal vid_int[9:0] are directly output as binary code control signals vid[3:0], which control the switching state of the M1 current sub-units respectively. The high 6 bits of the signal vid_int[9:4] are converted into row and column control signals by the logic decoding circuit 230, namely row_full[7:0], row_part[7:0], and column_col[7:0], which are used to drive the current cell array.
[0064] In some embodiments, the programmable high dynamic performance electronic load circuit 100 of this application further includes a plurality of multiplexers, including a first multiplexer 241, a second multiplexer 242, a third multiplexer 243 and a fourth multiplexer 244.
[0065] Reference Figure 4 When the test mode control signal test=1, the first multiplexer 241 can directly output the low M1 bit signal selected from the load current setting data data_in[161:0] as the binary code control signal vid[3:0]. The second multiplexer 242 to the fourth multiplexer 244 can select two consecutive r-bit signals and one c-bit signal from the load current setting data data_in[161:0] starting from the M1 bit as the row full enable control signal row_full, the row partial enable control signal row_part, and the column enable control signal col, respectively, and output them directly. For example, taking a total bit width of 162 bits for the load current setting data, M1=4, r=c=8 as an example, when test=1, the first multiplexer 241 selects the lower 4 bits of the load current setting data data_in[161:0] as the binary code control signal vid[3:0] and outputs it directly; the second multiplexer 242 to the fourth multiplexer 244 can select three consecutive 8-bit signals data_in[11:4], data_in[19:12], and data_in[27:20] from the 5th bit of the load current setting data data_in[161:0] as the row full enable control signal row_full[7:0], the row part enable control signal row_part[7:0], and the column enable control signal col[7:0] and output them directly.
[0066] Reference Figure 6When the output mode control signal start=1, the first multiplexer 241 is used to output the low M1 (e.g., M1=4) bits of the load current encoded signal vid_int[9:0] output by the sequence output control circuit 220 as the binary code control signal vid[3:0]. The second multiplexer 242 to the fourth multiplexer 244 are used to output the high M2 (e.g., M2=6) bits of the load current encoded signal vid_int[9:4] after being decoded and converted by the logic decoding circuit 230 as the signals row_full_int[7:0], row_part_int[7:0], and col_int[7:0] as the row full enable control signal row_full, the row partial enable control signal row_part[7:0], and the column enable control signal col[7:0], respectively.
[0067] The input signals of the sequence controller 200 of this application also include a clock signal clk. At the rising edge of each clock signal clk, when the test mode control signal test=1, the sequence controller 200 enters the test mode; when the read mode control signal load=1, the sequence controller 200 enters the read mode; when the output mode control signal start=1, the sequence controller 200 enters the output mode.
[0068] In some embodiments, the input signals of the sequence controller 200 of this application further include a reset signal rst. The reset signal rst is used to reset the sequence controller 200 to set all outputs of the sequence controller 200 to 0.
[0069] It is understood that the embodiments illustrated in this application are merely illustrative examples of the programmable high dynamic performance electronic load circuit 100 of this application. However, this application is not limited thereto. The total bit width N of the load current information in the load current setting data_in of this application, the signal bit width M of each slice, the low bit width M1, the high bit width M2, the number of rows r, the number of columns c, the number of internal registers K, etc. can be reasonably selected according to actual applications.
[0070] The programmable high dynamic performance electronic load circuit 100 of this application can have at least the following beneficial technical effects: (1) Programmable simulation of complex current waveforms The sequence controller 200 has K internal registers 210, which can store a total of K×N=4×160=640 bits of data. After configuration, it can output data in a predetermined order. The programmable high-dynamic-performance electronic load circuit 100 automatically completes the cyclic output of the entire data segment in output mode by pre-discretizing the target waveform into a series of current values and writing them into the internal register 210, without requiring frequent external input or manual intervention during operation. Based on the above mechanism, the programmable high-dynamic-performance electronic load circuit 100 of this application can flexibly construct a variety of complex current waveforms, effectively simulating the dynamic load characteristics that change over time in actual applications. Compared with the traditional method that relies on single-point setting or manual update, this application has a significant improvement in the flexibility and automation of waveform generation, which can meet the requirements of complex test scenarios for programmable current waveforms.
[0071] (2) High dynamic performance Compared to traditional closed-loop regulation structures based on operational amplifiers or microcontrollers, this application employs an open-loop control method to directly drive the current unit. Since it eliminates the need for sampling, error calculation, and feedback adjustment processes, the programmable high-dynamic-performance electronic load circuit 100 of this application avoids the limitations imposed by operational amplifier response speed and processing delays. Current updates are determined solely by digital control signal transmission and device switching characteristics, significantly shortening the response path and significantly improving dynamic performance. This allows the current unit to be switched on and off in an extremely short time, exhibiting high rise and fall rates, enabling rapid current transitions. In practical applications, this application can reproduce rapidly changing or even abruptly changing current characteristics, making it more suitable for high-frequency dynamic load simulation and transient performance testing scenarios.
[0072] (3) Optimization of linearity and wiring complexity based on “partial segmented coding + current unit array organization and arrangement” For current-to-analog converters, traditional pure binary code weighted structures are prone to significant nonlinearity or even non-monotonicity in the output during large codeword transitions due to current source mismatch. Thermometer code encoding, by conducting each unit sequentially, effectively avoids this nonlinearity problem. However, thermometer encoding requires independent control signals for each current unit, resulting in a large number of control signals and significant wiring complexity. This application improves linearity in critical code segments by using a hybrid approach of thermometer code encoding in the high-order bits and binary code weighting in the low-order bits, while avoiding the large number of current units required for full thermometer code encoding. Furthermore, the high-order current units are organized in an array and driven jointly by row and column control signals, further reducing the number of digital control signals and simplifying wiring.
[0073] The programmable high dynamic performance electronic load circuit provided in the embodiments of this application has been described in detail above. Specific examples have been used to illustrate the programmable high dynamic performance electronic load circuit of this application. The descriptions of the embodiments above are only for helping to understand the core ideas of this application and are not intended to limit this application. It should be noted that those skilled in the art can make several improvements and modifications to this application without departing from the spirit and principles of this application, and all such improvements and modifications should fall within the protection scope of the appended claims.
Claims
1. A programmable high dynamic performance electronic load circuit, characterized in that, This includes a current-to-analog converter and a sequence controller, among which, The current digital-to-analog converter uses a partial segmented encoding method to achieve M-bit current digital-to-analog conversion. The lower M1 bits are encoded using binary code, and the higher M2 bits are encoded using thermometer code. M1 + M2 = M. The input signal of the sequence controller includes load current setting data, which contains N bits of load current information. The sequence controller is used to slice the N bits of load current information into groups of M bits, and sequentially generate binary code control signals and row and column control signals for driving the current digital-to-analog converter, where N is a multiple of M. The current-to-analog converter includes an r×c current unit array connected in parallel. The r×c current unit array includes a first current unit encoded using binary code and a second current unit encoded using thermometer code. The number of the first current unit is one, and the number of the second current units is r×c-1. The relationship between r, c, and M2 is as follows: , The binary code control signal is used to control the switching state of the first current unit, and the row and column control signals are used to control the switching state of the second current units in the corresponding rows and columns, so as to realize the superposition of currents with different weights and generate the target current value.
2. The programmable high dynamic performance electronic load circuit as described in claim 1, characterized in that, The magnitude of the current in the second current unit is ,in, This is the current value of the smallest current unit.
3. The programmable high dynamic performance electronic load circuit as described in claim 1, characterized in that, The row and column control signals include r row full-open control signals, r row partial-open control signals, and c column open control signals, wherein... Each row full-on control signal and each row partial-on control signal are respectively connected to all the second current units of the corresponding row; Each column enable control signal is connected to all the second current units in the corresponding column.
4. The programmable high dynamic performance electronic load circuit as described in claim 3, characterized in that, The control logic for the row and column control signals is as follows: , , , Where i represents the row number; j represents the column number; row_full[i] represents the control signal for fully enabling the i-th row; row_part[i] represents the control signal for partially enabling the i-th row; and col[j] represents the control signal for enabling the j-th column. Given that r and c are positive integer powers of 2, let: , , in, , This represents the first M-bit segment of the M-bit signal obtained from each slice. Ranked first The decimal number corresponding to each digit; This represents the M1st to the M2nd bits of the M-bit signal obtained from each slice. The corresponding decimal number.
5. The programmable high dynamic performance electronic load circuit as described in claim 4, characterized in that, The activation logic condition for the second current unit in the i-th row and j-th column is: , in, This indicates that the second current unit in the i-th row and j-th column is turned on.
6. The programmable high dynamic performance electronic load circuit as described in claim 5, characterized in that, The second current unit includes a second MOSFET, an AND gate, and an OR gate, wherein, The two inputs of the AND gate are respectively connected to the row portion opening control signal and the column opening control signal; One input of the OR gate is connected to the output of the AND gate, and the other input of the OR gate is connected to the row-wide open control signal; The gate of the second MOS transistor is connected to the output of the OR gate, the drain of the second MOS transistor is connected to the power supply voltage, and the source is grounded.
7. The programmable high dynamic performance electronic load circuit as described in claim 3, characterized in that, The sequence controller includes multiple internal registers, a sequence output control circuit, and a logic decoding circuit. The load current setting data also includes address bits. Each of the aforementioned internal registers is used to store N bits of load current information corresponding to each address bit; The sequence output control circuit is used to cyclically traverse the N-bit load current information in each of the internal registers, slice the N-bit load current information into groups of M bits, and sequentially generate the load current encoding signal corresponding to the target current value in time-division mode. The lower M1 bits of the load current encoding signal are used as the binary code control signal. The logic decoding circuit is used to decode the high M2 bits of the load current encoded signal into the row and column control signals.
8. The programmable high dynamic performance electronic load circuit as described in claim 7, characterized in that, The sequence controller has three operating modes: test mode, read mode, and output mode. Its input signals also include test mode control signals, read mode control signals, and output mode control signals. When the test mode control signal is valid, the sequence controller operates in the test mode. In the test mode, the sequence controller is used to select a portion of bits from the load current setting data and directly output them as the binary code control signal and the row and column control signal. The current digital-to-analog converter is used to extract a fixed current. When the read mode control signal is valid, the sequence controller operates in the read mode. In the read mode, the sequence controller is used to identify the address bits in the load current setting data and store the N bits of load current information into the internal register corresponding to the address bits. When the output mode control signal is valid, the sequence controller operates in the output mode. In the output mode, the sequence controller is used to generate the binary code control signal and the row and column control signal for driving the current digital-to-analog converter in a time-division multiplexing manner.
9. The programmable high dynamic performance electronic load circuit as described in claim 8, characterized in that, The programmable high-dynamic-performance electronic load circuit further includes multiple multiplexers, namely a first multiplexer, a second multiplexer, a third multiplexer, and a fourth multiplexer. When the test mode control signal is valid, the first multiplexer is used to directly output the lower M1 bits of data selected from the load current setting data as the binary code control signal; the second to the fourth multiplexers are used to select two consecutive r-bit signals and one c-bit signal from the load current setting data starting from the M1 bit as the row full-on control signal, the row partial-on control signal and the column on control signal, respectively, and output them directly. When the output mode control signal is valid, the first multiplexer is used to output the low M1 bit of the load current encoded signal output by the sequence output control circuit as the binary code control signal; the second to the fourth multiplexers are used to output the signals after the high M2 bit of the load current encoded signal is decoded and converted by the logic decoding circuit as the row full enable control signal, the row partial enable control signal and the column enable control signal, respectively.
10. The programmable high dynamic performance electronic load circuit as described in claim 7, characterized in that, The first current unit includes M1 current sub-units connected in parallel, wherein, The current magnitudes of the M1 current sub-units are respectively , … ,in, The current value of the smallest current unit. The lower M1 bits of the load current encoding signal control the switching states of the M1 current sub-units respectively.
