JPH11187075A - Infrared reception equipment and signal processing method therefor - Google Patents

Infrared reception equipment and signal processing method therefor

Info

Publication number
JPH11187075A
JPH11187075A JP9366042A JP36604297A JPH11187075A JP H11187075 A JPH11187075 A JP H11187075A JP 9366042 A JP9366042 A JP 9366042A JP 36604297 A JP36604297 A JP 36604297A JP H11187075 A JPH11187075 A JP H11187075A
Authority
JP
Japan
Prior art keywords
signal
electric signal
pattern
converted
photoelectric conversion
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
JP9366042A
Other languages
Japanese (ja)
Inventor
Takehiko Kasamatsu
健彦 笠松
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 JP9366042A priority Critical patent/JPH11187075A/en
Publication of JPH11187075A publication Critical patent/JPH11187075A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)
  • Optical Communication System (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide infrared reception equipment and a signal processing method therefor with which probability of the occurrence of communication errors or the like is decreased by transforming to a signal in any possible form an electric signal which is turned into a normally unrealizable form without being converted to a signal with a pulse width determined at the time of photoelectric conversion of an optical pulse in infrared communication. SOLUTION: This equipment has a photoelectric converting part 11 for converting an optical signal of received infrared rays to an electric signal, a filtering part 12 for transforming the electric signal into a determined pattern when the electric signal photoelectric-converted by the converting part 11 is not compatible with the determined pattern, and a decoder 13 for recognizing received data by analyzing the format determined by IrDA standards.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、赤外線受信装置及
び赤外線受信装置における信号処理方法に係り、更に詳
しくは、例えばIrDA通信の4Mbps通信を行う
際、光パルスを電気パルス信号に変換してデータを受け
取る場合にデータを正しく受け取るためのフィルタを有
する赤外線受信装置及び赤外線受信装置における信号処
理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an infrared receiving apparatus and a signal processing method in the infrared receiving apparatus. More specifically, for example, when performing 4 Mbps communication of IrDA communication, an optical pulse is converted into an electric pulse signal to convert data into data. The present invention relates to an infrared receiving device having a filter for correctly receiving data when receiving the data, and a signal processing method in the infrared receiving device.

【0002】[0002]

【従来の技術】従来、IrDA高速通信モードにおいて
は、4Mbpsの速度で通信が可能であるが、送受信波
形については規格で決められており、4PPM方式で行
われることに定められている。図7はその方式について
データパルスとデータの相関を示す図である。受信パル
スはそれぞれ位置によって2ビットの情報を持ち、50
0nsの間を125ns毎の4つの時間に区切り、その
場所によってデータを表しており、(1)〜(4)はそ
れぞれ00、01、10、11の情報を示している。ま
た、(5)のような情報(11の後に00)を受信する
場合、4番目のパルスと1番目のパルスを受信するた
め、通常の2倍のパルス幅になる。これをダブルパルス
と呼んでいる。通常の受信信号はダブルパルスと区別す
るためにシングルパルスと呼んでいる。ダブルパルス
は、上記のような情報を受け取らない限り存在しない。
2. Description of the Related Art Conventionally, in the IrDA high-speed communication mode, communication can be performed at a speed of 4 Mbps. However, transmission and reception waveforms are determined by standards, and are determined to be performed by the 4PPM method. FIG. 7 is a diagram showing a correlation between a data pulse and data in the method. Each received pulse has 2 bits of information depending on the position, and
The interval of 0 ns is divided into four intervals of 125 ns, and data is represented by the locations. (1) to (4) indicate information of 00, 01, 10, and 11, respectively. When information (5) is received (00 after 11), the fourth pulse and the first pulse are received, so that the pulse width is twice as large as the normal pulse width. This is called a double pulse. A normal received signal is called a single pulse to distinguish it from a double pulse. The double pulse does not exist unless the above information is received.

【0003】また、IrDAの規格では、フレーム単位
で通信することが定められている。図8はIrDA規格
のフレームを示す図である。IrDA規格のフレーム
は、図示の如く、プリアンブル、スタートフラグ、アド
レスフィールド、制御フィールド、データフィールド、
FCS、ストップフラグから構成されている。該フレー
ムについての詳細な説明は、IrDA規格により定めら
れているため割愛するが、プリアンブル、スタートフラ
グ、ストップフラグの領域においては、上述したダブル
パルスが存在しないといった箇所に存在することにな
る。
[0003] The IrDA standard specifies that communication be performed in frame units. FIG. 8 is a diagram showing a frame of the IrDA standard. The frame of the IrDA standard includes a preamble, a start flag, an address field, a control field, a data field,
FCS and stop flag. The detailed description of the frame is omitted because it is defined by the IrDA standard. However, in the preamble, start flag, and stop flag areas, the above-mentioned double pulse does not exist.

【0004】赤外線通信装置では、以上のような形態を
有する光パルスを受信した後、光電変換部により光パル
スを電気パルス信号に変換してデータを取り扱うのが通
常である。また、これらのデータを受信する場合、2M
Hzの信号の4PPMの信号を受信するにあたり、8M
Hz相当の信号を受信するのに対して十分に大きな周波
数が必要となり、受信したIrDAのプリアンブル部の
信号により、同期をとった受信用クロックを生成し、受
信を行うこととしている。しかし、この方法を用いるこ
とにより、システム全体のクロックを送られてくる信号
に対して、かなり大きなものを使用していなければなら
ず、システム全体の中でそれらを必要としない場合にお
いては、赤外線通信のためにそのクロックを用意するこ
とになり、非効率的になってしまう。
[0004] In an infrared communication device, after receiving an optical pulse having the above-described form, the optical pulse is usually converted into an electric pulse signal by a photoelectric conversion unit to handle data. When these data are received, 2M
When receiving a signal of 4PPM of a signal of 8 Hz, 8M
A sufficiently large frequency is required to receive a signal corresponding to Hz, and a reception clock synchronized with the received IrDA preamble signal is generated and reception is performed. However, by using this method, the signals coming into the clock of the entire system must be quite large, and if they are not needed throughout the system, The clock is prepared for communication, which is inefficient.

【0005】従来、光電変換においては、ピンフォトダ
イオード等の光電変換素子を使用し、その出力をアンプ
等を使用することで所望のデジタル信号に変換する。後
述する本発明においても、同様な方法を光電変換部では
想定しており、到達する光のダイナミックレンジが大き
かったり、ピンフォトダイオードの立ち上がり、立ち下
がり速度から、必ずしも受信した光パルスの幅の電気パ
ルス信号が得られないということを前提としている。
Conventionally, in photoelectric conversion, a photoelectric conversion element such as a pin photodiode is used, and its output is converted into a desired digital signal by using an amplifier or the like. In the present invention to be described later, a similar method is assumed in the photoelectric conversion unit, and the dynamic range of the arriving light is large, and the electric power of the width of the received light pulse is not necessarily determined based on the rising and falling speeds of the pin photodiode. It is assumed that a pulse signal cannot be obtained.

【0006】[0006]

【発明が解決しようとする課題】ところで、上述したI
rDAの規格においては、受信の光強度についても規定
されているが、赤外線の受信に関しては受信光のダイナ
ミックレンジが非常に大きく、同じ光パルス信号を受信
したとしても、電気パルス信号に変換した場合にパルス
幅を常に光パルスの幅と同じ幅で出力することは、非常
に難しいのが現状である。しかしながら、デコードする
場合、2MHzの4PPM信号で通信するので、信号の
パルスの位置及び幅を正確にデコードする必要がある。
これを正確にデコードするためには、8MHzの信号を
正確に認識しなければならず、例えば48MHzやそれ
以上の非常に速いクロックによりサンプリングを行わな
ければ、正確なデータとして認識できない場合が生じる
可能性がある。
By the way, the above-mentioned I
In the rDA standard, the light intensity of reception is also specified, but the dynamic range of received light is very large for infrared reception, and even if the same optical pulse signal is received, it is converted to an electric pulse signal. At present, it is very difficult to always output the pulse width with the same width as the light pulse. However, in decoding, since communication is performed using a 2 MHz 4PPM signal, it is necessary to accurately decode the pulse position and width of the signal.
In order to decode this correctly, an 8 MHz signal must be accurately recognized. For example, if sampling is not performed with a very fast clock of, for example, 48 MHz or more, there may be cases where accurate data cannot be recognized. There is.

【0007】しかし、通常、インクジェットプリンタ等
に搭載されているプリンタエンジンにおいては、該プリ
ンタエンジンに用いるCPU等はそれほど速いクロック
は使用していないのが現状である。従って、これらの機
器にIrDAを搭載してFIR(Finite Inpulse Re
sponse:有限インパルス応答)通信を実現するに当たっ
ては、FIR通信だけのためにプリンタエンジン制御部
とは別に速いクロックを搭載しなければならず、コスト
面や放射ノイズ、また機器に実装する基板のスペース等
の面から見ても効率的ではないのが現状であった。
[0007] However, in a printer engine mounted on an ink-jet printer or the like, a CPU or the like used for the printer engine does not use a clock that is so fast at present. Therefore, these devices are equipped with IrDA and FIR (Finite Impulse Re)
In order to realize sponse (finite impulse response) communication, a fast clock must be installed separately from the printer engine control unit only for FIR communication, which results in cost and radiation noise, and space for the board mounted on the device. At present, it is not efficient in terms of such factors.

【0008】本発明は、上述した点に鑑みなされたもの
であり、赤外線通信において、光パルスの光電変換時に
決められたパルス幅に変換されずに有り得ない形の電気
信号になってしまった場合に、有り得る形の信号に変換
することにより、通信エラーの確率を減らすこと等を可
能とした赤外線受信装置及び赤外線受信装置における信
号処理方法を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described circumstances. In the case of infrared communication, when an electric signal is not converted into a pulse width determined at the time of photoelectric conversion of an optical pulse and becomes an impossible electric signal. It is another object of the present invention to provide an infrared receiving apparatus and a signal processing method in the infrared receiving apparatus that can reduce the probability of a communication error by converting the signal into a signal of a possible form.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するた
め、請求項1の発明は、所定規格の光のパターンで赤外
線の受信を行う赤外線受信装置であって、受信した赤外
線の光信号を電気信号に変換する光電変換手段と、該光
電変換手段で変換した電気信号が前記パターンに該当し
ない場合、前記パターンとなるように電気信号を変換す
るフィルタ手段とを有することを特徴とする。
In order to achieve the above object, an invention according to claim 1 is an infrared receiving apparatus for receiving infrared light in a light pattern of a predetermined standard, wherein the infrared light signal is received by an electric signal. It is characterized by comprising photoelectric conversion means for converting the electric signal into a signal, and filter means for converting the electric signal into the pattern when the electric signal converted by the photoelectric conversion means does not correspond to the pattern.

【0010】上記目的を達成するため、請求項2の発明
は、前記フィルタ手段は、前記光電変換手段で変換した
電気信号が規定パルス幅よりも長いパルス幅となった場
合、前記パターンとなるように電気信号を変換すること
を特徴とする。
In order to achieve the above object, the invention according to claim 2 is configured such that the filter means forms the pattern when an electric signal converted by the photoelectric conversion means has a pulse width longer than a specified pulse width. It is characterized by converting an electric signal into a signal.

【0011】上記目的を達成するため、請求項3の発明
は、前記フィルタ手段は、前記光電変換手段で変換した
電気信号をディジタル信号としてサンプリングする場
合、転送レートに対して2倍以上の周波数でサンプリン
グを行い、該サンプリングデータをフィルタリングして
前記パターンとなるように電気信号を変換することを特
徴とする。
In order to achieve the above object, the invention according to claim 3 is characterized in that the filter means, when sampling the electric signal converted by the photoelectric conversion means as a digital signal, at a frequency which is at least twice the transfer rate. The method is characterized in that sampling is performed, the sampling data is filtered, and an electric signal is converted so as to have the pattern.

【0012】上記目的を達成するため、請求項4の発明
は、前記フィルタ手段は、IrDA規格の4Mbps通
信による受信時に前記光電変換手段で変換した電気信号
がIrDA規格に有り得ない形の信号となった場合、前
記パターンに該当する信号以外はフィルタリングして有
り得る形の電気信号とすることを特徴とする。
In order to achieve the above object, the invention according to claim 4 is characterized in that the filter means converts the electric signal converted by the photoelectric conversion means into a signal which cannot be in the IrDA standard at the time of reception by IrDA standard 4 Mbps communication. In this case, the signal other than the signal corresponding to the pattern is filtered to obtain a possible electric signal.

【0013】上記目的を達成するため、請求項5の発明
は、プリンタ等の画像形成装置に適用可能であることを
特徴とする。
In order to achieve the above object, the invention according to claim 5 is characterized in that it can be applied to an image forming apparatus such as a printer.

【0014】上記目的を達成するため、請求項6の発明
は、所定規格の光のパターンで赤外線の受信を行う赤外
線受信装置における信号処理方法であって、受信した赤
外線の光信号を電気信号に変換する光電変換ステップ
と、該光電変換ステップで変換した電気信号が前記パタ
ーンに該当しない場合、前記パターンとなるように電気
信号を変換するフィルタステップとを有することを特徴
とする。
According to a sixth aspect of the present invention, there is provided a signal processing method in an infrared receiving apparatus for receiving infrared light in a light pattern of a predetermined standard, wherein the received infrared light signal is converted into an electric signal. The method includes a photoelectric conversion step of converting, and a filter step of converting an electric signal so as to become the pattern when the electric signal converted in the photoelectric conversion step does not correspond to the pattern.

【0015】上記目的を達成するため、請求項7の発明
は、前記フィルタステップでは、前記光電変換ステップ
で変換した電気信号が規定パルス幅よりも長いパルス幅
となった場合、前記パターンとなるように電気信号を変
換することを特徴とする。
In order to achieve the above object, the invention according to claim 7 is characterized in that, in the filter step, when the electric signal converted in the photoelectric conversion step has a pulse width longer than a specified pulse width, the pattern is formed. It is characterized by converting an electric signal into a signal.

【0016】上記目的を達成するため、請求項8の発明
は、前記フィルタステップでは、前記光電変換ステップ
で変換した電気信号をディジタル信号としてサンプリン
グする場合、転送レートに対して2倍以上の周波数でサ
ンプリングを行い、該サンプリングデータをフィルタリ
ングして前記パターンとなるように電気信号を変換する
ことを特徴とする。
In order to achieve the above object, the invention according to claim 8 is characterized in that in the filtering step, when the electric signal converted in the photoelectric conversion step is sampled as a digital signal, the frequency is twice or more as high as the transfer rate. The method is characterized in that sampling is performed, the sampling data is filtered, and an electric signal is converted so as to have the pattern.

【0017】上記目的を達成するため、請求項9の発明
は、前記フィルタステップでは、IrDA規格の4Mb
ps通信による受信時に前記光電変換ステップで変換し
た電気信号がIrDA規格に有り得ない形の信号となっ
た場合、前記パターンに該当する信号以外はフィルタリ
ングして有り得る形の電気信号とすることを特徴とす
る。
In order to achieve the above object, the invention according to claim 9 is characterized in that in the filtering step, the IrDA standard of 4 Mb
When the electric signal converted in the photoelectric conversion step becomes a signal that cannot be in compliance with the IrDA standard at the time of reception by ps communication, the signal other than the signal corresponding to the pattern is filtered to be a possible electric signal. I do.

【0018】上記目的を達成するため、請求項10の発
明は、プリンタ等の画像形成装置に適用可能であること
を特徴とする。
In order to achieve the above object, the invention according to claim 10 is characterized in that it can be applied to an image forming apparatus such as a printer.

【0019】[0019]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0020】図1は本発明の実施の形態に係る赤外線通
信装置の赤外線受信回路における受信した光信号のデー
タの流れを示すブロック図である。本発明の実施の形態
に係る赤外線受信回路は、光電変換部11と、フィルタ
部12と、デコード部13とを備えている。光電変換部
11は、受光部を有しており、受光部を介して入光した
パルス光をパルス幅に応じた電気パルス信号に変換す
る。フィルタ部12は、光電変換部11で変換された電
気パルス信号にフィルタリングを施し、デコード部13
に転送する。デコード部13は、IrDA信号の解析部
であり、フィルタ部12から転送された信号のIrDA
規格に定められた形式を解析し、受信データを認識す
る。
FIG. 1 is a block diagram showing a data flow of a received optical signal in the infrared receiving circuit of the infrared communication apparatus according to the embodiment of the present invention. The infrared receiving circuit according to the embodiment of the present invention includes a photoelectric conversion unit 11, a filter unit 12, and a decoding unit 13. The photoelectric conversion unit 11 has a light receiving unit, and converts the pulse light incident through the light receiving unit into an electric pulse signal according to the pulse width. The filter unit 12 performs filtering on the electric pulse signal converted by the photoelectric conversion unit 11,
Transfer to The decoding unit 13 is an analysis unit of the IrDA signal, and detects the IrDA of the signal transferred from the filter unit 12.
Analyzes the format specified in the standard and recognizes received data.

【0021】上記各部の動作を説明すると、先ず、受信
する光は、受光部を有する光電変換部11に入光する。
光電変換部11では、入光したパルス光をパルス幅に応
じた電気パルス信号に変換する。電気パルス信号に変換
された信号は、IrDA規格に定められた光パルス信号
と同等のパルス幅を有しているはずであるが、規格に定
められている受光しなければならない赤外線受信光のダ
イナミックレンジが非常に大きく設定されているため、
受光した光強度によっては光電変換部11で変換された
パルス信号が、必ずしも規格に合致した電気パルス信
号、もしくは受光した光パルスのパルス幅の電気パルス
信号に変換されないという可能性が生じる。例えば図2
に示す如く、受信した光パルス幅よりも長い電気パルス
信号になってしまうことがある。図2(A)は受信した
光パルスの波形、図2(B)は光電変換後の電気パルス
の波形を示す。
The operation of each unit will be described. First, light to be received enters a photoelectric conversion unit 11 having a light receiving unit.
The photoelectric conversion unit 11 converts the input pulse light into an electric pulse signal corresponding to the pulse width. The signal converted into the electric pulse signal should have the same pulse width as the optical pulse signal specified in the IrDA standard, but the dynamics of the infrared received light that must be received specified in the standard Because the range is set very large,
Depending on the intensity of the received light, there is a possibility that the pulse signal converted by the photoelectric conversion unit 11 is not always converted into an electric pulse signal conforming to the standard or an electric pulse signal having a pulse width of the received light pulse. For example, FIG.
As shown in FIG. 7, the electric pulse signal may be longer than the received optical pulse width. FIG. 2A shows a waveform of a received optical pulse, and FIG. 2B shows a waveform of an electric pulse after photoelectric conversion.

【0022】上記のようにして変換された電気パルス信
号はフィルタ部12へ送られる。フィルタ部12では、
光電変換部11で変換された電気パルス信号にフィルタ
リングを施し、IrDA信号の解析部であるデコード部
13に転送する。フィルタ部12におけるフィルタリン
グの詳細に関しては後述する。デコード部13は、フィ
ルタ部12から送られた信号のIrDA規格に定められ
た形式を解析し、受信したデータを認識する動作を行
う。こうして受信したデータは、目的に応じて各種処理
が施されることになる。
The electric pulse signal converted as described above is sent to the filter unit 12. In the filter unit 12,
The electric pulse signal converted by the photoelectric conversion unit 11 is filtered and transferred to a decoding unit 13 which is an analysis unit of the IrDA signal. Details of the filtering in the filter unit 12 will be described later. The decoding unit 13 analyzes the format specified in the IrDA standard of the signal sent from the filter unit 12 and performs an operation of recognizing the received data. The data thus received is subjected to various processes according to the purpose.

【0023】次に、上述したフィルタ部12の働きを説
明する。フィルタ部12は、本来シングルパルスとして
受信したはずの光をダブルパルスとして認識してしまう
のを防ぐという目的で、本発明において赤外線通信装置
に付加したものである。光電変換部11において電気信
号に変換された光信号は、光電変換の感度等によりパル
ス幅が長くなってしまうことがある。これをディジタル
な信号としてする際、サンプリングレートが低い場合、
受信した信号のタイミングによっては、シングルパルス
をダブルパルスとして受信してしまうことがある。これ
をそのままデコード部13で解析しようとすると、本来
IrDAでは有り得ない信号となり、通信エラーが発生
し、通信が行えない状態に陥る危険性を秘めている。
Next, the operation of the filter unit 12 will be described. The filter unit 12 is added to the infrared communication device in the present invention for the purpose of preventing light that should have been received as a single pulse from being recognized as a double pulse. The optical signal converted into an electric signal in the photoelectric conversion unit 11 may have a longer pulse width due to the sensitivity of the photoelectric conversion or the like. When converting this to a digital signal, if the sampling rate is low,
Depending on the timing of the received signal, a single pulse may be received as a double pulse. If this is analyzed by the decoding unit 13 as it is, it becomes a signal that cannot be originally achieved by IrDA, and a communication error occurs, and there is a danger that communication may not be performed.

【0024】これを示したのが図3である。図3(A)
の受信電気信号については、パルス幅は125nsに対
して僅かに長いだけであるが、これを図3(B)の16
MHzのサンプリングクロックでサンプリングすると、
図3(C)のような長さの信号となってしまう。この場
合、パルス幅は187.5nsとなり、IrDAの規格
では有り得ない信号となってしまう。これを結局8MH
zで再びサンプリングしなければならないので、図3
(C)の信号は、タイミングによって、ダブルパルスと
して認識されるかシングルパルスとして認識されるかは
不明となってしまう。
FIG. 3 shows this. FIG. 3 (A)
3B, the pulse width is only slightly longer than 125 ns.
When sampling with a sampling clock of MHz,
The signal has a length as shown in FIG. In this case, the pulse width is 187.5 ns, which is a signal that cannot be satisfied by the IrDA standard. This is eventually 8MH
Since it is necessary to sample again at z, FIG.
Whether the signal (C) is recognized as a double pulse or a single pulse is unknown depending on the timing.

【0025】ところが、IrDA通信においては、決め
られたコード以外は存在しない規格なので、本来シング
ルパルスで受信したであろう信号は、その構造からシン
グルパルスとして認識が可能である。この動作を行うの
がフィルタ部12の働きである。即ち、フィルタ部12
は、上述した如く、本来シングルパルスとして受信した
はずの光をダブルパルスとして認識してしまうのを防ぐ
という目的で、赤外線通信装置に付加したものである。
However, in IrDA communication, since there is no standard except for a predetermined code, a signal that would have been received as a single pulse can be recognized as a single pulse due to its structure. Performing this operation is the function of the filter unit 12. That is, the filter unit 12
Is added to the infrared communication apparatus for the purpose of preventing light that should have been received as a single pulse from being recognized as a double pulse as described above.

【0026】それでは、具体的にフィルタリングの条
件、即ち、受信した光がダブルパルスかシングルパルス
かを判断する基準を次に説明する。IrDAの4MHz
通信においては、通信はフレーム単位で行うことが定め
られており、上記図8はそのフレームの構造を示したも
のである。この中のプリアンブル、スタートフラグ、ス
トップフラグの領域以外は4PPMの信号で通信が行わ
れる。従って、上記図7の(5)の状態の時の場合だけ
ダブルパルスが発生する。
Next, the filtering conditions, that is, the criteria for judging whether the received light is a double pulse or a single pulse will be described below. IrDA 4MHz
In the communication, it is specified that the communication is performed in frame units, and FIG. 8 shows the structure of the frame. Communication is performed using a 4PPM signal in areas other than the preamble, start flag, and stop flag areas. Therefore, a double pulse is generated only in the state of (5) in FIG.

【0027】次に、プリアンブルの場合について説明す
る。プリアンブルの波形を光を受信しているときを1、
受信していないときを0として、125ns毎で4ビッ
トを一つのまとまりとして表し、0と1で羅列してみる
と、「1000、0000、1010、1000」とい
うコードを16回繰り返すことになっている。従って、
プリアンブルのときにはダブルパルスは存在しない。ま
た、「0000」及び「1010」という通常の4PP
M信号では有り得ない形をとることがある。
Next, the case of a preamble will be described. 1 when the preamble waveform is receiving light
When no data is received, 0 is represented as one unit for every 125 ns, and a code of "1000, 0000, 1010, 1000" is repeated 16 times. I have. Therefore,
There are no double pulses in the preamble. Also, normal 4PP “0000” and “1010”
In some cases, the signal may take a form that cannot be achieved with the M signal.

【0028】次に、スタートフラグであるが、これも同
様に表すと、「0000、1100、0000、110
0、0110、0000、0110、0000」を送る
ように規定されている。この場合、「0000」、「1
100」、「0110」の形をとることが有り得る。ス
トップフラグについては、「0000、1100、00
00、1100、0000、0110、0000、01
10」を送るように規定されている。この場合、「00
00」、「1100」、「0110」の形をとることが
有り得る。
Next, the start flag is represented in the same manner as "0000, 1100, 0000, 110".
0, 0110, 0000, 0110, 0000 ". In this case, "0000", "1"
100 "and" 0110 ". Regarding the stop flag, “0000, 1100, 00
00, 1100, 0000, 0110, 0000, 01
10 "is specified. In this case, "00
00 "," 1100 ", and" 0110 ".

【0029】これらを総合した場合、受信した信号を1
25ns×4ビット毎に区切って見た場合、「000
1」の場合は次の信号が「1000」、「0000」の
場合は次の信号が「1100」或いは「0110」、
「1100」の場合は次の信号が「0110」となる場
合のみ、ダブルパルスを受信した可能性があると言え
る。また、トリプルパルスは発生しないので、これもダ
ブルパルスに変換できる。
When these are combined, the received signal becomes 1
When viewed as 25 ns x 4 bits, "000
In the case of "1", the next signal is "1000", in the case of "0000", the next signal is "1100" or "0110",
In the case of “1100”, it can be said that there is a possibility that a double pulse has been received only when the next signal is “0110”. Further, since no triple pulse is generated, this can also be converted to a double pulse.

【0030】次に、その条件を各ビット毎に詳細に説明
する。図9は上記で求めた条件を各ビット毎に表したも
のである。B1からB4はそれぞれ判断されるデータで
あり、125ns×4ビットの最初の1ビットから順に
4ビットを表すことにする。また、C1〜C4について
は、判断されるビットのB1〜B4についての前の4ビ
ットのデータを表したものとする。
Next, the conditions will be described in detail for each bit. FIG. 9 shows the conditions obtained above for each bit. B1 to B4 are data to be determined, and represent 4 bits in order from the first 1 bit of 125 ns × 4 bits. For C1 to C4, it is assumed that the preceding four bits of data for the determined bits B1 to B4 are represented.

【0031】先ず、図中、通常と書いてある部分につい
ては、通常の4PPM通信を行った場合の条件を示して
いる。この場合、4箇所の内1箇所にしかデータの存在
している箇所は無いはずである。従って、B1について
は条件は存在せず、B2についてはB1にデータが存在
しない場合、B3についてはB1、B2ともにデータが
存在しない場合、B4についてはB1〜B3まで全てに
データが存在しない場合にデータが存在するという条件
になる。
First, in the figure, the portion where "normal" is written indicates conditions under which normal 4PPM communication is performed. In this case, there should be only one of the four locations where data exists. Therefore, no condition exists for B1, no data exists for B2 for B2, no data exists for both B1 and B2 for B3, and no data exists for all of B1 to B3 for B4. The condition is that data exists.

【0032】次に、プリアンブルの時の条件を説明す
る。上述したように、前の4ビットのデータが全て0の
場合、B1のデータ及びB3のデータが両方1の場合が
ある。従って、前の4ビットのデータが全て0の場合で
且つB1=1の場合のみ、B3=1の状態が存在するこ
とがあるので、その条件を付け加えることが必要であ
る。
Next, conditions for the preamble will be described. As described above, when all the previous 4-bit data are 0, both the data of B1 and the data of B3 may be 1. Therefore, the state of B3 = 1 may exist only when the previous 4-bit data is all 0 and B1 = 1, and it is necessary to add the condition.

【0033】また、スタートフラグ、ストップフラグの
場合の条件を説明する。先ず、前の4ビットが全て0の
場合、B1=B2=1、B3=B4=0、或いは、B1
=B4=0、B2=B3=1の場合が生じる。従って、
B2の条件は、前の4ビット全てが0の場合、1が存在
する可能性がある、という条件が加わる。また、B3に
ついては、前の4ビット全てが0で尚且つB1=0の場
合に1が存在する場合が生じる。次に、前の4ビットが
1100の並びだった場合については、B1=B4=
0、B2=B3=1の場合が生じる。このときはB3に
ついて、前の4ビットが1100だった場合、B3=1
となる場合が生じるという可能性が生じる。以上の条件
が、受信信号でダブルパルスが生じる場合、また、1つ
の領域で2つのビットが1になる場合である。
The conditions for the start flag and the stop flag will be described. First, when all the previous 4 bits are 0, B1 = B2 = 1, B3 = B4 = 0, or B1 = B2 = 0.
= B4 = 0 and B2 = B3 = 1. Therefore,
The condition of B2 is added with a condition that if all the previous 4 bits are 0, there is a possibility that 1 exists. As for B3, there is a case where all the previous 4 bits are 0 and 1 is present when B1 = 0. Next, for the case where the previous 4 bits are arranged in a sequence of 1100, B1 = B4 =
0, B2 = B3 = 1. At this time, if the previous 4 bits are 1100 for B3, B3 = 1
There is a possibility that the following case may occur. The above conditions are the case where a double pulse occurs in the received signal, and the case where two bits become 1 in one region.

【0034】図4は本発明の実施の形態に係る赤外線通
信装置のフィルタ部12の概要を示すブロック図であ
る。フィルタ部12は、サンプリング部40と、データ
ラッチ部41と、フィルタリング論理回路42と、デー
タ保管部43と、データ転送用パラレル/シリアル変換
部44と、データ制御用信号生成部45とを備えてい
る。図中実線の矢印がデータの流れ、点線の矢印がデー
タ制御線の流れを示しており、光電変換されたデータを
Data−in、フィルタリングされた後のデータをd
ata−outとする。
FIG. 4 is a block diagram showing an outline of the filter section 12 of the infrared communication apparatus according to the embodiment of the present invention. The filter unit 12 includes a sampling unit 40, a data latch unit 41, a filtering logic circuit 42, a data storage unit 43, a data transfer parallel / serial conversion unit 44, and a data control signal generation unit 45. I have. In the figure, a solid arrow indicates a data flow, and a dotted arrow indicates a data control line. The photoelectrically converted data is Data-in, and the filtered data is d.
data-out.

【0035】上記各部の構成を動作と共に詳述すると、
最初に光電変換された電気パルス信号を、サンプリング
部40でサンプリングに必要な周波数の8MHzの2倍
以上の倍数周波数でサンプリングを行う。例えば16M
Hzでサンプリングを行うことにする(clock−1
6M)。ここで既に信号は16MHzのパルス信号にな
っている。このとき、サンプリングしたデータは、連続
して2つ以上のデータがない場合にはスパイクノイズと
して削除する構成としてもよい。
The structure of each of the above-mentioned parts will be described in detail together with the operation.
First, the electrical pulse signal that has been photoelectrically converted is sampled by the sampling unit 40 at a multiple frequency that is at least twice the frequency required for sampling, that is, 8 MHz. For example, 16M
Hz sampling (clock-1).
6M). Here, the signal is already a 16 MHz pulse signal. At this time, the sampled data may be deleted as spike noise when two or more data are not continuously present.

【0036】次に、上記の16MHzの信号から、デー
タ制御用信号生成部45において、周波数8MHzのデ
ータシフト用のクロック(clock−8M)を生成す
る。そのクロックにより、サンプリング部40でサンプ
リングされた信号をシフトレジスタの構成を有するデー
タラッチ部41に入力していく。また、データ制御用信
号生成部45で、8MHzの信号を4つ出したときに発
生させるデータロード用信号(load)を生成する。
その信号は、4ビット溜まった場合にフィルタリング論
理回路42を通過したデータを、データ保管部43及び
データ転送用パラレル/シリアル変換部44でラッチす
ることになる。
Next, the data control signal generator 45 generates a data shift clock (clock-8M) having a frequency of 8 MHz from the above 16 MHz signal. In response to the clock, the signal sampled by the sampling unit 40 is input to the data latch unit 41 having a shift register configuration. Further, the data control signal generation unit 45 generates a data load signal (load) generated when four 8 MHz signals are output.
The data, which has passed through the filtering logic circuit 42 when 4 bits are accumulated, is latched by the data storage unit 43 and the parallel / serial conversion unit 44 for data transfer.

【0037】このとき、データラッチ部41において、
データが4つ進む毎にこの動作を行うことにより、正確
にデータを転送できることになるので、そのためにデー
タ制御用信号生成部45においては、ロードするタイミ
ングを生成し、そのタイミングのときにデータ保管部4
3及びデータ転送用パラレル/シリアル変換部44にお
いてデータをロードすることにして、データが4ビット
送った毎にロード信号を発生させるものである。このと
きのフィルタリング論理回路42は、上述した図9の条
件に合致したものを通過させるような論理回路となって
いる。
At this time, in the data latch section 41,
By performing this operation every time the data advances by four, the data can be transferred accurately. Therefore, the data control signal generation unit 45 generates a loading timing and stores the data at that timing. Part 4
3 and the data transfer parallel / serial conversion unit 44 loads the data, and generates a load signal every time 4 bits of data are transmitted. At this time, the filtering logic circuit 42 is a logic circuit that passes a filter that meets the conditions of FIG. 9 described above.

【0038】上記のようにして生成されたデータは、次
の4ビットを判断するためのデータ保管部43及びデー
タ転送用パラレル/シリアル変換部44へ同時に送られ
る。データ転送用パラレル/シリアル変換部44では、
8MHzのクロック毎にシリアル変換されて、IrDA
コードの解析部であるデコード部13へ送られていく。
The data generated as described above is simultaneously sent to the data storage unit 43 and the data transfer parallel / serial conversion unit 44 for determining the next 4 bits. In the data transfer parallel / serial converter 44,
Serial conversion is performed for each 8 MHz clock, and IrDA
It is sent to a decoding unit 13 which is a code analysis unit.

【0039】以上の処理を繰り返すことにより、IrD
Aの受信が終了するまで繰り返し行う。上記のようにし
て生成したパルスは、既にIrDA規格に有り得る形の
信号である可能性が高い状態に変換されている。例え
ば、入力に「0001、1001、1000」という信
号が入ってきた場合、「000110001000」と
いう信号に変換され、正しいIrDAの有り得る形とな
ってデコード部13に送られることになる。
By repeating the above processing, IrD
Repeat until the reception of A is completed. The pulse generated as described above has already been converted into a state in which it is highly likely that the signal is a signal in a form that can be used in the IrDA standard. For example, when a signal “0001, 1001, 1000” enters the input, the signal is converted to a signal “000110001000” and sent to the decoding unit 13 in a form that can have a correct IrDA.

【0040】以上のような論理回路の例として図5のよ
うな回路をあげておく。図5はフィルタ部12を構成す
るデータラッチ部41、フィルタリング論理回路42、
データ保管部43、データ転送用パラレル/シリアル変
換部44の構成例を示す回路図である。データラッチ部
41〜データ転送用パラレル/シリアル変換部44は上
記図4のものに対応させている。図5において、データ
ラッチ部41は、D−FF(Dフリップフロップ)41
a、41b、41c、41dを備えている。また、フィ
ルタリング論理回路42は、AND素子42a、42
b、42c、42d、42e、42f、42g、OR素
子42h、42i、42j、42k、排他的論理和素子
42mを備えている。また、データ保管部43は、D−
FF43a、43b、43c、43dを備えている。
A circuit as shown in FIG. 5 is given as an example of such a logic circuit. FIG. 5 shows a data latch unit 41, a filtering logic circuit 42,
4 is a circuit diagram illustrating a configuration example of a data storage unit 43 and a data transfer parallel / serial conversion unit 44. FIG. The data latch section 41 to the data transfer parallel / serial conversion section 44 correspond to those in FIG. In FIG. 5, a data latch unit 41 includes a D-FF (D flip-flop) 41.
a, 41b, 41c, and 41d. The filtering logic circuit 42 includes AND elements 42a and 42a.
b, 42c, 42d, 42e, 42f, 42g, OR elements 42h, 42i, 42j, 42k, and exclusive OR element 42m. Further, the data storage unit 43 stores the D-
FFs 43a, 43b, 43c and 43d are provided.

【0041】上記各部の信号供給状態及び接続状態を説
明すると、上記データ制御用信号生成部45から出力さ
れるデータシフト用のクロック(clock−8M)
は、D−FF41a〜41dの各クロック入力、AND
素子42eの入力、データ転送用パラレル/シリアル変
換部44の入力へ各々供給される。また、上記データ制
御用信号生成部45から出力されるデータロード用信号
(load)は、D−FF43a〜43dの各クロック
入力、データ転送用パラレル/シリアル変換部44の入
力へ各々供給される。
The signal supply state and connection state of each section will be described. A data shift clock (clock-8M) output from the data control signal generation section 45 will be described.
Are the clock inputs of the D-FFs 41a to 41d, AND
The input is supplied to the input of the element 42e and the input of the parallel / serial conversion unit 44 for data transfer. The data load signal (load) output from the data control signal generation unit 45 is supplied to each clock input of the D-FFs 43a to 43d and an input of the data transfer parallel / serial conversion unit 44.

【0042】D−FF41aのQ出力は、D−FF41
bのD入力、AND素子42aの入力へ各々供給され、
D−FF41bのQ出力は、D−FF41cのD入力、
AND素子42a、42b、42cの各入力へ各々供給
され、D−FF41cのQ出力は、D−FF41dのD
入力、AND素子42a、42b、42d、42e、排
他的論理和素子42mの各入力へ各々供給され、D−F
F41dのQ出力は、AND素子42a、42b、42
dの各入力、D−FF43dのD入力、データ転送用パ
ラレル/シリアル変換部44の入力へ各々供給される。
The Q output of the D-FF 41a is
b, and are supplied to the input of the AND element 42a, respectively.
The Q output of the D-FF 41b is the D input of the D-FF 41c,
The Q output of the D-FF 41c is supplied to the respective inputs of the AND elements 42a, 42b, and 42c.
The input is supplied to each input of AND elements 42a, 42b, 42d, 42e and exclusive OR element 42m, and DF
The Q output of F41d is connected to AND elements 42a, 42b, 42
d, each input of the D-FF 43d, and the input of the parallel / serial conversion unit 44 for data transfer.

【0043】AND素子42b、42cの各出力は、O
R素子42hの各入力へ各々供給され、AND素子42
d、42eの各出力は、OR素子42iの各入力へ各々
供給される。AND素子42aの出力は、D−FF43
aのD入力、データ転送用パラレル/シリアル変換部4
4の入力へ各々供給され、OR素子42hの出力は、D
−FF43bのD入力、データ転送用パラレル/シリア
ル変換部44の入力へ各々供給され、OR素子42iの
出力は、D−FF43cのD入力、データ転送用パラレ
ル/シリアル変換部44の入力へ各々供給される。
The outputs of the AND elements 42b and 42c are
The respective signals are supplied to the respective inputs of the R element 42h, and the AND element 42
Each output of d and 42e is supplied to each input of OR element 42i. The output of the AND element 42a is a D-FF 43
D input of a, parallel / serial converter 4 for data transfer
4 and the output of the OR element 42h is D
The D input of the FF 43b and the input of the parallel / serial conversion unit 44 for data transfer are supplied to the D input of the D-FF 43c and the input of the parallel / serial conversion unit 44 for data transfer, respectively. Is done.

【0044】D−FF43aのQ出力は、AND素子4
2f、OR素子42kの各入力へ各々供給され、D−F
F43bのQ出力は、AND素子42f、OR素子42
kの各入力へ各々供給され、D−FF43cのQ出力
は、AND素子42f、OR素子42kの各入力へ各々
供給され、D−FF43dのQ出力は、AND素子42
f、OR素子42kの各入力へ各々供給される。
The Q output of the D-FF 43a is connected to the AND element 4
2f, supplied to each input of the OR element 42k,
The Q output of F43b is supplied to an AND element 42f and an OR element 42f.
k is supplied to each input of the D-FF 43c, the Q output of the D-FF 43c is supplied to each input of the AND element 42f and the OR element 42k, and the Q output of the D-FF 43d is supplied to the AND element 42d.
f, and are supplied to respective inputs of the OR element 42k.

【0045】AND素子42fの出力は、OR素子42
jに入力へ供給され、OR素子42kの出力は、AND
素子42gの入力へ供給され、排他的論理和素子42m
の出力は、AND素子42gの入力へ供給され、AND
素子42f、42gの各出力は、OR素子42jの入力
へ各々供給され、OR素子42jの出力は、AND素子
42cの入力へ供給される。この場合、上記のD−FF
は、D入力の状態をQ出力にとらえて次のクロックの立
ち上がりまで一定に保つ。
The output of the AND element 42f is
j and the output of the OR element 42k is AND
The exclusive OR element 42m is supplied to the input of the element 42g.
Is supplied to the input of an AND element 42g,
Each output of the elements 42f and 42g is supplied to an input of an OR element 42j, and an output of the OR element 42j is supplied to an input of an AND element 42c. In this case, the above D-FF
Captures the state of the D input as the Q output and keeps it constant until the next rising edge of the clock.

【0046】即ち、図5に示す構成により、上述した如
く、データシフト用のクロック(clock−8M)に
より、サンプリング部40でサンプリングされた信号を
データラッチ部41に入力していく。また、データロー
ド用信号(load)は、4ビット溜まった場合にフィ
ルタリング論理回路42を通過したデータを、データ保
管部43及びデータ転送用パラレル/シリアル変換部4
4でラッチする。データは、次の4ビットを判断するた
めのデータ保管部43及びデータ転送用パラレル/シリ
アル変換部44へ同時に送られ、8MHzのクロック毎
にシリアル変換される。
That is, according to the configuration shown in FIG. 5, the signal sampled by the sampling section 40 is input to the data latch section 41 by the data shift clock (clock-8M) as described above. The data load signal (load) is a data storage unit 43 and a data transfer parallel / serial conversion unit 4 which store the data that has passed through the filtering logic circuit 42 when 4 bits are accumulated.
Latch at 4. The data is simultaneously sent to a data storage unit 43 for determining the next 4 bits and a parallel / serial conversion unit 44 for data transfer, and is serially converted every 8 MHz clock.

【0047】また、図6は上記のデータ制御用信号生成
部45によって生成される信号のタイミングを示したも
のである。clock−8M信号の4回に1回load
信号を出すことにより、4PPMの信号をデータ転送用
パラレル/シリアル変換部44及びデータ保管部43が
loadできるように制御する。また、最初の4ビット
については、プリアンブル時に最初に来たデータを基準
として回数を数え始めることにより、4PPMの信号と
して正しく認識できるものとする。
FIG. 6 shows the timing of the signal generated by the data control signal generator 45 described above. Load once every 4 times of clock-8M signal
By outputting the signal, the 4 PPM signal is controlled so that the data transfer parallel / serial conversion unit 44 and the data storage unit 43 can load the signal. The first 4 bits can be correctly recognized as a 4PPM signal by starting to count the number of times based on the first data at the time of the preamble.

【0048】以上説明したように、本発明の実施の形態
によれば、赤外線通信装置の赤外線受信回路は、受信し
た赤外線の光信号を電気信号に変換する光電変換部11
と、光電変換部11で光電変換した電気信号が決められ
たパターンに該当しない場合、決められたパターンとな
るように電気信号を変換するフィルタ部12と、IrD
A規格に定められた形式を解析し、受信データを認識す
るデコード部13とを有し、前記フィルタ部12は、光
電変換部11で変換した電気信号が規定パルス幅よりも
長いパルス幅となった場合、前記パターンとなるように
電気信号を変換し、光電変換部11で変換した電気信号
をディジタル信号としてサンプリングする場合、転送レ
ートに対して2倍以上の周波数でサンプリングを行い、
サンプリングデータをフィルタリングして前記パターン
となるように電気信号を変換し、IrDA規格の4Mb
ps通信による受信時に光電変換部11で変換した電気
信号がIrDA規格に有り得ない形の信号となった場
合、前記パターンに該当する信号以外はフィルタリング
して有り得る形の電気信号とする処理を行うため、下記
のような効果を奏する。
As described above, according to the embodiment of the present invention, the infrared receiving circuit of the infrared communication device includes the photoelectric conversion unit 11 for converting the received infrared optical signal into an electric signal.
And a filter unit 12 that converts the electric signal so that the electric signal obtained by the photoelectric conversion by the photoelectric conversion unit 11 does not correspond to the determined pattern so as to have the determined pattern.
A decoding unit 13 for analyzing a format defined in the A standard and recognizing the received data, wherein the filter unit 12 is configured such that the electric signal converted by the photoelectric conversion unit 11 has a pulse width longer than a specified pulse width. In this case, when the electric signal is converted so as to have the pattern, and the electric signal converted by the photoelectric conversion unit 11 is sampled as a digital signal, sampling is performed at a frequency twice or more the transfer rate,
The sampling data is filtered to convert the electric signal into the pattern described above, and the IrDA standard of 4 Mb
When the electric signal converted by the photoelectric conversion unit 11 at the time of reception by the ps communication becomes a signal that cannot be in compliance with the IrDA standard, a signal other than the signal corresponding to the pattern is filtered into a possible signal. The following effects are obtained.

【0049】IrDA等の赤外線通信において、FIR
のデータを受信する際、本来シングルパルスの信号をダ
ブルパルスとして認識してしまった場合に、受信したデ
ータよりも前のデータを参照することによりシングルパ
ルスに戻して、データエラーを引き起こさないようにす
るに当たって、サンプリング周波数を出来るだけ小さく
した場合、前の4つのデータを保管しておき、その4つ
のデータの内、ダブルパルスになる可能性のある場合だ
けを除いて全てデータを無くしてしまうことにより、受
信によるエラーを無くし、通信エラーの確率を少なくす
ることが可能となる。
In infrared communication such as IrDA, FIR
When receiving a single data signal, if a single pulse signal is originally recognized as a double pulse, the data is returned to a single pulse by referring to the data before the received data so that a data error does not occur. In doing so, if the sampling frequency is reduced as much as possible, save the previous four data and delete all of the four data except when there is a possibility of a double pulse. Accordingly, it is possible to eliminate errors due to reception and reduce the probability of communication errors.

【0050】即ち、IrDA等の赤外線通信において、
光パルスを光電変換した際に、決められたパルス幅に変
換されずに長いパルスになってしまった場合等で、有り
得ない形の電気信号になってしまった場合に、有り得る
形の信号に変換することにより、通信エラーの確率を減
らすことができるという効果がある。また、受信信号に
対して2倍以上の倍数周波数のサンプリングにより、信
号をフィルタリングすることが可能であり、特別に受信
信号サンプリングのために速いクロックを使用すること
なく、受信信号にフィルタリングを行うことができ、低
コスト化等を図ることができるという効果がある。更
に、IrDA規格の通信に限らず、PPM通信を行う
際、データの信号が不安定な場合において使用すること
ができるという効果がある。
That is, in infrared communication such as IrDA,
When an optical pulse is converted into an impossible form, such as when it is converted into a long pulse without being converted to a fixed pulse width when photoelectrically converted, it is converted into a possible form signal By doing so, there is an effect that the probability of a communication error can be reduced. In addition, it is possible to filter the signal by sampling the received signal at a multiple frequency of twice or more, and to perform filtering on the received signal without using a fast clock for sampling the received signal. Therefore, there is an effect that cost reduction and the like can be achieved. Furthermore, the present invention is not limited to the IrDA standard communication, and has an effect that it can be used when data signals are unstable when performing PPM communication.

【0051】尚、本発明は、複数の機器から構成される
システムに適用しても、1つの機器からなる装置に適用
してもよい。また、本発明は、例えばプリンタ等の画像
形成装置に適用することも可能である。即ち、本発明の
赤外線受信装置が適用されるプリンタ等の画像形成装置
において赤外線通信を行う場合、上記と同様に、通信エ
ラーの確率を減らすことができる、低コスト化を図るこ
とができる等の効果を奏することができる。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of one device. Further, the present invention can be applied to an image forming apparatus such as a printer. That is, when performing infrared communication in an image forming apparatus such as a printer to which the infrared receiving apparatus of the present invention is applied, similarly to the above, the probability of a communication error can be reduced, cost can be reduced, and the like. The effect can be achieved.

【0052】[0052]

【発明の効果】以上説明したように、請求項1の発明に
よれば、所定規格の光のパターンで赤外線の受信を行う
赤外線受信装置であって、受信した赤外線の光信号を電
気信号に変換する光電変換手段と、該光電変換手段で変
換した電気信号が前記パターンに該当しない場合、前記
パターンとなるように電気信号を変換するフィルタ手段
とを有する。即ち、例えばIrDA等の赤外線通信にお
いて、上記のように、光パルスを光電変換した際に、電
気信号が前記パターンに該当しない場合(決められたパ
ルス幅に変換されずに長いパルスになってしまった場合
等で、有り得ない形の電気信号になってしまった場合)
に、前記パターンとなるように電気信号を変換する(有
り得る形の信号に変換する)ことにより、通信エラーの
確率を減らすことができるという効果がある。また、I
rDA規格の通信に限らず、PPM通信を行う際、デー
タの信号が不安定な場合において使用することができる
という効果がある。
As described above, according to the first aspect of the present invention, there is provided an infrared receiving apparatus for receiving infrared light in a light pattern of a predetermined standard, wherein the received infrared light signal is converted into an electric signal. And a filter for converting an electric signal so that the electric signal becomes the pattern when the electric signal converted by the photoelectric conversion means does not correspond to the pattern. That is, for example, in infrared communication such as IrDA, when an optical signal does not correspond to the pattern when the optical pulse is photoelectrically converted as described above (a long pulse is generated without being converted to a predetermined pulse width). If the electrical signal is in an impossible form due to
Furthermore, there is an effect that the probability of a communication error can be reduced by converting an electric signal (converting into a signal of a possible form) so as to form the pattern. Also, I
The present invention is not limited to the communication of the rDA standard, and has an effect that it can be used when data signals are unstable when performing PPM communication.

【0053】請求項2の発明によれば、赤外線受信装置
の前記フィルタ手段は、前記光電変換手段で変換した電
気信号が規定パルス幅よりも長いパルス幅となった場
合、前記パターンとなるように電気信号を変換する。即
ち、例えばIrDA等の赤外線通信において、上記のよ
うに、光パルスを光電変換した際に、決められたパルス
幅に変換されずに長いパルスになってしまった場合に、
前記パターンとなるように電気信号を変換する(有り得
る形の信号に変換する)ことにより、通信エラーの確率
を減らすことができるという効果がある。
According to the second aspect of the present invention, the filter unit of the infrared receiving apparatus is configured to form the pattern when the electric signal converted by the photoelectric conversion unit has a pulse width longer than a specified pulse width. Convert electrical signals. That is, for example, in infrared communication such as IrDA, as described above, when a light pulse is photoelectrically converted and becomes a long pulse without being converted to a determined pulse width,
By converting the electric signal (converting the signal into a possible signal) so as to have the pattern, there is an effect that the probability of a communication error can be reduced.

【0054】請求項3の発明によれば、赤外線受信装置
の前記フィルタ手段は、前記光電変換手段で変換した電
気信号をディジタル信号としてサンプリングする場合、
転送レートに対して2倍以上の周波数でサンプリングを
行い、該サンプリングデータをフィルタリングして前記
パターンとなるように電気信号を変換する。即ち、上記
のように、受信信号に対して2倍以上の倍数周波数のサ
ンプリングを行うことにより、信号をフィルタリングす
ることが可能であり、特別に受信信号サンプリングのた
めに速いクロックを使用することなく、受信信号にフィ
ルタリングを行うことができ、低コスト化等を図ること
ができるという効果がある。
According to the third aspect of the present invention, when the filter means of the infrared receiving apparatus samples the electric signal converted by the photoelectric conversion means as a digital signal,
Sampling is performed at a frequency twice or more as high as the transfer rate, and the sampling data is filtered to convert an electric signal into the pattern. That is, as described above, it is possible to filter a signal by sampling a received signal at a multiple frequency that is twice or more, without using a fast clock for sampling a received signal. In addition, it is possible to perform filtering on the received signal, and to reduce the cost.

【0055】請求項4の発明によれば、赤外線受信装置
の前記フィルタ手段は、IrDA規格の4Mbps通信
による受信時に前記光電変換手段で変換した電気信号が
IrDA規格に有り得ない形の信号となった場合、前記
パターンに該当する信号以外はフィルタリングして有り
得る形の電気信号とする。即ち、IrDA規格の赤外線
通信において、上記のように、光パルスを光電変換した
際に、有り得ない形の電気信号になってしまった場合
に、有り得る形の信号に変換することにより、通信エラ
ーの確率を減らすことができるという効果がある。
According to the fourth aspect of the present invention, the filter means of the infrared receiver has a signal in a form in which the electric signal converted by the photoelectric conversion means at the time of reception by IrDA-compliant 4 Mbps communication is impossible with the IrDA standard. In this case, a signal other than the signal corresponding to the pattern is filtered to obtain a possible electric signal. That is, in the infrared communication of the IrDA standard, as described above, when an optical pulse is converted into an impossible form of an electric signal when photoelectrically converted, as described above, a communication error of the form is possible by converting the signal into a possible form of signal. The effect is that the probability can be reduced.

【0056】請求項5の発明によれば、赤外線受信装置
は、プリンタ等の画像形成装置に適用可能である。従っ
て、本発明の赤外線受信装置が適用されるプリンタ等の
画像形成装置において赤外線通信を行う場合、上記と同
様に、通信エラーの確率を減らすことができる、低コス
ト化を図ることができる等の効果がある。
According to the invention of claim 5, the infrared receiving apparatus is applicable to an image forming apparatus such as a printer. Therefore, when performing infrared communication in an image forming apparatus such as a printer to which the infrared receiving apparatus of the present invention is applied, similarly to the above, the probability of communication errors can be reduced, cost can be reduced, and the like. effective.

【0057】請求項6の発明によれば、所定規格の光の
パターンで赤外線の受信を行う赤外線受信装置における
信号処理方法であって、受信した赤外線の光信号を電気
信号に変換する光電変換ステップと、該光電変換ステッ
プで変換した電気信号が前記パターンに該当しない場
合、前記パターンとなるように電気信号を変換するフィ
ルタステップとを有する。即ち、例えばIrDA等の赤
外線通信において、上記のように、光パルスを光電変換
した際に、電気信号が前記パターンに該当しない場合
(決められたパルス幅に変換されずに長いパルスになっ
てしまった場合等で、有り得ない形の電気信号になって
しまった場合)に、前記パターンとなるように電気信号
を変換する(有り得る形の信号に変換する)ことによ
り、通信エラーの確率を減らすことができるという効果
がある。また、IrDA規格の通信に限らず、PPM通
信を行う際、データの信号が不安定な場合において使用
することができるという効果がある。
According to a sixth aspect of the present invention, there is provided a signal processing method in an infrared receiving apparatus for receiving infrared light in a light pattern of a predetermined standard, comprising: a photoelectric conversion step of converting a received infrared light signal into an electric signal; And a filter step of converting the electric signal so that the electric signal converted in the photoelectric conversion step does not correspond to the pattern so that the electric signal becomes the pattern. That is, for example, in infrared communication such as IrDA, when an optical signal does not correspond to the pattern when the optical pulse is photoelectrically converted as described above (a long pulse is generated without being converted to a predetermined pulse width). (E.g., when the electrical signal is in an improbable form, for example), the probability of a communication error is reduced by converting the electric signal so as to have the pattern (converting to a possible form signal). There is an effect that can be. Further, the present invention is not limited to the IrDA standard communication, and has an effect that it can be used when data signals are unstable when performing PPM communication.

【0058】請求項7の発明によれば、赤外線受信装置
における信号処理方法の前記フィルタステップでは、前
記光電変換ステップで変換した電気信号が規定パルス幅
よりも長いパルス幅となった場合、前記パターンとなる
ように電気信号を変換する。即ち、例えばIrDA等の
赤外線通信において、上記のように、光パルスを光電変
換した際に、決められたパルス幅に変換されずに長いパ
ルスになってしまった場合に、前記パターンとなるよう
に電気信号を変換する(有り得る形の信号に変換する)
ことにより、通信エラーの確率を減らすことができると
いう効果がある。
According to the seventh aspect of the present invention, in the filtering step of the signal processing method in the infrared receiving apparatus, when the electric signal converted in the photoelectric conversion step has a pulse width longer than a specified pulse width, The electric signal is converted so that That is, for example, in the infrared communication such as IrDA, when the optical pulse is photoelectrically converted, as described above, when the pulse is not converted into a predetermined pulse width and becomes a long pulse, the pattern becomes the above-described pattern. Convert electrical signals (convert to possible signal)
This has the effect of reducing the probability of a communication error.

【0059】請求項8の発明によれば、赤外線受信装置
における信号処理方法の前記フィルタステップでは、前
記光電変換ステップで変換した電気信号をディジタル信
号としてサンプリングする場合、転送レートに対して2
倍以上の周波数でサンプリングを行い、該サンプリング
データをフィルタリングして前記パターンとなるように
電気信号を変換する。即ち、上記のように、受信信号に
対して2倍以上の倍数周波数のサンプリングを行うこと
により、信号をフィルタリングすることが可能であり、
特別に受信信号サンプリングのために速いクロックを使
用することなく、受信信号にフィルタリングを行うこと
ができ、低コスト化等を図ることができるという効果が
ある。
According to the eighth aspect of the present invention, in the filtering step of the signal processing method in the infrared receiving apparatus, when the electric signal converted in the photoelectric conversion step is sampled as a digital signal, the transfer rate is 2
Sampling is performed at twice or more the frequency, and the sampling data is filtered to convert the electric signal into the pattern. That is, as described above, it is possible to filter the signal by sampling the received signal at a multiple frequency of twice or more,
There is an effect that the received signal can be filtered without using a fast clock for sampling the received signal, and the cost can be reduced.

【0060】請求項9の発明によれば、赤外線受信装置
における信号処理方法の前記フィルタステップでは、I
rDA規格の4Mbps通信による受信時に前記光電変
換ステップで変換した電気信号がIrDA規格に有り得
ない形の信号となった場合、前記パターンに該当する信
号以外はフィルタリングして有り得る形の電気信号とす
る。即ち、IrDA規格の赤外線通信において、上記の
ように、光パルスを光電変換した際に、有り得ない形の
電気信号になってしまった場合に、有り得る形の信号に
変換することにより、通信エラーの確率を減らすことが
できるという効果がある。
According to the ninth aspect of the present invention, in the above-mentioned filtering step of the signal processing method in the infrared receiving apparatus,
When the electric signal converted in the photoelectric conversion step becomes a signal that cannot be in compliance with the IrDA standard at the time of reception by the rDA standard 4 Mbps communication, signals other than those corresponding to the pattern are filtered to be possible signals. That is, in the infrared communication of the IrDA standard, as described above, when an optical pulse is converted into an impossible form of an electric signal when photoelectrically converted, as described above, a communication error of the form is possible by converting the signal into a possible form of signal. The effect is that the probability can be reduced.

【0061】請求項10の発明によれば、赤外線受信装
置における信号処理方法は、プリンタ等の画像形成装置
に適用可能である。従って、本発明の赤外線受信装置に
おける信号処理方法が適用されるプリンタ等の画像形成
装置において赤外線通信を行う場合、上記と同様に、通
信エラーの確率を減らすことができる、低コスト化を図
ることができる等の効果がある。
According to the tenth aspect, the signal processing method in the infrared receiving device is applicable to an image forming apparatus such as a printer. Therefore, when performing infrared communication in an image forming apparatus such as a printer to which the signal processing method in the infrared receiving apparatus of the present invention is applied, the probability of a communication error can be reduced and cost reduction can be achieved as in the above. There are effects such as being able to.

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

【図1】本発明の実施の形態に係る赤外線通信装置の赤
外線受信回路における受信した光信号のデータの流れを
示すブロック図である。
FIG. 1 is a block diagram showing a data flow of a received optical signal in an infrared receiving circuit of an infrared communication device according to an embodiment of the present invention.

【図2】受信信号の一例を示すタイムチャートであり、
(A)は受信した光パルスを示すタイムチャート、
(B)は光電変換後の電気パルスを示すタイムチャート
である。
FIG. 2 is a time chart showing an example of a received signal;
(A) is a time chart showing the received light pulse,
(B) is a time chart showing electric pulses after photoelectric conversion.

【図3】受信信号のサンプリング例を示すタイムチャー
トであり、(A)はパルス信号を示す説明図、(B)は
サンプリングクロックを示すタイムチャート、(C)は
サンプリング後の信号を示すタイムチャートである。
3A and 3B are time charts showing an example of sampling of a received signal, wherein FIG. 3A is an explanatory diagram showing a pulse signal, FIG. 3B is a time chart showing a sampling clock, and FIG. 3C is a time chart showing a signal after sampling; It is.

【図4】本発明の実施の形態に係る赤外線通信装置のフ
ィルタ部の概要を示すブロック図である。
FIG. 4 is a block diagram illustrating an outline of a filter unit of the infrared communication device according to the embodiment of the present invention.

【図5】本発明の実施の形態に係る赤外線通信装置のフ
ィルタ部を構成するデータラッチ部、フィルタリング論
理回路、データ保管部、データ転送用パラレル/シリア
ル変換部の構成例を示す回路図である。
FIG. 5 is a circuit diagram illustrating a configuration example of a data latch unit, a filtering logic circuit, a data storage unit, and a data transfer parallel / serial conversion unit that constitute a filter unit of the infrared communication device according to the embodiment of the present invention. .

【図6】本発明の実施の形態に係るデータ制御用信号の
一例を示すタイムチャートである。
FIG. 6 is a time chart showing an example of a data control signal according to the embodiment of the present invention.

【図7】IrDA規格によるデータパルスとデータの相
関を示すタイムチャートである。
FIG. 7 is a time chart showing a correlation between a data pulse and data according to the IrDA standard.

【図8】IrDA規格のフレームの構造を示す説明図で
ある。
FIG. 8 is an explanatory diagram showing a structure of a frame of the IrDA standard.

【図9】本発明の実施の形態に係る条件を各ビット毎に
表した説明図である。
FIG. 9 is an explanatory diagram showing a condition according to the embodiment of the present invention for each bit.

【符号の説明】[Explanation of symbols]

11 光電変換部 12 フィルタ部 13 デコード部 40 サンプリング部 41 データラッチ部 42 フィルタリング論理回路 43 データ保管部 44 データ転送用パラレル/シリアル変換部 45 データ制御用信号生成部 Reference Signs List 11 photoelectric conversion unit 12 filter unit 13 decoding unit 40 sampling unit 41 data latch unit 42 filtering logic circuit 43 data storage unit 44 data transfer parallel / serial conversion unit 45 data control signal generation unit

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 所定規格の光のパターンで赤外線の受信
を行う赤外線受信装置であって、 受信した赤外線の光信号を電気信号に変換する光電変換
手段と、該光電変換手段で変換した電気信号が前記パタ
ーンに該当しない場合、前記パターンとなるように電気
信号を変換するフィルタ手段とを有することを特徴とす
る赤外線受信装置。
1. An infrared receiver for receiving infrared light in a light pattern of a predetermined standard, comprising: a photoelectric conversion means for converting a received infrared light signal into an electric signal; and an electric signal converted by the photoelectric conversion means. And a filter means for converting an electric signal so that the pattern becomes the pattern when the pattern does not correspond to the pattern.
【請求項2】 前記フィルタ手段は、前記光電変換手段
で変換した電気信号が規定パルス幅よりも長いパルス幅
となった場合、前記パターンとなるように電気信号を変
換することを特徴とする請求項1記載の赤外線受信装
置。
2. The apparatus according to claim 1, wherein the filter unit converts the electric signal so as to have the pattern when the electric signal converted by the photoelectric conversion unit has a pulse width longer than a specified pulse width. Item 7. The infrared receiver according to Item 1.
【請求項3】 前記フィルタ手段は、前記光電変換手段
で変換した電気信号をディジタル信号としてサンプリン
グする場合、転送レートに対して2倍以上の周波数でサ
ンプリングを行い、該サンプリングデータをフィルタリ
ングして前記パターンとなるように電気信号を変換する
ことを特徴とする請求項1記載の赤外線受信装置。
3. When sampling the electric signal converted by the photoelectric conversion unit as a digital signal, the filter unit performs sampling at a frequency twice or more as high as a transfer rate, and filters the sampled data. 2. The infrared receiving apparatus according to claim 1, wherein the electric signal is converted into a pattern.
【請求項4】 前記フィルタ手段は、IrDA(Infrare
d Data Association)規格の4Mbps通信による受信
時に前記光電変換手段で変換した電気信号がIrDA規
格に有り得ない形の信号となった場合、前記パターンに
該当する信号以外はフィルタリングして有り得る形の電
気信号とすることを特徴とする請求項1記載の赤外線受
信装置。
4. The filter means includes an IrDA (Infrare
d Data Association) When the electric signal converted by the photoelectric conversion means becomes a signal that cannot be in the IrDA standard at the time of reception by the 4 Mbps communication of the standard, an electric signal in a form that can be filtered and possible other than the signal corresponding to the pattern. The infrared receiving apparatus according to claim 1, wherein:
【請求項5】 プリンタ等の画像形成装置に適用可能で
あることを特徴とする請求項1乃至4の何れかに記載の
赤外線受信装置。
5. The infrared receiving apparatus according to claim 1, wherein the infrared receiving apparatus is applicable to an image forming apparatus such as a printer.
【請求項6】 所定規格の光のパターンで赤外線の受信
を行う赤外線受信装置における信号処理方法であって、 受信した赤外線の光信号を電気信号に変換する光電変換
ステップと、該光電変換ステップで変換した電気信号が
前記パターンに該当しない場合、前記パターンとなるよ
うに電気信号を変換するフィルタステップとを有するこ
とを特徴とする赤外線受信装置における信号処理方法。
6. A signal processing method in an infrared receiving apparatus for receiving infrared light with a light pattern of a predetermined standard, comprising: a photoelectric conversion step of converting a received infrared light signal into an electric signal; A filter step of converting the electric signal so that the converted electric signal does not correspond to the pattern so that the electric signal becomes the pattern.
【請求項7】 前記フィルタステップでは、前記光電変
換ステップで変換した電気信号が規定パルス幅よりも長
いパルス幅となった場合、前記パターンとなるように電
気信号を変換することを特徴とする請求項6記載の赤外
線受信装置における信号処理方法。
7. The method according to claim 1, wherein in the filtering step, when the electric signal converted in the photoelectric conversion step has a pulse width longer than a specified pulse width, the electric signal is converted so as to have the pattern. Item 7. A signal processing method in the infrared receiver according to Item 6.
【請求項8】 前記フィルタステップでは、前記光電変
換ステップで変換した電気信号をディジタル信号として
サンプリングする場合、転送レートに対して2倍以上の
周波数でサンプリングを行い、該サンプリングデータを
フィルタリングして前記パターンとなるように電気信号
を変換することを特徴とする請求項6記載の赤外線受信
装置における信号処理方法。
8. In the filtering step, when sampling the electric signal converted in the photoelectric conversion step as a digital signal, the sampling is performed at a frequency twice or more as high as a transfer rate, and the sampling data is filtered to perform the sampling. 7. The method according to claim 6, wherein the electric signal is converted into a pattern.
【請求項9】 前記フィルタステップでは、IrDA規
格の4Mbps通信による受信時に前記光電変換ステッ
プで変換した電気信号がIrDA規格に有り得ない形の
信号となった場合、前記パターンに該当する信号以外は
フィルタリングして有り得る形の電気信号とすることを
特徴とする請求項6記載の赤外線受信装置における信号
処理方法。
9. In the filtering step, when the electric signal converted in the photoelectric conversion step becomes a signal that cannot be compliant with the IrDA standard at the time of reception by IrDA standard 4 Mbps communication, filtering is performed on signals other than the signal corresponding to the pattern. 7. The signal processing method in the infrared receiving apparatus according to claim 6, wherein the electric signal is a possible electric signal.
【請求項10】 プリンタ等の画像形成装置に適用可能
であることを特徴とする請求項6乃至9の何れかに記載
の赤外線受信装置における信号処理方法。
10. The signal processing method in an infrared receiving apparatus according to claim 6, wherein the signal processing method is applicable to an image forming apparatus such as a printer.
JP9366042A 1997-12-24 1997-12-24 Infrared reception equipment and signal processing method therefor Pending JPH11187075A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9366042A JPH11187075A (en) 1997-12-24 1997-12-24 Infrared reception equipment and signal processing method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9366042A JPH11187075A (en) 1997-12-24 1997-12-24 Infrared reception equipment and signal processing method therefor

Publications (1)

Publication Number Publication Date
JPH11187075A true JPH11187075A (en) 1999-07-09

Family

ID=18485778

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9366042A Pending JPH11187075A (en) 1997-12-24 1997-12-24 Infrared reception equipment and signal processing method therefor

Country Status (1)

Country Link
JP (1) JPH11187075A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7054361B1 (en) 2000-05-31 2006-05-30 Thomson Licensing Method and apparatus for enhancing an infrared signal protocol
JP2008301472A (en) * 2007-05-01 2008-12-11 Sharp Corp Data transmitter, data transmission method, data transmission and reception system, data transmission program and recording medium therefor, data receiver, data reception method, and data reception program and recording medium therefor
US8248960B2 (en) 2007-05-01 2012-08-21 Sharp Kabushiki Kaisha Data transmission with dynamic modulation scheme and/or transfer rate

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7054361B1 (en) 2000-05-31 2006-05-30 Thomson Licensing Method and apparatus for enhancing an infrared signal protocol
JP2008301472A (en) * 2007-05-01 2008-12-11 Sharp Corp Data transmitter, data transmission method, data transmission and reception system, data transmission program and recording medium therefor, data receiver, data reception method, and data reception program and recording medium therefor
US8248960B2 (en) 2007-05-01 2012-08-21 Sharp Kabushiki Kaisha Data transmission with dynamic modulation scheme and/or transfer rate

Similar Documents

Publication Publication Date Title
US7693244B2 (en) Encoding, clock recovery, and data bit sampling system, apparatus, and method
WO1994022248A1 (en) Determination of optimal clock signal for sampling a packet
US4686676A (en) Apparatus and method for determining true data in a digital data stream from distorted data
US5220582A (en) Optical bus transmission method and transmitting-side encoder and receiving-side decoder therefor
JPH11187075A (en) Infrared reception equipment and signal processing method therefor
US6232796B1 (en) Apparatus and method for detecting two data bits per clock edge
US5274673A (en) Optical bus transmission method and transmitting-side encoder and receiving-side decoder therefor
US7082484B2 (en) Architecture for advanced serial link between two cards
US4885583A (en) Serial to parallel data conversion system
JP3177877B2 (en) Waveform separation shaping method and apparatus
FR2643481A1 (en) METHOD AND DEVICE FOR TRANSMITTING INFORMATION BETWEEN STATIONS IN A COMMUNICATION NETWORK, IN PARTICULAR FOR A MOTOR VEHICLE
JP3035817B2 (en) Clock recovery device
JP3351214B2 (en) Control information transmission method
KR0183344B1 (en) Pcm format exchange apparatus in pbx
JP2006303731A (en) Communication system and electronic equipment
JP3449942B2 (en) SDH frame signal monitoring circuit
US5684849A (en) Digital circuit for detecting coincidence of two successive words of incoming serial data and a method thereof
JPH0633718Y2 (en) Semiconductor integrated circuit
KR20200110675A (en) Signal integrity diagnostic routine for communication channels
JP3024528B2 (en) Timing transfer circuit
JPH0470040A (en) Interface bus extending device
JP2794994B2 (en) Data transmission speed converter
JPH0378819B2 (en)
JP2000295108A (en) Signal processing unit
JPH1028146A (en) Code error correcting device