JPH0490563A - Copying controller - Google Patents

Copying controller

Info

Publication number
JPH0490563A
JPH0490563A JP2205514A JP20551490A JPH0490563A JP H0490563 A JPH0490563 A JP H0490563A JP 2205514 A JP2205514 A JP 2205514A JP 20551490 A JP20551490 A JP 20551490A JP H0490563 A JPH0490563 A JP H0490563A
Authority
JP
Japan
Prior art keywords
reset
power
zero
cpu
programmable control
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
JP2205514A
Other languages
Japanese (ja)
Inventor
Masayuki Otani
大谷 雅之
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2205514A priority Critical patent/JPH0490563A/en
Publication of JPH0490563A publication Critical patent/JPH0490563A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Or Security For Electrophotography (AREA)
  • Safety Devices In Control Systems (AREA)

Abstract

PURPOSE:To prevent a microcomputer from malfunctioning repeatedly by energizing an abnormality display means and inhibiting copying sequence operation when a programmable control means is abnormal. CONSTITUTION:When a microcomputer CPU 1 detects the absence of a zero- cross signal, i.e. a break of AC power supply, the output port PORT 1 of the CPU 1 falls to a low level, and consequently a request for interruption is sent to a microcomputer CPU 2. In response to the request for interruption, the CPU 2 performs a process. A zero-cross break flag (present on RAM 205) is set. If the CPU 1 becomes abnormal during electric feeding, the watch dog timer of a reset IC 202 detects that and applies a reset signal to a terminal RESET of the CPU 2; when a program is restarted, the zero-cross flag is in a reset state and it is therefore judged that it is not after a zero-cross break. In the normal state, 0 is outputted to an output port PORT 1 to reset the zero- cross break flag and then mode control, sequence control, and operation part control are performed repeatedly in order.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明は、例えばマイクロコンピュータのようなプログ
ラマブル制御装置を2つ以上備えてこれらによって複写
機の制御を行なう複写制御装置に関し、特に暴走時の対
策に関する。
Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a copying control device that is equipped with two or more programmable control devices such as microcomputers and controls a copying machine using these, and particularly to Regarding countermeasures.

「従来の技術] マイクロコンピュータは、予め定められたプログラムデ
ータに従って連続的に動作を実行するが、例えばノイズ
の影響などを受けると暴走を生じ、プログラムの内容と
は全く異なる異常動作を行なう。
[Prior Art] A microcomputer continuously executes operations according to predetermined program data, but when affected by noise, for example, it causes runaway and performs abnormal operations that are completely different from the contents of the program.

この種の異常動作は、例えば複写機では、ヒ夕の異常発
熱などにつながる恐れがあるので、異常が発生したまま
放置するのは危険である。そこでこの種の装置において
は、従来より、暴走の発生を検出し、暴走時にはリセッ
ト信号をマイクロコンピュータに印加するなどの方法に
よって対処している。
For example, in a copying machine, this type of abnormal operation may lead to abnormal heat generation of the heater, so it is dangerous to leave the abnormality as it is. Therefore, in this type of device, conventional methods have been used to detect the occurrence of runaway and apply a reset signal to the microcomputer in the event of runaway.

実際には、ウォッチドッグタイマと呼ばれる回路を、マ
イクロコンピュータに内蔵したり、独立した集積回路と
してマイクロコンピュータに外付けし、マイクロコンピ
ュータで正常時に生成される繰り返しパルスが検出され
なくなった時に、リセット信号を生成してそれをマイク
ロコンピュタのリセット端子に印加するようになってい
る。
In reality, a circuit called a watchdog timer is built into a microcomputer or externally attached to the microcomputer as an independent integrated circuit, and when the repetitive pulses normally generated by the microcomputer are no longer detected, a reset signal is sent to the microcomputer. It is designed to generate and apply it to the reset terminal of the microcomputer.

また、複数のマイクロコンピュータを備えるマルチプロ
セッサ構成の制御システムにおいては、複数のウォッチ
ドッグタイマを設けて、各々のマイクロコンピュータの
異常を独立に検出するか、又は1つのウォッチドッグタ
イマで、主要な一方のマイクロコンピュータだけの異常
を検出するようにしている。
In addition, in a control system with a multiprocessor configuration including multiple microcomputers, multiple watchdog timers may be provided to detect abnormalities in each microcomputer independently, or one watchdog timer may be used to detect abnormalities in each of the main microcomputers. The system is designed to detect abnormalities only in the microcomputer.

この種の従来技術は、例えば次の公報に開示されている
This type of conventional technology is disclosed, for example, in the following publications.

特開昭57−130059号。Japanese Patent Publication No. 57-130059.

特開昭59−83255号。Japanese Patent Publication No. 59-83255.

特開昭61−175702号。JP-A-61-175702.

特開昭63−253964号、及び 特公平1−28377号 [発明が解決しようとする課題] ところで、従来の装置においては、マイクロコンピュー
タの異常が検出されると、そのマイクロコンピュータに
す七ノド信号が印加されるので、マイクロコンピュータ
は、初期状態(プログラムの最初)から動作を再開し、
これによって通常は正常な動作に戻る。
JP-A No. 63-253964 and JP-A No. 1-28377 [Problems to be Solved by the Invention] By the way, in conventional devices, when an abnormality in a microcomputer is detected, a seven-node signal is sent to the microcomputer. is applied, the microcomputer resumes operation from the initial state (the beginning of the program),
This usually returns normal operation.

しかしながら、マイクロコンピュータの異常が一時的に
生じるノイズ等ではなしに、継続的な要因によって生じ
る場合、リセット信号を印加しても、マイクロコンピュ
ータはその直後に再び誤動作を生じ、その結果再びリセ
ット信号が印加されるので、マイクロコンピュータは誤
動作を繰り返すことになる。このように繰り返し生じる
誤動作は非常に危険な場合がある。
However, if an abnormality in the microcomputer is caused by a continuous factor rather than a temporary noise, the microcomputer will malfunction again immediately after applying the reset signal, and as a result, the reset signal will not be activated again. As a result, the microcomputer will repeatedly malfunction. Such repeated malfunctions can be extremely dangerous.

従って本発明は、マイクロコンピュータの誤動作が繰り
返し生じるのを防止することを課題とする。
Therefore, it is an object of the present invention to prevent repeated malfunctions of a microcomputer.

[課題を解決するための手段] 上記課題を解決するために、本発明においては、複写機
に設けられた各種の制御対象負荷:異常表示手段:交流
電源の状態を示す電源信号を発生する電源信号発生手段
、繰り返しパルスの入力が所定時間以上ない時、及び電
源投入時にリセット信号を出力する、リセット手段:前
記制御対象負荷電源信号発生手段、及びリセット手段に
接続され、該制御対象負荷を制御するとともに、前記電
源信号を監視して電源遮断の有無を識別し、更に繰り返
しパルスを生成してそれを周期的に前記リセット手段に
印加する、第1のプログラマブル制御手段;及び複写機
のシーケンス制御を実行する手段であって、電源遮断時
にもその記憶内容を保持する記憶手段を含み、前記リセ
ット手段及び前記第1のプログラマブル制御手段と接続
され、前記リセット信号によって動作状態が初期化され
る、第2のプログラマブル制御手段;を備え、第2のプ
ログラマブル制御手段は、第1のプログラマブル制御手
段が電源遮断を検出するとその情報を記憶手段に記憶す
るとともに、初期状態からの動作再開時には、記憶手段
の内容に基づいて異常発生の有無を識別し、異常有の場
合には、前記異常表示手段を付勢するとともに、初期化
信号を第1のプログラマブル制御手段に印加し、更にそ
れ以後の複写シーケンス動作を禁止する、ように構成す
る。
[Means for Solving the Problems] In order to solve the above problems, the present invention provides a power supply that generates a power signal indicating the status of various controlled loads provided in a copying machine: Abnormality display means: AC power supply. a signal generating means, which outputs a reset signal when no repetitive pulse is input for a predetermined period of time or more and when the power is turned on; a reset means: connected to the controlled load power supply signal generating means and the reset means to control the controlled load; and a first programmable control means that monitors the power supply signal to identify whether or not the power supply is interrupted, and further generates a repetitive pulse and periodically applies it to the reset means; and sequence control of the copying machine. means for executing, the storage means retaining the stored contents even when the power is cut off, the means is connected to the reset means and the first programmable control means, and the operating state is initialized by the reset signal; a second programmable control means; the second programmable control means stores the information in the storage means when the first programmable control means detects power cutoff, and when restarting the operation from the initial state, the second programmable control means stores the information in the storage means It is determined whether or not an abnormality has occurred based on the contents of the information, and if there is an abnormality, the abnormality display means is energized, an initialization signal is applied to the first programmable control means, and further the subsequent copying sequence is activated. Configure to prohibit operation.

[作用] 本発明においては、第2のプログラマブル制御手段(例
えばマイクロコンピュータ〉は、それがリセット信号に
よって初期化され、プログラムを最初から実行する時に
、その初期化を実行する原因が通電中に生じたリセット
信号(つまり異常)であるかそれとも電源投入によって
生じたリセット信号(つまり正常)であるのかを識別で
きる。
[Function] In the present invention, the second programmable control means (for example, a microcomputer) is initialized by a reset signal, and when the program is executed from the beginning, the cause for executing the initialization occurs during energization. It is possible to identify whether the reset signal is a generated reset signal (that is, abnormal) or a reset signal generated by power-on (that is, normal).

即ち、この例では、電源が完全に遮断される前に、電源
遮断の有無が自動的に検出され、その情報が不揮発性の
記憶手段に記憶されるので、電源投入時には、記憶手段
の内容を参照すれば、その前の電源遮断時の情報(電源
遮断有)が記憶されているので、異常なしとみなすこと
ができる。一方、第1のプログラマブル制御手段に異常
が発生し、繰り返しパルスが出力されなくなると、リセ
ット信号から出力されるリセット信号によって第2のプ
ログラマブル制御手段が初期化されるが、この時には記
憶手段の内容は電源遮断無しであるので、異常が発生し
たことを識別できる。
That is, in this example, before the power is completely cut off, the presence or absence of a power cut is automatically detected and that information is stored in the non-volatile storage means, so when the power is turned on, the contents of the storage means are saved. If you refer to it, the information from the previous power cut-off (power cut off) is stored, so it can be assumed that there is no abnormality. On the other hand, when an abnormality occurs in the first programmable control means and the repeated pulses are no longer output, the second programmable control means is initialized by the reset signal output from the reset signal, but at this time the contents of the storage means are Since the power is not cut off, it is possible to identify that an abnormality has occurred.

第2のプログラマブル制御手段が異常の発生を検出した
場合、異常表示手段の付勢によって異常の発生が報知さ
れ、それと同時に第1のプログラマブル制御手段に初期
化信号(リセット信号)が印加されそれの動作は初期化
される。またその場合、第2のプログラマブル制御手段
は、それ以降の複写シーケンスの実行を禁止する。従っ
て、第1のプログラマブル制御手段が初期化された後、
それの制御対象負荷が積極的に付勢されることはなく、
誤動作の繰り返しによって、更に致命的な故障を誘発し
たり火災を招くような恐れはない。
When the second programmable control means detects the occurrence of an abnormality, the occurrence of the abnormality is notified by energizing the abnormality display means, and at the same time, an initialization signal (reset signal) is applied to the first programmable control means to reset the abnormality. The operation is initialized. Further, in that case, the second programmable control means prohibits execution of the copying sequence thereafter. Therefore, after the first programmable control means has been initialized,
The load it controls is not actively energized;
There is no risk that repeated malfunctions will cause further catastrophic failure or fire.

ノイズなどの一時的な要因によって異常が発生し、第1
のプログラマブル制御手段が停止した場合、−担、電源
を遮断して再び電源を投入すれば、第1のプログラマブ
ル制御手段の停止状態は解除されるので、正常な動作に
戻ることができる。
An abnormality occurs due to temporary factors such as noise, and the
If the first programmable control means stops, the stop state of the first programmable control means is canceled by cutting off the power and then turning it on again, so that normal operation can be resumed.

本発明の他の目的及び特徴は、以下の、図面を参照した
実施例説明により明らかになろう。
Other objects and features of the present invention will become apparent from the following description of embodiments with reference to the drawings.

[実施例] 第1図に、本発明を実施する4形式の複写機内部の機構
部の構成を示す。
[Embodiment] FIG. 1 shows the structure of a mechanical section inside four types of copying machines that implement the present invention.

第1図を参照して説明する。原稿を載置するコンタクト
ガラス40の下方には光学走査系が備わっている。この
光学走査系には、露光ランプ41゜第1ミラー42.第
2ミラー43.第3ミラー44、ズームレンズ45.第
4ミラー46.第5ミラー47.及び第6ミラー48が
設けられている。
This will be explained with reference to FIG. An optical scanning system is provided below the contact glass 40 on which the original is placed. This optical scanning system includes an exposure lamp 41°, a first mirror 42. Second mirror 43. Third mirror 44, zoom lens 45. Fourth mirror 46. Fifth mirror 47. and a sixth mirror 48 are provided.

この光学走査系は、原稿に光を照射し、その反射光、即
ち原稿像に対応する光を感光体ドラム49上に照射しな
がら副走査方向、つまり図面の左右方向に機械的に走査
駆動される。この例では、ズムレンズ45の照明距離の
調節により、主走査方向即ち図面に垂直な方向の原稿像
とコピー像との倍率の調整を行ない、光学走査系の副走
査速度の調整により、副走査方向の原稿像とコピー像と
の倍率の調整を行なう。
This optical scanning system is mechanically driven to scan in the sub-scanning direction, that is, in the horizontal direction of the drawing, while irradiating the original with light and irradiating the reflected light, that is, the light corresponding to the original image, onto the photoreceptor drum 49. Ru. In this example, the magnification of the original image and the copy image in the main scanning direction, that is, the direction perpendicular to the drawing, is adjusted by adjusting the illumination distance of the zoom lens 45, and the magnification in the sub-scanning direction is adjusted by adjusting the sub-scanning speed of the optical scanning system. The magnification of the original image and the copy image is adjusted.

感光体ドラム49の周辺には、帯電チャージャ50、イ
レーザ51.黒現像ユニット52.カラ現像ユニット5
3.転写チャージャ541分離チャージャ55.クリー
ニングユニット56等々が設けられている。給紙系は3
系統備わっており、給紙力セント56.57及び58の
いずれか選択されたものから給紙コロ59によってコピ
ーシトが供給される。また両面ジョガーユニット60が
備わっており、裏面コピーを行なう場合には、ジョガー
ユニット60からコピーシートが供給される。給紙機構
がカセット56,57.58及びジョガーユニット60
の各々の近くに設けられている。
Around the photosensitive drum 49, a charger 50, an eraser 51 . Black developing unit 52. Color developing unit 5
3. Transfer charger 541 Separation charger 55. A cleaning unit 56 and the like are provided. Paper feed system is 3
Copy sheets are supplied by a paper feed roller 59 from one of paper feed power centers 56, 57 and 58. Further, a double-sided jogger unit 60 is provided, and when performing back-side copying, a copy sheet is supplied from the jogger unit 60. Paper feeding mechanism includes cassettes 56, 57, 58 and jogger unit 60
are located near each of them.

次にコピープロセスの概略を説明する。感光体ドラム4
9は、第1図において時計方向に一定速度で回転し、帯
電チャージャ50によって表面が一様に所定の高電位に
帯電する。この帯電した表面に光学走査系を介して原稿
像の光が照射されると、その光の強度に応じて電位が変
化し、原稿像に対応する電位分布、即ち静電潜像が表面
に形成される。この静電潜像が形成された部分が現像ユ
ニット52又は53を通ると、その電位分布に応じてト
ナーが感光体ドラム49に吸着し、それによって静電潜
像に対応するトナー像(可視像)が形成される。このよ
うにして可視像が形成された感光体ドラム49に、選択
された給紙系から所定のタイミングでコピーシートが送
り込まれ、感光体ドラム表面に形成された可視像に重な
る。そして、転写チャージャ54によって可視像はコピ
ーシートに転写される。可視像が転写されたコピシート
は、分離チャージャ55によって感光体ドラム49から
分離され、搬送部に送り出される。
Next, an outline of the copy process will be explained. Photosensitive drum 4
9 rotates clockwise at a constant speed in FIG. 1, and the surface thereof is uniformly charged to a predetermined high potential by the charger 50. When this charged surface is irradiated with the light of the original image via an optical scanning system, the potential changes depending on the intensity of the light, and a potential distribution corresponding to the original image, that is, an electrostatic latent image, is formed on the surface. be done. When the portion on which the electrostatic latent image is formed passes through the developing unit 52 or 53, the toner is attracted to the photoreceptor drum 49 according to the potential distribution, and the toner image corresponding to the electrostatic latent image (visible image) is formed. A copy sheet is fed at a predetermined timing from a selected sheet feeding system to the photoreceptor drum 49 on which the visible image has been formed in this manner, and is overlapped with the visible image formed on the surface of the photoreceptor drum. The visible image is then transferred to a copy sheet by transfer charger 54. The copy sheet onto which the visible image has been transferred is separated from the photosensitive drum 49 by a separation charger 55 and sent to a conveying section.

そして、搬送部に備わった定着ローラ61及び加圧口〜
う62によって、可視像はコピーシート上に定着される
。片面コピーの場合には、定着を終えたコピーシートは
経路切り換え機構63を通って直ちに矢印A方向に排紙
されるが1両面コピーモードで第1面にコピーした場合
には、コピーシートは経路切り換え機構639反転切換
爪64を経由し、反転コロ65で搬送方向が反転し、搬
送機構を通ってジョガーユニット60に一時蓄えられる
。なお図示しないが、この複写機のコンタクトガラスの
上方には自動原稿送り装置(ADF)が装着され、排紙
口の近くにはソータが接続される。
Then, the fixing roller 61 and the pressure port provided in the conveyance section ~
The visible image is fused onto the copy sheet by step 62. In the case of single-sided copying, the copy sheet after fixing passes through the path switching mechanism 63 and is immediately ejected in the direction of arrow A. However, in the case of copying on the first side in single-sided copy mode, the copy sheet is ejected through the path switching mechanism 63. The transport direction is reversed by the reversing roller 65 via the switching mechanism 639 and the reversing switching claw 64, and the transport direction is reversed by the reversing roller 65. The transporting direction is then temporarily stored in the jogger unit 60 through the transport mechanism. Although not shown, an automatic document feeder (ADF) is installed above the contact glass of this copying machine, and a sorter is connected near the paper ejection port.

この複写機の上面には、第2図に示すように、入力用の
多数のキーと様々な表示部を有する操作ボードが配置さ
れている。
As shown in FIG. 2, an operation board having a large number of input keys and various display sections is arranged on the top surface of this copying machine.

第2図を参照すると、この操作ボードにはプログラムの
記憶及び呼び出しを行なうプログラムキ70、プログラ
ムの使用中を示すプログラム表示719割り込みコピー
の設定・解除を行なう割り込みキー721割り込みコピ
ー状態を示す割り込み表示73.置数確認キー74.テ
ンキー75゜各種情報を表示する表示パネル76、両面
モードキー77、両面モードの状態を表示する両面表示
78、綴代調整キー79.綴代の寸法を表示する綴代寸
法表示80.DF (原稿送り装置)モードキー81.
サイズ統一モード表示82.自動用紙選択モード表示8
3.ソータ用のモード表示84゜85、ソータ用のモー
ド選択キー86.ADF(全自動原稿送り)モード表示
87,5ADF(半自動原稿送り)モード表示8B、A
DF/5ADFモード切換キー89.原稿寸法人力モー
ト表示90.指定寸法人力モード表示919寸法定倍モ
ード表示92,93.ベージ連写モード表示94、ベー
ジ連写モードキー95.原稿サイズ選択キー96.縮小
キー97.拡大キー981等倍指定キー99.用紙選択
キー100.濃淡調節キー101. 自動濃度調節モー
ドキー102.クリア/ストップキー103.スタート
キー104゜予熱モード/モードクリアキー105.予
熱状態表示106.及び数値表示器107が備わってい
る。
Referring to FIG. 2, this operation board includes a program key 70 for storing and recalling programs, a program display 719 indicating that the program is in use, an interrupt key 721 for setting and canceling interrupt copying, and an interrupt display indicating the interrupt copy status. 73. Number confirmation key 74. Numeric keypad 75° Display panel 76 for displaying various information, duplex mode key 77, duplex display 78 for displaying duplex mode status, binding margin adjustment key 79. Binding margin dimension display 80 that displays binding margin dimensions. DF (document feeder) mode key 81.
Size unified mode display 82. Automatic paper selection mode display 8
3. Mode display for sorter 84°85, mode selection key for sorter 86. ADF (fully automatic document feed) mode display 87, 5 ADF (semi-automatic document feed) mode display 8B, A
DF/5ADF mode switching key 89. Original dimensions manual mode display 90. Specified dimension manual mode display 919 Dimension constant magnification mode display 92, 93. Page continuous shooting mode display 94, page continuous shooting mode key 95. Original size selection key 96. Reduce key 97. Enlargement key 981 Same size specification key 99. Paper selection key 100. Shade adjustment key 101. Automatic density adjustment mode key 102. Clear/stop key 103. Start key 104゜Preheating mode/mode clear key 105. Preheating status display 106. and a numerical display 107.

第1図の複写機の電装部全体の構成の概略を第3図に示
す。第3図を参照すると、この複写機には、メイン制御
用とl10(入出力)制御用の2つのマイコンユニット
(マイクロコンピュータを含む制御ユニット)1及び4
が備わっており、これら2つのマイコンユニットは、シ
リアル通信線を介して互いに接続されている。
FIG. 3 shows an outline of the overall configuration of the electrical equipment section of the copying machine shown in FIG. 1. Referring to FIG. 3, this copying machine has two microcomputer units (control units including microcomputers) 1 and 4 for main control and l10 (input/output) control.
These two microcomputer units are connected to each other via a serial communication line.

メイン制御用のマ′コンユニッ [は、操作ボド2及び
ADF (自動原稿送り装置)3と接続されおり、操作
ボード2に対する表示及びキー人力処理、ADF3の制
御、複写シーケンス制御。
The main control computer unit is connected to the operation board 2 and the ADF (automatic document feeder) 3, and performs display and key manual processing on the operation board 2, control of the ADF 3, and copy sequence control.

及び複写モード制御を実行する。and copy mode control.

I10制御用のマイコンユニット4には、ヒータ制御ユ
ニット5.ランプ制御ユニット6、スキャナモータ7、
レンズ/ミラー8.クラッチ/ソレノイド9.センサユ
ニット10.高圧電源ユニット11及びモータ制御ユニ
ット12が接続されており、これらに対する入力及び出
力の処理を実行するとともに、マイコンユニット1との
間でブタの送信及び受信を実行し、マイコンユニット1
からの指示に従って、その時の複写シーケンヌに応じた
制御を実行する。
The microcomputer unit 4 for I10 control includes a heater control unit 5. lamp control unit 6, scanner motor 7,
Lens/mirror8. Clutch/Solenoid9. Sensor unit 10. A high-voltage power supply unit 11 and a motor control unit 12 are connected, and performs input and output processing for these, as well as transmitting and receiving signals to and from the microcomputer unit 1.
According to the instructions from , control is executed according to the copy sequence at that time.

第4図に、第3図の回路の一部分を詳細に示す。FIG. 4 shows a portion of the circuit of FIG. 3 in more detail.

なお、第4図ではこの発明と特に関連のない部分は省略
しであるので注意されたい。また、第4図に示すマイク
ロコンピュータCPUIは第3図に示すマイコンユニッ
ト4に含まれており、第4図に示すマイクロコンピュー
タCPU2は第3図に示すマイコンユニット1に含まれ
ている。
Note that in FIG. 4, parts not particularly relevant to the present invention are omitted. Further, the microcomputer CPUI shown in FIG. 4 is included in the microcomputer unit 4 shown in FIG. 3, and the microcomputer CPU2 shown in FIG. 4 is included in the microcomputer unit 1 shown in FIG.

第4図を参照して説明する。ゼロクロス検出回路201
は、この複写機に印加される交流電源(AClooV)
から得られる交流信号200を処理しその電圧波形のゼ
ロクロス点を検出する毎にパルスを出力する。従って通
常は、一定の周期(交流電源が50Hzなら10m5e
c)でパルス信号が出力されるが、電源が遮断されると
ゼロクロス点が検出できなくなるので、パルス信号は現
われなくなる。
This will be explained with reference to FIG. Zero cross detection circuit 201
is the AC power supply (AClooV) applied to this copying machine.
The AC signal 200 obtained from the AC signal 200 is processed and a pulse is output every time a zero-crossing point of the voltage waveform is detected. Therefore, normally, the cycle is fixed (10m5e if the AC power supply is 50Hz).
A pulse signal is output in c), but if the power is cut off, the zero-crossing point cannot be detected, so the pulse signal no longer appears.

なお制御回路に印加される直流電源は、この交流電源か
ら生成されるが、直流電源回路には大容量のコンデンサ
等が備わっている−ので、交流電源が遮断された後でも
、しばらくの間は、直流電源の出力に所定の直流電圧が
現われ、その間は制御回路は正常に動作する。その間に
、後述するように、マイクロコンピュータCPU1.C
PU2は所定の動作を実行し、電源が遮断されたことを
検出し、その情報を記憶する。
Note that the DC power applied to the control circuit is generated from this AC power, but since the DC power circuit is equipped with large capacity capacitors, etc., even after the AC power is cut off, it will not work for a while. , a predetermined DC voltage appears at the output of the DC power supply, during which time the control circuit operates normally. In the meantime, as will be described later, the microcomputer CPU1. C
The PU2 performs predetermined operations, detects that the power has been cut off, and stores this information.

ゼロクロス検出回路201の出力するパルス信号は、マ
イクロコンピュータCPUIの割り込み要求ボー)IN
Tに印加される。
The pulse signal output by the zero cross detection circuit 201 is the interrupt request board (IN) of the microcomputer CPUI.
applied to T.

2つのマイクロコンピュータcPU1.CPU2の間に
設けられたリセットIC202は、ウォッチドッグタイ
マを内蔵しており、マイクロコンピュータCPU1がそ
の出力ポートPORT2から出力する繰り返しパルス信
号CLKを監視し、それが所定時間以上検出されなくな
ると、リセット信号をマイクロコンピュータCPU2の
リセット端子RESETに印加する。リセットIC20
2は電源オン時にもリセット信号を発生し、該リセット
信号をマイクロコンピュータCPU2の端子「9汀に印
加する。
Two microcomputers cPU1. The reset IC 202 provided between the CPU 2 has a built-in watchdog timer, and monitors the repeated pulse signal CLK output from the microcomputer CPU 1 from its output port PORT 2. If it is not detected for a predetermined period of time or longer, the reset IC 202 is reset. A signal is applied to the reset terminal RESET of the microcomputer CPU2. Reset IC20
2 generates a reset signal even when the power is turned on, and applies the reset signal to the terminal ``9'' of the microcomputer CPU2.

CPUIの出力ポートPORTIはCPU2”の割り込
み要求入力ボートNMI(ノンマスカブルインタラブド
)に接続されており、またCPU2の出力ポートPOR
TIはCPUIのリセット端子RESETにインバータ
を介して接続されている。更に、マイクロコンピュータ
CPU2には、バッテリBATによって電源オフ時でも
記1内容が消滅しないようにバックアップされたRAM
(読み書きメモリ)205が接続されている。
The output port PORTI of CPUI is connected to the interrupt request input port NMI (Non-Maskable Interrupted) of CPU2, and the output port PORTI of CPU2 is
TI is connected to a reset terminal RESET of CPUI via an inverter. Furthermore, the microcomputer CPU2 has a RAM backed up by a battery BAT so that the contents described in 1 will not be erased even when the power is turned off.
(read/write memory) 205 is connected.

第5a図、第5b図及び第5c図にマイクCコンピュー
タCPUIの動作の主要部を示し、第6a図及び第6b
図にマイクロコンピュータCPU2の動作の主要部を示
す。
Figures 5a, 5b and 5c show the main parts of the operation of the microphone C computer CPUI, and Figures 6a and 6b
The figure shows the main parts of the operation of the microcomputer CPU2.

まず第5a図を参照してCPUIのメインルチンを説明
する。電源が投入され、リセット信号がCPUIの端子
RESETに印加されそのリセット信号が解除された後
、第5a図の処理が最初から実行される。
First, the main routine of the CPUI will be explained with reference to FIG. 5a. After the power is turned on, a reset signal is applied to the terminal RESET of the CPUI, and the reset signal is released, the process of FIG. 5a is executed from the beginning.

ステップ1では、ゼロクロス検出回路201の出力する
パルスを監視するために使用されるゼロクロスタイマを
スタートする。
In step 1, a zero-cross timer used to monitor pulses output by the zero-cross detection circuit 201 is started.

次のステップ2〜8の処理は、ループ状に繰り返し実行
される。まずステップ2では出力ポートPORT2にO
(低レベルに対応)を出力し、次のステップ3では露光
ランプ制御を実行し、次のステップ4では定着ヒータ制
御を実行し、次のステップ5ではスキャナモータ制御を
実行し、次のステップ6では高圧電源制御を実行し、次
のステップ7では負荷及びセンサの制御を実行し、最後
のステップ8では出力ポートPORT2に1 (高レベ
ルに対応)を出力する。
The following steps 2 to 8 are repeatedly executed in a loop. First, in step 2, output port PORT2 is
(corresponding to low level), the next step 3 executes exposure lamp control, the next step 4 executes fixing heater control, the next step 5 executes scanner motor control, and the next step 6 In step 7, high-voltage power supply control is executed, in the next step 7, load and sensor control is executed, and in the final step 8, 1 (corresponding to high level) is output to the output port PORT2.

従って、マイクロコンピュータCPUIの出力ポートP
ORT2には、通常の制御中に0と1とが交互にほぼ一
定の周期で繰り返し出力され、これによって繰り返しパ
ルスCLKがリセットIC202に印加される。
Therefore, the output port P of the microcomputer CPUI
During normal control, 0 and 1 are repeatedly output to the ORT 2 alternately at a substantially constant cycle, thereby repeatedly applying a pulse CLK to the reset IC 202 .

一方、ゼロクロス検出回路201の出力するパルス信号
が現われる毎に、マイクロコンピュータCPUIに割り
込み要求が発生し、これに応答してCPUIは第5b図
に示す割込み処理を実行する。この割り込み処理では、
単に、ゼロクロスタイマをクリアして元の処理に復帰す
る。
On the other hand, every time the pulse signal output from the zero-crossing detection circuit 201 appears, an interrupt request is generated to the microcomputer CPUI, and in response, the CPUI executes the interrupt process shown in FIG. 5b. In this interrupt handling,
Simply clear the zero-cross timer and return to the original process.

予めゼロクロスタイマに設定しである時間は、ゼロクロ
ス検出回路201が出力するパルスの周期よりも大きい
。従って、そのパルスが連続的に現われている閏は、ゼ
ロクロスタイマがタイムオーバする前に、第5b図の割
り込み処理によってゼロクロスタイマがクリアされるの
で、それがタイムオーバする機会は生じない。しかし、
電源が遮断されると、ゼロクロス検出回路がパルスを出
力しなくなるので、CPUIに割り込み要求が発生しな
くなり、ゼロクロスタイマがクリアされないので、所定
時間に達した時にゼロクロスタイマがタイムオーバする
The time set in advance in the zero-cross timer is longer than the period of the pulse output by the zero-cross detection circuit 201. Therefore, for the leap whose pulses appear continuously, the zero-crossing timer is cleared by the interrupt processing shown in FIG. 5b before the zero-crossing timer times out, so there is no chance for the zero-crossing timer to time out. but,
When the power is cut off, the zero-cross detection circuit no longer outputs pulses, so an interrupt request is no longer generated to the CPUI, and the zero-cross timer is not cleared, so the zero-cross timer times out when a predetermined time is reached.

ゼロクロスタイマがタイムオーバすると、CPUIの内
部でタイマ割り込み要求が発生し、これに応答して、C
PUIは第5c図に示すタイマ割り込み処理を実行する
。このタイマ割り込み処理では、出力ポートPORTI
にOを出力する。この信号は、ゼロクロス信号がとだえ
たことを示すものであり、マイクロコンピュータCPU
2に印加される。
When the zero cross timer times out, a timer interrupt request is generated inside the CPUI, and in response, the CPU
The PUI executes the timer interrupt process shown in Figure 5c. In this timer interrupt processing, the output port PORTI
Outputs O to . This signal indicates that the zero cross signal has stopped, and the microcomputer CPU
2.

次に、第6a図を参照してCPU2のメインルーチンを
説明する。電源が投入された後、又は通電中にリセット
信号がCPU2の端子RESETに印加されそのリセッ
ト信号が解除された後、第6a図の処理が最初から実行
される。
Next, the main routine of the CPU 2 will be explained with reference to FIG. 6a. After the power is turned on, or after a reset signal is applied to the terminal RESET of the CPU 2 while the power is on and the reset signal is released, the process shown in FIG. 6a is executed from the beginning.

まずステップ21では、所定の初期設定を実行する。次
のステップ23では、RAM205に記憶された情報(
ゼロクロス断フラグ)を参照することによって、その直
前にマイクロコンピュータCPUIに異常が発生したか
否かを識別する。
First, in step 21, predetermined initial settings are performed. In the next step 23, the information stored in the RAM 205 (
By referring to the zero-cross disconnection flag), it is determined whether or not an abnormality has occurred in the microcomputer CPUI immediately before.

即チ、マイクロコンピュータCPUIがゼロクロス信号
の欠落、つまり交流電源の遮断を検出した時には、前述
のように、CPTJIの出力ポートPORTIが低レベ
ルになり、これによってマイクロコンピュータCPU2
に割り込み要求がかかる。
Immediately, when the microcomputer CPUI detects the lack of a zero-crossing signal, that is, the cutoff of the AC power supply, the output port PORTI of the CPTJI becomes a low level, as described above, and this causes the microcomputer CPU2 to
An interrupt request is made.

この割り込み要求に応答して、CPU2は第6b図に示
す処理を実行する。この処理によってゼロクロス断フラ
グ(RAM205上に存在する)がセットされる。通電
中に、CPUIに異常が発生し、リセットIC202の
ウォッチドッグタイマがそれが検知してリセット信号を
CPU2の端子RESETに印加し、それによってプロ
グラムが再スタートしてステップ23に進む時には、ス
テップ32がその前に実行されていないので、ゼロクロ
スフラグはリセット状態にあり、従ってこのステップ2
3ではゼロクロス断後でないと判定し、ステップ29に
進む。
In response to this interrupt request, the CPU 2 executes the process shown in FIG. 6b. This process sets a zero-crossing flag (existing on the RAM 205). If an abnormality occurs in the CPU while power is being supplied, the watchdog timer of the reset IC 202 detects it and applies a reset signal to the terminal RESET of the CPU 2, thereby restarting the program and proceeding to step 23. has not been executed before, the zero-crossing flag is in a reset state and therefore this step 2
In step 3, it is determined that the zero cross has not occurred, and the process proceeds to step 29.

異常が発生しない時には、プログラムが再スタトするの
は電源オン直後のみである。この場合、当然のことなが
ら、その前に電源が遮断されたことになるので、その電
源遮断時にステップ32が実行されており、ゼロクロス
断フラグはセット状態にある。従ってこの場合、ステッ
プ23ではゼロクロス断後であると判定し、次にステッ
プ24に進む。
When no abnormality occurs, the program restarts only immediately after the power is turned on. In this case, as a matter of course, the power was cut off before that, so step 32 was executed when the power was cut off, and the zero-cross cutoff flag is in a set state. Therefore, in this case, it is determined in step 23 that the zero crossing has occurred, and the process then proceeds to step 24.

従って、正常時には、まずステップ24で出カポ−) 
PORTIに0を出力し、次のステップ25でゼロクロ
ス断フラグをリセットし、以後は、ステップ26のモー
ド制御、ステップ27のシーケンス制御、及びステップ
28の操作部制御を順次繰り返し実行する。
Therefore, under normal conditions, first step 24 is to output the capo.
0 is output to PORTI, the zero-cross disconnection flag is reset in the next step 25, and thereafter, the mode control in step 26, the sequence control in step 27, and the operation unit control in step 28 are sequentially and repeatedly executed.

異常が発生した場合には、まずステップ29で異常表示
を実行する。この例では、操作ボードの数値表示部(7
セグメント表示器)107にSE(システムエラー)と
表示する。次のステップ30では、まず出力ポートPO
RTIに1を出力し、続いて同じボートにOを出力する
。つまり、CP Ulにリセット信号を印加する。これ
によって、相手側のCPUIは、電源投入時と同様に、
プログラムをその最初の部分から再開するので動作が初
期化される。
If an abnormality occurs, first, in step 29, an abnormality display is executed. In this example, the numeric display section of the operation board (7
SE (system error) is displayed on segment display 107. In the next step 30, first the output port PO
Outputs a 1 to RTI, followed by an O to the same port. That is, a reset signal is applied to CPU Ul. As a result, the other party's CPU will be
The operation is initialized because the program is restarted from its beginning.

また、CPU2のプログラムはこの後、ステップ29及
び30を繰り返し実行する無限ループに入るので、以後
は複写シーケンスやモード制御(26,27)は実行し
ない。
Furthermore, since the program of the CPU 2 then enters an infinite loop in which steps 29 and 30 are repeatedly executed, the copy sequence and mode control (26, 27) are not executed thereafter.

従ってこの状態では、CPU2の処理によって操作ボー
ド上に異常の発生を報知する表示が継続的に付勢されて
おり、再び電源を投入し直さない限り、複写動作が再開
されることはない。
Therefore, in this state, a display notifying the occurrence of an abnormality is continuously activated on the operation board by the processing of the CPU 2, and the copying operation will not be restarted unless the power is turned on again.

この実施例の装置においては、例えば電気ノイズなどの
一時的な要因によってCPUIのプログラムが暴走した
場合、複写機が停止状態になって操作ボード上に異常が
表示されるので、オベレタが電源を遮断して再び電源投
入を行なうことによって、CPUI及びCPU2を初期
化し、正常な状態に戻すことができる。もしも継続的な
要因によってCPUIが暴走すると、オペレータが電源
のオフ/オンの操作を行なっても再び異常が表示される
ので、致命的な故障が発生していることにオペレータは
気付くことになる。いずれにしても、継続的な要因によ
ってCPUIが暴走する場合でも、複写シーケンスは確
実に禁止されるので、CPUIの誤動作が生じても、負
荷の異常付勢によって、火災の発生などを招く恐れはな
く、極めて安全である。
In the apparatus of this embodiment, if the CPU program goes out of control due to a temporary factor such as electrical noise, the copier will stop and an abnormality will be displayed on the operation board, so the operator will cut off the power. By turning on the power again, the CPU I and CPU 2 can be initialized and returned to a normal state. If the CPU goes out of control due to a continuous factor, the abnormality will be displayed again even if the operator turns the power off and on, and the operator will realize that a fatal failure has occurred. In any case, even if the CPU goes out of control due to continuous factors, the copy sequence will be reliably prohibited, so even if the CPU malfunctions, there is no risk of a fire occurring due to abnormal load activation. It is extremely safe.

E効果コ 以上のとおり本発明によれば、マイクロコンピュータの
ようなプログラマブル制御手段が暴走した時に、異常の
発生を表示して複写動作を停止し。
E-effects As described above, according to the present invention, when the programmable control means such as a microcomputer goes out of control, the occurrence of an abnormality is displayed and the copying operation is stopped.

負荷を安全な状態に制御するので、誤動作が繰り返し発
生する恐れがなく、重大な故障、異常発熱。
Since the load is controlled in a safe state, there is no risk of repeated malfunctions, serious failures, or abnormal heat generation.

火災などが生じるのを未然に防止しうる。This can prevent fires from occurring.

また、交流電源のゼロクロス点の検出の有無に基づいて
電源遮断の有無を識別することによって、直流電源電圧
が低くなる前に確実にその情報をメモリに書き込むこと
ができ、電源遮断有無の判定を正確に行なうことが可能
になる。
In addition, by identifying the presence or absence of a power cutoff based on whether or not a zero-crossing point of the AC power supply is detected, this information can be reliably written to the memory before the DC power supply voltage drops, making it possible to determine whether or not the power supply has been cut off. It becomes possible to do it accurately.

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

第1図は、本発明を実施する4形式の複写機の機構部の
構成を示す正面図である。 第2図は、第1図の複写機に備わった操作ボードの外観
を示す平面図である。 第3図は、第1図の複写機の電装部の構成を示すブロッ
ク図である。 第4図は、第3図の回路の一部分を詳細に示すブロック
図である。 第5a図、第5b図及び第5c図は、第4図のCPUI
の処理を示すフローチャートである。 第6a図及び第6b図は、第4図のCPU2の処理を示
すフローチャートである。 2、操作ボード 107°数値表示部(異常表示手段) 200 :交流電源 201:ゼロクロス検出回路(電源信号発生手段)20
2゛リセツトIC(リセット手段)203 : )ラン
ジスタ 205:RAM CPUI  マイクロコンピュータ(第1のプログラマ
ブル制御手段) CPU2 :マイクロコンピュータ(第2のプログラマ
ブル制御手段)
FIG. 1 is a front view showing the structure of a mechanical section of four types of copying machines embodying the present invention. FIG. 2 is a plan view showing the appearance of an operation board provided in the copying machine of FIG. 1. FIG. FIG. 3 is a block diagram showing the configuration of the electrical equipment section of the copying machine shown in FIG. 1. FIG. 4 is a block diagram showing in detail a portion of the circuit of FIG. 3. FIGS. 5a, 5b, and 5c show the CPU of FIG.
3 is a flowchart showing the processing of FIG. 6a and 6b are flowcharts showing the processing of the CPU 2 in FIG. 4. 2. Operation board 107° Numerical display section (abnormality display means) 200: AC power supply 201: Zero cross detection circuit (power signal generation means) 20
2. Reset IC (reset means) 203: ) Transistor 205: RAM CPUI Microcomputer (first programmable control means) CPU2: Microcomputer (second programmable control means)

Claims (2)

【特許請求の範囲】[Claims] (1)複写機に設けられた各種の制御対象負荷;異常表
示手段; 交流電源の状態を示す電源信号を発生する電源信号発生
手段; 繰り返しパルスの入力が所定時間以上ない時、及び電源
投入時にリセット信号を出力する、リセット手段; 前記制御対象負荷、電源信号発生手段、及びリセット手
段に接続され、該制御対象負荷を制御するとともに、前
記電源信号を監視して電源遮断の有無を識別し、更に繰
り返しパルスを生成してそれを周期的に前記リセット手
段に印加する、第1のプログラマブル制御手段;及び 複写機のシーケンス制御を実行する手段であって、電源
遮断時にもその記憶内容を保持する記憶手段を含み、前
記リセット手段及び前記第1のプログラマブル制御手段
と接続され、前記リセット信号によって動作状態が初期
化される、第2のプログラマブル制御手段;を備え、第
2のプログラマブル制御手段は、第1のプログラマブル
制御手段が電源遮断を検出するとその情報を記憶手段に
記憶するとともに、初期状態からの動作再開時には、記
憶手段の内容に基づいて異常発生の有無を識別し、異常
有の場合には、前記異常表示手段を付勢するとともに、
初期化信号を第1のプログラマブル制御手段に印加し、
更にそれ以後の複写シーケンス動作を禁止する、複写制
御装置。
(1) Various controlled loads provided in the copying machine; Abnormality display means; Power signal generation means for generating a power signal indicating the status of the AC power supply; When no repetitive pulse is input for a predetermined period of time or more, and when the power is turned on. Reset means for outputting a reset signal; connected to the controlled load, the power signal generation means, and the reset means, and controls the controlled load and monitors the power signal to identify whether or not the power is cut off; Further, a first programmable control means for generating a repetitive pulse and periodically applying it to the reset means; and means for executing sequence control of the copying machine, the memory contents of which are retained even when the power is cut off. a second programmable control means including a storage means, connected to the reset means and the first programmable control means, and whose operating state is initialized by the reset signal; the second programmable control means: When the first programmable control means detects a power interruption, it stores the information in the storage means, and when restarting the operation from the initial state, it identifies whether or not an abnormality has occurred based on the contents of the storage means, and if there is an abnormality, the first programmable control means stores the information in the storage means. energizes the abnormality display means, and
applying an initialization signal to the first programmable control means;
A copy control device that further prohibits subsequent copy sequence operations.
(2)前記電源信号発生手段は、交流電源波形のゼロク
ロス点を検出する毎にパルスを出力するゼロクロス検出
手段であり、前記第1のプログラマブル制御手段は、ゼ
ロクロス点のパルスが所定時間以上現われない場合に電
源遮断有を検出する、前記請求項1記載の複写制御装置
(2) The power supply signal generating means is a zero-crossing detection means that outputs a pulse every time a zero-crossing point of the AC power waveform is detected, and the first programmable control means is configured such that the pulse at the zero-crossing point does not appear for a predetermined period of time or more. 2. The copy control apparatus according to claim 1, wherein the copy control apparatus detects whether or not a power supply is interrupted.
JP2205514A 1990-08-02 1990-08-02 Copying controller Pending JPH0490563A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2205514A JPH0490563A (en) 1990-08-02 1990-08-02 Copying controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2205514A JPH0490563A (en) 1990-08-02 1990-08-02 Copying controller

Publications (1)

Publication Number Publication Date
JPH0490563A true JPH0490563A (en) 1992-03-24

Family

ID=16508131

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2205514A Pending JPH0490563A (en) 1990-08-02 1990-08-02 Copying controller

Country Status (1)

Country Link
JP (1) JPH0490563A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5802421A (en) * 1994-08-26 1998-09-01 Canon Kabushiki Kaisha Heating and fixing device with AC zero-cross detection circuit
JP2003029595A (en) * 2001-07-12 2003-01-31 Canon Inc Image forming device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5802421A (en) * 1994-08-26 1998-09-01 Canon Kabushiki Kaisha Heating and fixing device with AC zero-cross detection circuit
JP2003029595A (en) * 2001-07-12 2003-01-31 Canon Inc Image forming device
JP4630495B2 (en) * 2001-07-12 2011-02-09 キヤノン株式会社 Image forming apparatus

Similar Documents

Publication Publication Date Title
JPS5975353A (en) Multiplex processor type machine controller and recover met-hod
JP2003072968A (en) Image forming device
JPH0438655B2 (en)
US6490692B1 (en) Image forming apparatus with improved monitoring system for operation of microprocessor controlling image forming operation
JPH0490563A (en) Copying controller
JPH0220879A (en) Copying machine
JP4720628B2 (en) Paper feeder
JPS5972554A (en) Multiplex processor type control apparatus and method
JPH0485657A (en) Multiprocessor control device
US6556794B2 (en) Carrying apparatus and image forming apparatus
JP2832964B2 (en) Recording device fuser control device
JPH0490033A (en) Microcomputer circuit
JPH02132021A (en) Sheet feed direction switching device for sheet cassette
JP5120470B2 (en) Paper feeding device and image forming system
JP2723543B2 (en) Image forming device
JP2011065064A (en) Image forming apparatus and program
JPS6175370A (en) Control system of electronic copying machine
JP2897233B2 (en) Document feeder
JP2811699B2 (en) Document feeder
JPS6022357Y2 (en) Abnormal state detection device for copying machines
JPH0243569A (en) Abnormality monitoring device for business apparatus
JPH0430582B2 (en)
JPH02175543A (en) Document feed device control system for recording device
JP2705176B2 (en) Copier
JPH0242560A (en) Monitor control method for controller