JP2015136858A - Control method for image forming device and control device for image forming device - Google Patents

Control method for image forming device and control device for image forming device Download PDF

Info

Publication number
JP2015136858A
JP2015136858A JP2014009635A JP2014009635A JP2015136858A JP 2015136858 A JP2015136858 A JP 2015136858A JP 2014009635 A JP2014009635 A JP 2014009635A JP 2014009635 A JP2014009635 A JP 2014009635A JP 2015136858 A JP2015136858 A JP 2015136858A
Authority
JP
Japan
Prior art keywords
potential
drive system
saving mode
system device
detection point
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
JP2014009635A
Other languages
Japanese (ja)
Inventor
順 菅野
Jun Sugano
順 菅野
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Data Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Data Corp filed Critical Oki Data Corp
Priority to JP2014009635A priority Critical patent/JP2015136858A/en
Publication of JP2015136858A publication Critical patent/JP2015136858A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To detect whether or not a printing drive system is displaced in a power-saving mode by a comparatively simple circuit configuration.SOLUTION: A printer control device includes: a driving source (SP motor driver 37, for example) operated by a power source voltage supplied from a power supply unit having a power-saving mode; a driving system device (SP motor 16, for example) operated by a phase signal S37a supplied from the driver 37; and a detection part 40 for detecting a change in an electric potential at a detection point N50 generated between the driver 37 and the motor 16. In normal time and standby time, the detection part 40 detects an abnormal operation of the driver 37 and the motor 16 according to whether or not an electric potential at the detection point N50 exceeds a Zener voltage of a Zener diode 71, switches the electric potential at the detection point N50 to a ground electric potential (0 V) in the standby time before the transition to a power-saving mode, and detects the presence or absence of an operation of the motor 16 according to whether or not the electric potential at the detection point N50 becomes higher than 0 V in the power-saving mode.

Description

本発明は、省電力モードを有する画像形成装置(例えば、プリンタ)の制御方法及び制御装置に係り、特に、省電力モードからの復帰方法に関するものである。   The present invention relates to a control method and control apparatus for an image forming apparatus (for example, a printer) having a power saving mode, and more particularly to a method for returning from a power saving mode.

従来、例えば、特許文献1に記載されたプリンタの制御方法及び制御装置では、データ入力待ちの待機時間が長くなると、メイン電源をオフ状態にしてサブ電源をオン状態とし、待機中の消費電力を低減する省電力モードを有している。そして、データの入力があると、省電力モードを解除し、メイン電源をオン状態にして印字動作に入るような制御を行っている。   Conventionally, for example, in the printer control method and control apparatus described in Patent Document 1, when the standby time for waiting for data input becomes long, the main power supply is turned off and the sub power supply is turned on to reduce the standby power consumption. It has a power saving mode to reduce. When data is input, control is performed such that the power saving mode is canceled, the main power is turned on, and the printing operation is started.

特開平6−127082号公報Japanese Patent Laid-Open No. 6-127082

しかしながら、従来のプリンタの制御方法及び制御装置では、省電力モード中に印字駆動系が変移したか否かを比較的簡単な回路構成で実現することが困難であった。   However, with the conventional printer control method and control device, it has been difficult to realize whether or not the print drive system has changed during the power saving mode with a relatively simple circuit configuration.

本発明における画像形成装置の制御方法は、通常時において電源電力が供給されると動作して駆動信号を出力し、待機時において省電力モードへ移行すると、前記電源電力の供給が遮断されて前記動作が停止し、前記駆動信号の出力を停止する駆動源と、前記駆動源に接続され、前記駆動源から出力される前記駆動信号によって動作する駆動系デバイスと、前記駆動源及び前記駆動系デバイス間に生じる検出点の電位の変化を検出する駆動系デバイス動作検出手段と、を備える画像形成装置の制御方法である。   The control method of the image forming apparatus according to the present invention operates when a power supply is supplied in a normal state and outputs a drive signal, and when the mode is shifted to a power saving mode in a standby state, the supply of the power supply is cut off and A drive source that stops operation and stops outputting the drive signal, a drive system device that is connected to the drive source and operates according to the drive signal output from the drive source, the drive source, and the drive system device A drive-system device operation detection unit that detects a change in potential at a detection point that occurs in between, and a control method for an image forming apparatus.

そして、前記駆動系デバイス動作検出手段は、前記通常時及び前記待機時において、前記検出点の電位が第1基準電位を超えたか否かにより、前記駆動源及び前記駆動系デバイスの異常動作を検出する異常動作検出処理と、前記待機時において前記省電力モードへの移行前に、前記検出点の電位を、前記第1基準電位よりも低い第2基準電位に切り換える電位切り換え処理と、前記省電力モード時に、前記検出点の電位が前記第2基準電位よりも高くなったか否かにより、前記駆動系デバイスの動作の有無を検出する駆動系デバイス動作検出処理と、を有することを特徴とする。   The drive system device operation detection means detects an abnormal operation of the drive source and the drive system device depending on whether the potential at the detection point exceeds a first reference potential during the normal time and the standby time. An abnormal operation detection process to perform, a potential switching process for switching the potential at the detection point to a second reference potential lower than the first reference potential before shifting to the power saving mode in the standby state, and the power saving Drive mode device operation detection processing for detecting presence or absence of operation of the drive system device depending on whether or not the potential of the detection point becomes higher than the second reference potential in the mode.

本発明における画像形成装置の制御装置は、通常時において電源電力が供給されると動作して駆動信号を出力し、待機時において省電力モードへ移行すると、前記電源電力の供給が遮断されて前記動作が停止し、前記駆動信号の出力を停止する駆動源と、前記駆動源に接続され、前記駆動源から出力される前記駆動信号によって動作する駆動系デバイスと、前記駆動源及び前記駆動系デバイス間に生じる検出点の電位の変化を検出する駆動系デバイス動作検出手段と、を備えている。   The control device of the image forming apparatus according to the present invention operates when a power supply is supplied in a normal state and outputs a drive signal. When the power transfer mode is shifted to a standby mode, the supply of the power supply is cut off and the power supply is cut off. A drive source that stops operation and stops outputting the drive signal, a drive system device that is connected to the drive source and operates according to the drive signal output from the drive source, the drive source, and the drive system device Drive system device operation detection means for detecting a change in potential at a detection point between them.

そして、前記駆動系デバイス動作検出手段は、前記通常時及び前記待機時において、前記検出点の電位が第1基準電位を超えたか否かにより、前記駆動源及び前記駆動系デバイスの異常動作を検出し、前記待機時において前記省電力モードへの移行前に、前記検出点の電位を、前記第1基準電位よりも低い第2基準電位に切り換え、前記省電力モード時に、前記検出点の電位が前記第2基準電位よりも高くなったか否かにより、前記駆動系デバイスの動作の有無を検出することを特徴とする。   The drive system device operation detection means detects an abnormal operation of the drive source and the drive system device depending on whether the potential at the detection point exceeds a first reference potential during the normal time and the standby time. In the standby mode, before shifting to the power saving mode, the potential at the detection point is switched to a second reference potential that is lower than the first reference potential. In the power saving mode, the potential at the detection point is The presence / absence of the operation of the drive system device is detected based on whether or not the voltage becomes higher than the second reference potential.

本発明における画像形成装置の制御方法及び制御装置によれば、駆動源及び駆動系デバイスの異常状態を検出する駆動系デバイス動作検出手段を、駆動系デバイスの変移により発生する逆起電圧の検出可能な構成にしている。そのため、省電力モード中に駆動系デバイスが変移したか否かを比較的簡単な回路構成で検出できる。   According to the image forming apparatus control method and control apparatus of the present invention, the drive system device operation detection means for detecting the abnormal state of the drive source and the drive system device can detect the back electromotive voltage generated by the transition of the drive system device. It has a simple configuration. Therefore, it is possible to detect whether or not the drive system device has changed during the power saving mode with a relatively simple circuit configuration.

図1は図4中の検出部40等の構成例を示す回路図である。FIG. 1 is a circuit diagram showing a configuration example of the detection unit 40 and the like in FIG. 図2は本発明の実施例1における画像形成装置(例えば、プリンタ)の外観を示す斜視図である。FIG. 2 is a perspective view showing the appearance of the image forming apparatus (for example, a printer) in Embodiment 1 of the present invention. 図3は図2のアクセスカバーを開いて内部構造が見えるようにした斜視図である。FIG. 3 is a perspective view in which the access cover of FIG. 2 is opened so that the internal structure can be seen. 図4は図2及び図3のプリンタ1内に収容された実施例1におけるプリンタ制御装置の概略の構成を示す機能ブロック図である。FIG. 4 is a functional block diagram showing a schematic configuration of the printer control apparatus according to the first embodiment housed in the printer 1 of FIGS. 図5は図1中の検出部40における通常動作時の電圧波形図である。FIG. 5 is a voltage waveform diagram during normal operation of the detection unit 40 in FIG. 図6は図1中の検出部40における異常時の電圧波形図である。FIG. 6 is a voltage waveform diagram at the time of abnormality in the detection unit 40 in FIG. 図7は図1の回路において待機状態から省電力モードへの移行動作を示す回路図である。FIG. 7 is a circuit diagram showing the transition operation from the standby state to the power saving mode in the circuit of FIG. 図8は図1の回路において省電力モードから省電力解除への移行動作を示す回路図である。FIG. 8 is a circuit diagram showing the transition operation from the power saving mode to the power saving cancellation in the circuit of FIG. 図9は図7及び図8の動作を示す電圧波形図である。FIG. 9 is a voltage waveform diagram showing the operation of FIG. 7 and FIG. 図10は図7及び図8の動作を示すフローチャートである。FIG. 10 is a flowchart showing the operation of FIGS. 図11は図10中の検出部リセット処理を示すフローチャートである。FIG. 11 is a flowchart showing the detection unit reset process in FIG. 図12は図10中の検出部確認処理を示すフローチャートである。FIG. 12 is a flowchart showing the detection unit confirmation process in FIG. 図13は本発明の実施例2におけるラインフィード機構を示す概略の斜視図である。FIG. 13 is a schematic perspective view showing a line feed mechanism in Embodiment 2 of the present invention. 図14は本発明の実施例2におけるリボンフィード機構を示す概略の斜視図である。FIG. 14 is a schematic perspective view showing a ribbon feed mechanism in Embodiment 2 of the present invention. 図15は図2及び図3のプリンタ1内に収容された実施例2におけるプリンタ制御装置の概略の構成を示す機能ブロック図である。FIG. 15 is a functional block diagram showing a schematic configuration of the printer control apparatus according to the second embodiment housed in the printer 1 of FIGS. 図16は図15の動作を示すフローチャートである。FIG. 16 is a flowchart showing the operation of FIG.

本発明を実施するための形態は、以下の好ましい実施例の説明を添付図面と照らし合わせて読むと、明らかになるであろう。但し、図面はもっぱら解説のためのものであって、本発明の範囲を限定するものではない。   Modes for carrying out the present invention will become apparent from the following description of the preferred embodiments when read in light of the accompanying drawings. However, the drawings are only for explanation and do not limit the scope of the present invention.

(実施例1の構成)
図2は、本発明の実施例1における画像形成装置(例えば、プリンタ)の外観を示す斜視図である。更に、図3は、図2のアクセスカバーを開いて内部構造が見えるようにした斜視図である。
(Configuration of Example 1)
FIG. 2 is a perspective view illustrating an appearance of the image forming apparatus (for example, a printer) according to the first exemplary embodiment of the present invention. 3 is a perspective view in which the access cover of FIG. 2 is opened so that the internal structure can be seen.

本実施例1の画像形成装置としてのプリンタ1は、例えば、シリアルプリンタの1つであるドットインパクトプリンタである。シリアルプリンタとは、1文字の印字指令が来る度に現在の印字ヘッド位置に印刷する方式である。そのシリアルプリンタの1つであるドットインパクトプリンタは、縦横に並べたドットに対応する細いピンを、インクを吸着させた帯状のインクリボンに叩き付けて印刷する方式であり、複写用紙への重ね印刷等が可能な特徴を有している。   The printer 1 as the image forming apparatus according to the first embodiment is, for example, a dot impact printer that is one of serial printers. The serial printer is a method of printing at the current print head position every time a print command for one character is received. The dot impact printer, which is one of the serial printers, is a system in which thin pins corresponding to dots arranged vertically and horizontally are struck against a band-shaped ink ribbon that has adsorbed ink to print, such as overprinting on copy paper. It has the characteristics that can be.

プリンタ1は、印字部等が収容された筐体2を有している。筐体2の上部には、開閉自在のアクセスカバー3が取り付けられている。アクセスカバー3を開けると、印字部を見ることができる。印字部には、キャリッジ部10が設けられている。キャリッジ部10は、印字ヘッド11を搭載し、キャリッジシャフト12に取り付けられ、図示しないモータによってそのキャリッジシャフト12を回転させて印字ヘッド11を左右に移動するようになっている。印字ヘッド11の先端には、リボンプロテクタを介して、インクリボン13aが配置されている。インクリボン13aは、図示しないリボンモータにより、リボンカートリッジ13に巻き取られるようになっている。印字ヘッド11に対向する位置には、回転自在のカット紙搬送用のプラテン14が配置されている。プラテン14は、図示しないモータ又はプラテンノブ15により回転する構成になっている。   The printer 1 has a housing 2 in which a printing unit and the like are accommodated. An openable / closable access cover 3 is attached to the top of the housing 2. When the access cover 3 is opened, the printed part can be seen. A carriage unit 10 is provided in the printing unit. The carriage unit 10 is mounted with a print head 11, is attached to a carriage shaft 12, and moves the print head 11 left and right by rotating the carriage shaft 12 by a motor (not shown). An ink ribbon 13a is disposed at the tip of the print head 11 via a ribbon protector. The ink ribbon 13a is wound around the ribbon cartridge 13 by a ribbon motor (not shown). At a position facing the print head 11, a rotatable platen 14 for transporting cut sheets is disposed. The platen 14 is configured to rotate by a motor or a platen knob 15 (not shown).

図4は、図2及び図3のプリンタ1内に収容された実施例1におけるプリンタ制御装置の概略の構成を示す機能ブロック図である。   FIG. 4 is a functional block diagram illustrating a schematic configuration of the printer control apparatus according to the first embodiment housed in the printer 1 of FIGS. 2 and 3.

プリンタ制御装置30は、外部のパーソナルコンピュータ等の上位装置80との間でデータの送受信を行ってプリンタ1の動作を制御する装置である。このプリンタ制御装置30は、キャリッジ部10と、電源部31と、制御手段としての制御部32と、上位装置80に接続されたインタフェース部(以下「I/F部」という。)33と、操作部34に接続されたオペレーションパネル部(以下「OP部」という。)35と、ヘッドドライバ36と、スペースモータ(以下「SPモータ」という。)駆動用の駆動源としてのSPモータドライバ37と、駆動系デバイス動作検出手段としての検出部40等と、を有している。   The printer control device 30 is a device that controls the operation of the printer 1 by transmitting and receiving data to and from a host device 80 such as an external personal computer. The printer control device 30 includes a carriage unit 10, a power supply unit 31, a control unit 32 as a control unit, an interface unit (hereinafter referred to as “I / F unit”) 33 connected to a host device 80, and an operation. An operation panel unit (hereinafter referred to as “OP unit”) 35 connected to the unit 34, a head driver 36, an SP motor driver 37 as a drive source for driving a space motor (hereinafter referred to as “SP motor”), And a detection unit 40 as drive system device operation detection means.

キャリッジ部10には、印字ヘッド11と、キャリッジシャフト12を回転させてその印字ヘッド11を左右に移動するための駆動系デバイスとしてのSPモータ16と、このSPモータ16の回転を検知してセンサ信号S17を出力するモータセンサ17等と、を有している。SPモータ16は、駆動信号としての3相の相信号S37aにより動作する直流電動機である。   The carriage unit 10 includes a print head 11, an SP motor 16 as a drive system device for rotating the carriage shaft 12 to move the print head 11 to the left and right, and a sensor by detecting the rotation of the SP motor 16. And a motor sensor 17 that outputs a signal S17. The SP motor 16 is a DC motor that operates according to a three-phase signal S37a as a drive signal.

電源部31は、アラーム回路31a等を有し、電源電力として電圧の高いメイン電圧である駆動系電源電圧Vdv、及び電圧の低いサブ電圧である2つのロジック電源電圧Vlg1,Vlg2を出力するものである。駆動系電源電圧Vdvは、ヘッドドライバ36、及びSPモータドライバ37へ供給される。ロジック電源電圧Vlg1は、モータセンサ17及び検出部40へ供給される。駆動系電源電圧Vdv及びロジック電源電圧Vlg1は、制御部32から与えられる電源オフ信号S32cにより、任意のタイミングで電源供給が遮断可能になっている。ロジック電源電圧Vlg2は、制御部32、I/F部33、及びOP部35へ供給される。アラーム回路31aは、検出部40から出力される警報信号であるアラーム信号ALM_Nを入力すると、駆動系電源電圧Vdv及びロジック電源電圧Vlg1,Vlg2の出力を強制的に遮断する機能を有している。   The power supply unit 31 includes an alarm circuit 31a and the like, and outputs, as power supply power, a drive system power supply voltage Vdv that is a high main voltage and two logic power supply voltages Vlg1 and Vlg2 that are low sub-voltages. is there. The drive system power supply voltage Vdv is supplied to the head driver 36 and the SP motor driver 37. The logic power supply voltage Vlg1 is supplied to the motor sensor 17 and the detection unit 40. The drive system power supply voltage Vdv and the logic power supply voltage Vlg1 can be cut off at any timing by a power-off signal S32c supplied from the control unit 32. The logic power supply voltage Vlg2 is supplied to the control unit 32, the I / F unit 33, and the OP unit 35. The alarm circuit 31a has a function of forcibly cutting off the output of the drive system power supply voltage Vdv and the logic power supply voltages Vlg1 and Vlg2 when the alarm signal ALM_N that is an alarm signal output from the detection unit 40 is input.

制御部32は、ヘッドドライバ36に与える制御信号S32a、SPモータドライバ37に与える制御信号S32b、及び検出部40に与えるクリア信号S32c等を出力すると共に、I/F部33及びOP部35との間でデータの送受信を行って、プリンタ全体をプログラム制御するものであり、マイクロコンピュータ等により構成されている。この制御部32には、動作有り信号としてのアナログの検出信号S40aをデジタル信号に変換するアナログ・デジタル変換器(以下「ADC」という。)32a、及び移動状態を示すMVフラグ32b等が設けられている。MVフラグ32bは、制御部32内の例えば汎用レジスタの任意に割り当てたビットであり、省電力モードから復帰する時、省電力モード中にキャリッジ部10が移動したことを検知した場合に、値がセットされる。   The control unit 32 outputs a control signal S32a given to the head driver 36, a control signal S32b given to the SP motor driver 37, a clear signal S32c given to the detection unit 40, and the like, and the I / F unit 33 and the OP unit 35 Data is transmitted and received between them, and the entire printer is program-controlled, and is constituted by a microcomputer or the like. The control unit 32 is provided with an analog / digital converter (hereinafter referred to as “ADC”) 32a that converts an analog detection signal S40a as an operation presence signal into a digital signal, an MV flag 32b that indicates a movement state, and the like. ing. The MV flag 32b is an arbitrarily assigned bit of, for example, a general-purpose register in the control unit 32. When returning from the power saving mode, the MV flag 32b has a value when it is detected that the carriage unit 10 has moved during the power saving mode. Set.

I/F部33は、上位装置80からの印字データの入力を監視する機能等を有している。OP部35は、操作部34からのキーデータの受信を監視する機能等を有している。ヘッドドライバ36は、制御部32から与えられる制御信号S32aに従い、印字ヘッド11を駆動するものである。SPモータドライバ37は、制御部32から与えられる制御信号S32bに従い、駆動信号としての3相の相信号S37aと、放電用のパルス信号S37bとを出力し、その3相の相信号S37aによってSPモータ16を駆動するものである。   The I / F unit 33 has a function of monitoring input of print data from the host device 80. The OP unit 35 has a function of monitoring reception of key data from the operation unit 34. The head driver 36 drives the print head 11 in accordance with a control signal S32a given from the control unit 32. The SP motor driver 37 outputs a three-phase signal S37a as a drive signal and a discharge pulse signal S37b in accordance with a control signal S32b given from the control unit 32, and the SP motor is generated by the three-phase signal S37a. 16 is driven.

検出部40は、SPモータドライバ37から与えられる相信号S37a及びパルス信号S37bと、制御部32から与えられる放電用のクリア信号S32cとを入力し、その相信号S37aによりSPモータドライバ37の駆動を検出してADC32aへ与えるアナログの検出信号S40aを出力すると共に、その相信号S37aの異常状態を検出すると、アラーム回路31aへ与えるアラーム信号ALM_Nを出力する機能を有している。   The detection unit 40 receives the phase signal S37a and the pulse signal S37b given from the SP motor driver 37, and the discharge clear signal S32c given from the control unit 32, and drives the SP motor driver 37 by the phase signal S37a. An analog detection signal S40a that is detected and applied to the ADC 32a is output, and when an abnormal state of the phase signal S37a is detected, an alarm signal ALM_N that is applied to the alarm circuit 31a is output.

図1は、図4中の検出部40等の構成例を示す回路図である。
制御部32は、検出信号S40aを入力するADC32a、MVフラグ32b、3つの制御信号S32bを出力する3つの制御端子SPU,SPV,SPW、及び制御信号としてのクリア信号S32cを出力するクリア端子CLR等を有している。この制御部32の制御端子SPU,SPV,SPWに接続されたSPモータドライバ37は、3つの制御信号S32bを入力する3つの入力端子U,V,W、3相の相信号S37aを出力する3つの出力端子HU,HV,HW、及びパルス信号S37bを出力するパルス端子PLS等を有している。
FIG. 1 is a circuit diagram showing a configuration example of the detection unit 40 and the like in FIG.
The control unit 32 includes an ADC 32a that receives the detection signal S40a, an MV flag 32b, three control terminals SPU, SPV, and SPW that output three control signals S32b, a clear terminal CLR that outputs a clear signal S32c as a control signal, and the like. have. The SP motor driver 37 connected to the control terminals SPU, SPV, SPW of the control unit 32 outputs three input terminals U, V, W for inputting three control signals S32b, and a three-phase signal S37a. It has two output terminals HU, HV, HW, a pulse terminal PLS for outputting a pulse signal S37b, and the like.

検出部40は、入力される3相の相信号S37aにより充電される充電手段としての充電部50と、この充電部50に充電された電荷を放電する放電手段としての放電部60と、3相の相信号S37aからSPモータドライバ37又はSPモータ16の異常状態を検出してアラーム信号ALM−Nを出力する検出手段としてのアラーム検出部70と、により構成されている。   The detection unit 40 includes a charging unit 50 as a charging unit that is charged by the input three-phase signal S37a, a discharging unit 60 as a discharging unit that discharges the charge charged in the charging unit 50, and a three-phase unit. And an alarm detector 70 as detection means for detecting an abnormal state of the SP motor driver 37 or SP motor 16 from the phase signal S37a and outputting an alarm signal ALM-N.

充電部50は、SPモータドライバ37からSPモータ16へ出力される3相の相信号S37aを、3つの順方向のダイオード51〜53、抵抗54、及び検出信号S40aを出力するための検出点N50を介して、コンデンサ55に入力される構成になっている。検出点N50は、制御部32内のADC32aに接続されている。制御部32は、検出点N50上の検出信号S40a(即ち、アナログの電位)をデジタル値として読み取ることができるようになっている。   The charging unit 50 outputs the three-phase signal S37a output from the SP motor driver 37 to the SP motor 16, the detection point N50 for outputting the three forward diodes 51 to 53, the resistor 54, and the detection signal S40a. It is configured to be input to the capacitor 55 via The detection point N50 is connected to the ADC 32a in the control unit 32. The control unit 32 can read the detection signal S40a (that is, an analog potential) on the detection point N50 as a digital value.

放電部60は、制御部32のクリア端子CLRから出力されるクリア信号S32cと、SPモータ16の相切り換え毎にSPモータドライバ37のパルス端子PLSから出力されるパルス信号S37bと、を入力する2入力のオア回路(以下「OR回路」という。)61を有している。OR回路61の出力端子は、NPN形トランジスタ62のベースに接続されている。トランジスタ62は、エミッタが、第2基準電位としてのグランド(0V)に接続され、コレクタが、抵抗63を介して検出点N50に接続されている。   The discharge unit 60 inputs a clear signal S32c output from the clear terminal CLR of the control unit 32 and a pulse signal S37b output from the pulse terminal PLS of the SP motor driver 37 every time the SP motor 16 is phase-switched 2 An input OR circuit (hereinafter referred to as “OR circuit”) 61 is provided. The output terminal of the OR circuit 61 is connected to the base of the NPN transistor 62. The transistor 62 has an emitter connected to the ground (0 V) as the second reference potential, and a collector connected to the detection point N50 via the resistor 63.

アラーム検出部70は、検出点N50にカソードが接続されたツェナーダイオード71を有している。ツェナーダイオード71は、カソード側の検出点N50の電位が第1基準電位としてのツェナー電圧Vzdを超えると、カソード・アノード間がオン状態になるダイオードである。このツェナーダイオード71のアノードは、NPN形トランジスタ72のベースに接続されている。トランジスタ72は、エミッタが、グランド(0V)に接続され、コレクタが、抵抗73を介してロジック電源電圧Vlg1によってプルアップされている。トランジスタ72のコレクタから、アラーム信号ALM−Nが出力されるようになっている。   The alarm detection unit 70 includes a Zener diode 71 having a cathode connected to the detection point N50. The Zener diode 71 is a diode that is turned on between the cathode and the anode when the potential at the detection point N50 on the cathode side exceeds the Zener voltage Vzd as the first reference potential. The anode of the Zener diode 71 is connected to the base of the NPN transistor 72. The transistor 72 has an emitter connected to the ground (0 V) and a collector pulled up by the logic power supply voltage Vlg1 through the resistor 73. An alarm signal ALM-N is output from the collector of the transistor 72.

(実施例1のプリンタ制御方法)
プリンタ1の運転、待機、及び省電力モードの通常動作(1)と、プリンタ1の待機状態から省電力モードへの移行動作、及び省電力モードから省電力モード解除への移行動作(2)と、について以下説明する。
(Printer control method of embodiment 1)
Normal operation (1) of the operation, standby, and power saving mode of the printer 1, transition operation from the standby state of the printer 1 to the power saving mode, and transition operation (2) from the power saving mode to canceling the power saving mode. Will be described below.

(1) プリンタ1の運転、待機、及び省電力モードの通常動作
図5は、図1中の検出部40における通常動作時の電圧波形図である。更に、図6は、図1中の検出部40における異常時の電圧波形図である。
(1) Normal Operation in Operation, Standby, and Power Saving Mode of Printer 1 FIG. 5 is a voltage waveform diagram during normal operation in the detection unit 40 in FIG. Further, FIG. 6 is a voltage waveform diagram at the time of abnormality in the detection unit 40 in FIG.

図5及び図6において、横軸は時間である。縦軸は、電圧であり、SPモータドライバ37の3つの出力端子HU,HV,HWから出力される3相の相信号S37a、パルス端子PLSから出力されるパルス信号S37b、ツェナーダイオード71のツェナー電圧Vzd、及び検出点N50の電位が示されている。   5 and 6, the horizontal axis represents time. The vertical axis represents voltage, the three-phase signal S37a output from the three output terminals HU, HV, and HW of the SP motor driver 37, the pulse signal S37b output from the pulse terminal PLS, and the Zener voltage of the Zener diode 71. Vzd and the potential at the detection point N50 are shown.

図4において、図示しない電源スイッチをオン状態にすると、電源部31から駆動系電源電圧Vdv及びロジック電源電圧Vlg1,Vlg2が出力される。駆動系電源電圧Vdvは、ヘッドドライバ36及びSPモータドライバ37へ供給され、ロジック電源電圧Vlg1は、モータセンサ17及び制御部40へ供給され、更に、ロジック電源電圧Vlg2は、制御部32、I/F部33、及びOP部35へ供給される。これにより、プリンタ1が動作可能状態になる。   In FIG. 4, when a power switch (not shown) is turned on, the drive system power supply voltage Vdv and the logic power supply voltages Vlg1 and Vlg2 are output from the power supply unit 31. The drive system power supply voltage Vdv is supplied to the head driver 36 and the SP motor driver 37, the logic power supply voltage Vlg1 is supplied to the motor sensor 17 and the control unit 40, and the logic power supply voltage Vlg2 is supplied to the control unit 32, I / O. It is supplied to the F unit 33 and the OP unit 35. As a result, the printer 1 becomes operable.

例えば、上位装置80からプリンタ制御装置30へ印字データが送られて来ると、この印字データが、I/F部33を介して制御部32に入力される。制御部32では、入力された印字データに基づき、制御信号S32a,S32b及びクリア信号S32cを出力し、その制御信号S32aをヘッドドライバ36に入力すると共に、その制御信号S32bをSPモータドライバ37に入力し、更に、クリア信号S32cを検出部40に入力する。ヘッドドライバ36は、入力された制御信号S32aに基づき、キャリッジ部10内の印字ヘッド11を駆動する。   For example, when print data is sent from the host device 80 to the printer control device 30, the print data is input to the control unit 32 via the I / F unit 33. The control unit 32 outputs control signals S32a, S32b and a clear signal S32c based on the input print data, inputs the control signal S32a to the head driver 36, and inputs the control signal S32b to the SP motor driver 37. Further, the clear signal S32c is input to the detection unit 40. The head driver 36 drives the print head 11 in the carriage unit 10 based on the input control signal S32a.

更に、SPモータドライバ37は、入力された制御信号S32bに基づき、3相の相信号S37a、及びパルス信号S37bを出力し、その3相の相信号S37aを検出部40及びSPモータ16に入力すると共に、そのパルス信号S37bを検出部40に入力する。すると、検出部40が動作すると共に、キャリッジ部10内のSPモータ16が回転する。SPモータ16の回転により、図3中のキャリッジシャフト12が回転し、キャリッジ部10が左右に移動する。これにより、プリンタ制御装置30に入力された印字データに対応した文字等が、印字ヘッド11によって用紙に印字される。   Further, the SP motor driver 37 outputs a three-phase signal S37a and a pulse signal S37b based on the input control signal S32b, and inputs the three-phase signal S37a to the detection unit 40 and the SP motor 16. At the same time, the pulse signal S37b is input to the detection unit 40. Then, the detection unit 40 operates and the SP motor 16 in the carriage unit 10 rotates. As the SP motor 16 rotates, the carriage shaft 12 in FIG. 3 rotates and the carriage unit 10 moves to the left and right. As a result, characters and the like corresponding to the print data input to the printer control device 30 are printed on the paper by the print head 11.

図1及び図5において、印字動作中、検出部40は、SPモータドライバ37の3つの出力端子HU,HV,HWから順に出力される3相の相信号S37aを監視している。3相の相信号S37aは、それぞれダイオード51〜53を通って抵抗54で制限され、この制限された電流が、コンデンサ55に流れ込み、このコンデンサ55が充電される。コンデンサ55の充電量に応じて、検出点N50の電位が上昇する。SPモータドライバ37のパルス端子PLSからは、3相の相信号S37aの切り替わりに対応したパルス信号S37bが出力される。パルス信号S37bが低レベル(以下「“L”レベル」という。)から高レベル(以下「“H”レベル」という。)に変化すると、OR回路61を通してトランジスタ62がオン状態になる。   1 and 5, during the printing operation, the detection unit 40 monitors a three-phase phase signal S37a that is output in order from the three output terminals HU, HV, and HW of the SP motor driver 37. The three-phase signal S37a is limited by the resistor 54 through the diodes 51 to 53, and the limited current flows into the capacitor 55, and the capacitor 55 is charged. The potential at the detection point N50 increases according to the amount of charge of the capacitor 55. From the pulse terminal PLS of the SP motor driver 37, a pulse signal S37b corresponding to switching of the three-phase signal S37a is output. When the pulse signal S37b changes from a low level (hereinafter referred to as “L” level) to a high level (hereinafter referred to as “H” level), the transistor 62 is turned on through the OR circuit 61.

トランジスタ62がオン状態になると、コンデンサ55に充電された電荷が、抵抗63を通して第2基準電位のグランド側に放電され、検出点N50の電位が下降する。コンデンサ55の放電量は、抵抗63の定数により制限される。通常動作時においては、検出点N50の電位がツェナー電圧Vzdを超えないので、ツェナーダイオード71がオフ状態である。   When the transistor 62 is turned on, the charge charged in the capacitor 55 is discharged to the ground side of the second reference potential through the resistor 63, and the potential at the detection point N50 falls. The discharge amount of the capacitor 55 is limited by the constant of the resistor 63. During normal operation, the Zener diode 71 is off because the potential at the detection point N50 does not exceed the Zener voltage Vzd.

図6において、印字動作中、何らかの原因で3相の相信号S37aが切り替わらずに、固定されるような異常が発生した場合、SPモータドライバ37から出力されるパルス信号S37bが“L”レベルのままとなる。そのため、OR回路61を通してトランジスタ62がオフ状態を維持し、コンデンサ55の蓄積電荷が放電されないので、検出点N50の電位が上昇していく。検出点N50の電位がツェナー電圧Vzdを超えると、ツェナーダイオード71がオン状態になり、トランジスタ72がオン状態になる(異常動作検出処理)。トランジスタ72がオン状態になると、このトランジスタ72のコレクタ電位が0V近くの“L”レベルになる。これにより、トランジスタ72のコレクタから出力されるアラーム信号ALM_Nが、“H”レベルから“L”レベルに変化する。“L”レベルのアラーム信号ALM_Nは、図4の電源部31内のアラーム回路31aに入力される。そのため、アラーム回路31aにより、駆動系電源電圧Vdv及びロジック電源電圧Vlg1,Vlg2の出力が遮断され、プリンタ1の動作が停止する。   In FIG. 6, during the printing operation, when an abnormality such that the three-phase signal S37a does not switch for some reason and is fixed, the pulse signal S37b output from the SP motor driver 37 is at the “L” level. Will remain. Therefore, the transistor 62 is maintained in the OFF state through the OR circuit 61, and the accumulated charge in the capacitor 55 is not discharged, so that the potential at the detection point N50 increases. When the potential at the detection point N50 exceeds the Zener voltage Vzd, the Zener diode 71 is turned on and the transistor 72 is turned on (abnormal operation detection process). When the transistor 72 is turned on, the collector potential of the transistor 72 becomes “L” level near 0V. As a result, the alarm signal ALM_N output from the collector of the transistor 72 changes from the “H” level to the “L” level. The “L” level alarm signal ALM_N is input to the alarm circuit 31a in the power supply unit 31 of FIG. Therefore, the output of the drive system power supply voltage Vdv and the logic power supply voltages Vlg1 and Vlg2 is cut off by the alarm circuit 31a, and the operation of the printer 1 is stopped.

図4において、プリンタ制御装置30に印字データが入力されない場合、プリンタ制御装置30は、動作可能な待機状態になり、上位装置80からの印字データの入力を待つ。制御部32は、上位装置80からI/F部33を経由した印字データの入力や、操作部34からOP部35を経由したキーデータの受信を監視し、待機状態が一定時間継続したか否かを判断し、一定時間に達した場合は、所定の検出部リセット処理を行った後、省電力モードへ移行する。   In FIG. 4, when print data is not input to the printer control device 30, the printer control device 30 enters an operable standby state and waits for input of print data from the host device 80. The control unit 32 monitors the input of print data from the host device 80 via the I / F unit 33 and the reception of key data from the operation unit 34 via the OP unit 35, and determines whether or not the standby state has continued for a certain period of time. If a predetermined time is reached, a predetermined detection unit reset process is performed, and then the mode shifts to the power saving mode.

省電力モードへ移行する場合、制御部32は、例えば、“H”レベルの電源オフ信号S32dを出力して電源部31に入力する。電源部31は、駆動系電源電圧Vdv及びロジック電源電圧Vlg1の出力を停止する。これにより、ヘッドドライバ36及びSPモータドライバ37の動作が停止すると共に、モータセンサ17及び検出部40の動作が停止し、省電力モードになって消費電力が低減される。   In the case of shifting to the power saving mode, the control unit 32 outputs, for example, an “H” level power-off signal S32d and inputs the power-off signal S32d. The power supply unit 31 stops outputting the drive system power supply voltage Vdv and the logic power supply voltage Vlg1. As a result, the operations of the head driver 36 and the SP motor driver 37 are stopped, and the operations of the motor sensor 17 and the detection unit 40 are stopped, and the power saving mode is set to reduce the power consumption.

省電力モードにおいて、電源部31は、ロジック電源電圧Vlg2を出力して、制御部32、I/F部33及びOP部35を動作させる。省電力モード中、制御部32は、上位装置80からI/F部33を経由した印字データの入力や、操作部34からOP部35を経由したキーデータの受信を監視し、省電力モードを解除する事象が発生した場合、所定の検出部確認処理を行った後、省電力モード解除へ移行する。省電力モード解除を行う場合、制御部32は、例えば、“L”レベルの電源オフ信号S32dを出力して電源部31に入力する。これにより、電源部31から、駆動系電源電圧Vdv及びロジック電源電圧Vlg1が出力され、プリンタ制御装置30は、省電力モードが解除されて待機状態に復帰する。   In the power saving mode, the power supply unit 31 outputs the logic power supply voltage Vlg2 to operate the control unit 32, the I / F unit 33, and the OP unit 35. During the power saving mode, the control unit 32 monitors the input of print data from the host device 80 via the I / F unit 33 and the reception of key data from the operation unit 34 via the OP unit 35, and sets the power saving mode. When an event to be canceled occurs, a predetermined detection unit confirmation process is performed, and then the process proceeds to power saving mode cancellation. When canceling the power saving mode, the control unit 32 outputs, for example, an “L” level power-off signal S 32 d and inputs the power-off mode S 32 d. As a result, the drive system power supply voltage Vdv and the logic power supply voltage Vlg1 are output from the power supply unit 31, and the printer control device 30 is released from the power saving mode and returns to the standby state.

(2) プリンタ1の待機状態から省電力モードへの移行動作、及び省電力モードから省電力モード解除への移動動作   (2) The operation of shifting the printer 1 from the standby state to the power saving mode, and the movement operation from the power saving mode to the power saving mode canceling.

図7は、図1の回路において待機状態から省電力モードへの移行動作を示す回路図である。   FIG. 7 is a circuit diagram showing an operation of shifting from the standby state to the power saving mode in the circuit of FIG.

図7において、プリンタ制御装置30は、待機状態の時、制御部32から出力されるクリア信号S32cが“L”レベル、及びSPモータドライバ37から出力されるパルス信号S37bが“L”レベルである。そのため、OR回路61の出力信号が“L”レベルであり、トランジスタ62がオフ状態を維持する。SPモータドライバ37からは、3相の相信号S37aが順に出力されているので、図7中の矢印で示すように、その3相の相信号S37aがダイオード51〜53及び抵抗54を経由してコンデンサ55へ流れ、このコンデンサ55が充電される。   In FIG. 7, when the printer control device 30 is in a standby state, the clear signal S32c output from the control unit 32 is “L” level, and the pulse signal S37b output from the SP motor driver 37 is “L” level. . Therefore, the output signal of the OR circuit 61 is at the “L” level, and the transistor 62 is kept off. Since the SP motor driver 37 sequentially outputs the three-phase phase signal S37a, the three-phase phase signal S37a passes through the diodes 51 to 53 and the resistor 54 as shown by the arrows in FIG. It flows to the capacitor 55, and this capacitor 55 is charged.

省電力モードへ移行する場合は、制御部32から出力されるクリア信号S32cが“L”レベルから“H”レベルに変化する。すると、OR回路61の出力信号が“H”レベルになり、トランジスタ62がオン状態になる。これにより、図7中の矢印で示すように、コンデンサ55に蓄積された電荷が、抵抗63及びトランジスタ62を経由してグランド(0V)側へ放電され、検出点N50の電位が第2基準電位である略0Vになる(電位切り換え処理)。   When shifting to the power saving mode, the clear signal S32c output from the control unit 32 changes from the “L” level to the “H” level. Then, the output signal of the OR circuit 61 becomes “H” level, and the transistor 62 is turned on. As a result, as indicated by an arrow in FIG. 7, the charge accumulated in the capacitor 55 is discharged to the ground (0 V) side via the resistor 63 and the transistor 62, and the potential at the detection point N50 becomes the second reference potential. Is approximately 0V (potential switching process).

図8は、図1の回路において省電力モードから省電力解除への移行動作を示す回路図である。   FIG. 8 is a circuit diagram showing an operation of shifting from the power saving mode to the power saving cancellation in the circuit of FIG.

図8において、省電力モード中、何らかの要因でキャリッジ部10が変移し、SPモータ16が回転すると、このSPモータ16に逆起電圧が発生する。発生した逆起電圧により、図8中の矢印で示すように、ダイオード51〜53及び抵抗54を経由して、コンデンサ55へ電流が流れ、このコンデンサ55が充電される。コンデンサ55が充電されると、検出点N50の電位が上昇するので、電位の上昇した検出信号S40aが制御部32内のADC32aに入力される。これにより、制御部32は、省電力モード中にキャリッジ部10が変移したかどうかを検知することができる(駆動系デバイス動作検出処理)。   In FIG. 8, when the carriage unit 10 is shifted for some reason during the power saving mode and the SP motor 16 rotates, a counter electromotive voltage is generated in the SP motor 16. The generated back electromotive voltage causes a current to flow to the capacitor 55 via the diodes 51 to 53 and the resistor 54 as shown by the arrows in FIG. 8, and the capacitor 55 is charged. When the capacitor 55 is charged, the potential at the detection point N50 increases, so that the detection signal S40a with the increased potential is input to the ADC 32a in the control unit 32. Thereby, the control part 32 can detect whether the carriage part 10 changed during the power saving mode (driving system device operation detection process).

図9は、図7及び図8の動作を示す電圧波形図である。
図9において、横軸は時間であり、待機状態、省電力モード、及び省電力モード解除の状態が示されている。縦軸は、電圧であり、SPモータドライバ37の3つの出力端子HU,HV,HWから出力される3相の相信号S37a、パルス端子PLSから出力されるパルス信号S37b、検出点N50の電位、及び制御部32のクリア端子CLRから出力されるクリア信号S32cが示されている。
FIG. 9 is a voltage waveform diagram showing the operation of FIG. 7 and FIG.
In FIG. 9, the horizontal axis represents time, and shows a standby state, a power saving mode, and a state in which the power saving mode is released. The vertical axis represents voltage, the three-phase signal S37a output from the three output terminals HU, HV, and HW of the SP motor driver 37, the pulse signal S37b output from the pulse terminal PLS, the potential at the detection point N50, In addition, a clear signal S32c output from the clear terminal CLR of the control unit 32 is shown.

待機状態の場合は、図7に示すように、コンデンサ55が充電されているので、検出点N50の電位が“H”レベルになっている。待機状態から省電力モードへ移行する場合は、省電力モードに入る前に、図9に示すように、制御部32のクリア端子CLRから出力されるクリア信号S32cを“L”レベルから“H”レベルに立ち上げる。これにより、OR回路61を通してトランジスタ62がオン状態になり、コンデンサ55に充電された電荷が、抵抗63及びトランジスタ62を通してグランド(0V)側へ放電され、検出点N50の電位が第2基準電位である0V相当へ降下する。   In the standby state, as shown in FIG. 7, since the capacitor 55 is charged, the potential at the detection point N50 is at the “H” level. When shifting from the standby state to the power saving mode, before entering the power saving mode, as shown in FIG. 9, the clear signal S32c output from the clear terminal CLR of the control unit 32 is changed from “L” level to “H”. Launch to level. As a result, the transistor 62 is turned on through the OR circuit 61, the charge charged in the capacitor 55 is discharged to the ground (0V) side through the resistor 63 and the transistor 62, and the potential at the detection point N50 is the second reference potential. It drops to some 0V equivalent.

省電力モードにおいて、図8に示すように、何らかの要因でキャリッジ部10が変移した場合は、SPモータ16の逆起電圧により、ダイオード51〜53及び抵抗54を通してコンデンサ55が充電され、検出点N50の電位がVa1へと上昇する。この状態で、省電力モード解除を行って待機状態へ復帰する。   In the power saving mode, as shown in FIG. 8, when the carriage unit 10 is shifted due to some factor, the capacitor 55 is charged through the diodes 51 to 53 and the resistor 54 by the back electromotive voltage of the SP motor 16, and the detection point N50 is detected. Increases to Va1. In this state, the power saving mode is canceled to return to the standby state.

図10は、図7及び図8の動作を示すフローチャートである。図11は、図10中の検出部リセット処理を示すフローチャートである。更に、図12は、図10中の検出部確認処理を示すフローチャートである。   FIG. 10 is a flowchart showing the operations of FIGS. FIG. 11 is a flowchart showing the detection unit reset process in FIG. Further, FIG. 12 is a flowchart showing the detection unit confirmation processing in FIG.

図10では、プリンタ1の待機状態から省電力モードに入り、省電力モード解除から待機状態に復帰するまでの処理(即ち、待機→省電力モード→省電力モード解除→待機の処理)が示されている。   FIG. 10 shows processing from the standby state of the printer 1 to entering the power saving mode and from the cancellation of the power saving mode to returning to the standby state (that is, standby → power saving mode → power saving mode release → standby processing). ing.

以下、図4〜図9を参照しつつ、図10のフローチャートのステップST1〜ST10の処理と、図11のフローチャートのステップST21〜ST24の処理と、図12のフローチャートのステップST31〜ST34の処理と、を説明する。   Hereinafter, with reference to FIGS. 4 to 9, the processes of steps ST1 to ST10 in the flowchart of FIG. 10, the processes of steps ST21 to ST24 of the flowchart of FIG. 11, and the processes of steps ST31 to ST34 of the flowchart of FIG. , Will be explained.

図10において、ステップST1は、プリンタ1の待機状態であり、図4中の上位装置80からの印字データの入力を、I/F部33を通して制御部32が監視する共に、操作部34からのキーデータの受信を、OP部35を通して制御部32が監視している。   In FIG. 10, step ST <b> 1 is a standby state of the printer 1. The control unit 32 monitors the input of print data from the host device 80 in FIG. 4 through the I / F unit 33, and from the operation unit 34. The control unit 32 monitors reception of the key data through the OP unit 35.

ステップST2では、ステップST1の待機状態が一定時間継続(即ち、経過)したか否かを制御部32が判断し、一定時間に達しない場合(N)は、ステップST1を継続し、一定時間に達した場合(Y)は、ステップST3の検出部リセット処理に入る。   In step ST2, the control unit 32 determines whether or not the standby state in step ST1 has continued (ie, elapsed). If the predetermined time has not been reached (N), step ST1 is continued and the constant time is reached. If it has reached (Y), the detection unit reset process of step ST3 is started.

ステップST3の検出部リセット処理を、図11のフローチャートと図7の回路図とを参照しつつ説明する。   The detection unit reset process in step ST3 will be described with reference to the flowchart of FIG. 11 and the circuit diagram of FIG.

先ず、検出部リセット処理では、図11のステップST21において、図7の制御部32のクリア端子CLRから出力されるクリア信号S32cを“L”レベルから“H”レベルに変化させる。CLR信号S32cが“H”レベルになると、OR回路61の出力信号が“H”レベルになり、トランジスタ62がオン状態になる。これにより、コンデンサ55に充電された電荷が放電され、検出点N50の電位が0Vに近づく(電位切り換え処理)。ステップST22において、検出点N50の電位を制御部32内のADC32aで読み取り(Va)、ステップST23において、検出点N50の電位が十分に放電されたかどうかを制御部32で判断する。ステップST23において、ADC32aで読み取った値VaがVa≠0Vの場合は(N)、ステップST22を繰り返し、Va≒0Vになれば(Y)、読み取った値Vaを制御部32に保存する。ステップST24において、制御部32は、クリア信号S32cを“H”レベルから“L”レベルに変化させて放電を中止させ、図11の検出部リセット処理を終了する。   First, in the detection unit reset process, in step ST21 of FIG. 11, the clear signal S32c output from the clear terminal CLR of the control unit 32 of FIG. 7 is changed from the “L” level to the “H” level. When the CLR signal S32c becomes “H” level, the output signal of the OR circuit 61 becomes “H” level, and the transistor 62 is turned on. Thereby, the electric charge charged in the capacitor 55 is discharged, and the potential of the detection point N50 approaches 0V (potential switching process). In step ST22, the potential of the detection point N50 is read by the ADC 32a in the control unit 32 (Va). In step ST23, the control unit 32 determines whether or not the potential of the detection point N50 is sufficiently discharged. In step ST23, when the value Va read by the ADC 32a is Va ≠ 0V (N), step ST22 is repeated. When Va≈0V is satisfied (Y), the read value Va is stored in the control unit 32. In step ST24, the control unit 32 changes the clear signal S32c from the “H” level to the “L” level to stop the discharge, and ends the detection unit reset process of FIG.

図10において、ステップST3の検出部リセット処理が完了すると、ステップST4の省電力モードに入る。ステップST5において、省電力モード中は、省電力モードを解除する事象(例えば、上位装置80からの印字データの入力や、操作部34からのキーデータの受信)が発生したかどうかを、制御部32が監視し、省電力モードを解除する事象が発生した場合は(Y)、ステップST6の検出部確認処理へ移行する。   In FIG. 10, when the detection unit reset process of step ST3 is completed, the power saving mode of step ST4 is entered. In step ST5, during the power saving mode, the control unit determines whether an event to cancel the power saving mode (for example, input of print data from the host device 80 or reception of key data from the operation unit 34) has occurred. When the event which cancels | emits power saving mode which 32 monitors and generate | occur | produces (Y), it transfers to the detection part confirmation process of step ST6.

ステップST6の検出部確認処理を、図12のフローチャートと図8の回路図とを参照しつつ説明する。   The detection unit confirmation processing in step ST6 will be described with reference to the flowchart in FIG. 12 and the circuit diagram in FIG.

図12のステップST31において、検出点N50の電位を示す検出信号S40aを、制御部32内のADC32aで再度読み取る。ステップST32において、その読み取った値Va1と、図10のステップST3における検出部リセット処理で読み取った値Vaと、を制御部32で比較する。比較結果が値Va1≒Vaであれば(Y)、ステップST33において、制御部32内のMVフラグ32bに“0”をセットし、比較結果が値Va1≠Vaであれば(N)、ステップST34において、MVフラグ32bに“1”をセットし、検出部確認処理を終了する。   In step ST31 of FIG. 12, the detection signal S40a indicating the potential of the detection point N50 is read again by the ADC 32a in the control unit 32. In step ST32, the read value Va1 is compared with the value Va read in the detection unit reset process in step ST3 of FIG. If the comparison result is the value Va1≈Va (Y), in step ST33, “0” is set to the MV flag 32b in the control unit 32, and if the comparison result is the value Va1 ≠ Va (N), step ST34. Then, “1” is set in the MV flag 32b, and the detection unit confirmation process is terminated.

前記ステップST32において、比較結果が値Va1≠Vaとなる場合について、図8の回路図及び図9の動作波形図を参照しつつ説明する。   A case where the comparison result is the value Va1 ≠ Va in step ST32 will be described with reference to the circuit diagram of FIG. 8 and the operation waveform diagram of FIG.

図8において、十分放電された検出点N50の電位が上昇するのは、省電力モード中に何らかの要因でキャリッジ部10が変移するからである。キャリッジ部10が変移すると、この変移と共にSPモータ16が回転して逆起電圧が発生する。この発生した逆起電力により、矢印のように、SPモータ16からダイオード51〜53及び抵抗54を通して、コンデンサ55に電流が流れ、このコンデンサ55が充電されて検出点N50の電位が上昇する。図9には、待機状態から省電力モードに移行し、省電力モード中にキャリッジ部10が変化した場合の検出点N50の電位の変化が示されている。図9に示すように、省電力モードに入る前の検出点N50の電位(0V)と、省電力モードを解除する前の検出点N50の電位(Va1)と、を比較することにより、省電力モード中にキャリッジ部10が変移したかどうかを検知することができる(駆動系デバイス動作検出処理)。   In FIG. 8, the potential of the sufficiently discharged detection point N50 is increased because the carriage unit 10 is shifted for some reason during the power saving mode. When the carriage unit 10 changes, the SP motor 16 rotates with the change and a back electromotive voltage is generated. Due to the generated back electromotive force, current flows from the SP motor 16 to the capacitor 55 through the diodes 51 to 53 and the resistor 54, as shown by the arrow, and the capacitor 55 is charged to increase the potential at the detection point N50. FIG. 9 shows a change in potential at the detection point N50 when the standby state is shifted to the power saving mode and the carriage unit 10 changes during the power saving mode. As shown in FIG. 9, by comparing the potential (0 V) of the detection point N50 before entering the power saving mode with the potential (Va1) of the detection point N50 before canceling the power saving mode, power saving is achieved. It is possible to detect whether the carriage unit 10 has changed during the mode (drive system device operation detection process).

図10のステップST6における検出部確認処理が終了すると、制御部32は、ステップST7において、省電力モードの解除を行い、ステップST9の待機状態に復帰する前に、ステップST8において、MVフラグ32bを確認する。制御部32は、ステップST8において、MVフラグ32bが“0”の場合(即ち、省電力モード中にキャリッジ部10の変移がなかった場合)、そのままステップST9の待機状態に復帰する。制御部32は、MVフラグ32bが“1”の場合(即ち、省電力モード中に何らかの要因でキャリッジ部10が変移した場合)、ステップST10において、キャリッジ部10のホーミング処理を実施し、キャリッジ部10のホームポジションを再設定してからステップST9の待機状態に復帰する。   When the detection unit confirmation process in step ST6 of FIG. 10 is completed, the control unit 32 cancels the power saving mode in step ST7, and sets the MV flag 32b in step ST8 before returning to the standby state in step ST9. Check. In step ST8, when the MV flag 32b is “0” (that is, when the carriage unit 10 has not changed during the power saving mode), the control unit 32 returns to the standby state in step ST9. When the MV flag 32b is “1” (that is, when the carriage unit 10 is changed for some reason during the power saving mode), the control unit 32 performs the homing process of the carriage unit 10 in step ST10, After resetting the home position of 10, the process returns to the standby state of step ST9.

(実施例1の効果)
本実施例1によれば、比較例(a)に比べて、次の(b)のような効果がある。
(Effect of Example 1)
According to the first embodiment, the following effect (b) is obtained as compared with the comparative example (a).

(a) 比較例
比較例のシリアルプリンタの制御方法及び制御装置では、シリアルプリンタの外部装置からの印字データの入力を監視するI/F部、及び操作部からのキーデータの受信を監視するOP部に対しては、バッテリ電源等の電力容量の小さなサブ電源から電源電圧を供給し、印字駆動系を駆動制御すると共にプリンタ全体を制御するプリンタ制御部に対しては、交流/直流変換器等の電力容量の大きなメイン電源から電源電圧を供給する構成になっている。データ入力待ちの待機中に、メイン電源をオフ状態にしてサブ電源をオン状態とし、待機中の消費電力を低減する省電力モードを有している。そして、印字データの入力もしくはキーデータの受信があると、省電力モードを解除し、メイン電源をオン状態にして印字動作に入るような制御を行っている。
(A) Comparative Example In the serial printer control method and control apparatus of the comparative example, an I / F unit that monitors input of print data from an external device of the serial printer, and an OP that monitors reception of key data from the operation unit A power supply voltage is supplied from a sub-power source with a small power capacity such as a battery power source to the printer unit, and a print control system is driven and controlled, and an AC / DC converter or the like is used for a printer control unit that controls the entire printer. The power supply voltage is supplied from the main power supply having a large power capacity. While waiting for data input, the main power supply is turned off and the sub power supply is turned on to have a power saving mode for reducing power consumption during standby. When print data is input or key data is received, the power saving mode is canceled, and the main power is turned on to perform a control to enter a print operation.

しかしながら、比較例のシリアルプリンタの制御方法及び制御装置では、次のような欠点がある。   However, the serial printer control method and control apparatus of the comparative example have the following drawbacks.

省電力モード中にオペレータによりシリアルプリンタのアクセスカバーを開ければ、容易に、印字駆動系である印字ヘッドを搭載したキャリッジ部を移動させることができる。しかし、省電力モード中は、I/F部への印字データの入力、及びOP部へのキーデータの受信以外の電源がオフ状態になっているため、印字ヘッドを搭載したキャリッジ部が変移したか否かを判断できない。   If an operator opens the access cover of the serial printer during the power saving mode, the carriage portion on which the print head that is the print drive system is mounted can be easily moved. However, during the power-saving mode, the power supply other than the input of print data to the I / F part and the reception of key data to the OP part is turned off, so that the carriage part on which the print head is mounted has changed. I cannot judge whether or not.

そのため、省電力モードから復帰する際、省電力モード中のキャリッジ部の移動有無に拘わらず、キャリッジ部のイニシャル動作(即ち、ホーミング動作)をしなければならない。その結果、省電力中にキャリッジ部の移動がない場合には、不必要な動作を行うことになり、復帰までの時間と電力が無駄であり、又、省電力モード中からの復帰時にキャリッジ部のイニシャル動作をしない場合、省電力モード中にキャリッジ部が移動されていれば、復帰後の印字位置がずれたまま印字されてしまう。   Therefore, when returning from the power saving mode, the carriage unit must perform an initial operation (ie, a homing operation) regardless of whether the carriage unit is moving or not in the power saving mode. As a result, if there is no movement of the carriage unit during power saving, unnecessary operations will be performed, and the time and power to return will be wasted, and the carriage unit will not be used when returning from the power saving mode. When the initial operation is not performed, if the carriage unit is moved during the power saving mode, printing is performed with the print position after the return being shifted.

(b) 実施例1の効果
本実施例1によれば、SPモータドライバ37及びSPモータ16の異常状態を検出する検出部40を、キャリッジ部10の変移により発生する逆起電圧の検出可能な構成にしている。そのため、検出部40により、省電力モード中に何らかの要因でキャリッジ部10が動いたことを検知することができ、省電力モードから復帰する際、キャリッジ部位置のイニシャル処理の要否が判断できる。
(B) Effects of First Embodiment According to the first embodiment, the detection unit 40 that detects abnormal states of the SP motor driver 37 and the SP motor 16 can detect the back electromotive voltage generated by the displacement of the carriage unit 10. It has a configuration. Therefore, the detection unit 40 can detect that the carriage unit 10 has moved for some reason during the power saving mode, and can determine whether or not the initial processing of the carriage unit position is necessary when returning from the power saving mode.

その結果、省電力モード中にキャリッジ部10が変移した場合は、キャリッジ部10のイニシャル動作をすることで、印字ずれを防止し、これに対して、省電力モード中にキャリッジ部10が変移していない場合は、キャリッジ部10のイニシャル動作をする必要が無いので、無駄な電力の消費を抑えることができる。従って、比較的簡単な回路構成により、前記比較例の欠点を解決できる。   As a result, when the carriage unit 10 changes during the power saving mode, the carriage unit 10 performs an initial operation to prevent print misalignment. On the other hand, the carriage unit 10 changes during the power saving mode. If not, it is not necessary to perform the initial operation of the carriage unit 10, so that wasteful power consumption can be suppressed. Therefore, the drawbacks of the comparative example can be solved with a relatively simple circuit configuration.

(実施例2の構成)
図13は、本発明の実施例2におけるラインフィード機構を示す概略の斜視図であり、実施例1のプリンタ1を示す図2及び図3中の要素と共通の要素には共通の符号が付されている。
(Configuration of Example 2)
FIG. 13 is a schematic perspective view showing a line feed mechanism according to the second embodiment of the present invention. Elements common to those in FIGS. 2 and 3 showing the printer 1 according to the first embodiment are denoted by common reference numerals. Has been.

本実施例2のラインフィード機構20は、図2及び図3のプリンタ1内に設けられた用紙搬送用の機構である。ラインフィード機構20は、ラインフィードモータ(以下「LFモータ」という。)21の駆動力により、付属のプラテンギア22、トラクタギア23、及びベルト24等を介して、連続用紙搬送用のトラクタ25や、カット紙搬送用のプラテン14を回転させるようになっている。LFモータ21は、ステッピングモータ等の同期電動機により構成されている。プラテン14は、このプラテン14の軸に取り付けられたプラテンノブ15によっても回転させることができる。   The line feed mechanism 20 according to the second embodiment is a paper transport mechanism provided in the printer 1 shown in FIGS. The line feed mechanism 20 is driven by a line feed motor (hereinafter referred to as “LF motor”) 21 through a platen gear 22, a tractor gear 23, a belt 24, etc. The platen 14 for transporting the cut sheet is rotated. The LF motor 21 is configured by a synchronous motor such as a stepping motor. The platen 14 can also be rotated by a platen knob 15 attached to the axis of the platen 14.

図14は、本発明の実施例2におけるリボンフィード機構を示す概略の斜視図であり、実施例1を示す図2及び図3中の要素と共通の要素には共通の符号が付されている。   FIG. 14 is a schematic perspective view showing a ribbon feed mechanism according to the second embodiment of the present invention. Elements common to those in FIGS. 2 and 3 showing the first embodiment are denoted by common reference numerals. .

本実施例2のリボンフィード機構26は、図2及び図3のプリンタ1内に設けられ、リボンカートリッジ13内のインクリボン13aを巻き取る機構である。リボンフィード機構26は、リボンモータ27の駆動力により、付属のギア27aを介してリボンドライブギア28を回転させることで、リボンカートリッジ13内のインクリボン13aを巻き取るようになっている。リボンモータ27は、ステッピングモータ等の同期電動機により構成されている。リボンドライブギア28は、リボンカートリッジ13のドライブローラ29にも接続されており、ドライブローラ29を手動で回転させることで、インクリボン13aの弛みを取ることもできる。   The ribbon feed mechanism 26 of the second embodiment is a mechanism that is provided in the printer 1 of FIGS. 2 and 3 and winds up the ink ribbon 13 a in the ribbon cartridge 13. The ribbon feed mechanism 26 is configured to take up the ink ribbon 13a in the ribbon cartridge 13 by rotating the ribbon drive gear 28 via the attached gear 27a by the driving force of the ribbon motor 27. The ribbon motor 27 is configured by a synchronous motor such as a stepping motor. The ribbon drive gear 28 is also connected to a drive roller 29 of the ribbon cartridge 13, and the ink ribbon 13a can be loosened by manually rotating the drive roller 29.

図15は、図2及び図3のプリンタ1内に収容された実施例2におけるプリンタ制御装置の概略の構成を示す機能ブロック図であり、実施例1のプリンタ制御装置30を示す図4中の要素と共通の要素には共通の符号が付されている。   FIG. 15 is a functional block diagram showing a schematic configuration of the printer control apparatus according to the second embodiment housed in the printer 1 shown in FIGS. 2 and 3, and shows the printer control apparatus 30 according to the first embodiment in FIG. Elements common to elements are denoted by common reference numerals.

本実施例2のプリンタ制御装置30Aでは、実施例1と同様の電源部31、I/F部33、及び操作部34に接続されたOP部35と、実施例1の制御部32とは構成の異なる制御部32Aと、実施例1と同様のキャリッジ部10、ヘッドドライバ36、SPモータドライバ37、及び検出部40と、を備えている。更に、本実施例2のプリンタ制御装置30Aでは、新たに、ラインフィード機構20及びリボンフィード機構26と、そのラインフィード機構20に接続されたモータドライバ37a1及び検出部40a1と、そのリボンフィード機構26に接続されたモータドライバ37a2及び検出部40a2と、が設けられている。   In the printer control apparatus 30A according to the second embodiment, the power supply unit 31, the I / F unit 33, and the OP unit 35 connected to the operation unit 34 as in the first embodiment and the control unit 32 in the first embodiment are configured. The control unit 32 </ b> A is different, and the same carriage unit 10, head driver 36, SP motor driver 37, and detection unit 40 as those in the first embodiment are provided. Further, in the printer control apparatus 30A of the second embodiment, a line feed mechanism 20 and a ribbon feed mechanism 26, a motor driver 37a1 and a detection unit 40a1 connected to the line feed mechanism 20, and a ribbon feed mechanism 26 are newly provided. And a motor driver 37a2 and a detection unit 40a2 connected to each other.

制御部32Aは、実施例1と同様のADC32a及びMVフラグ32bと、新たに追加された2つのADC32a1,32a2と、を有している。   The control unit 32A includes the same ADC 32a and MV flag 32b as in the first embodiment, and two newly added ADCs 32a1 and 32a2.

ラインフィード機構20は、用紙を搬送するLFモータ21を有している。LFモータ21は、制御部32Aからの相信号に従い、モータドライバ37a1から出力される励磁相信号S37a1にて駆動される。モータドライバ37a1から出力される励磁相信号S37a1及びパルス信号S37b1は、相の励磁状態を監視する検出部40a1に入力されている。検出部40a1は、モータドライバ37a1から出力される励磁相信号S37a1及びパルス信号S37b1と、制御部32Aから出力されるクリア信号S32c1と、を入力し、制御部32Aに与える検出信号S40a1と、電源部31内のアラーム回路31aに与えるアラーム信号ALM_N1と、を出力するものであり、実施例1の制御部40と同一の構成をしている。   The line feed mechanism 20 has an LF motor 21 that transports paper. The LF motor 21 is driven by the excitation phase signal S37a1 output from the motor driver 37a1 in accordance with the phase signal from the control unit 32A. The excitation phase signal S37a1 and the pulse signal S37b1 output from the motor driver 37a1 are input to the detection unit 40a1 that monitors the excitation state of the phase. The detection unit 40a1 receives the excitation phase signal S37a1 and the pulse signal S37b1 output from the motor driver 37a1, and the clear signal S32c1 output from the control unit 32A, and receives the detection signal S40a1 supplied to the control unit 32A, and the power supply unit The alarm signal ALM_N1 to be given to the alarm circuit 31a in 31 is output, and has the same configuration as the control unit 40 of the first embodiment.

リボンフィード機構26は、リボンカートリッジ13内のインクリボン13aを巻き取るリボンモータ27を有している。リボンモータ27は、制御部32Aからの相信号に従い、モータドライバ37a2から出力される励磁相信号S37a2にて駆動される。モータドライバ37a2から出力される励磁相信号S37a2及びパルス信号S37b2は、相の励磁状態を監視する検出部40a2に入力されている。検出部40a2は、モータドライバ37a2から出力される励磁相信号S37a2及びパルス信号S37b2と、制御部32Aから出力されるクリア信号S32c2と、を入力し、制御部32Aに与える検出信号S40a2と、電源部31内のアラーム回路31aに与えるアラーム信号ALM_N2と、を出力するものであり、実施例1の制御部40と同一の構成をしている。その他の構成は、実施例1と同様である。   The ribbon feed mechanism 26 has a ribbon motor 27 that winds up the ink ribbon 13 a in the ribbon cartridge 13. The ribbon motor 27 is driven by the excitation phase signal S37a2 output from the motor driver 37a2 in accordance with the phase signal from the control unit 32A. The excitation phase signal S37a2 and the pulse signal S37b2 output from the motor driver 37a2 are input to the detection unit 40a2 that monitors the excitation state of the phase. The detection unit 40a2 receives the excitation phase signal S37a2 and pulse signal S37b2 output from the motor driver 37a2, and the clear signal S32c2 output from the control unit 32A, and receives the detection signal S40a2 supplied to the control unit 32A, and the power supply unit The alarm signal ALM_N2 to be given to the alarm circuit 31a in 31 is output and has the same configuration as the control unit 40 of the first embodiment. Other configurations are the same as those of the first embodiment.

(実施例2のプリンタ制御方法)
省電力モード中に図13のプラテンノブ15を回した場合の動作を、図15を参照しつつ説明する。
(Printer control method of embodiment 2)
The operation when the platen knob 15 of FIG. 13 is turned during the power saving mode will be described with reference to FIG.

図13のラインフィード機構20において、省電力モード中にプラテンノブ15が回されると、プラテン14及びプラテンギア22を介して接続されているLFモータ21が回転し、逆起電圧が発生する。この逆起電圧により、検出部40a1内の充電部のコンデンサが充電され、検出点N50の電位が上昇することにより、プラテンノブ15が回されたことを検知することができる。   In the line feed mechanism 20 of FIG. 13, when the platen knob 15 is rotated during the power saving mode, the LF motor 21 connected via the platen 14 and the platen gear 22 rotates, and a back electromotive voltage is generated. By this counter electromotive voltage, the capacitor of the charging unit in the detection unit 40a1 is charged and the potential at the detection point N50 is increased, so that it can be detected that the platen knob 15 is turned.

次に、省電力モード中に図14のドライブローラ29を回した場合の動作を、図15を参照しつつ説明する。   Next, the operation when the drive roller 29 of FIG. 14 is rotated during the power saving mode will be described with reference to FIG.

図14のリボンフィード機構26において、省電力モード中にドライブローラ29が回されると、リボンドライブギア28及びギア27aを介して接続されているリボンモータ27が回転し、逆起電圧が発生する。この逆起電圧により、検出部40a2内の充電部のコンデンサが充電され、検出点N50の電位が上昇することにより、ドライブローラ29が回されたことを検知することができる。   In the ribbon feed mechanism 26 of FIG. 14, when the drive roller 29 is rotated during the power saving mode, the ribbon motor 27 connected via the ribbon drive gear 28 and the gear 27a rotates to generate a back electromotive voltage. . Due to this back electromotive voltage, the capacitor of the charging unit in the detection unit 40a2 is charged, and the potential of the detection point N50 is increased, so that it can be detected that the drive roller 29 has been rotated.

図16は、図15の動作を示すフローチャートであり、実施例1のフローチャートを示す図10中の要素と共通の要素には共通の符号が付されている。   FIG. 16 is a flowchart showing the operation of FIG. 15, and elements common to the elements in FIG. 10 showing the flowchart of the first embodiment are denoted by common reference numerals.

図16では、実施例2におけるプリンタ1の待機状態から省電力モードに入り、省電力モード解除から待機状態に復帰するまでの処理(即ち、待機→省電力モード→省電力モード解除→待機の処理)が示されている。   In FIG. 16, the process from the standby state of the printer 1 according to the second embodiment to the power saving mode and from the cancellation of the power saving mode to the return to the standby state (that is, standby → power saving mode → power saving mode release → standby processing). )It is shown.

図16のフローチャートにおいて、待機状態、省電力モード、省電力モード解除、及び待機状態に復帰するまでのステップST1〜ST9までの処理は、実施例1の図10のフローチャートの処理と同様である。   In the flowchart of FIG. 16, the processes from step ST1 to ST9 until the standby state, the power saving mode, the power saving mode release, and the return to the standby state are the same as the processes of the flowchart of FIG.

本実施例2では、実施例1のステップST10におけるキャリッジホーミング処理に代えて、ステップST10Aにおいて、モータイニシャル処理が行われる点が実施例1と異なっている。本実施例2のステップST10Aは、ステップST7の省電力モード除解後のステップST8のMVフラグ確認において、省電力モード中に何らかの要因でLFモータ21又はリボンモータ27が変移した場合の処理である。このステップST10Aでは、ステップST9の待機状態へ復帰する前に、LFモータ21又はリボンモータ27のイニシャル相制定が実施される。   The second embodiment is different from the first embodiment in that a motor initial process is performed in step ST10A instead of the carriage homing process in step ST10 of the first embodiment. Step ST10A of the second embodiment is processing when the LF motor 21 or the ribbon motor 27 is changed for some reason during the power saving mode in the MV flag confirmation in step ST8 after the power saving mode is removed in step ST7. . In step ST10A, the initial phase of the LF motor 21 or the ribbon motor 27 is established before returning to the standby state in step ST9.

(実施例2の効果)
本実施例2によれば、モータドライバ37a1及びLFモータ21の異常状態を検出する検出部40a1を、ラインフィード機構20の変移により発生する逆起電圧の検出可能な構成にすると共に、モータドライバ37a2及びリボンモータ27の異常状態を検出する検出部40a2を、リボンフィード機構26の変移により発生する逆起電圧の検出可能な構成にしている。
(Effect of Example 2)
According to the second embodiment, the detection unit 40a1 that detects the abnormal state of the motor driver 37a1 and the LF motor 21 is configured to be able to detect the back electromotive voltage generated by the transition of the line feed mechanism 20, and the motor driver 37a2. In addition, the detection unit 40a2 that detects an abnormal state of the ribbon motor 27 is configured to be able to detect the back electromotive voltage generated by the transition of the ribbon feed mechanism 26.

そのため、検出部40a1,40a2により、省電力モード中に、プラテンノブ15が手動で回されたことや、リボンカートリッジ13のドライブローラ29が手動で回されたことを検知することができ、省電力モードから復帰する際、それぞれのモータ21,27のイニシャル(初期設定)相制定の要否が判断できる。その結果、実施例1と同様に、印字ずれの防止や、無駄な電力の消費を抑えることができる。従って、比較的簡単な回路構成により、前記比較例の欠点を解決できる。   Therefore, the detection units 40a1 and 40a2 can detect that the platen knob 15 is manually turned and the drive roller 29 of the ribbon cartridge 13 is turned manually during the power saving mode. When returning from, it is possible to determine whether or not it is necessary to establish an initial (initial setting) phase for each of the motors 21 and 27. As a result, similarly to the first embodiment, it is possible to prevent printing misalignment and suppress wasteful power consumption. Therefore, the drawbacks of the comparative example can be solved with a relatively simple circuit configuration.

(変形例)
本発明は、上記実施例1、2に限定されず、種々の利用形態や変形が可能である。この利用形態や変形例としては、例えば、次の(1)、(2)のようなものがある。
(Modification)
The present invention is not limited to the first and second embodiments, and various usage forms and modifications are possible. For example, the following forms (1) and (2) are used as the usage form and the modification examples.

(1) 図1の検出部40は、充電部50、放電部60及びアラーム検出部70により構成されているが、これらの充電部50、放電部60及びアラーム検出部70は、図示以外の回路で構成しても良い。又、図9において、省電力モード解除前に設定される第2基準電位は0Vにしているが、第1基準電位であるツェナー電圧Vzdよりも低い他の電位であっても良い。   (1) Although the detection part 40 of FIG. 1 is comprised by the charging part 50, the discharge part 60, and the alarm detection part 70, these charging part 50, the discharge part 60, and the alarm detection part 70 are circuits other than illustration. You may comprise. In FIG. 9, the second reference potential set before canceling the power saving mode is set to 0V, but may be another potential lower than the Zener voltage Vzd which is the first reference potential.

(2) 実施例1、2では、プリンタ1としてシリアルプリンタを例に挙げたが、本発明は、これに限定されない。例えば、電子写真プリンタのイメージドラムカートリッジ等の省電力モード時に移動可能であって、モータ等の駆動源と駆動を連結した駆動系デバイスを備えた他のプリンタにも適用できる。又、プリンタ1以外の複写機、ファクシミリ装置、複合機(MFP)等の印刷機能を有する画像形成装置全般に適用可能である。   (2) In the first and second embodiments, a serial printer is exemplified as the printer 1, but the present invention is not limited to this. For example, the present invention can be applied to other printers that are movable in a power saving mode such as an image drum cartridge of an electrophotographic printer and that include a drive system device that is connected to a drive source such as a motor. Further, the present invention can be applied to all image forming apparatuses having a printing function, such as a copying machine other than the printer 1, a facsimile machine, and a multifunction peripheral (MFP).

1 プリンタ
10 キャリッジ部
20 ラインフィード機構
26 リボンフィード機構
30,30A プリンタ制御装置
31 電源部
32,32A 制御部
37 SPモータドライバ
37a1,37a2 モータドライバ
40,40a1,40a2 検出部
DESCRIPTION OF SYMBOLS 1 Printer 10 Carriage part 20 Line feed mechanism 26 Ribbon feed mechanism 30, 30A Printer control apparatus 31 Power supply part 32, 32A Control part 37 SP motor driver 37a1, 37a2 Motor driver 40, 40a1, 40a2 Detection part

Claims (9)

通常時において電源電力が供給されると動作して駆動信号を出力し、待機時において省電力モードへ移行すると、前記電源電力の供給が遮断されて前記動作が停止し、前記駆動信号の出力を停止する駆動源と、
前記駆動源に接続され、前記駆動源から出力される前記駆動信号によって動作する駆動系デバイスと、
前記駆動源及び前記駆動系デバイス間に生じる検出点の電位の変化を検出する駆動系デバイス動作検出手段と、
を備える画像形成装置の制御方法であって、
前記駆動系デバイス動作検出手段は、
前記通常時及び前記待機時において、前記検出点の電位が第1基準電位を超えたか否かにより、前記駆動源及び前記駆動系デバイスの異常動作を検出する異常動作検出処理と、
前記待機時において前記省電力モードへの移行前に、前記検出点の電位を、前記第1基準電位よりも低い第2基準電位に切り換える電位切り換え処理と、
前記省電力モード時に、前記検出点の電位が前記第2基準電位よりも高くなったか否かにより、前記駆動系デバイスの動作の有無を検出する駆動系デバイス動作検出処理と、
を有することを特徴とする画像形成装置の制御方法。
When power supply is supplied during normal operation, it outputs a drive signal, and when it shifts to a power saving mode during standby, the supply of power supply is cut off, the operation stops, and the drive signal is output. A driving source to stop,
A drive system device connected to the drive source and operated by the drive signal output from the drive source;
Drive system device operation detection means for detecting a change in potential of a detection point generated between the drive source and the drive system device;
An image forming apparatus control method comprising:
The drive system device operation detecting means is
An abnormal operation detection process for detecting an abnormal operation of the drive source and the drive system device according to whether or not the potential of the detection point exceeds a first reference potential during the normal time and the standby time;
A potential switching process for switching the potential at the detection point to a second reference potential lower than the first reference potential before shifting to the power saving mode during the standby;
A drive system device operation detection process for detecting presence or absence of operation of the drive system device according to whether or not the potential of the detection point is higher than the second reference potential in the power saving mode;
A control method for an image forming apparatus, comprising:
前記異常動作検出処理では、
前記通常時及び前記待機時において、前記検出点の電位が前記第1基準電位を超えると、前記駆動源及び前記駆動系デバイスの前記異常動作を示す警報信号を出力し、
前記駆動系デバイス動作検出処理では、
前記省電力モード時に、前記検出点の電位が前記第2基準電位よりも高くなると、前記駆動系デバイスの動作有りを示す動作有り信号を出力することを特徴とする請求項1記載の画像形成装置の制御方法。
In the abnormal operation detection process,
When the potential at the detection point exceeds the first reference potential during the normal time and the standby time, an alarm signal indicating the abnormal operation of the drive source and the drive system device is output,
In the drive system device operation detection process,
2. The image forming apparatus according to claim 1, wherein in the power saving mode, when the potential at the detection point becomes higher than the second reference potential, an operation presence signal indicating that the drive system device is in operation is output. Control method.
通常時において電源電力が供給されると動作して駆動信号を出力し、待機時において省電力モードへ移行すると、前記電源電力の供給が遮断されて前記動作が停止し、前記駆動信号の出力を停止する駆動源と、
前記駆動源に接続され、前記駆動源から出力される前記駆動信号によって動作する駆動系デバイスと、
前記駆動源及び前記駆動系デバイス間に生じる検出点の電位の変化を検出する駆動系デバイス動作検出手段と、
を備える画像形成装置の制御装置であって、
前記駆動系デバイス動作検出手段は、
前記通常時及び前記待機時において、前記検出点の電位が第1基準電位を超えたか否かにより、前記駆動源及び前記駆動系デバイスの異常動作を検出し、前記待機時において前記省電力モードへの移行前に、前記検出点の電位を、前記第1基準電位よりも低い第2基準電位に切り換え、前記省電力モード時に、前記検出点の電位が前記第2基準電位よりも高くなったか否かにより、前記駆動系デバイスの動作の有無を検出することを特徴とする画像形成装置の制御装置。
When power supply is supplied during normal operation, it outputs a drive signal, and when it shifts to a power saving mode during standby, the supply of power supply is cut off, the operation stops, and the drive signal is output. A driving source to stop,
A drive system device connected to the drive source and operated by the drive signal output from the drive source;
Drive system device operation detection means for detecting a change in potential of a detection point generated between the drive source and the drive system device;
A control device for an image forming apparatus comprising:
The drive system device operation detecting means is
Depending on whether the potential at the detection point exceeds the first reference potential during the normal time and the standby time, an abnormal operation of the drive source and the drive system device is detected, and the power saving mode is entered during the standby time. Before the transition, the potential at the detection point is switched to a second reference potential lower than the first reference potential, and whether the potential at the detection point is higher than the second reference potential in the power saving mode. Thus, the control device of the image forming apparatus, wherein the presence or absence of the operation of the drive system device is detected.
前記駆動系デバイス動作検出手段は、
前記通常時及び前記待機時において、前記検出点の電位が前記第1基準電位を超えると、前記駆動源及び前記駆動系デバイスの前記異常動作を示す警報信号を出力し、前記待機時において前記省電力モードへの移行前に、前記検出点の電位を前記第2基準電位に切り換え、前記省電力モード時に、前記検出点の電位が前記第2基準電位よりも高くなると、前記駆動系デバイスの動作有りを示す動作有り信号を出力することを特徴とする請求項3記載の画像形成装置の制御装置。
The drive system device operation detecting means is
When the potential at the detection point exceeds the first reference potential during the normal time and the standby time, an alarm signal indicating the abnormal operation of the drive source and the drive system device is output, and the saving is performed during the standby time. Before the transition to the power mode, the potential of the detection point is switched to the second reference potential, and when the potential of the detection point becomes higher than the second reference potential in the power saving mode, the operation of the drive system device 4. The control device for an image forming apparatus according to claim 3, wherein an operation presence signal indicating presence is output.
請求項4記載の画像形成装置の制御装置において、
前記動作有り信号を入力する制御手段を備え、
前記制御手段は、
前記省電力モード時に、前記動作有り信号を入力すると、前記省電力モードの解除前に、前記駆動系デバイス及び前記駆動源のイニシャル動作を行わせた後、前記省電力モードを解除して前記待機時の状態へ復帰させることを特徴とする画像形成装置の制御装置。
The control device for an image forming apparatus according to claim 4.
Comprising control means for inputting the operation presence signal;
The control means includes
When the operation presence signal is input during the power saving mode, the drive system device and the drive source are initially operated before the power saving mode is released, and then the power saving mode is released and the standby is performed. A control device for an image forming apparatus, wherein the control device is restored to the current state.
前記駆動系デバイス動作検出手段は、
前記検出点の電荷により充電されるコンデンサを有する充電手段と、
前記検出点の電位が前記第1基準電位を超えると、前記警報信号を出力する検出手段と、
前記制御手段の制御信号に基づき、前記コンデンサの蓄積電荷を放電して前記検出点の電位を前記第2基準電位に切り換え、前記検出点の電位が前記第2基準電位よりも高くなると、前記検出点から前記動作有り信号を前記制御手段へ出力させる放電手段と、
を備えることを特徴とする請求項5記載の画像形成装置の制御装置。
The drive system device operation detecting means is
Charging means having a capacitor charged by the charge of the detection point;
Detecting means for outputting the alarm signal when the potential at the detection point exceeds the first reference potential;
Based on the control signal of the control means, the accumulated charge of the capacitor is discharged to switch the potential of the detection point to the second reference potential, and when the potential of the detection point becomes higher than the second reference potential, the detection Discharging means for outputting the operation presence signal to the control means from a point;
6. The control device for an image forming apparatus according to claim 5, further comprising:
前記駆動系デバイスは、キャリッジ部を動作させるスペースモータであり、
前記駆動源は、前記スペースモータを駆動するドライバであることを特徴とする請求項6記載の画像形成装置の制御装置。
The drive system device is a space motor that operates a carriage unit,
7. The control apparatus for an image forming apparatus according to claim 6, wherein the driving source is a driver for driving the space motor.
前記駆動系デバイスは、ラインフィード機構を動作させるラインフィードモータであり、
前記駆動源は、前記ラインフィードモータを駆動するドライバであることを特徴とする請求項6記載の画像形成装置の制御装置。
The drive system device is a line feed motor that operates a line feed mechanism,
7. The control apparatus for an image forming apparatus according to claim 6, wherein the drive source is a driver that drives the line feed motor.
前記駆動系デバイスは、リボンフィード機構を動作させるリボンモータであり、
前記駆動源は、前記リボンモータを駆動するドライバであることを特徴とする請求項6記載の画像形成装置の制御装置。
The drive system device is a ribbon motor that operates a ribbon feed mechanism,
7. The control apparatus for an image forming apparatus according to claim 6, wherein the driving source is a driver for driving the ribbon motor.
JP2014009635A 2014-01-22 2014-01-22 Control method for image forming device and control device for image forming device Pending JP2015136858A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014009635A JP2015136858A (en) 2014-01-22 2014-01-22 Control method for image forming device and control device for image forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014009635A JP2015136858A (en) 2014-01-22 2014-01-22 Control method for image forming device and control device for image forming device

Publications (1)

Publication Number Publication Date
JP2015136858A true JP2015136858A (en) 2015-07-30

Family

ID=53768199

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014009635A Pending JP2015136858A (en) 2014-01-22 2014-01-22 Control method for image forming device and control device for image forming device

Country Status (1)

Country Link
JP (1) JP2015136858A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016010913A (en) * 2014-06-30 2016-01-21 セイコーエプソン株式会社 Printer and printing method
JP2018058577A (en) * 2016-09-30 2018-04-12 太陽誘電株式会社 Motor drive control device and electrically-driven assist vehicle

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016010913A (en) * 2014-06-30 2016-01-21 セイコーエプソン株式会社 Printer and printing method
CN105313501A (en) * 2014-06-30 2016-02-10 精工爱普生株式会社 Printing apparatus and printing method
CN105313501B (en) * 2014-06-30 2018-10-30 精工爱普生株式会社 Printing equipment and printing process
JP2018058577A (en) * 2016-09-30 2018-04-12 太陽誘電株式会社 Motor drive control device and electrically-driven assist vehicle
JP7073063B2 (en) 2016-09-30 2022-05-23 太陽誘電株式会社 Motor drive control device and electrically power assisted vehicle

Similar Documents

Publication Publication Date Title
US7886170B2 (en) Power management of image forming apparatus and control method therefor
EP2816444B1 (en) Image forming apparatus and method of controlling power-saving mode of image forming apparatus
US20070230977A1 (en) Power conservation device and image forming apparatus
JP4577781B2 (en) Power supply device and image forming apparatus
EP2624054B1 (en) Information processing apparatus and method for controlling the same
JP2007160711A (en) Printer
US9285866B2 (en) Information processing apparatus with power shutoff switch and control method therefor for reducing power consumption in an image forming apparatus
JP2015136858A (en) Control method for image forming device and control device for image forming device
JP5293390B2 (en) Power supply control apparatus and image forming apparatus
US20130209132A1 (en) Image processing apparatus, control method thereof, and storage medium
US9317791B2 (en) Information processing apparatus and control method for information processing apparatus
JP2009165268A (en) Power supply unit and electronic apparatus
JP2006341555A (en) Ink jet recorder
JP2015104836A (en) Image formation device, control method for image formation device, and program
JP2015131415A (en) Image forming apparatus, control method therefor, and program
JP4446790B2 (en) Image forming apparatus
JP2010262123A (en) Image forming device, method of controlling the same, and control program of the same
JP4434306B2 (en) Image processing apparatus and power consumption control method thereof
JP2005124132A (en) Image processor and its power consumption control method
JP4759869B2 (en) Printing apparatus, voltage management apparatus, and voltage management method
US9704077B2 (en) Image processing device having voltage generating unit outputting control voltage
WO2024062736A1 (en) Electrical device
US9535382B2 (en) Image forming apparatus with attachable/detachable duplex unit, control method therefor, and storage medium
JP7371485B2 (en) Power supply device and image forming device
JP2014230227A (en) Image processing apparatus, image processing control method and image processing control program