JPH0453334A - Modulator-demodulator - Google Patents

Modulator-demodulator

Info

Publication number
JPH0453334A
JPH0453334A JP2161391A JP16139190A JPH0453334A JP H0453334 A JPH0453334 A JP H0453334A JP 2161391 A JP2161391 A JP 2161391A JP 16139190 A JP16139190 A JP 16139190A JP H0453334 A JPH0453334 A JP H0453334A
Authority
JP
Japan
Prior art keywords
pattern
counting
signal
detecting
modulation
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
JP2161391A
Other languages
Japanese (ja)
Inventor
Yutaka Inoue
豊 井上
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2161391A priority Critical patent/JPH0453334A/en
Publication of JPH0453334A publication Critical patent/JPH0453334A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To allow a MODEM itself to detect the reception state without a control load of a terminal equipment side by detecting the transmission/reception of a prescribed pattern and the reception state of the pattern in the inside of the MODEM. CONSTITUTION:A MODEM 300 used for data transmission consists of a modulation section 301, a demodulation section 302, an analog processing section 303, a fixed pattern generating section 304, a selector 305, a pattern detector 306, an error number counter 307 and a comparator 308. Then the inside of the MODEM 300 can detect the transmission/reception of a prescribed pattern and the reception state of the pattern. Thus, the MODEM itself can detect the reception state without imposing a control load onto a terminal equipment side.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

本発明は固定パターンな送出及び検出可能な変復調装置
に関するものである。
The present invention relates to a fixed pattern transmitting and detectable modem.

【従来の技術】[Conventional technology]

従来の変復調装置(以下「モデム」と称す)を用いたデ
ータ伝送の代表的なものとして、ファクシミリ装置があ
る。この従来のファクシミリ装置の概略構成図を第5図
に示す。 第5図において、300は変調部301、復調部302
及びA/D変換やD/A変換等を行なうアナログ処理部
303から成るモデムであり、端末(この場合、詳しく
はファクシミリ本体の制御装置)310からの送信デー
タを変調し、回線320へ送出するとともに、回線32
0上のデータを復調し、受信データとして端末310へ
引き渡す構成となっている。 例えばこのファクシミリ通信では、CCI TT規格V
21.V27ter、V29というモデム(各々ビット
レート300  bps、 4800  bps。 9600bps)がCCITT規格T、30プロトコル
上で動作する。 第6図にこのT、30プロトコルの概要を示す。図中、
太線はトーナル信号、実線はV21(300bps)で
の信号、点線はV27ter又はV29を用いたメツセ
ージ伝送速度での信号を示す。 CNGは発呼トーン信号であり、これに対し、被呼側は
CED:被呼局識別信号で応答する。そして、V21を
用いたバイナリコード手順へ移り、被呼局は発呼局へ被
呼側の端末の能力を示すDIS (ディジタル識別信号
)を送り、発呼側はDC3(ディジタル命令信号)で応
答すると共にCCITT  V規格で定められたトレー
ニング信号とTCP (1−レーニングチェック信号)
をV27ter又はV29で送る。被呼側はTCP信号
でチエツクを行ない、チエツク結果が良好であった場合
発呼側へCFR(受信準備確認)信号を返し、実際に1
ペ一ジ分のメツセージがトレーニング付で発呼側より送
信される。 さらに発呼側で送信すべきメツセージが無くなった場合
にはEOP (手順終了)信号を送信し、被呼側はMC
F(メツセージ確認信号で応答し、発呼側はこれに対し
DCN (切断命令)信号を送出し実際に回線断される
。 例えば、このT、30プロトコルに於いて、TCP(ト
レーニングチエツク)信号は、第5図に示す端末310
が予めモデム300に対して該モデムがV27ter又
はV29モードで動作するよう設定し、然る後に端末3
10から設定送信信号として送られる全て°“0°“の
信号である。端末310からの送信信号としてTCP信
号を受けとったモデム300は、この送信信号を変調部
So1で変調し、アナログ処理部303で所定のアナロ
グ処理をした後向線320へ送信する。 又、同様にDIS信号等もモデム300が端末310か
らV21モードに設定される事を除けば同様の動作で信
号が送信される。 又、受信側においては、回線320上のデータをアナロ
グ処理部303で処理した後、モデム300の復調部3
02で復調され、受信データとして、端末310へ渡さ
れる。 この際、受信信号の識別(判別)等は、端末310で行
なわれる。
A facsimile machine is a typical example of data transmission using a conventional modem (hereinafter referred to as a "modem"). A schematic configuration diagram of this conventional facsimile machine is shown in FIG. In FIG. 5, 300 is a modulation section 301, a demodulation section 302
It is a modem consisting of an analog processing section 303 that performs A/D conversion, D/A conversion, etc., and modulates the transmission data from the terminal (in this case, more specifically, the control device of the facsimile main body) 310 and sends it to the line 320. Along with line 32
The configuration is such that the data on 0 is demodulated and delivered to the terminal 310 as received data. For example, in this facsimile communication, CCI TT standard V
21. The V27ter and V29 modems (bit rates 300 bps, 4800 bps, and 9600 bps, respectively) operate on the CCITT standard T.30 protocol. FIG. 6 shows an outline of this T,30 protocol. In the figure,
The thick line shows a tonal signal, the solid line shows a signal at V21 (300 bps), and the dotted line shows a signal at a message transmission rate using V27ter or V29. CNG is a calling tone signal, to which the called side responds with CED: called station identification signal. Then, the process moves to a binary code procedure using V21, and the called station sends a DIS (digital identification signal) indicating the capabilities of the called terminal to the calling station, and the calling station responds with DC3 (digital command signal). At the same time, the training signal specified by the CCITT V standard and TCP (1-Learning check signal)
Send by V27ter or V29. The called side checks the TCP signal, and if the check result is good, it returns a CFR (reception readiness confirmation) signal to the calling side, and actually
The calling party sends a page worth of messages with training included. Furthermore, if the calling side runs out of messages to send, it sends an EOP (end of procedure) signal, and the called side uses the MC.
In response to this, the calling party sends a DCN (disconnect command) signal and the line is actually disconnected.For example, in this T,30 protocol, the TCP (training check) signal is , the terminal 310 shown in FIG.
sets the modem 300 in advance to operate in V27ter or V29 mode, and then
10 as a setting transmission signal. When the modem 300 receives the TCP signal as a transmission signal from the terminal 310, the modulation section So1 modulates the transmission signal, and the analog processing section 303 performs predetermined analog processing on the signal, and transmits it to the backward line 320. Similarly, signals such as the DIS signal are transmitted in the same manner except that the modem 300 is set to the V21 mode from the terminal 310. On the receiving side, after the data on the line 320 is processed by the analog processing unit 303, the data is processed by the demodulation unit 3 of the modem 300.
02 and is passed to the terminal 310 as received data. At this time, the terminal 310 performs identification (discrimination) of the received signal.

【発明が解決しようとしている課題】[Problem to be solved by the invention]

以上の従来例、特にV27ter、V29モデムを用い
たTCP信号の送・受を行なう時、送信側端末は、送信
データとして連続” o ”を送信し、受信側端末は受
信データとして“°0°°データを受けとる。この時、
受信側ではこの受信TCPデータを用いて受信チエツク
を行なう。この従来の受信チエツクの概要を以下に説明
する。 すなわち、モデム300が完全に動作し、回線302で
の歪等の悪化要素の影響を受けない状態まで設定されて
いれば、モデム300から端末310への受信信号はT
CP信号信号定常0゛を保持する。しかし、モデム30
0が完全な状態になっていない場合には、受信エラーと
して受信信号に°“1 ”レベルが現われる。このため
、この゛°1°°レベルの数をカウントし、実際に受信
可能な状態かどうかを判断している訳である。 尚、TCP信号は実際には約1.5秒の間過受信される
。 この様に、TCP信号の受信の場合、特に端末310受
信側に於いて、受信信号の゛1°°レベルを検出するエ
ラーチエツク機能が必要となる。しかし、端末側では、
ファクシミリ本体の制御(例えば画像読取り制御、画像
出力制御等)を担当しており、本体側で上記TCP信号
を作成し、モデムを動作させるとすると、本体側の負荷
が高(なり、かつ面倒な操作を必要とし、負担を増大さ
せる元になっていた。
In the conventional example described above, especially when transmitting and receiving TCP signals using V27ter and V29 modems, the transmitting terminal transmits a continuous "o" as the transmission data, and the receiving terminal transmits "°0°" as the received data. ° Receive data. At this time,
The receiving side performs a reception check using this received TCP data. An outline of this conventional reception check will be explained below. That is, if the modem 300 is fully operational and is set to a state where it is not affected by deteriorating factors such as distortion on the line 302, the received signal from the modem 300 to the terminal 310 is T.
The CP signal is maintained at a steady state of 0. However, modem 30
If the 0 is not in a complete state, a ``1'' level appears in the received signal as a reception error. For this reason, the number of these ゛°1°° levels is counted to determine whether or not reception is actually possible. Note that the TCP signal is actually over-received for about 1.5 seconds. In this way, when receiving a TCP signal, an error check function is required to detect the 1° level of the received signal, especially on the receiving side of the terminal 310. However, on the terminal side,
I am in charge of controlling the main body of the facsimile machine (for example, image reading control, image output control, etc.), and if I create the above TCP signal on the main body side and operate the modem, the load on the main body side is high (and troublesome). This required manual operation, which increased the burden.

【課題を解決するための手段] 本発明は上述の課題を解決することを目的として成され
たもので、上述の課題を解決する一手段として以下の構
成を備える。 即ち、データ伝送に用いる変復調装置であって、複数種
類の固定パターンの1つを選択するパターン選択手段と
、該パターン選択手段で選択゛された固定パターンを発
生する固定パターン発生手段と、該固定パターン発生手
段での発生パターンと外部入力される送信信号の一方を
選択して任意の期間送信する送信手段と、受信側より送
信されるべき固定パターンと実際に受信側より送信され
たパターンとのマツチングを図る固定パターン検出手段
と、マツチング結果のエラーを計数する計数手段と、該
計数手段での計数エラーを所定閾値と比較する比較手段
と、該比較手段での比較結果により受信可能状態を検出
する検出手段とを備える。 または、複数種類の固定パターンが選択可能な固定パタ
ーン発生手段と、該固定パターン発生手段での発生パタ
ーンと受信データパターンとの一致を検出する一致検出
手段と、該一致検出手段の不一致回数を計数する計数手
段と、該計数手段での計数値を所定閾値と比較する比較
手段と、該比較手段での比較結果により受信状態を検出
する検出手段と、前記比較手段での比較閾値を任意の値
に設定可能な設定手段とを備える。 あるいは、複数種類の固定パターンが選択可能な固定パ
ターン発生手段と、該固定パターン発生手段での発生パ
ターンと受信データパターンとの一致を検出する一致検
出手段と、該一致検出手段の不一致回数を計数する計数
手段と、該計数手段での計数値を所定閾値と比較する比
較手段と、該比較手段での比較結果により受信状態を検
出する検出手段と、前記計数手段での計数時間を制御す
る制御手段とを備える。 【イ乍用】 以上の構成において、変復調装置内部で所定パターンの
送受信、及び当該パターンの受信状態を検出可能とする
ことにより、端末側の制御負担なく、変復調装置独自で
受信状態の検出を可能としたものである。
[Means for Solving the Problems] The present invention has been made for the purpose of solving the above-mentioned problems, and includes the following configuration as a means for solving the above-mentioned problems. That is, the modulation/demodulation device used for data transmission includes pattern selection means for selecting one of a plurality of types of fixed patterns, fixed pattern generation means for generating the fixed pattern selected by the pattern selection means, and fixed pattern generation means for generating the fixed pattern selected by the pattern selection means. A transmitting means that selects either the pattern generated by the pattern generating means or the externally inputted transmission signal and transmits it for an arbitrary period, and a fixed pattern to be transmitted from the receiving side and a pattern actually transmitted from the receiving side. Fixed pattern detection means for matching, counting means for counting errors in the matching results, comparison means for comparing the counting errors in the counting means with a predetermined threshold, and detecting a receivable state based on the comparison result of the comparison means. and a detecting means for detecting. Alternatively, a fixed pattern generation means capable of selecting a plurality of types of fixed patterns, a coincidence detection means for detecting a match between a pattern generated by the fixed pattern generation means and a received data pattern, and a count of the number of mismatches between the coincidence detection means. a comparing means for comparing the count value of the counting means with a predetermined threshold; a detecting means for detecting the reception state based on the comparison result of the comparing means; and setting means that can be set. Alternatively, fixed pattern generation means from which a plurality of types of fixed patterns can be selected, a coincidence detection means for detecting a match between a pattern generated by the fixed pattern generation means and a received data pattern, and the number of mismatches between the coincidence detection means are counted. a comparing means for comparing a count value of the counting means with a predetermined threshold value, a detecting means for detecting a reception state based on a comparison result of the comparing means, and a control for controlling a counting time of the counting means. and means. [For use] With the above configuration, by making it possible to transmit and receive a predetermined pattern within the modem and detect the reception status of the pattern, it is possible to detect the reception status by the modem without any control burden on the terminal side. That is.

【実施例】【Example】

以下、図面を参照して本発明に係る一実施例を詳細に説
明する。 第1図は本発明に係る一実施例の概略を示すモデムの構
成図、第2図は本実施例の動作を表わすフローヂャート
である。 第1図に於いて第5図と同様構成には同一番号を付し、
詳細説明を省略する。 本実施例において、従来と異なるのは、データ送信側に
おいては、ホスト装置1ooよりのパターン選択信号に
従って、複数の保持固定パターン中の選択固定パターン
を出力する固定パターン発生器304、及びホスト装置
100よりのチエツク信号オンの時には固定パターン発
生器304よりの出力信号を、ホスト装置100よりの
チエツク信号オフの時にはホスト装置100よりの送信
信号を選択して変調部301へ入力するセレクタ305
が付加されている点であり、受信側においては、復調3
02よりの出力復調パターンと固定パターン発生器30
4よりの出力固定パターンとの同期を図り、さらに両パ
ターンを比較して両パターンの不一致、即ち、エラービ
ットが検出された場合にエラー発生信号を出力するパタ
ーン検出器306、及び、パターン検出器306のエラ
ー発生信号をカウントするエラー数カウンタ307、並
びに、エラー数カウンタ307のカウントエラー数と、
予め決められたホスト装置100より与えられる閾値と
を比較し、その結果、エラー数カウンタ307のカウン
トエラー数が少なければ受信品質信号としての受信良信
号を、エラー数が多ければ受信品質信号としての受信悪
信号を出力する比較器308が付加されている点である
。 次に以上の構成を備える本実施例装置における通信制御
を第2図のフローチャートを用いて詳細に説明する。 本実施例装置に送信要求がなされ相手装置が発呼された
場合、または回線320よりの被呼があった場合には第
2図の制御に進む。 まずステップS1で送信要求か、または被呼があり、受
信要求が発生しているか否かを調べる。 ホスト装置100からの送信指示があり送信状態の場合
にはステップS2に進み、変調部301、及び復調部3
02の設定動作モード(例えばV21、V27ter、
V29等の動作モード)の設定、固定パターン発生器3
04へのパターン選択信号の送出による発生パターンの
選択等の送信初期化処理が行なわれる。このパターン選
択信号は、例えば2本の信号線から成り、ホスト装置1
00よりの2ビットの信号の組み合わせで第3図に示す
如くの固定パターンを選択する様にすれば良い。 なお、第3図における信号線“’1.0”時の511ビ
ットの擬似ランダムパターンはスクランブラ等で使用さ
れる9段のシフトレジスタと排他的論理和回路から構成
される。2047ビットの擬似ランダムパターンの場合
も同様である。これらの構成については公知であるため
、詳細説明を省略する。 又、モデム300内ではアナログ処理部303を除いて
は全んどの場合、ディジタルシグナルプロセッサ(DS
P)等を用いたソフトウェアで構成される事が多い。 以上の様に、ステップS2の送信初期化処理が終了する
と、ステップS3、ステップs4で送信すべきデータが
送信可能状態になるまでトレーニング信号(T、30プ
ロトコルのTCP信号等)を送信する。そして、送信可
能となったならばステップS4よりステップS5に進み
、ホスト装置100よりのチエツク信号がオンかまたは
オフかを調べる。チエツク信号がオンの場合にはステッ
プS6に進み、固定パターン発生器304を付勢すると
ともにセレクタ304は固定パターン発生器304より
の出力固定パターンを選択して変調部301に出力する
。そしてステップSIOに進む。 一方、チエツク信号がオフの場合にはステップS5より
ステップS8に進み、セレクタ305はホスト装置10
0よりの送信信号を選択し生変調部301に出力する。 そしてステップSIOに進む。 ステップSIOでは、変調部301が入力信号に所定の
変調処理を施し、アナログ処理部303に送り、ここで
、所定の対応アナログ信号に変換されて回線320に出
力され、発呼先相手装置に送信される。そしてステップ
Sllでデータ送信が終了したか否かを調べ、まだ送る
べきデータのある場合にはステップS5に戻り、データ
の送信を続行する。ここで、データの送信が終了した場
合にはステップSILよりステップS15に進み、後処
理を実行するとともに発呼回線を復旧して処理を終了す
る。 なお以上の説明における、送信時において、T、30プ
ロトコルのTCF信号の送出に際し、ホスト装置100
はステップS2のモデム初期化処理時にはオール“0°
°パターンを選択して出力し、トレーニング信号の出力
タイミングであるTCP信号期間中、チエツク信号をオ
ンとすれば良い。 次に回線320よりの被呼が検出された受信モード時の
制御を説明する。 回線320よりの被呼が検出され、ホスト装置100に
より受信モードに設定された場合にはステップS1より
ステップS20に進み、ステップS2同様変調部301
、及び復調部302の設定動作モード(例えばV21.
V27ter。 V2.9等の動作モード)の設定、固定パターン発生器
304へのパターン選択信号の送出による固定パターン
の選択等の受信初期化処理が行なわれる。なお、この時
、比較器308に対する受信エラー信号の閾値も初期化
して出力する。これは、例えば1本または複数本の信号
線により、前記固定パターン発生器304での出力固定
パターンの選択と同様に、比較器308に第3図と同様
の閾値テーブルを具備し、上記ホスト装置100よりの
入力ビットパターンによりこの閾値テーブルを検索して
閾値を決定するか、あるいは直接ホスト装置100より
の閾値データの出力として設定してやれば良い。 次にステップS21、ステップS22で実際にデータ受
信可能状態になるまで相手装置よりのトレーニング信号
(T、30プロトコルのTCF信号等)の受信を行なう
。そして、受信可能状態になるとステップS22よりス
テップS23に進み、回線320上の相手よりの送信デ
ータをアナログ処理部303で受は取り、所定のアナロ
グ処理を実行し、復調部302で復調処理を行なう。そ
して続(ステップS24でホスト100よりのチエツク
信号のオン/オフをチエツクする。チエツク信号がオン
の場合にはステップS25に進み、固定パターン発生器
304を動作させ、パターン検出器306でこの固定パ
ターン発生器304よりの出力固定パターンと復調出力
とのバクーンマッチング(比較)を行なう。そして、マ
ツチングがとれないパターンが有った場合(一部ビット
が受信誤りを起こしている場合)にはエラー信号を送出
する。このため、エラーカウンタ307はステップ32
6でこのエラー信号がきた場合にはこれをカウントアツ
プする。このため、比較器308はステップS27で先
のステップS20で設定された閾値とエラーカウンタ3
07のカウント値とを比較する。そしてステップ328
で比較結果をホスト装置100に出力する。比較結果は
、エラーカウンタ307のカウント値が設定闇値以上の
時には、ホスト装置100へ受信品質信号として受信状
悪態を示す信号、例えば゛°l゛°レベル信号を出力し
、エラーカウンタ307のカウント値が設定閾値未満の
時には受信品質信号として受信状悪臭を示す信号、例え
ば゛°O°°レベル信号を出力する。そしてステップS
30に進み、データの受信が終了したか否かを調べ、デ
ータの受信が終了していなければステップ323に戻り
データ信号の受信処理を続行する。 一方、ステップS24でチエツク信号がオフの場合には
、ステップS35に進み、復調部302の出力信号をそ
のまま受信信号としてポスト装置100に送る様に制御
する。そしてステップS30に進む。 そしてステップS30においてデータの受信が終了した
場合にはステップS30よりステップS15に進み、送
信側装置との後処理等を実行した後接続回線320を復
旧して処理を終了する。 なお、受信時においても、ホスト装置100は送信時と
同様にステップS20の初期化処理時にはオール°“0
°°パターンを選択すればよい。そして、トレーニング
期間中、例えばT、30プロI・コルのTCP信号通信
時にはチエツク信号を単にオン状態にし、さらにモデム
300よりの受信の良否を示す信号のレベルを判断する
だけで良い。 以上説明したように本実施例によれば、モデム300内
部で所定パターンの送受信、及び当該パターンの受信状
態を検出可能とすることにより、端末側の制御負担なく
、変復調装置独自で受信状態の検出を可能としたもので
ある。
Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram of a modem schematically showing an embodiment of the present invention, and FIG. 2 is a flowchart showing the operation of this embodiment. In Figure 1, the same components as in Figure 5 are given the same numbers,
Detailed explanation will be omitted. This embodiment differs from the conventional one in that, on the data transmitting side, a fixed pattern generator 304 outputs a selected fixed pattern from among a plurality of held fixed patterns in accordance with a pattern selection signal from the host device 1oo, and a host device 100 A selector 305 selects the output signal from the fixed pattern generator 304 when the check signal is on, and selects the transmission signal from the host device 100 when the check signal from the host device 100 is off, and inputs the selected signal to the modulation section 301.
is added, and on the receiving side, demodulation 3
Output demodulation pattern from 02 and fixed pattern generator 30
a pattern detector 306 that synchronizes with the output fixed pattern from 4, further compares both patterns, and outputs an error occurrence signal when a mismatch between the two patterns, that is, an error bit is detected; An error number counter 307 that counts the error occurrence signal of 306, and the number of errors counted by the error number counter 307,
The results are compared with a predetermined threshold value given by the host device 100, and as a result, if the number of errors counted by the error number counter 307 is small, the reception quality signal is determined as a reception quality signal, and if the number of errors is large, the reception quality signal is determined as a reception quality signal. The difference is that a comparator 308 that outputs a received bad signal is added. Next, communication control in the apparatus of this embodiment having the above configuration will be explained in detail using the flowchart of FIG. If a transmission request is made to the apparatus of this embodiment and the other party makes a call, or if there is a call from line 320, the process proceeds to the control shown in FIG. 2. First, in step S1, it is checked whether there is a transmission request or a received call and a reception request has occurred. If there is a transmission instruction from the host device 100 and it is in the transmission state, the process advances to step S2, and the modulation section 301 and the demodulation section 3
02 setting operation mode (e.g. V21, V27ter,
V29 etc. operation mode) settings, fixed pattern generator 3
Transmission initialization processing such as selection of a generated pattern by sending a pattern selection signal to 04 is performed. This pattern selection signal consists of, for example, two signal lines, and is
A fixed pattern as shown in FIG. 3 may be selected by a combination of 2-bit signals starting from 00. The 511-bit pseudo-random pattern when the signal line is "'1.0" in FIG. 3 is composed of a 9-stage shift register used in a scrambler, etc., and an exclusive OR circuit. The same holds true for the 2047-bit pseudo-random pattern. Since these configurations are well known, detailed explanation will be omitted. Furthermore, in all cases within the modem 300, except for the analog processing section 303, a digital signal processor (DS) is used.
It is often composed of software using software such as P). As described above, when the transmission initialization process in step S2 is completed, a training signal (TCP signal of T, 30 protocol, etc.) is transmitted in steps S3 and s4 until the data to be transmitted becomes ready for transmission. If transmission is possible, the process advances from step S4 to step S5, and it is determined whether the check signal from the host device 100 is on or off. If the check signal is on, the process advances to step S6, where the fixed pattern generator 304 is energized and the selector 304 selects the output fixed pattern from the fixed pattern generator 304 and outputs it to the modulation section 301. Then, proceed to step SIO. On the other hand, if the check signal is off, the process advances from step S5 to step S8, and the selector 305 selects the host device 10.
The transmission signal from 0 is selected and output to the raw modulation section 301. Then, proceed to step SIO. In step SIO, the modulation unit 301 performs predetermined modulation processing on the input signal and sends it to the analog processing unit 303, where it is converted into a predetermined corresponding analog signal, output to the line 320, and transmitted to the called destination device. be done. Then, in step Sll, it is checked whether data transmission has ended or not, and if there is still data to be sent, the process returns to step S5 to continue data transmission. Here, if the data transmission is completed, the process advances from step SIL to step S15, where post-processing is executed, the calling line is restored, and the process is ended. In addition, in the above explanation, at the time of transmission, when sending out the TCF signal of the T.30 protocol, the host device 100
is all “0°” during the modem initialization process in step S2.
° It is sufficient to select and output the pattern and turn on the check signal during the TCP signal period, which is the output timing of the training signal. Next, control in the receiving mode when a call from line 320 is detected will be explained. If a call from the line 320 is detected and the host device 100 sets the reception mode, the process advances from step S1 to step S20, and as in step S2, the modulation unit 301
, and the set operation mode of the demodulator 302 (for example, V21.
V27ter. Reception initialization processing such as setting the operating mode (such as V2.9) and selecting a fixed pattern by sending a pattern selection signal to the fixed pattern generator 304 is performed. Note that at this time, the threshold value of the reception error signal for the comparator 308 is also initialized and output. This is achieved by, for example, providing the comparator 308 with a threshold table similar to that shown in FIG. The threshold value may be determined by searching this threshold value table using an input bit pattern of 100, or it may be directly set as an output of threshold data from the host device 100. Next, in steps S21 and S22, a training signal (TCF signal of T, 30 protocol, etc.) is received from the partner device until it actually becomes ready to receive data. When the state is ready for reception, the process proceeds from step S22 to step S23, where the analog processing unit 303 receives and receives the transmission data from the other party on the line 320, performs predetermined analog processing, and demodulates the data at the demodulation unit 302. . Then, in step S24, the on/off status of the check signal from the host 100 is checked. If the check signal is on, the process advances to step S25, where the fixed pattern generator 304 is operated, and the pattern detector 306 detects the fixed pattern. Bakun matching (comparison) is performed between the fixed output pattern from the generator 304 and the demodulated output.If there is a pattern that cannot be matched (if some bits have received errors), an error signal is sent. Therefore, the error counter 307 sends out step 32.
When this error signal is received in step 6, it is counted up. Therefore, in step S27, the comparator 308 compares the threshold value set in the previous step S20 with the error counter 3.
Compare with the count value of 07. and step 328
The comparison result is output to the host device 100. As a result of the comparison, when the count value of the error counter 307 is equal to or higher than the set value, a signal indicating poor reception status, such as a ゛°l゛ level signal, is output to the host device 100 as a reception quality signal, and the error counter 307 counts. When the value is less than the set threshold, a signal indicating a bad odor in the received receipt, for example, a ゛°O°° level signal is output as a reception quality signal. and step S
Proceeding to step 30, it is checked whether or not data reception has been completed. If data reception has not been completed, the process returns to step 323 and continues the data signal reception process. On the other hand, if the check signal is off in step S24, the process proceeds to step S35, where the output signal of the demodulator 302 is controlled to be sent as a received signal to the post device 100 as it is. Then, the process advances to step S30. If the reception of data is completed in step S30, the process advances from step S30 to step S15, and after performing post-processing with the sending device, the connection line 320 is restored, and the process ends. Note that during reception, the host device 100 sets all zeros during the initialization process in step S20, as well as during transmission.
All you have to do is select the °° pattern. During the training period, for example, when communicating TCP signals of T and 30 protocols, it is sufficient to simply turn on the check signal and further judge the level of the signal indicating the quality of reception from the modem 300. As explained above, according to this embodiment, by making it possible to transmit and receive a predetermined pattern within the modem 300 and detect the reception state of the pattern, the modem 300 can detect the reception state by itself without any control burden on the terminal side. This made it possible.

【第2実施例】 以上の説明は、トレーニング期間中、例えばT、30プ
ロトコルのTCP信号通信時は常時チエツク信号をオン
状態にし、他の制御は行なわずにモデム300よりの受
信の良否を示す信号のレベルを判断する例について説明
したが、例えばTCP信号通信においては、信号事態は
約1.5秒間であるが、受信品質の評価はこの1.5秒
間全ての間の受信状態を評価するのではなく、両サイド
のモデムが安定動作に入った後の1秒間についてのみエ
ラーチエツクするのが望ましい。 受信品質の評価を後半の1秒間とする本発明に係る第2
実施例を以下に説明する。第2実施例においては、相手
装置よりのキャリヤ信号が検出されてから(CD信号オ
ンより)例えば0.5秒間の間エラーカウンタ306の
カウンタリセット信号(第1図に鎖線で示すカウンタリ
セット信号)をオンとしてエラーカウンタ307をリセ
ット状態に保てばよい。このように、カウンタリセット
信号を制御することにより、回線受信品質の評価期間を
任意に制御することができる。
[Second Embodiment] In the above explanation, during the training period, for example, during TCP signal communication using the T, 30 protocol, the check signal is always turned on, and other controls are not performed to indicate the quality of reception from the modem 300. We have explained an example of determining the signal level, but for example, in TCP signal communication, the signal state lasts about 1.5 seconds, and the evaluation of reception quality evaluates the reception state during the entire 1.5 seconds. Instead, it is desirable to check for errors only for one second after the modems on both sides enter stable operation. A second method according to the present invention in which the reception quality is evaluated in the second half of the second second period.
Examples will be described below. In the second embodiment, a counter reset signal of the error counter 306 (counter reset signal shown by a chain line in FIG. 1) is used for, for example, 0.5 seconds after the carrier signal from the partner device is detected (from the CD signal ON). The error counter 307 can be kept in a reset state by turning on the error counter 307. In this way, by controlling the counter reset signal, the evaluation period of line reception quality can be arbitrarily controlled.

【第3実施例】 以上の実施例においては、エラー計数開始時刻制御手段
として、エラーカウンタのクリア信号を外部から制御し
て受信品質の評価期間を設定したが、本発明は以上の例
に限定されるものではな(、モデム300内に別途タイ
マ回路を設け、このタイマ回路の初期値を外部より前記
比較器308の閾値テーブルと同様の評価期間テーブル
を具備し、上記ホスト装置100よりの入力ビットパタ
ーンによりこの評価期間テーブルを検索してタイマ回路
の設定タイマ値を設定してやれば良い。 このように構成したモデム装置300の受信側回路構成
を第4図に示す。第4図においては、第1図の構成に比
し、カウンタクリア信号に変え、タイマ初期値設定信号
がホスト装置100より出力され、この信号を受けるタ
イマ回路309が新たに附加された構成である。 第4図において、ホスト装置100は第2図ステップS
20の初期化処理において、タイマ初期値設定信号を出
力して評価期間テーブルのタイマ回路309への設定タ
イマ値の選択を行なう。そして、相手装置よりのキャリ
ヤ信号(CD信号)が検出されると該タイマ回路309
のタイマをスタートさせる。そして、このタイマ回路3
09がタイムアツプを起こし、設定タイマ時間が経過す
るとタイムアツプ信号をエラーカウンタ307に出力す
る。このタイムアツプ信号は第1図のカウンタクリア信
号に対応し、タイムアツプ信号オンでカウンタリセット
解除となるものである。 以上の様に制御することにより、予めタイマ回路309
への設定タイマ値を任意の値に設定することが可能とな
り、結果として受信品質の評価期間を任意の期間に制御
できることになる。 この場合には、更に、外部端末装置であるホスト装置1
00でCD信号オンからの時間を計数する必要も無くな
り、更なる接続ホスト装置の負担が軽減される効果が得
られる。
[Third Embodiment] In the above embodiments, the clear signal of the error counter is externally controlled as the error counting start time control means to set the reception quality evaluation period, but the present invention is limited to the above example. (A separate timer circuit is provided in the modem 300, and the initial value of this timer circuit is input from the outside by an evaluation period table similar to the threshold table of the comparator 308, and input from the host device 100.) All you have to do is search this evaluation period table based on the bit pattern and set the set timer value of the timer circuit.The receiving side circuit configuration of the modem device 300 configured in this way is shown in FIG. 1, a timer initial value setting signal is output from the host device 100 instead of the counter clear signal, and a timer circuit 309 that receives this signal is newly added. The apparatus 100 is shown in step S in FIG.
In the initialization process 20, a timer initial value setting signal is output to select a timer value to be set in the timer circuit 309 of the evaluation period table. When a carrier signal (CD signal) from the partner device is detected, the timer circuit 309
start the timer. And this timer circuit 3
09 causes a time-up, and when the set timer time elapses, a time-up signal is output to the error counter 307. This time-up signal corresponds to the counter clear signal shown in FIG. 1, and the counter reset is canceled when the time-up signal is turned on. By controlling as described above, the timer circuit 309
It becomes possible to set the setting timer value to an arbitrary value, and as a result, the reception quality evaluation period can be controlled to an arbitrary period. In this case, the host device 1, which is an external terminal device,
00, there is no need to count the time since the CD signal was turned on, and the effect of further reducing the burden on the connected host device can be obtained.

【他の実施例】[Other Examples]

前述実施例に於いてはモデムの使用形態として、ファク
シミリ装置を考え、特にそのT、30プロトコルにおけ
るTCP信号時に於ける本発明の有効性を述べたが、特
に本発明はこの形態に限る訳では無い。 特にTCF信号゛だけに着目すれば固定パターンはオー
ル“Oooだけて良いが、本発明はこれ以外のパターン
(例えば511ビット擬似ランダムパターン等)を選択
出来る構成としである。 この手段を利用する一応用として、モデム出荷時の送・
受信テストが有る。 従来この種の試験に於いては、モデム2台対向試験を行
なう際、モデムテスタと呼ばれ、固定パターン送出、及
び検出機能を有する擬似ホスト装置100を用いる必要
が有った。 これに対し、本発明では試験規格(CCITTV56等
)で規定されている511ビット擬似ランダムパターン
の発生、検出機能を備えている為、モデムのチエツク信
号をオンにしておけば、モデム対向試験をモデムテスタ
を必要とせずに簡単に行なえる。 又、モデム出荷試験だけで無く、フィールド上でもテス
タ無しに簡単に対向試験が行なえ、サービスマン等によ
るメンテナンスを容易に出来る。 以上説明した様に上述の各実施例によれば、モデム30
0内部に固定パターンの送出、及び検出機能304を設
けた事により、FAX装置に接続されるモデム装置であ
る場合には、TCP信号の送出及びチエツク機能がホス
ト装置100側で必要無くなり、ホスト装置100側の
モデム制御の負担を大幅に軽減出来る。又、固定パター
ンをTCP信号とは異なる試験用のパターンも設定出来
る構成としたことから、出荷時及びフィールドに於いて
も、モデムの対向試験がモデムテスタの様な特別な装置
を必要とせずに容易に行なえる等の効果がある。 また、エラー閾値をホスト装置より制御できるため、例
えばTCP信号のチエツク時、チエツクの強弱を自由に
調整でき、通信相手先により送受信尾品質レベル最適化
できる。 更に、出荷時、または納入設定等におけるモデム対向試
験時にこの閾値を変えて出力することにより、より詳細
にモデム及び回線品質のチエツクが行なえる。 更にまた、エラー計数開始時刻を外部より制御できるた
め、TCP信号チエツク時、チエツク時間を任意に制御
し得る。このため、TCP信号ヂエチエ時間の異なる機
器、例えばTCP信号の異なるファクシミリ機器装置間
のトレーニング等にも対応することができる。 また、通信相手によりチエツク時間を可変とすることで
、送受信の品質を可変とすることができる。
In the above-mentioned embodiment, a facsimile machine was considered as a usage mode of the modem, and the effectiveness of the present invention was described in particular in the case of TCP signals in the T, 30 protocol, but the present invention is not limited to this mode. None. In particular, if we focus only on the TCF signal, all fixed patterns can be set to "Ooo," but the present invention is structured so that other patterns (such as a 511-bit pseudo-random pattern) can be selected. As an application, the transmission and
There is a reception test. Conventionally, in this type of test, it has been necessary to use a pseudo host device 100 called a modem tester, which has fixed pattern sending and detection functions, when conducting a two-modem test. In contrast, the present invention has a function to generate and detect a 511-bit pseudo-random pattern specified by test standards (CCITTV56, etc.), so if the check signal of the modem is turned on, the modem-to-modem test can be performed on the modem. It can be easily done without requiring a tester. In addition to modem shipping tests, face-to-face tests can be easily performed in the field without a tester, and maintenance by service personnel and the like can be facilitated. As explained above, according to each of the above embodiments, the modem 30
By providing a fixed pattern sending and detecting function 304 inside 0, in the case of a modem device connected to a FAX machine, TCP signal sending and checking functions are no longer necessary on the host device 100 side, and the host device The burden of modem control on the 100 side can be greatly reduced. In addition, since the fixed pattern can be set as a test pattern that is different from the TCP signal, it is possible to perform modem face-to-face tests at the time of shipment and in the field without the need for special equipment such as a modem tester. It has the advantage of being easy to perform. Further, since the error threshold value can be controlled by the host device, for example, when checking a TCP signal, the strength of the check can be freely adjusted, and the transmission and reception quality level can be optimized depending on the communication partner. Furthermore, by changing and outputting this threshold value at the time of shipment or during a modem face-to-face test during delivery settings, etc., modem and line quality can be checked in more detail. Furthermore, since the error counting start time can be controlled externally, the check time can be arbitrarily controlled when checking the TCP signal. Therefore, it is possible to support training between devices with different TCP signal transmission times, for example, facsimile machines with different TCP signals. Furthermore, by making the check time variable depending on the communication partner, the quality of transmission and reception can be made variable.

【発明の効果】【Effect of the invention】

以上説明した様に本発明によれば、変復調装置内部で所
定パターンの送受信、及び当該パターンの受信状態を検
出可能とすることにより、端末側の制御負担な(、変復
調装置独自で受信状態の検出が可能となる。 更に、チエツク用の各種固定パターンも設定出来る構成
としたことから、出荷時及びフィールドに於いても、モ
デムの対向試験がモデムテスタの様な特別な装置を必要
とぜずに容易に行なえる等の効果がある。
As explained above, according to the present invention, by making it possible to transmit and receive a predetermined pattern and detect the reception state of the pattern within the modem, the control burden on the terminal side is eliminated (the modem and the modem can independently detect the reception state). Furthermore, since the configuration allows various fixed check patterns to be set, modem face-to-face tests can be performed at the time of shipment and in the field without the need for special equipment such as a modem tester. It has the advantage of being easy to perform.

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

第1図は本発明に係る一実施例モデムのブロック構成図
、 第2図は本実施例の通信制御動作を示すフローチャート
、 第3図は本実施例の固定パターン発生回路での発生パタ
ーン種類及び発生パターン選択選択信号を示す図、 第4図は本発明に係る第3実施例の受信側モデム装置の
構成を示すブロック構成図、 第5図は従来のモデムのブロック構成図、第6図はファ
クシミリ装置間のT、30プロトコルを示す図である。 図中、300・・・モデム、301・・・変調部、30
2・・・復調部、303・・・アナログ処理部、304
・・・固定パターン発生器、305・・・セレクタ、3
06・・・パターン検出器、307・・・エラー数カウ
ンタ、308・・・比較器、309・・・タイマ回路、
310・・・端末、320・・・回線である。
FIG. 1 is a block configuration diagram of a modem according to an embodiment of the present invention, FIG. 2 is a flowchart showing the communication control operation of this embodiment, and FIG. 3 shows the types and types of patterns generated in the fixed pattern generation circuit of this embodiment. FIG. 4 is a block configuration diagram showing the configuration of a receiving modem device according to a third embodiment of the present invention; FIG. 5 is a block configuration diagram of a conventional modem; FIG. 6 is a diagram showing a generation pattern selection selection signal. FIG. 3 is a diagram illustrating a T,30 protocol between facsimile devices. In the figure, 300... modem, 301... modulation section, 30
2... Demodulation section, 303... Analog processing section, 304
...Fixed pattern generator, 305...Selector, 3
06... Pattern detector, 307... Error number counter, 308... Comparator, 309... Timer circuit,
310...terminal, 320...line.

Claims (5)

【特許請求の範囲】[Claims] (1)データ伝送に用いる変復調装置であつて、複数種
類の固定パターンの1つを選択するパターン選択手段と
、該パターン選択手段で選択された固定パターンを発生
する固定パターン発生手段と、該固定パターン発生手段
での発生パターンと外部入力される送信信号の一方を選
択して任意の期間送信する送信手段と、受信側より送信
されるべき固定パターンと実際に受信側より送信された
パターンとのマッチングを図る固定パターン検出手段と
、マッチング結果のエラーを計数する計数手段と、該計
数手段での計数エラーを所定閾値と比較する比較手段と
、該比較手段での比較結果により受信可能状態を検出す
る検出手段とを備えることを特徴とする変復調装置。
(1) A modulation/demodulation device used for data transmission, which includes pattern selection means for selecting one of a plurality of types of fixed patterns, fixed pattern generation means for generating the fixed pattern selected by the pattern selection means, and fixed pattern generation means for generating the fixed pattern selected by the pattern selection means; A transmitting means that selects either the pattern generated by the pattern generating means or the externally inputted transmission signal and transmits it for an arbitrary period, and a fixed pattern to be transmitted from the receiving side and a pattern actually transmitted from the receiving side. Fixed pattern detection means for matching, counting means for counting errors in the matching results, comparison means for comparing the counting errors in the counting means with a predetermined threshold, and detecting a receivable state based on the comparison result of the comparison means. What is claimed is: 1. A modulation/demodulation device comprising a detection means for detecting.
(2)データ伝送に用いる変復調装置であつて、複数種
類の固定パターンが選択可能な固定パターン発生手段と
、該固定パターン発生手段での発生パターンと受信デー
タパターンとの一致を検出する一致検出手段と、該一致
検出手段の不一致回数を計数する計数手段と、該計数手
段での計数値を所定閾値と比較する比較手段と、該比較
手段での比較結果により受信状態を検出する検出手段と
、前記比較手段での比較閾値を任意の値に設定可能な設
定手段とを備えることを特徴とする変復調装置。
(2) A modulation/demodulation device used for data transmission, including a fixed pattern generating means capable of selecting a plurality of types of fixed patterns, and a coincidence detecting means for detecting a match between a pattern generated by the fixed pattern generating means and a received data pattern. , a counting means for counting the number of mismatches of the coincidence detecting means, a comparing means for comparing the count value of the counting means with a predetermined threshold value, and a detecting means for detecting a reception state based on the comparison result of the comparing means; A modulation/demodulation device comprising: setting means capable of setting a comparison threshold value in the comparison means to an arbitrary value.
(3)データ伝送に用いる変復調装置であつて、複数種
類の固定パターンが選択可能な固定パターン発生手段と
、該固定パターン発生手段での発生パターンと受信デー
タパターンとの一致を検出する一致検出手段と、該一致
検出手段の不一致回数を計数する計数手段と、該計数手
段での計数値を所定閾値と比較する比較手段と、該比較
手段での比較結果により受信状態を検出する検出手段と
、前記計数手段での計数時間を制御する制御手段とを備
えることを特徴とする変復調装置。
(3) A modulation/demodulation device used for data transmission, including a fixed pattern generating means capable of selecting a plurality of types of fixed patterns, and a coincidence detecting means for detecting a match between a pattern generated by the fixed pattern generating means and a received data pattern. , a counting means for counting the number of mismatches of the coincidence detecting means, a comparing means for comparing the count value of the counting means with a predetermined threshold value, and a detecting means for detecting a reception state based on the comparison result of the comparing means; A modulation/demodulation device comprising: control means for controlling counting time in the counting means.
(4)固定パターン発生手段は少なくともオール“0”
パターンと、511ビット擬似ランダムパターンを発生
可能であることを特徴とする請求項第1項乃至第3項記
載の変復調装置。
(4) Fixed pattern generation means is at least all “0”
4. The modulation/demodulation device according to claim 1, wherein the modulation/demodulation device is capable of generating a pattern and a 511-bit pseudo-random pattern.
(5)制御手段は、計数手段での計数クリア信号を制御
して計数時間を制御することを特徴とする請求項第4項
記載の変復調装置。
(5) The modulation/demodulation device according to claim 4, wherein the control means controls the counting time by controlling a count clear signal in the counting means.
JP2161391A 1990-06-21 1990-06-21 Modulator-demodulator Pending JPH0453334A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2161391A JPH0453334A (en) 1990-06-21 1990-06-21 Modulator-demodulator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2161391A JPH0453334A (en) 1990-06-21 1990-06-21 Modulator-demodulator

Publications (1)

Publication Number Publication Date
JPH0453334A true JPH0453334A (en) 1992-02-20

Family

ID=15734203

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2161391A Pending JPH0453334A (en) 1990-06-21 1990-06-21 Modulator-demodulator

Country Status (1)

Country Link
JP (1) JPH0453334A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06104890A (en) * 1992-09-22 1994-04-15 Nec Corp Line monitoring system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06104890A (en) * 1992-09-22 1994-04-15 Nec Corp Line monitoring system

Similar Documents

Publication Publication Date Title
KR100339148B1 (en) Data communication equipment
EP0137695A2 (en) Method of signal transmission with selected signal transmission rate
JP2962513B2 (en) Group 3 facsimile machine
US6437870B1 (en) Facsimile apparatus having V.8 protocol facility and facsimile communication method
JPH11289444A (en) Modem and data communication method
JPH0453334A (en) Modulator-demodulator
US6311233B1 (en) Communication system using a modem with a mode in which data receiving operation is shifted to control signal communication upon detecting a momentary disconnection
US20020097442A1 (en) Communication terminal device and a storing medium storing a communication control program
US6476937B1 (en) Facsimile apparatus having communicating function of nonstandard procedure and communicating function of standard procedure
JP2820689B2 (en) Communication method
JPS60120635A (en) Communication equipment
JPS6028347A (en) Method and apparatus of data communication
JP2594392B2 (en) High-speed signal receiver
JPH0697777B2 (en) Communication device
JP3459709B2 (en) Facsimile machine
JP3305892B2 (en) Facsimile machine with scrambling means
JP2002044402A (en) Facsimile machine
JPH1169120A (en) Communication terminal equipment
JP2009135612A (en) Signal detector
JPH07162645A (en) Facsimile equipment
JPH05219334A (en) Facsimile equipment
JPS62213362A (en) Image communication equipment
JPH1013647A (en) Control method for facsimile equipment
JPH0422066B2 (en)
JPH03254564A (en) Data terminal equipment