JP2007249942A - Interface device and image forming apparatus with the same - Google Patents

Interface device and image forming apparatus with the same Download PDF

Info

Publication number
JP2007249942A
JP2007249942A JP2007007009A JP2007007009A JP2007249942A JP 2007249942 A JP2007249942 A JP 2007249942A JP 2007007009 A JP2007007009 A JP 2007007009A JP 2007007009 A JP2007007009 A JP 2007007009A JP 2007249942 A JP2007249942 A JP 2007249942A
Authority
JP
Japan
Prior art keywords
signal
lvds
interface device
parallel
transmission direction
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
JP2007007009A
Other languages
Japanese (ja)
Inventor
Nobuto Komoda
宣人 菰田
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2007007009A priority Critical patent/JP2007249942A/en
Publication of JP2007249942A publication Critical patent/JP2007249942A/en
Priority to US12/014,499 priority patent/US8203976B2/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide two-way transmission by an LVDS (Low Voltage Differential Signaling) of a parallel signal such as a CPU bus. <P>SOLUTION: This interface device is provided with a function block having: a parallel/serial conversion part 1 for converting a parallel signal into a single end signal; an LVDS driver 3 for converting the single end signal from the parallel/serial conversion part 1 into an LVDS output; an LVDS receiver 4 for converting the LVDS signal into a single end signal; and a serial/parallel conversion part 2 for converting the single end signal from the LVDS receiver 4 into a parallel signal, uses the parallel/serial conversion means 1 and the LVDS driver 3 for data transmission, and uses the LVDS receiver 4 and the serial/parallel conversion part 2 for data reception, wherein the function block is mounted on one package, and a transmission direction control signal 8 for switching a transmission direction function of the function block achieves two-way communication by the LVDS of a parallel signal. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、データバスなどのパラレル信号の双方向伝送に係わり、特に、LVDS(Low Voltage Differential Signaling)による双方向伝送を実現するインターフェース装置及びこのインターフェース装置を備えた画像形成装置に関する。   The present invention relates to bidirectional transmission of parallel signals such as a data bus, and more particularly to an interface device that realizes bidirectional transmission by LVDS (Low Voltage Differential Signaling) and an image forming apparatus including the interface device.

近年のデータ通信システムにおいて、バスによるデータ転送が行われており、このバスのようなパラレルの信号は、信号線が平行に並んでいるため、信号先の中を電流が流れることによって発生する磁力が他の信号に干渉して電磁誘導により意図しない電流が流れ、誤動作をするという信号の干渉や、配線長が微妙に異なることによって発生する信号の遅延などが発生する。   In recent data communication systems, data transfer is performed by a bus. Since parallel signals such as this bus are arranged in parallel, the magnetic force generated by the current flowing through the signal destination. Interference with other signals causes unintended currents to flow due to electromagnetic induction, resulting in signal interference that causes malfunctions, signal delays that occur due to slight differences in wiring length, and the like.

このようなパラレル信号で長距離伝送を実施した場合に、信号の干渉を防ぐために信号線の間にGNDを挿入するなどの対策による信号線(電線)の増加や、配線経路中の抵抗による信号波形のなまりや崩れによる信号の誤検知、または配線長の差異が大きくなることに伴う信号間の遅延が発生する虞がある。このような課題や不具合を解消するため、長距離伝送にはUSB、IEEE1394等のシリアル通信が有用であるが、これらの信号には複雑なプロトコルが必要であり、端末相互間の信号の授受に関して、信号の遅延などの不具合は発生しないが、EMI(不要電磁波)に絡む低ノイズの通信に関しては必ずしもよい通信とは言えない。   When long-distance transmission is performed using such parallel signals, an increase in signal lines (electric wires) due to measures such as inserting GND between signal lines to prevent signal interference, or signals due to resistance in the wiring path There is a possibility that signal misdetection due to waveform rounding or distortion, or delay between signals due to an increase in wiring length difference may occur. In order to solve such problems and problems, serial communication such as USB and IEEE 1394 is useful for long-distance transmission. However, these signals require a complicated protocol. Although problems such as signal delay do not occur, low-noise communication involving EMI (unwanted electromagnetic waves) is not necessarily good communication.

そこで、低ノイズの長距離通信を実現するために、現在では、1本の信号線に対して2本の信号線を使用して、その信号線間で引き算をすることによって、信号線にのったノイズをキャンセルするという、差動方式の信号伝達方式がある。さらに、その2本の信号線の位相を反転させて、電圧の振幅を半分にし、より低電圧でノイズの少ない伝送方式がLVDSである。しかし、現状でこのLVDSによる通信は、1方向の通信しか実現されておらず、データバスのような双方向の通信を実現しているものはないというのが現状である。   Therefore, in order to realize long-distance communication with low noise, currently, two signal lines are used for one signal line, and subtraction is performed between the signal lines. There is a differential signal transmission method that cancels noise. Further, LVDS is a transmission system that inverts the phase of the two signal lines to halve the amplitude of the voltage and has a lower voltage and less noise. However, at present, the communication by LVDS is realized only in one direction, and there is no one that realizes bidirectional communication like a data bus.

バスのような多数の信号線をLVDSに変換するBLVDS(Bus LVDS)といったものは実用化されているが、1本の伝送線は1方向の通信しか行わず、また、LVDSのデバイスとして、双方向を実現しているものはあるが、これはそれぞれの信号の方向に対してそれぞれ信号線を用意しており、これを用いてバスのような信号線の多い通信を実現するのは、それだけデバイスと通信用の電線が必要になり、コスト高を招くこととなる。もちろん、CPUバス等の既存のバス形態の信号をLVDSで伝送することは不可能であり、実現しようとすると、データバスの双方向伝送の他に、アドレスバスやその他制御信号が必要で、その分さらにコストアップになる。   BLVDS (Bus LVDS), which converts a large number of signal lines such as buses into LVDS, has been put to practical use, but a single transmission line can only communicate in one direction, and both can be used as LVDS devices. There are some that realize the direction, but this is prepared for each signal direction, and it is only that that realizes communication with many signal lines such as buses using this. Devices and communication wires are required, resulting in high costs. Of course, it is impossible to transmit an existing bus form signal such as a CPU bus by LVDS, and if it is to be realized, an address bus and other control signals are required in addition to the bidirectional transmission of the data bus. Further cost increases.

まず、本実施例1に係るインターフェース装置が適用される複写機における現状の通信形態について説明する。広幅機のような大型の複写機を例に取ると、例えば、CPUを搭載しているPCB(プリント回路基板)から、各制御負荷へ信号を長距離に渡って這い回している。そして、複写機は、一般的に、読み取り部、書き込み部、メイン制御部、転写紙給紙部等で構成されているが、例えば、読み取り部であれば、広幅の原稿サイズを検出するためのセンサが必要であり、仮にA4,A3,A2,A1,A0,B4,B3,B2,B1の原稿幅を検出しようとするならば、少なくとも、原稿サイズの種類分、例えば9個のセンサが必要になる。   First, the current communication mode in a copier to which the interface apparatus according to the first embodiment is applied will be described. Taking a large copying machine such as a wide-width machine as an example, for example, a signal is sent over a long distance from a PCB (printed circuit board) on which a CPU is mounted to each control load. A copying machine generally includes a reading unit, a writing unit, a main control unit, a transfer paper feeding unit, and the like. For example, a reading unit detects a wide document size. If sensors are required, and if it is intended to detect the document widths of A4, A3, A2, A1, A0, B4, B3, B2, and B1, at least the number of document sizes, for example, nine sensors are required. become.

ここで、9個のセンサをメイン制御部から制御しようとすると、センサは、駆動電源と信号で少なくとも3本の信号線が必要であり、合計27本もの信号線(電線)を長距離に渡って這い回すことになる。当然、各ユニットで、多くの負荷を制御する必要があるので、マシン(複写機)全体で、かなりの本数の電線が這い回ることになる。これだけのハーネスを這い回すということは、ノイズという観点からも大きな課題が生じ、マシンにハーネスを組付けるということでも作業性が悪く、また、電線の線数によるコストアップに繋がる。   Here, if nine sensors are to be controlled from the main control unit, the sensor requires at least three signal lines for the drive power supply and signals, and a total of 27 signal lines (electric wires) over a long distance. Will crawl around. Naturally, since it is necessary to control many loads in each unit, a considerable number of wires run around the entire machine (copier). When such a harness is wound around, a great problem arises from the viewpoint of noise, and assembling the harness to a machine is not easy to work, and leads to an increase in cost due to the number of wires.

そこで、信号線の線数を減らす方法として、メイン制御板とシリアル通信等で信号の送受を行うPCBを各ユニットに設け、そのPCBでユニット内の制御負荷を制御するという構成にすれば、信号線はユニット内だけであるので、長距離を這い回すことなく機能を達成することはでき、また、メイン制御PCBと各ユニットのPCBはシリアル通信で使用する数本の信号線のみでよいので、ハーネスの削減と共に這い回し作業性を向上させることができる。   Therefore, as a method of reducing the number of signal lines, if each unit is provided with a PCB that transmits and receives signals by serial communication or the like with the main control board, the control load in the unit is controlled by the PCB. Since the line is only in the unit, the function can be achieved without running over a long distance, and the main control PCB and the PCB of each unit need only a few signal lines used for serial communication. It is possible to improve the workability of scooping while reducing the number of harnesses.

しかし、このような構成では、確かに信号線の削減にはなるが、各ユニットに搭載されるPCBにメイン制御PCBとは別にCPUを搭載する必要があり、そのソフト開発工数がかかってしまうことと、シリアル通信によるタイミング検証が課題になってくる。ここで、各ユニットに搭載するPCBにCPUバスで動作するICを載せて、CPUバスによるパラレル通信で、メイン制御PCBから各ユニットのPCBを制御すれば、それぞれのユニットで必要になっているソフト開発にかかる工数は削減することができるが、ノイズによる信号線の歪みによる誤動作や、EMIに関する電磁波の発生等の課題が危惧される。   However, with such a configuration, the signal lines are certainly reduced, but it is necessary to mount a CPU separately from the main control PCB on the PCB mounted on each unit, which increases the software development man-hours. And timing verification by serial communication becomes an issue. Here, if an IC operating on the CPU bus is mounted on the PCB mounted on each unit, and the PCB of each unit is controlled from the main control PCB by parallel communication using the CPU bus, the software required for each unit Although the number of man-hours required for development can be reduced, there are concerns about problems such as malfunction due to signal line distortion due to noise and generation of electromagnetic waves related to EMI.

ところで、従来、差動信号を伝送するインターフェース規格としてのLVDSによる双方向通信では、2本の信号線を用いる場合、レシーバ側で終端処理する必要性のため、ドライバ側とレシーバ側とで終端抵抗が2つ設けられ、これらの終端抵抗のミスマッチングによる信号反射の観点で、一方の終端抵抗を無効にする抵抗切り替え制御がなされていた。   By the way, in the conventional bi-directional communication by LVDS as an interface standard for transmitting differential signals, when two signal lines are used, it is necessary to perform termination processing on the receiver side. Are provided, and from the viewpoint of signal reflection due to mismatching of these termination resistors, resistance switching control for invalidating one termination resistor has been performed.

また、従来のLVDSによる通信は、図9に示すようなLVDS信号線が別々になっている双方向通信のパッケージを用いる方法や、図10に示すようなBusLVDSのようなバス信号をLVDSに変換して、ポイントtoポイントで通信を実施する構成を用いていた。そして、図9の方法に関しては、バスラインのような信号線が多くある場合は、これらの構成ではパッケージを複数使用するのでコスト高であり、また、PCB基板(プリント回路基板)上への実装面積を多く必要としていた。図10の方法は、バス信号を少ないLVDS信号線で接続することができ、バス信号のLVDS接続を可能にしているが、双方向はなく一方通行のみの通信である。仮にこのBusLVDSを使用して双方向通信を実現しようとすると、図9の構成と同じようにパッケージが複数個必要になる。   In addition, conventional LVDS communication uses a bidirectional communication package in which LVDS signal lines are separated as shown in FIG. 9 or a bus signal such as BusLVDS as shown in FIG. 10 is converted into LVDS. Thus, a configuration in which communication is performed point-to-point has been used. With respect to the method of FIG. 9, when there are many signal lines such as bus lines, these configurations use a plurality of packages, which is expensive, and is mounted on a PCB board (printed circuit board). We needed a lot of area. The method of FIG. 10 can connect bus signals with a small number of LVDS signal lines and enables LVDS connection of bus signals. However, there is no bidirectional communication and only one-way communication. If two-way communication is to be realized using the BusLVDS, a plurality of packages are required as in the configuration of FIG.

そこで、LVDSで一方向の通信を行っているインターフェースに対して、逆方向への通信を可能とする方法が、例えば、特許文献1に提案されている。これによると、逆方向への通信はLVDSより低速なシングルエンド信号(差動信号ではない、いわゆる0Vを基準とした普通の信号:5V、3.3V等)を使用することにより、双方向通信を実現している。すなわち、2本の信号線を介した一方向への通信は差動信号を用いて伝送するが、逆方向への信号伝送はシングルエンド信号を用いて行い、高速性が要求される信号伝送には差動信号を用い、低速でよい場合にはシングルエンド信号を用いた伝送を行う。   Therefore, for example, Patent Document 1 proposes a method that enables communication in the reverse direction with respect to an interface that performs unidirectional communication with LVDS. According to this, bidirectional communication is performed by using a single-ended signal (not a differential signal, a normal signal based on 0V: 5V, 3.3V, etc.) slower than LVDS for communication in the reverse direction. Is realized. In other words, communication in one direction via two signal lines is transmitted using a differential signal, but signal transmission in the reverse direction is performed using a single-ended signal for signal transmission requiring high speed. Uses a differential signal, and performs transmission using a single-ended signal when low speed is acceptable.

また、特別な伸長装置を必要とせずに、高速なデータ転送を可能とするインターフェースの従来技術として、例えば、特許文献2が挙げられる。この特許文献2によると、プリンタコントローラとプリンタエンジンとの間のインターフェースは、各種制御信号をやりとりする双方通信可能な制御線と、コントローラからエンジンに画像データを送信するデータ線を構成しており、画像データ送信の合間に制御信号をやり取りする必要がないので高速な画像データ送信が可能となるものである。
特開2005−18312号公報 特開2002−254763号公報
Further, as a conventional technology for an interface that enables high-speed data transfer without requiring a special decompression device, for example, Patent Document 2 can be cited. According to this patent document 2, the interface between the printer controller and the printer engine comprises a control line capable of communicating both types of control signals and a data line for transmitting image data from the controller to the engine. Since there is no need to exchange control signals between image data transmissions, high-speed image data transmission is possible.
JP 2005-18312 A JP 2002-254663 A

しなしながら、上記の引用文献1は、LVDS自体の双方向通信を実現するものではなく、LVDSの一方向通信を実施して、その反対方向の通信を実現するためにシングルエンド信号を使用するというものであり、この場合、LVDSで通信する方向とは逆の通信のときの信号(シングルエンド信号)は、そのスピード、信号の種類に制約があり、また、ノイズも発生するという課題がある。特に、双方向通信とはいっても、データバスのような信号には使用はできず、LVDSと逆向きの通信を実施する場合は、あくまで補助的な信号を通信する場合に限られてしまう。また、上記引用文献2においても、データ線によって画像データの片方向の通信を行うものに過ぎない。   However, the above cited reference 1 does not realize the bidirectional communication of the LVDS itself, but uses the single-ended signal to implement the LVDS one-way communication and realize the communication in the opposite direction. In this case, the signal (single-ended signal) at the time of communication opposite to the direction of communication by LVDS is limited in speed and signal type, and noise is also generated. . In particular, bi-directional communication cannot be used for signals such as a data bus, and when performing communication in the opposite direction to LVDS, it is limited to the case of communicating auxiliary signals. Also, in the cited document 2, only one-way communication of image data is performed using a data line.

本発明の目的は、データバスのような多数の信号(パラレル信号)による双方向通信が必要な信号に対して、シリアルに変換してLVDSによる双方向伝送を実現し、低ノイズの長距離伝送を実現することのできるインターフェース装置及び画像形成装置を提供することにある。   The object of the present invention is to convert a signal that requires bi-directional communication using a large number of signals (parallel signals) such as a data bus into a serial signal and realize bi-directional transmission using LVDS for long-distance transmission with low noise. It is an object of the present invention to provide an interface device and an image forming apparatus capable of realizing the above.

前記課題を解決するために、本発明は主として次のような構成を採用する。
入力されるパラレル信号をシングルエンド信号に変換するパラレル/シリアル変換部と、前記パラレル/シリアル変換部からのシングルエンド信号をLVDS出力に変換するLVDSドライバと、入力されるLVDS信号をシングルエンド信号に変換するLVDSレシーバと、前記LVDSレシーバからのシングルエンド信号をパラレル信号に変換するパラレル/シリアル変換部と、を有する機能ブロックを備え、データ送信は前記パラレル/シリアル変換部と前記LVDSドライバを用い、データ受信は前記LVDSレシーバと前記シリアル/パラレル変換部を用い、前記機能ブロックを1つのパッケージに搭載し、前記機能ブロックの伝送方向機能を切り替えることによって、前記パラレル信号のLVDSによる双方向通信を行い得る構成とする。
In order to solve the above problems, the present invention mainly adopts the following configuration.
A parallel / serial conversion unit that converts an input parallel signal into a single-end signal, an LVDS driver that converts a single-end signal from the parallel / serial conversion unit into an LVDS output, and an input LVDS signal into a single-end signal It comprises a functional block having an LVDS receiver for conversion and a parallel / serial conversion unit for converting a single-ended signal from the LVDS receiver into a parallel signal, and data transmission uses the parallel / serial conversion unit and the LVDS driver, For data reception, the LVDS receiver and the serial / parallel converter are used, the functional block is mounted in one package, and the transmission direction function of the functional block is switched to perform bidirectional communication of the parallel signal by LVDS. Structure To.

また、前記インターフェース装置において、前記1つのパッケージに複数の機能ブロックを搭載し、前記機能ブロック毎に前記伝送方向機能を設定可能とし、前記複数の機能ブロックの内の1つの機能ブロックにCPUバスを適用するとともに、他の機能ブロックはデータ送信用として機能するように伝送方向機能を設定する構成とする。   In the interface device, a plurality of functional blocks are mounted on the one package, the transmission direction function can be set for each functional block, and a CPU bus is connected to one functional block among the plurality of functional blocks. In addition, the transmission direction function is set so that the other functional blocks function for data transmission.

本発明によると、パラレル信号のLVDSによる双方向伝送を実現することができ、これによって低ノイズの長距離伝送、パッケージ集約化によるコストダウンを図ることができる。   According to the present invention, it is possible to realize bi-directional transmission of parallel signals by LVDS, thereby achieving low-noise long-distance transmission and cost reduction by integrating packages.

また、LVDSの双方向伝送を実現するための機能ブロックを、双方向だけでなく、片方向のみの伝送にも設定可能にすることで、CPUバス等の既存のバス系統を実現することができる。   In addition, it is possible to realize an existing bus system such as a CPU bus by making it possible to set functional blocks for realizing bidirectional transmission of LVDS not only in bidirectional but also in one-way transmission. .

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

図1ないし図8は本発明の実施例1に係るインターフェース装置を説明するためのものである。   1 to 8 illustrate an interface device according to a first embodiment of the present invention.

図1は本発明の実施例1に係るインターフェース装置の内部回路を示す図である。図2は本実施例1に関するLVDSの伝送において送信側と受信側における伝送方向制御信号の反転状態の一例を示す図である。図3は本実施例1に関するLVDSの伝送において送信側と受信側における伝送方向制御信号の反転状態の他例を示す図である。図4は本実施例1に係るインターフェース装置における機能ブロックとパッケージとの関連構成を示す図である。   FIG. 1 is a diagram illustrating an internal circuit of the interface apparatus according to the first embodiment of the present invention. FIG. 2 is a diagram illustrating an example of inversion states of transmission direction control signals on the transmission side and the reception side in LVDS transmission according to the first embodiment. FIG. 3 is a diagram illustrating another example of the inverted state of the transmission direction control signal on the transmission side and the reception side in the LVDS transmission according to the first embodiment. FIG. 4 is a diagram illustrating a related configuration of functional blocks and packages in the interface apparatus according to the first embodiment.

また、図5は本実施例1に係るインターフェース装置においてCPUバスを使用した場合の構成例を示す図である。図6は本実施例1に係るインターフェース装置においてCPUバスを使用した場合の動作例として伝送方向制御信号の作成及び使用手法を示す図である。図7は本実施例1に係るインターフェース装置においてCPUバスを使用した場合の動作例を説明する図である。図8は本実施例1に係るインターフェース装置における双方向LVDSデバイスをドライバかレシーバかのいずれかの機能に固定し、必要に応じて機能ブロックの伝送方向を切り替える構成を示す図である。   FIG. 5 is a diagram illustrating a configuration example when the CPU bus is used in the interface apparatus according to the first embodiment. FIG. 6 is a diagram illustrating a method of creating and using a transmission direction control signal as an operation example when the CPU bus is used in the interface apparatus according to the first embodiment. FIG. 7 is a diagram for explaining an operation example when the CPU bus is used in the interface apparatus according to the first embodiment. FIG. 8 is a diagram illustrating a configuration in which the bidirectional LVDS device in the interface apparatus according to the first embodiment is fixed to the function of either the driver or the receiver, and the transmission direction of the functional block is switched as necessary.

本発明の実施例1に係るインターフェース装置について図1を用いて説明する。図1は本発明の実施例1に係るインターフェース装置の内部回路を示す図である。図1において、1はパラレル/シリアル変換部、2はシリアル/パラレル変換部、3はLVDSドライバ、4はLVDSレシーバ、5はPLL、6は双方向データ、7はLVDSI/F、8は伝送方向制御信号、9はクロック、をそれぞれ表す。   An interface apparatus according to Embodiment 1 of the present invention will be described with reference to FIG. FIG. 1 is a diagram illustrating an internal circuit of the interface apparatus according to the first embodiment of the present invention. In FIG. 1, 1 is a parallel / serial converter, 2 is a serial / parallel converter, 3 is an LVDS driver, 4 is an LVDS receiver, 5 is a PLL, 6 is bidirectional data, 7 is LVDSI / F, and 8 is a transmission direction. A control signal 9 represents a clock.

図1はLVDSによる双方向通信を実現するための内部回路であり、送信されるデータ6は、パラレル/シリアル変換部1にまず入力される。パラレル/シリアル変換部1は、PLL5で逓倍されたクロックにしたがって、シリアルデータ転送を行うためのレジスタへデータをシフトする。このシフトされたデータはLVDSドライバ3へ入力され、LVDSI/F7を通してLVDS信号として出力される。また、LVDS信号を入力する場合は、上記説明の逆で、LVDSI/F7を通してLVDSで送られてきた信号をLVDSレシーバ4で受け、その信号をシリアル/パラレル変換部2へ入力し、そして、変換されたデータをパラレルデータ6として出力する。   FIG. 1 shows an internal circuit for realizing bi-directional communication by LVDS, and transmitted data 6 is first input to the parallel / serial converter 1. The parallel / serial converter 1 shifts data to a register for serial data transfer according to the clock multiplied by the PLL 5. The shifted data is input to the LVDS driver 3 and output as an LVDS signal through the LVDSI / F7. When inputting an LVDS signal, the signal sent by LVDS through the LVDSI / F7 is received by the LVDS receiver 4 and the signal is input to the serial / parallel converter 2 and converted. The processed data is output as parallel data 6.

図2に示す用にそれぞれの素子(パラレル/シリアル変換部1、シリアル/パラレル変換部2、LVDSドライバ3、LVDSレシーバ4)には、信号の伝送方向を切り替える伝送方向制御信号8が入力されており、この制御信号8がHであればLVDSデータ送信部11がアクティブに、LであればLVDSデータ受信部12がアクティブになるように制御を実施している。   As shown in FIG. 2, a transmission direction control signal 8 for switching a signal transmission direction is input to each element (parallel / serial conversion unit 1, serial / parallel conversion unit 2, LVDS driver 3, and LVDS receiver 4). If the control signal 8 is H, the LVDS data transmission unit 11 is active. If the control signal 8 is L, the LVDS data reception unit 12 is active.

ここで、図1において、LVDSドライバ3は、入力されたシングルエンド信号をLVDS出力(2本の互いに逆向きの信号)に変換するものである。LVDSレシーバ4は入力されたLVDS信号(2本の互いに逆向きの信号)をシングルエンド信号に変換するものである。パラレル/シリアル変換部1は、入力されたパラレルデータをレジスタに一旦シフトし、このレジスタの先頭ビットから順にデータを送り出すことによってパラレル/シリアルの変換を行うものである。   Here, in FIG. 1, the LVDS driver 3 converts an input single-ended signal into LVDS outputs (two signals in opposite directions). The LVDS receiver 4 converts an input LVDS signal (two signals having opposite directions) into a single-ended signal. The parallel / serial converter 1 temporarily shifts input parallel data to a register, and performs parallel / serial conversion by sending data sequentially from the first bit of the register.

また、入力されたシリアルデータをパラレルデータに変換するのも同じことであり、順に送られてきたデータを先頭からレジスタにストックし、すべてのデータが貯まればポート出力用のレジスタに移すことによってシリアル/パラレル変換部2の機能が果たされる。これらの変換部1,2は、それぞれの用途に応じて、切り替えが可能になっており、この切り替えは伝送方向制御信号8によって行われる。   The same applies to converting input serial data into parallel data. Stocked data is stored in a register from the beginning, and if all the data is stored, it is transferred to a port output register. The function of the / parallel converter 2 is fulfilled. These conversion units 1 and 2 can be switched according to their respective applications, and this switching is performed by a transmission direction control signal 8.

伝送方向制御信号8は双方向の伝送方向を制御するための信号である。データ送信方向は、機能ブロックとして、パラレル/シリアル変換部1とLVDSドライバ3を有しており、逆に、データ受信方向では、シリアル/パラレル変換部4とLVDSレシーバ2を有しているので、この機能を信号の伝送方向によって切り替える必要があり、そのイネーブル信号として伝送方向制御信号8を使用する。   The transmission direction control signal 8 is a signal for controlling the bidirectional transmission direction. Since the data transmission direction has the parallel / serial conversion unit 1 and the LVDS driver 3 as functional blocks, and conversely, the data reception direction has the serial / parallel conversion unit 4 and the LVDS receiver 2. This function needs to be switched depending on the signal transmission direction, and the transmission direction control signal 8 is used as the enable signal.

この伝送方向制御信号8は、データ通信開始時に別信号としてポートから出力してもよいし、CPUバス制御で使用するリード/ライトなどの制御信号を利用してもよい。また、片方向伝送で使用する場合は、このドライバ/レシーバコントロール信号のレベルを使用する機能によって固定しておく。   The transmission direction control signal 8 may be output from the port as a separate signal at the start of data communication, or a control signal such as read / write used for CPU bus control may be used. Further, when used in one-way transmission, the level of the driver / receiver control signal is fixed by a function that uses it.

因みに、図1に示すLVDSによる双方向通信(本発明の実施例1)との対比で、従来技術におけるインターフェース装置について図14と図15を参照しながら説明する。図14はLVDS信号線が別々になっているLVDS双方向通信のパッケージ内構成例であり、送信と受信でそれぞれLVDSドライバ3、レシーバ4を持っていて、1本の電線では、信号の方向は1方向のみである。また、図15はバスLVDSの内部構成であり、パラレルデータをシリアルに変換するパラレル/シリアル変換部1を通して、LVDSドライバ3によってLVDSで出力する構成になっている。信号の方向は1方向のみである。この場合、逆方向の信号を受信したい場合は、別の受信用のパッケージが必要になる。   Incidentally, an interface device according to the prior art will be described with reference to FIGS. 14 and 15 in comparison with the two-way communication by LVDS shown in FIG. 1 (Embodiment 1 of the present invention). FIG. 14 shows an example of a LVDS two-way communication package in which the LVDS signal lines are separated, and each has a LVDS driver 3 and a receiver 4 for transmission and reception. With one wire, the signal direction is There is only one direction. FIG. 15 shows the internal configuration of the bus LVDS, which is configured to output the LVDS by the LVDS driver 3 through the parallel / serial converter 1 that converts parallel data into serial data. The signal direction is only one direction. In this case, when receiving a signal in the reverse direction, another receiving package is required.

図1に示した本発明の実施例1に係るインターフェース装置は、複写機に限らず、LVDSのパラレル信号の長距離伝送を実施する装置であれば使用可能であるが、本実施例1では、適用例として複写機を取り上げる。次に、本実施例1に係るインターフェース装置が適用される複写機の概要を説明する。複写機は、一般的な構成として、読み取り部、画像処理部、コントローラ、画像データ配置部、書き込み部を備えている。   The interface device according to the first embodiment of the present invention shown in FIG. 1 is not limited to a copying machine, but can be used as long as it is a device that performs long-distance transmission of LVDS parallel signals. In the first embodiment, A copier is taken as an application example. Next, an outline of a copying machine to which the interface apparatus according to the first embodiment is applied will be described. A copying machine generally includes a reading unit, an image processing unit, a controller, an image data arrangement unit, and a writing unit.

読み取り部は原稿を読み取る部分であり、原稿読み取りの方法としては、CCDによる原稿読み取り方法や密着センサ等を使用して原稿を搬送させながら原稿読み取る方式がある。また、画像処理部は、読み取り部で読み取られた画像の画像処理を行う。この画像処理部は複数のプロセッサで構成され、それぞれのプロセッサにより必要な画像処理が行われる。画像処理の機能としては、シェーディング補正や地肌除去などが挙げられる。   The reading unit is a portion for reading a document. As a method for reading a document, there are a document reading method using a CCD and a method of reading a document while conveying the document using a contact sensor or the like. The image processing unit performs image processing on the image read by the reading unit. The image processing unit includes a plurality of processors, and each processor performs necessary image processing. Image processing functions include shading correction and background removal.

また、コントローラは、画像システムにおける画像データの出力タイミング等をコントロールする。コントローラは複数のプロセッサとメモリなどの記憶手段を有するとともにこれらが互いに接続されている。画像処理が施された画像データは一旦コントローラのハードディスク等の記憶手段に蓄えられる。各画像データの出力タイミングに応じて、必要なデータを取り出し、画像データ配置部へ転送する。   The controller also controls the output timing of image data in the image system. The controller has a plurality of processors and storage means such as a memory and these are connected to each other. Image data that has undergone image processing is temporarily stored in a storage means such as a hard disk of the controller. In accordance with the output timing of each image data, necessary data is taken out and transferred to the image data arrangement unit.

また、画像データ配置部は画像書き込み幅に対応したラインメモリを有する。このラインメモリにコントローラから転送されてくるデータが画像領域に応じて配置される。メモリはFIFOであり、配置されたデータは先頭から順に書き込み制御部へ送られる。また、書き込み部は画像の書き込み動作を行う部分であり、画像書き込みを行うためのLD等の光デバイスとそれを駆動するためのドライバICなどから構成される。転送されてきたデータに応じて、光デバイスを駆動(点滅動作)し、書き込み動作を行う。なお、後述するが、図5、図7で例示しているパラレル信号を入出力するものとしてCPUを取り上げているが、このCPUは上述したコントローラ(画像データの処理用)に該当するものではなくて、複写機全体を制御するメインコントローラのことである。   The image data placement unit has a line memory corresponding to the image writing width. Data transferred from the controller to this line memory is arranged according to the image area. The memory is a FIFO, and the arranged data is sent to the write control unit in order from the top. The writing unit is a part that performs an image writing operation, and includes an optical device such as an LD for performing image writing and a driver IC for driving the optical device. The optical device is driven (flashing operation) in accordance with the transferred data, and a writing operation is performed. As will be described later, the CPU is taken up as an example for inputting and outputting the parallel signals illustrated in FIGS. 5 and 7. However, this CPU does not correspond to the controller (for processing image data) described above. The main controller that controls the entire copying machine.

次に、本実施例1の適用例である複写機の動作の概略を述べると、スキャナ等の読み取り装置で読み取られた画像は、デジタルデータに変換され、画像処理部へデータ転送される。各種画像処理が終了したデータはシステムを制御しているコントローラに転送され、そこで、一旦ハードディスク等の記憶手段に蓄えられる。その後、コピー枚数、モード等の条件によってデータはラインメモリへ配置され、画像書き込みデータとして書き込み部へ転送され、書き込みタイミングに合わせて、カセット等の転写紙ストック手段から搬送されてきた転写紙にLD等の光デバイスにより書き込み動作が行われる。このような複写機の動作は一般的な通常の動作である。   Next, the outline of the operation of the copying machine as an application example of the first embodiment will be described. An image read by a reading device such as a scanner is converted into digital data, and the data is transferred to an image processing unit. Data for which various types of image processing have been completed is transferred to a controller that controls the system, where it is temporarily stored in storage means such as a hard disk. After that, the data is arranged in the line memory according to the conditions such as the number of copies, the mode, etc., transferred to the writing section as image writing data, and LD is applied to the transfer paper conveyed from the transfer paper stock means such as a cassette in accordance with the writing timing. The writing operation is performed by an optical device such as Such an operation of the copying machine is a general normal operation.

まず、本実施例1を概略的にいえば、図1に図示する本実施例1に係るインターフェース装置は、双方向のパラレル信号をシリアルに変換してLVDSで信号を伝送するので、LVDS双方向に関して、データバス等の信号線の多いパラレル信号を長距離伝送しても、低ノイズで信頼性の高い通信が可能になる。また、双方向のパラレル信号の通信をパッケージ1つで実現するので(送信用と受信用の構成要素を備えているので)、低コストで且つ、実装面積を小さくできる。さらに、本実施例1に係るインターフェース装置を複写機に搭載した場合に、双方向伝送と片方向伝送の機能を選択したり固定したりすることで(詳細は後述するが、伝送方向制御信号の利用形態(使い方)で可能である)、CPUバス等の既存のバスによる接続を可能にし、また、1パッケージに収めることで、省スペースと、コストダウンを図ることができる。パラレル信号をシリアルにするので、ハーネス線数を少なくすることができる。ソフト開発負荷が軽減される。   First, generally speaking, the interface device according to the first embodiment illustrated in FIG. 1 converts a bidirectional parallel signal into a serial signal and transmits the signal by LVDS. With regard to the above, even if a parallel signal having many signal lines such as a data bus is transmitted over a long distance, communication with low noise and high reliability is possible. Further, since bidirectional parallel signal communication is realized by a single package (since it is equipped with components for transmission and reception), the cost can be reduced and the mounting area can be reduced. Further, when the interface apparatus according to the first embodiment is mounted on a copying machine, the functions of bidirectional transmission and unidirectional transmission are selected or fixed (details will be described later, but the transmission direction control signal It is possible to use an existing bus such as a CPU bus, and the space can be saved and the cost can be reduced by accommodating it in one package. Since the parallel signal is serialized, the number of harness lines can be reduced. Software development load is reduced.

図1に示すように、伝送方向制御信号8でLVDSの伝送方向(送信方向と受信方向)の切り替えを実施するが、信号レベルによって伝送方向を制御しているので、データの受信側ブロック12と送信側ブロック11で(図2を参照)、異なったレベルの信号を入力する必要がある。そこで、図2に示すように、例えば、信号をLVDS信号とは別に相手側のPCB12に入力し、そこで、図2に示す反転部10で信号を反転させて伝送方向制御信号として供給する。これにより、信号を伝送する際のデータの送信側ブロック11と受信側ブロック12を明確にすることができる。図2は本実施例1に関するLVDSの伝送において送信側ブロック11と受信側ブロック12における伝送方向制御信号の反転状態を示す図である。   As shown in FIG. 1, the transmission direction control signal 8 switches the transmission direction (transmission direction and reception direction) of LVDS, but the transmission direction is controlled by the signal level. In the transmission side block 11 (see FIG. 2), it is necessary to input signals of different levels. Therefore, as shown in FIG. 2, for example, a signal is input to the other PCB 12 separately from the LVDS signal, and the signal is inverted by the inverting unit 10 shown in FIG. 2 and supplied as a transmission direction control signal. This makes it possible to clarify the data transmission side block 11 and reception side block 12 when transmitting a signal. FIG. 2 is a diagram illustrating inversion states of transmission direction control signals in the transmission side block 11 and the reception side block 12 in LVDS transmission according to the first embodiment.

また、図3に示すように、伝送方向制御信号に、固定したレベルの信号を入力しておけば、パッケージ内部のLVDSの送受信のどちらかの機能に固定できるので、双方向で使用しない場合、ドライバ専用、レシーバ専用という使用方法も可能である。図3では、受信側ブロック12は伝送制御信号が接地され、送信側ブロック11では伝送制御信号として所定値が印加されている。図2と図3に示す構成から分かるように、送信側ブロック11と受信側ブロック12とは1つの共通のパッケージであり(図で実線枠内の回路構成)、ドライバとレシーバの設定が適宜に選択可能である。なお、送信側ブロック11と受信側ブロック12とは適宜に切り替わるものである。   Also, as shown in FIG. 3, if a fixed level signal is input to the transmission direction control signal, it can be fixed to either the LVDS transmission / reception function inside the package. It is possible to use only for drivers and receivers. In FIG. 3, the transmission control signal is grounded in the reception side block 12, and a predetermined value is applied as the transmission control signal in the transmission side block 11. As can be seen from the configuration shown in FIG. 2 and FIG. 3, the transmission side block 11 and the reception side block 12 are one common package (the circuit configuration in the solid line frame in the figure), and the settings of the driver and the receiver are appropriately set. Selectable. The transmission side block 11 and the reception side block 12 are switched as appropriate.

次に、本実施例1に係るインターフェース装置における機能ブロックとパッケージとの関連構成について、図4を参照しながら説明する。図4に示すように、パラレル/シリアル変換部1、シリアル/パラレル変換部2、LVDSドライバ3、LVDSレシーバ4、LVDSI/F7等を備えた構成を1つにまとめて第1ないし第3の機能ブロックBA,BB,BCとし、これら第1ないし第3の機能ブロックBA,BB,BCが複数個集まって1つのパッケージPに納められている。   Next, a related configuration of the functional block and the package in the interface apparatus according to the first embodiment will be described with reference to FIG. As shown in FIG. 4, the configuration including the parallel / serial conversion unit 1, the serial / parallel conversion unit 2, the LVDS driver 3, the LVDS receiver 4, the LVDSI / F7, etc. is integrated into the first to third functions. Blocks BA, BB, and BC are used, and a plurality of these first to third functional blocks BA, BB, and BC are collected and stored in one package P.

そして、これら第1ないし第3の機能ブロックBA,BB,BCはそれぞれ独立に制御可能になっており、伝送方向制御信号8等によって、機能に応じて信号の伝送方向を設定することができる。また、各機能ブロックBA,BB,BCで図示のようにイネーブル信号ENの制御を実施することによって(通常の手法の適用することによって)、必要のない機能ブロックは動作不可に設定することができる。   The first to third functional blocks BA, BB, and BC can be controlled independently, and the transmission direction of the signal can be set according to the function by the transmission direction control signal 8 or the like. Further, by controlling the enable signal EN as shown in each functional block BA, BB, BC (by applying a normal method), unnecessary functional blocks can be set to be inoperable. .

次に、本実施例1に係るインターフェース装置においてCPUバスを使用した場合の構成例について図5を参照しながら説明する。図5に示すように、CPUバス22は、アドレスバス22a、データバス22b、制御信号(リード信号、ライト信号、チップセレクト信号等)22cで通信を行っているが、これらの信号を第1ないし第3の機能ブロックBA,BB,BC毎に割当てていく。例えば、データバス22bは双方向通信であるため、第3の機能ブロックBCをLVDSの双方向伝送で使用し、アドレスバス22a及び制御信号22cはCPU21側からの片方向通信であるので、第1及び第2の機能ブロックBA,BBをLVDSドライバとして設定すればよい。当然に、信号を受ける相手側のPCBにおいても、上述したような設定を実施する必要があり、第1及び第2の機能ブロックBA,BBはレシーバとして、第3の機能ブロックBCは双方向伝送として使用する。   Next, a configuration example when the CPU bus is used in the interface apparatus according to the first embodiment will be described with reference to FIG. As shown in FIG. 5, the CPU bus 22 communicates with an address bus 22a, a data bus 22b, and control signals (read signal, write signal, chip select signal, etc.) 22c. Allocation is performed for each third functional block BA, BB, BC. For example, since the data bus 22b is bidirectional communication, the third functional block BC is used for LVDS bidirectional transmission, and the address bus 22a and the control signal 22c are unidirectional communication from the CPU 21 side. The second functional blocks BA and BB may be set as LVDS drivers. Of course, it is necessary to perform the above-described setting also on the PCB on the other side that receives the signal. The first and second functional blocks BA and BB are used as receivers, and the third functional block BC is transmitted bidirectionally. Use as

次に、本実施例1に係るインターフェース装置においてCPUバスを使用した場合の動作例について、図7を参照しながら説明する。図7に示すように、CPU21を搭載しているPCBをPCB1、CPUから制御される側であるPCBをPCB2とする。   Next, an operation example when the CPU bus is used in the interface apparatus according to the first embodiment will be described with reference to FIG. As shown in FIG. 7, the PCB on which the CPU 21 is mounted is referred to as PCB1, and the PCB that is controlled by the CPU is referred to as PCB2.

CPUバス22は、PCB1のCPU21からPCB2のデバイス23へのデータの書き込み(ライト)と相手側からデータを受け取る読み込み(リード)を実施しているが、ライト時はCPU21からデバイス23へ信号を1方向通行で伝送するので、単純にPCB1はLVDSのドライバ、PCB2はLVDSのレシーバとして機能すればよい。また、リード時はCPU21から相手側デバイス23へ命令を送り、それに対し返答してくるデータをCPU21が受け取るという動作をする必要がある。   The CPU bus 22 performs writing (writing) of data from the CPU 21 of the PCB 1 to the device 23 of the PCB 2 and reading (reading) of receiving data from the other side. Since transmission is performed in the direction, PCB1 simply functions as an LVDS driver and PCB2 functions as an LVDS receiver. Further, at the time of reading, it is necessary to perform an operation in which the CPU 21 sends a command to the counterpart device 23 and the CPU 21 receives data returned in response thereto.

上述した動作を実現する方法として、リード動作をする時に、まず、アドレス及び制御信号をPCB2へ送信するときに同時にデータバス22bの伝送方向制御信号8を入力し、データバス22bの伝送方向を決定すればよい。この伝送方向制御信号8により、第3の機能ブロックBCは、データ受信機能(LVDSの受信機能)に設定され、データを受け取ることができる。   As a method for realizing the above-described operation, when a read operation is performed, first, the transmission direction control signal 8 of the data bus 22b is input simultaneously when the address and the control signal are transmitted to the PCB 2, and the transmission direction of the data bus 22b is determined. do it. By this transmission direction control signal 8, the third functional block BC is set to the data reception function (LVDS reception function) and can receive data.

また、本実施例1に係るインターフェース装置においてCPUバスを使用した場合の動作例として伝送方向制御信号の作成及び使用手法について、図6を参照しながら説明する。図6において、リード信号(CPUがリードを指示するときの信号であり、Lレベルの信号)と例えばH信号のANDを取った信号8aを、伝送方向制御信号端子に入力しておけば、通信をしていない状態あるいはライト時は(リード指示されたときではないという理由で)、リード信号がHレベルであるので、AND回路8bの出力はHレベルであり、第3の機能ブロックBCをドライバに設定しておけばよい。リード信号が入った時のみ、伝送方向制御信号がLになるので、LVDSを受信機能に設定することができる。これにより、伝送方向制御信号8を別途ポートから出力することなく、リード信号の信号レベルのみで制御が可能になる。   A method for creating and using a transmission direction control signal will be described with reference to FIG. 6 as an operation example when the CPU bus is used in the interface apparatus according to the first embodiment. In FIG. 6, if a signal 8a obtained by ANDing a read signal (a signal when the CPU instructs to read and an L level signal) and, for example, an H signal is input to the transmission direction control signal terminal, communication is performed. Since the read signal is at the H level when writing is not performed or at the time of writing (because it is not when reading is instructed), the output of the AND circuit 8b is at the H level, and the third function block BC is driven by the driver. Set it to. Since the transmission direction control signal becomes L only when a read signal is input, LVDS can be set as a reception function. Thereby, it becomes possible to control only by the signal level of the read signal without separately outputting the transmission direction control signal 8 from the port.

また、CPUバス22には、データを確実に取り込むために、規定されている信号間のタイミングがあるが、リード信号(Lレベルの信号)が出力されてから、データを取り込むまでには、ある程度の時間があり、伝送方向制御信号の検出に問題はない。   The CPU bus 22 has a predetermined timing between signals in order to capture data reliably. However, after the read signal (L level signal) is output, the data is captured to some extent. There is no problem in detecting the transmission direction control signal.

次に、本実施例1に係るインターフェース装置における双方向LVDSデバイスをドライバかレシーバかのいずれかの機能に固定し、必要に応じて機能ブロックの伝送方向を切り替える構成について、図8を参照しながら説明する。   Next, a configuration in which the bidirectional LVDS device in the interface apparatus according to the first embodiment is fixed to a function of either a driver or a receiver and the transmission direction of the functional block is switched as necessary with reference to FIG. explain.

CPUバスの場合、CPU側PCBから制御信号が出力されるので、CPU側PCBをいわゆるマスタという設定にし、伝送方向に応じて伝送方向制御信号のレベルを切り替えることによって相手側PCB(PCB2)の伝送方向を制御することができる。   In the case of the CPU bus, since a control signal is output from the CPU side PCB, the CPU side PCB is set as a so-called master, and the level of the transmission direction control signal is switched according to the transmission direction, so that the transmission of the counterpart PCB (PCB2). The direction can be controlled.

例えば、図14に示すようにドライバ/レシーバ設定端子をPCB1ではH(例えば、電圧印加)に、PCB2ではL(例えば、接地)にすることによって双方向LVDSデバイスをそれぞれドライバ、レシーバに機能を設定することができる。次に、伝送方向の制御に関して、図2で説明したように、伝送方向制御信号8をドライバ側とレシーバ側で論理を反転させる必要がある。   For example, as shown in FIG. 14, by setting the driver / receiver setting terminal to H (for example, voltage application) on PCB1 and to L (for example, ground) on PCB2, the functions of the bidirectional LVDS device are set to the driver and receiver, respectively. can do. Next, regarding the transmission direction control, as described in FIG. 2, it is necessary to invert the logic of the transmission direction control signal 8 on the driver side and the receiver side.

ここで、ドライバ側(図8の例では左側のPCB1)は、伝送方向制御信号がHで送信になるので(伝送方向制御信号は、例えばライトの場合にH、リードの場合L)、ドライバ/レシーバ設定端子8cの信号レベル(この場合H)に応じて、信号論理選択機能部(伝送方向制御信号8のHかLかによって、ドライバ/レシーバ設定端子8cからの入力信号に対して、当該選択機能のいずれかの出力を選択するような機能を有したもの)8dの中で、機能ブロックBへの入力として、第2のワイヤW2が接続される。レシーバ側(PCB2)も同じように、ドライバ/レシーバ設定端子のレベル(この場合L)に応じてワイヤが選択されるが、レシーバ側は、レベル信号がLなので第1のワイヤW1が選択され、これにより、伝送方向制御信号8の論理レベルは、ドライバ側とレシーバ側で反対になる。   Here, the driver side (the PCB 1 on the left side in the example of FIG. 8) transmits with the transmission direction control signal being H (the transmission direction control signal is H for writing, L for reading, for example). Depending on the signal level of the receiver setting terminal 8c (in this case, H), the signal logic selection function unit (selects the input signal from the driver / receiver setting terminal 8c depending on whether the transmission direction control signal 8 is H or L). The second wire W2 is connected as an input to the function block B in 8d) having the function of selecting any output of the functions. Similarly, on the receiver side (PCB2), the wire is selected according to the level of the driver / receiver setting terminal (in this case, L). However, since the level signal is L on the receiver side, the first wire W1 is selected. Thereby, the logic level of the transmission direction control signal 8 is opposite between the driver side and the receiver side.

また、ドライバ/レシーバ(インターフェース装置)を設定(固定)するということは、伝送方向制御信号を相手側へ送る時の信号の向きも決定しなければいけないことになり、ドライバ/レシーバ設定端子8cのレベル(電圧印加のHか接地のL)によって、入出力選択機能部8eで同じように入出力を選択することができる。上述した例では、ドライバ側は出力に、レシーバ側は入力に設定されることになる。要は、伝送方向制御信号8のHかLかでPCB1の機能ブロックを送信か受信のいずれかの機能に選定して、同時にPCB2の機能ブロックはPCB1のそれと逆の機能に選定する手段であれば、図8の図示構造に限ることはない。   Also, setting (fixing) the driver / receiver (interface device) means that the direction of the signal when the transmission direction control signal is sent to the other side must also be determined, and the driver / receiver setting terminal 8c The input / output can be selected in the same manner by the input / output selection function unit 8e according to the level (voltage application H or ground L). In the example described above, the driver side is set to output, and the receiver side is set to input. The point is that the function block of PCB1 is selected as either a transmission function or a reception function according to H or L of the transmission direction control signal 8, and at the same time, the function block of PCB2 is selected as a function opposite to that of PCB1. For example, the structure shown in FIG.

データバス22bのような双方向機能が必要なブロックを上記のような回路と伝送方向制御信号で制御することにより、送信と受信の機能を切り替えて通信することができる。例えば、ライトの場合、伝送方向制御信号8をHにすることで、ドライバ側は、第2のワイヤW2が接続されているので、H信号がそのまま機能ブロックを制御し、機能ブロックは送信の機能になる。一方、レシーバ側は、入力された伝送方向制御信号は、レシーバに設定され、第1のワイヤW1を通して機能ブロックに入力されることになるので、信号レベルはLになり、機能ブロックBは受信として機能することになる。リードの場合は、上述した説明の伝送方向制御信号がLになるだけで、後は同じである。   By controlling a block such as the data bus 22b that requires a bidirectional function with the above-described circuit and a transmission direction control signal, it is possible to switch between the transmission and reception functions for communication. For example, in the case of light, by setting the transmission direction control signal 8 to H, the driver side controls the function block as it is because the second wire W2 is connected. become. On the other hand, on the receiver side, since the input transmission direction control signal is set in the receiver and is input to the functional block through the first wire W1, the signal level is L, and the functional block B is received. Will work. In the case of reading, only the transmission direction control signal described above becomes L, and the rest is the same.

ここで、本発明の実施例1に係るインターフェース装置の特徴を取り纏めて再度説明する。従来技術においては、バスLVDSのようなバスラインをLVDSのシリアル信号に変換することはできたが、一方向の通信のみで双方向通信は実現されていない。双方向通信を実現したICはあるが、これは、それぞれの方向の信号線に対してLVDSに変換を実施しており、シリアル信号をそのままLVDSに変換して通信を実施することを可能にしたものであり、あくまで、1本の信号線には、1方向の信号しか流れない。また、長距離伝送にはUSBなどのシリアル通信が使用されるが、ノイズには強いというわけではなく、また、通信速度や処理速度に関しても課題を残していた。   Here, the features of the interface apparatus according to the first embodiment of the present invention will be summarized and described again. In the prior art, a bus line such as the bus LVDS can be converted into an LVDS serial signal, but bidirectional communication is not realized by only one-way communication. There are ICs that have realized two-way communication, but this has converted the signal lines in each direction to LVDS, making it possible to convert the serial signal as it is to LVDS for communication. However, only one direction of signal flows through one signal line. In addition, serial communication such as USB is used for long-distance transmission, but it is not resistant to noise, and there are still problems with respect to communication speed and processing speed.

そこで、本発明の実施例1では、パラレル信号のLVDSによる双方向伝送を実現することを解決課題としたものであり、この課題達成の構成により、低ノイズの長距離伝送、パッケージ集約化によるコストダウンを図るものであり、また、LVDSの双方向伝送を実現するための機能ブロックを、双方向だけでなく、片方向のみの伝送にも設定可能にすることで、CPUバス等の既存のバス系統に適用することができるものである。そして、この課題達成の構成として、データ送信用はパラレル/シリアル変換部とLVDSドライバ、データ受信用はシリアル/パラレル変換部とLVDSレシーバ、という組み合わせを機能ブロックとして1つのパッケージに搭載し、それぞれの用途に応じて、機能を切り替えることで、データバス等のパラレル信号のLVDSによる双方向伝送を実現する。また、この機能ブロックを1つのパッケージに複数個盛り込み、双方向伝送、片方向伝送を設定、固定することを可能にすることで、CPUバス等の片方向伝送と双方向伝送が混在する通信形態においても通信を可能にすることができるものである。   Therefore, in the first embodiment of the present invention, the realization of bi-directional transmission of parallel signals by LVDS is a problem to be solved. With the configuration for achieving this problem, low-noise long-distance transmission and cost of package integration are achieved. In addition to existing buses such as CPU buses, the function blocks for realizing LVDS bi-directional transmission can be set not only in bi-directional but also in one-way transmission. It can be applied to the system. As a configuration for achieving this problem, a combination of a parallel / serial conversion unit and an LVDS driver for data transmission and a serial / parallel conversion unit and an LVDS receiver for data reception is mounted as a functional block in one package. By switching functions according to the application, bi-directional transmission of parallel signals such as a data bus by LVDS is realized. In addition, a communication mode in which one-way transmission and two-way transmission such as a CPU bus are mixed by incorporating a plurality of these functional blocks in one package and enabling setting and fixing of two-way transmission and one-way transmission. The communication can also be made possible.

実施例1を複写機に適用した例を具体的に実施例2として説明する。
図9は実施例2に係る複写機の機械構成の概略を示す図、図10は制御構成の要部を示すブロック図である。本実施例に係る複写機は、本体部100、給紙部110、読み取り部120及び原稿自動給送部(ADF)130から構成されている。本体部100は給紙部110の上部に位置し、読み取り部120は本体部100の上部に位置している。さらに読み取り部120の上部にはADF130が設けられている。
An example in which the first embodiment is applied to a copying machine will be specifically described as a second embodiment.
FIG. 9 is a diagram showing an outline of the mechanical configuration of the copying machine according to the second embodiment, and FIG. 10 is a block diagram showing the main part of the control configuration. The copier according to the present embodiment includes a main body unit 100, a paper feeding unit 110, a reading unit 120, and an automatic document feeder (ADF) 130. The main body unit 100 is positioned above the paper feeding unit 110, and the reading unit 120 is positioned above the main body unit 100. Further, an ADF 130 is provided above the reading unit 120.

本実施例に係る複写機は電子写真方式で作像するもので、本体部100には、感光体101、定着装置102、両面装置103及び排紙装置104が設けられている。感光体101の外周には、帯電ユニット105、現像ユニット106、転写ユニット107、クリーニングユニット108及び図示しない除電ユニットが配置されている。また、本体部100には、書き込みのための書き込みユニット109が設けられている。書き込みユニット109は画像書き込みを行うためのLD等の光デバイスとそれを駆動するためのドライバICなどから構成され、転送されてきたデータに応じて、光デバイスを駆動(点滅動作)し、感光体101に対して光書き込み動作を行う。   The copying machine according to the present embodiment forms an image by an electrophotographic method, and a main body unit 100 is provided with a photoconductor 101, a fixing device 102, a duplex device 103, and a paper discharge device 104. A charging unit 105, a developing unit 106, a transfer unit 107, a cleaning unit 108, and a static elimination unit (not shown) are disposed on the outer periphery of the photoconductor 101. The main body 100 is provided with a writing unit 109 for writing. The writing unit 109 includes an optical device such as an LD for writing an image and a driver IC for driving the optical device. The writing unit 109 drives (flashes) the optical device in accordance with the transferred data, and a photoconductor. An optical writing operation is performed on 101.

給紙部110は5段の給紙段111,112,113,114,115を有し、指定された給紙段から給紙ローラを経て縦搬送路116から転写ユニット107に送られ、書き込みユニット109によって感光体101表面に書き込まれ、静電潜像が形成される。読み取り部120はコンタクトガラス上に載置された原稿を副走査方向に走行しながら、あるいはADF130によって搬送される原稿を、走行体を停止させた状態で光学的に読み取る。前者はフラットベッド方式、後者はシートスルー方式と一般に称される。フラットベッド方式での読み取りは例えばブック原稿の場合に行われ、シートスルー方式での読み取りは例えば複数枚のシート原稿の場合に行われる。ADF130はこの実施例では、ARDFとも称される原稿を反転して読み取ることもできる循環式自動原稿給送装置である。   The paper feeding unit 110 has five paper feeding stages 111, 112, 113, 114, and 115, which are sent from the designated paper feeding stage through the paper feeding roller to the transfer unit 107 from the vertical conveyance path 116, and are written in. 109 is written on the surface of the photoconductor 101 to form an electrostatic latent image. The reading unit 120 optically reads the document placed on the contact glass in the sub-scanning direction or the document conveyed by the ADF 130 with the traveling body stopped. The former is generally called a flat bed system, and the latter is generally called a sheet through system. Reading by the flat bed method is performed, for example, in the case of a book document, and reading by the sheet-through method is performed, for example, in the case of a plurality of sheet documents. In this embodiment, the ADF 130 is a circulation type automatic document feeder that can also reversely read a document, also referred to as ARDF.

さらに、図10に示すように画像データを扱う画像データ処理部200、及び紙搬送タイミング等マシン全体制御に関する部分を受け持つエンジン制御部300を備えている。   Furthermore, as shown in FIG. 10, an image data processing unit 200 that handles image data, and an engine control unit 300 that is responsible for overall machine control such as paper conveyance timing are provided.

画像データ処理部200は、画像処理部210、コントローラ220、画像データ配置部230、操作部240及び記憶装置(HDD)250を備えている。画像処理部210は複数のプロセッサで構成され、読み取り部120で読み取られデジタルデータに変換された画像データが入力され、それぞれのプロセッサにより、シェーディング補正や、地肌除去、その他、画像を書き込むために必要な画像処理が行われる。   The image data processing unit 200 includes an image processing unit 210, a controller 220, an image data arrangement unit 230, an operation unit 240, and a storage device (HDD) 250. The image processing unit 210 includes a plurality of processors. The image data read by the reading unit 120 and converted into digital data is input. Necessary for writing shading correction, background removal, and other images by each processor. Image processing is performed.

コントローラ220は複数のプロセッサを備え、画像システムにおける画像データの出力タイミング等をコントロールする。画像処理が施された画像データは一旦記憶装置(HDD)250に記憶される。なお、HDD250に代えてコントローラ内部のメモリに記憶するようにすることもできる。コントローラ220は、各画像データの出力タイミングに応じて、必要なデータをHDD250から取り出し、データ配置部230へ転送する。画像データ配置部230は画像書き込み幅に対応したラインメモリを有し、このラインメモリにコントローラ220から転送されてくるデータが画像領域に応じて配置される。メモリはFIFOであり、配置されたデータは先頭から順に書き込み制御部へ送られる。   The controller 220 includes a plurality of processors and controls the output timing of image data in the image system. Image data that has undergone image processing is temporarily stored in a storage device (HDD) 250. It should be noted that it may be stored in a memory inside the controller instead of the HDD 250. The controller 220 retrieves necessary data from the HDD 250 according to the output timing of each image data, and transfers it to the data arrangement unit 230. The image data arrangement unit 230 has a line memory corresponding to the image writing width, and data transferred from the controller 220 is arranged in this line memory in accordance with the image area. The memory is a FIFO, and the arranged data is sent to the write control unit in order from the top.

操作部240はユーザインターフェースであり、ハードキー、ソフトキー及びディスプレイが設けられ、ユーザからの指示入力及びユーザに対する表示が行われる。   The operation unit 240 is a user interface, and is provided with a hard key, a soft key, and a display, and an instruction input from the user and a display for the user are performed.

エンジン制御部300はメイン制御PCB310とこのメイン制御PCB310に対して第1及び第2のLVDS301,302を介して各ユニット毎に接続された第1及び第2のユニット制御PCB320,330を備えている。メイン制御PCB310はCPU311、第1及び第2の双方向LVDSデバイス312,313を備え、第1及び第2の双方向LVDSデバイス312,313はCPUバス314を介してCPU311に接続されている。また、第1の双方向LVDSデバイス312は第1のLVDS301を介して第1のユニット制御PCB320に、また、第2の双方向LVDSデバイス313は第2のLVDS302を介して第2のユニット制御PCB330にそれぞれ接続されている。本実施例2では、実施例1のLVDSの双方向通信をCPUバスに応用し、遠距離にある複数のユニットを制御する場合に適用した例であり、この例では、複写機の紙搬送タイミング等マシン全体制御に関する部分を受け持つエンジン制御部300に適用されている。   The engine control unit 300 includes a main control PCB 310 and first and second unit control PCBs 320 and 330 connected to the main control PCB 310 via the first and second LVDS 301 and 302 for each unit. . The main control PCB 310 includes a CPU 311 and first and second bidirectional LVDS devices 312 and 313, and the first and second bidirectional LVDS devices 312 and 313 are connected to the CPU 311 via the CPU bus 314. The first bidirectional LVDS device 312 is connected to the first unit control PCB 320 via the first LVDS 301, and the second bidirectional LVDS device 313 is connected to the second unit control PCB 330 via the second LVDS 302. Are connected to each. The second embodiment is an example in which the LVDS bidirectional communication of the first embodiment is applied to a CPU bus to control a plurality of units at a long distance. In this example, the paper transport timing of the copying machine is used. This is applied to an engine control unit 300 that handles a part related to the overall machine control.

すなわち、このメイン制御PCB310は、各種負荷のインターフェース基板やドライブ基板、読み取り、書き込み制御と接続されている。CPU311からはCPUバス314が出力され、このCPUバス314は、上記のような、各ユニット制御PCB320,330へ出力する際、前述のLVDSの双方向伝送を実現する双方向LDVSデバイス312,313を介して前記各ユニット制御PCB320,330と接続される。双方向LDVSデバイス312,313との接続はコネクタによって行われる。   That is, the main control PCB 310 is connected to various load interface boards and drive boards, and read / write controls. A CPU bus 314 is output from the CPU 311. When the CPU bus 314 outputs to the unit control PCBs 320 and 330, the bidirectional LDVS devices 312 and 313 for realizing the above-described bidirectional transmission of LVDS as described above. And connected to the unit control PCBs 320 and 330. Connection with the bidirectional LDVS devices 312 and 313 is performed by a connector.

第1のユニット制御PCB320は第1及び第2の制御IC321,322を備え、CPUバス323に接続された双方向LVDSデバイス324により前記第1のLVDS301を介してメイン制御PCB310と双方向に通信を行う。第1の制御IC321には例えばモータ321a、センサ321b,321c等々が接続され、第2の制御IC322には例えばクラッチ322a、センサ322b,322c等々が接続されている。   The first unit control PCB 320 includes first and second control ICs 321 and 322, and bidirectionally communicates with the main control PCB 310 via the first LVDS 301 by the bidirectional LVDS device 324 connected to the CPU bus 323. Do. For example, a motor 321a, sensors 321b, 321c, and the like are connected to the first control IC 321, and a clutch 322a, sensors 322b, 322c, and the like are connected to the second control IC 322, for example.

第3のユニット制御PCB330は制御IC331を備え、CPUバス332に接続された双方向LDVSデバイス333により前記第2のLVDS302を介してメイン制御PCB310と双方向に通信を行う。第2の制御IC331には、例えばクラッチ331a、センサ331b,331c等々が接続されている。   The third unit control PCB 330 includes a control IC 331 and performs bidirectional communication with the main control PCB 310 via the second LVDS 302 by the bidirectional LDVS device 333 connected to the CPU bus 332. For example, a clutch 331a, sensors 331b, 331c, and the like are connected to the second control IC 331.

大略上記のように構成すると、各ユニット制御PCB320,330は前記CPUバス314をメイン制御PCB310と同じように前記LVDSデバイス324,333で受け、パラレルのCPUバス323,332に変換し、各制御IC321,322,331に入力する。これらの制御IC321,322,331はCPUバス323,333で制御されるICで、例えば、IO拡張ICのような、CPU311からの命令を受けて受動的に動作するようなICである。これらのICは、汎用的に出回っており、割当てられるアドレス空間をCPUバス323,332がアクセスし、それに伴い、各ポートを制御しているICなので、CPU311からの中央制御が可能である。   In general, the unit control PCBs 320 and 330 receive the CPU bus 314 by the LVDS devices 324 and 333 in the same manner as the main control PCB 310, convert them into parallel CPU buses 323 and 332, and control ICs 321. , 322, 331. These control ICs 321, 322, and 331 are ICs controlled by the CPU buses 323 and 333, and are ICs that passively operate in response to commands from the CPU 311, such as IO expansion ICs. These ICs are widely used, and the CPU buses 323 and 332 access the allocated address space and control the respective ports accordingly. Therefore, central control from the CPU 311 is possible.

また、CPUバス314,323,332はセレクト信号により複数のデバイスを制御可能であり、例えば、セレクト信号を3本持っていたとすると、2本はそれぞれ制御負荷との接続が最適な位置に配置されるIOBに、1本は読み取り関係のIO制御PCBに割当てるなどすればよい。   Further, the CPU buses 314, 323, and 332 can control a plurality of devices by a select signal. For example, if there are three select signals, the two are arranged at optimal positions for connection to the control load. One IOB may be allocated to a read-related IO control PCB.

読み取り関係のIO制御は、例えば、原稿サイズを検出するために必要な複数のセンサを、一旦IO拡張ICのポートへ入力し、CPU311がそのIO拡張ICを制御することによってセンサ情報を入手するようになっており、これにより、各センサで必要であった信号線をLVDSのシリアルに変換したCPUバスの信号線のみにすることができる。   In the IO control related to reading, for example, a plurality of sensors necessary for detecting the document size are temporarily input to the port of the IO expansion IC, and the CPU 311 controls the IO expansion IC to obtain sensor information. Thus, only the signal line of the CPU bus obtained by converting the signal line necessary for each sensor into the LVDS serial can be obtained.

また、メイン制御PCB310のCPU311(BCU−Bus Control Unit)から制御される第1及び第2のユニット制御PCB320,330をそのユニット制御PCB320,330が接続される負荷に対して、最適な位置に配置することができる。言い換えればメイン制御PCB310によって制御される第1及び第2のユニット制御PCB320,330を接続負荷の這い回しを最短にするような最適な位置に配置することができる。   In addition, the first and second unit control PCBs 320 and 330 controlled by the CPU 311 (BCU-Bus Control Unit) of the main control PCB 310 are arranged at optimal positions with respect to the load to which the unit control PCBs 320 and 330 are connected. can do. In other words, the first and second unit control PCBs 320 and 330 controlled by the main control PCB 310 can be arranged at optimal positions that minimize the connection load turning.

例えば、読み取りに関する制御を行うユニット制御PCBは、読み取り部120内に配置すればよいし、給紙部110を制御したい場合には、ユニット制御PCBが制御する負荷との接続が最短になるような給紙部110の位置にユニット制御PCBを配置すればよい。例えば、給紙部110の制御負荷が、マシン後から見て左下に集中しているとすると、それらを現状では遠距離に渡って這い回していたが、今回の構成ではマシン左下辺りにユニット制御PCBを配置することによって制御負荷とのハーネスによる接続を最短にすることができる。また、メイン制御PCB310との接続はLVDSケーブルのみであるので、簡単に這い回しすることができる。   For example, the unit control PCB that performs control related to reading may be arranged in the reading unit 120, and when the sheet feeding unit 110 is to be controlled, the connection with the load controlled by the unit control PCB is minimized. The unit control PCB may be arranged at the position of the paper feeding unit 110. For example, assuming that the control load of the paper feeding unit 110 is concentrated in the lower left as viewed from the rear of the machine, they are currently scooped over a long distance, but in this configuration, unit control is performed around the lower left of the machine. By arranging the PCB, the connection with the control load by the harness can be minimized. Further, since the connection to the main control PCB 310 is only the LVDS cable, it can be easily wound.

第1及び第2のユニット制御PCB320,330の制御負荷が多い場合、制御IC(ここでは特にIO拡張ICとする)を第1のユニット制御PCB320のように複数搭載する可能性があり、その場合でもメイン制御PCB310と制御側PCB(第1及び第2のユニット制御PCB320,330)との接続は、CPUバスを接続するLVDSケーブルのみでよい。   When the control load of the first and second unit control PCBs 320 and 330 is large, there is a possibility that a plurality of control ICs (in particular, IO expansion ICs here) are mounted like the first unit control PCB 320. However, the main control PCB 310 and the control-side PCB (first and second unit control PCBs 320 and 330) need only be connected by an LVDS cable that connects the CPU bus.

図11は制御側PCBである第1のユニット制御PCB320を拡大した図に示すように、例えば、制御側PCBの接続負荷(センサ、クラッチ等)が入力、出力とも多数あり、IO拡張ICを複数必要とする場合、図11に示すようにLVDS双方向デバイス324で受けてパラレルバスに変換したCPUバス323をそのまま分岐して、複数のIO拡張ICへ接続すればよい。セレクト信号は、メイン制御PCB310から出力する際に複数本含んで送信すれば問題ない。   FIG. 11 is an enlarged view of the first unit control PCB 320 which is the control side PCB, for example, there are many connection loads (sensors, clutches, etc.) of the control side PCB, both input and output, and a plurality of IO expansion ICs. If necessary, the CPU bus 323 received by the LVDS bidirectional device 324 and converted into a parallel bus as shown in FIG. 11 may be branched as it is and connected to a plurality of IO expansion ICs. There is no problem if a plurality of select signals are transmitted when they are output from the main control PCB 310.

例えば、CPUバス323は前述しているように、アドレスバス351、データバス352、各種制御信号で構成されているが、2つのIO拡張ICを制御しようとする場合、この制御信号には、リード信号352r、ライト信号352wと共に第1のセレクト信号352−1及び第2のセレクト信号352−2を送信すればよく、このセレクト信号352−1,2を制御側PCB(第1のユニット制御PCB320)のそれぞれのIO拡張IC(この実施例では、第1の制御IC321及び第2の制御IC322)へ分配すればよい。   For example, as described above, the CPU bus 323 is composed of an address bus 351, a data bus 352, and various control signals. When two IO expansion ICs are to be controlled, this control signal includes a read signal. The first select signal 352-1 and the second select signal 352-2 may be transmitted together with the signal 352r and the write signal 352w, and the select signals 352-1 and 352-1 are transmitted to the control side PCB (first unit control PCB 320). The IO expansion ICs (in this embodiment, the first control IC 321 and the second control IC 322) may be distributed.

また、割り込み等のタイミングがシビアな信号は、LVDSに変換せずそのまま送信してもよい。図12はこのLVDSに変換せずにそのまま送信する構成を示す図である。複写機にしろ、その他の装置にしろ、システム全体制御として割り込みという概念を多く使用する。割り込みには、プログラム内部で使用する内部割り込みと、外部からの信号によって割り込み動作をする外部割り込みという2種類があるが、図12の例は外部割り込みに関するものであり、図10の第2のユニット制御PCB320の構成に対応している。   In addition, a signal with severe timing such as an interrupt may be transmitted as it is without being converted into LVDS. FIG. 12 is a diagram showing a configuration for transmitting as it is without converting to LVDS. Regardless of whether it is a copier or another device, the concept of interrupt is often used as the overall system control. There are two types of interrupts: internal interrupts used inside the program and external interrupts that perform interrupt operations in response to external signals. The example of FIG. 12 relates to external interrupts, and the second unit of FIG. This corresponds to the configuration of the control PCB 320.

複写機の紙搬送プロセスから、画像書き込み動作を実施するまでのプロセスにおいて、画像を書き込むためのタイミングは非常にシビアなものであり、このタイミングがズレると用紙の先端から画像までの余白幅が変わってしまうなどの影響が出る。これを防ぐために、用紙の先端が画像プロセスの書き込み手前まできた時の位置を示すため、センサにより用紙がきたことを確認するが、このセンサ(以下、レジストセンサと呼ぶ)322r(図9参照)の出力を外部割り込みによってCPU311に入力することによって、優先的にプログラム上で用紙先端位置を確認する作業を実施し、次の画像書き込みプロセスの動作を開始する。   In the process from the paper transport process of the copying machine to the execution of the image writing operation, the timing for writing the image is very severe, and if this timing is shifted, the margin width from the leading edge of the paper to the image changes. The effects such as will come out. In order to prevent this, the sensor confirms that the paper has arrived in order to indicate the position when the leading edge of the paper has reached before the writing of the image process. This sensor (hereinafter referred to as a registration sensor) 322r (see FIG. 9). Is input to the CPU 311 by an external interrupt, so that an operation for preferentially confirming the position of the leading edge of the sheet on the program is performed and the operation of the next image writing process is started.

このレジストセンサ322rは、前記図9に示した位置から図12に示すように第2のユニット制御PCB320に入力されるとすると、第2のユニット制御PCB320の中のIO拡張IC322のポートに入力されることになる。IO拡張IC322にも割り込みポートがあり、ここに入力された信号は、さらにIO拡張信号からの割り込み信号としてメイン制御PCB310へ出力されるが、この割り込み信号はLVDSに変換しなければ、LVDSに変換されるディレー時間を問題にすることなく、メイン制御PCB310へ送信することができる。割り込み等の信号線を数本であれば、大きな電流も流れないので、誤動作やノイズに関する影響も問題ない。また、符号322r’で示すようにレジストセンサの出力をIO拡張IC322の割り込みポートを使用せず、そのままメイン制御PCB310(PCB1)のCPU311まで送信してもよい(符号325)。その際、CPUバス323のLVDSケーブルのコネクタの余ったピンにその信号を割当てれば、そのまま別途ハーネスを必要とすることなく、這い回すことができる。   If the registration sensor 322r is input from the position shown in FIG. 9 to the second unit control PCB 320 as shown in FIG. 12, it is input to the port of the IO expansion IC 322 in the second unit control PCB 320. Will be. The IO expansion IC 322 also has an interrupt port, and the signal input here is further output to the main control PCB 310 as an interrupt signal from the IO expansion signal. If this interrupt signal is not converted to LVDS, it is converted to LVDS. The transmission time can be transmitted to the main control PCB 310 without causing the delay time to be a problem. If there are several signal lines for interrupts or the like, a large current does not flow, so there is no problem with malfunction or noise. Further, as indicated by reference numeral 322r ', the output of the registration sensor may be transmitted as it is to the CPU 311 of the main control PCB 310 (PCB1) without using the interrupt port of the IO expansion IC 322 (reference numeral 325). At that time, if the signal is assigned to the remaining pins of the connector of the LVDS cable of the CPU bus 323, it can be turned around without requiring a separate harness.

このようにCPUバスによって電源立ち上がりシーケンスを簡略化する集中制御を実現すると、メイン電源立ち上がりシーケンスの設計を簡略化することが可能となる。   If centralized control that simplifies the power supply startup sequence by the CPU bus is realized as described above, the design of the main power supply startup sequence can be simplified.

通常、CPUは、メイン電源をオンした時に誤動作防止のためにCPUにリセット信号を入力してCPUを初期化し、また、電源オフ時には、ある電圧まで下がった時に電圧をわざと0Vにし、電圧が不安定領域での誤動作を防止する。このCPUがシステムの中で複数個存在している場合、それぞれのCPUの仕様を考慮して、電源立ち上がり立下りシーケンスを設計しなければならない。これは例えば、BCUに搭載しているCPUが立ち上がるより先に他のCPUが立ち上がっていなければいけない通信エラーが発生するとか、あるいは、他のCPUは後で立ち上がらなければいけない等、に対応するためである。   Normally, when the main power is turned on, the CPU initializes the CPU by inputting a reset signal to the CPU to prevent malfunction, and when the power is turned off, the voltage is intentionally set to 0 V when the voltage drops to a certain voltage, and the voltage is Prevents malfunction in the stable region. When there are a plurality of CPUs in the system, the power supply rise / fall sequence must be designed in consideration of the specifications of each CPU. This is to cope with, for example, a communication error in which another CPU must be started before the CPU mounted on the BCU is started, or another CPU has to be started later. It is.

前記タイミングをメイン制御PCB310のCPU311からの中央制御にすることによって、他のIO拡張IC321,322,331等にリセットを入力しなければいけないとしても、メイン制御PCB310のCPU311とのタイミングを考慮していればよいだけの話である。図13は5V電源S5v、CPU電源SCPU及び制御IC電源SICのメイン電源とのタイミング関係を示すタイミングチャートである。例えば、図13に示すようにメイン制御PCB310のCPU311より先にIO拡張IC321が立ち上がってなければいけないとすると、例えばCPU311のリセット時間を100msと設定すれば、その他のIC322,331は各ICの仕様を満足し、それより早い時間で立ち上がるようなリセット時間(例えば、50ms等)を設定すればよい。すなわち、図13に示すようなリセット期間Trのいずれかのタイミングでリセットをかければよいことになる。   By setting the timing to the central control from the CPU 311 of the main control PCB 310, even if a reset must be input to the other IO expansion ICs 321, 322, 331, etc., the timing with the CPU 311 of the main control PCB 310 is taken into consideration. It's just a story. FIG. 13 is a timing chart showing the timing relationship with the main power source of the 5V power source S5v, the CPU power source SCPU and the control IC power source SIC. For example, as shown in FIG. 13, if the IO expansion IC 321 must be started before the CPU 311 of the main control PCB 310, for example, if the reset time of the CPU 311 is set to 100 ms, the other ICs 322 and 331 have specifications of each IC. It is sufficient to set a reset time (for example, 50 ms, etc.) that satisfies the above and rises earlier. That is, it is only necessary to reset at any timing of the reset period Tr as shown in FIG.

このように本実施例によれば、
1)双方向のパラレル信号をシリアルに変換してLVDSで信号を伝送する構成を複写機、もっと広くいえば画像形成装置に適用したので、双方向伝送と片方向伝送の機能の選択、固定が可能となり、CPUバス等の既存のバスによる接続が可能となる。
2)1つのパッケージに収めることにより、省スペースとコストダウンを図ることができる。
3)パラレル信号をシリアル信号に変換して伝送するので、ハーネス線数を少なくすることができる。
4)CPUバスを使用して複数のユニット、あるいはデバイスへの制御が行えるので、メイン制御PCBからの中央制御が可能となる。
5)メイン制御PCBからの中央制御が可能となるので、各ユニットに搭載していた制御用IC(CPU、FPGA等)のソフト開発工数の削減と、システム全体の構成を単純化することができる。
6)ソフト開発工数の削減及びシステム全体の構成の単純化が可能なので、タイミング設計や各種シーケンスが容易となる。
7)ソフト開発負荷の削減とハーネスの這い回し工数の削減が可能なので、システム全体としてのコスト削減を図ることができる。
等の効果を奏する。
Thus, according to the present embodiment,
1) Since the configuration in which bidirectional parallel signals are converted into serial signals and transmitted by LVDS is applied to a copying machine, or more broadly, an image forming apparatus, the functions of bidirectional transmission and unidirectional transmission can be selected and fixed. It becomes possible, and connection by existing buses such as a CPU bus becomes possible.
2) Space-saving and cost reduction can be achieved by putting it in one package.
3) Since the parallel signal is converted into a serial signal and transmitted, the number of harness lines can be reduced.
4) Since a plurality of units or devices can be controlled using the CPU bus, central control from the main control PCB is possible.
5) Since central control from the main control PCB is possible, it is possible to reduce the software development man-hours of the control IC (CPU, FPGA, etc.) mounted in each unit and to simplify the overall system configuration. .
6) Since it is possible to reduce the number of software development steps and simplify the configuration of the entire system, timing design and various sequences are facilitated.
7) Since the software development load can be reduced and the number of man-hours required for harnessing can be reduced, the cost of the entire system can be reduced.
There are effects such as.

本発明の実施例1に係るインターフェース装置の内部回路を示す図である。It is a figure which shows the internal circuit of the interface apparatus which concerns on Example 1 of this invention. 実施例1に関するLVDSの伝送において送信側と受信側における伝送方向制御信号の反転状態の一例を示す図である。6 is a diagram illustrating an example of inversion states of transmission direction control signals on a transmission side and a reception side in LVDS transmission according to Embodiment 1. FIG. 実施例1に関するLVDSの伝送において送信側と受信側における伝送方向制御信号の反転状態の他例を示す図である。FIG. 10 is a diagram illustrating another example of the inverted state of the transmission direction control signal on the transmission side and the reception side in the LVDS transmission according to the first embodiment. 実施例1に係るインターフェース装置における機能ブロックとパッケージとの関連構成を示す図である。It is a figure which shows the related structure of the functional block and package in the interface apparatus which concerns on Example 1. FIG. 実施例1に係るインターフェース装置においてCPUバスを使用した場合の構成例を示す図である。It is a figure which shows the structural example at the time of using CPU bus | bath in the interface apparatus which concerns on Example 1. FIG. 実施例1に係るインターフェース装置においてCPUバスを使用した場合の動作例として伝送方向制御信号の作成及び使用手法を示す図である。It is a figure which shows the preparation and usage method of a transmission direction control signal as an operation example at the time of using CPU bus | bath in the interface apparatus which concerns on Example 1. FIG. 実施例1に係るインターフェース装置においてCPUバスを使用した場合の動作例を説明する図である。FIG. 10 is a diagram illustrating an operation example when a CPU bus is used in the interface apparatus according to the first embodiment. 実施例1に係るインターフェース装置における双方向LVDSデバイスをドライバかレシーバかのいずれかの機能に固定し、必要に応じて機能ブロックの伝送方向を切り替える構成を示す図である。It is a figure which shows the structure which fixes the bidirectional | two-way LVDS device in the function of either a driver or a receiver in the interface apparatus which concerns on Example 1, and switches the transmission direction of a functional block as needed. 実施例2に係る複写機の機械構成の概略を示す図である。FIG. 4 is a diagram illustrating an outline of a machine configuration of a copying machine according to a second embodiment. 実施例2に係る複写機の制御構成の要部を示すブロック図である。FIG. 6 is a block diagram illustrating a main part of a control configuration of a copier according to a second embodiment. 実施例2における制御側PCBである第2のユニット制御PCBを拡大して示すブロック図である。FIG. 6 is an enlarged block diagram illustrating a second unit control PCB that is a control-side PCB in Embodiment 2. 実施例2においてLVDSに変換せずにそのまま送信する構成を示す図である。It is a figure which shows the structure which transmits as it is, without converting into LVDS in Example 2. FIG. 5V電源、CPU電源U及び制御IC電源のメイン電源とのタイミング関係を示すタイミングチャートである。It is a timing chart which shows the timing relationship with the main power supply of 5V power supply, CPU power supply U, and control IC power supply. 従来技術に関するLVDSによる通信であって別々に設けた信号線により双方向通信を行う構成図である。It is the communication by LVDS regarding a prior art, Comprising: It is a block diagram which performs two-way communication by the signal line provided separately. 従来技術に関するBusLVDSのようなバス信号をLVDSに変換して一方向通信を行う構成図である。It is a block diagram which converts a bus signal like BusLVDS regarding a prior art into LVDS, and performs one-way communication.

符号の説明Explanation of symbols

1 パラレル/シリアル変換部
2 シリアル/パラレル変換部
3 LVDSドライバ
4 LVDSレシーバ
5 PLL
6 双方向データ
7 LVDSI/F
8 伝送方向制御信号
9 クロック
10 反転部
11 LVDSデータ送信部(送信側ブロック)
12 LVDSデータ受信部(受信側ブロック)
22,314,323,332 CPUバス
22a,351 アドレスバス
22b,352 データバス
22c 制御信号
100 (複写機の)本体部
200 画像データ処理部
300 エンジン制御部
301,302 LVDS
310 メイン制御PCB
311 CPU
312,324,333 双方向LVDSデバイス
314,323,314 CPUバス
320,330 ユニット制御PCB(制御側PCB)
321,322,331 制御IC
352−1,352−2 セレクト信号
BA,BB,BC 機能ブロック
P パッケージ
DESCRIPTION OF SYMBOLS 1 Parallel / serial conversion part 2 Serial / parallel conversion part 3 LVDS driver 4 LVDS receiver 5 PLL
6 Bidirectional data 7 LVDSI / F
8 Transmission direction control signal 9 Clock 10 Inversion unit 11 LVDS data transmission unit (transmission side block)
12 LVDS data receiver (receiver block)
22, 314, 323, 332 CPU bus 22a, 351 Address bus 22b, 352 Data bus 22c Control signal 100 (copier) main unit 200 Image data processing unit 300 Engine control unit 301, 302 LVDS
310 Main control PCB
311 CPU
312, 324, 333 Bidirectional LVDS device 314, 323, 314 CPU bus 320, 330 Unit control PCB (control side PCB)
321,322,331 Control IC
352-1, 352-2 Select signal BA, BB, BC Function block P Package

Claims (11)

入力されるパラレル信号をシングルエンド信号に変換するパラレル/シリアル変換部と、
前記パラレル/シリアル変換部からのシングルエンド信号をLVDS出力に変換するLVDSドライバと、
入力されるLVDS信号をシングルエンド信号に変換するLVDSレシーバと、
前記LVDSレシーバからのシングルエンド信号をパラレル信号に変換するパラレル/シリアル変換部と、
を有する機能ブロックを1つのパッケージに搭載し、
データ送信は前記パラレル/シリアル変換部と前記LVDSドライバを用い、
データ受信は前記LVDSレシーバと前記シリアル/パラレル変換部を用い、
前記機能ブロックの信号の伝送方向を切り替えることによって、前記パラレル信号のLVDSによる双方向通信を行うことを特徴とするインターフェース装置。
A parallel / serial converter that converts an input parallel signal into a single-ended signal;
An LVDS driver that converts a single-ended signal from the parallel / serial converter to an LVDS output;
An LVDS receiver that converts an input LVDS signal into a single-ended signal;
A parallel / serial converter that converts a single-ended signal from the LVDS receiver into a parallel signal;
A functional block having
Data transmission uses the parallel / serial converter and the LVDS driver,
Data reception uses the LVDS receiver and the serial / parallel converter,
An interface device characterized in that bidirectional communication by LVDS of the parallel signal is performed by switching the transmission direction of the signal of the functional block.
請求項1記載のインターフェース装置において、
前記1つのパッケージに搭載された機能ブロックは、前記双方向通信のドライバまたはレシーバとして共通して使用されることを特徴とするインターフェース装置。
The interface device according to claim 1, wherein
The functional block mounted on the one package is commonly used as the bidirectional communication driver or receiver.
請求項1記載のインターフェース装置において、
前記機能ブロックの信号の伝送方向の切り替えは、伝送方向制御信号を前記機能ブロックの各構成要素に印加することによって行うことを特徴とするインターフェース装置。
The interface device according to claim 1, wherein
Switching of the transmission direction of the signal of the functional block is performed by applying a transmission direction control signal to each component of the functional block.
請求項3記載のインターフェース装置において、
前記機能ブロックは送信側と受信側に対として配置され、
前記機能ブロックの一方には前記伝送方向制御信号が、他方には前記伝送方向制御信号の反転信号がそれぞれ入力されることを特徴とするインターフェース装置。
The interface device according to claim 3, wherein
The functional blocks are arranged as a pair on the transmitting side and the receiving side,
The interface device, wherein one of the functional blocks receives the transmission direction control signal, and the other receives an inverted signal of the transmission direction control signal.
請求項1記載のインターフェース装置において、
前記1つのパッケージに複数の機能ブロックを搭載し、前記機能ブロック毎に前記伝送方向を設定する設定手段を備えていることを特徴とするインターフェース装置。
The interface device according to claim 1, wherein
An interface device comprising a plurality of functional blocks mounted on the one package, and setting means for setting the transmission direction for each functional block.
請求項5記載のインターフェース装置において、
前記複数の機能ブロックの内の1つの機能ブロックにCPUバスを適用することを特徴とするインターフェース装置。
The interface device according to claim 5, wherein
An interface device, wherein a CPU bus is applied to one of the plurality of functional blocks.
請求項5記載のインターフェース装置において、
前記伝送方向機能を設定し、前記複数の機能ブロックの内の1つの機能ブロックはデータバスに接続されて双方向通信用として機能させ、他の機能ブロックはデータ送信用として機能させることを特徴とするインターフェース装置。
The interface device according to claim 5, wherein
The transmission direction function is set, and one functional block of the plurality of functional blocks is connected to a data bus and functions for bidirectional communication, and the other functional block functions for data transmission. Interface device.
請求項5記載のインターフェース装置において、
前記複数の機能ブロックの内使用しない機能ブロックに対して動作不可とする信号を印加することを特徴とするインターフェース装置。
The interface device according to claim 5, wherein
An interface device, wherein a signal for disabling operation is applied to a functional block that is not used among the plurality of functional blocks.
請求項5記載のインターフェース装置において、
前記データ受信のリード指示信号に基づいて、前記機能ブロックの信号の伝送方向を切り替えることを特徴とするインターフェース装置。
The interface device according to claim 5, wherein
An interface device characterized by switching a signal transmission direction of the functional block based on a read instruction signal for data reception.
請求項9記載のインターフェース装置において、
前記機能ブロックは送信側と受信側に対として配置され、
前記信号の伝送方向は、伝送方向制御信号とドライバであるかレシーバであるかを設定する設定端子の信号レベルに基づいて自動的に切り替えられることを特徴とするインターフェース装置。
The interface device according to claim 9, wherein
The functional blocks are arranged as a pair on the transmitting side and the receiving side,
The interface apparatus characterized in that the transmission direction of the signal is automatically switched based on a transmission direction control signal and a signal level of a setting terminal for setting a driver or a receiver.
請求項1ないし10のいずれか1項に記載のインターフェース装置を備えていることを特徴とする画像形成装置。   An image forming apparatus comprising the interface device according to claim 1.
JP2007007009A 2006-02-16 2007-01-16 Interface device and image forming apparatus with the same Pending JP2007249942A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2007007009A JP2007249942A (en) 2006-02-16 2007-01-16 Interface device and image forming apparatus with the same
US12/014,499 US8203976B2 (en) 2007-01-16 2008-01-15 Interface device and image forming apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2006039500 2006-02-16
JP2007007009A JP2007249942A (en) 2006-02-16 2007-01-16 Interface device and image forming apparatus with the same

Publications (1)

Publication Number Publication Date
JP2007249942A true JP2007249942A (en) 2007-09-27

Family

ID=38594101

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007007009A Pending JP2007249942A (en) 2006-02-16 2007-01-16 Interface device and image forming apparatus with the same

Country Status (1)

Country Link
JP (1) JP2007249942A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010023347A (en) * 2008-07-18 2010-02-04 Ricoh Co Ltd Image formation device
CN102193405A (en) * 2010-03-09 2011-09-21 佳能株式会社 Serial communication apparatus and image forming apparatus including the same
JP2012156731A (en) * 2011-01-25 2012-08-16 Nec Computertechno Ltd Serial interface circuit and serial communication system
US9419616B2 (en) 2013-11-29 2016-08-16 Ricoh Company, Ltd. LVDS driver
CN109037182A (en) * 2018-09-12 2018-12-18 深圳三地芯电子有限责任公司 Chip-packaging structure and memory device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62154045A (en) * 1985-12-27 1987-07-09 Hitachi Ltd Bus arbitration system
JP2003045578A (en) * 2001-07-30 2003-02-14 Canon Inc Electrical connector

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62154045A (en) * 1985-12-27 1987-07-09 Hitachi Ltd Bus arbitration system
JP2003045578A (en) * 2001-07-30 2003-02-14 Canon Inc Electrical connector

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010023347A (en) * 2008-07-18 2010-02-04 Ricoh Co Ltd Image formation device
CN102193405A (en) * 2010-03-09 2011-09-21 佳能株式会社 Serial communication apparatus and image forming apparatus including the same
US8577243B2 (en) 2010-03-09 2013-11-05 Canon Kabushiki Kaisha Serial communication apparatus and image forming apparatus including the same
CN102193405B (en) * 2010-03-09 2014-05-14 佳能株式会社 Serial communication apparatus and image forming apparatus including same
JP2012156731A (en) * 2011-01-25 2012-08-16 Nec Computertechno Ltd Serial interface circuit and serial communication system
US9419616B2 (en) 2013-11-29 2016-08-16 Ricoh Company, Ltd. LVDS driver
CN109037182A (en) * 2018-09-12 2018-12-18 深圳三地芯电子有限责任公司 Chip-packaging structure and memory device

Similar Documents

Publication Publication Date Title
US8203976B2 (en) Interface device and image forming apparatus
JP3983453B2 (en) Image information processing apparatus and image information processing system
KR100740224B1 (en) Image forming apparatus and communicating method with tray thereof
JP2007249942A (en) Interface device and image forming apparatus with the same
US7360192B2 (en) Macrocell, integrated circuit device, and electronic instrument
JP2009055588A (en) Image forming apparatus
JP2009003863A (en) Interface device and image forming apparatus
JP4954023B2 (en) Image forming apparatus and connection notification method
US8373871B2 (en) Image forming apparatus
JP6623854B2 (en) Transmission control device and image forming apparatus including transmission control device
US4873431A (en) Recording apparatus with optical fiber cable interconnecting microcomputers
JP4910250B2 (en) Interface circuit
JP2006295610A (en) Image forming apparatus
JP2008097308A (en) Memory card and digital camera
JP4712846B2 (en) Image processing device
JP2008198000A (en) Custom integrated circuit, and image forming apparatus with custom integrated circuit
JP2007221600A (en) Signal transmission device and image forming apparatus
JP2001156951A (en) Image forming device
US11425276B2 (en) Electronic device
JP2006121745A (en) Digital copying machine
JP5150273B2 (en) Optional device, image forming system, and debugging system
JP2006191217A (en) Image processor, its manufacturing process, and upgrading method
JP2008097306A (en) Memory card and digital camera
JP2005284672A (en) Communication device
JP2004348580A (en) Serial interface circuit and integrated semiconductor circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091002

A977 Report on retrieval

Effective date: 20111007

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111018

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120605