JPH0486063A - Recording method for image forming device - Google Patents

Recording method for image forming device

Info

Publication number
JPH0486063A
JPH0486063A JP19908790A JP19908790A JPH0486063A JP H0486063 A JPH0486063 A JP H0486063A JP 19908790 A JP19908790 A JP 19908790A JP 19908790 A JP19908790 A JP 19908790A JP H0486063 A JPH0486063 A JP H0486063A
Authority
JP
Japan
Prior art keywords
data
recording
amount
recorded
per unit
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
JP19908790A
Other languages
Japanese (ja)
Inventor
Kanji Nagashima
完司 永島
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP19908790A priority Critical patent/JPH0486063A/en
Publication of JPH0486063A publication Critical patent/JPH0486063A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storing Facsimile Image Data (AREA)

Abstract

PURPOSE:To compose the device of a buffer memory with small storage capacity by fixing the amount of a data, which is recorded by a recording head per unit time, at a constant value. CONSTITUTION:Since an electronic equipment transfers the fixed length of recorded data, a value calculated by adding time measurement data counted every time is in relation proportional to the amount of recorded data transferred during the adding period. Then, a period is calculated by an arithmetical method so that the added result of the time measurement data can be storage capacity C of the buffer memory, and a longest period tau is calculated. Then, receiving and transmitting operations are executed through the buffer memory while defining a data amount S per unit time calculated by dividing the storage capacity C with the period tau as the data reception amount per unit time and the recorded data amount per unit time. In this way, the amount of data recorded by the recording head per unit time is fixed at the constant value S. Thus, the storage capacity of the memory for temporarily storing recorded data transferred from the electronic equipment can be reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、電子機器から転送されて来る印字データやイ
メージデータに基づいて印字や画像印刷等を行う、カラ
ープリンタ等の画像形成装置の記録方法に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a recording device for an image forming apparatus such as a color printer that performs printing or image printing based on print data or image data transferred from an electronic device. Regarding the method.

〔従来の技術〕[Conventional technology]

パーソナルコンピュータや電子撮像機器等のデータ出力
端子に接続して、これらの電子機器から転送されて来る
データに基づいて記録紙等の記録媒体に印字や画像印刷
を行うドツトプリンタや感熱式印刷装置、感光式印刷装
置等の画像形成装置を従来例として説明する。
Dot printers, thermal printing devices, and photosensitive printers that connect to the data output terminals of personal computers, electronic imaging devices, etc., and print characters or images on recording media such as recording paper based on the data transferred from these electronic devices. An image forming apparatus such as a type printing apparatus will be described as a conventional example.

電子機器は内部の各種動作条件に応じた処理や割込み処
理等の合間に印字データや画像データを画像形成装置側
へ転送するので、各データの転送速度(周期)は一定で
はない。そこで、画像形成装置は、電子機器から転送さ
れて来るデータを確実に受信するために、例えばハンド
シェイク機能等を備えることにより、電子機器のデータ
転送と同期を取るようにしている。
Since electronic devices transfer print data and image data to the image forming apparatus during processing according to various internal operating conditions, interrupt processing, etc., the transfer speed (period) of each data is not constant. Therefore, in order to reliably receive the data transferred from the electronic device, the image forming apparatus is provided with a handshake function, for example, to synchronize with the data transfer of the electronic device.

そして、画像形成装置が受信したデータを記録ヘッドに
供給することにより印字や画像印刷(以下、印字や画像
印刷を記録という)を行う。
Then, by supplying the data received by the image forming apparatus to the recording head, printing or image printing (hereinafter, printing or image printing is referred to as recording) is performed.

ここで、電子機器から転送される記録データに従って、
画像形成装置の記録ヘッドによる確実な記録を行うため
に、次のような手法か採られていた。
Here, according to the recorded data transferred from the electronic device,
In order to ensure reliable printing by the print head of an image forming apparatus, the following method has been adopted.

第1の手法としては、電子機器からのデータ転送タイミ
ングに同期・追従して画像形成装置の記録ヘッドの駆動
制御を直接行う。
The first method is to directly control the drive of the recording head of the image forming apparatus in synchronization with and following the data transfer timing from the electronic device.

第2の手法としては、電子機器の最長のデータ転送周期
、換言すれば最も遅いデータ転送速度を予め調べておき
、画像形成装置か電子機器とのハンドシェイク機能によ
りこの最長のデータ転送周期に同期して各記録データを
受信し、各周期で記録データを受信する毎に逐一記録ヘ
ッドに記録動作を行わせる。この第2の手法によれば、
電子機器のデータ転送と画像形成装置の記録を同一周期
て行うことができる。
The second method is to find out in advance the longest data transfer cycle of the electronic device, in other words, the slowest data transfer speed, and synchronize to this longest data transfer cycle using a handshake function with the image forming device or the electronic device. Each recording data is received in each period, and the recording head is caused to perform a recording operation one by one every time the recording data is received in each period. According to this second method,
Data transfer by the electronic device and recording by the image forming apparatus can be performed in the same cycle.

第3の手法としては、日本標準規格の84版やA4版等
の記録紙に1フレームの画像を印刷するような場合、こ
れらの記録紙の全領域分に対応する記録データを記憶で
きるだけの記憶容量を有するフレームメモリを画像形成
装置に内蔵しておき、まず、電子機器から1フレーム画
に相当する全ての記録データをフレームメモリに転送し
、このデータ転送か完了した後、記録ヘッドによる所定
周期の記録タイミングに合わせて各記録データをフレー
ムメモリから読み出しなから記録を行う。この第3の手
法よれば、電子機器からの記録データの受信タイミング
と、画像形成装置の記録タイミングとの同期を取る必要
か無いので、制細か簡単となる。
The third method is when printing one frame of image on recording paper such as Japan Standard 84 edition or A4 edition, the memory is large enough to store the recording data corresponding to the entire area of these recording papers. A frame memory with a large capacity is built into the image forming apparatus, and first, all recorded data corresponding to one frame image is transferred from the electronic device to the frame memory, and after this data transfer is completed, the recording head is used to record data at a predetermined period. Recording is performed after reading each recording data from the frame memory in accordance with the recording timing of . According to this third method, there is no need to synchronize the timing of receiving recording data from the electronic device with the recording timing of the image forming apparatus, making it easy to control the details.

〔発明か解決しようとする課題〕[Invention or problem to be solved]

しかしなから、このような従来の画像形成装置における
上記第1の手法を採用したものにあっては、記録ヘッド
の駆動速度が電子機器のデータ転送周期に直接関係する
ので、一定の速度で記録か行われないこととなり、あら
ゆる記録速度に対応できるように記録ヘッドを駆動制御
するための機械的・電気的な駆動機構が必要となるか、
これを実現することは極めて困難であり、記録媒体への
印字ムラや印刷ムラ、印字ズレや印刷ズレを生じる問題
があった。
However, in conventional image forming apparatuses that adopt the first method described above, the drive speed of the recording head is directly related to the data transfer cycle of the electronic device, so it is difficult to record at a constant speed. Therefore, a mechanical and electrical drive mechanism will be required to drive and control the recording head so that it can correspond to all recording speeds.
It is extremely difficult to realize this, and there have been problems of uneven printing, uneven printing, misaligned printing, and misalignment on the recording medium.

第2の手法を採用した従来例にあっては、一定速度で記
録することができるのて印字ムラや印刷ムラの無い高品
質の記録を実現できるか、最も遅いデータ転送速度に同
期して全ての記録データを受信するので、電子機器から
の各記録データを受信するための待ち時間が長くなり、
記録速度か極めて遅くなるという問題があった。
In the conventional example that adopts the second method, it is possible to record at a constant speed, so it is difficult to achieve high quality recording without uneven printing or uneven printing. , the waiting time for receiving each recorded data from the electronic device is longer.
The problem was that the recording speed was extremely slow.

第3の手法を採用した従来例にあっては、膨大な記憶容
量のフレームメモリを必要とするので、コストか高くな
り、低コストの画像形成装置に適用することかできない
等の問題があった。
Conventional methods that adopt the third method require a frame memory with a huge storage capacity, resulting in high costs and problems such as being unable to be applied to low-cost image forming apparatuses. .

本発明はこのような従来技術の問題点に鑑みてなされた
ものであり、電子機器から転送されてくる記録データを
一時的に保持するだめのメモリの記憶容量が少なくて済
み、且つ高速で高品質の記録を実現することかてきる画
像記録装置を提供することを目的とする。
The present invention has been made in view of the problems of the prior art, and is capable of reducing the storage capacity of a memory that temporarily stores recorded data transferred from electronic devices, and that is capable of high-speed and high-performance processing. An object of the present invention is to provide an image recording device that can realize high quality recording.

〔課題を解決するための手段〕[Means to solve the problem]

このような目的を達成するために本発明は、まず、電子
機器から転送されて来る印字用や画像印刷用データ等の
記録データを受信し、これらの記録データに基づいて記
録媒体に記録を行う画像形成装置の記録方法を対象とす
る。
In order to achieve such an object, the present invention first receives recorded data such as printing data and image printing data transferred from an electronic device, and records on a recording medium based on this recorded data. Targets recording methods of image forming apparatuses.

そして、かかる画像形成装置の記録方法に対し、まず、
記録動作を開始する前に、少なくとも1フレーム分の記
録データについて、電子機器から毎回転送されて来る連
続関係にある複数の記録データの和が予め決められたバ
ッファメモリの記憶容量に達するまでの最長時間を測定
すると共に、該記憶容量を該最長時間で除算することに
よって単位時間当たりのデータ量を演算し、記録時には
、このデータ量を電子機器からの単位時間当たりのデー
タ受信量として所定記憶容量のノ(・ソファメモリへ入
力すると共に、このデータ量を記録へ・ソドによる単位
時間当たりの記録量として、該)<・ソファメモリを介
して記録ヘッドへ記録データを供給するようにした。
First, regarding the recording method of such an image forming apparatus,
Before starting the recording operation, determine the maximum length of time for at least one frame of recorded data until the sum of multiple pieces of consecutive recorded data transferred from the electronic device each time reaches a predetermined storage capacity of the buffer memory. In addition to measuring time, the amount of data per unit time is calculated by dividing the storage capacity by the longest time, and when recording, this amount of data is calculated as the amount of data received from the electronic device per unit time. The recording data is input to the sofa memory and the amount of data is recorded as the recording amount per unit time. Recording data is supplied to the recording head via the sofa memory.

更に、第1図及び第2図に基づいて本発明の詳細な説明
する。
Further, the present invention will be explained in detail based on FIGS. 1 and 2.

電子機器に対して何らの同期制御も行わずにデータ転送
を行わせると、各転送周期は変動する。
When data transfer is performed without performing any synchronization control on an electronic device, each transfer cycle varies.

又、この変動を単位時間当たりのデータ転送量の関係に
置き換えるならば、例えば第1図に示すように変動する
こととなる。尚、第1図中のTは例えばlフレーム分の
記録データの転送を完了した時点である。
Furthermore, if this fluctuation is replaced with the relationship between the amount of data transferred per unit time, it will fluctuate as shown in FIG. 1, for example. Note that T in FIG. 1 is the point in time when, for example, the transfer of one frame worth of recording data is completed.

そこで、実際の記録動作を行う前に、電子機器に少なく
とも1フレーム分の記録データを転送させ、毎回転送す
る記録データ間の転送周期を計時する。
Therefore, before performing an actual recording operation, the electronic device is made to transfer at least one frame of recorded data, and the transfer cycle between the recorded data transferred each time is measured.

そして、電子機器は固定長の記録データを転送すること
から、毎回計時した計時データを加算演算して得られる
値は、その加算期間中に転送された記録データ量に比例
するという関係にあるので、計時データの加算演算結果
がバッファメモリの記憶容量Cとなるような期間を数学
的手法によって演算し、その演算結果の中から最長期間
τを検出する。例えば、第1図において、Δt、くΔt
〈Δt2の関係にある場合には、Δt、を最長の期間τ
とする。
Since electronic equipment transfers recorded data of a fixed length, the value obtained by adding the clocked data each time is proportional to the amount of recorded data transferred during the addition period. , calculates by a mathematical method a period such that the result of the addition operation of the clock data becomes the storage capacity C of the buffer memory, and detects the longest period τ from among the calculation results. For example, in FIG. 1, Δt, Δt
〈If the relationship is Δt2, Δt is the longest period τ
shall be.

そして、第2図に実線で示すように記憶容iCを期間τ
で割算して得られる単位時間当たりのデータ量Sを単位
時間当たりのデータ受信量及び単位時間当たりの記録デ
ータ量としてバッファメモリを介して受信及び記録動作
を行う。
Then, as shown by the solid line in FIG. 2, the storage capacity iC is changed over the period τ
The reception and recording operations are performed via the buffer memory using the amount of data S per unit time obtained by dividing by S as the amount of data received per unit time and the amount of recorded data per unit time.

尚、−数的に、電子機器は固定長の記録データを転送す
ることから、各記録データの固定ビット長かしてあれば
、L=Sの演算で求まる周期Δτに同期してハンドシェ
イク機能等により記録データを受信及び記録してもよい
Furthermore, numerically speaking, since electronic equipment transfers recorded data of a fixed length, if each recorded data has a fixed bit length, the handshake function can be performed in synchronization with the period Δτ determined by the calculation of L=S. The record data may be received and recorded by, for example.

〔作用〕[Effect]

このような原理による本発明の記録方法によれば、第2
図中の実線で示すように、記録ヘッドによる単位時間当
たりの記録データ量を一定値S(=固定することかでき
るので、従来の記録速度の変動に起因する記録ムラ等を
大幅に低減することかできる。
According to the recording method of the present invention based on such a principle, the second
As shown by the solid line in the figure, since the amount of data recorded per unit time by the recording head can be fixed at a constant value S (== fixed), recording unevenness caused by conventional recording speed fluctuations can be significantly reduced. I can do it.

又、この原理によって設定した単位時間当たりの記録デ
ータ量Sに等しい記録データを単位時間毎に受信すれば
、バッファメモリに一時的に保持するデータ量は、バッ
ファメモリに予め設定されている記憶容量の範囲を超え
ることかないので、記録の欠落を生じることが無く、且
つ、従来の1フレーム画を全て格納するためのフレーム
メモリを備えるのと較へて、極めて少ない記憶容量のバ
ッファメモリを備えることで済む。
Also, if recorded data equal to the set recorded data amount S per unit time is received every unit time based on this principle, the amount of data temporarily held in the buffer memory will be equal to the preset storage capacity of the buffer memory. , so there is no loss of recording, and the buffer memory has an extremely small storage capacity compared to the conventional frame memory that stores all of one frame image. That's enough.

更に、本発明は従来例のように電子機器の最低のデータ
転送速度に同期して動作するのではなく、予め備えたバ
ッファメモリの記憶容量範囲内で最も高速にデータ転送
を行う条件を見つけてその条件下で動作を行うものであ
るから、より高速の記録を行うことかできる。例えば、
第1図中の点P、か電子機器の最低のデータ転送速度で
あり、この速度に対応する単位時間当たりの記録データ
量S′で記録を行った場合には、第2図中の一点鎖線で
示すように1フレーム分の記録を完了するのに長時間(
完了時点をT”で示す)を要するのに対して、本発明に
よれば、例えば、第2図中の時点T′のように、より短
時間で記録を完了することかできる。
Furthermore, the present invention does not operate in synchronization with the lowest data transfer speed of an electronic device as in conventional examples, but instead finds conditions for performing data transfer at the highest speed within the storage capacity of a buffer memory provided in advance. Since it operates under these conditions, it is possible to record at a higher speed. for example,
Point P in Fig. 1 is the lowest data transfer speed of the electronic device, and when recording is performed at the amount of recorded data S' per unit time corresponding to this speed, the dot-dash line in Fig. 2 As shown in the figure, it takes a long time to complete the recording of one frame (
However, according to the present invention, recording can be completed in a shorter time, for example, at time T' in FIG. 2.

〔実施例〕〔Example〕

以下、本発明の記録方法を適用した画像形成装置の一実
施例を図面と共に説明する。
An embodiment of an image forming apparatus to which the recording method of the present invention is applied will be described below with reference to the drawings.

まず第3図に基づいて構成を説明すると、図中の一点鎖
線内に示す部分かカラープリンタ等の画像形成装置lで
ある。2は記録紙等の記録媒体に記録を行う記録ヘット
、3は第4図に示すように、記憶媒体PPに対して主走
査方向X及び副走査方向Yに記録ヘッド2を相対移動さ
せて記録を行わせる駆動機構、4は記録ヘッド2へ供給
するための記録データを一時的に保持するバッファメモ
リ、5は2接点A、Bの切換え機能を有するスイッチ回
路、6は外部の各種電子機器と接続するだめのインター
フェース回路である。
First, the configuration will be explained based on FIG. 3. The part shown within the dashed line in the figure is an image forming apparatus l such as a color printer. 2 is a recording head that records on a recording medium such as recording paper, and 3 is a recording head that records by moving the recording head 2 relative to the storage medium PP in the main scanning direction X and the sub-scanning direction Y, as shown in FIG. 4 is a buffer memory that temporarily stores recording data to be supplied to the recording head 2, 5 is a switch circuit having a switching function between two contacts A and B, and 6 is a circuit that connects various external electronic devices. This is an interface circuit for connection.

インターフェース回路6は、外部の電子機器に内蔵され
ているインターフェース回路7と接続することにより、
電子機器中のデータベース等の記憶装置8から転送され
て来る記録デニタDを受信する。尚、9は電子機器のデ
イスプレィ装置、10はキイーボードから各種の動作を
指示することができる本体部分である。
By connecting the interface circuit 6 to an interface circuit 7 built into an external electronic device,
A record monitor D transferred from a storage device 8 such as a database in an electronic device is received. Note that 9 is a display device of the electronic device, and 10 is a main body portion that can be used to instruct various operations from a keyboard.

更に、11は計時部であり、スイッチ回路5か接点Aに
切換え接続しているときに、インターフェース6を介し
て電子機器から転送されて来る各記録データ間の転送速
度(周期)を計測する。尚、スイッチ回路5が接点B側
に切り換わるときは、電子機器から転送されて来る各記
録データをバッファメモリ4へ供給する。
Further, reference numeral 11 denotes a time measuring section, which measures the transfer speed (period) between each recording data transferred from the electronic device via the interface 6 when the switch circuit 5 is switched and connected to the contact A. Note that when the switch circuit 5 switches to the contact B side, each recording data transferred from the electronic device is supplied to the buffer memory 4.

12は画像形成装置lの全体動作を制御する制御部であ
り、計時部11で計測した計時データFを受信すると共
に、後述するように計時データFから最適の記録タイミ
ングを設定して駆動機構3を制御したり、インターフェ
ース6の受信タイミングの制御や、バッファメモリ4の
リード・ライトのタイミング、スイッチ回路5の切換え
タイミング等を制御する。
Reference numeral 12 denotes a control unit that controls the overall operation of the image forming apparatus l, which receives clock data F measured by the clock unit 11, and sets the optimum recording timing from the clock data F, as will be described later, to control the drive mechanism 3. It also controls the reception timing of the interface 6, the read/write timing of the buffer memory 4, the switching timing of the switch circuit 5, etc.

次に、かかる構成の画像形成装置の作動を第7図に示す
フローチャートに従って説明する。尚、この実施例では
、電子機器か固定長の記録データを毎回転送して来るも
のとする。
Next, the operation of the image forming apparatus having such a configuration will be explained according to the flowchart shown in FIG. In this embodiment, it is assumed that the electronic device transfers fixed length recording data every time.

電源を投入し、外部の電子機器から画像記録装置へ記録
開始を指示すると、ステップ+00において、制御部1
2かスイッチ回路5を接点A側に切換えさせ、インター
フェース6.7を介して転送されて来る記録データを計
時部IIへ供給する。
When the power is turned on and an external electronic device instructs the image recording device to start recording, in step +00, the control unit 1
2 or switches the switch circuit 5 to the contact A side, and supplies the recorded data transferred via the interface 6.7 to the timer section II.

次に、ステップ110において、計時部11か各記録ド
ツト毎の記録データについての各転送周期を計測し、計
測する毎に各転送周期を示す計時データFを制御部12
へ供給する。更に、制御部12は、計時データFを受信
する毎に、最新の計時データから過去にわたる複数の計
時データを加算して、加算結果かバッファメモリ4の記
憶容量Cに相当する期間τ′を算出する。即ち、最新の
計数データかF−0、i個前の計数データかF、である
とすれば、 〔但し、Bは各記録データのビット長〕となるときの計
時データF−,−F−,の総和が期間τ° となる。
Next, in step 110, the timer 11 measures each transfer cycle of the recorded data for each recording dot, and each time it is measured, the timer data F indicating each transfer cycle is sent to the controller 12.
supply to Furthermore, each time the control unit 12 receives the time measurement data F, it adds up a plurality of past time measurement data from the latest time measurement data, and calculates a period τ' corresponding to the storage capacity C of the buffer memory 4 based on the addition result. do. That is, if the latest counting data is F-0 and the i previous counting data is F, then the timing data F-, -F- when [B is the bit length of each recorded data] , is the period τ°.

そして、予め制御部12内に期間τ′のデータを記憶す
る記憶領域を設けておき、最新の期間τ′を算出する毎
に最長期間を示すデータに置き換えていき、最終的に、
例えば予め設定された1又は複数フレーム分の記録デー
タについての最長期間τを求める。
Then, a storage area is provided in advance in the control unit 12 to store the data of the period τ', and each time the latest period τ' is calculated, it is replaced with data indicating the longest period, and finally,
For example, the longest period τ of recording data for one or more frames set in advance is determined.

所定フレーム分の記録データについての上記計時処理が
完了すると、次に、ステップ120において、記録ヘッ
ド2か記録を行うための周期Δτ(以下、同期周期とい
う)を算出する。即ち、各記録データの固定ビット長か
しである場合、△τ=(L×τ)÷C の演算による算出する。
When the above-mentioned time measurement process for the recording data for a predetermined frame is completed, next, in step 120, the cycle Δτ (hereinafter referred to as synchronization cycle) for the recording head 2 to perform recording is calculated. That is, when each recording data has a fixed bit length, the calculation is performed by the following calculation: Δτ=(L×τ)÷C.

次に、ステップ130において、スイッチ回路5を接点
B側へ切換え、更に、外部の電子機器に対して、再び最
初から記録データを転送することを指令する。
Next, in step 130, the switch circuit 5 is switched to the contact B side, and furthermore, an instruction is given to the external electronic device to transfer the recorded data from the beginning again.

次に、ステップ140において、記録データか転送され
て来ると、制御部12はインターフェース6.7に対し
て同期周期Δτで各記録データを授受するようにハンド
シェイク機能等によってタイミング制御を行い、更に、
この同期周期Δτに同期して、バッファメモリ4にリー
ド・ライトの動作を行わせ、更に、記録ヘッド2かこの
同期周期Δτ毎に各ドツトの記録を行うように駆動機構
3をタイミング制御する。
Next, in step 140, when the recorded data is transferred, the control unit 12 performs timing control using a handshake function or the like so that each recorded data is transferred to and from the interface 6.7 at a synchronization period Δτ, and further ,
The buffer memory 4 is caused to perform read/write operations in synchronization with this synchronization period Δτ, and the driving mechanism 3 is timing-controlled so that the recording head 2 records each dot at each synchronization period Δτ.

そして、電子機器からのデータ転送か完了するまで一定
の同期周期Δτて記録を行い、完了と共に記録動作を停
止する。
Then, recording is performed at a constant synchronization period Δτ until data transfer from the electronic device is completed, and upon completion, the recording operation is stopped.

尚、同期周期Δτを決定するだめの計時処理は、記録し
ようとするフレーム画の全てに対して行うのではなく、
最初に少なくとも1以上の比較的少ないフレーム画に対
応する記録データに対して行う。
Note that the timing process to determine the synchronization period Δτ is not performed for all frame images to be recorded;
First, it is performed on recording data corresponding to at least one or more relatively small frame images.

このように、計時処理を行うことにより、記録ムラの生
じない最適の同期周期を得ることかでき、又、バッファ
メモリ4の記憶容量も比較的少量で済ませることかでき
る。
By performing the timekeeping process in this manner, it is possible to obtain an optimal synchronization period that does not cause recording unevenness, and the storage capacity of the buffer memory 4 can be kept relatively small.

次に、他の実施例を説明する。Next, another embodiment will be described.

まず、第5図に基づいて画像記録装置の構成を説明する
。尚、第3図と同−又は相当する部分は同一符号で示し
ている。第5図において第3図との相違点を説明すると
、制御部12に、過去に算出したj個(jは適時の自然
数)の同期周期のデータ△τ1〜Δτ、を記憶するため
のメモリ14を備えている。又、メモリ14は、第6図
に示すように、最も旧い同期周期のデータ△τ、から最
新の同期周期のデータΔτ、まて順番に記憶し、更に最
新の同期周期のデータが入力されると、最も旧い同期周
期のデータΔτ、を廃棄して旧い順番に並べ代えること
により、順次にデータを更新するようになっている。
First, the configuration of the image recording apparatus will be explained based on FIG. Note that the same or corresponding parts as in FIG. 3 are indicated by the same reference numerals. To explain the difference between FIG. 5 and FIG. 3, the control unit 12 includes a memory 14 for storing data Δτ1 to Δτ of j pieces of synchronization period calculated in the past (j is a natural number at the appropriate time). It is equipped with Further, as shown in FIG. 6, the memory 14 sequentially stores data Δτ of the oldest synchronization cycle to data Δτ of the latest synchronization cycle, and further inputs data of the latest synchronization cycle. The data is sequentially updated by discarding the data Δτ of the oldest synchronization cycle and rearranging them in the oldest order.

次に、第5図に示す画像形成装置の作動を第8図に示す
フローチャートに基づいて説明する。
Next, the operation of the image forming apparatus shown in FIG. 5 will be explained based on the flowchart shown in FIG.

電源を投入し、外部の電子機器から画像記録装置へ記録
開始を指示すると、ステップ150において、制御部1
2の指示に従って計時部II内の特定レジスタにに=1
の値を設定し、外部の電子機器から第に番目(最初は第
1番目)のフレーム画に該当する記録データを受信する
ことを自己設定する。
When the power is turned on and an external electronic device instructs the image recording device to start recording, in step 150, the control unit 1
According to the instructions in step 2, set the value to 1 in the specific register in the clock section II.
, and sets itself to receive recording data corresponding to the th (initially, the 1st) frame image from the external electronic device.

次に、ステップ160において、制御部12かスイッチ
回路5を接点A側に切換えさせ、インターフェース6.
7を介して転送されて来る記録データを計時部11へ供
給する。
Next, in step 160, the control unit 12 or the switch circuit 5 is switched to the contact A side, and the interface 6.
The recording data transferred via the clock section 7 is supplied to the clock section 11.

次に、ステップ170において、計時部11か各記録ド
ツト毎の記録データについての各転送周期を計測し、計
測する毎に各転送周期を示す計時データFを制御部12
へ供給する。更に、制御部12は、計時データFを受信
する毎に、最新の計時データから過去にわたる複数の計
時データを加算して、加算結果がバッファメモリ4の記
憶容量Cに相当する期間τ°を算出する。即ち、最新の
計数データかF−0、i個前の計数データかF−である
とすれば、 〔但し、Bは各記録データのビット長〕となるときの計
時データF−I−F−,の総和が期間τ′ となる。
Next, in step 170, the timer 11 measures each transfer cycle of the recorded data for each recording dot, and each time it measures, the timer data F indicating each transfer cycle is sent to the controller 12.
supply to Furthermore, each time the control unit 12 receives the time measurement data F, it adds up a plurality of past time measurement data from the latest time measurement data, and calculates a period τ° during which the addition result corresponds to the storage capacity C of the buffer memory 4. do. That is, if the latest counting data is F-0 and the i previous counting data is F-, then the timing data F-I-F- [where B is the bit length of each recorded data] , is the period τ′.

そして、予め制御部12内に期間τ′のデータを記憶す
る記憶領域を設けておき、最新の期間τ′を算出する毎
に最長期間を示すデータに置き換えていき、最終的に、
例えば予め設定された1又は複数フレーム分の記録デー
タについての最長期間τを求める。
Then, a storage area is provided in advance in the control unit 12 to store the data of the period τ', and each time the latest period τ' is calculated, it is replaced with data indicating the longest period, and finally,
For example, the longest period τ of recording data for one or more frames set in advance is determined.

所定フレーム分の記録データについての計時処理が完了
すると、次に、ステップ180において、次式の演算を
行うことにより周期Δτ′を算出する。即ち、各記録デ
ータの固定ビット長がしてある場合、 Δτ’=(LXτ)÷C の演算を行う。
When the time measurement process for the recorded data for a predetermined frame is completed, next, in step 180, the cycle Δτ' is calculated by calculating the following equation. That is, when each recording data has a fixed bit length, the following calculation is performed: Δτ'=(LXτ)÷C.

次に、ステップ180において、メモ1月4中に格納さ
れているj個のデータΔτ1〜△τ1とデータΔτ′の
加算平均演算を行うことにより、最適同期周期Δτを求
める。尚、メモリ14中に未だ格納されていない記憶領
域の内容はこの加算平均演算に適用しない。そして、こ
の演算後、メモリ14中の最も旧いデータ△τ1を廃棄
し、且つこの最新の同期周期Δτのデータを最新データ
Δτ1としてメモリ14へ格納する。
Next, in step 180, the optimum synchronization period Δτ is determined by averaging the j pieces of data Δτ1 to Δτ1 stored in the memo January 4 and the data Δτ′. Note that the contents of storage areas that have not yet been stored in the memory 14 are not applied to this averaging calculation. After this calculation, the oldest data Δτ1 in the memory 14 is discarded, and the data with the latest synchronization period Δτ is stored in the memory 14 as the latest data Δτ1.

次に、ステップ190において、スイッチ回路5を接点
B側へ切換え、更に、外部の電子機器に対して、再び第
に番目のフレームに該当する記録データから転送するこ
とを指令する。
Next, in step 190, the switch circuit 5 is switched to the contact B side, and furthermore, the external electronic device is instructed to transfer the recorded data corresponding to the th frame again.

次に、ステップ200において、記録データか転送され
て来ると、制御部12はインターフェース6.7に対し
て上記最適同期周期Δτて各記録データを授受するよう
にハントシェイク機能等によってタイミング制御を行い
、更に、この周期△τに同期して、バッファメモリ4に
リード・ライトの動作を行わせ、更に、記録ヘッド2が
この周期Δτ毎に記録を行うように駆動機構3をタイミ
ング制御する。そして、予め決められたmフレーム分の
記録を完了するまで、上記の周期Δτで記録を行う。
Next, in step 200, when the recorded data is transferred, the control unit 12 performs timing control using a hunt shake function or the like so that each recorded data is transferred to and from the interface 6.7 at the optimum synchronization period Δτ. Furthermore, in synchronization with this cycle Δτ, the buffer memory 4 is caused to perform read/write operations, and furthermore, the drive mechanism 3 is timing-controlled so that the recording head 2 performs recording every cycle Δτ. Then, recording is performed at the above-mentioned cycle Δτ until recording for a predetermined m frames is completed.

次に、ステップ210において、mフレーム分の記録を
完了したことを判別すると、ステップ220へ処理が移
行し、kの値をに+m+1に置換することにより、次の
m個のフレームを記録することを設定する。
Next, in step 210, when it is determined that recording of m frames has been completed, the process moves to step 220, and the next m frames are recorded by replacing the value of k with +m+1. Set.

そして、ステップ230において、電子機器からのデー
タ転送か完了したことを識別すると記録動作を停止し、
未だ全ての記録か完了していない場合には、ステップ1
60へ処理か移行して、第に+m+1番目のフレームに
該当する記録データについて同様の処理を繰り返す。
Then, in step 230, when it is determined that the data transfer from the electronic device has been completed, the recording operation is stopped;
If you have not yet completed all recordings, proceed to step 1.
The process moves to step 60, and the same process is repeated for the record data corresponding to the +m+1th frame.

このようにこの実施例によれば、適宜のフレーム毎に最
新の同期周期と旧い同期周期との加算平均演算を行うこ
とによって最適の同期周期を決める学習機能を備えたの
で、より適した同期周期を設定することができる。
In this way, this embodiment has a learning function that determines the optimal synchronization cycle by performing an arithmetic average calculation of the latest synchronization cycle and the old synchronization cycle for each appropriate frame. can be set.

尚、この実施例例では、電源を投入しする毎に新たに同
期周期を設定するものであるか、電源を切ってもメモリ
14中の記憶データを消去することなく、次の記録動作
における記録周期の設定に際して旧い記録周期のデータ
として使用するようにしてもよい。
In this embodiment, a new synchronization cycle is set each time the power is turned on, or the data stored in the memory 14 is not erased even when the power is turned off, and the recording is continued in the next recording operation. When setting the cycle, it may be used as data of the old recording cycle.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、記録ヘッドによ
る単位時間当たりの記録データ量を一定値に固定するこ
とかできるので、従来の記録速度の変動に起因する記録
ムラ等を大幅に低減することかできる。
As explained above, according to the present invention, the amount of data recorded by the recording head per unit time can be fixed at a constant value, so recording unevenness caused by conventional recording speed fluctuations can be significantly reduced. I can do it.

又、この発明によって設定した単位時間当たりの記録デ
ータ量に等しい記録データを単位時間毎に受信すれば、
バッファメモリに一時的に保持するデータ量は、バッフ
ァメモリに予め設定されている記憶容量の範囲を超える
ことかないので、記録の欠落を生じることか無く、且つ
、従来の1フレーム画を全て格納するためのフレームメ
モリを備えるのと較べて、極めて少ない記憶容量のバッ
ファメモリを備えることで済む。
Furthermore, if recorded data equal to the amount of recorded data per unit time set according to the present invention is received every unit time,
The amount of data temporarily stored in the buffer memory does not exceed the preset storage capacity of the buffer memory, so there is no loss of recording, and all one frame image can be stored as in the case of conventional methods. Compared to providing a frame memory for the data processing, it is sufficient to provide a buffer memory with an extremely small storage capacity.

更に、本発明は従来例のように電子機器の最低のデータ
転送速度に同期して動作するのではなく、予め備えたバ
ッファメモリの記憶容量範囲内で最も高速にデータ転送
を行う条件を見つけてその条件下で動作を行うものであ
るから、より高速の記録を行うことかできる。
Furthermore, the present invention does not operate in synchronization with the lowest data transfer speed of an electronic device as in conventional examples, but instead finds conditions for performing data transfer at the highest speed within the storage capacity of a buffer memory provided in advance. Since it operates under these conditions, it is possible to record at a higher speed.

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

第1図及び第2図は本発明の詳細な説明するための説明
図、 第3図は一実施例の画像形成装置の構成を示す実施例構
成説明図、 第4図は第3図中の記録ヘッドの機能を示す説明図、 第5図は実施例の作動を説明するだめのフローチャート
、 第6図は他の実施例の画像形成装置の構成を示す実施例
構成説明図、 第7図は第6図中のメモリの機能を説明するための説明
図、 第8図は第6図に示す実施例の作動を説明するためのフ
ローチャートである。 図中の符号: 1:画像形成装置 2:記録ヘッド 3、駆動機構 4;バッファメモリ 5:スイッチ回路 6.7:インターフェース 8:記録装置 0;外部電子機器 1:計時部 2、制御部 3:表示部 4 メモリ
1 and 2 are explanatory diagrams for explaining the present invention in detail; FIG. 3 is an explanatory diagram showing the configuration of an image forming apparatus according to an embodiment; and FIG. FIG. 5 is a flowchart for explaining the operation of the embodiment; FIG. 6 is an explanatory diagram showing the configuration of an image forming apparatus according to another embodiment; FIG. FIG. 6 is an explanatory diagram for explaining the functions of the memory in FIG. 6, and FIG. 8 is a flowchart for explaining the operation of the embodiment shown in FIG. Symbols in the figure: 1: Image forming device 2: Recording head 3, drive mechanism 4; Buffer memory 5: Switch circuit 6.7: Interface 8: Recording device 0; External electronic device 1: Timing section 2, Control section 3: Display section 4 memory

Claims (1)

【特許請求の範囲】 電子機器から転送されて来る記録データを受信し、該記
録データに基づいて記録媒体に記録を行う画像形成装置
の記録方法において、 記録動作を開始する前に、少なくとも1フレーム分の記
録データについて、前記電子機器が毎回転送する連続関
係にある複数の記録データの和が予め決められたバッフ
ァメモリの記憶容量に達するまでの最長時間を測定する
と共に、該記憶容量を該最長時間で除算することによっ
て単位時間当たりのデータ量を演算し、 記録時には、このデータ量を電子機器からの単位時間当
たりのデータ受信量として所定記憶容量の上記バッファ
メモリへ入力すると共に、このデータ量を記録ヘッドに
よる単位時間当たりの記録量として、該バッファメモリ
を介して記録ヘッドへ記録データを供給することにより
一定速度で記録を行うことを特徴とする画像形成装置の
記録方法。
[Claims] In a recording method for an image forming apparatus that receives recording data transferred from an electronic device and records on a recording medium based on the recorded data, at least one frame is recorded before starting a recording operation. The longest time it takes for the sum of a plurality of pieces of consecutive recorded data that the electronic device transfers each time to reach a predetermined storage capacity of the buffer memory, and The amount of data per unit time is calculated by dividing by time, and when recording, this amount of data is input to the buffer memory with a predetermined storage capacity as the amount of data received per unit time from the electronic device, and the amount of data is 1. A printing method for an image forming apparatus, characterized in that printing is performed at a constant speed by supplying print data to the print head via the buffer memory, with the print amount per unit time by the print head.
JP19908790A 1990-07-30 1990-07-30 Recording method for image forming device Pending JPH0486063A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19908790A JPH0486063A (en) 1990-07-30 1990-07-30 Recording method for image forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19908790A JPH0486063A (en) 1990-07-30 1990-07-30 Recording method for image forming device

Publications (1)

Publication Number Publication Date
JPH0486063A true JPH0486063A (en) 1992-03-18

Family

ID=16401889

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19908790A Pending JPH0486063A (en) 1990-07-30 1990-07-30 Recording method for image forming device

Country Status (1)

Country Link
JP (1) JPH0486063A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10348927B2 (en) 2016-11-30 2019-07-09 Brother Kogyo Kabushiki Kaisha Printing apparatus for controlling start of printing process

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10348927B2 (en) 2016-11-30 2019-07-09 Brother Kogyo Kabushiki Kaisha Printing apparatus for controlling start of printing process

Similar Documents

Publication Publication Date Title
US5809214A (en) Thermal printer
JPH07329338A (en) Thermal printer and thermal printer driving method
JP2702379B2 (en) High speed thermal transfer printer
JPH07329341A (en) Printing control method, apparatus and image forming apparatus
JPH0486063A (en) Recording method for image forming device
JP3071436B2 (en) Thermal printing equipment
JPH06122223A (en) Thermal-head drive circuit
JPH0899427A (en) Thermal printer and thermal printer driving method
JP2877036B2 (en) Printing method and dot printer
JP3586324B2 (en) Thermal line printer and driving method of thermal line printer
JPH0434864B2 (en)
JPH0325115B2 (en)
JP2001103420A (en) Image printer
JPS5812777A (en) Thermal head driving mode
JP2500170Y2 (en) Thermal printer
JPH0376374A (en) Printing head
JP2000177161A (en) Method for controlling thermal history of printer
JP2940552B2 (en) Image recording method using thermal head
JP2789340B2 (en) Image information recording method
JPS6395964A (en) Color image forming device
JPS61140267A (en) Thermal recording device
JP2702659B2 (en) Video signal processing device and video printer
JPS5868366A (en) Picture recording device
JPH08267812A (en) Drive control device for heating element
JPS6067174A (en) Driving circuit for thermal head