JP2007331179A - Recorder and method for protecting the same - Google Patents

Recorder and method for protecting the same Download PDF

Info

Publication number
JP2007331179A
JP2007331179A JP2006164100A JP2006164100A JP2007331179A JP 2007331179 A JP2007331179 A JP 2007331179A JP 2006164100 A JP2006164100 A JP 2006164100A JP 2006164100 A JP2006164100 A JP 2006164100A JP 2007331179 A JP2007331179 A JP 2007331179A
Authority
JP
Japan
Prior art keywords
recording
latch circuit
line
image data
head
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
JP2006164100A
Other languages
Japanese (ja)
Inventor
Noriyuki Ishida
紀之 石田
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.)
Fujitsu Component Ltd
Original Assignee
Fujitsu Component Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Component Ltd filed Critical Fujitsu Component Ltd
Priority to JP2006164100A priority Critical patent/JP2007331179A/en
Publication of JP2007331179A publication Critical patent/JP2007331179A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Electronic Switches (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a recorder capable of eliminating unintentional supplying of power to a heating element caused by noise or the like, thereby preventing a recording head from being damaged. <P>SOLUTION: This recorder comprises a thermal head 21 having many heating elements 50 arranged in a line, a latch circuit 41 for storing one line of image data, a drive circuit 42 for selectively driving the heating elements 50 in response to the one line of image data, and an MCU 16 for initializing the latch circuit 41 when finishing the writing of the one line of image data stored in the latch circuit 41 to a recording material. As the image data stored in the latch circuit 41 is erased upon the finishing of the writing of the image data to the recording material, it is possible to eliminate the unintentional supplying of power to the heating elements caused by noise or the like, thereby preventing the thermal head 21 from being damaged. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、サーマル(熱転写)方式によって画像の記録を行う記録装置に関する。   The present invention relates to a recording apparatus that records an image by a thermal (thermal transfer) method.

サーマル方式の記録装置は、画像形成手段としてのサーマルヘッドと回転体としてのプラテンローラとを対向配置して圧接し、そのニップ部に搬送されてきた記録媒体としての感熱紙を進入させて、画像情報に基づいてサーマルヘッドを駆動しながらプラテンローラの回転により感熱紙を送って画像形成を行うようになっている。   In a thermal recording apparatus, a thermal head as an image forming unit and a platen roller as a rotating body are arranged to face each other and are brought into pressure contact with each other. An image is formed by feeding a thermal paper by rotating a platen roller while driving a thermal head based on the information.

しかしながら、サーマルヘッドの発熱体を発熱させる時間を制御するストローブ信号が、ノイズ等によって予め決められた所定時間を超えてアクティブになっていると、発熱体への通電時間が長くなり過ぎて発熱体が過熱する恐れがある。特に、記録装置が記録を終了して待機状態となる時には、書き込んだデータがサーマルヘッドから削除されていない。このため待機中にノイズによるストローブ信号がサーマルヘッドに入力されると、サーマルヘッドへの電源供給を再開したとたんに発熱体への通電が開始され、サーマルヘッドの熱損を招く恐れがある。   However, if the strobe signal that controls the time for which the heating element of the thermal head generates heat is active beyond a predetermined time determined in advance by noise or the like, the energization time to the heating element becomes too long and the heating element May overheat. In particular, when the recording apparatus finishes recording and enters a standby state, the written data is not deleted from the thermal head. For this reason, if a strobe signal due to noise is input to the thermal head during standby, energization of the heating element is started as soon as power supply to the thermal head is resumed, which may cause thermal loss of the thermal head.

そこで、特許文献1では、ストローブ信号がアクティブとなっている時間を、所定時間内に変換する変換回路や、印字速度に応じて、変換回路をリセットするリセット信号を印字速度に応じたタイミングで生成するリセット信号生成回路を別途設けている。   Therefore, in Patent Document 1, a conversion circuit that converts the time during which the strobe signal is active within a predetermined time and a reset signal that resets the conversion circuit according to the printing speed are generated at a timing according to the printing speed. A reset signal generation circuit is provided separately.

実開平5−53951号公報Japanese Utility Model Publication No. 5-53951

しかしながら、特許文献1では、変換回路やリセット回路といった特別な装置を設ける必要があり、装置構成が大型化するといった課題がある。   However, in Patent Document 1, it is necessary to provide a special device such as a conversion circuit or a reset circuit, and there is a problem that the device configuration increases in size.

本発明は上記事情に鑑みてなされたものであり、簡単な構成で、記録ヘッドの損傷を防止することができる記録装置およびその保護方法を提供することを目的とする。   The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a recording apparatus and a protection method thereof that can prevent damage to the recording head with a simple configuration.

かかる目的を達成するために本発明の記録装置は、ライン状に配列された多数の発熱素子を有する記録ヘッドと、1ライン分の画像データを格納するラッチ回路と、前記1ライン分の画像データに応じて、前記発熱素子を選択的に駆動するドライブ回路と、前記ラッチ回路に保持した前記1ライン分の画像データの記録材への書き込みが終了すると、前記ラッチ回路を初期化する制御手段とを有する構成としている。
このように本発明は、画像データの記録材への書き込みが終了すると、制御手段がラッチ回路に保持した画像データを消去して、発熱素子への不必要な電力供給を防止する。このため、特別な装置を設けなくても、制御手段で記録ヘッドの損傷を防止することができる。
In order to achieve this object, a recording apparatus of the present invention includes a recording head having a large number of heating elements arranged in a line, a latch circuit for storing image data for one line, and image data for one line. And a control circuit that initializes the latch circuit when the writing of the image data for one line held in the latch circuit to the recording material is completed. It has composition which has.
As described above, according to the present invention, when the writing of the image data to the recording material is completed, the image data held in the latch circuit by the control unit is erased to prevent unnecessary power supply to the heating element. For this reason, it is possible to prevent the recording head from being damaged by the control means without providing a special device.

上記記録装置において、前記制御手段は、前記ラッチ回路に、1ライン分の空データを書き込んで初期化するとよい。
従って、ラッチ回路の初期化を簡単に行うことができる。
In the recording apparatus, the control unit may initialize the latch circuit by writing empty data for one line.
Therefore, the latch circuit can be easily initialized.

上記記録装置において、前記制御手段は、書き込みの終了した前記記録材を搬送する際に、前記ラッチ回路を初期化するとよい。また、前記制御手段は、書き込みの終了した前記記録材を所定サイズにカットする際に、前記ラッチ回路を初期化してもよいし、書き込みが終了し、次の画像を記録する記録材を搬送する際に、前記ラッチ回路を初期化してもよい。さらに、次の画像データを入力するまでの待機時に、前記ラッチ回路の初期化を行ってもよい。   In the recording apparatus, the control unit may initialize the latch circuit when transporting the recording material on which writing has been completed. Further, the control means may initialize the latch circuit when cutting the recording material that has been written into a predetermined size, or transports a recording material that has finished writing and that records the next image. At this time, the latch circuit may be initialized. Further, the latch circuit may be initialized at the time of waiting until the next image data is input.

上記記録装置において、前記記録ヘッドの非記録時のヘッドアップ状態と、記録時のヘッドダウン状態とを検出するヘッド位置検出手段を有し、前記制御手段は、前記ヘッド位置検出手段により前記ヘッドアップ状態を検出すると、前記ラッチ回路の初期化を行うとよい。また、前記記録ヘッドの記録位置に、前記記録材が搬送されているか否かを検出する記録材検出手段を有し、前記制御手段は、前記記録材検出手段により前記記録位置に前記記録材が搬送されていないことを検出すると、前記ラッチ回路の初期化を行うとよい。さらに、前記発熱素子に供給される電圧の異常を検出する異常検出手段を有し、前記制御手段は、前記異常検出手段により前記電圧の異常を検出すると、前記ラッチ回路の初期化を行うとよい。   In the recording apparatus, the recording apparatus includes a head position detecting unit that detects a head-up state when the recording head is not recording and a head-down state during recording, and the control unit is configured to detect the head-up state by the head position detecting unit. When the state is detected, the latch circuit may be initialized. A recording material detecting unit configured to detect whether or not the recording material is conveyed at a recording position of the recording head; and the control unit detects the recording material at the recording position by the recording material detecting unit. When it is detected that the sheet is not conveyed, the latch circuit may be initialized. Furthermore, it has an abnormality detecting means for detecting an abnormality of the voltage supplied to the heating element, and the control means may initialize the latch circuit when the abnormality of the voltage is detected by the abnormality detecting means. .

本発明の記録装置の保護方法は、1ライン分の画像データを記憶手段に格納するステップと、前記1ライン分の画像データに応じて、記録ヘッドの発熱素子を選択的に駆動するステップと、前記記憶手段に格納した前記1ライン分の画像データの記録材への書き込みが終了すると、前記記憶手段を初期化するステップとを有している。   The recording apparatus protection method of the present invention includes a step of storing image data for one line in a storage unit, a step of selectively driving a heating element of the recording head in accordance with the image data for one line, A step of initializing the storage means when the writing of the image data for one line stored in the storage means to the recording material is completed.

本発明によれば、ノイズ等による発熱素子への不用意な電力供給を防止し、記録ヘッドの損傷を防ぐことができる。   According to the present invention, it is possible to prevent inadvertent power supply to the heating element due to noise or the like, and to prevent damage to the recording head.

添付図面を参照しながら本実施例の最良の実施例を説明する。   The best embodiment of the present embodiment will be described with reference to the accompanying drawings.

図1に、本発明を適用した記録装置の構成を示す。本実施例の記録装置1は、制御ユニット10と、メカユニット20と、電源装置30と、用紙カッタ装置31とを有している。
制御ユニット10は、メカユニット20を駆動制御するユニットであって、電源制御回路(本発明の異常検出手段に該当する)11、通信インターフェース部12、ROM(Read Only Memory)13、RAM(Random Access Memory)14、EEPROM(Electronically Erasable and Programmable Read Only Memory)15、MCU(Micro Controller Unit)16、サーマルヘッド駆動回路17、モータ駆動回路18、19を有している。また、メカユニット20は、サーマルヘッド21、用紙送りモータ22、用紙検出センサ(本発明の記録材検出手段に該当する)23、ヘッド位置検出センサ(本発明のヘッド位置検出手段に該当する)24、用紙搬送検出センサ25を備えている。
FIG. 1 shows the configuration of a recording apparatus to which the present invention is applied. The recording apparatus 1 according to this embodiment includes a control unit 10, a mechanical unit 20, a power supply device 30, and a paper cutter device 31.
The control unit 10 is a unit that drives and controls the mechanical unit 20, and includes a power supply control circuit (corresponding to the abnormality detecting means of the present invention) 11, a communication interface unit 12, a ROM (Read Only Memory) 13, a RAM (Random Access). A memory) 14, an EEPROM (Electronically Erasable and Programmable Read Only Memory) 15, an MCU (Micro Controller Unit) 16, a thermal head drive circuit 17, and motor drive circuits 18 and 19. The mechanical unit 20 includes a thermal head 21, a paper feed motor 22, a paper detection sensor (corresponding to the recording material detection means of the present invention) 23, a head position detection sensor (corresponding to the head position detection means of the present invention) 24, A paper conveyance detection sensor 25 is provided.

電源制御回路11は、電源装置30からの電源供給を制御する回路である。記録装置1の起動時、電源制御回路11は制御ユニット10内の各部に電源を供給する。また、電源制御回路11は、MCU16の指示に従って、サーマルヘッド21への電源供給を制御する。さらに、電源制御回路11は、電源装置30に異常が生じ、供給電圧に異常があると判定すると、MCU16に異常通知信号を出力する。   The power control circuit 11 is a circuit that controls power supply from the power supply device 30. When the recording apparatus 1 is activated, the power supply control circuit 11 supplies power to each unit in the control unit 10. The power supply control circuit 11 controls power supply to the thermal head 21 in accordance with an instruction from the MCU 16. Further, when the power supply control circuit 11 determines that an abnormality occurs in the power supply device 30 and the supply voltage is abnormal, the power supply control circuit 11 outputs an abnormality notification signal to the MCU 16.

通信インターフェース部12は、ホスト装置(不図示)とのインターフェースとして機能し、ホスト装置から送出される印字データや各種印刷制御データを入力する。またMCU16から送出される各種応答コマンドをホスト装置に転送する。   The communication interface unit 12 functions as an interface with a host device (not shown), and inputs print data and various print control data sent from the host device. Also, various response commands sent from the MCU 16 are transferred to the host device.

MCU16は、ROM13に格納されたプログラムに従って、記録装置1の全体を制御する。具体的には、通信インターフェース部12から入力される画像データ、各種印刷制御データを受け取って、メカユニット20の動作を制御しつつ印刷を実行する。   The MCU 16 controls the entire recording apparatus 1 according to a program stored in the ROM 13. Specifically, image data and various print control data input from the communication interface unit 12 are received, and printing is executed while controlling the operation of the mechanical unit 20.

RAM14は、SRAM等によって構成され、MCU16の制御に必要な各種データや印字すべきデータを一時的に記憶する。EEPROM15は、不揮発性のメモリであって、印刷制御に必要な各種データを格納している。このEEPROM15に格納されたデータは、電源がオフされても消えることがなく、電源がオンされると、MCU16により読み出されて、RAM14の所定領域に書き込まれる。   The RAM 14 is configured by an SRAM or the like, and temporarily stores various data necessary for controlling the MCU 16 and data to be printed. The EEPROM 15 is a non-volatile memory and stores various data necessary for print control. The data stored in the EEPROM 15 does not disappear even when the power is turned off. When the power is turned on, the data is read by the MCU 16 and written in a predetermined area of the RAM 14.

制御ユニット10は、これらの他にMCU16の制御に従って、サーマルヘッド21を駆動制御するサーマルヘッド駆動回路17、用紙送りモータ22を駆動するモータ駆動回路18と、用紙カット装置31の用紙カット用モータ32を駆動するモータ駆動回路19とを備えている。   In addition to these, the control unit 10 includes a thermal head drive circuit 17 that drives and controls the thermal head 21 according to the control of the MCU 16, a motor drive circuit 18 that drives the paper feed motor 22, and a paper cut motor 32 of the paper cut device 31. And a motor drive circuit 19 for driving.

図2に、サーマルヘッド21と、サーマルヘッド駆動回路17との詳細な構成を示す。サーマルヘッド駆動回路17は、図2に示すようにシフトレジスタ40と、ラッチ回路41と、ドライブ回路42とを有している。また、サーマルヘッド21は、図2に示すように多数の発熱素子50をライン状に並べた構成を備えている。   FIG. 2 shows a detailed configuration of the thermal head 21 and the thermal head drive circuit 17. The thermal head drive circuit 17 has a shift register 40, a latch circuit 41, and a drive circuit 42 as shown in FIG. Further, the thermal head 21 has a configuration in which a large number of heating elements 50 are arranged in a line as shown in FIG.

サーマルヘッド21は、ドライブ回路42の駆動によって発熱素子50に電流が流れ、発熱素子50が熱せられる。このような状態のサーマルヘッドを感熱用紙に押し付けることで、感熱用紙に所望の画像を形成することができる。   In the thermal head 21, a current flows through the heating element 50 by driving the drive circuit 42, and the heating element 50 is heated. By pressing the thermal head in this state against the thermal paper, a desired image can be formed on the thermal paper.

シフトレジスタ40は、MCU16から供給されるクロック信号(図2に示すクロック入力)に同期して、記録するデータ(以下、記録データと呼ぶ)(図2に示すデータ入力)を1ドットずつ入力する。シフトレジスタ40に1ライン分の記録データが蓄積され、MCU16から供給されるラッチ信号がオンになると、ラッチ回路41はこの1ライン分の記録データを取り込んで格納する。シフトレジスタ40からラッチ回路41には、1ライン分の記録データがパラレルで出力される。   The shift register 40 inputs data to be recorded (hereinafter referred to as recording data) (data input shown in FIG. 2) dot by dot in synchronization with a clock signal (clock input shown in FIG. 2) supplied from the MCU 16. . When recording data for one line is accumulated in the shift register 40 and the latch signal supplied from the MCU 16 is turned on, the latch circuit 41 captures and stores the recording data for one line. Recording data for one line is output from the shift register 40 to the latch circuit 41 in parallel.

ドライブ回路42は、MCU16から供給されるストローブ信号により選択的に駆動されて、ラッチ回路41内の記録データを取り込み、この記録データに従って発熱素子50を加熱する。すなわち、ラッチ回路41から取り込んだ記録データが1(すなわちデータあり)のときに、該当する発熱素子50に電流が流れて発熱する。また、ストローブ信号がオフ状態、又はラッチ回路41の記録データが0(すなわち、データ無し)のときには電流が流れず、発熱素子50は発熱しない。   The drive circuit 42 is selectively driven by a strobe signal supplied from the MCU 16 to capture recording data in the latch circuit 41 and heat the heating element 50 according to the recording data. That is, when the recording data fetched from the latch circuit 41 is 1 (that is, there is data), a current flows through the corresponding heating element 50 to generate heat. Further, when the strobe signal is off or the recording data of the latch circuit 41 is 0 (that is, no data), no current flows and the heating element 50 does not generate heat.

図1に戻って、メカユニット20内の用紙送りモータ22は、印刷動作中に感熱用紙を印刷位置まで搬送し、印刷後の感熱用紙を排出口まで搬送するためのモータである。
用紙検出センサ23は、印刷位置であるサーマルヘッド21の押し付け位置に、感熱用紙が搬送されているか否かを検出するセンサである。
ヘッド位置検出センサ24は、サーマルヘッド21がプラテンローラに接触しているか、離れているかを検出するもので、例えば、マイクロスイッチによって構成されている。
用紙搬送検出センサ25は、サーマルヘッド21の押し付け位置まで感熱用紙を搬送する搬送経路上に設けられ、感熱用紙が搬送経路上を搬送されているか否かを検出する。
Returning to FIG. 1, the paper feed motor 22 in the mechanical unit 20 is a motor for transporting the thermal paper to the printing position during the printing operation and transporting the thermal paper after printing to the discharge port.
The paper detection sensor 23 is a sensor that detects whether or not the thermal paper is being conveyed to the pressing position of the thermal head 21 that is the printing position.
The head position detection sensor 24 detects whether the thermal head 21 is in contact with or separated from the platen roller, and is configured by, for example, a micro switch.
The paper transport detection sensor 25 is provided on the transport path for transporting the thermal paper to the pressing position of the thermal head 21, and detects whether or not the thermal paper is transported on the transport path.

また、モータ駆動回路19は、用紙カット装置31の用紙カット用モータ32を駆動制御する回路である。用紙カット装置31は、固定刃及び可動刃を備え、用紙カット用モータ32の駆動によって可動刃を可動することで印刷後の感熱用紙を所定サイズにカットする。   The motor drive circuit 19 is a circuit that drives and controls the paper cutting motor 32 of the paper cutting device 31. The paper cutting device 31 includes a fixed blade and a movable blade, and cuts the thermal paper after printing into a predetermined size by moving the movable blade by driving the paper cutting motor 32.

次に、図3に示すフローチャートを参照しながら記録装置1の一連の処理手順を説明する。
記録装置1に電源が投入されると(ステップS1)、MCU16は、サーマルヘッド駆動回路17を初期化する(ステップS2)。例えば、空データ(NULLデータ)をサーマルヘッド駆動回路17に送信して、シフトレジスタ40、ラッチ回路41を初期化する。
Next, a series of processing procedures of the recording apparatus 1 will be described with reference to the flowchart shown in FIG.
When the recording apparatus 1 is turned on (step S1), the MCU 16 initializes the thermal head drive circuit 17 (step S2). For example, empty data (NULL data) is transmitted to the thermal head drive circuit 17, and the shift register 40 and the latch circuit 41 are initialized.

次に、画像データをホスト装置(不図示)から受信すると(ステップS3)、MCU16は、受信したデータをRAM14に一旦格納する。MCU16は、サーマルヘッド駆動回路17の状態を判定し、データの転送が可能であると判定すると、クロック信号に同期させて記録データを1ドットずつシフトレジスタ40に出力する。シフトレジスタ40に1ライン分の記録データが格納され、MCU16によってラッチ信号がオンになると、ラッチ回路40は、シフトレジスタ40の記録データを取り込み、格納する。ドライブ回路42は、MCU16から供給されるストローブ信号により選択的に駆動されて、ラッチ回路41内の記録データを取り込み、この記録データに従って発熱素子50を加熱する。これにより、サーマルヘッド21と、プラテンローラとのニップ部に搬送された感熱用紙に、所望の画像が印字される(ステップS4)。記録データが感熱用紙に印字されると、MCU16は、ラッチ回路41を初期化する(ステップS5)なお、ステップS3、4、5の詳細については、後述する。   Next, when image data is received from a host device (not shown) (step S3), the MCU 16 temporarily stores the received data in the RAM. When the MCU 16 determines the state of the thermal head driving circuit 17 and determines that the data can be transferred, the MCU 16 outputs the recording data to the shift register 40 one dot at a time in synchronization with the clock signal. When recording data for one line is stored in the shift register 40 and the latch signal is turned on by the MCU 16, the latch circuit 40 captures and stores the recording data of the shift register 40. The drive circuit 42 is selectively driven by a strobe signal supplied from the MCU 16 to capture recording data in the latch circuit 41 and heat the heating element 50 according to the recording data. As a result, a desired image is printed on the thermal paper conveyed to the nip portion between the thermal head 21 and the platen roller (step S4). When the recording data is printed on the thermal paper, the MCU 16 initializes the latch circuit 41 (step S5). Details of steps S3, S4, and S5 will be described later.

印字が終了した感熱用紙は、用紙送りモータ22の駆動によって用紙カット装置31のカット位置に搬送され(ステップS6)、所望サイズにカット(ステップS7)された感熱用紙が排出口から排出される。また、MCU16は、モータ駆動回路18を制御して、次の感熱用紙がサーマルヘッド21とプラテンローラとのニップ部に搬送されるように制御する(ステップS8)。   The thermal paper that has been printed is conveyed to the cutting position of the paper cutting device 31 by driving the paper feed motor 22 (step S6), and the thermal paper that has been cut to a desired size (step S7) is discharged from the discharge port. Further, the MCU 16 controls the motor drive circuit 18 so that the next thermal paper is conveyed to the nip portion between the thermal head 21 and the platen roller (step S8).

本実施例は、ラッチ回路41に格納した1ライン分の記録データの印字が終了するごとに、ラッチ回路41の初期化を行う。ラッチ回路41に保持した画像データを消去することで、ノイズ等による発熱素子への不用意な電力供給を防止し、サーマルヘッド21の損傷を防ぐことができる。   In this embodiment, the latch circuit 41 is initialized every time printing of the recording data for one line stored in the latch circuit 41 is completed. By erasing the image data held in the latch circuit 41, it is possible to prevent inadvertent power supply to the heating element due to noise or the like, and to prevent the thermal head 21 from being damaged.

ラッチ回路の初期化方法は、MCU16がラッチ回路41に、1ライン分のNULLデータを書き込むことで行う。NULLデータの書き込みによってラッチ回路41を初期化するので、特別な装置を設けることなく、簡単に初期化することができる。   The initialization method of the latch circuit is performed by the MCU 16 writing NULL data for one line in the latch circuit 41. Since the latch circuit 41 is initialized by writing NULL data, it can be easily initialized without providing a special device.

図4に示すフローチャートを参照しながら上述したステップS3、4、5の詳細を説明する。
まず、MCU16はサーマルヘッド駆動回路17に出力する記録データ数をカウントするカウンタの値を初期化する(ステップS11)。次に、MCU16は、サーマルヘッド駆動回路17の状態を判定し、記録データをサーマルヘッド駆動回路17に転送可能であると判定すると(ステップS12/YES)、記録データの転送を開始する(ステップS13)。
MCU16は、カウンタのカウント値を参照して、シフトレジスタ40の1ライン分の記録データの転送完了を判定する。1ライン分の記録データの転送が完了したと判定すると(ステップS14)、記録データに引き続き1ライン分のNULLデータをサーマルヘッド駆動回路17に出力する(ステップS15)。その後、ラッチ回路41に供給されるラッチ信号をオンすることで、NULLデータが、シフトレジスタ40からラッチ回路41に取り込まれ、ラッチ回路41の初期化が行われる。
The details of steps S3, S4, S4, and S5 described above will be described with reference to the flowchart shown in FIG.
First, the MCU 16 initializes the value of a counter that counts the number of recording data output to the thermal head drive circuit 17 (step S11). Next, when the MCU 16 determines the state of the thermal head driving circuit 17 and determines that the recording data can be transferred to the thermal head driving circuit 17 (step S12 / YES), it starts transferring the recording data (step S13). ).
The MCU 16 refers to the count value of the counter and determines the completion of transfer of the recording data for one line of the shift register 40. When it is determined that the transfer of the recording data for one line has been completed (step S14), NULL data for one line is output to the thermal head drive circuit 17 following the recording data (step S15). Thereafter, by turning on the latch signal supplied to the latch circuit 41, NULL data is taken into the latch circuit 41 from the shift register 40, and the latch circuit 41 is initialized.

なお、図4に示すフローチャートでは、1ライン分の記録データをサーマルヘッド駆動回路17に送出すると、これに続いてラッチ回路41の初期化を行っている。これ以外の初期化タイミングとして、図3に示すフローチャートの用紙送り(ステップS3)、カット(ステップS4)、用紙搬送(ステップS5)のいずれかのステップが完了した後に、ラッチ回路41の初期化を行ってもよい。
ステップS3の用紙送りのステップでは、モータ駆動回路18によって用紙送りモータ22を所定ステップ駆動した後で、ラッチ回路41の初期化を行う。
また、ステップS4の用紙カットのステップでは、モータ駆動回路19によって用紙カット用モータを所定ステップ駆動した後で、ラッチ回路41の初期化を行う。
また、ステップS5の用紙搬送のステップでも、用紙送りモータ22を所定ステップ駆動した後で、ラッチ回路41の初期化を行う。
In the flowchart shown in FIG. 4, when recording data for one line is sent to the thermal head drive circuit 17, the latch circuit 41 is initialized subsequently. As other initialization timings, the latch circuit 41 is initialized after completion of any of the paper feed (step S3), cut (step S4), and paper transport (step S5) steps in the flowchart shown in FIG. May be.
In the paper feeding step of Step S3, the latch circuit 41 is initialized after the motor driving circuit 18 drives the paper feeding motor 22 for a predetermined step.
In the paper cutting step of step S4, the latch circuit 41 is initialized after the motor driving circuit 19 drives the paper cutting motor for a predetermined step.
In the paper transport step of step S5, the latch circuit 41 is initialized after the paper feed motor 22 is driven for a predetermined step.

図5に示すフローチャートを参照しながら、MCU16が初期化を行うタイミングを判定するフローを説明する。
MCU16は、まず、サーマルヘッド駆動回路17の状態を確認する。MCU16からサーマルヘド駆動回路17に記録データを転送して、サーマルヘッド駆動回路17で処理を行っている場合(ステップS21/YES)、サーマルヘッド21を駆動して記録データを印字している場合には(ステップS22)、ラッチ回路41の初期化は行わない。また、MCU16は、記録装置1の上位装置(例えば、PC)から受信し、サーマルヘッド駆動回路17に未転送の画像データがRAM14に格納されている場合にも(ステップS23)ラッチ回路41の初期化は行わない。また、サーマルヘッド駆動回路17が転送した記録データの処理中ではなかった場合(ステップS21/NO)、印字中ではなった場合(ステップS22/NO)、サーマルヘッド駆動回路17に未転送の画像データがRAM14に格納されていなかった場合(ステップS23/NO)、MCU16は、初期化のタイミングと判定し、1ライン分のNULLデータをサーマルヘッド駆動回路17に送出して、ラッチ回路41の初期化を行う(ステップS24)。
A flow for determining the timing at which the MCU 16 performs initialization will be described with reference to the flowchart shown in FIG.
The MCU 16 first checks the state of the thermal head drive circuit 17. When recording data is transferred from the MCU 16 to the thermal head driving circuit 17 and processing is performed by the thermal head driving circuit 17 (step S21 / YES), and when the thermal head 21 is driven to print recording data (Step S22) The latch circuit 41 is not initialized. The MCU 16 also receives the initial data of the latch circuit 41 when image data received from the host device (for example, PC) of the recording apparatus 1 and not transferred to the thermal head drive circuit 17 is stored in the RAM 14 (step S23). No conversion is performed. If the recording data transferred by the thermal head driving circuit 17 is not being processed (step S21 / NO), or if printing is not being performed (step S22 / NO), the image data not transferred to the thermal head driving circuit 17 is transferred. Is not stored in the RAM 14 (step S23 / NO), the MCU 16 determines that it is an initialization timing, sends one line of NULL data to the thermal head drive circuit 17, and initializes the latch circuit 41. Is performed (step S24).

また、上述したタイミング以外に、次の画像データを入力するまでの待機時、ヘッド位置検出センサ24でサーマルヘッド21のヘッドアップを検出した時、用紙検出センサ23によって画像形成位置に用紙が搬送されていないことを検出した時、電源制御回路11によって、電源装置30の異常を検出した時などに、MCU16はラッチ回路41の初期化を行うこともできる。   In addition to the timing described above, when waiting until the next image data is input, when the head position detection sensor 24 detects the head up of the thermal head 21, the sheet detection sensor 23 conveys the sheet to the image forming position. The MCU 16 can also initialize the latch circuit 41 when it is detected that the power supply control circuit 11 detects an abnormality in the power supply device 30.

図6に示すフローチャートを参照しながらMCU16の処理手順について説明する。MCU16は、ヘッド位置検出センサ24でサーマルヘッド21のヘッドアップを検出すると(ステップS41/YES)、ラッチ回路41の初期化を行う(ステップS44)。また、用紙検出センサ23から印字位置に用紙が無いことを示す用紙無し信号が出力されると(ステップS42/YES)、ラッチ回路41の初期化を行う(ステップS44)。さらに、電源制御回路11から電源装置30の供給電圧に異常があることを通知する通知信号が入力されると(ステップS43/YES)、ラッチ回路41の初期化を行う(ステップS44)。   The processing procedure of the MCU 16 will be described with reference to the flowchart shown in FIG. When the head position detection sensor 24 detects the head up of the thermal head 21 (step S41 / YES), the MCU 16 initializes the latch circuit 41 (step S44). When the paper detection signal indicating that there is no paper at the printing position is output from the paper detection sensor 23 (step S42 / YES), the latch circuit 41 is initialized (step S44). Further, when a notification signal for notifying that the supply voltage of the power supply device 30 is abnormal is input from the power supply control circuit 11 (step S43 / YES), the latch circuit 41 is initialized (step S44).

上述した実施例は本発明の好適な実施例である。但し、これに限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変形実施可能である。   The embodiment described above is a preferred embodiment of the present invention. However, the present invention is not limited to this, and various modifications can be made without departing from the scope of the present invention.

記録装置の構成を示す構成図である。It is a block diagram which shows the structure of a recording device. サーマルヘッドと、サーマルヘッド駆動回路の構成を示す図である。It is a figure which shows the structure of a thermal head and a thermal head drive circuit. 記録装置の記録手順を示すフローチャートである。It is a flowchart which shows the recording procedure of a recording device. 記録データを初期化する手順を示すフローチャートである。It is a flowchart which shows the procedure which initializes recording data. 記録データを初期化するタイミングを示すフローチャートである。It is a flowchart which shows the timing which initializes recording data. 記録データを初期化するタイミングを示すフローチャートである。It is a flowchart which shows the timing which initializes recording data.

符号の説明Explanation of symbols

1 記録装置
10 制御ユニット
11 電源制御回路
12 通信インターフェース部
13 ROM
14 RAM
15 EEPROM
16 MCU
17 サーマルヘッド駆動回路
18、19 モータ駆動回路
20 メカユニット
21 サーマルヘッド
22 用紙送りモータ
23 用紙検出センサ
24 ヘッド位置検出センサ
25 用紙搬送検出センサ
30 電源装置
31 用紙カッタ装置
32 用紙カット用モータ
DESCRIPTION OF SYMBOLS 1 Recording device 10 Control unit 11 Power supply control circuit 12 Communication interface part 13 ROM
14 RAM
15 EEPROM
16 MCU
DESCRIPTION OF SYMBOLS 17 Thermal head drive circuit 18, 19 Motor drive circuit 20 Mechanical unit 21 Thermal head 22 Paper feed motor 23 Paper detection sensor 24 Head position detection sensor 25 Paper conveyance detection sensor 30 Power supply device 31 Paper cutter device 32 Paper cut motor

Claims (10)

ライン状に配列された多数の発熱素子を有する記録ヘッドと、
1ライン分の画像データを格納するラッチ回路と、
前記1ライン分の画像データに応じて、前記発熱素子を選択的に駆動するドライブ回路と、
前記ラッチ回路に保持した前記1ライン分の画像データの記録材への書き込みが終了すると、前記ラッチ回路を初期化する制御手段と、
を有することを特徴とする記録装置。
A recording head having a large number of heating elements arranged in a line;
A latch circuit for storing image data for one line;
A drive circuit that selectively drives the heat generating element according to the image data for one line;
Control means for initializing the latch circuit when the writing of the image data for one line held in the latch circuit to the recording material is completed;
A recording apparatus comprising:
前記制御手段は、前記ラッチ回路に、1ライン分の空データを書き込んで初期化することを特徴とする請求項1記載の記録装置。   2. A recording apparatus according to claim 1, wherein said control means initializes the latch circuit by writing empty data for one line. 前記制御手段は、書き込みの終了した前記記録材を搬送する際に、前記ラッチ回路を初期化することを特徴とする請求項1又は2記載の記録装置。   3. The recording apparatus according to claim 1, wherein the control unit initializes the latch circuit when transporting the recording material on which writing has been completed. 前記制御手段は、書き込みの終了した前記記録材を所定サイズにカットする際に、前記ラッチ回路を初期化することを特徴とする請求項1又は2記載の記録装置。   3. The recording apparatus according to claim 1, wherein the control unit initializes the latch circuit when the recording material that has been written is cut into a predetermined size. 前記制御手段は、書き込みが終了し、次の画像を記録する記録材を搬送する際に、前記ラッチ回路を初期化することを特徴とする請求項1又は2記載の記録装置。   3. The recording apparatus according to claim 1, wherein the control unit initializes the latch circuit when the recording is completed and a recording material for recording a next image is conveyed. 前記制御手段は、次の画像データを入力するまでの待機時に、前記ラッチ回路の初期化を行うことを特徴とする請求項1又は2記載の記録装置。   3. The recording apparatus according to claim 1, wherein the control unit initializes the latch circuit during standby until the next image data is input. 前記記録ヘッドの非記録時のヘッドアップ状態と、記録時のヘッドダウン状態とを検出するヘッド位置検出手段を有し、
前記制御手段は、前記ヘッド位置検出手段により前記ヘッドアップ状態を検出すると、前記ラッチ回路の初期化を行うことを特徴とする請求項1又は2記載の記録装置。
A head position detecting means for detecting a head-up state at the time of non-recording of the recording head and a head-down state at the time of recording;
3. The recording apparatus according to claim 1, wherein the control unit initializes the latch circuit when the head position detection unit detects the head-up state.
前記記録ヘッドの記録位置に、前記記録材が搬送されているか否かを検出する記録材検出手段を有し、
前記制御手段は、前記記録材検出手段により前記記録位置に前記記録材が搬送されていないことを検出すると、前記ラッチ回路の初期化を行うことを特徴とする請求項1又は2記載の記録装置。
A recording material detecting means for detecting whether or not the recording material is conveyed at a recording position of the recording head;
3. A recording apparatus according to claim 1, wherein said control means initializes said latch circuit when said recording material detecting means detects that said recording material is not conveyed to said recording position. .
前記発熱素子に供給される電圧の異常を検出する異常検出手段を有し、
前記制御手段は、前記異常検出手段により前記電圧の異常を検出すると、前記ラッチ回路の初期化を行うことを特徴とする請求項1又は2記載の記録装置。
Having an abnormality detecting means for detecting an abnormality of the voltage supplied to the heating element;
3. A recording apparatus according to claim 1, wherein said control means initializes said latch circuit when said abnormality of said voltage is detected by said abnormality detecting means.
1ライン分の画像データを記憶手段に格納するステップと、
前記1ライン分の画像データに応じて、記録ヘッドの発熱素子を選択的に駆動するステップと、
前記記憶手段に格納した前記1ライン分の画像データの記録材への書き込みが終了すると、前記記憶手段を初期化するステップと、
を有することを特徴とする記録装置の保護方法。
Storing image data for one line in a storage means;
Selectively driving the heating elements of the recording head according to the image data for one line;
When the writing of the image data for one line stored in the storage unit to the recording material is completed, the step of initializing the storage unit;
A method for protecting a recording apparatus, comprising:
JP2006164100A 2006-06-13 2006-06-13 Recorder and method for protecting the same Pending JP2007331179A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006164100A JP2007331179A (en) 2006-06-13 2006-06-13 Recorder and method for protecting the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006164100A JP2007331179A (en) 2006-06-13 2006-06-13 Recorder and method for protecting the same

Publications (1)

Publication Number Publication Date
JP2007331179A true JP2007331179A (en) 2007-12-27

Family

ID=38931124

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006164100A Pending JP2007331179A (en) 2006-06-13 2006-06-13 Recorder and method for protecting the same

Country Status (1)

Country Link
JP (1) JP2007331179A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61112941A (en) * 1984-11-08 1986-05-30 Tatsuta Electric Wire & Cable Co Ltd Light source apparatus for measuring base material of optical fiber
JPS634968A (en) * 1986-06-25 1988-01-09 Nec Corp Thermal head driving circuit
JPH01153946A (en) * 1987-12-11 1989-06-16 Matsushita Electric Ind Co Ltd Radiation measuring instrument
JPH02215554A (en) * 1989-02-16 1990-08-28 Toshiba Corp Recorder of thermal recording system
JPH04361078A (en) * 1991-06-10 1992-12-14 Alps Electric Co Ltd Drive control method for printer
JPH0671926A (en) * 1992-08-27 1994-03-15 Toshiba Corp Thermal recording apparatus
JP2005297279A (en) * 2004-04-08 2005-10-27 Canon Finetech Inc Protection method of printing head, printing head and printer
JP2005313496A (en) * 2004-04-28 2005-11-10 Sato Corp Printer

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61112941A (en) * 1984-11-08 1986-05-30 Tatsuta Electric Wire & Cable Co Ltd Light source apparatus for measuring base material of optical fiber
JPS634968A (en) * 1986-06-25 1988-01-09 Nec Corp Thermal head driving circuit
JPH01153946A (en) * 1987-12-11 1989-06-16 Matsushita Electric Ind Co Ltd Radiation measuring instrument
JPH02215554A (en) * 1989-02-16 1990-08-28 Toshiba Corp Recorder of thermal recording system
JPH04361078A (en) * 1991-06-10 1992-12-14 Alps Electric Co Ltd Drive control method for printer
JPH0671926A (en) * 1992-08-27 1994-03-15 Toshiba Corp Thermal recording apparatus
JP2005297279A (en) * 2004-04-08 2005-10-27 Canon Finetech Inc Protection method of printing head, printing head and printer
JP2005313496A (en) * 2004-04-28 2005-11-10 Sato Corp Printer

Similar Documents

Publication Publication Date Title
JP5256893B2 (en) RECORDING DEVICE, CONTROL METHOD AND CONTROL PROGRAM FOR RECORDING DEVICE
US8564632B2 (en) Thermal printer
JP4784330B2 (en) Printing device
JP2013073318A (en) Medium processor and control method for the same
JP5981767B2 (en) Image forming apparatus, control method therefor, program, and storage medium
JP6127404B2 (en) Medium processing apparatus and method for controlling medium processing apparatus
JP2004082348A (en) Recorder
JP4599338B2 (en) Printer
JP2006524589A (en) Printer and printer drive device
JP2007331179A (en) Recorder and method for protecting the same
JP2004255658A (en) Printer
US20060204307A1 (en) Image forming device and image forming method
JP2006007561A (en) Printer
JP2008044251A (en) Printer and motor control method therefor
JP2007126278A (en) Image recorder
JP2007326222A (en) Printer
JP2006110811A5 (en)
JP2013202950A (en) Printing device
JP2007058418A (en) Recording device
JP2008006687A (en) Rewriting printer
JP2007069530A (en) Recording control device and method for controlling record
JP2004268405A (en) Printer, initial printing control method for printer, program therefor, and computer readable recording medium with the program recorded
US7284919B2 (en) Printing apparatus and control method
JP2019043084A (en) Recording apparatus and control method
JP2020040799A (en) Recording apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090416

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110715

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110726

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20111129