JPH09125823A - Catching detector of door in automatic open-close control of sliding door for car - Google Patents

Catching detector of door in automatic open-close control of sliding door for car

Info

Publication number
JPH09125823A
JPH09125823A JP7340889A JP34088995A JPH09125823A JP H09125823 A JPH09125823 A JP H09125823A JP 7340889 A JP7340889 A JP 7340889A JP 34088995 A JP34088995 A JP 34088995A JP H09125823 A JPH09125823 A JP H09125823A
Authority
JP
Japan
Prior art keywords
door
motor
value
motor load
control
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
JP7340889A
Other languages
Japanese (ja)
Inventor
Koichi Shigematsu
松 孝 一 重
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.)
OI SEISAKUSHO CO Ltd
Mitsui Kinzoku ACT Corp
Original Assignee
OI SEISAKUSHO CO Ltd
Ohi Seisakusho Co Ltd
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 OI SEISAKUSHO CO Ltd, Ohi Seisakusho Co Ltd filed Critical OI SEISAKUSHO CO Ltd
Priority to JP7340889A priority Critical patent/JPH09125823A/en
Publication of JPH09125823A publication Critical patent/JPH09125823A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power-Operated Mechanisms For Wings (AREA)

Abstract

PROBLEM TO BE SOLVED: To detect catching quickly by reading beforehand a known motor load data and predicting the fluctuation thereof by storing motor load data regarding the driving of a sliding door in response to the place of the door. SOLUTION: A sliding door automatic controller 23 repeatedly conducts control at approximately constant time intervals by a main control section 55 containing a control mode conversion section 54 selecting a proper control mode in response to the conditions of input-output peripheral equipments. A standard load resistance components regarding the opening and closing of a door 2 is extracted on the basis of a current value flowing through a door open-close motor 14, the conditions of the opening and closing of the door and a sampling region peculiar to the place of the door are determined and stored in a memory, and the standard load resistance component stored in the same sampling region at the time of the normal opening and closing of the door and a current load resistance component are compared and the presence of catching is detected. The load resistance component stored at every opening and closing of the door is corrected and learnt and updated in the stored load resistance component.

Description

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

【0001】[0001]

【発明が属する技術分野】本発明は、車両等のスライド
ドアを、モータ駆動により自動的に開閉し得るようにし
た車両用スライドドアの自動開閉制御装置におけるドア
の挟み込み検出装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a door trapping detection device in a vehicle slide door automatic opening / closing control device capable of automatically opening and closing a slide door of a vehicle or the like by driving a motor.

【0002】[0002]

【従来の技術】従来、車体にスライド開閉可能に支持さ
れたスライドドアを、自動駆動源により開閉移動させる
ようにした車両用スライドドアの開閉制御装置は、自動
駆動力を用いてドアを開閉するに際して、自動駆動力を
発揮する時期を、運転席やドアハンドル等に設けられた
駆動源を働かせるドア開閉操作手段の意識的操作によ
り、スライドドアを動力駆動しうるようになっている。
2. Description of the Related Art Conventionally, an opening / closing control device for a vehicle slide door in which a slide door slidably supported on a vehicle body is opened and closed by an automatic drive source is opened and closed by using an automatic driving force. At this time, the slide door can be powered by conscious operation of the door opening / closing operation means that operates a drive source provided in a driver's seat, a door handle, or the like when the automatic driving force is exerted.

【0003】また、ドア開閉操作手段に代わる自動駆動
力を発揮させるトリガー手段として、手動力によってス
ライドドアが予め定めた距離を移動したことを検知し、
そのスライドドアを移動させた手動駆動力に代わって、
自動駆動力に切り替えているものもある。
Further, as a trigger means for exerting an automatic driving force in place of the door opening / closing operation means, it is detected that the slide door has moved a predetermined distance by a manual force,
Instead of the manual driving force that moved the sliding door,
Some have switched to automatic drive.

【0004】[0004]

【発明が解決しようとする課題】従来の車両用スライド
ドアの開閉制御装置においては、スライドドアの自重が
重いため、スライドドアの駆動に係る負荷が、開閉方向
や開閉位置に影響され易すく、特にスライドドアの移動
方向に係る、自動車の前後の傾きによっては、ドアの自
重を吊り上げる程の過大負荷から、同程度の加重に制動
を加える負の負荷を生じるため、安全対策を十分考慮し
ての自動開閉制御を困難なものとしている。
In the conventional opening / closing control device for a sliding door for a vehicle, since the weight of the sliding door is heavy, the load related to driving the sliding door is easily influenced by the opening / closing direction and the opening / closing position. In particular, depending on the front and rear inclination of the car, which is related to the moving direction of the sliding door, an excessive load such as lifting the dead weight of the door may cause a negative load for braking to the same weight. It is difficult to control the automatic opening and closing of.

【0005】すなわち、スライドドアに係る負荷が大き
く、かつ負荷変動幅が大きくなれば、自動駆動手段の出
力パワーは、負荷変動に素早く対処するように、十分に
余裕をもって大きくしなければならないが、逆に小さい
負荷変動に対して感応力が減少するため、ドアに挟み込
みによる事故を生じないような、安全性を考慮したモー
タのパワー制御を行うのが困難であった。
That is, if the load on the sliding door is large and the load fluctuation range is large, the output power of the automatic drive means must be increased with a sufficient margin so that the load fluctuation can be dealt with quickly. On the contrary, since the stress is reduced for a small load fluctuation, it is difficult to control the power of the motor in consideration of safety so that an accident due to being caught in the door does not occur.

【0006】特に、スライドドアの動力駆動の開始時期
を自動制御とした場合、ドアの動力駆動が、ドア周辺の
操作者等に認識されない状態で行われるため、ドアが閉
方向に駆動される際は、自動車の姿勢など、自動車の使
用に際してのあらゆる状況を考慮して、挟み込みの有無
を速やかに判別して、安全対策を施さなければならな
い。
In particular, when the start timing of the power drive of the slide door is automatically controlled, the power drive of the door is performed without being recognized by an operator or the like around the door, so that the door is driven in the closing direction. Must take all possible situations in the use of the vehicle, such as the posture of the vehicle, to promptly determine the presence or absence of a pinch and take safety measures.

【0007】本発明は、従来の技術が有する上記のよう
な問題点に鑑み、スライドドアの自動駆動にかせられる
あらゆる状況を考慮して、自在性と安全性が二律背反す
るスライドドアの自動制御のための、ドアの挟み込み検
出装置を提供することを目的としている。
In view of the above-mentioned problems of the prior art, the present invention provides automatic control of a slide door in which flexibility and safety are trade-offs in consideration of all situations required for automatic drive of the slide door. It is an object of the present invention to provide a trapping detection device for a door.

【0008】[0008]

【課題を解決するための手段】本発明によると、上記課
題は、次のようにして解決される。 (1) 車体に設けたガイドトラックに沿って開閉可能に
支持されたスライドドアを、モータ駆動により開閉移動
させるようにした車両用スライドドアの開閉装置におい
て、正逆転可能なモータを有するドア駆動部と、該ドア
駆動部のモータ負荷対応データを検出するモータ負荷検
出手段と、ガイドトラックに案内されるドアの位置を、
ドア全開から全閉までの範囲で検出するドア位置検出手
段と、ドア位置検出手段の検出位置によってアドレス指
定される所要サンプリング領域に、前記モータ負荷検出
手段が検出したモータ負荷対応データを関連させて、ド
アの位置に係るモータ負荷対応データを記憶する記憶手
段と、記憶されたモータ負荷対応データが、最新のサン
プリング領域のアドレスで読み出される毎に、最新に検
出されたモータ負荷対応データにより、読み出されたモ
ータ負荷対応データを適宜修正して、新たに記憶される
べきモータ負荷対応データとして学習する、モータ負荷
対応データ学習手段と、ドアが実在するサンプリング領
域よりも、ドアの移動方向に適数領域分進んだサンプリ
ング領域の記憶されたモータ負荷対応データを読み出
し、それとドアが実在するサンプリング領域のモータ負
荷対応データを所要に演算して、ドアの移動方向につい
て予測されるモータ負荷対応データの予測値を求め、そ
の予測値と実在するサンプリング領域のモータ負荷対応
データの偏差から、挟み込みの有無を判別する挟み込み
判別手段と、を備えることにより。
According to the present invention, the above-mentioned problem is solved as follows. (1) In a vehicle slide door opening / closing device in which a slide door that is openably / closably supported along a guide track provided on a vehicle body is opened / closed by a motor drive, a door drive unit having a forward / reverse rotation motor. The motor load detection means for detecting the motor load correspondence data of the door drive section, and the position of the door guided by the guide track,
The door position detecting means for detecting the door from the full open to the fully closed, and the required sampling area addressed by the detection position of the door position detecting means are associated with the motor load corresponding data detected by the motor load detecting means. , A storage means for storing the motor load correspondence data relating to the position of the door, and every time the stored motor load correspondence data is read at the address of the latest sampling area, it is read by the latest detected motor load correspondence data. The motor load correspondence data learning means for appropriately correcting the outputted motor load correspondence data and learning as the motor load correspondence data to be newly stored, and the sampling direction in which the door actually exists are more suitable for the moving direction of the door. The motor load correspondence data stored in the sampling area advanced by several areas is read and Calculate the motor load corresponding data of the sampling area to obtain the predicted value of the motor load corresponding data predicted in the moving direction of the door, and from the deviation between the predicted value and the motor load corresponding data of the existing sampling area, By providing an entrapment determination means for determining the presence or absence of entrapment.

【0009】(2) 上記(1)項にいて、モータ負荷対応
データが、間欠的に検出されたモータの電流値である。
(2) In the above item (1), the motor load correspondence data is the motor current value detected intermittently.

【0010】(3) 上記(1)項において、モータ負荷対
応データが、ドア位置対応のアドレスをもつサンプリン
グ領域内で間欠的に複数個検出されたモータ電流の平均
電流値である。
(3) In the above item (1), the motor load correspondence data is an average current value of a plurality of motor currents intermittently detected in a sampling area having an address corresponding to a door position.

【0011】(4) 上記(1)〜(3)項のいずれかにおい
て、記憶されたモータ負荷対応データが、ドアの移動方
向に配列する各サンプリング領域で検出されたモータの
平均電流値による、直前検出のサンプリング領域の平均
電流値と今回検出のサンプリング領域の平均電流値との
増加率である。
(4) In any one of the above items (1) to (3), the stored motor load correspondence data is based on the average current value of the motor detected in each sampling area arranged in the door moving direction, It is the rate of increase between the average current value of the sampling area of the immediately preceding detection and the average current value of the sampling area of the current detection.

【0012】(5) 上記(4)項において、挟み込み判別
手段が、記憶されたモータ負荷対応データを、隣接する
サンプリング領域間のモータ平均電流の増加率とし、そ
の増加率がなだらかに変化しているサンプリング領域内
であって、モータ負荷対応データを検出する検出手段の
検出電流が、記憶された電流増加率よりも上昇傾向が大
なる場合には、挟み込み有りと判定する。
(5) In the above item (4), the entrapment determination means sets the stored motor load correspondence data as the rate of increase of the motor average current between adjacent sampling areas, and the rate of increase changes gently. If the detected current of the detection means for detecting the motor load corresponding data has a higher rising tendency than the stored current increase rate within the existing sampling area, it is determined that there is entrapment.

【0013】[0013]

【発明の実施の形態】以下、本発明を適用した車両用ス
ライドドアの自動開閉制御装置における、本発明の一実
施例を示す挟み込み検出装置を、図面に基づいて説明す
る。図1乃至図6は、本発明が適用されるスライドドア
を備えた車両の一例を示している。
BEST MODE FOR CARRYING OUT THE INVENTION An entrapment detection device showing an embodiment of the present invention in a vehicle slide door automatic opening / closing control device to which the present invention is applied will be described below with reference to the drawings. 1 to 6 show an example of a vehicle equipped with a sliding door to which the present invention is applied.

【0014】(1)は、車両の車体、(2)は、車体(1)に
開閉可能に装着されたスライドドア(以下、単にドアと
いう)で、そのドア(2)は、車体(1)のドア開口(3)の
上縁に設けたアッパートラック(4)と、下縁に設けたロ
アトラック(5)に、ドア(2)の上下端に固設した摺動連
結具(6)と連係して、前後方向に摺動自在に懸架され、
さらにドア(2)の後端は、後部の車体(1)のウェスト部
付近に適宜固定したガイドトラック(7)とにより案内さ
れ、ドア開口(3)を密閉した全閉位置から、車体(1)の
アウターパネルの外側面より若干外方に突出しながら、
その車体(1)の外装パネル側面と平行して後方に移動さ
せるようにした、ドア開口(3)を全開させた全開位置と
の間を、開閉移動可能になっている。
(1) is a vehicle body, (2) is a slide door (hereinafter, simply referred to as a door) mounted on the vehicle body (1) so as to be openable and closable, and the door (2) is the vehicle body (1). An upper track (4) provided on the upper edge of the door opening (3) of the door, a lower track (5) provided on the lower edge of the door opening (3), and sliding couplings (6) fixed to the upper and lower ends of the door (2). Coordinated, suspended in the front-back direction,
Further, the rear end of the door (2) is guided by a guide track (7) which is appropriately fixed near the waist of the rear body (1), and from the fully closed position where the door opening (3) is sealed, ) While protruding slightly outward from the outer surface of the outer panel,
The door can be opened and closed between a fully opened position where the door opening (3) is fully opened, which is moved rearward in parallel with the side surface of the exterior panel of the vehicle body (1).

【0015】ドア(2)は、全閉位置にあるとき、図7に
略示するドア(2)の開口端に設けたドアロック(8)が、
車体(1)に固定したストライカ(9)と係合することによ
り、確実な閉鎖状態をもって全閉位置に保持される。
When the door (2) is in the fully closed position, the door lock (8) provided at the open end of the door (2) shown in FIG.
By engaging with the striker (9) fixed to the vehicle body (1), it is held in the fully closed position with a reliable closed state.

【0016】(10)は、ドア開口(3)の後方の車体(1)に
装着され、図4に示すように、モータ駆動部(11)とガイ
ドトラック(7)とドア駆動ケーブル部材(12)とを備え、
ドア(2)をモータ駆動により自動的に開閉させるドア駆
動装置である。
(10) is mounted on the vehicle body (1) behind the door opening (3), and as shown in FIG. 4, the motor drive section (11), the guide track (7), and the door drive cable member (12). ) And
It is a door drive device for automatically opening and closing the door (2) by driving a motor.

【0017】モータ駆動部(11)は、車体(1)を外装する
アウターパネルと室内側のインナーパネルとの間に配置
されている。図5に示す如く、ドア駆動ケーブル部材(1
2)は、モータ駆動部(11)から繰り出されて、車体(1)の
後部側に穿設された装着孔を通って車外に排出され、ガ
イドトラック(5)に沿って往復回走して、それぞれの方
向からドア(2)側に連結された閉扉用ケーブル(12a)と
開扉用ケーブル(12b)とを有している。
The motor drive section (11) is arranged between an outer panel which covers the vehicle body (1) and an inner panel on the indoor side. As shown in FIG. 5, the door drive cable member (1
2) is unreeled from the motor drive unit (11), discharged through the mounting hole formed on the rear side of the vehicle body (1) to the outside of the vehicle, and reciprocated along the guide track (5). , A door closing cable (12a) and a door opening cable (12b) connected to the door (2) side from respective directions.

【0018】ドア駆動部(11)は、図5に示すように、車
体(1)の室内側にボルト等をもって固定されたベースプ
レート(13)に、正逆転可能なモータ(14)と、モータ(14)
の回転数を減少し、出力トルクを増大して伝達されるド
ライブプーリ(15)、及びモータ(14)の駆動時に、別途適
時に励磁されて、モータ(14)とドライブプーリ(15)との
間を、機械的に接続する電磁クラッチ(16)(図7におい
て電気回路で図示)を内蔵した減速部(17)とを固定した
ものよりなっている。
As shown in FIG. 5, the door drive section (11) includes a base plate (13) fixed to the interior of the vehicle body (1) with bolts and the like, a motor (14) capable of forward and reverse rotation, and a motor ( 14)
Of the drive pulley (15), which is transmitted by increasing the output torque by decreasing the number of rotations of the motor and the motor (14), is separately excited in a timely manner to separate the motor (14) and the drive pulley (15). The space between the two is fixed to an electromagnetic clutch (16) mechanically connected (illustrated by an electric circuit in FIG. 7) and a speed reducer (17).

【0019】ドライブプーリ(15)の回転軸には、それの
回転角度を高分解能に計測するロータリーエンコーダ(1
8)を連係してあり、ドライブプーリ(15)に巻回されるド
ア駆動ケーブル部材(12)の移動量(後述するドアの移動
量)が計れるようになっている。
The rotary shaft of the drive pulley (15) has a rotary encoder (1
8) are linked so that the amount of movement of the door drive cable member (12) wound around the drive pulley (15) (the amount of movement of the door described later) can be measured.

【0020】ドライブプーリ(15)に巻回されたドア駆動
ケーブル部材(12)は、ガイドトラック(7)の後方に設け
られた、それぞれが独立して回転する1対の案内プーリ
(19)を介して、外向きにコ字型に開口するガイドトラッ
ク(7)の開口部(7a)と、下方の案内部(7b)を、互いに平
行して掛け回されるとともに、ガイドトラック(7)の前
端部に設けられた、反転プーリ(20)に巻回されて、無端
索条を形成している。
The door drive cable member (12) wound around the drive pulley (15) is a pair of guide pulleys provided behind the guide track (7) and rotating independently of each other.
Through the (19), the opening (7a) of the guide track (7) opening outward in a U-shape and the lower guide part (7b) are hung parallel to each other, and It is wound around a reversing pulley (20) provided at the front end of (7) to form an endless cord.

【0021】ドア駆動ケーブル部材(12)における、ガイ
ドトラック(7)の開口部(7a)を走行する部分の適所は、
開口部(7a)を抵抗なく走行する移動部材(21)と移動不能
に連結され、その移動部材(21)の前方は、前記閉扉用ケ
ーブル(12a)を形成し、移動部材(21)の後方は、開扉用
ケーブル(12b)を形成している。
In the door drive cable member (12), the proper place of the portion running through the opening (7a) of the guide track (7) is
The moving member (21) traveling without resistance through the opening (7a) is immovably connected, and the front of the moving member (21) forms the door closing cable (12a) and the rear of the moving member (21). Form a door opening cable (12b).

【0022】移動部材(21)は、ヒンジアーム(22)を介し
てドア(2)の後端部内側に連結され、ドア駆動部(11)の
モータ(14)の回転による開扉用ケーブル(12a)又は閉扉
用ケーブル(12b)の引っ張り力により、ガイドトラック
(7)の開口(7a)内を、前方又は後方に移動して、ドア
(2)を閉扉方向又は開扉方向に移動させる。
The moving member (21) is connected to the inside of the rear end portion of the door (2) through a hinge arm (22), and a door opening cable (rotating a motor (14) of the door driving unit (11) ( 12a) or the door closing cable (12b) pulling force
Move the inside (7a) of the opening (7) forward or backward to open the door.
Move (2) in the door closing direction or door opening direction.

【0023】ロータリーエンコーダ(18)は、ドライブプ
ーリ(15)に連動して、それの回転角度を1回転当たり多
数のパルスに変換して出力するもので、このロータリー
エンコーダ(18)の出力パルス数を、ドア(2)の全閉位置
を初期値として、それから全開位置まで連続して計数す
ると、その計数値は移動部材(21)の位置、すなわちドア
(2)の位置を計ることができる。
The rotary encoder (18) interlocks with the drive pulley (15) and converts the rotation angle of the drive pulley (15) into a large number of pulses per one rotation and outputs the same. The number of output pulses of this rotary encoder (18) Is continuously counted from the fully closed position of the door (2) to the fully opened position, the count value is the position of the moving member (21), that is, the door.
The position of (2) can be measured.

【0024】図7は、上述の如く車体(1)に装備された
ドア(2)と、後述するスライドドア自動制御装置(23)と
の関連の概略を示す、ブロック図である。なお、図中前
記説明と同一部材は、同一符号を付して、詳細な説明を
省略する。
FIG. 7 is a block diagram showing the outline of the relationship between the door (2) mounted on the vehicle body (1) as described above and the slide door automatic control device (23) described later. In the drawings, the same members as those described above are designated by the same reference numerals, and detailed description thereof will be omitted.

【0025】スライドドア自動制御装置(23)には、バッ
テリー(24)の電圧信号(BV)、イグニッションSW
(以下電気スイッチ部材をSWと略称する)(25)の開閉
信号(IG)、パーキングSW(26)の開閉信号(P
K)、メインSW(27)の開閉信号(MA)、ドア開(ド
アを開扉するときONにする)SW(28)の開閉信号(D
O)、ドア閉(ドアを閉扉するときONにする)SW(2
9)の開閉信号(DC)等が入力するとともに、ワイヤレ
スリモコン(30)を用いた、キーレスシステム(31)のリモ
コンドア開(ドアを開扉するときONにする)の開閉信
号(RO)と、リモコンドア閉(ドアを閉扉するときO
Nにする)の開閉信号(RC)が入力している。
The automatic control device (23) for the sliding door includes a voltage signal (BV) of the battery (24) and an ignition switch.
(Hereinafter, the electric switch member is abbreviated as SW.) (25) open / close signal (IG), parking SW (26) open / close signal (P)
K), main SW (27) open / close signal (MA), door open (ON when opening the door) SW (28) open / close signal (D)
O), door closed (turn on when closing door) SW (2
The open / close signal (DC) of 9) is input, and the open / close signal (RO) of the remote control door opening (turn on when the door is opened) of the keyless system (31) using the wireless remote controller (30) , Remote control door closed (O when closing the door
An open / close signal (RC) of "N" is input.

【0026】出力としては、ドア(2)の自動開閉が行わ
れることを、警報するブザー(32)を制御するとともに、
前記モータ駆動部(11)を制御している。また、車体(1)
とドア(2)の間のドア開口(3)部分に設けられた車体側
コネクタ(33)とドア側コネクタ(34)を介して、ドア(2)
全閉状態より若干ドア(2)が開いた状態から、ドア(2)
内蔵の電気回路と接続して、そのドア(2)内蔵の電気回
路を制御する。
As an output, the buzzer (32) for warning that the door (2) is automatically opened and closed is controlled, and
It controls the motor drive unit (11). Also, the car body (1)
Through the vehicle body side connector (33) and the door side connector (34) provided in the door opening (3) between the door (2) and the door (2)
From the state where the door (2) is slightly opened from the fully closed state, the door (2)
It connects with the built-in electric circuit and controls the built-in electric circuit of the door (2).

【0027】ドア(2)内蔵の電気回路には、ドア(2)を
ハーフラッチ直前から、フルラッチの状態にまで締め込
むためのクロージャーモータ(CM)と、ドアロック
(8)を電動駆動するアクチュエータ(以下ACTRと略
称する)(35)と、ハーフラッチを検出するためのハーフ
ラッチSW(36)の開閉信号(HR)を送る回路、ドアロ
ック(8)と連結しているドアハンドル(37)の操作を検出
するためのドアハンドルSW(37a)の開閉信号(DH)
を送る回路等がある。
The electric circuit built in the door (2) includes a closure motor (CM) for tightening the door (2) from the state immediately before the half-latch to the fully latched state, and the door lock.
An actuator for electrically driving (8) (hereinafter abbreviated as ACTR) (35), a circuit for sending an opening / closing signal (HR) of a half latch SW (36) for detecting a half latch, and a door lock (8) are connected. Opening / closing signal (DH) of the door handle SW (37a) for detecting the operation of the operating door handle (37)
There is a circuit to send.

【0028】ドア駆動装置(10)との間には、モータ(14)
に電力を供給する配線、クラッチ(16)を操作する電力を
送る配線、並びにロータリーエンコーダ(15)によって、
ドア(2)の移動速度と移動方向を検出するために、位相
が90度異なる2つの2相パルス信号(φ1)(φ2)を発生
するパルス信号発生部(38)に接続する配線が、施されて
いる。
A motor (14) is provided between the door driving device (10).
By the wiring that supplies electric power to, the wiring that sends the electric power that operates the clutch (16), and the rotary encoder (15),
In order to detect the moving speed and moving direction of the door (2), wiring is connected to the pulse signal generator (38) that generates two two-phase pulse signals (φ1) (φ2) whose phases are different by 90 degrees. Has been done.

【0029】図8は、スライドドア自動制御装置(23)を
具体的に示すブロック図である。スライドドア自動制御
装置(23)は、マイクロコンピュータによるプログラム制
御によって、ドア駆動装置(10)を前記課題を解決するべ
く制御するものである。なお、すでに説明したものに
は、同一符号を付して、詳細な説明は省略する。
FIG. 8 is a block diagram specifically showing the slide door automatic control device (23). The slide door automatic control device (23) controls the door drive device (10) in order to solve the above problems by program control by a microcomputer. In addition, the same reference numerals are given to those already described, and detailed description thereof will be omitted.

【0030】(39)は、マイクロコンピュータ制御システ
ムにおける入出力ポートを示すもので、SWのオン−オ
フ信号や、リレーやクラッチ等の動作−非動作信号を入
出力するもので、各ポート(39)に1ビットが割り当てら
れている。
Reference numeral (39) denotes an input / output port in the microcomputer control system for inputting / outputting an ON / OFF signal of SW and an operation / non-operation signal of a relay, a clutch and the like, and each port (39 ) Is assigned 1 bit.

【0031】(40)は、自動車の走行中に、バッテリー(2
4)を充電する発電機で、(41)は、スライドドア自動制御
装置(23)におけるマイクロコンピュータシステムの安定
化電源である。
(40) is a battery (2
A generator for charging 4), and (41) is a stabilized power supply of the microcomputer system in the slide door automatic control device (23).

【0032】ロータリーエンコーダ(18)のパルス発生回
路(38)の出力する2相パルス信号(φ1)(φ2)は、速度選
出部(42)と位置検出部(43)において、速度信号(T)と
位置信号(N)を生成する。なお、以下に〜部として示
される、各信号処理部分や制御部分は、実質的にマイク
ロコンピュータのプログラム処理によるディジタルデー
タ処理部分であって、〜手段と称するすることもある。
The two-phase pulse signals (φ1) (φ2) output from the pulse generation circuit (38) of the rotary encoder (18) are supplied to the speed selection unit (42) and the position detection unit (43) at the speed signal (T). And a position signal (N) are generated. Each of the signal processing parts and control parts, which will be shown below as parts, is substantially a digital data processing part by program processing of a microcomputer, and may also be referred to as means.

【0033】ドア(2)を駆動するモータ(14)と、クロー
ジャーモータ(CM)は、両方ともドア(2)を駆動する
モータであって、同時に駆動されることがないため、モ
ータ切り替えSW(44)によって、選択的に駆動電力が供
給されるようになっている。
Since the motor (14) for driving the door (2) and the closure motor (CM) are both motors for driving the door (2) and are not simultaneously driven, the motor switching SW ( By 44), drive power is selectively supplied.

【0034】クロージャーモータ(CM)には、微妙な
出力制御を施す必要はないが、ドア(2)を駆動するモー
タ(14)は、精密な駆動力制御が行われるため、その電力
供給回路には、駆動方向を自在に変更するための、極性
反転SW回路(45)が介在している。
The closure motor (CM) does not need to be subtly controlled in output, but the motor (14) for driving the door (2) is controlled in precise driving force, so that its power supply circuit is controlled. Has a polarity inversion SW circuit (45) for freely changing the driving direction.

【0035】さらに、同モータ(14)の電力供給回路に
は、直流電流を非連続で供給する半導体による電力SW
素子(46)が直列に介在し、この非連続波形のデユーテイ
サイクル(後述のフローチャートにおいてはDUTYとして
示されることもある)が、自在に制御しうるようになっ
ている。
Further, the power supply circuit of the motor (14) is provided with a semiconductor power SW for supplying a DC current discontinuously.
The element (46) is interposed in series so that the duty cycle of this discontinuous waveform (sometimes indicated as DUTY in the flow chart described later) can be freely controlled.

【0036】この、モータ(14)の電力供給回路には、バ
ッテリー(24)の端子電圧(BV=Vx)をディジタルに
検出する電圧検出部(47)とA/D変換部(48)が設けられ
ている。さらに、同電力供給回路には、シャント抵抗(4
9)を介して、電流値(I=IN)をディジタルに検出する
電流検出部(50)とA/D変換部(51)が設けられている。
The electric power supply circuit for the motor (14) is provided with a voltage detecting section (47) for digitally detecting the terminal voltage (BV = Vx) of the battery (24) and an A / D converting section (48). Has been. In addition, the power supply circuit has a shunt resistor (4
A current detector (50) for digitally detecting the current value (I = IN) and an A / D converter (51) are provided via 9).

【0037】クラッチ(16)とアクチュエータ(35)の電力
供給回路には、それぞれクラッチ駆動回路(52)とアクチ
ュエータ駆動回路(53)が設けられている。
A clutch drive circuit (52) and an actuator drive circuit (53) are provided in the electric power supply circuits of the clutch (16) and the actuator (35), respectively.

【0038】スライドドア自動制御装置(23)は、上記各
入出力周辺機器の状況に応じて、適正な制御モードを選
択する制御モード変換部(54)を含むメイン制御部(55)に
よて、大まかに一定の時間間隔で繰り返し制御を行って
いる。
The slide door automatic control device (23) uses a main control unit (55) including a control mode conversion unit (54) for selecting an appropriate control mode according to the status of each of the input / output peripheral devices. , The control is repeatedly performed at roughly fixed time intervals.

【0039】制御モード変換部(54)は、各入出力周辺機
器の最新の状況に応じて、制御に必要な最適の専業制御
モードを選択する。専業の制御モードには、本発明に係
る挟み込み制御部(58)がある。制御モードは、ドア(2)
の開閉を主として制御するオートスライド制御部(56)、
ドア(2)の移動速度を主として制御する速度制御部(5
7)、及びドア(2)の駆動中に、ドア(2)の移動を抑制す
るような、なんらかのものが移動方向に挟み込まれたか
を、主として検出制御する本発明の挟み込み制御部(58)
を備えている。
The control mode conversion unit (54) selects the optimum dedicated control mode required for control according to the latest situation of each input / output peripheral device. In the specialized control mode, there is the pinching control section (58) according to the present invention. Control mode is door (2)
An automatic slide control unit (56) that mainly controls the opening and closing of
A speed controller (5 that mainly controls the moving speed of the door (2)
7) and the entrapment control section (58) of the present invention, which mainly controls the detection of whether something is caught in the moving direction so as to suppress the movement of the door (2) while the door (2) is being driven.
It has.

【0040】また、オートスライド制御部(56)には、車
体(1)の姿勢に応じてドア(2)の開閉を制御するため
に、車体(1)の姿勢を検出する坂道判定部(59)を備えて
いる。
Further, the automatic slide control unit (56) has a slope determining unit (59) for detecting the posture of the vehicle body (1) in order to control the opening and closing of the door (2) according to the posture of the vehicle body (1). ) Is provided.

【0041】図9は、本発明を適用したスライドドア自
動制御装置(23)のメインフローチャートである。メイン
ルーチンをなすステップ(100)の最初のステップ(101)
は、稼働初期に主なパラメータ等のイニシャライズを行
う初期設定ルーチンである。このメインルーチンは、通
常、ステップ(102)のSW判定以降、ステップ(110)まで
を、ループ制御している。
FIG. 9 is a main flowchart of the slide door automatic control device (23) to which the present invention is applied. The first step (101) of the steps (100) that make up the main routine
Is an initial setting routine for initializing main parameters etc. at the initial stage of operation. This main routine normally performs loop control from step (102) SW determination to step (110).

【0042】ステップ(102)のSW判定は、前記図7に
示すドア開閉SW(28)(29)等、入出力ポート(39)に接続
する各SW(25)(26)(27)の開閉状態を判定して、SWの
開閉状態を示すフラグ等を設定する。
The SW determination in step (102) is performed by opening / closing each of the SWs (25) (26) (27) connected to the input / output port (39) such as the door opening / closing SWs (28) (29) shown in FIG. The state is determined and a flag or the like indicating the open / closed state of the SW is set.

【0043】ステップ(103)のA/D入力は、図9のA
/D変換部(48)(51)から、電圧値(Vx)、及び電流値
(IN)を取り込み、下位レベルにステップ(111)の電流
補正とステップ(112)の電圧アドレス変換ルーチンを備
えている。ステップ(103)のモード判定は、ステップ(11
3)のオートスライドモードとステップ(114)のクロージ
ャーモードを、前記各SWの開閉状態等の周囲状況か
ら、いずれかに選択制御する。
The A / D input in step (103) is A in FIG.
The voltage value (Vx) and the current value (IN) are fetched from the D / D converters (48) (51), and the current correction of step (111) and the voltage address conversion routine of step (112) are provided at the lower level. There is. The mode determination in step (103) is performed in step (11
The automatic slide mode of 3) and the closure mode of step (114) are selectively controlled according to the surrounding conditions such as the open / closed state of each SW.

【0044】ステップ(105)のACTR(アクチュエー
タ)リレー制御、ステップ(106)クラッチリレー制御、
ステップ(107)のオートスライドリレー制御、及びステ
ップ(108)のクロージャーリレー制御は、前記各制御部
の制御結果が反映されて、クラッチやモータに電力投入
を行う、直接的制御部分なので、特に詳細な説明は、省
略する。
ACTR (actuator) relay control in step (105), clutch relay control in step (106),
Since the automatic slide relay control in step (107) and the closure relay control in step (108) are the direct control parts that apply the power to the clutch and the motor by reflecting the control results of the control parts, the details are particularly detailed. The detailed description will be omitted.

【0045】ステップ(109)のスリープモードは、長時
間なんの変化もないときに、電力消費を低減する制御部
である。ステップ(110)のプログラム調整部は、別途ル
ープ外に設けた割り込みプログラムにおけるステップ(1
15)のプログラム調節タイマーにより、メインループの
インターバルを、例えば10mm秒一定に制御する。
The sleep mode of step (109) is a control unit that reduces power consumption when there is no change for a long time. The program adjustment unit of step (110) is the step (1) in the interrupt program provided outside the loop.
With the program adjustment timer of 15), the interval of the main loop is controlled to be constant, for example, 10 mm seconds.

【0046】このステップ(110)において、プログラム
調節タイマーの割り込みを受けることにより、各ステッ
プにおける制御点が、周囲の状況によって、ネストのよ
り深いレベルに入り込んだり、浅い階層で済んだり等し
て、メインループの入り口に戻るインターバルが変動す
るのを、常に一定に調節している。
In this step (110), by receiving the interruption of the program adjustment timer, the control point in each step may enter a deeper level of the nest, may be completed in a shallow hierarchy, etc. depending on the surrounding conditions. The fluctuation of the interval of returning to the entrance of the main loop is constantly adjusted.

【0047】図10は、前記ステップ(104)のモード判
定ルーチンを詳細に示すフローチャートである。ステッ
プ(116)のオートスライドモード判定は、ドア(2)の動
きだしを、その時点の色々な状況によって区分するステ
ップ(117)のスタートモード、動き出したドア(2)を、
その時点の状況に応じて適正に制御する、本発明に係る
ステップ(118)の挟み込み判定、ステップ(119)の坂道モ
ード、ステップ(120)の速度制御等を行う。
FIG. 10 is a flow chart showing in detail the mode determination routine of the step (104). In the automatic slide mode determination in step (116), the start mode of step (117) that divides the start of movement of the door (2) according to various situations at that time, the door (2) that has started moving,
Appropriate control according to the situation at that time is performed by the entrapment determination of step (118) according to the present invention, the slope mode of step (119), the speed control of step (120), and the like.

【0048】同じく、ステップ(121)のスイッチ文の部
分で、周囲の状況に応じた識別子により分岐される、ス
テップ(122)のオート開作動、ステップ(123)のオート閉
作動、ステップ(124)のマニュアル閉作動、ステップ(12
5)の逆転開作動、ステップ(126)の逆転閉作動、いずれ
かの制御を行い、それらの制御の下位レベルには、ステ
ップ(133)の目標位置算出、ステップ(134)の全開検出の
ルーチンがある。
Similarly, in the switch statement portion of step (121), an automatic opening operation of step (122), an automatic closing operation of step (123), and a step (124) are branched by an identifier according to the surrounding situation. Manual closing operation of step (12
5) Reverse rotation open operation, step (126) reverse rotation close operation, either control is performed.The lower level of those controls is the routine of target position calculation of step (133) and full open detection of step (134). There is.

【0049】さらに、ステップ(117)のスタートモード
等と同じレベルに、ステップ(122)のストップモードの
ルーチンがあり。ステップ(117)のスタートモードは、
それの下位レベルに、ステップ(127)スイッチ文により
多枝分岐されるステップ(128)の通常スタートモード、
ステップ(129)のACTRスタートモード、及びステッ
プ(130)の手動スタートモードのルーチンがある。ステ
ップ(119)の坂道モードは、それの下位レベルに、ステ
ップ(131)の平坦データ入力、ステップ(132)の坂道判定
等のルーチンがある。
Further, there is a stop mode routine of step (122) at the same level as the start mode of step (117). The start mode of step (117) is
To the lower level of it, the normal start mode of step (128), which is multi-branched by the step (127) switch statement,
There is a routine for the ACTR start mode of step (129) and the manual start mode of step (130). In the slope mode of step (119), there are routines such as flat data input of step (131) and slope judgment of step (132) at a lower level.

【0050】なお、上述のステップ(121)、ステップ(12
7)のスイッチ文として示される、多分岐フローは、周囲
の状況を示す識別子として、各SWの開閉状態や、所要
の制御の継続中もしくは終了を表す、通常は1ビットの
フラグを利用している。上記ステップ(116)のオートス
ライドモード判定のフローは、前記メインルーチンにし
たがって、制御点を移している。
The above-mentioned steps (121) and (12)
The multi-branch flow, which is shown as a switch statement in 7), uses an open / closed state of each SW and usually a 1-bit flag that indicates the continuation or termination of the required control as an identifier indicating the surrounding situation. There is. In the flow of the automatic slide mode determination in step (116), the control point is moved according to the main routine.

【0051】図10において、別途に示すステップ(13
5)のパルスカウントタイマーと、ステップ(136)のパル
ス割り込みの両ルーチンは、図9のメインルーチンと
は、制御点を別にした割り込みプログラムを構成してい
る。
In FIG. 10, the step (13
Both the pulse count timer of 5) and the pulse interrupt routine of step (136) constitute an interrupt program at a different control point from the main routine of FIG.

【0052】図11は、図15に示すステップ(135)の
パルスカウントタイマーと、図14に示すステップ(13
6)のパルス割り込みの各ルーチンにおいて所要される、
周期計数値(N)の取得タイムチャートを示すものであ
る。
FIG. 11 shows the pulse count timer of step (135) shown in FIG. 15 and the step (13) shown in FIG.
Required in each routine of 6) pulse interruption,
It shows an acquisition time chart of the cycle count value (N).

【0053】速度信号(Vφ1)(Vφ2)は、前記ロータリ
ーエンコーダ(18)が出力する出力信号で、その出力波形
は矩形波をなし、かつ速度信号(Vφ2)は、速度信号(V
φ1)に対いして90度の位相差をもち、両信号の位相差
から、ロータリーエンコーダ(18)の回転方向、すなわ
ち、ドア(2)の開閉移動方向を検出する。
The velocity signal (Vφ1) (Vφ2) is an output signal output from the rotary encoder (18), the output waveform of which is a rectangular wave, and the velocity signal (Vφ2) is the velocity signal (V
There is a phase difference of 90 degrees with respect to φ1), and the rotation direction of the rotary encoder 18, that is, the opening / closing movement direction of the door 2 is detected from the phase difference of both signals.

【0054】速度信号(Vφ1)は、矩形波の立ち上がり
において、割り込みパルス(g1)を生成し、その割り
込みパルス(g1)は、そのパルス周期をもって、その
割り込みパルス(g1)より十分に繰り返し数の高い、
例えば400μs毎にパルスを発生するクロックパルス
(C1)の数を計数して周期計数値(T)を得る。
The velocity signal (Vφ1) generates an interrupt pulse (g1) at the rising edge of the rectangular wave, and the interrupt pulse (g1) has a pulse period of a sufficient number of repetitions than the interrupt pulse (g1). high,
For example, the cycle count value (T) is obtained by counting the number of clock pulses (C1) that generate a pulse every 400 μs.

【0055】この周期計数値(T)は、ロータリーエン
コーダ(18)の出力する速度信号(Vφ1)の周期をディジ
タルの数に変換しているもので、ロータリーエンコーダ
(18)の出力パルスは、1mm当たり1パルス(1周期)と
すると、周期計数値(T)が250のときには、ドア
(2)の移動速度は、1mm/(400μs×250)=1
0mm/秒の速度となり、周期計数値(T)が100のと
きには、ドア(2)の移動速度は、25mm/秒の速度とな
る。
The cycle count value (T) is obtained by converting the cycle of the speed signal (Vφ1) output from the rotary encoder (18) into a digital number.
If the output pulse of (18) is 1 pulse per mm (1 cycle), when the cycle count value (T) is 250,
The moving speed of (2) is 1 mm / (400 μs × 250) = 1
When the cycle count value (T) is 100, the moving speed of the door (2) is 25 mm / sec.

【0056】図15は、上述の周期計数値(T)を計数
する、ステップ(135)のパルスカウントタイマーのルー
チンを示すものである。ステップ(159)は、上記クロッ
クパルス(C1)の数を、ステップ(110)のメインルーチ
ンとは別途に所要のパルスカウンタにより計数してい
る。
FIG. 15 shows a routine of the pulse count timer of step (135) for counting the above-mentioned cycle count value (T). In step (159), the number of clock pulses (C1) is counted by a required pulse counter separately from the main routine in step (110).

【0057】ステップ(160)は、そのパルスカウンタの
周期計数値(T)が満杯(T=FF)になったかどうか
を調べて、それが満杯ならばステップ(161)で周期計数
値(T)を零にクリアー(T=0)するとともに、ステ
ップ(162)において、モータ(14)が停止していた期間を
計数する所要カウンタの計数値を増計数している。
In step (160), it is checked whether the cycle count value (T) of the pulse counter is full (T = FF), and if it is full, in step (161) the cycle count value (T) is checked. Is cleared to zero (T = 0), and in step (162), the count value of the required counter for counting the period in which the motor (14) is stopped is incremented.

【0058】なお、図11に図示の周期計数値(TN)
は、ロータリーエンコーダ(18)が出力する出力信号(φ
1)によって得られる位置計数パルス(実質的には割り込
みパルス(g1))をN個計数した、後述するドア(2)
の位置情報を示す位置計数値(N)を添え字として持つ
もので、その周期計数値(TN)は、そのときに注目す
るN番目の位置に対応した周期計数値(T)を示し、
(TN-1)(TN-2)または(TN+1)(TN+2)は、それぞれ
位置計数値(N)に対して、1または2番前後の位置に
係る周期計数値(T)を示すものである。
The cycle count value (TN) shown in FIG.
Is the output signal (φ
Door (2) to be described later in which N position counting pulses (substantially interrupt pulses (g1)) obtained by 1) are counted.
Has a position count value (N) indicating position information as a subscript, and the cycle count value (TN) indicates the cycle count value (T) corresponding to the Nth position of interest at that time,
(TN-1) (TN-2) or (TN + 1) (TN + 2) is the position count value (N), and the cycle count value (T) related to the first or second position is calculated. It is shown.

【0059】上記周期計数値(TN)は、後述するが、
シフトレジスタもしくはそれに相当するメモリロケーシ
ョンからなる4つの周期レジスタに、N番の位置を注目
点とし、それがレジスタの先頭出力値となるように、4
回分保留されるようになっている。
The cycle count value (TN) will be described later,
In the four period registers consisting of shift registers or memory locations corresponding to them, the position N is set as the point of interest, and it is set so that it becomes the head output value of the register.
It is supposed to be held on a batch basis.

【0060】図12は、ロータリーエンコーダ(18)が出
力する出力信(φ1)を位置計数パルスとして、ドア(2)
の位置に係るデータを収得するタイムチャートを示して
いる。
FIG. 12 shows that the output signal (φ1) output from the rotary encoder (18) is used as a position counting pulse and the door (2)
The time chart which acquires the data concerning the position of is shown.

【0061】ドア(2)の位置に係るデータとしては、図
13に示す如く、ドア(2)の閉方向に係るドアの所在エ
リアを、エリア1〜エリア4に分けてあり、またドア
(2)の開方向に係るドアの所在エリアを、エリア5〜エ
リア7に分けてある。なお、図13は、ロアトラック
(5)の平面視を示し、ドア(2)の開閉位置は、移動部材
(21)の位置をもって表してある。
As the data on the position of the door (2), as shown in FIG. 13, the area where the door is located in the closing direction of the door (2) is divided into areas 1 to 4, and
The location area of the door in the opening direction of (2) is divided into area 5 to area 7. In addition, FIG. 13 is a lower track.
The plan view of (5) is shown, and the opening / closing position of the door (2) is a moving member.
It is represented by the position of (21).

【0062】各エリアは、図14に示すステップ(136)
のパルス割り込みルーチンによって、前記位置計数値
(N)とドアの移動方向(Z)によって、図13及び図
16如く判別される。
Each area has the step (136) shown in FIG.
According to the position interruption value (N) and the moving direction (Z) of the door, the pulse interruption routine is performed as shown in FIGS. 13 and 16.

【0063】図16には、上記エリア1〜エリア7の所
に要求される制御の特徴で分けた制御領域(E1)〜
(E6)、及びその制御領域(E1)〜(E6)に対応し
て定められた、その制御領域(E1)〜(E6)に適した
ドア(2)の移動速度、並びにその制御領域(E1)〜
(E6)で所用される、サンプリング領域の分解能
(B)等を示してある。なおサンプリング領域について
は後述する。
FIG. 16 shows the control areas (E1) to the areas 1 to 7 divided by the characteristics of the control required.
(E6) and its control areas (E1) to (E6), which are determined in correspondence with the control areas (E1) to (E6), and the moving speed of the door (2) and the control area (E1). ) ~
The resolution (B) of the sampling area, which is used in (E6), is shown. The sampling area will be described later.

【0064】図14に示すステップ(136)のパルス割り
込みルーチンにおいては、各エリアの判定と、各エリア
に適した制御で区別した、各制御領域(E1)〜(E6)
の判別を行う。
In the pulse interruption routine of step (136) shown in FIG. 14, each control area (E1) to (E6) distinguished by the determination of each area and the control suitable for each area.
Is determined.

【0065】ステップ(137)においては、モータ(14)の
停止を調べて、ドア(2)が動いていないことを判別し、
モータ(14)が停止してドア(2)が止まっていれば、ステ
ップ(138)において周期計数値(T)を満杯(T=F
F)にセットし、そうでなければ、ステップ(139)によ
り、そのときまでに計数した周期計数値(T)を、図1
1に示す周期レジスタに格納し、その後ステップ(140)
においてモータ(14)の停止中の状態を解除する。
In step (137), the stop of the motor (14) is checked to determine that the door (2) is not moving,
If the motor (14) is stopped and the door (2) is stopped, the cycle count value (T) is full (T = F) in step (138).
F), otherwise, in step (139), the cycle count value (T) counted up to that point is set as shown in FIG.
Store in the period register shown in 1, then step (140)
At, release the stopped state of the motor (14).

【0066】ステップ(141)において、ドア(2)の移動
方向(Z)を調べて、ドア(2)が開方向に移動していれ
ばステップ(142)に進み、そうでなければ、すなわち閉
じる方に移動していれば、ステップ(150)に進む。ドア
(2)が開く方に移動していれば、ステップ(142)におい
て、位置計数値(N)を増計数する。
In step (141), the moving direction (Z) of the door (2) is checked, and if the door (2) is moving in the opening direction, the process proceeds to step (142), otherwise it is closed. If so, proceed to step (150). door
If (2) has moved to the open side, the position count value (N) is incremented in step (142).

【0067】すなわち、位置計数値(N)は、図13図
示の如く、ドア(2)の全閉位置をN=0とし、全開位置
を=850となるように予めセットしてあるので、開く
ときには増計数を、閉じるときには減計数をして、ドア
(2)の現在位置を計測する。ステップ(143)〜ステップ
(149)において、開方向の各エリア5からエリア7を判
別するとともに、そのエリアに応じた制御領域、すなわ
ちリンク制御領域(E5)、通常制御領域(E1)、チェ
ック制御領域(E6)を定める。
That is, as shown in FIG. 13, the position count value (N) is set so that the fully closed position of the door (2) is N = 0 and the fully opened position is 850. When the door is incremented when it is closed, decremented when it is closed.
Measure the current position in (2). Step (143) ~ Step
In (149), each area 5 to 7 in the opening direction is discriminated, and a control area corresponding to the area, that is, a link control area (E5), a normal control area (E1), and a check control area (E6) are determined. .

【0068】また、ステップ(151)〜ステップ(158)にお
いては、閉方向のエリア1からエリア4を判別するとと
もに、その各エリアに応じた通常制御領域(E1)、減速
制御領域(E2)、リンク減速制御領域(E3)、締め込
み制御領域(E4)を定める。なお、開方向のエリア6
の通常制御領域(E1)と閉方向のエリア1の通常制御
領域(E1)は、図16に示す如く、ともに制御仕様を
同一にしてある。
Further, in steps (151) to (158), the areas 1 to 4 in the closing direction are discriminated and the normal control area (E1), the deceleration control area (E2), The link deceleration control area (E3) and the tightening control area (E4) are defined. Area 6 in the opening direction
The normal control area (E1) and the normal control area (E1) of the area 1 in the closing direction have the same control specifications as shown in FIG.

【0069】図10における、ステップ(135)のパルス
カウントタイマーと、ステップ(136)のパルス割り込み
とは、上述のように、メインルーチンとは別途に、それ
ぞれのタイミングで周期計数値(T)と位置計数値
(N)と収得している。
As described above, the pulse count timer of step (135) and the pulse interrupt of step (136) in FIG. 10 have the cycle count value (T) at each timing separately from the main routine. It is acquired as a position count value (N).

【0070】図17は、図10におけるステップ(116)
のオートスライドモード判定ルーチンの詳細を示すもの
である。このルーチンの目的は、ステップ(165)によ
り、オートスライド作動中か又は停止中により制御内容
を変更している。
FIG. 17 shows the step (116) in FIG.
The details of the automatic slide mode determination routine are shown. The purpose of this routine is to change the control contents in step (165) depending on whether the automatic slide is operating or stopped.

【0071】ステップ(167)以降のオートスライド停止
中は、ステップ(168)、ステップ(169)にて始動判定を行
い、そこで始動判定された時には、ステップ(170)にて
オートスライド作動を判定して、ステップ(172)でスタ
ートモードをセットしてオートスライド作動中処理し、
かつステップ(174)にてスタート中の処理に入ったこと
を知らせる。
While the automatic slide is stopped after step (167), the start determination is made in step (168) and step (169). When the start determination is made there, the automatic slide operation is determined in step (170). Then, set the start mode in step (172) and process during the automatic slide operation,
In addition, in step (174), the start processing is notified.

【0072】ステップ(165)にてオートスライド作動中
になると、ステップ(176)のスタートモード、ステップ
(177)以降の通常モード、ステップ(164)のストップモー
ド、いずれかの3つの処理に分かれ、ステップ(177)以
降の通常モードにおいてオートスライド作動中は、ステ
ップ(187)にてオートスライド作動計数(G)を増計数
する。
When the automatic slide operation is started in step (165), the start mode of step (176), step
The normal mode after (177) and the stop mode of step (164) are divided into three processes. During the automatic slide operation in the normal mode after step (177), the automatic slide operation counting is performed at step (187). Increment (G).

【0073】ステップ(166)にてスタートモードが終了
したことを検出すると、通常モードに入り、ステップ(1
77)の挟み込み判定、ステップ(178)の速度制御、ステッ
プ(179)の坂道判定をする。
When the end of the start mode is detected in step (166), the normal mode is entered, and step (1
77) Entrapment determination, step (178) speed control, step (179) slope determination.

【0074】ステップステップ(186)にて、オートスラ
イド作動終了を判定すると(後述する反転作動時は入ら
ない)、ステップ(189)でストップモードにセットし、
この状態が、ステップ(163)にてストップモードなった
ことを判別すると、ステップ(164)のストップモードに
移り、このストップモードでオートスライドの停止処理
を行い、ステップ(190)にてストップモードの作動が終
了したことを判別すると、ステップ(193)にてストップ
モードの終了を行うとともに、ステップ(194)にてオー
トスライド作動を終了させる。
When it is determined in step (186) that the automatic slide operation has ended (it does not enter during the reverse operation described later), the stop mode is set in step (189),
When this state is determined to be the stop mode in step (163), the process moves to the stop mode in step (164), the automatic slide stop process is performed in this stop mode, and the stop mode is changed in step (190). When it is determined that the operation has ended, the stop mode is ended in step (193), and the automatic slide operation is ended in step (194).

【0075】図18は、図17におけるステップ(168)
の手動判定ルーチンの詳細である。この手動判定ルーチ
ンの目的とする機能は、ドア(2)の開閉者による、ドア
(2)を開閉するための手動操作が、確実に行われたか否
かを判定する。
FIG. 18 shows the step (168) in FIG.
It is a detail of the manual determination routine of. The purpose of this manual judgment routine is to allow the person who opens and closes the door (2) to open the door.
(2) It is determined whether or not the manual operation for opening and closing is surely performed.

【0076】ステップ(195)にて、現在のドア(2)の移
動速度(1/周期計数値(T))が予め定めた一定の手
動認識速度より速く、かつステップ(196)にて、ドア
(2)の移動速度が、急閉速度以下のときには、ステップ
(197)にてドア(2)の開閉方向の判別に基づいて、ステ
ップ(198)のドア開手動状態、もしくは、ステップ(199)
のドア閉手動状態のいずれかにセットする。但し、クラ
ッチ(16)OFF後は、ワイヤーの張力による運動を無視
するため、所要タイムラグ期間中は、ドア開閉いずれか
の状態への移行は、受け付けないようになっている。
At step (195), the current moving speed (1 / cycle count value (T)) of the door (2) is faster than a predetermined constant manual recognition speed, and at step (196), the door is detected.
When the moving speed in (2) is less than the rapid closing speed, step
At (197), based on the determination of the opening / closing direction of the door (2), the door opening manual state at step (198) or the step (199)
Set it to one of the door closing manual states. However, after the clutch (16) is turned off, the movement due to the tension of the wire is ignored, and therefore, during the required time lag period, the transition to either the door opening or closing state is not accepted.

【0077】なお、 ドア(2)が全閉近くにおいて、ハ
ーフSWがOFF、又はドアハンドルSWの操作信号を
検出すると、開手動検出信号をセットするように、別途
なっている。
Incidentally, when the door (2) is close to the fully closed state, the half manual switch is turned off, or when the operation signal of the door handle SW is detected, the opening manual detection signal is set separately.

【0078】ドア(2)が急閉作動しているときには、ド
ア(2)が停止まで急閉モードから抜け出ないようになっ
ている。この手動判定時、ドア速度が急閉速度以上、又
は手動認識速度以下の場合はに、なにもセットしないで
手動判定ルーチンから抜け出る。
When the door (2) is being closed rapidly, the door (2) does not come out of the quick-close mode until it is stopped. At the time of this manual determination, if the door speed is equal to or higher than the rapid closing speed or equal to or lower than the manual recognition speed, nothing is set and the process exits the manual determination routine.

【0079】このステップ(168)の手動判定ルーチンで
は、ドア(2)を制御するためのステップ(110)のメイン
ルーチンとは別途に計測されているドア速度により、ド
ア(2)を動力駆動(以下オート開作動、オート閉作動と
する)する契機を得ている。
In the manual judgment routine of this step (168), the door (2) is driven by the power by the door speed measured separately from the main routine of step (110) for controlling the door (2). Hereinafter, it will be referred to as an automatic opening operation and an automatic closing operation).

【0080】ステップ(195)の手動認識速度は、ドアの
動力駆動を行う契機を作り出す値で、比較的広範囲の任
意の値が設定できる。
The manual recognition speed in step (195) is a value that creates a trigger for powering the door, and can be set to an arbitrary value in a relatively wide range.

【0081】ドア(2)の移動速度、すなわち周期計数値
(T)は、上述の如く、ロータリーエンコーダ(18)の1
周期を最小の分解能として、計測可能であることから、
1mm程度のドア(2)の移動によても、ドア(2)を動力駆
動させる契機を作り出すことができる。これにより、オ
ート開閉作動(動力駆動)の反応が高感度となるととも
に、安全性を得る処理に対応させるために、ドアの動き
の変化を、高分解能で高感度に検知することができる。
The moving speed of the door (2), that is, the cycle count value (T), is 1 of the rotary encoder (18) as described above.
Since the period can be measured with the minimum resolution,
A movement of the door (2) of about 1 mm can also create a trigger for driving the door (2) by power. As a result, the response of the automatic opening / closing operation (power drive) becomes highly sensitive, and the change in the movement of the door can be detected with high resolution and high sensitivity in order to correspond to the process for obtaining safety.

【0082】図17における前記ステップ(168)の後の
ステップ(169)の始動モードは、以下のような判定を各
SWの開閉状態に応じて行うもので、下記のように、オ
ートスライドの作動の開始を判定し、ステップ(181)〜
ステップ(185)の各作動に分岐させるための、ステップ
(180)におけるスイッチ文の識別子を設定して作動モー
ドを決定する。
In the starting mode of step (169) after step (168) in FIG. 17, the following judgment is made in accordance with the open / closed state of each SW. The start of step is determined, and step (181) ~
Steps to branch to each actuation of step (185)
The identifier of the switch statement in (180) is set to determine the operating mode.

【0083】急閉速度以上で、かつ急閉作動中である
か、もしくはSW受け付け可能状態でない時は、オート
開閉作動は開始しない。SW受け付け可能状態でない
時,全てのSWがOFFした場合は、SW受け付け可能
状態とする。リモコンSWをドア開に操作、車内開SW
がONもしくは、手動開状態を確認した時は、オート開
作動モードの識別子をセットに設定する。
The automatic opening / closing operation is not started when the closing speed is equal to or higher than the rapid closing speed and the rapid closing operation is in progress or when the SW cannot be accepted. When all the SWs are turned off when not in the SW acceptable state, the SW acceptable state is set. Operate the remote control SW to open the door, open SW in the car
When is ON or when the manual open state is confirmed, the identifier of the automatic open operation mode is set to the set.

【0084】危険領域外でにおいて、リモコンSWをド
ア閉に操作、車内閉SWがONもしくは、手動閉状態を
確認した時は、オート閉作動モードの識別子をセットに
設定する。
When the remote control SW is operated to close the door and the vehicle interior close SW is turned on or the manual closed state is confirmed outside the dangerous area, the identifier of the automatic close operation mode is set to the set.

【0085】危険領域中で、車内閉SWがONしたこと
を確認した時は、マニュアル閉作動モードの識別子をセ
ットに設定する。作動開始する場合は、SW受け付け可
能状態をリセットする。
When it is confirmed that the in-vehicle close SW is turned on in the dangerous area, the identifier of the manual close operation mode is set in the set. When starting the operation, the SW acceptable state is reset.

【0086】図19は、図10におけるステップ(122)
及び図17におけるステップ(181)で示すオート開作動
ルーチンの詳細を示すものである。このオート開作動ル
ーチンの目的は、ドア(2)を開方向に安全に動力駆動さ
せるための、オート開作動中のドア駆動停止、又は反転
作動の制御をすることにあり、以下のように機能する。
FIG. 19 shows the step (122) in FIG.
17 shows the details of the automatic opening operation routine shown at step (181) in FIG. The purpose of this automatic opening operation routine is to control the door drive stop during automatic opening operation or the reversal operation in order to safely drive the door (2) in the opening direction safely. To do.

【0087】ステップ(212)のメインのON/OFFが
OFFとき、ステップ(213)、ステップ(214)の各ドア開
SW入力のときは、ステップ(223)に抜けて、オート開
作動を解除し、ドア(2)の動力駆動を停止する。
When the main ON / OFF of step (212) is OFF, and when the door open SW input of step (213) and step (214) is made, the process goes to step (223) to cancel the automatic opening operation. , Stop the power drive of the door (2).

【0088】ステップ(208)においてSW受け付可能で
ないとき、ステップ(210)とステップ(211)でリモコンま
たは車内のドア閉SWが入力している時は、ステップ(2
04)から、ステップ(216)の逆転閉作動許可に至るドア反
転側に制御を渡す。但し、両ドア閉SWは、少し長く押
続けた場合は、ステップ(220)またはステップ(222)によ
りドア停止のみの制御となる。
When the SW cannot be received in step (208), when the remote control or the door closing SW in the vehicle is input in step (210) and step (211), the step (2
Control is passed to the door reversal side from 04) to the reverse rotation closing operation permission of step (216). However, when the both door close SW is pressed and held for a little longer, only the door stop is controlled in step (220) or step (222).

【0089】ステップ(201)で挟み込み検出時は、ステ
ップ(202)で目標位置を求めて、反転側に制御を移す。
ただし、ステップ(204)により図16に示す危険領域内
では停止のみとなる。ステップ(205)でドア(2)の全開
検出したり、ステップ(207)で異常検出したりすると、
ステップ(223)に移り停止させる。反転作動時は、ステ
ップ(217)でドア開作動解除し、ステップ(218)でドア閉
作動を許可する。
When the entrapment is detected in step (201), the target position is obtained in step (202) and the control is shifted to the reverse side.
However, due to the step (204), only the stop is made in the dangerous area shown in FIG. If the door (2) is detected to be fully open in step (205) or if the abnormality is detected in step (207),
Move to step (223) and stop. In the reverse operation, the door opening operation is released in step (217), and the door closing operation is permitted in step (218).

【0090】図20は、図10におけるステップ(123)
及び図17におけるステップ(182)で示すオート閉作動
ルーチンの詳細を示すものである。このオート閉作動ル
ーチンの目的は、ドア(2)を閉方向に安全に動力駆動さ
せるための、オート閉作動中のドア駆動停止、又は反転
作動の制御をすることにあり、以下のように機能する。
FIG. 20 shows the step (123) in FIG.
17 shows the details of the automatic closing operation routine shown at step (182) in FIG. The purpose of this automatic closing operation routine is to stop the door drive during the automatic closing operation or to control the reversing operation in order to safely power the door (2) in the closing direction. To do.

【0091】ステップ(233)のメインのON/OFFが
OFFとき、ステップ(234)、ステップ(235)の各ドア閉
SW入力のときは、ステップ(246)に抜けて、オート閉
作動を解除し、ドア(2)の動力駆動を停止する。
When the main ON / OFF of step (233) is OFF, and when the door close SW input of step (234) and step (235) is made, the operation goes to step (246) to cancel the automatic closing operation. , Stop the power drive of the door (2).

【0092】ステップ(230)においてSW受け付可能で
ないとき、ステップ(231)とステップ(232)でリモコンま
たは車内のドア開SWが入力している時は、ステップ(2
38)のオート作動解除に移り、ステップ(236)の逆転開作
動許可に至るドア反転側に制御を渡す。但し、両ドア開
SWは、少し長く押続けた場合は、ステップ(243)また
はステップ(244)によりドア停止のみの制御となる。
When the SW cannot be received in step (230), when the remote control or the door open SW in the vehicle is input in step (231) and step (232), the step (2
Proceed to the automatic operation release of 38), and pass control to the door reversal side that reaches the reverse rotation opening operation permission of step (236). However, when the both door open SW is kept pressed for a little longer, the door is stopped only at step (243) or step (244).

【0093】ステップ(225)で挟み込み検出時は、ステ
ップ(226)で目標位置を求めて、反転側に制御を移す。
ステップ(224)でドア(2)のハーフラッチ領域を検出し
たり、ステップ(229)で異常検出したりするとステップ
(246)に移り停止させる。反転作動時は、ステップ(237)
でドア閉作動解除し、ステップ(238)でドア開作動を許
可する。さらに、ステップ(239)にてドア(2)がACT
R領域ならば、ステップ(240)にてACTR作動を許可
する。
When the entrapment is detected in step (225), the target position is obtained in step (226), and the control is shifted to the reverse side.
If the half-latch area of the door (2) is detected in step (224), or if an abnormality is detected in step (229), step
Move to (246) and stop. When reversing, step (237)
The door closing operation is released with, and the door opening operation is permitted in step (238). Further, at step (239), the door (2) is ACT.
If it is in the R range, the ACTR operation is permitted in step (240).

【0094】図21は、図10におけるステップ(124)
及び図17におけるステップ(183)のマニュアル閉作動
ルーチンの詳細を示すものである。このマニュアル閉作
動ルーチンの目的は、ドア開閉操作SWのON/OFF
操作を動力駆動の契機とし、そのドア開閉SWのON/
OFF操作に、自動制御が安全に追従するようにした、
マニュアル閉作動中のドア駆動の停止、又は反転作動の
制御することで、以下のように機能する。
FIG. 21 shows the step (124) in FIG.
17 shows the details of the manual closing operation routine of step (183) in FIG. The purpose of this manual closing operation routine is to turn on / off the door opening / closing operation switch.
The operation is triggered by power drive, and the door opening / closing switch is turned ON /
Automatic control can safely follow the OFF operation.
The following functions are achieved by stopping the door drive during the manual closing operation or controlling the reversing operation.

【0095】ステップ(249)にて各ドア閉SWのいずれ
かがドア開になれば、ステップ(255)でオート閉作動を
解除して、ドアの駆動を停止する。ステップ(247)にて
挟み込み検出有りの時は、ステップ(248)〜ステップ(25
4)に制御を移して、ドア(2)を反転駆動する。
If any of the door closing SWs opens the door in step (249), the automatic closing operation is released in step (255) to stop the driving of the door. If entrapment is detected in step (247), step (248) to step (25
Control is transferred to 4) and the door (2) is driven in reverse.

【0096】図22は、図10におけるステップ(125)
及び図17におけるステップ(184)の逆転開作動ルーチ
ンの詳細を示すものである。この逆転開作動ルーチンの
目的は、逆転開作動中の停止、又は反転作動を安全に制
御することで、以下のように機能する。
FIG. 22 shows the step (125) in FIG.
17 shows the details of the reverse rotation operation routine of step (184) in FIG. The purpose of this reverse rotation opening operation routine is to safely stop the reverse rotation opening operation or to control the reverse rotation operation to function as follows.

【0097】この逆転開作動に至る前に、前記図20の
ステップ(182)のオート閉作動ルーチンにおけるステッ
プ(225)の挟み込み有りの判定を得て、ステップ(226)で
収得した目標値と、現在の位置計数値(N)を、ステッ
プ(257)で比較して、この挟み込み作動中は、指定させ
た目標の反転位置で停止すること。
Before reaching the reverse opening operation, the judgment of the entrapment in step (225) in the automatic closing operation routine of step (182) in FIG. 20 is obtained, and the target value obtained in step (226), Compare the current position count value (N) in step (257) and stop at the designated target reversal position during this pinching operation.

【0098】ステップ(268)で各操作SWを全てOFF
したあと、両ドア閉SWのいずれかを押すと、ステップ
(267)、ステップ(269)にて、ステップ(258)に至り、ド
ア逆転開動作の許可が解除されて、ドアの逆転開移動は
停止する。
At step (268), all operation switches are turned off.
Then, when you press either of the both door close SW, step
At step (267) and step (269), the process reaches step (258), the permission for the door reverse rotation opening operation is released, and the reverse rotation opening movement of the door is stopped.

【0099】ステップ(259)のメインSWがOFF時、
ステップ(264)の異常検出時、及びステップ(262)の挟み
込み有りの時は、制御がステップ(258)に移り、ドアの
逆転移動は停止する。
When the main SW in step (259) is OFF,
When the abnormality is detected in step (264) and when the jamming is present in step (262), the control moves to step (258), and the reverse rotation of the door is stopped.

【0100】図23は、図10におけるステップ(126)
及び図17におけるステップ(185)の逆転閉作動ルーチ
ンの詳細を示すものである。この逆転閉作動ルーチンの
目的は、逆転閉作動中の停止、又は反転作動を安全に制
御し、以下のように機能する。
FIG. 23 shows the step (126) in FIG.
17 shows the details of the reverse rotation closing operation routine of step (185) in FIG. The purpose of this reverse rotation close operation routine is to safely control the stop or reverse operation during the reverse rotation close operation, and function as follows.

【0101】この逆転閉作動に至る前に、前記図19の
ステップ(181)のオート開作動ルーチンのステップ(201)
の挟み込み有りの判定を得て、ステップ(202)で収得し
た目標値と、現在の位置計数値(N)を、ステップ(27
1)で比較して、この挟み込み作動中は、指定させた目標
の反転位置で停止すること。
Before the reverse rotation closing operation is reached, the step (201) of the automatic opening operation routine of the step (181) in FIG. 19 is performed.
When it is determined that there is a pinch between the target position value and the current position count value (N) acquired in step (202), step (27)
Compare with 1), during this pinching operation, stop at the designated reverse position of the target.

【0102】ステップ(281)で各操作SWを全てOFF
したあと、両ドア閉SWのいずれかを押すと、ステップ
(280)、ステップ(283)にて、ステップ(272)に至り、ド
ア逆転閉動作の許可が解除されて、ドアの逆転閉移動は
停止する。ステップ(274)のメインSWがOFF時、ス
テップ(277)の異常検出時、及びステップ(275)の挟み込
み有りの時は、制御がステップ(272)に移り、ドアの逆
転閉移動は停止する。
At step (281), all operation switches are turned off.
Then, when you press either of the both door close SW, step
At (280) and step (283), the process reaches step (272), the permission for the door reverse rotation closing operation is released, and the reverse rotation closing movement of the door is stopped. When the main SW of the step (274) is OFF, when the abnormality is detected in the step (277), and when the trap is present in the step (275), the control shifts to the step (272), and the reverse rotation closing movement of the door is stopped.

【0103】図24は、図19のオート開作動ルーチン
におけるステップ(202)、図20のオート閉作動ルーチ
ンにおけるステップ(226)、及びず21のマニュアル作
動ルーチンにおけるステップ(254)をなす目標位置算出
ルーチンの詳細を示すものである。この目標位置算出ル
ーチンは、挟み込み検出時に、ドア(2)をそれまでの移
動方向と反転させて、安全な位置にドアを移動させる、
移動目標位置を算出する。ステップ(284)にてドアの移
動方向を判別する。
FIG. 24 shows a target position calculation step (202) in the automatic opening operation routine of FIG. 19, step (226) in the automatic closing operation routine of FIG. 20, and step (254) in the manual operation routine of step 21. It shows the details of the routine. This target position calculation routine reverses the door (2) with respect to the moving direction up to then when the trapping is detected, and moves the door to a safe position.
The moving target position is calculated. In step (284), the moving direction of the door is determined.

【0104】挟み込みが検出され、ドア(2)がステップ
(284)にて閉方向に作動中と判別されると、ステップ(28
6)において位置計数値(N)の現在位置の値に対して、
予め指定された移動させる量(移動量)を加算して目標
位置とする。ステップ(287)とステップ(288)は、全開位
置を加算の上限としている。
Entrapment is detected and the door (2) is stepped.
If it is determined in (284) that the valve is operating in the closing direction, step (28
In 6), for the current position value of the position count value (N),
The amount of movement (movement amount) designated in advance is added to obtain the target position. In steps (287) and (288), the fully open position is the upper limit of addition.

【0105】同じく、挟み込みが検出され、かつドア
(2)が、ステップ(284)にて開方向に作動中と判別され
ると、ステップ(285)において位置計数値(T)の現在
位置の値に対して、予め指定された移動させる量(移動
量)を減算して目標値とする。ステップ(289)とステッ
プ(290)は、その目標位置がエリア3の危険領域の場合
は、危険領域の下限境界値とする。
Similarly, pinching is detected and the door is
When (2) is determined to be operating in the opening direction in step (284), the amount of movement specified in advance with respect to the current position value of the position count value (T) in step (285) ( The movement amount) is subtracted to obtain the target value. Steps (289) and (290) are the lower limit boundary value of the dangerous area when the target position is the dangerous area of the area 3.

【0106】図25は、図22におけるステップ(256)
の全開位置検出ルーチンで、以下のように機能する。ド
ア(2)の全開位置を判定する。イニシャライズの初期動
作時は、モータ(14)のON時にドアの移動がなく(停止
している)しかも、モータ(14)の負荷拘束時の電流値の
認識で、全開位置であることを検出し、ドア全開状態に
セットする。
FIG. 25 shows a step (256) in FIG.
The fully open position detection routine of No. 1 functions as follows. Determine the fully open position of the door (2). During the initial operation of initialization, the door does not move (stops) when the motor (14) is turned on, and the current value when the load of the motor (14) is restrained is recognized to detect that it is in the fully open position. , Set the door fully open.

【0107】ステップ(296)にて、その時の位置計数値
(N)から全開マージンを差し引き、ステップ(297)に
て、それを全開認識位置として所要のメモリー部に記憶
する。全開マージンは、ドア(2)の開動作移動中、全開
位置と認識して、ドアを停止しても、若干の移動を生じ
るので、その移動量を見込んでマージンをとる。全開位
置認識以降は、位置データが認識位置以上になったら全
開状態にセットする。
At step (296), the full-open margin is subtracted from the position count value (N) at that time, and at step (297) it is stored as a full-open recognition position in the required memory section. The full-open margin causes a slight movement even if the door is stopped while recognizing the full-open position during the movement of the opening operation of the door (2). After the fully opened position is recognized, the position is set to the fully opened state when the position data is equal to or higher than the recognized position.

【0108】図26は、図17におけるステップ(176)
のスタートモードルーチンの詳細を示すものである。こ
のスタートモードの目的は、各SWのON・OFFや周
囲状況に応じて、ドア(2)を動力駆動させるオートスラ
イド動作のスタートさせるモードを識別し、以下のよう
に制御をする。 全閉以外時にSW操作でスタート………>通常スタート
モード 全閉時にSW操作でスタート……………>ACTRスタ
ートモード 全閉以外時に手動操作でスタート………>手動通常スタ
ートモード 全閉時に手動操作でスタート……………>手動全閉スタ
ートモード スタート別制御を終了すると、スタートモードを解除し
て、作動計数をクリアー(G=0)する。
FIG. 26 shows the step (176) in FIG.
The details of the start mode routine of FIG. The purpose of this start mode is to identify the mode in which the automatic slide operation for driving the door (2) is driven according to the ON / OFF state of each SW and the surrounding conditions, and control as follows. Start by SW operation when not fully closed ………… > Normal start mode Start by SW operation when fully closed ………… > ACTR start mode Start manually when not fully closed ………… > Manual normal start mode When fully closed Start by manual operation ………………> Manual fully closed start mode When the control by start is completed, the start mode is released and the operation count is cleared (G = 0).

【0109】ステップ(299)は、ステップ(301)以下の各
ステップで、スタート別の識別子が付与されるのを待っ
て、ステップ(300)で、ステップ(309)の通常スタートモ
ード、ステップ(310)のACTRスタートモード、ステ
ップ(312)の手動スタートモードに制御が渡る。
In step (299), after waiting for the identifier for each start to be given in each step after step (301), in step (300), the normal start mode of step (309), step (310) The control is passed to the ACTR start mode of) and the manual start mode of step (312).

【0110】ステップ(309)をなす通常スタートモード
は、以下のように機能する。ドア全閉領域外でのスター
ト時の制御をする(クラッチ(16)やモータ(14)のO
N)。最初にクラッチ(16)ONにして、モータ(14)とド
ライブプーリ(15)をつなぐ。クラッチ(16)のONタイム
ラグ後に、オートスライド作動可能にセットしてモータ
(14)をONする。モータ(14)がONした時に、作動別ス
タート識別子をリセットし作動別スタート制御の終了を
他のルーチンに知らせる
The normal start mode comprising step (309) functions as follows. Control at the start outside the door fully closed area (O of clutch (16) and motor (14)
N). First, turn on the clutch (16) and connect the motor (14) and drive pulley (15). After the ON time lag of the clutch (16), set the motor so that automatic slide operation is possible
Turn on (14). When the motor (14) is turned on, the operation-specific start identifier is reset to notify other routines of the completion of the operation-specific start control.

【0111】ステップ(310)をなすACTRスタートモ
ードは、以下のように機能する。このスタートモード
は、ACTR(35)を介してドアロックのラッチ(8)とス
トライカ(9)との係合を解除した後、ドア(2)を自動駆
動するスタートモード時の制御をする。ハーフラッチS
W(36)がOFFしているのを一定時間確認後、クラッチ
(16)をONにする。クラッチ(16)のONタイムラグ経過
後、オートスライド作動中にする。その後、モータ(14)
のONの時に、作動別スタート識別子をリセットし作動
別スタート制御の終了を他のルーチンに知らせる
The ACTR start mode of step (310) functions as follows. In this start mode, control is performed in the start mode in which the door (2) is automatically driven after the engagement of the door lock latch (8) and the striker (9) is released via the ACTR (35). Half latch S
After confirming that W (36) is off for a certain period of time, the clutch
Turn on (16). After the ON time lag of the clutch (16) has passed, the automatic slide is activated. Then the motor (14)
When ON, the operation-specific start identifier is reset to notify other routines of the end of the operation-specific start control.

【0112】図27は、ステップ(312)をなす手動スタ
ートモードルーチンを示すもので、この手動スタートモ
ードは、以下のように機能する。手動スタート操作時の
制御をする。最初にオートスライド作動可能にして、モ
ータ(14)を空転させる。手動判定をして、手動認識OF
F、急閉認識操作のどちらかに判定された場合は、その
場で異常検出にセット。モータ(14)が安定するまでのタ
イムラグ経過時点でクラッチ(16)をONして終了。クラ
ッチ(16)のON時にスタート別モード識別子をリセット
し、スタート別制御の終了を他のルーチンに知らせる。
FIG. 27 shows a manual start mode routine which constitutes step (312), and this manual start mode functions as follows. Controls the manual start operation. First, the auto slide operation is enabled and the motor (14) is allowed to idle. Manual judgment and manual recognition OF
If either F or quick closing recognition operation is determined, set to detect abnormality on the spot. When the time lag until the motor (14) stabilizes, the clutch (16) is turned on and the process ends. When the clutch (16) is turned on, the start-specific mode identifier is reset to notify other routines of the end of the start-specific control.

【0113】前記手動全閉スタートモードは、ドア全閉
状態からの手動スタートの制御をする。最初にオートス
ライド開動作可にして、モータ(14)を空転させる。ハー
フラッチSW(36)がOFFし続けていることを確認し、
かつモータ(14)が安定する時間を経過したら、クラッチ
(16)をONにする。
In the manual full-closed start mode, the manual start is controlled from the door fully closed state. First, the automatic slide opening operation is enabled, and the motor (14) is idled. Confirm that the half latch SW (36) keeps turning off,
And after the time for the motor (14) to stabilize has passed, the clutch
Turn on (16).

【0114】図10におけるステップ(122)及び図17
のステップ(164)であるストップモードは、以下のよう
に機能する。このストップモードは、前記各オートスラ
イドにおけるドアの開閉及び逆転制御時に、ドア(2)の
動力駆動を停止させた時の安全制御を目的とする。(ク
ラッチ(16)のOFFとモータ(14)のOFFそれぞれのタ
イミングを制御する)。
Step (122) in FIG. 10 and FIG.
The stop mode, which is the step (164) of (1), functions as follows. This stop mode is intended for safety control when the power drive of the door (2) is stopped during the opening / closing and reverse rotation control of the door in each of the automatic slides. (The timings of turning off the clutch (16) and turning off the motor (14) are controlled).

【0115】ドア(2)が全開位置と全閉位置の中間位置
での停止時には、モータ(14)を先に停止させ停止後に所
要の待ち時間をおきクラッチ(16)をOFFにする。ドア
(2)が全閉検出(ハーフON)時は、直ぐにモータ(1
4)、クラッチ(16)同時にOFFする。ストップモード終
了時は、ストップモード状況を解除して、ストップモー
ド終了を他のルーチンに知らせる。
When the door (2) is stopped at the intermediate position between the fully open position and the fully closed position, the motor (14) is stopped first, and after the stop, the clutch (16) is turned off after a required waiting time. door
When (2) is fully closed (half ON), the motor (1
4), the clutch (16) is turned off at the same time. When the stop mode ends, the status of the stop mode is released and other routines are notified of the end of the stop mode.

【0116】ステップ(175)のチェック制御は、以下の
ように機能する。ドアの位置、チェックカーの制御状態
により制御を振り分ける。エリア6でのみチェックカー
機構は、機能するようにする。チェックカー制御の開始
は、オートスライド作動中の場合は、ストップモード
(停止処理)終了後に行う。但し、開作動の停止後は、
バックラッシュが有るのでタイムラグを起きチェックカ
ー制御を開始する。電動作動中でない(手動操作時)時
は、ドアが止まった事を確認してチェックカー制御を行
う。チェック維持中は、チェックカー維持用制御へ、チ
ェックカー作動中は、チェックカー作動中制御へいく。
The check control in step (175) functions as follows. Control is distributed according to the position of the door and the control status of the check car. Only in area 6, the check car mechanism should work. If the automatic slide operation is in progress, the check car control is started after the stop mode (stop processing) ends. However, after stopping the opening operation,
Since there is backlash, a time lag occurs and check car control is started. When not in electric operation (during manual operation), check that the door has stopped and perform check car control. When the check car is maintained, the check car maintenance control is performed. When the check car is operated, the check car operation control is performed.

【0117】図28は、図10におけるステップ(120)
の速度制御ルーチンを示すフローチャートである。この
ステップ(120)の速度制御ルーチンは、ステップ(331)の
PWM制御ルーチンのなかに、ステップ(332)の目標値
の決定、ステップ(333)の適合計算、ステップ(334)のフ
ィードバック調整を含み、ステップ(333)の適合計算
は、ステップ(335)の差計算を、またステップ(334)のフ
ィードバック調整は、ステップ(336)の調整量の算出を
それぞれ含んでいる。このステップ(331)のPWM制御
の詳細なフローチャートは、図31に示してある。
FIG. 28 shows a step (120) in FIG.
3 is a flowchart showing a speed control routine of FIG. The speed control routine of step (120) includes the determination of the target value of step (332), the calculation of conformity of step (333), and the feedback adjustment of step (334) in the PWM control routine of step (331). , The matching calculation of step (333) includes the difference calculation of step (335), and the feedback adjustment of step (334) includes the calculation of the adjustment amount of step (336). A detailed flowchart of the PWM control in this step (331) is shown in FIG.

【0118】図29は、ステップ(332)の目標値の決
定、ステップ(333)の適合計算、ステップ(335)の差計
算、ステップ(336)の調整量算出等の各部分の機能をブ
ロック図で示したものである。
FIG. 29 is a block diagram showing the function of each part such as the determination of the target value in step (332), the matching calculation in step (333), the difference calculation in step (335), and the adjustment amount calculation in step (336). It is shown in.

【0119】速度制御は、前記図16に示すドア(2)の
位置に係る各制御領域(E1)〜(E6)に応じて、適正
な制御目標値が定められ、ドア(2)の速度が制御される
ようになっている。
In the speed control, an appropriate control target value is set according to each control area (E1) to (E6) relating to the position of the door (2) shown in FIG. 16, and the speed of the door (2) is controlled. It is controlled.

【0120】ドア位置検出部(60)は、前記図12に示す
位置計数パルス(g1)を計数して、位置計数値(N)
を求めるとともに、その値(N)とドア(2)の移動方向
の信号(Z)から、ドア(2)がそのとき存在するエリア
1〜7を制御領域弁別部(61a)が判別する。
The door position detecting section (60) counts the position counting pulse (g1) shown in FIG. 12 to obtain the position counting value (N).
Further, the control area discriminating unit (61a) discriminates the areas 1 to 7 in which the door (2) exists at that time from the value (N) and the signal (Z) in the moving direction of the door (2).

【0121】制御領域弁別部(61a)は、そのエリア1〜
7に基づいて、図16のテーブルにより、各制御領域
(E1)〜(E6)を判別し、その制御領域(E1)〜(E
6)に、それぞれ所要される、ドア(2)の適正移動速
度、実施例では適正移動速度に対応に対応した周期計数
値(T1)〜(T6)の値を求める。
The control area discriminating portion (61a) includes the area 1 to
7, the control areas (E1) to (E6) are discriminated from the table of FIG. 16 and the control areas (E1) to (E6) are determined.
In 6), the required appropriate moving speed of the door (2), in the embodiment, the values of the cycle count values (T1) to (T6) corresponding to the appropriate moving speed are obtained.

【0122】制御速度選択部(61b)では、制御領域(E
1)〜(E6)に基づいて、その制御領域(E1)〜(E6)
応じた適正の移動速度対応の周期計数値(T0)が1つ
求められるとともに、そのは制御領域(E1)〜(E6)
における、移動速度の最高速度対応の周期計数値(Tmi
n)と、最低速度対応の周期計数値(Tmax)が同時にも
とめられる。
In the control speed selection section (61b), the control area (E
Based on 1) to (E6), its control area (E1) to (E6)
One cycle count value (T0) corresponding to the appropriate moving speed is obtained, and it is in the control area (E1) to (E6).
The maximum cycle count value of the moving speed at (Tmi
n) and the cycle count value (Tmax) corresponding to the lowest speed are simultaneously obtained.

【0123】なお、ドア(2)の移動速度は、周期計数値
(T)の逆数(1/T)として容易に求められるととも
に、周期計数値(T)そのものの数値であっても、数値
の大小関係は逆にはなるが、速度対応値には変わりがな
いので、以下の説明においては周期計数値(T)をドア
(2)の移動速度を表す値として使用する。
The moving speed of the door (2) is easily obtained as the reciprocal (1 / T) of the cycle count value (T), and even if the cycle count value (T) itself is a numerical value, Although the magnitude relationship is reversed, the speed corresponding value does not change, so in the following description, the cycle count value (T) is used as the door count value.
It is used as a value representing the moving speed of (2).

【0124】例えば、制御領域(E1)〜(E6)応じた
適正の移動速度対応の周期計数値(T0)を、適正移動
速度値(T0)、制御領域(E1)〜(E6)における、移
動速度の最高速度対応の周期計数値(Tmin)を、最高
速度値(Tmin)、同じく最低速度対応の周期計数値
(Tmax)を、最低速度値(Tmax)とする。また、適正
移動速度値(T0)であって、各制御領域(E1)〜(E
6)に対応したものを、各領域(E1)〜(E6)の適正移
動速度値(T1)〜(T6)とする。
For example, the cycle count value (T0) corresponding to the appropriate moving speed corresponding to the control areas (E1) to (E6) is changed to the appropriate moving speed value (T0) in the control areas (E1) to (E6). The cycle count value (Tmin) corresponding to the maximum speed is the maximum speed value (Tmin), and the cycle count value (Tmax) corresponding to the minimum speed is the minimum speed value (Tmax). In addition, it is an appropriate moving speed value (T0), and each control area (E1) to (E1)
The values corresponding to 6) are the appropriate moving speed values (T1) to (T6) of the respective areas (E1) to (E6).

【0125】上記制御領域弁別部(61a)と制御速度選択
部(61b)は、図28のステップ(332)、及び図31のステ
ップ(339)の機能を達成している。
The control area discrimination section (61a) and the control speed selection section (61b) achieve the functions of step (332) in FIG. 28 and step (339) in FIG.

【0126】制御速度選択部(61b)で求められた各領域
の適正移動速度値(T0=T1〜T6)は、調整量算出部
(62)に送られる。調整量算出部(62)で求められたフード
バックの調整量(R)は、調整量の上限値を設定する最
大調整量制限部(63)に送られる。
The appropriate movement speed value (T0 = T1 to T6) of each area obtained by the control speed selection unit (61b) is calculated by the adjustment amount calculation unit.
Sent to (62). The hood bag adjustment amount (R) obtained by the adjustment amount calculation unit (62) is sent to a maximum adjustment amount limiting unit (63) that sets an upper limit value of the adjustment amount.

【0127】上記調整量算出部(62)と最大調整量制限部
(63)は、図28のステップ(336)の調整量の算出、及び
図32におけるステップ(357)、ステップ(368)の調整量
の算出機能を有する部分である。
The adjustment amount calculation unit (62) and the maximum adjustment amount limiting unit
Reference numeral (63) is a portion having a function of calculating the adjustment amount in step (336) of FIG. 28 and a function of calculating the adjustment amount in steps (357) and (368) of FIG.

【0128】(64)は、ドア移動速度検出部で、前記図1
0におけるステップ(135)のパルスカウントタイマーに
相当し、割り込みパルス(g1)に基づいて、クロック
パルス(C1)を計数して、その時点の周期計数値(T
x)を求めている。なお、ドア(2)の移動速度に係る周
期係数値(Tx)を表す場合、それを移動速度値(Tx)
とする。
(64) is a door moving speed detecting unit, which is shown in FIG.
Corresponding to the pulse count timer of step (135) in 0, counting the clock pulse (C1) based on the interrupt pulse (g1), the cycle count value (T
x). When the periodic coefficient value (Tx) related to the moving speed of the door (2) is expressed, it is used as the moving speed value (Tx).
And

【0129】この移動速度値(Tx)は、前記図28の
ステップ(333)をなす適合計算ルーチン及び図31のス
テップ(341)の適合度計算ルーチンに相当する速すぎ検
出部(65)と遅すぎ検出部(66)に入力される。
This moving speed value (Tx) is determined by the too fast detection unit (65) and the slow speed corresponding to the fitness calculation routine of step (333) of FIG. 28 and the fitness calculation routine of step (341) of FIG. It is input to the excess detection unit (66).

【0130】速すぎ検出部(65)と遅すぎ検出部(66)に
は、前記制御速度選択部(61b)で求められた、ドア(2)
のある制御領域の適正速度値(T0)対応の最高速度値
(Tmin)と最低速度値(Tmax)がそれぞれ入力されて
いる。速すぎ検出部(65)には最高速度値(Tmin)が、
遅すぎ検出部(66)には最低速度値(Tmax)が入力して
いる。
For the too fast detection unit (65) and too slow detection unit (66), the door (2) obtained by the control speed selection unit (61b) is selected.
The maximum speed value (Tmin) and the minimum speed value (Tmax) corresponding to the appropriate speed value (T0) in a certain control area are input. The maximum speed value (Tmin) is detected in the too fast detection section (65).
The minimum speed value (Tmax) is input to the too late detection unit (66).

【0131】速すぎ検出部(65)は、現在の移動速度値
(Tx)から最高速度値(Tmin)を、差計算部(65a)に
より減算して、速すぎ量(TH)を求め、それを2段の
シフトレジスタ等による一時保留部(65b)(65c)に送込
む。
The excessive speed detecting unit (65) subtracts the maximum speed value (Tmin) from the current moving speed value (Tx) by the difference calculating unit (65a) to obtain the excessive speed amount (TH), Is sent to the temporary holding units (65b) and (65c) using a two-stage shift register or the like.

【0132】一時保留部(65b)(65c)における前段のもの
には、抽出時期が1つ前の速すぎ量(TH2)を、後段の
ものには現時点、もしくは前段の抽出時期に連続した1
つ後の速すぎ量(TH1)を保留し、その量速すぎ量(T
H1)(TH2)は、修正量演算部(65d)により加算されて
速すぎ適合差(JNH)が出力される。
In the former stage of the temporary holding sections (65b) (65c), the extraction speed is the previous too fast amount (TH2), and in the latter stage, it is 1 time consecutively at the present time or the previous extraction stage.
Too fast after (TH1) is reserved,
H1) and (TH2) are added by the correction amount calculation unit (65d) and the too fast adaptation difference (JNH) is output.

【0133】同様に、遅すぎ検出部(66)は、現在の移動
速度値(Tx)から最低速度値(Tmax)を、差計算部(6
6a)により減算して、遅すぎ量(TL)を求め、それを2
段のシフトレジスタ等による一時保留部(66b)(66c)に送
込む。上記差計算部(65a)(66b)は、図28におけるステ
ップ(335)の差計算ルーチンに相当している。
Similarly, the too slow detection unit (66) calculates the minimum speed value (Tmax) from the current movement speed value (Tx) by the difference calculation unit (6
6a) subtracts to obtain the too late amount (TL), which is 2
The data is sent to the temporary holding units (66b) (66c) by the shift registers of the stages. The difference calculation units (65a) and (66b) correspond to the difference calculation routine of step (335) in FIG.

【0134】一時保留部(66b)(66c)における前段のもの
には、抽出時期が1つ前の遅すぎ量(TL2)を、後段の
ものには現時点、もしくは前段の抽出時期に連続した1
つ後の遅すぎ量(TL1)を保留し、その量遅すぎ量(T
L1)(TL2)は、修正量演算部(66d)により加算されて
遅すぎ適合差(JNL)が出力される。
In the former stage of the temporary holding sections (66b) (66c), the extraction amount is too late (TL2), which is one before, and in the latter stage, the extraction amount is continuous at the present time or at the previous extraction stage.
After that, hold the amount too late (TL1) and
L1) and (TL2) are added by the correction amount calculation unit (66d) and the too late adaptation difference (JNL) is output.

【0135】速すぎ及び遅すぎの一時保留部(65b)(65c)
及び(66b)(66c)は、差計算部(65a)(66a)において現在の
移動速度値(Tx)が最高速度値(Tmin)もしくは最低
速度(Tmax)に対して、速すぎるのか、又は、遅すぎ
るのか、を判別するようにした速度判別部(65e)(66e)に
より、速すぎもしくは遅すぎないときは、この一時保留
部(65b)(65c)及び(66b)(66c)の保留内容を零にリセット
する。
Too fast and too slow temporary holding section (65b) (65c)
And (66b) (66c), whether the current moving speed value (Tx) is too fast with respect to the maximum speed value (Tmin) or the minimum speed (Tmax) in the difference calculation unit (65a) (66a), or If it is not too fast or too slow by the speed determination unit (65e) (66e) that determines whether it is too late, this temporary holding unit (65b) (65c) and (66b) (66c) hold contents Reset to zero.

【0136】これにより、修正量演算部(65d)(66d)に速
すぎ量(TH1)(TH2)もしくは遅すぎ量(TL1)(T
L2)が2つ揃って引き渡されるには、速すぎもしくは遅
すぎが2度引き続いて生じなければならない。
As a result, the correction amount calculation units (65d) and (66d) are provided with too fast (TH1) (TH2) or too late (TL1) (T).
In order for two L2) to be delivered together, either too fast or too late must occur twice in succession.

【0137】速すぎ検出部(66)から出力される速すぎ適
合差(JNH)、及び速すぎ検出部(66)から出力される遅
すぎ適合差(JNL)は、フィードバック調整部(67)に送
られるとともに、前記調整量算出部(62)にも送られ、調
整量算出部(62)では、速すぎ及び遅すぎの両適合差(J
NH)(JNL)は、まとめて適合差(JN)として扱われ
る。
The too fast matching difference (JNH) output from the too fast detecting section (66) and the too slow matching difference (JNL) output from the too fast detecting section (66) are sent to the feedback adjusting section (67). While being sent, it is also sent to the adjustment amount calculation unit (62), and in the adjustment amount calculation unit (62), both the matching difference (J
NH) (JNL) are collectively treated as a conformance difference (JN).

【0138】調整量算出部(62)は、制御速度選択部(61
b)で得られた適正移動速度値(T0)を識別子として、
調整量(R)の算出式が選択される。例えば、適正移動
速度(T0)が(Ta)ならば調整量(R)は3倍の適合
差(JN)とする(T0=Ta ならば R=3JN)。 以下同様に、 T0=Tb ならば R=2JN 又
は(R=aJN) T0=Tc ならば R= JN 又は(R=bJN) T0≠Ta,Tb,Tc、 ならば R=3JN 又は(R=
cJN) ただし、Ta,Tb,Tc、は任意の大きさの値でよいが、
実質的は図16に示す注目度の高い領域や危険領域に設
定されている適正移動速度応じているのが好ましい。さ
らに、調整量(R)の算出式の一般式の倍率係数(a、
b、c)は、ドアの移動軌跡の曲線部や直線部等に応じ
て、フィードバック制御に適する所要の値を設定する。
The adjustment amount calculation section (62) includes a control speed selection section (61
Using the proper moving speed value (T0) obtained in b) as an identifier,
A formula for calculating the adjustment amount (R) is selected. For example, if the appropriate moving speed (T0) is (Ta), the adjustment amount (R) is set to a triple matching difference (JN) (if T0 = Ta, R = 3JN). Similarly, if T0 = Tb, R = 2JN or (R = aJN) If T0 = Tc, R = JN or (R = bJN) T0 ≠ Ta, Tb, Tc, if R = 3JN or (R =
cJN) However, Ta, Tb, Tc may be values of arbitrary size,
Substantially, it is preferable that the appropriate moving speed is set in the high attention area or the dangerous area shown in FIG. Further, the magnification coefficient (a,
In b and c), a required value suitable for feedback control is set according to a curved portion, a straight portion, or the like of the movement locus of the door.

【0139】調整量(R)は、最大調整量制限部(63)に
おいて調整量(R)の上限値が制限されるとともに、調
整量(R)は、後述するデユーテイの値(D)に変換さ
れ、そのデユーテイ値(D)は、フィードバック調整部
(67)に入力される。
The adjustment amount (R) is limited to the upper limit value of the adjustment amount (R) in the maximum adjustment amount limiting section (63), and the adjustment amount (R) is converted into a duty value (D) described later. The duty value (D) is calculated by the feedback adjustment unit.
Input to (67).

【0140】ドア(2)を駆動するモータ(14)は、出力ト
ルクの調整に、PWM制御と称される制御手段が採用さ
れている。PWM制御は、モータに印加する電圧波形を
矩形波として、その矩形波のデユーテイサイクルを変化
することにより、モータの出力トルクを調整している。
しかし、出力トルクはモータに印加する矩形波の電圧に
よっても変動するため、モータの出力トルクを精密に制
御するには矩形波の電圧変動分をデユーテイサイクルに
考慮して制御する必要がある。
The motor (14) for driving the door (2) employs a control means called PWM control for adjusting the output torque. In the PWM control, the voltage waveform applied to the motor is a rectangular wave, and the duty cycle of the rectangular wave is changed to adjust the output torque of the motor.
However, since the output torque also changes depending on the voltage of the rectangular wave applied to the motor, in order to precisely control the output torque of the motor, it is necessary to control the rectangular wave voltage fluctuation in consideration of the duty cycle. .

【0141】図30は、モータに流れる電流を一定とし
たときの電圧変動とデユーテイサイクル(以下の説明に
おいては、デユーテイと略称するとともに、フローチャ
ートにおてはDUTEと略称する)(D)の関係を示す
グラフである。
FIG. 30 shows a voltage variation and duty cycle when the current flowing through the motor is constant (in the following description, it is abbreviated as duty and abbreviated as DUTE in the flow chart) (D). It is a graph which shows the relationship of.

【0142】車両用のバッテリー(24)は、最大電圧(V
max)を16V、最小電圧(Vmin)を9Vとする、その
間の電圧を自在に変動しているものとすることができ
る。電源電圧検出部(68)は、バッテリー(24)の電圧(V
x)を計測している。この電圧(Vx)のときに、所要電
圧相当(V0)のデユーテイ(D0)を求めるのがデユー
テイ演算部(69)である。
The vehicle battery (24) has a maximum voltage (V
The maximum voltage is 16 V and the minimum voltage (Vmin) is 9 V, and the voltage between them can be freely changed. The power supply voltage detector (68) detects the voltage (V) of the battery (24).
x) is being measured. At this voltage (Vx), the duty calculating section (69) obtains the duty (D0) corresponding to the required voltage (V0).

【0143】所要電圧(V0)相当のデユーテイ(D0)
とは、デユーテイ100%(Dmax)の電圧波形、すな
わち所要直流電圧(V0)を印加したときの出力トルク
と、その直流電圧より高い任意の電圧(Vx)を印加し
て、同じ出力トルクを得るためのデユーテイ(D0)の
ことで、次の式で表される(図30参照)。 D0=(V0/Vx)・Dmax ただし、モータに流れる電流値は一定としている。
Duty (D0) equivalent to required voltage (V0)
Is a duty 100% (Dmax) voltage waveform, that is, the output torque when a required DC voltage (V0) is applied and an arbitrary voltage (Vx) higher than the DC voltage are applied to obtain the same output torque. The duty (D0) for this purpose is represented by the following equation (see FIG. 30). D0 = (V0 / Vx) .Dmax However, the current value flowing through the motor is constant.

【0144】デユーテイ演算部(69)は、バッテリー(24)
の電圧変動を、電源電圧検出部(68)が測定電圧(Vx)
として検出し、その電圧(Vx)と所要電圧(V0)から
上記計算式に基づいて、所要電圧(V0)相当のデユー
テイ(D0)を求める。
The duty calculation section (69) is provided with a battery (24).
The power supply voltage detector (68) measures the voltage fluctuation of the measured voltage (Vx)
Then, the duty (D0) corresponding to the required voltage (V0) is obtained from the voltage (Vx) and the required voltage (V0) based on the above calculation formula.

【0145】さらに、デユーテイ演算部(69)では、所要
電圧(V0)より、上方または下方に1V(ボルト)変
化したときの、デユーテイの変化量を求めて、これを1
V相当デユーテイ(D1)として、求めている。所要電
圧(V0)相当のデユーテイ(D0)と1V相当デユーテ
イ(D1)は、フィードバック調整部(67)に入力してい
る。
Further, the duty calculating section (69) obtains the change amount of the duty when the voltage changes by 1 V (volt) above or below the required voltage (V0), and sets it to 1
It is calculated as V equivalent duty (D1). The duty (D0) corresponding to the required voltage (V0) and the duty (D1) corresponding to 1V are input to the feedback adjusting section (67).

【0146】上記デユーテイ演算部(69)は、電流の変化
分を含まない1次の計算式で求めているが、電流の変化
分やモータの負荷特性を含めて、電源電圧変動に対する
デユーテイ(D)の修正値(D’)を、予めメモリーマ
ップにしておいて、電源電圧(Vx)でアドレスして求
めることもできる。
The duty calculating section (69) calculates the duty (D) for the power supply voltage fluctuation including the current variation and the motor load characteristics, although it is calculated by the first-order calculation formula that does not include the current variation. It is also possible to make a correction value (D ′) of) in advance as a memory map and address it with the power supply voltage (Vx) to obtain it.

【0147】図31は、図28に示すステップ(331)の
PWM制御の詳細を示すものである。PWM制御ルーチ
ンは、エリア毎に定められた目標速度に一致するよう
に、電圧をPWM制御にてデューテイ(D)を調整す
る。目標速度が求まってない時は、速度制御をクリアし
て、エリアに設定された目標速度とDUTYを求める。
FIG. 31 shows the details of the PWM control in step (331) shown in FIG. The PWM control routine adjusts the duty (D) of the voltage by PWM control so as to match the target speed set for each area. When the target speed is not found, the speed control is cleared and the target speed and DUTY set in the area are found.

【0148】エリア変化時は、変化したエリアに設定さ
せた目標速度を求める。速度に対するDUTYの調整間
隔(フィードバック)は、機構部の遅れがあるため、エ
リア毎に定められた間隔より短くならないようにする。
When the area changes, the target speed set in the changed area is obtained. The adjustment interval (feedback) of DUTY with respect to the speed should not be shorter than the interval defined for each area because there is a delay in the mechanical section.

【0149】図32は、図28に示すステップ(349)の
フィードバック調整ルーチンの詳細を示すものである。
このフィードバック調整ルーチンは、2回以上連続で遅
すぎるか、速すぎたときに目標の速度になるように、P
WMのDUTY調整を行う。低速、高速バッファーの2
個目のバッファーにデータがあるか調べ(2個以上連続
で遅すぎたか、速すぎたか調べる)、有る場合は、バッ
ファーのデータを加算し、アンマッチ量を求める。
FIG. 32 shows the details of the feedback adjustment routine at step (349) shown in FIG.
This feedback adjustment routine is performed so that the target speed is reached when the speed is too slow or too fast for two or more times in succession.
Perform DUTY adjustment of WM. Low speed, high speed buffer 2
It is checked whether or not there is data in the first buffer (it is checked whether two or more data are consecutively too slow or too fast), and if there is, the buffer data is added to obtain the unmatched amount.

【0150】図33〜図43は、本発明の実施要領を示
すものである。図33は、図10に示すステップ(118)
の挟み込み判定ルーチンの主要部のフローを示すもので
ある。図34は、図33に示すステップ(373)の挟み込
み判定ルーチンの詳細を示すものである。
33 to 43 show an embodiment of the present invention. FIG. 33 shows the step (118) shown in FIG.
7 is a flowchart showing the main part of the entrapment determination routine of FIG. FIG. 34 shows the details of the entrapment determination routine of step (373) shown in FIG.

【0151】図35は、図33の挟み込み判定ルーチン
の機能をブロック図で示すもので、このブロック図に基
づいて構成を説明する。
FIG. 35 is a block diagram showing the function of the entrapment determination routine of FIG. 33. The configuration will be described based on this block diagram.

【0152】ドア(2)の位置検出部(60)は、前述の如
く、図12に示す位置計数パルス(φ1)(割り込みパ
ルス(g1)と同じ)を、ドアの全閉位置を基準位置と
して、ドアの移動方向のデータ(Z)に基づいて、開方
向なら順次増計数し、閉方向なら順次減計数して、位置
計数値(N)を求めるものである。
As described above, the position detecting section (60) of the door (2) uses the position counting pulse (φ1) (same as the interrupt pulse (g1)) shown in FIG. 12 with the fully closed position of the door as a reference position. Based on the data (Z) of the moving direction of the door, the position count value (N) is obtained by sequentially increasing the count in the opening direction and sequentially decreasing the count in the closing direction.

【0153】サンプリング領域演算部(70)は、図16に
示す如く、位置計数パルス(φ1)を、エリア1〜エリ
ア7に定められた分解能(B)に応じて、間引いて計数
し、その計数値(n)(m)基づき、サンプリング領域
(Q)のアドレスを定めものである。
As shown in FIG. 16, the sampling area computing section (70) thins and counts the position counting pulse (φ1) according to the resolution (B) defined in area 1 to area 7, and counts the total. The address of the sampling area (Q) is determined based on the numerical values (n) and (m).

【0154】サンプリング領域(Q)は、上記分解能
(B)に応じて、閉方向に間引き計数された計数値
(n)、開方向に間引き計数された計数値(m)により
アドレス指定され、そのアドレスを持つサンプリング領
域は(Qn)(Qm)と表す。上記計数値(n)(m)を
単独で使用する場合は、アドレス番号(n)(m)とす
る。
The sampling area (Q) is addressed by the count value (n) decimated in the closing direction and the count value (m) decimated in the opening direction according to the resolution (B). A sampling area having an address is represented by (Qn) (Qm). When the count value (n) (m) is used alone, the address number is (n) (m).

【0155】アドレス番号(n)(m)と分解能
(B)、および位置計数値(N)の関係は、次のように
表される。 N/B=n+b 又は N/B=m+b n、mは商の整数部、bは商の余り 分解能(B)は、比較的注目度の低い通常制御領域(E
1)のエリア1とエリア6、リンク減速制御領域(E5)
のエリア5は、間引き幅の広い分解能(B=8)に設定
してある。
The relationship among the address numbers (n) and (m), the resolution (B), and the position count value (N) is expressed as follows. N / B = n + b or N / B = m + b n, m is an integer part of the quotient, b is the remainder of the quotient. The resolution (B) is a normal control area (E
Area 1 and area 6), link deceleration control area (E5)
Area 5 is set to a resolution (B = 8) with a wide thinning width.

【0156】減速制御領域(E2)のエリア2は、挟み
込みの発生し易い、注目度は危険領域であるが、まだド
アの開度が十分にあるエリアなので、分解能は(B=
4)に設定してある。リンク減速制御領域(E3)のエ
リア3と、締め込み制御領域(E4)は、ドア(2)が曲
線を描いて移動し、かつ注目度の最も高い危険領域なの
で、分解能は最も細かい(B=2)に設定してある。
Area 2 of the deceleration control area (E2) is an area in which trapping is likely to occur and the degree of attention is a dangerous area, but since the area where the door opening is still sufficient, the resolution is (B =
It is set to 4). The area 3 of the link deceleration control area (E3) and the tightening control area (E4) have the finest resolution (B = It is set to 2).

【0157】上記分解能(B)に基づいてサンプリング
領域(Qn)(Qm)を、各制御領域(E1)〜(E6)毎
にアドレス指定したのが図12に示してある。
FIG. 12 shows that the sampling areas (Qn) and (Qm) are addressed for each of the control areas (E1) to (E6) based on the resolution (B).

【0158】(71)は、負荷サンプルデータメモリで、サ
ンプリング演算部(70)から送られるアドレス番号(n)
(m)により、読み書きのアドレスが指定される。
Reference numeral (71) is a load sample data memory, which is an address number (n) sent from the sampling calculation unit (70).
A read / write address is designated by (m).

【0159】(72)は、サンプリング領域(Qn)(Qm)
に対応したドア(2)の負荷データ演算部で、サンプリン
グ領域演算部(70)からは、位置計数値と分解能の商(N
/B)の余り(b)が入力している。
(72) is a sampling area (Qn) (Qm)
In the load data calculation unit of the door (2) corresponding to, the quotient of the position count value and the resolution (N
The remainder (b) of / B) is entered.

【0160】負荷データ演算部(72)においては、メイン
ルーチンのステップ(103)における電流計測部(73)によ
って、一定インターバル毎に計測された加算平均電流値
が、位置計数値(N)を得る毎に計測されたモータ(14)
の電流値(IN)として、分解能(B)と同じ段数のシ
フトレジスタ(74)に順次取り込まれて、図36に示すよ
うに、各サンプリング領域(Qn)毎に、位置計数値
(N)対応電流値(IN)の加算平均値(IAn)を計算
している。
In the load data calculation unit (72), the average current value measured at regular intervals by the current measurement unit (73) in step (103) of the main routine obtains the position count value (N). Motor measured for each (14)
The current value (IN) is sequentially fetched into the shift register (74) having the same number of stages as the resolution (B), and as shown in FIG. 36, the position count value (N) corresponds to each sampling area (Qn). The average value (IAN) of the current value (IN) is calculated.

【0161】負荷データ演算部(74)は、記憶用学習デー
タ演算部(75)に、平均電流値(IAn)を送り込んでい
る。
The load data calculation unit (74) sends the average current value (IAN) to the storage learning data calculation unit (75).

【0162】負荷サンプルデータメモリ(71)は、書き込
みデータ(DL)を記憶用学習データ演算部(75)から受
け取り、読み出しデータ(DR)を、予測比較値演算部
(76)に渡している。このデータの読み書きのアドレス
は、前記サンプリング領域(Qn)(Qm)のアドレス番
号(n)(m)である。
The load sample data memory (71) receives the write data (DL) from the storage learning data calculation unit (75) and the read data (DR) as the predicted comparison value calculation unit.
I passed it to (76). The address for reading and writing this data is the address number (n) (m) of the sampling area (Qn) (Qm).

【0163】上記予測比較値演算部(76)は、図37のブ
ロック図に詳細に示す如く、予測値レジスタ(77)と、閾
値計算部(78)と比較値計算部(79)と予測比較値遅延レジ
スタ(80)を具備している。
The predictive comparison value calculation unit (76), as shown in detail in the block diagram of FIG. 37, predictive value register (77), threshold value calculation unit (78), comparison value calculation unit (79) and prediction comparison unit. A value delay register (80) is provided.

【0164】また、前記記憶用学習データ演算部(75)
は、図38のブロック図に詳細を示す如く、電流増加率
演算部(81)と、直前値データ保留レジスタ(82)と、学習
データ遅延シフトレジスタ(83)と、学習値重み付け更新
演算部(84)を備えている。
Further, the learning data calculation unit for storage (75)
38, as shown in detail in the block diagram of FIG. 38, a current increase rate calculation unit (81), a previous value data holding register (82), a learning data delay shift register (83), and a learning value weighting update calculation unit ( 84).

【0165】電流計測部(73)が計測した電流値(IN)
は、挟み込み判定部(85)に送られるとともに、前回電流
値メモリ部(86)と、変化量算出部(87)と、電流増加回数
計数部(88)にも送られている。
Current value (IN) measured by the current measuring unit (73)
Is sent to the entrapment determination unit (85), and also to the previous current value memory unit (86), change amount calculation unit (87), and current increase number counting unit (88).

【0166】挟み込み判定部(85)には、変化量検出部(8
7)が出力する電流増加値(ΔI)と、電流増加回数計数
部(88)が出力する増加回数値(K)が送られるととも
に、前記図10におけるステップ(123)、及び後述する
図44の坂道判定ルーチンによる坂道検出部(89)の傾斜
判定データ(θ)が送り込まれている。
The entrapment determination section (85) includes a change amount detection section (8
The current increase value (ΔI) output by 7) and the increase number value (K) output by the current increase number counting unit (88) are sent, and the step (123) in FIG. 10 and FIG. The slope determination data (θ) of the slope detection unit (89) by the slope determination routine has been sent.

【0167】上記図35〜図38に示すブロック図は、
図33及び図34に示す挟み込み判定ルーチンと処理機
能が対応している。なお、図33におけるステップ(38
0)の平均値算出ルーチンは、図35の負荷データ演算部
(72)と電流記憶レジスタ(74)に、処理機能が対応してい
る。
The block diagrams shown in FIGS. 35 to 38 are as follows.
The entrapment determination routine shown in FIGS. 33 and 34 corresponds to the processing function. Note that the step (38
The average value calculation routine of (0) is performed by the load data calculation unit of FIG.
The processing function corresponds to (72) and the current storage register (74).

【0168】同じく、ステップ(381)の比較値生成ルー
チンと、ステップ(384)の比較値計算ルーチンは、図3
7の予測値算出部(76)に処理機能が対応している。
Similarly, the comparison value generation routine of step (381) and the comparison value calculation routine of step (384) are as shown in FIG.
The processing function corresponds to the prediction value calculation unit (76) of No. 7.

【0169】同じく、ステップ(382)の学習処理のルー
チンと、ステップ(383)の学習遅延処理のルーチンは、
図38の記憶用学習データ演算部(75)に処理機能が対応
している。
Similarly, the learning process routine of step (382) and the learning delay process routine of step (383) are
A processing function corresponds to the learning data calculation unit (75) for storage in FIG.

【0170】同じく、ステップ(375)の継続&変化量ル
ーチンは、図42に詳細なフローチャートとして示され
てもいるが、図35において、前回値メモリ部(86)と変
化量算出部(87)と電流増加回数計数部(88)に処理機能が
対応している。
Similarly, the continuation & change amount routine of step (375) is shown as a detailed flow chart in FIG. 42. In FIG. 35, the previous value memory unit (86) and the change amount calculation unit (87) are shown. The processing function corresponds to the current increase counter (88).

【0171】上記構成の挟み込み判定においては、ドア
(2)の開閉に係る標準の負荷抵抗成分(その変化率を含
む)を、ドア駆動モータ(14)に流れる電流値(IN)に
基づき抽出し、その負荷抵抗成分を、ドアの開閉状況と
ドア位置とに固有するサンプリング領域(Qn)(Qm)
を定めて、そのサンプリング領域(Qn)(Qm)に対応
させて、メモリに記憶させておき、通常のドア(2)の開
閉に際して、同一サンプリング領域(Qn)(Qm)の記
憶された標準の負荷抵抗成分と、現在の負荷抵抗成分と
を比較して、挟み込みの有無を検出するようにしてい
る。
In the jamming determination of the above structure, the door is
The standard load resistance component (including its change rate) related to opening and closing of (2) is extracted based on the current value (IN) flowing through the door drive motor (14), and the load resistance component is referred to as the door opening / closing status. Sampling area (Qn) (Qm) unique to the door position
Is determined and stored in the memory in association with the sampling area (Qn) (Qm), and when the normal door (2) is opened and closed, the same standard sampling area (Qn) (Qm) is stored. The load resistance component and the current load resistance component are compared to detect the presence or absence of entrapment.

【0172】サンプリング領域(Qn)(Qm)に応じて
記憶される負荷抵抗成分は、ドア(2)の開閉操作がある
毎に、新たな負荷抵抗成分に基づいて、予め記憶させた
負荷抵抗成分に修正を加えて学習更新される。
The load resistance component stored according to the sampling areas (Qn) (Qm) is the load resistance component stored in advance based on the new load resistance component each time the door (2) is opened and closed. Learning is updated with corrections.

【0173】図36は、上記サンプリング領域(Qn)
(Qm)に応じて記憶される負荷抵抗成分、実施例にお
いては、負荷抵抗成分の変化率の抽出要領の一例を示す
ものである。なお、以下の説明において、ドア(2)の開
閉状況は、エリア2の減速制御領域(E2)で分解能
(B=4)とし、かつ注目するサンプリング領域(Q
n)と1つ後のサンプリング領域(Qn-1)における、各
位置計数パルス(φ1)毎の(Nに対応している)各電
流値(IN)を示している。
FIG. 36 shows the sampling area (Qn).
This is an example of how to extract the load resistance component stored according to (Qm), in the embodiment, the rate of change of the load resistance component. In the following description, the open / close state of the door (2) is set to the resolution (B = 4) in the deceleration control area (E2) of the area 2 and the sampling area (Q
n) and the current value (IN) (corresponding to N) for each position counting pulse (φ1) in the sampling area (Qn-1) after that.

【0174】1つのサンプリング領域(Qn)について
記憶される負荷抵抗成分は、そのサンプリング領域(Q
n)の中に分解能の数(B=4)個だけ含まれる電流値
(IN)の平均値(IAn)による、前後のサンプリング
領域(Qn)(Qn+1)間の電流増加率(ΔIAn=IAn/
IAn+1)で対応している。
The load resistance component stored for one sampling area (Qn) is
n) is the average value (IAN) of the current values (IN) included by the number of resolutions (B = 4), and the current increase rate (ΔIAN =) between the sampling areas (Qn) (Qn + 1) before and after IAn /
It is supported by IAn + 1).

【0175】サンプル領域演算部(70)は、位置計数値
(N)を分解能(B)で除算した商の整数部をアドレス
番号(n)と、商の余り(b)を生成して、アドレス番
号(n)は、負荷サンプルデータメモリ(71)をアドレス
指定し、余り(b)は、負荷データ演算部(72)におい
て、分解能(B)の数と同じ数のレジスタを備えた電流
値記憶レジスタ(74)のデータシフトを制御している。
The sample area calculation unit (70) generates the address number (n) and the remainder of the quotient (b) by generating the integer part of the quotient obtained by dividing the position count value (N) by the resolution (B) and The number (n) addresses the load sample data memory (71), and the remainder (b) stores the current value with the same number of registers as the number of resolutions (B) in the load data calculation unit (72). It controls the data shift of the register (74).

【0176】負荷データ演算部(72)は、余り(b)の順
に、記憶値レジスタ(74)から順次送られてくる電流値
(IN)〜(IN-3)を順次に加算平均して、平均電流
(IAn)を求め、記憶用学習データ演算部(75)に送る。
The load data calculation unit (72) sequentially adds and averages the current values (IN) to (IN-3) sequentially sent from the storage value register (74) in the order of the remainder (b), The average current (IAN) is obtained and sent to the learning data calculation unit (75) for storage.

【0177】図36は、後述する学習効果を考慮しない
状態の、同一サンプリング領域(Qn)(Qn-1)におけ
る前回の記憶した平均電流(I'An)(I'An-1)と今回
求められた現在の平均電流(IAn)(IAn-1)を表して
いる。
FIG. 36 shows the previously stored average current (I'An) (I'An-1) in the same sampling area (Qn) (Qn-1) and this time, which is obtained without considering the learning effect described later. The present average current (IAN) (IAN-1) is shown.

【0178】初期状態においては、負荷サンプルデータ
メモリ(71)の記憶内容は、車体(1)を、前後左右に傾き
のない平坦な場所置て、平常姿勢となしておき、この平
常姿勢においてドア(2)を開閉させて、各エリア毎のサ
ンプル領域(Qn)(Qm)の平均電流値(IAn)(IA
m)を、図36の前回動作の状態と同様に求める。
In the initial state, the stored contents of the load sample data memory (71) are such that the vehicle body (1) is placed in a flat position without tilting in the front, rear, left and right, and in a normal position, and the door is opened in this normal position. (2) is opened and closed, and the average current value (IAN) (IA) of the sample area (Qn) (Qm) for each area
m) is obtained in the same manner as in the previous operation state of FIG.

【0179】この初期状態においては、記憶用学習デー
タ演算部(75)を、現在の平均電流値(IAn)又は(IA
m)が直前の平均電流値(IAn+1)又は(IAm-1)より
大なる(IAn>IAn+1)又は(IAm>IAm-1) とき、
現在の平均電流値(IAn)又は(IAm)と直前の平均電
流値(IAn+1)又は(IAm-1)の比からなる、電流増加
率(ΔIAn=IAn/IAn+1)又は(ΔIAm=IAm/IAm
-1)を求め、この電流増加率(ΔIAn)又は(ΔIAm)
は、学習データ遅延シフトレジスタ(83)から学習値重み
付け更新演算部(84)を素通りして、負荷サンプルデータ
メモリ(71)の書き込みデータ(DL)として送り込まれる
とともに、そのデータが記録されるアドレスは、サンプ
リング領域演算部(70)で得られる、その平均電流値(I
An)又は(IAm)を求めたサンプル領域データ(Qn)
又は(Qm)のアドレス番号(n)又は(m)で指定さ
れる。
In this initial state, the memory learning data operation unit (75) is set to the current average current value (IAN) or (IA).
m) is larger than the immediately preceding average current value (IAN + 1) or (IAm-1) (IAN> IAn + 1) or (IAm> IAm-1),
Current increase rate (ΔIAN = IAn / IAN + 1) or (ΔIAm =), which is the ratio of the current average current value (IAN) or (IAm) to the immediately preceding average current value (IAN + 1) or (IAm-1) IAm / IAm
-1) is calculated, and this current increase rate (ΔIAN) or (ΔIAm)
Is passed directly from the learning data delay shift register (83) through the learning value weighting update calculation unit (84) and sent as write data (DL) to the load sample data memory (71), and the address at which the data is recorded. Is the average current value (I
An) or (IAm) sample area data (Qn)
Alternatively, it is designated by the address number (n) or (m) of (Qm).

【0180】負荷サンプルデータメモリ(71)は、サンプ
リング領域演算部(70)からのアドレス番号(n)又は
(m)で指定されるサンプル領域(Qn)又は(Qm)の
記憶データをなす平均電流値(IAn)(IAm)を予測比
較値演算部(76)へ送り出すとともに、記憶用学習データ
演算部(75)へも送り出している。
The load sample data memory (71) is an average current forming the storage data of the sample area (Qn) or (Qm) designated by the address number (n) or (m) from the sampling area operation unit (70). The values (IAN, IAm) are sent to the predictive comparison value calculator (76) and also to the storage learning data calculator (75).

【0181】なお、以下の説明において、負荷サンプル
データメモリ(71)からの読み出しデータ、即ち記憶され
たデータを表記するには、本来ストアされている平均電
流値(I'An)をもって表すのではなく、アドレス指定
されたサンプリング領域(Qn)の方で表記し、演算等
は、そのサンプリング領域(Qn)のアドレス番号
(n)で指定されロケーションに記憶された平均電流値
(I'An)のデータ使用するものとする。また、記憶用
学習データ演算部の出力データも、サンプリング領域
(Qn)の形式で表記してある。
In the following description, in order to represent the read data from the load sample data memory (71), that is, the stored data, the average current value (I'An) originally stored is not used. Rather, it is expressed by the addressed sampling area (Qn), and the calculation etc. is performed by using the average current value (I'An) stored in the location specified by the address number (n) of the sampling area (Qn). Data shall be used. The output data of the learning data calculation unit for storage is also shown in the form of the sampling area (Qn).

【0182】負荷データ演算部(72)は、位置計数値
(N)を注目点とし、その点の電流値(IN)は、電流
値記憶レジスタ(74)の先頭にあり、かつ位置計数値
(N)は、アドレス番号(n)+1で、余り(b=1)
にある場合を想定し、図36において、今回の動作の位
置計数値(N)〜(N−3)がレジスタ(74)に保留さ
れ、その時点のレジスタ(74)の全てのデータは、サンプ
リング領域(Qn)のものに相当し、それらを加算平均
(総合計/加算数)したものが、平均電流値(IAn)で
ある。余り(b)は、レジスタ(74)の先頭値をシフトす
る役割をしている。なお、この余り(b)を注目点を移
すように働かせても同じである。
The load data calculation unit (72) uses the position count value (N) as a target point, and the current value (IN) at that point is at the beginning of the current value storage register (74) and the position count value (N N) is the address number (n) +1 and the remainder (b = 1)
36, the position count values (N) to (N-3) of the current operation are held in the register (74) in FIG. 36, and all the data in the register (74) at that time are sampled. The average current value (IAn) corresponds to the area (Qn) and is obtained by adding and averaging them (total / addition number). The remainder (b) serves to shift the head value of the register (74). The same applies if the remainder (b) is used to shift the attention point.

【0183】負荷データ演算部(72)は、上記平均電流値
(IAn)を、図38に示す電流増加率演算部(81)と直前
データ保留レジスタ(82)とに、送り込んでいる。直前値
データ保留レジスタ(82)は、ドア(2)の閉移動方向に順
次現れるサンプリング領域(nは漸減する)における現
在注目するサンプリング領域(Qn)の直前のサンプリ
ング領域(Qn+1)の平均電流値(IAn+1)を、電流増
加率演算部(81)に送り込んでいる。
The load data calculation unit (72) sends the average current value (IAN) to the current increase rate calculation unit (81) and the immediately preceding data holding register (82) shown in FIG. The previous value data holding register (82) is an average of the sampling area (Qn + 1) immediately before the sampling area (Qn) of interest at present in the sampling areas (n gradually decreases) that sequentially appear in the closing movement direction of the door (2). The current value (IAN + 1) is sent to the current increase rate calculation unit (81).

【0184】電流増加率演算部(81)は、現在の平均電流
値(IAn)が直前の平均電流値(IAn+1)より大なると
き(IAn>IAn+1)、現在の平均電流値(IAn)と直前
の平均電流値(IAn+1)の比からなる、電流増加率(Δ
IAn=IAn/IAn+1)を求め、この電流増加率(ΔIA
n)は、学習データ遅延シフトレジスタ(83)に送られ
る。
When the current average current value (IAN) is larger than the previous average current value (IAN + 1) (IAN> IAn + 1), the current increase rate calculation unit (81) calculates the current average current value (IAN). IAn) and the immediately preceding average current value (IAN + 1), the current increase rate (Δ
Ian = IAN / IAN + 1) is calculated, and this current increase rate (ΔIA
n) is sent to the learning data delay shift register (83).

【0185】ただし、現在の平均電流値(IAn)が直前
の平均電流値(IAn+1)より小、もしくは等しいとき
(IAn≦IAn+1)は、電流増加率(ΔIAn)を1とす
る。学習データ遅延シフトレジスタ(83)は、学習結果の
更新時期を若干遅らせるもので、遅延シフトレジスタ(8
3)の段数は任意で、実施例では7段として、学習値重み
付け更新演算部(84)に、7個前のサンプリング領域(Q
n+7)に係る電流増加率(ΔIAn+7)が送られる。
However, when the current average current value (IAN) is smaller than or equal to the immediately preceding average current value (IAN + 1) (IAN ≦ IAn + 1), the current increase rate (ΔIAN) is set to 1. The learning data delay shift register (83) slightly delays the update timing of the learning result.
The number of stages of 3) is arbitrary, and in the embodiment, the number of stages is set to 7, and the learning value weighting update calculation unit (84) is set to the sampling region (Q
The current increase rate (ΔIAN + 7) for n + 7) is sent.

【0186】上記説明において、アドレス番号(n)
は、ドア(2)が閉じられる方に付設した番号なので、ド
アが閉じるときには減計数するため、ドア(2)の移動中
で1つ前のアドレス番号は、(n+1)となる。また、
アドレス番号(m)は、開く方に付設したので、ドア移
動中のアドレス番号(m)の直前は(m−1)である。
In the above description, the address number (n)
Is a number attached to the side where the door (2) is closed. Therefore, since the number is decremented when the door (2) is closed, the previous address number during the movement of the door (2) is (n + 1). Also,
Since the address number (m) is attached to the opening side, it is (m-1) immediately before the address number (m) during the movement of the door.

【0187】学習値重み付け更新演算部(84)には、現在
のサンプリング領域(Qn+7)係る電流増加率(ΔIAn+
7)と、それと同じアドレス(n+7)でアドレス指定
される負荷サンプルデータメモリ(71)の読み出しデータ
(Qn+7)とが、アドレスを一致させて入力している
(以下の説明において、一般的なアドレス(n)で説明
する)。
The learning value weighting update calculation section (84) supplies the current increase rate (ΔIAN +) for the current sampling area (Qn + 7).
7) and the read data (Qn + 7) of the load sample data memory (71) addressed by the same address (n + 7) as the input address (in the following description, the general Address (n).

【0188】学習値重み付け更新演算部(84)は、同一サ
ンプリング領域(Qn)について、予め記憶されている
前回ドア駆動時の電流増加率(Q'n)=(ΔI'An)
に、今回得た最新の電流増加率(ΔIAn)を考慮して、
次式に基づいて記憶データを学習更新させる。 Q'n={(3×Q'n)+ΔIAn}÷4
The learning value weighted update calculation unit (84) stores, in the same sampling area (Qn), a current increase rate (Q'n) = (ΔI'An) previously stored at the time of the previous door drive.
In addition, considering the latest current increase rate (ΔIAN) obtained this time,
The stored data is learned and updated based on the following equation. Q'n = {(3 × Q'n) + ΔIAN} / 4

【0189】上記の式は、25%学習時のもので、新旧
のデータの割合は、適宜変更できる。新たに求められた
上式の記憶データ(電流増加率)(Q'n)は、負荷サン
プルデータメモリ(71)の書き込みデータ(DL)に送ら
れて、記憶データが学習更新される。
The above equation is for 25% learning, and the ratio of old and new data can be changed appropriately. The newly obtained storage data (current increase rate) (Q'n) in the above equation is sent to the write data (DL) of the load sample data memory (71), and the storage data is learned and updated.

【0190】図37の予測比較値演算部(76)は、現在の
サンプリング領域(Qn)のアドレス番号(n)に対応
した学習値(Q'n)よりも、ドア(2)の移動方向で4つ
先方のサンプリング領域(Qn-4)の挟み込み判別に所
要される比較値を求める。
The predictive comparison value computing unit (76) in FIG. 37 is closer to the moving direction of the door (2) than the learning value (Q'n) corresponding to the address number (n) of the current sampling area (Qn). A comparison value required to determine whether the four sampling areas (Qn-4) ahead are sandwiched is obtained.

【0191】予測値レジスタ(77)には、現在ドア(2)の
あるサンプリング領域(Qn)内で、最初の電流値(I
N)を計測した時点から、メインルーチンのループイン
ターバルで、現在までの各測定電流値を、電流計測部(7
3)において加算平均した、サンプル領域内平均電流値
(IAn)の最新のものが保留されている。
The predicted value register (77) stores the first current value (I) in the sampling area (Qn) where the door (2) is present.
N) from the time of measurement, at the loop interval of the main routine, each measured current value up to the present
The latest average current value (IAN) in the sample area, which is averaged in 3), is reserved.

【0192】閾値計算部(78)と比較値算出部(79)には、
最新の電流値(IN)を得ているサンプリング領域(Q
n)のアドレス番号(n)よりも、4つ後(n−4)の
サンプリング領域(Qn-4)の記憶データ(電流増加率
(I'An-4))を、負荷サンプルデータメモリ(71)から
読み出して与えられている。
In the threshold value calculation unit (78) and the comparison value calculation unit (79),
Sampling area (Q that obtains the latest current value (IN))
The storage data (current increase rate (I'An-4)) in the sampling area (Qn-4) four (n-4) after the address number (n) in (n) is stored in the load sample data memory (71 ) Read and given.

【0193】閾値計算部(78)においては、最新の制御領
域内平均電流値(IAn)と、4つ後(n−4)のサンプ
リング領域(Q'n-4)記憶データとから、次式によって
弁別の許容幅を決める閾値(Fn-4)を計算する。 Fn-4=(IAn-4×Q'n-4)×α 一般式で表すと Fn=(IAn×Q'n)×α(ただし
αは補正計数である。)
In the threshold value calculation unit (78), the following equation is calculated from the latest average current value (IAN) in the control area and the sampling area (Q'n-4) storage data four (n-4) after. The threshold value (Fn-4) that determines the allowable width of discrimination is calculated by. Fn-4 = (IAN-4 × Q'n-4) × α When expressed by a general formula, Fn = (IAN × Q′n) × α (where α is a corrected count).

【0194】比較値算出部(79)においては、これから出
現するサンプリング領域(Qn-4)の平均電流値(IAn-
4)と比較する比較値(Cn-4)が次式によって計算され
る。 Cn-4=(IAn-4×Q'n-4)+Fn-4 一般式で表すと Cn=(IAn×Q'n)+Fn 比較値算出部(79)によて求められた比較値(Cn-4)
は、4段の予測比較値遅延レジスタ(80)を通過すること
により、現在所要されるサンプリング領域(Qn)のア
ドレス番号(n)対応のものと合致する。
In the comparison value calculation unit (79), the average current value (IAN-
The comparison value (Cn-4) to be compared with 4) is calculated by the following formula. Cn-4 = (IAN-4 * Q'n-4) + Fn-4 When expressed by the general formula, Cn = (IAN * Q'n) + Fn The comparison value (Cn calculated by the comparison value calculation unit (79) -Four)
Passes through the 4-stage predictive comparison value delay register (80), thereby matching with the address number (n) of the currently required sampling area (Qn).

【0195】上記初速比較値演算部(76)において、最初
の比較値生成時は、その比較値を予測比較値遅延レジス
タ(80)の前段に入れ、それを4回繰り返し、4つ先の比
較値まで求める。4つ後(n−4)のサンプリング領域
(Q'n-4)記憶データが、増加認識最低値以下の場合
は、比較値(4つ先)は0にセットし直す。
In the initial speed comparison value calculation unit (76), when the first comparison value is generated, the comparison value is put in the preceding stage of the prediction comparison value delay register (80), and it is repeated four times, and four comparisons ahead. Calculate up to the value. If the data stored in the sampling area (Q'n-4) four times after (n-4) is less than the increase recognition minimum value, the comparison value (four ahead) is reset to 0.

【0196】図39は、図33におけるステップ(37
4)、及び図34のステップ(388)の学習判定ルーチンを
詳細に示すものである。この学習判定ルーチンの目的と
する機能は、各エリアの制御領域毎の電流値の積分処理
をし、挟み込み検出は毎回行う。また、制御領域が移り
変わると学習処理を行うようにする。
FIG. 39 shows steps (37) in FIG.
4) and the learning determination routine of step (388) of FIG. 34 are shown in detail. The objective function of this learning determination routine is to integrate the current value for each control area of each area, and to perform the entrapment detection every time. Also, the learning process is performed when the control area changes.

【0197】最初の処理は、サンプリング領域のアドレ
ス(n)(m)の算出、分解能(B)計数の算出を行
う。その後制御領域の区切りが良くなると、学習可能状
態になる。学習可能状態の後は、毎回電流値を加算、加
算回数をインクリメントし、制御領域毎の平均値の算出
準備をする。学習挟み込み判定処理は、毎回行う。周期
バッファーカウントに前回からのパルス数が入力させて
いるので、前回までの分解のバッファーと加算し、エリ
ア毎に分解能値以上の場合(領域変化をした事にな
る)、学習処理、比較値の算出を行う
In the first process, the addresses (n) and (m) of the sampling area and the resolution (B) count are calculated. After that, when the division of the control area becomes better, the learning state becomes possible. After the learning enabled state, the current value is added every time, the number of times of addition is incremented, and preparation for calculating the average value for each control region is performed. The learning entrapment determination process is performed every time. Since the number of pulses from the previous time is input to the cycle buffer count, it is added to the decomposition buffer up to the previous time, and when the resolution value is greater than or equal to each area (meaning that the area has changed), the learning processing and comparison value Calculate

【0198】図40は、図33におけるステップ(37
8)、及び図39のステップ(397)のエラー判定ルーチン
を詳細に示すものである。ステップ(424)で現在の電流
値(IN)と比較値(Cn)を比較して、電流値(IN)
が大なる回数をステップ(425)でエラー回数として計数
する。ステップ(424)で電流値(IN)が比較値(Cn)
より等しいか小になると、エラー回数をクリアする。す
なわち、連続して電流値(IN)が大なる回数とエラー
回数は計数している。
FIG. 40 shows steps (37) in FIG.
8) and the error judgment routine of step (397) of FIG. 39 are shown in detail. In step (424), the current value (IN) is compared with the comparison value (Cn) to obtain the current value (IN).
Is counted as the number of errors in step (425). In step (424), the current value (IN) is compared value (Cn)
If it is less than or equal to, the error count is cleared. That is, the number of times the current value (IN) becomes large and the number of errors are continuously counted.

【0199】図41は、図33におけるステップ(379)
の学習重み付けルーチンを詳細に示すものである。この
学習判定重み付けルーチンの目的とす機能は、現在の制
御領域が増加傾向の場合、エリア毎に分解能が違うた
め、異常を示すカウントの重み付けをして、本当に異常
なのかを判断する。異常と判断した場合と現在の制御領
域が増加傾向でない場合は、挟み込み検出を有効にする
ことを許可することにある。
FIG. 41 shows the step (379) in FIG.
The learning weighting routine is described in detail. The objective function of this learning determination weighting routine is to determine whether or not the abnormality is really abnormal by weighting the count indicating an abnormality because the resolution is different for each area when the current control area is increasing. When it is determined that there is an abnormality and when the current control area does not tend to increase, the entrapment detection is enabled.

【0200】現在の制御領域が増加傾向でない場合、挟
み込み検出を許可する。現在の制御領域が増加傾向の場
合、異常を示すカウント値が有りその値がエリア毎(分
解能毎)に設定された値以上の時は、異常と判定し挟み
込み検出を許可する。現在の制御領域が増加傾向で、異
常を示すカウントが設定値より小さい場合は、挟み込み
検出を不許可とし、挟み込み検出を無効にする。
When the current control area is not increasing, the entrapment detection is permitted. When the current control area is increasing, there is a count value indicating an abnormality, and when the count value is greater than or equal to the value set for each area (for each resolution), it is determined to be abnormal, and trapping detection is permitted. When the current control area is increasing and the count indicating an abnormality is smaller than the set value, the entrapment detection is disabled and the entrapment detection is disabled.

【0201】図42は、図33におけるステップ(37
5)、及び図34におけるステップ(389)の継続&変化量
ルーチンを詳細に示すものである。この変化&上昇傾向
ルーチンは、電流値(IN)の変化量と上昇継続時間を
測定する。前回電流値(IN-1)≧今回電流値(IN)の
時でないときは、変化前電流値、継続回数は、初期化す
る。前回電流値(IN-1)<今回電流値(IN)の時は、
上昇継続回数を増計数する。前回電流値(IN-1)<今
回電流値(IN)の時は、変化前電流値がない場合、前
回電流値を変化前電流値として格納し、変化前電流値が
有る場合、今回電流値−変化前電流値より変化量を求め
る。
FIG. 42 shows steps (37) in FIG.
5) and the continuation & change amount routine of step (389) in FIG. 34 are shown in detail. This change & rising tendency routine measures the amount of change in the current value (IN) and the rising duration time. When the previous current value (IN-1) ≧ current current value (IN) is not satisfied, the current value before change and the number of continuations are initialized. When the previous current value (IN-1) <current current value (IN),
Increment the number of ascents. When the previous current value (IN-1) <current current value (IN), if there is no current value before change, the previous current value is stored as the current value before change, and if there is a current value before change, this current value − Obtain the amount of change from the current value before change.

【0202】図43は図33におけるステップ(376)、
及び図34のステップ(390)における総合判定ルーチン
の詳細を示すものである。この総合判定ルーチンは、学
習での判定、変化量、上昇継続時間の結果を全て加味し
た上で挟み込みの判定を下すことを目的としている。学
習判定で、挟み込み検出可能と判断していること。継続
時間が、設定値以上でかつ変化量も設定値以上の場合。
継続時間が、設定最大値以上の場合。変化量が、設定最
大値以上の場合。
FIG. 43 shows the step (376) in FIG.
And the details of the comprehensive judgment routine in step (390) of FIG. 34. The purpose of this comprehensive determination routine is to make a determination of entrapment after considering all the results of the determination in learning, the change amount, and the rising duration time. The learning judgment has determined that entrapment can be detected. When the duration is equal to or greater than the set value and the amount of change is equal to or greater than the set value.
When the duration is equal to or greater than the set maximum value. When the amount of change is greater than or equal to the set maximum value.

【0203】図44は、図10に示すステップ(119)の
坂道モードルーチンにおけるステップ(132)の坂道判定
ルーチンの詳細を示すものである。この坂道判定ルーチ
ンは、坂道判定をするための条件を整える。既に坂道判
定した場合には、ドア(2)が一旦全閉しない限り、2度
目は判定しない。エリア1で行う。作動が安定する時間
以降で行う。作動が、安定していること。初期時は、平
坦値の入力をする。
FIG. 44 shows details of the slope judging routine of step (132) in the slope mode routine of step (119) shown in FIG. This slope determination routine prepares conditions for making slope determination. If the slope has already been determined, the determination is not performed for the second time unless the door (2) is fully closed. Perform in Area 1. Perform after the time when operation becomes stable. The operation is stable. Initially, enter a flat value.

【0204】図45は、図10に示すステップ(131)、
及び図44のステップ(457)の平坦データ入力ルーチン
の詳細を示すものである。この平坦値データ入力ルーチ
ンは、坂道判定に使用する、基準値の入力(平坦基準
値)。目標速度に制御されているときに入力する。現電
流値を平坦電流値として、格納。駆動電圧を平坦駆動電
圧として格納。
FIG. 45 shows a step (131) shown in FIG.
And details of the flat data input routine of step (457) of FIG. 44. This flat value data input routine is for inputting a reference value (flat reference value) used for slope determination. Input when controlled to the target speed. Store the current value as a flat current value. Store the drive voltage as a flat drive voltage.

【0205】図46は、図10に示すステップ(132)、
及び図44におけるステップ(456)の坂道検査ルーチン
の詳細を示すものである。この坂道検査ルーチンは、車
体(1)の現在の状況を、以下の5に区別する。 急な登り坂=開作動時に駆動電圧が、とても低いとき 登り坂 =開作動時に駆動電圧が、低いとき。 平坦 =開作動時に駆動電圧が低くもなく、電流値
も大きくない時。 下り坂。 =開作動時に電流値が、大きい時。 急な下り坂=開作動時に電流値が、とても大きいとき。
FIG. 46 shows the step (132) shown in FIG.
And the details of the slope inspection routine of step (456) in FIG. 44. This slope inspection routine distinguishes the current situation of the vehicle body (1) into the following five. A steep climb = when the drive voltage is very low during opening operation Climb = a drive voltage when opening is low Flat = When the drive voltage is not low and the current value is not large during opening operation. downhill. = When the current value is large during opening operation. A steep downhill = When the current value is very large during opening operation.

【0206】ステップ(463)の駆動電圧算出は、以下の
ように機能する。PWM制御によりDUTYが、100
%で無い場合その時の駆動電圧を算出する。0.5Vを
1として(9V=18)駆動電圧を表す。 電圧アドレスの取り出し 電圧アドレス+18(9V)=バッテリー電圧 DUTY≠100%の場合 DUTY値÷250(100%)=駆動割り合い バッテリー電圧*駆動割合=駆動電圧 DUTY=100%の場合 バッテリー電圧=駆動電圧
The drive voltage calculation of step (463) functions as follows. DUTY is 100 by PWM control
If it is not%, the drive voltage at that time is calculated. The drive voltage is represented by setting 0.5 V to 1 (9 V = 18). Extraction of voltage address +18 (9V) = battery voltage DUTY ≠ 100% DUTY value ÷ 250 (100%) = drive ratio Battery voltage * drive ratio = drive voltage DUTY = 100% battery voltage = drive voltage

【0207】[0207]

【発明の効果】本発明によると、次のような効果を奏す
ることができる。 (a) スライドドアの駆動に係るモータ負荷データを、
ドアの位置に応じて記憶させてありるため、挟み込みを
生じた時のドアの位置のモータ負荷データが既知でのも
のであり、予め既知のモータ負荷データを先読みして、
既知データの変動を予測し判定しているため、柔らかな
弾力のあるものの挟み込みでも、少ないドアの移動距離
で速やかにその挟み込みを検知することができ、スライ
ドドアを安全に運用できる(請求項1)。
According to the present invention, the following effects can be obtained. (a) The motor load data for driving the sliding door is
Since it is stored according to the position of the door, the motor load data of the door position when the pinch occurs is known, and pre-reading the known motor load data in advance,
Since the variation of the known data is predicted and determined, even if the object is soft and elastic, it is possible to quickly detect the entrapment with a small moving distance of the door and safely operate the sliding door (claim 1 ).

【0208】(b) 請求項2記載の発明によれば、ドア
の開閉負荷抵抗に敏感に感応するモータの電流値を、間
欠的に検出しているため、挟み込み現象を、少ないドア
の移動距離によって素早く検知し、ドアの停止もしくは
反転駆動を速やかに行わせるので安全である。
(B) According to the second aspect of the invention, the current value of the motor sensitive to the opening / closing load resistance of the door is intermittently detected, so that the trapping phenomenon is reduced and the moving distance of the door is reduced. It is safe because it can be detected quickly and the door can be stopped or inverted in a short time.

【0209】(c) 請求項3記載の発明によれば、モー
タの負荷データを検出するサンプリング領域内で、複数
回のモータ電流値を間欠的に計測した平均電流値をもっ
て、該サンプリング領域のモータ負荷データとしている
ため、モータ負荷の増減が平均電流値に正確に反映され
るので、少ないサンプリング領域の通過結果でも、正し
い挟み込みの状況が反映され、速やかな挟み込みの判定
ができ安全である。
(C) According to the invention described in claim 3, in the sampling area for detecting the load data of the motor, the average current value obtained by intermittently measuring the motor current value a plurality of times is used as the motor in the sampling area. Since the load data is used, the increase / decrease of the motor load is accurately reflected in the average current value, so that the correct entrapment status is reflected even in the result of passing through a small sampling area, and it is possible to quickly determine entrapment and it is safe.

【0210】(d) 請求項4記載の発明によれば、モー
タ負荷対応データを、進行方向に隣接するサンプリング
領域間の平均電流の増加率で記憶しているので、ドアの
移動に係る負荷データは、負荷の増加傾向、もしくは減
少傾向として読み出され、それを先読みで、予測するこ
とにより、挟み込みの判定が速やかに正確にできるの
で、挟み込みを生じてから最小限のドアの進行で、挟み
込みを回避するドアの停止または反転等の処置が速やか
にとれ、スライドドアを安全に運転する。
(D) According to the invention described in claim 4, since the motor load correspondence data is stored at the rate of increase of the average current between the sampling areas adjacent in the traveling direction, the load data relating to the movement of the door is stored. Is read as an increase tendency or a decrease tendency of the load, and by predicting it in advance, it is possible to quickly and accurately determine the jamming, so the jamming can be performed with the minimum door movement after the jamming occurs. Measures such as stopping or reversing the door to avoid the above can be promptly taken, and the sliding door can be safely operated.

【0211】(e) 請求項5記載の発明によれば、進行
方向に隣接するサンプリング領域間の平均電流の増加率
がなだらかに変化すると記憶されているサンプリング領
域においては、ドアの移動に際して検出されたモータ負
荷対応データのモータ電流が、記憶されているものより
過大の増加傾向を示すとき、速やかに挟み込み有りを判
定できるので、挟み込みを生じてから一層短い移動距
離、並びに短時間で、挟み込みの回避動作に移ることが
でき、安全である。
(E) According to the invention described in claim 5, in the sampling area in which it is stored that the rate of increase of the average current between the sampling areas adjacent to each other in the traveling direction changes, it is detected when the door is moved. When the motor current of the motor load correspondence data shows an excessive increase tendency than the stored one, it is possible to quickly determine the presence of entrapment, so that the entrapment can be performed in a shorter moving distance and a shorter time after entrapment occurs. It is safe to move to the avoidance action.

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

【図1】本発明を適用した自動車の外観斜視図である。FIG. 1 is an external perspective view of an automobile to which the present invention is applied.

【図2】スライドドアを取り外した状態の図1の拡大図
である。
FIG. 2 is an enlarged view of FIG. 1 with a slide door removed.

【図3】スライドドアのみを示す斜視図である。FIG. 3 is a perspective view showing only a sliding door.

【図4】スライドドアの部分を車内側から視た要部の斜
視図である。
FIG. 4 is a perspective view of a main part of the sliding door as viewed from the inside of the vehicle.

【図5】ドア駆動装置の一部を切欠いて示す斜視図であ
る。
FIG. 5 is a perspective view showing a door drive device by cutting away a part thereof.

【図6】ドア駆動装置の斜視図である。FIG. 6 is a perspective view of a door driving device.

【図7】スライドドア自動制御装置の機構を概略示す示
すブロック図である。
FIG. 7 is a block diagram schematically showing a mechanism of a slide door automatic control device.

【図8】スライドドア自動制御装置(23)を具体的に示す
ブロック図である。
FIG. 8 is a block diagram specifically showing a slide door automatic control device (23).

【図9】本発明に係るスライドドア自動制御装置のメイ
ンフローチャートであ。
FIG. 9 is a main flowchart of the slide door automatic control device according to the present invention.

【図10】モード判定と、オートスライドモードを詳細
に示すフローチャートである。
FIG. 10 is a flowchart showing details of mode determination and automatic slide mode.

【図11】パルス割り込みルーチンによって実行され
る、ドアの移動速度の計数に係るタイムチャートであ
る。
FIG. 11 is a time chart relating to counting the moving speed of a door, which is executed by a pulse interruption routine.

【図12】位置計数パルス各エリアにおいて分解能に応
じてサンプリングされるサンプリング点のタイムチャー
トである。
FIG. 12 is a time chart of sampling points sampled according to resolution in each area of the position counting pulse.

【図13】ドアの開閉位置と位置計数値の関係、及びド
アの開度に応じたドアのある各エリアを示すタイムチャ
ートである。
FIG. 13 is a time chart showing the relationship between the open / closed position of the door and the position count value, and each area with the door according to the opening degree of the door.

【図14】パルス割りみルーチンの詳細を示フローチャ
ートである。
FIG. 14 is a flowchart showing details of a pulse dividing routine.

【図15】パルスカウントタイマールーチンの詳細を示
フローチャートである。
FIG. 15 is a flowchart showing details of a pulse count timer routine.

【図16】エリア1〜エリア7の所に要求される制御の
特徴で分けた制御領域、及びその制御領域対応して定め
られた、移動速度、並びにその制御領域所用される、サ
ンプリング領域の分解能等を示すメモリーテーブルであ
る。
FIG. 16 is a control area divided by the characteristics of control required in areas 1 to 7, and the moving speed determined corresponding to the control area and the resolution of the sampling area used for the control area. It is a memory table which shows etc.

【図17】オートスライドモード判定ルーチンの詳細を
示フローチャートである。
FIG. 17 is a flowchart showing details of an automatic slide mode determination routine.

【図18】図17における手動判定ルーチンの詳細を示
フローチャートである。
FIG. 18 is a flowchart showing details of a manual determination routine in FIG.

【図19】図10におけるオート開作動ルーチンの詳細
を示すものである。
FIG. 19 shows the details of the automatic opening operation routine in FIG.

【図20】図10におけるオート閉作動ルーチンの詳細
を示すものである。
20 shows the details of the automatic closing operation routine in FIG.

【図21】図10におけるマニュアル閉作動ルーチンの
詳細を示すものである。
FIG. 21 shows the details of the manual closing operation routine in FIG.

【図22】図10におけるの逆転開作動ルーチンの詳細
を示すものである。
22 shows details of the reverse rotation opening operation routine in FIG.

【図23】図10におけるの逆転閉作動ルーチンの詳細
を示すものである。
FIG. 23 shows the details of the reverse rotation close operation routine in FIG.

【図24】図10における目標位置算出ルーチンの詳細
を示すものである。
FIG. 24 shows the details of the target position calculation routine in FIG.

【図25】図10における全開制御ルーチンの詳細を示
すも
FIG. 25 shows the details of the full-open control routine in FIG.

【図26】図10におけるスタートモードルーチンの詳
細を示すものである。
FIG. 26 shows the details of the start mode routine in FIG.

【図27】図10における手動スタートモードルーチン
の詳細を示すものであ
27 shows details of the manual start mode routine in FIG.

【図28】図10における速度制御部の主要部を示すフ
ローチャートである。
28 is a flowchart showing a main part of the speed control unit in FIG.

【図29】速度制御に係る機能をブロック図で示したも
のである。
FIG. 29 is a block diagram showing functions relating to speed control.

【図30】バッテリー電圧とデューテイに係る計算式を
示すグラフである。
FIG. 30 is a graph showing a formula for calculating battery voltage and duty.

【図31】図28に示すPWM制御の詳細を示すもので
ある。
FIG. 31 shows details of the PWM control shown in FIG. 28.

【図32】図28に示すフィードバック調整ルーチンの
詳細を示すものであ
FIG. 32 shows the details of the feedback adjustment routine shown in FIG. 28.

【図33】図10に示す挟み込み判定の主たるフローを
示すものである。
FIG. 33 shows a main flow of the entrapment determination shown in FIG.

【図34】図33に示す挟み込み判定の詳細を示すもの
である。
34 shows details of the entrapment determination shown in FIG. 33.

【図35】挟み込み判定の機能をブロック図で示すもの
である。
FIG. 35 is a block diagram showing a function of jamming determination.

【図36】注目するサンプリング領域の各データを示す
グラフである。
FIG. 36 is a graph showing each data in a sampling area of interest.

【図37】図35の予測判別値演算部の詳細なブロック
図である。
37 is a detailed block diagram of the prediction discriminant value calculation unit in FIG. 35.

【図38】図35の記憶用学習演算部の詳細なブロック
ずである。
FIG. 38 is a detailed block diagram of the memory learning calculation unit in FIG. 35.

【図39】図33に示す学習判定ルーチンを詳細に示す
ものである。
FIG. 39 shows the learning determination routine shown in FIG. 33 in detail.

【図40】図33に示すエラー判定ルーチンを詳細に示
すものである。
FIG. 40 shows the error determination routine shown in FIG. 33 in detail.

【図41】図33に示す学習重み付けルーチンを詳細に
示すものである。
FIG. 41 shows the learning weighting routine shown in FIG. 33 in detail.

【図42】図33に示す継続&変化量ルーチンを詳細に
示すものである。
FIG. 42 shows the continuation & change amount routine shown in FIG. 33 in detail.

【図43】図33に示す総合判定ルーチンを詳細に示す
ものである。
FIG. 43 shows the comprehensive determination routine shown in FIG. 33 in detail.

【図44】図10坂道判定ルーチンを詳細に示すもので
ある。
FIG. 44 shows the slope determination routine in FIG. 10 in detail.

【図45】図44に示す平坦データ入力ルーチンを詳細
に示すものである。
FIG. 45 shows the flat data input routine shown in FIG. 44 in detail.

【図46】図44に示す坂道検査ルーチンを詳細に示す
ものである。
FIG. 46 shows the slope inspection routine shown in FIG. 44 in detail.

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

(1)車体 (2)ドア (3)ドア開口 (4)アッパートラック (5)ロアトラック (6)摺動連結具 (7)ガイドトラック (8)ドアロック (9)ストライカ (10)ドア駆動装置 (11)モータ駆動部 (12)ドア駆動ケーブル部材 (12a)閉扉用ケーブル (12b)開扉用ケーブル (13)ベースプレート (14)モータ (15)ドライブプーリ (16)電磁クラッチ (17)減速部 (18)ロータリーエンコーダ (19)案内プーリ (7a)開口部 (7b)案内部 (20)反転プーリ (21)移動部材 (22)ヒンジアーム (23)スライドドア自動制御装置 (24)バッテリー (25)イグニッションSW (26)パーキングSW (27)メインSW (28)ドア開、閉SW (29)リモコンドア開、閉SW (30)ワイヤレスリモコン (31)キーレスシステム (32)ブザー (33)車体側コネクタ (34)ドア側コネクタ (35)アクチュエータ (36)ハーフラッチSW (37)ドアハンドル (37a)ドアハンドルSW (38)パルス信号発生部 (39)出力ポート (40)発電機 (41)安定化電源 (42)速度選出部 (43)位置検出部 (44)モータ切り替えSW (45)極性反転SW回路 (46)電力SW素子 (47)電圧検出部 (48)A/D変換部 (49)シャント抵抗 (50)電流検出部 (51)A/D変換部 (52)クラッチ駆動回路 (53)アクチュエータ駆動回路 (54)制御モード変換部 (55)メイン制御部 (56)オートスライド制御部 (57)速度制御部 (58)挟み込み制御部 (59)坂道判定部 (60)ドア位置検出部 (61)制御領域弁別部 (62)適正補正量選択部 (63)最大補正量制限部 (64)ドア移動速度検出部 (65)速すぎ検出部 (66)遅すぎ検出部 (65a)(66a)差計算部 (65b)(65c)(66b)(66c)一時保留部 (65d)(66d)修正量演算部 (67)フィードバック調整部 (68)電源電圧検出部 (69)デューテイ演算部 (70)サンプリング領域演算部 (71)サンプルデータメモリ (72)負荷データ演算部 (73)電流計測部 (74)シフトレジスタ (75)記憶用学習データ演算部 (76)上記予測比較値演算部 (77)予測値レジスタ (78)閾値計算部 (79)比較値計算部 (80)予測比較値遅延レジスタ (81)電流増加率演算部 (82)直前値データ保留レジスタ (83)学習データ遅延シフトレジスタ (84)更新演算部 (85)判定部 (86)前回電流値メモリ部 (87)変化量算出部 (88)電流増加回数計数部 (89)坂道検出部 (1) Vehicle body (2) Door (3) Door opening (4) Upper track (5) Lower track (6) Sliding connector (7) Guide track (8) Door lock (9) Striker (10) Door drive device (11) Motor drive part (12) Door drive cable member (12a) Door closing cable (12b) Door opening cable (13) Base plate (14) Motor (15) Drive pulley (16) Electromagnetic clutch (17) Reduction part ( 18) Rotary encoder (19) Guide pulley (7a) Opening (7b) Guide (20) Inverting pulley (21) Moving member (22) Hinge arm (23) Sliding door automatic control device (24) Battery (25) Ignition SW (26) Parking SW (27) Main SW (28) Door open / close SW (29) Remote control Door open / close SW (30) Wireless remote control (31) Keyless system (32) Buzzer (33) Body side connector (34 ) Door side connector (35) Actuator (36) Half latch SW (37) Door handle (37a) Door handle W (38) Pulse signal generator (39) Output port (40) Generator (41) Stabilized power supply (42) Speed selector (43) Position detector (44) Motor switching SW (45) Polarity reversing SW circuit ( 46) Power SW element (47) Voltage detector (48) A / D converter (49) Shunt resistor (50) Current detector (51) A / D converter (52) Clutch drive circuit (53) Actuator drive circuit (54) Control mode conversion unit (55) Main control unit (56) Auto slide control unit (57) Speed control unit (58) Entrapment control unit (59) Slope determination unit (60) Door position detection unit (61) Control area Discriminator (62) Appropriate correction amount selector (63) Maximum correction amount limiter (64) Door movement speed detector (65) Too fast detector (66) Too late detector (65a) (66a) Difference calculator ( 65b) (65c) (66b) (66c) Temporary holding section (65d) (66d) Correction amount calculation section (67) Feedback adjustment section (68) Power supply voltage detection section (69) Duty calculation section (70) Sampling area calculation section (71) Sample data memory (72) Load data Calculation unit (73) Current measurement unit (74) Shift register (75) Learning data calculation unit for storage (76) Prediction comparison value calculation unit (77) Prediction value register (78) Threshold calculation unit (79) Comparison value calculation unit (80) Predicted comparison value delay register (81) Current increase rate calculation unit (82) Previous value data hold register (83) Learning data delay shift register (84) Update calculation unit (85) Judgment unit (86) Previous current value memory Section (87) change amount calculation section (88) current increase number counting section (89) slope detection section

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 車体に設けたガイドトラックに沿って開
閉可能に支持されたスライドドアを、モータ駆動により
開閉移動させるようにした車両用スライドドアの開閉装
置において、 正逆転可能なモータを有するドア駆動部と、 該ドア駆動部のモータ負荷対応データを検出するモータ
負荷検出手段と、 ガイドトラックに案内されるドアの位置を、ドア全開か
ら全閉までの範囲で検出するドア位置検出手段と、 ドア位置検出手段の検出位置によってアドレス指定され
る所要サンプリング領域に、前記モータ負荷検出手段が
検出したモータ負荷対応データを関連させて、ドアの位
置に係るモータ負荷対応データを記憶する記憶手段と、 記憶されたモータ負荷対応データが、最新のサンプリン
グ領域のアドレスで読み出される毎に、最新に検出され
たモータ負荷対応データにより、読み出されたモータ負
荷対応データを適宜修正して、新たに記憶されるべきモ
ータ負荷対応データとして学習する、モータ負荷対応デ
ータ学習手段と、 ドアが実在するサンプリング領域よりも、ドアの移動方
向に適数領域分進んだサンプリング領域の記憶されたモ
ータ負荷対応データを読み出し、それとドアが実在する
サンプリング領域のモータ負荷対応データを所要に演算
して、ドアの移動方向について予測されるモータ負荷対
応データの予測値を求め、その予測値と実在するサンプ
リング領域のモータ負荷対応データの偏差から、挟み込
みの有無を判別する挟み込み判別手段と、を備えること
を特徴とする車両用スライドドアの自動開閉制御におけ
るドアの挟み込み検出装置。
1. An opening / closing apparatus for a sliding door for a vehicle, wherein a sliding door supported so as to be openable / closable along a guide track provided on a vehicle body is opened / closed by a motor drive, the door having a forward / reverse rotatable motor. A drive unit, a motor load detection unit that detects motor load correspondence data of the door drive unit, and a door position detection unit that detects the position of the door guided by the guide track in the range from the door fully open to the door fully closed; Storage means for associating the motor load correspondence data detected by the motor load detection means with a required sampling area addressed by the detection position of the door position detection means, and storing the motor load correspondence data for the door position; Every time the stored motor load correspondence data is read at the latest sampling area address, it is detected latest. Motor load correspondence data learning means for appropriately correcting the read motor load correspondence data with the motor load correspondence data and learning as motor load correspondence data to be newly stored, and a sampling area where the door actually exists. , The motor load correspondence data stored in the sampling area that has advanced a suitable number of areas in the door movement direction is read, and the motor load correspondence data in the sampling area where the door actually exists is calculated as necessary to predict the door movement direction. And a pinching determination unit that determines whether or not pinching has occurred, based on a deviation between the predicted value of the motor load corresponding data and the predicted value and the motor load corresponding data of the existing sampling region. Door pinch detection device for automatic door opening / closing control.
【請求項2】 モータ負荷対応データが、間欠的に検出
されたモータの電流値である請求項1記載の車両用スラ
イドドアの自動開閉制御におけるドアの挟み込み検出装
置。
2. The door pinch detection device in the automatic opening / closing control of a vehicle slide door according to claim 1, wherein the motor load correspondence data is an intermittently detected motor current value.
【請求項3】 モータ負荷対応データが、ドア位置対応
のアドレスをもつサンプリング領域内で間欠的に複数個
検出されたモータ電流の平均電流値である請求項1に記
載の車両用スライドドアの自動開閉制御におけるドアの
挟み込み検出装置。
3. The automatic vehicle door for automatic sliding door according to claim 1, wherein the motor load correspondence data is an average current value of motor currents intermittently detected in a plurality of sampling areas having addresses corresponding to door positions. Door entrapment detection device for opening and closing control.
【請求項4】 記憶されたモータ負荷対応データが、ド
アの移動方向に配列する各サンプリング領域で検出され
たモータの平均電流値による、直前検出のサンプリング
領域の平均電流値と今回検出のサンプリング領域の平均
電流値との増加率である請求項1〜3いずれかに記載の
車両用スライドドアの自動開閉制御におけるドアの挟み
込み検出装置。
4. The stored motor load corresponding data is the average current value of the sampling region of the immediately preceding detection and the sampling region of the present detection, which is based on the average current value of the motor detected in each sampling region arranged in the door moving direction. The trapping detection device for the door in the automatic opening / closing control of the vehicle slide door according to any one of claims 1 to 3, which is a rate of increase with respect to the average current value.
【請求項5】 挟み込み判別手段が、記憶されたモータ
負荷対応データを、隣接するサンプリング領域間のモー
タ平均電流の増加率とし、その増加率がなだらかに変化
しているサンプリング領域内であって、モータ負荷対応
データを検出する検出手段の検出電流が、記憶された電
流増加率よりも上昇傾向が大なる場合には、挟み込み有
りと判定する請求項4に記載の車両用スライドドアの自
動開閉制御におけるドアの挟み込み検出装置。
5. The entrapment determination means uses the stored motor load correspondence data as an increase rate of a motor average current between adjacent sampling areas, and the increase rate is in a sampling area in which the increase rate changes gently. The automatic opening / closing control of the vehicle slide door according to claim 4, wherein when the detected current of the detection means for detecting the motor load corresponding data has a larger tendency to increase than the stored current increase rate, it is determined that there is a pinch. Detection device for doors.
JP7340889A 1995-12-27 1995-12-27 Catching detector of door in automatic open-close control of sliding door for car Pending JPH09125823A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7340889A JPH09125823A (en) 1995-12-27 1995-12-27 Catching detector of door in automatic open-close control of sliding door for car

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7340889A JPH09125823A (en) 1995-12-27 1995-12-27 Catching detector of door in automatic open-close control of sliding door for car

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP07278583 Division 1995-10-02 1995-10-26

Publications (1)

Publication Number Publication Date
JPH09125823A true JPH09125823A (en) 1997-05-13

Family

ID=18341249

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7340889A Pending JPH09125823A (en) 1995-12-27 1995-12-27 Catching detector of door in automatic open-close control of sliding door for car

Country Status (1)

Country Link
JP (1) JPH09125823A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7218069B2 (en) 2004-12-28 2007-05-15 Mitsui Mining & Smelting Co., Ltd. Door opening/closing device
US7554234B2 (en) 2006-01-18 2009-06-30 Mitsui Mining & Smelting Co., Ltd. Motor with rotation suppression mechanism for movable body
JP2017150290A (en) * 2016-02-24 2017-08-31 湖西大学校 産学協力団 Open and close assistant force prospecting method and vehicular door controlling system utilizing the method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7218069B2 (en) 2004-12-28 2007-05-15 Mitsui Mining & Smelting Co., Ltd. Door opening/closing device
US7554234B2 (en) 2006-01-18 2009-06-30 Mitsui Mining & Smelting Co., Ltd. Motor with rotation suppression mechanism for movable body
JP2017150290A (en) * 2016-02-24 2017-08-31 湖西大学校 産学協力団 Open and close assistant force prospecting method and vehicular door controlling system utilizing the method

Similar Documents

Publication Publication Date Title
JP3465735B2 (en) Automatic opening and closing control of sliding doors for vehicles
JP3494540B2 (en) Temporary holding device for automatic drive type opening and closing body
JP3421201B2 (en) Opening / closing control device for vehicle sliding door
US6729071B1 (en) Device for automatically controlling opening and closing of a vehicle slide door
US5350986A (en) Vehicle power door speed control
US5396158A (en) Power vehicle door with reversal control
JP3656788B2 (en) Open / close control device for vehicle sliding door
JP4910498B2 (en) Control device for vehicle opening / closing body
US6134837A (en) Door holding control system for a vehicle slide door
JP3437039B2 (en) Opening / closing control device for vehicle sliding door
JPH06344773A (en) Vehicle door controller
JP2011236697A (en) Power assist door
JPH09125822A (en) Discrimination device of slope in automatic opening/ closing control of slide door for vehicle
JPH09125823A (en) Catching detector of door in automatic open-close control of sliding door for car
JPH11236783A (en) Opening/closing controller for sliding door of car
JPH09125820A (en) Door drive controller in automatic opening/closing control of slide door for vehicle
JPH09125818A (en) Open-close body speed controller in automatic open-close control of open-close body for car
JP3511347B2 (en) Automatic opening / closing control of sliding doors for vehicles
JPH09125821A (en) Door driving controller in automatic open-close control of sliding door for car
JP3753177B2 (en) Automatic opening / closing control device for vehicle sliding door
JP4482383B2 (en) Automatic switchgear for vehicles
JP3667740B2 (en) Automatic opening / closing control device for vehicle sliding door
JP3667739B2 (en) Automatic opening / closing control device for vehicle sliding door
JPH11166358A (en) Sliding door opening and closing device for automobile and vehicle stopping attitude determining method
JP3667738B2 (en) Automatic opening / closing control device for vehicle sliding door