Method for correcting switching confirmation time and power supply switching, inverter and storage medium
By calculating the switching times of the inverter and the power grid quality dynamic correction switching confirmation time, the problem of equipment damage and power consumption risks caused by mechanical power supply switching is solved, and the effect of reducing unnecessary switching times and ensuring equipment safety is achieved.
Patent Information
- Application Number
- CN202011425624.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-07
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2040-12-07
AI Technical Summary
The existing mechanical power supply switching method of the inverter causes equipment damage and increases the risk of power outage of the electrical equipment, and cannot meet the user's need to independently judge the stability of the mains power and avoid unnecessary switching.
By calculating the number of switching times of the inverter, the current grid voltage quality and interval time, the switching confirmation time is dynamically corrected so that it is positively correlated with the number of switching times and negatively correlated with the grid voltage quality and interval time, thereby extending the stable switching confirmation time of the mains power and reducing Unnecessary switching times.
It effectively avoids frequent switching caused by repeated abnormal switching of mains power in a short period of time, minimizes the number of unnecessary switching between mains power and inverter power supply, protects equipment from impact, and ensures safe and reliable power consumption.
Smart Images

Figure CN112583106B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of inverters, and in particular to a method for correcting switching confirmation time and power supply switching, an inverter and a storage medium. Background Art
[0002] Inverters are devices that convert direct current into alternating current. They are widely used in the fields of electricity, communications, and new energy. They generally support uninterrupted switching of load power supply. Specifically, when the mains power fails, the inverter can continuously switch to the inverter AC power supply to convert the battery DC power into the AC power required by the load. At present, the switching mode of the inverter is generally fixed, mechanical, and unconditional. In fact, in many application scenarios of inverters, due to the aging of transmission lines for various reasons, external factors of the natural environment, and the complexity and diversity of power-consuming equipment, the instability of the local power grid is often increased. The current mechanical power supply switching method of the inverter is an unlimited repetitive switching method, which will inevitably bring the following foreseeable adverse consequences: impact and damage to the electronic components of the equipment itself; there is a risk of accidental power failure of the power-consuming equipment; it cannot meet the needs of users to independently judge the actual mains power stability and take measures to avoid unnecessary switching.
[0003] In addition, the mechanical power supply switching method can extend the mains confirmation time to avoid repeated switching. However, due to the variability of application scenarios, there is no suitable time that can be used in all occasions. Moreover, if the confirmation time is simply extended, it will inevitably greatly extend the inverter power supply time, which conflicts with the design concept of priority bypass power supply. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a method, an inverter and a storage medium for correcting the switching confirmation time and power supply switching in view of the many defects existing in the above-mentioned mechanical switching solution in the prior art.
[0005] The technical solution adopted by the present invention to solve its technical problem is:
[0006] On the one hand, a method for correcting the switching confirmation time of an inverter is constructed, wherein the switching confirmation time is the time that the inverter needs to wait from the moment when it confirms that it needs to switch to bypass power supply to the moment when the switching operation is put into operation, and the method comprises:
[0007] After the inverter switches from bypass power supply to inverter power supply, obtain the current grid voltage quality, the number of times the inverter switches to inverter power supply, and calculate the interval time from the last switch from bypass power supply to inverter power supply;
[0008] According to the number of switching times, the current grid voltage quality and the interval time, the switching confirmation time corresponding to the next switch of the inverter to bypass power supply is calculated, and the calculated switching confirmation time is positively correlated with the number of switching times and negatively correlated with the current grid voltage quality and the interval time.
[0009] Preferably, the switching times is the total number of times the inverter switches to inverter power supply within a preset time period starting from the current time and counting back.
[0010] Preferably, the number of switching times is determined by using a time sliding window, the length of the time sliding window is the preset duration, and the switching confirmation time corresponding to the next switching of the inverter to the bypass power supply is calculated according to the number of switching times, the current grid voltage quality and the interval time, including:
[0011] The predicted time is calculated based on the calculation formula T = n*K1*t+n*K2*Y;
[0012] If the switching number is less than the switching number threshold, the predicted time calculated this time is directly used as the switching confirmation time corresponding to the next switching of the inverter to the bypass power supply;
[0013] If the switching times reaches the switching times threshold, the larger one is selected from the predicted time calculated this time and the preset time threshold as the switching confirmation time corresponding to the next switching of the inverter to the bypass power supply;
[0014] Among them, T in the calculation formula represents the predicted time, n represents the number of switching times, t represents the time level reflecting the interval time, the smaller t is, the longer the corresponding interval time is, Y represents the grid voltage quality level reflecting the current grid voltage quality, the smaller Y is, the better the corresponding current grid voltage quality is, and K1 and K2 are correction coefficients set by the user.
[0015] Preferably, the obtaining of the current grid voltage quality includes:
[0016] Analyze the current voltage value level and / or voltage stability value level of the mains voltage based on the mains voltage collected in real time; and / or analyze the current frequency value level and / or frequency stability value level of the mains frequency based on the mains frequency collected in real time;
[0017] According to the voltage value level and / or voltage stability value level and / or frequency value level and / or frequency stability value level obtained by analysis, a grid voltage quality level reflecting the current grid voltage quality is calculated.
[0018] Preferably, the analysis of the current voltage value level and / or voltage stability value level of the mains voltage includes:
[0019] Calculate the difference ratio of the voltage value of the mains voltage collected in real time to the rated voltage value, and determine the current voltage value level of the mains voltage according to the difference ratio; and / or calculate the fluctuation ratio of the voltage value of the mains voltage collected in real time to its average value, and determine the current voltage stability value level of the mains voltage according to the fluctuation ratio;
[0020] Among them, the lower the voltage value level, the smaller the corresponding difference ratio, and the lower the voltage stability value level, the smaller the corresponding fluctuation ratio.
[0021] Preferably, the analysis of the current frequency value level and / or frequency stability value level of the mains frequency includes:
[0022] Calculate the difference ratio of the frequency value of the mains voltage collected in real time to the rated frequency value, and determine the current frequency value level of the mains frequency according to the difference ratio; and / or calculate the fluctuation ratio of the frequency value of the mains voltage collected in real time to its average value, and determine the current frequency stability value level of the mains frequency according to the fluctuation ratio;
[0023] Among them, the lower the frequency value level, the smaller the corresponding difference ratio, and the lower the frequency stability value level, the smaller the corresponding fluctuation ratio.
[0024] In a second aspect, a method for switching power supply of an inverter is constructed, comprising:
[0025] When the bypass voltage and frequency of the inverter are normal, it maintains the bypass power supply;
[0026] If the bypass voltage or frequency is abnormal, the inverter power supply is switched, and the switching confirmation time is corrected in real time based on the above method;
[0027] When confirming that the bypass voltage and frequency are normal, confirm that it is necessary to switch to bypass power supply. After waiting for the switching confirmation time, start the switching operation to switch to bypass power supply.
[0028] In a third aspect, an inverter is constructed, comprising an inverter unit for realizing direct current to alternating current conversion, a memory, a processor and a collection unit for real-time collection of mains voltage and frequency to determine the current grid voltage quality, wherein the memory stores a computer program executable by the processor, and the processor implements the steps of the method described in any of the preceding items when executing the computer program.
[0029] In a fourth aspect, a storage medium is constructed, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method described in any of the preceding items are implemented.
[0030] The method, inverter and storage medium for correcting the switching confirmation time and power supply switching of the present invention have the following beneficial effects: the present invention finds the switching confirmation time for the next switch to bypass power supply of the inverter suitable for the current situation according to the number of switches, the current grid voltage quality and the interval time from the last switch from bypass to inverter power supply. Since the calculated switching confirmation time is positively correlated with the number of switches and negatively correlated with the current grid voltage quality and the interval time, if the mains power is continuously abnormal, the switching confirmation time for confirming the stability of the mains power will be intelligently extended next time, which can effectively avoid frequent switching caused by repeated abnormal switching of the mains power in a short period of time, and reduce the number of unnecessary switching times. It can be seen that the present invention does not increase any hardware cost while minimizing the number of unnecessary switching times between the mains power and the inverter power supply, which not only protects the equipment itself from the impact of switching, but also greatly guarantees the safety and reliability of the equipment's power use. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below. Obviously, the drawings in the following description are only embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on the provided drawings without creative work:
[0032] Figure 1 is a flow chart of a method for correcting a switching confirmation time of an inverter according to the present invention;
[0033] Figure 2 It is a statistical principle diagram of the number of switching times;
[0034] Figure 3 is a flow chart of a method for power supply switching of an inverter of the present invention;
[0035] Figure 4 It is a structural schematic diagram of the inverter of the present invention. DETAILED DESCRIPTION
[0036] In order to facilitate understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. Typical embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.
[0037] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.
[0038] The general idea of the present invention is: in order to solve the risk of equipment damage and possible power failure of electrical equipment in mechanical power supply switching, the present invention proposes that the inverter can automatically extend the switching confirmation time when an abnormality occurs and switching is required. On the one hand, after each time the inverter switches from bypass to inverter power supply, the current grid voltage quality, the number of switching times of the inverter switching to inverter power supply, and the interval time from the last switching from bypass to inverter power supply are obtained; on the other hand, according to the number of switching times, the current grid voltage quality and the interval time, the switching confirmation time of the inverter switching to bypass power supply next time is calculated, and the calculated switching confirmation time is positively correlated with the number of switching times and negatively correlated with the current grid voltage quality and the interval time. In this way, if the AC power continues to be abnormal, the next switching confirmation time for confirming the stability of the AC power will be intelligently extended, which can effectively avoid frequent switching caused by repeated abnormal switching of the AC power in a short period of time, reduce the number of unnecessary switching, and ultimately achieve the goal of minimizing the number of unnecessary switching between the AC power supply and the inverter power supply without increasing any hardware costs. This not only protects the equipment itself from the impact of switching, but also greatly guarantees the safety and reliability of the equipment's power use.
[0039] In order to better understand the above-mentioned technical scheme, the above-mentioned technical scheme will be described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be understood that the embodiments of the present invention and the specific features in the embodiments are detailed descriptions of the technical scheme of the present application, rather than limitations on the technical scheme of the present application. In the absence of conflict, the embodiments of the present invention and the technical features in the embodiments can be combined with each other.
[0040] Embodiment 1
[0041] refer to Figure 1 This embodiment discloses a method for correcting the switching confirmation time of an inverter. The switching confirmation time is the time the inverter needs to wait from the moment it confirms the need to switch to bypass power supply to the moment it starts the switching operation. It can also be said to be the time to confirm the stability of the city power.
[0042] Specifically, the inverter has two working modes, one is bypass power supply and the other is inverter power supply, and only one of the two working modes can be selected. The inverter includes an inverter circuit and a bypass. The bypass is generally composed of anti-parallel thyristors, which are connected between the outputs of the inverter circuit. When the power supply of the grid is normal, each IGBT in the inverter circuit inside the inverter is in the off state, and the bypass is in the working state, in which the anti-parallel thyristors are in the turn-on state, so that the grid power supply directly supplies power to the load through the bypass. This power supply method is also the bypass power supply mentioned in this article. When the bypass voltage and frequency of the inverter are normal, the inverter is always maintained in bypass power supply. Once the bypass voltage or frequency is abnormal, the inverter will quickly switch to the inverter power supply, that is, shut down the bypass, turn on the inverter function of the inverter circuit, and the inverter circuit will supply power to the load. During the inverter power supply process, if the bypass voltage and frequency are detected to be back to normal, it is necessary to switch back to the bypass power supply. However, when it is determined to switch back to the bypass power supply, the inverter does not switch directly, but needs to wait for a "switching confirmation time" before actually switching to the bypass power supply. The previous practice is to set a fixed "switching confirmation time", and this embodiment proposes to dynamically correct the "switching confirmation time" online, so that the number of unnecessary switching between the mains and the inverter power supply can be minimized without increasing any hardware costs, which not only protects the equipment itself from the impact of the switch, but also greatly guarantees the safety and reliability of the equipment's power use.
[0043] The method comprises:
[0044] S101: After the inverter switches from bypass power supply to inverter power supply, obtain the current grid voltage quality, the number of times the inverter switches to inverter power supply, and calculate the interval time from the last switch from bypass power supply to inverter power supply.
[0045] It is understandable that, for the first switch to inverter power supply, since there is no data of the number of switches and the interval time before, the interval time does not need to be calculated, and the default value is generally used. When switching to inverter power supply after the first time, the correction interval time should be calculated according to the method steps S101 and S102 of this embodiment.
[0046] The current grid voltage quality is obtained, specifically, the grid voltage quality level Y reflecting the current grid voltage quality is calculated. The smaller the value of Y is, the higher the level is, and the corresponding grid voltage quality is better.
[0047] After the interval time is calculated, it can be preferably converted into a time level t to simplify the calculation. The smaller the value of t, the higher the level, and the longer the corresponding interval time. For example, the time level t can be divided into three levels: the time interval is greater than 10 minutes, which is level 1; the time interval is within 5 minutes to 10 minutes, which is level 2; and the rest is level 3.
[0048] S102: According to the switching number, the current grid voltage quality and the interval time, the switching confirmation time for the inverter to switch to bypass power supply next time is calculated, and the calculated switching confirmation time is positively correlated with the switching number and negatively correlated with the current grid voltage quality and the interval time.
[0049] In order to effectively avoid the long-term confirmation of the mains power recovery action due to the accumulated number of switching intervals. Figure 2 The number of switching times in the present invention is the total number of times the inverter switches to the inverter power supply within the preset time period from the current time. In this embodiment, the number of switching times is determined by using a time sliding window, and the length of the time sliding window is the preset time period, such as Figure 2 Each arrow in the figure indicates that the inverter performs a power supply switch, the rightmost arrow indicates a switch currently occurring, and the rectangular box indicates a time sliding window, which moves synchronously with time. The end time of the window is the current time, and the time length between the start time and the end time of the window is the preset time length. The number of switches in the present invention refers to the number of arrows inside the rectangular box. In this way, the number of switches accumulated due to occasional abnormalities of the mains power and the actual stability of the mains power for most of the time is corrected, which saves battery power well.
[0050] The calculation of the switching confirmation time for the inverter to switch to bypass power supply next time specifically includes:
[0051] 1) Calculate the predicted time based on formula (1);
[0052] T=n*K1*t+n*K2*Y (1)
[0053] Among them, T in the calculation formula represents the prediction time, n represents the number of switching times, t represents the time level reflecting the interval time, the smaller t is, the longer the interval time is, Y represents the grid voltage quality level reflecting the current grid voltage quality, the smaller Y is, the better the current grid voltage quality is, and K1 and K2 are correction coefficients set by the user.
[0054] Among them, K1 and K2 can be set by the user in actual use. For example, K1 and K2 can be set according to the importance of the subsequent load connected to the inverter. K1 and K2 are positively correlated with the importance of the load. For example, the user can adjust the coefficients K1 and K2 according to the importance of the subsequent load. In principle, when the importance of the subsequent load is high, the values of K1 and K2 can be increased to avoid frequent switching. When the importance of the subsequent load is low, the data of K1 and K2 can be appropriately reduced to shorten the confirmation time.
[0055] 2) If the switching number is less than the switching number threshold, the predicted time calculated this time is directly used as the switching confirmation time corresponding to the next switching of the inverter to the bypass power supply;
[0056] 3) If the switching times reaches the switching times threshold, the larger one is selected from the predicted time calculated this time and the preset time threshold as the switching confirmation time corresponding to the next switching of the inverter to the bypass power supply.
[0057] For example, assuming that the preset time threshold is artificially set to Tset, and the switching number threshold is set to Nmax, when the switching number is less than Nmax, T calculated according to calculation formula (1) is used as the switching confirmation time for the inverter to switch to bypass power supply next time. When the switching number is Nmax, T calculated according to calculation formula (1) is specifically Tmax, then the larger one is selected from Tset and Tmax as the switching confirmation time for the inverter to switch to bypass power supply next time, that is, to ensure that when the switching number reaches Nmax, the switching confirmation time for the inverter to switch to bypass power supply next time will not be less than Tset. In addition, Tset and Nmax can be written into the inverter when the product leaves the factory, and the inverter can also provide a user setting function for the user to change Tset and Nmax.
[0058] Because according to the previous Figure 2 It is mentioned that the switching number n is the total number of times the inverter switches to inverter power supply within the preset time period starting from the current time, and the preset time period also moves with time, so once n increases, the next T will be longer. Therefore, when switching next time, the preset time period will move, and the counted n may decrease. The longer T is, the greater the possibility. Therefore, when n increases to Nmax, because the switching confirmation time for the inverter to switch to bypass power supply next time will not be less than Tset, we only need to set a reasonable Tset to ensure that the number of switching times does not exceed Nmax.
[0059] It should be noted that the above calculation formula (1) is only an example and is not intended to limit the present invention. In theory, as long as the switching confirmation time is positively correlated with the number of switching times and negatively correlated with the interval time and the grid voltage quality, it will be sufficient. That is, the more switching times, the smaller the interval time, and the worse the grid voltage quality, the longer the switching confirmation time for the next switch to bypass power supply.
[0060] The following is a detailed description of the process of determining level Y in step S101. In this embodiment, the current grid voltage quality is evaluated from two dimensions: mains voltage and frequency. For example, the voltage level and frequency level are analyzed, and then the grid voltage quality level representing the current grid voltage quality is calculated based on the voltage level and frequency level. Among them, the voltage level is further evaluated from two dimensions: voltage value and voltage stability value, and the frequency level is further evaluated from two dimensions: frequency value and frequency stability value. Specifically, it includes the following 1)-3):
[0061] 1) Analyze the voltage level, including: analyzing the current voltage value level Yv1 and the voltage stability value level Yv2 of the mains voltage according to the mains voltage collected in real time.
[0062] On the one hand, the analysis of the voltage level Yv1 specifically includes: calculating the difference ratio of the voltage value of the mains voltage collected in real time to the rated voltage value (the difference ratio refers to the absolute value of the difference between the voltage value of the mains voltage and the rated voltage value, divided by the rated voltage value), and determining the current voltage level Yv1 of the mains voltage according to the difference ratio. Among them, the lower the voltage level Yv1, the smaller the corresponding difference ratio.
[0063] For example, the voltage value level Yv1 can be divided into three levels: 1, 2, and 3. The difference ratio is within 5% for level 1, within 5%-10% for level 2, and beyond 10% for level 3.
[0064] On the other hand, the analysis of the voltage stability level Yv2 specifically includes: calculating the fluctuation ratio of the voltage value of the mains voltage collected in real time relative to its average value (the fluctuation ratio refers to the absolute value of the difference between the maximum value of the mains voltage and the average value of the voltage value, divided by the average value of the voltage value), and determining the current voltage stability level Yv2 of the mains voltage according to the fluctuation ratio. Among them, the lower the voltage stability level Yv2, the smaller the corresponding fluctuation ratio.
[0065] For example, the voltage value level Yv2 can be divided into three levels: 1, 2, and 3. The fluctuation ratio is within 1% for level 1, within 1%-2% for level 2, and beyond 2% for level 3.
[0066] 2) Analyze the frequency level, including: calculating the mains frequency collected in real time, analyzing the current frequency value level Yf1 and the frequency stability value level Yf2 of the mains frequency;
[0067] On the one hand, the analysis of the frequency value level Yf1 specifically includes: according to the difference ratio of the frequency value of the mains voltage collected in real time to the rated frequency value (the difference ratio refers to the absolute value of the difference between the frequency value of the mains voltage and the rated frequency value, divided by the rated frequency value), the current frequency value level Yf1 of the mains frequency is determined according to the difference ratio. Among them, the lower the frequency value level Yf1, the smaller the corresponding difference ratio.
[0068] For example, the frequency value level Yf1 can be divided into three levels: 1, 2, and 3. The difference ratio within 5% is level 1, within 5%-10% is level 2, and beyond 10% is level 3.
[0069] On the other hand, the analysis of the frequency stability value level Yf2 specifically includes: calculating the fluctuation ratio of the frequency value of the mains voltage collected in real time relative to its average value (the fluctuation ratio refers to the absolute value of the difference between the maximum frequency value of the mains voltage and the average frequency value, divided by the average frequency value), and determining the current frequency stability value level of the mains frequency based on the fluctuation ratio; the lower the frequency stability value level, the smaller the corresponding fluctuation ratio.
[0070] For example, the frequency stability value level Yf2 can be divided into three levels: 1, 2, and 3. The fluctuation ratio is within 1% for level 1, within 1%-2% for level 2, and beyond 2% for level 3.
[0071] 3) According to the voltage value level and / or voltage stability value level and / or frequency value level and / or frequency stability value level obtained through analysis, a grid voltage quality level Y reflecting the current grid voltage quality is calculated.
[0072] For example, assuming that the grid voltage quality level Y reflecting the current grid voltage quality is calculated based on the voltage value level, voltage stability value level, frequency value level and frequency stability value level obtained by analysis, it can be calculated according to calculation formula (2):
[0073] Y=Yv1+Yv2+Yf1+Yf2 (2)
[0074] It should be noted that the above calculation formula (2) is only an example. For example, in other embodiments, different weights may be assigned to Yv1, Yv2, Yf1, and Yf2.
[0075] Although the current grid voltage quality is specifically evaluated from two dimensions, namely, the mains voltage and the frequency, in other embodiments, the current grid voltage quality may be evaluated from only one dimension, namely, the mains voltage and the frequency, and these are all within the protection scope of the present invention. Similarly, although the present embodiment evaluates the voltage level from two dimensions, namely, the voltage value and the voltage stability value, it is understandable that in other embodiments, the voltage level may be evaluated from only one dimension, namely, the voltage value and the voltage stability value, and these are all within the protection scope of the present invention. Similarly, although the present embodiment evaluates the frequency level from two dimensions, namely, the frequency value and the frequency stability value, it is understandable that in other embodiments, the frequency level may be evaluated from only one dimension, namely, the frequency value and the frequency stability value, and these are all within the protection scope of the present invention.
[0076] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through a computer program, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods.
[0077] Embodiment 2
[0078] refer to Figure 3 , this embodiment is a method for power supply switching of an inverter, comprising:
[0079] S201: When the bypass voltage and frequency of the inverter are normal, the inverter maintains bypass power supply;
[0080] S202: If the bypass voltage or frequency is abnormal, switching to inverter power supply;
[0081] S203: Obtain the current grid voltage quality, the number of times the inverter switches to inverter power supply, and calculate the interval time from the last switch from bypass power supply to inverter power supply. The specific implementation process can refer to the previous method embodiment, which will not be repeated here.
[0082] S204: According to the switching times, the current grid voltage quality and the interval time, the switching confirmation time corresponding to the next switching of the inverter to the bypass power supply is calculated, and the calculated switching confirmation time is positively correlated with the switching times and negatively correlated with the current grid voltage quality and the interval time. The specific implementation process can refer to the previous method embodiment, which will not be repeated here.
[0083] S205: When confirming that the bypass voltage and frequency are normal, confirm that it is necessary to switch to bypass power supply, wait for the switching confirmation time, and then start the switching operation to switch to bypass power supply, and return to step S201.
[0084] Embodiment 3
[0085] refer to Figure 4This embodiment discloses an inverter, including an inverter unit for realizing direct current to alternating current conversion, a memory, a processor, and a collection unit for real-time collection of mains voltage and frequency to determine the current grid voltage quality. The memory stores a computer program executable by the processor, and the processor implements the steps of the method described in Example 1 or Example 2 when executing the computer program. The specific implementation process can refer to the previous method embodiment and will not be repeated here.
[0086] As a non-limiting example, the present invention may be implemented by one or more processors (e.g., microprocessors, digital signal processors, baseband processors, microcontrollers) executing software instructions (e.g., stored in non-permanent memory and / or permanent memory). In addition, the present invention may also be implemented using application specific integrated circuits (ASICs) and / or other hardware components.
[0087] Embodiment 4
[0088] This embodiment discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in Embodiment 1 or Embodiment 2 are implemented. The specific implementation process can refer to the previous method embodiments and will not be repeated here.
[0089] In summary, the method for correcting the switching confirmation time and power supply switching, the inverter and the storage medium of the present invention have the following beneficial effects: the present invention finds the switching confirmation time for the next switch to bypass power supply of the inverter suitable for the current situation according to the number of switches, the current grid voltage quality and the interval time from the last switch from bypass to inverter power supply. Since the calculated switching confirmation time is positively correlated with the number of switches and negatively correlated with the current grid voltage quality and the interval time, if the AC power is continuously abnormal, the next switching confirmation time for confirming the stability of the AC power will be intelligently extended, which can effectively avoid frequent switching caused by repeated abnormal switching of the AC power in a short period of time, and reduce the number of unnecessary switching times. It can be seen that the present invention does not increase any hardware cost while minimizing the number of unnecessary switching between AC power and inverter power supply, which not only protects the equipment itself from the impact of switching, but also greatly guarantees the safety and reliability of the equipment's power use.
[0090] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A method for correcting the switching confirmation time of an inverter, characterized in that: The switching confirmation time is the time that the inverter needs to wait from the moment when it confirms that it needs to switch to bypass power supply to the moment when the switching operation is put into operation. The method includes: After the inverter switches from bypass power supply to inverter power supply, obtain the current grid voltage quality, the number of times the inverter switches to inverter power supply, and calculate the interval time from the last switch from bypass power supply to inverter power supply; According to the switching number, the current grid voltage quality and the interval time, the switching confirmation time corresponding to the next switching of the inverter to the bypass power supply is calculated, and the calculated switching confirmation time is positively correlated with the switching number and negatively correlated with the current grid voltage quality and the interval time; The switching times are the total number of times the inverter switches to inverter power supply within a preset time period starting from the current time; The switching times are determined by using a time sliding window, the length of the time sliding window is the preset duration, and the switching confirmation time corresponding to the next switching of the inverter to the bypass power supply is calculated according to the switching times, the current grid voltage quality and the interval time, including: Based on calculation Calculate the predicted time; If the switching number is less than the switching number threshold, the predicted time calculated this time is directly used as the switching confirmation time corresponding to the next switching of the inverter to the bypass power supply; If the switching times reaches the switching times threshold, the larger one is selected from the predicted time calculated this time and the preset time threshold as the switching confirmation time corresponding to the next switching of the inverter to the bypass power supply; Among them, the calculation formula represents the predicted time, represents the switching number, represents a time level reflecting the interval time, The smaller the value, the longer the interval. Represents the grid voltage quality level reflecting the current grid voltage quality. The smaller it is, the better the quality of the current grid voltage is. , Correction factor set by the user.
2. The method for correcting the switching confirmation time of an inverter according to claim 1, characterized in that: The obtaining of the current grid voltage quality includes: Analyze the current voltage value level and / or voltage stability value level of the mains voltage based on the mains voltage collected in real time; and / or analyze the current frequency value level and / or frequency stability value level of the mains frequency based on the mains frequency collected in real time; According to the voltage value level and / or voltage stability value level and / or frequency value level and / or frequency stability value level obtained by analysis, a grid voltage quality level reflecting the current grid voltage quality is calculated.
3. The method for correcting the switching confirmation time of an inverter according to claim 2, characterized in that: The analysis of the current voltage level and / or voltage stability level of the mains voltage includes: Calculate the difference ratio of the voltage value of the mains voltage collected in real time to the rated voltage value, and determine the current voltage value level of the mains voltage according to the difference ratio; and / or calculate the fluctuation ratio of the voltage value of the mains voltage collected in real time to its average value, and determine the current voltage stability value level of the mains voltage according to the fluctuation ratio; Among them, the lower the voltage value level, the smaller the corresponding difference ratio, and the lower the voltage stability value level, the smaller the corresponding fluctuation ratio.
4. The method for correcting the switching confirmation time of an inverter according to claim 2, characterized in that: The analysis of the current frequency value level and / or frequency stability value level of the mains frequency includes: Calculate the difference ratio of the frequency value of the mains voltage collected in real time to the rated frequency value, and determine the current frequency value level of the mains frequency according to the difference ratio; and / or calculate the fluctuation ratio of the frequency value of the mains voltage collected in real time to its average value, and determine the current frequency stability value level of the mains frequency according to the fluctuation ratio; Among them, the lower the frequency value level, the smaller the corresponding difference ratio, and the lower the frequency stability value level, the smaller the corresponding fluctuation ratio.
5. A method for switching power supply of an inverter, characterized in that: include: When the bypass voltage and frequency of the inverter are normal, it maintains the bypass power supply; If the bypass voltage or frequency is abnormal, the inverter power supply is switched, and the switching confirmation time is corrected in real time based on the method described in any one of claims 1 to 4; When confirming that the bypass voltage and frequency are normal, confirm that it is necessary to switch to bypass power supply. After waiting for the switching confirmation time, start the switching operation to switch to bypass power supply.
6. An inverter, characterized in that: The invention comprises an inverter unit for realizing direct current to alternating current conversion, a memory, a processor and a collection unit for real-time collection of mains voltage and frequency to determine the quality of the current power grid voltage, wherein the memory stores a computer program executable by the processor, and the processor implements the steps of the method as claimed in any one of claims 1 to 4 when executing the computer program.
7. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
