CN113394874A - Detection method, device and equipment for power supply of generator and readable storage medium - Google Patents

Detection method, device and equipment for power supply of generator and readable storage medium Download PDF

Info

Publication number
CN113394874A
CN113394874A CN202110651242.7A CN202110651242A CN113394874A CN 113394874 A CN113394874 A CN 113394874A CN 202110651242 A CN202110651242 A CN 202110651242A CN 113394874 A CN113394874 A CN 113394874A
Authority
CN
China
Prior art keywords
power supply
phase
supply mode
generator
frequency
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.)
Pending
Application number
CN202110651242.7A
Other languages
Chinese (zh)
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
Kehua Data Co Ltd
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 Kehua Data Co Ltd, Zhangzhou Kehua Electric Technology Co Ltd filed Critical Kehua Data Co Ltd
Priority to CN202110651242.7A priority Critical patent/CN113394874A/en
Publication of CN113394874A publication Critical patent/CN113394874A/en
Pending legal-status Critical Current

Links

Images

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

Abstract

The invention discloses a detection method for power supply of a generator, which comprises the following steps: acquiring externally supplied electric energy; detecting phase locking information corresponding to the electric energy; the phase locking information comprises phase locking conditions and/or phase locking frequency, and the phase locking conditions comprise phase locking completion states or phase locking incompletion states; determining a power supply mode of 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; according to the invention, the power supply mode of the electric energy is determined according to the phase locking information, and the detection of the external power supply condition of the power supplied by the generator is realized by utilizing the phase locking information of the externally supplied electric energy, so that the condition that the UPS equipment cannot normally work is avoided by 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 discloses a detection device, equipment and a readable storage medium for power supply of the generator, and the detection device, the equipment and the readable storage medium also have the beneficial effects.

Description

Detection method, device and equipment for power supply of generator and readable storage medium
Technical Field
The invention relates to the technical field of power supply, in particular to a method, a device and equipment for detecting power supply of a generator and a readable storage medium.
Background
At present, a generator is often used in a usage process of a UPS (Uninterruptible Power System) device, so that the generator is used to externally supply Power to the UPS device when a Power grid is powered off.
In the prior art, when a generator is used for supplying power to the UPS device externally, the UPS device may work abnormally, if the power of the generator is small, the UPS device may work abnormally, and the UPS device entering into work may work in a state of being switched to a battery state when the UPS device is charged with light load and a battery and then is powered off externally. Therefore, how to enable the UPS equipment to detect the external power supply condition of the power supply of the generator, so that the UPS equipment can normally work by utilizing the power supply of the generator, the user experience is improved, and the problem of urgent need to be solved nowadays is solved.
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, the UPS equipment can normally work by using the power supply of the generator, and the user experience is improved.
In order to solve the above technical problem, the present invention provides a method for detecting power supply of a generator, including:
acquiring externally supplied electric energy;
detecting phase locking information corresponding to the electric energy; the phase locking information comprises phase locking conditions and/or phase locking frequency, and 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-locking information includes the phase-locking condition or the phase-locking condition and the phase-locking frequency, the determining the power supply mode of the electric energy according to the phase-locking information includes:
judging whether the phase locking condition is changed into the phase locking completion state within a first preset time;
if not, determining that the power supply mode is the power supply mode of the generator.
Optionally, when the phase-locking information includes the phase-locking frequency or the phase-locking frequency and the phase-locking condition, the determining the power supply mode of the electric energy according to the phase-locking information includes:
determining the power supply mode according to the target frequency change times corresponding to the phase-locked frequency within a second preset time; wherein the target frequency change number is the number of phase-locked frequency changes that reach a frequency threshold.
Optionally, the determining the power supply mode according to the target frequency change number corresponding to the phase-locked frequency within 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 within the second preset time is greater than a first time threshold value; wherein, the target frequency change times are times that the absolute value of the difference between the current phase-locked frequency and the last phase-locked frequency is greater than the frequency threshold;
and if the current value is larger than the first time threshold value, determining that the power supply mode is the power supply mode of the generator.
Optionally, after determining whether the number of times of the target frequency change within the second preset time reaches a number threshold, the method further includes:
if the target frequency change frequency is not greater than the first frequency threshold, judging whether the target frequency change frequency within the second preset time is smaller than a second frequency threshold; wherein the second nonce threshold is less than the first nonce threshold;
if the current time is less than the second time threshold value, determining that the power supply mode is the power grid power supply mode;
and if the current phase-locked frequency is not less than the second time threshold value, timing again 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 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.
Optionally, after determining the power supply mode of the electric energy according to the phase-locking information, the method further includes:
when the power supply mode is determined to be the power supply mode of the generator, detecting the slow start condition of a bus;
if the slow start condition is a slow start incomplete state, starting by using a battery, and working by using the external power supply after the slow start condition is the slow start complete state.
The invention also provides a detection device for power supply of the generator, which comprises:
the acquisition module is used for acquiring electric energy supplied by the outside;
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, and the phase locking conditions comprise phase locking completion states or phase locking incompletion states;
the determining module is used for determining the 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;
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 also provides a readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method for detecting power supply of a generator as described above.
The invention provides a detection method for power supply of a generator, which comprises the following steps: acquiring externally supplied electric energy; detecting phase locking information corresponding to the electric energy; the phase locking information comprises phase locking conditions and/or phase locking frequency, and the phase locking conditions comprise phase locking completion states or phase locking incompletion states; determining a power supply mode of 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;
therefore, the power supply mode of the electric energy is determined according to the phase locking information, and the detection of the external power supply condition of the power supply of the generator is realized by utilizing the phase locking information of the electric energy of the external power supply, so that the condition that the UPS equipment cannot normally work is 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 provides a detection device, equipment and a readable storage medium for power supply of the generator, and the detection device, the equipment and the readable storage medium also have the 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 used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for detecting power supply of a generator according to an embodiment of the present invention;
FIG. 2 is a flow chart 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 detection apparatus for detecting power supplied by a generator according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a detection device powered by a generator according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a detection device powered by a generator according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, the UPS device is difficult to detect the power supply mode of external power supply, that is, the UPS device cannot identify whether the electric energy of the external power supply is from the power grid or the generator, so that when the generator is used for external power supply to the UPS device, the UPS device can work normally.
Tests show that the problem that UPS equipment cannot work normally due to power supply of a generator is as follows: when the generator supplies power, the input voltage and frequency of the UPS device are normal, but the input frequency is always in a changing state, and the frequency change rate is high (for example, higher than 2Hz/s), when the probabilistic phase locking is completed, the SCR (Silicon Controlled Rectifier) of the UPS device jumps out of the phase locking completion condition before the bus is buffered, and this phenomenon is repeated, so that the bus cannot be buffered, and the UPS device cannot enter the commercial power state to work, that is, cannot utilize external power supply to work; when the UPS equipment works by using the generator, after the UPS equipment is loaded, the power fluctuation output by the generator is increased, so that the abnormal triggering frequency is caused, and the UPS equipment is switched to battery inversion. In view of this, the invention detects the external power supply condition under the condition of the phase-locked information of the externally-supplied electric energy, and realizes the detection of the power supply mode of the power supply of the generator, so that the situation that the UPS device cannot normally work is avoided by corresponding control when the power supply of the generator is detected, the reliability of the UPS device is ensured, and the user experience is improved.
The following describes a method for detecting power supply of a generator according to an embodiment of the present invention. Referring to fig. 1, fig. 1 is a flowchart of a method for detecting power supply of a generator according to an embodiment of the present invention.
The method can comprise the following steps:
step 101: and obtaining the electric energy of external power supply.
The externally-supplied electric energy in this step may be electric energy for supplying power to a power-consuming device (such as a UPS device) from outside, such as electric energy supplied by a power grid or electric energy supplied by a generator.
Specifically, for a specific manner of obtaining the external power supply by the power consumption device in this embodiment, 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 the same as or similar to the external power supply method of the power consumption device in the prior art, and this embodiment is not limited in any way.
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 a phase locking completion state or a phase locking incompletion state.
It is understood that the phase locking information in this step may be related to the phase locking of the power supplied from the external power source by the electric device. The specific content of the phase locking information in the step can be set by a designer according to a practical scene and user requirements, and if the phase locking information includes the phase locking condition, the electric equipment in the step can detect whether the phase locking is finished by the electric energy supplied from the outside; if the phase locking is finished, determining the phase locking condition as a phase locking finished state; if the phase locking is not completed, the phase locking condition is determined to be the phase locking incomplete state. The phase locking information may also comprise the phase locking frequency, i.e. the frequency calculated by the phase locking of the externally supplied electrical energy. The phase lock information may also include a phase lock condition and a phase lock frequency. As long as the electric device can determine the power supply mode of the electric energy by using the detected phase-locked information corresponding to the externally-supplied electric energy, the present embodiment does not limit this.
Specifically, the embodiment does not limit the specific manner in which the electric device detects the phase-locked information corresponding to the electric energy, and may be implemented in the same or similar manner as the 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 the phase-locking of the PFC (Power Factor Correction) component is completed; if so, determining that the phase locking condition is a phase locking completion state; if not, determining the phase locking condition as the phase locking incomplete state. When the phase-lock information includes a phase-locked frequency, the UPS device may detect a frequency calculated by the PFC section at the time of phase-locking (i.e., the phase-locked frequency).
Furthermore, in this step, when the voltage and the frequency of the electric energy supplied by the electric equipment from the outside are normal, the phase-locking information corresponding to the electric energy is detected, so as to determine the power supply mode of the electric energy by using the phase-locking information; when the voltage or the frequency of the external power supply 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 external power supply electric energy is determined to be unavailable.
Step 103: determining a power supply mode of 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.
Specifically, the power supply mode in this step may be an external power supply mode adopted by the electric device; the power supply mode may be a power grid power supply mode in which a power grid is used to supply power to the electric equipment externally, or a generator power supply mode in which a generator is used to supply power to the electric equipment externally.
It can be understood that, in this step, the electrical equipment may detect the power supply mode of the external power supply by using the phase-locked information of the external power supply, so that the electrical equipment may avoid the situation that the electrical equipment, such as the UPS equipment, cannot normally operate by corresponding control when detecting that the power is supplied by the generator.
Specifically, the specific manner in which the electric equipment determines the power supply mode of the electric energy according to the phase-locked information in this step may be set by a designer according to a practical scene and a user requirement, and if the phase-locked information includes a phase-locked condition or a phase-locked frequency, the electric equipment may determine the power supply mode of the electric energy only by using the phase-locked condition or the phase-locked frequency corresponding to the electric energy supplied from the outside; for example, in this step, the electric device may determine whether the phase-locking condition changes to a phase-locking completion state within a first preset time; if not, determining that the power supply mode of the electric energy is the power supply mode of the generator; and if so, determining that the power supply mode of the electric energy is the power supply mode of the power grid. If the phase-locking information comprises a phase-locking condition and a phase-locking frequency, the electric equipment can also determine the power supply mode of the electric energy according to the phase-locking condition and the phase-locking frequency corresponding to the electric energy supplied from the outside, so that the accuracy of power supply mode detection is improved by using the frequency (namely the phase-locking frequency) calculated by phase locking; for example, in this step, the electric device may determine whether the phase-locking condition changes to a phase-locking completion state within a first preset time; if not, determining that the power supply mode of the electric energy is the power supply mode of the generator; 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 locking completion state is not changed 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 completion state is changed within the first preset time or the first preset time is not reached, the phase locking frequency is directly utilized to determine the power supply mode of the electric energy. As long as the electric device can determine the power supply mode of the electric energy by using the phase-locked information corresponding to the externally-supplied electric energy, the embodiment does not limit this.
It should be noted that, in this embodiment, after determining the power supply mode of the electric energy through step 103, the electric device may further include executing a power supply control operation corresponding to the determined power supply mode; for example, when the power consumption device is a UPS device, if the determined power supply mode is a grid power supply mode, the UPS device may use the electric energy of external power supply (i.e., 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 using method; if the determined power supply mode is the power supply mode of the generator, the UPS equipment can be started from a battery state when the bus is not started slowly, and then switched to the commercial power for boosting after the bus is started slowly, so that the commercial power for boosting can be switched to when phase locking is completed once after the bus is started slowly, and the PFC component can work in an out-of-synchronization state. Correspondingly, when the UPS equipment utilizes the electric energy supplied by the generator to carry out commercial power boosting operation, the PFC loop coefficient (such as a voltage loop coefficient and/or a current loop coefficient) can be reduced so as to weaken the influence on the generator; the charging power of the battery can be reduced to preferentially ensure the output power of the UPS equipment to the load.
In the embodiment of the invention, the power supply mode of the electric energy is determined according to the phase locking information, and the detection of the external power supply condition of the power supply of the generator is realized by utilizing the phase locking information of the externally supplied electric energy, so that the condition that the UPS equipment cannot normally work is avoided by 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.
Referring to fig. 2, fig. 2 is a flowchart of another method for detecting power supply of a generator according to an embodiment of the present invention. The method can comprise the following steps:
step 201: and obtaining the electric energy of external power supply.
The step is similar to step 101, and is not described herein again.
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 a phase locking completion state or a phase locking incompletion state.
It can be understood that, in this embodiment, when the voltage and the frequency of the power consumption device (such as the UPS device) that can detect the received power supplied from the outside are both normal, that is, both are in the respective corresponding normal ranges, the power supply mode of the power is determined according to the phase-locked condition and the phase-locked frequency of the power, so that when the power supply mode is detected to supply power to the generator, the power supply control operation is performed through the corresponding power supply, and the situation that the UPS device cannot normally operate is avoided.
Specifically, the normal voltage range and the normal frequency range in this step may be a voltage range and a frequency range of external power supplied by the electrical equipment that is normally used; the present embodiment does not limit the 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 the voltage range and the frequency range corresponding to the commercial power supplied by 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 frequency is not in the normal frequency range and the duration time reaches a certain time, determining that the power supply mode of the electric energy is the power supply mode of the generator. The present embodiment does not set any limit to 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-locked condition is changed to the phase-locked completion state within the first preset time, that is, whether the phase-locked condition of the externally-supplied electric energy is completed within the first preset time, so that when the phase-locked condition of the externally-supplied electric energy cannot be completed within the first preset time, the step 204 is performed to determine that the power supply mode of the electric energy is the generator power supply mode.
Specifically, the specific time setting of the first preset time in this step may be set by a designer according to a practical scenario and a user requirement, for example, when the electrical equipment is a UPS device, the first preset time may be 10s, and if the voltage and the frequency of the electrical energy supplied externally are both normal, if the UPS device cannot complete phase locking within 10s after being powered up for 3s, it is determined that the external power supply supplies power for the generator.
Correspondingly, in this embodiment, when the phase-locked condition using the electric energy fails to determine that the power supply mode is the generator power supply mode (e.g., the electric energy changes to the phase-locked completion state within the first preset time), the electric device may determine the power supply mode using the phase-locked frequency of the electric energy, via 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, in this step, the electric device may determine that the electric energy supplied from the outside is the electric energy supplied to the generator when the voltage of the electric energy supplied from the outside is in the normal voltage range and the frequency is in the normal frequency range and the phase locking cannot be completed within the first preset time, so that the power supply control operation corresponding to the power supply of the generator is executed in step 206, and the situation that the UPS device cannot normally operate is avoided.
Step 205: and determining the 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 the electric energy supplied from the outside and calculating the frequency, or a frequency obtained by processing (e.g., filtering) the frequency obtained by phase-locking the electric energy. In this step, the voltage of the electric energy which can be externally supplied by the electric equipment is in a normal voltage range and the frequency is in a normal frequency range, and when the power supply mode cannot be determined to be the power supply mode of the generator by using the phase-locked condition of the electric energy, the power supply mode of the electric energy is detected by using the frequency (namely, the phase-locked frequency) calculated by the phase-locked condition, so that the accuracy of the detection of the power supply mode is improved.
It should be noted that, for the specific manner of determining the power supply mode of the electric energy according to the phase-locked frequency corresponding to the electric energy in this step, the specific manner may be set by a designer, for example, the power-consuming equipment may determine the power supply mode of the electric energy according to the phase-locked frequency change times reaching a frequency threshold (e.g., 0.1Hz) within a certain time; 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 within the second preset time; wherein the target frequency change number is the number of phase-locked frequency changes that reach the frequency threshold. The power supply mode of the electric energy can be determined by the electric equipment according to the maximum phase-locked frequency change or the average phase-locked frequency change in a certain time. The power utilization equipment can also determine a power supply mode of the electric energy according to the detection frequency change times corresponding to the phase-locked frequency within the fourth preset time; the number of detected frequency changes 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, the fourth preset time may include n fifth preset times, and 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-locked frequency corresponding to the electric energy. The present embodiment does not set any limit to this.
Specifically, the present embodiment does not limit the specific manner of determining the power supply mode of the electric energy according to the target frequency change times corresponding to the phase-locked frequency within the second preset time, for example, the electric device may detect the current phase-locked frequency at intervals of a third preset time (e.g., 50 ms); judging whether the target frequency change times within a second preset time (such as 10s) is greater than a first time threshold (such as 100 times); if the current value is larger than the first time threshold value, determining that the power supply mode is the power supply mode of the generator; the current phase-locked frequency may be any phase-locked frequency, and the target frequency change number may be a number of times that an absolute value of a difference between the current phase-locked frequency and a previous phase-locked frequency is greater than a frequency threshold; the frequency threshold may be a fixed value (e.g., 0.1Hz), or may be a value corresponding to one or more lock-in frequencies or a current lock-in frequency, such as 0.01 × one lock-in frequency.
Correspondingly, when the target frequency change times within the second preset time are not greater than the first time threshold value, the electric equipment can directly determine that the power supply mode is the power grid power supply mode; whether the target frequency change times within the second preset time is smaller than a second time threshold (for example, 50 times) can also be continuously judged, so that when the target frequency change times within the second preset time is smaller than the second time threshold, the power supply mode is determined to be the power supply mode of the power grid; and when the target frequency change times in the second preset time are less than or equal to the first time threshold and greater than or equal to the second time threshold, timing again, and continuously detecting the current phase-locked frequency according to a third preset time interval so as to detect the target frequency change times in a new second preset time period. For example, in this step, the electric device may filter the frequency obtained by the phase-lock calculation, compare the frequency (i.e., the phase-lock frequency) at an interval of 50ms (i.e., a third preset time), accumulate the frequency if the change frequency exceeds 0.1HZ (i.e., 5HZ/s), take 10s (i.e., a 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 change number) exceeds 100 (i.e., a first time threshold) within 10 s; determining that the external power supply supplies power for the power grid if the accumulated number is lower than 50 (namely a second time threshold) within 10 s; and clearing the accumulated number and the time when the accumulated number is between 50 and 100 in 10s, and continuously detecting the accumulated number in the next 10 s.
Step 206: and executing power supply control operation corresponding to the determined power supply mode.
It can be understood that, in this step, the power utilization device may execute a corresponding power supply control operation according to the determined power supply mode, so that the UPS device is prevented from failing to normally operate when the power supply mode of the generator is the determined power supply mode.
Specifically, the specific mode of the power supply control operation corresponding to the determined power supply mode executed by the power consumption device in this step may be set by a designer according to a practical scene and a user requirement, for example, when the power consumption device is a UPS device, since the frequency of the external power supplied by the power grid is relatively stable, the UPS device may complete bus boosting by using the power grid for power supply, and the frequency of the external power supplied by the power generator is always in a changing state and has a relatively high frequency change rate, so that the UPS device is difficult to perform bus boosting by using the power grid for power supply; the bus boosting can comprise two processes of buffering and slow starting of the bus; therefore, when the determined power supply mode of the UPS device is the grid power supply mode, the UPS device may directly use the existing external power supply using method, perform bus buffering and bus slow start by using the power supplied by the grid to complete bus boost, and perform work (such as supplying power to a battery and/or a load) by using external power supply after the bus slow start is completed (i.e., the bus boost is completed). When the determined power supply mode of the UPS equipment is the power supply mode of the generator, the slow start condition of the bus can be detected; if the slow start condition is a slow start incomplete state (namely bus boosting is incomplete), starting by using a battery in the UPS equipment, and operating by using external power supply after the slow start condition is a slow start complete state (namely bus boosting is complete); when the determined power supply mode of the UPS equipment is the power supply mode of the generator, the UPS equipment can also be started by directly utilizing the power supplied by the battery in the UPS equipment, and after the bus is boosted, the UPS equipment works by utilizing external power supply.
That is to say, the UPS device can start from a battery state when detecting a power supply mode of the generator, and switch to the external power supply commercial power for boosting voltage after the bus is restarted, so that the bus can be switched to the commercial power for boosting voltage as long as one phase locking is completed after the bus is restarted, and the PFC component can work in an out-of-synchronization state; when the PFC part works in a synchronous state, the PFC part controls the phase of a boosted PWM wave to be consistent with a voltage sine wave supplied by the outside, so that the input PF (power factor) value of the UPS equipment is high, and the current phase and the voltage phase of the outside power supply are kept consistent; when the PFC part works in an out-of-synchronization state, the PFC part controls the phase of a boosted PWM wave to be inconsistent with a voltage sine wave of external power supply, the current of the external power supply can be not a sine wave at the moment, and the phase of the current of the external power supply can be inconsistent with the phase of the voltage; that is, when the PFC section operates in an out-of-sync state, the phase of the voltage that the PFC section controls to output may not coincide with the phase of the voltage supplied from the external power supply.
Correspondingly, when the UPS equipment supplies power to the generator in the determined power supply mode, the target PFC loop coefficient can be adopted to correct the power factor of the electric energy supplied by the generator so as to weaken the influence on the generator; each target PFC loop coefficient may be smaller than a PFC loop coefficient corresponding to the power grid power supply mode. When the UPS equipment supplies power to the generator in the determined power supply mode, and when the battery and the load need to be supplied with power, the battery of the UPS equipment is supplied with power by adopting the target charging power so as to preferentially ensure the output power of the UPS equipment to the load; and 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, the frequency obtained by phase-locked 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 carrying out the power supply control operation that the power supply mode of confirming corresponds, can carry out corresponding power supply control operation when detecting the generator power supply, avoid the unable normal condition of working of UPS equipment to take place, guaranteed the reliability of UPS equipment, promoted user experience.
Corresponding to the above method embodiment, the embodiment of the present invention further provides a detection apparatus for power supply of a generator, and the detection apparatus for power supply of a generator described below and the detection method for power supply of a generator described above may be referred to correspondingly.
Referring to fig. 3, fig. 3 is a block diagram of a detection apparatus for power supply of a generator according to an embodiment of the present invention. The apparatus may include:
the acquisition module 10 is used for acquiring electric energy supplied by the outside;
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, and the phase locking conditions comprise phase locking completion states or phase locking incompletion states;
the determining module 30 is configured to determine 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.
Optionally, when the phase-locking information includes a phase-locking condition or a phase-locking condition and a phase-locking frequency, the determining module 30 may include:
the phase locking condition judging submodule is used for judging whether the phase locking condition is changed into a phase locking completion state within first preset time;
the first determining submodule is used for determining that the power supply mode is the power supply mode of the generator if the phase locking completion state is not changed within the first preset time;
optionally, when the phase-locking information includes a phase-locking frequency or a phase-locking frequency and a phase-locking 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 within the second preset time; wherein the target frequency change number is the number of phase-locked frequency changes that reach the frequency threshold.
Optionally, the phase-locked frequency determining sub-module may include:
the discontinuity detection unit is used for detecting the current phase-locking frequency according to a third preset time interval; wherein, the current phase-locked frequency is any phase-locked frequency;
the first judgment unit is used for judging whether the target frequency change times in the second preset time is greater than a first time threshold value; wherein, the target frequency change times are times that the absolute value of the difference between the current phase-locked frequency and the last phase-locked frequency is greater than the frequency threshold;
and the first determining unit is used for determining that the power supply mode is the power supply mode of the generator if the first time threshold value is larger than the first time threshold value.
Optionally, the phase-locked frequency determining sub-module may further include:
the second judging unit is used for judging whether the target frequency change times in second preset time is smaller than a second time threshold value or not if the target frequency change times is not larger than the first time threshold value; wherein the second decimal threshold is less than the first decimal threshold;
the second determining unit is used for determining that the power supply mode is the power supply mode of the power grid if the second number of times is smaller than the second secondary number threshold;
and the re-timing unit is used for re-timing if the number of times of the detection is not less than the second time threshold value, and sending a starting signal to the interruption detection subunit.
Optionally, 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.
Optionally, the apparatus may further include:
the slow starting condition determining module is used for detecting the slow starting 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 utilizing the power supplied by the battery if the slow starting condition is a slow starting incomplete state, and working by utilizing external power supply after the slow starting condition is a slow starting complete state.
In this embodiment, the determining module 30 determines the power supply mode of the electric energy according to the phase locking information, and the phase locking information of the externally supplied electric energy is utilized to detect the external power supply condition of the power supplied by the generator, so that the situation that the UPS device cannot normally work is avoided by corresponding control when the power supplied by the generator is detected, 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 detection device for power supply of a generator, and the detection device for power supply of a generator described below and the detection method for power supply of a generator described above may be referred to correspondingly.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a detection device powered by a generator according to an embodiment of the present invention. The generator-powered detection device may include:
a memory D1 for storing computer programs;
and a processor D2, configured to implement the steps of the method for detecting power supply of a generator provided in the above method embodiments when executing the computer program.
Specifically, referring to fig. 5, fig. 5 is a schematic structural diagram of a generator-powered detection device according to an embodiment of the present invention, which may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 322 (e.g., one or more processors) and a memory 332, and one or more storage media 330 (e.g., one or more mass storage devices) storing an application 342 or data 344. Memory 332 and storage media 330 may be, among other things, transient storage or persistent storage. The program stored on the storage medium 330 may include one or more modules (not shown), each of which may include a sequence of instructions operating on the device. Still further, the central processor 322 may be configured to communicate with the storage medium 330 to perform a series of instructional operations on the generator-powered detection device 301 in the storage medium 330.
The generator-powered detection device 301 may also include one or more power sources 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. Such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
The detection device 301 powered by the generator may be a UPS device.
The steps in the above described generator powered detection method may be implemented by the structure of a generator powered detection device.
Corresponding to the above method embodiment, the embodiment of the present invention further provides a readable storage medium, and a readable storage medium described below and a method for detecting power supply of a generator described above may be referred to correspondingly.
A readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method for detecting power supply of a generator according to the above-mentioned method embodiment.
The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various other readable storage media capable of storing program codes.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device, the apparatus and the readable storage medium disclosed by the embodiments correspond to the method disclosed by the embodiments, so that the description is simple, and the relevant points can be referred to the method part for description.
The details of the method, the apparatus, the device and the readable storage medium for detecting the power supply of the generator provided by the present invention are described above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (10)

1. A method for detecting power supplied by a generator, comprising:
acquiring externally supplied electric energy;
detecting phase locking information corresponding to the electric energy; the phase locking information comprises phase locking conditions and/or phase locking frequency, and 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.
2. The method for detecting the power supply of the generator according to claim 1, wherein when the phase-locked information includes the phase-locked condition or the phase-locked condition and the phase-locked frequency, the determining the power supply mode of the electric energy according to the phase-locked information includes:
judging whether the phase locking condition is changed into the phase locking completion state within a first preset time;
if not, determining that the power supply mode is the power supply mode of the generator.
3. The method for detecting the power supply of the generator according to claim 1, wherein when the phase-locked information includes the phase-locked frequency or the phase-locked frequency and the phase-locked condition, the determining the power supply mode of the electric energy according to the phase-locked information includes:
determining the power supply mode according to the target frequency change times corresponding to the phase-locked frequency within a second preset time; wherein the target frequency change number is the number of phase-locked frequency changes that reach a frequency threshold.
4. The method for detecting the power supply of the generator according to claim 3, wherein the determining the power supply mode according to the target frequency change number corresponding to the phase-locked frequency within the second preset time comprises:
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 within the second preset time is greater than a first time threshold value; wherein, the target frequency change times are times that the absolute value of the difference between the current phase-locked frequency and the last phase-locked frequency is greater than the frequency threshold;
and if the current value is larger than the first time threshold value, determining that the power supply mode is the power supply mode of the generator.
5. The method for detecting the power supply of the generator according to claim 4, wherein after determining whether the target frequency change number within the second preset time reaches a number threshold, the method further comprises:
if the target frequency change frequency is not greater than the first frequency threshold, judging whether the target frequency change frequency within the second preset time is smaller than a second frequency threshold; wherein the second nonce threshold is less than the first nonce threshold;
if the current time is less than the second time threshold value, determining that the power supply mode is the power grid power supply mode;
and if the current phase-locked frequency is not less than the second time threshold value, timing again and executing the step of detecting the current phase-locked frequency according to a third preset time interval.
6. The generator-powered detection method according to claim 1, wherein the detecting phase-locked information corresponding to the electric energy comprises:
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.
7. The generator power supply detection method according to any one of claims 1 to 6, wherein after determining the power supply mode of the electric energy according to the phase locking information, the method further comprises:
when the power supply mode is determined to be the power supply mode of the generator, detecting the slow start condition of a bus;
if the slow start condition is a slow start incomplete state, starting by using a battery, and working by using the external power supply after the slow start condition is the slow start complete state.
8. A generator-powered detection device, comprising:
the acquisition module is used for acquiring electric energy supplied by the outside;
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, and the phase locking conditions comprise phase locking completion states or phase locking incompletion states;
the determining module is used for determining the 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.
9. A generator-powered test device, comprising:
a memory for storing a computer program;
processor for implementing the steps of the generator powered detection method according to any one of claims 1 to 7 when executing said computer program.
10. A readable storage medium, characterized in that it has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method for detection of power supply by an electric generator according to any one of claims 1 to 7.
CN202110651242.7A 2021-06-10 2021-06-10 Detection method, device and equipment for power supply of generator and readable storage medium Pending CN113394874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110651242.7A CN113394874A (en) 2021-06-10 2021-06-10 Detection method, device and equipment for power supply of generator and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110651242.7A CN113394874A (en) 2021-06-10 2021-06-10 Detection method, device and equipment for power supply of generator and readable storage medium

Publications (1)

Publication Number Publication Date
CN113394874A true CN113394874A (en) 2021-09-14

Family

ID=77620431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110651242.7A Pending CN113394874A (en) 2021-06-10 2021-06-10 Detection method, device and equipment for power supply of generator and readable storage medium

Country Status (1)

Country Link
CN (1) CN113394874A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100213763A1 (en) * 2009-02-25 2010-08-26 Gregory Jensen Boss Power demand management method and system
CN206313520U (en) * 2016-12-09 2017-07-07 中铁二十二局集团电气化工程有限公司 Uninterruptible power system
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100213763A1 (en) * 2009-02-25 2010-08-26 Gregory Jensen Boss Power demand management method and system
CN206313520U (en) * 2016-12-09 2017-07-07 中铁二十二局集团电气化工程有限公司 Uninterruptible power system
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

Similar Documents

Publication Publication Date Title
CN102480169B (en) Method and system for quickly switching standby power supplies of multi-channel power supplies
EP3188338A1 (en) Grid-connected control method based on virtual synchronizer and device thereof
US20120221891A1 (en) Programmable controller
CN104716814A (en) Power supply system and control method thereof
WO2002061917A1 (en) Power supply
EP2651005A2 (en) Battery charging method and mobile terminal
US9356459B2 (en) Method for charging battery and electronic device thereof
JP2015223075A (en) Uninterruptible power supply device and synchronization control method thereof
CN109698519B (en) Energy storage type photovoltaic power station starting method and system for supporting black start of power grid
JP2013046532A (en) Power leveling device
CN102611145B (en) Method and device for managing battery of direct current power supply
CN113394874A (en) Detection method, device and equipment for power supply of generator and readable storage medium
CN111823238B (en) Robot time sequence control method, power supply time sequence management unit and control system
US10367421B1 (en) Method and system for grid-connected converter synchronization fault prevention with recovery
CN110635555A (en) Power supply system and power supply switching method
CN115603351B (en) Energy storage system processing method and device, processor and electronic equipment
CN113394873A (en) Power supply control method, device and equipment and readable storage medium
CN108767344B (en) Method and device for optimizing power supply of intelligent sound equipment battery
JP6904026B2 (en) Power system, control method, and control program
JPH1090314A (en) Power failure detection method
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
JPH03148719A (en) Power supply without power failure
CN112366807B (en) Input current-limiting control method and device of uninterruptible power supply
JP2006067728A (en) Uninterruptible power supply apparatus

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