[go: up one dir, main page]

JPH08251982A - Motor controller - Google Patents

Motor controller

Info

Publication number
JPH08251982A
JPH08251982A JP7048737A JP4873795A JPH08251982A JP H08251982 A JPH08251982 A JP H08251982A JP 7048737 A JP7048737 A JP 7048737A JP 4873795 A JP4873795 A JP 4873795A JP H08251982 A JPH08251982 A JP H08251982A
Authority
JP
Japan
Prior art keywords
current
motor
lock
threshold value
detected
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
JP7048737A
Other languages
Japanese (ja)
Inventor
Kenji Tanaka
賢次 田中
Kazunari Hayashi
一成 林
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.)
Tokai Rika Co Ltd
Original Assignee
Tokai Rika 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 Tokai Rika Co Ltd filed Critical Tokai Rika Co Ltd
Priority to JP7048737A priority Critical patent/JPH08251982A/en
Publication of JPH08251982A publication Critical patent/JPH08251982A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power-Operated Mechanisms For Wings (AREA)
  • Window Of Vehicle (AREA)
  • Protection Of Generators And Motors (AREA)
  • Stopping Of Electric Motors (AREA)
  • Control Of Direct Current Motors (AREA)

Abstract

PURPOSE: To determine a locked state surely by setting the lock current of a DC motor accurately through a simple constitution. CONSTITUTION: A DC motor 1 for driving the window glass of automobile is connected with a drive circuit 2. Conduction current of the DC motor 1 is detected through a current detection resistor 5 and fed through an amplifier circuit 10 to a control circuit 15. When the DC motor 1 is conducted by delivering a driving signal to any one of transistors 6, 7, the control circuit 15 samples the motor current six times, for example, at a predetermined interval T2 during a period subsequent to a predetermined time T1 after conduction of the DC motor 1 when an inrush current is flowing and operates a threshold value Is for deciding the current lock based on the average value Iave of motor current. Since a threshold value including the variation elements of DC power supply voltage VB and ambient temperature Ta can be set, the lock current can be detected easily and surely.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、負荷駆動用の直流モー
タに対して、操作スイッチのオン操作に応じて通電し、
その電流値がロック電流判定のしきい値を超えたときに
ロック状態を判定して停止制御するようにしたモータ制
御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention energizes a direct current motor for driving a load in response to turning on of an operation switch,
The present invention relates to a motor control device that determines a lock state and performs stop control when the current value exceeds a lock current determination threshold value.

【0002】[0002]

【従来の技術】例えば、自動車のパワーウインドにおい
ては、ウインドガラスの昇降動作を直流モータの正転あ
るいは逆転動作させてその回転力を利用して行なわせる
ものがある。この場合、スイッチを操作している期間中
に直流モータに通電して回転させてウインドガラスの昇
降動作を行うマニュアルモードと、操作スイッチをワン
タッチ操作することで、ウインドガラスを全開状態ある
いは全閉状態になるまで直流モータに通電し続けて駆動
するオートモードとを設けたものがある。
2. Description of the Related Art For example, in a power window of an automobile, there is a power window in which a DC glass motor is moved up and down to utilize its rotational force. In this case, the manual mode is used to energize and rotate the DC motor to rotate the window glass while the switch is being operated, and the window switch is fully opened or closed by operating the operation switch with one touch. There is an automatic mode in which the DC motor is continuously energized until it is driven.

【0003】そして、このオートモードにおいては、ウ
インドガラスが全開状態あるいは全閉状態となったこと
を検出する構成として、直流モータのロック電流を検出
することで判定している。つまり、ウインドガラスが全
開状態あるいは全閉状態となって停止すると、直流モー
タの回転も停止し、これによって電流が急激に増大して
ロック電流が流れるようになる。
In this auto mode, the lock current of the DC motor is detected as a configuration for detecting whether the window glass is in the fully open state or the fully closed state. That is, when the window glass stops in the fully open state or the fully closed state, the rotation of the DC motor is also stopped, whereby the current rapidly increases and the lock current flows.

【0004】このロック電流を電流検出手段により検出
し、そのロック電流が所定時間以上継続したときに直流
モータへの通電を停止制御することでウインドガラスが
停止する位置にあることを確実に検出してオートモード
の動作を停止するように構成されている。これによっ
て、使用者は、ウインドガラスを全開あるいは全閉する
場合にワンタッチ動作で実施することができ、スイッチ
を操作した状態を保持する必要をなくして操作性の向上
を図ることができる。
The lock current is detected by the current detecting means, and when the lock current continues for a predetermined time or longer, the energization of the DC motor is controlled to be stopped, so that the position where the windshield is stopped is surely detected. It is configured to stop the operation of the auto mode. As a result, the user can perform the one-touch operation when the window glass is fully opened or fully closed, and the operability can be improved without having to maintain the state in which the switch is operated.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上述の
ような従来構成のものでは、直流モータのロック電流を
検出する場合に、次のような不具合がある。すなわち、
ロック電流を判定するための判定電流値の値は、あらか
じめロック電流と判定可能なレベルを設定した場合に、
確実にロック電流を検出できなくなる場合が発生するの
である。
However, the conventional configuration as described above has the following problems when detecting the lock current of the DC motor. That is,
The value of the judgment current value for judging the lock current is set to a level that can be judged as the lock current in advance.
In some cases, the lock current cannot be reliably detected.

【0006】これは、例えば、直流モータの駆動源であ
るバッテリの端子電圧が充電状態に応じて変動したり、
あるいは周囲温度の変動に応じて、図8(a),(b)
に示すように、直流モータのロック電流の値が変動する
ことがあり、これによって、ロック電流の検出レベルを
一定にすると、確実に検出できなくなる場合が生ずるの
である。
This is because, for example, the terminal voltage of the battery, which is the drive source of the DC motor, fluctuates according to the charging state,
Alternatively, according to the fluctuation of the ambient temperature, as shown in FIGS.
As shown in (4), the value of the lock current of the DC motor may fluctuate, so that if the detection level of the lock current is kept constant, it may not be possible to reliably detect the lock current.

【0007】そこで、従来では、最適なロック電流のし
きい値を設定するために、例えば、バッテリの端子電圧
を検出する検出回路を設けたり、温度を検出する温度検
出回路を設けてロック電流を検出するためのしきい値を
そのときの状態に応じて最適な値に設定する構成として
いる。
Therefore, in the prior art, in order to set the optimum threshold value of the lock current, for example, a detection circuit for detecting the terminal voltage of the battery is provided, or a temperature detection circuit for detecting the temperature is provided to set the lock current. The threshold value for detection is set to an optimum value according to the state at that time.

【0008】ところが、上述のようにしきい値を最適な
値に設定するために電圧検出回路や温度検出回路を設け
るために、電気的構成が非常に複雑になり、コスト的に
も高くなってしまう不具合がある。
However, since the voltage detection circuit and the temperature detection circuit are provided in order to set the threshold value to the optimum value as described above, the electrical configuration becomes very complicated and the cost becomes high. There is a defect.

【0009】本発明は、上記事情に鑑みてなされたもの
で、その目的は、電源電圧や周囲温度の検出回路等を設
けない簡単な構成としながら、直流モータのロック電流
判定用のしきい値を的確に設定してロック状態の判定を
確実に行えるようにしたモータ制御装置を提供すること
にある。
The present invention has been made in view of the above circumstances, and an object thereof is to provide a threshold value for determining a lock current of a DC motor while having a simple structure without a detection circuit for detecting a power supply voltage or ambient temperature. It is an object of the present invention to provide a motor control device in which the lock state can be accurately determined by reliably setting.

【0010】[0010]

【課題を解決するための手段】本発明は、負荷駆動用の
直流モータに対して、操作スイッチのオン操作に応じて
通電し、その電流値がロック電流判定のしきい値を超え
たときにロック状態を判定して停止制御するようにした
モータ制御装置を対象とするものであり、前記直流モー
タの通電電流を検出する電流検出手段と、前記直流モー
タの始動時の突入電流を前記電流検出手段により検出し
て前記ロック電流を判定するためのしきい値を演算によ
り求める演算手段と、前記電流検出手段による前記直流
モータの通電電流が前記演算手段により求められたしき
い値を超えたときに前記ロック状態を判定する制御手段
とを設けて構成したところに特徴を有する(請求項1の
発明)。
According to the present invention, a DC motor for driving a load is energized in response to an ON operation of an operation switch, and when the current value exceeds a lock current determination threshold value. The present invention is intended for a motor control device that determines a lock state and performs stop control, and a current detection unit that detects a current flowing through the DC motor and a rush current when the DC motor is started. Calculating means for calculating the threshold value for detecting the lock current by means of calculation means, and the energizing current of the DC motor by the current detecting means exceeds the threshold value calculated by the calculating means. The present invention is characterized in that it is provided with control means for determining the locked state (invention of claim 1).

【0011】また、前記演算手段を、前記直流モータの
突入電流を所定時間間隔でサンプリングした値の平均値
を演算することにより前記しきい値を求めるように構成
することが好ましい(請求項2の発明)。
Further, it is preferable that the arithmetic means is configured to obtain the threshold value by calculating an average value of values obtained by sampling the inrush current of the DC motor at predetermined time intervals (claim 2). invention).

【0012】[0012]

【作用および発明の効果】請求項1記載のモータ制御装
置によれば、直流モータが始動されると、その始動時に
突入電流が流れるようになり、その突入電流は電流検出
手段により検出されるようになる。演算手段は、その検
出電流に基づいてロック電流を判定するためのしきい値
を演算により求めて設定するようになる。これにより、
制御手段は、直流モータがロック状態となったときにそ
のロック電流が前記しきい値を所定時間以上に渡って超
えるか否かを判定することにより確実にロック状態を検
出して直流モータの停止制御を行うことができるように
なる。
According to the motor control device of the first aspect, when the DC motor is started, an inrush current flows at the time of starting, and the inrush current is detected by the current detecting means. become. The calculating means calculates and sets the threshold value for judging the lock current based on the detected current. This allows
The control means surely detects the lock state by stopping the DC motor by determining whether the lock current exceeds the threshold value for a predetermined time or longer when the DC motor is in the lock state. You will be able to control.

【0013】この場合、直流モータの始動時の突入電流
は、ロック時のロック電流と同様に、給電している直流
電源の電圧変動や周囲温度の変動に伴って変動するため
に、その突入電流を検出することでそのような変動要因
を含んだしきい値を設定することができるようになり、
直流電源の端子電圧を検出する手段や、周囲温度を検出
する手段を設ける必要がなくなると共に、それらの検出
結果から複雑な演算を行う必要がなくなり、簡単且つ安
価な構成として確実にロック状態の検出を行うことがで
きるようになる。
In this case, the inrush current at the time of starting the DC motor changes in accordance with the voltage fluctuation of the DC power supply which is supplying power and the fluctuation of the ambient temperature, like the lock current at the time of locking, so that the inrush current. By detecting, it becomes possible to set the threshold value including such fluctuation factors,
It is not necessary to provide a means for detecting the terminal voltage of the DC power supply or a means for detecting the ambient temperature, and it is not necessary to perform a complicated calculation from the detection results, and the lock state can be reliably detected as a simple and inexpensive structure. Will be able to do.

【0014】請求項2記載のモータ制御装置によれば、
演算手段により、直流モータの突入電流をサンプリング
した値を平均することで求めるので、突入電流が時間と
共に変動する場合でもそれらの平均値から正確なしきい
値を求めることができるようになる。
According to the motor control device of the second aspect,
Since the calculation means calculates the inrush current of the DC motor by averaging the sampled values, an accurate threshold value can be calculated from those average values even when the inrush current varies with time.

【0015】[0015]

【実施例】以下、本発明を自動車のパワーウインドの駆
動源としての直流モータに設けられたモータ制御装置に
適用した場合の一実施例について図面を参照しながら説
明する。電気的構成を示す図1において、直流モータ1
はウインドガラスを上下動させるための負荷としての駆
動機構を駆動するもので、その両端子は駆動回路2の出
力端子間に接続されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to a motor control device provided in a DC motor as a drive source for a power window of an automobile will be described below with reference to the drawings. In FIG. 1 showing the electrical configuration, a DC motor 1
Drives a drive mechanism as a load for moving the window glass up and down, and both terminals thereof are connected between output terminals of the drive circuit 2.

【0016】駆動回路2は直流モータ1への通電を切り
換えるための2個のリレー3,4からなる。リレー3,
4の接点部3a,4aの可動接点は直流モータ1の両端
子間に接続され、接点部3a,4aの常開接点は共に電
源ラインLを介して直流電源としての図示しない車載バ
ッテリに接続され、さらに、接点部3a,4aの常閉接
点は共に電流検出手段としての電流検出抵抗5を介して
アースされている。リレーコイル3b,4bの各一端子
は共通にして電源ラインLに接続され、各他端子は通電
制御用のnpn形トランジスタ6,7をそれぞれ介して
アースされている。また、リレーコイル3b,4bには
それぞれフライホイールダイオード8,9が並列に接続
されている。
The drive circuit 2 comprises two relays 3 and 4 for switching the power supply to the DC motor 1. Relay 3,
The movable contacts of the contact parts 3a, 4a of 4 are connected between both terminals of the DC motor 1, and the normally open contacts of the contact parts 3a, 4a are both connected via a power supply line L to a vehicle battery (not shown) as a DC power supply. Further, the normally closed contacts of the contact portions 3a and 4a are both grounded via a current detection resistor 5 as current detection means. One terminal of each of the relay coils 3b and 4b is commonly connected to the power supply line L, and each of the other terminals is grounded through the npn-type transistors 6 and 7 for controlling energization. Further, flywheel diodes 8 and 9 are connected in parallel to the relay coils 3b and 4b, respectively.

【0017】増幅回路10は、電流検出抵抗5の検出出
力を増幅して電圧信号として出力する差動増幅回路で、
その非反転入力端子は抵抗11を介して電流検出抵抗5
とリレー3,4との共通接続点に接続され、反転入力端
子は可変抵抗器12を介して電流検出抵抗5のアース側
端子に接続されている。増幅回路10の出力端子は抵抗
13およびコンデンサ14からなる並列回路を介して反
転入力端子に接続されている。
The amplifier circuit 10 is a differential amplifier circuit which amplifies the detection output of the current detection resistor 5 and outputs it as a voltage signal.
The non-inverting input terminal is connected to the current detection resistor 5 via the resistor 11.
And the relays 3 and 4 are connected in common, and the inverting input terminal is connected to the ground side terminal of the current detection resistor 5 via the variable resistor 12. The output terminal of the amplifier circuit 10 is connected to the inverting input terminal via a parallel circuit including a resistor 13 and a capacitor 14.

【0018】演算手段および判定手段としての機能を兼
ね備えた制御回路15は、マイクロコンピュータ,RO
M,RAMなどから構成されるもので、後述するしきい
値設定プログラムを実行してロック電流判定のしきい値
を演算設定するようになっている。制御回路15の入力
端子Aは増幅回路10の出力端子に接続され、入力端子
Bは操作スイッチ16に接続され、出力端子CおよびD
はそれぞれ抵抗17,18を介して上述のトランジスタ
6,7のベースに接続されている。
The control circuit 15 having a function as a calculation means and a determination means is a microcomputer, RO
It is composed of M, RAM, etc., and is adapted to execute a threshold value setting program which will be described later to calculate and set a threshold value for lock current determination. The input terminal A of the control circuit 15 is connected to the output terminal of the amplifier circuit 10, the input terminal B is connected to the operation switch 16, and the output terminals C and D are connected.
Are connected to the bases of the above-mentioned transistors 6 and 7 via resistors 17 and 18, respectively.

【0019】操作スイッチ16は、各ウインドの上下の
動作に応じて操作可能なスイッチで、操作状態で上下動
させるマニュアルモードと、ワンタッチで全開あるいは
全閉動作を行なわせるオートモードとの2種類の動作に
対応した操作が行なえるようになっている。そして、こ
のオートモードにおいては、ウインドが全開あるいは全
閉状態になったことを、その状態で直流モータ1に流れ
るロック電流を検出して判定し、通電を停止するように
なっている。
The operation switch 16 is a switch that can be operated in accordance with the up and down movements of each window. There are two types of operation modes, a manual mode in which the window is moved up and down in the operating state, and an automatic mode in which one-touch operation is performed to fully open or fully close. The operation corresponding to the movement can be performed. In this auto mode, the fact that the window is in the fully open or fully closed state is determined by detecting the lock current flowing in the DC motor 1 in that state, and the energization is stopped.

【0020】次に、本実施例の作用について図2ないし
図7をも参照して説明するに、操作スイッチ16がマニ
ュアルモードで操作された場合には、その操作状態で直
流モータ1に対して通常の通電動作を行ってウインドの
上下動を行なわせるようになっており、以下の説明にお
いては、ロック電流を検出して停止制御を行う場合のオ
ートモード操作時の動作について説明する。
Next, the operation of this embodiment will be described with reference to FIGS. 2 to 7 as well. When the operation switch 16 is operated in the manual mode, the DC motor 1 is operated in the operated state. A normal energizing operation is performed to move the window up and down. In the following description, an operation during the auto mode operation when the lock current is detected and the stop control is performed will be described.

【0021】まず、操作スイッチ16によりオートモー
ド操作が行われると、制御回路15は、ウインドを全開
あるいは全閉に駆動すべく直流モータ1を正回転あるい
は逆回転のいずれかに駆動させるために、トランジスタ
6あるいは7に駆動信号を出力するようになる。これに
より、トランジスタ6あるいは7がオンすると、リレー
コイル3bあるいは4bのいずれかに通電されるように
なり、リレー3あるいは4のいずれかが切換わるように
なる。
First, when the automatic mode operation is performed by the operation switch 16, the control circuit 15 drives the DC motor 1 to either rotate forward or reverse to drive the window fully open or fully closed. The drive signal is output to the transistor 6 or 7. As a result, when the transistor 6 or 7 is turned on, either the relay coil 3b or 4b is energized and either the relay 3 or 4 is switched.

【0022】直流モータ1は、直流電源ラインLからリ
レー3および4を介していずれかの方向に通電されるよ
うになり、正回転あるいは逆回転駆動されるようにな
る。このとき、直流モータ1に流れる電流Iの値は、直
列に介在された電流検出抵抗5に流れる電流で端子間に
発生する電圧として検出されるようになり、増幅回路1
0は、直流モータ1の電流Iを電圧信号Vamp として制
御回路15の入力端子Aに入力するようになる。
The DC motor 1 is energized in either direction from the DC power supply line L via the relays 3 and 4, and is normally or reversely driven. At this time, the value of the current I flowing through the DC motor 1 is detected as the voltage generated between the terminals due to the current flowing through the current detection resistor 5 interposed in series, and the amplifier circuit 1
0 inputs the current I of the DC motor 1 to the input terminal A of the control circuit 15 as the voltage signal Vamp.

【0023】さて制御回路15は、上述のように駆動信
号を出力した直後に図2に示すしきい値設定プログラム
を実行して直流モータ1のロック電流判定のためのしき
い値を設定するようになる。すなわち、制御回路15
は、まず駆動信号の出力(時刻t0)後モータ電流Iが
上昇するまでの一定時間T1(例えば5ms)だけ待機
し(ステップS1)、この後、所定のサンプリング時間
間隔(例えば3ms)をもって時刻t1〜t6にてモー
タ電流Ix(x=1,2,…,n)を電圧信号Vamp と
して検出するようになる(ステップS2)。この場合、
モータ電流Ixは、サンプリング回数nとして6回検出
するようになっており、これにより直流モータ1の始動
時に流れる突入電流を検出することになる(図3参
照)。
The control circuit 15 executes the threshold value setting program shown in FIG. 2 immediately after outputting the drive signal as described above to set the threshold value for determining the lock current of the DC motor 1. become. That is, the control circuit 15
First waits for a fixed time T1 (for example, 5 ms) until the motor current I rises after the output of the drive signal (at time t0) (step S1), and then at a predetermined sampling time interval (for example, 3 ms) at time t1. The motor current Ix (x = 1, 2, ..., N) is detected as the voltage signal Vamp from to t6 (step S2). in this case,
The motor current Ix is detected 6 times as the number of times of sampling n, and thus the inrush current flowing when the DC motor 1 is started is detected (see FIG. 3).

【0024】次に、制御回路15は、サンプリングした
6個の電流値Ix(x=1〜6)の平均値を電流平均値
Iave として次式(1)にしたがって演算し、この後、
得られた電流平均値Iave を用いて式(2)に代入して
ロック電流判定用のしきい値Isを演算するようになる
(ステップS3)。制御回路15は、このようにして得
られたしきい値Isを判定値として設定し(ステップS
4)、このプログラムを終了するようになる。
Next, the control circuit 15 calculates the average value of the six sampled current values Ix (x = 1 to 6) as the current average value Iave according to the following equation (1), and thereafter,
The obtained current average value Iave is substituted into the equation (2) to calculate the lock current determination threshold value Is (step S3). The control circuit 15 sets the threshold value Is thus obtained as a determination value (step S
4) The program will be terminated.

【0025】[0025]

【数1】 [Equation 1]

【数2】 [Equation 2]

【0026】制御回路15は、この後、増幅回路10か
ら入力される検出電圧Vamp に基づいて、直流モータ1
に流れているモータ電流Iが、上述のように設定したし
きい値Isを超えるか否かを判定して直流モータ1のロ
ック状態を判定するようになる。そして、制御回路15
は、モータ電流Iが所定時間(例えば0.7秒)以上に
渡ってしきい値Isを超えている場合に、直流モータ1
のロック状態を判定すると、トランジスタ6あるいは7
に出力していた駆動信号を停止して断電するようにな
る。これにより、ウインドガラスが全開あるいは全閉位
置まで駆動されて直流モータ1がロック状態となってい
るのを検出して通電を停止させることができるようにな
る。
Thereafter, the control circuit 15 determines the DC motor 1 based on the detected voltage Vamp input from the amplifier circuit 10.
It is determined whether or not the motor current I flowing in the DC voltage exceeds the threshold value Is set as described above to determine the lock state of the DC motor 1. Then, the control circuit 15
When the motor current I exceeds the threshold value Is for a predetermined time (for example, 0.7 seconds) or more, the DC motor 1
When the lock state of is judged, the transistor 6 or 7
The drive signal that was being output to will be stopped and the power will be cut off. As a result, it is possible to stop the energization by detecting that the DC motor 1 is in the locked state by driving the window glass to the fully open or fully closed position.

【0027】さて、上述の場合に、直流モータ1のロッ
ク電流の値は、バッテリの端子電圧VBや周囲温度Ta
に応じて変動するが、本実施例のように、直流モータ1
への通電時に流れる突入電流からロック電流判定のため
のしきい値Isを演算して設定するので、そのような変
動要素がある場合でも、その時点での状況に応じた適切
なしきい値をもってロック状態の判定を行うことができ
る。
Now, in the above-mentioned case, the value of the lock current of the DC motor 1 depends on the terminal voltage VB of the battery and the ambient temperature Ta.
However, as in the present embodiment, the DC motor 1
The threshold value Is for calculating the lock current is calculated and set from the inrush current that flows when the power is supplied to the device. Therefore, even if there is such a variable element, the lock is performed with an appropriate threshold value according to the situation at that time. The state can be determined.

【0028】そこで、直流モータ1の始動時の突入電流
を検出することでロック状態を判定するしきい値Isを
設定することについて、発明者らが行った実験結果につ
いて説明する。すなわち、図4は、直流モータ1の始動
時からロック電流が流れて停止制御を行うまでの電流の
変化を示すもので、例えば、バッテリの電圧VBが同じ
10Vであっても、周囲温度Taが−30℃の場合と8
0℃の場合とで、突入電流およびロック電流が図示のよ
うに異なることがわかる。
Therefore, the result of an experiment conducted by the inventors of the present invention for setting the threshold value Is for determining the locked state by detecting the inrush current at the time of starting the DC motor 1 will be described. That is, FIG. 4 shows changes in the current from the start of the DC motor 1 to the time when the lock current flows and the stop control is performed. For example, even if the voltage VB of the battery is 10 V, the ambient temperature Ta remains unchanged. At -30 ℃ and 8
It can be seen that the inrush current and the lock current are different as in the case of 0 ° C.

【0029】この場合に、突入電流のレベルとロック電
流のレベルとは、略比例して変化しているので、このこ
とから、突入電流を検出することによりロック電流を判
定するしきい値を設定することができるのである。そし
て、このように、突入電流を検出してロック電流判定の
しきい値を設定することで、電源電圧VBの変動や周囲
温度Taの変動にも自動的に対応させることができるの
である。
In this case, the level of the inrush current and the level of the lock current change substantially in proportion to each other. Therefore, the threshold value for determining the lock current is set by detecting the inrush current. You can do it. In this way, by detecting the inrush current and setting the threshold value for the lock current determination, it is possible to automatically deal with the fluctuation of the power supply voltage VB and the fluctuation of the ambient temperature Ta.

【0030】図5は、種々の条件下での直流モータ1の
突入電流のピーク値をプロットしたもので、例えば、常
温でのロック電流値(図中△でプロット)に対して、常
温でスタートした場合およびホットスタートした場合に
ついて様々なモータ印加電圧にて突入電流のピーク値を
測定した結果を示している。
FIG. 5 is a plot of the peak value of the inrush current of the DC motor 1 under various conditions. For example, the lock current value at normal temperature (plotted with Δ in the figure) starts at normal temperature. The results of measuring the peak value of the inrush current at various motor applied voltages are shown for the case of performing and the case of performing hot start.

【0031】また、突入電流の波形は、始動時における
ロータの位置によって、例えば、図6のようにピークが
二つ発生する場合と、図7のようにピークが一つだけの
場合とがある。そこで、これらのいずれの場合において
も、実質的に同等の突入電流を検出できるように突入電
流の平均値を演算することで両者の間の格差を緩和する
ようにしている。そして、この場合に、具体的には、電
流をサンプリングすることにより実質的な平均値を得る
ようにしている。
The waveform of the inrush current may be two peaks as shown in FIG. 6 or only one peak as shown in FIG. 7 depending on the position of the rotor at the time of starting. . Therefore, in any of these cases, the average value of the inrush currents is calculated so that substantially the same inrush currents can be detected to reduce the difference between the two. Then, in this case, specifically, a substantial average value is obtained by sampling the current.

【0032】実際には、直流モータ1を駆動するための
駆動信号が出力されてから一定の遅れ時間を存した後に
電流が流れるので、プログラムでも示したように、所定
の待機時間T1(例えば5ms)を存した時点t1から
サンプリング間隔T2毎(例えば3ms)の電流値を6
回検出してそれらの平均値を演算することにより突入電
流Iave を得るようにしているのである。
Actually, since a current flows after a certain delay time has elapsed after the drive signal for driving the DC motor 1 is output, as shown in the program, a predetermined waiting time T1 (for example, 5 ms). ), The current value for each sampling interval T2 (for example, 3 ms) is set to 6
The rush current Iave is obtained by detecting the number of times and calculating the average value thereof.

【0033】このような本実施例によれば、直流モータ
1の起動時にモータに流れる突入電流を電流検出抵抗5
および増幅回路10によりサンプリング入力し、制御回
路15により、その平均を演算することで求めると共
に、その突入電流の演算結果に基づいてロック電流のし
きい値Isを求めて設定するようにしたので、ロック電
流値の変動要素となる直流電源電圧VBや周囲温度Ta
を別途に検出してそれらからしきい値Isを設定する必
要がなくなり、検出構成が簡単になると共に直流モータ
1のロック状態の判定を確実に行うことができるように
なる。
According to this embodiment, the rush current flowing through the motor at the time of starting the DC motor 1 is detected by the current detection resistor 5
Further, since the sampling circuit inputs by the amplifier circuit 10, the average is calculated by the control circuit 15, and the threshold value Is of the lock current is calculated and set based on the calculation result of the inrush current. The DC power supply voltage VB and the ambient temperature Ta, which are the factors that change the lock current value
Is not necessary to set the threshold value Is from them separately, the detection configuration is simplified, and the locked state of the DC motor 1 can be reliably determined.

【0034】なお、上述の実施例において、しきい値設
定のための演算式を、式(2)を用いた場合について説
明したが、次に示すように、式(3)のような演算式を
用いてしきい値を設定するようにしても良い。そして、
式(3)にて示す演算内容は、前述同様にして突入電流
の実測データに基づいて対応するロック電流のしきい値
を求めたものである。
In the above embodiment, the calculation formula for setting the threshold value is described using the formula (2). However, as shown below, a calculation formula such as the formula (3) is used. You may make it set a threshold value using. And
The contents of the calculation shown in the equation (3) are obtained by obtaining the corresponding lock current threshold value based on the measured data of the inrush current in the same manner as described above.

【0035】[0035]

【数3】 (Equation 3)

【0036】本発明は、上記実施例にのみ限定されるも
のではなく、次のように変形または拡張できる。突入電
流は、サンプリング以外に、積分処理などによるアナロ
グ処理で検出する構成としても良い。ウインドガラスの
駆動用モータ以外にも、ロック電流検出により停止制御
する一般的な構成の直流モータの制御装置に適用でき
る。
The present invention is not limited to the above embodiment, but can be modified or expanded as follows. The rush current may be detected by analog processing such as integration processing other than sampling. The present invention can be applied to a DC motor control device having a general configuration that performs stop control by detecting a lock current, in addition to a wind glass drive motor.

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

【図1】本発明の一実施例を示す電気的構成図FIG. 1 is an electrical configuration diagram showing an embodiment of the present invention.

【図2】しきい値設定プログラムのフローチャートFIG. 2 is a flowchart of a threshold setting program.

【図3】モータ電流のサンプリングを示す作用説明図FIG. 3 is an operation explanatory view showing sampling of a motor current.

【図4】異なる周囲温度での駆動開始からのモータ電流
のタイムチャート
FIG. 4 is a time chart of the motor current from the start of driving at different ambient temperatures.

【図5】モータ電源電圧と突入電流のピーク値との相関
FIG. 5 is a correlation diagram between the motor power supply voltage and the peak value of the inrush current.

【図6】モータ突入電流の検出出力波形図(その1)FIG. 6 is a detection output waveform diagram of the motor inrush current (No. 1)

【図7】モータ突入電流の検出出力波形図(その2)FIG. 7: Detection output waveform diagram of motor inrush current (Part 2)

【図8】異なる周囲温度およびバッテリ電圧におけるモ
ータのロック電流特性図
FIG. 8 is a lock current characteristic diagram of a motor at different ambient temperatures and battery voltages.

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

1は直流モータ、2は駆動回路、3,4はリレー、5は
電流検出抵抗(電流検出手段)、6,7はnpn形トラ
ンジスタ、8,9はフライホイールダイオード、10は
増幅回路、15は制御回路(演算手段,判定手段)、1
6は操作スイッチである。
1 is a DC motor, 2 is a drive circuit, 3 and 4 are relays, 5 is a current detection resistor (current detection means), 6 and 7 are npn-type transistors, 8 and 9 are flywheel diodes, 10 is an amplification circuit, and 15 is Control circuit (calculation means, determination means), 1
Reference numeral 6 is an operation switch.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 負荷駆動用の直流モータに対して、操作
スイッチのオン操作に応じて通電し、その電流値がロッ
ク電流判定のしきい値を超えたときにロック状態を判定
して停止制御するようにしたモータ制御装置において、 前記直流モータの通電電流を検出する電流検出手段と、 前記直流モータの始動時の突入電流を前記電流検出手段
により検出して前記ロック電流を判定するためのしきい
値を演算により求める演算手段と、 前記電流検出手段による前記直流モータの通電電流が前
記演算手段により求められたしきい値を超えたときに前
記ロック状態を判定する停止する判定手段とを具備した
ことを特徴とするモータ制御装置。
1. A load control DC motor is energized in response to an ON operation of an operation switch, and when the current value exceeds a lock current determination threshold value, a lock state is determined and stop control is performed. In the motor control device configured to do so, a current detection unit that detects the energizing current of the DC motor, and an inrush current at the time of starting the DC motor are detected by the current detection unit to determine the lock current. And a determination unit for determining the locked state when the current supplied to the DC motor by the current detection unit exceeds the threshold value calculated by the calculation unit. A motor control device characterized by the above.
【請求項2】 前記演算手段は、前記直流モータの突入
電流を所定時間間隔でサンプリングした値の平均値を演
算することにより前記しきい値を求めるように構成され
ていることを特徴とする請求項1記載のモータ制御装
置。
2. The calculating means is configured to calculate the threshold value by calculating an average value of values obtained by sampling the inrush current of the DC motor at predetermined time intervals. The motor control device according to item 1.
JP7048737A 1995-03-08 1995-03-08 Motor controller Pending JPH08251982A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7048737A JPH08251982A (en) 1995-03-08 1995-03-08 Motor controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7048737A JPH08251982A (en) 1995-03-08 1995-03-08 Motor controller

Publications (1)

Publication Number Publication Date
JPH08251982A true JPH08251982A (en) 1996-09-27

Family

ID=12811607

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7048737A Pending JPH08251982A (en) 1995-03-08 1995-03-08 Motor controller

Country Status (1)

Country Link
JP (1) JPH08251982A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6726586B2 (en) 2001-11-09 2004-04-27 Shimano Inc. Motorized bicycle actuator assembly
US6767308B2 (en) 2001-03-09 2004-07-27 Shimano Inc. Method of controlling bicycle assembly
JP2008017611A (en) * 2006-07-05 2008-01-24 Denso Corp In-vehicle motor drive unit
CN102769416A (en) * 2011-05-06 2012-11-07 三菱电机株式会社 Control device
JP2014177174A (en) * 2013-03-14 2014-09-25 Showa Corp Inclination angle adjusting apparatus, and ship propulsion machine
JP2016008409A (en) * 2014-06-24 2016-01-18 オムロンオートモーティブエレクトロニクス株式会社 Opening/closing body controller
JP2020532478A (en) * 2017-09-04 2020-11-12 福建納仕達電子股▲フン▼有限公司 Power saving control device when operating the electronic trash can
WO2021243697A1 (en) * 2020-06-05 2021-12-09 京东方科技集团股份有限公司 Intelligent vehicle window and controller thereof, power detection method, and storage medium
CN114404045A (en) * 2022-02-25 2022-04-29 浙江大学湖州研究院 A robot chassis with pose sensing function and its automatic adjustment method
CN114557775A (en) * 2022-02-25 2022-05-31 浙江大学湖州研究院 Robot base

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6767308B2 (en) 2001-03-09 2004-07-27 Shimano Inc. Method of controlling bicycle assembly
US6726586B2 (en) 2001-11-09 2004-04-27 Shimano Inc. Motorized bicycle actuator assembly
JP2008017611A (en) * 2006-07-05 2008-01-24 Denso Corp In-vehicle motor drive unit
CN102769416A (en) * 2011-05-06 2012-11-07 三菱电机株式会社 Control device
CN102769416B (en) * 2011-05-06 2015-12-09 三菱电机株式会社 Control device
JP2014177174A (en) * 2013-03-14 2014-09-25 Showa Corp Inclination angle adjusting apparatus, and ship propulsion machine
JP2016008409A (en) * 2014-06-24 2016-01-18 オムロンオートモーティブエレクトロニクス株式会社 Opening/closing body controller
JP2020532478A (en) * 2017-09-04 2020-11-12 福建納仕達電子股▲フン▼有限公司 Power saving control device when operating the electronic trash can
WO2021243697A1 (en) * 2020-06-05 2021-12-09 京东方科技集团股份有限公司 Intelligent vehicle window and controller thereof, power detection method, and storage medium
US12034293B2 (en) 2020-06-05 2024-07-09 Beijing Boe Sensor Technology Co., Ltd. Smart window and controller thereof, power detection method and storage medium
CN114404045A (en) * 2022-02-25 2022-04-29 浙江大学湖州研究院 A robot chassis with pose sensing function and its automatic adjustment method
CN114557775A (en) * 2022-02-25 2022-05-31 浙江大学湖州研究院 Robot base

Similar Documents

Publication Publication Date Title
US5701063A (en) Obstruction-sensing system for a movable member
JPH08251982A (en) Motor controller
JPH0666063A (en) Power window drive control device
JP3964375B2 (en) Power window drive
JP3835522B2 (en) Open / close control device
JP2716209B2 (en) How to operate a car air purifier
EP0886360B1 (en) Dynamic protection for a circuit for a motor type load
KR20190071521A (en) Apparatus and method for operating control of vehicle mirror
JPH0819172A (en) Overload detection apparatus of motor
JP2830543B2 (en) Switchgear for vehicles
JPH1023787A (en) Detection circuit for ripple current of motor
JP2599352Y2 (en) Automotive motor control circuit
JPH08254070A (en) Control device of power window regulator for car
JP2739745B2 (en) Switchgear for vehicles
JP3283380B2 (en) Safety motor drive
JPS6332756Y2 (en)
JP3410289B2 (en) Control device for vehicle power window regulator
JP2687871B2 (en) Electric opening and closing control device
JP3121724B2 (en) Vehicle window glass opening and closing device
JPH022662Y2 (en)
JP2969248B2 (en) Vehicle window glass opening and closing device
JPH10317791A (en) Power window device with safety device
JP2005020898A (en) Amount-of-movement detecting apparatus and positional controller of motor
JP2001238483A (en) Drive control method and device
JPH07217312A (en) Motor driving gear having safety function

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040413

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040817