Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6488932B2 - Air conditioner - Google Patents
[go: Go Back, main page]

JP6488932B2 - Air conditioner - Google Patents

Air conditioner Download PDF

Info

Publication number
JP6488932B2
JP6488932B2 JP2015148408A JP2015148408A JP6488932B2 JP 6488932 B2 JP6488932 B2 JP 6488932B2 JP 2015148408 A JP2015148408 A JP 2015148408A JP 2015148408 A JP2015148408 A JP 2015148408A JP 6488932 B2 JP6488932 B2 JP 6488932B2
Authority
JP
Japan
Prior art keywords
signal
sampling
cross point
voltage
waiting time
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
JP2015148408A
Other languages
Japanese (ja)
Other versions
JP2017026284A (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.)
Fujitsu General Ltd
Original Assignee
Fujitsu General 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 Fujitsu General Ltd filed Critical Fujitsu General Ltd
Priority to JP2015148408A priority Critical patent/JP6488932B2/en
Publication of JP2017026284A publication Critical patent/JP2017026284A/en
Application granted granted Critical
Publication of JP6488932B2 publication Critical patent/JP6488932B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Air Conditioning Control Device (AREA)

Description

本発明は、空気調和機に係わり、より詳細には、室内機と室外機との通信に関する。   The present invention relates to an air conditioner, and more particularly to communication between an indoor unit and an outdoor unit.

従来、室内機と室外機とからなる空気調和機は、電源を供給する2本の電源線と、1本の通信線を備えた特許文献1に示す構成がある。この方式は一方の電源線から通信線を介して他方の電源線に流れる電流をオンオフ制御することにより、室内機と室外機との間でシリアル通信を行なうものである。このオンオフされる電流の検出にはフォトカプラが用いられている。   Conventionally, an air conditioner composed of an indoor unit and an outdoor unit has a configuration shown in Patent Document 1 including two power supply lines for supplying power and one communication line. In this method, serial communication is performed between an indoor unit and an outdoor unit by controlling on / off of a current flowing from one power line to the other power line via a communication line. A photocoupler is used to detect this on / off current.

図2は本発明を説明する図であるが、電源を供給する2本の電源線、1本の通信線、及びこれらに接続されるフォトカプラやゼロクロス点検出部については従来の回路と同じため、これらを用いて従来の回路の問題点を説明する。   FIG. 2 is a diagram for explaining the present invention. However, two power lines for supplying power, one communication line, a photocoupler connected to these lines, and a zero-crossing point detector are the same as the conventional circuit. These will be used to explain the problems of conventional circuits.

図示しない定格電圧が100ボルトのAC電源で動作する空気調和機の室内機には室内機通信手段10が、また、図示しない室外機には室外機通信手段20がそれぞれ備えられており、室内機通信手段10と室外機通信手段20は電源線3aと電源線3bと通信線3cで接続されている。   An indoor unit of an air conditioner that operates with an AC power source having a rated voltage of 100 volts (not shown) is provided with an indoor unit communication means 10, and an outdoor unit (not shown) is provided with an outdoor unit communication means 20. The communication means 10 and the outdoor unit communication means 20 are connected by a power line 3a, a power line 3b, and a communication line 3c.

室内機通信手段10内では、電源線3aと電源線3bの間にゼロクロス点検出部15が、電源線3aと通信線3cの間に抵抗13を介してフォトカプラ16が、通信線3cと電源線3bの間に抵抗14を介してフォトカプラ17がそれぞれ接続されている。   In the indoor unit communication means 10, the zero cross point detector 15 is provided between the power supply line 3a and the power supply line 3b, the photocoupler 16 is provided between the power supply line 3a and the communication line 3c via the resistor 13, and the communication line 3c and the power supply are provided. Photocouplers 17 are connected between the lines 3b via resistors 14, respectively.

ゼロクロス点検出部15は、AC電圧の正の半周期と負の半周期を示すと共に、正と負の半周期の変化のタイミングを示すゼロクロス点信号aを出力する。また、フォトカプラ16内部の発光ダイオードのアノード端子は送信信号aが入力される。また、フォトカプラ16内部のフォトトランジスタのコレクタ端子は抵抗13を介して電源線3aに、また、エミッタ端子は通信線3cにそれぞれ接続されている。一方、フォトカプラ17内部の発光ダイオードのカソード端子は抵抗14を介して通信線3cに、また、アノード端子は電源線3bにそれぞれ接続され、フォトカプラ17内部のフォトトランジスタのコレクタ端子からは受信信号aが出力される。   The zero-cross point detector 15 outputs a zero-cross point signal a indicating the positive half cycle and negative half cycle of the AC voltage and indicating the change timing of the positive and negative half cycles. The transmission signal a is input to the anode terminal of the light emitting diode inside the photocoupler 16. The collector terminal of the phototransistor inside the photocoupler 16 is connected to the power supply line 3a via the resistor 13, and the emitter terminal is connected to the communication line 3c. On the other hand, the cathode terminal of the light emitting diode inside the photocoupler 17 is connected to the communication line 3c via the resistor 14, and the anode terminal is connected to the power supply line 3b. The received signal is received from the collector terminal of the phototransistor inside the photocoupler 17. a is output.

室外機通信手段20内では、電源線3aと電源線3bの間にゼロクロス点検出部25が、電源線3aと通信線3cの間に抵抗23を介してフォトカプラ26が、通信線3cと電源線3bの間に抵抗24を介してフォトカプラ27がそれぞれ接続されている。   In the outdoor unit communication means 20, the zero cross point detector 25 is provided between the power supply line 3a and the power supply line 3b, the photocoupler 26 is provided between the power supply line 3a and the communication line 3c via the resistor 23, and the communication line 3c and the power supply are provided. Photocouplers 27 are connected between the lines 3b via resistors 24, respectively.

ゼロクロス点検出部25は、AC電圧の正の半周期と負の半周期を示すと共に、正と負の半周期の変化タイミングを示すゼロクロス点信号bを出力する。また、フォトカプラ26内部の発光ダイオードのアノード端子は送信信号bが入力される。また、フォトカプラ26内部のフォトトランジスタのエミッタ端子は抵抗23を介して電源線3aに、また、コレクタ端子は通信線3cにそれぞれ接続されている。一方、フォトカプラ27内部の発光ダイオードのアノード端子は抵抗24を介して通信線3cに、また、カソード端子は電源線3bにそれぞれ接続され、フォトカプラ27内部のフォトトランジスタのコレクタ端子からは受信信号bが出力される。   The zero-cross point detection unit 25 outputs a zero-cross point signal b indicating the positive half cycle and negative half cycle of the AC voltage and the change timing of the positive and negative half cycles. A transmission signal b is input to the anode terminal of the light emitting diode inside the photocoupler 26. The emitter terminal of the phototransistor inside the photocoupler 26 is connected to the power supply line 3a via the resistor 23, and the collector terminal is connected to the communication line 3c. On the other hand, the anode terminal of the light emitting diode inside the photocoupler 27 is connected to the communication line 3c via the resistor 24, and the cathode terminal is connected to the power supply line 3b. The received signal is received from the collector terminal of the phototransistor inside the photocoupler 27. b is output.

次に前述した各フォトカプラの動作について説明する。
室内機通信手段10では電源線3aから電源線3bに電流が流れるAC電圧の正の半周期(室内機送信可能期間)でゼロクロス点検出部15の出力がハイレベルとなり、負の半周期でゼロクロス点検出部15の出力がローレベルとなり、この正負の状態とゼロクロス点のタイミングを信号の立ち上がり/立ち下がりで示すゼロクロス点信号aが出力される。このAC電圧の正の半周期の間に1ビットのデータ「0」を送信するため送信信号aをハイレベルにしてフォトカプラ16をオンにすると、電源線3aから抵抗13、フォトカプラ16、通信線3c、抵抗24、フォトカプラ27、電源線3bに電流が流れる。この結果、フォトカプラ27から受信信号bとして1ビットのデータ「0」と対応するローレベルの信号が出力される。同様に、1ビットのデータ「1」を送信するため送信信号aをローレベルにしてフォトカプラ16をオフにすると、フォトカプラ27から受信信号bとして1ビットのデータ「1」と対応するハイレベルの信号が出力される。
Next, the operation of each photocoupler described above will be described.
In the indoor unit communication means 10, the output of the zero cross point detector 15 becomes high level in the positive half cycle (period in which indoor unit transmission is possible) of the AC voltage in which current flows from the power line 3a to the power line 3b, and zero cross in the negative half cycle. The output of the point detector 15 becomes a low level, and a zero cross point signal a indicating the positive / negative state and the timing of the zero cross point by the rising / falling edge of the signal is output. When the photocoupler 16 is turned on by setting the transmission signal a to high level in order to transmit 1-bit data “0” during the positive half cycle of the AC voltage, the resistor 13, the photocoupler 16, the communication from the power line 3a A current flows through the line 3c, the resistor 24, the photocoupler 27, and the power supply line 3b. As a result, a low level signal corresponding to 1-bit data “0” is output from the photocoupler 27 as the reception signal b. Similarly, when the transmission signal a is set to low level and the photocoupler 16 is turned off to transmit 1-bit data “1”, the photocoupler 27 receives the high level corresponding to 1-bit data “1” as the reception signal b. Is output.

一方、室外機通信手段20では電源線3bから電源線3aに電流が流れるAC電圧の負の半周期でゼロクロス点検出部25の出力がハイレベルとなり、正の半周期でゼロクロス点検出部25の出力がローレベルとなり、この正負の状態とゼロクロス点のタイミングを信号の立ち上がり/立ち下がりで示すゼロクロス点信号bが出力される。このAC電圧の負の半周期の間に1ビットのデータ「0」を送信するため送信信号bをハイレベルにしてフォトカプラ26をオンにすると、電源線3bからフォトカプラ17、通信線3c、フォトカプラ26、抵抗23、電源線3aに電流が流れる。この結果、フォトカプラ17から受信信号aとして1ビットのデータ「0」と対応するローレベルの信号が出力される。同様に、1ビットのデータ「1」を送信するため送信信号bをローレベルにしてフォトカプラ26をオフにすると、フォトカプラ17から受信信号aとして1ビットのデータ「1」と対応するハイレベルの信号が出力される。   On the other hand, in the outdoor unit communication means 20, the output of the zero cross point detector 25 becomes high in the negative half cycle of the AC voltage in which the current flows from the power line 3b to the power line 3a, and the zero cross point detector 25 in the positive half cycle. The output becomes a low level, and a zero cross point signal b indicating the positive / negative state and the timing of the zero cross point by the rising / falling edge of the signal is output. In order to transmit 1-bit data “0” during the negative half period of the AC voltage, when the transmission signal b is set to the high level and the photocoupler 26 is turned on, the power supply line 3b to the photocoupler 17, the communication line 3c, A current flows through the photocoupler 26, the resistor 23, and the power supply line 3a. As a result, a low level signal corresponding to 1-bit data “0” is output from the photocoupler 17 as the reception signal a. Similarly, when the transmission signal b is set to the low level and the photocoupler 26 is turned off to transmit the 1-bit data “1”, the reception signal a from the photocoupler 17 is set to the high level corresponding to the 1-bit data “1”. Is output.

図7は前述した送受信を説明する説明図である。横軸は時間を、縦軸は電圧を示している。図7(1)はAC電圧、図7(2)はゼロクロス点信号a、図7(3)はゼロクロス点信号b、図7(4)は送信信号a、図7(5)は送信信号b、図7(6)は受信信号a、図7(7)は受信信号bをそれぞれ示している。なお、t1〜t12は時刻である。また、図7においてt0〜t5までがAC電圧100ボルト(実効値)であり、t5以降がAC電圧85ボルト(実効値)であるとする。   FIG. 7 is an explanatory diagram for explaining the transmission and reception described above. The horizontal axis represents time, and the vertical axis represents voltage. 7 (1) is an AC voltage, FIG. 7 (2) is a zero cross point signal a, FIG. 7 (3) is a zero cross point signal b, FIG. 7 (4) is a transmission signal a, and FIG. 7 (5) is a transmission signal b. 7 (6) shows the received signal a, and FIG. 7 (7) shows the received signal b. Note that t1 to t12 are times. In FIG. 7, it is assumed that the voltage from t0 to t5 is an AC voltage of 100 volts (effective value), and the voltage after t5 is an AC voltage of 85 volts (effective value).

図7(4)に示すようにt0〜t5の期間で室内機がデータ「0」を送信するため、送信信号aをハイレベルにしてフォトカプラ16をオンにすると、AC電圧の瞬時電圧がピ−クに到達するまでフォトカプラ27の発光ダイオードに流れる電流が徐々に増加し、これに対応してフォトカプラ27の出力電圧が徐々に低下する。そしてt1でフォトカプラ27のフォトトランジスタが飽和して受信信号bがローレベルとなる。また、AC電圧の瞬時電圧がピ−クに到達してから0ボルトに低下するまでフォトカプラ27の発光ダイオードに流れる電流が徐々に減少し、t3でフォトカプラ27のフォトトランジスタが飽和できなくなり、受信信号bがローレベルから上昇を開始する。
AC電圧の電源周波数が50ヘルツの場合、半周期は10mSであるため、AC電圧100ボルト(実効値)の場合、つまり定格電圧の場合は図7(7)に示すようにAC電圧の極性が変化したt0、つまり、ゼロクロス点信号bの信号変化のタイミングをトリガとして、5mS経過したt2で室外機が受信信号bをサンプリングするようになっている。
As shown in FIG. 7 (4), since the indoor unit transmits data “0” in the period from t0 to t5, when the photocoupler 16 is turned on by setting the transmission signal a to the high level, the instantaneous voltage of the AC voltage is reduced. The current flowing through the light emitting diode of the photocoupler 27 gradually increases until reaching the voltage, and the output voltage of the photocoupler 27 gradually decreases correspondingly. At t1, the phototransistor of the photocoupler 27 is saturated and the reception signal b becomes low level. In addition, the current flowing through the light emitting diode of the photocoupler 27 gradually decreases until the instantaneous voltage of the AC voltage reaches the peak after reaching the peak, and the phototransistor of the photocoupler 27 cannot be saturated at t3. The reception signal b starts to rise from the low level.
When the power frequency of the AC voltage is 50 Hz, the half cycle is 10 ms. Therefore, in the case of the AC voltage of 100 volts (effective value), that is, the rated voltage, the polarity of the AC voltage is as shown in FIG. The outdoor unit samples the received signal b at t2 when 5 mS has elapsed, triggered by the changed t0, that is, the signal change timing of the zero cross point signal b.

しかしながら、前述したようにフォトカプラ17とフォトカプラ27内の発光ダイオードは、AC電圧の瞬時電圧が低くなるにつれてフォトカプラ内の発光ダイオードに流れる電流が小さくなる。このため、使用するフォトカプラに安価な立ち上がり立ち下がり特性が悪いものを採用した場合、フォトカプラ内の発光ダイオードに流れる電流がフォトカプラ内のフォトトランジスタをオンとして飽和させる期間、つまり、受信信号がローレベルとなる期間が短く、また、受信信号の立ち上がりと立ち下がりに要する時間が長くなり、また、フォトカプラに接続される回路の負荷容量が大きい場合は、この負荷容量が小さい場合に比較して受信信号がローレベルとなる区間が後の方へ遅延する場合が有った。   However, as described above, in the light-emitting diodes in the photocoupler 17 and the photocoupler 27, the current flowing through the light-emitting diodes in the photocoupler decreases as the instantaneous voltage of the AC voltage decreases. For this reason, when an inexpensive photocoupler with poor rise and fall characteristics is used, the period during which the current flowing through the light emitting diode in the photocoupler saturates with the phototransistor in the photocoupler turned on, that is, the received signal is When the low level period is short, the time required for rising and falling of the received signal is long, and the load capacitance of the circuit connected to the photocoupler is large, this load capacitance is small. In some cases, the interval in which the received signal is at a low level is delayed later.

従って受信信号をサンプリングするゼロクロス点信号の変化点からの時間であるサンプリング待時間を定格電圧に合わせて固定の5mSとした場合、AC電圧が定格電圧より低くなって例えば85ボルト(実効値)となった場合、最適なサンプリングタイミングからずれてしまい、フォトカプラの特性によっては、サンプリング待時間を5mSとしてサンプリングした場合、誤ったデータとなる問題があった。
例えば図7(7)においてAC電圧が定格電圧より低い85ボルト(実効値)の時、本来であれば受信信号がローレベルとなる区間が後の方へ遅延した波形に合わせて、t7でゼロクロス点信号が変化してから7mS経過したt11でサンプリングすべきであるが、定格AC電圧の100ボルトと同様にt7でゼロクロス点信号が変化してから5mS経過したt9でサンプリングした結果、正しいデータ「0」でなく、誤ったデータ「1」となる場合があった。
Therefore, when the sampling waiting time, which is the time from the change point of the zero cross point signal for sampling the received signal, is fixed to 5 mS according to the rated voltage, the AC voltage becomes lower than the rated voltage, for example, 85 volts (effective value). In such a case, there is a problem that the data is shifted from the optimum sampling timing, and depending on the characteristics of the photocoupler, when sampling is performed with a sampling waiting time of 5 mS, erroneous data is obtained.
For example, in FIG. 7 (7), when the AC voltage is 85 volts (effective value) lower than the rated voltage, the zero crossing at t7 is performed in accordance with the waveform in which the section where the received signal is normally low is delayed later. Sampling should be performed at t11 when 7 mS has elapsed since the point signal changed. However, as with the rated AC voltage of 100 volts, sampling is performed at t9 when 5 mS has elapsed after the zero-cross point signal has changed at t7, as a result of correct data “ In some cases, erroneous data “1” was obtained instead of “0”.

特開特開平11−193950公報(第5−6頁、図1)JP-A-11-193950 (page 5-6, FIG. 1)

本発明は以上述べた問題点を解決し、電源を供給する2本のAC電源線と1本の通信線とフォトカプラにより通信を行なう空気調和機において、AC電圧が低下した時でも正しいデータを受信することを目的とする。   The present invention solves the above-described problems, and correct data can be obtained even when the AC voltage drops in an air conditioner that communicates with two AC power lines for supplying power, one communication line, and a photocoupler. The purpose is to receive.

本発明は上述の課題を解決するため、本発明の請求項1に記載の発明は、一対のAC電源線と一本の通信線とで接続される室内機と室外機とを有し、前記AC電源線と前記通信線とを用いて、前記室内機に備えられた室内機通信手段と前記室外機に備えられた室外機通信手段との間で双方向に通信を行う空気調和装置であって、
前記空気調和機は、前記AC電源線に印加されるAC電圧の実効値の大きさを検出してAC電圧信号として出力するAC電圧検出部を備え、
前記室内機通信手段と前記室外機通信手段は、
前記一対のAC電源線の一方から前記通信線を介して前記一対のAC電源線の他方に流れる電流の有無を検出した受信信号を出力するフォトカプラと、
前記AC電源線に印加されるAC電圧のゼロクロス点を検出してゼロクロス点信号として出力するゼロクロス点検出部と、
前記ゼロクロス点信号が入力され、前記ゼロクロス点からの時間を示すサンプリング待時間が経過した後に前記受信信号をサンプリングするサンプリング信号を生成するサンプリング信号生成手段と、
入力された前記AC電圧信号の大きさに対応する前記サンプリング待時間を前記サンプリング信号生成部へ設定するサンプリング待時間設定手段とを備え、
前記サンプリング待時間設定手段は、前記AC電圧の実効値が小さくなるに従って遅延する前記受信信号に対応して前記サンプリング待時間を長くする。
In order to solve the above-described problems, the present invention described in claim 1 of the present invention includes an indoor unit and an outdoor unit connected by a pair of AC power supply lines and a single communication line, An air conditioner that performs bidirectional communication between an indoor unit communication unit provided in the indoor unit and an outdoor unit communication unit provided in the outdoor unit using an AC power line and the communication line. And
The air conditioner includes an AC voltage detection unit that detects a magnitude of an effective value of the AC voltage applied to the AC power line and outputs an AC voltage signal.
The indoor unit communication means and the outdoor unit communication means are:
A photocoupler that outputs a reception signal that detects the presence or absence of current flowing from one of the pair of AC power supply lines to the other of the pair of AC power supply lines via the communication line;
A zero-cross point detector that detects a zero-cross point of the AC voltage applied to the AC power line and outputs it as a zero-cross point signal;
Sampling signal generating means for generating a sampling signal for sampling the received signal after the zero cross point signal is input and a sampling waiting time indicating a time from the zero cross point has elapsed;
Sampling waiting time setting means for setting the sampling waiting time corresponding to the magnitude of the input AC voltage signal to the sampling signal generation unit,
The sampling waiting time setting means lengthens the sampling waiting time corresponding to the received signal that is delayed as the effective value of the AC voltage decreases.

また、本発明の請求項2に記載の発明は、一対のAC電源線と一本の通信線とで接続される室内機と室外機とを有し、前記AC電源線と前記通信線とを用いて、前記室内機に備えられた室内機通信手段と前記室外機に備えられた室外機通信手段との間で双方向に通信を行う空気調和装置であって、
前記室内機通信手段と前記室外機通信手段は、
前記一対のAC電源線の一方から前記通信線を介して前記一対のAC電源線の他方に流れる電流の有無を検出した受信信号を出力するフォトカプラと、
前記AC電源線に印加されるAC電圧のゼロクロス点を検出してゼロクロス点信号として出力するゼロクロス点検出部と、
前記ゼロクロス点信号が入力された時点から前記受信信号がローレベルになっている期間の中央の時点までのサンプリング待時間を算出するサンプリング待時間算出手段と、
前記ゼロクロス点信号と前記サンプリング待時間が入力され、前記ゼロクロス点信号が入力された時点から前記サンプリング待時間が経過した後に前記受信信号をサンプリングするサンプリング信号を生成するサンプリング信号生成手段とを備え、
前記サンプリング待時間算出手段は、前記AC電圧の実効値が小さくなるに従って遅延する前記受信信号のローレベルの期間の中央の時点に対応した前記サンプリング待時間を算出する。
The invention according to claim 2 of the present invention includes an indoor unit and an outdoor unit connected by a pair of AC power lines and a single communication line, and the AC power line and the communication line are connected to each other. An air conditioner that performs bidirectional communication between an indoor unit communication means provided in the indoor unit and an outdoor unit communication means provided in the outdoor unit,
The indoor unit communication means and the outdoor unit communication means are:
A photocoupler that outputs a reception signal that detects the presence or absence of current flowing from one of the pair of AC power supply lines to the other of the pair of AC power supply lines via the communication line;
A zero-cross point detector that detects a zero-cross point of the AC voltage applied to the AC power line and outputs it as a zero-cross point signal;
Sampling waiting time calculating means for calculating a sampling waiting time from the time when the zero-crossing point signal is input to the center time of the period in which the received signal is at a low level;
The zero cross point signal and the sampling waiting time are input, and a sampling signal generating means for generating a sampling signal for sampling the received signal after the sampling waiting time has elapsed from the time when the zero cross point signal is input,
The sampling waiting time calculating means calculates the sampling waiting time corresponding to the central time point of the low level period of the received signal that is delayed as the effective value of the AC voltage decreases.

以上の手段を用いることにより、本発明による空気調和機によれば、電源を供給する2本のAC電源線と1本の通信線によりフォトカプラを介して通信を行なう空気調和機において、AC電圧が低下した時でも正しいデータを受信することができる。   By using the above means, according to the air conditioner of the present invention, in the air conditioner that performs communication via the photocoupler by two AC power supply lines for supplying power and one communication line, the AC voltage The correct data can be received even when the data drops.

本発明による空気調和機の実施例を示すブロック図である。It is a block diagram which shows the Example of the air conditioner by this invention. 本発明による実施例1の受信制御手段を備えた通信部を説明するブロック図である。It is a block diagram explaining the communication part provided with the reception control means of Example 1 by this invention. 受信用のフォトカプラの出力に接続される回路を説明する回路図である。It is a circuit diagram explaining the circuit connected to the output of the photocoupler for reception. 実施例2の受信制御手段を説明するブロック図である。It is a block diagram explaining the reception control means of Example 2. 実施例1の受信制御手段の動作を説明する説明図である。It is explanatory drawing explaining operation | movement of the reception control means of Example 1. FIG. 実施例2の受信制御手段の動作を説明する説明図である。It is explanatory drawing explaining operation | movement of the reception control means of Example 2. 従来の通信方式を説明する説明図である。It is explanatory drawing explaining the conventional communication system.

以下、本発明の実施の形態を、添付図面に基づいた実施例として詳細に説明する。   DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail as examples based on the attached drawings.

図1は本発明による空気調和機1の実施例を示すブロック図である。なお、本発明に直接関係がない冷媒回路やファンモータなどの図示と説明を省略する。   FIG. 1 is a block diagram showing an embodiment of an air conditioner 1 according to the present invention. In addition, illustration and description of a refrigerant circuit, a fan motor, etc. which are not directly related to the present invention are omitted.

空気調和機1は室外機2と室内機4とが、一対のAC電源線である電源線3aと電源線3bと、通信線3cで構成される接続線3で接続されている。
室内機4は、電源線3aが接続された電源入力端14aと、電源線3bが接続された電源入力端14bと、電源線3aと電源線3bに接続された室内機電源部5及び室内機通信手段10と、室内機通信手段10へ送信信号aを出力し、室内機通信手段10から受信信号aとサンプリング信号aとゼロクロス点信号aが入力される室内機制御部9と、電源線3aと電源線3bの間の電圧を検出するAC電圧検出部12とを備えている。なお、AC電圧検出部12で検出されたAC電圧の大きさはAC電圧信号aとして室内機通信手段10と室内機制御部9へ出力されている。
In the air conditioner 1, an outdoor unit 2 and an indoor unit 4 are connected by a connection line 3 including a power line 3a and a power line 3b, which are a pair of AC power lines, and a communication line 3c.
The indoor unit 4 includes a power input terminal 14a to which the power line 3a is connected, a power input terminal 14b to which the power line 3b is connected, an indoor unit power supply unit 5 connected to the power line 3a and the power line 3b, and the indoor unit. The indoor unit control unit 9 that outputs the transmission signal a to the communication unit 10 and the indoor unit communication unit 10 and receives the reception signal a, the sampling signal a, and the zero cross point signal a from the indoor unit communication unit 10, and the power line 3a And an AC voltage detector 12 for detecting a voltage between the power line 3b. The magnitude of the AC voltage detected by the AC voltage detection unit 12 is output to the indoor unit communication means 10 and the indoor unit control unit 9 as an AC voltage signal a.

一方、室外機2も同様に、電源線3aと電源線3bに接続された室外機電源部6及び室外機通信手段20と、室外機通信手段20へ送信信号bを出力し、室外機通信手段20から受信信号bとサンプリング信号bとゼロクロス点信号bが入力される室外機制御部8と、電源線3aと電源線3bの間の電圧を検出するAC電圧検出部22とを備えている。なお、AC電圧検出部22で検出されたAC電圧の大きさはAC電圧信号bとして室外機通信手段20と室外機制御部8へ出力されている。   On the other hand, the outdoor unit 2 also outputs the transmission signal b to the outdoor unit communication unit 20 and the outdoor unit power supply unit 6 and the outdoor unit communication unit 20 connected to the power line 3a and the power line 3b. 20 includes an outdoor unit control unit 8 to which a reception signal b, a sampling signal b, and a zero cross point signal b are input from 20, and an AC voltage detection unit 22 that detects a voltage between the power supply line 3a and the power supply line 3b. The magnitude of the AC voltage detected by the AC voltage detection unit 22 is output to the outdoor unit communication means 20 and the outdoor unit control unit 8 as an AC voltage signal b.

図2は本発明による実施例1の受信制御手段11を備えた室内機通信手段10と、受信制御手段21を備えた室外機通信手段20を説明するブロック図である。なお、受信制御手段11と受信制御手段21は同じ回路構成である。また、図2のフォトカプラ17とフォトカプラ27の出力に接続される回路については図示を省略しているが、図3でこの回路について詳細に説明する。   FIG. 2 is a block diagram illustrating the indoor unit communication unit 10 including the reception control unit 11 and the outdoor unit communication unit 20 including the reception control unit 21 according to the first embodiment of the present invention. The reception control means 11 and the reception control means 21 have the same circuit configuration. Further, although the circuit connected to the outputs of the photocoupler 17 and the photocoupler 27 in FIG. 2 is omitted, this circuit will be described in detail with reference to FIG.

室内機通信手段10内では、電源線3aと電源線3bの間にゼロクロス点検出部15が、電源線3aと通信線3cの間に抵抗13を介してフォトカプラ16が、通信線3cと電源線3bの間に抵抗14を介してフォトカプラ17がそれぞれ接続されている。   In the indoor unit communication means 10, the zero cross point detector 15 is provided between the power supply line 3a and the power supply line 3b, the photocoupler 16 is provided between the power supply line 3a and the communication line 3c via the resistor 13, and the communication line 3c and the power supply are provided. Photocouplers 17 are connected between the lines 3b via resistors 14, respectively.

ゼロクロス点検出部15はゼロクロス点信号aを出力する。ゼロクロス点検出部15に正の半周期のAC電圧が印加されるとゼロクロス点信号aはハイレベルになり、ゼロクロス点検出部15に負の半周期のAC電圧が印加されるとゼロクロス点信号aはローレベルになる。つまり、ゼロクロス点信号aはAC電圧の極性の切り替え時点(ゼロクロス点)でレベルが変化する。また、ゼロクロス点信号aがハイレベルの期間は室内機制御部9が送信可能な期間である。この送信可能な期間については後で詳細に説明する。   The zero cross point detector 15 outputs a zero cross point signal a. When a positive half-cycle AC voltage is applied to the zero-cross point detector 15, the zero-cross point signal a becomes high level, and when a negative half-cycle AC voltage is applied to the zero-cross point detector 15, the zero-cross point signal a Goes low. That is, the level of the zero cross point signal a changes at the time of switching the polarity of the AC voltage (zero cross point). The period during which the zero cross point signal a is at a high level is a period during which the indoor unit control unit 9 can transmit. This transmission possible period will be described in detail later.

一方、フォトカプラ16内部の発光ダイオードのアノード端子は送信信号aが入力される。なお、フォトカプラ16内部の発光ダイオードのカソード端子は図示しない抵抗を介してグランドに接続されている。また、フォトカプラ16内部のフォトトランジスタのコレクタ端子は抵抗13に、また、エミッタ端子は通信線3cに接続されている。一方、フォトカプラ17内部の発光ダイオードのカソード端子は抵抗14を介して通信線3cに接続され、また、アノード端子は電源線3bに接続され、フォトカプラ17内部のフォトトランジスタのコレクタ端子からは受信信号aが出力される。   On the other hand, the transmission signal a is input to the anode terminal of the light emitting diode inside the photocoupler 16. The cathode terminal of the light emitting diode inside the photocoupler 16 is connected to the ground via a resistor (not shown). The collector terminal of the phototransistor inside the photocoupler 16 is connected to the resistor 13 and the emitter terminal is connected to the communication line 3c. On the other hand, the cathode terminal of the light emitting diode inside the photocoupler 17 is connected to the communication line 3c via the resistor 14, and the anode terminal is connected to the power supply line 3b, and is received from the collector terminal of the phototransistor inside the photocoupler 17. Signal a is output.

室外機通信手段20内では、電源線3aと電源線3bの間にゼロクロス点検出部25が、電源線3aと通信線3cの間に抵抗23を介してフォトカプラ26が、通信線3cと電源線3bの間に抵抗24を介してフォトカプラ27がそれぞれ接続されている。   In the outdoor unit communication means 20, the zero cross point detector 25 is provided between the power supply line 3a and the power supply line 3b, the photocoupler 26 is provided between the power supply line 3a and the communication line 3c via the resistor 23, and the communication line 3c and the power supply are provided. Photocouplers 27 are connected between the lines 3b via resistors 24, respectively.

ゼロクロス点検出部25はゼロクロス点信号bを出力する。ゼロクロス点検出部25に負の半周期のAC電圧が印加されるとゼロクロス点信号bはハイレベルになり、ゼロクロス点検出部25に正の半周期のAC電圧が印加されるとゼロクロス点信号bはローレベルになる。つまり、ゼロクロス点信号bはAC電圧の極性の切り替え時点(ゼロクロス点)でレベルが変化する。また、ゼロクロス点信号bがハイレベルの期間は室外機制御部8が送信可能な期間である。この送信可能な期間については後で詳細に説明する。   The zero cross point detector 25 outputs a zero cross point signal b. When a negative half-cycle AC voltage is applied to the zero-cross point detection unit 25, the zero-cross point signal b becomes high level, and when a positive half-cycle AC voltage is applied to the zero-cross point detection unit 25, the zero-cross point signal b. Goes low. That is, the level of the zero cross point signal b changes at the time of switching the polarity of the AC voltage (zero cross point). The period during which the zero cross point signal b is at a high level is a period during which the outdoor unit control unit 8 can transmit. This transmission possible period will be described in detail later.

一方、フォトカプラ26内部の発光ダイオードのアノード端子は送信信号bが入力される。なお、フォトカプラ26内部の発光ダイオードのカソード端子は図示しない抵抗を介してグランドに接続されている。また、フォトカプラ26内部のフォトトランジスタのエミッタ端子は抵抗23に、また、コレクタ端子は通信線3cに接続されている。一方、フォトカプラ27内部の発光ダイオードのアノード端子は抵抗24に、また、カソード端子は電源線3bに接続され、フォトカプラ27内部のフォトトランジスタのコレクタ端子からは受信信号bが出力される。   On the other hand, the transmission signal b is input to the anode terminal of the light emitting diode inside the photocoupler 26. The cathode terminal of the light emitting diode inside the photocoupler 26 is connected to the ground via a resistor (not shown). The emitter terminal of the phototransistor in the photocoupler 26 is connected to the resistor 23, and the collector terminal is connected to the communication line 3c. On the other hand, the anode terminal of the light emitting diode inside the photocoupler 27 is connected to the resistor 24, the cathode terminal is connected to the power supply line 3b, and the received signal b is output from the collector terminal of the phototransistor inside the photocoupler 27.

一方、室内機通信手段10には受信制御手段11が設けられており、受信制御手段11にはゼロクロス点信号aとAC電圧信号aが入力され、サンプリング信号aが出力される。
受信制御手段11はサンプリング信号生成手段11aとサンプリング待時間設定手段11bを備えている。サンプリング待時間設定手段11bにはAC電圧信号aが入力され、このAC電圧信号aと対応するサンプリング待時間をサンプリング信号生成手段11aへ設定する。サンプリング待時間設定手段11bは、AC電圧信号aが100ボルト、95ボルト、85ボルトの実効値を示すそれぞれ信号レベルの場合、これに対応してサンプリング待時間を、5mS、6mS、7mSとして出力する。なお、このように段階的な切り替えでなく、連続的に変化するAC電圧(実効値)に対応してサンプリング待時間を連続的に変化させてもよい。
On the other hand, the indoor unit communication means 10 is provided with reception control means 11, and the zero cross point signal a and the AC voltage signal a are input to the reception control means 11, and the sampling signal a is output.
The reception control unit 11 includes a sampling signal generation unit 11a and a sampling waiting time setting unit 11b. The AC voltage signal a is input to the sampling waiting time setting means 11b, and the sampling waiting time corresponding to the AC voltage signal a is set in the sampling signal generating means 11a. When the AC voltage signal a has signal levels indicating effective values of 100 volts, 95 volts, and 85 volts, the sampling waiting time setting unit 11b outputs the sampling waiting times as 5 mS, 6 mS, and 7 mS corresponding to the signal levels. . Note that the sampling waiting time may be changed continuously corresponding to the AC voltage (effective value) that changes continuously, instead of stepwise switching in this way.

サンプリング信号生成手段11aは、サンプリング待時間設定手段11aにより設定されたサンプリング待時間を記憶している。そして、サンプリング信号生成手段11aは、入力されたゼロクロス点信号aがハイレベルからローレベルに変化したタイミング、つまり、ゼロクロス点のタイミングを起点として、設定されたサンプリング待時間の経過を待つ。そして、サンプリング待時間が経過した時、サンプリング信号aをローレベルからハイレベルにして室内機制御部9に受信信号aのサンプリングを指示する。室内機制御部9はこの指示により受信信号aを受信データとして読み込む。なお、サンプリング信号生成手段11aは、入力されたゼロクロス点信号aがローレベルからハイレベルに変化したタイミングでサンプリング信号aをハイレベルからローレベルにして次の受信に備える。   The sampling signal generating unit 11a stores the sampling waiting time set by the sampling waiting time setting unit 11a. Then, the sampling signal generating means 11a waits for the set sampling waiting time to elapse with the timing at which the inputted zero cross point signal a changes from the high level to the low level, that is, the timing of the zero cross point. When the sampling waiting time elapses, the sampling signal a is changed from low level to high level, and the indoor unit control unit 9 is instructed to sample the reception signal a. In response to this instruction, the indoor unit control unit 9 reads the reception signal a as reception data. The sampling signal generation means 11a prepares for the next reception by changing the sampling signal a from the high level to the low level at the timing when the input zero cross point signal a changes from the low level to the high level.

一方、室外機通信手段20には受信制御手段21が設けられており、受信制御手段21はゼロクロス点信号bとAC電圧信号bが入力され、また、サンプリング信号bが出力される。
受信制御手段21はサンプリング信号生成手段21aとサンプリング待時間設定手段21bを備えている。サンプリング待時間設定手段21bにはAC電圧信号bが入力され、このAC電圧信号bと対応するサンプリング待時間をサンプリング信号生成手段21aへ出力する。サンプリング待時間設定手段21bは、AC電圧信号が100ボルト、95ボルト、85ボルトの実効値を示すそれぞれ信号レベルの場合、これに対応してサンプリング待時間を、5mS、6mS、7mSとして出力する。
On the other hand, the outdoor unit communication means 20 is provided with a reception control means 21. The reception control means 21 receives the zero cross point signal b and the AC voltage signal b, and outputs the sampling signal b.
The reception control means 21 includes a sampling signal generation means 21a and a sampling waiting time setting means 21b. The AC voltage signal b is input to the sampling waiting time setting means 21b, and the sampling waiting time corresponding to the AC voltage signal b is output to the sampling signal generating means 21a. When the AC voltage signal has signal levels indicating effective values of 100 volts, 95 volts, and 85 volts, the sampling waiting time setting unit 21b outputs the sampling waiting times as 5 mS, 6 mS, and 7 mS corresponding to the signal levels.

サンプリング信号生成手段21aは、サンプリング待時間設定手段21bにより設定されたサンプリング待時間を記憶している。そして、サンプリング信号生成手段21aは、入力されたゼロクロス点信号がハイレベルからローレベルに変化したタイミング、つまり、ゼロクロス点のタイミングを起点として、設定されたサンプリング待時間の経過を待つ。そして、サンプリング待時間が経過した時、サンプリング信号bをローレベルからハイレベルにして室外機制御部8に受信信号bのサンプリングを指示する。室外機制御部8はこの指示により受信信号bを受信データとして読み込む。なお、サンプリング信号生成手段21aは、入力されたゼロクロス点信号bがローレベルからハイレベルに変化したタイミングでサンプリング信号bをハイレベルからローレベルにして次の受信に備える。   The sampling signal generating means 21a stores the sampling waiting time set by the sampling waiting time setting means 21b. Then, the sampling signal generating means 21a waits for the set sampling waiting time to elapse with the timing at which the input zero cross point signal changes from the high level to the low level, that is, the timing of the zero cross point. When the sampling waiting time elapses, the sampling signal b is changed from the low level to the high level, and the outdoor unit control unit 8 is instructed to sample the reception signal b. In response to this instruction, the outdoor unit control unit 8 reads the received signal b as received data. The sampling signal generation unit 21a prepares for the next reception by changing the sampling signal b from the high level to the low level at the timing when the input zero cross point signal b changes from the low level to the high level.

次に前述した各フォトカプラの動作について説明する。
室内機通信手段10では電源線3aから電源線3bに電流が流れるAC電圧の正の半周期(室内機送信可能期間)でゼロクロス点検出部15の出力であるゼロクロス点信号aがハイレベルになり、AC電源電圧の負の半周期(室内機受信可能期間)でゼロクロス点信号aがローレベルになる。このAC電源電圧の正の半周期の間に、室内機制御部9が1ビットのデータ「0」を送信するため送信信号aをハイレベルにしてフォトカプラ16をオンにすると、電源線3aから抵抗13、フォトカプラ16、通信線3c、抵抗24、フォトカプラ27、電源線3bに電流が流れる。この結果、フォトカプラ27から受信信号bとして1ビットのデータ「0」と対応するローレベルの信号が出力される。また、室内機制御部9が1ビットのデータ「1」を送信するため送信信号aをローレベルにしてフォトカプラ16をオフにすると、フォトカプラ27から受信信号bとして1ビットのデータ「1」と対応するハイレベルの信号が出力される。
Next, the operation of each photocoupler described above will be described.
In the indoor unit communication means 10, the zero cross point signal a, which is the output of the zero cross point detection unit 15, becomes high level in the positive half cycle (period in which indoor unit transmission is possible) of the AC voltage in which current flows from the power line 3a to the power line 3b. In the negative half cycle of the AC power supply voltage (indoor unit receivable period), the zero cross point signal a becomes low level. During this positive half cycle of the AC power supply voltage, if the indoor unit control section 9 transmits 1-bit data “0”, the transmission signal a is set to high level and the photocoupler 16 is turned on. A current flows through the resistor 13, the photocoupler 16, the communication line 3c, the resistor 24, the photocoupler 27, and the power supply line 3b. As a result, a low level signal corresponding to 1-bit data “0” is output from the photocoupler 27 as the reception signal b. Further, when the indoor unit control unit 9 transmits 1-bit data “1” and the transmission signal a is set to the low level to turn off the photocoupler 16, the 1-bit data “1” is received as the reception signal b from the photocoupler 27. A high level signal corresponding to is output.

一方、室外機通信手段20では電源線3bから電源線3aに電流が流れるAC電源電圧の負の半周期(室外機送信可能期間)でゼロクロス点検出部25の出力であるゼロクロス点信号bがハイレベルになり、AC電源電圧の正の半周期(室外機受信可能期間)でゼロクロス点信号bがローレベルになる。このAC電源電圧の負の半周期の間に、室外機制御部8が1ビットのデータ「0」を送信するため送信信号bをハイレベルにしてフォトカプラ26をオンにすると、電源線3bからフォトカプラ17、通信線3c、フォトカプラ26、電源線3aに電流が流れる。この結果、フォトカプラ17から受信信号aとして1ビットのデータ「0」と対応するローレベルの信号が出力される。また、室外機制御部8が1ビットのデータ「1」を送信するため送信信号bをローレベルにしてフォトカプラ26をオフにすると、フォトカプラ17から受信信号aとして1ビットのデータ「1」と対応するハイレベルの信号が出力される。   On the other hand, in the outdoor unit communication means 20, the zero cross point signal b, which is the output of the zero cross point detection unit 25, is high in the negative half cycle of the AC power supply voltage in which current flows from the power line 3b to the power line 3a. The zero cross point signal b becomes low level in the positive half cycle of the AC power supply voltage (outdoor unit receivable period). During this negative half cycle of the AC power supply voltage, if the outdoor unit control unit 8 transmits 1-bit data “0”, the transmission signal b is set to high level and the photocoupler 26 is turned on. A current flows through the photocoupler 17, the communication line 3c, the photocoupler 26, and the power supply line 3a. As a result, a low level signal corresponding to 1-bit data “0” is output from the photocoupler 17 as the reception signal a. When the outdoor unit control unit 8 transmits 1-bit data “1” and the transmission signal b is set to low level to turn off the photocoupler 26, the 1-bit data “1” is received from the photocoupler 17 as the reception signal a. A high level signal corresponding to is output.

図3はフォトカプラの出力に接続された回路を説明する回路図であり、受信用のフォトカプラ17と、それに接続される回路を示している。
図3に示すように、フォトカプラ17の発光ダイオード17aのカソード端子は直列に接続された抵抗14を介して通信線3cに接続され、発光ダイオード17aのアノード端子は電源線3bに接続されている。
一方、フォトカプラ17のフォトトランジスタ17bのコレクタ端子は抵抗18bを介して+5Vへ接続され、エミッタ端子はグランドへ接続されている。また、フォトトランジスタ17bのコレクタ端子はコンデンサ19の一端に接続され、コンデンサ19の他端はグランドに接続されている。このコンデンサ19はノイズ除去用のコンデンサである。そして、フォトトランジスタ17bのコレクタ端子から受信信号aが出力される。なお、フォトカプラ27も同様の構成になっている。
FIG. 3 is a circuit diagram for explaining a circuit connected to the output of the photocoupler, and shows a photocoupler for reception 17 and a circuit connected thereto.
As shown in FIG. 3, the cathode terminal of the light emitting diode 17a of the photocoupler 17 is connected to the communication line 3c via the resistor 14 connected in series, and the anode terminal of the light emitting diode 17a is connected to the power supply line 3b. .
On the other hand, the collector terminal of the phototransistor 17b of the photocoupler 17 is connected to + 5V via the resistor 18b, and the emitter terminal is connected to the ground. The collector terminal of the phototransistor 17b is connected to one end of the capacitor 19, and the other end of the capacitor 19 is connected to the ground. The capacitor 19 is a noise removing capacitor. Then, the reception signal a is output from the collector terminal of the phototransistor 17b. The photocoupler 27 has the same configuration.

また、発光ダイオード17aに流れる電流は、AC電圧の実効値が最大定格(110ボルト)の時の瞬時電圧のピーク電圧、つまり、155ボルトの時を考慮して抵抗14で制限されている。例えば定格電流が10mA(ミリアンペア)の発光ダイオード17aの場合、抵抗14は15.3KΩ(キロオーム)となる。そしてAC電圧の実効値が85ボルトに低下した時のピーク電圧、つまり、120ボルトでは、7.8mAまで低下する。従ってこの場合の瞬時電圧の変化、つまり、0〜120ボルトに対応して発光ダイオード17aに流れる電流は0〜7.8mAの間で変化することになる。   The current flowing through the light emitting diode 17a is limited by the resistor 14 in consideration of the peak voltage of the instantaneous voltage when the effective value of the AC voltage is the maximum rating (110 volts), that is, 155 volts. For example, in the case of the light emitting diode 17a having a rated current of 10 mA (milliampere), the resistance 14 is 15.3 KΩ (kiloohm). At the peak voltage when the effective value of the AC voltage is reduced to 85 volts, that is, 120 volts, the effective value decreases to 7.8 mA. Accordingly, the instantaneous voltage change in this case, that is, the current flowing through the light emitting diode 17a corresponding to 0 to 120 volts changes between 0 and 7.8 mA.

一方、フォトトランジスタ17bを飽和領域までオンとするためには、発光ダイオード17aの入力電流と抵抗18bに流す電流が条件となる。このためフォトカプラには、フォトカプラの入力電流に対して出力可能な電流の比率である電流伝達率(CTR)が規定されている。   On the other hand, in order to turn on the phototransistor 17b to the saturation region, the input current of the light emitting diode 17a and the current flowing through the resistor 18b are required. For this reason, a current transfer rate (CTR) that is a ratio of a current that can be output to an input current of the photocoupler is defined for the photocoupler.

電流伝達率は、フォトカプラの温度特性やバラツキを考えると一般的に100%として考える必要がある。例えば抵抗18bを1KΩとした場合、フォトトランジスタ17bがオンとなった時、電源が5ボルトであれば抵抗18bには5mA流れることになる。従ってこの時の発光ダイオード17aの入力電流はCTRが100%で5mA必要となり、この電流が流れるためには瞬時電圧が約80ボルト以上になる必要がある。AC電圧波形は正弦波であるため、AC電圧のピーク電圧が低いほど、ゼロクロス点から瞬時電圧:80ボルト以上になるまでの時間が長くなる。   The current transfer rate generally needs to be considered as 100% considering the temperature characteristics and variations of the photocoupler. For example, when the resistance 18b is 1 KΩ, when the phototransistor 17b is turned on, if the power supply is 5 volts, 5 mA will flow through the resistance 18b. Therefore, the input current of the light emitting diode 17a at this time requires 5 mA with a CTR of 100%. In order for this current to flow, the instantaneous voltage needs to be about 80 volts or more. Since the AC voltage waveform is a sine wave, the lower the AC voltage peak voltage, the longer the time from the zero cross point to the instantaneous voltage: 80 volts or more.

また、フォトトランジスタ17bのコレクタ端子にはコンデンサ19bが接続されているため、発光ダイオード17aに流れる電流によりフォトトランジスタ17bがオンオフの変化をする場合、コンデンサ19bが無い場合に比較してコンデンサ19bが有る場合に受信信号aの立ち上がりと立ち下がりの時間がさらに長くなる。   Further, since the capacitor 19b is connected to the collector terminal of the phototransistor 17b, when the phototransistor 17b is turned on and off by the current flowing through the light emitting diode 17a, the capacitor 19b is present as compared with the case where the capacitor 19b is not present. In this case, the rise and fall times of the received signal a are further increased.

このようにピーク電圧が低いほど、つまり、AC電圧の実効値が小さい時ほどフォトトランジスタ17bがオンとなっている期間が短く、また、ゼロクロス点からフォトトランジスタ17bがオンとなるまでの時間が長くなる。受信制御手段11と受信制御手段21はAC電圧の実効値の大きさに対応してサンプリング信号待時間を変化させる、つまりサンプリング信号がローレベルからハイレベルになる時間を変化させる。このため、受信制御手段11と受信制御手段21は、前述したAC電圧の実効値の大きさによって変化するゼロクロス点から受信信号がローレベルとなるまでの時間に対応したサンプリング信号を出力することができ、室内機制御部9や室外機制御部8は受信用のフォトカプラ17とフォトカプラ27から出力される受信信号のローレベルを確実にサンプリングすることができる。   Thus, the lower the peak voltage, that is, the smaller the effective value of the AC voltage, the shorter the period in which the phototransistor 17b is on, and the longer the time from the zero cross point to the phototransistor 17b being on. Become. The reception control means 11 and the reception control means 21 change the sampling signal waiting time corresponding to the magnitude of the effective value of the AC voltage, that is, change the time for the sampling signal to go from low level to high level. For this reason, the reception control means 11 and the reception control means 21 can output a sampling signal corresponding to the time from the zero cross point that changes depending on the magnitude of the effective value of the AC voltage to the low level of the reception signal. In addition, the indoor unit control unit 9 and the outdoor unit control unit 8 can reliably sample the low level of the reception signal output from the receiving photocoupler 17 and the photocoupler 27.

図5は本発明による実施例1の受信制御手段11を備えた室内機通信手段10と、受信制御手段21を備えた室外機通信手段20の動作を説明するブロック図である。図5の横軸は時間を、縦軸は電圧を示している。図5(1)はAC電圧、図5(2)はゼロクロス点信号a、図5(3)はゼロクロス点信号b、図5(4)は送信信号a、図5(5)は送信信号b、図5(6)は受信信号a、図5(7)は受信信号b、図5(8)はサンプリング信号a、図5(9)はサンプリング信号bをそれぞれ示している。なお、t20〜t30は時刻である。また、前提条件として図5においてt20〜t24までがAC電圧100ボルト(実効値)の期間であり、t24〜t26までがAC電圧95ボルト(実効値)の期間であり、t26以降がAC電圧85ボルト(実効値)の期間である。   FIG. 5 is a block diagram for explaining the operation of the indoor unit communication means 10 including the reception control means 11 according to the first embodiment of the present invention and the outdoor unit communication means 20 including the reception control means 21. In FIG. 5, the horizontal axis indicates time, and the vertical axis indicates voltage. 5 (1) is an AC voltage, FIG. 5 (2) is a zero cross point signal a, FIG. 5 (3) is a zero cross point signal b, FIG. 5 (4) is a transmission signal a, and FIG. 5 (5) is a transmission signal b. 5 (6) shows the received signal a, FIG. 5 (7) shows the received signal b, FIG. 5 (8) shows the sampling signal a, and FIG. 5 (9) shows the sampling signal b. Note that t20 to t30 are times. Further, as preconditions, in FIG. 5, the period from t20 to t24 is a period of AC voltage 100 volts (effective value), the period from t24 to t26 is a period of AC voltage 95 volts (effective value), and after t26, the AC voltage 85 It is the period of volt (effective value).

本実施例ではAC電圧の正の半周期を室内機4が通信データを送信可能な期間、負の半周期を室外機2が通信データを送信可能な期間となっているため、この正の半周期と負の半周期の期間をゼロクロス点信号aのレベルで判別できるようになっている。つまり、図5(2)と図5(3)に示すように、ゼロクロス点信号aがハイレベルの時を室内機送信可能期間、ローレベルの時を室外機受信可能期間、ゼロクロス点信号bがハイレベルの時を室外機送信可能期間、ローレベルの時を室内機受信可能期間としている。また、このゼロクロス点信号aやゼロクロス点信号bのレベルが変化するタイミングがゼロクロス点である。   In this embodiment, the positive half cycle of the AC voltage is a period in which the indoor unit 4 can transmit communication data, and the negative half cycle is a period in which the outdoor unit 2 can transmit communication data. The period of the cycle and the negative half cycle can be discriminated by the level of the zero cross point signal a. That is, as shown in FIGS. 5 (2) and 5 (3), when the zero cross point signal a is high, the indoor unit can be transmitted, when it is low, the outdoor unit can be received, and the zero cross point signal b is The high level is the outdoor unit transmittable period, and the low level is the indoor unit receivable period. The timing at which the levels of the zero cross point signal a and the zero cross point signal b change is the zero cross point.

室内機制御部9が図5(4)に示すようにt20〜t24の期間でデータ「0」を送信するため、この期間で図5(4)に示すように送信信号aをハイレベルにした場合、AC電圧が100ボルト(実効値)の時は図5(7)に示すようにt21〜t23の期間でフォトカプラ27のフォトトランジスタがオンとなり、このt21〜t23の期間で受信信号bはローレベルになる。
室外機通信手段20の受信制御手段21は、t20でAC電圧信号bがAC100ボルト(実効値)と対応する電圧であるため、サンプリング信号bがローレベルからハイレベルとなるまでのサンプリング待時間を、ゼロクロス点であるt20から5mSとして出力する。このため室外機制御部8は、図5(7)に示すようにt22でサンプリングを実行した結果、データ「0」を受信することができる。
Since the indoor unit control section 9 transmits data “0” in the period t20 to t24 as shown in FIG. 5 (4), the transmission signal a is set to the high level in this period as shown in FIG. 5 (4). In this case, when the AC voltage is 100 volts (effective value), the phototransistor of the photocoupler 27 is turned on during the period from t21 to t23 as shown in FIG. Become low level.
The reception control means 21 of the outdoor unit communication means 20 has a sampling waiting time until the sampling signal b changes from the low level to the high level because the AC voltage signal b is a voltage corresponding to AC 100 volts (effective value) at t20. , And output as 5 mS from t20 which is the zero cross point. Therefore, the outdoor unit control unit 8 can receive data “0” as a result of performing sampling at t22 as shown in FIG. 5 (7).

一方、室内機制御部9が図5(4)に示すようにt26〜t30の期間でデータ「0」を送信するため、この期間で図5(4)に示すように送信信号aをハイレベルにした場合、AC電圧が85ボルト(実効値)の時は図5(7)に示すようにt27〜t29の期間でフォトカプラ27のフォトトランジスタがオンとなり、このt27〜t29の期間で受信信号bはローレベルになる。
室外機通信手段20の受信制御手段21は、t26でAC電圧信号bがAC85ボルト(実効値)と対応する電圧であるため、サンプリング信号bがローレベルからハイレベルとなるまでのサンプリング待時間を、ゼロクロス点であるt26から7mSとして出力する。このため室外機制御部8は、図5(7)に示すようにt28でサンプリングを実行した結果、データ「0」を受信することができる。
On the other hand, since the indoor unit control unit 9 transmits data “0” in the period t26 to t30 as shown in FIG. 5 (4), the transmission signal a is set to the high level in this period as shown in FIG. 5 (4). In this case, when the AC voltage is 85 volts (effective value), the phototransistor of the photocoupler 27 is turned on during the period t27 to t29 as shown in FIG. 5 (7), and the received signal is received during the period t27 to t29. b goes low.
The reception control means 21 of the outdoor unit communication means 20 determines the sampling waiting time until the sampling signal b changes from low level to high level because the AC voltage signal b is a voltage corresponding to AC 85 volts (effective value) at t26. , And output as 7 mS from t26 which is the zero cross point. Therefore, the outdoor unit control unit 8 can receive data “0” as a result of performing sampling at t28 as shown in FIG. 5 (7).

このように、室外機制御部8はt27〜t29の期間(2mS)がt21〜t23(5mS)の期間よりも短く、かつ、t26〜t27の期間の受信信号bがハイレベルからローレベルになまでの期間(6mS)がt20〜t21の期間の受信信号bがハイレベルからローレベルになまでの期間(2.5mS)よりも長くなっても、正しいデータの「0」を受信することができる。   As described above, the outdoor unit control unit 8 has a period from t27 to t29 (2 mS) shorter than a period from t21 to t23 (5 mS), and the reception signal b during the period from t26 to t27 is changed from the high level to the low level. Even when the received signal b in the period from t20 to t21 is longer than the period from the high level to the low level (2.5 mS), the correct data “0” may be received. it can.

次に室外機制御部8がデータを送信する場合を説明する。
室外機制御部8がt24〜t26の期間で送信信号bをローレベルにしてデータ「1」を送信する場合、受信制御手段11はAC電圧信号の95ボルトに対応して、サンプリング信号aがローレベルからハイレベルとなるまでのサンプリング待時間を、t24のゼロクロス点から6mSとして出力する。本発明において各受信信号は通常状態でハイレベルとなっており、各送信信号がハイレベルとなり、かつ、前述したAC電圧の瞬時電圧が80ボルト以上になったときのみ各受信信号はローレベルになる。つまり、それ以外の期間では各受信信号はハイレベルのままである。
従って、図5(6)に示すように受信信号aは、t24〜t26の期間ですべてハイレベルであり、室内機受信部9は受信信号aをサンプリングしてデータ「1」を受信できる。
Next, the case where the outdoor unit control unit 8 transmits data will be described.
When the outdoor unit control unit 8 transmits the data “1” by setting the transmission signal b to the low level during the period from t24 to t26, the reception control unit 11 corresponds to the AC voltage signal of 95 volts, and the sampling signal a is low. The sampling waiting time from the level to the high level is output as 6 mS from the zero cross point at t24. In the present invention, each received signal is at a high level in a normal state, each transmitted signal is at a high level, and each received signal is at a low level only when the above-described AC voltage instantaneous voltage is 80 volts or more. Become. That is, each received signal remains at a high level during other periods.
Therefore, as shown in FIG. 5 (6), the reception signal a is all at the high level during the period from t24 to t26, and the indoor unit reception unit 9 can receive the data “1” by sampling the reception signal a.

図4は実施例1で説明した受信制御手段11や受信制御手段21の他の実施例を示す受信制御手段30であり、図2の受信制御手段11や受信制御手段21に代替して使用することができる。
なお、受信制御手段30はAC電圧信号が不要である一方、受信信号が必要であるため、室内機通信手段10に用いる場合、ゼロクロス点信号aとフォトカプラ17が出力する受信信号aが入力されるようにすることで、これらに対応してサンプリング信号aが出力される。同様に室外機通信手段20に用いる場合、受信制御手段30はゼロクロス点信号bとフォトカプラ27が出力する受信信号bが入力されるようにすることで、これらに対応してサンプリング信号bが出力される。なお、以降の説明において図2の受信制御手段11と受信制御手段21を受信制御手段30に置き替えたものとして室内機通信手段10と室外機通信手段20の説明を行なう。
4 is a reception control means 30 showing another embodiment of the reception control means 11 and the reception control means 21 described in the first embodiment, and is used instead of the reception control means 11 and the reception control means 21 of FIG. be able to.
The reception control means 30 does not require an AC voltage signal, but requires a reception signal. Therefore, when used in the indoor unit communication means 10, the zero cross point signal a and the reception signal a output from the photocoupler 17 are input. By doing so, the sampling signal a is output corresponding to these. Similarly, when used in the outdoor unit communication means 20, the reception control means 30 inputs the zero cross point signal b and the reception signal b output from the photocoupler 27, so that the sampling signal b is output corresponding to these signals. Is done. In the following description, the indoor unit communication unit 10 and the outdoor unit communication unit 20 will be described on the assumption that the reception control unit 11 and the reception control unit 21 of FIG.

受信制御手段30は、受信信号がローレベルとなる期間を予め算出し、その期間の中央でサンプリングするサンプリング信号を出力する構成になっている。このため受信制御手段30は受信データ「0」を受信するため受信信号のローレベルを監視しており、このデータ「0」を確実に受信できる最適なサンプリング待時間を予め算出して、それ以降の受信信号に関してこの算出したサンプリング待時間によるサンプリング信号を出力する。このため、正確なサンプリングを行なうためには、受信側で定期的にデータ「0」のダミーデータを受信する必要がある。通常は通信データの中にデータ「0」が含まれるため、例えば送信側で送信データの最初にデータ「0」のダミーデータを挿入して送信するとよい。   The reception control means 30 is configured to calculate a period during which the reception signal is at a low level in advance and output a sampling signal that is sampled at the center of the period. Therefore, the reception control means 30 monitors the low level of the reception signal in order to receive the reception data “0”, calculates in advance an optimum sampling waiting time that can reliably receive this data “0”, and thereafter A sampling signal based on the calculated sampling waiting time is output for the received signal. Therefore, in order to perform accurate sampling, it is necessary to periodically receive dummy data of data “0” on the receiving side. Normally, data “0” is included in the communication data, and therefore, for example, dummy data of data “0” may be inserted at the beginning of the transmission data on the transmission side and transmitted.

受信制御手段30は、立下がり検出手段31と立上がり検出手段32と、時刻計測手段33と、サンプリング待時間算出手段34と、サンプリング信号生成手段35を備えている。立下がり検出手段31は受信信号が入力され、受信信号の立ち下がりを検出するとパルス状の立下がり信号を出力する、一方、立上がり検出手段32は受信信号が入力され、受信信号の立ち上がりを検出するとパルス状の立上がり信号を出力する。なお、受信信号の立ち上がり/立ち下がりが無い場合、それぞれの検出手段は該当する信号を出力しない。   The reception control means 30 includes a fall detection means 31, a rise detection means 32, a time measurement means 33, a sampling waiting time calculation means 34, and a sampling signal generation means 35. The fall detection means 31 receives a received signal and outputs a pulsed fall signal when the fall of the received signal is detected. On the other hand, the rise detection means 32 receives a receive signal and detects the rise of the received signal. Outputs a pulse rise signal. When there is no rising / falling of the received signal, each detecting means does not output the corresponding signal.

時刻計測手段33は、ゼロクロス点信号のハイレベル/ローレベルのレベルが変化した時に時刻の計測を開始し、立下がり信号と立上がり信号が入力された時、ゼロクロス点を基準として計測した、立下がり信号が入力されるまでの立下がり時刻と、立上がり信号が入力されるまでの立上がり時刻をそれぞれサンプリング待時間算出手段34へ出力する。なお、時刻計測手段33は、立上がり信号、又は立下がり信号が入力されない場合、時刻の計測結果を出力しない。   The time measuring means 33 starts time measurement when the high level / low level level of the zero cross point signal changes, and when the falling signal and the rising signal are input, the falling time is measured with reference to the zero cross point. The falling time until the signal is inputted and the rising time until the rising signal is inputted are outputted to the sampling waiting time calculating means 34, respectively. The time measuring means 33 does not output the time measurement result when no rising signal or falling signal is input.

サンプリング待時間算出手段34は、下記の式1を用いてサンプリング待時間を算出する。
サンプリング待時間=(立上がり時刻−立下がり時刻)/2+立下がり時刻・・・式1
そして、サンプリング待時間算出手段34は、算出したサンプリング待時間をサンプリング信号生成手段35へ設定する。サンプリング信号生成手段35は、入力されたゼロクロス点信号がハイレベルからローレベルに変化したタイミングを基準として、設定されたサンプリング待時間が経過した時、サンプリング信号をローレベルからハイレベルにする。なお、サンプリング信号生成手段35は、入力されたゼロクロス点信号がローレベルからハイレベルに変化したタイミング、つまり送信可能期間になったらサンプリング信号をハイレベルからローレベルにして次の受信に備える。
The sampling waiting time calculating means 34 calculates the sampling waiting time using the following formula 1.
Sampling waiting time = (rise time−fall time) / 2 + fall time ... Equation 1
Then, the sampling waiting time calculating unit 34 sets the calculated sampling waiting time in the sampling signal generating unit 35. The sampling signal generator 35 changes the sampling signal from the low level to the high level when the set sampling waiting time has elapsed with reference to the timing at which the input zero cross point signal changes from the high level to the low level. Note that the sampling signal generation means 35 prepares for the next reception by changing the sampling signal from the high level to the low level when the input zero cross point signal changes from the low level to the high level, that is, when the transmission is possible.

図6は本発明による実施例2の受信制御手段30の動作を説明するブロック図である。図6の横軸は時間を、縦軸は電圧を示している。図6(1)はAC電圧、図6(2)はゼロクロス点信号a、図6(3)はゼロクロス点信号b、図6(4)は送信信号a、図6(5)は送信信号b、図6(6)は受信信号a、図6(7)は受信信号b、図6(8)はサンプリング信号a、図6(9)はサンプリング信号b、図6(10)は立下がり信号b、図6(11)は立上がり信号bをそれぞれ示している。なお、t40〜t54は時刻である。また、立下がり信号bと立上がり信号bは室外機通信手段20に受信制御手段30を用いた場合の受信制御手段30の内部信号である。また、室内機通信手段10に受信制御手段30を用いた場合の受信制御手段30の内部信号は図示を省略している。   FIG. 6 is a block diagram for explaining the operation of the reception control means 30 according to the second embodiment of the present invention. The horizontal axis in FIG. 6 represents time, and the vertical axis represents voltage. 6 (1) is an AC voltage, FIG. 6 (2) is a zero cross point signal a, FIG. 6 (3) is a zero cross point signal b, FIG. 6 (4) is a transmission signal a, and FIG. 6 (5) is a transmission signal b. 6 (6) is the received signal a, FIG. 6 (7) is the received signal b, FIG. 6 (8) is the sampling signal a, FIG. 6 (9) is the sampling signal b, and FIG. 6 (10) is the falling signal. b and FIG. 6 (11) show the rising signal b. Note that t40 to t54 are times. The falling signal b and the rising signal b are internal signals of the reception control means 30 when the reception control means 30 is used for the outdoor unit communication means 20. Further, illustration of internal signals of the reception control means 30 when the reception control means 30 is used for the indoor unit communication means 10 is omitted.

なお、前提条件として図6においてすべての期間でAC電圧85ボルト(実効値)である。また、t40以前はAC電圧100ボルト(実効値)で有ったとする。この時、図5(7)で説明したように、t20〜t23の期間が7.5mS、t20〜t21の期間が2.5mSであるため、サンプリング待ち時間算出手段34は、式1を用いてサンプリング待ち時間5mSとして算出し、サンプリング信号生成手段35はこの値が設定された状態になってている。   As a precondition, the AC voltage is 85 volts (effective value) in all periods in FIG. Further, it is assumed that the AC voltage was 100 volts (effective value) before t40. At this time, as described in FIG. 5 (7), the period from t20 to t23 is 7.5 mS, and the period from t20 to t21 is 2.5 mS. The sampling waiting time 5 mS is calculated, and the sampling signal generating means 35 is set to this value.

図6(4)に示すように室内機制御部9はt40〜t46、及びt48〜t54の期間にデータ「0」を送信するため、送信信号aをハイレベルにする。この結果、図6(7)に示すように受信信号bがローレベルとなる時刻はt40から6mS経過したt43の時点である。   As shown in FIG. 6 (4), the indoor unit control unit 9 transmits the data “0” during the period of t40 to t46 and t48 to t54, and therefore sets the transmission signal a to the high level. As a result, as shown in FIG. 6 (7), the time when the reception signal b becomes low is the time t43 when 6 mS has elapsed from t40.

この結果、前述したようにt40以前にサンプリング待時間算出手段34が算出したサンプリング待時間:5mSを用いた図6(9)に示すサンプリング信号bの立ち上がりタイミングt42では受信信号bがローレベルに下がりきっていないため、室外機制御部8がt42で受信信号bをサンプリングするとデータ「1」となり、誤ったデータを受信することになる。
このため室内機制御部9はt48〜t54のデータ「0」を送信する前にt40〜t46の期間でデータ「0」をダミーデータとして送信し、室外機制御部8はこのダミーデータを受信しても破棄している。
As a result, as described above, the reception signal b falls to the low level at the rising timing t42 of the sampling signal b shown in FIG. 6 (9) using the sampling waiting time: 5 mS calculated by the sampling waiting time calculating means 34 before t40. Therefore, when the outdoor unit control unit 8 samples the reception signal b at t42, the data becomes “1”, and erroneous data is received.
Therefore, the indoor unit control unit 9 transmits data “0” as dummy data during the period from t40 to t46 before transmitting data “0” from t48 to t54, and the outdoor unit control unit 8 receives this dummy data. Even discard it.

図6(10)と図6(11)に示すように室外機通信手段20の受信制御手段30において、受信信号bがt43でハイレベルからローレベルとなると立下がり検出手段31が立下がり信号のパルスを出力する。また、受信信号bがt45でローレベルからハイレベルになると立上がり検出手段32が立上がり信号のパルスを出力する。   As shown in FIGS. 6 (10) and 6 (11), in the reception control means 30 of the outdoor unit communication means 20, when the reception signal b changes from high level to low level at t43, the falling detection means 31 outputs the falling signal. Output a pulse. When the reception signal b changes from low level to high level at t45, the rising detection means 32 outputs a pulse of the rising signal.

一方、時刻計測手段33はゼロクロス点信号が変化したt40を基準として時刻を計時しており、立下がり検出手段31が立下がり信号のパルスを出力したt43の時刻を立下がり時刻:6mS、立上がり検出手段32が立上がり信号のパルスを出力したt45の時刻を立上がり時刻:8mSとしてサンプリング待時間算出手段34へ出力する。   On the other hand, the time measuring means 33 measures the time with reference to t40 at which the zero crossing point signal has changed, and the time at t43 when the falling detection means 31 outputs the pulse of the falling signal is the falling time: 6 ms. The time at t45 when the means 32 outputs the pulse of the rising signal is output to the sampling waiting time calculating means 34 as the rising time: 8 mS.

この立上がり時刻:6mSと立上がり時刻:8mSが入力されたサンプリング待時間算出手段34は、前述した式1を用いてサンプリング待時間:7mSを算出してサンプリング信号生成手段35へ出力する。サンプリング信号生成手段35は、次にデータを受信すべきt48〜t54の期間において、サンプリング待時間:7mSのサンプリング信号を出力する。なお、t48〜t54の期間内で受信信号bがローレベルとなる期間があるため、サンプリング待時間算出手段34はt40〜t46の期間の場合と同様に、立下がり信号と立上がり信号の発生時刻を用いてサンプリング待時間を再計算する。   The sampling waiting time calculation means 34 to which the rising time: 6 mS and the rising time: 8 mS are input calculates the sampling waiting time: 7 mS using the above-described equation 1 and outputs it to the sampling signal generation means 35. The sampling signal generation means 35 outputs a sampling signal having a sampling waiting time of 7 mS in a period from t48 to t54 when data is to be received next. Since there is a period during which the received signal b is at a low level within the period from t48 to t54, the sampling waiting time calculation means 34 determines the generation times of the falling signal and the rising signal as in the period from t40 to t46. Use to recalculate sampling wait time.

なお、立下がり信号と立上がり信号が発生しないデータ「1」の場合、サンプリング待時間算出手段34はサンプリング待時間を計算しないため、サンプリング信号生成手段35は、前回設定されたサンプリング待時間を継続して用いることになる。例えば図6(8)のt47に示すように、室内機制御部9はt40以前に算出されたサンプリング待時間:5mSによるサンプリング信号aを用いて受信信号aをサンプリングするが、受信信号aは遅延が発生しないため問題とならない。   Note that in the case of data “1” where no falling signal and no rising signal are generated, the sampling waiting time calculating means 34 does not calculate the sampling waiting time, so that the sampling signal generating means 35 continues the previously set sampling waiting time. Will be used. For example, as indicated by t47 in FIG. 6 (8), the indoor unit control unit 9 samples the reception signal a using the sampling signal a based on the sampling waiting time: 5 mS calculated before t40, but the reception signal a is delayed. This will not cause a problem.

以上説明したように、電源を供給する2本の電源線3aと電源線3bと1本の通信線3cによりフォトカプラ17,27を介して通信を行なう空気調和機1において、受信制御手段11や受信制御手段21や受信制御手段30がAC電圧低下時の受信信号がローレベルとなる期間の遅延を考慮してサンプリング待時間を長くしたサンプリング信号を出力するため、AC電圧が低下した時のデータのサンプリング誤りを防止することができる。   As described above, in the air conditioner 1 that performs communication via the photocouplers 17 and 27 by the two power supply lines 3a, 3b, and one communication line 3c that supply power, the reception control means 11 and Since the reception control means 21 and the reception control means 30 output a sampling signal having a longer sampling waiting time in consideration of a delay in a period in which the reception signal is low level when the AC voltage is reduced, data when the AC voltage is reduced Sampling error can be prevented.

本実施例において、受信制御手段はハードウェアだけでなくソフトウェアでも構成可能である。   In the present embodiment, the reception control means can be configured not only by hardware but also by software.

1 空気調和機
2 室外機
3 接続線
3a 電源線
3b 電源線
3c 通信線
4 室内機
5 室内機電源部
6 室外機電源部
8 室外機制御部
9 室内機制御部
10 室内機通信手段
11 受信制御手段
11a サンプリング信号生成手段
11b サンプリング待時間設定手段
12 AC電圧検出部
13 抵抗
14 抵抗
14a 電源入力端
14b 電源入力端
15 ゼロクロス点検出部
16 フォトカプラ
17 フォトカプラ
17a 発光ダイオード
17b フォトトランジスタ
18b 抵抗
19b コンデンサ
20 室外機通信手段
21 受信制御手段
21a サンプリング信号生成手段
21b サンプリング待時間設定手段
22 AC電圧検出部
23 抵抗
24 抵抗
25 ゼロクロス点検出部
26 フォトカプラ
27 フォトカプラ
30 受信制御手段
31 立下がり検出手段
32 立上がり検出手段
33 時刻計測手段
34 サンプリング待時間算出手段
35 サンプリング信号生成手段
1 Air conditioner 2 Outdoor unit 3 Connection line 3a Power line
3b Power line
3c Communication line 4 Indoor unit 5 Indoor unit power supply unit 6 Outdoor unit power supply unit 8 Outdoor unit control unit 9 Indoor unit control unit 10 Indoor unit communication unit 11 Reception control unit 11a Sampling signal generation unit 11b Sampling waiting time setting unit 12 AC voltage detection Part 13 Resistor 14 Resistor 14a Power input terminal 14b Power input terminal 15 Zero cross point detector 16 Photocoupler 17 Photocoupler 17a Light emitting diode 17b Phototransistor 18b Resistor 19b Capacitor 20 Outdoor unit communication means 21 Reception control means 21a Sampling signal generating means 21b Sampling Waiting time setting means 22 AC voltage detection section 23 Resistance 24 Resistance 25 Zero cross point detection section 26 Photocoupler 27 Photocoupler 30 Reception control means 31 Fall detection means 32 Rise detection means 33 Time measurement means 3 Sampling wait time calculating unit 35 sampling signal generation means

Claims (2)

一対のAC電源線と一本の通信線とで接続される室内機と室外機とを有し、前記AC電源線と前記通信線とを用いて、前記室内機に備えられた室内機通信手段と前記室外機に備えられた室外機通信手段との間で双方向に通信を行う空気調和装置であって、
前記空気調和機は、前記AC電源線に印加されるAC電圧の実効値の大きさを検出してAC電圧信号として出力するAC電圧検出部を備え、
前記室内機通信手段と前記室外機通信手段は、
前記一対のAC電源線の一方から前記通信線を介して前記一対のAC電源線の他方に流れる電流の有無を検出した受信信号を出力するフォトカプラと、
前記AC電源線に印加されるAC電圧のゼロクロス点を検出してゼロクロス点信号として出力するゼロクロス点検出部と、
前記ゼロクロス点信号が入力され、前記ゼロクロス点からの時間を示すサンプリング待時間が経過した後に前記受信信号をサンプリングするサンプリング信号を生成するサンプリング信号生成手段と、
入力された前記AC電圧信号の大きさに対応する前記サンプリング待時間を前記サンプリング信号生成部へ設定するサンプリング待時間設定手段とを備え、
前記サンプリング待時間設定手段は、前記AC電圧の実効値が小さくなるに従って遅延する前記受信信号に対応して前記サンプリング待時間を長くすることを特徴とする空気調和機。
An indoor unit communication unit having an indoor unit and an outdoor unit connected by a pair of AC power lines and a single communication line, and provided in the indoor unit using the AC power line and the communication line An air conditioner that performs bidirectional communication between the outdoor unit and the outdoor unit communication means provided in the outdoor unit,
The air conditioner includes an AC voltage detection unit that detects a magnitude of an effective value of the AC voltage applied to the AC power line and outputs an AC voltage signal.
The indoor unit communication means and the outdoor unit communication means are:
A photocoupler that outputs a reception signal that detects the presence or absence of current flowing from one of the pair of AC power supply lines to the other of the pair of AC power supply lines via the communication line;
A zero-cross point detector that detects a zero-cross point of the AC voltage applied to the AC power line and outputs it as a zero-cross point signal;
Sampling signal generating means for generating a sampling signal for sampling the received signal after the zero cross point signal is input and a sampling waiting time indicating a time from the zero cross point has elapsed;
Sampling waiting time setting means for setting the sampling waiting time corresponding to the magnitude of the input AC voltage signal to the sampling signal generation unit,
The sampling waiting time setting means lengthens the sampling waiting time corresponding to the received signal that is delayed as the effective value of the AC voltage decreases.
一対のAC電源線と一本の通信線とで接続される室内機と室外機とを有し、前記AC電源線と前記通信線とを用いて、前記室内機に備えられた室内機通信手段と前記室外機に備えられた室外機通信手段との間で双方向に通信を行う空気調和装置であって、
前記室内機通信手段と前記室外機通信手段は、
前記一対のAC電源線の一方から前記通信線を介して前記一対のAC電源線の他方に流れる電流の有無を検出した受信信号を出力するフォトカプラと、
前記AC電源線に印加されるAC電圧のゼロクロス点を検出してゼロクロス点信号として出力するゼロクロス点検出部と、
前記ゼロクロス点信号が入力された時点から前記受信信号がローレベルになっている期間の中央の時点までのサンプリング待時間を算出するサンプリング待時間算出手段と、
前記ゼロクロス点信号と前記サンプリング待時間が入力され、前記ゼロクロス点信号が入力された時点から前記サンプリング待時間が経過した後に前記受信信号をサンプリングするサンプリング信号を生成するサンプリング信号生成手段とを備え、
前記サンプリング待時間算出手段は、前記AC電圧の実効値が小さくなるに従って遅延する前記受信信号のローレベルの期間の中央の時点に対応した前記サンプリング待時間を算出することを特徴とする空気調和機。
An indoor unit communication unit having an indoor unit and an outdoor unit connected by a pair of AC power lines and a single communication line, and provided in the indoor unit using the AC power line and the communication line An air conditioner that performs bidirectional communication between the outdoor unit and the outdoor unit communication means provided in the outdoor unit,
The indoor unit communication means and the outdoor unit communication means are:
A photocoupler that outputs a reception signal that detects the presence or absence of current flowing from one of the pair of AC power supply lines to the other of the pair of AC power supply lines via the communication line;
A zero-cross point detector that detects a zero-cross point of the AC voltage applied to the AC power line and outputs it as a zero-cross point signal;
Sampling waiting time calculating means for calculating a sampling waiting time from the time when the zero-crossing point signal is input to the center time of the period in which the received signal is at a low level;
The zero cross point signal and the sampling waiting time are input, and a sampling signal generating means for generating a sampling signal for sampling the received signal after the sampling waiting time has elapsed from the time when the zero cross point signal is input,
The sampling waiting time calculating means calculates the sampling waiting time corresponding to a central point in time of a low level period of the received signal that is delayed as the effective value of the AC voltage decreases. .
JP2015148408A 2015-07-28 2015-07-28 Air conditioner Active JP6488932B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015148408A JP6488932B2 (en) 2015-07-28 2015-07-28 Air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015148408A JP6488932B2 (en) 2015-07-28 2015-07-28 Air conditioner

Publications (2)

Publication Number Publication Date
JP2017026284A JP2017026284A (en) 2017-02-02
JP6488932B2 true JP6488932B2 (en) 2019-03-27

Family

ID=57946483

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015148408A Active JP6488932B2 (en) 2015-07-28 2015-07-28 Air conditioner

Country Status (1)

Country Link
JP (1) JP6488932B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110173802A (en) * 2019-05-10 2019-08-27 广东美的制冷设备有限公司 Air conditioner and its communication control method, device and electronic equipment
CN110173800A (en) * 2019-05-10 2019-08-27 广东美的制冷设备有限公司 Air conditioner and its communication control method, device and electronic equipment
CN110173803A (en) * 2019-05-10 2019-08-27 广东美的制冷设备有限公司 Air conditioner and its communication control method, device and electronic equipment
CN110173836A (en) * 2019-05-10 2019-08-27 广东美的制冷设备有限公司 Air conditioner and its communication control method, device and electronic equipment

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10727904B2 (en) * 2017-06-16 2020-07-28 Mitsubishi Electric Corporation Communication device, communication method and program
CN108592182B (en) * 2018-03-28 2020-05-15 海信家电集团股份有限公司 Control circuit of indoor unit in air conditioner, control method of control circuit and air conditioner
CN110173845B (en) * 2019-05-10 2021-10-26 广东美的制冷设备有限公司 Air conditioner and communication control method and device of air conditioner
CN110173805B (en) * 2019-05-10 2021-10-26 广东美的制冷设备有限公司 Air conditioner and communication control method and device thereof
CN115076938B (en) * 2022-06-23 2023-10-27 海信(广东)空调有限公司 Indoor and outdoor unit communication circuit, air conditioner and communication control method of air conditioner

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010078197A (en) * 2008-09-25 2010-04-08 Fujitsu General Ltd Communication device and air conditioner including the same

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110173802A (en) * 2019-05-10 2019-08-27 广东美的制冷设备有限公司 Air conditioner and its communication control method, device and electronic equipment
CN110173800A (en) * 2019-05-10 2019-08-27 广东美的制冷设备有限公司 Air conditioner and its communication control method, device and electronic equipment
CN110173803A (en) * 2019-05-10 2019-08-27 广东美的制冷设备有限公司 Air conditioner and its communication control method, device and electronic equipment
CN110173836A (en) * 2019-05-10 2019-08-27 广东美的制冷设备有限公司 Air conditioner and its communication control method, device and electronic equipment
CN110173803B (en) * 2019-05-10 2021-06-18 广东美的制冷设备有限公司 Air conditioner and its communication control method, device and electronic device
CN110173836B (en) * 2019-05-10 2021-10-26 广东美的制冷设备有限公司 Air conditioner, communication control method and device thereof and electronic equipment
CN110173802B (en) * 2019-05-10 2021-10-26 广东美的制冷设备有限公司 Air conditioner, communication control method and device thereof and electronic equipment

Also Published As

Publication number Publication date
JP2017026284A (en) 2017-02-02

Similar Documents

Publication Publication Date Title
JP6488932B2 (en) Air conditioner
TWI449319B (en) Peak current control device and method for switching power supply
JP6320560B2 (en) Communication system, signal transmission method, and air conditioner
CN107957514B (en) Zero-crossing detection device and method and electric appliance
RU2011133330A (en) METHOD AND DEVICE FOR AUTOMATIC CONTROL OF DETANDER SPEED
JP6686685B2 (en) Power converter
WO2020259204A1 (en) Zero crossing point signal output and power line data sending method and device
US10365319B2 (en) Apparatus for determining deterioration of photocoupler
JP6022971B2 (en) Excitation circuit of electromagnetic flow meter
JP6732124B2 (en) Communication device, communication method, and program
JP6488710B2 (en) Slave for communication
KR101042927B1 (en) Power Line Communication Device and Method
JP2018056619A (en) Electronic apparatus
JP6076309B2 (en) Connection relationship determination system and connection relationship determination method
EP3579508B1 (en) Pulse signal output circuit
US9584009B2 (en) Line current reference generator
CN211152265U (en) A power factor optimization circuit and an LED drive circuit using the same
CN105281377B (en) Input/output signal processing circuit and input/output signal processing method
JP6786913B2 (en) Signal transmission circuit and instrumentation equipment
CN104300793B (en) A kind of improvement loads the control method of dynamic response, control circuit and Switching Power Supply
JP2014216144A (en) Relay control device
JP2010078197A (en) Communication device and air conditioner including the same
JP6249768B2 (en) Transmission apparatus, transmission system, and transmission method
JP2018073195A (en) Measuring system
JP2016139956A (en) Trigger signal input output circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180330

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190121

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190129

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190211

R151 Written notification of patent or utility model registration

Ref document number: 6488932

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533