JPH07131864A - Controller for working vehicle - Google Patents

Controller for working vehicle

Info

Publication number
JPH07131864A
JPH07131864A JP5277979A JP27797993A JPH07131864A JP H07131864 A JPH07131864 A JP H07131864A JP 5277979 A JP5277979 A JP 5277979A JP 27797993 A JP27797993 A JP 27797993A JP H07131864 A JPH07131864 A JP H07131864A
Authority
JP
Japan
Prior art keywords
data
control unit
actuators
terminal control
sensors
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5277979A
Other languages
Japanese (ja)
Other versions
JP2866561B2 (en
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 JP5277979A priority Critical patent/JP2866561B2/en
Priority to KR1019940008660A priority patent/KR0139898B1/en
Priority to CN94105855A priority patent/CN1061207C/en
Publication of JPH07131864A publication Critical patent/JPH07131864A/en
Application granted granted Critical
Publication of JP2866561B2 publication Critical patent/JP2866561B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Selective Calling Equipment (AREA)
  • Guiding Agricultural Machines (AREA)
  • Combines (AREA)
  • Harvester Elements (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To operate actuators with the shortest possible time delay while simplifying the signal wiring to sensors or the like in the centralized control form where a central control part controls the whole. CONSTITUTION:A central control part CU and plural terminal control parts LU1 to LU5 distributedly arranged in respective parts of a machine body are connected by a wired communication means so that detection signals from sensors SW and various data such as driving signals to actuators M, L, and B can be communicated, and the central control part CU executes transmission of control data for driving of actuators M, L, and B to terminal control parts LU1 to LU5 in preference to reception of detection data of sensors SW from terminal control parts LU1 to LU5; and if a transmission request of control data for driving of actuators M, L, and B occurs during reception of detection data of sensors SW, transmission of this control data for driving of actuators M, L, and B is executed after the end of reception of detection data of sensors SW.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、中央制御部と機体各部
に分散配置される複数個の端末制御部とが、有線式の通
信手段を介して通信可能に接続され、前記端末制御部
が、制御情報検出用のセンサ類からの検出信号の入力及
びその入力データの前記中央制御部への送信、並びに、
前記中央制御部からの制御データの受信及びその受信デ
ータに基づくアクチュエータ類に対する駆動信号の出力
を実行し、前記中央制御部が、前記端末制御部からの送
信データに基づいて、前記各端末制御部のアクチュエー
タ類に対する適正駆動内容を判定して、その適正駆動内
容を前記制御データとして送信するように構成された作
業車用の制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a central control unit and a plurality of terminal control units dispersedly arranged in various parts of a machine body, which are communicatively connected to each other via wired communication means. Inputting detection signals from sensors for detecting control information and transmitting the input data to the central control unit, and
Receiving control data from the central control unit and outputting a drive signal to actuators based on the received data, the central control unit based on transmission data from the terminal control unit, each terminal control unit The present invention relates to a control device for a work vehicle configured to determine the appropriate drive content for the actuators and transmit the appropriate drive content as the control data.

【0002】[0002]

【従来の技術】上記作業車用の制御装置は、コンバイン
等の作業車の制御において、中央制御部が、作業車全体
の制御を集中して行いながら、制御情報検出用のセンサ
類から検出データを入力したり又は各作業部作動用のア
クチュエータ類に対して駆動指令を出力するのに、セン
サ類及びアクチュエータ類に対して各種信号の入出力を
行う複数個の端末制御部を機体各部に分散配置するとと
もに、これら複数個の端末制御部と中央制御部とを例え
ばRS485等の規格を利用した有線式の通信手段によ
って接続し、この通信手段を介して各種のデータを送受
信させることにより、中央制御部とセンサ類及びアクチ
ュエータ類を直接接続する場合の信号配線の複雑大量化
を回避させるようにしていた(例えば特開平3‐240
802号公報参照)。
2. Description of the Related Art In a control device for a work vehicle described above, in controlling a work vehicle such as a combine, a central control unit centrally controls the entire work vehicle while detecting data from sensors for detecting control information. Multiple terminal control units that input and output various signals to sensors and actuators in order to input or output drive commands to actuators for operating each work unit are dispersed in each unit of the machine By arranging them, the plurality of terminal control units and the central control unit are connected to each other by a wired communication means using a standard such as RS485, and various data are transmitted and received through the communication means. When the control unit is directly connected to the sensors and the actuators, the signal wiring is prevented from becoming complicated and large (for example, JP-A-3-240).
802).

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来技術では、中央制御部からの駆動指令に基づいてアク
チュエータ類を駆動させるには、先ず中央制御部から端
末制御部に駆動用の制御データを送信し、その送信デー
タに基づいて端末制御部がアクチュエータ類に対して駆
動信号を出力するように、必ず端末制御部を中継する必
要があるために、中央制御部から直接アクチュエータ類
に対して駆動指令を出力する場合に比べて少なくとも上
記端末制御部での中継処理時間以上遅れてアクチュエー
タ類に対して駆動指令が出力されることになり、迅速性
が要求されるアクチュエータ類の作動に支障を来すおそ
れがあった。
However, in the above-mentioned conventional technique, in order to drive the actuators based on the drive command from the central control unit, first, the control data for driving is transmitted from the central control unit to the terminal control unit. However, since it is necessary to relay the terminal control unit without fail so that the terminal control unit outputs a drive signal to the actuators based on the transmitted data, the central control unit directly issues a drive command to the actuators. As compared with the case of outputting, the drive command is output to the actuators with a delay of at least the relay processing time in the terminal control unit, which hinders the operation of the actuators that require promptness. There was a fear.

【0004】本発明は、上記実情に鑑みてなされたもの
であって、その目的は、有線式の通信手段を介した中央
制御部と各端末制御部間のデータ送受信によって集中制
御形態においてセンサ類及びアクチュエータ類に対する
信号配線の簡素化を実現しながら、アクチュエータ類に
対する駆動要求が発生した場合に極力時間遅れなく駆動
させるようにすることにある。
The present invention has been made in view of the above circumstances, and an object thereof is to provide sensors in a centralized control mode by transmitting and receiving data between a central control unit and each terminal control unit via a wired communication means. Another object is to realize simplification of signal wiring for the actuators and to drive the actuators without delay as much as possible when a drive request is made.

【0005】[0005]

【課題を解決するための手段】本発明による作業車用の
制御装置の第1の特徴構成は、前記中央制御部は、前記
アクチュエータ類駆動用の制御データの送信を前記セン
サ類の検出データの受信よりも優先させて実行するよう
に構成されている点にある。
According to a first characteristic configuration of a control device for a work vehicle according to the present invention, the central control unit transmits the control data for driving the actuators to the detection data of the sensors. It is configured to be executed with priority over reception.

【0006】又、第2の特徴構成は、前記中央制御部と
前記各端末制御部とが、前記各端末制御部に対するアド
レスを指定して多重通信するように構成され、前記中央
制御部は、前記各端末制御部からの前記センサ類の検出
データの受信中に前記各端末制御部に対する前記アクチ
ュエータ類駆動用の制御データの送信要求が発生した場
合には、そのアクチュエータ類駆動用の制御データの送
信を前記受信中のセンサ類の検出データの受信が終了し
た後に実行するように構成されている点にある。
A second characteristic configuration is such that the central control unit and each terminal control unit perform multiplex communication by designating an address for each terminal control unit, and the central control unit, When a transmission request of the control data for driving the actuators to the terminal control unit is generated while receiving the detection data of the sensors from the terminal control unit, the control data for driving the actuators is The point is that the transmission is executed after the reception of the detection data of the sensors being received is completed.

【0007】又、第3の特徴構成は、前記中央制御部
は、ポーリングセレクティング方式にて前記各端末制御
部と通信を実行するように構成されている点にある。
A third characteristic configuration is that the central control unit is configured to execute communication with each of the terminal control units by a polling selecting method.

【0008】[0008]

【作用】本発明の第1の特徴構成によれば、中央制御部
が、端末制御部からの送信データ即ちセンサ類の検出デ
ータに基づいてアクチュエータ類に対する適正駆動内容
を判定してアクチュエータ類の駆動要求の発生を確認す
ると、中央制御部は、例えばセンサ類の検出データの受
信中であっても、そのセンサ類の検出データの受信に優
先させて(例えば、上記センサ類の検出データの受信を
一時中断させる等して)、上記駆動要求が発生したアク
チュエータ類に対する適正駆動内容即ち駆動用の制御デ
ータをそのアクチュエータ類の端末制御部に送信し、そ
の制御データを受信した端末制御部は、受信データに基
づいてアクチュエータ類に対して駆動信号を出力する。
According to the first characteristic configuration of the present invention, the central control unit determines the appropriate drive content for the actuators based on the transmission data from the terminal control unit, that is, the detection data of the sensors, and drives the actuators. When the generation of the request is confirmed, the central control unit gives priority to the reception of the detection data of the sensors even when the detection data of the sensors is received (for example, the reception of the detection data of the above-mentioned sensors is given priority). (For example, by temporarily suspending), the proper drive content for the actuators for which the drive request is generated, that is, control data for driving is transmitted to the terminal control unit of the actuators, and the terminal control unit that receives the control data receives the control data. A drive signal is output to the actuators based on the data.

【0009】又、第2の特徴構成によれば、中央制御部
は、センサ類の検出データに基づいてアクチュエータ類
に対する適正駆動内容を判定してアクチュエータ類の駆
動要求の発生を確認したときに、アドレス指定して通信
中の端末制御部からセンサ類の検出データを受信してい
る場合には、その端末制御部からのセンサ類の検出デー
タの受信を継続し、その端末制御部からのセンサ類の検
出データの受信が終了した後、上記駆動要求が発生した
アクチュエータ類の端末制御部をアドレス指定してアク
チュエータ類駆動用の制御データを送信する。そして、
上記アドレス指定されてアクチュエータ類駆動用の制御
データを受信した端末制御部は、受信データに基づいて
アクチュエータ類に対して駆動信号を出力する。
Further, according to the second characteristic configuration, when the central control unit determines the proper drive content for the actuators based on the detection data of the sensors and confirms the generation of the drive request for the actuators, When the sensor detection data is being received from the terminal control unit that is addressing and communicating, the sensor detection data is continuously received from the terminal control unit and the sensor type is received from the terminal control unit. After the reception of the detection data of 1 is completed, the terminal control unit of the actuator for which the drive request is generated is addressed and the control data for driving the actuators is transmitted. And
The terminal control unit which has received the address-specified control data for driving the actuators outputs a drive signal to the actuators based on the received data.

【0010】又、第3の特徴構成によれば、いわゆるポ
ーリングセレクティング方式にて、中央制御部が、各端
末制御部に対するアドレスを所定の順序で指定しながら
各端末制御部から例えばセンサ類の検出データを受信し
ている場合において、アクチュエータ類の駆動要求が発
生すると、そのとき中央制御部が通信している端末制御
部からのセンサ類の検出データの受信は継続して、その
端末制御部からのセンサ類の検出データの受信が終了し
た後、ポーリング順序が次の端末制御部からセンサ類の
検出データを受信する前に、上記駆動要求が発生したア
クチュエータ類の端末制御部に対してアクチュエータ類
駆動用の制御データを送信する。そして、その制御デー
タの送信をした後、ポーリング順序が次の端末制御部か
らセンサ類の検出データの受信を開始する。
According to the third characteristic configuration, in the so-called polling / selecting method, the central control unit specifies addresses for the respective terminal control units in a predetermined order, and the respective terminal control units transmit, for example, sensors. When the actuator drive request is issued while the detection data is being received, the sensor control data continues to be received from the terminal control unit with which the central control unit is communicating at that time, and the terminal control unit receives the detection data. After receiving the detection data of the sensors from the controller and before receiving the detection data of the sensors from the next terminal control unit in the polling order, the actuator is requested to the terminal control unit of the actuators for which the drive request is generated. Control data for driving the class is transmitted. Then, after transmitting the control data, reception of sensor detection data from the next terminal control unit in the polling order is started.

【0011】[0011]

【発明の効果】従って、本発明の第1の特徴構成によれ
ば、有線式の通信手段を介した中央制御部と各端末制御
部間のデータ送受信により、中央制御部による集中制御
とセンサ類及びアクチュエータ類に対する信号配線の簡
素化を実現しながら、アクチュエータ類に対する駆動要
求が発生した場合に、センサ類の検出データの受信に優
先してアクチュエータ類駆動用の制御データが送信され
て、アクチュエータ類を駆動要求発生から最小限の遅れ
時間で駆動させることができ、迅速性が要求されるアク
チュエータ類の作動に支障を来すことを極力回避できる
に至った。
According to the first characteristic configuration of the present invention, therefore, central control and sensors are performed by the central control unit by transmitting and receiving data between the central control unit and each terminal control unit via the wired communication means. While simplifying the signal wiring for the actuators, when the driving request for the actuators is generated, the control data for driving the actuators is transmitted with priority over the reception of the detection data of the sensors, and the actuators are driven. Can be driven with a minimum delay time from the generation of a drive request, and it has become possible to avoid as much as possible an obstacle to the operation of actuators that require quickness.

【0012】又、第2の特徴構成によれば、センサ類の
検出データの受信を確実に行いながら、アクチュエータ
類を駆動要求発生から極力時間遅れなく駆動させること
ができ、もって、第1の特徴構成の好適な手段が得られ
る。
According to the second characteristic configuration, the actuators can be driven without delay as much as possible from the generation of the driving request while surely receiving the detection data of the sensors, and thus the first characteristic. A suitable means of construction is obtained.

【0013】又、第3の特徴構成によれば、いわゆるポ
ーリングセレクティング方式により所定の順序でアドレ
ス指定して、各端末制御部から例えばセンサ類の検出デ
ータを確実に受信しながら、アクチュエータ類を駆動要
求発生から極力時間遅れなく駆動させることができ、も
って、第2の特徴構成の好適な手段が得られる。
According to the third characteristic configuration, the so-called polling / selecting method is used to specify the addresses in a predetermined order to reliably receive the detection data of, for example, the sensors from each terminal control unit, while the actuators are operated. The drive can be performed without delay as much as possible after the generation of the drive request, and thus the preferable means of the second characteristic configuration can be obtained.

【0014】[0014]

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

【0015】コンバインにおいては、例えば、機体が植
立穀稈に沿って自動的に走行するように操向操作する操
向制御や、刈取穀稈の扱室での扱深さが適正範囲内に維
持されるように自動調節する扱深さ制御や、藁屑等が混
じった扱き処理物から穀粒を選別回収する選別制御や、
選別回収された穀粒を一時貯溜するタンクから外部に排
出するオーガの作動制御や、走行地面の状態にかかわら
ず機体の姿勢を水平姿勢等の所定姿勢に維持する姿勢制
御等、各種の制御が行われる。
In the combine harvester, for example, the steering control for steering the machine so that it automatically runs along the planted culms, and the handling depth of the harvested culms in the handling room are within the proper 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.

【0016】そのために、図1に示すように、コンバイ
ン全体の制御を集中して実行するための中央制御部CU
と、刈取ブロック1、脱穀ブロック2、タンクブロック
3及び本機ブロック4等からなる機体各部に分散配置さ
れる複数個の端末制御部LU1〜5とが、有線式の通信
手段Tを介して多重通信可能に接続されている。各端末
制御部LU1〜5は、制御情報検出用のセンサ類SWか
らの検出信号の入力及びその入力データの中央制御部C
Uへの送信、並びに、中央制御部CUからの制御データ
の受信及びその受信データに基づくアクチュエータ類
M,L,Bに対する駆動信号の出力を実行するように構
成されている。又、中央制御部CUは、各端末制御部L
U1〜5からの送信データに基づいて、各端末制御部L
U1〜5のアクチュエータ類M,L,Bに対する適正駆
動内容を判定して、その適正駆動内容を制御データとし
て送信するように構成されている。尚、前記センサ類S
Wは、各種の制御情報をON/OFFの二値情報として
検出する複数個のスイッチSW等からなり、前記アクチ
ュエータ類M,L,Bは、電動モータM、ソレノイド
L、警報ブザーB等からなる。
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 5 dispersedly arranged in each part of the machine body including the mowing block 1, the threshing block 2, the tank block 3, the main body block 4 and the like, are multiplexed via the wired communication means T. Connected for communication. Each of the terminal control units LU1 to LU5 inputs a detection signal from the sensors SW for detecting control information and a central control unit C of the input data.
It is configured to execute transmission to U, reception of control data from the central control unit CU, and output of drive signals to the actuators M, L, B based on the received data. Further, the central control unit CU is configured to control each terminal control unit L
Based on the transmission data from U1-5, each terminal control unit L
It is configured to determine the proper drive content for the actuators M, L, B of U1 to 5 and to transmit the proper drive content as control data. The sensors S
W is composed of a plurality of switches SW which detect various control information as ON / OFF binary information, and the actuators M, L and B are composed of an electric motor M, a solenoid L, an alarm buzzer B and the like. .

【0017】図2に示すように、前記中央制御部CU
は、制御用の演算処理部としてのマイクロコンピュータ
CPU1、そのマイクロコンピュータCPU1と前記通
信手段Tとの間でのデータ授受を中継する中央側の通信
用ICとしてのゲートアレイGA1、及び、上記マイク
ロコンピュータCPU1とゲートアレイGA1との間で
データ授受及び各端末制御部LU1〜5に対する通信制
御を実行する通信用演算処理部としてのマイクロコンピ
ュータCPU2を備えて構成されている。尚、上記2つ
のマイクロコンピュータCPU1,CPU2間、及びマ
イクロコンピュータCPU2とゲートアレイGA1の間
のデータ授受は8ビットのバスラインを介して行われ
る。例えば、マイクロコンピュータCPU1がCPU2
に対してデータ入出力を要求する場合のデータフォーマ
ットが、図12に示されており、A0〜A3ビットが各
端末制御部LU1〜5に対する後述のアドレスを、A,
B,Cビットが各1の場合に端末制御部LU1〜5の各
入出力ポートA,B,C(図2及び図3参照)を、Xビ
ットが0の場合に各入出力ポートを介してのデータの入
出力要求を1の場合にエラー情報の要求を指定している
ことを夫々示す。
As shown in FIG. 2, the central control unit CU
Is a microcomputer CPU1 as an arithmetic processing unit for control, a gate array GA1 as a central communication IC for relaying data exchange between the microcomputer CPU1 and the communication means T, and the microcomputer. A microcomputer CPU2 is provided as a communication arithmetic processing unit for exchanging data between the CPU1 and the gate array GA1 and for performing communication control for each of the terminal control units LU1 to LU5. 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. For example, the microcomputer CPU1 is a CPU2
FIG. 12 shows a data format for requesting data input / output to the terminal control units LU1 to LU5.
When the B and C bits are 1, the input / output ports A, B and C (see FIGS. 2 and 3) of the terminal control units LU1-5 are connected, and when the X bit is 0, the input / output ports are connected via the input / output ports. When the data input / output request is 1, the error information request is designated.

【0018】上記制御用のマイクロコンピュータ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.

【0019】一方、図2に示すように、各端末制御部L
U1〜5は、センサ類SW及びアクチュエータ類M,
L,Bと通信手段Tとの間でのデータ授受を中継する端
末側の通信用ICとしてのゲートアレイGA2を備えて
いる。又、各端末制御部LU1〜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,
A gate array GA2 is provided as a communication IC on the terminal side that relays data exchange between L and B and the communication means T. Further, four harnesses AD1 to AD4 for generating address signals to the respective terminal control units LU1 to LU5 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. In particular,
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
The actuators M, L and B are connected to the input / output port of the gate array GA2 via a signal processing circuit and a driving circuit, respectively. In the figure, PS2 is a DC voltage source that supplies a power supply voltage to the gate array GA2 and the like.

【0020】前記通信手段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 type 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. Output to the gate arrays GA1 and GA2.

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

【0022】前記ゲートアレイ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 the 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.

【0023】又、前記ゲートアレイ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.

【0024】以上より、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 section 12 corresponds to the central side constituent section and the address setting section 22 corresponds to the terminal side constituent section respectively, and gates other than the CPU I / F section 12 and the address setting section 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.

【0025】前記各端末制御部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として設定される。
The terminal control units LU1 to LU5 input the address signals from the harnesses AD1 to AD4 connected to the external terminals A0 to A3 to the address setting unit 22 as their 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.

【0026】そして、中央制御部CUと各端末制御部L
U1〜5とは、上記各端末制御部LU1〜5に対して設
定されたアドレスを指定して多重通信するように構成さ
れ、具体的には、中央制御部CUが、ポーリングセレク
ティング方式にて各端末制御部LU1〜5と通信を実行
するように構成されている(図11参照)。
The central control unit CU and each terminal control unit L
U1 to 5 are configured to perform multiplex communication by designating an address set for each of the terminal control units LU1 to LU5. Specifically, the central control unit CU uses a polling selecting method. It is configured to communicate with each of the terminal control units LU1 to LU5 (see FIG. 11).

【0027】又、中央制御部CUは、アクチュエータ類
M,L,B駆動用の制御データの送信をセンサ類SWの
検出データの受信よりも優先させて実行するように構成
されている。但し、中央制御部CUは、各端末制御部L
U1〜LU5からのセンサ類SWの検出データの受信中
に各端末制御部LU1〜LU5に対するアクチュエータ
類M,L,B駆動用の制御データの送信要求が発生した
場合には、そのアクチュエータ類M,L,B駆動用の制
御データの送信を上記受信中のセンサ類SWの検出デー
タの受信が終了した後に実行するように構成されてい
る。
Further, the central control unit CU is configured to execute the transmission of the control data for driving the actuators M, L, B with priority over the reception of the detection data of the sensors SW. However, the central control unit CU controls each terminal control unit L
When a request for transmitting control data for driving the actuators M, L, and B to the terminal control units LU1 to LU5 is received while receiving the detection data of the sensors SW from U1 to LU5, the actuators M, The transmission of the control data for driving the L and B is executed after the reception of the detection data of the sensors SW being received is completed.

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

【0029】図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).

【0030】上記全ての端末制御部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 elapsed, 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).

【0031】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を一定時間リセット作動させると
ともに、警報表示出力する(#30〜#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 chattering of the switch operation, the CPU1 receives the bus communication 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. (# 30 to # 31).

【0032】CPU2からの割り込みに対する処理ルー
チンでは、図6に示すように、再割り込みを禁止した
後、TASKno=0から順次各TASKnoの値に応
じた処理を行い、TASKnoの値を1増やしてから次
の割り込みを許可して処理を終える。各TASKnoで
の処理は、図9及び図10にも示すように、最初のTA
SKno=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に対する出力データ
の転送処理を行う。以下、同様にして、残りのアドレス
の端末制御部LU1〜5について、コマンド転送とデー
タの入出力の処理を順次実行する。尚、上記フローにお
いて、出力ポートに対する出力データの転送は、CPU
1が全体の制御処理を開始するまで(メインスイッチオ
ン後1.5sec間)は行わない。
In the processing routine for the interrupt from the CPU 2, as shown in FIG. 6, after the re-interruption is prohibited, the processing corresponding 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. As shown in FIGS. 9 and 10, the processing in each TASKno is the first TA.
When SKno = 0, data is fetched from the input port A of the terminal control unit LU3 of address 0, and TASKno
= 1, the input port B of the terminal control unit LU3 at address 0
From the input port and transfer of output data to the output port C. 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 port B, and address 1 is set when TASKno = 4.
The transfer processing of the output data to the output port C of the terminal control unit LU4 is performed. Thereafter, in the same manner, the command transfer and the data input / output processes are sequentially executed for the terminal control units LU1 to LU5 of the remaining addresses. In the above flow, the output data is transferred to the output port by the CPU.
It is not performed until 1 starts the entire control process (for 1.5 seconds after the main switch is turned on).

【0033】上記フロー(図9)によれば、アドレス0
の端末制御部LU3に対する要求コマンド転送を行った
とき、CPU2はアドレス1の端末制御部LU4からセ
ンサ類SWのデータを受信中であり、このセンサ類SW
のデータの受信が終了した後、アドレス0の端末制御部
LU3の出力ポートCからアクチュエータ類に対して駆
動信号を出力するための出力データの転送処理が行われ
ている。即ち、センサ類SWの検出データの受信中に各
端末制御部LU1〜LU5に対するアクチュエータ類
M,L,B駆動用の制御データの送信要求が発生した場
合には、そのアクチュエータ類M,L,B駆動用の制御
データの送信が上記受信中のセンサ類SWの検出データ
の受信が終了した後に実行されることになる。尚、上記
フローでは、アドレス0の端末制御部LU3の出力ポー
トCに対する出力データの転送処理を、入力ポートA及
び入力ポートBからのデータ取り込みの後に行っている
が、出力ポートCに対する出力データの転送処理を先に
行ってもよい。
According to the above flow (FIG. 9), address 0
When the request command is transferred to the terminal control unit LU3 of the CPU 2, the CPU 2 is receiving the data of the sensors SW from the terminal control unit LU4 of the address 1, and the sensors SW
After the reception of the data has been completed, the output data transfer process for outputting the drive signal from the output port C of the terminal control unit LU3 having the address 0 to the actuators is performed. That is, when a request for transmitting control data for driving the actuators M, L, and B to the terminal control units LU1 to LU5 occurs while receiving the detection data of the sensors SW, the actuators M, L, and B are transmitted. The transmission of the control data for driving is executed after the reception of the detection data of the sensors SW being received is completed. In the above flow, the transfer processing of the output data to the output port C of the terminal control unit LU3 having the address 0 is performed after the data acquisition from the input port A and the input port B. The transfer process may be performed first.

【0034】そして、最後より1つ前のTASKno=
nでは、各端末制御部LU1〜5についての通信エラー
情報を要求するコマンドを転送し、最後のTASKno
=n+1では、上記通信エラー情報の読み込み処理を行
ってから、CPU2との通信がOKであったことを示す
ためにSBUSendフラグをリセットする(値を0に
する)処理を行う。最後のTASKno=n+1では、
次の割り込みを禁止した状態で処理を終えるので、以後
は、図5に示すバス処理において割り込みが許可される
までCPU2からの割り込みに対する処理は実行されな
い。
Then, TASKno = one before the last
In n, a command requesting communication error information for each of the terminal control units LU1 to 5 is transferred, and the last TASKno is transmitted.
In the case of = n + 1, the communication error information is read, and then the SBUSend flag is reset (the value is set to 0) to indicate that the communication with the CPU 2 is OK. At the last TASKno = n + 1,
Since the processing is ended in the state where the next interrupt is prohibited, 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.

【0035】コンバインの作動を停止すべく、メインス
イッチがオフされた場合には、図4に示すように、先
ず、CPU2をリセットして各端末制御部LU1〜5と
の通信を停止させる(#13)。そして、メインスイッ
チオフ後の5sec間、エンジン停止用のソレノイドを
駆動してエンジンへの燃料供給を遮断するとともに、エ
ラー情報の前記メモリMEMへの書き込み処理を行い、
5sec経過すると上記ソレノイドの駆動を停止する
(#14〜#17)。
When the main switch is turned off in order to stop the operation of the combine, first, as shown in FIG. 4, the CPU 2 is reset to stop the communication with the respective 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 the error information is written into the memory MEM.
After 5 seconds, the driving of the solenoid is stopped (# 14 to # 17).

【0036】上記メモリ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 drops, 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.

【0037】次に、図7及び図8〜図10に示すフロー
チャートに基づいて、前記各端末制御部LU1〜5にお
ける制御動作について説明する。先ず、受信データ中の
アドレスによって自己に対するポーリング信号を受信し
たか否かを判断し、自己に対するポーリング信号である
ときには、スイッチSWからの入力要求かアクチュエー
タ類M,L,Bに対する出力要求かを判断する。スイッ
チSWからの入力要求の場合には、スイッチSWからの
検出信号を入力ポートを介して入力し、それに基づいて
返信用のセンサデータを作成する。一方、アクチュエー
タ類M,L,Bに対する出力要求の場合には、受信した
データを出力ポートを介して出力し、返信用のACKデ
ータを作成する。次に、上記作成したセンサデータ又は
ACKデータを、図11に示すように、中央制御部CU
からのポーリング信号の終了時点に対して送信開始点ま
での時間tをランダムに変化させて送信する。
Next, the control operation in each of the terminal control units LU1 to LU5 will be described based on the flow charts shown in FIGS. 7 and 8 to 10. First, it is determined whether or not a polling signal for itself is received according to the address in the received data, and if it is a polling signal for itself, it is determined whether it is an input request from the switch SW or an output request to the actuators M, L, B. To do. 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, in the case of an output request to the actuators M, L, B, the received data is output via the output port and ACK data for reply is created. Next, as shown in FIG. 11, the sensor data or the ACK data created above is converted into the central control unit CU.
The time t to the transmission start point is changed at random with respect to the end time point of the polling signal from (4).

【0038】これにより、各端末制御部LU1〜5に対
するアドレス設定の誤り等によって、複数の端末制御部
LU1〜5が同一のポーリング信号に対して応答したと
きには、各返信信号のタイミングがずれた信号波形が重
なったものが中央制御部CU側で受信されて正規データ
と異なる異常データと判断され、通信エラーとして検出
できることになる。尚、上記返信タイミングのランダム
処理は、ゲートアレイGA2内のランダム信号発生回路
23(図3参照)からの信号に基づいて通信コントロー
ル回路16が行う。
As a result, when a plurality of terminal control units LU1 to 5 respond to the same polling signal due to an error in address setting for each terminal control unit LU1 to 5 or the like, the signals of the respective reply signals are shifted in timing. The overlapping waveforms are received by the central control unit CU side, are judged as abnormal data different from the normal data, and can be detected as a communication error. The communication control circuit 16 performs the random processing of the reply timing based on the signal from the random signal generation circuit 23 (see FIG. 3) in the gate array GA2.

【0039】〔別実施例〕次に、別実施例を説明する。
上記実施例では、中央制御部CUと各端末制御部LU1
〜LU5とが、有線式の通信手段Tを介して多重通信す
るものを示したが、多重通信ではなく、例えば、中央制
御部CUが、各端末制御部LU1〜LU5との間に設け
た個別の(従って端末制御部LU1〜LU5の数と同数
の)通信手段Tを介して個別に通信するようにしてもよ
い。
Another Embodiment Next, another embodiment will be described.
In the above embodiment, the central control unit CU and each terminal control unit LU1
~ LU5 has been shown to perform multiplex communication via the wired communication means T, but not multiplex communication, for example, an individual unit provided between the central control unit CU and each terminal control unit LU1 to LU5. Alternatively, individual communication may be performed via the communication means T (the same number as the number of the terminal control units LU1 to LU5).

【0040】又、上記実施例では、中央制御部CUと各
端末制御部LU1〜LU5とが多重通信する場合に、時
分割多重方式により、各端末制御部LU1〜LU5のア
ドレスを指定することによっていずれの端末制御部LU
1〜LU5に対する通信かを区別するようにしたが、時
分割多重方式ではなく、周波数多重方式により、各端末
制御部LU1〜LU5に対して異なる周波数の伝送信号
で通信させるようにしてもよい。又、アドレスを指定し
て多重通信する場合にも、ポーリングセレクティング方
式以外の通信方式が可能である。
Further, in the above embodiment, when the central control unit CU and each of the terminal control units LU1 to LU5 carry out multiplex communication, the address of each of the terminal control units LU1 to LU5 is designated by the time division multiplexing method. Which terminal control unit LU
Although the communication is performed with respect to 1 to LU5, the terminal control units LU1 to LU5 may be made to communicate with transmission signals of different frequencies by the frequency multiplexing method instead of the time division multiplexing method. Further, also in the case of designating an address and performing multiplex communication, a communication method other than the polling selecting method is possible.

【0041】又、上記実施例では、中央制御部CUが、
アクチュエータ類M,L,B駆動用の制御データの送信
をセンサ類SWの検出データの受信よりも優先させて実
行する具体構成として、各端末制御部LU1〜LU5か
らのセンサ類SWの検出データの受信中に各端末制御部
LU1〜LU5に対するアクチュエータ類M,L,B駆
動用の制御データの送信要求が発生した場合には、その
アクチュエータ類M,L,B駆動用の制御データの送信
を上記受信中のセンサ類SWの検出データの受信が終了
した後に実行するものを示したが、このようにせずに、
例えばセンサ類SWの検出データの受信を一時中断して
先にアクチュエータ類M,L,B駆動用の制御データの
送信を行い、その後、中断したセンサ類SWの検出デー
タの受信を行うようにして、より迅速にアクチュエータ
類M,L,Bを駆動させることもできる。
In the above embodiment, the central control unit CU is
As a specific configuration in which the transmission of the control data for driving the actuators M, L, B is executed with priority over the reception of the detection data of the sensors SW, the detection data of the sensors SW from each of the terminal control units LU1 to LU5 When a request for transmitting control data for driving the actuators M, L, B is made to each of the terminal control units LU1 to LU5 during reception, the control data for driving the actuators M, L, B is transmitted as described above. Although what is executed after the reception of the detection data of the sensors SW being received is shown, without doing this,
For example, the reception of the detection data of the sensors SW is temporarily interrupted, the control data for driving the actuators M, L, and B is transmitted first, and then the interrupted detection data of the sensors SW is received. It is also possible to drive the actuators M, L, B more quickly.

【0042】上記実施例では、中央制御部CUが、制御
用の演算処理部としてのマイクロコンピュータCPU1
と、通信用演算処理部としてのマイクロコンピュータC
PU2との2つのCPUを備えるものを示したが、要求
される通信処理速度がそれほど速くない場合等において
は、1つのマイクロコンピュータCPU1で全体の制御
と通信制御とを行うようにして構成の簡略化を図ること
も可能である。
In the above embodiment, the central control unit CU has 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.

【0043】上記実施例では、有線式の通信手段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.

【0044】上記実施例では、センサ類を、制御情報を
ON/OFFの二値データとして検出するスイッチSW
で構成したが、二値以外のアナログ信号やパルス信号を
検出するセンサも含めて構成することもできる。又、ア
クチュエータ類も、電動モータM、ソレノイドL、警報
ブザーB以外のものを含めることができる。
In the above embodiment, the switch SW for detecting the sensors as ON / OFF binary data 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.

【0045】上記実施例では、本発明をコンバインに適
用したものを例示したが、これ以外の自動あるいは手動
走行式の各種作業車に適用することができる。
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.

【0046】尚、特許請求の範囲の項に図面との対照を
便利にする為に符号を記すが、該記入により本発明は添
付図面の構成に限定されるものではない。
It should be noted that reference numerals are added to the claims for convenience of comparison with the drawings, but the present invention is not limited to the configurations 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】CPU間で授受されるデータフォーマットの
FIG. 12: Example of data format exchanged between CPUs

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

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

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

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 中央制御部(CU)と機体各部に分散配
置される複数個の端末制御部(LU1〜LU5)とが、
有線式の通信手段(T)を介して通信可能に接続され、
前記端末制御部(LU1〜LU5)が、制御情報検出用
のセンサ類(SW)からの検出信号の入力及びその入力
データの前記中央制御部(CU)への送信、並びに、前
記中央制御部(CU)からの制御データの受信及びその
受信データに基づくアクチュエータ類(M,L,B)に
対する駆動信号の出力を実行し、前記中央制御部(C
U)が、前記端末制御部(LU1〜LU5)からの送信
データに基づいて、前記各端末制御部(LU1〜LU
5)のアクチュエータ類(M,L,B)に対する適正駆
動内容を判定して、その適正駆動内容を前記制御データ
として送信するように構成された作業車用の制御装置で
あって、 前記中央制御部(CU)は、前記アクチュエータ類
(M,L,B)駆動用の制御データの送信を前記センサ
類(SW)の検出データの受信よりも優先させて実行す
るように構成されている作業車用の制御装置。
1. A central control unit (CU) and a plurality of terminal control units (LU1 to LU5) dispersedly arranged in each part of the body,
It is communicably connected via a wired communication means (T),
The terminal control unit (LU1 to LU5) inputs detection signals from sensors (SW) for detecting control information, transmits the input data to the central control unit (CU), and the central control unit (LU). CU) to receive control data and output drive signals to actuators (M, L, B) based on the received data, and to execute the central control unit (C).
U), based on the transmission data from the terminal control units (LU1 to LU5), the terminal control units (LU1 to LU5).
5) A control device for a work vehicle configured to determine the appropriate drive content for the actuators (M, L, B) of 5) and transmit the appropriate drive content as the control data. The unit (CU) is configured to execute the transmission of the control data for driving the actuators (M, L, B) with priority over the reception of the detection data of the sensors (SW). Control device.
【請求項2】 前記中央制御部(CU)と前記各端末制
御部(LU1〜LU5)とが、前記各端末制御部(LU
1〜LU5)に対するアドレスを指定して多重通信する
ように構成され、 前記中央制御部(CU)は、前記各端末制御部(LU1
〜LU5)からの前記センサ類(SW)の検出データの
受信中に前記各端末制御部(LU1〜LU5)に対する
前記アクチュエータ類(M,L,B)駆動用の制御デー
タの送信要求が発生した場合には、そのアクチュエータ
類(M,L,B)駆動用の制御データの送信を前記受信
中のセンサ類(SW)の検出データの受信が終了した後
に実行するように構成されている請求項1記載の作業車
用の制御装置。
2. The central control unit (CU) and each of the terminal control units (LU1 to LU5) are connected to each of the terminal control units (LU).
1 to LU5) and multiplex communication is performed by designating an address, and the central control unit (CU) is configured to control the terminal control units (LU1).
To LU5) while receiving the detection data of the sensors (SW) from the sensors (SW), a request for transmitting control data for driving the actuators (M, L, B) to the terminal control units (LU1 to LU5) is generated. In this case, the control data for driving the actuators (M, L, B) is transmitted after the reception of the detection data of the sensors (SW) being received is completed. The control device for the work vehicle according to 1.
【請求項3】 前記中央制御部(CU)は、ポーリング
セレクティング方式にて前記各端末制御部(LU1〜L
U5)と通信を実行するように構成されている請求項2
記載の作業車用の制御装置。
3. The central control unit (CU) uses the polling selection method to control the terminal control units (LU1 to L).
U5) configured to perform communication with
Control device for the described work vehicle.
JP5277979A 1993-11-08 1993-11-08 Control device for work vehicle Expired - Fee Related JP2866561B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP5277979A JP2866561B2 (en) 1993-11-08 1993-11-08 Control device for work vehicle
KR1019940008660A KR0139898B1 (en) 1993-11-08 1994-04-23 Control device for an agricultural machine
CN94105855A CN1061207C (en) 1993-11-08 1994-05-07 Device for controlling working vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5277979A JP2866561B2 (en) 1993-11-08 1993-11-08 Control device for work vehicle

Publications (2)

Publication Number Publication Date
JPH07131864A true JPH07131864A (en) 1995-05-19
JP2866561B2 JP2866561B2 (en) 1999-03-08

Family

ID=17590939

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5277979A Expired - Fee Related JP2866561B2 (en) 1993-11-08 1993-11-08 Control device for work vehicle

Country Status (1)

Country Link
JP (1) JP2866561B2 (en)

Also Published As

Publication number Publication date
JP2866561B2 (en) 1999-03-08

Similar Documents

Publication Publication Date Title
KR920703361A (en) In-vehicle vehicle total control and communication system
JPH10161735A (en) Distribution control system of heavy equipment
JP5582748B2 (en) Electronic control device for vehicle
JP2866561B2 (en) Control device for work vehicle
JP2933475B2 (en) Control device for work vehicle
JP2866560B2 (en) Control device for work vehicle
JP2933473B2 (en) Control device for work vehicle
JPH07162962A (en) Controller for truck
JPH07184263A (en) Controller for working truck
JPH07184260A (en) Controller for working truck
JP2866562B2 (en) Control device for work vehicle
JPH07193871A (en) Controller for working truck
JPH07184262A (en) Controller for working truck
JPH07131863A (en) Communication equipment for working vehicle
JP2944400B2 (en) Control device for work vehicle
JPH07203550A (en) Controller for work wagon
JPH07193870A (en) Controller for working truck
JPH07162963A (en) Multiplex communication system
JPH09226482A (en) Communication controller for vehicle
JPH07212842A (en) Controller for work wagon
KR0139898B1 (en) Control device for an agricultural machine
JPH07184264A (en) Controller for working truck
JPH07193872A (en) Controller for working truck
JPH07162961A (en) Controller for work wagon
JP3310020B2 (en) Multiplex transmission equipment for vehicles

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081218

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091218

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees