[go: up one dir, main page]

JPH07103793A - Recorder - Google Patents

Recorder

Info

Publication number
JPH07103793A
JPH07103793A JP24495793A JP24495793A JPH07103793A JP H07103793 A JPH07103793 A JP H07103793A JP 24495793 A JP24495793 A JP 24495793A JP 24495793 A JP24495793 A JP 24495793A JP H07103793 A JPH07103793 A JP H07103793A
Authority
JP
Japan
Prior art keywords
pen
deviation
command
speed
motor
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.)
Granted
Application number
JP24495793A
Other languages
Japanese (ja)
Other versions
JP3259469B2 (en
Inventor
Chiaki Iwasa
千秋 岩佐
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.)
Shimadzu Corp
Original Assignee
Shimadzu Corp
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 Shimadzu Corp filed Critical Shimadzu Corp
Priority to JP24495793A priority Critical patent/JP3259469B2/en
Publication of JPH07103793A publication Critical patent/JPH07103793A/en
Application granted granted Critical
Publication of JP3259469B2 publication Critical patent/JP3259469B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Recording Measured Values (AREA)

Abstract

(57)【要約】 【目的】 応答性を確保した上で、ハンチング、オーバ
シュートの生じない記録計を提供する。 【構成】 ペン位置検出演算部9からのペン位置データ
とペン位置指令データとにより、位置偏差演算部10で
偏差を求め、また前回と今回のペン位置データによりペ
ン速度演算部11でペン速度を求め、偏差が所定値より
大きい間は、駆動/制動制御部13より、高速定速指令
を出し、偏差が所定値より小さくなり、高速定速移動か
ら低速移動に移行するときに、駆動/制動制御部13よ
り、モータに逆回転を与えるための指令を出力する。
(57) [Summary] [Purpose] To provide a recorder that does not cause hunting or overshoot while ensuring responsiveness. [Configuration] A deviation is obtained by a position deviation calculation unit 10 based on the pen position data and the pen position command data from the pen position detection calculation unit 9, and the pen speed is calculated by a pen speed calculation unit 11 based on the previous and current pen position data. When the deviation is larger than the predetermined value, the drive / braking control unit 13 issues a high-speed constant speed command, and when the deviation becomes smaller than the predetermined value and the high-speed constant speed movement moves to the low-speed movement, the drive / braking is performed. The controller 13 outputs a command for giving the motor a reverse rotation.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、プラント等におい
て、各種入力信号を受け、記録紙に、その入力信号のレ
ベルに応じたアナログ記録をする記録計に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a recorder for receiving various input signals and performing analog recording on recording paper according to the level of the input signals in a plant or the like.

【0002】[0002]

【従来の技術】記録計は、外部入力信号に応じて動作し
て、記録用紙に対して測定信号をアナログ記録する装置
である。そして、従来より各種の構成のものが存在する
が、いずれの記録計も、記録ペンと、記録ペンを保持す
る保持台と、この保持台を記録用紙の所定位置にまで移
動させるサーボ機構とを備えており、具体的構成を示す
と、例えば、図7〜図9に示す通りである。
2. Description of the Related Art A recorder is a device that operates in response to an external input signal and records a measurement signal on a recording sheet in an analog manner. And, although there are various configurations conventionally, in any recorder, a recording pen, a holding base for holding the recording pen, and a servo mechanism for moving the holding base to a predetermined position of the recording sheet are provided. It is provided, and a specific configuration is shown, for example, as shown in FIGS.

【0003】図7に示す記録計は、記録ペンの保持台を
移動させるモータ31と、抵抗ブラシ方式などによって
記録ペンの現在位置を検出するペン位置検出回路32
と、ペン位置検出回路32からのペン位置データとペン
位置指令データとを受けて両者を一致させるようモータ
31を駆動するサーボアンプ33とで構成されている。
図8に示す記録計は、モータ31と、ペン位置検出回路
32と、ペン位置指令データとペン位置データとを受け
て制御出力データを算出するCPU34と、CPU34
からの制御出力データをアナログ信号に変換するD/A
変換器35と、D/A変換器35からの信号に応じてモ
ータ31を駆動するモータドライバ36とで構成されて
いる。
The recorder shown in FIG. 7 has a motor 31 for moving a holder for the recording pen and a pen position detection circuit 32 for detecting the current position of the recording pen by a resistance brush method or the like.
And a servo amplifier 33 that receives the pen position data and the pen position command data from the pen position detection circuit 32 and drives the motor 31 so as to match them.
The recorder shown in FIG. 8 includes a motor 31, a pen position detection circuit 32, a CPU 34 which receives the pen position command data and the pen position data, and calculates control output data, and a CPU 34.
D / A that converts the control output data from the device into an analog signal
It is composed of a converter 35 and a motor driver 36 which drives the motor 31 in response to a signal from the D / A converter 35.

【0004】図9に示す記録計は、モータ31と、ペン
位置検出回路32と、サーボアンプ33と、CPU34
と、D/A変換器35と、モータドライバ36とで構成
されている。しかしながら、図7の記録計はアナログ制
御方式であり、特に、目標値付近において充分な制御性
能が得られないという問題点がある。一方、図8、図9
の記録計では、D/A変換器を用いるので、CPUを用
いた高精度の制御を行うには、不可避的にD/A変換器
を高精度化せざるを得ず、装置が高価格化してしまうと
いう問題がある。
The recorder shown in FIG. 9 has a motor 31, a pen position detection circuit 32, a servo amplifier 33, and a CPU 34.
And a D / A converter 35 and a motor driver 36. However, the recorder of FIG. 7 is an analog control system, and there is a problem that sufficient control performance cannot be obtained particularly near the target value. On the other hand, FIGS.
In this recorder, since the D / A converter is used, in order to perform high-precision control using the CPU, it is inevitable that the D / A converter must be highly accurate, and the device becomes expensive. There is a problem that it will end up.

【0005】そこで、本出願人は、上記問題点を解決す
るために、駆動/制御手段と、比例制御手段と、積分制
御手段とを備え、高精度にモータ制御を行う記録計をす
でに出願した(特願平4−31829号)。
In order to solve the above-mentioned problems, the present applicant has already applied for a recorder having a drive / control means, a proportional control means, and an integral control means, and performing motor control with high accuracy. (Japanese Patent Application No. 4-31829).

【0006】[0006]

【発明が解決しようとする課題】上記出願に係る記録計
は、従来のものに比し、精度は向上したが、基本的には
比例制御を行っている中で、大きな偏差による高速(定
速)移動から、偏差が小さくなり、低速(定速)移動に
移行する際、モータへの駆動を中断して、所定の速度に
なってから低速移動に変わっていくものであり、モー
タ、減速系(例えば歯車減速系)、ペン駆動系などの慣
性によりペンが行き過ぎる現象が起こり、ペン位置制御
にハンチング、オーバシュートが発生するという問題が
生じている。
The recorder according to the above application has improved accuracy as compared with the conventional recorder, but basically, in proportional control, high speed (constant speed ) When the deviation from the movement becomes small and the speed shifts to a low speed (constant speed), the driving to the motor is interrupted and the speed is changed to the low speed after reaching a predetermined speed. There is a problem that a pen overshoots due to inertia of a gear reduction system, a pen drive system, or the like, causing hunting and overshoot in pen position control.

【0007】また、これを防止するために、比較的偏差
が大きい段階で速度を低くすることが考えられるが、こ
うすると逆に応答性が悪いという問題がある。この発明
は、上記問題点に着目してなされたものであって、応答
性を確保した上で、ハンチング、オーバシュートの生じ
ない記録計を提供することを目的としている。
In order to prevent this, it is conceivable to reduce the speed at a stage where the deviation is relatively large. However, if this is done, there is a problem that the response is bad. The present invention has been made in view of the above problems, and an object of the present invention is to provide a recorder that ensures responsiveness and does not cause hunting or overshoot.

【0008】[0008]

【課題を解決するための手段及び作用】この発明の記録
計は、外部からの入力信号を受け、この信号に応じた記
録ペンの位置指令値を算出する指令値算出手段と、記録
ペンの実際の位置を検出するペン位置検出手段と、前記
指令値算出手段と、ペン位置検出手段の出力を受け、両
出力の偏差を求める偏差算出手段と、この偏差の大きさ
に応じて数段階の定速移動を行うペンの駆動用のモータ
と、この定速移動させるための指令を出力させる手段
と、前記ペン位置検出手段で検出されるペン位置の変化
に応じてペン移動速度を算出するペン移動速度算出手段
と、前記偏差とペン移動速度の変化率に応じて定速移動
指令、逆回転定速移動指令、停止指令を出力し、高速移
動から偏差が小さくなり低速移動に移るとき、前記モー
タに逆回転あるいは停止の指令を出力する駆動/制動手
段と、前記偏差算出手段の出力に応じて制御を行う比例
制御手段と、この比例制御手段の動作にもかかわらず、
記録ペンが移動しない場合、漸増するデータに基づいて
指令値に向けて記録ペンを移動させる積分制御手段とを
備えている。
The recorder according to the present invention receives an input signal from the outside and calculates a position command value of the recording pen according to this signal, and an actual value of the recording pen. , A deviation calculating means for receiving the outputs of the command value calculating means and the pen position detecting means, and calculating a deviation between both outputs, and a constant of several steps according to the magnitude of the deviation. A motor for driving a pen that moves at a high speed, a means for outputting a command for moving the pen at a constant speed, and a pen movement for calculating a pen movement speed according to a change in the pen position detected by the pen position detecting means. The speed calculation means outputs a constant speed movement command, a reverse rotation constant speed movement command, and a stop command according to the deviation and the rate of change of the pen movement speed, and when the deviation decreases from high speed movement to low speed movement, the motor Reverse rotation or A driving / braking means for outputting a command of stop, the proportional control means for performing control in accordance with the output of the deviation calculation means, despite the operation of the proportional control means,
When the recording pen does not move, the integral control means for moving the recording pen toward the command value based on the gradually increasing data.

【0009】この記録計では、ペン位置検出手段の他
に、ペン移動速度算出手段を備え、偏差が小さくなって
低速に移行するときに、モータに逆回転の制動指令を与
えるので、ハンチング、オーバシュートの発生が回避さ
れる。
In this recorder, in addition to the pen position detecting means, the pen moving speed calculating means is provided, and when the deviation becomes small and the speed shifts to a low speed, a reverse rotation braking command is given to the motor, so that hunting or overshooting occurs. The occurrence of shoots is avoided.

【0010】[0010]

【実施例】以下、実施例により、この発明をさらに詳細
に説明する。図1は、この発明の一実施例である記録計
について、特に、サーボ機構を中心に図示したブロック
図である。この装置は、ペン位置指令データとフィード
バック信号とを受けるCPU1と、CPU1のデジタル
出力(モータ操作信号)をアナログ信号に変換する加算
回路2と、加算回路2の出力を受けるモータドライバ3
と、モータドライバ3の出力によって駆動されるDCブ
ラシレスのモータ4と、モータ4の回転に応じて記録ペ
ン(図示せず)を移動させるペン駆動機構5と、記録ペ
ンの位置を検出するペン位置検出回路6と、CPU1に
対し、ペン位置に応じたフィードバック信号を与えるA
/D変換器7とで、構成されている。
The present invention will be described in more detail with reference to the following examples. FIG. 1 is a block diagram of a recorder according to an embodiment of the present invention, particularly focusing on a servo mechanism. This apparatus includes a CPU 1 that receives pen position command data and a feedback signal, an adder circuit 2 that converts a digital output (motor operation signal) of the CPU 1 into an analog signal, and a motor driver 3 that receives an output of the adder circuit 2.
A DC brushless motor 4 driven by the output of the motor driver 3, a pen drive mechanism 5 for moving a recording pen (not shown) according to the rotation of the motor 4, and a pen position for detecting the position of the recording pen. A feedback signal is supplied to the detection circuit 6 and the CPU 1 according to the position of the pen.
And / D converter 7.

【0011】なお、ここでは1個の記録ペンの回路のみ
を示しているが、n個の記録ペンに対して、それぞれ個
別に加算回路2、モータドライバ3、モータ4及び記録
ペン駆動機構5を備えている。また、ペン位置指令デー
タは、メインCPU8から、例えば100mS毎に与え
られるデータであって、この記録計に供給される入力信
号に応じて算出される記録ペン位置を指令するデータで
ある。
Although only one recording pen circuit is shown here, an adder circuit 2, a motor driver 3, a motor 4 and a recording pen drive mechanism 5 are individually provided for n recording pens. I have it. Further, the pen position command data is data given from the main CPU 8 every 100 mS, for example, and is data for commanding a recording pen position calculated according to an input signal supplied to the recorder.

【0012】CPU1は、いわゆる1チップマイコンで
あって、処理内容を機能ブロック図で示すと図2の通り
である。すなわち、このCPU1は、フィードバック信
号を受けてペン位置を算出するペン位置検出演算部9
と、算出されたペン位置データとメインCPU8からの
ペン位置指令データの偏差を算出する偏差演算部10
と、前のペン位置データと今回のペン位置データとによ
りペンの移動速度を算出するペン速度演算部11と、積
分演算部12と、駆動/制動制御部13とで構成されて
いる。駆動/制動制御部13には、モータ回転速度指令
演算部14と極性判定部15を含む。モータ回転速度指
令演算部14には、サーボコントロール特性として、ペ
ン速度(モータ回転速度)−偏差カーブを図3に示すも
ので、予め最適値に設定しておく。図3のαはできるだ
け小さく(10%程度)し、またペンのオーバシュート
ハンチングが起こらない特性とする。この設定カーブと
実際のペン速度との差が速度偏差となる。この速度偏差
と、位置偏差演算部10から入力されるペン位置偏差に
応じて、次のペン速度を決める二次元テーブルを備えて
おり、これによって、モータの回転速度と回転方向(極
性)とのビット信号が出力される。図3のカーブにおい
て、偏差がαより小さい範囲で、カーブより上の領域に
あるとき、カーブから大きく離れる場合には、高速、逆
回転の指令値が出され、ペンに急制動がかけられるよう
になっている。
The CPU 1 is a so-called one-chip microcomputer, and the processing contents are shown in a functional block diagram as shown in FIG. That is, the CPU 1 receives the feedback signal and calculates the pen position by the pen position detection calculation unit 9
And a deviation calculator 10 for calculating a deviation between the calculated pen position data and the pen position command data from the main CPU 8.
The pen speed calculator 11 calculates the moving speed of the pen based on the previous pen position data and the current pen position data, the integral calculator 12, and the drive / braking controller 13. The drive / braking controller 13 includes a motor rotation speed command calculator 14 and a polarity determiner 15. As a servo control characteristic, the motor rotation speed command calculation unit 14 has a pen speed (motor rotation speed) -deviation curve shown in FIG. 3, which is set to an optimum value in advance. 3 in FIG. 3 is made as small as possible (about 10%), and the characteristics are such that pen overshoot hunting does not occur. The difference between this setting curve and the actual pen speed is the speed deviation. A two-dimensional table for determining the next pen speed in accordance with this speed deviation and the pen position deviation input from the position deviation calculation unit 10 is provided, whereby the rotation speed of the motor and the rotation direction (polarity) are provided. A bit signal is output. In the curve shown in FIG. 3, when the deviation is smaller than α and the area is above the curve and the distance from the curve is large, a command value for high speed and reverse rotation is issued so that the pen is braked suddenly. It has become.

【0013】図4は、加算回路2の回路図を示したもの
であり、極性判定部15の出力であるU/D判別信号
(ビット4)に応じて動作するスイッチS4と、モータ
回転速度指令演算部14の出力であるモータ操作信号
(ビット3〜ビット0)に応じて動作するスイッチS3
〜S0と、各スイッチS4〜S0に接続され、抵抗値比
率が1対2対4対8である抵抗R3〜R0と、各抵抗R
3〜R0を介して供給される電圧を抵抗比に応じて加算
する差動増幅器16と、帰還用抵抗Rfとで構成されて
いる。そして、スイッチS4は、U/D判別(アップ/
ダウン判別)データに応じてON/OFF動作をして、
スイッチS3〜S0に対して+15Vまたは−15Vの
電圧を供給するようになっている。つまり、極性判定部
15から出力されるビット4のデータは、モータ4に対
する正逆回転指令信号として機能する。
FIG. 4 is a circuit diagram of the adder circuit 2, in which a switch S4 which operates in response to a U / D discrimination signal (bit 4) output from the polarity discriminator 15 and a motor rotation speed command are given. A switch S3 that operates according to the motor operation signal (bit 3 to bit 0) output from the calculation unit 14
To S0, resistors R3 to R0 connected to the switches S4 to S0 and having a resistance value ratio of 1: 2: 4: 8, and resistors R3 to R0.
It is composed of a differential amplifier 16 that adds the voltage supplied via 3 to R0 according to the resistance ratio, and a feedback resistor Rf. Then, the switch S4 determines U / D (up /
ON / OFF operation according to the data)
A voltage of + 15V or -15V is supplied to the switches S3 to S0. That is, the data of bit 4 output from the polarity determination unit 15 functions as a forward / reverse rotation command signal for the motor 4.

【0014】また、ペン駆動機構5は、モータ4と接続
される減速ギヤと、プーリと、繰り糸と、ペン保持機構
と、ペン保持機構移動ガイドと、記録ペンなどで構成さ
れている。なお、記録ペンは、このペン駆動機構5によ
って、0mm〜100mmの範囲内を移動する。ペン位
置検出回路6は、電磁誘導方式などによる、いわゆる無
接触ポテンショメータであって、例えば、図5の構成に
なっている。すなわち、このペン位置検出回路6は、記
録ペン移動範囲の前面に敷設されるセンスコイル回路1
7と、記録ペンのペン先部に磁界を発生させる励振コイ
ル18と、励振コイル18を駆動する励振回路19と、
センスコイルとの接続を順次に切替える為の回路切替器
20と、センスコイルからの電磁誘導信号を増幅する信
号増幅回路21と、信号増幅回路21の出力をデジタル
信号に変換するA/D変換器22と、全体の動作を制御
するCPU23とで構成されている。そして、回路切替
器20とA/D変換器22は、CPU23からの切替指
令やA/Dスタート指令などに基づいて動作し、A/D
変換器22の出力がCPU23に入力されることによっ
て、ペン位置を正確に検出できるようになっている。
The pen driving mechanism 5 is composed of a reduction gear connected to the motor 4, a pulley, a reel, a pen holding mechanism, a pen holding mechanism moving guide, and a recording pen. The recording pen moves within a range of 0 mm to 100 mm by the pen driving mechanism 5. The pen position detection circuit 6 is a so-called non-contact potentiometer of the electromagnetic induction type or the like, and has the configuration of FIG. 5, for example. That is, the pen position detection circuit 6 is provided in the sense coil circuit 1 laid in front of the recording pen moving range.
7, an excitation coil 18 for generating a magnetic field at the pen tip of the recording pen, and an excitation circuit 19 for driving the excitation coil 18,
A circuit switch 20 for sequentially switching the connection with the sense coil, a signal amplifier circuit 21 for amplifying an electromagnetic induction signal from the sense coil, and an A / D converter for converting the output of the signal amplifier circuit 21 into a digital signal. 22 and a CPU 23 that controls the overall operation. Then, the circuit switch 20 and the A / D converter 22 operate based on a switching command from the CPU 23, an A / D start command, etc.
By inputting the output of the converter 22 into the CPU 23, the pen position can be accurately detected.

【0015】次に、上記実施例記録計の全体動作を説明
する。メインCPU8より、サーボCPU1に、ペン位
置指令データが入力されると、そのペン位置指令データ
がサーボCPU1の位置偏差演算部10に加えられる。
一方、A/D変換器7を経て、サーボCPU1のペン位
置検出演算部9に入力されたフィードバック信号によ
り、ペン位置検出演算部9は、ペンの現位置を演算して
いる。このペン位置データが、位置偏差演算部10に加
えられ、位置偏差演算部10は、その時点における偏差
を算出する。この偏差は、駆動/制動演算部13に加え
られ、この偏差が図3に示すαより大きい場合は、モー
タ回路速度指令演算部15よりモータの高速(定速)運
転を示すビット0〜3の信号を加算回路2に出力すると
ともに、偏差の極性に応じ極性判定部15より、目標位
置に近づけるためのビット4信号を加算回路2に加えら
れる。加算回路2では、入力されたビット0〜3の信号
をアナログ信号に変換し、また極性を示すビット4信号
に応じた極性で、モータドライバ3に入力し、モータド
ライバ3は入力された信号に応じ、モータ4を等速回転
駆動し、記録ペン駆動機構部5の記録ペンを目標の位置
に近づけるように移動させる。なお、この状態で、ペン
速度演算部11では、前回のペン位置と今回のペン位置
からペン速度を算出し、これを駆動/制動制御部13に
入力している。偏差がαよりも小さくなるまでは、モー
タの回転速度Wでの高速定速移動が続く。やがて、偏差
がαより小さくなると、設定してある図3の回転速度−
偏差カーブに対し、モータが減速系等の慣性により、大
き目のモータ回転速度となり、ペン速度演算部11で算
出されるペン速度も大き目となる。そのため、実際の算
出ペン速度と設定カーブのペン速度には偏差が生じる。
駆動/制動制御部13では、この算出された速度偏差と
ペン位置偏差を二次元テーブルに入力し、目標とするペ
ン速度を読み出し、それに対応したデータの回転速度と
回転方向(極性)のビット信号を加算回路2に出力す
る。この状態で、つまり偏差がαより小さくなった状態
で、設定カーブに対し、実際の制御ポイントが大きく上
側のエリアに離れて行く場合には、モータが高速で逆回
転するような信号(高速逆回転指令)を出力する。これ
により、急制動がかかり、実際の制御ポイントが設定カ
ーブより下側のエリアに入ると、逆回転を停止する。偏
差が小さくなり、制御ポイントが再度上側エリアに入る
と、また逆回転指令を出力する。このように逆回転指令
とその停止指令を繰り返すことにより、実際のモータ回
転速度−偏差カーブが、設定カーブに近づくように制御
される。
Next, the overall operation of the recorder of the above embodiment will be described. When pen position command data is input from the main CPU 8 to the servo CPU 1, the pen position command data is added to the position deviation calculation unit 10 of the servo CPU 1.
On the other hand, the pen position detection calculation unit 9 calculates the current position of the pen by a feedback signal input to the pen position detection calculation unit 9 of the servo CPU 1 via the A / D converter 7. This pen position data is added to the position deviation calculation unit 10, and the position deviation calculation unit 10 calculates the deviation at that time. This deviation is added to the drive / braking calculation unit 13, and when the deviation is larger than α shown in FIG. 3, the motor circuit speed command calculation unit 15 determines that bits 0 to 3 of the motor are operating at high speed (constant speed). The signal is output to the adder circuit 2, and a bit 4 signal for approaching the target position is added to the adder circuit 2 by the polarity determination unit 15 according to the polarity of the deviation. The adder circuit 2 converts the input signal of bits 0 to 3 into an analog signal, and inputs the signal to the motor driver 3 with the polarity according to the bit 4 signal indicating the polarity, and the motor driver 3 converts the input signal into the input signal. Accordingly, the motor 4 is rotationally driven at a constant speed, and the recording pen of the recording pen drive mechanism unit 5 is moved so as to approach the target position. In this state, the pen speed calculation unit 11 calculates the pen speed from the previous pen position and the current pen position, and inputs this to the drive / braking control unit 13. Until the deviation becomes smaller than α, high-speed constant speed movement at the motor rotation speed W continues. Eventually, when the deviation becomes smaller than α, the set rotational speed of FIG.
With respect to the deviation curve, the motor has a large motor rotation speed due to the inertia of the deceleration system and the like, and the pen speed calculated by the pen speed calculation unit 11 also becomes large. Therefore, a deviation occurs between the actual calculated pen speed and the pen speed of the set curve.
The drive / braking control unit 13 inputs the calculated speed deviation and pen position deviation into a two-dimensional table, reads the target pen speed, and outputs a bit signal of the rotation speed and the rotation direction (polarity) of the corresponding data. Is output to the adder circuit 2. In this state, that is, when the deviation is smaller than α, when the actual control point is far from the set curve and moves farther to the upper area, a signal that causes the motor to rotate in reverse at high speed (high speed reverse Outputs a rotation command). As a result, sudden braking is applied, and when the actual control point enters the area below the set curve, reverse rotation is stopped. When the deviation becomes small and the control point enters the upper area again, the reverse rotation command is output again. By repeating the reverse rotation command and the stop command in this manner, the actual motor rotation speed-deviation curve is controlled so as to approach the set curve.

【0016】また、ペン位置偏差値が不感帯幅±d/2
よりも大きく、比例制御状態でありながら、なおペン位
置偏差値が前回値と同一であった場合、つまり、ペンが
移動していない場合、積分演算部12で、カウントを行
い、同一である回数がN回生じたときに、駆動/制動制
御部13は、一つ上の速度と、偏差の正負による極性を
出力する。これにより、比例制御動作にもかかわらず、
ペンが移動しない場合に、ペン移動が機能し、また記録
ペンの駆動系の経年変化に対して有効に対処できる。偏
差がd/2より小さくなると、モータは停止する。
Further, the pen position deviation value is the dead band width ± d / 2.
If the pen position deviation value is still the same as the previous value even in the proportional control state, that is, if the pen has not moved, the integral calculation unit 12 counts, and the same number of times When N occurs N times, the drive / braking control unit 13 outputs the speed one level higher and the polarity depending on whether the deviation is positive or negative. By this, despite the proportional control operation,
When the pen does not move, the pen movement works, and it is possible to effectively cope with the secular change of the drive system of the recording pen. When the deviation becomes smaller than d / 2, the motor stops.

【0017】以上の動作をフロー図で示すと図6の通り
である。処理動作が開始されると、先ず、ステップST
(以下STという)1で、ペン位置とペン指令の偏差を
求め、この偏差が図3のαより大きく、あるいは−αよ
り小さいか、−α≦偏差≦αか、あるいは−α/2<偏
差<α/2かを判定する(ST2)。当初、偏差が非常
に大きくて、−α>偏差、あるいはα<偏差の場合は、
偏差の符号により決まる方向へ最高速度(定速)で移動
させる(ST3)。
FIG. 6 is a flow chart showing the above operation. When the processing operation is started, first, step ST
In (1) (hereinafter referred to as ST), a deviation between the pen position and the pen command is obtained, and the deviation is larger than α in FIG. 3 or smaller than −α, −α ≦ deviation ≦ α, or −α / 2 <deviation. It is determined whether <α / 2 (ST2). Initially, if the deviation is very large and −α> deviation or α <deviation,
It is moved at the maximum speed (constant speed) in the direction determined by the sign of the deviation (ST3).

【0018】何回かの処理タイミングの到来で、偏差が
−α以上、α以下となると、前回との比較で、同一偏差
がn回以上続いたかを判定し(ST4)、偏差が変化し
ている状態では、前回と今回のペン位置より、ペン速度
を算出し(ST5)、図3のカーブより速度設定値を算
出し(ST6)、ペン速度−速度設定値の演算を行い、
速度偏差を求める(ST7)。そして、偏差及び速度偏
差より、2次元テーブルを参照し、回転方向、回転速度
を得る(ST8)。偏差が−α以上、α以内であるの
に、ペンが動かない時は、n回以上同一偏差が続くと、
つまり積分演算により、ST4の判定がYESとなり、
ST9で前回より、1つ上のレベルの速度指令を出す。
やがて、偏差が−α/2より大きく、α/2より小さく
なると停止する(ST10)。
When the deviation becomes −α or more and α or less at several processing timings, it is judged by comparison with the previous time whether the same deviation continues for n times or more (ST4), and the deviation changes. In this state, the pen speed is calculated from the previous and current pen positions (ST5), the speed set value is calculated from the curve in FIG. 3 (ST6), and the pen speed-speed set value is calculated.
The speed deviation is obtained (ST7). Then, the two-dimensional table is referred to from the deviation and the speed deviation to obtain the rotation direction and the rotation speed (ST8). Even if the deviation is -α or more and α or less, but the pen does not move, if the same deviation continues n or more times,
That is, the result of the integration calculation is YES in ST4,
In ST9, a speed command of a level one level higher than the previous time is issued.
Eventually, when the deviation is larger than -α / 2 and smaller than α / 2, the operation is stopped (ST10).

【0019】[0019]

【発明の効果】この発明によれば、ペン位置検出手段の
他に、ペン速度算出手段を備え、偏差が小さくなって高
速移動から低速移動に移行する際に、モータ逆回転によ
る制動指令を与えるので、応答速度を落とすことなく、
それでいてハンチング、オーバシュートの生じない記録
計を得ることができる。
According to the present invention, in addition to the pen position detecting means, the pen speed calculating means is provided, and when the deviation becomes small and the high speed movement is changed to the low speed movement, a braking command by reverse rotation of the motor is given. So without slowing down the response speed,
Still, it is possible to obtain a recorder without hunting and overshoot.

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

【図1】この発明の一実施例である記録計の一部を示す
ブロック図である。
FIG. 1 is a block diagram showing a part of a recorder according to an embodiment of the present invention.

【図2】同実施例記録計を構成するサーボCPUの機能
構成を示すブロック図である。
FIG. 2 is a block diagram showing a functional configuration of a servo CPU that constitutes the recorder of the embodiment.

【図3】同実施例のサーボCPUに設定されるモータ回
転−偏差特性を示す図である。
FIG. 3 is a diagram showing a motor rotation-deviation characteristic set in the servo CPU of the embodiment.

【図4】実施例記録計を構成する加算回路の回路図を図
示したものである。
FIG. 4 is a circuit diagram of an adder circuit included in the recorder of the embodiment.

【図5】実施例記録計を構成するペン位置検出回路の回
路図を図示したものである。
FIG. 5 is a circuit diagram of a pen position detection circuit that constitutes the recorder of the embodiment.

【図6】同実施例記録計の動作を説明するためのフロー
図である。
FIG. 6 is a flowchart for explaining the operation of the recorder of the embodiment.

【図7】従来の記録計についてブロック図を図示したも
のである。
FIG. 7 is a block diagram showing a conventional recorder.

【図8】従来の記録計についてブロック図を図示したも
のである。
FIG. 8 is a block diagram showing a conventional recorder.

【図9】従来の記録計についてブロック図を図示したも
のである。
FIG. 9 is a block diagram illustrating a conventional recorder.

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

9 ペン位置検出演算部 10 位置偏差演算部 11 ペン速度演算部 13 駆動/制動制御部 9 Pen position detection calculation unit 10 Position deviation calculation unit 11 Pen speed calculation unit 13 Drive / braking control unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】外部からの入力信号を受け、この信号に応
じた記録ペンの位置指令値を算出する指令値算出手段
と、記録ペンの実際の位置を検出するペン位置検出手段
と、前記指令値算出手段と、ペン位置検出手段の出力を
受け、両出力の偏差を求める偏差算出手段と、この偏差
の大きさに応じて数段階の定速移動を行うペンの駆動用
のモータと、この定速移動させるための指令を出力させ
る手段と、前記ペン位置検出手段で検出されるペン位置
の変化に応じてペン移動速度を算出するペン移動速度算
出手段と、前記偏差とペン移動速度の変化率に応じて定
速移動指令、逆回転定速移動指令、停止指令を出力し、
高速移動から偏差が小さくなり低速移動に移るとき、前
記モータに逆回転あるいは停止の指令を出力する駆動/
制動手段と、前記偏差算出手段の出力に応じて制御を行
う比例制御手段と、この比例制御手段の動作にもかかわ
らず、記録ペンが移動しない場合、漸増するデータに基
づいて指令値に向けて記録ペンを移動させる積分制御手
段とを備えることを特徴とする記録計。
1. A command value calculating means for receiving an input signal from the outside and calculating a position command value of a recording pen according to the signal, a pen position detecting means for detecting an actual position of the recording pen, and the command. A deviation calculation means for receiving the outputs of the value calculation means and the pen position detection means to obtain a deviation between both outputs, a motor for driving the pen for performing a constant speed movement of several steps according to the magnitude of the deviation, A means for outputting a command for moving at a constant speed, a pen moving speed calculating means for calculating a pen moving speed according to a change in the pen position detected by the pen position detecting means, and a change in the deviation and the pen moving speed. Output constant speed movement command, reverse rotation constant speed movement command, stop command according to the rate,
When the deviation decreases from high speed movement to low speed movement, a drive / reverse rotation or stop command is output to the motor.
If the recording pen does not move in spite of the operation of the braking means, the proportional control means that controls according to the output of the deviation calculation means, and the operation of the proportional control means, the command value is increased based on the gradually increasing data. A recorder comprising: an integral control unit that moves a recording pen.
JP24495793A 1993-09-30 1993-09-30 Recorder Expired - Fee Related JP3259469B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24495793A JP3259469B2 (en) 1993-09-30 1993-09-30 Recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24495793A JP3259469B2 (en) 1993-09-30 1993-09-30 Recorder

Publications (2)

Publication Number Publication Date
JPH07103793A true JPH07103793A (en) 1995-04-18
JP3259469B2 JP3259469B2 (en) 2002-02-25

Family

ID=17126472

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24495793A Expired - Fee Related JP3259469B2 (en) 1993-09-30 1993-09-30 Recorder

Country Status (1)

Country Link
JP (1) JP3259469B2 (en)

Also Published As

Publication number Publication date
JP3259469B2 (en) 2002-02-25

Similar Documents

Publication Publication Date Title
EP0441407B1 (en) System for positioning an object
JPH0778891B2 (en) Optical disc drive apparatus and method
JPH03242713A (en) Driving controller
US4488098A (en) Position control system for a movable member
US5249168A (en) Method and apparatus for initializing optical disk drive apparatus
JP3259469B2 (en) Recorder
JP2528585B2 (en) Hard disk drive control method and apparatus, and personal computer
JP2630192B2 (en) Recorder
JPH07261845A (en) Positioning control unit for servomotor
JPS6380786A (en) Motor drive controller
JPS5942886B2 (en) Voice coil motor control device
JP2666777B2 (en) Magnetic head positioning device for magnetic disk drive
JPH05181537A (en) Method and device for sliding mode control
JPH02195581A (en) Magnetic disk device
JP2716206B2 (en) Head drive motor positioning method
KR100257193B1 (en) Slider motor operation voltage control device
JPH0588749A (en) Sliding mode control method
JP3339943B2 (en) Stage movement control device
JPS63136366A (en) magnetic disk device
JPH0738971Y2 (en) Positioning device
JP3000238B2 (en) Positioning device using stepping motor
JPH08124178A (en) Optical disk drive
JPH04169914A (en) Servo motor speed control device
JPH04140805A (en) High speed positioning device
JPH01204112A (en) Speed controller

Legal Events

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

Year of fee payment: 6

Free format text: PAYMENT UNTIL: 20071214

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

Year of fee payment: 7

Free format text: PAYMENT UNTIL: 20081214

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

Year of fee payment: 8

Free format text: PAYMENT UNTIL: 20091214

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

Free format text: PAYMENT UNTIL: 20091214

Year of fee payment: 8

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

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20101214

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

Year of fee payment: 10

Free format text: PAYMENT UNTIL: 20111214

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

Free format text: PAYMENT UNTIL: 20121214

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees