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 PDFInfo
- 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
Links
Images
Abstract
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に基づいて判断され、割り込み処理にて行う。
特許文献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
制御部11は、画像読取り部15から与えられる原稿データをDRAM12に圧縮符号化して書き込み、DRAM12に書き込んだデータを読み出し、伸張復号化して画像形成部16により出力する。
The
デジタル複合機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
なお、図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は、P1で示す位置から、用紙搬送部23に備えられた給紙モータ45により、図2中の実線の矢印で示す方向、すなわち、画像形成部16に向かって搬送される。用紙44がP2で示す位置まで搬送され、転写ローラ42まで達したときに、フルカラー画像は、転写ローラ42によって用紙44に二次転写される。その後、用紙44がP3で示す位置まで搬送され、定着ローラ43まで達したときに、用紙44上に転写されたフルカラー画像は、定着ローラ43により定着される。このようにして、用紙44にフルカラー画像を形成する。
Here, a specific configuration of the
上記した給紙モータ45は、用紙44の搬送タイミングに合わせて回転数を調整されるステッピングモータであり、ステッピングモータ制御装置によって制御されている。ここで、ステッピングモータ制御装置の具体的な構成について説明する。図4は、ステッピングモータ制御装置26およびモータ駆動部28の構成を示すブロック図である。図1〜図4を参照して、ステッピングモータ制御装置26は、CPU25と、ASIC27とを備える。ASIC27は、複数のバッファから構成されるバッファ群29を備える。モータ駆動部28は、ステッピングモータ24を備える。なお、CPU25やASIC27は、図1に示す制御部11に含まれるものであるが、図4においては、理解を容易にする観点から別途図示しておく。なお、図4において、実線の矢印はデータ書き込み信号を示しており、点線の矢印はデータ書き込み要求信号を示しており、太線の矢印はパルス出力信号を示している。
The
CPU25は、ASIC27へデータ書き込み信号を出力し、ASIC27に備えられるバッファ群29の各バッファにデータの書き込みを行う。ここで、CPU25は、書き込み手段となる。書き込み手段は、一定の順序に従って行う処理にて、バッファにデータの書き込みを行う第1のモードと、後述する読み出し手段からデータの書き込みを行うよう要求を受け付けた場合に、バッファにデータの書き込みを行う第2のモードとを含む。詳細については後述する。
The
データとは、ステッピングモータ駆動用のパルスを出力するための周期を示すパルス周期データである。具体的には、出力するパルスのパルス幅と、そのパルス幅のパルスを出力する回数とを含む。バッファ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
ASIC27は、CPU25によってバッファ群29に書き込まれたデータの読み出しを行う。ここで、ASIC27は、読み出し手段となる。そして、読み出したデータに基づいて、モータ駆動部28へパルスを出力する。また、ASIC27は、バッファ群29の全てのデータの読み出しを行うと、CPU25へデータ書き込み要求信号を出力して、CPU25へデータの書き込みを行うよう要求する。要求を受けたCPU25は、ASIC27へデータ書き込み信号を出力し、バッファ群29にデータの書き込みを行う。
The
モータ駆動部28は、ASIC27によって出力されたパルスに基づいて、ステッピングモータ24を回転させる。ステッピングモータ24は、用紙44に当接して用紙44を搬送する給紙ローラ(図示せず)を回転させる。
The
このようにしてステッピングモータ制御装置26は、ステッピングモータ24を制御する。具体的に、ステッピングモータ24の駆動時において、ステッピングモータ24の回転数を徐々に上げる、いわゆるスローアップ制御および、ステッピングモータ24の回転数を徐々に下げる、いわゆるスローダウン制御を行う場合がある。このような場合には、パルス幅の異なる複数のデータを短時間に必要とする。ここで、CPU25が、各バッファにパルス幅の異なる複数のデータの書き込みを行う。そして、ASIC27が、データの読み出しを行い、そのデータに基づいてパルス幅の異なるパルスを出力する。モータ駆動部28は、パルス幅の異なるパルスに基づいて、ステッピングモータ24の速度を細かく変更する。このようにして、ステッピングモータ24のスローアップ制御およびスローダウン制御を滑らかに行う。
In this way, the stepping
図5は、ASIC27に備えられるバッファ群29の構成を示す構成図である。図5を参照して、バッファ群29は、この実施形態においては、バッファ30aからバッファ30hまで、8個のバッファから構成される。各バッファ30a〜30hには、ステッピングモータ駆動用のデータが格納され、CPU25によってデータの書き込みが行われ、ASIC27によってデータの読み出しが行われる。データの書き込みおよびデータの読み出しは、リングバッファ形式で行われる。
FIG. 5 is a configuration diagram showing the configuration of the
具体的には、例えば、データの書き込みをバッファ30aから開始して、最後のバッファ30hまで終了すると、引き続いて再度バッファ30aからデータの書き込みを開始する。データの読み出しにおいても同様に、データの読み出しをバッファ30aから開始して、最後のバッファ30hまで終了すると、引き続いて再度バッファ30aからデータの読み出しを開始する。
Specifically, for example, when data writing starts from the
そして、データの書き込みは、データを書き込むバッファを示す書き込み位置レジスタ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
また、データの読み出しにおいても同様に、データを読み出すバッファを示す読み出し位置レジスタ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
図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
このように、データの書き込みおよびデータの読み出しを行うことにより、書き込み位置レジスタ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
また、データの書き込みおよびデータの読み出しをリングバッファ形式で行うことにより、最後のバッファ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
ここで、バッファにデータの書き込みを行う場合のCPU25の処理について説明する。図6は、CPU25の定常処理を示すフローチャートである。図1〜図6を参照して、まず、CPU25の定常処理について説明する。
Here, processing of the
CPU25は、通常、定常処理を行っている。そして、必要に応じて割り込み処理を受け付ける。定常処理とは、原稿送り装置14により原稿を搬送する処理、画像読取り部15により原稿の画像を読取る処理、画像形成部16により原稿の画像データから画像を形成する処理や、用紙搬送部23により用紙を搬送する処理等を含むデジタル複合機10における画像形成に関する一連の処理であって、一定の順序に従って行う処理である。
The
CPU25は、定常処理にて、画像形成に関する一連の処理を行う(図6において、ステップS11、以下ステップを省略する)。また、CPU25は、定常処理にて、バッファにデータの書き込みを行うデータ書き込み処理を行う(S12)。
The
ここで、データ書き込み処理について説明する。図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
そして、書き込みを行うことができるバッファがあるため(S22において、YES)、CPU25は、バッファ30aからバッファ30dまで、データの書き込みを行う(S23)。このときのデータの書き込みが、第1のモードに対応する。
Since there is a buffer in which writing can be performed (YES in S22), the
なお、ステップ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
図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
このように、ステッピングモータ制御装置26は、定常処理によりステッピングモータ駆動用のデータの書き込みを行うと共に、割り込み処理によりデータの書き込みを行う。その結果、割り込み処理によりデータの書き込みを行う回数を減らすことができる。そうすると、CPU25の負荷を軽減することができ、データの書き込みを遅れることなく円滑に行うことができる。
As described above, the stepping
また、給紙モータ45は、このようなステッピングモータ制御装置26によって制御されるステッピングモータ24であるため、スローアップ制御およびスローダウン制御のような短時間に複数のデータが必要な場合にもCPU25の負荷を軽減することができ、データの書き込みを遅れることなく円滑に行うことができる。そうすると、給紙モータ45の速度をより滑らかに変更することができ、適切に用紙を搬送することができる。
Further, since the
また、デジタル複合機10は、このようなステッピングモータ制御装置26を備えるため、ステッピングモータ24の制御品質を向上させて、良好な画像を形成することができる。
Further, since the digital multi-function peripheral 10 includes such a stepping
また、このようなステッピングモータ24の制御方法は、定常処理により、ステッピングモータ駆動用のデータの書き込みを行うと共に、割り込み処理によりデータの書き込みを行う。その結果、割り込み処理によりデータの書き込みを行う回数を減らすことができる。そうすると、CPU25の負荷を軽減することができ、データの書き込みを遅れることなく円滑に行うことができる。
In addition, such a control method of the stepping
なお、上記の実施の形態においては、給紙モータ45が、このようなステッピングモータ制御装置26によって制御されるステッピングモータ24である例について説明したが、これに限らず、図2に示す、転写ベルト41に当接して転写ベルト41を回転する駆動ローラ47にも採用することができる。
In the above embodiment, the example in which the
具体的には、ステッピングモータ24は、駆動ローラ47を回転させる。駆動ローラ47は、転写ベルト41に当接して転写ベルト41を回転する。転写ベルト41の回転速度は、常時監視され、例えば、センサ等によって、転写ベルト41の所定の区間における回転速度を検出することにより、常時監視される。
Specifically, the stepping
転写ベルト41上には、上記したように、各色のトナー像を重ね合わせて、フルカラー画像が形成される。したがって、転写ベルト41の回転速度が、所定の回転速度からずれてしまうと、色ずれが発生する。そうすると、鮮明なフルカラー画像を形成することができなくなってしまうため、転写ベルト41の回転速度は、一定に保つ必要がある。
As described above, a full color image is formed on the
しかし、転写ベルト41の回転速度は、転写ベルト41と転写ベルト41を回転するローラ間の滑りや転写ベルト41の経年変化による劣化、転写ベルト41の製造時の誤差等によって生じた各所の厚みの違い等に起因して、一定に保つことが困難となる場合がある。そこで、転写ベルト41の回転速度を一定に保ち、色ずれを防止するには、転写ベルト41を駆動するローラの回転速度を微妙に制御する必要がある。
However, the rotation speed of the
このような場合に、ステッピングモータ制御装置26が、駆動ローラ47を回転するステッピングモータ24の回転速度の補正を行う。具体的には、CPU25が、各バッファに上記した転写ベルト41の特性を考慮したパルス幅の異なる複数のデータの書き込みを行う。そして、ASIC27が、データの読み出しを行い、そのデータに基づいてパルス幅の異なるパルスを出力する。モータ駆動部28は、パルス幅の異なるパルスに基づいて、ステッピングモータ24の速度を変更する。このようにして、駆動ローラ47の回転速度の補正を行い、転写ベルト41の回転速度を一定に保つ。
In such a case, the stepping
こうすることにより、転写ベルト41に応じた微妙な回転速度の補正を行うことができ、転写ベルト41の回転速度を一定に保つことができる。これにより、色ずれを防止して、鮮明なフルカラー画像を形成することができる。
By doing so, it is possible to perform a delicate correction of the rotational speed according to the
また、例えばレジストモータのような、ステッピングモータ24を使用しているモータであれば、その他のモータにおいても採用することができる。
In addition, any motor that uses the stepping
また、上記の実施の形態においては、図7中のステップ23において、バッファ30aからバッファ30dまで、複数のバッファにデータの書き込みを行う例について説明したが、複数のバッファのうちのいずれか一つのバッファにデータの書き込みを行ってもよい。
In the above embodiment, the example in which data is written to a plurality of buffers from the
また、上記の実施の形態においては、リングバッファ形式で、データの書き込みおよびデータの読み出しを行う例について説明したが、これに限らず、他の形式で行ってもよい。たとえば、書き込み位置レジスタ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
また、上記の実施の形態においては、ASIC27は、バッファ群29の全てのデータを読み出した場合に、CPU25へデータの書き込みを行うよう割り込み処理を要求する例について説明したが、これに限らず、例えば、所定の数のバッファのデータを読み出したことを検知することにより、所定の数のバッファのデータを読み出した場合に、データの書き込みを行うよう割り込み処理を要求してもよい。
In the above embodiment, the
また、上記の実施の形態においては、割り込み処理において、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
また、上記の実施の形態においては、バッファ群29は、バッファ30aからバッファ30hまで、8個備えることとしたが、8個に限らず、2個以上であればよい。図9は、2個のバッファから構成されるバッファ群50の一例を示す図である。図9を参照して、バッファ群50は、第1のバッファ51と、第2のバッファ52とから構成される。
In the above embodiment, eight
また、上記の実施の形態においては、CPU25やASIC27は、デジタル複合機10の制御部11に含まれる例について説明したが、これに限らず、ステッピングモータ制御装置の内部に別途CPUやASICを設けてもよい。この場合、ステッピングモータ制御装置は、モータを使用するその他の装置に採用することができる。
In the above embodiment, the example in which the
また、ステッピングモータが、このようなステッピングモータ制御装置26を備えてもよい。この場合、ステッピングモータは、CPUの負荷を軽減することができ、データの書き込みを遅れることなく円滑に行うことができる。
Further, the stepping motor may include such a stepping
また、上記の実施の形態においては、定常処理および割り込み処理にて、データの書き込みを行う例について説明したが、これに限らず、定常処理のみで十分に行える場合には、定常処理のみにて、データの書き込みを行ってもよい。こうすることにより、ステッピングモータ制御装置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
さらに、上記の実施の形態においては、デジタル複合機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.
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
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.
前記画像形成部に用紙を搬送する給紙ローラと、
前記給紙ローラを回転させるステッピングモータとを含み、
前記ステッピングモータは、前記ステッピングモータ制御装置によって制御される、請求項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.
前記転写ベルトを回転させるステッピングモータとを含み、
前記ステッピングモータは、前記ステッピングモータ制御装置によって制御される、請求項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.
複数のバッファを含み、
前記複数のバッファに書き込まれたデータに基づいて、前記ステッピングモータは駆動され、
前記複数のバッファへのデータの書き込みを、前記定常処理にて行う、ステッピングモータ制御装置。 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.
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)
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)
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 |
-
2008
- 2008-03-26 JP JP2008081517A patent/JP5448355B2/en not_active Expired - Fee Related
- 2008-05-12 CN CN2008100969626A patent/CN101312336B/en not_active Expired - Fee Related
Patent Citations (3)
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 |