JP3248143B2 - Digital AC servo device - Google Patents

Digital AC servo device

Info

Publication number
JP3248143B2
JP3248143B2 JP00608194A JP608194A JP3248143B2 JP 3248143 B2 JP3248143 B2 JP 3248143B2 JP 00608194 A JP00608194 A JP 00608194A JP 608194 A JP608194 A JP 608194A JP 3248143 B2 JP3248143 B2 JP 3248143B2
Authority
JP
Japan
Prior art keywords
timer
register
pulse
signal
circuit
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
JP00608194A
Other languages
Japanese (ja)
Other versions
JPH07209316A (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 Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP00608194A priority Critical patent/JP3248143B2/en
Publication of JPH07209316A publication Critical patent/JPH07209316A/en
Application granted granted Critical
Publication of JP3248143B2 publication Critical patent/JP3248143B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Control Of Ac Motors In General (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、ACサーボモータを制
御するためのデジタルACサーボ装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital AC servo device for controlling an AC servomotor.

【0002】[0002]

【従来の技術】ACサーボモータを制御するために特開
平5−15184号公報に示すような速度検出装置が用
いられている。以下、従来のデジタルACサーボ装置に
ついて図5および図6を参照しながら説明する。図5は
従来のデジタルACサーボ装置のブロック図で、図5に
示すように、制御対象のモータ1より出力されるエンコ
ーダ2のA相,B相パルスを4逓倍カウンタ回路3で4
逓倍カウントされ、モータ1の回転量を表すパルスカウ
ント値を計測し、タイマカウンタ回路4で時間計測す
る。そして、4逓倍カウンタ回路3はパルスレジスタ5
へ、タイマカウンタ回路4はタイマレジスタ6へ保持信
号に同期してカウント値が保持される。また、エッジ検
出信号発生回路7では、エンコーダ2のA相,B相パル
ス信号それぞれの立ち下がり、立ち上がりとクロック回
路8より出力されるクロックに同期して検出信号を出力
する。
2. Description of the Related Art In order to control an AC servomotor, a speed detecting device as disclosed in Japanese Patent Application Laid-Open No. 5-15184 is used. Hereinafter, a conventional digital AC servo device will be described with reference to FIGS. FIG. 5 is a block diagram of a conventional digital AC servo device. As shown in FIG. 5, the A-phase and B-phase pulses of the encoder 2 output from the motor 1 to be controlled are converted into four pulses by the quadruple counter circuit 3.
A pulse count value indicating the amount of rotation of the motor 1 is counted by multiplication and the time is measured by the timer counter circuit 4. The 4 × counter circuit 3 includes a pulse register 5
The timer counter circuit 4 holds the count value in the timer register 6 in synchronization with the holding signal. Further, the edge detection signal generation circuit 7 outputs a detection signal in synchronization with the falling and rising edges of the A-phase and B-phase pulse signals of the encoder 2 and the clock output from the clock circuit 8.

【0003】そして、CPU9がパルスレジスタ5とタ
イマレジスタ6とを連続読み込みするとき、読み込み中
に一方のレジスタの内容が書き変わらないために、図6
のタイミング図に示すように、CPU9より読み込みフ
ラグHレベルが保持信号発生判定回路13に出力され、
エッジ検出信号発生回路7より検出信号が出力されると
保持信号発生判定回路13より読み込みフラグLレベル
をCPU9に出力し、パルスレジスタ5とタイマレジス
タ6に保持信号を発生する。CPU9は読み込みフラグ
がLレベルであることを確認し、パルスレジスタ5より
パルスカウント値、タイマレジスタ6よりタイマカウン
ト値を読み込み、モータ回転速度を算出し、モータを制
御する。このように、CPU9が2つのレジスタを連続
読み込みするとき、読み込み中に一方のレジスタの内容
が書き変わらないために、CPU9で読み込まれるモー
タ回転速度は、実速度より1読み込み周期遅れることに
なる。
When the CPU 9 reads the pulse register 5 and the timer register 6 successively, the contents of one of the registers do not change during reading.
As shown in the timing chart, the read flag H level is output from the CPU 9 to the holding signal generation determination circuit 13,
When the detection signal is output from the edge detection signal generation circuit 7, the read flag L level is output from the hold signal generation determination circuit 13 to the CPU 9, and the hold signal is generated in the pulse register 5 and the timer register 6. The CPU 9 confirms that the read flag is at the L level, reads the pulse count value from the pulse register 5 and the timer count value from the timer register 6, calculates the motor rotation speed, and controls the motor. As described above, when the CPU 9 reads two registers consecutively, the content of one register does not change during reading, so that the motor rotation speed read by the CPU 9 is delayed by one reading cycle from the actual speed.

【0004】[0004]

【発明が解決しようとする課題】このような従来のデジ
タルACサーボ装置では、CPU9が2つのレジスタを
連続読み込みするときに一方のレジスタの内容が書き変
わらないために、CPU9で読み込まれるモータ回転速
度は、実速度より1読み込み周期遅れることにより、正
確なモータの速度情報を得ることは困難なものである。
In such a conventional digital AC servo device, when the CPU 9 reads two registers successively, the contents of one of the registers do not change. It is difficult to obtain accurate motor speed information due to the delay of one reading cycle from the actual speed.

【0005】本発明は、このような課題を解決するもの
で、CPUに読み込まれるモータ回転速度が実速度より
1読み込み周期遅れることがなく、正確なモータの速度
情報を得ることを目的とする。
An object of the present invention is to solve the above problem and to obtain accurate motor speed information without causing the motor rotation speed read by the CPU to be delayed by one reading cycle from the actual speed.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に本発明は、制御対象のモータより出力されるエンコー
ダA相、B相パルスを4逓倍カウントし、モータの回転
量を表すパルスカウント値を計測する4逓倍カウンタ回
路と、駆動クロックを発生するクロック回路と、エンコ
ーダA相、B相パルス信号それぞれの立ち下がり、立ち
上がりとクロックに同期して検出信号を出力するエッジ
検出信号発生回路と、その検出信号により4逓倍カウン
タ回路のパルスカウント値を保持するパルスレジスタ
と、時間計測するタイマカウンタ回路と、そのタイマカ
ウント値を保持信号により保持するタイマレジスタと、
パルスレジスタに保持されたパルスカウント値とタイマ
レジスタに保持されたタイマカウント値とを連続に読み
込みモータ回転速度を算出し、モータを制御するCPU
と、そのCPUがパルスレジスタとタイマレジスタを連
続で読み込むとき発生するアクセスウェイト時間の間
上記エッジ検出信号発生回路より出力される検出信号
遅延して、タイマレジスタの値が変わらないようにタイ
マカウンタ回路からタイマレジスタに保持するための保
持信号を発生するタイマ保持信号遅延回路とを有するも
のである。
In order to achieve the above object, the present invention provides a pulse count value representing the amount of rotation of a motor by counting the encoder A-phase and B-phase pulses output from a motor to be controlled by four times. A quadruple counter circuit for measuring a clock signal, a clock circuit for generating a drive clock, an edge detection signal generation circuit for outputting a detection signal in synchronization with falling and rising edges of the encoder A-phase and B-phase pulse signals, and a clock, A pulse register for holding a pulse count value of the quadruple counter circuit by the detection signal, a timer counter circuit for measuring time, a timer register for holding the timer count value by a holding signal,
CPU that continuously reads the pulse count value held in the pulse register and the timer count value held in the timer register, calculates the motor rotation speed, and controls the motor.
If, during the access wait time by the CPU is generated when reading the pulse register and the timer register in a continuous,
Said edge detection signal a detection signal output from the generation circuit <br/> delayed, generating a hold signal for holding the tie <br/> Makaunta circuit so that the value of the timer register is unchanged in the timer register And a timer holding signal delay circuit.

【0007】また、制御対象のモータより出力されるエ
ンコーダA相,B相パルスを4逓倍カウントし、モータ
の回転量を表すパルスカウント値を計測する4逓倍カウ
ンタ回路と、駆動クロックを発生するクロック回路と、
エンコーダA相,B相パルス信号それぞれの立ち下が
り、立ち上がりとクロックに同期して検出信号を出力す
るエッジ検出信号発生回路と、保持信号で4逓倍カウン
タ回路のパルスカウント値を保持するパルスレジスタ
と、時間計測するタイマカウンタ回路と、保持信号でタ
イマカウンタ回路のタイマカウント値を保持するタイマ
レジスタと、パルスレジスタに保持されたパルスカウン
ト値とタイマレジスタに保持されたタイマカウント値と
を連続に読み込みモータ回転速度を算出し、モータを制
御するCPUと、上記CPUよりパルスレジスタ値とタ
イマレジスタ値とを読み込むときには禁止信号が出力さ
れ、その禁止信号をクロック回路に同期させて保持禁止
信号を出力する保持禁止信号発生回路と、その保持禁止
信号が入力されたときは、保持信号を出力せず、保持禁
止信号が入力されないときは、上記エッジ検出信号発生
回路より出力されるエッジ検出信号を上記2つのレジス
タの保持信号として出力する保持信号発生回路とを有す
るものである。
Further, a quadruple counter circuit for counting the pulse counts of the encoder A-phase and B-phase output from the motor to be controlled by four, and measuring a pulse count value representing the rotation amount of the motor, and a clock for generating a drive clock Circuit and
An edge detection signal generation circuit that outputs a detection signal in synchronization with the falling and rising edges and the clock of each of the encoder A-phase and B-phase pulse signals, a pulse register that holds a pulse count value of a quadruple counter circuit with a holding signal, A timer counter circuit that measures time, a timer register that holds the timer count value of the timer counter circuit with a holding signal, and a motor that reads the pulse count value held in the pulse register and the timer count value held in the timer register continuously. A CPU that calculates the rotational speed and controls the motor, and a prohibition signal is output when the pulse register value and the timer register value are read from the CPU, and the prohibition signal is synchronized with a clock circuit to output a hold prohibition signal. When the inhibit signal generation circuit and its hold inhibit signal are input A holding signal generating circuit that outputs an edge detection signal output from the edge detection signal generating circuit as a holding signal of the two registers when the holding signal is not output and the holding inhibition signal is not input. is there.

【0008】[0008]

【作用】本発明は上記した構成において、CPUがレジ
スタの連続読み込みをするとき発生するアクセスウェイ
ト時間中に、レジスタの保持信号が発生しないようにア
クセスウェイト時間分を遅らせて、レジスタ保持信号を
発生させる。
According to the present invention, the register hold signal is generated by delaying the access wait time so that the register hold signal is not generated during the access wait time generated when the CPU reads the register continuously. Let it.

【0009】また、CPUがレジスタの連続読み込みを
するとき、連続読み込み中にレジスタの保持信号が発生
しないようにCPUより禁止信号を出力し、レジスタの
保持信号を発生させない。
Further, when the CPU continuously reads a register, a prohibition signal is output from the CPU so as not to generate a holding signal of the register during the continuous reading, and a holding signal of the register is not generated.

【0010】従ってレジスタの内容が書き変わることな
く、CPUに読み込まれるモータ回転速度が実速度より
1読み込み周期遅れることがなく、正確なモータの速度
情報を得ることができる。
Therefore, accurate motor speed information can be obtained without rewriting the contents of the register and without the motor rotation speed read by the CPU being delayed by one reading cycle from the actual speed.

【0011】[0011]

【実施例】【Example】

(実施例1)まず、本発明の第1の実施例について図1
および図2を参照しながら説明する。なお、従来例で説
明したものと同一構成部材には同一番号を用いる。図1
は本発明の第1の実施例のデジタルACサーボ装置のブ
ロック図、図2はそのタイミングを示す図である。
Embodiment 1 First, a first embodiment of the present invention will be described with reference to FIG.
This will be described with reference to FIG. The same components as those described in the conventional example are denoted by the same reference numerals. FIG.
1 is a block diagram of a digital AC servo device according to a first embodiment of the present invention, and FIG. 2 is a diagram showing the timing.

【0012】図1において、制御対象のモータ1より出
力されるエンコーダ2のA相,B相パルスは4逓倍カウ
ンタ回路3で4逓倍カウントされ、モータ1の回転量を
表すパルスカウント値を計測し、タイマカウンタ回路4
で時間計測する。そして、4逓倍カウンタ回路3はパル
スレジスタ5へ、タイマカウンタ回路4はタイマレジス
タ6へ保持信号に同期してカウント値が保持される。ま
た、エッジ検出信号発生回路7では、エンコーダ2のA
相,B相パルス信号それぞれの立ち下がり、立ち上がり
とクロック回路8より出力されるクロックに同期して検
出信号を出力する。
In FIG. 1, the A-phase and B-phase pulses of the encoder 2 output from the motor 1 to be controlled are counted by the quadruple counter circuit 3 by four, and a pulse count value representing the rotation amount of the motor 1 is measured. , Timer counter circuit 4
To measure the time. The count value is held in synchronism with the hold signal by the quadruple counter circuit 3 to the pulse register 5 and the timer counter circuit 4 to the timer register 6. In the edge detection signal generation circuit 7, the A
A detection signal is output in synchronization with the falling and rising edges of the phase and B phase pulse signals and the clock output from the clock circuit 8.

【0013】そして、CPU9がパルスレジスタ5とタ
イマレジスタ6とを連続読み込みするとき、読み込み中
に一方のレジスタの内容が書き変わらないために、図2
のタイミング図に示すように、まず、CPU9がパルス
レジスタ5よりパルスカウント値を読み込み、次に、タ
イマレジスタ6よりタイマカウント値を読み込む。この
とき、連続でのパルスカウント値読み込みとタイマカウ
ント値読み込みの間にアクセスウェイト時間δtが発生
する。このアクセスウェイト時間δtの間に、エンコー
ダパルスのエッジが発生したときにもエッジ検出信号発
生回路7よりエッジ検出信号が出力される。このとき、
タイマレジスタ6の内容が変更されないように、タイマ
保持信号遅延回路10よりエッジ検出信号アクセスウェ
イト時間δtだけ遅らせてタイマレジスタ6に保持信号
として入力する。このため、CPU9がパルスレジスタ
5とタイマレジスタ6を連続読み込みするとき、読み込
み中にエッジ検出信号が発生してもタイマレジスタ6の
保持信号を常にアクセスウェイト時間δt遅らせて、タ
イマレジスタ6の一方のレジスタの内容が書き変わるこ
とがない。このように、CPU9で読み込むときのモー
タ回転速度は、実速度より1読み込み周期遅れることが
ない。
When the CPU 9 reads the pulse register 5 and the timer register 6 successively, the contents of one of the registers do not change during reading.
First, the CPU 9 reads the pulse count value from the pulse register 5, and then reads the timer count value from the timer register 6, as shown in the timing chart of FIG. At this time, an access wait time δt occurs between the continuous reading of the pulse count value and the reading of the timer count value. An edge detection signal is output from the edge detection signal generation circuit 7 also when an edge of the encoder pulse occurs during the access wait time δt. At this time,
In order to prevent the contents of the timer register 6 from being changed, the timer holding signal delay circuit 10 delays by the edge detection signal access wait time δt and inputs it to the timer register 6 as a holding signal. Therefore, when the CPU 9 continuously reads the pulse register 5 and the timer register 6, even if an edge detection signal is generated during the reading, the signal held in the timer register 6 is always delayed by the access wait time δt, and one of the timer registers 6 is read. Register contents are not rewritten. As described above, the motor rotation speed when reading by the CPU 9 does not delay by one reading cycle from the actual speed.

【0014】(実施例2)次に、本発明の第2の実施例
について図3および図4を参照しながら説明する。な
お、従来例で説明したものと同一構成部材には同一番号
を用いる。図3は本発明の第2の実施例のデジタルAC
サーボ装置のブロック図、図4はそのタイミングを示す
図である。
(Embodiment 2) Next, a second embodiment of the present invention will be described with reference to FIGS. The same components as those described in the conventional example are denoted by the same reference numerals. FIG. 3 shows a digital AC according to a second embodiment of the present invention.
FIG. 4 is a block diagram of the servo device, and FIG.

【0015】図3において、制御対象のモータ1より出
力されるエンコーダ2のA相,B相パルスは4逓倍カウ
ンタ回路3で4逓倍カウントされ、モータ1の回転量を
表すパルスカウント値を計測し、タイマカウンタ回路4
で時間計測する。そして、4逓倍カウンタ回路3はパル
スレジスタ5へ、タイマカウンタ回路4はタイマレジス
タ6へ保持信号に同期してカウント値が保持される。ま
た、エッジ検出信号発生回路7では、エンコーダ2のA
相,B相パルス信号それぞれの立ち下がり、立ち上がり
とクロック回路8より出力されるクロックに同期して検
出信号を出力する。
In FIG. 3, the A-phase and B-phase pulses of the encoder 2 output from the motor 1 to be controlled are counted by the quadruple frequency counter circuit 3 by a factor of 4, and the pulse count value representing the rotation amount of the motor 1 is measured. , Timer counter circuit 4
To measure the time. The count value is held in synchronism with the hold signal by the quadruple counter circuit 3 to the pulse register 5 and the timer counter circuit 4 to the timer register 6. In the edge detection signal generation circuit 7, the A
A detection signal is output in synchronization with the falling and rising edges of the phase and B phase pulse signals and the clock output from the clock circuit 8.

【0016】そして、CPU9がパルスレジスタ5とタ
イマレジスタ6とを連続読み込みするとき、読み込み中
に一方のレジスタの内容が書き変わらないために、図4
のタイミング図に示すように、まず、CPU9がパルス
レジスタ5よりパルスカウント値を読み込み、次に、タ
イマレジスタ6よりタイマカウント値を読み込む。この
とき、連続でのパルスカウント値読み込みとタイマカウ
ント値読み込みの間にアクセスウェイト時間δtが発生
する。このアクセスウェイト時間δtの間に、エンコー
ダパルスのエッジが発生したときにもエッジ検出信号発
生回路7よりエッジ検出信号が出力される。このとき、
タイマレジスタ6の内容が更新されないように、CPU
9より出力される禁止信号を、クロックに同期して保持
禁止信号を保持禁止信号発生回路11より出力する。そ
して、保持信号発生回路12では、保持禁止信号が入力
されると、タイマレジスタ6への保持信号の発生を禁止
し、保持禁止信号が入力されていないときは、エッジ検
出信号を保持信号として出力する。このため、CPU9
がパルスレジスタ5とタイマレジスタ6を連続読み込み
するとき、読み込み中にエッジ検出信号が発生しても、
エッジ検出信号を受け付けないためタイマレジスタ6の
一方のレジスタの内容が書き変わることがない。このよ
うに、CPU9で読み込むときのモータ回転速度は、実
速度より1読み込み周期遅れることがない。
When the CPU 9 reads the pulse register 5 and the timer register 6 successively, the contents of one of the registers do not change during reading.
First, the CPU 9 reads the pulse count value from the pulse register 5, and then reads the timer count value from the timer register 6, as shown in the timing chart of FIG. At this time, an access wait time δt occurs between the continuous reading of the pulse count value and the reading of the timer count value. An edge detection signal is output from the edge detection signal generation circuit 7 also when an edge of the encoder pulse occurs during the access wait time δt. At this time,
To prevent the contents of the timer register 6 from being updated, the CPU
9 is output from the holding inhibition signal generation circuit 11 in synchronization with the clock. When the hold inhibit signal is input, the hold signal generating circuit 12 inhibits generation of the hold signal to the timer register 6, and outputs the edge detection signal as the hold signal when the hold inhibit signal is not input. I do. For this reason, the CPU 9
When reading the pulse register 5 and the timer register 6 continuously, even if an edge detection signal is generated during reading,
Since the edge detection signal is not received, the contents of one of the timer registers 6 are not rewritten. As described above, the motor rotation speed when reading by the CPU 9 does not delay by one reading cycle from the actual speed.

【0017】[0017]

【発明の効果】以上の説明から明らかなように、本発明
によれば、CPUがレジスタの連続読み込みするとき発
生するアクセスウェイト時間中に、レジスタの保持信号
が発生しないようにアクセスウェイト時間分を遅らせ
て、レジスタ保持信号を発生させる構成としたため、C
PUが2つのレジスタを連続読み込みするときに一方の
レジスタの内容が書き変わることなく、CPUに読み込
まれるモータ回転速度が実速度より1読み込み周期遅れ
ることがなく、正確なモータの速度情報を得ることがで
きる。
As is apparent from the above description, according to the present invention, during the access wait time generated when the CPU continuously reads the register, the access wait time is reduced so that the register holding signal is not generated. Since the configuration is such that the register holding signal is generated with a delay,
To obtain accurate motor speed information without the contents of one register being rewritten when the PU reads two registers successively, and without the motor rotation speed read by the CPU being one reading cycle later than the actual speed. Can be.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施例のデジタルACサーボ装
置のブロック図
FIG. 1 is a block diagram of a digital AC servo device according to a first embodiment of the present invention.

【図2】同、デジタルACサーボ装置のタイミングを示
す図
FIG. 2 is a diagram showing the timing of the digital AC servo device.

【図3】本発明の第2の実施例のデジタルACサーボ装
置のブロック図
FIG. 3 is a block diagram of a digital AC servo device according to a second embodiment of the present invention.

【図4】同、デジタルACサーボ装置のタイミングを示
す図
FIG. 4 is a diagram showing the timing of the digital AC servo device.

【図5】従来のデジタルACサーボ装置のブロック図FIG. 5 is a block diagram of a conventional digital AC servo device.

【図6】従来のデジタルACサーボ装置のタイミングを
示す図
FIG. 6 is a diagram showing timing of a conventional digital AC servo device.

【符号の説明】[Explanation of symbols]

1 モータ 2 エンコーダ 3 4逓倍カウンタ回路 4 タイマカウンタ回路 5 パルスレジスタ 6 タイマレジスタ 7 エッジ検出信号発生回路 8 クロック回路 9 CPU 10 タイマ保持信号遅延回路 11 保持禁止信号発生回路 12 保持信号発生回路 DESCRIPTION OF SYMBOLS 1 Motor 2 Encoder 3 4 Multiplication counter circuit 4 Timer counter circuit 5 Pulse register 6 Timer register 7 Edge detection signal generation circuit 8 Clock circuit 9 CPU 10 Timer holding signal delay circuit 11 Holding prohibition signal generation circuit 12 Holding signal generation circuit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平4−344466(JP,A) 特開 平4−295287(JP,A) 特開 平5−130789(JP,A) (58)調査した分野(Int.Cl.7,DB名) G01P 3/489 G01P 3/42 - 3/44 H02P 5/00 - 5/28 ────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-4-344466 (JP, A) JP-A-4-295287 (JP, A) JP-A-5-130789 (JP, A) (58) Field (Int.Cl. 7 , DB name) G01P 3/489 G01P 3/42-3/44 H02P 5/00-5/28

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 制御対象のモータより出力されるエンコ
ーダA相、B相パルスを4逓倍カウントし、モータの回
転量を表すパルスカウント値を計測する4逓倍カウンタ
回路と、駆動クロックを発生するクロック回路と、エン
コーダA相、B相パルス信号それぞれの立ち下がり、立
ち上がりとクロックに同期して検出信号を出力するエッ
ジ検出信号発生回路と、その検出信号により4逓倍カウ
ンタ回路のパルスカウント値を保持するパルスレジスタ
と、時間計測するタイマカウンタ回路と、そのタイマカ
ウント値を保持信号により保持するタイマレジスタと、
パルスレジスタに保持されたパルスカウント値とタイマ
レジスタに保持されたタイマカウント値とを連続に読み
込みモータ回転速度を算出し、モータを制御するCPU
と、そのCPUがパルスレジスタとタイマレジスタを連
続で読み込むとき発生するアクセスウェイト時間の間
上記エッジ検出信号発生回路より出力される検出信号
遅延して、タイマレジスタの値が変わらないようにタイ
マカウンタ回路からタイマレジスタに保持するための保
持信号を発生するタイマ保持信号遅延回路とを有するデ
ジタルACサーボ装置。
1. A quadruple counter circuit for counting an encoder A-phase and a B-phase pulse output from a motor to be controlled by a factor of 4, and measuring a pulse count value representing a rotation amount of the motor, and a clock for generating a drive clock. Circuit, an edge detection signal generation circuit that outputs a detection signal in synchronization with the falling and rising edges of the encoder A-phase and B-phase pulse signals, and a clock, and holds the pulse count value of the quadruple counter circuit based on the detection signal. A pulse register, a timer counter circuit for measuring time, a timer register for holding the timer count value by a holding signal,
CPU that continuously reads the pulse count value held in the pulse register and the timer count value held in the timer register, calculates the motor rotation speed, and controls the motor.
If, during the access wait time by the CPU is generated when reading the pulse register and the timer register in a continuous,
Said edge detection signal a detection signal output from the generation circuit <br/> delayed, generating a hold signal for holding the tie <br/> Makaunta circuit so that the value of the timer register is unchanged in the timer register A digital AC servo device having a timer holding signal delay circuit.
【請求項2】 制御対象のモータより出力されるエンコ
ーダA相、B相パルスを4逓倍カウントし、モータの回
転量を表すパルスカウント値を計測する4逓倍カウンタ
回路と、駆動クロックを発生するクロック回路と、エン
コーダA相、B相パルス信号それぞれの立ち下がり、立
ち上がりとクロックに同期して検出信号を出力するエッ
ジ検出信号発生回路と、保持信号で4逓倍カウンタ回路
のパルスカウント値を保持するパルスレジスタと、時間
計測するタイマカウンタ回路と、保持信号でタイマカウ
ンタ回路のタイマカウント値を保持するタイマレジスタ
と、パルスレジスタに保持されたパルスカウント値とタ
イマレジスタに保持されたタイマカウント値とを連続に
読み込みモータ回転速度を算出し、モータを制御するC
PUと、上記CPUよりパルスレジスタ値とタイマレジ
スタ値とを読み込むときには禁止信号が出力され、その
禁止信号をクロック回路に同期させて保持禁止信号を出
力する保持禁止信号発生回路と、その保持禁止信号が入
力されたときは、保持信号を出力せず、保持禁止信号が
入力されていないときは、上記エッジ検出信号発生回路
より出力されるエッジ検出信号を上記2つのレジスタの
保持信号として出力する保持信号発生回路とを有するデ
ジタルACサーボ装置。
2. A quadruple-counter circuit for counting the encoder A-phase and B-phase pulses output from a motor to be controlled by a factor of 4, and measuring a pulse count value representing a rotation amount of the motor, and a clock for generating a drive clock. Circuit, an edge detection signal generation circuit that outputs a detection signal in synchronization with the falling and rising edges and clocks of the encoder A-phase and B-phase pulse signals, and a pulse that holds the pulse count value of the quadruple counter circuit with the holding signal A register, a timer counter circuit for measuring time, a timer register for holding the timer count value of the timer counter circuit by a holding signal, and a pulse count value held in the pulse register and a timer count value held in the timer register continuously. To calculate the motor rotation speed and control the motor
A PU and a hold prohibition signal generating circuit that outputs a hold prohibition signal in synchronization with a clock circuit when the pulse register value and the timer register value are read from the CPU, and the hold prohibition signal Does not output the holding signal when the signal is input, and outputs the edge detection signal output from the edge detection signal generating circuit as the holding signal of the two registers when the holding inhibition signal is not input. A digital AC servo device having a signal generation circuit.
JP00608194A 1994-01-25 1994-01-25 Digital AC servo device Expired - Fee Related JP3248143B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP00608194A JP3248143B2 (en) 1994-01-25 1994-01-25 Digital AC servo device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP00608194A JP3248143B2 (en) 1994-01-25 1994-01-25 Digital AC servo device

Publications (2)

Publication Number Publication Date
JPH07209316A JPH07209316A (en) 1995-08-11
JP3248143B2 true JP3248143B2 (en) 2002-01-21

Family

ID=11628609

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00608194A Expired - Fee Related JP3248143B2 (en) 1994-01-25 1994-01-25 Digital AC servo device

Country Status (1)

Country Link
JP (1) JP3248143B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101135253B1 (en) * 2010-11-30 2012-04-12 엘에스산전 주식회사 Method for sensing motor speed
CN103675322B (en) * 2013-09-30 2015-08-19 中国核电工程有限公司 Tachometer
CN105738642A (en) * 2016-02-03 2016-07-06 上海新源工业控制技术有限公司 T-method motor speed measurement method of four-way parallel sampling

Also Published As

Publication number Publication date
JPH07209316A (en) 1995-08-11

Similar Documents

Publication Publication Date Title
JPH0627653B2 (en) Position and speed detection method and device
Prokin Extremely wide-range speed measurement using a double-buffered method
JP3248143B2 (en) Digital AC servo device
US5198750A (en) Extremely wide range frequency measurement method
KR900002511B1 (en) Speed detecting device
JPH02165055A (en) Speed detector
JPH0447664Y2 (en)
JP3050027B2 (en) Encoder pulse count circuit
JPH04346069A (en) Speed signal generating circuit
JP3223884B2 (en) Duty ratio determination circuit and duty ratio determination method
JPH04233467A (en) Method and apparatus for measuring speed of motor
JPH0714901Y2 (en) Engine rotation signal processor
JPS601566A (en) Speed detector
JP2840406B2 (en) Error signal generator
JPS5923196B2 (en) Digital servo system
JP3049671B2 (en) DC motor speed control device
JP2725463B2 (en) Servo motor speed detector
JP2827446B2 (en) Motor speed detection method
KR19990001541A (en) Speed detection method and device
JPH05332788A (en) Data processing device for rotary encoder
JPH10260197A (en) Detecting circuit for velocity pulse
JPS6412190B2 (en)
KR940004394B1 (en) Speed measuring method and device
JP2611099B2 (en) Displacement measuring device
JP3195801B2 (en) Digital counter device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071109

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20081109

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091109

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20091109

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20101109

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20111109

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20121109

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20121109

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20131109

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees