JP2010004685A - Recording apparatus - Google Patents

Recording apparatus Download PDF

Info

Publication number
JP2010004685A
JP2010004685A JP2008162469A JP2008162469A JP2010004685A JP 2010004685 A JP2010004685 A JP 2010004685A JP 2008162469 A JP2008162469 A JP 2008162469A JP 2008162469 A JP2008162469 A JP 2008162469A JP 2010004685 A JP2010004685 A JP 2010004685A
Authority
JP
Japan
Prior art keywords
value
setting register
motor
motor drive
lower limit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008162469A
Other languages
Japanese (ja)
Inventor
Shinichi Men
眞一 面
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2008162469A priority Critical patent/JP2010004685A/en
Publication of JP2010004685A publication Critical patent/JP2010004685A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Of Electric Motors In General (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a motor driving device for a recording apparatus which can shorten the time required for determining a time-out without requiring special processing unlike a conventional watchdog timer and therefore can determine in a short time whether or not a failure has occurred. <P>SOLUTION: The motor driving device for a recording apparatus includes a timer means for determining whether or not access to registers that must be accessed in driving a motor is made within a preliminarily determined period of time; and a means for determining whether a driving current of a motor is larger or smaller than a preliminarily set current value. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、記録装置におけるモータ駆動方法に関し、特に、異常時の検出/処理に関する。
The present invention relates to a motor driving method in a recording apparatus, and more particularly, to detection / processing at the time of abnormality.

記録装置のモータとして、印字ヘッドが搭載されているキャリッジを駆動するキャリッジモータ、印字用紙を給紙/排紙するASFモータ、印字用紙を副走査方向に送るLFモータ、印字ヘッドのメンテナンスを行うPGモータ等がある。   As a motor of the recording apparatus, a carriage motor that drives a carriage on which the print head is mounted, an ASF motor that feeds / discharges printing paper, an LF motor that feeds printing paper in the sub-scanning direction, and a PG that performs maintenance of the print head There are motors.

一方、記録装置を制御するためのCPUが、たとえば静電気等によって、暴走した場合、上記モータが励磁されたままの状態になり、モータが故障する原因になる。このモータの故障原因を取り除くために、CPUが一定時間動作していないと判断された場合、割り込みを発生し、CPUに強制的に異常処理を行わせることによって、モータの駆動を停止させることが知られている。   On the other hand, when the CPU for controlling the recording apparatus runs away due to, for example, static electricity, the motor remains in an excited state, causing the motor to fail. In order to remove the cause of the motor failure, when it is determined that the CPU has not been operated for a certain period of time, an interrupt is generated and the CPU is forced to perform an abnormal process to stop the driving of the motor. Are known.

図5は、従来例の説明図である。   FIG. 5 is an explanatory diagram of a conventional example.

この場合、CPUが動作していないことを判断するために、特定のタイマ54を一定時間以内にアクセス(タイマクリア)する。そして、一定時間以上タイマアクセスが無ければ(タイムアウトすれば)、割り込みを発生させるいわゆるウオッチドッグタイマを使用している(たとえば、特許文献1参照)。
特開2004−260971号公報
In this case, in order to determine that the CPU is not operating, the specific timer 54 is accessed (timer clear) within a predetermined time. If there is no timer access for a certain time or more (timeout), a so-called watch dog timer is used that generates an interrupt (see, for example, Patent Document 1).
JP 2004-260971 A

しかし、従来例のウオッチドッグタイマ方式では、プログラム処理の中の「どこの処理でタイマアクセス処理を行うか」によって、CPUが暴走した場合の異常検出能力に著しい差が生まれる。したがって、タイマアクセス処理を「挿入する位置」を設定する場合、多くの時間がかかるという問題がある。   However, in the watchdog timer system of the conventional example, a significant difference is produced in the abnormality detection ability when the CPU runs away depending on “where the timer access process is performed” in the program process. Accordingly, there is a problem that it takes a lot of time to set the “insertion position” in the timer access process.

また、モータ駆動処理部に上記タイマアクセス処理を挿入した場合でも、たとえばステッピングモータのホールド(弱励磁)のように、一定時間以上モータ駆動部をアクセスしない場合もある。この場合、設定時間を長くし、またはモータを駆動しない場合にも、タイマアクセスを行う必要があるので、処理が複雑であるという問題がある。   Even when the timer access process is inserted into the motor drive processing unit, the motor drive unit may not be accessed for a certain period of time, such as hold of a stepping motor (weak excitation). In this case, even when the set time is lengthened or the motor is not driven, there is a problem that the processing is complicated because it is necessary to perform timer access.

本発明は、従来のウオッチドッグタイマのように特別な処理を必要とせずに、タイムアウト判定までの時間を短くすることができ、短時間で異常発生を判断することができる記録装置のモータ駆動装置を提供することを目的とする。
The present invention eliminates the need for special processing as in the conventional watchdog timer, and can shorten the time until time-out determination, and can determine the occurrence of an abnormality in a short time. The purpose is to provide.

本発明は、モータ駆動時には必ずアクセスを行う必要があるレジスタへのアクセスが、予め決められた時間以内に行われなかったか否かを判断するタイマ手段と、モータの駆動電流が予め設定された電流値との大小を判断する手段とを有する。
The present invention relates to timer means for determining whether or not access to a register that must be accessed during motor driving has not been performed within a predetermined time, and a motor driving current set in advance. Means for determining the magnitude of the value.

本発明によれば、特別な処理を必要とせずに、またモータの駆動制御タイミングでタイマのクリアが可能であるので、タイムアウト判定までの時間を短くすることができ、短時間で異常発生を判断することができるという効果を奏する。
According to the present invention, the timer can be cleared without requiring any special processing and at the drive control timing of the motor, so the time until the time-out determination can be shortened, and the occurrence of an abnormality can be determined in a short time. There is an effect that can be done.

発明を実施するための最良の形態は、次の実施例である。   The best mode for carrying out the invention is the following embodiment.

図1は、本発明の実施例1である記録装置PR1におけるモータ駆動装置100を示す図である。   FIG. 1 is a diagram illustrating a motor driving device 100 in a recording apparatus PR1 that is Embodiment 1 of the present invention.

記録装置PR1は、モータ駆動装置100と、キャリッジ30と、操作パネル31と、キャリッジモータM1と、LFモータM2と、PGモータM3と、ASFモータM4とを有する。   The recording apparatus PR1 includes a motor driving device 100, a carriage 30, an operation panel 31, a carriage motor M1, an LF motor M2, a PG motor M3, and an ASF motor M4.

キャリッジモータM1は、印字ヘッドを搭載したキャリッジ30を駆動する。LFモータM2は、記録用紙の副走査を行う。PGモータM3は、ヘッドのメンテナンスを行う。ASFモータM4は、記録用紙を給紙/排紙する。   The carriage motor M1 drives the carriage 30 on which the print head is mounted. The LF motor M2 performs sub-scanning of the recording paper. The PG motor M3 performs head maintenance. The ASF motor M4 feeds / discharges the recording paper.

モータ駆動装置100は、ASIC10と、ROM16と、DRAM19と、モータドライバMD1、MD2、MD3、MD4とを有する。   The motor driving device 100 includes an ASIC 10, a ROM 16, a DRAM 19, and motor drivers MD1, MD2, MD3, and MD4.

ASIC10は、CPU12と、RAM13と、DMA14と、USB15と、DRAM制御部18と、ヘッド制御部20と、パネル制御部21と、モータ制御部MC1、MC2、MC3、MC4とを有する。   The ASIC 10 includes a CPU 12, a RAM 13, a DMA 14, a USB 15, a DRAM control unit 18, a head control unit 20, a panel control unit 21, and motor control units MC1, MC2, MC3, and MC4.

各モータM1、M2、M3、M4は、それぞれモータドライバMD1、MD2、MD3、MD4によって駆動される。モータドライバMD1、MD2、MD3、MD4は、記録装置PR1全体の制御を行う大規模集積回路(ASIC10)内のモータ制御部MC1、MC2、MC3、MC4によって制御される。   The motors M1, M2, M3, and M4 are driven by motor drivers MD1, MD2, MD3, and MD4, respectively. The motor drivers MD1, MD2, MD3, and MD4 are controlled by motor control units MC1, MC2, MC3, and MC4 in a large-scale integrated circuit (ASIC 10) that controls the entire printing apparatus PR1.

CPU12は、モータ駆動に関するレジスタアクセスを検出する手段の例である。   The CPU 12 is an example of means for detecting register access related to motor driving.

図2は、記録装置PR1の主要部であるモータ制御部MC1を説明する図である。   FIG. 2 is a diagram illustrating a motor control unit MC1 that is a main part of the recording apparatus PR1.

モータ制御部MC1は、電流値設定レジスタ1と、下限値設定レジスタ2と、比較回路3と、タイマ4と、タイムアウト検出部5と、AND回路6とを有する。   The motor control unit MC1 includes a current value setting register 1, a lower limit value setting register 2, a comparison circuit 3, a timer 4, a timeout detection unit 5, and an AND circuit 6.

モータの駆動電流値を設定する電流値設定レジスタ1は、CPUからLOAD0信号によって書き込まれる。モータ駆動電流値の下限値を設定するための下限値設定レジスタ2は、LOAD1信号によって書き込まれ、比較回路3は、下限値設定レジスタ2の値よりも大きな値が、電流値設定レジスタ1に、設定されると、真(1)になる。   The current value setting register 1 for setting the motor driving current value is written from the CPU by the LOAD0 signal. The lower limit value setting register 2 for setting the lower limit value of the motor driving current value is written by the LOAD1 signal, and the comparison circuit 3 has a value larger than the value of the lower limit value setting register 2 in the current value setting register 1. When set, it is true (1).

なお、下限値設定レジスタ2の設定値として、モータの保持状態での弱励磁電流よりも少し大きな値を設定する。   The lower limit value setting register 2 is set to a value slightly larger than the weak excitation current in the motor holding state.

一定時間毎にカウントアップするタイマ4は、電流値設定レジスタ1への書込が行われると、クリアされる。タイマ4の値が予め設定された値を超えると、タイムアウト検出部5が、真(1)になる。すなわち、一定時間以上、電流値設定レジスタ1に書込が行われなければ、真(1)になる。   The timer 4 that counts up at regular intervals is cleared when the current value setting register 1 is written. When the value of the timer 4 exceeds a preset value, the timeout detection unit 5 becomes true (1). That is, if the current value setting register 1 is not written for a certain time or longer, the result is true (1).

電流値設定レジスタ1は、モータ駆動電流値を設定する電流値設定レジスタの例である。   The current value setting register 1 is an example of a current value setting register that sets a motor driving current value.

下限値設定レジスタ2は、モータ駆動電流の下限値を設定する下限値設定レジスタの例である。   The lower limit value setting register 2 is an example of a lower limit value setting register that sets the lower limit value of the motor drive current.

比較回路3は、上記電流値設定レジスタの値と上記下限値設定レジスタの値とを比較する比較手段の例である。   The comparison circuit 3 is an example of comparison means for comparing the value of the current value setting register with the value of the lower limit value setting register.

タイマ4は、上記モータ駆動部へのレジスタのアクセス間隔を検出するタイマの例である。   The timer 4 is an example of a timer that detects a register access interval to the motor drive unit.

AND回路6は、上記電流値設定レジスタの値が下限値設定レジスタの値を超え、しかも上記タイマの値が予め設定された時間間隔を超えたと判断されると、CPUに割り込みを発生する割り込み発生手段の例である。   The AND circuit 6 generates an interrupt that generates an interrupt to the CPU when it is determined that the value of the current value setting register exceeds the value of the lower limit value setting register and the timer value exceeds a preset time interval. It is an example of a means.

CPU12は、上記電流値設定レジスタの値が下限値設定レジスタの値を超え、しかも上記タイマの値が予め設定された時間間隔を超えると、上記電流値設定レジスタの値を、予め決められた電流値に設定する設定手段の例である。   When the value of the current value setting register exceeds the value of the lower limit value setting register and the value of the timer exceeds a preset time interval, the CPU 12 sets the value of the current value setting register to a predetermined current. It is an example of the setting means set to a value.

図3は、キャリッジモータM1と、LFモータM2と、PGモータM3と、ASFモータM4とにおける印字時の電流設定値を説明する図である。   FIG. 3 is a diagram for explaining current setting values during printing in the carriage motor M1, the LF motor M2, the PG motor M3, and the ASF motor M4.

ヘッドが搭載されているキャリッジを主走査するためにキャリッジモータM1を駆動している状態であるので、設定値が大きく、LFモータM2は、キャリッジ主走査の期間中、記録紙を保持するために、少ない電流の設定値(弱励磁)である。よって、PGモータM3とASFモータM4とは、励磁をせずに、励磁オフ(電流零)を設定している。   Since the carriage motor M1 is driven to perform main scanning on the carriage on which the head is mounted, the setting value is large, and the LF motor M2 holds the recording paper during the carriage main scanning period. The setting value of low current (weak excitation). Therefore, the PG motor M3 and the ASF motor M4 are set to excitation off (zero current) without being excited.

また、キャリッジの主走査が終わると、記録紙を副走査するためにLFモータM2を駆動するために、LFモータM2には、大きな電流を設定し、他のモータは、励磁オフ(電流零)を設定する。   When the main scanning of the carriage is completed, a large current is set in the LF motor M2 to drive the LF motor M2 to sub-scan the recording paper, and the other motors are turned off (zero current). Set.

図4は、キャリッジモータM1と、LFモータM2と、PGモータM3と、ASFモータM4とにおける印字時の出力を比較した図である。   FIG. 4 is a diagram comparing the output during printing in the carriage motor M1, the LF motor M2, the PG motor M3, and the ASF motor M4.

キャリッジモータM1とLFモータM2とを駆動している大きな電流設定のときだけ、キャリッジモータM1、LFモータM2が、真(1)になることが判る。   It can be seen that the carriage motor M1 and the LF motor M2 are true (1) only when a large current is set to drive the carriage motor M1 and the LF motor M2.

次に、上記実施例の動作について、詳細に説明する。   Next, the operation of the above embodiment will be described in detail.

キャリッジモータM1は、印字動作中、サーボ制御によって、一定時間(たとえば10msec)毎に、キャリッジの移動速度が一定になるように、電流値を変化する。つまり、10msec毎に、キャリッジモータM1用の電流値設定レジスタ1に書き込むので、キャリッジモータM1用のタイマ4は、その都度クリアされる。   During the printing operation, the carriage motor M1 changes the current value so that the carriage moving speed becomes constant at certain time intervals (for example, 10 msec) by servo control. That is, since the current value setting register 1 for the carriage motor M1 is written every 10 msec, the timer 4 for the carriage motor M1 is cleared each time.

キャリッジモータM1用の下限値設定レジスタ2は、記録装置PR1の電源投入の直後の初期化時に、予め設定され(たとえば0.3Aに相当する値が設定され)、また、タイムアウト検出部5も同様に設定され、たとえば1secが設定されている。   The lower limit setting register 2 for the carriage motor M1 is set in advance (for example, a value corresponding to 0.3A is set) at the time of initialization immediately after the recording apparatus PR1 is turned on, and the timeout detection unit 5 is also the same. For example, 1 sec is set.

正常に印字動作を行っている場合、上記のように、タイマ4は,10msec毎にクリアされるので、タイムアウトは発生しない。   When the printing operation is normally performed, the timer 4 is cleared every 10 msec as described above, so that no timeout occurs.

一方、LFモータM2は、弱励磁によって記録用紙を保持している。しかし、このときにおけるLFモータM2用の電流設定値は、LFモータM2用の下限値を超えない電流であるので、比較回路3の出力は、偽(0)である。   On the other hand, the LF motor M2 holds the recording paper by weak excitation. However, since the current setting value for the LF motor M2 at this time is a current that does not exceed the lower limit value for the LF motor M2, the output of the comparison circuit 3 is false (0).

また、キャリッジモータM1の主走査駆動が終了した後の副走査駆動時には、主走査時とは逆に、キャリッジモータM1用の比較回路3の出力は、偽(0)になり、LFモータM2用の比較回路3の出力は、真(1)になる。   At the time of sub-scanning driving after the main scanning driving of the carriage motor M1 is completed, the output of the comparison circuit 3 for the carriage motor M1 becomes false (0), which is opposite to that at the time of main scanning, for the LF motor M2. The output of the comparison circuit 3 becomes true (1).

しかし、ノイズ等、何らかの原因でCPUが暴走すると、正常なサーボ制御を実行できないので、電流値設定レジスタ1への書込が行われず、この状態が1sec以上継続すると、タイムアウトが発生し、タイムアウト検出部5が真(1)を出力する。また、設定電流値が、下限値設定レジスタ2の設定値よりも大きければ、比較回路3の出力が真(1)になる。   However, if the CPU goes out of control for some reason, such as noise, normal servo control cannot be executed, so writing to the current value setting register 1 is not performed. If this state continues for 1 second or more, a timeout occurs and a timeout is detected. The unit 5 outputs true (1). If the set current value is larger than the set value of the lower limit setting register 2, the output of the comparison circuit 3 becomes true (1).

つまり、「大きな設定電流状態(比較回路3の出力が真(1))」であり、しかも「タイムアウト状態(タイムアウト検出部5の出力が真(1))」のときにのみ、割り込み出力を発生させる。また、電流値設定レジスタ1の値を、予め決められた値に設定(たとえば0A)する。   That is, an interrupt output is generated only when “a large set current state (output of the comparison circuit 3 is true (1))” and “timeout state (output of the timeout detection unit 5 is true (1))”. Let Further, the value of the current value setting register 1 is set to a predetermined value (for example, 0 A).

したがって、「電流設定値」が、「電流下限値」よりも小さな状態では、タイムアウトを発生しても、割り込み処理等による異常状態を発生しない。   Therefore, in a state where the “current set value” is smaller than the “current lower limit value”, even if a timeout occurs, an abnormal state due to an interrupt process or the like does not occur.

すなわち、電流が低く、かりに異常が発生しても、故障することのない電流値である場合、タイムアウトをしても問題がないので、タイムアウトを防止するための無用なレジスタアクセス(タイマアクセス)をする必要がない。よって、ソフト処理を簡素化することができ、しかも、大きな電流時には、割り込み等によって異常を確実に処理することができる。   In other words, if the current is low and the current value does not cause a failure even if an abnormality occurs, there is no problem even if a timeout occurs, so useless register access (timer access) to prevent timeout. There is no need to do. Therefore, software processing can be simplified, and an abnormality can be reliably processed by an interrupt or the like when the current is large.

一般的に、モータの駆動は、電流の設定値が大きければ、必ず一定時間毎に相の切替、または電流の制御等の処理を行う必要があるので、電流値設定レジスタ1が更新(アクセス)されなければ、異常である可能性が高く、故障の要因になる可能性が高い。   In general, when driving a motor, if the current setting value is large, it is necessary to always perform processing such as phase switching or current control at regular intervals, so the current value setting register 1 is updated (accessed). If it is not done, there is a high possibility that it is abnormal, and there is a high possibility that it will cause a failure.

なお、使用するモータがステッピングモータであれば、ホールド時のような弱励磁状態での電流値よりも高めの値に相当する設定値に、電流の下限値を設定すればよい。   If the motor to be used is a stepping motor, the lower limit value of the current may be set to a set value corresponding to a value higher than the current value in the weakly excited state such as during holding.

また、DCモータの場合には、回転軸のホールド状態で、モータ昇温等問題の無い程度の電流値に相当する値に設定すればよい。
In the case of a DC motor, it may be set to a value corresponding to a current value that does not cause a problem such as a temperature rise in the rotating shaft in the hold state.

本発明の実施例1である記録装置PR1におけるモータ駆動装置100を示す図である。1 is a diagram illustrating a motor driving device 100 in a recording apparatus PR1 that is Embodiment 1 of the present invention. FIG. 記録装置PR1の主要部であるモータ制御部MC1を説明する図である。It is a figure explaining motor control part MC1 which is the principal part of recording device PR1. キャリッジモータM1と、LFモータM2と、PGモータM3と、ASFモータM4とにおける印字時の電流設定値を説明する図である。It is a figure explaining the electric current setting value at the time of printing in the carriage motor M1, LF motor M2, PG motor M3, and ASF motor M4. キャリッジモータM1と、LFモータM2と、PGモータM3と、ASFモータM4とにおける印字時の出力を比較した図である。It is the figure which compared the output at the time of printing in the carriage motor M1, LF motor M2, PG motor M3, and ASF motor M4. 従来例の説明図である。It is explanatory drawing of a prior art example.

符号の説明Explanation of symbols

100…モータ駆動装置、
PR1…記録装置、
10…ASIC、
1…電流値設定レジスタ、
2…下限値設定レジスタ、
3…比較回路、
4…タイマ、
5…タイムアウト検出部、
6…AND回路、
30…キャリッジ、
31…操作パネル。
100: Motor drive device,
PR1 ... Recording device,
10 ... ASIC,
1 ... Current value setting register,
2 ... Lower limit setting register,
3 ... Comparison circuit,
4 ... Timer,
5 ... timeout detection unit,
6 ... AND circuit,
30 ... carriage,
31: Operation panel.

Claims (4)

記録装置のモータ駆動装置において、
モータ駆動に関するレジスタアクセスを検出する手段と;
モータ駆動電流値を設定する電流値設定レジスタと;
モータ駆動電流の下限値を設定する下限値設定レジスタと;
上記電流値設定レジスタの値と上記下限値設定レジスタの値とを比較する比較手段と;
モータ駆動部へのレジスタのアクセス間隔を検出するタイマと;
上記電流値設定レジスタの値が下限値設定レジスタの値を超え、しかも上記タイマの値が予め設定された時間間隔を超えたと判断されると、CPUに割り込みを発生する割り込み発生手段と;
を有することを特徴とする記録装置のモータ駆動装置。
In the motor drive device of the recording device,
Means for detecting register access for motor drive;
A current value setting register for setting the motor drive current value;
A lower limit value setting register for setting the lower limit value of the motor drive current;
Comparing means for comparing the value of the current value setting register with the value of the lower limit value setting register;
A timer for detecting a register access interval to the motor drive unit;
An interrupt generating means for generating an interrupt to the CPU when it is determined that the value of the current value setting register exceeds the value of the lower limit value setting register and the value of the timer exceeds a preset time interval;
A motor drive device for a recording apparatus, comprising:
記録装置のモータ駆動装置において、
モータ駆動に関するレジスタアクセスを検出する手段と;
モータ駆動電流値を設定する電流値設定レジスタと;
モータ駆動電流の下限値を設定する下限値設定レジスタと;
電流値設定レジスタの値と下限値設定レジスタの値とを比較する比較手段と;
モータ駆動部へのレジスタのアクセス間隔を検出するタイマと;
上記電流値設定レジスタの値が下限値設定レジスタの値を超え、しかも上記タイマの値が予め設定された時間間隔を超えると、上記電流値設定レジスタの値を、予め決められた電流値に設定する設定手段と;
を有することを特徴とする記録装置のモータ駆動装置。
In the motor drive device of the recording device,
Means for detecting register access for motor drive;
A current value setting register for setting the motor drive current value;
A lower limit value setting register for setting the lower limit value of the motor drive current;
A comparison means for comparing the value of the current value setting register with the value of the lower limit value setting register;
A timer for detecting a register access interval to the motor drive unit;
When the current value setting register value exceeds the lower limit value setting register value and the timer value exceeds a preset time interval, the current value setting register value is set to a predetermined current value. Setting means to do;
A motor drive device for a recording apparatus, comprising:
記録装置のモータ駆動装置の制御方法において、
モータ駆動に関するレジスタアクセスを検出する工程と;
電流値設定レジスタがモータ駆動電流値を設定する工程と;
下限値設定レジスタがモータ駆動電流の下限値を設定する工程と;
上記電流値設定レジスタの値と上記下限値設定レジスタの値とを比較する比較工程と;
モータ駆動部へのレジスタのアクセス間隔を、タイマが検出する工程と;
上記電流値設定レジスタの値が下限値設定レジスタの値を超え、しかも上記タイマの値が予め設定された時間間隔を超えたと判断されると、CPUに割り込みを発生する割り込み発生工程と;
を有することを特徴とする記録装置のモータ駆動装置の制御方法。
In the control method of the motor drive device of the recording apparatus,
Detecting register access for motor drive;
A step of setting a motor drive current value by a current value setting register;
A step in which the lower limit setting register sets the lower limit of the motor drive current;
A comparison step of comparing the value of the current value setting register with the value of the lower limit value setting register;
A timer detecting a register access interval to the motor driver;
An interrupt generation step of generating an interrupt to the CPU when it is determined that the value of the current value setting register exceeds the value of the lower limit value setting register and the value of the timer exceeds a preset time interval;
A method for controlling a motor driving device of a recording apparatus.
記録装置のモータ駆動装置の制御方法において、
モータ駆動に関するレジスタアクセスを検出する工程と;
電流値設定レジスタがモータ駆動電流値を設定する工程と;
下限値設定レジスタがモータ駆動電流の下限値を設定する工程と;
電流値設定レジスタの値と下限値設定レジスタの値とを比較する比較工程と;
モータ駆動部へのレジスタのアクセス間隔を、タイマが検出する工程と;
上記電流値設定レジスタの値が下限値設定レジスタの値を超え、しかも上記タイマの値が予め設定された時間間隔を超えると、上記電流値設定レジスタの値を、予め決められた電流値に設定する設定工程と;
を有することを特徴とする記録装置のモータ駆動装置の制御方法。
In the control method of the motor drive device of the recording apparatus,
Detecting register access for motor drive;
A step of setting a motor drive current value by a current value setting register;
A step in which the lower limit setting register sets the lower limit of the motor drive current;
A comparison step of comparing the value of the current value setting register with the value of the lower limit value setting register;
A timer detecting a register access interval to the motor driver;
When the current value setting register value exceeds the lower limit value setting register value and the timer value exceeds a preset time interval, the current value setting register value is set to a predetermined current value. A setting process to perform;
A method for controlling a motor driving device of a recording apparatus.
JP2008162469A 2008-06-20 2008-06-20 Recording apparatus Pending JP2010004685A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008162469A JP2010004685A (en) 2008-06-20 2008-06-20 Recording apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008162469A JP2010004685A (en) 2008-06-20 2008-06-20 Recording apparatus

Publications (1)

Publication Number Publication Date
JP2010004685A true JP2010004685A (en) 2010-01-07

Family

ID=41585909

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008162469A Pending JP2010004685A (en) 2008-06-20 2008-06-20 Recording apparatus

Country Status (1)

Country Link
JP (1) JP2010004685A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000224757A (en) * 1999-01-28 2000-08-11 Star Micronics Co Ltd Motor protective circuit, motor driving circuit, and printer
JP2003139596A (en) * 2001-11-01 2003-05-14 Matsushita Electric Ind Co Ltd Gas meter control device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000224757A (en) * 1999-01-28 2000-08-11 Star Micronics Co Ltd Motor protective circuit, motor driving circuit, and printer
JP2003139596A (en) * 2001-11-01 2003-05-14 Matsushita Electric Ind Co Ltd Gas meter control device

Similar Documents

Publication Publication Date Title
JP2007282305A (en) Method and device for controlling stepping motor, and printer
JP2007151266A (en) Driver for brushless motor and its driving method
JP2010004685A (en) Recording apparatus
WO2017135258A1 (en) Cooling fan control device
JP2007111915A (en) Electronic instrument
JPH04327953A (en) Alarm control
JP2001275374A (en) Motor controller and storage medium
JPH11138872A (en) Thermal printer
JP2011200073A (en) Motor drive
JP2007160847A (en) Recording device
JP4877050B2 (en) Electronic device, printer, reset effective setting method and program for electronic device
JP2982790B2 (en) DC motor control circuit
EP3691908A1 (en) Velocity and torque based media motor control
JP2006296095A (en) Stepping motor control unit
JP2009063371A (en) Encoder device and its starting method
JP5272139B2 (en) Gimbal control system with built-in test circuit
JP2011225347A (en) Paper feed control device and paper feed control method
US10958197B2 (en) Motor drive circuit, method of controlling same, and storage medium
JP2006352978A (en) Motor driver circuit, control method of circuit, electronic apparatus, and motor lock detection method of electronic apparatus
JP2010051149A (en) Motor control apparatus
JP2019534174A (en) Printing system throughput reduction mode
JP2007307756A (en) Driving controlling apparatus and image forming apparatus
JP2007151387A5 (en)
JPH1127986A (en) Motor controller
JP5347526B2 (en) Printer device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110616

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130306

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130315

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130513

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130920