JP7383493B2 - Motor control device and motor control method - Google Patents

Motor control device and motor control method Download PDF

Info

Publication number
JP7383493B2
JP7383493B2 JP2020001887A JP2020001887A JP7383493B2 JP 7383493 B2 JP7383493 B2 JP 7383493B2 JP 2020001887 A JP2020001887 A JP 2020001887A JP 2020001887 A JP2020001887 A JP 2020001887A JP 7383493 B2 JP7383493 B2 JP 7383493B2
Authority
JP
Japan
Prior art keywords
motor
ripple
pulse
current
motor control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2020001887A
Other languages
Japanese (ja)
Other versions
JP2021112021A (en
Inventor
拓弥 内田
雄一 柳田
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.)
Mitsuba Corp
Original Assignee
Mitsuba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsuba Corp filed Critical Mitsuba Corp
Priority to JP2020001887A priority Critical patent/JP7383493B2/en
Publication of JP2021112021A publication Critical patent/JP2021112021A/en
Application granted granted Critical
Publication of JP7383493B2 publication Critical patent/JP7383493B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Direct Current Motors (AREA)

Description

本発明は直流(DC)モータの制御技術に関し、特に、電機子電流に含まれる電流リップルからパルス(矩形波)信号を生成してモータの駆動制御を行うモータ制御装置における誤パルス発生防止技術に関する。 The present invention relates to a control technology for a direct current (DC) motor, and more particularly to a technology for preventing erroneous pulse generation in a motor control device that generates a pulse (rectangular wave) signal from a current ripple contained in an armature current to control the drive of a motor. .

従来より、ブラシ付きDCモータの動作制御に際し、その回転数や回転角度を検出する手法として、ブラシと整流子片の接触が切り替わる際に生じる電流リップルを利用した所謂センサレスポジショニングが知られている。例えば、特許文献1には、ブラシが隣接する次の整流子片に切り替わる際に、モータ電流中に生じるスパイク状のパルス出力を検出してモータ回転数を検出する構成が記載されている。 Conventionally, when controlling the operation of a brushed DC motor, so-called sensorless positioning, which utilizes current ripples that occur when contact between a brush and a commutator piece is switched, has been known as a method for detecting the rotation speed and rotation angle of the brushed DC motor. For example, Patent Document 1 describes a configuration in which the motor rotation speed is detected by detecting a spike-like pulse output generated in the motor current when the brush switches to the next adjacent commutator segment.

一方、ブラシ付きDCモータにおける電流リップル波形のレベルは、モータ電流と比例関係で増減する。ところが、モータ電流は、モータの負荷状態により大きく変化するため、負荷変化と共にリップル波形も大きく変動する。また、モータ電流には、モータから発生するブラシノイズも重畳されている。このため、これらの不安定要素を含むモータ電流から電流リップルのみを抽出するのは容易ではない。 On the other hand, the level of the current ripple waveform in a brushed DC motor increases or decreases in proportion to the motor current. However, since the motor current varies greatly depending on the load condition of the motor, the ripple waveform also varies greatly as the load changes. Further, brush noise generated from the motor is also superimposed on the motor current. Therefore, it is not easy to extract only the current ripple from the motor current that includes these unstable elements.

そこで、特許文献2のように、電機子電流の変化を電圧変化信号として出力し、この電圧変化信号から電流リップル成分とノイズ成分を抽出し、そこからノイズ成分を除去して電流リップル成分のみを抽出し、それをデジタル信号に変換することにより、電流リップルからパルス信号を生成して出力するシステムも提案されている。このシステムでは、従来のモータ構成そのままで電流リップルを取り出してパルス化でき、モータの性能や特性を損なうことなくリップルセンシングが実施される。 Therefore, as in Patent Document 2, the change in armature current is output as a voltage change signal, the current ripple component and the noise component are extracted from this voltage change signal, and the noise component is removed from there to extract only the current ripple component. A system has also been proposed that generates and outputs a pulse signal from current ripple by extracting it and converting it into a digital signal. With this system, current ripple can be extracted and pulsed using the conventional motor configuration, and ripple sensing can be performed without compromising motor performance or characteristics.

特開2009-159674号公報Japanese Patent Application Publication No. 2009-159674 特開2018-74662号公報Japanese Patent Application Publication No. 2018-74662

ところが、特許文献2のような方式においても、モータが作動しておらず、電流リップルも発生していない状態のとき、静電気やラジオ、サージ、通信機器、他の制御機器からのノイズの回り込みなどにより、リップル波形と同様な周波数、電圧の外乱がシステムに入力されるとパルスが誤出力されてしまう懸念があった。図3は、モータ作動状態とパルス出力(リップルパルス)の状態を示すタイムチャートであり、図3に示すように、モータが停止している状態(X部)では、本来、リップルパルスも出力されないはずであるが、ノイズ等が入力されると、破線のような誤パルスが発生してしまう可能性がある。 However, even in the method disclosed in Patent Document 2, when the motor is not operating and no current ripple is occurring, static electricity, radio waves, surges, noise from communication equipment, other control equipment, etc. Therefore, if a disturbance with a frequency and voltage similar to the ripple waveform is input to the system, there is a concern that pulses may be output incorrectly. Fig. 3 is a time chart showing the motor operating state and the pulse output (ripple pulse) state. As shown in Fig. 3, when the motor is stopped (X section), ripple pulses are not normally output. However, if noise or the like is input, there is a possibility that an erroneous pulse as shown by the broken line will be generated.

このような誤パルスが生じると、パルスカウント値にズレが生じ、モータの回転角度情報等に誤差が発生し、モータの動作制御に支障を来すおそれがある。例えば、特許文献2のようなシステムをパワーウインド用モータに用いた場合、パルスカウントのズレは窓位置の誤検知につながり、窓の動作速度が想定から外れたり、挟み込み検知のマスク領域の認識にズレが生じたりするなどのおそれがあった。 When such an erroneous pulse occurs, a deviation occurs in the pulse count value, and an error occurs in the rotation angle information of the motor, etc., which may impede the operation control of the motor. For example, when a system such as that disclosed in Patent Document 2 is used in a power window motor, a discrepancy in the pulse count may lead to false detection of the window position, the window operating speed may deviate from the expected one, or the recognition of the mask area for entrapment detection may be affected. There was a risk that misalignment would occur.

本発明の目的は、電流リップルからパルス信号を生成してモータの駆動制御を行うモータ制御装置において、非通電・停止時にノイズ等によって生じる誤パルスの発生を防止することにある。 An object of the present invention is to prevent the generation of erroneous pulses caused by noise or the like when the motor is de-energized or stopped in a motor control device that generates pulse signals from current ripples to control the drive of a motor.

本発明のモータ制御装置は、直流モータの電機子電流に含まれる電流リップルを検出し、前記電流リップルをパルス信号として出力するリップルパルス変換部と、前記直流モータの電機子電流から電流リップルを検出する感度を調整する検出感度調整部と、を有するモータ制御装置であって、前記リップル検出感度調整部は、前記直流モータが通電されておらず、かつ、該直流モータが作動していないとき、前記電流リップルの検出感度を低下させることを特徴とする。 The motor control device of the present invention includes a ripple pulse converter that detects current ripple included in the armature current of the DC motor and outputs the current ripple as a pulse signal , and a ripple pulse converter that detects the current ripple from the armature current of the DC motor. a detection sensitivity adjustment section for adjusting the sensitivity of the ripple detection sensitivity adjustment section; The present invention is characterized in that the detection sensitivity of the current ripple is reduced .

本発明にあっては、リップル検出感度調整部により、モータが非通電・停止状態のとき、電流リップルの検出感度を低下させる。これにより、パルス信号が発生しないはずの非通電・停止期間にノイズ等による外乱が生じても、誤パルスの発生を抑えることができる。このため、例えば、パルスカウントに基づいてモータの制御を行う場合においても、カウント値のズレを防止でき、モータの回転角度情報等の誤差を抑え、モータの制御精度の向上を図ることが可能となる。 In the present invention, the ripple detection sensitivity adjustment section lowers the current ripple detection sensitivity when the motor is in a non-energized/stopped state. This makes it possible to suppress the generation of erroneous pulses even if disturbances such as noise occur during the non-energized/stopped period when no pulse signal is supposed to be generated. Therefore, even when controlling a motor based on pulse counts, for example, it is possible to prevent deviations in count values, suppress errors in motor rotation angle information, and improve motor control accuracy. Become.

前記モータ制御装置において、前記リップル検出感度調整部に、前記直流モータの端子電圧に基づいて、前記直流モータの通電状態を判定するモータ電圧入力判断部と、前記リップルパルス変換部から出力される前記パルス信号に基づいて、前記直流モータの作動状態を判定するリップルパルス入力判断部と、前記モータ電圧入力判断部と前記リップルパルス入力判断部の判断結果に基づき、前記直流モータが非通電状態でかつ停止状態と判断される場合は、前記リップルパルス変換部における増幅度を低下させ、前記電流リップルの検出感度を低下させる増幅度調整部と、を設けても良い。 In the motor control device, the ripple detection sensitivity adjustment section includes a motor voltage input determination section that determines the energization state of the DC motor based on the terminal voltage of the DC motor, and a motor voltage input determination section that determines the energization state of the DC motor based on the terminal voltage of the DC motor; a ripple pulse input determination section that determines the operating state of the DC motor based on a pulse signal; and a ripple pulse input determination section that determines the operating state of the DC motor, and a ripple pulse input determination section that determines whether the DC motor is in a de-energized state and An amplification degree adjustment section may be provided that reduces the amplification degree in the ripple pulse conversion section and decreases the detection sensitivity of the current ripple when it is determined that the current ripple is in a stopped state.

この場合、前記モータ電圧入力判断部は、前記直流モータ前後の電圧をそれぞれ検出し、両者の電圧値に基づいて、前記直流モータに対する通電の有無を判定するようにしても良い。また、前記リップルパルス入力判断部に、前記パルス信号をDC成分とパルス信号に分別するリップルパルス検出部と、前記リップルパルス検出部にて分別されたパルス信号をDC成分に変換するリップルパルス平滑部と、前記リップルパルス平滑部にてDC成分に変換されたパルス信号の電圧値が、所定の基準電圧を超えている場合に信号を出力する差動増幅部と、を設けても良い。 In this case, the motor voltage input determination unit may detect voltages before and after the DC motor, and determine whether or not the DC motor is energized based on the voltage values of both. Further, the ripple pulse input determination section includes a ripple pulse detection section that separates the pulse signal into a DC component and a pulse signal, and a ripple pulse smoothing section that converts the pulse signal separated by the ripple pulse detection section into a DC component. and a differential amplifier section that outputs a signal when the voltage value of the pulse signal converted into a DC component by the ripple pulse smoothing section exceeds a predetermined reference voltage.

一方、本発明のモータ制御方法は、直流モータの電機子電流に含まれる電流リップルを検出し、前記電流リップルから生成したパルス信号に基づいて前記直流モータの動作制御を行うモータ制御方法であって、前記直流モータが通電されておらず、かつ、該直流モータが作動していないとき、前記電流リップルの検出感度を低下させることを特徴とする。 On the other hand, the motor control method of the present invention is a motor control method that detects a current ripple included in an armature current of a DC motor and controls the operation of the DC motor based on a pulse signal generated from the current ripple. , the detection sensitivity of the current ripple is reduced when the DC motor is not energized and is not operating.

本発明にあっては、モータが非通電・停止状態のとき、電流リップルの検出感度を低下させる。これにより、パルス信号が発生しないはずの非通電・停止期間にノイズ等による外乱が生じても、誤パルスの発生を抑えることができる。このため、例えば、パルスカウントに基づいてモータの制御を行う場合においても、カウント値のズレを防止でき、モータの回転角度情報等の誤差を抑え、モータの制御精度の向上を図ることが可能となる。 In the present invention, when the motor is in a non-energized/stopped state, the current ripple detection sensitivity is reduced. This makes it possible to suppress the generation of erroneous pulses even if disturbances such as noise occur during the non-energized/stopped period when no pulse signal is supposed to be generated. Therefore, even when controlling a motor based on pulse counts, for example, it is possible to prevent deviations in count values, suppress errors in motor rotation angle information, and improve motor control accuracy. Become.

本発明のモータ制御装置によれば、直流モータの電機子電流に含まれる電流リップルからパルス信号を生成するリップルパルス変換部を有するモータ制御装置にて、直流モータが通電されておらず、かつ、作動していないとき、電流リップルの検出感度を低下させるリップル検出感度調整部を設けたので、非通電・停止時にノイズ等による外乱が生じても、誤パルスの発生を抑えることができる。このため、例えば、パルスカウントに基づいてモータの制御を行う場合においても、カウント値のズレを防止でき、モータの回転角度情報等の誤差を抑え、モータの制御精度の向上を図ることが可能となる。 According to the motor control device of the present invention, in the motor control device including the ripple pulse conversion section that generates a pulse signal from the current ripple included in the armature current of the DC motor, the DC motor is not energized, and Since a ripple detection sensitivity adjustment section is provided that lowers the current ripple detection sensitivity when the device is not in operation, it is possible to suppress the generation of erroneous pulses even if disturbances such as noise occur when the device is not energized or stopped. Therefore, even when controlling a motor based on pulse counts, for example, it is possible to prevent deviations in count values, suppress errors in motor rotation angle information, and improve motor control accuracy. Become.

本発明のモータ制御方法によれば、直流モータの電機子電流に含まれる電流リップルから生成したパルス信号に基づいて直流モータの動作制御を行うモータ制御方法にて、直流モータが通電されておらず、かつ、作動していないとき、電流リップルの検出感度を低下させるので、非通電・停止時にノイズ等による外乱が生じても、誤パルスの発生を抑えることができる。このため、例えば、パルスカウントに基づいてモータの制御を行う場合においても、カウント値のズレを防止でき、モータの回転角度情報等の誤差を抑え、モータの制御精度の向上を図ることが可能となる。 According to the motor control method of the present invention, in the motor control method for controlling the operation of the DC motor based on a pulse signal generated from a current ripple included in the armature current of the DC motor, the DC motor is not energized. In addition, since the current ripple detection sensitivity is lowered when the device is not in operation, it is possible to suppress the generation of erroneous pulses even if disturbances such as noise occur when the device is not energized or stopped. Therefore, even when controlling a motor based on pulse counts, for example, it is possible to prevent deviations in count values, suppress errors in motor rotation angle information, and improve motor control accuracy. Become.

本発明の一実施形態であるモータ制御装置の構成を示すブロック図である。1 is a block diagram showing the configuration of a motor control device that is an embodiment of the present invention. 図1のモータ制御装置に配設されるリップル検出感度調整部における真理値表である。2 is a truth table in a ripple detection sensitivity adjustment section provided in the motor control device of FIG. 1. FIG. モータ動作とリップルパルスとの関係を示す説明図である。FIG. 3 is an explanatory diagram showing the relationship between motor operation and ripple pulses.

以下、本発明の実施の形態を図面に基づいて詳細に説明する。図1は、本発明の一実施形態であるモータ制御装置1の構成を示すブロック図であり、モータ制御装置1は、例えば、車両のパワーウインド用モータの動作制御に適用される。モータ制御装置1には、モータ電流(電機子電流)に含まれる電流リップルを、ホールIC等を用いることなく抽出し、パルス信号の形で出力するリップルパルス変換部10が設けられている。 Hereinafter, embodiments of the present invention will be described in detail based on the drawings. FIG. 1 is a block diagram showing the configuration of a motor control device 1 according to an embodiment of the present invention, and the motor control device 1 is applied, for example, to control the operation of a motor for a power window of a vehicle. The motor control device 1 is provided with a ripple pulse converter 10 that extracts the current ripple contained in the motor current (armature current) without using a Hall IC or the like and outputs it in the form of a pulse signal.

リップルパルス変換部10は、モータドライバ(電源)2からブラシ付きDCモータ3(以下、モータ3と略記する)に電力を供給する電源ライン4上に配置される。電源ライン4にはシャント抵抗5が設けられており、リップルパルス変換部10は、シャント抵抗5の前後(モータドライバ2側とモータ3側)に接続される。モータ制御装置1は、リップルパルス変換部10からのパルス出力(リップルパルス)に基づいて、モータ3の回転数や回転方向等を算出し、モータ3の動作制御を行う。 The ripple pulse converter 10 is arranged on a power supply line 4 that supplies power from a motor driver (power supply) 2 to a brushed DC motor 3 (hereinafter abbreviated as motor 3). A shunt resistor 5 is provided in the power supply line 4, and the ripple pulse converter 10 is connected before and after the shunt resistor 5 (on the motor driver 2 side and the motor 3 side). The motor control device 1 calculates the rotation speed, rotation direction, etc. of the motor 3 based on the pulse output (ripple pulse) from the ripple pulse converter 10, and controls the operation of the motor 3.

リップルパルス変換部10には、電流検出部11や、第1平滑回路12、利得調整部13、第2平滑回路14、リップル検出部15、デジタル信号変換部16が設けられている。電流検出部11は、シャント抵抗5の前後の電圧差(電圧降下)を検出してモータ駆動電流を検知する一方、その変化を電圧変化信号として出力する。この電圧変化信号は、第1平滑回路12から利得調整部13→第2平滑回路14→リップル検出部15と送られ、電圧変化信号からノイズ成分が除去され電流リップル成分のみが抽出される。抽出された電流リップル成分は、デジタル信号変換部16によってエンコーダ出力相当のパルス信号に変換され、リップルパルスが生成、出力される。 The ripple pulse conversion section 10 is provided with a current detection section 11 , a first smoothing circuit 12 , a gain adjustment section 13 , a second smoothing circuit 14 , a ripple detection section 15 , and a digital signal conversion section 16 . The current detection unit 11 detects the voltage difference (voltage drop) across the shunt resistor 5 to detect the motor drive current, and outputs the change as a voltage change signal. This voltage change signal is sent from the first smoothing circuit 12 to the gain adjustment unit 13 → second smoothing circuit 14 → ripple detection unit 15, noise components are removed from the voltage change signal, and only the current ripple component is extracted. The extracted current ripple component is converted into a pulse signal equivalent to an encoder output by the digital signal converter 16, and a ripple pulse is generated and output.

リップルパルス変換部10によって形成されたパルス信号は、各パルスが、ブラシと整流子片との接触の切り替わりに対応している。ブラシと整流子片の数はモータごとに予め定まっているため、このパルスをカウントすることにより、モータ3の回転数を算出することができる。すなわち、モータ電流中の電流リップルから、ホールIC等の回転検出部材を用いることなくモータ3の回転数が検出される。その際、リップルパルス変換部10は、従来のモータ構成そのままでモータ電流からリップル抽出が可能である。 In the pulse signal generated by the ripple pulse converter 10, each pulse corresponds to a change in contact between the brush and the commutator bar. Since the number of brushes and commutator pieces is predetermined for each motor, the number of rotations of the motor 3 can be calculated by counting these pulses. That is, the rotation speed of the motor 3 is detected from the current ripple in the motor current without using a rotation detection member such as a Hall IC. At this time, the ripple pulse converter 10 can extract ripples from the motor current using the conventional motor configuration.

一方、本発明によるモータ制御装置1にはさらに、モータ電流から電流リップルを検出する感度を調整するリップル検出感度調整部21が設けられている。リップル検出感度調整部21は、モータ電圧入力判断部22と、リップルパルス入力判断部23、増幅度調整部24を備えており、モータ3が通電されておらず、かつ、作動していないとき、リップルパルス変換部10における増幅度を低下させて電流リップルの検出感度を低下させる。 On the other hand, the motor control device 1 according to the present invention is further provided with a ripple detection sensitivity adjustment section 21 that adjusts the sensitivity for detecting current ripple from the motor current. The ripple detection sensitivity adjustment section 21 includes a motor voltage input determination section 22, a ripple pulse input determination section 23, and an amplification degree adjustment section 24, and when the motor 3 is not energized and is not operating, The degree of amplification in the ripple pulse converter 10 is lowered to lower the current ripple detection sensitivity.

モータ電圧入力判断部22は、図1に示すように、モータ3前後の電圧VA,VB(モータ端子電圧)をそれぞれ検出し、両者の電圧値に基づいて、モータ3に対する通電状態(通電の有無)を判定する。リップルパルス入力判断部23は、リップルパルスの存否からモータ3の作動状態(回転しているか、停止しているか)を判定する。増幅度調整部24は、モータ電圧入力判断部22とリップルパルス入力判断部23からの出力に基づき、利得調整部13における増幅度を調整し(ゲインコントロール)、電流リップルの検出感度を調整する。 As shown in FIG. 1, the motor voltage input determination unit 22 detects the voltages VA and VB (motor terminal voltages) before and after the motor 3, and determines the energization state of the motor 3 (whether or not it is energized) based on the voltage values of both. ) is determined. The ripple pulse input determination unit 23 determines the operating state of the motor 3 (whether it is rotating or stopped) based on the presence or absence of ripple pulses. The amplification degree adjustment section 24 adjusts the amplification degree in the gain adjustment section 13 (gain control) based on the outputs from the motor voltage input determination section 22 and the ripple pulse input determination section 23, and adjusts the current ripple detection sensitivity.

この場合、リップルパルス入力判断部23は、リップルパルス変換部10から出力されるリップルパルスをDC成分(直流成分)とパルス信号に分別するリップルパルス検出部25と、リップルパルス検出部25にて分別されたパルス信号をDC成分に変換するリップルパルス平滑部26と、リップルパルス平滑部にてDC成分に変換されたパルス信号の電圧値が、所定の基準電圧(Bias電圧:Voff)を超えている場合に信号を出力する差動増幅部27とを備えている。 In this case, the ripple pulse input determination section 23 includes a ripple pulse detection section 25 that separates the ripple pulse output from the ripple pulse conversion section 10 into a DC component (direct current component) and a pulse signal; The ripple pulse smoothing unit 26 converts the pulse signal into a DC component, and the voltage value of the pulse signal converted into a DC component by the ripple pulse smoothing unit exceeds a predetermined reference voltage (Bias voltage: Voff). It also includes a differential amplification section 27 that outputs a signal when the signal is output.

また、増幅度調整部24は、モータ3が非通電状態にあり、リップルパルスが連続して発生しないときは、モータ3が停止状態にあるとみなし、リップルパルス変換部10の増幅度を下げるよう機能し、リップル検出感度を低下させる。これにより、リップルパルス変換部10では、外乱入力があっても、それに応じたパルスが発生せず、外乱による誤パルス発生が抑制される。図2は、リップル検出感度調整部21における真理値表であり、リップル検出感度調整部21は次のような処理により、リップルパルス変換部10の利得を調整する。 Furthermore, when the motor 3 is in a non-energized state and ripple pulses are not generated continuously, the amplification degree adjustment section 24 considers that the motor 3 is in a stopped state, and lowers the amplification degree of the ripple pulse conversion section 10. function and reduce ripple detection sensitivity. As a result, even if there is a disturbance input, the ripple pulse converter 10 does not generate a corresponding pulse, and the generation of erroneous pulses due to the disturbance is suppressed. FIG. 2 is a truth table in the ripple detection sensitivity adjustment section 21, and the ripple detection sensitivity adjustment section 21 adjusts the gain of the ripple pulse conversion section 10 by the following processing.

(1)モータ通電・定常回転の場合
モータ3が通電状態で定常回転しているときは、モータ3の端子電圧VA,VBの何れかは「H(Hi)」となる。ここでは、CW回転のとき「VA:H,VB:L(Low)」、CCW回転のとき「VA:L,VB:H」に設定されている。したがって、通電・定常回転の場合、NOT31,32を経た後の出力D(NAND33の出力)は、CW回転・CCW回転何れの場合も「H」となる。すなわち、モータ3に通電されている場合、モータ電圧入力判断部22からの出力は「H」となる。
(1) When the motor is energized and rotates steadily When the motor 3 is energized and rotates steadily, either the terminal voltage VA or VB of the motor 3 becomes "H (Hi)". Here, the settings are "VA:H, VB:L (Low)" for CW rotation, and "VA:L, VB:H" for CCW rotation. Therefore, in the case of energization and steady rotation, the output D (output of NAND 33) after passing through NOT31 and 32 becomes "H" in both CW rotation and CCW rotation. That is, when the motor 3 is energized, the output from the motor voltage input determining section 22 becomes "H".

一方、リップルパルス入力判断部23には、リップルパルス変換部10からリップルパルス(以下、RPと略記する)が入力されている。リップルパルス入力判断部23では、RP未発生時にRP出力が「H」固定となる場合もあるため、まず、微分回路を用いたリップルパルス検出部25にて、リップルパルスをDC成分とパルス信号に分別する。次に、リップルパルス検出部25で得たパルス信号をリップルパルス平滑部26にてDC成分に変換する。リップルパルス平滑部26の出力Aは、差動増幅部27に入力され、所定のBias電圧(Voff)との関係に基づいて出力Bが生じる。 On the other hand, a ripple pulse (hereinafter abbreviated as RP) is input to the ripple pulse input determination section 23 from the ripple pulse conversion section 10. In the ripple pulse input determination section 23, since the RP output may be fixed at "H" when RP is not generated, first, the ripple pulse is converted into a DC component and a pulse signal in the ripple pulse detection section 25 using a differentiating circuit. Separate. Next, the pulse signal obtained by the ripple pulse detection section 25 is converted into a DC component by the ripple pulse smoothing section 26. The output A of the ripple pulse smoothing section 26 is input to the differential amplification section 27, and an output B is generated based on the relationship with a predetermined Bias voltage (Voff).

この場合、Bias電圧は、外乱と通常作動時を分別するため、連続して数十パルス以上(例えば、20パルス以上)発生している場合は出力A>Voffとなるように設定されている。したがって、通電・定常回転では、RPが数十パルス以上連続して出力されているため、リップルパルス平滑部26の出力AはBias電圧よりも大きくなり、差動増幅部27の出力Bは「H」となる。 In this case, the Bias voltage is set so that the output A>Voff when tens of pulses or more (for example, 20 pulses or more) are continuously generated in order to distinguish between disturbance and normal operation. Therefore, during energization and steady rotation, RP is output continuously over several tens of pulses, so the output A of the ripple pulse smoothing section 26 becomes larger than the Bias voltage, and the output B of the differential amplifier section 27 becomes "H". ”.

増幅度調整部24には、モータ電圧入力判断部22から出力D:「H」、差動増幅部27から出力B:「H」が入力され、NAND34の入力E,Cは、NOT35,36によりそれぞれ「L」,「L」となる。したがって、NAND34の出力Fは「H」となり、NOT37の出力Gは「L」となる。これにより、トランジスタ(スイッチング素子)38のゲートは「L」となり、トランジスタ38のコレクタ側Pはオープンとなる。その結果、利得調整部13に対するゲインコントロールは行われず、通常の増幅度にてリップルパルス検出が行われ、モータ3の駆動制御が実施される。 The amplification degree adjustment unit 24 receives the output D: “H” from the motor voltage input determination unit 22 and the output B: “H” from the differential amplifier unit 27, and inputs E and C of the NAND 34 are inputted by NOTs 35 and 36. They are "L" and "L" respectively. Therefore, the output F of the NAND34 becomes "H" and the output G of the NOT37 becomes "L". As a result, the gate of the transistor (switching element) 38 becomes "L", and the collector side P of the transistor 38 becomes open. As a result, no gain control is performed on the gain adjustment section 13, ripple pulse detection is performed at a normal amplification degree, and drive control of the motor 3 is performed.

(2)モータ非通電・惰走回転の場合
モータ3が通電されていない状態であるが惰走回転しているときも、厳密にはモータ3に誘起電圧が生じており、モニタされている端子電圧VA,VBの何れかは「H」となる。しかし、その際の誘起電圧は通電・定常回転時と比べると非常に小さい。このため、リップル検出感度調整部21では、VA,VBが所定電圧未満の場合には「L」とする。その結果、NAND33には、NOT31,32を介して「H」,「H」が入力され、非通電・惰走回転の場合は、出力DはCW回転・CCW回転何れの場合も「L」となる。
(2) When the motor is not energized and is coasting When the motor 3 is not energized but is coasting, strictly speaking, an induced voltage is generated in the motor 3, and the monitored terminal Either voltage VA or VB becomes "H". However, the induced voltage at that time is very small compared to when the motor is energized and rotates steadily. Therefore, in the ripple detection sensitivity adjustment section 21, when VA and VB are less than a predetermined voltage, they are set to "L". As a result, "H" and "H" are input to NAND33 via NOT31 and 32, and in the case of non-energization and coasting rotation, the output D becomes "L" in both CW rotation and CCW rotation. Become.

一方、惰走回転時には、リップルパルス入力判断部23に対し、停止時とは異なり、ある程度連続した数十パルス以上のRPが入力される。したがって、非通電・惰走回転の場合、出力AはBias電圧よりも大きくなり、差動増幅部27の出力Bは「H」となる。増幅度調整部24には、モータ電圧入力判断部22から出力D:「L」、差動増幅部27から出力B:「H」が入力され、NAND34の入力E,Cは、NOT35,36によりそれぞれ「H」,「L」となる。したがって、NAND34の出力Fは「H」、NOT37の出力Gは「L」となり、トランジスタ38のコレクタ側Pはオープンとなる。その結果、利得調整部13に対するゲインコントロールは行われず、通常の増幅度にてモータ3の駆動制御(リップルパルス検出)が実施される。 On the other hand, during coasting rotation, RP of several dozen or more continuous pulses is input to the ripple pulse input determination unit 23, unlike when the engine is stopped. Therefore, in the case of non-energized/coasting rotation, the output A becomes larger than the Bias voltage, and the output B of the differential amplifier section 27 becomes "H". The amplification degree adjustment unit 24 receives the output D: “L” from the motor voltage input determination unit 22 and the output B: “H” from the differential amplifier unit 27, and the inputs E and C of the NAND 34 are They become "H" and "L" respectively. Therefore, the output F of the NAND 34 becomes "H", the output G of the NOT 37 becomes "L", and the collector side P of the transistor 38 becomes open. As a result, the gain control for the gain adjustment section 13 is not performed, and the drive control (ripple pulse detection) of the motor 3 is performed at the normal amplification degree.

(3)モータ非通電・逆転の場合
モータ3は、定常回転時に回転が拘束され、その後、通電がオフされると、モータ機構の反作用によりモータ3が逆転する場合がある。この場合、端子電圧VA,VBの何れかは「H」となるが、非通電・惰走のときと同様、その際の誘起電圧は定常回転時と比べると微小であるため、リップル検出感度調整部21では、VA,VBを「L」として取り扱う。その結果、NAND33には、NOT31,32を介して「H」,「H」が入力され、非通電・逆転の場合も、出力DはCW回転・CCW回転何れの場合も「L」となる。
(3) When the motor is de-energized and reversed When the motor 3 is restricted from rotating during steady rotation, and then the power is turned off, the motor 3 may reverse due to the reaction of the motor mechanism. In this case, either the terminal voltage VA or VB becomes "H", but as in the case of de-energization and coasting, the induced voltage at that time is minute compared to that during steady rotation, so adjust the ripple detection sensitivity. In the section 21, VA and VB are handled as "L". As a result, "H" and "H" are input to the NAND 33 via the NOTs 31 and 32, and the output D becomes "L" in both CW rotation and CCW rotation, even in the case of non-energization and reverse rotation.

また、逆転時も、リップルパルス入力判断部23には、ある程度連続した数十パルス以上のRPが入力されるため、非通電・惰走のときと同様に、差動増幅部27の出力Bは「H」となる。そして、増幅度調整部24には、非通電・惰走の場合と同様に、モータ電圧入力判断部22から出力D:「L」、差動増幅部27から出力B:「H」が入力され、NAND34の入力E,Cは、NOT35,36によりそれぞれ「H」,「L」となる。したがって、NAND34の出力Fは「H」、NOT37の出力Gは「L」、トランジスタ38のコレクタ側Pがオープンとなり、利得調整部13に対するゲインコントロールも行われない。 In addition, even during reverse rotation, the ripple pulse input determination section 23 receives RP of several dozen or more continuous pulses to some extent, so the output B of the differential amplifier section 27 is It becomes "H". Then, the output D: "L" from the motor voltage input determination section 22 and the output B: "H" from the differential amplification section 27 are input to the amplification degree adjustment section 24, as in the case of de-energized/coasting. , the inputs E and C of the NAND34 become "H" and "L" due to the NOTs 35 and 36, respectively. Therefore, the output F of the NAND 34 is "H", the output G of the NOT 37 is "L", the collector side P of the transistor 38 is open, and no gain control is performed on the gain adjustment section 13.

(4)モータ非通電・停止の場合
モータ3が通電されていない状態で停止しているときは、VA,VBは「L」となる。その結果、NAND33には、NOT31,32を介して「H」,「H」が入力され、非通電・停止の場合は、出力Dは「L」となる。また、停止時には、リップルパルス入力判断部23に連続したRPは入力されない。したがって、停止の場合、出力AはBias電圧よりも小さくなり、差動増幅部27の出力Bは「L」となる。
(4) When the motor is de-energized/stopped When the motor 3 is stopped without being energized, VA and VB become "L". As a result, "H" and "H" are input to the NAND 33 via the NOTs 31 and 32, and in the case of de-energization/stop, the output D becomes "L". Furthermore, when stopped, consecutive RPs are not input to the ripple pulse input determining section 23. Therefore, in the case of stopping, the output A becomes smaller than the Bias voltage, and the output B of the differential amplifier section 27 becomes "L".

このとき、増幅度調整部24には、モータ電圧入力判断部22から出力D:「L」、差動増幅部27から出力B:「L」が入力され、NAND34の入力E,Cは、NOT35,36によりそれぞれ「H」,「H」となる。したがって、NAND34の出力Fは「L」、NOT37の出力Gは「H」となる。すると、このときトランジスタ38のゲートは「H」となり、トランジスタ38のコレクタ側Pはエミッタ側と導通して接地し「L」となる。その結果、利得調整部13のゲインコントロール電圧が「L」となり、増幅度が下げられる。これにより、リップルパルス変換部10の感度が低くなり、図3X部(モータ停止時)にノイズ等が入力されても、破線のような誤パルスの発生を抑制することができる。 At this time, the output D: "L" from the motor voltage input determination section 22 and the output B: "L" from the differential amplifier section 27 are input to the amplification degree adjustment section 24, and the inputs E and C of the NAND 34 are input to the NOT 35. , 36 become "H" and "H", respectively. Therefore, the output F of the NAND34 becomes "L" and the output G of the NOT37 becomes "H". Then, at this time, the gate of the transistor 38 becomes "H", and the collector side P of the transistor 38 is electrically connected to the emitter side and grounded, and becomes "L". As a result, the gain control voltage of the gain adjustment section 13 becomes "L", and the degree of amplification is lowered. As a result, the sensitivity of the ripple pulse converter 10 is lowered, and even if noise or the like is input to the section X in FIG. 3 (when the motor is stopped), it is possible to suppress the generation of erroneous pulses as shown by the broken line.

このように、本発明のモータ制御装置1では、モータ電流に含まれる電流リップルを抽出してリップルパルスを出力するリップルパルス変換部10に、モータ3が非通電・停止状態のとき、電流リップルの検出感度を低下させるリップル検出感度調整部21を設けることにより、リップルパルス未発生期間にノイズ等による外乱が生じても、誤パルスの発生を抑えることができる。このため、例えば、パルスカウントに基づいてモータの制御を行う場合においても、カウント値のズレを防止でき、モータの回転角度情報等の誤差を抑え、モータの制御精度の向上を図ることが可能となる。したがって、本実施の形態のように、パワーウインド用モータに当該制御装置を用いることにより、パルスカウントのズレによる窓位置の誤検知を防止できる。その結果、パワーウインドの制御精度の向上が図られ、窓の動作速度や挟み込み検知などの制御精度も向上する。 As described above, in the motor control device 1 of the present invention, when the motor 3 is in a non-energized/stopped state, the ripple pulse converter 10, which extracts the current ripple contained in the motor current and outputs a ripple pulse, converts the current ripple into the ripple pulse converter 10. By providing the ripple detection sensitivity adjustment section 21 that lowers the detection sensitivity, it is possible to suppress the generation of erroneous pulses even if disturbances such as noise occur during the period when no ripple pulses are generated. Therefore, even when controlling a motor based on pulse counts, for example, it is possible to prevent deviations in count values, suppress errors in motor rotation angle information, and improve motor control accuracy. Become. Therefore, by using the control device for the power window motor as in this embodiment, it is possible to prevent false detection of the window position due to pulse count deviation. As a result, the control accuracy of the power window is improved, and the control accuracy of window operation speed and pinch detection is also improved.

本発明は前記実施形態に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることは言うまでもない。
例えば、前述のモータ制御装置の機能は、リップルパルス変換部10やリップル検出感度調整部21などのハードウエア的な構成ではなく、ソフトウエア上にてこれらの機能を代替・実現することも可能である。
It goes without saying that the present invention is not limited to the embodiments described above, and can be modified in various ways without departing from the gist thereof.
For example, the functions of the above-mentioned motor control device can be replaced and realized by software rather than by hardware configurations such as the ripple pulse converter 10 and the ripple detection sensitivity adjuster 21. be.

本発明によるモータ制御装置は、パワーウインド用モータの動作制御のみならず、ワイパやパワーシート等の他の車載電動装置や、ブラシ付きモータを用いた家庭用電気製品等、モータ駆動電流からパルスを検出する技術を用いた機器に広く適用可能である。 The motor control device according to the present invention not only controls the operation of a power window motor, but also controls pulses from motor drive current for other in-vehicle electric devices such as wipers and power seats, and household electrical appliances using brushed motors. It is widely applicable to devices using detection technology.

1 モータ制御装置
2 モータドライバ
3 ブラシ付きDCモータ
4 電源ライン
5 シャント抵抗
10 リップルパルス変換部
11 電流検出部
12 第1平滑回路
13 利得調整部
14 第2平滑回路
15 リップル検出部
16 デジタル信号変換部
21 リップル検出感度調整部
22 モータ電圧入力判断部
23 リップルパルス入力判断部
24 増幅度調整部
25 リップルパルス検出部
26 リップルパルス平滑部
27 差動増幅部
31 NOT
32 NOT
33 NAND
34 NAND
35 NOT
36 NOT
37 NOT
38 トランジスタ
1 Motor control device 2 Motor driver 3 Brushed DC motor 4 Power line 5 Shunt resistor 10 Ripple pulse conversion section 11 Current detection section 12 First smoothing circuit 13 Gain adjustment section 14 Second smoothing circuit 15 Ripple detection section 16 Digital signal conversion section 21 Ripple detection sensitivity adjustment section 22 Motor voltage input judgment section 23 Ripple pulse input judgment section 24 Amplification degree adjustment section 25 Ripple pulse detection section 26 Ripple pulse smoothing section 27 Differential amplification section 31 NOT
32 NOT
33 NAND
34 NAND
35 NOT
36 NOT
37 NOT
38 Transistor

Claims (5)

直流モータの電機子電流に含まれる電流リップルを検出し、前記電流リップルをパルス信号として出力するリップルパルス変換部と、
前記直流モータの前記電機子電流から電流リップルを検出する感度を調整するリップル検出感度調整部と、を有するモータ制御装置であって、
前記リップル検出感度調整部は、前記直流モータが通電されておらず、かつ、該直流モータが作動していないとき、前記電流リップルの検出感度を低下させることを特徴とするモータ制御装置。
a ripple pulse converter that detects a current ripple included in the armature current of the DC motor and outputs the current ripple as a pulse signal ;
A motor control device comprising: a ripple detection sensitivity adjustment section that adjusts sensitivity for detecting current ripple from the armature current of the DC motor ,
The motor control device is characterized in that the ripple detection sensitivity adjustment unit lowers the detection sensitivity of the current ripple when the DC motor is not energized and is not operating.
請求項1記載のモータ制御装置において、
前記リップル検出感度調整部は、
前記直流モータの端子電圧に基づいて、前記直流モータの通電状態を判定するモータ電圧入力判断部と、
前記リップルパルス変換部から出力される前記パルス信号に基づいて、前記直流モータの作動状態を判定するリップルパルス入力判断部と、
前記モータ電圧入力判断部と前記リップルパルス入力判断部の判断結果に基づき、前記直流モータが非通電状態でかつ停止状態と判断される場合は、前記リップルパルス変換部における増幅度を低下させ、前記電流リップルの検出感度を低下させる増幅度調整部と、を有することを特徴とするモータ制御装置。
The motor control device according to claim 1,
The ripple detection sensitivity adjustment section is
a motor voltage input determination unit that determines an energization state of the DC motor based on a terminal voltage of the DC motor;
a ripple pulse input determination unit that determines the operating state of the DC motor based on the pulse signal output from the ripple pulse conversion unit;
If it is determined that the DC motor is in a de-energized state and in a stopped state based on the determination results of the motor voltage input determination section and the ripple pulse input determination section, the amplification degree in the ripple pulse conversion section is lowered, and the A motor control device comprising: an amplification degree adjustment section that reduces current ripple detection sensitivity.
請求項2記載のモータ制御装置において、
前記モータ電圧入力判断部は、前記直流モータ前後の電圧をそれぞれ検出し、両者の電圧値に基づいて、前記直流モータに対する通電の有無を判定することを特徴とするモータ制御装置。
The motor control device according to claim 2,
The motor control device is characterized in that the motor voltage input determination unit detects voltages before and after the DC motor, and determines whether or not the DC motor is energized based on the voltage values of both.
請求項2記載のモータ制御装置において、
前記リップルパルス入力判断部は、
前記パルス信号をDC成分とパルス信号に分別するリップルパルス検出部と、
前記リップルパルス検出部にて分別されたパルス信号をDC成分に変換するリップルパルス平滑部と、
前記リップルパルス平滑部にてDC成分に変換されたパルス信号の電圧値が、所定の基準電圧を超えている場合に信号を出力する差動増幅部と、を有することを特徴とするモータ制御装置。
The motor control device according to claim 2,
The ripple pulse input determination section includes:
a ripple pulse detection unit that separates the pulse signal into a DC component and a pulse signal;
a ripple pulse smoothing unit that converts the pulse signal separated by the ripple pulse detection unit into a DC component;
A motor control device comprising: a differential amplifier unit that outputs a signal when the voltage value of the pulse signal converted into a DC component by the ripple pulse smoothing unit exceeds a predetermined reference voltage. .
直流モータの電機子電流に含まれる電流リップルを検出し、前記電流リップルから生成したパルス信号に基づいて前記直流モータの動作制御を行うモータ制御方法であって、
前記直流モータが通電されておらず、かつ、該直流モータが作動していないとき、前記電流リップルの検出感度を低下させることを特徴とするモータ制御方法。
A motor control method that detects a current ripple included in an armature current of a DC motor and controls the operation of the DC motor based on a pulse signal generated from the current ripple, the method comprising:
A motor control method characterized in that the detection sensitivity of the current ripple is reduced when the DC motor is not energized and is not operating.
JP2020001887A 2020-01-09 2020-01-09 Motor control device and motor control method Active JP7383493B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020001887A JP7383493B2 (en) 2020-01-09 2020-01-09 Motor control device and motor control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020001887A JP7383493B2 (en) 2020-01-09 2020-01-09 Motor control device and motor control method

Publications (2)

Publication Number Publication Date
JP2021112021A JP2021112021A (en) 2021-08-02
JP7383493B2 true JP7383493B2 (en) 2023-11-20

Family

ID=77060358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020001887A Active JP7383493B2 (en) 2020-01-09 2020-01-09 Motor control device and motor control method

Country Status (1)

Country Link
JP (1) JP7383493B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114991612B (en) * 2021-08-04 2024-01-16 长城汽车股份有限公司 Ripple counting method, device, storage medium and equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000166274A (en) 1998-11-27 2000-06-16 Matsushita Electric Works Ltd Servo control device by detecting current ripple
JP2005323488A (en) 2004-04-06 2005-11-17 Denso Corp Method and device for detecting motor rotation data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000166274A (en) 1998-11-27 2000-06-16 Matsushita Electric Works Ltd Servo control device by detecting current ripple
JP2005323488A (en) 2004-04-06 2005-11-17 Denso Corp Method and device for detecting motor rotation data

Also Published As

Publication number Publication date
JP2021112021A (en) 2021-08-02

Similar Documents

Publication Publication Date Title
US9667175B2 (en) Motor control circuit and method
TWI535185B (en) Motor controlling device
JP4127251B2 (en) DC motor rotation information detector
WO2010128538A1 (en) Motor controller
US10886863B2 (en) Motor driving control device and motor control method
JP7383493B2 (en) Motor control device and motor control method
JP4434000B2 (en) Motor rotation information detection method and motor rotation information detection device
KR101857815B1 (en) Method for detecting blockages of electrically commutated electric motors
JP5141404B2 (en) PM motor magnetic pole position estimation method
US6225769B1 (en) Device for operating an electric motor
WO2018079128A1 (en) Motor control device and current ripple detection method for dc motor
JPH08502329A (en) Electric motor drive
JP4438619B2 (en) DC motor rotation information detector
CN107422258B (en) Apparatus and method for controlling ripple current sensing motor
JP2019193374A (en) Motor control device and DC motor current ripple detection method
KR102148733B1 (en) Method for processing hall sensor signal of motor drive apparatus
US11128244B2 (en) Device for detecting rotation direction and method for detecting rotation direction of motor, and motor control device
CN109005674B (en) Motor drive circuit, brushless motor drive device provided with same, and motor control method
JP6730488B2 (en) Control device and drive device for three-phase synchronous motor, and electric power steering device
JP2022094458A (en) Position detection device for mobile body and rotation amount detection device for motor
CN110572090A (en) hall element-free motor control device, method and storage medium
JPH04140085A (en) Dc motor controller
JPH03207290A (en) Driver for brushless motor
JP2019047728A (en) Control device for three-phase synchronous motor, control method, driving device and electrically-driven power steering device
JP2008301686A (en) Motor controller

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200129

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20200129

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220728

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230608

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230622

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230728

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20231012

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231108

R150 Certificate of patent or registration of utility model

Ref document number: 7383493

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150