JP2023068304A - Detector and image forming apparatus - Google Patents

Detector and image forming apparatus Download PDF

Info

Publication number
JP2023068304A
JP2023068304A JP2021179269A JP2021179269A JP2023068304A JP 2023068304 A JP2023068304 A JP 2023068304A JP 2021179269 A JP2021179269 A JP 2021179269A JP 2021179269 A JP2021179269 A JP 2021179269A JP 2023068304 A JP2023068304 A JP 2023068304A
Authority
JP
Japan
Prior art keywords
light
input
substrate
voltage
state
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
JP2021179269A
Other languages
Japanese (ja)
Inventor
純 平林
Jun Hirabayashi
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 JP2021179269A priority Critical patent/JP2023068304A/en
Publication of JP2023068304A publication Critical patent/JP2023068304A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Electrophotography Configuration And Component (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Controlling Sheets Or Webs (AREA)
  • Photo Coupler, Interrupter, Optical-To-Optical Conversion Devices (AREA)

Abstract

To reduce the number of necessary signal lines even for a substrate having one signal output circuit mounted thereon.SOLUTION: A detector has: a sensor substrate 411 that has mounted thereon an LED 404 and a phototransistor 405 that outputs a signal according to the state of reception of light from the LED 404; a master substrate 410 that has mounted thereon a CPU 120 that includes an input/output port; and signal lines 407, 408 that connect the sensor substrate 411 and the master substrate 410 with each other. The sensor substrate 411 has a capacitor 403, and a transistor 406 that is connected with the capacitor 403 and changed in its state by an output signal from the phototransistor 405, and when the phototransistor is turned on, electric charges accumulated in the capacitor 403 are discharged. In an output mode, the CPU 120 supplies a power supply voltage from the input/output port to the sensor substrate 411 through the signal line 407, and in an input mode, detects the state of reception of light from the phototransistor 405 based on the voltage of the capacitor 403 input to the input/output port through the signal line 407.SELECTED DRAWING: Figure 4

Description

本発明は、検知装置及び画像形成装置に関し、例えば、フォトインタラプタを搭載した基板に関する。 The present invention relates to a detection device and an image forming device, and for example, to a substrate on which a photointerrupter is mounted.

従来から記録紙に画像形成を行う電子写真方式の画像形成装置では、記録紙の有無を検知したり、記録紙の位置、画像形成装置本体のカバーの開閉状態を検知したりするためにセンサが使用されている。センサには、発光素子と受光素子とを対向して配置し、その間を検知対象と連動する部材が発光素子からの光を遮ることにより、状態変化を検知するフォトインタラプタが使用されることが多い。 Conventional electrophotographic image forming apparatuses that form images on recording paper have sensors to detect the presence or absence of recording paper, the position of the recording paper, and the open/close state of the cover of the image forming apparatus. It is used. Sensors often use a photointerrupter that detects state changes by arranging a light-emitting element and a light-receiving element facing each other, and blocking the light from the light-emitting element with a member interlocking with the detection target between them. .

フォトインタラプタをセンサとして使用する場合には、フォトインタラプタの発光素子と受光素子との隙間であるスリット部に、発光素子からの光を遮光するための遮光部材を配置する必要がある。そして、上述したカバーや記録紙等の検知対象の動きと連動するように、検知対象を検知する検知部材と遮光部材とを接続するリンク機構を設けて、検知対象の動きに応じて、リンク機構を介して遮光部材を動かすことにより、スリット部における光を遮光する。検知部材とセンサとの間が離れている場合にはリンク機構が長くなり、構造上様々な支障が生じる場合がある。このような場合には、センサであるフォトインタラプタを小さな基板(子基板)に搭載し、センサ基板として検知部材の近傍に配置することで、リンク機構を短くする構成とすることがある。 When a photointerrupter is used as a sensor, it is necessary to place a light shielding member for shielding light from the light emitting element in the slit between the light emitting element and the light receiving element of the photointerrupter. Then, a link mechanism is provided to connect the detection member for detecting the detection target and the light shielding member so as to interlock with the movement of the detection target such as the cover or the recording paper described above, and the link mechanism detects the movement of the detection target according to the movement of the detection target. The light in the slit portion is blocked by moving the light blocking member through the . If the detection member and the sensor are separated from each other, the link mechanism becomes long, which may cause various structural problems. In such a case, the link mechanism may be shortened by mounting a photointerrupter, which is a sensor, on a small board (child board) and arranging it as a sensor board in the vicinity of the detection member.

例えば、特許文献1には、小さな基板(子基板)上に複数のフォトインタラプタを搭載したセンサが紹介されている。子基板に設けられた各フォトインタラプタを制御するCPUが設置された親基板と子基板との間には、本来であれば、フォトインタラプタの数に応じた信号線が必要となる。特許文献1では、子基板に設けられた各フォトインタラプタの出力をワイヤードOR接続することにより、信号線の数を1本に削減する構成が提案されている。そして、特許文献1で提案された方式では、CPUは各フォトインタラプタの出力を所定のタイミングで順次検知することにより、それぞれのフォトインタラプタと接続された信号線経由で出力を検知する場合と同様の効果を奏することが記載されている。 For example, Patent Document 1 introduces a sensor in which a plurality of photointerrupters are mounted on a small substrate (child substrate). Originally, signal lines corresponding to the number of photointerrupters are required between the main board on which a CPU for controlling each photointerrupter provided on the subboard is installed and the subboard. Patent Document 1 proposes a configuration in which the number of signal lines is reduced to one by wired OR-connecting the outputs of each photointerrupter provided on a child board. In the method proposed in Patent Document 1, the CPU sequentially detects the output of each photointerrupter at a predetermined timing, which is similar to the case of detecting the output via the signal line connected to each photointerrupter. It is described that there is an effect.

特開2008-87908号公報Japanese Unexamined Patent Application Publication No. 2008-87908

上述した従来の方式では、フォトインタラプタが3個搭載された子基板と、CPUが搭載された親基板との間を接続する信号線は、本来であれば、5本の信号線が必要となるところ、3本の信号線で済ませることができる。すなわち、電源電圧を供給する信号線が1本、基準電位であるグランド電位(GND)を供給する信号線が1本、そして、各フォトインタラプタの出力のための信号線が3本の、合計5本の信号線が必要となるところ、3本の信号線で対応可能となっている。しかしながら、上述した従来の方式では、フォトインタラプタが1個しか搭載されていない子基板でも、フォトインタラプタが3個搭載されている場合と同様、電源電圧供給用、グランド用、及びフォトインタラプタの出力用の3本の信号線が必要となる。このため、フォトインタラプタのような発光素子とスイッチ素子とを含む信号出力回路を1つ搭載した基板に対しても必要な信号線の数を低減することが求められている。 In the above-described conventional system, five signal lines would normally be required for connecting the child board on which three photointerrupters are mounted and the main board on which the CPU is mounted. However, it can be done with three signal lines. That is, one signal line for supplying power supply voltage, one signal line for supplying ground potential (GND) as a reference potential, and three signal lines for outputting each photointerrupter, totaling five. Where three signal lines are required, three signal lines are sufficient. However, in the above-described conventional method, even in a sub-board on which only one photointerrupter is mounted, the power supply voltage, the ground, and the output of the photointerrupter are used in the same way as when three photointerrupters are mounted. 3 signal lines are required. Therefore, it is required to reduce the number of signal lines required even for a substrate on which one signal output circuit including a light emitting element and a switching element such as a photointerrupter is mounted.

本発明は、このような状況のもとでなされたもので、1個の信号出力回路を搭載した基板に対しても必要な信号線の数を削減することを目的とする。 SUMMARY OF THE INVENTION It is an object of the present invention to reduce the number of signal lines required even for a board on which one signal output circuit is mounted.

上述した課題を解決するために、本発明では、以下の構成を備える。 In order to solve the above problems, the present invention has the following configuration.

(1)発光素子と、前記発光素子から出射された光を受光し、前記光の受光状態に応じて異なる信号を出力する受光素子と、が搭載された第1の基板と、入出力ポートを備えた制御部が搭載された第2の基板と、前記第1の基板と前記第2の基板を接続する接続線と、を有する検知装置において、前記第1の基板には、電荷が蓄積される蓄電素子と、前記蓄電素子と接続され、前記受光素子から出力された信号に応じてオン状態又はオフ状態に切り替わるスイッチング素子と、が搭載され、前記スイッチング素子が前記オン状態となると前記蓄電素子に蓄積された電荷が放電されるように構成されており、前記制御部が出力モードで動作する場合、前記制御部は前記接続線を介して前記入出力ポートから前記第1の基板に電源電圧を供給し、前記蓄電素子は前記制御部から供給された前記電源電圧により充電されると共に、前記発光素子は前記電源電圧により発光し、前記制御部が入力モードで動作する場合、前記発光素子は前記蓄電素子から供給される電圧により発光し、前記制御部は前記接続線を介して前記入出力ポートに入力される前記蓄電素子の電圧に基づいて、前記受光素子の光の受光状態を検知することを特徴とする検知装置。 (1) A first substrate mounted with a light-emitting element and a light-receiving element that receives light emitted from the light-emitting element and outputs a different signal depending on the state of light reception; and an input/output port. and a connection line that connects the first substrate and the second substrate, wherein an electric charge is accumulated in the first substrate. and a switching element that is connected to the storage element and switches between an on state and an off state according to a signal output from the light receiving element, and when the switching element is in the on state, the storage element When the control unit operates in the output mode, the control unit supplies the power supply voltage from the input/output port to the first substrate through the connection line. is supplied, the storage element is charged by the power supply voltage supplied from the control unit, the light emitting element emits light by the power supply voltage, and when the control unit operates in the input mode, the light emitting element is Light is emitted by the voltage supplied from the storage element, and the control unit detects the light reception state of the light receiving element based on the voltage of the storage element input to the input/output port through the connection line. A detection device characterized by:

(2)発光素子と、オン状態又はオフ状態となることで前記発光素子の発光状態又は消灯状態を切り替えるスイッチ素子と、が搭載された第1の基板と、入出力ポートを備えた制御部が搭載された第2の基板と、前記第1の基板と前記第2の基板を接続する接続線と、を有する検知装置において、前記第1の基板には、電荷が蓄積される蓄電素子が搭載され、前記スイッチ素子が前記オン状態となると前記蓄電素子に蓄積された電荷が放電されるように構成されており、前記制御部が出力モードで動作する場合、前記制御部は前記接続線を介して前記入出力ポートから前記第1の基板に電源電圧を供給し、前記蓄電素子は前記制御部から供給された前記電源電圧により充電されると共に、前記発光素子は前記電源電圧により発光し、前記制御部が入力モードで動作する場合、前記制御部は前記接続線を介して前記入出力ポートに入力される前記蓄電素子の電圧に基づいて、前記スイッチ素子の前記オン状態又は前記オフ状態を検知することを特徴とする検知装置。 (2) A first substrate mounted with a light-emitting element and a switching element that switches between the light-emitting state and the extinguished state of the light-emitting element by being turned on or off, and a control unit provided with an input/output port. In a detection device having a mounted second substrate and a connection line connecting the first substrate and the second substrate, the first substrate is equipped with an electric storage element that accumulates electric charge. and when the switch element is turned on, the electric charge accumulated in the storage element is discharged. When the control section operates in the output mode, the control section is connected to a power supply voltage is supplied from the input/output port to the first substrate, the power storage element is charged by the power supply voltage supplied from the control unit, the light emitting element emits light by the power supply voltage, and When the control unit operates in the input mode, the control unit detects the ON state or the OFF state of the switch element based on the voltage of the storage element input to the input/output port via the connection line. A detection device characterized by:

(3)搬送路を搬送されている記録材に画像形成動作を行う画像形成装置であって、前記(1)に記載の検知装置を備え、前記第1の基板は、前記搬送路に沿って配置され、前記制御部は、前記受光素子の光の受光状態に基づいて、前記搬送路上の記録材の有無を検知することを特徴とする画像形成装置。 (3) An image forming apparatus that performs an image forming operation on a recording material being conveyed along a conveying path, comprising the detection device according to (1), wherein the first substrate moves along the conveying path. An image forming apparatus, wherein the control unit detects the presence or absence of a recording material on the conveying path based on the light receiving state of the light receiving element.

(4)記録材に画像形成動作を行う画像形成装置であって、記録材が載置される給紙部と、前記(1)に記載の検知装置と、を備え、前記第1の基板は、前記給紙部に配置され、前記制御部は、前記受光素子の光の受光状態に基づいて、前記給紙部に載置された記録材の有無を検知することを特徴とする画像形成装置。 (4) An image forming apparatus for forming an image on a recording material, comprising: a paper feeding unit on which the recording material is placed; and the detection device according to (1), wherein the first substrate is and wherein the control unit detects the presence or absence of the recording material placed on the paper supply unit based on the light receiving state of the light receiving element. .

(5)記録材に画像形成動作を行う画像形成装置であって、前記(2)に記載の検知装置を備え、前記制御部は、前記スイッチ素子の状態に基づいて、前記画像形成装置の電源をオン状態からオフ状態、又はオフ状態からオン状態に移行させることを特徴とする画像形成装置。 (5) An image forming apparatus that performs an image forming operation on a recording material, comprising the detection device according to (2), wherein the control unit controls the power supply of the image forming apparatus based on the state of the switch element. from an ON state to an OFF state or from an OFF state to an ON state.

本発明によれば、1個の信号出力回路を搭載した基板に対しても必要な信号線の数を削減することができる。 According to the present invention, it is possible to reduce the number of required signal lines even for a substrate on which one signal output circuit is mounted.

実施例1、2の画像形成装置の構成を説明する断面図FIG. 2 is a cross-sectional view for explaining the configuration of the image forming apparatus of Examples 1 and 2; 実施例1のセンサ基板の構成を説明する外観図FIG. 2 is an external view for explaining the configuration of the sensor substrate of Example 1; 実施例1との比較のための従来の基板の回路構成、及び接続方式を説明する図FIG. 4 is a diagram for explaining the circuit configuration and connection method of a conventional substrate for comparison with the first embodiment; 実施例1の基板の回路構成、及び接続方式を説明する図FIG. 4 is a diagram for explaining the circuit configuration and connection method of the substrate of Example 1; 実施例1のセンサ基板のセンサを制御する制御シーケンスを示すフローチャート4 is a flow chart showing a control sequence for controlling the sensors of the sensor board of the first embodiment; 実施例2の基板の回路構成、及び接続方式を説明する図FIG. 10 is a diagram for explaining the circuit configuration and connection method of the substrate of Example 2;

以下に、図面を参照して本発明の実施の形態について詳細に説明する。 BEST MODE FOR CARRYING OUT THE INVENTION Below, embodiments of the present invention will be described in detail with reference to the drawings.

[画像形成装置の構成]
図1は、実施例1が適用される画像形成装置であるモノクロレーザプリンタ100(以下、プリンタ100という)の構成を説明する断面図である。図1において、記録材Pに画像形成する画像形成部は、感光体である感光ドラム105、感光ドラム105を一様な電位で帯電する帯電手段である帯電ローラ107を有する。また、画像形成部は、感光ドラム105の表面にレーザ光113を照射して静電潜像を形成する露光手段であるレーザスキャナ102を有している。更に、画像形成部は、感光ドラム105上に形成された静電潜像をトナータンク103に収容された磁性体トナーにより現像し、トナー像を形成する現像手段である現像ローラ104を有している。なお、現像ブレード114は、現像ローラ104上のトナー量を規制する。また、廃トナータンク108は、ブレード118により除去された感光ドラム105のトナーを回収する。そして、制御部であるCPU120は、後述するプリンタ100の動作を制御する。例えば、CPU120はROM(不図示)に記憶された各種プログラムに従い、RAM(不図示)を一時的な作業領域として用いながらプリンタ100を制御し、画像形成動作を行う。
[Configuration of Image Forming Apparatus]
FIG. 1 is a cross-sectional view for explaining the configuration of a monochrome laser printer 100 (hereinafter referred to as printer 100), which is an image forming apparatus to which Embodiment 1 is applied. In FIG. 1, an image forming unit that forms an image on a recording material P has a photosensitive drum 105 that is a photosensitive member, and a charging roller 107 that is a charging unit that charges the photosensitive drum 105 with a uniform potential. The image forming unit also has a laser scanner 102 which is an exposure unit that irradiates the surface of the photosensitive drum 105 with a laser beam 113 to form an electrostatic latent image. Further, the image forming unit has a developing roller 104 which is developing means for developing the electrostatic latent image formed on the photosensitive drum 105 with magnetic toner stored in the toner tank 103 to form a toner image. there is Incidentally, the developing blade 114 regulates the amount of toner on the developing roller 104 . Also, the waste toner tank 108 collects toner on the photosensitive drum 105 removed by the blade 118 . The CPU 120, which is a control unit, controls operations of the printer 100, which will be described later. For example, the CPU 120 controls the printer 100 according to various programs stored in a ROM (not shown), using a RAM (not shown) as a temporary work area, and performs an image forming operation.

給紙部101は、収納された記録材Pを搬送路112に給送し、給送された記録材Pは搬送路112上(搬送路上)を通って、転写ローラ106に搬送される。転写手段である転写ローラ106は、感光ドラム105上に形成されたトナー像を記録材Pに転写する。定着装置117は、記録材Pに転写されたトナー像を記録材Pに定着させる装置であり、トナー像を加熱する定着ローラ109と、定着ローラ109に当接して、通過する記録材Pを加圧する加圧ローラ110と、を有している。排出部111には、定着装置117を通過した記録材Pが排出され、積載される。なお、記録材有無センサ116は、給紙部101に収納された記録材Pの有無を検知する。また、記録材搬送センサ115は、給紙部101から搬送路112に給送された記録材Pの搬送方向の先端を検知する。 The paper feed unit 101 feeds the stored recording material P to a conveying path 112 , and the fed recording material P passes through the conveying path 112 (on the conveying path) and is conveyed to the transfer roller 106 . A transfer roller 106, which is transfer means, transfers the toner image formed on the photosensitive drum 105 onto the recording material P. As shown in FIG. The fixing device 117 is a device for fixing the toner image transferred to the recording material P on the recording material P. The fixing roller 109 heats the toner image, and the fixing roller 109 is brought into contact with the fixing roller 109 to heat the recording material P passing therethrough. and a pressure roller 110 for pressing. The recording material P that has passed through the fixing device 117 is discharged and stacked on the discharge unit 111 . A recording material presence/absence sensor 116 detects the presence/absence of the recording material P accommodated in the paper feeding unit 101 . A recording material transport sensor 115 detects the leading edge of the recording material P fed from the paper feeding unit 101 to the transport path 112 in the transport direction.

[画像形成動作]
続いて、プリンタ100の画像形成動作について説明する。プリンタ100のCPU120は、パーソナルコンピュータ等の外部装置(不図示)から印刷ジョブを受信すると、画像形成を行うため、装置内の各ローラを駆動するとともに、レーザスキャナ102の動作を開始させる。帯電ローラ107は、電源装置(不図示)から負極性の高電圧である帯電電圧が印加され、図中矢印方向(時計回り方向)に回転する感光ドラム105に当接して、感光ドラム105の表面を一様な電圧に帯電する。レーザスキャナ102は、印刷ジョブに含まれる画像データに応じて、レーザ光113を出射する。レーザスキャナ102から出射されたレーザ光113は、感光ドラム105に照射され、感光ドラム105ではレーザ光113が照射された部分の電荷が消滅し、静電潜像が形成される。現像ローラ104は内部に磁石を有しており、電源装置(不図示)から負極性の高電圧である現像電圧が印加されると、トナータンク103内の磁性体トナーを磁力によって引き寄せる。そして、現像ローラ104は図中矢印方向(反時計回り方向)に回転しながら、静電気力によって、感光ドラム105上に形成された静電潜像にトナーを移動させ、トナー像を形成させる。なお、現像ブレード114は、トナー量を物理的に規制すると共に、現像ローラ104に対して、-300Vの電位差がつけられた静電気力によって、現像ローラ104上はトナーが一様にコーティングされる。
[Image forming operation]
Next, an image forming operation of the printer 100 will be described. Upon receiving a print job from an external device (not shown) such as a personal computer, the CPU 120 of the printer 100 drives each roller in the device and starts the operation of the laser scanner 102 in order to form an image. The charging roller 107 is applied with a negative high voltage charging voltage from a power supply (not shown), contacts the photosensitive drum 105 rotating in the direction of the arrow (clockwise) in the figure, and is in contact with the surface of the photosensitive drum 105 . is charged to a uniform voltage. The laser scanner 102 emits laser light 113 according to image data included in the print job. The laser beam 113 emitted from the laser scanner 102 is applied to the photosensitive drum 105, and the charge of the portion of the photosensitive drum 105 irradiated with the laser beam 113 disappears, forming an electrostatic latent image. The developing roller 104 has a magnet inside, and when a developing voltage, which is a negative high voltage, is applied from a power supply (not shown), the magnetic toner in the toner tank 103 is attracted by magnetic force. The developing roller 104 rotates in the direction of the arrow (counterclockwise direction) in FIG. Developing blade 114 physically regulates the amount of toner, and toner is uniformly coated on developing roller 104 by electrostatic force with a potential difference of −300 V with respect to developing roller 104 .

一方、CPU120からの指示により、給紙部101から給送された記録材Pは、搬送路112を通り、転写ローラ106と感光ドラム105が当接して形成された転写ニップ部に搬送される。電源装置(不図示)から正極性の高電圧である転写電圧が転写ローラ106に印加されることにより、感光ドラム105上に形成されたトナー像が記録材Pに転写される。そして、トナー像が転写された記録材Pは定着装置117に搬送され、定着ローラ109と加圧ローラ110とが当接して形成される定着ニップ部へ搬送される。定着ローラ109にはヒータ(不図示)が当接しており、定着ニップ部では、定着ローラ109によってトナー像が例えば数百度に加熱されると共に、加圧ローラ110によって圧迫されることにより、未定着のトナー像が記録材Pに定着される。そして、トナー像が定着された記録材Pは排出部111に排出され、積載される。 On the other hand, according to an instruction from the CPU 120, the recording material P fed from the paper feeding unit 101 passes through the transport path 112 and is transported to the transfer nip formed by the contact between the transfer roller 106 and the photosensitive drum 105. FIG. A toner image formed on the photosensitive drum 105 is transferred to the recording material P by applying a transfer voltage, which is a positive high voltage, from a power supply (not shown) to the transfer roller 106 . The recording material P onto which the toner image has been transferred is conveyed to the fixing device 117 and conveyed to the fixing nip formed by the contact between the fixing roller 109 and the pressure roller 110 . A heater (not shown) is in contact with the fixing roller 109. At the fixing nip portion, the toner image is heated to, for example, several hundred degrees by the fixing roller 109, and pressed by the pressure roller 110, so that the toner image is unfixed. is fixed on the recording material P. Then, the recording material P on which the toner image is fixed is discharged to the discharge section 111 and stacked.

なお、感光ドラム105の表面には、記録材Pにトナー像の転写が行われた後も、若干トナーが残る。理想的には全てのトナー像が記録材Pに転写されるべきであるが、実際にはトナーの有する電荷量が一様ではないため、記録材Pへの転写時に、感光ドラム105上に残るトナーがある。感光ドラム105上に残ったトナーは、感光ドラム105に接触させたブレード118によって剥ぎ取られ、廃トナータンク108に回収される。これにより、感光ドラム105上からはトナーが除去され、再度、帯電ローラ107によって感光ドラム105は一様な電位に帯電され、レーザスキャナ102によって、次の静電潜像が形成される。プリンタ100は、上述した画像形成動作を繰り返しながら、印刷ジョブを実行する。なお、図1は画像形成装置の一例であり、モノクロプリンタに限定されるものではなく、例えばカラーのプリンタであってもよい。 Even after the toner image is transferred onto the recording material P, some toner remains on the surface of the photosensitive drum 105 . Ideally, all the toner images should be transferred to the recording material P, but in reality the amount of charge that the toner has is not uniform, so that the toner remains on the photosensitive drum 105 when transferred to the recording material P. I have toner. Toner remaining on the photosensitive drum 105 is scraped off by the blade 118 brought into contact with the photosensitive drum 105 and collected in the waste toner tank 108 . As a result, toner is removed from the surface of the photosensitive drum 105, and the photosensitive drum 105 is again charged to a uniform potential by the charging roller 107, and the laser scanner 102 forms the next electrostatic latent image. The printer 100 executes a print job while repeating the image forming operation described above. Note that FIG. 1 is an example of an image forming apparatus, and the apparatus is not limited to a monochrome printer, and may be a color printer, for example.

[記録材搬送センサと記録材有無センサ]
ここで、記録材搬送センサ115と記録材有無センサ116について説明する。記録材搬送センサ115は、転写ローラ106よりも記録材Pの搬送方向の上流側に配置されている。記録材搬送センサ115は、給紙部101から給送された記録材Pの先端が到達したことや、記録材Pの有無、記録材Pの後端が通過したことを検知することができる。CPU120は、記録材Pへの印刷を行う場合には、記録材Pが給紙部101から正常に給送されていることを検知し、給送される記録材Pが転写ローラ106に搬送されるタイミングに合わせて、画像形成部による画像形成を開始する必要がある。そのため、記録材搬送センサ115は、給紙部101から給送された記録材Pが搬送されてきたことを検知すると、遅延なくCPU120に通知する必要がある。記録材搬送センサ115は後述する信号出力回路を有しており、信号出力回路は記録材Pの検知結果を示す信号をCPU120に出力する。
[Recording Material Conveyance Sensor and Recording Material Presence/Absence Sensor]
Here, the recording material conveying sensor 115 and the recording material presence/absence sensor 116 will be described. The recording material conveying sensor 115 is arranged upstream of the transfer roller 106 in the conveying direction of the recording material P. As shown in FIG. The recording material transport sensor 115 can detect the arrival of the leading edge of the recording material P fed from the paper feeding unit 101, the presence or absence of the recording material P, and the passage of the trailing edge of the recording material P. When performing printing on the recording material P, the CPU 120 detects that the recording material P is normally fed from the paper feeding unit 101 , and the fed recording material P is conveyed to the transfer roller 106 . It is necessary to start image formation by the image forming unit in accordance with the timing of the image formation. Therefore, when the recording material transport sensor 115 detects that the recording material P fed from the paper feeding unit 101 has been transported, it is necessary to notify the CPU 120 without delay. The recording material conveying sensor 115 has a signal output circuit, which will be described later, and the signal output circuit outputs a signal indicating the detection result of the recording material P to the CPU 120 .

一方、記録材有無センサ116は、給紙部101に収納され、載置された記録材Pの有無を検知するセンサである。CPU120は、印刷ジョブを受信しても、記録材有無センサ116の検知結果に基づいて、給紙部101に記録材Pがなければ画像形成動作を行わず、表示部(不図示)に給紙部101に記録材Pを補給するように表示を行い、ユーザに記録材Pの補給を促す。記録材搬送センサ115では記録材Pを検知するスピードが重要な要素であるが、記録材有無センサ116では、記録材Pを検知するスピードが記録材搬送センサ115に比べると重要な要素ではないという点で、対照的である。 On the other hand, the recording material presence/absence sensor 116 is a sensor that detects the presence/absence of the recording material P accommodated and placed in the paper feeding unit 101 . Even if the print job is received, the CPU 120 does not perform the image forming operation if the recording material P is not present in the paper feed unit 101 based on the detection result of the recording material presence/absence sensor 116, and feeds the paper to the display unit (not shown). A message to replenish the recording material P is displayed on the unit 101 to prompt the user to replenish the recording material P. FIG. In the recording material transport sensor 115 , the speed at which the recording material P is detected is an important factor, but in the recording material presence/absence sensor 116 , the speed at which the recording material P is detected is not as important as the recording material transport sensor 115 . In terms of contrast.

記録材有無センサ116、及び記録材搬送センサ115は、図1に示すように、それぞれモールドで成形されたレバー形状を有する小さな板(以下、レバーという)で構成されている。例えば、給紙部101から給送された記録材Pが搬送路112を通って搬送されると、図1中の実線で示された状態の記録材搬送センサ115のレバーに接触する。記録材搬送センサ115のレバーは、搬送される記録材Pに接触すると、記録材Pの搬送方向に回転し、記録材Pの搬送を妨げない位置(図1中の点線で示す位置)に退避する。記録材搬送センサ115のレバーは、レバーの動きを後述するセンサ(フォトインタラプタ)に伝達するリンク機構の一端と接続され、リンク機能の他端はセンサ(フォトインタラプタ)のスリット部を遮るフラグ(遮光レバー)と接続されている。そして、記録材搬送センサ115のレバーが回転すると、リンク機構を介して、フラグが回転し、センサ(フォトインタラプタ)のスリット部を遮る。また、記録材有無センサ116の場合は、給紙部101に記録材Pが収納されている状態と収納されていない状態は、図1に示すように、それぞれ、実線で示すレバーが回転している状態と、点線で示すレバーが回転していない状態に対応している。なお、記録材有無センサ116についても、記録材搬送センサ115と同様に、レバー及びフラグ(遮光レバー)と接続されたリンク機構を介して、後述するセンサ(フォトインタラプタ)によって、記録材有無センサ116のレバーの状態が検知される。 As shown in FIG. 1, the recording material presence/absence sensor 116 and the recording material transport sensor 115 each comprise a small plate (hereinafter referred to as a lever) having a lever shape molded by molding. For example, when the recording material P fed from the paper feeding unit 101 is transported through the transport path 112, it contacts the lever of the recording material transport sensor 115 in the state indicated by the solid line in FIG. When the lever of the recording material conveying sensor 115 comes into contact with the conveyed recording material P, it rotates in the conveying direction of the recording material P, and retreats to a position (the position indicated by the dotted line in FIG. 1) where the conveying of the recording material P is not hindered. do. The lever of the recording material transport sensor 115 is connected to one end of a link mechanism that transmits the movement of the lever to a sensor (photointerrupter), which will be described later. lever). When the lever of the recording material conveying sensor 115 rotates, the flag rotates via the link mechanism and interrupts the slit portion of the sensor (photointerrupter). In the case of the recording material presence/absence sensor 116, as shown in FIG. and the state where the lever is not rotated, which is indicated by the dotted line. As with the recording material transport sensor 115, the recording material presence/absence sensor 116 is also triggered by a sensor (photointerrupter), which will be described later, via a link mechanism connected to a lever and a flag (light shielding lever). is detected.

[センサ基板の構成]
図2は、上述した記録材搬送センサ115や記録材有無センサ116のレバーの状態を検知するセンサ(フォトインタラプタ)が搭載された基板の構成を説明する外観斜視図である。以下では、センサ(フォトインタラプタ)が搭載された基板をセンサ基板(子基板ともいう)という。図2において、センサ基板200は、センサ基板部201、フォトインタラプタ202、親基板(図4参照)へ接続する束線(信号線ともいう)を搭載するための穴204を備えている。フォトインタラプタ202は、記録材搬送センサ115や記録材有無センサ116のレバーの状態を検知するセンサである。
[Configuration of sensor board]
FIG. 2 is an external perspective view for explaining the configuration of a substrate on which sensors (photointerrupters) for detecting the states of the levers of the recording material transport sensor 115 and the recording material presence/absence sensor 116 are mounted. Hereinafter, a board on which a sensor (photo interrupter) is mounted is referred to as a sensor board (also referred to as a child board). In FIG. 2, the sensor substrate 200 has a sensor substrate portion 201, a photointerrupter 202, and a hole 204 for mounting bundled wires (also called signal wires) connected to the parent substrate (see FIG. 4). A photointerrupter 202 is a sensor that detects the state of levers of the recording material conveying sensor 115 and the recording material presence/absence sensor 116 .

フォトインタラプタ202は、図2に示すように、2つの突出部を有した「コ」の字形状を有している。2つの突出部のうち、一方の突出部には光を出射する発光部が設けられ、他方の突出部には発光部から出射された光を受光する受光部が設けられている。2つの突出部の間には、スリット部203が設けられている。例えば、搬送される記録材Pによって記録材搬送センサ115のレバーが回転すると、上述したリンク機構によって、スリット部203に発光部からの光を遮る遮光レバーが下りて(移動して)、発光部からの光を遮光する。受光部は、発光部から出射された光の受光状態に応じて異なる信号を出力する。これにより、フォトインタラプタ202は記録材搬送センサ115のレバーの状態を検知することができる。なお、本実施例では、リンク機構の長さを短くするために、センサ基板200は、記録材搬送センサ115や記録材有無センサ116の近傍に配置される。 The photointerrupter 202, as shown in FIG. 2, has a "U" shape with two protrusions. Of the two protrusions, one protrusion is provided with a light emitting section that emits light, and the other protrusion is provided with a light receiving section that receives the light emitted from the light emitting section. A slit portion 203 is provided between the two protrusions. For example, when the lever of the recording material transport sensor 115 is rotated by the transported recording material P, the above-described link mechanism lowers (moves) the light shielding lever that blocks light from the light emitting unit to the slit portion 203, thereby moving the light emitting unit. block light from The light receiving section outputs different signals according to the light receiving state of the light emitted from the light emitting section. As a result, the photointerrupter 202 can detect the state of the lever of the recording material conveying sensor 115 . In this embodiment, the sensor substrate 200 is arranged near the recording material transport sensor 115 and the recording material presence/absence sensor 116 in order to shorten the length of the link mechanism.

[従来の子基板と親基板との接続方式]
続いて、後述する本実施例との比較のため、従来のセンサ基板と親基板との接続方法について説明する。図3は、従来の接続方式の場合の親基板の回路構成、センサ基板である子基板の回路構成、及び親基板と子基板との間の接続を説明する回路図である。図3において、親基板309はセンサ基板310を制御するCPU312(中央制御装置)を有し、センサ基板310は、センサであるフォトインタラプタ308を有している。フォトインタラプタ308は、発光ダイオード(LED)303、フォトトランジスタ304を有している。親基板309とセンサ基板310とは、破線で示す3本の束線である信号線305、306、307を介して接続されている。また、親基板309のCPU312には、電源電圧Vccが供給されている。信号線305を介して、親基板309の電源電圧Vccがセンサ基板310の抵抗302を介して、フォトインタラプタ308の発光ダイオード(LED)303のアノード端子に入力されている。なお、LED303のカソード端子は接地されている。センサ基板310のフォトインタラプタ308のフォトトランジスタ304は、コレクタ端子が信号線306を介して、親基板309のCPU312のI/Oポート311と接続され、エミッタ端子は接地されている。なお、親基板309のCPU312のI/Oポート311は、抵抗301を介して電源電圧Vccにプルアップ接続されている。親基板309のグランド電位(GND)は、信号線307を介してセンサ基板310のグランド電位(GND)と接続されている。
[Conventional connection method between slave board and master board]
Next, a conventional method of connecting a sensor substrate and a parent substrate will be described for comparison with the present embodiment, which will be described later. FIG. 3 is a circuit diagram for explaining the circuit configuration of the parent board, the circuit configuration of the child board which is the sensor board, and the connection between the parent board and the child board in the case of the conventional connection method. In FIG. 3, the mother board 309 has a CPU 312 (central control unit) that controls the sensor board 310, and the sensor board 310 has a photointerrupter 308 as a sensor. The photointerrupter 308 has a light emitting diode (LED) 303 and a phototransistor 304 . The mother board 309 and the sensor board 310 are connected via signal lines 305, 306, and 307, which are three bundled lines indicated by dashed lines. Also, the power supply voltage Vcc is supplied to the CPU 312 of the mother board 309 . A power supply voltage Vcc of a parent substrate 309 is input to the anode terminal of a light emitting diode (LED) 303 of a photointerrupter 308 via a signal line 305 and a resistor 302 of a sensor substrate 310 . A cathode terminal of the LED 303 is grounded. The phototransistor 304 of the photointerrupter 308 of the sensor substrate 310 has a collector terminal connected to the I/O port 311 of the CPU 312 of the parent substrate 309 via the signal line 306, and an emitter terminal grounded. The I/O port 311 of the CPU 312 on the mother board 309 is connected to the power supply voltage Vcc through a resistor 301 . The ground potential (GND) of the parent substrate 309 is connected to the ground potential (GND) of the sensor substrate 310 via the signal line 307 .

図3に示す従来の接続方式では、信号線305を使用して親基板309から電源電圧Vccを、センサ基板310に供給し、フォトインタラプタ308のLED303を駆動する。一方、親基板309のCPU312は、信号線306を使用して、センサ基板310のフォトインタラプタ308のフォトトランジスタ304のオン、オフ状態を検知する。更に、基準電位としてのグランド電位(GND)が必要になるので、親基板309とセンサ基板310のグランド電位(GND)を接続するための信号線307が設けられている。したがって、従来の接続方式では、図3に示すように、センサ基板310に搭載されたフォトインタラプタ308が1つでも、親基板309とセンサ基板310とを接続する信号線は3本必要となる。 In the conventional connection system shown in FIG. 3, the signal line 305 is used to supply the power supply voltage Vcc from the mother board 309 to the sensor board 310 to drive the LED 303 of the photointerrupter 308 . On the other hand, the CPU 312 of the mother board 309 uses the signal line 306 to detect the ON/OFF state of the phototransistor 304 of the photointerrupter 308 of the sensor board 310 . Furthermore, since a ground potential (GND) is required as a reference potential, a signal line 307 is provided for connecting the ground potential (GND) of the parent substrate 309 and the sensor substrate 310 . Therefore, in the conventional connection method, as shown in FIG. 3, even if there is only one photointerrupter 308 mounted on the sensor substrate 310, three signal lines are required to connect the master substrate 309 and the sensor substrate 310. FIG.

[実施例1の子基板と親基板との接続方式]
次に、本実施例のセンサ基板と親基板との接続方法について説明する。図4は、本実施例の接続方式の場合の親基板の回路構成、センサ基板である子基板の回路構成、及び親基板と子基板との間の接続を説明する回路図である。
[Connection method between child board and parent board in Example 1]
Next, a method of connecting the sensor substrate and the parent substrate of this embodiment will be described. FIG. 4 is a circuit diagram for explaining the circuit configuration of the parent board, the circuit configuration of the child board which is the sensor board, and the connection between the parent board and the child board in the case of the connection method of this embodiment.

図4において、親基板410はセンサ基板411を制御するCPU120(中央制御装置)(図1)を有し、センサ基板411は、センサであるフォトインタラプタ202、トランジスタ406、コンデンサ403、抵抗401、402を有している。フォトインタラプタ202は、発光素子である発光ダイオード(LED)404、受光素子であるフォトトランジスタ405を有している。また、親基板410とセンサ基板411とは、束線(接続線)である信号線407、408を介して接続されている。親基板410(第2の基板)では、信号線407はCPU120の入出力端子(入出力ポート)であるI/Oポート412と接続されている。また、CPU120には、電源電圧Vccが供給されている。信号線408は、グランド電位(GND)に接続されている。なお、センサ基板411、親基板410、信号線407、408は検知装置として機能する。 In FIG. 4, the mother board 410 has a CPU 120 (central control unit) (FIG. 1) that controls the sensor board 411. The sensor board 411 includes a photointerrupter 202, a transistor 406, a capacitor 403, resistors 401 and 402, which are sensors. have. The photointerrupter 202 has a light emitting diode (LED) 404 as a light emitting element and a phototransistor 405 as a light receiving element. Further, the mother substrate 410 and the sensor substrate 411 are connected via signal lines 407 and 408 which are bundles (connection lines). On the mother board 410 (second board), the signal line 407 is connected to an I/O port 412 that is an input/output terminal (input/output port) of the CPU 120 . Also, the power supply voltage Vcc is supplied to the CPU 120 . The signal line 408 is connected to ground potential (GND). Note that the sensor substrate 411, the parent substrate 410, and the signal lines 407 and 408 function as a detection device.

センサ基板411(第1の基板)では、フォトインタラプタ202の発光ダイオード(LED)404は、アノード端子が抵抗402の一端と接続され、カソード端子が接地されている。なお、抵抗402の他端は抵抗401の一端と接続されている。フォトインタラプタ202のフォトトランジスタ405は、コレクタ端子が抵抗401の一端と接続され、エミッタ端子がトランジスタ406のベース端子と接続されている。また、スイッチング素子であるトランジスタ406は、コレクタ端子が抵抗401の一端と接続され、エミッタ端子は接地されている。蓄電素子であるコンデンサ403は一端が抵抗401の一端に接続され、他端は接地されている。抵抗401の一端は、抵抗402の一端、フォトインタラプタ202のフォトトランジスタ405のコレクタ端子、トランジスタ406のコレクタ端子、及びコンデンサ403の一端と接続され、抵抗401の他端は信号線407と接続されている。また、信号線408は、グランド電位(GND)に接続されている。 In the sensor substrate 411 (first substrate), the light emitting diode (LED) 404 of the photointerrupter 202 has an anode terminal connected to one end of the resistor 402 and a cathode terminal grounded. The other end of resistor 402 is connected to one end of resistor 401 . A phototransistor 405 of the photointerrupter 202 has a collector terminal connected to one end of the resistor 401 and an emitter terminal connected to the base terminal of the transistor 406 . A transistor 406, which is a switching element, has a collector terminal connected to one end of the resistor 401 and an emitter terminal grounded. A capacitor 403, which is a storage element, has one end connected to one end of the resistor 401 and the other end grounded. One end of the resistor 401 is connected to one end of the resistor 402, the collector terminal of the phototransistor 405 of the photointerrupter 202, the collector terminal of the transistor 406, and one end of the capacitor 403, and the other end of the resistor 401 is connected to the signal line 407. there is Also, the signal line 408 is connected to the ground potential (GND).

[本実施例の子基板のセンサ制御]
本実施例では、信号線408は親基板410のグランド電位(GND)とセンサ基板411のグランド電位(GND)とを接続するために使用される。一方、信号線407は親基板410からセンサ基板411への電源電圧の供給と、センサ基板411から親基板410へセンサ状態を送信するための信号線と、を兼ねている。そのため、親基板410と子基板であるセンサ基板411とを接続する信号線は、2本で済ませることができる。以下では、フローチャートで示されたCPU120によるセンサ基板411に対する制御シーケンスを用いて、図4に示す回路の回路動作を説明する。
[Sensor control of child board of this embodiment]
In this embodiment, the signal line 408 is used to connect the ground potential (GND) of the parent board 410 and the ground potential (GND) of the sensor board 411 . On the other hand, the signal line 407 serves both as a supply of power supply voltage from the mother substrate 410 to the sensor substrate 411 and as a signal line for transmitting the sensor state from the sensor substrate 411 to the mother substrate 410 . Therefore, only two signal lines are required to connect the parent board 410 and the sensor board 411, which is a child board. The circuit operation of the circuit shown in FIG. 4 will be described below using the control sequence for the sensor substrate 411 by the CPU 120 shown in the flow chart.

図5は、親基板410に設けられたCPU120がセンサ基板411に設けられたセンサであるフォトインタラプタ202の状態を検知する制御シーケンスを示すフローチャートである。図5に示す処理は、プリンタ100の電源がオンされると起動され、CPU120により実行される。なお、CPU120は、時間を測定するタイマを有している。また、CPU120の信号線407と接続されるI/Oポート412は、CPU120の制御により、信号が入力される入力ポートと、信号を出力する出力ポートとを切替可能なポートとする。 FIG. 5 is a flowchart showing a control sequence for detecting the state of the photointerrupter 202, which is a sensor provided on the sensor substrate 411, by the CPU 120 provided on the mother substrate 410. FIG. The processing shown in FIG. 5 is started and executed by the CPU 120 when the power of the printer 100 is turned on. Note that the CPU 120 has a timer for measuring time. The I/O port 412 connected to the signal line 407 of the CPU 120 is a port capable of switching between an input port for inputting signals and an output port for outputting signals under the control of the CPU 120 .

ステップ(以下、Sとする)500では、CPU120は、信号線407と接続されるI/Oポート412を出力ポートとして使用するため、I/Oポート412を出力モードに設定する。S501では、CPU120は、I/Oポート412からハイレベルの信号を出力する。これにより、CPU120のI/Oポート412から、CPU120に供給されている電源電圧Vccにほぼ等しい電圧が出力され、信号線407を介してセンサ基板411に供給される。センサ基板411では、親基板410から供給された電圧は、抵抗401を介してコンデンサ403を充電すると共に、抵抗402を介して、フォトインタラプタ202のLED404のアノード端子に印加される。これにより、LED404が導通状態となり、LED404に電流が流れ、点灯する。このとき、CPU120は、I/Oポート412を出力ポートとして使用しているため、センサであるフォトインタラプタ202の状態、すなわちフォトトランジスタ405のオン、オフ状態は検知できない。 At step (hereinafter referred to as S) 500, the CPU 120 sets the I/O port 412 connected to the signal line 407 to the output mode in order to use the I/O port 412 as an output port. In S<b>501 , the CPU 120 outputs a high level signal from the I/O port 412 . As a result, a voltage substantially equal to the power supply voltage Vcc supplied to the CPU 120 is output from the I/O port 412 of the CPU 120 and supplied to the sensor substrate 411 via the signal line 407 . In the sensor substrate 411 , the voltage supplied from the mother substrate 410 charges the capacitor 403 through the resistor 401 and is applied to the anode terminal of the LED 404 of the photointerrupter 202 through the resistor 402 . As a result, the LED 404 is brought into a conductive state, current flows through the LED 404, and the LED 404 lights up. At this time, since the CPU 120 uses the I/O port 412 as an output port, it cannot detect the state of the photointerrupter 202 as a sensor, that is, the ON/OFF state of the phototransistor 405 .

S502では、CPU120はタイマをリセットし、スタートさせる。S503では、CPU120は、タイマを参照して所定の時間が経過したかどうか判断する。CPU120は、所定の時間が経過したと判断した場合には処理をS504に進め、所定の時間が経過していないと判断した場合には処理をS503に戻す。なお、所定の時間は、後述する処理により、センサ基板411のコンデンサ403に充電された電圧が放電により低下した電圧を、親基板410から電源電圧を供給することによりコンデンサ403の充電電圧を上昇させるための時間である。 In S502, CPU 120 resets and starts the timer. In S503, CPU 120 refers to the timer to determine whether a predetermined time has elapsed. If the CPU 120 determines that the predetermined time has elapsed, the process proceeds to S504, and if it determines that the predetermined time has not elapsed, the CPU 120 returns the process to S503. For a predetermined period of time, the charge voltage of the capacitor 403 is raised by supplying the power supply voltage from the mother board 410 to the voltage that has been lowered due to the discharge of the voltage charged in the capacitor 403 of the sensor board 411 by the process described later. It's time for

S504では、CPU120は、信号線407と接続されるI/Oポート412を入力ポートとして使用するため、I/Oポート412を出力モードから入力モードに設定する。これにより、信号線407を介して、親基板410からセンサ基板411に供給されていた電源電圧の供給が遮断される。CPU120のI/Oポート412が入力ポートに設定されている場合には、I/Oポート412は外部から見てハイインピーダンス状態に設定される。そのため、信号線407を介して、センサ基板411のコンデンサ403に充電された電圧がCPU120のI/Oポート412に流出することはない。また、フォトインタラプタ202のLED404は、信号線407からの電源電圧の供給が遮断されても、コンデンサ403に充電された充電電圧により、短時間であれば導通状態が継続され、点灯し続けることができる。LED404が点灯している状態において、LED404が発する光が上述したフラグ(不図示)により遮光され、フォトトランジスタ405がオフ状態の場合には、CPU120のI/Oポート412に入力される電圧は次のようになる。すなわち、CPU120のI/Oポート412の入力電圧は、コンデンサ403の充電電圧から、LED404の順方向電圧分と抵抗402による電圧降下分を引いた電圧(所定の電圧以上)となる。一方、LED404が点灯している状態において、LED404が発する光が遮光されず、フォトトランジスタ405がオン状態の場合には、トランジスタ406のベース端子に電流が流れる。その結果、トランジスタ406がオン状態となり、コンデンサ403の充電電圧(蓄積された電荷)がトランジスタ406を介して放電され、コンデンサ403の電圧が低下する。そして、コンデンサ403の充電電圧が低下して、フォトインタラプタ202のLED404の順方向電圧を下回ると、LED404は非導通状態となり、消灯する。その結果、フォトインタラプタ202のフォトトランジスタ405はオフ状態となって、トランジスタ406のベース端子に電流が流れなくなり、トランジスタ406もオフ状態となって、コンデンサ403の充電電圧の低下が止まる。その結果、フォトインタラプタ202のフォトトランジスタ405がオン状態の場合は、フォトトランジスタ405がオフ状態の場合に比べて、CPU120のI/Oポート412に入力される電圧が低くなる。 In S504, the CPU 120 sets the I/O port 412 from the output mode to the input mode in order to use the I/O port 412 connected to the signal line 407 as an input port. As a result, the supply of the power supply voltage that has been supplied from the parent substrate 410 to the sensor substrate 411 via the signal line 407 is cut off. When the I/O port 412 of the CPU 120 is set as an input port, the I/O port 412 is set in a high impedance state when viewed from the outside. Therefore, the voltage charged in the capacitor 403 of the sensor board 411 does not flow out to the I/O port 412 of the CPU 120 via the signal line 407 . Even if the supply of the power supply voltage from the signal line 407 is interrupted, the LED 404 of the photointerrupter 202 can continue to be in a conductive state for a short time due to the voltage charged in the capacitor 403, and can continue to light. can. When the LED 404 is lit, the light emitted by the LED 404 is blocked by the above flag (not shown), and the phototransistor 405 is off, the voltage input to the I/O port 412 of the CPU 120 is as follows. become that way. That is, the input voltage of the I/O port 412 of the CPU 120 becomes a voltage (predetermined voltage or higher) obtained by subtracting the forward voltage of the LED 404 and the voltage drop due to the resistor 402 from the charged voltage of the capacitor 403 . On the other hand, when the light emitted by the LED 404 is not blocked while the LED 404 is lit and the phototransistor 405 is on, current flows through the base terminal of the transistor 406 . As a result, the transistor 406 is turned on, the charging voltage (accumulated charge) of the capacitor 403 is discharged via the transistor 406, and the voltage of the capacitor 403 is lowered. Then, when the charged voltage of the capacitor 403 drops and falls below the forward voltage of the LED 404 of the photointerrupter 202, the LED 404 becomes non-conductive and goes out. As a result, the phototransistor 405 of the photointerrupter 202 is turned off, no current flows to the base terminal of the transistor 406, the transistor 406 is also turned off, and the charging voltage of the capacitor 403 stops decreasing. As a result, when the phototransistor 405 of the photointerrupter 202 is on, the voltage input to the I/O port 412 of the CPU 120 is lower than when the phototransistor 405 is off.

S505では、CPU120は、取得したI/Oポート412への入力電圧に基づいて、フォトトランジスタ405のオン、オフ状態を判断する。CPU120のI/Oポート412に入力される電圧の、フォトインタラプタ202のフォトトランジスタ405がオン状態のときとオフ状態のときの電圧差は、使用する抵抗値や部品の特性に左右される。そのため、CPU120がI/Oポート412に入力される電圧がハイレベル又はローレベルと明確に判断可能であれば、入力される信号レベルを用いて判断すればよい。一方、CPU120がI/Oポート412に入力される電圧がハイレベルとローレベルの場合の電圧差が小さい場合には、例えば一般的な倍電圧回路等で増幅するか、A/D(アナログ/デジタル)コンバータにより電圧値をデジタル値に変換し、比較すればよい。CPU120は、I/Oポート412の入力電圧の検知処理が終了すると、S500の処理に戻り、I/Oポート412を再び出力モードに切り替えて、電力供給(電源電圧の供給)を行う。これにより、センサ基板411のコンデンサ403は低下した充電電圧が回復し、フォトインタラプタ202のLED404は点灯し続けることができる。 In S<b>505 , the CPU 120 determines the ON/OFF state of the phototransistor 405 based on the obtained input voltage to the I/O port 412 . The difference in the voltage input to the I/O port 412 of the CPU 120 between when the phototransistor 405 of the photointerrupter 202 is on and when it is off depends on the resistance values used and the characteristics of the parts. Therefore, if the CPU 120 can clearly determine whether the voltage input to the I/O port 412 is high level or low level, the determination may be made using the input signal level. On the other hand, if the voltage difference between the high level and the low level of the voltage that the CPU 120 inputs to the I/O port 412 is small, it may be amplified by, for example, a general voltage doubler circuit, or an analog/digital (A/D) A digital converter converts the voltage value into a digital value and compares them. After completing the input voltage detection process of the I/O port 412, the CPU 120 returns to the process of S500, switches the I/O port 412 to the output mode again, and supplies power (supply of power supply voltage). As a result, the lowered charging voltage of the capacitor 403 of the sensor substrate 411 is restored, and the LED 404 of the photointerrupter 202 can continue to light up.

以上説明したように、本実施例では、親基板410のCPU120のI/Oポート412からセンサ基板411に出力されるハイレベルの電圧信号を、センサ基板411では電源電圧としてコンデンサ403に充電して使用する。そして、CPU120はI/Oポート412を出力モードから入力モードに切り替えて、センサ基板411への電源電圧の供給を遮断し、I/Oポート412に入力される電圧に基づいて、センサであるフォトインタラプタ202のオン、オフ状態を検知する。このように、本実施例では、電源電圧を供給する送電線とセンサの状態を通知する信号線とを共通化することにより、親基板410とセンサ基板411との間の信号線の数を削減している。これにより、フォトインタラプタが1個だけしか載っていない子基板に対しても、更なるコストダウンと省スペース化を実現することができる。 As described above, in this embodiment, a high-level voltage signal output from the I/O port 412 of the CPU 120 of the mother board 410 to the sensor board 411 is used as the power supply voltage in the sensor board 411 to charge the capacitor 403 . use. Then, the CPU 120 switches the I/O port 412 from the output mode to the input mode, cuts off the supply of the power supply voltage to the sensor substrate 411, and detects the photo sensor, which is a sensor, based on the voltage input to the I/O port 412. The ON/OFF state of the interrupter 202 is detected. In this way, in this embodiment, the power transmission line for supplying the power supply voltage and the signal line for notifying the state of the sensor are shared, thereby reducing the number of signal lines between the master substrate 410 and the sensor substrate 411. are doing. As a result, further cost reduction and space saving can be realized even for a sub-board on which only one photointerrupter is mounted.

I/Oポート412が出力モードから入力モードに切り替えられると、センサ基板411への電力供給が遮断され、コンデンサ403に充電された電圧が低下する。コンデンサ403の電圧低下を抑えるためには、I/Oポート412が出力ポートに設定されている時間を十分長くし、入力ポートに設定されている時間を短くする必要がある。目安としては、I/Oポート412が出力ポートに設定されている時間は、センサ基板411のコンデンサ403を充電しきるのに十分な時間となるように設定し、入力ポートに設定されている時間はできるだけ短い時間となるように設定すればよい。 When the I/O port 412 is switched from the output mode to the input mode, the power supply to the sensor substrate 411 is cut off and the voltage charged in the capacitor 403 drops. In order to suppress the voltage drop of the capacitor 403, it is necessary to sufficiently lengthen the time during which the I/O port 412 is set as an output port and shorten the time during which it is set as an input port. As a guideline, the time during which the I/O port 412 is set as an output port is set to be sufficient to fully charge the capacitor 403 on the sensor board 411, and the time during which the I/O port 412 is set as an input port. The time should be set as short as possible.

また、I/Oポート412を出力ポート及び入力ポートに設定する周期(図5のS500~S505の処理時間)に関しては、センサ基板411に設置されたセンサ(ここではフォトインタラプタ202)が、検知対象に応じて検知可能な周期とする必要がある。例えば、図1の記録材搬送センサ115では、給紙部101から搬送される記録材Pがレバーに接触してレバーを回転させると、リンク機構を介して遮光レバー(不図示)が移動する。そして、図2に示すフォトインタラプタ202のスリット部203に、遮光レバー(不図示)が移動して、発光部から出射された光が遮光レバーによって遮光されると、フォトインタラプタ202の状態が変化する。そのため、CPU120はフォトインタラプタ202の状態変化を遅延なく検知する必要がある。このような場合には、CPU120は、I/Oポート412の出力ポートと入力ポートの切替周期を短くして対応する。しかしながら、I/Oポート412の切替周期を短くすることにより、CPU120の処理能力が圧迫されたり、切替周期を短くしても検知遅延が生じたりする場合には、図4に示す本実施例の方式ではなく、図3に示す従来方式の構成にする方がよい。また、画像形成装置には、例えば図1の記録材有無センサ116のように、状態変化を検知する速度や検知遅延が重要な要素ではないセンサも設置されている。本実施例の方式は、このようなセンサには特に適しており、この場合にはI/Oポート412の切替周期は、CPUリソースを圧迫しない程度の長い周期に設定すればよい。 Regarding the cycle (processing time of S500 to S505 in FIG. 5) for setting the I/O port 412 as an output port and an input port, the sensor (here, the photointerrupter 202) installed on the sensor substrate 411 is the detection target. It is necessary to make it a detectable period according to For example, in the recording material transport sensor 115 of FIG. 1, when the recording material P transported from the paper feeding unit 101 contacts the lever and rotates the lever, the light shielding lever (not shown) moves via the link mechanism. When a light shielding lever (not shown) moves to the slit portion 203 of the photointerrupter 202 shown in FIG. 2 and the light emitted from the light emitting portion is shielded by the light shielding lever, the state of the photointerrupter 202 changes. . Therefore, the CPU 120 needs to detect the state change of the photointerrupter 202 without delay. In such a case, the CPU 120 responds by shortening the switching period between the output port and the input port of the I/O port 412 . However, if shortening the switching cycle of the I/O port 412 puts pressure on the processing capability of the CPU 120 or causes a detection delay even if the switching cycle is shortened, then this embodiment shown in FIG. It is better to use the configuration of the conventional system shown in FIG. 3 instead of the conventional system. Further, the image forming apparatus is also provided with a sensor such as the recording material presence/absence sensor 116 in FIG. 1, for which the speed and detection delay of detecting state change are not important factors. The method of this embodiment is particularly suitable for such a sensor, and in this case, the switching cycle of the I/O port 412 should be set to a long cycle that does not put pressure on CPU resources.

図4に示す回路構成において、センサ基板411のフォトインタラプタ202のフォトトランジスタ405がオン状態のときとオフ状態のときに、親基板410のCPU120のI/Oポート412に入力される電圧を測定する実験を行った。実験に用いた各部品の諸元は以下のとおりである。すなわち、電源電圧Vccは、3.36V(ボルト)、抵抗401、402の抵抗値はそれぞれ100Ω、1kΩ、コンデンサ403の容量は40μFとした。また、CPU120のI/Oポート412を入力モードに設定している時間は40μsec(マイクロ秒)とし、I/Oポート412を出力ポート及び入力ポートに設定する周期は20msec(50Hz)とした。上述した回路構成で実験を行った結果、フォトトランジスタ405がオン状態のときにCPU120のI/Oポート412に入力される電圧は1.65Vであり、フォトトランジスタ405がオフ状態のときに入力される電圧は2.60Vであった。I/Oポート412に入力される電圧は、フォトトランジスタ405がオン状態のときとオフ状態のときで約1V(≒2.60V-1.65V)の電圧差があるため、フォトトランジスタ405のオン、オフ状態を検知することが可能である。また、CPU120のI/Oポート412が入力ポートに設定されている期間において、センサ基板411のコンデンサ403の電圧は、6%程度の電圧低下が生じたが、大幅な電圧降下にはならなかった。 In the circuit configuration shown in FIG. 4, when the phototransistor 405 of the photointerrupter 202 of the sensor substrate 411 is on and off, the voltage input to the I/O port 412 of the CPU 120 of the mother substrate 410 is measured. I did an experiment. The specifications of each component used in the experiment are as follows. That is, the power supply voltage Vcc is 3.36 V (volt), the resistance values of the resistors 401 and 402 are 100Ω and 1 kΩ, respectively, and the capacitance of the capacitor 403 is 40 μF. Also, the time during which the I/O port 412 of the CPU 120 is set to the input mode is set to 40 μsec (microseconds), and the period for setting the I/O port 412 to the output port and input port is set to 20 msec (50 Hz). As a result of experiments with the circuit configuration described above, the voltage input to the I/O port 412 of the CPU 120 when the phototransistor 405 is on is 1.65 V, and the voltage input when the phototransistor 405 is off is 1.65V. The voltage applied was 2.60V. The voltage input to the I/O port 412 has a voltage difference of about 1 V (≈2.60 V-1.65 V) between when the phototransistor 405 is on and when it is off. , the off state can be detected. Also, while the I/O port 412 of the CPU 120 was set as the input port, the voltage of the capacitor 403 on the sensor board 411 dropped by about 6%, but the voltage drop was not significant. .

以上説明したように、本実施例によれば、1個の信号出力回路を搭載した基板に対しても必要な信号線の数を削減することができる。 As described above, according to this embodiment, it is possible to reduce the number of required signal lines even for a board on which one signal output circuit is mounted.

実施例1では、センサが搭載された子基板との間の信号線の数を削減する実施例について説明した。実施例2では、例えば電源スイッチのようなスイッチが搭載された子基板とCPUが搭載された親基板との間の信号線の数を削減する実施例について説明する。なお、本実施例における画像形成装置は、実施例1のプリンタ100と同様であり、同じ装置、部材については、実施例1と同じ符号を用いることとし、ここでの説明を省略する。 In the first embodiment, an embodiment has been described in which the number of signal lines between the child board on which the sensor is mounted is reduced. In a second embodiment, an embodiment will be described in which the number of signal lines between a slave board on which a switch such as a power switch is mounted and a parent board on which a CPU is mounted is reduced. Note that the image forming apparatus in this embodiment is the same as the printer 100 in Embodiment 1, and the same devices and members are denoted by the same reference numerals as in Embodiment 1, and descriptions thereof are omitted here.

[本実施例の子基板と親基板との接続方式]
本実施例のセンサ基板と親基板との接続方法について説明する。図6は、本実施例の接続方式の場合の親基板の回路構成、スイッチ基板である子基板の回路構成、及び親基板と子基板との間の接続を説明する回路図である。
[Connection method between child board and parent board in this embodiment]
A method of connecting the sensor substrate and the mother substrate of this embodiment will be described. FIG. 6 is a circuit diagram for explaining the circuit configuration of the parent board, the circuit configuration of the child board which is the switch board, and the connection between the parent board and the child board in the case of the connection method of this embodiment.

図6において、親基板510はスイッチ基板511を制御するCPU120(中央制御装置)を有し、スイッチ基板511は、機械式スイッチであるスイッチ505、発光ダイオード504、コンデンサ503、抵抗501、502を有している。また、親基板510とスイッチ基板511とは、信号線507、508を介して接続されている。親基板510(第2の基板)では、信号線507はCPU120の入出力端子(入出力ポート)であるI/Oポート512と接続されている。また、CPU120には、電源電圧Vccが供給されている。信号線508は、グランド電位(GND)に接続されている。 In FIG. 6, a mother board 510 has a CPU 120 (central control unit) that controls a switch board 511, and the switch board 511 has a switch 505 which is a mechanical switch, a light emitting diode 504, a capacitor 503, and resistors 501 and 502. are doing. Also, the parent board 510 and the switch board 511 are connected via signal lines 507 and 508 . On the mother board 510 (second board), the signal line 507 is connected to an I/O port 512 that is an input/output terminal (input/output port) of the CPU 120 . Also, the power supply voltage Vcc is supplied to the CPU 120 . The signal line 508 is connected to ground potential (GND).

スイッチ基板511(第1の基板)では、発光ダイオード(LED)504は、アノード端子が抵抗501の一端と接続され、カソード端子が接地されている。スイッチ505の一端は、抵抗501の一端と接続され、スイッチ505の他端は抵抗502の一端と接続されている。なお、抵抗502の他端は接地されている。コンデンサ503は一端が抵抗501の一端に接続され、他端は接地されている。抵抗501の一端は、発光ダイオード504のアノード端子、スイッチ505の一端、及びコンデンサ503の一端と接続され、抵抗501の他端は信号線507と接続されている。また、信号線508は、グランド電位(GND)に接続されている。 In the switch substrate 511 (first substrate), a light emitting diode (LED) 504 has an anode terminal connected to one end of a resistor 501 and a cathode terminal grounded. One end of the switch 505 is connected to one end of the resistor 501 and the other end of the switch 505 is connected to one end of the resistor 502 . Note that the other end of the resistor 502 is grounded. A capacitor 503 has one end connected to one end of the resistor 501 and the other end grounded. One end of the resistor 501 is connected to the anode terminal of the light emitting diode 504 , one end of the switch 505 and one end of the capacitor 503 , and the other end of the resistor 501 is connected to the signal line 507 . Also, the signal line 508 is connected to the ground potential (GND).

本実施例は、スイッチ505は、画像形成装置等によく見られるパイロットランプ付き電源スイッチを想定している。画像形成装置に用いられる電源スイッチは、ユーザの手の届きやすいところに配置されているため、本体制御用のCPU120からは離れた位置に配置されていることが多い。そのため、電源スイッチが搭載された子基板は、パイロットランプ用のLEDとスイッチだけが搭載された小さな基板であることが多い。したがって、実施例1のようにフォトインタラプタだけが搭載されたセンサ基板411と同様に、電源スイッチが搭載されたスイッチ基板511にも本発明を適用することができる。そこで、実施例2では、そうしたパイロットランプ付き電源スイッチ基板に対し、実施例1と同様の方法を適用した場合の例を示す。 In this embodiment, the switch 505 is assumed to be a power switch with a pilot lamp commonly found in image forming apparatuses. Since the power switch used in the image forming apparatus is placed in a position that is easily accessible to the user, it is often placed away from the main control CPU 120 . Therefore, the child board on which the power switch is mounted is often a small board on which only the LED for the pilot lamp and the switch are mounted. Therefore, the present invention can be applied to the switch substrate 511 on which the power switch is mounted as well as the sensor substrate 411 on which only the photointerrupter is mounted as in the first embodiment. Therefore, in a second embodiment, an example in which a method similar to that of the first embodiment is applied to such a power switch board with a pilot lamp will be shown.

[本実施例の子基板のセンサ制御]
本実施例では、発光ダイオード504であるパイロットランプ付きの電源スイッチであるスイッチ505が搭載されたスイッチ基板511に対し、実施例1と同様の接続方法を適用した実施例について説明する。本実施例のスイッチ基板511の回路では、実施例1のセンサ基板411の回路と比べて、次の点が異なる。すなわち、センサ基板411のフォトインタラプタ202内の発光ダイオード(LED)404、フォトトランジスタ405が、それぞれスイッチ基板511では発光ダイオード504、スイッチ505に変わり、トランジスタ406は削除されている。しかしながら、スイッチ基板511の基本的な回路動作は、センサ基板411の回路動作と同様であり、以下では、実施例1の図5のフローチャートで示された制御シーケンスを用いて、図6に示す回路の回路動作について説明する。
[Sensor control of child board of this embodiment]
In this embodiment, a connection method similar to that of the first embodiment is applied to a switch substrate 511 on which a switch 505, which is a power switch with a pilot lamp, which is a light emitting diode 504, is mounted. The circuit of the switch substrate 511 of this embodiment differs from the circuit of the sensor substrate 411 of the first embodiment in the following points. That is, the light-emitting diode (LED) 404 and phototransistor 405 in the photointerrupter 202 of the sensor substrate 411 are replaced with a light-emitting diode 504 and a switch 505 in the switch substrate 511, respectively, and the transistor 406 is eliminated. However, the basic circuit operation of the switch board 511 is the same as the circuit operation of the sensor board 411, and the circuit shown in FIG. will be described.

なお、本実施例では、図5に示す処理は、実施例1と異なり、図1に示すプリンタ100の電源ソケットが電源コンセントに挿入されて、交流電源(不図示)から電力供給されると起動され、CPU120により実行されるものとする。なお、プリンタ100は電源ソケットが電源コンセントに挿入されるとCPU120は起動されるが、プリンタ100は電源スイッチがオンされないと、画像形成装置としての動作を行わないものとする。また、CPU120は、時間を測定するタイマを有している。なお、CPU120の信号線507と接続されるI/Oポート512は、CPU120の制御により、信号が入力される入力ポートと信号を出力する出力ポートとを切替可能なポートとする。 5 differs from the first embodiment, the process shown in FIG. 5 is activated when the power socket of the printer 100 shown in FIG. 1 is inserted into a power outlet and power is supplied from an AC power supply (not shown). and executed by the CPU 120. Note that the CPU 120 of the printer 100 is activated when the power socket is inserted into the power outlet, but the printer 100 does not operate as an image forming apparatus unless the power switch is turned on. The CPU 120 also has a timer for measuring time. The I/O port 512 connected to the signal line 507 of the CPU 120 is a port capable of switching between an input port for inputting signals and an output port for outputting signals under the control of the CPU 120 .

S500では、CPU120は、信号線507と接続されるI/Oポート512を出力ポートとして使用するため、I/Oポート512を出力モードに設定する。S501では、CPU120は、I/Oポート512からハイレベルの信号を出力する。これにより、CPU120のI/Oポート512から、CPU120に供給されている電源電圧Vccにほぼ等しい電圧が出力され、信号線507を介してスイッチ基板511に供給される。スイッチ基板511では、親基板510から供給された電圧が、抵抗501を介してコンデンサ503を充電すると共に、パイロットランプであるLED504のアノード端子に印加される。これにより、LED504が導通状態となり、LED504に電流が流れ、点灯する。このとき、CPU120は、I/Oポート512を出力ポートとして使用しているため、スイッチ505のオン、オフ状態は検知できない。 In S500, the CPU 120 sets the I/O port 512 to output mode in order to use the I/O port 512 connected to the signal line 507 as an output port. In S<b>501 , the CPU 120 outputs a high level signal from the I/O port 512 . As a result, a voltage substantially equal to the power supply voltage Vcc supplied to the CPU 120 is output from the I/O port 512 of the CPU 120 and supplied to the switch substrate 511 via the signal line 507 . In the switch board 511, the voltage supplied from the mother board 510 charges the capacitor 503 via the resistor 501 and is applied to the anode terminal of the LED 504, which is the pilot lamp. As a result, the LED 504 becomes conductive, current flows through the LED 504, and the LED 504 lights up. At this time, since the CPU 120 uses the I/O port 512 as an output port, the ON/OFF state of the switch 505 cannot be detected.

S502では、CPU120はタイマをリセットし、スタートさせる。S503では、CPU120は、タイマを参照して所定の時間が経過したかどうか判断する。CPU120は、所定の時間が経過したと判断した場合には処理をS504に進め、所定の時間が経過していないと判断した場合には処理をS503に戻す。なお、所定の時間は、後述する処理により、スイッチ基板511のコンデンサ503に充電された電圧が放電により低下した電圧を、親基板510から電源電圧を供給することによりコンデンサ503の充電電圧を上昇させるための時間である。 In S502, CPU 120 resets and starts the timer. In S503, CPU 120 refers to the timer to determine whether a predetermined time has elapsed. If the CPU 120 determines that the predetermined time has elapsed, the process proceeds to S504, and if it determines that the predetermined time has not elapsed, the CPU 120 returns the process to S503. For a predetermined period of time, the charge voltage of the capacitor 503 is raised by supplying the power supply voltage from the main board 510 to the voltage that has been lowered due to the discharge of the voltage charged in the capacitor 503 of the switch board 511 by the process described later. It's time for

S504では、CPU120は、信号線507と接続されるI/Oポート512を入力ポートとして使用するため、I/Oポート512を出力モードから入力モードに設定する。これにより、信号線507を介して、親基板510からスイッチ基板511に供給されていた電源電圧の供給が遮断される。スイッチ505がオフ状態の場合には、CPU120のI/Oポート512に入力される電圧は次のようになる。すなわち、CPU120のI/Oポート512の入力電圧は、コンデンサ503の充電電圧から、LED504の順方向電圧分を引いた電圧(所定の電圧以上)となる。一方、スイッチ505がオン状態の場合には、コンデンサ503からスイッチ505、抵抗502を介して電流が流れ、LED504には電流が流れなくなる。そのため、CPU120のI/Oポートに入力される電圧は0Vに近い電圧になる。 In S504, the CPU 120 sets the I/O port 512 from the output mode to the input mode in order to use the I/O port 512 connected to the signal line 507 as an input port. As a result, the power supply voltage supplied from the parent substrate 510 to the switch substrate 511 through the signal line 507 is cut off. When switch 505 is in the off state, the voltage input to I/O port 512 of CPU 120 is as follows. That is, the input voltage of the I/O port 512 of the CPU 120 becomes a voltage (predetermined voltage or higher) obtained by subtracting the forward voltage of the LED 504 from the charged voltage of the capacitor 503 . On the other hand, when the switch 505 is on, a current flows from the capacitor 503 through the switch 505 and the resistor 502, and no current flows to the LED 504. FIG. Therefore, the voltage input to the I/O port of the CPU 120 becomes a voltage close to 0V.

S505では、CPU120は、取得したI/Oポート512に入力される電圧を検知して、スイッチ505のオン、オフ状態を判断する。実施例1では、フォトインタラプタ202のフォトトランジスタ405が流すことのできる電流が小さいため、増幅用のトランジスタ406が必要であったが、実施例2のスイッチ505はそのような制限はない。そのため、増幅用トランジスタがなくても、スイッチ505がオン状態とオフ状態におけるコンデンサ503の電位差を大きくとることができる。なお、スイッチ基板511の抵抗502は、スイッチ505を押下してオン状態となった際に流れる電流を制限し、スイッチ505を保護する電流制限抵抗である。CPU120は、I/Oポート512の入力電圧の検知処理が終了すると、S500の処理に戻り、I/Oポート512を再び出力モードに切り替えて、電力供給(電源電圧の供給)を行う。これにより、スイッチ基板511のコンデンサ503は低下した充電電圧が回復し、LED504は点灯することができる。 In S505, the CPU 120 detects the obtained voltage input to the I/O port 512 and determines whether the switch 505 is on or off. In the first embodiment, since the current that can flow through the phototransistor 405 of the photointerrupter 202 is small, the amplifying transistor 406 is necessary, but the switch 505 of the second embodiment has no such limitation. Therefore, the potential difference of the capacitor 503 can be made large between the on state and the off state of the switch 505 without an amplifying transistor. Note that the resistor 502 of the switch substrate 511 is a current limiting resistor that protects the switch 505 by limiting the current that flows when the switch 505 is pressed and turned on. After completing the input voltage detection process of the I/O port 512, the CPU 120 returns to the process of S500, switches the I/O port 512 to the output mode again, and supplies power (supply of power supply voltage). As a result, the lowered charging voltage of the capacitor 503 of the switch substrate 511 is restored, and the LED 504 can be lit.

図6に示す回路構成において、スイッチ基板511のスイッチ505がオン状態のときとオフ状態のときに、親基板510のCPU120のI/Oポート512に入力される電圧を測定する実験を行った。実験に用いた各部品の諸元は以下のとおりである。すなわち、電源電圧Vccは、3.36V(ボルト)、抵抗501、502の抵抗値はそれぞれ1kΩ、100Ω、コンデンサ503の容量は1.0μFとした。また、CPU120のI/Oポート512を入力モードに設定している時間は40μsec(マイクロ秒)とし、I/Oポート512を出力ポート及び入力ポートに設定する周期は20msec(50Hz)とした。上述した回路構成で実験を行った結果、スイッチ505がオン状態のときにCPU120のI/Oポート512に入力される電圧は0.24Vであり、スイッチ505がオフ状態のときに入力される電圧は1.67Vであった。I/Oポート512に入力される電圧は、スイッチ505がオン状態のときとオフ状態のときで約1.4V(≒1.67V-0.24V)の電圧差があるため、スイッチ505のオン、オフ状態を検知することが可能である。CPU120は、スイッチ505のオン状態とオフ状態を検知することで、例えば画像形成装置の電源をオン状態からオフ状態、又はオフ状態からオン状態に移行させることができる。 In the circuit configuration shown in FIG. 6, an experiment was conducted to measure the voltage input to the I/O port 512 of the CPU 120 of the mother board 510 when the switch 505 of the switch board 511 was on and off. The specifications of each component used in the experiment are as follows. That is, the power supply voltage Vcc is 3.36 V (volt), the resistance values of the resistors 501 and 502 are 1 kΩ and 100 Ω, respectively, and the capacitance of the capacitor 503 is 1.0 μF. Also, the time during which the I/O port 512 of the CPU 120 is set to the input mode is set to 40 μsec (microseconds), and the period for setting the I/O port 512 to the output port and input port is set to 20 msec (50 Hz). As a result of experiments with the circuit configuration described above, the voltage input to the I/O port 512 of the CPU 120 when the switch 505 is on is 0.24 V, and the voltage input when the switch 505 is off is 0.24 V. was 1.67V. The voltage input to I/O port 512 has a voltage difference of about 1.4 V (≈1.67 V - 0.24 V) between when switch 505 is on and when switch 505 is off. , the off state can be detected. By detecting the on state and off state of the switch 505, the CPU 120 can, for example, shift the power of the image forming apparatus from an on state to an off state or from an off state to an on state.

また、図6に示すスイッチ基板511の回路構成では、スイッチ505が押下されていない間は、LED504には電流が流れ、LED504は発光状態となる。一方、スイッチ505が押下されている間は、LED504には電流が流れないため、LED504は消灯状態となる。LED504は、スイッチ505のパイロットランプやインジケータとして配置されているが、スイッチ505が押下されている間は消灯する。なお、LED504は、信号線507からの電源電圧の供給が遮断されても、スイッチ505が押下されていないオフ状態の場合には、コンデンサ403に充電された充電電圧により、短時間であれば導通状態が継続され、点灯し続けることができる。 In addition, in the circuit configuration of the switch substrate 511 shown in FIG. 6, current flows through the LED 504 while the switch 505 is not pressed, and the LED 504 is in a light emitting state. On the other hand, while the switch 505 is pressed, no current flows through the LED 504, so the LED 504 is turned off. The LED 504 is arranged as a pilot lamp or indicator for the switch 505, but is extinguished while the switch 505 is pressed. Even if the supply of power supply voltage from the signal line 507 is cut off, the LED 504 is turned on for a short time by the voltage charged in the capacitor 403 when the switch 505 is not pressed and in the OFF state. The state is maintained and can continue to be lit.

以上説明したように、本実施例では、親基板510のCPU120のI/Oポート512からスイッチ基板511に出力されるハイレベルの電圧信号を、スイッチ基板511では電源電圧としてコンデンサ503に充電して使用する。そして、CPU120はI/Oポート512を出力モードから入力モードに切り替えて、スイッチ基板511への電力供給(電源電圧の供給)を遮断し、I/Oポート512に入力される電圧に基づいて、スイッチ505のオン、オフ状態を検知する。このように、本実施例では、電源電圧を供給する送電線とスイッチの状態を通知する信号線とを共通化することにより、親基板510とスイッチ基板511との間の信号線の数を削減している。これにより、フォトインタラプタが1個だけしか載っていない子基板に対しても、更なるコストダウンと省スペース化を実現することができる。 As described above, in this embodiment, the high-level voltage signal output from the I/O port 512 of the CPU 120 of the mother board 510 to the switch board 511 is charged to the capacitor 503 as the power supply voltage in the switch board 511 . use. Then, the CPU 120 switches the I/O port 512 from the output mode to the input mode, cuts off the power supply (power supply voltage supply) to the switch board 511, and based on the voltage input to the I/O port 512, The ON/OFF state of the switch 505 is detected. In this way, in this embodiment, the number of signal lines between the master board 510 and the switch board 511 is reduced by sharing the power transmission line for supplying the power supply voltage and the signal line for notifying the state of the switch. are doing. As a result, further cost reduction and space saving can be realized even for a sub-board on which only one photointerrupter is mounted.

なお、I/Oポート512が出力モードから入力モードに切り替えられると、スイッチ基板511への電力供給が遮断され、コンデンサ503に充電された電圧が低下する。コンデンサ503の電圧低下を抑えるためには、実施例2においても、I/Oポート512が出力ポートに設定されている時間を十分長くし、入力ポートに設定されている時間を短くする必要がある。また、I/Oポート512を出力ポート及び入力ポートに設定する周期(図5のS500~S505の処理時間)に関しても、スイッチ基板511に設置されたスイッチ505を押下する動作に応じた周期とすればよい。 Note that when the I/O port 512 is switched from the output mode to the input mode, power supply to the switch board 511 is interrupted and the voltage charged in the capacitor 503 drops. In order to suppress the voltage drop of the capacitor 503, even in the second embodiment, it is necessary to sufficiently lengthen the time during which the I/O port 512 is set as an output port and shorten the time during which it is set as an input port. . Also, the cycle (processing time of S500 to S505 in FIG. 5) for setting the I/O port 512 as an output port and an input port is also a cycle corresponding to the operation of pressing the switch 505 installed on the switch board 511. Just do it.

なお、実施例1、2では、発光素子及びスイッチ素子を有する信号出力回路としてフォトインタラプタを例示して説明したが、これに限定されない。例えば、発光素子から検知対象物に光を照射し、検知対象物によって反射した光をスイッチ素子としての受光素子で受光するフォトリフレクタとしてもよい。例えばプリンタ100においては、フォトリフレクタをトナーの濃度を検知する際のセンサとして適用する場合がある。1個のフォトリフレクタがセンサ基板に搭載されるような場合にも、本発明を適用し、同様の効果を奏することが可能である。 In addition, in Embodiments 1 and 2, a photointerrupter was used as an example of a signal output circuit having a light emitting element and a switch element, but the present invention is not limited to this. For example, a photoreflector may be used in which light is emitted from a light emitting element to an object to be detected, and light reflected by the object to be detected is received by a light receiving element as a switching element. For example, in the printer 100, a photoreflector may be used as a sensor for detecting toner density. Even when one photoreflector is mounted on the sensor substrate, the present invention can be applied to achieve the same effect.

以上説明したように、本実施例によれば、1個の信号出力回路を搭載した基板に対しても必要な信号線の数を削減することができる。 As described above, according to this embodiment, it is possible to reduce the number of required signal lines even for a board on which one signal output circuit is mounted.

120 CPU
403 コンデンサ
404 LED
405 フォトトランジスタ
406 トランジスタ
407、408 信号線
410 親基板
411 センサ基板
120 CPUs
403 capacitor 404 LED
405 Phototransistor 406 Transistors 407, 408 Signal line 410 Mother board 411 Sensor board

Claims (14)

発光素子と、前記発光素子から出射された光を受光し、前記光の受光状態に応じて異なる信号を出力する受光素子と、が搭載された第1の基板と、
入出力ポートを備えた制御部が搭載された第2の基板と、
前記第1の基板と前記第2の基板を接続する接続線と、を有する検知装置において、
前記第1の基板には、電荷が蓄積される蓄電素子と、前記蓄電素子と接続され、前記受光素子から出力された信号に応じてオン状態又はオフ状態に切り替わるスイッチング素子と、が搭載され、前記スイッチング素子が前記オン状態となると前記蓄電素子に蓄積された電荷が放電されるように構成されており、
前記制御部が出力モードで動作する場合、前記制御部は前記接続線を介して前記入出力ポートから前記第1の基板に電源電圧を供給し、前記蓄電素子は前記制御部から供給された前記電源電圧により充電されると共に、前記発光素子は前記電源電圧により発光し、
前記制御部が入力モードで動作する場合、前記発光素子は前記蓄電素子から供給される電圧により発光し、前記制御部は前記接続線を介して前記入出力ポートに入力される前記蓄電素子の電圧に基づいて、前記受光素子の光の受光状態を検知することを特徴とする検知装置。
a first substrate mounted with a light-emitting element and a light-receiving element that receives light emitted from the light-emitting element and outputs a different signal according to a light-receiving state of the light;
a second board on which a control unit having an input/output port is mounted;
A detection device comprising a connection line that connects the first substrate and the second substrate,
The first substrate is equipped with a storage element that stores electric charge, and a switching element that is connected to the storage element and switches between an on state and an off state according to a signal output from the light receiving element, The electric charge accumulated in the storage element is discharged when the switching element is turned on, and
When the control unit operates in the output mode, the control unit supplies a power supply voltage from the input/output port to the first substrate through the connection line, and the storage element receives the voltage supplied from the control unit. While being charged by the power supply voltage, the light emitting element emits light by the power supply voltage,
When the control unit operates in the input mode, the light emitting element emits light according to the voltage supplied from the storage element, and the control unit controls the voltage of the storage element input to the input/output port through the connection line. , wherein the light receiving state of the light receiving element is detected based on the above.
前記発光素子は発光ダイオードであり、
前記受光素子はフォトトランジスタであり、
前記蓄電素子はコンデンサであり、
前記スイッチング素子は、トランジスタであり、
前記接続線は、前記コンデンサの一端、前記発光ダイオードのアノード端子、前記フォトトランジスタのコレクタ端子、及び前記トランジスタのコレクタ端子に接続され、
前記フォトトランジスタのエミッタ端子は前記トランジスタのベース端子に接続され、
前記コンデンサの他端、前記発光ダイオードのカソード端子、及び前記トランジスタのエミッタ端子は接地され、
前記制御部が前記出力モードで動作する場合、前記制御部は前記接続線を介して前記入出力ポートからハイレベルの信号を出力することにより、前記第1の基板に電源電圧を供給することを特徴とする請求項1に記載の検知装置。
The light emitting element is a light emitting diode,
The light receiving element is a phototransistor,
the storage element is a capacitor,
the switching element is a transistor,
the connection line is connected to one end of the capacitor, the anode terminal of the light emitting diode, the collector terminal of the phototransistor, and the collector terminal of the transistor;
an emitter terminal of the phototransistor is connected to a base terminal of the transistor;
the other end of the capacitor, the cathode terminal of the light emitting diode, and the emitter terminal of the transistor are grounded;
When the control unit operates in the output mode, the control unit outputs a high-level signal from the input/output port through the connection line to supply power supply voltage to the first substrate. 2. A sensing device according to claim 1.
前記発光素子及び前記受光素子は、フォトインタラプタに含まれることを特徴とする請求項1又は請求項2に記載の検知装置。 3. The detection device according to claim 1, wherein the light emitting element and the light receiving element are included in a photointerrupter. 前記発光素子及び前記受光素子は、フォトリフレクタに含まれることを特徴とする請求項1又は請求項2に記載の検知装置。 3. The detection device according to claim 1, wherein the light-emitting element and the light-receiving element are included in a photoreflector. 発光素子と、オン状態又はオフ状態となることで前記発光素子の発光状態又は消灯状態を切り替えるスイッチ素子と、が搭載された第1の基板と、
入出力ポートを備えた制御部が搭載された第2の基板と、
前記第1の基板と前記第2の基板を接続する接続線と、を有する検知装置において、
前記第1の基板には、電荷が蓄積される蓄電素子が搭載され、前記スイッチ素子が前記オン状態となると前記蓄電素子に蓄積された電荷が放電されるように構成されており、
前記制御部が出力モードで動作する場合、前記制御部は前記接続線を介して前記入出力ポートから前記第1の基板に電源電圧を供給し、前記蓄電素子は前記制御部から供給された前記電源電圧により充電されると共に、前記発光素子は前記電源電圧により発光し、
前記制御部が入力モードで動作する場合、前記制御部は前記接続線を介して前記入出力ポートに入力される前記蓄電素子の電圧に基づいて、前記スイッチ素子の前記オン状態又は前記オフ状態を検知することを特徴とする検知装置。
a first substrate on which a light-emitting element and a switching element that switches between a light-emitting state and an extinguished state of the light-emitting element by being turned on or off;
a second board on which a control unit having an input/output port is mounted;
A detection device comprising a connection line that connects the first substrate and the second substrate,
The first substrate is mounted with a storage element for accumulating electric charge, and when the switch element is turned on, the electric charge accumulated in the storage element is discharged,
When the control unit operates in the output mode, the control unit supplies a power supply voltage from the input/output port to the first substrate through the connection line, and the storage element receives the voltage supplied from the control unit. While being charged by the power supply voltage, the light emitting element emits light by the power supply voltage,
When the control unit operates in the input mode, the control unit determines the ON state or the OFF state of the switch element based on the voltage of the storage element input to the input/output port through the connection line. A detection device characterized by detecting.
前記発光素子は発光ダイオードであり、
前記スイッチ素子は機械式スイッチであり、
前記蓄電素子はコンデンサであり、
前記接続線は、前記コンデンサの一端、前記発光ダイオードのアノード端子、及び前記機械式スイッチの一端に接続され、
前記機械式スイッチの他端は、抵抗の一端に接続され、
前記コンデンサの他端、前記発光ダイオードのカソード端子、及び前記抵抗の他端は接地され、
前記制御部が前記出力モードで動作する場合、前記制御部は前記接続線を介して前記入出力ポートからハイレベルの信号を出力することにより、前記第1の基板に電源電圧を供給することを特徴とする請求項5に記載の検知装置。
The light emitting element is a light emitting diode,
The switch element is a mechanical switch,
the storage element is a capacitor,
the connection line is connected to one end of the capacitor, the anode terminal of the light emitting diode, and one end of the mechanical switch;
The other end of the mechanical switch is connected to one end of the resistor,
the other end of the capacitor, the cathode terminal of the light emitting diode, and the other end of the resistor are grounded;
When the control unit operates in the output mode, the control unit outputs a high-level signal from the input/output port through the connection line to supply power supply voltage to the first substrate. 6. A sensing device according to claim 5.
搬送路を搬送されている記録材に画像形成動作を行う画像形成装置であって、
請求項1から請求項4のいずれか1項に記載の検知装置を備え、
前記第1の基板は、前記搬送路に沿って配置され、
前記制御部は、前記受光素子の光の受光状態に基づいて、前記搬送路上の記録材の有無を検知することを特徴とする画像形成装置。
An image forming apparatus that performs an image forming operation on a recording material being conveyed along a conveying path,
Equipped with the detection device according to any one of claims 1 to 4,
The first substrate is arranged along the transport path,
The image forming apparatus, wherein the control section detects the presence or absence of the recording material on the conveying path based on the light receiving state of the light receiving element.
前記制御部は、前記入出力ポートに入力される前記蓄電素子の電圧が所定の電圧よりも低い場合には前記受光素子は光を受光している状態であり、前記搬送路上に記録材はないと判断し、前記入出力ポートに入力される前記蓄電素子の電圧が所定の電圧以上の場合には前記受光素子は光を受光していない状態であり、前記搬送路上に記録材があると判断することを特徴とする請求項7に記載の画像形成装置。 When the voltage of the storage element input to the input/output port is lower than a predetermined voltage, the control section determines that the light receiving element is receiving light and there is no recording material on the conveying path. When the voltage of the storage element input to the input/output port is equal to or higher than a predetermined voltage, it is determined that the light receiving element is not receiving light and that there is a recording material on the conveying path. 8. The image forming apparatus according to claim 7, wherein: 前記制御部が前記入力モードで動作する周期は、前記搬送路を搬送される記録材を検知可能な周期であることを特徴とする請求項8に記載の画像形成装置。 9. The image forming apparatus according to claim 8, wherein the control unit operates in the input mode at a period in which the recording material conveyed on the conveying path can be detected. 記録材に画像形成動作を行う画像形成装置であって、
記録材が載置される給紙部と、
請求項1から請求項4のいずれか1項に記載の検知装置と、
を備え、
前記第1の基板は、前記給紙部に配置され、
前記制御部は、前記受光素子の光の受光状態に基づいて、前記給紙部に載置された記録材の有無を検知することを特徴とする画像形成装置。
An image forming apparatus for forming an image on a recording material,
a paper feed unit on which the recording material is placed;
A detection device according to any one of claims 1 to 4;
with
The first substrate is arranged in the paper feeding unit,
The image forming apparatus according to claim 1, wherein the control section detects the presence or absence of the recording material placed on the paper feeding section based on the light receiving state of the light receiving element.
前記制御部は、前記入出力ポートに入力される前記蓄電素子の電圧が所定の電圧よりも低い場合には前記受光素子は光を受光している状態であり、前記給紙部に載置された記録材はあると判断し、前記入出力ポートに入力される前記蓄電素子の電圧が所定の電圧以上の場合には前記受光素子は光を受光していない状態であり、前記給紙部に載置された記録材がないと判断することを特徴とする請求項10に記載の画像形成装置。 When the voltage of the storage element input to the input/output port is lower than a predetermined voltage, the control section determines that the light receiving element is in a state of receiving light, and that the light receiving element is placed on the paper feeding section. When the voltage of the storage element input to the input/output port is equal to or higher than a predetermined voltage, the light-receiving element is in a state of not receiving light, and the recording material is fed to the paper feeding unit. 11. The image forming apparatus according to claim 10, wherein it is determined that there is no recording material placed. 前記制御部が前記入力モードで動作している時間は、前記受光素子がオン状態の場合に前記蓄電素子の電圧が所定の電圧よりも低くなるまでの時間であることを特徴とする請求項8、請求項9、請求項11のいずれか1項に記載の画像形成装置。 8. The time during which the control unit operates in the input mode is the time until the voltage of the storage element becomes lower than a predetermined voltage when the light receiving element is in the ON state. 12. The image forming apparatus according to claim 1, 9, or 11. 記録材に画像形成動作を行う画像形成装置であって、
請求項5又は請求項6に記載の検知装置を備え、
前記制御部は、前記スイッチ素子の状態に基づいて、前記画像形成装置の電源をオン状態からオフ状態、又はオフ状態からオン状態に移行させることを特徴とする画像形成装置。
An image forming apparatus for forming an image on a recording material,
A detection device according to claim 5 or claim 6,
The image forming apparatus according to claim 1, wherein the control section shifts the power supply of the image forming apparatus from an on state to an off state or from an off state to an on state based on the state of the switch element.
潜像が形成される感光体と、
前記潜像をトナーにより現像しトナー像を形成する現像手段と、
前記現像手段により形成されたトナー像を記録材に転写する転写手段と、を有することを特徴とする請求項7乃至13のいずれか1項に記載の画像形成装置。
a photoreceptor on which a latent image is formed;
a developing means for developing the latent image with toner to form a toner image;
14. The image forming apparatus according to claim 7, further comprising transfer means for transferring the toner image formed by said developing means onto a recording material.
JP2021179269A 2021-11-02 2021-11-02 Detector and image forming apparatus Pending JP2023068304A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021179269A JP2023068304A (en) 2021-11-02 2021-11-02 Detector and image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021179269A JP2023068304A (en) 2021-11-02 2021-11-02 Detector and image forming apparatus

Publications (1)

Publication Number Publication Date
JP2023068304A true JP2023068304A (en) 2023-05-17

Family

ID=86326974

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021179269A Pending JP2023068304A (en) 2021-11-02 2021-11-02 Detector and image forming apparatus

Country Status (1)

Country Link
JP (1) JP2023068304A (en)

Similar Documents

Publication Publication Date Title
US8757618B2 (en) Recording medium conveying apparatus and image forming apparatus
CN110662654B (en) Printer for security paper
JPS6186672A (en) Optical sensor device for paper path
JP2020015562A (en) Image forming device
JP2023068304A (en) Detector and image forming apparatus
EP1045295B1 (en) Double-sided printing apparatus
US20190367306A1 (en) Sensor assembly and image forming apparatus
US12013656B2 (en) Detecting size of print medium using sensors available along paper path
US20200117131A1 (en) Image forming apparatus and method for measuring toner charge
JP4737145B2 (en) Image forming apparatus
US20140112671A1 (en) Image forming apparatus
CN112558446A (en) Developer storage height detection device, replenishing device, and image forming apparatus
JP2010032889A (en) Image forming apparatus
JP4497868B2 (en) Image forming apparatus
US11604427B2 (en) Image forming apparatus having a heater for heating a toner image
US11174119B2 (en) Sheet sorting apparatus and image forming apparatus
CN113787841B (en) Printer for safety paper
JP2007203695A (en) Electrophotography printing equipment and its abnormality recognition system
JP5989837B2 (en) Image forming apparatus
JP2015225165A (en) Image forming apparatus and image forming system
JP5196108B2 (en) Image forming apparatus
JP2008116801A (en) Waste toner sensor
JP5723831B2 (en) Image forming apparatus
KR20060131306A (en) Control apparatus of image forming apparatus and method thereof
JP2020134554A (en) Image formation apparatus