JPH11122988A - Pulse motor drive device - Google Patents

Pulse motor drive device

Info

Publication number
JPH11122988A
JPH11122988A JP27674497A JP27674497A JPH11122988A JP H11122988 A JPH11122988 A JP H11122988A JP 27674497 A JP27674497 A JP 27674497A JP 27674497 A JP27674497 A JP 27674497A JP H11122988 A JPH11122988 A JP H11122988A
Authority
JP
Japan
Prior art keywords
data
pulse
motor
data frame
decoded
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
JP27674497A
Other languages
Japanese (ja)
Other versions
JP3718333B2 (en
Inventor
Hideto Miyazaki
崎 秀 人 宮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP27674497A priority Critical patent/JP3718333B2/en
Publication of JPH11122988A publication Critical patent/JPH11122988A/en
Application granted granted Critical
Publication of JP3718333B2 publication Critical patent/JP3718333B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Control Of Stepping Motors (AREA)

Abstract

PROBLEM TO BE SOLVED: To speedily and accurately drive a pulse motor by reducing the load of a CPU 41 for controlling the slow-up and slow-down of a pulse motor. SOLUTION: An uncoded data frame that is a combination of bit MSB=0 for indicating that there is no coding and data for prescribing phase excitation switching timing and a coded data frame, that is the combination of bit MSB=1 for indicating that there is a coding and five coding data CODE 0-4 (COCE 0-4) are retained in a ROM 42, a CPU 41 reads the data frame and gives it to a motor control 45, and the motor control 45 decodes the coded data when MSB is equal to 1, thus generating a phase excitation pulse. Phase excitation is switched five times, based on the coded data of a single coded data rate. The coded data are differential value data for indicating differential values.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、パルスモータ駆動
装置に関し、特に、これに限定する意図ではないが、高
加速度で速度を立上げた後定速度でパルスモ−タを駆動
しそして高減速度で速度を立下げるパルスモータ駆動装
置に関する。このパルスモ−タ駆動装置は、例えば原稿
画像を読み取って画像信号を発生するスキャナに用いら
れる。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pulse motor driving device, and more particularly, but not exclusively, to driving a pulse motor at a constant speed after starting a speed at a high acceleration and a high deceleration. TECHNICAL FIELD The present invention relates to a pulse motor driving device that lowers the speed with a motor. This pulse motor driving device is used, for example, in a scanner that reads an original image and generates an image signal.

【0002】[0002]

【従来の技術】例えば、デジタル複写機において、コン
タクトガラス上に原稿がセットされた状態でコピースタ
ートキーが押下されると、スキャナの、ミラー及び光源
等と一体になったキャリッジ(可動部)を、タイミング
ベルトおよびプ−リ等の動力伝達機構を介して電気モ−
タにより水平方向に駆動することによってコンタクトガ
ラス上の原稿の画像面を光走査し、その画像面からの反
射光像を上記ミラーを含む各ミラー及びレンズを介して
CCDイメージセンサの受光面に結像させ、イメ−ジセ
ンサが発生するアナログ画像信号をデジタルデ−タ(画
像デ−タ)に変換する。画像デ−タは画像処理回路にて
プリント用画像デ−タに変換され、レ−ザプリンタに与
えられ、該プリンタが転写紙に画像を形成する。
2. Description of the Related Art For example, in a digital copying machine, when a copy start key is pressed while a document is set on a contact glass, a carriage (movable part) integrated with a mirror, a light source and the like of a scanner is moved. , A timing belt, a pulley and other power transmission mechanisms
The image surface of the original on the contact glass is optically scanned by being driven in the horizontal direction by the scanner, and the reflected light image from the image surface is connected to the light receiving surface of the CCD image sensor via each mirror and lens including the above-mentioned mirror. The image is converted, and the analog image signal generated by the image sensor is converted into digital data (image data). The image data is converted into image data for printing by an image processing circuit and applied to a laser printer, which forms an image on transfer paper.

【0003】ところで、スキャナの走査駆動モ−タとし
ては、一般にパルスモータが使用されている。このパル
スモータは周知の如く、相励磁信号(パルス)をモ−タ
ドライバに与えることによってモ−タドライバが駆動パ
ルスをパルスモ−タに印加し、これによってパルスモ−
タが回転付勢されるものであり、このパルスモータを自
起動周波数以上で回転させるには、スローアップ(停止
から定速への立上げ)制御やスローダウン(定速から停
止への立下げ)制御を必要とする。
Incidentally, a pulse motor is generally used as a scanning drive motor of a scanner. As is well known, this pulse motor applies a phase excitation signal (pulse) to the motor driver, so that the motor driver applies a drive pulse to the pulse motor, thereby providing the pulse motor.
In order to rotate this pulse motor at the self-starting frequency or higher, slow-up (starting from stop to constant speed) control and slow-down (falling from constant speed to stop) are performed. ) Needs control.

【0004】[0004]

【発明が解決しようとする課題】例えば複写機のスキャ
ナの走査駆動の場合、スローアップ制御やスローダウン
制御を全て、複写機全体を統括制御するマイクロプロセ
ッサで行うことは、マイクロプロセッサの負担が大きく
なり、特に他の処理(複写機のパルスモータ制御以外の
制御処理)を並行して行う場合には、パルスモータの駆
動パルスの周波数をあまり大きくできない為、上述した
ような複写機では処理速度を高速化できないという欠点
があった。
For example, in the case of scanning drive of a scanner of a copying machine, performing all slow-up control and slow-down control by a microprocessor that controls the entire copying machine requires a large load on the microprocessor. In particular, when other processing (control processing other than the pulse motor control of the copying machine) is performed in parallel, the frequency of the driving pulse of the pulse motor cannot be increased so much. There was a disadvantage that the speed could not be increased.

【0005】そこで、例えば特開昭63−202580
号公報に見られるように、パルスモータのスローアップ
時とスローダウン時はマイクロプロセッサでパルスモ−
タの駆動を制御し、定速時にはマイクロプロセッサと併
設されたモータ制御回路で制御するようにしたプリンタ
用モータ制御装置が提案されている。
Therefore, for example, Japanese Patent Application Laid-Open No. 63-202580
As shown in Japanese Patent Application Laid-Open Publication No. H11-107, the microprocessor performs pulse motor control when the pulse motor slows up and slows down.
There has been proposed a motor control device for a printer that controls the driving of a motor and controls the motor at a constant speed by a motor control circuit provided with a microprocessor.

【0006】しかしながら、このような従来のモータ制
御装置では、パルスモータの定速駆動時におけるマイク
ロプロセッサの負荷は軽減されるが、パルスモータのス
ローアップ時あるいはスローダウン時(特に定速領域の
近傍)におけるマイクロプロセッサの負荷が軽減され
ず、パルスモータの回転の十分な高速化、特にスロ−ア
ップ,ダウン期間の短縮は期待できない。
However, in such a conventional motor control device, the load on the microprocessor during the constant speed driving of the pulse motor is reduced, but when the pulse motor is slowed up or slowed down (particularly in the vicinity of the constant speed region). The load on the microprocessor in (1) is not reduced, and it is not possible to expect a sufficiently high speed of the rotation of the pulse motor, especially a reduction in the slow-up and down periods.

【0007】この発明は上記の点に鑑みてなされたもの
であり、マイクロプロセッサの、パルスモ−タ駆動制御
に関する負担を軽減することを第1の目的とし、加えて
パルスモータを高速かつ高精度で駆動できるようにする
事を第2の目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and has as its first object to reduce the load on the pulse motor drive control of a microprocessor, and to provide a pulse motor with high speed and high accuracy. A second object is to enable driving.

【0008】[0008]

【課題を解決するための手段】[Means for Solving the Problems]

(1)パルスモータ(51)に印加する一連のパルス(φA,
φB,・・)の周期に対応したデータを記憶する記憶手段(4
2)と、この記憶手段から順次データを読み出すマイクロ
プロセッサ(41)と、マイクロプロセッサが読み出したデ
ータを書き込まれた後にデータに対応するパルスを発生
するパルス発生手段(45)と、このパルス発生手段からの
パルスにより前記パルスモータを駆動するパルスモータ
駆動手段(46)とを有するパルスモ−タ駆動装置におい
て、前記記憶手段(42)には、少くとも符号化されたデー
タ(CODE0〜1+MSB)が記憶されている事を特徴とし、前記
パルス発生手段(45)には前記符号化データを復号化する
手段(451〜457)を有する事を特徴とするパルスモ−タ駆
動装置。なお、理解を容易にするためにカッコ内には、
図面に示し後述する実施例の対応要素の符号を、参考ま
でに付記した。
(1) A series of pulses (φA,
storage means for storing data corresponding to the cycle of φB,
2) a microprocessor (41) for sequentially reading data from the storage means, a pulse generation means (45) for generating a pulse corresponding to the data after the data read by the microprocessor is written, and a pulse generation means And a pulse motor driving means (46) for driving the pulse motor by a pulse from the storage means (42), the storage means (42) stores at least encoded data (CODE 0 to 1 + MSB) The pulse motor driving device is characterized in that the pulse generation means (45) has means (451 to 457) for decoding the encoded data. In addition, in order to facilitate understanding,
The reference numerals of the corresponding elements of the embodiment shown in the drawings and described later are added for reference.

【0009】これによれば、データの符号化をおこなう
為データ量が激減し、記憶手段(42)の少容量化が可能で
あり、低コスト化が可能になる。マイクロプロセッサ(4
1)のデ−タ読出しの負担が軽減する。
According to this, since the data is encoded, the data amount is drastically reduced, the capacity of the storage means (42) can be reduced, and the cost can be reduced. Microprocessor (4
The burden of data reading in 1) is reduced.

【0010】[0010]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

(2)前記記憶手段(42)は、符号化なしデ−タであるこ
とを示すビット(MSB)と前記パルスの周期を規定するデ
−タの組合せでなる符号化なしデ−タフレ−ムと、符号
化デ−タであることを示すビット(MSB)と複数(5)組の符
号化デ−タ(CODE0〜4)の組合せでなる符号化デ−タフレ
−ムと、を保持し、前記パルス発生手段(45)は、符号化
なしデ−タフレ−ムが書き込まれたときにはその中のパ
ルスの周期を規定するデ−タに基づいてパルスを発生し
て前記マイクロプロセッサ(41)に次のデ−タフレ−ムの
書き込みを要求し、符号化デ−タフレ−ムが書き込まれ
たときには、その中の最初の符号化デ−タ(CODE 0)を復
号して復号デ−タに基づいてパルスを発生しこれを順次
最後の符号化デ−タ(CODE 4)まで同様に繰返し、最後の
符号化デ−タ(CODE 4)を復号して復号デ−タに基づいて
パルスを発生すると前記マイクロプロセッサ(41)に次の
デ−タフレ−ムの書き込みを要求する。
(2) The storage means (42) stores an uncoded data frame consisting of a combination of a bit (MSB) indicating uncoded data and data defining the pulse period. And a coded data frame composed of a combination of a bit (MSB) indicating that the data is coded data and a plurality of (5) sets of coded data (CODEs 0 to 4). When a non-coded data frame is written, the pulse generating means (45) generates a pulse based on the data defining the pulse period in the data frame, and sends the pulse to the microprocessor (41). A request to write a data frame is issued. When an encoded data frame is written, the first encoded data (CODE 0) in the encoded data frame is decoded, and a pulse is generated based on the decoded data. And repeats this in order until the last coded data (CODE 4), and decodes the last coded data (CODE 4). Wherein the generating a pulse based on the data the microprocessor (41) to the next de - Tafure - requires writing beam.

【0011】これによれば、1つの符号化デ−タフレ−
ムの符号化デ−タ(CODE 0〜4)に基づいて複数(5)回のパ
ルス発生処理がパルス発生手段(45)にて自動的に行なわ
れ、マイクロプロセッサ(41)は、1回のパルス発生処理
につき1回のデ−タ転送を要する符号化なしデ−タフレ
−ムの読出しの場合と対比して、複数(5)分の1の作業
負担となり、マイクロプロセッサ(41)の負荷が大幅に軽
減すると共にモータの高速動作制御、特に高加速度の昇
速制御と高減速度の降速制御、が可能になる。画像形成
装置に用いた場合には、画像形成の生産性が向上する。
According to this, one encoded data frame is
A plurality of (5) pulse generation processes are automatically performed by the pulse generation means (45) based on the encoded data of the system (CODE 0 to 4), and the microprocessor (41) performs one pulse generation. Compared to the case of reading uncoded data frames which require one data transfer per pulse generation processing, the work load becomes one-fifth (5) and the load of the microprocessor (41) is reduced. This greatly reduces the motor speed, and enables high-speed operation control of the motor, in particular, high-speed acceleration control and high-deceleration speed reduction control. When used in an image forming apparatus, the productivity of image formation is improved.

【0012】(3)符号化されたデ−タは、時系列で先
行して復号されるデ−タの復号デ−タで表現される値に
対する差分値を表わすものである。これによれば復号化
ロジックが簡単であり、復号手段を簡易に構成しうる。
(3) The encoded data represents a difference value of the data decoded earlier in time series with respect to the value represented by the decoded data. According to this, the decoding logic is simple, and the decoding means can be easily configured.

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

【0014】[0014]

【実施例】図1に本発明の一実施例を装備したデジタル
複写機の制御部の構成を示す。本発明の実施例は、マイ
クロプロセッサ(CPU)41,記憶手段であるROM
42,パルス発生手段であるモ−タ制御45およびパル
スモ−タ駆動手段であるモ−タ駆動46で構成されてい
る。駆動対象のパルスモ−タ51は、デジタル複写機の
原稿画像読取用スキャナの、ミラー及び光源等と一体に
なったキャリッジを、タイミングベルトおよびプ−リ等
の動力伝達機構を介して駆動するものである。このキャ
リッジ駆動においては、ホ−ムポジション(HP)から
高加速度で短時間に定速度に昇速し(スロ−アップ)、
それから長距離(例えば原稿の長さ相当値)の間は定速
度を維持し、そして高減速度で減速(スロ−ダウン)し
てキャリッジを止め(以上が往行程:原稿走査)、そし
て反転して高速でHPにリタ−ン駆動(復行程)するこ
とが要求される。
FIG. 1 shows the configuration of a control unit of a digital copying machine equipped with an embodiment of the present invention. The embodiment of the present invention includes a microprocessor (CPU) 41 and a ROM serving as a storage unit.
42, a motor control 45 as a pulse generating means and a motor drive 46 as a pulse motor driving means. The pulse motor 51 to be driven drives a carriage integrated with a mirror and a light source of a scanner for reading an original image of a digital copying machine via a power transmission mechanism such as a timing belt and a pulley. is there. In this carriage drive, the speed is increased from a home position (HP) to a constant speed at a high acceleration in a short time (slow-up).
Then, for a long distance (for example, the length of the document), maintain a constant speed, decelerate at a high deceleration (slow down), stop the carriage (the above is the forward stroke: document scanning), and reverse. It is required that the HP be driven to return at high speed (return stroke).

【0015】ROM42には、上述の往行程および復行
程のモ−タ駆動を行なうための、相励磁パルス(φA,
その反転,φB,その反転)を発生するためのデ−タす
なわち相切換タイミングデ−タが格納されている。CP
U41が、ROM42から一連のデ−タを順次にROM
42から読出してモ−タ制御45に与え、モ−タ制御4
5が与えられたデ−タで指定されたタイミング(時間経
過)で各相励磁信号(φA,その反転,φB,その反
転)のレベルを1(高レベルH)から0(低レベルL)
に、又はその逆に切換える。これにより各相励磁信号は
パルスすなわち相励磁パルスとなる。これらのパルスが
モ−タ駆動46に与えられ、モ−タ駆動46が、相励磁
パルスに対応してパルスモ−タ51の各相をオン(通
電)/オフ(非通電)し、すなわちパルス駆動し、これ
によりモ−タ51が回転する。回転速度は相切換速度
(相励磁パルス周期)に対応し、回転方向は各相に対す
る通電順(励磁相順)で定まる。
The ROM 42 has a phase excitation pulse (φA, φA, φ) for performing the above-described forward and backward motor driving.
(Inversion, φB, inversion thereof), that is, phase switching timing data. CP
U41 sequentially reads a series of data from the ROM 42
42 and is given to the motor control 45.
5, the level of each phase excitation signal (φA, its inversion, φB, its inversion) is changed from 1 (high level H) to 0 (low level L) at the timing (elapsed time) specified by the given data.
Or vice versa. Thereby, each phase excitation signal becomes a pulse, that is, a phase excitation pulse. These pulses are given to the motor drive 46, which turns on (energizes) / off (deenergizes) each phase of the pulse motor 51 in response to the phase excitation pulse, that is, pulse driving. As a result, the motor 51 rotates. The rotation speed corresponds to the phase switching speed (phase excitation pulse period), and the rotation direction is determined by the order of energization (excitation phase order) for each phase.

【0016】キャリッジの一往復は、往移動開始から定
速度になるまでの往加速区間,往定速区間(原稿走査区
間),往減速区間,復移動開始から定速度になるまでの
復加速区間,復定速区間および減速してHPで停止する
復減速区間に分けられる。往定速区間(原稿走査区間)
および復定速区間では、定周期で相切換えを行なえばよ
いのでROM42から一連のデ−タを順次に読出すこと
は必要ではない。したがってROM42には、往加速区
間,往減速区間,復加速区間および復減速区間で必要な
相切換タイミングデ−タを備えておくだけでもよい。
One reciprocation of the carriage includes a forward acceleration section from the start of the forward movement to a constant speed, a forward constant speed section (document scanning section), a forward deceleration section, and a backward acceleration section from the start of the backward movement to the constant speed. , A deceleration section and a deceleration section in which the vehicle decelerates and stops at the HP. Forward constant speed section (document scanning section)
Also, in the constant speed section, it is only necessary to perform the phase switching at a constant period, so that it is not necessary to sequentially read a series of data from the ROM 42. Therefore, the ROM 42 need only be provided with phase switching timing data necessary for the forward acceleration section, forward deceleration section, reverse acceleration section, and reverse deceleration section.

【0017】相切換タイミングデ−タすなわち相励磁周
期デ−タは、スキャナ駆動の場合一般に、16ビットの
データが多く使用されている。したがって本実施例で
も、16ビットとしている。以下、この16ビット群を
デ−タフレ−ムと称す。
For phase switching timing data, that is, phase excitation cycle data, 16-bit data is generally used in many cases when driving a scanner. Therefore, in this embodiment, 16 bits are used. Hereinafter, this 16-bit group is called a data frame.

【0018】図2に、デ−タフレ−ムのデータ構造を示
す。1フレ−ムは16ビット構成である。最上位ビット
(以下MSB)は、このフレ−ムのデータが符号化デー
タか又は、実データであるかを示す。MSBが1の時
は、続く15ビットが符号化データであることを意味す
る。この実施例では、符号化デ−タは、時系列で先行し
て復号されるデ−タの復号デ−タ(実デ−タ相当)で表
現される値に対する差分値を表わすものとした。また、
1個(1組)の符号化デ−タは3ビットで、計5個の符
号化デ−タCODE0〜CODE4が1デ−タフレ−ム
に含まれる。
FIG. 2 shows the data structure of the data frame. One frame has a 16-bit configuration. The most significant bit (hereinafter MSB) indicates whether the data of this frame is coded data or actual data. When the MSB is 1, it means that the next 15 bits are coded data. In this embodiment, the coded data represents a difference value of data to be decoded earlier in time series with respect to a value represented by decoded data (corresponding to actual data). Also,
One (one set) of encoded data is 3 bits, and a total of five encoded data CODE0 to CODE4 are included in one data frame.

【0019】MSBが0の時は、それに続く15ビット
が1個の実データ(符号化なしデ−タ)である。
When the MSB is 0, the subsequent 15 bits are one piece of real data (uncoded data).

【0020】ROM42の、往加速区間宛ての一連のデ
−タフレ−ム(デ−タフレ−ム群)の最初のデ−タフレ
−ムは、キャリッジの往加速(駆動開始)時には基点と
なる実デ−タが必要であるので、MSBが0の実デ−タ
フレ−ムであり、それに続くデ−タフレ−ムはMSBが
1の符号化デ−タフレ−ムである。ただし、差分値が3
ビットで表現できないところはMSBが0の実デ−タフ
レ−ムとなっている。復加速区間宛てのデ−タフレ−ム
群も、往加速区間宛てのものと同様である。ただし、往
行程と復行程では、モ−タ駆動速度が異なるので、加,
減速特性も異なり、したがってデ−タフレ−ム群のデ−
タフレ−ムの数が異なり、デ−タフレ−ム中のデ−タが
表わす値も異なる。
The first data frame of a series of data frames (data frame group) addressed to the forward acceleration section in the ROM 42 is the actual data serving as a base when the carriage is forward accelerated (driving starts). Since the data is required, the MSB is a real data frame of 0, and the subsequent data frame is an encoded data frame of 1 in the MSB. However, the difference value is 3
The part that cannot be represented by bits is the actual data frame whose MSB is 0. The data frame group destined for the reverse acceleration section is the same as that for the forward acceleration section. However, since the motor drive speed is different between the forward stroke and the return stroke, additional
The deceleration characteristics are also different, so the data of the data frame group
The number of tab frames differs, and the values represented by the data in the data frames also differ.

【0021】往減速区間宛てのデ−タフレ−ム群は、定
速度からの減速であるので、MSBが1の符号化デ−タ
フレ−ムである。ただし、差分値が3ビットで表現でき
ないところはMSBが0の実デ−タフレ−ムとなってい
る。復減速区間宛てのデ−タフレ−ム群も、往減速区間
宛てのものと同様である。
The data frame group addressed to the forward deceleration section is a coded data frame whose MSB is 1, since the speed is reduced from a constant speed. However, where the difference value cannot be represented by 3 bits, the MSB is 0 for the actual data frame. The data frame group destined for the deceleration section is the same as that for the deceleration section.

【0022】CPU41は、キャリッジがどの区間にあ
るかに対応して上述のデ−タフレ−ム群を指定して該群
の中のデ−タフレ−ムを順次にROM42から読み出し
てモ−タ制御45に与える。
The CPU 41 designates the above-mentioned data frame group in accordance with the section in which the carriage is located, sequentially reads out the data frames in the group from the ROM 42, and controls the motor. Give to 45.

【0023】なお、それぞれのグル−プに、加速/減速
を指定するデ−タおよびモ−タ回転方向(相切換順)を
指定するデ−タが含まれ、CPU41はこれらのデ−タ
を解読して制御信号をモ−タ制御45に与えて、モ−タ
制御45が発生するパルスの相順(モ−タ回転方向)を
設定するが、この相順設定に関しては説明を省略する。
Each group includes data for designating acceleration / deceleration and data for designating the direction of motor rotation (the order of phase switching). Decoding is performed and a control signal is given to the motor control 45 to set the phase sequence (motor rotation direction) of the pulse generated by the motor control 45, but the description of the phase sequence setting is omitted.

【0024】図3に、モ−タ制御45の機能構成を示
す。なお、相順(モ−タ回転方向)設定に関連する機能
部の図示は省略した。モ−タ制御45の内部機能は、次
にフロ−チャ−ト(図5)を参照して説明する。
FIG. 3 shows a functional configuration of the motor control 45. The illustration of the functional units related to the phase sequence (motor rotation direction) setting is omitted. Next, the internal function of the motor control 45 will be described with reference to a flowchart (FIG. 5).

【0025】図4に、CPU41の、パルスモ−タ駆動
制御の概要を示し、図5にモ−タ制御45の制御部CP
U451のパルス生成制御の概要を示す。以下、図3,
図4および図5を参照されたい。
FIG. 4 shows an outline of the pulse motor drive control of the CPU 41, and FIG. 5 shows a control unit CP of the motor control 45.
The outline of the pulse generation control of U451 will be described. Hereinafter, FIG.
Please refer to FIG. 4 and FIG.

【0026】CPU41が、モータ制御45へのスター
ト信号をアクティブにすると、モータ制御45の制御部
CPU451は、CPU41に対してデータ要求信号を
アクティブにする(図4のステップ1と図5のステップ
11,12)。なお、以下においてカッコ内には、ステ
ップという語を省略して、ステップNo.数字のみを記
す。
When the CPU 41 activates a start signal to the motor control 45, the control unit CPU 451 of the motor control 45 activates a data request signal to the CPU 41 (step 1 in FIG. 4 and step 11 in FIG. 5). , 12). In the following, the word “step” is omitted in parentheses, and step No. Write only numbers.

【0027】データ要求信号がアクティブになるとCP
U41は、ROM42の、予めCPU41が選択したデ
−タフレ−ム群から、第1番のデータフレ−ムを読み出
しモータ制御45のデータレジスタ452に書き込む
(図4の2,3)。
When the data request signal becomes active, CP
The U41 reads the first data frame from the data frame group previously selected by the CPU 41 in the ROM 42 and writes the first data frame into the data register 452 of the motor control 45 (2, 3 in FIG. 4).

【0028】データを書き込まれると制御部CPU45
1は、データレジスタ452のMSBをチェックし、0
であれば実データとみなし(スタート時に1番目のデ−
タフレ−ムは実データである)、実デ−タ(CODE0
〜CODE4の全ビット)を、セレクタ454を介して
ベースレジスタ455へ転送し、ベースレジスタ455
に書込んだデ−タをセレクタ457を介してかつパルス
ジェネレータ458へ転送する(図5の13〜17)。
When the data is written, the control unit CPU 45
1 checks the MSB of the data register 452, and
Is considered as real data (the first data
(Tab frame is actual data), real data (CODE0
To CODE4) to the base register 455 via the selector 454.
Is transferred to the pulse generator 458 via the selector 457 (13 to 17 in FIG. 5).

【0029】パルスジェネレータ458は、始点(スタ
−ト)レベルに、モ−タ駆動46への出力である相励磁
信号φA等を設定し、与えられたデ−タが表わす時間が
経過すると相励磁信号φA等のレベルを切換えて制御部
CPU451にデ−タ要求信号を与える。これに応答し
て制御部CPU451は、図5のステップ12に進み、
CPU41に次のデ−タフレ−ムを要求し、CPU41
が次のデ−タフレ−ムをROM42から読み出してレジ
スタ452に書き込む(図4の2,3)。
The pulse generator 458 sets a phase excitation signal φA or the like which is an output to the motor drive 46 at the start point (start) level, and when the time represented by the given data elapses, the phase excitation is started. The data request signal is supplied to the control unit CPU 451 by switching the level of the signal φA and the like. In response, the control unit CPU 451 proceeds to step 12 in FIG.
The CPU 41 requests the next data frame from the CPU 41, and the CPU 41
Reads the next data frame from the ROM 42 and writes it into the register 452 (2, 3 in FIG. 4).

【0030】これによりMSBが1になると、制御用C
PU451は、CPU41からの加速信号がアクティブ
(加速が指定されている)のときは、まず第1番の符号
化データCODE0を指定して(図5の15,19,2
0)、それをセレクタ453を介して加,減算器456
に与えて、 1a)加,減算器456にて、ベースレジスタ455の
値(前回出力値)からCODE0(3ビット)が表わす
値を引く(図5の21); 2a)引き算の結果の値(今回値)は、セレクタ457
を介してパルスジェネレータ458に転送する。と同時
にセレクタ454を介してベースレジスタ455にも転
送する。すなわちベ−スレジスタ455のデ−タを今回
値(復号デ−タ)に更新する。パルスジェネレータ45
8は、今回値が示す時間が経過すると、相励磁信号φA
等のレベルを切換えるとともに、デ−タ要求信号を制御
部CPU451に与える(図5の22); 3a)このデ−タ要求信号に応答して制御部CPU45
1は、次の符号化デ−タを指定して(図5の23)、次
の符号化デ−タがあると、上記1a)を同様に、ただし
CODE0は、今指定した符号化デ−タと読み替えて、
実行し、そして上記2a)を同様に実行して、本3a)
に至る。ここで次の符号化デ−タ無し(CODE4まで
上記処理を実行した)になると、制御部CPU451
は、CPU41に次のデ−タフレ−ムを要求する(図5
の23,24,25,12);スタート信号がアクティ
ブである間、上述の処理を繰返す。
When the MSB becomes 1, the control C
When the acceleration signal from the CPU 41 is active (acceleration is specified), the PU 451 first specifies the first coded data CODE0 (15, 19, 2 in FIG. 5).
0), it is added via a selector 453, and a subtractor 456
1a) In the adder / subtractor 456, subtract the value represented by CODE0 (3 bits) from the value of the base register 455 (previous output value) (21 in FIG. 5); 2a) Value of the subtraction result ( This time value) is the selector 457
Through to the pulse generator 458. At the same time, the data is transferred to the base register 455 via the selector 454. That is, the data in the base register 455 is updated to the current value (decoded data). Pulse generator 45
8 indicates that the phase excitation signal φA
And a data request signal is given to the control unit CPU 451 (22 in FIG. 5); 3a) The control unit CPU 45 responds to the data request signal.
1 designates the next coded data (23 in FIG. 5), and when there is the next coded data, the same as 1a) above, except that CODE 0 is the coded data just specified. Read as
And then carry out the above 2a) in the same way to obtain the book 3a)
Leads to. Here, when there is no next encoded data (the above processing has been executed up to CODE 4), the control unit CPU 451 operates.
Requests the CPU 41 for the next data frame (FIG. 5).
23, 24, 25, 12); While the start signal is active, the above processing is repeated.

【0031】一方、CPU41からの加速信号が非アク
ティブの場合は、制御部CPU451は、まず第1番の
符号化データCODE0を指定して(図5の26)、 1b)ベースレジスタ455の値(前回出力値)にCO
DE0(3ビット)が表わす値を加える(図5の2
7); 2b)足し算の結果の値(今回値)は、パルスジェネレ
ータ458に転送する。と同時にベースレジスタ455
にも転送する。すなわちベ−スレジスタ455のデ−タ
を今回値に更新する。パルスジェネレータ458は、今
回値が示す時間が経過すると、相励磁信号φA等のレベ
ルを切換えるとともに、デ−タ要求信号を制御部CPU
451に与える(図5の28); 3b)このデ−タ要求信号に応答して制御部CPU45
1は、次の符号化デ−タを指定して、次の符号化デ−タ
があると、上記1b)を同様に、ただしCODE0は、
今回指定した符号化デ−タと読み替えて、実行し、そし
て上記2b)を同様に実行して、本3b)に至る。ここ
で次の符号化デ−タ無し(CODE4まで上記処理を実
行した)になると制御部CPU451は、CPU41に
次のデ−タフレ−ムを要求する(図5の29,30,3
1,12);スタート信号がアクティブである間、上述
の処理を繰返す。
On the other hand, when the acceleration signal from the CPU 41 is inactive, the control unit CPU 451 first specifies the first coded data CODE0 (26 in FIG. 5), and 1b) the value of the base register 455 (1). CO to previous output value)
The value represented by DE0 (3 bits) is added (2 in FIG. 5).
7); 2b) The value of the addition result (current value) is transferred to the pulse generator 458. At the same time, base register 455
Also to forward. That is, the data of the base register 455 is updated to the current value. When the time indicated by the current value has elapsed, the pulse generator 458 switches the level of the phase excitation signal φA and the like, and outputs a data request signal to the control unit CPU.
3b) in response to the data request signal.
1 designates the next coded data, and when there is the next coded data, the same as 1b) above, except that CODE 0 is
It is read and executed with the encoded data designated this time, and the above 2b) is executed in the same manner to reach the book 3b). Here, when there is no next encoded data (the above processing has been executed up to CODE 4), the control unit CPU 451 requests the CPU 41 for the next data frame (29, 30, 3 in FIG. 5).
1, 12); While the start signal is active, the above processing is repeated.

【0032】以上のように、デ−タフレ−ムが符号化デ
−タフレ−ムである場合には、5回の励磁相の切換えに
つき1回だけCPU41はROM42からデ−タフレ−
ムを読み出してモ−タ制御45に与えればよく、所要仕
事量が、実デ−タフレ−ムの場合の1/5に低減する。
ROM42のデ−タ量が少くて済むのは勿論、CPU4
1に余裕ができる分、パルスモ−タ51の加速および減
速をより高速(短時間)に行なうことが可能となる。
As described above, when the data frame is an encoded data frame, the CPU 41 reads the data frame from the ROM 42 only once for every five excitation phase switchings.
What is necessary is just to read out the frame and give it to the motor control 45, and the required work amount is reduced to 1/5 of the case of the actual data frame.
The data amount of the ROM 42 can be reduced, and
As a result, the acceleration and deceleration of the pulse motor 51 can be performed at a higher speed (in a shorter time).

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

【図1】 本発明の一実施例を装備した複写機の制御シ
ステムの概要を示すブロック図である。
FIG. 1 is a block diagram showing an outline of a control system of a copying machine equipped with an embodiment of the present invention.

【図2】 図1に示すROM42に格納されたパルスモ
−タ駆動制御用のデ−タフレ−ムのデ−タ構成を示す平
面図である。
FIG. 2 is a plan view showing a data structure of a pulse motor drive control data frame stored in a ROM 42 shown in FIG.

【図3】 図1に示すモ−タ制御45の機能構成を示す
ブロック図である。
FIG. 3 is a block diagram showing a functional configuration of a motor control 45 shown in FIG.

【図4】 図1に示すCPU41の、モ−タ制御45に
対する制御動作の概要を示すフロ−チャ−トである。
FIG. 4 is a flowchart showing an outline of a control operation of a motor control 45 by a CPU 41 shown in FIG. 1;

【図5】 図3に示す制御部CPU451の相励磁パル
ス生成処理の概要を示すフロ−チャ−トである。
FIG. 5 is a flowchart showing an outline of a phase excitation pulse generation process of a control unit CPU 451 shown in FIG. 3;

【符号の説明】[Explanation of symbols]

452:デ−タレジスタ 453:デ−タセレクタ 454:デ−タセレクタ 455:ベ−スレジスタ 456:加,減算器 457:デ−タセレクタ 452: Data register 453: Data selector 454: Data selector 455: Base register 456: Adder / subtractor 457: Data selector

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】パルスモータに印加する一連のパルスの周
期に対応したデータを記憶する記憶手段と、この記憶手
段から順次データを読み出すマイクロプロセッサと、マ
イクロプロセッサが読み出したデータを書き込まれた後
にデータに対応するパルスを発生するパルス発生手段
と、このパルス発生手段からのパルスにより前記パルス
モータを駆動するパルスモータ駆動手段とを有するパル
スモ−タ駆動装置において、 前記記憶手段には、少くとも符号化されたデータが記憶
されている事を特徴とし、前記パルス発生手段には前記
符号化データを復号化する手段を有する事を特徴とする
パルスモ−タ駆動装置。
1. A storage means for storing data corresponding to a cycle of a series of pulses applied to a pulse motor, a microprocessor for sequentially reading data from the storage means, and a data after the data read by the microprocessor is written. And a pulse motor driving means for driving the pulse motor by a pulse from the pulse generating means, wherein at least the coding means is stored in the storage means. A pulse motor driving apparatus characterized in that the encoded data is stored, and wherein the pulse generating means includes means for decoding the encoded data.
【請求項2】前記記憶手段は、符号化なしデ−タである
ことを示すビットと前記パルスの周期を規定するデ−タ
の組合せでなる符号化なしデ−タフレ−ムと、符号化デ
−タであることを示すビットと複数組の符号化デ−タの
組合せでなる符号化デ−タフレ−ムと、を保持し;前記
パルス発生手段は、符号化なしデ−タフレ−ムが書き込
まれたときにはその中のパルスの周期を規定するデ−タ
に基づいてパルスを発生して前記マイクロプロセッサに
次のデ−タフレ−ムの書き込みを要求し、符号化デ−タ
フレ−ムが書き込まれたときには、その中の最初の符号
化デ−タを復号して復号デ−タに基づいてパルスを発生
しこれを順次最後の符号化デ−タまで同様に繰返し、最
後の符号化デ−タを復号して復号デ−タに基づいてパル
スを発生すると前記マイクロプロセッサに次のデ−タフ
レ−ムの書き込みを要求する;請求項1記載のパルスモ
−タ駆動装置。
2. An uncoded data frame comprising a combination of a bit indicating uncoded data and data defining a cycle of the pulse, and a coded data. And a coded data frame composed of a combination of a plurality of sets of coded data. The pulse generating means writes an uncoded data frame. In response to this, a pulse is generated based on the data defining the pulse period therein, requesting the microprocessor to write the next data frame, and the encoded data frame is written. , The first coded data therein is decoded, a pulse is generated based on the decoded data, and the pulse is sequentially repeated in the same manner until the last coded data. Is decoded and a pulse is generated based on the decoded data. Microprocessor next de - Tafure - requires writing beam; of claim 1, wherein Parusumo - motor driving device.
【請求項3】符号化されたデ−タは、時系列で先行して
復号されるデ−タの復号デ−タで表現される値に対する
差分値を表わすものである、請求項1又は請求項2記載
のパルスモ−タ駆動装置。
3. The encoded data according to claim 1, wherein the encoded data represents a difference value of data to be decoded earlier in time series with respect to a value represented by decoded data. Item 3. A pulse motor driving device according to Item 2.
JP27674497A 1997-10-09 1997-10-09 Pulse motor drive device Expired - Fee Related JP3718333B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27674497A JP3718333B2 (en) 1997-10-09 1997-10-09 Pulse motor drive device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27674497A JP3718333B2 (en) 1997-10-09 1997-10-09 Pulse motor drive device

Publications (2)

Publication Number Publication Date
JPH11122988A true JPH11122988A (en) 1999-04-30
JP3718333B2 JP3718333B2 (en) 2005-11-24

Family

ID=17573742

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27674497A Expired - Fee Related JP3718333B2 (en) 1997-10-09 1997-10-09 Pulse motor drive device

Country Status (1)

Country Link
JP (1) JP3718333B2 (en)

Also Published As

Publication number Publication date
JP3718333B2 (en) 2005-11-24

Similar Documents

Publication Publication Date Title
JPH11122988A (en) Pulse motor drive device
JPH05313085A (en) Scanner
JP3628860B2 (en) Motor drive device
JP3628851B2 (en) Motor drive device
JP2002232651A (en) Motor drive unit
JP2737863B2 (en) Information processing method and device, and output method and device
JPH0454761A (en) Picture reader
JP3187088B2 (en) Scanner driving method and apparatus
JPH05316305A (en) Picture reader
JPS59120479A (en) Controller for line printer
JP3068864B2 (en) Image reading device
JP2002185710A (en) Image reader, control method therefor and storage medium
JPH08340421A (en) Image reader
JPH0965059A (en) Image reader
JPH11235093A (en) Driving method of stepping motor
JPH04219062A (en) Image reader
JPS58173967A (en) Sub-scanning device of copying machine
JPS60163568A (en) Original reader
JPH0522531A (en) Picture reader
JP2000307814A (en) Method for driving image reader
JP2003087521A (en) Image reader
JPH10320959A (en) Optical disk front/rear determining method
JP2001285593A (en) Image reader, its shading correction method and storage medium
JPH09191369A (en) Image reader
JPS63155865A (en) Picture processor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041001

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041129

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050127

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050902

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080909

Year of fee payment: 3

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090909

Year of fee payment: 4

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090909

Year of fee payment: 4

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100909

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110909

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120909

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130909

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees