JPH0573343A - Data transfer processor - Google Patents
Data transfer processorInfo
- Publication number
- JPH0573343A JPH0573343A JP3234824A JP23482491A JPH0573343A JP H0573343 A JPH0573343 A JP H0573343A JP 3234824 A JP3234824 A JP 3234824A JP 23482491 A JP23482491 A JP 23482491A JP H0573343 A JPH0573343 A JP H0573343A
- Authority
- JP
- Japan
- Prior art keywords
- data
- switching circuit
- parity
- switching
- line
- 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
Links
- 230000005540 biological transmission Effects 0.000 claims abstract description 8
- 238000010586 diagram Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Landscapes
- Detection And Correction Of Errors (AREA)
- Hardware Redundancy (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、データ転送処理装置に
関し、特にデータをパリティ付きバスラインで送受信す
るデータ転送処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer processing device, and more particularly to a data transfer processing device for transmitting and receiving data on a bus line with parity.
【0002】[0002]
【従来の技術】従来のデータ転送処理装置においては、
パリティチェッカーで、パリティエラーの発生を確認す
るだけであった。2. Description of the Related Art In a conventional data transfer processing device,
I only checked the parity error with the parity checker.
【0003】[0003]
【発明が解決しようとする課題】したがって、処理を中
止させることはできたが、正常な状態での続行はできな
かった。Therefore, although the processing could be stopped, it could not be continued in a normal state.
【0004】本発明の目的は、バスに障害が発生した場
合にも、正常なデータを転送し、処理の継続が可能なデ
ータ転送処理装置を提供することにある。An object of the present invention is to provide a data transfer processing device capable of transferring normal data and continuing processing even when a failure occurs in the bus.
【0005】[0005]
【課題を解決するための手段】上記目的を達成するた
め、本発明によるデータ転送処理装置においては、パリ
ティチェッカーと、データバスと、スペアラインと、ド
ライバ/レシーバと、1/n切り替え回路と、1/2切
り替え回路と、マイクロプロセッサとを有するデータ転
送処理装置であって、パリティチェッカーは、パリティ
エラーの有無をチェックするものであり、データバス
は、データ及びパリティチェック用付加ピットをそれぞ
れ転送するものであり、スペアラインは、データバスが
障害をきたした時に代りにデータ送信を行うものであ
り、ドライバ/レシーバは、データバスへのデータの受
け渡しを行うものであり、1/n切り替え回路は、デー
タバスとスペアラインとの切り替えを行うものであり、
1/2切り替え回路は、データバスからのデータと、ス
ペアラインからのデータとの切り替えを行うものであ
り、マイクロプロセッサは、パリティチェッカーでのパ
リティエラーの有無により、1/n切り替え回路と1/
2切り替え回路との切替動作を制御するものであるもの
である。To achieve the above object, in a data transfer processing device according to the present invention, a parity checker, a data bus, a spare line, a driver / receiver, a 1 / n switching circuit, A data transfer processing device having a 1/2 switching circuit and a microprocessor, wherein a parity checker checks for the presence of a parity error, and a data bus transfers data and a parity check additional pit, respectively. The spare line is for transmitting data instead of when the data bus has failed, the driver / receiver is for transferring data to the data bus, and the 1 / n switching circuit is , To switch between data bus and spare line,
The 1/2 switching circuit switches between the data from the data bus and the data from the spare line, and the microprocessor selects 1 / n switching circuit or 1 / n switching circuit depending on the presence / absence of a parity error in the parity checker.
The control circuit controls the switching operation with the two switching circuits.
【0006】また、パリティチェッカーでエラーが検出
された場合に、マイクロプロセッサでデータの0bit
から1/n切り替え回路によりスペアラインを用いてデ
ータ転送を行い、1/2切り替え回路により固定故障位
置のデータと切替え、この動作を順次繰り返して正常な
データ送信を行う機能を有するものである。When an error is detected by the parity checker, the microprocessor checks for 0 bit of data.
To 1 / n switching circuit performs data transfer using a spare line, the 1/2 switching circuit switches to data at a fixed failure position, and this operation is sequentially repeated to perform normal data transmission.
【0007】[0007]
【作用】データにはパリティビットが付加されている。
このデータをパリティチェッカーが受信し、パリティエ
ラーが発生するとデータバスを順次スペアラインと切替
え、正常なデータを転送する。Function: A parity bit is added to the data.
When the parity checker receives this data and a parity error occurs, the data bus is sequentially switched to the spare line to transfer normal data.
【0008】[0008]
【実施例】以下、本発明の実施例について図面を参照し
て説明する。Embodiments of the present invention will be described below with reference to the drawings.
【0009】図1を参照すると、本発明装置は以下の構
成からなるものである。すなわち、データ及びパリティ
ビットを発信する送信側回路1、送信側回路1からデー
タバス11にデータを発信させるドライバ2、データバ
ス11に接続され、送信されるデータを、受信側回路3
に受けるレシーバ4、1/2選択フラグレジスタ9から
の1/2切り替え信号線203により、受信側回路3内
のレシーバ4で受けたデータバスからのデータ信号と、
スペアライン12からのデータとを切り替える1/2切
り替え回路5、パリティチェッカー6からの制御信号線
201により、1/n選択フラグレジスタ8と1/2選
択フラグレジスタ9を制御信号線204でセットされる
マイクロプロセッサ10、1/n選択フラグレジスタ8
からの1/n切り替え信号線202により、送信側回路
1からのデータ信号線101より1bit選択すること
のできる1/n切り替え回路7、1/2切り替え回路5
から出力される補正後データ信号線103の信号を受け
てパリティエラーチェックを行い、データ信号線104
と制御信号線201とに信号を出力するパリティチェッ
カー6を含むものである。Referring to FIG. 1, the device of the present invention has the following configuration. That is, the transmitting side circuit 1 for transmitting data and parity bits, the driver 2 for transmitting data from the transmitting side circuit 1 to the data bus 11, and the data to be transmitted connected to the data bus 11 are transmitted to the receiving side circuit 3.
A data signal from the data bus received by the receiver 4 in the receiving side circuit 3 by the 1/2 switching signal line 203 from the receiver 4 and the 1/2 selection flag register 9.
The 1 / n selection flag register 8 and the 1/2 selection flag register 9 are set by the control signal line 204 by the 1/2 switching circuit 5 for switching the data from the spare line 12 and the control signal line 201 from the parity checker 6. Microprocessor 10, 1 / n selection flag register 8
1 / n switching circuit 7 and 1/2 switching circuit 5 capable of selecting 1 bit from the data signal line 101 from the transmission side circuit 1 by the 1 / n switching signal line 202 from
The parity error check is performed by receiving the signal of the corrected data signal line 103 output from the data signal line 104.
And a parity checker 6 for outputting a signal to the control signal line 201.
【0010】送信側回路1からデータを受信側回路3に
送信する場合、データはデータ信号線101によりドラ
イバ2と、1/n切り替え回路7とに送られる。When data is transmitted from the transmission side circuit 1 to the reception side circuit 3, the data is transmitted to the driver 2 and the 1 / n switching circuit 7 by the data signal line 101.
【0011】ドライバ2に送られたデータ101は、デ
ータバス11に出力され、受信側回路3のレシーバ4に
入力される。The data 101 sent to the driver 2 is output to the data bus 11 and input to the receiver 4 of the receiving side circuit 3.
【0012】1/n切り替え回路7に入力されたデータ
101は、1/n選択フラグレジスタ8からの1/n切
り替え信号線202で制御され、スペアライン12に出
力され、受信側回路3のレシーバ4に入力される。The data 101 input to the 1 / n switching circuit 7 is controlled by the 1 / n switching signal line 202 from the 1 / n selection flag register 8 to be output to the spare line 12 and the receiver of the receiving side circuit 3. Input to 4.
【0013】レシーバ4に入力されたデータバス11、
スペアライン12のデータは、それぞれ1/2切り替え
回路5に接続されているデータ信号線102に出力され
る。The data bus 11 input to the receiver 4,
The data on the spare line 12 is output to the data signal lines 102 connected to the 1/2 switching circuit 5, respectively.
【0014】1/2切り替え回路5に入力したデータ
は、1/2選択フラグレジスタ9からの1/2切り替え
信号線203で制御され、補正後データ信号線103に
出力される。The data input to the 1/2 switching circuit 5 is controlled by the 1/2 switching signal line 203 from the 1/2 selection flag register 9 and output to the corrected data signal line 103.
【0015】補正後データ信号線103からのデータ
は、パリティチェッカー6に入力され、パリティエラー
チェックを受け、データ信号線104と、制御信号線2
01に出力される。The data from the corrected data signal line 103 is input to the parity checker 6 and subjected to a parity error check, and the data signal line 104 and the control signal line 2 are received.
It is output to 01.
【0016】制御信号線201は、マイクロプロセッサ
10に接続されており、制御信号線201の信号によっ
て1/n選択フラグレジスタ8、1/2選択フラグレジ
スタ9をセットする。The control signal line 201 is connected to the microprocessor 10 and sets the 1 / n selection flag register 8 and the 1/2 selection flag register 9 by the signal of the control signal line 201.
【0017】最初の送信時においては、1/2選択フラ
グレジスタ9からの1/2切り替え信号線203、1/
n選択フラグレジスタ8からの1/n切り替え信号線2
02は、全てオフとなっているため、補正後データ線1
03は、データ信号線101と同じ値となる。At the time of the first transmission, the 1/2 switching signal lines 203, 1 / from the 1/2 selection flag register 9 are sent.
1 / n switching signal line 2 from the n selection flag register 8
02 is all off, so corrected data line 1
03 has the same value as the data signal line 101.
【0018】補正後データ線103からのデータがパリ
ティチェッカー6へ入力されると、パリティチェッカー
6は、そのデータに誤りがあるかどうかを判定し、誤り
がなければ補正後データ線103の値をそのままデータ
信号線104に出力する。When the data from the corrected data line 103 is input to the parity checker 6, the parity checker 6 determines whether the data has an error, and if there is no error, the value of the corrected data line 103 is determined. It is directly output to the data signal line 104.
【0019】パリティチェッカー6で検出されなければ
図2に示すように、制御信号線201は、オフのままで
あり、処理は継続される。パリティチェッカー6でエラ
ーが検出された場合には、制御信号線201でマイクロ
プロセッサ10にエラー発生を知らせる。If it is not detected by the parity checker 6, as shown in FIG. 2, the control signal line 201 remains off, and the processing is continued. When the parity checker 6 detects an error, the control signal line 201 notifies the microprocessor 10 of the error occurrence.
【0020】エラー発生を認識したマイクロプロセッサ
10は、制御信号線204を介して1/n選択フラグレ
ジスタ8、1/2選択フラグレジスタ9をセットする。
1/n選択フラグレジスタ8と、1/2選択フラグレジ
スタ9とをセットすることにより、図2に示すように1
/n切り替え回路7でデータバス11中の0bit目の
データを、スペアライン12を使用して受信側回路3に
送信する。The microprocessor 10 which has recognized the occurrence of the error sets the 1 / n selection flag register 8 and the 1/2 selection flag register 9 via the control signal line 204.
By setting the 1 / n selection flag register 8 and the 1/2 selection flag register 9, 1 is set as shown in FIG.
The / n switching circuit 7 transmits the 0th bit data in the data bus 11 to the receiving side circuit 3 using the spare line 12.
【0021】受信側回路3では、1/2切り替え回路5
で0bit目のデータとスペアライン12より送信され
てきたデータとを切り替えて補正後データをデータ線1
03に出力する。パリティチェッカー6に入力した補正
後データ線103からのデータは、パリティチェックを
受け、エラーが検出されなければ図2に示すように処理
を続行させる。In the receiving side circuit 3, the 1/2 switching circuit 5
Then, the 0-bit data and the data transmitted from the spare line 12 are switched and the corrected data is changed to the data line 1.
Output to 03. The data from the corrected data line 103 input to the parity checker 6 undergoes a parity check, and if no error is detected, the process is continued as shown in FIG.
【0022】再度、エラーが検出された場合には、マイ
クロプロセッサ10の制御により、1bit目のデータ
をスペアライン12で送信させ、1/2切り替え回路5
によりデータを切り替え補正後データとして出力させ
る。When an error is detected again, the microprocessor 10 controls the data of the first bit to be transmitted through the spare line 12, and the 1/2 switching circuit 5
The data is switched by and output as corrected data.
【0023】以上の動作をn−1回行ってもパリティエ
ラーが検出される場合には、データバス11は正常であ
り、他の部分でエラーが発生していると考えられるため
処理を中断する。If a parity error is detected even if the above operation is performed n-1 times, the data bus 11 is normal and it is considered that an error has occurred in another part, so the processing is interrupted. ..
【0024】[0024]
【発明の効果】以上説明したように本発明は、パリティ
チェッカーでエラーが検出された場合に、マイクロプロ
セッサでデータの0bit目から1/n切り替え回路に
よりスペアバスを用いてデータ転送を行い、1/2切り
替え回路により固定故障位置のデータと切り替える動作
を順次繰り返すことにより正常なデータ送信を行うこと
ができる効果を有する。As described above, according to the present invention, when an error is detected by the parity checker, the microprocessor transfers data from the 0th bit of data using the 1 / n switching circuit using the spare bus. There is an effect that normal data transmission can be performed by sequentially repeating the operation of switching to the data at the fixed failure position by the two switching circuits.
【図1】本発明の一実施例をブロック図で示したもので
ある。FIG. 1 is a block diagram showing an embodiment of the present invention.
【図2】本発明の動作を説明するためのフローチャート
である。FIG. 2 is a flow chart for explaining the operation of the present invention.
1 送信側回路 2 ドライバ 3 受信側回路 4 レシーバ 5 1/2切り替え回路 6 パリティチェッカー 7 1/n切り替え回路 8 1/n選択フラグレジスタ 9 1/2選択フラグレジスタ 10 マイクロプロセッサ 11 データバス 12 スペアライン 101,102,104 データ信号線 103 補正後データ信号線 201,204 制御信号線 202 1/n切り替え回路制御信号線 203 1/2切り替え回路制御信号線 1 Transmission Side Circuit 2 Driver 3 Reception Side Circuit 4 Receiver 5 1/2 Switching Circuit 6 Parity Checker 7 1 / n Switching Circuit 8 1 / n Selection Flag Register 9 1/2 Selection Flag Register 10 Microprocessor 11 Data Bus 12 Spare Line 101, 102, 104 Data signal line 103 Corrected data signal line 201, 204 Control signal line 202 1 / n switching circuit control signal line 203 1/2 Switching circuit control signal line
Claims (2)
スペアラインと、ドライバ/レシーバと、1/n切り替
え回路と、1/2切り替え回路と、マイクロプロセッサ
とを有するデータ転送処理装置であって、 パリティチェッカーは、パリティエラーの有無をチェッ
クするものであり、 データバスは、データ及びパリティチェック用付加ピッ
トをそれぞれ転送するものであり、 スペアラインは、データバスが障害をきたした時に代り
にデータ送信を行うものであり、 ドライバ/レシーバは、データバスへのデータの受け渡
しを行うものであり、 1/n切り替え回路は、データバスとスペアラインとの
切り替えを行うものであり、 1/2切り替え回路は、データバスからのデータと、ス
ペアラインからのデータとの切り替えを行うものであ
り、 マイクロプロセッサは、パリティチェッカーでのパリテ
ィエラーの有無により、1/n切り替え回路と1/2切
り替え回路との切替動作を制御するものであることを特
徴とするデータ転送処理装置。1. A parity checker, a data bus, and
A data transfer processing device having a spare line, a driver / receiver, a 1 / n switching circuit, a 1/2 switching circuit, and a microprocessor, wherein a parity checker checks whether or not there is a parity error. , The data bus transfers the data and the additional pit for parity check respectively, the spare line sends data instead of when the data bus fails, and the driver / receiver sends data to the data bus. 1 / n switching circuit switches between the data bus and the spare line, and the 1/2 switching circuit switches data between the data bus and the spare line. The microprocessor checks whether the parity checker has A data transfer processing device, characterized in that it controls a switching operation between a 1 / n switching circuit and a 1/2 switching circuit depending on the presence or absence of a parity error.
た場合に、マイクロプロセッサでデータの0bitから
1/n切り替え回路によりスペアラインを用いてデータ
転送を行い、1/2切り替え回路により固定故障位置の
データと切替え、この動作を順次繰り返して正常なデー
タ送信を行う機能を有することを特徴とする請求項1に
記載のデータ転送処理装置。2. When an error is detected by a parity checker, the microprocessor transfers data from 0 bit of data using a spare line by a 1 / n switching circuit, and data at a fixed failure position by a 1/2 switching circuit. 2. The data transfer processing device according to claim 1, wherein the data transfer processing device has a function of performing a normal data transmission by sequentially switching this operation and repeating this operation.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3234824A JPH0573343A (en) | 1991-09-13 | 1991-09-13 | Data transfer processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3234824A JPH0573343A (en) | 1991-09-13 | 1991-09-13 | Data transfer processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0573343A true JPH0573343A (en) | 1993-03-26 |
Family
ID=16976961
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3234824A Pending JPH0573343A (en) | 1991-09-13 | 1991-09-13 | Data transfer processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0573343A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8083007B2 (en) | 2008-04-10 | 2011-12-27 | Panasonic Electric Works Co., Ltd. | Electric power tool having speed reduction mechanism |
| US8978780B2 (en) | 2009-10-02 | 2015-03-17 | Robert Bosch Gmbh | Handheld power tool having a shiftable mechanism |
| US9089954B2 (en) | 2008-09-12 | 2015-07-28 | Robert Bosch Gmbh | Hand-held tool machine having a switchable mechanism |
-
1991
- 1991-09-13 JP JP3234824A patent/JPH0573343A/en active Pending
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8083007B2 (en) | 2008-04-10 | 2011-12-27 | Panasonic Electric Works Co., Ltd. | Electric power tool having speed reduction mechanism |
| US9089954B2 (en) | 2008-09-12 | 2015-07-28 | Robert Bosch Gmbh | Hand-held tool machine having a switchable mechanism |
| US10005176B2 (en) | 2008-09-12 | 2018-06-26 | Robert Bosch Gmbh | Hand-held tool machine having a switchable mechanism |
| US8978780B2 (en) | 2009-10-02 | 2015-03-17 | Robert Bosch Gmbh | Handheld power tool having a shiftable mechanism |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP1725941B1 (en) | Data communication module providing fault tolerance and increased stability | |
| JPS62274946A (en) | Switching circuit free from hit | |
| JPH0573343A (en) | Data transfer processor | |
| JPH04286239A (en) | Communication equipment | |
| JPH0537421A (en) | Transmission line switching control method and device thereof | |
| JP2861595B2 (en) | Switching control device for redundant CPU unit | |
| KR200351541Y1 (en) | Sender and receiver device for protection communication line | |
| KR200317564Y1 (en) | Apparatus for preventing error during transfer working information in double unit structure | |
| JPH06161912A (en) | Data bus control system | |
| JP3049955B2 (en) | Switching control method | |
| JP4431262B2 (en) | Control device | |
| JPH06161911A (en) | Data transfer system | |
| JP2697481B2 (en) | Redundant switching control method | |
| JP2762276B2 (en) | Redundant communication line | |
| JPS59160333A (en) | Dual system transmission line switching device | |
| JP2658853B2 (en) | Communication control device | |
| JP2892821B2 (en) | Data transfer device | |
| JPH02234254A (en) | Data transfer circuit | |
| JP2550273Y2 (en) | Communication device | |
| JPH0795282B2 (en) | Duplex microprocessor automatic switching device | |
| JP2705417B2 (en) | Transmission line monitoring switching method | |
| CN117148703A (en) | CAN link control method and system based on three-mode redundancy CAN controller | |
| JPH07154302A (en) | Transmission line switching device | |
| JPH05244128A (en) | Communication duplex device | |
| JPS59139423A (en) | General-purpose interface device |