CN113514711B - Phase sequence detection device and phase sequence detection method - Google Patents
Phase sequence detection device and phase sequence detection method Download PDFInfo
- Publication number
- CN113514711B CN113514711B CN202010272327.XA CN202010272327A CN113514711B CN 113514711 B CN113514711 B CN 113514711B CN 202010272327 A CN202010272327 A CN 202010272327A CN 113514711 B CN113514711 B CN 113514711B
- Authority
- CN
- China
- Prior art keywords
- duration
- phase
- waveform
- durations
- phase sequence
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 84
- 238000000819 phase cycle Methods 0.000 title claims abstract description 73
- 238000006243 chemical reaction Methods 0.000 claims description 30
- 238000001914 filtration Methods 0.000 claims description 21
- 238000000034 method Methods 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 10
- 230000007423 decrease Effects 0.000 description 6
- 238000005070 sampling Methods 0.000 description 6
- 238000013461 design Methods 0.000 description 4
- 238000001208 nuclear magnetic resonance pulse sequence Methods 0.000 description 4
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 239000003990 capacitor Substances 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000000630 rising 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
- G01R29/00—Arrangements for measuring or indicating electric quantities not covered by groups G01R19/00 - G01R27/00
- G01R29/18—Indicating phase sequence; Indicating synchronism
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Emergency Protection Circuit Devices (AREA)
- Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)
Abstract
提供了一种相序检测装置及相序检测方法。根据本公开的实施例,相序检测装置可以包括:波形检测电路,用于检测三相交流电力的第一相相对于第二相的第一线电压的第一波形以及第二相相对于第三相的第二线电压的第二波形;以及信号处理器,用于确定第一波形的第一持续时间以及第二波形的第二持续时间,基于第一持续时间和第二持续时间确定交流电力的相序或者是否发生缺相故障。根据本公开的实施例,通过软硬件结合的方式,可以方便、有效、可靠地实现相序检测。
A phase sequence detection device and a phase sequence detection method are provided. According to an embodiment of the present disclosure, the phase sequence detection device may include: a waveform detection circuit for detecting a first waveform of a first line voltage of a first phase relative to a second phase of three-phase AC power and a second waveform of a second line voltage of a second phase relative to a third phase; and a signal processor for determining a first duration of the first waveform and a second duration of the second waveform, and determining the phase sequence of the AC power or whether a phase failure occurs based on the first duration and the second duration. According to an embodiment of the present disclosure, phase sequence detection can be conveniently, effectively and reliably implemented by combining software and hardware.
Description
技术领域Technical Field
本公开一般地涉及电力电子技术,更具体地,涉及一种相序检测装置和相序检测方法。The present disclosure generally relates to power electronics technology, and more particularly, to a phase sequence detection device and a phase sequence detection method.
背景技术Background Art
许多电气设备例如变频器等在使用时需要进行相位侦测,以防止缺相、判断相序等。目前,通常使用硬件电路来进行相位侦测。但是,这种电路通常较为复杂,应用电压范围窄,电网适应性差(例如,只能在50Hz下使用),元器件使用较多,可靠性低。Many electrical devices, such as frequency converters, require phase detection when in use to prevent phase loss, determine phase sequence, etc. Currently, hardware circuits are usually used for phase detection. However, such circuits are usually complex, have a narrow application voltage range, poor grid adaptability (for example, they can only be used at 50Hz), use more components, and have low reliability.
发明内容Summary of the invention
有鉴于此,本公开的目的至少部分地在于提供一种相序检测装置和相序检测方法,以至少部分地抑制或解决上述问题。In view of this, an object of the present disclosure is at least partially to provide a phase sequence detection device and a phase sequence detection method to at least partially suppress or solve the above-mentioned problems.
根据本公开的一个方面,提供了一种相序检测装置,包括:波形检测电路,用于检测三相交流电力的第一相相对于第二相的第一线电压的第一波形以及第二相相对于第三相的第二线电压的第二波形;以及信号处理器,用于确定第一波形的第一持续时间以及第二波形的第二持续时间,基于第一持续时间和第二持续时间确定三相交流电力的相序或是否发生缺相故障。According to one aspect of the present disclosure, a phase sequence detection device is provided, comprising: a waveform detection circuit for detecting a first waveform of a first line voltage of a first phase relative to a second phase of three-phase AC power and a second waveform of a second line voltage of the second phase relative to a third phase; and a signal processor for determining a first duration of the first waveform and a second duration of the second waveform, and determining the phase sequence of the three-phase AC power or whether a phase loss fault occurs based on the first duration and the second duration.
在此,使用硬件电路——波形检测电路——来对线电压进行采样,获得它们的波形,并通过信号处理器使用算法或者软件来基于获得的波形判断相序或缺相。判断的基本原理在于正常情况下三相交流电力的三相之间的相位差是大致固定的,三相交流电力的幅值也是大致固定的,因此相邻两相之间的线电压的相位和幅值也基本上是恒定的,继而,两个线电压的高(或低)电平持续时间也基本上是固定的,且两个线电压的高(或低)电平持续时间之间的时间差也基本上为零。如果有任意一相电压的幅值降低,则相应的线电压的高(或低)电平持续时间缩短。因此,通过检测两个线电压的高(或低)电平持续时间,可以确定是否发生缺相故障。此外,如果任意两相电压的幅值差变大,则两个线电压的高(或低)电平持续时间之差变大。因此,通过检测两个线电压的高(或低)电平持续时间之差,可以确定三相交流电力的平衡度。由于可以按照预设采样时间对线电压进行采样来确定线电压的高(或低)电平持续时间而无需始终监测线电压,而且判断通过软件来实现,所以可以简化软件,减少软件占用的资源。Here, a hardware circuit, a waveform detection circuit, is used to sample the line voltages, obtain their waveforms, and use an algorithm or software through a signal processor to determine the phase sequence or phase loss based on the obtained waveform. The basic principle of judgment is that under normal circumstances, the phase difference between the three phases of the three-phase AC power is approximately fixed, and the amplitude of the three-phase AC power is also approximately fixed, so the phase and amplitude of the line voltage between two adjacent phases are also basically constant, and then, the high (or low) level duration of the two line voltages is also basically fixed, and the time difference between the high (or low) level duration of the two line voltages is also basically zero. If the amplitude of any phase voltage decreases, the high (or low) level duration of the corresponding line voltage is shortened. Therefore, by detecting the high (or low) level duration of the two line voltages, it can be determined whether a phase loss fault occurs. In addition, if the amplitude difference between any two phase voltages becomes larger, the difference between the high (or low) level duration of the two line voltages becomes larger. Therefore, by detecting the difference between the high (or low) level duration of the two line voltages, the balance of the three-phase AC power can be determined. Since the line voltage can be sampled at a preset sampling time to determine the high (or low) level duration of the line voltage without always monitoring the line voltage, and the judgment is implemented by software, the software can be simplified and the resources occupied by the software can be reduced.
根据本公开的实施例,所述波形检测电路可以包括:波形转换电路,被配置为将所述第一波形和所述第二波形中的每个转换为周期和相位与所述波形相同的脉冲波形,其中,信号处理器被配置为基于所述脉冲波形的持续时间,进行所述确定。According to an embodiment of the present disclosure, the waveform detection circuit may include: a waveform conversion circuit configured to convert each of the first waveform and the second waveform into a pulse waveform having the same period and phase as the waveform, wherein the signal processor is configured to make the determination based on the duration of the pulse waveform.
根据本公开的实施例,所述波形转换电路可以被配置为将波形的幅值超出预定阈值的部分转换成脉冲。According to an embodiment of the present disclosure, the waveform conversion circuit may be configured to convert a portion of the waveform whose amplitude exceeds a predetermined threshold into a pulse.
根据本公开的实施例,所述信号处理器可以被配置为:如果第一持续时间和第二持续时间均大于第一预定阈值,且第一持续时间与第二持续时间之差小于第二预定阈值,则进入相序判断阶段,否则确定发生缺相故障。According to an embodiment of the present disclosure, the signal processor can be configured to: if the first duration and the second duration are both greater than the first predetermined threshold, and the difference between the first duration and the second duration is less than the second predetermined threshold, then enter the phase sequence judgment stage; otherwise, determine that a phase loss fault has occurred.
根据本公开的实施例,在相序判断阶段,如果第一持续时间先于第二持续时间出现,则确定相序为正向,否则,确定相序为反向。According to an embodiment of the present disclosure, in the phase sequence determination stage, if the first duration occurs before the second duration, the phase sequence is determined to be forward, otherwise, the phase sequence is determined to be reverse.
根据本公开的实施例,所述信号处理器可以被配置为在预定检测周期内识别多个所述第一持续时间和多个所述第二持续时间,并将所述多个第一持续时间之和的平均作为所述第一持续时间,将所述多个第二持续时间之和的平均作为所述第二持续时间。According to an embodiment of the present disclosure, the signal processor may be configured to identify multiple first durations and multiple second durations within a predetermined detection period, and take an average of the sum of the multiple first durations as the first duration, and take an average of the sum of the multiple second durations as the second duration.
根据本公开的实施例,如果在预定检测周期内未检测到所述第一持续时间或所述第二持续时间,则所述信号处理器可以确定发生缺相故障。According to an embodiment of the present disclosure, if the first duration or the second duration is not detected within a predetermined detection period, the signal processor may determine that a phase loss fault occurs.
根据本公开的实施例,所述信号处理器还可以被配置为对所述多个第一持续时间和所述多个第二持续时间进行滤波,滤除持续时间小于第一滤波阈值且持续时间间隔小于第二滤波阈值的持续时间。According to an embodiment of the present disclosure, the signal processor may be further configured to filter the multiple first durations and the multiple second durations, and filter out durations whose duration is less than a first filtering threshold and whose duration time interval is less than a second filtering threshold.
根据本公开的实施例,所述波形转换电路可以包括:光耦,其输入侧光电二极管接收待检测的线电压或与待检测的线电压成比例的电压,其输出侧晶体管被连接为在输入侧光电二极管导通时在输出节点处输出低电平,而在输入侧光电二极管截止时输出高电平;逻辑转换电路,接收光耦的输出节点处的输出,并将高电平输出转换为低电平,将低电平输出转换为高电平;以及滤波电路,对逻辑转换电路的输出进行滤波。According to an embodiment of the present disclosure, the waveform conversion circuit may include: an optocoupler, whose input-side photodiode receives a line voltage to be detected or a voltage proportional to the line voltage to be detected, and whose output-side transistor is connected to output a low level at an output node when the input-side photodiode is turned on, and output a high level when the input-side photodiode is turned off; a logic conversion circuit, which receives the output at the output node of the optocoupler and converts the high-level output into a low level and converts the low-level output into a high level; and a filtering circuit, which filters the output of the logic conversion circuit.
根据本公开的另一方面,提供了一种相序检测方法,包括:检测三相交流电力的第一相相对于第二相的第一线电压的第一波形以及第二相相对于第三相的第二线电压的第二波形;以及确定第一波形的第一持续时间以及第二波形的第二持续时间,基于第一持续时间和第二持续时间确定三相交流电力的相序或者是否发生缺相故障。According to another aspect of the present disclosure, a phase sequence detection method is provided, including: detecting a first waveform of a first line voltage of a first phase relative to a second phase of three-phase AC power and a second waveform of a second line voltage of the second phase relative to a third phase; and determining a first duration of the first waveform and a second duration of the second waveform, and determining the phase sequence of the three-phase AC power or whether a phase loss fault occurs based on the first duration and the second duration.
根据本公开的实施例,检测第一波形和第二波形可以包括:将所述第一波形和所述第二波形中的每个转换为周期和相位与所述波形相同的脉冲波形,其中,基于所述脉冲波形的持续时间,进行所述确定。According to an embodiment of the present disclosure, detecting the first waveform and the second waveform may include: converting each of the first waveform and the second waveform into a pulse waveform having the same period and phase as the waveform, wherein the determination is performed based on a duration of the pulse waveform.
根据本公开的实施例,基于第一持续时间和第二持续时间确定三相交流电力的相序或者是否发生缺相故障可以包括:如果第一持续时间和第二持续时间均大于第一预定阈值,且第一持续时间与第二持续时间之差小于第二预定阈值,确定进入相序判断阶段,否则确定发生缺相故障。According to an embodiment of the present disclosure, determining the phase sequence of three-phase AC power or whether a phase loss fault occurs based on a first duration and a second duration may include: if the first duration and the second duration are both greater than a first predetermined threshold, and the difference between the first duration and the second duration is less than a second predetermined threshold, determining to enter the phase sequence judgment stage; otherwise determining that a phase loss fault occurs.
根据本公开的实施例,相序判断阶段包括:如果第一持续时间先于第二持续时间出现,则确定相序为正向,否则,确定相序为反向。According to an embodiment of the present disclosure, the phase sequence determination stage includes: if the first duration occurs before the second duration, determining that the phase sequence is forward; otherwise, determining that the phase sequence is reverse.
根据本公开的实施例,基于第一持续时间和第二持续时间确定三相交流电力的相序或者是否发生缺相故障可以包括:在预定检测周期内识别多个所述第一持续时间和多个所述第二持续时间,并将所述多个第一持续时间之和的平均作为所述第一持续时间,将所述多个第二持续时间之和的平均作为所述第二持续时间。According to an embodiment of the present disclosure, determining the phase sequence of three-phase AC power or whether a phase loss fault occurs based on a first duration and a second duration may include: identifying multiple first durations and multiple second durations within a predetermined detection period, and taking the average of the sum of the multiple first durations as the first duration, and taking the average of the sum of the multiple second durations as the second duration.
根据本公开的实施例,基于第一持续时间和第二持续时间确定三相交流电力的相序或者是否发生缺相故障可以包括:如果在预定检测周期内未检测到所述第一持续时间或所述第二持续时间,则确定发生缺相故障。According to an embodiment of the present disclosure, determining the phase sequence of three-phase AC power or whether a phase loss fault occurs based on the first duration and the second duration may include: if the first duration or the second duration is not detected within a predetermined detection cycle, determining that a phase loss fault occurs.
根据本公开的实施例,基于第一持续时间和第二持续时间确定三相交流电力的相序或者是否发生缺相故障还可以包括:对所述多个第一持续时间和所述多个第二持续时间进行滤波,滤除持续时间小于第一滤波阈值且持续时间间隔小于第二滤波阈值的持续时间。According to an embodiment of the present disclosure, determining the phase sequence of three-phase AC power or whether a phase loss fault occurs based on the first duration and the second duration may also include: filtering the multiple first durations and the multiple second durations, and filtering out durations whose duration is less than the first filtering threshold and whose duration time interval is less than the second filtering threshold.
如上所述,本公开所提出的方案方便、有效、可靠。As described above, the solution proposed in the present disclosure is convenient, effective and reliable.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
通过以下参照附图对本公开实施例的描述,本公开的上述以及其他目的、特征和优点将更为清楚,在附图中:The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
图1是示出了根据本公开实施例的检测原理的示意图;FIG1 is a schematic diagram showing a detection principle according to an embodiment of the present disclosure;
图2是示出了根据本公开实施例的相序检测装置的示意框图;FIG2 is a schematic block diagram showing a phase sequence detection device according to an embodiment of the present disclosure;
图3是示出了根据本公开实施例的波形转换示例的示意图;FIG3 is a schematic diagram showing an example of waveform conversion according to an embodiment of the present disclosure;
图4是示出了根据本公开实施例的波形转换电路示例的电路图;4 is a circuit diagram showing an example of a waveform conversion circuit according to an embodiment of the present disclosure;
图5是示出了根据本公开实施例的检测算法原理的示意图;FIG5 is a schematic diagram showing the principle of a detection algorithm according to an embodiment of the present disclosure;
图6是示出了根据本公开实施例的相序检测方法的流程图。FIG. 6 is a flow chart showing a phase sequence detection method according to an embodiment of the present disclosure.
贯穿附图,相同或相似的附图标记表示相同或相似的部件。Throughout the drawings, the same or similar reference numerals refer to the same or similar parts.
具体实施方式DETAILED DESCRIPTION
以下,将参照附图来描述本公开的实施例。但是应该理解,这些描述只是示例性的,而并非要限制本公开的范围。此外,在以下说明中,省略了对公知结构和技术的描述,以避免不必要地混淆本公开的概念。Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
在此使用的术语仅仅是为了描述具体实施例,而并非意在限制本公开。这里使用的词语“一”、“一个(种)”和“该”等也应包括“多个”、“多种”的意思,除非上下文另外明确指出。此外,在此使用的术语“包括”、“包含”等表明了所述特征、步骤、操作和/或部件的存在,但是并不排除存在或添加一个或多个其他特征、步骤、操作或部件。The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The words "a", "an (kind)" and "the" used herein should also include the meanings of "multiple" and "multiple", unless the context clearly indicates otherwise. In addition, the terms "including", "comprising" and the like used herein indicate the presence of the features, steps, operations and/or components, but do not exclude the presence or addition of one or more other features, steps, operations or components.
在此使用的所有术语(包括技术和科学术语)具有本领域技术人员通常所理解的含义,除非另外定义。应注意,这里使用的术语应解释为具有与本说明书的上下文相一致的含义,而不应以理想化或过于刻板的方式来解释。All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.
图1是示出了根据本公开实施例的检测原理的示意图。FIG. 1 is a schematic diagram illustrating a detection principle according to an embodiment of the present disclosure.
对于三相交流(AC)电力,例如来自电网的AC供电,正常情况下三相之间的相位差基本上是恒定的(120°),三相交流电力的幅值也是大致固定的。由此,相邻两相之间的线电压的相位和幅值也基本上是恒定的;继而,两个线电压的高(或低)电平持续时间也基本上是固定的,且两个线电压的高(或低)电平持续时间之间的时间差也基本上为零。图1示意性示出了第一相相对于第二相的线电压1-2以及第二相相对于第三相的线电压2-3的波形。更具体地,在时间上,这两个线电压的波形的高(或低)电平持续时间在设置了波形检测电路之后是固定的,例如,第一相相对于第二相的线电压1-2高于阈值的电平的持续时间T1是固定的,例如5ms,第二相相对于第三相的线电压2-3的高于阈值的电平的持续时间T2是也固定的,例如5ms。如果有任意一相电压的幅值降低,则相应的线电压的波形的高(或低)电平持续时间缩短。因此,通过检测两个线电压的波形的高(或低)电平持续时间,可以确定是否发生缺相故障。此外,如果任意两相电压的幅值差变大,则两个线电压的波形的高(或低)电平持续时间之差变大。因此,通过检测两个线电压的波形的高(或低)电平持续时间之差,可以确定三相交流电力的平衡度。For three-phase alternating current (AC) power, such as AC power supply from a power grid, the phase difference between the three phases is basically constant (120°) under normal circumstances, and the amplitude of the three-phase AC power is also roughly fixed. As a result, the phase and amplitude of the line voltage between two adjacent phases are also basically constant; then, the high (or low) level duration of the two line voltages is also basically fixed, and the time difference between the high (or low) level duration of the two line voltages is also basically zero. FIG1 schematically shows the waveforms of the line voltage 1-2 of the first phase relative to the second phase and the line voltage 2-3 of the second phase relative to the third phase. More specifically, in terms of time, the high (or low) level duration of the waveforms of the two line voltages is fixed after the waveform detection circuit is set, for example, the duration T1 of the level of the first phase relative to the second phase line voltage 1-2 being higher than the threshold is fixed, for example, 5ms, and the duration T2 of the level of the second phase relative to the third phase line voltage 2-3 being higher than the threshold is also fixed, for example, 5ms. If the amplitude of any phase voltage decreases, the high (or low) level duration of the corresponding line voltage waveform is shortened. Therefore, by detecting the high (or low) level duration of the two line voltage waveforms, it is possible to determine whether a phase failure occurs. In addition, if the amplitude difference between any two phase voltages increases, the difference between the high (or low) level duration of the two line voltage waveforms increases. Therefore, by detecting the difference between the high (or low) level duration of the two line voltage waveforms, the balance of the three-phase AC power can be determined.
例如,将第一相相对于第二相的第一线电压的波形称为第一波形,将第二相相对于第三相的第二线电压的波形称为第二波形,第一波形为高(或低)电平的持续时间称为第一持续时间,第二波形为高(或低)电平的持续时间称为第二持续时间,则可以通过检测第一持续时间、第二持续时间,在第一持续时间和第二持续时间小于第一预定阈值,或者第一持续时间与第二持续时间之差大于第二预定阈值时,可以认为发生了缺相故障。如果第一持续时间先于第二持续时间出现,则记录三相交流电力的相序为正向,否则,记录三相交流电力的相序为反向。For example, the waveform of the first line voltage of the first phase relative to the second phase is called the first waveform, the waveform of the second line voltage of the second phase relative to the third phase is called the second waveform, the duration of the first waveform being a high (or low) level is called the first duration, and the duration of the second waveform being a high (or low) level is called the second duration. Then, by detecting the first duration and the second duration, when the first duration and the second duration are less than the first predetermined threshold, or the difference between the first duration and the second duration is greater than the second predetermined threshold, it can be considered that a phase failure has occurred. If the first duration occurs before the second duration, the phase sequence of the three-phase AC power is recorded as forward, otherwise, the phase sequence of the three-phase AC power is recorded as reverse.
可以根据以上原理来设计检测算法。只需向算法输入代表波形特别是其高电平/低电平的数据(例如,波形采样)即可。于是,可以大大简化硬件部分的设计和减少软件的资源占用。The detection algorithm can be designed based on the above principle. It only needs to input data representing the waveform, especially its high level/low level (for example, waveform sampling) into the algorithm. Thus, the design of the hardware part can be greatly simplified and the resource occupation of the software can be reduced.
图2是示出了根据本公开实施例的相序检测装置的示意框图。FIG. 2 is a schematic block diagram showing a phase sequence detection device according to an embodiment of the present disclosure.
如图2所示,根据该实施例的相序检测装置200可以包括波形检测电路201和信号处理器203。As shown in FIG. 2 , the phase sequence detection device 200 according to this embodiment may include a waveform detection circuit 201 and a signal processor 203 .
波形检测电路201可以用于检测三相交流电力的第一相相对于第二相的线电压以及第二相相对于第三相的线电压各自的波形。波形检测电路201可以按多种方式来实现。例如,波形检测电路201可以简单地对线电压进行采样,并将采样信号送入信号处理器203中,由信号处理器203对采样信号进行处理并计算出波形的高(或低)电平持续时间。The waveform detection circuit 201 can be used to detect the waveforms of the line voltage of the first phase relative to the second phase and the line voltage of the second phase relative to the third phase of the three-phase AC power. The waveform detection circuit 201 can be implemented in many ways. For example, the waveform detection circuit 201 can simply sample the line voltage and send the sampled signal to the signal processor 203, which processes the sampled signal and calculates the high (or low) level duration of the waveform.
根据本公开的实施例,波形检测电路201可以包括波形转换电路,用于将第一波形和第二波形中的每个转换为周期和相位与该波形相同的脉冲波形。脉冲波形由于具有突变性,对于检测特别是电平检测来说是有利的。转换后的脉冲波形与转换之前的波形在时间上可以是基本上对准的,即同相,于是转换后的脉冲波形可以体现转换之前的波形在时间上的位置,并因此可以用于检测。According to an embodiment of the present disclosure, the waveform detection circuit 201 may include a waveform conversion circuit for converting each of the first waveform and the second waveform into a pulse waveform having the same period and phase as the waveform. The pulse waveform is advantageous for detection, especially level detection, because it has abruptness. The converted pulse waveform and the waveform before the conversion may be substantially aligned in time, i.e., in phase, so the converted pulse waveform can reflect the position of the waveform before the conversion in time, and can therefore be used for detection.
图3是示出了根据本公开实施例的波形转换示例的示意图。FIG. 3 is a schematic diagram showing an example of waveform conversion according to an embodiment of the present disclosure.
如图3所示,在该示例中,将线电压的波形转换为方波脉冲序列。具体地,可以将线电压的波形的幅值V超出预定阈值REF的部分转换成脉冲。于是,脉冲序列中各脉冲与线电压的波形的波峰部分在时间上基本一致。当然,由于电路元件可能存在的延迟,方波波形的上升沿、下降沿可能有一定的倾斜。阈值REF是可以调节的。As shown in FIG3 , in this example, the waveform of the line voltage is converted into a square wave pulse sequence. Specifically, the portion of the waveform of the line voltage whose amplitude V exceeds a predetermined threshold REF can be converted into a pulse. Thus, each pulse in the pulse sequence is substantially consistent with the peak portion of the waveform of the line voltage in time. Of course, due to the possible delay of the circuit elements, the rising edge and the falling edge of the square wave waveform may have a certain inclination. The threshold REF is adjustable.
当然,波形转换电路也可以具有不同的设计。例如,波形转换电路可以生成在时间上与线电压的波形的波谷部分相对应的脉冲序列(例如,通过将线电压的波形的幅值V低于负的预定阈值的部分转换成脉冲)。Of course, the waveform conversion circuit may also have different designs. For example, the waveform conversion circuit may generate a pulse sequence corresponding to the trough portion of the waveform of the line voltage in time (for example, by converting the portion of the waveform of the line voltage whose amplitude V is below a negative predetermined threshold into a pulse).
由于线电压1-2和2-3之间的相似性(不考虑噪声和相位差别,它们在原理上应当具有相同波形),因此无论波形转换电路的设计如何,将相同的波形转换电路应用于线电压1-2和2-3,则转换后的脉冲波形在时间上的相对位置关系以及电平(幅值)与线电压1-2和2-3的波形在时间上的相对位置关系以及电平(幅值)可以保持一致。Due to the similarity between line voltages 1-2 and 2-3 (ignoring noise and phase differences, they should have the same waveform in principle), no matter how the waveform conversion circuit is designed, by applying the same waveform conversion circuit to line voltages 1-2 and 2-3, the relative position relationship in time and the level (amplitude) of the converted pulse waveform can be kept consistent with the relative position relationship in time and the level (amplitude) of the waveforms of line voltages 1-2 and 2-3.
图4是示出了根据本公开实施例的波形转换电路示例的电路图。FIG. 4 is a circuit diagram showing an example of a waveform conversion circuit according to an embodiment of the present disclosure.
如图4所示,根据该实施例的波形转换电路400可以包括比较装置401,以便将线电压(例如第一相AC1相对于第二相AC2的线电压)与阈值电压REF进行比较。根据线电压与阈值电压REF之间的大小关系,比较装置401可以具有不同的输出。在该示例中,考虑到AC电力可能的高电压(例如,在电网的情况下,220V或380V等),使用能够起到隔离作用的光耦作为比较装置401。光耦包括输入侧光电二极管PD和输出侧晶体管PT。当线电压大于阈值电压REF时,加在光耦401的输入侧光电二极管PD两端的电压可使光电二极管PD导通,并因此使得输出侧晶体管PT导通。另一方面,当线电压小于阈值电压REF时,加在光耦401的输入侧光电二极管PD两端的电压不足以使光电二极管PD导通,并因此使得输出侧晶体管PT截止。As shown in FIG. 4 , the waveform conversion circuit 400 according to this embodiment may include a comparison device 401 to compare the line voltage (e.g., the line voltage of the first phase AC1 relative to the second phase AC2) with the threshold voltage REF. Depending on the magnitude relationship between the line voltage and the threshold voltage REF, the comparison device 401 may have different outputs. In this example, considering the possible high voltage of AC power (e.g., 220V or 380V, etc. in the case of a power grid), an optocoupler capable of isolating is used as the comparison device 401. The optocoupler includes an input-side photodiode PD and an output-side transistor PT. When the line voltage is greater than the threshold voltage REF, the voltage applied across the input-side photodiode PD of the optocoupler 401 can turn on the photodiode PD, and thus turn on the output-side transistor PT. On the other hand, when the line voltage is less than the threshold voltage REF, the voltage applied across the input-side photodiode PD of the optocoupler 401 is insufficient to turn on the photodiode PD, and thus turns off the output-side transistor PT.
在此,输入侧光电二极管PD可以通过分压电路403来接收线电压。分压电路403包括分压电阻器R1和R2。通过调节分压电阻器R1和R2的阻值来调节分压电路403的分压比,从而可以调节上述阈值电压REF,并进而调节与线电压的波形相对应的脉冲波形的持续时间的长度。Here, the input side photodiode PD can receive the line voltage through the voltage dividing circuit 403. The voltage dividing circuit 403 includes voltage dividing resistors R1 and R2. By adjusting the resistance values of the voltage dividing resistors R1 and R2 to adjust the voltage dividing ratio of the voltage dividing circuit 403, the threshold voltage REF can be adjusted, and the duration of the pulse waveform corresponding to the waveform of the line voltage can be adjusted.
另外,在输入侧串联有二极管D1,以防止反向电流流过光电二极管PD。In addition, a diode D1 is connected in series on the input side to prevent a reverse current from flowing through the photodiode PD.
在光耦401的输出侧,可以根据输出侧晶体管PT的导通或截止状态,来输出不同的信号,例如高、低电平信号。在本领域有众多电路设计可以实现该目的。在一个示例中,输出侧晶体管PT的一端通过上拉电阻器R3连接到供电电压VSS1,且另一端连接到基准电压例如地电压GND。于是,在晶体管PT的输出节点N1处,当晶体管PT导通时(即,线电压高于阈值电压REF时),输出低电平(近似为地电压GND),而当晶体管PT截止时(即,线电压低于阈值电压REF时),输出高电平(近似为供电电压VSS1)。At the output side of the optocoupler 401, different signals, such as high and low level signals, can be output according to the on or off state of the output side transistor PT. There are many circuit designs in the art that can achieve this purpose. In one example, one end of the output side transistor PT is connected to the power supply voltage VSS1 through a pull-up resistor R3, and the other end is connected to a reference voltage such as a ground voltage GND. Thus, at the output node N1 of the transistor PT, when the transistor PT is turned on (i.e., when the line voltage is higher than the threshold voltage REF), a low level (approximately the ground voltage GND) is output, and when the transistor PT is turned off (i.e., when the line voltage is lower than the threshold voltage REF), a high level (approximately the power supply voltage VSS1) is output.
该输出逻辑与希望的输出逻辑(如上所述,希望在线电压高于阈值电压REF时输出高电平的脉冲)是相反的,因此在该示例中在输出节点N1之后连接逻辑转换电路405。在示例中,该逻辑转换电路405可以实现反相功能。逻辑转换电路405可以包括晶体管T1,其类似于晶体管PT连接。具体地,晶体管T1的一端通过上拉电阻器R4连接到供电电压VSS2,且另一端连接到地电压GND。这样,在节点N1处为低电平时,晶体管T1截止,且晶体管T1的输出节点N2处输出高电平(近似为供电电压VSS2),而当节点N1处为高电平时,晶体管T1导通,且节点N2处输出低电平(近似为地电压GND)。This output logic is opposite to the desired output logic (as described above, it is desired to output a high level pulse when the line voltage is higher than the threshold voltage REF), so in this example, the logic conversion circuit 405 is connected after the output node N1. In the example, the logic conversion circuit 405 can realize the inversion function. The logic conversion circuit 405 may include a transistor T1, which is connected similarly to the transistor PT. Specifically, one end of the transistor T1 is connected to the power supply voltage VSS2 through a pull-up resistor R4, and the other end is connected to the ground voltage GND. In this way, when the node N1 is at a low level, the transistor T1 is turned off, and the output node N2 of the transistor T1 outputs a high level (approximately the power supply voltage VSS2), and when the node N1 is at a high level, the transistor T1 is turned on, and the node N2 outputs a low level (approximately the ground voltage GND).
另外,在节点N1与逻辑转换电路405之间,可以设置滤波电路407。例如,滤波电路407可以包括电阻器R5、电容器C1和二极管D2。该滤波电路407可以滤除光耦401的开关所导致的开关成分。另外,在节点N2之后,也可以连接滤波电路409,以稳定输出。例如,滤波电路409可以包括电阻器R6和电容器C2。In addition, a filter circuit 407 may be provided between the node N1 and the logic conversion circuit 405. For example, the filter circuit 407 may include a resistor R5, a capacitor C1, and a diode D2. The filter circuit 407 may filter out the switching component caused by the switching of the optocoupler 401. In addition, a filter circuit 409 may also be connected after the node N2 to stabilize the output. For example, the filter circuit 409 may include a resistor R6 and a capacitor C2.
回到图2,信号处理器203可以基于波形检测电路201检测到的波形的高电平持续时间,确定是否发生缺相故障。例如,信号处理器203可以根据波形检测电路201检测到的波形,例如由波形转换电路所转换的脉冲波形,计算线电压1-2和2-3各自的波形的高电平持续时间,并基于该高电平持续时间以及高电平持续时间出现的先后,参照以上结合图1描述的原理来判断是相序是正向还是反向,或者是否发生缺相故障。这种计算和判断例如可以由信号处理器203运行相关程序或执行相关算法来实现。图5是示出了根据本公开实施例的检测算法原理的示意图。Returning to FIG. 2 , the signal processor 203 can determine whether a phase failure occurs based on the high-level duration of the waveform detected by the waveform detection circuit 201. For example, the signal processor 203 can calculate the high-level duration of the waveforms of the line voltages 1-2 and 2-3, respectively, based on the waveform detected by the waveform detection circuit 201, such as the pulse waveform converted by the waveform conversion circuit, and based on the high-level duration and the order in which the high-level durations appear, refer to the principles described above in conjunction with FIG. 1 to determine whether the phase sequence is forward or reverse, or whether a phase failure occurs. Such calculation and judgment can be achieved, for example, by the signal processor 203 running a related program or executing a related algorithm. FIG. 5 is a schematic diagram showing the principle of a detection algorithm according to an embodiment of the present disclosure.
如图5所示,在三相AC电力的情况下,存在两个线电压,即第一相相对于第二相的线电压1-2和第二相相对于第三相的线电压2-3。线电压1-2和2-3的波形例如通过上述波形转换电路而被转换为脉冲波形。接着,可以基于这些波形的高(或低)电平持续时间来进行相序检测。这里,以波形的高电平持续时间为例进行描述。As shown in FIG5 , in the case of three-phase AC power, there are two line voltages, namely, line voltage 1-2 of the first phase relative to the second phase and line voltage 2-3 of the second phase relative to the third phase. The waveforms of the line voltages 1-2 and 2-3 are converted into pulse waveforms, for example, by the above-mentioned waveform conversion circuit. Then, phase sequence detection can be performed based on the high (or low) level duration of these waveforms. Here, the high level duration of the waveform is taken as an example for description.
由于周期的重复性,因此可以通过时间上相邻的若干脉冲实现检测。如果不能识别到线电压1-2的脉冲PULSE1或线电压2-3的脉冲PULSE2的状态持续超过一定时间(例如,30个信号周期的持续时间),即,如果在预定检测周期内未检测到第一持续时间或第二持续时间,则确定发生缺相故障。Due to the repeatability of the cycle, detection can be achieved through several pulses that are adjacent in time. If the state in which the pulse PULSE1 of the line voltage 1-2 or the pulse PULSE2 of the line voltage 2-3 cannot be identified continues for more than a certain time (for example, a duration of 30 signal cycles), that is, if the first duration or the second duration is not detected within a predetermined detection cycle, it is determined that a phase failure occurs.
在检测到这两个脉冲PULSE1、PULSE2的情况下,可以计算它们的高电平持续时间。例如,线电压1-2相应的脉冲波形PULSE1为高电平的持续时间为CNTA,线电压2-3相应的脉冲波形PULSE2为高电平的持续时间为CNTB。具体地,在加电时,或者在特定时间处,例如针对50Hz的电网,其信号周期为20ms,在加电之后的20ms的倍数时间处,开始进行检测(图5中示出为T0)。When the two pulses PULSE1 and PULSE2 are detected, their high-level durations can be calculated. For example, the duration of the high-level pulse waveform PULSE1 corresponding to the line voltage 1-2 is CNTA, and the duration of the high-level pulse waveform PULSE2 corresponding to the line voltage 2-3 is CNTB. Specifically, at power-on, or at a specific time, for example, for a 50Hz power grid, the signal cycle is 20ms, and detection begins at a multiple of 20ms after power-on (shown as T0 in FIG. 5 ).
如果首先检测到PULSE1为高,同时PULSE2为低,此时记录相序为正向,CNTA++。而如果首先检测到PULSE1为低,同时PULSE2为高,此时记录相序为反向,CNTB++。If PULSE1 is detected as high first and PULSE2 is low at the same time, the phase sequence is recorded as forward, CNTA++. If PULSE1 is detected as low first and PULSE2 is high at the same time, the phase sequence is recorded as reverse, CNTB++.
接下来,如果检测到PULSE1为低,同时PULSE2为高,此时CNTB++。如果PULSE1为高,同时PULSE2为低,此时CNTA++。Next, if it is detected that PULSE1 is low and PULSE2 is high, then CNTB++. If PULSE1 is high and PULSE2 is low, then CNTA++.
最后,在例如T1=T0+20ms处,结束检测。Finally, at, for example, T1 = T0 + 20 ms, the detection is terminated.
在相序为正向时,首先检测到的是PULSE1为高,同时PULSE2为低,然后检测到的是PULSE1为低,同时PULSE2为高。而在相序为反向时,首先检测到的是PULSE2为高,同时PULSE1为低,然后检测到的是PULSE1为高,同时PULSE2为低。因此,可以通过首先检测到PULSE1为高,还是PULSE2为高,来记录相序为正向或反向。When the phase sequence is forward, the first detected is PULSE1 is high and PULSE2 is low, and then PULSE1 is low and PULSE2 is high. When the phase sequence is reverse, the first detected is PULSE2 is high and PULSE1 is low, and then PULSE1 is high and PULSE2 is low. Therefore, the phase sequence can be recorded as forward or reverse by detecting whether PULSE1 is high or PULSE2 is high first.
可以根据计算所使用的单片机的性能来设置采样周期,例如可以设置使得每1ms采样一次脉冲波形的高低。The sampling period can be set according to the performance of the single chip microcomputer used for calculation. For example, it can be set so that the height of the pulse waveform is sampled every 1 ms.
此时判断脉冲波形PULSE1和PULSE2的高电平持续时间和线电压1-2和线电压2-3的脉宽差值,即判断CNTA、CNTB的数值和CNTA与CNTB之间的差值。如果PULSE1和PULSE2的高电平持续时间大于第一预定阈值(例如4ms),且CNTA与CNTB之间的差值小于第二预定阈值(例如2ms),则进入相序判断阶段,如果不成立则确定出现缺相故障。在相序判断阶段,可以根据记录来确定是正向还是反向,即,如果PULSE1先于PULSE2为高,则确定相序为正向,否则,确定相序为反向。At this time, the high level duration of the pulse waveforms PULSE1 and PULSE2 and the pulse width difference between the line voltage 1-2 and the line voltage 2-3 are determined, that is, the values of CNTA, CNTB and the difference between CNTA and CNTB are determined. If the high level duration of PULSE1 and PULSE2 is greater than the first predetermined threshold (for example, 4ms), and the difference between CNTA and CNTB is less than the second predetermined threshold (for example, 2ms), the phase sequence judgment stage is entered. If not, it is determined that a phase failure occurs. In the phase sequence judgment stage, it can be determined whether it is forward or reverse based on the record, that is, if PULSE1 is high before PULSE2, the phase sequence is determined to be forward, otherwise, the phase sequence is determined to be reverse.
在图5中示出了例如第一相电压、第二相电压的幅值正常而第三相电压的幅值减小的情况。由于第三相电压的幅值减小,线电压2-3的幅值变小。此时线电压1-2的幅值不变。如图5所示,脉冲波形PULSE1的高电平持续时间CNTA保持正常,而脉冲波形PULSE2的高电平持续时间CNTB变小。如果第三相电压的幅值减小在容限范围内,则CNTB仍然大于第一预定阈值,此时,根据PULSE1在PULSE2之前出现,确定相序为正向。FIG5 shows a case where, for example, the amplitudes of the first phase voltage and the second phase voltage are normal while the amplitude of the third phase voltage is reduced. As the amplitude of the third phase voltage is reduced, the amplitude of the line voltage 2-3 is reduced. At this time, the amplitude of the line voltage 1-2 remains unchanged. As shown in FIG5 , the high level duration CNTA of the pulse waveform PULSE1 remains normal, while the high level duration CNTB of the pulse waveform PULSE2 is reduced. If the amplitude reduction of the third phase voltage is within the tolerance range, CNTB is still greater than the first predetermined threshold. At this time, according to the appearance of PULSE1 before PULSE2, it is determined that the phase sequence is positive.
如果第三相电压的幅值减小超出容限范围,则CNTB小于第一预定阈值,此时判断出现缺相故障,在此即某个相的电压出现故障。If the amplitude of the third phase voltage decreases beyond the tolerance range, CNTB is less than the first predetermined threshold, and it is determined that a phase failure occurs, that is, a voltage failure occurs in a certain phase.
在另一示例中,如果第一相电压的幅值变大,第三相电压的幅值变小,第二相电压的幅值正常,此时线电压1-2的幅值变大而线电压2-3的幅值变小。如果第一相电压的幅值变化和第三相电压的幅值变化均在容限范围内,则CNTA和CNTB均大于第一预定阈值。但是,如果CNTA与CNTB之差大于第二预定阈值,则确定出现缺相故障,即,电网失衡。In another example, if the amplitude of the first phase voltage increases, the amplitude of the third phase voltage decreases, and the amplitude of the second phase voltage is normal, the amplitude of the line voltage 1-2 increases and the amplitude of the line voltage 2-3 decreases. If the amplitude change of the first phase voltage and the amplitude change of the third phase voltage are both within the tolerance range, CNTA and CNTB are both greater than the first predetermined threshold. However, if the difference between CNTA and CNTB is greater than the second predetermined threshold, it is determined that a phase failure occurs, that is, the power grid is unbalanced.
可以根据不同的情况设置第一预定阈值和第二预定阈值。如上所述,通过调节图4所示的波形转换电路中的分压电阻器R1和R2的阻值来调节分压电路403的分压比,从而可以调节线电压的持续时间的长度,即设置第一预定阈值。而且,针对不同的检测误差裕度和电网的平衡度的考虑,可以设置不同的第二预定阈值。The first predetermined threshold and the second predetermined threshold can be set according to different situations. As described above, by adjusting the resistance values of the voltage-dividing resistors R1 and R2 in the waveform conversion circuit shown in FIG4 to adjust the voltage-dividing ratio of the voltage-dividing circuit 403, the duration of the line voltage can be adjusted, that is, the first predetermined threshold is set. Moreover, different second predetermined thresholds can be set for different detection error margins and the balance of the power grid.
以下是可以采用的相序检测算法的伪代码示例,在该示例中以1ms为采样周期、20ms为检测周期为例。The following is a pseudo code example of a phase sequence detection algorithm that can be used. In this example, 1 ms is used as a sampling period and 20 ms is used as a detection period.
此外可以设置预定检测周期,例如600ms(例如30个信号周期)。信号处理器203在预定检测周期内持续地进行检测,识别多个CNTA和多个CNTB,并将多个CNTA的均值和多个CNTB的均值作为CNTA和CNTB进行处理。如果在预定检测周期内未检测到CNTA或CNTB,则确定发生缺相故障。In addition, a predetermined detection period may be set, such as 600ms (e.g., 30 signal periods). The signal processor 203 continuously performs detection within the predetermined detection period, identifies multiple CNTAs and multiple CNTBs, and processes the average of the multiple CNTAs and the average of the multiple CNTBs as CNTAs and CNTBs. If no CNTA or CNTB is detected within the predetermined detection period, it is determined that a phase failure occurs.
根据本公开的实施例,信号处理器203可以对在预定检测周期内检测到的多个CNTA和多个CNTB进行滤波,滤除小于第一滤波阈值且间隔小于第二滤波阈值的CNTA和CNTB。例如,在电网出现抖动时可能出现持续时间较短的脉冲,或者出现的脉冲之间的间隔很短。将这些脉冲滤除有利于提高检测准确度。According to an embodiment of the present disclosure, the signal processor 203 may filter multiple CNTAs and multiple CNTBs detected within a predetermined detection period, and filter out CNTAs and CNTBs whose values are less than a first filtering threshold and whose intervals are less than a second filtering threshold. For example, when a grid jitter occurs, pulses of short duration may occur, or the intervals between pulses may be very short. Filtering out these pulses is beneficial to improving detection accuracy.
信号处理器203可以是能够运行可执行代码的各种装置或器件,例如可编程器件如现场可编程门阵列(FPGA)、微处理器(μP)或微控制单元(MCU)等。可执行代码可以固化到信号处理器203中,或者可以从外部加载到信号处理器203中。The signal processor 203 may be any device or component capable of running executable code, such as a programmable device such as a field programmable gate array (FPGA), a microprocessor (μP), or a microcontroller unit (MCU), etc. The executable code may be embedded in the signal processor 203 or may be loaded into the signal processor 203 from the outside.
另外,相序检测装置200还可以包括模数(A/D)转换器205,用于将波形检测电路201的模拟输出转换为数字形式,以便于信号处理器203进行处理。当然,波形检测电路201本身也可以设计成数字式的,或者A/D转换器205可以包括在信号处理器203中。In addition, the phase sequence detection device 200 may further include an analog-to-digital (A/D) converter 205 for converting the analog output of the waveform detection circuit 201 into a digital form so as to facilitate processing by the signal processor 203. Of course, the waveform detection circuit 201 itself may also be designed to be digital, or the A/D converter 205 may be included in the signal processor 203.
另外,相序检测装置200还可以包括显示装置例如液晶显示面板,用以显示检测结果。In addition, the phase sequence detection device 200 may further include a display device such as a liquid crystal display panel to display the detection result.
以上是以采样波形的高电平为例进行说明的,当采样波形的低电平时电路设计和检测原理是类似的,这里不再赘述。例如,如上所述,在波形转换电路400中光耦401的反向连接的情况下,可以将波形的低电平(即,波形的波谷)转换为相对应的脉冲序列,并且相应地,可以检测低电平的持续时间并进而实现本申请所述的实施例。The above is explained by taking the high level of the sampling waveform as an example. When the low level of the sampling waveform is used, the circuit design and detection principle are similar and will not be described here. For example, as described above, in the case of the reverse connection of the optocoupler 401 in the waveform conversion circuit 400, the low level of the waveform (i.e., the trough of the waveform) can be converted into a corresponding pulse sequence, and accordingly, the duration of the low level can be detected and the embodiments described in the present application can be implemented.
图6是示出了根据本公开实施例的相序检测方法的流程图。FIG. 6 is a flow chart showing a phase sequence detection method according to an embodiment of the present disclosure.
如图6所示,根据该实施例的方法600可以包括:在601,检测三相AC电力的第一相相对于第二相的第一线电压以及第二相相对于第三相的第二线电压各自的波形。波形检测可以通过硬件电路例如上述波形检测电路来实现。例如,可以将线电压的波形转换为周期相同的脉冲波形,并基于脉冲波形的持续时间来进行相序检测。As shown in FIG6 , the method 600 according to this embodiment may include: at 601, detecting the waveforms of the first line voltage of the first phase relative to the second phase and the second line voltage of the second phase relative to the third phase of the three-phase AC power. The waveform detection may be implemented by a hardware circuit such as the above-mentioned waveform detection circuit. For example, the waveform of the line voltage may be converted into a pulse waveform with the same period, and the phase sequence detection may be performed based on the duration of the pulse waveform.
接着,在602,可以基于检测到的波形的持续时间,确定三相交流电力的相序或者是否发生缺相故障。这种确定可以如上所述通过软件或算法进行。Next, at 602, the phase sequence of the three-phase AC power or whether a phase failure occurs may be determined based on the duration of the detected waveform. This determination may be performed by software or an algorithm as described above.
例如,如果第一线电压的第一持续时间和第二线电压的第二持续时间均大于第一预定阈值,且第一持续时间与第二持续时间之差小于第二预定阈值,确定进入相序判断阶段,否则确定发生缺相故障。相序判断阶段包括:如果第一持续时间先于第二持续时间出现,则确定相序为正向,否则,确定相序为反向。For example, if the first duration of the first line voltage and the second duration of the second line voltage are both greater than the first predetermined threshold, and the difference between the first duration and the second duration is less than the second predetermined threshold, it is determined to enter the phase sequence judgment stage, otherwise it is determined that a phase failure occurs. The phase sequence judgment stage includes: if the first duration occurs before the second duration, it is determined that the phase sequence is forward, otherwise, it is determined that the phase sequence is reverse.
步骤602还可以包括在预定检测周期内持续地进行检测,识别多个第一持续时间和多个第二持续时间,并将多个第一持续时间的均值和多个第二持续时间的均值作为第一持续时间和第二持续时间进行处理。如果在预定检测周期内未检测到第一持续时间或第二持续时间,则确定发生缺相故障。Step 602 may also include continuously performing detection within a predetermined detection period, identifying a plurality of first durations and a plurality of second durations, and processing the average of the plurality of first durations and the average of the plurality of second durations as the first duration and the second duration. If the first duration or the second duration is not detected within the predetermined detection period, it is determined that a phase failure occurs.
步骤602还可以包括对所述多个第一持续时间和所述多个第二持续时间进行滤波,滤除持续时间小于第一滤波阈值且持续时间间隔小于第二滤波阈值的持续时间。Step 602 may further include filtering the plurality of first durations and the plurality of second durations, and filtering out durations whose duration is less than a first filtering threshold and whose duration time interval is less than a second filtering threshold.
根据本公开的实施例,使用硬件电路来对线电压进行采样,获得它们的波形,并用算法或者软件来基于获得的波形判断相序或缺相。判断的基本原理在于正常情况下三相交流电力的三相之间的相位差是大致固定的,且三相交流电力的幅值也是大致固定的。因此相邻两相之间的线电压的相位和幅值也基本上是恒定的,继而,两个线电压的高(或低)电平持续时间也基本上是固定的,且两个线电压的高(或低)电平持续时间之间的时间差也基本上为零。如果有任意一相电压的幅值降低,则相应的线电压的高(或低)电平持续时间缩短。因此,通过检测两个线电压的高(或低)电平持续时间,可以确定是否发生缺相故障。此外,如果任意两相电压的幅值差变大,则两个线电压的高(或低)电平持续时间之差变大。因此,通过检测两个线电压的高(或低)电平持续时间之差,可以确定三相交流电力的平衡度。由于可以按照预设采用时间对线电压进行采样来确定线电压的高(或低)电平持续时间而无需始终监测线电压,而且判断通过软件来实现,所以可以简化软件,减少软件占用的资源。According to an embodiment of the present disclosure, a hardware circuit is used to sample the line voltages, obtain their waveforms, and use an algorithm or software to determine the phase sequence or phase loss based on the obtained waveforms. The basic principle of the judgment is that the phase difference between the three phases of the three-phase AC power is approximately fixed under normal circumstances, and the amplitude of the three-phase AC power is also approximately fixed. Therefore, the phase and amplitude of the line voltage between two adjacent phases are also substantially constant, and then, the high (or low) level duration of the two line voltages is also substantially fixed, and the time difference between the high (or low) level duration of the two line voltages is also substantially zero. If the amplitude of any phase voltage decreases, the high (or low) level duration of the corresponding line voltage is shortened. Therefore, by detecting the high (or low) level duration of the two line voltages, it can be determined whether a phase loss fault occurs. In addition, if the amplitude difference between any two phase voltages becomes larger, the difference between the high (or low) level duration of the two line voltages becomes larger. Therefore, by detecting the difference between the high (or low) level duration of the two line voltages, the balance of the three-phase AC power can be determined. Since the line voltage can be sampled at a preset time to determine the high (or low) level duration of the line voltage without always monitoring the line voltage, and the judgment is implemented by software, the software can be simplified and the resources occupied by the software can be reduced.
以上对本公开的实施例进行了描述。但是,这些实施例仅仅是为了说明的目的,而并非为了限制本公开的范围。尽管在以上分别描述了各实施例,但是这并不意味着各个实施例中的措施不能有利地结合使用。本公开的范围由所附权利要求及其等价物限定。不脱离本公开的范围,本领域技术人员可以做出多种替代和修改,这些替代和修改都应落在本公开的范围之内。The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010272327.XA CN113514711B (en) | 2020-04-09 | 2020-04-09 | Phase sequence detection device and phase sequence detection method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010272327.XA CN113514711B (en) | 2020-04-09 | 2020-04-09 | Phase sequence detection device and phase sequence detection method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113514711A CN113514711A (en) | 2021-10-19 |
| CN113514711B true CN113514711B (en) | 2024-10-29 |
Family
ID=78060098
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010272327.XA Active CN113514711B (en) | 2020-04-09 | 2020-04-09 | Phase sequence detection device and phase sequence detection method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113514711B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115616305B (en) * | 2022-12-15 | 2023-03-10 | 广东美的暖通设备有限公司 | Three-phase three-wire system alternating current phase sequence detection method and device, motor and storage medium |
| CN119269900A (en) * | 2024-11-01 | 2025-01-07 | 新乡航空工业(集团)有限公司 | A method and system for detecting phase sequence of an airborne liquid cooling pump |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104977479A (en) * | 2014-04-14 | 2015-10-14 | 艾默生环境优化技术有限公司 | Three-phase power state detection device and method and motor system |
| CN107247242A (en) * | 2017-07-31 | 2017-10-13 | Tcl空调器(中山)有限公司 | Frequency converter failure detection method and device |
| CN108303604A (en) * | 2017-12-28 | 2018-07-20 | 浙江海利普电子科技有限公司 | Detection device for phase sequence and phase sequence detecting method |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN201811997U (en) * | 2007-11-13 | 2011-04-27 | 艾默生环境优化技术有限公司 | Three-phase detection equipment |
| CN101609116B (en) * | 2009-07-17 | 2011-11-23 | 中冶南方(武汉)自动化有限公司 | New method for detecting input phase failure |
| CN102323491B (en) * | 2011-08-09 | 2013-12-11 | 深圳市海浦蒙特科技有限公司 | Method for detecting open phase of three-phase input power supply |
| CN103441686B (en) * | 2013-09-04 | 2015-06-17 | 北京天诚同创电气有限公司 | Control system and method for braking module of DC busbars of wind-power current transformer |
| CN204116466U (en) * | 2014-10-14 | 2015-01-21 | 深圳市南方通用电气有限公司 | For phase sequence and the lack detection circuit of three-phase electricity |
| CN106814262A (en) * | 2017-01-04 | 2017-06-09 | 广东美的制冷设备有限公司 | Three phase alternating current motor and its method for detecting open phase and device |
| CN110320415A (en) * | 2018-03-29 | 2019-10-11 | 欧姆龙株式会社 | Power sense circuit |
-
2020
- 2020-04-09 CN CN202010272327.XA patent/CN113514711B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104977479A (en) * | 2014-04-14 | 2015-10-14 | 艾默生环境优化技术有限公司 | Three-phase power state detection device and method and motor system |
| CN107247242A (en) * | 2017-07-31 | 2017-10-13 | Tcl空调器(中山)有限公司 | Frequency converter failure detection method and device |
| CN108303604A (en) * | 2017-12-28 | 2018-07-20 | 浙江海利普电子科技有限公司 | Detection device for phase sequence and phase sequence detecting method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113514711A (en) | 2021-10-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108303604B (en) | Phase sequence detection device and phase sequence detection method | |
| US8536799B1 (en) | Dimmer detection | |
| US10291122B2 (en) | Input voltage detection circuit and power supply including the same | |
| US8866493B2 (en) | Noise suppression and/or reduction circuits and methods for capacitance sensing systems | |
| US8519745B2 (en) | Methods and systems for detection of zero crossings in a signal | |
| CN108037348B (en) | Single-phase alternating current zero-crossing detection method | |
| US11075627B2 (en) | Methods and circuitry for driving a device | |
| US10591516B2 (en) | Methods and circuitry for analyzing voltages | |
| CN113514711B (en) | Phase sequence detection device and phase sequence detection method | |
| CN109917177B (en) | Anti-interference zero-crossing detection circuit and detection method | |
| JP2021027788A (en) | Control circuit for power converter and power converter | |
| CN114509598A (en) | Automatic detection method and system for zero crossing point of fundamental voltage | |
| CN110208596A (en) | Load current monitoring circuit and method | |
| US8634491B2 (en) | Method and apparatus for reducing the contribution of noise to digitally sampled signals | |
| CN102608410B (en) | Pulse generation circuit, voltage measuring circuit and voltage measuring method | |
| US6891407B2 (en) | Analog signal level detecting apparatus | |
| US20160226293A1 (en) | Demodulation circuit and wireless charging device having the same | |
| US6999013B1 (en) | Built-in real-time digital non-linearity measurement device and method for analog to digital converters | |
| JPH03189569A (en) | Voltage measuring device | |
| JPH11142448A (en) | Phase difference detection circuit | |
| CN204258771U (en) | AC/DC logic input. interface circuit and comprise its integrated circuit | |
| JP5293554B2 (en) | Power converter | |
| JPH05191237A (en) | Phase difference detection circuit | |
| JPS6329267A (en) | Pulse presence detection circuit | |
| JP2535751Y2 (en) | IC test equipment |
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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |