CN102148488B - Circuit device - Google Patents

Circuit device Download PDF

Info

Publication number
CN102148488B
CN102148488B CN201010113908.5A CN201010113908A CN102148488B CN 102148488 B CN102148488 B CN 102148488B CN 201010113908 A CN201010113908 A CN 201010113908A CN 102148488 B CN102148488 B CN 102148488B
Authority
CN
China
Prior art keywords
voltage
power supply
output
circuit
resistors
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201010113908.5A
Other languages
Chinese (zh)
Other versions
CN102148488A (en
Inventor
徐胜江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Intellectual Property Management Co Ltd
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to CN201010113908.5A priority Critical patent/CN102148488B/en
Publication of CN102148488A publication Critical patent/CN102148488A/en
Application granted granted Critical
Publication of CN102148488B publication Critical patent/CN102148488B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Testing Of Individual Semiconductor Devices (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

本发明涉及电路装置,其具备:交流电源电路,其包括具有规定的周期的交流电源、负荷、连接于交流电源和负荷之间的继电器;检测信号生成电路,其对应于从交流电源输出的电压而生成检测信号,并且具备多个电阻、与多个电阻中的一个并联连接的二极管、与多个电阻中的另一个并联连接的双向型光藕;以及检测电路,其具备三极管、单片机和反向器。其中,检测电路的输入端连接于检测信号生成电路的输出端并输入检测信号,检测电路的输出端经由反向器而连接于继电器。

The present invention relates to a circuit device comprising: an AC power supply circuit including an AC power supply having a predetermined cycle, a load, and a relay connected between the AC power supply and the load; and a detection signal generation circuit corresponding to a voltage output from the AC power supply. and a detection signal is generated, and has a plurality of resistors, a diode connected in parallel to one of the plurality of resistors, a bidirectional photocoupler connected in parallel to the other of the plurality of resistors; to the device. Wherein, the input end of the detection circuit is connected to the output end of the detection signal generation circuit to input the detection signal, and the output end of the detection circuit is connected to the relay through the inverter.

Description

电路装置circuit device

技术领域 technical field

本发明涉及电路装置。The invention relates to circuit arrangements.

背景技术 Background technique

如图1和图2所示,现有的电路装置包括检测交流电源AC的频率的检测电路3。当交流电源AC的正向电压的在R3上的分压超过单向型光藕PC1的发光侧的二极管的工作电压ΔV时,单向型光藕PC1的发光侧的二极管发光,单向型光藕PC1的受光侧的三极管导通,单片机IC1接收到的电压Vin为高电平。当交流电源AC在R3上的分压低于发光侧的二极管的工作电压ΔV时,单向型光藕PC1的发光侧的二极管不发光,单向型光藕PC1的受光侧的三极管不导通。单片机IC1接收到的电压Vin为低电平。根据单片机IC1接收到的电压Vin,可以判断出该交流电源AC的周期T和频率f。As shown in FIGS. 1 and 2 , a conventional circuit device includes a detection circuit 3 for detecting the frequency of an alternating current power source AC. When the divided voltage of the forward voltage of the AC power supply AC on R3 exceeds the operating voltage ΔV of the diode on the light-emitting side of the one-way photocoupler PC1, the diode on the light-emitting side of the one-way photocoupler PC1 emits light, and the one-way light The triode on the light-receiving side of the lotus PC1 is turned on, and the voltage Vin received by the single-chip microcomputer IC1 is at a high level. When the divided voltage of the AC power supply AC on R3 is lower than the working voltage ΔV of the diode on the light-emitting side, the diode on the light-emitting side of the one-way photocoupler PC1 does not emit light, and the triode on the light-receiving side of the one-way photocoupler PC1 does not conduct. The voltage Vin received by the microcontroller IC1 is low level. According to the voltage Vin received by the single-chip microcomputer IC1, the cycle T and frequency f of the AC power supply AC can be judged.

但是,上述的检测电路3存在以下的问题:在交流电源AC的电压为异常高电压的时候,单片机IC1无法检测到该异常高电压,所以,无法对负荷以及功率元件进行保护。However, the above-mentioned detection circuit 3 has the following problem: when the voltage of the AC power supply AC is abnormally high, the single-chip microcomputer IC1 cannot detect the abnormally high voltage, so the load and power components cannot be protected.

发明内容 Contents of the invention

本发明有鉴于上述的问题,在现有的电路装置的基础上,通过将电阻和二极管并联连接后,再串联连接到检测信号生成电路,同时光藕使用双向型光藕,从而可以实现交流电源的频率检测并可以实现交流电源的异常电压的检测。即本发明以提供一种可以实现交流电源的频率检测并可以实现交流电源的异常电压的检测的电路装置为目的。In view of the above problems, the present invention, on the basis of the existing circuit device, connects the resistance and the diode in parallel, and then connects them in series to the detection signal generation circuit, and at the same time uses a bidirectional optical coupler for the optocoupler, so that the AC power supply can be realized. Frequency detection and detection of abnormal voltage of AC power can be realized. That is, an object of the present invention is to provide a circuit device capable of detecting the frequency of an AC power supply and detecting an abnormal voltage of the AC power supply.

因此,本发明所涉及的电路装置,具备交流电源电路,其包括具有规定的周期的交流电源、负荷、连接于交流电源和负荷之间的继电器;检测信号生成电路,其对应于从所述交流电源输出的电压而生成检测信号,并且具备多个电阻、与所述多个电阻中的一个并联连接的二极管、与所述多个电阻中的另一个并联连接的双向型光藕;以及检测电路,其具备三极管、单片机和反向器,其中,所述检测电路的输入端连接于所述检测信号生成电路的输出端并输入所述检测信号,所述检测电路的输出端经由所述反向器而连接于所述继电器。Therefore, the circuit device according to the present invention includes an AC power supply circuit including an AC power supply having a predetermined cycle, a load, and a relay connected between the AC power supply and the load; A detection signal is generated by a voltage output by a power supply, and a plurality of resistors, a diode connected in parallel to one of the plurality of resistors, a bidirectional photocoupler connected in parallel to another of the plurality of resistors; and a detection circuit , which has a triode, a single-chip microcomputer and an inverter, wherein the input end of the detection circuit is connected to the output end of the detection signal generation circuit and inputs the detection signal, and the output end of the detection circuit passes through the inverter connected to the relay.

另外,在上述的本发明所涉及的电路装置中,所述二极管的阳极连接于所述交流电源的火线,阴极经由所述电阻而连接于所述交流电源的零线,在从所述交流电源输出的正向电压的在与所述双向型光藕并联的所述电阻上的分压大于所述双向型光藕的工作电压的情况下以及在从所述交流电源输出的反向电压超过规定的电压的情况下,所述双向型光藕导通,并向所述检测电路的所述输入端输出高电平,在5个连续的所述周期中从所述交流电源输出的反向电压超过规定的电压的次数为3次以上的情况下,从所述检测电路的输出端输出的信号使所述继电器断开。In addition, in the above-mentioned circuit device according to the present invention, the anode of the diode is connected to the live line of the AC power supply, and the cathode is connected to the neutral line of the AC power supply through the resistor. When the divided voltage of the output forward voltage on the resistor connected in parallel with the bidirectional photocoupler is greater than the operating voltage of the bidirectional photocoupler and when the reverse voltage output from the AC power supply exceeds the specified In the case of the voltage, the bidirectional photocoupler conducts and outputs a high level to the input terminal of the detection circuit, and the reverse voltage output from the AC power supply in 5 consecutive cycles When the number of times the predetermined voltage has been exceeded is three or more, the signal output from the output terminal of the detection circuit turns off the relay.

另外,在上述的本发明所涉及的电路装置中,所述二极管的阴极连接于所述交流电源的火线,阳极经由所述电阻而连接于所述交流电源的零线,在从所述交流电源输出的反向电压的在与所述双向型光藕并联的所述电阻上的分压大于所述双向型光藕的工作电压的情况下,所述双向型光藕导通,并向所述检测电路的所述输入端输出高电平,在从所述交流电源输出的正向电压超过规定的电压的情况下,所述双向型光藕导通,并向所述检测电路的所述输入端输出高电平,在5个连续的所述周期中从所述交流电源输出的正向电压超过规定的电压的次数为3次以上的情况下,从所述检测电路的输出端输出的信号使所述继电器断开。In addition, in the above-mentioned circuit device according to the present invention, the cathode of the diode is connected to the live line of the AC power supply, and the anode is connected to the neutral line of the AC power supply through the resistor. When the divided voltage of the output reverse voltage on the resistor connected in parallel with the bidirectional photocoupler is greater than the working voltage of the bidirectional photocoupler, the bidirectional photocoupler is turned on and supplied to the The input end of the detection circuit outputs a high level, and when the forward voltage output from the AC power source exceeds a specified voltage, the bidirectional photocoupler is turned on, and the input to the detection circuit terminal outputs a high level, and the number of times the forward voltage output from the AC power supply exceeds the specified voltage in 5 consecutive cycles exceeds the specified voltage is more than 3 times, the signal output from the output terminal of the detection circuit Make the relay open.

另外,在上述的本发明所涉及的电路装置中,所述继电器是固态继电器。In addition, in the circuit device according to the present invention described above, the relay is a solid state relay.

根据本发明所涉及的电路装置,能够检测出交流电源的频率。另外,如果交流电源中出现异常高电压,那么单片机IC能够检测出该异常高电压的出现次数。在连续5个周期中异常高电压的出现次数超过3次的情况下,根据从单片机的输出端输出的信号,使继电器断开,从而避免了异常电压造成的功率元件和负荷的破坏。According to the circuit device according to the present invention, the frequency of the AC power supply can be detected. In addition, if an abnormally high voltage occurs in the AC power supply, the microcontroller IC can detect the number of occurrences of the abnormally high voltage. When abnormal high voltage occurs more than 3 times in 5 consecutive cycles, the relay is disconnected according to the signal output from the output terminal of the single chip microcomputer, thereby avoiding the damage of power components and loads caused by abnormal voltage.

因此,根据本发明所涉及的电路装置,能够提供可同时实现频率检测和异常电压检测且价格便宜的电路装置。Therefore, according to the circuit device according to the present invention, it is possible to provide an inexpensive circuit device that can realize frequency detection and abnormal voltage detection at the same time.

附图说明 Description of drawings

图1为表示现有的电路装置的结构的电路图。FIG. 1 is a circuit diagram showing the configuration of a conventional circuit device.

图2为现有的电路装置的检测电路的时序图。FIG. 2 is a timing chart of a detection circuit of a conventional circuit device.

图3为表示本发明的第1实施方式所涉及的电路装置的结构的电路图。3 is a circuit diagram showing the configuration of a circuit device according to the first embodiment of the present invention.

图4为本发明的第1实施方式所涉及的电路装置的检测电路的时序图。4 is a timing chart of a detection circuit of the circuit device according to the first embodiment of the present invention.

图5为表示本发明的第2实施方式所涉及的电路装置的结构的电路图。5 is a circuit diagram showing the configuration of a circuit device according to a second embodiment of the present invention.

图6为本发明的第2实施方式所涉及的电路装置的检测电路的时序图。6 is a timing chart of the detection circuit of the circuit device according to the second embodiment of the present invention.

图7为本发明所涉及的电路装置的流程图。FIG. 7 is a flowchart of a circuit arrangement according to the present invention.

具体实施方式 Detailed ways

以下,参照附图,对本发明的最佳实施方式进行详细说明。在此,在图的说明中,对同一要素标记同一符号,省略重复的说明。Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. Here, in the description of the drawings, the same reference numerals are assigned to the same elements, and overlapping descriptions are omitted.

(第1实施方式)(first embodiment)

图3为表示本发明的第1实施方式所涉及的电路装置的结构的电路图。图4为本发明的第1实施方式所涉及的电路装置的检测电路的时序图。3 is a circuit diagram showing the configuration of a circuit device according to the first embodiment of the present invention. 4 is a timing chart of a detection circuit of the circuit device according to the first embodiment of the present invention.

如图3所示,电路装置具备交流电源电路10、检测信号生成电路20、以及检测电路30。As shown in FIG. 3 , the circuit device includes an AC power supply circuit 10 , a detection signal generation circuit 20 , and a detection circuit 30 .

交流电源电路10包括具有规定的周期T(频率f=1/T)的交流电源AC、继电器RY-PWR、负荷LOAD,继电器RY-PWR连接于交流电源AC和负荷LOAD之间。The AC power supply circuit 10 includes an AC power supply AC having a predetermined period T (frequency f=1/T), a relay RY-PWR, and a load LOAD. The relay RY-PWR is connected between the AC power supply AC and the load LOAD.

检测信号生成电路20包括电阻R1~R3、并联连接于电阻R1的两端的二极管D1、并联连接于电阻R3的两端的双向型光藕PC10。双向型光藕PC10包括2个极性相反的发光侧的二极管和受光侧的三极管。二极管D1的阳极连接于交流电源AC的火线,二极管D1的阴极经由电阻R2、R3而连接于交流电源AC的零线。The detection signal generating circuit 20 includes resistors R1 to R3, a diode D1 connected in parallel to both ends of the resistor R1, and a bidirectional photocoupler PC10 connected in parallel to both ends of the resistor R3. The bidirectional optocoupler PC10 includes two diodes on the light-emitting side and a triode on the light-receiving side with opposite polarities. The anode of the diode D1 is connected to the live line of the AC power supply AC, and the cathode of the diode D1 is connected to the neutral line of the AC power supply AC via resistors R2 and R3.

检测电路30包括三极管Q1、单片机IC1和反向器IC2。单片机IC1的输入端PortA连接于检测信号生成电路20的输出端,并输入在信号生成电路20中生成的电压信号Vin。单片机IC1的输出端经由反向器IC2而连接于继电器RY-PWR,并控制继电器RY-PWR的开启(ON)和断开(OFF)。The detection circuit 30 includes a triode Q1, a single-chip microcomputer IC1 and an inverter IC2. The input terminal PortA of the single-chip microcomputer IC1 is connected to the output terminal of the detection signal generating circuit 20 , and the voltage signal Vin generated in the signal generating circuit 20 is input. The output terminal of the single-chip microcomputer IC1 is connected to the relay RY-PWR via the inverter IC2, and controls the opening (ON) and disconnection (OFF) of the relay RY-PWR.

如图4所示,在待机状态下,接通交流电源AC,在单片机IC 1复位之后,检测电路30立即对交流电源AC进行频率检测和对反向电压中的异常高电压进行检测。As shown in FIG. 4 , in the standby state, the AC power supply AC is turned on, and after the single-chip microcomputer IC 1 is reset, the detection circuit 30 immediately detects the frequency of the AC power supply AC and detects the abnormally high voltage in the reverse voltage.

在从交流电源AC输出的电压Vac的正向电压的在与双向型光藕PC10并联的电阻R3上的分压大于双向型光藕PC10的工作电压ΔV的情况下,双向型光藕PC10导通,并向单片机IC1输出高电平,在电压Vac的在电阻R3上的分压小于工作电压ΔV的情况下,双向型光藕PC10不导通,并向单片机IC1输出低电平。在从交流电源AC输出的反向电压超过规定的电压Vlimit的情况下,双向型光藕PC10也导通,并向单片机IC1输出高电平,从而单片机IC1检测到该异常高电压。When the forward voltage of the voltage Vac output from the AC power supply AC on the resistor R3 in parallel with the bidirectional photocoupler PC10 is greater than the operating voltage ΔV of the bidirectional photocoupler PC10, the bidirectional photocoupler PC10 is turned on , and output a high level to the single-chip microcomputer IC1, when the divided voltage of the voltage Vac on the resistor R3 is less than the working voltage ΔV, the bidirectional optical coupler PC10 is not turned on, and outputs a low level to the single-chip microcomputer IC1. When the reverse voltage output from the AC power supply AC exceeds the specified voltage Vlimit, the bidirectional photocoupler PC10 is also turned on, and outputs a high level to the single-chip microcomputer IC1, so that the single-chip microcomputer IC1 detects the abnormally high voltage.

在单片机IC1的输入端PortA接收到电压信号Vin后,判断该信号中的频率信号和异常高电压信号。从而单片机IC1可以检测到交流电源AC的频率和异常电压发生的次数及时间。After receiving the voltage signal Vin at the input terminal PortA of the single-chip microcomputer IC1, it judges the frequency signal and the abnormally high voltage signal in the signal. Therefore, the single-chip microcomputer IC1 can detect the frequency of the alternating current power source AC and the frequency and time of abnormal voltage occurrence.

在运转状态下,单片机IC1的输出端PortB输出高电平,从而使得继电器RY-PWR开启(ON),负荷开始工作。In the running state, the output terminal PortB of the single-chip microcomputer IC1 outputs a high level, so that the relay RY-PWR is turned on (ON), and the load starts to work.

在5个连续的周期T中反向电压超过规定的电压Vlimit的次数为3次以上的情况下,即在保护状态下,从检测电路3的输出端PortB输出的信号使继电器RY-PWR断开(OFF),负荷停止工作,进入待机状态。从而避免了持续的交流电源AC的异常高电压对继电器RY-PWR和负荷LOAD造成的破坏,并对负荷LOAD进行保护。In the case where the reverse voltage exceeds the specified voltage Vlimit for more than 3 times in 5 consecutive cycles T, that is, in the protection state, the signal output from the output terminal PortB of the detection circuit 3 makes the relay RY-PWR open (OFF), the load stops working and enters the standby state. Thus avoiding the abnormal high voltage of the continuous AC power supply AC from damaging the relay RY-PWR and the load LOAD, and protecting the load LOAD.

图7为本发明所涉及的电路装置的流程图。如图7所示,首先,在待机状态下,系统初始化,继电器RY-PWR断开。接着,检测电路进行频率检测和异常高电压检测,在未检测到异常高电压的情况下(即在异常高电压的出现次数小于3次的情况下),继电器RY-PWR开启,负荷开始运转。接着,如果检测电路检测到异常高电压,并在连续的5个周期中,异常高电压的出现次数为3次以上,那么继电器RY-PWR断开,负荷停止运行,并显示异常信号。FIG. 7 is a flowchart of a circuit arrangement according to the present invention. As shown in Figure 7, first, in the standby state, the system is initialized, and the relay RY-PWR is disconnected. Next, the detection circuit performs frequency detection and abnormal high voltage detection. If no abnormal high voltage is detected (that is, when the number of occurrences of abnormal high voltage is less than 3), the relay RY-PWR is turned on and the load starts to run. Then, if the detection circuit detects abnormally high voltage, and in 5 consecutive cycles, the abnormally high voltage occurs more than 3 times, then the relay RY-PWR is disconnected, the load stops running, and an abnormal signal is displayed.

(第2实施方式)(second embodiment)

图5为表示本发明的第2实施方式所涉及的电路装置的结构的电路图。图6为本发明的第2实施方式所涉及的电路装置的检测电路的时序图。5 is a circuit diagram showing the configuration of a circuit device according to a second embodiment of the present invention. 6 is a timing chart of the detection circuit of the circuit device according to the second embodiment of the present invention.

第2实施方式所涉及的电路装置除了二极管D10的极性与二极管D1的极性相反之外,与第1实施方式所涉及的电路装置的结构相同。即二极管D10的阴极连接于交流电源AC的火线,阳极经由电阻R2、R3而连接于交流电源AC的零线。The circuit device according to the second embodiment has the same configuration as the circuit device according to the first embodiment except that the polarity of the diode D10 is opposite to that of the diode D1. That is, the cathode of the diode D10 is connected to the live wire of the AC power supply AC, and the anode is connected to the neutral wire of the AC power supply AC through the resistors R2 and R3.

如图6所示,在待机状态下,接通交流电源AC,在单片机IC 1复位之后,检测电路30立即对交流电源AC进行频率检测和对正向电压中的异常高电压进行检测。As shown in FIG. 6, in the standby state, the AC power supply AC is turned on, and after the microcontroller IC 1 is reset, the detection circuit 30 immediately detects the frequency of the AC power supply AC and detects the abnormally high voltage in the forward voltage.

在从交流电源AC输出的电压Vac的负向电压的在与双向型光藕PC10并联的电阻R3上的分压大于双向型光藕PC10的工作电压ΔV的情况下,双向型光藕PC10导通,并向单片机IC1输出高电平,在电压Vac的在电阻R3上的分压小于工作电压ΔV的情况下,双向型光藕PC10不导通,并向单片机IC1输出低电平。在从交流电源AC输出的正向电压超过规定的电压Vlimit的情况下,双向型光藕PC10导通,并向单片机IC1输出高电平,从而单片机IC1检测到该异常高电压。When the negative voltage of the voltage Vac output from the AC power supply AC is divided on the resistor R3 in parallel with the bidirectional photocoupler PC10, which is greater than the operating voltage ΔV of the bidirectional photocoupler PC10, the bidirectional photocoupler PC10 is turned on. , and output a high level to the single-chip microcomputer IC1, when the divided voltage of the voltage Vac on the resistor R3 is less than the working voltage ΔV, the bidirectional optical coupler PC10 is not turned on, and outputs a low level to the single-chip microcomputer IC1. When the forward voltage output from the AC power supply exceeds the specified voltage Vlimit, the bidirectional photocoupler PC10 is turned on and outputs a high level to the single-chip microcomputer IC1, so that the single-chip microcomputer IC1 detects the abnormally high voltage.

在单片机IC1的输入端PortA接收到电压信号Vin后,判断该信号中的频率信号和异常高电压信号。从而单片机IC1可以检测到交流电源AC的频率和异常电压发生的次数及时间。After receiving the voltage signal Vin at the input terminal PortA of the single-chip microcomputer IC1, it judges the frequency signal and the abnormally high voltage signal in the signal. Therefore, the single-chip microcomputer IC1 can detect the frequency of the alternating current power source AC and the frequency and time of abnormal voltage occurrence.

在运转状态下,单片机IC1的输出端PortB输出高电平,从而使得继电器RY-PWR开启(ON),负荷开始工作。In the running state, the output terminal PortB of the single-chip microcomputer IC1 outputs a high level, so that the relay RY-PWR is turned on (ON), and the load starts to work.

在5个连续的周期T中正向电压超过规定的电压Vlimit的次数为3次以上的情况下,即在保护状态下,从检测电路3的输出端PortB输出的信号使继电器RY-PWR断开(OFF),负荷停止工作,进入待机状态。从而避免了持续的交流电源AC的异常高电压对继电器RY-PWR和负荷LOAD造成的破坏,并对负荷LOAD进行保护。When the number of times the forward voltage exceeds the specified voltage Vlimit in 5 consecutive cycles T is more than 3 times, that is, in the protection state, the signal output from the output terminal PortB of the detection circuit 3 makes the relay RY-PWR disconnected ( OFF), the load stops working and enters the standby state. Thus avoiding the abnormal high voltage of the continuous AC power supply AC from damaging the relay RY-PWR and the load LOAD, and protecting the load LOAD.

(实施例1)(Example 1)

以下,参照实施例1对本发明所涉及的电路装置进行更加具体的说明。Hereinafter, the circuit device according to the present invention will be described more specifically with reference to Embodiment 1. FIG.

当上述的电路装置运用于实际的电器(例如空调)中时,负荷是风扇马达等。When the above-mentioned circuit device is applied to an actual electrical appliance (such as an air conditioner), the load is a fan motor or the like.

例如,交流电源电压AC为220V,频率为50Hz,异常电压(即规定的电压)设定为Vlimit=1.3Vmax(在此,Vmax为交流电源电压的波峰值则1.3Vmax≈404V)。For example, the AC power supply voltage AC is 220V, the frequency is 50Hz, and the abnormal voltage (that is, the specified voltage) is set as Vlimit=1.3Vmax (here, Vmax is the peak value of the AC power supply voltage Then 1.3Vmax≈404V).

拨开空调的电源,单片机IC1开始进行交流电源AC的频率检测和交流电源AC中的正向电压高于Vlimit(≈404V)的异常高电压的检测。此时,空调处于待机状态,控制风扇马达的运转的继电器RY-PWR处于OFF状态。Turn off the power supply of the air conditioner, and the single-chip microcomputer IC1 starts to detect the frequency of the AC power supply AC and the detection of the abnormally high voltage in which the forward voltage in the AC power supply AC is higher than Vlimit (≈404V). At this time, the air conditioner is in the standby state, and the relay RY-PWR for controlling the operation of the fan motor is in the OFF state.

用户通过遥控器或者其他方式使空调处于运转状态后,单片机IC1从输出端PortB输出高电平信号(+5V),使继电器RY-PWR开启(ON),从而风扇马达开始运转。After the user puts the air conditioner in the running state through the remote control or other means, the single-chip microcomputer IC1 outputs a high-level signal (+5V) from the output terminal PortB to turn on (ON) the relay RY-PWR, so that the fan motor starts to run.

在风扇马达的运转过程中,在交流电源AC的连续5个周期T(T=0.02s,则5T=0.1s)内,在超过设定的1.3Vmax(≈404V)的异常电压的次数大于等于3次时,单片机IC1从输出端PortB输出低电平(0V)。从而使继电器RY-PWR断开(OFF),防止交流电源AC的异常高电压对继电器以及风扇马达的破坏。同时使用数码管等来显示错误代码。如果电源电压在连续5个周期T(T=0.02s,则5T=0.1s)内,超过设定的1.3Vmax(≈404V)的异常高电压的次数小于3次时,检测电路继续捕捉异常电压信号,且风扇马达正常工作。During the operation of the fan motor, within 5 consecutive cycles T (T=0.02s, then 5T=0.1s) of the AC power supply, the number of abnormal voltages exceeding the set 1.3Vmax (≈404V) is greater than or equal to 3 times, the microcontroller IC1 outputs a low level (0V) from the output port PortB. Thus, the relay RY-PWR is disconnected (OFF), preventing the abnormally high voltage of the AC power supply AC from damaging the relay and the fan motor. At the same time, use a digital tube, etc. to display the error code. If the power supply voltage exceeds the set 1.3Vmax (≈404V) for less than 3 times within 5 consecutive cycles T (T=0.02s, then 5T=0.1s), the detection circuit will continue to capture the abnormal voltage signal, and the fan motor works normally.

以上,对本发明所涉及的电路装置的第1和第2实施方式以及实施例1进行了说明。The first and second embodiments and the first embodiment of the circuit device according to the present invention have been described above.

但是,本发明所涉及的电路装置并不限于上述的实施方式和实施例,本领域技术人员在不偏离本发明的实质精神和范围的情况下可以根据需要对本发明进行变形和变化。这些变形和变化均落入本发明的范围内。However, the circuit device involved in the present invention is not limited to the above-mentioned embodiments and examples, and those skilled in the art can modify and change the present invention as required without departing from the spirit and scope of the present invention. These modifications and changes all fall within the scope of the present invention.

根据上述的本发明所涉及的电路装置,能够对交流电源AC进行频率检测,并且能够对交流电源AC中的正向电压或者反向电压中的异常高电压进行检测。在交流电源AC中的异常高电压满足上述的判断条件后,上述的电路装置能够使负荷进入保护状态,从而避免了负荷等电子元件的破坏。而且,上述的电路装置价格便宜。According to the circuit device according to the present invention described above, it is possible to detect the frequency of the AC power supply AC, and to detect an abnormally high voltage in the forward voltage or the reverse voltage of the AC power supply AC. After the abnormally high voltage in the alternating current power supply AC satisfies the above-mentioned judgment conditions, the above-mentioned circuit device can put the load into a protection state, thereby avoiding damage to electronic components such as the load. Furthermore, the circuit arrangement described above is inexpensive.

Claims (4)

1.一种电路装置,其特征在于,具备,1. A circuit device, characterized in that, possesses, 交流电源电路,其包括具有规定的周期的交流电源、负荷、连接于交流电源和负荷之间的继电器;An AC power circuit comprising an AC power source with a prescribed cycle, a load, and a relay connected between the AC power source and the load; 检测信号生成电路,其对应于从所述交流电源输出的电压而生成检测信号,并且具备串联连接的多个电阻、与所述多个电阻中的一个并联连接的二极管、和与所述多个电阻中的另一个并联连接的双向型光耦;以及A detection signal generation circuit that generates a detection signal corresponding to a voltage output from the AC power supply, and includes a plurality of resistors connected in series, a diode connected in parallel to one of the plurality of resistors, and a diode connected in parallel with the plurality of resistors. another bi-directional optocoupler connected in parallel in the resistor; and 检测电路,其具备串联连接的三极管、单片机和反向器,A detection circuit, which has a triode, a single-chip microcomputer and an inverter connected in series, 所述单片机的输入端经由所述三极管连接于所述检测信号生成电路的输出端,并输入所述检测信号,The input end of the single-chip microcomputer is connected to the output end of the detection signal generation circuit via the triode, and the detection signal is input, 所述单片机的输出端经由所述反向器而连接于所述继电器。The output end of the single chip microcomputer is connected to the relay through the inverter. 2.如权利要求1所述的电路装置,其特征在于,2. The circuit arrangement of claim 1, wherein 所述二极管的阳极连接于所述交流电源的火线,阴极经由所述多个电阻中除与所述二极管并联的电阻以外的其余电阻而连接于所述交流电源的零线,The anode of the diode is connected to the live line of the AC power supply, and the cathode is connected to the neutral line of the AC power supply through the remaining resistors in the plurality of resistors except the resistor connected in parallel with the diode, 在从所述交流电源输出的正向电压的在与所述双向型光耦并联的所述电阻上的分压大于所述双向型光耦的工作电压的情况下或者在从所述交流电源输出的反向电压超过规定的电压的情况下,所述双向型光耦导通,并向所述单片机的所述输入端输出高电平,When the divided voltage of the forward voltage output from the AC power supply on the resistor connected in parallel with the bidirectional optocoupler is greater than the operating voltage of the bidirectional optocoupler or when output from the AC power supply When the reverse voltage exceeds the specified voltage, the bidirectional optocoupler is turned on and outputs a high level to the input terminal of the microcontroller, 在5个连续的所述周期中从所述交流电源输出的反向电压超过规定的电压的次数为3次以上的情况下,从所述检测电路的输出端输出的信号使所述继电器断开。When the reverse voltage output from the AC power source exceeds a predetermined voltage for 3 or more times in the 5 consecutive cycles, the signal output from the output terminal of the detection circuit turns off the relay . 3.如权利要求1所述的电路装置,其特征在于,3. The circuit arrangement as claimed in claim 1, characterized in that, 所述二极管的阴极连接于所述交流电源的火线,阳极经由所述多个电阻中除与所述二极管并联的电阻以外的其余电阻而连接于所述交流电源的零线,The cathode of the diode is connected to the live line of the AC power supply, and the anode is connected to the neutral line of the AC power supply through the remaining resistors in the plurality of resistors except the resistor connected in parallel with the diode, 在从所述交流电源输出的负向电压的在与所述双向型光耦并联的所述电阻上的分压大于所述双向型光耦的工作电压的情况下,所述双向型光耦导通,并向所述单片机的所述输入端输出高电平,在从所述交流电源输出的正向电压超过规定的电压的情况下,所述双向型光耦导通,并向所述单片机的所述输入端输出高电平,When the divided voltage of the negative voltage output from the AC power supply on the resistor connected in parallel with the bidirectional optocoupler is greater than the operating voltage of the bidirectional optocoupler, the bidirectional optocoupler conducts and output a high level to the input terminal of the single chip microcomputer. The input terminal outputs a high level, 在5个连续的所述周期中从所述交流电源输出的正向电压超过规定的电压的次数为3次以上的情况下,从所述检测电路的输出端输出的信号使所述继电器断开。In the case where the forward voltage output from the AC power source exceeds a predetermined voltage more than three times in five consecutive cycles, the relay is turned off by a signal output from the output terminal of the detection circuit . 4.如权利要求1~3中任意一项所述的电路装置,其特征在于,4. The circuit arrangement according to any one of claims 1 to 3, characterized in that, 所述继电器是固态继电器。The relays are solid state relays.
CN201010113908.5A 2010-02-09 2010-02-09 Circuit device Active CN102148488B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010113908.5A CN102148488B (en) 2010-02-09 2010-02-09 Circuit device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010113908.5A CN102148488B (en) 2010-02-09 2010-02-09 Circuit device

Publications (2)

Publication Number Publication Date
CN102148488A CN102148488A (en) 2011-08-10
CN102148488B true CN102148488B (en) 2015-04-22

Family

ID=44422557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010113908.5A Active CN102148488B (en) 2010-02-09 2010-02-09 Circuit device

Country Status (1)

Country Link
CN (1) CN102148488B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102830262B (en) * 2012-08-27 2015-04-22 无锡安邦电气有限公司 Alternating current detection circuit based on bidirectional optocoupler
CN107966608B (en) * 2017-12-02 2024-10-29 上海仪电科学仪器股份有限公司 Measurement circuit for gather two-way voltage signal
CN111478291A (en) * 2020-05-27 2020-07-31 江西电力职业技术学院 Relay protection method and device for smart home

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1275831A (en) * 1999-05-26 2000-12-06 松下电器产业株式会社 Converter circuit
CN201008141Y (en) * 2007-02-02 2008-01-16 白世忠 Two wire terminal intelligent power supply switch
CN201247944Y (en) * 2008-06-23 2009-05-27 Abb新会低压开关有限公司 Chopping voltage-limiting power-supply circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1275831A (en) * 1999-05-26 2000-12-06 松下电器产业株式会社 Converter circuit
CN201008141Y (en) * 2007-02-02 2008-01-16 白世忠 Two wire terminal intelligent power supply switch
CN201247944Y (en) * 2008-06-23 2009-05-27 Abb新会低压开关有限公司 Chopping voltage-limiting power-supply circuit

Also Published As

Publication number Publication date
CN102148488A (en) 2011-08-10

Similar Documents

Publication Publication Date Title
CN102761248B (en) Power conversion circuit and conversion controller
US8138685B2 (en) Power converting circuit and controller thereof
CN103124466B (en) Lighting device and illumination apparatus
US20160261202A1 (en) Isolated dc/dc converter, feedback circuit thereof, power supply device, power supply adaptor, and electronic device using the same
TWI479764B (en) Low power bleeder circuit and ac converter having the same
CN103336165B (en) A kind of alternating current-direct current over-current detection circuit
CN102148488B (en) Circuit device
CN102778849B (en) Switching on and shutting down control circuit, electronic equipment and on-off control method
CN110829364A (en) Electric leakage protection circuit, electric leakage protection device and electric equipment
CN109239446B (en) Alternating-current overvoltage detection circuit, air conditioner indoor unit and control panel thereof
CN214013869U (en) Reliable single-phase wiring detection circuit of commercial power
CN101777833B (en) Electronic equipment and power supply unit thereof
CN101212149A (en) AC power zero point detection circuit
KR102299444B1 (en) Ark detection circuit using external magnetic field induction
KR101657228B1 (en) Apparatus for controlling stand-by power of air conditioner
CN1988283B (en) Power socket based on electricity measuring to control switch
KR102823355B1 (en) Monitoring equipment and electrical equipment
CN221328601U (en) Direct current power supply charging protection circuit
CN213694252U (en) Overvoltage protection circuits, power supplies and electronic equipment
CN217587404U (en) Three-phase power supply phase loss detection circuit
CN203327292U (en) Controller provided with short-circuit protection apparatus
CN114615775B (en) LED driving device, driving circuit and driving method thereof
CN217562109U (en) Human body distance alarm device
CN220017505U (en) Driving circuit of portable heating device
KR200275615Y1 (en) Power supply apprartus for Elevator emergency illumination lamp

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20150928

Address after: Osaka Japan

Patentee after: PANASONIC INTELLECTUAL PROPERTY MANAGEMENT Co.,Ltd.

Address before: Osaka Japan

Patentee before: Matsushita Electric Industrial Co.,Ltd.