JPH07131863A - Communication equipment for working vehicle - Google Patents

Communication equipment for working vehicle

Info

Publication number
JPH07131863A
JPH07131863A JP5277978A JP27797893A JPH07131863A JP H07131863 A JPH07131863 A JP H07131863A JP 5277978 A JP5277978 A JP 5277978A JP 27797893 A JP27797893 A JP 27797893A JP H07131863 A JPH07131863 A JP H07131863A
Authority
JP
Japan
Prior art keywords
data
control unit
terminal control
central control
communication
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
JP5277978A
Other languages
Japanese (ja)
Inventor
Katsuya Usui
克也 臼井
Shigeki Hayashi
繁樹 林
Masaru Kawane
勝 川根
Yasunori Sueyoshi
康則 末吉
Masahiko Shimano
雅彦 嶋野
Hiromichi Andou
寛通 安東
Hideaki Tanaka
秀明 田中
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.)
Kubota Corp
Original Assignee
Kubota 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 Kubota Corp filed Critical Kubota Corp
Priority to JP5277978A priority Critical patent/JPH07131863A/en
Publication of JPH07131863A publication Critical patent/JPH07131863A/en
Pending legal-status Critical Current

Links

Landscapes

  • Guiding Agricultural Machines (AREA)
  • Combines (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
  • Selective Calling Equipment (AREA)

Abstract

PURPOSE:To share terminal control parts by eliminating a need of adjusting work of the transmission timing in each terminal control part. CONSTITUTION:A central control part CU and plural terminal control parts LU3 and LU4 distributedly arranged in respective parts of a machine body are communicatably connected through a wired communication means by designation of addresses to terminal control parts LU3 and LU4, and each of terminal control parts LU3 and LU4 sets the transmission timing of return data to the central control part CU at random based on data of a random data generating means, which generates random data, to transmit the return data after receiving communication data from the central control part CU, and the central control part CU judges that the communication with the terminal control part LU3 or LU4 is abnormal if return data from the addressed terminal control part LU3 or LU4 is different from normal data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、中央制御部と機体各部
に分散配置される複数個の端末制御部とが、有線式の通
信手段を介して前記各端末制御部に対するアドレスを指
定して多重通信可能に接続され、前記各端末制御部が、
前記中央制御部からの通信データの受信を確認した後、
前記中央制御部に返信データを送信するように構成され
た作業車用の通信装置に関する。
BACKGROUND OF THE INVENTION The present invention relates to a central control unit and a plurality of terminal control units distributed in respective units of an airframe, which specify addresses for the respective terminal control units via wired communication means. Each terminal control unit is connected to enable multiplex communication,
After confirming the reception of communication data from the central control unit,
The present invention relates to a communication device for a work vehicle configured to transmit reply data to the central control unit.

【0002】[0002]

【従来の技術】上記作業車用の通信装置は、コンバイン
等の作業車において、例えば、作業車全体を集中制御す
る中央制御部と、制御情報検出用のセンサ類や各作業部
作動用のアクチュエータ類に対して信号の入出力を行う
複数個の端末制御部とが、各端末制御部に対するアドレ
スを指定して対象となる端末制御部を識別しながら例え
ばRS485等の規格を利用した有線式の通信手段を介
して、センサ類の検出データやアクチュエータ類駆動用
の制御データ等の各種のデータを送受信することによ
り、中央制御部とセンサ類及びアクチュエータ類を直接
接続する場合の信号配線の複雑大量化を回避させる目的
で使用されていた。
2. Description of the Related Art In a work vehicle such as a combine, a communication device for a work vehicle described above includes, for example, a central control unit for centrally controlling the work vehicle, sensors for detecting control information, and actuators for operating each work unit. A plurality of terminal control units for inputting and outputting signals to and from a class identify a target terminal control unit by designating an address for each terminal control unit, for example, a wired type using a standard such as RS485. By transmitting and receiving various data such as sensor detection data and control data for driving actuators via the communication means, a large amount of complicated signal wiring when directly connecting the central control unit to the sensors and actuators It was used for the purpose of avoiding conversion.

【0003】そして、従来、配線ミス等によって複数の
端末制御部に誤って同一のアドレスが設定された場合
に、そのアドレスが指定されて複数の端末制御部から中
央制御部に同時に返信データが送信されたときにも通信
エラーとして検出できるように、例えば、各端末制御部
において、中央制御部からの通信データの受信を確認し
た後、中央制御部への返信データの送信するタイミング
を各端末制御部で所定時間ずつずらし、中央制御部が複
数の端末制御部からのデータを受信したときにデータ長
が正規のデータよりも長くなることで通信エラーを検出
するようにしていた(例えば特開平3‐110997号
公報参照)。
Conventionally, when the same address is erroneously set in a plurality of terminal control units due to a wiring mistake or the like, the address is designated and the reply data is simultaneously transmitted from the plurality of terminal control units to the central control unit. In order to be able to detect a communication error even when it is sent, for example, in each terminal control unit, after confirming the reception of the communication data from the central control unit, the timing of transmitting the reply data to the central control unit is controlled by each terminal control unit. When the central control unit receives data from a plurality of terminal control units, the data length becomes longer than the regular data so that a communication error is detected (for example, Japanese Patent Laid-Open No. HEI 3). -110997).

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来技術では、各端末制御部において中央制御部への返信
データの送信タイミングを所定時間ずつずらすように調
整する必要があり、その送信タイミング調整作業が煩わ
しいとともに、そのタイミング調整された端末制御部
(具体的には回路基板等)は各端末制御部専用となるた
めに、例えば製造用やメンテナンス用に複数種用意する
必要があり、保管管理が面倒である等の不具合があっ
た。
However, in the above-mentioned prior art, it is necessary for each terminal control unit to adjust the transmission timing of the reply data to the central control unit so as to be shifted by a predetermined time, and the transmission timing adjustment work is required. In addition to being cumbersome, the timing-adjusted terminal control unit (specifically, the circuit board, etc.) is dedicated to each terminal control unit, so it is necessary to prepare multiple types for manufacturing and maintenance, for example, and storage management is troublesome. There was a problem such as being.

【0005】本発明は、上記実情に鑑みてなされたもの
であって、その目的は、上記従来技術の不具合を解消さ
せるべく、各端末制御部において上記送信タイミングの
調整作業を不要にし、端末制御部の共用化を図ることに
ある。
The present invention has been made in view of the above circumstances, and an object thereof is to eliminate the above-mentioned work of adjusting the transmission timing in each terminal control unit in order to solve the problems of the above-mentioned prior art, and to control the terminal. It is to share the department.

【0006】[0006]

【課題を解決するための手段】本発明による作業車用の
通信装置の第1の特徴構成は、前記各端末制御部は、ラ
ンダムデータを発生するランダムデータ発生手段を備
え、そのランダムデータ発生手段のデータに基づいて前
記中央制御部への返信データの送信タイミングをランダ
ム設定するように構成され、前記中央制御部は、アドレ
ス指定した前記端末制御部からの返信データが正規デー
タと異なる場合にその端末制御部との通信が異常である
と判断するように構成されている点にある。
According to a first characteristic configuration of a communication device for a work vehicle according to the present invention, each of the terminal control units is provided with random data generating means for generating random data, and the random data generating means is provided. Is configured to randomly set the transmission timing of the reply data to the central control unit based on the data of the, the central control unit, when the reply data from the addressed terminal control unit is different from the regular data, It is configured to determine that the communication with the terminal control unit is abnormal.

【0007】又、第2の特徴構成は、前記各端末制御部
は、制御情報検出用のセンサ類からの検出信号の入力及
びその入力データの前記中央制御部への送信、並びに、
前記中央制御部からの制御データの受信及びその受信デ
ータに基づくアクチュエータ類に対する駆動信号の出力
を実行し、前記中央制御部は、前記端末制御部からの送
信データに基づいて、前記各端末制御部のアクチュエー
タ類に対する適正駆動内容を判定して、その適正駆動内
容を前記制御データとして送信するように構成されてい
る点にある。
The second characteristic configuration is that each of the terminal control units inputs a detection signal from sensors for detecting control information and transmits the input data to the central control unit, and
Receiving control data from the central control unit and outputting drive signals to actuators based on the received data, the central control unit, based on the transmission data from the terminal control unit, each terminal control unit It is configured to determine the proper drive content for the actuators and transmit the proper drive content as the control data.

【0008】[0008]

【作用】本発明の第1の特徴構成によれば、中央制御部
が各端末制御部に対してアドレスを指定して通信データ
を送信すると、各端末制御部は、指定されたアドレスと
自己のアドレスとを比較して両アドレスが一致したとき
に、中央制御部からの通信データの受信を確認した後、
ランダムデータ発生手段のデータに基づいて中央制御部
への返信データの送信タイミングをランダム設定して中
央制御部に返信データを送信する。ここで、アドレス設
定の誤り等によって複数の端末制御部から同時に中央制
御部に返信データが送信されると、中央制御部が受信す
る返信データはタイミングがランダムにずれた複数の返
信データが重なって正規データと異なるものになり、中
央制御部は、アドレス指定した端末制御部からの返信デ
ータが正規データと異なることから、そのアドレス指定
した端末制御部との通信が異常であると判断する。
According to the first characteristic configuration of the present invention, when the central control unit designates an address to each terminal control unit and transmits communication data, each terminal control unit determines its own address and its own address. After comparing the address and when both addresses match, after confirming the reception of communication data from the central control unit,
The transmission timing of the reply data to the central control unit is randomly set based on the data of the random data generating means, and the reply data is transmitted to the central control unit. Here, when reply data is simultaneously transmitted from the plurality of terminal control units to the central control unit due to an address setting error or the like, the reply data received by the central control unit is a plurality of reply data whose timings are randomly shifted. Since it is different from the regular data, and the reply data from the addressed terminal control unit is different from the regular data, the central control unit determines that the communication with the addressed terminal control unit is abnormal.

【0009】又、第2の特徴構成によれば、各端末制御
部は、中央制御部から指定されたアドレスと自己のアド
レスとが一致すると、制御情報検出用のセンサ類から入
力した検出データを中央制御部に送信したり、中央制御
部からの制御データに基づいてアクチュエータ類に対し
て駆動信号を出力したりする。一方、中央制御部は、ア
ドレス指定した端末制御部からの送信データ即ち上記セ
ンサ類の検出データに基づいて、アクチュエータ類に対
する適正駆動内容を判定し、その適正駆動内容を制御デ
ータとして端末制御部に対してアドレス指定して送信す
る。
Further, according to the second characteristic configuration, each terminal control unit, when the address designated by the central control unit and its own address match, the detection data input from the sensors for detecting control information. It transmits to the central control unit or outputs a drive signal to actuators based on control data from the central control unit. On the other hand, the central control unit determines the proper drive content for the actuators based on the transmission data from the addressed terminal control unit, that is, the detection data of the sensors, and the proper drive content is sent to the terminal control unit as control data. Specify the address and send.

【0010】[0010]

【発明の効果】従って、本発明の第1の特徴構成によれ
ば、各端末制御部において従来必要であった中央制御部
への返信データの送信タイミングの調整作業が不要とな
って、各端末制御部の製作作業等が簡素化されるととも
に、1つの端末制御部が機体各部の端末制御部のいずれ
にも使用できて端末制御部(具体的には回路基板等)の
共用化を図ることができ、例えば製造用やメンテナンス
用に複数種必要となって保管管理が面倒である等の不具
合が解消されるに至った。
Therefore, according to the first characteristic configuration of the present invention, the adjustment work of the transmission timing of the reply data to the central control unit, which is conventionally required in each terminal control unit, is unnecessary, and each terminal is not required. Manufacturing work of the control unit is simplified, and one terminal control unit can be used for any of the terminal control units of each part of the machine, and the terminal control unit (specifically, circuit board etc.) can be shared. Therefore, for example, a plurality of types are required for manufacturing and maintenance, and troubles such as troublesome storage management are solved.

【0011】又、第2の特徴構成によれば、例えばコン
バイン等の作業車の制御において、中央制御部とセンサ
類及びアクチュエータ類を直接接続する場合の信号配線
の複雑大量化を回避しながら、中央制御部が作業車全体
の制御を集中して行うために、アドレスを指定して対象
となる端末制御部を識別しながら有線式の通信手段を介
して各端末制御部からセンサ類の検出データを受信した
り、あるいは、各端末制御部に対してアクチュエータ類
駆動用の制御データを送信する場合に、アドレス指定し
た各端末制御部との通信が正常であるかどうかが確実に
判断でき、もって、高い信頼性が要求される作業車制御
において機体各部の制御部間の各種制御データの通信用
として好適な通信装置が得られる。
Further, according to the second characteristic configuration, in controlling a working vehicle such as a combine, while avoiding a large complication of signal wiring when directly connecting the central control unit to the sensors and actuators, In order for the central control unit to centrally control the entire work vehicle, the sensor detection data from each terminal control unit is specified via the wired communication means while specifying the address to identify the target terminal control unit. When receiving or sending control data for driving actuators to each terminal control unit, it can be surely determined whether communication with each addressed terminal control unit is normal. Therefore, in the work vehicle control that requires high reliability, a communication device suitable for communication of various control data between the control units of each unit of the machine body can be obtained.

【0012】[0012]

【実施例】以下、本発明の実施例を、作業車としてのコ
ンバインに適用した場合について図面に基づいて説明す
る。
Embodiments of the present invention will be described below with reference to the drawings when applied to a combine as a work vehicle.

【0013】コンバインにおいては、例えば、機体が植
立穀稈に沿って自動的に走行するように操向操作する操
向制御や、刈取穀稈の扱室での扱深さが適正範囲内に維
持されるように自動調節する扱深さ制御や、藁屑等が混
じった扱き処理物から穀粒を選別回収する選別制御や、
選別回収された穀粒を一時貯溜するタンクから外部に排
出するオーガの作動制御や、走行地面の状態にかかわら
ず機体の姿勢を水平姿勢等の所定姿勢に維持する姿勢制
御等、各種の制御が行われる。
In the combine harvester, for example, steering control for steering the machine so that the machine automatically travels along the planted culm, and the handling depth of the harvested culm in the handling room is within an appropriate range. Handling depth control that automatically adjusts so that it is maintained, sorting control that sorts and collects grains from handling waste mixed with straw waste, etc.
Various controls such as operation control of the auger that discharges the sorted and collected grains from the tank that temporarily stores them to the outside, and posture control that maintains the posture of the aircraft in a predetermined posture such as horizontal posture regardless of the state of the running ground Done.

【0014】そのために、図1に示すように、コンバイ
ン全体の制御を集中して実行するための中央制御部CU
と、刈取ブロック1、脱穀ブロック2、タンクブロック
3及び本機ブロック4等からなる機体各部に分散配置さ
れる複数個の端末制御部LU1〜5とが、有線式の通信
手段Tを介して各端末制御部LU1〜5に対して設定さ
れるアドレスを指定して多重通信可能に接続されてい
る。そして、中央制御部CUが、ポーリングセレクティ
ング方式にて各端末制御部LU1〜5と通信を実行し、
各端末制御部LU1〜5は、中央制御部CUからの通信
データ(ポーリング信号)の受信を確認した後、中央制
御部CUに返信データを送信するように構成されている
(図11参照)。
Therefore, as shown in FIG. 1, a central control unit CU for centrally executing control of the entire combine.
And a plurality of terminal control units LU1 to LU5 dispersedly arranged in respective parts of the machine body including the mowing block 1, the threshing block 2, the tank block 3, the main machine block 4 and the like, via the wired communication means T. Addresses set for the terminal control units LU1 to LU5 are designated and connected so that multiplex communication is possible. Then, the central control unit CU executes communication with each of the terminal control units LU1 to 5 by the polling selecting method,
Each of the terminal control units LU1 to LU5 is configured to transmit reply data to the central control unit CU after confirming reception of communication data (polling signal) from the central control unit CU (see FIG. 11).

【0015】又、各端末制御部LU1〜5は、制御情報
検出用のセンサ類SWからの検出信号の入力及びその入
力データの中央制御部CUへの送信、並びに、中央制御
部CUからの制御データの受信及びその受信データに基
づくアクチュエータ類M,L,Bに対する駆動信号の出
力を実行するように構成され、中央制御部CUは、各端
末制御部LU1〜5からの送信データに基づいて、各端
末制御部LU1〜5のアクチュエータ類M,L,Bに対
する適正駆動内容を判定して、その適正駆動内容を制御
データとして送信するように構成されている。尚、前記
センサ類SWは、各種の制御情報をON/OFFの二値
情報として検出する複数個のスイッチSW等からなり、
前記アクチュエータ類M,L,Bは、電動モータM、ソ
レノイドL、警報ブザーB等からなる。
Further, each of the terminal control units LU1 to LU5 inputs a detection signal from the sensors SW for detecting control information, transmits the input data to the central control unit CU, and controls from the central control unit CU. The central control unit CU is configured to execute reception of data and output of drive signals to the actuators M, L, B based on the received data, and the central control unit CU, based on the transmission data from each of the terminal control units LU1 to 5, It is configured to determine the proper drive content for the actuators M, L, B of each of the terminal control units LU1 to 5 and to transmit the proper drive content as control data. The sensors SW are composed of a plurality of switches SW which detect various control information as ON / OFF binary information,
The actuators M, L, B include an electric motor M, a solenoid L, an alarm buzzer B and the like.

【0016】図2に示すように、前記中央制御部CU
は、制御用の演算処理部としてのマイクロコンピュータ
CPU1、そのマイクロコンピュータCPU1と前記通
信手段Tとの間でのデータ授受を中継する中央側のゲー
トアレイGA1、及び、上記マイクロコンピュータCP
U1とゲートアレイGA1との間でデータ授受及び各端
末制御部LU1〜5に対する通信制御を実行する通信用
演算処理部としてのマイクロコンピュータCPU2を備
えて構成されている。尚、上記2つのマイクロコンピュ
ータCPU1,CPU2間、及びマイクロコンピュータ
CPU2とゲートアレイGA1の間のデータ授受は8ビ
ットのバスラインを介して行われる。
As shown in FIG. 2, the central control unit CU
Is a microcomputer CPU1 as an arithmetic processing unit for control, a central gate array GA1 for relaying data exchange between the microcomputer CPU1 and the communication means T, and the microcomputer CP.
It comprises a microcomputer CPU2 as a communication arithmetic processing unit for exchanging data between U1 and the gate array GA1 and performing communication control for each terminal control unit LU1-5. Data transmission / reception between the two microcomputers CPU1 and CPU2 and between the microcomputer CPU2 and the gate array GA1 is performed via an 8-bit bus line.

【0017】上記制御用のマイクロコンピュータCPU
1は、ポテンショメータ等の連続的に変化する情報を検
出するアナログ式センサからのアナログ信号や、回転数
等を検出するためのパルス式センサからのパルス信号を
入力ポートPort1,2を介して入力し、又、上記制
御用のマイクロコンピュータCPU1には、E2 ROM
等の不揮発性のメモリMEMが接続され、このメモリM
EMに各種のエラー情報等が記憶されるようになってい
る。図中、PS1は、前記マイクロコンピュータCPU
1,CPU2及びゲートアレイGA1等に対して電源電
圧並びに電源ON時のリセット信号を供給する直流電圧
源である。
Microcomputer CPU for controlling the above
1 inputs an analog signal from an analog type sensor that detects continuously changing information such as a potentiometer or a pulse signal from a pulse type sensor that detects the number of revolutions, etc. through input ports Port1 and Port2. In addition, the control microcomputer CPU1 has an E 2 ROM.
Is connected to a non-volatile memory MEM such as
Various error information and the like are stored in the EM. In the figure, PS1 is the microcomputer CPU
1, a DC voltage source that supplies a power supply voltage and a reset signal when the power is turned on to the CPU 2, the gate array GA1, and the like.

【0018】一方、図2に示すように、各端末制御部L
U1〜5は、センサ類SW及びアクチュエータ類M,
L,Bと通信手段Tとの間でのデータ授受を中継する端
末側のゲートアレイGA2を備え、又、各端末制御部L
U1〜5に対するアドレス信号を発生するアドレス信号
発生手段としての4本のハーネスAD1〜4が、アース
に接続されたLOWレベル電圧のハーネスと無接続状態
のハーネスを組み合わせて設けられている。そして、上
記ハーネスAD1〜4、センサ類SW及びアクチュエー
タ類M,L,Bが、一体形成されたコネクタCNを介し
て各端末制御部LU1〜5に接続されている。具体的に
は、ハーネスAD1〜4は、上記ゲートアレイGA2の
アドレス設定用の外部端子A0〜A3に接続され、セン
サ類SW及びアクチュエータ類M,L,Bは、夫々信号
処理回路及び駆動回路を経てゲートアレイGA2の入出
力ポートに接続されている。尚、図中、PS2は、ゲー
トアレイGA2等に電源電圧を供給する直流電圧源であ
る。
On the other hand, as shown in FIG. 2, each terminal control unit L
U1 to 5 are sensors SW and actuators M,
The terminal side gate array GA2 for relaying data exchange between L and B and the communication means T is provided, and each terminal control unit L
Four harnesses AD1 to AD4 as address signal generating means for generating address signals to U1 to 5 are provided by combining a harness of a LOW level voltage connected to the ground and a harness in a non-connection state. The harnesses AD1 to 4, the sensors SW, and the actuators M, L, and B are connected to the respective terminal control units LU1 to LU5 via the integrally formed connector CN. Specifically, the harnesses AD1 to 4 are connected to the external terminals A0 to A3 for address setting of the gate array GA2, and the sensors SW and the actuators M, L, and B respectively include a signal processing circuit and a driving circuit. After that, it is connected to the input / output port of the gate array GA2. In the figure, PS2 is a DC voltage source that supplies a power supply voltage to the gate array GA2 and the like.

【0019】前記通信手段Tは、例えばRS485の規
格を利用して構成され、図2に示すように、2線式の通
信ラインLnと、中央制御部CU及び各端末制御部LU
1〜5における通信ラインLnとの接点に設けられる通
信ドライバーDRとからなり、各通信ドライバーDR
は、各ゲートアレイGA1,2から受け取った送信デー
タをRS485等の規格に合った信号に変換して通信ラ
インLnに出力する一方、通信ラインLn上の信号を入
力して、その受信データを各ゲートアレイGA1,2に
出力するように動作する。
The communication means T is constructed using, for example, the RS485 standard, and as shown in FIG. 2, a two-wire communication line Ln, a central control unit CU, and each terminal control unit LU.
1 to 5 and a communication driver DR provided at a contact point with the communication line Ln.
Converts the transmission data received from each of the gate arrays GA1 and GA2 into a signal conforming to the standard such as RS485 and outputs the signal to the communication line Ln, while inputting the signal on the communication line Ln and receiving the received data. It operates so as to output to the gate arrays GA1 and GA2.

【0020】前記中央側のゲートアレイGA1と端末側
のゲートアレイGA2とは、中央側として使用するため
の中央側用構成部分及び端末側として使用するための端
末側用構成部分を備える状態に形成された同仕様のゲー
トアレイGAに構成されている。以下、図3に基づいて
具体的に説明する。
The center-side gate array GA1 and the terminal-side gate array GA2 are formed so as to include a center-side constituent part for use as the center side and a terminal-side constituent part for use as the terminal side. The same gate array GA of the same specifications is configured. Hereinafter, a specific description will be given with reference to FIG.

【0021】前記ゲートアレイGAは、図3(イ)に示
すように、MODE端子をLOWレベルにすると内部回
路が中央側のゲートアレイGA1として機能するマスタ
ーモードに切り換えられ、このマスターモードでは、ゲ
ートアレイGAは、CPU2とバスラインを介して入出
力するデータを保持する入出力バッファ11と、この入
出力バッファ11からの送信用のパラレルデータを保持
する送信バッファ13と、この送信バッファ13のパラ
レルデータをシリアルデータに並列直列変換するP/S
変換部14と、このP/S変換部14からのシリアルデ
ータにCRC生成部15からの誤り検出用のCRCデー
タを付加したものを送信データとして送出する通信コン
トロール回路16と、受信したシリアルデータを直列並
列変換するS/P変換部18と、受信したシリアルデー
タについてCRC等のチェックを行い通信エラーの有無
を検出するエラー検出部17と、S/P変換部18から
のパラレルデータ及びエラー検出部17からのエラーデ
ータを保持して入出力バッファ11に出力する受信バッ
ファ19と、CPU2からデータ入出力時の制御信号で
あるR/W(リード・ライト)信号及びSTB(データ
ストローブ)信号を入力し又CPU2に対する割り込み
INT信号を出力するCPUI/F部12とを備える構
成になる。
As shown in FIG. 3A, the gate array GA is switched to a master mode in which the internal circuit functions as the gate array GA1 on the center side when the MODE terminal is set to the LOW level. The array GA includes an input / output buffer 11 for holding data to be input / output to / from the CPU 2 via a bus line, a transmission buffer 13 for holding parallel data for transmission from the input / output buffer 11, and a parallel of the transmission buffer 13. P / S that converts data into serial data in parallel / serial
The conversion unit 14, the communication control circuit 16 for transmitting the serial data from the P / S conversion unit 14 to which the CRC data for error detection from the CRC generation unit 15 is added as transmission data, and the received serial data S / P converter 18 for serial / parallel conversion, error detector 17 for checking the received serial data such as CRC to detect the presence / absence of communication error, and parallel data / error detector from S / P converter 18 The receiving buffer 19 which holds the error data from 17 and outputs it to the input / output buffer 11, and the R / W (read / write) signal and STB (data strobe) signal which are control signals at the time of data input / output from the CPU 2 are input. In addition, the CPU I / F unit 12 that outputs an interrupt INT signal to the CPU 2 is provided.

【0022】又、前記ゲートアレイGAは、図3(ロ)
に示すように、MODE端子をHIGHレベルにすると
内部回路が端末側のゲートアレイGA2として機能する
スレーブモードに切り換えられ、このスレーブモードで
は、ゲートアレイGAは、前記スイッチSW及びアクチ
ュエータ類M,L,Bに対してデータを入出力する入出
力ポート21と、この入出力ポート21を介して入力し
た各スイッチSWからの検出信号をパラレルデータとし
て保持する送信バッファ13と、この送信バッファ13
のパラレルデータをシリアルデータに並列直列変換する
P/S変換部14と、このP/S変換部14からのシリ
アルデータにCRC生成部15からの誤り検出用のCR
Cデータを付加したものを送信データとして送出する通
信コントロール回路16と、受信したシリアルデータを
直列並列変換するS/P変換部18と、受信したシリア
ルデータについてCRC及びアドレス等のチェックを行
い通信エラーの有無を検出するエラー検出部17と、S
/P変換部18からのパラレルデータ及びエラー検出部
17からのエラーデータを保持して入出力ポート21に
出力する受信バッファ19と、各端末制御部LU1〜5
に対するアドレスを設定するためのアドレス設定部22
とを備える構成になる。
The gate array GA is shown in FIG.
As shown in FIG. 7, when the MODE terminal is set to the HIGH level, the internal circuit is switched to the slave mode in which it functions as the gate array GA2 on the terminal side. In this slave mode, the gate array GA has the switch SW and the actuators M, L, An input / output port 21 for inputting / outputting data to / from B, a transmission buffer 13 for holding the detection signal from each switch SW input through the input / output port 21 as parallel data, and the transmission buffer 13
P / S converter 14 for parallel-serial converting the parallel data of the above into serial data, and an error detection CR from the CRC generator 15 for the serial data from this P / S converter 14.
The communication control circuit 16 which sends out the data to which the C data is added as the transmission data, the S / P converter 18 which converts the received serial data into serial / parallel, and the CRC and the address of the received serial data are checked to make a communication error. Error detection unit 17 for detecting the presence or absence of
A reception buffer 19 that holds the parallel data from the / P conversion unit 18 and the error data from the error detection unit 17 and outputs the data to the input / output port 21, and the terminal control units LU1 to LU5.
Address setting unit 22 for setting an address for
It becomes the composition provided with.

【0023】以上より、CPUI/F部12が前記中央
側用構成部分に、アドレス設定部22が前記端末側用構
成部分に夫々対応し、上記CPUI/F部12及びアド
レス設定部22以外のゲートアレイGAの主要部分は、
同一の部番にて示すように中央側及び端末側として共用
される。又、前記入出力ポート21は、各8ビットから
なる3つのポートA,B,Cで構成され、アドレス0の
端末制御部LU3のポートA及びBが入力ポートに、ポ
ートCが出力ポートに夫々設定され、アドレス1の端末
制御部LU4のポートAが入力ポートに、ポートB及び
Cが出力ポートに夫々設定されている。尚、マスターモ
ードでの入出力バッファ11はスレーブモードでの入出
力ポート21のうちのポートBと共用されている。
From the above, the CPU I / F unit 12 corresponds to the central component and the address setting unit 22 corresponds to the terminal component, and the gates other than the CPU I / F unit 12 and the address setting unit 22 are provided. The main part of array GA is
It is shared as the center side and the terminal side as shown by the same part number. The input / output port 21 is composed of three ports A, B and C each having 8 bits, and the ports A and B of the terminal control unit LU3 having the address 0 are input ports and the port C is an output port. The port A of the terminal control unit LU4 having the address 1 is set as the input port, and the ports B and C are set as the output ports. The input / output buffer 11 in the master mode is shared with the port B of the input / output ports 21 in the slave mode.

【0024】前記各端末制御部LU1〜5は、外部端子
A0〜A3に接続されたハーネスAD1〜4からのアド
レス信号を電源ON時のみ自己のアドレスデータとして
上記アドレス設定部22に入力するように構成されてい
る。即ち、LOWレベル電圧のハーネスからはLOWレ
ベルの電圧信号が供給され、無接続状態のハーネスにつ
いてはゲートアレイGA2内部で電源側にプルアップさ
れているためにHIGHレベルの電圧信号が供給され、
各端末制御部LU1〜5は、この電圧信号の組み合わせ
によって自己のアドレスを設定する。図2では、端末制
御部LU3が、外部端子A0〜A3のすべてがLOWレ
ベルであってアドレス0として設定され、端末制御部L
U4が、外部端子A0〜A3のうちA0だけがHIGH
レベルで他の端子A1〜A3がLOWレベルであってア
ドレス1として設定される。
Each of the terminal control units LU1 to LU5 inputs the address signals from the harnesses AD1 to A4 connected to the external terminals A0 to A3 to the address setting unit 22 as its own address data only when the power is turned on. It is configured. That is, the LOW level voltage signal is supplied from the LOW level voltage harness, and the HIGH level voltage signal is supplied to the unconnected harness because it is pulled up to the power supply side inside the gate array GA2.
Each terminal control unit LU1-5 sets its own address by the combination of the voltage signals. In FIG. 2, in the terminal control unit LU3, all of the external terminals A0 to A3 are set to LOW level and set as address 0, and the terminal control unit L3
U4 has only A0 of the external terminals A0 to A3 being HIGH.
At the level, the other terminals A1 to A3 are at the LOW level and are set as the address 1.

【0025】又、前記各端末制御部LU1〜LU5は、
図3(ロ)に示すように、ランダムデータを発生するラ
ンダムデータ発生手段としてのランダムデータ発生回路
23をゲートアレイGA2内に備え、そのランダムデー
タ発生回路23のデータに基づいて中央制御部CUへの
返信データの送信タイミングをランダム設定するように
構成されている。具体的には、上記ランダムデータ発生
回路23が例えば4ビットカウンター等にて構成され、
前記通信コントロール回路16が、例えば中央制御部C
Uからのポーリング信号の終了時点から送信開始点まで
の時間tを、上記ランダムデータ発生回路23のランダ
ムデータ(上記4ビットカウンターの例では、0〜15
の16段階の値のいずれか)に送信データの1ビット時
間を掛けた時間に設定して中央制御部CUへ返信データ
を送信する。
The terminal control units LU1 to LU5 are
As shown in FIG. 3B, a random data generating circuit 23 as a random data generating means for generating random data is provided in the gate array GA2, and based on the data of the random data generating circuit 23, it is sent to the central control unit CU. It is configured to randomly set the transmission timing of the reply data of. Specifically, the random data generating circuit 23 is composed of, for example, a 4-bit counter or the like,
The communication control circuit 16 is, for example, a central control unit C.
The time t from the end point of the polling signal from U to the transmission start point is set to the random data of the random data generating circuit 23 (0 to 15 in the example of the 4-bit counter).
(One of the 16-step values of 1) is multiplied by 1 bit time of the transmission data, and the reply data is transmitted to the central control unit CU.

【0026】一方、中央制御部CUは、アドレス指定し
た端末制御部LU1〜LU5からの返信データが正規デ
ータと異なる場合にその端末制御部LU1〜LU5との
通信が異常であると判断するように構成されている。具
体的には、中央制御部CUは、スイッチSWからの入力
データの要求やアクチュエータ類M,L,Bに対する出
力要求を送信した端末制御部LU1〜LU5からの返信
データが正規データと異なる場合に、例えば、図12に
アクチュエータ類M,L,Bへの出力要求に対してAC
Kデータが返信される場合を例示するように、指定した
アドレスコード、ACKデータ、CRCコード、及び、
データ長等のチェックにより異常データが検出された場
合に、その端末制御部LU1〜LU5との通信が異常で
あると判断する。即ち、図12は、2つの端末制御部L
U1〜LU5から時間差t1で返信データが同時に送信
されると、上記2つの返信データが重なって、アドレス
コード、ACKデータ、及び、CRCコードが正規のも
のでなくなり、データ長d’も正規のデータ長dより長
くなった状態を示す。
On the other hand, the central control unit CU judges that the communication with the terminal control units LU1 to LU5 is abnormal when the reply data from the addressed terminal control units LU1 to LU5 is different from the regular data. It is configured. Specifically, the central control unit CU determines whether the request data for the input from the switch SW or the reply data from the terminal control units LU1 to LU5 that has transmitted the output request to the actuators M, L, and B is different from the regular data. For example, in FIG. 12, AC is output in response to output requests to actuators M, L, and B.
In order to exemplify the case where K data is returned, a specified address code, ACK data, CRC code, and
When abnormal data is detected by checking the data length or the like, it is determined that communication with the terminal control units LU1 to LU5 is abnormal. That is, FIG. 12 shows two terminal control units L
When reply data is simultaneously transmitted from U1 to LU5 with a time difference t1, the above two reply data overlap and the address code, ACK data, and CRC code become non-regular, and the data length d ′ is also regular data. The state is longer than the length d.

【0027】次に、図4〜図6及び図8〜図10に示す
フローチャートに基づいて、前記中央制御部CUにおけ
る制御動作について説明する。
Next, the control operation in the central control unit CU will be described with reference to the flow charts shown in FIGS. 4 to 6 and 8 to 10.

【0028】図4に示すように、メインスイッチがオン
されて電源が投入されると、先ず、CPU1のリセット
状態が解除されて制御が立ち上がる。そして、イニシャ
ライズ処理を行った後、アナログ式センサからのアナロ
グ信号及びパルス式センサからのパルス信号の入力処理
を行い、メインスイッチがオンしてから全ての端末制御
部LU1〜5の動作が安定化するのに必要な時間(例え
ば250ms)が経過するまでCPU2をリセット状態
(図2に示すCPU1の出力Port3=HIGH)に
維持して各端末制御部LU1〜5との通信を停止させ、
この間メータパネル(図示しない)のランプチェック処
理を行う(#1〜#5及び#12)。
As shown in FIG. 4, when the main switch is turned on and the power is turned on, first, the reset state of the CPU 1 is released and the control is started. Then, after performing the initialization processing, the input processing of the analog signal from the analog type sensor and the pulse signal from the pulse type sensor is performed, and the operations of all the terminal control units LU1 to LU5 are stabilized after the main switch is turned on. The CPU 2 is kept in the reset state (the output Port3 = HIGH of the CPU 1 shown in FIG. 2) until the time required to do so (for example, 250 ms) elapses, and the communication with each terminal control unit LU1-5 is stopped,
During this time, a lamp check process of a meter panel (not shown) is performed (# 1 to # 5 and # 12).

【0029】上記全ての端末制御部LU1〜5の動作が
安定化する時間が経過すると、CPU1は、出力Por
t3をLOWにしてCPU2のリセット状態を解除し、
CPU2と各端末制御部LU1〜5との通信を開始させ
る(#6)。即ち、CPU2は各端末制御部LU1〜5
を順番に呼び出して、各スイッチSWのデータを受信す
る動作を所定周期(例えば5ms)で繰り返し行う(図
8参照)。この所定周期での通信の繰り返しによって、
CPU2が各スイッチSWのデータ、及び、正常な返信
データが受信できない等の各端末制御部LU1〜5に対
する通信エラー情報を十分に蓄積したと判断される時間
(例えばメインスイッチオン後900ms)が経過する
と、CPU1はCPU2との間で8ビットのバスライン
によって制御データの授受を行う処理を開始する(#7
〜#8、図9及び図10参照)。その後、CPU1がC
PU2とのデータの授受によってシステム全体の状態を
把握するに要する時間(例えばメインスイッチオン後
1.5sec)が経過すると、CPU1は、メータパネ
ルの表示を通常状態にして、全体の制御処理を開始する
(#9〜#11)。尚、CPU1は、一定周期でウオッ
チドッグタイマールーチンを作動させており、制御が暴
走したときには、出力ポートPort4から電源PS1
に指令を与えてリセット信号を出力させるようにしてい
る(図2参照)。
When the time for stabilizing the operations of all the terminal control units LU1 to LU5 has passed, the CPU 1 outputs the output Por.
Set t3 to LOW to release the reset state of CPU2,
Communication between the CPU 2 and each of the terminal control units LU1 to LU5 is started (# 6). That is, the CPU 2 has the terminal control units LU1 to LU5.
Are sequentially called, and the operation of receiving the data of each switch SW is repeated at a predetermined cycle (for example, 5 ms) (see FIG. 8). By repeating the communication in this predetermined cycle,
The time (for example, 900 ms after the main switch is turned on) that the CPU 2 judges that the data of each switch SW and the communication error information for the respective terminal control units LU1 to LU5 such as normal reception of data cannot be received has elapsed. Then, the CPU 1 starts a process of exchanging control data with the CPU 2 through an 8-bit bus line (# 7).
~ # 8, see FIGS. 9 and 10). After that, CPU1
When the time required to grasp the state of the entire system by exchanging data with the PU2 (for example, 1.5 seconds after turning on the main switch) has elapsed, the CPU 1 sets the display on the meter panel to the normal state and starts the entire control process. (# 9 to # 11). Incidentally, the CPU 1 operates the watchdog timer routine at a constant cycle, and when the control goes out of control, the power source PS1 is supplied from the output port Port4.
To output a reset signal (see FIG. 2).

【0030】CPU1がCPU2との間で行うバス通信
では、図5に示すように、先ず、スイッチ動作のチャタ
リングの影響を除去すべく、CPU2から複数回(例え
ば4回)のバス通信によって受け取った各スイッチSW
のデータが同一のときにのみ正規のデータとするフィル
タリング処理を行ってからそのデータを記憶する(#2
1)。次に、各端末制御部LU1〜5に対する通信エラ
ー情報を入力し、エラー状態の端末制御部LU1〜5が
あれば、メータパネル等に警報表示する異常出力処理を
行うとともに、そのエラー状態の端末制御部LU1〜5
のアクチュエータM,L,Bへの駆動指令の通信を所定
期間停止する等のエラー処理を行う(#22〜#2
3)。次に、CPU2との前回の通信がOKであったか
否かの判断(SBUSendフラグの値が0であればO
K)と、CPU2がCPU1からの指令を待つコマンド
待ち状態か否かの判断を行う(#24〜#25)。そし
て、前回のCPU2との通信がOKで且つCPU2がコ
マンド待ち状態のときには、CPU2からの外部割り込
みの許可、SBUSendフラグのセット(値を1にす
る)、上記CPU2からの割り込み処理で使用するTA
SKnoのリセット(値を0にする)、及び、割り込み
処理の最初の部分でアドレス0の端末制御部LU3に対
する処理を実行するためのコマンドをCPU2に出力す
る処理を行う。一方、前回のCPU2との通信がOKで
ないか、あるいは前回のCPU2との通信がOKであっ
てもCPU2がコマンド待ち状態でないときには、異常
状態として、CPU2を一定時間リセット作動させると
ともに、警報表示出力する(#26〜#31)。
In the bus communication performed by the CPU1 with the CPU2, as shown in FIG. 5, first, in order to eliminate the influence of the chattering of the switch operation, the bus communication is received from the CPU2 a plurality of times (for example, four times). Each switch SW
Data is stored only after the filtering process to make it regular data only when the same data is stored (# 2
1). Next, the communication error information for each of the terminal control units LU1 to 5 is input, and if there is an error in the terminal control units LU1 to LU5, an abnormal output process of displaying an alarm on the meter panel or the like is performed, and the terminal in the error state is also processed. Control units LU1-5
Error processing such as stopping the communication of the drive command to the actuators M, L, and B of the device for a predetermined period (# 22 to # 2).
3). Next, it is judged whether or not the previous communication with the CPU 2 was OK (if the value of the SBUSend flag is 0, then
K), it is determined whether the CPU 2 is in a command waiting state waiting for a command from the CPU 1 (# 24 to # 25). When the previous communication with the CPU 2 is OK and the CPU 2 is in the command waiting state, the external interrupt is permitted from the CPU 2, the SBUSend flag is set (the value is set to 1), and the TA used in the interrupt processing from the CPU 2 is executed.
The process of resetting SKno (setting the value to 0) and outputting a command for executing the process for the terminal control unit LU3 of address 0 to the CPU 2 in the first part of the interrupt process is performed. On the other hand, if the previous communication with the CPU 2 is not OK, or if the previous communication with the CPU 2 is OK but the CPU 2 is not in the command waiting state, the CPU 2 is set to an abnormal state and the CPU 2 is reset for a certain period of time and an alarm display output is issued. (# 26 to # 31).

【0031】CPU2からの割り込みに対する処理ルー
チンでは、図6に示すように、再割り込みを禁止した
後、TASKno=0から順次各TASKnoの値に応
じた処理を行い、TASKnoの値を1増やしてから次
の割り込みを許可して処理を終える。最初のTASKn
o=0では、アドレス0の端末制御部LU3の入力ポー
トAからのデータ取り込みを行い、TASKno=1で
はアドレス0の端末制御部LU3の入力ポートBからの
データ取り込みと、出力ポートCに対する出力データの
転送処理を行う。TASKno=2では、アドレス1の
端末制御部LU4に対する処理を実行するためのコマン
ドを出力する処理を行い、TASKno=3では、アド
レス1の端末制御部LU4の入力ポートAからのデータ
取り込みと、出力ポートBに対する出力データの転送処
理とを行い、TASKno=4ではアドレス1の端末制
御部LU4の出力ポートCに対する出力データの転送処
理を行う。
In the processing routine for the interruption from the CPU 2, as shown in FIG. 6, after the re-interruption is prohibited, the processing according to the value of each TASKno is sequentially performed from TASKno = 0, and the value of TASKno is incremented by 1. The next interrupt is enabled and the process ends. First TASKn
When o = 0, data is fetched from the input port A of the terminal control unit LU3 having the address 0, and when TASKno = 1, data is fetched from the input port B of the terminal control unit LU3 having the address 0 and output data to the output port C. Transfer processing. When TASKno = 2, a process for outputting a command for executing the process for the terminal control unit LU4 having the address 1 is performed, and when TASKno = 3, data is fetched from the input port A of the terminal control unit LU4 having the address 1 and output. The output data is transferred to the port B, and when TASKno = 4, the output data is transferred to the output port C of the terminal control unit LU4 having the address 1.

【0032】以下、同様にして、残りのアドレスの端末
制御部LU1〜5について、コマンド転送とデータの入
出力の処理を順次実行する。そして、最後より1つ前の
TASKno=nでは、各端末制御部LU1〜5につい
ての通信エラー情報を要求するコマンドを転送し、最後
のTASKno=n+1では、上記通信エラー情報の読
み込み処理を行ってから、CPU2との通信がOKであ
ったことを示すためにSBUSendフラグをリセット
する(値を0にする)処理を行う。最後のTASKno
=n+1では、次の割り込みを禁止した状態で処理を終
えるので、以後は、図5に示すバス処理において割り込
みが許可されるまでCPU2からの割り込みに対する処
理は実行されない。
In the same manner, command transfer and data input / output processes are sequentially executed for the terminal control units LU1 to LU5 having the remaining addresses. Then, at TASKno = n, which is one before the last, a command requesting communication error information for each terminal control unit LU1-5 is transferred, and at the last TASKno = n + 1, the above-mentioned communication error information read processing is performed. Then, the processing of resetting the SBUSend flag (setting the value to 0) is performed to indicate that the communication with the CPU 2 was OK. The last TASKno
In the case of = n + 1, the processing is terminated in the state where the next interrupt is prohibited, and thereafter, the processing for the interrupt from the CPU 2 is not executed until the interrupt is permitted in the bus processing shown in FIG.

【0033】コンバインの作動を停止すべく、メインス
イッチがオフされた場合には、図4に示すように、先
ず、CPU2をリセットして各端末制御部LU1〜5と
の通信を停止させる(#13)。そして、メインスイッ
チオフ後の5sec間、エンジン停止用のソレノイドを
駆動してエンジンへの燃料供給を遮断するとともに、C
PU1内のRAM等のメモリに蓄積されているエラー情
報を前記メモリMEMに書き込む処理を行い、5sec
経過すると上記ソレノイドの駆動を停止する(#14〜
#17)。
When the main switch is turned off to stop the operation of the combine, first, as shown in FIG. 4, the CPU 2 is reset to stop the communication with each of the terminal control units LU1 to LU5 (# 13). Then, for 5 seconds after the main switch is turned off, the engine stop solenoid is driven to cut off the fuel supply to the engine, and C
The error information accumulated in the memory such as the RAM in PU1 is written into the memory MEM for 5 sec.
After a lapse of time, the drive of the solenoid is stopped (# 14-
# 17).

【0034】上記メモリMEMへのエラー情報の書き込
みは、エンジン停止時以外に所定時間毎に行ってもよい
が、エンジンスタータ始動時等のように電源電圧が低下
したときには誤データを書き込むおそれがあるので、電
源電圧(例えば12V)を監視して電圧が低下している
ときには処理を行わないようにしている。尚、メモリM
EMに書き込まれたエラー情報は、チェッカー等にて読
み出され、それに基づいて故障解析することになるが、
エラーの履歴が記録されているので、例えば一瞬の断線
等の再現が困難なエラーの解析が可能になるという利点
がある。
The error information may be written in the memory MEM every predetermined time other than when the engine is stopped, but erroneous data may be written when the power supply voltage is lowered such as when the engine starter is started. Therefore, the power supply voltage (for example, 12 V) is monitored, and the process is not performed when the voltage drops. The memory M
The error information written in the EM will be read by a checker or the like, and failure analysis will be performed based on it.
Since the error history is recorded, there is an advantage that it becomes possible to analyze an error that is difficult to reproduce, such as a momentary disconnection.

【0035】次に、図7に示すフローチャートに基づい
て、前記各端末制御部LU1〜5における制御動作につ
いて説明する。先ず、受信データ中のアドレスによって
自己に対するポーリング信号を受信したか否かを判断
し、自己に対するポーリング信号であるときには、スイ
ッチSWからの入力要求かアクチュエータ類M,L,B
に対する出力要求かを判断する。スイッチSWからの入
力要求の場合には、スイッチSWからの検出信号を入力
ポートを介して入力し、それに基づいて返信用のセンサ
データを作成する。一方、アクチュエータ類M,L,B
に対する出力要求の場合には、受信したデータを出力ポ
ートを介して出力し、返信用のACKデータを作成す
る。次に、上記作成したセンサデータ又はACKデータ
を、図9に示すように、中央制御部CUへの返信データ
の送信タイミングを、前述のようにランダムに設定して
送信する。
Next, the control operation in each of the terminal control units LU1 to LU5 will be described with reference to the flow chart shown in FIG. First, it is determined whether or not a polling signal for itself is received according to the address in the received data. If the polling signal is for itself, an input request from the switch SW or actuators M, L, B
Output request is determined. In the case of an input request from the switch SW, the detection signal from the switch SW is input through the input port, and based on this, sensor data for reply is created. On the other hand, actuators M, L, B
In the case of an output request to the device, the received data is output via the output port and ACK data for reply is created. Next, as shown in FIG. 9, the sensor data or ACK data created as described above is randomly set as described above at the transmission timing of the reply data to the central control unit CU, and is transmitted.

【0036】〔別実施例〕次に、別実施例を説明する。
上記実施例では、中央制御部CUが、各端末制御部LU
1〜LU5を経由してセンサ類SWから検出データを入
手し又アクチュエータ類M,L,Bへ駆動用のデータを
出力して作業車全体を集中制御する場合を示したが、こ
のような集中制御ではなく、例えば、各端末制御部LU
1〜LU5が、センサ類SWの情報に基づいて直接アク
チュエータ類M,L,Bの駆動を制御するように機体各
部を分散制御しながら、中央制御部CUとの間で管理デ
ータ等を通信するように構成することもできる。
Another Embodiment Next, another embodiment will be described.
In the above embodiment, the central control unit CU controls each terminal control unit LU.
1 to LU5, the detection data is obtained from the sensors SW, and the driving data is output to the actuators M, L, and B to centrally control the work vehicle. Rather than control, for example, each terminal control unit LU
1 to LU5 communicate management data and the like with the central control unit CU while controlling each part of the machine body so as to directly control the drive of the actuators M, L, B based on the information of the sensors SW. It can also be configured as follows.

【0037】上記実施例では、中央制御部CUと各端末
制御部LU1〜LU5とが、有線式の通信手段Tを介し
て各端末制御部LU1〜LU5のアドレスを指定して多
重通信する場合に、ポーリングセレクティング方式によ
るものを示したが、ポーリングセレクティング方式に限
るものではない。
In the above-mentioned embodiment, when the central control unit CU and the respective terminal control units LU1 to LU5 specify the addresses of the respective terminal control units LU1 to LU5 via the wired communication means T and perform multiplex communication. , The polling selecting method is shown, but it is not limited to the polling selecting method.

【0038】上記実施例では、有線式の通信手段Tを、
RS485の規格を利用して構成したものを示したが、
これ以外の各種規格の有線式の通信手段が利用できる。
In the above embodiment, the wired communication means T is
I have shown what was configured using the RS485 standard,
Wired communication means of various standards other than this can be used.

【0039】上記実施例では、中央制御部CUが、制御
用の演算処理部としてのマイクロコンピュータCPU1
と、通信用演算処理部としてのマイクロコンピュータC
PU2との2つのCPUを備えるものを示したが、要求
される通信処理速度がそれほど速くない場合等において
は、1つのマイクロコンピュータCPU1で全体の制御
と通信制御とを行うようにして構成の簡略化を図ること
も可能である。
In the above embodiment, the central control unit CU is the microcomputer CPU1 as the arithmetic processing unit for control.
And a microcomputer C as an arithmetic processing unit for communication
The one provided with two CPUs including the PU2 is shown, but when the required communication processing speed is not so fast, etc., the overall control and the communication control are performed by one microcomputer CPU1 to simplify the configuration. It is also possible to achieve this.

【0040】上記実施例では、ランダムデータ発生手段
23を、例えば4ビットカウンター等からなるランダム
データ発生回路23で構成したものを示したが、これ以
外の乱数発生回路等の種々の発生手段が使用できる。
In the above embodiment, the random data generating means 23 is composed of the random data generating circuit 23 including, for example, a 4-bit counter. However, various other generating means such as a random number generating circuit are used. it can.

【0041】又、上記実施例では、中央制御部CUへの
返信データの送信タイミングをランダム設定するのに、
中央制御部CUからのポーリング信号の終了時点から返
信データの送信開始点までの時間tを、ランダムデータ
発生手段23のデータに送信データの1ビット時間を掛
けたものにするものを示したが、必ずしもこのようにす
る必要はなく、種々の設定が可能である。
Further, in the above embodiment, the transmission timing of the reply data to the central control unit CU is set at random,
The time t from the end point of the polling signal from the central control unit CU to the transmission start point of the reply data is obtained by multiplying the data of the random data generating means 23 by 1 bit time of the transmission data. This need not always be the case, and various settings are possible.

【0042】又、上記実施例では、中央制御部CUが、
アドレス指定した端末制御部LU1〜LU5からの返信
データが正規データであるか否かを判断するのに、指定
したアドレスコード、ACKデータ、CRCコード、及
び、データ長等のチェックを行うものを示したが、これ
らすべてのチェックを行うのではなく、その中のいくつ
かのコード(例えば、アドレスコードとACKデータ)
のチェックだけ行うようにして制御の簡素化を図っても
よい。
Further, in the above embodiment, the central control unit CU is
Shows that the specified address code, ACK data, CRC code, data length, etc. are checked to determine whether or not the reply data from the addressed terminal control units LU1 to LU5 is regular data. However, rather than doing all these checks, some of the code in it (eg address code and ACK data)
The control may be simplified by performing only the check.

【0043】上記実施例では、センサ類を、制御情報を
ON/OFFの二値データとして検出するスイッチSW
で構成したが、二値以外のアナログ信号やパルス信号を
検出するセンサも含めて構成することもできる。又、ア
クチュエータ類も、電動モータM、ソレノイドL、警報
ブザーB以外のものを含めることができる。
In the above embodiment, the switch SW for detecting the sensors as binary data of ON / OFF of the control information.
However, it is also possible to include a sensor for detecting analog signals or pulse signals other than binary signals. In addition, the actuators may include those other than the electric motor M, the solenoid L, and the alarm buzzer B.

【0044】上記実施例では、本発明をコンバインに適
用したものを例示したが、これ以外の自動あるいは手動
走行式の各種作業車に適用することができる。
In the above embodiments, the present invention is applied to a combine, but it can be applied to various automatic or manual traveling type work vehicles other than this.

【0045】尚、特許請求の範囲の項に図面との対照を
便利にする為に符号を記すが、該記入により本発明は添
付図面の構成に限定されるものではない。
It should be noted that reference numerals are given in the claims for convenience of comparison with the drawings, but the present invention is not limited to the structures of the accompanying drawings by the entry.

【図面の簡単な説明】[Brief description of drawings]

【図1】コンバインの制御構成の全体を示すブロック図FIG. 1 is a block diagram showing an overall control configuration of a combine.

【図2】コンバインの制御構成を示す回路図FIG. 2 is a circuit diagram showing a control configuration of a combine.

【図3】通信用ICの回路構成図FIG. 3 is a circuit configuration diagram of a communication IC.

【図4】中央制御部での制御作動を示すフローチャートFIG. 4 is a flowchart showing a control operation in a central control unit.

【図5】中央制御部での制御作動を示すフローチャートFIG. 5 is a flowchart showing a control operation in a central control unit.

【図6】中央制御部での制御作動を示すフローチャートFIG. 6 is a flowchart showing a control operation in a central control unit.

【図7】端末制御部での制御作動を示すフローチャートFIG. 7 is a flowchart showing a control operation in the terminal control unit.

【図8】中央制御部及び端末制御部での制御手順の説明
FIG. 8 is an explanatory diagram of control procedures in a central control unit and a terminal control unit.

【図9】中央制御部及び端末制御部での制御手順の説明
FIG. 9 is an explanatory diagram of control procedures in a central control unit and a terminal control unit.

【図10】中央制御部及び端末制御部での制御手順の説
明図
FIG. 10 is an explanatory diagram of a control procedure in the central control unit and the terminal control unit.

【図11】ポーリングセレクティング方式での信号波形
の説明図
FIG. 11 is an explanatory diagram of a signal waveform in the polling selecting method.

【図12】端末制御部からの返信データの異常を説明す
る図
FIG. 12 is a diagram for explaining an abnormality of reply data from the terminal control unit.

【符号の説明】[Explanation of symbols]

CU 中央制御部 LU1〜LU5 端末制御部 T 通信手段 23 ランダムデータ発生手段 SW センサ類 M,L,B アクチュエータ類 CU Central control unit LU1 to LU5 Terminal control unit T Communication means 23 Random data generating means SW Sensors M, L, B Actuators

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 // G05D 1/02 R 9323−3H (72)発明者 末吉 康則 大阪府堺市石津北町64番地 株式会社クボ タ堺製造所内 (72)発明者 嶋野 雅彦 大阪府堺市石津北町64番地 株式会社クボ タ堺製造所内 (72)発明者 安東 寛通 大阪府堺市石津北町64番地 株式会社クボ タ堺製造所内 (72)発明者 田中 秀明 大阪府堺市石津北町64番地 株式会社クボ タ堺製造所内─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 6 Identification number Internal reference number FI technical display location // G05D 1/02 R 9323-3H (72) Inventor Yasunori Sueyoshi 64 Ishizukitamachi, Sakai City, Osaka Prefecture Kubota Sakai Factory (72) Inventor Masahiko Shimano 64 Ishizukita-machi, Sakai City, Osaka Prefecture Kubota Sakai Factory (72) Inventor Kanto 64, Ishizukita-machi, Sakai City, Osaka Kubota Sakai Co., Ltd. (72) Inventor Hideaki Tanaka 64, Ishizukita-machi, Sakai City, Osaka Prefecture Kubota Sakai Factory

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 中央制御部(CU)と機体各部に分散配
置される複数個の端末制御部(LU1〜LU5)とが、
有線式の通信手段(T)を介して前記各端末制御部(L
U1〜LU5)に対するアドレスを指定して多重通信可
能に接続され、前記各端末制御部(LU1〜LU5)
が、前記中央制御部(CU)からの通信データの受信を
確認した後、前記中央制御部(CU)に返信データを送
信するように構成された作業車用の通信装置であって、 前記各端末制御部(LU1〜LU5)は、ランダムデー
タを発生するランダムデータ発生手段(23)を備え、
そのランダムデータ発生手段(23)のデータに基づい
て前記中央制御部(CU)への返信データの送信タイミ
ングをランダム設定するように構成され、 前記中央制御部(CU)は、アドレス指定した前記端末
制御部(LU1〜LU5)からの返信データが正規デー
タと異なる場合にその端末制御部(LU1〜LU5)と
の通信が異常であると判断するように構成されている作
業車用の通信装置。
1. A central control unit (CU) and a plurality of terminal control units (LU1 to LU5) dispersedly arranged in each part of the body,
Each terminal control unit (L) is connected via a wired communication unit (T).
(U1 to LU5) are connected to each terminal control unit (LU1 to LU5) so that multiple communication is possible by designating an address.
Is a communication device for a work vehicle configured to transmit reply data to the central control unit (CU) after confirming reception of communication data from the central control unit (CU). The terminal control unit (LU1 to LU5) includes a random data generating means (23) for generating random data,
Based on the data of the random data generating means (23), the transmission timing of the reply data to the central control unit (CU) is randomly set, and the central control unit (CU) is configured to address the terminal. A communication device for a work vehicle configured to determine that communication with the terminal control unit (LU1 to LU5) is abnormal when reply data from the control unit (LU1 to LU5) is different from normal data.
【請求項2】 前記各端末制御部(LU1〜LU5)
は、制御情報検出用のセンサ類(SW)からの検出信号
の入力及びその入力データの前記中央制御部(CU)へ
の送信、並びに、前記中央制御部(CU)からの制御デ
ータの受信及びその受信データに基づくアクチュエータ
類(M,L,B)に対する駆動信号の出力を実行し、前
記中央制御部(CU)は、前記端末制御部(LU1〜L
U5)からの送信データに基づいて、前記各端末制御部
(LU1〜LU5)のアクチュエータ類(M,L,B)
に対する適正駆動内容を判定して、その適正駆動内容を
前記制御データとして送信するように構成されている請
求項1記載の作業車用の通信装置。
2. Each of the terminal control units (LU1 to LU5)
Are input of detection signals from sensors (SW) for detecting control information, transmission of the input data to the central control unit (CU), and reception of control data from the central control unit (CU). The drive signals are output to the actuators (M, L, B) based on the received data, and the central control unit (CU) controls the terminal control units (LU1 to L).
Actuators (M, L, B) of each of the terminal control units (LU1 to LU5) based on the transmission data from U5).
The communication device for a work vehicle according to claim 1, wherein the communication device is configured to determine an appropriate drive content for the control data and transmit the appropriate drive content as the control data.
JP5277978A 1993-11-08 1993-11-08 Communication equipment for working vehicle Pending JPH07131863A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5277978A JPH07131863A (en) 1993-11-08 1993-11-08 Communication equipment for working vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5277978A JPH07131863A (en) 1993-11-08 1993-11-08 Communication equipment for working vehicle

Publications (1)

Publication Number Publication Date
JPH07131863A true JPH07131863A (en) 1995-05-19

Family

ID=17590925

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5277978A Pending JPH07131863A (en) 1993-11-08 1993-11-08 Communication equipment for working vehicle

Country Status (1)

Country Link
JP (1) JPH07131863A (en)

Similar Documents

Publication Publication Date Title
JP2880165B2 (en) Apparatus for monitoring an automotive computer system comprising two processors
US5832397A (en) Integrated wiring systems for a vehicle control system
US7555680B2 (en) Distributed control apparatus
US5390506A (en) Electric power supply apparatus of air condition control machine
JP5582748B2 (en) Electronic control device for vehicle
JPH07131863A (en) Communication equipment for working vehicle
JP2933473B2 (en) Control device for work vehicle
JP2933475B2 (en) Control device for work vehicle
JP2866561B2 (en) Control device for work vehicle
JP2866562B2 (en) Control device for work vehicle
JP2866560B2 (en) Control device for work vehicle
JPH07184260A (en) Controller for working truck
JPH07184262A (en) Controller for working truck
JPH07184263A (en) Controller for working truck
JPH07193870A (en) Controller for working truck
JPH07203550A (en) Controller for work wagon
JPH09226482A (en) Communication controller for vehicle
JP2944400B2 (en) Control device for work vehicle
JPH07162962A (en) Controller for truck
JPH07193872A (en) Controller for working truck
JPH07162963A (en) Multiplex communication system
JPH07193871A (en) Controller for working truck
JPH07184264A (en) Controller for working truck
JPH07162961A (en) Controller for work wagon
JP3077489B2 (en) In-vehicle multiplex communication device having fail-safe function