JPH02168793A - Controller for air harmonizor - Google Patents

Controller for air harmonizor

Info

Publication number
JPH02168793A
JPH02168793A JP63322771A JP32277188A JPH02168793A JP H02168793 A JPH02168793 A JP H02168793A JP 63322771 A JP63322771 A JP 63322771A JP 32277188 A JP32277188 A JP 32277188A JP H02168793 A JPH02168793 A JP H02168793A
Authority
JP
Japan
Prior art keywords
data
indoor
outdoor
transmitted
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63322771A
Other languages
Japanese (ja)
Inventor
Hajime Sugiyama
肇 杉山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP63322771A priority Critical patent/JPH02168793A/en
Publication of JPH02168793A publication Critical patent/JPH02168793A/en
Pending legal-status Critical Current

Links

Landscapes

  • Air Conditioning Control Device (AREA)
  • Selective Calling Equipment (AREA)

Abstract

PURPOSE:To eliminate the error of the transmission/reception of data by returning data received with a reception side to a transmission side as echo data as it is, comparing the echo data returned to the transmission side with an original data being transmitted, and when it is different, re-transmitting the original data again. CONSTITUTION:Data assembled in the form of a transmission signal by the indoor circuit control means 11 of an indoor 10 are serial-signalized by an indoor data transmission means 12 and transmitted to an outdoor device 20. the signal is received by the indoor data reception means 21 of the outdoor device 20, decoded, made into reception data, and sent to an outside circuit control means 23. A data error detection means 22 extracts the echo data out of the data, compares it with the outdoor data previously transmitted from the outdoor device 20 to the indoor device 10, and investigates the presence or absence of errors. When it is decided that the error is present, the data error detection means 22 respectively informs the outdoor circuit control means 23 and transmits the previous data.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、セパレート形空気調和機の制御装置の改善
に係り、室内装置と室外装置との間に送受信されるデー
タの誤りを検出し、誤動作を防止するようにした制御装
置に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to improving a control device for a separate air conditioner, and detects errors in data transmitted and received between an indoor device and an outdoor device, The present invention relates to a control device designed to prevent malfunctions.

[従来の技術] 第8図は例えば特開昭59−46439号公報に示され
た従来の空気調和機の制御装置を示すブロック回路図で
ある。
[Prior Art] FIG. 8 is a block circuit diagram showing a conventional air conditioner control device disclosed in, for example, Japanese Unexamined Patent Publication No. 59-46439.

図において、50は室内制御回路、51は室内制御部、
52は同期信号発生回路、53はサイリスタ点弧回路、
54は室温サーミスタ、55は送信素子、56はシリア
ル信号線、57は電力線、58は室外制御回路、59は
外気温サーミスタ、60は室外制御部、61は同期信号
発生回路、62は受信素子、80はコンプレッサである
In the figure, 50 is an indoor control circuit, 51 is an indoor control section,
52 is a synchronizing signal generation circuit, 53 is a thyristor firing circuit,
54 is a room temperature thermistor, 55 is a transmitting element, 56 is a serial signal line, 57 is a power line, 58 is an outdoor control circuit, 59 is an outside temperature thermistor, 60 is an outdoor control unit, 61 is a synchronizing signal generating circuit, 62 is a receiving element, 80 is a compressor.

商用電源70から室内制御回路50.室外制御回路58
及びコンプレッサ80に電力線が接続されている。室内
制御回路50内では、室内制御部51に同期信号発生回
路52.サイリスタ点弧回路53.室温ザーミスタ54
が接続されており、サイリスタ点弧回路53は送信素子
55に接続され、送信素子55はシリアル信号線56に
直列に接続されている。室外制御回路58内では、室外
制御部60に同期信号発生回路61.受信素子62、外
気温サーミスタ5つ及びコンブレザ80を制御するスイ
ッチ82が接続されており、受信素子62はシリアル信
号線56により室内制御回路50に接続されている。
From the commercial power supply 70 to the indoor control circuit 50. Outdoor control circuit 58
A power line is connected to the compressor 80. In the indoor control circuit 50, the indoor control section 51 includes a synchronization signal generation circuit 52. Thyristor firing circuit 53. Room temperature thermister 54
are connected, the thyristor firing circuit 53 is connected to a transmitting element 55, and the transmitting element 55 is connected in series to a serial signal line 56. In the outdoor control circuit 58, the outdoor control section 60 includes a synchronization signal generation circuit 61. A receiving element 62, five outside temperature thermistors, and a switch 82 for controlling a combination laser 80 are connected, and the receiving element 62 is connected to the indoor control circuit 50 by a serial signal line 56.

次に動作について説明する。電源70が入ると図示しな
い指示温度の指令と室温サーミスタ54からの室温入力
により、室内制御回路50の室内制御部51はこれを変
換、演算等の処理をして制御シリアルデータ信号を作成
し、サイリスタ点弧回路53へ送り、送信素子55をス
イ・ソチンクして、室内制御回路50かへシリアル信号
線56を経て室外制御回路58へ送られ、そのデータ信
号は受信素子62に入る。受信された制御シリアルデー
タは室外制御部60により信号解析され、スイッチ82
を制御してコンプレッサ80のオン、/オフ制御がされ
る。
Next, the operation will be explained. When the power supply 70 is turned on, the indoor control section 51 of the indoor control circuit 50 converts and processes the commands for the specified temperature (not shown) and the room temperature input from the room temperature thermistor 54 to create a control serial data signal. The data signal is sent to the thyristor ignition circuit 53, turns on the transmitting element 55, and is sent to the indoor control circuit 50 via the serial signal line 56 to the outdoor control circuit 58, and the data signal enters the receiving element 62. The received control serial data is signal-analyzed by the outdoor control unit 60, and the switch 82
The compressor 80 is turned on/off by controlling.

[発明が解決しようとする課題] 従来の空気調和機の制御装置は以上のように構成されて
いるので、運転制御するためのデータ信号が送信された
とき、ノイズの混入等の予期しない原因によって、この
信号が常に正しく受信されるとは限らず、空気調和機の
運転が正しく行われるとは限らないという課題があった
[Problems to be Solved by the Invention] Since the conventional air conditioner control device is configured as described above, when a data signal for controlling operation is transmitted, it is difficult to prevent unexpected causes such as mixing of noise. However, there is a problem in that this signal is not always received correctly, and the air conditioner is not always operated correctly.

この発明は、」1記のような課題を解消するためになさ
れたもので、データの送受信の誤りを検出し排除するこ
とにより、常に正しく制御できる空気調和機の制御装置
を得ることを目的とする。
This invention was made in order to solve the problem as described in 1.The purpose of this invention is to obtain a control device for an air conditioner that can always be controlled correctly by detecting and eliminating errors in data transmission and reception. do.

[課題を解決するための手段] この発明に係る空気調和機の制御装置は、受信側は受信
したデータをそのままエコーデータとして送信側へ送り
返し、送信側は返送されたエコーデータを送信した元の
データと比較して、異なっていた場合は元のデータを再
び送信するようにした。または、送信側は送信すべきデ
ータ信号に検査用信号を付加して送信し、受信側は前記
検査用信号を利用して受信信号の誤りの有無を検査し、
誤りを検出した場合は送信側に再送を要求し、その場合
は送信側は元のデータを再び送信するようにしたもので
ある。
[Means for Solving the Problems] In the air conditioner control device according to the present invention, the receiving side sends the received data back to the sending side as echo data, and the sending side returns the returned echo data to the original sender. Compared with the data, if there is a difference, the original data is sent again. Alternatively, the transmitting side adds a test signal to the data signal to be transmitted and transmits the data signal, and the receiving side uses the test signal to check whether there is an error in the received signal,
If an error is detected, the sender is requested to retransmit, and in that case, the sender sends the original data again.

「作用] この発明による空気調和機の制御装置では、受信側は受
信したデータをそのままエコーデータとして送信側へ送
り返し、送信側はそのエコーデータを元のデータと比較
することにより送信データが受信側に正しく受信された
か否かを判定し、正しく受信されなかった場合は元のデ
ータを再送する。または、送信側は送信すべきデータ信
号に検査用信号を付加して送信し、受信側はこの信号を
受信したとき前記検査用信号を利用して受信信号の誤り
の有無を検査し、誤りを検出した場合は送信側に再送を
要求し、その場合は送信側は元のデータを再び送信する
。これによって、データの送受信の誤りが排除され、デ
ータが常に正しく伝達され、空気調和機が正しく制御さ
れる。
[Function] In the air conditioner control device according to the present invention, the receiving side sends the received data as echo data back to the transmitting side, and the transmitting side compares the echo data with the original data, so that the transmitted data is transmitted to the receiving side. If the data is not received correctly, the original data is retransmitted.Alternatively, the transmitting side adds a test signal to the data signal to be transmitted and transmits it, and the receiving side When a signal is received, the test signal is used to check whether there is an error in the received signal, and if an error is detected, the transmitter requests retransmission, and in that case, the transmitter transmits the original data again. As a result, errors in data transmission and reception are eliminated, data is always transmitted correctly, and the air conditioner is controlled correctly.

[実施例] 以下、この発明の一実施例を図について説明する。先ず
、第7図に示すブロック回路図について説明する。室内
装W10は室内制御用マイクロコンピュータ(室内マイ
コン)15.スイッチ入力用マトリックス回路16.電
源]7.入出力回路18、メインリレー19等からなる
。室外装置〃20は室外制御用マイクロコンピュータ(
室外マイコン)25.電源27.入出力回路28.コン
プレッサ80.インバータ81等からなる。
[Example] Hereinafter, an example of the present invention will be described with reference to the drawings. First, the block circuit diagram shown in FIG. 7 will be explained. The indoor interior W10 is an indoor control microcomputer (indoor microcomputer) 15. Switch input matrix circuit 16. Power supply]7. It consists of an input/output circuit 18, a main relay 19, etc. The outdoor device 20 is an outdoor control microcomputer (
outdoor microcomputer) 25. Power supply 27. Input/output circuit 28. Compressor 80. It consists of an inverter 81 and the like.

室内マイコン15.室外マイコン25は、データ処理、
送受信の制御等を行う。また、室内マイコン15によっ
てコンプレッサ80のメインスイッチリレー19が制御
される。入出力回路18゜28は、データの送信、受信
を行う。
Indoor microcomputer 15. The outdoor microcomputer 25 performs data processing,
Controls transmission and reception, etc. Further, the main switch relay 19 of the compressor 80 is controlled by the indoor microcomputer 15. The input/output circuit 18°28 transmits and receives data.

第1図乃至第3図はこの発明の第一実施例による空気調
和機の制御装置を示し、第1図は室内装置または室外装
置のマイコンの動作プログラムのフローチャート、第2
図は送受信信号の構成例を示す図、第3図は制御装置の
構成図である。
1 to 3 show a control device for an air conditioner according to a first embodiment of the present invention, FIG.
The figure shows an example of the configuration of transmitted and received signals, and FIG. 3 is a configuration diagram of the control device.

この第1実施例による空気調和機の制御装置(1〕全体
構成は、第3図に示すように 室内袋′#10として、
室内回路制御手段11.室内データ送イ:」手段12.
室外データ受信手段13及びデータエラー検知手段14
を備え、室外装置20と1.で、室内データ受信手段2
1.う・−タユ゛ラー検知[段22、室外回路制御手段
23及び室外Y−タjjli信手段24を備えている。
The overall configuration of the air conditioner control device (1) according to the first embodiment is as shown in FIG.
Indoor circuit control means 11. Indoor data transmission: means 12.
Outdoor data receiving means 13 and data error detecting means 14
The outdoor device 20 and 1. Then, indoor data receiving means 2
1. It is equipped with a controller detection stage 22, an outdoor circuit control means 23, and an outdoor Y-controller communication means 24.

次に、第3図により動作の説明をする、室内装置10の
室内回路制御手段11により′1ス信(K’+弓の形式
に組み立てられたデータは、室内データ送信手段12に
よってシリアル信号化され、室外装置20へ送信される
。その信号は室外装置20の室内データ受信手段21に
よって受信され解読されて受信データとされ、そのデー
タはデータエラー検知手段22を経由して室外回路制御
手段23へ送られる。データエラー検知手段22は 今
回室内装置]0から送られたデータの中に後述のエコー
データが含まれていれば、このエコーテ・−夕を抽出し
て前回室外装置20から室内装置10へ送信した室外デ
ータと比較し、エラーの有無を調べる。室外回路制御手
段23は受は取ったデータによってコンプレッサ等の制
御をする。
Next, the data assembled in the form of '1 signal (K' + bow) by the indoor circuit control means 11 of the indoor device 10, the operation of which will be explained with reference to FIG. and transmitted to the outdoor device 20.The signal is received and decoded by the indoor data receiving means 21 of the outdoor device 20 to become received data, and the data is sent to the outdoor circuit control means 23 via the data error detection means 22. If the data sent from the indoor device 0 this time includes echo data, which will be described later, the data error detection means 22 extracts this echo data and sends it to the indoor device from the previous outdoor device 20. The outdoor circuit control means 23 compares the outdoor data transmitted to the outdoor circuit 10 to check for errors.The outdoor circuit control means 23 controls the compressor and the like based on the received data.

室外回路制御手段23は、コンプレッサ等の制御をする
ほかに、室外で得た運転制御に必要な室外データと共に
室内装置10から受信した室内データをそのままエコー
データとして第2図に示すように組込み、送信信号の形
式に組み立てる。このエコーデータ及び室外データは、
室外データ送信手段24によってシリアル信号化され、
室内装置10へ送信される。室内装置10の室外データ
受信手段13はこの信号を受信し解読してデータとし、
このデータをデータエラー検知手段]4を経由して室内
回路制御手段11へ送る。データエラー検知手段]−4
はこのデータからエコーデータを抽出して、前回に室内
装置]0から室外装置20へ送った室内データと比較し
、エラーの有無を調べる。室内回路制御手段]]は送ら
れたデータを使用して室内ファンの制御等をする。
In addition to controlling the compressor and the like, the outdoor circuit control means 23 incorporates the indoor data received from the indoor device 10 as echo data together with the outdoor data necessary for operation control obtained outdoors, as shown in FIG. Assemble into the form of a transmitted signal. This echo data and outdoor data are
converted into a serial signal by the outdoor data transmission means 24,
It is transmitted to the indoor device 10. The outdoor data receiving means 13 of the indoor device 10 receives this signal, decodes it, and converts it into data.
This data is sent to the indoor circuit control means 11 via the data error detection means]4. Data error detection means]-4
extracts echo data from this data and compares it with the indoor data previously sent from the indoor device 0 to the outdoor device 20 to check for errors. The indoor circuit control means] uses the sent data to control the indoor fan, etc.

室内回路制御手段11は室内ファン等の制御をするほか
に、指示されたデータ、室内温度センサ等から得られた
データ等により室内データを作ると共に、先に室外装置
20から受信した室外データをそのままエコーデータと
し、室内データと共に第2図に示すような送信信号の形
式に組み立て、室内データ送信手段12から室外装置2
0へ前述のように送り、以後、以上の過程を繰り返す。
In addition to controlling indoor fans and the like, the indoor circuit control means 11 creates indoor data based on instructed data, data obtained from an indoor temperature sensor, etc., and also directly receives outdoor data previously received from the outdoor device 20. The echo data is assembled together with indoor data into a transmission signal format as shown in FIG. 2, and sent from the indoor data transmitting means 12 to the outdoor device 2
0 as described above, and then repeat the above process.

以−1−の過程において、データエラー検知手段22ま
たは]4が、前回のデータとエコーデータとを比較して
相違があると判断した場合、すなわちエラーありと判定
した場合は、データエラー検知手段22または]4は、
それぞれ室外回路制御手段23または室内回路制御手段
1]に知らせて、送信するデータを新しいものではなく
、前回のデータとさせる。前回のデータが正しく送受信
されていないと推定されるためである。
In the process of -1- above, if the data error detection means 22 or ]4 compares the previous data and the echo data and determines that there is a difference, that is, if it determines that there is an error, the data error detection means 22 or ]4 is
[the outdoor circuit control means 23 or the indoor circuit control means 1], respectively, so that the data to be transmitted is not the new data but the previous data. This is because it is presumed that the previous data was not transmitted and received correctly.

次に、この第1実施例による制御装置の室内マイコンま
たは室外マイコンの主要な動作プログラムを第1図に示
すフローチャーI・によって説明する。プログラムがス
ターI・すると、室内マイコンの場合は設定温度等の指
示値、室内温度センサ等からデータを入力して送信すべ
き室内データを、室外マイコンの場合は室外温度、運転
状態等のデータにより送信すべき室外データを組み立て
て記憶する(ステップ30)。次に、第1回目はないが
第2回目以後はエコーデータと共にこの送信データを送
信する(ステップ31)にれが終わると相手からの送信
を待つ。
Next, the main operating program of the indoor microcomputer or outdoor microcomputer of the control device according to the first embodiment will be explained using flowchart I shown in FIG. When the program starts, the indoor data to be sent will be sent by inputting the indicated value such as the set temperature, data from the indoor temperature sensor, etc. in the case of an indoor microcomputer, and the data such as the outdoor temperature and operating status will be sent in the case of an outdoor microcomputer. Assemble and store outdoor data to be transmitted (step 30). Next, although not the first time, this transmission data is transmitted together with the echo data from the second time onward (step 31). When the transmission is finished, the transmission waits for the other party to send it.

相手から送信されるとそれを受信するくステップ32)
。受信および送信データは、第2図に示すように、送信
側でサンプリングや演算等をして作成した本来のデータ
とエコーデータとがらなっている。エコーデータとは送
信側から送信され受信側が受信した受信データをそのま
ま送信側へ送り返すものである。本来のデータとエコー
データとは識別符号等をつけることによって受信側で分
離可能となっている、 次に、ステップ32で受信したデータをこちらから送信
したデータのエコーデータと相手がらの本来のデータと
に分離する(ステップ33)。次に、分離したエコーデ
ータを前回こちらから送信した本来のデータと比較し、
等しいか否かを判別するくステップ34)。等しければ
、前回送信したデータは相手側に正しく受信されたと判
定し、次回の送(?、子データ更新する(ステップ35
)。
Step 32) Receive the message sent from the other party.
. As shown in FIG. 2, the received and transmitted data consists of original data created by sampling, calculation, etc. on the transmitting side and echo data. Echo data is received data that is sent from the sender and received by the receiver and is sent back to the sender as is. The original data and echo data can be separated on the receiving side by adding an identification code, etc. Next, in step 32, the received data is separated from the echo data of the data sent from this side and the original data of the other party. (Step 33). Next, compare the separated echo data with the original data sent from us last time,
Step 34). If they are equal, it is determined that the previously transmitted data was correctly received by the other party, and the next transmission (?, child data is updated (step 35).
).

もし相違があれは、データは誤って相手側に受信された
と判定し、次回の送信データを前回と同じにする(ステ
・ツブ36)。これによって、誤って相手側が受信した
場合は、データが再送され、誤りが修正されることにな
る。ステ・・lプ35またはステップ36の次に、ステ
ップ33で分離された相手側からのデータをそのままエ
コーデータとする(ステ・ツブ37)。次に、ステ・ツ
ブ35またはステップ36による次回の本来の送信デー
タとステップ37によるエコーデータとをもって、初め
に返り送信データを組み立てて記憶する(ステップ30
)、以後、以上のステップを繰り返す。
If there is a difference, it is determined that the data was received by the other party in error, and the next transmission data is made the same as the previous one (step 36). As a result, if the other party receives the data in error, the data will be retransmitted and the error will be corrected. Next to step 35 or step 36, the data from the other party separated in step 33 is used as echo data (step 37). Next, the next original transmission data from step 35 or step 36 and the echo data from step 37 are used to assemble and store the return transmission data (step 30
), then repeat the above steps.

なお、」1記実施例においては、前回の本来のデータと
エコーデータとの比較チエ・・ツク後、データが正しく
送られていた場合、次回の本来の送信データを送るよう
にしているが、送信データが常に連続しであるとは限ら
ないので、その場合は、プログラムのスタートに戻るよ
うにする。
In addition, in the first embodiment, after checking the comparison between the previous original data and the echo data, if the data was sent correctly, the next original transmission data is sent. Since the transmitted data is not always continuous, in that case, return to the start of the program.

室内マイコン及び室外マイコンの以」二のような動作に
よって、室内装置と室外装置との間に本来のデータの送
受信と共にエコーデータの送受信をして、前回の送受信
か正しく行われたか否かを前回のデータと比較してチエ
ツクし、若し相違があれば再送受信をするので、室内装
置と室外装置との間のデータの送受信の誤りが排除され
、空気調和機の運転が正しく制御されることになる。
Through the following operations of the indoor microcomputer and outdoor microcomputer, the original data is transmitted and received between the indoor device and the outdoor device, as well as echo data. Since the data is checked and compared with the data of become.

第4図乃至第6図は第2実施例による空気調和機の制御
装置を示し、第4図は室内装置または室外装置のマイコ
ンの動作プログラムのフローチャート、第5図は送受信
データの構成例を示す図、第6図は制御装置の構成図で
ある。
4 to 6 show a control device for an air conditioner according to the second embodiment, FIG. 4 is a flowchart of an operation program of a microcomputer of an indoor device or an outdoor device, and FIG. 5 shows an example of the configuration of transmitted and received data. 6 are configuration diagrams of the control device.

第2実施例による空気調和機の制御装置の全体構成は、
第6図に示すように、室内装置]0として、室内回路制
御手段11.室内データ送信手段12、室外データ受信
手段13.受信データエラー検出手段141.室外デー
タ再送要求手段122及び室内データ再送手段123を
備え、室外装置20として、室内データ受信手段21.
受信データエラー検出手段22]、室外回路制御手段2
3、室外データ送信手段24.室外データ再送手段24
2及び室内データ再送要求手段243を備えている。
The overall configuration of the air conditioner control device according to the second embodiment is as follows:
As shown in FIG. 6, indoor circuit control means 11. Indoor data transmitting means 12, outdoor data receiving means 13. Received data error detection means 141. The outdoor device 20 includes an outdoor data retransmission requesting means 122 and an indoor data retransmission means 123, and the indoor data receiving means 21.
Received data error detection means 22], outdoor circuit control means 2
3. Outdoor data transmission means 24. Outdoor data retransmission means 24
2 and indoor data retransmission request means 243.

次に、第6図により動作の説明をする。室内装置1−0
の室内回路制御手段11から、室内データ送信手段12
を介して、室内データが室外装置20へ送られる。その
とき、第5図に示すように、室内データはディジタルシ
リアル信号化され、検査用信号であるチエツクピット、
ずなわち、パリティピッ1〜が付加される。パリティピ
ッ1〜とはパリティピッ1〜を含む信号のピッ)−の”
o”または”〕”が奇数または偶数になるように0”ま
たは”1“′のピットを付加するものである。
Next, the operation will be explained with reference to FIG. Indoor equipment 1-0
from the indoor circuit control means 11 to the indoor data transmission means 12.
Indoor data is sent to the outdoor device 20 via. At that time, as shown in Fig. 5, the room data is converted into digital serial signals, and the check pit and
That is, parity bits 1 to 1 are added. Parity pick 1~ is the signal that includes parity pick 1~.
A pit of 0" or "1" is added so that o" or "]" becomes an odd or even number.

室内装置10から送られたパリティピッニー付きの信号
は、室外装R20の室内データ受信手段21によって受
信され、受信データエラー検出手段221によって奇数
または偶数のパリティチエツクを行い、正しければ室外
回路制御手段23に送り、このデータにより圧縮機等の
制御を行う。
The signal with parity pinny sent from the indoor device 10 is received by the indoor data receiving means 21 of the outdoor exterior R20, and the received data error detecting means 221 performs an odd or even parity check, and if correct, the signal is sent to the outdoor circuit control means. 23, and the compressor etc. are controlled based on this data.

受信データエラー検出手段221がパリティチエツクを
して誤りを検出した場合は、室内データ再送要求手段2
43に信号を送り、室内データ再送要求信号を室内装置
10に送る。室内装置10の室外データ受信手段13は
、これを受けたときは、室内データ再送手段123へ送
り、前回送った元の室内データを室外装置20へ再送す
る。
If the received data error detection means 221 performs a parity check and detects an error, the indoor data retransmission request means 2
43 and sends an indoor data retransmission request signal to the indoor device 10. When the outdoor data receiving means 13 of the indoor device 10 receives this, it sends it to the indoor data retransmitting means 123, and retransmits the original indoor data sent last time to the outdoor device 20.

以下、以上の手順を繰り返す5 室外データを室外装置20から室内装置10へ送る場合
も、上記と全く同様に、送信側は送信すべきデータ信号
にパリティピットを付加して送信し、受信側はパリティ
チエツクを行い、若し、誤りを検出したら送信側に再送
を要求し、その場合は送信側は元のデータを再送するこ
とになる。
Hereafter, the above steps are repeated 5. When transmitting outdoor data from the outdoor device 20 to the indoor device 10, in exactly the same way as above, the transmitting side adds a parity pit to the data signal to be transmitted and transmits it, and the receiving side A parity check is performed, and if an error is detected, the sending side is requested to retransmit, in which case the sending side will retransmit the original data.

次に、第2実施例による室内マイコン15または室外マ
イコン25の主要な動作プログラムを第4図に示すフロ
ーチャーI・によって説明する。
Next, the main operating programs of the indoor microcomputer 15 or the outdoor microcomputer 25 according to the second embodiment will be explained using flowchart I. shown in FIG.

第4図において、プログラムがスター)・すると例えは
、室内マイコンは送信すべきデータ信号にパリティピッ
1〜を付加して送信する。これを室外装置は受信して(
ステ・lプ40)、室外マイコンは受信データのパリテ
ィチエ・ツクを行い(ステップ41)、受信したデータ
信号が正しいか否かを判定する(ステップ42)、パリ
ティチエ・ツクの結果、正しcすれは、再送要求か否か
を調べ(ステップ44)、再送要求でなければ、新しい
データにパリティビyl〜を付加して送信する(ステッ
プ46)。ステップ44で再送要求であると判定すると
前回送ったものと同じデータにパリティビ・ソトを付加
して送信する(ステップ45)。ステップ42において
パリティチエツクの結果、誤りである場合は、送信また
は受信が正しく行われなかったとか、ノイズが混入した
とかによってデータが正しく伝送されなかったことにな
るので、再送要求信号を送信する(ステップ43)。以
上のいずれかの送信信号を受信側は受信しくステップ4
0)、以後、以上のステップを繰り返す。
In FIG. 4, the program starts). Then, for example, the indoor microcomputer adds parity bits 1 to 1 to the data signal to be transmitted and transmits it. The outdoor device receives this (
Step 40), the outdoor microcomputer performs a parity check on the received data (Step 41), and determines whether the received data signal is correct (Step 42). checks whether it is a retransmission request (step 44), and if it is not a retransmission request, it adds a parity value to the new data and transmits it (step 46). If it is determined in step 44 that it is a retransmission request, the same data sent last time is sent with parity and soto added (step 45). If the result of the parity check in step 42 is an error, this means that the data was not transmitted correctly due to incorrect transmission or reception, or noise was mixed in, so a retransmission request signal is sent ( Step 43). The receiving side should not receive any of the above transmitted signals.Step 4
0), repeat the above steps.

第5図は送受信される信号の構成例を示す。この例によ
る送信データは、非同期型のシリアルデータであり、1
ビツトの常に”o”であるスタートビット、7ビツトの
データピッI・、1ビツトのバリティビ・ソト及び1ビ
ットの常に”1′であるストップピッ1〜の計10ビッ
トからなる。パリティビットの決定方法は、7個のデー
タビットの内てパ1”のビ・ソトの数が偶数個ならばパ
リティビットを”o”とし、奇数個ならば1”として、
パリティピッI−を含めた8ビツトの中で”1”のビッ
トの数が偶数個になるようにする。
FIG. 5 shows an example of the structure of signals to be transmitted and received. The transmission data in this example is asynchronous serial data, and 1
It consists of a total of 10 bits: a start bit that is always "o", a 7-bit data bit I, a 1-bit barity bit, and a stop bit that is always "1".Method for determining the parity bit If there is an even number of parity bits among the seven data bits, the parity bit is set to "o", and if it is an odd number, the parity bit is set to "1".
The number of "1" bits is made to be an even number among the 8 bits including the parity bit I-.

データを受信したときのパリティチエツクとは例えば、
この8ビツトの中に1”のビットの数が偶数個であれば
正しいと判定し、奇数個であれば誤りがあると判定する
ものである。
For example, the parity check when receiving data is
If the number of 1'' bits among these 8 bits is an even number, it is determined to be correct, and if it is an odd number, it is determined that there is an error.

この実施例では、送信するデータのビット長さをパリテ
ィビットを含めて8ビツトとしたが、ビ・71〜長さは
いくらでもよく、パリティビットさえ付加ずればよい。
In this embodiment, the bit length of the data to be transmitted is 8 bits including the parity bit, but the length may be any length, as long as the parity bit is added.

また、パリティチエツクの方法として、ピッ1への中の
“1″のピッI・の数が偶数個であるか否かをチエツク
したが、これを奇数個であるか否かをチエツクするよう
にパリティピットを決めてもよい。また、”0“′のビ
ットの数を偶数または奇数に決めて、これを調べるよう
にしてもよい。また、送信側は他の検査用信号を付加し
て送信し、受信側はこれを利用して誤りを検出するよう
にしてもよい。
Also, as a parity check method, we checked whether the number of “1” pins in the pin 1 is an even number, but now we can check whether it is an odd number. You may decide on a parity pit. Alternatively, the number of "0" bits may be determined to be an even number or an odd number and this may be checked. Alternatively, the transmitting side may add another test signal and transmitting it, and the receiving side may use this to detect errors.

以上のように、第2実施例においては、送信側は送信す
べきデータ信号にパリティピットを付加して送信し、受
信側はパリティチエツクをして若し誤りを検出すれば再
送を要求し、送信側は再送するようにしたので、データ
伝送の誤りが排除される。
As described above, in the second embodiment, the transmitting side adds parity pits to the data signal to be transmitted and transmits the data signal, and the receiving side performs a parity check and requests retransmission if an error is detected. Since the sending side retransmits data, errors in data transmission are eliminated.

[発明の効果] 以上のようにこの発明によれば、エコーデータの返送、
または、検査用信号を付加して送信することによって、
送受信されたデータをチエツクして万−誤っていた場合
は前回のデータを再送するようにしたので、室内装置と
室外装置との間のデータの送受信が誤りなく行われる信
頼性の高い制御装置が得られる効果がある。
[Effects of the Invention] As described above, according to the present invention, returning echo data,
Alternatively, by adding and transmitting a test signal,
By checking the transmitted and received data and retransmitting the previous data if it is incorrect, a highly reliable control device that can transmit and receive data between indoor and outdoor devices without errors can be created. There are benefits to be gained.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図乃至第7図はこの発明の一実施例による空気調和
機の制御装置を示し、第1図は第1実施例による制御装
置内のマイコンの動作プログラムのフローチャー1〜、
第2図は第1実施例による送受信信号の構成例を示す図
、第3図は第1実施例による制御装置の全体構成図、第
4図は第2実施例による制御装置内のマイコンの動作プ
ログラムのフローチャー)〜、第5図は第2実施例によ
る送受信信号の構成例を示す図、第6図は第2実施例に
よる制御装置の全体構成図、第7図は制御装置のブロッ
ク回路図である。第8図は従来例による制御装置のブロ
ック回路図である。 図において、10は室内装置、20は室外装置である。 なお、図中、同一符号は同一または相当部分を示す。
1 to 7 show a control device for an air conditioner according to an embodiment of the present invention, and FIG. 1 shows flowcharts 1 to 7 of an operation program of a microcomputer in the control device according to the first embodiment.
FIG. 2 is a diagram showing an example of the structure of the transmitted and received signals according to the first embodiment, FIG. 3 is an overall configuration diagram of the control device according to the first embodiment, and FIG. 4 is the operation of the microcomputer in the control device according to the second embodiment. Flow chart of the program) ~, Figure 5 is a diagram showing an example of the configuration of transmitting and receiving signals according to the second embodiment, Figure 6 is an overall configuration diagram of the control device according to the second embodiment, and Figure 7 is a block circuit of the control device. It is a diagram. FIG. 8 is a block circuit diagram of a conventional control device. In the figure, 10 is an indoor device and 20 is an outdoor device. In addition, in the figures, the same reference numerals indicate the same or corresponding parts.

Claims (2)

【特許請求の範囲】[Claims] (1)室内装置と室外装置とでデータの送受信をして運
転の制御をするように構成された空気調和機の制御装置
において、受信側は受信したデータをそのままエコーデ
ータとして送信側へ送り返し、送信側は返送されたエコ
ーデータを送信した元のデータと比較して、異なってい
た場合は元のデータを再び送信するようにしたことを特
徴とする空気調和機の制御装置。
(1) In an air conditioner control device configured to control operation by transmitting and receiving data between an indoor device and an outdoor device, the receiving side sends the received data back to the transmitting side as echo data, A control device for an air conditioner, characterized in that a transmitting side compares the returned echo data with the original transmitted data, and if they are different, transmits the original data again.
(2)室内装置と室外装置とでデータの送受信をして運
転の制御をするように構成された空気調和機の制御装置
において、送信側は送信すべきデータ信号に検査用信号
を付加して送信し、受信側は前記検査用信号を利用して
受信信号の誤りの有無を検査し、誤りを検出した場合は
送信側に再送を要求し、その場合は送信側は元のデータ
を再び送信するようにしたことを特徴とする空気調和機
の制御装置。
(2) In an air conditioner control device that is configured to control operation by transmitting and receiving data between an indoor device and an outdoor device, the transmitting side adds a test signal to the data signal to be transmitted. The receiving side uses the test signal to check whether there is an error in the received signal, and if an error is detected, requests the transmitting side to retransmit, in which case the transmitting side transmits the original data again. A control device for an air conditioner, characterized in that:
JP63322771A 1988-09-29 1988-12-21 Controller for air harmonizor Pending JPH02168793A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63322771A JPH02168793A (en) 1988-09-29 1988-12-21 Controller for air harmonizor

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP24527188 1988-09-29
JP63-245271 1988-09-29
JP63322771A JPH02168793A (en) 1988-09-29 1988-12-21 Controller for air harmonizor

Publications (1)

Publication Number Publication Date
JPH02168793A true JPH02168793A (en) 1990-06-28

Family

ID=26537140

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63322771A Pending JPH02168793A (en) 1988-09-29 1988-12-21 Controller for air harmonizor

Country Status (1)

Country Link
JP (1) JPH02168793A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100513778B1 (en) * 1997-11-19 2005-12-27 삼성전자주식회사 Control signal transmission device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100513778B1 (en) * 1997-11-19 2005-12-27 삼성전자주식회사 Control signal transmission device

Similar Documents

Publication Publication Date Title
JP3862735B2 (en) Secondary station for message communication
CA1301309C (en) Protocol for handling transmission errors over asynchronous communication lines
JPS59163697A (en) Time sharing multiplex system used in electric system of automatically moving object
US6292470B1 (en) Data transmission system and method utilizing history information corresponding to correctly received frames
US20060156203A1 (en) Wireless communications system reducing unnecessary retransmission by means of a correlation value of received data with preamble and a method therefor
US4526010A (en) Separation type air conditioner
JPH02168793A (en) Controller for air harmonizor
JPH01295595A (en) Separate type air-conditioner
JPH01834A (en) Full duplex communication method
JPH0374946A (en) Error control system in data communication
JP2861895B2 (en) Data communication retransmission method and apparatus
JPS63318838A (en) Error control communication method
JP3153013B2 (en) Transmission / reception method of wireless alarm system
JPH0319441A (en) Reply timing control type arq system
JPH01289339A (en) Communication controller
JP2003056891A (en) Indoor unit communication equipment
JPS62219730A (en) Bidirectional data transmission system
JPS58198967A (en) Data transmission system
KR910005384B1 (en) Interfaing method between external computer system and private exchanger
JPH07297810A (en) Data transmission equipment
JPH06268634A (en) Radio communications system
JPH0564264A (en) Data transmission system
JPH06177941A (en) Home bus controller
JPH04274631A (en) Data re-transmission system
JPH04271536A (en) Data signal transmitter-receiver