Digital power supply error feedback information generation method, digital power supply control method, system and device and computer equipment

By obtaining feedback values ​​in the digital power circuit and storing and data fusion of two-dimensional spatial matrix and generating target error feedback information, the problems of output deviation and waveform oscillation of the digital power circuit are solved, and higher stability and accuracy are achieved.

CN119986447AActive Publication Date: 2025-05-13HANGZHOU CHANGCHUAN TECH CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202411895755.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-21
Publication Date
2025-05-13
Estimated Expiration
2044-12-21

AI Technical Summary

Technical Problem

In actual use, the existing digital power circuits are affected by line loss, electrical, time and other factors, resulting in deviations from the expected value of the output voltage or current. The output accuracy of the traditional PID digital loop control method is low, and there is a problem of waveform oscillation.

Method used

By obtaining the feedback value of the digital power supply, it is stored in the two-dimensional spatial matrix, and performing two data fusions to generate target error feedback information to improve the stability and accuracy of the digital power supply loop.

Benefits of technology

It improves the stability and accuracy of the digital power circuit, reduces the oscillation of the output waveform, and enhances the adaptability to load characteristics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119986447A_ABST
    Figure CN119986447A_ABST
Patent Text Reader

Abstract

The invention relates to a digital power supply error feedback information generation method, a digital power supply control method, system and device and computer equipment. The method comprises the following steps: acquiring each feedback value of the acquired digital power supply; storing the feedback values in a two-dimensional space matrix according to a time sequence, wherein the feedback values between adjacent columns in the two-dimensional space matrix are continuous in time; the feedback values in each row in the two-dimensional space matrix are subjected to first fusion, fusion features are obtained, the fusion features are used for representing instantaneous volatility of the feedback values of the digital power supply in a time domain, and the fusion features are stored in a two-dimensional matrix mode; and performing second fusion on each fusion feature in each column of the two-dimensional matrix to obtain each target error feedback information, wherein the target error feedback information is used for representing the change trend of each feedback value of the digital power supply. By adopting the method, the stability of the digital power supply loop can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of digital power supply technology, and in particular to a digital power supply error feedback information generation method, a digital power supply control method, system, device and computer equipment. Background Art

[0002] In integrated circuit test equipment, the VI source, as the excitation voltage source of the unit under test, needs to provide a controllable, measurable, and reliable power supply. Currently, this technology has been developing in the direction of multi-channel and high-precision to adapt to more chip test application scenarios. However, due to the influence of line loss, electrical, time and other factors in actual use of the equipment, the voltage or current applied to the load by the actual VI source deviates from the expected value, so a stable negative feedback regulation loop is required to adjust the voltage or current applied to the load through the negative feedback loop to achieve the purpose of accurate output voltage or current.

[0003] In the PID digital loop control method of traditional technology that adjusts the voltage or current applied to the load through a negative feedback loop, the system output accuracy is low, and for loads with different characteristics, such as capacitive or inductive loads, the output waveform of the power supply regulation loop will oscillate. Summary of the invention

[0004] Based on this, it is necessary to provide a digital power supply error feedback information generation method, a digital power supply control method, system, device and computer equipment that can improve the stability of the digital power supply loop in response to the above technical problems.

[0005] In a first aspect, the present application provides a method for generating digital power supply error feedback information, the method comprising:

[0006] Obtain each feedback value of the collected digital power supply;

[0007] storing the feedback values ​​in a two-dimensional space matrix in time sequence, wherein the feedback values ​​between adjacent columns in the two-dimensional space matrix are continuous in time;

[0008] Performing a first fusion on each feedback value in each row of the two-dimensional space matrix to obtain each fusion feature, wherein the fusion feature is used to characterize the instantaneous volatility of each feedback value of the digital power supply in the time domain, and each fusion feature is stored in the form of a two-dimensional matrix;

[0009] A second fusion is performed on each fusion feature in each column of the two-dimensional matrix to obtain each target error feedback information, and the target error feedback information is used to characterize the change trend of each feedback value of the digital power supply.

[0010] In one embodiment, the step of obtaining each feedback value of the collected digital power supply includes:

[0011] Cache each feedback value of the digital power supply feedback into a buffer;

[0012] The collected feedback values ​​of the digital power supply are obtained from the buffer.

[0013] In one embodiment, before storing the feedback values ​​in a two-dimensional space matrix in time sequence, the method further includes:

[0014] Determine a target number of rows and a target number of columns of a two-dimensional space matrix, wherein when the product of the target number of rows and the target number of columns is fixed, as the target number of rows increases or the target number of columns decreases, the real-time performance of the digital power supply is enhanced and the stability is weakened; or,

[0015] When the product of the target number of rows and the target number of columns is fixed, as the target number of rows decreases or the target number of columns increases, the real-time performance of the digital power supply is weakened and the stability is enhanced.

[0016] In one embodiment, determining a target number of rows and a target number of columns of a two-dimensional space matrix includes:

[0017] Determine the initial number of rows and the initial number of columns of the two-dimensional space matrix, and store each feedback value of the collected digital power supply into the initial two-dimensional space matrix, wherein the number of rows of the initial two-dimensional space matrix is ​​the initial number of rows, and the number of columns is the initial number of columns;

[0018] Based on the initial two-dimensional space matrix and each feedback value of the digital power supply, the initial number of rows and the initial number of columns are synchronously adjusted to obtain a reference number of rows and a reference number of columns;

[0019] Based on the reference number of rows and the reference number of columns and each feedback value of the digital power supply, the reference number of rows and the reference number of columns are adjusted respectively to obtain a target number of rows and a target number of columns.

[0020] In one embodiment, adjusting the initial number of rows and the initial number of columns based on the initial two-dimensional space matrix and each feedback value of the digital power supply to obtain a reference number of rows and a reference number of columns includes:

[0021] Storing each feedback value of the digital power supply into the initial two-dimensional space matrix;

[0022] Fusing the feedback values ​​in the initial two-dimensional space matrix to obtain initial error feedback information;

[0023] Controlling the digital power supply based on the initial error feedback information to obtain initial output information of the digital power supply;

[0024] In a case where it is determined based on the initial output information that the stability of the digital power supply does not meet a preset stability condition, the initial number of rows and the initial number of columns are synchronously increased according to a first preset step size until the stability of the digital power supply meets the preset stability condition;

[0025] When it is determined based on the initial output information that the real-time performance of the digital power supply does not meet the preset real-time performance condition, the initial number of rows and the initial number of columns are synchronously reduced according to a second preset step length until the real-time performance of the digital power supply meets the preset real-time performance condition;

[0026] Based on the adjusted initial number of rows and initial number of columns, a reference number of rows and a reference number of columns of the two-dimensional space matrix are obtained.

[0027] In one embodiment, adjusting the reference number of rows and the reference number of columns based on the reference number of rows and the reference number of columns and each feedback value of the digital power supply to obtain the target number of rows and the target number of columns includes:

[0028] receiving a control instruction, wherein when it is determined that the real-time performance is to be enhanced, the control instruction includes at least one of increasing the number of reference rows or decreasing the number of reference columns; when it is determined that the real-time performance is to be weakened, the control instruction includes at least one of decreasing the number of reference rows or increasing the number of reference columns; when it is determined that the stability is to be enhanced, the control instruction includes at least one of decreasing the number of reference rows or increasing the number of reference columns; when it is determined that the stability is to be weakened, the control instruction includes at least one of increasing the number of reference rows or decreasing the number of reference columns;

[0029] adjusting at least one of the reference number of rows and the reference number of columns based on the control instruction;

[0030] Determine an intermediate two-dimensional space matrix based on the adjusted reference row number and reference column number, and store each feedback value of the digital power supply in the intermediate two-dimensional space matrix;

[0031] fusing the feedback values ​​in the intermediate two-dimensional space matrix to obtain reference error feedback information, and controlling the digital power supply based on the reference error feedback information to obtain reference output information of the digital power supply;

[0032] In a case where it is determined based on the reference output information that the stability and real-time performance of the digital power supply system meet the corresponding first requirement, taking the adjusted reference number of rows as the target number of rows and the adjusted reference number of columns as the target number of columns;

[0033] When it is determined based on the reference output information that at least one of the stability and the real-time performance of the digital power supply system does not meet the corresponding first requirement, the step of receiving a control instruction is continued.

[0034] In one embodiment, the first fusion of each feedback value in each row of the two-dimensional space matrix to obtain each fusion feature includes:

[0035] Obtaining a first fusion coefficient and a first fusion function relationship;

[0036] Based on the first fusion coefficient and the first fusion function relationship, a first fusion is performed on at least two feedback values ​​located in the same row in the two-dimensional space matrix to obtain various fusion features; wherein at least two feedback values ​​are located in adjacent columns or non-adjacent columns.

[0037] In one embodiment, based on the first fusion coefficient and the first fusion function relationship, at least two feedback values ​​located in the same row in the two-dimensional space matrix are first fused to obtain each fusion feature, including:

[0038] Based on the first fusion coefficient and the first fusion function relationship, a first fusion is performed on every two feedback values ​​in the two-dimensional space matrix to obtain each fusion feature, wherein every two feedback values ​​are two feedback values ​​located in the same row and adjacent columns in the two-dimensional space matrix.

[0039] In one embodiment, the first fusion coefficient and the change rate of the fusion feature have opposite changing trends.

[0040] In one embodiment, performing a second fusion on each fusion feature in each column of the two-dimensional matrix to obtain each target error feedback information includes:

[0041] Obtaining a second fusion coefficient and a second fusion function relationship;

[0042] Based on the second fusion coefficient and the second fusion function relationship, a second fusion is performed on at least two of the fusion features located in the same column in the two-dimensional matrix to obtain each target error feedback information; wherein at least two of the fusion features are located in adjacent rows or non-adjacent rows.

[0043] In one embodiment, based on the second fusion coefficient and the second fusion function relationship, performing a second fusion on at least two fusion features located in the same column in the two-dimensional matrix to obtain each target error feedback information includes:

[0044] Based on the second fusion coefficient and the second fusion function relationship, a second fusion is performed on every two fusion features in the two-dimensional matrix to obtain each target error feedback information, wherein every two fusion features are two feedback values ​​located in the same column and adjacent rows in the two-dimensional matrix.

[0045] In one of the embodiments, the second fusion coefficient and the stability of the digital power supply show the same change trend.

[0046] In one embodiment, before performing the first fusion on the feedback values ​​in each row of the two-dimensional space matrix to obtain the fused features, the method further includes:

[0047] The first fusion coefficient is set to a fixed initial value, and the second fusion coefficient is adjusted based on at least one of the stability and real-time performance of the digital power supply until the stability and real-time performance of the digital power supply meet the corresponding second requirement, thereby obtaining the second fusion coefficient.

[0048] In a second aspect, the present application further provides a digital power supply control method, the method comprising:

[0049] The output of the digital power supply is sampled by a sampling device to obtain various feedback values;

[0050] Obtain each target error feedback information based on the above-mentioned digital power supply error feedback information generation method;

[0051] Obtaining a control parameter value based on each of the target error feedback information and a target PID control algorithm;

[0052] The digital power supply is controlled based on the control parameter value.

[0053] In a third aspect, the present application further provides a digital power supply system, the system comprising:

[0054] A sampling device, used for sampling the output of the digital power supply to obtain various feedback values;

[0055] FPGA, used to execute the above-mentioned digital power supply error feedback information generation method to obtain each target error feedback information, and obtain a control parameter value based on each target error feedback information and a target PID control algorithm;

[0056] A DAC device is used to control the digital power supply based on the control parameter value.

[0057] In a fourth aspect, the present application further provides a digital power supply error feedback information generating device, the device comprising:

[0058] A data access module, used to obtain various feedback values ​​of the collected digital power supply;

[0059] A time domain to space domain conversion module, used for storing each feedback value in a two-dimensional space matrix in time sequence, wherein each feedback value in the two-dimensional space matrix is ​​continuous in time between adjacent columns;

[0060] The data fusion operation module is used to perform a first fusion on each feedback value in each row of the two-dimensional space matrix to obtain each fusion feature, wherein the fusion feature is used to characterize the instantaneous volatility of each feedback value of the digital power supply in the time domain, and each fusion feature is stored in the form of a two-dimensional matrix; and perform a second fusion on each fusion feature in each column of the two-dimensional matrix to obtain each target error feedback information, wherein the target error feedback information is used to characterize the change trend of each feedback value of each digital power supply.

[0061] In a fifth aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.

[0062] The above-mentioned digital power supply error feedback information generation method, digital power supply control method, system, device and computer equipment obtain the collected feedback values ​​of the digital power supply; store each feedback value in a two-dimensional space matrix in time order, and each feedback value between adjacent columns in the two-dimensional space matrix is ​​continuous in time; perform a first fusion on each feedback value in each row of the two-dimensional space matrix to obtain each fusion feature, and the fusion feature is used to characterize the instantaneous volatility of each feedback value of the digital power supply in the time domain, and each fusion feature is stored in the form of a two-dimensional matrix; perform a second fusion on each fusion feature in each column of the two-dimensional matrix to obtain each target error feedback information, and the target error feedback information is used to characterize the change trend of each feedback value of the digital power supply, so that the instantaneous volatility and change trend can be integrated, which can improve the accuracy and enhance the stability of the digital power supply circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0064] Figure 1 It is a schematic diagram of a digital loop PID control system in conventional technology;

[0065] Figure 2 is a schematic diagram of a digital power system in one embodiment;

[0066] Figure 3 A schematic diagram of a flow chart of a method for generating digital power supply error feedback information in one embodiment;

[0067] Figure 4is a schematic diagram of a two-dimensional space matrix conversion step in one embodiment;

[0068] Figure 5 A schematic diagram of processing steps of a data fusion module in one embodiment;

[0069] Figure 6 Graph showing simulation results when k1=0.5, k2=0.5 and k3=0.9 in one embodiment;

[0070] Figure 7 Graph showing simulation results when k1=0.5, k2=0.5 and k3=0.5 in one embodiment;

[0071] Figure 8 A simulation result diagram of an embodiment when k1=0.5, k2=0.5 and k3=0.1;

[0072] Fig. 9 A schematic diagram of a flow chart of a digital power supply control method in one embodiment;

[0073] Fig.10 is an execution diagram of a digital power supply control method in one embodiment;

[0074] Fig.11 is a flow chart of a digital power control method in another embodiment;

[0075] Fig.12 FIG. 4 is a structural block diagram of a digital power supply error feedback information generating device in one embodiment. DETAILED DESCRIPTION

[0076] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0077] like Figure 1 As shown, Figure 1This is a schematic diagram of a digital loop PID control system in traditional technology. In traditional technology, when a 5V voltage needs to be added to the DUT (chip under test) load, due to the presence of line loss in actual situations, the actual voltage applied to the DUT load is less than 5V. Therefore, the four-wire method is used for measurement. The actual voltage value on the DUT is collected through the HS channel and the LS channel, and after amplification and conditioning, it is sent to the ADC (analog-to-digital conversion). The FPGA collects this value for PID calculation, and the calculation result is sent to the DAC output. If the voltage applied to the DUT is less than 5V, the ADC collects the voltage signal and transmits it to the FPGA. The FPGA further increases the voltage applied to the DUT by increasing the input of the DAC. Similarly, if the voltage applied to the DUT is higher than 5V, the ADC collects the voltage signal and transmits it to the FPGA. The FPGA further reduces the voltage value applied to the DUT by reducing the input of the DAC (digital-to-analog conversion). In this way, the purpose of stabilizing the output voltage or current is achieved. However, using this traditional PID digital loop control method, the system output voltage takes a long time to stabilize and has low accuracy. In addition, for loads with different characteristics, such as capacitive or inductive loads, the output waveform of the power regulation loop will oscillate or the output settling time will be long.

[0078] In order to solve the above technical problems, a method for generating digital power supply error feedback information is provided, which can effectively improve the stability and accuracy of a digital power supply circuit. The method for generating digital power supply error feedback information provided in the embodiment of the present application can be applied to Figure 2 The digital power system shown.

[0079] The digital power supply system includes a sampling device, an FPGA and a DAC device, wherein the sampling device is used to sample the output of the digital power supply to obtain various feedback values; the FPGA is used to execute the digital power supply error feedback information generation method proposed in the present application to obtain various target error feedback information, and obtain control parameter values ​​based on the various target error feedback information and the target PID control algorithm; the DAC device is used to control the digital power supply based on the control parameter values.

[0080] The sampling device is Figure 1 The ADC and DAC devices in Figure 1 The DAC in this application only improves the method in the FPGA device. Therefore, the digital power supply error feedback information generation method proposed in this application can be encapsulated into an FPGA algorithm IP, with an external calling interface reserved, which can be flexibly and seamlessly integrated into any digital power supply architecture developed based on FPGA.

[0081] Continue to combine Figure 2As shown, the FPGA includes a data access module, a time domain conversion space domain module, a digital fusion operation module and an algorithm execution module, wherein the function of the data access module is mainly to receive the voltage and current signals collected by the acquisition device, and then send the collected data to the FIFO for data caching to match the processing speed of the post-stage algorithm; the time domain conversion space domain module mainly converts the voltage and current data of the time dimension sent by the data access module into a data table of a two-dimensional space domain of M*N (also called a two-dimensional space matrix) to match the post-stage algorithm operation rules; the data fusion operation module 1203 adopts a clever operation idea to fuse the collected voltage and current signals in the two-dimensional space dimension. Through algorithm operation, the voltage and current models that fluctuate with time can be estimated and speculated, the output of the digital power supply circuit can be predicted in advance, and the adjustment of the digital loop can be controlled in time, so that the stability of the system is improved. The final algorithm execution module is to inject the operation result of the data fusion operation module into the original digital power supply loop, that is, send it to the DAC device to achieve the final effect.

[0082] In an exemplary embodiment, Figure 3 As shown, a method for generating digital power supply error feedback information is provided, and the method is applied to Figure 1 The FPGA in the example is used as an example to illustrate, including the following steps 302 to 308. Among them:

[0083] S302: Acquire various feedback values ​​of the collected digital power supply.

[0084] The feedback values ​​of the digital power supply may be at least one of voltage or current. In the present application, the feedback values ​​of the digital power supply are collected by a collection device, for example, the feedback values ​​of the digital power supply are obtained by collecting through an ADC.

[0085] In some optional embodiments, acquiring each collected feedback value of the digital power supply includes: buffering each feedback value fed back by the digital power supply into a buffer; and acquiring each collected feedback value of the digital power supply from the buffer.

[0086] The buffer can be an asynchronous FIFO. The method in this application needs to adapt to a very complex and changeable digital power loop. There will be a mismatch between the acquisition speed of the feedback value and the speed of the algorithm operation. Therefore, adding a data access module can effectively solve the problem of direct speed matching between system feedback and algorithm operation. The specific implementation measure is to use an asynchronous FIFO to control the different clocks and storage depths of the read and write ends to match the data acquisition speed of the digital loop and the operation speed of the data fusion operation module. Here, taking the ADC data sampling speed of 1Mhz and the data processing speed of 100Khz as an example, the clock frequency of the FIFO write is 1Mhz, the data bit width is 9bit (the present invention is convenient for explanation and processing 9 data at a time), and the storage depth is 4096; the clock frequency of the FIFO read is 100Khz, the data bit width is 9bit, and the storage depth is 512. After the FIFO cache, it is sent to the time domain conversion space domain module for further data conversion.

[0087] S304: storing each feedback value in a two-dimensional space matrix in time sequence, wherein each feedback value between adjacent columns in the two-dimensional space matrix is ​​continuous in time.

[0088] Among them, the two-dimensional space matrix is ​​a two-dimensional matrix including rows and columns, which can be combined with Figure 4 As shown, each feedback value is stored in a two-dimensional space matrix in time order, from t1, t2, to t n The n feedback values ​​at each moment are stored in a two-dimensional data table of M*N. The feedback values ​​between adjacent columns in the two-dimensional space matrix are continuous in time, for example Figure 4 The feedback value 3.1 and the feedback value 3.3 in the first row are continuous in time, and the feedback value 3.3 and the feedback value 3 in the first row are continuous in time. That is to say, when storing each feedback value in the two-dimensional space matrix in time sequence, it includes: filling each feedback value in each row of the two-dimensional space matrix in time sequence, and after the previous row is filled, continue to fill the next row until each feedback value is stored in the two-dimensional space matrix.

[0089] In one of the optional embodiments, before storing each feedback value in the two-dimensional space matrix in chronological order, it also includes: determining a target number of rows and a target number of columns of the two-dimensional space matrix, wherein when the product of the target number of rows and the target number of columns is fixed, as the target number of rows increases or the target number of columns decreases, the real-time performance of the digital power supply is enhanced and the stability is weakened; or, when the product of the target number of rows and the target number of columns is fixed, as the target number of rows decreases or the target number of columns increases, the real-time performance of the digital power supply is weakened and the stability is enhanced.

[0090] Among them, stability is obtained through the waveform output by the digital power supply system, and the stability can be expressed based on the difference between the maximum peak and the bottom of the output waveform; real-time performance is expressed by the time corresponding to the first peak of the waveform output by the power supply system.

[0091] Among them, in this embodiment, when the product of the target number of rows M and the target number of columns N is fixed, the larger the target number of rows M of the two-dimensional space matrix and the smaller the target number of columns N, the shorter the time base of the advance prediction system and the worse the effect of predicting changes (that is, the stability is weakened), but the real-time performance of the system is stronger (that is, the real-time performance is enhanced); conversely, the smaller the target number of rows M of the data and the larger the target number of columns N, the longer the time base of the advance prediction system and the better the effect of predicting changes (that is, the stability is enhanced), but the real-time performance of the system is worse (that is, the real-time performance is weakened).

[0092] S306: Perform a first fusion on each feedback value in each row of the two-dimensional space matrix to obtain each fusion feature, the fusion feature is used to characterize the instantaneous volatility of each feedback value of the digital power supply in the time domain, and each fusion feature is stored in the form of a two-dimensional matrix.

[0093] S308: performing a second fusion on each fusion feature in each column of the two-dimensional matrix to obtain each target error feedback information, where the target error feedback information is used to characterize a change trend of each feedback value of the digital power supply.

[0094] The core idea of ​​the data fusion operation module is to combine four adjacent data in the data table (or four data with close distance in space, where every two data are in the same row and every two data are in the same column) into one data through formula operation. The fused data can physically characterize the volatility of the data in the time dimension, which is reflected in the digital power loop as the fluctuation law of the output voltage over time. Therefore, after the processing of the algorithm, the control quantity of the digital loop has the predictability of the output voltage, and the proportion of real-time and predictability can be adjusted according to actual needs to adapt to different circuit systems, thereby effectively improving the stability of the digital power loop.

[0095] Among them, due to the many unstable factors in the digital loop, the collected data will also follow the system fluctuations. There is a relationship between the feedback values ​​of the continuous collection moments in the two-dimensional space. The data after calculation according to certain rules can still be used as the system feedback value. The basic principle of this calculation rule is to take into account the system stability and response speed, and some parameters can be used to adjust the weight of stability and response speed in the system. Following this principle, the feedback values ​​in each row of the two-dimensional space matrix are first fused to obtain the fusion features. The data that meets these features has a short fluctuation period in the time domain system, which is not enough to be used to estimate the change trend of the feedback value of the entire system, but can effectively suppress the instantaneous rate of change.

[0096] Secondly, for the fusion features, the second fusion is performed on each fusion feature in each column to obtain the target error feedback information. The data that meets the secondary fusion features in the spatial domain has a long fluctuation period in the time domain system, which can be used to estimate the change trend of the feedback value of the entire system, so as to control the digital power loop adjustment in advance, effectively suppress the oscillation of the system output, and improve the output stability.

[0097] Among them, the first fusion is to fuse each row in the two-dimensional space matrix respectively, and the fusion process can be to fuse at least two feedback values ​​in each row, for example, it can be to fuse 2 feedback values, 3 feedback values, etc., which are not specifically limited here. In addition, the feedback values ​​participating in the first fusion can be adjacent or non-adjacent in time. In some optional embodiments, the fusion function relationship of the first fusion can be a first-order or other functional relationship, which is not specifically limited here. The first fusion in this application can be to fuse two feedback values ​​that are adjacent in time and space in the two-dimensional space matrix.

[0098] The second fusion is to fuse each column in the two-dimensional matrix respectively, wherein the fusion process may be to fuse at least two fusion features in each column, for example, 2 fusion features, 3 fusion features, etc. may be fused, which is not specifically limited here, and the fusion features participating in the second fusion may be adjacent or non-adjacent in time. In some optional embodiments, the fusion function relationship of the second fusion may be a first-order or other functional relationship, which is not specifically limited here. The second fusion in the present application may be to fuse two fusion features that are adjacent in space in the two-dimensional matrix.

[0099] In some optional embodiments, in the present application, two adjacent data in each row are first fused to obtain each fused feature, and then two adjacent fused features in each column are fused to obtain target error feedback information.

[0100] Among them, the function of the algorithm execution module is to apply the calculation results of the data fusion algorithm module to the digital power loop. The specific implementation method is to input the calculation results of the data fusion algorithm, that is, the target error feedback information, as the error feedback value of the digital loop algorithm execution module into the PID controller. The algorithm execution module still uses the PID of the traditional digital power control loop, and the controller parameter adjustment also uses the previous PID controller parameters. The final algorithm execution module output is applied to the DAC as the output of the digital loop, and finally the closed-loop control of the digital loop is realized.

[0101] The above-mentioned digital power supply error feedback information generation method obtains each feedback value of the collected digital power supply; stores each feedback value in a two-dimensional space matrix in time sequence, and each feedback value between adjacent columns in the two-dimensional space matrix is ​​continuous in time; performs a first fusion on each feedback value in each row of the two-dimensional space matrix to obtain each fusion feature, and the fusion feature is used to characterize the instantaneous volatility of each feedback value of the digital power supply in the time domain, and each fusion feature is stored in the form of a two-dimensional matrix; performs a second fusion on each fusion feature in each column of the two-dimensional matrix to obtain each target error feedback information, and the target error feedback information is used to characterize the change trend of each feedback value of the digital power supply, so that the instantaneous volatility and the change trend can be integrated, which can improve the accuracy and enhance the stability of the digital power supply circuit.

[0102] In one of the optional embodiments, determining the target number of rows and columns of the two-dimensional space matrix includes: determining the initial number of rows and the initial number of columns of the two-dimensional space matrix, storing each feedback value of the collected digital power supply into the initial two-dimensional space matrix, the number of rows of the initial two-dimensional space matrix is ​​the initial number of rows, and the number of columns is the initial number of columns; based on the initial two-dimensional space matrix and each feedback value of the digital power supply, synchronously adjusting the initial number of rows and the initial number of columns to obtain a reference number of rows and a reference number of columns; based on the reference number of rows and the reference number of columns and each feedback value of the digital power supply, adjusting the reference number of rows and the reference number of columns respectively to obtain the target number of rows and the target number of columns.

[0103] In the present application, the target number of rows and the target number of columns are predetermined. For an unknown new system, an initial two-dimensional space matrix can be initialized, for example, the initial number of rows and the initial number of columns of an initial two-dimensional space matrix are set. In some optional embodiments, the initial number of rows is equal to the initial number of columns. Optionally, M=N=10. In other embodiments, the initial number of rows and the initial number of columns can select other values, and then the characteristics of the system are verified to adjust the initial number of rows and the initial number of columns. For example, the collected feedback values ​​of the digital power supply are stored in the initial two-dimensional space matrix, and the initial number of rows and the initial number of columns are subsequently adjusted based on the feedback values ​​to obtain the target number of rows and the target number of columns.

[0104] In the present application, the adjustment of the initial number of rows and the initial number of columns includes a coarse adjustment process and a fine adjustment process, wherein the coarse adjustment process is to determine the approximate values ​​of the number of rows and the number of columns, which are also the reference number of rows and the reference number of columns mentioned above, and the fine adjustment process is to determine the precise values ​​of the number of rows and the number of columns, which are also the target number of rows and the target number of columns.

[0105] In some optional embodiments, the coarse adjustment process is a synchronous adjustment process, and the initial number of rows and the initial number of columns are synchronously adjusted based on the real-time and stability of the output of the digital power system, such as increasing or decreasing them simultaneously. The fine adjustment process is a separate adjustment process, and the reference number of rows or the reference number of columns are separately adjusted based on the real-time and stability of the output of the digital power system to obtain the target number of rows and the target number of columns.

[0106] In one of the optional embodiments, the coarse adjustment process, that is, adjusting the initial number of rows and the initial number of columns based on the initial two-dimensional space matrix and the feedback values ​​of the digital power supply to obtain the reference number of rows and the reference number of columns, includes: storing the feedback values ​​of the digital power supply in the initial two-dimensional space matrix; fusing the feedback values ​​in the initial two-dimensional space matrix to obtain initial error feedback information; controlling the digital power supply based on the initial error feedback information to obtain the initial output information of the digital power supply; when it is determined based on the initial output information that the stability of the digital power supply does not meet the preset stability condition, synchronously increasing the initial number of rows and the initial number of columns according to a first preset step size until the stability of the digital power supply meets the preset stability condition; when it is determined based on the initial output information that the real-time performance of the digital power supply does not meet the preset real-time performance condition, synchronously reducing the initial number of rows and the initial number of columns according to a second preset step size until the real-time performance of the digital power supply meets the preset real-time performance condition; based on the adjusted initial number of rows and initial number of columns, obtaining the reference number of rows and the reference number of columns of the two-dimensional space matrix.

[0107] In the present application, each feedback value of the digital power supply is first stored in an initial two-dimensional space matrix; each feedback value in the initial two-dimensional space matrix is ​​fused to obtain initial error feedback information; based on the initial error feedback information, the digital power supply is controlled to obtain initial output information of the digital power supply, and the initial output information is also a waveform, such as a voltage waveform diagram or a current waveform diagram.

[0108] Then, the initial stability and the initial real-time performance are obtained based on the initial output information, wherein the calculation of the initial real-time performance and the initial stability can refer to the definitions of real-time performance and stability above. When the initial stability does not meet the preset stability condition or the initial real-time performance does not meet the preset real-time performance condition, the number of rows and the number of columns are adjusted synchronously.

[0109] Specifically, if the initial real-time performance is too slow, that is, the initial real-time performance is less than the standard real-time performance in the preset real-time performance condition, the initial number of rows and the initial number of columns are reduced synchronously until the real-time performance of the digital power supply meets the preset real-time performance condition.

[0110] If the initial stability is poor, for example, the fluctuation is large, that is, the initial stability is greater than the standard stability in the preset stability condition, the initial number of rows and the initial number of columns are increased synchronously until the stability of the digital power supply meets the preset stability condition.

[0111] The preset real-time condition and the preset stability condition mentioned above may be set based on the system type or based on the needs, and are not specifically limited here.

[0112] In addition, the above-mentioned first preset step size is the step size determined for stability adjustment, and the second preset step size is the step size determined for real-time adjustment. The first preset step size may be equal to the second preset step size, or the first preset step size may not be equal to the second preset step size. No specific limitation is made on the first preset step size and the second preset step size herein.

[0113] In the above embodiment, if it is found that the system output response speed is too slow, the initial number of rows and the initial number of columns are gradually reduced; conversely, if it is found that the system output fluctuates greatly and the stability is poor, the initial number of rows and the initial number of columns are gradually increased.

[0114] In one of the optional embodiments, based on the reference number of rows and the reference number of columns and each feedback value of the digital power supply, the reference number of rows and the reference number of columns are adjusted to obtain the target number of rows and the target number of columns, including: receiving a control instruction, wherein when it is determined that the real-time performance needs to be enhanced, the control instruction includes increasing the reference number of rows or decreasing the reference number of columns; when it is determined that the real-time performance needs to be weakened, the control instruction includes decreasing the reference number of rows or increasing the reference number of columns; when it is determined that the stability needs to be enhanced, the control instruction includes decreasing the reference number of rows or increasing the reference number of columns; when it is determined that the stability needs to be weakened, the control instruction includes increasing the reference number of rows or decreasing the reference number of columns; adjusting the reference number of rows and the reference column based on the control instruction at least one of; determining an intermediate two-dimensional space matrix based on the adjusted reference number of rows and reference number of columns, and storing each feedback value of the digital power supply in the intermediate two-dimensional space matrix; fusing each feedback value in the intermediate two-dimensional space matrix to obtain reference error feedback information, and controlling the digital power supply based on the reference error feedback information to obtain reference output information of the digital power supply; in the case where it is determined based on the reference output information that the stability and real-time performance of the digital power supply system meet the corresponding first requirement, using the adjusted reference number of rows as the target number of rows, and the adjusted reference number of columns as the target number of columns; in the case where it is determined based on the reference output information that at least one of the stability and real-time performance of the digital power supply system does not meet the corresponding first requirement, continuing to execute the step of receiving the control instruction.

[0115] The control instruction is input by the user, and is used to adjust at least one of the reference row number and the reference column number. The user can determine the stability and real-time performance by observing the waveform, and then determine the adjustment strategy for the stability or real-time performance, such as at least one of the real-time performance to be enhanced, the real-time performance to be weakened, the stability to be enhanced, and the stability to be weakened. In this way, the corresponding control instruction can be determined based on the adjustment strategy.

[0116] Among them, when it is determined that the real-time performance needs to be enhanced, the control instruction includes at least one of increasing the number of reference rows or decreasing the number of reference columns; when it is determined that the real-time performance needs to be weakened, the control instruction includes at least one of decreasing the number of reference rows or increasing the number of reference columns; when it is determined that the stability needs to be enhanced, the control instruction includes at least one of decreasing the number of reference rows or increasing the number of reference columns; when it is determined that the stability needs to be weakened, the control instruction includes at least one of increasing the number of reference rows or decreasing the number of reference columns; at least one of the reference row number and the reference column number is adjusted based on the control instruction.

[0117] At least one of the reference number of rows and the reference number of columns is adjusted based on the control instruction, and then the intermediate two-dimensional space matrix is ​​determined based on the adjusted reference number of rows and the reference number of columns, and each feedback value of the digital power supply is stored in the intermediate two-dimensional space matrix, and a reference feedback value is obtained based on the two-dimensional space matrix, and then input into the digital power supply system, and then the reference output information is obtained, and the stability and real-time performance are recalculated based on the reference output information until the stability and real-time performance meet the requirements, and then the target number of rows and the target number of columns are obtained. If at least one of the stability and real-time performance does not meet the corresponding first requirement, the user can continue to adjust, that is, input the control instruction.

[0118] The first requirement is the real-time requirement and the stability requirement. The first requirement can be determined by the user based on needs and is not specifically limited here.

[0119] In the above embodiment, the approximate values ​​of M and N, that is, the reference number of rows and the reference number of columns, are determined in the coarse adjustment, and the specific values ​​of M and N are further refined and adjusted. If the system output response speed is to be faster, M is increased and N is decreased. Conversely, if the system output fluctuation is to be smaller and the stability is to be better, N is increased and M is decreased, where M and N are both ≥ 2 and are positive integers. In this way, M and N that meet the corresponding first requirement are obtained as the target number of rows and the target number of columns.

[0120] In one of the optional embodiments, a first fusion is performed on each feedback value in each row in a two-dimensional space matrix to obtain each fusion feature, including: obtaining a first fusion coefficient and a first fusion function relationship; based on the first fusion coefficient and the first fusion function relationship, a first fusion is performed on at least two feedback values ​​located in the same row in the two-dimensional space matrix to obtain each fusion feature; wherein at least two feedback values ​​are located in adjacent columns or non-adjacent columns.

[0121] Among them, this application mainly introduces the specific process of the first fusion, wherein the first fusion function relationship can be a first-order function or other, and the first fusion coefficient can also be pre-set. In one of the optional embodiments, the first fusion coefficient and the change rate of the fusion feature show an opposite trend. For example, the larger the first fusion coefficient, the smaller the change rate of the fusion feature, and the smaller the first fusion coefficient, the greater the change rate of the fusion feature.

[0122] The first fusion is to perform the first fusion on at least two feedback values ​​in the same row, wherein two feedback values ​​in the same row may be fused, or three feedback values ​​in the same row may be fused, or four feedback values ​​may be fused, etc., which are not specifically limited here. In addition, the at least two feedback values ​​may be adjacent or non-adjacent.

[0123] In one of the optional embodiments, based on the first fusion coefficient and the first fusion function relationship, a first fusion is performed on at least two feedback values ​​located in the same row in the two-dimensional space matrix to obtain each fusion feature, including: based on the first fusion coefficient and the first fusion function relationship, a first fusion is performed on every two feedback values ​​in the two-dimensional space matrix to obtain each fusion feature, wherein every two feedback values ​​are two feedback values ​​located in the same row and adjacent columns in the two-dimensional space matrix.

[0124] In order to reduce the amount of calculation, in this application, each two adjacent feedback values ​​in the two-dimensional space matrix are first fused to obtain each fusion feature. Each two feedback values ​​are located in the same row and adjacent columns in the two-dimensional space matrix.

[0125] For ease of understanding, combined Figure 5 As shown in the figure, a 3*3 two-dimensional space matrix is ​​used as an example. a, b…i represent the voltage values ​​of ADC2 corresponding to 9 consecutive sampling times from t1 to t9, and A, B, C, and D represent the voltage values ​​of ADC2 after data fusion operation. 11 ,t 12 ,t 13 ,t 14 The voltage values ​​at four moments will be sent to the algorithm execution module as the input of the PID controller, that is, the target error feedback information for subsequent adjustment.

[0126] For example, the feedback values ​​a and b at time t1 and t2, assuming that the fusion coefficient between the two feedback values ​​a and b is k1, and the value range of k1 is set to 0-1. The first fusion relationship satisfies the first-order function relationship, that is, ab=a*k1+b*(1-k1)①, and the change rate of two adjacent feedback values ​​in the time domain is controlled by adjusting the size of k1. The specific analysis is as follows: Figure 5 For example, a=3.1, b=3.3,

[0127] Take k1 = 0.1, the value after a and b are merged is ab = 3.1*0.1+3.3*(1-0.1) = 3.28;

[0128] Take k1 = 0.9, the value after a and b are merged is ab = 3.1*0.9+3.3*(1-0.9) = 3.12

[0129] Obviously, the larger k1 is, the smaller the rate of change of the feedback value is, and vice versa.

[0130] The feedback values ​​b and c at time t2 and t3 are processed in the same way. Assume that the fusion coefficient between the two feedback values ​​b and c is k2, and set the value range of k2 to 0-1. The first fusion relationship satisfies the first-order function relationship, that is, bc=b*k2+b*(1-k2)②, and the change rate of two adjacent feedback values ​​in the time domain is controlled by adjusting the size of k2. The specific analysis is as follows: Figure 5 For example, b=3.3, c=3.0,

[0131] Take k2 = 0.1, the value after the fusion of b and c is bc = 3.3*0.1+3.0*(1-0.1) = 3.03;

[0132] Take k2 = 0.9, the value after the fusion of b and c is bc = 3.3*0.9+3.0*(1-0.9) = 3.27

[0133] Obviously, the larger k2 is, the smaller the rate of change of the feedback value is, and vice versa.

[0134] Similarly, we can get:

[0135] The feedback values ​​d and e at time t4 and t5 are fused to form a value de = d*k1 + e*(1-k1)③;

[0136] The fused value of the feedback values ​​e and f at time t5 and t6 is ef=a*k2+b*(1-k2)④.

[0137] In one of the optional embodiments, a second fusion is performed on each fusion feature in each column of the two-dimensional matrix to obtain each target error feedback information, including: obtaining a second fusion coefficient and a second fusion function relationship; based on the second fusion coefficient and the second fusion function relationship, a second fusion is performed on at least two fusion features located in the same column in the two-dimensional matrix to obtain each target error feedback information; wherein at least two fusion features are located in adjacent rows or non-adjacent rows.

[0138] Among them, this application mainly introduces the specific process of the second fusion, wherein the second fusion function relationship can be a first-order function or other, and the second fusion coefficient can also be pre-set. In one optional embodiment, the second fusion coefficient and the stability of the digital power supply show the same change trend. For example, the larger the second fusion coefficient, the higher the stability of the digital power supply, and the smaller the second fusion coefficient, the lower the stability of the digital power supply.

[0139] The second fusion is to perform a second fusion on at least two fusion features in the same column, wherein two fusion features in the same column may be fused, or three fusion features in the same column may be fused, or four fusion features may be fused, etc., which are not specifically limited here. In addition, the at least two fusion features may be adjacent or non-adjacent.

[0140] In one of the optional embodiments, based on the second fusion coefficient and the second fusion function relationship, a second fusion is performed on at least two fusion features located in the same column in the two-dimensional matrix to obtain each target error feedback information, including: based on the second fusion coefficient and the second fusion function relationship, a second fusion is performed on every two fusion features in the two-dimensional matrix to obtain each target error feedback information, wherein every two fusion features are two feedback values ​​located in the same column and adjacent rows in the two-dimensional matrix.

[0141] In order to reduce the amount of calculation, in this application, each two adjacent fused features in the two-dimensional matrix are subjected to a second fusion to obtain each target error feedback information. Each two fused features are located in the same column and adjacent rows in the two-dimensional matrix.

[0142] The second fusion is the secondary fusion of the results of the fusion of data that are adjacent in time and space, that is, the secondary fusion of the fusion value ab at time t1 and t2 and the fusion value de at time t4 and t5 in space. Assume that the fusion coefficient between the two fusion features ab and de is k3, and set the value range of k3 to 0-1. The fusion relationship satisfies the first-order function relationship, that is, A=ab*k3+de*(1-k3)⑤. The fusion values ​​in the spatial domain at the four moments t1, t2, t4 and t5 are obtained, that is, the target error feedback information A, which will be used as the feedback value fed back to the algorithm execution module PID controller at time t11. Data A that meets the characteristics of secondary fusion in the spatial domain has a long fluctuation period in the time domain system, which can be used to estimate the change trend of the feedback value of the entire system, so that the digital power loop adjustment can be controlled in advance, effectively suppressing the oscillation of the system output and improving the output stability.

[0143] By adjusting the value of k3, the changing trend of the feedback value of the entire system can be controlled. The specific analysis is as follows: Figure 5Take a=3.1,b=3.3,d=2.9,e=2.8 as an example, take k1=0.1,k2=0.1, substitute into ①③, we can get:

[0144] ab=3.1*0.1+3.3*(1-0.1)=3.28;

[0145] de=2.9*0.1+2.8*(1-0.1)=2.81;

[0146] Substituting the above result into formula ⑤, we can get:

[0147] When k3 = 0.1, t 11 The spatial fusion value at this moment is A=3.28*0.1+2.81*(1-0.1)=2.857;

[0148] When k3 = 0.9, t 11 The spatial fusion value at this moment is A=3.28*0.9+2.81*(1-0.9)=3.233;

[0149] Obviously, the larger the k3 is, the stronger the suppression effect on the change trend of the feedback value of the entire system is, and the better the system stability is; conversely, the weaker the suppression effect on the change trend of the feedback value of the entire system is, and the faster the system responds.

[0150] Substituting the above formulas ① and ③ into formula ⑤, we can get:

[0151] A=[a*k1+b*(1-k1)]*k3+[d*k2+e*(1-k2)]*(1-k3) (1)

[0152] The rest 12 ,t 13 ,t 14 The spatial domain fusion values ​​B, C and D data at three moments can be obtained in the same way:

[0153] B=[b*k1+c*(1-k1)]*k3+[e*k2+f*(1-k2)]*(1-k3) (2)

[0154] C=[d*k1+e*(1-k1)]*k3+[g*k2+h*(1-k2)]*(1-k3) (3)

[0155] D=[e*k1+f*(1-k1)]*k3+[h*k2+i*(1-k2)]*(1-k3) (4)

[0156] The above four formulas can be used to calculate the continuous t 11 ,t 12 ,t 13 ,t 14The system feedback values ​​are input into the algorithm execution module at four moments.

[0157] For the four formulas mentioned above, just combine Figure 5 , the calculation and derivation of the data fusion value of the system at four consecutive moments are given, and the analysis is extended to the actual application scenario of the digital power loop as follows:

[0158] Assume that the digital loop continuously samples at equal intervals over a period of time t1, t2…t n There are n feedback values ​​a1, a2…a at a time n , these data construct an M*N two-dimensional data table, then M*N=n, where the specific value rules of M and N are detailed in the description of the time domain conversion space domain module 1202 above; the output after data fusion is recorded as A1, A2...A (M-1)*(N-1) By analogy with the above formula (1), we have:

[0159] A1=[a1*k1+a2*(1-k1)]*k3+[a N+1 *k2+a N+2 *(1-k2)]*(1-k3);

[0160] A2=[a2*k1+a3*(1-k1)]*k3+[a N+2 *k2+a N+3 *(1-k2)]*(1-k3);

[0161] A (M-1)*(N-1) =[a (M-1)*N-1 *k1+a (M-1)*N *(1-k1)]*k3+[a M*N-1 *k2+a M*N *(1-k2)]*(1-k3).

[0162] The actual simulation results of the above algorithm are as follows Figures 6 to 8 As shown in the figure, the original data on the left in the simulation experiment directly converts t1, t2…t n The feedback value at each moment is sent to the final output effect of the PID control digital loop; the right side indicates t1, t2…t n The feedback value at time Figure 2 The data fusion operation module in the process and the t after operation 11 ,t 12 ,…t 1n The fusion value at each moment is sent to the PID control digital loop for the final output effect.

[0163] In one of the optional embodiments, before performing a first fusion on each feedback value in each row in the two-dimensional space matrix to obtain each fusion feature, it also includes: setting the first fusion coefficient to a fixed initial value, and adjusting the second fusion coefficient based on at least one of the stability and real-time performance of the digital power supply, until the stability and real-time performance of the digital power supply meet the corresponding second requirement, and then obtaining the second fusion coefficient.

[0164] In this application, the first fusion coefficients k1 and k2 are generally taken as fixed initial values, which may be 0.5, and may also be other values ​​in other embodiments.

[0165] The value of the second fusion coefficient k3 needs to be adjusted according to user needs. If you want better system stability, the value of k3 should be as large as possible. If you want faster system response, the value of k3 should be as small as possible. The value ranges of the above three parameters k1, k2 and k3 are all between 0 and 1.

[0166] In an exemplary embodiment, Fig. 9 As shown, a digital power control method is provided, including the following steps 902 to 908. Among them:

[0167] S902: Sampling the output of the digital power supply by a sampling device to obtain various feedback values.

[0168] For convenience, combined Fig.10 As shown, Fig.10 1 is an execution diagram of a digital power supply control method in an embodiment, wherein the sampling devices are ADC1 and ACD2, which are used to sample the output of the digital power supply to obtain various feedback values, including current feedback values ​​and voltage feedback values.

[0169] S904: Obtain target error feedback information based on any one of the above digital power supply error feedback information generation methods.

[0170] The FPGA data access module is used to cache these feedback values, the time domain to space domain conversion module is used to read the cached feedback values ​​and convert the feedback values ​​into the space domain, and the subsequent data fusion module performs data fusion in the above manner to obtain the error feedback information of each target.

[0171] S906: Obtain control parameter values ​​based on each target error feedback information and the target PID control algorithm.

[0172] S908: Control the digital power supply based on the control parameter value.

[0173] The control parameter value is obtained based on the target error feedback information and the expected voltage or expected current. Finally, the digital power supply is controlled based on the control parameter value. In this way, only the logic code of the FPGA needs to be added, which will not affect the original digital loop architecture and does not need to readjust the PID parameters. This greatly improves the portability and operational flexibility of the solution and shortens the development cycle and cost.

[0174] To facilitate understanding, combine Fig.11 As shown, Fig.11 This is a flow chart of a digital power control method in another embodiment. In this embodiment, the digital power supply is powered on, the user sets the target voltage or current value of the digital power supply output, the PID controller calculates and outputs, the DAC converts it into an analog output, the back-stage power amplifier circuit processes it, and finally outputs it to the DUT load. The acquisition device can collect the voltage feedback value or current feedback value of the DUT load, and sample and store it in the FIFO data buffer. The time domain conversion space domain module is used to read these buffered feedback values ​​and convert the feedback values ​​into the space domain. The subsequent data fusion module performs data fusion in the manner described above to obtain each target error feedback information. The target feedback information is then applied to the PID controller to adjust the output of the PID controller. In this way, the voltage and current feedback values ​​collected from the high-speed ADC to the system are sent to the algorithm module for calculation and processing, and the calculation results processed by the algorithm are re-input into the PID controller as the new feedback amount of the system. Compared with the original system output, which has a large fluctuation, the system output fluctuation after algorithm processing will be greatly reduced, greatly improving the stability of the system.

[0175] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0176] Based on the same inventive concept, the embodiment of the present application also provides a digital power supply error feedback information generating device for implementing the digital power supply error feedback information generating method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more embodiments of the digital power supply error feedback information generating device provided below can refer to the limitations of the digital power supply error feedback information generating method above, and will not be repeated here.

[0177] In an exemplary embodiment, Fig.12 As shown, a digital power supply error feedback information generating device is provided, comprising: a data access module 1201, a time domain conversion space domain module 1202 and a data fusion operation module 1203, wherein:

[0178] The data access module 1201 is used to obtain various feedback values ​​of the collected digital power supply;

[0179] The time domain to space domain conversion module 1202 is used to store each feedback value in a two-dimensional space matrix in time sequence, and each feedback value in the two-dimensional space matrix is ​​continuous in time between adjacent columns;

[0180] The data fusion operation module 1203 is used to perform a first fusion on each feedback value in each row of the two-dimensional space matrix to obtain each fusion feature, and the fusion feature is used to characterize the instantaneous volatility of each feedback value of the digital power supply in the time domain, and each fusion feature is stored in the form of a two-dimensional matrix; and perform a second fusion on each fusion feature in each column of the two-dimensional matrix to obtain each target error feedback information, and the target error feedback information is used to characterize the change trend of each feedback value of each digital power supply.

[0181] In one of the optional embodiments, the data access module 1201 is specifically used to cache each feedback value of the digital power supply to a buffer; and obtain each collected feedback value of the digital power supply from the buffer.

[0182] In one of the optional embodiments, the above-mentioned time domain conversion space domain module 1202 is specifically used to determine the target number of rows and the target number of columns of the two-dimensional space matrix, wherein when the product of the target number of rows and the target number of columns is fixed, as the target number of rows increases or the target number of columns decreases, the real-time performance of the digital power supply is enhanced and the stability is weakened; or, when the product of the target number of rows and the target number of columns is fixed, as the target number of rows decreases or the target number of columns increases, the real-time performance of the digital power supply is weakened and the stability is enhanced.

[0183] In one of the optional embodiments, the above-mentioned time domain conversion spatial domain module 1202 is specifically used to determine the initial number of rows and the initial number of columns of the two-dimensional space matrix, and store the collected feedback values ​​of the digital power supply into the initial two-dimensional space matrix, the number of rows of the initial two-dimensional space matrix is ​​the initial number of rows, and the number of columns is the initial number of columns; based on the initial two-dimensional space matrix and the feedback values ​​of the digital power supply, the initial number of rows and the initial number of columns are synchronously adjusted to obtain a reference number of rows and a reference number of columns; based on the reference number of rows and the reference number of columns and the feedback values ​​of the digital power supply, the reference number of rows and the reference number of columns are adjusted respectively to obtain a target number of rows and a target number of columns.

[0184] In one of the optional embodiments, the above-mentioned time domain conversion space domain module 1202 is specifically used to store each feedback value of the digital power supply into an initial two-dimensional space matrix; fuse each feedback value in the initial two-dimensional space matrix to obtain initial error feedback information; control the digital power supply based on the initial error feedback information to obtain initial output information of the digital power supply; when it is determined based on the initial output information that the stability of the digital power supply does not meet the preset stability condition, synchronously increase the initial number of rows and the initial number of columns according to a first preset step size until the stability of the digital power supply meets the preset stability condition; when it is determined based on the initial output information that the real-time performance of the digital power supply does not meet the preset real-time performance condition, synchronously reduce the initial number of rows and the initial number of columns according to a second preset step size until the real-time performance of the digital power supply meets the preset real-time performance condition; based on the adjusted initial number of rows and initial number of columns, obtain the reference number of rows and reference number of columns of the two-dimensional space matrix.

[0185] In one of the optional embodiments, the above-mentioned time domain conversion space domain module 1202 is specifically used to receive control instructions, wherein when it is determined that the real-time performance needs to be enhanced, the control instruction includes at least one of increasing the number of reference rows or decreasing the number of reference columns; when it is determined that the real-time performance needs to be weakened, the control instruction includes at least one of decreasing the number of reference rows or increasing the number of reference columns; when it is determined that the stability needs to be enhanced, the control instruction includes at least one of decreasing the number of reference rows or increasing the number of reference columns; when it is determined that the stability needs to be weakened, the control instruction includes at least one of increasing the number of reference rows or decreasing the number of reference columns; at least one of the reference row number and the reference column number is adjusted based on the control instruction; based on the adjusted reference row number and the reference number of columns to determine an intermediate two-dimensional space matrix, and store each feedback value of the digital power supply in the intermediate two-dimensional space matrix; fuse each feedback value in the intermediate two-dimensional space matrix to obtain reference error feedback information, and control the digital power supply based on the reference error feedback information to obtain reference output information of the digital power supply; when it is determined based on the reference output information that the stability and real-time performance of the digital power supply system meet the corresponding first requirement, the adjusted reference number of rows is used as the target number of rows, and the adjusted reference number of columns is used as the target number of columns; when it is determined based on the reference output information that at least one of the stability and real-time performance of the digital power supply system does not meet the corresponding first requirement, continue to execute the step of receiving the control instruction.

[0186] In one of the optional embodiments, the above-mentioned data fusion module is specifically used to obtain a first fusion coefficient and a first fusion function relationship; based on the first fusion coefficient and the first fusion function relationship, a first fusion is performed on at least two feedback values ​​located in the same row in the two-dimensional space matrix to obtain each fusion feature; wherein at least two feedback values ​​are located in adjacent columns or non-adjacent columns.

[0187] In one of the optional embodiments, the above-mentioned data fusion module is specifically used to perform a first fusion on every two feedback values ​​in the two-dimensional space matrix based on a first fusion coefficient and a first fusion function relationship to obtain each fusion feature, wherein every two feedback values ​​are two feedback values ​​located in the same row and adjacent columns in the two-dimensional space matrix.

[0188] In one of the optional embodiments, the first fusion coefficient and the change rate of the fusion feature have opposite changing trends.

[0189] In one of the optional embodiments, the above-mentioned data fusion module is specifically used to obtain a second fusion coefficient and a second fusion function relationship; based on the second fusion coefficient and the second fusion function relationship, a second fusion is performed on at least two fusion features located in the same column in the two-dimensional matrix to obtain each target error feedback information; wherein at least two fusion features are located in adjacent rows or non-adjacent rows.

[0190] In one of the optional embodiments, the above-mentioned data fusion module is specifically used to perform a second fusion on every two fusion features in the two-dimensional matrix based on a second fusion coefficient and a second fusion function relationship to obtain each target error feedback information, wherein every two fusion features are two feedback values ​​located in the same column and adjacent rows in the two-dimensional matrix.

[0191] In one of the optional embodiments, the second fusion coefficient and the stability of the digital power supply present the same change trend.

[0192] In one of the optional embodiments, the data fusion module is specifically used to set the first fusion coefficient to a fixed initial value, and adjust the second fusion coefficient based on at least one of the stability and real-time performance of the digital power supply, until the stability and real-time performance of the digital power supply meet the corresponding second requirement, and then obtain the second fusion coefficient.

[0193] Each module in the above-mentioned digital power supply error feedback information generating device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0194] In an exemplary embodiment, a computer device is provided, which may be an FPGA. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a method for generating digital power supply error feedback information is implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0195] Those skilled in the art will appreciate that the limitations in the above paragraphs are merely partial structures related to the present application scheme, and do not constitute limitations on the computer device to which the present application scheme is applied. The specific computer device may include more or fewer components than those mentioned in the above paragraphs, or combine certain components, or have a different arrangement of components.

[0196] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0197] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0198] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0199] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0200] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0201] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for generating digital power supply error feedback information, characterized in that: The method comprises: Obtain each feedback value of the collected digital power supply; storing the feedback values ​​in a two-dimensional space matrix in time sequence, wherein the feedback values ​​between adjacent columns in the two-dimensional space matrix are continuous in time; Performing a first fusion on each feedback value in each row of the two-dimensional space matrix to obtain each fusion feature, wherein the fusion feature is used to characterize the instantaneous volatility of each feedback value of the digital power supply in the time domain, and each fusion feature is stored in the form of a two-dimensional matrix; A second fusion is performed on each fusion feature in each column of the two-dimensional matrix to obtain each target error feedback information, and the target error feedback information is used to characterize the change trend of each feedback value of the digital power supply.

2. The method according to claim 1, characterized in that The acquiring of each feedback value of the collected digital power supply includes: Cache each feedback value of the digital power supply feedback into a buffer; The collected feedback values ​​of the digital power supply are obtained from the buffer.

3. The method according to claim 1, characterized in that Before storing the feedback values ​​in the two-dimensional space matrix in time sequence, the method further includes: Determine a target number of rows and a target number of columns of a two-dimensional space matrix, wherein when the product of the target number of rows and the target number of columns is fixed, as the target number of rows increases or the target number of columns decreases, the real-time performance of the digital power supply is enhanced and the stability is weakened; or, When the product of the target number of rows and the target number of columns is fixed, as the target number of rows decreases or the target number of columns increases, the real-time performance of the digital power supply is weakened and the stability is enhanced.

4. The method according to claim 3, characterized in that Determining the target number of rows and the target number of columns of the two-dimensional space matrix includes: Determine the initial number of rows and the initial number of columns of the two-dimensional space matrix, and store each feedback value of the collected digital power supply into the initial two-dimensional space matrix, wherein the number of rows of the initial two-dimensional space matrix is ​​the initial number of rows, and the number of columns is the initial number of columns; Based on the initial two-dimensional space matrix and each feedback value of the digital power supply, the initial number of rows and the initial number of columns are synchronously adjusted to obtain a reference number of rows and a reference number of columns; Based on the reference number of rows and the reference number of columns and each feedback value of the digital power supply, the reference number of rows and the reference number of columns are adjusted respectively to obtain a target number of rows and a target number of columns.

5. The method according to claim 4, characterized in that The adjusting the initial number of rows and the initial number of columns based on the initial two-dimensional space matrix and each feedback value of the digital power supply to obtain a reference number of rows and a reference number of columns includes: Storing each feedback value of the digital power supply into the initial two-dimensional space matrix; Fusing the feedback values ​​in the initial two-dimensional space matrix to obtain initial error feedback information; Controlling the digital power supply based on the initial error feedback information to obtain initial output information of the digital power supply; In a case where it is determined based on the initial output information that the stability of the digital power supply does not meet a preset stability condition, the initial number of rows and the initial number of columns are synchronously increased according to a first preset step size until the stability of the digital power supply meets the preset stability condition; When it is determined based on the initial output information that the real-time performance of the digital power supply does not meet the preset real-time performance condition, the initial number of rows and the initial number of columns are synchronously reduced according to a second preset step length until the real-time performance of the digital power supply meets the preset real-time performance condition; Based on the adjusted initial number of rows and initial number of columns, a reference number of rows and a reference number of columns of the two-dimensional space matrix are obtained.

6. The method according to claim 4, characterized in that The adjusting the reference number of rows and the reference number of columns based on the reference number of rows and the reference number of columns and each feedback value of the digital power supply to obtain the target number of rows and the target number of columns includes: receiving a control instruction, wherein when it is determined that the real-time performance is to be enhanced, the control instruction includes at least one of increasing the number of reference rows or decreasing the number of reference columns; when it is determined that the real-time performance is to be weakened, the control instruction includes at least one of decreasing the number of reference rows or increasing the number of reference columns; when it is determined that the stability is to be enhanced, the control instruction includes at least one of decreasing the number of reference rows or increasing the number of reference columns; when it is determined that the stability is to be weakened, the control instruction includes at least one of increasing the number of reference rows or decreasing the number of reference columns; adjusting at least one of the reference number of rows and the reference number of columns based on the control instruction; Determine an intermediate two-dimensional space matrix based on the adjusted reference row number and reference column number, and store each feedback value of the digital power supply in the intermediate two-dimensional space matrix; fusing the feedback values ​​in the intermediate two-dimensional space matrix to obtain reference error feedback information, and controlling the digital power supply based on the reference error feedback information to obtain reference output information of the digital power supply; In a case where it is determined based on the reference output information that the stability and real-time performance of the digital power supply system meet the corresponding first requirement, taking the adjusted reference number of rows as the target number of rows and the adjusted reference number of columns as the target number of columns; When it is determined based on the reference output information that at least one of the stability and the real-time performance of the digital power supply system does not meet the corresponding first requirement, the step of receiving a control instruction is continued.

7. The method according to claim 1, characterized in that The first fusing of the feedback values ​​in each row of the two-dimensional space matrix to obtain fused features includes: Obtaining a first fusion coefficient and a first fusion function relationship; Based on the first fusion coefficient and the first fusion function relationship, a first fusion is performed on at least two feedback values ​​located in the same row in the two-dimensional space matrix to obtain various fusion features; wherein at least two feedback values ​​are located in adjacent columns or non-adjacent columns.

8. The method according to claim 7, characterized in that The first fusion is performed on at least two feedback values ​​located in the same row in the two-dimensional space matrix based on the first fusion coefficient and the first fusion function relationship to obtain each fusion feature, including: Based on the first fusion coefficient and the first fusion function relationship, a first fusion is performed on every two feedback values ​​in the two-dimensional space matrix to obtain each fusion feature, wherein every two feedback values ​​are two feedback values ​​located in the same row and adjacent columns in the two-dimensional space matrix.

9. The method according to claim 7, characterized in that: The first fusion coefficient and the change rate of the fusion feature present opposite change trends.

10. The method according to any one of claims 7 to 9, characterized in that: The performing a second fusion on each fusion feature in each column of the two-dimensional matrix to obtain each target error feedback information includes: Obtaining a second fusion coefficient and a second fusion function relationship; Based on the second fusion coefficient and the second fusion function relationship, a second fusion is performed on at least two of the fusion features located in the same column in the two-dimensional matrix to obtain each target error feedback information; wherein at least two of the fusion features are located in adjacent rows or non-adjacent rows.

11. The method according to claim 10, characterized in that The performing a second fusion on at least two fusion features located in the same column in the two-dimensional matrix based on the second fusion coefficient and the second fusion function relationship to obtain each target error feedback information includes: Based on the second fusion coefficient and the second fusion function relationship, a second fusion is performed on every two fusion features in the two-dimensional matrix to obtain each target error feedback information, wherein every two fusion features are two feedback values ​​located in the same column and adjacent rows in the two-dimensional matrix.

12. The method according to claim 10, characterized in that The second fusion coefficient and the stability of the digital power supply present the same change trend.

13. The method according to claim 10, characterized in that Before performing the first fusion on the feedback values ​​in each row of the two-dimensional space matrix to obtain the fusion features, the method further includes: The first fusion coefficient is set to a fixed initial value, and the second fusion coefficient is adjusted based on at least one of the stability and real-time performance of the digital power supply until the stability and real-time performance of the digital power supply meet the corresponding second requirement, thereby obtaining the second fusion coefficient.

14. A digital power supply control method, characterized in that: The method comprises: The output of the digital power supply is sampled by a sampling device to obtain various feedback values; Obtain each target error feedback information based on the digital power supply error feedback information generation method according to any one of claims 1 to 13; Obtaining a control parameter value based on each of the target error feedback information and a target PID control algorithm; The digital power supply is controlled based on the control parameter value.

15. A digital power supply system, characterized in that: The system comprises: A sampling device, used for sampling the output of the digital power supply to obtain various feedback values; FPGA, used to execute the digital power supply error feedback information generation method according to any one of claims 1 to 13 to obtain each target error feedback information, and obtain a control parameter value based on each target error feedback information and a target PID control algorithm; A DAC device is used to control the digital power supply based on the control parameter value.

16. A digital power supply error feedback information generating device, characterized in that: The device comprises: A data access module, used to obtain various feedback values ​​of the collected digital power supply; A time domain to space domain conversion module, used for storing each feedback value in a two-dimensional space matrix in time sequence, wherein each feedback value in the two-dimensional space matrix is ​​continuous in time between adjacent columns; The data fusion operation module is used to perform a first fusion on each feedback value in each row of the two-dimensional space matrix to obtain each fusion feature, wherein the fusion feature is used to characterize the instantaneous volatility of each feedback value of the digital power supply in the time domain, and each fusion feature is stored in the form of a two-dimensional matrix; and perform a second fusion on each fusion feature in each column of the two-dimensional matrix to obtain each target error feedback information, wherein the target error feedback information is used to characterize the change trend of each feedback value of each digital power supply.

17. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 13 are implemented.

Citation Information

Patent Citations

  • Data processing method and system for high-power charging energy

    CN116628616A

  • Intelligent control method of illumination driving power supply

    CN117222069A

  • Standard power supply module operation self-checking system based on data analysis

    CN117706413A

  • Fuel cell hydrothermal management control method and control system based on MPC algorithm

    CN117712407A

  • Fuel cell fault diagnosis method based on priori knowledge and multi-source information fusion

    CN118209869A