JPS62120513A - Control system for multiplication of manual pulse - Google Patents
Control system for multiplication of manual pulseInfo
- Publication number
- JPS62120513A JPS62120513A JP25984185A JP25984185A JPS62120513A JP S62120513 A JPS62120513 A JP S62120513A JP 25984185 A JP25984185 A JP 25984185A JP 25984185 A JP25984185 A JP 25984185A JP S62120513 A JPS62120513 A JP S62120513A
- Authority
- JP
- Japan
- Prior art keywords
- pulse
- value
- multiplication
- counter
- manual
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Numerical Control (AREA)
- Control Of Position Or Direction (AREA)
- Manipulation Of Pulses (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は、位置決め装置などにおいて用いられる手動パ
ルスをてい倍するための制御方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a control system for multiplying manual pulses used in positioning devices and the like.
[従来の技術]
従来、NC工作機械などの用途においては、1パルス送
りのために手動パルス発生器を使用している位置決め装
置が多くみられる。この種の従来の制御方式としては、
たとえば第3図に示すようなものが知られている。ここ
で、1は手動パルス発生器、2はフィルタ、3は波形整
形回路、4はてい倍回路、5はマルチプレクサ、6は信
号切換回路、7は偏差カウンタである。位置決め装置で
は、そのカウンタ出力をD/Aコンバータによりアナロ
グ値に変換し、その値に応じてモータを回転駆動する。[Prior Art] Conventionally, in applications such as NC machine tools, there have been many positioning devices that use a manual pulse generator to send one pulse. Conventional control methods of this type include:
For example, the one shown in FIG. 3 is known. Here, 1 is a manual pulse generator, 2 is a filter, 3 is a waveform shaping circuit, 4 is a multiplier circuit, 5 is a multiplexer, 6 is a signal switching circuit, and 7 is a deviation counter. In the positioning device, the counter output is converted into an analog value by a D/A converter, and the motor is rotationally driven according to the value.
さらに、このモータの回転数をロータリ型のエンコーダ
で検出し、偏差カウンタ7に供給し、その偏差カウンタ
値が零となるようにサーボ制御し、零のときにモータを
停止させ、以て手動パルス発生器lからの手動パルス入
力に応じてモータを回転させる。Furthermore, the rotational speed of this motor is detected by a rotary encoder and supplied to the deviation counter 7, and servo control is performed so that the deviation counter value becomes zero, and when the value is zero, the motor is stopped, and the manual pulse The motor is rotated in response to manual pulse input from generator l.
手動パルス発生器1からのA相およびB相のパルスを、
それぞれ、フィルタ2を介して波形整形回路3に供給し
、ここで波形整形および方向判別し、正転パルスlOお
よび逆転パルス11を得る。これらパルスlOおよび1
1をてぃ倍することなく直接にマルチプレクサ5を経て
偏差カウンタ7に入力するか、あるいは、てい倍回路4
を通しである一定のてい倍パルスに変換し、そのてぃ倍
パルスをマルチプレクサ5により切換えて偏差カランタ
フに入力する。The A-phase and B-phase pulses from the manual pulse generator 1 are
Each of the pulses is supplied to a waveform shaping circuit 3 via a filter 2, where the waveform is shaped and the direction is determined to obtain a forward rotation pulse lO and a reverse rotation pulse 11. These pulses lO and 1
Either input it directly to the deviation counter 7 via the multiplexer 5 without multiplying it by 1, or input it directly to the deviation counter 7 through the multiplexer 5.
is converted into a constant multiplied pulse, and the multiplied pulse is switched by the multiplexer 5 and input to the deviation carantuff.
ところが、このような制御方式では、てぃ倍値がてい倍
回路4に依存しているので、てぃ倍値の選択が限られて
しまい、制御の柔軟性が少なく、しかもまた、制御回路
の使用部品が多いので経済的に構成できないという欠点
があった。However, in such a control method, since the multiplier value depends on the multiplier circuit 4, the selection of the multiplier value is limited, and there is little control flexibility. It has the disadvantage that it cannot be constructed economically because it uses many parts.
[発明が解決しようとする問題点]
そこで、本発明の目的は、前述したような問題点を解決
し、手動パルスのてぃ倍を容易に可能とする手動パルス
のてい倍制御方式を提供すζことにある。[Problems to be Solved by the Invention] Therefore, an object of the present invention is to solve the above-mentioned problems and provide a manual pulse multiplication control system that easily enables manual pulse multiplication. ζ In particular.
[問題点を解決するための手段]
このような目的を達成するために、本発明は、手動パル
ス発生器から取り出した手動パルスをてい倍する手動パ
ルスのてい倍制御方式において、手動パルスのてい倍値
を設定する手段と、手動パルスのパルス数の前回値に対
する現在値の差を求める手段と、設定されたてい倍値と
パルス数の差の値とを乗算する手段と、パルス信号を発
生する手段と、乗算の結果に対応する個数だけパルス信
号の払い出しを許可する手段とを具えたことを特徴とす
る。[Means for Solving the Problems] In order to achieve such an object, the present invention provides a manual pulse multiplication control method that multiplies the manual pulse taken out from a manual pulse generator. means for setting a multiplication value; means for determining the difference between the current value and the previous value of the number of manual pulses; means for multiplying the set multiplication value and the difference between the number of pulses; and generating a pulse signal. and means for permitting the delivery of pulse signals in a number corresponding to the result of the multiplication.
[作用]
・ 本発明は、手動パルスの前回値と現在値との差を制
御することに着目してなしたものであり、それによって
パルスの払い出し時間を一定にし、その時間内でてい倍
値およびパルスの差を乗算し、その値を払い出すことに
より、てぃ倍値の設定に何ら制限なしに、容易に手動パ
ルスのてぃ倍を行うことができる。[Function] - The present invention was made by focusing on controlling the difference between the previous value and the current value of the manual pulse, thereby making the pulse delivery time constant and increasing the multiplication value within that time. By multiplying the difference between the values and the pulses and outputting the resulting value, it is possible to easily multiply the manual pulse without any restrictions on setting the multiplication value.
すなわち、本発明によれば、てい倍パルスを一定時間内
で払い出すと共に、そのてぃ倍値はマイクロプロセッサ
のパラメータやディジタルスイッチなどによって容易に
設定できるので、特別なてい倍回路を必要とせず、しか
も手動パルスのてぃ倍値の制限がなく、手動パルスを任
意所望のてぃ倍値に簡単にてい倍することができる。That is, according to the present invention, the multiplication pulse is delivered within a certain period of time, and the multiplication value can be easily set using microprocessor parameters, digital switches, etc., so there is no need for a special multiplication circuit. Moreover, there is no limit to the multiplication value of the manual pulse, and the manual pulse can be easily multiplied to any desired multiplication value.
[実施例] 以下に図面を参照して本発明の詳細な説明する。[Example] The present invention will be described in detail below with reference to the drawings.
第1図は本発明の一実施例を示すブロック図である。こ
こで、第2図と同様の個所には同一符号を付すことにす
る。FIG. 1 is a block diagram showing one embodiment of the present invention. Here, the same parts as in FIG. 2 are given the same reference numerals.
手動パルス発生器1のA相およびB相パルスをフィルタ
2を通して波形整形回路3に入力し、方向判別をして得
た正転パルス10または逆転パルス11をアップダウン
カウンタ12に入力する。このアップダウンカウンタ1
2のカウント値はバス13を介してマイクロプロセッサ
14により読みとることができる。15はマイクロプロ
セッサ14に各種入力を供給するキーボードである。A-phase and B-phase pulses from a manual pulse generator 1 are input to a waveform shaping circuit 3 through a filter 2, and a forward rotation pulse 10 or a reverse rotation pulse 11 obtained by direction determination is input to an up/down counter 12. This up/down counter 1
The count value of 2 can be read by the microprocessor 14 via the bus 13. A keyboard 15 supplies various inputs to the microprocessor 14.
16は一定周波数のクロックパルスを発生するパルス発
振器を内蔵し、そのクロックパルスをマイクロプロセッ
サ14により設定された分周比で分周する分周カウンタ
である。この分周カウンタ16における分周比は、この
カウンタ16からの出力パルスの周波数が変わっても、
そのパルス払い出しの時間が一定となるように定めるも
のとする。このように一定時間内にパルスを払い出すよ
うにするのは、手動パルス入力からてい倍パルスの発生
までにかかる時間を所定の短い時間となし、以て、その
間の動作時間遅れを操作者がさほど感じない程度となし
ててい倍パルスを払い出すようにするためである。Reference numeral 16 denotes a frequency division counter that includes a built-in pulse oscillator that generates a clock pulse of a constant frequency, and divides the frequency of the clock pulse at a frequency division ratio set by the microprocessor 14. Even if the frequency of the output pulse from this counter 16 changes, the frequency division ratio in this frequency division counter 16 is
The pulse dispensing time shall be determined to be constant. The purpose of discharging pulses within a certain period of time is to set a predetermined short period of time from manual pulse input to the generation of multiplied pulses, so that the operator can reduce the operation time delay during that time. This is to ensure that the pulse is delivered twice as much so that it is not felt as much.
この分周カウンタ16からは、正転パルス10および逆
転パルス11に応じて、上述したような所定時間内に正
転側てい倍パルス17および逆転側てい倍パルス18を
択一的に発生する。19はあらかじめ設定された分配カ
ウント値に対して、オアゲート20からの出力パルスの
生起する度毎に減算を行い、そのカウント値が零になっ
たときに割り込みパルス21を発生する分配カウンタで
ある。その割り込みパルス21を分周カウンタ16のク
リヤ端子に供給し、かかる割り込みパルス21の発生時
に分周カウンタ16からのてい倍出力を停止させる。オ
アゲート20には上述のてい倍パルス17および18を
供給し、いずれかのてい倍パルス17または18の生起
した旨を分配カウンタ19に伝送し1分配カウンタ19
においてそのてい倍パルスの個数をカウントする。The frequency dividing counter 16 selectively generates the normal rotation side multiplication pulse 17 and the reverse rotation side multiplication pulse 18 within the predetermined time as described above, depending on the forward rotation pulse 10 and the reverse rotation pulse 11. A distribution counter 19 subtracts a preset distribution count value every time an output pulse from the OR gate 20 occurs, and generates an interrupt pulse 21 when the count value becomes zero. The interrupt pulse 21 is supplied to the clear terminal of the frequency division counter 16, and when the interrupt pulse 21 is generated, the multiplied output from the frequency division counter 16 is stopped. The above multiplication pulses 17 and 18 are supplied to the OR gate 20, and the fact that either multiplication pulse 17 or 18 has occurred is transmitted to the distribution counter 19.
The number of pulses multiplied by that number is counted at .
マイクロプロセッサ14には、キーボード15上のテン
キーやディジタルスイッチなどにより、アップダウンカ
ウンタ12の出力に対する所望のてぃ倍値および分周カ
ウンタ16の分周比を入力しておく。この状態で、マイ
クロプロセッサエ4は、アップダウンカウンタ12の出
力に応じて、分配カウンタ19における分配カウント値
を、設定された所望のてい倍僅に応じてあらかじめ指定
し、ついで分周カウンタ16に対して、そのクロックパ
ルス発振器を起動させ、所定のパルス払い出し時間に対
して設定された分周比で当該クロックパルスを分周して
カウンタ出力を取り出す。ここで、マイクロプロセッサ
14においては、キーボード15から入力されたてい倍
値に応じて、次のようにして所望のてい倍パルス数を算
出し、そのてい倍パルス数を分配カウンタ19にセット
する。A desired multiplication value for the output of the up/down counter 12 and a frequency division ratio of the frequency division counter 16 are input into the microprocessor 14 using the ten keys on the keyboard 15, digital switches, or the like. In this state, the microprocessor 4 specifies in advance the distribution count value in the distribution counter 19 according to the set desired multiplier according to the output of the up/down counter 12, and then specifies the distribution count value in the division counter 16. On the other hand, the clock pulse oscillator is activated, the frequency of the clock pulse is divided by a frequency division ratio set for a predetermined pulse payout time, and a counter output is taken out. Here, the microprocessor 14 calculates the desired multiplied pulse number in the following manner according to the multiplied value inputted from the keyboard 15, and sets the multiplied pulse number in the distribution counter 19.
すなわち、手動パルス発生器1が回ったとすると、アッ
プダウンカウンタ12の値が変化する。その変化の以前
の前回のカウント値をN1−1、現在のカウント値をN
η、その差をN1モータの穆勤量に対応させるべくあら
かじめ設定したてい倍値をCとすると、マイクロプロセ
ッサ14は、アップダウンカウンタ12の出力に基づい
て、
N’ =CX (NTl−N司=CXNの計算を行い、
それにより求めたN′値を分配カウンタ19にセットす
る。これにより、偏差カウンタ7にてい倍パルス、すな
わち、正転てい倍パルス17または逆転てい倍パルス1
8が払い出される。That is, if the manual pulse generator 1 rotates, the value of the up/down counter 12 changes. The previous count value before that change is N1-1, and the current count value is N
η, and C is a multiplication value preset to make the difference correspond to the working amount of the N1 motor. Based on the output of the up-down counter 12, the microprocessor 14 calculates N' = CX (NTl-N controller). =CXN calculation,
The N' value thus obtained is set in the distribution counter 19. As a result, the deviation counter 7 receives a double pulse, that is, a forward rotation double pulse 17 or a reverse rotation double pulse 1.
8 is paid out.
ここで、分配カウンタ19のカウント値が0になると、
割り込み信号21が発生し、文集カウンタ16に割り込
みをかけてその計数を停止する。Here, when the count value of the distribution counter 19 becomes 0,
An interrupt signal 21 is generated and interrupts the sentence collection counter 16 to stop its counting.
以上の動作が手動パルス人力時、すなわちアップダウン
カウンタ12からのパルス出力の度毎に繰り返される。The above operation is repeated during manual pulse operation, that is, every time a pulse is output from the up/down counter 12.
このように、本発明では、パルスの払い出し時間は一定
時間であり、その一定の払い出し時間内に、任意所望の
てい倍数でてい倍された正転または逆転てい倍パルス1
7または18を払い出す。本発明では、従来のような特
別なてい倍回路を必要とせず、たとえばマイクロプロセ
ッサ14においてパラメータあるいはディジタルスイッ
チなどにょらて容易にてい倍値を読み込むことができ、
しかもまた、そのてい倍値に制限がないので、手動パル
スのてい倍制御に柔軟性がある。As described above, in the present invention, the pulse dispensing time is a fixed time, and within the fixed dispensing time, the forward rotation or reverse rotation multiplied pulse 1 is multiplied by any desired multiplier.
Pay out 7 or 18. In the present invention, the multiplier value can be easily read by using a parameter or a digital switch in the microprocessor 14, for example, without requiring a special multiplier circuit as in the prior art.
Furthermore, since there is no limit to the multiplier value, there is flexibility in manual pulse multiplier control.
[発明の効果]
以上から明らかなように、本発明によれば、てイ倍パル
スを一定時間内で払い出すと共に、そのてい倍値はマイ
クロプロセッサのパラメータやディジタルスイッチなど
によって容易に設定できるので、特別なてい倍回路を必
要とせず、しかも手動パルスのてい倍値の制限がなく、
手動パルスを任意所望のてい倍僅に簡単にてい倍するこ
とができる。[Effects of the Invention] As is clear from the above, according to the present invention, the multiplication pulse can be delivered within a certain period of time, and the multiplication value can be easily set using microprocessor parameters, digital switches, etc. , no special multiplier circuit is required, and there is no limit to the manual pulse multiplier value.
Manual pulses can be easily multiplied by any desired number.
第1図は本発明の一実施例を示すブロック図、 第2図はその制御手順の一例を示すフローチャート、 第3図は従来例を示すブロック図である。 1・・・手動パルス発生器、 2・・・フィルタ、 3−・・波形整形回路、 4・・・てい倍回路、 5・・・マルチプレクサ、 6・・・信号切換回路、 7・・・偏差カウンタ、 10・・・正転パルス、 11・・・逆転パルス、 12・・・アップダウンカウンタ、 13・・・バス、 14・・・マイクロプロセッサ、 15・・・キーボード、 16・・・分周カウンタ、 17・・・正転側てい倍パルス、 18・・・逆転側てい倍パルス、 19−・・分配カウンタ、 20・・・オアゲート、 21−・・割り込み信号。 FIG. 1 is a block diagram showing an embodiment of the present invention; FIG. 2 is a flowchart showing an example of the control procedure, FIG. 3 is a block diagram showing a conventional example. 1...Manual pulse generator, 2...filter, 3-...Waveform shaping circuit, 4... multiplication circuit, 5...Multiplexer, 6...signal switching circuit, 7...deviation counter, 10...Forward rotation pulse, 11... Reverse pulse, 12...up/down counter, 13... bus, 14... microprocessor, 15...Keyboard, 16... Frequency division counter, 17...Forward rotation side double pulse, 18...Reverse side double pulse, 19--distribution counter, 20...or gate, 21--Interrupt signal.
Claims (1)
倍する手動パルスのてい倍制御方式において、 手動パルスのてい倍値を設定する手段と、 前記手動パルスのパルス数の前回値に対する現在値の差
を求める手段と、 設定されたてい倍値と前記パルス数の差の値とを乗算す
る手段と、 パルス信号を発生する手段と、 前記乗算の結果に対応する個数だけ前記パルス信号の払
い出しを許可する手段と を具えたことを特徴とする手動パルスのてい倍制御方式
。 2)特許請求の範囲第1項記載の手動パルスのてい倍制
御方式において、前記パルス信号発生手段は、一定周波
数でクロックパルスを発生する手段と、そのクロックパ
ルスを分周し、前記乗算の結果に対応する個数の分周パ
ルスが所定時間内に払い出されるように定めた分周手段
とを有することを特徴とする手動パルスのてい倍制御方
式。[Scope of Claims] 1) A manual pulse multiplication control method that multiplies manual pulses taken out from a manual pulse generator, comprising means for setting a manual pulse multiplication value, and a previous value of the number of manual pulses. means for calculating the difference between the current value and the current value; means for multiplying a set multiplication value by the value of the difference between the number of pulses; means for generating a pulse signal; 1. A manual pulse multiplier control system, comprising means for permitting output of a pulse signal. 2) In the manual pulse multiplication control method according to claim 1, the pulse signal generating means includes means for generating a clock pulse at a constant frequency, dividing the frequency of the clock pulse, and calculating the result of the multiplication. 1. A manual pulse multiplier control system comprising: a frequency dividing means that is determined to output a number of frequency-divided pulses within a predetermined time period.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25984185A JPS62120513A (en) | 1985-11-21 | 1985-11-21 | Control system for multiplication of manual pulse |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25984185A JPS62120513A (en) | 1985-11-21 | 1985-11-21 | Control system for multiplication of manual pulse |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62120513A true JPS62120513A (en) | 1987-06-01 |
Family
ID=17339727
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP25984185A Pending JPS62120513A (en) | 1985-11-21 | 1985-11-21 | Control system for multiplication of manual pulse |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62120513A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6436305A (en) * | 1987-07-31 | 1989-02-07 | Mitsubishi Metal Corp | Manual pulse generating device |
JPH02139602A (en) * | 1988-11-21 | 1990-05-29 | Mitsubishi Electric Corp | Numerical controller |
JPH04247503A (en) * | 1991-02-01 | 1992-09-03 | Sankyo Seiki Mfg Co Ltd | Controller |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6093510A (en) * | 1983-10-27 | 1985-05-25 | Fanuc Ltd | Override control system of numerical controller |
JPS60100885A (en) * | 1983-11-08 | 1985-06-04 | Toshiba Corp | Adjusting device of color television camera |
-
1985
- 1985-11-21 JP JP25984185A patent/JPS62120513A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6093510A (en) * | 1983-10-27 | 1985-05-25 | Fanuc Ltd | Override control system of numerical controller |
JPS60100885A (en) * | 1983-11-08 | 1985-06-04 | Toshiba Corp | Adjusting device of color television camera |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6436305A (en) * | 1987-07-31 | 1989-02-07 | Mitsubishi Metal Corp | Manual pulse generating device |
JPH02139602A (en) * | 1988-11-21 | 1990-05-29 | Mitsubishi Electric Corp | Numerical controller |
JPH04247503A (en) * | 1991-02-01 | 1992-09-03 | Sankyo Seiki Mfg Co Ltd | Controller |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US3886459A (en) | Digital pulse rate ramping circuits | |
EP0091245B1 (en) | Method and apparatus for controlling feed speed in numerical control system | |
JPS62120513A (en) | Control system for multiplication of manual pulse | |
US4626758A (en) | Digital valve control apparatus | |
JP2561887B2 (en) | Servo motor rotation speed counting circuit | |
US5235262A (en) | Motor control apparatus for controlling the position of a motor-driven object | |
US4851783A (en) | Method of and apparatus for digitally setting a control frequency | |
JP3783625B2 (en) | Control device | |
KR920009888B1 (en) | Method of controlling servo motor | |
US4020331A (en) | Feed rate control system for numerical control machine tool | |
JP2819411B2 (en) | Fixed position stop control device | |
JPH02139602A (en) | Numerical controller | |
JPS5994105A (en) | System for manual feed of optional angle | |
SU1058067A1 (en) | Electronic reference-input element | |
KR930004186B1 (en) | Four shaft simultaneous potential control device by servo method | |
KR950002404B1 (en) | Speed controlling method and apparatus of servomotor | |
JPH08339228A (en) | Manual feed command device for numerically controlled machine tool | |
JPS5854898A (en) | Control system for pulse motor | |
SU921033A1 (en) | Device for control of thyristorized converter | |
GB2042769A (en) | Controlling interdependence of leading and following drives | |
JP2601804B2 (en) | Digital drive with interrupt function | |
JPS5884309A (en) | Pattern generator | |
SU1458858A1 (en) | Linear digital interpolation system | |
SU813365A1 (en) | Interpolator | |
SU566241A1 (en) | Program control apparatus |