JP2827893B2 - Step motor drive controller - Google Patents
Step motor drive controllerInfo
- Publication number
- JP2827893B2 JP2827893B2 JP6070490A JP7049094A JP2827893B2 JP 2827893 B2 JP2827893 B2 JP 2827893B2 JP 6070490 A JP6070490 A JP 6070490A JP 7049094 A JP7049094 A JP 7049094A JP 2827893 B2 JP2827893 B2 JP 2827893B2
- Authority
- JP
- Japan
- Prior art keywords
- power supply
- step motor
- voltage drop
- supply voltage
- output
- 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.)
- Expired - Lifetime
Links
Landscapes
- Control Of Position Or Direction (AREA)
- Control Of Stepping Motors (AREA)
Description
【0001】[0001]
【産業上の利用分野】この発明は、各種制御機器等にお
いて制御対象を駆動するアクチュエータ等を駆動するた
めに用いられるステップモータの駆動制御装置に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a drive control device for a step motor used for driving an actuator for driving a control target in various control devices and the like.
【0002】[0002]
【従来の技術】ステップモータは、各種制御機器におい
てアクチュエータを駆動するための駆動源として多く使
用され、マイクロプロセッサ等において求められた目標
位置にアクチュエータを駆動するために用いられる。具
体的には、求められた目標位置と現在位置との差に基づ
いて算出された出力データを出力レジスタ等に格納し、
所定の出力タイミングにおいてこの出力レジスタの値を
読み出して、ステップモータの駆動指令を出力する。2. Description of the Related Art A step motor is widely used as a drive source for driving an actuator in various control devices, and is used for driving an actuator to a target position determined by a microprocessor or the like. Specifically, the output data calculated based on the difference between the obtained target position and the current position is stored in an output register or the like,
At a predetermined output timing, the value of this output register is read and a drive command for the step motor is output.
【0003】ここで、この様なステップモータの駆動回
路において、電源電圧が正常に保たれていれば特に問題
のないものであるが、この電源電圧がステップモータの
最低作動電圧以下に低下した場合には、マイクロプロセ
ッサから正常に駆動指令が出力されていてもステップモ
ータは駆動されず、したがってステップモータが目標位
置まで動作されないような状態が生ずる。例えば、タイ
マー割り込みによってサンプリングしてステップモータ
を駆動している場合、ステップモータが前回の割り込み
と今回の割り込みの間に、電源電圧がステップモータの
最低作動電圧以下に低下すると、ステップモータが前回
の出力時より1ステップ動作したか否かがわからない。Here, in such a step motor drive circuit, there is no particular problem if the power supply voltage is normally maintained. However, if the power supply voltage falls below the minimum operation voltage of the step motor, In this case, even if a drive command is normally output from the microprocessor, the step motor is not driven, so that the step motor does not operate to the target position. For example, if the stepping motor is sampled by a timer interrupt and the stepping motor is driven between the previous interrupt and the current interrupt, and the power supply voltage falls below the minimum operating voltage of the stepping motor, the stepping motor will It is not known whether one step operation has been performed since output.
【0004】この様な問題に対処するため、ステップモ
ータの電源電圧は常時監視されるものであるが、例えば
電源電圧がステップモータの最低作動電圧以下に低下す
る周期と、マイクロプロセッサにおけるサンプリング周
期とが同期して、このサンプリングタイミングの時点に
おいて正常電圧であり、サンプリングタイミングの間で
電源電圧の低下があって場合には、この電源電圧の低下
を検出することができない。In order to cope with such a problem, the power supply voltage of the step motor is constantly monitored. For example, a cycle in which the power supply voltage falls below the minimum operating voltage of the step motor, a sampling cycle in the microprocessor, and the like. Are synchronized with each other, the voltage is normal at the time of the sampling timing, and if there is a drop in the power supply voltage during the sampling timing, this drop in the power supply voltage cannot be detected.
【0005】この様な場合を想定してサンプリング周期
を短くすることが考えられるが、やはり電源電圧の変動
がこの短いサンプリング周期に同期した場合には、この
電源電圧の低下を検出することができない。その他、外
部割り込みによって電源電圧を監視する処理を行わせる
ことが考えられるが、外部割り込みが頻繁に生ずること
によって他のタスク処理に対して影響が出る。It is conceivable to shorten the sampling period in consideration of such a case. However, if the fluctuation of the power supply voltage is synchronized with the short sampling period, it is impossible to detect the decrease of the power supply voltage. . In addition, a process of monitoring the power supply voltage by an external interrupt may be performed, but frequent occurrence of the external interrupt affects other task processes.
【0006】[0006]
【発明が解決しようとする課題】この発明は上記のよう
な点に鑑みなされたもので、ステップモータを制御する
マイクロプロセッサのサンプリング周期に同期する状態
で電源電圧の低下が生じた場合においても、これを確実
に検知してステップモータの制御に対応することがで
き、信頼性の高いステップモータの位置制御が可能とさ
れるようにしたステップモータの駆動制御装置を提供し
ようとするものである。SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and has been made in consideration of the above circumstances. Even when the power supply voltage drops in a state synchronized with the sampling cycle of a microprocessor for controlling a step motor, It is an object of the present invention to provide a step motor drive control device capable of reliably detecting the step and responding to the control of the step motor and enabling highly reliable position control of the step motor.
【0007】[0007]
【課題を解決するための手段】この発明に係るステップ
モータの駆動制御装置は、電源電圧を監視して、ステッ
プモータの作動電圧以下までの電圧低下を検出すると共
に、電源電圧低下検出手段で特定されるサンプリング周
期毎に、このサンプリング周期内での前記電圧低下の発
生を検出し、電圧降下の発生が検出されない状態で、出
力データメモリの値に基づいて前記ステップモータを駆
動するもので、前記ステップモータの目標位置と現在位
置との差に基づいて得られる回転データを前記出力デー
タメモリに設定する。そして、前記電源電圧低下検出手
段で前記サンプリング周期内での電圧低下を検出した状
態で、前記出力データメモリの値を前記ステップモータ
制御出力として再出力する再出力制御手段を備える。A step motor drive control device according to the present invention monitors a power supply voltage, detects a voltage drop below the operating voltage of the step motor, and identifies the voltage drop by a power supply voltage drop detection means. For each sampling period, the occurrence of the voltage drop within the sampling period is detected, and the step motor is driven based on the value of the output data memory in a state where the occurrence of the voltage drop is not detected. The rotation data obtained based on the difference between the target position and the current position of the step motor is set in the output data memory. And a re-output control means for re-outputting the value of the output data memory as the step motor control output when the power supply voltage drop detection means detects a voltage drop within the sampling period.
【0008】[0008]
【作用】この様に構成されるステップモータの駆動制御
装置にあっては、電源電圧の正常状態においては、求め
られたステップモータの目標位置データと現在の位置デ
ータとの差に基づいて回転データが得られ、この回転デ
ータが出力データメモリに格納され、サンプリング周期
においてこの出力データメモリの値がステップモータの
制御指令として出力される。しかし、このサンプリング
周期の間に電源電圧がステップモータの最低作動電圧以
下に低下すると、制御指令に基づいてステップモータが
実際に動作されたか否かが判然とせず、ステップモータ
が1ステップ動作されていない場合もある。したがっ
て、このままステップモータの制御動作を継続すると、
電源電圧の低下時にステップモータが動作されていない
場合には、それが誤差分として残るようになって、精度
並びに信頼性の高い制御が行われない。しかし、電源電
圧低下検出手段によって電源電圧の低下が検出された場
合、そのサンプリング周期におけるステップモータ制御
出力を停止し、即ち前回のサンプリングタイミングで計
算された出力データメモリ値を出力ポートに書き込んで
出力することを停止し、前回の出力データモメリの値を
再出力する、即ち、前回のポートの値をそのまま出力す
ることによって、電源電圧の低下を検出する以前の状態
に戻り、精度の高いステップモータの駆動制御が再開さ
れて、信頼性の高い制御結果が得られる。In the drive control device for a step motor constructed as described above, when the power supply voltage is in a normal state, the rotation data is determined based on the difference between the obtained target position data and the current position data of the step motor. Is obtained, and the rotation data is stored in the output data memory, and the value of the output data memory is output as a control command for the step motor in the sampling cycle. However, if the power supply voltage falls below the minimum operating voltage of the step motor during this sampling period, it is not clear whether the step motor was actually operated based on the control command, and the step motor is operated one step. Not always. Therefore, if the control operation of the step motor is continued as it is,
If the stepping motor is not operated when the power supply voltage drops, it remains as an error, so that highly accurate and reliable control is not performed. However, a place drop in the power supply voltage is detected by the power supply voltage drop detection means
If, stops the step motor control output at the sampling period, i.e. a total of the previous sampling timing
Write the calculated output data memory value to the output port
Stop output and re-output the previous output data value , that is, output the previous port value as it is
By that, the process returns to the previous state of detecting a drop in power supply voltage, the drive control of high precision step motor is restarted, reliable control results.
【0009】[0009]
【実施例】以下、図面を参照してこの発明の一実施例を
説明する。図1はその構成を示すもので、バッテリ等の
電源11は定電圧電源回路12に供給され、この定電圧電源
回路12で得られた定電圧によって、マイクロプロセッサ
13が駆動される。そして、このマイクロプロセッサ13か
らの指令に基づき、負荷であるステップモータ14が電源
11によって駆動制御される。An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows the configuration, in which a power supply 11 such as a battery is supplied to a constant voltage power supply circuit 12, and a constant voltage obtained by the constant voltage power supply circuit
13 is driven. Then, based on a command from the microprocessor 13, the step motor 14, which is a load,
The drive is controlled by 11.
【0010】また、電源11の電圧は、降下電圧検出手段
である電源電圧監視回路15において監視されているもの
で、電源11の電圧がステップモータ14の最低作動電圧以
下、例えば9.5V以下に低下した状態を検出し、この
電圧低下に伴う電圧の立上がりエッジに対応してマイク
ロプロセッサ10に内蔵されるエッジカウンタ101 を計数
歩進する。このエッジカウンタ101 においては、電源電
圧の立ち下がりエッジを計数するようにしてもよい。The voltage of the power supply 11 is a voltage drop detecting means.
A state in which the voltage of the power supply 11 drops below the minimum operating voltage of the step motor 14, for example, 9.5 V or less, is detected by the power supply voltage monitoring circuit 15, and the rise of the voltage accompanying this voltage drop is detected. The edge counter 101 incorporated in the microprocessor 10 counts up in response to the edge. The edge counter 101 may count the falling edge of the power supply voltage.
【0011】すなわち、マイクロプロセッサ13において
は、電源電圧低下検出手段であるエッジカウンタ131 に
入力される電源電圧の低下に伴う信号の計数値によっ
て、所定のサンプリング周期内に電源電圧の低下の存在
を検知し(ステップ101 )、この電源電圧の低下が検知
されたときに、マイクロプロセッサにおける処理を変更
し、この電源電圧の低下を検出した時点におけるマイク
ロプロセッサ13からステップモータ14に与えられる出力
が停止されるようにする。そして、前回の処理における
出力パターン即ち出力ポートレジスタの値が再出力さ
れ、電源電圧の低下によってステップモータ14が1ステ
ップ駆動されなかった場合に対処できる制御が行われる
ようにする。ただし、かかる処埋において前回出力パタ
ーンを出力するのは、電源電圧が復帰している場合に限
るもので、電源電圧が復帰していない場合には次の割り
込みまで継続して出力を禁止する。That is, in the microprocessor 13, the presence of a drop in the power supply voltage within a predetermined sampling cycle is determined by the count value of the signal accompanying the drop in the power supply voltage which is input to the edge counter 131 which is the power supply voltage drop detection means. When the power supply voltage drop is detected (step 101) , the processing in the microprocessor is changed, and the output from the microprocessor 13 to the step motor 14 at the time when the power supply voltage drop is detected is stopped. To be done. Then, the output pattern in the previous process, that is, the value of the output port register is re-outputted, and control is performed so as to cope with a case where the step motor 14 is not driven one step due to a decrease in the power supply voltage. However, what you force out the last output pattern in such Cimicifuga, limited to the case where the supply voltage is restored, prohibits the output continues until the next interrupt when the power supply voltage is not restored I do.
【0012】ここで、バッテリ等による電源11からマイ
クロプロセッサ13およびステップモータ14に与えられる
電圧が、このステップモータ14の最低作動電圧以下に低
下する要因は、例えば電源11を構成するバッテリの端子
の緩みや、バッテリとステップモータ14の間のコネクタ
の接触不良、さらにエンジンを搭載した車両に搭載され
ているステップモータの場合には、エンジンの起動に際
してのスタータの起動時が主として考えられる。Here, the factor that the voltage supplied from the power supply 11 such as a battery to the microprocessor 13 and the step motor 14 drops below the minimum operating voltage of the step motor 14 is, for example, the terminal of the battery constituting the power supply 11. In the case of looseness, poor contact of the connector between the battery and the step motor 14, and furthermore, in the case of a step motor mounted on a vehicle equipped with an engine, the start of the engine when starting the starter is mainly considered.
【0013】図2はマイクロプロセッサ13における処理
の流れを示すもので、タイマー割り込みは3.3msec毎
に実行される。まず電源電圧監視回路15においては、電
源11の電圧とステップモータ14の最低作動電圧とを比較
するコンパレータ回路を含み構成され、電源11からの電
圧が最低作動電圧より低下したときにローレベルを出力
し、最低動作電圧より電源11の電圧が高い状態でハイレ
ベルを出力するように構成され、そのローレベルへの立
ち下がり、もしくはハイレベルへの立上がりエッジがマ
イクロプロセッサ13のエッジカウンタ131 で計数され
る。FIG. 2 shows the flow of processing in the microprocessor 13, and a timer interrupt is executed every 3.3 msec. First, the power supply voltage monitoring circuit 15 includes a comparator circuit for comparing the voltage of the power supply 11 with the minimum operating voltage of the step motor 14, and outputs a low level when the voltage from the power supply 11 falls below the minimum operating voltage. The high level is output when the voltage of the power supply 11 is higher than the minimum operating voltage, and the falling edge to the low level or the rising edge to the high level is counted by the edge counter 131 of the microprocessor 13. You.
【0014】したがってこの処理の流れにおいて、まず
ステップ101 で例えば電源電圧監視回路15からの検出信
号の立上がりを計数するエッジカウンタ131 の計数値を
監視し、その計数値が“0”であるか否かを判定する。
すなわち、前回の処理のサンプリングタイミングから今
回の処理のサンプリングタイミングまでの間に、電源11
の電圧が最低作動電圧以下に低下していれば、その低下
回数がエッジカウンタ131 で計数されているものであ
り、その計数値“0”であれば、電源11の電圧が正常で
あったことを意味する。Accordingly, in this processing flow, first, in step 101, the count value of the edge counter 131 for counting the rise of the detection signal from the power supply voltage monitoring circuit 15, for example, is monitored, and whether or not the count value is "0" is determined. Is determined.
That is, during the period from the sampling timing of the previous process to the sampling timing of the current process, the power supply 11
If the voltage has dropped below the minimum operating voltage, the number of drops has been counted by the edge counter 131, and if the count value is “0”, the voltage of the power supply 11 has been normal. Means
【0015】ステップ101 でエッジカウンタ131 の計数
値が“0”で電源電圧が正常であったことが判定された
場合には、ステップ102 に進んで現在の電源11の電圧が
正常であるか否かを判定する。ステップ101 および102
でサンプリング周期の間さらに現在において電源11の電
圧が正常に保たれていたと判定されたならば、ステップ
103 以降に進んで正常時のステップモータ14の制御処理
が実行される。If it is determined in step 101 that the count value of the edge counter 131 is "0" and the power supply voltage is normal, the flow advances to step 102 to determine whether the current voltage of the power supply 11 is normal. Is determined. Steps 101 and 102
If it is determined that the voltage of the power supply 11 has been maintained normally at the present time during the sampling cycle,
The process proceeds to step 103 and thereafter, and the control process of the step motor 14 in the normal state is executed.
【0016】ステップ103 では前回の割り込み処理にお
いて求められた出力データ値を格納した出力データメモ
リの値を出力ポートレジスタに書き込み、前回割り込み
で算出された出力データ値をポート出力する。In step 103, the value of the output data memory storing the output data value obtained in the previous interrupt processing is written to the output port register, and the output data value calculated by the previous interrupt is output to the port.
【0017】ステップ104 では目標位置カウンタの値と
現在の位置カウンタの値とを比較して、その差の方向を
求めるもので、その差の値が“>0”である場合にはス
テップ105 に進んで左回転データを出力データメモリに
入れ、逆に“<0”のときにはステップ106 に進んで右
回転データを出力デーメモリに格納する。そして、ステ
ップ107 および108 において、現在位置カウンタの値を
それぞれ“−1”および“+1”してリターン処理す
る。ステップ104 で差の値が“0”であると判定された
ときは、ステップ109 でストップデータを出力データメ
モリに格納してリターンする。In step 104, the value of the target position counter is compared with the value of the current position counter to determine the direction of the difference. If the value of the difference is ">0", the flow proceeds to step 105. The program proceeds to enter the left rotation data into the output data memory. Conversely, if "<0", the routine proceeds to step 106, where the right rotation data is stored in the output data memory. Then, in steps 107 and 108, the value of the current position counter is set to "-1" and "+1", respectively, and a return process is performed. If it is determined in step 104 that the difference value is "0", stop data is stored in the output data memory in step 109, and the routine returns.
【0018】ステップ101 で立上がりエッジ検出カウン
タの計数値が“0”ではないと判定されたときには、ス
テップ110 に進んでこのエッジカウンタをクリアする。
すなわち、ステップ101 で前回の割り込みから今回の割
り込みまでの間に、電源電圧がステップモータ14の最低
作動電圧以下に少なくとも1回以上低下したことが検出
されたもので、今回の割り込みに際してこのエッジカウ
ンタを初期状態に戻して次回の割り込みまでの電源電圧
の低下の監視が実行できるように準備する。If it is determined in step 101 that the count value of the rising edge detection counter is not "0", the flow advances to step 110 to clear this edge counter.
That is, it is detected in step 101 that the power supply voltage has dropped at least once or less to the minimum operating voltage or less of the step motor 14 during the period from the previous interrupt to the current interrupt. Is returned to the initial state, and preparation is made so that monitoring of a drop in the power supply voltage until the next interrupt can be performed.
【0019】このステップ110 でエッジカウンタがクリ
アされた後、およびステップ102 で現在の電源電圧が低
下していて正常ではないと判定されたときは、ステップ
111に進んで出力を全て停止する。After the edge counter is cleared in step 110, and when it is determined in step 102 that the current power supply voltage is low and not normal,
Proceed to 111 to stop all output.
【0020】すなわち、前述したように電源電圧がステ
ップモータの最低駆動電圧以下に低下した場合には、マ
イクロプロセッサから正常に駆動指令が出力されていて
もステップモータは駆動されず、したがってステップモ
ータが前回の出力時より1ステップ動作したか否かがわ
からない。この様な状態で新たな指令によってステップ
モータが駆動されると、このステップモータの位置はマ
イクロプロセッサで認知している位置とずれるようにな
り、したがって正常な位置制御を継続させることはでき
ない。このため、電源電圧の低下が認知された状態で新
たな指令によってステップモータが作動されないように
している。That is, as described above, when the power supply voltage drops below the minimum drive voltage of the step motor, the step motor is not driven even if the drive command is normally output from the microprocessor. It is not known whether one step operation has been performed since the previous output. If the step motor is driven by a new command in such a state, the position of the step motor will be shifted from the position recognized by the microprocessor, so that normal position control cannot be continued. For this reason, the step motor is prevented from being operated by a new command in a state where the decrease in the power supply voltage is recognized.
【0021】ステップ112 では出力ポートレジスタのデ
ータパターンと、現在の位置カウンタの下位2ビットを
比較する。そして、その両者が一致していればそのまま
リターンし、下位2ビットが1ビット大きいと判定され
た場合にはステップ113 に進んで現在位置カウンタを
“−1”する補正を行う。また、下位ビットが1ビット
小さいと判定されたときは、ステップ114 に進んで現在
位置カウンタを“+1”する補正を行う。そして、ステ
ップ113 および114 の補正処理が終了したならばリター
ンするもので、前回の割り込み処理における出力パター
ンが再出力されるようになる。At step 112, the data pattern of the output port register is compared with the lower two bits of the current position counter. If they match, the process returns as it is. If it is determined that the lower two bits are one bit larger, the routine proceeds to step 113, where the current position counter is corrected to "-1". If it is determined that the lower bit is smaller by one bit, the process proceeds to step 114, where the current position counter is corrected to "+1". Then, when the correction processing in steps 113 and 114 is completed, the routine returns and the output pattern in the previous interruption processing is output again.
【0022】このステップ112 〜114 の処理を行うこと
によって、電源電圧が低下しステップモータの最低作動
電圧以下となったとしても、マイクロプロセッサが持っ
ている現在位置カウンタの値と、実際のステップモータ
の現在位置とのずれが補正されて、それ以降のステップ
モータの駆動制御の位置精度が信頼性を持って向上され
る。By performing the processing of steps 112 to 114, even if the power supply voltage decreases and becomes lower than the minimum operating voltage of the step motor, the value of the current position counter of the microprocessor and the actual step motor Of the current position is corrected, and the position accuracy of the drive control of the step motor thereafter is reliably improved.
【0023】[0023]
【発明の効果】以上のようにこの発明に係るステップモ
ータの駆動制御装置によれば、例えば車両搭載機器に使
用されて電源電圧の不安定要素が大きいような場合にお
いて、各種制御対象を駆動するアクチュエータの駆動源
として使用されるステップモータの位置制御が高精度に
且つ信頼性を持って実行されるようになる。As described above, according to the drive control apparatus for a stepping motor according to the present invention, various control objects are driven, for example, when the power supply voltage is unstable in a vehicle-mounted device. Position control of a step motor used as a drive source of the actuator is executed with high accuracy and reliability.
【図1】この発明の一実施例に係るステップモータの駆
動制御装置を説明するための構成図。FIG. 1 is a configuration diagram for explaining a step motor drive control device according to an embodiment of the present invention.
【図2】上記実施例におけるマイクロプロセッサの処理
の流れを説明するフローチャート。FIG. 2 is a flowchart illustrating a flow of processing of a microprocessor in the embodiment.
11…電源(バッテリ)、12…定電圧電源、13…マイクロ
プロセッサ、14…ステップモータ、15…電源電圧監視回
路。11 ... power supply (battery), 12 ... constant voltage power supply, 13 ... microprocessor, 14 ... step motor, 15 ... power supply voltage monitoring circuit.
Claims (2)
作動電圧以下までの電圧低下を検出する降下電圧検出手
段と、 特定されるサンプリングタイミング毎に、このサンプリ
ングタイミング直前のサンプリング周期内での前記電圧
低下の発生を検出する電源電圧低下検出手段と、 前記電圧降下の発生が検出されない場合は、出力データ
メモリの値に基づいて前記ステップモータを駆動するモ
ータ駆動手段と、 前記ステップモータの目標位置と現在位置との差に基づ
いて得られる回転データを前記出力データメモリに設定
するデータ設定手段と、 前記電源電圧低下検出手段で前記サンプリング周期内で
の電圧低下を検出した場合は、前記モータ駆動手段は今
回のサンプリングタイミング時の出力データメモリの値
に関わらず前回のサンプリングタイミング時におけるモ
ータを駆動するステップモータ制御出力を、再出力する
再出力制御手段とを具備し、さらに、前記電源電圧低下検出手段で前記サンプリング
周期内での電圧低下を検出した場合は、そのときの出力
ポートレジスタに設定された出力データメモリの値と、
前記ステップモータの現在位置データとを比較し、その
比較結果に基づいて前記現在位置の値が補正されるよう
にし たことを特徴とするステップモータの駆動制御装
置。1. A step-down voltage detecting means for monitoring a power supply voltage to detect a voltage drop below an operation voltage of a step motor, and for each specified sampling timing, the voltage drop detecting means detects the voltage drop within a sampling cycle immediately before the sampling timing. Power supply voltage drop detection means for detecting the occurrence of a voltage drop; motor drive means for driving the step motor based on a value in an output data memory when the occurrence of the voltage drop is not detected; a target position of the step motor If a data setting means for setting the rotation data obtained based on a difference in the output data memory the current position, when detecting a voltage drop in the sampling period in the power supply voltage drop detection means, said motor drive The means is now
Output data memory value at the time of sampling timing
Regardless of the mode at the previous sampling timing,
The stepper motor control output to drive the over motor, comprising a re-output control means for re-output, further, the sampling at the power supply voltage drop detection means
If a voltage drop within the cycle is detected, the output at that time
The value of the output data memory set in the port register,
Compare the current position data of the step motor and
The value of the current position is corrected based on the comparison result.
Drive controller of the step motor, characterized in that the.
の前記ステップモータの作動電圧以下までの電圧低下に
対応した電圧の立上がりもしくは立ち下がりエッジを検
出し、これを計数するカウンタによって構成されるよう
にした請求項1記載のステップモータの駆動制御装置。2. The power supply voltage drop detecting means is configured by a counter that detects a rising or falling edge of a voltage corresponding to a voltage drop of the power supply voltage below the operating voltage of the step motor and counts the rising or falling edge. The drive control device for a step motor according to claim 1.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6070490A JP2827893B2 (en) | 1994-04-08 | 1994-04-08 | Step motor drive controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6070490A JP2827893B2 (en) | 1994-04-08 | 1994-04-08 | Step motor drive controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH07284299A JPH07284299A (en) | 1995-10-27 |
| JP2827893B2 true JP2827893B2 (en) | 1998-11-25 |
Family
ID=13433020
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6070490A Expired - Lifetime JP2827893B2 (en) | 1994-04-08 | 1994-04-08 | Step motor drive controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2827893B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05192000A (en) * | 1992-01-13 | 1993-07-30 | Toto Ltd | Driver |
-
1994
- 1994-04-08 JP JP6070490A patent/JP2827893B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH07284299A (en) | 1995-10-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8046127B2 (en) | Vehicle-mounted electronic control apparatus | |
| US6868501B2 (en) | System and method for controlling system power by sequentially controlling the initiating of a plurality of disk drive groups | |
| US6781341B2 (en) | Abnormality detector for a motor drive system | |
| JP3063708B2 (en) | Non-stop power supply system, backup target device used therefor, and recording medium recording program for operating computer as backup target device | |
| JPH0811942B2 (en) | Engine controller | |
| US4609868A (en) | Circuit for detecting the failure of a step motor to respond to energization commands | |
| JPH04304190A (en) | Start-up control circuit for spindle motor | |
| US6314355B1 (en) | Steering angle detecting mechanism | |
| JP2827893B2 (en) | Step motor drive controller | |
| JP2001318807A (en) | Method and device for controlling task switching | |
| JP3491358B2 (en) | Power cut-off detection device | |
| JP3915411B2 (en) | Electronic control device for vehicle | |
| JP2000081910A (en) | Motor control method using absolute encoder | |
| JP2768693B2 (en) | Apparatus for monitoring a computer system having two processors | |
| KR100562698B1 (en) | Tracking Detection Method of Electric Servo Motor Using Incremental Position Detection | |
| US7129670B2 (en) | Drive device for stepper motor and indicating apparatus using the same | |
| JPH02503939A (en) | Throttle valve angle adjustment device | |
| JPH0625922B2 (en) | How to save the current position of the controller | |
| JPS60211525A (en) | Power supply momentary interruption storage device | |
| JPH07272526A (en) | Raising/lowering device | |
| JPH05297992A (en) | Input circuit of programmable controller | |
| JP2003216281A (en) | Controller | |
| JP3173848B2 (en) | Motor drive controller | |
| JPH06103480B2 (en) | Blackout processor | |
| JP3227993B2 (en) | Diagnostic device for disconnection of duty control solenoid |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100918 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100918 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110918 Year of fee payment: 13 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110918 Year of fee payment: 13 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120918 Year of fee payment: 14 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120918 Year of fee payment: 14 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130918 Year of fee payment: 15 |
|
| EXPY | Cancellation because of completion of term |