Method for fast detection of ups backend load type and related device

CN119087284BActive Publication Date: 2026-08-21SHANGYU (SHENZHEN) TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411198210.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2026-08-21
Estimated Expiration
2044-08-29

AI Technical Summary

Technical Problem

在实时环境中迅速响应负载变化,经常需要快速判断负载类型,从而使UPS及时作出相应操作调整来减少或者避免掉不同类型负载对UPS本身和电网产生的不利影响, 但是现有的高精度测量工具的测量过程往往耗时且复杂,很难快速准确侦测出后端负载是属于线性负载还是非线性负载

Benefits of technology

[0015] In summary, in the embodiments of this application, the UPS output current waveform within the current cycle is used to first determine whether a target load is connected to the UPS. If the target load is connected, the instantaneous current value data for a preset number of times is obtained based on the UPS output current waveform to obtain a set of instantaneous current values. This set of instantaneous current values ​​is then grouped to obtain a grouped data set. The slope between adjacent data points in each group is then calculated to obtain a slope set corresponding to each group. The load type of the UPS is determined based on the slope set corresponding to each group. By directly analyzing the UPS output current waveform and the sampled instantaneous current value data, and using the grouped data set to calculate the slope between adjacent data points, the characteristics of the load type are reflected more accurately, achieving rapid and accurate identification of the load type at the UPS backend.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119087284B_ABST
    Figure CN119087284B_ABST
Patent Text Reader

Abstract

The application provides a method for quickly detecting a UPS rear-end load type and related equipment, which can quickly and accurately identify the UPS rear-end load type. The method comprises the following steps: acquiring a UPS output current waveform in a current period; judging whether a target load is connected to the UPS rear end according to the UPS output current waveform, wherein the target load is a linear load (R load) or a nonlinear load (RCD load); if the target load is connected to the UPS rear end, acquiring current instantaneous value data of a preset number of times based on the UPS output current waveform to obtain a current instantaneous value set; grouping the current instantaneous value set to obtain a grouped data set; calculating the slope between adjacent data points in each group in the grouped data set to obtain a slope set corresponding to each group; and determining the load type of the UPS rear end according to the slope set corresponding to each group.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electrical and power control, and in particular to a method and related equipment for rapidly detecting the type of load at the back end of a UPS. Background Technology

[0002] Currently, UPS (Uninterruptible Power Supply) plays a crucial role in the UPS industry. It not only serves as a reliable backup power source, ensuring continuous power supply during grid failures, but also bears the heavy responsibility of reducing grid interference and protecting the normal operation of electrical equipment. In the widespread application of UPS, linear and nonlinear loads are two major forms of power consumption. The characteristics and behavior of these loads have a profound impact on the stable operation of the UPS system and the overall health of the power grid. Linear loads, with their stable current-voltage relationship, generally do not cause significant waveform distortion or harmonic pollution to the UPS, making them a more ideal load type for UPS systems.

[0003] However, with the development of technology, nonlinear loads such as computers, frequency converters, and LED lighting equipment are becoming increasingly common. The harmonic currents they generate not only affect the output waveform quality of the UPS but may also shorten the UPS equipment's lifespan and even cause instability to the power grid. Currently, determining the load type mainly relies on high-precision measurement tools, such as oscilloscopes and current clamps. These tools distinguish between linear and nonlinear loads by deeply analyzing the waveform characteristics of the output current (such as linearity and phase angle). In real-time environments, rapid response to load changes often requires quick determination of the load type, enabling the UPS to make timely adjustments to reduce or avoid the adverse effects of different load types on the UPS itself and the power grid. However, the measurement process of existing high-precision measurement tools is often time-consuming and complex, making it difficult to quickly and accurately detect whether the downstream load is linear or nonlinear. Summary of the Invention

[0004] In view of the above, this application provides a method for quickly detecting the load type of a UPS back-end, which can accurately and quickly determine whether the load type of the UPS back-end is a linear load or a non-linear load, so that the UPS can make corresponding operational adjustments in a timely manner.

[0005] A first aspect of this application provides a method for quickly detecting the load type of a UPS back-end system, the method comprising: Obtain the UPS output current waveform within the current cycle, and determine whether there is a target load connected to the UPS back end based on the UPS output current waveform. The target load is either a linear load or a non-linear load. If the target load is connected to the back end of the UPS, then based on the output current waveform of the UPS, the instantaneous current value data of a preset number of times is obtained to obtain a set of instantaneous current values; The set of instantaneous current values ​​is grouped to obtain a grouped data set; Calculate the slope between adjacent data points in each group of the grouped data set to obtain the slope set corresponding to each group; The load type of the UPS backend is determined based on the slope set corresponding to each group.

[0006] Optionally, grouping the set of instantaneous current values ​​to obtain a grouped data set includes: Place the UPS output current waveform in the target coordinate system, where the X-axis represents the number of samples and the Y-axis represents the current value. Determine the set of zero points in the UPS output current waveform that intersect with the X-axis; The data set corresponding to each zero point in the zero point set is obtained from the set of instantaneous current values ​​to obtain the grouped data set, wherein the data set corresponding to each zero point includes multiple data points.

[0007] Optionally, determining the load type of the UPS backend based on the slope set corresponding to each group includes: The fluctuation of the zero point corresponding to the target group is determined based on the slope between any two adjacent data points in the target slope set. The target group is any group in the group data set, and the target slope set is the slope set corresponding to the target group. If the fluctuation is described as fluctuating, then the load at the back end of the UPS is determined to be a linear load. If the fluctuation is stable, then the load at the back end of the UPS is determined to be a non-linear load.

[0008] Optionally, determining the fluctuation of the zero point corresponding to the target group based on the slope between any two adjacent data points in the target slope set includes: The slopes between any two adjacent data points in the target slope set are traversed to determine the number of slopes in each group that are not in the target interval. The target stable measurement value is determined based on the number of slopes in each group whose slope is not within the target interval; If the target stable measurement value is less than a predetermined threshold, the fluctuation situation is determined to be stable. If the target stable measurement value is greater than or equal to the predetermined threshold, then the fluctuation is determined to be a fluctuation.

[0009] Optionally, determining the target stable measurement value based on the number of slopes in each group whose slope is not within the target interval includes: The initial stable measurement value is determined based on the predetermined threshold. Determine the number of measurement groups in the target slope set, wherein the number of slopes in the measurement groups that are not in the target interval is greater than or equal to a target preset value; The target stable measurement value is determined based on the number of measurement groups and the initial stable measurement value.

[0010] Optionally, determining whether a load is connected to the UPS based on the UPS output current waveform includes: Obtain all Y values ​​in the UPS output current waveform; Determine whether all Y values ​​are close to 0. If so, determine that the target load is not connected to the UPS backend. If not, then it is determined that the target load is connected to the UPS backend.

[0011] Optionally, the method for quickly detecting the load type of the UPS back-end also includes: If the target load is connected to the back end of the UPS, the output current waveform of the UPS is processed based on the Fast Fourier Transform to obtain the target spectrum diagram of the load at the back end of the UPS. The load type of the UPS backend is determined based on the target spectrum diagram.

[0012] A second aspect of this application provides a device for quickly detecting the load at the back end of a UPS, the device comprising: The acquisition module is used to acquire the UPS output current waveform within the current cycle; The judgment module is used to determine whether a target load is connected to the back end of the UPS based on the UPS output current waveform. The target load is either a linear load or a non-linear load. The acquisition module is further configured to acquire instantaneous current value data a preset number of times based on the UPS output current waveform, thereby obtaining a set of instantaneous current values; The grouping module is used to group the instantaneous current value set to obtain a grouped data set; The calculation module is used to calculate the slope between adjacent data points in each group of the grouped data set, so as to obtain the slope set corresponding to each group; The judgment module is further configured to determine the load type of the UPS backend based on the slope set corresponding to each group.

[0013] A third aspect of this application provides an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method for quickly detecting the load type of a UPS back-end system.

[0014] A fourth aspect of this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method for rapidly detecting the load type of a UPS back-end system.

[0015] In summary, in the embodiments of this application, the UPS output current waveform within the current cycle is used to first determine whether a target load is connected to the UPS. If the target load is connected, the instantaneous current value data for a preset number of times is obtained based on the UPS output current waveform to obtain a set of instantaneous current values. This set of instantaneous current values ​​is then grouped to obtain a grouped data set. The slope between adjacent data points in each group is then calculated to obtain a slope set corresponding to each group. The load type of the UPS is determined based on the slope set corresponding to each group. By directly analyzing the UPS output current waveform and the sampled instantaneous current value data, and using the grouped data set to calculate the slope between adjacent data points, the characteristics of the load type are reflected more accurately, achieving rapid and accurate identification of the load type at the UPS backend. Attached Figure Description

[0016] Figure 1 This is a flowchart illustrating a method for rapidly detecting the load type of a UPS back-end, as shown in an embodiment of this application. Figure 2 This is a schematic diagram of the output current waveform when the UPS back-end load is a linear load, as shown in the embodiments of this application; Figure 3 This is a schematic diagram of the output current waveform when the back-end load of the UPS is a nonlinear load, as shown in the embodiments of this application; Figure 4 This is a schematic diagram of the output current waveform obtained by the device for quickly detecting the load type of the UPS back-end, as shown in the embodiments of this application; Figure 5 This is a schematic diagram of a virtual structure for quickly detecting the back-end load device of a UPS, as shown in an embodiment of this application. Figure 6 This is a schematic diagram of the structure of an electronic device shown in an embodiment of this application. Detailed Implementation

[0017] The terminology used in the following embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to include the plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in this application refers to any or all possible combinations including one or more of the listed items.

[0018] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.

[0019] The following describes the method for quickly detecting the load type of a UPS back-end provided in this application from the perspective of a device for quickly detecting the load type of a UPS back-end. This device can be a server or a service unit within a server, and is not specifically limited.

[0020] Reference Figure 1 As shown, Figure 1 The flowchart illustrates a method for quickly detecting the load type of a UPS back-end system, which is provided as an example of an implementation of this application. The method includes the following steps.

[0021] S11, Obtain the UPS output current waveform in the current cycle, and determine whether there is a target load connected to the UPS back end based on the UPS output current waveform. The target load is a linear load or a non-linear load. The UPS output current waveform is a graph showing how the UPS output current changes over time during power supply. Different UPS types and load conditions result in different output current waveforms, such as sine waves, square waves, and stepped waves. A linear load is a load where current is directly proportional to voltage; that is, the load impedance is constant and does not change with voltage or current. The current waveform of a linear load is usually a sine wave, and the voltage waveform is also usually a sine wave, although their amplitudes differ. A non-linear load is a load where current is not directly proportional to voltage; its load impedance changes with voltage or current. The current waveform of a non-linear load is usually not a sine wave and may contain harmonic components, such as rectifier loads (like computer power supplies) and switching power supplies.

[0022] Please see Figure 2 , Figure 2This application provides a schematic diagram of the output current waveform when the UPS back-end load is a linear load, including waveforms A, B, C, D, and E. Waveform A represents the 220V_50Hz AC mains waveform, and waveforms B, C, D, and E represent the output current waveforms as the UPS back-end load gradually decreases. The output current waveform of a linear load changes along with the mains waveform, only the amplitude (distance from peak to baseline) differs. When the UPS back-end load is a linear load, the amplitude and phase of the output current waveform have a linear relationship with the amplitude and phase of the input mains waveform.

[0023] Please see Figure 3 , Figure 3 The output current waveform of the UPS back-end load when it is a non-linear load, as provided in the embodiments of this application, includes waveforms 301 and 302, wherein waveform 301 is voltage and waveform 302 is current. Figure 3 As shown, when the load at the back end of the UPS is a nonlinear load, the amplitude and phase of the output current waveform do not satisfy a linear relationship with the amplitude and phase of the input mains waveform.

[0024] In this embodiment, by acquiring the output current waveforms of the UPS back-end loads as linear and nonlinear loads, it can be concluded that the output current waveforms of linear and nonlinear loads have different characteristics. Based on these different characteristics, the slope can be used to determine the type of back-end load. The use of slope to determine the load type will be explained in detail later.

[0025] In an optional implementation, determining whether a load is connected to the UPS downstream based on the UPS output current waveform includes: Obtain all Y values ​​for the current cycle in the UPS output current waveform; Determine whether all Y values ​​are close to 0. If so, determine that the target load is not connected to the UPS backend. If not, then it is determined that the target load is connected to the UPS backend.

[0026] The Y-value in the UPS output current waveform refers to the current value measured at each sampling point. These values ​​constitute the data points on the vertical axis (Y-axis) of the waveform graph. If the current value at each sampling point approaches 0, it indicates that the UPS has no output current, meaning that no target load is connected to the UPS. Otherwise, it indicates that a target load is connected to the UPS. In this embodiment, the target load refers to both linear and nonlinear loads.

[0027] The above optional implementation method can quickly diagnose whether the target load is connected to the back end of the UPS by directly analyzing the Y value of the UPS output current waveform.

[0028] S12, if the target load is connected to the back end of the UPS, then based on the output current waveform of the UPS, obtain the instantaneous current value data for a preset number of times to obtain a set of instantaneous current values; When a target load is connected to the back end of the UPS, the UPS output current corresponding to the UPS output current waveform is sampled. Each sampling will obtain a UPS output current instantaneous value. After a preset number of samplings, a preset number of current instantaneous value data can be obtained. The preset number of current instantaneous value data is determined as the current instantaneous value set.

[0029] For example, a normal 220V_50Hz AC mains power supply will sample the output current waveform 384 times per cycle to obtain the instantaneous current value data. Two cycles can obtain 768 instantaneous current values, which is the set of instantaneous current values. In this embodiment, two cycles are used as the current cycle.

[0030] S13, group the instantaneous current value set to obtain a grouped data set; In this embodiment, after determining the set of instantaneous current values, the set of instantaneous current values ​​can be grouped according to the data sampling method of the acquired instantaneous current values ​​to obtain grouped data sets. Each group contains data points with similar characteristics or located within a specific time period.

[0031] In an optional implementation, grouping the set of instantaneous current values ​​to obtain a grouped data set includes: Place the UPS output current waveform in the target coordinate system, where the X-axis represents the number of samples and the Y-axis represents the current value. Determine the set of zero points in the UPS output current waveform that intersect with the X-axis; The data set corresponding to each zero point in the zero point set is obtained from the set of instantaneous current values ​​to obtain the grouped data set, wherein the data set corresponding to each zero point includes multiple data points.

[0032] The zero-point set refers to the set of points in the UPS output current waveform where the current value is zero (i.e., intersecting the X-axis). These points typically represent changes in current direction or inflection points in the waveform.

[0033] The UPS output current waveform is plotted in a target coordinate system, where the X-axis represents the number of samplings (time) and the Y-axis represents the current value. All points in the UPS output current waveform that intersect the X-axis are identified and designated as zero points. This yields a set of zero points, which contains all sampling points where the current value is 0 (not all instantaneous current values ​​sampled near zero points are zero; sampling may introduce bias). Based on the identified set of zero points, n sets (the value of n is determined by the total number of samplings, e.g., n can be 30) are extracted from the original set of instantaneous current values, forming multiple data sets. Each data set contains a group of current value data points located within a specific time period or exhibiting similar characteristics.

[0034] Please see Figure 4 , Figure 4 This embodiment of the application provides a schematic diagram of the output current waveform obtained by a device for quickly detecting the load type of a UPS backend. It includes waveforms 401 and 402, where the X-axis represents the number of samplings (time), the Y-axis represents the instantaneous current value, waveform 401 represents voltage, and waveform 402 represents current. The UPS output current waveform is sampled 384 times within one cycle, resulting in 384 instantaneous current values. Two cycles yield 768 instantaneous current values. These 768 instantaneous current values ​​constitute a complete instantaneous current value sampling cycle. The zero points are X=0, X=192, X=384, X=576, and X=768. We take the middle zero points, namely X=192, X=384, and X=576, as the zero-point set points. We extract data from 30 sampling points on each side of each zero point, resulting in three sets of grouped data.

[0035] The above-mentioned optional implementation methods, by accurately obtaining the zero point and grouping the data sets, can accurately distinguish different stages or periods in the current waveform, which is crucial for subsequent data analysis and processing, ensuring that each data set represents a specific part of the waveform with clear physical meaning.

[0036] S14, calculate the slope between adjacent data points in each group in the grouped data set to obtain the slope set corresponding to each group; In this embodiment, after determining the grouped data set, the slope between any two adjacent data points in each group can be calculated using the slope formula, thereby obtaining the slope value between any two adjacent data points in each group, and thus obtaining the slope set corresponding to each group.

[0037] S15, determine the load type of the UPS backend based on the slope set corresponding to each group.

[0038] In this embodiment, after determining the slope set corresponding to each group, the load type of the UPS backend can be determined based on the slope set corresponding to each group. Specifically, the fluctuation of the zero point corresponding to the target group can be determined based on the slope between any two adjacent data points in the target slope set; where the target group refers to any group in the group data set, and the target slope set is the set of slope values ​​calculated based on each data point (or between adjacent data points) in each target group. The slope reflects the rate of change of the current value with time, i.e., the steepness of the current waveform, and the slope set reflects the fluctuation of the current value within the interval. If the fluctuation is stable, it proves that the load at the UPS backend is a linear load; if the fluctuation is volatile, it proves that the load at the UPS backend is a nonlinear load.

[0039] In an optional implementation, determining the fluctuation of the zero point corresponding to the target group based on the slope between any two adjacent data points in the target slope set includes: The slopes between any two adjacent data points in the target slope set are traversed to determine the number of slopes in each group that are not in the target interval. The target stable measurement value is determined based on the number of slopes in each group whose slope is not within the target interval; If the target stable measurement value is less than a predetermined threshold, the fluctuation situation is determined to be stable. If the target stable measurement value is greater than or equal to the predetermined threshold, then the fluctuation is determined to be a fluctuation.

[0040] In this embodiment, the slopes of any two adjacent data points in the target slope set are first traversed to determine the number of slopes in each group that are not in the target interval. The target interval is a pre-defined range of slope values ​​used to determine whether a certain slope value is "normal" or meets expectations. Slope values ​​outside this interval indicate that the slope value is in an unstable state. Then, the target stable measurement value is determined based on the number of slopes in each group that are not within the target interval. Specifically, an initial stable measurement value can be determined first based on a predetermined threshold (the initial stable measurement value is a predetermined initial value of the target stable measurement value, and the predetermined threshold is a pre-set limit value used to compare with the target stable measurement value to determine whether the group is stable. For example, if the predetermined threshold is 2, the initial stable measurement value can be set to 0 based on the predetermined threshold, that is, the initial stable measurement value can be adjusted accordingly based on the predetermined threshold). The number of slopes in the target group that are not within the target interval is counted, and it is determined whether the number is greater than or equal to the target preset value. If so, the target group is marked as a measurement group, thus obtaining the number of measurement groups in the target slope set, where the target preset value is a pre-set limit value. The target stable measurement value is then determined based on the number of measurement groups and the initial stable measurement value, that is, the number of measurement groups is added to the initial stable measurement value to obtain the target stable measurement value. For example, if the number of measurement groups is 2 and the initial stable measurement value is 0, then the target stable measurement value is 2. Finally, after determining the target stable measurement value, it can be determined whether the target stable measurement value is greater than or equal to a predetermined threshold. If the target stable measurement value is greater than or equal to the predetermined threshold, the fluctuation situation is determined to be fluctuation; if the target stable measurement value is less than the predetermined threshold, the fluctuation situation is determined to be stable.

[0041] For example, there are 3 target groups, each with 61 data points. The corresponding target slope set has 60 slope data points X for each group. The initial stable measurement value Z0 is 0, the predetermined threshold is 2, the target preset value is 30, and the target interval is [-0.2, 0.2]. The slopes in the target slope set corresponding to the first target group are iterated through, and 35 slopes are found to be outside the target interval [-0.2, 0.2]. Since 35 is greater than the target preset value 30, the first target group is marked as the measurement group. The slopes in the target slope set corresponding to the second target group are iterated through, and 35 slopes are found to be outside the target interval [-0.2, 0.2]. Within the interval [-0.2, 0.2], 35 is greater than the target preset value 30, so the second target group is not marked as a measurement group. Traversing the slopes in the target slope set corresponding to the third target group, we find that 30 slopes are not within the target interval [-0.2, 0.2], and 30 equals the target preset value 30. Therefore, the third target group is marked as a measurement group. Thus, we obtain two measurement groups: the first and third target groups. Adding the initial stable measurement value 0 to the number of measurement groups 2 yields the target stable measurement value 2. Since the target stable measurement value 2 equals the predetermined threshold 2, the slope fluctuation is determined to be fluctuation.

[0042] In an optional implementation, the method for quickly detecting the load type of the UPS back-end further includes: If the target load is connected to the back end of the UPS, the output current waveform of the UPS is processed based on the Fast Fourier Transform to obtain the target spectrum diagram of the load at the back end of the UPS. The load type of the UPS backend is determined based on the target spectrum diagram.

[0043] The Fast Fourier Transform (FFT) is an efficient algorithm for calculating the Discrete Fourier Transform (DFT) and its inverse. It transforms a signal from the time domain to the frequency domain, allowing analysis of the signal's frequency components. The target spectrum diagram, obtained by processing the UPS output current waveform using the Fast Fourier Transform, displays the signal's distribution in the frequency domain, revealing its frequency components and their intensity.

[0044] In this embodiment, the UPS output current waveform data is first acquired, and then processed using a Fast Fourier Transform (FFT) algorithm. This step converts the time-domain signal into a frequency-domain signal, obtaining the spectrum of the UPS back-end load. The obtained spectrum is analyzed to identify specific frequency components of the load and their intensities. Different load types (such as resistive, inductive, and capacitive loads) will exhibit different characteristics in the spectrum. If the target spectrum contains only one peak, the load type at the UPS back-end is determined to be a linear load; if the target spectrum contains multiple peaks, the load type at the UPS back-end is determined to be a nonlinear load.

[0045] Reference Figure 5 As shown, Figure 5 This is a schematic diagram of a virtual structure for quickly detecting the load device at the back end of a UPS.

[0046] In some embodiments, the fast-detection UPS back-end load device 50 may include multiple functional modules composed of computer program segments. The computer programs for each program segment of the fast-detection UPS back-end load device 50 may be stored in the memory of an electronic device and executed by at least one processor to perform (see details). Figure 1 (Description) Function to quickly detect the load at the back end of the UPS.

[0047] In this embodiment, the fast-detection UPS back-end load device 50 can be divided into multiple functional modules according to its functions. These functional modules may include: an acquisition module 501, a judgment module 502, a grouping module 503, and a calculation module 504. As used in this application, a module refers to a series of computer program segments that can be executed by at least one processor and perform a fixed function, stored in memory. In this embodiment, the functions of each module will be detailed in subsequent embodiments.

[0048] The acquisition module is used to acquire the UPS output current waveform within the current cycle; The judgment module is used to determine whether a target load is connected to the back end of the UPS based on the UPS output current waveform. The target load is either a linear load or a non-linear load. The acquisition module is used to acquire instantaneous current value data a preset number of times based on the UPS output current waveform, and obtain a set of instantaneous current values; The grouping module is used to group the instantaneous current value set to obtain a grouped data set; The calculation module is used to calculate the slope between adjacent data points in each group of the grouped data set, so as to obtain the slope set corresponding to each group; The judgment module is also used to determine the load type of the UPS backend based on the slope set corresponding to each group.

[0049] Reference Figure 6 The image shows an electronic device for quickly detecting the load at the back end of a UPS. In a preferred embodiment of this application, the electronic device 6 includes a memory 61, at least one processor 62, and at least one communication bus 63.

[0050] Those skilled in the art should understand that Figure 6 The structure of the electronic device shown does not constitute a limitation of the embodiments of this application. It can be a bus structure or a star structure. The electronic device 6 may also include more or fewer other hardware or software than shown, or different component arrangements.

[0051] In some embodiments, the electronic device 6 is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions. Its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), programmable gate arrays (FPGAs), digital processors, and embedded devices. The electronic device 6 may also include user equipment, which includes, but is not limited to, any electronic product capable of human-computer interaction with a user via a keyboard, mouse, remote control, touchpad, or voice control device, such as a personal computer, tablet computer, smartphone, or digital camera.

[0052] It should be noted that the electronic device 6 is merely an example. Other existing or future electronic products that are suitable for this application should also be included within the scope of protection of this application and are incorporated herein by reference.

[0053] In some embodiments, the memory 61 stores a computer program that, when executed by the at least one processor 62, implements all or part of the steps in the method described above. The memory 61 includes read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data. Further, the computer-readable storage medium may primarily include a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application program required for a function, etc.; and the data storage area may store data created based on the use of blockchain nodes, etc. The blockchain referred to in this application is a novel application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanisms, and encryption algorithms. Essentially, a blockchain is a decentralized database, a chain of data blocks linked together using cryptographic methods. Each data block contains information about a batch of network transactions, used to verify the validity of the information (anti-counterfeiting) and generate the next block. A blockchain can include an underlying blockchain platform, a platform product service layer, and an application service layer.

[0054] In some embodiments, the at least one processor 62 is the control unit of the electronic device 6, connecting various components of the electronic device 6 via various interfaces and lines. It executes programs or modules stored in the memory 61 and calls data stored in the memory 61 to perform various functions and process data of the electronic device 6. For example, when the at least one processor 62 executes a computer program stored in the memory, it implements all or part of the steps of the method for quickly detecting the load type of a UPS back-end system as described in this application embodiment; or it implements all or part of the functions of the device for quickly detecting the load type of a UPS back-end system. The at least one processor 62 may be composed of integrated circuits, such as a single-packaged integrated circuit or multiple integrated circuits with the same or different functions, including combinations of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips.

[0055] In some embodiments, the at least one communication bus 63 is configured to enable communication between the memory 61 and the at least one processor 62, etc. Although not shown, the electronic device 6 may also include a power supply (e.g., a battery) to power the various components. Preferably, the power supply can be logically connected to the at least one processor 62 via a power management device, thereby enabling functions such as charging, discharging, and power consumption management. The power supply may also include one or more DC or AC power supplies, recharging devices, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The electronic device 6 may also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described in detail here.

[0056] The integrated unit implemented as a software functional module described above can be stored in a computer-readable storage medium. This software functional module, stored in a storage medium, includes several instructions to cause an electronic device (which may be a personal computer, electronic device, or network device, etc.) or processor to execute portions of the methods described in the various embodiments of this application.

[0057] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and other division methods may be used in actual implementation.

[0058] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0059] The above are all preferred embodiments of this application, and are not intended to limit the scope of protection of this application. Therefore, all equivalent changes made in accordance with the structure, shape and principle of this application should be covered within the scope of protection of this application.

Claims

1. A method for rapidly detecting the load type of a UPS back-end system, characterized in that, The method includes: Obtain the UPS output current waveform within the current cycle, and determine whether there is a target load connected to the UPS back end based on the UPS output current waveform. The target load is either a linear load or a non-linear load. If the target load is connected to the back end of the UPS, then based on the output current waveform of the UPS, the instantaneous current value data of a preset number of times is obtained to obtain a set of instantaneous current values; The instantaneous current values ​​are grouped to obtain grouped data sets. Calculate the slope between adjacent data points in each group of the grouped data set to obtain the slope set corresponding to each group; determine the load type of the UPS backend based on the slope set corresponding to each group; The process of grouping the instantaneous current value set to obtain a grouped data set includes: Place the UPS output current waveform in a target coordinate system, where the X-axis represents the number of samples and the Y-axis represents the current value; determine the set of zero points in the UPS output current waveform that intersect with the X-axis; obtain the data set corresponding to each zero point in the set of instantaneous current values ​​from the set of instantaneous current values ​​to obtain the grouped data set, wherein the data set corresponding to each zero point includes multiple data points; The step of determining the load type of the UPS backend based on the slope set corresponding to each group includes: The fluctuation of the zero point corresponding to the target group is determined based on the slope of any two adjacent data points in the target slope set. The target group is any group in the group data set, and the target slope set is the slope set corresponding to the target group. If the fluctuation is fluctuating, the load at the back end of the UPS is determined to be a linear load. If the fluctuation is stable, the load at the back end of the UPS is determined to be a nonlinear load.

2. The method for rapidly detecting the load type of a UPS back-end system according to claim 1, characterized in that, The step of determining the fluctuation of the zero point corresponding to the target group based on the slope between any two adjacent data points in the target slope set includes: traversing the slope between any two adjacent data points in the target slope set to determine the number of slopes in each group that are not in the target interval; determining a target stable measurement value based on the number of slopes in each group that are not in the target interval; if the target stable measurement value is less than a predetermined threshold, then the fluctuation is determined to be stable; if the target stable measurement value is greater than or equal to the predetermined threshold, then the fluctuation is determined to be fluctuating.

3. The method for rapidly detecting the load type of a UPS back-end system according to claim 2, characterized in that, The step of determining the target stable measurement value based on the number of slopes in each group whose slope is not in the target interval includes: determining an initial stable measurement value based on the predetermined threshold; determining the number of measurement groups in the target slope set, wherein the number of slopes in the measurement groups whose slope is not in the target interval is greater than or equal to a target preset value; and determining the target stable measurement value based on the number of measurement groups and the initial stable measurement value.

4. The method for rapidly detecting the load type of a UPS back-end system according to claim 1, characterized in that, The step of determining whether there is a load connected to the UPS back end based on the UPS output current waveform includes: Obtain all Y values ​​of the current cycle in the UPS output current waveform; determine whether all Y values ​​are close to 0. If so, determine that the target load is not connected to the UPS backend; otherwise, determine that the target load is connected to the UPS backend.

5. The method for rapidly detecting the load type of a UPS back-end system according to claim 1, characterized in that, The method further includes: if the target load is connected to the back end of the UPS, processing the output current waveform of the UPS based on Fast Fourier Transform to obtain the target spectrum diagram of the load at the back end of the UPS; and determining the load type at the back end of the UPS based on the target spectrum diagram.

6. A device for rapidly detecting UPS back-end loads, applied to any one of the rapid detection methods for UPS back-end load types according to claims 1-5, characterized in that, The device includes: The acquisition module is used to acquire the UPS output current waveform within the current cycle; The judgment module is used to determine whether a target load is connected to the back end of the UPS based on the UPS output current waveform. The target load is either a linear load or a non-linear load. The acquisition module is further configured to acquire instantaneous current value data a preset number of times based on the UPS output current waveform, thereby obtaining a set of instantaneous current values; The grouping module is used to group the instantaneous current value set to obtain a grouped data set; The calculation module is used to calculate the slope between adjacent data points in each group of the grouped data set, so as to obtain the slope set corresponding to each group; The judgment module is further configured to determine the load type of the UPS backend based on the slope set corresponding to each group.

7. An electronic device, characterized in that, The method includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method for rapidly detecting the load type of a UPS back-end system as described in any one of claims 1 to 5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method for quickly detecting the load type of a UPS back-end as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Device and method for controllably dimming output of load

    CN103314643A