JP2023105439A - Information processing apparatus, image forming apparatus, control method for information processing apparatus, and control program for information processing apparatus - Google Patents

Information processing apparatus, image forming apparatus, control method for information processing apparatus, and control program for information processing apparatus Download PDF

Info

Publication number
JP2023105439A
JP2023105439A JP2022006265A JP2022006265A JP2023105439A JP 2023105439 A JP2023105439 A JP 2023105439A JP 2022006265 A JP2022006265 A JP 2022006265A JP 2022006265 A JP2022006265 A JP 2022006265A JP 2023105439 A JP2023105439 A JP 2023105439A
Authority
JP
Japan
Prior art keywords
power supply
controller
memory
information processing
processing apparatus
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
JP2022006265A
Other languages
Japanese (ja)
Inventor
範久 松田
Norihisa Matsuda
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 JP2022006265A priority Critical patent/JP2023105439A/en
Publication of JP2023105439A publication Critical patent/JP2023105439A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Facsimiles In General (AREA)

Abstract

To prevent wrong data from being written in a memory while power is cut off.SOLUTION: An information processing apparatus has: a capacitor that stores electric charges supplied from a power source; a first controller that operates by power supply voltage received via the capacitor; a memory that is accessed by the first controller; and a second controller that, when the supply from the power source is stopped for a predetermined time, inhibits a writing operation in the memory performed by the first controller.SELECTED DRAWING: Figure 3

Description

本発明は、情報処理装置、画像形成装置、情報処理装置の制御方法および情報処理装置の制御プログラムに関する。 The present invention relates to an information processing device, an image forming device, a control method for an information processing device, and a control program for an information processing device.

画像形成装置において、停電またはコンセント抜けにより交流電圧のゼロクロス点が所定時間検出されない場合、不揮発性メモリにデータを書き込むことで最新のデータの消失を防止する技術が開示されている(例えば、特許文献1参照)。 In an image forming apparatus, when the zero-crossing point of the AC voltage is not detected for a predetermined time due to a power failure or unplugged power supply, a technique is disclosed for preventing the loss of the latest data by writing data to a nonvolatile memory (see, for example, Patent Document 1).

しかしながら、電源が遮断され電源電圧が低下する期間にメモリにデータを書き込む場合、誤ったデータがメモリに書き込まれるおそれがある。 However, when data is written to the memory while the power supply is cut off and the power supply voltage drops, there is a risk that erroneous data will be written to the memory.

上記の課題に鑑み、本発明は、電源の遮断時に誤ったデータがメモリに書き込まれることを防止することを目的とする。 SUMMARY OF THE INVENTION In view of the above problems, it is an object of the present invention to prevent erroneous data from being written to a memory when power is cut off.

上記技術的課題を解決するため、本発明の一形態の情報処理装置は、電源から供給される電荷を蓄積するコンデンサと、前記コンデンサを介して受ける電源電圧により動作する第1コントローラと、前記第1コントローラによりアクセスされるメモリと、前記電源の供給が所定時間停止された場合、前記第1コントローラによる前記メモリのライト動作を禁止させる第2コントローラと、を有することを特徴とする。 In order to solve the above technical problem, an information processing apparatus according to one aspect of the present invention includes: a capacitor that accumulates electric charge supplied from a power source; a first controller that operates with a power supply voltage received via the capacitor; and a second controller that prohibits the write operation of the memory by the first controller when the power supply is stopped for a predetermined time.

電源の遮断時に誤ったデータがメモリに書き込まれることを防止することができる。 Wrong data can be prevented from being written to the memory when the power is cut off.

本発明の第1の実施形態に係る画像形成装置の全体構成図である。1 is an overall configuration diagram of an image forming apparatus according to a first embodiment of the present invention; FIG. 図1の画像形成装置の要部のハードウェア概要を示すブロック図である。2 is a block diagram showing the hardware outline of the main part of the image forming apparatus of FIG. 1; FIG. 図2のコントローラ制御基板の一例を示す回路ブロック図である。3 is a circuit block diagram showing an example of a controller control board in FIG. 2; FIG. 図3のコントローラ制御基板の動作の一例を示すフロー図である。4 is a flow chart showing an example of the operation of the controller control board of FIG. 3; FIG. 図3のコントローラ制御基板の動作の一例を示すシーケンス図である。4 is a sequence diagram showing an example of the operation of the controller control board of FIG. 3; FIG. 本発明の第2の実施形態の画像形成装置におけるコントローラ制御基板の一例を示す回路ブロック図である。FIG. 7 is a circuit block diagram showing an example of a controller control board in the image forming apparatus according to the second embodiment of the invention; 図6のコントローラ制御基板の動作の一例を示すシーケンス図である。FIG. 7 is a sequence diagram showing an example of the operation of the controller control board of FIG. 6;

以下、図面を用いて実施形態を説明する。以下では、信号を示す符号は、信号値、信号線または信号端子を示す符号としても使用される。電圧を示す符号は、電圧が供給される電圧線または電圧端子を示す符号としても使用される。 Embodiments will be described below with reference to the drawings. In the following, symbols indicating signals are also used as symbols indicating signal values, signal lines or signal terminals. Symbols indicating voltages are also used as symbols indicating voltage lines or voltage terminals to which the voltage is supplied.

図1は、本発明の第1の実施形態に係る画像形成装置の全体構成図である。図1に示す画像形成装置1は、例えば、コピー機能、プリント機能、スキャナ機能およびファクシミリ機能等を有するデジタル複合機(MFP:Multi-Function Printer)である。画像形成装置1は、図示しない操作部のアプリケーション切り替えキー等により、コピー機能、プリント機能、スキャナ機能およびファクシミリ機能をそれぞれ実現する動作モードを相互に切り替えることが可能である。画像形成装置1は、コピー機能の選択時にはコピーモードとなり、プリント機能の選択時にはプリントモードとなり、スキャナ機能の選択時にはスキャナモードとなり、ファクシミリ機能の選択時にはファクシミリモードとなる。なお、画像形成装置1は、コピー機能のみを有するコピー機、プリント機能のみを有するプリンタ、またはファクシミリ機能のみを有するファクシミリでもよい。 FIG. 1 is an overall configuration diagram of an image forming apparatus according to the first embodiment of the present invention. The image forming apparatus 1 shown in FIG. 1 is, for example, a digital multifunction peripheral (MFP: Multi-Function Printer) having a copy function, a print function, a scanner function, a facsimile function, and the like. The image forming apparatus 1 can switch between operation modes that realize a copy function, a print function, a scanner function, and a facsimile function by using an application switching key or the like of an operation unit (not shown). The image forming apparatus 1 is in the copy mode when the copy function is selected, in the print mode when the print function is selected, in the scanner mode when the scanner function is selected, and in the facsimile mode when the facsimile function is selected. Note that the image forming apparatus 1 may be a copier having only a copying function, a printer having only a printing function, or a facsimile machine having only a facsimile function.

また、画像形成装置1は、内部回路の状態に応じて、内部状態が動作中モード(動作している状態)、待機モード(待機している状態)または省エネルギーモード(低電力状態)等に切り替わる。以下では、省エネルギーモードは、省エネモードとも称される。 Further, the internal state of the image forming apparatus 1 is switched to an operating mode (operating state), a standby mode (standby state), an energy saving mode (low power state), or the like, depending on the state of the internal circuit. . In the following, energy saving mode is also referred to as energy saving mode.

例えば、動作中モードは、画像またはテキストデータ等を紙媒体等に印刷するコピーモードまたはプリントモードを含む。プリントモードは、ファクシミリモードにおいて受信データを紙媒体等に印刷する動作を含む。また、動作中モードは、原稿等をスキャンするスキャナモードまたはファクシミリモードにおける送受信動作を含む。内部回路の状態は、ユーザによる操作部の操作または画像形成装置1内での制御により切り替わる。 For example, the active mode includes a copy mode or a print mode for printing image or text data or the like on a paper medium or the like. The print mode includes an operation of printing received data on a paper medium or the like in the facsimile mode. Also, the operating mode includes transmission/reception operations in a scanner mode for scanning a document or the like or a facsimile mode. The state of the internal circuit is switched by the operation of the operation unit by the user or the control within the image forming apparatus 1 .

例えば、画像形成装置1は、自動原稿送り装置2(ADF:Auto Document Feeder)、画像読み取り装置3、書き込みユニット4、プリンタユニット5、電源装置20および制御装置21を有する。プリンタユニット5は、感光体ドラム6、現像装置7、搬送ベルト8および定着装置9と、給紙トレイ10が収納される収納空間とを有する。プリンタユニット5は、画像情報に基づいて紙媒体等に転写するトナー像を作成する。プリンタユニット5は、画像を形成する画像形成部の一例である。以下、画像形成装置1での画像の形成の流れの一例として、動作モードがコピーモードに設定されている場合について簡単に説明する。 For example, the image forming apparatus 1 has an automatic document feeder (ADF), an image reader 3 , a writing unit 4 , a printer unit 5 , a power supply 20 and a control device 21 . The printer unit 5 has a photosensitive drum 6, a developing device 7, a conveying belt 8, a fixing device 9, and a storage space in which a paper feed tray 10 is stored. The printer unit 5 creates a toner image to be transferred onto a paper medium or the like based on image information. The printer unit 5 is an example of an image forming section that forms an image. As an example of the flow of image formation in the image forming apparatus 1, a case where the operation mode is set to the copy mode will be briefly described below.

コピーモードでは、コピーの対象である複数枚の原稿が自動原稿送り装置2にセットされる。図示しない操作部のスタートボタンが押されると、自動原稿送り装置2は、原稿を1枚ずつ画像読み取り装置3に給送する。画像読み取り装置3は、自動原稿送り装置2から順に送られる各原稿の画像情報を読み取る。画像読み取り装置3により読み取られた画像情報は、例えば、制御装置21に搭載される画像処理部により処理される。 In the copy mode, a plurality of originals to be copied are set on the automatic document feeder 2 . When a start button on an operation unit (not shown) is pressed, the automatic document feeder 2 feeds the documents one by one to the image reading device 3 . The image reading device 3 reads image information of each document sequentially sent from the automatic document feeder 2 . Image information read by the image reading device 3 is processed by, for example, an image processing unit mounted on the control device 21 .

書き込みユニット4は、画像処理部により処理された画像情報を光情報に変換する。感光体ドラム6は、図示しない帯電器により一様に帯電された後、書き込みユニット4により変換された光情報を含むレーザ光により露光される。露光により、感光体ドラム6上には静電潜像が形成される。現像装置7は、感光体ドラム6上の静電潜像を現像し、感光体ドラム6上にトナー像を形成する。搬送ベルト8は、トナー像を紙媒体等に転写する。定着装置9は、トナー像を紙媒体等に定着させる。そして、原稿の画像がコピーされた転写紙は、排出部から排出される。 The writing unit 4 converts the image information processed by the image processing section into optical information. The photosensitive drum 6 is uniformly charged by a charger (not shown) and then exposed to laser light containing optical information converted by the writing unit 4 . An electrostatic latent image is formed on the photosensitive drum 6 by the exposure. The developing device 7 develops the electrostatic latent image on the photoreceptor drum 6 to form a toner image on the photoreceptor drum 6 . A conveying belt 8 transfers the toner image onto a paper medium or the like. The fixing device 9 fixes the toner image onto a paper medium or the like. Then, the transfer paper on which the image of the original is copied is discharged from the discharge section.

例えば、上述した待機モードは、コピーモードにおいて、スタートボタンが押されるまでの状態であり、動作中モードは、スタートボタンが押されてから紙媒体等が排出されるまでの状態であり、モータ等の負荷が動作している状態である。動作中モードの終了後、画像形成装置1の状態は待機モードに戻り、待機モードが所定時間継続すると省エネモードになる。そして、省エネモード中に、操作部が操作されると画像形成装置1の状態は待機モードに復帰する。 For example, the standby mode described above is the state in the copy mode until the start button is pressed, and the operating mode is the state from the time the start button is pressed until the paper medium or the like is ejected. load is in operation. After the operating mode ends, the state of the image forming apparatus 1 returns to the standby mode, and when the standby mode continues for a predetermined time, the energy saving mode is entered. When the operation unit is operated during the energy saving mode, the state of the image forming apparatus 1 returns to the standby mode.

電源装置20は、商用電源等の交流電源30から供給される交流電圧を複数種の直流電圧(例えば、第1直流電圧および第2直流電圧)に変換する。電源装置20は、変換した第1直流電圧を画像形成装置1のプリンタユニット5等の各種負荷に供給する。例えば、負荷として、各種モータ、感光体ドラム6を帯電させる帯電器および現像装置7の現像ローラ等がある。電源装置20は、変換した第2直流電圧を制御装置21に供給する。 The power supply device 20 converts an AC voltage supplied from an AC power supply 30 such as a commercial power supply into a plurality of types of DC voltages (for example, a first DC voltage and a second DC voltage). The power supply device 20 supplies the converted first DC voltage to various loads such as the printer unit 5 of the image forming apparatus 1 . For example, loads include various motors, a charger for charging the photosensitive drum 6, a developing roller of the developing device 7, and the like. The power supply device 20 supplies the converted second DC voltage to the control device 21 .

制御装置21に供給される第2直流電圧は、制御装置21に搭載されるCPU(Central Processing Unit)およびメモリ等の動作電源として使用される。制御装置21は、内蔵するCPU等のコントローラに制御プログラムを実行させることで、画像形成装置1の全体の動作を制御する。このように、画像形成装置1は、商用電源からの電力を受けて動作する。制御装置21は、制御プログラムを実行することで、画像の形成等の制御方法を実行する情報処理装置の一例である。 The second DC voltage supplied to the control device 21 is used as an operating power source for a CPU (Central Processing Unit) mounted on the control device 21, a memory, and the like. The control device 21 controls the overall operation of the image forming apparatus 1 by causing a controller such as a built-in CPU to execute a control program. Thus, the image forming apparatus 1 operates by receiving power from the commercial power supply. The control device 21 is an example of an information processing device that executes a control method such as image formation by executing a control program.

図2は、図1の画像形成装置1の要部のハードウェア構成の一例を示すブロック図である。画像形成装置1は、AC(Alternating Current)/DC(Direct Current)コンバータ40、プリンタ50、スキャナ60、ファクシミリ70、操作部80、エンジン制御基板100およびコントローラ制御基板200を有する。 FIG. 2 is a block diagram showing an example of a hardware configuration of main parts of the image forming apparatus 1 of FIG. The image forming apparatus 1 has an AC (Alternating Current)/DC (Direct Current) converter 40 , a printer 50 , a scanner 60 , a facsimile machine 70 , an operation section 80 , an engine control board 100 and a controller control board 200 .

AC/DCコンバータ40は、交流電源30から供給される交流電圧から変換した第2直流電圧をエンジン制御基板100に供給する。AC/DCコンバータ40は、図1の電源装置20に対応する。エンジン制御基板100に供給された第2直流電圧は、エンジン制御基板100を介して、プリンタ50、スキャナ60、ファクシミリ70および操作部80の制御部と、コントローラ制御基板200とにそれぞれ供給される。 The AC/DC converter 40 supplies the engine control board 100 with a second DC voltage converted from the AC voltage supplied from the AC power supply 30 . AC/DC converter 40 corresponds to power supply device 20 in FIG. The second DC voltage supplied to engine control board 100 is supplied via engine control board 100 to control units of printer 50 , scanner 60 , facsimile 70 and operation unit 80 , and controller control board 200 .

例えば、プリンタ50は、図1の書き込みユニット4およびプリンタユニット5に対応する。スキャナ60は、画像読み取り装置3に対応する。例えば、ファクシミリ70、エンジン制御基板100およびコントローラ制御基板200は、図1の制御装置21に対応する。 For example, printer 50 corresponds to writing unit 4 and printer unit 5 of FIG. A scanner 60 corresponds to the image reading device 3 . For example, the facsimile machine 70, the engine control board 100 and the controller control board 200 correspond to the control device 21 in FIG.

図3は、図2のコントローラ制御基板200の一例を示す回路ブロック図である。コントローラ制御基板200は、マイコン(マイクロコンピュータ)210、メインCPU220、電源制御スイッチ230、メモリ240、パワーオンリセット回路250、260、スイッチDCSW、アンド回路ANDおよびコンデンサC1、C2を有する。 FIG. 3 is a circuit block diagram showing an example of the controller control board 200 of FIG. The controller control board 200 has a microcomputer (microcomputer) 210, a main CPU 220, a power control switch 230, a memory 240, power-on reset circuits 250, 260, a switch DCSW, an AND circuit AND, and capacitors C1, C2.

AC/DCコンバータ40は、ACケーブル等を介して交流電源30が画像形成装置1に接続され、交流電源30から電力を受けている間、電源が供給されていることを示すゼロクロス信号電圧を出力する。ゼロクロス信号ZCRSは、交流電源30から受ける交流電圧が0Vを横切るときに論理値が反転する信号であり、例えば、交流電圧の周期と同じ周期を有するパルス信号である。このように、AC/DCコンバータ40は、電源の供給を検出する電源検出部として機能する。 The AC/DC converter 40 is connected to the image forming apparatus 1 via an AC cable or the like, and outputs a zero-cross signal voltage indicating that power is being supplied while receiving power from the AC power supply 30 . do. The zero-cross signal ZCRS is a signal whose logical value is inverted when the AC voltage received from the AC power supply 30 crosses 0 V, and is, for example, a pulse signal having the same period as the AC voltage. Thus, the AC/DC converter 40 functions as a power detector that detects the supply of power.

マイコン210は、電源電圧VCCA(第2直流電圧)を受けて動作する。マイコン210は、画像形成装置1の電源を制御する機能を有する。例えば、マイコン210は、コントローラ制御基板200に供給される電源電圧VCCAを電源線VCCBに供給する制御を実施する。 The microcomputer 210 operates by receiving the power supply voltage VCCA (second DC voltage). The microcomputer 210 has a function of controlling the power of the image forming apparatus 1 . For example, the microcomputer 210 performs control to supply the power supply voltage VCCA supplied to the controller control board 200 to the power supply line VCCB.

また、マイコン210は、AC/DCコンバータ40から出力されるゼロクロス信号ZCRSを監視することで、画像形成装置1に交流電源30が接続されているか否かを判定することができる。そして、マイコン210は、ゼロクロス信号ZCRSに応じて、メモリ240のライトプロテクト機能を制御することができる。マイコン210が実行する制御プログラムは、メモリ240に格納されていてもよく、内蔵メモリに格納されていてもよい。マイコン210は、第2コントローラの一例である。 Further, the microcomputer 210 can determine whether or not the AC power supply 30 is connected to the image forming apparatus 1 by monitoring the zero cross signal ZCRS output from the AC/DC converter 40 . Then, the microcomputer 210 can control the write protect function of the memory 240 according to the zero cross signal ZCRS. The control program executed by the microcomputer 210 may be stored in the memory 240 or may be stored in the built-in memory. Microcomputer 210 is an example of a second controller.

メインCPU220は、電源電圧VCCB(第2直流電圧)を受けて動作する。メインCPU220は、画像形成装置1のプリンタ動作およびスキャナ動作等の動作を制御する機能を有する。例えば、メインCPU220は、メモリ240にアクセスすることで、画像形成装置1を動作させる制御プログラムを実行し、動作に使用するデータおよび各種パラメータ等をメモリ240に読み書きする。メインCPU220は、第1コントローラの一例である。 The main CPU 220 operates by receiving a power supply voltage VCCB (second DC voltage). The main CPU 220 has a function of controlling operations such as a printer operation and a scanner operation of the image forming apparatus 1 . For example, the main CPU 220 accesses the memory 240 to execute a control program for operating the image forming apparatus 1 , and reads and writes data and various parameters used for operation in the memory 240 . Main CPU 220 is an example of a first controller.

電源制御スイッチ230は、マイコン210からの制御信号に応じて、電源線VCCAと電源線VCCBとの接続を制御する。例えば、電源制御スイッチ230は、画像形成装置1がプリンタ動作およびスキャナ動作等の動作を実施する通常モードに設定されている場合、電源線VCCAを電源線VCCBに接続する。また、例えば、電源制御スイッチ230は、画像形成装置1が省エネルギーモードに設定されている場合、電源線VCCAと電源線VCCBとの接続を遮断する。 The power control switch 230 controls connection between the power line VCCA and the power line VCCB according to a control signal from the microcomputer 210 . For example, the power control switch 230 connects the power line VCCA to the power line VCCB when the image forming apparatus 1 is set to a normal mode in which operations such as a printer operation and a scanner operation are performed. Further, for example, the power control switch 230 cuts off the connection between the power line VCCA and the power line VCCB when the image forming apparatus 1 is set to the energy saving mode.

メモリ240は、例えば、フラッシュメモリまたはMRAM(Magnetoresistive Random Access Memory)等の電気的に書き換え可能な不揮発性メモリであり、電源電圧VCCBを受けて動作する。メモリ240は、メインCPU220からのクロック信号CLKおよび図示しないメモリアクセス信号(アドレス信号およびアクセス制御信号等)に応じて、リード動作またはライト動作を実行する。メモリ240は、ライト動作時、メモリアクセス信号とともにメインCPU220から受けるデータ入力信号DIをメモリセルに書き込む。メモリ240は、リード動作時、メモリセルから読み出したデータをデータ出力信号DOとしてメインCPU220に出力する。 The memory 240 is, for example, an electrically rewritable nonvolatile memory such as a flash memory or MRAM (Magnetoresistive Random Access Memory), and operates by receiving a power supply voltage VCCB. The memory 240 performs a read operation or a write operation according to a clock signal CLK from the main CPU 220 and memory access signals (address signal, access control signal, etc.) not shown. The memory 240 writes the data input signal DI received from the main CPU 220 together with the memory access signal into the memory cell during the write operation. The memory 240 outputs the data read from the memory cell to the main CPU 220 as a data output signal DO during a read operation.

なお、メモリ240は、メインCPU220から出力されるライトプロテクト信号/WPcまたはマイコン210から出力されるライトプロテクト信号/WPmをライトプロテクト端子/WPで受けている期間、ライト動作を禁止する。ライトプロテクト信号/WPc、/WPm、/WPは、負論理の信号であり、ロウレベルが書き込み禁止状態であり、ハイレベルが書き込み許可状態である。メモリ240は、ライトプロテクト信号/WPがロウレベルのとき、ライト動作を禁止し、ライトプロテクト信号/WPがハイレベルのとき、ライト動作を許可する。 The memory 240 prohibits the write operation while the write protect terminal /WP receives the write protect signal /WPc output from the main CPU 220 or the write protect signal /WPm output from the microcomputer 210 . The write protect signals /WPc, /WPm, /WP are signals of negative logic, low level indicates a write inhibit state, and high level indicates a write enable state. The memory 240 prohibits the write operation when the write protect signal /WP is at low level, and permits the write operation when the write protect signal /WP is at high level.

ライトプロテクト信号/WPc、/WPmは、アンド回路AND(負論理のオア回路)を介してライトプロテクト端子/WPに供給される。アンド回路ANDは、一方の入力でライトプロテクト信号/WPcを受け、他方の入力でライトプロテクト信号/WPmを受け、ライトプロテクト端子/WPにライトプロテクト信号/WPを出力する。 The write protect signals /WPc and /WPm are supplied to the write protect terminal /WP via an AND circuit AND (OR circuit of negative logic). An AND circuit AND receives the write protect signal /WPc at one input, the write protect signal /WPm at the other input, and outputs the write protect signal /WP to a write protect terminal /WP.

これにより、メインCPU220だけでなく、マイコン210によりメモリ240のライトプロテクトを制御することができる。換言すれば、電源の遮断時にメインCPU220がメモリ240にライトアクセスするプログラムを実行中の場合にも、マイコン210によりメインCPU220が出力するハイレベルのライトプロテクト信号/WPcをマスクすることができる。アンド回路ANDは、メインCPU220が出力するハイレベルのライトプロテクト信号/WPcをマスクするマスク回路の一例である。 Thereby, not only the main CPU 220 but also the microcomputer 210 can control the write protection of the memory 240 . In other words, even when the main CPU 220 is executing a program for write access to the memory 240 when the power is turned off, the microcomputer 210 can mask the high-level write protect signal /WPc output by the main CPU 220 . The AND circuit AND is an example of a mask circuit that masks the high-level write protect signal /WPc output by the main CPU 220 .

なお、アンド回路ANDの2つの入力端子および1つの出力端子は、それぞれプルダウンされている。これにより、ライトプロテクト信号線/WPm、/WPc、/WPのいずれかがフローティング状態の場合に、メモリ240のライトアクセスを禁止することができ、メモリ240へのデータの誤書き込みを防止することができる。 Two input terminals and one output terminal of the AND circuit AND are pulled down. As a result, when any one of the write protect signal lines /WPm, /WPc, /WP is in a floating state, write access to the memory 240 can be prohibited, and erroneous writing of data to the memory 240 can be prevented. can.

また、プルダウンしない場合に比べて、ライトプロテクト信号線/WPm、/WPc、/WPがハイレベルからロウレベルに変化する遷移時間を早くすることができる。この結果、マイコン210からのライトプロテクト信号/WPmまたはメインCPU220からのライトプロテクト信号/WPcがロウレベルに変化したときに、メモリ240のライトアクセスを迅速に禁止することができる。 In addition, the transition time for the write protect signal lines /WPm, /WPc, /WP to change from the high level to the low level can be shortened compared to the case of not pulling down. As a result, when the write protect signal /WPm from the microcomputer 210 or the write protect signal /WPc from the main CPU 220 changes to low level, write access to the memory 240 can be quickly prohibited.

メモリ240がDRAM(Dynamic Random Access Memory)またはSRAM(Static Random Access Memory)等の揮発性メモリの場合、電源の遮断によりメモリ240に記憶されているデータは消失する。一方、フラッシュメモリ等のメモリ240は、電源の遮断後もデータを記憶し続ける。このため、データの誤書き込みのおそれがある場合、メモリ240のライトアクセスを禁止し、画像形成装置1の再起動後の誤動作を防止する必要がある。 If the memory 240 is a volatile memory such as a DRAM (Dynamic Random Access Memory) or an SRAM (Static Random Access Memory), data stored in the memory 240 will disappear when the power is turned off. On the other hand, the memory 240, such as flash memory, continues to store data even after the power is turned off. For this reason, if there is a risk of incorrect data writing, it is necessary to prohibit write access to the memory 240 to prevent malfunction after the image forming apparatus 1 is restarted.

パワーオンリセット250は、電源端子で電源電圧VCCAを受けている間、ハイレベルのリセット信号/RSTmをマイコン210に供給し、マイコン210を動作可能状態に設定する。パワーオンリセット回路250は、電源電圧VCCAが図5に示す閾値電圧VT2より低下した場合、リセット信号/RSTmをロウレベルに設定し、マイコン210をリセット状態に設定する。パワーオンリセット回路250は、第2パワーオンリセット回路の一例である。 The power-on reset 250 supplies a high-level reset signal /RSTm to the microcomputer 210 to set the microcomputer 210 to an operable state while receiving the power supply voltage VCCA at the power supply terminal. The power-on reset circuit 250 sets the reset signal /RSTm to a low level and sets the microcomputer 210 to a reset state when the power supply voltage VCCA becomes lower than the threshold voltage VT2 shown in FIG. Power-on reset circuit 250 is an example of a second power-on reset circuit.

パワーオンリセット回路260は、電源端子で電源電圧VCCBを受けている間、ハイレベルのリセット信号/RSTcをメインCPU220に供給し、メインCPU220を動作可能状態に設定する。パワーオンリセット回路260は、電源電圧VCCBが図5に示す閾値電圧VT1より低下した場合、リセット信号/RSTcをロウレベルに設定し、メインCPU220をリセット状態に設定する。パワーオンリセット回路260は、第1パワーオンリセット回路の一例である。 The power-on reset circuit 260 supplies a high-level reset signal /RSTc to the main CPU 220 to set the main CPU 220 to an operable state while receiving the power supply voltage VCCB at the power supply terminal. When the power supply voltage VCCB becomes lower than the threshold voltage VT1 shown in FIG. 5, the power-on reset circuit 260 sets the reset signal /RSTc to low level and sets the main CPU 220 to the reset state. Power-on reset circuit 260 is an example of a first power-on reset circuit.

例えば、閾値電圧VT1は、閾値電圧VT2より高い。このため、電源電圧VCCA、VCCBの低下時、リセット信号/RSTcは、リセット信号/RSTmより早くロウレベルに変化する。閾値電圧VT1は、第1電圧の一例であり、閾値電圧VT2は第2電圧の一例である。 For example, threshold voltage VT1 is higher than threshold voltage VT2. Therefore, when the power supply voltages VCCA and VCCB drop, the reset signal /RSTc changes to low level earlier than the reset signal /RSTm. The threshold voltage VT1 is an example of a first voltage, and the threshold voltage VT2 is an example of a second voltage.

スイッチDCSWは、例えば、画像形成装置1のメンテナンスまたは修理をするサービスマン等により操作される押下スイッチである。スイッチDCSWが押下されているとき、マイコン210の電源電圧端子VCCAおよびスイッチDCSWを介して、コンデンサC1、C2に蓄積された電荷が接地線VSSに放電される。これにより、電源の遮断後にコンデンサC1、C2に蓄積された電荷が自然放電するまで、マイコン210およびメインCPU220が動作し続けることを抑止することができる。 The switch DCSW is a push-down switch operated by, for example, a service person who maintains or repairs the image forming apparatus 1 . When the switch DCSW is pressed, the charges accumulated in the capacitors C1 and C2 are discharged to the ground line VSS via the power supply voltage terminal VCCA of the microcomputer 210 and the switch DCSW. This prevents the microcomputer 210 and the main CPU 220 from continuing to operate until the charges accumulated in the capacitors C1 and C2 are discharged after the power is cut off.

例えば、上記サービスマンは、画像形成装置1のメンテナンスまたは修理をする場合、電源の遮断後にスイッチDCSWを押下した後、コントローラ制御基板200を画像形成装置1から引き抜く。これにより、コンデンサC1、C2に蓄積された電荷が放電されるまでの時間を短縮することができ、作業性を向上することができる。また、スイッチDCSWを押下によりコンデンサC1、C2から電荷を確実に放電することができる。このため、コンデンサC1、C2に電荷が残った状態でコントローラ制御基板200を画像形成装置1から引き抜くことで、コントローラ制御基板に搭載された電子部品が破壊することを防止できる。 For example, when performing maintenance or repair of the image forming apparatus 1 , the service person pulls out the controller control board 200 from the image forming apparatus 1 after depressing the switch DCSW after turning off the power. As a result, the time until the charges accumulated in the capacitors C1 and C2 are discharged can be shortened, and workability can be improved. Also, by pressing the switch DCSW, the electric charges can be reliably discharged from the capacitors C1 and C2. Therefore, by pulling out the controller control board 200 from the image forming apparatus 1 while electric charges remain in the capacitors C1 and C2, it is possible to prevent the electronic components mounted on the controller control board from being destroyed.

コンデンサC1は、電源電圧VCCAを平滑化する機能と、AC/DCコンバータ40から供給される電荷を蓄積する機能とを有する。コンデンサC2は、電源電圧VCCBを平滑化する機能と、電源制御スイッチ230から供給される電荷を蓄積する機能とを有する。 Capacitor C1 has a function of smoothing power supply voltage VCCA and a function of accumulating charges supplied from AC/DC converter 40 . Capacitor C2 has a function of smoothing power supply voltage VCCB and a function of accumulating charges supplied from power control switch 230 .

図4は、図3のコントローラ制御基板200の動作の一例を示すフロー図である。すなわち、図4は、画像形成装置1が実行する制御方法の一例を示し、画像形成装置1が実行する制御プログラムの一例を示す。また、図4は、画像形成装置1に搭載される情報処理装置が実行する制御方法の一例を示し、画像形成装置1に搭載される情報処理装置が実行する制御プログラムの一例を示す。なお、制御プログラムは、画像形成装置1に着脱自在に装着される記録媒体に格納され、記録媒体からメモリ240またはマイコン210の内蔵メモリ等に転送されてもよい。 FIG. 4 is a flow chart showing an example of the operation of the controller control board 200 of FIG. 4 shows an example of a control method executed by the image forming apparatus 1, and shows an example of a control program executed by the image forming apparatus 1. FIG. Further, FIG. 4 shows an example of a control method executed by an information processing apparatus mounted on the image forming apparatus 1, and shows an example of a control program executed by the information processing apparatus mounted on the image forming apparatus 1. FIG. Note that the control program may be stored in a recording medium detachably attached to the image forming apparatus 1, and transferred from the recording medium to the memory 240, the built-in memory of the microcomputer 210, or the like.

まず、ステップS10において、画像形成装置1のACケーブルが交流電源30に接続されると、AC/DCコンバータ40は、電源電圧VCCAの生成を開始する。これにより、コンデンサC1に電荷が蓄積され、電源電圧VCCAがマイコン210およびパワーオンリセット回路250に供給される。 First, in step S10, when the AC cable of image forming apparatus 1 is connected to AC power supply 30, AC/DC converter 40 starts generating power supply voltage VCCA. As a result, electric charge is accumulated in capacitor C1, and power supply voltage VCCA is supplied to microcomputer 210 and power-on reset circuit 250. FIG.

次に、ステップS12において、パワーオンリセット回路250は、電源電圧VCCAの上昇に応じてリセット信号/RSTmをロウレベルからハイレベル(リセット解除状態)に設定し、マイコン210を起動させる。 Next, in step S12, the power-on reset circuit 250 sets the reset signal /RSTm from low level to high level (reset release state) in response to the rise of the power supply voltage VCCA, and activates the microcomputer 210. FIG.

次に、ステップS14において、起動したマイコン210は、電源制御スイッチ230をオンし、電源線VCCAを電源線VCCBに接続する。これにより、コンデンサC2に電荷が蓄積される。 Next, in step S14, the activated microcomputer 210 turns on the power control switch 230 to connect the power line VCCA to the power line VCCB. As a result, electric charge is accumulated in the capacitor C2.

次に、ステップS16において、マイコン210は、ライトプロテクト信号/WEmをロウレベルからハイレベル(H)に変化させる。これにより、メモリ240のライトプロテクト端子/WPの入力レベルもロウレベルからハイレベル(H)に変化され、メインCPU220によるメモリ240へのライトアクセスが許可される。なお、ライトプロテクト信号/WPmがハイレベルに設定された後、メインCPU220は、ライトプロテクト信号/WPcをロウレベルに設定することで、ライトプロテクト端子/WPの入力レベルもロウレベルに変化する。これにより、メモリ240へのライトアクセスを禁止することができる。 Next, in step S16, the microcomputer 210 changes the write protect signal /WEm from low level to high level (H). As a result, the input level of the write protect terminal /WP of the memory 240 is also changed from low level to high level (H), and write access to the memory 240 by the main CPU 220 is permitted. After the write protect signal /WPm is set to high level, the main CPU 220 sets the write protect signal /WPc to low level, thereby changing the input level of the write protect terminal /WP to low level. Thereby, write access to the memory 240 can be prohibited.

ステップS18において、マイコン210は、ゼロクロス信号ZCRSの論理レベルをポーリングする。次に、ステップS20において、マイコン210は、ゼロクロス信号ZCRSの論理レベルが変化しない時間が時間T1(所定時間)以上か否かを判定する。マイコン210は、ゼロクロス信号ZCRSの論理レベルが時間T1が経過する前に変化した場合、処理をステップS18に戻し、ゼロクロス信号ZCRSのポーリングを継続する。マイコン210は、ゼロクロス信号ZCRSの論理レベルが変化しない期間が時間T1以上経過した場合、処理をステップS22に移行する。 At step S18, the microcomputer 210 polls the logic level of the zero cross signal ZCRS. Next, in step S20, the microcomputer 210 determines whether or not the period during which the logic level of the zero-cross signal ZCRS does not change is longer than or equal to time T1 (predetermined time). If the logic level of zero-cross signal ZCRS changes before time T1 elapses, microcomputer 210 returns the process to step S18 and continues polling zero-cross signal ZCRS. Microcomputer 210 shifts the process to step S22 when the period in which the logic level of zero-cross signal ZCRS does not change passes time T1 or longer.

特に限定されないが、時間T1は、例えば、50ms(ミリ秒)でもよい。これにより、マイコン210は、交流電源30の遮断を検出することができる一方、画像形成装置1の動作に影響しない交流電源30の瞬停を検出の対象外にすることができる。ここで、画像形成装置1の動作に影響しない瞬停の時間は、コンデンサC1、C2に蓄積可能な電荷量に依存して決定され、決定された時間に基づいて時間T1が設定される。例えば、交流電源30の遮断は、ACケーブルの間違った引き抜き、または停電等により発生する。 Although not particularly limited, the time T1 may be, for example, 50 ms (milliseconds). As a result, the microcomputer 210 can detect interruption of the AC power supply 30 , while excluding momentary power failure of the AC power supply 30 that does not affect the operation of the image forming apparatus 1 from detection. Here, the momentary power failure time that does not affect the operation of the image forming apparatus 1 is determined depending on the amount of charge that can be accumulated in the capacitors C1 and C2, and the time T1 is set based on the determined time. For example, the interruption of the AC power supply 30 occurs due to the wrong extraction of the AC cable, power failure, or the like.

ステップS22において、マイコン210は、ライトプロテクト信号/WEmをハイレベルからロウレベルに変化させる。これにより、メモリ240のライトプロテクト端子/WPの入力レベルもハイレベルからロウレベルに変化され、メインCPU220によるメモリ240へのライトアクセスが禁止される。 In step S22, the microcomputer 210 changes the write protect signal /WEm from high level to low level. As a result, the input level of the write protect terminal /WP of the memory 240 is also changed from high level to low level, and write access to the memory 240 by the main CPU 220 is prohibited.

したがって、交流電源30が遮断された後、コンデンサC1、C2に蓄積された電荷が放電される前にメインCPU220がメモリ240にアクセス可能な場合にも、メモリ240へのライトアクセスが禁止される。この結果、ライトアクセスが途中で停止し、誤ったデータがメモリ240にライトされるデータ破壊を防止できる。そして、画像形成装置1の再起動後に、誤ったデータを保持するメモリ240により画像形成装置1が誤動作することを防止できる。 Therefore, write access to the memory 240 is prohibited even if the main CPU 220 can access the memory 240 before the charges accumulated in the capacitors C1 and C2 are discharged after the AC power supply 30 is cut off. As a result, it is possible to prevent data destruction in which write access is stopped midway and incorrect data is written to the memory 240 . Further, after the image forming apparatus 1 is restarted, it is possible to prevent the image forming apparatus 1 from malfunctioning due to the memory 240 holding erroneous data.

次に、ステップS24において、マイコン210がメモリ240へのライトアクセスを禁止した後、コンデンサC1、C2の放電が完了し、マイコン210およびメインCPU220の動作が停止する。 Next, in step S24, after the microcomputer 210 prohibits write access to the memory 240, the discharge of the capacitors C1 and C2 is completed, and the operations of the microcomputer 210 and the main CPU 220 are stopped.

図5は、図3のコントローラ制御基板の動作の一例を示すシーケンス図である。図5において、符号ONは、電源の供給状態またはゼロクロス信号ZCRSの生成状態を示し、符号OFFは、電源の供給停止状態またはゼロクロス信号ZCRSの生成停止状態を示す。 5 is a sequence diagram showing an example of the operation of the controller control board in FIG. 3. FIG. In FIG. 5, the symbol ON indicates the power supply state or the zero-cross signal ZCRS generation state, and the symbol OFF indicates the power supply stop state or the zero-cross signal ZCRS generation stop state.

まず、ACケーブルが交流電源30に接続されると、AC/DCコンバータ40は、パルス状のゼロクロス信号ZCRSを周期的に出力し、電源電圧VCCAを生成する(図5(a)、(b))。コンデンサC1は、電源電圧VCCAを受けて電荷を蓄積する。 First, when the AC cable is connected to the AC power supply 30, the AC/DC converter 40 periodically outputs the pulse-like zero-cross signal ZCRS to generate the power supply voltage VCCA (FIGS. 5A and 5B). ). Capacitor C1 receives power supply voltage VCCA and accumulates electric charges.

パワーオンリセット回路250は、電源電圧VCCAが閾値電圧VT2以上になった場合、リセット信号/RSTmをハイレベルに変化する(図5(c))。これにより、マイコン210は、動作を開始し、ライトプロテクト信号/WPmをハイレベルに設定し、メモリ240は、ライトアクセス可能な状態になる(図5(d))。 The power-on reset circuit 250 changes the reset signal /RSTm to high level when the power supply voltage VCCA becomes equal to or higher than the threshold voltage VT2 (FIG. 5(c)). As a result, the microcomputer 210 starts operating, sets the write protect signal /WPm to high level, and the memory 240 becomes write accessible (FIG. 5(d)).

また、マイコン210が電源制御スイッチ230をオンすることで、電源線VCCAが電源線VCCBに接続され、電源電圧VCCBが上昇する(図5(e))。コンデンサC2は、電源電圧VCCBを受けて電荷を蓄積する。 In addition, when the microcomputer 210 turns on the power control switch 230, the power line VCCA is connected to the power line VCCB, and the power voltage VCCB rises (FIG. 5(e)). Capacitor C2 receives power supply voltage VCCB and accumulates charges.

パワーオンリセット回路260は、電源電圧VCCBが閾値電圧VT1以上になった場合、リセット信号/RSTcをハイレベルに変化する(図5(f))。これにより、メインCPU220は、動作を開始し、図示を省略するがメモリ240のアクセスを開始する。 The power-on reset circuit 260 changes the reset signal /RSTc to high level when the power supply voltage VCCB becomes equal to or higher than the threshold voltage VT1 (FIG. 5(f)). As a result, the main CPU 220 starts operating and starts accessing the memory 240 (not shown).

マイコン210は、電源電圧VCCAを受けて動作中に、ゼロクロス信号ZCRSをポーリングし続ける(図5(g))。マイコン210は、ゼロクロス信号ZCRSの遷移エッジを時間T1以上検出しない場合、交流電源30の遮断等の電源異常の発生を検出し、ライトプロテクト信号/WPmをロウレベルに変化する(図5(h)、(i))。 The microcomputer 210 continues to poll the zero-cross signal ZCRS while receiving the power supply voltage VCCA and operating (FIG. 5(g)). When the microcomputer 210 does not detect the transition edge of the zero-cross signal ZCRS for the time T1 or longer, it detects the occurrence of a power failure such as interruption of the AC power supply 30, and changes the write protect signal /WPm to low level (FIG. 5(h), (i)).

ロウレベルのライトプロテクト信号/WPmは、アンド回路ANDを介してメモリ240にライトプロテクト端子/WPに供給されるため、メインCPU220は、メモリ240へのライトアクセスができない状態になる。したがって、電源遮断時にメインCPU220によるメモリ240へのデータの誤書き込みを防止することができる(図5(j))。この結果、画像形成装置1が再起動後に誤動作することを防止することができる。 Since the low-level write protect signal /WPm is supplied to the write protect terminal /WP of the memory 240 via the AND circuit AND, the main CPU 220 is in a state in which write access to the memory 240 is disabled. Therefore, it is possible to prevent erroneous writing of data to the memory 240 by the main CPU 220 when the power is shut off (FIG. 5(j)). As a result, it is possible to prevent the image forming apparatus 1 from malfunctioning after being restarted.

なお、ライトプロテクト信号/WPmがロウレベルの期間、メインCPU220は、メモリ240へのリードアクセスは実施可能である。図中のクロックCLKは、メインCPU220がメモリ240にリードアクセスすることを示し、図中のデータ出力信号DOは、リードアクセスに応答してメモリ240から出力されることを示している(図5(k)、(l))。 Note that the main CPU 220 can perform read access to the memory 240 while the write protect signal /WPm is at low level. The clock CLK in the figure indicates that the main CPU 220 makes read access to the memory 240, and the data output signal DO in the figure indicates that it is output from the memory 240 in response to the read access (FIG. 5 ( k), (l)).

交流電源30の遮断によりAC/DCコンバータ40による電源電圧VCCAの生成が停止されると、コンデンサC1、C2に蓄積された電荷が徐々に放電される。パワーオンリセット回路250は、電源電圧VCCAが閾値電圧VT2より低くなった場合、リセット信号/RSTmをロウレベルに変化する(図5(m))。これにより、マイコン210は、リセット状態になり、動作を停止する。 When AC/DC converter 40 stops generating power supply voltage VCCA by shutting off AC power supply 30, the charges accumulated in capacitors C1 and C2 are gradually discharged. The power-on reset circuit 250 changes the reset signal /RSTm to low level when the power supply voltage VCCA becomes lower than the threshold voltage VT2 (FIG. 5(m)). As a result, the microcomputer 210 enters a reset state and stops operating.

パワーオンリセット回路260は、電源電圧VCCBが閾値電圧VT1より低くなった場合、リセット信号/RSTcをロウレベルに変化する(図5(n))。これにより、メインCPU220は、リセット状態になり、動作を停止する(図5(o))。なお、メインCPU220によるリードアクセス中に、メインCPU220が動作を停止しても、メモリ240に記憶されているデータは失われることなく保持される。電源電圧VCCA、VCCBは、コンデンサC1、C2の放電が完了するまで、徐々に低下する(図5(p)、(q))。 The power-on reset circuit 260 changes the reset signal /RSTc to low level when the power supply voltage VCCB becomes lower than the threshold voltage VT1 (FIG. 5(n)). As a result, the main CPU 220 enters a reset state and stops operating (FIG. 5(o)). Even if the main CPU 220 stops operating during read access by the main CPU 220, the data stored in the memory 240 is retained without being lost. The power supply voltages VCCA and VCCB gradually decrease until the discharge of the capacitors C1 and C2 is completed (FIGS. 5(p) and (q)).

閾値電圧VT1は、閾値電圧VT2より高く設定されるため、リセット信号/RSTcは、リセット信号/RSTmより早くロウレベルに遷移する。これにより、電源を制御するマイコン210が停止する前にメインCPU220を停止することができる。したがって、マイコン210の停止時にライトプロテクト信号/WPmが一時的にハイレベルになる場合にも、メインCPU220によりメモリ240へのライトアクセスが行われることを防止することができる。データの誤書き込みを防止できるため、画像形成装置1の再起動後の誤動作を防止することができる。 Since the threshold voltage VT1 is set higher than the threshold voltage VT2, the reset signal /RSTc transitions to low level earlier than the reset signal /RSTm. Thereby, the main CPU 220 can be stopped before the microcomputer 210 that controls the power supply is stopped. Therefore, even when the write protect signal /WPm temporarily becomes high level when the microcomputer 210 is stopped, it is possible to prevent the main CPU 220 from performing write access to the memory 240 . Since erroneous writing of data can be prevented, malfunction after the image forming apparatus 1 is restarted can be prevented.

以上、この実施形態では、マイコン210は、交流電源30の遮断等の電源異常の発生を検出した場合、ライトプロテクト信号/WPをロウレベルに設定し、メモリ240のライトアクセスを禁止する。これにより、電源遮断時のメインCPU220によるメモリ240へのデータの誤書き込みを防止することができ、画像形成装置1の再起動後の誤動作を防止することができる。 As described above, in this embodiment, the microcomputer 210 sets the write protect signal /WP to a low level to prohibit write access to the memory 240 when detecting a power failure such as interruption of the AC power supply 30 . As a result, it is possible to prevent erroneous writing of data to the memory 240 by the main CPU 220 when the power is turned off, and it is possible to prevent malfunction after the image forming apparatus 1 is restarted.

電源の遮断時にリセット信号/RSTcをリセット信号/RSTmより早くロウレベルに遷移させることで、マイコン210が停止する前にメインCPU220を停止することができる。これにより、マイコン210の停止時にライトプロテクト信号/WPmが一時的にハイレベルになる場合にも、メインCPU220によるメモリ240へのデータの誤書き込みを防止でき、画像形成装置1の誤動作を防止することができる。 The main CPU 220 can be stopped before the microcomputer 210 stops by causing the reset signal /RSTc to transition to a low level earlier than the reset signal /RSTm when the power is cut off. As a result, even when the write protect signal /WPm temporarily becomes high level when the microcomputer 210 is stopped, erroneous writing of data to the memory 240 by the main CPU 220 can be prevented, and malfunction of the image forming apparatus 1 can be prevented. can be done.

例えば、メモリ240が不揮発性メモリの場合、電源の遮断後もデータを記憶し続ける。この実施形態では、マイコン210は、電源の遮断時にメモリ240のライトアクセスを禁止するため、電源の遮断時に誤ったデータがメモリ240に書き込まれることを防止することができる。これにより、メモリ240が誤ったデータを記憶し続けることによる画像形成装置1の再起動後の誤動作を防止することができる。 For example, if the memory 240 is a non-volatile memory, it will continue to store data even after power is turned off. In this embodiment, since the microcomputer 210 prohibits write access to the memory 240 when the power is cut off, it is possible to prevent erroneous data from being written to the memory 240 when the power is cut off. As a result, it is possible to prevent malfunction after the image forming apparatus 1 is restarted due to the memory 240 continuing to store erroneous data.

マイコン210は、電源の遮断時に、ライトプロテクト信号/WPmをロウレベルに設定し、アンド回路ANDを介してロウレベルのライトプロテクト信号/WPとしてメモリ240に強制的に出力する。これにより、電源の遮断時にメインCPU220がメモリ240にライトアクセスするプログラムを実行中の場合にも、メインCPU220が出力するハイレベルのライトプロテクト信号/WPcのメモリ240への出力をマスクすることができる。この結果、電源の遮断時のメモリ240へのデータの誤書き込みを防止することができる。 The microcomputer 210 sets the write protect signal /WPm to low level when the power is cut off, and forcibly outputs it to the memory 240 as the low level write protect signal /WP through the AND circuit AND. As a result, even when the main CPU 220 is executing a program for write access to the memory 240 when the power is turned off, the output of the high-level write protect signal /WPc output by the main CPU 220 to the memory 240 can be masked. . As a result, erroneous writing of data to the memory 240 when power is cut off can be prevented.

図6は、本発明の第2の実施形態の画像形成装置におけるコントローラ制御基板の一例を示す回路ブロック図である。図1から図3と同様の要素については同じ符号を付し、詳細な説明は省略する。この実施形態のコントローラ制御基板200Aは、図3のコントローラ制御基板200にバッテリBATおよびダイオードD1、D2を追加して構成されている。 FIG. 6 is a circuit block diagram showing an example of a controller control board in the image forming apparatus according to the second embodiment of the invention. Elements similar to those in FIGS. 1 to 3 are denoted by the same reference numerals, and detailed description thereof is omitted. A controller control board 200A of this embodiment is configured by adding a battery BAT and diodes D1 and D2 to the controller control board 200 of FIG.

例えば、コントローラ制御基板200Aは、図1の制御装置21に搭載されることで、画像形成装置1の画像処理部として機能してもよい。コントローラ制御基板200Aを搭載する画像形成装置1のハードウェア概要は、図2と同様である。 For example, the controller control board 200A may function as an image processing section of the image forming apparatus 1 by being mounted on the control device 21 of FIG. The outline of the hardware of the image forming apparatus 1 on which the controller control board 200A is mounted is the same as that of FIG.

マイコン210の電源端子VCCAおよびパワーオンリセット回路250の図示しない電源端子は、ダイオードD2を介して電源線VCCAに接続され、ダイオードD2を介してバッテリBATに接続される。そして、マイコン210は、電源電圧VCCAまたはバッテリBATから供給される電圧により動作する。なお、ダイオードD1により、バッテリBATが出力する電圧によりコンデンサC1が充電されることが抑止される。 A power supply terminal VCCA of microcomputer 210 and a power supply terminal (not shown) of power-on reset circuit 250 are connected to power supply line VCCA through diode D2 and to battery BAT through diode D2. The microcomputer 210 operates with the power supply voltage VCCA or the voltage supplied from the battery BAT. Diode D1 prevents capacitor C1 from being charged by the voltage output from battery BAT.

バッテリBATが電圧を出力している間、パワーオンリセット回路250は、ハイレベルのリセット信号/RSTmを出力する。このため、パワーオンリセット回路250は、バッテリBATが消耗したときのみ、AC/DCコンバータ40が生成する電源電圧VCCAに応じてリセット信号/RSTmをロウレベルまたはハイレベルに設定する。 While battery BAT is outputting voltage, power-on reset circuit 250 outputs a high-level reset signal /RSTm. Therefore, power-on reset circuit 250 sets reset signal /RSTm to low level or high level according to power supply voltage VCCA generated by AC/DC converter 40 only when battery BAT is exhausted.

この実施形態では、マイコン210は、電源の異常遮断時にもバッテリBATからの電力により動作できる。このため、電源の異常遮断時によりAC/DCコンバータ40が生成する電源電圧VCCAが低下した場合にも、マイコン210の電源端子VCCAにマイコン210の入力保証電圧より低い電圧が供給されることを防止できる。したがって、マイコン210は、電源の遮断時にも正常に動作し、ゼロクロス信号ZCRSの遷移エッジを時間T1以上検出しない場合、ライトプロテクト信号/WPmをロウレベルに変化することができる。 In this embodiment, the microcomputer 210 can operate with power from the battery BAT even when the power supply is abnormally cut off. Therefore, even if the power supply voltage VCCA generated by the AC/DC converter 40 drops due to an abnormal shutdown of the power supply, it is possible to prevent a voltage lower than the guaranteed input voltage of the microcomputer 210 from being supplied to the power supply terminal VCCA of the microcomputer 210. can. Therefore, the microcomputer 210 can operate normally even when the power is cut off, and can change the write protect signal /WPm to low level when no transition edge of the zero cross signal ZCRS is detected for the time T1 or longer.

図7は、図6のコントローラ制御基板200Aの動作の一例を示すシーケンス図である。図5と同様の動作については詳細な説明は省略する。なお、コントローラ制御基板200Aの動作フローは、図4と同じである。 FIG. 7 is a sequence diagram showing an example of the operation of the controller control board 200A of FIG. A detailed description of the same operations as in FIG. 5 will be omitted. The operation flow of the controller control board 200A is the same as in FIG.

交流電源30、ゼロクロス信号ZCRS、AC/DCコンバータ40が出力する電源電圧VCCA、メモリ240のクロック信号CLKおよびメモリ240のデータ出力信号DOの波形は、図5と同じである。電源電圧VCCBおよびリセット信号/RSTcの波形は、立ち上がりタイミングが図5に比べて早くなることを除き、図5と同じである。ライトプロテクト信号/WPmの波形は、ACケーブルの接続時にハイレベルに設定されていることを除き、図5と同じである。 The waveforms of AC power supply 30, zero cross signal ZCRS, power supply voltage VCCA output from AC/DC converter 40, clock signal CLK of memory 240, and data output signal DO of memory 240 are the same as in FIG. The waveforms of power supply voltage VCCB and reset signal /RSTc are the same as in FIG. 5 except that the rise timing is earlier than in FIG. The waveform of the write protect signal /WPm is the same as in FIG. 5 except that it is set to high level when the AC cable is connected.

マイコン210の電源端子VCCA、リセット信号/RSTmおよびライトプロテクト信号/WPmに示す一点鎖線は、バッテリBATが消耗しているときの波形を示し、図5の波形と同様である。 The dashed-dotted lines shown for the power supply terminal VCCA, reset signal /RSTm and write protect signal /WPm of the microcomputer 210 show waveforms when the battery BAT is exhausted, which are similar to the waveforms in FIG.

この実施形態では、マイコン210の電源端子VCCAは、交流電源30の供給の有無にかかわりなく、バッテリBATから供給される電源電圧を受けるため、バッテリBATから出力される一定電圧に維持される(図7(a))。同様に、パワーオンリセット回路250は、交流電源30の供給の有無にかかわりなく、バッテリBATから供給される電源電圧を受けるため、リセット信号/RSTmをハイレベルに固定する(図7(b))。 In this embodiment, the power supply terminal VCCA of the microcomputer 210 receives the power supply voltage supplied from the battery BAT regardless of whether or not the AC power supply 30 is supplied. 7(a)). Similarly, the power-on reset circuit 250 receives the power supply voltage supplied from the battery BAT regardless of whether or not the AC power supply 30 is supplied, so that the reset signal /RSTm is fixed at a high level (FIG. 7(b)). .

リセット信号/RSTmがハイレベルに固定されるため、マイコン210は、電源制御スイッチ230を常時オンする。電源線VCCBは、電源線VCCAと常時接続される。このため、電源電圧VCCBは、AC/DCコンバータ40から出力される電源電圧VCCAとともに上昇する(図7(c))。 Since the reset signal /RSTm is fixed at a high level, the microcomputer 210 keeps the power control switch 230 on all the time. The power line VCCB is always connected to the power line VCCA. Therefore, the power supply voltage VCCB rises together with the power supply voltage VCCA output from the AC/DC converter 40 (FIG. 7(c)).

パワーオンリセット回路260は、電源電圧VCCBが閾値電圧VT1以上になった場合、リセット信号/RSTcをハイレベルに変化する(図7(d))。これにより、メインCPU220は、動作を開始し、メモリ240のアクセスを開始する。 The power-on reset circuit 260 changes the reset signal /RSTc to high level when the power supply voltage VCCB becomes equal to or higher than the threshold voltage VT1 (FIG. 7(d)). As a result, the main CPU 220 starts operating and starts accessing the memory 240 .

図5と同様に、マイコン210は、ゼロクロス信号ZCRSの遷移エッジを時間T1以上検出しない場合、ライトプロテクト信号/WPmをロウレベルに変化する(図7(e)、(f))。 As in FIG. 5, if the microcomputer 210 does not detect a transition edge of the zero-cross signal ZCRS for the time T1 or longer, it changes the write protect signal /WPm to low level (FIGS. 7(e) and (f)).

交流電源30の遮断によりAC/DCコンバータ40による電源電圧VCCAの生成が停止されると、コンデンサC1、C2に蓄積された電荷が徐々に放電される。マイコン210の電源端子VCCAは、交流電源30の供給の有無にかかわりなく、バッテリBATから供給される電源電圧を受けるため、一定電圧に維持される(図7(g))。同様に、パワーオンリセット回路250は、交流電源30の供給の有無にかかわりなく、バッテリBATから供給される電源電圧を受けるため、リセット信号/RSTmをハイレベルに固定する(図7(h))。パワーオンリセット回路260の動作(リセット信号/RSTcの波形)は、図5と同じである。 When AC/DC converter 40 stops generating power supply voltage VCCA by shutting off AC power supply 30, the charges accumulated in capacitors C1 and C2 are gradually discharged. The power supply terminal VCCA of the microcomputer 210 receives the power supply voltage supplied from the battery BAT regardless of whether or not the AC power supply 30 is supplied, so that it is maintained at a constant voltage (FIG. 7(g)). Similarly, the power-on reset circuit 250 receives the power supply voltage supplied from the battery BAT regardless of whether or not the AC power supply 30 is supplied, so that the reset signal /RSTm is fixed at a high level (FIG. 7(h)). . The operation of power-on reset circuit 260 (waveform of reset signal /RSTc) is the same as in FIG.

以上、この実施形態においても上述した実施形態と同様の効果を得ることができる。例えば、交流電源30の遮断等の電源異常の発生時に、マイコン210によりメモリ240のライトアクセスを禁止することで、電源遮断時のメモリ240へのデータの誤書き込みを防止することができ、画像形成装置1の再起動後の誤動作を防止することができる。 As described above, also in this embodiment, the same effects as those of the above-described embodiment can be obtained. For example, by prohibiting write access to the memory 240 by the microcomputer 210 when a power failure occurs such as interruption of the AC power supply 30, erroneous writing of data to the memory 240 at the time of power interruption can be prevented. Malfunction after restarting the device 1 can be prevented.

さらに、この実施形態では、マイコン210は、電源の異常遮断時にもバッテリBATからの電力により動作できるため、電源の遮断時にも正常に動作し、ゼロクロス信号ZCRSをモニタすることができる。そして、マイコン210は、ゼロクロス信号ZCRSの遷移エッジを時間T1以上検出しない場合、ライトプロテクト信号/WPmをロウレベルに変化し、メモリ240へのライトアクセスを確実に禁止することができる。 Furthermore, in this embodiment, the microcomputer 210 can operate with power from the battery BAT even when the power supply is abnormally cut off, so it can operate normally even when the power supply is cut off, and can monitor the zero-cross signal ZCRS. Then, when the microcomputer 210 does not detect the transition edge of the zero-cross signal ZCRS for the time T1 or longer, it can change the write protect signal /WPm to low level to reliably prohibit write access to the memory 240 .

以上、各実施形態に基づき本発明の説明を行ってきたが、上記実施形態に示した要件に本発明が限定されるものではない。これらの点に関しては、本発明の主旨をそこなわない範囲で変更することができ、その応用形態に応じて適切に定めることができる。 Although the present invention has been described above based on each embodiment, the present invention is not limited to the requirements shown in the above embodiments. These points can be changed without impairing the gist of the present invention, and can be determined appropriately according to the application form.

1 画像形成装置
2 自動原稿送り装置
3 画像読み取り装置
4 書き込みユニット
5 プリンタユニット
6 感光体ドラム
7 現像装置
8 搬送ベルト
9 定着装置
10 給紙トレイ
20 電源装置
21 制御装置
30 交流電源
40 AC/DCコンバータ
50 プリンタ
60 スキャナ
70 ファクシミリ
80 操作部
100 エンジン制御基板
200、200A コントローラ制御基板
210 マイコン
220 メインCPU
230 電源制御スイッチ
240 メモリ
250、260 パワーオンリセット回路
AND アンド回路
BAT バッテリ
C1、C2 コンデンサ
CLK クロック信号
D1、D2 ダイオード
DCSW スイッチ
DI データ入力信号
DO データ出力信号
/RSTc、/RSTm リセット信号
VCCA、VCCB 電源電圧
/WPc、/WPm ライトプロテクト信号
ZCRS ゼロクロス信号
REFERENCE SIGNS LIST 1 image forming device 2 automatic document feeder 3 image reading device 4 writing unit 5 printer unit 6 photoreceptor drum 7 developing device 8 conveying belt 9 fixing device 10 paper feed tray 20 power supply device 21 control device 30 AC power supply 40 AC/DC converter 50 Printer 60 Scanner 70 Facsimile 80 Operation Unit 100 Engine Control Board 200, 200A Controller Control Board 210 Microcomputer 220 Main CPU
230 Power control switch 240 Memory 250, 260 Power-on reset circuit AND AND circuit BAT Battery C1, C2 Capacitor CLK Clock signal D1, D2 Diode DCSW Switch DI Data input signal DO Data output signal /RSTc, /RSTm Reset signal VCCA, VCCB Power supply Voltage /WPc, /WPm Write protect signal ZCRS Zero cross signal

特開平10-185965号公報JP-A-10-185965

Claims (8)

電源から供給される電荷を蓄積するコンデンサと、
前記コンデンサを介して受ける電源電圧により動作する第1コントローラと、
前記第1コントローラによりアクセスされるメモリと、
前記電源の供給が所定時間停止された場合、前記第1コントローラによる前記メモリのライト動作を禁止させる第2コントローラと、
を有することを特徴とする情報処理装置。
a capacitor that accumulates electric charge supplied from a power supply;
a first controller operated by a power supply voltage received through the capacitor;
a memory accessed by the first controller;
a second controller that prohibits the write operation of the memory by the first controller when the power supply is stopped for a predetermined time;
An information processing device comprising:
前記電源電圧が第1電圧より低いときに前記第1コントローラをリセットする第1パワーオンリセット回路と、
前記電源電圧が第1電圧より低い第2電圧より低いときに前記第2コントローラをリセットする第2パワーオンリセット回路と、を有し、
前記電源の遮断による前記電源電圧の低下時に、第1コントローラのリセット後に前記第2コントローラがリセットされること
を特徴とする請求項1記載の情報処理装置。
a first power-on reset circuit that resets the first controller when the power supply voltage is lower than a first voltage;
a second power-on reset circuit for resetting the second controller when the power supply voltage is lower than a second voltage lower than the first voltage;
2. The information processing apparatus according to claim 1, wherein when the power supply voltage drops due to the interruption of the power supply, the second controller is reset after resetting the first controller.
前記第2コントローラの電源端子に接続されたバッテリを有し、
前記第2コントローラは、前記コンデンサから供給される電源電圧または前記バッテリから供給される電源電圧により動作し、前記電源の供給が所定時間停止された場合、前記第1コントローラによる前記メモリのライト動作を禁止させること
を特徴とする請求項1または請求項2に記載の情報処理装置。
a battery connected to a power terminal of the second controller;
The second controller operates with the power supply voltage supplied from the capacitor or the power supply voltage supplied from the battery, and when the power supply is stopped for a predetermined time, the write operation of the memory by the first controller is performed. 3. The information processing apparatus according to claim 1, wherein the information processing apparatus is prohibited.
前記メモリは、電気的に書き換え可能な不揮発性メモリであること
を特徴とする請求項1ないし請求項3のいずれか1項に記載の情報処理装置。
The information processing apparatus according to any one of claims 1 to 3, wherein the memory is an electrically rewritable nonvolatile memory.
前記電源の供給が所定時間停止された場合に前記第2コントローラが出力するライトプロテクト信号に応じて、前記第1コントローラが前記メモリに出力するライトプロテクト信号による書き込み許可状態をマスクするマスク回路を有すること
を特徴とする請求項1ないし請求項4のいずれか1項に記載の情報処理装置。
a mask circuit for masking a write enable state by a write protect signal output to the memory by the first controller according to the write protect signal output by the second controller when the power supply is stopped for a predetermined time; The information processing apparatus according to any one of claims 1 to 4, characterized by:
画像を形成する画像形成部と、
電源から供給される電荷を蓄積するコンデンサと、
前記コンデンサを介して受ける電源電圧により動作する第1コントローラと、
前記第1コントローラによりアクセスされるメモリと、
前記電源の供給が所定時間停止された場合、前記第1コントローラによる前記メモリのライト動作を禁止させる第2コントローラと、
を有することを特徴とする画像形成装置。
an image forming unit that forms an image;
a capacitor that accumulates electric charge supplied from a power supply;
a first controller operated by a power supply voltage received through the capacitor;
a memory accessed by the first controller;
a second controller that prohibits the write operation of the memory by the first controller when the power supply is stopped for a predetermined time;
An image forming apparatus comprising:
電源から供給される電荷を蓄積するコンデンサと、前記コンデンサを介して受ける電源電圧により動作する第1コントローラと、前記第1コントローラによりアクセスされるメモリと、を有する情報処理装置の制御方法であって、
前記電源の供給が所定時間停止された場合、前記第1コントローラによる前記メモリのライト動作を禁止させること
を特徴とする情報処理装置の制御方法。
A control method for an information processing apparatus having a capacitor for accumulating charges supplied from a power supply, a first controller operated by a power supply voltage received via the capacitor, and a memory accessed by the first controller, comprising: ,
A control method for an information processing apparatus, comprising: prohibiting a write operation of the memory by the first controller when the power supply is stopped for a predetermined time.
電源から供給される電荷を蓄積するコンデンサと、前記コンデンサを介して受ける電源電圧により動作する第1コントローラと、前記第1コントローラによりアクセスされるメモリと、を有する情報処理装置の制御プログラムであって、
前記電源の供給が所定時間停止された場合、前記第1コントローラによる前記メモリのライト動作を禁止させる
処理をコンピュータに実行させることを特徴とする情報処理装置の制御プログラム。
A control program for an information processing apparatus having a capacitor for accumulating charges supplied from a power supply, a first controller operated by a power supply voltage received via the capacitor, and a memory accessed by the first controller, the program comprising: ,
A control program for an information processing apparatus, which causes a computer to execute processing for prohibiting a write operation of the memory by the first controller when the power supply is stopped for a predetermined time.
JP2022006265A 2022-01-19 2022-01-19 Information processing apparatus, image forming apparatus, control method for information processing apparatus, and control program for information processing apparatus Pending JP2023105439A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022006265A JP2023105439A (en) 2022-01-19 2022-01-19 Information processing apparatus, image forming apparatus, control method for information processing apparatus, and control program for information processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022006265A JP2023105439A (en) 2022-01-19 2022-01-19 Information processing apparatus, image forming apparatus, control method for information processing apparatus, and control program for information processing apparatus

Publications (1)

Publication Number Publication Date
JP2023105439A true JP2023105439A (en) 2023-07-31

Family

ID=87468926

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022006265A Pending JP2023105439A (en) 2022-01-19 2022-01-19 Information processing apparatus, image forming apparatus, control method for information processing apparatus, and control program for information processing apparatus

Country Status (1)

Country Link
JP (1) JP2023105439A (en)

Similar Documents

Publication Publication Date Title
JP4235919B2 (en) Information processing apparatus and program
JP4831113B2 (en) Battery connection detecting device and image forming apparatus having the same
US10802570B2 (en) Information processing apparatus, method of controlling the same, and storage medium
JP2013168869A (en) Electronic device, image processing apparatus, and device control method
EP1612647A2 (en) Image forming apparatus having power supply apparatus
JP2015085661A (en) Printer, data processor and control method of data processor
JP2009152703A (en) Image processing apparatus
JP2009118668A (en) Switching power supply device and image forming device mounted with the same
JP2009015874A (en) Information processor and program
JP2023105439A (en) Information processing apparatus, image forming apparatus, control method for information processing apparatus, and control program for information processing apparatus
JP2003107967A (en) Power controller and image forming apparatus
JP2011229209A (en) Control device and image forming apparatus with the same
EP2843928A2 (en) Electronic device, and method for controlling power to control unit of electronic device
JPH05107837A (en) Image forming device
JP7159918B2 (en) POWER CONTROL DEVICE, IMAGE FORMING APPARATUS, AND POWER CONTROL METHOD
JP6541750B2 (en) Electronic device, power control method to control unit of electronic device
JP6763224B2 (en) Image forming device and control device
JP7119629B2 (en) POWER SUPPLY DEVICE, CONTROL METHOD OF POWER SUPPLY DEVICE, IMAGE FORMING APPARATUS
JP2023179206A (en) Power supply device and image forming device
JP2022086375A (en) Power supply device, control method for power supply device, and control program for power supply device
JP7200700B2 (en) Charging device, image forming device, and charging method
JP7067281B2 (en) Image forming device and image forming method
JP2022113960A (en) Electronic apparatus
US11194279B2 (en) Power supply and image forming apparatus incorporating same
JP5817216B2 (en) Image forming apparatus