JPH01101413A - Recorder - Google Patents
RecorderInfo
- Publication number
- JPH01101413A JPH01101413A JP62260100A JP26010087A JPH01101413A JP H01101413 A JPH01101413 A JP H01101413A JP 62260100 A JP62260100 A JP 62260100A JP 26010087 A JP26010087 A JP 26010087A JP H01101413 A JPH01101413 A JP H01101413A
- Authority
- JP
- Japan
- Prior art keywords
- pen
- recording
- cpu
- loop control
- 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.)
- Pending
Links
Landscapes
- Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)
Abstract
Description
【発明の詳細な説明】
[発明の目的]
(産業上の利用分野)
本発明は各種アナログ信号をペンによって記録紙上に波
形記録する記録計に係り、特にペン位置のオープンルー
プ制御機能を備えた記録計の改良に関する。 ・
(従来の技術)
従来から、各種アナログ信号をペンによって記録紙上に
波形記録する記録計が用いられているが、その一つとし
て短時間的にペン位置のオープンループ制御を行なう機
能を備えた記録計が多く採用されてきている。すなわち
この記録計は、ペン駆動機構としてステップモータを使
用し、入力信号に対応したペンの記録位置(今回の記録
位置)と現在のペン位置(前回の記録位置)とから、今
回の記録位置にペンを移動するためのステップモータの
ステップ数(駆動量)およびステップ回転方向を求めて
記録動作を行なうものである。しかしながら、この種の
記録計においては、何らかの原因(外乱)によってペン
位置が一度ずらされると、そのずらされる位置から正常
な記録位置に戻ることができないため、その後の記録が
全く信頼度の低いものとなってしまう。[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention relates to a recorder that records various analog signals in waveforms on recording paper using a pen, and in particular, a recorder that is equipped with an open-loop control function for pen position. Concerning improvements to recorders.・ (Prior art) Recorders have been used that record various analog signals in waveforms on recording paper using a pen, but one of them is a recorder that has a function for short-term open-loop control of the pen position. Many recorders are being used. In other words, this recorder uses a step motor as the pen drive mechanism, and moves from the pen recording position (current recording position) corresponding to the input signal to the current pen position (previous recording position) to the current recording position. The recording operation is performed by determining the number of steps (drive amount) and step rotation direction of the step motor for moving the pen. However, in this type of recorder, once the pen position is shifted due to some reason (disturbance), it cannot return to the normal recording position from the shifted position, so subsequent recordings are completely unreliable. It becomes.
そこで近年では、このような問題を解消するための技術
が、本出願人によって“特願昭61−71175号”に
より提案されてきている。すなわちこの記録計は、ペン
が移動してアナログ入力信号に対する記録動作が行なわ
れている時に、ペンの実際の位置を周期的に検出し、こ
の検出されたペン位置とアナログ入力信号に対応したペ
ンの記録位置とから、ペンを移動させるステップモータ
のステップ数およびステップ回転方向を求めてペン位置
を修正するものである。しかしこの種の記録計では、前
述のような外乱には十分に対処できるが、オープンルー
プ制御されている期間はペン位置検出を行なわないこと
から、もし仮にモータプーリ径や繰糸の径等のメカ系に
誤差が存在すると、ペンの移動にとなって記録誤差が増
大していくことになり、記録精度の点で問題が生じる。Therefore, in recent years, a technique for solving such problems has been proposed by the present applicant in "Japanese Patent Application No. 1983-71175". In other words, this recorder periodically detects the actual position of the pen while the pen is moving and recording in response to an analog input signal, and detects the pen position corresponding to the detected pen position and the analog input signal. The pen position is corrected by determining the number of steps and step rotation direction of the step motor that moves the pen from the recorded position. However, although this type of recorder can adequately handle the disturbances mentioned above, it does not detect the pen position during open-loop control, so if the mechanical system such as the diameter of the motor pulley or reeling If there is an error in , the recording error will increase as the pen moves, causing a problem in recording accuracy.
なお、このようなメカ系の誤差の存在による記録精度上
の問題は、前述の記録計の場合についても同様に言える
ものである。Incidentally, problems in recording accuracy due to the existence of such errors in the mechanical system also apply to the above-mentioned recorder.
(発明が解決しようとする問題点)
以上のように、従来の各種記録計では、モータブーり径
や繰糸の径等のメカ系に誤差が存在すると、記録誤差が
増大して記録精度の点で問題があった。(Problems to be Solved by the Invention) As described above, in various conventional recorders, if there is an error in the mechanical system such as the diameter of the motor boob or the diameter of the reel, the recording error will increase and the recording accuracy will be affected. There was a problem.
本発明の目的は、モータプーリ径や繰糸の径等のメカ系
の誤差が存在していても、常に高精度の記録を行なうこ
とが可能な記録計を提供することにある。An object of the present invention is to provide a recorder that can always perform highly accurate recording even if there are errors in mechanical systems such as the diameter of the motor pulley and the diameter of the reel.
[発明の構成]
(問題点を解決するための手段)
上記の目的を達成するために本発明では、入力信号に対
応したペンの記録位置と現在のペン位置とから、当該ペ
ンを移動させるモータの駆動量を求めて記録動作を行な
うオープンループ制御機能を備えた記録計において、ペ
ンと非接触状態にて当該ペンの位置を検出するペン位置
検出手段と、このペン位置検出手段により複数箇所で検
出された夫々のペン位置に基づいて、オープンループ制
御に・よるペン移動量の補正量を算出する校正動作手段
とを備えて構成している。[Structure of the Invention] (Means for Solving the Problems) In order to achieve the above object, the present invention provides a motor that moves the pen from a recording position of the pen corresponding to an input signal and a current pen position. In a recorder equipped with an open-loop control function that performs a recording operation by determining the drive amount of A calibration operation means for calculating a correction amount of the pen movement amount by open-loop control based on each detected pen position.
(作用)
従って、本発明では以上のような手段を備えたことによ
り、オープンループ制御による複数箇所でのペン位置が
ペン位置検出手段によって検出され、この夫々のペン位
置に基づいてオープンループ制御によるペン移動量の補
正量が校正動作手段によ−って算出される。そして、こ
の算出されたペン移動量の補正量と、入力信号に対応し
たペンの記録位置と、現在のペン位置とから、ペンを移
動させるモータの駆動量が求められることにより、前述
のメカ系の誤差を無くした状態で記録動作が行なわれる
。(Function) Therefore, in the present invention, by providing the above means, the pen position at a plurality of locations by open loop control is detected by the pen position detection means, and based on the respective pen positions, the pen position is detected by open loop control. A correction amount of the pen movement amount is calculated by the calibration operation means. Then, the drive amount of the motor that moves the pen is determined from the calculated correction amount of the pen movement amount, the recording position of the pen corresponding to the input signal, and the current pen position. The recording operation is performed with the error eliminated.
(実施例) まず、本発明の考え方について述べる。(Example) First, the concept of the present invention will be described.
いま、2つのペンが0%の位置にあり、ここでフィード
バック制御であるペン位置検出と誤差補正を行なってい
るものとすると、ここでは誤差は無く全てのペンは第4
図(a)に示すように正確にO%位置にある。次に、ペ
ンに対してオープンループ制御のみを行なって全てのペ
ンを100%の位置へ移動させると、従来例のように特
に何も考慮しなければ、例えば第4図(b)に示すよう
に実際のペンの位置には誤差を生じる。この誤差の原因
としては前述したように、0%から100%までのペン
の移動量すなわちスパンが1.例えばペン駆動用のモー
タであるステップモータの1000ステップ分というこ
とに決まっていても、実際にはモータブーり径や繰糸径
等のメカ系の誤差によって、設定値からばらつくことが
上げられる。Now, if the two pens are at the 0% position and we are performing pen position detection and error correction, which is feedback control, there is no error here and all pens are at the 4th position.
As shown in Figure (a), it is exactly at the 0% position. Next, if all pens are moved to the 100% position by performing only open-loop control on the pens, if nothing is taken into consideration as in the conventional example, for example, as shown in FIG. 4(b), There may be errors in the actual pen position. As mentioned above, the cause of this error is that the amount of pen movement from 0% to 100%, that is, the span is 1. For example, even if it is determined to be 1000 steps of a step motor, which is a motor for driving a pen, in reality, it may vary from the set value due to mechanical errors such as the diameter of the motor bore and the reeling diameter.
−そこで本発明では、校正動作手段というものを備える
。すなわち、第4図(a)に示すように全てのペンの0
%位置を揃えた後に、全てのペンをオープンループ制御
で100%の位置へ移動させ、第4図(b)に示すよう
になった所で再度ペン位置検出を行なう。そして、第4
図Cb’)における検出位置をこれから差引くことによ
って、各ペンの実際のスパンS1.S2 (SNは第
Nペンのスパンであり、単位は%)が求まる。そして、
以後のオープンループ制御においては、篤Nベンに対し
てはX%だけ移動させようとする場合には、実際にはX
%だけでなく (x・100/SN)%だけ移動させる
ことによって誤差補正を行なう。この方法により、全て
のペンが0%に揃った位置からオープンループ制御で1
00%位置転位置した場合には、第4図(C)に示すよ
うに全てのペンを正確に揃えることが可能となる。- Therefore, the present invention includes a calibration operation means. That is, as shown in FIG. 4(a), all pens are 0.
After aligning the % positions, all the pens are moved to the 100% position by open loop control, and the pen positions are detected again at the position shown in FIG. 4(b). And the fourth
By subtracting from this the detected position in figure Cb'), the actual span S1. S2 (SN is the span of the Nth pen, the unit is %) is found. and,
In the subsequent open-loop control, if you want Atsushi N Ben to move by X%, it will actually move by X%.
Error correction is performed by moving not only % but also (x·100/SN)%. With this method, from the position where all pens are aligned at 0%, 1
In the case of 00% positional rotation, it becomes possible to accurately align all the pens as shown in FIG. 4(C).
なお、スパンのばらつきは主にモータプーリ径や繰糸径
によるものであり、ペンの移動距離に比例するものであ
るので、0%から100%への移動が正確になれば、当
然のことながら任意の箇所から任意の箇所への移動も正
確になる。すなわち、−点校正を行なうことのみにより
、全ての記録範囲で正確な記録を行なえることになる。The variation in span is mainly due to the diameter of the motor pulley and reeling diameter, and is proportional to the distance the pen moves, so if the movement from 0% to 100% is accurate, it goes without saying that any Movement from one point to another becomes more accurate. In other words, accurate recording can be performed in the entire recording range only by performing negative point calibration.
また、上述した誤差の要因は経時的にも安定しており、
−度校正動作を行なうことにより長期間の補正が可能で
ある。Furthermore, the above-mentioned error factors are stable over time;
Long-term correction is possible by performing - degree calibration operation.
以下、上記のような考え方に基づいた本発明の一実施例
について図面を参照して説明する。An embodiment of the present invention based on the above concept will be described below with reference to the drawings.
第1図は、本発明による記録計の構成例を示す構成図で
ある。第1図において、各アナログ信号aln82は、
それぞれアンプ1,2を介してアナログ/デジタル変換
器(以下、A/D変換器と称する)3.4に入力され、
デジタル信号に変換されるようになっている。一方、中
央処理装置(以下、CPUと称する)5には、ステップ
モータドライバ6.7およびチャートドライバ8がパス
ライン9を介して接続されており、CPU5から出力さ
れる指令に従ってこれらのステップモータドライバ6.
7およびチャートドライバ8が作動する構成となってい
る。ここで、ステップモータドライバ6はステップモー
タ10のステップ回転方向、パルスレートおよびステッ
プ数のデータを受けてステップモータ10をステップ回
転駆動するものであり、またステップモータドライバ7
はステップモータドライバ6と同様に図示しないステッ
プモータのステップ回転方向、パルスレートおよびステ
ップ数のデータを受けてそのステップモータをステップ
回転駆動するものであ6る。さらに、チャートドライバ
8はチャート、速度データを受けて当該速度となるよう
に、チャートモータ11の回転数を制御して記録紙12
を移動させるものである。FIG. 1 is a block diagram showing an example of the structure of a recorder according to the present invention. In FIG. 1, each analog signal aln82 is
are input to analog/digital converters (hereinafter referred to as A/D converters) 3.4 via amplifiers 1 and 2, respectively,
It is now converted to a digital signal. On the other hand, a step motor driver 6.7 and a chart driver 8 are connected to the central processing unit (hereinafter referred to as CPU) 5 via a path line 9, and these step motor drivers are operated according to instructions output from the CPU 5. 6.
7 and chart driver 8 are operated. Here, the step motor driver 6 receives data on the step rotation direction, pulse rate, and number of steps of the step motor 10 and drives the step motor 10 in step rotation.
Similarly to the step motor driver 6, the step motor driver 6 receives data on the step rotation direction, pulse rate, and number of steps of a step motor (not shown) and drives the step motor in step rotation. Furthermore, the chart driver 8 receives the chart and speed data and controls the number of revolutions of the chart motor 11 so that the recording paper 12 reaches the relevant speed.
It moves the .
一方、ぺ、ンキャリッジ13,14のペン15゜16が
設けられた反対側には、発光素子および受光素子から構
成されるフォトインタラプタ17゜18が設けられてい
る。フォトインタラプタ17は、ペンキャリッジ13に
形成された突起部13aが発光素子と受光素子との間に
入って光をしゃ断した時に、ペン15の実際の位置を検
出したことを示すペン位置検出信号を出力するようにな
っており、またフォトインクラブタ18は、ベンキャリ
ッジ14に形成された突起部14aが発売素子と受光素
子との間に入って光をしゃ断した時に、4ン16の実際
の位置を検出したことを示すペン位置検出信号を出力す
るようになっている。On the other hand, on the opposite side of the pen carriages 13 and 14 from where the pens 15 and 16 are provided, there are provided photointerrupters 17 and 18 that are composed of a light emitting element and a light receiving element. The photo interrupter 17 generates a pen position detection signal indicating that the actual position of the pen 15 has been detected when the protrusion 13a formed on the pen carriage 13 enters between the light emitting element and the light receiving element and blocks the light. In addition, when the protrusion 14a formed on the Ben carriage 14 enters between the emitting element and the light receiving element and blocks the light, the photo ink printer 18 outputs the actual light of 4 in 16. A pen position detection signal indicating that the position has been detected is output.
そして、これらフォトインクラブタ17,18は共に、
センサキャリッジドライバ19により駆動制御されるセ
ンサキャリッジモータ2.0の回転駆動により、各ペン
15.16の移動方向に対して平行移動するように構成
されている。なおこの移動は、各プーリ21,22およ
び23の間に張られた繰糸24に各フォトインタラプタ
17.18を設けたセンサキャリッジ25が取付けられ
、センサキャリッジモータ20の回転駆動がギヤ26゜
27を介してプーリ23に伝達されることにより行なわ
れるようになっている。そして、各フォトインクラブタ
17,18から出力される各ペン位置検出信号は割込み
コントローラ28に入力されるようになっている。Both of these photo ink printers 17 and 18 are
The sensor carriage motor 2.0 is driven and controlled by the sensor carriage driver 19, and the pens 15, 16 are configured to move in parallel with the direction of movement thereof. This movement is achieved by attaching a sensor carriage 25 provided with photo interrupters 17 and 18 to the reeling yarn 24 stretched between the pulleys 21, 22 and 23, and rotating the sensor carriage motor 20 through the gears 26 and 27. This is done by being transmitted to the pulley 23 via the link. Each pen position detection signal output from each photo ink printer 17, 18 is input to an interrupt controller 28.
一方、ステップモータ10の回転軸に設けられたギヤ2
9が回転し、このギヤ29と歯合するギヤ30が回転し
てプーリ31.32に張られた繰糸33が作動すること
により、繰糸33に取付けられたベンキャリッジ13が
シャフト34上を移動するようになっている。On the other hand, a gear 2 provided on the rotating shaft of the step motor 10
9 rotates, the gear 30 that meshes with the gear 29 rotates, and the reeling line 33 tensioned on the pulleys 31 and 32 operates, so that the Benn carriage 13 attached to the reeling line 33 moves on the shaft 34. It looks like this.
上記CPU5は、第2図に示す記録動作処理Aの機能の
他に、第3図に示す如くペン位置検出手段であるセンサ
キャリッジ25を移動させて検出された0%位置(図示
最左側位置)および100%位置転位置最古側位置)の
各箇所での夫々のべ。In addition to the function of recording operation processing A shown in FIG. 2, the CPU 5 moves the sensor carriage 25, which is a pen position detection means, as shown in FIG. and 100% position rotation (earliest position).
ン位置検出信号に基づいて、オープンループ制御による
ペン移動量の補正量すなわちスパン補正係数を全てのペ
ン15.16について算出する校正動作処理Bの機能を
有している。なお、35は上記処理AおよびBの各プロ
グラムを格納するROM (リード・オンリ・メモリ)
であり、36は処理途中および処理結果の各種データを
格納するRAM (ランダム・アクセスeメモリ)であ
る。It has a function of a calibration operation process B that calculates the pen movement amount correction amount, that is, the span correction coefficient, for all the pens 15 and 16 by open loop control based on the pen position detection signal. In addition, 35 is a ROM (read only memory) that stores each program of the above processing A and B.
36 is a RAM (random access e-memory) for storing various data during processing and as a result of processing.
次に、以上の如く構成された記録計の作用について、第
2図および第3図に示す各フロー図に従って説明する。Next, the operation of the recorder configured as described above will be explained with reference to the flowcharts shown in FIGS. 2 and 3.
まず、校正動作について第3図に示す校正動作処理フロ
ー図を参照して述べる。First, the calibration operation will be described with reference to the calibration operation processing flow diagram shown in FIG.
校正動作処理は、後述する記録動作処理を行なうに先だ
って実行される。CPU5は、ステップS11において
センサキャリッジドライバ19に対して駆動指令を出力
する。これにより、センサキャリ、ツジモータ20が回
転駆動してセンサキャリッジ25をホームポジション、
例えば記録紙12の左端の位置へ移動させる。次に、ス
テップS12においてCPU5は、センサキャリッジド
ライバ19に対して駆動指令を出力することにより、セ
ンサキャリッジモータ20が回転駆動してセンサキャリ
ッジ25を、ペン15.16の移動方向に対して平行に
上記ホームポジションから1回移動(スキャン)させて
、現在の全てのペン位置を検出する。すなわち、センサ
キャリッジ25の移動によって、フォトインタラプタ1
7.18の各発光素子と受光素子の間をそれぞれペンキ
ャリッジ13.14の各突起部13a、14aが通過し
、この通過時は各ペン15.16の位置と対応する時刻
であり、この時刻に各フォトインタラプタ17.18か
らペン位置検出信号が出力される。一方、CPU5によ
ってセンサキャリッジ25の往路の期間だけ割込みを許
可しておけば、各フォトインクラブタ17.18が出力
されたペン位置検出信号は、割込みコントローラ28を
通してCPU5に送られる。ここで、現在の各ペン15
.16の位置をRAM36に記憶しておく。The calibration operation process is executed prior to the recording operation process described later. The CPU 5 outputs a drive command to the sensor carriage driver 19 in step S11. As a result, the sensor carriage and Tsuji motor 20 are rotationally driven to move the sensor carriage 25 to the home position.
For example, it is moved to the left end position of the recording paper 12. Next, in step S12, the CPU 5 outputs a drive command to the sensor carriage driver 19, thereby causing the sensor carriage motor 20 to rotate and move the sensor carriage 25 in parallel to the moving direction of the pen 15, 16. The pen is moved (scanned) once from the home position to detect all current pen positions. That is, by moving the sensor carriage 25, the photointerrupter 1
Each protrusion 13a, 14a of the pen carriage 13.14 passes between each light emitting element and light receiving element of 7.18, and this passage corresponds to the position of each pen 15.16, and this time A pen position detection signal is output from each photointerrupter 17 and 18. On the other hand, if the CPU 5 allows interrupts only during the outward movement of the sensor carriage 25, the pen position detection signals output from each photo ink printer 17, 18 are sent to the CPU 5 through the interrupt controller 28. Here, each current pen 15
.. 16 positions are stored in the RAM 36.
このようにして現在の各ペン15.16の位置を検出す
ると、次にステップS13に移行してCPU5は、ステ
ップモータのステップ数から計算を行ない、この値をス
テップモータドライバ6゜7へ設定する。これにより、
ステップモータドライバ6に対応したステップモータ1
0.およびステップモータドライバ7に対応した図示し
ないステップモータがステップ回転駆動し、ステップモ
ータドライバ6に対応した各ギヤ29,30.およびス
テップモータドライバ7に対応した図示しないギヤが回
転し、さらに繰糸33および図示しない繰糸が作用して
各ペン15.16のベンキャリッジ13.14が移動し
て、各ペン15.16を0%相当の位置へ移動させる。After detecting the current position of each pen 15, 16 in this way, the process moves to step S13, where the CPU 5 calculates the number of steps of the step motor and sets this value to the step motor driver 6. . This results in
Step motor 1 compatible with step motor driver 6
0. A step motor (not shown) corresponding to the step motor driver 7 is driven to rotate step by step, and each gear 29, 30 . The gear (not shown) corresponding to the step motor driver 7 rotates, and the reeling yarn 33 and the reeling yarn (not shown) act to move the Benn carriage 13.14 of each pen 15.16, thereby reducing each pen 15.16 to 0%. Move it to the appropriate position.
これによって各ペン15.16が停止する位置は、前述
したように各種誤差要因によってばらつく。そこで、次
にステップS14においてCPU5は、上述と同様にし
てセンサキャリッジ25を1回移動(スキャン)させて
、当該0%の位置における各ペン15゜16の実際の位
置x □ (15)、 x O([1)を検出し、こ
れをRAM36に記憶しておく。次に、ステップS15
においてCPU5は、上述と同様にして各ペン15.1
6を100%相当の位置へ移動させる。そして、次にス
テップS16においてCPU5は、上述と同様にしてセ
ンサキャリッジ25を1回移動(スキャン)させて、当
該100%の位置における各ペン15.16の実際の位
置x 1i0(15) 、 x 10G(18)を検
出し、これをRAM36に記憶しておく。As a result, the positions at which the pens 15 and 16 stop vary due to various error factors, as described above. Therefore, in step S14, the CPU 5 moves (scans) the sensor carriage 25 once in the same manner as described above, and determines the actual position of each pen 15° 16 at the 0% position x □ (15), x O([1) is detected and stored in the RAM 36. Next, step S15
In the same manner as described above, the CPU 5 controls each pen 15.1.
6 to the position equivalent to 100%. Then, in step S16, the CPU 5 moves (scans) the sensor carriage 25 once in the same manner as described above, and determines the actual position of each pen 15.16 at the 100% position x 1i0(15) , x 10G (18) is detected and stored in the RAM 36.
最後に、ステップS17においてCPU5は、RAM3
6に記憶されであるステップS16で検出したペン位置
x 100(15) 、 x 100(16)から、
ステップS14で検出したペン位置X o (15)+
x□(1B)を差引くことにより、オープンループ制御
による実際の各ペン15.16の100%相当のスパン
S (15)、 S (1B)を求める。すなわち、
オープンループ制御によって第Nペンを100%移動さ
せても、実際に移動するのはS N(= x 100(
N)xo(N)1%であり、一般に8%移動させても実
際に移動するのは
a ・(x 100(N) X o (N)l/ 1
00%である。Finally, in step S17, the CPU 5
From the pen positions x 100(15) and x 100(16) stored in step S16 and detected in step S16,
Pen position X o (15)+ detected in step S14
By subtracting x□(1B), the spans S(15) and S(1B) corresponding to 100% of each actual pen 15.16 by open loop control are obtained. That is,
Even if the Nth pen is moved 100% by open loop control, the actual movement is S N (= x 100 (
N)
It is 00%.
換言すると、
a ・ 100/ (xloo(N) Xo
(N)1%移動させることによって実際にa%移動す
ることとなり、この
100/ (xloo(N) Xo (N)1を第N
ペンのスパン補正係数kNとして求めることができる。In other words, a · 100/ (xloo(N)
By moving (N) 1%, it actually moves by a%, and this 100/ (xloo(N)
It can be obtained as a pen span correction coefficient kN.
以上のようにして、各ペン15゜16めスパン補正係数
k15. k18を求め、これをRAM36へ記憶し
て校正動作処理が終了する。As described above, each pen 15° and 16th span correction coefficient k15. k18 is determined and stored in the RAM 36, and the calibration operation process is completed.
次に、記録動作について第2図に示す記録動作処理フロ
ー図を参照して述べる。Next, the recording operation will be described with reference to the recording operation processing flow diagram shown in FIG.
記録動作処理は、比較的短い周期例えば100is毎に
実行される。CPU5は、ステップs1においてアナロ
グ入力信号a1に対するチャンネルrP−IJを設定し
、次のステップs2においてA/D変換器3を動作させ
る。これにより、アナログ入力信号はデジタル信号に変
換され、ステップS3での判断によってステップs4で
RAM36に記憶される。このアナログ入力信号a1の
A/D変換が終了してRAM36への記憶動作が終了す
ると、次のステップS5に移行してCPU5は、アナロ
グ入力信号a1の記録位置が記録紙12の例えば左端の
基準位置から、ステップモータ10のステップ数に換算
して何ステップ目かを求める。ここで、この記録位置を
y p(−n)としてRAM36に記憶しておく。The recording operation process is executed at relatively short intervals, for example, every 100 is. The CPU 5 sets the channel rP-IJ for the analog input signal a1 in step s1, and operates the A/D converter 3 in the next step s2. As a result, the analog input signal is converted into a digital signal, which is stored in the RAM 36 in step s4 based on the determination in step S3. When the A/D conversion of the analog input signal a1 is completed and the storage operation in the RAM 36 is completed, the process proceeds to the next step S5, and the CPU 5 determines that the recording position of the analog input signal a1 is, for example, a reference point at the left end of the recording paper 12. The number of steps of the step motor 10 is calculated from the position. Here, this recording position is stored in the RAM 36 as yp(-n).
次に、ステップS6においてCPU5は、前回の記録動
作時に記憶しておいたペン15の位置データx p(n
−1)、前回と現在の間で駆動したステップモータ10
のステップ回転方向とそのステップ数m(n−1)、お
よび前述の構成動作時に記憶しておいたペン15のスパ
ン補正係数k15から、現在のペン15の位置の理論値
x p(n)をX p(n)−X p(n−1)+ m
(n−1)/k 15を用いて求める。そして、次の
ステップS7に移行して、上記y p(n)、 x
p(n)およびペン15のスパン補正係数k15から、
このペン位置理論値x p(n)をy p(n)の位置
へ移動するのに必要なステップモータ10のステップ数
およびそのステップ回転方向を、
k15− (yp(n)−xp(n))値をステップ
モータドライバ6′貝設定する。これにより、ステップ
モータ10がステップ回転駆動゛して各ギヤ2・9,3
0が回転し、さらに繰糸33が作用してペンキャリッジ
13が移動し、かくして記録紙12への記録が行−われ
る。以上のような記録動作処理が各チャンネルP毎に実
行されて、各アナログ入力信号al+82に対する記録
が行なわれる。この場合、予め校正動作をこなって各ペ
ン15.16毎にスパン補正係数k15.klBを求め
、このスパン補正係数k15.k18によってオープン
ループ制御時の誤差が補正されるため、前述したメカ系
の誤差を無くした状態で高精度の記録動作が行なわれる
ことになる。Next, in step S6, the CPU 5 calculates the position data x p(n
-1), step motor 10 driven between previous and current
The theoretical value x p (n) of the current position of the pen 15 is calculated from the step rotation direction and the number of steps m (n-1), and the span correction coefficient k15 of the pen 15 stored during the configuration operation described above. X p (n) - X p (n-1) + m
Calculate using (n-1)/k 15. Then, proceeding to the next step S7, the above y p(n), x
From p(n) and the span correction coefficient k15 of the pen 15,
The number of steps of the step motor 10 and the step rotation direction required to move this theoretical pen position value x p (n) to the position y p (n) are expressed as k15- (y p (n) - x p (n) ) value for step motor driver 6' shell. As a result, the step motor 10 rotates in steps to drive each gear 2, 9, and 3.
0 rotates, and the reeling thread 33 acts to move the pen carriage 13, thus recording on the recording paper 12. The recording operation process as described above is executed for each channel P, and recording is performed for each analog input signal al+82. In this case, a calibration operation is performed in advance and the span correction coefficient k15 is set for each pen 15.16. klB is determined, and this span correction coefficient k15. Since errors during open-loop control are corrected by k18, highly accurate recording operations can be performed with the mechanical system errors mentioned above eliminated.
上述したように、本実施例の記録計では、校正動作を行
なって各ペン15.16毎のスパン補正係数k15.に
1Bを求め、このスパン補正係数に15゜k16によっ
てオープンループ制御時の誤差を予め補正するようにし
ているので、モータプーリ径や繰糸の径等のメカ系の誤
差が存在していても、換言すれば各ペン15.16の駆
動機構の誤差からペンの移動スパンにばらつきがあって
も、常に高精度の記録を行なうことが可能となる。As described above, the recorder of this embodiment performs a calibration operation to determine the span correction coefficient k15.16 for each pen 15.16. 1B is calculated for , and errors during open loop control are corrected in advance by adding 15°k16 to this span correction coefficient, so even if there are mechanical errors such as motor pulley diameter or yarn reeling diameter, This makes it possible to always perform highly accurate recording even if the movement spans of the pens vary due to errors in the drive mechanism of each pen 15, 16.
尚、本発明は上述した実施例に限定されるものではなく
、その要旨を変更しない範囲で次のようにしても同様に
実施することができるものである。It should be noted that the present invention is not limited to the embodiments described above, but can be similarly implemented as follows without changing the gist thereof.
(a)上記実施例において、校正動作は必ずしも0%と
100%の位置で行なう必要はなく、ペンの可動範囲が
もっと広いのであれば例えば−10%と+110%の位
置で行なうようにしてもよい。(a) In the above embodiment, the calibration operation does not necessarily need to be performed at the 0% and 100% positions; if the pen has a wider movable range, it may be performed at, for example, -10% and +110% positions. good.
(b)上記実施例において、ペンの位置を検出する手段
としてはフォトインクラブタに限らず、例えばホール素
子、あるいは超音波を利用したものでもよく、さらにそ
の検出手段として例えばペンキャリッジ側に発光素子を
設け、センサキャリッジ側に受光素子を設ける構成とし
てもよい。(b) In the above embodiment, the means for detecting the position of the pen is not limited to a photo ink probe, but may also be a Hall element or a means using ultrasonic waves, and furthermore, the means for detecting the position of the pen may be, for example, a means for emitting light on the pen carriage side. It is also possible to provide a structure in which a light-receiving element is provided on the sensor carriage side.
(c)上記実施例において、ペンの駆動機構としてはス
テップモータに限らず、オープンループ制御できるもの
であれば何でもよい。(c) In the above embodiment, the pen driving mechanism is not limited to the step motor, but any mechanism that can be controlled in an open loop may be used.
(d)上記実施例においては、2つのペンを備えた記録
計に本発明を適用した場合を述べたが、これに限らず3
つ以上の複数のペンを備えた記録計についても、本発明
を同様に適用することが可能である。(d) In the above embodiment, the present invention is applied to a recorder equipped with two pens, but the present invention is not limited to this.
The present invention can be similarly applied to recorders equipped with more than one pen.
[発明の効果]
以上説明したように本発明によれば、複数箇所でペン位
置の検出を行ない、これから算出されたオープンループ
制御によるペン移動量の補正量に基づいてペン位置のオ
ープンループ制御を行なうようにしたので、モータプー
リ径や繰糸の径等のメカ系の誤差が存在していても、常
に高精度の記録を行なうことが可能な極めて信頼性の高
い記録計が提供できる。[Effects of the Invention] As explained above, according to the present invention, the pen position is detected at a plurality of locations, and the open loop control of the pen position is performed based on the correction amount of the pen movement amount by open loop control calculated from the pen position detection. This makes it possible to provide an extremely reliable recorder that can always perform highly accurate recording even if there are errors in mechanical systems such as the diameter of the motor pulley or the diameter of the reel.
第1図は本発明による記録計の一実施例を示す構成図、
第2図および第3図は同実施例における作用を夫々説明
するためのフロー図、第4図(a)〜(c)は本発明の
詳細な説明するための概念図である。
1.2・・・アンプ、3.4・・・A/D変換器、5・
・・CPU、6.7・・・ステップモータドライバ、8
・・・チャートドライバ、9・・・パスライン、10・
・・ステップモータ、11・・・チャートモータ、12
・・・記録紙、13.14・・・ペンキャリッジ、13
a。
14a・・・突起部、15.16・・・ペン、17.1
8・・・フォトインタラプタ、19・・・センサキャリ
ッジドライバ、20・・・センサキャリッジモータ、2
1゜22.23・・・プーリ、24・・・繰糸、25・
・・センサキャリッジ、26.27・・・ギヤ、28・
・・割込みコントローラ、29.30・・・ギヤ、31
.32・・・プーリ、33・・・繰糸、34・・・シャ
フト、35・・・ROM、36・・・RAM0
出願人代理人 弁理士 鈴江武彦
82図
第3図FIG. 1 is a configuration diagram showing an embodiment of a recorder according to the present invention;
FIGS. 2 and 3 are flowcharts for explaining the operation of the same embodiment, and FIGS. 4(a) to 4(c) are conceptual diagrams for explaining the present invention in detail. 1.2...Amplifier, 3.4...A/D converter, 5.
...CPU, 6.7...Step motor driver, 8
...Chart driver, 9...Pass line, 10.
...Step motor, 11...Chart motor, 12
... Recording paper, 13.14 ... Pen carriage, 13
a. 14a...Protrusion, 15.16...Pen, 17.1
8... Photo interrupter, 19... Sensor carriage driver, 20... Sensor carriage motor, 2
1゜22.23...Pulley, 24...Reeling thread, 25.
...Sensor carriage, 26.27...Gear, 28.
...Interrupt controller, 29.30...Gear, 31
.. 32...Pulley, 33...Reeling, 34...Shaft, 35...ROM, 36...RAM0 Applicant's agent Patent attorney Takehiko Suzue 82Figure 3
Claims (1)
とから、当該ペンを移動させるモータの駆動量を求めて
記録動作を行なうオープンループ制御機能を備えた記録
計において、前記ペンと非接触状態にて当該ペンの位置
を検出するペン位置検出手段と、このペン位置検出手段
により複数箇所で検出された夫々のペン位置に基づいて
、前記オープンループ制御によるペン移動量の補正量を
算出する校正動作手段とを備えて成ることを特徴とする
記録計。In a recorder equipped with an open-loop control function that performs a recording operation by determining the drive amount of a motor that moves the pen from the recording position of the pen corresponding to an input signal and the current pen position, the recorder is in a non-contact state with the pen. a pen position detection means for detecting the position of the pen at a point; and a calibration for calculating a correction amount of the pen movement amount by the open loop control based on each pen position detected at a plurality of locations by the pen position detection means. A recorder comprising: operating means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62260100A JPH01101413A (en) | 1987-10-15 | 1987-10-15 | Recorder |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62260100A JPH01101413A (en) | 1987-10-15 | 1987-10-15 | Recorder |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH01101413A true JPH01101413A (en) | 1989-04-19 |
Family
ID=17343292
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62260100A Pending JPH01101413A (en) | 1987-10-15 | 1987-10-15 | Recorder |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01101413A (en) |
-
1987
- 1987-10-15 JP JP62260100A patent/JPH01101413A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7847496B2 (en) | Dynamic tape drive calibration | |
| US3781490A (en) | Web tension and speed control in a reel-to-reel web transport | |
| US4630071A (en) | XY recorder | |
| JPH0792993B2 (en) | Tape timer device for tape recording / playback device | |
| JPH0534741B2 (en) | ||
| CA1044802A (en) | Tape motion control in an incrementing magnetic tape transport | |
| JPH01101413A (en) | Recorder | |
| EP0186591B1 (en) | Motor control apparatus for reel-to-reel tape drive system | |
| US4737868A (en) | Repositioner for streaming magnetic tape drive apparatus | |
| JPS6130339B2 (en) | ||
| US6385142B1 (en) | Position control device for use in library device and method thereof | |
| US4751526A (en) | Pen recorder with improved accuracy | |
| US5323279A (en) | Magnetic tape driving apparatus with capstan rotating at different speeds | |
| EP0425705B1 (en) | Helical scan-type rotary head drum unit | |
| JPS63212818A (en) | Recorder | |
| CA1045243A (en) | Tape motion control in an incrementing magnetic tape transport | |
| JPS60236781A (en) | Serial printer controlling system | |
| JPH0663778B2 (en) | Recorder | |
| JPH0110777Y2 (en) | ||
| JPH0283841A (en) | Tape transport device control device | |
| JPH03238319A (en) | Recorder | |
| JPH0514338B2 (en) | ||
| JPS6139256A (en) | Magnetic tape device | |
| SU971754A1 (en) | Apparatus for automatic control of deposition of web materials | |
| JPH05109145A (en) | Positioning control system for magnetic tape device |