JPH02171048A - Communication control equipment - Google Patents

Communication control equipment

Info

Publication number
JPH02171048A
JPH02171048A JP32671288A JP32671288A JPH02171048A JP H02171048 A JPH02171048 A JP H02171048A JP 32671288 A JP32671288 A JP 32671288A JP 32671288 A JP32671288 A JP 32671288A JP H02171048 A JPH02171048 A JP H02171048A
Authority
JP
Japan
Prior art keywords
data
signal
sent
outdoor
received
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
JP32671288A
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 JP32671288A priority Critical patent/JPH02171048A/en
Publication of JPH02171048A publication Critical patent/JPH02171048A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

PURPOSE:To prevent a data transmission error by providing a means sending a signal forming a data continuously for a prescribed number of times only and a means receiving a sent signal and reproducing the data when the signal of the same value has a prescribed ratio or above. CONSTITUTION:A data composed in the form of a transmission signal with an indoor circuit control means 1 in an indoor equipment 9 is subjected to a serial processing by an indoor data transmission means 2 and sent outdoor. Then the sent data is received by the outdoor data reception means 3 of an outdoor equipment 10 and a reception data decision means 4 by majority decision confirms the received data. Then the received data is sent to an outdoor circuit control means 5 and used as a control data for a compressor or the like. In this case, the signal forming the data is sent consecutively for the prescribed number of times and the sent signal is received and when the signals of the same value in the plural signals shares a prescribed rate or above, the data is reproduced as the received signal. Thus, correct data reception is attained and the operation reliability is improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、セパレート形空調機の室内機と室外1間の
シリアル信号のデータ受信誤シを少なくすることができ
る制@装置などの通信制御装置に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention is directed to communication control of a control device, etc., which can reduce data reception errors of serial signals between an indoor unit and an outdoor unit of a separate type air conditioner. It is related to the device.

〔従来の技術〕[Conventional technology]

jg5図は例えば特開昭59−464311号公報に示
された従来の空調機の制御装置を示すブロック図である
FIG. 5 is a block diagram showing a conventional air conditioner control device disclosed in, for example, Japanese Patent Laid-Open No. 59-464311.

図において、(5りは室内制御回路でその内部には、室
内制御部(5す、同期信号発生回路(52) 。
In the figure, (5) is an indoor control circuit, inside which is an indoor control section (5), a synchronization signal generation circuit (52).

サイリスタ点弧回路(53)が接続されており室内制御
部(5りには室温サーミスタ(5りが接続されている。
A thyristor ignition circuit (53) is connected, and a room temperature thermistor (5) is connected to the indoor control unit (53).

サイリスタ点弧回路(53)には送信素子(55)がシ
リアル信号ff!fi (56)に直列に接続されてい
る。室外制御回路(58)には、室外制御部(6す。
A transmitting element (55) in the thyristor firing circuit (53) receives a serial signal ff! fi (56). The outdoor control circuit (58) includes an outdoor control section (6).

同期信号発生回路(6りがあシ、受光素子(62)が案
外制御部(6リ に接続されている。また、コンプレッ
サ(63)は電力m (57)に接続されている。
The synchronizing signal generating circuit (6) and the light receiving element (62) are unexpectedly connected to the control unit (6).The compressor (63) is also connected to the electric power (57).

次に動作について説明する。Next, the operation will be explained.

ます、運転を始めるために室内側の電源をONする。案
内制御部(5リ に接続された。室温サーミスタ(54
)で室温の入力を行ない、コンプレッサ(6リ の制御
信号をシリアルデータに変換して。
First, turn on the indoor power to start operation. Guidance control unit (54) connected to room temperature thermistor (54)
) to input the room temperature, and convert the control signal of the compressor (6) into serial data.

サイリスタ点弧回路(53)へ送る。シリアル信号は、
送信素子(55)  kスイッチングして、シリアル信
号H(,56)から室外制御回路(58)へ送られる。
It is sent to the thyristor ignition circuit (53). The serial signal is
The transmitting element (55) performs k switching and is sent from the serial signal H (, 56) to the outdoor control circuit (58).

シリアル信号は受光素子(62)を通り、室外制御部(
60)  Kより信号牌析を行ない、コンプレッサ(6
3)の0N10FF制御金する。
The serial signal passes through the light receiving element (62) and is sent to the outdoor control unit (
60) Perform signal analysis from K and install compressor (6
3) 0N10FF control money.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来の空調機の通信制飾装#iは以上のように構成され
ているので、制御用のデータは室内から室外へ送信され
るだけであp、単発ノイズなどでデータの1・00判定
誤りをおこした場合、室外制御部(6リ は、この誤っ
たデータを使って動作をする。つまり誤動作をおこしや
すいという問題点があった。
Conventional air conditioner communication decoration #i is configured as described above, so control data is only transmitted from indoors to outdoors, and 1.00 error in data judgment due to single noise etc. If this occurs, the outdoor control unit (6) operates using this incorrect data.In other words, there is a problem in that it is prone to malfunction.

この発明は上記のような問題点を解決するためになされ
たもので、伝送の誤シなく行なう通信制御装置を得るこ
とを目的とする。
The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide a communication control device that can perform transmission without errors.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係る通信制飾装fは、データを構成する信号
を所定回数たけ連続して送信できるようにしたものであ
る。あるいは、所定回数たけ連続して送られてきた信号
を受信し、こnらの複数の信号の中で同じ値をもつ信号
が所定の割合以上のとき、これを受信した信号の値とし
てデータを再現するようにしたものである 〔作用〕 この発明における通信制御装置は、データ全構成する信
号を板数回送ることKよυ通信中にノイズ等が混入して
も、同一信号の複数送信のうちの一部が妨害されるたけ
になるため、残シの値から送信信号を正しく再現するこ
とができる。
The communication decoration f according to the present invention is capable of continuously transmitting a signal constituting data a predetermined number of times. Alternatively, when a signal that has been sent consecutively a predetermined number of times is received, and the number of signals with the same value among these multiple signals exceeds a predetermined ratio, this data is used as the value of the received signal. [Function] The communication control device of the present invention is capable of transmitting the signals that make up all the data several times, and even if noise or the like gets mixed in during the communication, it is possible to transmit the same signal multiple times. Since only a portion of the signal is interfered with, the transmitted signal can be correctly reproduced from the remaining values.

〔実施例〕〔Example〕

以下、この発明の一実絶倒全(2)について説明する。 Hereinafter, the completeness (2) of this invention will be explained.

第1囚は本発明の全体構成図である。The first figure is an overall configuration diagram of the present invention.

図において、(9)は室内機、ulは室外機である。In the figure, (9) is an indoor unit, and ul is an outdoor unit.

室内機(9)の室内回路制御手段(りにより、送信信号
の形式に組み立てられたデータに、室内データ送信手段
(2)によジシリアル信号化され、室外へ送イゴされる
。そのデータは室外機a0の室外データ受信手段(31
により受信され、多数決による受信データ決定手段(4
)により、受信したデータの確定か行なわれる。受信し
たデータは室外回路制御手段(51へ送られ、圧縮機等
の制御用データとして使用される。
The data assembled into a transmission signal format by the indoor circuit control means (9) of the indoor unit (9) is converted into a serial signal by the indoor data transmission means (2) and sent to the outside. Outdoor data receiving means (31
received data by majority vote (4).
) to confirm the received data. The received data is sent to the outdoor circuit control means (51) and is used as data for controlling the compressor, etc.

第2図は本発明のブロック回路図である。FIG. 2 is a block circuit diagram of the present invention.

r2Ilは室内制御用マイクロコンピュータでアシ。r2Il is a microcomputer for indoor control.

これにスイッチ入力用マトリクス回i8)が接続されて
いる。又、室内電源回路Oによりこれらに電智)梗m 源を供給する。室内マイクロコンピュータc!11Vc
ハ圧縮機圓、室外電源回路@のための電源リレーにが接
続されている。
A switch input matrix circuit i8) is connected to this. In addition, an electric power source is supplied to these devices by the indoor power supply circuit O. Indoor microcomputer c! 11Vc
The compressor ring and the power relay for the outdoor power circuit @ are connected.

室外へのシリアル信号は、室内シリアル信号入出力回路
c!41を通って出力される。電源はイノバータ回路c
19を通して圧縮機ωへ供給される。又、室外マイクロ
コンピュータ罰に供給するための室外電源回路(2)に
も接続されている。室内からのシリアル信号は室外シリ
アル信号入出力回路@を通して室外マイクロコンピュー
タ匈の入力ボートへ入力される。
The serial signal to the outside is sent to the indoor serial signal input/output circuit c! 41 and is output. Power source is inverter circuit c
19 to the compressor ω. It is also connected to an outdoor power supply circuit (2) for supplying power to the outdoor microcomputer. The serial signal from the room is input to the input port of the outdoor microcomputer through the outdoor serial signal input/output circuit @.

次に本発明の一実施例の動作についてフローチャートを
元に説明する。
Next, the operation of one embodiment of the present invention will be explained based on a flowchart.

第3図は、データを構成する信号をワード単位に分け、
さらにワードをビット単位に分け、各ビットを3回づつ
連続して送る場合、すなわち冗長ビットが2である場合
の室内及び室外側マイクロコンピュータの受信の動作フ
ローチャートである。
Figure 3 shows how the signals that make up the data are divided into words.
It is a flowchart of the reception operation of the indoor and outdoor microcomputers when the word is further divided into bits and each bit is sent three times in succession, that is, when the redundant bit is 2.

プログラムがスタートすると、まず01)で1ピントの
データ受信全行う。次に(至)で受信したデータが1で
あるかOであるかを判定する。1であったならば1の回
数カウンターをインクリメントする。
When the program starts, first all data for one pin is received at 01). Next, in (to), it is determined whether the received data is 1 or O. If it is 1, increment the 1 count counter.

そしてこのカウンターが2以上であるかどうかを丸で判
定し、そうならば田で、受信したデータは1であると決
定する。データはすでに確定してbるので、さらに冗長
ビットがある場合は、読みとばす。次にhuで1ピント
分のデータが読み終わっているかどうかを調べ、終わっ
ていないならば。
Then, use the circle to determine whether this counter is 2 or more, and if so, use the circle to determine that the received data is 1. Since the data has already been determined, if there are any redundant bits, they are skipped. Next, use hu to check whether the data for one focus has been read, and if it has not.

011のデータ受信に戻る。また、送受信単位である1
ワードが読み終わっているかどうかも調べ、終わってい
ないならは6υのデータ受信にもどる。終わっていれは
次の制御ルーチンへ実行を移す。
Return to data reception of 011. Also, 1 is the unit of transmission and reception.
It also checks whether the word has been read, and if it has not, it returns to 6υ data reception. Once finished, execution moves to the next control routine.

3υの1ビツトテータの受信後、□のデータ判定におい
て0であった場合もインクリメントされるカラ/りがO
の回数カウンタである事を除いて1であった場合と同じ
である。なお、これらの判別ルートは1判定またはO判
定のどちらかを少なくとも2回は通る。
After receiving the 1-bit data of 3υ, even if it is 0 in the data judgment of □, the color/number that is incremented is O.
It is the same as when it is 1, except that it is a counter for the number of times. Note that these discrimination routes pass through either the 1 judgment or the O judgment at least twice.

第4図は送信データの構成図である。FIG. 4 is a configuration diagram of transmission data.

送信データは、非同期型のシリアルデータである。1ビ
ツトの常にOであるスタートピットと6ピツトのデータ
、そして1ビツトの常に1であるストップピットの、デ
ータとしては計8ビットからなる。
The transmission data is asynchronous serial data. The data consists of a total of 8 bits: a 1-bit start pit that is always 0, 6 pits of data, and a 1-bit stop pit that is always 1.

また、各々のデータビットは2ビツトの冗長ビットが付
加されるので実際のデータビット長は20ビツトとなる
Furthermore, since 2 redundant bits are added to each data bit, the actual data bit length is 20 bits.

第4因をもとにデータビットの先頭から4ビツト目の所
でのデータ決定方法を具体的に述べる。
Based on the fourth factor, a method for determining data at the fourth bit from the beginning of the data bits will be specifically described.

まずこのピットの1ビツト目は1である。2ビツト目は
ノイズがのってしまい、0と判定してし蒙っても3ビツ
ト目が1であるので、1が2個に対しOが1個であり、
多数決によりこのピットのデータは1であると判定され
る。
First, the first bit of this pit is 1. Noise is added to the 2nd bit, and even if it is determined to be 0, the 3rd bit is 1, so there are 2 1s and 1 O.
The data of this pit is determined to be 1 by majority vote.

なお、上記実施例では、送信するデータの同データ送信
回数を3回とし念が回数は複数回ならばいくらでもよい
。但しあまシ多いとデータの転送時間が長大になってく
る。
Note that in the above embodiment, the number of times the same data is transmitted is three times, but the number of times may be any number of times as long as it is multiple times. However, if there are many errors, the data transfer time will become long.

また、上記実施例では、多数決(つオシ5割以上)をも
って0か1かの判定を行なっていたが。
Further, in the above embodiment, the determination as to whether the value is 0 or 1 is made by majority vote (50% or more).

所定の割合をもって判定規準としてもよい。A predetermined ratio may be used as the criterion.

また、上記実施例では、1ビツトを送信単位として複数
回送信したが、送信単位は1ピット単位でなくてもよく
複数ビット、あるいはその他の単位であってもよい。
Further, in the above embodiment, one bit is used as a transmission unit and is transmitted multiple times, but the transmission unit does not have to be one pit, and may be a plurality of bits or other units.

また、上記実施例では、シリアルデータ伝送の場合を示
したが、パラレルデータ伝送の場合でもよい。たとえは
8本の信号線に同時に信号を送れるときは、8ビツトが
同時にパラレルに送信可能となり、この送信を複数回連
続して送信して2割合の多い値を受信データ値としても
よい。
Furthermore, although the above embodiments have shown the case of serial data transmission, parallel data transmission may also be used. For example, when signals can be sent to eight signal lines simultaneously, eight bits can be transmitted in parallel at the same time, and this transmission may be performed several times in succession to obtain a value that is 2% higher than the received data value.

また、上記実施例では空調機の通信制御装置の場合を示
したが、他の装置の通信制御装置でもよい。
Further, although the above embodiments have been described in the case of a communication control device for an air conditioner, the communication control device for other devices may be used.

与 談た2通信制御装置は、送信と受信の両機能なくてもよ
く、送信のみ、受信のみの機能だけの場合でもよい。
The two communication control devices mentioned above do not need to have both transmission and reception functions, and may have only transmission and reception functions.

〔発明の効果〕 以上のように、この発明によれは、データを正しく受信
したかどうか1判別が可能となシ、かつ送信側に対し、
データの再送要求をすることなく。
[Effects of the Invention] As described above, according to the present invention, it is possible to determine whether or not data has been received correctly, and it is possible to
without requesting data retransmission.

正しいデータ受信が可能となるので動作の信頼性同上と
なる。
Since it becomes possible to receive correct data, the reliability of operation becomes the same as above.

又1通信信号ラインを持つ機種ならば、これらはすべて
マイクロコンピュータのプログラムにより実施している
のでコストアップにならないというメリットもある。
In addition, in the case of a model having one communication signal line, there is an advantage that there is no increase in cost since all of these are implemented by a microcomputer program.

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

第1図は2本発明の全体構成図。 第2囚は1本発明のブロック図。 第3図は1本発明の一実施例を示す、室内外機用データ
受信のプログラムフローチャート。 第4図は1本発明の一実施例を示す、送受信データの構
成図。 第5図は、従来の通信制御装置のブロック図である。 (11・・・室内回路制御手段。 (21・・・室内データ送信手段。 (3)・・・室外データ受信手段。 +41・・・データ決定手段。 15)・・・室外回路制御手段。 (6)・・・室外データ送信手段。 (71・・・室内データ受信手段。 (8)・・・データ決定手段。 Qト・・室内制御用マイクロコンピュータ。 ■・・・スイッチ入力用マトリクス回路。 Ω・・・室内を源回路。 ci心・・・室内シリアル信号入出力回路。 呟・・・電源リレー (至)・・・室外シリアル信号入出力回路。 ■・・・室外ff111 両用マイクロコンピュータ。 (2)・・・室外を源回路。 ■・・・イノバータ回+16゜ 第 図
FIG. 1 is an overall configuration diagram of the present invention. The second prisoner is a block diagram of the present invention. FIG. 3 is a program flowchart for receiving data for an indoor/outdoor unit, showing an embodiment of the present invention. FIG. 4 is a configuration diagram of transmitted and received data showing an embodiment of the present invention. FIG. 5 is a block diagram of a conventional communication control device. (11... Indoor circuit control means. (21... Indoor data transmission means. (3)... Outdoor data reception means. +41... Data determination means. 15)... Outdoor circuit control means. 6)... Outdoor data transmitting means. (71... Indoor data receiving means. (8)... Data determining means. Qt... Microcomputer for indoor control. ■... Matrix circuit for switch input. Ω...Indoor source circuit. CI heart...Indoor serial signal input/output circuit. Mutter...Power relay (to)...Outdoor serial signal input/output circuit. ■...Outdoor FF111 dual-use microcomputer. (2)...Outdoor source circuit. ■...Innovator times +16° Diagram

Claims (1)

【特許請求の範囲】 少なくとも以下のいずれかの手段を持つ通信制御装置 (a)データを構成する信号を送信するとき、この信号
を所定の数だけ連続して送信する手段、(b)上記の手
段により送信された複数の信号を受信し、これらの複数
の信号の中の同じ値をもつ信号の数が所定の割合以上の
とき、この信号の値を受信した信号の値とし、データを
再現する手段。
[Claims] A communication control device having at least one of the following means: (a) means for continuously transmitting a predetermined number of signals when transmitting a signal constituting data; (b) means for transmitting a predetermined number of signals in succession; When a plurality of signals transmitted by means are received and the number of signals having the same value among these plurality of signals is equal to or greater than a predetermined ratio, the value of this signal is set as the value of the received signal and the data is reproduced. means to do.
JP32671288A 1988-12-24 1988-12-24 Communication control equipment Pending JPH02171048A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32671288A JPH02171048A (en) 1988-12-24 1988-12-24 Communication control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32671288A JPH02171048A (en) 1988-12-24 1988-12-24 Communication control equipment

Publications (1)

Publication Number Publication Date
JPH02171048A true JPH02171048A (en) 1990-07-02

Family

ID=18190835

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32671288A Pending JPH02171048A (en) 1988-12-24 1988-12-24 Communication control equipment

Country Status (1)

Country Link
JP (1) JPH02171048A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105757878A (en) * 2016-02-19 2016-07-13 广东美的暖通设备有限公司 Communication data encoding and decoding method and device and air conditioner

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105757878A (en) * 2016-02-19 2016-07-13 广东美的暖通设备有限公司 Communication data encoding and decoding method and device and air conditioner
CN105757878B (en) * 2016-02-19 2018-07-27 广东美的暖通设备有限公司 The encoding and decoding method, apparatus and air conditioner of communication data

Similar Documents

Publication Publication Date Title
US5291343A (en) Audio/video system for television receiver, video cassette recorder, and so forth
JPS5947905B2 (en) Information transmission method using a common transmission path
US5579496A (en) Method and apparatus for processing control instructions received from multiple sources connected to a communication bus
EP0074672B1 (en) Asynchronous data bus system
JPS62253245A (en) Data communication network
GB2383507A (en) Cascade system for network units using loop-back
US4034346A (en) Interface for establishing communications between a data-processing unit and a plurality of stations
US5185862A (en) Apparatus for constructing data frames for transmission over a data link
JPH0347786B2 (en)
JPH02171048A (en) Communication control equipment
JPS61100046A (en) Loop transmission method
JPH01288133A (en) Signal transmission equipment
JPH08172676A (en) Communication controller
JPS59134943A (en) Data communication system
KR100225642B1 (en) Communicating method for air conditioner
JPH0787067A (en) Two-way signal transmission system
JPH0787576A (en) Remote control method for equipment
JPS5928745A (en) Information transfer system
JPH0710117B2 (en) Remote control method
JPH05134062A (en) Time synchronizing method for process monitoring apparatus
SU553610A1 (en) Interface device
JPS62162843A (en) System for controlling air conditioner
JPS62253298A (en) Air conditioner
JPH02196596A (en) Communication control method
JPS63128832A (en) Master station input/output port variable setting method for multiplex transmission system