JPH06181592A - Remote control device for air conditioner - Google Patents
Remote control device for air conditionerInfo
- Publication number
- JPH06181592A JPH06181592A JP4333045A JP33304592A JPH06181592A JP H06181592 A JPH06181592 A JP H06181592A JP 4333045 A JP4333045 A JP 4333045A JP 33304592 A JP33304592 A JP 33304592A JP H06181592 A JPH06181592 A JP H06181592A
- Authority
- JP
- Japan
- Prior art keywords
- data
- time
- data bit
- bit
- pulse
- 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.)
- Granted
Links
Landscapes
- Air Conditioning Control Device (AREA)
- Selective Calling Equipment (AREA)
Abstract
(57)【要約】
【目的】 受信部から侵入する雑音障害を防止するこ
と。
【構成】 スタートビットLow時間検出手段51で受
信部で受信されたスタートビット部のLow時間を検出
し、スタートビット時間検出手段52でスタートビット
部の全体時間を検出し、これによって、送信信号と外乱
光による雑音を明確に区別する。検出したパルスのLo
w時間とパルスの全体時間をスタートビット基準値比較
手段53で閾値のスタートビット基準時間と比較し、そ
れらが閾値のスタートビット基準時間の範囲内にあると
き、データビット時間検出手段54でデータビットのパ
ルスの全体時間を検出し、そのデータビットのパルスの
全体時間をデータ“0”,“1”判別手段55で閾値デ
ータビット基準時間と比較し、データビット基準時間内
の信号が“0”であるか“1”であるかを判別する。
(57) [Summary] [Purpose] To prevent noise interference from the receiving unit. A start bit low time detecting means 51 detects a low time of a start bit portion received by a receiving portion, and a start bit time detecting means 52 detects an entire time of the start bit portion. Clearly distinguish ambient noise. Lo of detected pulse
The w time and the total time of the pulse are compared with the threshold start bit reference time by the start bit reference value comparing means 53, and when they are within the threshold start bit reference time, the data bit time detecting means 54 detects the data bit. , The data "0" and "1" discriminating means 55 compares the data pulse total time with the threshold value data bit reference time, and the signal within the data bit reference time is "0". Or "1" is determined.
Description
【0001】[0001]
【産業上の利用分野】この発明は空気調和機の遠隔制御
装置として使用される空気調和機用遠隔制御装置に関す
るもので、特に、空気調和機用遠隔制御装置の受信部で
受信される信号の信号処理ソフトウエアの改良に関する
ものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a remote control device for an air conditioner used as a remote control device for an air conditioner, and more particularly to a signal received by a receiving section of the remote control device for an air conditioner. The present invention relates to improvement of signal processing software.
【0002】[0002]
【従来の技術】図12は、例えば、特公平2−2877
9号に公報された従来の空気調和機を遠隔制御する制御
装置を示したブロック図である。2. Description of the Related Art FIG. 12 shows, for example, Japanese Patent Publication No. 2-2877.
It is the block diagram which showed the control apparatus which remote-controls the conventional air conditioner disclosed by No. 9.
【0003】図12において、1は空気調和機を遠隔操
作するためのワイヤレスリモコン、2はワイヤレスリモ
コン1より発生された操作指令信号を受信する受信部、
5は受信部2で受信した信号を取り込み、空気調和機全
体を制御する制御部を示すものである。6は圧縮機、7
はトランジスタモータ、8は圧縮機6を駆動する半導体
素子から成るインバータ部、9はトランジスタモータ7
を駆動する半導体素子からなるスイッチングレギュレー
タ部、10は制御部駆動用電源トランスで、その1次側
巻線は商用電源11に接続されている。12は空気調和
機の冷凍サイクルを構成する各種の弁、リレー、温度検
出器等の制御機器及び検出機器を総括して示したもので
ある。13は各種制御機器及び各種検出機器と制御部5
とを接続する電源及び信号線である。14は受信部2の
電源を商用電源11から絶縁する絶縁トランスからなる
受信部駆動用電源トランスである。15は受信部2で受
信した信号と空気調和機全体を制御する制御部5との間
に配設した絶縁回路用のホトカプラである。In FIG. 12, reference numeral 1 is a wireless remote controller for remotely operating the air conditioner, 2 is a receiving section for receiving an operation command signal generated from the wireless remote controller 1,
Reference numeral 5 denotes a control unit that takes in a signal received by the receiving unit 2 and controls the entire air conditioner. 6 is a compressor, 7
Is a transistor motor, 8 is an inverter section composed of semiconductor elements for driving the compressor 6, and 9 is a transistor motor 7.
A switching regulator unit 10 made of a semiconductor element for driving the control unit 10 is a power supply transformer for driving the control unit, and its primary winding is connected to a commercial power supply 11. Reference numeral 12 generally indicates various types of valves, relays, temperature detectors and other control devices and detection devices that constitute the refrigeration cycle of the air conditioner. Reference numeral 13 denotes various control devices, various detection devices, and the control unit 5.
And a power line and a signal line for connecting with. Reference numeral 14 is a power supply transformer for driving the receiver, which is an insulating transformer for insulating the power supply of the receiver 2 from the commercial power supply 11. Reference numeral 15 is a photocoupler for an insulating circuit which is arranged between the signal received by the receiving unit 2 and the control unit 5 which controls the entire air conditioner.
【0004】次に、図12に示した従来の空気調和機用
遠隔制御装置の動作を説明する。Next, the operation of the conventional remote controller for an air conditioner shown in FIG. 12 will be described.
【0005】ワイヤレスリモコン1から発生された操作
指令信号は、受信部2で受信され制御部5に入力され
る。受信部2はインバータ部8及びスイッチングレギュ
レータ部9及び制御部5に電源を供給する商用電源11
からは受信部駆動用電源トランス14によって絶縁され
ており、更に、ワイヤレスリモコン1より発せられた信
号を受けて制御部5へ送り出すための電気的な接続部は
ホトカプラ15により光結合されており、この間も電気
的には絶縁されている。An operation command signal generated from the wireless remote controller 1 is received by the receiver 2 and input to the controller 5. The receiver 2 is a commercial power supply 11 that supplies power to the inverter 8, the switching regulator 9, and the controller 5.
Is insulated by a power transformer 14 for driving the receiving section, and an electrical connection section for receiving a signal emitted from the wireless remote controller 1 and sending it to the control section 5 is optically coupled by a photocoupler 15. During this time, it is electrically insulated.
【0006】このように受信部2は、インバータ部8、
スイッチングレギュレータ部9から電気的に絶縁するこ
とにより、受信部2の内部回路に誘導され雑音障害を防
いでいる。As described above, the receiving unit 2 includes the inverter unit 8,
The electrical insulation from the switching regulator unit 9 prevents noise interference that is induced in the internal circuit of the receiving unit 2.
【0007】[0007]
【発明が解決しようとする課題】このように従来の空気
調和機用遠隔制御装置では、ワイヤレスリモコン1から
の操作指令信号を良好に受信するために受信部2は、イ
ンバータ部8及びスイッチングレギュレータ部9と電気
的絶縁を行ない、内部回路からの雑音障害を防止してい
る。しかし、太陽光や照明光等が受信部2から直接侵入
してくる雑音に対しては、何等考慮されていないため、
外乱光によってワイヤレスリモコン信号が受信できなく
なったり、空気調和機本体が誤動作する可能性が推定さ
れる。As described above, in the conventional air conditioner remote control device, in order to satisfactorily receive the operation command signal from the wireless remote controller 1, the receiving unit 2 includes the inverter unit 8 and the switching regulator unit. It is electrically insulated from the 9 to prevent noise interference from the internal circuit. However, since no consideration is given to noise that sunlight or illumination light directly enters from the receiving unit 2,
It is presumed that the wireless remote control signal may not be received due to ambient light or the air conditioner body may malfunction.
【0008】また、前記公報に掲載の従来の空気調和機
用遠隔制御装置では、ワイヤレスリモコン信号そのもの
の処理方法について開示するものがないが、一般に、ワ
イヤレスリモコン信号の各データの処理の仕方として、
データの“1”と“0”の判別は、送信された1パルス
のロー(以下、単に、『Low』と記す)時間と全体時
間の両方を検出することで“1”または“0”の判別を
行なう処理方法が考えられる。しかし、ワイヤレスリモ
コン信号におけるデータを表わす部分のパルス幅は非常
に狭く受信部2とワイヤレスリモコン1との距離が長く
なればなる程、送信された1パルスのLow時間が狭く
なり、また、距離が短くなればなる程、送信された1パ
ルスのハイ(以下、単に、『High』と記す)時間は
短くなる。したがって、このような処理方法を採用する
と、正規信号をノイズと判別してキャンセルしてしまう
確率を大きくしてしまう可能性がある。Further, the conventional air conditioner remote control device disclosed in the above publication does not disclose a method of processing the wireless remote control signal itself, but generally, as a method of processing each data of the wireless remote control signal,
The discrimination between "1" and "0" of the data is made by detecting both the low (hereinafter simply referred to as "Low") time of the transmitted 1 pulse and the total time of "1" or "0". A processing method for making the determination can be considered. However, the pulse width of the portion representing the data in the wireless remote control signal is very narrow, and the longer the distance between the receiving unit 2 and the wireless remote control 1, the narrower the Low time of one pulse transmitted, and the shorter the distance. The shorter it is, the shorter the high (hereinafter simply referred to as “High”) time of one pulse transmitted. Therefore, if such a processing method is adopted, there is a possibility that the probability of discriminating the normal signal as noise and canceling it will be increased.
【0009】そこで、この発明は上記のような誤動作を
解消するためになされたもので、太陽光や照明光等が受
信部に直接侵入して発生する雑音と、送信部より送られ
る操作指令信号とを確実に分離できると共に、受信部と
送信部との距離の変化により、送信信号のパルス幅が変
化しても正規信号として処理できる空気調和機用遠隔制
御装置の提供を課題とするものである。Therefore, the present invention has been made in order to eliminate the above-mentioned malfunction, and noise generated by sunlight or illumination light directly entering the receiving section and an operation command signal sent from the transmitting section. It is an object of the present invention to provide a remote control device for an air conditioner that can reliably separate and, even if the pulse width of the transmission signal changes due to a change in the distance between the reception unit and the transmission unit. is there.
【0010】[0010]
【課題を解決するための手段】請求項1に記載の空気調
和機用遠隔制御装置の空気調和機全体を制御するマイク
ロコンピュータは、受信部で受信されたスタートビット
部のパルスのLow時間を検出するスタートビットLo
w時間検出手段と、前記スタートビット部のパルスの全
体時間を検出するスタートビット時間検出手段と、前記
パルスのLow時間とパルスの全体時間を予め定められ
たスタートビット基準時間と比較するスタートビット基
準値比較手段と、データビットのパルスの全体時間を検
出するデータビット時間検出手段と、前記データビット
のパルスの全体時間を予め定められたデータビット基準
時間と比較し、前記データビット基準時間内の信号が
“0”であるか“1”であるかを判別するデータ
“0”,“1”判別手段とを備えるものである。A microcomputer for controlling an entire air conditioner of a remote control device for an air conditioner according to claim 1, detects a low time of a pulse of a start bit part received by a receiving part. Start bit Lo
w time detecting means, start bit time detecting means for detecting the total time of the pulse of the start bit portion, and start bit reference for comparing the low time of the pulse and the total time of the pulse with a predetermined start bit reference time. Value comparing means, data bit time detecting means for detecting the total time of the data bit pulse, and comparing the total time of the data bit pulse with a predetermined data bit reference time, within the data bit reference time Data "0" and "1" discriminating means for discriminating whether the signal is "0" or "1" is provided.
【0011】請求項2に記載の空気調和機用遠隔制御装
置の空気調和機全体を制御するマイクロコンピュータ
は、受信部で受信されたスタートビット部のパルスの全
体時間を検出するスタートビット時間検出手段と、前記
パルスの全体時間を予め定められたスタートビット基準
時間と比較するスタートビット基準値比較手段と、デー
タビットのパルスの全体時間を検出するデータビット時
間検出手段と、前記データビットのパルスの全体時間を
予め定められたデータビット基準時間と比較し、前記デ
ータビット基準時間内の信号が“0”であるか“1”で
あるかを判別するデータ“0”,“1”判別手段と、前
記データ“0”,“1”判別手段で“0”でも“1”で
もなく正規のデータビットでないと判別されたとき、再
度、このパルスを予め定められたスタートビット基準時
間と比較するスタートビット時間再検出手段とを備える
ものである。A microcomputer for controlling the entire air conditioner of the remote control device for an air conditioner according to claim 2 detects start bit time detecting means for detecting the entire time of the pulse of the start bit part received by the receiving part. A start bit reference value comparing means for comparing the total time of the pulse with a predetermined start bit reference time; a data bit time detecting means for detecting the total time of the data bit pulse; Data "0", "1" discriminating means for comparing the entire time with a predetermined data bit reference time and discriminating whether the signal within the data bit reference time is "0" or "1". When the data "0", "1" discriminating means discriminates that the data bit is neither "0" nor "1" and is not a normal data bit, the pulse is again predicted. In which and a start bit time redetection means for comparing the start bit reference time determined.
【0012】請求項3に記載の空気調和機用遠隔制御装
置の空気調和機全体を制御するマイクロコンピュータ
は、受信部で受信されたデータビット長が“1”または
“0”のデータビット長のどちらにも相当せず、かつ、
“1”または“0”のデータビット長よりも短いとき
に、続くデータビット長を検出し、前記データビット長
とその後に検出したデータビット長との総和をとり、そ
のデータビット長が“1”または“0”のデータビット
長に相当するか否かを判別するデータ演算手段を備える
ものである。In the microcomputer for controlling the entire air conditioner of the remote controller for an air conditioner according to a third aspect of the present invention, the data bit length received by the receiving unit is "1" or "0". Neither is equivalent, and
When the data bit length is shorter than the data bit length of "1" or "0", the subsequent data bit length is detected, and the sum of the data bit length and the data bit length detected thereafter is calculated. It is provided with a data operation means for determining whether or not the data bit length corresponds to a data bit length of "" or "0".
【0013】[0013]
【作用】請求項1の発明においては、スタートビットL
ow時間検出手段で、受信部で受信されたスタートビッ
ト部のパルスのLow時間を検出し、また、スタートビ
ット時間検出手段でスタートビット部のパルスの全体時
間を検出する。検出したパルスのLow時間とパルスの
全体時間をスタートビット基準値比較手段で予め定めら
れたスタートビット基準時間と比較し、それらが予め定
められたスタートビット基準時間の範囲内にあるとき、
更に、データビット時間検出手段でデータビットのパル
スの全体時間を検出し、そのデータビットのパルスの全
体時間をデータ“0”,“1”判別手段で予め定められ
たデータビット基準時間と比較し、前記データビット基
準時間内の信号が“0”であるか“1”であるかを判別
する。このとき、スタートビットをパルスのLow時間
及び全体時間より検出する手段を設けたことにより、送
信信号と外乱光による雑音を明確に区別できる。In the invention of claim 1, the start bit L
The low time detecting means detects the low time of the pulse of the start bit portion received by the receiving portion, and the start bit time detecting means detects the total time of the pulse of the start bit portion. The detected Low time of the pulse and the total time of the pulse are compared with a predetermined start bit reference time by the start bit reference value comparison means, and when they are within the range of the predetermined start bit reference time,
Further, the data bit time detection means detects the total time of the data bit pulse, and the data "0" and "1" discrimination means compares the total time of the data bit pulse with a predetermined data bit reference time. , It is determined whether the signal within the data bit reference time is “0” or “1”. At this time, by providing the means for detecting the start bit from the low time and the total time of the pulse, the transmission signal and the noise due to the ambient light can be clearly distinguished.
【0014】請求項2の発明においては、スタートビッ
ト時間検出手段で、受信部で受信されたスタートビット
部のパルスの全体時間を検出し、スタートビット基準値
比較手段で前記パルスの全体時間を予め定められたスタ
ートビット基準時間と比較し、それらが予め定められた
スタートビット基準時間の範囲内にあるとき、更に、デ
ータビット時間検出手段でデータビットのパルスの全体
時間を検出し、そのデータビットのパルスの全体時間を
予め定められたデータビット基準時間と比較し、データ
“0”,“1”判別手段で前記データビット基準時間内
の信号が“0”であるか“1”であるかを判別し、
“0”でも“1”でもなく正規のデータビットでないと
判別されたとき、スタートビット時間再検出手段により
再度、このパルスを予め定められたスタートビット基準
時間と比較し、スタートビットでないか否かを判別す
る。これにより、スタートビットを検出した後でも、再
度、スタートビットを検出できるから、外乱光による雑
音をスタートビットと誤認してしまった直後でも正規の
スタートビットを認識することができる。In the second aspect of the invention, the start bit time detecting means detects the total time of the pulse of the start bit portion received by the receiving portion, and the start bit reference value comparing means detects the total time of the pulse in advance. Compared with a predetermined start bit reference time, and when they are within the range of a predetermined start bit reference time, the data bit time detecting means further detects the total time of the pulse of the data bit, and the data bit is detected. Is compared with a predetermined data bit reference time, and whether the signal within the data bit reference time is "0" or "1" by the data "0", "1" discrimination means. To determine
When it is determined that the data bit is neither "0" nor "1" and is not a normal data bit, the start bit time re-detection means compares the pulse again with a predetermined start bit reference time to determine whether or not it is a start bit. To determine. As a result, even after the start bit is detected, the start bit can be detected again, so that the regular start bit can be recognized even immediately after the noise due to the ambient light is mistaken for the start bit.
【0015】請求項3の発明においては、受信部で受信
されたデータビット長が“1”または“0”のデータビ
ット長のどちらにも相当せず、かつ、“1”または
“0”のデータビット長よりも短いときに、続くデータ
ビット長を検出し、前記データビット長とその後に検出
したデータビット長との総和をとり、そのデータビット
長が“1”または“0”のデータビット長に相当するか
否かを判別するものであるから、雑音によってデータパ
ルスがビット割れを起しても、それを正規送信信号とし
て判別して制御情報とすることができる。In the third aspect of the invention, the data bit length received by the receiving unit does not correspond to either the data bit length of "1" or "0", and the data bit length of "1" or "0" When the data bit length is shorter than the data bit length, the subsequent data bit length is detected, and the sum of the data bit length and the data bit length detected after that is taken, and the data bit length is "1" or "0". Since it is determined whether or not it corresponds to the length, even if the data pulse causes bit splitting due to noise, it can be determined as a normal transmission signal and used as control information.
【0016】[0016]
〈第一実施例〉以下、この発明における実施例の空気調
和機用遠隔制御装置を図を用いて説明する。<First Embodiment> A remote controller for an air conditioner according to an embodiment of the present invention will be described below with reference to the drawings.
【0017】図1はこの発明の第一実施例である空気調
和機用遠隔制御装置の信号処理ブロック図である。ま
た、図4は照明光ノイズ及び送信信号の波形図である。
そして、図7及び図8はこの発明の第一実施例である空
気調和機用遠隔制御装置の信号処理のフローチャートで
ある。FIG. 1 is a signal processing block diagram of a remote control device for an air conditioner according to a first embodiment of the present invention. FIG. 4 is a waveform diagram of illumination light noise and a transmission signal.
7 and 8 are flowcharts of signal processing of the air conditioner remote control device according to the first embodiment of the present invention.
【0018】図1において、1はワイヤレスリモコン等
の送信部、2は送信部1より発せられた操作指令信号を
受信する受信部、3は受信部2で受信された送信信号を
電気的信号に変換する変換回路部、4は変換回路部3を
通して変換された電気的信号を取り込み、それにより空
気調和機全体を制御するマイクロコンピュータである。In FIG. 1, reference numeral 1 is a transmitter such as a wireless remote controller, 2 is a receiver for receiving an operation command signal transmitted from the transmitter 1, and 3 is an electric signal for the transmission signal received by the receiver 2. The conversion circuit unit 4 for conversion is a microcomputer that takes in the electric signal converted through the conversion circuit unit 3 and controls the entire air conditioner thereby.
【0019】51〜57はマイクロコンピュータ4に信
号を取り込む場合のソフト処理手段を示す機能ブロック
を示すものである。51は到来信号のHighの信号の
立下りでスタートするスタートビットのLow時間を検
出するスタートビットLow時間検出手段、52はスタ
ートビットの全体時間を検出するスタートビット時間検
出手段、53はスタートビットLow時間検出手段51
とスタートビット時間検出手段52で検出されたスター
トビットLow時間及びスタートビット全体時間を、予
め定められたスタートビット基準値と比較し、正規のス
タートビットであるかどうかを判別するスタートビット
基準値比較手段である。54はスタートビット基準値比
較手段53で正規のスタートビットが検出された後に、
データビット時間を検出するデータビット時間検出手
段、55はデータビット時間検出手段54で検出された
データが“0”か“1”かを判別するデータ“0”,
“1”判別手段である。Reference numerals 51 to 57 are functional blocks showing software processing means when a signal is taken into the microcomputer 4. Reference numeral 51 is a start bit low time detecting means for detecting a low time of a start bit which starts at the falling edge of a high signal of the incoming signal, 52 is a start bit time detecting means for detecting the entire time of the start bit, and 53 is a start bit low. Time detection means 51
And the start bit low time and the start bit overall time detected by the start bit time detecting means 52 are compared with a predetermined start bit reference value to compare the start bit reference value to determine whether the start bit is a regular start bit. It is a means. Reference numeral 54 denotes a start bit reference value comparison means 53 after a regular start bit is detected.
Data bit time detecting means for detecting the data bit time, 55 is data "0" for judging whether the data detected by the data bit time detecting means 54 is "0" or "1",
It is a "1" discriminating means.
【0020】次に、この第一実施例の空気調和機用遠隔
制御装置について、図4の波形図、図7及び図8のフロ
ーチャートを用いて説明する。Next, the remote control device for an air conditioner of the first embodiment will be described with reference to the waveform diagram of FIG. 4 and the flowcharts of FIGS. 7 and 8.
【0021】まず、図4に示すように、送信部1から送
信される信号及び照明光による雑音は、通常、信号の到
来を示すHighの状態から受信部2に取り込まれる。First, as shown in FIG. 4, the signal transmitted from the transmission unit 1 and the noise due to the illumination light are normally taken into the reception unit 2 from the high state indicating the arrival of the signal.
【0022】図7及び図8において、ステップS101
でHighの信号が到来すると、それが受信部2に取り
込まれ、パルス検出され、ステップS102でそのパル
スのLow時間を検出し、更に、ステップS103でパ
ルスの全体時間を検出する。そして、ステップS104
においてステップS102、ステップS103で検出さ
れたパルスのLow時間及び全体時間を、予め定められ
たスタートビット基準値と照合し、正規のスタートビッ
トであるか否かの判別を行なう。このとき、送信部1か
らの信号は送信部1と受信部2の距離を遠ざけるほど、
そのビットが細くなってしまう特性を持つため、ある程
度の余裕をもってその判別を行なっている。このステッ
プS104の判別で正規のスタートビットとみなされな
かった場合は、送信部1からの送信信号ではないと判別
して他の処理を行ない、正規のスタートビットとみなさ
れたならば、ステップS105からのデータビット検出
の処理に入る。7 and 8, step S101
When a High signal arrives at, the signal is taken into the receiving unit 2 and a pulse is detected. In Step S102, the Low time of the pulse is detected, and in Step S103, the entire time of the pulse is detected. Then, step S104
In step S102 and step S103, the Low time and the total time of the pulse detected are compared with a predetermined start bit reference value to determine whether or not the pulse is a normal start bit. At this time, as the signal from the transmission unit 1 increases as the distance between the transmission unit 1 and the reception unit 2 increases,
Since the bit has a characteristic of becoming thin, the determination is performed with some margin. If it is not determined as the normal start bit in the determination in step S104, it is determined that the signal is not the transmission signal from the transmission unit 1 and other processing is performed. If it is determined as the normal start bit, step S105. The process of detecting the data bit from is entered.
【0023】データビット検出の処理に入ると、まず、
ステップS105でデータビット検出値の初期化を行な
い、ステップS106でそのパルスの全体時間を検出す
る。そして、ステップS106で得られた検出値をステ
ップS107で予め定められたデータビット基準値と照
合し、正規のデータビットであるか判別を行なう。この
判別で正規のデータビットとみなされなかった場合、送
信部1からの送信信号ではないと判別して他の処理へ移
る。正規のデータビットとみなされたとき、ステップS
108からステップS110で“0”か“1”かの判別
を行なう。即ち、正規のデータビットとみなされた到来
信号が“0”のデータ長であるか判別し、“0”のデー
タ長のとき検出値を“0”と判別し、“0”のデータ長
でないとき“1”と判別する。When the process of data bit detection is started, first,
The data bit detection value is initialized in step S105, and the entire time of the pulse is detected in step S106. Then, the detected value obtained in step S106 is collated with the predetermined data bit reference value in step S107 to determine whether it is a normal data bit. If it is not considered to be a normal data bit in this determination, it is determined that the signal is not the transmission signal from the transmission unit 1, and the process proceeds to another process. When it is regarded as a regular data bit, step S
From step 108, it is determined in step S110 whether "0" or "1". That is, it is determined whether the incoming signal regarded as a normal data bit has a data length of "0", and when the data length is "0", the detected value is determined as "0", and the data length is not "0". At this time, it is determined to be "1".
【0024】ステップS108からステップS110で
判別されたデータは、ステップS111からステップS
113で一連のデータとして順次データ格納され、そし
て、例えば、送信信号が『家製協フォーマット』であっ
た場合、データビット数は104ビットであるので、こ
の一連のデータ検出が104回繰り返されたか判別し、
104回繰り返されるまで、ステップS106からステ
ップS113のルーチンを繰り返し実行する。この一連
のデータ検出が104回繰り返されると、ステップS1
14でチェックサムと照合され、ステップS115で特
定の内容に応じた送信制御信号であると認識されると、
送信信号に従って空気調和機本体の制御が行なわれる。The data determined in steps S108 to S110 is the same as the data in steps S111 to S111.
In 113, the data is sequentially stored as a series of data, and, for example, when the transmission signal is in the “household cooperative format”, since the number of data bits is 104 bits, is this series of data detection repeated 104 times? Discriminate,
The routine from step S106 to step S113 is repeatedly executed until it is repeated 104 times. When this series of data detection is repeated 104 times, step S1
When it is recognized as the transmission control signal according to the specific content in step S115 by being compared with the checksum in step 14,
The air conditioner body is controlled according to the transmitted signal.
【0025】このように、本実施例の空気調和機用遠隔
制御装置は、空気調和機を遠隔操作する操作指令信号の
送信部1と、前記送信部1より発せられた操作指令信号
を受信する受信部2と、前記受信部2で受信した操作指
令信号を電気的信号に変換する変換回路部3と、前記変
換回路部3で電気的に変換された信号を取り込み空気調
和機全体を制御するマイクロコンピュータ4とを具備
し、しかも、前記マイクロコンピュータ4は、前記受信
部2で受信されたスタートビット部のパルスのLow時
間を検出するステップS102からなるスタートビット
Low時間検出手段51と、前記スタートビット部のパ
ルスの全体時間を検出するステップS103からなるス
タートビット時間検出手段52と、前記パルスのLow
時間とパルスの全体時間を予め定められた閾値としての
スタートビット基準時間と比較するステップS104か
らなるスタートビット基準値比較手段53と、データビ
ットのパルスの全体時間を検出するステップS106か
らなるデータビット時間検出手段54と、前記データビ
ットのパルスの全体時間を予め定められたデータビット
基準時間と比較し、前記データビット基準時間内の信号
が“0”であるか“1”であるかを判別するステップS
108乃至ステップS110からなるデータ“0”,
“1”判別手段55とを具備するものである。As described above, the remote control device for an air conditioner of this embodiment receives the operation command signal transmitter 1 for remotely operating the air conditioner, and the operation command signal issued from the transmitter 1. The reception unit 2, the conversion circuit unit 3 for converting the operation command signal received by the reception unit 2 into an electric signal, and the signal electrically converted by the conversion circuit unit 3 are taken in to control the entire air conditioner. The microcomputer 4 further includes a start bit Low time detection means 51 including step S102 for detecting a Low time of a pulse of the start bit section received by the receiving unit 2, and the start. Start bit time detecting means 52 including step S103 for detecting the total time of the pulse of the bit part, and Low of the pulse.
The start bit reference value comparing means 53 including step S104 for comparing the time and the total time of the pulse with the start bit reference time as a predetermined threshold value, and the data bit including step S106 for detecting the total time of the pulse of the data bit. The time detection means 54 and the entire time of the pulse of the data bit are compared with a predetermined data bit reference time to determine whether the signal within the data bit reference time is "0" or "1". Step S
Data “0” including 108 to step S110,
It is provided with a "1" discriminating means 55.
【0026】したがって、本実施例の空気調和機用遠隔
制御装置は、ステップS102からなるスタートビット
Low時間検出手段51とステップS103からなるス
タートビット時間検出手段52により、スタートビット
をパルスのLow時間及び全体時間で検出するものであ
るから、送信信号と外乱光による雑音を明確に区別する
ことができる。Therefore, in the air conditioner remote controller of this embodiment, the start bit is set to the pulse low time by the start bit low time detecting means 51 consisting of step S102 and the start bit time detecting means 52 consisting of step S103. Since the detection is performed in the entire time, it is possible to clearly distinguish the transmission signal and the noise caused by the ambient light.
【0027】〈第二実施例〉上記第一実施例では、ステ
ップS107のデータビット検出時にデータの“0”で
も“1”でもないと判別されたときには、雑音とみなし
て他の処理へと移るが、データビット検出時にデータの
“0”でも“1”でもないと判別されたときに、そのビ
ットについて、再度スタートビットとして検出を行なわ
せることもできる。<Second Embodiment> In the first embodiment, when it is determined that the data is neither "0" nor "1" at the time of detecting the data bit in step S107, it is regarded as noise and the process proceeds to another process. However, when it is determined that the data bit is neither "0" nor "1" at the time of detecting the data bit, the bit can be detected again as a start bit.
【0028】図2はこの発明の第二実施例である空気調
和機用遠隔制御装置の信号処理ブロック図である。な
お、図中、第一実施例と同一符号及び記号は第一実施例
の構成部分と同一または相当する構成部分を示すもので
あるから、ここでは重複する説明を省略する。また、図
5は照明光ノイズ及び送信信号スタートビットの波形図
である。そして、図9はこの発明の第一実施例である空
気調和機用遠隔制御装置の信号処理のフローチャートで
ある。FIG. 2 is a signal processing block diagram of a remote control device for an air conditioner according to a second embodiment of the present invention. In the drawings, the same reference numerals and symbols as those in the first embodiment show the same or corresponding components as those of the first embodiment, and therefore, duplicated description will be omitted here. FIG. 5 is a waveform diagram of illumination light noise and a transmission signal start bit. FIG. 9 is a flow chart of signal processing of the air conditioner remote controller according to the first embodiment of the present invention.
【0029】図2において、マイクロコンピュータ4に
示したスタートビット時間再検出手段56は、データ
“0”,“1”判別手段55によって正規のデータビッ
トでないと判別されたとき、再度、そのパルスがスター
トビットであるか否の判別を行なうものである。In FIG. 2, when the start bit time re-detecting means 56 shown in the microcomputer 4 determines that the data "0", "1" determining means 55 is not a normal data bit, the pulse is again detected. Whether or not it is a start bit is determined.
【0030】図9において、ステップS101でHig
hの信号が到来すると、それが受信部2に取り込まれ、
パルス検出され、ステップS103で受信部2に入って
きたパルスの全体時間を検出する。そして、ステップS
104からステップS107で予め定められたスタート
ビット基準値と照合し、正規のスタートビットであるか
の判別を行なう。ステップS104においてステップS
103で検出されたパルスの全体時間を、予め定められ
たスタートビット基準値と照合し、正規のスタートビッ
トであるか否かの判別を行ない、ステップS105でデ
ータビット検出値の初期化を行ない、ステップS106
でそのパルスの全体時間を検出する。そして、得られた
検出値をステップS107で予め定められたデータビッ
ト基準値と照合し、正規のデータビットであるか判別を
行なう。この判別で正規のデータビットとみなされなか
った場合には、再度、ステップS104まで戻し、その
パルスがスタートビットであるか、否かの判別を行な
う。In FIG. 9, in step S101, Hig
When the signal of h arrives, it is taken into the receiving unit 2,
The pulse is detected, and the total time of the pulse that has entered the receiving unit 2 is detected in step S103. And step S
From 104 to step S107, the start bit reference value is collated with the predetermined start bit reference value to determine whether the start bit is a regular start bit. In step S104, step S
The entire time of the pulse detected in 103 is collated with a predetermined start bit reference value to determine whether the start bit is a regular start bit, and in step S105 the data bit detection value is initialized. Step S106
Detects the total time of the pulse. Then, the obtained detection value is collated with the predetermined data bit reference value in step S107 to determine whether the data bit is a regular data bit. If it is not judged as a normal data bit in this determination, the process returns to step S104 again, and it is determined whether or not the pulse is a start bit.
【0031】即ち、例えば、ステップS104で正規の
スタートビットであると判別されたとし、ステップS1
07において予め定められたデータビット基準値と照合
し、正規のデータビットであるかの判別を行ない、正規
のデータビットとみなされなかった場合には、その処理
をステップS104まで戻し、再度、そのパルスがスタ
ートビットであるか、否かの判別を行なうようにする。That is, for example, if it is determined in step S104 that the start bit is legitimate, step S1
In 07, the predetermined data bit reference value is collated to determine whether the data bit is a normal data bit. If the data bit is not regarded as a normal data bit, the process is returned to step S104, and again. Whether the pulse is the start bit or not is determined.
【0032】このように、本実施例の空気調和機用遠隔
制御装置は、空気調和機を遠隔操作する操作指令信号の
送信部1と、前記送信部1より発せられた操作指令信号
を受信する受信部2と、前記受信部2で受信した操作指
令信号を電気的信号に変換する変換回路部3と、前記変
換回路部3で電気的に変換された信号を取り込み空気調
和機全体を制御するマイクロコンピュータ4とを具備
し、しかも、前記マイクロコンピュータ4は、前記受信
部2で受信されたスタートビット部のパルスの全体時間
を検出するステップS103からなるスタートビット時
間検出手段52と、前記パルスのLow時間とパルスの
全体時間を予め定められた閾値としてのスタートビット
基準時間と比較するステップS104からなるスタート
ビット基準値比較手段53と、データビットのパルスの
全体時間を検出するステップS106からなるデータビ
ット時間検出手段54と、前記データビットのパルスの
全体時間を予め定められたデータビット基準時間と比較
し、前記データビット基準時間内の信号が“0”である
か“1”であるかを判別するステップS108乃至ステ
ップS110からなるデータ“0”,“1”判別手段5
5と、前記データ“0”,“1”判別手段55で“0”
でも“1”でもなく正規のデータビットでないと判別さ
れたとき、再度、このパルスを予め定められたステップ
S107、ステップS104乃至ステップS106のル
ーチンからなるスタートビット基準時間と比較するスタ
ートビット時間再検出手段56とを具備するものであ
る。As described above, the remote control device for an air conditioner of this embodiment receives the operation command signal transmitter 1 for remotely operating the air conditioner and the operation command signal issued from the transmitter 1. The reception unit 2, the conversion circuit unit 3 for converting the operation command signal received by the reception unit 2 into an electric signal, and the signal electrically converted by the conversion circuit unit 3 are taken in to control the entire air conditioner. The microcomputer 4 further comprises a start bit time detecting means 52 comprising step S103 for detecting the entire time of the pulse of the start bit part received by the receiving part 2, and the microcomputer 4 A start bit reference value comparison procedure comprising step S104 of comparing the Low time and the total time of the pulse with the start bit reference time as a predetermined threshold value. 53, data bit time detecting means 54 comprising step S106 for detecting the total time of the data bit pulse, and comparing the total time of the data bit pulse with a predetermined data bit reference time to obtain the data bit reference Data "0", "1" discriminating means 5 comprising steps S108 to S110 for discriminating whether the signal within the time is "0" or "1"
5 and the data “0”, “1” discriminating means 55 outputs “0”.
However, when it is determined that the data bit is not “1” and is not a regular data bit, the start bit time re-detection for comparing this pulse with the start bit reference time made up of the routines of the predetermined steps S107 and S104 to S106 is performed again. And means 56.
【0033】したがって、スタートビットを検出した後
でも再度スタートビットを検出できるスタートビット時
間再検出手段56を設けたことから、外乱光による雑音
をスタートビットと誤認してしまった直後でも正規のス
タートビットを認識することができるだけでなく、スタ
ートビットの検出をパルスの全体時間のみで判別するの
で、スタートビット検出時までのソフト処理を容易にす
ることが可能となった。Therefore, since the start bit time re-detecting means 56 which can detect the start bit again after the start bit is detected is provided, even if the noise due to the ambient light is mistakenly recognized as the start bit, the normal start bit is detected. Not only can it be recognized, but the start bit is detected only by the total time of the pulse, so that it is possible to facilitate the software processing until the start bit is detected.
【0034】このような処理をすることにより、例え
ば、従来は、図5に示すように、同時に雑音と送信信号
が入ってきたときに、スタートビットと同様のパルス時
間を持つ照明光ノイズである信号P1 を送信信号のスタ
ートビットと誤って検出してしまい、更に、信号P2 ,
信号P3 がデータビットと同様のパルス時間を持った照
明光ノイズである場合には、これらをデータと検出し、
次の正規のスタートビットである信号P4 がデータビッ
トとして検出されないため、この送信信号はキャンセル
されてしまう。しかし、本実施例においては、スタート
ビット時間再検出手段56を設けたことにより、この信
号P4 が再度スタートビットかどうかの判別を行なうこ
とになり、正規の送信信号を誤ってキャンセルしてしま
うことを防ぐことができる。By performing such processing, for example, conventionally, as shown in FIG. 5, when the noise and the transmission signal come in at the same time, the illumination light noise has the same pulse time as the start bit. The signal P1 is erroneously detected as the start bit of the transmission signal, and the signals P2,
If the signal P3 is illumination light noise with the same pulse time as the data bit, these are detected as data,
Since the signal P4, which is the next regular start bit, is not detected as a data bit, this transmission signal is canceled. However, in the present embodiment, by providing the start bit time re-detection means 56, it is judged again whether or not this signal P4 is the start bit, and the normal transmission signal is canceled by mistake. Can be prevented.
【0035】なお、本実施例では、受信部2で受信され
たスタートビット部のパルスのLow時間を検出するス
テップS102からなるスタートビットLow時間検出
手段51を使用していないが、本発明を実施する場合に
は、スタートビットLow時間検出手段51を付加する
こともできる。Although the present embodiment does not use the start bit low time detecting means 51 comprising step S102 for detecting the low time of the pulse of the start bit part received by the receiving part 2, the present invention is embodied. In this case, the start bit Low time detecting means 51 can be added.
【0036】〈第三実施例〉更に、送信信号のビットが
照明光雑音によって割れてしまうことがあり、この場合
に正規の送信信号でも雑音と判別されてしまうことがあ
るので、これを防止するのが第三実施例である。<Third Embodiment> Further, the bits of the transmission signal may be broken by the illumination light noise, and in this case, even the regular transmission signal may be discriminated as noise, which is prevented. Is the third embodiment.
【0037】図3はこの発明の第三実施例である空気調
和機用遠隔制御装置の信号処理ブロック図である。ま
た、図6は送信信号中の照明光ノイズによるビット割れ
波形図である。そして、図10乃至図11はこの発明の
第三実施例である空気調和機用遠隔制御装置の信号処理
のフローチャートである。なお、図中、第一実施例及び
第二実施例と同一符号及び記号は第一実施例及び第二実
施例の構成部分と同一または相当する構成部分を示すも
のであるから、ここでは重複する説明を省略する。FIG. 3 is a signal processing block diagram of a remote control device for an air conditioner according to a third embodiment of the present invention. Further, FIG. 6 is a bit split waveform diagram due to illumination light noise in the transmission signal. 10 to 11 are flow charts of signal processing of the remote control device for an air conditioner according to the third embodiment of the present invention. In the drawings, the same reference numerals and symbols as those of the first and second embodiments indicate the same or corresponding constituents as those of the first and second embodiments, and therefore, are duplicated here. The description is omitted.
【0038】図3において、マイクロコンピュータ4に
示したデータ演算手段57は、データ“0”,“1”判
別手段55によってパルスが“1”または“0”のデー
タビット長のどちらにも相当しないと判別され、かつ、
そのパルスが“0”のデータビット長よりも短い場合
に、次のパルスデータビット長を検出し、この検出した
データビット長とその直後に検出されたパルスのデータ
ビット長とを加算するデータ演算手段である。In FIG. 3, the data computing means 57 shown in the microcomputer 4 does not correspond to either the data bit length of the pulse "1" or "0" by the data "0", "1" discriminating means 55. Is determined, and
When the pulse is shorter than the data bit length of "0", the next pulse data bit length is detected, and the detected data bit length is added to the data bit length of the pulse detected immediately thereafter. It is a means.
【0039】図10乃至図11において、ステップS1
01でHighの信号が到来すると、それが受信部2に
取り込まれ、パルス検出され、ステップS103で受信
部2に入ってきたパルスの全体時間を検出する。そし
て、ステップS104からステップS107で予め定め
られたスタートビット基準値と照合し、正規のスタート
ビットであるかの判別を行なう。ステップS104にお
いてステップS103で検出されたパルスの全体時間
を、予め定められたスタートビット基準値と照合し、正
規のスタートビットであるか否かの判別を行ない、ステ
ップS120でビット割れした回数を計数するカウンタ
Kをクリアしておき、ステップS105でデータビット
検出値の初期化を行ない、ステップS106でそのパル
スの全体時間を検出する。そして、得られた検出値をス
テップS107で予め定められたデータビット基準値と
照合し、正規のデータビットであるか判別を行なう。こ
の判別で正規のデータビットとみなされなかった場合に
は、ステップS121に移し、正規のデータビットとみ
なされた到来信号が“0”のデータ長より短いか判別
し、“0”のデータ長より長いときステップS122で
データ保留フラグを降ろし、正規のデータビットとみな
されなかったから、その処理をステップS104まで戻
し、再度、そのパルスがスタートビットであるか、否か
の判別を行なうようにする。10 to 11, step S1
When a High signal arrives at 01, the signal is taken into the receiving unit 2 for pulse detection, and the total time of the pulse entering the receiving unit 2 is detected at step S103. Then, in steps S104 to S107, the predetermined start bit reference value is collated to determine whether the start bit is a regular start bit. In step S104, the total time of the pulse detected in step S103 is collated with a predetermined start bit reference value, it is determined whether the start bit is a regular start bit, and the number of bit cracks is counted in step S120. The counter K is reset, the data bit detection value is initialized in step S105, and the entire time of the pulse is detected in step S106. Then, the obtained detection value is collated with the predetermined data bit reference value in step S107 to determine whether the data bit is a regular data bit. If it is determined that the data signal is not a normal data bit in this determination, the process proceeds to step S121, and it is determined whether the incoming signal that is considered a normal data bit is shorter than the data length of "0", and the data length of "0" is determined. When it is longer, the data hold flag is cleared in step S122, and since it is not regarded as a normal data bit, the process is returned to step S104, and it is determined again whether or not the pulse is the start bit. .
【0040】ステップS121で正規のデータビットと
みなされた到来信号が“0”のデータ長より短いと判別
されたとき、ステップS123で既にデータ保留フラグ
が立っているか判別し、データ保留フラグが立っていな
いとき、ステップS124でデータ保留フラグを立て、
ステップS125でその到来信号を一連のデータとして
順次データ格納すべくデータ格納番地を「1」アップさ
せ、ステップS126でビット割れした回数を計数する
カウンタKに「+1」インクリメントし、ステップS1
06からのルーチンの処理に戻る。When it is determined in step S121 that the incoming signal regarded as a normal data bit is shorter than the data length of "0", it is determined in step S123 whether the data hold flag is already set and the data hold flag is set. If not, a data suspension flag is set in step S124,
In step S125, the data storage address is incremented by "1" to sequentially store the incoming signal as a series of data, and in step S126, the counter K that counts the number of bit cracks is incremented by "+1", and step S1
It returns to the routine processing from 06.
【0041】ステップS123で既にデータ保留フラグ
が立っていると判別したとき、ステップS127で異常
であったデータビットとその直後のデータビットを加算
し、ステップS128でその値が“0”のデータビット
長に相当するか判別する。ステップS128でその値が
“0”のデータビット長に相当するものでないと判別さ
れたとき、ステップS129でその値が“0”のデータ
ビット長よりも長いか判別し、“0”のデータビット長
よりも短いと判別されたとき、複数のビット割れの状態
下にあるから、ステップS130で順次データ格納すべ
くデータ格納番地をその都度「+1」加算し、ステップ
S126に進む。When it is determined in step S123 that the data hold flag has already been set, the abnormal data bit and the data bit immediately after that are added in step S127, and the data bit whose value is "0" is added in step S128. Determine if it corresponds to the length. When it is determined in step S128 that the value does not correspond to the data bit length of "0", it is determined in step S129 whether the value is longer than the data bit length of "0", and the data bit of "0" is determined. If it is determined that the length is shorter than the length, it means that there are a plurality of bit-splitting states. Therefore, in step S130, the data storage address is incremented by "+1" to store the data sequentially, and the process proceeds to step S126.
【0042】ステップS128で“0”のデータビット
長に相当すると判別されたとき、ステップS131でそ
の到来信号を一連のデータとして順次データ格納すべく
データ格納番地をビット割れした回数を計数するカウン
タKの値だけ減算し、ステップS132でデータ保留フ
ラグを降ろし、図8に示すステップS111のルーチン
に進む。When it is determined in step S128 that the data bit length corresponds to "0", a counter K for counting the number of times the data storage address is bit-divided in order to sequentially store the incoming signal as a series of data in step S131. Value is subtracted, the data hold flag is cleared at step S132, and the routine proceeds to step S111 shown in FIG.
【0043】また、ステップS129で“0”のデータ
ビット長以上と判別されたとき、この信号は空気調和機
を遠隔操作する操作指令信号でないから、ステップS1
33でデータ保留フラグを降ろし、ステップS134で
ビット割れした回数を計数するカウンタKの値をクリア
し、他の処理に入る。If it is determined in step S129 that the data bit length is "0" or more, this signal is not an operation command signal for remotely operating the air conditioner, so step S1
In step 33, the data hold flag is cleared, and in step S134, the value of the counter K that counts the number of bit cracks is cleared, and another process is started.
【0044】このように、本実施例の空気調和機用遠隔
制御装置は、空気調和機を遠隔操作する操作指令信号の
送信部1と、前記送信部1より発せられた操作指令信号
を受信する受信部2と、前記受信部2で受信した操作指
令信号を電気的信号に変換する変換回路部3と、前記変
換回路部3で電気的に変換された信号を取り込み空気調
和機全体を制御するマイクロコンピュータ4とを具備
し、しかも、前記マイクロコンピュータ4は、前記受信
部2で受信されたデータビット長が“1”または“0”
のデータビット長のどちらにも相当せず、かつ、“1”
または“0”のデータビット長よりも短いときに、続く
データビット長を検出し、前記データビット長とその後
に検出したデータビット長との総和をとり、そのデータ
ビット長が“1”または“0”のデータビット長に相当
するか否かを判別するステップS121乃至ステップS
134からなるデータ演算手段57を具備するものであ
る。したがって、雑音のために2つ以上に割れてしまっ
たデータビットを合わせて1つの正規のデータビットと
判別するデータ演算手段57を設けたものであるから、
雑音によってデータパルスがビット割れしてしまって
も、それを正規送信信号として判別可能とすることがで
きる。As described above, the remote control device for an air conditioner of this embodiment receives the operation command signal transmitter 1 for remotely operating the air conditioner and the operation command signal issued from the transmitter 1. The reception unit 2, the conversion circuit unit 3 for converting the operation command signal received by the reception unit 2 into an electric signal, and the signal electrically converted by the conversion circuit unit 3 are taken in to control the entire air conditioner. The microcomputer 4 has a data bit length “1” or “0” received by the receiver 2.
"1", which does not correspond to either of the data bit lengths of
Alternatively, when the data bit length is shorter than "0", the subsequent data bit length is detected, and the sum of the data bit length and the data bit length detected thereafter is calculated, and the data bit length is "1" or "1". Steps S121 to S for determining whether or not the data bit length is 0 "
The data calculation means 57 composed of 134 is provided. Therefore, since the data operation means 57 is provided that determines the data bits that have been split into two or more due to noise to be one normal data bit,
Even if the data pulse is broken into bits due to noise, it can be discriminated as a normal transmission signal.
【0045】即ち、図6に示すように、受信部2に入っ
てくる送信信号中に照明光からの雑音によって、正規の
データビットにビット割れが生じる。このビット割れに
よって、その送信信号全体をすぐにキャンセルしてしま
わないように、ステップS107によって予め定められ
たデータビット基準値と照合し、正規のデータビットで
あるかの判別を行ない、正規のデータビットでないと判
別されたときに、ステップS121によってそのパルス
のデータビット長が“0”のデータビット長よりも短い
かを判別する。そのパルスのデータビット長が“0”の
データビット長よりも長ければ処理をステップS104
まで戻し、再度そのパルスがスタートビットであるか、
否かの判別を行なう。逆に、そのパルスのデータビット
長が“0”のデータビット長よりも短ければ、ステップ
S124でデータ保留フラグを立てる。このデータ保留
フラグとは、データビットが異常であるため次のパルス
を見ているという印で、正常時には“0”が、異常時に
は1”が立つフラグである。そして、ステップS123
でデータ保留フラグが立っていることを確認した後に、
ステップS127によって異常であったデータビット
と、その直後のデータビットを加算し、ステップS12
8でその値が“0”のデータビット長に相当するかを判
別する。ここで“0”のデータビット長と判別されたな
ら複数のデータビットを合わせてビット割れしていない
状態の1つのデータビット長としての元の処理に戻る。
また、“0”のデータと判別されたなら複数のデータビ
ットを合わせて1つのデータビットとして元の処理に戻
る。しかし、“0”のデータビット長と判別されなけれ
ば、データ保留フラグを“1”から“0”に戻し、送信
信号でないと判別して他の処理を行なう。That is, as shown in FIG. 6, the normal data bits are broken by the noise from the illumination light in the transmission signal entering the receiving section 2. In order not to immediately cancel the entire transmission signal due to this bit crack, it is collated with the predetermined data bit reference value in step S107 and it is determined whether the data bit is a normal data bit or not. When it is determined that it is not a bit, it is determined in step S121 whether the data bit length of the pulse is shorter than the data bit length of "0". If the data bit length of the pulse is longer than the data bit length of "0", the processing is step S104.
Back to the start bit again,
Determine whether or not. On the contrary, if the data bit length of the pulse is shorter than the data bit length of "0", the data hold flag is set in step S124. The data hold flag is a mark that the next pulse is being watched because the data bit is abnormal, and is a flag that is set to "0" when normal and 1 when abnormal.
After confirming that the data pending flag is set in,
In step S127, the abnormal data bit and the data bit immediately after that are added, and step S12
At 8, it is determined whether the value corresponds to the data bit length of "0". If it is determined that the data bit length is "0", the plurality of data bits are combined to return to the original processing as one data bit length in a state where no bit cracks occur.
If it is determined that the data is "0", the plurality of data bits are combined to form one data bit and the process returns to the original processing. However, if it is not determined that the data bit length is "0", the data hold flag is returned from "1" to "0", it is determined that the signal is not a transmission signal, and other processing is performed.
【0046】本実施例においては、正規信号を雑音とみ
なしてキャンセルしてしまうことが防止できる。In this embodiment, it is possible to prevent the normal signal from being regarded as noise and canceling.
【0047】[0047]
【発明の効果】以上のように、請求項1の発明の空気調
和機用遠隔制御装置によれば、空気調和機全体を制御す
る送信部からの信号を受信するマイクロコンピュータ
は、受信部で受信されたスタートビット部のパルスのL
ow時間を検出するスタートビットLow時間検出手段
と、前記スタートビット部のパルスの全体時間を検出す
るスタートビット時間検出手段とを具備することによ
り、スタートビットをパルスのLow時間及び全体時間
より検出することにより、送信信号と外乱光による雑音
を明確に区別することができる。As described above, according to the remote control device for an air conditioner of the first aspect of the present invention, the microcomputer for receiving the signal from the transmission part for controlling the entire air conditioner is received by the reception part. L of the generated start bit pulse
The start bit is detected from the Low time and the total time of the pulse by including the start bit Low time detection unit that detects the Low time and the start bit time detection unit that detects the entire time of the pulse of the start bit unit. As a result, it is possible to clearly distinguish the transmission signal and the noise caused by the ambient light.
【0048】請求項2の発明の空気調和機用遠隔制御装
置によれば、空気調和機全体を制御する送信部からの信
号を受信するマイクロコンピュータは、受信部で受信さ
れたデータビットのパルスの全体時間を予め定められた
データビット基準時間と比較し、前記データビット基準
時間内の信号が“0”であるか“1”であるかを判別
し、前記データ“0”,“1”判別手段で“0”でも
“1”でもなく正規のデータビットでないと判別された
とき、再度、このパルスを予め定められたスタートビッ
ト基準時間と比較するスタートビット時間再検出手段を
有しているから、スタートビットを検出した後でも、そ
の後の検出信号によっては、再度、スタートビットを検
出でき、外乱光による雑音をスタートビットと誤認して
しまった直後でも正規のスタートビットを認識すること
ができる。故に、太陽光や照明光等が受信部に直接侵入
して発生する雑音と、送信部より送られる操作指令信号
とを確実に分離できると共に、受信部と送信部との距離
の変化により、送信信号のパルス幅が変化しても正規信
号として処理できる。According to the remote control device for an air conditioner of the second aspect of the present invention, the microcomputer for receiving the signal from the transmitting section for controlling the entire air conditioner is configured to receive the pulse of the data bit received by the receiving section. The whole time is compared with a predetermined data bit reference time, it is determined whether the signal within the data bit reference time is "0" or "1", and the data "0" or "1" is determined. When the means determines that the data bit is neither "0" nor "1" and is not a normal data bit, it has a start bit time re-detection means for comparing this pulse with a predetermined start bit reference time again. , Even after the start bit is detected, the start bit can be detected again depending on the detection signal after that, and even if the noise due to ambient light is mistaken for the start bit, it is normal. It is possible to recognize the start bit. Therefore, noise generated when sunlight or illumination light directly enters the receiving unit and the operation command signal sent from the transmitting unit can be reliably separated, and the change in the distance between the receiving unit and the transmitting unit causes transmission. Even if the pulse width of the signal changes, it can be processed as a normal signal.
【0049】請求項3の発明の空気調和機用遠隔制御装
置によれば、空気調和機全体を制御する送信部からの信
号を受信するマイクロコンピュータは、受信部で受信さ
れたデータビット長が“1”または“0”のデータビッ
ト長のどちらにも相当せず、かつ、“1”または“0”
のデータビット長よりも短いときに、続くデータビット
長を検出し、前記データビット長とその後に検出したデ
ータビット長との総和をとり、そのデータビット長が
“1”または“0”のデータビット長に相当するか否か
を判別するものであるから、データビットが雑音で複数
に割れても、それらを合わせて1つの正規のデータビッ
トと判別できれば、雑音によってデータパルスがビット
割れしてしまっても、それを正規送信信号として判別で
きる。故に、太陽光や照明光等が受信部に直接侵入して
発生する雑音と、送信部より送られる操作指令信号とを
確実に分離できると共に、受信部と送信部との距離の変
化により、送信信号のパルス幅が変化しても正規信号と
して処理できる。According to the remote control device for an air conditioner of the third aspect of the present invention, in the microcomputer which receives the signal from the transmitting section for controlling the entire air conditioner, the data bit length received by the receiving section is " Does not correspond to either 1 "or" 0 "data bit length, and is" 1 "or" 0 "
When the data bit length is shorter than the data bit length of, the subsequent data bit length is detected, the sum of the data bit length and the data bit length detected after that is taken, and the data bit length is "1" or "0". Since it is determined whether or not the data length corresponds to the bit length, even if the data bit is divided into a plurality of pieces by noise, if they can be discriminated as one normal data bit, the data pulse is divided by the noise. Even if it happens, it can be identified as a regular transmission signal. Therefore, noise generated when sunlight or illumination light directly enters the receiving unit and the operation command signal sent from the transmitting unit can be reliably separated, and the change in the distance between the receiving unit and the transmitting unit causes transmission. Even if the pulse width of the signal changes, it can be processed as a normal signal.
【図1】図1はこの発明の第一実施例である空気調和機
用遠隔制御装置の信号処理ブロック図である。FIG. 1 is a signal processing block diagram of a remote control device for an air conditioner that is a first embodiment of the present invention.
【図2】図2はこの発明の第二実施例である空気調和機
用遠隔制御装置の信号処理ブロック図である。FIG. 2 is a signal processing block diagram of a remote control device for an air conditioner according to a second embodiment of the present invention.
【図3】図3はこの発明の第三実施例である空気調和機
用遠隔制御装置の信号処理ブロック図である。FIG. 3 is a signal processing block diagram of a remote control device for an air conditioner according to a third embodiment of the present invention.
【図4】図4は照明光ノイズ及び送信信号の波形図であ
る。FIG. 4 is a waveform diagram of illumination light noise and a transmission signal.
【図5】図5は照明光ノイズ及び送信信号スタートビッ
トの波形図である。FIG. 5 is a waveform diagram of illumination light noise and a transmission signal start bit.
【図6】図6は照明光ノイズ及び送信信号スタートビッ
トの波形図である。FIG. 6 is a waveform diagram of illumination light noise and a transmission signal start bit.
【図7】図7はこの発明の第一実施例である空気調和機
用遠隔制御装置の信号処理のフローチャートの前部であ
る。FIG. 7 is a front part of a flowchart of signal processing of the air conditioner remote control device according to the first embodiment of the present invention.
【図8】図8はこの発明の第一実施例である空気調和機
用遠隔制御装置の信号処理のフローチャートの後部であ
る。FIG. 8 is a rear part of a signal processing flowchart of the remote control device for an air conditioner according to the first embodiment of the present invention.
【図9】図9はこの発明の第二実施例である空気調和機
用遠隔制御装置の信号処理のフローチャートである。FIG. 9 is a flowchart of signal processing of a remote control device for an air conditioner that is a second embodiment of the present invention.
【図10】図10はこの発明の第三実施例である空気調
和機用遠隔制御装置の信号処理のフローチャートの前部
である。FIG. 10 is a front part of a flowchart of signal processing of a remote control device for an air conditioner according to a third embodiment of the present invention.
【図11】図11はこの発明の第三実施例である空気調
和機用遠隔制御装置の信号処理のフローチャートの後部
である。FIG. 11 is a rear part of a signal processing flowchart of the remote control device for an air conditioner according to the third embodiment of the present invention.
【図12】図12は従来の空気調和機用遠隔制御装置の
ブロック図である。FIG. 12 is a block diagram of a conventional remote control device for an air conditioner.
1 送信部 2 受信部 4 マイクロコンピュータ 51 スタートビットLow時間検出手段 52 スタートビット時間検出手段 53 スタートビット基準値比較手段 54 データビット時間検出手段 55 データ“0”,“1”判別手段 56 スタートビット時間再検出手段 57 データ演算手段 1 Transmitter 2 Receiver 4 Microcomputer 51 Start Bit Low Time Detecting Means 52 Start Bit Time Detecting Means 53 Start Bit Reference Value Comparing Means 54 Data Bit Time Detecting Means 55 Data “0”, “1” Discriminating Means 56 Start Bit Times Re-detection means 57 Data calculation means
─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───
【手続補正書】[Procedure amendment]
【提出日】平成5年4月28日[Submission date] April 28, 1993
【手続補正1】[Procedure Amendment 1]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】全文[Correction target item name] Full text
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【書類名】 明細書[Document name] Statement
【発明の名称】 空気調和機用遠隔制御装置Title: Remote control device for air conditioner
【特許請求の範囲】[Claims]
【発明の詳細な説明】Detailed Description of the Invention
【0001】[0001]
【産業上の利用分野】この発明は空気調和機の遠隔制御
装置として使用される空気調和機用遠隔制御装置に関す
るもので、特に、空気調和機用遠隔制御装置の受信部で
受信される信号の信号処理ソフトウエアの改良に関する
ものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a remote control device for an air conditioner used as a remote control device for an air conditioner, and more particularly to a signal received by a receiving section of the remote control device for an air conditioner. The present invention relates to improvement of signal processing software.
【0002】[0002]
【従来の技術】図12は、例えば、特公平2−2877
9号に公報された従来の空気調和機を遠隔制御する制御
装置を示したブロック図である。2. Description of the Related Art FIG. 12 shows, for example, Japanese Patent Publication No. 2-2877.
It is the block diagram which showed the control apparatus which remote-controls the conventional air conditioner disclosed by No. 9.
【0003】図12において、1は空気調和機を遠隔操
作するためのワイヤレスリモコン、2はワイヤレスリモ
コン1より発生された操作指令信号を受信する受信部、
5は受信部2で受信した信号を取り込み、空気調和機全
体を制御する制御部を示すものである。6は圧縮機、7
はトランジスタモータ、8は圧縮機6を駆動する半導体
素子から成るインバータ部、9はトランジスタモータ7
を駆動する半導体素子からなるスイッチングレギュレー
タ部、10は制御部駆動用電源トランスで、その1次側
巻線は商用電源11に接続されている。12は空気調和
機の冷凍サイクルを構成する各種の弁、リレー、温度検
出器等の制御機器及び検出機器を総括して示したもので
ある。13は各種制御機器及び各種検出機器と制御部5
とを接続する電源及び信号線である。14は受信部2の
電源を商用電源11から絶縁する絶縁トランスからなる
受信部駆動用電源トランスである。15は受信部2で受
信した信号と空気調和機全体を制御する制御部5との間
に配設した絶縁回路用のホトカプラである。In FIG. 12, reference numeral 1 is a wireless remote controller for remotely operating the air conditioner, 2 is a receiving section for receiving an operation command signal generated from the wireless remote controller 1,
Reference numeral 5 denotes a control unit that takes in a signal received by the receiving unit 2 and controls the entire air conditioner. 6 is a compressor, 7
Is a transistor motor, 8 is an inverter section composed of semiconductor elements for driving the compressor 6, and 9 is a transistor motor 7.
A switching regulator unit 10 made of a semiconductor element for driving the control unit 10 is a power supply transformer for driving the control unit, and its primary winding is connected to a commercial power supply 11. Reference numeral 12 generally indicates various types of valves, relays, temperature detectors and other control devices and detection devices that constitute the refrigeration cycle of the air conditioner. Reference numeral 13 denotes various control devices, various detection devices, and the control unit 5.
And a power line and a signal line that connect with Reference numeral 14 is a power supply transformer for driving the receiver, which is an insulating transformer for insulating the power supply of the receiver 2 from the commercial power supply 11. Reference numeral 15 is a photocoupler for an insulating circuit which is arranged between the signal received by the receiving unit 2 and the control unit 5 which controls the entire air conditioner.
【0004】次に、図12に示した従来の空気調和機用
遠隔制御装置の動作を説明する。Next, the operation of the conventional remote controller for an air conditioner shown in FIG. 12 will be described.
【0005】ワイヤレスリモコン1から発生された操作
指令信号は、受信部2で受信され制御部5に入力され
る。受信部2はインバータ部8及びスイッチングレギュ
レータ部9及び制御部5に電源を供給する商用電源11
からは受信部駆動用電源トランス14によって絶縁され
ており、更に、ワイヤレスリモコン1より発せられた信
号を受けて制御部5へ送り出すための電気的な接続部は
ホトカプラ15により光結合されており、この間も電気
的には絶縁されている。An operation command signal generated from the wireless remote controller 1 is received by the receiver 2 and input to the controller 5. The receiver 2 is a commercial power supply 11 that supplies power to the inverter 8, the switching regulator 9, and the controller 5.
Is insulated by a power transformer 14 for driving the receiving section, and an electrical connection section for receiving a signal emitted from the wireless remote controller 1 and sending it to the control section 5 is optically coupled by a photocoupler 15. During this time, it is electrically insulated.
【0006】このように受信部2は、インバータ部8、
スイッチングレギュレータ部9から電気的に絶縁するこ
とにより、受信部2の内部回路に誘導され雑音障害を防
いでいる。As described above, the receiving unit 2 includes the inverter unit 8,
The electrical insulation from the switching regulator unit 9 prevents noise interference that is induced in the internal circuit of the receiving unit 2.
【0007】[0007]
【発明が解決しようとする課題】このように従来の空気
調和機用遠隔制御装置では、ワイヤレスリモコン1から
の操作指令信号を良好に受信するために受信部2は、イ
ンバータ部8及びスイッチングレギュレータ部9と電気
的絶縁を行ない、内部回路からの雑音障害を防止してい
る。しかし、太陽光や照明光等が受信部2から直接侵入
してくる雑音に対しては、何等考慮されていないため、
外乱光によってワイヤレスリモコン信号が受信できなく
なったり、空気調和機本体が誤動作する可能性が推定さ
れる。As described above, in the conventional air conditioner remote control device, in order to satisfactorily receive the operation command signal from the wireless remote controller 1, the receiving unit 2 includes the inverter unit 8 and the switching regulator unit. It is electrically insulated from the 9 to prevent noise interference from the internal circuit. However, since no consideration is given to noise that sunlight or illumination light directly enters from the receiving unit 2,
It is presumed that the wireless remote control signal may not be received due to ambient light or the air conditioner body may malfunction.
【0008】また、前記公報に掲載の従来の空気調和機
用遠隔制御装置では、ワイヤレスリモコン信号そのもの
の処理方法について開示するものがないが、一般に、ワ
イヤレスリモコン信号の各データの処理の仕方として、
データの“1”と“0”の判別は、送信された1パルス
のロー(以下、単に、『Low』と記す)時間と全体時
間の両方を検出することで“1”または“0”の判別を
行なう処理方法が考えられる。しかし、ワイヤレスリモ
コン信号におけるデータを表わす部分のパルス幅は非常
に狭く受信部2とワイヤレスリモコン1との距離が長く
なればなる程、送信された1パルスのLow時間が狭く
なり、また、距離が短くなればなる程、送信された1パ
ルスのハイ(以下、単に、『High』と記す)時間は
短くなる。したがって、このような処理方法を採用する
と、正規信号をノイズと判別してキャンセルしてしまう
確率を大きくしてしまう可能性がある。Further, the conventional air conditioner remote control device disclosed in the above publication does not disclose a method of processing the wireless remote control signal itself, but generally, as a method of processing each data of the wireless remote control signal,
The discrimination between "1" and "0" of the data is made by detecting both the low (hereinafter simply referred to as "Low") time of the transmitted 1 pulse and the total time of "1" or "0". A processing method for making the determination can be considered. However, the pulse width of the portion representing the data in the wireless remote control signal is very narrow, and the longer the distance between the receiving unit 2 and the wireless remote control 1, the narrower the Low time of one pulse transmitted, and the shorter the distance. The shorter it is, the shorter the high (hereinafter simply referred to as “High”) time of one pulse transmitted. Therefore, if such a processing method is adopted, there is a possibility that the probability of discriminating the normal signal as noise and canceling it will be increased.
【0009】そこで、この発明は上記のような誤動作を
解消するためになされたもので、太陽光や照明光等が受
信部に直接侵入して発生する雑音と、送信部より送られ
る操作指令信号とを確実に分離できると共に、受信部と
送信部との距離の変化により、送信信号のパルス幅が変
化しても正規信号として処理できる空気調和機用遠隔制
御装置の提供を課題とするものである。Therefore, the present invention has been made in order to eliminate the above-mentioned malfunction, and noise generated by sunlight or illumination light directly entering the receiving section and an operation command signal sent from the transmitting section. It is an object of the present invention to provide a remote control device for an air conditioner that can reliably separate and, even if the pulse width of the transmission signal changes due to a change in the distance between the reception unit and the transmission unit. is there.
【0010】[0010]
【課題を解決するための手段】請求項1に記載の空気調
和機用遠隔制御装置の空気調和機全体を制御するマイク
ロコンピュータは、受信部で受信されたスタートビット
部のパルスのLow時間を検出するスタートビットLo
w時間検出手段と、前記スタートビット部のパルスの全
体時間を検出するスタートビット時間検出手段と、前記
パルスのLow時間とパルスの全体時間を予め定められ
たスタートビット基準時間と比較するスタートビット基
準値比較手段と、データビットのパルスの全体時間を検
出するデータビット時間検出手段と、前記データビット
のパルスの全体時間を予め定められたデータビット基準
時間と比較し、前記データビット基準時間内の信号が
“0”であるか“1”であるかを判別するデータ
“0”,“1”判別手段とを備えるものである。A microcomputer for controlling an entire air conditioner of a remote control device for an air conditioner according to claim 1, detects a low time of a pulse of a start bit part received by a receiving part. Start bit Lo
w time detecting means, start bit time detecting means for detecting the total time of the pulse of the start bit portion, and start bit reference for comparing the low time of the pulse and the total time of the pulse with a predetermined start bit reference time. Value comparing means, data bit time detecting means for detecting the total time of the data bit pulse, and comparing the total time of the data bit pulse with a predetermined data bit reference time, within the data bit reference time Data "0" and "1" discriminating means for discriminating whether the signal is "0" or "1" is provided.
【0011】請求項2に記載の空気調和機用遠隔制御装
置の空気調和機全体を制御するマイクロコンピュータ
は、受信部で受信されたスタートビット部のパルスの全
体時間を検出するスタートビット時間検出手段と、前記
パルスの全体時間を予め定められたスタートビット基準
時間と比較するスタートビット基準値比較手段と、デー
タビットのパルスの全体時間を検出するデータビット時
間検出手段と、前記データビットのパルスの全体時間を
予め定められたデータビット基準時間と比較し、前記デ
ータビット基準時間内の信号が“0”であるか“1”で
あるかを判別するデータ“0”,“1”判別手段と、前
記データ“0”,“1”判別手段で“0”でも“1”で
もなく正規のデータビットでないと判別されたとき、再
度、このパルスを予め定められたスタートビット基準時
間と比較するスタートビット時間再検出手段とを備える
ものである。A microcomputer for controlling the entire air conditioner of the remote control device for an air conditioner according to claim 2 detects start bit time detecting means for detecting the entire time of the pulse of the start bit part received by the receiving part. A start bit reference value comparing means for comparing the total time of the pulse with a predetermined start bit reference time; a data bit time detecting means for detecting the total time of the data bit pulse; Data "0", "1" discriminating means for comparing the entire time with a predetermined data bit reference time and discriminating whether the signal within the data bit reference time is "0" or "1". When the data "0", "1" discriminating means discriminates that the data bit is neither "0" nor "1" and is not a normal data bit, the pulse is again predicted. In which and a start bit time redetection means for comparing the start bit reference time determined.
【0012】請求項3に記載の空気調和機用遠隔制御装
置の空気調和機全体を制御するマイクロコンピュータ
は、“0”のデータビット長が“1”のデータビット長
よりも短いとした場合、受信部で受信されたデータビッ
ト長が“1”または“0”のデータビット長のどちらに
も相当せず、かつ、“0”のデータビット長よりも短い
ときに、続くデータビット長を検出し、前記データビッ
ト長とその後に検出したデータビット長との総和をと
り、そのデータビット長が“0”のデータビット長に相
当するか否かを判別するデータ演算手段を備えるもので
ある。In the microcomputer for controlling the entire air conditioner of the remote controller for an air conditioner according to claim 3, when the data bit length of "0" is shorter than the data bit length of "1", When the data bit length received by the receiving unit does not correspond to either "1" or "0" data bit length and is shorter than "0" data bit length, the subsequent data bit length is detected. The data bit length and the data bit length detected thereafter are summed up, and a data operation means for determining whether or not the data bit length corresponds to the data bit length of "0" is provided.
【0013】[0013]
【作用】請求項1の発明においては、スタートビットL
ow時間検出手段で、受信部で受信されたスタートビッ
ト部のパルスのLow時間を検出し、また、スタートビ
ット時間検出手段でスタートビット部のパルスの全体時
間を検出する。検出したパルスのLow時間とパルスの
全体時間をスタートビット基準値比較手段で予め定めら
れたスタートビット基準時間と比較し、それらが予め定
められたスタートビット基準時間の範囲内にあるとき、
更に、データビット時間検出手段でデータビットのパル
スの全体時間を検出し、そのデータビットのパルスの全
体時間をデータ“0”,“1”判別手段で予め定められ
たデータビット基準時間と比較し、前記データビット基
準時間内の信号が“0”であるか“1”であるかを判別
する。このとき、スタートビットをパルスのLow時間
及び全体時間より検出する手段を設けたことにより、送
信信号と外乱光による雑音を明確に区別できる。In the invention of claim 1, the start bit L
The low time detecting means detects the low time of the pulse of the start bit portion received by the receiving portion, and the start bit time detecting means detects the total time of the pulse of the start bit portion. The detected Low time of the pulse and the total time of the pulse are compared with a predetermined start bit reference time by the start bit reference value comparison means, and when they are within the range of the predetermined start bit reference time,
Further, the data bit time detection means detects the total time of the data bit pulse, and the data "0" and "1" discrimination means compares the total time of the data bit pulse with a predetermined data bit reference time. , It is determined whether the signal within the data bit reference time is “0” or “1”. At this time, by providing the means for detecting the start bit from the low time and the total time of the pulse, the transmission signal and the noise due to the ambient light can be clearly distinguished.
【0014】請求項2の発明においては、スタートビッ
ト時間検出手段で、受信部で受信されたスタートビット
部のパルスの全体時間を検出し、スタートビット基準値
比較手段で前記パルスの全体時間を予め定められたスタ
ートビット基準時間と比較し、それらが予め定められた
スタートビット基準時間の範囲内にあるとき、更に、デ
ータビット時間検出手段でデータビットのパルスの全体
時間を検出し、そのデータビットのパルスの全体時間を
予め定められたデータビット基準時間と比較し、データ
“0”,“1”判別手段で前記データビット基準時間内
の信号が“0”であるか“1”であるかを判別し、
“0”でも“1”でもなく正規のデータビットでないと
判別されたとき、スタートビット時間再検出手段により
再度、このパルスを予め定められたスタートビット基準
時間と比較し、スタートビットでないか否かを判別す
る。これにより、スタートビットを検出した後でも、再
度、スタートビットを検出できるから、外乱光による雑
音をスタートビットと誤認してしまった直後でも正規の
スタートビットを認識することができる。In the second aspect of the invention, the start bit time detecting means detects the total time of the pulse of the start bit portion received by the receiving portion, and the start bit reference value comparing means detects the total time of the pulse in advance. Compared with a predetermined start bit reference time, and when they are within the range of a predetermined start bit reference time, the data bit time detecting means further detects the total time of the pulse of the data bit, and the data bit is detected. Is compared with a predetermined data bit reference time, and whether the signal within the data bit reference time is "0" or "1" by the data "0", "1" discrimination means. To determine
When it is determined that the data bit is neither "0" nor "1" and is not a normal data bit, the start bit time re-detection means compares the pulse again with a predetermined start bit reference time to determine whether or not it is a start bit. To determine. As a result, even after the start bit is detected, the start bit can be detected again, so that the regular start bit can be recognized even immediately after the noise due to the ambient light is mistaken for the start bit.
【0015】請求項3の発明においては、“0”のデー
タビット長が“1”のデータビット長よりも短いとした
場合、受信部で受信されたデータビット長が“1”また
は“0”のデータビット長のどちらにも相当せず、か
つ、“0”のデータビット長よりも短いときに、続くデ
ータビット長を検出し、前記データビット長とその後に
検出したデータビット長との総和をとり、そのデータビ
ット長が“0”のデータビット長に相当するか否かを判
別するものであるから、雑音によってデータパルスがビ
ット割れを起しても、それを正規送信信号として判別し
て制御情報とすることができる。According to the third aspect of the invention, when the data bit length of "0" is shorter than the data bit length of "1", the data bit length received by the receiving unit is "1" or "0". If the data bit length does not correspond to any of the data bit lengths of 0 and is shorter than the data bit length of "0", the subsequent data bit length is detected and the sum of the data bit length and the data bit length detected thereafter is detected. It is determined whether or not the data bit length corresponds to the data bit length of "0", and therefore even if the data pulse causes bit splitting, it is determined as a normal transmission signal. Control information.
【0016】[0016]
【実施例】 〈第一実施例〉以下、この発明における実施例の空気調
和機用遠隔制御装置を図を用いて説明する。[First Embodiment] A remote controller for an air conditioner according to an embodiment of the present invention will be described below with reference to the drawings.
【0017】図1はこの発明の第一実施例である空気調
和機用遠隔制御装置の信号処理ブロック図である。ま
た、図4は照明光ノイズ及び送信信号の波形図である。
そして、図7及び図8はこの発明の第一実施例である空
気調和機用遠隔制御装置の信号処理のフローチャートで
ある。FIG. 1 is a signal processing block diagram of a remote control device for an air conditioner according to a first embodiment of the present invention. FIG. 4 is a waveform diagram of illumination light noise and a transmission signal.
7 and 8 are flowcharts of signal processing of the air conditioner remote control device according to the first embodiment of the present invention.
【0018】図1において、1はワイヤレスリモコン等
の送信部、2は送信部1より発せられた操作指令信号を
受信する受信部、3は受信部2で受信された送信信号を
電気的信号に変換する変換回路部、4は変換回路部3を
通して変換された電気的信号を取り込み、それにより空
気調和機全体を制御するマイクロコンピュータである。In FIG. 1, reference numeral 1 is a transmitter such as a wireless remote controller, 2 is a receiver for receiving an operation command signal transmitted from the transmitter 1, and 3 is an electric signal for the transmission signal received by the receiver 2. The conversion circuit unit 4 for conversion is a microcomputer that takes in the electric signal converted through the conversion circuit unit 3 and controls the entire air conditioner thereby.
【0019】51〜57はマイクロコンピュータ4に信
号を取り込む場合のソフト処理手段を示す機能ブロック
を示すものである。51は到来信号のHighの信号の
立下りでスタートするスタートビットのLow時間を検
出するスタートビットLow時間検出手段、52はスタ
ートビットの全体時間を検出するスタートビット時間検
出手段、53はスタートビットLow時間検出手段51
とスタートビット時間検出手段52で検出されたスター
トビットLow時間及びスタートビット全体時間を、予
め定められたスタートビット基準値と比較し、正規のス
タートビットであるかどうかを判別するスタートビット
基準値比較手段である。54はスタートビット基準値比
較手段53で正規のスタートビットが検出された後に、
データビット時間を検出するデータビット時間検出手
段、55はデータビット時間検出手段54で検出された
データが“0”か“1”かを判別するデータ“0”,
“1”判別手段である。Reference numerals 51 to 57 are functional blocks showing software processing means when a signal is taken into the microcomputer 4. Reference numeral 51 is a start bit low time detecting means for detecting a low time of a start bit which starts at the falling edge of a high signal of the incoming signal, 52 is a start bit time detecting means for detecting the entire time of the start bit, and 53 is a start bit low. Time detection means 51
And the start bit low time and the start bit overall time detected by the start bit time detecting means 52 are compared with a predetermined start bit reference value to compare the start bit reference value to determine whether the start bit is a regular start bit. It is a means. Reference numeral 54 denotes a start bit reference value comparison means 53 after a regular start bit is detected.
Data bit time detecting means for detecting the data bit time, 55 is data "0" for judging whether the data detected by the data bit time detecting means 54 is "0" or "1",
It is a "1" discriminating means.
【0020】次に、この第一実施例の空気調和機用遠隔
制御装置について、図4の波形図、図7及び図8のフロ
ーチャートを用いて説明する。Next, the remote control device for an air conditioner of the first embodiment will be described with reference to the waveform diagram of FIG. 4 and the flowcharts of FIGS. 7 and 8.
【0021】まず、図4に示すように、送信部1から送
信される信号及び照明光による雑音は、通常、信号の到
来を示すHighの状態から受信部2に取り込まれる。First, as shown in FIG. 4, the signal transmitted from the transmission unit 1 and the noise due to the illumination light are normally taken into the reception unit 2 from the high state indicating the arrival of the signal.
【0022】図7及び図8において、ステップS101
でHighの信号が到来すると、それが受信部2に取り
込まれ、パルス検出され、ステップS102でそのパル
スのLow時間を検出し、更に、ステップS103でパ
ルスの全体時間を検出する。そして、ステップS104
においてステップS102、ステップS103で検出さ
れたパルスのLow時間及び全体時間を、予め定められ
たスタートビット基準値と照合し、正規のスタートビッ
トであるか否かの判別を行なう。このとき、送信部1か
らの信号は送信部1と受信部2の距離を遠ざけるほど、
そのビットが細くなってしまう特性を持つため、ある程
度の余裕をもってその判別を行なっている。このステッ
プS104の判別で正規のスタートビットとみなされな
かった場合は、送信部1からの送信信号ではないと判別
して他の処理を行ない、正規のスタートビットとみなさ
れたならば、ステップS105からのデータビット検出
の処理に入る。7 and 8, step S101
When a High signal arrives at, the signal is taken into the receiving unit 2 and a pulse is detected. In Step S102, the Low time of the pulse is detected, and in Step S103, the entire time of the pulse is detected. Then, step S104
In step S102 and step S103, the Low time and the total time of the pulse detected are compared with a predetermined start bit reference value to determine whether or not the pulse is a normal start bit. At this time, as the signal from the transmission unit 1 increases as the distance between the transmission unit 1 and the reception unit 2 increases,
Since the bit has a characteristic of becoming thin, the determination is performed with some margin. If it is not determined as the normal start bit in the determination in step S104, it is determined that the signal is not the transmission signal from the transmission unit 1 and other processing is performed. If it is determined as the normal start bit, step S105. The process of detecting the data bit from is entered.
【0023】データビット検出の処理に入ると、まず、
ステップS105でデータビット検出値の初期化を行な
い、ステップS106でそのパルスの全体時間を検出す
る。そして、ステップS106で得られた検出値をステ
ップS107で予め定められたデータビット基準値と照
合し、正規のデータビットであるか判別を行なう。この
判別で正規のデータビットとみなされなかった場合、送
信部1からの送信信号ではないと判別して他の処理へ移
る。正規のデータビットとみなされたとき、ステップS
108からステップS110で“0”か“1”かの判別
を行なう。即ち、正規のデータビットとみなされた到来
信号が“0”のデータ長であるか判別し、“0”のデー
タ長のとき検出値を“0”と判別し、“0”のデータ長
でないとき“1”と判別する。When the process of data bit detection is started, first,
The data bit detection value is initialized in step S105, and the entire time of the pulse is detected in step S106. Then, the detected value obtained in step S106 is collated with the predetermined data bit reference value in step S107 to determine whether it is a normal data bit. If it is not considered to be a normal data bit in this determination, it is determined that the signal is not the transmission signal from the transmission unit 1, and the process proceeds to another process. When it is regarded as a regular data bit, step S
From step 108, it is determined in step S110 whether "0" or "1". That is, it is determined whether the incoming signal regarded as a normal data bit has a data length of "0", and when the data length is "0", the detected value is determined as "0", and the data length is not "0". At this time, it is determined to be "1".
【0024】ステップS108からステップS110で
判別されたデータは、ステップS111からステップS
113で一連のデータとして順次データ格納され、そし
て、例えば、送信信号が『家製協フォーマット』であっ
た場合、データビット数は104ビットであるので、こ
の一連のデータ検出が104回繰り返されたか判別し、
104回繰り返されるまで、ステップS106からステ
ップS113のルーチンを繰り返し実行する。この一連
のデータ検出が104回繰り返されると、ステップS1
14でチェックサムと照合され、ステップS115で特
定の内容に応じた送信制御信号であると認識されると、
送信信号に従って空気調和機本体の制御が行なわれる。The data determined in steps S108 to S110 is the same as the data in steps S111 to S111.
In 113, the data is sequentially stored as a series of data, and, for example, when the transmission signal is in the “household cooperative format”, since the number of data bits is 104 bits, is this series of data detection repeated 104 times? Discriminate,
The routine from step S106 to step S113 is repeatedly executed until it is repeated 104 times. When this series of data detection is repeated 104 times, step S1
When it is recognized as the transmission control signal according to the specific content in step S115 by being compared with the checksum in step 14,
The air conditioner body is controlled according to the transmitted signal.
【0025】このように、本実施例の空気調和機用遠隔
制御装置は、空気調和機を遠隔操作する操作指令信号の
送信部1と、前記送信部1より発せられた操作指令信号
を受信する受信部2と、前記受信部2で受信した操作指
令信号を電気的信号に変換する変換回路部3と、前記変
換回路部3で電気的に変換された信号を取り込み空気調
和機全体を制御するマイクロコンピュータ4とを具備
し、しかも、前記マイクロコンピュータ4は、前記受信
部2で受信されたスタートビット部のパルスのLow時
間を検出するステップS102からなるスタートビット
Low時間検出手段51と、前記スタートビット部のパ
ルスの全体時間を検出するステップS103からなるス
タートビット時間検出手段52と、前記パルスのLow
時間とパルスの全体時間を予め定められた閾値としての
スタートビット基準時間と比較するステップS104か
らなるスタートビット基準値比較手段53と、データビ
ットのパルスの全体時間を検出するステップS106か
らなるデータビット時間検出手段54と、前記データビ
ットのパルスの全体時間を予め定められたデータビット
基準時間と比較し、前記データビット基準時間内の信号
が“0”であるか“1”であるかを判別するステップS
108乃至ステップS110からなるデータ“0”,
“1”判別手段55とを具備するものである。As described above, the remote control device for an air conditioner of this embodiment receives the operation command signal transmitter 1 for remotely operating the air conditioner, and the operation command signal issued from the transmitter 1. The reception unit 2, the conversion circuit unit 3 for converting the operation command signal received by the reception unit 2 into an electric signal, and the signal electrically converted by the conversion circuit unit 3 are taken in to control the entire air conditioner. The microcomputer 4 further includes a start bit Low time detection means 51 including step S102 for detecting a Low time of a pulse of the start bit section received by the receiving unit 2, and the start. Start bit time detecting means 52 including step S103 for detecting the total time of the pulse of the bit part, and Low of the pulse.
The start bit reference value comparing means 53 including step S104 for comparing the time and the total time of the pulse with the start bit reference time as a predetermined threshold value, and the data bit including step S106 for detecting the total time of the pulse of the data bit. The time detection means 54 and the entire time of the pulse of the data bit are compared with a predetermined data bit reference time to determine whether the signal within the data bit reference time is "0" or "1". Step S
Data “0” including 108 to step S110,
It is provided with a "1" discriminating means 55.
【0026】したがって、本実施例の空気調和機用遠隔
制御装置は、ステップS102からなるスタートビット
Low時間検出手段51とステップS103からなるス
タートビット時間検出手段52により、スタートビット
をパルスのLow時間及び全体時間で検出するものであ
るから、送信信号と外乱光による雑音を明確に区別する
ことができる。Therefore, in the air conditioner remote controller of this embodiment, the start bit is set to the pulse low time by the start bit low time detecting means 51 consisting of step S102 and the start bit time detecting means 52 consisting of step S103. Since the detection is performed in the entire time, it is possible to clearly distinguish the transmission signal and the noise caused by the ambient light.
【0027】〈第二実施例〉上記第一実施例では、ステ
ップS107のデータビット検出時にデータの“0”で
も“1”でもないと判別されたときには、雑音とみなし
て他の処理へと移るが、データビット検出時にデータの
“0”でも“1”でもないと判別されたときに、そのビ
ットについて、再度スタートビットとして検出を行なわ
せることもできる。<Second Embodiment> In the first embodiment, when it is determined that the data is neither "0" nor "1" at the time of detecting the data bit in step S107, it is regarded as noise and the process proceeds to another process. However, when it is determined that the data bit is neither "0" nor "1" at the time of detecting the data bit, the bit can be detected again as a start bit.
【0028】図2はこの発明の第二実施例である空気調
和機用遠隔制御装置の信号処理ブロック図である。な
お、図中、第一実施例と同一符号及び記号は第一実施例
の構成部分と同一または相当する構成部分を示すもので
あるから、ここでは重複する説明を省略する。また、図
5は照明光ノイズ及び送信信号スタートビットの波形図
である。そして、図9はこの発明の第一実施例である空
気調和機用遠隔制御装置の信号処理のフローチャートで
ある。FIG. 2 is a signal processing block diagram of a remote control device for an air conditioner according to a second embodiment of the present invention. In the drawings, the same reference numerals and symbols as those in the first embodiment show the same or corresponding components as those of the first embodiment, and therefore, duplicated description will be omitted here. FIG. 5 is a waveform diagram of illumination light noise and a transmission signal start bit. FIG. 9 is a flow chart of signal processing of the air conditioner remote controller according to the first embodiment of the present invention.
【0029】図2において、マイクロコンピュータ4に
示したスタートビット時間再検出手段56は、データ
“0”,“1”判別手段55によって正規のデータビッ
トでないと判別されたとき、再度、そのパルスがスター
トビットであるか否の判別を行なうものである。In FIG. 2, when the start bit time re-detecting means 56 shown in the microcomputer 4 determines that the data "0", "1" determining means 55 is not a normal data bit, the pulse is again detected. Whether or not it is a start bit is determined.
【0030】図9において、ステップS101でHig
hの信号が到来すると、それが受信部2に取り込まれ、
パルス検出され、ステップS103で受信部2に入って
きたパルスの全体時間を検出する。そして、ステップS
104からステップS107で予め定められたスタート
ビット基準値と照合し、正規のスタートビットであるか
の判別を行なう。ステップS104においてステップS
103で検出されたパルスの全体時間を、予め定められ
たスタートビット基準値と照合し、正規のスタートビッ
トであるか否かの判別を行ない、ステップS105でデ
ータビット検出値の初期化を行ない、ステップS106
でそのパルスの全体時間を検出する。そして、得られた
検出値をステップS107で予め定められたデータビッ
ト基準値と照合し、正規のデータビットであるか判別を
行なう。この判別で正規のデータビットとみなされなか
った場合には、再度、ステップS104まで戻し、その
パルスがスタートビットであるか、否かの判別を行な
う。In FIG. 9, in step S101, Hig
When the signal of h arrives, it is taken into the receiving unit 2,
The pulse is detected, and the total time of the pulse that has entered the receiving unit 2 is detected in step S103. And step S
From 104 to step S107, the start bit reference value is collated with the predetermined start bit reference value to determine whether the start bit is a regular start bit. In step S104, step S
The entire time of the pulse detected in 103 is collated with a predetermined start bit reference value to determine whether the start bit is a regular start bit, and in step S105 the data bit detection value is initialized. Step S106
Detects the total time of the pulse. Then, the obtained detection value is collated with the predetermined data bit reference value in step S107 to determine whether the data bit is a regular data bit. If it is not judged as a normal data bit in this determination, the process returns to step S104 again, and it is determined whether or not the pulse is a start bit.
【0031】即ち、例えば、ステップS104で正規の
スタートビットであると判別されたとし、ステップS1
07において予め定められたデータビット基準値と照合
し、正規のデータビットであるかの判別を行ない、正規
のデータビットとみなされなかった場合には、その処理
をステップS104まで戻し、再度、そのパルスがスタ
ートビットであるか、否かの判別を行なうようにする。That is, for example, if it is determined in step S104 that the start bit is legitimate, step S1
In 07, the predetermined data bit reference value is collated to determine whether the data bit is a normal data bit. If the data bit is not regarded as a normal data bit, the process is returned to step S104, and again. Whether the pulse is the start bit or not is determined.
【0032】このように、本実施例の空気調和機用遠隔
制御装置は、空気調和機を遠隔操作する操作指令信号の
送信部1と、前記送信部1より発せられた操作指令信号
を受信する受信部2と、前記受信部2で受信した操作指
令信号を電気的信号に変換する変換回路部3と、前記変
換回路部3で電気的に変換された信号を取り込み空気調
和機全体を制御するマイクロコンピュータ4とを具備
し、しかも、前記マイクロコンピュータ4は、前記受信
部2で受信されたスタートビット部のパルスの全体時間
を検出するステップS103からなるスタートビット時
間検出手段52と、前記パルスのLow時間とパルスの
全体時間を予め定められた閾値としてのスタートビット
基準時間と比較するステップS104からなるスタート
ビット基準値比較手段53と、データビットのパルスの
全体時間を検出するステップS106からなるデータビ
ット時間検出手段54と、前記データビットのパルスの
全体時間を予め定められたデータビット基準時間と比較
し、前記データビット基準時間内の信号が“0”である
か“1”であるかを判別するステップS108乃至ステ
ップS110からなるデータ“0”,“1”判別手段5
5と、前記データ“0”,“1”判別手段55で“0”
でも“1”でもなく正規のデータビットでないと判別さ
れたとき、再度、このパルスを予め定められたステップ
S107、ステップS104乃至ステップS106のル
ーチンからなるスタートビット基準時間と比較するスタ
ートビット時間再検出手段56とを具備するものであ
る。As described above, the remote control device for an air conditioner of this embodiment receives the operation command signal transmitter 1 for remotely operating the air conditioner and the operation command signal issued from the transmitter 1. The reception unit 2, the conversion circuit unit 3 for converting the operation command signal received by the reception unit 2 into an electric signal, and the signal electrically converted by the conversion circuit unit 3 are taken in to control the entire air conditioner. The microcomputer 4 further comprises a start bit time detecting means 52 comprising step S103 for detecting the entire time of the pulse of the start bit part received by the receiving part 2, and the microcomputer 4 A start bit reference value comparison procedure comprising step S104 of comparing the Low time and the total time of the pulse with the start bit reference time as a predetermined threshold value. 53, data bit time detecting means 54 comprising step S106 for detecting the total time of the data bit pulse, and comparing the total time of the data bit pulse with a predetermined data bit reference time to obtain the data bit reference Data "0", "1" discriminating means 5 comprising steps S108 to S110 for discriminating whether the signal within the time is "0" or "1"
5 and the data “0”, “1” discriminating means 55 outputs “0”.
However, when it is determined that the data bit is not “1” and is not a regular data bit, the start bit time re-detection for comparing this pulse with the start bit reference time made up of the routines of the predetermined steps S107 and S104 to S106 is performed again. And means 56.
【0033】したがって、スタートビットを検出した後
でも再度スタートビットを検出できるスタートビット時
間再検出手段56を設けたことから、外乱光による雑音
をスタートビットと誤認してしまった直後でも正規のス
タートビットを認識することができるだけでなく、スタ
ートビットの検出をパルスの全体時間のみで判別するの
で、スタートビット検出時までのソフト処理を容易にす
ることが可能となった。Therefore, since the start bit time re-detecting means 56 which can detect the start bit again after the start bit is detected is provided, even if the noise due to the ambient light is mistakenly recognized as the start bit, the normal start bit is detected. Not only can it be recognized, but the start bit is detected only by the total time of the pulse, so that it is possible to facilitate the software processing until the start bit is detected.
【0034】このような処理をすることにより、例え
ば、従来は、図5に示すように、同時に雑音と送信信号
が入ってきたときに、スタートビットと同様のパルス時
間を持つ照明光ノイズである信号P1 を送信信号のスタ
ートビットと誤って検出してしまい、更に、信号P2 ,
信号P3 がデータビットと同様のパルス時間を持った照
明光ノイズである場合には、これらをデータと検出し、
次の正規のスタートビットである信号P4 がデータビッ
トとして検出されないため、この送信信号はキャンセル
されてしまう。しかし、本実施例においては、スタート
ビット時間再検出手段56を設けたことにより、この信
号P4 が再度スタートビットかどうかの判別を行なうこ
とになり、正規の送信信号を誤ってキャンセルしてしま
うことを防ぐことができる。By performing such processing, for example, conventionally, as shown in FIG. 5, when the noise and the transmission signal come in at the same time, the illumination light noise has the same pulse time as the start bit. The signal P1 is erroneously detected as the start bit of the transmission signal, and the signals P2,
If the signal P3 is illumination light noise with the same pulse time as the data bit, these are detected as data,
Since the signal P4, which is the next regular start bit, is not detected as a data bit, this transmission signal is canceled. However, in the present embodiment, by providing the start bit time re-detection means 56, it is judged again whether or not this signal P4 is the start bit, and the normal transmission signal is canceled by mistake. Can be prevented.
【0035】なお、本実施例では、受信部2で受信され
たスタートビット部のパルスのLow時間を検出するス
テップS102からなるスタートビットLow時間検出
手段51を使用していないが、本発明を実施する場合に
は、スタートビットLow時間検出手段51を付加する
こともできる。Although the present embodiment does not use the start bit low time detecting means 51 comprising step S102 for detecting the low time of the pulse of the start bit part received by the receiving part 2, the present invention is embodied. In this case, the start bit Low time detecting means 51 can be added.
【0036】〈第三実施例〉更に、送信信号のビットが
照明光雑音によって割れてしまうことがあり、この場合
に正規の送信信号でも雑音と判別されてしまうことがあ
るので、これを防止するのが第三実施例である。<Third Embodiment> Further, the bits of the transmission signal may be broken by the illumination light noise, and in this case, even the regular transmission signal may be discriminated as noise, which is prevented. Is the third embodiment.
【0037】図3はこの発明の第三実施例である空気調
和機用遠隔制御装置の信号処理ブロック図である。ま
た、図6は送信信号中の照明光ノイズによるビット割れ
波形図である。そして、図10乃至図11はこの発明の
第三実施例である空気調和機用遠隔制御装置の信号処理
のフローチャートである。なお、図中、第一実施例及び
第二実施例と同一符号及び記号は第一実施例及び第二実
施例の構成部分と同一または相当する構成部分を示すも
のであるから、ここでは重複する説明を省略する。FIG. 3 is a signal processing block diagram of a remote control device for an air conditioner according to a third embodiment of the present invention. Further, FIG. 6 is a bit split waveform diagram due to illumination light noise in the transmission signal. 10 to 11 are flow charts of signal processing of the remote control device for an air conditioner according to the third embodiment of the present invention. In the drawings, the same reference numerals and symbols as those of the first and second embodiments indicate the same or corresponding constituents as those of the first and second embodiments, and therefore, are duplicated here. The description is omitted.
【0038】図3において、マイクロコンピュータ4に
示したデータ演算手段57は、データ“0”,“1”判
別手段55によってパルスが“1”または“0”のデー
タビット長のどちらにも相当しないと判別され、かつ、
そのパルスが“0”のデータビット長よりも短い場合
に、次のパルスデータビット長を検出し、この検出した
データビット長とその直後に検出されたパルスのデータ
ビット長とを加算するデータ演算手段である。In FIG. 3, the data computing means 57 shown in the microcomputer 4 does not correspond to either the data bit length of the pulse "1" or "0" by the data "0", "1" discriminating means 55. Is determined, and
When the pulse is shorter than the data bit length of "0", the next pulse data bit length is detected, and the detected data bit length is added to the data bit length of the pulse detected immediately thereafter. It is a means.
【0039】図10乃至図11において、ステップS1
01でHighの信号が到来すると、それが受信部2に
取り込まれ、パルス検出され、ステップS103で受信
部2に入ってきたパルスの全体時間を検出する。そし
て、ステップS104からステップS107で予め定め
られたスタートビット基準値と照合し、正規のスタート
ビットであるかの判別を行なう。ステップS104にお
いてステップS103で検出されたパルスの全体時間
を、予め定められたスタートビット基準値と照合し、正
規のスタートビットであるか否かの判別を行ない、ステ
ップS120でビット割れした回数を計数するカウンタ
Kをクリアしておき、ステップS105でデータビット
検出値の初期化を行ない、ステップS106でそのパル
スの全体時間を検出する。そして、得られた検出値をス
テップS107で予め定められたデータビット基準値と
照合し、正規のデータビットであるか判別を行なう。こ
の判別で正規のデータビットとみなされなかった場合に
は、ステップS121に移し、正規のデータビットとみ
なされた到来信号が“0”のデータ長より短いか判別
し、“0”のデータ長より長いときステップS122で
データ保留フラグを降ろし、正規のデータビットとみな
されなかったから、その処理をステップS104まで戻
し、再度、そのパルスがスタートビットであるか、否か
の判別を行なうようにする。10 to 11, step S1
When a High signal arrives at 01, the signal is taken into the receiving unit 2 for pulse detection, and the total time of the pulse entering the receiving unit 2 is detected at step S103. Then, in steps S104 to S107, the predetermined start bit reference value is collated to determine whether the start bit is a regular start bit. In step S104, the total time of the pulse detected in step S103 is collated with a predetermined start bit reference value, it is determined whether the start bit is a regular start bit, and the number of bit cracks is counted in step S120. The counter K is reset, the data bit detection value is initialized in step S105, and the entire time of the pulse is detected in step S106. Then, the obtained detection value is collated with the predetermined data bit reference value in step S107 to determine whether the data bit is a regular data bit. If it is determined that the data signal is not a normal data bit in this determination, the process proceeds to step S121, and it is determined whether the incoming signal that is considered a normal data bit is shorter than the data length of "0", and the data length of "0" is determined. When it is longer, the data hold flag is cleared in step S122, and since it is not regarded as a normal data bit, the process is returned to step S104, and it is determined again whether or not the pulse is the start bit. .
【0040】正規のデータビットとみなされた到来信号
がステップS121で“0”のデータ長より短いと判別
されたとき、ステップS123で既にデータ保留フラグ
が立っているか判別し、データ保留フラグが立っていな
いとき、ステップS124でデータ保留フラグを立て、
ステップS125でその到来信号を一連のデータとして
順次データ格納すべくデータ格納番地を「1」アップさ
せ、ステップS126でビット割れした回数を計数する
カウンタKに「+1」インクリメントし、ステップS1
06からのルーチンの処理に戻る。When it is determined in step S121 that the incoming signal regarded as a normal data bit is shorter than the data length of "0", it is determined in step S123 whether the data hold flag is already set and the data hold flag is set. If not, a data suspension flag is set in step S124,
In step S125, the data storage address is incremented by "1" to sequentially store the incoming signal as a series of data, and in step S126, the counter K that counts the number of bit cracks is incremented by "+1", and step S1
It returns to the routine processing from 06.
【0041】ステップS123で既にデータ保留フラグ
が立っていると判別したとき、ステップS127で異常
であったデータビットとその直後のデータビットを加算
し、ステップS128でその値が“0”のデータビット
長に相当するか判別する。ステップS128でその値が
“0”のデータビット長に相当するものでないと判別さ
れたとき、ステップS129でその値が“0”のデータ
ビット長よりも長いか判別し、“0”のデータビット長
よりも短いと判別されたとき、複数のビット割れの状態
下にあるから、ステップS130で順次データ格納すべ
くデータ格納番地をその都度「+1」加算し、ステップ
S126に進む。When it is determined in step S123 that the data hold flag has already been set, the abnormal data bit and the data bit immediately after that are added in step S127, and the data bit whose value is "0" is added in step S128. Determine if it corresponds to the length. When it is determined in step S128 that the value does not correspond to the data bit length of "0", it is determined in step S129 whether the value is longer than the data bit length of "0", and the data bit of "0" is determined. If it is determined that the length is shorter than the length, it means that there are a plurality of bit-splitting states. Therefore, in step S130, the data storage address is incremented by "+1" to store the data sequentially, and the process proceeds to step S126.
【0042】ステップS128で“0”のデータビット
長に相当すると判別されたとき、ステップS131でそ
の到来信号を一連のデータとして順次データ格納すべく
データ格納番地をビット割れした回数を計数するカウン
タKの値だけ減算し、ステップS132でデータ保留フ
ラグを降ろし、図8に示すステップS111のルーチン
に進む。When it is determined in step S128 that the data bit length corresponds to "0", a counter K for counting the number of times the data storage address is bit-divided in order to sequentially store the incoming signal as a series of data in step S131. Value is subtracted, the data hold flag is cleared at step S132, and the routine proceeds to step S111 shown in FIG.
【0043】また、ステップS129で“0”のデータ
ビット長以上と判別されたとき、この信号は空気調和機
を遠隔操作する操作指令信号でないから、ステップS1
33でデータ保留フラグを降ろし、ステップS134で
ビット割れした回数を計数するカウンタKの値をクリア
し、他の処理に入る。If it is determined in step S129 that the data bit length is "0" or more, this signal is not an operation command signal for remotely operating the air conditioner, so step S1
In step 33, the data hold flag is cleared, and in step S134, the value of the counter K that counts the number of bit cracks is cleared, and another process is started.
【0044】このように、本実施例の空気調和機用遠隔
制御装置は、空気調和機を遠隔操作する操作指令信号の
送信部1と、前記送信部1より発せられた操作指令信号
を受信する受信部2と、前記受信部2で受信した操作指
令信号を電気的信号に変換する変換回路部3と、前記変
換回路部3で電気的に変換された信号を取り込み空気調
和機全体を制御するマイクロコンピュータ4とを具備
し、しかも、前記マイクロコンピュータ4は、前記受信
部2で受信されたデータビット長が“1”または“0”
のデータビット長のどちらにも相当せず、かつ、“0”
のデータビット長よりも短いときに、続くデータビット
長を検出し、前記データビット長とその後に検出したデ
ータビット長との総和をとり、そのデータビット長が
“0”のデータビット長に相当するか否かを判別するス
テップS121乃至ステップS134からなるデータ演
算手段57を具備するものである。したがって、雑音の
ために2つ以上に割れてしまったデータビットを合わせ
て1つの正規のデータビットと判別するデータ演算手段
57を設けたものであるから、雑音によってデータパル
スがビット割れしてしまっても、それを正規送信信号と
して判別可能とすることができる。As described above, the remote control device for an air conditioner of this embodiment receives the operation command signal transmitter 1 for remotely operating the air conditioner and the operation command signal issued from the transmitter 1. The reception unit 2, the conversion circuit unit 3 for converting the operation command signal received by the reception unit 2 into an electric signal, and the signal electrically converted by the conversion circuit unit 3 are taken in to control the entire air conditioner. The microcomputer 4 has a data bit length “1” or “0” received by the receiver 2.
Data bit length of 0, and "0"
When the data bit length is shorter than the data bit length, the subsequent data bit length is detected, and the sum of the data bit length and the data bit length detected after that is taken, and the data bit length corresponds to the data bit length of "0". It is provided with the data calculation means 57 including steps S121 to S134 for determining whether or not to perform. Therefore, since the data operation means 57 is provided for determining the data bit which has been split into two or more due to noise to be one normal data bit, the data pulse is split into bits due to noise. However, it can be discriminated as a regular transmission signal.
【0045】即ち、図6に示すように、受信部2に入っ
てくる送信信号中に照明光からの雑音によって、正規の
データビットにビット割れが生じる。このビット割れに
よって、その送信信号全体をすぐにキャンセルしてしま
わないように、ステップS107によって予め定められ
たデータビット基準値と照合し、正規のデータビットで
あるかの判別を行ない、正規のデータビットでないと判
別されたときに、ステップS121によってそのパルス
のデータビット長が“0”のデータビット長よりも短い
かを判別する。そのパルスのデータビット長が“0”の
データビット長よりも長ければ処理をステップS104
まで戻し、再度そのパルスがスタートビットであるか、
否かの判別を行なう。逆に、そのパルスのデータビット
長が“0”のデータビット長よりも短ければ、ステップ
S124でデータ保留フラグを立てる。このデータ保留
フラグとは、データビットが異常であるため次のパルス
を見ているという印で、正常時には“0”が、異常時に
は“1”が立つフラグである。そして、ステップS12
3でデータ保留フラグが立っていることを確認した後
に、ステップS127によって異常であったデータビッ
トと、その直後のデータビットを加算し、ステップS1
28でその値が“0”のデータビット長に相当するかを
判別する。ここで“0”のデータビット長と判別された
なら複数のデータビットを合わせてビット割れしていな
い状態の1つのデータビット長としての元の処理に戻
る。また、ステップS129で“0”のデータビット長
よりも短いと判別されたなら、データ保留フラグを
“1”のままにして、次のデータビットのパルス全体時
間の測定を行なうために、ステップS126を介してス
テップS106に戻り、ステップS106以降の処理を
繰り返し行なう。しかし、ステップS129で“0”の
データビット長よりも長いと判別された場合は、データ
保留フラグを“1”から“0”に戻し、送信信号でない
と判別して他の処理を行なう。That is, as shown in FIG. 6, the normal data bits are broken by the noise from the illumination light in the transmission signal entering the receiving section 2. In order not to immediately cancel the entire transmission signal due to this bit crack, it is collated with the predetermined data bit reference value in step S107 and it is determined whether the data bit is a normal data bit or not. When it is determined that it is not a bit, it is determined in step S121 whether the data bit length of the pulse is shorter than the data bit length of "0". If the data bit length of the pulse is longer than the data bit length of "0", the processing is step S104.
Back to the start bit again,
Determine whether or not. On the contrary, if the data bit length of the pulse is shorter than the data bit length of "0", the data hold flag is set in step S124. The data hold flag is a mark that the next pulse is being watched because the data bit is abnormal, and is a flag that is set to "0" in the normal state and to "1" in the abnormal state. Then, step S12
After confirming that the data hold flag is set in step 3, the abnormal data bit and the data bit immediately after that are added in step S127, and step S1
At 28, it is determined whether the value corresponds to the data bit length of "0". If it is determined that the data bit length is "0", the plurality of data bits are combined and the process returns to the original process as one data bit length in the state where no bit cracks occur. If it is determined in step S129 that the data bit length is shorter than "0", the data hold flag is left at "1" and the total pulse time of the next data bit is measured in step S126. The process returns to step S106 via, and the processes after step S106 are repeated. However, if it is determined in step S129 that the data bit length is longer than "0", the data hold flag is returned from "1" to "0", it is determined that the signal is not a transmission signal, and other processing is performed.
【0046】本実施例においては、正規信号を雑音とみ
なしてキャンセルしてしまうことが防止できる。In this embodiment, it is possible to prevent the normal signal from being regarded as noise and canceling.
【0047】[0047]
【発明の効果】以上のように、請求項1の発明の空気調
和機用遠隔制御装置によれば、空気調和機全体を制御す
る送信部からの信号を受信するマイクロコンピュータ
は、受信部で受信されたスタートビット部のパルスのL
ow時間を検出するスタートビットLow時間検出手段
と、前記スタートビット部のパルスの全体時間を検出す
るスタートビット時間検出手段とを具備することによ
り、スタートビットをパルスのLow時間及び全体時間
より検出することにより、送信信号と外乱光による雑音
を明確に区別することができる。As described above, according to the remote control device for an air conditioner of the first aspect of the present invention, the microcomputer for receiving the signal from the transmission part for controlling the entire air conditioner is received by the reception part. L of the generated start bit pulse
The start bit is detected from the Low time and the total time of the pulse by including the start bit Low time detection unit that detects the Low time and the start bit time detection unit that detects the entire time of the pulse of the start bit unit. As a result, it is possible to clearly distinguish the transmission signal and the noise caused by the ambient light.
【0048】請求項2の発明の空気調和機用遠隔制御装
置によれば、空気調和機全体を制御する送信部からの信
号を受信するマイクロコンピュータは、受信部で受信さ
れたデータビットのパルスの全体時間を予め定められた
データビット基準時間と比較し、前記データビット基準
時間内の信号が“0”であるか“1”であるかを判別
し、前記データ“0”,“1”判別手段で“0”でも
“1”でもなく正規のデータビットでないと判別された
とき、再度、このパルスを予め定められたスタートビッ
ト基準時間と比較するスタートビット時間再検出手段を
有しているから、スタートビットを検出した後でも、そ
の後の検出信号によっては、再度、スタートビットを検
出でき、外乱光による雑音をスタートビットと誤認して
しまった直後でも正規のスタートビットを認識すること
ができる。故に、太陽光や照明光等が受信部に直接侵入
して発生する雑音と、送信部より送られる操作指令信号
とを確実に分離できると共に、受信部と送信部との距離
の変化により、送信信号のパルス幅が変化しても正規信
号として処理できる。According to the remote control device for an air conditioner of the second aspect of the present invention, the microcomputer for receiving the signal from the transmitting section for controlling the entire air conditioner is configured to receive the pulse of the data bit received by the receiving section. The whole time is compared with a predetermined data bit reference time, it is determined whether the signal within the data bit reference time is "0" or "1", and the data "0" or "1" is determined. When the means determines that the data bit is neither "0" nor "1" and is not a normal data bit, it has a start bit time re-detection means for comparing this pulse with a predetermined start bit reference time again. , Even after the start bit is detected, the start bit can be detected again depending on the detection signal after that, and even if the noise due to ambient light is mistaken for the start bit, it is normal. It is possible to recognize the start bit. Therefore, noise generated when sunlight or illumination light directly enters the receiving unit and the operation command signal sent from the transmitting unit can be reliably separated, and the change in the distance between the receiving unit and the transmitting unit causes transmission. Even if the pulse width of the signal changes, it can be processed as a normal signal.
【0049】請求項3の発明の空気調和機用遠隔制御装
置によれば、空気調和機全体を制御する送信部からの信
号を受信するマイクロコンピュータは、“0”のデータ
ビット長が“1”のデータビット長よりも短いとした場
合、受信部で受信されたデータビット長が“1”または
“0”のデータビット長のどちらにも相当せず、かつ、
“0”のデータビット長よりも短いときに、続くデータ
ビット長を検出し、前記データビット長とその後に検出
したデータビット長との総和をとり、そのデータビット
長が“0”のデータビット長に相当するか否かを判別す
るものであるから、データビットが雑音で複数に割れて
も、それらを合わせて1つの正規のデータビットと判別
できれば、雑音によってデータパルスがビット割れして
しまっても、それを正規送信信号として判別できる。故
に、太陽光や照明光等が受信部に直接侵入して発生する
雑音と、送信部より送られる操作指令信号とを確実に分
離できると共に、受信部と送信部との距離の変化によ
り、送信信号のパルス幅が変化しても正規信号として処
理できる。According to the remote control device for an air conditioner of the third aspect of the present invention, the microcomputer which receives the signal from the transmitting section for controlling the entire air conditioner has a data bit length of "0" of "1". , The data bit length received by the receiving unit does not correspond to either the data bit length of “1” or “0”, and
When the data bit length is shorter than "0", the subsequent data bit length is detected, the sum of the data bit length and the data bit length detected thereafter is calculated, and the data bit length is "0". Since it determines whether or not it corresponds to the length, even if the data bit is divided into a plurality of pieces by noise, if the data bits can be discriminated as one regular data bit, the data pulse is divided by the noise. However, it can be identified as a regular transmission signal. Therefore, noise generated when sunlight or illumination light directly enters the receiving unit and the operation command signal sent from the transmitting unit can be reliably separated, and the change in the distance between the receiving unit and the transmitting unit causes transmission. Even if the pulse width of the signal changes, it can be processed as a normal signal.
【図面の簡単な説明】[Brief description of drawings]
【図1】図1はこの発明の第一実施例である空気調和機
用遠隔制御装置の信号処理ブロック図である。FIG. 1 is a signal processing block diagram of a remote control device for an air conditioner that is a first embodiment of the present invention.
【図2】図2はこの発明の第二実施例である空気調和機
用遠隔制御装置の信号処理ブロック図である。FIG. 2 is a signal processing block diagram of a remote control device for an air conditioner according to a second embodiment of the present invention.
【図3】図3はこの発明の第三実施例である空気調和機
用遠隔制御装置の信号処理ブロック図である。FIG. 3 is a signal processing block diagram of a remote control device for an air conditioner according to a third embodiment of the present invention.
【図4】図4は照明光ノイズ及び送信信号の波形図であ
る。FIG. 4 is a waveform diagram of illumination light noise and a transmission signal.
【図5】図5は照明光ノイズ及び送信信号スタートビッ
トの波形図である。FIG. 5 is a waveform diagram of illumination light noise and a transmission signal start bit.
【図6】図6は照明光ノイズ及び送信信号スタートビッ
トの波形図である。FIG. 6 is a waveform diagram of illumination light noise and a transmission signal start bit.
【図7】図7はこの発明の第一実施例である空気調和機
用遠隔制御装置の信号処理のフローチャートの前部であ
る。FIG. 7 is a front part of a flowchart of signal processing of the air conditioner remote control device according to the first embodiment of the present invention.
【図8】図8はこの発明の第一実施例である空気調和機
用遠隔制御装置の信号処理のフローチャートの後部であ
る。FIG. 8 is a rear part of a signal processing flowchart of the remote control device for an air conditioner according to the first embodiment of the present invention.
【図9】図9はこの発明の第二実施例である空気調和機
用遠隔制御装置の信号処理のフローチャートである。FIG. 9 is a flowchart of signal processing of a remote control device for an air conditioner that is a second embodiment of the present invention.
【図10】図10はこの発明の第三実施例である空気調
和機用遠隔制御装置の信号処理のフローチャートの前部
である。FIG. 10 is a front part of a flowchart of signal processing of a remote control device for an air conditioner according to a third embodiment of the present invention.
【図11】図11はこの発明の第三実施例である空気調
和機用遠隔制御装置の信号処理のフローチャートの後部
である。FIG. 11 is a rear part of a signal processing flowchart of the remote control device for an air conditioner according to the third embodiment of the present invention.
【図12】図12は従来の空気調和機用遠隔制御装置の
ブロック図である。FIG. 12 is a block diagram of a conventional remote control device for an air conditioner.
【符号の説明】 1 送信部 2 受信部 4 マイクロコンピュータ 51 スタートビットLow時間検出手段 52 スタートビット時間検出手段 53 スタートビット基準値比較手段 54 データビット時間検出手段 55 データ“0”,“1”判別手段 56 スタートビット時間再検出手段 57 データ演算手段[Description of Codes] 1 Transmitter 2 Receiver 4 Microcomputer 51 Start bit Low time detecting means 52 Start bit time detecting means 53 Start bit reference value comparing means 54 Data bit time detecting means 55 Data "0", "1" discrimination Means 56 Start bit time re-detection means 57 Data operation means
Claims (3)
の送信部と、前記送信部より発せられた操作指令信号を
受信する受信部と、前記受信部で受信した操作指令信号
を電気的信号に変換する変換回路部と、前記変換回路部
で電気的に変換された信号を取り込み空気調和機全体を
制御するマイクロコンピュータとを具備する空気調和機
用遠隔制御装置において、 前記マイクロコンピュータは、 前記受信部で受信されたスタートビット部のパルスのロ
ー(Low)時間を検出するスタートビットロー時間検
出手段と、 前記スタートビット部のパルスの全体時間を検出するス
タートビット時間検出手段と、 前記パルスのロー時間とパルスの全体時間を予め定めら
れたスタートビット基準時間と比較するスタートビット
基準値比較手段と、 データビットのパルスの全体時間を検出するデータビッ
ト時間検出手段と、 前記データビットのパルスの全体時間を予め定められた
データビット基準時間と比較し、前記データビット基準
時間内の信号が“0”であるか“1”であるかを判別す
るデータ“0”,“1”判別手段とを具備することを特
徴とする空気調和機用遠隔制御装置。1. A transmitter for transmitting an operation command signal for remotely operating an air conditioner, a receiver for receiving an operation command signal issued from the transmitter, and an electric signal for the operation command signal received by the receiver. In a remote control device for an air conditioner, comprising: a conversion circuit unit for converting into an air conditioner; and a microcomputer that controls a whole air conditioner by taking in a signal electrically converted by the conversion circuit unit, wherein the microcomputer is: A start bit low time detecting means for detecting a low time of a pulse of the start bit portion received by the receiving portion; a start bit time detecting means for detecting a total time of the pulse of the start bit portion; Start bit reference value comparison means for comparing the low time and the total time of the pulse with a predetermined start bit reference time; Data bit time detecting means for detecting the total time of the pulse of the data bit, and comparing the total time of the pulse of the data bit with a predetermined data bit reference time, and a signal within the data bit reference time is "0". A remote control device for an air conditioner, comprising: data "0" and "1" discriminating means for discriminating between "1" and "1".
の送信部と、前記送信部より発せられた操作指令信号を
受信する受信部と、前記受信部で受信した操作指令信号
を電気的信号に変換する変換回路部と、前記変換回路部
で電気的に変換された信号を取り込み空気調和機全体を
制御するマイクロコンピュータとを具備する空気調和機
用遠隔制御装置において、 前記マイクロコンピュータは、 前記受信部で受信されたスタートビット部のパルスの全
体時間を検出するスタートビット時間検出手段と、 前記パルスの全体時間を予め定められたスタートビット
基準時間と比較するスタートビット基準値比較手段と、 データビットのパルスの全体時間を検出するデータビッ
ト時間検出手段と、 前記データビットのパルスの全体時間を予め定められた
データビット基準時間と比較し、前記データビット基準
時間内の信号が“0”であるか“1”であるかを判別す
るデータ“0”,“1”判別手段と、 前記データ“0”,“1”判別手段で“0”でも“1”
でもなく正規のデータビットでないと判別されたとき、
再度、このパルスを予め定められたスタートビット基準
時間と比較するスタートビット時間再検出手段とを具備
することを特徴とする空気調和機用遠隔制御装置。2. An operation command signal transmitting section for remotely operating an air conditioner, a receiving section for receiving an operation command signal issued from the transmitting section, and an operation command signal received by the receiving section as an electrical signal. In a remote control device for an air conditioner, comprising: a conversion circuit unit for converting into an air conditioner; and a microcomputer that controls a whole air conditioner by taking in a signal electrically converted by the conversion circuit unit, wherein the microcomputer is: Start bit time detecting means for detecting the total time of the pulse of the start bit portion received by the receiving portion, start bit reference value comparing means for comparing the total time of the pulse with a predetermined start bit reference time, and data A data bit time detecting means for detecting the total time of the pulse of the bit, and a predetermined total time of the pulse of the data bit. Data “0”, “1” discriminating means for discriminating whether the signal within the data bit reference time is “0” or “1” by comparing with the data bit reference time; and the data “0”, "1" even if it is "0" by the "1" discrimination means
If it is determined that it is not a regular data bit,
A remote control device for an air conditioner, further comprising start bit time re-detection means for comparing this pulse with a predetermined start bit reference time.
の送信部と、前記送信部より発せられた操作指令信号を
受信する受信部と、前記受信部で受信した操作指令信号
を電気的信号に変換する変換回路部と、前記変換回路部
で電気的に変換された信号を取り込み空気調和機全体を
制御するマイクロコンピュータとを具備する空気調和機
用遠隔制御装置において、 前記マイクロコンピュータは、 前記受信部で受信されたデータビット長が“1”または
“0”のデータビット長のどちらにも相当せず、かつ、
“1”または“0”のデータビット長よりも短いとき
に、続くデータビット長を検出し、前記データビット長
とその後に検出したデータビット長との総和をとり、そ
のデータビット長が“1”または“0”のデータビット
長に相当するか否かを判別するデータ演算手段を具備す
ることを特徴とする空気調和機用遠隔制御装置。3. An operation command signal transmitting section for remotely operating an air conditioner, a receiving section for receiving an operation command signal issued from the transmitting section, and an operation command signal received by the receiving section as an electrical signal. In a remote control device for an air conditioner, comprising: a conversion circuit unit for converting into an air conditioner; and a microcomputer for controlling a whole air conditioner by taking in a signal electrically converted by the conversion circuit unit, wherein the microcomputer is: The data bit length received by the receiving unit does not correspond to either the data bit length of "1" or "0", and
When the data bit length is shorter than "1" or "0", the subsequent data bit length is detected, and the sum of the data bit length and the data bit length detected after that is taken, and the data bit length is "1". A remote control device for an air conditioner, comprising a data operation means for determining whether or not the data bit length corresponds to "" or "0".
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4333045A JP3022013B2 (en) | 1992-12-14 | 1992-12-14 | Remote control device for air conditioner |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4333045A JP3022013B2 (en) | 1992-12-14 | 1992-12-14 | Remote control device for air conditioner |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH06181592A true JPH06181592A (en) | 1994-06-28 |
| JP3022013B2 JP3022013B2 (en) | 2000-03-15 |
Family
ID=18261655
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4333045A Expired - Lifetime JP3022013B2 (en) | 1992-12-14 | 1992-12-14 | Remote control device for air conditioner |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3022013B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8063745B2 (en) | 2006-03-09 | 2011-11-22 | Daikin Industries, Ltd. | Air conditioner and address setting method in air conditioner |
-
1992
- 1992-12-14 JP JP4333045A patent/JP3022013B2/en not_active Expired - Lifetime
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8063745B2 (en) | 2006-03-09 | 2011-11-22 | Daikin Industries, Ltd. | Air conditioner and address setting method in air conditioner |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3022013B2 (en) | 2000-03-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA1211813A (en) | Hot carrier detection | |
| KR20080100247A (en) | Address setting method in air conditioner and air conditioner | |
| EP0616306B1 (en) | Disaster prevention monitoring apparatus and method | |
| JPH06181592A (en) | Remote control device for air conditioner | |
| US5227763A (en) | Anti-disaster monitoring system | |
| JPH09288779A (en) | Fire alarming system | |
| US20050017872A1 (en) | Apparatus and method for preventing malfunction of remote controller | |
| EP0680025B1 (en) | Fire alarm system and transmitter used therein | |
| JP4800297B2 (en) | How to automatically block the opening of a car | |
| FI107413B (en) | System for preventing injury and procedure for preventing injury | |
| JP6733587B2 (en) | In-vehicle device | |
| JP2562241B2 (en) | Disaster prevention monitoring device | |
| JP2003111168A (en) | Remote control signal relay apparatus and method | |
| JP2981007B2 (en) | Terminal address confirmation method for disaster prevention monitoring device | |
| JP2001101543A (en) | Fire detector and method for removing noise from fire detector | |
| JPH0936819A (en) | Bidirectional signal transmission system | |
| JP2901618B2 (en) | Fire alarm | |
| JPH0548623A (en) | Multiplex transmission system | |
| JPH1168802A (en) | Faulty environment supervisory system | |
| JP2005191926A (en) | Remote control receiver | |
| EP0814445B1 (en) | Automatic self-testing alarm system with supervision signal analysis | |
| JPH056492A (en) | Disaster prevention monitoring device and method | |
| JPH07297790A (en) | Serial communication circuit and communication system for half-duplex communication system | |
| JPH0589383A (en) | Smoke analog fire determination method and device | |
| CN119723859A (en) | Signal processing method, receiving device, transmitting device and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080114 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090114 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100114 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100114 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110114 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120114 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130114 Year of fee payment: 13 |
|
| EXPY | Cancellation because of completion of term |