Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6326584B2 - - Google Patents
[go: Go Back, main page]

JPS6326584B2 - - Google Patents

Info

Publication number
JPS6326584B2
JPS6326584B2 JP57155278A JP15527882A JPS6326584B2 JP S6326584 B2 JPS6326584 B2 JP S6326584B2 JP 57155278 A JP57155278 A JP 57155278A JP 15527882 A JP15527882 A JP 15527882A JP S6326584 B2 JPS6326584 B2 JP S6326584B2
Authority
JP
Japan
Prior art keywords
data
lbf
address
area
conversion circuit
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
Application number
JP57155278A
Other languages
Japanese (ja)
Other versions
JPS5945764A (en
Inventor
Fumihiro Ogasawara
Juichi Saito
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP57155278A priority Critical patent/JPS5945764A/en
Publication of JPS5945764A publication Critical patent/JPS5945764A/en
Publication of JPS6326584B2 publication Critical patent/JPS6326584B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/36Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device for synchronising or phasing transmitter and receiver

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Facsimile Transmission Control (AREA)

Description

【発明の詳細な説明】 本発明はフアクシミリにおける独立同期伝送方
式に係わり、詳しくはCCITT規定のG機にお
ける送信側と受信側の同期のとり方に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an independent synchronization transmission system in facsimile, and more particularly to a method of synchronizing the transmitting side and receiving side in a G machine specified by CCITT.

CCITTのG規格によれば、フアクシミリメ
ツセージの走査周波数はf0=6Hz(許容誤差±5
×10-6)、従つて走査周期はT0=1/6(s)≒
166.667(ms)と規定されており、この時間T0
保つて送信時あるいは受信時におけるライン毎の
メツセージ処理を行なう必要がある。そこで、従
来は周期T0の同期信号を発生させ、この信号に
基づき送信時あるいは受信時におけるライン毎の
メツセージ処理を行なつていた。しかし、この方
法によると、送信時には周期T0の同期信号を発
生させるためのカウンタ等を用いて構成する同期
信号発生回路や、発生する同期信号に基づいてデ
ータ処理するための多数のゲート回路等が必要と
なる上、受信時には更にこれらの回路構成に加え
て周期T0で発生させる同期信号と送信側同期信
号との同期(位相)整合、同期保持等を行なう回
路等が必要となり、回路構成が複雑となり、部品
点数も多くなつてコストアツプする上、ノイズ等
による位相整合誤差が発生し易くなる欠点があつ
た。
According to the CCITT G standard, the scanning frequency of facsimile messages is f 0 = 6 Hz (tolerance ± 5
×10 -6 ), therefore, the scanning period is T 0 = 1/6 (s) ≒
It is specified as 166.667 (ms), and it is necessary to maintain this time T 0 and perform message processing for each line during transmission or reception. Therefore, in the past, a synchronizing signal with a period T 0 was generated, and based on this signal, message processing was performed for each line during transmission or reception. However, according to this method, during transmission, there is a synchronization signal generation circuit configured using a counter etc. to generate a synchronization signal with a period T 0 , and a large number of gate circuits for data processing based on the generated synchronization signal. In addition, at the time of reception, in addition to these circuit configurations, a circuit that performs synchronization (phase) matching and synchronization maintenance between the synchronization signal generated at period T 0 and the synchronization signal on the transmitting side, etc., is required. The system becomes complicated, the number of parts increases, the cost goes up, and there are disadvantages in that phase matching errors are more likely to occur due to noise and the like.

本発明は送信時あるいは受信時における周期
T0毎のメツセージ処理をソフト的に時間管理す
ることにより、同期信号発生回路等のハード構成
を一切不要とし、かつ、メツセージ処理を行なう
ために設けられた唯一のマイコンを利用すること
により、極めて経済的に送信側と受信側の同期関
係を確立することのできるG機における独立同
期伝送方式を提供することを目的とする。
The present invention is based on the periodicity at the time of transmission or reception.
By time-managing the message processing for each T 0 using software, there is no need for any hardware configuration such as a synchronization signal generation circuit, and by using the only microcontroller provided for message processing, it is extremely efficient. It is an object of the present invention to provide an independent synchronous transmission system for G machines that can economically establish a synchronous relationship between the transmitting side and the receiving side.

以下、本発明の実施例を図面を参照して説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例に係るフアクシミリ
装置全体のブロツク構成図を示したもので、1は
CCDセンサにより原稿を読取走査し、得られる
ライン毎のビデオ信号を2値化して出力する読取
部、2はその2値化シリアルデータを8ビツト単
位のパラレルデータに変換するS/P変換回路、
3はCPU、4は処理プログラムが記憶されてい
るROM、5は各種データを記憶するRAM、6
はCPU3に対しては8ビツトパラレルに画デー
タの受け渡しを行なう一方、モデム7に対しては
シリアルに画データを受け渡しするためのP/S
−S/P変換回路、8はNCU(網制御回路)、9
は8ビツトパラレルデータをシリアルデータに変
換するP/S変換回路、10はそのシリアルデー
タを1ライン毎記録する記録部、11はキード
AGCコントロール信号をモデム7に出力する出
力ポート、12はクロツク発生回路(OSC)で
ある。
FIG. 1 shows a block diagram of the entire facsimile apparatus according to an embodiment of the present invention, and 1 is
A reading section reads and scans a document using a CCD sensor, and binarizes and outputs the resulting video signal for each line; 2 is an S/P conversion circuit that converts the binarized serial data into parallel data in 8-bit units;
3 is a CPU, 4 is a ROM that stores processing programs, 5 is a RAM that stores various data, and 6
The P/S transfers image data to the CPU 3 in 8-bit parallel, while the P/S transfers image data serially to the modem 7.
-S/P conversion circuit, 8 is NCU (network control circuit), 9
1 is a P/S conversion circuit that converts 8-bit parallel data into serial data, 10 is a recording unit that records the serial data line by line, and 11 is a keypad.
The output port 12 outputs the AGC control signal to the modem 7, and is a clock generation circuit (OSC).

以上の構成で、今、ライン走査線長を216mmと
し、送信時には主走査線密度8/mmで読取走査
を行ない、受信時には主走査線密度6/mmで記
録走査する場合を例にとり、以下に説明する。
With the above configuration, let us take as an example the case where the line scanning line length is 216 mm, reading scanning is performed at a main scanning linear density of 8/mm during transmission, and recording scanning is performed at a main scanning linear density of 6/mm during reception. explain.

周知の通り、CCITTのG規格によれば、フ
エーズCおよびDにおける伝送手順は第2図に示
す如く規定されている。即ち、メツセージ送出前
に送信側は位相信号つまり周期T0の同期信号を
送出する一方、受信側はこの同期信号を検出して
位相合せつまり同期整合を行なつて、これを保持
する必要がある。また、この同期信号は第3図に
示す如く、1ライン周期T0の4〜6%期間t0(=
T0×0.04〜T0×0.06)を黒レベル信号とし、残り
τ0時間を白レベル信号として送出することが規定
されている。尚、メツセージ送出期間中は、この
t0期間に白レベル信号が入り、残りτ0期間に画デ
ータが入ることになる。
As is well known, according to the CCITT G standard, transmission procedures in phases C and D are defined as shown in FIG. That is, before sending a message, the sending side sends out a phase signal, that is, a synchronization signal with a period T 0 , while the receiving side must detect this synchronization signal, perform phase alignment, or synchronization matching, and maintain it. . Moreover, as shown in FIG. 3, this synchronization signal has a period t 0 ( =
It is stipulated that T 0 ×0.04 to T 0 ×0.06) is used as a black level signal, and the remaining time τ 0 is sent out as a white level signal. During the message sending period, this
A white level signal is input during the t 0 period, and image data is input during the remaining τ 0 period.

一方、本実施例の場合、上記ライン走査線長と
主走査線密度より1ラインの画素数は送信時が8
×216=1728ビツト、受信時が6×216=1296ビツ
トとなる。
On the other hand, in the case of this embodiment, the number of pixels in one line is 8 at the time of transmission based on the above line scanning line length and main scanning line density.
×216 = 1728 bits, 6 × 216 = 1296 bits when receiving.

また、1ライン分の処理周期はT0=1/6(s)
であることから、モデムクロツクは送信時が
TMDMCK=1/(1/6)/(1728/1)=1728×6=
10.368(kHz)、同様にして受信時がRMDMCK=
1296×6=7.776(kHz)となる。
Also, the processing cycle for one line is T 0 = 1/6 (s)
Since the modem clock is
TMDMCK=1/(1/6)/(1728/1)=1728×6=
10.368 (kHz), similarly when receiving RMDMCK =
1296×6=7.776 (kHz).

更に、本実施例の場合、CPU3は8ビツト単
位で画データの処理を行なつていることから、送
信時1ライン分の画データ1728ビツトは216バイ
トとなり、受信時1ライン分の画データ1296ビツ
トは162バイトとなる。そこで、送信時には、読
取部1で読み取つたデータをモデム7へ渡すライ
ンバツフア(LBF)エリアとして、16進表示で
RAM5の7028〜70FFアドレスと7128〜71FFア
ドレスのメモリエリアを使用する。一方、受信時
にはモデム7、記録部10間のLBFエリアとし
てRAM5の705E〜70FFアドレスおよび715E〜
71FFアドレスを使用する。
Furthermore, in the case of this embodiment, since the CPU 3 processes image data in units of 8 bits, 1 line of image data of 1728 bits at the time of transmission becomes 216 bytes, and 1 line of image data of 1296 bits at the time of reception. A bit is 162 bytes. Therefore, during transmission, data read by reading unit 1 is used as a line buffer (LBF) area to pass to modem 7, and is expressed in hexadecimal.
The memory areas of RAM 5 at addresses 7028 to 70FF and addresses 7128 to 71FF are used. On the other hand, during reception, addresses 705E to 70FF of RAM 5 and addresses 715E to 715E are used as the LBF area between modem 7 and recording unit 10.
Use 71FF address.

以上のことから、送信時、同期信号を受信側へ
送出する場合は、先ず、第4図に示す如くRAM
5の7028〜7031アドレス10バイトに黒レベルデー
タ、残7032〜70FFアドレスに白レベルデータを
予めセツトしておく。次いで、同期信号の送出を
開始すると、モデム7はクロツク発生回路12か
らの10.368kHzクロツクTMDMCRでP/S−
S/P変換回路6よりデータを1ビツトずつ取り
込んでいく。これにより、P/S−S/P変換回
路6は8ビツト分のデータがモデム7へ出力され
ると、割込信号INTをCPU3に出力する。CPU
3はこの割込信号INTを受けると、他の処理に
最優先してRAM5からP/S−S/P変換回路
6へ送信データ1バイトを出力する処理を行な
う。この処理でCPU3は最初にRAM5の7028ア
ドレスデータ1バイトをP/S−S/P変換回路
6へ出力する。次に、P/S−S/P変換回路6
から割込信号INTを受けると、7029アドレスデ
ータ1バイトをP/S−S/P変換回路6へ出力
する。
From the above, when transmitting a synchronization signal to the receiving side, first, as shown in Figure 4,
Black level data is preset in 10 bytes of addresses 7028 to 7031 of No.5, and white level data is set in the remaining addresses 7032 to 70FF. Next, when the transmission of the synchronization signal is started, the modem 7 uses the 10.368kHz clock TMDMCR from the clock generation circuit 12 to start the P/S-
Data is taken in one bit at a time from the S/P conversion circuit 6. As a result, the P/S-S/P conversion circuit 6 outputs an interrupt signal INT to the CPU 3 when 8 bits of data is output to the modem 7. CPU
3 receives this interrupt signal INT, and performs a process of outputting one byte of transmission data from the RAM 5 to the P/S-S/P conversion circuit 6, giving top priority to other processes. In this process, the CPU 3 first outputs 1 byte of 7028 address data from the RAM 5 to the P/S-S/P conversion circuit 6. Next, the P/S-S/P conversion circuit 6
When it receives an interrupt signal INT from , it outputs 1 byte of 7029 address data to the P/S-S/P conversion circuit 6.

このように、モデム7は絶えずP/S−S/P
変換回路6から受信側へ送出すべきデータを1ビ
ツトずつ取り込む一方、CPU3はP/S−S/
P変換回路6から割込信号INTに応じてRAM5
からデータを1バイトずつP/S−S/P変換回
路6へ出力する。やがてRAM5のアドレスのデ
ータを全てP/S−S/P変換回路6へ出力し終
れば、次は再び7028に戻つて出力する処理を繰り
返す。この結果、送信側には第4図に示す如き第
3図に相当する同期信号が受信側へ送出される。
また、このときの同期信号発生状態は送信側では
以後固定される。即ち、この位相関係を維持して
フアクシミリデータの送出が行なわれる。
In this way, the modem 7 is constantly connected to the P/S-S/P
While the data to be sent from the conversion circuit 6 to the receiving side is taken in one bit at a time, the CPU 3 converts the P/S-S/
RAM5 in response to the interrupt signal INT from the P conversion circuit 6.
The data is output to the P/S-S/P conversion circuit 6 one byte at a time. Eventually, when all the data at the addresses in the RAM 5 have been output to the P/S-S/P conversion circuit 6, the process returns to 7028 and repeats the output process. As a result, a synchronization signal as shown in FIG. 4 and corresponding to FIG. 3 is sent to the receiving side from the transmitting side.
Furthermore, the synchronization signal generation state at this time is fixed thereafter on the transmitting side. That is, facsimile data is transmitted while maintaining this phase relationship.

一方、この同期信号を受ける受信側では、
NCU8を介して入力される同期信号をモデム7
はクロツク発生回路12からの7.776kHzクロツク
RMDMCKで1ビツトずつP/S−S/P変換
回路6へ出力する。P/S−S/P変換回路6は
このデータが1バイトになると、割込信号INT
をCPU3に出力する。CPU3はこの割込信号
INTにより他の処理を中断してP/S−S/P
変換回路6からの1バイトデータを取り込み、そ
のレベルを調べることにより同期信号の検出を行
なう。更に黒レベルから白レベルへの変化点を捕
促することにより、送信側7032アドレスに対応す
る受信側7063アドレスを捕え、以後、割込信号
INT入力毎にこのアドレスを1つずつ更新して
いく。これにより同期信号との位相整合を行な
い、以後、この位相関係を維持してアドレスを循
環、更新することにより、同期保持を行なう。
On the other hand, on the receiving side that receives this synchronization signal,
The synchronization signal input via NCU8 is sent to modem 7.
is the 7.776kHz clock from clock generation circuit 12
It outputs one bit at a time to the P/S-S/P conversion circuit 6 using RMDMCK. When this data becomes 1 byte, the P/S-S/P conversion circuit 6 issues an interrupt signal INT.
Output to CPU3. CPU3 uses this interrupt signal
Interrupt other processing with INT and P/S-S/P
A synchronizing signal is detected by taking in one byte data from the conversion circuit 6 and checking its level. Furthermore, by capturing the change point from the black level to the white level, the receiving side 7063 address corresponding to the sending side 7032 address is captured, and from then on, the interrupt signal is
This address is updated one by one for each INT input. This performs phase matching with the synchronization signal, and thereafter synchronization is maintained by maintaining this phase relationship and circulating and updating addresses.

その後、メツセージの送出が始まれば、送信側
のCPU3は読取部1から得られる2値化データ
をS/P変換回路2で8ビツトデータに変換して
取り込み、RAM5の7028アドレスから順次1バ
イトずつ画データを貯えていき、70FFまで1ラ
イン分のデータを貯えると、次の1ライン分は
7128アドレスから71FFに貯えていく。その間、
P/S−S/P変換回路6から割込信号INTが
入る毎にCPU3はそれらの処理を中断して既に
1ライン分のデータが貯えられているLBF(ライ
ンバツフア)エリアの7028アドレスから1バイト
ずつP/S−S/P変換回路6へ出力する。この
とき、CPU3は前述したようにラインの先頭か
ら10バイトは強制的に白レベルデータで置き換え
てP/S−S/P変換回路6に出力する。70FF
までの1ライン分のデータを送出し終れば、次は
7128よりデータを送出する処理を交互に繰り返
し、1頁分のフアクシミリデータを送出する。ま
た、このときの位相は、アドレス更新が、
10.368kHzのクロツクTMDMCKに基づく割込信
号INTで、規則正しく216バイトを循環する如く
行なわれる結果、同期信号送出以降一定に保持さ
れる。
After that, when the message transmission starts, the CPU 3 on the sending side converts the binary data obtained from the reading section 1 into 8-bit data using the S/P conversion circuit 2, takes it in, and sequentially reads it one byte at a time from address 7028 in the RAM 5. When you store image data and store one line of data up to 70FF, the next one line will be
Store from address 7128 to 71FF. meanwhile,
Every time an interrupt signal INT is received from the P/S-S/P conversion circuit 6, the CPU 3 interrupts these processes and downloads 1 byte from address 7028 in the LBF (line buffer) area where 1 line of data has already been stored. Each signal is output to the P/S-S/P conversion circuit 6. At this time, as described above, the CPU 3 forcibly replaces the first 10 bytes of the line with white level data and outputs it to the P/S-S/P conversion circuit 6. 70FF
Once the data for one line has been sent, the next step is
The process of sending data from the 7128 is repeated alternately, and one page of facsimile data is sent. Also, the phase at this time is that the address update is
The interrupt signal INT is based on the 10.368 kHz clock TMDMCK, and as a result of regularly cycling through 216 bytes, it is held constant after the synchronization signal is sent.

一方、このメツセージを受ける受信側は、
CPU3が絶えず7.776kHzのクロツクRMDMCK
に基づく割込信号INTで規則正しく、162バイト
アドレスを循環的に更新を行なうことにより、送
信側との同期保持を行なつている。従つて、
NCU8を介して送信側から送られてくる画デー
タはモデム7からP/S−S/P変換回路6へク
ロツクRMDMCKで1ビツトずつ取り込まれ、
割込信号INTにより1バイトずつ規則正しく
RAM5のそのとき循環保持しているアドレスに
貯えられていく。また、その合間にCPU3は受
信データの貯えられた2本のLBFエリア705E〜
70FF、715E〜71FFから交互にデータを1バイト
ずつ取り出しP/S変換回路9へ出力する。この
画データはシリアルデータに変換されて記録部1
0に加えられ、主走査線密度6/mmで記録され
ていく。
On the other hand, the receiver receiving this message,
CPU3 constantly clocks 7.776kHz RMDMCK
Synchronization with the sending side is maintained by regularly and cyclically updating the 162-byte address using the interrupt signal INT based on . Therefore,
The image data sent from the transmitting side via the NCU 8 is taken in one bit at a time from the modem 7 to the P/S-S/P conversion circuit 6 using the clock RMDMCK.
Regularly byte by byte by interrupt signal INT
It is stored in the address that is being held in rotation at that time in RAM5. In addition, in the meantime, CPU 3 uses the two LBF areas 705E to 705E where the received data is stored.
Data is taken out one byte at a time alternately from 70FF and 715E to 71FF and output to the P/S conversion circuit 9. This image data is converted to serial data and stored in the recording section 1.
0 and is recorded at a main scanning line density of 6/mm.

このように、本実施例によれば従来装置のよう
に同期信号発生回路を設けることなく、ソフト的
に送信側と受信側の同期整合、保持等を行なうこ
とができ、唯一のマイコンを用いてG機を極め
てコンパクト、経済的に構成できるようになる。
In this way, according to this embodiment, it is possible to perform synchronization matching and maintenance between the transmitting side and the receiving side using software without providing a synchronizing signal generation circuit unlike the conventional device, and using only a microcontroller. This allows the G-machine to be configured extremely compactly and economically.

第5図〜第8図は以上の動作をフローチヤート
でより具体的に示したもので、第5図および第6
図は送信側の動作フローであり、第7図および第
8図は受信側の動作フローである。
Figures 5 to 8 are flowcharts showing the above operations in more detail.
The figure shows an operational flow on the transmitting side, and FIGS. 7 and 8 show operational flows on the receiving side.

第5図に示すメインフローでは、送信側の位相
信号送出時間(CCITTでは(s)±0.5)を監視
しており、この時間がタイムオーバとなつたらモ
デム7に対して信号送出停止命令を出す。
In the main flow shown in Figure 5, the phase signal transmission time on the transmitting side ((s) ±0.5 in CCITT) is monitored, and when this time expires, a signal transmission stop command is issued to the modem 7. .

一方、受信側ではこの位相信号により同期整合
を行ない同期がとれればCFRを送信側に返送す
る。
On the other hand, the receiving side performs synchronization matching using this phase signal, and if synchronization is achieved, the CFR is returned to the transmitting side.

送信側では位相信号の送出が終つても同期保持
する必要があることから割込信号INT受付可と
しておき、常に第6図の割込フローを実行する。
受信側からのCFRが検出できた時点で送信側は
画データを送出するため、RAM5のLBFエリア
に読取部1で読んだ画データをS/P変換回路2
を介して貯える。
On the transmitting side, since it is necessary to maintain synchronization even after sending out the phase signal, the interrupt signal INT is enabled and the interrupt flow shown in FIG. 6 is always executed.
As soon as the CFR from the receiving side is detected, the sending side sends the image data, so the image data read by the reading unit 1 is transferred to the S/P conversion circuit 2 in the LBF area of the RAM 5.
Save through.

第5図のメインフローはフアクシミリデータが
LBFエリアに貯えられたことを監視し、データ
送出が可となつたとき、メツセージフラグをセツ
トし、第6図のモデム7に対するデータ送出フロ
ーに進む。
The main flow in Figure 5 is that facsimile data is
It monitors that the data has been stored in the LBF area, and when it becomes possible to send the data, it sets a message flag and proceeds to the data sending flow to the modem 7 in FIG.

即ち、第6図のフローでは、アドレスレジスタ
下位が0となつたとき、LBF1又はLBF2エリアの
1ラインのデータの送出が終了したので、LBF
エリアのフルFULLコントロール用のカウンタ
FULCNTから1を引き、次の割込でもう一方の
LBFエリアのデータを送出するため、アドレス
レジスタ上位70←→71の切り替えを行なう。
That is, in the flow shown in FIG. 6, when the lower address register becomes 0, transmission of one line of data in the LBF 1 or LBF 2 area is completed, so the LBF
Counter for full control of area
Subtract 1 from FULCNT and use the other one in the next interrupt.
To send the data in the LBF area, the upper address registers 70←→71 are switched.

フルカウンタFULCNTについては、本実施例
ではLBF1とLBF2エリア用として用いているの
で、カウンタのインクリメント、デイクリメント
によりバツフアフルのコントロールをしている。
即ちフルカウンタFULCNTが2より小さけれ
ば、LBFエリアにS/P変換回路2を介してデ
ータ入力し、フルカウンタFULCNTをインクリ
メントする。そしてFULCNT=2となればこの
処理は実行しない。一方、1ライン分のLBFエ
リアデータの送出が終ると、FULCNTをデイク
リメントし、再びフアクシミリデータ入力処理を
実行する。また、このとき副走査方向に原稿を移
動するジヨブも実行する。この場合、読取部1が
データを読み取る速度はモデム7が送出する速度
よりも当然のことながら速い。即ち、FULCNT
+1スピードの方がFULCNT−1スピードより
速く設定されている。
Since the full counter FULCNT is used for the LBF 1 and LBF 2 areas in this embodiment, buffer full is controlled by incrementing and decrementing the counter.
That is, if the full counter FULCNT is smaller than 2, data is input to the LBF area via the S/P conversion circuit 2, and the full counter FULCNT is incremented. If FULCNT=2, this process will not be executed. On the other hand, when transmission of one line of LBF area data is completed, FULCNT is decremented and facsimile data input processing is executed again. At this time, a job of moving the document in the sub-scanning direction is also executed. In this case, the speed at which the reading unit 1 reads data is naturally faster than the speed at which the modem 7 sends data. That is, FULCNT
+1 speed is set faster than FULCNT-1 speed.

フアクシミリデータをRAM5のLBFエリアに
ストアするフローにおいて、第4図のライン先頭
10バイトの同期区間は白レベルとするため、読み
取つたデータは白データに置換してLBF1エリア
の7028〜7031アドレス、LBF2エリアの7128〜
7131アドレスに貯える。
In the flow of storing facsimile data in the LBF area of RAM5, the beginning of the line in Figure 4
Since the 10-byte synchronization period is a white level, the read data is replaced with white data and sent to addresses 7028 to 7031 in the LBF 1 area and 7128 to 7128 in the LBF 2 area.
Store in 7131 address.

また、このフアクシミリデータをLBFエリア
に貯えるジヨブは割込信号INTより優先度の低
い割込フローで実施している。
Furthermore, the job of storing this facsimile data in the LBF area is executed using an interrupt flow that has a lower priority than the interrupt signal INT.

次に、受信時には、送信側より送出される位相
信号はモデム7で復調され、P/S−S/P変換
回路6からCPU3に取り込まれる。これを第7
図に示すメインフローで位相信号が正常か否かチ
エツクする。即ち、第7図のメインフローで
CPU3はP/S−S/P変換回路6からデータ
を1バイト取り出すと、次にP/S−S/P変換
回路6がFULLとなるのは8/RMDMCKの時間
となるので、第3図の復調出力のt0、τ0、T0期間
の時間チエツクに用いることができる。この復調
出力の立上り又は立下りの変化点をサーチしてそ
のポイントに受信側記録装置の有効記録域から決
まるLBFエリアアドレスをワーキング(WK)エ
リア内にセツトする。そして、割込信号INTを
許可すると、第8図の受信割込フローで復調デー
タをLBF1エリアに取り込む。このとき、最初の
割込では先にWKエリアにセツトしたLBF1アド
レスに復調データがセツトされる。以下、割込信
号INT発生毎にLBF1アドレスがインクリメント
されていく。
Next, during reception, the phase signal sent from the transmitting side is demodulated by the modem 7 and taken into the CPU 3 from the P/S-S/P conversion circuit 6. This is the seventh
In the main flow shown in the figure, it is checked whether the phase signal is normal. That is, in the main flow of Figure 7
When the CPU 3 extracts one byte of data from the P/S-S/P conversion circuit 6, the next time the P/S-S/P conversion circuit 6 becomes FULL is at the time of 8/RMDMCK, as shown in Figure 3. It can be used to check the time of t 0 , τ 0 , and T 0 period of the demodulated output. The changing point of the rising or falling edge of this demodulated output is searched, and the LBF area address determined from the effective recording area of the receiving side recording device is set at that point in the working (WK) area. Then, when the interrupt signal INT is enabled, the demodulated data is taken into the LBF 1 area in the reception interrupt flow shown in FIG. At this time, in the first interrupt, demodulated data is set to the LBF 1 address previously set in the WK area. Thereafter, the LBF 1 address is incremented every time the interrupt signal INT occurs.

受信側のLBFエリアは前述したように、記録
装置で決まる線密度から162バイトとしてある。
即ち、割込信号INTが162回発生し、162回LBF1
アドレスがインクリメントされると元に戻る。こ
こで、LBF1のスタートアドレスに更新するため、
送信時同様の操作をしている。即ち、位相信号送
信中は本実施例ではLBF1エリアのみを用いて
LBF1のアドレス705E〜70FFを割込信号INTが
発生する毎にインクリメントしてLBF1アドレス
が70FFから7100へ変化するとき、即ち、LBF1
ドレスの下位が00となつたとき、また始めの
705Eアドレスに更新している。このように、
LBFアドレスをループ状にコントロールするこ
とにより同期保持が可能となる。
As mentioned above, the LBF area on the receiving side is set to 162 bytes due to the linear density determined by the recording device.
That is, the interrupt signal INT occurs 162 times, and LBF 1 occurs 162 times.
It returns when the address is incremented. Here, to update to the start address of LBF 1 ,
The same operation is performed when sending. That is, during phase signal transmission, only one LBF area is used in this embodiment.
When the LBF 1 address changes from 70FF to 7100 by incrementing the addresses 705E to 70FF of LBF 1 every time the interrupt signal INT is generated, that is, when the lower part of the LBF 1 address becomes 00,
Updated to 705E address. in this way,
Synchronization can be maintained by controlling the LBF address in a loop.

LBF1に位相信号の復調データが貯えられたの
ち、第7図のメインフローで同期整合チエツクの
ため、LBF1の所定のアドレスに位相信号復調デ
ータがストアされているかチエツクして同期整合
チエツクを行なう。同期整合が失敗の場合は割込
信号INTを不許可にして再び最初から同期整合
をやり直す。
After the phase signal demodulation data is stored in LBF 1 , in the main flow of Figure 7, a synchronization check is performed by checking whether the phase signal demodulation data is stored at a predetermined address in LBF 1 . Let's do it. If the synchronous matching fails, the interrupt signal INT is disabled and the synchronous matching is restarted from the beginning.

同期整合が成功すれば、位相信号の終りを待つ
て、同期成功のCFRを送信側に返送する。
If synchronization is successful, it waits for the end of the phase signal and returns CFR indicating successful synchronization to the transmitting side.

その後、メツセージキヤリアが検出されると、
メツセージフラグを立て、第8図の割込フローを
メツセージ中フローに進める。このフローでは送
信時の割込フローと逆に1ライン分のデータを
LBFエリアに取り込むと、FULCNTをインクリ
メントする。
Then, when the message carrier is detected,
The message flag is set and the interrupt flow shown in FIG. 8 is advanced to the message-in-progress flow. In this flow, one line of data is sent in the opposite direction to the interrupt flow during transmission.
When it is imported into the LBF area, FULCNT is incremented.

このメツセージフローでは、LBF1エリアと
LBL2エリアを交互に切り替えて使用する。この
各々のバツフアも162バイトで構成されており、
割込信号INT発生毎にLBFアドレスをインクリ
メントして、例えばLBF1アドレスが70FFから
7100となつたとき、LBF1はFULLとなつたので、
FULCNTをインクリメントする。そして、次の
LBF2エリアにアドレスを変更する。即ち、次の
割込信号INT発生でLBF2エリアのスタートアド
レス751EとなるようWKエリアにセツトする。
LBF2エリアもFULLとなつたらFULCNTをイン
クリメントしてLBF1のスタートアドレスをセツ
トする。このようにLBF1エリアとLBF2エリアの
アドレスをループ状にコントロールすることによ
り、同期保持が可能となる。
In this message flow, LBF 1 area and
Use the LBL 2 areas alternately. Each buffer also consists of 162 bytes,
The LBF address is incremented every time the interrupt signal INT occurs, and for example, the LBF 1 address starts from 70FF.
When it reached 7100, LBF 1 became FULL, so
Increment FULCNT. And then the next
Change address to LBF 2 area. That is, it is set in the WK area so that it becomes the start address 751E of the LBF 2 area when the next interrupt signal INT occurs.
When the LBF 2 area also becomes FULL, increment FULCNT and set the start address of LBF 1 . By controlling the addresses of the LBF 1 area and LBF 2 area in a loop in this way, synchronization can be maintained.

また、メツセージフローではAGC回路を第3
図のt0時間中の搬送波でAGCを動作させるため
のキードAGC動作を行なうため、LBFアドレス
の所定のアドレスでキードAGCコントロール端
子をON、OFFしている。
In addition, in the message flow, the AGC circuit is
In order to perform keyed AGC operation to operate AGC using the carrier wave during time t0 in the figure, the keyed AGC control terminal is turned on and off at a predetermined LBF address.

更に、受信割込フローにおいて、LBFエリア
の所定のアドレスで出力ポート11をON、OFF
してオシロスコープ等で同期信号の監視ができる
ようにしている。
Furthermore, in the reception interrupt flow, output port 11 is turned ON and OFF at a predetermined address in the LBF area.
This allows the synchronization signal to be monitored using an oscilloscope, etc.

尚、上記実施例ではLBFアドレスコントロー
ルで説明したが、RAMエリアに同期カウンタエ
リアを設け、このカウンタの値をループ状にコン
トロールするようにしても同様に実施できる。
Although the above embodiment has been explained using LBF address control, it can be similarly implemented by providing a synchronous counter area in the RAM area and controlling the value of this counter in a loop.

以上のように本発明によれば、LBF機能を
RAMエリアにもたせること、ビツト分解クロツ
クにより所定のビツト毎に割り込みを発生させ、
これによりRAM上のLBFアドレスをループ状に
してコントロールすることにより、同期信号の発
生および保持が回路部品点数を極少にして行なう
ことができる。また、受信時に復調データを1バ
イト毎にチエツクしているので、回線上のノイズ
等により復調信号が乱れても同期整合のポイント
が適確に検出できるため、同期整合を確実に行な
うことができるようになる。
As described above, according to the present invention, the LBF function is
The bit resolution clock generates an interrupt for each predetermined bit.
By controlling the LBF address on the RAM in a loop, the synchronization signal can be generated and held with a minimum number of circuit components. In addition, since the demodulated data is checked for each byte during reception, even if the demodulated signal is disturbed by noise on the line, the point of synchronization matching can be detected accurately, so synchronization matching can be performed reliably. It becomes like this.

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

第1図は本発明の一実施例に係わるフアクシミ
リ装置のブロツク構成図、第2図はCCITT G
規格におけるフアクシミリ伝送手順の時間経過
図、第3図はCCITT G規格における位相信号
波形図、第4図は第3図の位相信号を発生させる
ためのLBFアドレスデータ説明図、第5図〜第
8図は第1図の動作フローで、第5図a,bは送
信時のメインフローチヤート、第6図a,bは送
信時の割込フローチヤート、第7図a,bは受信
時のメインフローチヤート、第8図は受信時の割
込フローチヤートである。 1……読取部、2……S/P変換回路、3……
CPU、4……ROM、5……RAM、6……P/
S−S/P変換回路、7……モデム、8……
NCU、9……P/S変換回路、10……記録部、
11……出力ポート、12……クロツク発生回
路。
Fig. 1 is a block diagram of a facsimile device according to an embodiment of the present invention, and Fig. 2 is a block diagram of a facsimile device according to an embodiment of the present invention.
Figure 3 is a phase signal waveform diagram according to the CCITT G standard. Figure 4 is an explanatory diagram of LBF address data for generating the phase signal in Figure 3. Figures 5 to 8 The figure shows the operation flow of Figure 1. Figures 5a and b are the main flowcharts when transmitting, Figures 6a and b are the interrupt flowcharts when transmitting, and Figures 7a and b are the main flowcharts when receiving. Flowchart FIG. 8 is an interrupt flowchart at the time of reception. 1... Reading section, 2... S/P conversion circuit, 3...
CPU, 4...ROM, 5...RAM, 6...P/
S-S/P conversion circuit, 7...Modem, 8...
NCU, 9...P/S conversion circuit, 10...recording section,
11...Output port, 12...Clock generation circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 マイクロコンピユータのメモリに1ライン毎
の画データを順番に貯えるラインバツフアメモリ
を設け、モデムとの間で送受画データの受授を行
なうフアクシミリの独立同期伝送方式において、
送信時にはメツセージ送出前そのラインバツフア
エリアに同期信号を入れてその読み出しアドレス
を循環することにより、一定周期で同期信号を送
出する一方、受信時にはその周期信号を受けて前
記ラインバツフアエリアに書き込むべきアドレス
を検出し、そのアドレスから書き込みアドレスを
循環保持することにより、以後、送信側との同期
状態を維持することを特徴とする独立同期伝送方
式。
1. In an independent synchronous transmission system for facsimile in which a line buffer memory is provided in the memory of a microcomputer to sequentially store image data for each line, and image data is sent and received from a modem,
When transmitting a message, a synchronization signal is put into the line buffer area before sending the message, and the read address is circulated to send out the synchronization signal at a constant cycle, while when receiving the message, the synchronization signal is received and written into the line buffer area. An independent synchronous transmission method characterized by detecting a target address and cyclically holding a write address from that address to thereafter maintain a synchronized state with the transmitting side.
JP57155278A 1982-09-08 1982-09-08 Independent synchronous transmission method Granted JPS5945764A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57155278A JPS5945764A (en) 1982-09-08 1982-09-08 Independent synchronous transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57155278A JPS5945764A (en) 1982-09-08 1982-09-08 Independent synchronous transmission method

Publications (2)

Publication Number Publication Date
JPS5945764A JPS5945764A (en) 1984-03-14
JPS6326584B2 true JPS6326584B2 (en) 1988-05-30

Family

ID=15602401

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57155278A Granted JPS5945764A (en) 1982-09-08 1982-09-08 Independent synchronous transmission method

Country Status (1)

Country Link
JP (1) JPS5945764A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6455846U (en) * 1987-09-28 1989-04-06
JPH0298826U (en) * 1989-01-20 1990-08-07

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6455846U (en) * 1987-09-28 1989-04-06
JPH0298826U (en) * 1989-01-20 1990-08-07

Also Published As

Publication number Publication date
JPS5945764A (en) 1984-03-14

Similar Documents

Publication Publication Date Title
JPS6346628B2 (en)
EP0083247B1 (en) Facsimile data converting system
US4703364A (en) Processor synchronous image scanner controlling method
JPS6326584B2 (en)
JPS6326588B2 (en)
AU715404B1 (en) Image capture and transmission system
EP0500469B1 (en) Synchronisation circuit for a demodulation device and a communication processing apparatus provided with same
US5446554A (en) Reader for a facsimile apparatus which carries out the read apparatus in accordance with a vacant capacity of a buffer
JPS5945767A (en) White line skip transmission system
US4584611A (en) Method and apparatus for driving a CCD image sensor
JP3482994B2 (en) Time code signal reader
KR940008580B1 (en) Teletext Digital Processing Unit
JPS58104566A (en) Recorder automatic stop system in facsimile communication
JPS6341270B2 (en)
JP2526201B2 (en) Recording controller
KR930011360B1 (en) Frame Detection Circuit of Electronic Switch
JP2989980B2 (en) Synchronization pull-in method and device
JPS6253071A (en) Facsimile equipment
JPH07123185A (en) Picture processing unit
JPH05137054A (en) External synchronous camera controller
JPH0738859A (en) Sampling clock generating circuit of teletext data demodulating device
JPH0831950B2 (en) Facsimile transmitter
JPH0191570A (en) fax machine
JPS63204880A (en) Mh code signal decoding system
JPS6010846A (en) Communication control equipment