JP2010288340A - Motor controller and motor control method - Google Patents

Motor controller and motor control method Download PDF

Info

Publication number
JP2010288340A
JP2010288340A JP2009138945A JP2009138945A JP2010288340A JP 2010288340 A JP2010288340 A JP 2010288340A JP 2009138945 A JP2009138945 A JP 2009138945A JP 2009138945 A JP2009138945 A JP 2009138945A JP 2010288340 A JP2010288340 A JP 2010288340A
Authority
JP
Japan
Prior art keywords
motor
rotation speed
rotational speed
output voltage
motor control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009138945A
Other languages
Japanese (ja)
Inventor
Ken Maruyama
建 丸山
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.)
Panasonic Corp
Original Assignee
Panasonic Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp filed Critical Panasonic Corp
Priority to JP2009138945A priority Critical patent/JP2010288340A/en
Publication of JP2010288340A publication Critical patent/JP2010288340A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Of Electric Motors In General (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a motor controller and a motor control method which enable low-cost and stable rotation control even when it rotates at low speed. <P>SOLUTION: This motor controller, which controls the rotational frequency of a motor, includes a rotational frequency detection part which detects the rotational frequency of the motor as a cyclic output voltage, a reference potential holding part which holds two or more reference potentials based on the value of the output voltage, a rotational frequency measuring part which measures the cycles of each reference potential where the output voltage takes the same potential as each of the two or more reference potentials in the successive cyclic period of the output voltage as the rotational frequency of the motor, a rotational frequency comparator which compares the rotational frequency of the motor detected by the rotational frequency measuring part with the target rotational frequency of the motor, an acceleration command generating part which generates acceleration based on the comparison result of the rotational frequency comparator, and a driver which controls the rotational frequency of the motor by driving the motor according to the acceleration generated by the acceleration command generating part. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、モータ制御装置及びモータ制御方法に関し、特にモータの回転数を制御するモータ制御装置及びモータ制御方法に関する。   The present invention relates to a motor control device and a motor control method, and more particularly to a motor control device and a motor control method for controlling the rotational speed of a motor.

モータの回転数を検出し、目標回転数との差分をフィードバックすることにより、モータ回転数を制御するモータ制御装置が知られている(例えば特許文献1参照)。以下、特許文献1に開示される従来のモータ制御装置について説明する。   There is known a motor control device that controls the motor rotation speed by detecting the rotation speed of the motor and feeding back the difference from the target rotation speed (see, for example, Patent Document 1). Hereinafter, a conventional motor control device disclosed in Patent Document 1 will be described.

図11は、従来のモータ制御装置の構成の1例を示す図である。図11に示すモータ制御装置1000は、回転数情報生成部1001、検出回転数カウンタ1002、目標回転数カウンタ1010、回転数比較器1020、加速度指令生成部1030、ドライバー1040、モータ1050及びモータ1050の回転数を検出するFG(Frequency Generater)1060を備える。このモータ制御装置1000では、モータ1050の回転数をFG1060で検出し、回転数情報生成部1001で基準電位(例えばVFG2)になるタイミングを検出し、検出回転数カウンタ1002でカウントすることで、モータ1050の回転数を示す周期を測定する。そして、測定したその周期と目標回転数(NEXC)とを回転数比較器1020で比較し誤差分を加速度指令生成部1030にフィードバックし、ドライバー1040でモータの回転数を制御する。 FIG. 11 is a diagram illustrating an example of a configuration of a conventional motor control device. A motor control device 1000 shown in FIG. 11 includes a rotation number information generation unit 1001, a detected rotation number counter 1002, a target rotation number counter 1010, a rotation number comparator 1020, an acceleration command generation unit 1030, a driver 1040, a motor 1050, and a motor 1050. An FG (Frequency Generator) 1060 for detecting the number of rotations is provided. In this motor control apparatus 1000, the number of revolutions of the motor 1050 is detected by the FG 1060, the timing at which the revolution number information generation unit 1001 becomes the reference potential (for example, VFG2) is detected, and the detected number of revolutions counter 1002 counts the motor. A period indicating a rotation speed of 1050 is measured. Then, the measured cycle and the target rotational speed (N EXC ) are compared by the rotational speed comparator 1020, and the error is fed back to the acceleration command generation unit 1030, and the rotational speed of the motor is controlled by the driver 1040.

ここで、上記のモータ制御装置1000において低コストでモータの回転数を検出する一般的な方法について説明する。なお、モータ1050は、例えば回転子と呼ばれるロータに着磁させ、駆動コイルを固定子と呼ばれるステータとロータとでモータを構成するブラシレスモータを備えるものとして以下説明する。   Here, a general method for detecting the rotational speed of the motor at the low cost in the motor control apparatus 1000 will be described. The motor 1050 will be described below as including a brushless motor in which a rotor called a rotor, for example, is magnetized, and a drive coil is composed of a stator and a rotor called a stator.

図12は、従来のモータ制御装置における6極対に着磁されたロータの例とモータ基板の例を示す図である。図12(a)は、従来のモータ制御装置のモータがブラシレスモータで、ロータ1100を6極対に着磁している場合の例を示している。図12(b)は、モータ基板1101にFG(Frequency Generater)パターン1102が描写された場合または位置検出用のホール素子1202が搭載された場合の例を示している。   FIG. 12 is a diagram showing an example of a rotor and a motor substrate magnetized in a 6-pole pair in a conventional motor control device. FIG. 12A shows an example in which the motor of the conventional motor control device is a brushless motor, and the rotor 1100 is magnetized to 6 pole pairs. FIG. 12B shows an example in which an FG (Frequency Generator) pattern 1102 is depicted on the motor substrate 1101 or a Hall element 1202 for position detection is mounted.

そして、従来のモータ制御装置では、モータ基板1101上に搭載された位置検出用のホール素子1202の出力信号を用い回転数の信号として取り出すことができる。または、モータ基板1101上に金属配線で描写されたFGパターン1102を用いて、ロータ1100の磁束変化を電圧に変化させて(図中のVFG1−VFG2)回転数の信号として取り出すことができる。   In the conventional motor control device, the output signal of the position detecting Hall element 1202 mounted on the motor board 1101 can be used as a rotation speed signal. Alternatively, by using the FG pattern 1102 drawn by metal wiring on the motor substrate 1101, the magnetic flux change of the rotor 1100 can be changed to a voltage (VFG1-VFG2 in the figure) and extracted as a rotation speed signal.

このように、モータ制御装置1000では、低コストで備えることのできるホール素子1202またはFGパターン1102を用いることにより、モータの回転数を検出することができる。   Thus, the motor control apparatus 1000 can detect the rotation speed of the motor by using the Hall element 1202 or the FG pattern 1102 that can be provided at low cost.

次に、回転数情報生成部1001がモータ1050の回転数を検出する場合に、FG1060にホール素子1202とFGパターン1102とを用いる場合の違いについて説明する。   Next, a difference in the case where the Hall element 1202 and the FG pattern 1102 are used for the FG 1060 when the rotation speed information generation unit 1001 detects the rotation speed of the motor 1050 will be described.

図13は、FGパターンを用いる場合のモータの起動動作を説明するための図である。それに対して、図14は、ホール素子を用いる場合のモータの起動動作を説明するための図である。また、図15は、FGにホール素子とFGパターンを用いる場合の出力電圧の振幅を回転数と比較した図である。   FIG. 13 is a diagram for explaining the starting operation of the motor when the FG pattern is used. On the other hand, FIG. 14 is a diagram for explaining the starting operation of the motor in the case of using the Hall element. FIG. 15 is a diagram comparing the amplitude of the output voltage with the number of revolutions when using a Hall element and an FG pattern for FG.

FGパターン1102を用いる場合、FGパターン1102は、ロータ1100の磁束変化による出力電圧を発生するので、FG1060は、図13に示すように、モータ1050の回転数に比例した振幅の出力電圧(以下、FG出力電圧と記載。)を出力する。そのため、モータ1050の回転が低速回転している場合には、FG1060が出力するFG出力電圧の振幅が小さく、回転数情報生成部1001が認識できない場合がある。すなわち、回転数情報生成部1001は、図13(b)に示すように、VID以下の振幅ではFG出力電圧が認識できないとすると、VID に対応するNNUC以下の低速回転数は読み取れない(検出できない)ので、NNUC以下の低速回転数では、モータ1050の回転数を制御できないことになる。 When the FG pattern 1102 is used, the FG pattern 1102 generates an output voltage due to a change in the magnetic flux of the rotor 1100. Therefore, as shown in FIG. 13, the FG 1060 has an output voltage having an amplitude proportional to the rotational speed of the motor 1050 (hereinafter, FG output voltage). Therefore, when the rotation of the motor 1050 is rotating at a low speed, the amplitude of the FG output voltage output by the FG 1060 is small, and the rotation speed information generation unit 1001 may not be able to recognize. That is, as shown in FIG. 13B, the rotation speed information generation unit 1001 cannot read a low speed rotation speed of N NUC or less corresponding to V ID if the FG output voltage cannot be recognized with an amplitude of V ID or less. (It cannot be detected), so the rotational speed of the motor 1050 cannot be controlled at a low rotational speed of N NUC or less.

一方、ホール素子1202を用いる場合、ホール素子1202は、着磁されているロータ1100の磁界の大きさに応じた出力をするので、図14に示すように、FG1060は、モータ回転数に依存しない一定振幅の出力電圧(以下、ホール出力電圧と記載。)を出力する。そのため、モータ1050の回転が低速回転であってもFG1060が出力するホール出力電圧の振幅は一定であるので、回転数情報生成部1001は認識すなわちモータ1050の回転数を検出することができるので、モータ1050の回転数を制御できる。   On the other hand, when the Hall element 1202 is used, the Hall element 1202 outputs in accordance with the magnitude of the magnetic field of the magnetized rotor 1100. Therefore, as shown in FIG. 14, the FG 1060 does not depend on the motor rotation speed. Outputs a constant amplitude output voltage (hereinafter referred to as Hall output voltage). Therefore, since the amplitude of the Hall output voltage output by the FG 1060 is constant even if the rotation of the motor 1050 is a low-speed rotation, the rotation speed information generation unit 1001 can recognize, that is, detect the rotation speed of the motor 1050. The number of rotations of the motor 1050 can be controlled.

したがって、図15に示すように、FG1060がFGパターン1102を用いて出力するFG出力電圧(図中FG出力と記載)は、低速回転領域では、FG1060がホール素子1202を用いて出力するホール出力電圧(図中ホール出力と記載)と異なり振幅が小さいので、モータ1050の回転数を制御するのが困難である。そのため、低速回転領域でも、モータ1050の回転数を制御するため、モータ制御装置1000では、ホール素子1202を用いてモータ1050の回転数を検出するのが好ましい。   Therefore, as shown in FIG. 15, the FG output voltage output by FG 1060 using FG pattern 1102 (described as FG output in the figure) is the Hall output voltage output by FG 1060 using Hall element 1202 in the low-speed rotation region. Unlike (shown as hall output in the figure), the amplitude is small, so it is difficult to control the rotation speed of the motor 1050. Therefore, in order to control the rotation speed of the motor 1050 even in the low-speed rotation region, the motor control apparatus 1000 preferably detects the rotation speed of the motor 1050 using the Hall element 1202.

特開2005−278279号公報JP 2005-278279 A

しかしながら、ホール素子1202を用いてモータの回転数を検出するには以下のような問題がある。   However, there are the following problems in detecting the rotational speed of the motor using the Hall element 1202.

FG1060が出力する信号(出力電圧)の周波数(以下、出力周波数と記載。)は、モータ1050の回転数を制御する場合に回転数補正の分解能となるため、その信号の周波数は高い方が好まれる。FGパターン1102を用いる場合にはパターン刻み数に比例した出力周波数の信号(例えば1回転に44パルス)を取り出すことが可能である。しかし、ホール素子1202を用いる場合には、例えばロータ1100が6極対の場合、1回転で6パルスの信号しか取り出せず、現実的にはロータ着磁数をFGパターン刻み数より多く設定するのは困難である。ここで、モータ1050の回転数が同じ場合での出力電圧と周波数及び振幅との関係を図16及び図17に示す。なお、図16は、ホール素子及びFGパターンを用いて回転数検出を行った場合の出力周波数の比較例を示す図であり、図17は、ホール素子及びFGパターンを用いて回転数検出を行った場合の出力電圧の振幅例を時間軸で比較した図である。   Since the frequency of the signal (output voltage) output from the FG 1060 (hereinafter referred to as the output frequency) is a resolution for correcting the rotational speed when the rotational speed of the motor 1050 is controlled, a higher frequency of the signal is preferred. It is. When the FG pattern 1102 is used, a signal having an output frequency proportional to the number of pattern steps (for example, 44 pulses per rotation) can be extracted. However, when the Hall element 1202 is used, for example, when the rotor 1100 is a 6-pole pair, only 6 pulse signals can be extracted per rotation, and in reality, the rotor magnetization number is set to be larger than the number of FG pattern steps. It is difficult. Here, FIG. 16 and FIG. 17 show the relationship between the output voltage, the frequency, and the amplitude when the rotation speed of the motor 1050 is the same. FIG. 16 is a diagram showing a comparative example of the output frequency when the rotation speed is detected using the Hall element and the FG pattern, and FIG. 17 is a rotation speed detection using the Hall element and the FG pattern. It is the figure which compared the amplitude example of the output voltage at the time of a case on a time axis.

前述の通り出力周波数は高い方が高分解能となるため、FGパターンを用いた方が好ましい。しかし、ロータ1100とモータ基板1101との小型に伴いFGパターン刻み数にも限界があり、またFGパターンは前述の通り低速回転時に低振幅となることから、低速回転領域でのモータ1050の回転数を制御するのは、繰り返しになるが、やはりホール素子を利用するのが現実的である。   As described above, the higher the output frequency, the higher the resolution. Therefore, it is preferable to use the FG pattern. However, since the rotor 1100 and the motor substrate 1101 are small in size, there is a limit to the number of FG pattern increments, and since the FG pattern has a low amplitude during low-speed rotation as described above, the rotation speed of the motor 1050 in the low-speed rotation region. Although it is repeated, it is realistic to use the Hall element.

以下具体的に、モータ制御装置1000がホール素子1202を用いてモータ1050の回転数を検出する場合の課題について説明をする。   Hereinafter, the problem in the case where the motor control apparatus 1000 detects the rotation speed of the motor 1050 using the Hall element 1202 will be described in detail.

図18は、従来のモータ制御装置での検出回転数カウンタの動作タイミングを示す図である。図19は、従来のモータ制御装置において加減速指令が出力される様子を示した図である。   FIG. 18 is a diagram showing the operation timing of the detected rotation speed counter in the conventional motor control device. FIG. 19 is a diagram illustrating a state in which an acceleration / deceleration command is output in a conventional motor control device.

回転数情報生成部1001は、FG1060から出力される出力電圧を示す出力信号(図18(a))が予め定められた基準電位(例えばVFG2)となったタイミングを検出し、検出したそのタイミングにおいて回転数情報を示すパルスを出力する(図18(b))。回転数情報生成部1001は、図18(a)に示すように出力信号が再び基準電位となったタイミングにパルスを出力する。そして、検出回転数カウンタ1002は、回転数情報生成部1001が出力するパルス間の周期をカウントする。以下同様にパルス間の周期を順次カウントする。ここで、1周期とは、ホール素子1202をロータ1100の6極対のうちの1極対分が通過する時間を意味している。   The rotation speed information generation unit 1001 detects the timing when the output signal (FIG. 18A) indicating the output voltage output from the FG 1060 becomes a predetermined reference potential (for example, VFG2), and at the detected timing. A pulse indicating the rotation speed information is output (FIG. 18B). The rotation speed information generation unit 1001 outputs a pulse at the timing when the output signal becomes the reference potential again as shown in FIG. The detected rotation number counter 1002 counts the period between pulses output from the rotation number information generation unit 1001. Similarly, the period between pulses is sequentially counted. Here, one cycle means the time for one pole pair of the six pole pairs of the rotor 1100 to pass through the Hall element 1202.

次に、回転数比較器1020は、任意時刻t−1、t及びt+1にカウントしたパルス間の周期であるカウント値(回転数信号)を目的回転数NEXCと比較する。回転数比較器1020は、図19(a)及び図19(b)に示すように任意時刻t−1ではNEXC>NFB(t−1)であるため、モータ1050の回転が速すぎると認識し、減速指令(DE)を誤差の時間分出力する(図19(c))。同様に、回転数比較器1020は、任意時刻t及びt+1では逆にNEXC<NFB(t)及びNEXC<NFB(t+1)のため、モータ1050の回転が遅すぎると認識し、加速指令(AC)を誤差の時間分出力する(図19(c))。 Next, the rotation speed comparator 1020 compares a count value (rotation speed signal), which is a cycle between pulses counted at arbitrary times t−1, t, and t + 1, with the target rotation speed N EXC . As shown in FIGS. 19A and 19B, the rotation speed comparator 1020 satisfies N EXC > N FB (t−1) at an arbitrary time t−1. Therefore, if the rotation of the motor 1050 is too fast, It recognizes and outputs a deceleration command (DE) for the error time (FIG. 19C). Similarly, the rotational speed comparator 1020 conversely recognizes that the rotation of the motor 1050 is too slow because N EXC <N FB (t) and NEXC <NFB (t + 1) at arbitrary times t and t + 1, and the acceleration command ( AC) is output for the error time (FIG. 19C).

このように、モータ制御装置1000がホール素子1202を用いてモータ1050の回転数を検出する場合、1周期当たり1回の誤差信号を出力することしかできないので、上述のように6極対の場合1回転当たり6パルス程度しか取り出せない。すなわち、回転速度補正回数が少ない(分解能が低い)ため、1周期が相対的に長くなる低速回転領域で安定した制御が困難となる。この点において、例えばロータリーエンコーダ等の高分解能センサを用いれば技術的には解決できるが、コスト高となるためその利用範囲は限定的である。   Thus, when the motor control device 1000 detects the number of rotations of the motor 1050 using the Hall element 1202, it can only output an error signal once per cycle. Only about 6 pulses can be extracted per rotation. That is, since the number of rotation speed corrections is small (resolution is low), stable control is difficult in a low-speed rotation region where one cycle is relatively long. In this respect, for example, a high resolution sensor such as a rotary encoder can be used to solve the problem technically. However, since the cost increases, the range of use is limited.

そこで、本発明は、上記課題に鑑みなされたものであり、低速回転しているときでも低コストで安定な回転数制御を可能とするモータ制御装置及びモータ制御方法を提供することを目的とする。   Therefore, the present invention has been made in view of the above problems, and an object of the present invention is to provide a motor control device and a motor control method that enable stable rotation speed control at low cost even when rotating at a low speed. .

上記課題を解決するために本発明に係るモータ制御装置は、モータの回転数を制御するモータ制御装置であって、前記モータの回転数に応じた周期を有する出力電圧を検出する回転数検出部と、前記出力電圧の値に基づく2以上の基準電位を保持する基準電位保持部と、前記出力電圧の連続する周期間において前記出力電圧が前記2以上の基準電位それぞれと同電位となるそれぞれの基準電位周期を、前記モータの回転数に関する情報として測定する回転数測定部と、前記回転数測定部により検出された前記モータの回転数に関する情報と、前記モータの目標となる回転数に関する情報とを比較する回転数比較器と、前記回転数比較器の比較結果に基づき加速指示を生成する加速度指令生成部と、前記加速度指令生成部が生成した前記加速指示に従ってモータを駆動することにより前記モータの回転数を制御するドライバーとを備える。   In order to solve the above problems, a motor control device according to the present invention is a motor control device that controls the rotation speed of a motor, and a rotation speed detection unit that detects an output voltage having a period according to the rotation speed of the motor. A reference potential holding unit that holds two or more reference potentials based on the value of the output voltage, and each of the output voltages having the same potential as each of the two or more reference potentials during a continuous period of the output voltage. A rotation speed measurement unit that measures a reference potential cycle as information related to the rotation speed of the motor; information related to the rotation speed of the motor detected by the rotation speed measurement section; and information related to a rotation speed that is a target of the motor; A rotation speed comparator, an acceleration command generation section that generates an acceleration instruction based on a comparison result of the rotation speed comparator, and the acceleration finger generated by the acceleration command generation section And a driver for controlling the rotation speed of the motor by driving the motor in accordance with.

この構成により、例えばホール素子による出力電圧の1周期の間でも回転数補正を2以上の回数分行うことができる。それにより、モータが低速回転しているときでも低コストで安定な回転数制御を可能とするモータ制御装置を実現することができる。   With this configuration, for example, the rotational speed correction can be performed two or more times even during one cycle of the output voltage by the Hall element. As a result, it is possible to realize a motor control device that enables stable rotation speed control at low cost even when the motor rotates at a low speed.

また、前記基準電位保持部は、前記回転数検出部より検出された前記出力電圧における山及び谷の電圧値をサンプル・ホールドするサンプル・ホールド部と、サンプル・ホールドされた当該電圧値から得られるピークトゥピーク値を予め設定した2以上の数で分割し、分割した当該ピークトゥピーク値を用いて前記2以上の基準電位を生成して保持する分割基準電位生成部とを備えてもよい。   The reference potential holding unit is obtained from a sample-and-hold unit that samples and holds the peak and valley voltage values in the output voltage detected by the rotation number detection unit, and the sample-held voltage value. A divided reference potential generation unit that divides a peak-to-peak value by a predetermined number of two or more and generates and holds the two or more reference potentials using the divided peak-to-peak value may be provided.

この構成により、モータの回転数を周期性のある出力電圧で検出することができれば、例えばモータの磁束にばらつきがあって出力電圧の波形が正弦波のようなものでなくとも周期性があれば出力電圧の1周期の間でも回転数補正を2以上の回数分行うことができる。   With this configuration, if the rotation speed of the motor can be detected with a periodic output voltage, for example, if there is variation in the magnetic flux of the motor and the waveform of the output voltage is not like a sine wave, there is periodicity. Even during one cycle of the output voltage, the number of rotations can be corrected two or more times.

また、上記課題を解決するために本発明に係るモータ制御方法は、モータの回転数を制御するモータ制御方法であって、前記モータの回転数に応じた周期を有する出力電圧を検出する回転数検出ステップと、前記出力電圧の値に基づく2以上の基準電位を保持する基準電位保持ステップと、前記出力電圧の連続する周期間において前記出力電圧が前記2以上の基準電位それぞれと同電位となるそれぞれの基準電位周期を、前記モータの回転数に関する情報として測定する回転数測定ステップと、前記回転数測定ステップにおいて検出された前記モータの回転数に関する情報と、前記モータの目標となる回転数に関する情報とを比較する回転数比較ステップと、前記回転数比較ステップでの比較結果に基づき加速指示を生成する加速度指令生成ステップと、前記加速度指令生成ステップにおいて生成された前記加速指示に従ってモータを駆動することにより前記モータの回転数を制御する制御ステップとを含む。   In order to solve the above problems, a motor control method according to the present invention is a motor control method for controlling the rotational speed of a motor, and detects the output voltage having a period corresponding to the rotational speed of the motor. A detection step; a reference potential holding step for holding two or more reference potentials based on the value of the output voltage; and the output voltage becomes the same as each of the two or more reference potentials during a continuous period of the output voltage. Revolution measurement step for measuring each reference potential cycle as information on the rotation speed of the motor, information on the rotation speed of the motor detected in the rotation speed measurement step, and a rotation speed that is a target of the motor Rotation speed comparison step for comparing information and acceleration command generation for generating an acceleration instruction based on the comparison result in the rotation speed comparison step And step, by driving the motor in accordance with the acceleration instruction generated in the acceleration command generation step and a control step of controlling the rotational speed of the motor.

本発明によれば、低速回転しているときでも低コストで安定な回転数制御を可能とするモータ制御装置及びモータ制御方法を実現することができる。   According to the present invention, it is possible to realize a motor control device and a motor control method that enable stable rotation speed control at low cost even when rotating at a low speed.

本発明の実施の形態1に係るモータ制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the motor control apparatus which concerns on Embodiment 1 of this invention. 出力電圧振幅をサンプル・ホールドする様子を示す図である。It is a figure which shows a mode that an output voltage amplitude is sample-held. 出力電圧が各基準電位によりn分割される様子を示した図である。It is the figure which showed a mode that output voltage was divided into n by each reference potential. 回転数情報生成部が検出回転数カウンタにタイミング信号(パルス)を出力する様子を示す図である。It is a figure which shows a mode that a rotation speed information generation part outputs a timing signal (pulse) to a detection rotation speed counter. 検出回転数カウンタの動作と回転数比較器の動作との関係を説明するための図である。It is a figure for demonstrating the relationship between operation | movement of a detection rotation speed counter, and operation | movement of a rotation speed comparator. 出力電圧の波形が歪んでいる場合について説明するための図である。It is a figure for demonstrating the case where the waveform of an output voltage is distorted. 本発明の実施の形態1の変形例に係る出力電圧の波形にばらつきがある場合について説明するための図である。It is a figure for demonstrating the case where the waveform of the output voltage which concerns on the modification of Embodiment 1 of this invention has dispersion | variation. 本発明に係るモータ制御装置を備えた洗濯機の概観を示す図である。It is a figure which shows the general view of the washing machine provided with the motor control apparatus which concerns on this invention. 本発明に係るモータ制御装置を備えたプリンタの概観を示す図である。It is a figure which shows the general view of the printer provided with the motor control apparatus which concerns on this invention. 本発明に係るモータ制御装置を備えた電気自動車の概観を示す図である。It is a figure which shows the general view of the electric vehicle provided with the motor control apparatus which concerns on this invention. 従来のモータ制御装置の構成の1例を示す図である。It is a figure which shows one example of a structure of the conventional motor control apparatus. 従来のモータ制御装置における6極対に着磁されたロータの例とモータ基板の例を示す図である。It is a figure which shows the example of the rotor magnetized by the 6 pole pair in the conventional motor control apparatus, and the example of a motor board | substrate. FGパターンを用いる場合のモータの起動動作を説明するための図である。It is a figure for demonstrating the starting operation | movement of a motor in the case of using an FG pattern. ホール素子を用いる場合のモータの起動動作を説明するための図である。It is a figure for demonstrating the starting operation | movement of a motor in the case of using a Hall element. FGに、ホール素子及びFGパターンを用いる場合の出力電圧の振幅を回転数と比較した図である。It is the figure which compared the amplitude of the output voltage in the case of using a Hall element and FG pattern for FG with the rotation speed. ホール素子及びFGパターンを用いて回転数検出を行った場合の出力周波数の比較例を示す図である。It is a figure which shows the comparative example of the output frequency at the time of performing rotation speed detection using a Hall element and FG pattern. ホール素子及びFGパターンを用いて回転数検出を行った場合の出力電圧の振幅例を時間軸で比較した図である。It is the figure which compared the amplitude example of the output voltage at the time axis | shaft at the time of performing rotation speed detection using a Hall element and FG pattern. 従来のモータ制御装置での検出回転数カウンタの動作タイミングを示す図である。It is a figure which shows the operation timing of the detection rotation speed counter in the conventional motor control apparatus. 従来のモータ制御装置において加減速指令が出力される様子を示した図である。It is the figure which showed a mode that the acceleration / deceleration command was output in the conventional motor control apparatus.

以下、本発明を実施するための形態について、図面を参照しながら説明する。   Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.

(実施の形態1)
図1は、本発明の実施の形態1に係るモータ制御装置の構成を示すブロック図である。
(Embodiment 1)
FIG. 1 is a block diagram showing a configuration of a motor control device according to Embodiment 1 of the present invention.

モータ制御装置200は、図1に示すように、目標回転数保持部10、回転数比較器20、加速度指令生成部30、モータ駆動用のドライバー40、回転数検出部(図中、FGと記載。)60、サンプル・ホールド部70、1/n分割基準電位生成部80、回転数情報生成部90、及びm個の検出回転数カウンタ100を備える。モータ制御装置200は、モータ50を目標回転数になるように制御する。   As shown in FIG. 1, the motor control device 200 includes a target rotation speed holding unit 10, a rotation speed comparator 20, an acceleration command generation unit 30, a motor driving driver 40, and a rotation speed detection unit (denoted as FG in the figure). 60), a sample and hold unit 70, a 1 / n division reference potential generation unit 80, a rotation number information generation unit 90, and m detection rotation number counters 100. The motor control device 200 controls the motor 50 so as to reach the target rotational speed.

目標回転数保持部10は、外部から目標回転数を示す目標回転数信号が入力される。ここで、目標回転数を示す目標回転数信号は、周期性をもつ波形からなる信号であり、その周期は目標回転数に応じて変動する。目標回転数保持部10は、入力された目標回転数信号から得た周期(以下、目標周期と記載。)を常時カウントしており、カウントした目標回転数カウント値NEXCを回転数比較器20へ出力する。 The target rotational speed holding unit 10 receives a target rotational speed signal indicating the target rotational speed from the outside. Here, the target rotational speed signal indicating the target rotational speed is a signal having a waveform having periodicity, and the cycle varies according to the target rotational speed. The target rotational speed holding unit 10 always counts a period (hereinafter referred to as a target period) obtained from the input target rotational speed signal, and the counted target rotational speed count value N EXC is counted as the rotational speed comparator 20. Output to.

回転数比較器20は、例えば時刻tに検出回転数カウンタ100によりカウントされた検出回転数カウント値NFB1(t)〜NFBm(t)と、目標回転数保持部10によりカウントされたが目標回転数カウント値NEXCとが入力される。回転数比較器20は、入力された目標回転数カウント値NEXCと検出回転数カウント値NFB1(t)〜NFBm(t)とを比較して、それら目標回転数カウント値NEXCと検出回転数カウント値NFB1(t)〜NFBm(t)との差分時間である誤差を検出する。回転数比較器20は、目標回転数カウント値NEXCが任意の検出回転数カウント値NFBn(t):n=1〜mより小さいすなわちモータ50が目標回転数より遅ければ、加速指令ACを加速度指令生成部30へ出力する。回転数比較器20は、目標回転数カウント値NEXCが任意の検出回転数カウント値NFBn(t):n=1〜mより大きいすなわちモータ50が目標回転数より速ければ減速指令DEを加速度指令生成部30へ出力する。 For example, the rotational speed comparator 20 counts the detected rotational speed count values N FB 1 (t) to N FB m (t) counted by the detected rotational speed counter 100 at the time t and the target rotational speed holding unit 10. Is inputted with the target rotational speed count value N EXC . The rotational speed comparator 20 compares the input target rotational speed count value N EXC with the detected rotational speed count values N FB 1 (t) to N FB m (t), and these target rotational speed count values N EXC. And the detected rotation speed count value N FB 1 (t) to N FB m (t) are detected as errors. The rotation speed comparator 20 determines the acceleration command AC if the target rotation speed count value N EXC is smaller than an arbitrary detected rotation speed count value N FB n (t): n = 1 to m, that is, if the motor 50 is slower than the target rotation speed. Is output to the acceleration command generator 30. The rotational speed comparator 20 determines that the target rotational speed count value N EXC is an arbitrary detected rotational speed count value N FB n (t): n = 1 to larger than 1 to m, that is, if the motor 50 is faster than the target rotational speed, the deceleration command DE is issued. Output to the acceleration command generator 30.

加速度指令生成部30は、回転数比較器20から出力される加速指令ACと減速指令DEとからモータ50の加速度を決定し、モータ50への印加電圧波形情報をドライバー40へ出力する。   The acceleration command generator 30 determines the acceleration of the motor 50 from the acceleration command AC and the deceleration command DE output from the rotation speed comparator 20, and outputs voltage waveform information applied to the motor 50 to the driver 40.

ドライバー40は、加速度指令生成部30より入力された印加電圧波形情報をPWM(Pulse Width Modulation)信号に変換し、PWM信号に従いパルス電圧をモータ50に印加する。   The driver 40 converts the applied voltage waveform information input from the acceleration command generation unit 30 into a PWM (Pulse Width Modulation) signal, and applies a pulse voltage to the motor 50 according to the PWM signal.

FG60は、モータ50の回転数を示す信号をモータ50の回転数に応じた周期を有する出力電圧として検出し、検出した出力電圧をサンプル・ホールド部70及び回転数情報生成部90に出力する。なお、FG60は、以下ホール素子を用いてモータ50の回転数に応じた周期を有する出力電圧を検出するとして説明するが、それに限定されない。例えば磁界検出等センサを用いてモータ50の回転数を検出するとしてもよい。すなわち回転数によって検出される出力振幅が依存しない、かつ、回転数に応じた周期を有する出力電圧を検出する低コストのセンサであれば、ホール素子に限定するものではない。なお、FG60は、ホール素子を複数備えるが、以下、説明を簡単にするために、1つのホール素子の挙動に絞って説明をする。   The FG 60 detects a signal indicating the rotation speed of the motor 50 as an output voltage having a period corresponding to the rotation speed of the motor 50, and outputs the detected output voltage to the sample and hold unit 70 and the rotation speed information generation unit 90. The FG 60 will be described below as detecting an output voltage having a period corresponding to the number of rotations of the motor 50 using a Hall element, but is not limited thereto. For example, the rotational speed of the motor 50 may be detected using a sensor such as a magnetic field detection. That is, the output element is not limited to the Hall element as long as it is a low-cost sensor that detects an output voltage that does not depend on the output amplitude detected by the rotational speed and has a period corresponding to the rotational speed. The FG 60 includes a plurality of Hall elements, but for the sake of simplicity, the following description will focus on the behavior of one Hall element.

サンプル・ホールド部70は、FG60が出力する信号が示す出力電圧の山及び谷の値を取り込み、常時更新しながら一定時間取り込んだ値を保持する。ここで、サンプル・ホールド部70が出力電圧のピークトゥピーク値(以下、振幅と記載。)を取り込み、保持する様子を図2に示す。図2は、出力電圧振幅をサンプル・ホールドする様子を示す図である。図2では、例えばモータ50の起動直後にFG60により出力された出力電圧の波形が示されており、出力電圧の振幅を示す情報として出力電圧波形の山と谷のピーク値であるVP1とVP2とを取り込み保持する。このようにして、サンプル・ホールド部70は、FG60が出力する信号が示す出力電圧の振幅を保持する。 The sample and hold unit 70 takes in the values of the peaks and valleys of the output voltage indicated by the signal output from the FG 60, and holds the values taken in for a fixed time while constantly updating. Here, FIG. 2 shows how the sample-and-hold unit 70 captures and holds the peak-to-peak value (hereinafter referred to as amplitude) of the output voltage. FIG. 2 is a diagram showing how the output voltage amplitude is sampled and held. In FIG. 2, for example, the waveform of the output voltage output by the FG 60 immediately after the start of the motor 50 is shown. As information indicating the amplitude of the output voltage, V P1 and V that are peak values of peaks and troughs of the output voltage waveform are shown. Capture and hold P2 . In this way, the sample and hold unit 70 holds the amplitude of the output voltage indicated by the signal output from the FG 60.

1/n分割基準電位生成部80は、本発明に係る基準電位保持部に相当する。1/n分割基準電位生成部80は、サンプル・ホールド部70に保持された出力電圧の振幅を予め設定された1以上の整数であるnでn分割し、n分割した振幅に対応する出力電圧値を基準電位として生成する。1/n分割基準電位生成部80は、生成した基準電位を回転数情報生成部90に出力する。なお、nが大きいほど回転数検出の分解能は上がる。ここで、1/n分割基準電位生成部80が基準電位として生成する様子を図3に示す。   The 1 / n divided reference potential generation unit 80 corresponds to a reference potential holding unit according to the present invention. The 1 / n-divided reference potential generation unit 80 divides the amplitude of the output voltage held in the sample-and-hold unit 70 by n, which is a preset integer of 1 or more, and outputs an output voltage corresponding to the n-divided amplitude A value is generated as a reference potential. The 1 / n-divided reference potential generation unit 80 outputs the generated reference potential to the rotation speed information generation unit 90. In addition, the resolution of rotation speed detection increases, so that n is large. Here, FIG. 3 shows how the 1 / n-divided reference potential generation unit 80 generates the reference potential.

図3は、出力電圧が各基準電位によりn分割される様子を示す図である。図3に示すように、1/n分割基準電位生成部80は、サンプル・ホールド部70に保持された振幅をn分割すなわち(VP1−VP2)/nし、n分割した振幅(VP1−VP2)/nそれぞれに対応する出力電圧値を基準電位として生成する。図3では、出力電圧の1周期の波形が示されており、n=8であるとして7つの基準電位を生成している例を示している。なお、基準電位とその次の基準電位との電位差は、(VP1−VP2)/nすなわち等分割の電位差として説明しているが、等分割でなくてもよい。 FIG. 3 is a diagram illustrating how the output voltage is divided into n by each reference potential. As shown in FIG. 3, the 1 / n-divided reference potential generation unit 80 divides the amplitude held in the sample-and-hold unit 70 into n divisions, that is, (V P1 −V P2 ) / n, and the n-divided amplitude (V P1 Output voltage values corresponding to -V P2 ) / n are generated as reference potentials. FIG. 3 shows a waveform of one cycle of the output voltage, and shows an example in which seven reference potentials are generated assuming that n = 8. The potential difference between the reference potential and the next reference potential is described as (V P1 −V P2 ) / n, that is, an equally divided potential difference, but it may not be equally divided.

回転数情報生成部90は、FG60よりモータ50の回転数を示す信号(出力電圧)と1/n分割基準電位生成部80より基準電位とが入力される。回転数情報生成部90は、入力されたモータ50の回転数を示す信号(出力電圧)と基準電位とから、検出回転数カウンタ100がカウントするタイミングを決定するタイミング信号を生成する。具体的には、回転数情報生成部90は、それぞれの基準電位に、モータ50の回転数を示す信号であるモータ50の回転数に応じた周期を有する出力電圧の電位が同電位(一致)となるタイミングで、回転数情報を示す信号としてタイミング信号(パルス)を出力する。   The rotation speed information generation unit 90 receives a signal (output voltage) indicating the rotation speed of the motor 50 from the FG 60 and a reference potential from the 1 / n divided reference potential generation unit 80. The rotation speed information generation unit 90 generates a timing signal for determining the timing counted by the detected rotation speed counter 100 from the input signal (output voltage) indicating the rotation speed of the motor 50 and the reference potential. Specifically, the rotation speed information generation unit 90 has the same potential (coincidence) with each reference potential, the potential of the output voltage having a period corresponding to the rotation speed of the motor 50, which is a signal indicating the rotation speed of the motor 50. At this timing, a timing signal (pulse) is output as a signal indicating rotation speed information.

検出回転数カウンタ100は、m個の検出回転数カウンタすなわち検出回転数カウンタ1〜検出回転数カウンタmを備え、回転数情報生成部90より回転数情報を示す信号として複数のタイミング信号(パルス)が入力される。検出回転数カウンタ100は、入力された複数のタイミング信号(パルス)に従って、検出回転数カウント値NFB1(t)〜NFBm(t)をカウントする。そして、検出回転数カウンタ100は、カウントした検出回転数カウント値NFB1(t)〜NFBm(t)を順次回転数比較器20に出力する。 The detected rotational speed counter 100 includes m detected rotational speed counters, that is, a detected rotational speed counter 1 to a detected rotational speed counter m, and a plurality of timing signals (pulses) as signals indicating rotational speed information from the rotational speed information generation unit 90. Is entered. The detected rotational speed counter 100 counts the detected rotational speed count values N FB 1 (t) to N FB m (t) in accordance with a plurality of input timing signals (pulses). Then, the detected rotational speed counter 100 sequentially outputs the counted detected rotational speed count values N FB 1 (t) to N FB m (t) to the rotational speed comparator 20.

具体的には、回転数情報生成部90よりタイミング信号(パルス)は、検出回転数カウンタ100が備える検出回転数カウンタ1〜検出回転数カウンタmそれぞれに入力されて、検出回転数カウンタ1〜検出回転数カウンタmが入力されたタイミング信号(パルス)に従って、検出回転数カウント値NFB1(t)〜NFBm(t)をそれぞれカウントし、各々の周期信号として回転数比較器20に出力する。すなわち、検出回転数カウンタn(1〜m)は、回転数情報生成部90より入力されるタイミング信号(パルス)の周期(時間)をカウントすることで、検出回転数カウント値NFBn(t):n=1〜mをカウントして、回転数比較器20に出力する。 Specifically, the timing signal (pulse) from the rotation speed information generation unit 90 is input to each of the detection rotation speed counter 1 to the detection rotation speed counter m included in the detection rotation speed counter 100, and is detected. In accordance with the timing signal (pulse) to which the rotational speed counter m is input, the detected rotational speed count values N FB 1 (t) to N FB m (t) are counted and output to the rotational speed comparator 20 as respective periodic signals. To do. That is, the detected rotational speed counter n (1 to m) counts the period (time) of the timing signal (pulse) input from the rotational speed information generation unit 90, thereby detecting the detected rotational speed count value N FB n (t ): N = 1 to m are counted and output to the rotation speed comparator 20.

このように、本発明の回転数測定部に相当する回転数情報生成部90及び検出回転数カウンタ100は、モータ50の回転数を示す信号である出力電圧の連続する周期間において2以上の基準電位それぞれと同電位となる周期をモータ50の回転数に相当する情報として測定する。   As described above, the rotation speed information generation unit 90 and the detected rotation speed counter 100 corresponding to the rotation speed measurement unit of the present invention have two or more reference values during a continuous cycle of the output voltage that is a signal indicating the rotation speed of the motor 50. The period of the same potential as each potential is measured as information corresponding to the rotation speed of the motor 50.

以上のようにして、モータ制御装置200は、構成される。
次に、回転数情報生成部90、検出回転数カウンタ100及び回転数比較器20の動きについて図を用いて説明する。
The motor control device 200 is configured as described above.
Next, operations of the rotation speed information generation unit 90, the detected rotation speed counter 100, and the rotation speed comparator 20 will be described with reference to the drawings.

図4は、回転数情報生成部が検出回転数カウンタにタイミング信号(パルス)を出力する様子を示す図である。図4(a)では、図3と同様にn=8であるとして7つの基準電位が生成されている様子を示している。図4(b)では、回転数情報生成部90がモータ50の回転数を示す信号である1周期の出力電圧でm発のタイミング信号(パルス)を検出回転数カウンタ100に出力する様子を示している。   FIG. 4 is a diagram illustrating a state in which the rotation speed information generation unit outputs a timing signal (pulse) to the detected rotation speed counter. FIG. 4A shows a state in which seven reference potentials are generated assuming that n = 8 as in FIG. FIG. 4B shows a state in which the rotational speed information generation unit 90 outputs m timing signals (pulses) to the detected rotational speed counter 100 with an output voltage of one cycle that is a signal indicating the rotational speed of the motor 50. ing.

回転数情報生成部90は、図4(b)に示すように、基準電位と出力電圧の電位とが同電位になるタイミングで、タイミング信号(パルス)を検出回転数カウンタ100が備える検出回転数カウンタ1〜検出回転数カウンタmのいずれかに出力してカウントを開始させる。具体的には、回転数情報生成部90は、例えば任意の時刻tにおける例えば1発目のタイミング信号(パルス)を検出回転数カウンタ1に出力し、検出回転数カウンタ1にカウントを開始させる。同様に時刻tにおけるn(2〜m)発目のタイミング信号(パルス)を検出回転数カウンタn(2〜m)に出力し、検出回転数カウンタn(2〜m)にカウントを開始させる。   As shown in FIG. 4B, the rotational speed information generation unit 90 detects the rotational speed of the detected rotational speed counter 100 that includes the timing signal (pulse) at the timing when the reference potential and the potential of the output voltage become the same potential. Output to any one of the counter 1 to the detected rotational speed counter m to start counting. Specifically, the rotational speed information generation unit 90 outputs, for example, a first timing signal (pulse) at an arbitrary time t to the detected rotational speed counter 1, and causes the detected rotational speed counter 1 to start counting. Similarly, the timing signal (pulse) of the n (2-m) th occurrence at time t is output to the detected rotation number counter n (2-m), and the detected rotation number counter n (2-m) starts counting.

なお、回転数情報生成部90は、m+1発目のタイミング信号(パルス)からは、時刻t+1における回転数情報を示す信号になるため、回転数情報生成部90は、m+1発目のタイミング信号(パルス)を時刻t+1における1発目のタイミング信号(パルス)として検出回転数カウンタ1に出力する。以下同様のため説明を省略する。   Since the rotation speed information generation unit 90 becomes a signal indicating the rotation speed information at time t + 1 from the m + 1th timing signal (pulse), the rotation speed information generation unit 90 outputs the m + 1th timing signal (pulse). (Pulse) as a first timing signal (pulse) at time t + 1 is output to the detected rotational speed counter 1. Since the same is true below, the description is omitted.

したがって、回転数情報生成部90は、時刻t+1における回転数情報を示す信号を検出回転数カウンタ1〜検出回転数カウンタmそれぞれに出力して、各検出回転数カウンタにカウントを開始させる。つまり、回転数情報生成部90は、時刻がt→t+1に移行すると、時刻tにおける1発目〜m発目のタイミング信号(パルス)に相当する時刻t+1における1発目〜m発目のタイミング信号(パルス)をそれぞれ検出回転数カウンタ1〜検出回転数カウンタmに出力し、各検出回転数カウンタにカウントを開始させる。   Therefore, the rotation speed information generation unit 90 outputs a signal indicating the rotation speed information at time t + 1 to each of the detected rotation speed counter 1 to the detected rotation speed counter m, and causes each detected rotation speed counter to start counting. That is, when the time shifts from t → t + 1, the rotation speed information generation unit 90 performs the first to m-th timings at time t + 1 corresponding to the first to m-th timing signals (pulses) at time t. A signal (pulse) is output to each of the detected rotational speed counter 1 to the detected rotational speed counter m to cause each detected rotational speed counter to start counting.

ここで、検出回転数カウンタ100は、時刻がt→t+1に移行すると、時刻tにおける回転数情報のカウントを終了し、時刻t+1における回転数情報のカウントを開始する。すなわち、検出回転数カウンタ100は、回転数情報生成部90より時刻t+1におけるn(1〜m)発目のタイミング信号(パルス)が入力されると、対応する時刻tにおけるn(1〜m)発目のタイミング信号(パルス)の周期(時間)の回転数情報のカウントを終了し、検出回転数カウント値NFBn(t):n=1〜mとして回転数比較器20に出力すると同時に、時刻t+1における回転数情報のカウントを開始する。 Here, when the time shifts from t → t + 1, the detected rotation number counter 100 ends the rotation number information counting at the time t and starts counting the rotation number information at the time t + 1. That is, when the timing signal (pulse) of the n (1 to m) th time at time t + 1 is input from the rotation speed information generation unit 90, the detected rotation speed counter 100 receives n (1 to m) at the corresponding time t. At the same time, the counting of the rotation speed information in the cycle (time) of the timing signal (pulse) of the start is finished, and the detected rotation speed count value N FB n (t): n = 1 to m is output to the rotation speed comparator 20 at the same time. Then, counting of the rotation speed information at time t + 1 is started.

その結果、回転数比較器20には随時、検出回転数カウンタ100からNFB1(t)〜NFBm(t)→NFB1(t+1)〜NFBm(t+1)→NFB1(t+2)〜NFBm(t+2)と検出した回転数情報のカウント値が入力される。 As a result, the rotational speed comparator 20 always detects from the detected rotational speed counter 100 that N FB 1 (t) to N FB m (t) → N FB 1 (t + 1) to N FB m (t + 1) → N FB 1 ( t + 2) to N FB m (t + 2) and the count value of the detected rotation speed information are input.

以上のようにして、回転数情報生成部が検出回転数カウンタにタイミング信号(パルス)を出力し、検出回転数カウンタ100にモータ50の回転数を示す回転数情報をカウントさせる。   As described above, the rotation speed information generation unit outputs the timing signal (pulse) to the detected rotation speed counter, and causes the detected rotation speed counter 100 to count the rotation speed information indicating the rotation speed of the motor 50.

図5は、検出回転数カウンタの動作と回転数比較器の動作との関係を説明するための図である。   FIG. 5 is a diagram for explaining the relationship between the operation of the detected rotation speed counter and the operation of the rotation speed comparator.

検出回転数カウンタ100は、任意の時刻t−1において、それぞれの基準電位にモータ50の回転数を示す信号である出力電圧の電位が同電位(一致)となるタイミングで、回転数情報のカウントを行う。   The detected rotation speed counter 100 counts the rotation speed information at a timing when the potential of the output voltage, which is a signal indicating the rotation speed of the motor 50, becomes the same potential (match) at each reference potential at an arbitrary time t-1. I do.

具体的には、まず、検出回転数カウンタ100は、図5(a)に示すように、モータ50の回転数を示す信号である出力電圧が、時刻t−1における例えばVFG2を最初の基準電位として、この基準電位と一致すると、基準電位は次のレベルへ移行するとともに検出回転数カウンタ1に検出回転数情報(検出回転数カウント値NFB1(t−1))のカウントを開始させる。 Specifically, first, as shown in FIG. 5A, the detected rotation speed counter 100 determines that the output voltage, which is a signal indicating the rotation speed of the motor 50, is, for example, VFG2 at time t−1 as the first reference potential. When the reference potential coincides with the reference potential, the reference potential shifts to the next level and causes the detected rotational speed counter 1 to start counting the detected rotational speed information (detected rotational speed count value N FB 1 (t−1)).

そして、検出回転数カウンタ100は、モータ50の回転数を示す信号である出力電圧が、時刻t−1における次の基準電位と一致すると、基準電位は次の次のレベルへ移行するとともに検出回転数カウンタ2に検出回転数情報(検出回転数カウント値NFB2(t−1))のカウントを開始させる。以下、同様にして、検出回転数カウンタ3〜mに検出回転数情報(検出回転数カウント値NFB3(t−1)〜NFBm(t−1))のカウントを開始させる。 When the output voltage, which is a signal indicating the rotation speed of the motor 50, coincides with the next reference potential at time t-1, the detected rotation speed counter 100 shifts to the next next level and detects rotation. The number counter 2 starts counting the detected rotation number information (detected rotation number count value N FB 2 (t−1)). Thereafter, similarly, the detected rotational speed counters 3 to m start counting the detected rotational speed information (detected rotational speed count values N FB 3 (t−1) to N FB m (t−1)).

次に、検出回転数カウンタ100は、時刻tとなると、モータ50の回転数を示す信号である出力電圧が、時刻tにおけるVFG2と一致すると、検出回転数カウンタ1に時刻t−1における検出回転数情報のカウントを終了させてNFB1(t−1)として回転数比較器20に出力させる。検出回転数カウンタ100は、それと同時に検出回転数カウンタ1に時刻tにおける検出回転数情報のカウントを開始させる。以下、同様にして、検出回転数カウンタ100は、検出回転数カウンタ2〜mに時刻t−1における検出回転数情報のカウントを終了させてNFB2(t−1)〜NFBm(t−1)として回転数比較器20に出力させる。それと同時に、検出回転数カウンタ100は、検出回転数カウンタ2〜mに時刻tにおける検出回転数情報のカウントを開始させる。 Next, when the detected rotational speed counter 100 reaches time t, when the output voltage, which is a signal indicating the rotational speed of the motor 50, matches VFG2 at time t, the detected rotational speed counter 1 detects the detected rotational speed at time t-1. The counting of the number information is terminated and output to the rotation speed comparator 20 as N FB 1 (t−1). At the same time, the detected rotational speed counter 100 causes the detected rotational speed counter 1 to start counting the detected rotational speed information at time t. Thereafter, similarly, the detected rotation speed counter 100 causes the detected rotation speed counters 2 to m to finish counting the detected rotation speed information at the time t−1, so that N FB 2 (t−1) to N FB m (t -1) is output to the rotation speed comparator 20. At the same time, the detected rotational speed counter 100 causes the detected rotational speed counters 2 to m to start counting the detected rotational speed information at time t.

次に、回転数比較器20は、図5(b)に示すように時刻t−1に検出回転数カウンタ100によりカウントされた任意の検出回転数カウント値NFB1(t−1)〜NFBm(t−1)と、目標回転数保持部10によりカウントされた目標回転数カウント値NEXCと、各々比較する。 Next, as shown in FIG. 5 (b), the rotation speed comparator 20 has an arbitrary detected rotation speed count value N FB 1 (t−1) to N counted by the detected rotation speed counter 100 at time t−1. FB m (t−1) is compared with the target rotational speed count value N EXC counted by the target rotational speed holding unit 10.

回転数比較器20は、図5(c)に示すように検出回転数カウント値NFBn(t):n=1〜mと目標回転数カウント値NEXCとを比較して、加速指令ACまたは減速指令DEを加速度指令生成部30に出力する。具体的には、回転数比較器20は、NFB1(t−1)、・・・・、NFBm(t−1)<NEXCの場合、モータ50の周期の方が目標とする周期よりも小さく、目標回転数よりもモータ50は速いことを意味するため、誤差分を減速指令DEとして出力する。逆の場合は加速指令ACを出力する。 The rotational speed comparator 20 compares the detected rotational speed count value N FB n (t): n = 1 to m with the target rotational speed count value N EXC as shown in FIG. Alternatively, the deceleration command DE is output to the acceleration command generation unit 30. Specifically, the rotation speed comparator 20 sets the cycle of the motor 50 as the target when N FB 1 (t−1),..., N FB m (t−1) <N EXC. Since the motor 50 is smaller than the cycle and faster than the target rotational speed, the error is output as a deceleration command DE. In the opposite case, an acceleration command AC is output.

以上のようにして、検出回転数カウンタ100と回転数比較器20とは動作する。
以上、本実施の形態1によれば、従来では、加速指令ACや減速指令DEによる回転数補正がホール素子による出力電圧の1周期に1回しかできなかったのに対して、ホール素子による出力電圧の1周期の間に予め設定した分割数nに応じた回数分(m回)行うことができる。つまり、本実施の形態1によれば、ホール素子による出力電圧の1周期でもm回の回転数補正タイミングを実現でき、従来に比べると、分割数nに応じて1/mまでの低速回転を検出することができる。それにより、たとえホール素子を用いた出力電圧であってもモータ50の回転数制御に用いるリアルタイムの回転数情報の分解能を上げることができる。そのため、従来方式では制御分解能が荒すぎて制御が不安定であった低速回転領域についても安定した制御を可能とするモータ制御装置200を実現することができる。
As described above, the detected rotational speed counter 100 and the rotational speed comparator 20 operate.
As described above, according to the first embodiment, conventionally, the rotation speed correction by the acceleration command AC and the deceleration command DE can be performed only once in one cycle of the output voltage by the Hall element, whereas the output by the Hall element is performed. It is possible to perform the number of times (m times) corresponding to a preset division number n during one period of the voltage. In other words, according to the first embodiment, m number of rotation speed correction timings can be realized even in one cycle of the output voltage by the Hall element. Compared with the prior art, the rotation speed is reduced to 1 / m according to the division number n. Can be detected. Thereby, even if it is the output voltage using a Hall element, the resolution of the real-time rotational speed information used for rotational speed control of the motor 50 can be raised. Therefore, it is possible to realize the motor control device 200 that enables stable control even in a low-speed rotation region in which control resolution is too rough and control is unstable in the conventional method.

このように、本実施の形態1におけるモータ制御装置200によれば、低速回転についても低分解能回転検出センサでも安定な回転数制御が可能であり、ロータリーエンコーダなどの高級な部品を必要としない。すなわち、低コスト化を図ることができる。   As described above, according to the motor control device 200 in the first embodiment, it is possible to perform stable rotation speed control even with a low-speed rotation and with a low-resolution rotation detection sensor, and high-grade components such as a rotary encoder are not required. That is, cost reduction can be achieved.

なお、図4に示す例ではn=8分割で、m=12として説明をしているが、これに限定されないのは言うまでもない。   In the example shown in FIG. 4, the description is made with n = 8 divisions and m = 12, but it is needless to say that the present invention is not limited to this.

また、本実施の形態1では、1つのホール素子の挙動に絞って説明をしているが、複数のホール素子に対しても同様である。したがって、本実施の形態1におけるモータ制御装置200では、備えている複数のホール素子の数毎に、出力電圧の1周期でもn回の回転数補正タイミングを実現できるので、回転数情報の分解能をさらに確保することができる。   In the first embodiment, the description is focused on the behavior of one Hall element, but the same applies to a plurality of Hall elements. Therefore, in the motor control device 200 according to the first embodiment, n number of rotation speed correction timings can be realized even in one cycle of the output voltage for each number of the plurality of hall elements provided. Furthermore, it can be secured.

また、本実施の形態1では、3相ブラシレスモータを想定してドライバー40からモータ50へ3本の入力として説明しているが、それに限らない。本発明は回転数を安定に制御を主張するものであり、ブラシレスモータ・DCブラシモータ・ステッピングモータ等、モータの種類を限定するものではない。   In the first embodiment, a three-phase brushless motor is assumed to be described as three inputs from the driver 40 to the motor 50. However, the present invention is not limited to this. The present invention claims to stably control the rotational speed, and does not limit the type of motor such as a brushless motor, a DC brush motor, or a stepping motor.

また、FG60が出力する信号が示す出力電圧の振幅が予め明確な場合、サンプル・ホールド部70を必ずしも備えなくてよい。その場合、サンプル・ホールド部70に替えて出力電圧の山及び谷の間の値を保持する保持部を備えるとしてもよい。また、1/n分割基準電位生成部80に複数の予め2以上の基準電位を設定し、それらを使用しても構わない。   If the amplitude of the output voltage indicated by the signal output from the FG 60 is clear in advance, the sample and hold unit 70 is not necessarily provided. In that case, instead of the sample-and-hold unit 70, a holding unit that holds a value between peaks and valleys of the output voltage may be provided. Alternatively, a plurality of reference potentials may be set in advance in the 1 / n-divided reference potential generation unit 80 and used.

また、FG60が出力する信号が示す出力電圧の波形は上述したような正弦波である必要はない。例えば図6に示すような、歪んだ波形であってもモータ50の回転数に応じた周期を有する波形であれば同様の効果は得られる。すなわち、周期を有し、山と谷のピーク値であるVP1とVP2とが算出できれば、山と谷のピーク値であるVP1とVP2とから、複数の基準電位が生成できるので回転数情報の分解能を上げることができる。 Further, the waveform of the output voltage indicated by the signal output from the FG 60 need not be a sine wave as described above. For example, even if the waveform is distorted as shown in FIG. 6, the same effect can be obtained if the waveform has a period corresponding to the rotation speed of the motor 50. That is, if V P1 and V P2 that have a period and peak values of peaks and valleys can be calculated, a plurality of reference potentials can be generated from the peak values of peaks and valleys V P1 and V P2 , so that rotation occurs. The resolution of numerical information can be increased.

また、例えばロータ1100の着磁状態(個々のSN)にばらつきがあれば、FG60が出力する出力電圧の波形は周期性をもつものの振幅等がばらついてしまう場合がある。以下、この場合を変形例として説明する。   For example, if the magnetized state (individual SN) of the rotor 1100 varies, the waveform of the output voltage output from the FG 60 may vary in amplitude and the like although it has periodicity. Hereinafter, this case will be described as a modification.

(変形例)
図7は、出力電圧の波形にばらつきがある場合について説明するための図である。この図7は、FG60が出力する信号(出力電圧)の波形にばらつきがある場合の1例を示している。すなわち、この図7に示す出力電圧は、モータ50の回転数に応じた周期を有する電圧波形を示すものの、振幅ばらつきがある場合(図示しないがDutyばらつきでも構わない)を示している。ここで、例えば、図7では、ロータ1回転の周期Fの1波形内に振幅ばらつきを示す波形として周期F1の波形1と周期F2の波形2と周期F3の波形3を有する場合を示している。
(Modification)
FIG. 7 is a diagram for explaining a case where the waveform of the output voltage varies. FIG. 7 shows an example when the waveform of the signal (output voltage) output from the FG 60 has variations. That is, the output voltage shown in FIG. 7 shows a voltage waveform having a period corresponding to the rotation speed of the motor 50, but has a variation in amplitude (not shown, but may be a duty variation). Here, for example, FIG. 7 shows a case where a waveform 1 having a cycle F1, a waveform 2 having a cycle F2, and a waveform 3 having a cycle F3 are included as waveforms showing amplitude variations in one waveform having a cycle F of one rotation of the rotor. .

そして、この場合にも、上述した実施の形態1と同様の手法を用いて回転数情報の分解能を上げることができる。すなわち、波形1、波形2及び波形3の各々の振幅をサンプル・ホールド部70でサンプル・ホールドし、波形1、波形2及び波形3それぞれにおいて、基準電位を決める。そして、連続する出力電圧の周期F毎に波形1、波形2及び波形3それぞれにおける基準電位と一致するタイミングを回転数情報として検出回転数カウンタ100でカウントすればよい。   Also in this case, the resolution of the rotational speed information can be increased by using the same method as in the first embodiment. That is, the amplitude of each of waveform 1, waveform 2, and waveform 3 is sampled and held by the sample and hold unit 70, and the reference potential is determined for each of waveform 1, waveform 2, and waveform 3. Then, for each period F of the continuous output voltage, the timing coincident with the reference potential in each of the waveform 1, the waveform 2 and the waveform 3 may be counted by the detected rotation number counter 100 as the rotation number information.

その場合、例えばF11(t−1)、F12(t−1)、F21(t−1)、F22(t−1)、F23(t−1)、F24(t−1)及びF31(t−1)のように、波形にばらつきのある出力電圧の1回転でも7回の回転数補正タイミングを有することができる。 In that case, for example, F 11 (t-1), F 12 (t-1), F 21 (t-1), F 22 (t-1), F 23 (t-1), F 24 (t-1) ) And F 31 (t−1), it is possible to have seven rotation speed correction timings even for one rotation of the output voltage having a variation in waveform.

なお、波形1、波形2及び波形3それぞれにおける基準電位の数は上記の例に限らず、任意に決定すればよい。   Note that the number of reference potentials in each of the waveform 1, the waveform 2, and the waveform 3 is not limited to the above example, and may be arbitrarily determined.

また、基準電位は、波形1だけにより決めてもよい。すなわち、最小の振幅を有する波形1に基づき、基準電位を決定し、決定した基準電位を波形2及び波形3に対しても用いるとしてもよい。いずれにせよ、波形にばらつきのある出力電圧の1周期でも2以上の回転数補正タイミングをもつことができるという同様の効果が得られる。   Further, the reference potential may be determined only by the waveform 1. That is, the reference potential may be determined based on the waveform 1 having the minimum amplitude, and the determined reference potential may be used for the waveform 2 and the waveform 3 as well. In any case, a similar effect is obtained in that a rotation speed correction timing of 2 or more can be obtained even in one cycle of an output voltage having a waveform variation.

以上のように、本実施の形態1によれば、例えばモータの着磁状態にばらつきがあって出力電圧の波形にばらつきがあったとしても、モータ50の回転数を周期性のある出力電圧で検出することができれば、ロータ1回転における出力電圧の1周期の間で回転数補正を2以上の回数分行うことができる。   As described above, according to the first embodiment, for example, even if the magnetized state of the motor varies and the waveform of the output voltage varies, the rotational speed of the motor 50 is set to the periodic output voltage. If it can be detected, the rotational speed correction can be performed two or more times during one cycle of the output voltage in one rotation of the rotor.

(実施の形態2)
実施の形態2では、実施の形態1に係るモータ制御装置200を用いて構成される応用製品についていくつか例を挙げて説明する。
(Embodiment 2)
In the second embodiment, application products configured using the motor control device 200 according to the first embodiment will be described with some examples.

図8は、本発明に係るモータ制御装置を備えた洗濯機の概観を示す図である。図8に示す洗濯機は、例えば、モータ50と、モータ制御装置200と、攪拌体201とを備えている。なお、図1と同様の要素には同一の符号を付しており、詳細な説明は省略する。   FIG. 8 is a diagram showing an overview of a washing machine including the motor control device according to the present invention. The washing machine illustrated in FIG. 8 includes, for example, a motor 50, a motor control device 200, and a stirring body 201. Elements similar to those in FIG. 1 are denoted by the same reference numerals, and detailed description thereof is omitted.

洗濯機特有のモータ50の駆動としては、例えば、洗濯モードでは高トルクかつ低速回転が求められ、脱水モードでは低トルクかつ高速回転が求められるといったことが挙げられる。このように、洗濯機では、動作モードに応じてモータ50の回転数とともに必要なトルクが変化する。また、洗濯モードでは攪拌体201によって洗濯物202が攪拌されるため、洗濯物202の絡み合いなどによってモータ50にかかる負荷が変化する。   The driving of the motor 50 unique to the washing machine may be, for example, that high torque and low-speed rotation are required in the washing mode, and low torque and high-speed rotation are required in the dewatering mode. Thus, in the washing machine, the necessary torque changes with the rotation speed of the motor 50 according to the operation mode. In the washing mode, since the laundry 202 is stirred by the stirring body 201, the load applied to the motor 50 changes due to the entanglement of the laundry 202 or the like.

したがって、図8に示す洗濯機に、モータ制御装置200を設けることで、モータ50を任意の回転数で安定制御することが可能な洗濯機を実現することができる。   Therefore, by providing the washing machine shown in FIG. 8 with the motor control device 200, a washing machine capable of stably controlling the motor 50 at an arbitrary number of rotations can be realized.

なお、本発明に係るモータ駆動装置は、洗濯機以外にも適用してもよい。例えば空調機、冷蔵庫及び掃除機などの、モータを備えた家電機器全般に適用可能である。   In addition, you may apply the motor drive device which concerns on this invention besides a washing machine. For example, the present invention can be applied to general home appliances including a motor such as an air conditioner, a refrigerator, and a vacuum cleaner.

図9は、本発明に係るモータ駆動装置を備えたプリンタの概観を示す図である。図9に示すプリンタは、例えば、モータ50と、モータ制御装置200と、感光ドラム211と、紙送り機構212とを備えている。なお、図1と同様の要素には同一の符号を付しており、詳細な説明は省略する。   FIG. 9 is a view showing an overview of a printer provided with a motor drive device according to the present invention. The printer shown in FIG. 9 includes, for example, a motor 50, a motor control device 200, a photosensitive drum 211, and a paper feed mechanism 212. Elements similar to those in FIG. 1 are denoted by the same reference numerals, and detailed description thereof is omitted.

図9に示すように、プリンタでは、モータ50の動力は感光ドラム211や紙送り機構212などの回転駆動に用いられる。プリンタで印字可能な紙213は、上質紙、OHP用フォイル及び封筒などさまざまである。近年のプリンタは回転速度設定が数段階あり、低速回転設定の段階もあるものの、さらなる低速回転でのモータ駆動の必要性が高まっている。したがって、図9に示すプリンタに、モータ制御装置200を設けることで、モータ50を任意の回転数で安定制御が可能なプリンタを実現することができる。   As shown in FIG. 9, in the printer, the power of the motor 50 is used to rotate the photosensitive drum 211 and the paper feed mechanism 212. There are various types of paper 213 that can be printed by the printer, such as high-quality paper, OHP foil, and envelopes. Although recent printers have several stages of rotational speed setting and low speed rotational stages, there is a growing need for motor driving at further low speeds. Therefore, by providing the motor control device 200 in the printer shown in FIG. 9, it is possible to realize a printer that can stably control the motor 50 at an arbitrary rotation speed.

なお、本発明に係るモータ制御装置は、プリンタ以外にも適用してもよい。例えば、複写機及びシュレッダ装置など、モータを備えた事務機器全般に適用可能である。   Note that the motor control device according to the present invention may be applied to devices other than printers. For example, the present invention can be applied to general office equipment including a motor such as a copying machine and a shredder apparatus.

図10は、本発明に係るモータ駆動装置を備えた電気自動車の概観図を示す図である。例えばハイブリッドカーを含むモータ50を備えた電気自動車では、当然任意のモータ50速度での安定性が要求される。したがって、図10に示すように、電気自動車にモータ制御装置200を設けることで、モータ50を任意の回転数で安定制御することが可能な電気自動車を実現することができる。   FIG. 10 is a diagram showing an overview of an electric vehicle equipped with the motor drive device according to the present invention. For example, in an electric vehicle equipped with a motor 50 including a hybrid car, naturally, stability at an arbitrary motor 50 speed is required. Therefore, as shown in FIG. 10, by providing a motor control device 200 in an electric vehicle, an electric vehicle capable of stably controlling the motor 50 at an arbitrary number of rotations can be realized.

なお、本発明に係るモータ駆動装置は、電気自動車以外にも適用してもよい。例えば、電気二輪車、電動アシスト自転車、列車及び飛行機など、動力源としてモータを備えた移動体全般に適用可能である。   The motor drive device according to the present invention may be applied to other than electric vehicles. For example, the present invention can be applied to all mobile objects including a motor as a power source, such as an electric motorcycle, an electric assist bicycle, a train, and an airplane.

以上、本発明のモータ制御装置及びモータ制御方法について、実施の形態に基づいて説明したが、本発明は、この実施の形態に限定されるものではない。本発明の趣旨を逸脱しない限り、当業者が思いつく各種変形を本実施の形態に施したものや、異なる実施の形態における構成要素を組み合わせて構築される形態も、本発明の範囲内に含まれる。   As mentioned above, although the motor control apparatus and the motor control method of this invention were demonstrated based on embodiment, this invention is not limited to this embodiment. Unless it deviates from the meaning of this invention, the form which carried out the various deformation | transformation which those skilled in the art can think to this embodiment, and the structure constructed | assembled combining the component in different embodiment is also contained in the scope of the present invention. .

本発明は、モータ制御装置及びモータ制御方法に利用でき、特に、例えば、空調機、洗濯機、冷蔵庫、掃除機などの家電機器、複写機及びプリンタなどの事務機器、電動ハイブリッド自転車、並びに、ハイブリッド自動車などの移動体などの、低速回転を含む広い回転数範囲を低コスト回転数検出センサでの実現が求められる製品分野にモータ制御装置及びモータ制御方法を利用することができる。   INDUSTRIAL APPLICABILITY The present invention can be used for a motor control device and a motor control method, and in particular, home appliances such as an air conditioner, a washing machine, a refrigerator, and a vacuum cleaner, office equipment such as a copying machine and a printer, an electric hybrid bicycle, and a hybrid The motor control device and the motor control method can be used in a product field in which a wide rotational speed range including a low-speed rotational speed is required to be realized with a low-cost rotational speed detection sensor, such as a moving body such as an automobile.

10 目標回転数保持部
20、1020 回転数比較器
30、1030 加速度指令生成部
40、1040 ドライバー
50、1050 モータ
60、1060 FG
70 サンプル・ホールド部
80 1/n分割基準電位生成部
90、1001 回転数情報生成部
100、1002 検出回転数カウンタ
200、1000 モータ制御装置
201 攪拌体
211 感光ドラム
212 紙送り機構
213 紙
1100 ロータ
1101 モータ基板
1102 FGパターン
1202 ホール素子
10 target rotation speed holding unit 20, 1020 rotation speed comparator 30, 1030 acceleration command generation unit 40, 1040 driver 50, 1050 motor 60, 1060 FG
70 Sample / Hold Unit 80 1 / n Division Reference Potential Generation Unit 90, 1001 Rotation Number Information Generation Unit 100, 1002 Detection Rotation Number Counter 200, 1000 Motor Controller 201 Stirrer 211 Photosensitive Drum 212 Paper Feed Mechanism 213 Paper 1100 Rotor 1101 Motor board 1102 FG pattern 1202 Hall element

Claims (9)

モータの回転数を制御するモータ制御装置であって、
前記モータの回転数に応じた周期を有する出力電圧を検出する回転数検出部と、
前記出力電圧の値に基づく2以上の基準電位を保持する基準電位保持部と、
前記出力電圧の連続する周期間において前記出力電圧が前記2以上の基準電位それぞれと同電位となるそれぞれの基準電位周期を、前記モータの回転数に関する情報として測定する回転数測定部と、
前記回転数測定部により検出された前記モータの回転数に関する情報と、前記モータの目標となる回転数に関する情報とを比較する回転数比較器と、
前記回転数比較器の比較結果に基づき加速指示を生成する加速度指令生成部と、
前記加速度指令生成部が生成した前記加速指示に従ってモータを駆動することにより前記モータの回転数を制御するドライバーとを備える
モータ制御装置。
A motor control device for controlling the rotational speed of a motor,
A rotational speed detection unit for detecting an output voltage having a cycle according to the rotational speed of the motor;
A reference potential holding unit that holds two or more reference potentials based on the value of the output voltage;
A rotation speed measurement unit that measures each reference potential cycle in which the output voltage is the same as each of the two or more reference potentials between successive cycles of the output voltage as information on the rotation speed of the motor;
A rotational speed comparator that compares information about the rotational speed of the motor detected by the rotational speed measurement unit with information about the rotational speed that is a target of the motor;
An acceleration command generator for generating an acceleration instruction based on the comparison result of the rotation speed comparator;
A motor control device comprising: a driver that controls the number of rotations of the motor by driving the motor according to the acceleration instruction generated by the acceleration command generation unit.
前記基準電位保持部は、
前記回転数検出部より検出された前記出力電圧における山及び谷の電圧値をサンプル・ホールドするサンプル・ホールド部と、
サンプル・ホールドされた当該電圧値から得られるピークトゥピーク値を予め設定した2以上の数で分割し、分割した当該ピークトゥピーク値を用いて前記2以上の基準電位を生成して保持する分割基準電位生成部とを備える
請求項1に記載のモータ制御装置。
The reference potential holding unit is
A sample-and-hold unit that samples and holds voltage values of peaks and valleys in the output voltage detected by the rotation number detection unit;
Dividing a peak-to-peak value obtained from the sampled and held voltage value by a predetermined number of two or more, and generating and holding the two or more reference potentials using the divided peak-to-peak value The motor control device according to claim 1, further comprising a reference potential generation unit.
前記分割基準電位生成部は、前記ピークトゥピーク値を予め設定した2以上の数で等分に分割する
請求項2に記載のモータ制御装置。
3. The motor control device according to claim 2, wherein the division reference potential generation unit divides the peak-to-peak value equally into two or more preset numbers.
前記基準電位保持部は、
前記出力電圧の値に基づく2以上の基準電位が予め入力されている
請求項1に記載のモータ制御装置。
The reference potential holding unit is
The motor control device according to claim 1, wherein two or more reference potentials based on the value of the output voltage are input in advance.
前記モータ制御装置は、さらに、
前記モータの目標となる回転数を当該回転数に相当する目標周期として保持している目標回転数保持部を備える
請求項1〜4のいずれか1項に記載のモータ制御装置。
The motor control device further includes:
The motor control device according to claim 1, further comprising a target rotation speed holding unit that holds a rotation speed that is a target of the motor as a target cycle corresponding to the rotation speed.
前記回転数測定部は、
前記出力電圧が前記2以上の基準電位それぞれと同電位になる毎に信号を出力する信号出力部と、
前記信号出力部から出力される前記信号を前記出力電圧の周期内で独立にカウントすることにより、前記それぞれの基準電位周期を測定する検出回転数カウンタとを備える
請求項1〜5のいずれか1項に記載のモータ制御装置。
The rotational speed measuring unit is
A signal output unit that outputs a signal each time the output voltage becomes equal to each of the two or more reference potentials;
The detection rotation number counter which measures each said reference electric potential period by counting the said signal output from the said signal output part independently within the period of the said output voltage is provided. The motor control device according to item.
前記回転数測定部は、
前記2以上の基準電位の数より多くの前記基準電位周期の数を測定する
請求項1〜6のいずれか1項に記載のモータ制御装置。
The rotational speed measuring unit is
The motor control device according to claim 1, wherein the number of the reference potential periods greater than the number of the two or more reference potentials is measured.
加速度指令生成部は、
前記回転数比較器の比較結果に基づき、前記基準電位周期が前記モータの目標となる回転数に対応する周期よりも長い場合には、前記モータの回転数を速める加速指示を生成し、前記基準電位周期が前記モータの目標となる回転数に対応する周期よりも短い場合には、前記モータの回転数を遅くする減速指示を生成する
請求項1〜7のいずれか1項に記載のモータ制御装置。
The acceleration command generator
Based on the comparison result of the rotation speed comparator, if the reference potential cycle is longer than the cycle corresponding to the target rotation speed of the motor, an acceleration instruction for increasing the rotation speed of the motor is generated, and the reference The motor control according to any one of claims 1 to 7, wherein when the potential cycle is shorter than a cycle corresponding to a target rotational speed of the motor, a deceleration instruction to slow down the rotational speed of the motor is generated. apparatus.
モータの回転数を制御するモータ制御方法であって、
前記モータの回転数に応じた周期を有する出力電圧を検出する回転数検出ステップと、
前記出力電圧の値に基づく2以上の基準電位を保持する基準電位保持ステップと、
前記出力電圧の連続する周期間において前記出力電圧が前記2以上の基準電位それぞれと同電位となるそれぞれの基準電位周期を、前記モータの回転数に関する情報として測定する回転数測定ステップと、
前記回転数測定ステップにおいて検出された前記モータの回転数に関する情報と、前記モータの目標となる回転数に関する情報とを比較する回転数比較ステップと、
前記回転数比較ステップでの比較結果に基づき加速指示を生成する加速度指令生成ステップと、
前記加速度指令生成ステップにおいて生成された前記加速指示に従ってモータを駆動することにより前記モータの回転数を制御する制御ステップとを含む
モータ制御方法。
A motor control method for controlling the rotational speed of a motor,
A rotational speed detection step of detecting an output voltage having a cycle according to the rotational speed of the motor;
A reference potential holding step of holding two or more reference potentials based on the value of the output voltage;
A rotation speed measurement step of measuring each reference potential cycle in which the output voltage is equal to each of the two or more reference potentials as information relating to the rotation speed of the motor between successive cycles of the output voltage;
A rotation speed comparison step for comparing information on the rotation speed of the motor detected in the rotation speed measurement step with information on the rotation speed to be a target of the motor;
An acceleration command generation step for generating an acceleration instruction based on the comparison result in the rotation speed comparison step;
A control step of controlling the number of revolutions of the motor by driving the motor according to the acceleration instruction generated in the acceleration command generation step.
JP2009138945A 2009-06-10 2009-06-10 Motor controller and motor control method Pending JP2010288340A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009138945A JP2010288340A (en) 2009-06-10 2009-06-10 Motor controller and motor control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009138945A JP2010288340A (en) 2009-06-10 2009-06-10 Motor controller and motor control method

Publications (1)

Publication Number Publication Date
JP2010288340A true JP2010288340A (en) 2010-12-24

Family

ID=43543629

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009138945A Pending JP2010288340A (en) 2009-06-10 2009-06-10 Motor controller and motor control method

Country Status (1)

Country Link
JP (1) JP2010288340A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102152635B1 (en) * 2019-04-18 2020-09-07 현대모비스 주식회사 Apparatus and method for estimating motor rpm of electronic brake system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102152635B1 (en) * 2019-04-18 2020-09-07 현대모비스 주식회사 Apparatus and method for estimating motor rpm of electronic brake system

Similar Documents

Publication Publication Date Title
CN1056710C (en) Electrical drive arrangement
JP6987527B2 (en) Controls, optics, control methods, and programs
CN101202525B (en) Synchronous motor control device
JP5172998B2 (en) Control device for detecting whether or not irreversible demagnetization of permanent magnet of permanent magnet synchronous motor has occurred
US7615959B2 (en) Apparatus and method for controlling brushless DC motor
US9483037B2 (en) Motor control device, method for operating the same, and image processing apparatus
CN1197235C (en) Vector control equipment without sensor and its method
CN1293699C (en) Motor driver
JP6401624B2 (en) Motor control method and apparatus
CN105391351A (en) Bldc motor control system and control method
CN109075727B (en) Motor module and motor stepping motion control system
JP5665383B2 (en) Motor control device and control method
JP2010288340A (en) Motor controller and motor control method
JP5025395B2 (en) Method for adjusting initial position of position detector and motor drive device using this method
JP5854677B2 (en) Motor speed detection device and motor control device
JP2009095154A (en) Motor controller and its speed detection method
JP5573930B2 (en) Motor control device and motor control method
JP4745838B2 (en) Control method and apparatus for electric actuator
JP6087537B2 (en) Control device and stepping motor control method
JP2011235541A (en) Apparatus equipped with motor
US6204625B1 (en) Driving apparatus for stepping motor
CN112514238B (en) Position estimation method, motor control device, and motor system
JP5708238B2 (en) Motor control device
JP2012196048A (en) Motor drive device
CN102291063A (en) Driving system for fan and method of driving fan