Method for rapidly detecting type of UPS rear-end load and related equipment
By analyzing the UPS output current waveform and current instantaneous value, calculating the slope and spectrum diagram, quickly identifying the UPS back-end load type, solving the problem of time-consuming and complex judging the load type in the existing technology, and improving the stability of the UPS and the power grid.
Patent Information
- Application Number
- CN202411198210.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-08-29
AI Technical Summary
Existing high-precision measurement tools are difficult to quickly and accurately judge the load type of UPS backend, which affects the stable operation of UPS and the power grid.
By obtaining the UPS output current waveform, obtaining the current instantaneous value data, grouping and calculating the slope of adjacent data points, judging the load type, and using the fast Fourier transform to process the current waveform to determine the load type.
It realizes rapid and accurate identification of the UPS back-end load type, improves the stability of the UPS and the power grid, and reduces equipment wear and grid instability.
Smart Images

Figure CN119087284A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electrical and power control, and in particular to a method for quickly detecting the type of UPS back-end load and related equipment. Background Art
[0002] At present, in the UPS (uninterruptible power supply) industry, UPS plays a vital role. It not only serves as a reliable backup power supply to ensure continuous power supply in the event of a power grid failure, but also bears the heavy responsibility of reducing power grid interference and protecting the normal operation of electrical equipment. In the wide application field of UPS (uninterruptible power supply), linear load and nonlinear load are two main forms of power consumption. The characteristics and behavior of the load 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, usually do not cause significant waveform distortion or harmonic pollution to UPS, and are a more ideal load type for UPS.
[0003] However, with the development of science and technology, nonlinear loads such as computers, inverters, LED lighting and other equipment are becoming increasingly popular. The harmonic currents they generate not only affect the output waveform quality of UPS, but may also shorten the life of UPS equipment and even cause instability to the power grid. At present, the determination of load type mainly relies on high-precision measurement tools, such as oscilloscopes and current clamps, which distinguish linear loads from nonlinear loads by deeply analyzing the waveform characteristics of the output current (such as linearity, phase angle, etc.). In order to quickly respond to load changes in a real-time environment, it is often necessary to quickly determine the load type so that the UPS can make corresponding operational adjustments in time to reduce or avoid the adverse effects of different types of loads on the UPS itself and the power grid. However, the measurement process of existing high-precision measurement tools is often time-consuming and complicated, and it is difficult to quickly and accurately detect whether the back-end load is a linear load or a nonlinear load. Summary of the invention
[0004] In view of the above, the present application provides a method for quickly detecting the UPS back-end load type, which can accurately and quickly determine whether the UPS back-end load type 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 the present application provides a method for quickly detecting a UPS rear-end load type, the method comprising: Obtaining a UPS output current waveform in a current cycle, and judging whether a target load is connected to the rear end of the UPS according to the UPS output current waveform, wherein the target load is a linear load or a nonlinear load; If the target load is connected to the rear end of the UPS, current instantaneous value data of a preset number of times is acquired based on the output current waveform of the UPS to obtain a current instantaneous value set; Grouping the current instantaneous value set to obtain a grouped data set; Calculating the slopes between adjacent data points in each group in the grouped data set to obtain a slope set corresponding to each group; The load type of the UPS back end is determined according to the slope set corresponding to each group.
[0006] Optionally, grouping the current instantaneous value set to obtain a grouped data set includes: The UPS output current waveform is placed in a target coordinate system, wherein the X-axis of the target coordinate system is the sampling number, and the Y-axis of the target coordinate system is the current value; Determine a set of zero points in the UPS output current waveform that intersect the X-axis; A data set corresponding to each zero point in the zero point set is acquired from the current instantaneous value set to obtain the grouped data set, wherein the data set corresponding to each zero point includes a plurality of data points.
[0007] Optionally, determining the load type of the UPS back end according to the slope set corresponding to each group includes: Determining the fluctuation of the zero point corresponding to the target group according to the slope between any two adjacent data points in the target slope set, the target group is any group in the grouped data set, and the target slope set is the slope set corresponding to the target group; If the fluctuation condition is fluctuation, determining that the load at the rear end of the UPS is a linear load; If the fluctuation is stable, it is determined that the load at the rear end of the UPS is a non-linear load.
[0008] Optionally, determining the fluctuation of the zero point corresponding to the target group according to the slope between any two adjacent data points in the target slope set includes: Traversing the slopes between any two adjacent data points in the target slope set to determine the number of slopes in each group whose slopes are not within the target interval; Determine a target stable measurement value according to the number of slopes in each group whose slopes are not within the target interval; If the target stable measurement value is less than a predetermined threshold, the fluctuation condition is determined to be stable; If the target stable measurement value is greater than or equal to the predetermined threshold, the fluctuation condition is determined as fluctuation.
[0009] Optionally, determining the target stable measurement value according to the number of slopes in each group whose slopes are not within the target interval includes: determining an initial stable metering value according to the predetermined threshold; Determine the number of metering groups in the target slope set, wherein the number of slopes in the metering groups that are not in the target interval is greater than or equal to a target preset value; The target stable metering value is determined according to the number of the metering groups and the initial stable metering value.
[0010] Optionally, judging whether a load is connected to the rear end of the UPS according to the UPS output current waveform includes: Obtain all Y values in the UPS output current waveform; Determine whether all the Y values are close to 0, and if so, determine that the UPS back end is not connected to the target load; If not, it is determined that the UPS back end is connected to the target load.
[0011] Optionally, the method for quickly detecting the UPS back-end load type further includes: If the target load is connected to the rear end of the UPS, the UPS output current waveform is processed based on fast Fourier transform to obtain a target frequency spectrum of the rear end load of the UPS; The load type of the UPS back end is determined according to the target frequency spectrum diagram.
[0012] A second aspect of the present application provides a device for quickly detecting a UPS rear-end load, the device comprising: An acquisition module is used to obtain the UPS output current waveform in the current cycle; A judgment module, used for judging whether a target load is connected to the rear end of the UPS according to the UPS output current waveform, wherein the target load is a linear load or a non-linear load; An acquisition module, the acquisition module is further used to acquire current instantaneous value data of a preset number of times based on the UPS output current waveform to obtain a current instantaneous value set; A grouping module, used for grouping the current instantaneous value set to obtain a grouped data set; A calculation module, used for calculating the slope between adjacent data points in each group in the grouped data set to obtain a slope set corresponding to each group; A judgment module, wherein the judgment module is further used to determine the load type of the UPS back end according to the slope set corresponding to each group.
[0013] A third aspect of the present 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 implements the steps of the method for quickly detecting the UPS back-end load type when executing the computer program.
[0014] A fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above-mentioned method for quickly detecting the UPS back-end load type are implemented.
[0015] In summary, in the embodiment of the present application, the UPS output current waveform in the current cycle is used to first determine whether the UPS backend is connected to the target load. If the UPS backend is connected to the target load, the current instantaneous value data of a preset number of times is obtained based on the UPS output current waveform to obtain a current instantaneous value set, and the current instantaneous value set is grouped to obtain a grouped data set, and then the slope between adjacent data points in each group in the grouped data set is calculated to obtain the slope set corresponding to each group, and the load type of the UPS backend is determined according to the slope set corresponding to each group. By directly analyzing the UPS output current waveform and the current instantaneous value data obtained by sampling, and using the grouped data set to calculate the slope between adjacent data points, the characteristics of the load type are more accurately reflected, and the rapid and accurate identification of the load type of the UPS backend is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a flowchart of a method for quickly detecting a UPS back-end load type according to an embodiment of the present application; Figure 2 is a schematic diagram of an output current waveform when the UPS rear-end load is a linear load shown in an embodiment of the present application; Figure 3 is a schematic diagram of an output current waveform when the UPS rear-end load is a non-linear load shown in an embodiment of the present application; Figure 4 It is a schematic diagram of an output current waveform obtained by a device for quickly detecting a UPS rear-end load type shown in an embodiment of the present application; Figure 5 is a virtual structural diagram of a fast detection UPS rear-end load device shown in an embodiment of the present application; Figure 6 It is a schematic diagram of the structure of an electronic device shown in an embodiment of the present application. DETAILED DESCRIPTION
[0017] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to any or all possible combinations comprising one or more of the listed items.
[0018] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
[0019] The following describes the method for quickly detecting the UPS back-end load type provided in the present application from the perspective of a device for quickly detecting the UPS back-end load type. The device for quickly detecting the UPS back-end load type can be a server or a service unit in the server, without specific limitation.
[0020] Reference Figure 1 As shown, Figure 1 A flowchart of a method for quickly detecting a UPS back-end load type is provided for an implementation example of the present application. The method for quickly detecting a UPS back-end load type includes the following steps.
[0021] S11, obtaining a UPS output current waveform in a current cycle, and judging whether a target load is connected to the rear end of the UPS according to the UPS output current waveform, wherein the target load is a linear load or a nonlinear load; The UPS output current waveform is a graph of the UPS output current changing over time during the UPS power supply process. Different UPS types and load conditions will result in different output current waveforms, such as sine waves, square waves, step waves, etc. A linear load refers to a load in which the current is proportional to the voltage, that is, the load impedance is a constant and does not change with changes in voltage or current. The current waveform of a linear load is usually a sine wave, and the voltage waveform of a linear load is usually also a sine wave, and their amplitudes are different. A non-linear load refers to a load in which the current is not proportional to the voltage, and its load impedance changes with changes in voltage or current. The current waveform of a non-linear load is usually not a sine wave and may contain harmonic components, such as rectifying loads (such as computer power supplies) and switching power supplies.
[0022] See also Figure 2 , Figure 2A schematic diagram of an output current waveform when the UPS rear-end load is a linear load is provided for the embodiment of the present application, including waveform A, waveform B, waveform C, waveform D and waveform E, wherein waveform A represents a 220V_50Hz AC mains waveform, and waveforms B, waveform C, waveform D and waveform E represent output current waveforms after the UPS rear-end load is gradually reduced. The output current waveform of the linear load changes with the mains waveform, but the amplitude (the distance from the peak to the baseline) is different. When the UPS rear-end load is a linear load, the amplitude and phase of the output current waveform are linearly related to the amplitude and phase of the input mains waveform.
[0023] See also Figure 3 , Figure 3 The output current waveform when the UPS rear-end load provided in the embodiment of the present application is a nonlinear load includes waveforms 301 and 302, wherein waveform 301 is a voltage and waveform 302 is a current. Figure 3 As shown, when the UPS back-end load 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 AC power waveform.
[0024] In this embodiment, by obtaining the output current waveforms when the UPS back-end load is a linear load and a non-linear load respectively, it can be concluded that the output current waveforms of the linear load and the non-linear load have different characteristics. The back-end load type can be determined based on these different characteristics using the slope. The use of the slope to determine the load type will be described in detail later.
[0025] In an optional implementation, judging whether a load is connected to the rear end of the UPS according to the UPS output current waveform includes: Obtain all Y values of the current cycle in the UPS output current waveform; Determine whether all the Y values are close to 0, and if so, determine that the UPS back end is not connected to the target load; If not, it is determined that the UPS back end is connected to the target load.
[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. If the current value at each sampling point is close to 0, it means that the UPS has no output current, that is, the target load is not connected to the back end of the UPS, otherwise it means that the target load is connected to the back end of the UPS, where the target load in this embodiment refers to linear load and nonlinear load.
[0027] The above optional implementation manner 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 rear end of the UPS, obtaining a preset number of current instantaneous value data based on the UPS output current waveform to obtain a current instantaneous value set; When the 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 an instantaneous value of the UPS output current. After a preset number of samplings, a preset number of current instantaneous value data can be obtained, and the preset number of current instantaneous value data are determined as a current instantaneous value set.
[0029] Exemplarily, a normal 220V_50Hz AC mains will sample the output current waveform 384 times in one cycle to obtain the instantaneous current value data. Two cycles can obtain 768 instantaneous current values, and the 768 instantaneous current values are the instantaneous current value set. In this embodiment, two cycles are taken as the current cycle.
[0030] S13, grouping the current instantaneous value set to obtain a grouped data set; In this embodiment, after determining the instantaneous current value set, the instantaneous current value set can be grouped according to the data sampling mode of the acquired instantaneous current value to obtain a grouped data set, wherein each group contains data points with similar characteristics or located in a specific time period.
[0031] In an optional implementation, grouping the current instantaneous value set to obtain a grouped data set includes: The UPS output current waveform is placed in a target coordinate system, wherein the X-axis of the target coordinate system is the sampling number, and the Y-axis of the target coordinate system is the current value; Determine a set of zero points in the UPS output current waveform that intersect the X-axis; A data set corresponding to each zero point in the zero point set is acquired from the current instantaneous value set to obtain the grouped data set, wherein the data set corresponding to each zero point includes a plurality of 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 usually indicate a change in current direction or a turning point in the waveform.
[0033] The output current waveform of the UPS is plotted in the target coordinate system, where the X-axis of the target coordinate system represents the number of sampling times (time) and the Y-axis represents the current value. Find all points in the UPS output current waveform that intersect with the X-axis, and determine the intersecting point as the zero point, and then obtain the zero point set, that is, all sampling points in the zero point set with a current value of 0 (the instantaneous current values sampled near the zero point are not all 0, and there will be sampling deviations). Based on the zero point set found, extract n groups on both sides of each zero point from the original current instantaneous value set (the n value is determined based on the specific total number of sampling times, for example, n can be 30) to form multiple data sets. Each data set contains a group of current value data points that are located in a specific time period or have similar characteristics.
[0034] See also Figure 4 , Figure 4 The output current waveform diagram provided by the embodiment of the present application for the rapid detection of the UPS back-end load type device includes waveform 401 and waveform 402, wherein the X-axis is the sampling number (time), the Y-axis is the instantaneous value of the current, the waveform 401 is the voltage, and the waveform 402 is the current. The output current waveform of the UPS is sampled 384 times in one cycle to obtain 384 instantaneous current values, and two cycles are 768 instantaneous current values. The 768 instantaneous current values in two cycles are used as a complete instantaneous current sampling cycle, and the zero points are X=0, X=192, X=384, X=576, and X=768, respectively. We take the middle zero point, that is, the three sampling points of X=192, X=384, and X=576 as the zero point set points, extract the data of 30 sampling points on both sides of each zero point, and obtain 3 groups of grouped data sets.
[0035] The above optional implementation, by accurately obtaining the zero point and grouping the data sets, can accurately distinguish different stages or cycles in the current waveform, which is crucial for subsequent data analysis and processing, and ensures that each data set represents a specific part of the waveform with clear physical meaning.
[0036] S14, calculating the slope between adjacent data points in each group in the grouped data set to obtain a 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 in the grouped data set can be calculated using the slope formula, and the slope value between any two adjacent data points in each group can be obtained, thereby obtaining the slope set corresponding to each group.
[0037] S15, determining the load type of the UPS back end according to 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 back end can be determined according to the slope set corresponding to each group. Specifically, the fluctuation of the zero point corresponding to the target group can be determined according to the slope between any two adjacent data points in the target slope set; wherein the target group refers to any group in the group data set, and the target slope set is a set of slope values calculated according to each data point (or between adjacent data points) in each target group. The slope can reflect the rate at which the current value changes over time, that is, the steepness of the current waveform, and the slope set can reflect the fluctuation of the current value within the interval. If the fluctuation is stable, it proves that the load at the back end of the UPS is a linear load. If the fluctuation is fluctuating, it proves that the load at the back end of the UPS is a nonlinear load.
[0039] In an optional implementation, determining the fluctuation of the zero point corresponding to the target group according to the slope between any two adjacent data points in the target slope set includes: Traversing the slopes between any two adjacent data points in the target slope set to determine the number of slopes in each group whose slopes are not within the target interval; Determine a target stable measurement value according to the number of slopes in each group whose slopes are not within the target interval; If the target stable measurement value is less than a predetermined threshold, the fluctuation condition is determined to be stable; If the target stable measurement value is greater than or equal to the predetermined threshold, the fluctuation condition is determined as 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 whose slopes are not within the target interval, wherein the target interval is a preset slope value range used to determine whether a certain slope value is "normal" or meets expectations, and a slope value outside this interval indicates that the slope value is in an unstable state; Then, the target stable metering value is determined according to the number of slopes in each group that are not in the target interval. Specifically, the initial stable metering value can be determined according to a predetermined threshold (the initial stable metering value is a predetermined initial value of the target stable metering value, and the predetermined threshold is a preset limit value, which is used to compare with the target stable metering value to determine whether the group is stable. For example, the predetermined threshold is 2, and the initial stable metering value can be set to 0 based on the predetermined threshold, that is, the initial stable metering value can be adjusted accordingly according to the predetermined threshold); and the number of slopes in the target group that are not in 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 metering group, thereby obtaining the number of metering groups in the target slope set, wherein the target preset value is a preset limit value; and the target stable metering value is determined according to the number of metering groups and the initial stable metering value, that is, the number of metering groups is added to the initial stable metering value to obtain the target stable metering value. For example, if the number of metering groups is 2 and the initial stable metering value is 0, then the target stable metering value is 2; Finally, after determining the target stable metering value, it can be determined whether the target stable metering value is greater than or equal to a predetermined threshold. If the target stable metering value is greater than or equal to the predetermined threshold, the fluctuation situation is determined to be fluctuation; if the target stable metering 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. The corresponding target slope set has 60 slope data X in each group, the initial stable metering 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 traversed, and 35 slopes are not in the target interval [-0.2, 0.2]. 35 is greater than the target preset value 30, and the first target group is marked as a metering group. The slopes in the target slope set corresponding to the second target group are traversed, and 35 slopes are not in the target interval [-0.2, 0.2]. In the interval [-0.2, 0.2], 35 is greater than the target preset value 30, and the second target group is not marked as a metering group; the slopes in the target slope set corresponding to the third target group are traversed, and 30 slopes are not in the target interval [-0.2, 0.2], 30 is equal to the target preset value 30, and the third target group is marked as a metering group; therefore, a total of 2 metering groups are obtained, namely the first target group and the third target group. The target stable metering value 2 is obtained by adding the initial stable metering value 0 to the number of metering groups 2. Since the target stable metering value 2 is equal to the predetermined threshold 2, the fluctuation of the slope is determined to be fluctuation.
[0042] In an optional implementation, the method for quickly detecting the UPS back-end load type further includes: If the target load is connected to the rear end of the UPS, the UPS output current waveform is processed based on fast Fourier transform to obtain a target frequency spectrum of the rear end load of the UPS; The load type of the UPS back end is determined according to the target frequency spectrum diagram.
[0043] Fast Fourier Transform (FFT) is an algorithm for efficiently calculating discrete Fourier transform (DFT) and its inverse transform. It can convert signals from the time domain to the frequency domain, thereby analyzing the frequency components of the signal. The target spectrum is a graph obtained by processing the UPS output current waveform through fast Fourier transform, which can show the distribution of the signal in the frequency domain and reveal the frequency components and their strength of the signal.
[0044] In this embodiment, the data of the UPS output current waveform is first collected, and the collected current waveform data is processed using the fast Fourier transform (FFT) algorithm. This step converts the time domain signal into a frequency domain signal to obtain a spectrum diagram of the UPS back-end load. The obtained spectrum diagram is analyzed to identify the specific frequency components of the load and their intensities. Different load types (such as resistive, inductive, capacitive, etc.) will show different characteristics on the spectrum diagram. If the target spectrum diagram contains 1 peak, it is determined that the load type of the UPS back-end is a linear load; if the target spectrum diagram contains multiple peaks, it is determined that the load type of the UPS back-end is a nonlinear load.
[0045] Reference Figure 5 As shown, Figure 5 A virtual structure diagram for quickly detecting UPS rear-end load devices.
[0046] In some embodiments, the fast detection UPS back-end load device 50 may include a plurality of functional modules composed of computer program segments. The computer program of each program segment of the fast detection UPS back-end load device 50 may be stored in the memory of the electronic device and executed by at least one processor to execute (see Figure 1 Description) Quickly detect the UPS back-end load function.
[0047] In this embodiment, the fast detection UPS rear-end load device 50 can be divided into multiple functional modules according to the functions it performs. The functional modules may include: an acquisition module 501, a judgment module 502, a grouping module 503 and a calculation module 504. The module referred to in this application refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, which are stored in a memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.
[0048] The acquisition module is used to acquire the UPS output current waveform in the current cycle; The judging module is used to judge whether a target load is connected to the rear end of the UPS according to the output current waveform of the UPS, and the target load is a linear load or a non-linear load; The acquisition module is used to acquire current instantaneous value data of a preset number of times based on the UPS output current waveform to obtain a current instantaneous value set; The grouping module is used to group the current instantaneous value set to obtain a grouped data set; The calculation module is used to calculate the slope between adjacent data points in each group in the grouped data set to obtain a slope set corresponding to each group; The determination module is further configured to determine the load type of the UPS back end according to the slope set corresponding to each group.
[0049] Reference Figure 6 In the preferred embodiment of the present 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 the present application, and may be either a bus structure or a star structure. The electronic device 6 may also include more or less other hardware or software than shown in the figure, or a different component arrangement.
[0051] In some embodiments, the electronic device 6 is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application-specific integrated circuits, programmable gate arrays, digital processors, and embedded devices. The electronic device 6 may also include user equipment, which includes but is not limited to any electronic product that can interact with a user through a keyboard, mouse, remote control, touchpad, or voice control device, such as a personal computer, tablet computer, smart phone, digital camera, etc.
[0052] It should be noted that the electronic device 6 is only an example, and other existing or future electronic products that are suitable for the present application should also be included in the protection scope of the present application and included here by reference.
[0053] In some embodiments, the memory 61 stores a computer program, and when the computer program is executed by the at least one processor 62, all or part of the steps in the above-mentioned method are implemented. The memory 61 includes a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data. Further, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the blockchain node, etc. The blockchain referred to in this application is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.
[0054] In some embodiments, the at least one processor 62 is the control core (ControlUnit) of the electronic device 6, and uses various interfaces and lines to connect various components of the entire electronic device 6, and executes various functions and processes data of the electronic device 6 by running or executing programs or modules stored in the memory 61, and calling data stored in the memory 61. For example, when the at least one processor 62 executes the computer program stored in the memory, it implements all or part of the steps of the method for quickly detecting the back-end load type of UPS in the embodiment of the present application; or implements all or part of the functions of the device for quickly detecting the back-end load type of UPS. The at least one processor 62 can be composed of an integrated circuit, for example, it can be composed of a single packaged integrated circuit, or it can be composed of multiple integrated circuits with the same function or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips.
[0055] In some embodiments, the at least one communication bus 63 is configured to realize the connection and communication between the memory 61 and the at least one processor 62. Although not shown, the electronic device 6 may also include a power supply (such as a battery) for powering each component. Preferably, the power supply may be logically connected to the at least one processor 62 through a power management device, so that the power management device can realize the functions of managing charging, discharging, and power consumption management. The power supply may also include any components such as one or more DC or AC power supplies, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, etc. The electronic device 6 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
[0056] The above-mentioned integrated unit implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling an electronic device (which can be a personal computer, electronic device, or network device, etc.) or a processor to execute part of the method described in each embodiment of the present application.
[0057] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
[0058] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, and may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0059] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A method for quickly detecting the UPS back-end load type. It is characterized in that The method comprises: Obtaining a UPS output current waveform in a current cycle, and judging whether a target load is connected to the rear end of the UPS according to the UPS output current waveform, wherein the target load is a linear load or a nonlinear load; If the target load is connected to the rear end of the UPS, current instantaneous value data of a preset number of times is acquired based on the output current waveform of the UPS to obtain a current instantaneous value set; Grouping the current instantaneous value set to obtain a grouped data set; Calculating the slopes between adjacent data points in each group in the grouped data set to obtain a slope set corresponding to each group; The load type of the UPS back end is determined according to the slope set corresponding to each group.
2. The method for quickly detecting the UPS back-end load type according to claim 1, It is characterized in that The step of grouping the current instantaneous value set to obtain a grouped data set comprises: The UPS output current waveform is placed in a target coordinate system, wherein the X-axis of the target coordinate system is the sampling number, and the Y-axis of the target coordinate system is the current value; Determine a set of zero points in the UPS output current waveform that intersect the X-axis; A data set corresponding to each zero point in the zero point set is acquired from the current instantaneous value set to obtain the grouped data set, wherein the data set corresponding to each zero point includes a plurality of data points.
3. The method for quickly detecting the UPS back-end load type according to claim 1, It is characterized in that The step of determining the load type of the UPS back end according to the slope set corresponding to each group includes: The fluctuation of the zero point corresponding to the target group is determined according to the slopes of any two adjacent data points in the target slope set, wherein 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.
4. The method for quickly detecting the UPS back-end load type according to claim 3, It is characterized in that The step of determining the fluctuation of the zero point corresponding to the target group according to the slopes of any two adjacent data points in the target slope set and the slope between any two adjacent data points includes: Traversing the slopes between any two adjacent data points in the target slope set to determine the number of slopes in each group whose slopes are not within the target interval; Determine a target stable measurement value according to the number of slopes in each group whose slopes are not within the target interval; If the target stable measurement value is less than a predetermined threshold, the fluctuation condition is determined to be stable; If the target stable measurement value is greater than or equal to the predetermined threshold, the fluctuation condition is determined as fluctuation.
5. The method for quickly detecting the UPS back-end load type according to claim 4, It is characterized in that Determining the target stable metering value according to the number of slopes in each group whose slopes are not within the target interval comprises: determining an initial stable metering value according to the predetermined threshold; Determine the number of metering groups in the target slope set, wherein the number of slopes in the metering groups that are not in the target interval is greater than or equal to a target preset value; The target stable metering value is determined according to the number of the metering groups and the initial stable metering value.
6. The method for quickly detecting the UPS back-end load type according to claim 1, It is characterized in that The determining whether a load is connected to the rear end of the UPS according to the UPS output current waveform comprises: Obtain all Y values of the current cycle in the UPS output current waveform; Determine whether all the Y values are close to 0, and if so, determine that the UPS back end is not connected to the target load; If not, it is determined that the UPS back end is connected to the target load.
7. The method for quickly detecting the UPS back-end load type according to claim 1, It is characterized in that The method further comprises: If the target load is connected to the rear end of the UPS, the UPS output current waveform is processed based on fast Fourier transform to obtain a target frequency spectrum of the rear end load of the UPS; The load type of the UPS back end is determined according to the target frequency spectrum diagram.
8. A device for quickly detecting UPS rear-end loads. It is characterized in that The device comprises: An acquisition module is used to obtain the UPS output current waveform in the current cycle; A judgment module, used for judging whether a target load is connected to the rear end of the UPS according to the UPS output current waveform, wherein the target load is a linear load or a non-linear load; An acquisition module, the acquisition module is further used to acquire current instantaneous value data of a preset number of times based on the UPS output current waveform to obtain a current instantaneous value set; A grouping module, used for grouping the current instantaneous value set to obtain a grouped data set; A calculation module, used for calculating the slope between adjacent data points in each group in the grouped data set to obtain a slope set corresponding to each group; A judgment module, wherein the judgment module is further used to determine the load type of the UPS back end according to the slope set corresponding to each group.
9. An electronic device, It is characterized in that The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for quickly detecting the back-end load type of a UPS according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method for quickly detecting the UPS back-end load type according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Method and system for non-intrusive load monitoring and processing
CN103026246A
Device and method for controllably dimming output of load
CN103314643A
Non-invasive load identification method and device, and computing equipment
CN110569877A
Battery pack, electric tool adopting battery pack and battery pack power supply method
CN114156958A
Building electrical fire monitoring method and system based on time and space fusion
CN114999095A
Cited By
UPS (Uninterrupted Power Supply) with high electric energy quality
CN120165491A
A high power quality ups power supply
CN120165491B
