JPH01150917A - Speed control device - Google Patents

Speed control device

Info

Publication number
JPH01150917A
JPH01150917A JP30980187A JP30980187A JPH01150917A JP H01150917 A JPH01150917 A JP H01150917A JP 30980187 A JP30980187 A JP 30980187A JP 30980187 A JP30980187 A JP 30980187A JP H01150917 A JPH01150917 A JP H01150917A
Authority
JP
Japan
Prior art keywords
time
pulses
speed
movable body
target value
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
Application number
JP30980187A
Other languages
Japanese (ja)
Inventor
Toru Oshima
亨 大島
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 Holdings Corp
Original Assignee
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP30980187A priority Critical patent/JPH01150917A/en
Publication of JPH01150917A publication Critical patent/JPH01150917A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Velocity Or Acceleration (AREA)

Abstract

PURPOSE:To highly accuracy obtain a constant speed by obtaining a time of a section whenever the prescribed number of pulses is detected with a position detector, generating an aimed value from the product of the time and an aimed speed, generating a feedback quantity from the time of each section, the aimed value and a prescribed dislocation quantity, and feeding back them to a control object. CONSTITUTION:A numerical value operating processor 32, which receives an interrupting signal 40 from a coincidence circuit 20 at every time when a moving object moves for the portion of an Nr pulses, calculates a feedback signal according to algorithm. That is, first, a time T required for taking in the data of a counter 30 and moving for the portion of the Nr pulses is obtained, and an aimed dislocation Xr is calculated by the product of the time T and an aimed speed V. Further, by using the aimed dislocation Xr and a dislocation X of the moving object (that is, sensor resolution X Nr), for example, the operation of a PD controller is carried out as the controller, a feedback signal is inputted to a control object 10, and a clearing signal 38 is sent to counters 14 and 30. Thus, the moving object moves for the portion of the Nr pulses at every constant time, and the highly accurate constant speed can be realized.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は可動体の直線移動または回転などに伴いパルス
信号を出力するディジタル型位置センサを用いて、可動
体の速度を制御する速度制御装置に関するものである。
Detailed Description of the Invention Field of the Invention The present invention relates to a speed control device that controls the speed of a movable body using a digital position sensor that outputs pulse signals as the movable body moves linearly or rotates. It is.

従来の技術 近年、ロボットや0AII器などにおいては、可動体を
精度良く一定速度で駆動する要求が高まっており′、可
動体を一次関数の目標位置プロフィールに追従させ定速
性を確保する場合がある。
Conventional technology In recent years, there has been an increasing demand for movable bodies to be driven at a constant speed with high precision in robots, 0AII devices, etc., and it is sometimes necessary to make the movable body follow a target position profile of a linear function to ensure constant speed. be.

従来、可動体を目標位置プロフィールに追従させる方法
として、位置センサや制御径のデイジタル化に伴い、一
定のサンプリング周期毎に、可動体の位置や変位を検出
し、目標値と検出値からフィードバック信号を生成し制
御を行っている。
Conventionally, as a method for making a movable body follow a target position profile, with the digitalization of position sensors and control diameters, the position and displacement of the movable body are detected at regular sampling intervals, and a feedback signal is generated from the target value and detected value. is generated and controlled.

以下図面を参照しながら、上述した従来の速度制御装置
の1例について説明する。
An example of the above-mentioned conventional speed control device will be described below with reference to the drawings.

第3図は従来の速度制御装置の構成を示すものであって
、50は制御対象である。52は位置センサで制御対象
50が一定の距離を移動する毎にパルス信号を出力する
。また54はカウンタで位置センサ52の出力パルスを
カウントする。56はスイッチ、58は一次関数の目標
位置信号Xrで、60は目標値を記憶しているメモリ、
62はコントローラである。
FIG. 3 shows the configuration of a conventional speed control device, in which 50 is an object to be controlled. A position sensor 52 outputs a pulse signal every time the controlled object 50 moves a certain distance. A counter 54 counts output pulses from the position sensor 52. 56 is a switch, 58 is a linear function target position signal Xr, 60 is a memory that stores the target value,
62 is a controller.

以上のように構成された速度制御装置について、以下そ
の動作を説明する。
The operation of the speed control device configured as described above will be described below.

一定の時間T毎にスイッチ56は0N10FFを行う。The switch 56 performs 0N10FF every fixed time T.

このとき目標位置信号Xr58はメモリ6o上のサンプ
リング回数(時間)に対応した値に設定され、カウンタ
54のカウンタ値と目標位置信号Xr58との偏差がコ
ントローラ62に入力される。そしてコントローラ62
はその偏差からフィードバック信号を生成し、制御対象
50へ入力する。このようにして制御対象50は目標の
位置プロフィールに追従しながら移動する。(例えば、
rDCモータの制御回路設計J P、P、 127〜1
39谷腰欣司著 CQ出版)。
At this time, the target position signal Xr58 is set to a value corresponding to the number of sampling times (time) on the memory 6o, and the deviation between the counter value of the counter 54 and the target position signal Xr58 is input to the controller 62. and controller 62
generates a feedback signal from the deviation and inputs it to the controlled object 50. In this way, the controlled object 50 moves while following the target position profile. (for example,
rDC motor control circuit design JP, P, 127-1
39 Written by Kinji Tanikoshi, CQ Publishing).

発明が解決しようとする問題点 しかしながら上記のような構成では、第4図に示すよう
にディジタル型位置センサを用いて一定すンプリング周
期T毎に位置検出を行うと、実際の可動体の位置を検出
することができず、検出エラーが必ず発生する。さらに
位置センサにピッチ誤差があり、例えば図5のようにピ
ッチがある周期で正弦波的にばらつくとピッチ誤差によ
る検出エラーが累積する。従って、高精度な位置追従性
を実現し定速性を確保するためには、ピッチ誤差が少な
く高分解能のセンサが必要になるという問題点を有して
いた。
Problems to be Solved by the Invention However, in the above configuration, if the position is detected every fixed sampling period T using a digital position sensor as shown in FIG. It cannot be detected and a detection error will always occur. Furthermore, the position sensor has a pitch error, and if the pitch varies sinusoidally in a certain period as shown in FIG. 5, for example, detection errors due to the pitch error will accumulate. Therefore, in order to realize highly accurate position followability and ensure constant velocity, a high-resolution sensor with small pitch error is required.

本発明は上記問題点に鑑み、サンプリングによる検出エ
ラーをなくすためサンプリングのタイミングを一定時間
から一定距離とし、ピッチ誤差による検出エラーを小さ
く抑えるため所定のパルス数分の変位区間毎に制御を行
なう速度制御装置を提供するものである。
In view of the above problems, the present invention sets the sampling timing from a fixed time to a fixed distance in order to eliminate detection errors caused by sampling, and controls the speed for each displacement section of a predetermined number of pulses in order to suppress detection errors due to pitch errors. A control device is provided.

問題点を解決するための手段 上記問題点を解決するために本発明の速度制御装置は、
位置検出手段が所定のパルス数をカウントする毎の時間
を求め、さらにその時間と目標速度の積により目標値で
ある目標変位を求めて、目標値と所定のパルス数分の変
位および所定のパルス数分の変位量を移動するのに要す
る時間よりフィードバック信号を生成し制御対象にフィ
ードバックして可動体の速度を制御するという構成を備
えたものである。
Means for Solving the Problems In order to solve the above problems, the speed control device of the present invention has the following features:
The time for each time the position detection means counts a predetermined number of pulses is determined, and the target displacement, which is a target value, is determined by the product of the time and the target speed, and the target value, the displacement for the predetermined number of pulses, and the predetermined pulse are calculated. The movable body is configured to generate a feedback signal based on the time required to move a displacement amount of several minutes and feed it back to the controlled object to control the speed of the movable body.

作用 本発明は上記した構成によって、可動体が所定のパルス
数分移動する区間毎にフィードバック信号を生成するの
で、サンプリングによる検出エラーがなく、ピッチ誤差
による検出エラーが小さく抑えられ精度良く速度を制御
できる。
Effect of the Invention With the above-described configuration, the present invention generates a feedback signal every section in which the movable body moves by a predetermined number of pulses, so there is no detection error due to sampling, detection error due to pitch error is kept small, and speed is controlled with high precision. can.

実施例 以下本発明の一実施例の速度制御装置において、図面を
参照しながら説明する。第1図は本発明の〆 一実施例における速度制御装置の構成を示すものである
。第1図において、10は制御対象、12は位置センサ
で可動体が一定距離移動する毎にパルス信号を出力し、
14はカウンタで位置センサー2が出力するパルスをカ
ウントする。カウンター4には2つの一致回路を接続し
、16の一致回路はスイッチ24へ、また、20の一致
回路はスイッチ34を介して数値演算プロセッサ32へ
つながっている。一方、28は発振回路であり一定の周
波数でパルスを出力し、30は発振回路28が出力する
パルスをカウントするカウンタである。
Embodiment Hereinafter, a speed control device according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 shows the configuration of a speed control device in a final embodiment of the present invention. In FIG. 1, 10 is a controlled object, 12 is a position sensor that outputs a pulse signal every time the movable body moves a certain distance,
A counter 14 counts the pulses output by the position sensor 2. Two matching circuits are connected to the counter 4, 16 matching circuits are connected to the switch 24, and 20 matching circuits are connected to the numerical calculation processor 32 via the switch 34. On the other hand, 28 is an oscillation circuit that outputs pulses at a constant frequency, and 30 is a counter that counts the pulses output by the oscillation circuit 28.

以上のように構成された速度制御位置について、以下第
1図、第2図を用いてその動作を説明する。
The operation of the speed control position configured as described above will be explained below with reference to FIGS. 1 and 2.

可動体が移動を開始し、カウンター4があらかじめ設定
したパルス数No18をカウントするまでは、切り換え
スイッチ24を一定電圧Vo26が制御対象へ供給され
る側へセットし、一定電圧Vo26を制御対象10へ入
力する。この間−数回、f120の出力が数値演算プロ
セッサ32に入力されない側にスイッチ34をセットし
ておく。これが本実施例における立上げ手段である。
Until the movable body starts moving and the counter 4 counts the preset number of pulses No. 18, the changeover switch 24 is set to the side where the constant voltage Vo26 is supplied to the controlled object, and the constant voltage Vo26 is supplied to the controlled object 10. input. During this time, the switch 34 is set to the side where the output of f120 is not input to the numerical calculation processor 32 several times. This is the startup means in this embodiment.

可動体が移動し、カウンタ14があらかじめ設定したパ
ルス数No18をカウントすると同時に、−数回路16
はスイッチ24を切り換え、数値演算プロセッサ32か
らのフィードバック信号が制御対象lOへ入力される側
にセットし、−数回路20の出力信号が数値演算プロセ
ッサ32に入力できるようにスイッチ34をセットし、
さらにカウンタ14.30へそれぞれクリア信号42.
44を送る。その後、可動体がNr分移動する毎の一致
回路20からの割り込み信号40を受けた数値演算プロ
セッサ32は、4第2図に示すアルゴリズムにしたがっ
てフィードバック信号を計算する。すなわち、ますカウ
ンタ30のデータを取り込みNr分移動するのに要した
時間Tを求め、目標変位Xrを時間Tと目標速度Vの積
で計算する。
When the movable body moves and the counter 14 counts the preset pulse number No. 18, the minus number circuit 16
switches the switch 24 to set it to the side where the feedback signal from the numerical calculation processor 32 is input to the controlled object lO, and sets the switch 34 so that the output signal of the - number circuit 20 can be input to the numerical calculation processor 32,
Additionally, clear signals 42.
Send 44. Thereafter, the numerical arithmetic processor 32, which receives the interrupt signal 40 from the coincidence circuit 20 every time the movable body moves by Nr, calculates a feedback signal according to the algorithm shown in FIG. That is, the time T required to take in the data of the counter 30 and move by Nr is determined, and the target displacement Xr is calculated as the product of the time T and the target velocity V.

そして、目標変位Xrと可動体の変位X(すなわちセン
サ分解能XNr)を用いて、コントローラとして例えば
PDコントローラの演算を行い、フィードバック信号を
制御対象10へ入力し、カウンタ14およびカウンタ3
0ヘクリア信号38を送る。
Then, using the target displacement Xr and the displacement X of the movable body (that is, the sensor resolution
Send clear signal 38 to 0.

以上のように本実施例によれば、可動体がNoパルス分
移動をしたのちは、ピッチ誤差による検出エラーを小さ
く抑え、サンプリングによる検出エラーをなくすことが
でき、一定時間毎にNrパルス分移動するようになり高
精度な定速性を実現できることになる。
As described above, according to this embodiment, after the movable body has moved by No pulses, it is possible to suppress detection errors due to pitch errors and eliminate detection errors due to sampling, and to move by Nr pulses at regular intervals. This makes it possible to achieve highly accurate constant speed performance.

なお、実施例において、立上げ手段として、移動開始か
らNoパルス移動するまでは一定電圧を制御対象へ入力
するものとしたが、立上げ手段として一定の時間毎に、
その時刻での目標値を生成しフィードバック信号を生成
してフィードバック信号を制御対象へ入力してもよく、
立上げ手段の終了時期をNoパルス分移動した時点とし
たが、あらかじめ設定した位置を通過した時点で立上げ
手段を終了してもよく、またあらかじめ設定した時間が
経過した時点で立上げ手段を終了してもよい。
In addition, in the embodiment, as a start-up means, a constant voltage was input to the controlled object from the start of movement until the No pulse movement, but as a start-up means, at fixed time intervals,
A target value at that time may be generated, a feedback signal may be generated, and the feedback signal may be input to the controlled object.
Although the start-up means is set to end when the start-up means has moved by the number of pulses, the start-up means may be ended when the start-up means has passed a preset position, or the start-up means may be ended when a preset time has elapsed. You may quit.

また数値演算プロセッサでソフトウェア的に対処したも
のはハードウェアで対処してもよく、ハードウェアで対
処したものをソフトウェアで対処してもよい。
Also, what was handled by software in a numerical processor may be handled by hardware, and what was handled by hardware may be handled by software.

さらに移動体の速度を検出する速度検出装置を付加し、
速度検出装置の速度信号も用いてフィードバック信号を
生成してもよい。
Additionally, a speed detection device is added to detect the speed of the moving object.
The speed signal of the speed detection device may also be used to generate the feedback signal.

発明の効果 以上のように本発明は、位置検出器が所定のパルス数を
検出する毎に、その区間の時間を求め、その時間と目標
速度の積から目標値を生成し、各区間の時間、目標値お
よび所定の変位量からフィードバック量を生成して制御
対象にフィードバックすることにより、位置検出エラー
が小さくなり精度良く定速性を得ることができる。
Effects of the Invention As described above, the present invention calculates the time of the section every time the position detector detects a predetermined number of pulses, generates the target value from the product of the time and the target speed, and calculates the time of each section. By generating a feedback amount from the target value and a predetermined displacement amount and feeding it back to the controlled object, the position detection error is reduced and constant speed can be achieved with high accuracy.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本実施例における速度制御装置の構成図、第2
図は第1図の数値演算装置がおこなう演算のフローチャ
ート図、第3図は従来の速度制御装置の構成図、第4図
は従来の位置検出タイミング及び検出精度を表す説明図
、第5図はセンサのピッチ誤差を表わす分解能特性図で
ある。 10・・・・・・制御対象、12・・・・・・位置セン
サ、14・・・・・・カウンタ、16・・・・・・−数
回路、20・・・・・・−数回路、24・・・・・・切
り換えスイッチ、2B・・・・・・発振回路、30・・
・・・・カウンタ、32・・・・・・数値演算プロセッ
サ、50・・・・・・制御対象、52・・・・・・位置
センサ、54・・・・・・カウンタ、58・・・・・・
目標位置信号、60・・・・・・メモリ、62・・・・
・・コントローラ。 代理人の氏名 弁理士 中尾敏男 はか1名第2図 第4図 7  27  3T   吟間オ 第5図
Figure 1 is a configuration diagram of the speed control device in this embodiment,
The figure is a flowchart of calculations performed by the numerical calculation device in Figure 1, Figure 3 is a configuration diagram of a conventional speed control device, Figure 4 is an explanatory diagram showing conventional position detection timing and detection accuracy, and Figure 5 is an explanatory diagram showing conventional position detection timing and detection accuracy. FIG. 3 is a resolution characteristic diagram showing a pitch error of a sensor. 10...Controlled object, 12...Position sensor, 14...Counter, 16...-Several circuits, 20...-Several circuits , 24... changeover switch, 2B... oscillation circuit, 30...
... Counter, 32 ... Numerical calculation processor, 50 ... Controlled object, 52 ... Position sensor, 54 ... Counter, 58 ... ...
Target position signal, 60... Memory, 62...
··controller. Name of agent Patent attorney Toshio Nakao (1 person) Figure 2 Figure 4 Figure 7 27 3T Ginmao Figure 5

Claims (2)

【特許請求の範囲】[Claims] (1)可動体の速度を制御する装置において、可動体の
一定変位毎にパルス信号を出力する位置センサと、前記
パルス信号をカウントして変位量を検出する位置検出手
段と、時間を計測する時間計測手段と、目標変位を生成
する目標値生成手段とを備え、可動体が所定のパルス数
分を移動する区間毎の時間を前記時間計測手段より求め
、前記目標値生成手段により前記時間と目標速度の積で
目標値を生成し、さらに前記目標値と前記時間計測手段
より求めた時間および所定のパルス数分に対応する変位
量を用いて制御量を生成し、前記制御量をフィードバッ
クして可動体の速度を制御することを特徴とする速度制
御装置。
(1) A device for controlling the speed of a movable body, which includes a position sensor that outputs a pulse signal every time the movable body moves a certain amount, a position detection means that counts the pulse signal and detects the amount of displacement, and measures time. The device includes a time measuring means and a target value generating means for generating a target displacement, the time measuring means calculates the time for each section in which the movable body moves for a predetermined number of pulses, and the target value generating means calculates the time and the target displacement. A target value is generated by the product of the target speed, a controlled variable is generated using the target value, the time obtained by the time measuring means, and a displacement amount corresponding to a predetermined number of pulses, and the controlled variable is fed back. A speed control device that controls the speed of a movable body by
(2)可動体が静止状態から動作を開始して所定のパル
ス数分の変位をするまでの期間あるいは所定の位置を通
過するまでの期間あるいは所定の時間が経過するまでの
期間においては、あらかじめ設定した一定量の制御量を
フィードバックする、あるいは一定時間毎に前記目標値
生成手段により時間の関数とした目標値と前記位置検出
手段の検出値を用いて制御量を生成し、前記制御量をフ
ィードバックする仕上げ手段を設けたことを特徴とする
特許請求の範囲第(1)項記載の速度制御装置。
(2) During the period from when the movable body starts operating from a stationary state until it is displaced by a predetermined number of pulses, until it passes a predetermined position, or until a predetermined time elapses, Feedback a set constant amount of control amount, or generate a control amount by the target value generation means at regular intervals using the target value as a function of time and the detected value of the position detection means, and The speed control device according to claim 1, further comprising a finishing means for feedback.
JP30980187A 1987-12-08 1987-12-08 Speed control device Pending JPH01150917A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30980187A JPH01150917A (en) 1987-12-08 1987-12-08 Speed control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30980187A JPH01150917A (en) 1987-12-08 1987-12-08 Speed control device

Publications (1)

Publication Number Publication Date
JPH01150917A true JPH01150917A (en) 1989-06-13

Family

ID=17997407

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30980187A Pending JPH01150917A (en) 1987-12-08 1987-12-08 Speed control device

Country Status (1)

Country Link
JP (1) JPH01150917A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009509703A (en) * 2005-10-03 2009-03-12 コロプラスト アクティーゼルスカブ Men's incontinence products and packages for them

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009509703A (en) * 2005-10-03 2009-03-12 コロプラスト アクティーゼルスカブ Men's incontinence products and packages for them

Similar Documents

Publication Publication Date Title
EP0242869B1 (en) Numerical control equipment
JPH0499627A (en) Tuning phase control device for servo system
KR920002760B1 (en) Speed controller
JPH01150917A (en) Speed control device
JPS63263507A (en) Position controller
JP2778159B2 (en) Servo motor feed compensation method
JPS6094216A (en) Cutting control device
JP2523138B2 (en) Work tracking device control method
JPH02307384A (en) Motor speed controller
JPH11254272A (en) Thermal displacement correcting method for feed screw
JPS617907A (en) Numerical control device
JPS6038658A (en) Speed detecting apparatus
JPS63185757A (en) Automatic width adjusting device for guide rail
JPH11161341A (en) Servo control method using pulse encoder
JPS5664610A (en) Measuring method of tooth form of gear
JPH02139605A (en) Position controller for moving body
JPH06194373A (en) Speed detector
JP2646095B2 (en) Injection process control method for injection molding machine
JPH0283708A (en) Setting method for coordinate original point of traveling object
JP2003307438A (en) Apparatus and method for detecting match
JPH08140384A (en) Servo motor controller
JPS60193004A (en) Program controller
JPH04334992A (en) Control method of servo device
JPH0785113B2 (en) Plasma position profile detector
JPH06265563A (en) Moving speed detector for encoder