JPH0490033A - Microcomputer circuit - Google Patents
Microcomputer circuitInfo
- Publication number
- JPH0490033A JPH0490033A JP2206176A JP20617690A JPH0490033A JP H0490033 A JPH0490033 A JP H0490033A JP 2206176 A JP2206176 A JP 2206176A JP 20617690 A JP20617690 A JP 20617690A JP H0490033 A JPH0490033 A JP H0490033A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- timer
- reset
- microcomputer
- watchdog timer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000004044 response Effects 0.000 claims description 10
- 238000001514 detection method Methods 0.000 claims description 9
- 210000000078 claw Anatomy 0.000 description 8
- 230000009977 dual effect Effects 0.000 description 8
- 239000011521 glass Substances 0.000 description 8
- 238000000034 method Methods 0.000 description 8
- 230000003287 optical effect Effects 0.000 description 7
- 238000000926 separation method Methods 0.000 description 7
- 238000012544 monitoring process Methods 0.000 description 6
- 238000012546 transfer Methods 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 108091008695 photoreceptors Proteins 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 229920002799 BoPET Polymers 0.000 description 2
- 239000005041 Mylar™ Substances 0.000 description 2
- 238000004140 cleaning Methods 0.000 description 2
- 239000013256 coordination polymer Substances 0.000 description 2
- 230000003111 delayed effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000006386 neutralization reaction Methods 0.000 description 2
- 101150082901 ADF3 gene Proteins 0.000 description 1
- 101100328887 Caenorhabditis elegans col-34 gene Proteins 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000001816 cooling Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Control Or Security For Electrophotography (AREA)
- Retry When Errors Occur (AREA)
- Hardware Redundancy (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、マスクマイクロコンピュータとスレブマイク
ロコンピュータでなるコンピュータ回路に関し、特に、
該回路におけるマイクロコンピュータの暴走検出に関す
る。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a computer circuit consisting of a mask microcomputer and a slave microcomputer, and in particular,
This invention relates to detection of microcomputer runaway in the circuit.
この種の回路の従来の一例を第7図に示す。この回路で
は、マスクマイクロコンピュータ1とスレーブマイクロ
コンピュータ2にデュアルポートRAM3が接続されて
いる。以下、マイクロコンピュータをCPUと称す。c
puiはCPU2に与えるデータ又は信号をRAM3に
書き込み、CPU2がこのデータ又は信号をRAM3よ
り読み出すことにより、CPUIから2へのデータ又は
信号の転送が行われる。また、その逆に、CPU2はC
PUIに与えるデータ又は信号をRAM3に書込み、C
PUIがこのデータ又は信号をRAM3より読み出すこ
とにより、CPU2から1へのデータ又は信号の転送が
行われる。A conventional example of this type of circuit is shown in FIG. In this circuit, a dual port RAM 3 is connected to a mask microcomputer 1 and a slave microcomputer 2. Hereinafter, the microcomputer will be referred to as a CPU. c.
The pui writes data or signals given to the CPU 2 into the RAM 3, and the CPU 2 reads the data or signals from the RAM 3, thereby transferring data or signals from the CPU 2 to the CPU 2. Also, conversely, CPU2
Write the data or signal given to PUI to RAM3, and
When the PUI reads this data or signal from the RAM 3, the data or signal is transferred from the CPU 2 to the CPU 1.
すなわち、CPUI/CPUZ間の通信は、RAM3を
介して行われる。That is, communication between CPUI and CPUZ is performed via RAM3.
CPU1および2の暴走検出のためにウォッチドッグタ
イマ4がある。CPUIと2の、ウォッチドッグタイマ
4をリセット(再スタート=再トリガ)するためのリセ
ット信号は判定回路5に与えられる。判定回路5は、C
PTJIおよび2からのリセット信号がそれぞれ所定時
間間隔内で到来している間は、ウォッチドッグタイマ4
に、その時限Tよりも短い間隔でリセット信号を与える
ので、ウォッチドッグタイマ4はタイムオーバ(時限T
の計時完了)をしない。CP U 1又は2がリセット
信号を発生しなくなると、又はリセット信号周期が所定
時間間隔よりも長くなると、判定回路5がウォッチドッ
グタイマ4にリセット信号を与えず、又は与えるのが遅
れて、ウォッチドッグタイマ4がタイムオーバしてコン
ピュータリセット信号を発生しこれをCPUIおよび2
のリセット入力端R3Tに与える。CPUIおよび2は
このリセット信号を受けると、電源投入直後の初期状態
と同様な状態に復帰し、そこからプログラムの再実行を
開始する。A watchdog timer 4 is provided to detect runaway of the CPUs 1 and 2. A reset signal of the CPU I2 for resetting (restarting = retriggering) the watchdog timer 4 is given to the determination circuit 5. The determination circuit 5
While the reset signals from PTJI and PTJ2 arrive within a predetermined time interval, the watchdog timer 4
The watchdog timer 4 is given a reset signal at an interval shorter than the time limit T, so the watchdog timer 4 times out (time limit T).
timing completion). When the CPU 1 or 2 no longer generates a reset signal, or when the reset signal period becomes longer than a predetermined time interval, the determination circuit 5 does not give a reset signal to the watchdog timer 4, or it is delayed, and the watchdog timer 4 Dog timer 4 times out and generates a computer reset signal, which is sent to CPUI and 2.
is applied to the reset input terminal R3T. When the CPUs 1 and 2 receive this reset signal, they return to a state similar to the initial state immediately after the power is turned on, and start re-executing the program from there.
従来回路のもう一つを第8図に示す。これにおいては、
CPUIにはウォッチドッグタイマ41が、またCPU
2にはウォッチドッグタイマ42が接続されており、C
PUIおよびCPU2はそれぞれ、タイマ4.および4
□に、それらの時限T1およびT2よりも短い時間間隔
でリセット信号を与える。CPUIがリセット信号を発
生しなくなると、あるいはリセット信号の間隔がタイマ
時限T1よりも長くなると、タイマ4.がタイムオバし
て、ノアゲート6を介してコンピュータリセット信号を
発生しこれをCPUIおよび2のυセット入力端R3T
に与える。CPU2がリセット信号を発生しなくなると
、あるいはリセット信号の間隔がタイマ時限T2よりも
長くなるとタイマ42がタイムオーバし、ノアゲート6
を介してコンピュータリセット信号を発生しこれをCP
UIおよび2のリセット入力端R3Tに与える。Another conventional circuit is shown in FIG. In this,
The CPU has a watchdog timer 41, and the CPU also has a watchdog timer 41.
A watchdog timer 42 is connected to C2.
PUI and CPU2 each run timer 4. and 4
A reset signal is given to □ at a time interval shorter than their time limits T1 and T2. When the CPUI no longer generates a reset signal, or when the interval between reset signals becomes longer than timer period T1, timer 4. When the time is over, a computer reset signal is generated through the NOR gate 6 and sent to the CPUI and the υ set input terminal R3T of 2.
give to When the CPU 2 no longer generates a reset signal, or when the interval between reset signals becomes longer than the timer time limit T2, the timer 42 times out, and the NOR gate 6
Generates a computer reset signal via the CP
It is applied to the reset input terminal R3T of UI and 2.
上述の従来例2例のいずれにおいても、CPU1又は2
が暴走によりタイマリセット信号を発生しなくなると、
又はリセット信号の発生が遅れると、CPUIおよび2
の両者が共にリセットされる。In both of the above two conventional examples, CPU 1 or 2
When the timer reset signal is no longer generated due to runaway,
Or, if the generation of the reset signal is delayed, the CPUI and 2
Both are reset together.
第7図に示す例では、コンピュータの暴走検出のために
コンピュータ以外に判定回路5およびウォッチドッグタ
イマ4が必要であり、第8図に示す例では2個のウォッ
チドッグタイマ41,4□とノアゲート6が必要である
。また、各マイクロコンピュータにはタイマリセット信
号を出力するための入出力ボートがそれぞれ必要である
。In the example shown in FIG. 7, a determination circuit 5 and a watchdog timer 4 are required in addition to the computer to detect a computer runaway, and in the example shown in FIG. 6 is required. Furthermore, each microcomputer requires an input/output port for outputting a timer reset signal.
これらの、暴走検出用の付加回路を省略するため、特開
昭62−91966号公報に開示の複写機の制御装置で
は、マスタCPUからスレーブCPUにある指令信号を
送信し、スレーブCPUがこの信号に対する応答信号を
返送し、マスクCPUが、この応答信号があることをも
ってスレーブCPUが正常動作であると判定し、指令信
号に対する応答信号がないとスレーブCPUが異常であ
ると判定する。In order to omit these additional circuits for detecting runaway, the copying machine control device disclosed in Japanese Patent Laid-Open No. 62-91966 transmits a certain command signal from the master CPU to the slave CPU, and the slave CPU receives this signal. The mask CPU determines that the slave CPU is operating normally if there is this response signal, and determines that the slave CPU is abnormal if there is no response signal to the command signal.
特開昭63−253964号公報に開示の複写制御装置
では、マスタCPUとスレーブCPUの一方が他方の通
信回数をカウントし、カウント値は所定タイミングでリ
セットし、カウント値が設定値を越えると該他方が異常
であると判定する。In the copy control device disclosed in Japanese Patent Application Laid-Open No. 63-253964, one of the master CPU and slave CPU counts the number of communications between the other CPU, the count value is reset at a predetermined timing, and when the count value exceeds the set value, the corresponding The other is determined to be abnormal.
第7図および第8図に示す前述の従来例では、判定回路
5を付加するとか、CPUI、2のそれぞれに1個のウ
ォッチドッグタイマ41,4□を接続するとか、あるい
はタイマリセット信号を出力するための入出力ボートを
接続するとか、回路素子数が増加する。特に、入出力ボ
ートにタイマリセット信号以外の例えば機械内の状態検
出センサ類や各種負荷等が接続されている場合には、該
入出力ボートにタイマリセット信号を兼用して接続すれ
ばよいが、タイマリセット信号以外に入出力ボートを必
要としないマイクロコンピュータが含まれている場合に
、タイマリセット信号専用の入出力ボートを設けること
はむだとなる。In the above-mentioned conventional examples shown in FIGS. 7 and 8, the judgment circuit 5 is added, one watchdog timer 41, 4□ is connected to each of the CPUIs 2, or a timer reset signal is output. Connecting input/output ports for this purpose increases the number of circuit elements. In particular, if the input/output boat is connected to other devices other than the timer reset signal, such as state detection sensors inside the machine or various loads, the input/output boat may also be connected to the timer reset signal. If a microcomputer is included that does not require an input/output port other than the timer reset signal, it would be wasteful to provide an input/output port exclusively for the timer reset signal.
前記特開昭62−91966号公報に開示のコンピュー
タ回路では、これらの回路素子が省略となるが、マスタ
CPUの暴走は検知できない。これを行おうとすれば、
スレーブCPUもマスタCPUにある指令信号を送信し
、マスタCPUがこの信号に対する応答信号を返送し、
スレーブCPUが、この応答信号があることをもってマ
スタCPUが正常動作であると判定し、指令信号に対す
る応答信号がないとマスタCPUが異常であると判定す
るようにすればよいが、マスタCPUおよびスレーブC
PU共に、相手方の暴走監視のための動作が複雑になる
。しかも、両者が共に暴走した場合には、暴走保護が不
能となる。Although these circuit elements are omitted in the computer circuit disclosed in Japanese Unexamined Patent Publication No. 62-91966, runaway of the master CPU cannot be detected. If you try to do this,
The slave CPU also sends a command signal to the master CPU, and the master CPU returns a response signal to this signal.
The slave CPU may determine that the master CPU is operating normally when there is this response signal, and determine that the master CPU is abnormal when there is no response signal to the command signal. C
For both PUs, the operation for monitoring runaway behavior of the other party becomes complicated. Furthermore, if both of them run out of control, runaway protection becomes impossible.
前記特開昭63−253964号公報に開示のコンピュ
ータ回路でも、前記特開昭62−91966号公報に開
示のものと同様な問題が考えられる。The computer circuit disclosed in Japanese Patent Application Laid-open No. 63-253964 may also have the same problems as the computer circuit disclosed in Japanese Patent Application Laid-Open No. 62-91966.
本発明は、比較的に簡単な回路要素の付加とCPUの監
視動作により、マスタCPUおよびスレーブCPUの一
方および両方の暴走の検知および暴走保護を行うことを
目的とする。An object of the present invention is to detect runaway of one or both of the master CPU and slave CPU and to protect the CPU from runaway by adding relatively simple circuit elements and monitoring the CPU.
本発明のマイクロコンピュータ回路は、時限開始より所
定時限T内に再スタート信号(タイマリセット信号)を
受けると時限動作を新たに開始し再スタート信号(タイ
マリセット信号)を受けないと該所定時限Tでタイムオ
ーバし、タイムオーバしたとき後記筒1および第2マイ
クロコンピュータ(1,2)をリセットするリセット信
号(コンピュータリセット信号)を与えるウォッチドッ
グタイマ(4):定常動作中に後記第2マイクロコンピ
ュータ(2)に前記所定時限T以内の時間間隔で再スタ
ート信号を与え、前記リセット信号(コンピュータリセ
ット信号)に応答して自身をリセットする第1マイクロ
コンピュータ(1);被制御機構(30)のセンサ(1
0)の検出信号を入力し該機構(30)のアクチュエー
タ(11)に対して制御信号を出力すると共に、前記ウ
ォッチドッグタイマ(4)に再スタート信号(タイマリ
セット信号)を与えるための信号入出力手段(9);お
よび、定常動作中に前記信号入出力手段(9)を介して
センサ(10)の検出信号を読込みアクチュエータ(1
1)に制御信号を出力しかつ前記再スタート指示信号を
受けると前記信号入出力手段(9)を介して再スタート
信号(タイマリセット信号)を前記ウォッチドッグタイ
マ(4)に出力し、前記リセット信号(コンピュータリ
セット信号)に応答して自身をリセットする第2マイク
ロコンピュータ(2) ; ヲ備える。If the microcomputer circuit of the present invention receives a restart signal (timer reset signal) within a predetermined time period T from the start of the time limit, it will start a new timed operation, and if it does not receive a restart signal (timer reset signal), the predetermined time limit T A watchdog timer (4) that gives a reset signal (computer reset signal) to reset the tube 1 and the second microcomputer (1, 2) described later when the time expires: During normal operation, the second microcomputer described later (2) a first microcomputer (1) that gives a restart signal at time intervals within the predetermined time limit T and resets itself in response to the reset signal (computer reset signal); a controlled mechanism (30); Sensor (1
0) and outputs a control signal to the actuator (11) of the mechanism (30), as well as a signal input for giving a restart signal (timer reset signal) to the watchdog timer (4). output means (9); and, during steady operation, reads the detection signal of the sensor (10) through the signal input/output means (9) and outputs the detection signal to the actuator (1).
1), and upon receiving the restart instruction signal, outputs a restart signal (timer reset signal) to the watchdog timer (4) via the signal input/output means (9), and then resets the watchdog timer (4). A second microcomputer (2) that resets itself in response to a signal (computer reset signal) is provided.
なお、カッコ内の記号は、図面に示し後述する実施例の
対応要素を示す。Note that symbols in parentheses indicate corresponding elements in the embodiments shown in the drawings and described later.
第1マイクロコンピュータ(1)および第2マイクロコ
ンピュータ(2)ともに正常動作中には、第1マイクロ
コンピュータ(1)が、第2マイクロコンピュータ(2
)に、所定時限T以内の時間間隔で再スタート指示信号
を与え、第2マイクロコンピュータ(2)が、この再ス
タート指示信号に応答してウォッチドッグタイマ(4)
に再スタート信号(タイマリセット信号)を与えるので
、ウォッチドッグタイマ(4)はタイムオーバせずリセ
ット信号(コンピュータリセット信号)を第1および第
2マイクロコンピュータ(1,2)に与えることはない
。During normal operation of both the first microcomputer (1) and the second microcomputer (2), the first microcomputer (1)
) is given a restart instruction signal at time intervals within a predetermined time limit T, and the second microcomputer (2) responds to the restart instruction signal by starting the watchdog timer (4).
Since a restart signal (timer reset signal) is given to the watchdog timer (4), the watchdog timer (4) does not time out and does not give a reset signal (computer reset signal) to the first and second microcomputers (1, 2).
仮に第1マイクロコンピュータ(1)が暴走しこれによ
り再スタート指示信号が第2マイクロコンピュータ(2
)に与えられなくなると、第2マイクロコンピュータ(
2)が再スタート信号(タイマリセット信号)をウォッ
チドッグタイマ(4)に与えず、これによりウォッチド
ッグタイマ(4)がタイムオバしてリセット信号(コン
ピュータリセット信号)を発生する。このリセット信号
(コンピュータリセット信号)が第1および第2マイク
ロコンピュータ(1,2)に与えられてそれらのコンピ
ュータはリセットを行う。Suppose that the first microcomputer (1) goes out of control and the restart instruction signal is sent to the second microcomputer (2).
), the second microcomputer (
2) does not give a restart signal (timer reset signal) to the watchdog timer (4), which causes the watchdog timer (4) to time out and generate a reset signal (computer reset signal). This reset signal (computer reset signal) is given to the first and second microcomputers (1, 2) to reset them.
仮に第2マイクロコンピュータ(2)が暴走すると、第
1マイクロコンピュータ(1)が再スタート指示信号を
与えても第2マイクロコンピュータ(2)が再スタート
信号(タイマリセット信号)をウォッチドッグタイマ(
4)に与えず、これによりウォッチドッグタイマ(4)
がタイムオーバしてリセット信号(コンピュータリセッ
ト信号)を発生する。このリセット信号(コンピュータ
リセット信号)が第1および第2マイクロコンピュータ
(L 2)に与えられてそれらのコンピュータはリセッ
トを行う。If the second microcomputer (2) goes out of control, even if the first microcomputer (1) gives a restart instruction signal, the second microcomputer (2) will send the restart signal (timer reset signal) to the watchdog timer (
4), this allows the watchdog timer (4)
times out and generates a reset signal (computer reset signal). This reset signal (computer reset signal) is applied to the first and second microcomputers (L2) to reset them.
第1および第2マイクロコンピュータ(1,2)の両者
が暴走したときには、第1マイクロコンピユタ(1)が
再スタート指示信号を発せず、しかも第2マイクロコン
ピュータ(2)が再スタート信号(タイマリセット信号
)を発しないので、ウォッチドッグタイマ(4)がタイ
ムオーバしてリセット信号(コンピュータリセット信号
)を発生する。このリセット信号(コンピュータリセッ
ト信号)が第1および第2マイクロコンピュータ(L
2)に与えられてそれらのコンピュータはリセットを行
う。When both the first and second microcomputers (1, 2) run out of control, the first microcomputer (1) does not issue a restart instruction signal, and the second microcomputer (2) does not issue a restart signal (timer). Since the watchdog timer (4) times out and generates a reset signal (computer reset signal). This reset signal (computer reset signal) is transmitted to the first and second microcomputers (L
2) and those computers perform a reset.
また、第2マイクロコンピュータ(2)が発スル再スタ
ート信号(タイマリセット信号)は、第1および第2マ
イクロコンピュータ(L 2)によって制御される機構
(30)のセンサ(10)の検出信号を入力し、該機構
(30)のアクチュエータ(11)に対して制御信号を
出力する、すなわち既存の信号入出力手段(9)を介し
て出力されるので、特に再スタート信号(タイマリセッ
ト信号)の出力専用の信号入出力手段を新たに設ける必
要はない。Further, the restart signal (timer reset signal) issued by the second microcomputer (2) is the detection signal of the sensor (10) of the mechanism (30) controlled by the first and second microcomputers (L2). input and output a control signal to the actuator (11) of the mechanism (30), that is, it is output via the existing signal input/output means (9), so especially the restart signal (timer reset signal) There is no need to newly provide signal input/output means exclusively for output.
このように本発明によれば、1個のウォッチドッグタイ
マ(4)と、第1および第2マイクロコンピュータ(1
,2)の比較的に簡単な監視動作により、第1および第
2マイクロコンピュータ(1,2)のそれぞれの暴走お
よび両者同時の暴走のいずれも検知され、この暴走に対
応して第1および第2マイクロコンピュータ(1,2)
が共にリセットされる。As described above, according to the present invention, one watchdog timer (4) and the first and second microcomputers (1
, 2), both the runaway of the first and second microcomputers (1, 2) and the simultaneous runaway of both are detected, and in response to this runaway, the first and second microcomputers (1, 2) are 2 microcomputers (1, 2)
are reset together.
本発明の他の目的および特徴は、図面を参照した以下の
実施例の説明より明らかになろう。Other objects and features of the present invention will become apparent from the following description of embodiments with reference to the drawings.
第3図に、本発明の一実施例を組み込んだ複写機の構成
を示す。この複写機は、自動原稿送り装置(以下ADF
という)20.複写機本体30゜補助給紙ユニット40
およびフィニッシャ50よすなる。FIG. 3 shows the configuration of a copying machine incorporating an embodiment of the present invention. This copying machine is equipped with an automatic document feeder (hereinafter referred to as ADF).
20. Copy machine main body 30° Auxiliary paper feed unit 40
and finisher 50 Yosunaru.
ADF20は、複写機本体30に開閉自在に備えられて
おり、給送ローラ151.ベルト+52および排出ロー
ラ153等により、原稿テーブル+60上に載置された
原稿の給排を行う。すなわち、複写機本体30の光学走
査開始前に原稿テーブル160上に載置された原稿の最
上位の1枚を抽出して複写機本体30のコンタクトガラ
スIll上にセントし、光学走査終了後にその原稿を上
部の排紙テーブル上に排出する。The ADF 20 is provided in the copying machine main body 30 so as to be openable and closable, and is connected to the feeding roller 151. The original placed on the original table +60 is fed and ejected using the belt +52, the ejection roller 153, and the like. That is, before the optical scanning of the copying machine main body 30 starts, the uppermost one of the originals placed on the original table 160 is extracted and placed on the contact glass Ill of the copying machine main body 30, and after the optical scanning is finished, Eject the original onto the upper paper ejection table.
複写機本体30は、光学系1101作像系120.給紙
系130、および、再給紙系140等でなる。The copying machine main body 30 includes an optical system 1101, an image forming system 120. It consists of a paper feed system 130, a paper refeed system 140, and the like.
光学系110は、コンタクトガラス111およびその下
方に配置された露光ランプ112.第1ミラーH3a、
第2ミラー++3b、第3ミラー113c、第4ミラー
1]3d、第5ミラー113e、第6ミラ113 f
、集光レンズ114ならびに防塵ガラス115等でなり
、作像系+20は感光体ドラム121およびその周囲の
配設された帯電チャージャ122.イレーザ123、現
像器124.転写前チャージャ1269分離チャージャ
1279分離爪128.クリーニング前除電チャージャ
(以下PCCという)129ならびにクリーナ12八、
および、感光体ドラム12+の下流に配置された搬送ベ
ルト12Bならびに定着器+2C等でなる。The optical system 110 includes a contact glass 111 and an exposure lamp 112 arranged below the contact glass 111. first mirror H3a,
Second mirror ++3b, third mirror 113c, fourth mirror 1]3d, fifth mirror 113e, sixth mirror 113f
, a condensing lens 114, a dust-proof glass 115, etc., and the image forming system +20 includes a photosensitive drum 121 and a charger 122 disposed around the photosensitive drum 121. Eraser 123, developer 124. Pre-transfer charger 1269 Separation charger 1279 Separation claw 128. Pre-cleaning static neutralization charger (hereinafter referred to as PCC) 129 and cleaner 128,
It also includes a conveyor belt 12B, a fixing device +2C, etc. arranged downstream of the photoreceptor drum 12+.
給紙系130は、手差給紙テーブル+31 a 、給紙
力セント131 b 、 131 c等を備えている。The paper feed system 130 includes a manual paper feed table +31a, paper feed power centers 131b, 131c, and the like.
また、実施例の複写機のように補助給紙ユニット40が
結合されている場合にはそれを編合する。つまり、給紙
系130は、手差給紙テーブル!3]a、給紙カセット
131b、 +31eおよび補助給紙ユニット40に備
わる記録紙トレーH1d 、 13] eのうち、オペ
ークにより選択されたものが擁する記録紙を1枚抽出す
る。また記録紙トレー+31d、+31eおよび給紙力
セント131 b 、 13] c (ただし手差給紙
テーブル131aは給紙カセット131bと共用してい
る)には、呼出しコロ132a、!32b、132c、
H2d、給紙コロ133a、 133b、 133c、
133d、および逆転:Io 134 a 、 13
4 b 、 134 c 、 134 d、ならびにレ
ジストローラ135.ガイドマイラ136.各種ガイド
および中間ローラ等が備わっている。Further, when the auxiliary sheet feeding unit 40 is combined as in the copying machine of the embodiment, it is knitted together. In other words, the paper feed system 130 is a manual paper feed table! 3]a, one sheet of recording paper held by the one selected by the opaque among the recording paper trays H1d and 13]e provided in the paper feed cassettes 131b and 31e and the auxiliary paper feed unit 40 is extracted. In addition, the recording paper trays +31d, +31e and paper feeding power centers 131b, 13]c (however, the manual paper feeding table 131a is shared with the paper feeding cassette 131b) have calling rollers 132a, ! 32b, 132c,
H2d, paper feed rollers 133a, 133b, 133c,
133d, and reversed: Io 134a, 13
4b, 134c, 134d, and registration rollers 135. Guide mylar 136. Equipped with various guides and intermediate rollers.
再給紙系140は、切換爪+41.接離ローラ142゜
反転ガイ11439反転ローラ144.ゲート爪145
゜中間トレー146.先端寄せコロ147.ペーパスト
ツバ148. 呼出しコロ149.給紙コロ14A、
逆転コロ14Bおよび排紙コロ14c等でなる。The paper refeed system 140 has a switching claw +41. Approaching/separating roller 142° Reversing guy 11439 Reversing roller 144. Gate claw 145
゜Intermediate tray 146. Tip roller 147. Paper stopper 148. Call Koro 149. Paper feed roller 14A,
It consists of a reversing roller 14B, a paper discharge roller 14c, and the like.
フィニッシャ50は、ローラおよび紙ガイドならびに多
数のビンを備え、複写機本体30から排出された記録紙
のソーティングあるいはスクッキングを行う。The finisher 50 includes rollers, paper guides, and a large number of bins, and performs sorting or scooking of recording paper discharged from the copying machine main body 30.
以下、簡単に複写動作を説明する。The copying operation will be briefly explained below.
ADF20により原稿がコンタクトガラス111上にセ
ットされスタート指示があると、給紙クラッチがオンと
なってそのとき選択している給紙台の呼出しコロが記録
紙を給紙コロに送り出す。給紙コロはその逆方向に回転
するので、重送が防止されて最上の1枚の記録紙のみが
レジストローラ135に向けて送られる。When a document is set on the contact glass 111 by the ADF 20 and a start instruction is given, the paper feed clutch is turned on and the call roller of the paper feed tray selected at that time feeds the recording paper to the paper feed roller. Since the paper feed rollers rotate in the opposite direction, double feeding is prevented and only the topmost sheet of recording paper is sent toward the registration rollers 135.
この間、光学系110はコンタクトガラス111上の原
稿を走査し、露光ランプ112により照明した原稿の反
射光を第1ミラー113a、第2ミラー++3 b 。During this time, the optical system 110 scans the document on the contact glass 111, and reflects light from the document illuminated by the exposure lamp 112 to the first mirror 113a and the second mirror ++3b.
第3ミラー]13c、集光レンズ114.第4ミラ11
3d、第5ミラー113 e 、第6ミラー+13 f
および防腰ガラス115を介して感光体ドラム121の
感光面に導く。Third mirror] 13c, condenser lens 114. 4th Mira 11
3d, fifth mirror 113e, sixth mirror +13f
The light is guided to the photosensitive surface of the photosensitive drum 121 via the anti-luminosity glass 115.
感光体ドラム121は、図示時計方向に回転しており、
その感光面は、光学系110より原稿反射光の反射を受
ける前に、帯電チャージャ122により一様に帯電され
、イレーザ123による除電で潜像領域が形成されてい
る。したがって、この潜像領域に原稿の反射光が照射さ
れるとその強弱に応じて光電溝を生じ、静電潜像が形成
される。The photosensitive drum 121 is rotating clockwise in the drawing.
The photosensitive surface is uniformly charged by a charger 122 before receiving the reflected light of the original from the optical system 110, and a latent image area is formed by neutralization by an eraser 123. Therefore, when this latent image area is irradiated with light reflected from the original, photoelectric grooves are generated depending on the intensity of the light, and an electrostatic latent image is formed.
この静電潜像は現像器+24により現像され、原稿の濃
度に応じてトナーが付着したトナー像となる。このトナ
ー像は、レジストローラ135から繰り出される記録紙
に転写されるが、転写を容易にするため、P T L
125により転写前の除電がなされる。This electrostatic latent image is developed by a developing device +24, and becomes a toner image with toner attached thereto according to the density of the document. This toner image is transferred to the recording paper fed out from the registration roller 135, but in order to facilitate the transfer, PTL
125, electricity is removed before transfer.
レジストローラ135が繰り出した記録紙は、ガイドマ
イラ136により感光体ドラム12]の感光面に密着さ
れ、転写チャージャ126の直上でトナー像が転写され
る。この直後、記録紙は分離チャージャ127により感
光面から分離されるが、このとき分離が不充分であると
、分離爪12gにより強制的に分離される。The recording paper fed out by the registration roller 135 is brought into close contact with the photosensitive surface of the photosensitive drum 12 by a guide Mylar 136, and the toner image is transferred directly above the transfer charger 126. Immediately after this, the recording paper is separated from the photosensitive surface by the separation charger 127, but if the separation is insufficient at this time, it is forcibly separated by the separation claw 12g.
記録紙の分離後、感光体ドラム121の感光面はクリー
ナ12Aにおいて残存トナーが除去され、記録紙は搬送
ベルト12Bにより定着器12Cに送られる。After the recording paper is separated, residual toner is removed from the photosensitive surface of the photosensitive drum 121 by a cleaner 12A, and the recording paper is sent to a fixing device 12C by a conveyor belt 12B.
定着器12Cは、定着ローラ12Caおよび加圧ローラ
12Cbを備え、トナー像が転写された記録紙を圧力を
加えながら加熱しく約185℃)、トナー像を定着させ
る。The fixing device 12C includes a fixing roller 12Ca and a pressure roller 12Cb, and heats the recording paper onto which the toner image has been transferred while applying pressure (approximately 185° C.) to fix the toner image.
トナー像が定着された記録紙は、再給紙系140に渡さ
れる。再給紙系140は、両面モードの第1面のコピー
以外では、切換爪141の作用によりその記録紙を排紙
コロ14Cに導びくが、両面モードの第1面のコピーで
は反転ガイド143に導く。The recording paper on which the toner image has been fixed is delivered to a paper refeed system 140. The paper refeeding system 140 guides the recording paper to the paper ejection roller 14C by the action of the switching claw 141 when copying the first side in duplex mode, but guides the recording paper to the reversing guide 143 when copying the first side in duplex mode. lead.
この後、記録紙の後端が切換爪141を通過すると、切
換爪141が切換わり、接離ローラ142が接となって
記録紙を反転ローラ144に送り、反転ローラ144は
ゲート爪145に送る。After that, when the trailing edge of the recording paper passes through the switching pawl 141, the switching pawl 141 is switched, the contact/separation roller 142 is brought into contact, and the recording paper is sent to the reversing roller 144, which in turn sends it to the gate pawl 145. .
ゲート爪145は4つあり、記録紙サイズに応じたゲー
ト爪が開くことにより、記録紙は中間トレー146に放
出される。中間トレー146に落ちた記録紙は、先端寄
せコロ147によりベーパストッパ148に当接するま
で寄せられてその先端が揃えられ、ストックされる。There are four gate claws 145, and when the gate claws corresponding to the size of the recording paper are opened, the recording paper is discharged into the intermediate tray 146. The recording sheets that have fallen onto the intermediate tray 146 are brought together by a leading edge shifting roller 147 until they come into contact with a vapor stopper 148, and their leading edges are aligned and stocked.
中間トレイ146にストックされた記録紙は、両面モー
ドの第2面のコピースタート時に、呼出しコロ149に
より給紙コロ14Aと逆転コロ14Bとによりその最上
の1枚がレジストローラ135に送られる。When copying the second side of the recording paper stocked in the intermediate tray 146 is started in the duplex mode, the uppermost one of the recording papers is sent to the registration rollers 135 by the paper feed roller 14A and the reversing roller 14B by the calling roller 149.
なお、各部コピーに表および裏表紙を添付する表紙作成
モードおよび表のみの表紙を添付する表のみ表紙作成モ
ードにおいては、表紙作成時に複写機本体30から白紙
の記録紙がフィニッシャ50に渡される。Note that in the cover creation mode in which front and back covers are attached to each copy and in the front-only cover creation mode in which only the front cover is attached, blank recording paper is passed from the copying machine main body 30 to the finisher 50 at the time of cover creation.
フィニッシャ50においては、ソートモードが選択され
ているときには排紙コロ14eから送られた記録紙を線
毎に仕分けし、スタックモードが選択されているときに
は、それを頁毎に仕分けする。In the finisher 50, the recording sheets sent from the paper discharge roller 14e are sorted line by line when the sort mode is selected, and are sorted page by page when the stack mode is selected.
なお、現像器124のトナー濃度検出を行うときには、
原稿のトナー像の形成に先立って、コンタクトガラスI
I+の先方にある標準パターンのトナ像を形成し、その
濃度を現像器124の下流に備わるPセンサPSHによ
り読み取る。Note that when detecting the toner concentration of the developing device 124,
Prior to forming a toner image of the original, the contact glass I
A toner image of a standard pattern is formed ahead of I+, and its density is read by a P sensor PSH provided downstream of the developing device 124.
第4図は、この複写機に備わる操作&表示ボード60の
外観を示す。コピー枚数セットのためのテン(10)キ
ー61.同じくクリアキー62.コピースタート用のス
タートキー63.各種モードをイニシャルにするモード
クリアキー64.特殊モードで数値入力時に認識のため
に押下するエンターキー659割込みモードの設定、解
除を行うための割込みキー66、その他各種モード(用
紙選択、変倍、画像濃度等)を選択するモード選択キー
群67を有している。FIG. 4 shows the appearance of an operation and display board 60 provided in this copying machine. Numeric (10) key 61 for setting the number of copies. Also clear key 62. Start key 63 for copy start. Mode clear key 64 to initialize various modes. Enter key 659 to be pressed for recognition when inputting numerical values in special mode, interrupt key 66 to set and cancel interrupt mode, and mode selection keys to select various other modes (paper selection, scaling, image density, etc.) 67.
また、表示部68は液晶(LCD)で構成され、コピー
枚数等のモードの状態を表示する固定バタン(表示)部
69と文字表示が可能なキャラクタ(ドツト)表示部7
0とを有し又いる。The display section 68 is composed of a liquid crystal display (LCD), and includes a fixed button (display) section 69 that displays the mode status such as the number of copies, and a character (dot) display section 7 that can display text.
0 and 0.
第1図に、第3図の複写機の電気回路構成の概略を示す
。この電気回路において、制御回路は2つのマイクロコ
ンピュータ、すなわちマスタCPUIおよびスレーブC
PU2を中心として構成されている。マスタCPUIは
、操作パネルを通じたマン/マシン インターフェイス
や複写モードの管理、複写シーケンスの設定等、複写機
のシステムコントロールを行うものであり、スレプCP
U2は、マスクCPUIから指示されたシケンスの実行
、複写プロセスの制御といった、いわゆるメカニズムコ
ントロールを実行するものである。FIG. 1 shows an outline of the electric circuit configuration of the copying machine shown in FIG. 3. In this electrical circuit, the control circuit consists of two microcomputers, namely master CPUI and slave CPU
It is composed mainly of PU2. The master CPU performs system control of the copier, such as man/machine interface, copy mode management, and copy sequence settings through the operation panel.
U2 executes so-called mechanism control, such as executing sequences instructed by the mask CPUI and controlling the copying process.
マスタCPUIとスレーブCPU2は、通信手段として
デュアルポートRAM3を介して接続されている。マス
クCPUIがスレーブCPU2にデータ又は信号を与え
るときにはそれをRAM3に書込み、スレーブCPU2
がRAM3よりそれを読み取る。スレーブCPU2がマ
スタCPUIにデータ又は信号を与えるときにはそれを
RAM3に書込み、マスクCPUIがそれを読み取る。The master CPUI and slave CPU2 are connected via a dual port RAM3 as a communication means. When the mask CPUI gives data or a signal to the slave CPU2, it writes it to the RAM3 and sends it to the slave CPU2.
reads it from RAM3. When the slave CPU 2 gives data or signals to the master CPUI, it writes it to the RAM 3, and the mask CPUI reads it.
マスタCPUIおよびスレーブCPU2には、読み出し
専用メモリROM、読み書きメモリRAMおよびタイマ
が備わっている。The master CPUI and slave CPU 2 are equipped with a read-only memory ROM, a read/write memory RAM, and a timer.
マスクCP U 1には、シリアル110ボートを介し
て操作&表示ボード60およびADF20.補助給紙ユ
ニット40.フィニッシャ50等の外部装置が接続され
ている。操作&表示ボード60は、キー人力を制御部6
8bに取り込み、シリアル110ボートを介してマスタ
CPUIに信号を転送し、またマスタCPUIからの制
御信号はシリアル11ボートを介して制御部68bに転
送され、さらにLCDドライバ68aを介して表示部6
0に表示が行われる。The mask CPU 1 is connected to an operation and display board 60 and an ADF 20 . Auxiliary paper feed unit 40. External devices such as a finisher 50 are connected. The operation & display board 60 is a key human power control unit 6
8b, the signal is transferred to the master CPUI via the serial 110 port, and the control signal from the master CPUI is transferred to the control unit 68b via the serial 11 port, and further transferred to the display unit 6 via the LCD driver 68a.
0 is displayed.
スレーブCPU2には、A/Dコンバータを介して、複
写プロセスの実行に関連する、センサPSN、定着サー
ミスタ、ドラムサーミスタ、光量センザ、電位センサ等
のA/D入カセンサ類8が接続されている。また、パラ
レル11ボト9を介して複写プロセスの実行に関連する
センナ類10および複写プロセスの実行に関連するアク
チュエータすなわち各種交流・直流負荷11が接続され
ている。センサ類10の代表的なものは、感光体ドラム
+21を駆動するメインモータの回転に同期したパルス
を発生するタイミングパルス発生器、レジストローラ1
35の近傍で記録紙を検出するレジストセンサ、給紙系
】30に設けられた紙サイズセンサ、紙有無センサや排
紙センサ等である。The slave CPU 2 is connected to A/D input sensors 8, such as a sensor PSN, a fixing thermistor, a drum thermistor, a light amount sensor, and a potential sensor, which are related to execution of the copying process, through an A/D converter. Further, sensors 10 related to the execution of the copying process and actuators, that is, various AC/DC loads 11 related to the execution of the copying process are connected via the parallel 11 and the bottom 9. Typical sensors 10 include a timing pulse generator that generates pulses synchronized with the rotation of the main motor that drives the photoreceptor drum +21, and a registration roller 1.
These include a registration sensor that detects recording paper near 35, a paper size sensor, a paper presence/absence sensor, a paper discharge sensor, etc. provided in the paper feed system 30.
また、負荷】0の代表的なものは、感光体ドラム12+
を駆動するメインモータ、現像器124用のモータ、搬
送ファンモータや冷却用ファンモータ等の各種交流負荷
と、レジストローラ制御用クラッチ。In addition, a typical load of 0 is the photoreceptor drum 12+
various AC loads such as the main motor that drives the developing device 124, the conveyance fan motor, and the cooling fan motor, and a clutch for controlling the registration rollers.
給紙コロ制御用クラッチ、分離爪制御用ソレノイド、イ
レーザ+23. トークルカウンタ、トナー補給制御
用ソレノイドやクリーニングブレード制御用ソレノイド
等の直流負荷である。Clutch for paper feed roller control, solenoid for separation claw control, eraser +23. These are DC loads such as talk counters, toner replenishment control solenoids, and cleaning blade control solenoids.
更に、スレーブCPtJ2にはパラレル110ボト9を
介してウォッチドッグタイマ4が接続されており、スレ
ーブCPU2は、出力ポートを介してウォッチドッグタ
イマ4にタイマリセット信号を出力する。Furthermore, a watchdog timer 4 is connected to the slave CPtJ2 via a parallel 110 port 9, and the slave CPU2 outputs a timer reset signal to the watchdog timer 4 via an output port.
ウォッチドッグタイマ4のコンビュータリセッ1− (
CPUリセット)信号は、マスタCPUI。Watchdog timer 4 computer reset 1- (
The CPU reset) signal is the master CPUI.
スレーブCPU2ともにリセット入力端R3Tに接続さ
れており、ウォッチドッグタイマ4がタイムオーバする
と、コンピュータリセット信号がマスタCPUIおよび
スレーブCPU2に加わり、リセットがかかる。Both slave CPUs 2 are connected to the reset input terminal R3T, and when the watchdog timer 4 times out, a computer reset signal is applied to the master CPU 2 and the slave CPU 2, causing a reset.
ウォッチドッグタイマ4は、第2図に示すように、タイ
マリセット信号Tmの間隔が所定時限Tを越えると、す
なわち再スタート(リセット)されずにタイムオーバす
ると、所定パルス幅のコンピュータリセット信号(低レ
ベルL)を出力する。As shown in FIG. 2, when the interval of the timer reset signal Tm exceeds a predetermined time limit T, that is, when the time has elapsed without being restarted (reset), the watchdog timer 4 outputs a computer reset signal (low level) with a predetermined pulse width. Level L) is output.
スレーブCPU2は、それ自身およびマスタCPUIが
共に正常動作中には、該所定時限Tより短い間隔でタイ
マリセット信号の出力処理を実行するので、ウォッチド
ッグタイマ4は、タイムオーバする前にリセット(再ス
タート)し、コンピュータリセット信号を発生すること
はない。When the slave CPU 2 and the master CPU are both in normal operation, the slave CPU 2 executes the timer reset signal output process at intervals shorter than the predetermined time limit T, so the watchdog timer 4 is reset (reset) before the time expires. start) and does not generate a computer reset signal.
マスタCPUIおよび又はスレーブCPU2の暴走によ
ってタイマリセット信号を出力するプログラムが実行さ
れなくなると、タイマリセット信号が発生しなくなり、
ウォッチドッグタイマ4がタイムオーバしてコンピュー
タリセット信号を出力し、マスタCPIJIおよびスレ
ーブCPU2をリセットする。If the program that outputs the timer reset signal is no longer executed due to runaway of the master CPU and/or slave CPU 2, the timer reset signal will no longer be generated.
Watchdog timer 4 times out and outputs a computer reset signal to reset master CPIJI and slave CPU 2.
マスタCPUIは、この実施例では、ウォッチドッグタ
イマ4の時限値Tよりも短い定周期Tsで暴走監視のた
めの所定の信号をデュアルポートRAM3に書き込み、
スレーブCPU2は監視プログラムに従ってこの所定の
信号の有無を監視する。すなわちスレーブCPU2は、
所定のタイミングでデュアルポートRAM3の、該所定
の信号を書込むアドレスを読んで該所定の信号の有無を
チエツクしてそれが所定時間以上途だえたらマスタCP
UIが暴走したと判定する。In this embodiment, the master CPU writes a predetermined signal for runaway monitoring to the dual port RAM 3 at a fixed period Ts shorter than the time limit T of the watchdog timer 4.
The slave CPU 2 monitors the presence or absence of this predetermined signal according to the monitoring program. In other words, the slave CPU2 is
At a predetermined timing, read the address of the dual port RAM 3 where the predetermined signal is written, check the presence or absence of the predetermined signal, and if it is interrupted for a predetermined time or more, the master CP
It is determined that the UI has gone out of control.
マスタCPUIの暴走を判定したら、スレーブCPU2
は、暴走を停止すべくコンピュータリセントをかける。After determining that the master CPU is out of control, the slave CPU2
In order to stop the runaway, the computer re-cents.
このためにはウォッチドッグタイマ4をタイムオーバさ
せればよい。そこでスレブCPU2は、タイマリセット
信号の出力を停止する。この実施例では、マスタCPU
Iはこのとき停止(HALT)処理を実行して、マスタ
CPUIの制動動作を停止し、制御再開のだめの制御情
報をメモリに格納し、コンピュータリセット後の制御再
開に備える。For this purpose, it is sufficient to cause the watchdog timer 4 to time out. Therefore, the slave CPU 2 stops outputting the timer reset signal. In this example, the master CPU
At this time, I executes a HALT process to stop the braking operation of the master CPU, stores control information for restarting control in the memory, and prepares for restarting control after the computer is reset.
第5a図に、スレーブCPU2の制御動作の概要を示す
。スレーブCPU2は、電源オンリセットにより起動さ
れて(ステップ1:以下カッコ内ではステップという語
を省略)、出力ボートに待機時に出力すべき信号を設定
し内部レジスタ、タイマ、フラグ等を待機時のものに定
める(3)。FIG. 5a shows an outline of the control operation of the slave CPU 2. The slave CPU 2 is started by a power-on reset (step 1: the word "step" is omitted in parentheses below), sets the signals to be output during standby on the output port, and sets internal registers, timers, flags, etc. to those during standby. (3).
なお、ウォッチドッグタイマ4も電源オンリセットによ
りスタートする。スレーブCPU2は、RAM3の、暴
走監視用のアドレスTMMのデータを読んで(4)、そ
れがタイマリセットを指示するもの(タイマリセット指
示信号)であるかをチエツクしく5) 、TMMがタイ
マリセット指示信号になるのを待つ(4,5)。TMM
がタイマリセット指示信号になると計時を開始しく6)
、ウォッチドッグタイマ4にタイマリセット信号を出力
しく7)、TMMのタイマリセット指示信号を消去する
(8)。そして、TMMがタイマリセット指示信号にな
るのを待つ(9,10)。タイマリセット指示信号にな
ると、スレーブCPU2は、時間カウント値Tmを監視
周期レジスタTmに書き込み(11)、該時間カウント
値Tmの時限を定めた内部タイマTmをスタートして(
12)、ウォッチドッグタイマ4にリセット信号を与え
かつTMMのタイマリセット指示信号を消去しく13)
、内部タイマ割込みを許可する(14)。Note that the watchdog timer 4 is also started by power-on reset. The slave CPU 2 reads the data at the address TMM for runaway monitoring in the RAM 3 (4), and checks whether it is an instruction to reset the timer (timer reset instruction signal).5) The TMM instructs the timer reset. Wait for the signal (4, 5). TMM
When becomes the timer reset instruction signal, the timer starts timing.6)
, outputs a timer reset signal to the watchdog timer 4 (7), and erases the timer reset instruction signal of the TMM (8). Then, it waits for TMM to become a timer reset instruction signal (9, 10). When the timer reset instruction signal is received, the slave CPU 2 writes the time count value Tm to the monitoring cycle register Tm (11), starts an internal timer Tm that sets a time limit for the time count value Tm (
12) Give a reset signal to the watchdog timer 4 and erase the TMM timer reset instruction signal 13)
, enable internal timer interrupts (14).
そして複写プロセス制御プログラムを実行する上述の時
間カウント値(監視周期レジスタTm内容)Tmは、T
sの検出値でありマスタCPU1が正常動作中であれば
、それがリセット指示信号をRAM3に書き込む周期T
sと実質上等しい値である。このように周期Tsの検出
を終了するまで(4〜11)に、Tが経過する(すなわ
ちマスタCPUIが電源オンリセットから定周期Tsで
リセット指示信号が発生していない)と、ウォッチドッ
グタイマ4がタイムオーバして、マスクCPUIおよび
スレーブCPU2にリセットがかかり、スレーブCPU
2は初期化(3)に戻り、マスタCPUIも初期化(後
述する第6a図の33)に戻り、スレーブCPU2は、
再度周期Tsの検出を行う。スレーブCPU2の暴走に
よりウォッチドッグタイマ4にリセット信号が与えられ
ない場合も同様である。The above-mentioned time count value (contents of monitoring period register Tm) Tm for executing the copy process control program is T
If it is the detected value of s and the master CPU 1 is operating normally, it is the cycle T for writing the reset instruction signal to the RAM 3.
This value is substantially equal to s. If T has elapsed (that is, the master CPU has not generated a reset instruction signal at the regular cycle Ts since the power-on reset) until the detection of the cycle Ts is finished (4 to 11), the watchdog timer 4 times out, the mask CPUI and slave CPU2 are reset, and the slave CPU
2 returns to initialization (3), the master CPU 2 also returns to initialization (33 in Figure 6a, which will be described later), and the slave CPU 2
The period Ts is detected again. The same applies when the reset signal is not given to the watchdog timer 4 due to runaway of the slave CPU 2.
なお、この実施例では上述のようにスレーブCPU2が
周期Tsを検出しているが、この周期検出を省略して、
マスタCPUIがRAM3にタイマリセント指示信号を
書込んだときに、スレーブCPU2は内部タイマTsを
スタートしてタイマ割込を許可し、かつウォッチドッグ
タイマ4にすtソト信号を与えるようにしてもよい。す
なわち第5a図のステップ6〜11を省略し、内部タイ
マ時限(ステップ12のT m )をTsに定めてもよ
い。Note that in this embodiment, the slave CPU 2 detects the period Ts as described above, but this period detection is omitted and
Even if the master CPU 2 writes the timer recent instruction signal to the RAM 3, the slave CPU 2 starts the internal timer Ts, enables timer interrupts, and also gives the watchdog timer 4 the t sort signal. good. That is, steps 6 to 11 in FIG. 5a may be omitted, and the internal timer time limit (T m in step 12) may be set to Ts.
再度第5a図を参照して実施例の説明に戻ると、スレー
ブCPU2は、内部タイマTmをスタートしく13)、
内部タイマ割込みを許可しく14)、複写制御(15)
に進むが、その後内部タイマがTmがタイムオーバする
と、第5b図に示す「タイマ割込処理J (20)を
実行する。すなわち、まず次の時限Tmを計時するため
内部タイマTmを再スタートしく21)、読み取り回数
Nをクリアしく22)、そしてデュアルポートRAM3
のTMMのデータを読んで(23)、それがタイマリセ
ント指示信号であるかをチエツクする(24)。タイマ
リセント指示信号であると、ウォッチドッグタイマ4に
タイマリセット信号を与え(25)、RAM3のTMM
のタイマリセット指示信号を消去して(26)、メイン
ルーチン(第5a図の15)に戻る。デュアルポートR
AM3のTMMのデータを読んで(23)、それがタイ
マリセット指示信号であるかをチエツクしたとき(24
)、タイマリセット指示信号がなかったら、この実施例
では、読取回数Nが2になったかをチエツクして、2に
なっていないともう一度RAM3のTMMのデータを読
んで、それがタイマリセット指示信号であるかをチエツ
クする(23.24)。Returning to the explanation of the embodiment with reference to FIG. 5a again, the slave CPU 2 starts the internal timer Tm13).
Enable internal timer interrupts 14), copy control (15)
However, when the internal timer Tm times out, it executes the "timer interrupt processing J (20)" shown in FIG. 21), clear the read count N22), and dual port RAM3
The TMM data is read (23) and it is checked whether it is a timer recent instruction signal (24). If it is a timer recent instruction signal, a timer reset signal is given to the watchdog timer 4 (25), and the TMM of RAM3 is
The timer reset instruction signal is erased (26), and the process returns to the main routine (15 in FIG. 5a). dual port R
When reading the TMM data of AM3 (23) and checking whether it is a timer reset instruction signal (24)
), if there is no timer reset instruction signal, in this embodiment, it is checked whether the number of readings N has become 2, and if it has not become 2, the TMM data in RAM 3 is read again, and it is determined as the timer reset instruction signal. (23.24).
ユニでもタイマリセント指示信号がなかったら、Nを1
インクレメントしく27)、ここでNが2になるので、
ステップ28でこれを検知し、全割込を禁止して(29
)、フラグFを1にセットする(30)。If there is no timer recent instruction signal in Uni, set N to 1.
Increment 27), where N becomes 2, so
This is detected in step 28, and all interrupts are prohibited (29
), and sets flag F to 1 (30).
すなわち、この実施例では、第1回のTMMデータの読
み取りでそれがタイマリセット信号でなく、そこでもう
1回TMMデータの読み取りを行い、それでもタイマリ
セット信号がない場合に、スレーブCPU2は、ウォッ
チドッグタイマ4にはリセット信号を与えず、マスタC
PUIに後述する停止(HALT)処理を実行させるよ
うにフラグFを1にセットする。That is, in this embodiment, if the first time the TMM data is read and the signal is not a timer reset signal, then another TMM data read is performed, and if there is still no timer reset signal, the slave CPU 2 issues a watchdog signal. No reset signal is given to timer 4, and master C
Flag F is set to 1 so that the PUI executes a halt (HALT) process, which will be described later.
したがってこの状態でT−Tmの時間が過ぎるとウォッ
チドッグタイマ4がタイムオーバして、コンピュータリ
セット信号を発生し、これによりマスタCPUIおよび
スレーブCPU2の両者にリセットがかかる。Therefore, when the time T-Tm passes in this state, the watchdog timer 4 times out and generates a computer reset signal, thereby resetting both the master CPU I and the slave CPU 2.
第6a図に、マスタCPUIの制御動作の概要を示す。FIG. 6a shows an overview of the control operation of the master CPUI.
マスタCPUIは、電源オンリセットにより起動されて
(31)、出ツノボートに待機時に出力すべき信号を設
定し内部レジスタ、タイマ。The master CPU is activated by a power-on reset (31), sets the signal to be output to the output port during standby, and outputs the signal to the internal register and timer.
フラグ等を待機時のものに定め(33)、ウォッチドッ
グタイマ4の時限Tよりも短い時限Tsの内部タイマT
sをスタートする(34a)。そして割込を許可しく3
4b)、複写制御メインプログラムを実行する(35)
。その後ステップ36でフラグF(第5b図の30)が
1にセットされているかを調べて、1にセントされてい
ない限り複写制御メインプログラムを実行する(35)
。The flag etc. are set for standby (33), and an internal timer T with a time limit Ts shorter than the time limit T of the watchdog timer 4 is set.
s is started (34a). And allow interrupts 3
4b) Execute the copy control main program (35)
. Thereafter, in step 36, it is checked whether flag F (30 in Figure 5b) is set to 1, and unless it is set to 1, the copy control main program is executed (35).
.
この間に内部タイマTsがタイムオーバすると、第6b
図に示す[タイマ割込処理J (40)を実行する。If the internal timer Ts times out during this period, the 6b
Execute timer interrupt processing J (40) shown in the figure.
すなわち、まず次の時限Tsを計時するため内部タイマ
Tsを再スター1−L、(41,)、そしてデュアルポ
ートRAM3のTMMにタイマリセット信号を書込み(
42)、メインルーチン(第6a図の35)に戻る。再
度第6a図を参照すると、ステップ36でフラグFが1
にセントされていると、マスタCPUIは複写制御プロ
グラム再開のための情報をRAM3に書き込み(37)
、複写停止処理をして停止情報(HALT)を設定する
(38)。その後、ウォッチドッグタイマ4がタイムオ
ーバしてコンピュータリセット信号を発生しこれにより
マスタCPUIにリセットがかかると、マスタCPUI
には電源が与えられており停止情報(HALT)がある
ので(32)、マスタCPUIはこのリセットでは、プ
ログラム再開情報を読み出して、これに基づいて複写制
御を再開する(39)。That is, first, in order to time the next time limit Ts, the internal timer Ts is restarted 1-L, (41,), and a timer reset signal is written to the TMM of the dual port RAM 3 (
42), returning to the main routine (35 in Figure 6a). Referring again to FIG. 6a, flag F is set to 1 in step 36.
, the master CPUI writes information for restarting the copy control program to RAM3 (37).
, performs copy stop processing and sets stop information (HALT) (38). After that, when the watchdog timer 4 times out and generates a computer reset signal, which resets the master CPUI, the master CPUI
Since the master CPU is powered on and has stop information (HALT) (32), in this reset, the master CPUI reads the program restart information and resumes copy control based on this (39).
なお、上記実施例では、マスタCPUIは定周期Tsで
、スレーブCPU2にタイマリセット指示信号を送信す
るためにそれをRAM3のTMMに書込むが、マスタC
PUIは、ウォッチドッグタイマ4の時限Tより短い不
定間隔(最大値がTI)でタイマリセット指示信号をR
AM3のTMMに書込み、スレーブCPU2は、ウォッ
チドッグタイマ4にタイマリセット信号を送出してから
T1より長くTより短い一定時間T2後に、すなわち定
周期T2で、TMMのデータを読んでそれがタイマリセ
ット信号であるとウォッチドッグタイマ4にタイマリセ
ット信号を送出するようにしてもよい。In the above embodiment, the master CPU writes the timer reset instruction signal to the TMM of the RAM 3 at regular intervals Ts in order to transmit the timer reset instruction signal to the slave CPU 2.
PUI outputs a timer reset instruction signal at irregular intervals (maximum value is TI) shorter than time limit T of watchdog timer 4.
After writing to the TMM of AM3, the slave CPU 2 sends a timer reset signal to the watchdog timer 4, and after a fixed time period T2 that is longer than T1 and shorter than T, that is, at a fixed period T2, reads the data in the TMM and resets the timer. If it is a signal, a timer reset signal may be sent to the watchdog timer 4.
以上の通り本発明によれば、1個のウォッチドッグタイ
マ(4)と、第1および第2マイクロコンピュータ(1
,2)の比較的に簡単な暴走検出/保護処理により、第
1および第2マイクロコンピユタ(1,2)の一方が暴
走した場合、ならびに、両者が同時に暴走した場合、自
動的にそれらのコンピュータにリセットが作用する。回
路素子数が比較的に低減し、かつ暴走保護の信頼性が高
くなる。As described above, according to the present invention, one watchdog timer (4) and the first and second microcomputers (1
, 2), if one of the first and second microcomputers (1, 2) goes out of control, or if both go out of control at the same time, they are automatically detected. A reset is applied to the computer. The number of circuit elements is relatively reduced, and the reliability of runaway protection is increased.
第1図は、本発明の一実施例の構成を示すブロック図で
ある。
第2図は、第1図に示すウォッチドッグタイマ4に与え
られるリセット信号とウォッチドッグタイマ4が発生す
るコンピュータリセット信号の関係を示すタイムチャー
トである。
第3図は、第1図に示す構成回路が組み込まれた複写機
の構成概略を示す側面図である。
第4図は、第3図に示す複写機に備わる操作&表示ボー
ド60の概略を示す平面図である。
第5a図および第5b図は、第1図に示すスレプマイク
ロコンピュータ2の制御動作を示すフローチャートであ
る。
第6a図および第6b図は、第1図に示すマスクマイク
ロコンピュータ1の制御動作を示すフローチャートであ
る。
第7図および第8図は、従来のマイクロコンピュータ回
路の構成概要を示すブロック図である。
1:マスクマイクロコンピュータ
(第1マイクロコンピュータ)
2ニスレープマイクロコンピュータ
(第2マイクロコンピュータ)
3:デュアルボー)RAM
4:ウォッチドッグタイマ(ウォッチトングタイマ)5
:判定回路 6:ノアゲート8:A/D
入カセンサ類
9:パラレルI10ボート(信号入出力手段)lO:セ
ンサ類(センサ)
11:負荷(アクチュエータ’) 20:ADF3
0:複写機本体(被制御機構)40補助給紙ユニット5
0:フィニンシャ 60操作&表示ボード11
0′光学系 120:作像系130:給
紙系 140°再給紙系第2図
第5b図
^−r
第
図
fipトr
弔
b
図FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. FIG. 2 is a time chart showing the relationship between the reset signal applied to the watchdog timer 4 shown in FIG. 1 and the computer reset signal generated by the watchdog timer 4. FIG. 3 is a side view showing a schematic configuration of a copying machine incorporating the configuration circuit shown in FIG. 1. FIG. FIG. 4 is a plan view schematically showing the operation and display board 60 provided in the copying machine shown in FIG. FIGS. 5a and 5b are flowcharts showing the control operation of the slave microcomputer 2 shown in FIG. 1. 6a and 6b are flowcharts showing the control operation of the mask microcomputer 1 shown in FIG. 1. FIG. FIGS. 7 and 8 are block diagrams showing an outline of the configuration of a conventional microcomputer circuit. 1: Mask microcomputer (1st microcomputer) 2 Nislep microcomputer (2nd microcomputer) 3: Dual baud) RAM 4: Watchdog timer (watchtong timer) 5
: Judgment circuit 6: Noah gate 8: A/D
Input sensors 9: Parallel I10 boat (signal input/output means) lO: Sensors (sensor) 11: Load (actuator') 20: ADF3
0: Copying machine main body (controlled mechanism) 40 Auxiliary paper feed unit 5
0: Finisher 60 operation & display board 11
0' Optical system 120: Imaging system 130: Paper feeding system 140° Paper refeeding system Fig. 2 Fig. 5b ^-r Fig. fip r Funeral b Fig.
Claims (1)
時限動作を新たに開始し再スタート信号を受けないと該
所定時限Tでタイムオーバし、タイムオーバしたとき後
記第1および第2マイクロコンピュータにリセット信号
を与えるウォッチドッグタイマ; 定常動作中に後記第2マイクロコンピュータに前記所定
時限T以内の時間間隔で再スタート指示信号を与え、前
記リセット信号に応答して自身をリセットする第1マイ
クロコンピュータ; 被制御機構のセンサの検出信号を入力し該機構のアクチ
ュエータに対して制御信号を出力すると共に、前記ウォ
ッチドッグタイマに再スタート信号を与えるための信号
入出力手段;および、定常動作中に前記信号入出力手段
を介してセンサの検出信号を読込みアクチュエータに制
御信号を出力しかつ前記再スタート指示信号を受けると
前記信号入出力手段を介して再スタート信号を前記ウォ
ッチドッグタイマに出力し、前記リセット信号に応答し
て自身をリセットする第2マイクロコンピュータ; を備えるマイクロコンピュータ回路。[Claims] If a restart signal is received within a predetermined time period T from the start of the time limit, the timed operation will start anew, and if the restart signal is not received, the time will expire within the predetermined time period T. and a watchdog timer that gives a reset signal to the second microcomputer; gives a restart instruction signal to the second microcomputer described later at time intervals within the predetermined time limit T during normal operation, and resets itself in response to the reset signal. a first microcomputer; a signal input/output means for inputting a detection signal of a sensor of a controlled mechanism and outputting a control signal to an actuator of the mechanism; and a signal input/output means for providing a restart signal to the watchdog timer; During normal operation, the detection signal of the sensor is read through the signal input/output means and a control signal is output to the actuator, and when the restart instruction signal is received, the restart signal is sent to the watchdog timer through the signal input/output means. a second microcomputer that resets itself in response to the reset signal;
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2206176A JPH0490033A (en) | 1990-08-03 | 1990-08-03 | Microcomputer circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2206176A JPH0490033A (en) | 1990-08-03 | 1990-08-03 | Microcomputer circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0490033A true JPH0490033A (en) | 1992-03-24 |
Family
ID=16519072
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2206176A Pending JPH0490033A (en) | 1990-08-03 | 1990-08-03 | Microcomputer circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0490033A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009106745A (en) * | 2007-10-29 | 2009-05-21 | Smiths Medical Asd Inc | Redundant electric power control for respiratory system heater |
JP2015212910A (en) * | 2014-05-07 | 2015-11-26 | 京楽産業.株式会社 | Game machine |
JP2017018762A (en) * | 2016-11-01 | 2017-01-26 | 京楽産業.株式会社 | Game machine |
-
1990
- 1990-08-03 JP JP2206176A patent/JPH0490033A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009106745A (en) * | 2007-10-29 | 2009-05-21 | Smiths Medical Asd Inc | Redundant electric power control for respiratory system heater |
US8511305B2 (en) | 2007-10-29 | 2013-08-20 | Smiths Medical Asd, Inc. | Redundant power control for respiratory system heaters |
JP2015212910A (en) * | 2014-05-07 | 2015-11-26 | 京楽産業.株式会社 | Game machine |
JP2017018762A (en) * | 2016-11-01 | 2017-01-26 | 京楽産業.株式会社 | Game machine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4201464A (en) | Copy production machines having job separation capabilities | |
US9415959B2 (en) | Image forming apparatus and image forming method | |
US5452062A (en) | Tabs printing in a printer | |
JPS6260708B2 (en) | ||
JP3141395B2 (en) | Recording device | |
JPH0490033A (en) | Microcomputer circuit | |
KR20130124899A (en) | Image forming apparatus, method of controlling the same, and storage medium | |
US6490692B1 (en) | Image forming apparatus with improved monitoring system for operation of microprocessor controlling image forming operation | |
US20100067047A1 (en) | Display control apparatus, image forming apparatus, and computer-readable medium storing display control program | |
KR100294605B1 (en) | Necessary time display apparatus for image forming apparatus | |
US11539849B2 (en) | Image forming apparatus capable of turning off power upon detection of predetermined gesture | |
JP3037985B2 (en) | Image forming device | |
JP7551344B2 (en) | Image forming device | |
JPH08220945A (en) | Network system | |
JPH0490563A (en) | Copying controller | |
JP3017305B2 (en) | Image forming device | |
JP2002333797A (en) | Image forming device and image forming method | |
JPH0242560A (en) | Monitor control method for controller | |
JPS63118962A (en) | Processor having non-volatile memory | |
JPS63277151A (en) | Image former | |
JP2022166388A (en) | Image forming apparatus, image forming program, and image forming method | |
JPH02108073A (en) | Printer | |
JPH06230625A (en) | Image forming device | |
JPH02175543A (en) | Document feed device control system for recording device | |
JPH0244425A (en) | Microprocessor controlled mechanical device |