JPH0136293B2 - - Google Patents

Info

Publication number
JPH0136293B2
JPH0136293B2 JP56015538A JP1553881A JPH0136293B2 JP H0136293 B2 JPH0136293 B2 JP H0136293B2 JP 56015538 A JP56015538 A JP 56015538A JP 1553881 A JP1553881 A JP 1553881A JP H0136293 B2 JPH0136293 B2 JP H0136293B2
Authority
JP
Japan
Prior art keywords
frequency divider
output
bit
bits
stop
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
JP56015538A
Other languages
Japanese (ja)
Other versions
JPS57129558A (en
Inventor
Kazunori Hirabayashi
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.)
Ando Electric Co Ltd
Original Assignee
Ando Electric 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 Ando Electric Co Ltd filed Critical Ando Electric Co Ltd
Priority to JP56015538A priority Critical patent/JPS57129558A/en
Publication of JPS57129558A publication Critical patent/JPS57129558A/en
Publication of JPH0136293B2 publication Critical patent/JPH0136293B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/02Details ; arrangements for supplying electrical power along data transmission lines
    • H04L25/20Repeater circuits; Relay circuits
    • H04L25/24Relay circuits using discharge tubes or semiconductor devices
    • H04L25/242Relay circuits using discharge tubes or semiconductor devices with retiming
    • H04L25/245Relay circuits using discharge tubes or semiconductor devices with retiming for start-stop signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Dc Digital Transmission (AREA)

Description

【発明の詳細な説明】 (a) 発明の技術分野 この発明は、調歩同期方式のデータ伝送におい
て、送信側のストツプビツト数を変えることがで
きるストツプビツト数設定回路に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION (a) Technical Field of the Invention The present invention relates to a stop bit number setting circuit that can change the number of stop bits on the transmitting side in asynchronous data transmission.

(b) 従来技術と問題点 次に、調歩同期方式の説明図を第1図に示す。(b) Prior art and problems Next, an explanatory diagram of the start-stop synchronization method is shown in FIG.

第一図アは伝送する符号の波形例で、STはス
タートビツト、SPはストツプビツト、STとSP
の間は符号を表す。
Figure 1A is an example of the waveform of the code to be transmitted, where ST is the start bit, SP is the stop bit, and ST and SP.
The space between represents the sign.

受信側では、第1図のスタートビツトSTの立
上りとストツプビツトSPを検出してSTとSPの
間の符号を受信する。
On the receiving side, the rising edge of start bit ST and stop bit SP in FIG. 1 are detected and the code between ST and SP is received.

伝送路などに起因する符号ひずみが発生する
と、ひずみの程度によつて伝送品質に影響を及ぼ
す。
When code distortion occurs due to a transmission path or the like, transmission quality is affected depending on the degree of distortion.

次に、調歩同期方式の符号ひずみを第1図を参
照して説明する。
Next, the code distortion of the start-stop synchronization method will be explained with reference to FIG.

第1図イは、スタートビツトSTの立上りを基
準位置とし、この基準位置から第1図アの各ビツ
トの正しい時間位置を示す。
FIG. 1A uses the rising edge of the start bit ST as a reference position, and shows the correct time position of each bit in FIG. 1A from this reference position.

第1図アの実線で示したビツトは符号ひずみが
なく、第1図アの点線のビツトは符号ひずみが発
生している。第1図アの点線のビツトの符号ひず
みは第1図アの実線のビツトとの時間位置の差に
なる。
The bits indicated by solid lines in FIG. 1A have no sign distortion, and the bits indicated by dotted lines in FIG. 1A have sign distortion. The sign distortion of the dotted line bits in FIG. 1A is the difference in time position from the solid line bits in FIG. 1A.

符号ひずみが大きくなると、ストツプビツト
SPの部分が消えてしまい、調歩同期がとれなく
なることがある。そこで、ストツプビツトSPの
部分だけ1.5ビツト長や2ビツト長にして、符号
ひずみが大きくなつても、ストツプビツトSPを
確実に受信できるよにすることがある。
As the sign distortion increases, the stop bit
The SP part may disappear and start-stop synchronization may not be achieved. Therefore, only the stop bit SP part is made 1.5 bits long or 2 bits long so that the stop bit SP can be reliably received even if the code distortion becomes large.

このような場合、従来技術では基準の1ビツト
からゲート回路などで1.5ビツトや2ビツトを合
成しているので、同期用のビツトカウンタをビツ
ト数に合せて調整する必要があり、ストツプビツ
トSPのビツト数の変更が簡単にできないという
問題がある。
In such a case, in the conventional technology, 1.5 bits or 2 bits are synthesized from the standard 1 bit using a gate circuit, so it is necessary to adjust the bit counter for synchronization according to the number of bits, and the bit of the stop bit SP is There is a problem that the number cannot be changed easily.

(c) 発明の目的 この発明は、ストツプビツトSPのビツト数を
変える場合、ストツプビツトSPのときだけ動作
する分周器を採用し、ビツトカウンタは変更なし
で、そのまま使えるストツプビツト数設定回路の
提供を目的とする。
(c) Purpose of the Invention The purpose of the present invention is to provide a stop bit number setting circuit that employs a frequency divider that operates only when the stop bit SP is changed when changing the number of bits of the stop bit SP, and can be used as is without changing the bit counter. shall be.

(d) 発明の実施例 次に、この発明による実施例の構成図を第2図
に示す。
(d) Embodiment of the Invention Next, a block diagram of an embodiment of the invention is shown in FIG. 2.

第2図の1はクロツク発生回路、2Aは分周
器、2Bは分周器、2Cは分周器、3はセレク
タ、4はビツトカウンタ、5はデコーダ、6はゲ
ート、7は端子、8は出力端子である。
In Fig. 2, 1 is a clock generation circuit, 2A is a frequency divider, 2B is a frequency divider, 2C is a frequency divider, 3 is a selector, 4 is a bit counter, 5 is a decoder, 6 is a gate, 7 is a terminal, 8 is the output terminal.

端子7にはビツトセレクト信号が加えられる。 A bit select signal is applied to terminal 7.

ビツトセレクト信号はストツプビツトSPのビ
ツト数を選択するためのものである。ストツプビ
ツトSPのビツト数が1のときは「0」である。
また、ビツトセレクト信号はストツプビツトSP
のビツト数が1より大きいときは「1」に設定さ
れる。
The bit select signal is for selecting the number of stop bits SP. When the number of bits in the stop bit SP is 1, it is "0".
Also, the bit select signal is stop bit SP.
When the number of bits is greater than 1, it is set to "1".

出力端子8からは分周器2Bの出力が送信用タ
イミング信号として取り出される。
The output of the frequency divider 2B is taken out from the output terminal 8 as a timing signal for transmission.

送信用タイミング信号は、例えば、第1図アの
符号を送信するためのものである。
The transmission timing signal is, for example, for transmitting the code shown in FIG. 1A.

クロツク発生回路1は第3図アのような信号を
発生する。
The clock generating circuit 1 generates a signal as shown in FIG. 3A.

分周器2Aは、クロツク発生回路1の出力をm
分の1に分周する分周器で、その出力は第3図イ
のようになる。ここに、m≧1で、第3図イはm
=2の例である。
The frequency divider 2A divides the output of the clock generation circuit 1 into m
This is a frequency divider that divides the frequency by a factor of 1, and its output is as shown in Figure 3A. Here, m≧1, and Fig. 3 A is m
This is an example of =2.

分周器2Bは、後述のセレクタ3の出力を2分
の1に分周し、入力が分周器2Aの出力のとき
は、分周器2Bの出力は第3図ウになる。
The frequency divider 2B divides the output of the selector 3, which will be described later, into half, and when the input is the output of the frequency divider 2A, the output of the frequency divider 2B is as shown in FIG. 3C.

第3図ウを送信用タイミング信号にし、この周
期が1ビツト長になるようにする。
The timing signal shown in FIG.

分周器2Cは、ストツプビツトSPのときだけ
動作し、クロツク発生回路1の出力をn分の1に
分周する。
The frequency divider 2C operates only when the stop bit is SP, and divides the frequency of the output of the clock generation circuit 1 into 1/n.

ここに、n≧2、m≠nである。ストツプビツ
トSPを1.5ビツト長にするときは、分周器2Cの
分周比を3分の1にし、ストツプビツトSPを2
ビツト長にするときは、分周比を4分の1にす
る。これは、ストツプビツトSPのビツト数をM
とするには、ストツプビツトSPのときだけ、第
3図イの分周器2Aの出力波形をさらにM分の1
に分周した波形と同じものを分周器2Bに加える
必要があるからである。
Here, n≧2 and m≠n. To make the stop bit SP 1.5 bits long, set the frequency division ratio of the frequency divider 2C to 1/3 and set the stop bit SP to 2.
When increasing the bit length, set the frequency division ratio to 1/4. This means that the number of bits of stop bit SP is M
To do this, the output waveform of frequency divider 2A in Figure 3A is further divided by M only when the stop bit is SP.
This is because it is necessary to apply the same waveform frequency-divided to the frequency divider 2B.

すなわち、ストツプビツトSPのビツト数をM
とすると、分周器2Aの分周比が1/mなので、
分周器2Cの分周比を1/n=1/mMにする。
In other words, the number of bits of stop bit SP is M
Then, since the frequency division ratio of frequency divider 2A is 1/m,
The frequency division ratio of the frequency divider 2C is set to 1/n=1/mM.

なお、第2図で分周器2Aと分周器2Cを並列
に配置しているが、両者を直列にしてもよい。直
列にした場合は、両者の合成分周比を1/mMに
する。
Although the frequency divider 2A and the frequency divider 2C are arranged in parallel in FIG. 2, they may be arranged in series. When connected in series, the combined frequency division ratio of both should be 1/mM.

セレクタ3は、分周器2Aと分周器2Cの出力
を切り換え、セレクタ3の出力を分周器2Bに送
る。セレクタ3は後述のゲート6の出力によつて
制御される。
The selector 3 switches the outputs of the frequency divider 2A and the frequency divider 2C, and sends the output of the selector 3 to the frequency divider 2B. Selector 3 is controlled by the output of gate 6, which will be described later.

ビツトカウンタ4は、分周器2Bからの送信用
タイミング信号をカウントする。つまり、ビツト
カウンタ4は、例えば第1図のSTからSPまでの
ビツト数をカウントする。
Bit counter 4 counts the transmission timing signal from frequency divider 2B. That is, the bit counter 4 counts the number of bits from ST to SP in FIG. 1, for example.

デコーダ5はビツトカウンタ4の出力をデコー
ドし、ストツプビツトSPのとき「1」を出す。
The decoder 5 decodes the output of the bit counter 4 and outputs "1" when the stop bit is SP.

例えば、第1図の場合、デコーダ5は、ビツト
カウンタ4のカウント値が7になると「1」を出
す。
For example, in the case of FIG. 1, the decoder 5 outputs "1" when the count value of the bit counter 4 reaches 7.

デコーダ5の出力は、ゲート6を介して分周器
2A,2Bとセレクタ3に加えられ、分周器2A
と2Bのオンオフを制御するとともにセレクタ3
の切換えを制御する。
The output of the decoder 5 is applied to the frequency dividers 2A, 2B and the selector 3 via the gate 6.
and selector 3 as well as controlling on/off of 2B.
control switching.

ゲート6の出力が「0」のときは、分周器2A
はオンし、分周器2Cはオフになる。また、セレ
クタ3は分周器2A側に切り換えられる。
When the output of gate 6 is "0", frequency divider 2A
is turned on and frequency divider 2C is turned off. Further, the selector 3 is switched to the frequency divider 2A side.

ゲート6の出力が「1」のときは、分周器2A
はオフになり、分周器2Cはオンになる。また、
セレクタ3は分周器2C側に切り換えられる。
When the output of gate 6 is "1", frequency divider 2A
is turned off and frequency divider 2C is turned on. Also,
The selector 3 is switched to the frequency divider 2C side.

すなわち、第2図では、ビツトカウンタ4の出
力はデコーダ5でデコードして分周器2A,2C
とセレクタ3に帰還し、ストツプビツトSPのと
きは、分周器2Aは分周器2Cの出力を分周す
る。ストツプビツトSPでないときは、分周器2
Cは分周器2Aの出力を分周する。
That is, in FIG. 2, the output of bit counter 4 is decoded by decoder 5 and sent to frequency dividers 2A and 2C.
is fed back to the selector 3, and when the stop bit is SP, the frequency divider 2A divides the output of the frequency divider 2C. When the stop bit is not SP, frequency divider 2
C divides the output of the frequency divider 2A.

従来回路では、ビツトカウンタ4の出力をデコ
ーダ5でデコードして帰還するループがなく、ま
たストツプビツトSPのビツト数を変えるときは、
その変更に合せてビツトカウンタ4を調整しなけ
ればならなかつた。第2図の実施例では、デコー
ダ5の出力で分周器2Aと2Cの出力を選択して
いるので、ビツトカウンタ8はそのまま分周器2
Bの出力をカウントすればよい。
In the conventional circuit, there is no loop in which the output of the bit counter 4 is decoded by the decoder 5 and fed back, and when changing the number of bits of the stop bit SP,
The bit counter 4 had to be adjusted in accordance with the change. In the embodiment shown in FIG. 2, the output of the frequency dividers 2A and 2C is selected by the output of the decoder 5, so the bit counter 8 is directly connected to the frequency divider 2.
Just count the output of B.

次に、第2図の動作例を第4図の波形図で説明
する。
Next, the operation example shown in FIG. 2 will be explained using the waveform diagram shown in FIG. 4.

第4図はストツプビツトSPを1.5ビツト長にす
る場合の例で、分周器2Cの分周比は3分の1で
ある。
FIG. 4 shows an example in which the stop bit SP is 1.5 bits long, and the frequency division ratio of the frequency divider 2C is 1/3.

第4図アは、第3図アと同じくクロツク発生回
路1の出力波形である。
FIG. 4A shows the output waveform of the clock generation circuit 1, similar to FIG. 3A.

第4図イは分周器2Aの出力波形で、時刻t1
t2の間はデコーダ5の出力でカウントをオフにす
る。時刻t1〜t2以外では、第4図イと同じように
第4図アの波形を2分の1に分周する。
FIG. 4A shows the output waveform of the frequency divider 2A, and it shows the output waveform from time t 1 to
During t2 , the count is turned off by the output of the decoder 5. At times other than time t 1 to t 2 , the waveform of FIG. 4A is divided into half in the same way as FIG. 4A.

第4図ウは分周器2Cの出力波形で、時刻t1
t2の間だけデコーダ5の出力でカウントをオンに
する。この場合、分周器2Cは、分周比が3分の
1なので、第4図アの波形3つで分周出力1つを
出す。第4図では、分周器2Cは、時刻t3,t2
それぞれ分周出力を出す。
Figure 4 (c) shows the output waveform of the frequency divider 2C, from time t 1 to
The count is turned on at the output of the decoder 5 only during t2 . In this case, the frequency divider 2C has a frequency division ratio of 1/3, so it outputs one frequency-divided output with three waveforms as shown in FIG. 4A. In FIG. 4, the frequency divider 2C outputs frequency divided outputs at times t3 and t2, respectively.

第4図エはセレクタ3の出力波形で、第4図イ
と第4図ウの波形を加算した形になる。
FIG. 4E shows the output waveform of the selector 3, which is the sum of the waveforms in FIGS. 4A and 4C.

第4図オは分周器2Bの出力波形で、第4図エ
の波形を2分の1に分周したものである。第4図
では、時刻t1〜t2の間で、1.5ビツト長の送信用タ
イミング信号が得られるを示す。
FIG. 4E shows the output waveform of the frequency divider 2B, which is obtained by dividing the waveform in FIG. 4E into half. FIG. 4 shows that a 1.5-bit length transmission timing signal is obtained between times t1 and t2 .

すなわち、第4図オの時刻t1〜t2の送信用タイ
ミング信号は1.5ビツト長のストツプビツトを送
信するための信号である。
That is, the transmission timing signal from time t1 to t2 in FIG. 4E is a signal for transmitting a stop bit of 1.5 bit length.

(e) 発明の効果 この発明によれば、ストツプビツトSPのビツ
ト数を変える場合、分周器2Cの分周比を変える
ようにしているので、ストツプビツトSPを任意
のビツト数に設定することができるとともに、ス
トツプビツトSPのビツト数を変えてもビツトカ
ウンタをそのままで使えるので回路が簡単にな
る。
(e) Effects of the invention According to this invention, when changing the number of bits of the stop bits SP, the division ratio of the frequency divider 2C is changed, so the stop bits SP can be set to any number of bits. In addition, even if the number of bits in the stop bit SP is changed, the bit counter can be used as is, which simplifies the circuit.

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

第1図は調歩同期方式の説明図、第2図はこの
発明による実施例の構成図、第3図は送信用タイ
ミング信号の説明図、第4図は第2図の動作例の
波形図である。 1……クロツク発生回路、2A……分周器、2
B……分周器、2C……分周器、3……セレク
タ、4……ビツトカウンタ、5……デコーダ、6
……ゲート、7……端子、8……出力端子、ST
……スタートビツト、SP……ストツプビツト。
Fig. 1 is an explanatory diagram of the start-stop synchronization method, Fig. 2 is a configuration diagram of an embodiment according to the present invention, Fig. 3 is an explanatory diagram of a transmission timing signal, and Fig. 4 is a waveform diagram of the operation example of Fig. 2. be. 1...Clock generation circuit, 2A...Frequency divider, 2
B... Frequency divider, 2C... Frequency divider, 3... Selector, 4... Bit counter, 5... Decoder, 6
...gate, 7...terminal, 8...output terminal, ST
...Start bit, SP...Stop bit.

Claims (1)

【特許請求の範囲】 1 クロツク発生回路1と、クロツク発生回路1
の出力をm分の1に分周する第1の分周器2A
と、第1の分周器2Aの出力を2分の1に分周す
る第2の分周器2Bとをもち、第2の分周器2B
の出力を送信用タイミングにする調歩同期方式に
おいて、 第1の分周器2Aに並列に配置し、ストツプビ
ツトのビツト数をMとしたとき、クロツク発生回
路1の出力をmM分の1に分周する第3の分周器
2Cと、 第1の分周器2Aと第3の分周器2Cを切り換
え、切換出力を第2の分周器2Bに加えるセレク
タ3と、 第2の分周器2Bの出力をカウントするビツト
カウンタ4と、 ビツトカウンタ4の出力をデコードし、ビツト
カウンタ4の出力からストツプビツトの位置を検
出するデコーダ5とを備え、 デコーダ5の出力を第1の分周器2A、第2の
分周器2C及びセレクタ3に加え、デコーダ5の
出力で第1の分周器2Aと第3の分周器2Cのオ
ンオフを制御するとともに、セレクタ3の切換え
を制御し、 ビツトカウンタ4の出力が「0」のときは、第
1の分周器2Aの出力を第2の分周器2Bに加
え、 ビツトカウンタ4の出力が「1」のときは、第
3の分周器2Cの出力を第2の分周器2Bに加え
ることを特徴とするストツプビツト数設定回路。
[Claims] 1. Clock generation circuit 1 and clock generation circuit 1
A first frequency divider 2A that divides the output of
and a second frequency divider 2B that divides the output of the first frequency divider 2A into half.
In the asynchronous system where the output of the clock generator 1 is used as the timing for transmission, the output of the clock generator 1 is placed in parallel with the first frequency divider 2A, and when the number of stop bits is M, the output of the clock generator 1 is divided into 1/mM. a selector 3 that switches between the first frequency divider 2A and the third frequency divider 2C and applies the switching output to the second frequency divider 2B; 2B, and a decoder 5 that decodes the output of the bit counter 4 and detects the position of the stop bit from the output of the bit counter 4. In addition to the second frequency divider 2C and selector 3, the output of the decoder 5 controls the on/off of the first frequency divider 2A and the third frequency divider 2C, and also controls the switching of the selector 3. When the output of the counter 4 is "0", the output of the first frequency divider 2A is added to the second frequency divider 2B, and when the output of the bit counter 4 is "1", the output of the first frequency divider 2A is added to the second frequency divider 2B. A stop bit number setting circuit characterized in that the output of the frequency divider 2C is applied to a second frequency divider 2B.
JP56015538A 1981-02-04 1981-02-04 Setting circuit of stop bit number Granted JPS57129558A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56015538A JPS57129558A (en) 1981-02-04 1981-02-04 Setting circuit of stop bit number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56015538A JPS57129558A (en) 1981-02-04 1981-02-04 Setting circuit of stop bit number

Publications (2)

Publication Number Publication Date
JPS57129558A JPS57129558A (en) 1982-08-11
JPH0136293B2 true JPH0136293B2 (en) 1989-07-31

Family

ID=11891570

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56015538A Granted JPS57129558A (en) 1981-02-04 1981-02-04 Setting circuit of stop bit number

Country Status (1)

Country Link
JP (1) JPS57129558A (en)

Also Published As

Publication number Publication date
JPS57129558A (en) 1982-08-11

Similar Documents

Publication Publication Date Title
JPH0773219B2 (en) Parallel-serial converter
JPH06209246A (en) Multiplexer
US5025461A (en) Method of and circuit arrangement for recovering a bit clock from a received digital communication signal
JPS5970019A (en) Shift register delay circuit
US3986168A (en) Multichannel error signal generator
EP0881767A1 (en) Combinational delay circuit for a digital frequency multiplier
JP2597239B2 (en) Digital phase locked loop, receiver having the digital phase locked loop, and control method therefor
KR970024568A (en) Phase adjusting circuits, systems comprising the circuits, and phase adjusting methods
HU196023B (en) Synchronizing system for digital telecommunication networks
JP2693758B2 (en) Frame pulse generation method
JPH0136293B2 (en)
US5121417A (en) Count-locked loop timing generator
JP3485449B2 (en) Clock division switching circuit
US5566138A (en) Counter circuit for controlling the operation of a quartz clock with "one touch" or "fast" electrical resetting of the time
JPH0157539B2 (en)
SU866748A1 (en) Pulse rate scaler
JPS61140221A (en) Timing generating circuit
JPS62112434A (en) Clock distribution equipment
JP3189196B2 (en) Data transmission system
JP2734782B2 (en) Clock smoothing circuit of staff multiplexing equipment
JPH02121541A (en) Channel access system
JPH06188965A (en) Dtmf signal generating circuit
SU1167748A1 (en) Synchronizing device
JPS58188952A (en) Parallel serial data transmitting circuit
JPH06169238A (en) Pattern generating circuit