JP2005020898A - Amount-of-movement detecting apparatus and positional controller of motor - Google Patents

Amount-of-movement detecting apparatus and positional controller of motor Download PDF

Info

Publication number
JP2005020898A
JP2005020898A JP2003182810A JP2003182810A JP2005020898A JP 2005020898 A JP2005020898 A JP 2005020898A JP 2003182810 A JP2003182810 A JP 2003182810A JP 2003182810 A JP2003182810 A JP 2003182810A JP 2005020898 A JP2005020898 A JP 2005020898A
Authority
JP
Japan
Prior art keywords
motor
voltage
current
time
rotation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003182810A
Other languages
Japanese (ja)
Inventor
Hideyuki Kanie
英之 蟹江
Kohei Noda
耕平 野田
Hitoshi Hyodo
仁志 兵藤
Yasushi Saito
靖 齋藤
Atsushi Yamamoto
敦 山本
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.)
Aisin Corp
Original Assignee
Aisin Seiki Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aisin Seiki Co Ltd filed Critical Aisin Seiki Co Ltd
Priority to JP2003182810A priority Critical patent/JP2005020898A/en
Publication of JP2005020898A publication Critical patent/JP2005020898A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Of Direct Current Motors (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide the amount-of-movement detecting apparatus of a motor which can detect accurately the amount of movement of the motor by using a simple and low-cost constitution without using a special purpose rotation sensor nor an expensive detector circuit, and to provide a positional controller of the motor. <P>SOLUTION: The amount-of-movement detecting apparatus of the motor includes motor current detecting means 100, motor voltage detecting means 110, motor characteristic holding means 120 for holding rotation characteristic information representing relationship between current and voltage to rotational speed of the motor 1, moving time calculating means 130 for calculating a motor operating time as a motor moving time after a real operating time of the motor with actual motor current and the voltage is calculated in terms of a motor operating time corresponding to a predetermined motor current and voltage based on pieces of information of the motor current detecting means 100, the motor voltage detecting means 110 and the motor characteristic holding means 120, and control means 140 for controlling the operating position of the motor 1 based on the information of the motor moving time obtained by the moving time calculating means 130. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、モータの移動量を検出するモータの移動量検出装置、及び、そのモータの移動量検出装置を備えたモータの位置制御装置に関する。
【0002】
【従来の技術】
上記モータの移動量検出装置は、例えばメモリシート、チルト&テレスコハンドル、パワーウインドウレギュレータなどのモータ駆動の車載用部品において、各部品の動作状態の判断に必要なモータ移動量を検出するものであり、そのモータ移動量の情報に基づいてモータの位置制御装置がモータの動作位置を制御する。具体的には、基準位置からのモータ移動量によって各部品の現在位置(例えば、座席シートの前後スライド位置、上下高さ位置、リクライニング角度等)を判断することができ、また、モータ移動量の変化の有無からパワーウインドウ等での挟み込みの発生を検出することができる。
【0003】
ところで、上記モータ移動量の算出に必要なモータの回転状態の検出には、従来、モータの回転軸に設置した回転センサの出力信号に基づいて検出する方法や、あるいは、モータの回転速度に比例する状態でモータの電流波形に含まれるリップル電流(ブラシノイズ)を回路的に抽出して検出する方法等が用いられていた(例えば特許文献1参照)。
【0004】
【特許文献1】
特開2000−134985号公報
【0005】
【発明が解決しようとする課題】
しかしながら、上記従来技術では、専用の回転センサ又は専用で且つ高価なリップル電流検出回路を必要としていたために、装置コストが高くなっていた。また、回転センサを用いる場合は、さらに回転センサ用の設置スペースや回路との間の結線用のハーネスが必要となる不利もあった。その結果、従来のモータの移動量検出装置及び位置制御装置は一部の高級グレード車等にしか搭載することができなかった。
【0006】
本発明の目的は、上記実情に鑑み、第1に、専用の回転センサや高価な検出回路を用いず、簡素で安価な構成を用いてモータ移動量の高精度の検出が可能であるモータの移動量検出装置を提供することにあり、第2に、上記モータの移動量検出装置を備えて、モータの動作位置を適正に制御することが可能となるモータの位置制御装置を提供することにある。
【0007】
【課題を解決するための手段】
上記目的を実現するための本発明に係るモータの移動量検出装置の第1の特徴構成は、請求項1に記載したように、モータ電流を検出するモータ電流検出手段と、モータ電圧を検出するモータ電圧検出手段と、モータの電流及び電圧対回転速度の関係を表す回転特性情報を保持するモータ特性保持手段と、前記モータ電流検出手段、前記モータ電圧検出手段及び前記モータ特性保持手段の各情報に基づいて、実際のモータ電流及びモータ電圧におけるモータの実作動時間を所定のモータ電流及びモータ電圧に対応したモータ作動時間に換算して、その換算後のモータ作動時間をモータ移動時間として算出する移動時間算出手段とが設けられている点にある。
【0008】
上記構成によれば、モータの電流及び電圧対回転速度の関係を表す回転特性情報がモータ特性保持手段に保持され、そのモータ特性保持手段の保持情報に、モータ電流検出手段の検出情報とモータ電圧検出手段の検出情報を組み合わせることにより、実際のモータ電流及びモータ電圧におけるモータの回転速度が求められるが、上記モータの回転特性では、モータ電流が増加した場合は、回転速度が低下するので、モータの実作動時間が同じでも移動量に対応するモータ移動時間としては短くなり、また、モータ電圧が増加した場合は、回転速度が上昇するので、モータの実作動時間が同じでも上記モータ移動時間としては長くなる。そこで上記モータの電流及び電圧の変化とモータ移動時間との関係を使って、実際のモータ電流及びモータ電圧におけるモータの実作動時間を所定のモータ電流及びモータ電圧におけるモータ作動時間に換算し、この換算後のモータ作動時間をモータ移動時間として算出することができる。
【0009】
すなわち、本発明においては、モータの回転状態を検出するのに専用の回転センサを用いず、使用するモータの回転特性情報を保持することと、モータ電流とモータ電圧の検出に基づいている。そして、このモータ電流とモータ電圧の検出は、モータの電流波形に含まれるリップル電流を回路的に抽出する従来技術に比べてはるかに簡単で安価な回路で実現できる。また、使用するモータの回転特性情報は実験等により正確に求めることが可能であるため、その回転特性情報に基づくモータ回転速度ひいてはモータ移動量に対応するモータ移動時間の検出精度が高くなる。
従って、専用の回転センサや高価な検出回路を用いず、簡素で安価な構成を用いてモータ移動量の高精度の検出が可能であるモータの移動量検出装置が提供される。
【0010】
同第2の特徴構成は、請求項2に記載したように、第1の特徴構成において、前記移動時間算出手段が、所定時間間隔で検出した前記モータ電流の検出値及び前記モータ電圧の検出値の各平均値と前記回転特性情報とに基づいて、前記モータ移動時間を算出する点にある。
【0011】
すなわち、所定時間間隔でモータ電流を検出して得られる複数個のモータ電流の検出値、及び所定時間間隔でモータ電圧を検出して得られる複数個のモータ電圧の検出値について夫々平均値を計算し、前記モータの回転特性情報に、上記モータ電流の平均値とモータ電圧の平均値を組み合わせることにより、実際のモータ電流及びモータ電圧の平均値におけるモータの平均回転速度が求められるので、これに前述のモータの電流及び電圧の変化とモータ移動時間との関係を適用して、実際のモータ電流及びモータ電圧の平均値におけるモータの実作動時間を所定のモータ電流及びモータ電圧に対応したモータ作動時間に換算して、モータ移動時間を算出する。
従って、モータ電流及びモータ電圧の各検出値についての平均処理によってノイズ等の影響によるモータ移動時間即ちモータ移動量の検出精度の低下が回避され、モータの移動量検出装置の好適な実施形態が提供される。
【0012】
同第3の特徴構成は、請求項3に記載したように、第1又は第2の特徴構成において、前記モータ特性保持手段が、前記回転特性情報として、基準のモータ電圧におけるモータの電流対回転速度の関係を表す基準回転特性情報を保持し、前記移動時間算出手段が、前記モータ電流の検出値、前記基準回転特性情報、及び前記基準のモータ電圧に対する前記モータ電圧の検出値の比を用いて、前記モータ移動時間を算出する点にある。
【0013】
すなわち、同じ負荷(トルク)であれば、モータ電圧が変化してもモータ電流は同じ値となるので、基準のモータ電圧におけるモータの電流対回転速度の関係を表す基準回転特性情報にモータ電流の検出値を組み合わせることにより、実際のモータ電流及び基準のモータ電圧におけるモータの回転速度が求められ、これに、基準のモータ電圧に対するモータ電圧の検出値の比を掛けることにより、実際のモータ電流及びモータ電圧におけるモータの回転速度が求められる。これに前述のモータの電流及び電圧の変化とモータ移動時間との関係を使って、モータの実作動時間を所定のモータ電流及びモータ電圧におけるモータ作動時間に換算して、モータ移動時間を算出する。
従って、モータの回転特性情報として基準のモータ電圧における基準回転特性情報だけを保持すればよいので、モータ特性保持手段を構成するROM等の記憶情報量が少なくなって構成が簡素化され、モータの移動量検出装置の好適な実施形態が提供される。
【0014】
同第4の特徴構成は、請求項4に記載したように、第1から第3のいずれかの特徴構成において、前記モータ特性保持手段が、基本となるモータの電流及び電圧対回転速度の関係を表す基本回転特性の記憶情報と、使用対象モータの具体的な回転特性の設定に必要な入力情報とに基づいて、前記回転特性情報を求めて保持する点にある。
【0015】
すなわち、基本となるモータの電流及び電圧対回転速度の関係を表す基本回転特性の記憶情報に、使用対象モータの具体的な回転特性の設定に必要な入力情報を組み合わせて、使用対象モータの回転特性情報を求めて保持する。
従って、具体的な回転特性の設定に必要な入力情報を変更するだけの簡単な操作で、種々のモータの回転特性情報を求めることができるので、使用対象モータの変更に伴って、モータの回転特性を記憶したROM等の記憶部を交換するような面倒な作業を行うことなく、種々の回転特性のモータに容易に対応することができ、モータの移動量検出装置の好適な実施形態が提供される。
【0016】
本発明に係るモータの位置制御装置の特徴構成は、請求項5に記載したように、上記第1から第4のいずれかの特徴構成のモータの移動量検出装置を備え、前記移動時間算出手段にて求められるモータ移動時間の情報に基づいてモータの動作位置を制御する制御手段が設けられている点にある。
【0017】
すなわち、前記モータの移動量検出装置に設けた移動時間算出手段にて求められるモータ移動時間によって、モータの現在の動作位置が判別でき、このモータ移動時間の情報に基づいて、制御手段がモータの動作位置を制御する。
従って、モータの動作位置を適正に制御することが可能となるモータの位置制御装置が提供される。
【0018】
【発明の実施の形態】
本発明に係るモータの移動量検出装置と位置制御装置を車載用部品駆動用のモータに適用した場合の実施の形態について、図面に基づいて説明する。
【0019】
図1及び図2に示すように、モータ1として、座席シートの前後スライド位置を調整するスライドモータ1A、座席シートのリクライニング角度を調整するリクライニングモータ1B、座席シート前部の上下高さ位置を調整するバーチカルフロントモータ1C、座席シート全体の上下高さ位置を調整するリフトモータ1D、及び、窓を開閉するパワーウインドウモータ1Eが設けられている。そして、上記各モータ1のうちシート状態(位置)調整用の各モータ1A〜1Dに対して制御装置2Aから駆動電流が供給され、パワーウインドウモータ1Eに対して制御装置2Bから駆動電流が供給されている。
【0020】
上記各制御装置2A,2Bは、CPU3A,3B、入力インターフェース回路4、情報記憶用のROM、RAMからなるメモリ5等を備えている。制御装置2A,2Bにはバッテリー13が接続され、バッテリー13の出力電圧(例えば12V)は、制御装置2A,2B内の電源回路6で一定の電圧(5V)に安定化された後、CPU3A,3Bに動作用の電源として供給されている。また、バッテリー13の電圧信号は、入力インターフェース回路4を介してCPU3A,3Bに入力されるとともに、イグニッションスイッチ(IGSW)14を経由した後、入力インターフェース回路4を介してCPU3A,3Bに入力されている。
【0021】
シート状態を調整するための操作スイッチとして、スライドモータ1Aを作動させて座席シートを前側及び後側にスライドさせるためのスライド前進スイッチ7aと後退スイッチ7b、リクライニングモータ1Bを作動させて座席シートのリクライニング角度を前側及び後側に倒すためのリクライニング前進スイッチ8aと後退スイッチ8b、バーチカルフロントモータ1Cを作動させて座席シート前部の上下高さ位置を上昇及び下降させるためのバーチカルフロント上昇スイッチ9aと下降スイッチ9b、リフトモータ1Dを作動させて座席シート全体の上下高さ位置を上昇及び下降させるためのリフト上昇スイッチ10aと下降スイッチ10bが設けられている。そして、上記各スイッチの信号は、制御装置2Aの入力インターフェース回路4を介してCPU3Aに入力されている。
【0022】
さらに、メモリシート機能、即ち所定のシート状態(位置)を記憶させて、その記憶したシート状態に自動調整(再生)させる機能のために、第1メモリ再生スイッチ11a、第2メモリ再生スイッチ11b及び記憶スイッチ11cが設けられている。すなわち、第1メモリ再生スイッチ11aと記憶スイッチ11cを同時に押すことにより、そのときのシート位置(後述のモータ移動時間)を第1のシート状態(第1メモリ値と称す)として記憶させる指令信号が、制御装置2Aの入力インターフェース回路4を介してCPU3Aに入力され、第2メモリ再生スイッチ11bと記憶スイッチ11cを同時に押すことにより、そのときのシート位置(後述のモータ移動時間)を第2のシート状態(第2メモリ値と称す)として記憶させる指令信号が、同様にCPU3Aに入力される。そして、上記シート状態(位置)の記憶操作の後、第1又は第2メモリ再生スイッチ11a,11bを押すことにより、第1のシート状態(第1メモリ値)又は第2のシート状態(第2メモリ値)に自動的に調整される。
【0023】
また、パワーウインドウモータ1Eを上昇又は下降作動させて窓を開閉するためのウインドウ閉操作スイッチ12aとウインドウ開操作スイッチ12b、及び全閉検出リミットスイッチ17が設けられ、これら各スイッチ12a,12b,17の信号は、制御装置2Bの入力インターフェース回路4を介してCPU3Bに入力されている。
【0024】
上記制御装置2Aの出力側には、前記各モータ1A〜1Dを独立して駆動するための複数個のリレー15a〜15hが設けられ、各リレー15a〜15hのコイルにCPU3Aから作動信号が出力される。また上記制御装置2Bの出力側には、前記パワーウインドウモータ1Eを独立して駆動するための2個のリレー15i〜15jが設けられ、各リレー15i〜15jのコイルにCPU3Bから作動信号が出力される。具体的には、各モータ1のプラス(+)側端子、マイナス(−)側端子が夫々各リレー15a〜15jの共通端子に接続されるとともに、リレー15a〜15jの2つの切替端子の一方がバッテリー13に接続され、他方が抵抗R3を介して接地されている。従って、上記各リレー15a〜15jが非作動状態のときは、リレー接点は接地側の切替端子に導通し、各モータ1には電流が流れない。
【0025】
ここで、例えばスライドモータ1Aを正転させる場合は、スライドモータ正転用のリレー15aだけにCPU3Aから作動信号を出力して、スライドモータ1Aのプラス(+)側端子にバッテリー13の電圧を供給し、スライドモータ1Aを逆転させる場合は、スライドモータ逆転用のリレー15bだけにCPU3Bから作動信号を出力して、スライドモータ1Aのマイナス(−)側端子にバッテリー13の電圧を供給する。他のモータ1についても同様に対応するリレー15b〜15jを作動させて、正逆方向に回転させることができる。
【0026】
上記モータ1に電流が流れるときに抵抗R3に生じる電圧信号が、増幅回路16を介して各CPU3A,3Bに入力されている。すなわち、抵抗R3に生じる電圧は、モータ電流Imに比例して増減するので、抵抗R3に生じる電圧信号によってモータ電流Imを判別することができる。ただし、モータ1に印加される電圧Vmに比べて抵抗R3での電圧降下が無視できるように、抵抗R3が微小抵抗値に設定されているため、増幅させてからCPU3A,3Bに入力している。なお、増幅回路16はオペアンプ等を用いた回路で構成される。従って、モータ電流Imを検出するモータ電流検出手段100が、抵抗R3、増幅回路16及びCPU3A,3Bによって構成されている。
【0027】
また、バッテリー13の電圧が直列接続された抵抗R1とR2を介して接地され、その抵抗R1とR2の接続点の電圧信号がCPU3A,3Bに入力されている。すなわち、バッテリー13の電圧はモータ1に印加されるモータ電圧Vmに相当し、バッテリー13の電圧の変動に比例して上記抵抗R1とR2の接続点の電圧値も変化するので、上記抵抗R1とR2の接続点の電圧信号によってモータ電圧Vmを判別することができる。従って、モータ電圧Vmを検出するモータ電圧検出手段110が、抵抗R1、抵抗R2及びCPU3A,3Bによって構成されている。
【0028】
次に、前記各モータ1の電流Im及び電圧Vm対回転速度の関係を表す回転特性情報を保持するモータ特性保持手段120が、前記各制御装置2A,2B内のメモリ5を利用して構成されている。すなわち、前記各モータ1は、図3に示すような電流Im及び電圧Vm対回転速度の関係を表す回転特性を有し、この各モータ1の回転特性情報がメモリ5のROMに記憶されている。例えば一分間当りの回転数(rpm)で示されるモータの回転速度は、モータ電圧値Vm(V)に比例して増加するが、モータ電流値Im(A)に比例して減少し、モータロック時(回転数=0)にモータ電流値Im(A)は最大値になる。そして、同じ負荷(トルク)のときは、モータ電圧値Vm(V)が異なってもモータ電流値Im(A)は同じである。そこで、上記モータ特性保持手段120は、上記回転特性情報として、下式に示す数値例のように、基準のモータ電圧Vm(16V)におけるモータ1の電流Im対回転速度の関係を表す基準回転特性情報を保持している。この基準電圧(16V)では、ロック電流は10Aである。なお、各モータ1の回転特性は異なるので、各モータ1別に下式の係数が異なる基準回転特性情報がメモリ5に記憶されている。ただし、以下の説明では、便宜上、各モータ1に対して同じ数式を用いている。
【0029】
【数1】
モータ回転数(rpm)=−600×モータ電流+6000
【0030】
前記モータ電流検出手段100、前記モータ電圧検出手段110及び前記モータ特性保持手段120の各情報に基づいて、実際のモータ電流Im及びモータ電圧Vmにおけるモータ1の実作動時間を所定のモータ電流Im及びモータ電圧Vmに対応したモータ作動時間に換算して、その換算後のモータ作動時間をモータ移動時間として算出する移動時間算出手段130が、前記CPU3A,3B内に設けられている。そして、移動時間算出手段130は、前記モータ電流Imの検出値、前記基準回転特性情報、及び前記基準のモータ電圧(16V)に対する前記モータ電圧Vmの検出値の比を用いて、前記モータ移動時間を算出している。
【0031】
具体的には、上記移動時間算出用の所定のモータ電流Imを無負荷状態に相当する0Aとし、モータ電圧Vmを16Vとする。回転数=0のときに電流値がロック電流値の10Aになり、回転数が最大(無負荷状態)のときに電流値が0Aになるので、図3に示す直線関係より電流値Im(A)時の回転数と0A時の回転数に対する回転数比は次式で表される。
【0032】
【数2】
回転数比=(10−モータ電流)/10
【0033】
従って、モータ電流値Im時のモータ1の実作動時間に上記回転数比を掛け、さらに16Vに対する実際のモータ電圧値Vmの比を掛けて得られる時間が0A時に対応したモータ作動時間になる。モータ1の実作動時間を制御周期2ms(0.002sec)とした場合、モータ移動時間(sec)は下式で与えられる。式から判るように、モータ移動時間は、モータ電圧Vm及びモータ電流Imの条件で実作動時間2msだけモータ1が作動した場合に、所定のモータ電流(0A)及びモータ電圧(16V)ではどれだけの時間(ms)で同じ距離を移動できるかを意味している。例えばモータ電圧Vm=12V、モータ電流Im=5Aの場合のモータ移動時間は0.75msとなる。
【0034】
【数3】
モータ移動時間=0.002×モータ電圧/16×(10−モータ電流)/10
【0035】
さらに、前記移動時間算出手段130は、所定時間間隔(具体的には、前記制御周期2ms)で検出した前記モータ電流Imの検出値及び前記モータ電圧Vmの検出値の各平均値と前記回転特性情報とに基づいて、前記モータ移動時間を算出している。
【0036】
具体的に説明すると、図4に示すように、モータ電流Im及びモータ電圧Vmの各検出値を2ms毎にサンプリングして、今回のサンプリング値と前回のサンプリング値を平均した値を、モータ電流Imの検出値及びモータ電圧Vmの検出値の各平均値とする。そして、この各平均値を数3の式に代入してモータ移動時間を算出している。
【0037】
また、前記移動時間算出手段130にて求められるモータ移動時間の情報に基づいてモータ1の動作位置を制御する制御手段140が、前記CPU3A,3B内に設けられている。モータ1の動作位置の制御として、具体的には、スライドモータ1Aの前後スライド位置制御、リクライニングモータ1Bのリクライニング角度制御、バーチカルフロントモータ1Cの上下位置制御及びリフトモータ1Dの上下位置制御などのシート位置に関する制御と、パワーウインドウモータ1Eに関する開閉制御及び挟み込み検出制御を実行する。
【0038】
次に上記モータ1の動作位置の制御について、以下、図5〜図13に示すフローチャートに基づいて説明する。なお、本実施形態では、車両キーをキーシリンダに差し込んで回すと前記イグニッションスイッチ14がオンし、このイグニッションスイッチ14のオンの後、前記各CPU3A,3Bがモータ1の動作位置の制御処理を開始する。また、CPU3Aが実行するシート位置の制御内容は各モータ1A〜1Dについて共通するので1つの動作フローで説明し、CPU3Bが実行するパワーウインドウモータ1Eの制御を別の動作フローで説明する。
【0039】
シート位置制御のメインフロー(図5)では、最初に、ROM,RAMのチェック、各種制御定数の設定等の初期設定を行った後、2msの制御周期が経過するごとに、AD変換処理、マニュアル処理、メモリ再生、メモリ記憶の各処理を繰り返す。
【0040】
AD変換処理(図6)では、モータ電圧Vmの検出値の読み込みとAD変換、及び、モータ電流Imの検出値の読み込みとAD変換を行い、得られた今回の電圧データと電流データを夫々前回の電圧データ及び電流の記憶データと平均化し、また、次回の処理のために今回の電圧データ及び電流データを夫々前回の電圧データ及び電流データとしてセット(記憶)する。
【0041】
マニュアル処理(図7)では、所定の操作スイッチのオンが検出されると、上記AD変換処理で求めたモータ電圧及びモータ電流の各平均値を前記数3の式に代入して、実作動時間2msでのモータ移動時間を計算する。次に、上記操作スイッチで指令されたモータの回転が正転方向であればモータを正転駆動するとともに、モータ移動時間の現在値に上記2msでの移動時間を加算する。一方、操作スイッチで指令されたモータの回転が逆転方向であればモータを逆転駆動するとともに、モータ移動時間の現在値から上記2msでのモータ移動時間を減算する。操作スイッチがオンでないときは、モータの駆動を停止する。なお、上記モータ移動時間の値については、制御装置2Aにバッテリー13が接続されたときに所定の数値(例えば、10sec)を設定するリセット処理を行っている。
【0042】
メモリ再生処理(図8)では、再生中フラグがオンしているか否かを判断し、再生中フラグがオンしていないときは、前記各メモリ再生スイッチ11a,11bがオンしているか否かを判断し、各メモリ再生スイッチ11a,11bのいずれかがオンしているときは、さらにイグニッションスイッチ14がオンしているか否かを判断する。上記判断の結果、再生中フラグがオンしていないときに、いずれのメモリ再生スイッチ11a,11bもオンされないか、又は、イグニッションスイッチ14がオンしていないときは、モータの駆動を停止するとともに、再生中フラグをオフする。
【0043】
一方、再生中フラグがオンしているとき、及び、再生中フラグがオンしていないが、メモリ再生スイッチ11a,11bのいずれかがオンし且つイグニッションスイッチ14がオンしているときは、再生中フラグをオンした後、前記数3の式によって2ms間でのモータ移動時間を計算する。次に、モータ移動時間の現在値がメモリ値(第1メモリ再生スイッチ11aがオンされたときは第1メモリ値、第2メモリ再生スイッチ11bがオンされたときは第2メモリ値)の許容幅内にあるか否かを判断する。モータ移動時間の現在値がメモリ値の許容幅内にないときは、モータ移動時間の現在値とメモリ値の大小を判断して、モータ移動時間の現在値がメモリ値よりも小であれば、モータを正転駆動するとともに、モータ移動時間の現在値に上記2ms間でのモータ移動時間を加算し、モータ移動時間の現在値がメモリ値よりも大であればモータを逆転駆動するとともに、モータ移動時間の現在値から上記2ms間でのモータ移動時間を減算する。一方、モータ移動時間の現在値がメモリ値の許容幅内にあるときは、モータの駆動を停止するとともに、再生中フラグをオフする。
【0044】
メモリ記憶処理(図9)では、先ずイグニッションスイッチ14がオンしているか否かを判断し、イグニッションスイッチ14がオンしているときは、各メモリ再生スイッチ11a,11bと記憶スイッチ11cがオンしているか否かを判断し、メモリ再生スイッチ11a,11bのいずれかと記憶スイッチ11cが同時にオンしているときにのみ、現在のモータ移動時間を前記メモリ値(第1メモリ再生スイッチ11aがオンされたときは第1メモリ値、第2メモリ再生スイッチ11bがオンされたときは第2メモリ値)として記憶する。
【0045】
パワーウインドウ制御のメインフロー(図10)では、最初に、ROM,RAMのチェック、各種制御定数の設定等の初期設定を行った後、2msの制御周期が経過するごとに、AD変換処理、マニュアル処理、ウインドウ反転作動処理を繰り返す。
【0046】
AD変換処理(図11)では、モータ電圧Vmの検出値の読み込みとAD変換、及び、モータ電流Imの検出値の読み込みとAD変換を行い、得られた今回の電圧データと電流データを夫々前回の電圧データ及び電流の記憶データと平均化し、このモータ電圧及びモータ電流の各平均値を前記数3の式に代入して、2msでのモータ移動時間を計算する。次に、次回の処理のために今回の電圧データ及び電流データを夫々前回の電圧データ及び電流データとしてセット(記憶)し、また、マニュアル処理において一定時間前の2msでのモータ移動時間のデータとして使用するために、今回の2msでのモータ移動時間を記憶する。
【0047】
マニュアル処理(図12)では、開操作スイッチ12bのオンが検出されると、ウインドウを下降作動させ、開操作スイッチ12bと閉操作スイッチ12aが共にオンしていないときはウインドウの作動を停止する。閉操作スイッチ12aがオンしているときは、ウインドウを上昇作動させるとともに、全閉検出リミットスイッチ17がオンしているか否かを判断する。ここで、全閉検出リミットスイッチ17の目的について説明すると、ウインドウを全閉操作するときに、ウインドウの移動速度が低下して挟み込みを誤検出してしまうおそれがあるため、ウインドウが全閉位置に達する直前にオンする全閉検出リミットスイッチ17を設け、この全閉検出リミットスイッチ17がオンしているときは、後述の挟み込み検出制御をマスクするようにしている。
【0048】
上記ウインドウの上昇作動中に全閉検出リミットスイッチ17がオンしていなければ、前記AD変換処理で求めて記憶させた一定時間前の2msでのモータ移動時間と、今回求めた2msでのモータ移動時間の差によって、モータ移動時間の変化量を演算する。そして、そのモータ移動時間の変化量が所定の閾値以上のときは、起動マスク中か否かを判断し、起動マスク中でない場合のみ、挟み込み検出制御状態に移行して、ウインドウを下降作動させるとともに、ウインドウ反転作動フラグをオンする。ここで、上記起動マスクの目的について説明すると、起動直後のモータ回転数(即ちモータ移動時間)は変動が大きく、また、一定時間前の比較用のモータ移動時間のデータもないので、起動から一定時間は挟み込み検出制御を行わないようにマスクしている。一方、ウインドウの上昇作動中に全閉検出リミットスイッチ17がオンしたときは、モータロック状態か否かを判断し、モータロック状態であればウインドウの作動を停止する。
【0049】
ウインドウ反転作動処理(図13)では、ウインドウ反転作動フラグがオンしていなければ、反転タイマー値を0にリセットする。ウインドウ反転作動フラグがオンであれば、反転タイマー値に1を加算する。すなわち、2msの制御周期ごとに反転タイマー値が1増加する。そして、反転タイマー値が所定の数値に設定した反転設定値に達すると、ウインドウの作動を停止するとともに、ウインドウ反転作動フラグをオフする。
【0050】
〔別実施の形態〕
上記実施形態では、モータ特性保持手段120が、使用対象モータの具体的な回転特性を保持する(メモリ5に記憶する)ように構成したが、種々の回転特性のモータに対応できるように、モータ特性保持手段120が、基本となるモータの電流及び電圧対回転速度の関係を表す基本回転特性の記憶情報と、使用対象モータの具体的な回転特性の設定に必要な入力情報とに基づいて、前記回転特性情報を求めて保持するように構成することができる。
【0051】
上記基本回転特性と回転特性の設定のための入力情報について、基準回転特性(基準のモータ電圧16V)の場合を例に説明すると、先ず、下記の数4に示す式を基本回転特性としてメモリ5のROMに記憶しておく。そして、モータ電流値Im(A)がゼロの時の回転数α(rpm)、及び、モータ電流値Im(A)に比例して回転数が減少する上記式の傾きβの具体的な数値を、図15に示すように、ポテンショメータP1,P2を用いて、前記制御装置2A,3Aの各CPU3A,3Bに電圧情報として入力すると、各CPU3A,3Bが、電圧情報から判別したαとβの具体的な数値を上記数4の式に代入して使用対象モータの具体的な回転特性(図14に2つの特性例を示す)を算出し、メモリ5に記憶させる。なお、図15では、各種スイッチ類、リレー等の図示は省略している。
【0052】
【数4】
モータ回転数(rpm)=−β×モータ電流値(A)+α
【0053】
因みに、上記αとβの入力情報に基づいて算出した基準回転特性(基準のモータ電圧16V)によって、モータ電流値Im(A)がゼロの時の回転数αとともに、前記数2及び数3の式中に現れるロック電流値が定まることになる。
【0054】
上記実施形態では、モータ特性保持手段120が、基準のモータ電圧(16V)における基準回転特性情報を保持するように構成したが、使用可能範囲の各モータ電圧における電流及び対回転速度の関係を表す回転特性情報を保持するようにしてもよい。
また、上記実施形態では、モータ1の回転特性情報を、式の形で保持するように構成したが、細かい間隔で設定した各モータ電流及びモータ電圧値に対応する回転速度の値をマップ形式で記憶保持するように構成してもよい。
【0055】
上記実施形態では、モータ電圧検出手段110が、モータ電流検出用の抵抗R3に生じる電圧降下が微小であるため、バッテリー13の電圧をそのままモータ電圧Vmとして検出するように構成したが、モータ電流検出用の抵抗R3による誤差分の影響を除去するために、モータ電流検出用の抵抗R3に生じる電圧降下分をバッテリー13の電圧から引いてモータ電圧Vmとする構成も可能である。
【0056】
上記実施形態では、モータ電流検出手段100及びモータ電圧検出手段110が、モータ電流Im及びモータ電圧Vmの平均値をモータ移動時間の算出に用いたが、平均値ではなく2ms毎に得られる各検出値をそのままモータ移動時間の算出に用いるようにしてもよい。また、平均値を使用する場合も、2回の検出値の平均値ではなく、3回以上の検出値の平均値を求めるようにしてもよい。
【0057】
上記実施形態では、本発明のモータの移動量検出装置及び位置制御装置を車載用部品のモータ駆動に適用したが、車載用以外の各種用途のモータ駆動部品に適用することができる。
【図面の簡単な説明】
【図1】本発明のモータの移動量検出装置及び位置制御装置の構成を示す回路図
【図2】本発明のモータの移動量検出装置及び位置制御装置の構成を示す回路図
【図3】モータの回転特性情報の一例を示すグラフ
【図4】モータ電流及びモータ電圧の検出を示すタイムチャート
【図5】制御のフローチャート図
【図6】制御のフローチャート図
【図7】制御のフローチャート図
【図8】制御のフローチャート図
【図9】制御のフローチャート図
【図10】制御のフローチャート図
【図11】制御のフローチャート図
【図12】制御のフローチャート図
【図13】制御のフローチャート図
【図14】別実施形態におけるモータの回転特性情報の設定例を示すグラフ
【図15】別実施形態のモータの移動量検出装置の要部を示す回路図
【符号の説明】
1 モータ
100 モータ電流検出手段
110 モータ電圧検出手段
120 モータ特性保持手段
130 移動時間算出手段
140 制御手段
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a motor movement amount detection device that detects a movement amount of a motor, and a motor position control device including the motor movement amount detection device.
[0002]
[Prior art]
The above-mentioned motor movement amount detection device detects the motor movement amount necessary for determining the operation state of each component in motor-driven in-vehicle components such as a memory seat, a tilt & telescopic handle, and a power window regulator. Based on the information on the motor movement amount, the motor position control device controls the operating position of the motor. Specifically, the current position of each component (for example, the front / rear slide position, vertical height position, reclining angle, etc.) of each part can be determined from the motor movement amount from the reference position, and the motor movement amount The occurrence of pinching in the power window or the like can be detected from the presence or absence of the change.
[0003]
By the way, the detection of the rotation state of the motor necessary for the calculation of the motor movement amount is conventionally performed based on the detection method based on the output signal of the rotation sensor installed on the rotation shaft of the motor, or proportional to the rotation speed of the motor. In this state, a method of extracting and detecting ripple current (brush noise) included in the current waveform of the motor in a circuit manner has been used (see, for example, Patent Document 1).
[0004]
[Patent Document 1]
JP 2000-134985 A
[Problems to be solved by the invention]
However, in the above prior art, since a dedicated rotation sensor or a dedicated and expensive ripple current detection circuit is required, the apparatus cost is high. Further, when the rotation sensor is used, there is a disadvantage that an installation space for the rotation sensor and a harness for connection with the circuit are required. As a result, the conventional motor movement amount detection device and position control device could only be installed in some high-grade grade vehicles.
[0006]
In view of the above circumstances, the object of the present invention is to provide a motor that can detect the motor movement amount with high accuracy using a simple and inexpensive configuration without using a dedicated rotation sensor or an expensive detection circuit. To provide a movement amount detection device, and secondly, to provide a motor position control device that includes the motor movement amount detection device and can control the operation position of the motor appropriately. is there.
[0007]
[Means for Solving the Problems]
In order to achieve the above object, a first characteristic configuration of a motor movement amount detection device according to the present invention is the motor current detection means for detecting the motor current and the motor voltage as described in claim 1. Information on motor voltage detection means, motor characteristic holding means for holding rotation characteristic information representing the relationship between motor current and voltage versus rotation speed, and information on the motor current detection means, motor voltage detection means, and motor characteristic holding means Based on the above, the actual operation time of the motor at the actual motor current and motor voltage is converted into the motor operation time corresponding to the predetermined motor current and motor voltage, and the converted motor operation time is calculated as the motor movement time. The travel time calculation means is provided.
[0008]
According to the above configuration, the rotation characteristic information indicating the relationship between the motor current and the voltage versus the rotation speed is held in the motor characteristic holding unit, and the detection information of the motor current detection unit and the motor voltage are included in the holding information of the motor characteristic holding unit. By combining the detection information of the detection means, the rotational speed of the motor at the actual motor current and motor voltage is obtained. However, in the rotational characteristics of the motor, if the motor current increases, the rotational speed decreases. Even if the actual operating time of the motor is the same, the motor moving time corresponding to the moving amount becomes shorter, and when the motor voltage increases, the rotational speed increases. Becomes longer. Therefore, using the relationship between the motor current and voltage changes and the motor movement time, the actual motor operating time at the actual motor current and motor voltage is converted into the motor operating time at the predetermined motor current and motor voltage. The motor operation time after conversion can be calculated as the motor movement time.
[0009]
In other words, the present invention is based on the detection of the motor current and the motor voltage, and the holding of the rotation characteristic information of the motor to be used without using a dedicated rotation sensor to detect the rotation state of the motor. The detection of the motor current and the motor voltage can be realized by a circuit that is much simpler and less expensive than the conventional technique that extracts the ripple current contained in the current waveform of the motor in a circuit form. In addition, since the rotational characteristic information of the motor to be used can be accurately obtained through experiments or the like, the detection accuracy of the motor rotational speed based on the rotational characteristic information, and hence the motor movement time corresponding to the motor movement amount, is increased.
Therefore, there is provided a motor movement amount detection device capable of detecting the motor movement amount with high accuracy using a simple and inexpensive configuration without using a dedicated rotation sensor or an expensive detection circuit.
[0010]
According to the second characteristic configuration, as described in claim 2, the motor current detection value and the motor voltage detection value detected by the movement time calculation unit at predetermined time intervals in the first characteristic configuration. The motor travel time is calculated on the basis of each average value and the rotation characteristic information.
[0011]
That is, the average value is calculated for each of the detected values of the plurality of motor currents obtained by detecting the motor current at a predetermined time interval and the detected values of the plurality of motor voltages obtained by detecting the motor voltage at a predetermined time interval. Then, by combining the average value of the motor current and the average value of the motor voltage with the rotation characteristic information of the motor, the average rotation speed of the motor at the actual average value of the motor current and the motor voltage can be obtained. Applying the relationship between the motor current and voltage changes described above and the motor travel time, the motor operating time corresponding to the predetermined motor current and motor voltage can be obtained by using the actual motor current and motor voltage average value. Converted to time, the motor travel time is calculated.
Accordingly, the average processing for each detected value of the motor current and the motor voltage avoids a decrease in detection accuracy of the motor movement time, that is, the motor movement amount due to the influence of noise or the like, and provides a preferred embodiment of the motor movement amount detection device. Is done.
[0012]
According to the third characteristic configuration, as described in claim 3, in the first or second characteristic configuration, the motor characteristic holding means uses, as the rotation characteristic information, the motor current versus rotation at a reference motor voltage. Reference rotation characteristic information representing a speed relationship is held, and the movement time calculation means uses the detected value of the motor current, the reference rotation characteristic information, and the ratio of the detected value of the motor voltage to the reference motor voltage. Thus, the motor moving time is calculated.
[0013]
That is, if the load is the same (torque), the motor current remains the same even if the motor voltage changes. Therefore, the motor current is included in the reference rotation characteristic information indicating the relationship between the motor current and the rotation speed at the reference motor voltage. By combining the detected values, the rotational speed of the motor at the actual motor current and the reference motor voltage is obtained, and by multiplying this by the ratio of the detected value of the motor voltage to the reference motor voltage, the actual motor current and The rotation speed of the motor at the motor voltage is determined. By using the relationship between the motor current and voltage changes and the motor movement time, the actual operation time of the motor is converted into the motor operation time at a predetermined motor current and motor voltage, and the motor movement time is calculated. .
Therefore, since only the reference rotation characteristic information at the reference motor voltage needs to be held as the rotation characteristic information of the motor, the amount of stored information such as ROM constituting the motor characteristic holding means is reduced, and the configuration is simplified. A preferred embodiment of the movement amount detection device is provided.
[0014]
According to the fourth feature configuration, as described in claim 4, in any one of the first to third feature configurations, the motor characteristic holding means is a relationship between a basic motor current and voltage versus rotational speed. The rotation characteristic information is obtained and held based on the storage information of the basic rotation characteristic representing the above and the input information necessary for setting the specific rotation characteristic of the motor to be used.
[0015]
In other words, the basic rotation characteristics storage information representing the relationship between the current and voltage of the basic motor and the rotation speed is combined with the input information necessary for setting the specific rotation characteristics of the target motor, and the rotation of the target motor Find and retain property information.
Therefore, since the rotation characteristic information of various motors can be obtained by a simple operation by simply changing the input information necessary for setting the specific rotation characteristic, the rotation of the motor is changed as the target motor is changed. Provided a preferred embodiment of a motor movement amount detection device that can easily cope with a motor having various rotational characteristics without performing troublesome work such as replacing a storage unit such as a ROM storing characteristics. Is done.
[0016]
According to a fifth aspect of the present invention, there is provided a motor position control device comprising the motor movement amount detection device according to any one of the first to fourth features, wherein the movement time calculation means is provided. Is provided with a control means for controlling the operation position of the motor based on the information of the motor moving time obtained in (1).
[0017]
That is, the current operating position of the motor can be determined based on the motor moving time obtained by the moving time calculating means provided in the motor moving amount detecting device. Based on the information on the motor moving time, the control means Control the operating position.
Therefore, a motor position control device capable of appropriately controlling the operation position of the motor is provided.
[0018]
DETAILED DESCRIPTION OF THE INVENTION
An embodiment in which the motor movement amount detection device and the position control device according to the present invention are applied to a motor for driving a vehicle-mounted component will be described with reference to the drawings.
[0019]
As shown in FIG. 1 and FIG. 2, as the motor 1, a slide motor 1 </ b> A that adjusts the front / rear slide position of the seat seat, a reclining motor 1 </ b> B that adjusts the reclining angle of the seat seat, and the vertical height position of the front portion of the seat seat are adjusted. A vertical front motor 1 </ b> C that performs the lift, a lift motor 1 </ b> D that adjusts the vertical height position of the entire seat, and a power window motor 1 </ b> E that opens and closes the window are provided. A driving current is supplied from the control device 2A to the motors 1A to 1D for adjusting the sheet state (position) among the motors 1, and a driving current is supplied from the control device 2B to the power window motor 1E. ing.
[0020]
Each of the control devices 2A and 2B includes CPUs 3A and 3B, an input interface circuit 4, a ROM for storing information, a memory 5 including a RAM, and the like. A battery 13 is connected to the control devices 2A and 2B, and the output voltage (for example, 12V) of the battery 13 is stabilized at a constant voltage (5V) by the power supply circuit 6 in the control devices 2A and 2B, and then the CPU 3A, 3B is supplied as a power source for operation. Further, the voltage signal of the battery 13 is input to the CPUs 3A and 3B via the input interface circuit 4, and is also input to the CPUs 3A and 3B via the input interface circuit 4 after passing through the ignition switch (IGSW) 14. Yes.
[0021]
As operation switches for adjusting the seat state, the slide motor 1A is operated to slide the seat forward and backward, the slide forward switch 7a and the reverse switch 7b, and the reclining motor 1B are operated to recline the seat. Reclining forward switch 8a and reverse switch 8b for tilting the angle forward and rear, and vertical front ascent switch 9a for lowering the vertical height position of the seat seat front by operating the vertical front motor 1C and lowering A lift raising switch 10a and a lowering switch 10b are provided for operating the switch 9b and the lift motor 1D to raise and lower the vertical height position of the entire seat. And the signal of each said switch is input into CPU3A via the input interface circuit 4 of 2 A of control apparatuses.
[0022]
Further, for the memory sheet function, that is, a function of storing a predetermined sheet state (position) and automatically adjusting (reproducing) the stored sheet state, the first memory reproduction switch 11a, the second memory reproduction switch 11b, and A storage switch 11c is provided. That is, by simultaneously pressing the first memory regeneration switch 11a and the storage switch 11c, a command signal for storing the current sheet position (motor movement time described later) as the first sheet state (referred to as a first memory value) is generated. When the second memory playback switch 11b and the storage switch 11c are pressed simultaneously through the input interface circuit 4 of the control device 2A and the second memory reproduction switch 11b is pressed simultaneously, the sheet position (motor movement time described later) is set to the second sheet. A command signal to be stored as a state (referred to as a second memory value) is similarly input to the CPU 3A. Then, after the storage operation of the sheet state (position), the first sheet state (first memory value) or the second sheet state (second) is pressed by pressing the first or second memory reproduction switch 11a, 11b. Memory value) is automatically adjusted.
[0023]
Further, a window closing operation switch 12a, a window opening operation switch 12b, and a full closing detection limit switch 17 for opening and closing the window by raising or lowering the power window motor 1E are provided. These switches 12a, 12b, 17 Is input to the CPU 3B via the input interface circuit 4 of the control device 2B.
[0024]
A plurality of relays 15a to 15h for independently driving the motors 1A to 1D are provided on the output side of the control device 2A, and an operation signal is output from the CPU 3A to the coils of the relays 15a to 15h. The Further, two relays 15i to 15j for independently driving the power window motor 1E are provided on the output side of the control device 2B, and an operation signal is output from the CPU 3B to the coils of the relays 15i to 15j. The Specifically, the plus (+) side terminal and the minus (−) side terminal of each motor 1 are connected to the common terminals of the relays 15a to 15j, respectively, and one of the two switching terminals of the relays 15a to 15j is connected. The battery 13 is connected and the other is grounded via a resistor R3. Therefore, when each of the relays 15a to 15j is inactive, the relay contact is conducted to the switching terminal on the ground side, and no current flows through each motor 1.
[0025]
Here, for example, when the slide motor 1A is rotated forward, the operation signal is output from the CPU 3A only to the relay 15a for normal rotation of the slide motor, and the voltage of the battery 13 is supplied to the plus (+) side terminal of the slide motor 1A. When reversing the slide motor 1A, the CPU 3B outputs an operation signal only to the slide motor reversing relay 15b to supply the voltage of the battery 13 to the minus (−) side terminal of the slide motor 1A. The other motors 1 can be similarly rotated by rotating the corresponding relays 15b to 15j.
[0026]
A voltage signal generated in the resistor R3 when a current flows through the motor 1 is input to the CPUs 3A and 3B via the amplifier circuit 16. That is, since the voltage generated in the resistor R3 increases and decreases in proportion to the motor current Im, the motor current Im can be determined from the voltage signal generated in the resistor R3. However, since the resistance R3 is set to a very small resistance value so that the voltage drop at the resistance R3 can be ignored as compared with the voltage Vm applied to the motor 1, it is input to the CPUs 3A and 3B after being amplified. . The amplifier circuit 16 is composed of a circuit using an operational amplifier or the like. Therefore, the motor current detecting means 100 for detecting the motor current Im is constituted by the resistor R3, the amplifier circuit 16, and the CPUs 3A and 3B.
[0027]
The voltage of the battery 13 is grounded via resistors R1 and R2 connected in series, and a voltage signal at the connection point of the resistors R1 and R2 is input to the CPUs 3A and 3B. That is, the voltage of the battery 13 corresponds to the motor voltage Vm applied to the motor 1, and the voltage value at the connection point of the resistors R1 and R2 changes in proportion to the fluctuation of the voltage of the battery 13, so that the resistor R1 The motor voltage Vm can be determined from the voltage signal at the connection point of R2. Therefore, the motor voltage detecting means 110 for detecting the motor voltage Vm is constituted by the resistor R1, the resistor R2, and the CPUs 3A and 3B.
[0028]
Next, motor characteristic holding means 120 that holds rotation characteristic information representing the relationship between the current Im and voltage Vm of each motor 1 and the rotation speed is configured using the memory 5 in each of the control devices 2A and 2B. ing. That is, each motor 1 has a rotation characteristic representing the relationship between the current Im and voltage Vm versus the rotation speed as shown in FIG. 3, and the rotation characteristic information of each motor 1 is stored in the ROM of the memory 5. . For example, the rotational speed of the motor indicated by the number of revolutions per minute (rpm) increases in proportion to the motor voltage value Vm (V), but decreases in proportion to the motor current value Im (A), and the motor lock. The motor current value Im (A) becomes the maximum value at the time (number of revolutions = 0). When the load (torque) is the same, the motor current value Im (A) is the same even if the motor voltage value Vm (V) is different. Therefore, the motor characteristic holding means 120 uses the reference rotation characteristic representing the relationship between the current Im of the motor 1 and the rotation speed at the reference motor voltage Vm (16 V) as the rotation characteristic information, as in the numerical example shown in the following equation. Holds information. With this reference voltage (16V), the lock current is 10A. Since the rotational characteristics of each motor 1 are different, reference rotational characteristic information having different coefficients of the following equation is stored in the memory 5 for each motor 1. However, in the following description, the same mathematical formula is used for each motor 1 for convenience.
[0029]
[Expression 1]
Motor rotation speed (rpm) = − 600 × motor current + 6000
[0030]
Based on the information of the motor current detecting means 100, the motor voltage detecting means 110, and the motor characteristic holding means 120, the actual motor current Im and the actual operating time of the motor 1 at the motor voltage Vm are determined as a predetermined motor current Im and The CPU 3A, 3B is provided with travel time calculation means 130 for converting the motor operation time corresponding to the motor voltage Vm and calculating the converted motor operation time as the motor movement time. Then, the moving time calculation means 130 uses the detected value of the motor current Im, the reference rotation characteristic information, and the ratio of the detected value of the motor voltage Vm to the reference motor voltage (16V) to calculate the motor moving time. Is calculated.
[0031]
Specifically, the predetermined motor current Im for calculating the travel time is set to 0A corresponding to the no-load state, and the motor voltage Vm is set to 16V. Since the current value becomes 10A of the lock current value when the rotational speed = 0, and the current value becomes 0A when the rotational speed is maximum (no load state), the current value Im (A ) And the rotation speed ratio with respect to the rotation speed at 0A is expressed by the following equation.
[0032]
[Expression 2]
Rotational speed ratio = (10−motor current) / 10
[0033]
Therefore, the time obtained by multiplying the actual operation time of the motor 1 at the motor current value Im by the rotation speed ratio and the ratio of the actual motor voltage value Vm to 16V is the motor operation time corresponding to 0A. When the actual operating time of the motor 1 is 2 ms (0.002 sec), the motor moving time (sec) is given by the following equation. As can be seen from the equation, when the motor 1 is operated for the actual operation time of 2 ms under the conditions of the motor voltage Vm and the motor current Im, how long the motor travel time is at the predetermined motor current (0 A) and motor voltage (16 V). It means that the same distance can be moved in the time (ms). For example, when the motor voltage Vm = 12 V and the motor current Im = 5 A, the motor moving time is 0.75 ms.
[0034]
[Equation 3]
Motor travel time = 0.002 × motor voltage / 16 × (10−motor current) / 10
[0035]
Further, the moving time calculating means 130 calculates the average value of the detected value of the motor current Im and the detected value of the motor voltage Vm detected at a predetermined time interval (specifically, the control period 2 ms) and the rotation characteristic. The motor movement time is calculated based on the information.
[0036]
More specifically, as shown in FIG. 4, the detected values of the motor current Im and the motor voltage Vm are sampled every 2 ms, and a value obtained by averaging the current sampling value and the previous sampling value is obtained as the motor current Im. And the average value of the detected value of the motor voltage Vm. Then, the motor moving time is calculated by substituting each average value into the equation (3).
[0037]
Further, control means 140 for controlling the operating position of the motor 1 based on the information on the motor movement time obtained by the movement time calculation means 130 is provided in the CPUs 3A and 3B. As the control of the operation position of the motor 1, specifically, the front and rear slide position control of the slide motor 1A, the reclining angle control of the reclining motor 1B, the vertical position control of the vertical front motor 1C, and the vertical position control of the lift motor 1D, etc. Control relating to position, opening / closing control and pinching detection control relating to the power window motor 1E are executed.
[0038]
Next, the control of the operation position of the motor 1 will be described based on the flowcharts shown in FIGS. In the present embodiment, when the vehicle key is inserted into the key cylinder and turned, the ignition switch 14 is turned on. After the ignition switch 14 is turned on, the CPUs 3A and 3B start control processing of the operating position of the motor 1. To do. Further, since the control contents of the seat position executed by the CPU 3A are common to the motors 1A to 1D, only one operation flow will be described, and the control of the power window motor 1E executed by the CPU 3B will be described using another operation flow.
[0039]
In the main flow of sheet position control (FIG. 5), after initial setting such as checking ROM and RAM, setting various control constants, etc., every time a control period of 2 ms elapses, AD conversion processing, manual The processing, memory playback, and memory storage are repeated.
[0040]
In the AD conversion process (FIG. 6), reading of the detected value of the motor voltage Vm and AD conversion, and reading of the detected value of the motor current Im and AD conversion are performed, and the obtained current voltage data and current data are respectively used in the previous time. And the current voltage data and current data are set (stored) as the previous voltage data and current data, respectively, for the next processing.
[0041]
In the manual process (FIG. 7), when the ON of a predetermined operation switch is detected, the average values of the motor voltage and the motor current obtained by the AD conversion process are substituted into the formula 3 to obtain the actual operation time. Calculate the motor travel time in 2 ms. Next, if the rotation of the motor commanded by the operation switch is in the normal rotation direction, the motor is driven to rotate forward, and the moving time at 2 ms is added to the current value of the motor moving time. On the other hand, if the rotation of the motor commanded by the operation switch is in the reverse rotation direction, the motor is driven in reverse rotation, and the motor movement time at 2 ms is subtracted from the current value of the motor movement time. When the operation switch is not on, the motor drive is stopped. In addition, about the value of the said motor movement time, the reset process which sets a predetermined | prescribed numerical value (for example, 10 sec) is performed when the battery 13 is connected to 2 A of control apparatuses.
[0042]
In the memory reproduction process (FIG. 8), it is determined whether or not the reproducing flag is on. If the reproducing flag is not on, it is determined whether or not each of the memory reproduction switches 11a and 11b is on. If any one of the memory reproduction switches 11a and 11b is turned on, it is further determined whether or not the ignition switch 14 is turned on. As a result of the above determination, when any of the memory reproduction switches 11a and 11b is not turned on when the reproducing flag is not turned on, or when the ignition switch 14 is not turned on, the driving of the motor is stopped, Turn off the playing flag.
[0043]
On the other hand, when the playing flag is turned on and when the playing flag is not turned on but any of the memory playing switches 11a and 11b is turned on and the ignition switch 14 is turned on, the playing is being performed. After the flag is turned on, the motor movement time in 2 ms is calculated by the equation (3). Next, the allowable value of the current value of the motor movement time is a memory value (a first memory value when the first memory regeneration switch 11a is turned on and a second memory value when the second memory regeneration switch 11b is turned on). It is judged whether it is in. When the current value of the motor movement time is not within the allowable range of the memory value, the current value of the motor movement time and the magnitude of the memory value are judged, and if the current value of the motor movement time is smaller than the memory value, While driving the motor in the normal direction, the motor moving time in the above 2 ms is added to the current value of the motor moving time, and if the current value of the motor moving time is larger than the memory value, the motor is driven in the reverse direction. The motor movement time in the above 2 ms is subtracted from the current value of the movement time. On the other hand, when the current value of the motor movement time is within the allowable range of the memory value, the motor driving is stopped and the reproducing flag is turned off.
[0044]
In the memory storage process (FIG. 9), first, it is determined whether or not the ignition switch 14 is turned on. When the ignition switch 14 is turned on, the memory reproduction switches 11a and 11b and the storage switch 11c are turned on. Only when one of the memory regeneration switches 11a and 11b and the storage switch 11c are turned on at the same time, the current motor movement time is set to the memory value (when the first memory regeneration switch 11a is turned on). Is stored as a first memory value, or a second memory value when the second memory regeneration switch 11b is turned on.
[0045]
In the main flow of power window control (FIG. 10), after initial setting such as checking ROM and RAM, setting of various control constants, etc., every time a control period of 2 ms elapses, AD conversion processing, manual The process and the window reversal operation process are repeated.
[0046]
In the AD conversion process (FIG. 11), reading of the detected value of the motor voltage Vm and AD conversion, and reading of the detected value of the motor current Im and AD conversion are performed, and the obtained current voltage data and current data are respectively used in the previous time. And the average data of the motor voltage and the motor current are substituted into the formula 3 to calculate the motor moving time in 2 ms. Next, for the next processing, the current voltage data and current data are set (stored) as the previous voltage data and current data, respectively, and the motor movement time data at 2 ms before a certain time in manual processing. For use, the current motor movement time in 2 ms is stored.
[0047]
In manual processing (FIG. 12), when the opening operation switch 12b is turned on, the window is lowered, and when both the opening operation switch 12b and the closing operation switch 12a are not turned on, the operation of the window is stopped. When the closing operation switch 12a is on, the window is raised and it is determined whether or not the full-closing detection limit switch 17 is on. Here, the purpose of the fully closed detection limit switch 17 will be described. When the window is fully closed, the moving speed of the window may be reduced and pinching may be erroneously detected. A full-closed detection limit switch 17 that is turned on immediately before reaching is provided, and when the full-closed detection limit switch 17 is turned on, the pinch detection control described later is masked.
[0048]
If the full-closed detection limit switch 17 is not turned on during the window raising operation, the motor movement time in 2 ms before the predetermined time obtained and stored in the AD conversion process and the motor movement in 2 ms obtained this time The amount of change in motor travel time is calculated from the time difference. When the amount of change in the motor movement time is equal to or greater than a predetermined threshold value, it is determined whether or not the activation mask is in operation. Only when the activation mask is not in operation, the pinch detection control state is entered and the window is lowered. Then, the window reverse operation flag is turned on. Here, the purpose of the start mask will be described. The motor speed immediately after start (that is, the motor travel time) fluctuates greatly, and there is no data on the motor travel time for comparison before a certain time. The time is masked so as not to perform the pinching detection control. On the other hand, when the fully closed detection limit switch 17 is turned on during the window raising operation, it is determined whether or not the motor is locked. If the motor is locked, the window operation is stopped.
[0049]
In the window inversion operation process (FIG. 13), if the window inversion operation flag is not turned on, the inversion timer value is reset to zero. If the window reverse operation flag is on, 1 is added to the reverse timer value. That is, the inversion timer value is increased by 1 every control period of 2 ms. When the inversion timer value reaches the inversion set value set to a predetermined numerical value, the window operation is stopped and the window inversion operation flag is turned off.
[0050]
[Another embodiment]
In the above embodiment, the motor characteristic holding means 120 is configured to hold the specific rotation characteristic of the motor to be used (stored in the memory 5). However, the motor characteristic holding unit 120 can be adapted to motors having various rotation characteristics. Based on the storage information of the basic rotation characteristic that represents the relationship between the current and voltage of the basic motor and the rotation speed, and the input information necessary for setting the specific rotation characteristic of the motor to be used, the characteristic holding unit 120 The rotation characteristic information can be obtained and held.
[0051]
The basic rotation characteristic and the input information for setting the rotation characteristic will be described by taking the case of the reference rotation characteristic (reference motor voltage 16V) as an example. This is stored in the ROM. Then, a specific numerical value of the rotational speed α (rpm) when the motor current value Im (A) is zero and the slope β of the above formula where the rotational speed decreases in proportion to the motor current value Im (A). As shown in FIG. 15, when the potentiometers P1 and P2 are used to input voltage information to the CPUs 3A and 3B of the control devices 2A and 3A, the CPUs 3A and 3B determine the specific values of α and β determined from the voltage information. A specific rotational characteristic (two characteristic examples are shown in FIG. 14) of the motor to be used is calculated by substituting the numerical value into the above formula 4, and stored in the memory 5. In FIG. 15, illustration of various switches and relays is omitted.
[0052]
[Expression 4]
Motor rotation speed (rpm) = − β × motor current value (A) + α
[0053]
Incidentally, the reference rotation characteristics (reference motor voltage 16V) calculated based on the input information of α and β described above, together with the rotation speed α when the motor current value Im (A) is zero, The lock current value that appears in the equation is determined.
[0054]
In the above embodiment, the motor characteristic holding unit 120 is configured to hold the reference rotation characteristic information at the reference motor voltage (16 V), but represents the relationship between the current at each motor voltage in the usable range and the rotational speed. You may make it hold | maintain rotation characteristic information.
In the above embodiment, the rotational characteristic information of the motor 1 is held in the form of an expression. However, the rotational speed value corresponding to each motor current and motor voltage value set at fine intervals is displayed in a map format. You may comprise so that it may memorize | store.
[0055]
In the above embodiment, the motor voltage detection unit 110 is configured to detect the voltage of the battery 13 as it is as the motor voltage Vm because the voltage drop generated in the motor current detection resistor R3 is very small. In order to eliminate the influence of the error due to the resistor R3 for the motor, a configuration in which the voltage drop generated in the resistor R3 for detecting the motor current is subtracted from the voltage of the battery 13 to obtain the motor voltage Vm is also possible.
[0056]
In the above embodiment, the motor current detection unit 100 and the motor voltage detection unit 110 use the average value of the motor current Im and the motor voltage Vm for calculation of the motor movement time, but each detection obtained every 2 ms instead of the average value. You may make it use a value for calculation of motor movement time as it is. Moreover, when using an average value, you may make it obtain | require the average value of 3 times or more of detected values instead of the average value of 2 times of detected values.
[0057]
In the above-described embodiment, the motor movement amount detection device and the position control device of the present invention are applied to motor driving of in-vehicle components, but can be applied to motor driving components for various uses other than in-vehicle use.
[Brief description of the drawings]
FIG. 1 is a circuit diagram showing a configuration of a motor movement amount detection device and a position control device according to the present invention. FIG. 2 is a circuit diagram showing a configuration of a motor movement amount detection device and a position control device according to the present invention. FIG. 4 is a graph showing an example of motor rotation characteristic information. FIG. 4 is a time chart showing detection of motor current and motor voltage. FIG. 5 is a flowchart of control. FIG. 6 is a flowchart of control. 8 is a flowchart of control. FIG. 9 is a flowchart of control. FIG. 10 is a flowchart of control. FIG. 12 is a flowchart of control. FIG. FIG. 15 is a graph showing a setting example of motor rotation characteristic information in another embodiment. FIG. 15 is a circuit diagram showing a main part of a motor movement amount detection device in another embodiment. ]
DESCRIPTION OF SYMBOLS 1 Motor 100 Motor current detection means 110 Motor voltage detection means 120 Motor characteristic holding means 130 Travel time calculation means 140 Control means

Claims (5)

モータ電流を検出するモータ電流検出手段と、モータ電圧を検出するモータ電圧検出手段と、モータの電流及び電圧対回転速度の関係を表す回転特性情報を保持するモータ特性保持手段と、前記モータ電流検出手段、前記モータ電圧検出手段及び前記モータ特性保持手段の各情報に基づいて、実際のモータ電流及びモータ電圧におけるモータの実作動時間を所定のモータ電流及びモータ電圧に対応したモータ作動時間に換算して、その換算後のモータ作動時間をモータ移動時間として算出する移動時間算出手段とが設けられているモータの移動量検出装置。Motor current detection means for detecting motor current; motor voltage detection means for detecting motor voltage; motor characteristic holding means for holding rotation characteristic information representing a relationship between motor current and voltage versus rotation speed; and the motor current detection The actual motor current and motor actual operating time at the motor voltage are converted into motor operating time corresponding to the predetermined motor current and motor voltage based on each information of the motor, the motor voltage detecting means and the motor characteristic holding means. A motor movement amount detection device provided with movement time calculation means for calculating the converted motor operation time as the motor movement time. 前記移動時間算出手段が、所定時間間隔で検出した前記モータ電流の検出値及び前記モータ電圧の検出値の各平均値と前記回転特性情報とに基づいて、前記モータ移動時間を算出する請求項1記載のモータの移動量検出装置。The motor travel time is calculated by the travel time calculation means based on the average value of the detected value of the motor current and the detected value of the motor voltage detected at predetermined time intervals and the rotation characteristic information. The motor movement amount detection device described. 前記モータ特性保持手段が、前記回転特性情報として、基準のモータ電圧におけるモータの電流対回転速度の関係を表す基準回転特性情報を保持し、
前記移動時間算出手段が、前記モータ電流の検出値、前記基準回転特性情報、及び前記基準のモータ電圧に対する前記モータ電圧の検出値の比を用いて、前記モータ移動時間を算出する請求項1又は2記載のモータの移動量検出装置。
The motor characteristic holding means holds, as the rotation characteristic information, reference rotation characteristic information representing a relationship between a motor current and a rotation speed at a reference motor voltage,
The said movement time calculation means calculates the said motor movement time using the ratio of the detected value of the said motor voltage with respect to the detected value of the said motor current, the said reference rotation characteristic information, and the said reference | standard motor voltage. The motor movement amount detection device according to 2.
前記モータ特性保持手段が、基本となるモータの電流及び電圧対回転速度の関係を表す基本回転特性の記憶情報と、使用対象モータの具体的な回転特性の設定に必要な入力情報とに基づいて、前記回転特性情報を求めて保持する請求項1から3のいずれかに記載のモータの移動量検出装置。The motor characteristics holding means is based on basic rotation characteristics storage information representing the relationship between the basic motor current and voltage versus rotation speed, and input information necessary for setting specific rotation characteristics of the motor to be used. 4. The motor movement amount detection device according to claim 1, wherein the rotation characteristic information is obtained and held. 請求項1から4のいずれかに記載のモータの移動量検出装置を備え、
前記移動時間算出手段にて求められるモータ移動時間の情報に基づいてモータの動作位置を制御する制御手段が設けられているモータの位置制御装置。
A motor movement amount detection device according to any one of claims 1 to 4,
A motor position control device provided with a control means for controlling the operating position of the motor based on information on the motor movement time obtained by the movement time calculation means.
JP2003182810A 2003-06-26 2003-06-26 Amount-of-movement detecting apparatus and positional controller of motor Pending JP2005020898A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003182810A JP2005020898A (en) 2003-06-26 2003-06-26 Amount-of-movement detecting apparatus and positional controller of motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003182810A JP2005020898A (en) 2003-06-26 2003-06-26 Amount-of-movement detecting apparatus and positional controller of motor

Publications (1)

Publication Number Publication Date
JP2005020898A true JP2005020898A (en) 2005-01-20

Family

ID=34183095

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003182810A Pending JP2005020898A (en) 2003-06-26 2003-06-26 Amount-of-movement detecting apparatus and positional controller of motor

Country Status (1)

Country Link
JP (1) JP2005020898A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012127418A (en) * 2010-12-15 2012-07-05 Toyota Motor Corp Disc brake apparatus and control method thereof
WO2024004274A1 (en) * 2022-06-30 2024-01-04 アルプスアルパイン株式会社 Ripple-detecting device and seat device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012127418A (en) * 2010-12-15 2012-07-05 Toyota Motor Corp Disc brake apparatus and control method thereof
WO2024004274A1 (en) * 2022-06-30 2024-01-04 アルプスアルパイン株式会社 Ripple-detecting device and seat device

Similar Documents

Publication Publication Date Title
JP3547523B2 (en) Intelligent commutation pulse detection system for controlling DC motors used in automotive accessories
US6946811B2 (en) Entrapment detecting device for an opening/closing member
JP3741731B2 (en) Device for identifying pinching situation in an electric drive mechanism
US5714854A (en) On-car motor driving apparatus and self-diagnosing and selective driving mechanisms for the same
EP0582966B1 (en) Apparatus for controlling driving of power window system
CN111456581B (en) Vehicle opening/closing body control device
US20020024310A1 (en) Entrapment detection device of opening/closing member
JP5348460B2 (en) State memory controller
JP2005020898A (en) Amount-of-movement detecting apparatus and positional controller of motor
JP3722675B2 (en) Power window device and control method thereof
JP4510409B2 (en) Window glass clamping presence / absence detection device
JPH08251982A (en) Motor controller
JP2005020812A (en) Amount-of-rotation detecting apparatus and positional controller of motor
WO1991015379A1 (en) Speed control system
JP3888133B2 (en) DC motor rotation state detection device
JP2830543B2 (en) Switchgear for vehicles
JP5049225B2 (en) Position control device
JPH0787771A (en) Estimation apparatus of speed and position of motor
JP5155056B2 (en) Position control device
JP3121724B2 (en) Vehicle window glass opening and closing device
JP2010110171A (en) Motor control apparatus and motor apparatus
NL2028970B1 (en) Method for controlling a position of an actuable objection of a vehicle
JP3385609B2 (en) Forward / reverse control circuit for in-vehicle motor
JP3256309B2 (en) Power window drive control device
JPH07310473A (en) Power window drive control device