JP2012196029A - Motor controller - Google Patents

Motor controller Download PDF

Info

Publication number
JP2012196029A
JP2012196029A JP2011057338A JP2011057338A JP2012196029A JP 2012196029 A JP2012196029 A JP 2012196029A JP 2011057338 A JP2011057338 A JP 2011057338A JP 2011057338 A JP2011057338 A JP 2011057338A JP 2012196029 A JP2012196029 A JP 2012196029A
Authority
JP
Japan
Prior art keywords
motor
pulse
voltage
period
control unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2011057338A
Other languages
Japanese (ja)
Other versions
JP5749529B2 (en
Inventor
Soichiro Tanaka
聡一郎 田中
Kohei Kihata
耕平 木幡
Takayoshi Ito
生佳 伊藤
Hayato Shimazaki
隼人 島崎
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.)
TS Tech Co Ltd
Original Assignee
TS Tech 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 TS Tech Co Ltd filed Critical TS Tech Co Ltd
Priority to JP2011057338A priority Critical patent/JP5749529B2/en
Priority to US14/005,004 priority patent/US20140001815A1/en
Priority to PCT/JP2012/056362 priority patent/WO2012124674A1/en
Priority to CN201280023259.7A priority patent/CN103688460A/en
Priority to EP12758207.0A priority patent/EP2688197A4/en
Publication of JP2012196029A publication Critical patent/JP2012196029A/en
Application granted granted Critical
Publication of JP5749529B2 publication Critical patent/JP5749529B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Electric Motors In General (AREA)
  • Control Of Direct Current Motors (AREA)

Abstract

PROBLEM TO BE SOLVED: To make it possible to supplement the number of pulses of a ripple component that is not extracted when an extraction circuit such as a switched capacitor filter does nor correctly extract the ripple component due to variations and the like in the power source voltage of a motor.SOLUTION: A motor controller 1 includes: a motor 2; an extraction circuit for converting the ripple component of the current signal of the motor 2 into a pulse signal; an A/D converter 7 for detecting the voltage of the motor 2; and a controller 4 for inputting a pulse signal. When the controller 4 detects a variation of voltage detected by the A/D converter 7, the controller 4 calculates an average period T_average of a pulse period T_before for one pulse or a plurality of pulses just before the voltage variation and a pulse period T_after for one pulse or a plurality of pulses after passing a predetermined period t from the voltage variation and calculates a quotient n obtained by dividing the predetermined period t by the average period T_average.

Description

本発明は、モータ制御装置に関する。   The present invention relates to a motor control device.

車両用シート、電動ドアミラー、パワーウィンドウ等には可動部が設けられ、可動部がモータによって駆動される。可動部の位置及び速度を制御装置によって正確に制御するためには、動作中のモータの回転量を検出する必要がある。モータの回転量を検出するべく、センサが用いられる。つまり、センサ(例えば、ホール素子、エンコーダ、リードスイッチセンサ)がモータ等に設けられ、動作中のモータの回転に同期した信号がセンサによって出力され、センサの出力信号が検出回路(例えば、コンパレータやAD変換器)を介して制御装置に入力される。   A movable part is provided in a vehicle seat, an electric door mirror, a power window, and the like, and the movable part is driven by a motor. In order to accurately control the position and speed of the movable part by the control device, it is necessary to detect the rotation amount of the motor in operation. A sensor is used to detect the rotation amount of the motor. That is, a sensor (for example, a hall element, an encoder, a reed switch sensor) is provided in a motor or the like, a signal synchronized with the rotation of the motor in operation is output by the sensor, and the output signal of the sensor is detected by a detection circuit (for example, a comparator or It is input to the control device via the AD converter.

ところが、センサを用いると、コストアップの要因になってしまう。そこで、センサを用いずに、モータの電流信号を利用して、モータの後段回路によってモータの回転量を検出する技術が提案されている(例えば、特許文献1、特許文献2参照)。モータが動作している際には、モータの電流信号には直流成分、低周波成分及び高周波ノイズ等が含まれており、更に、モータの回転に同期した脈動(以下、リプル(ripple)という。)成分も含まれている。特許文献1、特許文献2に記載の技術では、モータの電流信号を後段回路によって処理することによってリプル成分を抽出する。具体的には、後段回路のフィルタによってモータの電流信号のうち直流成分、低周波成分及び高周波ノイズを除去し、リプル成分を通過させる。モータの電流信号の各成分の周波数が環境変化によって変動するため、後段回路のフィルタには、カットオフ周波数を可変することができるスイッチト・キャパシタ・フィルタを用いる。具体的には、スイッチト・キャパシタ・フィルタを通過した信号が演算回路にフィードバックされ、演算回路がフィードバック信号からカットオフ周波数を演算して、スイッチト・キャパシタ・フィルタのカットオフ周波数を設定する。   However, using a sensor increases the cost. Therefore, a technique has been proposed in which the motor rotation amount is detected by a circuit subsequent to the motor using a motor current signal without using a sensor (see, for example, Patent Document 1 and Patent Document 2). When the motor is operating, the current signal of the motor includes a direct current component, a low frequency component, a high frequency noise, and the like, and further, a pulsation synchronized with the rotation of the motor (hereinafter referred to as ripple). ) Ingredients are also included. In the techniques described in Patent Document 1 and Patent Document 2, a ripple component is extracted by processing a current signal of a motor by a subsequent circuit. Specifically, a DC component, a low frequency component, and a high frequency noise are removed from the motor current signal by a filter in the subsequent circuit, and the ripple component is passed. Since the frequency of each component of the motor current signal fluctuates due to environmental changes, a switched capacitor filter capable of varying the cut-off frequency is used as the filter of the subsequent circuit. Specifically, a signal that has passed through the switched capacitor filter is fed back to the arithmetic circuit, and the arithmetic circuit calculates a cutoff frequency from the feedback signal to set the cutoff frequency of the switched capacitor filter.

特許文献1に記載の技術では、リプルパルス整形回路が、スイッチト・キャパシタ・フィルタ(SCF)を通過したリプル成分をパルス化し、カウンタ(CT)が、リプルパルス整形回路の出力信号のパルス数を計数する。カウンタ(CT)によって計数されたパルス数が、モータの回転量に相当するとともに、可動部の移動量に相当する。   In the technique described in Patent Document 1, the ripple pulse shaping circuit pulses the ripple component that has passed through the switched capacitor filter (SCF), and the counter (CT) counts the number of pulses of the output signal of the ripple pulse shaping circuit. . The number of pulses counted by the counter (CT) corresponds to the amount of rotation of the motor and the amount of movement of the movable part.

特開2003−9585号公報Japanese Patent Laid-Open No. 2003-9585 特開2008−283762号公報JP 2008-283762 A

従来の技術では、フィードバック制御によってスイッチト・キャパシタ・フィルタのカットオフ周波数が設定されるから、モータの電流信号の各成分の周波数が過渡的に又は急激に変化すると、カットオフ周波数の設定が遅れてしまい、リプル成分がスイッチト・キャパシタ・フィルタによっても正確に抽出することができない虞がある。
特に、モータの電源電圧が様々な外因で変動すると、モータの電流値も変動するので、モータの電流信号に含まれるリプル成分の振幅がモータの電流値の変動時に減少する。そのため、後段のスイッチト・キャパシタ・フィルタによってリプル成分が正確に抽出されない。よって、カウンタがパルス数を正確に計数することができ、モータの回転量や可動部の移動量が正確に測定されない。
そこで、本発明が解決しようとする課題は、モータの電源電圧の変動等が要因となって、スイッチト・キャパシタ・フィルタのような抽出回路がリプル成分を正確に抽出しなくても、抽出されなかったリプル成分のパルス数を補足できるようにすることである。
In the conventional technology, the cutoff frequency of the switched capacitor filter is set by feedback control. Therefore, if the frequency of each component of the motor current signal changes transiently or rapidly, the setting of the cutoff frequency is delayed. Therefore, the ripple component may not be accurately extracted even by the switched capacitor filter.
In particular, when the motor power supply voltage fluctuates due to various external factors, the motor current value also fluctuates, so that the amplitude of the ripple component included in the motor current signal decreases when the motor current value fluctuates. Therefore, the ripple component is not accurately extracted by the switched capacitor filter in the subsequent stage. Therefore, the counter can accurately count the number of pulses, and the rotation amount of the motor and the movement amount of the movable part are not accurately measured.
Therefore, the problem to be solved by the present invention is extracted even if the extraction circuit such as the switched capacitor filter does not accurately extract the ripple component due to the fluctuation of the power supply voltage of the motor. It is to be able to supplement the number of pulses of the ripple component that did not exist.

以上の課題を解決するための請求項1に係る発明によれば、
モータ制御装置が、
駆動されると電流信号に周期的なリプルを発生させるモータと、
前記モータの前記電流信号からリプル成分を抽出して、そのリプル成分をパルス化したパルス信号を出力する抽出回路と、
前記モータの電圧を検出する電圧検出部と、
前記パルス信号を入力するとともに、前記モータを制御する制御部と、を備え、
前記制御部が、
前記パルス信号のパルス数を計数する第一処理と、
前記パルス信号のパルスごとに前記パルス信号のパルス周期を計時して、計時したパルス周期を順次記憶する第二処理と、
前記電圧検出部によって検出された電圧の変動を検出した場合に、前記第二処理で記憶したパルス周期のうち、前記電圧検出部によって検出された電圧の変動を検出する直前の一パルス分又は複数パルス分のパルス周期と、前記第二処理で記憶したパルス周期のうち、前記電圧検出部によって検出された電圧の変動を検出してから所定期間経過後の一パルス分又は複数パルス分のパルス周期との平均周期を算出する第三処理と、
前記所定期間を前記第三処理で算出した前記平均周期で除して得られる商を算出する第四処理と、を実行する。
According to the invention according to claim 1 for solving the above problems,
The motor control device
A motor that generates a periodic ripple in the current signal when driven;
An extraction circuit that extracts a ripple component from the current signal of the motor and outputs a pulse signal obtained by pulsing the ripple component;
A voltage detector for detecting the voltage of the motor;
A controller that inputs the pulse signal and controls the motor;
The control unit is
A first process for counting the number of pulses of the pulse signal;
A second process of measuring the pulse period of the pulse signal for each pulse of the pulse signal and sequentially storing the measured pulse period;
In the case where a change in voltage detected by the voltage detector is detected, one pulse or a plurality of pulses immediately before detecting a change in voltage detected by the voltage detector in the pulse period stored in the second process Among the pulse period for the pulse and the pulse period stored in the second process, the pulse period for one pulse or a plurality of pulses after a predetermined period has elapsed since the detection of the voltage variation detected by the voltage detection unit A third process for calculating an average period with
And a fourth process for calculating a quotient obtained by dividing the predetermined period by the average period calculated in the third process.

請求項2に係る発明によれば、請求項1において、
前記制御部が、
前記電圧検出部によって検出された電圧の変動を検出した場合に、前記所定期間の間における前記パルス信号のパルス数を計数する第五処理と、
前記第一処理で計数したパルス数から前記第五処理で計数したパルス数を減算し、それに前記第四処理で算出した商を加算する第六処理と、を更に実行する。
According to the invention of claim 2, in claim 1,
The control unit is
A fifth process of counting the number of pulses of the pulse signal during the predetermined period when detecting a variation in the voltage detected by the voltage detector;
A sixth process of subtracting the number of pulses counted in the fifth process from the number of pulses counted in the first process and adding the quotient calculated in the fourth process is further executed.

請求項3に係る発明によれば、請求項2において、
前記制御部が、前記第一処理で計数したパルス数を前記第六処理の加算及び減算によって得られる値に更新する第七処理を更に実行する。
According to the invention of claim 3, in claim 2,
The control unit further executes a seventh process of updating the number of pulses counted in the first process to a value obtained by addition and subtraction of the sixth process.

請求項4に係る発明によれば、
モータ制御装置が、
駆動されると電流信号に周期的なリプルを発生させるモータと、
前記モータの前記電流信号からリプル成分を抽出して、そのリプル成分をパルス化したパルス信号を出力する抽出回路と、
前記モータの電圧を検出する電圧検出部と、
前記パルス信号を入力するとともに、前記モータを制御する制御部と、を備え、
前記制御部が、
前記パルス信号のパルス数を計数することで前記モータの回転量を算出する第一処理と、
前記パルス信号のパルスごとに前記パルス信号のパルス周期を計時することで前記パルス信号のパルスごとに前記モータの回転速度を算出して、算出したパルスごとの回転速度を順次記憶する第二処理と、
前記電圧検出部によって検出された電圧の変動を検出した場合に、前記第二処理で記憶した回転速度のうち、前記電圧検出部によって検出された電圧の変動を検出する直前の一パルス分又は複数パルス分の回転速度と、前記第二処理で記憶したパルス周期のうち、前記電圧検出部によって検出された電圧の変動を検出してから所定期間経過後の一パルス分又は複数パルス分の回転速度との平均回転速度を算出する第三処理と、
前記所定期間に前記第三処理で算出した前記平均回転速度を乗じて得られる積を算出する第四処理と、を実行する。
According to the invention of claim 4,
The motor control device
A motor that generates a periodic ripple in the current signal when driven;
An extraction circuit that extracts a ripple component from the current signal of the motor and outputs a pulse signal obtained by pulsing the ripple component;
A voltage detector for detecting the voltage of the motor;
A controller that inputs the pulse signal and controls the motor;
The control unit is
A first process for calculating the amount of rotation of the motor by counting the number of pulses of the pulse signal;
A second process of calculating the rotational speed of the motor for each pulse of the pulse signal by measuring the pulse period of the pulse signal for each pulse of the pulse signal and sequentially storing the calculated rotational speed for each pulse; ,
When a voltage variation detected by the voltage detector is detected, out of the rotation speed stored in the second process, one pulse or a plurality of pulses immediately before detecting the voltage variation detected by the voltage detector The rotation speed for one pulse or a plurality of pulses after a predetermined period of time has elapsed after detecting the fluctuation of the voltage detected by the voltage detection unit among the rotation speed for the pulse and the pulse period stored in the second process A third process for calculating an average rotation speed with
And a fourth process for calculating a product obtained by multiplying the predetermined period by the average rotation speed calculated in the third process.

請求項5に係る発明によれば、請求項4において、
前記制御部が、
前記電圧検出部によって検出された電圧の変動を検出した場合に、前記所定期間の間における前記パルス信号のパルス数を計数することによって前記所定期間の間における前記モータの回転量を算出する第五処理と、
前記第一処理で算出した回転量から前記第五処理で算出した回転量を減算し、それに前記第四処理で算出した積を加算する第六処理と、を更に実行する。
According to the invention of claim 5, in claim 4,
The control unit is
A fifth method for calculating the amount of rotation of the motor during the predetermined period by counting the number of pulses of the pulse signal during the predetermined period when a change in the voltage detected by the voltage detection unit is detected. Processing,
A sixth process of subtracting the rotation amount calculated in the fifth process from the rotation amount calculated in the first process and adding the product calculated in the fourth process is further executed.

請求項6に係る発明によれば、請求項5において、
前記制御部が、前記第一処理で算出した回転量を前記第六処理の加算及び減算によって得られる値に更新する第七処理を更に実行する。
According to the invention of claim 6, in claim 5,
The control unit further executes a seventh process of updating the rotation amount calculated in the first process to a value obtained by addition and subtraction of the sixth process.

請求項1に係る発明によれば、モータの電源電圧が変動しているであろう所定期間の間に抽出回路がパルス成分を正確に抽出できない場合でも、制御部がその所定期間の直前と直後のパルス周期の平均値でその所定期間を除することで、商を算出する。その商は、抽出回路がパルス成分を抽出できた場合のその所定期間のパルス数を表す。そのため、第一処理で計数されたパルス数が、抽出されなかったリプル成分のパルス数によって補足される。よって、正確なパルス数が求められる。
また、抽出回路がフィードバック制御回路のような閉ループ回路でないから、モータの電流信号の各成分の周波数が過渡的に又は急激に変化したものとしても、リプル成分が抽出回路によって正確に抽出される。
According to the first aspect of the present invention, even when the extraction circuit cannot accurately extract the pulse component during the predetermined period during which the power supply voltage of the motor will fluctuate, the control unit immediately before and after the predetermined period. The quotient is calculated by dividing the predetermined period by the average value of the pulse periods. The quotient represents the number of pulses in the predetermined period when the extraction circuit can extract the pulse component. Therefore, the number of pulses counted in the first process is supplemented by the number of pulses of the ripple component that has not been extracted. Therefore, an accurate pulse number is obtained.
Further, since the extraction circuit is not a closed loop circuit such as a feedback control circuit, even if the frequency of each component of the motor current signal changes transiently or rapidly, the ripple component is accurately extracted by the extraction circuit.

請求項4に係る発明によれば、モータの電源電圧が変動しているであろう所定期間の間に抽出回路がパルス成分を正確に抽出できない場合でも、制御部がその所定期間の直前と直後の回転速度の平均値とその所定期間とを乗ずることで、積を算出する。その積は、抽出回路がパルス成分を抽出できた場合のその所定期間のモータの回転量を表す。そのため、第一処理で算出された回転量が、抽出されなかったリプル成分のパルス数に基づく回転量によって補足される。よって、モータの回転量が正確に算出される。
また、抽出回路がフィードバック制御回路のような閉ループ回路でないから、リプル成分が抽出回路によって正確に抽出される。
According to the fourth aspect of the present invention, even when the extraction circuit cannot accurately extract the pulse component during the predetermined period during which the power supply voltage of the motor will fluctuate, the control unit immediately before and after the predetermined period. The product is calculated by multiplying the average value of the rotation speeds by the predetermined period. The product represents the rotation amount of the motor in the predetermined period when the extraction circuit can extract the pulse component. Therefore, the rotation amount calculated in the first process is supplemented by the rotation amount based on the number of pulses of the ripple component that has not been extracted. Therefore, the rotation amount of the motor is accurately calculated.
Further, since the extraction circuit is not a closed loop circuit such as a feedback control circuit, the ripple component is accurately extracted by the extraction circuit.

本発明を適用した実施形態に係るモータ制御装置を示したブロック図である。It is the block diagram which showed the motor control apparatus which concerns on embodiment to which this invention is applied. モータの電流信号の波形を示したタイミングチャートである。It is a timing chart showing a waveform of a motor current signal. モータの電流信号の波形を示したタイミングチャートである。It is a timing chart showing a waveform of a motor current signal. 電流電圧変換器、ハイパスフィルタ、バンドパスフィルタ、フィルタと差動増幅器、増幅器及び波形整形部の入力信号及び出力信号の波形を示した図である。It is the figure which showed the waveform of the input signal and output signal of a current-voltage converter, a high pass filter, a band pass filter, a filter and a differential amplifier, an amplifier, and a waveform shaping part. フィルタの周波数特性を示したグラフである。It is the graph which showed the frequency characteristic of the filter. フィルタと差動増幅器を示した回路図である。It is a circuit diagram showing a filter and a differential amplifier. フィルタと差動増幅器の入力信号及び出力信号の波形を示したタイミングチャートである。It is the timing chart which showed the waveform of the input signal and output signal of a filter and a differential amplifier. モータを起動させる処理の流れを示したフローチャートである。It is the flowchart which showed the flow of the process which starts a motor. モータの動作中にパルス信号のパルス数を計数する処理の流れを示したフローチャートである。It is the flowchart which showed the flow of the process which counts the pulse number of a pulse signal during operation | movement of a motor. モータの動作中にモータの電源電圧が変動した場合の電源電圧、モータの電流信号及びパルス信号の波形を示したタイミングチャートである。5 is a timing chart showing waveforms of a power supply voltage, a motor current signal, and a pulse signal when the motor power supply voltage fluctuates during operation of the motor. モータの動作中にパルス信号のパルス周期を計時する処理の流れを示したフローチャートであるIt is the flowchart which showed the flow of the process which time-measures the pulse period of a pulse signal during operation | movement of a motor. モータの電源電圧が変動した際に所定の推定期間の間のパルス信号のパルス数を計数する処理の流れを示したフローチャートである。It is the flowchart which showed the flow of the process which counts the pulse number of the pulse signal during the predetermined estimation period when the power supply voltage of a motor fluctuates. モータの電源電圧が変動した際に所定の推定期間の間のパルス信号の推定パルス数を算出するする処理の流れを示したフローチャートであるIt is the flowchart which showed the flow of the process which calculates the estimated number of pulses of the pulse signal during a predetermined estimation period when the power supply voltage of the motor fluctuates. モータの動作中に計数したパルス数を補正する処理の流れを示したフローチャートである。It is the flowchart which showed the flow of the process which correct | amends the pulse number counted during operation | movement of a motor. 車両用シートのシート本体を示した側面図である。It is the side view which showed the sheet | seat main body of the vehicle seat. フィルタの周波数特性を示したグラフである。It is the graph which showed the frequency characteristic of the filter. フィルタの周波数特性を示したグラフである。It is the graph which showed the frequency characteristic of the filter.

以下に、本発明を実施するための形態について図面を用いて説明する。但し、以下に述べる実施形態には、本発明を実施するために技術的に好ましい種々の限定が付されているが、本発明の範囲を以下の実施形態及び図示例に限定するものではない。   EMBODIMENT OF THE INVENTION Below, the form for implementing this invention is demonstrated using drawing. However, the embodiments described below are given various technically preferable limitations for carrying out the present invention, but the scope of the present invention is not limited to the following embodiments and illustrated examples.

図1は、モータ制御装置1のブロック図である。
モータ制御装置1は、モータ2、抽出回路3、制御部4、記憶部5、モータドライバ6及びA/Dコンバータ7等を備える。
FIG. 1 is a block diagram of the motor control device 1.
The motor control device 1 includes a motor 2, an extraction circuit 3, a control unit 4, a storage unit 5, a motor driver 6, an A / D converter 7, and the like.

モータ2は、直流モータである。電流がモータ2に流れると、モータ2が回転するとともに、モータ2が周期的なリプル(ripple)を電流に発生させる。モータ2の電流信号について図2及び図3を参照して説明する。図2は、モータ2が駆動される際にモータ2に流れる電流のレベルの変化を示したチャートである。図3は、図2に示されたA部における時間及び電流のスケールを大きくして示したチャートである。   The motor 2 is a direct current motor. When a current flows through the motor 2, the motor 2 rotates and the motor 2 generates a periodic ripple in the current. The current signal of the motor 2 will be described with reference to FIGS. FIG. 2 is a chart showing changes in the level of current flowing through the motor 2 when the motor 2 is driven. FIG. 3 is a chart showing an enlarged scale of time and current in part A shown in FIG.

図2において、時刻T1はモータ2が起動したタイミングであり、時刻T2はモータ2が安定的に動作し始めるタイミングである。時刻T3は、モータ2によって駆動される可動部がストッパ等に当接して、モータ2の動力を可動部に伝える伝動機構が拘束され始めるタイミングである。時刻T4は、モータ2が停止するタイミングである。
図2及び図3に示すように、モータ2の電流信号は直流成分、リプル成分及び一又は複数の周波成分(交流成分)を含み、周波成分及びリプル成分が直流成分に重畳している。モータ2の電流信号のうち、電流のレベルが急激に変化した高周波成分はノイズである(例えば、符号n参照)。なお、図3は、高周波ノイズ成分がないものとして図示されている。
In FIG. 2, time T1 is timing when the motor 2 is started, and time T2 is timing when the motor 2 starts to operate stably. Time T3 is a timing when the movable part driven by the motor 2 comes into contact with a stopper or the like and the transmission mechanism that transmits the power of the motor 2 to the movable part starts to be restrained. Time T4 is timing when the motor 2 stops.
As shown in FIGS. 2 and 3, the current signal of the motor 2 includes a DC component, a ripple component, and one or more frequency components (AC component), and the frequency component and the ripple component are superimposed on the DC component. Of the current signal of the motor 2, the high frequency component in which the current level has changed abruptly is noise (see, for example, symbol n). Note that FIG. 3 is illustrated as having no high frequency noise component.

時刻T1から時刻T2までの期間P1では、リプル成分r1と、リプル成分r1よりも周波数が低い低周波成分とが直流成分に重畳している。期間P1のうちモータ2の起動直後では、慣性力の影響により低周波成分の電流レベルが大きく、その後、低周波成分の電流レベルが時間の経過に伴って緩やかに減少する。また、モータ2の起動直後では、低周波成分よりも周波数が高いリプル成分r1の振幅が大きく、その後、リプル成分r1の周波数が時間の経過に伴って漸増するとともに、リプル成分r1の振幅が時間の経過に伴って漸減する。
時刻T2から時刻T3までの期間P2では、リプル成分r2と、リプル成分r2よりも周波数が低い低周波成分とが直流成分に重畳し、直流成分がほぼ一定で安定し、低周波成分の周波数及び振幅が安定し、リプル成分r2の周波数及び振幅が安定している。リプル成分r2の周波数が低周波成分の周波数よりも高くなるのは、モータ2に内蔵された複数のコイルが巻き線抵抗に差を有するためである。
時刻T3から時刻T4までの期間P3では、モータの電流信号のうち低周波成分の周波数が低くなり、低周波成分の電流レベルが時間の経過とともに漸増する。期間P3では、モータの電流信号のうちリプル成分r3の周波数が時間の経過に伴って漸減し、リプル成分r3の振幅が時間の経過に伴って漸増する。
In a period P1 from time T1 to time T2, the ripple component r1 and a low frequency component having a frequency lower than the ripple component r1 are superimposed on the direct current component. Immediately after the start of the motor 2 in the period P1, the current level of the low frequency component is large due to the influence of the inertial force, and then the current level of the low frequency component gradually decreases with time. Immediately after the start of the motor 2, the amplitude of the ripple component r1 having a higher frequency than the low frequency component is large, and thereafter, the frequency of the ripple component r1 gradually increases with time, and the amplitude of the ripple component r1 is increased over time. It gradually decreases with the progress of.
In the period P2 from time T2 to time T3, the ripple component r2 and the low frequency component having a frequency lower than the ripple component r2 are superimposed on the DC component, the DC component is substantially constant and stable, and the frequency of the low frequency component and The amplitude is stable, and the frequency and amplitude of the ripple component r2 are stable. The reason why the frequency of the ripple component r2 is higher than the frequency of the low frequency component is that a plurality of coils built in the motor 2 have a difference in winding resistance.
In a period P3 from time T3 to time T4, the frequency of the low frequency component of the motor current signal is lowered, and the current level of the low frequency component gradually increases with time. In the period P3, the frequency of the ripple component r3 of the motor current signal gradually decreases with the passage of time, and the amplitude of the ripple component r3 gradually increases with the passage of time.

モータ2の電流信号のうち低周波成分及びリプル成分の周波数及び振幅は、様々な環境(例えば、モータ2に対する負荷、環境温度、モータ2の電源電圧等)の影響を受ける。そのため、環境が変化すれば、低周波成分及びリプル成分の周波数及び振幅が変化する。   The frequency and amplitude of the low frequency component and the ripple component of the current signal of the motor 2 are affected by various environments (for example, load on the motor 2, environmental temperature, power supply voltage of the motor 2, etc.). Therefore, when the environment changes, the frequency and amplitude of the low frequency component and the ripple component change.

抽出回路3は、以上のようなモータ2の電流信号からリプル成分を抽出して、リプル成分をパルス化し、リプル成分がパルス化されてなるパルス信号を制御部4に出力する。抽出回路3及び抽出回路3を用いたリプル抽出方法について具体的に説明する。   The extraction circuit 3 extracts a ripple component from the current signal of the motor 2 as described above, pulses the ripple component, and outputs a pulse signal obtained by pulsing the ripple component to the control unit 4. The ripple extraction method using the extraction circuit 3 and the extraction circuit 3 will be specifically described.

図1に示すように、抽出回路3は、電流電圧変換器10、ハイパスフィルタ(High-pass Filter)20、バンドパスフィルタ(Band-pass Filter)30、フィルタ40、差動増幅器50、増幅器60及び波形整形部70を備える。図4は、電流電圧変換器10、ハイパスフィルタ20、バンドパスフィルタ30、フィルタ40と差動増幅器50、増幅器60及び波形整形部70の入力信号及び出力信号を説明するための図である。図4において、電流電圧変換器10、ハイパスフィルタ20及びバンドパスフィルタ30の入力信号と出力信号が示されている期間は、図2における時刻T1から期間P2の初期にかけてである。フィルタ40と差動増幅器50、増幅器60及び波形整形部70の入力信号及び出力信号が示されている期間は、図2における期間P2の一部である。   As shown in FIG. 1, the extraction circuit 3 includes a current-voltage converter 10, a high-pass filter 20, a band-pass filter 30, a filter 40, a differential amplifier 50, an amplifier 60, and A waveform shaping unit 70 is provided. FIG. 4 is a diagram for explaining input signals and output signals of the current-voltage converter 10, the high-pass filter 20, the band-pass filter 30, the filter 40 and the differential amplifier 50, the amplifier 60, and the waveform shaping unit 70. In FIG. 4, the period in which the input signal and the output signal of the current-voltage converter 10, the high-pass filter 20, and the band-pass filter 30 are shown is from the time T1 to the beginning of the period P2 in FIG. A period in which the input signals and output signals of the filter 40, the differential amplifier 50, the amplifier 60, and the waveform shaping unit 70 are shown is a part of the period P2 in FIG.

電流電圧変換器10は、モータ2の電流信号を入力する。電流電圧変換器10は、入力したモータ2の電流信号を電圧信号に変換する。具体的には、電流電圧変換器10が抵抗器11を有し、抵抗器11がグランドとモータ2の間に接続され、モータ2の電流信号が抵抗器11とモータ2の間における電圧信号に変換される。電流電圧変換器10は、変換した電圧信号をハイパスフィルタ20及びバンドパスフィルタ30を介してフィルタ40及び差動増幅器50に出力する。なお、電流電圧変換器10は、オペアンプを用いたもの(例えば、負帰還型電流電圧変換器)でもよい。   The current / voltage converter 10 inputs a current signal of the motor 2. The current-voltage converter 10 converts the input current signal of the motor 2 into a voltage signal. Specifically, the current-voltage converter 10 includes a resistor 11, the resistor 11 is connected between the ground and the motor 2, and the current signal of the motor 2 is converted into a voltage signal between the resistor 11 and the motor 2. Converted. The current-voltage converter 10 outputs the converted voltage signal to the filter 40 and the differential amplifier 50 via the high-pass filter 20 and the band-pass filter 30. The current-voltage converter 10 may be one using an operational amplifier (for example, a negative feedback current-voltage converter).

ハイパスフィルタ20は、電流電圧変換器10によって変換された電圧信号(電流電圧変換器10の出力信号)を入力する。ハイパスフィルタ20は、電流電圧変換器10によって変換された電圧信号(電流電圧変換器10の出力信号)のうち高周波成分を通過させ、低周波成分を減衰させる。つまり、ハイパスフィルタ20は、電流電圧変換器10によって変換された電圧信号のうち直流成分を除去する。ハイパスフィルタ20は、バンドパスフィルタ30を介して、低周波成分が減衰した信号をフィルタ40及び差動増幅器50に出力する。
ハイパスフィルタ20は、オペアンプを用いたもの(例えば、負帰還型ハイパスフィルタ、正帰還型ハイパスフィルタ)又は抵抗器・キャパシタを用いたもの(例えば、CRハイパスフィルタ)である。
The high-pass filter 20 receives the voltage signal converted by the current-voltage converter 10 (output signal of the current-voltage converter 10). The high-pass filter 20 passes a high-frequency component of the voltage signal converted by the current-voltage converter 10 (an output signal of the current-voltage converter 10) and attenuates a low-frequency component. That is, the high pass filter 20 removes a DC component from the voltage signal converted by the current-voltage converter 10. The high pass filter 20 outputs a signal with the low frequency component attenuated to the filter 40 and the differential amplifier 50 via the band pass filter 30.
The high-pass filter 20 is one using an operational amplifier (for example, a negative feedback high-pass filter or a positive feedback high-pass filter) or one using a resistor / capacitor (for example, a CR high-pass filter).

バンドパスフィルタ30は、電流電圧変換器10によって変換された電圧信号をハイパスフィルタ20を介して入力する。バンドパスフィルタ30は、電流電圧変換器10によって変換された電圧信号(ハイパスフィルタ20の出力信号)のうち所定周波数帯域の成分を通過させ、その所定周波数帯域外の成分を減衰させる。つまり、バンドパスフィルタ30は、電流電圧変換器10によって変換された電圧信号(ハイパスフィルタ20の出力信号)のうち高周波ノイズ成分を除去するとともに、ハイパスフィルタ20によって除去しきれなかった低周波成分を除去する。バンドパスフィルタ30は、所定周波数帯域外の成分を減衰させた信号をフィルタ40及び差動増幅器50に出力する。
バンドパスフィルタ30は、オペアンプを用いたもの(例えば、多重負帰還型バンドパスフィルタ、多重正帰還型バンドパスフィルタ)又は抵抗器・キャパシタを用いたものである。
The bandpass filter 30 inputs the voltage signal converted by the current-voltage converter 10 via the highpass filter 20. The band-pass filter 30 passes a component in a predetermined frequency band of the voltage signal (the output signal of the high-pass filter 20) converted by the current-voltage converter 10, and attenuates a component outside the predetermined frequency band. That is, the band-pass filter 30 removes high-frequency noise components from the voltage signal (output signal of the high-pass filter 20) converted by the current-voltage converter 10, and removes low-frequency components that could not be removed by the high-pass filter 20. Remove. The bandpass filter 30 outputs a signal obtained by attenuating a component outside a predetermined frequency band to the filter 40 and the differential amplifier 50.
The band pass filter 30 uses an operational amplifier (for example, a multiple negative feedback type band pass filter, a multiple positive feedback type band pass filter) or a resistor / capacitor.

フィルタ40は、電流電圧変換器10によって変換された電圧信号をハイパスフィルタ20及びバンドパスフィルタ30を介して入力し、その信号を濾波する。フィルタ40は、濾波した信号を差動増幅器50に出力する。   The filter 40 receives the voltage signal converted by the current-voltage converter 10 through the high-pass filter 20 and the band-pass filter 30, and filters the signal. The filter 40 outputs the filtered signal to the differential amplifier 50.

図5は、フィルタ40の周波数特性を示したグラフである。
図5に示すように、フィルタ40は、バンドパスフィルタである。フィルタ40は、電流電圧変換器10によって変換された電圧信号(バンドパスフィルタ30の出力信号)のうち、低カットオフ周波数fc1から高カットオフ周波数fc2までの間の中間周波数帯域の成分を通過させる。低カットオフ周波数fc1<高カットオフ周波数fc2である。なお、カットオフ周波数とは、出力電力が入力電力の1/2となる周波数を指す。つまり、ゲインGが−3dbとなる周波数がカットオフ周波数である。
また、フィルタ40は、電流電圧変換器10によって変換された電圧信号(バンドパスフィルタ30の出力信号)のうち、低カットオフ周波数fc1を下回る低周波域の成分を減衰させる。具体的には、低カットオフ周波数fc1を下回る低周波域において、フィルタ40は、電流電圧変換器10によって変換された電圧信号(バンドパスフィルタ30の出力信号)に含まれる成分の周波数が低いほど減衰率がより高くなるように、電流電圧変換器10によって変換された電圧信号(バンドパスフィルタ30の出力信号)の低周波域成分を減衰させる。
また、フィルタ40は、電流電圧変換器10によって変換された電圧信号(バンドパスフィルタ30の出力信号)のうち、高カットオフ周波数fc2を超える高周波域の成分を減衰させる。具体的には、高カットオフ周波数fc2を超える高周波域において、フィルタ40は、電流電圧変換器10によって変換された電圧信号(バンドパスフィルタ30の出力信号)に含まれる成分の周波数が低いほど減衰率がより低くなるように、電流電圧変換器10によって変換された電圧信号(バンドパスフィルタ30の出力信号)の高周波域成分を減衰させる。
FIG. 5 is a graph showing the frequency characteristics of the filter 40.
As shown in FIG. 5, the filter 40 is a band pass filter. The filter 40 passes the component in the intermediate frequency band between the low cutoff frequency fc1 and the high cutoff frequency fc2 in the voltage signal (the output signal of the bandpass filter 30) converted by the current-voltage converter 10. . Low cut-off frequency fc1 <high cut-off frequency fc2. The cut-off frequency refers to a frequency at which the output power is 1/2 of the input power. That is, the frequency at which the gain G is −3 db is the cutoff frequency.
Further, the filter 40 attenuates a component in a low frequency range lower than the low cutoff frequency fc1 in the voltage signal (the output signal of the bandpass filter 30) converted by the current-voltage converter 10. Specifically, in the low frequency range lower than the low cut-off frequency fc1, the filter 40 has a lower component frequency included in the voltage signal (the output signal of the bandpass filter 30) converted by the current-voltage converter 10. The low frequency band component of the voltage signal (the output signal of the band pass filter 30) converted by the current-voltage converter 10 is attenuated so that the attenuation rate becomes higher.
Further, the filter 40 attenuates a component in a high frequency region exceeding the high cut-off frequency fc2 in the voltage signal (the output signal of the bandpass filter 30) converted by the current-voltage converter 10. Specifically, in a high frequency region exceeding the high cut-off frequency fc2, the filter 40 attenuates as the frequency of the component included in the voltage signal (the output signal of the bandpass filter 30) converted by the current-voltage converter 10 decreases. The high frequency component of the voltage signal (the output signal of the bandpass filter 30) converted by the current-voltage converter 10 is attenuated so that the rate becomes lower.

図2及び図3に示したように、モータ2の電流信号は、リプル成分と、そのリプル成分よりも周波数が低い低周波成分とを重畳したものである。リプル成分の周波数は実験・測定等によって予め調べられ、フィルタ40の回路設計において、温度変化によるリプル成分の周波数の変動も考慮しつつ、フィルタ40の高カットオフ周波数fc2がリプル成分の周波数(例えば、常温時の周波数)よりも低く設定されている。従って、フィルタ40は、電流電圧変換器10によって変換された電圧信号(バンドパスフィルタ30の出力信号)のうちリプル成分を低周波成分(低周波成分はリプル成分よりも周波数が低い。)よりも高い減衰率で減衰させる。つまり、フィルタ40は、リプル成分を低周波成分よりも効率的に除去する。従って、フィルタ40は、リプル成分を除去した信号を差動増幅器50に出力する。   As shown in FIGS. 2 and 3, the current signal of the motor 2 is obtained by superimposing a ripple component and a low frequency component having a frequency lower than that of the ripple component. The frequency of the ripple component is checked in advance by experiments, measurements, etc., and in the circuit design of the filter 40, the high cutoff frequency fc2 of the filter 40 is set to the frequency of the ripple component (for example, the frequency of the ripple component due to temperature change). , The frequency at room temperature). Therefore, the filter 40 has a ripple component in the voltage signal (the output signal of the band pass filter 30) converted by the current-voltage converter 10 that is lower in frequency than the low frequency component (the frequency of the low frequency component is lower than that of the ripple component). Attenuate with high attenuation factor. That is, the filter 40 removes the ripple component more efficiently than the low frequency component. Therefore, the filter 40 outputs a signal from which the ripple component has been removed to the differential amplifier 50.

差動増幅器50は、電流電圧変換器10によって変換された電圧信号をハイパスフィルタ20及びバンドパスフィルタ30を介して入力するとともに、フィルタ40の出力信号を入力する。差動増幅器50は、入力したフィルタ40の出力信号と、電流電圧変換器10によって変換された電圧信号(バンドパスフィルタ30の出力信号)の差分を取って、その差分を増幅する。差動増幅器50は、その差分を表す差分信号を増幅器60に出力する。   The differential amplifier 50 inputs the voltage signal converted by the current-voltage converter 10 via the high-pass filter 20 and the band-pass filter 30 and also receives the output signal of the filter 40. The differential amplifier 50 takes the difference between the input output signal of the filter 40 and the voltage signal converted by the current-voltage converter 10 (the output signal of the bandpass filter 30), and amplifies the difference. The differential amplifier 50 outputs a differential signal representing the difference to the amplifier 60.

図6は、フィルタ40と差動増幅器50の一例を示した回路図である。図7(a)は図6に示されたA部における電圧信号の波形を示したタイミングチャートであり、図7(b)は図6に示されたB部における電圧信号の波形を示したタイミングチャートであり、図7(c)は図6に示されたC部における電圧信号の波形を示したタイミングチャートである。   FIG. 6 is a circuit diagram illustrating an example of the filter 40 and the differential amplifier 50. FIG. 7A is a timing chart showing the waveform of the voltage signal in the A section shown in FIG. 6, and FIG. 7B is a timing showing the waveform of the voltage signal in the B section shown in FIG. FIG. 7C is a timing chart showing the waveform of the voltage signal in the portion C shown in FIG.

図6に示すように、フィルタ40は、ハイパスフィルタ41、ローパスフィルタ42及びハイパスフィルタ43を有する。バンドパスフィルタ30の出力がハイパスフィルタ41の入力に接続され、ハイパスフィルタ41の出力がローパスフィルタ42の入力に接続され、ローパスフィルタ42の出力がハイパスフィルタ43の出力に接続される。   As shown in FIG. 6, the filter 40 includes a high pass filter 41, a low pass filter 42, and a high pass filter 43. The output of the band pass filter 30 is connected to the input of the high pass filter 41, the output of the high pass filter 41 is connected to the input of the low pass filter 42, and the output of the low pass filter 42 is connected to the output of the high pass filter 43.

ハイパスフィルタ41は、二次のCRハイパスフィルタである。つまり、ハイパスフィルタ41は、キャパシタ41a、抵抗器41b、キャパシタ41c及び抵抗器41dを有する。なお、ハイパスフィルタ41が一つのキャパシタ及び抵抗器からなる一次のCRハイパスフィルタであってもよい。また、ハイパスフィルタ41が三次以上のCRハイパスフィルタでもよい。
ローパスフィルタ42は、二次のRCローパスフィルタである。つまり、ローパスフィルタ42は、抵抗器42a、キャパシタ42b、抵抗器42c及びキャパシタ42dを有する。なお、ローパスフィルタ42が一つの抵抗器及びキャパシタからなる一次のRCローパスフィルタであってもよい。また、ローパスフィルタ42が三次以上のRCローパスフィルタでもよい。
ハイパスフィルタ43は、キャパシタ43aからなる。
The high pass filter 41 is a secondary CR high pass filter. That is, the high pass filter 41 includes a capacitor 41a, a resistor 41b, a capacitor 41c, and a resistor 41d. Note that the high-pass filter 41 may be a primary CR high-pass filter including one capacitor and a resistor. Further, the high-pass filter 41 may be a third-order or higher CR high-pass filter.
The low pass filter 42 is a secondary RC low pass filter. That is, the low-pass filter 42 includes a resistor 42a, a capacitor 42b, a resistor 42c, and a capacitor 42d. The low-pass filter 42 may be a primary RC low-pass filter including one resistor and a capacitor. Further, the low-pass filter 42 may be a third-order or higher RC low-pass filter.
The high pass filter 43 includes a capacitor 43a.

差動増幅器50は抵抗器51,52、オペアンプ53、カップリングコンデンサ54及びバイアス回路55等を有する。オペアンプ53の出力端子が抵抗器52を介してオペアンプ53の反転入力端子に接続され、負帰還がオペアンプ53にかけられている。フィルタ40の出力信号(ハイパスフィルタ43の出力信号)が抵抗器51を介してオペアンプ53の反転入力端子に入力され、バンドパスフィルタ30の出力信号がカップリングコンデンサ54及びバイアス回路55を介してオペアンプ53の非反転入力端子に入力される。カップリングコンデンサ54は、バンドパスフィルタ30の出力信号の直流成分を除去する。バイアス回路55は、電源電圧とグランドの間に直列された抵抗器56,57を有する。バイアス回路55は、カップリングコンデンサ54によって直流成分を除去されたバンドパスフィルタ30の出力信号にバイアス電圧をかけて、バンドパスフィルタ30の出力信号の基準レベルを引き上げる。なお、カップリングコンデンサ54及びバイアス回路55を省略してもよい。   The differential amplifier 50 includes resistors 51 and 52, an operational amplifier 53, a coupling capacitor 54, a bias circuit 55, and the like. The output terminal of the operational amplifier 53 is connected to the inverting input terminal of the operational amplifier 53 via the resistor 52, and negative feedback is applied to the operational amplifier 53. The output signal of the filter 40 (the output signal of the high pass filter 43) is input to the inverting input terminal of the operational amplifier 53 via the resistor 51, and the output signal of the band pass filter 30 is supplied to the operational amplifier via the coupling capacitor 54 and the bias circuit 55. 53 is input to the non-inverting input terminal. The coupling capacitor 54 removes a direct current component of the output signal of the band pass filter 30. The bias circuit 55 includes resistors 56 and 57 connected in series between the power supply voltage and the ground. The bias circuit 55 applies a bias voltage to the output signal of the bandpass filter 30 from which the DC component has been removed by the coupling capacitor 54, and raises the reference level of the output signal of the bandpass filter 30. Note that the coupling capacitor 54 and the bias circuit 55 may be omitted.

差動増幅器50によって出力された差分信号は、電流電圧変換器10によって変換された電圧信号のうちリプル成分である。差動増幅器50によって出力された差分信号が、バンドパスフィルタ30の出力信号とフィルタ40の出力信号との差分を表すからこそ、モータ2の電流信号の各成分の周波数が環境変化によって変化しても、モータ2の電流信号に含まれるリプルを高精度に検出することができる。   The differential signal output by the differential amplifier 50 is a ripple component of the voltage signal converted by the current-voltage converter 10. Because the difference signal output by the differential amplifier 50 represents the difference between the output signal of the bandpass filter 30 and the output signal of the filter 40, the frequency of each component of the current signal of the motor 2 changes due to environmental changes. In addition, ripples included in the current signal of the motor 2 can be detected with high accuracy.

図1、図6に示すように、増幅器60は、差動増幅器50によって出力された差分信号(オペアンプ53の出力信号)を入力する。増幅器60は、差動増幅器50によって出力された差分信号を増幅して、それを波形整形部70に出力する。増幅器60は、例えば負帰還型増幅器である。   As shown in FIGS. 1 and 6, the amplifier 60 receives the differential signal (the output signal of the operational amplifier 53) output by the differential amplifier 50. The amplifier 60 amplifies the differential signal output by the differential amplifier 50 and outputs it to the waveform shaping unit 70. The amplifier 60 is, for example, a negative feedback amplifier.

波形整形部70は、差動増幅器50によって出力された差分信号(オペアンプ53の出力信号)を増幅器60を介して入力する。波形整形部70は、差動増幅器50によって出力された差分信号(増幅器60の出力信号)の波形を矩形波に整形する。具体的には、波形整形部70がコンパレータを有し、該コンパレータが、差動増幅器50によって出力された差分信号(増幅器60の出力信号)を基準電圧と比較することによって、差動増幅器50によって出力された差分信号(増幅器60の出力信号)をパルス信号に変換する。波形整形部70は、矩形波に整形されたパルス信号を制御部4に出力する。制御部4は、波形整形部70によって出力されたパルス信号を入力する。   The waveform shaping unit 70 inputs the differential signal (the output signal of the operational amplifier 53) output from the differential amplifier 50 via the amplifier 60. The waveform shaping unit 70 shapes the waveform of the differential signal (the output signal of the amplifier 60) output by the differential amplifier 50 into a rectangular wave. Specifically, the waveform shaping unit 70 has a comparator, and the comparator compares the differential signal (the output signal of the amplifier 60) output by the differential amplifier 50 with a reference voltage, thereby allowing the differential amplifier 50 to The output differential signal (the output signal of the amplifier 60) is converted into a pulse signal. The waveform shaping unit 70 outputs a pulse signal shaped into a rectangular wave to the control unit 4. The control unit 4 receives the pulse signal output from the waveform shaping unit 70.

モータドライバ6は、制御部4からの指令に従ってモータ2を駆動する。つまり、モータドライバ6は、制御部4から起動指令及び回転向き指令を受けたら、モータ2をその回転向きに起動させる。モータドライバ6は、制御部4から受けた設定速度指令に従ってその設定速度でモータ2を駆動する。モータドライバ6は、制御部4から停止指令を受けたら、モータ2を停止する。   The motor driver 6 drives the motor 2 in accordance with a command from the control unit 4. That is, when the motor driver 6 receives the start command and the rotation direction command from the control unit 4, the motor driver 6 starts the motor 2 in the rotation direction. The motor driver 6 drives the motor 2 at the set speed according to the set speed command received from the control unit 4. When the motor driver 6 receives a stop command from the control unit 4, the motor driver 6 stops the motor 2.

A/Dコンバータ7は、電圧検出部である。つまり、A/Dコンバータ7は、モータ2の電源電圧を検出して、その電圧信号をデジタル信号に変換して、デジタル化した電圧データを制御部4に出力する。制御部4は、A/Dコンバータ7によって出力される電圧データを入力する。   The A / D converter 7 is a voltage detection unit. That is, the A / D converter 7 detects the power supply voltage of the motor 2, converts the voltage signal into a digital signal, and outputs the digitized voltage data to the control unit 4. The control unit 4 inputs voltage data output by the A / D converter 7.

制御部4は、CPU4a及びRAM4b等を有するコンピュータである。CPU4aは、数値計算、情報処理、機器制御等の各種処理を行う。RAM4bは、一時記憶領域としての作業領域をCPU4aに提供する。   The control unit 4 is a computer having a CPU 4a, a RAM 4b, and the like. The CPU 4a performs various processes such as numerical calculation, information processing, and device control. The RAM 4b provides a work area as a temporary storage area to the CPU 4a.

記憶部5は、制御部4に接続されている。記憶部5は、不揮発性メモリ、ハードディスクといった読み書き可能な記憶媒体である。記憶部5は、一つの記憶媒体からなるものでもよいし、複数の記憶媒体を組み合わせたものでもよい。   The storage unit 5 is connected to the control unit 4. The storage unit 5 is a readable / writable storage medium such as a nonvolatile memory or a hard disk. The storage unit 5 may be a single storage medium or a combination of a plurality of storage media.

記憶部5には、初期位置データ5Aが格納されている。初期位置データ5Aは、モータ2が動作する前のモータ2の初期の回転位置や、モータ2によって駆動される可動部の初期位置を示す。具体的には、初期位置データ5Aは、モータ2が所定の原点位置から初期の回転位置まで回転した場合のパルス信号のパルス数である。そのパルス数に所定の定数を乗じて得られた値は、モータ2が所定の原点位置から初期の回転位置まで回転した場合の回転量であって、モータ2が動作する前のモータ2の初期の回転位置を示す。初期位置データ5Aは、予め設定されたデフォルト値であるか、又は以前にモータ2が動作した際に書き込まれた値である。仮にモータ2の初期の回転位置が原点位置であれば、初期位置データ5Aはゼロである。   The storage unit 5 stores initial position data 5A. The initial position data 5A indicates the initial rotational position of the motor 2 before the motor 2 operates and the initial position of the movable part driven by the motor 2. Specifically, the initial position data 5A is the number of pulses of a pulse signal when the motor 2 rotates from a predetermined origin position to an initial rotation position. A value obtained by multiplying the number of pulses by a predetermined constant is a rotation amount when the motor 2 rotates from a predetermined origin position to an initial rotation position, and is an initial value of the motor 2 before the motor 2 operates. Indicates the rotational position. The initial position data 5A is a preset default value or a value written when the motor 2 has been operated before. If the initial rotational position of the motor 2 is the origin position, the initial position data 5A is zero.

記憶部5には、制御部4にとって読み取り可能なプログラム5Zが格納されている。制御部4は、プログラム5Zを読み込んでそのプログラム5Zに従った処理を行ったり、そのプログラム5Zによって各種機能を実現したりする。なお、記憶部5が複数の記憶媒体を組み合わせたものである場合、プログラム5Zが記憶部5のROMに格納されていてもよい。   The storage unit 5 stores a program 5Z that can be read by the control unit 4. The control unit 4 reads the program 5Z and performs processing according to the program 5Z, or implements various functions by the program 5Z. When the storage unit 5 is a combination of a plurality of storage media, the program 5Z may be stored in the ROM of the storage unit 5.

制御部4は、プログラム5Zによって次に述べるような手段として機能する。   The control unit 4 functions as means described below by the program 5Z.

制御部4は、回転向きに関する指令及び起動指令をモータドライバ6に出して、モータ2を起動させる起動手段として機能する。
制御部4は、波形整形部70の出力信号のパルス数を計数する計数手段として機能する。計数手段によって計数されたパルス数に所定の定数を乗じて得られる値が、モータ2の回転量に相当するとともに、モータ2によって駆動される可動部の移動量にも相当する。そのため、計数手段は、モータ2の回転量やモータ2によって駆動される可動部の移動量を算出する移動量算出手段でもある。
制御部4は、波形整形部70の出力信号のパルス周期(パルスの立ち上がりから次のパルスの立ち上がりまでの時間)をパルスごとに計時する計時手段として機能する。制御部4によって計時されたパルス周期の逆数に所定の定数を乗じて得られる値が、モータ2の回転速度に相当するとともに、モータ2によって駆動される可動部の速度に相当する。そのため、計時手段は、モータ2の回転速度やモータ2によって駆動される可動部の移動速度を算出する速度算出手段でもある。
制御部4は、計時手段によって計時されたパルスごとのパルス周期を順次記憶していく蓄積手段として機能する。
制御部4は、A/Dコンバータ7から入力した電圧データを監視するモニタ手段として機能する。
制御部4は、モニタ手段によって監視された電圧データの変動を検出した場合に、計時を開始して、その計時時間が所定の推定時間tになるまで計時を継続する第二計時手段として機能する。
制御部4は、計時手段によって計時が行われている間、前記計数手段による計数とは別に、波形整形部70の出力信号のパルス数を計数する第二計数手段として機能する。
制御部4は、蓄積手段によって順次記憶されたパルス周期のうち、モニタ手段によって監視された電圧データの変動を検出する直前の一パルス分又は複数パルス分のパルス周期T_beforeと、第二計時手段によって推定時間tまで計時された直後の一パルス分又は複数パルス分のパルス周期T_afterとの平均周期T_averageを算出する平均周期算出手段として機能する。
制御部4は、平均周期算出手段によって算出された平均周期T_averageで推定時間tを除することによって、その商としての推定パルス数を算出する推定パルス数算出手段として機能する。
制御部4は、計数手段によって計数されたパルス数から第二計数手段によって計数されたパルス数を減算し、それに推定パルス数算出手段によって算出された推定パルス数を加算する補正手段として機能する。
制御部4は、計数手段によって計数されたパルス数を演算手段の加算・演算によって算出された値に更新する更新手段として機能する。
制御部4は、停止指令をモータドライバ6に出して、モータ2を停止させる停止手段として機能する。
The control unit 4 functions as a starting unit that outputs a command and a start command regarding the rotation direction to the motor driver 6 to start the motor 2.
The control unit 4 functions as a counting unit that counts the number of pulses of the output signal of the waveform shaping unit 70. A value obtained by multiplying the number of pulses counted by the counting means by a predetermined constant corresponds to the amount of rotation of the motor 2 and also corresponds to the amount of movement of the movable part driven by the motor 2. Therefore, the counting means is also a movement amount calculation means for calculating the rotation amount of the motor 2 and the movement amount of the movable part driven by the motor 2.
The control unit 4 functions as a time measuring unit that measures the pulse period of the output signal of the waveform shaping unit 70 (the time from the rising edge of the pulse to the rising edge of the next pulse) for each pulse. A value obtained by multiplying the reciprocal of the pulse period measured by the control unit 4 by a predetermined constant corresponds to the rotation speed of the motor 2 and to the speed of the movable part driven by the motor 2. Therefore, the time measuring means is also a speed calculating means for calculating the rotational speed of the motor 2 and the moving speed of the movable part driven by the motor 2.
The control unit 4 functions as an accumulating unit that sequentially stores the pulse period of each pulse measured by the time measuring unit.
The control unit 4 functions as a monitoring unit that monitors the voltage data input from the A / D converter 7.
The control unit 4 functions as a second timing unit that starts timing when the voltage data monitored by the monitoring unit is detected and continues the timing until the measured time reaches a predetermined estimated time t. .
The control unit 4 functions as a second counting unit that counts the number of pulses of the output signal of the waveform shaping unit 70, separately from the counting by the counting unit, while the timing unit performs timing.
The control unit 4 includes a pulse period T_before for one pulse or a plurality of pulses immediately before detecting a change in the voltage data monitored by the monitoring unit among the pulse cycles sequentially stored by the storage unit, and a second timing unit. It functions as an average period calculating means for calculating an average period T_average with a pulse period T_after for one pulse or a plurality of pulses immediately after counting to the estimated time t.
The control unit 4 functions as an estimated pulse number calculation unit that calculates the estimated pulse number as the quotient by dividing the estimated time t by the average period T_average calculated by the average cycle calculation unit.
The control unit 4 functions as a correcting unit that subtracts the number of pulses counted by the second counting unit from the number of pulses counted by the counting unit and adds the estimated number of pulses calculated by the estimated number of pulses calculating unit.
The control unit 4 functions as an updating unit that updates the number of pulses counted by the counting unit to a value calculated by addition / calculation of the calculation unit.
The control unit 4 functions as a stopping unit that issues a stop command to the motor driver 6 to stop the motor 2.

プログラム5Zに基づく制御部4の処理の流れについて説明するとともに、制御部4の処理に伴うモータ制御装置1の動作について説明する。   The flow of processing of the control unit 4 based on the program 5Z will be described, and the operation of the motor control device 1 accompanying the processing of the control unit 4 will be described.

所定の条件が満たされると、制御部4がモータ2の起動処理(図8参照)を実行する。所定の条件が満たされるとは、例えば、ユーザが起動スイッチをオンにすること、起動センサがオンになること、制御部4によって実行されている処理(例えば、シーケンス処理)で所定の条件が満たされること等である。   When a predetermined condition is satisfied, the control unit 4 executes a startup process of the motor 2 (see FIG. 8). The predetermined condition is satisfied when, for example, the user turns on the activation switch, the activation sensor is turned on, or the process (for example, sequence process) executed by the control unit 4 satisfies the predetermined condition. Etc.

まず、制御部4は、モータ2の回転の向き(正回転か逆回転)を決定し、その回転の向きをRAM又は記憶部5に書き込む(ステップS11)。   First, the control unit 4 determines the rotation direction (forward rotation or reverse rotation) of the motor 2, and writes the rotation direction in the RAM or the storage unit 5 (step S11).

次に、制御部4は、ステップS11で決定した向きにモータ2を起動させる(ステップS12)。つまり、制御部4は、ステップS11で決定した向きに従った回転向き指令をモータドライバ6に出力するとともに、起動指令をそのモータドライバ6に出力する。これにより、モータ2が起動し、モータ2によって可動部が駆動される。以上により、モータ2の起動処理が終了する。   Next, the control part 4 starts the motor 2 in the direction determined in step S11 (step S12). That is, the control unit 4 outputs a rotation direction command according to the direction determined in step S <b> 11 to the motor driver 6 and outputs a start command to the motor driver 6. Thereby, the motor 2 is started and the movable part is driven by the motor 2. Thus, the startup process of the motor 2 is completed.

モータ2の動作中は、抽出回路3がモータ2の電流信号からリプル成分を抽出(検出)して、リプル成分をパルス化する。そして、抽出回路3は、リプル成分がパルス化されてなるパルス信号を制御部4に出力する。   During operation of the motor 2, the extraction circuit 3 extracts (detects) a ripple component from the current signal of the motor 2, and pulses the ripple component. Then, the extraction circuit 3 outputs a pulse signal obtained by pulsing the ripple component to the control unit 4.

モータ2が起動すると、制御部4は、抽出回路3から入力したパルス信号に基づいて、パルス信号のパルス数の計数、モータ2の回転量の算出及びモータ2の回転位置の算出を行う。より具体的には、制御部4が図9に示す処理を実行することによってパルス信号のパルス数の計数、モータ2の回転量の算出及びモータ2の回転位置の算出を行う。   When the motor 2 is activated, the control unit 4 counts the number of pulses of the pulse signal, calculates the rotation amount of the motor 2, and calculates the rotation position of the motor 2 based on the pulse signal input from the extraction circuit 3. More specifically, the control unit 4 performs the processing shown in FIG. 9 to count the number of pulses of the pulse signal, calculate the rotation amount of the motor 2, and calculate the rotation position of the motor 2.

図9に示す処理について具体的に説明する。
制御部4は、A/Dコンバータ7から入力した電圧データを監視して、電圧データを所定の閾値と比較する(ステップS21)。上述のように制御部4がモータ2を起動させると(ステップS13)、モータ2に電流が通電するから、制御部4は電圧データが所定の閾値を上回った判定して、モータ2の通電・起動を検出する(ステップS21:Yes)。そして、制御部4が記憶部5から初期位置データ5Aを読み込んで、制御部4の処理がステップS22に移行する。
The process shown in FIG. 9 will be specifically described.
The control unit 4 monitors the voltage data input from the A / D converter 7 and compares the voltage data with a predetermined threshold value (step S21). As described above, when the control unit 4 activates the motor 2 (step S13), the current is supplied to the motor 2. Therefore, the control unit 4 determines that the voltage data exceeds a predetermined threshold value, Activation is detected (step S21: Yes). And the control part 4 reads the initial position data 5A from the memory | storage part 5, and the process of the control part 4 transfers to step S22.

電流がモータ2に通電すると、制御部4は抽出回路3によって出力されたパルス信号のパルス数を計数するとともに、モータ2の回転量及び回転位置を算出する(ステップS22,S23,S24、S25)。具体的には、まず、制御部4は、計数値Nをゼロにリセットする(ステップS22)。その後、制御部4は、抽出回路3によって出力されたパルス信号のパルスを入力するごとに(ステップS23:Yes)、計数値Nに1を加算することで計数値Nを更新するとともに(ステップS24)、読み込んだ初期位置データ5Aに更新後の計数値Nを加算するか、又は読み込んだ初期位置データ5Aから更新後の計数値Nを減算する(ステップS25)。制御部4は、ステップS25の演算をステップS11で決定した向きに従って決定する。例えば、ステップS11で決定した回転の向きが正回転である場合には、制御部4がステップS25で加算を行い、ステップS11で決定した回転の向きが逆回転である場合には、制御部4がステップS25で減算を行う。勿論、回転の向きと演算の関係が逆であってもよい。   When the current is supplied to the motor 2, the control unit 4 counts the number of pulses of the pulse signal output by the extraction circuit 3, and calculates the rotation amount and rotation position of the motor 2 (steps S22, S23, S24, S25). . Specifically, first, the control unit 4 resets the count value N to zero (step S22). Thereafter, each time the pulse of the pulse signal output by the extraction circuit 3 is input (step S23: Yes), the controller 4 updates the count value N by adding 1 to the count value N (step S24). ) The updated count value N is added to the read initial position data 5A, or the updated count value N is subtracted from the read initial position data 5A (step S25). The control unit 4 determines the calculation in step S25 according to the direction determined in step S11. For example, when the rotation direction determined in step S11 is forward rotation, the control unit 4 performs addition in step S25, and when the rotation direction determined in step S11 is reverse rotation, the control unit 4 Subtracts in step S25. Of course, the relationship between the direction of rotation and the calculation may be reversed.

ステップS24において更新された計数値Nが、制御部4によって計数されたパルス数である。制御部4によって計数されたパルス数(計数値N)に所定の定数を乗じて得られる値がモータ2の回転量や可動部の移動量に相当するから、制御部4がパルス数(計数値N)を計数する処理(ステップS21〜ステップS26)は、制御部4がモータ2の回転量や可動部の移動量を算出する処理に相当する。また、ステップS25において求められた差や和が、モータ2の回転位置を示すとともに、原点位置を基準としてその原点位置からの距離を示す。   The count value N updated in step S24 is the number of pulses counted by the control unit 4. Since the value obtained by multiplying the number of pulses (count value N) counted by the control unit 4 by a predetermined constant corresponds to the amount of rotation of the motor 2 or the amount of movement of the movable unit, the control unit 4 determines the number of pulses (count value). The process of counting N) (steps S21 to S26) corresponds to a process in which the control unit 4 calculates the rotation amount of the motor 2 and the movement amount of the movable unit. Further, the difference or sum obtained in step S25 indicates the rotational position of the motor 2 and the distance from the origin position with reference to the origin position.

制御部4は、モータ2の電流の遮断を検出するまでステップS23〜ステップS26の処理を繰り返す(ステップS26:No)。つまり、制御部4は、ステップS25の処理の後に、A/Dコンバータ7から入力した電圧データを所定の閾値と比較する(ステップS26)。そして、電圧データが所定の閾値を上回っている場合には(ステップS26:No)、制御部4の処理がステップS23に戻り、制御部4がステップS23〜ステップS25の処理を再度行う。一方、電圧データが所定の閾値を下回っている場合には(ステップS26:yes)、制御部4は図9に示す処理を終了する。   The control part 4 repeats the process of step S23-step S26 until it detects the interruption | blocking of the electric current of the motor 2 (step S26: No). That is, the control unit 4 compares the voltage data input from the A / D converter 7 with a predetermined threshold after the process of step S25 (step S26). If the voltage data exceeds the predetermined threshold (step S26: No), the process of the control unit 4 returns to step S23, and the control unit 4 performs the process of steps S23 to S25 again. On the other hand, when the voltage data is below the predetermined threshold (step S26: yes), the control unit 4 ends the process shown in FIG.

制御部4が図9に示す処理を実行している時に所定の条件が満たされると、制御部4がモータドライバ6に停止指令を出力して、モータ2を停止させる。所定の条件とは、例えば、ユーザが停止スイッチをオンにすること、制御部4によって実行された処理(例えば、シーケンス処理)で所定の条件が満たされること、上述のステップS25において求めた差又は和が所定の値になることである。   If a predetermined condition is satisfied when the control unit 4 is executing the processing shown in FIG. 9, the control unit 4 outputs a stop command to the motor driver 6 to stop the motor 2. The predetermined condition is, for example, that the user turns on the stop switch, that the predetermined condition is satisfied by the process executed by the control unit 4 (for example, the sequence process), the difference obtained in step S25 described above, The sum is a predetermined value.

制御部4がモータ2を停止させると、モータ2の電流が遮断されるので、図9に示すように、制御部4がモータ2の電流の遮断を検出し(ステップS26:Yes)、制御部4は図9に示す処理を終了する。そして、制御部4は、図9に示すステップS23〜ステップS26の処理を繰り返している際に最後のステップS25において求めた差又は和を記憶部5に書き込む。具体的には、制御部4は、記憶部5に記憶された初期位置データ5AをステップS25で求めた和や差に書き換える。   When the control unit 4 stops the motor 2, the current of the motor 2 is cut off. Therefore, as shown in FIG. 9, the control unit 4 detects the cut-off of the current of the motor 2 (step S26: Yes), and the control unit 4 finishes the process shown in FIG. And the control part 4 writes the difference or sum calculated | required in the last step S25 in the memory | storage part 5 when repeating the process of step S23-step S26 shown in FIG. Specifically, the control unit 4 rewrites the initial position data 5A stored in the storage unit 5 with the sum or difference obtained in step S25.

モータ2の動作中に、各種の外因(例えば、モータ2が備え付けられた自動車のエンジン始動時のクランキング等)が生じると、図10に示すようにモータ2の電源電圧が急激に変動する。モータ2の電源電圧が急激に変動すると、モータ2の電流値も急激に変動する。モータ2の電流値が急激に変動する際には、電流信号に含まれるリプル成分の振幅が縮小するため、抽出回路3がリプル成分の抽出することができない。リプル成分の振幅が縮小した期間では、抽出回路3によって出力されるパルス信号のパルス周期が延長し、その期間でのパルス数が減少する。そこで、制御部4は、次のような処理(図11〜図14参照)を行うことによって、モータ2の電源電圧が急激に変動している期間の間のパルス数を補完する。   When various external factors (for example, cranking at the time of engine start of a vehicle equipped with the motor 2) occur during the operation of the motor 2, the power supply voltage of the motor 2 fluctuates rapidly as shown in FIG. When the power supply voltage of the motor 2 changes rapidly, the current value of the motor 2 also changes rapidly. When the current value of the motor 2 fluctuates rapidly, the amplitude of the ripple component included in the current signal is reduced, so that the extraction circuit 3 cannot extract the ripple component. In the period in which the amplitude of the ripple component is reduced, the pulse period of the pulse signal output by the extraction circuit 3 is extended, and the number of pulses in that period is reduced. Therefore, the control unit 4 complements the number of pulses during the period in which the power supply voltage of the motor 2 is rapidly changing by performing the following processing (see FIGS. 11 to 14).

モータ2の動作中において、制御部4は、パルス信号のパルス周期を算出する。具体的には、制御部4が、図11に示すような処理を実行することによってパルスの立ち上がりから次のパルスの立ち上がりまでのパルス周期をパルスごとに順次算出し、算出したパルス周期をRAMや記憶部5に順次記憶する。   During the operation of the motor 2, the control unit 4 calculates the pulse period of the pulse signal. Specifically, the control unit 4 sequentially calculates the pulse period from the rising edge of the pulse to the rising edge of the next pulse by executing the process shown in FIG. The data is stored in the storage unit 5 sequentially.

まず、制御部4は、計時時間をゼロにリセットする(ステップS31)。次に、制御部4は、計時を開始するとともに、抽出回路3の出力パルス信号のパルスが立ち上がるまで計時を継続する(ステップS32、ステップS33:No)。そして、制御部4が抽出回路3の出力パルス信号のパルスの立ち上がりを検出したら(ステップS33:Yes)、制御部4が計時を終了するとともに(ステップS34)、計時時間をRAM若しくは記憶部5又はこれらの両方に記憶する(ステップS35)。そして、制御部4は計時時間を再びゼロにリセットする(ステップS31)。制御部4が以上のステップS31〜ステップS35の処理を繰り返すことによって、計時時間がRAM若しくは記憶部5又はこれらの両方に順次記憶される。RAM若しくは記憶部5又はこれらの両方に書き込まれた計時時間は、抽出回路3の出力パルス信号のパルス周期である。パルス周期の逆数が、モータ2の回転速度に示すとともに、モータ2によって駆動される可動部の速度を示す。従って、制御部4がパルスごとにパルス周期を計時する処理(ステップS31〜ステップS35)は、パルスごとにモータ2の回転速度や可動部の速度を求める処理に相当する。   First, the control unit 4 resets the timekeeping time to zero (step S31). Next, the control unit 4 starts measuring time and continues measuring time until the pulse of the output pulse signal of the extraction circuit 3 rises (step S32, step S33: No). When the control unit 4 detects the rise of the pulse of the output pulse signal of the extraction circuit 3 (step S33: Yes), the control unit 4 ends the time measurement (step S34), and the time measured is stored in the RAM or the storage unit 5 or These are stored in both of them (step S35). And the control part 4 resets time-measurement time to zero again (step S31). When the control unit 4 repeats the processes of steps S31 to S35, the time measurement is sequentially stored in the RAM, the storage unit 5, or both. The time measured written in the RAM or the storage unit 5 or both is the pulse period of the output pulse signal of the extraction circuit 3. The reciprocal of the pulse period indicates the rotational speed of the motor 2 and the speed of the movable part driven by the motor 2. Therefore, the process in which the control unit 4 measures the pulse period for each pulse (steps S31 to S35) corresponds to a process for obtaining the rotation speed of the motor 2 and the speed of the movable part for each pulse.

図10に示すようにモータ2の電源電圧がモータ2の動作中に急激に変動したら、制御部4はモータ2の電源電圧の変動中におけるパルス信号のパルス数を計数する。具体的には、モータ2の電源電圧が急激に変動したら、制御部4が図12に示すような処理を実行することによってパルス数を計数する。   As shown in FIG. 10, when the power supply voltage of the motor 2 rapidly changes during the operation of the motor 2, the control unit 4 counts the number of pulses of the pulse signal during the change of the power supply voltage of the motor 2. Specifically, when the power supply voltage of the motor 2 fluctuates rapidly, the control unit 4 counts the number of pulses by executing a process as shown in FIG.

制御部4は、A/Dコンバータ7から入力した電圧データを監視して、電圧データを所定の閾値と比較する(ステップS41)。モータ2の電源電圧が急激に変動すると、電圧データが閾値を下回るから、制御部4が電圧データが閾値を下回ったことを検出する(ステップS41:Yes)。   The control unit 4 monitors the voltage data input from the A / D converter 7 and compares the voltage data with a predetermined threshold value (step S41). When the power supply voltage of the motor 2 changes rapidly, the voltage data falls below the threshold value, so the control unit 4 detects that the voltage data falls below the threshold value (step S41: Yes).

次に、制御部4は、推定期間tを設定する(ステップS42)。推定期間tは、予め設定された期間であって、プログラム5Zにプログラミングされたものである。推定期間tは、モータ2の電源電圧が変動している期間を示すものである。例えば、推定期間tは、予め実験等によって調査されたものである。なお、電圧変動幅と時間との関係を表したルックアップテーブル又は関数が予め記憶部5に格納されており、制御部4がA/Dコンバータ7の電圧データに基づいて電圧変動幅を検出し、検出した電圧変動幅をルックアップテーブル又は関数に当てはめることで推定期間tを求めてもよい。   Next, the control part 4 sets the estimation period t (step S42). The estimation period t is a preset period and is programmed in the program 5Z. The estimation period t indicates a period during which the power supply voltage of the motor 2 varies. For example, the estimation period t is previously investigated by experiments or the like. A look-up table or function representing the relationship between the voltage fluctuation range and time is stored in the storage unit 5 in advance, and the control unit 4 detects the voltage fluctuation range based on the voltage data of the A / D converter 7. The estimated period t may be obtained by applying the detected voltage fluctuation range to a lookup table or function.

次に、制御部4は、計数値Mをゼロにリセットする(ステップS43)。
また、制御部4は、計数値Mのリセットと同時に計時時間をゼロにリセットして計時を開始するとともに(ステップS44)、計時時間が推定期間tに達するまで計時を継続する(ステップS47:No)。なお、制御部4は、図11に示す処理におけるパルス周期の計時と並行して、図12に示す処理における計時を行う。
Next, the control part 4 resets the count value M to zero (step S43).
Further, the control unit 4 resets the counting time to zero simultaneously with the reset of the count value M and starts counting (step S44), and continues counting until the counting time reaches the estimation period t (step S47: No). ). In addition, the control part 4 performs the time measurement in the process shown in FIG. 12 in parallel with the time measurement of the pulse period in the process shown in FIG.

制御部4は、計時中に、抽出回路3によって出力されたパルス信号のパルスを入力するごとに(ステップS45:Yes)、計数値Mに1を加算することで計数値Mを更新する(ステップS46)。なお、制御部4は、図9におけるパルス数(計数値N)の計数処理と並行して、図12に示す処理における計数値Mの計数を行う。また、制御部4は、図11におけるパルス周期の計時処理と平行して、図12に示す処理における計時を行う。   The control unit 4 updates the count value M by adding 1 to the count value M every time the pulse of the pulse signal output by the extraction circuit 3 is input during the timing (step S45: Yes) (step S45). S46). The control unit 4 counts the count value M in the process shown in FIG. 12 in parallel with the pulse number (count value N) count process in FIG. Further, the control unit 4 performs time measurement in the process shown in FIG. 12 in parallel with the time measurement process of the pulse period in FIG.

そして、計時時間が推定期間tに達したら、制御部4が計時を終了するとともに、計数値Mの計数を終了する(ステップS48)。次に、制御部4が、計数値MをRAM若しくは記憶部5又はこれらの両方に書き込む(ステップS49)。計数値Mは、モータ2の電源電圧が変動している期間(推定期間t)の間のパルス数である。なお、制御部4によって計数されたパルス数(計数値M)に所定の定数を乗じて得られる値がモータ2の回転量や可動部の移動量に相当するから、制御部4が推定期間tの間のパルス数(計数値M)を計数する処理(ステップS41〜ステップS49)は、制御部4が推定期間tの間のモータ2の回転量や可動部の移動量を算出する処理に相当する。
そして、制御部4は、計数値Mの書き込み後に、図12に示す処理を終了する。
When the timed time reaches the estimation period t, the control unit 4 ends the timekeeping and ends the counting of the count value M (step S48). Next, the control unit 4 writes the count value M in the RAM or the storage unit 5 or both (step S49). The count value M is the number of pulses during a period (estimated period t) in which the power supply voltage of the motor 2 is fluctuating. Since the value obtained by multiplying the number of pulses (count value M) counted by the control unit 4 by a predetermined constant corresponds to the rotation amount of the motor 2 and the movement amount of the movable unit, the control unit 4 performs the estimation period t. The processing (step S41 to step S49) for counting the number of pulses (count value M) during the period corresponds to the processing in which the control unit 4 calculates the rotation amount of the motor 2 and the movement amount of the movable unit during the estimation period t. To do.
Then, after writing the count value M, the control unit 4 ends the process shown in FIG.

図10に示すようにモータ2の電源電圧がモータ2の動作中に急激に変動したら、制御部4は、モータ2の電源電圧が変動している期間(推定期間t)の間に仮にモータ2の電源電圧が変動しなかったとした場合におけるパルス数を推定する。具体的には、制御部4が図12に示すような処理を実行することによってパルス数を推定する。   As shown in FIG. 10, when the power supply voltage of the motor 2 changes abruptly during the operation of the motor 2, the control unit 4 temporarily assumes the motor 2 during the period in which the power supply voltage of the motor 2 is changing (estimated period t). The number of pulses in the case where the power supply voltage of the case does not fluctuate is estimated. Specifically, the control unit 4 estimates the number of pulses by executing a process as shown in FIG.

制御部4は、A/Dコンバータ7から入力した電圧データを監視して、電圧データを所定の閾値と比較する(ステップS51)。モータ2の電源電圧が急激に変動すると、電圧データが閾値を下回るから、制御部4が電圧データの急激な変動を検出する(ステップS51:Yes)。   The control unit 4 monitors the voltage data input from the A / D converter 7 and compares the voltage data with a predetermined threshold value (step S51). When the power supply voltage of the motor 2 fluctuates rapidly, the voltage data falls below the threshold value, so that the control unit 4 detects a sudden fluctuation of the voltage data (step S51: Yes).

次に、制御部4は、推定期間tを設定する(ステップS52)。ステップS52において設定された推定期間tは、ステップS42において設定された推定期間tと同じである。   Next, the control part 4 sets the estimation period t (step S52). The estimation period t set in step S52 is the same as the estimation period t set in step S42.

次に、制御部4は、記憶部5又はRAMに記憶されたパルスごとのパルス周期(図11参照)のうち、A/Dコンバータ7によって検出されたモータ2の電源電圧の変動を検出する直前(推定期間tの直前)の一パルス分又は複数パルス分のパルス周期T_beforeを読み込む(ステップS53)。パルス周期T_beforeの逆数に所定の定数を乗じて得られる値は、推定期間tの直前のモータ2の回転速度に相当するとともに、推定期間t直前の可動部の速度に相当する。従って、制御部4がパルス周期T_beforeを読み込む処理(ステップS53)は、制御部4が推定期間tの直線のモータ2の回転速度や可動部の速度を読み込む処理に相当する。   Next, the control unit 4 immediately before detecting the fluctuation of the power supply voltage of the motor 2 detected by the A / D converter 7 in the pulse period (see FIG. 11) for each pulse stored in the storage unit 5 or the RAM. A pulse period T_before for one pulse or a plurality of pulses (immediately before the estimation period t) is read (step S53). A value obtained by multiplying the inverse of the pulse period T_before by a predetermined constant corresponds to the rotation speed of the motor 2 immediately before the estimation period t and also corresponds to the speed of the movable part immediately before the estimation period t. Therefore, the process in which the control unit 4 reads the pulse cycle T_before (step S53) corresponds to the process in which the control unit 4 reads the rotational speed of the linear motor 2 and the speed of the movable part in the estimation period t.

次に、制御部4は、記憶部5又はRAMに記憶されたパルスごとのパルス周期(図11参照)のうち、モータ2の電源電圧が変動してから推定期間tだけ経過した直後の一パルス分又は複数パルス分のパルス周期T_afterを読み込む(ステップS54)。パルス周期T_afterの逆数に所定の定数を乗じて得られる値は、推定期間tの直後のモータ2の回転速度に相当するとともに、推定期間t直後の可動部の速度に相当する。従って、制御部4がパルス周期T_afterを読み込む処理(ステップS54)は、制御部4が推定期間tの直後のモータ2の回転速度や可動部の速度を読み込む処理に相当する。なお、モータ2の電源電圧が変動してから推定期間tが経過していなければ、制御部4は、推定期間tが経過するのを待って、推定期間t経過直後の一パルス分又は複数パルス分のパルス周期T_afterを読み込む。   Next, in the pulse period (see FIG. 11) for each pulse stored in the storage unit 5 or the RAM, the control unit 4 outputs one pulse immediately after the estimated period t has elapsed since the power supply voltage of the motor 2 fluctuated. A pulse period T_after for minutes or a plurality of pulses is read (step S54). A value obtained by multiplying the reciprocal of the pulse period T_after by a predetermined constant corresponds to the rotation speed of the motor 2 immediately after the estimation period t and also corresponds to the speed of the movable part immediately after the estimation period t. Therefore, the process in which the control unit 4 reads the pulse cycle T_after (step S54) corresponds to the process in which the control unit 4 reads the rotation speed of the motor 2 and the speed of the movable part immediately after the estimation period t. If the estimation period t has not elapsed since the power supply voltage of the motor 2 fluctuated, the control unit 4 waits for the estimation period t to elapse, and then one pulse or a plurality of pulses immediately after the estimation period t has elapsed. Read the minute pulse period T_after.

次に、制御部4は、ステップS53で読み込んだ一パルス分又は複数パルス分のパルス周期T_beforeと、ステップS54で読み込んだ一パルス分又は複数パルス分のパルス周期T_afterとの平均周期T_averageを算出する(ステップS55)。なお、平均周期T_averageの逆数に所定の定数を乗じて得られる値が、推定期間t内におけるモータ2の平均回転速度に相当するとともに、推定期間t内における可動部の平均速度に相当する。そのため、制御部4が平均周期T_averageを算出する処理(ステップS55)は、制御部4が推定期間t内におけるモータ2の平均回転速度や可動部の平均速度を算出する処理に相当する。   Next, the control unit 4 calculates an average period T_average between the pulse period T_before for one pulse or a plurality of pulses read in step S53 and the pulse period T_after for one pulse or a plurality of pulses read in step S54. (Step S55). Note that a value obtained by multiplying the inverse of the average period T_average by a predetermined constant corresponds to the average rotational speed of the motor 2 within the estimation period t and also corresponds to the average speed of the movable part within the estimation period t. Therefore, the process in which the control unit 4 calculates the average period T_average (step S55) corresponds to the process in which the control unit 4 calculates the average rotation speed of the motor 2 and the average speed of the movable part within the estimation period t.

次に、制御部4は、推定時間tを平均周期T_averageで除して得られる商nを算出する(ステップS56)。商nは、モータ2の電源電圧が変動している期間(推定期間t)の間に仮にモータ2の電源電圧が変動しなかったとした場合における推定パルス数である。以下、商nを推定パルス数nともいう。
なお、平均周期T_averageの逆数に所定の定数を乗じて得られる値が推定期間t内におけるモータ2の平均回転速度や可動部の平均速度に相当するから、制御部4が推定時間tを平均周期T_averageで除して商を求める処理(ステップS56)は、制御部4が推定期間tにモータ2の平均回転速度又は可動部の平均速度を乗じて積を求める処理に相当する。その積は、モータ2の電源電圧が変動している期間(推定期間t)の間に仮にモータ2の電源電圧が変動しなかったとした場合におけるモータ2の推定回転量又は可動部の推定移動量である。
Next, the control unit 4 calculates a quotient n obtained by dividing the estimated time t by the average period T_average (step S56). The quotient n is the estimated number of pulses when the power supply voltage of the motor 2 does not change during the period during which the power supply voltage of the motor 2 is changing (estimation period t). Hereinafter, the quotient n is also referred to as an estimated pulse number n.
Since the value obtained by multiplying the reciprocal of the average period T_average by a predetermined constant corresponds to the average rotational speed of the motor 2 and the average speed of the movable part within the estimation period t, the control unit 4 calculates the estimated time t as the average period. The process of obtaining the quotient by dividing by T_average (step S56) corresponds to the process of obtaining the product by the control unit 4 multiplying the estimation period t by the average rotational speed of the motor 2 or the average speed of the movable part. The product is the estimated amount of rotation of the motor 2 or the estimated amount of movement of the movable part when the power supply voltage of the motor 2 does not fluctuate during the period in which the power supply voltage of the motor 2 fluctuates (estimated period t). It is.

制御部4は、推定パルス数nの算出後、図13に示す処理を終了する。   After calculating the estimated number of pulses n, the control unit 4 ends the process shown in FIG.

制御部4は、図13に示す処理において推定パルス数nを求めたら、図12に示す処理で計数した計数値M(推定期間t中のパルス数)及び図13に示す処理で求めた推定パルス数nに基づき、図9に示す実行中の処理で計数中の計数値N(パルス数)を補正する。具体的には、制御部4が図14に示すような処理を実行することによってパルス数を推定する。つまり、制御部4は、計数中の計数値Nから計数値Mを減算して、それに推定パルス数nを加算する。そして、制御部4は、計数中の計数値Nを加算・減算後の値に更新する(ステップS61)。以上によって、計数値Nが計数値M及び推定パルス数nに基づき更新される。そして、図9に示す処理を実行している制御部4は、図14に示す処理の終了後の最初のステップS24で、補正後の計数値Nに対して1を加算して計数値Nを更新する。   After obtaining the estimated number of pulses n in the process shown in FIG. 13, the control unit 4 counts M (the number of pulses during the estimation period t) counted in the process shown in FIG. 12 and the estimated pulse obtained in the process shown in FIG. Based on the number n, the count value N (number of pulses) being counted is corrected in the process being executed shown in FIG. Specifically, the control unit 4 estimates the number of pulses by executing a process as shown in FIG. That is, the control unit 4 subtracts the count value M from the count value N being counted, and adds the estimated pulse number n thereto. Then, the control unit 4 updates the count value N being counted to a value after addition / subtraction (step S61). As described above, the count value N is updated based on the count value M and the estimated pulse number n. Then, the control unit 4 executing the process shown in FIG. 9 adds 1 to the corrected count value N in the first step S24 after the end of the process shown in FIG. Update.

なお、制御部4によって更新された計数値N(パルス数)に所定の定数を乗じて得られる値は、モータ2の更新後の回転量や可動部の更新後の移動量に相当する。そのため、制御部4が計数値N(パルス数)から計数値Mを減算して、それに推定パルス数nを加算する処理(ステップS61)は、制御部4が算出中のモータ2の回転量(計数値Nに対応)から推定期間tのモータ2の回転量(計数値Mに対応)を減算し、推定期間tにモータ2の平均回転速度を乗じて算出した積(推定パルス数nに対応)をそれに加算する処理に相当する。また、制御部4が計数値N(パルス数)から計数値Mを減算して、それに推定パルス数nを加算する処理(ステップS61)は、制御部4が算出中の可動部の移動量(計数値Nに対応)から推定期間tの可動部の移動量(計数値Mに対応)を減算し、推定期間tに可動部の平均回転速度を乗じて算出した積(推定パルス数nに対応)をそれに加算する処理に相当する。   Note that a value obtained by multiplying the count value N (number of pulses) updated by the control unit 4 by a predetermined constant corresponds to the amount of rotation after the motor 2 is updated or the amount of movement of the movable unit after the update. Therefore, the process in which the control unit 4 subtracts the count value M from the count value N (number of pulses) and adds the estimated number of pulses n thereto (step S61) is the rotation amount of the motor 2 being calculated by the control unit 4 (step S61). The product (corresponding to the estimated number of pulses n) calculated by subtracting the rotation amount (corresponding to the count value M) of the motor 2 in the estimation period t from the count value N) and multiplying the estimation period t by the average rotation speed of the motor 2 ) Is equivalent to the process of adding to it. Further, the process in which the control unit 4 subtracts the count value M from the count value N (number of pulses) and adds the estimated number of pulses n thereto (step S61) is the amount of movement of the movable part being calculated by the control unit 4 (step S61). The product (corresponding to the estimated number of pulses n) calculated by subtracting the moving amount (corresponding to the counted value M) of the movable part in the estimation period t from the count value N) and multiplying the estimation period t by the average rotational speed of the movable part. ) Is equivalent to the process of adding to it.

以上に述べたことがモータ制御装置1の動作の説明である。図1に示されたモータ制御装置1は、例えば車両用シート装置に用いられる。その車両用シート装置は、図1に示されたモータ制御装置1と、図15に示されたシート本体90を備え、シート本体90の可動部がモータ2によって駆動される。なお、シート本体90の可動部の数とモータ2の数が同数であることが好ましく、モータ2の数が複数である場合、モータドライバ6及び抽出回路3がモータ2ごとに設けられ、制御部4及び記憶部5が全てのモータ2に共通している。   What has been described above is the description of the operation of the motor control device 1. The motor control device 1 shown in FIG. 1 is used for a vehicle seat device, for example. The vehicle seat device includes the motor control device 1 shown in FIG. 1 and the seat body 90 shown in FIG. 15, and the movable part of the seat body 90 is driven by the motor 2. The number of movable parts of the sheet main body 90 and the number of motors 2 are preferably the same. When there are a plurality of motors 2, the motor driver 6 and the extraction circuit 3 are provided for each motor 2, and the control unit 4 and the storage unit 5 are common to all the motors 2.

シート本体90について具体的に説明する。シート本体90はレール91、シートボトム92、バックレスト93、ヘッドレスト94、アームレスト95及びレッグレスト96等を備える。   The sheet body 90 will be specifically described. The seat body 90 includes a rail 91, a seat bottom 92, a backrest 93, a headrest 94, an armrest 95, a legrest 96, and the like.

シートボトム92がレール91の上に搭載され、シートボトム92がレール91よって前後方向に移動可能に設けられており、モータ2がシートボトム92を前後方向に駆動する。シートボトム92の前部が昇降可能に設けられ、別のモータ2がシートボトム92の前部を上下方向に駆動する。シートボトム92の後部が昇降可能に設けられ、別のモータ2がシートボトム92の後部を上下方向に駆動する。バックレスト93がリクライニング機構によってシートボトム92の後端部に回転可能に連結され、別のモータ2がバックレスト93をシートボトム92に対して起伏させる。ヘッドレスト94がバックレスト93の上端部に昇降可能・回転可能に連結され、別のモータ2がヘッドレスト94を上下方向に駆動し、更に別のモータ2がヘッドレスト94を前後に起伏させる。アームレスト95がバックレスト93の側面に回転可能に連結され、別のモータ2がアームレスト95を水平状態から垂直状態に及びその逆に駆動する。レッグレスト96がシートボトム92の前端部に回転可能に連結され、別のモータ2がレッグレスト96を跳ね上げ状態から垂下状態又はその逆に駆動する。   The seat bottom 92 is mounted on the rail 91, the seat bottom 92 is provided so as to be movable in the front-rear direction by the rail 91, and the motor 2 drives the seat bottom 92 in the front-rear direction. The front part of the seat bottom 92 is provided to be movable up and down, and another motor 2 drives the front part of the seat bottom 92 in the vertical direction. The rear part of the seat bottom 92 is provided so as to be movable up and down, and another motor 2 drives the rear part of the seat bottom 92 in the vertical direction. The backrest 93 is rotatably connected to the rear end portion of the seat bottom 92 by a reclining mechanism, and another motor 2 raises and lowers the backrest 93 with respect to the seat bottom 92. The headrest 94 is connected to the upper end of the backrest 93 so as to be able to move up and down and rotate, and another motor 2 drives the headrest 94 in the vertical direction, and another motor 2 undulates the headrest 94 back and forth. The armrest 95 is rotatably connected to the side surface of the backrest 93, and another motor 2 drives the armrest 95 from the horizontal state to the vertical state and vice versa. A legrest 96 is rotatably connected to the front end portion of the seat bottom 92, and another motor 2 drives the legrest 96 from a flipped state to a suspended state or vice versa.

本発明の実施の形態は、以下のような効果を奏する。
(1) モータ2の電源電圧が変動しているであろう推定期間tの間に抽出回路3がパルス成分を正確に抽出できない場合でも、制御部4がその推定期間tの直前と直後のパルス周期の平均値で推定期間tを除することで、その推定期間tの間のパルス数(商n)を算出する(図13参照)。そして、制御部4は、抽出回路3の出力パルス信号に基づくパルス数(計数値N)に推定のパルス数(商n)を加算することで、パルス数を補正する(図14参照)。よって、正確なパルス数が求められ、制御部4によって求められる回転量が実際のモータ2の回転量を正確に表す。
(2) フィルタ40の回路設計においてフィルタ40の高カットオフ周波数fc2がリプル成分の周波数よりも低く設定されているから、フィルタ40によってリプル成分を除去することができる。
(3) 差動増幅器50が、バンドパスフィルタ30の出力信号(電流電圧変換器10によって変換された電圧信号のうち直流成分及び高周波ノイズ成分等が除去されたもの)と、フィルタ40の出力信号(電流電圧変換器10によって変換された電圧信号のうち直流成分、高周波ノイズ成分及びリプル成分等が除去されたもの)の差分を取って、それを差分信号として出力する。そのため、差動増幅器50の出力信号は、電流電圧変換器10によって変換された電圧信号のうちリプル成分である。差動増幅器50の出力信号が差分信号であるからこそ、モータ2の電流信号の各成分の周波数が環境変化によって変動しても、リプル成分が正確に抽出されて、モータ2の電流信号中のリプルを高精度に検出することができる。
(4) 図5に示す周波数特性のうち、高カットオフ周波数fc2よりも高い領域の傾斜部分を利用したからこそ、リプル成分の周波数が温度変化により変動したものとしても、差動増幅器50の出力信号がリプル成分として正確に抽出される。
(5) フィルタ40の周波数特性を利用して、フィルタ40と差動増幅器50によってリプル成分を抽出したから、フィルタ40にカットオフ周波数可変型フィルタを用いなくても済む。そのため、フィルタ40のコストを削減することができる。
(6) 抽出回路3がフィードバック制御回路のような閉ループ回路でないから、モータ2の電流信号の各成分の周波数が過渡的に又は急激に変化したものとしても、リプルを正確に検出することができる。
(7) フィルタ40が抵抗器41b,41d,41a,41c及びキャパシタ41a,41c,41b,41d,43aからなるフィルタであるから、フィルタ40の構成がシンプルであり、フィルタ40のコストアップを抑えることができる。
(8) フィルタ40の周波数特性を利用して、フィルタ40と差動増幅器50によってリプル成分を抽出したから、ハイパスフィルタ20やバンドパスフィルタ30にカットオフ周波数可変型フィルタを用いなくても済む。そのため、ハイパスフィルタ20やバンドパスフィルタ30のコストアップを抑えることができる。
(9) 電流電圧変換器10によって変換された電圧信号のうち直流成分がハイパスフィルタ20によって除去されるから、そのハイパスフィルタ20の後段のバンドパスフィルタ30、フィルタ40及び差動増幅器50の処理が正確に行われる。
(10) 電流電圧変換器10によって変換された電圧信号のうち所定周波数帯域外の成分がバンドパスフィルタ30によって減衰するから、そのバンドパスフィルタ30の後段のフィルタ40や差動増幅器50の処理が正確に行われる。
The embodiment of the present invention has the following effects.
(1) Even when the extraction circuit 3 cannot accurately extract the pulse component during the estimation period t during which the power supply voltage of the motor 2 will fluctuate, the control unit 4 performs pulses immediately before and immediately after the estimation period t. By dividing the estimation period t by the average value of the period, the number of pulses (quotient n) during the estimation period t is calculated (see FIG. 13). Then, the control unit 4 corrects the pulse number by adding the estimated pulse number (quotient n) to the pulse number (count value N) based on the output pulse signal of the extraction circuit 3 (see FIG. 14). Therefore, an accurate pulse number is obtained, and the rotation amount obtained by the control unit 4 accurately represents the actual rotation amount of the motor 2.
(2) Since the high cut-off frequency fc2 of the filter 40 is set lower than the frequency of the ripple component in the circuit design of the filter 40, the ripple component can be removed by the filter 40.
(3) The differential amplifier 50 outputs the output signal of the bandpass filter 30 (the voltage signal converted by the current-voltage converter 10 from which the DC component and the high-frequency noise component are removed) and the output signal of the filter 40. The difference between the voltage signals converted by the current-voltage converter 10 from which the DC component, the high-frequency noise component, the ripple component, etc. are removed is taken and output as a difference signal. Therefore, the output signal of the differential amplifier 50 is a ripple component in the voltage signal converted by the current-voltage converter 10. Because the output signal of the differential amplifier 50 is a differential signal, even if the frequency of each component of the current signal of the motor 2 fluctuates due to environmental changes, the ripple component is accurately extracted, Ripple can be detected with high accuracy.
(4) Of the frequency characteristics shown in FIG. 5, the output of the differential amplifier 50 can be obtained even if the frequency of the ripple component fluctuates due to temperature change because the sloped portion in the region higher than the high cutoff frequency fc2 is used. The signal is accurately extracted as a ripple component.
(5) Since the ripple component is extracted by the filter 40 and the differential amplifier 50 using the frequency characteristics of the filter 40, it is not necessary to use a variable cutoff frequency filter for the filter 40. Therefore, the cost of the filter 40 can be reduced.
(6) Since the extraction circuit 3 is not a closed loop circuit such as a feedback control circuit, ripples can be accurately detected even if the frequency of each component of the current signal of the motor 2 changes transiently or rapidly. .
(7) Since the filter 40 is a filter including resistors 41b, 41d, 41a, and 41c and capacitors 41a, 41c, 41b, 41d, and 43a, the configuration of the filter 40 is simple, and an increase in the cost of the filter 40 is suppressed. Can do.
(8) Since the ripple component is extracted by the filter 40 and the differential amplifier 50 using the frequency characteristics of the filter 40, it is not necessary to use a variable cutoff frequency filter for the high-pass filter 20 or the band-pass filter 30. Therefore, the cost increase of the high pass filter 20 and the band pass filter 30 can be suppressed.
(9) Since the DC component of the voltage signal converted by the current-voltage converter 10 is removed by the high-pass filter 20, the processing of the band-pass filter 30, the filter 40 and the differential amplifier 50 subsequent to the high-pass filter 20 is performed. Exactly done.
(10) Since the component outside the predetermined frequency band of the voltage signal converted by the current-voltage converter 10 is attenuated by the band-pass filter 30, the processing of the filter 40 and the differential amplifier 50 subsequent to the band-pass filter 30 is performed. Exactly done.

〔変形例〕
なお、本発明を適用可能な実施形態は、上述した実施形態に限定されることなく、本発明の趣旨を逸脱しない範囲で適宜変更可能である。以下、変形例について説明する。以下に挙げる変形例は可能な限り組み合わせてもよい。
[Modification]
The embodiments to which the present invention can be applied are not limited to the above-described embodiments, and can be appropriately changed without departing from the spirit of the present invention. Hereinafter, modified examples will be described. The following modifications may be combined as much as possible.

〔変形例1〕
上述のステップS22において、制御部4は、計数値Nをゼロにリセットするのではなく、計数値Nを初期位置データ5Aに設定してもよい。この場合、ステップS25における処理が省略される。更に、ステップS24においては、制御部4が、抽出回路3によって出力されたパルス信号のパルスを入力するごとに、計数値Nに1を加算し又は減算することで計数値Nを更新する。制御部4は、ステップS24の演算をステップS11で決定した向きに従って決定する。例えば、ステップS11で決定した回転の向きが正回転である場合には、制御部4がステップS24で加算を行い、ステップS11で決定した回転の向きが逆回転である場合には、制御部4がステップS24で減算を行う。勿論、回転の向きと演算の関係が逆であってもよい。
ステップS24で更新した計数値Nは、モータ2の回転位置を示すとともに、原点位置を基準としてその原点位置からの距離を示す。
[Modification 1]
In step S22 described above, the control unit 4 may set the count value N in the initial position data 5A instead of resetting the count value N to zero. In this case, the process in step S25 is omitted. Further, in step S24, the control unit 4 updates the count value N by adding or subtracting 1 to the count value N every time the pulse of the pulse signal output by the extraction circuit 3 is input. The control unit 4 determines the calculation in step S24 according to the direction determined in step S11. For example, when the rotation direction determined in step S11 is normal rotation, the control unit 4 performs addition in step S24, and when the rotation direction determined in step S11 is reverse rotation, the control unit 4 Performs subtraction in step S24. Of course, the relationship between the direction of rotation and the calculation may be reversed.
The count value N updated in step S24 indicates the rotational position of the motor 2 and the distance from the origin position with reference to the origin position.

〔変形例2〕
検出回路3は一例であり、上述の実施形態の回路に限るものではない。例えば、フィルタ40及び差動増幅器50を省略してもよい。その場合、リプル成分の周波数が変化しても、リプル成分を正確に抽出できるようにするために、スイッチト・キャパシタ・フィルタをバンドパスフィルタ30の後段であって増幅器60の前段に設けることが好ましい。スイッチト・キャパシタ・フィルタのカットオフ周波数が可変であり、リプル成分や低周波成分の周波数が変化した場合でも、スイッチト・キャパシタ・フィルタは、低周波成分を減衰させ、リプル成分を通過させる。
[Modification 2]
The detection circuit 3 is an example, and is not limited to the circuit of the above-described embodiment. For example, the filter 40 and the differential amplifier 50 may be omitted. In this case, a switched capacitor filter is provided after the band-pass filter 30 and before the amplifier 60 so that the ripple component can be accurately extracted even if the frequency of the ripple component changes. preferable. Even when the cutoff frequency of the switched capacitor filter is variable and the frequency of the ripple component or the low frequency component changes, the switched capacitor filter attenuates the low frequency component and passes the ripple component.

〔変形例3〕
フィルタ40の回路設計において、温度変化によるリプル成分の周波数の変動も考慮しつつ、図5に示すフィルタ40の低カットオフ周波数fc1がリプル成分の周波数(例えば、常温時の周波数)よりも高く設定されている。従って、フィルタ40は、電流電圧変換器10によって変換された電圧信号(バンドパスフィルタ30の出力信号)のうちリプル成分を高周波成分(高周波成分はリプル成分よりも周波数が高い。)よりも高い減衰率で減衰させる。つまり、フィルタ40は、リプル成分を高周波成分よりも効率的に除去する。従って、フィルタ40は、リプル成分を除去した信号を差動増幅器50に出力する。
[Modification 3]
In the circuit design of the filter 40, the low cut-off frequency fc1 of the filter 40 shown in FIG. 5 is set to be higher than the frequency of the ripple component (for example, the frequency at normal temperature) while taking into account fluctuations in the frequency of the ripple component due to temperature changes. Has been. Therefore, the filter 40 attenuates the ripple component of the voltage signal (the output signal of the bandpass filter 30) converted by the current-voltage converter 10 higher than the high-frequency component (the high-frequency component has a higher frequency than the ripple component). Decay at a rate. That is, the filter 40 removes the ripple component more efficiently than the high frequency component. Therefore, the filter 40 outputs a signal from which the ripple component has been removed to the differential amplifier 50.

この場合、モータ2の電流信号やフィルタ40及び差動増幅器50の入力信号は、リプル成分と、そのリプル成分よりも周波数が高い高周波成分とを重畳したものである。   In this case, the current signal of the motor 2 and the input signals of the filter 40 and the differential amplifier 50 are obtained by superimposing a ripple component and a high frequency component having a higher frequency than the ripple component.

〔変形例4〕
フィルタ40がバンドパスフィルタではなく、図16に示すような周波数特性を有したローパスフィルタであってもよい。フィルタ40は、電流電圧変換器10によって変換された電圧信号(バンドパスフィルタ30の出力信号)のうちカットオフ周波数fc3以下の成分を通過させ、カットオフ周波数fc3を超える成分を減衰させる。具体的には、カットオフ周波数fc3を超える高周波域において、フィルタ40は、電流電圧変換器10によって変換された電圧信号(バンドパスフィルタ30の出力信号)に含まれる成分の周波数が低いほど減衰率がより低くなるように、電流電圧変換器10によって変換された電圧信号(バンドパスフィルタ30の出力信号)を減衰させる。
[Modification 4]
The filter 40 may be a low-pass filter having frequency characteristics as shown in FIG. 16 instead of a band-pass filter. The filter 40 passes the component below the cutoff frequency fc3 among the voltage signal (the output signal of the bandpass filter 30) converted by the current-voltage converter 10, and attenuates the component exceeding the cutoff frequency fc3. Specifically, in a high frequency region exceeding the cut-off frequency fc3, the filter 40 decreases the attenuation rate as the frequency of the component included in the voltage signal (the output signal of the bandpass filter 30) converted by the current-voltage converter 10 decreases. Is attenuated so that the voltage signal converted by the current-voltage converter 10 (the output signal of the bandpass filter 30) is attenuated.

フィルタ40の回路設計において、温度変化によるリプル成分の周波数の変動も考慮しつつ、図16に示すフィルタ40のカットオフ周波数fc3がリプル成分の周波数(例えば、常温時の周波数)よりも低く設定されている。従って、フィルタ40は、電流電圧変換器10によって変換された電圧信号(バンドパスフィルタ30の出力信号)のうちリプル成分を低周波成分(低周波成分はリプル成分よりも周波数が低い。)よりも高い減衰率で減衰させる。つまり、フィルタ40は、リプル成分を低周波成分よりも効率的に除去する。従って、フィルタ40は、リプル成分を除去した信号を差動増幅器50に出力する。   In the circuit design of the filter 40, the cut-off frequency fc3 of the filter 40 shown in FIG. 16 is set to be lower than the frequency of the ripple component (for example, the frequency at normal temperature) while taking into account fluctuations in the frequency of the ripple component due to temperature changes. ing. Therefore, the filter 40 has a ripple component in the voltage signal (the output signal of the band pass filter 30) converted by the current-voltage converter 10 that is lower in frequency than the low frequency component (the frequency of the low frequency component is lower than that of the ripple component). Attenuate with high attenuation factor. That is, the filter 40 removes the ripple component more efficiently than the low frequency component. Therefore, the filter 40 outputs a signal from which the ripple component has been removed to the differential amplifier 50.

この場合、モータ2の電流信号やフィルタ40及び差動増幅器50の入力信号は、リプル成分と、そのリプル成分よりも周波数が低い低周波成分とを重畳したものである。   In this case, the current signal of the motor 2 and the input signal of the filter 40 and the differential amplifier 50 are obtained by superimposing a ripple component and a low frequency component having a frequency lower than that of the ripple component.

フィルタ40がローパスフィルタである場合、図6に示すハイパスフィルタ41,43が省略され、バンドパスフィルタ30の出力がローパスフィルタ42の入力に接続され、ローパスフィルタ42の出力が抵抗器51を介してオペアンプ53の反転入力端子に接続される。   When the filter 40 is a low-pass filter, the high-pass filters 41 and 43 shown in FIG. 6 are omitted, the output of the band-pass filter 30 is connected to the input of the low-pass filter 42, and the output of the low-pass filter 42 is connected via the resistor 51. The inverting input terminal of the operational amplifier 53 is connected.

〔変形例5〕
フィルタ40がバンドパスフィルタではなく、図17に示すような周波数特性を有したハイパスフィルタであってもよい。フィルタ40は、電流電圧変換器10によって変換された電圧信号(バンドパスフィルタ30の出力信号)のうちカットオフ周波数fc4以上の成分を通過させ、カットオフ周波数fc4を下回る成分を減衰させる。具体的には、カットオフ周波数fc4を下回る低周波域において、フィルタ40は、電流電圧変換器10によって変換された電圧信号(バンドパスフィルタ30の出力信号)に含まれる成分の周波数が低いほど減衰率がより高くなるように、電流電圧変換器10によって変換された電圧信号(バンドパスフィルタ30の出力信号)を減衰させる。
[Modification 5]
The filter 40 may be a high-pass filter having frequency characteristics as shown in FIG. 17 instead of the band-pass filter. The filter 40 passes a component having a cutoff frequency fc4 or higher in the voltage signal (the output signal of the bandpass filter 30) converted by the current-voltage converter 10, and attenuates a component lower than the cutoff frequency fc4. Specifically, in the low frequency region below the cut-off frequency fc4, the filter 40 attenuates as the frequency of the component included in the voltage signal (the output signal of the bandpass filter 30) converted by the current-voltage converter 10 decreases. The voltage signal (the output signal of the bandpass filter 30) converted by the current-voltage converter 10 is attenuated so that the rate becomes higher.

フィルタ40の回路設計において、温度変化によるリプル成分の周波数の変動も考慮しつつ、図17に示すフィルタ40のカットオフ周波数fc4がリプル成分の周波数(例えば、常温時の周波数)よりも高く設定されている。従って、フィルタ40は、電流電圧変換器10によって変換された電圧信号(バンドパスフィルタ30の出力信号)のうちリプル成分を高周波成分(高周波成分はリプル成分よりも周波数が高い。)よりも高い減衰率で減衰させる。つまり、フィルタ40は、リプル成分を高周波成分よりも効率的に除去する。従って、フィルタ40は、リプル成分を除去した信号を差動増幅器50に出力する。   In the circuit design of the filter 40, the cut-off frequency fc4 of the filter 40 shown in FIG. 17 is set to be higher than the frequency of the ripple component (for example, the frequency at normal temperature) while taking into account fluctuations in the frequency of the ripple component due to temperature changes. ing. Therefore, the filter 40 attenuates the ripple component of the voltage signal (the output signal of the bandpass filter 30) converted by the current-voltage converter 10 higher than the high-frequency component (the high-frequency component has a higher frequency than the ripple component). Decay at a rate. That is, the filter 40 removes the ripple component more efficiently than the high frequency component. Therefore, the filter 40 outputs a signal from which the ripple component has been removed to the differential amplifier 50.

フィルタ40がハイパスフィルタである場合、図6に示すローパスフィルタ42が省略され、バンドパスフィルタ30の出力がハイパスフィルタ41の入力に接続されている。   When the filter 40 is a high pass filter, the low pass filter 42 shown in FIG. 6 is omitted, and the output of the band pass filter 30 is connected to the input of the high pass filter 41.

〔変形例6〕
フィルタ40がバンドパスフィルタではなく、バンドストップフィルタであってもよい。
[Modification 6]
The filter 40 may be a band stop filter instead of a band pass filter.

〔変形例7〕
ハイパスフィルタ20とバンドパスフィルタ30の一方又は両方を省略してもよい。ハイパスフィルタ20を省略した場合には、電流電圧変換器10の出力がバンドパスフィルタ30の入力に接続される。バンドパスフィルタ30を省略した場合には、ハイパスフィルタ20の出力がフィルタ40の入力及び差動増幅器50の入力に接続される。ハイパスフィルタ20とバンドパスフィルタ30の両方が省略されている場合には、電流電圧変換器10の出力がフィルタ40の入力及び差動増幅器50の入力に接続される。
[Modification 7]
One or both of the high pass filter 20 and the band pass filter 30 may be omitted. When the high-pass filter 20 is omitted, the output of the current-voltage converter 10 is connected to the input of the band-pass filter 30. When the band pass filter 30 is omitted, the output of the high pass filter 20 is connected to the input of the filter 40 and the input of the differential amplifier 50. When both the high-pass filter 20 and the band-pass filter 30 are omitted, the output of the current-voltage converter 10 is connected to the input of the filter 40 and the input of the differential amplifier 50.

〔変形例8〕
モータ制御装置1が電動ドアミラー装置に組み込まれ、電動ドアミラー装置の可動部(例えば、ドアに対してミラーハウジングの格納及び展開をする格納機構、ミラーハウジングに対してミラーを上下に振るチルト機構、ミラーハウジングに対してミラーを左右に振るパン機構)がモータ制御装置1のモータ2によって駆動されてもよい。モータ制御装置1がパワーウィンドウ装置に組み込まれ、パワーウィンドウ装置の可動部(例えば、ウィンドウレギュレター)がモータ2によって駆動されてもよい。
[Modification 8]
The motor control device 1 is incorporated in an electric door mirror device, and a movable part of the electric door mirror device (for example, a storage mechanism that stores and unfolds the mirror housing with respect to the door, a tilt mechanism that swings the mirror up and down with respect to the mirror housing, a mirror) A pan mechanism that swings the mirror to the left and right with respect to the housing may be driven by the motor 2 of the motor control device 1. The motor control device 1 may be incorporated in the power window device, and the movable portion (for example, window regulator) of the power window device may be driven by the motor 2.

〔変形例9〕
フィルタ40がオペアンプを用いたもの(例えば、負帰還型ローパスフィルタ、正帰還型ローパスフィルタ、多重負帰還型バンドパスフィルタ、多重正帰還型バンドパスフィルタ)でもよい。
[Modification 9]
The filter 40 may use an operational amplifier (for example, a negative feedback low-pass filter, a positive feedback low-pass filter, a multiple negative feedback band-pass filter, or a multiple positive feedback band-pass filter).

2 モータ
3 抽出回路
4 制御部
5 記憶部
7 A/Dコンバータ(電圧検出部)
2 Motor 3 Extraction circuit 4 Control unit 5 Storage unit 7 A / D converter (voltage detection unit)

Claims (6)

駆動されると電流信号に周期的なリプルを発生させるモータと、
前記モータの前記電流信号からリプル成分を抽出して、そのリプル成分をパルス化したパルス信号を出力する抽出回路と、
前記モータの電圧を検出する電圧検出部と、
前記パルス信号を入力するとともに、前記モータを制御する制御部と、を備え、
前記制御部が、
前記パルス信号のパルス数を計数する第一処理と、
前記パルス信号のパルスごとに前記パルス信号のパルス周期を計時して、計時したパルス周期を順次記憶する第二処理と、
前記電圧検出部によって検出された電圧の変動を検出した場合に、前記第二処理で記憶したパルス周期のうち、前記電圧検出部によって検出された電圧の変動を検出する直前の一パルス分又は複数パルス分のパルス周期と、前記第二処理で記憶したパルス周期のうち、前記電圧検出部によって検出された電圧の変動を検出してから所定期間経過後の一パルス分又は複数パルス分のパルス周期との平均周期を算出する第三処理と、
前記所定期間を前記第三処理で算出した前記平均周期で除して得られる商を算出する第四処理と、を実行する、モータ制御装置。
A motor that generates a periodic ripple in the current signal when driven;
An extraction circuit that extracts a ripple component from the current signal of the motor and outputs a pulse signal obtained by pulsing the ripple component;
A voltage detector for detecting the voltage of the motor;
A controller that inputs the pulse signal and controls the motor;
The control unit is
A first process for counting the number of pulses of the pulse signal;
A second process of measuring the pulse period of the pulse signal for each pulse of the pulse signal and sequentially storing the measured pulse period;
In the case where a change in voltage detected by the voltage detector is detected, one pulse or a plurality of pulses immediately before detecting a change in voltage detected by the voltage detector in the pulse period stored in the second process Among the pulse period for the pulse and the pulse period stored in the second process, the pulse period for one pulse or a plurality of pulses after a predetermined period has elapsed since the detection of the voltage variation detected by the voltage detection unit A third process for calculating an average period with
And a fourth process of calculating a quotient obtained by dividing the predetermined period by the average period calculated in the third process.
前記制御部が、
前記電圧検出部によって検出された電圧の変動を検出した場合に、前記所定期間の間における前記パルス信号のパルス数を計数する第五処理と、
前記第一処理で計数したパルス数から前記第五処理で計数したパルス数を減算し、それに前記第四処理で算出した商を加算する第六処理と、を更に実行する、請求項1に記載のモータ制御装置。
The control unit is
A fifth process of counting the number of pulses of the pulse signal during the predetermined period when detecting a variation in the voltage detected by the voltage detector;
The sixth process of further subtracting the number of pulses counted in the fifth process from the number of pulses counted in the first process and adding the quotient calculated in the fourth process to the sixth process. Motor control device.
前記制御部が、前記第一処理で計数したパルス数を前記第六処理の加算及び減算によって得られる値に更新する第七処理を更に実行する、請求項2に記載のモータ制御装置。   The motor control device according to claim 2, wherein the control unit further executes a seventh process of updating the number of pulses counted in the first process to a value obtained by addition and subtraction of the sixth process. 駆動されると電流信号に周期的なリプルを発生させるモータと、
前記モータの前記電流信号からリプル成分を抽出して、そのリプル成分をパルス化したパルス信号を出力する抽出回路と、
前記モータの電圧を検出する電圧検出部と、
前記パルス信号を入力するとともに、前記モータを制御する制御部と、を備え、
前記制御部が、
前記パルス信号のパルス数を計数することで前記モータの回転量を算出する第一処理と、
前記パルス信号のパルスごとに前記パルス信号のパルス周期を計時することで前記パルス信号のパルスごとに前記モータの回転速度を算出して、算出した回転速度を順次記憶する第二処理と、
前記電圧検出部によって検出された電圧の変動を検出した場合に、前記第二処理で記憶した回転速度のうち、前記電圧検出部によって検出された電圧の変動を検出する直前の一パルス分又は複数パルス分の回転速度と、前記第二処理で記憶したパルス周期のうち、前記電圧検出部によって検出された電圧の変動を検出してから所定期間経過後の一パルス分又は複数パルス分の回転速度との平均回転速度を算出する第三処理と、
前記所定期間に前記第三処理で算出した前記平均回転速度を乗じて得られる積を算出する第四処理と、を実行する、モータ制御装置。
A motor that generates a periodic ripple in the current signal when driven;
An extraction circuit that extracts a ripple component from the current signal of the motor and outputs a pulse signal obtained by pulsing the ripple component;
A voltage detector for detecting the voltage of the motor;
A controller that inputs the pulse signal and controls the motor;
The control unit is
A first process for calculating the amount of rotation of the motor by counting the number of pulses of the pulse signal;
A second process of calculating the rotational speed of the motor for each pulse of the pulse signal by measuring the pulse period of the pulse signal for each pulse of the pulse signal, and sequentially storing the calculated rotational speed;
When a voltage variation detected by the voltage detector is detected, out of the rotation speed stored in the second process, one pulse or a plurality of pulses immediately before detecting the voltage variation detected by the voltage detector The rotation speed for one pulse or a plurality of pulses after a predetermined period of time has elapsed after detecting the fluctuation of the voltage detected by the voltage detection unit among the rotation speed for the pulse and the pulse period stored in the second process A third process for calculating an average rotation speed with
And a fourth process of calculating a product obtained by multiplying the average rotation speed calculated in the third process during the predetermined period.
前記制御部が、
前記電圧検出部によって検出された電圧の変動を検出した場合に、前記所定期間の間における前記パルス信号のパルス数を計数することによって前記所定期間の間における前記モータの回転量を算出する第五処理と、
前記第一処理で算出した回転量から前記第五処理で算出した回転量を減算し、それに前記第四処理で算出した積を加算する第六処理と、を更に実行する、請求項4に記載のモータ制御装置。
The control unit is
A fifth method for calculating the amount of rotation of the motor during the predetermined period by counting the number of pulses of the pulse signal during the predetermined period when a change in the voltage detected by the voltage detection unit is detected. Processing,
5. The sixth process of subtracting the rotation amount calculated in the fifth process from the rotation amount calculated in the first process and adding the product calculated in the fourth process to the sixth process is further executed. Motor control device.
前記制御部が、前記第一処理で算出した回転量を前記第六処理の加算及び減算によって得られる値に更新する第七処理を更に実行する、請求項5に記載のモータ制御装置。   The motor control device according to claim 5, wherein the control unit further executes a seventh process of updating the rotation amount calculated in the first process to a value obtained by addition and subtraction of the sixth process.
JP2011057338A 2011-03-14 2011-03-16 Motor control device Active JP5749529B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2011057338A JP5749529B2 (en) 2011-03-16 2011-03-16 Motor control device
US14/005,004 US20140001815A1 (en) 2011-03-14 2012-03-13 Ripple extraction device, motor control apparatus, vehicle seat and ripple extraction method
PCT/JP2012/056362 WO2012124674A1 (en) 2011-03-14 2012-03-13 Ripple extraction device, motor control apparatus, vehicle seat, and ripple extraction method
CN201280023259.7A CN103688460A (en) 2011-03-14 2012-03-13 Ripple extraction device, motor control apparatus, vehicle seat, and ripple extraction method
EP12758207.0A EP2688197A4 (en) 2011-03-14 2012-03-13 Ripple extraction device, motor control apparatus, vehicle seat, and ripple extraction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011057338A JP5749529B2 (en) 2011-03-16 2011-03-16 Motor control device

Publications (2)

Publication Number Publication Date
JP2012196029A true JP2012196029A (en) 2012-10-11
JP5749529B2 JP5749529B2 (en) 2015-07-15

Family

ID=47087450

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011057338A Active JP5749529B2 (en) 2011-03-14 2011-03-16 Motor control device

Country Status (1)

Country Link
JP (1) JP5749529B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005271730A (en) * 2004-03-24 2005-10-06 Denso Corp Seat belt system
JP2008086104A (en) * 2006-09-27 2008-04-10 Keihin Corp Air conditioner for vehicle
JP2008283762A (en) * 2007-05-09 2008-11-20 Aisin Seiki Co Ltd Ripple detector for direct-current motors, motor rotational position sensor, and ripple detection method
JP2009022116A (en) * 2007-07-12 2009-01-29 Toyota Motor Corp Motor ripple detector
JP2009247080A (en) * 2008-03-31 2009-10-22 Ts Tech Co Ltd Vehicle seat device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005271730A (en) * 2004-03-24 2005-10-06 Denso Corp Seat belt system
JP2008086104A (en) * 2006-09-27 2008-04-10 Keihin Corp Air conditioner for vehicle
JP2008283762A (en) * 2007-05-09 2008-11-20 Aisin Seiki Co Ltd Ripple detector for direct-current motors, motor rotational position sensor, and ripple detection method
JP2009022116A (en) * 2007-07-12 2009-01-29 Toyota Motor Corp Motor ripple detector
JP2009247080A (en) * 2008-03-31 2009-10-22 Ts Tech Co Ltd Vehicle seat device

Also Published As

Publication number Publication date
JP5749529B2 (en) 2015-07-15

Similar Documents

Publication Publication Date Title
US20140001815A1 (en) Ripple extraction device, motor control apparatus, vehicle seat and ripple extraction method
JP4655400B2 (en) Motor rotation pulse generation circuit for DC motor
JP5628729B2 (en) Motor control device and vehicle seat device
CN109687383A (en) The stall detection method and device of brush direct current motor
CN111566936A (en) Ripple count circuit including varying ripple threshold detection
JP2001241971A (en) Rotation pulse generation device for motor
JP5710321B2 (en) Ripple extraction device, control device, vehicle seat and ripple extraction method
JP2009022116A (en) Motor ripple detector
JP6118988B2 (en) Motor drive device
JP5628724B2 (en) Motor control device
JP6078300B2 (en) Control device for electric compressor
JP5749529B2 (en) Motor control device
JP6051611B2 (en) DC motor rotation speed calculation device
JP5348460B2 (en) State memory controller
CN110869771A (en) Method for measuring the rotational speed of an aircraft engine shaft taking into account measurement noise
US6289072B1 (en) Near-zero speed estimation method for a pulse counting speed calculation
JP5662218B2 (en) Motor control device
JP5749527B2 (en) Motor control device
JP5261070B2 (en) DC motor rotation state detection device and DC motor control device
KR20170071117A (en) Motor controller, memory power seat including the motor controller for vehicle, and method of operating the same
JP4956238B2 (en) DC motor ripple detection device, rotation state detection device, ripple detection method and rotation state detection method
JP5628728B2 (en) Motor control device and vehicle seat device
KR102115413B1 (en) Sensor less motor rotation amount detection apparatus and method thereof
JP2010130727A (en) Apparatus for detecting rotational information of dc motor
JP5414853B2 (en) DC motor ripple detector

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140311

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140826

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: 20150414

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150514

R150 Certificate of patent or registration of utility model

Ref document number: 5749529

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250