JP2008270883A - Serial communication apparatus and method - Google Patents
Serial communication apparatus and method Download PDFInfo
- Publication number
- JP2008270883A JP2008270883A JP2007107170A JP2007107170A JP2008270883A JP 2008270883 A JP2008270883 A JP 2008270883A JP 2007107170 A JP2007107170 A JP 2007107170A JP 2007107170 A JP2007107170 A JP 2007107170A JP 2008270883 A JP2008270883 A JP 2008270883A
- Authority
- JP
- Japan
- Prior art keywords
- data
- encoding
- decoding
- switching
- circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Dc Digital Transmission (AREA)
Abstract
【課題】 従来のシリアル通信装置では、通信経路を確立するためにタイミング同期をとる期間から、データ通信中、及び、待機中までの全ての状態において、送信データの繰り返しにより悪化する放射ノイズを抑える必要がある。
【解決手段】 送受信双方でデータの繰り返しを検出する手段と、データを符号化/復号化する手段と、符号化/復号化の入出力データの対応付けを変更する手段を設け、繰り返しを検出する毎に送受信双方で同様の規則に則り符号化/復号化の入出力データの対応付けを変更する手段を備える。
【選択図】 図1PROBLEM TO BE SOLVED: To suppress radiation noise that deteriorates due to repetition of transmission data in all states from a period of timing synchronization for establishing a communication path to data communication and standby in a conventional serial communication device. There is a need.
Means for detecting repetition of data in both transmission and reception, means for encoding / decoding data, and means for changing association between input / output data of encoding / decoding are provided to detect repetition. A means for changing the correspondence of input / output data for encoding / decoding according to the same rule for both transmission and reception is provided.
[Selection] Figure 1
Description
本発明は、装置間でデータの送受を行うシリアル通信装置に関するものである。 The present invention relates to a serial communication device that transmits and receives data between devices.
従来のシリアル通信装置には、放射ノイズを低減する為や、データ受信タイミングを生成するクロックデータリカバリ回路の誤動作を防ぐために、以下処理を行なっていた。 The conventional serial communication apparatus performs the following processing in order to reduce radiation noise and prevent malfunction of a clock data recovery circuit that generates data reception timing.
データを送信していない期間は繰り返し性を持たない信号を通信する。(特許文献1)
データが同一パターンを連続的に繰り返すパターンであるときは同一パターン間に別のパターンを挿入する。(特許文献2)
When the data is a pattern that repeats the same pattern continuously, another pattern is inserted between the same patterns. (Patent Document 2)
従来技術では、データを送信していない期間は繰り返し性を持たない信号となるものの、通信経路を確立するためにタイミング同期をとる期間や同一データ送信中は繰り返し性を持ち、放射ノイズレベルを悪化させていた。 In the conventional technology, the signal is not repeatable during the period when data is not transmitted, but it is repeatable during the period of timing synchronization to establish the communication path and during the same data transmission, and the radiation noise level deteriorates. I was letting.
また、同一パターンの繰り返しが続くデータを送受信する場合に別のパターンを追加すると、繰り返しを減らす為に別データを追加する頻度を増やすと通信レートが悪くなる問題が有った。 In addition, when another pattern is added when transmitting / receiving data in which repetition of the same pattern continues, there is a problem that the communication rate becomes worse if the frequency of adding another data is increased in order to reduce repetition.
本出願に係る発明の目的は、通信経路を確立するためにタイミング同期をとる期間からデータ通信中、及び、待機中までの全ての状態において、繰り返しパターンを無くし、パターンの繰り返しにより悪化する放射ノイズを抑える事である。 The object of the invention according to the present application is to eliminate the repeated pattern in all states from the period of timing synchronization to establish the communication path to the data communication and standby, and the radiation noise deteriorated by the repetition of the pattern It is to suppress.
装置間でデータを転送するシリアル通信装置において、
入力データを符号化する符号化手段と、
前記符号化手段の入力に対する出力の対応付けを切り替える符号化切り替え手段と、
同一データが連続して入力されたかを判断し、同一データが連続した場合に前記符号化切り替え手段で符号化を切り替える第一の判断手段と、
前記符号化手段で符号化されたデータを送出するシリアル送信手段と、
シリアルデータの受信タイミングを生成するタイミング生成手段と、
前記タイミング生成手段で生成したタイミングに応じてシリアルデータを受信する受信手段と、
前記受信手段で受信した受信データを復号化する復号化手段と、
前記復号化手段の入力に対する出力の対応付けを切り替える復号化切り替え手段と、
前記復号化手段から出力されるデータが連続した同一データかを判断し、同一データが連続した場合に前記復号化切り替え手段で復号化を切り替える第二の判断手段と、
を備えることを特徴とする。
In serial communication devices that transfer data between devices,
Encoding means for encoding input data;
Encoding switching means for switching the correspondence of the output to the input of the encoding means;
Determining whether the same data is continuously input, first determination means for switching the encoding by the encoding switching means when the same data is continuous;
Serial transmission means for transmitting data encoded by the encoding means;
Timing generation means for generating serial data reception timing;
Receiving means for receiving serial data according to the timing generated by the timing generating means;
Decoding means for decoding received data received by the receiving means;
Decoding switching means for switching the correspondence of the output to the input of the decoding means;
Determining whether the data output from the decoding means is the same continuous data, and when the same data is continuous, second determination means for switching decoding by the decoding switching means;
It is characterized by providing.
本発明によれば、通信経路を確立するためにタイミング同期をとる期間からデータ通信中、及び、待機中までの全ての状態において、同一の処理により繰り返しパターンを無くす事ができ、パターンの繰り返しによる高調波成分を減らす事で放射ノイズを抑える効果がある。 According to the present invention, it is possible to eliminate the repeated pattern by the same processing in all states from the period of timing synchronization to establish the communication path to during data communication and standby, and by repeating the pattern It has the effect of suppressing radiation noise by reducing harmonic components.
(実施例1)
図1は本発明における第一の実施例の特徴を表すシリアル通信装置のブロック図であり、同図において、1は送信回路、2は受信回路、3は送信回路1へ入力する送信データであり、8ビット単位で入力される。
Example 1
FIG. 1 is a block diagram of a serial communication apparatus representing the features of the first embodiment of the present invention. In FIG. 1, 1 is a transmission circuit, 2 is a reception circuit, and 3 is transmission data input to the
4は通信線で、FFC(フレキシブルフラットケーブル)を使い送信回路1と受信回路2の間を接続する。
本実施例では、送信回路1と受信回路2の間のインタフェースにLVDS(低電圧差動伝送)信号を用い、差動信号1組でシリアル伝送を行なっている。
In this embodiment, an LVDS (low voltage differential transmission) signal is used for the interface between the
5は受信回路2から出力される受信データであり、8ビット単位で出力される。 Reference numeral 5 denotes reception data output from the reception circuit 2 and is output in units of 8 bits.
6は送信データ比較回路で、入力された送信データ3が前データと同じデータであるかを比較し、同じデータが入力された場合はカウンタ回路7へカウントアップを指示する。 Reference numeral 6 denotes a transmission data comparison circuit, which compares whether the input transmission data 3 is the same data as the previous data, and instructs the counter circuit 7 to count up if the same data is input.
7は8ビットのカウンタ回路で、送信データ比較回路6からのカウントアップ指示によりカウント値を1加算する。 Reference numeral 7 denotes an 8-bit counter circuit which adds 1 to the count value in response to a count-up instruction from the transmission data comparison circuit 6.
8は加算回路で、送信データ3とカウント回路7のカウント値を加算する。 An adder circuit 8 adds the transmission data 3 and the count value of the count circuit 7.
9は8B10B変換回路で、ギガビットイーサネット(登録商標)(1000BASE−X)規格の8B10B符号化方式に準じて加算回路8からの8ビットデータを10ビットデータに変換する。 Reference numeral 9 denotes an 8B10B conversion circuit which converts 8-bit data from the adder circuit 8 into 10-bit data in accordance with the 8B10B encoding method of the Gigabit Ethernet (registered trademark) (1000BASE-X) standard.
10はパラレル/シリアル変換回路で、8B10B変換回路9からの10ビットデータをシリアルデータに変換し通信線4へ送出する。
A parallel /
11はクロックデータリカバリ回路で、受信したシリアル信号からデータ受信タイミングを生成する。
A clock
12はシリアル/パラレル変換回路で、クロックデータリカバリ回路11からの受信タイミングに同期してシリアルデータを10ビットのパラレルデータに変換する。
13は10B8B変換回路で、10ビットデータを8ビットデータに変換する。 Reference numeral 13 denotes a 10B8B conversion circuit which converts 10-bit data into 8-bit data.
14は位相シフト回路で、データ比較回路15の比較結果によりシリアル/パラレル変換回路12に対してシリアルデータをパラレルデータに変換するデータの区切りを比較結果に応じたビット数分シフトするように指示する。
Reference numeral 14 denotes a phase shift circuit which instructs the serial /
15は受信データ比較回路で、減算回路17からの8ビットデータが前データと同じデータであるかを比較し、同じデータが入力された場合はカウンタ回路16へカウントアップを指示する。
A received
また、受信データ比較回路15は、通信開始の初期状態から後述するトレーニングパターン受信データを受け取ると受信データの位相合わせの為に後述するデータ比較初期化動作を行う。
Further, when receiving the training pattern reception data described later from the initial state of the communication start, the reception
16は8ビットのカウンタ回路で、受信データ比較回路15からのカウントアップ指示によりカウント値を1加算する。
17は減算回路で、10B8B変換回路13からの8ビットデータからカウント回路16のカウント値を減算し8ビットの受信データ5を生成する。
本実施例では、図2に示すカラーレーザビームプリンタ100のコントローラ制御部115からエンジン制御部116へ画像データを数百Mbps〜数Gbpsでデータ転送するシリアル通信部分に適用した例である。
In this embodiment, the present invention is applied to a serial communication portion for transferring image data from the controller control unit 115 to the
図2は本発明のシリアル通信を適用したカラーレーザビームプリンタの断面図であり、同図において、同機能の物には同じ符号を付け、符号の後にa,b,c,dと付けることで色毎の構成である事を示している。 FIG. 2 is a cross-sectional view of a color laser beam printer to which the serial communication of the present invention is applied. In FIG. 2, the same function is given the same reference numeral, and a, b, c, d are added after the reference numeral. It shows that the configuration is for each color.
同図において、100はプリンタ本体である。
In the figure,
101は感光体ドラム、102は感光体ドラム101を均一に帯電する帯電器、103はビデオデータに同期してレーザ光を走査し感光体ドラム101上に潜像を作像するレーザスキャナである。 Reference numeral 101 denotes a photosensitive drum, reference numeral 102 denotes a charger that uniformly charges the photosensitive drum 101, and reference numeral 103 denotes a laser scanner that forms a latent image on the photosensitive drum 101 by scanning a laser beam in synchronization with video data.
104は感光体ドラム101上の潜像を可視化する現像器、105は紙を格納する紙カセット、106は紙カセット105内の紙を本体に給紙する給紙ローラである。
A developing unit 104 visualizes a latent image on the photosensitive drum 101, a
107は給紙ローラ106で給紙された紙を一旦停止し、画像とタイミングを合わせて紙搬送を再開するレジストローラである。
108はトナー像を重ね合わせてカラー画像を転写する中間転写ベルトである。
109は搬送されたに中間転写ベルト108に感光体ドラム1上のトナー像を転写する1次転写器、110は搬送された紙に中間転写ベルト108上のトナー像を転写する2次転写器である。
109 is a primary transfer unit that transfers the toner image on the
111は加熱および加圧する事で紙上のトナー像を定着する定着器、112は紙の有無を判別する排紙センサ、113は紙を機外に排出する排紙ローラ、114は排紙トレイである。
115はコントローラ制御部、116はエンジン制御部である。 115 is a controller control unit, and 116 is an engine control unit.
図3は本発明のシリアル通信を適用したカラーレーザビームプリンタの制御ブロック図であり、117はコントローラ制御部115を制御するCPUで、ホストコンピュータとのインタフェースや図示しない操作部の制御や後述するデータ処理等を行なう。 FIG. 3 is a control block diagram of the color laser beam printer to which the serial communication of the present invention is applied. Reference numeral 117 denotes a CPU for controlling the controller control unit 115, which controls an interface with a host computer, an operation unit (not shown), and data to be described later. Processing is performed.
118はRAMでCPU117やコントローラ制御回路120のデータを一時記憶する。119はROMでCPU117のプログラムメモリである。
A
120はコントローラ制御回路でASIC等に実装され後述するデータ処理をCPU117と分担して行なう。 A controller control circuit 120 is mounted on an ASIC or the like and performs data processing, which will be described later, in a shared manner with the CPU 117.
122は1チップマイクロコントローラで制御用のROM、RAMを内蔵し、後述するエンジンの制御を行なう。 Reference numeral 122 denotes a one-chip microcontroller, which has a built-in control ROM and RAM, and controls the engine described later.
123はエンジン制御回路でASIC等に実装され画像処理とエンジンの制御を1チップマイクロコントローラ122と分担して行なう。
An
124はRAMで、圧縮したビデオデータを一時記憶する。
A
図1、図2、図3を用いてプリンタ100の動作を説明する。
The operation of the
コントローラ制御部115のCPU117はホストコンピュータから印字指令を受けると、図示しないホストインタフェースから印刷データを受信し、RAM118に格納する。
When the CPU 117 of the controller control unit 115 receives a print command from the host computer, it receives print data from a host interface (not shown) and stores it in the
印刷データはページ記述言語により印刷用の情報、ドキュメントのレイアウト情報、プリンタ処理のための命令等から形成されている。 The print data is formed by page description language from printing information, document layout information, instructions for printer processing, and the like.
CPU117はRAM118に格納された印刷データを解釈し、イメージを形成する一連のスキャン行に変換し、そのビットマップデータをRAM118に格納する。
The CPU 117 interprets the print data stored in the
1つのイメージとしてビットマップデータをRAM118上に格納し終わると、CPU117は、エンジン制御部116に対し、図示しないエンジンインタフェースを介して印字指令を送出する。
When the bitmap data is stored in the
次に、CPU117はRAM118上に展開したビットマップデータを送信回路1を介して送出する。
Next, the CPU 117 sends out the bitmap data developed on the
本実施例では、ビットマップデータを1024バイトのパケットに分割し、ヘッタをつけて送信する。 In this embodiment, the bitmap data is divided into 1024-byte packets and transmitted with a header.
ヘッタとしては、8B10B変換回路9で8ビットデータに割り付けれれていない10ビットデータを使用する。 As the header, 10-bit data that is not allocated to 8-bit data by the 8B10B conversion circuit 9 is used.
なお、CPU117は、送信回路1を介してデータ転送を行なう場合に予め通信経路の確立をするため、通信のトレーニングデータとして00hをセットして所定期間(例えば256バイト分)以上のトレーニングパターン送信を行う。
Note that the CPU 117 sets 00h as communication training data in advance when data is transferred via the
また、CPU117は、通信経路の確立処理後、データ送信を行なわない場合もアイドルデータとして00hをセットしてアイドル送信を行う。 Further, the CPU 117 performs idle transmission by setting 00h as idle data even when data transmission is not performed after the communication path establishment processing.
送信回路1はCPU117から図示しないデータ送出開始指示を受け取るとカウンタ7のカウント値を00hにセットし、ビットマップデータを順次加算回路8へ入力し、8B10B変換回路9を経て図示しないヘッタ付加回路でヘッタを付加してデータを送出する。
When the
受信回路2は、一定期間以上受信データに変化が無ければ通信停止とみなし、カウンタ回路16にカウント値を00hをセットし、トレーニングパターンが送出されるまで受信動作を停止する。
The receiving circuit 2 considers that communication has stopped if there is no change in the received data for a certain period of time, sets the count value to 00h in the
受信回路2のクロックデータリカバリ回路11およびシリアル/パラレル変換回路12は、トレーニングパターンを受け取ると受信回路2を活性化し、生成したデータ受信タイミングでシリアルデータを取り込む。
When receiving the training pattern, the clock
取り込んだデータは10B8B変換回路13で8ビットデータに変換され受信データ比較回路15でデータ比較初期動作を行なう。
The fetched data is converted into 8-bit data by the 10B8B conversion circuit 13, and the data comparison initial operation is performed by the reception
データ比較初期動作は、10B8B変換回路13からの8ビットデータと初期パターンデータとを比較し、送信回路1のカウンタ回路7のカウント値と受信回路2のカウンタ回路16のカウント値を合わせる処理である。
The data comparison initial operation is a process of comparing the 8-bit data from the 10B8B conversion circuit 13 with the initial pattern data and matching the count value of the counter circuit 7 of the
送信回路1では、送信データを00hにしたまま送信を続けると、送信データ比較回路6がカウンタ回路7へカウントアップを指示し、カウント回路7のカウント値は+1づつ加算される。
In the
従って、送信データの00hにカウント回路7のカウント値を加算した加算回路8の出力も、00hから+1づつ加算されたデータとなる。 Therefore, the output of the adder circuit 8 obtained by adding the count value of the count circuit 7 to 00h of the transmission data is also data obtained by adding +1 from 00h.
一方、受信回路2の受信データ比較回路15では、10B8B変換回路13からの8ビットデータと、予想されるデータパターン、即ち00hから+1ずつ加算されたデータとして、最初の16バイト分(00h−0Fh)とを比較する。
On the other hand, in the reception
比較した結果、10バイト分のデータのどれとも一致しなければ、位相シフト回路14にシリアルデータを取り込む位相を1バイト分シフトする指示をする。 As a result of the comparison, if none of the 10-byte data matches, the phase shift circuit 14 is instructed to shift the phase for capturing serial data by 1 byte.
比較した結果、10バイト分のデータのどれか1つと一致すれば、その値を送信回路1のカウンタ回路7のカウント値と判断し、カウンタ回路16に一致したデータをセットする。
As a result of the comparison, if it matches any one of the 10-byte data, the value is determined as the count value of the counter circuit 7 of the
データ比較初期動作で送信回路1と受信回路2のカウント値が同じ値になった以降は、送信データ比較回路6と受信データ比較回路15で、繰り返しデータを同様に処理するため、常に送信回路1と受信回路2でカウント値は同じ値となる。
After the count value of the
受信回路2は、10B8B変換回路13でヘッタデータを識別し、パケット化されたデータを受信する。 In the receiving circuit 2, the 10B8B converting circuit 13 identifies the header data and receives the packetized data.
エンジン制御部116はコントローラ115から印字指示を受け印字動作に入ると、レーザスキャナ103と帯電器102をアクティブにし、感光体ドラム101の回転を開始し、受信回路2でビットマップデータが受信されるのを待つ。
When the
ビットマップデータを受信すると、ビットマップデータは、エンジン制御回路123で濃度変換と擬似中間調変換を順次行いビデオデータとして、メモリ24に保持される。
When the bitmap data is received, the bitmap data is stored in the memory 24 as video data by sequentially performing density conversion and pseudo halftone conversion in the
上記処理と並行して、1チップマイクロコントローラ122は、レーザスキャナ103が走査可能になると、現像器104、1次転写器109、2次転写器110に順次、高電圧を印加させ、さらに、定着器111の温度が規定温度になるように制御を開始する。
In parallel with the above processing, when the laser scanner 103 becomes capable of scanning, the one-chip microcontroller 122 sequentially applies a high voltage to the developing device 104, the primary transfer device 109, and the
各部が印字可能な状態になると、1チップマイクロコントローラ122は紙カセット105から用紙を給紙し、図示しない各種センサで紙の搬送状態を監視する。
When each unit is ready for printing, the one-chip microcontroller 122 feeds the paper from the
紙の先端がレジストローラ107に到達すると、1チップマイクロコントローラ122は一旦紙搬送を停止し、メモリ124へビデオデータが格納されるのを待って紙搬送を再開する。
When the leading edge of the paper reaches the
再給紙で紙とのタイミングを調整した1チップマイクロコントローラ122はエンジン制御回路123に指示し、ビデオデータを送出する。
The one-chip microcontroller 122 that has adjusted the timing of paper by refeeding instructs the
ビデオデータは、図示しないレーザ制御回路に入力され、レーザスキャナ103内のレーザを駆動し、ビデオデータで変調されたレーザビームを発生させる。 The video data is input to a laser control circuit (not shown), drives a laser in the laser scanner 103, and generates a laser beam modulated by the video data.
発生したレーザビームは、帯電器102で一様に帯電した感光体ドラム101上を走査し、感光体ドラム101上に静電潜像が形成される。 The generated laser beam scans the photosensitive drum 101 uniformly charged by the charger 102, and an electrostatic latent image is formed on the photosensitive drum 101.
潜像は、現像器104によりトナー像に現像され、トナー像は1次転写器109により搬送されてきた中間転写ベルト108に転写され、2次転写器110により搬送されてきた紙に転写される。
The latent image is developed into a toner image by the developing device 104, and the toner image is transferred to the
トナー像を転写された紙は定着器111を通りトナー像を定着した後、排紙ローラ113により排紙トレイ114に排出される。
The paper onto which the toner image has been transferred passes through the fixing
以上説明した様に、トレーニングパターン送出からデータ通信中まで、送受信回路双方で繰り返しパターンを検出し、通信データを変換するため、同一の処理により繰り返しパターンを無くす事ができ、パターンの繰り返しによる高調波成分を減らす事で放射ノイズを抑える効果がある。 As described above, from the transmission of the training pattern to the time of data communication, both the transmission and reception circuits detect the repeated pattern and convert the communication data, so the repeated pattern can be eliminated by the same process, and the harmonics due to the repeated pattern It has the effect of suppressing radiation noise by reducing the components.
(実施例2)
図4は本発明における第二の実施例を表す図であり、同図において、第一の実施例と同様の物には同じ符号を付けてその説明は省略する。
(Example 2)
FIG. 4 is a diagram showing a second embodiment of the present invention. In FIG. 4, the same components as those in the first embodiment are denoted by the same reference numerals, and the description thereof is omitted.
また、同図において、同機能の物には同じ符号を付け、符号の後にa,b,c,dと付けることで色毎の構成である事を示している。 Further, in the figure, components having the same function are given the same reference numerals, and a, b, c, and d are added after the reference signs to indicate that the configuration is for each color.
なお、図4の構成以外は第一の実施例と同等の構成のため、図4以外の構成の説明も省略する。 Since the configuration other than the configuration of FIG. 4 is the same as that of the first embodiment, the description of the configuration other than that of FIG. 4 is also omitted.
第一の実施例との構成の差異は、各色毎にシリアル通信装置を設けた事である。 The difference from the first embodiment is that a serial communication device is provided for each color.
カラーレーザプリンタ100の印字速度が速くなると、相対的にビットマップデータの転送速度も速くする必要があり、通信線1組では転送が間に合わなくなる。
When the printing speed of the
本実施例では、送信回路1と受信回路2の間のインタフェースにLVDS(低電圧差動伝送)信号を用い、差動信号4組でシリアル伝送を行なう構成とする。
In this embodiment, an LVDS (low voltage differential transmission) signal is used as an interface between the
第一の実施例では、送信回路1と受信回路2のカウンタ回路7、16に対し、初期値を00hとしていた。
In the first embodiment, the initial value is set to 00h for the
本実施例では4組の送信回路1と受信回路2内のカウンタ回路7、16に対して、別々の値を初期値として与える。
In this embodiment, different values are given as initial values to the four sets of the
即ち、送信回路1aと受信回路2a内のカウンタ回路7a、16aに対しては初期値を00hとし、送信回路1bと受信回路2b内のカウンタ回路7b、16bに対しては初期値を33hとする。
That is, the initial value is set to 00h for the counter circuits 7a and 16a in the transmission circuit 1a and the reception circuit 2a, and the initial value is set to 33h for the counter circuits 7b and 16b in the transmission circuit 1b and the
送信回路1cと受信回路2c内のカウンタ回路7c、16cに対しては初期値を66hとし、送信回路1dと受信回路2d内のカウンタ回路7d、16dに対しては初期値を99hとする。
The initial value is set to 66h for the counter circuits 7c and 16c in the transmission circuit 1c and the reception circuit 2c, and the initial value is set to 99h for the counter circuits 7d and 16d in the transmission circuit 1d and the
各色でカウント値の初期値を変えると、4組の送受信回路で同時にトレーニングパターンの送出を開始しても、4組の通信線上の実際に転送されるデータパターンはバラバラになる。 When the initial value of the count value is changed for each color, the data patterns actually transferred on the four sets of communication lines are scattered even if the transmission patterns are simultaneously transmitted by the four sets of transmission / reception circuits.
以上説明した様に、4組の送受信回路のカウンタ回路に対し、それぞれ別の初期値を与える事で、4組のデータが重なり合う確立を減らす事が出来る。 As described above, by giving different initial values to the counter circuits of the four sets of transmission / reception circuits, the probability that the four sets of data overlap each other can be reduced.
(実施例3)
図5は本発明における第三の実施例を表す図であり、同図において、第二の実施例と同様の物には同じ符号を付けてその説明は省略する。
(Example 3)
FIG. 5 is a diagram showing a third embodiment of the present invention. In FIG. 5, the same components as those in the second embodiment are denoted by the same reference numerals, and the description thereof is omitted.
なお、図5の構成以外は第二の実施例と同等のため、図5以外の構成の説明も省略する。 Since the configuration other than the configuration of FIG. 5 is the same as that of the second embodiment, the description of the configuration other than that of FIG. 5 is also omitted.
図5において、18は送信回路1の送信タイミングを決めるクロック信号20を発生する発振回路、19は発振回路18の基準クロックを生成するための発振子、20は発振回路18で生成した送信タイミングを決めるクロック信号である。
In FIG. 5, 18 is an oscillation circuit that generates a clock signal 20 that determines the transmission timing of the
第一の実施例、及び、第二の実施例では、送信回路1の送信タイミングを決めるクロック信号は全て共通であり、その説明は省略していた。
In the first embodiment and the second embodiment, the clock signals that determine the transmission timing of the
本実施例では、4組の送信回路に供給するクロック信号20を別々に設け、それぞれのクロック信号の周期は同一にし、位相をずらす構成とする。 In this embodiment, the clock signals 20 to be supplied to the four sets of transmission circuits are separately provided, the clock signals have the same cycle, and the phases are shifted.
クロック信号20aを基準とした場合、180度を5等分した値分だけ位相をずらし、クロック信号20bは36度、クロック信号20cは72度、クロック信号20dは108度となる。
When the
位相をずらす事で、送信タイミングもずれる事となり、4組同時にデータを転送しても、4組の通信線上の実際に転送されるデータの変化点はバラバラになる。 By shifting the phase, the transmission timing is also shifted, and even if four sets of data are transferred simultaneously, the change points of the actually transferred data on the four sets of communication lines vary.
以上説明した様に、4組の送受信回路に供給するクロックを別々に設け、それぞれ位相をずらす事で、4組のデータの変化点が重なり合う事がなくなる。 As described above, the clocks to be supplied to the four sets of transmission / reception circuits are separately provided and the phases are shifted, so that the four sets of data change points do not overlap.
1 送信回路
2 受信回路
3 送信データ
4 通信線
5 受信データ
1 Transmission Circuit 2 Reception Circuit 3
Claims (2)
入力データを符号化する符号化手段と、
前記符号化手段の入力に対する出力の対応付けを切り替える符号化切り替え手段と、
同一データが連続して入力されたかを判断し、同一データが連続した場合に前記符号化切り替え手段で符号化を切り替える第一の判断手段と、
前記符号化手段で符号化されたデータを送出するシリアル送信手段と、
シリアルデータの受信タイミングを生成するタイミング生成手段と、
前記タイミング生成手段で生成したタイミングに応じてシリアルデータを受信する受信手段と、
前記受信手段で受信した受信データを復号化する復号化手段と、
前記復号化手段の入力に対する出力の対応付けを切り替える復号化切り替え手段と、
前記復号化手段から出力されるデータが連続した同一データかを判断し、同一データが連続した場合に前記復号化切り替え手段で復号化を切り替える第二の判断手段と、
を備えることを特徴とするシリアル通信装置。 In serial communication devices that transfer data between devices,
Encoding means for encoding input data;
Encoding switching means for switching the correspondence of the output to the input of the encoding means;
Determining whether the same data is continuously input, first determination means for switching the encoding by the encoding switching means when the same data is continuous;
Serial transmission means for transmitting data encoded by the encoding means;
Timing generation means for generating serial data reception timing;
Receiving means for receiving serial data according to the timing generated by the timing generating means;
Decoding means for decoding received data received by the receiving means;
Decoding switching means for switching the correspondence of the output to the input of the decoding means;
Determining whether the data output from the decoding means is the same continuous data, and when the same data is continuous, second determination means for switching decoding by the decoding switching means;
A serial communication device comprising:
入力データを符号化する符号化ステップと、
前記符号化ステップの入力に対する出力の対応付けを切り替える符号化切り替えステップと、
同一データが連続して入力されたかを判断し、同一データが連続した場合に前記符号化切り替えステップで符号化を切り替える第一の判断ステップと、
前記符号化ステップで符号化されたデータを送出するシリアル送信ステップと、
シリアルデータの受信タイミングを生成するタイミング生成ステップと、
前記タイミング生成ステップで生成したタイミングに応じてシリアルデータを受信する受信ステップと、
前記受信ステップで受信した受信データを復号化する復号化ステップと、
前記復号化ステップの入力に対する出力の対応付けを切り替える復号化切り替えステップと、
前記復号化ステップから出力されるデータが連続した同一データかを判断し、同一データが連続した場合に前記復号化切り替えステップで復号化を切り替える第二の判断ステップと、
を備えることを特徴とするシリアル通信方法。 In a serial communication method for transferring data between devices,
An encoding step for encoding input data;
An encoding switching step of switching the correspondence of the output to the input of the encoding step;
A first determination step of determining whether the same data is continuously input, and switching the encoding in the encoding switching step when the same data is continuous;
A serial transmission step of transmitting the data encoded in the encoding step;
A timing generation step for generating serial data reception timing;
A receiving step of receiving serial data according to the timing generated in the timing generating step;
A decoding step for decoding the received data received in the receiving step;
A decoding switching step of switching the correspondence of the output to the input of the decoding step;
Determining whether the data output from the decoding step is the same continuous data, a second determination step of switching decoding in the decoding switching step when the same data is continuous;
A serial communication method comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007107170A JP2008270883A (en) | 2007-04-16 | 2007-04-16 | Serial communication apparatus and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007107170A JP2008270883A (en) | 2007-04-16 | 2007-04-16 | Serial communication apparatus and method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2008270883A true JP2008270883A (en) | 2008-11-06 |
Family
ID=40049866
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007107170A Pending JP2008270883A (en) | 2007-04-16 | 2007-04-16 | Serial communication apparatus and method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2008270883A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2021053935A (en) * | 2019-09-30 | 2021-04-08 | セイコーエプソン株式会社 | Liquid discharge device and drive circuit |
-
2007
- 2007-04-16 JP JP2007107170A patent/JP2008270883A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2021053935A (en) * | 2019-09-30 | 2021-04-08 | セイコーエプソン株式会社 | Liquid discharge device and drive circuit |
| JP7363303B2 (en) | 2019-09-30 | 2023-10-18 | セイコーエプソン株式会社 | Liquid ejection device and drive circuit |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2017011455A (en) | Image forming apparatus, communication apparatus, and communication control method | |
| JP2008270883A (en) | Serial communication apparatus and method | |
| JP2009240064A (en) | Power source apparatus and image forming apparatus | |
| JP2005193380A (en) | Image forming apparatus | |
| US9690249B2 (en) | Image forming apparatus that suppresses level of unwanted irradiation | |
| JP2014134635A (en) | Control device of image forming apparatus, control method, and program | |
| US8446601B2 (en) | Control device and image forming apparatus | |
| US10855875B2 (en) | Image forming apparatus, image processing method, and storage medium | |
| JP2019012298A (en) | Electronic apparatus | |
| JP5665301B2 (en) | Color image forming apparatus and control method thereof | |
| JP4433951B2 (en) | Image data transfer method and image data transfer apparatus | |
| JP2015081959A (en) | Image forming apparatus | |
| JP5965858B2 (en) | Image forming apparatus | |
| JP3994546B2 (en) | Data transfer method and data transfer method | |
| JP2008270966A (en) | Image processing apparatus and method | |
| JP2012034077A (en) | Communication apparatus and image forming apparatus with the same | |
| JP2018116423A (en) | Image processing device | |
| KR100461587B1 (en) | Image forming apparatus | |
| JP2010187294A (en) | Data transmission apparatus, image forming system, and program | |
| JP2008262099A (en) | Color image forming apparatus | |
| JP2018014599A (en) | Clock generation device, clock generation method, and image forming apparatus | |
| JP2007221600A (en) | Signal transmission apparatus and image forming apparatus | |
| JP6471560B2 (en) | Writing control apparatus and image forming apparatus | |
| JP2018186384A (en) | Receiving apparatus and image forming apparatus | |
| JP2000059640A (en) | Color image generation device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20100201 |