JP4825588B2 - Stepper motor device and stepper motor control method - Google Patents

Stepper motor device and stepper motor control method Download PDF

Info

Publication number
JP4825588B2
JP4825588B2 JP2006153317A JP2006153317A JP4825588B2 JP 4825588 B2 JP4825588 B2 JP 4825588B2 JP 2006153317 A JP2006153317 A JP 2006153317A JP 2006153317 A JP2006153317 A JP 2006153317A JP 4825588 B2 JP4825588 B2 JP 4825588B2
Authority
JP
Japan
Prior art keywords
stepper motor
pointer
rotation
drive signal
initialization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2006153317A
Other languages
Japanese (ja)
Other versions
JP2007325421A (en
Inventor
吉寿 山田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yazaki Corp
Original Assignee
Yazaki 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 Yazaki Corp filed Critical Yazaki Corp
Priority to JP2006153317A priority Critical patent/JP4825588B2/en
Publication of JP2007325421A publication Critical patent/JP2007325421A/en
Application granted granted Critical
Publication of JP4825588B2 publication Critical patent/JP4825588B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ステッパモータ装置及びステッパモータの制御方法に係り、特に、指針を駆動するステッパモータ装置及びステッパモータの制御方法に関するものである。   The present invention relates to a stepper motor device and a stepper motor control method, and more particularly to a stepper motor device that drives a pointer and a stepper motor control method.

従来から、上述したステッパモータ装置を用いたものとして、例えば車両の指示装置が知られている。この指示装置は、速度センサなど各種センサの計測値を示す目盛りが設けられた文字板と、この文字板上の目盛りを指示する指針とを備え、この指針を駆動するムーブメントとしてステッパモータが用いられている。   2. Description of the Related Art Conventionally, for example, a vehicle indicating device is known as a device using the above-described stepper motor device. This indicating device includes a dial plate provided with a scale indicating the measurement values of various sensors such as a speed sensor, and a pointer indicating the scale on the dial plate, and a stepper motor is used as a movement for driving the pointer. ing.

このステッパモータ装置は、周期的に変化する駆動信号を供給し、周期的にステッパモータ内部の励磁コイルの励磁状態を変化させることにより、この励磁コイルに囲まれたマグネットロータに回転トルクを発生させてステッパモータを回転させる。   This stepper motor device supplies a drive signal that changes periodically, and periodically changes the excitation state of the excitation coil in the stepper motor, thereby generating rotational torque in the magnet rotor surrounded by the excitation coil. Rotate the stepper motor.

詳しくは、ステッパモータ装置は指針の現位置θ′と目標指示位置θとの差分である移動量(θ−θ′)に応じた位相分の駆動信号をステッパモータに供給して、上記移動量(θ−θ′)分、ステッパモータを回転させる。上記指針の現位置θ′と目標指示位置θとは、ステッパモータ装置内のメモリ内に格納されている。ステッパモータ装置は、ステッパモータに供給した駆動信号に基づいて上記指針の現位置θ′を更新すると共に、各種センサからの計測値に基づいて上記目標指示位置θを更新する。これにより、指針が上記文字板上の上記計測値を指示するようになる。   Specifically, the stepper motor device supplies a drive signal for a phase corresponding to a movement amount (θ−θ ′), which is the difference between the current position θ ′ of the pointer and the target indication position θ, to the stepper motor, and the movement amount The stepper motor is rotated by (θ−θ ′). The current position θ ′ of the pointer and the target indication position θ are stored in a memory in the stepper motor device. The stepper motor device updates the current position θ ′ of the pointer based on the drive signal supplied to the stepper motor, and updates the target indication position θ based on the measurement values from various sensors. As a result, the pointer indicates the measured value on the dial.

ところで、上述した指示装置は、車両の振動あるいは雑音が重畳している各種センサからの計測値の入力などの原因により、指針が本来移動すべき移動量(θ−θ′)と、実際の移動量とが異なる脱調を起こしてしまうことがある。そして、この脱調が繰り返されると、メモリに記憶された指針の現位置θ′と、文字板上の指針の現位置とが異なり、正確な指示を行うことができなくなってしまう。   By the way, the above-described pointing device has a movement amount (θ−θ ′) to which the pointer should move due to the input of measurement values from various sensors on which vehicle vibration or noise is superimposed, and the actual movement. It may cause a step-out with a different amount. If this step-out is repeated, the current position θ ′ of the pointer stored in the memory is different from the current position of the pointer on the dial plate, and an accurate instruction cannot be performed.

そこで、このような問題を解決するために、ステッパモータに片とストッパとを設けている。片は、例えばステッパモータの回転を指針に伝動するための指針側のギアに設けた凸部であり、ステッパモータに連動して回転する。ストッパは、上記片と当接してステッパモータの回転を機械的に停止させる。このストッパは、片と当接したとき、指針が計測値0(=初期化位置)を指示するように設ける。   Therefore, in order to solve such a problem, a stepper motor is provided with a piece and a stopper. The piece is, for example, a convex portion provided on a gear on the pointer side for transmitting the rotation of the stepper motor to the pointer, and rotates in conjunction with the stepper motor. The stopper abuts against the piece and mechanically stops the rotation of the stepper motor. This stopper is provided so that the pointer indicates the measured value 0 (= initialization position) when it comes into contact with the piece.

そして、ステッパモータ装置は、電源が投入される毎に、片がストッパに向かう復帰方向にステッパモータが回転するように駆動信号をステッパモータに供給して、片を強制的にストッパに当接させる初期化動作を行う。これにより、指針が強制的に計測値0で停止する。ステッパモータ装置はまた、メモリ内の現位置θ′を計測値0にリセットする。   Then, each time the power is turned on, the stepper motor device supplies a drive signal to the stepper motor so that the stepper motor rotates in the return direction toward the stopper, thereby forcing the piece into contact with the stopper. Perform initialization. This forcibly stops the pointer at the measured value 0. The stepper motor device also resets the current position θ ′ in the memory to the measured value 0.

以上の初期化動作により、メモリに記憶された現位置θ′が計測値0にリセットされているとき、文字板上の指針も計測値0を指示することとなるため、メモリに記憶された指針の現位置θ′と、文字板上の指針の現位置との間の誤差をリセットすることができる。また、電源が投入される毎に計測値0から指針の動作を開始することができる。   By the above initialization operation, when the current position θ ′ stored in the memory is reset to the measured value 0, the pointer on the dial also indicates the measured value 0. Therefore, the pointer stored in the memory The error between the current position θ ′ and the current position of the pointer on the dial can be reset. In addition, the operation of the pointer can be started from the measured value 0 every time the power is turned on.

ところで、ステッパモータ装置に対する電源投入が開始されるタイミングは、イグニッションスイッチがオンしたときだけではない。その他に、クランキングに伴うバッテリ電圧の低下に起因して電源投入が一時的に遮断され、その後バッテリ電圧が復帰して再び電源投入されるタイミングもある。クランキングによる電源の瞬断直前には、燃料計等に用いられている指針はすでにある程度大きな計測値を指示している場合が多い。   By the way, the timing when the power supply to the stepper motor device is started is not only when the ignition switch is turned on. In addition, there is a timing at which the power-on is temporarily interrupted due to a decrease in the battery voltage accompanying the cranking, and then the battery voltage is restored and the power is turned on again. Immediately before the momentary power interruption due to cranking, the guidelines used in fuel gauges and the like often already indicate a somewhat large measured value.

そこで、従来より、クランキングによる電源の瞬断直前にメモリ内に格納されている指針の現位置θ′を保持し、その後に電源投入が復帰したときに指針の現位置θ′から計測値0までの差分だけ、ステッパモータを復帰方向に回転させることが考えられている(例えば特許文献1、2)。これにより瞬断後の電源投入時も計測値0から指針の動作を開始することができる。
特開2003−189694号公報 特開2004−53553号公報
Therefore, conventionally, the current position θ ′ of the pointer stored in the memory is held immediately before the momentary power interruption due to cranking, and the measured value 0 from the current position θ ′ of the pointer is restored when the power is turned on thereafter. It is considered that the stepper motor is rotated in the return direction by the difference up to (for example, Patent Documents 1 and 2). Thereby, the operation of the pointer can be started from the measured value 0 even when the power is turned on after the instantaneous interruption.
JP 2003-189694 A JP 2004-53553 A

しかしながら、図4に示すように、ステッパモータが復帰方向とは逆方向の正転方向に高速に回転している状態で電源の瞬断が発生して、ステッパモータに対する駆動信号の供給が遮断されると、ステッパモータの回転は直ぐに停止せずに慣性力によりしばらく正回転した後に停止する。   However, as shown in FIG. 4, when the stepper motor rotates at a high speed in the forward rotation direction opposite to the return direction, an instantaneous power interruption occurs, and the drive signal supply to the stepper motor is interrupted. Then, the rotation of the stepper motor does not stop immediately, but stops after a positive rotation for a while due to the inertial force.

つまり、メモリ内に格納される指針の現位置θ′としては、電源の瞬断が発生してステッパモータに対する駆動信号の供給遮断が発生したときの指針の指示位置θ1が格納される。これに対して、文字板上の指針の指示位置は、慣性力により回転した誤差角度Δθ分だけ指示位置θ1から正転方向側の位置(θ1+Δθ)となる。   That is, as the current position θ ′ of the pointer stored in the memory, the pointer indicating position θ1 when the power supply is interrupted and the supply of the drive signal to the stepper motor is interrupted is stored. On the other hand, the indication position of the pointer on the dial plate is a position (θ1 + Δθ) on the forward rotation direction side from the indication position θ1 by the error angle Δθ rotated by the inertial force.

このため、上述したように瞬断直前にメモリ内に格納されている指針の現位置θ′から計測値0までの差分だけ、ステッパモータを復帰方向に回転させても、指針は計測値0に到達せずに計測値0から誤差角度Δθ分だけ正転した位置で停止してしまい、計測値0から指針の動作を開始することができないという問題があった。   Therefore, as described above, even if the stepper motor is rotated in the return direction by the difference from the current position θ ′ of the pointer stored in the memory immediately before the momentary interruption to the measured value 0, the pointer remains at the measured value 0. There is a problem in that the movement of the pointer cannot be started from the measured value 0 because it stops at the position where the measured value 0 is rotated forward by the error angle Δθ without reaching.

また、上記問題の対策として例えば瞬断からの復帰後に指針の最大振れ角だけ復帰方向にステッパモータを回転させる駆動信号を供給する方法が考えられる。しかしながら、瞬断直前の文字板上の指針の位置が計測値0に近かった場合、指針が計測値0に到達してもステッパモータに復帰方向の駆動信号が供給され続けて指針の跳ね返りが発生する時間が長くなり、見栄えが悪化してしまう。   Further, as a countermeasure for the above problem, for example, a method of supplying a drive signal for rotating the stepper motor in the return direction by the maximum deflection angle of the pointer after the return from the momentary interruption can be considered. However, if the position of the pointer on the dial plate immediately before the momentary break is close to the measured value 0, even if the pointer reaches the measured value 0, the drive signal in the return direction continues to be supplied to the stepper motor and the pointer bounces. The time to do will become longer, and the appearance will deteriorate.

そこで、本発明は、上記のような問題点に着目し、電源瞬断後に電源が復帰した場合も確実に指針を片とストッパとが当接する初期化位置まで復帰させることができるステッパモータ装置及びステッパモータの制御方法を提供することを課題とする。   Therefore, the present invention pays attention to the above-described problems, and a stepper motor device capable of reliably returning the pointer to the initialization position where the piece and the stopper come into contact with each other even when the power is restored after a momentary power interruption. It is an object of the present invention to provide a method for controlling a stepper motor.

上記課題を解決するためになされた請求項1記載の発明は、駆動信号の供給に応じて回転して指針を駆動するステッパモータと、前記ステッパモータの回転に連動する被駆動部材と当接して前記ステッパモータの回転を機械的に停止させて前記指針を初期化位置に強制的に停止させるストッパと、前記指針の現位置が記憶されるメモリ手段とを設けたステッパモータ装置において、電源瞬断直前に前記メモリ手段に記憶された前記指針の現位置を取得する取得手段と、前記電源瞬断後に再び前記電源が投入されると前記取得手段が取得した前記指針の現位置と前記指針の初期化位置との差分だけ前記被駆動部材が前記ストッパに向かう復帰方向に前記ステッパモータが回転するように前記駆動信号を前記ステッパモータに供給する第1初期化駆動手段とを備えると共に、前記電源瞬断直前の前記ステッパモータの回転速度又は回転加速度を検出する速度検出手段と、前記電源瞬断後に再び前記電源が投入されるとさらに前記回転速度又は前記回転加速度に応じた補正量だけ前記復帰方向に前記ステッパモータが回転するように前記駆動信号を前記ステッパモータに供給する第2初期化駆動手段とを備えることを特徴とするステッパモータ装置に存する。   In order to solve the above-mentioned problem, the invention according to claim 1 is in contact with a stepper motor that rotates in response to a drive signal to drive a pointer, and a driven member that interlocks with the rotation of the stepper motor. In a stepper motor device comprising a stopper for mechanically stopping the rotation of the stepper motor to forcibly stop the pointer at an initialization position, and a memory means for storing the current position of the pointer, An acquisition means for acquiring the current position of the pointer stored in the memory means immediately before, and an initial position of the pointer and the initial position of the pointer acquired by the acquisition means when the power is turned on again after the instantaneous power interruption. A first initialization for supplying the drive signal to the stepper motor so that the driven member rotates in a return direction in which the driven member moves toward the stopper by a difference from the shift position. And a speed detecting means for detecting the rotational speed or rotational acceleration of the stepper motor immediately before the momentary power interruption, and the rotational speed or the rotation when the power is turned on again after the momentary power interruption. A stepper motor apparatus comprising: a second initialization drive unit that supplies the drive signal to the stepper motor so that the stepper motor rotates in the return direction by a correction amount corresponding to an acceleration.

請求項1記載の発明によれば、第2初期化駆動手段が、指針の現位置と指針の初期化位置との差分に加えて回転速度又は回転加速度に応じた補正量だけ復帰方向にステッパモータが回転するように駆動信号をステッパモータに供給するので、瞬断からの復帰後に発生する慣性に起因した誤差角度を回転速度又は回転加速度に応じた補正量によって補正することができる。   According to the first aspect of the present invention, the second initialization drive means includes a stepper motor in the return direction by a correction amount corresponding to the rotational speed or rotational acceleration in addition to the difference between the current position of the pointer and the initialization position of the pointer. Since the drive signal is supplied to the stepper motor so as to rotate, the error angle caused by the inertia after the recovery from the momentary interruption can be corrected by the correction amount corresponding to the rotation speed or the rotation acceleration.

請求項2記載の発明は、前記電源瞬断直前の前記ステッパモータの回転方向を検出する回転方向検出手段と、前記回転方向検出手段により復帰方向が検出されたとき前記第2初期化駆動手段による前記駆動信号の供給を停止させる停止手段とをさらに備えることを特徴とする請求項1に記載のステッパモータ装置に存する。   According to a second aspect of the present invention, there is provided a rotation direction detecting means for detecting a rotation direction of the stepper motor immediately before the instantaneous power interruption, and a second initialization driving means when a return direction is detected by the rotation direction detecting means. The stepper motor device according to claim 1, further comprising stop means for stopping the supply of the drive signal.

請求項2記載の発明によれば、停止手段が、回転方向検出手段により復帰方向が検出されたとき第2初期化駆動手段による駆動信号の供給を停止させるので、被駆動部材とストッパとが当接した後に復帰方向への駆動信号が供給され続ける時間を短くすることができる。   According to the second aspect of the present invention, since the stop means stops the supply of the drive signal by the second initialization drive means when the return direction is detected by the rotation direction detection means, the driven member and the stopper are in contact with each other. It is possible to shorten the time during which the drive signal in the return direction is continuously supplied after the contact.

請求項3記載の発明は、前記第2初期化駆動手段が、前記検出した回転速度又は前記回転加速度で回転中の前記ステッパモータに対する前記駆動信号の供給を停止した時点から前記ステッパモータの回転が停止するまでの間の前記指針の移動量を前記補正量に設定する補正量設定手段をさらに有することを特徴とする請求項1又は2に記載のステッパモータ装置に存する。   According to a third aspect of the present invention, the rotation of the stepper motor starts when the second initialization drive means stops supplying the drive signal to the stepper motor rotating at the detected rotational speed or rotational acceleration. 3. The stepper motor device according to claim 1, further comprising a correction amount setting unit that sets the movement amount of the pointer until the stop is set to the correction amount. 4.

請求項3記載の発明によれば、補正量設定手段が、回転速度又は回転加速度に基づいて復帰方向とは逆方向に回転するステッパモータに対する駆動信号の供給を停止した時点からステッパモータの回転が停止するまでの間の指針の移動量を推定して当該推定した移動量を補正量に設定するので、瞬断からの復帰後に発生する慣性に起因した誤差角度を補正量によって確実に補正することができる。   According to the third aspect of the present invention, the rotation of the stepper motor is started when the correction amount setting means stops supplying the drive signal to the stepper motor that rotates in the direction opposite to the return direction based on the rotational speed or the rotational acceleration. Estimate the movement amount of the pointer until it stops, and set the estimated movement amount as the correction amount, so that the error angle caused by the inertia that occurs after recovery from the momentary interruption is corrected with the correction amount. Can do.

請求項4記載の発明は、前記電源瞬断後に再び前記電源が投入されるとさらに所定角度だけ前記復帰方向に前記ステッパモータが回転するように前記駆動信号を前記ステッパモータに供給する第3初期化駆動手段をさらに備えたことを特徴とする請求項1〜3何れか1項に記載のステッパモータ装置に存する。   According to a fourth aspect of the present invention, when the power is turned on again after the instantaneous power interruption, the drive signal is supplied to the stepper motor so that the stepper motor further rotates in the return direction by a predetermined angle. The stepper motor device according to claim 1, further comprising a drive unit.

請求項4記載の発明によれば、第3初期化駆動手段が、指針の現位置と指針の初期化位置との差分、補正量に加えて所定角度だけ復帰方向にステッパモータが回転するように駆動信号をステッパモータに供給するので、振動などに起因して指針に脱調が生じていても所定角度分の復帰方向へのステッパモータの回転により脱調分がキャンセルされる。   According to the invention described in claim 4, the third initialization drive means is configured so that the stepper motor rotates in the return direction by a predetermined angle in addition to the difference between the current position of the pointer and the initialization position of the pointer and the correction amount. Since the drive signal is supplied to the stepper motor, even if the pointer has stepped out due to vibration or the like, the stepping out part is canceled by the rotation of the stepper motor in the return direction by a predetermined angle.

請求項5記載の発明は、駆動信号の供給によって指針を駆動するステッパモータの制御方法であって、電源瞬断後に再び前記電源が投入されると前記電源瞬断直前にメモリ手段に記憶された前記指針の現位置と、前記ステッパモータの回転に連動する被駆動部材のストッパとの当接位置における前記指針の指示位置である初期化位置と、の差分と、前記電源瞬断直前の前記ステッパモータの回転速度又は回転加速度に応じた補正量と、を加算した値を復帰移動量として設定する設定工程と、前記復帰移動量分だけ、前記被駆動部材が前記ストッパに向かう復帰方向に前記ステッパモータが回転するように前記駆動信号を前記ステッパモータに供給する初期化駆動工程とを順次有することを特徴とするステッパモータの制御方法に存する。   The invention according to claim 5 is a method for controlling a stepper motor that drives a pointer by supplying a drive signal, and is stored in the memory means immediately before the instantaneous power interruption when the power is turned on again after the instantaneous power interruption. The difference between the current position of the pointer and the initialization position that is the indicated position of the pointer at the contact position with the stopper of the driven member interlocked with the rotation of the stepper motor, and the stepper immediately before the instantaneous power interruption A setting step of setting a value obtained by adding a correction amount corresponding to the rotational speed or rotational acceleration of the motor as a return movement amount, and the stepper in the return direction in which the driven member moves toward the stopper by the return movement amount. The stepper motor control method further includes an initialization drive step of sequentially supplying the drive signal to the stepper motor so that the motor rotates.

請求項5記載の発明によれば、指針の現位置と指針の初期化位置との差分と、補正量とを加算した値に設定された復帰移動量だけ復帰方向にステッパモータが回転するように駆動信号をステッパモータに供給するので、瞬断からの復帰後に発生する慣性に起因した誤差角度を回転速度又は回転加速度に応じた補正量によって補正することができる。   According to the fifth aspect of the present invention, the stepper motor rotates in the return direction by the return movement amount set to the value obtained by adding the difference between the current position of the pointer and the initialization position of the pointer and the correction amount. Since the drive signal is supplied to the stepper motor, it is possible to correct the error angle caused by the inertia generated after the recovery from the momentary interruption by the correction amount corresponding to the rotation speed or the rotation acceleration.

以上説明したように請求項1及び5記載の発明によれば、瞬断からの復帰後に発生する慣性に起因した誤差角度を回転速度又は回転加速度に応じた補正量によって補正することができるので、電源瞬断後に電源が復帰した場合も確実に指針を片とストッパとが当接する初期化位置まで復帰させることができる。   As described above, according to the inventions of claims 1 and 5, the error angle caused by the inertia generated after the recovery from the momentary interruption can be corrected by the correction amount according to the rotational speed or the rotational acceleration. Even when the power is restored after a momentary power interruption, the pointer can be reliably restored to the initialization position where the piece and the stopper come into contact.

請求項2記載の発明によれば、被駆動部材とストッパとが当接した後に復帰方向への駆動信号が供給され続ける時間を短くすることができるので、指針の不自然な挙動が発生することがない。   According to the second aspect of the present invention, it is possible to shorten the time during which the drive signal is continuously supplied in the return direction after the driven member and the stopper come into contact with each other, so that an unnatural behavior of the pointer occurs. There is no.

請求項3記載の発明によれば、瞬断からの復帰後に発生する慣性に起因した誤差角度を補正量によって確実に補正することができるので、電源瞬断後に電源が復帰した場合もより確実に指針を片とストッパとが当接する初期化位置まで復帰させることができる。   According to the third aspect of the invention, the error angle caused by the inertia generated after the recovery from the momentary interruption can be reliably corrected by the correction amount. The pointer can be returned to the initialization position where the piece and the stopper abut.

請求項4記載の発明によれば、振動などに起因して指針に脱調が生じていても所定角度分の復帰方向へのステッパモータの回転により脱調分がキャンセルされるので、脱調が生じていてもストッパと指針との当接を検出する位置検出手段を用いることなく、指針を片とストッパとが当接する初期化位置まで復帰させることができる。   According to the fourth aspect of the present invention, even if there is a step out of the pointer due to vibration or the like, the step out is canceled by the rotation of the stepper motor in the return direction by a predetermined angle. Even if it occurs, the pointer can be returned to the initialization position where the piece and the stopper abut without using the position detecting means for detecting the abutment between the stopper and the pointer.

以下、本発明の一実施の形態を図面に基づいて説明する。図1は、本発明のステッパモータの制御方法を実施したステッパモータ装置を組み込んだ指示装置を示す電気回路図である。図2は、図1に示す指示装置の分解斜示図である。この指示装置は、指針1と、この指針1を駆動するステッパモータ装置2とを備えている。指針1は、速度センサなどのセンサの計測値を示す目盛りが設けられた文字板(図2参照)上に設けられている。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is an electric circuit diagram showing a pointing device incorporating a stepper motor device that implements the stepper motor control method of the present invention. 2 is an exploded perspective view of the pointing device shown in FIG. The pointing device includes a pointer 1 and a stepper motor device 2 that drives the pointer 1. The pointer 1 is provided on a dial (see FIG. 2) provided with a scale indicating a measurement value of a sensor such as a speed sensor.

ステッパモータ装置2は、ステッパモータ3と、このステッパモータ3を回転させる駆動装置4とを備えている。上述したステッパモータ3は、2つの励磁コイル5及び6と、励磁コイル5、6の励磁状態の変化に追従して回転するマグネットロータ7と、マグネットロータ7の駆動力を指針1に伝えるギア8と、図示しないケースとを備えている。   The stepper motor device 2 includes a stepper motor 3 and a driving device 4 that rotates the stepper motor 3. The stepper motor 3 described above includes two excitation coils 5 and 6, a magnet rotor 7 that rotates following changes in the excitation state of the excitation coils 5 and 6, and a gear 8 that transmits the driving force of the magnet rotor 7 to the pointer 1. And a case (not shown).

マグネットロータ7は、円盤状に設けられ、その外周に沿ってN極S極が交互に5極づつ着磁されている。ギア8は、互いに噛み合う3つから構成されている。そして、3つのギア8の一つはマグネットロータ7の回転軸に固定され、一つは指針1の回転軸に固定されている。残りの一つは、マグネットロータ7に固定されたギアと指針1に固定されたギアとの間に設けられている。   The magnet rotor 7 is provided in a disk shape, and N poles and S poles are alternately magnetized by 5 poles along the outer periphery thereof. The gear 8 includes three gears that mesh with each other. One of the three gears 8 is fixed to the rotating shaft of the magnet rotor 7, and one is fixed to the rotating shaft of the pointer 1. The remaining one is provided between the gear fixed to the magnet rotor 7 and the gear fixed to the pointer 1.

上記ステッパモータ装置2は、ステッパモータ3の回転に連動する被駆動部材としての片9と、片9と当接してステッパモータ3の回転を機械的に停止させるストッパ10とを有している。片9は、上述したギア8のうち指針1の回転軸に固定されている他方に凸設されている。ストッパ10は、ケースに凸設されている。上述した片9とストッパ10とが当接したときに指針1が文字板に設けた目盛り上の計測値0(初期化位置)を指示するように、指針1がステッパモータ3の回転軸に打ち込まれている。   The stepper motor device 2 includes a piece 9 as a driven member that interlocks with the rotation of the stepper motor 3 and a stopper 10 that abuts the piece 9 and mechanically stops the rotation of the stepper motor 3. The piece 9 is protrudingly provided on the other side of the gear 8 that is fixed to the rotating shaft of the pointer 1. The stopper 10 is protruded from the case. The pointer 1 is driven into the rotary shaft of the stepper motor 3 so that the pointer 1 indicates a measured value 0 (initialization position) on the scale provided on the dial when the piece 9 and the stopper 10 are in contact with each other. It is.

以下、片9がストッパ10に向かうステッパモータ3の回転を復帰方向とする。これに対して、復帰方向と逆方向、即ち片9がストッパ10から離れるステッパモータ3の回転を正転方向とする。   Hereinafter, the rotation of the stepper motor 3 in which the piece 9 faces the stopper 10 is defined as a return direction. On the other hand, the direction opposite to the return direction, that is, the rotation of the stepper motor 3 in which the piece 9 is separated from the stopper 10 is defined as the forward rotation direction.

次に、駆動装置4の構成について説明する。駆動装置4は、励磁コイル5、6に接続されているマイクロコンピュータ11(以下、μCOM11)を備えている。μCOM11は、プログラムに従って各種の処理を行う中央処理ユニット(CPU)12と、CPU12が行う処理プログラムなどを格納した読み出し専用のメモリであるROM13と、CPU12での各種の処理過程で利用するワークエリア、各種データを格納するデータ格納エリアなどを有する読み出し書き込み自在のメモリであるRAM14とを備えている。   Next, the configuration of the driving device 4 will be described. The drive device 4 includes a microcomputer 11 (hereinafter referred to as μCOM 11) connected to the excitation coils 5 and 6. The μCOM 11 includes a central processing unit (CPU) 12 that performs various processes according to a program, a ROM 13 that is a read-only memory that stores a processing program performed by the CPU 12, a work area that is used in various processing processes in the CPU 12, The RAM 14 is a readable / writable memory having a data storage area for storing various data.

上述したμCOM11は、デューティが周期的に変化するパルス状の駆動信号をそれぞれ励磁コイル5、6に供給してステッパモータ3を回転させる。励磁コイル5、6に供給する駆動信号は、互いに位相が90°異なる。   The above-described μCOM 11 rotates the stepper motor 3 by supplying pulsed drive signals whose duty changes periodically to the excitation coils 5 and 6, respectively. The drive signals supplied to the excitation coils 5 and 6 are 90 degrees out of phase with each other.

また、上述したμCOM11には、不揮発性のメモリ手段であるEEPROM15と図示しないイグニッションスイッチとが接続されている。さらに、上述したμCOM11には、センサの計測値である目標指示位置θiが入力されている。   Further, the above-described μCOM 11 is connected to an EEPROM 15 which is a nonvolatile memory means and an ignition switch (not shown). Further, the above-described μCOM 11 is inputted with a target indication position θi which is a sensor measurement value.

上述したEEPROM15又はROM13内には、回転速度又は回転加速度に相当する値である駆動信号の周波数毎に、慣性に起因して発生する誤差角度が記憶されている。誤差角度とは、その回転速度又は回転加速度で回転中のステッパモータ3に対する駆動信号の供給を停止した時点から指針1やギア8の慣性によるステッパモータ3の回転が停止するまでの間の指針1の移動量である。   In the above-described EEPROM 15 or ROM 13, an error angle generated due to inertia is stored for each frequency of the drive signal that is a value corresponding to the rotation speed or the rotation acceleration. The error angle refers to the pointer 1 from when the supply of the drive signal to the stepper motor 3 rotating at the rotational speed or rotational acceleration is stopped until the rotation of the stepper motor 3 due to the inertia of the pointer 1 or the gear 8 is stopped. The amount of movement.

低速回転中のステッパモータ3に対する駆動信号を遮断することにより発生する誤差角度は、小さい。一方、高速回転中のステッパモータ3に対する駆動信号を遮断することにより発生する誤差角度は、大きい。従って、上記誤差角度としては、駆動信号の周波数が高いほど大きい値が記憶されている。   The error angle generated by cutting off the drive signal for the stepper motor 3 during low-speed rotation is small. On the other hand, the error angle generated by blocking the drive signal for the stepper motor 3 during high-speed rotation is large. Therefore, as the error angle, a larger value is stored as the frequency of the drive signal is higher.

上述した構成の指示装置の動作について説明する。上述した背景技術でもすでに説明したように、イグニッションスイッチのオンに応じた電源投入に応じて、CPU12は、復帰方向にステッパモータ3が回転するように駆動信号をステッパモータ3に供給して、片9を強制的にストッパ10に当接させると共にメモリ(RAM14又はEEPROM15)内の指針1の現位置θ′を計測値0にリセットする投入時初期化動作を行う。   The operation of the pointing device having the above-described configuration will be described. As already described in the background art, the CPU 12 supplies a drive signal to the stepper motor 3 so that the stepper motor 3 rotates in the return direction in response to power-on in response to turning on the ignition switch. 9 is forcibly brought into contact with the stopper 10 and an initializing operation at the time of resetting the current position θ ′ of the pointer 1 in the memory (RAM 14 or EEPROM 15) to the measured value 0 is performed.

その後、CPU12は、指針1に文字板の目盛り上の計測値を指示するために通常駆動処理を行っている。通常駆動処理において、CPU12は、RAM14内に記憶された指針1の現位置θ′と目標指示位置θiとの差分である移動量(θi−θ′)に応じた位相分の駆動信号をステッパモータ3に供給して、上記移動量(θi−θ′)分、ステッパモータ3を回転させる。   Thereafter, the CPU 12 performs a normal driving process to instruct the pointer 1 to measure the value on the dial scale. In the normal drive process, the CPU 12 outputs a drive signal for a phase corresponding to a movement amount (θi−θ ′), which is a difference between the current position θ ′ of the pointer 1 and the target indication position θi stored in the RAM 14. 3 and the stepper motor 3 is rotated by the amount of movement (θi−θ ′).

同時にCPU12は、更新手段として働き、所定時間毎にステッパモータ3に供給した駆動信号に基づいてメモリ(RAM14又はEEPROM15)内の上記指針1の現位置θ′を更新する。なお、指針1の現位置θ′は、指針1の現位置と計測値0との差分で表されている。これにより、指針1が上記文字板上の計測値を指示するようになる。   At the same time, the CPU 12 functions as an updating means, and updates the current position θ ′ of the pointer 1 in the memory (RAM 14 or EEPROM 15) based on the drive signal supplied to the stepper motor 3 every predetermined time. Note that the current position θ ′ of the pointer 1 is represented by the difference between the current position of the pointer 1 and the measured value 0. As a result, the pointer 1 indicates the measured value on the dial.

また同時にCPU12は、所定時間毎にステッパモータ3に供給した駆動信号の周波数をメモリ(RAM14又はEEPROM15)内に記憶させた現周波数として更新する。駆動信号の周波数は、ステッパモータ3の回転速度又は回転加速度に相当する値である。   At the same time, the CPU 12 updates the frequency of the drive signal supplied to the stepper motor 3 every predetermined time as the current frequency stored in the memory (RAM 14 or EEPROM 15). The frequency of the drive signal is a value corresponding to the rotational speed or rotational acceleration of the stepper motor 3.

その後、イグニッションスイッチがオフされると、CPU12は、通常駆動処理を終了して復帰方向にステッパモータ3が回転するように駆動信号をステッパモータ3に供給して、片9を強制的にストッパ10に当接させると共にメモリ(RAM14又はEEPROM15)内の指針1の現位置θ′を計測値0にリセットする遮断時初期化動作を行った後、電源を遮断する。クランキングによる瞬断が生じると、この遮断時初期化動作は行われない。   Thereafter, when the ignition switch is turned off, the CPU 12 ends the normal driving process and supplies a drive signal to the stepper motor 3 so that the stepper motor 3 rotates in the return direction, forcing the piece 9 into the stopper 10. And an initialization operation at the time of shut-off that resets the current position θ ′ of the pointer 1 in the memory (RAM 14 or EEPROM 15) to the measured value 0, and then the power is shut off. If there is a momentary interruption due to cranking, this shut-down initialization operation is not performed.

また、CPU12は、クランキングによる電源瞬断からの電源復帰に応じて復帰時初期化処理を開始する。なお、イグニッションオンによる電源投入と瞬断からの復帰との区別は、例えば電源投入時にメモリ(RAM14又はEEPROM15)内に記憶された指針1の現位置θ′に基づいて行う。即ち、メモリ(RAM14又はEEPROM15)内に記憶された指針1の現位置θ′が計測値0でなかった場合、瞬断からの復帰と判断する。   In addition, the CPU 12 starts the initialization process at the time of return in response to the power return from the power interruption due to cranking. Note that the distinction between the power-on by ignition-on and the recovery from the momentary interruption is made based on the current position θ ′ of the pointer 1 stored in the memory (RAM 14 or EEPROM 15) at the time of power-on, for example. That is, when the current position θ ′ of the pointer 1 stored in the memory (RAM 14 or EEPROM 15) is not the measured value 0, it is determined that the return from the momentary interruption.

上述した復帰時初期化処理における指針装置の動作を図3に基づいて以下説明する。図3は、図1に示す指示装置を構成するCPU12の復帰時初期化処理における処理手順を示すフローチャートである。まず、CPU12は、取得手段として働き、メモリ(RAM14又はEEPROM15)内に記憶されている指針1の現位置θ′を電源瞬断直前にEEPROM15に記憶された指針1の現位置θ′として取得する取得処理を行う(ステップS1)。   The operation of the pointer device in the return initialization process described above will be described below with reference to FIG. FIG. 3 is a flowchart showing a processing procedure in the return initialization process of the CPU 12 constituting the pointing device shown in FIG. First, the CPU 12 functions as an acquisition unit, and acquires the current position θ ′ of the pointer 1 stored in the memory (RAM 14 or EEPROM 15) as the current position θ ′ of the pointer 1 stored in the EEPROM 15 immediately before the momentary power interruption. An acquisition process is performed (step S1).

次に、CPU12は、回転方向検出手段として働き、電源瞬断直前のステッパモータ3の回転方向を検出する回転方向検出処理を行う(ステップS2)。CPU12は、メモリ(RAM14又はEEPROM15)内に記憶されている指針1の現位置θ′と指針1の目標位置θiとの比較に基づいて回転方向の検出を行う。CPU12は、目標位置θiが現位置θ′よりも正転方向側であれば、正転方向の回転を検出する。CPU12は、目標位置θiが現位置θ′よりも復帰方向側であれば、復帰方向の回転を検出する。   Next, the CPU 12 functions as a rotation direction detection unit, and performs rotation direction detection processing for detecting the rotation direction of the stepper motor 3 immediately before the momentary power interruption (step S2). The CPU 12 detects the rotational direction based on the comparison between the current position θ ′ of the pointer 1 and the target position θi of the pointer 1 stored in the memory (RAM 14 or EEPROM 15). If the target position θi is on the forward direction side with respect to the current position θ ′, the CPU 12 detects rotation in the forward direction. If the target position θi is on the return direction side of the current position θ ′, the CPU 12 detects rotation in the return direction.

次に、CPU12は、速度検出手段として働き、メモリ(RAM14又はEEPROM15)内に記憶されている現周波数を電源瞬断直前のステッパモータ3の回転速度又は回転加速度として検出する速度検出処理を行う(ステップS3)。   Next, the CPU 12 functions as speed detection means, and performs speed detection processing for detecting the current frequency stored in the memory (RAM 14 or EEPROM 15) as the rotation speed or the rotation acceleration of the stepper motor 3 immediately before the momentary power interruption ( Step S3).

次に、CPU12は、上記回転方向検出処理により復帰方向の回転を検出すると(ステップS4でY)、上記取得処理で取得した電源瞬断直前にメモリ(RAM14又はEEPROM15)に記憶された指針1の現位置θ′を逆転角度に設定した後(ステップS5)、次のステップS6に進む。   Next, when the CPU 12 detects the rotation in the return direction by the rotation direction detection process (Y in step S4), the CPU 12 stores the pointer 1 stored in the memory (RAM 14 or EEPROM 15) immediately before the instantaneous power interruption acquired in the acquisition process. After the current position θ ′ is set to the reverse rotation angle (step S5), the process proceeds to the next step S6.

一方、CPU12は、上記回転方向検出処理により正転方向の回転を検出すると(ステップS4でN)、上記速度検出処理で電源瞬断直前のステッパモータ3の回転速度又は回転加速度として検出したメモリ(RAM14又はEEPROM15)内に記憶されている現周波数が所定値以下であるか否かを判断する(ステップS7)。なお、所定値としては、ステッパモータ3の最大応答周波数の数分の1、例えば1/2、1/3に設定されている(例えば100〜200°/sec)。   On the other hand, when the CPU 12 detects the rotation in the forward rotation direction by the rotation direction detection process (N in step S4), the memory detected as the rotation speed or the rotation acceleration of the stepper motor 3 immediately before the instantaneous power interruption in the speed detection process ( It is determined whether or not the current frequency stored in the RAM 14 or the EEPROM 15) is below a predetermined value (step S7). The predetermined value is set to a fraction of the maximum response frequency of the stepper motor 3, for example, 1/2 or 1/3 (for example, 100 to 200 ° / sec).

CPU12は、所定値以下であると判断すると(ステップS7でY)、電源瞬断直前のステッパモータ3の回転速度又は回転加速度が非常に遅いため慣性による誤差角度は発生していないとして、ステップS5に進む。   If the CPU 12 determines that the value is equal to or less than the predetermined value (Y in step S7), the rotation speed or the rotation acceleration of the stepper motor 3 immediately before the momentary power interruption is very slow, so that an error angle due to inertia has not occurred, and step S5 is performed. Proceed to

これに対して、所定値より大きいと判断すると(ステップS7でN)、CPU12は、補正量設定手段として働き、回転速度又は回転加速度に応じた値である現周波数に対応する慣性に起因する誤差角度をメモリ(RAM14又はEEPROM15)内から読み出して補正量Δθとして設定する補正値設定処理を行う(ステップS8)。   On the other hand, if it is determined that the value is larger than the predetermined value (N in step S7), the CPU 12 functions as a correction amount setting means, and an error caused by inertia corresponding to the current frequency that is a value corresponding to the rotational speed or rotational acceleration. A correction value setting process for reading the angle from the memory (RAM 14 or EEPROM 15) and setting it as the correction amount Δθ is performed (step S8).

次に、CPU12は、上記取得処理で取得した電源瞬断直前にメモリ(RAM14又はEEPROM15)に記憶された指針1の現位置θ′と上記補正量Δθとを加算した量を逆転角度(=復帰移動量)に設定する設定処理を行った後(ステップS9)、ステップS6に進む。   Next, the CPU 12 adds the amount obtained by adding the current position θ ′ of the pointer 1 stored in the memory (RAM 14 or EEPROM 15) and the correction amount Δθ acquired immediately before the instantaneous power interruption acquired in the acquisition process to the reverse rotation angle (= return). After performing the setting process to set (movement amount) (step S9), the process proceeds to step S6.

ステップS6において、CPU12は、ステッパモータ3に対して復帰方向の駆動信号を供給する。そして、CPU12は、上記ステップS5及びS9で設定した逆転角度分、復帰方向に回転したか否かを判断する(ステップS10)。CPU12は、逆転角度分の復帰方向の回転が終了するのを待って(ステップS10でY)、次にステップS11に進む。   In step S <b> 6, the CPU 12 supplies a return direction driving signal to the stepper motor 3. Then, the CPU 12 determines whether or not it has rotated in the return direction by the reverse rotation angle set in steps S5 and S9 (step S10). The CPU 12 waits for the rotation in the return direction corresponding to the reverse rotation angle to end (Y in step S10), and then proceeds to step S11.

ステップS11において、CPU12は、第3初期化駆動手段として働き、所定角度だけ復帰方向にステッパモータ3が回転するように駆動信号を供給する第3初期化駆動処理を行った後、上記通常駆動処理を開始させて(ステップS12)、復帰時初期化駆動処理を終了する。   In step S11, the CPU 12 functions as a third initialization drive unit, performs a third initialization drive process for supplying a drive signal so that the stepper motor 3 rotates in the return direction by a predetermined angle, and then performs the normal drive process. Is started (step S12), and the return initialization drive process is terminated.

以上の動作によれば、ステップS5からステップS6、S10に進むと、CPU12は、電源瞬断直前にメモリ(RAM14又はEEPROM15)に記憶された指針1の現位置θ′が逆転角度として設定され、指針1の現位置θ′だけ復帰方向にステッパモータ3が回転する。上述したように指針1の現位置θ′は、指針1の現位置と指針1の初期化位置である計測値0との差分によって表されている。即ち、CPU12は、指針1の現位置と指針1の初期化位置である計測値0との差分だけ復帰方向にステッパモータ3が回転するように駆動信号をステッパモータ3に供給しており、請求項中の第1初期化駆動手段として働く。   According to the above operation, when the process proceeds from step S5 to steps S6 and S10, the CPU 12 sets the current position θ ′ of the pointer 1 stored in the memory (RAM 14 or EEPROM 15) immediately before the instantaneous power interruption as the reverse rotation angle. The stepper motor 3 rotates in the return direction by the current position θ ′ of the pointer 1. As described above, the current position θ ′ of the pointer 1 is represented by the difference between the current position of the pointer 1 and the measured value 0 that is the initialization position of the pointer 1. That is, the CPU 12 supplies a drive signal to the stepper motor 3 so that the stepper motor 3 rotates in the return direction by the difference between the current position of the pointer 1 and the measured value 0 which is the initialization position of the pointer 1. It works as the first initialization drive means in the section.

一方、ステップS7〜S9からステップS6、S10に進むと、CPU12は、電源瞬断直前にメモリ(RAM14又はEEPROM15)に記憶された指針1の現位置θ′と上記補正量Δθとを加算した量(θ′+Δθ)が逆転角度として設定され、(θ′+Δθ)だけ復帰方向にステッパモータ3が回転する。即ち、CPU12は、指針1の現位置θ′だけ復帰方向にステッパモータ3が回転するような駆動信号の供給に加えて、補正量Δθだけ復帰方向にステッパモータ3が回転するような駆動信号の供給も行っており、請求項中の第1及び第2初期化駆動手段として働く。   On the other hand, when proceeding from steps S7 to S9 to steps S6 and S10, the CPU 12 adds the current position θ ′ of the pointer 1 stored in the memory (RAM 14 or EEPROM 15) immediately before the instantaneous power interruption and the correction amount Δθ. (Θ ′ + Δθ) is set as the reverse rotation angle, and the stepper motor 3 rotates in the return direction by (θ ′ + Δθ). That is, the CPU 12 supplies a drive signal for rotating the stepper motor 3 in the return direction by the current position θ ′ of the pointer 1, and a drive signal for rotating the stepper motor 3 in the return direction by the correction amount Δθ. Supply is also performed, and the first and second initialization driving means in the claims are served.

以上の指示装置によれば、CPU12、指針1の現位置θ′分に加えて回転速度又は回転加速度に応じた補正量Δθだけ復帰方向にステッパモータ3が回転するように駆動信号をステッパモータ3に供給するので、瞬断からの復帰後に発生する慣性に起因した誤差角度Δθを回転速度又は回転加速度に応じた補正量Δθによってキャンセルすることができる。従って、振動などに起因した指針1の脱調が生じていなければ、ステップS10でYとなった時点で片9とストッパ10とが当接する計測値0まで指針1を復帰させることができる。これにより、計測値0に指針1が戻りきらずに指針1表示がずれてしまい不快感を与えることがなくなる。   According to the above instruction device, the drive signal is sent to the stepper motor 3 so that the CPU 12 rotates the stepper motor 3 in the return direction by the correction amount Δθ corresponding to the rotational speed or rotational acceleration in addition to the current position θ ′ of the pointer 1. Therefore, the error angle Δθ due to the inertia generated after the recovery from the momentary interruption can be canceled by the correction amount Δθ corresponding to the rotation speed or the rotation acceleration. Therefore, if there is no out-of-step of the pointer 1 due to vibration or the like, the pointer 1 can be returned to the measured value 0 at which the piece 9 and the stopper 10 come into contact with each other at the time of Y in step S10. As a result, the pointer 1 is not completely returned to the measured value 0, and the display of the pointer 1 is not shifted, thereby causing no discomfort.

また、ステッパモータ3が復帰方向に回転しているときに瞬断が生じて駆動信号が遮断されると、慣性による誤差角度Δθは復帰方向に発生する。このため、電源瞬断直前のステッパモータ3の回転方向が復帰方向であった場合、瞬断からの復帰後に上記(θ′+Δθ)分だけ復帰方向にステッパモータ3を回転させる駆動信号を出力すると、片9とストッパ10とが当接して、ステッパモータ3の回転が機械的に停止された後に、さらに2Δθ分の復帰方向への駆動信号が供給される。このため、片9とストッパ10とが当接した後に復帰方向への駆動信号が供給され続ける時間が長くなる。   Further, when a momentary interruption occurs while the stepper motor 3 is rotating in the return direction and the drive signal is interrupted, an error angle Δθ due to inertia occurs in the return direction. For this reason, if the rotation direction of the stepper motor 3 immediately before the momentary power interruption is the return direction, a drive signal for rotating the stepper motor 3 in the return direction by the amount of (θ ′ + Δθ) after the return from the momentary interruption is output. After the piece 9 and the stopper 10 come into contact with each other and the rotation of the stepper motor 3 is mechanically stopped, a drive signal in the return direction of 2Δθ is further supplied. For this reason, after the piece 9 and the stopper 10 contact | abut, the time which the drive signal in a return direction continues being supplied becomes long.

そこで、本実施形態では、CPU12は、停止手段として働き、回転方向検出処理により復帰方向が検出されたとき補正量Δθ分の復帰方向への駆動信号の供給を停止させている。このため、片9とストッパ10とが当接した後に復帰方向への駆動信号が供給され続ける時間を短くすることができ、指針1が計測値0付近で揺れるといった不自然な挙動が発生することがない。   Therefore, in the present embodiment, the CPU 12 functions as a stop unit, and stops supplying the drive signal in the return direction by the correction amount Δθ when the return direction is detected by the rotation direction detection process. For this reason, the time during which the drive signal in the return direction continues to be supplied after the piece 9 and the stopper 10 abut can be shortened, and an unnatural behavior occurs in which the pointer 1 swings around the measured value 0. There is no.

また、CPU12は、指針1の現位置θ′、補正量Δθに加えて所定角度(例えば10°程度)だけ復帰方向にステッパモータ3が回転するように駆動信号をステッパモータ3に供給するので、振動などに起因して指針1に脱調が生じていても所定角度分の復帰方向へのステッパモータ3の回転により脱調分がキャンセルされる。このため、片9とストッパ10との当接を検出するために高価な機械(光学)的センサを設けたり、励磁コイル5、6に生じる誘導電圧の有無に基づいてステッパモータ3の回転を検出する必要もなく、指針1を片9とストッパ10とが当接する計測値0まで復帰させることができる。   Further, the CPU 12 supplies a drive signal to the stepper motor 3 so that the stepper motor 3 rotates in the return direction by a predetermined angle (for example, about 10 °) in addition to the current position θ ′ of the pointer 1 and the correction amount Δθ. Even if the pointer 1 is out of step due to vibration or the like, the step out is canceled by the rotation of the stepper motor 3 in the return direction by a predetermined angle. For this reason, an expensive mechanical (optical) sensor is provided to detect the contact between the piece 9 and the stopper 10, or the rotation of the stepper motor 3 is detected based on the presence or absence of an induced voltage generated in the excitation coils 5 and 6. The pointer 1 can be returned to the measured value 0 at which the piece 9 and the stopper 10 come into contact with each other.

なお、上述した実施形態では、電源の瞬断直前のステッパモータ3の回転方向が復帰方向であった場合、補正量Δθ分の復帰方向への駆動信号の供給を停止させていたが、本発明はこれに限ったものではない。例えば、電源の瞬断直前のステッパモータ3の回転方向が復帰方向であっても正転方向であっても、補正量Δθ分の復帰方向への駆動信号を供給してもよい。   In the above-described embodiment, when the rotation direction of the stepper motor 3 immediately before the instantaneous power interruption is the return direction, the supply of the drive signal in the return direction corresponding to the correction amount Δθ is stopped. Is not limited to this. For example, a drive signal in the return direction corresponding to the correction amount Δθ may be supplied regardless of whether the rotation direction of the stepper motor 3 immediately before the momentary power interruption is the return direction or the normal rotation direction.

また、上述した実施形態では、指針1の現位置θ′、補正量Δθに加えて所定角度だけ復帰方向にステッパモータ3が回転するように駆動信号をステッパモータ3に供給して、振動などにより生じた脱調分をキャンセルしていたが、本発明はこれに限ったものではない。例えば、指針1の現位置θ′、補正量Δθだけの復帰方向へのステッパモータ3の回転が終了した後、励磁コイル5、6に生じる誘導電圧の有無に基づいて片9とストッパ10との当接を検出するまでさらに復帰方向へ駆動信号を供給し続けるようにして、脱調分をキャンセルするようにしてもよい。   In the above-described embodiment, in addition to the current position θ ′ of the pointer 1 and the correction amount Δθ, a drive signal is supplied to the stepper motor 3 so that the stepper motor 3 rotates in the return direction by a predetermined angle, and vibration is generated. Although the generated step-out portion has been canceled, the present invention is not limited to this. For example, after the rotation of the stepper motor 3 in the return direction by the current position θ ′ of the pointer 1 and the correction amount Δθ is completed, the piece 9 and the stopper 10 are moved based on the presence or absence of the induced voltage generated in the exciting coils 5 and 6. The step-out portion may be canceled by continuing to supply the drive signal in the return direction until the contact is detected.

また、上述した実施形態では、片9とストッパ10とが当接したときの指針1の指示位置である初期化位置と、目盛り上の基準位置である計測値0とを同じ位置に設けていたが、本発明はこれに限ったものではない。例えば、指針1の初期化位置を計測値0よりも一定角度分、復帰方向側に設けても良い。この場合、指針1の現位置と指針1の初期化位置との差分は、メモリ(RAM14又はEEPROM15)に記憶されている指針1の現位置θ′と上記一定角度とを加算した値となる。   Further, in the above-described embodiment, the initialization position that is the indicated position of the pointer 1 when the piece 9 and the stopper 10 are in contact with the measurement value 0 that is the reference position on the scale is provided at the same position. However, the present invention is not limited to this. For example, the initialization position of the pointer 1 may be provided on the return direction side by a certain angle from the measured value 0. In this case, the difference between the current position of the pointer 1 and the initialization position of the pointer 1 is a value obtained by adding the current position θ ′ of the pointer 1 stored in the memory (RAM 14 or EEPROM 15) and the certain angle.

また、前述した実施形態は本発明の代表的な形態を示したに過ぎず、本発明は、実施形態に限定されるものではない。即ち、本発明の骨子を逸脱しない範囲で種々変形して実施することができる。   Further, the above-described embodiments are merely representative forms of the present invention, and the present invention is not limited to the embodiments. That is, various modifications can be made without departing from the scope of the present invention.

本発明のステッパモータの制御方法を実施したステッパモータ装置を組み込んだ指示装置を示す電気回路図である。It is an electric circuit diagram which shows the instruction | indication apparatus incorporating the stepper motor apparatus which implemented the control method of the stepper motor of this invention. 図1に示す指示装置の分解斜示図である。FIG. 2 is an exploded perspective view of the pointing device shown in FIG. 1. 図1に示す指示装置を構成するCPU12の復帰時初期化処理における処理手順を示すフローチャートである。It is a flowchart which shows the process sequence in the initialization process at the time of return of CPU12 which comprises the instruction | indication apparatus shown in FIG. 従来の問題点を説明するための説明図である。It is explanatory drawing for demonstrating the conventional problem.

符号の説明Explanation of symbols

1 指針
3 ステッパモータ
9 片(被駆動部材)
10 ストッパ
12 CPU(更新手段、取得手段、第1初期化駆動手段、速度検出手段、第2初期化駆動手段、回転方向検出手段、停止手段、補正量設定手段、第3初期化駆動手段)
15 EEPROM(メモリ手段)
1 Pointer 3 Stepper motor 9 Piece (Driven member)
10 Stopper 12 CPU (Update means, acquisition means, first initialization drive means, speed detection means, second initialization drive means, rotation direction detection means, stop means, correction amount setting means, third initialization drive means)
15 EEPROM (memory means)

Claims (5)

駆動信号の供給に応じて回転して指針を駆動するステッパモータと、前記ステッパモータの回転に連動する被駆動部材と当接して前記ステッパモータの回転を機械的に停止させて前記指針を初期化位置に強制的に停止させるストッパと、前記指針の現位置が記憶されるメモリ手段とを設けたステッパモータ装置において、
電源瞬断直前に前記メモリ手段に記憶された前記指針の現位置を取得する取得手段と、
前記電源瞬断後に再び前記電源が投入されると前記取得手段が取得した前記指針の現位置と前記指針の初期化位置との差分だけ前記被駆動部材が前記ストッパに向かう復帰方向に前記ステッパモータが回転するように前記駆動信号を前記ステッパモータに供給する第1初期化駆動手段とを備えると共に、
前記電源瞬断直前の前記ステッパモータの回転速度又は回転加速度を検出する速度検出手段と、
前記電源瞬断後に再び前記電源が投入されるとさらに前記回転速度又は前記回転加速度に応じた補正量だけ前記復帰方向に前記ステッパモータが回転するように前記駆動信号を前記ステッパモータに供給する第2初期化駆動手段と
を備えることを特徴とするステッパモータ装置。
A stepper motor that rotates in response to the supply of a drive signal to drive the pointer, and a driven member that interlocks with the rotation of the stepper motor, and mechanically stops the rotation of the stepper motor to initialize the pointer. In a stepper motor device provided with a stopper forcibly stopping at a position and memory means for storing the current position of the pointer,
Obtaining means for obtaining the current position of the pointer stored in the memory means immediately before the momentary power interruption;
When the power is turned on again after the momentary power interruption, the stepper motor moves in the return direction in which the driven member moves toward the stopper by the difference between the current position of the pointer acquired by the acquisition means and the initialization position of the pointer. And a first initialization drive means for supplying the drive signal to the stepper motor so as to rotate.
Speed detecting means for detecting the rotational speed or rotational acceleration of the stepper motor immediately before the instantaneous power interruption;
When the power is turned on again after the instantaneous power interruption, the drive signal is supplied to the stepper motor so that the stepper motor further rotates in the return direction by a correction amount corresponding to the rotational speed or the rotational acceleration. A stepper motor device comprising: 2 initialization driving means;
前記電源瞬断直前の前記ステッパモータの回転方向を検出する回転方向検出手段と、
前記回転方向検出手段により復帰方向が検出されたとき前記第2初期化駆動手段による前記駆動信号の供給を停止させる停止手段とをさらに備えることを特徴とする請求項1に記載のステッパモータ装置。
Rotation direction detection means for detecting the rotation direction of the stepper motor immediately before the instantaneous power interruption;
2. The stepper motor device according to claim 1, further comprising: a stop unit that stops the supply of the drive signal by the second initialization drive unit when a return direction is detected by the rotation direction detection unit.
前記第2初期化駆動手段が、前記検出した回転速度又は前記回転加速度で回転中の前記ステッパモータに対する前記駆動信号の供給を停止した時点から前記ステッパモータの回転が停止するまでの間の前記指針の移動量を前記補正量に設定する補正量設定手段をさらに有することを特徴とする請求項1又は2に記載のステッパモータ装置。   The pointer from the time when the second initialization drive means stops supplying the drive signal to the stepper motor rotating at the detected rotational speed or rotational acceleration until the rotation of the stepper motor stops The stepper motor apparatus according to claim 1, further comprising a correction amount setting unit that sets a movement amount of the second movement amount to the correction amount. 前記電源瞬断後に再び前記電源が投入されるとさらに所定角度だけ前記復帰方向に前記ステッパモータが回転するように前記駆動信号を前記ステッパモータに供給する第3初期化駆動手段をさらに備えたことを特徴とする請求項1〜3何れか1項に記載のステッパモータ装置。   And a third initialization drive means for supplying the drive signal to the stepper motor so that the stepper motor rotates in the return direction by a predetermined angle when the power is turned on again after the instantaneous power interruption. The stepper motor device according to any one of claims 1 to 3, wherein 駆動信号の供給によって指針を駆動するステッパモータの制御方法であって、
電源瞬断後に再び前記電源が投入されると前記電源瞬断直前にメモリ手段に記憶された前記指針の現位置と、前記ステッパモータの回転に連動する被駆動部材のストッパとの当接位置における前記指針の指示位置である初期化位置と、の差分と、前記電源瞬断直前の前記ステッパモータの回転速度又は回転加速度に応じた補正量と、を加算した値を復帰移動量として設定する設定工程と、
前記復帰移動量分だけ、前記被駆動部材が前記ストッパに向かう復帰方向に前記ステッパモータが回転するように前記駆動信号を前記ステッパモータに供給する初期化駆動工程とを順次有することを特徴とするステッパモータの制御方法。
A stepper motor control method for driving a pointer by supplying a drive signal,
When the power is turned on again after a momentary power interruption, the current position of the pointer stored in the memory means immediately before the momentary power interruption and the contact position between the stopper of the driven member interlocked with the rotation of the stepper motor A setting for setting a value obtained by adding the difference between the initialization position, which is the indicated position of the pointer, and the correction amount according to the rotation speed or rotation acceleration of the stepper motor immediately before the instantaneous power interruption as the return movement amount Process,
And an initialization driving step of sequentially supplying the drive signal to the stepper motor so that the driven member rotates in the return direction of the driven member toward the stopper by an amount corresponding to the return movement amount. Stepper motor control method.
JP2006153317A 2006-06-01 2006-06-01 Stepper motor device and stepper motor control method Active JP4825588B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006153317A JP4825588B2 (en) 2006-06-01 2006-06-01 Stepper motor device and stepper motor control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006153317A JP4825588B2 (en) 2006-06-01 2006-06-01 Stepper motor device and stepper motor control method

Publications (2)

Publication Number Publication Date
JP2007325421A JP2007325421A (en) 2007-12-13
JP4825588B2 true JP4825588B2 (en) 2011-11-30

Family

ID=38857721

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006153317A Active JP4825588B2 (en) 2006-06-01 2006-06-01 Stepper motor device and stepper motor control method

Country Status (1)

Country Link
JP (1) JP4825588B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5342356B2 (en) * 2009-07-24 2013-11-13 矢崎総業株式会社 Vehicle meter initialization drive device
JP2012036766A (en) * 2010-08-04 2012-02-23 Toyota Motor Corp Control device of internal combustion engine
JP5847499B2 (en) * 2011-09-07 2016-01-20 矢崎総業株式会社 Stepping motor device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3919927A1 (en) * 1989-06-19 1990-12-20 Vdo Schindling METHOD FOR DETECTING A PREDICTED POINTING AND DISPLAY DEVICE
JPH0654587A (en) * 1992-07-30 1994-02-25 Shinko Electric Co Ltd Instantaneous stoppage restarting method for inverter
JP3133233B2 (en) * 1995-07-06 2001-02-05 株式会社ユニシアジェックス Step motor drive control method
JP4232664B2 (en) * 2004-03-16 2009-03-04 富士ゼロックス株式会社 Printing device

Also Published As

Publication number Publication date
JP2007325421A (en) 2007-12-13

Similar Documents

Publication Publication Date Title
JP4962702B2 (en) Pointer-type instrument
JP5058522B2 (en) Stepper motor device and stepper motor control method
JP4888506B2 (en) Initial setting method for vehicle indicator
JP4825588B2 (en) Stepper motor device and stepper motor control method
JP5058527B2 (en) Stepping motor drive device
JP4387750B2 (en) Pointed position correcting method and apparatus, and pointing device
JP4189953B2 (en) Position switching control device
JP2001292596A (en) Stepping motor, and driver
JP5447319B2 (en) Indicators for vehicles
JP4176984B2 (en) Stepping motor drive device and pointer driving method
JP4760925B2 (en) Indicators for vehicles
JP5811465B2 (en) Range switching device
JP4209721B2 (en) Stepping motor driving apparatus and method, and stepping motor apparatus
JP4591301B2 (en) Pointer-type instrument
JP3828792B2 (en) Stepping motor movement amount calculation device and stepping motor drive device
JP2008008676A (en) Indicating instrument for vehicle
JP5071313B2 (en) Indicators for vehicles
JP3764708B2 (en) Stepper motor type indicator
JP5847499B2 (en) Stepping motor device
JP4426881B2 (en) Contact detection device, reversing step writing device, and contact determination method
JP4157701B2 (en) Initialization drive device for stepping motor
JP4170099B2 (en) Rotation control device for stepper motor and stepper motor device
JP4748611B2 (en) Position switching control device
JP3934879B2 (en) Drive device and drive control device
JP2007093524A (en) Pointer-type measuring instrument

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090526

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110812

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110912

R150 Certificate of patent or registration of utility model

Ref document number: 4825588

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140916

Year of fee payment: 3

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250