JP2009005576A - Stepping motor control device, image forming device, stepping motor and method of controlling stepping motor - Google Patents

Stepping motor control device, image forming device, stepping motor and method of controlling stepping motor Download PDF

Info

Publication number
JP2009005576A
JP2009005576A JP2008081517A JP2008081517A JP2009005576A JP 2009005576 A JP2009005576 A JP 2009005576A JP 2008081517 A JP2008081517 A JP 2008081517A JP 2008081517 A JP2008081517 A JP 2008081517A JP 2009005576 A JP2009005576 A JP 2009005576A
Authority
JP
Japan
Prior art keywords
stepping motor
data
buffer
writing
control device
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.)
Granted
Application number
JP2008081517A
Other languages
Japanese (ja)
Other versions
JP5448355B2 (en
Inventor
Konbun Ryu
根文 柳
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 Mita Corp
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 Mita Corp filed Critical Kyocera Mita Corp
Priority to JP2008081517A priority Critical patent/JP5448355B2/en
Priority to US12/125,660 priority patent/US8804212B2/en
Publication of JP2009005576A publication Critical patent/JP2009005576A/en
Application granted granted Critical
Publication of JP5448355B2 publication Critical patent/JP5448355B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a stepping motor control device reducing a load on a CPU and writing data smoothly without any delay. <P>SOLUTION: The stepping motor control device 26 is provided with: a buffer group 29 including a plurality of buffers for storing data for driving a stepping motor 24; an ASIC 27 for reading the data from the buffers; and a CPU 25 for writing the data into the buffers. The CPU 25 includes a first mode for writing the data in the buffers in a processing performed in a predetermined order, and a second mode for writing the data into the buffers upon receiving a request to write the data into the buffers from the ASIC 27. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

この発明は、ステッピングモータ制御装置、画像形成装置、ステッピングモータ、およびステッピングモータの制御方法に関し、特に、CPUの負荷を軽減することができるステッピングモータ制御装置、このようなステッピングモータ制御装置を備える画像形成装置、ステッピングモータ、およびステッピングモータの制御方法に関するものである。   The present invention relates to a stepping motor control device, an image forming apparatus, a stepping motor, and a stepping motor control method, and more particularly to a stepping motor control device capable of reducing a load on a CPU and an image including such a stepping motor control device. The present invention relates to a forming apparatus, a stepping motor, and a stepping motor control method.

画像形成装置では、画像形成に合わせて用紙を搬送する給紙モータとして、ステッピングモータが使用されている。ステッピングモータの回転数は、ステッピングモータ制御装置により制御されている。ここで、ステッピングモータの回転数を急激に変化させた場合、ステッピングモータは脱調を起こす恐れがある。したがって、ステッピングモータ制御装置には、ステッピングモータの滑らかな起動制御および停止制御が要求される。   In the image forming apparatus, a stepping motor is used as a paper feed motor for transporting paper in accordance with image formation. The rotation speed of the stepping motor is controlled by a stepping motor control device. Here, when the rotation speed of the stepping motor is changed suddenly, the stepping motor may step out. Therefore, the stepping motor control device is required to perform smooth start control and stop control of the stepping motor.

従来のステッピングモータ制御装置は、1個のバッファをASIC(Application Specific Integrated Circuit:集積回路)に備えている。CPU(Central Processing Unit:中央処理装置)は、ステッピングモータ駆動用のパルスを出力するための周期を示すパルス周期データをバッファに書き込む。ASICは、バッファに書き込まれたデータを読み出し、そのデータに基づいてパルスを出力する。バッファ1個に書き込まれるパルス周期データは、ステッピングモータをある角度まで回転させる1ステップ分となる。ステッピングモータの滑らかな起動制御および停止制御のためには、複数ステップ分のデータを必要とする。   A conventional stepping motor control device includes one buffer in an ASIC (Application Specific Integrated Circuit). A CPU (Central Processing Unit) writes pulse cycle data indicating a cycle for outputting a stepping motor driving pulse in a buffer. The ASIC reads the data written in the buffer and outputs a pulse based on the data. The pulse cycle data written to one buffer is for one step of rotating the stepping motor to a certain angle. For smooth start control and stop control of the stepping motor, data for a plurality of steps is required.

このとき、複数ステップ分のデータのうち、例えば1ステップ分のデータの書き込みが遅れると、ステッピングモータの滑らな起動制御および停止制御ができなくなってしまう。したがって、データの書き込みは、遅れることなく行う必要がある。   At this time, if the writing of data for one step among the data for a plurality of steps is delayed, for example, the smooth start control and stop control of the stepping motor cannot be performed. Therefore, it is necessary to write data without delay.

ここで、複数のバッファにデータを書き込む技術が、特開平8−149889号公報(特許文献1)および特開2000−276435号公報(特許文献2)に開示されている。   Here, techniques for writing data into a plurality of buffers are disclosed in Japanese Patent Application Laid-Open No. 8-149898 (Patent Document 1) and Japanese Patent Application Laid-Open No. 2000-276435 (Patent Document 2).

特許文献1によれば、複数のバッファのうち、一方を書き込み対象バッファとし、他方を読み出し対象バッファとする。データの書き込みは、他方の読み出し対象バッファからデータの読み出しを行っている間に行う。そして、読み出し対象バッファからデータの読み出しが終了すると、読み出し対象バッファと書き込み対象バッファとを切り替える。   According to Patent Document 1, one of a plurality of buffers is a write target buffer, and the other is a read target buffer. Data is written while data is being read from the other read target buffer. Then, when the reading of data from the read target buffer is completed, the read target buffer and the write target buffer are switched.

特許文献2によれば、複数のバッファのうち、一方の第1のバッファには、プロセッサから出力されるデータが書き込まれる。他方の第2のバッファには、第1のバッファから出力されるデータが書き込まれる。第1のバッファにデータの書き込みを行う際には、送信割り込み信号のON/OFFに基づいて判断され、割り込み処理にて行う。
特開平8−149889号公報(図1) 特開2000−276435号公報
According to Patent Document 2, data output from the processor is written in one of the plurality of buffers. Data output from the first buffer is written in the other second buffer. When data is written to the first buffer, the determination is made based on the ON / OFF state of the transmission interrupt signal, and the interrupt processing is performed.
JP-A-8-149889 (FIG. 1) JP 2000-276435 A

特許文献1によれば、データの書き込みは、読み出し対象バッファから全てのデータの読み出しを終了しなければ、行うことができない。この場合、データの書き込みは、複数の書き込み対象バッファに全てまとめて行う必要があるため、CPUの負荷が大きくなり、データの書き込みが遅れる虞がある。   According to Patent Document 1, data cannot be written unless all data is read from the read target buffer. In this case, since it is necessary to write data in a plurality of write target buffers all together, there is a possibility that the load on the CPU increases and the data writing is delayed.

特許文献2によれば、データの書き込みは、割り込み処理にて行っているため、データの書き込みを行う回数が多くなると、割り込み処理が増大し、CPUの負荷が大きくなってしまう。   According to Patent Document 2, data writing is performed by interrupt processing. Therefore, when the number of data writing increases, the interrupt processing increases and the load on the CPU increases.

この発明の目的は、CPUの負荷を軽減することができると共に、データの書き込みを遅れることなく円滑に行うことができるステッピングモータ制御装置を提供することである。   An object of the present invention is to provide a stepping motor control device capable of reducing the load on the CPU and smoothly performing data writing without delay.

この発明の他の目的は、良好な画像を形成することを可能とする画像形成装置を提供することである。   Another object of the present invention is to provide an image forming apparatus capable of forming a good image.

この発明のさらに他の目的は、制御性能に優れたステッピングモータを提供することである。   Still another object of the present invention is to provide a stepping motor having excellent control performance.

この発明のさらに他の目的は、CPUの負荷を軽減することができると共に、データの書き込みを遅れることなく円滑に行うことができるステッピングモータの制御方法を提供することである。   Still another object of the present invention is to provide a control method for a stepping motor that can reduce the load on the CPU and can smoothly perform data writing without delay.

この発明に係るステッピングモータ制御装置は、ステッピングモータを駆動するためのデータを格納する複数のバッファと、バッファからデータの読み出しを行う読み出し手段と、バッファにデータの書き込みを行う書き込み手段とを備える。書き込み手段は、一定の順序に従って行う処理にて、バッファにデータの書き込みを行う第1のモードと、読み出し手段からデータの書き込みを行うよう要求を受け付けた場合に、バッファにデータの書き込みを行う第2のモードとを含む。   The stepping motor control device according to the present invention includes a plurality of buffers that store data for driving the stepping motor, a reading unit that reads data from the buffer, and a writing unit that writes data to the buffer. The writing means performs a first mode for writing data to the buffer in a process performed according to a certain order, and a first mode for writing data to the buffer when a request for writing data is received from the reading means. 2 modes.

好ましくは、書き込み手段は、複数のバッファのうち、データを書き込むバッファを示す書き込み位置レジスタに基づいて、データの書き込みを行うことができるバッファを判別する書き込みバッファ判別手段を含む。   Preferably, the writing means includes write buffer determination means for determining a buffer capable of writing data based on a write position register indicating a buffer to which data is written, among the plurality of buffers.

さらに好ましくは、読み出し手段は、複数のバッファのうち、データを読み出すバッファを示す読み出し位置レジスタに基づいて、データの読み出しを行うことができるバッファを判別する読み出しバッファ判別手段を含む。   More preferably, the reading unit includes a read buffer determining unit that determines a buffer from which data can be read based on a read position register indicating a buffer from which data is read out of the plurality of buffers.

さらに好ましくは、書き込み手段は、データの書き込みをリングバッファ形式で行う。   More preferably, the writing means writes data in a ring buffer format.

この発明の他の局面においては、画像形成装置は、上記のいずれかに記載のステッピングモータ制御装置を備える。   In another aspect of the present invention, an image forming apparatus includes any of the stepping motor control devices described above.

好ましくは、画像形成装置は、画像を形成する画像形成部と、画像形成部に用紙を搬送する給紙ローラと、給紙ローラを回転させるステッピングモータとを含む。ステッピングモータは、ステッピングモータ制御装置によって制御される。   Preferably, the image forming apparatus includes an image forming unit that forms an image, a paper feed roller that transports paper to the image forming unit, and a stepping motor that rotates the paper feed roller. The stepping motor is controlled by a stepping motor control device.

さらに好ましくは、ステッピングモータ制御装置は、ステッピングモータによって回転される給紙ローラをスローアップまたはスローダウンするように制御する。   More preferably, the stepping motor control device controls the sheet feeding roller rotated by the stepping motor to slow up or slow down.

さらに好ましくは、画像形成装置は、回転することによって、その上に可視像を形成される転写ベルトと、転写ベルトを回転させるステッピングモータとを含む。ステッピングモータは、ステッピングモータ制御装置によって制御される。   More preferably, the image forming apparatus includes a transfer belt on which a visible image is formed by rotating, and a stepping motor that rotates the transfer belt. The stepping motor is controlled by a stepping motor control device.

さらに好ましくは、ステッピングモータ制御装置は、ステッピングモータによって回転される転写ベルトの回転速度を一定に保つよう制御する。   More preferably, the stepping motor control device performs control so as to keep the rotation speed of the transfer belt rotated by the stepping motor constant.

この発明のさらに他の局面においては、ステッピングモータは、上記のいずれかに記載のステッピングモータ制御装置を備える。   In still another aspect of the present invention, a stepping motor includes any of the stepping motor control devices described above.

この発明のさらに他の局面においては、ステッピングモータ制御装置は、定常処理と割り込み処理とを行うCPUによって、ステッピングモータを制御する。ステッピングモータ制御装置は、複数のバッファを含む。ステッピングモータは、複数のバッファに書き込まれたデータに基づいて駆動される。ステッピングモータ制御装置は、複数のバッファへのデータの書き込みを、定常処理にて行う。   In still another aspect of the present invention, the stepping motor control device controls the stepping motor by a CPU that performs a steady process and an interrupt process. The stepping motor control device includes a plurality of buffers. The stepping motor is driven based on data written in a plurality of buffers. The stepping motor control device writes data to a plurality of buffers in a steady process.

この発明のさらに他の局面においては、ステッピングモータの制御方法は、複数のバッファに書き込まれたデータを読み出し手段により読み出されることによって、ステッピングモータを制御する。そして、複数のバッファにステッピングモータを駆動するためのデータを書き込むステップを備え、書き込みステップは、一定の順序に従って行う処理にて、バッファにデータの書き込みを行うステップと、読み出し手段からのデータの書き込みの要求に応じてバッファにデータの書き込みを行うステップとを含む。   In still another aspect of the present invention, a stepping motor control method controls a stepping motor by reading data written in a plurality of buffers by a reading unit. In addition, a step of writing data for driving the stepping motor into a plurality of buffers is provided, and the writing step includes a step of writing data to the buffer in a process performed in a certain order, and a writing of data from the reading unit Writing data to the buffer in response to the request.

この発明に係るステッピングモータ制御装置は、一定の順序に従って行う処理にて、ステッピングモータ駆動用のデータの書き込みを行うと共に、読み出し手段からデータの書き込みを行うよう要求を受け付けてデータの書き込みを行う。その結果、要求を受け付けてデータの書き込みを行う回数を減らすことができる。そうすると、CPUの負荷を軽減することができ、データの書き込みを遅れることなく円滑に行うことができる。   The stepping motor control device according to the present invention writes the data for driving the stepping motor in a process performed according to a certain order, and also receives a request to write data from the reading means and writes the data. As a result, it is possible to reduce the number of times the request is received and data is written. Then, the load on the CPU can be reduced, and data writing can be performed smoothly without delay.

また、この発明に係る画像形成装置は、上記したステッピングモータ制御装置を備えるため、ステッピングモータの制御品質を向上させて、良好な画像を形成することができる。   In addition, since the image forming apparatus according to the present invention includes the above-described stepping motor control device, it is possible to improve the control quality of the stepping motor and form a good image.

また、この発明に係るステッピングモータは、上記したステッピングモータ制御装置を備えるため、CPUの負荷を軽減することができ、データの書き込みを遅れることなく円滑に行うことができる。   In addition, since the stepping motor according to the present invention includes the above-described stepping motor control device, the load on the CPU can be reduced, and data writing can be performed smoothly without delay.

また、この発明に係るステッピングモータ制御装置は、定常処理にて、ステッピングモータ駆動用のデータの書き込みを行う。これにより、割り込み処理によりデータの書き込みを行う必要がないため、CPUの負荷を軽減することができ、データの書き込みを遅れることなく円滑に行うことができる。   In addition, the stepping motor control device according to the present invention writes the data for driving the stepping motor in the steady process. Thereby, since it is not necessary to write data by interrupt processing, the load on the CPU can be reduced, and data writing can be performed smoothly without delay.

また、この発明に係るステッピングモータの制御方法は、一定の順序に従って行う処理にて、ステッピングモータ駆動用のデータの書き込みを行うと共に、読み出し手段からのデータの書き込みの要求に応じてデータの書き込みを行う。その結果、要求に応じてデータの書き込みを行う回数を減らすことができる。そうすると、CPUの負荷を軽減することができ、データの書き込みを遅れることなく円滑に行うことができる。   The stepping motor control method according to the present invention writes the data for driving the stepping motor in a process performed in a certain order, and writes the data in response to a data write request from the reading means. Do. As a result, the number of times data is written can be reduced according to the request. Then, the load on the CPU can be reduced, and data writing can be performed smoothly without delay.

以下、この発明の実施の形態を図面を参照して説明する。図1は、この発明の一実施形態に係る画像形成装置をデジタル複合機10に適用した場合のデジタル複合機10の構成を示すブロック図である。図1を参照して、デジタル複合機10は、デジタル複合機10全体を制御する制御部11と、画像データ等の書き込みや読み出しを行うためのDRAM12と、デジタル複合機10の有する情報を表示する表示画面を含み、デジタル複合機10におけるユーザとのインターフェースとなる操作部13と、原稿を自動的に所定の原稿読み取り位置へ搬送する原稿送り装置14と、原稿送り装置14によって搬送されてきた原稿の画像を所定の読み取り位置でスキャナで読み取る画像読取り部15と、画像読取り部15で読み取られた原稿等からその画像を形成する画像形成部16と、画像形成部16まで自動的に用紙を搬送する用紙搬送部23と、画像データ等を格納するハードディスク17と、公衆回線20に接続されるFAX通信部18と、ネットワーク21と接続するためのネットワークIF(インターフェース)部19とを備える。   Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram illustrating a configuration of a digital multifunction peripheral 10 when an image forming apparatus according to an embodiment of the present invention is applied to the digital multifunction peripheral 10. Referring to FIG. 1, the digital multifunction peripheral 10 displays a control unit 11 that controls the entire digital multifunction peripheral 10, a DRAM 12 for writing and reading image data and the like, and information that the digital multifunction peripheral 10 has. An operation unit 13 that includes a display screen and serves as an interface with the user in the digital multifunction peripheral 10, a document feeder 14 that automatically transports a document to a predetermined document reading position, and a document that has been transported by the document feeder 14 The image reading unit 15 that reads the image with a scanner at a predetermined reading position, the image forming unit 16 that forms the image from the document read by the image reading unit 15, and the sheet is automatically conveyed to the image forming unit 16. A paper transport unit 23 that stores data, a hard disk 17 that stores image data, and the like, a FAX communication unit 18 that is connected to the public line 20, and And a network IF (interface) unit 19 for connecting to a network 21.

制御部11は、画像読取り部15から与えられる原稿データをDRAM12に圧縮符号化して書き込み、DRAM12に書き込んだデータを読み出し、伸張復号化して画像形成部16により出力する。   The control unit 11 compresses and writes the original data supplied from the image reading unit 15 in the DRAM 12, reads the data written in the DRAM 12, decompresses and decodes the data, and outputs it by the image forming unit 16.

デジタル複合機10は、画像読取り部15により読み取られた原稿を用いて、DRAM12を介して画像形成部16において画像を形成することにより、複写機として作動する。また、デジタル複合機10は、ネットワークIF部19を通じて、ネットワーク21に接続されたパソコン22から送信された画像データを用いて、DRAM12を介して画像形成部16において画像を形成することにより、プリンターとして作動する。さらに、デジタル複合機10は、FAX通信部18を通じて、公衆回線20から送信された画像データを用いて、DRAM12を介して画像形成部16において画像を形成することにより、また、画像読取り部15により読み取られた原稿の画像データを、FAX通信部18を通じて公衆回線20に画像データを送信することにより、ファクシミリ装置として作動する。すなわち、デジタル複合機10は、画像処理に関し、複写(コピー)機能、プリンター機能、FAX機能等、複数の機能を有する。さらに、各機能に対しても、さらに詳細に設定可能な機能を有する。   The digital multifunction machine 10 operates as a copying machine by forming an image in the image forming unit 16 via the DRAM 12 using the document read by the image reading unit 15. Further, the digital multifunction peripheral 10 forms an image in the image forming unit 16 via the DRAM 12 using the image data transmitted from the personal computer 22 connected to the network 21 through the network IF unit 19, thereby serving as a printer. Operate. Further, the digital multifunction peripheral 10 forms an image in the image forming unit 16 through the DRAM 12 using the image data transmitted from the public line 20 through the FAX communication unit 18, and also by the image reading unit 15. The image data of the read original is transmitted to the public line 20 through the FAX communication unit 18 to operate as a facsimile machine. That is, the digital multi-function peripheral 10 has a plurality of functions such as a copying (copying) function, a printer function, and a FAX function regarding image processing. Further, each function has functions that can be set in more detail.

なお、図1において、太線の矢印は画像データの流れを示しており、細線の矢印は制御信号または制御データの流れを示している。   In FIG. 1, thick arrows indicate the flow of image data, and thin arrows indicate the flow of control signals or control data.

ここで、画像形成部16の具体的な構成について説明する。図2は、デジタル複合機10に備えられる画像形成部16の一部を示す概略図である。図2において、実線の矢印は用紙44の流れを示しており、点線の矢印は転写ベルト41の回転方向を示している。図3は、図2に示す画像形成部16に備えられるイエローの現像器46aの一例を示す模式図である。図1〜図3を参照して、画像形成部16は、イエローの現像器46aと、マゼンタの現像器46bと、シアンの現像器46cと、ブラックの現像器46dとを備える。イエローの現像器46aは、感光体39aと、帯電部35aと、露光部36aと、現像部37aとを備える。帯電部35aは、感光体39aに電圧を印加して感光体39aの表面を所定の電位に帯電させる。露光部36aは、帯電部35aにより帯電された感光体39aの表面に、画像読取り部15で読み取られた原稿を基に形成されたイエローの光像を露光する。そうすると、感光体39aの表面には、静電潜像が形成される。現像部37aは、感光体39aの表面に形成された静電潜像にイエローのトナーを付着させ、イエローのトナー像を形成する。現像器46b、現像器46c、現像器46dについても現像器46aと同様に各色のトナー像が形成される。形成された各色のトナー像は、色ずれが起きないように、図2中の点線の矢印で示す方向に回転している転写ベルト41上に、イエロー、マゼンタ、シアン、ブラックの順に重ね合わせて一次転写される。このようにして、イエロー、マゼンタ、シアン、ブラックにより構成される可視像のフルカラー画像が転写ベルト41上に形成される。転写ベルト41上に形成されたフルカラー画像は、転写ローラ42によって用紙44に二次転写される。具体的には、用紙44は、Pで示す位置から、用紙搬送部23に備えられた給紙モータ45により、図2中の実線の矢印で示す方向、すなわち、画像形成部16に向かって搬送される。用紙44がPで示す位置まで搬送され、転写ローラ42まで達したときに、フルカラー画像は、転写ローラ42によって用紙44に二次転写される。その後、用紙44がPで示す位置まで搬送され、定着ローラ43まで達したときに、用紙44上に転写されたフルカラー画像は、定着ローラ43により定着される。このようにして、用紙44にフルカラー画像を形成する。 Here, a specific configuration of the image forming unit 16 will be described. FIG. 2 is a schematic diagram illustrating a part of the image forming unit 16 provided in the digital multifunction peripheral 10. In FIG. 2, solid arrows indicate the flow of the paper 44, and dotted arrows indicate the rotation direction of the transfer belt 41. FIG. 3 is a schematic diagram showing an example of a yellow developing device 46a provided in the image forming unit 16 shown in FIG. 1 to 3, the image forming unit 16 includes a yellow developing unit 46a, a magenta developing unit 46b, a cyan developing unit 46c, and a black developing unit 46d. The yellow developing device 46a includes a photoreceptor 39a, a charging unit 35a, an exposure unit 36a, and a developing unit 37a. The charging unit 35a applies a voltage to the photoconductor 39a to charge the surface of the photoconductor 39a to a predetermined potential. The exposure unit 36a exposes a yellow light image formed on the surface of the photoreceptor 39a charged by the charging unit 35a based on the document read by the image reading unit 15. As a result, an electrostatic latent image is formed on the surface of the photoreceptor 39a. The developing unit 37a attaches yellow toner to the electrostatic latent image formed on the surface of the photoreceptor 39a to form a yellow toner image. Similarly to the developing device 46a, toner images of the respective colors are formed on the developing device 46b, the developing device 46c, and the developing device 46d. The formed toner images of respective colors are superposed in the order of yellow, magenta, cyan, and black on the transfer belt 41 rotating in the direction indicated by the dotted arrow in FIG. 2 so that color misregistration does not occur. Primary transcription. In this way, a visible full-color image composed of yellow, magenta, cyan, and black is formed on the transfer belt 41. The full color image formed on the transfer belt 41 is secondarily transferred to the paper 44 by the transfer roller 42. Specifically, the paper 44 is moved from the position indicated by P 1 toward the image forming unit 16 in the direction indicated by the solid line arrow in FIG. 2 by the paper feed motor 45 provided in the paper transport unit 23. Be transported. When the paper 44 is conveyed to the position indicated by P 2 and reaches the transfer roller 42, the full color image is secondarily transferred onto the paper 44 by the transfer roller 42. Thereafter, when the paper 44 is conveyed to the position indicated by P 3 and reaches the fixing roller 43, the full-color image transferred onto the paper 44 is fixed by the fixing roller 43. In this way, a full color image is formed on the paper 44.

上記した給紙モータ45は、用紙44の搬送タイミングに合わせて回転数を調整されるステッピングモータであり、ステッピングモータ制御装置によって制御されている。ここで、ステッピングモータ制御装置の具体的な構成について説明する。図4は、ステッピングモータ制御装置26およびモータ駆動部28の構成を示すブロック図である。図1〜図4を参照して、ステッピングモータ制御装置26は、CPU25と、ASIC27とを備える。ASIC27は、複数のバッファから構成されるバッファ群29を備える。モータ駆動部28は、ステッピングモータ24を備える。なお、CPU25やASIC27は、図1に示す制御部11に含まれるものであるが、図4においては、理解を容易にする観点から別途図示しておく。なお、図4において、実線の矢印はデータ書き込み信号を示しており、点線の矢印はデータ書き込み要求信号を示しており、太線の矢印はパルス出力信号を示している。   The paper feed motor 45 is a stepping motor whose rotation speed is adjusted in accordance with the conveyance timing of the paper 44, and is controlled by a stepping motor control device. Here, a specific configuration of the stepping motor control device will be described. FIG. 4 is a block diagram showing the configuration of the stepping motor control device 26 and the motor drive unit 28. 1 to 4, the stepping motor control device 26 includes a CPU 25 and an ASIC 27. The ASIC 27 includes a buffer group 29 composed of a plurality of buffers. The motor drive unit 28 includes a stepping motor 24. The CPU 25 and the ASIC 27 are included in the control unit 11 shown in FIG. 1, but are separately shown in FIG. 4 from the viewpoint of facilitating understanding. In FIG. 4, a solid arrow indicates a data write signal, a dotted arrow indicates a data write request signal, and a thick arrow indicates a pulse output signal.

CPU25は、ASIC27へデータ書き込み信号を出力し、ASIC27に備えられるバッファ群29の各バッファにデータの書き込みを行う。ここで、CPU25は、書き込み手段となる。書き込み手段は、一定の順序に従って行う処理にて、バッファにデータの書き込みを行う第1のモードと、後述する読み出し手段からデータの書き込みを行うよう要求を受け付けた場合に、バッファにデータの書き込みを行う第2のモードとを含む。詳細については後述する。   The CPU 25 outputs a data write signal to the ASIC 27 and writes data to each buffer of the buffer group 29 provided in the ASIC 27. Here, the CPU 25 serves as a writing unit. The writing means writes data to the buffer when receiving a request to write data from the first mode for writing data to the buffer and a reading means to be described later in a process performed in a certain order. Second mode to be performed. Details will be described later.

データとは、ステッピングモータ駆動用のパルスを出力するための周期を示すパルス周期データである。具体的には、出力するパルスのパルス幅と、そのパルス幅のパルスを出力する回数とを含む。バッファ1個に書き込まれるデータは、ステッピングモータ24をある角度まで回転させる1ステップ分となり、例えばバッファ群29が8個のバッファから構成される場合、8個の各バッファには、1ステップずつ、計8ステップ分が書き込まれる。ステッピングモータ24の速度を変更する場合には、パルス幅の異なる複数のデータが、各バッファに書き込まれる。   Data is pulse cycle data indicating a cycle for outputting a stepping motor driving pulse. Specifically, it includes the pulse width of the pulse to be output and the number of times the pulse having that pulse width is output. The data written in one buffer is one step for rotating the stepping motor 24 to a certain angle. For example, when the buffer group 29 is composed of eight buffers, one step is included in each of the eight buffers. A total of 8 steps are written. When the speed of the stepping motor 24 is changed, a plurality of data having different pulse widths are written in each buffer.

ASIC27は、CPU25によってバッファ群29に書き込まれたデータの読み出しを行う。ここで、ASIC27は、読み出し手段となる。そして、読み出したデータに基づいて、モータ駆動部28へパルスを出力する。また、ASIC27は、バッファ群29の全てのデータの読み出しを行うと、CPU25へデータ書き込み要求信号を出力して、CPU25へデータの書き込みを行うよう要求する。要求を受けたCPU25は、ASIC27へデータ書き込み信号を出力し、バッファ群29にデータの書き込みを行う。   The ASIC 27 reads data written in the buffer group 29 by the CPU 25. Here, the ASIC 27 serves as a reading unit. Based on the read data, a pulse is output to the motor drive unit 28. When the ASIC 27 has read all the data in the buffer group 29, the ASIC 27 outputs a data write request signal to the CPU 25 to request the CPU 25 to write the data. Upon receiving the request, the CPU 25 outputs a data write signal to the ASIC 27 and writes data to the buffer group 29.

モータ駆動部28は、ASIC27によって出力されたパルスに基づいて、ステッピングモータ24を回転させる。ステッピングモータ24は、用紙44に当接して用紙44を搬送する給紙ローラ(図示せず)を回転させる。   The motor drive unit 28 rotates the stepping motor 24 based on the pulse output from the ASIC 27. The stepping motor 24 rotates a paper feed roller (not shown) that contacts the paper 44 and conveys the paper 44.

このようにしてステッピングモータ制御装置26は、ステッピングモータ24を制御する。具体的に、ステッピングモータ24の駆動時において、ステッピングモータ24の回転数を徐々に上げる、いわゆるスローアップ制御および、ステッピングモータ24の回転数を徐々に下げる、いわゆるスローダウン制御を行う場合がある。このような場合には、パルス幅の異なる複数のデータを短時間に必要とする。ここで、CPU25が、各バッファにパルス幅の異なる複数のデータの書き込みを行う。そして、ASIC27が、データの読み出しを行い、そのデータに基づいてパルス幅の異なるパルスを出力する。モータ駆動部28は、パルス幅の異なるパルスに基づいて、ステッピングモータ24の速度を細かく変更する。このようにして、ステッピングモータ24のスローアップ制御およびスローダウン制御を滑らかに行う。   In this way, the stepping motor control device 26 controls the stepping motor 24. Specifically, when the stepping motor 24 is driven, so-called slow-up control in which the rotation speed of the stepping motor 24 is gradually increased and so-called slow-down control in which the rotation speed of the stepping motor 24 is gradually decreased may be performed. In such a case, a plurality of data having different pulse widths are required in a short time. Here, the CPU 25 writes a plurality of data having different pulse widths in each buffer. Then, the ASIC 27 reads data and outputs pulses having different pulse widths based on the data. The motor driving unit 28 finely changes the speed of the stepping motor 24 based on pulses having different pulse widths. In this way, the slow-up control and slow-down control of the stepping motor 24 are smoothly performed.

図5は、ASIC27に備えられるバッファ群29の構成を示す構成図である。図5を参照して、バッファ群29は、この実施形態においては、バッファ30aからバッファ30hまで、8個のバッファから構成される。各バッファ30a〜30hには、ステッピングモータ駆動用のデータが格納され、CPU25によってデータの書き込みが行われ、ASIC27によってデータの読み出しが行われる。データの書き込みおよびデータの読み出しは、リングバッファ形式で行われる。   FIG. 5 is a configuration diagram showing the configuration of the buffer group 29 provided in the ASIC 27. Referring to FIG. 5, the buffer group 29 is composed of eight buffers from a buffer 30a to a buffer 30h in this embodiment. Data for driving the stepping motor is stored in each of the buffers 30a to 30h, the data is written by the CPU 25, and the data is read by the ASIC 27. Data writing and data reading are performed in a ring buffer format.

具体的には、例えば、データの書き込みをバッファ30aから開始して、最後のバッファ30hまで終了すると、引き続いて再度バッファ30aからデータの書き込みを開始する。データの読み出しにおいても同様に、データの読み出しをバッファ30aから開始して、最後のバッファ30hまで終了すると、引き続いて再度バッファ30aからデータの読み出しを開始する。   Specifically, for example, when data writing starts from the buffer 30a and ends up to the last buffer 30h, data writing starts again from the buffer 30a. Similarly, in the data reading, when the data reading is started from the buffer 30a and finished to the last buffer 30h, the data reading from the buffer 30a is started again.

そして、データの書き込みは、データを書き込むバッファを示す書き込み位置レジスタ31に基づいて、データの書き込みを行うことができるバッファを判別する。ここで、CPU25は、書き込みバッファ判別手段となる。書き込み位置レジスタ31は、指し示すバッファにおいて、データの書き込みが終了すると、次のバッファへ移動する。   In the data writing, a buffer capable of writing data is determined based on a write position register 31 indicating a buffer in which data is written. Here, the CPU 25 serves as a write buffer determination unit. The write position register 31 moves to the next buffer when data writing is completed in the indicated buffer.

また、データの読み出しにおいても同様に、データを読み出すバッファを示す読み出し位置レジスタ32に基づいて、データの読み出しを行うことができるバッファを判別する。ここで、ASIC27は、読み出しバッファ判別手段となる。読み出し位置レジスタ32は、指し示すバッファにおいて、データの読み出しが終了すると、次のバッファへ移動する。なお、図5において、点線の矢印は、書き込み位置レジスタ31の移動方向を示し、実線の矢印は、読み出し位置レジスタ32の移動方向を示している。   Similarly, in reading data, a buffer from which data can be read is determined based on a read position register 32 indicating a buffer from which data is read. Here, the ASIC 27 serves as a read buffer determination unit. The reading position register 32 moves to the next buffer when reading of data in the indicated buffer is completed. In FIG. 5, the dotted arrow indicates the moving direction of the write position register 31, and the solid arrow indicates the moving direction of the read position register 32.

図5に示すように、書き込み位置レジスタ31が、バッファ30aを指し示し、読み出し位置レジスタ32が、バッファ30eを指し示している場合、CPU25は、バッファ30aからバッファ30dを書き込みを行うことができるバッファと判別する。すなわち、バッファ30aからバッファ30dをデータの読み出しが終了し、まだデータの書き込みが行われていないバッファと判別する。そして、ASIC27は、バッファ30eからバッファ30hを読み出しを行うことができるバッファと判別する。すなわち、バッファ30eからバッファ30hをデータの書き込みが終了し、まだデータの読み出しが行われていないバッファと判別する。   As shown in FIG. 5, when the write position register 31 points to the buffer 30a and the read position register 32 points to the buffer 30e, the CPU 25 determines that the buffer 30d can be written from the buffer 30a. To do. That is, it is determined that the buffer 30a to the buffer 30d are buffers that have finished reading data and have not yet written data. Then, the ASIC 27 determines that the buffer 30h is a buffer that can be read from the buffer 30e. That is, the buffers 30e to 30h are determined to be buffers that have finished writing data and have not yet read data.

このように、データの書き込みおよびデータの読み出しを行うことにより、書き込み位置レジスタ31および読み出し位置レジスタ32を把握するだけで、データの書き込みおよびデータの読み出しを行うことができる。したがって、簡易な方法で効率的にデータの書き込みおよびデータの読み出しを行うことができ、CPU25の負荷を軽減することができる。   In this way, by writing data and reading data, it is possible to write data and read data only by grasping the write position register 31 and the read position register 32. Therefore, data can be efficiently written and read by a simple method, and the load on the CPU 25 can be reduced.

また、データの書き込みおよびデータの読み出しをリングバッファ形式で行うことにより、最後のバッファ30hにおいて、データの書き込みまたはデータの読み出しが終了しても、直ちにバッファ30aに移動して、データの書き込みまたはデータの読み出しを引き続いて行うことができる。したがって、さらにCPU25の負荷を軽減することができる。   Further, by performing data writing and data reading in a ring buffer format, even if data writing or data reading is completed in the last buffer 30h, the data is immediately moved to the buffer 30a to be written or read Can be read subsequently. Therefore, the load on the CPU 25 can be further reduced.

ここで、バッファにデータの書き込みを行う場合のCPU25の処理について説明する。図6は、CPU25の定常処理を示すフローチャートである。図1〜図6を参照して、まず、CPU25の定常処理について説明する。   Here, processing of the CPU 25 when data is written to the buffer will be described. FIG. 6 is a flowchart showing the steady process of the CPU 25. With reference to FIGS. 1-6, the steady process of CPU25 is demonstrated first.

CPU25は、通常、定常処理を行っている。そして、必要に応じて割り込み処理を受け付ける。定常処理とは、原稿送り装置14により原稿を搬送する処理、画像読取り部15により原稿の画像を読取る処理、画像形成部16により原稿の画像データから画像を形成する処理や、用紙搬送部23により用紙を搬送する処理等を含むデジタル複合機10における画像形成に関する一連の処理であって、一定の順序に従って行う処理である。   The CPU 25 normally performs steady processing. Then, interrupt processing is accepted as necessary. The steady process includes a process of conveying a document by the document feeder 14, a process of reading an image of the document by the image reading unit 15, a process of forming an image from image data of the document by the image forming unit 16, A series of processes relating to image formation in the digital multi-function peripheral 10 including a process of conveying paper, and the like, is a process performed in a certain order.

CPU25は、定常処理にて、画像形成に関する一連の処理を行う(図6において、ステップS11、以下ステップを省略する)。また、CPU25は、定常処理にて、バッファにデータの書き込みを行うデータ書き込み処理を行う(S12)。   The CPU 25 performs a series of processes relating to image formation in a steady process (in FIG. 6, step S11, the following steps are omitted). Further, the CPU 25 performs a data write process for writing data to the buffer in a steady process (S12).

ここで、データ書き込み処理について説明する。図7は、データ書き込み処理を示すフローチャートである。図1〜図7を参照して、データ書き込み処理について説明する。   Here, the data writing process will be described. FIG. 7 is a flowchart showing the data writing process. The data writing process will be described with reference to FIGS.

CPU25は、書き込み位置レジスタ31に基づいて、バッファ30a〜30hからデータの書き込みを行うことができるバッファを判別する(S21)。この実施形態においては、図5に示すように、書き込み位置レジスタ31は、バッファ30aを示し、読み出し位置レジスタ32は、バッファ30eを示している。したがって、上記のようにバッファ30aからバッファ30dを書き込みを行うことができるバッファと判別する。   The CPU 25 determines a buffer capable of writing data from the buffers 30a to 30h based on the write position register 31 (S21). In this embodiment, as shown in FIG. 5, the write position register 31 indicates the buffer 30a, and the read position register 32 indicates the buffer 30e. Therefore, as described above, the buffer 30a to the buffer 30d are determined as buffers capable of writing.

そして、書き込みを行うことができるバッファがあるため(S22において、YES)、CPU25は、バッファ30aからバッファ30dまで、データの書き込みを行う(S23)。このときのデータの書き込みが、第1のモードに対応する。   Since there is a buffer in which writing can be performed (YES in S22), the CPU 25 writes data from the buffer 30a to the buffer 30d (S23). The data writing at this time corresponds to the first mode.

なお、ステップ22において、書き込みを行うことができるバッファがない場合には(S22において、NO)、データ書き込み処理を終了して、引き続き、定常処理を行う。   If there is no buffer that can be written in step 22 (NO in S22), the data writing process is terminated and the steady process is continued.

一方、ASIC27は、CPU25によって書き込まれたデータの読み出しを行う。このとき、バッファ群29の全てのデータの読み出しを行った場合、ASIC27は、CPU25へデータ書き込み要求信号を出力して、CPU25へデータの書き込みを行うよう要求する。すなわち、CPU25へ割り込み処理を要求する。   On the other hand, the ASIC 27 reads data written by the CPU 25. At this time, when all the data in the buffer group 29 has been read, the ASIC 27 outputs a data write request signal to the CPU 25 and requests the CPU 25 to write the data. That is, it requests the CPU 25 for interrupt processing.

図8は、割り込み処理を示すフローチャートである。図1〜図8を参照して、割り込み処理について説明する。   FIG. 8 is a flowchart showing interrupt processing. The interrupt process will be described with reference to FIGS.

CPU25は、ASIC27からのデータ書き込み要求信号を受け付ける(S31)。そうすると、ここでは、上記のように、ASIC27がバッファ群29の全てのデータの読み出しを行っているため、CPU25は、バッファ30aからバッファ30hの全てのバッファにデータの書き込みを行う(S32)。このように、割り込み処理とは、ASIC27からのデータの書き込みの要求を受け付けて、データの書き込みを行う処理である。そして、上記のように、ASIC27がバッファ群29の全てのデータの読み出しを行ったタイミングで、CPU25へ要求される処理である。割り込み処理は、例えば、図6中のステップ11に示す、画像形成に関する一連の処理が終了したタイミングや、図7中のステップ21に示す、データの書き込みを行うことができるバッファを判別するタイミング等、様々なタイミングで要求される。なお、このときのデータの書き込みが、第2のモードに対応する。   The CPU 25 receives a data write request signal from the ASIC 27 (S31). Then, as described above, since the ASIC 27 reads all data in the buffer group 29 as described above, the CPU 25 writes data from the buffer 30a to all buffers in the buffer 30h (S32). As described above, the interrupt process is a process of receiving a data write request from the ASIC 27 and writing the data. Then, as described above, this processing is requested to the CPU 25 at the timing when the ASIC 27 has read all the data in the buffer group 29. The interrupt processing is, for example, timing when a series of processing relating to image formation shown in Step 11 in FIG. 6 is completed, timing for determining a buffer capable of writing data, shown in Step 21 in FIG. , Requested at various times. Note that the data writing at this time corresponds to the second mode.

このように、ステッピングモータ制御装置26は、定常処理によりステッピングモータ駆動用のデータの書き込みを行うと共に、割り込み処理によりデータの書き込みを行う。その結果、割り込み処理によりデータの書き込みを行う回数を減らすことができる。そうすると、CPU25の負荷を軽減することができ、データの書き込みを遅れることなく円滑に行うことができる。   As described above, the stepping motor control device 26 writes the data for driving the stepping motor by the steady process, and writes the data by the interrupt process. As a result, the number of times data is written by interrupt processing can be reduced. Then, the load on the CPU 25 can be reduced, and data writing can be performed smoothly without delay.

また、給紙モータ45は、このようなステッピングモータ制御装置26によって制御されるステッピングモータ24であるため、スローアップ制御およびスローダウン制御のような短時間に複数のデータが必要な場合にもCPU25の負荷を軽減することができ、データの書き込みを遅れることなく円滑に行うことができる。そうすると、給紙モータ45の速度をより滑らかに変更することができ、適切に用紙を搬送することができる。   Further, since the paper feed motor 45 is the stepping motor 24 controlled by the stepping motor control device 26 as described above, the CPU 25 is also used when a plurality of data is required in a short time such as slow-up control and slow-down control. Thus, data writing can be performed smoothly without delay. Then, the speed of the paper feed motor 45 can be changed more smoothly, and the paper can be conveyed appropriately.

また、デジタル複合機10は、このようなステッピングモータ制御装置26を備えるため、ステッピングモータ24の制御品質を向上させて、良好な画像を形成することができる。   Further, since the digital multi-function peripheral 10 includes such a stepping motor control device 26, it is possible to improve the control quality of the stepping motor 24 and form a good image.

また、このようなステッピングモータ24の制御方法は、定常処理により、ステッピングモータ駆動用のデータの書き込みを行うと共に、割り込み処理によりデータの書き込みを行う。その結果、割り込み処理によりデータの書き込みを行う回数を減らすことができる。そうすると、CPU25の負荷を軽減することができ、データの書き込みを遅れることなく円滑に行うことができる。   In addition, such a control method of the stepping motor 24 writes data for driving the stepping motor by a steady process and writes data by an interrupt process. As a result, the number of times data is written by interrupt processing can be reduced. Then, the load on the CPU 25 can be reduced, and data writing can be performed smoothly without delay.

なお、上記の実施の形態においては、給紙モータ45が、このようなステッピングモータ制御装置26によって制御されるステッピングモータ24である例について説明したが、これに限らず、図2に示す、転写ベルト41に当接して転写ベルト41を回転する駆動ローラ47にも採用することができる。   In the above embodiment, the example in which the paper feeding motor 45 is the stepping motor 24 controlled by the stepping motor control device 26 has been described. However, the present invention is not limited to this, and the transfer shown in FIG. It can also be used for a driving roller 47 that contacts the belt 41 and rotates the transfer belt 41.

具体的には、ステッピングモータ24は、駆動ローラ47を回転させる。駆動ローラ47は、転写ベルト41に当接して転写ベルト41を回転する。転写ベルト41の回転速度は、常時監視され、例えば、センサ等によって、転写ベルト41の所定の区間における回転速度を検出することにより、常時監視される。   Specifically, the stepping motor 24 rotates the drive roller 47. The driving roller 47 contacts the transfer belt 41 and rotates the transfer belt 41. The rotational speed of the transfer belt 41 is constantly monitored. For example, the rotational speed of the transfer belt 41 is constantly monitored by detecting the rotational speed of the transfer belt 41 in a predetermined section.

転写ベルト41上には、上記したように、各色のトナー像を重ね合わせて、フルカラー画像が形成される。したがって、転写ベルト41の回転速度が、所定の回転速度からずれてしまうと、色ずれが発生する。そうすると、鮮明なフルカラー画像を形成することができなくなってしまうため、転写ベルト41の回転速度は、一定に保つ必要がある。   As described above, a full color image is formed on the transfer belt 41 by superimposing the toner images of the respective colors. Therefore, when the rotational speed of the transfer belt 41 deviates from a predetermined rotational speed, color misregistration occurs. As a result, a clear full-color image cannot be formed, and the rotation speed of the transfer belt 41 needs to be kept constant.

しかし、転写ベルト41の回転速度は、転写ベルト41と転写ベルト41を回転するローラ間の滑りや転写ベルト41の経年変化による劣化、転写ベルト41の製造時の誤差等によって生じた各所の厚みの違い等に起因して、一定に保つことが困難となる場合がある。そこで、転写ベルト41の回転速度を一定に保ち、色ずれを防止するには、転写ベルト41を駆動するローラの回転速度を微妙に制御する必要がある。   However, the rotation speed of the transfer belt 41 depends on slippage between the transfer belt 41 and the rollers that rotate the transfer belt 41, deterioration due to aging of the transfer belt 41, errors in manufacturing the transfer belt 41, and the like. Due to differences or the like, it may be difficult to keep constant. Therefore, in order to keep the rotation speed of the transfer belt 41 constant and prevent color misregistration, it is necessary to finely control the rotation speed of the roller that drives the transfer belt 41.

このような場合に、ステッピングモータ制御装置26が、駆動ローラ47を回転するステッピングモータ24の回転速度の補正を行う。具体的には、CPU25が、各バッファに上記した転写ベルト41の特性を考慮したパルス幅の異なる複数のデータの書き込みを行う。そして、ASIC27が、データの読み出しを行い、そのデータに基づいてパルス幅の異なるパルスを出力する。モータ駆動部28は、パルス幅の異なるパルスに基づいて、ステッピングモータ24の速度を変更する。このようにして、駆動ローラ47の回転速度の補正を行い、転写ベルト41の回転速度を一定に保つ。   In such a case, the stepping motor control device 26 corrects the rotational speed of the stepping motor 24 that rotates the driving roller 47. Specifically, the CPU 25 writes a plurality of data having different pulse widths in consideration of the characteristics of the transfer belt 41 described above in each buffer. Then, the ASIC 27 reads data and outputs pulses having different pulse widths based on the data. The motor drive unit 28 changes the speed of the stepping motor 24 based on pulses having different pulse widths. In this way, the rotational speed of the drive roller 47 is corrected, and the rotational speed of the transfer belt 41 is kept constant.

こうすることにより、転写ベルト41に応じた微妙な回転速度の補正を行うことができ、転写ベルト41の回転速度を一定に保つことができる。これにより、色ずれを防止して、鮮明なフルカラー画像を形成することができる。   By doing so, it is possible to perform a delicate correction of the rotational speed according to the transfer belt 41, and to keep the rotational speed of the transfer belt 41 constant. Thereby, it is possible to prevent color misregistration and form a clear full color image.

また、例えばレジストモータのような、ステッピングモータ24を使用しているモータであれば、その他のモータにおいても採用することができる。   In addition, any motor that uses the stepping motor 24, such as a registration motor, can be employed in other motors.

また、上記の実施の形態においては、図7中のステップ23において、バッファ30aからバッファ30dまで、複数のバッファにデータの書き込みを行う例について説明したが、複数のバッファのうちのいずれか一つのバッファにデータの書き込みを行ってもよい。   In the above embodiment, the example in which data is written to a plurality of buffers from the buffer 30a to the buffer 30d in step 23 in FIG. 7 has been described. However, any one of the plurality of buffers is described. Data may be written to the buffer.

また、上記の実施の形態においては、リングバッファ形式で、データの書き込みおよびデータの読み出しを行う例について説明したが、これに限らず、他の形式で行ってもよい。たとえば、書き込み位置レジスタ31は、データの書き込みが終了すると、隣以外の他のバッファに移動する。これによりCPU25は、他のバッファにデータの書き込みを行う。また、読み出し位置レジスタ32においても同様に、隣以外の他のバッファに移動する。これによりASIC27は、他のバッファからデータの読み出しを行う。   In the above-described embodiment, an example in which data writing and data reading are performed in the ring buffer format has been described. However, the present invention is not limited to this, and another format may be used. For example, when the data writing is completed, the write position register 31 moves to a buffer other than the adjacent buffer. As a result, the CPU 25 writes data into another buffer. Similarly, the read position register 32 moves to a buffer other than the adjacent buffer. As a result, the ASIC 27 reads data from another buffer.

また、上記の実施の形態においては、ASIC27は、バッファ群29の全てのデータを読み出した場合に、CPU25へデータの書き込みを行うよう割り込み処理を要求する例について説明したが、これに限らず、例えば、所定の数のバッファのデータを読み出したことを検知することにより、所定の数のバッファのデータを読み出した場合に、データの書き込みを行うよう割り込み処理を要求してもよい。   In the above embodiment, the ASIC 27 has described an example in which an interrupt process is requested to write data to the CPU 25 when all the data in the buffer group 29 has been read. For example, an interrupt process may be requested to write data when data in a predetermined number of buffers is read by detecting that data in a predetermined number of buffers has been read.

また、上記の実施の形態においては、割り込み処理において、ASIC27からデータ書き込み要求信号を受け付けると、全てのバッファにデータの書き込みを行う例について説明したが、これに限らず、データの書き込みを行うことができるバッファを判別して、2個以上のバッファにデータの書き込みを行えばよい。   In the above embodiment, an example has been described in which data is written to all buffers when a data write request signal is received from the ASIC 27 in interrupt processing. However, the present invention is not limited to this, and data is written. What is necessary is just to discriminate | determine the buffer which can carry out and write data in two or more buffers.

また、上記の実施の形態においては、バッファ群29は、バッファ30aからバッファ30hまで、8個備えることとしたが、8個に限らず、2個以上であればよい。図9は、2個のバッファから構成されるバッファ群50の一例を示す図である。図9を参照して、バッファ群50は、第1のバッファ51と、第2のバッファ52とから構成される。   In the above embodiment, eight buffer groups 29 are provided from the buffer 30a to the buffer 30h. However, the number is not limited to eight, and may be two or more. FIG. 9 is a diagram illustrating an example of a buffer group 50 including two buffers. Referring to FIG. 9, the buffer group 50 includes a first buffer 51 and a second buffer 52.

また、上記の実施の形態においては、CPU25やASIC27は、デジタル複合機10の制御部11に含まれる例について説明したが、これに限らず、ステッピングモータ制御装置の内部に別途CPUやASICを設けてもよい。この場合、ステッピングモータ制御装置は、モータを使用するその他の装置に採用することができる。   In the above embodiment, the example in which the CPU 25 and the ASIC 27 are included in the control unit 11 of the digital multi-function peripheral 10 has been described. However, the present invention is not limited to this, and a separate CPU and ASIC are provided inside the stepping motor control device. May be. In this case, the stepping motor control device can be employed in other devices that use a motor.

また、ステッピングモータが、このようなステッピングモータ制御装置26を備えてもよい。この場合、ステッピングモータは、CPUの負荷を軽減することができ、データの書き込みを遅れることなく円滑に行うことができる。   Further, the stepping motor may include such a stepping motor control device 26. In this case, the stepping motor can reduce the load on the CPU and can smoothly perform data writing without delay.

また、上記の実施の形態においては、定常処理および割り込み処理にて、データの書き込みを行う例について説明したが、これに限らず、定常処理のみで十分に行える場合には、定常処理のみにて、データの書き込みを行ってもよい。こうすることにより、ステッピングモータ制御装置26は、定常処理にて、ステッピングモータ駆動用のデータの書き込みを行う。これにより、割り込み処理によりデータの書き込みを行う必要がないため、CPUの負荷を軽減することができ、データの書き込みを遅れることなく円滑に行うことができる。   In the above embodiment, the example of performing data writing in the steady process and the interrupt process has been described. However, the present invention is not limited to this, and if only the steady process can be performed sufficiently, only the steady process is performed. Data may be written. By doing so, the stepping motor control device 26 writes the data for driving the stepping motor in a steady process. Thereby, since it is not necessary to write data by interrupt processing, the load on the CPU can be reduced, and data writing can be performed smoothly without delay.

さらに、上記の実施の形態においては、デジタル複合機10によって、フルカラー画像を形成する場合を説明したが、これに限らず、白黒画像を形成する場合にも適用される。   Further, in the above-described embodiment, the case where a full-color image is formed by the digital multifunction peripheral 10 has been described. However, the present invention is not limited to this, and the present invention is also applicable to the case where a monochrome image is formed.

以上、図面を参照してこの発明の実施形態を説明したが、この発明は、図示した実施形態のものに限定されない。図示した実施形態に対して、この発明と同一の範囲内において、あるいは均等の範囲内において、種々の修正や変形を加えることが可能である。   As mentioned above, although embodiment of this invention was described with reference to drawings, this invention is not limited to the thing of embodiment shown in figure. Various modifications and variations can be made to the illustrated embodiment within the same range or equivalent range as the present invention.

この発明の一実施形態に係るデジタル複合機の全体構成を示すブロック図である。1 is a block diagram showing an overall configuration of a digital multifunction peripheral according to an embodiment of the present invention. 図1に示すデジタル複合機に備えられる画像形成部の一部を示す概略図である。FIG. 2 is a schematic diagram illustrating a part of an image forming unit provided in the digital multifunction peripheral illustrated in FIG. 1. 図2に示す画像形成部に備えられる現像器の一例を示す模式図である。FIG. 3 is a schematic diagram illustrating an example of a developing device provided in the image forming unit illustrated in FIG. 2. ステッピングモータ制御装置およびモータ駆動部の構成を示すブロック図である。It is a block diagram which shows the structure of a stepping motor control apparatus and a motor drive part. ASICに備えられるバッファ群の構成を示す構成図である。It is a block diagram which shows the structure of the buffer group with which ASIC is equipped. CPUの定常処理を示すフローチャートである。It is a flowchart which shows the steady process of CPU. データ書き込み処理を示すフローチャートである。It is a flowchart which shows a data writing process. 割り込み処理を示すフローチャートである。It is a flowchart which shows an interruption process. 2個のバッファから構成されるバッファ群の一例を示す図である。It is a figure which shows an example of the buffer group comprised from two buffers.

符号の説明Explanation of symbols

10 デジタル複合機、11 制御部、12 DRAM、13 操作部、14 原稿送り装置、15 画像読取り部、16 画像形成部、17 ハードディスク、18 FAX通信部、19 ネットワークIF部、20 公衆回線、21 ネットワーク、22 パソコン、23 用紙搬送部、24 ステッピングモータ、25 CPU、26 ステッピングモータ制御装置、27 ASIC、28 モータ駆動部、29,50 バッファ群、30a,30b,30c,30d,30e,30f,30g,30h バッファ、31 書き込み位置レジスタ、32 読み出し位置レジスタ、35a 帯電部、36a 露光部、37a 現像部、39a 感光体、41 転写ベルト、42 転写ローラ、43 定着ローラ、44 用紙、45 給紙モータ、46a,46b,46c,46d 現像器、47 駆動ローラ、51 第1のバッファ、52 第2のバッファ。   DESCRIPTION OF SYMBOLS 10 Digital multifunction device, 11 Control part, 12 DRAM, 13 Operation part, 14 Document feeder, 15 Image reading part, 16 Image formation part, 17 Hard disk, 18 FAX communication part, 19 Network IF part, 20 Public line, 21 Network , 22 PC, 23 Paper transport unit, 24 Stepping motor, 25 CPU, 26 Stepping motor control device, 27 ASIC, 28 Motor drive unit, 29, 50 Buffer group, 30a, 30b, 30c, 30d, 30e, 30f, 30g, 30h Buffer, 31 Write position register, 32 Read position register, 35a Charging unit, 36a Exposure unit, 37a Development unit, 39a Photoconductor, 41 Transfer belt, 42 Transfer roller, 43 Fixing roller, 44 Paper, 45 Paper feed motor, 46a 46b , 46c, 46d Developer, 47 Drive roller, 51 First buffer, 52 Second buffer.

Claims (12)

ステッピングモータを駆動するためのデータを格納する複数のバッファと、
前記バッファからデータの読み出しを行う読み出し手段と、
前記バッファにデータの書き込みを行う書き込み手段とを備え、
前記書き込み手段は、一定の順序に従って行う処理にて、前記バッファにデータの書き込みを行う第1のモードと、前記読み出し手段からデータの書き込みを行うよう要求を受け付けた場合に、前記バッファにデータの書き込みを行う第2のモードとを含む、ステッピングモータ制御装置。
A plurality of buffers for storing data for driving the stepping motor;
Reading means for reading data from the buffer;
Writing means for writing data to the buffer;
The writing means receives a first mode for writing data to the buffer and a request to write data from the reading means in a process performed in a certain order, and stores data in the buffer. A stepping motor control device including a second mode for performing writing.
前記書き込み手段は、前記複数のバッファのうち、データを書き込むバッファを示す書き込み位置レジスタに基づいて、データの書き込みを行うことができるバッファを判別する書き込みバッファ判別手段を含む、請求項1に記載のステッピングモータ制御装置。 2. The write unit according to claim 1, wherein the write unit includes a write buffer determination unit that determines a buffer capable of writing data based on a write position register indicating a buffer to which data is written, among the plurality of buffers. Stepping motor control device. 前記読み出し手段は、前記複数のバッファのうち、データを読み出すバッファを示す読み出し位置レジスタに基づいて、データの読み出しを行うことができるバッファを判別する読み出しバッファ判別手段を含む、請求項1または2に記載のステッピングモータ制御装置。 3. The reading means according to claim 1, wherein the reading means includes reading buffer determination means for determining a buffer from which data can be read based on a reading position register indicating a data reading buffer among the plurality of buffers. The stepping motor control device described. 前記書き込み手段は、データの書き込みをリングバッファ形式で行う、請求項1〜3のいずれかに記載のステッピングモータ制御装置。 The stepping motor control device according to claim 1, wherein the writing unit performs data writing in a ring buffer format. 請求項1〜4のいずれかに記載のステッピングモータ制御装置を備える、画像形成装置。 An image forming apparatus comprising the stepping motor control device according to claim 1. 画像を形成する画像形成部と、
前記画像形成部に用紙を搬送する給紙ローラと、
前記給紙ローラを回転させるステッピングモータとを含み、
前記ステッピングモータは、前記ステッピングモータ制御装置によって制御される、請求項5に記載の画像形成装置。
An image forming unit for forming an image;
A paper feed roller for transporting paper to the image forming unit;
A stepping motor for rotating the paper feed roller,
The image forming apparatus according to claim 5, wherein the stepping motor is controlled by the stepping motor control device.
前記ステッピングモータ制御装置は、前記ステッピングモータによって回転される前記給紙ローラをスローアップまたはスローダウンするように制御する、請求項6に記載の画像形成装置。 The image forming apparatus according to claim 6, wherein the stepping motor control device controls the paper feeding roller rotated by the stepping motor to slow up or slow down. 回転することによって、その上に可視像を形成される転写ベルトと、
前記転写ベルトを回転させるステッピングモータとを含み、
前記ステッピングモータは、前記ステッピングモータ制御装置によって制御される、請求項5に記載の画像形成装置。
A transfer belt on which a visible image is formed by rotating; and
A stepping motor for rotating the transfer belt,
The image forming apparatus according to claim 5, wherein the stepping motor is controlled by the stepping motor control device.
前記ステッピングモータ制御装置は、前記ステッピングモータによって回転される前記転写ベルトの回転速度を一定に保つよう制御する、請求項8に記載の画像形成装置。 The image forming apparatus according to claim 8, wherein the stepping motor control device controls the rotation speed of the transfer belt rotated by the stepping motor to be kept constant. 請求項1〜4のいずれかに記載のステッピングモータ制御装置を備える、ステッピングモータ。 A stepping motor comprising the stepping motor control device according to claim 1. 定常処理と割り込み処理とを行うCPUによって、ステッピングモータを制御するステッピングモータ制御装置であって、
複数のバッファを含み、
前記複数のバッファに書き込まれたデータに基づいて、前記ステッピングモータは駆動され、
前記複数のバッファへのデータの書き込みを、前記定常処理にて行う、ステッピングモータ制御装置。
A stepping motor control device that controls a stepping motor by a CPU that performs steady state processing and interruption processing,
Contains multiple buffers,
Based on the data written in the plurality of buffers, the stepping motor is driven,
A stepping motor control device that writes data to the plurality of buffers in the steady process.
複数のバッファに書き込まれたデータを読み出し手段により読み出されることによって、ステッピングモータを制御するステッピングモータの制御方法であって、
複数のバッファにステッピングモータを駆動するためのデータを書き込むステップを備え、
書き込みステップは、一定の順序に従って行う処理にて、バッファにデータの書き込みを行うステップと、読み出し手段からのデータの書き込みの要求に応じてバッファにデータの書き込みを行うステップとを含む、ステッピングモータの制御方法。
A stepping motor control method for controlling a stepping motor by reading data written in a plurality of buffers by a reading means,
A step of writing data for driving the stepping motor into a plurality of buffers;
The writing step includes a step of writing data to the buffer in a process performed in a certain order, and a step of writing data to the buffer in response to a data write request from the reading means. Control method.
JP2008081517A 2007-05-23 2008-03-26 Stepping motor control device, image forming apparatus, stepping motor, and stepping motor control method Expired - Fee Related JP5448355B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2008081517A JP5448355B2 (en) 2007-05-23 2008-03-26 Stepping motor control device, image forming apparatus, stepping motor, and stepping motor control method
US12/125,660 US8804212B2 (en) 2007-05-23 2008-05-22 Stepping motor control device capable of reducing load on CPU

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2007136640 2007-05-23
JP2007136640 2007-05-23
JP2008081517A JP5448355B2 (en) 2007-05-23 2008-03-26 Stepping motor control device, image forming apparatus, stepping motor, and stepping motor control method

Publications (2)

Publication Number Publication Date
JP2009005576A true JP2009005576A (en) 2009-01-08
JP5448355B2 JP5448355B2 (en) 2014-03-19

Family

ID=40100792

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008081517A Expired - Fee Related JP5448355B2 (en) 2007-05-23 2008-03-26 Stepping motor control device, image forming apparatus, stepping motor, and stepping motor control method

Country Status (2)

Country Link
JP (1) JP5448355B2 (en)
CN (1) CN101312336B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9720742B2 (en) * 2014-05-15 2017-08-01 GM Global Technology Operations LLC Service and system supporting coherent data access on multicore controller

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004072971A (en) * 2002-08-09 2004-03-04 Canon Inc Motor controlling device, motor controlling method, and image-forming device
JP2007068283A (en) * 2005-08-30 2007-03-15 Seiko Epson Corp Motor controller, electronic device and printer apparatus
JP2007124790A (en) * 2005-10-27 2007-05-17 Kyocera Mita Corp Drive circuit for rotary driving devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004072971A (en) * 2002-08-09 2004-03-04 Canon Inc Motor controlling device, motor controlling method, and image-forming device
JP2007068283A (en) * 2005-08-30 2007-03-15 Seiko Epson Corp Motor controller, electronic device and printer apparatus
JP2007124790A (en) * 2005-10-27 2007-05-17 Kyocera Mita Corp Drive circuit for rotary driving devices

Also Published As

Publication number Publication date
CN101312336A (en) 2008-11-26
JP5448355B2 (en) 2014-03-19
CN101312336B (en) 2011-05-18

Similar Documents

Publication Publication Date Title
JP2012002942A (en) Image formation apparatus
US7434905B2 (en) Image forming apparatus and image forming control method
JP4693553B2 (en) Image forming apparatus
JP2009010602A (en) Image forming apparatus
JP5448355B2 (en) Stepping motor control device, image forming apparatus, stepping motor, and stepping motor control method
JP2007249086A (en) Image forming apparatus, control method, program and recording medium for image forming apparatus
JP2006259176A (en) Image forming apparatus
JP4387742B2 (en) Motor control circuit and image forming apparatus
US8200133B2 (en) Image forming apparatus
US8804212B2 (en) Stepping motor control device capable of reducing load on CPU
JP2002331727A (en) Image forming apparatus
JP5078449B2 (en) Image forming apparatus
JP2008026629A (en) Image forming apparatus, image forming method, image forming program and recording medium
JPH10186768A (en) Image forming device
JP2003215945A (en) Apparatus and method for image formation
JPH1165211A (en) Color image forming device
JP5243369B2 (en) Image forming apparatus
JP5243368B2 (en) Image forming apparatus
JP5169183B2 (en) Image forming apparatus, image forming apparatus control method, and image forming apparatus control program
JP5216675B2 (en) Image forming apparatus
JP2014036373A (en) Image forming apparatus and image forming method
JP2010058947A (en) Paper conveyance device and image forming apparatus
JP2002049202A (en) Image-forming device
JP2003241612A (en) Device and method for forming image
JP2011022194A (en) Image forming apparatus, cleaning control method of the same, and cleaning control method program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101122

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121017

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121023

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121221

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20121221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130917

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131115

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: 20131203

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131224

R150 Certificate of patent or registration of utility model

Ref document number: 5448355

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees