JP2018019337A - State detection circuit and image forming apparatus - Google Patents

State detection circuit and image forming apparatus Download PDF

Info

Publication number
JP2018019337A
JP2018019337A JP2016150102A JP2016150102A JP2018019337A JP 2018019337 A JP2018019337 A JP 2018019337A JP 2016150102 A JP2016150102 A JP 2016150102A JP 2016150102 A JP2016150102 A JP 2016150102A JP 2018019337 A JP2018019337 A JP 2018019337A
Authority
JP
Japan
Prior art keywords
resistance value
state
detection circuit
resistors
state detection
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
JP2016150102A
Other languages
Japanese (ja)
Inventor
行浩 相川
Yukihiro Aikawa
行浩 相川
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions 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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2016150102A priority Critical patent/JP2018019337A/en
Publication of JP2018019337A publication Critical patent/JP2018019337A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)

Abstract

PROBLEM TO BE SOLVED: To increase the number of detection targets with a simple configuration by solving trade-off between accuracy required by resistors and the number of detectable targets (the number of resistors connectable in parallel).SOLUTION: A state detection circuit is provided for detecting open/closed states of N switches to be opened/closed in accordance with a state of an apparatus. The state detection circuit comprises: a parallel circuit including N resistors which are connected in parallel and of which the resistance values are different from each other; and a voltage dividing circuit connected in series to one ends of the N resistors and having a fixed resistance value. The other ends of the N resistors are configured to be connectable in series to the N switches. The fixed resistance value is closer to a combined resistance value of the parallel circuit in the closed states of all the N resistors than a resistance value of a resistor of which the resistance value is minimum in the N resistors.SELECTED DRAWING: Figure 1

Description

本発明は、複数の機器の各状態を検知する状態検知回路及び状態検知回路を有する画像形成装置に関する。   The present invention relates to a state detection circuit that detects each state of a plurality of devices and an image forming apparatus having the state detection circuit.

典型的な画像形成装置(たとえばプリンター、多機能プリンター、又は複合機(Multifunction Peripheral)は、内部に複数の機器を有し、その状態を検知するための複数のセンサ(たとえば検知スイッチやフォトインタラプタ)を有している。複数の機器の状態は、モータの回転状態や印刷用紙の残存状態、原稿自動送り装置(ADF)への原稿の裁置、オプション機器の装着の有無といった状態を含んでいる。特許文献1は、このような複数のセンサのデジタル出力値をD/A変換してアナログ電圧信号とし、画像形成装置の制御部が有するCPUのアナログポートに入力する技術を提案している。これにより、多数のセンサからの出力信号を一本の信号線にまとめることができるので、画像形成装置の内部配線の簡素化を実現するとともに、CPUのポートの使用数を削減することができる。   A typical image forming apparatus (for example, a printer, a multifunction printer, or a multifunction peripheral) has a plurality of devices inside, and a plurality of sensors (for example, a detection switch or a photo interrupter) for detecting the state of the apparatus. The state of the plurality of devices includes states such as the rotation state of the motor, the remaining state of the printing paper, the placement of the document on the automatic document feeder (ADF), and whether or not the optional device is mounted. Patent Document 1 proposes a technique in which digital output values of a plurality of sensors are D / A converted into analog voltage signals and input to an analog port of a CPU included in a control unit of the image forming apparatus. As a result, output signals from a large number of sensors can be combined into a single signal line. With realizing the simplification can reduce the number of used ports of the CPU.

特開2008−059161号公報JP 2008-059161 A 特開2009−278196号公報JP 2009-278196 A 特開平11−242538号公報JP 11-242538 A

しかし、検出対象のセンサの数が増えると、D/A変換が有する並列回路の抵抗器の数が増えて、アナログ電圧信号に要請される電圧精度が厳しくなる。このため、検出対象数の限界の要因となっていた。   However, as the number of sensors to be detected increases, the number of resistors in the parallel circuit included in the D / A conversion increases, and the voltage accuracy required for the analog voltage signal becomes severe. For this reason, it has become a factor of the limit of the number of detection targets.

本発明はこのような状況に鑑みてなされたものであり、抵抗器に要求される精度と検知可能数のトレードオフを解決して簡易な構成で検出対象数を増大させる技術を提供することを目的とする。   The present invention has been made in view of such a situation, and provides a technique for increasing the number of detection objects with a simple configuration by solving the trade-off between the accuracy required for the resistor and the detectable number. Objective.

本発明は、機器の状態に応じて開閉するN個のスイッチの開閉状態を検知する状態検知回路を提供する。本状態検知回路は、並列接続されている相互に抵抗値が相違するN個の抵抗器を有する並列回路と、前記N個の抵抗器の一端に直列に接続されている固定抵抗値を有する分圧回路とを備える。前記N個の抵抗器の他端は、それぞれ前記N個のスイッチに直列に接続可能に構成されている。前記固定抵抗値は、前記N個の抵抗器のうち抵抗値が最も小さな抵抗器の抵抗値よりも前記N個の抵抗器のすべてが閉状態の前記並列回路の合成抵抗値に近い。   The present invention provides a state detection circuit that detects the open / closed state of N switches that open and close according to the state of a device. This state detection circuit includes a parallel circuit having N resistors that are connected in parallel and having different resistance values, and a fixed resistance value that is connected in series to one end of the N resistors. Pressure circuit. The other ends of the N resistors are configured to be connected in series to the N switches. The fixed resistance value is closer to the combined resistance value of the parallel circuit in which all the N resistors are closed than the resistance value of the resistor having the smallest resistance value among the N resistors.

上記の状態検知回路において、前記Nは、3以上の整数であるようにしてもよい。   In the above state detection circuit, N may be an integer of 3 or more.

上記の状態検知回路において、前記Nは、4であり、前記4個の抵抗器は、比率が1:2:4:8の抵抗値を有し、前記固定抵抗値は、前記抵抗値の比率が1の抵抗器の抵抗値の50%乃至75%であるようにしてもよい。   In the state detection circuit, the N is 4, the four resistors have a resistance value of a ratio of 1: 2: 4: 8, and the fixed resistance value is a ratio of the resistance value. May be 50% to 75% of the resistance value of one resistor.

上記の状態検知回路において、前記Nは、4であり、前記4個の抵抗器は、比率が1:2:4:8の抵抗値を有し、前記固定抵抗値は、前記抵抗値の比率が1の抵抗器の抵抗値の53%乃至57%であるようにしてもよい。   In the state detection circuit, the N is 4, the four resistors have a resistance value of a ratio of 1: 2: 4: 8, and the fixed resistance value is a ratio of the resistance value. May be 53% to 57% of the resistance value of one resistor.

上記の状態検知回路において、前記Nは、3であり、前記3個の抵抗器は、比率が1:2:4の抵抗値を有し、前記固定抵抗値は、前記抵抗値の比率が1の抵抗器の抵抗値の50%乃至75%であるようにしてもよい。   In the state detection circuit, the N is 3, the three resistors have a resistance value of a ratio of 1: 2: 4, and the fixed resistance value has a ratio of the resistance value of 1. The resistance value of the resistor may be 50% to 75%.

上記の状態検知回路において、前記Nは、3であり、前記3個の抵抗器は、比率が1:2:4の抵抗値を有し、前記固定抵抗値は、前記抵抗値の比率が1の抵抗器の抵抗値の57%乃至67%であるようにしてもよい。   In the state detection circuit, the N is 3, the three resistors have a resistance value of a ratio of 1: 2: 4, and the fixed resistance value has a ratio of the resistance value of 1. The resistance value of the resistor may be 57% to 67%.

本発明は、画像形成装置を提供する。本画像形成装置は、上記記載の状態検知回路と、前記状態検知回路で状態が検知される複数の状態を有する画像形成部とを備える。   The present invention provides an image forming apparatus. The image forming apparatus includes the state detection circuit described above and an image forming unit having a plurality of states whose states are detected by the state detection circuit.

本発明によれば、抵抗器に要求される精度と検知可能数(並列可能な抵抗器の数)のトレードオフを解決して簡易な構成で検出対象数を増大させることができる。   According to the present invention, the number of detection targets can be increased with a simple configuration by solving the trade-off between the accuracy required for the resistors and the number of detectable elements (the number of resistors that can be paralleled).

本発明の第1実施形態に係る画像形成装置の機能構成を示すブロックダイアグラム。1 is a block diagram showing a functional configuration of an image forming apparatus according to a first embodiment of the present invention. 第1実施形態に係る状態検知回路が有する並列回路の合成抵抗と合成抵抗の変化を示す表。The table | surface which shows the change of the synthetic resistance and synthetic resistance of the parallel circuit which the state detection circuit which concerns on 1st Embodiment has. 第1実施形態に係る状態検知回路の出力電位を示すグラフ。The graph which shows the output potential of the state detection circuit which concerns on 1st Embodiment. 第1実施形態の変形例に係る状態検知回路が有する並列回路の合成抵抗と合成抵抗の変化を示す表。The table | surface which shows the change of the synthetic resistance and synthetic resistance of the parallel circuit which the state detection circuit which concerns on the modification of 1st Embodiment has. 第1実施形態の変形例に係る状態検知回路の出力電位を示すグラフ。The graph which shows the output potential of the state detection circuit which concerns on the modification of 1st Embodiment. 本発明の第2実施形態に係る画像形成装置の状態検知手順を示すフローチャート。9 is a flowchart showing a state detection procedure of the image forming apparatus according to the second embodiment of the present invention. 第2実施形態に係る状態検知回路の出力電位と出力電位の変化を正規化して示す表。The table | surface which normalizes and shows the change of the output electric potential of the state detection circuit which concerns on 2nd Embodiment, and an output electric potential. 第2実施形態に係る状態検知回路のオプション機器が非装着の場合の出力電位と出力電位の変化を正規化して示す表。The table | surface which normalizes and shows the change of an output potential and output potential when the option apparatus of the state detection circuit which concerns on 2nd Embodiment is not mounted | worn. 第2実施形態に係る状態検知回路のオプション機器が装着された場合の出力電位と出力電位の変化を正規化して示す表。The table | surface which normalizes and shows the change of an output electric potential when the optional apparatus of the state detection circuit which concerns on 2nd Embodiment is mounted | worn, and an output electric potential. 第2実施形態に係る状態検知回路の補正出力電位と補正出力電位の変化を正規化して示す表。The table | surface which normalizes and shows the change of the correction | amendment output potential of the state detection circuit which concerns on 2nd Embodiment, and a correction | amendment output potential.

以下、本発明を実施するための形態(以下、「実施形態」という)を、図面を参照して説明する。   Hereinafter, modes for carrying out the present invention (hereinafter referred to as “embodiments”) will be described with reference to the drawings.

A.第1実施例:
図1は、本発明の一実施形態に係る画像形成装置1の機能構成を示すブロックダイアグラムである。画像形成装置1は、制御部10と、原稿自動送り装置(ADF)21と、搬送部22と、モータ23と、オプション機器24と、状態検知回路30と、記憶部40とを備え、印刷用に画像を形成する画像形成部として機能している。状態検知回路30は、原稿自動送り装置(ADF)21、搬送部22、モータ23及びオプション機器24の状態を検知して、その検知結果を出力電位としてのアナログ電圧値Saとして出力端子36から制御部10に入力する。
A. First embodiment:
FIG. 1 is a block diagram showing a functional configuration of an image forming apparatus 1 according to an embodiment of the present invention. The image forming apparatus 1 includes a control unit 10, an automatic document feeder (ADF) 21, a conveyance unit 22, a motor 23, an optional device 24, a state detection circuit 30, and a storage unit 40, and is used for printing. It functions as an image forming unit that forms an image. The state detection circuit 30 detects the states of the automatic document feeder (ADF) 21, the conveyance unit 22, the motor 23, and the optional device 24, and controls the detection result from the output terminal 36 as an analog voltage value Sa as an output potential. Input to section 10.

制御部10は、RAMやROM等の主記憶手段、及びMPU(Micro Processing Unit)やCPU(Central Processing Unit)等の制御手段を備えている。また、制御部10は、各種I/O、USB(ユニバーサル・シリアル・バス)、バス、その他バードウェア等のインターフェイスに関連するコントローラ機能を備え、画像形成装置1全体を制御する。   The control unit 10 includes main storage means such as RAM and ROM, and control means such as MPU (Micro Processing Unit) and CPU (Central Processing Unit). The control unit 10 also has controller functions related to various I / O, USB (Universal Serial Bus), bus, and other hardware such as hardware, and controls the entire image forming apparatus 1.

記憶部40は、非一時的な記録媒体であるハードディスクドライブやフラッシュメモリー等からなる記憶装置で、制御部10が実行する処理の制御プログラムやデータを記憶する。   The storage unit 40 is a storage device including a hard disk drive or a flash memory that is a non-temporary recording medium, and stores a control program and data for processing executed by the control unit 10.

ADF21は、印刷原稿の裁置状態がフォトインタラプタによって検知可能となっている。フォトインタラプタは、光源としての発光ダイオード21Lと受光素子SW1(単にスイッチとも呼ばれる。)とを有している。印刷原稿が裁置されている場合には、印刷原稿によって図示しない発光ダイオードの光が遮蔽され、スイッチSW1が開(Open)状態となり、印刷原稿が無くなるとスイッチSW1に光が照射されて閉(Low)状態に遷移する。   The ADF 21 can detect the placed state of the printed document by a photo interrupter. The photo interrupter includes a light emitting diode 21L as a light source and a light receiving element SW1 (also simply referred to as a switch). When the printed document is placed, the light of a light emitting diode (not shown) is shielded by the printed document, the switch SW1 is opened (Open), and when the printed document disappears, the switch SW1 is irradiated with light and closed ( (Low) state.

搬送部22は、図示しない給紙トレイを有している。給紙トレイには、印刷用紙が格納され、その残存状態がフォトインタラプタによって検知可能となっている。フォトインタラプタは、光源としての発光ダイオード22Lと受光素子SW2(スイッチとも呼ばれる。)とを有している。印刷用紙が残存する場合には、印刷用紙によって図示しない発光ダイオードの光が遮蔽され、スイッチSW2が開(Open)状態となり、印刷用紙が無くなるとスイッチSW2に光が照射されて閉(Low)状態に遷移する。なお、スイッチSW1、SW2は、機械的なスイッチでもよい。   The transport unit 22 has a paper feed tray (not shown). Printing paper is stored in the paper feed tray, and its remaining state can be detected by a photo interrupter. The photo interrupter includes a light emitting diode 22L as a light source and a light receiving element SW2 (also referred to as a switch). When the printing paper remains, light from a light emitting diode (not shown) is blocked by the printing paper, the switch SW2 is opened (Open), and when the printing paper runs out, the switch SW2 is irradiated with light and closed (Low). Transition to. The switches SW1 and SW2 may be mechanical switches.

モータ23は、運転が定常回転状態になった際にだけ閉(Low)になるオープンコレクタ仕様である。モータ23は、オープンコレクタ出力としてモータ23の動作状態を出力するためのNPNトランジスタSW3(スイッチとも呼ばれる。)を有している。モータ23は、起動時にはスイッチSW3が開(Open)状態となり、運転が定常回転状態になると閉(Low)状態に遷移する。   The motor 23 has an open collector specification that is closed (Low) only when the operation is in a steady rotation state. The motor 23 has an NPN transistor SW3 (also referred to as a switch) for outputting the operation state of the motor 23 as an open collector output. The motor 23 shifts to a closed (Low) state when the switch SW3 is in an open (Open) state at the time of start-up and the operation is in a steady rotation state.

オプション機器24は、制御部10と電気的に接続するための図示しないコネクタを有している。コネクタは、ジャンパ線SW4(スイッチとも呼ばれる。)を有する。スイッチSW4は、オプション機器24が制御部10と電気的に接続されると、閉(Low)状態となり、オプション機器24が制御部10から外されると開(Open)状態に遷移する。   The optional device 24 has a connector (not shown) for electrical connection with the control unit 10. The connector has a jumper line SW4 (also called a switch). The switch SW4 is in a closed (Low) state when the optional device 24 is electrically connected to the control unit 10, and transitions to an open (Open) state when the optional device 24 is removed from the control unit 10.

状態検知回路30は、D/A変換回路として以下の構成を有している。状態検知回路30は、第1抵抗31と、第2抵抗32と、第3抵抗33と、第4抵抗34と、分圧抵抗35とを有している。分圧抵抗35は、一端が正電源電位Vccに接続されている。分圧抵抗35の他端は、第1抵抗31、第2抵抗32、第3抵抗33及び第4抵抗34の並列回路の一端に直列に接続されている。第1抵抗31、第2抵抗32、第3抵抗33及び第4抵抗34の抵抗値は、それぞれR、2R、4R及び8Rの比(抵抗値の比率が1:2:4:8)の抵抗値を有している。   The state detection circuit 30 has the following configuration as a D / A conversion circuit. The state detection circuit 30 includes a first resistor 31, a second resistor 32, a third resistor 33, a fourth resistor 34, and a voltage dividing resistor 35. One end of the voltage dividing resistor 35 is connected to the positive power supply potential Vcc. The other end of the voltage dividing resistor 35 is connected in series to one end of a parallel circuit of the first resistor 31, the second resistor 32, the third resistor 33, and the fourth resistor 34. The resistance values of the first resistor 31, the second resistor 32, the third resistor 33, and the fourth resistor 34 are resistors having a ratio of R, 2R, 4R, and 8R (ratio of resistance values is 1: 2: 4: 8), respectively. Has a value.

第1抵抗31の他端(端子31t)は、ADF21のスイッチSW1の一端に接続されている。スイッチSW1の他端は接地されている。第2抵抗32の他端(端子32t)は、搬送部22のスイッチSW2の一端に接続されている。スイッチSW2の他端は接地されている。第3抵抗33の他端(端子33t)は、モータ23のスイッチSW3の一端に接続されている。スイッチSW3の他端は接地されている。第4抵抗34の他端(端子34t)は、オプション機器24のスイッチSW4の一端に接続されている。スイッチSW4の他端は接地されている。   The other end (terminal 31t) of the first resistor 31 is connected to one end of the switch SW1 of the ADF 21. The other end of the switch SW1 is grounded. The other end (terminal 32t) of the second resistor 32 is connected to one end of the switch SW2 of the transport unit 22. The other end of the switch SW2 is grounded. The other end (terminal 33t) of the third resistor 33 is connected to one end of the switch SW3 of the motor 23. The other end of the switch SW3 is grounded. The other end (terminal 34t) of the fourth resistor 34 is connected to one end of the switch SW4 of the option device 24. The other end of the switch SW4 is grounded.

図2は、第1実施形態に係る状態検知回路30が有する並列回路31,32,33,34の合成抵抗値Zと合成抵抗値Zの変化を示す表である。この表は、4個のスイッチSW1,SW2,SW3,SW4の開閉状態と、そのときの合成抵抗値Zとを示している。合成抵抗値Zの変化は、4個のスイッチSW1,SW2,SW3,SW4の開閉状態の変化における最小変化量を示している。   FIG. 2 is a table showing a change in the combined resistance value Z and the combined resistance value Z of the parallel circuits 31, 32, 33, and 34 included in the state detection circuit 30 according to the first embodiment. This table shows the open / closed states of the four switches SW1, SW2, SW3, SW4 and the combined resistance value Z at that time. The change in the combined resistance value Z indicates the minimum change amount in the change in the open / closed state of the four switches SW1, SW2, SW3, SW4.

具体的には、たとえば複数の機器(ADF21、搬送部22、モータ23及びオプション機器24)が以下の状態では、合成抵抗値Zは2.67R(ノミナル値)となる。
(1)ADF21:印刷原稿が裁置されており、スイッチSW1が開(Open)状態
(2)搬送部22:印刷用紙が存在し、スイッチSW2が開(Open)
(3)モータ23:定常回転状態なのでスイッチSW3が閉(Low)
(4)オプション機器24:制御部10と電気的に接続されていてスイッチSW4が閉(Low)状態
Specifically, for example, when the plurality of devices (ADF 21, transport unit 22, motor 23, and optional device 24) are in the following state, the combined resistance value Z is 2.67R (nominal value).
(1) ADF 21: Print document is placed, switch SW1 is open (Open) (2) Conveying unit 22: print paper exists, switch SW2 is open (Open)
(3) Motor 23: Switch SW3 is closed (Low) because it is in a steady rotation state.
(4) Optional device 24: electrically connected to the control unit 10 and the switch SW4 is closed (Low)

図2から分かるように、逆に、合成抵抗値Zが2.67の近傍となる状態は、上記状態のみとなる。このように、各機器の各状態と合成抵抗値Zが一対一で対応するので、合成抵抗値Zに基づいて各機器の状態を検知することができる。このように、各機器の状態の検知は、4個のスイッチSW1,SW2,SW3,SW4の開閉状態に応じた合成抵抗値Zの変化に基づいて行われる。   As can be seen from FIG. 2, conversely, the state where the combined resistance value Z is in the vicinity of 2.67 is only the above state. Thus, since each state of each device and the combined resistance value Z correspond one-to-one, the state of each device can be detected based on the combined resistance value Z. As described above, the state of each device is detected based on a change in the combined resistance value Z corresponding to the open / closed states of the four switches SW1, SW2, SW3, SW4.

ただし、合成抵抗値Zの変化量は、4個のスイッチSW1,SW2,SW3,SW4の各々が閉状態となって合成抵抗値Zが小さくなるにしたがって小さくなる。具体的には、スイッチSW4の開閉による合成抵抗値Zの変化量は、2個のスイッチSW1,SW2が開状態で,スイッチSW3が閉状態のときは1.33Rと大きいが、3個のスイッチSW1,SW2,SW3のすべてが閉状態では、0.04Rと小さい。   However, the amount of change in the combined resistance value Z decreases as each of the four switches SW1, SW2, SW3, SW4 is closed and the combined resistance value Z decreases. Specifically, the amount of change in the combined resistance value Z due to the opening and closing of the switch SW4 is as large as 1.33R when the two switches SW1 and SW2 are open and the switch SW3 is closed, but the three switches When all of SW1, SW2, and SW3 are closed, the value is as small as 0.04R.

合成抵抗値Zの変化量が過度に小さくなると、検出の信頼性が低下するとともに、第1抵抗31、第2抵抗32、第3抵抗33及び第4抵抗34の製造公差によっては逆転現象が生ずる場合も想定される。   When the amount of change in the combined resistance value Z is excessively small, the detection reliability is lowered, and a reverse phenomenon occurs depending on manufacturing tolerances of the first resistor 31, the second resistor 32, the third resistor 33, and the fourth resistor 34. Cases are also envisaged.

図3は、第1実施形態に係る状態検知回路30の出力電位を示すグラフである。D/A変換回路の設計においては、従来の技術常識では、分圧抵抗35に接続されている並列回路(第1抵抗31、第2抵抗32、第3抵抗33及び第4抵抗34の並列接続)の合成抵抗値Zの変化に応じて出力電位の変化量が大きくなるように分圧抵抗35の抵抗値Xが設定される。   FIG. 3 is a graph showing the output potential of the state detection circuit 30 according to the first embodiment. In designing a D / A conversion circuit, according to conventional common general knowledge, a parallel circuit (a parallel connection of a first resistor 31, a second resistor 32, a third resistor 33, and a fourth resistor 34) connected to a voltage dividing resistor 35 is used. The resistance value X of the voltage dividing resistor 35 is set so that the amount of change in the output potential increases in accordance with the change in the combined resistance value Z).

具体的には、分圧抵抗35の抵抗値Xは、第1抵抗31、第2抵抗32、第3抵抗33及び第4抵抗34のうちで最も抵抗値が小さな第1抵抗31の抵抗値Rと同じ抵抗値に設定される(X=R)。これにより、図3から分かるように、正電源電位Vccの65%に相当する電位の変化量を生じさせることができる。このような考え方は、D/A変換回路の設計において当業者の技術常識を形成している(たとえば特許文献1の選択図参照)。   Specifically, the resistance value X of the voltage dividing resistor 35 is the resistance value R of the first resistor 31 having the smallest resistance value among the first resistor 31, the second resistor 32, the third resistor 33, and the fourth resistor 34. The same resistance value is set (X = R). Thereby, as can be seen from FIG. 3, a change amount of the potential corresponding to 65% of the positive power supply potential Vcc can be generated. Such an idea forms common technical knowledge of those skilled in the art in designing a D / A conversion circuit (see, for example, the selection diagram of Patent Document 1).

しかし、本願発明者は、敢えて違う観点からD/A変換回路を設計するための技術的な思想を創作した。従来の技術的思想は、前述のように、分圧抵抗35に接続されている並列回路の合成抵抗値Zの変化に応じて出力電位の変化量が大きくなるようにD/A変換回路を構成している。これに対して、本技術的思想は、4個のスイッチSW1,SW2,SW3,SW4の開閉状態の変化における合成抵抗値Zの最小変化量が大きくなるようにD/A変換回路を構成している。   However, the inventor has created a technical idea for designing a D / A conversion circuit from a different point of view. As described above, the conventional technical idea is that the D / A converter circuit is configured such that the amount of change in the output potential increases in accordance with the change in the combined resistance value Z of the parallel circuit connected to the voltage dividing resistor 35. doing. On the other hand, this technical idea configures the D / A converter circuit so that the minimum change amount of the combined resistance value Z in the change of the open / close state of the four switches SW1, SW2, SW3, SW4 is increased. Yes.

4個のスイッチSW1,SW2,SW3,SW4の開閉状態の変化における合成抵抗値Zの最小変化量は、3個のスイッチSW1,SW2,SW3が閉状態で、スイッチSW4が開状態から閉状態に遷移するときの変化量(0.04R)である(図2参照)。   The minimum change amount of the combined resistance value Z in the change in the open / closed state of the four switches SW1, SW2, SW3, SW4 is that the three switches SW1, SW2, SW3 are in the closed state and the switch SW4 is in the closed state. This is the amount of change (0.04R) at the time of transition (see FIG. 2).

本願発明者は、分圧抵抗35の抵抗値Xが、3個のスイッチSW1,SW2,SW3が閉状態で、スイッチSW4が開状態のときの並列回路の合成抵抗値Zと一致するように構成すれば、合成抵抗値Zの変化量が小さくても分圧回路の出力電位の変化量を大きくできることを見いだした。こうすれば、スイッチSW4が開状態から閉状態に遷移する前の並列回路の合成抵抗値Z(0.57R)と分圧抵抗35の抵抗値Xとで正電源電位Vccの中間電位に分圧されるからである(X=0.57R)。   The inventor of the present application configures the resistance value X of the voltage dividing resistor 35 to coincide with the combined resistance value Z of the parallel circuit when the three switches SW1, SW2, and SW3 are in the closed state and the switch SW4 is in the open state. Thus, it has been found that even if the change amount of the combined resistance value Z is small, the change amount of the output potential of the voltage dividing circuit can be increased. By so doing, the combined resistance value Z (0.57R) of the parallel circuit before the switch SW4 transitions from the open state to the closed state and the resistance value X of the voltage dividing resistor 35 are divided to an intermediate potential of the positive power supply potential Vcc. (X = 0.57R).

これにより、図3から分かるように、3個のスイッチSW1,SW2,SW3が閉状態で、スイッチSW4が開状態(状態14)から閉状態(状態15)に遷移するときの変化量が0.0158(X=R)から0.0172(X=0.57R)まで増大している。一方、4個のスイッチSW1,SW2,SW3,SW4の開閉状態の変化における合成抵抗値Zの全体の変化量は、65%から52%まで減少している。   Thereby, as can be seen from FIG. 3, the amount of change when the three switches SW1, SW2 and SW3 are in the closed state and the switch SW4 transitions from the open state (state 14) to the closed state (state 15) is 0. It increases from 0158 (X = R) to 0.0172 (X = 0.57R). On the other hand, the total change amount of the combined resistance value Z in the change in the open / close state of the four switches SW1, SW2, SW3, SW4 is reduced from 65% to 52%.

本技術的思想は、合成抵抗値Zの変化量が大きい状態(状態1の近傍の状態)に対して、合成抵抗値Zの変化量が小さい状態(状態14の近傍の状態)における合成抵抗値Zの変化に対する電位の変化の感度の大きな領域を割り当てるように分圧抵抗35の抵抗値Xを設定する点を特徴としている。合成抵抗値Zの変化量が大きい状態では、合成抵抗値Zの変化に対する電位の変化の感度が比較的に小さくなっても合成抵抗値Zの変化量が大きいので問題とならないので、合理的な資源配分となっている。   The technical idea is that the combined resistance value in a state where the amount of change in the combined resistance value Z is small (a state in the vicinity of state 14), compared to a state where the amount of change in the combined resistance value Z is large (a state in the vicinity of state 1) It is characterized in that the resistance value X of the voltage dividing resistor 35 is set so as to allocate a region where the sensitivity of the potential change with respect to the Z change is large. In a state where the amount of change in the combined resistance value Z is large, even if the sensitivity of the potential change with respect to the change in the combined resistance value Z is relatively small, there is no problem because the amount of change in the combined resistance value Z is large. Resource allocation.

この点は、図3のプロット(X=R)に比較してプロット(X=0.57R)が直線上となっていることからも確認できる。プロット(X=R)では、全体の電位変化が比較的に大きいが(65%)、状態1〜状態8で過度に電位変化が大きく、状態9〜状態15で電位変化が飽和気味である。一方、プロット(X=0.57R)では、全体の電位変化が比較的に小さいが(52%)、状態1〜状態8での電位変化が抑制され、状態9〜状態15では電位変化の飽和が抑制されている。   This point can also be confirmed from the fact that the plot (X = 0.57R) is on a straight line compared to the plot (X = R) in FIG. In the plot (X = R), the overall potential change is relatively large (65%), but the potential change is excessively large in states 1 to 8, and the potential change is saturated in states 9 to 15. On the other hand, in the plot (X = 0.57R), although the overall potential change is relatively small (52%), the potential change in the states 1 to 8 is suppressed, and in the states 9 to 15, the potential change is saturated. Is suppressed.

図4は、第1実施形態の変形例に係る状態検知回路が有する並列回路の合成抵抗を示す表である。図5は、第1実施形態の変形例に係る状態検知回路30の出力電位を示すグラフである。変形例は、第1実施形態の構成からスイッチSW4を削除した構成を有し、他の構成で共通する。   FIG. 4 is a table showing the combined resistance of the parallel circuit included in the state detection circuit according to the modification of the first embodiment. FIG. 5 is a graph showing the output potential of the state detection circuit 30 according to a modification of the first embodiment. The modification has a configuration in which the switch SW4 is deleted from the configuration of the first embodiment, and is common to other configurations.

変形例においても同様の効果が得られる。すなわち、プロット(X=R)では、全体の電位変化が比較的に大きいが(64%)、状態1〜状態4で過度に電位変化が大きく、状態5〜状態7で電位変化が飽和している。一方、プロット(X=0.67R)では、全体の電位変化が比較的に小さいが(54%)、状態1〜状態4での電位変化が抑制され、状態5〜状態7では電位変化の飽和が抑制されている。   Similar effects can be obtained in the modification. That is, in the plot (X = R), the overall potential change is relatively large (64%), but the potential change is excessively large in states 1 to 4, and the potential change is saturated in states 5 to 7. Yes. On the other hand, in the plot (X = 0.67R), the overall potential change is relatively small (54%), but the potential change in the states 1 to 4 is suppressed, and in the states 5 to 7, the potential change is saturated. Is suppressed.

このように、第1実施形態は、従来の技術的思想と本質的に相違する新規な技術的思想を利用して、D/A変換回路が有する並列回路の合成抵抗値Zの変化の低下の問題を分圧抵抗35の抵抗値Xを適切に設定するという簡易な構成で、合成抵抗値Zの変化に対する電位変化の感度を高めることで解決している。これにより、抵抗器に要求される精度と検知可能数(並列可能な抵抗器の数)のトレードオフを解決して検出対象数を増大させることができる。   As described above, the first embodiment uses a novel technical idea that is essentially different from the conventional technical idea, and reduces the change in the combined resistance value Z of the parallel circuit of the D / A converter circuit. The problem is solved by increasing the sensitivity of the potential change to the change in the combined resistance value Z with a simple configuration in which the resistance value X of the voltage dividing resistor 35 is appropriately set. As a result, the trade-off between the accuracy required for the resistor and the detectable number (the number of resistors that can be paralleled) can be solved and the number of detection targets can be increased.

なお、第1実施形態では、分圧抵抗35の抵抗値Xが、3個のスイッチSW1,SW2,SW3が閉状態で、スイッチSW4が開状態のときの並列回路の合成抵抗値Zと一致するように構成されているが、必ずしも一致させる必要はなく、第1抵抗31、第2抵抗32、第3抵抗33及び第4抵抗34のうちで最も抵抗値が小さな第1抵抗31の抵抗値Rよりも、4個のスイッチSW1,SW2,SW3,SW4のすべてが閉状態のときの並列回路の合成抵抗値Z、あるいは3個のスイッチSW1,SW2,SW3が閉状態で、スイッチSW4が開状態のときの並列回路の合成抵抗値Zに近ければよい。こうすれば、本実施形態の効果を奏することができるからである。   In the first embodiment, the resistance value X of the voltage dividing resistor 35 matches the combined resistance value Z of the parallel circuit when the three switches SW1, SW2, and SW3 are closed and the switch SW4 is open. Although not necessarily required to match, the resistance value R of the first resistor 31 having the smallest resistance value among the first resistor 31, the second resistor 32, the third resistor 33, and the fourth resistor 34 is configured. Rather than the combined resistance value Z of the parallel circuit when all four switches SW1, SW2, SW3, SW4 are closed, or the three switches SW1, SW2, SW3 are closed and the switch SW4 is open. It is sufficient if it is close to the combined resistance value Z of the parallel circuit. This is because the effect of the present embodiment can be achieved.

本実施形態では、上限として0.785R未満(あるいは0.75R未満)となるように設定すればよい。一方、下限は、0.53R以下としても、本発明の技術的効果は、大きくならないので、0.5R以上とすることが好ましいことが本願発明者のシミュレーションで確認された。なお、本実施形態では、分圧抵抗35は、抵抗値Xを有する単独の抵抗器として構成されているが、分圧のための固定抵抗値を有する分圧回路(たとえば複数の抵抗器で構成される回路)であればよい。なお、本実施形態では、抵抗値Xの最も好ましい領域は、3個のスイッチSW1,SW2,SW3が閉状態で、スイッチSW4が開閉状態となる範囲、すなわち、0.53Rと0.57Rの間の範囲である。   In the present embodiment, the upper limit may be set to be less than 0.785R (or less than 0.75R). On the other hand, since the technical effect of the present invention does not increase even if the lower limit is 0.53 R or less, it has been confirmed by simulation of the present inventor that the lower limit is preferably 0.5 R or more. In the present embodiment, the voltage dividing resistor 35 is configured as a single resistor having a resistance value X. However, the voltage dividing circuit (for example, configured by a plurality of resistors) having a fixed resistance value for voltage division. Circuit). In the present embodiment, the most preferable region of the resistance value X is a range in which the three switches SW1, SW2, and SW3 are closed and the switch SW4 is opened and closed, that is, between 0.53R and 0.57R. Range.

なお、変形例では、抵抗値Xの最も好ましい領域は、2個のスイッチSW1,SW2が閉状態で、スイッチSW3が開閉状態となる範囲、すなわち、0.57Rと0.67Rの間の範囲である。ただし、0.5Rと0.75Rの間の範囲であれば、第1実施形態と同様に本発明の効果を得ることができる。   In the modified example, the most preferable region of the resistance value X is a range where the two switches SW1 and SW2 are closed and the switch SW3 is opened / closed, that is, a range between 0.57R and 0.67R. is there. However, if it is in the range between 0.5R and 0.75R, the effect of the present invention can be obtained as in the first embodiment.

B.第2実施例:
図6は、本発明の第2実施形態に係る画像形成装置1の状態検知手順を示すフローチャートである。第2実施形態に係る画像形成装置1は、第1実施形態に係る画像形成装置1と同一の構成を有している。ステップS10では、画像形成装置1は、たとえば電源オンによって起動される。ステップS20では、画像形成装置1は、初期動作を実行する。初期動作は、制御部10の起動処理と、フォトインタラプタ(発光ダイオード21L、受光素子SW1)の起動処理と、モータ23の起動処理とを含んでいる。
B. Second embodiment:
FIG. 6 is a flowchart showing a state detection procedure of the image forming apparatus 1 according to the second embodiment of the present invention. The image forming apparatus 1 according to the second embodiment has the same configuration as the image forming apparatus 1 according to the first embodiment. In step S10, the image forming apparatus 1 is activated, for example, when the power is turned on. In step S20, the image forming apparatus 1 performs an initial operation. The initial operation includes a startup process of the control unit 10, a startup process of the photo interrupter (light emitting diode 21L, light receiving element SW1), and a startup process of the motor 23.

制御部10は、制御部10が実行する処理の制御プログラムやデータを記憶部40から読み出して起動処理を実行する。起動が完了すると、制御部10は、フォトインタラプタ(発光ダイオード21L、受光素子SW1)と状態検知回路30とに電力の供給を開始する。ただし、制御部10は、起動から予め設定されている所定の時間だけ発光ダイオード21Lの発光を待機させる。これにより、発光ダイオード21Lは、起動から予め設定されている所定の時間だけ発光されないことになる。なお、起動から予め設定されている所定の時間だけ発光ダイオード21Lの発光を遅延させる回路を設けるようにしてもよい。   The control unit 10 reads out a control program and data for processing executed by the control unit 10 from the storage unit 40 and executes activation processing. When the activation is completed, the control unit 10 starts supplying power to the photo interrupter (light emitting diode 21L, light receiving element SW1) and the state detection circuit 30. However, the control unit 10 waits for the light emission of the light emitting diode 21L for a predetermined time set in advance from activation. Thereby, the light emitting diode 21L does not emit light for a predetermined time set in advance from activation. A circuit for delaying the light emission of the light emitting diode 21L for a predetermined time set in advance from the start may be provided.

制御部10は、さらに、モータ23の起動処理を実行する。モータ23は、前述のように、運転が定常回転状態になった際にだけ閉(Low)になるオープンコレクタ仕様なので、起動時にはスイッチSW3が開(Open)状態となる。このように、画像形成装置1は、起動処理中の一定時間の間、2個のスイッチSW1,SW3が開(Open)状態であることが予め分かっている。   The control unit 10 further executes a startup process of the motor 23. As described above, since the motor 23 is an open collector specification that is closed (Low) only when the operation is in a steady rotation state, the switch SW3 is open (Open) at the time of startup. As described above, the image forming apparatus 1 knows in advance that the two switches SW1 and SW3 are in the open state for a certain period of time during the startup process.

図7は、第2実施形態に係る状態検知回路30の出力電位と出力電位の変化を正規化して示す表である。画像形成装置1は、起動処理中の一定時間の間、2個のスイッチSW1,SW3が開(Open)状態であることが予め分かっている。上述のように、制御部10は、起動から予め設定されている所定の時間だけ発光ダイオード21Lの発光を待機させるからであり、また、起動から一定時間後にモータ23が定常回転状態になるからである。 したがって、搬送部22のスイッチSW2が開(Open)状態におけるオプション機器24のスイッチSW4が開(Open)状態(状態0)と閉(Low)状態(状態1)と、搬送部22のスイッチSW2が閉(Low)状態におけるオプション機器24のスイッチSW4が開(Open)状態(状態4)と閉(Low)状態(状態5)との4つの状態だけが想定される。   FIG. 7 is a table showing normalized output potentials and changes in output potentials of the state detection circuit 30 according to the second embodiment. The image forming apparatus 1 knows in advance that the two switches SW1 and SW3 are open for a certain period of time during the startup process. As described above, the control unit 10 waits for the light emission of the light emitting diode 21L for a predetermined time from the start-up, and the motor 23 enters a steady rotation state after a predetermined time from the start-up. is there. Accordingly, the switch SW4 of the option device 24 in the open state (Open) is switched to the open (Open) state (State 0) and the closed (Low) state (State 1), and the switch SW2 of the transport unit 22 is switched. Only four states are assumed, in which the switch SW4 of the option device 24 in the closed (Low) state is in an open (Open) state (State 4) and a closed (Low) state (State 5).

ステップS30では、画像形成装置1は、オプション機器24の接続状態を検知する。オプション機器24の接続状態の検知は、状態0と状態1のいずれかの検知(出力差=0.0667)あるいは状態4と状態5のいずれかの検知(出力差=0.0409)となる。いずれの検知も十分に出力差があるので、問題なく検知することができる。   In step S <b> 30, the image forming apparatus 1 detects the connection state of the optional device 24. The detection of the connection state of the option device 24 is detection of either state 0 or state 1 (output difference = 0.0667) or detection of either state 4 or state 5 (output difference = 0.0409). Since any detection has a sufficient output difference, it can be detected without any problem.

ステップS40では、制御部10は、オプション機器24の接続状態を検知するための時間として予め設定されている所定時間の経過後に、ステップS50に処理を進める。   In step S <b> 40, the control unit 10 advances the process to step S <b> 50 after elapse of a predetermined time set in advance as a time for detecting the connection state of the option device 24.

ステップS50では、画像形成装置1は、オプション機器24の接続状態の検知結果を記憶部40に記憶させ、発光ダイオード21Lの発光を開始させる。オプション機器24は、画像形成装置1の電源がオフの状態でしか取り外しや接続が許可されていない。したがって、オプション機器24の接続状態の検知は、画像形成装置1の起動時に1回だけ行って記憶部40に記憶させれば再度検知する必要は無い。   In step S50, the image forming apparatus 1 stores the detection result of the connection state of the optional device 24 in the storage unit 40, and starts the light emission of the light emitting diode 21L. The optional device 24 is permitted to be removed and connected only when the power of the image forming apparatus 1 is off. Therefore, if the connection state of the optional device 24 is detected only once when the image forming apparatus 1 is started and stored in the storage unit 40, it is not necessary to detect it again.

ステップS60では、制御部10は、オプション機器24の接続状態の検知結果に基づいて読み込むテーブルを決定する。オプション機器24が接続されていない場合、すなわち、スイッチSW4が開(Open)状態である場合には、ステップS70に処理が進められ、オプション機器24が接続されている場合、すなわち、スイッチSW4が閉(Low)状態である場合には、ステップS80に処理が進められる。   In step S <b> 60, the control unit 10 determines a table to be read based on the detection result of the connection state of the optional device 24. If the optional device 24 is not connected, that is, if the switch SW4 is in the open (Open) state, the process proceeds to step S70, and if the optional device 24 is connected, that is, the switch SW4 is closed. If it is in the (Low) state, the process proceeds to step S80.

ステップS70では、制御部10は、開用テーブルを選択して読み込む。開用テーブルは、オプション機器24が接続されていない場合、すなわち、スイッチSW4が開(Open)状態である場合に使用されるテーブルである。   In step S70, the control unit 10 selects and reads the opening table. The opening table is a table used when the optional device 24 is not connected, that is, when the switch SW4 is in the open (Open) state.

図8は、第2実施形態に係る状態検知回路30のオプション機器24が非装着の場合の出力電位と出力電位の変化を正規化して示す表である。出力電位と出力電位の変化は、それぞれ出力電位Voutと出力電位の変化(Voutの変化)を正電源電位Vccで正規化して、「Vout/Vcc」と「Voutの変化/Vcc」として示している。図8の表では、オプション機器24が装着された場合、すなわち、スイッチSW4が閉(Low)状態である場合のデータを削除して、正規化された出力電位の変化(Voutの変化/Vcc)が算出されている。   FIG. 8 is a table showing normalized output potentials and changes in output potentials when the optional device 24 of the state detection circuit 30 according to the second embodiment is not attached. The changes in the output potential and the output potential are shown as “Vout / Vcc” and “Vout change / Vcc” by normalizing the output potential Vout and the change in output potential (change in Vout) with the positive power supply potential Vcc, respectively. . In the table of FIG. 8, when the optional device 24 is attached, that is, when the switch SW4 is in the closed (Low) state, the data is deleted, and the change in the normalized output potential (change in Vout / Vcc) Is calculated.

ステップS80では、制御部10は、閉用テーブルを選択して読み込む。閉用テーブルは、オプション機器24が接続されている場合、すなわち、スイッチSW4が閉(Low)状態である場合に使用されるテーブルである。   In step S80, the control unit 10 selects and reads the closing table. The closing table is a table used when the optional device 24 is connected, that is, when the switch SW4 is in the closed (Low) state.

図9は、第2実施形態に係る状態検知回路30のオプション機器24が装着された場合の出力電位と出力電位の変化を正規化して示す表である。出力電位と出力電位の変化は、図8と同様に正電源電位Vccで正規化されている。図9の表では、オプション機器24が装着されていない場合、すなわち、スイッチSW4が開(Open)状態である場合のデータを削除して、正規化された出力電位の変化(Voutの変化/Vcc)が算出されている。   FIG. 9 is a table showing normalized output potentials and changes in output potentials when the optional device 24 of the state detection circuit 30 according to the second embodiment is mounted. The output potential and the change in the output potential are normalized by the positive power supply potential Vcc as in FIG. In the table of FIG. 9, the data when the optional device 24 is not attached, that is, when the switch SW4 is in the open (Open) state is deleted, and the change in the normalized output potential (change in Vout / Vcc ) Is calculated.

ステップS90では、制御部10は、継続的な状態検知を開始する。継続的な状態検知の対象は、ADF21(スイッチSW1)、搬送部22(スイッチSW2)、モータ23(スイッチSW3)である。オプション機器24(スイッチSW4)の接続状態は、画像形成装置1の起動時から予め設定されている所定の時間内に検知して、記憶部40に記憶され、その後は検知されない。   In step S90, the control unit 10 starts continuous state detection. The targets for continuous state detection are the ADF 21 (switch SW1), the transport unit 22 (switch SW2), and the motor 23 (switch SW3). The connection state of the optional device 24 (switch SW4) is detected within a predetermined time set in advance from the time of starting the image forming apparatus 1, stored in the storage unit 40, and not detected thereafter.

制御部10は、オプション機器24の接続状態に応じて、図8あるいは図9のテーブルを使用して、状態検知回路30の出力電位Voutに基づいて3個のスイッチSW1,SW2,SW3の開閉状態を検知することができる。これにより、ADF21に印刷原稿が裁置されているか否か、搬送部22の給紙トレイに印刷用紙が残存しているか否か(発光ダイオード21Lの発光はステップS50で開始)、そしてモータ23が定常回転状態か否かを継続的に検知することができる。   The control unit 10 uses the table of FIG. 8 or FIG. 9 according to the connection state of the optional device 24, and opens / closes the three switches SW1, SW2, SW3 based on the output potential Vout of the state detection circuit 30. Can be detected. As a result, whether or not a print document is placed on the ADF 21, whether or not printing paper remains on the paper feed tray of the transport unit 22 (light emission of the light emitting diode 21 </ b> L starts in step S <b> 50), and the motor 23 It can be continuously detected whether or not it is in a steady rotation state.

このように、第2実施形態は、画像形成装置1の起動時において既知である2個のスイッチSW1,SW3の開(Open)状態を利用して、オプション機器24の接続状態(スイッチSW4)を検知することができる。第2実施形態は、3個のスイッチSW1,SW2,SW3が閉(Low)状態のときに、オプション機器24の接続状態(スイッチSW4)の検知において状態14と状態15という出力電位変化が小さいことに着目し、この状態が発生しない既知のタイミングでオプション機器24の接続状態を検知する点に特徴を有している。   As described above, in the second embodiment, the connection state (switch SW4) of the option device 24 is determined using the open state of the two switches SW1 and SW3 that are known when the image forming apparatus 1 is started. Can be detected. In the second embodiment, when the three switches SW1, SW2, and SW3 are in the closed (Low) state, the change in the output potential of the state 14 and the state 15 is small in the detection of the connection state (switch SW4) of the option device 24. The feature is that the connection state of the optional device 24 is detected at a known timing at which this state does not occur.

なお、第2実施形態では、オプション機器24の接続状態に応じて、図8あるいは図9のテーブルを選択しているが、オプション機器24の接続状態に拘わらず、たとえば図10のテーブルを使用するようにしてもよい。図10のテーブルは、図8のテーブル(オプション機器24が非接続)と、図9のテーブル(オプション機器24が接続)を補正したテーブルとの組合せとして構成されている。   In the second embodiment, the table of FIG. 8 or FIG. 9 is selected according to the connection state of the option device 24. However, for example, the table of FIG. 10 is used regardless of the connection state of the option device 24. You may do it. The table of FIG. 10 is configured as a combination of the table of FIG. 8 (option device 24 is not connected) and the table of FIG. 9 (option device 24 is connected) corrected.

この補正は、状態14と状態15の間の出力電位の変化量(0.0172、図7参照)を図9のテーブル(オプション機器24が接続)の状態1,3,5,7,9,11,13,15(スイッチSW4が閉状態)に加算することを内容とする。これにより、オプション機器24の接続状態に拘わらず、3個のスイッチSW1,SW2,SW3の状態を検知することができる。   In this correction, the amount of change in the output potential between the state 14 and the state 15 (0.0172, see FIG. 7) is changed to the states 1, 3, 5, 7, 9, and 9 in the table of FIG. The content is added to 11, 13, 15 (switch SW4 is closed). Thereby, the state of the three switches SW1, SW2, and SW3 can be detected regardless of the connection state of the option device 24.

なお、上記実施形態では、2個のスイッチSW1,SW3が既知のタイミング(起動時から予め設定されている所定の時間内)で開(Open)状態となっていることを前提としているが、これに限られず、複数の抵抗器のうち抵抗値が最も大きな抵抗器である特定抵抗器以外の抵抗器の少なくとも1つのスイッチが開状態となっていれば本発明の効果を得ることができる。   In the above embodiment, it is assumed that the two switches SW1 and SW3 are in an open state at a known timing (within a predetermined time set in advance from the time of activation). The effect of the present invention can be obtained as long as at least one switch of a resistor other than the specific resistor having the largest resistance value among the plurality of resistors is open.

具体的には、開状態であることが既知であるスイッチには、スイッチSW1が含まれることが最も好ましく、次にスイッチSW2、その次にスイッチSW3の順に含まれることが好ましい。スイッチSW4の検出の容易さは、詳細には次の順番となる。
(1)SW1+SW2+SW3 が開であると既知の時
(2)SW1+SW2 が開であると既知の時
(3)SW1 +SW3 が開であると既知の時(実施形態)
(4)SW1のみ が開であると既知の時
(5) SW2+SW3 が開であると既知の時
(6) SW2のみ が開であると既知の時
(7) SW3のみ が開であると既知の時
Specifically, the switch that is known to be in the open state most preferably includes the switch SW1, and then preferably includes the switch SW2 and then the switch SW3. The ease of detection of the switch SW4 is as follows in detail.
(1) When it is known that SW1 + SW2 + SW3 is open (2) When it is known that SW1 + SW2 is open (3) When it is known that SW1 + SW3 is open (embodiment)
(4) When only SW1 is known to be open (5) When SW2 + SW3 is known to be open (6) When only SW2 is known to be open (7) Only SW3 is known to be open Time

C.変形例:
本発明は、上記各実施形態だけでなく、以下のような変形例でも実施することができる。
C. Variations:
The present invention can be implemented not only in the above embodiments but also in the following modifications.

変形例1:上記実施形態では、画像形成装置において、原稿自動送り装置(ADF)の印刷原稿の裁置状態と、搬送部が有する給紙トレイの印刷用紙の残存状態と、モータの運転状態と、オプション機器の接続状態の検知に適用されているが、たとえば原稿台のカバーの開閉状態といった他の2値の状態の検知にも適用可能である。   Modification 1: In the above-described embodiment, in the image forming apparatus, the placed state of the printed document of the automatic document feeder (ADF), the remaining state of the printing paper in the paper feed tray of the transport unit, and the operating state of the motor Although it is applied to the detection of the connection state of the optional device, it can also be applied to detection of other binary states such as the open / close state of the document table cover.

変形例2:上記実施形態では、第1抵抗31、第2抵抗32、第3抵抗33及び第4抵抗34の抵抗値は、それぞれR、2R、4R及び8Rの比(抵抗値の比率が1:2:4:8)の抵抗値を有しているが、この比率に限られず、並列接続されている相互に抵抗値が相違する(同一の抵抗値が含まれない。)複数の抵抗器であればよい。なお、抵抗器の数は、3個以上であればよい。   Modification 2: In the above embodiment, the resistance values of the first resistor 31, the second resistor 32, the third resistor 33, and the fourth resistor 34 are ratios of R, 2R, 4R, and 8R, respectively (the ratio of the resistance values is 1). : 2: 4: 8), but is not limited to this ratio, and the resistance values are different from each other (not including the same resistance value) connected in parallel. If it is. Note that the number of resistors may be three or more.

変形例3:上記実施形態では、各機器は、それぞれ1個のスイッチを有しているが、2個以上を有していても良い。少なくとも1個以上の機器に対して、1つの状態に応じてそれぞれ開閉するN個(Nは3以上の整数)のスイッチを有していれば良い。   Modification 3: In the above embodiment, each device has one switch, but may have two or more. It is sufficient that at least one or more devices have N (N is an integer of 3 or more) switches that open and close according to one state.

変形例4:上記実施形態では、第2実施例は、第1実施例と組み合わせて構成されているが、第1実施例及び第2実施例は、それぞれ単独でも構成可能である。   Modified example 4: In the above embodiment, the second example is configured in combination with the first example, but the first example and the second example can be configured individually.

変形例5:本発明は、画像形成装置に適用されているが、画像形成装置に限られず、他の種類の機器にも適用可能である。   Modification 5: The present invention is applied to an image forming apparatus, but is not limited to an image forming apparatus, and can be applied to other types of devices.

1 画像形成装置
10 制御部
21 ADF
21L 発光ダイオード
22L 発光ダイオード
22 搬送部
23 モータ
24 オプション機器
30 状態検知回路
31 第1抵抗
32 第2抵抗
33 第3抵抗
34 第4抵抗
35 分圧抵抗
40 記憶部

DESCRIPTION OF SYMBOLS 1 Image forming apparatus 10 Control part 21 ADF
21L Light-emitting diode 22L Light-emitting diode 22 Transport unit 23 Motor 24 Optional device 30 State detection circuit 31 First resistor 32 Second resistor 33 Third resistor 34 Fourth resistor 35 Voltage dividing resistor 40 Storage unit

Claims (7)

機器の状態に応じて開閉するN個のスイッチの開閉状態を検知する状態検知回路であって、
並列接続されている相互に抵抗値が相違するN個の抵抗器を有する並列回路と、
前記N個の抵抗器の一端に直列に接続されている固定抵抗値を有する分圧回路と、
を備え、
前記N個の抵抗器の他端は、それぞれ前記N個のスイッチに直列に接続可能に構成され、
前記固定抵抗値は、前記N個の抵抗器のうち抵抗値が最も小さな抵抗器の抵抗値よりも前記N個の抵抗器のすべてが閉状態の前記並列回路の合成抵抗値に近い状態検知回路。
A state detection circuit that detects the open / closed state of N switches that open and close according to the state of the device,
A parallel circuit having N resistors which are connected in parallel and have different resistance values;
A voltage dividing circuit having a fixed resistance value connected in series to one end of the N resistors;
With
The other ends of the N resistors are configured to be connected in series to the N switches, respectively.
The fixed resistance value is closer to the combined resistance value of the parallel circuit in which all of the N resistors are closed than the resistance value of the resistor having the smallest resistance value among the N resistors. .
請求項1に記載の状態検知回路であって、
前記Nは、3以上の整数である状態検知回路。
The state detection circuit according to claim 1,
The state detection circuit in which N is an integer of 3 or more.
請求項1に記載の状態検知回路であって、
前記Nは、4であり、
前記4個の抵抗器は、比率が1:2:4:8の抵抗値を有し、
前記固定抵抗値は、前記抵抗値の比率が1の抵抗器の抵抗値の50%乃至75%である状態検知回路。
The state detection circuit according to claim 1,
N is 4;
The four resistors have a resistance ratio of 1: 2: 4: 8,
The state detection circuit in which the fixed resistance value is 50% to 75% of a resistance value of a resistor having a ratio of the resistance value of 1.
請求項1に記載の状態検知回路であって、
前記Nは、4であり、
前記4個の抵抗器は、比率が1:2:4:8の抵抗値を有し、
前記固定抵抗値は、前記抵抗値の比率が1の抵抗器の抵抗値の53%乃至57%である状態検知回路。
The state detection circuit according to claim 1,
N is 4;
The four resistors have a resistance ratio of 1: 2: 4: 8,
The state detection circuit in which the fixed resistance value is 53% to 57% of the resistance value of the resistor whose resistance value is 1.
請求項1に記載の状態検知回路であって、
前記Nは、3であり、
前記3個の抵抗器は、比率が1:2:4の抵抗値を有し、
前記固定抵抗値は、前記抵抗値の比率が1の抵抗器の抵抗値の50%乃至75%である状態検知回路。
The state detection circuit according to claim 1,
N is 3;
The three resistors have a resistance ratio of 1: 2: 4,
The state detection circuit in which the fixed resistance value is 50% to 75% of a resistance value of a resistor whose resistance value is 1.
請求項1に記載の状態検知回路であって、
前記Nは、3であり、
前記3個の抵抗器は、比率が1:2:4の抵抗値を有し、
前記固定抵抗値は、前記抵抗値の比率が1の抵抗器の抵抗値の57%乃至67%である状態検知回路。
The state detection circuit according to claim 1,
N is 3;
The three resistors have a resistance ratio of 1: 2: 4,
The state detection circuit in which the fixed resistance value is 57% to 67% of a resistance value of a resistor whose resistance value is 1.
画像形成装置であって、
請求項1乃至6のいずれか1項に記載の状態検知回路と、
前記状態検知回路で状態が検知される複数の状態を有する画像形成部と、
を備える画像形成装置。

An image forming apparatus,
The state detection circuit according to any one of claims 1 to 6,
An image forming unit having a plurality of states whose states are detected by the state detection circuit;
An image forming apparatus comprising:

JP2016150102A 2016-07-29 2016-07-29 State detection circuit and image forming apparatus Pending JP2018019337A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016150102A JP2018019337A (en) 2016-07-29 2016-07-29 State detection circuit and image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016150102A JP2018019337A (en) 2016-07-29 2016-07-29 State detection circuit and image forming apparatus

Publications (1)

Publication Number Publication Date
JP2018019337A true JP2018019337A (en) 2018-02-01

Family

ID=61076481

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016150102A Pending JP2018019337A (en) 2016-07-29 2016-07-29 State detection circuit and image forming apparatus

Country Status (1)

Country Link
JP (1) JP2018019337A (en)

Similar Documents

Publication Publication Date Title
EP3092575B1 (en) Methods and apparatus for setting the address of a module using a clock
US9326079B2 (en) Detection circuit
US20170300077A1 (en) Power management circuit and associated power management method
JP6551797B2 (en) Electronic device and image forming apparatus
US20200145017A1 (en) Integrated circuit and method for communicating data
US8754790B2 (en) Input device with ghost key suppression
JP2018019337A (en) State detection circuit and image forming apparatus
JP2006268306A (en) Semiconductor device and connection processing method therefor
WO2018096776A1 (en) Power source circuit
JP2008160798A (en) Variable resistor/capacitor rc oscillator
KR101773654B1 (en) Electronic device, and method for controlling power to control unit of electronic device
US8513979B2 (en) Integrated circuit and related controlling method
JP5193806B2 (en) Comparator circuit and electronic equipment
US11228313B2 (en) Signal transmission circuit
JP2010055472A (en) Serial bus system, hung slave specification method, and hung slave specification program
JP2006109013A (en) Comparator switching circuit
TWI454063B (en) Clamping circuit and common voltage generating circuit
JP2015204540A (en) A/d converter and photosensor using the same
JP2004120380A (en) Hysteresis characteristic setting arrangement
JP2007336744A (en) Power circuit and power supply unit
JP5005442B2 (en) Input device using rotary dip switch
JP2013190256A (en) Semiconductor integrated circuit and test mode setting method for the same
JP2009212930A (en) Input-level determination circuit
US6788133B2 (en) Reference voltage providing circuit
JP4481425B2 (en) Sequence device