CN113394874B - Generator power supply detection method, device, equipment and readable storage medium - Google Patents

Generator power supply detection method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN113394874B
CN113394874B CN202110651242.7A CN202110651242A CN113394874B CN 113394874 B CN113394874 B CN 113394874B CN 202110651242 A CN202110651242 A CN 202110651242A CN 113394874 B CN113394874 B CN 113394874B
Authority
CN
China
Prior art keywords
phase
power supply
locking
supply mode
generator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110651242.7A
Other languages
Chinese (zh)
Other versions
CN113394874A (en
Inventor
张堡森
王定富
杨鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhangzhou Kehua Electric Technology Co Ltd
Original Assignee
Zhangzhou Kehua Electric Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhangzhou Kehua Electric Technology Co Ltd filed Critical Zhangzhou Kehua Electric Technology Co Ltd
Priority to CN202110651242.7A priority Critical patent/CN113394874B/en
Publication of CN113394874A publication Critical patent/CN113394874A/en
Application granted granted Critical
Publication of CN113394874B publication Critical patent/CN113394874B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J9/00Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
    • H02J9/04Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source
    • H02J9/06Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems

Landscapes

  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The invention discloses a method for detecting power supply of a generator, which comprises the following steps: acquiring electric energy of external power supply; detecting phase locking information corresponding to the electric energy; the phase-locking information comprises phase-locking conditions and/or phase-locking frequency, wherein the phase-locking conditions comprise phase-locking completion states or phase-locking incompletion states; determining a power supply mode of the electric energy according to the phase-locked information; the power supply mode comprises a generator power supply mode or a power grid power supply mode; according to the invention, the power supply mode of the electric energy is determined according to the phase-locked information, and the detection of the external power supply condition of the power supply of the generator is realized by utilizing the phase-locked information of the electric energy of the external power supply, so that the condition that the UPS equipment cannot work normally can be avoided through corresponding control when the power supply of the generator is detected, the reliability of the UPS equipment is ensured, and the user experience is improved. In addition, the invention also discloses a device and equipment for detecting the power supply of the generator and a readable storage medium, and the device and the equipment have the same beneficial effects.

Description

Generator power supply detection method, device, equipment and readable storage medium
Technical Field
The present invention relates to the field of power supply technologies, and in particular, to a method, an apparatus, a device, and a readable storage medium for detecting power supply of a generator.
Background
At present, a generator is often matched in the use process of UPS (Uninterruptible Power System) equipment, so that the generator is utilized to externally supply power to the UPS equipment when a power grid is powered off.
In the prior art, when the power generator is used for externally supplying power to the UPS equipment, the UPS equipment can be in a condition of not normally working, such as the condition that the UPS equipment can not normally start up to work when the power of the power generator is smaller, and the UPS equipment entering into work can be in a condition of exiting from boosting work of external power supply and switching to battery state work when the power of the power generator is smaller. Therefore, how to enable the UPS device to detect the external power supply condition of the power supplied by the generator, so that the UPS device can perform normal operation by using the power supplied by the generator, and user experience is improved, which is an urgent problem to be solved nowadays.
Disclosure of Invention
The invention aims to provide a method, a device and equipment for detecting power supply of a generator and a readable storage medium, so that UPS equipment can detect the external power supply condition of the power supply of the generator, and the UPS equipment can work normally by using the power supply of the generator, and user experience is improved.
In order to solve the technical problems, the invention provides a method for detecting power supply of a generator, which comprises the following steps:
acquiring electric energy of external power supply;
Detecting phase locking information corresponding to the electric energy; the phase-locking information comprises phase-locking conditions and/or phase-locking frequency, wherein the phase-locking conditions comprise phase-locking completion states or phase-locking incompletion states;
Determining a power supply mode of the electric energy according to the phase-locking information; wherein the power supply mode comprises a generator power supply mode or a grid power supply mode.
Optionally, when the phase-locked information includes the phase-locked condition or the phase-locked condition and the phase-locked frequency, determining, according to the phase-locked information, a power supply mode of the electric energy includes:
judging whether the phase locking condition is changed into the phase locking completion state within a first preset time;
if not, determining the power supply mode as the generator power supply mode.
Optionally, when the phase-locked information includes the phase-locked frequency or the phase-locked frequency and the phase-locked condition, determining, according to the phase-locked information, a power supply mode of the electric energy includes:
Determining the power supply mode according to the target frequency change times corresponding to the phase-locked frequency in a second preset time; wherein the target frequency change times are the times of phase-locked frequency change reaching a frequency threshold.
Optionally, the determining the power supply mode according to the target frequency change times corresponding to the phase-locked frequency in the second preset time includes:
Detecting the current phase-locked frequency according to a third preset time interval; wherein the current phase-locked frequency is any one of the phase-locked frequencies;
Judging that the target frequency change times in the second preset time is greater than a first time threshold; wherein the target frequency change times are times when the absolute value of the difference between the current phase-locked frequency and the last phase-locked frequency is larger than the frequency threshold value;
And if the power supply mode is greater than the first time number threshold, determining that the power supply mode is the generator power supply mode.
Optionally, after the determining whether the number of times of the target frequency change in the second preset time reaches the number of times threshold, the method further includes:
If not, judging whether the target frequency change times in the second preset time are smaller than a second time threshold; wherein the second time threshold is less than the first time threshold;
if the power supply mode is smaller than the second time threshold, determining that the power supply mode is the power grid power supply mode;
And if the phase-locked frequency is not smaller than the second time threshold, re-timing and executing the step of detecting the current phase-locked frequency according to a third preset time interval.
Optionally, the detecting the phase-locked information corresponding to the electrical energy includes:
And detecting the phase locking information when the voltage of the electric energy is in a normal voltage range and the frequency is in a normal frequency range.
Optionally, after determining the power supply mode of the electric energy according to the phase-locked information, the method further includes:
Detecting a slow start condition of a bus when the power supply mode is determined to be the power supply mode of the generator;
And if the slow start condition is in a slow start incomplete state, starting by using battery power supply, and working by using the external power supply after the slow start condition is in a slow start completion state.
The invention also provides a device for detecting the power supply of the generator, which comprises:
the acquisition module is used for acquiring electric energy of external power supply;
the detection module is used for detecting phase locking information corresponding to the electric energy; the phase-locking information comprises phase-locking conditions and/or phase-locking frequency, wherein the phase-locking conditions comprise phase-locking completion states or phase-locking incompletion states;
the determining module is used for determining a power supply mode of the electric energy according to the phase-locking information; wherein the power supply mode comprises a generator power supply mode or a grid power supply mode.
The invention also provides a detection device for power supply of the generator, which comprises:
a memory for storing a computer program;
And a processor for implementing the steps of the generator power supply detection method as described above when executing the computer program.
Furthermore, the present invention provides a readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the generator powered detection method as described above.
The invention provides a method for detecting power supply of a generator, which comprises the following steps: acquiring electric energy of external power supply; detecting phase locking information corresponding to the electric energy; the phase-locking information comprises phase-locking conditions and/or phase-locking frequency, wherein the phase-locking conditions comprise phase-locking completion states or phase-locking incompletion states; determining a power supply mode of the electric energy according to the phase-locked information; the power supply mode comprises a generator power supply mode or a power grid power supply mode;
Therefore, the invention determines the power supply mode of the electric energy according to the phase-locked information, and realizes the detection of the external power supply condition of the power supplied by the generator by utilizing the phase-locked information of the electric energy supplied by the external power supply, so that the condition that the UPS equipment cannot work normally can be avoided through corresponding control when the power supplied by the generator is detected, the reliability of the UPS equipment is ensured, and the user experience is improved. In addition, the invention also provides a device and equipment for detecting the power supply of the generator and a readable storage medium, and the device and the equipment have the same beneficial effects.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for detecting power supplied by a generator according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for detecting power supplied by a generator according to an embodiment of the present invention;
FIG. 3 is a block diagram of a power generator power supply detection device according to an embodiment of the present invention;
Fig. 4 is a schematic structural diagram of a power-supplied detection device of a generator according to an embodiment of the present invention;
Fig. 5 is a schematic diagram of a specific structure of a power-generator-powered detection device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
At present, the UPS device is difficult to detect a power supply mode of external power supply, that is, the UPS device cannot identify whether the power of external power supply is from a power grid or a generator, so that when the power generator is adopted to externally power the UPS device, the UPS device can be in a condition of incapable normal work, such as when the power of the power generator is smaller, the UPS device can be in a condition of incapable normal start-up work, and the UPS device entering work can be in a condition of exiting from the boost work of external power supply and switching to the battery state work when the UPS device with light load and battery charge.
Experiments show that the problem that the UPS equipment cannot work normally due to the power supply of the generator is as follows: when the generator is powered, the input voltage and the frequency of the UPS equipment are normal, the input frequency is always in a changed state, the frequency change rate is higher (such as higher than 2 Hz/s), when the probabilistic phase locking is completed, the SCR (Silicon Controlled Rectifier ) of the UPS equipment can not jump out of the phase locking completion condition as soon as the buffer bus is completed, and the phenomenon is repeated, so that the bus cannot be buffered, the operation in a commercial power state cannot be performed all the time, and the operation cannot be performed by using external power supply; and when the UPS equipment works by using the generator, after the UPS equipment is loaded, the power fluctuation of the output of the generator is aggravated, so that the trigger frequency is abnormal, and the UPS equipment is switched to the battery inversion. In view of this, the invention detects the external power supply condition by taking the phase-locked information of the externally supplied electric energy as a condition, and realizes the detection of the power supply mode of the power supply of the generator, thereby avoiding the occurrence of the condition that the UPS device cannot work normally by corresponding control when the power supply of the generator is detected, ensuring the reliability of the UPS device and improving the user experience.
The method for detecting the power supply of the generator is described below. Referring to fig. 1, fig. 1 is a flowchart of a method for detecting power supplied by a generator according to an embodiment of the invention.
The method may include:
step 101: and acquiring electric energy of external power supply.
The externally supplied electric energy in this step may be electric energy for supplying electric equipment (such as UPS equipment) from the outside, such as electric power supplied by a power grid or electric power supplied by a generator.
Specifically, the specific manner of obtaining the external power supply by the electric device in this embodiment may be implemented in the same or similar manner to the external power supply method of the electric device in the prior art, for example, the UPS device may receive the electric energy output by the power grid or the generator through the external power supply interface, which is not limited in this embodiment.
Step 102: detecting phase locking information corresponding to the electric energy; the phase-locking information comprises phase-locking condition and/or phase-locking frequency, and the phase-locking condition comprises phase-locking completion state or phase-locking incompletion state.
It can be understood that the phase locking information in this step may be information related to phase locking of the electric energy supplied to the outside by the electric device. For the specific content of the phase-locking information in the step, the phase-locking information can be set by a designer according to a practical scene and user requirements, for example, the phase-locking information can comprise a phase-locking condition, namely, in the step, electric equipment can detect whether the electric energy of external power supply is phase-locked or not; if the phase locking is completed, determining the phase locking condition as a phase locking completion state; if the phase locking is not completed, determining that the phase locking condition is a phase locking uncompleted state. The phase-locked information may also include a phase-locked frequency, i.e. a frequency calculated by phase-locking the externally supplied electrical energy. The phase lock information may also include phase lock conditions and phase lock frequencies. The embodiment does not limit the power supply mode of the electric energy as long as the electric equipment can determine the power supply mode of the electric energy by using the detected phase-locking information corresponding to the externally supplied electric energy.
Specifically, the embodiment is not limited to a specific manner of detecting phase-locked information corresponding to electric energy by electric equipment, and may be implemented in the same or similar manner as a phase-locked information detection method in the prior art, for example, when the phase-locked information includes a phase-locked condition, the UPS device may detect whether phase locking of a PFC (Power Factor Correction ) component is completed; if so, determining the phase locking condition as a phase locking completion state; if not, determining the phase-locking condition as a phase-locking uncompleted state. When the phase-locked information includes a phase-locked frequency, the UPS device may detect a frequency calculated by the PFC component at the time of phase locking (i.e., a phase-locked frequency).
Furthermore, the electric equipment in the step can detect the phase-locking information corresponding to the electric energy when the voltage and the frequency of the electric energy supplied from the outside are normal, so as to determine the power supply mode of the electric energy by utilizing the phase-locking information; and when the voltage or frequency of the externally supplied electric energy is abnormal, the power supply mode of the electric energy can be directly determined to be the power supply mode of the generator, or the externally supplied electric energy is determined to be unavailable.
Step 103: determining a power supply mode of the electric energy according to the phase-locked information; wherein the power supply mode includes a generator power supply mode or a grid power supply mode.
Specifically, the power supply mode in this step may be an external power supply mode adopted by the electric equipment; the power supply mode may be a power grid power supply mode in which a power grid is used to externally supply power to the electric equipment, or a generator power supply mode in which a generator is used to externally supply power to the electric equipment.
It can be understood that the electric equipment in this step can utilize the phase locking information of the electric energy of external power supply to detect the power supply mode of external power supply for the electric equipment can be through corresponding control when detecting the generator power supply, avoids the condition emergence such as the unable normal work of electric equipment of UPS equipment.
Specifically, for the specific mode of determining the power supply mode of the electric energy according to the phase-locking information by the electric equipment in the step, the specific mode can be set by a designer according to a practical scene and user requirements, for example, when the phase-locking information comprises a phase-locking condition or a phase-locking frequency, the electric equipment can only determine the power supply mode of the electric energy by using the phase-locking condition or the phase-locking frequency corresponding to the electric energy of external power supply; for example, in this step, the electric device may determine whether the phase-locked condition changes to a phase-locked state within a first preset time; if not, determining that the power supply mode of the electric energy is a generator power supply mode; if yes, determining that the power supply mode of the electric energy is a power grid power supply mode. If the phase-locking information comprises phase-locking conditions and phase-locking frequency, the electric equipment can also determine the power supply mode of the electric energy according to the phase-locking conditions and the phase-locking frequency corresponding to the electric energy supplied from the outside so as to improve the accuracy of power supply mode detection by using the frequency obtained by phase-locking calculation (namely the phase-locking frequency); for example, in this step, the electric device may determine whether the phase-locked condition changes to a phase-locked state within a first preset time; if not, determining that the power supply mode of the electric energy is a generator power supply mode; if so, determining a power supply mode of the electric energy according to the phase-locked frequency corresponding to the electric energy; the electric equipment can also determine the power supply mode of the electric energy according to the phase locking frequency corresponding to the electric energy while judging whether the phase locking condition is changed into the phase locking completion state within the first preset time; when the phase lock is not changed to the phase lock completion state within the first preset time, determining that the power supply mode of the electric energy is a generator power supply mode; and when the phase-locking state is changed into the phase-locking completion state within the first preset time or the first preset time is not reached, directly utilizing the phase-locking frequency to determine the power supply mode of the electric energy. The embodiment does not limit the power supply mode of the electric energy as long as the electric equipment can utilize the phase locking information corresponding to the electric energy supplied from the outside.
It should be noted that, after the power supply mode of the electric energy is determined in step 103, the electric device in this embodiment may further include executing a power supply control operation corresponding to the determined power supply mode; for example, when the power consumption and the equipment are UPS equipment, if the determined power supply mode is a power grid power supply mode, the UPS equipment may use electric energy of external power supply (i.e., power grid power supply) to supply power to the battery and/or the load in the same or similar manner as the existing external power supply usage method; if the determined power supply mode is the generator power supply mode, the UPS equipment can be started from a battery state when the bus is not slowly started, and is switched to the mains supply for boosting after the bus is slowly started, so that the mains supply can be switched to boost after the bus is slowly started, only one phase locking is completed, and the PFC component can work in an out-of-synchronization state. Correspondingly, when the UPS device performs commercial power boosting operation by utilizing the electric energy supplied by the generator, PFC loop coefficients (such as voltage loop coefficients and/or current loop coefficients) can be reduced so as to reduce the influence on the generator; the charging power of the battery can also be reduced to ensure the output power of the UPS device to the load preferentially.
In the embodiment of the invention, the power supply mode of the electric energy is determined according to the phase-locked information, and the detection of the external power supply condition of the power supplied by the generator is realized by utilizing the phase-locked information of the electric energy supplied by the external power supply, so that the condition that the UPS equipment cannot work normally can be avoided through corresponding control when the power supplied by the generator is detected, the reliability of the UPS equipment is ensured, and the user experience is improved.
Referring to fig. 2, fig. 2 is a flowchart of another power supply detection method for a generator according to an embodiment of the invention. The method may include:
Step 201: and acquiring electric energy of external power supply.
The present step is similar to step 101, and will not be described herein.
Step 202: detecting phase locking information corresponding to the electric energy when the voltage of the electric energy is in a normal voltage range and the frequency is in a normal frequency range; the phase-locking information comprises phase-locking condition and phase-locking frequency, and the phase-locking condition comprises phase-locking completion state or phase-locking incompletion state.
It can be understood that in this embodiment, the voltage and the frequency of the received external power supply electric energy of the electric equipment (such as UPS equipment) can be detected to be normal, that is, when the voltage and the frequency are in the respective corresponding normal ranges, the power supply mode of the electric energy is determined according to the phase locking condition and the phase locking frequency of the electric energy, so that when the power supply mode is detected to supply power to the generator, the occurrence of the condition that the UPS equipment cannot work normally is avoided through corresponding power supply control operation.
Specifically, the normal voltage range and the normal frequency range in the step can be the voltage range and the frequency range of external power supply electric energy which is normally used by electric equipment; the embodiment does not limit specific range settings of the normal voltage range and the normal frequency range, for example, the normal voltage range and the normal frequency range may be a voltage range and a frequency range corresponding to a mains supply for supplying power to the power grid.
Correspondingly, in the embodiment, the electric equipment can directly determine that the power supply mode of the electric energy is the power supply mode of the generator when the voltage of the electric energy is not in the normal voltage range or the frequency is not in the normal frequency range; or when the voltage of the electric energy is not in the normal voltage range or the duration of the frequency which is not in the normal frequency range reaches a certain time, determining the power supply mode of the electric energy as the power supply mode of the generator. The present embodiment does not impose any limitation on this.
Step 203: judging whether the phase locking condition is changed into a phase locking completion state within a first preset time; if not, go to step 204.
It can be understood that in this step, the electric device determines whether the phase-locking condition is changed into the phase-locking completion state within the first preset time, that is, whether the phase-locking of the externally supplied electric energy is completed within the first preset time, so that when the phase-locking of the externally supplied electric energy cannot be completed within the first preset time, the step 204 is entered, and it is determined that the power supply mode of the electric energy is the generator power supply mode.
Specifically, for the specific time setting of the first preset time in the step, the designer can set the first preset time according to a practical scene and user requirements, for example, when the electric equipment is UPS equipment, the first preset time can be 10s, for example, when the voltage and the frequency of the electric energy of the external power supply are normal, if the UPS equipment cannot complete phase locking within 10s after 3s of power up, the external power supply is determined to be the power supply of the generator.
Correspondingly, in this embodiment, when the phase locking condition of the electric energy cannot be determined that the power supply mode is the power supply mode of the generator (for example, the electric energy becomes the phase locking completion state in the first preset time), the power supply mode of the electric energy is determined by using the phase locking frequency of the electric energy through step 205.
Step 204: and determining the power supply mode of the electric energy as a generator power supply mode.
It can be understood that the electric equipment in this step may determine that the externally supplied electric energy is the electric energy supplied by the generator when the voltage of the externally supplied electric energy is in the normal voltage range and the frequency is in the normal frequency range and the phase lock cannot be completed within the first preset time, so that the power supply control operation corresponding to the power supply of the generator is performed in step 206, and the UPS device is prevented from being unable to work normally.
Step 205: and determining a power supply mode of the electric energy according to the phase-locked frequency corresponding to the electric energy.
Specifically, the phase-locked frequency in this step may be a frequency obtained by phase-locking calculation of external power supply, or may be a frequency obtained by processing (such as filtering) the frequency obtained by phase-locking calculation. In the step, the electric equipment can detect the power supply mode of the electric energy by using the frequency obtained by phase locking calculation (namely phase locking frequency) when the voltage of the electric energy supplied from the outside is in a normal voltage range and the frequency is in a normal frequency range and the power supply mode cannot be determined to be the power supply mode of the generator by using the phase locking condition of the electric energy, so that the accuracy of detecting the power supply mode is improved.
It should be noted that, for the specific mode of determining the power supply mode of the electric energy according to the phase-locked frequency corresponding to the electric energy in the step, the specific mode can be set by a designer, for example, the electric equipment can determine the power supply mode of the electric energy according to the phase-locked frequency change times of reaching a frequency threshold (for example, 0.1 Hz) in a certain time; namely, the electric equipment can determine the power supply mode of the electric energy according to the target frequency change times corresponding to the phase-locked frequency in the second preset time; the target frequency change times are the times of phase-locked frequency change reaching a frequency threshold. The electric equipment can also determine the power supply mode of the electric energy according to the maximum phase-locking frequency change or the average phase-locking frequency change in a certain time. The electric equipment can also determine the power supply mode of the electric energy according to the detection frequency change times corresponding to the phase-locked frequency in the fourth preset time; the number of times of detecting the frequency change may be the number of times that a difference between a maximum phase-locked frequency and a minimum phase-locked frequency in a fifth preset time is greater than a frequency detection threshold, and the fourth preset time may include n fifth preset times, where n is a positive integer greater than or equal to 1. The electric equipment can also adopt the two or more modes at the same time, and the power supply mode of the electric energy is determined by utilizing the phase locking frequency corresponding to the electric energy. The present embodiment does not impose any limitation on this.
Specifically, the embodiment is not limited to the specific manner of determining the power supply mode of the electric energy according to the number of target frequency changes corresponding to the phase-locked frequency in the second preset time, for example, the electric equipment may detect the current phase-locked frequency according to the third preset time (for example, 50 ms) interval; judging that the target frequency change times in the second preset time (such as 10 s) is greater than the first time threshold (such as 100 times); if the power supply mode is greater than the first time number threshold, determining that the power supply mode is a generator power supply mode; the current phase-locked frequency can be any phase-locked frequency, and the target frequency change times can be times when the absolute value of the difference between the current phase-locked frequency and the last phase-locked frequency is larger than a frequency threshold value; the frequency threshold may be a fixed value (e.g., 0.1 Hz), or may be a value corresponding to the previous phase-locked frequency or the current phase-locked frequency, e.g., 0.01 x the previous phase-locked frequency.
Correspondingly, when the number of target frequency changes within the second preset time is not greater than the first time threshold, the electric equipment can directly determine that the power supply mode is a power grid power supply mode; whether the target frequency change times in the second preset time are smaller than a second time threshold (such as 50 times) can be continuously judged, so that when the target frequency change times in the second preset time are smaller than the second time threshold, the power supply mode is determined to be a power grid power supply mode; and when the target frequency change times in the second preset time are smaller than or equal to the first time threshold and larger than or equal to the second time threshold, re-timing, and continuously detecting the current phase-locked frequency according to a third preset time interval so as to detect the new target frequency change times in the period of the second preset time. For example, in this step, the electric device may filter the frequency obtained by phase locking calculation, compare the filtered frequency (i.e. the phase locking frequency) at intervals of 50ms (i.e. the third preset time), accumulate if the variation frequency exceeds 0.1HZ (i.e. 5 HZ/s), take 10s (i.e. the second preset time) as a period, and determine that the external power supply supplies power to the generator if the accumulated number (i.e. the target frequency variation number) exceeds 100 (i.e. the first time threshold) within 10 s; determining that the external power supply supplies power to the power grid if the accumulated number is lower than 50 (namely, a second time threshold value) within 10 seconds; and when the accumulated number is between 50 and 100 in 10 seconds, resetting the accumulated number and the timing, and continuing to detect the accumulated number in the next 10 seconds.
Step 206: and executing the power supply control operation corresponding to the determined power supply mode.
It can be understood that the electric equipment in this step can execute corresponding power supply control operation according to the determined power supply mode, so as to avoid the situation that the UPS equipment cannot work normally when the generator supplies power through the corresponding power supply control operation when the determined power supply mode is the generator power supply mode.
Specifically, for the specific mode of executing the power supply control operation corresponding to the determined power supply mode by the electric equipment in the step, the power supply control operation can be set by a designer according to a practical scene and user requirements, for example, when the electric equipment is UPS equipment, the UPS equipment can complete bus boosting by utilizing the power supply of the power grid because the frequency of the externally supplied electric energy is relatively stable when the power grid supplies power, the frequency of the externally supplied electric energy is always in a changed state when the power generator supplies power, the frequency change rate is relatively high, and the UPS equipment is difficult to boost the bus by utilizing the power supply of the power grid; the bus boosting can comprise two processes of buffering and restarting of the bus; therefore, when the determined power supply mode is the power grid power supply mode, the UPS device can directly adopt the existing external power supply using method, and perform bus buffering and bus restarting by using the electric energy of the power grid power supply to complete bus boosting, and perform work (such as power supply to a battery and/or a load) by using external power supply after the bus restarting is completed (i.e., bus boosting is completed). The UPS equipment can detect the slow start condition of the bus when the determined power supply mode is the power supply mode of the generator; if the slow start condition is in a slow start incomplete state (i.e. the bus boosting is not completed), starting by using battery power in the UPS equipment, and working by using external power after the slow start condition is in a slow start complete state (i.e. the bus boosting is completed); when the determined power supply mode is the generator power supply mode, the UPS equipment can also be started by directly utilizing the battery power supply in the UPS equipment, and after the bus boosting is completed, the UPS equipment can work by utilizing external power supply.
That is, the UPS device may start from a battery state when detecting the power supply mode of the generator, and switch to the mains supply boost for external power supply after the bus is slowly started, so that after the bus is slowly started, only one phase lock is completed, the UPS device may switch to the mains supply boost, and the PFC component may operate in an out-of-synchronization state; when the PFC part works in a synchronous state, the PFC part controls the phase of the boosted PWM wave to be consistent with the sine wave of the voltage supplied by the outside, so that the input PF (power factor) value of the UPS equipment is ensured to be high, and the phase of the current supplied by the outside is kept consistent with the phase of the voltage; when the PFC part works in an out-of-sync state, the PWM wave phase of the boost controlled by the PFC part is inconsistent with the sine wave of the externally supplied voltage, at the moment, the externally supplied current is not the sine wave, and the externally supplied current phase is inconsistent with the voltage phase; that is, when the PFC component operates in an out-of-sync state, the voltage phase of the PFC component control output may not be consistent with the voltage phase of the external power supply.
Correspondingly, when the UPS equipment supplies power for the generator in the determined power supply mode, the target PFC loop coefficient can be adopted to carry out power factor correction on the electric energy supplied by the generator so as to reduce the influence on the generator; the PFC loop coefficients of each target may be less than the PFC loop coefficients of the grid power mode. When the UPS equipment supplies power for the generator in the determined power supply mode, the battery of the UPS equipment can be supplied with power by adopting target charging power when the battery and the load are required to be supplied with power, so that the output power of the UPS equipment to the load is preferentially ensured; the target charging power is smaller than the battery power supply power corresponding to the power grid power supply mode.
In the embodiment of the invention, the power supply mode of the electric energy is determined according to the phase-locked frequency corresponding to the electric energy, so that the frequency obtained by phase-locking calculation can be utilized, and the detection accuracy of the external power supply condition of the power supply of the generator is improved; and through executing the power supply control operation corresponding to the determined power supply mode, the corresponding power supply control operation can be executed when the power supply of the generator is detected, so that the condition that the UPS equipment cannot work normally is avoided, the reliability of the UPS equipment is ensured, and the user experience is improved.
Corresponding to the above method embodiment, the embodiment of the present invention further provides a device for detecting power supplied by a generator, where the device for detecting power supplied by a generator described below and the method for detecting power supplied by a generator described above may be referred to correspondingly with each other.
Referring to fig. 3, fig. 3 is a block diagram of a power supply detection device of a generator according to an embodiment of the invention. The apparatus may include:
an acquisition module 10 for acquiring externally supplied electric energy;
the detection module 20 is configured to detect phase-locked information corresponding to the electric energy; the phase-locking information comprises phase-locking conditions and/or phase-locking frequency, wherein the phase-locking conditions comprise phase-locking completion states or phase-locking incompletion states;
a determining module 30, configured to determine a power supply mode of the electric energy according to the phase-locked information; wherein the power supply mode includes a generator power supply mode or a grid power supply mode.
Optionally, when the phase-locked information includes a phase-locked condition or a phase-locked condition and a phase-locked frequency, the determining module 30 may include:
the phase locking condition judging sub-module is used for judging whether the phase locking condition is changed into a phase locking completion state within a first preset time;
The first determining submodule is used for determining that the power supply mode is a generator power supply mode if the phase lock completion state is not changed within a first preset time;
Optionally, when the phase-locked information includes a phase-locked frequency or a phase-locked frequency and a phase-locked condition, the determining module 30 may include:
The phase-locked frequency determining submodule is used for determining a power supply mode according to the target frequency change times corresponding to the phase-locked frequency in the second preset time; the target frequency change times are the times of phase-locked frequency change reaching a frequency threshold.
Optionally, the phase-locked frequency determining submodule may include:
The intermittent detection unit is used for detecting the current phase-locked frequency according to a third preset time interval; wherein the current phase-locked frequency is any phase-locked frequency;
the first judging unit is used for judging that the number of target frequency change times in the second preset time is greater than a first time threshold value; the target frequency change times are times when the absolute value of the difference between the current phase-locked frequency and the last phase-locked frequency is larger than a frequency threshold value;
And the first determining unit is used for determining that the power supply mode is a generator power supply mode if the first number threshold value is larger than the first number threshold value.
Optionally, the phase-locked frequency determining submodule may further include:
the second judging unit is used for judging whether the frequency change times of the target in the second preset time are smaller than a second frequency threshold value or not if the frequency change times of the target in the second preset time are not larger than the first frequency threshold value; wherein the second time threshold is less than the first time threshold;
the second determining unit is used for determining that the power supply mode is a power grid power supply mode if the power supply mode is smaller than a second time threshold;
And the re-timing unit is used for re-timing and sending a starting signal to the discontinuous detection subunit if the re-timing unit is not smaller than the second time threshold.
Alternatively, the detection module 20 may be specifically configured to detect the phase-locked information when the voltage of the electric energy is in the normal voltage range and the frequency is in the normal frequency range.
The apparatus may optionally further comprise:
The slow start condition determining module is used for detecting the slow start condition of the bus when the power supply mode is determined to be the power supply mode of the generator;
And the switching starting module is used for starting by using battery power if the slow starting condition is in a slow starting incomplete state, and working by using external power supply after the slow starting condition is in a slow starting completion state.
In this embodiment, the determining module 30 determines the power supply mode of the electric energy according to the phase-locked information, and uses the phase-locked information of the electric energy supplied from the outside to realize the detection of the external power supply condition of the power generator, so that the condition that the UPS device cannot work normally can be avoided through corresponding control when the power generator is detected to supply power, the reliability of the UPS device is ensured, and the user experience is improved.
Corresponding to the above method embodiment, the embodiment of the present invention further provides a generator-powered detection device, where a generator-powered detection device described below and a generator-powered detection method described above may be referred to correspondingly.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a power-generator-powered detection apparatus according to an embodiment of the present invention. The generator powered detection device may include:
A memory D1 for storing a computer program;
and the processor D2 is used for implementing the steps of the method for detecting the power supply of the generator provided by the embodiment of the method when executing the computer program.
Specifically, referring to fig. 5, fig. 5 is a schematic diagram of a specific structure of a power-generator detection apparatus according to an embodiment of the present invention, where the power-generator detection apparatus may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 322 (e.g., one or more processors) and a memory 332, and one or more storage mediums 330 (e.g., one or more mass storage devices) storing applications 342 or data 344. Wherein the memory 332 and the storage medium 330 may be transitory or persistent. The program stored on the storage medium 330 may include one or more modules (not shown), each of which may include a series of instruction operations in the device. Still further, the central processor 322 may be configured to communicate with the storage medium 330 and execute a series of instruction operations in the storage medium 330 on the generator-powered detection device 301.
The generator powered detection device 301 may also include one or more power supplies 326, one or more wired or wireless network interfaces 350, one or more input output interfaces 358, and/or one or more operating systems 341. For example, windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, etc.
The generator-powered detection device 301 may be embodied as a UPS device, among other things.
The steps in the above described generator-powered detection method may be implemented by the structure of the generator-powered detection apparatus.
Corresponding to the above method embodiments, the embodiments of the present invention further provide a readable storage medium, where a readable storage medium described below and a method for detecting power supplied by a generator described above may be referred to correspondingly.
A readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the generator powered detection method of the above method embodiments.
The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, which may store various program codes.
In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. The apparatus, device and readable storage medium disclosed in the embodiments are relatively simple to describe, and the relevant points refer to the description of the method section since they correspond to the methods disclosed in the embodiments.
The method, the device, the equipment and the readable storage medium for detecting the power supply of the generator provided by the invention are described in detail. The principles and embodiments of the present invention have been described herein with reference to specific examples, the description of which is intended only to facilitate an understanding of the method of the present invention and its core ideas. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the invention can be made without departing from the principles of the invention and these modifications and adaptations are intended to be within the scope of the invention as defined in the following claims.

Claims (7)

1. A method for detecting power supplied by a generator, comprising:
Acquiring electric energy of external power supply; wherein the electric energy is electric energy supplied by a power grid or electric energy supplied by a generator;
Detecting phase locking information corresponding to the electric energy; the phase-locking information comprises phase-locking conditions and/or phase-locking frequency, wherein the phase-locking conditions comprise phase-locking completion states or phase-locking incompletion states;
determining a power supply mode of the electric energy according to the phase-locking information; wherein the power supply mode comprises a generator power supply mode or a power grid power supply mode;
The determining the power supply mode of the electric energy according to the phase-locked information comprises the following steps:
When the phase locking information comprises the phase locking condition, judging whether the phase locking condition is changed into the phase locking completion state within a first preset time; if not, determining the power supply mode as the power supply mode of the generator;
or alternatively, the first and second heat exchangers may be,
When the phase-locking information comprises the phase-locking frequency, determining the power supply mode according to the target frequency change times corresponding to the phase-locking frequency in a second preset time; wherein the target frequency change times are the times of phase-locked frequency change reaching a frequency threshold;
The determining the power supply mode according to the target frequency change times corresponding to the phase-locked frequency in the second preset time includes: detecting the current phase-locked frequency according to a third preset time interval; wherein the current phase-locked frequency is any one of the phase-locked frequencies; judging whether the target frequency change times in the second preset time is larger than a first time threshold value or not; wherein the target frequency change times are times when the absolute value of the difference between the current phase-locked frequency and the last phase-locked frequency is larger than the frequency threshold value; and if the power supply mode is greater than the first time number threshold, determining that the power supply mode is the generator power supply mode.
2. The method for detecting power supplied by a generator according to claim 1, wherein after said determining whether the number of target frequency changes within the second preset time reaches a first time threshold, further comprising:
If not, judging whether the target frequency change times in the second preset time are smaller than a second time threshold; wherein the second time threshold is less than the first time threshold;
if the power supply mode is smaller than the second time threshold, determining that the power supply mode is the power grid power supply mode;
And if the phase-locked frequency is not smaller than the second time threshold, re-timing and executing the step of detecting the current phase-locked frequency according to a third preset time interval.
3. The method for detecting power supplied by a generator according to claim 1, wherein the detecting phase-locked information corresponding to the electric energy includes:
And detecting the phase locking information when the voltage of the electric energy is in a normal voltage range and the frequency is in a normal frequency range.
4. A method of detecting power supplied by a generator according to any one of claims 1 to 3, wherein after determining the power supply mode of the electric energy based on the phase-locked information, further comprising:
Detecting a slow start condition of a bus when the power supply mode is determined to be the power supply mode of the generator;
And if the slow start condition is in a slow start incomplete state, starting by using battery power supply, and working by using the external power supply after the slow start condition is in a slow start completion state.
5. A generator powered detection device, comprising:
The acquisition module is used for acquiring electric energy of external power supply; wherein the electric energy is electric energy supplied by a power grid or electric energy supplied by a generator;
the detection module is used for detecting phase locking information corresponding to the electric energy; the phase-locking information comprises phase-locking conditions and/or phase-locking frequency, wherein the phase-locking conditions comprise phase-locking completion states or phase-locking incompletion states;
The determining module is used for determining a power supply mode of the electric energy according to the phase-locking information; wherein the power supply mode comprises a generator power supply mode or a power grid power supply mode;
The determining the power supply mode of the electric energy according to the phase-locked information comprises the following steps:
When the phase locking information comprises the phase locking condition, judging whether the phase locking condition is changed into the phase locking completion state within a first preset time; if not, determining the power supply mode as the power supply mode of the generator;
Or when the phase-locking information comprises the phase-locking frequency, determining the power supply mode according to the target frequency change times corresponding to the phase-locking frequency in a second preset time; wherein the target frequency change times are the times of phase-locked frequency change reaching a frequency threshold;
The determining the power supply mode according to the target frequency change times corresponding to the phase-locked frequency in the second preset time includes: detecting the current phase-locked frequency according to a third preset time interval; wherein the current phase-locked frequency is any one of the phase-locked frequencies; judging whether the target frequency change times in the second preset time is larger than a first time threshold value or not; wherein the target frequency change times are times when the absolute value of the difference between the current phase-locked frequency and the last phase-locked frequency is larger than the frequency threshold value; and if the power supply mode is greater than the first time number threshold, determining that the power supply mode is the generator power supply mode.
6. A generator-powered detection device, comprising:
a memory for storing a computer program;
A processor for implementing the steps of the generator-powered detection method according to any of claims 1 to 4 when executing said computer program.
7. A readable storage medium, characterized in that it has stored thereon a computer program which, when executed by a processor, implements the steps of the method for detecting the power supply of a generator according to any one of claims 1 to 4.
CN202110651242.7A 2021-06-10 2021-06-10 Generator power supply detection method, device, equipment and readable storage medium Active CN113394874B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110651242.7A CN113394874B (en) 2021-06-10 2021-06-10 Generator power supply detection method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110651242.7A CN113394874B (en) 2021-06-10 2021-06-10 Generator power supply detection method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113394874A CN113394874A (en) 2021-09-14
CN113394874B true CN113394874B (en) 2024-06-18

Family

ID=77620431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110651242.7A Active CN113394874B (en) 2021-06-10 2021-06-10 Generator power supply detection method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113394874B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110829576A (en) * 2019-11-06 2020-02-21 漳州科华技术有限责任公司 Uninterruptible power supply input abnormity detection method and system and terminal equipment
CN110850151A (en) * 2019-11-04 2020-02-28 易事特集团股份有限公司 Zero-crossing determination method and zero-crossing determination device
CN112821547A (en) * 2021-03-29 2021-05-18 广东电网有限责任公司电力科学研究院 Emergency power supply and control method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8110941B2 (en) * 2009-02-25 2012-02-07 International Business Machines Corporation Power demand management method and system
CN206313520U (en) * 2016-12-09 2017-07-07 中铁二十二局集团电气化工程有限公司 Uninterruptible power system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110850151A (en) * 2019-11-04 2020-02-28 易事特集团股份有限公司 Zero-crossing determination method and zero-crossing determination device
CN110829576A (en) * 2019-11-06 2020-02-21 漳州科华技术有限责任公司 Uninterruptible power supply input abnormity detection method and system and terminal equipment
CN112821547A (en) * 2021-03-29 2021-05-18 广东电网有限责任公司电力科学研究院 Emergency power supply and control method

Also Published As

Publication number Publication date
CN113394874A (en) 2021-09-14

Similar Documents

Publication Publication Date Title
US9261934B2 (en) Dynamic response improvement of hybrid power boost technology
JP5285127B2 (en) Charge current control method
US8299648B2 (en) UPS at the recovery mode from the power failure
JPH06327163A (en) Electronic apparatus
US20140097788A1 (en) Method and system for charging battery
US20150162768A1 (en) Control method and control apparatus using the same
WO2002061917A1 (en) Power supply
US20140320091A1 (en) Control method for supplying power
JP5602170B2 (en) Method and electronic apparatus for controlling operation of processor
CN113394874B (en) Generator power supply detection method, device, equipment and readable storage medium
JP2015223075A (en) Uninterruptible power supply device and synchronization control method thereof
US9356459B2 (en) Method for charging battery and electronic device thereof
EP3011674B1 (en) Dual power mode drive
CN111823238B (en) Robot time sequence control method, power supply time sequence management unit and control system
JP6155935B2 (en) Power supply
CN111999662A (en) Method for detecting external switch state of battery of UPS
US10367421B1 (en) Method and system for grid-connected converter synchronization fault prevention with recovery
CN108767344B (en) Method and device for optimizing power supply of intelligent sound equipment battery
JP5126511B2 (en) Charging apparatus and charging method
CN113394873A (en) Power supply control method, device and equipment and readable storage medium
CN107645188B (en) Method and system for balancing PSU and BBU charging overcurrent protection
CN112366807A (en) Input current-limiting control method and device of uninterruptible power supply
CN114301051A (en) Control method and device of direct current power supply system and control equipment
CN113206534A (en) Energy storage system power control method, controller and energy storage system
CN112366812A (en) Energy-saving mode control method and device of uninterruptible power supply

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220429

Address after: 363000 No. 11, Jinxing Road, Xiangcheng District, Zhangzhou City, Fujian Province

Applicant after: Zhangzhou Kehua Electric Technology Co.,Ltd.

Address before: 363000 No. 11, Jinxing Road, Xiangcheng District, Zhangzhou City, Fujian Province

Applicant before: Zhangzhou Kehua Electric Technology Co.,Ltd.

Applicant before: Kehua Data Co.,Ltd.

GR01 Patent grant
GR01 Patent grant