JP3829701B2 - Pulse signal frequency control method and frequency control circuit - Google Patents

Pulse signal frequency control method and frequency control circuit Download PDF

Info

Publication number
JP3829701B2
JP3829701B2 JP2001364396A JP2001364396A JP3829701B2 JP 3829701 B2 JP3829701 B2 JP 3829701B2 JP 2001364396 A JP2001364396 A JP 2001364396A JP 2001364396 A JP2001364396 A JP 2001364396A JP 3829701 B2 JP3829701 B2 JP 3829701B2
Authority
JP
Japan
Prior art keywords
frequency
pulse signal
period
increase
correction
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 - Fee Related
Application number
JP2001364396A
Other languages
Japanese (ja)
Other versions
JP2003169498A (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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP2001364396A priority Critical patent/JP3829701B2/en
Publication of JP2003169498A publication Critical patent/JP2003169498A/en
Application granted granted Critical
Publication of JP3829701B2 publication Critical patent/JP3829701B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Control Of Stepping Motors (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、スッテピングモータ等のパルス駆動型モータの回転制御に使用されるパルス信号の周波数を増加又は減少させる制御を行うパルス信号の周波数制御方法及びパルス信号の周波数制御回路に関する。
【0002】
【従来の技術】
従来、パルス信号出力回路として、特開平10−215167号に開示された回路が存在する。この回路は、図11に示すように、2n 以下の周波数値を入力するために少なくとも(n+1)ビット有した周波数設定用レジスタ101と、周波数値を順次加算可能な加算回路102と、2n+1毎秒の周波数を有したクロックパルス信号が入力される度に周波数値を加算回路102により順次積算して保持するとともに(n+1)ビット目に桁上がりした桁上がり信号を出力するフリップフロップ103と、を備えた構成にしてある。
【0003】
この回路は、周波数設定用レジスタ101に設定された周波数を有したパルス信号を出力するのであるから、周波数設定用レジスタ101に任意のタイミングで除除に大きくした周波数を設定することにより、出力するパルス信号の周波数を増加させることができる。また、この回路は、周波数設定用レジスタ101に任意のタイミングで除除に小さくした周波数を設定することにより、出力するパルス信号の周波数を減少させることができる。
【0004】
この回路を利用したパルス駆動型モータの回転制御について、図12に基づいて説明する。加速は、起動値である最初の周波数から、起動値よりも高い周波数である目標値に向かって、任意段数でもって、矢示するタイミングで、周波数の増加が行われると、その周波数の増加とともに行われる。これに対して、減速は、加速の場合と同様に、前述した目標値から、起動値に向かって、矢示するタイミングで、任意段数の周波数の減少が行われると、その周波数の減少とともに行われる。
【0005】
次に、上記した加減速のための周波数変更について説明する。加速のための周波数変更は、加速開始から加速終了までの加速時間及び加速段数により決定される加速用の周波数更新タイミングで行われる。また、減速のための周波数変更は、加速のための周波数変更と同様に、後述する減速用の周波数更新タイミングで行われる。
【0006】
この減速用の周波数更新タイミングを決定するパルス信号の周波数制御回路として、例えば、特開2000−69776号公報により開示された加減速制御回路を挙げることができる。この回路は、予め周波数減少開始時を設定する回路であって、図13に示すように、出力するパルス信号の周波数に関する制御を行う周波数変更部201、指定されたパルス信号数に関する制御を行う移動量処理部202、自動的に減速点を検出する減速点検出部203を備えている。
【0007】
次に、上記した減速点検出部203について、図14に基づいて、詳しく説明する。この減速点検出部203は、マルチプレクサ203a、減速点検出カウンタ203b、加算器203c、減速点検出回路203dを備えている。
【0008】
マルチプレクサ203aは、この加減速制御回路により回転制御されるモーターが加速中であることを示す加速中フラグが入力されていない間は、絶対値が所定値である「−1」を選択して、加算器203cに入力するとともに、加速中フラグが入力されている間は、絶対値が所定値の2倍である「−2」を選択して、加算器203cに入力する。
【0009】
減速点検出カウンタ203bは、移動量処理部202の有する駆動量検出カウンタ202aと同様に、周波数変更部201に起動要求がなされたときに、周波数変更部201の有する設定部201aに所定駆動量として設定された所定カウント値が転送される。この減速点検出カウンタ203bは、モーターの速度に対応する周波数値を有したパルス信号が入力され、このパルス出力信号の1パルス毎に、つまり、駆動量検出カウンタ202aの変化と同時に、加算器203cからの出力値が入力されるとともに、この減速点検出カウンタ203bの出力値を加算器203cに帰還する。
【0010】
加算器203cは、マルチプレクサ203aからの入力値と減速点検出回路203dからの帰還値とを加算する。詳しくは、図15に示すように、モーターが加速していて、加速中フラグがマルチプレクサ203aに入力されている間は、マルチプレクサ203aから「−2」が入力されて、この「−2」を加算することにより、減速点検出回路203dからの帰還値から「2」を減算し、この減算されてなる値を減速点検出カウンタ203bに入力する。また、この加算器203cは、モーターが定速駆動していて、加速中フラグがマルチプレクサ203aに入力されていない間は、マルチプレクサ203aから「−1」が入力されて、減速点検出回路203dからの帰還値より「1」を減算し、この減算されてなる値を減速点検出カウンタ203bに入力する。
【0011】
こうして、加算器203cにより減算されてなる値が減速点検出カウンタ203bに入力されることにより、減速点検出カウンタ203bは、モーターが加速していないときは、駆動量検出カウンタ202aの変化と同時に、所定カウント値から所定値である「1」ずつ変化して小さくなり、モーターが加速しているときは、駆動量検出カウンタ202aの変化と同時に、所定値の2倍である「2」ずつ変化して小さくなる。
【0012】
減速点検出回路203dは、予め設定された基準値である「0」と減速点検出カウンタのカウンタ値Cdとの比較に基づいて、周波数減少開始時である減速点を検出する。詳しくは、この減速点検出回路203dは、減速点検出カウンタ203bのカウンタ値Cdが基準値「0」以下となったとき、減速点を検出し、減速要求フラグを周波数変更部301に向けて出力する。
【0013】
【発明が解決しようとする課題】
上記した従来のパルス信号の周波数制御回路(特開2000−69776号公報により開示された加減速制御回路)にあっては、加速中のパルス信号をカウントしているけれども、加速終了タイミングと出力されたパルス信号の立ち上がりエッジ及び立ち下りエッジとは無関係であるため、予め設定された加速終了タイミングと実際の加速終了タイミングとが一致しないことがある。
【0014】
このことを、図16に基づいて、説明する。例えば、立ち上がりエッジによりパルス信号をカウントしていた場合に、カウントされたパルス信号が出力される前に、詳しくは、カウントされたパルス信号の一周期が完了する前に、加速区間が終了したと取り扱われることがあり、実際の加速終了タイミングが、予め設定された加速終了タイミングよりも早くなることがあるのである。
【0015】
また、減速点(減速開始タイミング)も、上記したように、パルス信号をカウントすることにより検出されるのであるから、加速終了タイミングと同様に、予め設定された減速点と実際の減速点とが一致しないことがあり、実際の減速点(減速開始タイミング)が、予め設定された減速点(減速開始タイミング)よりも早い場合には、同図に示すように、周波数の少ない、すなわち一周期の長いパルス信号が出力されるようになるため、実際の動作時間は、予め設定された動作時間よりも異なって長くなることになる。
【0016】
さらに、モーターを2つ使用して、X軸方向及びY軸方向のそれぞれに、独立に駆動させる直線補間について、図17乃至図19に基づいて説明する。なお、直線補間とは、図17に示すように、座標の軌跡が直線となるように、複数軸モーターの同期制御のことであり、同時起動及び同時停止が行なわれる。この直線補間では、X軸方向及びY軸方向の合成目標周波数、X軸方向及びY軸方向の各起動周波数及び目標周波数が設定される。この直線補間では、理論上は、同時起動をすれば、図18に示すように、同時に動作が完了する。
【0017】
しかしながら、前述したように、予め設定された減速点と実際の減速点とが一致しなくなると、実際の動作時間が、予め設定された動作時間とは異なることになって、図19に示すように、X軸方向の動作終了時とY軸方向の動作終了時とが一致しなくなり、予め設定された軌跡上を通すことができなくなる。
【0018】
本発明は、上記の点に着目してなされたもので、その目的とするところは、実際の動作時間を、予め設定された動作時間に一致させることができるパルス信号の周波数制御方法及び周波数制御回路を提供することにある。
【0019】
【課題を解決するための手段】
上記した課題を解決するために、請求項1記載のパルス信号の周波数制御方法は、起動値及びその起動値よりも高い目標値が予め設定され、予め設定された周波数増加終了時まで、パルス信号の周波数を、起動値から目標値に向かって増加させるとともに、パルス信号の一周期以上又は一周期未満の周波数一定期間が経過してから、起動値まで減少させて復帰させるパルス信号の周波数制御方法であって、周波数一定期間がパルス信号の一周期以上である場合に、周波数増加終了時を含むパルス信号において周波数一定期間とされた期間よりなる補正期間に基づいて、予め設定された周波数減少開始時からさらに補正期間が経過したときを周波数減少開始時とする補正を実行するようにしている。
【0020】
請求項2記載のパルス信号の周波数制御方法は、起動値及びその起動値よりも高い目標値が予め設定され、予め設定された周波数増加終了時まで、パルス信号の周波数を、起動値から目標値に向かって増加させるとともに、パルス信号の一周期以上又は一周期未満の周波数一定期間が経過してから、起動値まで減少させて復帰させるパルス信号の周波数制御方法であって、周波数一定期間がパルス信号の一周期未満である場合に、周波数増加終了時を含むパルス信号において周波数一定期間とされた期間よりなる補正期間に基づいて、周波数増加終了時を含むパルス信号内の周波数増加終了時直後のパルスエッジからさらに補正期間が経過したときを周波数減少開始時とする補正を実行するようにしている。
【0021】
請求項3記載のパルス信号の周波数制御方法は、請求項1記載のパルス信号の周波数制御方法において、前記周波数増加終了時がパルス信号における半周期経過後であるか半周期経過前であるかを判断し、前記周波数増加終了時がパルス信号における半周期経過後であるときには、前記補正期間を、周波数増加終了時を含むパルス信号における周波数増加終了時から次のパルス信号との境界であるパルスエッジまでの期間とするとともに、前記周波数増加終了時がパルス信号における半周期経過前であるときには、前記補正期間を、前記周波数増加終了時からその前記周波数増加終了時直後であってパルス信号内のパルスエッジまでの期間に、パルス信号の半周期を加えた期間とするようにしている。
【0023】
請求項4記載のパルス信号の周波数制御方法は、請求項1乃至請求項3のいずれかに記載のパルス信号の周波数制御方法において、前記周波数増加終了時における前記パルス信号の周波数値を記憶し、その記憶した周波数値から前記起動値へ向かって、前記パルス信号の周波数を減少させるようにしている。
【0024】
請求項5記載のパルス信号の周波数制御方法は、請求項1乃至請求項3のいずれかに記載のパルス信号の周波数制御方法において、前記パルス信号が最初のパルスエッジの前に半周期未満の準備期間を有する場合に、前記起動値に復帰してから前記パルス信号の半周期経過後から、前記パルス信号の出力を規制するようにしている。
【0025】
請求項6記載のパルス信号周波数制御回路は、起動値及びその起動値よりも高い目標値が予め設定され、予め設定された周波数増加終了時まで、パルス信号の周波数を、起動値から目標値に向かって増加させるとともに、パルス信号の一周期以上又は一周期未満の周波数一定期間が経過してから、起動値まで減少させて復帰させるパルス信号の周波数制御回路であって、前記周波数一定期間がパルス信号の一周期以上である場合に、周波数増加終了時を含むパルス信号において周波数一定期間とされた期間よりなる補正期間を計測する計測手段を設け、前記周波数一定期間がパルス信号の一周期以上である場合に、予め設定された周波数減少開始時からさらに、補正期間が経過したときを周波数減少開始時とする補正を実行する構成にしている。
【0026】
請求項7記載のパルス信号周波数制御回路は、請求項6記載のパルス信号周波数制御回路において、前記周波数一定期間がパルス信号の一周期未満である場合に前記補正期間を計測する第2の計測手段を設け、前記周波数一定期間がパルス信号の一周期未満である場合に、前記周波数増加終了時直後のパルスエッジからさらに前記補正期間が経過したときを周波数減少開始時とする補正を実行する構成にしている。
【0027】
請求項8記載のパルス信号周波数制御回路は、請求項7記載のパルス信号周波数制御回路において、前記計測手段を前記第2の計測手段として使用した構成としている。
【0028】
【発明の実施の形態】
本発明の第1実施形態のパルス信号の周波数制御方法を、図1及び図2に基づいて説明する。このパルス信号の周波数制御方法は、起動値及びその起動値よりも高い目標値が予め設定され、予め設定された周波数増加終了時t1まで、パルス信号の周波数を、起動値から目標値に向かって増加させるとともに、パルス信号の一周期以上の周波数一定期間が経過してから、起動値まで減少させて復帰させる方法であって、周波数増加終了時t1を含むパルス信号において周波数一定期間とされた期間よりなる補正期間TAに基づいて、周波数減少開始時を一定とする補正を実行するようにしている。
【0029】
このパルス信号の周波数制御方法のうち、周波数減少開始時を一定とする補正を実行する方法以外は従来技術と同様であり、従来技術と同様の点については、説明を省略する。
【0030】
すなわち、図2に示すように、2n 以下の周波数値を入力するために少なくとも(n+1)ビット有した周波数設定用レジスタ1と、周波数値を順次加算可能な加算回路2と、2n+1毎秒の周波数を有したクロックパルス信号が入力される度に周波数値を加算回路2により順次積算して保持するとともに(n+1)ビット目に桁上がりした桁上がり信号を出力するフリップフロップ3と、を有するパルス信号の出力回路を備えて、その周波数設定用レジスタ1に任意のタイミングで除除に大きくした周波数を設定することにより、出力するパルス信号の周波数を増加させるとともに、周波数設定用レジスタ1に任意のタイミングで除除に小さくした周波数を設定することにより、出力するパルス信号の周波数を減少させる方法については、従来技術として既に説明した特開平10−215167号公報により開示されたパルス信号の出力方法と同様である。
【0031】
また、図3及び図4に示すように、出力するパルス信号の周波数に関する制御を行う周波数変更部4、指定されたパルス信号数に関する制御を行う移動量処理部5、自動的に減速点を検出する減速点検出部6を備え、さらに減速点検出部6には、マルチプレクサ6a、減速点検出カウンタ6b、加算器6c、減速点検出回路6d有することにより、予め起動値及び目標値を設定し、パルス信号の周波数を、起動値から目標値まで、予め設定された周波数増加終了時まで増加させてから、パルス信号の周波数一定にする方法については、従来技術として既に説明したように、特開2000−69776号公報により開示された加減速制御回路による方法と同様である。なお、符号7は、後述するカウンタである。
【0032】
以下、図1(a)乃至(c)に基づいて詳しく説明する。なお、同図(a)は、予め設定された条件に従って出力されるはずの理論上のパルス信号列を示し、同図(b)は、比較のために、従来技術である特願平10−239850号公報により開示された加減速制御回路により出力されるパルス信号列を示し、同図(c)は、本実施形態のパルス信号の周波数制御方法により出力されるパルス信号列を示している。
【0033】
同図には、特開2000−69776号公報に開示されている従来技術により理論上それぞれ導かれた3つの期間、すなわち、周波数増加期間、周波数一定期間、周波数減少期間を示している。なお、周波数一定期間は、パルス信号の一周期以上としている。
【0034】
また、同図(a)乃至(c)に示すように、周波数増加期間の終了時である周波数増加終了時t1は、パルス信号のパルスエッジとは一致しないことがあり得る。そのために、周波数増加終了時t1を含むパルス信号では、同一パルス信号内で、周波数増加終了時t1より前の期間は、周波数増加に対応して一周期が長くなっているけれども、周波数増加終了時t1より後の期間は、周波数一定期間の一部とされている。
【0035】
従って、同図(b)に示すように、従来技術では、同一パルス信号内で周波数一定期間とされた期間分、周波数一定期間が短くなり、周波数減少期間の開始時である周波数減少開始時も、予め設定された条件に従って出力されるはずの理論上のパルス信号列(同図(a))に比較して早くなる。そのために、従来の技術の課題として、既に説明したように、周波数が減少した、すなわち、一周期の長いパルス信号が出力されるようになって、パルス信号の出力終了時である周波数減少終了時が遅れるのである。
【0036】
これに対して、本実施形態のパルス信号の周波数制御方法により出力されるパルス信号列は、特開2000−69776号公報に開示されている従来技術により予め設定された周波数減少開始時からさらに、同図(b)に示すように、周波数増加終了時t1を含むパルス信号において周波数一定期間とされた期間よりなる補正期間TAが経過したときを、実際の周波数減少開始時t2とする補正を実行している。従って、本実施形態のパルス信号の周波数制御方法では、実際の周波数減少開始時t2を一定とすることができ、パルス信号の出力終了時である周波数減少終了時が、予め設定された条件に従って出力されるはずの理論上のパルス信号列(同図(a))と一致する。
【0037】
このパルス信号の周波数制御方法を実行するために、周波数一定期間が一周期のパルス信号よりも長い場合に、パルス周波数増加終了時t1を含むパルス信号において周波数一定期間とされた期間、すなわち補正期間TAを計測する計測手段として、図3に示すように、カウンタ7を備えることになる。
【0038】
このカウンタ7により、周波数増加終了時t1から、次の立ち上がりのパルスエッジまでアップカウントし、予め設定された周波数減少開始時からダウンカウントして「0」に復帰したときを、実際の周波数減少開始時t2とするのである。なお、計測手段は、アップカウント及びダウンカウントをするカウンタに限るものではない。
【0039】
ところで、本実施形態のパルス信号の制御方法によれば、パルス信号の周波数増加期間と周波数減少期間とは対称となっている。
【0040】
かかるパルス信号の周波数制御方法にあっては、予め設定された周波数減少開始時からさらに、周波数増加終了時t1を含むパルス信号において周波数一定期間とされた期間よりなる補正期間TAが経過したときを、実際の周波数減少開始時t2とする補正を実行することにより、周波数減少開始時を一定とすることができ、よって、実際の動作時間を、予め設定された動作時間に一致させることができるという効果を奏することができる。
【0041】
次に、本発明の第2実施形態のパルス信号の周波数制御方法を、図5及び図6に基づいて説明する。なお、第1実施形態のパルス信号の周波数制御方法と異なるところのみ記す。本実施形態のパルス信号の方法は、基本的には第1実施形態のパルス信号の周波数制御方法と同様であるが、周波数増加終了時t1がパルス信号における半周期経過後であるか半周期経過前であるかを判断し、予め設定された周波数増加終了時t1がパルス信号における半周期経過後であるときには、補正期間TAを周波数増加終了時t1から次のパルス信号との境界であるパルスエッジまでの期間とするとともに、周波数増加終了時t1がパルス信号における半周期経過前であるときには、補正期間TAを、周波数増加終了時t1からその周波数増加終了時t1直後であってパルス信号内のパルスエッジまでの期間に、周波数一定期間T1におけるパルス信号の半周期を加えた期間とするようにしている。
【0042】
なお、図5(a)乃至(c)及び図6(a)乃至(c)は、図1(a)乃至(c)と同様に、理論上のパルス信号列、従来技術の加減速制御回路により出力されるパルス信号列、本実施形態のパルス信号の周波数制御方法により出力されるパルス信号列をそれぞれ示している。
【0043】
また、図5(d)及び図6(d)は、図5(a)乃至(c)及び図6(a)乃至(c)で示したパルス信号列が、周波数増加終了時t2に「H」又は「L」のいずれであったかを示す極性判別信号である。言い換えれば、図5(a)乃至(c)及び図6(a)乃至(c)で示したパルス信号列は、立ち上がりのパルスエッジで始まっていると考えられるので、図5(d)及び図6(d)に示す極性判別信号が「L」の場合は、周波数増加時t1がパルス信号における半周期経過後であることを示し、図5(d)及び図6(d)に示す極性判別信号が「H」の場合は、周波数増加時t1がパルス信号における半周期経過前であることを示している。なお、パルス信号列は、立ち上がりのパルスエッジで始まるものに限られるわけではない。
【0044】
前述した図5(a)乃至(c)に示したパルス信号列は、周波数増加終了時t1に「L」となっているので、図5(d)に示す極性判別信号も「L」となっており、周波数増加終了時t1がパルス信号における半周期経過後であることを認識することができる。この認識に基づいて、補正期間TAを、周波数増加終了時t1から次のパルス信号との境界であるパルスエッジまでの期間とするのである。そして、予め設定された周波数減少開始時からさらに、この補正期間TAが経過したときを、実際の周波数減少開始時t2とする補正を実行するのである。
【0045】
これに対して、図6(a)乃至(c)に示したパルス信号列は、周波数増加終了時t1に「H」となっているので、図6(d)に示す極性判別信号も「H」となっており、周波数増加終了時t1がパルス信号における半周期経過前であることを認識することができる。この認識に基づいて、補正期間TAを、周波数増加終了時t1から次のパルス信号との境界であるパルスエッジまでの期間に、周波数一定期間における半周期を加算した期間とするのである。そして、予め設定された周波数減少開始時からさらに、この補正期間TAが経過したときを、実際の周波数減少開始時t2とする補正を実行するのである。
【0046】
ところで、本実施形態のパルス信号の制御方法によれば、第1実施形態のパルス信号の制御方法による場合と同様に、パルス信号の周波数増加期間と周波数減少期間とは対称となっている。
【0047】
かかるパルス信号の周波数制御方法にあっては、第1実施形態のパルス信号の周波数制御方法による効果に加えて、周波数増加終了時t1がパルス信号における半周期経過前であるときには、補正期間TAを、周波数増加終了時t1からその周波数増加終了時t1直後のパルスエッジまでの期間に、既知のパルス信号の半周期を加えた期間とするのであって、周波数増加終了時t1を含むパルス信号における周波数増加終了時t1から次のパルス信号との境界であるパルスエッジまでの期間とするのではないから、周波数増加終了時t1を含むパルス信号において周波数一定期間とされた期間を計測する際に、その計測期間を、半周期以下とすることができる。
【0048】
次に、本発明の第3実施形態のパルス信号の周波数制御方法を図7に基づいて説明する。なお、第2実施形態のパルス信号の周波数制御方法と異なるところのみ記す。本実施形態のパルス信号の周波数制御方法は、基本的には第2実施形態のパルス信号の周波数制御方法と同様であるが、周波数増加終了時t1におけるパルス信号の周波数値を記憶し、その記憶した周波数値から起動値へ向かって、パルス信号の周波数を減少させるようにしている。すなわち、本実施形態のパルス信号の周波数制御方法を実行する構成(パルス信号の周波数制御回路)では、周波数増加終了時t1におけるパルス信号の周波数値を記憶する記憶手段として、専用レジスタ8を備えている。
【0049】
本実施形態のパルス信号の周波数制御方法を実行するための構成は、第1実施形態のパルス信号の周波数制御方法を実行するための構成と同様に、図2に示したパルス信号の出力回路を有している。この種のパルス信号の出力回路は、周波数値を順次加算可能な加算回路2を有しているので、このパルス信号の出力回路の有するフリップフロップ3では、周波数増加期間に内部に有する値と周波数減少期間に内部に有する値が異なってくることになる。
【0050】
しかしながら、本実施形態のパルス信号の周波数制御方法を実行するための構成では、前述した専用レジスタ8に、周波数増加終了時t1におけるパルス信号の周波数値を記憶させ、補正実行後の実際の周波数減少開始時t2に、専用レジスタ4に記憶させた周波数値を、フリップフロップ3に書き戻すことにより、周波数増加期間に内部に有する値と周波数減少期間に内部に有する値を同一とすることができる。その結果、本実施形態のパルス信号の周波数制御方法を実行するための構成では、周波数増加終了時t1におけるパルス信号の周波数値から起動値へ向かって、パルス信号の周波数を減少させることができるのである。
【0051】
また、本実施形態のパルス信号の周波数制御方法を実行するための構成は、周波数減少開始後に、フリップフロップ3からのパルス信号の出力極性を反転させる必要があるため、インバータを有する周知の出力反転回路(図示せず)を、フリップフロップ3の後段に設けるようにしている。
【0052】
ところで、本実施形態のパルス信号の制御方法によれば、第1実施形態のパルス信号の制御方法による場合と同様に、パルス信号の周波数増加期間と周波数減少期間とは対称となる。
【0053】
かかるパルス信号の周波数制御方法にあっては、第1実施形態のパルス信号の周波数制御方法による効果に加えて、周波数増加終了時t1におけるパルス信号の周波数値を記憶し、その記憶した周波数値から起動値へ向かって、パルス信号の周波数を減少させるのでから、パルス信号の周波数を増加させているときのその増加の程度と同様の程度で、パルス信号の周波数を減少させることができる。
【0054】
次に、本発明の第4実施形態のパルス信号の周波数制御方法を、図8に基づいて説明する。なお、第1実施形態のパルス信号の周波数制御方法と異なるところのみ記す。第1実施形態のパルス信号の周波数制御方法は、周波数一定期間がパルス信号の一周期以上の場合に適用される方法であって、予め設定された周波数減少開始時からさらに、前述した補正期間TAが経過したときを、実際の周波数減少開始時t2とする補正を実行するのに対し、本実施形態のパルス信号の周波数制御方法は、周波数一定期間がパルス信号の一周期未満の場合に適用される方法であって、周波数増加終了時t1を含むパルス信号内の周波数増加終了時t1直後のパルスエッジからさらに、前述した補正期間TAが経過したときを、実際の周波数減少開始時t2とする補正を実行するようにしている。
【0055】
なお、同図(a)及び(b)は、従来技術の加減速制御回路により出力されるパルス信号列、本実施形態のパルス信号の周波数制御方法により出力されるパルス信号列をそれぞれ示している。
【0056】
このパルス信号の周波数制御方法を実行するために、周波数増加終了時t1を含むパルス信号において周波数一定期間とされた期間を、周波数一定期間がパルス信号の一周期未満の場合に計測する第2の計測手段として、前述した計測手段と同様の第2のカウンタを備えることになる。
【0057】
この第2の計測手段は、周波数増加終了時t1を含むパルス信号において周波数一定期間とされた期間を、周波数一定期間がパルス信号の一周期未満の場合に計測するものであるから、周波数増加終了時t1を含むパルス信号において周波数一定期間とされた期間を、周波数一定期間がパルス信号の一周期以上の場合に計測する計測手段と同時期に動作することはない。
【0058】
従って、この第2の計測手段及び前述した計測手段を共に備えて、周波数一定期間がパルス信号の一周期以上のとき及び一周期未満のときのいずれであっても、周波数増加終了時t1を含むパルス信号において周波数一定期間とされた期間を計測する構成にする場合に、図9に示すように、計測手段としてのカウンタ7及び第2の計測手段としての第2のカウンタ9を共用にしてもよく、そのときは、部品点数を少なくすることができ、部品の実装面積も小さくすることができる。
【0059】
ところで、本実施形態のパルス信号の制御方法によれば、第1実施形態のパルス信号の制御方法による場合と同様に、パルス信号の周波数増加期間と周波数減少期間とは対称となる。
【0060】
かかるパルス信号の周波数制御方法にあっては、周波数一定期間がパルス信号の一周期未満である場合に、周波数増加終了時t1を含むパルス信号内の周波数増加終了時t1直後のパルスエッジからさらに、補正期間TAが経過したときを周波数減少開始時t2とする補正を実行することにより、周波数減少開始時を一定とすることができ、よって、実際の動作時間を、予め設定された動作時間に一致させることができるという効果を奏することができる。
【0061】
なお、本実施形態のパルス信号の周波数制御方法を実行する構成に、パルス信号の周波数を減少させる周波数増加終了時t1におけるパルス信号の周波数値を記憶する記憶手段として、専用レジスタ4を設けて、第3の実施形態のパルス信号の周波数制御方法のように、周波数増加終了時t1におけるパルス信号の周波数値を記憶し、その記憶した周波数値から起動値へ向かって、パルス信号の周波数を減少させる周波数増加終了時t1におけるパルス信号の周波数値を記憶するようにしてもよく、そのときは、パルス信号の周波数を増加させているときのその増加の程度と同様の程度で、パルス信号の周波数を減少させることができる。
【0062】
次に、本発明の第5実施形態のパルス信号の周波数制御方法を図10に基づいて説明する。なお、第4実施形態のパルス信号の周波数制御方法と異なるところのみ説明する。本実施形態のパルス信号の周波数制御方法は、基本的には第3実施形態のパルス信号の周波数制御方法と同様であるが、同図(a)に示すように、パルス信号が最初のパルスエッジの前に半周期未満の準備期間TBを有する場合に、同図(c)に示すように、起動値に復帰してからは、パルス信号の半周期経過後から、パルス信号の出力を規制するようにしている。
【0063】
なお、パルス信号が最初のパルスエッジの前に半周期未満の準備期間TBを有する場合とは、例えば、ステッピングモータやサーボメータ等の回転制御を行うのにあたって、最初の立ち上がりパルスエッジでもって駆動させるように、あえて、最初のパルスエッジの前に半周期未満の準備期間TBを有するようにした場合等のことを指している。
【0064】
詳しくは、予め設定された数のパルス信号のうち、最後のパルス信号の立下りとともに、同図(b)に示すように、マスク信号が「H」となる。このマスク信号が「H」の区間では、パルス信号の出力が規制されて、パルス信号の周波数増加期間と周波数減少期間とでは、対称ではなくなる。
【0065】
かかるパルス信号の制御方法によれば、第4実施形態のパルス信号の周波数制御方法による効果に加えて、パルス信号が最初のパルスエッジの前に半周期未満の準備期間TBを有する場合に、起動値に復帰してからパルス信号の半周期経過後から、パルス信号の出力を規制するのであるから、準備期間TBに対応する不要なパルス信号を出力しなくてもよくなる。
【0066】
【発明の効果】
請求項1記載のパルス信号の周波数制御方法によれば、周波数一定期間がパルス信号の一周期以上である場合に、周波数増加時のパルス信号数に基づいて設定された周波数減少開始時からさらに、補正期間が経過したときを、実際の周波数減少開始時とする補正を実行することにより、周波数減少開始時を一定とすることができ、よって、実際の動作時間を、予め設定された動作時間に一致させることができる。
【0067】
請求項2記載のパルス信号の周波数制御方法によれば、周波数一定期間がパルス信号の一周期未満である場合に、周波数増加終了時を含むパルス信号内の周波数増加終了時直後のパルスエッジからさらに、補正期間が経過したときを周波数減少開始時とする補正を実行することにより、周周波数減少開始時を一定とすることができ、よって、実際の動作時間を、予め設定された動作時間に一致させることができる
【0068】
請求項3記載のパルス信号の周波数制御方法によれば、請求項1記載のパルス信号の周波数制御方法による効果に加えて、周波数増加終了時がパルス信号における半周期経過前であるときには、補正期間を、周波数増加終了時からその周波数増加終了時直後のパルスエッジまでの期間に、既知のパルス信号の半周期を加えた期間とするのであって、周波数増加終了時を含むパルス信号における周波数増加終了時から次のパルス信号との境界であるパルスエッジまでの期間とするのではないから、周波数増加終了時を含むパルス信号において周波数一定期間とされた期間を計測する際に、その計測期間を、半周期以下とすることができる。
【0070】
請求項4記載のパルス信号の周波数制御方法によれば、請求項1乃至請求項3のいずれかに記載のパルス信号の周波数制御方法による効果に加えて、周波数増加終了時におけるパルス信号の周波数値を記憶し、その記憶した周波数値から起動値へ向かって、パルス信号の周波数を減少させるのでから、パルス信号の周波数を増加させているときのその増加の程度と同様の程度で、パルス信号の周波数を減少させることができる。
【0071】
請求項5記載のパルス信号の周波数制御方法によれば、請求項1乃至請求項3のいずれかに記載のパルス信号の周波数制御方法による効果に加えて、パルス信号が最初のパルスエッジの前に半周期未満の準備期間を有する場合に、起動値に復帰してからパルス信号の半周期経過後から、パルス信号の出力を規制するのであるから、準備期間に対応する不要なパルス信号を出力しなくてもよくなる。
【0072】
請求項6記載のパルス信号の周波数制御回路は、周波数一定期間がパルス信号の一周期以上である場合に、周波数増加終了時を含むパルス信号において周波数一定期間とされた期間よりなる補正期間を計測手段により計測し、周波数一定期間がパルス信号の一周期以上である場合に、周波数増加時のパルス信号数に基づいて設定された周波数減少開始時からさらに、補正期間が経過したときを周波数減少開始時とする補正を実行するのであるから、周波数減少開始時が一定となり、実際の動作時間を、予め設定された動作時間に一致させることができる。
【0073】
請求項7記載のパルス信号の周波数制御回路は、請求項6記載のパルス信号の周波数制御回路の効果に加えて、周波数一定期間がパルス信号の一周期未満である場合に、補正期間を第2の計測手段により計測し、周波数一定期間がパルス信号の一周期未満である場合に、周波数増加終了時直後のパルスエッジからさらに、補正期間が経過したときを周波数減少開始時とする補正を実行するのであるから、周波数減少開始時が一定となり、実際の動作時間を、予め設定された動作時間に一致させることができる。請求項8記載のパルス信号の周波数制御回路は、請求項7記載のパルス信号の周波数制御回路の効果に加えて、計測手段を第2の計測手段として使用するのであるから、2つの計測手段を設けなくてもよくなる。
【図面の簡単な説明】
【図1】本発明の第1実施形態のパルス信号の周波数制御回路により出力されるパルス信号列である。
【図2】同上の有するパルス信号の出力回路を示すブロック図である。
【図3】同上の有する内部構成のブロック図である。
【図4】同上の有する減速点検出部のブロック図である。
【図5】本発明の第2実施形態のパルス信号の周波数制御回路により、周波数増加終了時がパルス信号における半周期経過前であるときに出力されるパルス信号列である。
【図6】同上のパルス信号の周波数制御回路により、周波数増加終了時がパルス信号における半周期経過後であるときに出力されるパルス信号列である。
【図7】本発明の第3実施形態のパルス信号の周波数制御回路の動作説明図である。
【図8】本発明の第4実施形態のパルス信号の周波数制御回路により出力されるパルス信号列である。
【図9】計測手段としてのカウンタ及び第2の計測手段としての第2のカウンタを共用した場合の内部構成のブロック図である。
【図10】本発明の第5実施形態のパルス信号の周波数制御回路により出力されるパルス信号列である。
【図11】特開平10−215167号に開示されたパルス信号の出力回路のブロック図である。
【図12】同上の回路を利用したパルス駆動型モータの回転制御の説明図である。
【図13】特開2000−69776号公報により開示された加減速制御回路のブロック図である。
【図14】同上の有する減速点検出部のブロック図である。
【図15】同上の回路を利用したパルス駆動型モータの回転制御の説明図である。
【図16】予め設定された加速終了タイミングと実際の加速終了タイミングとが一致しないことを示す説明図である。
【図17】X軸方向及びY軸方向のそれぞれに独立に駆動させる直線補間を示す説明図である。
【図18】X軸方向の動作終了時とY軸方向の動作終了時とが一致する理想的な場合を示す説明図である。
【図19】X軸方向の動作終了時とY軸方向の動作終了時とが一致しなくなることを示す説明図である。
【符号の説明】
カウンタ 7
専用レジスタ(記憶手段) 8
第2のカウンタ 9
補正期間 TA
準備期間 TB
周波数増加終了時 t1
実際の周波数減少時 t2
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a pulse signal frequency control method and a pulse signal frequency control circuit for performing control to increase or decrease the frequency of a pulse signal used for rotation control of a pulse drive motor such as a stepping motor.
[0002]
[Prior art]
Conventionally, as a pulse signal output circuit, there is a circuit disclosed in JP-A-10-215167. As shown in FIG.n A frequency setting register 101 having at least (n + 1) bits for inputting the following frequency values; an adder circuit 102 capable of sequentially adding frequency values;n + 1A flip-flop 103 that sequentially accumulates and holds frequency values by the adder circuit 102 each time a clock pulse signal having a frequency of every second is input, and outputs a carry signal that has been raised to the (n + 1) th bit; It has a configuration provided.
[0003]
Since this circuit outputs a pulse signal having the frequency set in the frequency setting register 101, it is output by setting the frequency set to the frequency setting register 101 at an arbitrary timing to the division. The frequency of the pulse signal can be increased. In addition, this circuit can reduce the frequency of the pulse signal to be output by setting the frequency setting register 101 to a frequency that is reduced by division at an arbitrary timing.
[0004]
The rotation control of the pulse drive type motor using this circuit will be described with reference to FIG. Acceleration increases from the initial frequency, which is the starting value, to the target value, which is a higher frequency than the starting value. Done. On the other hand, as in the case of acceleration, when the frequency is reduced by an arbitrary number of steps at the timing indicated by the arrow from the target value described above toward the starting value, the deceleration is performed along with the decrease in the frequency. Is called.
[0005]
Next, frequency change for acceleration / deceleration described above will be described. The frequency change for acceleration is performed at the frequency update timing for acceleration determined by the acceleration time from the start of acceleration to the end of acceleration and the number of acceleration stages. Further, the frequency change for deceleration is performed at the frequency update timing for deceleration described later, similarly to the frequency change for acceleration.
[0006]
An example of a frequency control circuit for a pulse signal that determines the frequency update timing for deceleration includes an acceleration / deceleration control circuit disclosed in Japanese Patent Application Laid-Open No. 2000-69776. This circuit is a circuit for setting a frequency reduction start time in advance, and as shown in FIG. 13, a frequency changing unit 201 that performs control related to the frequency of the output pulse signal, and a movement that performs control related to the number of designated pulse signals. The quantity processing unit 202 includes a deceleration point detection unit 203 that automatically detects a deceleration point.
[0007]
Next, the above-described deceleration point detection unit 203 will be described in detail with reference to FIG. The deceleration point detection unit 203 includes a multiplexer 203a, a deceleration point detection counter 203b, an adder 203c, and a deceleration point detection circuit 203d.
[0008]
The multiplexer 203a selects “−1” whose absolute value is a predetermined value while the acceleration flag indicating that the motor whose rotation is controlled by the acceleration / deceleration control circuit is accelerating is not input, While being input to the adder 203c, while the accelerating flag is being input, “−2” whose absolute value is twice the predetermined value is selected and input to the adder 203c.
[0009]
Similar to the drive amount detection counter 202a included in the movement amount processing unit 202, the deceleration point detection counter 203b is set as a predetermined drive amount to the setting unit 201a included in the frequency change unit 201 when an activation request is made to the frequency change unit 201. The set predetermined count value is transferred. The deceleration point detection counter 203b receives a pulse signal having a frequency value corresponding to the speed of the motor, and for each pulse of the pulse output signal, that is, simultaneously with the change of the drive amount detection counter 202a, the adder 203c. The output value of the deceleration point detection counter 203b is fed back to the adder 203c.
[0010]
The adder 203c adds the input value from the multiplexer 203a and the feedback value from the deceleration point detection circuit 203d. Specifically, as shown in FIG. 15, while the motor is accelerating and the accelerating flag is input to the multiplexer 203a, “−2” is input from the multiplexer 203a and this “−2” is added. Thus, “2” is subtracted from the feedback value from the deceleration point detection circuit 203d, and the value obtained by the subtraction is input to the deceleration point detection counter 203b. The adder 203c receives "-1" from the multiplexer 203a while the motor is driven at a constant speed and the accelerating flag is not input to the multiplexer 203a. “1” is subtracted from the feedback value, and the value obtained by the subtraction is input to the deceleration point detection counter 203b.
[0011]
Thus, when the value subtracted by the adder 203c is input to the deceleration point detection counter 203b, the deceleration point detection counter 203b is simultaneously with the change of the drive amount detection counter 202a when the motor is not accelerating. When the motor is accelerating from the predetermined count value, the value changes by “1”, and when the motor is accelerating, the driving amount detection counter 202a changes at the same time by “2”, which is twice the predetermined value. Become smaller.
[0012]
The deceleration point detection circuit 203d detects a deceleration point at the start of frequency reduction based on a comparison between “0”, which is a preset reference value, and the counter value Cd of the deceleration point detection counter. Specifically, the deceleration point detection circuit 203d detects a deceleration point when the counter value Cd of the deceleration point detection counter 203b is equal to or less than the reference value “0”, and outputs a deceleration request flag to the frequency changing unit 301. To do.
[0013]
[Problems to be solved by the invention]
In the above conventional pulse signal frequency control circuit (acceleration / deceleration control circuit disclosed in Japanese Patent Laid-Open No. 2000-69976), although the pulse signal during acceleration is counted, the acceleration end timing is output. Since the rising edge and falling edge of the pulse signal are irrelevant, the preset acceleration end timing may not match the actual acceleration end timing.
[0014]
This will be described with reference to FIG. For example, when the pulse signal is counted by the rising edge, before the counted pulse signal is output, more specifically, the acceleration section is completed before one cycle of the counted pulse signal is completed. The actual acceleration end timing may be earlier than the preset acceleration end timing.
[0015]
Since the deceleration point (deceleration start timing) is also detected by counting the pulse signal as described above, the preset deceleration point and the actual deceleration point are similar to the acceleration end timing. If the actual deceleration point (deceleration start timing) is earlier than the preset deceleration point (deceleration start timing), as shown in FIG. Since a long pulse signal is output, the actual operation time becomes longer than the preset operation time.
[0016]
Furthermore, linear interpolation in which two motors are used to drive independently in each of the X-axis direction and the Y-axis direction will be described with reference to FIGS. Note that, as shown in FIG. 17, the linear interpolation is a synchronous control of the multi-axis motor so that the locus of coordinates is a straight line, and simultaneous activation and simultaneous stop are performed. In this linear interpolation, the combined target frequency in the X-axis direction and the Y-axis direction, the activation frequency and the target frequency in the X-axis direction and the Y-axis direction are set. In this linear interpolation, in theory, if simultaneous activation is performed, the operation is completed simultaneously as shown in FIG.
[0017]
However, as described above, when the preset deceleration point and the actual deceleration point do not coincide with each other, the actual operation time is different from the preset operation time, as shown in FIG. In addition, the end of the operation in the X-axis direction and the end of the operation in the Y-axis direction do not coincide with each other, and it is impossible to pass on a preset locus.
[0018]
The present invention has been made paying attention to the above points, and the object of the present invention is to provide a frequency control method and a frequency control for a pulse signal capable of making an actual operation time coincide with a preset operation time. It is to provide a circuit.
[0019]
[Means for Solving the Problems]
  In order to solve the above-described problem, the pulse signal frequency control method according to claim 1 is configured such that the activation value and a target value higher than the activation value are preset, and the pulse signal is maintained until the preset frequency increase ends. The frequency control method of the pulse signal that increases the frequency of the signal from the starting value toward the target value, and decreases and returns to the starting value after a certain period of frequency of one period or more of the pulse signal has elapsed. BecauseWhen the frequency fixed period is one cycle or more of the pulse signal,Based on a correction period consisting of a period of fixed frequency in the pulse signal including the end of frequency increase,When the correction period elapses from the preset frequency decrease start time, the frequency decrease start timeCorrection is executed.
[0020]
  In the frequency control method of the pulse signal according to claim 2, a starting value and a target value higher than the starting value are preset,The frequency of the pulse signal is increased from the activation value toward the target value until the preset frequency increase ends, and the activation value is reached after a certain frequency period of one or more periods of the pulse signal or less than one period has elapsed. A method for controlling the frequency of a pulse signal that is reduced and restored to a frequency signal, and when the constant frequency period is less than one cycle of the pulse signal, the correction includes a period that is a constant frequency period in the pulse signal including the end of the frequency increase. Based on the period, when the correction period elapses from the pulse edge immediately after the end of the frequency increase in the pulse signal including the end of the frequency increase, the start of the frequency decreaseCorrection is executed.
[0021]
  The frequency control method for a pulse signal according to claim 3 is:Claim 1In the frequency control method for a pulse signal described in the above, it is determined whether the end of the frequency increase is after a half cycle of the pulse signal or before the half cycle has elapsed, and the end of the frequency increase is after the half cycle of the pulse signal has elapsed. The correction period is a period from the end of the frequency increase in the pulse signal including the end of the frequency increase to the pulse edge that is the boundary with the next pulse signal, and the end of the frequency increase is in the pulse signal. When the half period has not elapsed, the correction period is a period obtained by adding a half period of the pulse signal to a period from the end of the frequency increase to the pulse edge in the pulse signal immediately after the end of the frequency increase. Like to do.
[0023]
  Claim 4The frequency control method of the described pulse signal isClaims 1 to 3In the frequency control method for a pulse signal according to any one of the above, the frequency value of the pulse signal at the end of the frequency increase is stored, and the frequency of the pulse signal is decreased from the stored frequency value toward the activation value. I try to let them.
[0024]
  Claim 5The frequency control method of the described pulse signal isClaims 1 to 3In the frequency control method for a pulse signal according to any one of the above, when the pulse signal has a preparation period of less than a half cycle before the first pulse edge, a half cycle of the pulse signal after returning to the activation value After the elapse of time, the output of the pulse signal is regulated.
[0025]
  Claim 6The described pulse signal frequency control circuit is preset with a starting value and a target value higher than the starting value, and increases the frequency of the pulse signal from the starting value toward the target value until the preset frequency increase ends. And a pulse signal frequency control circuit for reducing and returning to a starting value after a certain frequency period of one cycle or more or less than one cycle has elapsed. In the case where the period is equal to or longer than the period, a measuring unit is provided for measuring a correction period including a period that is a constant frequency period in the pulse signal including the end of frequency increase, and the constant frequency period is equal to or longer than one period of the pulse signal. Further, the correction is performed so that the frequency reduction starts when the correction period elapses from the preset frequency reduction start.
[0026]
  Claim 7The pulse signal frequency control circuit described isClaim 6In the pulse signal frequency control circuit described above, there is provided second measuring means for measuring the correction period when the fixed frequency period is less than one cycle of the pulse signal, and the fixed frequency period is less than one cycle of the pulse signal. In some cases, the correction is executed such that the frequency reduction starts when the correction period further elapses from the pulse edge immediately after the end of the frequency increase.
[0027]
  Claim 8The pulse signal frequency control circuit described isClaim 7DescribedPulse signal frequency control circuitThe measuring means is used as the second measuring means.
[0028]
DETAILED DESCRIPTION OF THE INVENTION
A frequency control method for a pulse signal according to the first embodiment of the present invention will be described with reference to FIGS. In this pulse signal frequency control method, a starting value and a target value higher than the starting value are set in advance, and the frequency of the pulse signal is changed from the starting value to the target value until the preset frequency increase end t1. A method of increasing the frequency and returning to a starting value after a certain frequency period of one or more cycles of the pulse signal has elapsed, wherein the pulse signal includes a frequency constant period in the pulse signal including the end t1 of the frequency increase. Based on the correction period TA, the correction for making the frequency reduction start time constant is executed.
[0029]
Of the frequency control method of this pulse signal, the method is the same as that of the prior art except for the method of executing the correction that makes the frequency reduction start time constant, and the explanation of the same points as the prior art is omitted.
[0030]
That is, as shown in FIG.n A frequency setting register 1 having at least (n + 1) bits for inputting the following frequency values, an adding circuit 2 capable of sequentially adding frequency values, and 2n + 1A flip-flop 3 that sequentially accumulates and holds frequency values by the adder circuit 2 every time a clock pulse signal having a frequency of every second is input, and outputs a carry signal that has been raised to the (n + 1) th bit; The pulse signal output circuit is provided, and the frequency setting register 1 is set to a frequency that is increased and divided at an arbitrary timing to increase the frequency of the pulse signal to be output. Regarding the method of reducing the frequency of the pulse signal to be output by setting a frequency that is reduced at an arbitrary timing, the pulse signal output disclosed in Japanese Patent Laid-Open No. 10-215167 already described as the prior art It is the same as the method.
[0031]
Also, as shown in FIGS. 3 and 4, a frequency changing unit 4 for controlling the frequency of the output pulse signal, a movement amount processing unit 5 for controlling the number of designated pulse signals, and automatically detecting a deceleration point The deceleration point detection unit 6 includes a multiplexer 6a, a deceleration point detection counter 6b, an adder 6c, and a deceleration point detection circuit 6d. As already described in the prior art, the method of making the frequency of the pulse signal constant from the start value to the target value and increasing the frequency until the end of the preset frequency increase and then making the frequency of the pulse signal constant is disclosed in Japanese Patent Application Laid-Open No. 2000-2000. This is the same as the method using the acceleration / deceleration control circuit disclosed in Japanese Patent No. 69776. Reference numeral 7 denotes a counter described later.
[0032]
Hereinafter, a detailed description will be given with reference to FIGS. 2A shows a theoretical pulse signal sequence that should be output in accordance with preset conditions, and FIG. 2B shows, for comparison, Japanese Patent Application No. Hei 10-10, which is a prior art. The pulse signal sequence output by the acceleration / deceleration control circuit disclosed in Japanese Patent No. 239850 is shown, and FIG. 10C shows the pulse signal sequence output by the pulse signal frequency control method of this embodiment.
[0033]
This figure shows three periods theoretically derived by the prior art disclosed in Japanese Patent Laid-Open No. 2000-69776, that is, a frequency increase period, a constant frequency period, and a frequency decrease period. Note that the fixed frequency period is one or more cycles of the pulse signal.
[0034]
Further, as shown in FIGS. 9A to 9C, the frequency increase end time t1, which is the end of the frequency increase period, may not coincide with the pulse edge of the pulse signal. For this reason, in the pulse signal including the frequency increase end time t1, a period before the frequency increase end time t1 in the same pulse signal has a longer period corresponding to the frequency increase. The period after t1 is a part of the constant frequency period.
[0035]
Therefore, as shown in FIG. 5B, in the conventional technique, the frequency constant period is shortened by the period of the frequency constant period in the same pulse signal, and the frequency reduction start time, which is the start time of the frequency reduction period, is also reduced. This is faster than the theoretical pulse signal sequence (FIG. 5A) that should be output in accordance with preset conditions. Therefore, as already described, as a problem of the prior art, the frequency is reduced, that is, a pulse signal having a long cycle is output, and the end of the frequency reduction that is the end of the output of the pulse signal. Is delayed.
[0036]
On the other hand, the pulse signal sequence output by the pulse signal frequency control method of the present embodiment is further reduced from the start of frequency reduction set in advance by the conventional technique disclosed in Japanese Patent Application Laid-Open No. 2000-69976. As shown in FIG. 5B, correction is performed so that the actual frequency decrease start time t2 is obtained when a correction period TA consisting of a period of constant frequency has elapsed in the pulse signal including the frequency increase end time t1. is doing. Therefore, in the pulse signal frequency control method of the present embodiment, the actual frequency reduction start time t2 can be made constant, and the frequency reduction end time, which is the pulse signal output end time, is output in accordance with preset conditions. This agrees with the theoretical pulse signal train (FIG. 5A) that should be performed.
[0037]
In order to execute the frequency control method of the pulse signal, when the constant frequency period is longer than the pulse signal of one cycle, the period that is the constant frequency period in the pulse signal including the end t1 of the pulse frequency increase, that is, the correction period As a measuring means for measuring TA, a counter 7 is provided as shown in FIG.
[0038]
The counter 7 counts up from the time t1 when the frequency increase ends to the next rising pulse edge, starts counting down from the preset frequency decrease start time, and returns to “0” to start the actual frequency decrease. Time t2 is set. Note that the measuring means is not limited to a counter that counts up and down.
[0039]
By the way, according to the pulse signal control method of the present embodiment, the frequency increase period and the frequency decrease period of the pulse signal are symmetrical.
[0040]
In such a frequency control method of the pulse signal, when a correction period TA consisting of a period of a constant frequency has elapsed in the pulse signal including the frequency increase end time t1 from the preset frequency decrease start time. By executing the correction at the actual frequency decrease start time t2, the frequency decrease start time can be made constant, and thus the actual operation time can be made to coincide with the preset operation time. There is an effect.
[0041]
Next, a pulse signal frequency control method according to a second embodiment of the present invention will be described with reference to FIGS. Only differences from the pulse signal frequency control method of the first embodiment will be described. The method of the pulse signal of this embodiment is basically the same as the frequency control method of the pulse signal of the first embodiment, but the time t1 when the frequency increase ends is after the half cycle of the pulse signal or the half cycle has elapsed. When the preset frequency increase end time t1 is after a half cycle of the pulse signal, the correction period TA is changed to a pulse edge that is a boundary between the frequency increase end time t1 and the next pulse signal. When the frequency increase end time t1 is before the half cycle of the pulse signal, the correction period TA is changed from the frequency increase end time t1 to immediately after the frequency increase end time t1 and the pulse in the pulse signal. The period up to the edge is set to a period obtained by adding a half cycle of the pulse signal in the constant frequency period T1.
[0042]
5 (a) to 5 (c) and FIGS. 6 (a) to 6 (c) are similar to FIGS. 1 (a) to 1 (c), the theoretical pulse signal train and the conventional acceleration / deceleration control circuit. 2 shows a pulse signal sequence output by the frequency signal control method and a pulse signal sequence output by the frequency control method of the pulse signal of this embodiment.
[0043]
5 (d) and 6 (d) show that the pulse signal sequence shown in FIGS. 5 (a) to (c) and FIGS. 6 (a) to (c) is “H” at the end of frequency increase t2. ”Or“ L ”. In other words, since the pulse signal sequences shown in FIGS. 5A to 5C and FIGS. 6A to 6C are considered to start at the rising pulse edge, FIG. 5D and FIG. When the polarity determination signal shown in FIG. 6 (d) is “L”, it indicates that the frequency increase time t1 is after the half cycle of the pulse signal, and the polarity determination shown in FIGS. 5 (d) and 6 (d). When the signal is “H”, it indicates that the frequency increase time t1 is before the half cycle of the pulse signal. Note that the pulse signal train is not limited to one that starts with a rising pulse edge.
[0044]
Since the pulse signal sequence shown in FIGS. 5A to 5C is “L” at the end of the frequency increase, the polarity determination signal shown in FIG. 5D is also “L”. Thus, it can be recognized that the time t1 when the frequency increase ends is after the half cycle of the pulse signal has elapsed. Based on this recognition, the correction period TA is set to a period from the time t1 when the frequency increase ends to the pulse edge that is the boundary with the next pulse signal. Then, the correction is performed such that the time when the correction period TA has elapsed from the preset frequency decrease start time is set to the actual frequency decrease start time t2.
[0045]
On the other hand, since the pulse signal sequence shown in FIGS. 6A to 6C is “H” at the time t1 when the frequency increase ends, the polarity determination signal shown in FIG. It can be recognized that the time t1 when the frequency increase ends is before the half cycle of the pulse signal. Based on this recognition, the correction period TA is set to a period obtained by adding a half cycle in a constant frequency period to the period from the end of frequency increase t1 to the pulse edge which is the boundary with the next pulse signal. Then, the correction is performed such that the time when the correction period TA has elapsed from the preset frequency decrease start time is set to the actual frequency decrease start time t2.
[0046]
By the way, according to the pulse signal control method of the present embodiment, the frequency increase period and the frequency decrease period of the pulse signal are symmetric as in the case of the pulse signal control method of the first embodiment.
[0047]
In such a pulse signal frequency control method, in addition to the effect of the pulse signal frequency control method of the first embodiment, when the frequency increase end time t1 is before the half cycle of the pulse signal, the correction period TA is set. A period in which a half period of a known pulse signal is added to a period from the end of frequency increase t1 to the pulse edge immediately after the end of frequency increase t1, and the frequency in the pulse signal including the end of frequency increase t1 Since it is not the period from the end t1 of the increase to the pulse edge that is the boundary with the next pulse signal, when measuring the period of the frequency constant in the pulse signal including the end t1 of the frequency increase, A measurement period can be made into a half cycle or less.
[0048]
Next, a frequency control method for a pulse signal according to a third embodiment of the present invention will be described with reference to FIG. Only the differences from the pulse signal frequency control method of the second embodiment will be described. The frequency control method of the pulse signal of the present embodiment is basically the same as the frequency control method of the pulse signal of the second embodiment, but the frequency value of the pulse signal at the end of frequency increase t1 is stored and stored. The frequency of the pulse signal is decreased from the measured frequency value toward the starting value. That is, the configuration (pulse signal frequency control circuit) that executes the frequency control method of the pulse signal of the present embodiment includes the dedicated register 8 as a storage unit that stores the frequency value of the pulse signal at the time t1 when the frequency increase ends. Yes.
[0049]
The configuration for executing the pulse signal frequency control method of the present embodiment is similar to the configuration for executing the pulse signal frequency control method of the first embodiment, and the pulse signal output circuit shown in FIG. Have. Since this type of pulse signal output circuit has an adder circuit 2 capable of sequentially adding frequency values, the flip-flop 3 of this pulse signal output circuit has an internal value and frequency during the frequency increase period. The internal value will be different during the decrease period.
[0050]
However, in the configuration for executing the pulse signal frequency control method of this embodiment, the dedicated register 8 stores the frequency value of the pulse signal at the time t1 when the frequency increase ends, and the actual frequency decrease after the correction is executed. At the start time t2, the frequency value stored in the dedicated register 4 is written back to the flip-flop 3, so that the internal value during the frequency increase period and the internal value during the frequency decrease period can be made the same. As a result, in the configuration for executing the frequency control method of the pulse signal of the present embodiment, the frequency of the pulse signal can be decreased from the frequency value of the pulse signal at the end of frequency increase t1 toward the starting value. is there.
[0051]
In addition, the configuration for executing the frequency control method of the pulse signal of the present embodiment needs to invert the output polarity of the pulse signal from the flip-flop 3 after the start of the frequency reduction, so that the well-known output inversion having an inverter A circuit (not shown) is provided after the flip-flop 3.
[0052]
By the way, according to the pulse signal control method of the present embodiment, the frequency increase period and the frequency decrease period of the pulse signal are symmetric as in the case of the pulse signal control method of the first embodiment.
[0053]
In this pulse signal frequency control method, in addition to the effect of the pulse signal frequency control method of the first embodiment, the frequency value of the pulse signal at the end of frequency increase t1 is stored, and from the stored frequency value Since the frequency of the pulse signal is decreased toward the starting value, the frequency of the pulse signal can be decreased to the same degree as the increase when the frequency of the pulse signal is increased.
[0054]
Next, a pulse signal frequency control method according to a fourth embodiment of the present invention will be described with reference to FIG. Only differences from the pulse signal frequency control method of the first embodiment will be described. The frequency control method of the pulse signal according to the first embodiment is a method applied when the fixed frequency period is one period or more of the pulse signal. The correction period TA described above is further applied from the preset frequency reduction start time. The correction of the actual frequency decrease start time t2 is executed when the time elapses, while the pulse signal frequency control method of the present embodiment is applied when the fixed frequency period is less than one cycle of the pulse signal. In this method, when the above-described correction period TA has further elapsed from the pulse edge immediately after the frequency increase end time t1 in the pulse signal including the frequency increase end time t1, the correction is performed so that the actual frequency decrease start time t2 is reached. To do.
[0055]
FIGS. 7A and 7B respectively show a pulse signal sequence output by the conventional acceleration / deceleration control circuit and a pulse signal sequence output by the pulse signal frequency control method of the present embodiment. .
[0056]
In order to execute the frequency control method of the pulse signal, a second period is measured when the constant frequency period is less than one period of the pulse signal in the pulse signal including the frequency increase end time t1. As the measurement means, a second counter similar to the measurement means described above is provided.
[0057]
This second measuring means measures the period of the pulse signal including the frequency increase end time t1, which is a constant frequency period, when the constant frequency period is less than one cycle of the pulse signal. The pulse signal including the time t1 does not operate at the same time as the measurement unit that measures the period of the fixed frequency period when the fixed frequency period is one cycle or more of the pulse signal.
[0058]
Accordingly, both the second measuring means and the above-described measuring means are provided, and the frequency increase end time t1 is included regardless of whether the frequency constant period is one cycle or more and less than one cycle of the pulse signal. When the pulse signal is configured to measure a period with a constant frequency, as shown in FIG. 9, the counter 7 as the measuring means and the second counter 9 as the second measuring means may be shared. In that case, the number of parts can be reduced and the mounting area of the parts can also be reduced.
[0059]
By the way, according to the pulse signal control method of the present embodiment, the frequency increase period and the frequency decrease period of the pulse signal are symmetric as in the case of the pulse signal control method of the first embodiment.
[0060]
In such a frequency control method of the pulse signal, when the frequency constant period is less than one cycle of the pulse signal, the pulse signal further includes a pulse edge immediately after the frequency increase end time t1 in the pulse signal including the frequency increase end time t1. By executing a correction that makes the frequency reduction start time t2 when the correction period TA has elapsed, the frequency reduction start time can be made constant, so that the actual operation time matches the preset operation time. The effect that it can be made can be produced.
[0061]
In the configuration for executing the pulse signal frequency control method of the present embodiment, a dedicated register 4 is provided as a storage means for storing the frequency value of the pulse signal at the end of frequency increase t1 for decreasing the frequency of the pulse signal, As in the pulse signal frequency control method of the third embodiment, the frequency value of the pulse signal at the end of frequency increase t1 is stored, and the frequency of the pulse signal is decreased from the stored frequency value toward the starting value. The frequency value of the pulse signal at the end of the frequency increase t1 may be stored. At that time, the frequency of the pulse signal is set to the same level as the increase in the frequency of the pulse signal. Can be reduced.
[0062]
Next, a frequency control method for a pulse signal according to a fifth embodiment of the present invention will be described with reference to FIG. Only differences from the pulse signal frequency control method of the fourth embodiment will be described. The frequency control method of the pulse signal of this embodiment is basically the same as the frequency control method of the pulse signal of the third embodiment, but the pulse signal is the first pulse edge as shown in FIG. In the case of having a preparation period TB less than half a cycle before, after returning to the starting value, the output of the pulse signal is regulated after the half cycle of the pulse signal has elapsed, as shown in FIG. I am doing so.
[0063]
Note that the case where the pulse signal has a preparatory period TB of less than a half cycle before the first pulse edge means, for example, that the drive is performed with the first rising pulse edge when performing rotation control of a stepping motor, servometer, or the like. As described above, this indicates a case where the preparation period TB is less than a half cycle before the first pulse edge.
[0064]
Specifically, among the preset number of pulse signals, the mask signal becomes “H” as shown in FIG. In the section where the mask signal is “H”, the output of the pulse signal is restricted, and the frequency increase period and the frequency decrease period of the pulse signal are not symmetrical.
[0065]
According to such a pulse signal control method, in addition to the effect of the pulse signal frequency control method of the fourth embodiment, when the pulse signal has a preparatory period TB of less than a half cycle before the first pulse edge, it is activated. Since the output of the pulse signal is regulated after the half cycle of the pulse signal has elapsed after returning to the value, it is not necessary to output an unnecessary pulse signal corresponding to the preparation period TB.
[0066]
【The invention's effect】
  According to the frequency control method of the pulse signal according to claim 1,When the frequency fixed period is one cycle or more of the pulse signal, the time when the correction period has passed since the start of the frequency decrease set based on the number of pulse signals at the time of the frequency increase is the time when the actual frequency decrease starts. By executing the correction to perform, it is possible to make the frequency reduction start time constant, so that the actual operation time isIt is possible to match the preset operation time.
[0067]
  According to the pulse signal frequency control method of claim 2.When the fixed frequency period is less than one cycle of the pulse signal, the time when the correction period elapses from the pulse edge immediately after the end of the frequency increase in the pulse signal including the end of the frequency increase is the start time of the frequency decrease. By executing the correction, the start of the circumferential frequency reduction can be made constant,Therefore, the actual operation time can be matched with the preset operation time..
[0068]
  According to the frequency control method of a pulse signal according to claim 3,Claim 1In addition to the effects of the frequency control method of the pulse signal described above, when the end of the frequency increase is before the half cycle of the pulse signal, the correction period is set from the end of the frequency increase to the pulse edge immediately after the end of the frequency increase. The period is a period obtained by adding a half cycle of a known pulse signal to the period from the end of the frequency increase to the pulse edge that is the boundary with the next pulse signal, including the end of the frequency increase. Therefore, when measuring a period of a constant frequency in a pulse signal including the end of frequency increase, the measurement period can be set to a half cycle or less.
[0070]
  Claim 4According to the frequency control method of the described pulse signal,Claims 1 to 3In addition to the effect of the frequency control method for the pulse signal described in any of the above, the frequency value of the pulse signal at the end of the frequency increase is stored, and the frequency of the pulse signal is decreased from the stored frequency value toward the starting value. Therefore, the frequency of the pulse signal can be reduced to the same extent as the increase in the frequency of the pulse signal.
[0071]
  Claim 5According to the frequency control method of the described pulse signal,Claims 1 to 3In addition to the effect of the frequency control method of the pulse signal described in any of the above, when the pulse signal has a preparatory period of less than a half cycle before the first pulse edge, the pulse signal half Since the output of the pulse signal is regulated after the elapse of the cycle, it is not necessary to output an unnecessary pulse signal corresponding to the preparation period.
[0072]
  Claim 6The frequency control circuit for a pulse signal described above uses a measuring means to measure a correction period consisting of a period of a constant frequency in a pulse signal including the end of frequency increase when the constant frequency period is one cycle or more of the pulse signal. When the fixed frequency period is one cycle or more of the pulse signal, the time when the correction period elapses after the start of the frequency decrease set based on the number of pulse signals at the time of the frequency increase is set as the frequency decrease start time. Since the correction is executed, the frequency reduction start time is constant, and the actual operation time can be matched with the preset operation time.
[0073]
  Claim 7The frequency control circuit of the described pulse signal isClaim 6In addition to the effect of the frequency control circuit for the pulse signal described above, when the fixed frequency period is less than one cycle of the pulse signal, the correction period is measured by the second measuring means, and the fixed frequency period is one cycle of the pulse signal. In the case where the frequency decrease is less than the frequency edge, the correction at the start of the frequency decrease is executed after the correction period has passed since the pulse edge immediately after the end of the frequency increase.BecomeThe actual operation time can be matched with a preset operation time.Claim 8The frequency control circuit of the described pulse signal isClaim 7In addition to the effect of the frequency control circuit for the pulse signal described, the measuring means is used as the second measuring means, so that it is not necessary to provide two measuring means.
[Brief description of the drawings]
FIG. 1 is a pulse signal sequence output by a pulse signal frequency control circuit according to a first embodiment of the present invention.
FIG. 2 is a block diagram showing a pulse signal output circuit having the same as above.
FIG. 3 is a block diagram of the internal configuration of the above.
FIG. 4 is a block diagram of a deceleration point detection unit included in the above.
FIG. 5 is a pulse signal train output when the end of frequency increase is before the half cycle of the pulse signal has elapsed by the pulse signal frequency control circuit of the second embodiment of the present invention.
FIG. 6 is a pulse signal sequence output when the end of the frequency increase is after a half period of the pulse signal has elapsed by the pulse signal frequency control circuit described above.
FIG. 7 is an operation explanatory diagram of a frequency control circuit for a pulse signal according to a third embodiment of the present invention.
FIG. 8 is a pulse signal train output by a pulse signal frequency control circuit according to a fourth embodiment of the present invention.
FIG. 9 is a block diagram of an internal configuration when a counter as a measurement unit and a second counter as a second measurement unit are shared.
FIG. 10 is a pulse signal string output by a pulse signal frequency control circuit according to a fifth embodiment of the present invention.
FIG. 11 is a block diagram of a pulse signal output circuit disclosed in Japanese Patent Laid-Open No. 10-215167.
FIG. 12 is an explanatory diagram of rotation control of a pulse drive type motor using the circuit described above.
FIG. 13 is a block diagram of an acceleration / deceleration control circuit disclosed in Japanese Patent Application Laid-Open No. 2000-69776.
FIG. 14 is a block diagram of a deceleration point detection unit included in the above.
FIG. 15 is an explanatory diagram of rotation control of a pulse drive type motor using the circuit described above.
FIG. 16 is an explanatory diagram showing that a preset acceleration end timing does not coincide with an actual acceleration end timing.
FIG. 17 is an explanatory diagram showing linear interpolation that is driven independently in each of the X-axis direction and the Y-axis direction.
FIG. 18 is an explanatory diagram showing an ideal case where the end of operation in the X-axis direction matches the end of operation in the Y-axis direction.
FIG. 19 is an explanatory diagram showing that the end of operation in the X-axis direction and the end of operation in the Y-axis direction do not match.
[Explanation of symbols]
Counter 7
Dedicated register (memory means) 8
Second counter 9
Correction period TA
Preparation period TB
At the end of frequency increase t1
When frequency actually decreases t2

Claims (8)

起動値及びその起動値よりも高い目標値が予め設定され、予め設定された周波数増加終了時まで、パルス信号の周波数を、起動値から目標値に向かって増加させるとともに、パルス信号の一周期以上又は一周期未満の周波数一定期間が経過してから、起動値まで減少させて復帰させるパルス信号の周波数制御方法であって、前記周波数一定期間が前記パルス信号の一周期以上である場合に、周波数増加終了時を含むパルス信号において周波数一定期間とされた期間よりなる補正期間に基づいて、予め設定された周波数減少開始時からさらに前記補正期間が経過したときを前記周波数減少開始時とする補正を実行することを特徴とするパルス信号の周波数制御方法。The starting value and a target value higher than the starting value are preset, and the frequency of the pulse signal is increased from the starting value toward the target value until the preset frequency increase ends, and at least one cycle of the pulse signal Or a frequency control method for a pulse signal that is reduced to a starting value and restored after a certain frequency period less than one period has elapsed, and the frequency is determined when the certain frequency period is one period or more of the pulse signal. Based on a correction period consisting of a period of a constant frequency in the pulse signal including the end of the increase, a correction is made so that the frequency decrease start time is when the correction period has further passed from a preset frequency decrease start time. A frequency control method for a pulse signal, which is executed . 起動値及びその起動値よりも高い目標値が予め設定され、予め設定された周波数増加終了時まで、パルス信号の周波数を、起動値から目標値に向かって増加させるとともに、パルス信号の一周期以上又は一周期未満の周波数一定期間が経過してから、起動値まで減少させて復帰させるパルス信号の周波数制御方法であって、前記周波数一定期間が前記パルス信号の一周期未満である場合に、周波数増加終了時を含むパルス信号において周波数一定期間とされた期間よりなる補正期間に基づいて、前記周波数増加終了時を含むパルス信号内の前記周波数増加終了時直後のパルスエッジからさらに前記補正期間が経過したときを前記周波数減少開始時とする補正を実行することを特徴とするパルス信号の周波数制御方法。The starting value and a target value higher than the starting value are preset, and the frequency of the pulse signal is increased from the starting value toward the target value until the preset frequency increase ends, and at least one cycle of the pulse signal Or a frequency control method for a pulse signal that is reduced to a starting value and returned after a certain frequency period less than one period has elapsed, and the frequency is determined when the certain frequency period is less than one period of the pulse signal. Based on a correction period consisting of a period with a constant frequency in the pulse signal including the end of the increase, the correction period further elapses from the pulse edge immediately after the end of the frequency increase in the pulse signal including the end of the frequency increase. A frequency control method for a pulse signal, wherein correction is performed so that the frequency reduction starts at the start of the frequency reduction . 前記周波数増加終了時がパルス信号における半周期経過後であるか半周期経過前であるかを判断し、前記周波数増加終了時がパルス信号における半周期経過後であるときには、前記補正期間を、周波数増加終了時を含むパルス信号における周波数増加終了時から次のパルス信号との境界であるパルスエッジまでの期間とするとともに、前記周波数増加終了時がパルス信号における半周期経過前であるときには、前記補正期間を、前記周波数増加終了時からその前記周波数増加終了時直後であってパルス信号内のパルスエッジまでの期間に、パルス信号の半周期を加えた期間とする請求項1記載のパルス信号の周波数制御方法。It is determined whether the end of the frequency increase is after a half cycle of the pulse signal or before the half cycle has elapsed, and when the end of the frequency increase is after the half cycle of the pulse signal has elapsed, the correction period is set to the frequency In the pulse signal including the end of the increase, the period from the end of the frequency increase to the pulse edge that is the boundary with the next pulse signal, and when the end of the frequency increase is before the half cycle of the pulse signal, the correction 2. The frequency of the pulse signal according to claim 1, wherein the period is a period obtained by adding a half cycle of the pulse signal to a period from the end of the frequency increase to immediately after the end of the frequency increase and to the pulse edge in the pulse signal. Control method. 前記周波数増加終了時における前記パルス信号の周波数値を記憶し、その記憶した周波数値から前記起動値へ向かって、前記パルス信号の周波数を減少させる請求項1乃至請求項3のいずれかに記載のパルス信号の周波数制御方法。Storing the frequency value of the pulse signal when the frequency increases ends, toward the frequency value thereof stored to the starting value, according to any one of claims 1 to 3 to reduce the frequency of the pulse signal Pulse signal frequency control method. 前記パルス信号が最初のパルスエッジの前に半周期未満の準備期間を有する場合に、前記起動値に復帰してから前記パルス信号の半周期経過後から、前記パルス信号の出力を規制する請求項1乃至請求項3のいずれかに記載のパルス信号の周波数制御方法。When the pulse signal has a preparation period of less than a half cycle before the first pulse edge, the claims from after a half period of said pulse signal has returned to the starting value, to regulate the output of the pulse signal The frequency control method of the pulse signal in any one of Claim 1 thru | or 3 . 起動値及びその起動値よりも高い目標値が予め設定され、予め設定された周波数増加終了時まで、パルス信号の周波数を、起動値から目標値に向かって増加させるとともに、パルス信号の一周期以上又は一周期未満の周波数一定期間が経過してから、起動値まで減少させて復帰させるパルス信号の周波数制御回路であって、前記周波数一定期間がパルス信号の一周期以上である場合に、周波数増加終了時を含むパルス信号において周波数一定期間とされた期間よりなる補正期間を計測する計測手段を設け、前記周波数一定期間がパルス信号の一周期以上である場合に、予め設定された周波数減少開始時からさらに、補正期間が経過したときを周波数減少開始時とする補正を実行するようにしたことを特徴とするパルス信号の周波数制御回路。  The start value and a target value higher than the start value are preset, and the frequency of the pulse signal is increased from the start value toward the target value until the preset frequency increase ends, and at least one cycle of the pulse signal Or a frequency control circuit for a pulse signal that is reduced to a starting value and restored after a certain frequency period of less than one cycle has elapsed, and the frequency increases when the certain frequency period is one period or more of the pulse signal. Provided with a measuring means for measuring a correction period consisting of a period of a constant frequency in the pulse signal including the end time, and when the frequency constant period is more than one period of the pulse signal, a preset frequency reduction start time Further, the frequency control circuit for the pulse signal is characterized in that the correction is performed so that the frequency reduction starts when the correction period elapses. 前記周波数一定期間がパルス信号の一周期未満である場合に前記補正期間を計測する第2の計測手段を設け、前記周波数一定期間がパルス信号の一周期未満である場合に、前記周波数増加終了時直後のパルスエッジからさらに前記補正期間が経過したときを周波数減少開始時とする補正を実行するようにしたことを特徴とする請求項6記載のパルス信号の周波数制御回路。A second measuring means for measuring the correction period when the fixed frequency period is less than one cycle of the pulse signal; and when the frequency increase ends when the fixed frequency period is less than one cycle of the pulse signal. 7. The frequency control circuit for a pulse signal according to claim 6 , wherein correction is performed such that the time when the correction period elapses from the immediately following pulse edge is the start of frequency reduction. 前記計測手段を前記第2の計測手段として使用した請求項7記載のパルス信号の周波数制御回路。8. A frequency control circuit for a pulse signal according to claim 7 , wherein the measuring means is used as the second measuring means.
JP2001364396A 2001-11-29 2001-11-29 Pulse signal frequency control method and frequency control circuit Expired - Fee Related JP3829701B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001364396A JP3829701B2 (en) 2001-11-29 2001-11-29 Pulse signal frequency control method and frequency control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001364396A JP3829701B2 (en) 2001-11-29 2001-11-29 Pulse signal frequency control method and frequency control circuit

Publications (2)

Publication Number Publication Date
JP2003169498A JP2003169498A (en) 2003-06-13
JP3829701B2 true JP3829701B2 (en) 2006-10-04

Family

ID=19174594

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001364396A Expired - Fee Related JP3829701B2 (en) 2001-11-29 2001-11-29 Pulse signal frequency control method and frequency control circuit

Country Status (1)

Country Link
JP (1) JP3829701B2 (en)

Also Published As

Publication number Publication date
JP2003169498A (en) 2003-06-13

Similar Documents

Publication Publication Date Title
JPS6135561B2 (en)
JP4253372B2 (en) Elevator speed control apparatus and recording medium recording elevator speed detection program
JP3829701B2 (en) Pulse signal frequency control method and frequency control circuit
JP3180494B2 (en) Logic device
JPS61269697A (en) Pulse motor controller
KR100737557B1 (en) Stepping motor control circuit, electronic camera, and stepping motor control method
JP2012083273A (en) Pointer type electronic timepiece
JP3538358B2 (en) Programmable controller
CN112416540A (en) Timing control method and device and vehicle
JP2811187B2 (en) Low vibration driving method of pulse motor and its circuit
JPH07118926B2 (en) Motor digital controller
JP3070928B2 (en) Excitation controller for variable reluctance motor
JP2001352775A (en) Rotational speed detector for induction motor
JPH07168626A (en) Method for acceleration and deceleration control
US20050258787A1 (en) Pulse generating method and pulse generator, and motor control system using the same
JP3302907B2 (en) PWM output control circuit
JP3736441B2 (en) Pulse signal frequency control circuit
JPS626880Y2 (en)
CN115882756A (en) Processing method for two input instruction modes of stepping motor driver
JP3555726B2 (en) Pulse generator
JP2000060177A (en) Speed controller for dc brushless motor
JP2000055958A (en) Duty ratio deciding circuit and method for deciding duty rato
JP2003243968A (en) Frequency control method and frequency control circuit for pulse signal
JPS6055873A (en) Speed detecting method
JP2009254024A (en) Pulse motor drive unit, drive method, and pulse motor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051025

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060110

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060310

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060703

R151 Written notification of patent or utility model registration

Ref document number: 3829701

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20090721

Year of fee payment: 3

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20090721

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090721

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100721

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100721

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110721

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120721

Year of fee payment: 6

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20120721

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20120721

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130721

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20130721

Year of fee payment: 7

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20130721

Year of fee payment: 7

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

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

LAPS Cancellation because of no payment of annual fees