Data processing method and device, power supply circuit, chip, semiconductor component, electronic equipment and storage medium
By reading and digitizing the voltage signal of the electronic fuse, it is determined whether there is overcurrent protection caused by phase uneven current in the multi-phase electronic fuse power supply system, which solves the problem in the prior art inadequate accuracy and realizes the stability and maintainability of the system.
Patent Information
- Application Number
- CN202510570484.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-06
- Publication Date
- 2025-06-06
- Estimated Expiration
- 2045-05-06
AI Technical Summary
The existing single-phase electronic fuses cannot meet the high current demand, which makes it difficult to accurately judge the overcurrent protection caused by uneven phases in the multi-phase electronic fuse power supply system, affecting the stability of the system.
By reading the voltage analog signal from the IMON pin of the electronic fuse and performing analog-to-digital conversion, a voltage digital signal is generated. Based on these signals, whether there is overcurrent protection caused by uneven current between phases is determined, log data is generated and stored in the target storage area.
In the multi-phase electronic fuse power supply system, it is realized that whether overcurrent protection is caused by uneven phases is achieved, and the log data is supported to provide subsequent adjustment and maintenance.
Smart Images

Figure CN120105995A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing, and in particular to a data processing method, device, power supply circuit, chip, semiconductor component, electronic device and storage medium. Background Art
[0002] With the continuous development of the Internet industry in recent years, the performance of servers has been continuously improved and optimized, and products such as CPU (processor), GPU (graphics processor), and memory have also been updated and iterated. With the upgrade of major hardware, the current demand for power supply has also increased, which has made the power supply solution more complicated than before.
[0003] There are many types of power supply solutions used in servers, which can be selected according to the output voltage of the load. For example, the buck circuit on the motherboard can be powered by POL (Point of Load). When the output voltage of the load is consistent with the input voltage, EFUSE (electronic fuses) can generally be selected for power supply. For example, the power supply of the CPU, GPU, and memory in the server is completed by EFUSE.
[0004] The current single-phase EFUSE solution is generally around 50A according to its current carrying capacity. However, with the development of CPU, GPU, memory and other devices, the demand for current is increasing, and the single-phase EFUSE cannot be achieved. Therefore, the two-phase EFUSE must be used to increase the current carrying capacity. Ideally, the two-phase EFUSE is connected in parallel to share the current. However, due to factors such as current accuracy and layout, it is difficult to achieve complete current sharing between the two-phase EFUSE.
[0005] If the difference between the two-phase EFUSE currents is too large, one of the two-phase EFUSE will reach the overcurrent protection point of the single-phase EFUSE first, thereby triggering the overcurrent protection by mistake and causing power failure, endangering the normal operation of the system. However, there is no difference in the reaction results between the overcurrent protection triggered by the uneven current between phases and the overcurrent protection triggered by the uneven current between phases. How to determine whether the overcurrent protection is triggered by the uneven current between phases has become the key to quickly locate the problem. Summary of the invention
[0006] The present application provides a data processing method, device, power supply circuit, chip, semiconductor component, electronic device and storage medium.
[0007] On the one hand, an embodiment of the present application provides a data processing method, the method comprising: obtaining voltage simulation signals of at least two electronic fuses; Performing analog-to-digital conversion on the voltage analog signal to obtain a corresponding voltage digital signal; Based on the voltage digital signals of the at least two electronic fuses, it is determined that a target condition is met and at least one voltage digital signal exists that is greater than a preset voltage, then log data is generated, the target condition includes that at least two voltage digital signals differ by at least one order of magnitude, the preset voltage is determined based on the overcurrent protection voltage, and the log data includes at least a fault identifier, the fault identifier indicates that the at least two electronic fuses have uneven current between phases and trigger overcurrent protection; The log data is stored in a target storage area, where the target storage area at least includes a register.
[0008] Wherein, determining that the target condition is met based on the voltage digital signals of the at least two electronic fuses includes: Determine a difference between a first voltage digital signal and a second voltage digital signal, wherein the first voltage digital signal is a maximum value of the voltage digital signals and the second voltage digital signal is a minimum value of the voltage digital signals; If the difference is greater than a preset threshold, it is determined that the target condition is met.
[0009] Wherein, determining that the target condition is met based on the voltage digital signals of the at least two electronic fuses includes: Determine a difference between a first voltage digital signal and a second voltage digital signal, wherein the first voltage digital signal is a maximum value of the voltage digital signals and the second voltage digital signal is a minimum value of the voltage digital signals; determining an unbalance degree based on the difference and the voltage digital signals of the at least two electronic fuses; If the imbalance degree is greater than a preset threshold, it is determined that the target condition is met.
[0010] Wherein, determining the degree of imbalance based on the difference and the voltage digital signals of the at least two electronic fuses comprises: The degree of imbalance is determined based on the difference and the first voltage digital signal.
[0011] Wherein, determining the degree of imbalance based on the difference and the voltage digital signals of the at least two electronic fuses comprises: Determine a voltage digital signal average value based on the voltage digital signals of the at least two electronic fuses; The degree of imbalance is determined based on the difference and a mean value of the voltage digital signal.
[0012] Wherein, determining that the target condition is met based on the voltage digital signals of the at least two electronic fuses includes: Determine a difference between a first voltage digital signal and a second voltage digital signal, wherein the first voltage digital signal is a maximum value of the voltage digital signals and the second voltage digital signal is a minimum value of the voltage digital signals; Determine a voltage digital signal average value based on the voltage digital signals of the at least two electronic fuses; Determine an amplitude difference based on the difference and the voltage digital signal mean; determining a phase difference degree based on a maximum phase difference and a rated phase difference between phases of the at least two voltage digital signals; Determining a comprehensive difference based on the amplitude difference and the phase difference; If the comprehensive difference is greater than a preset threshold, it is determined that the target condition is met.
[0013] Wherein, determining that the target condition is met based on the voltage digital signals of the at least two electronic fuses includes: Determine a corresponding voltage digital signal vector based on the voltage digital signal; Determining a modulus value of a sum of voltage digital signal vectors of the at least two electronic fuses; Determine a voltage digital signal average value based on the voltage digital signals of the at least two electronic fuses; Determining a first ratio of the modulus value to a mean value of the voltage digital signal; If the first ratio is greater than a preset threshold, it is determined that the target condition is met.
[0014] The step of performing analog-to-digital conversion on the voltage analog signal to obtain a corresponding voltage digital signal includes: Get the reference voltage of the analog-to-digital converter; The voltage analog signal is converted into a voltage digital signal based on the reference voltage.
[0015] The converting of the voltage analog signal into a voltage digital signal based on the reference voltage comprises: determining a second ratio of the voltage analog signal to the reference voltage; A voltage digital signal corresponding to the voltage analog signal is determined based on the second ratio and the correction value.
[0016] Wherein, the method further comprises: Get the reference voltage of the analog-to-digital converter; determining a third ratio of the overcurrent protection voltage to the reference voltage; The preset voltage is determined based on the third ratio and the correction value.
[0017] Wherein, the method further comprises: Determining that the at least two electronic fuses have uneven current between phases and trigger overcurrent protection, and reading the log data from the target storage area; determining a reliability coefficient based on a first voltage digital signal, the log data also including the first voltage digital signal; The preset voltage is adjusted based on the reliability coefficient.
[0018] Wherein, the method further comprises: Determining that the at least two electronic fuses have uneven current between phases and trigger overcurrent protection, and obtaining the resistance value of the electronic fuse; Determining an overcurrent protection voltage of the electronic fuse based on the resistance value and the overcurrent protection current; The overcurrent protection voltage is converted into a preset voltage of the electronic fuse.
[0019] Wherein, after converting the overcurrent protection voltage into a preset voltage of the electronic fuse, the method further includes: Read the log data from the target storage area; Determine a corresponding adjustment coefficient based on a third voltage digital signal, the log data also includes the third voltage digital signal, and the third voltage digital signal is a voltage digital signal greater than a preset voltage; The preset voltage of the electronic fuse to which the third voltage digital signal belongs is adjusted based on the adjustment coefficient.
[0020] Before adjusting the preset voltage, the method further includes: Reading historical log data from the target storage area; If it is determined that the fault identifier indicates that the at least two electronic fuses have uneven current between phases and the number of historical log data that triggers overcurrent protection is greater than a preset number, the preset voltage is adjusted.
[0021] Another aspect of the present application provides a data processing device, the device comprising: An acquisition module, used for obtaining voltage analog signals of at least two electronic fuses; A calculation module, used for performing analog-to-digital conversion on the voltage analog signal to obtain a corresponding voltage digital signal; A processing module is used to determine based on the voltage digital signals of the at least two electronic fuses that a target condition is met and at least one voltage digital signal exists that is greater than a preset voltage, then generate log data, the target condition includes that at least two voltage digital signals differ by at least one order of magnitude, the preset voltage is determined based on an overcurrent protection voltage, the log data at least includes a fault identifier, the fault identifier indicates that the at least two electronic fuses have uneven current between phases and trigger overcurrent protection; and store the log data in a target storage area, the target storage area at least includes a register.
[0022] Another aspect of the present application provides a power supply circuit, the power supply circuit comprising: at least two electronic fuses, an analog-to-digital converter and a complex programmable logic device; the at least two electronic fuses are electrically connected to the analog-to-digital converter respectively; the analog-to-digital converter is electrically connected to the complex programmable logic device; The analog-to-digital converter obtains voltage analog signals of at least two electronic fuses; performs analog-to-digital conversion on the voltage analog signals to obtain corresponding voltage digital signals; and transmits the voltage digital signals of the at least two electronic fuses to the complex programmable logic device; The complex programmable logic device determines based on the voltage digital signals of the at least two electronic fuses that a target condition is met and at least one voltage digital signal exists that is greater than a preset voltage, then generates log data, the target condition includes that at least two voltage digital signals differ by at least one order of magnitude, the preset voltage is determined based on an overcurrent protection voltage, the log data includes at least a fault identifier, the fault identifier indicates that the at least two electronic fuses have uneven current between phases and trigger overcurrent protection; and stores the log data in a target storage area, the target storage area includes at least a register.
[0023] Another aspect of an embodiment of the present application provides a chip, the chip comprising a power supply circuit, and the power supply circuit can execute the data processing method.
[0024] Another aspect of an embodiment of the present application provides a semiconductor component, the semiconductor component includes a chip, the chip includes a power supply circuit, and the power supply circuit can execute the data processing method.
[0025] Another aspect of an embodiment of the present application provides an electronic device, the electronic device includes a semiconductor component, the semiconductor component includes a chip, the chip includes a power supply circuit, and the power supply circuit can execute the data processing method.
[0026] Another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the data processing method.
[0027] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description.
[0028] The embodiments of the present application have the following beneficial effects: The voltage analog signal (IMON value) of the electronic fuse is read from the IMON pin (voltage output pin) of the electronic fuse. The voltage analog signal is then converted into a voltage digital signal through an analog-to-digital converter. Thus, the state of the electronic fuse is monitored based on the voltage digital signal of the electronic fuse. When it is determined that there are at least two voltage digital signals that differ by at least one order of magnitude and at least one voltage digital signal is greater than a preset voltage, it is determined that the electronic fuse triggers overcurrent protection due to uneven current between phases. It can accurately determine whether the overcurrent protection in a system powered by a multi-phase electronic fuse is caused by uneven current between phases. After determining that the overcurrent protection is caused by uneven current between phases, log data is generated and stored in the target storage area to provide data support for subsequent adjustments and maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become easily understood. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-limiting manner, wherein: In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.
[0030] Figure 1 A flow chart showing a data processing method according to an embodiment of the present application is shown; Figure 2 A flow chart showing a data processing method according to another embodiment of the present application is shown; Figure 3 A flow chart showing a data processing method according to another embodiment of the present application is shown; Figure 4 A flow chart showing a data processing method according to another embodiment of the present application is shown; Figure 5 A flow chart showing a data processing method according to another embodiment of the present application is shown; Figure 6 A flow chart showing a data processing method according to another embodiment of the present application is shown; Figure 7 A flow chart showing a data processing method according to another embodiment of the present application is shown; Figure 8A flow chart showing a data processing method according to another embodiment of the present application is shown; Fig. 9 A flow chart showing a data processing method according to another embodiment of the present application is shown; Fig.10 A flow chart showing a data processing method according to another embodiment of the present application is shown; Fig.11 A flow chart showing a data processing method according to another embodiment of the present application is shown; Fig.12 A flow chart showing a data processing method according to another embodiment of the present application is shown; Fig.13 A flow chart showing a data processing method according to another embodiment of the present application is shown; Fig.14 A schematic diagram of the structure of a data processing device according to an embodiment of the present application is shown; Fig.15 A schematic structural diagram of a power supply circuit according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0031] In order to make the purpose, features, and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0032] In order to accurately identify overcurrent protection caused by uneven current between phases when power is supplied through two-phase, three-phase or even more-phase EFUSE, an embodiment of the present application provides a data processing method, such as Figure 1 As shown, the method includes: Step 101: obtaining voltage simulation signals of at least two electronic fuses.
[0033] Read the voltage analog signal of the electronic fuse from the IMON pin of the electronic fuse.
[0034] Step 102: Perform analog-to-digital conversion on the voltage analog signal to obtain a corresponding voltage digital signal.
[0035] Perform analog-to-digital conversion on the voltage analog signal and convert it into a voltage digital signal that can be processed by a computer.
[0036] Analog-to-digital conversion is usually achieved through an analog-to-digital converter.
[0037] In this embodiment, a successive approximation type, a parallel comparison type, an integral type, or other type of analog-to-digital converter may be used. In other implementations, any analog-to-digital converter that can realize analog-to-digital conversion may be used.
[0038] Step 103: based on the voltage digital signals of the at least two electronic fuses, it is determined that the target condition is met and at least one voltage digital signal exists that is greater than a preset voltage, and log data is generated, wherein the target condition includes that at least two voltage digital signals differ by at least one order of magnitude, the preset voltage is determined based on the overcurrent protection voltage, and the log data includes at least a fault indicator, and the fault indicator indicates that the at least two electronic fuses have uneven current between phases and trigger the overcurrent protection.
[0039] If there are at least two voltage digital signals that differ by at least one order of magnitude, it is determined that the target condition is met.
[0040] If the target condition is met and there is at least one voltage digital signal greater than a preset voltage, it is determined that the electronic fuse triggers overcurrent protection due to uneven current between phases, and log data is generated.
[0041] The preset voltage is determined based on the overcurrent protection voltage, and the overcurrent protection voltage is converted into a digital form to obtain a preset voltage that can be processed by a computer.
[0042] In this embodiment, at least two voltage digital signals differ by at least one order of magnitude, which means that the difference between the two voltage digital signals is relatively large, or the ratio formed by the two voltage digital signals is relatively large.
[0043] It can be determined that the difference between the two voltage digital signals is large by comparing the difference with a preset threshold. For example, the preset threshold is 500. Two voltage digital signals are obtained, which are 1000 and 2000 respectively, and the difference is 1000, which is greater than the preset threshold, and it is determined that the two voltage digital signals differ by one order of magnitude.
[0044] To determine whether the ratio between the two voltage digital signals is large, the larger voltage digital signal can be divided by the smaller voltage digital signal, and then the obtained ratio is compared with a preset threshold value. For example, the preset threshold value is 120%. If two voltage digital signals are obtained, which are 1300 and 1000 respectively, and the ratio is 130%, which is greater than the preset threshold value, it is determined that the two voltage digital signals differ by one order of magnitude.
[0045] It should be pointed out that, to determine whether the two voltage digital signals differ by at least one order of magnitude, other methods may be used, or other data may be added to the above two methods for comprehensive judgment, which may be set based on specific needs.
[0046] In this embodiment, the generated log data includes at least a fault indicator, which indicates that the at least two electronic fuses have uneven current between phases and trigger overcurrent protection. The fault indicator can be set in the form of a numerical value, a string, etc. For example, the fault indicator is set to a numerical value, and when the numerical value is 1, it indicates that the electronic fuse has uneven current between phases and triggers overcurrent protection. For another example, the fault indicator is set to a string, and when the string is "error", it indicates that the electronic fuse has uneven current between phases and triggers overcurrent protection.
[0047] It should be noted that the log data may also include other more data, such as the voltage digital signal of each electronic fuse, the timestamp when the fault occurs, the type of protection action (such as alarm and / or tripping) and other data.
[0048] Step 104: store the log data into a target storage area, where the target storage area at least includes a register.
[0049] The log data is stored in the target storage area, and the log data in the target storage area can be read later for adjustment or maintenance.
[0050] In this embodiment, the target storage area at least includes registers. In other implementations, the target storage area may also include a firmware storage area, a flash memory, or other storage areas.
[0051] In a system powered by multi-phase electronic fuses, the overcurrent protection voltage is usually set by dividing the overcurrent protection voltage by the number of electronic fuses to obtain the overcurrent protection voltage of each electronic fuse. However, since multi-phase electronic fuses may have uneven current between phases, the overall overcurrent protection voltage is not reached, but the voltage of the single-phase electronic fuse reaches the overcurrent protection voltage, thereby triggering the overcurrent protection. For example, when power is supplied by a two-phase electronic fuse, the overcurrent protection voltage is 2V, and the overcurrent protection voltage of the single-phase electronic fuse is 1V. The two-phase electronic fuse has uneven current between phases during the power supply process. The voltage of one electronic fuse is 0.5V, and the voltage of the other electronic fuse is 1.2V. The total voltage is 1.7V, which is less than the overall overcurrent protection voltage of 2V, but the electronic fuse with a voltage of 1.2V exceeds the overcurrent voltage of the single-phase electronic fuse by 1V, resulting in the triggering of overcurrent protection. However, since the systems currently powered by multi-phase electronic fuses all connect multi-phase electronic fuses in parallel, and there is no difference in the device response between the overcurrent protection caused by the uneven current between phases and the real overcurrent protection, it is currently impossible to accurately determine whether the overcurrent protection is caused by the uneven current between phases. In the above scheme, the voltage analog signal of the electronic fuse is read from the IMON pin of the electronic fuse. The voltage analog signal is then converted into a voltage digital signal through an analog-to-digital converter. Thus, the state of the electronic fuse is monitored based on the voltage digital signal of the electronic fuse. When it is determined that there are at least two voltage digital signals that differ by at least one order of magnitude and there is at least one voltage digital signal greater than the preset voltage, it is determined that the electronic fuse triggers the overcurrent protection due to the uneven current between phases. It can accurately determine whether the overcurrent protection in the system powered by multi-phase electronic fuses is caused by the uneven current between phases. After determining that the overcurrent protection is caused by the uneven current between phases, log data is generated and stored in the target storage area to provide data support for subsequent adjustment and maintenance.
[0052] In an example of the present application, a data processing method is also provided, such as Figure 2 As shown, the step of determining that the target condition is met based on the voltage digital signals of the at least two electronic fuses comprises: Step 201 : determining a difference between a first voltage digital signal and a second voltage digital signal, wherein the first voltage digital signal is a maximum value of the voltage digital signals and the second voltage digital signal is a minimum value of the voltage digital signals.
[0053] The largest voltage digital signal among the voltage digital signals is determined as the first voltage digital signal, and the smallest voltage digital signal among the voltage digital signals is determined as the second voltage digital signal. The difference between the first voltage digital signal and the second voltage digital signal is then calculated to obtain the maximum difference between all the voltage digital signals of the electronic fuses.
[0054] Step 202: If the difference is greater than a preset threshold, it is determined that the target condition is met.
[0055] For example, the preset threshold is set to 500. In a system powered by two-phase electronic fuses, the voltage digital signals of the two electronic fuses are obtained, which are 2048 and 3072 respectively. It is determined that the first voltage digital signal is 3072 and the second voltage digital signal is 2048, and the difference between the first voltage digital signal and the second voltage digital signal is calculated to be 1024, which is greater than the preset threshold 500. Therefore, it is determined that the target condition is met.
[0056] For another example, the preset threshold is set to 800. In a system powered by three-phase electronic fuses, the voltage digital signals of the three electronic fuses are obtained, which are 2048, 3072, and 3278, respectively. It is determined that the first voltage digital signal is 3278 and the second voltage digital signal is 2048, and the difference between the first voltage digital signal and the second voltage digital signal is calculated to be 1230, which is greater than the preset threshold 800. Therefore, it is determined that the target condition is met.
[0057] In the above scheme, by comparing the maximum difference between the voltage digital signals of the multi-phase electronic fuses with the preset threshold, it is possible to accurately determine whether there are two voltage digital signals that differ by at least one order of magnitude. By directly calculating the maximum difference between the voltage digital signals of each phase and comparing them with the preset threshold, complex algorithms are avoided, the amount of calculation is significantly reduced, and the requirements for hardware processing performance are reduced.
[0058] In an example of the present application, a data processing method is also provided, such as Figure 3 As shown, the step of determining that the target condition is met based on the voltage digital signals of the at least two electronic fuses comprises: Step 301 : determining a difference between a first voltage digital signal and a second voltage digital signal, wherein the first voltage digital signal is a maximum value of the voltage digital signals and the second voltage digital signal is a minimum value of the voltage digital signals.
[0059] Similarly, the largest voltage digital signal among the voltage digital signals is determined as the first voltage digital signal, and the smallest voltage digital signal among the voltage digital signals is determined as the second voltage digital signal. The difference between the first voltage digital signal and the second voltage digital signal is then calculated to obtain the maximum difference between all the voltage digital signals of the electronic fuses.
[0060] Step 302: Determine the degree of imbalance based on the difference and the voltage digital signals of the at least two electronic fuses.
[0061] In this embodiment, the mean, median, maximum, minimum, etc. can be determined based on the voltage digital signal of the electronic fuse, and then the difference is divided by at least one of the above values to determine the imbalance. In other implementations, other values determined based on the voltage digital signal of the electronic fuse can also be selected and can be set based on specific needs.
[0062] Step 303: If the imbalance degree is greater than a preset threshold, it is determined that the target condition is met.
[0063] In this embodiment, the imbalance degree and the preset threshold are both percentage values. For example, if the imbalance degree is 30%, the preset threshold is set to 20%.
[0064] In the above scheme, the maximum difference between the voltage digital signals of the multi-phase electronic fuses is divided by the value determined based on the voltage digital signal of the electronic fuse (such as the mean, median, maximum value, minimum value, etc.) to normalize, and the imbalance is obtained, so as to realize the adaptive adjustment of the dynamic range. The difference can be associated with the current working condition of the system, so that the preset threshold is automatically scaled with the voltage amplitude, avoiding the misjudgment or missed judgment caused by the sensitivity imbalance of the fixed threshold under different working conditions, and further improving the accuracy of determining whether there are two voltage digital signals that differ by at least one order of magnitude.
[0065] In an example of the present application, a data processing method is also provided, wherein determining the degree of imbalance based on the difference and the voltage digital signals of the at least two electronic fuses comprises: The degree of imbalance is determined based on the difference and the first voltage digital signal.
[0066] The degree of imbalance can be determined based on the following formula :
[0067] in, is the difference between the first voltage digital signal and the second voltage digital signal, is the first voltage digital signal.
[0068] In the above scheme, the maximum difference between the two voltage digital signals of the multi-phase electronic fuse is divided by the first voltage digital signal (i.e., the maximum voltage digital signal) for normalization to obtain the imbalance degree, thereby realizing adaptive adjustment of the dynamic range. The maximum difference is associated with the peak voltage, so that the imbalance degree can characterize the difference between the peak voltage and the maximum difference, further improving the accuracy of determining whether there are two voltage digital signals that differ by at least one order of magnitude.
[0069] In an example of the present application, a data processing method is also provided, such as Figure 4As shown, the determining of the imbalance degree based on the difference and the voltage digital signals of the at least two electronic fuses comprises: Step 401: determine a voltage digital signal average based on the voltage digital signals of the at least two electronic fuses.
[0070] Step 402: Determine the degree of imbalance based on the difference and the average value of the voltage digital signal.
[0071] The degree of imbalance can be determined based on the following formula :
[0072] in, is the difference between the first voltage digital signal and the second voltage digital signal, is the mean value of the voltage digital signal.
[0073] In the above scheme, the maximum difference between the two voltage digital signals of the multi-phase electronic fuse is divided by the first voltage digital signal (i.e., the maximum voltage digital signal) for normalization to obtain the imbalance degree, thereby realizing adaptive adjustment of the dynamic range. Since the mean value of the voltage digital signal reflects the overall operating point of each phase voltage, by associating the imbalance degree with the overall operating point of each phase voltage, the distribution deviation of each phase voltage can be captured more sensitively. At the same time, the mean value calculation has a smoothing effect on single-phase instantaneous noise or small anomalies, which can reduce the probability of false detection caused by local disturbances, and further improve the accuracy of determining whether there are two voltage digital signals that differ by at least one order of magnitude.
[0074] In an example of the present application, a data processing method is also provided, such as Figure 5 As shown, the step of determining that the target condition is met based on the voltage digital signals of the at least two electronic fuses comprises: Step 501 : determining a difference between a first voltage digital signal and a second voltage digital signal, wherein the first voltage digital signal is a maximum value of the voltage digital signals and the second voltage digital signal is a minimum value of the voltage digital signals.
[0075] Similarly, the largest voltage digital signal among the voltage digital signals is determined as the first voltage digital signal, and the smallest voltage digital signal among the voltage digital signals is determined as the second voltage digital signal. The difference between the first voltage digital signal and the second voltage digital signal is then calculated to obtain the maximum difference between all the voltage digital signals of the electronic fuses.
[0076] Step 502: Determine a voltage digital signal average based on the voltage digital signals of the at least two electronic fuses.
[0077] Step 503: determine the amplitude difference based on the difference and the mean value of the voltage digital signal.
[0078] The amplitude difference can be determined based on the following formula :
[0079] in, is the difference between the first voltage digital signal and the second voltage digital signal, is the mean value of the voltage digital signal.
[0080] The amplitude difference can characterize the distribution deviation of each phase voltage in the amplitude dimension.
[0081] Step 504 : determining a phase difference based on a maximum phase difference and a rated phase difference between the phases of the at least two voltage digital signals.
[0082] The voltage digital signal of the multi-phase electronic fuse can be synchronously sampled through an analog-to-digital converter, and then the sampled data is Fourier transformed to extract the phase angle of the main frequency component of each phase voltage digital signal. Then the phase difference between the two voltage digital signals is calculated, and the maximum phase difference is determined.
[0083] When power is supplied through a two-phase electronic fuse, the rated phase difference between the voltage digital signals of the two-phase electronic fuse is usually 90 degrees. When power is supplied through a three-phase electronic fuse, the rated phase difference between the voltage digital signals is usually 120 degrees.
[0084] Specifically, the phase difference can be determined based on the following formula :
[0085] in, is the maximum phase difference, is the rated phase difference.
[0086] The phase difference can characterize the distribution deviation of each phase voltage in the phase dimension.
[0087] Step 505: Determine a comprehensive difference based on the amplitude difference and the phase difference.
[0088] The comprehensive difference can be determined based on the following formula :
[0089] in, is the amplitude difference, is the phase difference.
[0090] Step 506: If the comprehensive difference is greater than a preset threshold, it is determined that the target condition is met.
[0091] For example, the preset threshold is set to 20%. In a system powered by a three-phase electronic fuse, the voltage digital signals of the three electronic fuses are obtained, which are 2000, 1900 and 1500 respectively. The first voltage digital signal is determined to be 2000, the second voltage digital signal is determined to be 1500, the difference between the first voltage digital signal and the second voltage digital signal is calculated to be 500, and the average of the voltage digital signals of the three electronic fuses is calculated to be 1800. It is determined that the amplitude difference is approximately 28%. The maximum phase difference is 15 degrees, and the rated phase difference is 120 degrees, then the phase difference is determined to be 12.5%. Based on the amplitude difference and the phase difference, the comprehensive difference is determined to be approximately 30.66%, which is greater than the preset threshold of 20%. Therefore, it is determined that the target condition is met.
[0092] In the above scheme, by integrating the differences in the two dimensions of voltage amplitude and phase difference into a comprehensive difference, the possible misjudgment or missed judgment problems of traditional single-dimensional criteria (such as only monitoring the amplitude difference) are avoided, and the accuracy and stability of determining whether there are two voltage digital signals that differ by at least one order of magnitude are further improved.
[0093] In an example of the present application, a data processing method is also provided, such as Figure 6 As shown, the step of determining that the target condition is met based on the voltage digital signals of the at least two electronic fuses comprises: Step 601: determine a corresponding voltage digital signal vector based on the voltage digital signal.
[0094] The voltage digital signal of the multi-phase electronic fuse can be synchronously sampled by an analog-to-digital converter, and then the sampled data is Fourier transformed to extract the phase angle of the main frequency component of each phase voltage digital signal. Then, the corresponding voltage digital signal vector is determined based on the voltage digital signal and the phase angle of the voltage digital signal.
[0095] Specifically, the voltage digital signal vector can be determined based on the following formula :
[0096] in, is a voltage digital signal, is the phase angle of the voltage digital signal, is a unit vector.
[0097] Step 602: Determine the modulus of the sum of the voltage digital signal vectors of the at least two electronic fuses.
[0098] Specifically, the modulus of the sum of the voltage digital signal vectors of the at least two electronic fuses may be determined based on the following formula: :
[0099] in, For the A voltage digital signal, For the The phase angle of a voltage digital signal, is a unit vector, is the number of electronic fuses.
[0100] Step 603: Determine a voltage digital signal average based on the voltage digital signals of the at least two electronic fuses.
[0101] Step 604: determine a first ratio of the modulus value to a mean value of the voltage digital signal.
[0102] Specifically, the first ratio can be determined based on the following formula :
[0103] in, is the modulus of the sum of the voltage digital signal vectors of all electronic fuses, is the mean value of the voltage digital signal.
[0104] Step 605: If the first ratio is greater than a preset threshold, it is determined that the target condition is met.
[0105] For example, the preset threshold is set to 20%. In a system powered by three-phase electronic fuses, the voltage digital signals of the three electronic fuses are obtained, which are 2000, 1900 and 1500 respectively, and the corresponding phase angles are 0 degrees, -120 degrees and 120 degrees respectively. Based on the voltage digital signals of the three electronic fuses and the corresponding phase angles, the voltage digital signal vectors of the three electronic fuses are determined to be , and Based on the voltage digital signal vectors of the three electronic fuses, it is determined that the modulus of the sum of the voltage digital signal vectors is approximately 458.1. Based on the voltage digital signals of the three electronic fuses, it is determined that the mean value of the voltage digital signal is 1800. It is determined that the first ratio is approximately 25.45%, which is greater than the preset threshold value of 20%, and therefore, it is determined that the target condition is met.
[0106] In the above scheme, by determining the voltage digital signal vector of the electronic fuse, then determining the modulus of the sum of the voltage digital signal vectors of all electronic fuses, then determining the first ratio based on the modulus and the mean of the voltage digital signal vector, and finally comparing the first ratio with the preset threshold value to determine whether the target condition is met. The vector and modulus not only imply the amplitude difference, but also incorporate the influence of the phase difference, and can simultaneously reflect the difference in the two dimensions of amplitude and phase. The use of vector and operation can suppress random noise interference and is more robust. The accuracy and stability of determining whether there are two voltage digital signals that differ by at least one order of magnitude are further improved.
[0107] In an example of the present application, a data processing method is also provided, such as Figure 7 As shown, the analog-to-digital conversion of the voltage analog signal to obtain a corresponding voltage digital signal includes: Step 701, obtaining a reference voltage of an analog-to-digital converter.
[0108] In this embodiment, the reference voltage of the analog-to-digital converter is generally set to 2.5V or 3.3V. In other implementations, the reference voltage may be set based on specific requirements.
[0109] Step 702: Convert the voltage analog signal into a voltage digital signal based on the reference voltage.
[0110] The analog-to-digital converter converts a voltage analog signal into a voltage digital signal based on a reference voltage.
[0111] The conversion method is determined based on the type of analog-to-digital converter. For example, an integrating analog-to-digital converter uses a reference voltage to measure the integration time of a voltage analog signal. The voltage analog signal is first converted into a time width by an integrator, then compared with the integration time of the reference voltage, and the time difference is recorded by a counter and output as a voltage digital signal. The analog-to-digital converter converts the difference between the voltage analog signal and the reference voltage into pulse density through a modulator, and then outputs a voltage digital signal through a digital filter.
[0112] In the above solution, the analog-to-digital converter converts the voltage analog signal into a voltage digital signal that can be processed by a computer through a reference voltage, so that it can be accurately determined whether there are two voltage digital signals that differ by at least one order of magnitude.
[0113] In an example of the present application, a data processing method is also provided, such as Figure 8 As shown, the converting the voltage analog signal into a voltage digital signal based on the reference voltage includes: Step 801: determine a second ratio between the voltage analog signal and the reference voltage.
[0114] Specifically, the second ratio can be determined based on the following formula :
[0115] in, is a voltage analog signal, is the reference voltage.
[0116] Step 802: Determine a voltage digital signal corresponding to the voltage analog signal based on the second ratio and the correction value.
[0117] Specifically, the voltage digital signal can be determined based on the following formula :
[0118] in, For the second ratio, is the correction value.
[0119] The correction value is determined based on the number of bits of the analog-to-digital converter. For example, the maximum range of a 12-bit analog-to-digital converter is , then the correction value is .
[0120] In the above scheme, the voltage analog signal is divided by the reference voltage to obtain the second ratio, and then the second ratio is multiplied by the correction value to obtain the corresponding voltage digital signal. Analog-to-digital conversion is achieved without the involvement of complex algorithms, which significantly reduces the performance requirements for hardware.
[0121] In an example of the present application, a data processing method is also provided, such as Fig. 9 As shown, the step of determining that the target condition is met based on the voltage digital signals of the at least two electronic fuses comprises: Step 901, obtaining a reference voltage of an analog-to-digital converter.
[0122] In this embodiment, the reference voltage of the analog-to-digital converter is generally set to 2.5V or 3.3V. In other implementations, the reference voltage may be set based on specific requirements.
[0123] Step 902: Determine a third ratio of the overcurrent protection voltage to the reference voltage.
[0124] The third ratio can be determined based on the following formula :
[0125] in, is the overcurrent protection voltage, is the reference voltage.
[0126] Step 903: Determine the preset voltage based on the third ratio and the correction value.
[0127] The preset voltage can be determined based on the following formula :
[0128] in, For the third ratio, is the correction value.
[0129] Likewise, the correction value is based on the number of bits of the ADC. For example, the maximum range of a 12-bit ADC is , then the correction value is .
[0130] In the above scheme, the third ratio is obtained by dividing the overcurrent protection voltage by the reference voltage, and then the third ratio is multiplied by the correction value to obtain the corresponding preset voltage. The analog-to-digital conversion of the overcurrent protection voltage is realized without the involvement of complex algorithms, which significantly reduces the performance requirements for hardware. And it can be accurately determined whether there is an electronic fuse that exceeds the overcurrent protection voltage based on the determined preset voltage.
[0131] In an example of the present application, a data processing method is also provided, such as Fig.10 As shown, the method also includes: Step 1001: determine that the phases of at least two electronic fuses are not current-balanced and overcurrent protection is triggered, and read the log data from the target storage area.
[0132] After determining that the electronic fuse triggers the overcurrent protection due to the uneven current between phases, the log data is read from the target access area.
[0133] In this embodiment, if the log data is stored in a register or a firmware storage area, the log data may be read from the register or the firmware storage area through I2C (a type of bus).
[0134] Step 1002 : determining a reliability coefficient based on a first voltage digital signal, wherein the log data further includes the first voltage digital signal.
[0135] In this embodiment, the log data also includes a first voltage digital signal.
[0136] The reliability coefficient can be determined based on the first voltage digital signal. The reliability coefficient can be determined by the ratio of the first voltage digital signal to the preset voltage. For example, if the first voltage digital signal is 2400 and the preset voltage is 2000, the reliability coefficient is 1.2.
[0137] The reliability coefficient can also be determined by a preset mapping relationship. For example, if the first voltage digital signal is set to be within the range of 1000-2000, the corresponding reliability coefficient is 1.1, and if the first voltage digital signal is within the range of 2000-3000, the corresponding reliability coefficient is 1.2.
[0138] Step 1003: adjust the preset voltage based on the reliability coefficient.
[0139] The reliability coefficient is multiplied by the preset voltage to obtain a new preset voltage, and the original preset voltage is adjusted.
[0140] In the above scheme, after determining that the overcurrent protection is triggered due to uneven current between phases, the original overcurrent protection voltage is multiplied by a reliability coefficient to increase the overcurrent protection voltage, thereby reducing the global overcurrent protection action caused by single-phase abnormalities and significantly improving the stability of the power supply system. By introducing the reliability coefficient determined by the first voltage digital signal, the preset voltage can be adjusted in real time to dynamically adapt to load fluctuations. This avoids the situation where the fixed threshold cannot adapt to different working conditions, and further improves the robustness of the power supply system.
[0141] In an example of the present application, a data processing method is also provided, such as Fig.11 As shown, the method also includes: Step 1101: determine that the phases of at least two electronic fuses are not current-balanced and overcurrent protection is triggered, and obtain the resistance value of the electronic fuse.
[0142] After determining that the electronic fuse triggers the overcurrent protection due to the uneven current between phases, the resistance value of each electronic fuse is obtained. Usually, the resistance value of the electronic fuse is stored in a register, and the resistance value of each electronic fuse can be obtained from the register through I2C.
[0143] Step 1102: determining an overcurrent protection voltage of the electronic fuse based on the resistance value and the overcurrent protection current.
[0144] The overcurrent protection voltage can be determined based on the following formula :
[0145] in, is the overcurrent protection current of the electronic fuse, is the resistance value of the electronic fuse.
[0146] Step 1103: convert the overcurrent protection voltage into a preset voltage of the electronic fuse.
[0147] For example, in a system powered by three-phase electronic fuses, the overcurrent protection currents of the three electronic fuses are 15A, 12A, and 18A, and the resistance values are 0.05 ohms, 0.06 ohms, and 0.04 ohms, respectively. The overcurrent protection voltages of the three electronic fuses are determined to be 0.75V, 0.72V, and 0.72V, respectively. The overcurrent protection voltage is converted to a preset voltage and set.
[0148] In the above scheme, the overcurrent protection voltage of the electronic fuse is set by multiplying the overcurrent protection current of the electronic fuse by the resistance value. Based on the different resistance values of the electronic fuses of each phase, the overcurrent protection voltage of the electronic fuses of each phase is accurately adapted, which can effectively avoid the problem of false triggering or protection failure caused by uneven current between phases.
[0149] In an example of the present application, a data processing method is also provided, such as Fig.12 As shown, after converting the overcurrent protection voltage into a preset voltage of the electronic fuse, the method further includes: Step 1201: Read the log data from the target storage area.
[0150] After the product of the overcurrent protection current and the resistance value of the electronic fuse is set as the overcurrent protection voltage of the electronic fuse, the log data is read from the target access area.
[0151] Likewise, in this embodiment, if the log data is stored in a register or a firmware storage area, the log data may be read from the register or the firmware storage area via I2C.
[0152] Step 1202: determine a corresponding adjustment coefficient based on a third voltage digital signal, wherein the log data further includes the third voltage digital signal, and the third voltage digital signal is a voltage digital signal greater than a preset voltage.
[0153] In this embodiment, the log data also includes a first voltage digital signal.
[0154] The third voltage digital signal is a voltage digital signal greater than a preset voltage, that is, a voltage digital signal of an electronic fuse whose voltage exceeds the overcurrent protection voltage. In a system powered by multi-phase electronic fuses, there may be a situation where the voltage of multiple electronic fuses exceeds the overcurrent protection voltage.
[0155] The corresponding adjustment coefficient is determined based on the third voltage digital signal. The adjustment coefficient can be determined by the ratio of the third voltage digital signal to the preset voltage. For example, if the third voltage digital signal is 2200 and the preset voltage is 2000, the reliability coefficient is 1.1.
[0156] The adjustment coefficient may also be determined by a preset mapping relationship. For example, if the third voltage digital signal is set to be within the range of 1000-2000, the corresponding reliability coefficient is 1.1, and if the third voltage digital signal is within the range of 2000-3000, the corresponding reliability coefficient is 1.2.
[0157] Step 1203: adjusting a preset voltage of the electronic fuse to which the third voltage digital signal belongs based on the adjustment coefficient.
[0158] It should be pointed out that it is not only possible to adjust the preset voltage of the third voltage digital signal, that is, the voltage of the electronic fuse whose voltage exceeds the overcurrent protection voltage. The preset voltage of the voltage digital signal of the electronic fuse whose voltage does not exceed the overcurrent protection voltage can also be adjusted. Similarly, the corresponding adjustment coefficient is determined based on the voltage digital signal, and then the preset voltage of the voltage digital signal is adjusted based on the adjustment coefficient. For example, the voltage digital signal of an electronic fuse is 1800, and the preset voltage is 2000. If it does not exceed the preset voltage, the adjustment coefficient is determined to be 0.9, then the new preset voltage is determined to be 1800 based on the adjustment coefficient and the preset voltage, and the original preset voltage is adjusted.
[0159] In the above scheme, after determining that the overcurrent protection is triggered due to uneven current between phases, the original overcurrent protection voltage is multiplied by an adjustment coefficient to increase the overcurrent protection voltage, thereby reducing the global overcurrent protection action caused by single-phase abnormalities and significantly improving the stability of the power supply system. By introducing the adjustment coefficient determined by the third voltage digital signal, the preset voltage can be adjusted in real time to dynamically adapt to load fluctuations. The situation in which the fixed threshold cannot adapt to different working conditions is avoided, and the robustness of the power supply system is further improved. And the preset voltage of all electronic fuses including those whose voltage exceeds the preset voltage and those whose voltage does not exceed the preset voltage can be further adjusted, so that the preset voltage of each electronic fuse triggering the overcurrent protection can be closer to the actual operating conditions, further reducing the situation of global overcurrent protection action caused by single-phase abnormalities, and further improving the stability of the power supply system.
[0160] In an example of the present application, a data processing method is also provided, such as Fig.13 As shown, before adjusting the preset voltage, the method further includes: Step 1301: read historical log data from the target storage area.
[0161] Before adjusting the preset voltage, the history log data is read from the target access area.
[0162] In this embodiment, if the historical log data is stored in a register or a firmware storage area, the historical log data may be read from the register or the firmware storage area via I2C.
[0163] Step 1302: It is determined that the fault identifier indicates that the at least two electronic fuses have uneven current between phases and the number of historical log data that triggers overcurrent protection is greater than a preset number, and the preset voltage is adjusted.
[0164] In this embodiment, the preset number can be set based on the number of historical log data. For example, if there are 100 historical log data in total, the preset number can be set to 80.
[0165] In the above scheme, by determining the number of historical log data that trigger overcurrent protection due to uneven current between phases, it is determined whether to adjust the preset voltage, which can identify the frequency of abnormal working conditions. When the number of events exceeds the preset number, the preset voltage is adjusted, further improving the stability of the power supply system.
[0166] In order to implement the above data processing method, Fig.14 As shown, an example of the present application provides a data processing device, including: The acquisition module 1401 is used to obtain voltage analog signals of at least two electronic fuses; The calculation module 1402 is used to perform analog-to-digital conversion on the voltage analog signal to obtain a corresponding voltage digital signal; The processing module 1403 is used to determine based on the voltage digital signals of the at least two electronic fuses that a target condition is met and at least one voltage digital signal exists that is greater than a preset voltage, and then generate log data, wherein the target condition includes that at least two voltage digital signals differ by at least one order of magnitude, the preset voltage is determined based on an overcurrent protection voltage, and the log data at least includes a fault identifier, wherein the fault identifier indicates that the at least two electronic fuses have uneven current between phases and trigger overcurrent protection; and store the log data in a target storage area, wherein the target storage area at least includes a register.
[0167] The calculation module 1402 is further used to determine a difference between a first voltage digital signal and a second voltage digital signal, wherein the first voltage digital signal is a maximum value among the voltage digital signals, and the second voltage digital signal is a minimum value among the voltage digital signals; The processing module 1403 is further configured to determine that the target condition is met if the difference is greater than a preset threshold.
[0168] The calculation module 1402 is further configured to determine a difference between a first voltage digital signal and a second voltage digital signal, wherein the first voltage digital signal is a maximum value among the voltage digital signals and the second voltage digital signal is a minimum value among the voltage digital signals; and determine an unbalance degree based on the difference and the voltage digital signals of the at least two electronic fuses; The processing module 1403 is further configured to determine that the target condition is met if the imbalance degree is greater than a preset threshold.
[0169] The calculation module 1402 is further configured to determine the degree of imbalance based on the difference and the first voltage digital signal.
[0170] The calculation module 1402 is further configured to determine a voltage digital signal average based on the voltage digital signals of the at least two electronic fuses; and determine the degree of imbalance based on the difference and the voltage digital signal average.
[0171] The calculation module 1402 is further configured to determine a difference between a first voltage digital signal and a second voltage digital signal, wherein the first voltage digital signal is a maximum value among the voltage digital signals, and the second voltage digital signal is a minimum value among the voltage digital signals; determine a mean value of the voltage digital signals based on the voltage digital signals of the at least two electronic fuses; determine an amplitude difference based on the difference and the mean value of the voltage digital signals; determine a phase difference based on a maximum phase difference and a rated phase difference between the phases of the at least two voltage digital signals; and determine a comprehensive difference based on the amplitude difference and the phase difference; The processing module 1403 is further configured to determine that the target condition is satisfied if the comprehensive difference is greater than a preset threshold.
[0172] The calculation module 1402 is further configured to determine a corresponding voltage digital signal vector based on the voltage digital signal; determine a modulus value of a sum of the voltage digital signal vectors of the at least two electronic fuses; determine a voltage digital signal mean value based on the voltage digital signals of the at least two electronic fuses; and determine a first ratio of the modulus value to the voltage digital signal mean value; The processing module 1403 is further configured to determine that the target condition is met if the first ratio is greater than a preset threshold.
[0173] Wherein, the acquisition module 1401 is also used to obtain the reference voltage of the analog-to-digital converter; The calculation module 1402 is further configured to convert the voltage analog signal into a voltage digital signal based on the reference voltage.
[0174] The calculation module 1402 is further configured to determine a second ratio between the voltage analog signal and the reference voltage; and determine a voltage digital signal corresponding to the voltage analog signal based on the second ratio and a correction value.
[0175] Wherein, the acquisition module 1401 is also used to obtain the reference voltage of the analog-to-digital converter; The calculation module 1402 is further configured to determine a third ratio between the overcurrent protection voltage and the reference voltage; and determine the preset voltage based on the third ratio and a correction value.
[0176] The processing module 1403 is further configured to determine that the at least two electronic fuses have uneven current between phases and trigger overcurrent protection, and read the log data from the target storage area; The calculation module 1402 is further configured to determine a reliability coefficient based on a first voltage digital signal, wherein the log data further includes the first voltage digital signal; The processing module 1403 is further configured to adjust the preset voltage based on the reliability coefficient.
[0177] The acquisition module 1401 is further used to determine that the phases of the at least two electronic fuses are not current-balanced and overcurrent protection is triggered, and obtain the resistance value of the electronic fuse; The calculation module 1402 is further used to determine the overcurrent protection voltage of the electronic fuse based on the resistance value and the overcurrent protection current; The processing module 1403 is further configured to convert the overcurrent protection voltage into a preset voltage of the electronic fuse.
[0178] Wherein, the processing module 1403 is further used to read the log data from the target storage area; The calculation module 1402 is further configured to determine a corresponding adjustment coefficient based on a third voltage digital signal, wherein the log data further includes the third voltage digital signal, and the third voltage digital signal is a voltage digital signal greater than a preset voltage; The processing module 1403 is further configured to adjust a preset voltage of the electronic fuse to which the third voltage digital signal belongs based on the adjustment coefficient.
[0179] Among them, the processing module 1403 is also used to read historical log data from the target storage area; and if it is determined that the number of historical log data indicating that the fault identifier indicates that the at least two electronic fuses have uneven current between phases and trigger overcurrent protection is greater than a preset number, then the preset voltage is adjusted.
[0180] The present application also provides a power supply circuit. Fig.15As shown, the power supply circuit 1500 includes: at least two electronic fuses 1501, an analog-to-digital converter 1502 and a complex programmable logic device 1503; the at least two electronic fuses 1501 are electrically connected to the analog-to-digital converter 1502 respectively; the analog-to-digital converter 1502 is electrically connected to the complex programmable logic device 1503; the at least two electronic fuses supply power to the electrical devices.
[0181] The power consumer can be the CPU, GPU or memory.
[0182] The analog-to-digital converter 1502 obtains voltage analog signals of at least two electronic fuses 1501; performs analog-to-digital conversion on the voltage analog signals to obtain corresponding voltage digital signals; and transmits the voltage digital signals of the at least two electronic fuses 1501 to the complex programmable logic device 1503; The complex programmable logic device 1503 determines based on the voltage digital signals of the at least two electronic fuses 1501 that the target conditions are met and there is at least one voltage digital signal greater than a preset voltage, then generates log data, the target conditions include the existence of at least two voltage digital signals that differ by at least one order of magnitude, the preset voltage is determined based on the overcurrent protection voltage, the log data at least includes a fault identifier, the fault identifier indicates that the at least two electronic fuses 1501 have uneven current between phases and triggered overcurrent protection; and stores the log data in a target storage area, the target storage area at least includes a register.
[0183] In which, the complex programmable logic device 1503 determines the difference between a first voltage digital signal and a second voltage digital signal, the first voltage digital signal is the maximum value of the voltage digital signals, and the second voltage digital signal is the minimum value of the voltage digital signals; and when the difference is greater than a preset threshold, it is determined that the target condition is met.
[0184] Among them, the complex programmable logic device 1503 determines the difference between a first voltage digital signal and a second voltage digital signal, the first voltage digital signal is the maximum value of the voltage digital signals, and the second voltage digital signal is the minimum value of the voltage digital signals; determines the imbalance based on the difference and the voltage digital signals of the at least two electronic fuses; and determines that the target condition is met when the imbalance is greater than a preset threshold.
[0185] The complex programmable logic device 1503 determines the degree of imbalance based on the difference and the first voltage digital signal.
[0186] The complex programmable logic device 1503 determines a mean value of the voltage digital signals based on the voltage digital signals of the at least two electronic fuses; and determines the degree of imbalance based on the difference and the mean value of the voltage digital signals.
[0187] The complex programmable logic device 1503 determines a difference between a first voltage digital signal and a second voltage digital signal, wherein the first voltage digital signal is the maximum value of the voltage digital signal and the second voltage digital signal is the minimum value of the voltage digital signal; determines a mean value of the voltage digital signal based on the voltage digital signals of the at least two electronic fuses; determines an amplitude difference based on the difference and the mean value of the voltage digital signal; determines a phase difference based on a maximum phase difference and a rated phase difference between the phases of the at least two voltage digital signals; determines a comprehensive difference based on the amplitude difference and the phase difference; and determines that the target condition is met when the comprehensive difference is greater than a preset threshold.
[0188] The complex programmable logic device 1503 determines a corresponding voltage digital signal vector based on the voltage digital signal; determines a modulus value of the sum of the voltage digital signal vectors of the at least two electronic fuses; determines a voltage digital signal mean value based on the voltage digital signals of the at least two electronic fuses; determines a first ratio of the modulus value to the voltage digital signal mean value; and determines that the target condition is met when the first ratio is greater than a preset threshold value.
[0189] The analog-to-digital converter 1502 obtains a reference voltage of the analog-to-digital converter 1502 ; and converts the voltage analog signal into a voltage digital signal based on the reference voltage.
[0190] The analog-to-digital converter 1502 determines a second ratio between the voltage analog signal and the reference voltage; and determines a voltage digital signal corresponding to the voltage analog signal based on the second ratio and a correction value.
[0191] The analog-to-digital converter 1502 obtains a reference voltage of the analog-to-digital converter 1502; determines a third ratio between the overcurrent protection voltage and the reference voltage; and determines the preset voltage based on the third ratio and a correction value.
[0192] Among them, the complex programmable logic device 1503 determines that the phases of at least two electronic fuses are unevenly currented and overcurrent protection is triggered, reads the log data from the target storage area; determines a reliability coefficient based on a first voltage digital signal, the log data also includes the first voltage digital signal; and adjusts the preset voltage based on the reliability coefficient.
[0193] Among them, the complex programmable logic device 1503 determines that the phases of at least two electronic fuses are unevenly currented and overcurrent protection is triggered, obtains the resistance value of the electronic fuse; determines the overcurrent protection voltage of the electronic fuse based on the resistance value and the overcurrent protection current; and converts the overcurrent protection voltage into a preset voltage of the electronic fuse.
[0194] Among them, the complex programmable logic device 1503 reads the log data from the target storage area; determines the corresponding adjustment coefficient based on the third voltage digital signal, the log data also includes the third voltage digital signal, and the third voltage digital signal is a voltage digital signal greater than a preset voltage; and adjusts the preset voltage of the electronic fuse to which the third voltage digital signal belongs based on the adjustment coefficient.
[0195] Among them, the complex programmable logic device 1503 reads historical log data from the target storage area; determines that the fault identifier represents that the phase-to-phase current of at least two electronic fuses is uneven and the number of historical log data that triggers overcurrent protection is greater than a preset number, then adjusts the preset voltage.
[0196] An embodiment of the present application also provides a chip, which includes a power supply circuit, and the power supply circuit can execute the data processing method provided by the embodiment of the present application.
[0197] An embodiment of the present application further provides a semiconductor component, which includes a chip. The chip includes a power supply circuit, and the power supply circuit can execute the data processing method provided by the embodiment of the present application.
[0198] In some optional embodiments, the semiconductor component may be a mainboard, a graphics card, a micro control unit, etc.
[0199] An embodiment of the present application also provides an electronic device, which includes a semiconductor component, the semiconductor component includes a chip, the chip includes a power supply circuit, and the power supply circuit can execute the data processing method provided by the embodiment of the present application.
[0200] An embodiment of the present application provides a computer-readable storage medium storing executable instructions, wherein a computer program is stored therein, and the computer program is used to execute the data processing method provided by the embodiment of the present application.
[0201] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or it may be various devices including one or any combination of the above memories.
[0202] In some embodiments, a computer program may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0203] By way of example, a computer program may be deployed to be executed on one computing device or on multiple computing devices at one site or on multiple computing devices distributed across multiple sites and interconnected by a communication network.
[0204] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), integrated systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0205] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0206] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0207] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0208] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0209] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0210] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0211] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0212] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A data processing method, characterized in that: The method comprises: obtaining voltage simulation signals of at least two electronic fuses; Performing analog-to-digital conversion on the voltage analog signal to obtain a corresponding voltage digital signal; Based on the voltage digital signals of the at least two electronic fuses, it is determined that a target condition is met and at least one voltage digital signal exists that is greater than a preset voltage, then log data is generated, wherein the target condition includes that at least two voltage digital signals differ by at least one order of magnitude, the preset voltage is determined based on the overcurrent protection voltage, and the log data includes at least a fault identifier, wherein the fault identifier indicates that the at least two electronic fuses have uneven current between phases and trigger overcurrent protection; The log data is stored in a target storage area, where the target storage area at least includes a register.
2. The method according to claim 1, characterized in that The determining that a target condition is met based on the voltage digital signals of the at least two electronic fuses comprises: Determine a difference between a first voltage digital signal and a second voltage digital signal, wherein the first voltage digital signal is a maximum value of the voltage digital signals and the second voltage digital signal is a minimum value of the voltage digital signals; If the difference is greater than a preset threshold, it is determined that the target condition is met.
3. The method according to claim 1, characterized in that The determining that a target condition is met based on the voltage digital signals of the at least two electronic fuses comprises: Determine a difference between a first voltage digital signal and a second voltage digital signal, wherein the first voltage digital signal is a maximum value of the voltage digital signals and the second voltage digital signal is a minimum value of the voltage digital signals; determining an unbalance degree based on the difference and the voltage digital signals of the at least two electronic fuses; If the imbalance degree is greater than a preset threshold, it is determined that the target condition is met.
4. The method according to claim 3, characterized in that: The step of determining the degree of imbalance based on the difference and the voltage digital signals of the at least two electronic fuses comprises: The degree of imbalance is determined based on the difference and the first voltage digital signal.
5. The method according to claim 3, characterized in that: The step of determining the degree of imbalance based on the difference and the voltage digital signals of the at least two electronic fuses comprises: Determine a voltage digital signal average value based on the voltage digital signals of the at least two electronic fuses; The degree of imbalance is determined based on the difference and a mean value of the voltage digital signal.
6. The method according to claim 1, characterized in that The determining that a target condition is met based on the voltage digital signals of the at least two electronic fuses comprises: Determine a difference between a first voltage digital signal and a second voltage digital signal, wherein the first voltage digital signal is a maximum value of the voltage digital signals and the second voltage digital signal is a minimum value of the voltage digital signals; Determine a voltage digital signal average value based on the voltage digital signals of the at least two electronic fuses; Determine an amplitude difference based on the difference and the voltage digital signal mean; determining a phase difference degree based on a maximum phase difference and a rated phase difference between phases of the at least two voltage digital signals; Determine a comprehensive difference based on the amplitude difference and the phase difference; If the comprehensive difference is greater than a preset threshold, it is determined that the target condition is met.
7. The method according to claim 1, characterized in that The determining that a target condition is met based on the voltage digital signals of the at least two electronic fuses comprises: Determine a corresponding voltage digital signal vector based on the voltage digital signal; Determining a modulus value of a sum of voltage digital signal vectors of the at least two electronic fuses; Determine a voltage digital signal average value based on the voltage digital signals of the at least two electronic fuses; Determining a first ratio of the modulus value to a mean value of the voltage digital signal; If the first ratio is greater than a preset threshold, it is determined that the target condition is met.
8. The method according to claim 1, characterized in that The step of performing analog-to-digital conversion on the voltage analog signal to obtain a corresponding voltage digital signal includes: Get the reference voltage of the analog-to-digital converter; The voltage analog signal is converted into a voltage digital signal based on the reference voltage.
9. The method according to claim 8, characterized in that The converting the voltage analog signal into a voltage digital signal based on the reference voltage comprises: determining a second ratio of the voltage analog signal to the reference voltage; A voltage digital signal corresponding to the voltage analog signal is determined based on the second ratio and the correction value.
10. The method according to claim 1, characterized in that The method further comprises: Get the reference voltage of the analog-to-digital converter; determining a third ratio of the overcurrent protection voltage to the reference voltage; The preset voltage is determined based on the third ratio and the correction value.
11. The method according to claim 1, characterized in that: The method further comprises: Determining that the at least two electronic fuses have uneven current between phases and trigger overcurrent protection, and reading the log data from the target storage area; determining a reliability coefficient based on a first voltage digital signal, the log data also including the first voltage digital signal; The preset voltage is adjusted based on the reliability coefficient.
12. The method according to claim 1, characterized in that The method further comprises: Determining that the at least two electronic fuses have uneven current between phases and trigger overcurrent protection, and obtaining the resistance value of the electronic fuse; Determining an overcurrent protection voltage of the electronic fuse based on the resistance value and the overcurrent protection current; The overcurrent protection voltage is converted into a preset voltage of the electronic fuse.
13. The method according to claim 12, characterized in that After converting the overcurrent protection voltage into a preset voltage of the electronic fuse, the method further includes: Read the log data from the target storage area; Determine a corresponding adjustment coefficient based on a third voltage digital signal, the log data also includes the third voltage digital signal, and the third voltage digital signal is a voltage digital signal greater than a preset voltage; The preset voltage of the electronic fuse to which the third voltage digital signal belongs is adjusted based on the adjustment coefficient.
14. The method according to claim 13, characterized in that Before adjusting the preset voltage, the method further includes: Reading historical log data from the target storage area; If it is determined that the fault identifier indicates that the at least two electronic fuses have uneven current between phases and the number of historical log data that triggers overcurrent protection is greater than a preset number, the preset voltage is adjusted.
15. A data processing device, characterized in that: The device comprises: An acquisition module, used for obtaining voltage analog signals of at least two electronic fuses; A calculation module, used for performing analog-to-digital conversion on the voltage analog signal to obtain a corresponding voltage digital signal; A processing module is used to determine based on the voltage digital signals of the at least two electronic fuses that a target condition is met and at least one voltage digital signal exists that is greater than a preset voltage, then generate log data, the target condition includes that at least two voltage digital signals differ by at least one order of magnitude, the preset voltage is determined based on an overcurrent protection voltage, the log data at least includes a fault identifier, the fault identifier indicates that the at least two electronic fuses have uneven current between phases and trigger overcurrent protection; and store the log data in a target storage area, the target storage area at least includes a register.
16. A power supply circuit, characterized in that: The power supply circuit comprises: at least two electronic fuses, an analog-to-digital converter and a complex programmable logic device; the at least two electronic fuses are electrically connected to the analog-to-digital converters respectively; the analog-to-digital converter is electrically connected to the complex programmable logic device; The analog-to-digital converter obtains voltage analog signals of at least two electronic fuses; performs analog-to-digital conversion on the voltage analog signals to obtain corresponding voltage digital signals; and transmits the voltage digital signals of the at least two electronic fuses to the complex programmable logic device; The complex programmable logic device determines based on the voltage digital signals of the at least two electronic fuses that a target condition is met and at least one voltage digital signal exists that is greater than a preset voltage, then generates log data, the target condition includes that at least two voltage digital signals differ by at least one order of magnitude, the preset voltage is determined based on an overcurrent protection voltage, the log data includes at least a fault identifier, the fault identifier indicates that the at least two electronic fuses have uneven current between phases and trigger overcurrent protection; and stores the log data in a target storage area, the target storage area includes at least a register.
17. A chip, characterized in that: The chip includes the power supply circuit according to claim 16.
18. A semiconductor component, characterized in that: The semiconductor component comprises the chip according to claim 17.
19. An electronic device, characterized in that: The electronic device comprises the semiconductor component according to claim 18.
20. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the data processing method according to any one of claims 1 to 14.
Citation Information
Patent Citations
System and method for enhancing over-current protection reliability and server
CN113451990A
Line protection method and device for coping with high-resistance grounding fault of power system
CN115421066A
Application program fault analysis method and device, electronic equipment and storage medium
CN116738184A
Fault protection method, device and equipment for phase-shifting transformer and medium
CN118889332A
Digital-type voltage balanced relay
JP1996070532A