CN117871931A - Method and device for detecting input voltage state of charging module and controller - Google Patents
Method and device for detecting input voltage state of charging module and controller Download PDFInfo
- Publication number
- CN117871931A CN117871931A CN202410059686.5A CN202410059686A CN117871931A CN 117871931 A CN117871931 A CN 117871931A CN 202410059686 A CN202410059686 A CN 202410059686A CN 117871931 A CN117871931 A CN 117871931A
- Authority
- CN
- China
- Prior art keywords
- input voltage
- state
- phase
- voltage
- charging module
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000005070 sampling Methods 0.000 claims abstract description 173
- 238000004590 computer program Methods 0.000 claims description 21
- 238000001514 detection method Methods 0.000 claims description 16
- 238000010586 diagram Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/04—Measuring peak values or amplitude or envelope of ac or of pulses
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/175—Indicating the instants of passage of current or voltage through a given value, e.g. passage through zero
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R29/00—Arrangements for measuring or indicating electric quantities not covered by groups G01R19/00 - G01R27/00
- G01R29/16—Measuring asymmetry of polyphase networks
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Power Engineering (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The invention provides a method and a device for detecting an input voltage state of a charging module and a controller. The method comprises the following steps: acquiring the total zero crossing number of the input voltage of each phase of the charging module in a set time, and acquiring the sampling peak value of the input voltage of each phase of the charging module; and determining the state of the input voltage of the charging module according to the total zero crossing number and the sampling peak value of the input voltage of each phase. According to the invention, when the charging module is manually stopped to manually turn off the mains supply, the characteristic that the total zero crossing number of the input voltage of each phase of the charging module in the set time is far less than the total zero crossing number of other fault states is utilized, and whether the state of the input voltage of the charging module is voltage phase failure, under-voltage or normal power failure is accurately determined according to the total zero crossing number and the sampling peak value of the input voltage of each phase, so that the charging module is protected later or the input voltage state of the charging module is analyzed, and erroneous judgment is avoided.
Description
Technical Field
The present invention relates to the field of control and management technologies of charging modules, and in particular, to a method and an apparatus for detecting an input voltage state of a charging module, and a controller.
Background
At present, the electric automobile charging module mostly adopts a Vienna topology, thereby realizing the conversion of AC-DC. In practical application, the fault state of the mains supply input by the charging module needs to be judged, so that the fault state of the mains supply is uploaded through the control chip, the charging module is protected, and the analysis of the state of the mains supply is facilitated.
However, the inventors found in the course of implementing the present invention that: the fault state of the charging module for inputting the mains supply is usually a phase-out state, an under-voltage state, an over-voltage state and the like of the mains supply, but there is a special case, namely, the situation that the charging module is manually stopped to manually shut off the mains supply, and at the moment, the fault of the charging module for inputting the mains supply is not hopefully reported. However, at present, the fault state of the mains supply input by the charging module is usually judged by judging the magnitude of the mains supply voltage sampling peak value, and when the mains supply is manually turned off due to the manual stopping of the charging module, the obtained mains supply voltage sampling peak value also falls down and is in phase failure, so that the under-voltage and phase failure of the mains supply can be reported. Therefore, the charging module is required to be capable of distinguishing the phase-lack of the mains supply, the undervoltage of the mains supply and the normal power failure of the mains supply in the detection process of the state of the input mains supply.
Disclosure of Invention
The embodiment of the invention provides a method, a device and a controller for detecting an input voltage state of a charging module, which are used for solving the problem that the existing charging module cannot distinguish between voltage phase failure, under-voltage and normal power failure in the detection process of the input voltage state of the charging module.
In a first aspect, an embodiment of the present invention provides a method for detecting an input voltage state of a charging module, including:
acquiring the total zero crossing number of the input voltage of each phase of the charging module in a set time, and acquiring the sampling peak value of the input voltage of each phase of the charging module;
and determining the state of the input voltage of the charging module according to the total zero crossing number and the sampling peak value of the input voltage of each phase.
In one possible implementation manner, determining the state of the input voltage of the charging module according to the total zero crossing number and the sampling peak value of the input voltage of each phase includes:
judging whether two phases of input voltage sampling peaks exist in the input voltage sampling peaks or not, and whether one phase of input voltage sampling peaks exist or not is smaller than the highest set voltage threshold or not;
if the two-phase input voltage sampling peak value is smaller than the highest set voltage threshold value, judging whether the total zero crossing number is larger than the maximum number threshold value or not;
If one-phase input voltage sampling peak value is smaller than the lowest set voltage threshold value, judging whether the total zero crossing number is larger than the lowest number threshold value;
if the total zero crossing number is greater than the maximum number threshold, determining that the state of the input voltage of the charging module is a voltage under-voltage state;
if the total zero crossing number is greater than the minimum number threshold, determining that the state of the input voltage of the charging module is a voltage open-phase state;
and if the total zero crossing number is smaller than or equal to the maximum number threshold or the minimum number threshold, determining that the state of the input voltage of the charging module is a normal power-off state.
In one possible implementation manner, determining the state of the input voltage of the charging module according to the total zero crossing number and the sampling peak value of the input voltage of each phase includes:
judging whether the sampling peak values of the input voltages of all phases are smaller than a highest set voltage threshold value or not, and whether the total zero crossing number is larger than a maximum number threshold value or not;
if the sampling peak values of the input voltages of all phases are smaller than the highest set voltage threshold value and the total zero crossing number is larger than the maximum number threshold value, determining that the state of the input voltage of the charging module is a voltage under-voltage state;
If the sampling peak values of the input voltages of all phases are smaller than the highest set voltage threshold value and the total zero crossing number is smaller than or equal to the maximum number threshold value, determining that the state of the input voltage of the charging module is a normal power-off state;
and if at least one phase of input voltage sampling peak value exists in the input voltage sampling peak values of each phase and is larger than or equal to the highest set voltage threshold value, and the total zero crossing number is smaller than or equal to the maximum number threshold value, determining that the state of the input voltage of the charging module is a voltage open-phase state.
In one possible implementation manner, determining the state of the input voltage of the charging module according to the total zero crossing number and the sampling peak value of the input voltage of each phase includes:
judging whether two phases of input voltage sampling peaks exist in the input voltage sampling peaks or not, wherein the two phases of input voltage sampling peaks are larger than a highest set voltage threshold, and one phase of input voltage sampling peaks are smaller than a lowest set voltage threshold;
if the two-phase input voltage sampling peak value is larger than the highest set voltage threshold value and the one-phase input voltage sampling peak value is smaller than the lowest set voltage threshold value, determining that the state of the input voltage of the charging module is a voltage open-phase state;
If the sampling peak values of the input voltages of all phases are smaller than the highest set voltage threshold value, judging whether the total zero crossing number is larger than the maximum number threshold value or not;
if the total zero crossing number is greater than the maximum number threshold, determining that the state of the input voltage of the charging module is a voltage under-voltage state;
and if the total zero crossing number is smaller than or equal to the maximum number threshold, determining that the state of the input voltage of the charging module is a normal power-off state.
In one possible implementation manner, determining the state of the input voltage of the charging module according to the total zero crossing number and the sampling peak value of the input voltage of each phase includes:
judging whether the total zero crossing number is smaller than a minimum number threshold value or not;
if the total zero crossing number is smaller than the minimum number threshold, determining that the state of the input voltage of the charging module is a normal power-off state;
if the total zero crossing number is greater than or equal to the minimum number threshold, judging whether the sampling peak values of the input voltages of all phases are smaller than the highest set voltage threshold;
if the sampling peak value of the input voltage of each phase is smaller than the highest set voltage threshold value, determining that the state of the input voltage of the charging module is a voltage under-voltage state;
If at least one phase of input voltage sampling peak value in the input voltage sampling peak values of each phase is larger than or equal to the highest set voltage threshold value, judging whether the total zero crossing number is smaller than the maximum number threshold value;
and if the total zero crossing number is smaller than the maximum number threshold, determining that the state of the input voltage of the charging module is a voltage open-phase state.
In one possible implementation manner, determining the state of the input voltage of the charging module according to the total zero crossing number and the sampling peak value of the input voltage of each phase includes:
judging whether the total zero crossing number is larger than a maximum number threshold value or not;
if the total zero crossing number is greater than the maximum number threshold, judging whether the input voltage sampling peak values of all phases are smaller than the highest set voltage threshold;
if the total zero crossing number is smaller than or equal to the maximum number threshold, judging whether two-phase input voltage sampling peaks exist in the input voltage sampling peaks of each phase or not, wherein the two-phase input voltage sampling peaks are larger than a highest set voltage threshold;
if the sampling peak value of the input voltage of each phase is smaller than the highest set voltage threshold value, determining that the state of the input voltage of the charging module is a voltage under-voltage state;
If the two-phase input voltage sampling peak value is larger than the highest set voltage threshold value, determining that the state of the input voltage of the charging module is a voltage open-phase state;
and if the two phase input voltage sampling peak values in the input voltage sampling peak values of each phase are smaller than or equal to the highest set voltage threshold value, determining that the state of the input voltage of the charging module is a normal power-off state.
In a second aspect, an embodiment of the present invention provides a charging module input voltage state detection apparatus, including:
the acquisition module is used for acquiring the total zero crossing number of the input voltages of each phase of the charging module in a set time and acquiring sampling peak values of the input voltages of each phase of the charging module;
and the state detection module is used for determining the state of the input voltage of the charging module according to the total zero crossing number and the sampling peak value of the input voltage of each phase.
In a third aspect, embodiments of the present invention provide a controller comprising a memory for storing a computer program and a processor for calling and running the computer program stored in the memory, performing the steps of the method as described above in the first aspect or any one of the possible implementations of the first aspect.
In a fourth aspect, embodiments of the present invention provide a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method as described above in the first aspect or any one of the possible implementations of the first aspect.
The embodiment of the invention provides a method, a device and a controller for detecting the state of input voltage of a charging module, which are used for accurately determining whether the state of the input voltage of the charging module is voltage phase failure, undervoltage or normal power failure according to the total number of zero crossing points and the sampling peak value of the input voltage of each phase by acquiring the total number of zero crossing points of the input voltage of each phase of the charging module in a set time and acquiring the sampling peak value of the input voltage of each phase of the charging module, so that the charging module is protected or the input voltage state of the charging module is analyzed later by utilizing the characteristic that the total number of zero crossing points of the input voltage of each phase of the charging module in the set time is far less than the total number of zero crossing points in other fault states when the charging module is stopped manually to cut off the mains supply, and erroneous judgment is avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of an implementation of a method for detecting an input voltage state of a charging module according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a topology structure of a charging module according to an embodiment of the present invention;
fig. 3 is a schematic waveform diagram of three-phase input voltages of a charging module in a normal state according to an embodiment of the present invention;
fig. 4 is a schematic waveform diagram of three-phase input voltages of the charging module in a voltage open-phase state according to an embodiment of the present invention;
FIG. 5 is a schematic waveform diagram of three-phase input voltages of a charging module in a voltage undervoltage state according to an embodiment of the present invention;
FIG. 6 is a schematic waveform diagram of three-phase input voltages of the charging module in a normal power-off state according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating a method for detecting an input voltage state of a charging module according to another embodiment of the present invention;
FIG. 8 is a flowchart illustrating a method for detecting an input voltage state of a charging module according to another embodiment of the present invention;
FIG. 9 is a flowchart of a method for detecting an input voltage state of a charging module according to another embodiment of the present invention;
FIG. 10 is a flowchart illustrating a method for detecting an input voltage state of a charging module according to another embodiment of the present invention;
FIG. 11 is a flowchart illustrating a method for detecting an input voltage state of a charging module according to another embodiment of the present invention;
Fig. 12 is a schematic structural diagram of a charging module input voltage state detection device according to an embodiment of the present invention;
fig. 13 is a schematic diagram of a controller according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the following description will be made by way of specific embodiments with reference to the accompanying drawings.
Referring to fig. 1, a flowchart of an implementation of a method for detecting an input voltage state of a charging module according to an embodiment of the present invention is shown, and details are as follows:
in step 101, the total zero crossing number of the input voltages of each phase of the charging module is obtained in a set time, and the sampling peak value of the input voltages of each phase of the charging module is obtained.
In step 102, the state of the input voltage of the charging module is determined according to the total zero crossing number and the sampling peak value of the input voltage of each phase.
When the input voltage of the charging module is three-phase alternating voltage, the voltage changes from positive to negative to record a zero crossing once, and the voltage changes from negative to positive to record a zero crossing once.
Taking a charging module with a three-phase six-switch vienna topology structure as shown in fig. 2 as an example, three-phase input voltages of the charging module are sampled and denoted as VA, VB and VC. Assuming that the three-phase input voltage of the charging module is a three-phase ac voltage with a frequency of 50Hz and an effective value of 220V, as shown in fig. 3, in a normal state, the sampling peak value of the three-phase input voltage of the charging module is about 311V, and since the frequency is 50Hz, each phase of input voltage has 50 zero crossings within 1s, and the three-phase input voltage has 150 zero crossings within 1 s. Referring to fig. 4, in the voltage phase-failure state, the sampling peak value of the two-phase input voltage is about 311V, and the three-phase input voltage has 100 zero crossings in 1s due to the lack of one-phase input voltage. Referring to fig. 5, in the under-voltage state, the total zero crossing number of the three-phase input voltage is 150 zero crossings in 1s, except for the decrease of the sampling peak value of the three-phase input voltage of the charging module, which is the same as that in the normal state. Referring to fig. 6, in the normal power-off state, there is a drop in the input voltage in the first 200 ms of the mechanical action, and zero crossing points can be detected, but zero crossing points cannot be detected in the next several hundred ms, so in this state, the total number of zero crossing points of the three-phase input voltage in 1s is far less than 50 except for the drop of the three-phase input voltage.
Therefore, the total zero crossing number of the input voltage of each phase of the charging module can be obtained within the set time, and the sampling peak value of the input voltage of each phase of the charging module is obtained, so that whether the state of the input voltage of the charging module is voltage phase failure, undervoltage or normal power failure is distinguished according to the total zero crossing number and the sampling peak value of the input voltage of each phase, and the charging module is protected or the input voltage state of the charging module is analyzed conveniently, so that erroneous judgment is avoided.
According to the embodiment of the invention, the total zero crossing number of the input voltages of each phase of the charging module is obtained within the set time, and the sampling peak value of the input voltages of each phase of the charging module is obtained, so that the characteristic that the total zero crossing number of the input voltages of each phase of the charging module in the set time is far less than the total zero crossing number of the input voltages of other fault states when the charging module is manually turned off due to the manual stopping of the charging module is utilized, and whether the state of the input voltages of the charging module is voltage phase-missing, undervoltage or normal outage is accurately determined according to the total zero crossing number and the sampling peak value of the input voltages of each phase, so that the charging module is protected later or the input voltage state of the charging module is analyzed, and erroneous judgment is avoided.
In one embodiment, referring to fig. 7, determining the state of the input voltage of the charging module according to the total zero crossing number and the sampling peak value of the input voltage of each phase may include:
and judging whether two-phase input voltage sampling peaks exist in the input voltage sampling peaks of each phase or not, and whether one-phase input voltage sampling peak exists or not is smaller than the highest set voltage threshold or not.
If the two-phase input voltage sampling peak value is smaller than the highest set voltage threshold value, judging whether the total zero crossing number is larger than the maximum number threshold value.
If one phase of input voltage sampling peak value is smaller than the lowest set voltage threshold value, judging whether the total zero crossing number is larger than the lowest number threshold value.
And if the total zero crossing number is greater than the maximum number threshold, determining that the state of the input voltage of the charging module is a voltage under-voltage state.
And if the total zero crossing number is greater than the minimum number threshold, determining that the state of the input voltage of the charging module is a voltage open-phase state.
And if the total zero crossing number is smaller than or equal to the maximum number threshold or the minimum number threshold, determining that the state of the input voltage of the charging module is a normal power-off state.
For example, as shown in connection with fig. 7, when the three-phase input voltage of the charging module is a three-phase ac voltage with a frequency of 50Hz and an effective value of 220V, the highest set voltage threshold may be set to 300V, the lowest set voltage threshold to 50V, the maximum number of thresholds to 120, and the minimum number of thresholds to 80. According to actual needs, the highest set voltage threshold may be set to 290V, 310V, etc., the lowest set voltage threshold may be set to 20V, 30V, 40V, etc., the maximum number threshold may be set to 100, 110, etc. values capable of distinguishing the voltage under-voltage state and the normal power-off state, and the minimum number threshold may be set to 50, 60, 70, etc. values capable of distinguishing the voltage open-phase state and the normal power-off state, which is not limited in this embodiment.
As an example, when the frequency and the effective value of the three-phase input voltage of the charging module are changed, the corresponding highest set voltage threshold, lowest set voltage threshold, maximum number threshold, and minimum number threshold may also be changed appropriately, which is not limited in the present embodiment.
In this embodiment, by first determining in parallel whether there is a two-phase input voltage sampling peak value smaller than the highest set voltage threshold value or whether there is a one-phase input voltage sampling peak value smaller than the lowest set voltage threshold value in each phase of input voltage sampling peak values, the determination logic can be simplified, and in the following, the voltage under-voltage state, the voltage open-phase state and the normal power-off state can be distinguished only by the total zero crossing number.
In one embodiment, referring to fig. 8, determining the state of the input voltage of the charging module according to the total zero crossing number and the sampling peak value of the input voltage of each phase may include:
and judging whether the sampling peak value of the input voltage of each phase is smaller than the highest set voltage threshold value and whether the total zero crossing number is larger than the maximum number threshold value.
And if the sampling peak value of the input voltage of each phase is smaller than the highest set voltage threshold value and the total zero crossing number is larger than the maximum number threshold value, determining the state of the input voltage of the charging module as a voltage under-voltage state.
If the sampling peak value of the input voltage of each phase is smaller than the highest set voltage threshold value and the total zero crossing number is smaller than or equal to the maximum number threshold value, determining that the state of the input voltage of the charging module is a normal power-off state.
If at least one phase of input voltage sampling peak value exists in the input voltage sampling peak values of each phase and is larger than or equal to the highest set voltage threshold value, and the total zero crossing number is smaller than or equal to the maximum number threshold value, determining that the state of the input voltage of the charging module is a voltage open-phase state.
In this embodiment, the voltage undervoltage state, the normal power-off state and the three-phase input voltage sampling peak value feature and the total zero crossing number feature corresponding to the voltage open-phase state are combined, and the voltage open-phase state can be eliminated by judging whether the three-phase input voltage sampling peak values are smaller than the highest set voltage threshold value. And then distinguishing the voltage under-voltage state and the normal power-off state by judging whether the total zero crossing number acquired in 1s is greater than the maximum number threshold value.
In order to more accurately determine that the state of the input voltage of the charging module is the voltage open-phase state, the method can further determine whether the total number of zero crossing points adopted in 1s is larger than the maximum number threshold value, so that the voltage open-phase state is distinguished from the normal state.
In one embodiment, as shown in connection with fig. 9, determining the state of the input voltage of the charging module according to the total zero crossing number and the sampling peak value of the input voltage of each phase may include:
judging whether two phases of input voltage sampling peak values exist in the input voltage sampling peak values of each phase, wherein the two phases of input voltage sampling peak values are larger than the highest set voltage threshold value, and one phase of input voltage sampling peak value is smaller than the lowest set voltage threshold value.
If the two-phase input voltage sampling peak value is larger than the highest set voltage threshold value and the one-phase input voltage sampling peak value is smaller than the lowest set voltage threshold value, determining that the state of the input voltage of the charging module is a voltage open-phase state.
If the sampling peak value of the input voltage of each phase is smaller than the highest set voltage threshold value, judging whether the total zero crossing number is larger than the maximum number threshold value.
And if the total zero crossing number is greater than the maximum number threshold, determining that the state of the input voltage of the charging module is a voltage under-voltage state.
And if the total zero crossing number is smaller than or equal to the maximum number threshold value, determining that the state of the input voltage of the charging module is a normal power-off state.
In this embodiment, by combining the characteristics of the three-phase input voltage sampling peak values and the total zero crossing number characteristics corresponding to the voltage under-voltage state, the normal power-off state and the voltage phase-failure state, it can be directly determined whether the state of the input voltage of the charging module is the voltage phase-failure state by judging whether the two-phase input voltage sampling peak value is greater than the set maximum voltage threshold value and whether the one-phase input voltage sampling peak value is less than the lowest set voltage threshold value. On the basis, the normal power-off state and the voltage under-voltage state are distinguished by judging whether the sampling peak value of the three-phase input voltage is larger than a set highest voltage threshold value and whether the total zero crossing number is larger than the maximum number threshold value.
In one embodiment, as shown in connection with fig. 10, determining the state of the input voltage of the charging module according to the total zero crossing number and the sampling peak value of the input voltage of each phase may include:
and judging whether the total zero crossing number is smaller than a minimum number threshold value.
And if the total zero crossing number is smaller than the minimum number threshold value, determining that the state of the input voltage of the charging module is a normal power-off state.
If the total zero crossing number is greater than or equal to the minimum number threshold, judging whether the sampling peak value of the input voltage of each phase is smaller than the highest set voltage threshold.
And if the sampling peak value of the input voltage of each phase is smaller than the highest set voltage threshold value, determining that the state of the input voltage of the charging module is a voltage under-voltage state.
If at least one phase of input voltage sampling peak value in the input voltage sampling peak values of each phase is larger than or equal to the highest set voltage threshold value, judging whether the total zero crossing number is smaller than the maximum number threshold value.
And if the total zero crossing number is smaller than the maximum number threshold, determining that the state of the input voltage of the charging module is a voltage open-phase state.
In this embodiment, the characteristics of the three-phase input voltage sampling peak values and the total zero crossing number characteristics corresponding to the voltage under-voltage state, the normal power-off state and the voltage phase-failure state are combined, the normal power-off state can be eliminated according to the total zero crossing number, and on this basis, the voltage phase-failure state and the voltage under-voltage state are distinguished by judging whether the three-phase input voltage sampling peak values are smaller than the set maximum voltage threshold value and whether the total zero crossing number is smaller than the maximum number threshold value.
In one embodiment, referring to fig. 11, determining the state of the input voltage of the charging module according to the total zero crossing number and the sampling peak value of the input voltage of each phase may include:
and judging whether the total zero crossing number is larger than the maximum number threshold value.
If the total zero crossing number is greater than the maximum number threshold, judging whether the sampling peak value of the input voltage of each phase is smaller than the maximum set voltage threshold.
If the total zero crossing number is smaller than or equal to the maximum number threshold, judging whether two-phase input voltage sampling peaks exist in the input voltage sampling peaks of each phase or not, and if so, judging whether the two-phase input voltage sampling peaks are larger than the maximum set voltage threshold.
And if the sampling peak value of the input voltage of each phase is smaller than the highest set voltage threshold value, determining that the state of the input voltage of the charging module is a voltage under-voltage state.
And if the two-phase input voltage sampling peak value is larger than the highest set voltage threshold value in the input voltage sampling peak values of each phase, determining that the state of the input voltage of the charging module is a voltage open-phase state.
And if the two phase input voltage sampling peak values in the input voltage sampling peak values of each phase are smaller than or equal to the highest set voltage threshold value, determining that the state of the input voltage of the charging module is a normal power-off state.
In this embodiment, the voltage under-voltage state, the normal power-off state, and the three-phase input voltage sampling peak value feature and the total zero crossing number feature corresponding to the voltage phase-failure state are combined, and the voltage under-voltage state can be eliminated according to whether the total zero crossing number is greater than the maximum number threshold value and whether the three-phase input voltage sampling peak value is less than the maximum set voltage threshold value. On the basis, the voltage open-phase state and the normal power-off state are distinguished by judging whether the sampling peak value of the two-phase input voltage is larger than the highest set voltage threshold value.
In the above-mentioned different methods for determining the state of the input voltage of the charging module according to the total zero crossing number and the sampling peak value of the input voltage of each phase, the highest voltage threshold value, the lowest voltage threshold value, the minimum number threshold value, and the maximum number threshold value may be the same or different, which is not limited in this embodiment.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
The following are device embodiments of the invention, for details not described in detail therein, reference may be made to the corresponding method embodiments described above.
Fig. 12 is a schematic structural diagram of a charging module input voltage state detection device according to an embodiment of the present invention, and for convenience of explanation, only a portion related to the embodiment of the present invention is shown, which is described in detail below:
as shown in fig. 12, the charging module input voltage state detection device includes: an acquisition module 121 and a status detection module 122.
An obtaining module 121, configured to obtain the total zero crossing number of the input voltages of each phase of the charging module within a set time, and obtain sampling peak values of the input voltages of each phase of the charging module;
The state detection module 122 is configured to determine a state of the input voltage of the charging module according to the total number of zero crossings and the sampling peak value of the input voltage of each phase.
According to the embodiment of the invention, the total zero crossing number of the input voltages of each phase of the charging module is obtained within the set time, and the sampling peak value of the input voltages of each phase of the charging module is obtained, so that the characteristic that the total zero crossing number of the input voltages of each phase of the charging module in the set time is far less than the total zero crossing number of the input voltages of other fault states when the charging module is manually turned off due to the manual stopping of the charging module is utilized, and whether the state of the input voltages of the charging module is voltage phase-missing, undervoltage or normal outage is accurately determined according to the total zero crossing number and the sampling peak value of the input voltages of each phase, so that the charging module is protected later or the input voltage state of the charging module is analyzed, and erroneous judgment is avoided.
In one possible implementation, the state detection module 122 may be configured to determine whether a two-phase input voltage sampling peak exists in the input voltage sampling peaks of each phase and is less than a highest set voltage threshold, or whether a one-phase input voltage sampling peak exists and is less than a lowest set voltage threshold;
If the two-phase input voltage sampling peak value is smaller than the highest set voltage threshold value, judging whether the total zero crossing number is larger than the maximum number threshold value or not;
if one-phase input voltage sampling peak value is smaller than the lowest set voltage threshold value, judging whether the total zero crossing number is larger than the lowest number threshold value;
if the total zero crossing number is greater than the maximum number threshold, determining that the state of the input voltage of the charging module is a voltage under-voltage state;
if the total zero crossing number is greater than the minimum number threshold, determining that the state of the input voltage of the charging module is a voltage open-phase state;
and if the total zero crossing number is smaller than or equal to the maximum number threshold or the minimum number threshold, determining that the state of the input voltage of the charging module is a normal power-off state.
In one possible implementation, the state detection module 122 may be configured to determine whether the peak values of the input voltage samples of each phase are all smaller than a highest set voltage threshold value, and whether the total zero crossing number is greater than a maximum number threshold value;
if the sampling peak values of the input voltages of all phases are smaller than the highest set voltage threshold value and the total zero crossing number is larger than the maximum number threshold value, determining that the state of the input voltage of the charging module is a voltage under-voltage state;
If the sampling peak values of the input voltages of all phases are smaller than the highest set voltage threshold value and the total zero crossing number is smaller than or equal to the maximum number threshold value, determining that the state of the input voltage of the charging module is a normal power-off state;
and if at least one phase of input voltage sampling peak value exists in the input voltage sampling peak values of each phase and is larger than or equal to the highest set voltage threshold value, and the total zero crossing number is smaller than or equal to the maximum number threshold value, determining that the state of the input voltage of the charging module is a voltage open-phase state.
In one possible implementation, the state detection module 122 may be configured to determine whether two phase input voltage sampling peaks of the phase input voltage sampling peaks are greater than a highest set voltage threshold and one phase input voltage sampling peak is less than a lowest set voltage threshold;
if the two-phase input voltage sampling peak value is larger than the highest set voltage threshold value and the one-phase input voltage sampling peak value is smaller than the lowest set voltage threshold value, determining that the state of the input voltage of the charging module is a voltage open-phase state;
if the sampling peak values of the input voltages of all phases are smaller than the highest set voltage threshold value, judging whether the total zero crossing number is larger than the maximum number threshold value or not;
If the total zero crossing number is greater than the maximum number threshold, determining that the state of the input voltage of the charging module is a voltage under-voltage state;
and if the total zero crossing number is smaller than or equal to the maximum number threshold, determining that the state of the input voltage of the charging module is a normal power-off state.
In one possible implementation, the state detection module 122 may be configured to determine whether the total number of zero crossings is less than a minimum number threshold;
if the total zero crossing number is smaller than the minimum number threshold, determining that the state of the input voltage of the charging module is a normal power-off state;
if the total zero crossing number is greater than or equal to the minimum number threshold, judging whether the sampling peak values of the input voltages of all phases are smaller than the highest set voltage threshold;
if the sampling peak value of the input voltage of each phase is smaller than the highest set voltage threshold value, determining that the state of the input voltage of the charging module is a voltage under-voltage state;
if at least one phase of input voltage sampling peak value in the input voltage sampling peak values of each phase is larger than or equal to the highest set voltage threshold value, judging whether the total zero crossing number is smaller than the maximum number threshold value;
and if the total zero crossing number is smaller than the maximum number threshold, determining that the state of the input voltage of the charging module is a voltage open-phase state.
In one possible implementation, the state detection module 122 may be configured to determine whether the total number of zero crossings is greater than a maximum number threshold;
if the total zero crossing number is greater than the maximum number threshold, judging whether the input voltage sampling peak values of all phases are smaller than the highest set voltage threshold;
if the total zero crossing number is smaller than or equal to the maximum number threshold, judging whether two-phase input voltage sampling peaks exist in the input voltage sampling peaks of each phase or not, wherein the two-phase input voltage sampling peaks are larger than a highest set voltage threshold;
if the sampling peak value of the input voltage of each phase is smaller than the highest set voltage threshold value, determining that the state of the input voltage of the charging module is a voltage under-voltage state;
if the two-phase input voltage sampling peak value is larger than the highest set voltage threshold value, determining that the state of the input voltage of the charging module is a voltage open-phase state;
and if the two phase input voltage sampling peak values in the input voltage sampling peak values of each phase are smaller than or equal to the highest set voltage threshold value, determining that the state of the input voltage of the charging module is a normal power-off state.
Fig. 13 is a schematic diagram of a controller according to an embodiment of the present invention. As shown in fig. 13, the controller 13 of this embodiment includes: a processor 130, a memory 131 and a computer program 132 stored in the memory 131 and executable on the processor 130. The processor 130, when executing the computer program 132, implements the steps of the above-described embodiments of the method for detecting the input voltage state of each charging module, for example, steps 101 to 102 shown in fig. 1, or steps shown in fig. 7 to 11. Alternatively, the processor 130, when executing the computer program 132, performs the functions of the modules/units in the above-described apparatus embodiments, for example, the functions of the modules/units 121 to 122 shown in fig. 12.
By way of example, the computer program 132 may be partitioned into one or more modules/units that are stored in the memory 131 and executed by the processor 130 to complete the present invention. One or more of the modules/units may be a series of computer program instruction segments capable of performing specific functions for describing the execution of the computer program 132 in the controller 13. For example, the computer program 132 may be split into modules/units 121 to 122 shown in fig. 12.
The controller 13 may include, but is not limited to, a processor 130, a memory 131. It will be appreciated by those skilled in the art that fig. 13 is merely an example of the controller 13 and is not meant to be limiting of the controller 13, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., the controller may further include input and output devices, network access devices, buses, etc.
The processor 130 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 131 may be an internal storage unit of the controller 13, such as a hard disk or a memory of the controller 13. The memory 131 may also be an external storage device of the controller 13, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the controller 13. Further, the memory 131 may also include both an internal storage unit and an external storage device of the controller 13. The memory 131 is used to store computer programs and other programs and data required by the controller. The memory 131 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/controller and method may be implemented in other manners. For example, the apparatus/controller embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present invention may implement all or part of the procedures in the method of the above embodiment, or may be implemented by instructing related hardware by a computer program, where the computer program may be stored in a computer readable storage medium, and the computer program may implement the steps of the method embodiment of detecting the input voltage state of each charging module when executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, executable files or in some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth.
The above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.
Claims (9)
1. The method for detecting the input voltage state of the charging module is characterized by comprising the following steps of:
acquiring the total zero crossing number of the input voltage of each phase of the charging module in a set time, and acquiring the sampling peak value of the input voltage of each phase of the charging module;
and determining the state of the input voltage of the charging module according to the total zero crossing number and the sampling peak value of the input voltage of each phase.
2. The method according to claim 1, wherein determining the state of the input voltage of the charging module according to the total zero crossing number and the sampling peak value of the input voltage of each phase comprises:
Judging whether two phases of input voltage sampling peaks exist in the input voltage sampling peaks or not, and whether one phase of input voltage sampling peaks exist or not is smaller than the highest set voltage threshold or not;
if the two-phase input voltage sampling peak value is smaller than the highest set voltage threshold value, judging whether the total zero crossing number is larger than the maximum number threshold value or not;
if one-phase input voltage sampling peak value is smaller than the lowest set voltage threshold value, judging whether the total zero crossing number is larger than the lowest number threshold value;
if the total zero crossing number is greater than the maximum number threshold, determining that the state of the input voltage of the charging module is a voltage under-voltage state;
if the total zero crossing number is greater than the minimum number threshold, determining that the state of the input voltage of the charging module is a voltage open-phase state;
and if the total zero crossing number is smaller than or equal to the maximum number threshold or the minimum number threshold, determining that the state of the input voltage of the charging module is a normal power-off state.
3. The method according to claim 1, wherein determining the state of the input voltage of the charging module according to the total zero crossing number and the sampling peak value of the input voltage of each phase comprises:
Judging whether the sampling peak values of the input voltages of all phases are smaller than a highest set voltage threshold value or not, and whether the total zero crossing number is larger than a maximum number threshold value or not;
if the sampling peak values of the input voltages of all phases are smaller than the highest set voltage threshold value and the total zero crossing number is larger than the maximum number threshold value, determining that the state of the input voltage of the charging module is a voltage under-voltage state;
if the sampling peak values of the input voltages of all phases are smaller than the highest set voltage threshold value and the total zero crossing number is smaller than or equal to the maximum number threshold value, determining that the state of the input voltage of the charging module is a normal power-off state;
and if at least one phase of input voltage sampling peak value exists in the input voltage sampling peak values of each phase and is larger than or equal to the highest set voltage threshold value, and the total zero crossing number is smaller than or equal to the maximum number threshold value, determining that the state of the input voltage of the charging module is a voltage open-phase state.
4. The method according to claim 1, wherein determining the state of the input voltage of the charging module according to the total zero crossing number and the sampling peak value of the input voltage of each phase comprises:
Judging whether two phases of input voltage sampling peaks exist in the input voltage sampling peaks or not, wherein the two phases of input voltage sampling peaks are larger than a highest set voltage threshold, and one phase of input voltage sampling peaks are smaller than a lowest set voltage threshold;
if the two-phase input voltage sampling peak value is larger than the highest set voltage threshold value and the one-phase input voltage sampling peak value is smaller than the lowest set voltage threshold value, determining that the state of the input voltage of the charging module is a voltage open-phase state;
if the sampling peak values of the input voltages of all phases are smaller than the highest set voltage threshold value, judging whether the total zero crossing number is larger than the maximum number threshold value or not;
if the total zero crossing number is greater than the maximum number threshold, determining that the state of the input voltage of the charging module is a voltage under-voltage state;
and if the total zero crossing number is smaller than or equal to the maximum number threshold, determining that the state of the input voltage of the charging module is a normal power-off state.
5. The method according to claim 1, wherein determining the state of the input voltage of the charging module according to the total zero crossing number and the sampling peak value of the input voltage of each phase comprises:
Judging whether the total zero crossing number is smaller than a minimum number threshold value or not;
if the total zero crossing number is smaller than the minimum number threshold, determining that the state of the input voltage of the charging module is a normal power-off state;
if the total zero crossing number is greater than or equal to the minimum number threshold, judging whether the sampling peak values of the input voltages of all phases are smaller than the highest set voltage threshold;
if the sampling peak value of the input voltage of each phase is smaller than the highest set voltage threshold value, determining that the state of the input voltage of the charging module is a voltage under-voltage state;
if at least one phase of input voltage sampling peak value in the input voltage sampling peak values of each phase is larger than or equal to the highest set voltage threshold value, judging whether the total zero crossing number is smaller than the maximum number threshold value;
and if the total zero crossing number is smaller than the maximum number threshold, determining that the state of the input voltage of the charging module is a voltage open-phase state.
6. The method according to claim 1, wherein determining the state of the input voltage of the charging module according to the total zero crossing number and the sampling peak value of the input voltage of each phase comprises:
Judging whether the total zero crossing number is larger than a maximum number threshold value or not;
if the total zero crossing number is greater than the maximum number threshold, judging whether the input voltage sampling peak values of all phases are smaller than the highest set voltage threshold;
if the total zero crossing number is smaller than or equal to the maximum number threshold, judging whether two-phase input voltage sampling peaks exist in the input voltage sampling peaks of each phase or not, wherein the two-phase input voltage sampling peaks are larger than a highest set voltage threshold;
if the sampling peak value of the input voltage of each phase is smaller than the highest set voltage threshold value, determining that the state of the input voltage of the charging module is a voltage under-voltage state;
if the two-phase input voltage sampling peak value is larger than the highest set voltage threshold value, determining that the state of the input voltage of the charging module is a voltage open-phase state;
and if the two phase input voltage sampling peak values in the input voltage sampling peak values of each phase are smaller than or equal to the highest set voltage threshold value, determining that the state of the input voltage of the charging module is a normal power-off state.
7. A charging module input voltage state detection device, comprising:
the acquisition module is used for acquiring the total zero crossing number of the input voltages of each phase of the charging module in a set time and acquiring sampling peak values of the input voltages of each phase of the charging module;
And the state detection module is used for determining the state of the input voltage of the charging module according to the total zero crossing number and the sampling peak value of the input voltage of each phase.
8. A controller comprising a memory for storing a computer program and a processor for invoking and running the computer program stored in the memory to perform the method of any of claims 1 to 6.
9. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any of the preceding claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410059686.5A CN117871931A (en) | 2024-01-15 | 2024-01-15 | Method and device for detecting input voltage state of charging module and controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410059686.5A CN117871931A (en) | 2024-01-15 | 2024-01-15 | Method and device for detecting input voltage state of charging module and controller |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117871931A true CN117871931A (en) | 2024-04-12 |
Family
ID=90588109
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410059686.5A Pending CN117871931A (en) | 2024-01-15 | 2024-01-15 | Method and device for detecting input voltage state of charging module and controller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117871931A (en) |
-
2024
- 2024-01-15 CN CN202410059686.5A patent/CN117871931A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112067912B (en) | Open-phase detection method, electronic equipment and storage medium | |
CN110474420B (en) | Control method, control device and control terminal of multi-system uninterruptible power supply | |
CN106569129B (en) | Motor safety detection method and system and electric machine control system | |
CN105425055A (en) | Input open-phase detection apparatus and method, and multi-phase AC input electronic device | |
CN107782983A (en) | A kind of detection method of servo-driver output phase shortage | |
CN110797968B (en) | Power-off prevention method and system for uninterruptible power supply and terminal equipment | |
CN117871931A (en) | Method and device for detecting input voltage state of charging module and controller | |
CN113777429A (en) | Filter capacitor failure early warning method and control device | |
CN112688275B (en) | Inverter protection method and device and terminal equipment | |
CN113224959B (en) | Inverter control method and UPS | |
CN113176439B (en) | Single-phase alternating-current voltage detection circuit and detection method thereof | |
CN118068085A (en) | Insulation resistance detection method, controller, direct current device and storage medium | |
CN107009907B (en) | Output sampling method and device of charging device | |
CN110545516B (en) | Method and device for detecting faults of coil equipment | |
CN115166585B (en) | Ground fault detection anti-misjudgment method and device and electronic equipment | |
CN111239460B (en) | Sampling circuit and electrical equipment | |
CN116298559A (en) | Input open-phase detection method, device and medium | |
CN113937874A (en) | Method and system for rapidly identifying power failure and readable storage medium | |
CN116247688A (en) | Capacitance input control method, sampling module, control system and device | |
CN114089057A (en) | Fault diagnosis method and terminal of power supply system | |
CN115372862A (en) | Method and device for detecting grounding reliability of alternating current power supply and alternating current charging pile equipment | |
CN115856511A (en) | Equipment working condition detection method, equipment working condition detection device and terminal equipment | |
CN118169602A (en) | Bypass reverse-filling detection method of UPS, controller, UPS and storage medium | |
CN118337077A (en) | Control method and device for direct current inverter and direct current inverter | |
CN117007849A (en) | Method and device for detecting power grid voltage |
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 |