JP6158621B2 - Image forming apparatus and image forming method - Google Patents

Image forming apparatus and image forming method Download PDF

Info

Publication number
JP6158621B2
JP6158621B2 JP2013150327A JP2013150327A JP6158621B2 JP 6158621 B2 JP6158621 B2 JP 6158621B2 JP 2013150327 A JP2013150327 A JP 2013150327A JP 2013150327 A JP2013150327 A JP 2013150327A JP 6158621 B2 JP6158621 B2 JP 6158621B2
Authority
JP
Japan
Prior art keywords
time
unit
value
clock
return
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.)
Active
Application number
JP2013150327A
Other languages
Japanese (ja)
Other versions
JP2015020351A (en
Inventor
豊田 隆司
隆司 豊田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2013150327A priority Critical patent/JP6158621B2/en
Publication of JP2015020351A publication Critical patent/JP2015020351A/en
Application granted granted Critical
Publication of JP6158621B2 publication Critical patent/JP6158621B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimiles In General (AREA)

Description

本発明は、画像形成装置及び画像形成方法に係り、特に制御手段のクロックをカウントする待ち合わせ処理を行う画像形成装置及び画像形成方法に関する。   The present invention relates to an image forming apparatus and an image forming method, and more particularly to an image forming apparatus and an image forming method for performing a waiting process for counting clocks of a control unit.

従来から、文書や画像を印刷可能な複合機(Multifunctional Peripheral, MFP)等の画像形成装置が存在する。
これらの画像形成装置のCPU等の制御手段が実行する処理プログラムは、当該制御手段のクロックをカウントして待ち合わせ処理をしているものがある。
このような待ち合わせ処理では、制御手段の電源が常にオンである場合、クロックのカウントにより正確な待ち合わせ時間の算出が可能であり、特に問題は生じない。しかしながら、制御手段が一旦、スリープ状態等の省電力状態になると、クロックのカウントが進まないため、待ち合わせ時間のずれが生じてしまう。
Conventionally, there are image forming apparatuses such as multifunction peripherals (MFPs) capable of printing documents and images.
Some processing programs executed by a control unit such as a CPU of these image forming apparatuses count the clock of the control unit and perform a waiting process.
In such a waiting process, when the power of the control means is always on, it is possible to calculate the waiting time accurately by counting the clock, and no particular problem occurs. However, once the control means enters a power saving state such as a sleep state, the clock count does not advance, and a waiting time shift occurs.

特許文献1を参照すると、CR発振回路が生成するクロックを、分周比が選択可能な分周回路に入力し、分周比を設定するとともに、水晶発振回路が生成するクロックにより基準期間信号を生成し、分周回路からのクロック信号出力の一周期と、基準期間信号との比から、起動時間設定レジスター値の補正を行う手段を備えることを特徴とする画像形成装置が開示されている。
特許文献1の技術は、CR発振回路が生成する低速かつ周波数のバラツキの大きいクロックに基づき動作する起動タイマーを備えるマイクロコンピュータにおいて、スリープ状態の期間を正確に補正することができる。
Referring to Patent Document 1, a clock generated by a CR oscillation circuit is input to a frequency dividing circuit that can select a frequency dividing ratio, a frequency dividing ratio is set, and a reference period signal is generated by a clock generated by a crystal oscillation circuit. There is disclosed an image forming apparatus comprising means for generating and correcting a startup time setting register value from a ratio of a period of a clock signal output from a frequency dividing circuit and a reference period signal.
The technique of Patent Document 1 can accurately correct the period of the sleep state in a microcomputer including a startup timer that operates based on a low-speed and high-frequency variation clock generated by the CR oscillation circuit.

特開2011−06159号公報JP 2011-06159 A

しかしながら、特許文献1の技術は、そもそも制御手段に導入されるクロックを生成する回路が停止された場合には、クロックのカウントを測定することができず、結果として待ち合わせ時間のずれが解消できなかった。   However, the technique of Patent Document 1 cannot measure the clock count when the circuit that generates the clock introduced to the control unit is stopped in the first place, and as a result, the waiting time shift cannot be resolved. It was.

本発明は、このような状況に鑑みてなされたものであって、上述の問題点を解消する画像形成装置を提供することを課題とする。   The present invention has been made in view of such a situation, and an object thereof is to provide an image forming apparatus that solves the above-described problems.

本発明の画像形成装置は、通常起動状態においてクロックをカウントしクロックカウント値として保持する制御部と、該制御部が省電力状態になっても時刻を測定し時刻値として保持するリアルタイムクロック部と、記憶部とを備える画像形成装置において、復帰時刻値を記憶し、前記リアルタイムクロック部の時刻値と連動して、前記復帰時刻値になった際に、前記制御部を前記省電力状態から復帰させる省電力復帰タイマー部と、前記制御部の前記通常起動状態で、前記リアルタイムクロック部の時刻値を基準時刻値として取得する基準時刻値取得部と、前記制御部が前記省電力状態の前から前記制御部のクロックカウント値により経過時間を測定する待ち合わせ処理をしていた場合、前記基準時刻値取得部により取得された前記基準時刻値と、前記省電力状態からの復帰時の前記リアルタイムクロック部の前記時刻値とにより、前記待ち合わせ処理の経過時間を算出する経過時間算出部とを備え、前記制御部は、前記基準時刻値取得部により前記基準時刻値を取得した後、前記リアルタイムクロック部の時刻値が1秒変化するまでのクロックカウント値を取得し、取得したクロックカウント値の値を、小数点以下の値を含む秒単位の値に変換し、その変換された値を1から減算し、前記基準時刻値が取得されるまでの秒単位の1未満の端数を算出し、この端数が0.5秒未満であった場合、端数を切り捨てて、前記記憶部に取得された前記基準時刻値をそのまま記憶し、この端数が0.5秒以上であった場合、端数を切り上げて、前記基準時刻値を1増加させ、前記待ち合わせ処理を開始する場合、前記制御部は、(1)前記リアルタイムクロック部の時刻値を取得して、開始時刻値として前記記憶部に記憶し、(2)前記経過時間算出部により、前記省電力状態に移行されるか否かを判定し、前記省電力状態に移行される場合にタイマー復帰を行う必要があるか否かを判定し、前記タイマー復帰を行う必要がある場合に前記省電力復帰タイマー部に前記復帰時刻値を設定し、(3)前記復帰時刻値が設定された際、前記省電力状態に移行される際のクロックカウント値から、前記リアルタイムクロック部の時刻値が変化した際のクロックカウント値を減算することで、復帰時刻端数値を算出して前記記憶部に記憶し、前記省電力状態への移行を行い、(4)前記省電力状態から前記通常起動状態へ復帰開始する際に、復帰時に取得した前記リアルタイムクロック部の時刻値と、前記記憶部に記憶された前記開始時刻値とを比較して前記待ち合わせ処理の開始からの経過時間を算出し、クロックカウント値に、算出された前記経過時間を加え、(5)前記経過時間算出部により、タイマー復帰であったか否かを判定し、タイマー復帰であった場合、前記記憶部に記憶された前記復帰時刻端数値を取得して、前記待ち合わせ処理の開始からの経過時間が加えられたクロックカウント値に加算することを特徴とする。
本発明の画像形成方法は、通常起動状態においてクロックをカウントしクロックカウント値として保持する制御部と、該制御部が省電力状態になっても時刻を測定し時刻値として保持するリアルタイムクロック部と、記憶部とを備える画像形成装置による画像形成方法において、前記画像形成装置は、更に、復帰時刻値を記憶し、前記リアルタイムクロック部の時刻値と連動して、前記復帰時刻値になった際に、前記制御部を前記省電力状態から復帰させる省電力復帰タイマー部と、前記制御部の前記通常起動状態で、前記リアルタイムクロック部の時刻値を基準時刻値として取得する基準時刻値取得部と、前記制御部が前記省電力状態の前から前記制御部のクロックカウント値により経過時間を測定する待ち合わせ処理をしていた場合、前記基準時刻値取得部により取得された前記基準時刻値と、前記省電力状態からの復帰時の前記リアルタイムクロック部の時刻値とにより、前記待ち合わせ処理の経過時間を算出する経過時間算出部とを備え、前記制御部により、前記基準時刻値取得部により前記基準時刻値を取得した後、前記リアルタイムクロック部の時刻値が1秒変化するまでのクロックカウント値を取得し、取得したクロックカウント値の値を、小数点以下の値を含む秒単位の値に変換し、その変換された値を1から減算し、前記基準時刻値が取得されるまでの秒単位の1未満の端数を算出し、この端数が0.5秒未満であった場合、端数を切り捨てて、前記記憶部に取得された前記基準時刻値をそのまま記憶し、この端数が0.5秒以上であった場合、端数を切り上げて、前記基準時刻値を1増加させ、前記待ち合わせ処理を開始する場合、前記制御部により、(1)前記リアルタイムクロック部の時刻値を取得して、開始時刻値として前記記憶部に記憶し、(2)前記経過時間算出部により、前記省電力状態に移行されるか否かを判定し、前記省電力状態に移行される場合にタイマー復帰を行う必要があるか否かを判定し、前記タイマー復帰を行う必要がある場合に前記省電力復帰タイマー部に前記復帰時刻値を設定し、(3)前記復帰時刻値が設定された際、前記省電力状態に移行される際のクロックカウント値から、前記リアルタイムクロック部の時刻値が変化した際のクロックカウント値を減算することで、復帰時刻端数値を算出して前記記憶部に記憶し、前記省電力状態への移行を行い、(4)前記省電力状態から前記通常起動状態へ復帰開始する際に、復帰時に取得した前記リアルタイムクロック部の時刻値と、前記記憶部に記憶された前記開始時刻値とを比較して前記待ち合わせ処理の開始からの経過時間を算出し、クロックカウント値に、算出された前記経過時間を加え、(5)前記経過時間算出部により、タイマー復帰であったか否かを判定し、タイマー復帰であった場合、前記記憶部に記憶された前記復帰時刻端数値を取得して、前記待ち合わせ処理の開始からの経過時間が加えられたクロックカウント値に加算することを特徴とする。
The image forming apparatus of the present invention includes a control unit that counts a clock in a normal startup state and holds it as a clock count value, and a real-time clock unit that measures time and holds it as a time value even when the control unit enters a power saving state. An image forming apparatus comprising a storage unit stores a return time value, and returns the control unit from the power saving state when the return time value is reached in conjunction with the time value of the real-time clock unit. A power saving return timer unit, a reference time value acquisition unit that acquires a time value of the real-time clock unit as a reference time value in the normal activation state of the control unit, and the control unit before the power saving state The reference time acquired by the reference time value acquisition unit when waiting processing for measuring elapsed time based on the clock count value of the control unit is performed. An elapsed time calculation unit that calculates an elapsed time of the waiting process based on the value and the time value of the real-time clock unit at the time of return from the power saving state, and the control unit obtains the reference time value After obtaining the reference time value by the unit, a clock count value is obtained until the time value of the real-time clock unit changes by 1 second, and the obtained clock count value is expressed in seconds including a value after the decimal point. Converted to a value, subtracts the converted value from 1, calculates a fraction of less than 1 in seconds until the reference time value is obtained, and if this fraction is less than 0.5 seconds, The reference time value acquired in the storage unit is stored as it is by rounding down the fraction. If this fraction is 0.5 seconds or more, the fraction is rounded up, the reference time value is incremented by 1, and the wait time is Together When starting the processing, the control unit (1) obtains a time value of the real-time clock unit and stores it in the storage unit as a start time value, and (2) the power saving by the elapsed time calculation unit. It is determined whether or not a transition to the power saving state is performed, and it is determined whether or not a timer return is necessary when the transition to the power saving state is performed. The return time value is set in the timer unit, and (3) when the return time value is set, the time value of the real-time clock unit is changed from the clock count value when the state is shifted to the power saving state. By subtracting the clock count value, the return time fractional value is calculated and stored in the storage unit, the transition to the power saving state is performed, and (4) the return from the power saving state to the normal startup state is started. When , The time value of the real time clock unit acquired at the time of return, by comparing the start time value stored in the storage unit and calculates the elapsed time from the start of the waiting process, the clock count value, is calculated (5) The elapsed time calculation unit determines whether or not the timer has been restored. If the timer has been restored, the return time fraction value stored in the storage unit is acquired. And adding to the clock count value to which the elapsed time from the start of the waiting process is added .
The image forming method of the present invention includes a control unit that counts a clock in a normal startup state and holds it as a clock count value, and a real-time clock unit that measures time and holds it as a time value even when the control unit enters a power saving state. In the image forming method by the image forming apparatus including the storage unit, the image forming apparatus further stores a return time value, and when the return time value is obtained in conjunction with the time value of the real-time clock unit. A power saving return timer unit that returns the control unit from the power saving state, and a reference time value acquisition unit that acquires a time value of the real-time clock unit as a reference time value in the normal activation state of the control unit; When the control unit has been performing a waiting process for measuring the elapsed time based on the clock count value of the control unit before the power saving state, An elapsed time calculation unit that calculates an elapsed time of the waiting process based on the reference time value acquired by the reference time value acquisition unit and the time value of the real-time clock unit when returning from the power saving state. The control unit obtains the clock count value until the time value of the real-time clock unit changes by 1 second after the reference time value is obtained by the reference time value obtaining unit, and the value of the obtained clock count value Is converted to a value in seconds including a value after the decimal point, and the converted value is subtracted from 1 to calculate a fraction of less than 1 in seconds until the reference time value is obtained. Is less than 0.5 seconds, the fraction is rounded down and the reference time value acquired in the storage unit is stored as it is. If this fraction is 0.5 seconds or more, the fraction is rounded up. In the case where the reference time value is increased by 1 and the waiting process is started, the control unit acquires (1) the time value of the real-time clock unit and stores it in the storage unit as a start time value. 2) The elapsed time calculation unit determines whether or not to shift to the power saving state, determines whether or not it is necessary to perform a timer return when shifting to the power saving state, and the timer When it is necessary to return, the return time value is set in the power saving return timer unit, and (3) when the return time value is set, from the clock count value when shifting to the power saving state Subtracting the clock count value when the time value of the real-time clock unit changes to calculate a return time fraction value, store it in the storage unit, and shift to the power saving state, (4) Above When starting the return from the power saving state to the normal activation state, and the time value of the real time clock unit acquired at the time of return from the start of the queuing process by comparing the start time value stored in the storage unit The elapsed time is calculated, and the calculated elapsed time is added to the clock count value. (5) The elapsed time calculation unit determines whether or not the timer has been restored. The return time fraction value stored in the section is acquired and added to a clock count value to which an elapsed time from the start of the waiting process is added .

本発明によれば、省電力状態からの復帰時に、リアルタイムクロックの基準時刻値により待ち合わせ処理の経過時間を算出することで、クロックを生成する回路が省電力状態で停止されても待ち合わせ処理の時間のずれを少なくする画像形成装置を提供することができる。   According to the present invention, when the circuit that generates the clock is stopped in the power saving state, the waiting time is calculated by calculating the elapsed time of the waiting process from the reference time value of the real-time clock when returning from the power saving state. Therefore, it is possible to provide an image forming apparatus that reduces the deviation.

本発明の画像形成装置の実施の形態に係るシステム構成図である。1 is a system configuration diagram according to an embodiment of an image forming apparatus of the present invention. 図1に示す画像形成装置の制御構成を示すブロック図である。FIG. 2 is a block diagram illustrating a control configuration of the image forming apparatus illustrated in FIG. 1. 図1に示す画像形成装置の概略図である。FIG. 2 is a schematic diagram of the image forming apparatus illustrated in FIG. 1. 本発明の実施の形態に係る基準時刻値設定処理のフローチャートである。It is a flowchart of the reference time value setting process which concerns on embodiment of this invention. 図4に示す端数切り上げ又は切り捨て処理の概念図である。FIG. 5 is a conceptual diagram of rounding up or down processing shown in FIG. 4. 本発明の実施の形態に係る待ち合わせ処理のフローチャートである。It is a flowchart of the waiting process which concerns on embodiment of this invention. 図4に示す開始時刻値保存処理及び経過時間算出処理の概念図である。It is a conceptual diagram of the start time value preservation | save process and elapsed time calculation process which are shown in FIG. 図4に示す復帰時端数値算出処理及び復帰時端数値補正処理の概念図である。It is a conceptual diagram of the return time end numerical value calculation process and the return time end value correction process shown in FIG. 本発明の基準時刻値がない場合を説明する概念図である。It is a conceptual diagram explaining the case where there is no reference | standard time value of this invention.

<実施の形態>
〔画像形成装置1のシステム構成〕
まず、図1を参照して、画像形成装置1のシステム構成について説明する。
<Embodiment>
[System Configuration of Image Forming Apparatus 1]
First, the system configuration of the image forming apparatus 1 will be described with reference to FIG.

画像形成装置1は、画像処理部11、原稿読取部12、原稿給送部13、搬送部(給紙ローラー422、搬送ローラー44、排出ローラー45)、ネットワーク送受信部15、操作パネル部16、記憶部19、及び画像形成部17(画像形成手段)、リアルタイムクロック部20、省電力復帰タイマー部30等が、制御部10に接続されている。各部は、制御部10によって動作制御される。   The image forming apparatus 1 includes an image processing unit 11, a document reading unit 12, a document feeding unit 13, a transport unit (paper feed roller 422, transport roller 44, discharge roller 45), network transmission / reception unit 15, operation panel unit 16, storage The unit 19, the image forming unit 17 (image forming unit), the real-time clock unit 20, the power saving return timer unit 30, and the like are connected to the control unit 10. The operation of each unit is controlled by the control unit 10.

制御部10は、GPP(General Purpose Processor)、CPU(Central Processing Unit、中央処理装置)、MPU(Micro Processing Unit)、DSP(Digital Signal Processor)、GPU(Graphics Processing Unit)、ASIC(Application Specific Processor、特定用途向けプロセッサー)等の情報処理手段である。
制御部10は、記憶部19のROMやHDDに記憶されている制御プログラムを読み出して、この制御プログラムをRAMに展開させて実行することで、後述する機能ブロックの各手段として動作させられる。また、制御部10は、図示しない外部の端末や操作パネル部16から入力された所定の指示情報に応じて、装置全体の制御を行う。
また、制御部10は、クロックをカウントするタイマー回路を備え、このタイマー回路の値をクロックカウント値510(図2)としてレジスター等の記憶手段に記憶する。このタイマー回路は、例えば、クロック周波数に基づいて、1/100秒〜1/10000秒単位の時間を測定することが可能である。また、制御部10は、このタイマー回路のスタート、ストップの制御が可能であり、クロックカウント値510のリセットも可能である。
The control unit 10 includes a general purpose processor (GPP), a central processing unit (CPU), a micro processing unit (MPU), a digital signal processor (DSP), a graphics processing unit (GPU), and an application specific processor (ASIC). Information processing means such as a processor for a specific application)
The control unit 10 reads out a control program stored in the ROM or HDD of the storage unit 19, develops the control program in the RAM, and executes it to operate as each unit of a functional block described later. Further, the control unit 10 controls the entire apparatus in accordance with predetermined instruction information input from an external terminal (not shown) or the operation panel unit 16.
The control unit 10 includes a timer circuit that counts clocks, and stores the value of the timer circuit as a clock count value 510 (FIG. 2) in a storage unit such as a register. For example, the timer circuit can measure time in units of 1/100 second to 1/10000 second based on the clock frequency. The control unit 10 can control the start and stop of the timer circuit, and can reset the clock count value 510.

また、制御部10は、各部を、通常起動状態と省電力状態の動作モードにそれぞれ移行させる。制御部10は、通常起動状態では、通常の消費電力で各部を制御する。制御部10は、通常起動状態において、記憶部19に設定された「省電力移行時間」等の所定時間が経過した場合、消費電力が低い省電力状態に各部を移行させる。
制御部10は、省電力状態では、各部の電源供給をオフにし、制御部10自体もHALT等の停止状態(スリープ状態)にする。この省電力状態では、制御部10の水晶振動子等を含むクロック供給回路等の周辺回路の電源供給もオフにするため、クロックのカウントは行えない。しかしながら、制御部10は、ネットワーク送受信部15、原稿読取部12等のセンサー、リアルタイムクロック部20、省電力復帰タイマー部30等には、電源を供給する。制御部10は、これら電源が供給されている手段からの復帰信号により、低消費電力状態から通常起動状態に移行させる。
In addition, the control unit 10 shifts each unit to an operation mode of a normal activation state and a power saving state. In the normal startup state, the control unit 10 controls each unit with normal power consumption. When a predetermined time such as “power saving transition time” set in the storage unit 19 has elapsed in the normal startup state, the control unit 10 shifts each unit to a power saving state with low power consumption.
In the power saving state, the control unit 10 turns off the power supply of each unit, and the control unit 10 itself also enters a halt state (sleep state) such as HALT. In this power saving state, power supply to peripheral circuits such as a clock supply circuit including a crystal resonator of the control unit 10 is also turned off, so that clock counting cannot be performed. However, the control unit 10 supplies power to the network transmission / reception unit 15, sensors such as the document reading unit 12, the real-time clock unit 20, the power saving return timer unit 30, and the like. The control unit 10 shifts from the low power consumption state to the normal activation state by a return signal from the means to which these power supplies are supplied.

画像処理部11は、DSP(Digital Signal Processor)やGPU(Graphics Processing Unit)等の制御演算手段である。画像処理部11は、画像データに対して所定の画像処理を行う手段であり、例えば、拡大縮小処理、濃度調整、階調調整、画像改善処理等の各種画像処理を行う。
画像処理部11は、原稿読取部12で読み取られた画像を、記憶部19に印刷データとして記憶する。この際、画像処理部11は、印刷データをPDFやTIFF等のフォーマットのファイル単位に変換することも可能である。
The image processing unit 11 is control arithmetic means such as a DSP (Digital Signal Processor) or a GPU (Graphics Processing Unit). The image processing unit 11 is a unit that performs predetermined image processing on image data, and performs various types of image processing such as enlargement / reduction processing, density adjustment, gradation adjustment, and image improvement processing.
The image processing unit 11 stores the image read by the document reading unit 12 in the storage unit 19 as print data. At this time, the image processing unit 11 can also convert the print data into a file unit in a format such as PDF or TIFF.

原稿読取部12は、セットされた原稿を読み取る(スキャン)手段である。原稿読取部12は、原稿を検知するセンサーにより、省電力状態から復帰させる復帰信号を取得し、制御部10を含む各部へ送信可能である。
原稿給送部13は、原稿読取部12で読み取られる原稿を搬送する手段である。
画像形成部17は、ユーザーの出力指示により、記憶部19に記憶され、原稿読取部12で読み取られ、又は外部の端末から取得されたデータから記録紙への画像形成を行わせる手段である。
搬送部は、給紙カセット421(図3)から記録紙を搬送し、画像形成部17で画像形成させ、その後にスタックトレイ50へ搬送する。
なお、原稿読取部12、原稿給送部13、搬送部、画像形成部17の動作については後述する。
The document reading unit 12 is a (scan) unit that reads a set document. The document reading unit 12 can acquire a return signal for returning from the power saving state by a sensor that detects the document, and can transmit it to each unit including the control unit 10.
The document feeding unit 13 is a unit that transports a document read by the document reading unit 12.
The image forming unit 17 is a unit that forms an image on a recording sheet from data stored in the storage unit 19 and read by the document reading unit 12 or acquired from an external terminal according to a user output instruction.
The transport unit transports the recording paper from the paper feed cassette 421 (FIG. 3), causes the image forming unit 17 to form an image, and then transports the recording paper to the stack tray 50.
The operations of the document reading unit 12, the document feeding unit 13, the transport unit, and the image forming unit 17 will be described later.

ネットワーク送受信部15は、LAN、無線LAN、WAN、携帯電話網等の外部ネットワークに接続するためのLANボードや無線送受信機等を含むネットワーク接続手段である。
ネットワーク送受信部15は、データ通信用の回線ではデータを送受信し、音声電話回線では音声信号を送受信する。
ネットワーク送受信部15は、省電力状態から復帰させる復帰信号を取得し、制御部10を含む各部へ送信可能である。
The network transmission / reception unit 15 is a network connection unit including a LAN board, a wireless transceiver, and the like for connecting to an external network such as a LAN, a wireless LAN, a WAN, and a mobile phone network.
The network transmission / reception unit 15 transmits / receives data on a data communication line and transmits / receives voice signals on a voice telephone line.
The network transmission / reception unit 15 can acquire a return signal for returning from the power saving state and can transmit it to each unit including the control unit 10.

操作パネル部16は、LCD等の表示部と、テンキー、スタート、キャンセル、複写やFAX送信やスキャナー等の動作モードの切り換えのボタン、選択された文書の印刷や送信や保存や記録等に関するジョブの実行に係る指示を行うためのボタンやタッチパネル等の入力部とを備えている。
操作パネル部16も、ボタンやタッチパネル等の押下や、接続された図示しない人感センサー等から、省電力状態から復帰させる復帰信号を取得し、制御部10を含む各部へ送信可能である。
操作パネル部16は、ユーザーによる画像形成装置1の各種ジョブの指示を取得する。また、操作パネル部16から取得したユーザーの指示により、各ユーザーの情報を入力、変更することも可能である。
The operation panel unit 16 includes a display unit such as an LCD, a numeric keypad, a start button, a cancel button, a button for switching operation modes such as copying, FAX transmission, and a scanner, and a job for printing, transmission, storage, and recording of a selected document. And an input unit such as a button and a touch panel for giving instructions related to execution.
The operation panel unit 16 can also acquire a return signal for returning from the power saving state from pressing of a button, a touch panel, or the like, or a connected human sensor (not shown), and can transmit it to each unit including the control unit 10.
The operation panel unit 16 acquires instructions for various jobs of the image forming apparatus 1 by the user. It is also possible to input and change information of each user according to user instructions acquired from the operation panel unit 16.

記憶部19は、ROM(Read Only Memory)、RAM(Random Access Memory)等の半導体メモリーやHDD(Hard Disk Drive)等の記録媒体を用いた記憶手段である。
記憶部19のRAMは、省電力状態であっても、セルフリフレッシュ等の機能により、記憶内容が保持される。
記憶部19は、制御部10のクロックカウントに関する各値(図2)を記憶している。また、記憶部19のROMやHDDには画像形成装置1の動作制御を行うための制御プログラムが記憶されている。これに加えて、記憶部19は、ユーザーのアカウント設定も記憶している。また、記憶部19には、ユーザー毎の保存フォルダーの領域が含まれていてもよい。
The storage unit 19 is a storage unit that uses a semiconductor memory such as a ROM (Read Only Memory) or a RAM (Random Access Memory) or a recording medium such as an HDD (Hard Disk Drive).
Even if the RAM of the storage unit 19 is in a power saving state, the stored contents are held by a function such as self-refresh.
The storage unit 19 stores each value (FIG. 2) relating to the clock count of the control unit 10. A control program for controlling the operation of the image forming apparatus 1 is stored in the ROM and HDD of the storage unit 19. In addition to this, the storage unit 19 also stores user account settings. The storage unit 19 may include a storage folder area for each user.

リアルタイムクロック部20は、制御部10が省電力状態になっても時刻を測定する、バッテリーバックアップ機能付きのリアルタイムクロック(Real-Time Clock)等の計時専用の回路である。リアルタイムクロック部20は、例えば、制御部10用とは別に備えられた図示しない水晶発振回路等により供給されるクロックにより、秒単位で常に時刻を測定している。この時刻は、時刻値520(図2)として読み出し可能である。また、リアルタイムクロック部20の時刻は、制御部10により変更可能である。   The real-time clock unit 20 is a circuit dedicated to timing such as a real-time clock with a battery backup function that measures time even when the control unit 10 enters a power saving state. For example, the real-time clock unit 20 always measures time in units of seconds using a clock supplied by a crystal oscillation circuit (not shown) provided separately from the control unit 10. This time can be read as a time value 520 (FIG. 2). Further, the time of the real-time clock unit 20 can be changed by the control unit 10.

省電力復帰タイマー部30は、設定された復帰時刻530(図2)になった際に、制御部10を省電力状態から復帰させる手段である。省電力復帰タイマー部30は、例えば、リアルタイムクロック部20の時刻と連動して、設定された時刻に、制御部10に割り込み信号等により復帰信号を送信する。これにより、制御部10に電源が供給されてオンになり、省電力状態から復帰されるタイマー復帰が行われる。
また、省電力復帰タイマー部30は、設定された所定時刻が経過すると、割り込み信号等による省電力移行信号を制御部10に送信する。この省電力移行信号を受信した制御部10は、各部を省電力状態に移行させる。
The power saving return timer unit 30 is means for returning the control unit 10 from the power saving state when the set return time 530 (FIG. 2) is reached. For example, the power saving return timer unit 30 transmits a return signal to the control unit 10 by an interrupt signal or the like at a set time in conjunction with the time of the real-time clock unit 20. As a result, power is supplied to the control unit 10 to turn it on, and a timer return that returns from the power saving state is performed.
Further, the power saving return timer unit 30 transmits a power saving transition signal based on an interrupt signal or the like to the control unit 10 when the set predetermined time has elapsed. The control unit 10 that has received the power saving transition signal shifts each unit to the power saving state.

なお、画像形成装置1において、制御部10及び画像処理部11は、GPU内蔵CPU等やチップ・オン・モジュールパッケージのように、一体的に形成されていてもよい。
また、リアルタイムクロック部20と省電力復帰タイマー部30とについても、一体的に形成されていてもよい。
また、制御部10及び画像処理部11は、RAMやROMやフラッシュメモリー等を内蔵していてもよい。
また、画像形成装置1は、ファクシミリの送受信を行うFAX送受信部を備えていてもよい。
In the image forming apparatus 1, the control unit 10 and the image processing unit 11 may be integrally formed, such as a CPU with a built-in GPU or a chip-on-module package.
Further, the real-time clock unit 20 and the power saving return timer unit 30 may be integrally formed.
The control unit 10 and the image processing unit 11 may include a RAM, a ROM, a flash memory, and the like.
Further, the image forming apparatus 1 may include a FAX transmission / reception unit that performs facsimile transmission / reception.

〔画像形成装置1の制御の流れ〕
ここで、図2を参照し、画像形成装置1の制御の流れについて説明する。
画像形成装置1は、基準時刻値取得部100(基準時刻値取得手段)及び経過時間算出部110(経過時間算出手段)を備えている。
制御部10は、待ち合わせ処理の際、レジスター等の記憶手段に記憶されたクロックカウント値510を更新する。
リアルタイムクロック部20は、通常起動状態及び省電力状態で、記憶手段に記憶された時刻値520を常に更新している。
省電力復帰タイマー部30は、復帰時刻530を制御部10により設定される。また、省電力復帰タイマー部30は、リアルタイムクロック部20の時刻値520が復帰時刻530になった場合、制御部10を省電力状態から復帰させる。
記憶部19は、復帰時刻530、復帰時刻端数値540、基準時刻値550、開始時刻値560を記憶している。
[Control Flow of Image Forming Apparatus 1]
Here, the control flow of the image forming apparatus 1 will be described with reference to FIG.
The image forming apparatus 1 includes a reference time value acquisition unit 100 (reference time value acquisition unit) and an elapsed time calculation unit 110 (elapsed time calculation unit).
The control unit 10 updates the clock count value 510 stored in the storage unit such as a register during the waiting process.
The real-time clock unit 20 constantly updates the time value 520 stored in the storage unit in the normal activation state and the power saving state.
The power saving return timer unit 30 sets the return time 530 by the control unit 10. The power saving return timer unit 30 returns the control unit 10 from the power saving state when the time value 520 of the real-time clock unit 20 reaches the return time 530.
The storage unit 19 stores a return time 530, a return time fraction value 540, a reference time value 550, and a start time value 560.

基準時刻値取得部100は、制御部10の通常起動状態で、リアルタイムクロック部20の時刻値520を基準時刻値550として取得する。
また、基準時刻値取得部100は、制御部10のクロックカウント値510により、基準時刻値550の例えば1秒未満の端数を切り上げ又は切り捨てする。この際、基準時刻値取得部100は、基準時刻値550が1秒増加するまでの区間のクロックカウント値510の値が、1秒の半分未満の場合には切り捨てし、1秒の半分以上の場合には切り上げする。
また、基準時刻値取得部100は、省電力復帰タイマー部30に復帰時刻530が設定された際に、制御部10のクロックカウント値510から、復帰時刻の端数値である復帰時刻端数値540を算出する。
The reference time value acquisition unit 100 acquires the time value 520 of the real-time clock unit 20 as the reference time value 550 in the normal activation state of the control unit 10.
Further, the reference time value acquisition unit 100 rounds up or rounds down a fraction of the reference time value 550, for example, less than 1 second, based on the clock count value 510 of the control unit 10. At this time, the reference time value acquisition unit 100 truncates the clock count value 510 during the interval until the reference time value 550 is increased by 1 second if it is less than half of 1 second, and exceeds half of 1 second. Round up in case.
Further, when the return time 530 is set in the power saving return timer unit 30, the reference time value acquisition unit 100 obtains a return time fraction value 540 that is a fractional value of the return time from the clock count value 510 of the control unit 10. calculate.

経過時間算出部110は、制御部10が省電力状態の前から制御部10のクロックカウント値510により経過時間を測定する待ち合わせ処理をしていた場合、基準時刻値取得部100により取得された基準時刻値550と、省電力状態からの復帰時のリアルタイムクロック部20の時刻値520とにより、待ち合わせ処理の経過時間を算出する。
また、経過時間算出部110は、設定された復帰時刻530に省電力復帰タイマー部30により省電力状態から復帰された場合、復帰時刻端数値540により、算出された待ち合わせ処理の経過時間を補正する。
The elapsed time calculation unit 110 is a reference acquired by the reference time value acquisition unit 100 when the control unit 10 is performing a waiting process for measuring the elapsed time based on the clock count value 510 of the control unit 10 before the power saving state. The elapsed time of the waiting process is calculated from the time value 550 and the time value 520 of the real-time clock unit 20 when returning from the power saving state.
Further, when the power saving return timer unit 30 returns from the power saving state at the set return time 530, the elapsed time calculation unit 110 corrects the calculated elapsed time of the waiting process by the return time fraction value 540. .

クロックカウント値510は、制御部10が水晶発振回路(図示せず)により生成され供給されるクロックや内蔵する発振回路(図示せず)により発生されるクロックがカウントされた値である。クロックカウント値510は、リアルタイムクロック部20の時刻値520よりも短い間隔でカウントされている。   The clock count value 510 is a value obtained by counting the clock generated and supplied by the control unit 10 by a crystal oscillation circuit (not shown) or the clock generated by a built-in oscillation circuit (not shown). The clock count value 510 is counted at an interval shorter than the time value 520 of the real-time clock unit 20.

時刻値520は、リアルタイムクロック部20が更新し続ける時刻を示す値である。時刻値520は、例えば、1秒単位で、年、日、時、分、秒等の時刻の値として、リアルタイムクロック部20のレジスター等の記憶手段に記憶されている。   The time value 520 is a value indicating the time at which the real-time clock unit 20 continues to be updated. The time value 520 is stored in a storage unit such as a register of the real-time clock unit 20 as a time value such as year, day, hour, minute, and second in units of one second.

復帰時刻530は、省電力復帰タイマー部30のレジスター等の記憶手段に記憶された復帰時刻の時刻値である。復帰時刻530は、記憶部19に記憶された制御プログラムにより設定される。復帰時刻530は、例えば、リアルタイムクロック部20で設定される時刻値520と同じ単位の時刻を示す。また、インターバルタイマーのように所定間隔で復帰させるような設定も可能である。また、復帰時刻530は、操作パネル部16によるユーザーの指示により、制御部10が設定してもよい。   The return time 530 is a time value of the return time stored in a storage unit such as a register of the power saving return timer unit 30. The return time 530 is set by a control program stored in the storage unit 19. The return time 530 indicates a time in the same unit as the time value 520 set by the real-time clock unit 20, for example. Further, it is possible to set to return at a predetermined interval like an interval timer. Further, the return time 530 may be set by the control unit 10 according to a user instruction from the operation panel unit 16.

復帰時刻端数値540は、省電力復帰タイマー部30に復帰時刻530が設定された際の制御部10のクロックカウント値510により算出された値である。復帰時刻端数値540は、省電力復帰タイマー部30のタイマーにより復帰された際に、経過時間をより正確に算出するために用いられる。   The return time fraction value 540 is a value calculated by the clock count value 510 of the control unit 10 when the return time 530 is set in the power saving return timer unit 30. The return time fraction value 540 is used to calculate the elapsed time more accurately when the return time fraction value 540 is returned by the timer of the power saving return timer unit 30.

基準時刻値550は、制御部10の通常起動状態で取得された、リアルタイムクロック部20の時刻値520の値である。基準時刻値550は、待ち合わせ処理の経過時間を算出するために用いられる。また、基準時刻値550は、例えば、time_tデータ型により表現される。   The reference time value 550 is a value of the time value 520 of the real-time clock unit 20 acquired in the normal activation state of the control unit 10. The reference time value 550 is used to calculate the elapsed time of the waiting process. Further, the reference time value 550 is expressed by, for example, a time_t data type.

開始時刻値560は、待ち合わせ処理の開始時に取得された、リアルタイムクロック部20の時刻値520の値である。経過時間算出部110が待ち合わせ処理の経過時間を算出する際に、開始時刻値560から基準時刻値550が差分された値が用いられる。開始時刻値560も、例えば、time_tデータ型により表現されていてもよい。   The start time value 560 is a value of the time value 520 of the real-time clock unit 20 acquired at the start of the waiting process. When the elapsed time calculation unit 110 calculates the elapsed time of the waiting process, a value obtained by subtracting the reference time value 550 from the start time value 560 is used. The start time value 560 may also be expressed by, for example, the time_t data type.

ここで、画像形成装置1の制御部10は、記憶部19に記憶された制御プログラムを実行することで、基準時刻値取得部100及び経過時間算出部110として機能する。
また、上述の画像形成装置1の各部は、本発明の画像形成方法を実行するハードウェア資源となる。
Here, the control unit 10 of the image forming apparatus 1 functions as the reference time value acquisition unit 100 and the elapsed time calculation unit 110 by executing the control program stored in the storage unit 19.
Each unit of the image forming apparatus 1 is a hardware resource for executing the image forming method of the present invention.

〔画像形成装置1の動作〕
次に、図3を参照して、本発明の実施の形態に係る画像形成装置1の動作について説明する。
原稿読取部12は、本体部14の上部に配設され、原稿給送部13は、原稿読取部12の上部に配設されている。スタックトレイ50は、本体部14に形成された記録紙の排出口41側に配設され、また、操作パネル部16は、画像形成装置1のフロント側に配設されている。
[Operation of Image Forming Apparatus 1]
Next, the operation of the image forming apparatus 1 according to the embodiment of the present invention will be described with reference to FIG.
The document reading unit 12 is arranged on the upper part of the main body unit 14, and the document feeding unit 13 is arranged on the upper side of the document reading unit 12. The stack tray 50 is disposed on the recording paper discharge port 41 side formed in the main body unit 14, and the operation panel unit 16 is disposed on the front side of the image forming apparatus 1.

原稿読取部12は、スキャナー12aと、プラテンガラス12bと、原稿読取スリット12cとを備えている。スキャナー12aは、露光ランプ、及びCCD(Charge Coupled Device)やCMOS(Complementary Metal Oxide Semiconductor)撮像センサー等から構成され、原稿給送部13による原稿の搬送方向に移動可能に構成されている。
プラテンガラス12bは、ガラス等の透明部材により構成された原稿台である。原稿読取スリット12cは、原稿給送部13による原稿の搬送方向と直交方向に形成されたスリットを有する。
The document reading unit 12 includes a scanner 12a, a platen glass 12b, and a document reading slit 12c. The scanner 12 a includes an exposure lamp, a CCD (Charge Coupled Device), a CMOS (Complementary Metal Oxide Semiconductor) imaging sensor, and the like, and is configured to be movable in the document transport direction by the document feeder 13.
The platen glass 12b is an original table made of a transparent member such as glass. The document reading slit 12 c has a slit formed in a direction orthogonal to the document transport direction by the document feeding unit 13.

プラテンガラス12bに載置された原稿を読み取る場合には、スキャナー12aは、プラテンガラス12bに対向する位置に移動され、プラテンガラス12bに載置された原稿を走査しながら原稿を読み取って画像データを取得して、取得した画像データを本体部14に出力する。
また、原稿給送部13により搬送された原稿を読み取る場合には、スキャナー12aは、原稿読取スリット12cと対向する位置に移動され、原稿読取スリット12cを介し、原稿給送部13による原稿の搬送動作と同期して原稿を読み取って画像データを取得し、取得した画像データを本体部14に出力する。
When reading a document placed on the platen glass 12b, the scanner 12a is moved to a position facing the platen glass 12b, and reads the document while scanning the document placed on the platen glass 12b to obtain image data. The acquired image data is output to the main body unit 14.
When reading the document conveyed by the document feeding unit 13, the scanner 12a is moved to a position facing the document reading slit 12c, and the document feeding unit 13 conveys the document through the document reading slit 12c. The document is read in synchronization with the operation to acquire image data, and the acquired image data is output to the main body unit 14.

原稿給送部13は、原稿載置部13aと、原稿排出部13bと、原稿搬送機構13cとを備えている。原稿載置部13aに載置された原稿は、原稿搬送機構13cによって、1枚ずつ順に繰り出されて原稿読取スリット12cに対向する位置へ搬送され、その後、原稿排出部13bに排出される。
なお、原稿給送部13は、可倒式に構成され、原稿給送部13を上方に持ち上げることで、プラテンガラス12bの上面を開放させることができる。
The document feeding unit 13 includes a document placement unit 13a, a document discharge unit 13b, and a document transport mechanism 13c. The originals placed on the original placement unit 13a are sequentially fed out one by one by the original conveyance mechanism 13c, conveyed to a position facing the original reading slit 12c, and then discharged to the original discharge unit 13b.
The document feeding unit 13 is configured to be retractable, and the upper surface of the platen glass 12b can be opened by lifting the document feeding unit 13 upward.

本体部14は、画像形成部17を備えると共に、給紙部42と、用紙搬送路43と、搬送ローラー44と、排出ローラー45とを備えている。給紙部42は、それぞれサイズ又は向きが異なる記録紙を収納する複数の給紙カセット421と、給紙カセット421から記録紙を1枚ずつ用紙搬送路43に繰り出す給紙ローラー422とを備えている。給紙ローラー422、搬送ローラー44、及び排出ローラー45は、搬送部として機能する。記録紙は、この搬送部により搬送される。
給紙ローラー422によって用紙搬送路43に繰り出された記録紙は、搬送ローラー44によって画像形成部17に搬送される。そして、画像形成部17によって記録が施された記録紙は、排出ローラー45によってスタックトレイ50に排出される。
The main body 14 includes the image forming unit 17, and includes a paper feeding unit 42, a paper conveyance path 43, a conveyance roller 44, and a discharge roller 45. The paper feed unit 42 includes a plurality of paper feed cassettes 421 that store recording papers of different sizes or orientations, and a paper feed roller 422 that feeds the recording papers one by one from the paper feed cassette 421 to the paper transport path 43. Yes. The paper feed roller 422, the transport roller 44, and the discharge roller 45 function as a transport unit. The recording paper is conveyed by this conveyance unit.
The recording paper fed to the paper transport path 43 by the paper feed roller 422 is transported to the image forming unit 17 by the transport roller 44. Then, the recording paper on which recording is performed by the image forming unit 17 is discharged to the stack tray 50 by the discharge roller 45.

画像形成部17は、感光体ドラム17aと、露光部17bと、現像部17cと、転写部17dと、定着部17eとを備えている。露光部17bは、レーザー装置やミラーやレンズやLEDアレイ等を備えた光学ユニットであり、画像データに基づいて光等を出力して感光体ドラム17aを露光し、感光体ドラム17aの表面に静電潜像を形成する。現像部17cは、トナーを用いて感光体ドラム17aに形成された静電潜像を現像する現像ユニットであり、静電潜像に基づいたトナー像を感光体ドラム17a上に形成させる。転写部17dは、現像部17cによって感光体ドラム17a上に形成されたトナー像を記録紙に転写させる。定着部17eは、転写部17dによってトナー像が転写された記録紙を加熱してトナー像を記録紙に定着させる。   The image forming unit 17 includes a photosensitive drum 17a, an exposure unit 17b, a developing unit 17c, a transfer unit 17d, and a fixing unit 17e. The exposure unit 17b is an optical unit including a laser device, a mirror, a lens, an LED array, and the like. The exposure unit 17b outputs light or the like based on image data to expose the photosensitive drum 17a, and the surface of the photosensitive drum 17a is statically exposed. An electrostatic latent image is formed. The developing unit 17c is a developing unit that develops the electrostatic latent image formed on the photosensitive drum 17a using toner, and forms a toner image based on the electrostatic latent image on the photosensitive drum 17a. The transfer unit 17d transfers the toner image formed on the photosensitive drum 17a by the developing unit 17c to a recording sheet. The fixing unit 17e heats the recording paper on which the toner image is transferred by the transfer unit 17d to fix the toner image on the recording paper.

〔画像形成装置1による基準時刻値設定処理〕
次に、図4〜図5を参照して、本発明の実施の形態に係る画像形成装置1による待ち合わせ処理の説明を行う。
この処理では、省電力状態から復帰する際に経過時刻を測定するための基準時刻値550を算出する。この処理は、例えば、制御部10が全体の電源オフから通常起動したコールドブートの際に、一度だけ行われる。
本実施形態の基準時刻値設定処理は、主に制御部10が、記憶部19に記憶されたプログラムを、各部と協働し、ハードウェア資源を用いて実行する。
以下で、図4のフローチャートを参照して、基準時刻値設定処理の詳細をステップ毎に説明する。
[Reference Time Value Setting Process by Image Forming Apparatus 1]
Next, a waiting process by the image forming apparatus 1 according to the embodiment of the present invention will be described with reference to FIGS.
In this process, a reference time value 550 for measuring the elapsed time when returning from the power saving state is calculated. This process is performed only once, for example, at the time of a cold boot in which the control unit 10 is normally started after the entire power is turned off.
In the reference time value setting process of the present embodiment, the control unit 10 mainly executes a program stored in the storage unit 19 using hardware resources in cooperation with each unit.
The details of the reference time value setting process will be described step by step with reference to the flowchart of FIG.

(ステップS101)
まず、制御部10は、基準時刻値取得部100により、基準時刻値取得処理を行う。
制御部10は、通常起動状態で、リアルタイムクロック部20の時刻値520を基準時刻値として取得し、記憶部19に記憶させる。
また、この際、制御部10は、クロックカウント値510によるクロックのカウントを開始する。
(Step S101)
First, the control unit 10 performs a reference time value acquisition process using the reference time value acquisition unit 100.
The control unit 10 acquires the time value 520 of the real-time clock unit 20 as a reference time value in the normal activation state, and stores it in the storage unit 19.
At this time, the control unit 10 starts counting the clock with the clock count value 510.

(ステップS102)
次に、制御部10は、基準時刻値取得部100により、端数切り上げ又は切り捨て処理を行う。
図5を参照して説明すると、基準時刻値550を取得した後、制御部10は、例えば、リアルタイムクロック部20の時刻値520が1秒変化するまでのクロックカウント値510を取得する。制御部10は、取得したクロックカウント値510の値を、小数点以下の値を含む秒単位の値に変換する。制御部10は、例えば、その変換された値を1から減算し、基準時刻値550が取得されるまでの秒単位の1未満の端数を算出する。
図5(a)によると、この端数が0.5秒未満であった場合、制御部10は端数を切り捨てて、記憶部19に取得された基準時刻値550をそのまま保持する。
また、図5(b)によると、この端数が0.5秒以上であった場合、制御部10は端数を切り上げて、基準時刻値550を1増加させる。
これにより、待ち合わせ処理で、より正確な経過時刻の算出が可能となる。
以上により、本発明の実施の形態に係る基準時刻値設定処理を終了する。
(Step S102)
Next, the control unit 10 uses the reference time value acquisition unit 100 to round up or round down.
Referring to FIG. 5, after acquiring the reference time value 550, the control unit 10 acquires, for example, the clock count value 510 until the time value 520 of the real-time clock unit 20 changes for 1 second. The control unit 10 converts the acquired clock count value 510 into a value in seconds including a value after the decimal point. For example, the control unit 10 subtracts the converted value from 1, and calculates a fraction of less than 1 in seconds until the reference time value 550 is acquired.
According to FIG. 5A, when the fraction is less than 0.5 seconds, the control unit 10 rounds down the fraction and holds the reference time value 550 acquired in the storage unit 19 as it is.
Further, according to FIG. 5B, when this fraction is 0.5 seconds or more, the control unit 10 rounds up the fraction and increases the reference time value 550 by one.
This makes it possible to calculate a more accurate elapsed time in the waiting process.
Thus, the reference time value setting process according to the embodiment of the present invention is completed.

〔画像形成装置1による待ち合わせ処理〕
次に、図6〜図8を参照して、本発明の実施の形態に係る画像形成装置1による待ち合わせ処理の説明を行う。
この待ち合わせ処理は、制御部10がクロックをカウントし、クロックカウント値510により経過時間を測定する処理である。制御部10が省電力状態になり復帰した場合には、基準時刻値550と、復帰時のリアルタイムクロックの時刻値520とにより、待ち合わせ処理の経過時間を算出する。これにより、省電力状態でクロックカウント値510のカウントがアップされなかったことによる時間のずれを抑えることができる。
本実施形態の基準時刻値設定処理は、主に制御部10が、記憶部19に記憶されたプログラムを、各部と協働し、ハードウェア資源を用いて実行する。
以下で、図6のフローチャートを参照し待ち合わせ処理の概要をステップ毎に説明する。
[Waiting process by the image forming apparatus 1]
Next, a waiting process by the image forming apparatus 1 according to the embodiment of the present invention will be described with reference to FIGS.
This waiting process is a process in which the control unit 10 counts the clock and measures the elapsed time based on the clock count value 510. When the control unit 10 returns to the power saving state, the elapsed time of the waiting process is calculated from the reference time value 550 and the time value 520 of the real time clock at the time of return. Thereby, it is possible to suppress a time lag due to the fact that the count of the clock count value 510 is not increased in the power saving state.
In the reference time value setting process of the present embodiment, the control unit 10 mainly executes a program stored in the storage unit 19 using hardware resources in cooperation with each unit.
Hereinafter, the outline of the waiting process will be described step by step with reference to the flowchart of FIG.

(ステップS201)
まず、制御部10は、経過時間算出部110により、待ち合わせ開始処理を行う。
制御部10は、記憶部19に記憶された制御プログラムの処理として、待ち合わせの必要が生じた場合、クロックのカウントにより、クロックカウント値510に示される時刻の測定を開始する。この際、制御部10は、待ち合わせ時間を指定して、記憶部19に記憶する。
(Step S201)
First, the controller 10 causes the elapsed time calculator 110 to perform a waiting start process.
The control unit 10 starts measuring the time indicated by the clock count value 510 by counting the clock when waiting is required as the processing of the control program stored in the storage unit 19. At this time, the control unit 10 specifies the waiting time and stores it in the storage unit 19.

(ステップS202)
次に、制御部10は、経過時間算出部110により、開始時刻値保存処理を行う。
図7を参照すると、制御部10は、リアルタイムクロックの時刻値520の時刻値を取得して、開始時刻値560として記憶部19に記憶する。
この際に、制御部10は、開始時刻値560についても、上述のステップS102(図4)と同様に、クロックカウント値510による端数切り上げ又は切り捨て処理を行ってもよい。
(Step S202)
Next, the control unit 10 causes the elapsed time calculation unit 110 to perform start time value storage processing.
Referring to FIG. 7, the control unit 10 acquires the time value of the real-time clock time value 520 and stores it in the storage unit 19 as the start time value 560.
At this time, the control unit 10 may perform rounding up or down processing for the start time value 560 by the clock count value 510 as in step S102 (FIG. 4) described above.

(ステップS203)
次に、制御部10は、経過時間算出部110により、省電力状態に移行されるか否かを判定する。制御部10は、制御プログラムの処理等により、省電力状態に移行される場合には、Yesと判定する。制御部10は、それ以外の場合には、Noと判定する。
Yesの場合、制御部10は、処理をステップS204に進める。
Noの場合、制御部10は、処理をステップS211に進める。
(Step S203)
Next, the control unit 10 determines whether or not the elapsed time calculation unit 110 shifts to the power saving state. The control part 10 determines as Yes, when changing to a power saving state by the process of a control program, etc. In other cases, the control unit 10 determines No.
In the case of Yes, the control part 10 advances a process to step S204.
In No, the control part 10 advances a process to step S211.

(ステップS204)
省電力状態に移行される場合、制御部10は、経過時間算出部110により、タイマー復帰を行う必要があるか否かを判定する。制御部10は、例えば、ネットワークの応答のように、省電力状態に移行した後、省電力復帰タイマー部30に設定された時刻に通常起動状態へタイマー復帰させる場合には、Yesと判定する。制御部10は、それ以外の場合には、Noと判定する。
Yesの場合、制御部10は、処理をステップS205に進める。
Noの場合、制御部10は、処理をステップS207に進める。
(Step S204)
In the case of shifting to the power saving state, the control unit 10 determines whether or not it is necessary to return the timer by the elapsed time calculation unit 110. For example, when the control unit 10 returns to the normal activation state at the time set in the power saving return timer unit 30 after shifting to the power saving state, as in a network response, for example, the control unit 10 determines Yes. In other cases, the control unit 10 determines No.
In the case of Yes, the control part 10 advances a process to step S205.
In No, the control part 10 advances a process to step S207.

(ステップS205)
タイマー復帰を行う必要がある場合、制御部10は、経過時間算出部110により、復帰時刻タイマー設定処理を行う。
制御部10は、省電力復帰タイマー部30により通常起動状態へ復帰させる必要がある場合、省電力復帰タイマー部30に復帰時刻530を設定する。
また、制御部10は、復帰時刻530として、単なる復帰時刻を設定するのではなく、例えば、ネットワークのプロトコルの応答等のタイミングにより、複数回、省電力状態への移行と通常起動状態への復帰を繰り返すインターバルタイマー等を設定してもよい。
(Step S205)
When it is necessary to perform the timer recovery, the control unit 10 causes the elapsed time calculation unit 110 to perform a recovery time timer setting process.
The control unit 10 sets a return time 530 in the power saving return timer unit 30 when the power saving return timer unit 30 needs to return to the normal activation state.
In addition, the control unit 10 does not simply set a return time as the return time 530, but, for example, shifts to the power saving state and returns to the normal startup state a plurality of times at the timing of network protocol response or the like. You may set the interval timer etc. which repeat.

(ステップS206)
次に、制御部10は、経過時間算出部110により、復帰時端数値算出処理を行う。
図8を参照すると、制御部10は、省電力状態に移行される際のリアルタイムクロック部20の時刻値520の端数値をクロックカウント値510により算出し、復帰時刻端数値540として記憶部19に記憶させる。
制御部10は、例えば、省電力状態に移行される際のクロックカウント値510から、そのリアルタイムクロック部20の時刻値520が変化した際のクロックカウント値510を減算することで、この復帰時刻端数値540を算出する。
(Step S206)
Next, the control unit 10 causes the elapsed time calculation unit 110 to perform return time value calculation processing.
Referring to FIG. 8, the control unit 10 calculates the fractional value of the time value 520 of the real-time clock unit 20 at the time of shifting to the power saving state, based on the clock count value 510, and stores it as the return time fractional value 540 in the storage unit 19. Remember.
For example, the control unit 10 subtracts the clock count value 510 when the time value 520 of the real-time clock unit 20 is changed from the clock count value 510 when the state is shifted to the power saving state. A numerical value 540 is calculated.

(ステップS207)
ここで、制御部10は、経過時間算出部110により、省電力状態移行処理を行う。
制御部10は、各部の電源をオフにし、制御部10自体の動作も停止させ、スリープ状態等に遷移する。省電力状態の間は、クロックのカウントが停止するものの、クロックカウント値510は保持される。
また、省電力状態の際に、記憶部19のRAMはセルフリフレッシュ状態となり、又は不揮発性の記憶領域に転送され、記憶されているデータが保持される。
(Step S207)
Here, the control unit 10 performs a power saving state transition process using the elapsed time calculation unit 110.
The control unit 10 turns off the power of each unit, stops the operation of the control unit 10 itself, and transitions to a sleep state or the like. During the power saving state, although the clock count is stopped, the clock count value 510 is held.
In the power saving state, the RAM of the storage unit 19 is in a self-refresh state or is transferred to a nonvolatile storage area and the stored data is held.

(ステップS208)
その後、制御部10は復帰信号を取得し、低消費電力状態から通常起動状態に復帰開始する。そして、制御部10は、経過時間算出部110により経過時間算出処理を行う。
図7を再び参照すると、制御部10は、省電力状態からの復帰時に、リアルタイムクロック部20から時刻値520を取得し、記憶部19に記憶された基準時刻値550と比較して経過時間を算出する。
制御部10は、例えば、復帰時に取得した時刻値520から、基準時刻値550を減算し、更に、記憶部19に記憶された開始時刻値560を減算する。制御部10はその減算の結果の秒数に、1秒あたりのクロックカウント値510の値を掛けることで、待ち合わせ処理の開始からの経過時間を算出してもよい。
制御部10は、クロックカウント値510に、算出された経過時間を加える。
図7のように、制御部10は、低消費電力状態からの起動の度に、経過時間を算出してもよい。この場合も、制御部10は、いちいち基準時刻値550により差分を算出するため、後述するように経過時刻算出の精度が高くなる。
(Step S208)
Thereafter, the control unit 10 acquires a return signal and starts to return from the low power consumption state to the normal startup state. Then, the control unit 10 performs an elapsed time calculation process using the elapsed time calculation unit 110.
Referring back to FIG. 7, the control unit 10 acquires the time value 520 from the real-time clock unit 20 when returning from the power saving state, and compares the elapsed time with the reference time value 550 stored in the storage unit 19. calculate.
For example, the control unit 10 subtracts the reference time value 550 from the time value 520 acquired at the time of return, and further subtracts the start time value 560 stored in the storage unit 19. The control unit 10 may calculate the elapsed time from the start of the waiting process by multiplying the number of seconds resulting from the subtraction by the value of the clock count value 510 per second.
The control unit 10 adds the calculated elapsed time to the clock count value 510.
As illustrated in FIG. 7, the control unit 10 may calculate the elapsed time every time the controller 10 starts up from the low power consumption state. Also in this case, the control unit 10 calculates the difference based on the reference time value 550, so that the accuracy of the elapsed time calculation is increased as described later.

(ステップS209)
次に、制御部10は、経過時間算出部110により、タイマー復帰であったか否かを判定する。制御部10は、設定された復帰時刻530に、省電力復帰タイマー部30により低消費電力状態から復帰された場合には、Yesと判定する。制御部10は、それ以外の例えばネットワーク送受信部15からの復帰信号による低消費電力状態からの復帰の場合には、Noと判定する。
Yesの場合、制御部10は、処理をステップS210に進める。
Noの場合、制御部10は、処理をステップS211に進める。
(Step S209)
Next, the control unit 10 determines whether or not the timer has been returned by the elapsed time calculation unit 110. The control unit 10 determines Yes when the power saving return timer unit 30 returns from the low power consumption state at the set return time 530. The control unit 10 determines No in other cases such as a return from the low power consumption state by a return signal from the network transmission / reception unit 15.
In the case of Yes, the control part 10 advances a process to step S210.
In No, the control part 10 advances a process to step S211.

(ステップS210)
タイマー復帰であった場合、制御部10は、経過時間算出部110により、復帰時端数値補正処理を行う。
図8を再び参照すると、制御部10は、記憶部19に記憶されていた復帰時刻端数値540を取得して、クロックカウント値510に加算する。これにより、タイマー復帰の際には、リアルタイムクロック部20から取得可能な時刻値520の最小値の時刻よりも精度よく、クロックカウント値510を補正することができる。
(Step S210)
When it is a timer return, the control part 10 performs a return time end numerical value correction process by the elapsed time calculation part 110.
Referring to FIG. 8 again, the control unit 10 acquires the return time fraction value 540 stored in the storage unit 19 and adds it to the clock count value 510. Thereby, when the timer is restored, the clock count value 510 can be corrected with higher accuracy than the time of the minimum value of the time value 520 that can be acquired from the real-time clock unit 20.

(ステップS211)
ここで、制御部10は、経過時間算出部110により、クロックカウント処理を行う。制御部10は、通常起動状態の間、クロックをカウントして、クロックカウント値510を増加させる。
(Step S211)
Here, the control unit 10 performs clock count processing by the elapsed time calculation unit 110. The control unit 10 counts the clock during the normal activation state, and increases the clock count value 510.

(ステップS212)
次に、制御部10は、経過時間算出部110により、待ち合わせ処理のクロックのカウントが終了したか否かを判定する。制御部10は、クロックカウント値510が制御プログラムにより指定された待ち合わせ時間に到達した場合には、待ち合わせ時間が経過しているため、Yesと判定する。制御部10は、それ以外の場合には、まだ待ち合わせ時間が経過していないため、Noと判定する。
Yesの場合、制御部10は、クロックのカウントをストップし、待ち合わせ処理を終了する。
Noの場合、制御部10は、処理をステップS203に戻して、クロックのカウントを続ける。
以上により、本発明の実施の形態に係る待ち合わせ処理を終了する。
(Step S212)
Next, the control unit 10 causes the elapsed time calculation unit 110 to determine whether or not the clock count of the waiting process has ended. When the clock count value 510 reaches the waiting time specified by the control program, the control unit 10 determines Yes because the waiting time has elapsed. In other cases, the control unit 10 determines No because the waiting time has not yet elapsed.
In the case of Yes, the control unit 10 stops counting the clock and ends the waiting process.
In No, the control part 10 returns a process to step S203, and continues the count of a clock.
Thus, the waiting process according to the embodiment of the present invention is completed.

以上のように構成することで、以下のような効果を得ることができる。
従来、スリープ状態の低消費電力実現のため、制御部の電源をオフにした場合は、待ち合わせ処理における経過時間にずれが生じていた。しかしながら、特許文献1の技術ではこの経過時間の補正にCR発振回路や水晶発振回路等の特別な回路が必要であり、この回路自体の電源供給がオフにされた場合にはずれを補正することができなかった。
これに対して、本発明の実施の形態に係る画像形成装置1は、制御部10と、制御部10が省電力状態になっても時刻を測定するリアルタイムクロック部20とを備え、制御部10の通常起動状態で、リアルタイムクロック部20の時刻値520を基準時刻値550として取得する基準時刻値取得部100と、制御部10が省電力状態の前から制御部10のクロックカウント値510により経過時間を測定する待ち合わせ処理をしていた場合、基準時刻値取得部100により取得された基準時刻値550と、省電力状態からの復帰時のリアルタイムクロック部20の時刻値520とにより、待ち合わせ処理の経過時間を算出する経過時間算出部110とを備えることを特徴とする。
このように構成することで、画像形成装置1は、待ち合わせ処理の間、省電力状態から通常起動状態に復帰する際に、クロックを生成する回路への電源供給が停止された場合でも、正確な時刻補正が可能となる。
また、リアルタイムクロックは一般的に搭載されていることが多いデバイスであり、外部タイマーや特許文献1に記載されているような特別な回路等が不要となる。これによって、コストを削減できる。
With the configuration described above, the following effects can be obtained.
Conventionally, in order to realize low power consumption in the sleep state, when the power source of the control unit is turned off, there has been a shift in the elapsed time in the waiting process. However, in the technique of Patent Document 1, a special circuit such as a CR oscillation circuit or a crystal oscillation circuit is required to correct this elapsed time. When the power supply of the circuit itself is turned off, the deviation can be corrected. could not.
In contrast, the image forming apparatus 1 according to the embodiment of the present invention includes a control unit 10 and a real-time clock unit 20 that measures time even when the control unit 10 enters a power saving state. In the normal activation state, the reference time value acquisition unit 100 that acquires the time value 520 of the real-time clock unit 20 as the reference time value 550 and the clock count value 510 of the control unit 10 after the control unit 10 is in the power saving state When the waiting process for measuring time is being performed, the waiting process is performed based on the reference time value 550 acquired by the reference time value acquiring unit 100 and the time value 520 of the real-time clock unit 20 when returning from the power saving state. An elapsed time calculation unit 110 that calculates the elapsed time is provided.
With such a configuration, the image forming apparatus 1 is accurate even when the power supply to the circuit that generates the clock is stopped when returning from the power saving state to the normal activation state during the waiting process. Time correction is possible.
In addition, the real-time clock is generally a device that is often mounted, and an external timer or a special circuit described in Patent Document 1 is not necessary. This can reduce costs.

また、従来から、ネットワーク通信において、タイムアウトの処理を行う場合や、プロトコルで定められた時間で動作させる必要がある場合には、制御手段によりカウントされる待ち合わせ処理の経過時間と現実の時間とを極力合致させる必要があった。
しかしながら、例えば、図9に示すように、省電力状態に移行する際と復帰する際に直接リアルタイムクロックの時刻値を取得して補正するような構成では、待ち合わせ処理の経過時間のずれが、復帰する度に増えてしまう。特に、ネットワーク通信では、細かく省電力状態から復帰することが考えられるため、ずれが徐々に大きくなり、数秒以上になっていくことが考えられる。
これに対して、図7に示すように、本実施形態の画像形成装置1は、常に基準時刻値550によりクロックカウント値510を補正するため、待ち合わせ処理の開始から複数回省電力状態への移行と復帰が行われても、ずれがリアルタイムクロックの時刻の最小値内になる。このため、待ち合わせ処理の経過時間のずれを抑え、ネットワーク通信のエラー等を防ぐことができる。
Conventionally, in network communication, when a timeout process is performed or when it is necessary to operate in a time determined by a protocol, the elapsed time of the waiting process counted by the control means and the actual time are calculated. It was necessary to match as much as possible.
However, for example, as shown in FIG. 9, in the configuration in which the time value of the real-time clock is directly acquired and corrected when shifting to the power saving state and when returning, the difference in the elapsed time of the waiting process is recovered. Every time you do it, it will increase. In particular, in network communication, it is conceivable to return from a power-saving state in detail, so that the deviation gradually increases and may be several seconds or longer.
On the other hand, as shown in FIG. 7, the image forming apparatus 1 according to the present embodiment always corrects the clock count value 510 with the reference time value 550, and thus shifts to the power saving state a plurality of times from the start of the waiting process. Even if recovery is performed, the deviation is within the minimum value of the real-time clock time. For this reason, it is possible to suppress a difference in elapsed time of the waiting process and to prevent a network communication error or the like.

また、本発明の実施の形態に係る画像形成装置1は、基準時刻値取得部100が、制御部10のクロックカウント値510により、基準時刻値550の1秒未満の端数を切り上げ又は切り捨てすることを特徴とする。
このように構成することで、待ち合わせ処理の経過時間のずれをリアルタイムクロックの時刻の最小値よりも更に小さくでき、待ち合わせ処理の経過時間を正確に補正することができる。
Further, in the image forming apparatus 1 according to the embodiment of the present invention, the reference time value acquisition unit 100 rounds up or rounds down the fraction of the reference time value 550 that is less than 1 second by the clock count value 510 of the control unit 10. It is characterized by.
With this configuration, the difference in elapsed time of the waiting process can be made smaller than the minimum value of the time of the real-time clock, and the elapsed time of the waiting process can be accurately corrected.

また、本発明の実施の形態に係る画像形成装置1は、設定された復帰時刻530により制御部10を省電力状態から復帰させる省電力復帰タイマー部30を備え、基準時刻値取得部100が、省電力復帰タイマー部30に復帰時刻530が設定された際に制御部10のクロックカウント値510から復帰時刻端数値540を取得し、経過時間算出部110が、設定された復帰時刻530に省電力復帰タイマー部30により省電力状態から復帰された場合、復帰時刻端数値540により、算出された待ち合わせ処理の経過時間を補正することを特徴とする。
このように構成することで、省電力復帰タイマー部30によるタイマー復帰では、待ち合わせ処理の経過時間のずれを、ほとんどなくすことが可能になる。このため、ネットワーク通信や原稿読取部12による原稿の読み取りや画像形成部17による画像形成等、タイミングが重要な待ち合わせ処理であってもエラーを防ぐことが可能になる。このため、容易にスリープ状態等の低消費電力状態に移行させることが可能となり、結果として、消費電力を削減することも可能となる。
Further, the image forming apparatus 1 according to the embodiment of the present invention includes a power saving return timer unit 30 that returns the control unit 10 from the power saving state according to the set return time 530, and the reference time value acquisition unit 100 includes: When the return time 530 is set in the power saving return timer unit 30, the return time fraction value 540 is acquired from the clock count value 510 of the control unit 10, and the elapsed time calculation unit 110 saves power at the set return time 530. When returning from the power saving state by the return timer unit 30, the calculated elapsed time of the waiting process is corrected by the return time fraction value 540.
With this configuration, the timer return by the power saving return timer unit 30 can eliminate almost all of the elapsed time of the waiting process. For this reason, errors can be prevented even in a waiting process whose timing is important, such as network communication, document reading by the document reading unit 12, and image formation by the image forming unit 17. For this reason, it is possible to easily shift to a low power consumption state such as a sleep state, and as a result, it is possible to reduce power consumption.

〔他の実施の形態〕
なお、本発明の実施の形態においては、省電力復帰タイマー部30の時刻をリアルタイムクロック部20に連動させるように記載したが、これに限られない。つまり、省電力復帰タイマー部30は、独自のCR発振回路や水晶振動回路等を用いたタイマーを備え、設定された復帰時刻530に復帰可能であってもよい。
この場合、復帰時刻端数値540は、復帰時刻530の設定時にこれに対応して設定される。制御部10は、例えば、リアルタイムクロック部20の時刻値520における、復帰時刻530が設定された際のクロックカウント値510を、復帰時刻端数値540として取得して補正するのに用いる。
このように構成することで、リアルタイムクロックとは連動していない外部のタイマーを用いた場合でも、待ち合わせ処理の経過時間を正確に計測することができる。
[Other Embodiments]
In the embodiment of the present invention, the time of the power saving return timer unit 30 is described so as to be interlocked with the real time clock unit 20, but the present invention is not limited to this. That is, the power saving return timer unit 30 may include a timer using a unique CR oscillation circuit, a crystal oscillation circuit, or the like, and be able to return to the set return time 530.
In this case, the return time fraction value 540 is set correspondingly when the return time 530 is set. For example, the control unit 10 uses the clock value 510 when the return time 530 is set in the time value 520 of the real-time clock unit 20 as the return time fraction value 540 and corrects it.
With this configuration, even when an external timer that is not linked to the real time clock is used, the elapsed time of the waiting process can be accurately measured.

また、制御部10は、単純に基準時刻値550の1未満の端数を切り上げ又は切り捨てする以外の手法で基準時刻値550の誤差を小さくしてもよい。たとえば、制御部10は低消費電力状態から通常起動状態に復帰する際に、クロックカウント値510にランダムな値を加え又は減算してもよい。
このように構成することで、インターバルタイマー等で何回も省電力状態と通常起動状態への移行を繰り返すような場合に、中心極限定理により誤差が縮小する。このため、結果として待ち合わせ時間の誤差を少なくすることができる。
Further, the control unit 10 may reduce the error of the reference time value 550 by a method other than simply rounding up or rounding off the fraction of the reference time value 550 less than 1. For example, the control unit 10 may add or subtract a random value to the clock count value 510 when returning from the low power consumption state to the normal activation state.
With this configuration, the error is reduced by the central limit theorem when the transition to the power saving state and the normal activation state is repeated many times by an interval timer or the like. As a result, the waiting time error can be reduced.

また、リアルタイムクロック部20は、画像形成装置1の外部にあってもよい。この場合は、制御部10は、外部のタイムサーバー(図示せず)から時刻値520を、ネットワーク送受信部15を介して、NTP等のプロトコルで取得してもよい。この場合、ネットワークの遅延等の誤差も加えて経過時間の算出の補正を行う。
これにより、リアルタイムクロックを備えない構成であっても、待ち合わせ処理の経過時間の正確な測定が可能となる。
The real-time clock unit 20 may be outside the image forming apparatus 1. In this case, the control unit 10 may acquire the time value 520 from an external time server (not shown) via the network transmission / reception unit 15 using a protocol such as NTP. In this case, the calculation of the elapsed time is corrected by adding an error such as a network delay.
This makes it possible to accurately measure the elapsed time of the waiting process even in a configuration without a real-time clock.

また、制御部10は、省電力状態の際、スリープ状態ではなく完全に電源がオフにされてもよい。この場合、省電力状態への移行時に、一旦、クロックカウント値510を記憶部19に記憶させてもよい。この場合、復帰信号は図示しない電源制御ユニットに送信され、この電源制御ユニットが制御部10を起動させる。
このように構成すると、制御部10の電源を完全にオフにしても、待ち合わせ処理の経過時間を正確に測定できる。
Further, the control unit 10 may be completely turned off in the power saving state, not in the sleep state. In this case, the clock count value 510 may be temporarily stored in the storage unit 19 when shifting to the power saving state. In this case, the return signal is transmitted to a power supply control unit (not shown), and this power supply control unit activates the control unit 10.
If comprised in this way, even if the power supply of the control part 10 is completely turned off, the elapsed time of a waiting process can be measured correctly.

また、制御部10は、省電力状態の復帰後、リアルタイムクロック部20の時刻値520を取得可能になるまでの所定の遅延値を考慮して、各時刻を算出してもよい。
これにより、更に正確な待ち合わせ処理の経過時間の測定が可能となる。
The control unit 10 may calculate each time in consideration of a predetermined delay value until the time value 520 of the real-time clock unit 20 can be acquired after the power saving state is restored.
This makes it possible to measure the elapsed time of the waiting process more accurately.

また、制御部10は、通常起動状態の他に、スリープ状態よりも消費電力が大きいものの復帰が早くバックグラウンド処置等が可能な「ローパワー状態」に各部を移行させるような構成も可能である。
このようなローパワー状態からの復帰の場合、上述の所定の遅延値を調整する他に、取得する時刻値520の取得のタイミングを遅らせることも可能である。
これにより、ローパワー状態からの復帰と、スリープ状態からの復帰において、それぞれリアルタイムクロックによる正確な待ち合わせ処理の経過時間の測定が可能である。
Further, in addition to the normal startup state, the control unit 10 can be configured to shift each unit to a “low power state” in which power consumption is greater than that in the sleep state, but recovery is quick and background treatment can be performed. .
In the case of returning from such a low power state, in addition to adjusting the predetermined delay value described above, the acquisition timing of the acquired time value 520 can be delayed.
This makes it possible to accurately measure the elapsed time of the waiting process using the real-time clock when returning from the low power state and returning from the sleep state.

また、上述の実施の形態では、制御部10がクロックカウント値510のカウントを、待ち合わせ処理の開始時等にスタートするように記載したが、これに限られない。つまり制御部10は、「システム時間」として、常にクロックをカウントしてレジスター等に保持しておく構成も可能である。この場合も、クロックカウント値510の差分等を算出することで、上述の実施の形態と同様の処理を行い、正確な経過時間の測定が可能である。また、クロックカウント値510のカウントのスタートのタイミングは、基準時刻値550の取得時でもよい。これにより、基準時刻値550とクロックカウント値510とを正確に連動することができる。また、カウントのスタートは、それ以外のタイミングであってもよい。
また、リアルタイムクロック部20の時刻値520は、1秒単位ではなく、例えば、1/100秒単位で取得可能であってもよい。これにより、正確な待ち合わせ時間の測定が可能となる。
In the above-described embodiment, the control unit 10 is described to start counting the clock count value 510 at the start of the waiting process, but the present invention is not limited to this. That is, the control unit 10 may be configured to always count the clock as “system time” and hold it in a register or the like. Also in this case, by calculating a difference or the like of the clock count value 510, it is possible to perform the same processing as that in the above-described embodiment and accurately measure the elapsed time. In addition, the count start timing of the clock count value 510 may be when the reference time value 550 is acquired. Thereby, the reference time value 550 and the clock count value 510 can be accurately linked. Further, the count may be started at other timing.
Further, the time value 520 of the real-time clock unit 20 may be acquired not in units of 1 second but in units of 1/100 seconds, for example. This makes it possible to accurately measure the waiting time.

また、本発明は、画像形成装置以外の情報処理装置にも適用できる。つまり、ネットワークスキャナ、スキャナーをUSB等で別途接続したサーバー等を用いる構成であってもよい。   The present invention can also be applied to an information processing apparatus other than the image forming apparatus. That is, a configuration using a network scanner, a server in which the scanner is separately connected via USB, or the like may be used.

また、上記実施の形態の構成及び動作は例であって、本発明の趣旨を逸脱しない範囲で適宜変更して実行することができることは言うまでもない。   Further, the configuration and operation of the above-described embodiment are examples, and it goes without saying that they can be appropriately modified and executed without departing from the gist of the present invention.

1 画像形成装置
10 制御部
11 画像処理部
12 原稿読取部
12a スキャナー
12b プラテンガラス
12c 原稿読取スリット
13 原稿給送部
13a 原稿載置部
13b 原稿排出部
13c 原稿搬送機構
14 本体部
15 ネットワーク送受信部
16 操作パネル部
17 画像形成部
17a 感光体ドラム
17b 露光部
17c 現像部
17d 転写部
17e 定着部
19 記憶部
20 リアルタイムクロック部
30 省電力復帰タイマー部
41 排出口
42 給紙部
43 用紙搬送路
44 搬送ローラー
45 排出ローラー
50 スタックトレイ
100 基準時刻値取得部
110 経過時間算出部
421 給紙カセット
422 給紙ローラー
510 クロックカウント値
520 時刻値
530 復帰時刻
540 復帰時刻端数値
550 基準時刻値
560 開始時刻値
DESCRIPTION OF SYMBOLS 1 Image forming apparatus 10 Control part 11 Image processing part 12 Original reading part 12a Scanner 12b Platen glass 12c Original reading slit 13 Original feeding part 13a Original placing part 13b Original discharge part 13c Original conveyance mechanism 14 Main body part 15 Network transmission / reception part 16 Operation panel section 17 Image forming section 17a Photosensitive drum 17b Exposure section 17c Development section 17d Transfer section 17e Fixing section 19 Storage section 20 Real-time clock section 30 Power saving return timer section 41 Discharge port 42 Paper feed section 43 Paper transport path 44 Transport roller 45 Discharge roller 50 Stack tray 100 Reference time value acquisition unit 110 Elapsed time calculation unit 421 Paper feed cassette 422 Paper feed roller 510 Clock count value 520 Time value 530 Return time 540 Return time fraction value 550 Reference time value 560 Start time value

Claims (2)

通常起動状態においてクロックをカウントしクロックカウント値として保持する制御部と、該制御部が省電力状態になっても時刻を測定し時刻値として保持するリアルタイムクロック部と、記憶部とを備える画像形成装置において、
復帰時刻値を記憶し、前記リアルタイムクロック部の時刻値と連動して、前記復帰時刻値になった際に、前記制御部を前記省電力状態から復帰させる省電力復帰タイマー部と、
前記制御部の前記通常起動状態で、前記リアルタイムクロック部の時刻値を基準時刻値として取得する基準時刻値取得部と、
前記制御部が前記省電力状態の前から前記制御部のクロックカウント値により経過時間を測定する待ち合わせ処理をしていた場合、前記基準時刻値取得部により取得された前記基準時刻値と、前記省電力状態からの復帰時の前記リアルタイムクロック部の前記時刻値とにより、前記待ち合わせ処理の経過時間を算出する経過時間算出部とを備え、
前記制御部は、前記基準時刻値取得部により前記基準時刻値を取得した後、前記リアルタイムクロック部の時刻値が1秒変化するまでのクロックカウント値を取得し、取得したクロックカウント値の値を、小数点以下の値を含む秒単位の値に変換し、その変換された値を1から減算し、前記基準時刻値が取得されるまでの秒単位の1未満の端数を算出し、この端数が0.5秒未満であった場合、端数を切り捨てて、前記記憶部に取得された前記基準時刻値をそのまま記憶し、この端数が0.5秒以上であった場合、端数を切り上げて、前記基準時刻値を1増加させ、
前記待ち合わせ処理を開始する場合、前記制御部は、
(1)前記リアルタイムクロック部の時刻値を取得して、開始時刻値として前記記憶部に記憶し、
(2)前記経過時間算出部により、前記省電力状態に移行されるか否かを判定し、前記省電力状態に移行される場合にタイマー復帰を行う必要があるか否かを判定し、前記タイマー復帰を行う必要がある場合に前記省電力復帰タイマー部に前記復帰時刻値を設定し、
(3)前記復帰時刻値が設定された際、前記省電力状態に移行される際のクロックカウント値から、前記リアルタイムクロック部の時刻値が変化した際のクロックカウント値を減算することで、復帰時刻端数値を算出して前記記憶部に記憶し、前記省電力状態への移行を行い、
(4)前記省電力状態から前記通常起動状態へ復帰開始する際に、復帰時に取得した前記リアルタイムクロック部の時刻値と、前記記憶部に記憶された前記開始時刻値とを比較して前記待ち合わせ処理の開始からの経過時間を算出し、クロックカウント値に、算出された前記経過時間を加え、
(5)前記経過時間算出部により、タイマー復帰であったか否かを判定し、タイマー復帰であった場合、前記記憶部に記憶された前記復帰時刻端数値を取得して、前記待ち合わせ処理の開始からの経過時間が加えられたクロックカウント値に加算する
ことを特徴とする画像形成装置。
Image formation comprising a control unit that counts a clock in a normal startup state and holds it as a clock count value, a real-time clock unit that measures time and holds it as a time value even when the control unit enters a power saving state, and a storage unit In the device
A return time value is stored, and in conjunction with the time value of the real-time clock unit, when the return time value is reached, a power saving return timer unit that returns the control unit from the power saving state;
A reference time value acquisition unit that acquires a time value of the real-time clock unit as a reference time value in the normal startup state of the control unit;
When the control unit has been performing a waiting process for measuring elapsed time based on the clock count value of the control unit before the power saving state, the reference time value acquired by the reference time value acquisition unit, An elapsed time calculation unit that calculates an elapsed time of the waiting process according to the time value of the real-time clock unit when returning from the power state,
The control unit acquires a clock count value until the time value of the real-time clock unit changes by 1 second after acquiring the reference time value by the reference time value acquisition unit, and calculates the value of the acquired clock count value. , Converted to a value in seconds including a value after the decimal point, and subtracts the converted value from 1 to calculate a fraction of less than 1 in seconds until the reference time value is obtained. If it is less than 0.5 seconds, round down the fraction and store the reference time value acquired in the storage unit as it is.If this fraction is 0.5 seconds or more, round up the fraction, Increase the reference time value by 1,
When starting the waiting process, the control unit,
(1) Obtaining a time value of the real-time clock unit and storing it in the storage unit as a start time value;
(2) The elapsed time calculation unit determines whether to shift to the power saving state, determines whether it is necessary to perform a timer return when shifting to the power saving state, When it is necessary to perform a timer return, set the return time value in the power saving return timer unit,
(3) When the return time value is set, the clock count value when the time value of the real-time clock unit is changed is subtracted from the clock count value when the state is shifted to the power saving state. Calculate the time fraction value and store it in the storage unit, perform the transition to the power saving state,
(4) when starting returning from the power saving state to the normal activation state, and the time value of the real time clock unit acquired at the time of return, the waiting by comparing the start time value stored in the storage unit Calculate the elapsed time from the start of processing, add the calculated elapsed time to the clock count value,
(5) The elapsed time calculation unit determines whether or not the timer has been restored. If the timer has been restored, the return time fraction value stored in the storage unit is acquired, and the start of the waiting process. An image forming apparatus , wherein the elapsed time is added to a clock count value to which the elapsed time is added .
通常起動状態においてクロックをカウントしクロックカウント値として保持する制御部と、該制御部が省電力状態になっても時刻を測定し時刻値として保持するリアルタイムクロック部と、記憶部とを備える画像形成装置による画像形成方法において、
前記画像形成装置は、更に、
復帰時刻値を記憶し、前記リアルタイムクロック部の時刻値と連動して、前記復帰時刻値になった際に、前記制御部を前記省電力状態から復帰させる省電力復帰タイマー部と、
前記制御部の前記通常起動状態で、前記リアルタイムクロック部の時刻値を基準時刻値として取得する基準時刻値取得部と、
前記制御部が前記省電力状態の前から前記制御部のクロックカウント値により経過時間を測定する待ち合わせ処理をしていた場合、前記基準時刻値取得部により取得された前記基準時刻値と、前記省電力状態からの復帰時の前記リアルタイムクロック部の時刻値とにより、前記待ち合わせ処理の経過時間を算出する経過時間算出部とを備え、
前記制御部により、
前記基準時刻値取得部により前記基準時刻値を取得した後、前記リアルタイムクロック部の時刻値が1秒変化するまでのクロックカウント値を取得し、取得したクロックカウント値の値を、小数点以下の値を含む秒単位の値に変換し、その変換された値を1から減算し、
前記基準時刻値が取得されるまでの秒単位の1未満の端数を算出し、この端数が0.5秒未満であった場合、端数を切り捨てて、前記記憶部に取得された前記基準時刻値をそのまま記憶し、この端数が0.5秒以上であった場合、端数を切り上げて、前記基準時刻値を1増加させ、
前記待ち合わせ処理を開始する場合、前記制御部により、
(1)前記リアルタイムクロック部の時刻値を取得して、開始時刻値として前記記憶部に記憶し、
(2)前記経過時間算出部により、前記省電力状態に移行されるか否かを判定し、前記省電力状態に移行される場合にタイマー復帰を行う必要があるか否かを判定し、前記タイマー復帰を行う必要がある場合に前記省電力復帰タイマー部に前記復帰時刻値を設定し、
(3)前記復帰時刻値が設定された際、前記省電力状態に移行される際のクロックカウント値から、前記リアルタイムクロック部の時刻値が変化した際のクロックカウント値を減算することで、復帰時刻端数値を算出して前記記憶部に記憶し、前記省電力状態への移行を行い、
(4)前記省電力状態から前記通常起動状態へ復帰開始する際に、復帰時に取得した前記リアルタイムクロック部の時刻値と、前記記憶部に記憶された前記開始時刻値とを比較して前記待ち合わせ処理の開始からの経過時間を算出し、クロックカウント値に、算出された前記経過時間を加え、
(5)前記経過時間算出部により、タイマー復帰であったか否かを判定し、タイマー復帰であった場合、前記記憶部に記憶された前記復帰時刻端数値を取得して、前記待ち合わせ処理の開始からの経過時間が加えられたクロックカウント値に加算する
ことを特徴とする画像形成方法。
Image formation comprising a control unit that counts a clock in a normal startup state and holds it as a clock count value, a real-time clock unit that measures time and holds it as a time value even when the control unit enters a power saving state, and a storage unit In an image forming method by an apparatus,
The image forming apparatus further includes:
A return time value is stored, and in conjunction with the time value of the real-time clock unit, when the return time value is reached, a power saving return timer unit that returns the control unit from the power saving state;
A reference time value acquisition unit that acquires a time value of the real-time clock unit as a reference time value in the normal startup state of the control unit;
When the control unit has been performing a waiting process for measuring elapsed time based on the clock count value of the control unit before the power saving state, the reference time value acquired by the reference time value acquisition unit, An elapsed time calculation unit that calculates an elapsed time of the waiting process according to a time value of the real-time clock unit at the time of return from the power state,
By the control unit,
After acquiring the reference time value by the reference time value acquisition unit, acquire a clock count value until the time value of the real-time clock unit changes by 1 second, and set the acquired clock count value to a value after the decimal point. Is converted to a value in seconds containing, and the converted value is subtracted from 1.
Calculates a fraction of less than 1 in seconds until the reference time value is acquired, and if this fraction is less than 0.5 seconds, rounds down the reference time value acquired in the storage unit Is stored as it is, and when this fraction is 0.5 seconds or more, the fraction is rounded up and the reference time value is increased by 1,
When starting the waiting process, the control unit
(1) Obtaining a time value of the real-time clock unit and storing it in the storage unit as a start time value;
(2) The elapsed time calculation unit determines whether to shift to the power saving state, determines whether it is necessary to perform a timer return when shifting to the power saving state, When it is necessary to perform a timer return, set the return time value in the power saving return timer unit,
(3) When the return time value is set, the clock count value when the time value of the real-time clock unit is changed is subtracted from the clock count value when the state is shifted to the power saving state. Calculate the time fraction value and store it in the storage unit, perform the transition to the power saving state,
(4) when starting returning from the power saving state to the normal activation state, and the time value of the real time clock unit acquired at the time of return, the waiting by comparing the start time value stored in the storage unit Calculate the elapsed time from the start of processing, add the calculated elapsed time to the clock count value,
(5) The elapsed time calculation unit determines whether or not the timer has been restored. If the timer has been restored, the return time fraction value stored in the storage unit is acquired, and the start of the waiting process. An image forming method comprising: adding to an added clock count value.
JP2013150327A 2013-07-19 2013-07-19 Image forming apparatus and image forming method Active JP6158621B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013150327A JP6158621B2 (en) 2013-07-19 2013-07-19 Image forming apparatus and image forming method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013150327A JP6158621B2 (en) 2013-07-19 2013-07-19 Image forming apparatus and image forming method

Publications (2)

Publication Number Publication Date
JP2015020351A JP2015020351A (en) 2015-02-02
JP6158621B2 true JP6158621B2 (en) 2017-07-05

Family

ID=52485253

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013150327A Active JP6158621B2 (en) 2013-07-19 2013-07-19 Image forming apparatus and image forming method

Country Status (1)

Country Link
JP (1) JP6158621B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101847366B1 (en) 2015-06-08 2018-04-09 미쓰비시덴키 가부시키가이샤 Time synchronization device and time synchronization system
JP6680196B2 (en) * 2016-12-16 2020-04-15 京セラドキュメントソリューションズ株式会社 Image forming device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002168979A (en) * 2000-11-30 2002-06-14 Canon Inc Time module and time correcting method for time module
JP2003270369A (en) * 2002-03-20 2003-09-25 Yamatake Corp Time correction method and time correction device for real time clock
JP2012056152A (en) * 2010-09-08 2012-03-22 Canon Inc Information processor, control method of information processor, and program
JP2013089014A (en) * 2011-10-18 2013-05-13 Murata Mach Ltd Information processor, and control method

Also Published As

Publication number Publication date
JP2015020351A (en) 2015-02-02

Similar Documents

Publication Publication Date Title
EP2924969B1 (en) Image reading device and image forming apparatus
US9195423B2 (en) Image forming apparatus, image forming method
JP6158621B2 (en) Image forming apparatus and image forming method
JP2009175267A (en) Time measuring instrument and image forming device
JP2012210802A (en) Image forming device and starting method therefor
JP2011018983A (en) Communication device
JP2015097080A (en) Image formation device management apparatus and management program
JP6173933B2 (en) Image forming apparatus and image forming method
JP6681244B2 (en) Image processing apparatus, control method thereof, and program
US9703316B2 (en) Information processing apparatus capable of correcting time-of-day management function, control method therefor, and storage medium
JP2016080884A (en) Image forming apparatus and control device
JP2014197065A (en) Image forming apparatus and time measuring device
US9253355B2 (en) Communication apparatus that reduces power consumption, method of controlling the same, and storage medium
JP6150618B2 (en) Image processing apparatus and data transfer method
JP5868912B2 (en) Image forming apparatus and image forming method
JP6192615B2 (en) Image forming apparatus and image forming method
JP2008046516A (en) Image forming apparatus
US11429322B2 (en) Image forming apparatus capable of reducing the number of times of returns from power saving mode
JP2014231200A (en) Image formation apparatus
JP2011046065A (en) Image forming apparatus, power-saving control method of image forming apparatus, and power-saving control program of image forming apparatus
JP2010032666A (en) Image forming apparatus
JP6252397B2 (en) Electronic device, mode control method
JP2020201759A (en) Device
JP6264561B2 (en) Job transmission device, job execution device, job execution system, program, and job transmission method
JP4233509B2 (en) Image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150519

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160322

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160519

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161004

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161109

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170509

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170608

R150 Certificate of patent or registration of utility model

Ref document number: 6158621

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150