JPS6036146B2 - Error generating circuit - Google Patents

Error generating circuit

Info

Publication number
JPS6036146B2
JPS6036146B2 JP54030214A JP3021479A JPS6036146B2 JP S6036146 B2 JPS6036146 B2 JP S6036146B2 JP 54030214 A JP54030214 A JP 54030214A JP 3021479 A JP3021479 A JP 3021479A JP S6036146 B2 JPS6036146 B2 JP S6036146B2
Authority
JP
Japan
Prior art keywords
circuit
clock
error
generation circuit
pseudo
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
JP54030214A
Other languages
Japanese (ja)
Other versions
JPS55121757A (en
Inventor
健 大西
邦麿 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP54030214A priority Critical patent/JPS6036146B2/en
Publication of JPS55121757A publication Critical patent/JPS55121757A/en
Publication of JPS6036146B2 publication Critical patent/JPS6036146B2/en
Expired legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/24Testing correct operation
    • H04L1/242Testing correct operation by comparing a transmitted test signal with a locally generated replica
    • H04L1/244Testing correct operation by comparing a transmitted test signal with a locally generated replica test sequence generators

Description

【発明の詳細な説明】 この発明は、ディジタル通信等で発生する誤りを擬似的
に発生する誤り発生装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an error generating device that generates pseudo-errors that occur in digital communications or the like.

ディジタル通信、あるいは磁気テープのディジタル記録
等で発生する誤りには、ランダム誤りとバースト誤りが
ある。
Errors that occur in digital communications or digital recording on magnetic tape include random errors and burst errors.

その中でバースト誤りの発生モデルとして、1重マルコ
フ過程のギルバートモデルが知られている。このモデル
の状態遷移図を第1図に示す。第1図において、Gは仇
od、Bは茂d(又はBu岱t)の状態を表わしており
、P,Q,p,qはそれぞれ状態遷移確率である。ここ
でP十Q=1、p十q=1であり、状態Bで誤らない確
率をhとしている。このギルバートモデルは、ディジタ
ル通信あるいは磁気テープで発生するバースト誤りとよ
く一致するといわれている。従来、ランダム誤りを発生
する誤り発生回路は知られているが、ギルバートモデル
を考慮した誤り発生回路は見あたらない。
Among them, the Gilbert model of a single Markov process is known as a burst error generation model. A state transition diagram of this model is shown in Figure 1. In FIG. 1, G represents the state of enemy od, B represents the state of Shigeru d (or Bu dai), and P, Q, p, and q are state transition probabilities, respectively. Here, P1Q=1, p1Q=1, and the probability of not making an error in state B is h. This Gilbert model is said to closely match burst errors that occur in digital communications or magnetic tape. Conventionally, error generating circuits that generate random errors are known, but no error generating circuit that takes the Gilbert model into consideration has been found.

この発明は上記のようにディジタル通信あるいは、磁気
テープで発生する誤りとよく一致した擬似誤り信号を発
生することのできる誤り発生回路を提供することを目的
としている。
An object of the present invention is to provide an error generation circuit that can generate a pseudo error signal that closely matches the errors that occur in digital communications or magnetic tape as described above.

以下、本発明の一実施例を図について説明する。An embodiment of the present invention will be described below with reference to the drawings.

第2図に本発明の一実施例による誤り発生回路のブロッ
ク図を示す。図において、1はクロック発生回路、2は
M系列発生回路(擬似ランダムパターン発生回路)、3
はシフトレジスタ、4はメモリー回路、5はラツチ回路
、6はカウンタ、7はコンパレー夕、8は出力端子であ
る。次に動作について説明する。
FIG. 2 shows a block diagram of an error generation circuit according to an embodiment of the present invention. In the figure, 1 is a clock generation circuit, 2 is an M-sequence generation circuit (pseudo-random pattern generation circuit), and 3 is a clock generation circuit.
4 is a shift register, 4 is a memory circuit, 5 is a latch circuit, 6 is a counter, 7 is a comparator, and 8 is an output terminal. Next, the operation will be explained.

クロツク発生回路1からのクックにより、M系列発生回
路2が駆動されて、擬似ランダムパターンが発生される
The clock signal from the clock generating circuit 1 drives the M-sequence generating circuit 2 to generate a pseudo-random pattern.

擬似ランダムパターンは、例えば第3図に示す回路で発
生することができる。該第3図において、9は入力端子
、21は31段シフトレジスタ、22はEXCLUSI
VEOR回路、10は出力端子であり、この第3図の回
路における系列長は2147、483、647である。
M系列発生回路2で発生した擬似ランダムパターンは、
シフトレジスタ3によりメモリー回路4の読み出しアド
レスとなり、該メモリー回路4から読み出されたデータ
がラツチ回路5によりラッチされる。一方、カウンタ6
ではクロックが計数されており、その出力とラツチ回路
5の出力とがコンパレータ7で比較され、両者の値が一
致した時には、コンパレ−夕7の出力が“1”レベルと
なる。そして1クロック時間後に“0”レベルとなるが
、この立下りエッジで、ラッチ回路5にデータを取込み
、又カゥンタ6をリセットする。このようにして出力端
子8には、誤り出力が送られる。ここで、メモリー回路
4に蓄えられるデータはギルバートモデルによるラン分
布を利用する。
A pseudorandom pattern can be generated, for example, in the circuit shown in FIG. In FIG. 3, 9 is an input terminal, 21 is a 31-stage shift register, and 22 is EXCLUSI.
In the VEOR circuit, 10 is an output terminal, and the sequence lengths in the circuit of FIG. 3 are 2147, 483, and 647.
The pseudo-random pattern generated by the M-sequence generation circuit 2 is
The shift register 3 serves as a read address for the memory circuit 4, and the data read from the memory circuit 4 is latched by the latch circuit 5. On the other hand, counter 6
The clocks are counted, and the output of the clock is compared with the output of the latch circuit 5 by a comparator 7. When the two values match, the output of the comparator 7 becomes "1" level. Then, after one clock time, it becomes the "0" level, and at this falling edge, data is taken into the latch circuit 5 and the counter 6 is reset. In this way, an error output is sent to the output terminal 8. Here, the data stored in the memory circuit 4 uses run distribution based on the Gilbert model.

ラン分布U(1び)は、誤りが発生した後、誤りのない
ビットがK個連続して発生する頻度の分布であり、前記
P,h,pより次式で与えられる。U(1び)=A・J
K+(1一A)LKここで、A,J,Lはそれぞれ A=上上3 J−L J:Q+hq+ゾの十夢qぞ+4h(p一則L:Q+h
q−ゾぬ十夢q〆十小くp−Q2である。
The run distribution U(1bi) is a distribution of the frequency at which K error-free bits occur consecutively after an error occurs, and is given by the following equation from P, h, and p. U(1bi)=A・J
K+(11A)LKHere, A, J, and L are each A=Upper 3 J-L J:Q+hq+Zo's ten dream qzo+4h(p one rule L:Q+h
q-zonu tenmu q〆10 is p-Q2.

この分布は、第4図に示すようなものとなる。This distribution is as shown in FIG.

メモリー回路に256×8ビットのROM(ReadO
nlyMemory)を用いた場合、P=4×10‐7
、p=2×10‐2、h=0.5でのランの分布を度数
分布により近似すると、以下のようになる。この度数を
ROMに蓄え、M系列発生回路2からのランダムアドレ
スで読み出すことにより、バースト誤りが得られる。
The memory circuit includes a 256 x 8 bit ROM (ReadO
nlyMemory), P=4×10-7
, p=2×10-2, and h=0.5, the run distribution is approximated by a frequency distribution as follows. By storing this frequency in the ROM and reading it out at a random address from the M-sequence generation circuit 2, a burst error can be obtained.

度数分布による近似誤差はIK×8ビット、あるいはそ
れ以上の容量のROMを用いることにより減少するが、
前記の場合は256×8ビットでも十分実用的である。
なお、P,p,hを変更することにより、度数分布が変
化することはいうまでもない。またP,p,hが同一の
値であっても度数分布が格納されるメモリアドレスを変
更することにより、誤りの発生順序を容易に変更するこ
とができる。また、第2図ではコンパレータ7を用いて
いるが、LoadLnput端子つきのカウン夕を用い
れば、クロックを減算する際のボロ‐(軌rrow)出
力を、上記コンパレ−夕7出力に代えて用いることがで
きる。
Approximation errors due to frequency distribution can be reduced by using a ROM with a capacity of IK x 8 bits or more, but
In the above case, 256×8 bits is sufficiently practical.
It goes without saying that the frequency distribution changes by changing P, p, and h. Furthermore, even if P, p, and h have the same value, the order in which errors occur can be easily changed by changing the memory address where the frequency distribution is stored. In addition, although the comparator 7 is used in Fig. 2, if a counter with a LoadLnput terminal is used, the boro output when subtracting the clock can be used instead of the comparator 7 output. can.

またメモリ−回路4に補数を蓄えておき、クロックを計
数することにより出力されるキヤリー(Carry)出
力を同様に用いることもできる。また、上記実施例では
、状態Bの場合も、状態Gの場合もいずれもカウンタ6
で同一のクロツクを計数しているが、状態Gの場合の計
数は、前述の例でも1び回にも及ぶ。
It is also possible to store the complement in the memory circuit 4 and use the carry output produced by counting the clocks. Further, in the above embodiment, in both state B and state G, the counter 6
Although the same clocks are counted in the above example, the counting in the case of state G is repeated once as well.

従って、カゥンタ6には4ビットのバイナリカウンタが
5個必要となる。そのためN個のデータ回路あるいはト
ラックに誤り出力を送る場合には、クロック発生回路1
、M系列発生回路2、シフトレジスタ3、メモリー回路
4は共通にできることはもちろんであるが、カウンタ6
のハードウェアのみが5×N個必要となる。これを節約
するためには、第5図に示すように複数個のクロックを
用いるとよい。第5図のブロック図において、11は分
周回路、12は選択回路、13は選択制御用の入力端子
、14は出力端子である。第5図ではクロックが2つの
場合を示しており、状態Gの場合は分周したクロックを
、状態Bの場合は元のクロックを選択する。入力端子1
3は、メモリー回路4よりのデータに状態GかBかのフ
ラグを入れることにより制御できる。また状態Gの場合
のクロックは、分布によっては複数個にしてもさしつか
えのないことはいうまでもない。以上のように、この発
明に係る誤り発生装置によれば、メモリー回路にラン分
布を利用したデータを蓄え、擬似ランダムデータをその
読み出しアドレスとして与えることにより、簡単な構成
で実際に発生する誤りとよく一致するものが得られる効
果がある。
Therefore, the counter 6 requires five 4-bit binary counters. Therefore, when sending error output to N data circuits or tracks, clock generation circuit 1
, M-sequence generation circuit 2, shift register 3, and memory circuit 4 can of course be used in common, but the counter 6
Only 5×N pieces of hardware are required. In order to save this time, it is preferable to use a plurality of clocks as shown in FIG. In the block diagram of FIG. 5, 11 is a frequency dividing circuit, 12 is a selection circuit, 13 is an input terminal for selection control, and 14 is an output terminal. FIG. 5 shows a case where there are two clocks; in state G, the frequency-divided clock is selected, and in state B, the original clock is selected. Input terminal 1
3 can be controlled by adding a flag indicating whether the state is G or B to the data from the memory circuit 4. It goes without saying that in the case of state G, there may be a plurality of clocks depending on the distribution. As described above, according to the error generating device of the present invention, by storing data using run distribution in a memory circuit and giving pseudorandom data as its read address, errors that actually occur can be detected with a simple configuration. This has the effect of providing a good match.

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

第1図は、ギルバートモデルの状態遷移図、第2図は本
発明の一実施例による誤り発生回路のブロック図、第3
図は第2図のM系列発生回路の一例を示す図、第4図は
ギルバートモデルによるラン分布を示す図、第5図は本
発明の他の実施例におけるクロック選択回路のブロック
図である。 図において、1はクロック発生回路、2はM系列発生回
路(擬似ランダムパターン発生回路)、3はシフトレジ
スタ、4はメモリー回路、5はラツチ回路、6はカウン
タ、7はコンパレータ、11は分周回路、12はクロッ
ク選択回路である。なお、図中同一符号は同一又は相当
部分を示す。第1図第2図 第3図 第4図 第5図
FIG. 1 is a state transition diagram of the Gilbert model, FIG. 2 is a block diagram of an error generation circuit according to an embodiment of the present invention, and FIG.
4 is a diagram showing an example of the M-sequence generation circuit of FIG. 2, FIG. 4 is a diagram showing a run distribution based on the Gilbert model, and FIG. 5 is a block diagram of a clock selection circuit in another embodiment of the present invention. In the figure, 1 is a clock generation circuit, 2 is an M-sequence generation circuit (pseudo-random pattern generation circuit), 3 is a shift register, 4 is a memory circuit, 5 is a latch circuit, 6 is a counter, 7 is a comparator, and 11 is a frequency divider. The circuit 12 is a clock selection circuit. Note that the same reference numerals in the figures indicate the same or equivalent parts. Figure 1 Figure 2 Figure 3 Figure 4 Figure 5

Claims (1)

【特許請求の範囲】 1 クロツク発生回路と、擬似ランダムパターン発生回
路と、この擬似ランダムパターン発生回路からの擬似ラ
ンダムパターンが読み出しアドレスとして使用されるメ
モリー回路と、このメモリー回路より読み出された数値
までクロツクを計数するカウンタ回路と、このカウンタ
回路を計数し終わる毎に1クロツク時間誤りを発生する
ゲート回路とを備えたことを特徴とする誤り発生回路。 2 上記カウンタ回路は、上記クロツク発生回路からの
クロツクを分周回路で分周し、上記メモリー回路より読
み出した数値により、分周された複数のクロツクと元の
クロツクとを選択して計数することを特徴とする特許請
求の範囲第1項記載の誤り発生回路。3 上記メモリー
回路がラン分布を利用したデータを蓄えていることを特
徴とする特許請求の範囲第1項または第2項記載の誤り
発生回路。
[Claims] 1. A clock generation circuit, a pseudo-random pattern generation circuit, a memory circuit in which the pseudo-random pattern from the pseudo-random pattern generation circuit is used as a read address, and a numerical value read from the memory circuit. 1. An error generating circuit comprising: a counter circuit that counts clocks up to the maximum; and a gate circuit that generates an error of one clock time each time the counter circuit finishes counting. 2. The counter circuit divides the frequency of the clock from the clock generation circuit using a frequency dividing circuit, and selects and counts a plurality of frequency-divided clocks and the original clock based on a value read from the memory circuit. An error generating circuit according to claim 1, characterized in that: 3. The error generating circuit according to claim 1 or 2, wherein the memory circuit stores data using run distribution.
JP54030214A 1979-03-14 1979-03-14 Error generating circuit Expired JPS6036146B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP54030214A JPS6036146B2 (en) 1979-03-14 1979-03-14 Error generating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP54030214A JPS6036146B2 (en) 1979-03-14 1979-03-14 Error generating circuit

Publications (2)

Publication Number Publication Date
JPS55121757A JPS55121757A (en) 1980-09-19
JPS6036146B2 true JPS6036146B2 (en) 1985-08-19

Family

ID=12297466

Family Applications (1)

Application Number Title Priority Date Filing Date
JP54030214A Expired JPS6036146B2 (en) 1979-03-14 1979-03-14 Error generating circuit

Country Status (1)

Country Link
JP (1) JPS6036146B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57174958A (en) * 1981-04-21 1982-10-27 Nec Corp Pseudo error pulse inserting circuit
JPS57197912A (en) * 1981-05-29 1982-12-04 Sharp Corp Time random number generator
FR2699303B1 (en) * 1992-12-16 1995-02-24 Thierry Houdoin Method for generating cell errors and device for implementing the method.

Also Published As

Publication number Publication date
JPS55121757A (en) 1980-09-19

Similar Documents

Publication Publication Date Title
US3981217A (en) Key assigner
US3824379A (en) Variable frequency dividing circuit
US3824467A (en) Privacy transmission system
CA1080366A (en) First in - first out memory array containing special bits for replacement addressing
JPS5864844A (en) Synchronism detecting system
EP0059224A1 (en) System for coding and decoding binary data
US3971920A (en) Digital time-off-event encoding system
JPS6036146B2 (en) Error generating circuit
US3787669A (en) Test pattern generator
US3715726A (en) Selective tone signalling apparatus
US5708842A (en) Apparatus for changing coefficients utilized to perform a convolution operation having address generator which uses initial count number and up/down count inputs received from external
JPS5857119B2 (en) Touch response device for electronic musical instruments
US4424730A (en) Electronic musical instrument
EP0123322B1 (en) Address indication circuit capable of relatively shifting channel addresses relative to memory addresses
SU1660004A1 (en) Microprocessor testing device
SU693408A1 (en) Pseudorandom number generator
RU1809541C (en) Device for coding and decoding numerical sequences
SU1213524A1 (en) Pseudorandom sequence generator
JP3703599B2 (en) Pattern signal generator
SU1118990A1 (en) Random signal generator
RU1803919C (en) Device for processing messages
SU1587537A1 (en) Device for servicing messages
SU1312584A1 (en) Super-fast internal storage
SU920718A1 (en) Pseudorandom code generator
SU857978A1 (en) Simulator of multidimensional random values