JP2010033513A - Position control device - Google Patents

Position control device Download PDF

Info

Publication number
JP2010033513A
JP2010033513A JP2008197790A JP2008197790A JP2010033513A JP 2010033513 A JP2010033513 A JP 2010033513A JP 2008197790 A JP2008197790 A JP 2008197790A JP 2008197790 A JP2008197790 A JP 2008197790A JP 2010033513 A JP2010033513 A JP 2010033513A
Authority
JP
Japan
Prior art keywords
position information
detection area
lock
lock detection
movable member
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2008197790A
Other languages
Japanese (ja)
Other versions
JP5155055B2 (en
Inventor
Kohei Noda
耕平 野田
Kazuyuki Kashiwabara
和幸 柏原
Yoshikazu Kondo
良和 近藤
Mikito Yagyu
幹人 柳生
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.)
Toyota Motor Corp
Aisin Corp
Original Assignee
Aisin Seiki Co Ltd
Toyota Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aisin Seiki Co Ltd, Toyota Motor Corp filed Critical Aisin Seiki Co Ltd
Priority to JP2008197790A priority Critical patent/JP5155055B2/en
Publication of JP2010033513A publication Critical patent/JP2010033513A/en
Application granted granted Critical
Publication of JP5155055B2 publication Critical patent/JP5155055B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Direct Current Motors (AREA)
  • Control Of Position Or Direction (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a position control device, suitably correcting a difference between a position computed based on a ripple pulse and an actual position. <P>SOLUTION: The position control device 1 includes: a current position information computing part 77 for computing the current position information showing the current position of a movable member driven by a motor based on a ripple pulse; a lock position information storing part 78 storing the position information on the end part where the movable member is mechanically put in the lock state as lock position information; a lock detection area storing part 82 storing a lock detection area set at least on the movable range side with respect to the end part; and a stop position correcting control part 84, which inhibits the movable member from stopping in the lock detection area when the movable member starts to move from the lock detection area on the movable range side and directs toward the opposite side of the end part, and moves the movable member to the outside of the lock detection area. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、モータにより駆動される可動部材の位置制御を行う位置制御装置に関する。   The present invention relates to a position control device that performs position control of a movable member driven by a motor.

従来、車両等においては、乗員が所望するシート位置をメモリ等に記憶させることにより、その後、シート位置が変更された場合であっても、スイッチ操作一つで前記メモリに記憶されたシート位置に自動調整することが可能なシート位置制御装置が実用化されている。このシート位置の調整のためには、シート全体を前後に移動させるスライドモータや、シートバックの傾きを変更するリクライニングモータ等が備えられている。これらのモータをスイッチ操作により駆動させることにより、シート位置を好みの位置に調整することが可能である。このような、シート位置を調整するシート位置制御装置の中には、モータの回転位置を検出する回転センサを用いずに、シートを駆動するモータのモータ電流に含まれるリップル成分を、微分回路を用いたパルス生成回路を介してモータに同期したリップルパルスとして検出し、当該パルスに基づいてシートの位置制御を行うものがある(例えば、特許文献1及び2)。   Conventionally, in a vehicle or the like, the seat position desired by the occupant is stored in a memory or the like, so that even if the seat position is subsequently changed, the seat position stored in the memory can be stored with a single switch operation. A sheet position control device capable of automatic adjustment has been put into practical use. In order to adjust the seat position, a slide motor that moves the entire seat back and forth, a reclining motor that changes the inclination of the seat back, and the like are provided. By driving these motors by switch operation, the sheet position can be adjusted to a desired position. In such a sheet position control device that adjusts the sheet position, a differential circuit is used to detect a ripple component included in the motor current of the motor that drives the sheet without using a rotation sensor that detects the rotation position of the motor. Some of them are detected as ripple pulses synchronized with the motor via the used pulse generation circuit, and the sheet position is controlled based on the pulses (for example, Patent Documents 1 and 2).

モータの回転位置を検出する回転センサを用いずに、モータに同期したモータリップルパルスを用いてシート等の位置制御を行う場合、モータ作動中はリップルパルスが生成されるが、モータ出力停止後はリップルパルスが生成されないため、モータ出力停止後の惰性等による作動量を把握することができない。このため、特許文献1に記載の状態記憶装置は、モータ作動中の回転量からモータ出力停止後の作動量を推定し、位置情報を補正することで現在位置を把握している。この回転量を推定するために、状態記憶装置は、予め作動部位や電圧やパルス周期からなる補正量マップを記憶している。   When the position of a sheet or the like is controlled using a motor ripple pulse synchronized with the motor without using a rotation sensor that detects the rotational position of the motor, a ripple pulse is generated while the motor is operating. Since no ripple pulse is generated, the amount of operation due to inertia after stopping the motor output cannot be grasped. For this reason, the state storage device described in Patent Document 1 estimates the operation amount after the motor output is stopped from the rotation amount during operation of the motor, and grasps the current position by correcting the position information. In order to estimate the amount of rotation, the state storage device stores in advance a correction amount map made up of operating parts, voltages and pulse periods.

また、モータの回転位置を検出する回転センサを用いずに、モータに同期したモータリップルパルスを用いてシート等の位置制御を行う場合において、モータが極低速で回転(極低速回転)していると正確なリップルパルスを生成することができない。よって、特にモータ起動時から極低速回転となる場合には、モータの回転位置を検出できない場合がある。このため、特許文献2に記載のモータの制御装置は、モータ起動時の電流と定常時の電流とを用いることにより、モータ起動時の極低速回転の検出を行い、極低速回転を考慮したモータ制御を行っている。   In addition, when the position of a sheet or the like is controlled using a motor ripple pulse synchronized with the motor without using a rotation sensor that detects the rotational position of the motor, the motor rotates at an extremely low speed (very low speed rotation). And can not generate an accurate ripple pulse. Therefore, the rotation position of the motor may not be detected particularly when the rotation is extremely low since the motor is started. For this reason, the motor control device described in Patent Document 2 uses a current at the time of motor start-up and a current at the time of steady state to detect a very low speed rotation at the time of motor start-up, and takes into account the extremely low speed rotation Control is in progress.

特開2000−250629号公報JP 2000-250629 A 特開2002−325475号公報JP 2002-325475 A

特許文献1及び2に記載の技術においては、以下のような問題が生じることがある。車両用シートやサンルーフ等の製品で、メカ端点(可動範囲の端部)で更にメカ端点方向に作動させるように制御させた場合、即ちモータが極低速回転(モータロック)するような状況の場合に、モータの出力を停止させるとする。すると、車両用シートやサンルーフ等の位置を変更させるギヤ等のがたつきや経年変化や、車両用シートやサンルーフ等の位置を変更する部材(以下、変更部材)がメカ端点に当たった際の衝撃を吸収させるためにメカ端点に備えられる衝撃吸収部材のたわみ等により、作動方向とは逆に動くことがある。このような逆方向の移動量は、制御上の記憶位置のずれとなってしまう。   In the techniques described in Patent Documents 1 and 2, the following problems may occur. For products such as vehicle seats and sunroofs, when the mechanical end point (end of the movable range) is controlled to operate further in the direction of the mechanical end point, that is, when the motor rotates at a very low speed (motor lock) Suppose that the motor output is stopped. Then, when the gears that change the position of the vehicle seat, sunroof, or the like change over time, or the members that change the position of the vehicle seat, sunroof, etc. (hereinafter referred to as change members) hit the mechanical end points In some cases, the movement of the shock absorbing member provided at the mechanical end point to absorb the shock may move in the direction opposite to the operation direction. Such a movement amount in the reverse direction results in a shift in the storage position for control.

すなわち、変更部材が、がたつき量及び衝撃吸収部材の吸収量をメカ端点以上に押し込むと、制御部に電源供給がされている場合にはメカ端点以上の押し込み量を測定することはできるが、制御部に電源供給が絶たれると、その後に衝撃吸収部材のたわみ等により働く付勢力により移動する変更部材の移動量を検出することができない。このため、実際の変更部材の位置と、制御部が記憶する位置との間でずれが発生してしまう。このようなずれは、上述の現象が発生する毎に積み重なり、次第に大きくなっていく。したがって、予め記憶された位置に、車両用シートやサンルーフ等を戻そうとした場合でも、ユーザが所望する位置に対してずれが生じる可能性がある。   In other words, when the change member pushes the backlash amount and the absorption amount of the shock absorbing member beyond the mechanical end point, the push amount beyond the mechanical end point can be measured when power is supplied to the control unit. When the power supply to the control unit is cut off, it is not possible to detect the amount of movement of the changing member that is subsequently moved by the biasing force that is caused by the deflection of the shock absorbing member. For this reason, a shift | offset | difference will generate | occur | produce between the position of an actual change member, and the position which a control part memorize | stores. Such deviations accumulate and gradually increase each time the above phenomenon occurs. Therefore, even when an attempt is made to return the vehicle seat, sunroof, or the like to a position stored in advance, there is a possibility that a deviation from the position desired by the user may occur.

このような位置ずれの補正は、一定時間、リップルパルスが検出されない場合にロック検出を行い、ロック状態を検出した場合に可動部材の現在位置をロック検出位置に更新することにより行うことができる。しかしながら、エンジンの運転中においては、エンジンノイズに起因する擬似パルスをリップルパルスとして検出してしまい、ロック検出が行われない可能性がある。   Such misalignment correction can be performed by performing lock detection when a ripple pulse is not detected for a certain period of time, and updating the current position of the movable member to the lock detection position when a locked state is detected. However, during engine operation, a pseudo pulse due to engine noise is detected as a ripple pulse, and lock detection may not be performed.

更に、機構的ばらつきや検出ばらつきを考慮した場合には、機構的な端点であるメカ端点付近へばらつきを含めたエリアを設定し、当該エリア内からロック方向へ移動させないように制御することも考えられるが、ユーザが端点へ操作してロックを認識した後、逆方向へ操作して前記エリア内で停止した場合、再度ロック方向へ移動しないことに対して疑問に感じることとなる。   Furthermore, when considering mechanical variations and detection variations, an area including variations near the mechanical end point, which is the mechanical end point, may be set, and control may be performed so that the area is not moved in the locking direction. However, if the user operates to the end point to recognize the lock and then operates in the reverse direction to stop within the area, the user feels suspicious about not moving in the lock direction again.

本発明は、上記の問題に鑑みてなされたものであり、その目的は、リップルパルスに基づいて演算された位置と実際の位置との間でずれが発生した場合でも、当該ずれを適切に補正すると共に、ユーザに疑問を感じさせないように可動部材の位置を制御することが可能な位置制御装置を提供することにある。   The present invention has been made in view of the above problems, and its purpose is to appropriately correct the deviation even when a deviation occurs between the position calculated based on the ripple pulse and the actual position. In addition, an object of the present invention is to provide a position control device capable of controlling the position of a movable member so as not to make the user feel doubts.

上記目的を達成するための本発明に係る位置制御装置の特徴構成は、モータにより駆動される可動部材が機械的にロック状態となる両端部のロック位置に対して、可動範囲の側に設定されたロック検出エリア内から前記ロック位置方向への移動が規制されるため、モータにより駆動される可動部材の現在位置を示す現在位置情報を、前記モータに通電されるモータ電流に応じたリップルパルスに基づいて演算する現在位置情報演算部と、前記可動部材が機械的にロック状態となる端部の位置情報をロック位置情報として記憶しているロック位置情報記憶部と、前記端部に対して、少なくとも可動範囲の側に設定されたロック検出エリアを記憶するロック検出エリア記憶部と、前記可動部材が、前記可動範囲の側のロック検出エリアから動き始めて前記端部の反対側へ向かう場合に、前記可動部材が前記ロック検出エリア内で停止することを禁止し、前記可動部材を前記ロック検出エリア外まで移動させる停止位置補正制御部と、を備える点にある。   In order to achieve the above object, the position control device according to the present invention is characterized in that the movable member driven by the motor is set on the movable range side with respect to the lock positions at both ends where the movable member is mechanically locked. Therefore, the current position information indicating the current position of the movable member driven by the motor is converted into a ripple pulse corresponding to the motor current supplied to the motor. A current position information calculation unit that calculates based on a lock position information storage unit that stores, as lock position information, position information of an end portion where the movable member is mechanically locked; A lock detection area storage unit that stores at least a lock detection area set on the movable range side, and the movable member starts moving from the lock detection area on the movable range side. And a stop position correction control unit that prohibits the movable member from stopping in the lock detection area and moves the movable member to the outside of the lock detection area when moving toward the opposite side of the end portion. In the point.

このような特徴構成であれば、エンジンノイズに起因する擬似パルスをリップルパルスとして検出してしまった結果、可動部材の実際の位置と、リップルパルスに基づき演算された現在位置情報により示される位置との間で差が生じた場合であっても、可動部材をロック検出エリア外に移動させると共に、現在位置情報もロック検出エリアの境界に更新することにより、適切に現在位置情報を補正することができる。また、例えば、ロック検出エリア内の所定の位置を設定位置としてメモリに記憶させた状況において、当該記憶させた位置から改めて、可動部材を端部の方向へ移動させる場合に、記憶させた位置から端部方向へ移動できないといったことを防止できる。したがって、可動部材が移動できないことによりユーザが疑問に感じないようにすることができる。   With such a characteristic configuration, as a result of detecting a pseudo pulse due to engine noise as a ripple pulse, the actual position of the movable member and the position indicated by the current position information calculated based on the ripple pulse Even if there is a difference between the current position information, the movable member can be moved out of the lock detection area, and the current position information can be appropriately corrected by updating the current position information to the boundary of the lock detection area. it can. In addition, for example, in a situation where a predetermined position in the lock detection area is stored in the memory as a set position, when the movable member is moved in the direction of the end portion again from the stored position, from the stored position It can prevent that it cannot move to an edge part direction. Therefore, it is possible to prevent the user from feeling doubtful because the movable member cannot move.

また、上記目的を達成するための本発明に係る位置制御装置の他の特徴構成は、モータにより駆動される可動部材が機械的にロック状態となる両端部のロック位置に対して、可動範囲の側に設定されたロック検出エリア内から前記ロック位置方向への移動が規制されるため、モータにより駆動される可動部材の現在位置を示す現在位置情報を、前記モータに通電されるモータ電流に応じたリップルパルスに基づいて演算する現在位置情報演算部と、前記可動部材が機械的にロック状態となる端部の位置情報をロック位置情報として記憶しているロック位置情報記憶部と、前記端部に対して、少なくとも可動範囲の側に設定されたロック検出エリアを記憶するロック検出エリア記憶部と、前記可動部材の移動に応じて前記現在位置情報に示される現在位置が前記ロック検出エリア外から動き始め、前記可動範囲の側のロック検出エリアに進入した場合に、前記可動部材を前記ロック検出エリア内で停止させることを禁止させ、前記端部まで移動させる停止位置補正制御部と、を備える点にある。   Another feature of the position control device according to the present invention for achieving the above object is that the movable member driven by the motor has a movable range relative to the lock positions at both ends where the movable member is mechanically locked. Since movement in the lock position direction from within the lock detection area set on the side is restricted, current position information indicating the current position of the movable member driven by the motor is determined according to the motor current supplied to the motor. A current position information calculation unit that calculates based on the ripple pulse, a lock position information storage unit that stores position information of an end portion where the movable member is mechanically locked as lock position information, and the end portion On the other hand, a lock detection area storage unit that stores at least a lock detection area set on the movable range side, and the current position information according to the movement of the movable member. When the current position starts to move from outside the lock detection area and enters the lock detection area on the movable range side, the movable member is prohibited from stopping in the lock detection area and moved to the end. And a stop position correction control unit.

このような特徴構成であれば、エンジンノイズに起因する擬似パルスをリップルパルスとして検出してしまった結果、可動部材の実際の位置と、リップルパルスに基づき演算された現在位置情報により示される位置との間で差が生じた場合であっても、可動部材が機械的にロック状態となって停止している実際の位置に現在位置情報により示される位置を一致させることにより、適切に現在位置情報を補正することができる。また、例えば、ロック検出エリア内の所定の位置を設定位置としてメモリに記憶させた状況において、改めて、ロック検出エリア外からメモリ再生操作により可動部材を前記記憶させた位置に移動させて停止させた場合に、本位置制御装置は、可動部材を前記停止させた位置から端部まで移動させるため、停止した位置から端部方向へ移動できないといったことを防止できる。したがって、可動部材が移動できないことによりユーザが疑問に感じないようにすることができる。   With such a characteristic configuration, as a result of detecting a pseudo pulse due to engine noise as a ripple pulse, the actual position of the movable member and the position indicated by the current position information calculated based on the ripple pulse Even if there is a difference between the current position information, the position indicated by the current position information matches the actual position where the movable member is mechanically locked and stopped. Can be corrected. Further, for example, in a situation where a predetermined position in the lock detection area is stored in the memory as a set position, the movable member is moved to the stored position again by the memory reproduction operation from outside the lock detection area and stopped. In this case, since the position control device moves the movable member from the stopped position to the end portion, it is possible to prevent the movable member from moving from the stopped position toward the end portion. Therefore, it is possible to prevent the user from feeling doubtful because the movable member cannot move.

また、前記可動部材が前記停止位置補正制御部により前記端部まで移動させられた場合に、前記現在位置情報を前記ロック位置情報で更新する現在位置情報更新部を備えると好適である。   In addition, when the movable member is moved to the end by the stop position correction control unit, it is preferable to include a current position information update unit that updates the current position information with the lock position information.

このような構成とすれば、可動部材が停止位置補正制御部により端部まで移動させられた場合に、現在位置情報により示される現在位置がロック位置となるように更新されるため、適切に位置補正を行うことができる。   With such a configuration, when the movable member is moved to the end by the stop position correction control unit, the current position indicated by the current position information is updated so as to be the lock position. Correction can be performed.

また、例えば、前記可動部材の移動が前記ロック検出エリア外からユーザの手動スイッチ操作による手動移動であり、前記可動部材の停止が前記ロック状態での停止である場合に、好適に利用できる。   In addition, for example, it can be suitably used when the movement of the movable member is a manual movement by a user's manual switch operation from outside the lock detection area, and the stop of the movable member is a stop in the locked state.

或いは、例えば、前記可動部材の移動が前記ロック検出エリア外から予め設定された位置に自動で移動させる自動移動であり、前記可動部材が前記ロック状態になるまで移動される場合に、好適に利用できる。   Alternatively, for example, it is used when the movement of the movable member is an automatic movement that automatically moves from outside the lock detection area to a preset position, and is moved until the movable member is in the locked state. it can.

〔第一の実施形態〕
以下、本発明に係る位置制御装置1を車両のシート3のシート位置を変更するシート位置制御装置2に適用した場合の例として説明する。図1は、シート位置制御装置2の全体構成の概略図である。シート位置制御装置2は、マイクロコンピュータで構成される電子制御ユニット(以下「ECU」という)21を備えている。
[First embodiment]
Hereinafter, the position control device 1 according to the present invention will be described as an example of a case where the position control device 1 is applied to a seat position control device 2 that changes the seat position of a vehicle seat 3. FIG. 1 is a schematic diagram of the overall configuration of the sheet position control device 2. The seat position control device 2 includes an electronic control unit (hereinafter referred to as “ECU”) 21 formed of a microcomputer.

ECU21は、制御手段としての制御部22を備えている。当該制御部22には、本発明に係る位置制御装置1を構成する各機能部を有する(詳細は後述する)。また、制御部22は、ROM、RAM及びバックアップRAM等を備えて構成される(図示せず)。ROMは、各種制御プログラムや、これらのプログラムを実行する際に参照されるマップ等が記憶されたメモリである。制御部22は、ROMに記憶された各種制御プログラムやマップに基づいて演算処理を実行する。RAMは制御部22での演算結果や外部から入力されるデータ等を一時的に記憶するメモリに相当し、バックアップRAMは前記記憶されたデータ等を保存する不揮発性のメモリからなる。制御部22、ROM、RAM及びバックアップRAMは、夫々バス(図示せず)を介して互いに接続される。更に、これらは入力インターフェース23及び出力インターフェース(図示せず)と接続される。   The ECU 21 includes a control unit 22 as control means. The control unit 22 includes functional units that constitute the position control device 1 according to the present invention (details will be described later). The control unit 22 includes a ROM, a RAM, a backup RAM, and the like (not shown). The ROM is a memory that stores various control programs, maps that are referred to when these programs are executed, and the like. The control unit 22 executes arithmetic processing based on various control programs and maps stored in the ROM. The RAM corresponds to a memory that temporarily stores calculation results in the control unit 22, data input from the outside, and the like, and the backup RAM includes a nonvolatile memory that stores the stored data and the like. The control unit 22, the ROM, the RAM, and the backup RAM are connected to each other via a bus (not shown). Further, they are connected to an input interface 23 and an output interface (not shown).

制御部22には、ECU21の内部の電源回路24を介してバッテリー25が接続される。バッテリー25のプラス側端子は、イグニッションスイッチ26を介して入力インターフェース23に接続される。イグニッションスイッチ26をオンすると、電源回路24により安定化された一定の電圧(例えば5V)がECU21の各部に供給される。   A battery 25 is connected to the controller 22 via a power circuit 24 inside the ECU 21. A positive terminal of the battery 25 is connected to the input interface 23 via the ignition switch 26. When the ignition switch 26 is turned on, a constant voltage (for example, 5 V) stabilized by the power supply circuit 24 is supplied to each part of the ECU 21.

制御部22の入力インターフェース23には、シート各部の位置(シート状態)を調整するための操作スイッチ27が接続される。操作スイッチ27は、スライドスイッチ28a及び28bと、リクライニングスイッチ29a及び29bと、フロントバーチカルスイッチ30a及び30bと、リフタスイッチ31a及び31bとから構成される。   An operation switch 27 for adjusting the position (sheet state) of each part of the sheet is connected to the input interface 23 of the control unit 22. The operation switch 27 includes slide switches 28a and 28b, reclining switches 29a and 29b, front vertical switches 30a and 30b, and lifter switches 31a and 31b.

スライドスイッチ28a及び28bは、図2に示されるようなシート3の全体を白抜き矢印5に示されるように床面に取り付けられたレール4に沿って前又は後にスライドさせる操作スイッチである。リクライニングスイッチ29a及び29bは、シートクッション3aに支持されたシートバック3bを白抜き矢印6に示されるように前倒し又は後倒しさせる操作スイッチである。フロントバーチカルスイッチ30a及び30bは、シートクッション3aのユーザが座る前部を白抜き矢印7に示されるように垂直方向に上移動又は下移動させる操作スイッチである。リフタスイッチ31a及び31bは、ユーザが座るシートクッション3aの後部を白抜き矢印8に示されるように上移動又は下移動させるスイッチである。   The slide switches 28 a and 28 b are operation switches that slide the entire sheet 3 as shown in FIG. 2 forward or backward along the rail 4 attached to the floor as indicated by the white arrow 5. The reclining switches 29 a and 29 b are operation switches for moving the seat back 3 b supported by the seat cushion 3 a forward or backward as indicated by the white arrow 6. The front vertical switches 30 a and 30 b are operation switches that move the front part of the seat cushion 3 a where the user sits up or down in the vertical direction as indicated by the white arrow 7. The lifter switches 31 a and 31 b are switches that move the rear part of the seat cushion 3 a on which the user sits up or down as indicated by the white arrow 8.

図1に戻り、入力インターフェース23には、上記操作スイッチ27の他に、メモリ再生スイッチ32及び33と記憶スイッチ34とが接続される。メモリ再生スイッチ32及び33は、1つのシート3に対して2つのシート位置を記憶させるためのスイッチである。すなわち、シート位置制御装置2によれば、ユーザが所望する2種類のシート位置を記憶させることが可能である。操作スイッチ27の夫々を操作することにより、シート3の各部を所望のシート位置(シート状態)に調整することができる。この調整されたシート位置は、上述のバックアップRAMに記憶される。バックアップRAMにシート位置を記憶させる場合には、記憶させたいバックアップRAMに対応するメモリ再生スイッチ32及び33のいずれかを記憶スイッチ34と一緒に押下する。その後、記憶させたバックアップRAMに対応するメモリ再生スイッチ32及び33のいずれかを押すと、シート3の各部が自動的に記憶されたシート位置に移動される。   Returning to FIG. 1, in addition to the operation switch 27, memory playback switches 32 and 33 and a storage switch 34 are connected to the input interface 23. The memory reproduction switches 32 and 33 are switches for storing two sheet positions for one sheet 3. That is, according to the sheet position control device 2, it is possible to store two types of sheet positions desired by the user. By operating each of the operation switches 27, each part of the sheet 3 can be adjusted to a desired sheet position (sheet state). The adjusted sheet position is stored in the above-described backup RAM. When storing the sheet position in the backup RAM, one of the memory reproduction switches 32 and 33 corresponding to the backup RAM to be stored is pressed together with the storage switch 34. Thereafter, when any one of the memory reproduction switches 32 and 33 corresponding to the stored backup RAM is pressed, each part of the sheet 3 is automatically moved to the stored sheet position.

制御部22の出力インターフェースには、4つのモータ39〜42が夫々リレー43を介して接続されている。これらのモータ39〜42は、直流ブラシモータである。リレー43は、4つのモータ39〜42に夫々対応する4組のリレーからなり、各モータは対応する1組のリレーを介して出力インターフェースに接続される。各組のリレーは、一対のコイルと、一対の切替端子とからなる。そして、操作スイッチ27のいずれかが操作されると、操作されたスイッチに対応する組のコイルへの通電が制御部22により制御される。これにより、対応する組のリレーの切替端子が切り換えられ、モータ39〜42のうち対応する組のリレーに応じたモータが独立して正転駆動又は逆転駆動される。   Four motors 39 to 42 are connected to the output interface of the control unit 22 via relays 43, respectively. These motors 39 to 42 are DC brush motors. The relay 43 includes four sets of relays corresponding to the four motors 39 to 42, and each motor is connected to the output interface via a corresponding set of relays. Each set of relays includes a pair of coils and a pair of switching terminals. When any one of the operation switches 27 is operated, energization of the set of coils corresponding to the operated switch is controlled by the control unit 22. As a result, the switching terminals of the corresponding set of relays are switched, and the motors corresponding to the corresponding set of relays among the motors 39 to 42 are independently driven in the forward direction or the reverse direction.

したがって、スライドモータ39は、スライドスイッチ28a及び28bの操作により正転又は逆転して、シート3全体を前又は後にスライドさせる。リクライニングモータ40は、リクライニングスイッチ29a及び29bの操作により正転又は逆転して、シートバック3bを前倒し又は後倒しさせる。フロントバーチカルモータ41は、フロントバーチカルスイッチ30a及び30bの操作により正転又は逆転して、シートクッション3aの前部を上移動又は下移動させる。そして、リフタモータ42は、リフタスイッチ31a及び31bの操作により正転又は逆転して、シートクッションの3a後部を上移動又は下移動させる。   Accordingly, the slide motor 39 rotates forward or reverse by operating the slide switches 28a and 28b to slide the entire seat 3 forward or backward. The reclining motor 40 rotates forward or backward by operating the reclining switches 29a and 29b to move the seat back 3b forward or backward. The front vertical motor 41 rotates forward or reverse by operating the front vertical switches 30a and 30b to move the front portion of the seat cushion 3a up or down. The lifter motor 42 rotates forward or reverse by operating the lifter switches 31a and 31b to move the rear part 3a of the seat cushion upward or downward.

また、ECU21には、各モータ39〜42に流れるモータ電流に含まれるリップル成分をパルス化して、モータに同期したリップルパルスを出力するパルス検出手段としてのリップルパルス検出回路50と、モータ電流を増幅する増幅回路51とが設けられている。リップルパルス検出回路50は、バッテリー25からの電圧を、作動対象とされたモータのインピーダンスと抵抗52とにより分圧された電圧が、モータ回転信号として入力される。また、増幅回路51で増幅されたモータ電流は、ECU21に設けられたA/D変換器(図示せず)でA/D変換されて制御部22に読み込まれる。このようにして、制御部22は、各モータ39〜42のモータ電流を常時検出するようになっている。増幅回路51とA/D変換器とにより、モータに通電されるモータ電流を検出するモータ電流検出部71(後述する)が構成される。   In addition, the ECU 21 pulsates ripple components included in the motor currents flowing in the motors 39 to 42 and outputs a ripple pulse synchronized with the motors, and amplifies the motor current. An amplifying circuit 51 is provided. The ripple pulse detection circuit 50 receives a voltage obtained by dividing the voltage from the battery 25 by the impedance of the motor to be operated and the resistance 52 as a motor rotation signal. The motor current amplified by the amplifier circuit 51 is A / D converted by an A / D converter (not shown) provided in the ECU 21 and read into the control unit 22. Thus, the control part 22 always detects the motor current of each motor 39-42. The amplifier circuit 51 and the A / D converter constitute a motor current detection unit 71 (described later) that detects a motor current supplied to the motor.

リップルパルス検出回路50は、スイッチド・キャパシタ・フィルタSCF(図示せず)と、リップルパルス成形回路(図示せず)とを備えている。スイッチド・キャパシタ・フィルタSCFには、上述のモータ回転信号が入力される。スイッチド・キャパシタ・フィルタSCFは、モータ回転信号にリップル成分と共に重畳するノイズを所定の遮断周波数で除去する。   The ripple pulse detection circuit 50 includes a switched capacitor filter SCF (not shown) and a ripple pulse shaping circuit (not shown). The above-described motor rotation signal is input to the switched capacitor filter SCF. The switched capacitor filter SCF removes noise superimposed on the motor rotation signal together with the ripple component at a predetermined cutoff frequency.

また、リップルパルス成形回路は、ローパスフィルタLPF(高周波アクティブフィルタ)、第1微分回路DC1、増幅器AP、第2微分回路DC2、及び比較器CM等を備えている。   The ripple pulse shaping circuit includes a low-pass filter LPF (high frequency active filter), a first differentiation circuit DC1, an amplifier AP, a second differentiation circuit DC2, a comparator CM, and the like.

ローパスフィルタLPFは、スイッチド・キャパシタ・フィルタSCFの出力信号に含まれるノイズを除去する。このノイズが除去されたスイッチド・キャパシタ・フィルタSCFの出力信号を第1微分回路DC1で微分して直流成分の減衰を行い、リップル成分のみの信号が得られる。この信号を増幅器APで増幅した後、第2微分回路DC2に通すと、その信号に対して90°位相の遅れた信号が得られる。そして、増幅器APの出力信号と第2微分回路DC2の出力信号を比較器CMで比較することにより、上記各モータ39〜42の回転に同期し、その回転数(回転速度)に応じた周波数のリップルパルスが得られる。   The low-pass filter LPF removes noise included in the output signal of the switched capacitor filter SCF. The output signal of the switched capacitor filter SCF from which the noise has been removed is differentiated by the first differentiating circuit DC1 to attenuate the direct current component, thereby obtaining a signal having only a ripple component. When this signal is amplified by the amplifier AP and then passed through the second differentiating circuit DC2, a signal delayed by 90 ° from the signal is obtained. Then, by comparing the output signal of the amplifier AP and the output signal of the second differentiating circuit DC2 with the comparator CM, the frequency of the frequency corresponding to the rotational speed (rotational speed) is synchronized with the rotation of the motors 39 to 42. A ripple pulse is obtained.

このようにリップルパルス検出回路50により検出される、各モータ39〜42の回転に同期し、且つ、その回転数に応じた周波数のリップルパルスが、出力インターフェースを介して制御部22に伝達される。以上が、シート位置制御装置2の全体構成の概略である。   In this way, a ripple pulse having a frequency in accordance with the rotation number of the motors 39 to 42 detected by the ripple pulse detection circuit 50 is transmitted to the control unit 22 via the output interface. . The above is the outline of the overall configuration of the sheet position control device 2.

以下、このシート位置制御装置2に適用した本発明に係る位置制御装置1について説明する。図3は、本実施形態に係る位置制御装置1の概略構成を模式的に示したブロック図である。本位置制御装置1は、上述のようにシート3の絶対位置を検出する位置検出センサは備えられておらず、シート3の位置を変更するモータに通電されるモータ電流に応じたリップルパルスに基づいて相対位置を検出している。このため、エンジンノイズ等に起因する擬似パルスをリップルパルスとして誤検出することにより、実際のシート3の位置とリップルパルスに基づいて演算された位置との間で差が生じてしまう場合がある。本位置制御装置1は、このような誤差を補正する機能を備えている。また、詳細は後述するが、本位置制御装置1は、モータ39〜42により駆動されるシート3が機械的にロック状態となる両端部のロック位置に対して、可動範囲の側に設定されたロック検出エリア内からロック位置方向への移動を規制する機能を備えている。以下、本位置制御装置1が行う補正に関して説明する。   Hereinafter, the position control apparatus 1 according to the present invention applied to the seat position control apparatus 2 will be described. FIG. 3 is a block diagram schematically showing a schematic configuration of the position control device 1 according to the present embodiment. The position control device 1 is not provided with a position detection sensor for detecting the absolute position of the sheet 3 as described above, and is based on a ripple pulse corresponding to a motor current supplied to a motor that changes the position of the sheet 3. The relative position is detected. For this reason, there is a case where a difference occurs between the actual position of the sheet 3 and the position calculated based on the ripple pulse by erroneously detecting a pseudo pulse due to engine noise or the like as a ripple pulse. The position control device 1 has a function of correcting such an error. Although details will be described later, the position control device 1 is set on the movable range side with respect to the lock positions at both ends where the seat 3 driven by the motors 39 to 42 is mechanically locked. It has a function of restricting movement in the lock position direction from within the lock detection area. Hereinafter, the correction performed by the position control device 1 will be described.

位置制御装置1は、上述の制御部22を構成する機能ブロックに相当する。位置制御装置1は、運転状態判定部70、モータ電流検出部71、回転速度検出部72、ロック状態判定部73、現在位置情報更新判定部74、現在位置情報更新部75、移動開始位置情報記憶部76、現在位置情報演算部77、ロック位置情報記憶部78、ロック検出エリア記憶部82、停止位置補正制御部84から構成される。ここで、位置制御装置1は、CPUを中核部材としてシート位置の位置制御に関する種々の処理を行うための上述の機能部をハードウェア又はソフトウェア或いはその両方で構築されている。   The position control device 1 corresponds to a functional block that constitutes the control unit 22 described above. The position control device 1 includes an operation state determination unit 70, a motor current detection unit 71, a rotation speed detection unit 72, a lock state determination unit 73, a current position information update determination unit 74, a current position information update unit 75, and a movement start position information storage. Section 76, current position information calculation section 77, lock position information storage section 78, lock detection area storage section 82, and stop position correction control section 84. Here, in the position control device 1, the above-described functional unit for performing various processes related to the position control of the sheet position using the CPU as a core member is constructed by hardware and / or software.

モータ電流検出部71は、シート3の各部を調整する各モータ39〜42に通電されるモータ電流を検出する。モータ電流とは、各モータ39〜42を駆動するために通電される電流である。すなわち、モータ電流は、各モータ39〜42が有するロータに巻かれたコイルに流れるコイル電流に相当する。ここで、上述のように、モータ電流は、増幅回路51で増幅され、ECU21に設けられたA/D変換器(図示せず)でA/D変換されて制御部22に読み込まれる。このモータ電流がモータ電流検出部71に伝達され、モータ電流を検出することが可能となる。モータ電流検出部71により検出されたモータ電流は、後述の運転状態判定部70及びロック状態判定部73に伝達される。   The motor current detection unit 71 detects a motor current supplied to each motor 39 to 42 that adjusts each part of the seat 3. The motor current is a current that is energized to drive each of the motors 39 to 42. That is, the motor current corresponds to a coil current flowing through a coil wound around the rotor of each of the motors 39 to 42. Here, as described above, the motor current is amplified by the amplifier circuit 51, A / D converted by an A / D converter (not shown) provided in the ECU 21, and read into the control unit 22. This motor current is transmitted to the motor current detection unit 71, and the motor current can be detected. The motor current detected by the motor current detection unit 71 is transmitted to an operation state determination unit 70 and a lock state determination unit 73 described later.

回転速度検出部72は、各モータ39〜42の回転速度を検出する。ここで、上述のように、各モータ39〜42の回転数(回転速度)に応じた周波数のリップルパルスがリップルパルス検出回路50により検出される。リップルパルス検出回路50により検出されたリップルパルスは、当該回転速度検出部72に伝達される。したがって、回転速度検出部72は、各モータ39〜42の回転速度を検出することが可能となる。回転速度検出部72により検出された回転速度は、後述の運転状態判定部70及びロック状態判定部73に伝達される。   The rotational speed detector 72 detects the rotational speed of each of the motors 39 to 42. Here, as described above, the ripple pulse detection circuit 50 detects a ripple pulse having a frequency corresponding to the rotational speed (rotational speed) of each of the motors 39 to 42. The ripple pulse detected by the ripple pulse detection circuit 50 is transmitted to the rotation speed detection unit 72. Therefore, the rotational speed detector 72 can detect the rotational speeds of the motors 39 to 42. The rotation speed detected by the rotation speed detection unit 72 is transmitted to an operation state determination unit 70 and a lock state determination unit 73 described later.

運転状態判定部70は、各モータ39〜42に通電されるモータ電流及びモータの回転速度に基づいて、各モータ39〜42が起動直後であるか否かを判定する。モータ電流は、上述のモータ電流検出部71から伝達される。また、回転速度は、上述の回転速度検出部72から伝達される。図4は、モータを起動した際のモータ電流及び時間の関係について示した図である。図4に示されるように、時間t0でモータを起動すると(t=t0)、起動直後には突入電流I0が流れる。そして、時間が経過し(t>t1)、モータが定常動作に移行するとモータ電流は定常電流I1となる。したがって、突入電流I0と定常電流I1との差(ただし、I0>I1)が、所定値以上であり、且つ、突入電流I0が流れる直前にモータが回転していなかった場合にはモータは起動直後であると判定することができる。また、モータ電流が一定であり(例えば、定常電流I1)、且つ、モータの回転速度が所定の回転速度以上である場合にはモータは定常動作中であると判定することができる。運転状態判定部70は、このようにして各モータ39〜42が起動直後であるか否かを判定する。 The operating state determination unit 70 determines whether or not each of the motors 39 to 42 has just been started based on the motor current supplied to each of the motors 39 to 42 and the rotational speed of the motor. The motor current is transmitted from the motor current detector 71 described above. Further, the rotation speed is transmitted from the rotation speed detector 72 described above. FIG. 4 is a diagram showing the relationship between the motor current and time when the motor is started. As shown in FIG. 4, when the motor is started at time t 0 (t = t 0 ), an inrush current I 0 flows immediately after the start. When time elapses (t> t 1 ) and the motor shifts to a steady operation, the motor current becomes a steady current I 1 . Accordingly, when the difference between the inrush current I 0 and the steady current I 1 (where I 0 > I 1 ) is equal to or greater than a predetermined value and the motor has not rotated immediately before the inrush current I 0 flows. It can be determined that the motor has just been started. Further, when the motor current is constant (for example, steady current I 1 ) and the rotation speed of the motor is equal to or higher than a predetermined rotation speed, it can be determined that the motor is in steady operation. The driving state determination unit 70 determines whether or not each of the motors 39 to 42 has just been started in this way.

また、運転状態判定部70は、モータに通電されるモータ電流及びモータの回転速度に基づいて、各モータ39〜42が停止状態であるか否かを判定する。この場合も、モータ電流は、上述のモータ電流検出部71から伝達される。また、回転速度は、上述の回転速度検出部72から伝達される。そして、モータ電流が零であり、回転速度が零である場合に、運転状態判定部70は、各モータ39〜42が停止状態であると判定する。これらの判定結果は、後述の移動開始位置情報記憶部76に伝達される。   Moreover, the driving | running state determination part 70 determines whether each motor 39-42 is a stop state based on the motor current and the rotational speed of a motor which are supplied with electricity to a motor. Also in this case, the motor current is transmitted from the motor current detection unit 71 described above. Further, the rotation speed is transmitted from the rotation speed detector 72 described above. When the motor current is zero and the rotation speed is zero, the operation state determination unit 70 determines that each of the motors 39 to 42 is in a stopped state. These determination results are transmitted to a movement start position information storage unit 76 which will be described later.

移動開始位置情報記憶部76は、可動部材が移動する前の移動開始位置を示す移動開始位置情報を記憶する。可動部材とは、本実施形態においてはシート3である。したがって、移動開始位置情報とは、各モータ39〜42の起動する前のシート3の移動開始位置を示す情報である。ここで、上述のように、シート3は、各モータ39〜42により、スライド動作、リクライニング動作、フロントバーチカル動作、リフタ動作が可能である。したがって、この移動開始位置情報は、夫々の動作を可能とする可動範囲内における位置を示す情報となる。各動作に関しては、同様の処理であるため、以降の説明ではフロントバーチカル動作を例として説明し、また、可動部材とはシート3であるとして説明する。   The movement start position information storage unit 76 stores movement start position information indicating a movement start position before the movable member moves. The movable member is the sheet 3 in the present embodiment. Therefore, the movement start position information is information indicating the movement start position of the seat 3 before the motors 39 to 42 are started. Here, as described above, the seat 3 can perform a slide operation, a reclining operation, a front vertical operation, and a lifter operation by the motors 39 to 42. Therefore, the movement start position information is information indicating a position within the movable range that enables each operation. Since each operation is the same process, the following description will be given by taking the front vertical operation as an example, and the movable member will be described as the seat 3.

ここで、本位置制御装置1は、シート3の絶対位置を検出する位置検出センサは備えておらず、上述のようにリップルパルスに基づいて相対位置を検出している。この相対位置は、後述する現在位置情報演算部77が行う演算により検出される。移動開始位置情報記憶部76は、運転状態判定部10から各モータ39〜42が停止状態であることを示す判定結果が伝達された場合に、現在位置情報演算部77により検出されている現在位置情報を取得し、移動開始位置情報として記憶する。   Here, the position control device 1 does not include a position detection sensor that detects the absolute position of the sheet 3, and detects the relative position based on the ripple pulse as described above. This relative position is detected by a calculation performed by a current position information calculation unit 77 described later. The movement start position information storage unit 76 detects the current position detected by the current position information calculation unit 77 when a determination result indicating that the motors 39 to 42 are stopped is transmitted from the operation state determination unit 10. Information is acquired and stored as movement start position information.

図5は、フロントバーチカル動作に係る可動範囲Aに関して説明するための図である。シート3を移動させる場合には、フロントバーチカルモータ41の回転動力が利用される。シート3を移動させる際に移動可能な最大のスライド量が、可動範囲Aに相当する。フロントバーチカルモータ41の起動前において、シート3が図5のαの位置に位置していると、移動開始位置情報記憶部76は、フロントバーチカルモータ41の起動前にシート3がαの位置に位置していることを示す移動開始位置情報を記憶する。   FIG. 5 is a diagram for explaining the movable range A related to the front vertical operation. When the seat 3 is moved, the rotational power of the front vertical motor 41 is used. The maximum slide amount that can be moved when the seat 3 is moved corresponds to the movable range A. If the seat 3 is positioned at the position α in FIG. 5 before the front vertical motor 41 is started, the movement start position information storage unit 76 positions the seat 3 at the position α before the front vertical motor 41 is started. The movement start position information indicating that this is being performed is stored.

現在位置情報演算部77は、各モータ39〜42により駆動される可動部材の現在位置を示す現在位置情報を、各モータ39〜42に通電されるモータ電流に応じたリップルパルスに基づいて演算する。本実施形態では、可動部材はシート3である。また、リップルパルスは、上述のリップルパルス検出回路50から伝達される。現在位置情報演算部77は、このリップルパルスを用いてシート3の移動量を演算する。現在位置情報演算部77は、移動開始位置情報記憶部76に記憶されている移動開始位置情報に示される位置に、演算した移動量を加減算することにより、各モータ39〜42の作動に応じて変化するシート3の現在位置を示す現在位置情報を演算する。なお、上述の移動量の演算は公知技術であるため説明は省略する。そして、特にシート3が停止した際のシート位置に係る位置情報は、上述の移動開始位置情報記憶部76に伝達される。   The current position information calculation unit 77 calculates current position information indicating the current position of the movable member driven by each of the motors 39 to 42 based on a ripple pulse corresponding to the motor current supplied to each of the motors 39 to 42. . In the present embodiment, the movable member is the sheet 3. The ripple pulse is transmitted from the ripple pulse detection circuit 50 described above. The current position information calculation unit 77 calculates the movement amount of the sheet 3 using the ripple pulse. The current position information calculation unit 77 adds / subtracts the calculated movement amount to / from the position indicated by the movement start position information stored in the movement start position information storage unit 76, according to the operation of each motor 39 to 42. Current position information indicating the current position of the changing sheet 3 is calculated. Note that the above-described calculation of the movement amount is a known technique, and a description thereof will be omitted. In particular, the position information related to the sheet position when the sheet 3 is stopped is transmitted to the movement start position information storage unit 76 described above.

ここで、本実施形態では、モータはフロントバーチカルモータ41を例としている。したがって、現在位置情報演算部77は、フロントバーチカルモータ41の作動に応じて変化するシート3の現在位置を示す現在位置情報を、移動開始位置情報に示される位置とリップルパルスとに基づいて演算する。図5に示されるようにシート3がαからβの位置に移動した場合には、現在位置情報演算部77は、αにいたことを示す移動開始位置情報と、βに移動するのに要したリップルパルスとに基づいて現在位置情報を演算する。   Here, in the present embodiment, the front vertical motor 41 is taken as an example of the motor. Therefore, the current position information calculation unit 77 calculates the current position information indicating the current position of the seat 3 that changes according to the operation of the front vertical motor 41 based on the position indicated by the movement start position information and the ripple pulse. . As shown in FIG. 5, when the sheet 3 moves from α to β, the current position information calculation unit 77 needed to move to β and movement start position information indicating that the current position information calculation unit 77 was at α. Current position information is calculated based on the ripple pulse.

ロック状態判定部73は、各モータ39〜42に通電されるモータ電流に基づき、各モータ39〜42により駆動されるシート3がロック状態であるか否かを判定する。モータ電流は、上述のモータ電流検出部71から伝達される。また、回転速度は、上述の回転速度検出部72から伝達される。ロック状態とは、図5に示されるように、シート3の各部が、可動範囲Aの端点Xでストッパ等にぶつかることによりモータがロックする状態である。モータが、ロック状態となると、図6に示されるようにロック電流I2が流れる。当該ロック電流I2は、突入電流I0(ただし、t=t0でモータを起動)よりも大きな電流となる。したがって、突入電流I0とロック電流I2との差(ただし、I2>I0)が、所定値以上であり、且つ、ロック電流I2が流れる際のモータの回転速度が所定値以下となる極低速回転状態の場合にはロック状態であると判定することができる。 The lock state determination unit 73 determines whether or not the seat 3 driven by each of the motors 39 to 42 is in a locked state based on the motor current supplied to each of the motors 39 to 42. The motor current is transmitted from the motor current detector 71 described above. Further, the rotation speed is transmitted from the rotation speed detector 72 described above. As shown in FIG. 5, the locked state is a state in which the motor is locked when each part of the seat 3 hits a stopper or the like at the end point X of the movable range A. When the motor is locked, a lock current I 2 flows as shown in FIG. The lock current I 2 is larger than the inrush current I 0 (however, the motor is started at t = t 0 ). Therefore, the difference between the inrush current I 0 and the lock current I 2 (where I 2 > I 0 ) is equal to or greater than a predetermined value, and the rotation speed of the motor when the lock current I 2 flows is equal to or less than the predetermined value. In the extremely low speed rotation state, it can be determined that the lock state is established.

ここで、極低速回転状態とは、上述のリップルパルス検出回路50によりモータ電流のリップル成分を正確にパルス化できず、リップルパルスを正確に検出できないような遅い回転速度でモータが回転している状態を示す。ロック状態判定部73は、このようにしてシート3がロック状態であるか否かを判定する。この判定結果は、後述の現在位置情報更新判定部74に伝達される。   Here, the extremely low speed rotation state means that the ripple component of the motor current cannot be accurately pulsed by the ripple pulse detection circuit 50 described above, and the motor is rotating at such a low rotation speed that the ripple pulse cannot be accurately detected. Indicates the state. The lock state determination unit 73 determines whether or not the seat 3 is in the locked state in this way. This determination result is transmitted to a current position information update determination unit 74 described later.

ロック位置情報記憶部78は、可動部材が機械的にロック状態となる端部の位置情報をロック位置情報として記憶している。本実施形態においても、可動部材はシート3である。したがって、ロック位置情報記憶部78は、シート3が機械的にロック状態となる端部の位置情報をロック位置情報として記憶している。なお、ロック状態となる端部の位置は位置制御装置1の構成により決まるものであり、本実施形態においては、予めロック位置情報として記憶されている。したがって、本実施形態においては、新たにロック位置情報記憶部78にロック位置情報が記憶されることはなく、既にロック位置情報記憶部78に記憶されているロック位置情報が用いられる。なお、ロック位置情報記憶部78にロック位置情報を記憶する処理に関しては公知技術であるため詳細な説明は省略するが、ロック位置情報の設定モードにおいて、シート3を移動させ、ロック状態判定部73によりロック状態になったと判定された位置を端部とし、現在位置情報演算部77により演算されたその端部の位置をロック位置情報として記憶することが可能である。   The lock position information storage unit 78 stores position information of an end portion where the movable member is mechanically locked as lock position information. Also in this embodiment, the movable member is the sheet 3. Therefore, the lock position information storage unit 78 stores the position information of the end portion where the seat 3 is mechanically locked as the lock position information. In addition, the position of the edge part which becomes a locked state is decided by the structure of the position control apparatus 1, and is memorize | stored beforehand as lock position information in this embodiment. Therefore, in this embodiment, the lock position information is not newly stored in the lock position information storage unit 78, and the lock position information already stored in the lock position information storage unit 78 is used. The process of storing the lock position information in the lock position information storage unit 78 is a known technique and will not be described in detail. However, in the lock position information setting mode, the seat 3 is moved and the lock state determination unit 73 is moved. It is possible to store the position determined to be in the locked state as an end, and store the position of the end calculated by the current position information calculation unit 77 as the lock position information.

ロック検出エリア記憶部82は、端部に対して、少なくとも可動範囲の側に設定されたロック検出エリアを記憶する。ロック検出エリアも上述のロック位置情報と同様に、本実施形態においては、新たにロック検出エリア記憶部82にロック検出エリアが記憶されることはなく、既にロック検出エリア記憶部82に記憶されているロック検出エリアが用いられる。ロック検出エリア記憶部82に記憶されているロック検出エリアの一例を図7に示す。位置O1がロック位置情報記憶部78に記憶されているロック位置とすると、ロック検出エリアは、可動範囲Aの側のロック検出エリアl11と、可動範囲Aから外れた側のロック検出エリアl12とから構成される。このようなロック検出エリアがロック検出エリア記憶部82に記憶される。なお、本実施形態においては、ロック検出エリア記憶部82には、少なくとも可動範囲Aの側に設定されたロック検出エリアl11が記憶されていれば良いが、以下の説明では、可動範囲Aから外れた側のロック検出エリアl12も記録されているとして説明する。また、ロック検出エリア記憶部82にロック検出エリアを記憶する処理に関しては公知技術であるため詳細な説明は省略するが、ロック検出エリア設定部(図示せず)により、ロック位置情報記憶部78に記憶されているロック位置情報を参照し、当該ロック位置に対して設定される。 The lock detection area storage unit 82 stores a lock detection area set at least on the movable range side with respect to the end portion. Similarly to the above-described lock position information, the lock detection area is not newly stored in the lock detection area storage unit 82 and is already stored in the lock detection area storage unit 82 in the present embodiment. The lock detection area is used. An example of the lock detection area stored in the lock detection area storage unit 82 is shown in FIG. When the position O 1 is a locked position stored in locked position information storage unit 78, the lock detection area includes a lock detection area l 11 side of the movable range A, the side of the lock detection area l deviating from the movable range A It consists of twelve . Such a lock detection area is stored in the lock detection area storage unit 82. In the present embodiment, the lock detection area storage unit 82 only needs to store at least the lock detection area 11 set on the movable range A side, but in the following description, from the movable range A lock detection area l 12 outlying side is also described as being recorded. Further, since the process for storing the lock detection area in the lock detection area storage unit 82 is a known technique, a detailed description thereof will be omitted. However, the lock detection area setting unit (not shown) stores the lock detection area in the lock position information storage unit 78. With reference to the stored lock position information, the lock position information is set.

現在位置情報更新判定部74は、シート3の移動に応じて現在位置情報に示される現在位置がロック検出エリア外から動き始め、可動範囲Aの側のロック検出エリアに進入したか否かの判定を行う。シート3が移動したか否かは、運転状態判定部70により判定され、現在位置情報更新判定部74は当該判定結果に基づいて特定することが可能である。現在位置情報により示される現在位置がロック検出エリア外から動き始めたか否かは、動き始めた位置が移動開始位置情報記憶部76に記憶されている移動開始位置情報と、ロック検出エリア記憶部82に記憶されているロック検出エリアとを用いて判定される。   The current position information update determination unit 74 determines whether or not the current position indicated by the current position information starts to move from outside the lock detection area in accordance with the movement of the seat 3 and enters the lock detection area on the movable range A side. I do. Whether or not the seat 3 has moved is determined by the driving state determination unit 70, and the current position information update determination unit 74 can specify the determination based on the determination result. Whether the current position indicated by the current position information has started to move from outside the lock detection area is determined based on the movement start position information stored in the movement start position information storage unit 76 and the lock detection area storage unit 82. It is determined using the lock detection area stored in.

また、現在位置情報により示される現在位置が可動範囲Aの側のロック検出エリアに進入したか否かの判定は、現在位置情報演算部77が演算している現在位置情報と、ロック検出エリア記憶部82に記憶されているロック検出エリアとを用いて判定される。このように、現在位置情報更新判定部74が、シート3の移動に応じて現在位置情報に示される現在位置がロック検出エリア外から動き始め、可動範囲Aの側のロック検出エリアに進入したと判定した場合には、現在位置情報を更新する旨を示す更新信号とロック位置情報とを後述の現在位置情報更新部75と停止位置補正判定部84とに伝達する。   Further, whether or not the current position indicated by the current position information has entered the lock detection area on the movable range A side is determined based on the current position information calculated by the current position information calculation unit 77 and the lock detection area storage. This is determined using the lock detection area stored in the unit 82. Thus, when the current position information update determination unit 74 starts moving from the outside of the lock detection area according to the movement of the seat 3 and enters the lock detection area on the movable range A side. When the determination is made, an update signal indicating that the current position information is updated and the lock position information are transmitted to a later-described current position information update unit 75 and a stop position correction determination unit 84.

なお、本位置制御装置1は、モータにより駆動されるシート3が機械的にロック状態となる両端部のロック位置に対して、可動範囲Aの側に設定されたロック検出エリア内からロック位置方向への移動が規制される。即ち、本位置制御装置1は、可動範囲Aの側に設定されたロック検出エリアl11内からロック位置方向への移動を規制する。図7において、移動開始位置情報が、「▲」で示されるように可動範囲Aの側のロック検出エリアl11内にある場合には、ロック位置である位置O1の方向(白抜き矢印(a)で示された方向)への移動は規制され、移動することができず、ロック位置の反対方向(白抜き矢印(b)で示された方向)への移動のみ許可される。したがって、現在位置情報更新判定部74は、ロック検出エリア内からロック位置方向への移動操作が行われるか否かの判定も行う。 The position control device 1 is configured so that the lock position direction from the lock detection area set on the movable range A side with respect to the lock positions at both ends where the seat 3 driven by the motor is mechanically locked. Movement to is regulated. That is, the present position control device 1 regulates the movement to the lock position direction from within the lock detection area l 11 that is set on the side of the movable range A. In FIG. 7, when the movement start position information is within the lock detection area l 11 on the movable range A side as indicated by “▲”, the direction of the position O 1 (white arrow ( Movement in the direction indicated by a) is restricted and cannot be moved, and only movement in the opposite direction of the lock position (direction indicated by the white arrow (b)) is permitted. Therefore, the current position information update determination unit 74 also determines whether or not a movement operation from the lock detection area toward the lock position is performed.

停止位置補正制御部84は、シート3の移動に応じて現在位置情報に示される現在位置がロック検出エリア外から動き始め、可動範囲Aの側のロック検出エリアに進入した場合に、シート3をロック検出エリア内で停止させることを禁止させ、端部まで移動させる。シート3の移動に応じて現在位置情報に示される現在位置がロック検出エリア外から動き始めたか否かの判定、及び可動範囲Aの側のロック検出エリアに進入したか否かの判定は、上述の現在位置情報更新判定部74により行われる。そして、現在位置情報更新判定部74から伝達される更新信号に基づき、停止位置補正制御部84は、シート3の移動に応じて現在位置情報に示される現在位置がロック検出エリア外から動き始め、可動範囲Aの側のロック検出エリアに進入したことを特定することが可能となる。   The stop position correction control unit 84 moves the seat 3 when the current position indicated by the current position information starts to move from outside the lock detection area and enters the lock detection area on the movable range A side according to the movement of the seat 3. Stop in the lock detection area and move to the end. The determination as to whether or not the current position indicated in the current position information has started to move from outside the lock detection area and the determination as to whether or not the vehicle 3 has entered the lock detection area on the movable range A side according to the movement of the seat 3 is as described above. This is performed by the current position information update determination unit 74. Then, based on the update signal transmitted from the current position information update determination unit 74, the stop position correction control unit 84 starts moving the current position indicated by the current position information from outside the lock detection area according to the movement of the seat 3. It is possible to specify that the vehicle has entered the lock detection area on the movable range A side.

停止位置補正制御部84は、上述の更新信号を取得すると、シート3をロック検出エリア内で停止させることを禁止させ、端部まで移動させる。即ち、停止位置補正制御部84は、制御部22に対して作動対象となるモータを駆動するように制御させ、シート3を端部まで移動させる。シート3を端部まで移動させる場合には、上述のロック状態判定部73によりシート3がロック状態となったか否かの判定に基づき特定可能である。したがって、停止位置補正制御部84は、シート3がロック状態となるまで作動対象のモータを駆動させるように制御部22に対して制御する。   When the stop position correction control unit 84 acquires the above update signal, the stop position correction control unit 84 prohibits the seat 3 from stopping in the lock detection area and moves the seat 3 to the end portion. That is, the stop position correction control unit 84 controls the control unit 22 to drive the motor to be actuated, and moves the seat 3 to the end. When the sheet 3 is moved to the end, it can be specified based on the determination of whether or not the sheet 3 is locked by the lock state determination unit 73 described above. Therefore, the stop position correction control unit 84 controls the control unit 22 to drive the motor to be operated until the seat 3 is locked.

現在位置情報更新部75は、シート3が停止位置補正制御部84により端部まで移動させられた場合に、現在位置情報をロック位置情報で更新する。シート3が停止位置補正制御部84により端部まで移動させられたことは、現在位置情報更新判定部74から伝達される更新信号に基づき特定可能である。ロック位置情報は、更新信号と共に、現在位置情報更新部74から伝達される。現在位置情報更新部75は、更新信号が伝達されると、現在位置情報演算部77が演算している現在位置情報をロック位置情報で更新する。なお、現在位置情報演算部77は、現在位置情報が更新されると、当該更新された現在位置情報は移動開始位置情報記憶部76に伝達される。そして、移動開始位置情報記憶部76は、更新された現在位置情報を移動開始位置情報として記憶する。   The current position information update unit 75 updates the current position information with the lock position information when the seat 3 is moved to the end by the stop position correction control unit 84. The fact that the seat 3 has been moved to the end by the stop position correction control unit 84 can be specified based on the update signal transmitted from the current position information update determination unit 74. The lock position information is transmitted from the current position information update unit 74 together with the update signal. When the update signal is transmitted, the current position information update unit 75 updates the current position information calculated by the current position information calculation unit 77 with the lock position information. When the current position information is updated, the current position information calculation unit 77 transmits the updated current position information to the movement start position information storage unit 76. The movement start position information storage unit 76 stores the updated current position information as movement start position information.

このように、シート3の移動に応じて現在位置情報に示される現在位置が可動範囲Aの側のロック検出エリアに進入した場合には、シート3を端部以外の位置で停止させることを禁止して端部まで移動させると共に、現在位置情報をロック位置情報で更新するため、適切に現在位置情報の補正が可能となる。   As described above, when the current position indicated by the current position information enters the lock detection area on the movable range A side in accordance with the movement of the seat 3, it is prohibited to stop the seat 3 at a position other than the end portion. Since the current position information is updated with the lock position information, the current position information can be appropriately corrected.

次に、本位置制御装置1が行う処理に関してフローチャートを用いて説明する。図8は、現在位置情報の補正に関するフローチャートである。ユーザがシート3の位置をロック位置方向へ移動させるようにスイッチ操作を行うと(ステップ#01:Yes)、現在位置情報更新判定部74が移動開始位置情報記憶部76に記憶されている移動開始位置情報と、ロック検出エリア記憶部82に記憶されているロック検出エリアとに基づいて、移動開始位置がロック検出エリア内であるか否かの判定を行う。移動開始位置がロック検出エリア内であれば(ステップ#02:Yes)、位置制御装置1は各モータ39〜42の出力を禁止し(ステップ#03)、処理を終了する。   Next, processing performed by the position control device 1 will be described using a flowchart. FIG. 8 is a flowchart regarding correction of current position information. When the user performs a switch operation so as to move the position of the seat 3 in the lock position direction (step # 01: Yes), the current position information update determination unit 74 starts the movement stored in the movement start position information storage unit 76. Based on the position information and the lock detection area stored in the lock detection area storage unit 82, it is determined whether or not the movement start position is within the lock detection area. If the movement start position is within the lock detection area (step # 02: Yes), the position control device 1 prohibits the outputs of the motors 39 to 42 (step # 03) and ends the process.

一方、移動開始位置がロック検出エリア内でなければ(ステップ#02:No)、位置制御装置1はスイッチ操作に応じて各モータ39〜42を運転させる(ステップ#04)。そして、現在位置情報演算部77は、モータ39〜42に通電されるモータ電流に応じたリップルパルスと移動開始位置情報とに基づき、現在位置情報を演算する(ステップ#05)。   On the other hand, if the movement start position is not within the lock detection area (step # 02: No), the position control device 1 operates each of the motors 39 to 42 according to the switch operation (step # 04). Then, the current position information calculation unit 77 calculates current position information based on the ripple pulse corresponding to the motor current supplied to the motors 39 to 42 and the movement start position information (step # 05).

そして、現在位置情報更新判定部74が、現在位置情報が可動範囲Aの側のロック検出エリア内に進入したか否かの判定を行う。この判定において、現在位置情報は現在位置情報演算部77から取得され、ロック検出エリアはロック検出エリア記憶部82に記憶されているロック検出エリア情報から取得される。   Then, the current position information update determination unit 74 determines whether or not the current position information has entered the lock detection area on the movable range A side. In this determination, the current position information is acquired from the current position information calculation unit 77 and the lock detection area is acquired from the lock detection area information stored in the lock detection area storage unit 82.

現在位置情報更新判定部74が、現在位置情報が可動範囲Aの側のロック検出エリア内に進入していると判定した場合には(ステップ#06:Yes)、現在位置情報更新判定部74は停止位置情報補正部84に対してシート3を端部まで移動させることを示す更新信号を伝達する。   When the current position information update determination unit 74 determines that the current position information has entered the lock detection area on the movable range A side (step # 06: Yes), the current position information update determination unit 74 An update signal indicating that the sheet 3 is moved to the end is transmitted to the stop position information correction unit 84.

停止位置情報補正部84は、ロック状態判定部73が、シート3がロック状態になったと判定するまで制御部22に対して作動対象となるモータを作動させる。そして、ロック状態判定部73がロック状態を検出すると(ステップ#07:Yes)、停止位置情報補正部84は制御部22に対してモータの出力を停止させる(ステップ#08)。したがって、シート3は、可動範囲Aの端部で停止することが可能となる。   The stop position information correction unit 84 operates the motor to be operated on the control unit 22 until the lock state determination unit 73 determines that the seat 3 is in the locked state. When the lock state determination unit 73 detects the lock state (step # 07: Yes), the stop position information correction unit 84 causes the control unit 22 to stop the output of the motor (step # 08). Therefore, the seat 3 can be stopped at the end of the movable range A.

そして、現在位置情報更新部75は、現在位置情報演算部77が演算している現在位置情報をロック位置情報記憶部78に記憶されているロック位置情報で更新する(ステップ#09)。したがって、端部に停止しているシート3の実際の位置と、現在位置情報により示される現在位置情報とが一致するようにされるため、両者の差をなくすことが可能となる。   Then, the current position information update unit 75 updates the current position information calculated by the current position information calculation unit 77 with the lock position information stored in the lock position information storage unit 78 (step # 09). Accordingly, since the actual position of the sheet 3 stopped at the end portion matches the current position information indicated by the current position information, the difference between the two can be eliminated.

一方、ステップ#06において、現在位置情報更新判定部74が、現在位置情報が可動範囲Aの側のロック検出エリア内に進入していないと判定した場合には(ステップ#06:No)、シート3の位置を変更するスイッチ操作が解除されたか否かの確認を行う。この確認は、制御部22により行われる。スイッチ操作が解除されると(ステップ#10:Yes)、処理を終了する。一方、スイッチ操作が解除されていない場合には(ステップ#10:No)、ステップ#04から処理を継続する。   On the other hand, when the current position information update determination unit 74 determines in step # 06 that the current position information has not entered the lock detection area on the movable range A side (step # 06: No), the seat It is confirmed whether or not the switch operation for changing the position 3 is released. This confirmation is performed by the control unit 22. When the switch operation is released (step # 10: Yes), the process is terminated. On the other hand, if the switch operation has not been released (step # 10: No), the processing is continued from step # 04.

このようにして、本位置制御装置1は、現在位置情報をロック位置に基づいて更新することにより、シート3の物理的な位置(実際の位置)と、位置制御装置1が認識している現在位置情報との間の誤差を無くすことが可能となる。   In this way, the position control device 1 updates the current position information based on the lock position, so that the physical position (actual position) of the seat 3 and the current position that the position control device 1 recognizes. It is possible to eliminate an error from the position information.

〔第二の実施形態〕
次に、本位置制御装置1に係る第二の実施形態について説明する。上述の第一の実施形態では、停止位置補正制御部84が、シート3の移動に応じて現在位置情報に示される現在位置がロック検出エリア外から動き始め、可動範囲Aの側のロック検出エリアに進入した場合に、シート3をロック検出エリア内で停止させることを禁止させ、端部まで移動させるとして説明した。第二の実施形態では停止位置補正制御部84が、シート3が、可動範囲Aの側のロック検出エリアから動き始めて端部の反対側へ向かう場合に、シート3がロック検出エリア内で停止することを禁止し、シート3をロック検出エリア外まで移動させる点において異なる。それ以外の機能については、第一の実施形態と同様であるため、説明は省略する。
[Second Embodiment]
Next, a second embodiment according to the position control device 1 will be described. In the first embodiment described above, the stop position correction control unit 84 starts moving from the outside of the lock detection area according to the movement of the seat 3, and the lock detection area on the movable range A side. It has been described that the seat 3 is prohibited from being stopped in the lock detection area and moved to the end when it enters the door. In the second embodiment, when the stop position correction control unit 84 starts moving from the lock detection area on the movable range A side and moves toward the opposite side of the end portion, the seat 3 stops in the lock detection area. This is different in that the sheet 3 is moved out of the lock detection area. Since the other functions are the same as those in the first embodiment, description thereof is omitted.

上述のように、停止位置補正制御部84は、シート3が、可動範囲Aの側のロック検出エリアから動き始めて端部の反対側へ向かう場合に、シート3がロック検出エリア内で停止することを禁止し、シート3をロック検出エリア外まで移動させる。シート3が、可動範囲Aの側のロック検出エリアから動き始めて端部の反対側へ向かうか否かの判定は、上述の現在位置情報更新判定部74により行われる。そして、現在位置情報更新判定部74から伝達される更新信号に基づき、停止位置補正制御部84は、シート3が、可動範囲Aの側のロック検出エリアから動き始めて端部の反対側へ向かうことを特定することが可能となる。   As described above, the stop position correction control unit 84 causes the seat 3 to stop in the lock detection area when the seat 3 starts moving from the lock detection area on the movable range A side and goes to the opposite side of the end portion. Is prohibited, and the seat 3 is moved out of the lock detection area. The above-described current position information update determination unit 74 determines whether the seat 3 starts to move from the lock detection area on the movable range A side and moves toward the opposite side of the end. Then, based on the update signal transmitted from the current position information update determination unit 74, the stop position correction control unit 84 starts moving from the lock detection area on the movable range A side toward the opposite side of the end portion. Can be specified.

停止位置補正制御部84は、上述の更新信号を取得すると、シート3がロック検出エリア内で停止することを禁止し、シート3をロック検出エリア外まで移動させる。即ち、停止位置補正制御部84は、制御部22に対して作動対象となるモータを駆動させるように制御し、シート3をロック検出エリア外まで移動させる。この移動は、現在位置情報演算部77により演算される現在位置情報に基づき特定可能である。したがって、停止位置補正制御部84は、シート3がロック検出エリア内で停止することを禁止し、シート3をロック検出エリア外まで移動させるように制御部22に対して制御する。   When the stop position correction control unit 84 acquires the update signal, the stop position correction control unit 84 prohibits the seat 3 from stopping in the lock detection area and moves the seat 3 to the outside of the lock detection area. That is, the stop position correction control unit 84 controls the control unit 22 to drive the motor to be operated, and moves the seat 3 to the outside of the lock detection area. This movement can be specified based on the current position information calculated by the current position information calculation unit 77. Therefore, the stop position correction control unit 84 prohibits the seat 3 from stopping in the lock detection area and controls the control unit 22 to move the seat 3 to outside the lock detection area.

このように、シート3がロック検出エリア内で停止することを禁止し、シート3をロック検出エリア外まで移動させることにより、ロック検出エリア内の位置から端部の方向へ移動させようとした際にシート3の移動が規制されるといったことを防ぐことができる。したがって、ユーザが疑問に感じないように可動部材の位置を制御することが可能となる。   In this way, when the seat 3 is prohibited from stopping in the lock detection area and moved to the outside of the lock detection area, the seat 3 is moved from the position in the lock detection area toward the end. It is possible to prevent the movement of the sheet 3 from being restricted. Therefore, the position of the movable member can be controlled so that the user does not feel doubts.

次に、第二の実施形態に係る本位置制御装置1が行う処理に関してフローチャートを用いて説明する。図9は、第二の実施形態に係る現在位置情報の補正に関するフローチャートである。ユーザがシート3の位置をロック位置と反対方向へ移動させるようにスイッチ操作を行うと(ステップ#01:Yes)、現在位置情報更新判定部74が移動開始位置情報記憶部76に記憶されている移動開始位置情報と、ロック検出エリア記憶部82に記憶されているロック検出エリアとに基づいて、移動開始位置がロック検出エリア内であるか否かの判定を行う。移動開始位置がロック検出エリア内であれば(ステップ#02:Yes)、位置制御装置1はスイッチ操作に応じて各モータ39〜42を運転させる(ステップ#03)。そして、現在位置情報演算部77は、モータ39〜42に通電されるモータ電流に応じたリップルパルスと移動開始位置情報とに基づき、現在位置情報を演算する(ステップ#04)。   Next, processing performed by the position control device 1 according to the second embodiment will be described using a flowchart. FIG. 9 is a flowchart regarding correction of current position information according to the second embodiment. When the user performs a switch operation to move the position of the seat 3 in the direction opposite to the lock position (step # 01: Yes), the current position information update determination unit 74 is stored in the movement start position information storage unit 76. Based on the movement start position information and the lock detection area stored in the lock detection area storage unit 82, it is determined whether or not the movement start position is within the lock detection area. If the movement start position is within the lock detection area (step # 02: Yes), the position control device 1 operates each of the motors 39 to 42 according to the switch operation (step # 03). The current position information calculation unit 77 calculates current position information based on the ripple pulse corresponding to the motor current supplied to the motors 39 to 42 and the movement start position information (step # 04).

そして、現在位置情報更新判定部74が、現在位置情報がロック検出エリア外に出たか否かの判定を行う。この判定において、現在位置情報は現在位置情報演算部77から取得し、ロック検出エリアはロック検出エリア記憶部82に記憶されているロック検出エリア情報から取得される。   Then, the current position information update determination unit 74 determines whether or not the current position information has gone out of the lock detection area. In this determination, the current position information is acquired from the current position information calculation unit 77, and the lock detection area is acquired from the lock detection area information stored in the lock detection area storage unit 82.

現在位置情報更新判定部74が、現在位置情報がロック検出エリア外に出たと判定した場合には(ステップ#05:Yes)、処理を終了する。一方、現在位置情報更新判定部74が、現在位置情報がロック検出エリア外に出ていないと判定した場合には(ステップ#05:No)、ステップ#03に戻り、処理を継続する。   If the current position information update determination unit 74 determines that the current position information has gone out of the lock detection area (step # 05: Yes), the process ends. On the other hand, when the current position information update determination unit 74 determines that the current position information is not outside the lock detection area (step # 05: No), the process returns to step # 03 and the process is continued.

また、ステップ#02において、移動開始位置がロック検出エリア内でなければ(ステップ#02:No)、位置制御装置1はスイッチ操作に応じて各モータ39〜42を運転させる(ステップ#06)。そして、モータの作動に合わせて、現在位置情報演算部77は、モータ39〜42に通電されるモータ電流に応じたリップルパルスと移動開始位置情報とに基づき、現在位置情報を演算する(ステップ#07)。   In step # 02, if the movement start position is not within the lock detection area (step # 02: No), the position control device 1 operates each of the motors 39 to 42 according to the switch operation (step # 06). Then, in accordance with the operation of the motor, the current position information calculation unit 77 calculates the current position information based on the ripple pulse corresponding to the motor current supplied to the motors 39 to 42 and the movement start position information (step #). 07).

そして、シート3の移動が終了したか否かの確認が行われる。この確認は、制御部22により行われる。シート3の移動が終了すると(ステップ#08:Yes)、処理を終了する。一方、シート3の移動が終了していない場合には(ステップ#08:No)、ステップ#06から処理を継続する。   Then, it is confirmed whether or not the movement of the sheet 3 is completed. This confirmation is performed by the control unit 22. When the movement of the sheet 3 is finished (step # 08: Yes), the process is finished. On the other hand, if the movement of the sheet 3 has not been completed (step # 08: No), the processing is continued from step # 06.

このようにして、本位置制御装置1は、シート3が可動範囲Aの側のロック検出エリアから動き始めて端部の反対側へ向かう場合に、シート3がロック検出エリア内で停止することを禁止し、シート3をロック検出エリア外まで移動させる。このため、ロック検出エリアを例えば2〜3mmの幅で設定しておけば、位置制御装置1が、ロック検出エリアから端部の側への移動が規制する機能を備えていても、ユーザによりシート3が停止させられた位置がロック検出エリア内であっても、ユーザに違和感を与えることなくシート3の移動させることが可能となる。したがって、ユーザが疑問に感じないように可動部材の位置を制御することが可能となる。   In this way, the position control device 1 prohibits the seat 3 from stopping in the lock detection area when the seat 3 starts moving from the lock detection area on the movable range A side and goes to the opposite side of the end portion. Then, the seat 3 is moved out of the lock detection area. For this reason, if the lock detection area is set to a width of, for example, 2 to 3 mm, even if the position control device 1 has a function of restricting movement from the lock detection area to the end side, the user can seat Even if the position where 3 is stopped is within the lock detection area, the seat 3 can be moved without giving the user a sense of incongruity. Therefore, the position of the movable member can be controlled so that the user does not feel doubts.

〔その他の実施形態〕
上記実施形態では、シート3がロック状態であると判定された場合に、モータの作動に関しては説明しなかった。シート3がロック状態であると判定された場合には、モータを制御するモータ制御部が、モータを停止するように制御すると好適である。このような構成とすれば、無駄なバッテリーの消耗を防止することが可能となる。
[Other Embodiments]
In the above embodiment, the operation of the motor is not described when it is determined that the seat 3 is in the locked state. When it is determined that the seat 3 is in the locked state, it is preferable that the motor control unit that controls the motor controls the motor to stop. With such a configuration, it is possible to prevent unnecessary battery consumption.

或いは、シート3がロック状態になったとユーザが認識してモータを駆動する操作スイッチをオフした場合であっても、モータは、少なくとも予め設定された最小作動量は継続して作動されるようにしても良い。即ち、予め最小作動量を設定しておき、シート3がロック状態になったとユーザが認識して前記モータを駆動する操作スイッチをオフした場合であっても、モータ制御部は、少なくとも最小作動量は継続して作動させるように制御することも可能である。この最小作動量は、カウンタの検出値で規定しても良いし、作動時間で規定しても良い。このような構成とすれば、ロック状態の検出精度を向上させることが可能となる。即ち、図6において、突入電流I0の検出後、モータ電流がI2に到達する前にモータを駆動する操作スイッチがオフされると、ロック電流を検出することができない。このため、予め最小作動量を設定しておき、当該最小作動量は継続してモータを駆動させるようにすることで、ロック電流を検出することが可能となる。 Alternatively, even when the user recognizes that the seat 3 is in the locked state and turns off the operation switch for driving the motor, the motor is continuously operated at least for a preset minimum operation amount. May be. That is, even when the minimum operation amount is set in advance and the user recognizes that the seat 3 is in the locked state and turns off the operation switch that drives the motor, the motor control unit does not stop at least the minimum operation amount. Can be controlled to operate continuously. This minimum operation amount may be defined by the detection value of the counter or may be defined by the operation time. With such a configuration, it is possible to improve the detection accuracy of the locked state. That is, in FIG. 6, if the operation switch for driving the motor is turned off after the inrush current I 0 is detected and before the motor current reaches I 2 , the lock current cannot be detected. For this reason, it is possible to detect the lock current by setting the minimum operation amount in advance and continuously driving the motor with the minimum operation amount.

また、最小作動量を設定する際、ロック検出エリアの可動範囲Aの側と可動範囲Aの外れた側とで、夫々異なるように設定しても良いし、同じように設定しても良い。   Further, when setting the minimum operation amount, it may be set differently on the movable range A side of the lock detection area and on the side outside the movable range A, or may be set in the same manner.

上記実施形態では、ロック検出エリア外からのシート3の移動に対して、ロック状態を検出した場合に、現在位置情報をロック検出位置で更新するとして説明した。しかしながら、本発明の適用範囲は、これに限定されるものではない。例えば、ロック検出エリア内からの移動であっても、ロック状態を検出した場合に、現在位置情報をロック位置情報で更新するような構成とすることも当然に可能である。   In the embodiment described above, the current position information is updated at the lock detection position when the lock state is detected with respect to the movement of the seat 3 from outside the lock detection area. However, the scope of application of the present invention is not limited to this. For example, even when moving from within the lock detection area, it is naturally possible to adopt a configuration in which the current position information is updated with the lock position information when a lock state is detected.

上記実施形態では、可動部材がシート3であるとして説明した。しかしながら、本発明の適用範囲は、これに限定されるものではない。例えば、可動部材をサンルーフとすることも可能であるし、窓やドアとすることも可能である。また、その他モータにより移動させる部材であれば、本発明を適用することは、当然に可能である。   In the embodiment described above, the movable member is the sheet 3. However, the scope of application of the present invention is not limited to this. For example, the movable member can be a sunroof, or can be a window or a door. In addition, the present invention can naturally be applied to other members that are moved by a motor.

上記実施形態では、シート3のフロントバーチカル動作を例として説明した。しかしながら、本発明の適用範囲は、これに限定されるものではない。リクライニング動作、スライド動作、リフタ動作等であっても、同様に適用することが可能である。   In the above embodiment, the front vertical operation of the seat 3 has been described as an example. However, the scope of application of the present invention is not limited to this. A reclining operation, a sliding operation, a lifter operation, and the like can be similarly applied.

上記実施形態では、現在位置情報更新部75は、シート3が移動して停止した時に、現在位置情報により示される現在位置がロック検出エリア外から動き始め、可動範囲から外れた側のロック検出エリアで停止した場合にロック位置情報で現在位置情報を更新するとして説明した。係る場合、特に、シート3の移動がロック検出エリア外からユーザの手動スイッチ操作による手動移動であり、シート3の停止がロック状態での停止である時に、現在位置情報更新部75が現在位置情報をロック位置情報で更新するように構成することも当然に可能である。このような構成とすれば、ロック検出エリア外から手動移動により移動された可動部材がロック状態となった場合に、適切に現在位置情報を補正することが可能となる。   In the above embodiment, when the seat 3 moves and stops, the current position information update unit 75 starts moving from the outside of the lock detection area when the current position indicated by the current position information, and the lock detection area on the side outside the movable range. It has been described that the current position information is updated with the lock position information when stopped at. In this case, in particular, when the movement of the seat 3 is a manual movement by a user's manual switch operation from outside the lock detection area, and the stop of the seat 3 is a stop in the locked state, the current position information update unit 75 Of course, it is also possible to configure so as to be updated with the lock position information. With such a configuration, it is possible to appropriately correct the current position information when the movable member moved by manual movement from outside the lock detection area becomes locked.

また、シート3の移動がロック検出エリア外から予め設定された位置に自動で移動させる自動移動であり、シート3がロック状態になるまで移動される時に、現在位置情報更新部75が現在位置情報をロック位置情報で更新するように構成することも当然に可能である。このような構成とすれば、ロック検出エリア外からの自動移動である場合には、可動部材がロック状態となるまで移動されるため、適切に現在位置情報を補正することが可能となる。   Further, the movement of the seat 3 is an automatic movement that automatically moves from outside the lock detection area to a preset position. When the seat 3 is moved until it is locked, the current position information update unit 75 displays the current position information. Of course, it is also possible to configure so as to be updated with the lock position information. With such a configuration, in the case of automatic movement from outside the lock detection area, the movable member is moved until it is locked, so that the current position information can be appropriately corrected.

上記実施形態では、ロック検出エリアは図7において可動範囲Aでの一方のロック位置となる位置O1を基準として、可動範囲Aの側のロック検出エリアl11と、可動範囲Aから外れた側のロック検出エリアl12とから構成されるとして説明した。しかしながら、本発明の適用範囲は、これに限定されるものではない。可動範囲Aでの他方のロック位置となる位置(例えばO2を基準として、可動範囲Aの側のロック検出エリアl21と、可動範囲Aの側のロック検出エリアl22とを構成し、双方のロック位置で形成されるロック検出エリアを用いて、可動部材の実際の位置と現在位置情報との間に生じる差を補正することは当然に可能である。 In the above embodiment, the lock detection area is the lock detection area l 11 on the movable range A side and the side outside the movable range A with reference to the position O 1 which is one lock position in the movable range A in FIG. It has been described as comprised of a lock detection area l 12 Prefecture. However, the scope of application of the present invention is not limited to this. The lock detection area l 21 on the movable range A side and the lock detection area l 22 on the movable range A side are configured on the other lock position in the movable range A (for example, using O 2 as a reference) Of course, it is possible to correct the difference between the actual position of the movable member and the current position information using the lock detection area formed at the lock position.

シート位置制御装置の全体構成を概略的に示した図The figure which showed roughly the whole structure of a sheet position control device シートの可動箇所を示した図Diagram showing the movable part of the seat 位置制御装置の概略構成を模式的に示したブロック図Block diagram schematically showing the schematic configuration of the position control device モータを起動した際のモータ電流及び時間の関係について示した図Diagram showing the relationship between motor current and time when the motor is started 可動範囲を概略的に示した図Diagram showing the movable range 突入電流とロック電流とを示した図Diagram showing inrush current and lock current ロック検出エリアを概略的に示した図Diagram showing lock detection area 第一の実施形態に係る現在位置情報をロック位置情報で更新する処理に係るフローチャートThe flowchart which concerns on the process which updates the present position information which concerns on 1st embodiment with lock position information 第二の実施形態に係る現在位置情報をロック位置情報で更新する処理に係るフローチャートThe flowchart which concerns on the process which updates the present position information which concerns on 2nd embodiment with lock position information

符号の説明Explanation of symbols

1:位置制御装置
22:制御部
70:運転状態判定部
71:モータ電流検出部
72:回転速度検出部
73:ロック状態判定部
74:現在位置情報更新判定部
75:現在位置情報更新部
76:移動開始位置情報記憶部
77:現在位置情報演算部
78:ロック位置情報記憶部
82:ロック検出エリア記憶部
84:停止位置補正制御部
1: Position control device 22: Control unit 70: Operating state determination unit 71: Motor current detection unit 72: Rotational speed detection unit 73: Lock state determination unit 74: Current position information update determination unit 75: Current position information update unit 76: Movement start position information storage unit 77: Current position information calculation unit 78: Lock position information storage unit 82: Lock detection area storage unit 84: Stop position correction control unit

Claims (5)

モータにより駆動される可動部材が機械的にロック状態となる両端部のロック位置に対して、可動範囲の側に設定されたロック検出エリア内から前記ロック位置方向への移動が規制される位置制御装置であって、
モータにより駆動される可動部材の現在位置を示す現在位置情報を、前記モータに通電されるモータ電流に応じたリップルパルスに基づいて演算する現在位置情報演算部と、
前記可動部材が機械的にロック状態となる端部の位置情報をロック位置情報として記憶しているロック位置情報記憶部と、
前記端部に対して、少なくとも可動範囲の側に設定されたロック検出エリアを記憶するロック検出エリア記憶部と、
前記可動部材が、前記可動範囲の側のロック検出エリアから動き始めて前記端部の反対側へ向かう場合に、前記可動部材が前記ロック検出エリア内で停止することを禁止し、前記可動部材を前記ロック検出エリア外まで移動させる停止位置補正制御部と、
を備える位置制御装置。
Position control in which movement in the lock position direction from the lock detection area set on the movable range side is restricted with respect to the lock positions at both ends where the movable member driven by the motor is mechanically locked. A device,
A current position information calculation unit that calculates current position information indicating a current position of a movable member driven by a motor based on a ripple pulse corresponding to a motor current energized to the motor;
A lock position information storage unit that stores position information of an end portion where the movable member is mechanically locked as lock position information;
A lock detection area storage unit that stores a lock detection area set at least on the movable range side with respect to the end part; and
When the movable member starts to move from the lock detection area on the movable range side and moves toward the opposite side of the end, the movable member is prohibited from stopping in the lock detection area, and the movable member is A stop position correction control unit that moves outside the lock detection area;
A position control device comprising:
モータにより駆動される可動部材が機械的にロック状態となる両端部のロック位置に対して、可動範囲の側に設定されたロック検出エリア内から前記ロック位置方向への移動が規制される位置制御装置であって、
モータにより駆動される可動部材の現在位置を示す現在位置情報を、前記モータに通電されるモータ電流に応じたリップルパルスに基づいて演算する現在位置情報演算部と、
前記可動部材が機械的にロック状態となる端部の位置情報をロック位置情報として記憶しているロック位置情報記憶部と、
前記端部に対して、少なくとも可動範囲の側に設定されたロック検出エリアを記憶するロック検出エリア記憶部と、
前記可動部材の移動に応じて前記現在位置情報に示される現在位置が前記ロック検出エリア外から動き始め、前記可動範囲の側のロック検出エリアに進入した場合に、前記可動部材を前記ロック検出エリア内で停止させることを禁止させ、前記端部まで移動させる停止位置補正制御部と、
を備える位置制御装置。
Position control in which movement in the lock position direction from the lock detection area set on the movable range side is restricted with respect to the lock positions at both ends where the movable member driven by the motor is mechanically locked. A device,
A current position information calculation unit that calculates current position information indicating a current position of a movable member driven by a motor based on a ripple pulse corresponding to a motor current energized to the motor;
A lock position information storage unit that stores position information of an end portion where the movable member is mechanically locked as lock position information;
A lock detection area storage unit that stores a lock detection area set at least on the movable range side with respect to the end part; and
When the current position indicated by the current position information starts to move from outside the lock detection area in response to the movement of the movable member and enters the lock detection area on the movable range side, the movable member is moved to the lock detection area. A stop position correction control unit that prohibits the stop within and moves to the end,
A position control device comprising:
前記可動部材が前記停止位置補正制御部により前記端部まで移動させられた場合に、前記現在位置情報を前記ロック位置情報で更新する現在位置情報更新部を備える請求項2に記載の位置制御装置。   The position control device according to claim 2, further comprising: a current position information update unit that updates the current position information with the lock position information when the movable member is moved to the end by the stop position correction control unit. . 前記可動部材の移動が前記ロック検出エリア外からユーザの手動スイッチ操作による手動移動であり、前記可動部材の停止が前記ロック状態での停止である請求項2又は3に記載の位置制御装置。   The position control device according to claim 2 or 3, wherein the movement of the movable member is a manual movement by a user's manual switch operation from outside the lock detection area, and the stop of the movable member is a stop in the locked state. 前記可動部材の移動が前記ロック検出エリア外から予め設定された位置に自動で移動させる自動移動であり、前記可動部材が前記ロック状態になるまで移動される請求項2又は3に記載の位置制御装置。   The position control according to claim 2 or 3, wherein the movement of the movable member is an automatic movement that automatically moves from outside the lock detection area to a preset position, and the movable member is moved until the movable member is in the locked state. apparatus.
JP2008197790A 2008-07-31 2008-07-31 Position control device Active JP5155055B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008197790A JP5155055B2 (en) 2008-07-31 2008-07-31 Position control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008197790A JP5155055B2 (en) 2008-07-31 2008-07-31 Position control device

Publications (2)

Publication Number Publication Date
JP2010033513A true JP2010033513A (en) 2010-02-12
JP5155055B2 JP5155055B2 (en) 2013-02-27

Family

ID=41737860

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008197790A Active JP5155055B2 (en) 2008-07-31 2008-07-31 Position control device

Country Status (1)

Country Link
JP (1) JP5155055B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012124674A1 (en) 2011-03-14 2012-09-20 テイ・エス テック株式会社 Ripple extraction device, motor control apparatus, vehicle seat, and ripple extraction method
JP2016014435A (en) * 2014-07-02 2016-01-28 株式会社デンソー Shift range switching control unit
WO2018199104A1 (en) * 2017-04-27 2018-11-01 アルプス電気株式会社 Electric motor with rotation angle detector, electric motor rotation angle detector, and method for detecting rotation angle of electric motor equipped with commutator

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105978408A (en) * 2016-06-20 2016-09-28 广东东箭汽车用品制造有限公司 Electric control device for car seat and car seat
DE112020003869T5 (en) * 2020-03-17 2022-05-05 Hitachi Astemo, Ltd. Motor shaft condition detection method, motor control method, motor shaft condition detection device, motor control device, vehicle height adjustment device, saddle-type vehicle

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62190502A (en) * 1986-02-17 1987-08-20 Aichi Mach Ind Co Ltd Origin calculating method of industrial robot
JPH0448307A (en) * 1990-06-18 1992-02-18 Japan Servo Co Ltd Position controller
JPH04289086A (en) * 1991-03-18 1992-10-14 Kobe Steel Ltd Manipulator controller
JPH06230811A (en) * 1992-12-11 1994-08-19 Canon Inc Robot controller
JPH07104810A (en) * 1993-10-06 1995-04-21 Fanuc Ltd Numerical controller
JPH0895621A (en) * 1994-09-20 1996-04-12 Nissan Shatai Co Ltd Original point control method for mobile part and device therefor
JP2000166275A (en) * 1998-11-27 2000-06-16 Matsushita Electric Works Ltd Servo control device by detecting current ripple

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62190502A (en) * 1986-02-17 1987-08-20 Aichi Mach Ind Co Ltd Origin calculating method of industrial robot
JPH0448307A (en) * 1990-06-18 1992-02-18 Japan Servo Co Ltd Position controller
JPH04289086A (en) * 1991-03-18 1992-10-14 Kobe Steel Ltd Manipulator controller
JPH06230811A (en) * 1992-12-11 1994-08-19 Canon Inc Robot controller
JPH07104810A (en) * 1993-10-06 1995-04-21 Fanuc Ltd Numerical controller
JPH0895621A (en) * 1994-09-20 1996-04-12 Nissan Shatai Co Ltd Original point control method for mobile part and device therefor
JP2000166275A (en) * 1998-11-27 2000-06-16 Matsushita Electric Works Ltd Servo control device by detecting current ripple

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012124674A1 (en) 2011-03-14 2012-09-20 テイ・エス テック株式会社 Ripple extraction device, motor control apparatus, vehicle seat, and ripple extraction method
JP2016014435A (en) * 2014-07-02 2016-01-28 株式会社デンソー Shift range switching control unit
US10144282B2 (en) 2014-07-02 2018-12-04 Denso Corporation Shift position switching device
WO2018199104A1 (en) * 2017-04-27 2018-11-01 アルプス電気株式会社 Electric motor with rotation angle detector, electric motor rotation angle detector, and method for detecting rotation angle of electric motor equipped with commutator
US11289987B2 (en) 2017-04-27 2022-03-29 Alps Alpine Co., Ltd. Motor module, rotation angle detector, and method for detecting rotation angle of motor

Also Published As

Publication number Publication date
JP5155055B2 (en) 2013-02-27

Similar Documents

Publication Publication Date Title
JP5155055B2 (en) Position control device
US5497326A (en) Intelligent commutation pulse detection system to control electric D.C. motors used with automobile accessories
JP3885389B2 (en) State storage
JP5348460B2 (en) State memory controller
CN103171460A (en) Vehicle seat apparatus
US20080119998A1 (en) Seat apparatus for vehicle
JP2002192951A (en) Driving system of winding type cover device for automobile
JP5155056B2 (en) Position control device
US20190126781A1 (en) Vehicle seat device
JP5049225B2 (en) Position control device
JP6315264B2 (en) Vehicle seat control apparatus and control method
JP4691820B2 (en) Motor control device
JP6296557B2 (en) Auxiliary control device
JP4069537B2 (en) State storage
EP0997341B1 (en) Control device for movable member
JP5728950B2 (en) Position control device
JP2016155513A (en) Control device of seat for vehicle and control method
JP5261070B2 (en) DC motor rotation state detection device and DC motor control device
JP2010023811A (en) Position change device
JP2010023812A (en) Position change device
JP2007129825A (en) Controller for moving vehicle seat
JP2010279153A (en) Device for control of vehicle electrical component
JPS63149237A (en) Safety device for power seat
JP5662218B2 (en) Motor control device
JP2010233648A (en) Headrest device for vehicle

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101004

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120202

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120330

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120705

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120920

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20120920

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20121016

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121115

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121206

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

Free format text: PAYMENT UNTIL: 20151214

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5155055

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150