JP2567428B2 - Data transfer rate converter - Google Patents

Data transfer rate converter

Info

Publication number
JP2567428B2
JP2567428B2 JP62290346A JP29034687A JP2567428B2 JP 2567428 B2 JP2567428 B2 JP 2567428B2 JP 62290346 A JP62290346 A JP 62290346A JP 29034687 A JP29034687 A JP 29034687A JP 2567428 B2 JP2567428 B2 JP 2567428B2
Authority
JP
Japan
Prior art keywords
parallel
signal
data
serial
transfer rate
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.)
Expired - Lifetime
Application number
JP62290346A
Other languages
Japanese (ja)
Other versions
JPH01130650A (en
Inventor
勝広 奥沢
博 古内
国雄 佐藤
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.)
Hitachi Ltd
Hitachi Nuclear Engineering Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Nuclear Engineering 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 Hitachi Ltd, Hitachi Nuclear Engineering Co Ltd filed Critical Hitachi Ltd
Priority to JP62290346A priority Critical patent/JP2567428B2/en
Publication of JPH01130650A publication Critical patent/JPH01130650A/en
Application granted granted Critical
Publication of JP2567428B2 publication Critical patent/JP2567428B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は伝送速度の異なる直列信号処理装置と並列信
号処理装置間のデータ転送に係り、高能率でしかも信頼
性の高いデータ転送を行うための速度変換装置に関す
る。
Description: TECHNICAL FIELD The present invention relates to data transfer between a serial signal processing device and a parallel signal processing device having different transmission speeds, in order to perform highly efficient and highly reliable data transfer. Speed converter.

〔従来の技術〕[Conventional technology]

従来の複合プリンタシステムでは、特開昭60−54042
号公報に記載のように、イメージスキヤナ(以下IS)で
読み取つた画像データや光プリンタに印刷するビデオデ
ータなどの直列信号は、信号の転送が開始されると途中
で止めることはできない。またこのような直列信号に対
し、データを処理する中央処理装置(以下CPU)は8ビ
ツト、または16ビツト単位でデータを扱うため、データ
の直列・並列変換が必要である。その中でも並列/直列
変換(以下P/S)に関しては、 DP:CPUが送る1ワード当りの並列信号の転送速度(ワー
ド/秒) NB:並列ビツト数(ビツト/ワード) DS:外部へ送る直列信号の転送速度(ビツト/秒) TPS:P/Sに要する時間(秒/ワード) とするとCPUから外部へ直接、何も介さずにデータを送
る場合は、 が成り立つ必要がある。しかし複合プリンタシステムで
は両者の伝送速度が大きく異なるため(1)式は成立し
ない。そのため、従来は第2図に示すようにCPUと外部
機器との間にバツフアメモリ(以下BM)101を設け、そ
こに一時的にデータを蓄積することにより、両者の伝送
速度の違いを解消する方法をとつている。このBMには先
入れ先出し(以下FIFO)メモリや交代バツフアメモリを
使用している。
A conventional composite printer system is disclosed in Japanese Patent Laid-Open No. 60-54042.
As described in the publication, serial signals such as image data read by an image scanner (hereinafter referred to as IS) and video data printed by an optical printer cannot be stopped midway when the signal transfer is started. Further, for such a serial signal, a central processing unit (hereinafter referred to as a CPU) that processes data handles the data in units of 8 bits or 16 bits, and therefore serial / parallel conversion of data is necessary. Among them, for parallel / serial conversion (P / S), D P : Transfer rate of parallel signal per word sent by CPU (word / second) N B : Number of parallel bits (bit / word) D S : External Transfer rate of serial signal to be sent to (bits / second) T PS : If the time required for P / S (seconds / word) is set, when sending data directly from the CPU to the outside without any intervention, Must be satisfied. However, in the composite printer system, the transmission speeds of the two are very different, so that the expression (1) is not satisfied. Therefore, conventionally, as shown in FIG. 2, a buffer memory (hereinafter referred to as BM) 101 is provided between a CPU and an external device, and data is temporarily stored in the buffer memory 101 to eliminate the difference in transmission speed between the two. Is taking. This BM uses first-in first-out (FIFO) memory and alternate buffer memory.

このBMを用いた場合、 DW:BMに書き込む速度(ワード/秒) DR:BMから読み出す速度(ワード/秒) とすると一般的に が成り立つ必要がある。DW=DRの場合は、BMが不要であ
るが上述したように、複合プリンタシステムでは一般的
に成立しない。しかし、DW>DRのとき外部へ連続した直
列信号を送ることが可能になる。このとき、BMのメモリ
容量M(ワード)は、DWとDRの最小公倍数とプログラム
によるデータ編集時間TP(秒)を考慮して決定する。即
ち、 M=a・DW=b・DR …(3) (aとbは互いに素で、単位は時間に相当する。) および からMを求める。
When this BM is used, it is generally assumed that D W : BM writing speed (word / second) and D R : BM reading speed (word / second) Must be satisfied. When D W = D R , BM is not necessary, but as described above, it is not generally established in the composite printer system. However, when D W > D R , it becomes possible to send a continuous serial signal to the outside. At this time, the memory capacity M (word) of BM is determined in consideration of the least common multiple of D W and D R and the data editing time T P (second) by the program. That is, M = a · D W = b · D R (3) (a and b are coprime and the unit corresponds to time) and To obtain M.

このような、BMへのデータ入力は、プログラムによる
データ転送か、または、ダイレクトメモリアクセス(以
下DMA)制御で行われる。
Such data input to the BM is performed by program data transfer or direct memory access (DMA) control.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

ソフトウエア制御によるデータ転送は、CPUのマシン
サイクルで決まるため、DWには制限がある。したがつ
て、外部へ高速にしかも連続的に直列信号を送る場合、
BMとしては仕事単位のメモリ容量すなわち、所定の仕事
を行うための最小メモリ容量が必要になる。これは、式
(3)において、DRを大きくすると、DWとDRの最小公倍
数から求めたMの値も大きくなることに対応している。
メモリ容量が大きくなることは、システムの小型化要求
に対応できない。また、DMA転送を用いた場合、DWはハ
ード的に決まるため自由に制御できないという問題があ
る。
Since data transfer under software control is determined by the machine cycle of the CPU, D W has a limit. Therefore, when sending a serial signal to the outside at high speed and continuously,
The BM requires a memory capacity for each work, that is, a minimum memory capacity for performing a predetermined job. This corresponds to that in Expression (3), when D R is increased, the value of M obtained from the least common multiple of D W and D R is also increased.
The increase in memory capacity cannot meet the demand for system miniaturization. Also, when using DMA transfer, there is a problem that D W cannot be freely controlled because it is determined by hardware.

本発明の目的は、複合プリンタシステムにおいて、CP
U側はプログラムによるデータ転送速度であつても、外
部に対しては合理的で高信頼性の直列信号転送が可能
で、しかも容量が小さくて済むデータ転送速度変換装置
を用いたバツフアメモリ(BM)を提供することにある。
The object of the present invention is to provide a CP
A buffer memory (BM) that uses a data transfer rate converter that can transfer serial signals with reasonable and high reliability to the outside even if the U side has a program-based data transfer rate and has a small capacity. To provide.

〔問題点を解決するための手段〕 上記問題点は、複合プリンタシステムのインターフエ
ースにしてバツフアメモリと並列・直列変換器からなる
データ転送速度変換装置において、前記バツフアメモリ
と前記並列・直列変換器の間に並列信号の数を変えて信
号の伝送速度を変える伝送速度変換器を設けることによ
つて解決される。
[Means for Solving the Problems] The above-mentioned problem is that in the data transfer rate conversion device including the buffer memory and the parallel / serial converter as an interface of the composite printer system, the buffer memory and the parallel / serial converter are connected to each other. It is solved by providing a transmission rate converter that changes the number of parallel signals to change the transmission rate of signals.

〔作用〕[Action]

複合プリンタシステムのバツフアメモリと並列・直列
変換器の間に並列信号の数を変える伝送速度変換器を設
け、前記並列・直列変換器への信号の伝送速度を変え
る。
A transmission rate converter that changes the number of parallel signals is provided between the buffer memory and the parallel / serial converter of the composite printer system, and the transmission rate of the signal to the parallel / serial converter is changed.

〔実施例〕〔Example〕

以下、本発明による実施例を第1図,第3図〜第8図
を用いて説明する。
An embodiment according to the present invention will be described below with reference to FIGS. 1 and 3 to 8.

実施例1 第1図はデータ転送速度変換の1実施例である。CPU3
01からプログラムによるデータ転送速度(DW)106で送
られてくるデータは一時、FIFOのバツフアメモリ(BM)
101に格納される。その後、外部クロツク110に同期し
て、変換制御回路102から出力される読み出しアドレス
に基づいて出力されたデータは一時、ラツチ103にラツ
チされた後、 を満足するようにあらかじめ決められた並列ビツト数
(NB)以上になるまでバイト単位で並列信号出力回路10
4に送られる。このNBの値はあらかじめCPU301からNB
定信号114により変換制御回路102に設定されている。
Embodiment 1 FIG. 1 is an embodiment of data transfer rate conversion. CPU3
Data sent from 01 at program data transfer rate (D W ) 106 is temporarily buffer FIFO memory (BM)
Stored in 101. Thereafter, in synchronization with the external clock 110, the data output based on the read address output from the conversion control circuit 102 is temporarily latched by the latch 103, The parallel signal output circuit in byte units until the number of parallel bits (N B ) that is predetermined to satisfy
Sent to 4. This N B value is preset in the conversion control circuit 102 by the N B setting signal 114 from the CPU 301.

変換制御回路102は並列信号出力回路104に送られたデ
ータがNB以上になつたことを確認した後並列信号出力回
路104の出力を に設定する。そして、並列信号出力回路104は の信号を並列・直列変換器(P/S)105に送る。その後並
列信号出力回路104は を超えた残りの信号を上位ビツトにシフトする。また、 を超えた残りの信号の数は変換制御回路102に送られ、
ビツト数制御の初期値となる。
The conversion control circuit 102 confirms that the data sent to the parallel signal output circuit 104 has reached N B or more, and then outputs the output of the parallel signal output circuit 104. Set to. Then, the parallel signal output circuit 104 To the parallel / serial converter (P / S) 105. After that, the parallel signal output circuit 104 The rest of the signals that exceed is shifted to the upper bits. Also, The number of remaining signals beyond is sent to the conversion control circuit 102,
This is the initial value for bit number control.

一方、P/S105は並列信号を直列信号に変換し、伝送速
度(DS)111で外部に送信する。このようにBM101とP/S1
05を直列信号に変換するときの転送速度変換効率を制御
することができる。
On the other hand, the P / S 105 converts a parallel signal into a serial signal and transmits the serial signal to the outside at a transmission rate (D S ) 111. Thus BM101 and P / S1
It is possible to control the transfer rate conversion efficiency when 05 is converted to a serial signal.

次に、第1図を用いてデータ転送速度変換の条件につ
いて記述する。
Next, the conditions for converting the data transfer rate will be described with reference to FIG.

並列ビツト数変換器112における並列データの転送速
度を(DL)108(ワード/秒)、また、BM101から読み出
されるデータの転送速度を DLの間には、 の式が成り立つ。また、従来に比べると、本方式では となるように並列に送る信号の数を を増加したことにより、式(2)から の最小公倍数から求めたメモリ容量(ワード)は M> …(7) となる。
The transfer rate of the parallel data in the parallel bit number converter 112 (D L) 108 (word / s), also, the transfer rate of data read from BM101 During D L , Holds. Also, compared with the conventional method, this method The number of signals to send in parallel so that From the formula (2) by increasing The memory capacity (word) obtained from the least common multiple of is M> ... (7).

このように、式(6)における並列ビツト数 が並列信号や直列信号のデータ転送速度を制御してい
る。その結果、式(7)に示すように、BM101のメモリ
容量が少なくて済むようになる。これはまた、複合プリ
ンタシステムの小型化につながる。
Thus, the number of parallel bits in equation (6) Controls the data transfer rate for parallel and serial signals. As a result, as shown in the equation (7), the memory capacity of the BM101 can be reduced. This also leads to miniaturization of the composite printer system.

以上の関係はCPU側から外部へデータ転送する場合で
あるが、外部からCPU側へデータ転送する場合にも成り
立つ。また単位で示したワードは仕事単位で決まる並列
で送る時の信号の数(ビツト数)を意味している。
The above relationship applies when data is transferred from the CPU side to the outside, but also holds when data is transferred from the outside to the CPU side. The word shown in units means the number of signals (bits) when sending in parallel, which is determined by work units.

実施例2 第3図は光プリンタ309とCPU301の間に、第1図に示
す構成からなる速度変換バツフア308を設け、システム
側にある情報をプリンタ側に転送する例である。
Embodiment 2 FIG. 3 is an example in which a speed conversion buffer 308 having the configuration shown in FIG. 1 is provided between the optical printer 309 and the CPU 301, and information on the system side is transferred to the printer side.

CPU301は光プリンタ309へプリント要求信号を出し、
印刷準備可ならば光プリンタ309は、CPU301に印刷可信
号を返送する。CPU301はこの信号を受信した後、データ
バス303を通して速度変換バツフア308へデータを送り始
める。
The CPU 301 issues a print request signal to the optical printer 309,
If printing is ready, the optical printer 309 returns a print enable signal to the CPU 301. After receiving this signal, the CPU 301 starts sending data to the speed conversion buffer 308 via the data bus 303.

速度変換バツフア308への並列データの書き込みは、
デコード信号304が有効になるとCPU301のシステムクロ
ツク305と同期して行なわれる。一方、読み出しは書き
込みタイミング307とは無関係に光プリンタ309のクロツ
クと同期して実行される。
Writing parallel data to the speed conversion buffer 308
When the decode signal 304 becomes valid, it is performed in synchronization with the system clock 305 of the CPU 301. On the other hand, the reading is executed in synchronization with the clock of the optical printer 309 regardless of the writing timing 307.

以上のタイミングを第4図に示す。垂直同期信号31が
有効になつた時点で、リセツト信号32により、FIFOメモ
リの書き込み、読み出しポインタを初期化する。書き込
みは水平同期信号35をもとに作成した書き込みイネーブ
ル信号34に基づき、Iブロツク分のデータBWを並列のビ
デオデータ33のように書き込む。一方、読み出しは信号
35は光プリンタ309のクロツク信号36に同期して行な
い、並列/直列変換の後、直列のビデオデータ37として
出力する。
The above timing is shown in FIG. When the vertical synchronizing signal 31 becomes valid, the reset signal 32 initializes the write / read pointer of the FIFO memory. For writing, based on the write enable signal 34 created based on the horizontal synchronizing signal 35, the data B W for the I block is written like parallel video data 33. On the other hand, read is a signal
35 is synchronized with the clock signal 36 of the optical printer 309, and after parallel / serial conversion, is output as serial video data 37.

このように、CPU301から光プリンタ309へのデータ転
送は信号31と信号35を基準信号としているが、書き込
み、読み出しのタイミングは独立した転送速度で行つて
いる。
As described above, the data transfer from the CPU 301 to the optical printer 309 uses the signal 31 and the signal 35 as reference signals, but writing and reading timings are performed at independent transfer rates.

実施例3 第5図にイメージスキヤナ(IS)501とCPU301との間
のデータ転送に適用した例を示す。
Third Embodiment FIG. 5 shows an example applied to data transfer between an image scanner (IS) 501 and a CPU 301.

基本動作は第3図とほぼ同じで、CPU301からIS501へ
送信要求信号を出し、それに対しIS501はCPU301へ送信
開始信号とイメージデータの直列信号を送信する。速度
変換バツフア308への書き込みは、IS501のクロツク信号
に基づき直列/並列変換された後実行される。
The basic operation is almost the same as in FIG. 3, and the CPU 301 issues a transmission request signal to the IS 501, while the IS 501 transmits a transmission start signal and a serial signal of image data to the CPU 301. Writing to the speed conversion buffer 308 is executed after serial / parallel conversion based on the clock signal of IS501.

一方読み出しは書き込みタイミングとは無関係に、シ
ステムクロツク305に同期してデータバス303へ出力され
る。
On the other hand, reading is output to the data bus 303 in synchronization with the system clock 305 regardless of the writing timing.

以上のタイミングを第6図に示す。CPU301から送信要
求を受けたIS501は、準備完了信号51を有効にし、ライ
ン同期信号52に同期して、直列信号でイメージデータ53
を送信する。
The above timing is shown in FIG. Upon receiving the transmission request from the CPU 301, the IS 501 validates the ready signal 51, synchronizes with the line synchronization signal 52, and outputs the image data 53 as a serial signal.
Send

イメージデータはFIFOメモリの容量,直列信号および
並列信号の転送速度の関係から、信号52の16ラインを1
ブロツクとして処理する方法をとつている。IS501から
連続的に送られてくる直列信号53は本方式により並列信
号に変換され、イメージデータ信号55のようにFIFOメモ
リに書き込まれる。その後、CPU301の処理シーケンスに
基づき、イメージデータ信号57のような形で、CPU301の
メインメモリに転送される。FIFOメモリの書き込みポイ
ンタは1ブロツク毎にリセツト信号54で、また、読み出
しポインタはリセツト信号56でそれぞれ初期化される。
For image data, 16 lines of signal 52 are set to 1 line in consideration of the capacity of the FIFO memory and the transfer rate of serial signals and parallel signals.
It is treated as a block. The serial signal 53 continuously sent from the IS 501 is converted into a parallel signal by this method and written in the FIFO memory like the image data signal 55. After that, the image data signal 57 is transferred to the main memory of the CPU 301 based on the processing sequence of the CPU 301. The write pointer of the FIFO memory is initialized by the reset signal 54 and the read pointer is initialized by the reset signal 56 for each block.

従来、第3図と第5図に示すようなデータ転送を行う
場合、式(3)と(4)から求めた容量をもつメモリを
一対用意し、一方のBMにソフトウエア制御でデータを書
き込んでいる時他方のBMからはハードウエア制御で読み
出す、いわゆる交代バツフア方式を用いるのが一般的で
あつた。
Conventionally, when performing data transfer as shown in FIG. 3 and FIG. 5, a pair of memories having the capacities obtained from equations (3) and (4) are prepared, and data is written to one BM under software control. It is common to use the so-called alternate buffer method, in which the other BM reads out under hardware control when it is out.

これに比べ、本方式は、式(3)と(4)から求めた
容量をもつFIFOメモリ1個と組み合わせて用いることに
より、上述したように、交代バツフアと同等のデータ転
送を実現できる。つまり、交代バツフア方式に比べ本方
式ではBM101のメモリ容量が半分以下で済むことにな
る。これは式(7)からも明らかである。また、速度変
換バツフア308のアドレス制御が簡単になることから、
バツフア装置の小型化が図れる。
On the other hand, in this method, by using it in combination with one FIFO memory having the capacity obtained from the equations (3) and (4), the data transfer equivalent to the alternate buffer can be realized as described above. In other words, this method requires less than half the memory capacity of the BM101 compared to the replacement buffer method. This is also clear from equation (7). Also, since the address control of the speed conversion buffer 308 becomes simple,
The size of the buffer device can be reduced.

実施例4 第7図はIS501と光プリンタ309およびCPU301を一体化
した例である。速度変換バツフア308は次の5つから構
成されている。
Fourth Embodiment FIG. 7 shows an example in which the IS501, the optical printer 309, and the CPU 301 are integrated. The speed conversion buffer 308 is composed of the following five parts.

FIFOメモリ703。並列/直列変換を行つて並列に送
る信号の数を変え、データの転送速度制御を行う並列ビ
ツト変換部704。データを並列/直列または直列/並
列変換する並列・直列変換部705。FIFOメモリ703への
ハードおよびソフト的な書き込みおよび読み出し動作の
制御を司どる信号制御部702。CPU301からの信号を選
択するデコーダ701。
FIFO memory 703. A parallel bit conversion unit 704 that performs parallel / serial conversion and changes the number of signals sent in parallel to control the data transfer rate. A parallel / serial conversion unit 705 for converting data in parallel / serial or serial / parallel. A signal control unit 702 that controls hardware and software write and read operations to and from the FIFO memory 703. A decoder 701 that selects a signal from the CPU 301.

この装置を用いたデータの処理例を以下に示す。 An example of data processing using this device is shown below.

(1)イメージスキヤナ(IS)501から画像信号を受信
する場合 IS501から送られてくる直列信号の信号速度とCPU301
の処理速度、およびFIFOメモリ703容量を考慮して、式
(3),(4),(6)より並列変換を行う信号の本数
(式(6)のビツト数 に対応する)を決め、並列ビツト変換部704にその本数
を設定する。さらに、並列・直列変換部705を直列/並
列変換に設定する。その後、第5,6図で説明した方法で
プログラムに基づきIS501の画像データを速度変換バツ
フア308を通して、主メモリに転送する。
(1) When receiving an image signal from Image Scanner (IS) 501 Signal speed of serial signal sent from IS501 and CPU301
The number of signals to be parallel-converted from equations (3), (4), and (6) (the number of bits in equation (6)) in consideration of the processing speed of (Corresponding to the above) and set the number in the parallel bit conversion unit 704. Further, the parallel / serial conversion unit 705 is set to serial / parallel conversion. After that, the image data of the IS501 is transferred to the main memory through the speed conversion buffer 308 based on the program by the method described with reference to FIGS.

(2)複合プリンタシステムで作成された文書を光プリ
ンタ309で印刷する場合 (1)の場合と同様にして並列/直列変換を行う信号
の本数を決め、並列ビツト変換部704にその本数を設定
する。さらに、並列・直列変換部705を並列/直列変換
に設定する。その後、第3,4図で説明した方法でプログ
ラムに基づき主メモリにある文章データを速度変換バツ
フア308を通して光プリンタ309に転送する。
(2) When printing a document created by the composite printer system by the optical printer 309: Determine the number of signals for parallel / serial conversion as in the case of (1), and set the number in the parallel bit conversion unit 704. To do. Further, the parallel / serial conversion unit 705 is set to parallel / serial conversion. After that, the text data in the main memory is transferred to the optical printer 309 through the speed conversion buffer 308 based on the program by the method described with reference to FIGS.

以上のように本装置を用いることにより、CPUと外部
デバイス(光プリンタやIS)との間で直列データの送受
信が任意にできるようになり、光プリンタ用バツフアや
IS用バツフアメモリを別々に設定する必要がなくなる。
したがつて、装置も小型になる。
As described above, by using this device, it becomes possible to arbitrarily send and receive serial data between the CPU and an external device (optical printer or IS).
Eliminates the need to set the IS buffer memory separately.
Therefore, the device becomes smaller.

第8図は第7図の速度変換バツフア308の詳細例であ
る。第7図の信号制御部702、並列ビツト変換部704がそ
れぞれ第8図のR/W許可信号発生回路801,ビツト制御回
路803である。CPU301はFIFOメモリ703のリセツト、R/W
許可,並列・直列変換回路805への並列データロード、
直列/並列あるいは並列/直列変換の設定などの制御を
行う。さらに式(6)に示すビツト数 で速度変換を実現するため、ビツト制御回路803へ を設定する。このビツト制御回路803は第1図の速度変
換バツフアの原理図のところで説明したように、FIFOメ
モリ703から1バイト(8ビツト)単位で読み出したデ
ータを、任意のビツト数 に設定し出力する。分周回路802は、CPU301の指令にし
たがい外部デバイスコントロールバス806の送受信クロ
ツクをもとに、FIFOメモリ703からの読み出しや書き込
み、さらに並列・直列変換回路805へ並列データをロー
ドするタイミング信号804を作る。このように、並列に
送る信号の数 を操作することにより、第7図のところで説明したよう
な効果が得られる。
FIG. 8 is a detailed example of the speed conversion buffer 308 shown in FIG. The signal control unit 702 and the parallel bit conversion unit 704 in FIG. 7 are the R / W permission signal generation circuit 801 and the bit control circuit 803 in FIG. 8, respectively. CPU301 is the reset of FIFO memory 703, R / W
Permission, parallel data load to parallel / serial conversion circuit 805,
Controls such as serial / parallel or parallel / serial conversion settings. Furthermore, the number of bits shown in equation (6) To realize speed conversion with the bit control circuit 803 Set. This bit control circuit 803, as described in the principle diagram of the speed conversion buffer in FIG. 1, reads the data read from the FIFO memory 703 in units of 1 byte (8 bits), and outputs the data in an arbitrary number of bits. Set to and output. The frequency divider circuit 802 reads and writes from the FIFO memory 703 based on the transmission / reception clock of the external device control bus 806 according to the command of the CPU 301, and further outputs a timing signal 804 for loading parallel data to the parallel / serial conversion circuit 805. create. Thus, the number of signals to send in parallel By operating, the effect as described in FIG. 7 can be obtained.

このように実施例1〜実施例4で詳述したように本発
明によれば、ソフトウエア制御からハードウエア制御、
またはその逆のデータ転送において、直列・並列変換す
る際、並列に送る信号の数を可変にすることにより、転
送速度の差を解消することができるので、CPU側のプロ
グラム制御で外部とのデータ転送が可能になり、従来よ
りも少ないバツフアメモリ容量でデータを転送できる効
果がある。さらに、プログラム制御でデータ転送全体を
管理できるため、システムが小型化され、転送されたデ
ータの信頼性が高くなる効果がある。
Thus, according to the present invention as described in detail in Embodiments 1 to 4, according to the present invention, from software control to hardware control,
Or in the reverse data transfer, when converting serial / parallel, by changing the number of signals sent in parallel, it is possible to eliminate the difference in transfer speed. Transfer is possible, and there is an effect that data can be transferred with a smaller buffer memory capacity than before. Further, since the entire data transfer can be managed by program control, there is an effect that the system is downsized and the reliability of the transferred data is increased.

〔発明の効果〕〔The invention's effect〕

複合プリンタシステムのバツフアメモリと並列・直列
変換器の間に並列信号の数を変える伝送速度変換器を設
けることによつて、従来よりも小容量のバツフアメモリ
でその並列・直列変換器に接続される外部機器に対応し
た合理的な信号の伝送速度を得ることができるという優
れた効果がある。
By providing a transmission speed converter that changes the number of parallel signals between the buffer memory and the parallel / serial converter of the composite printer system, an external device connected to the parallel / serial converter with a buffer memory having a smaller capacity than before is provided. There is an excellent effect that a reasonable signal transmission speed corresponding to the device can be obtained.

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

第1図は本発明による第1の実施例を示す速度変換バツ
フアのブロツク図、第2図は従来のバツフア方式を示す
ブロツク図、第3図は第2の実施例を示す光プリンタと
CPUとの間の速度変換実施例のブロツク図、第4図は第
3図の制御シーケンス、第5図は第3図の実施例を示す
イメージスキヤナとCPUとの間の速度変換実施例のブロ
ツク図、第6図は第5図の制御シーケンス、第7図は第
4図の実施例を示すイメージスキヤナと光プリンタおよ
びCPUとの間の速度変換実施例のブロツク図、第8図は
第7図の速度変換バツフア部のブロツク図である。 101……バツフアメモリ(BM)、102……変換制御回路、
103……ラツチ、104……並列信号出力回路、105……並
列/直列変換(P/S)、106……書き込み速度(DW)、10
7……読み出し速度 108……並列データ転送速度(DL)、109……並列ビツト 110……外部クロツク、111……直列信号伝送速度
(DS)、112……並列ビツト数変換器、113……外部機
器。
FIG. 1 is a block diagram of a speed conversion buffer showing a first embodiment according to the present invention, FIG. 2 is a block diagram showing a conventional buffer system, and FIG. 3 is an optical printer showing the second embodiment.
FIG. 4 is a block diagram of an embodiment of speed conversion with a CPU, FIG. 4 is a control sequence of FIG. 3, and FIG. 5 is an image of an embodiment of FIG. Block diagram, FIG. 6 is a control sequence of FIG. 5, FIG. 7 is a block diagram of an embodiment of speed conversion between the image scanner, the optical printer and the CPU showing the embodiment of FIG. 4, and FIG. FIG. 8 is a block diagram of the speed conversion buffer section of FIG. 7. 101 …… buffer memory (BM), 102 …… conversion control circuit,
103 …… Latch, 104 …… Parallel signal output circuit, 105 …… Parallel / serial conversion (P / S), 106 …… Write speed (D W ), 10
7 ... Reading speed 108 ...... parallel data transfer rate (D L), 109 ...... parallel bits 110 ...... external clock, 111 ...... serial signal transmission speed (D S), 112 ...... parallel bit number converter 113 ...... external device.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 佐藤 国雄 茨城県日立市久慈町4026番地 株式会社 日立製作所日立研究所内 (56)参考文献 特開 昭62−106560(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Kunio Sato 4026 Kuji Town, Hitachi City, Hitachi City, Ibaraki Hitachi Research Laboratory, Hitachi, Ltd. (56) References JP-A-62-106560 (JP, A)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複合プリンタシステムのインターフエース
にしてバツフアメモリと並列・直列変換器からなるデー
タ転送速度変換装置において、前記バツフアメモリと前
記並列・直列変換器の間に並列信号の数を変えて信号の
伝送速度を変える伝送速度変換器を設けたことを特徴と
するデータ転送速度変換装置。
1. A data transfer rate converter comprising a buffer memory and a parallel / serial converter as an interface of a composite printer system, wherein the number of parallel signals is changed between the buffer memory and the parallel / serial converter. A data transfer rate conversion device comprising a transfer rate converter for changing the transfer rate.
【請求項2】前記バツフアメモリが先入れ先出しメモリ
であることを特徴とする特許請求の範囲第1項記載のデ
ータ転送速度変換装置。
2. The data transfer rate conversion device according to claim 1, wherein the buffer memory is a first-in first-out memory.
JP62290346A 1987-11-17 1987-11-17 Data transfer rate converter Expired - Lifetime JP2567428B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62290346A JP2567428B2 (en) 1987-11-17 1987-11-17 Data transfer rate converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62290346A JP2567428B2 (en) 1987-11-17 1987-11-17 Data transfer rate converter

Publications (2)

Publication Number Publication Date
JPH01130650A JPH01130650A (en) 1989-05-23
JP2567428B2 true JP2567428B2 (en) 1996-12-25

Family

ID=17754861

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62290346A Expired - Lifetime JP2567428B2 (en) 1987-11-17 1987-11-17 Data transfer rate converter

Country Status (1)

Country Link
JP (1) JP2567428B2 (en)

Also Published As

Publication number Publication date
JPH01130650A (en) 1989-05-23

Similar Documents

Publication Publication Date Title
JP4065503B2 (en) Image processing apparatus, image input / output apparatus, scaling process method, and memory control method
EP0988756B1 (en) Apparatus and method for controlling transfer of data between processing elements
JPH04107070A (en) Encoding and decoding device
US5163123A (en) Synchronously transferring image data to a printer
KR100283528B1 (en) Data transmission method, data transmission apparatus and medium
JP2567428B2 (en) Data transfer rate converter
JPH06266605A (en) Storage device
JPH0535442A (en) Image data converting circuit
JPH07121474A (en) Information processor
US5524183A (en) Data transmitting apparatus for the thermal print head of high density
JPH10145433A (en) Data transfer rate converter and communication network system
JPH08197788A (en) Image data reading circuit of printer control device
JP3153257B2 (en) Facsimile machine
JP3605987B2 (en) Image processing device
JPH06309218A (en) Data buffer control system
JPH08147479A (en) Image output device and image decoding device
JPS6314545B2 (en)
JPH023345B2 (en)
JPS59100653A (en) Polling address selecting system
JPH0271324A (en) Data transfer device
JPH0679930A (en) Bit map memory controller
JPS6211951A (en) Channel device
JPS62126435A (en) Speed conversion buffer circuit
JPH05250307A (en) Information transfer device
JPS60163151A (en) Interface device