JP2015166973A - Transfer system and printer - Google Patents
Transfer system and printer Download PDFInfo
- Publication number
- JP2015166973A JP2015166973A JP2014041437A JP2014041437A JP2015166973A JP 2015166973 A JP2015166973 A JP 2015166973A JP 2014041437 A JP2014041437 A JP 2014041437A JP 2014041437 A JP2014041437 A JP 2014041437A JP 2015166973 A JP2015166973 A JP 2015166973A
- Authority
- JP
- Japan
- Prior art keywords
- data
- motor
- transfer
- control circuit
- unit
- 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
Links
Images
Abstract
Description
本発明は、転送システムおよび印刷装置に関する。 The present invention relates to a transfer system and a printing apparatus.
従来からデーター転送に必要な配線を簡略化しつつ、効率的にデーター転送を行う手法が種々試みられている(特許文献1参照)。 Conventionally, various methods for efficiently transferring data while simplifying wiring necessary for data transfer have been attempted (see Patent Document 1).
それぞれモーターの駆動を制御する複数のモータードライバーがシリアル通信のためのバスに接続されており、各モータードライバーを制御するコントローラーが、当該バスを通じて各モータードライバーを制御するためのデーター(コマンド、パラメーター、などとも表現する。)を転送する構成を想定する。
モーターの制御には、モーターの回転速度(回転数)の制御や、回転方向や回生等の制御といったように複数種類の制御が存在し、これら各制御に同期性が求められることがある。しかし、上述したようなコントローラーとモータードライバーとが1対複数で接続する構成では、あるモータードライバーにおいて必要な複数の制御の同期性を保つことが出来ない場合がある。これは、あるモータードライバーへの前記データーの転送が、他のモータードライバーへのデーター転送との関係で待機状態となったり、同時に転送すべき複数のデーターとデーターとの間に、他のモータードライバーを制御するためのデーター転送が割り込んだりするからである。
A plurality of motor drivers that control the drive of each motor are connected to a bus for serial communication, and the controller (the controller that controls each motor driver) has data (commands, parameters, Etc.)) is assumed.
For motor control, there are a plurality of types of control, such as control of the rotational speed (number of rotations) of the motor, control of the rotation direction, regeneration, and the like, and synchronization may be required for each of these controls. However, in the configuration in which the controller and the motor driver are connected in a one-to-multiple manner as described above, the synchronization of the plurality of controls necessary for a certain motor driver may not be maintained. This is because the transfer of the data to one motor driver is in a standby state in relation to the data transfer to another motor driver, or between other data to be transferred to other motor drivers. This is because the data transfer for controlling the operation is interrupted.
本発明は少なくとも上述の課題を解決するためになされたものであり、同期性が求められる複数の制御についての同期性を確保することが可能な転送システムおよび印刷装置を提供する。 The present invention has been made to solve at least the above-described problems, and provides a transfer system and a printing apparatus that can ensure the synchronism of a plurality of controls that require synchronism.
本発明の一態様では、ステッピングモーターを制御する第1制御回路と、第1DCモーターを制御する第2制御回路と、1のデータラインおよび1のクロックラインを介して接続した複数の前記制御回路のそれぞれにモーターの制御を指示するデーターをシリアルに転送するコントローラーと、を備え、前記コントローラーは、前記第1制御回路に対する第1のデーターを1のデータラインに対応付けて周期的に転送し、前記第2制御回路に対する第2のデーターを1のデータラインに対応付けて転送し、前記第1のデーターを転送するタイミングの一定時間から前記第1のデーターの転送完了まで、前記第2のデーターの転送を待機する。 In one aspect of the present invention, the first control circuit that controls the stepping motor, the second control circuit that controls the first DC motor, and a plurality of the control circuits connected via one data line and one clock line. A controller for serially transferring data instructing control of each motor, wherein the controller periodically transfers first data for the first control circuit in association with one data line, and The second data for the second control circuit is transferred in association with one data line, and the second data is transferred from a certain time of the transfer timing of the first data to the completion of the transfer of the first data. Wait for transfer.
上記のように構成された発明では、コントローラーは、第1制御回路に対する第1のデーターを1のデータラインに対応付けて周期的に転送し、第2制御回路に対する第2のデーターを1のデータラインに対応付けて転送する。また、コントローラーは、第1のデーターを転送するタイミングの一定時間から第1のデーターの転送完了まで、第2のデーターの転送を待機する。
そのため、周期性を伴うステッピングモーターを第1のデーターで駆動させる場合でも、ステッピングモーターを適切に駆動させることができる。
In the invention configured as described above, the controller periodically transfers the first data for the first control circuit in association with one data line, and transfers the second data for the second control circuit to the one data. Transfer in association with the line. Further, the controller waits for the transfer of the second data from the fixed time of the timing of transferring the first data until the transfer of the first data is completed.
Therefore, even when the stepping motor with periodicity is driven with the first data, the stepping motor can be appropriately driven.
本発明の一態様では、第2DCモーターを制御する第3制御回路をさらに備え、前記コントローラーは、前記第1制御回路および前記第2制御回路は、前記クロックラインを流れるクロック信号の立ち上がりまたは立ち下がりに対応づけてデーターを送信し、前記第3制御回路は、前記クロックラインを流れる前記クロック信号の立ち上がりまたは立ち下がりの他方に対応づけてデーターを送信する。
上記のように構成された発明では、より多くのモーターを1つのデータラインを用いて制御する場合でも、ステッピングモーターを適切に駆動させることができる。
In one aspect of the present invention, the controller further includes a third control circuit that controls a second DC motor, wherein the controller includes the first control circuit and the second control circuit that rise or fall of a clock signal that flows through the clock line. The third control circuit transmits data in association with the other of the rising edge and falling edge of the clock signal flowing through the clock line.
In the invention configured as described above, even when more motors are controlled using one data line, the stepping motor can be driven appropriately.
本発明の一態様では、前記コントローラーは、前記第2のデーターの長さに応じて、前記第2のデーターを待機させる。
上記のように構成された発明では、第1のデーターと第2のデーターとの衝突をより精度良く防ぐことができる。
In one aspect of the present invention, the controller causes the second data to wait according to the length of the second data.
In the invention configured as described above, collision between the first data and the second data can be prevented with higher accuracy.
本発明の技術的思想は、上述した転送システムのみによって実現されるものではない。例えば、前記転送システムに対応する処理工程を備える方法の発明や、当該方法の各工程をハードウェア(コンピューター)に実行させるコンピュータープログラム、さらには当該プログラムを記録したコンピューター読み取り可能な記録媒体、等の各種カテゴリーにて本発明が実現されてもよい。また、前記転送システムは、一台の独立した製品内に存在してもよいし、複数台の製品に跨って存在してもよい。また、具体的製品の一例として、前記転送システムを備える印刷装置を一つの発明として捉えることができる。 The technical idea of the present invention is not realized only by the transfer system described above. For example, an invention of a method including processing steps corresponding to the transfer system, a computer program that causes a hardware (computer) to execute each step of the method, a computer-readable recording medium that records the program, etc. The present invention may be implemented in various categories. The transfer system may exist in one independent product, or may exist across a plurality of products. Further, as an example of a specific product, a printing apparatus including the transfer system can be regarded as one invention.
以下、下記の順序に従って本発明の実施形態を説明する。
1.第1の実施形態:
(1)印刷装置の構成
(2)転送処理の概要
(3)モータードライバーの構成
(4)SOCの構成
(5)調停制御について
2.第2の実施形態:
3.その他の実施形態:
Hereinafter, embodiments of the present invention will be described in the following order.
1. First embodiment:
(1) Configuration of printing apparatus (2) Overview of transfer process (3) Configuration of motor driver (4) Configuration of SOC (5) Arbitration control Second embodiment:
3. Other embodiments:
1.第1の実施形態:
(1)印刷装置の構成
転送システムの一例として印刷装置10を例に説明を行う。印刷装置10は、FAX機能、印刷機能、スキャナー機能を備える複合機である。印刷装置10は、筺体と、筺体の上部に備えられたスキャナー部と、筺体の内部に備えられて用紙に対して印刷を行う印刷部と、筺体の内部に備えられて印刷部に用紙を供給する搬送部と、を備える。
1. First embodiment:
(1) Configuration of Printing Device The
スキャナー部は、原稿台(図示しない)にセットされた原稿をスキャンして、データー化する。スキャナー部は、スキャナーユニットと、ミラーと、レンズと、CCDイメージセンサーと、を備える。このスキャナー部では、スキャナーユニットが走査方向に移動して、原稿を読み取る。スキャナーユニットにより読み取られた原稿データーは、ミラーを介してレンズに集められ、CCDイメージセンサーに入力する。以下、スキャナー部によりスキャンされたデーターを原稿データーとも記載する。 The scanner unit scans a document set on a document table (not shown) and converts it into data. The scanner unit includes a scanner unit, a mirror, a lens, and a CCD image sensor. In this scanner unit, the scanner unit moves in the scanning direction to read a document. Document data read by the scanner unit is collected on a lens via a mirror and input to a CCD image sensor. Hereinafter, data scanned by the scanner unit is also referred to as original data.
搬送部は、用紙がセットされるトレイと、トレイにセットされた用紙を搬送経路に供給する給紙ローラーと、給紙された用紙を印刷部に給紙する搬送ローラーを備える。 The transport unit includes a tray on which paper is set, a paper feed roller that supplies the paper set on the tray to the transport path, and a transport roller that feeds the fed paper to the printing unit.
本実施形態では、印刷部として、インクジェット式のプリントヘッドであって、走査を行うシリアル式のプリントヘッドを例に説明を行う。印刷部は、搬送部により給紙された用紙に対してインクを記録するプリントヘッド、プリントヘッドを往復移動させるキャリッジを備える。キャリッジは、プリントヘッドのインク吐出面を下側に向けた状態で同プリントヘッドを固定している。また、キャリッジは、走査方向に往復移動する。また、プリントヘッドは、キャリッジや用紙の搬送に同期して、用紙に対してインクを記録する。 In the present embodiment, a description will be given by taking an example of an inkjet print head as a printing unit, which is a serial print head that performs scanning. The printing unit includes a print head that records ink on a sheet fed by a transport unit, and a carriage that reciprocates the print head. The carriage fixes the print head with the ink ejection surface of the print head facing downward. The carriage reciprocates in the scanning direction. The print head records ink on the paper in synchronization with carriage and paper conveyance.
図1は、搬送部、キャリッジ、スキャナーユニットにおける各モーター制御に係るデーター転送機能を実現するハードウェアの一部を示した図である。
印刷装置10の駆動を制御するSOC50の出力ポートは、複数のモータードライバー210〜260と接続されている。そして、各モータードライバー210〜260は、モーター310〜360と、それぞれ接続している。
FIG. 1 is a diagram illustrating a part of hardware for realizing a data transfer function related to motor control in a transport unit, a carriage, and a scanner unit.
An output port of the SOC 50 that controls driving of the
モータードライバー210、230は、搬送部の給紙ローラー、を駆動させる給紙モーター310、330とそれぞれ接続され、給紙モーター310、330の回転を制御する。
また、モータードライバー220、240は、搬送部の搬送ローラー、を駆動させる搬送モーター320、340とそれぞれ接続され、搬送モーター320、340の回転を制御する。
また、モータードライバー250は、キャリッジを駆動させるキャリッジモーター350に接続され、キャリッジモーター350の回転を制御する。
そして、モータードライバー260は、スキャナーユニットを駆動させるスキャナモーター360に接続され、スキャナモーター360の回転を制御する。
The
The
The
The
各モータードライバーは、SOC50とは別体で構成されるICを想定するが、SOCに組み込んでも良い。尚、本実施形態では、スキャナモーター360はステッピングモーターを想定する。また、給紙モーター310、330、搬送モーター320、340およびキャリッジモーター350は直流電流で駆動する直流モーター(DCモーター)を想定するが、電動機であれば良くこれらに限定されるものではない。
なお、本実施形態では、第1の制御回路は、モータードライバー260であり、第2または第3の制御回路はモータードライバー210〜250である。
Each motor driver assumes an IC configured separately from the
In the present embodiment, the first control circuit is the
SOC50と、各モータードライバー210〜260との間のデーター転送は、シリアルインターフェイス方式を採用し、クロックライン(CLK)、データライン(DATA)およびロードライン(LD)の3線を使用してデーター転送が行われる。また、SOC50がデーター転送に使用する3線は1系統のみであり、CLK、DATAおよびLDの各線はそれぞれ6分岐され、モータードライバー210〜260に接続されている。
Data transfer between the
次に、SOC50と、各モータードライバー210〜260との間で転送される転送データー100の構成について説明する。
図2は、SOC50からモータードライバー210〜260に転送される転送データー100の構成を説明する図である。図2(a)は、データー形式を示す図である。また、図2(b)は、識別ID110に指定されるモータードライバーを説明する図である。
Next, the configuration of the
FIG. 2 is a diagram for explaining the configuration of the
図2(a)に示すように、転送データー100は、識別ID110と、指示データー120と、を含む。識別ID110は、送り先のモータードライバーを特定するための情報である。また、指示データー120は、モータードライバーに実行させる命令を規定した情報である。例えば、識別ID110は1つの転送データー100の先頭3ビットにより構成される。また、指示データー120は、識別ID110と比べて後ろの18ビットにより構成される。
また、図2(b)に示すように、識別ID110の各値は、それぞれ各モータードライバー210〜260に対応している。
As shown in FIG. 2A, the
As shown in FIG. 2B, each value of the
指示データー120は、モータードライバーの設定を行なう設定コマンドや、モータードライバーの駆動を制御する駆動コマンドを含む。
設定コマンドは、各モーターを駆動するために供給する電流の供給方法を設定する『電流パラメーター』や、モーターの停止方法を規定する『停止パラメーター』を含む。また、駆動コマンドには、『等速制御』、『等速第2制御』、『回生ブレーキ』、『ショートブレーキ』、『ショートブレーキ』、『ブレーキエンド』の各命令を含む。
The
The setting command includes a “current parameter” for setting a supply method of a current supplied to drive each motor, and a “stop parameter” for specifying a motor stop method. Further, the drive command includes commands of “constant speed control”, “constant speed second control”, “regenerative brake”, “short brake”, “short brake”, and “brake end”.
各モータードライバー210〜260で処理されるデーターは複数のビット列で構成される。本実施形態では、21ビット単位、即ち、3バイト単位で構成される態様を想定する。それより小さいもしくは大きいビット数からなるデーターとしても良いし、コマンドやパラメーター等の態様に応じて可変長のビット数からなるデーターとしても良い。
Data processed by each of the
さらに、読み取った原稿の画像データーを順次印刷するために、SOC50は、給紙モーター310、330、搬送モーター320、340、およびキャリッジモーター350をそれぞれ駆動させるための駆動コマンドを各モータードライバー210〜250に送る。従って、SOC50は、モータードライバー260によるスキャナモーター360の駆動と、モータードライバー210〜250による給紙モーター310、330、搬送モーター320、340、またはキャリッジモーター350の駆動を非同期で指示することから、タイミングによっては略同時に制御コマンドに基づく制御が指示される場合がある。(本実施例において、SOC50が転送する、ステッピングモーターに対する駆動指示データーやDCモーターに対するコマンドデータ等のモーター制御パラメーターについて、「データー」、「コマンド」、「パラメーター」などと言うことがある。)。
Further, in order to sequentially print the image data of the read original, the
(2)転送処理の概要
次に、SOC50と、各モータードライバー210〜260との間で行なわれるデーター転送処理の概要について説明する。
図3は、SOC50からモータードライバー210〜260に転送されるデーターのフォーマット例を示す図である。モータードライバー210(識別IDは奇数)のデーターは、クロック線CLKを流れるクロックパルスの立ち下がり時(t2、t4、・・・・、t16)のDATAのビット値に対応付けられている。また、モータードライバー220(識別IDは偶数)のデーターは、クロック線CLKを流れるクロックパルスの立ち上がり時(t1、t3、・・・・、t15)のデータラインDATAを流れる転送データー100のビット値に対応付けられている。即ち、SOC50は、モータードライバー210に対するデーターであるビット値とモータードライバー220に対するデーターであるビット値とをそれぞれ論理和した値をデータラインDATAに流す。
(2) Outline of Transfer Process Next, an outline of a data transfer process performed between the
FIG. 3 is a diagram illustrating a format example of data transferred from the
また、複数のビットデータで構成される1つのデーターのビット列の区切りはロードラインLDに流れるロード信号に対応付けられている。本実施形態では、CLKの立ち下がり時にLDがON状態ならば、モータードライバー210のデーターの区切りを示し、CLKの立ち上がり時にLDがON状態ならば、モータードライバー220のデーターの区切りを示す。従って、モータードライバー210およびモータードライバー220は、データーの区切りを検出した場合、それまでに取得したビット列を1つのデーターとして認識する。つまり、このLD信号は、一回で、もしくは複数回に分けて、クロックパルスのエッジに対応づけられて転送され、取得したビットデータの範囲を画定させるものであり、コマンドやパラメーター等のデーターとして一単位となる範囲を画定させる機能を有している。
In addition, a bit string delimiter of one data composed of a plurality of bit data is associated with a load signal flowing through the load line LD. In the present embodiment, if the LD is ON at the fall of CLK, the data delimiter of the
(3)モータードライバーの構成
次に、このような転送データー100を処理するモータードライバーの構成について説明する。図4は、モータードライバーの構成を説明する図である。以下では、モータードライバー220を例にその構成を説明する。なお、他のモータードライバーについてもその構成は同様であるため、説明を省略する。
モータードライバー220はクロック判定部221、シリアル・パラレル変換部222、ID判定部223、電流生成部224、ID設定部225、を備える。モータードライバー220を構成する各部は、周知の電子部品等のよりハードウェアにより構成される。
(3) Configuration of Motor Driver Next, the configuration of the motor driver that processes
The
CLKラインを通じて入力されたクロックパルスは、クロック判定部221に入力する。クロック判定部221は、クロックパルスの立ち上がりまたは立ち下がりを検出し、判定に応じて判定信号を出力する。上記のように、識別IDが奇数のモータードライバー210、230、250が有するクロック判定部221は、クロックパルスの立ち下がりを検出する。また、識別IDが偶数のモータードライバー220、240、260が有するクロック判定部221は、クロックパルスの立ち上がりを検出する。
The clock pulse input through the CLK line is input to the
また、データラインDATAを通じて入力した転送データー100は、シリアル・パラレル変換部222の前段部222aに入力する。シリアル・パラレル変換部222は、前段部222aがデータラインDATAおよびクロック判定部221の出力側と接続され、後段部222bがロードラインLD、ID判定部223、電流生成部224と接続されている。シリアル・パラレル変換部222の前段部は、1つの転送データー100を構成する21ビットの情報を記録することができる。また、クロック判定部221から判定信号が入力したことに同期して、前段部222aは、記録した21ビットの情報(転送データー100)を、後段部222bに出力する。そして、ロードラインを通じて入力したロード信号LDの入力に同期して、この転送データー100をパラレルに出力する。
Further, the
ID判定部223は、後段部222bの上位3ビットと接続されており、後段部222bから出力される転送データー100の上位3ビットを記録する。上記のように転送データー100の上位3ビットは識別ID110である。そのため、ID判定部223は識別ID110の情報をモータードライバー220の識別情報(ID設定部225から入力する情報)と比較し、両者が一致すれば、ID判定信号を出力する。
The
また、ID設定部225は、例えば、3つの設定ピンを備え、各設定ピンの電圧値の組合せに応じて、モータードライバー220の識別情報を設定する。例えば、モータードライバー220の識別情報が『3』(011)であれば、設定ピンの電圧値の組合せは、『ロー』『ハイ』『ハイ』となる。なお、設定ピンは図示しない回路に接続されている。
The
電流生成部224は、シリアル・パラレル変換部222の後段部222bの下位18および、ID判定部223とそれぞれ接続している。上記のように、転送データー100の下位18ビットは、指示データー120に対応している。電流生成部224は、指示データー120を受信すると、この指示データー120を解釈し、ID判定部223から出力されるID判定信号に同期して電流の出力や、パラメーターの設定を行う。
The
(4)SOCの構成
次に、SOC50の構成について説明する。
図5は、SOC50の内部構成を例示する図である。SOC50は、CPU(Central Processing Unit)60や、調停回路(アービーター)70、ステッピングモーター用転送部80、出力コントローラー90、図示を略したメモリーおよびコントローラー回路等を備えている。
(4) Configuration of SOC Next, the configuration of the
FIG. 5 is a diagram illustrating an internal configuration of the
CPU60は、複数のレジスターを有する。所定のプログラム(例えば、印刷装置10を稼働させるためのファームウェア)を実行するCPU60によって、転送データー100やフラグが各レジスターに記録され、また、各レジスターに記録された転送データーやフラグは、次々に、後段の調停回路70へ出力される。
The
CPU60の各レジスターには、モータードライバー210〜250に対応する情報が記録される。例えば、レジスターR11には、モータードライバー210に対する転送データー100が記録され、レジスターR12には、モータードライバー220における転送データー100が記録される。
Information corresponding to the
ステッピングモーター用転送部80は、ステッピングモーター(スキャナモーター360)を制御するための転送データー100をレジスターSRに記録する。ステッピングモーター用転送部80は、CPU60から出力されるモータードライバー260を制御するための転送データー100を受信すると、回転周期に合応じて調停回路70に出力する。
The stepping
調停回路70は、CPU60のレジスターRまたはステッピングモーター用転送部80のレジスターSRに記録された転送データー100の優先度に応じて、転送データー100を各レジスターから出力させる。また、本実施形態では、調停回路70は、ステッピングモーター用転送部80からモータードライバー260宛ての転送データー(第1のデーター)を受信すると、他のモータードライバー210〜250宛てのデーター(第2のデーター)の送信を所定期間だけ待機させる(調停制御)。
The
出力コントローラー90は、調停回路70による調停処理に応じて入力された転送データー100を、1のデータラインDATAを介して接続した複数の制御回路(モータードライバー210〜260)にシリアルに転送する。
転送データー100は、例えば、モーターの回転方向や回生を指示するコマンドやパラメーターである。
The
The
(5)調停制御(待機機能)について
次に、SOC50の調停回路70が行う調停制御について説明する。
図6は、調停回路70により制御される転送データー100を説明するタイミングチャートである。図6では、識別IDが偶数となるモータードライバー220、240、260における各転送データー100の転送を制御する場合を説明する。特に、図6では、ステッピングモーターであるスキャナモーター360を制御するための転送データーA(第1のデーター)と、DCモーターである給紙モーター310、搬送モーター320を制御するための転送データーB(第2のデーター)との調停制御を説明する。
(5) Arbitration Control (Standby Function) Next, arbitration control performed by the
FIG. 6 is a timing chart for explaining the
ここで、図6(a)は、転送データーAが調停回路70に入力するタイミングを示す。また、図6(b)(c)は、転送データーB、転送データーCが調停回路70に入力するタイミングを示す。そして、図6(d)は、調停回路70が行うマスク処理を示す。さらに、図6(e)は、出力コントローラー90により、転送される各転送データーA、B、Cのタイミングを示す。
Here, FIG. 6A shows the timing at which the transfer data A is input to the
図6(a)に示すように、調停回路70には、ステッピングモーター用転送部80からステップ周期Tsで転送データーAが入力する。このステップ周期Tsは、スキャナモーター360を回転させる周期である。調停回路70は、転送データーAを受信すると、転送データーA、B、Cの出力を待機させるマスク処理を行なう(図6(d))。マスク処理では、マスク信号が『ハイ』となる期間において、調停回路70から出力コントローラー90への転送データーの出力が禁止される。
As shown in FIG. 6A, the transfer data A is input to the
マスク信号は、転送データーAのステップ回数SN、およびステップ周期Tsに同期して『ハイ』、『ロー』を変化させる。即ち、転送データーAがスキャナモーター360を回転制御する場合の相切り替えの回数(ステップ回数SN)や、各相が切替えられるステップ周期Tsに同期して出力される。図6では、一例として、ステップ回数SNを4回とし、ステップ周期Tsを25マイクロ秒としている。例えば、ステップ回数SNおよびステップ周期Tsは、ステッピングモーター用転送部80から調停回路70へ出力される。
The mask signal changes “high” and “low” in synchronization with the step count SN of the transfer data A and the step period Ts. That is, the transfer data A is output in synchronization with the number of times of phase switching (step number SN) when the rotation of the
そして、マスク信号が『ロー』に変化すると、調停回路70は転送データーAを優先的に出力させる。調停回路70は、転送データーAを出力すると、転送データーB、Cの待機を解除し、各データーの優先度に応じて出力する(図6(e))。マスク信号が『ロー』に変化すると、転送データーAが転送され、次に、転送データーBまたは転送データーCが転送される(図6(e))。即ち、転送データーAは、ステップ周期Tsを保ちつつ転送が行われる。また、転送データーAと他の転送データーB、Cとの転送タイミングが衝突するのを防ぐことができる。
When the mask signal changes to “low”, the
ここで、マスク信号が『ハイ』となる期間より前に、調停回路70から転送データーB、Cが出力され、マスク信号が『ハイ』となる期間と転送データーB、Cが送信される期間とが重複する場合が起こりうる。そのため、この実施形態では、マスク信号が『ハイ』を維持する期間を、転送データーB、Cが連続して転送される転送期間(即ち、2つの転送データーの長さ)と比べて長くしている。上記構成とすることで、マスク信号が『ロー』となるタイミングで、転送が継続されている転送データーB,Cと、新たに転送される転送データーAが衝突するのを防ぐことができる。
Here, before the period when the mask signal becomes “high”, the transfer data B and C are output from the
以上説明したように、この第1の実施形態では、SOC50は、第1のデーターを転送するタイミングの一定時間から第1のデーターの転送完了まで、第2のデーターの転送を待機する。そのため、周期性を伴うステッピングモーターを第1のデーターで駆動させる場合でも、ステッピングモーターの周期性を保ちつつ駆動させることができる。
As described above, in the first embodiment, the
そして、SOC50は、第2のデーターの長さに応じて、第2のデーターを待機させるため、第1のデーターと第2のデーターとの衝突をより精度良く防ぐことができる。 And since SOC50 waits for 2nd data according to the length of 2nd data, it can prevent the collision with 1st data and 2nd data more accurately.
また、SOC50は、第1制御回路および第2制御回路には、クロックラインを流れるクロックパルスの立ち上がりまたは立ち下がりに対応づけてデーターを送信し、第3制御回路には、クロックラインを流れるクロックパルスの立ち上がりまたは立ち下がりの他方に対応づけてデーターを送信するため、より多くのモーターを1つのデータラインを用いて制御する場合でも、ステッピングモーターを適切に駆動させることができる。
The
2.第2の実施形態:
ステッピングモーターの駆動を制御するモータードライバーと、DCモーターの駆動を制御するモータードライバーと、の識別IDを、偶数番、奇数番に分けることで、それぞれのモーターをクロックパルスの立ち下がり、立ち上がりでそれぞれ制御する構成としてもよい。
2. Second embodiment:
By dividing the identification ID between the motor driver that controls the driving of the stepping motor and the motor driver that controls the driving of the DC motor into an even number and an odd number, each motor has a falling edge and a rising edge of the clock pulse. It is good also as a structure to control.
図7は、第2の実施形態にかかるモーター制御に係るデーター転送機能を実現するハードウェアの一部を示した図である。
この第2の実施形態においても、印刷装置10の駆動を制御するSOC50の出力ポートは、複数のモータードライバー210〜260と接続されている。そして、各モータードライバー210〜260は、モーター410〜460と、それぞれ接続している。
FIG. 7 is a diagram illustrating a part of hardware for realizing a data transfer function related to motor control according to the second embodiment.
Also in the second embodiment, the output port of the
この第2の実施形態では、識別IDが奇数『1』『3』『5』のモータードライバー210、230、250は、ステッピングモーター410、430、450をそれぞれ制御する。識別IDが偶数『2』『4』『6』のモータードライバー220、240、260は、DCモーター420、440、460をそれぞれ制御する。
In the second embodiment, the
SOC50と、各モータードライバー210〜260との間のデーター転送は、シリアルインターフェイス方式を採用し、クロックライン(CLK)、データライン(DATA)およびロードライン(LD)の3線を使用してデーター転送が行われる。また、SOC50がデーター転送に使用する3線は1系統のみであり、CLK、DATAおよびLDの各線はそれぞれ6分岐され、モータードライバー210〜260に接続されている。
また、SOC50は、第1の実施形態で記載したのと同様の機能を備える。
Data transfer between the
The
上記のように構成することで、ステッピングモーター410、430、450を制御するモータモータードライバー210、230、250は、クロックパルスの立ち下がりに同期して、転送データーを取り込む。また、DCモーター420、440、460を制御する220、240、260は、クロックパルスの立ち上がりに同期して、転送データーを取り込む。
そのため、ステッピングモーターとDCモーターとの制御が別々のタイミングで行われるため、周期性を伴うステッピングモーターの制御を適切に行うことができる。
With the configuration described above, the
Therefore, since the control of the stepping motor and the DC motor is performed at different timings, the stepping motor with periodicity can be appropriately controlled.
3.その他の実施形態:
上記した実施形態において、第1の実施形態に示したように、SOC50は、ステッピングモーター410、430、450を制御するモータードライバー210、230、250に対する転送データー100を転送するタイミングの一定時間からこの転送データーの転送完了まで、DCモーター420、440、460を制御する220、240、260の転送を待機させる構成としてもよい。上記構成とすることで、ステッピングモーターの周期性を保ちつつ駆動させることができる。
3. Other embodiments:
In the above-described embodiment, as shown in the first embodiment, the
10…印刷装置、50…SOC、60…CPU、70…調停回路、80…ステッピングモーター用転送部、90…出力コントローラー、100…転送データー、120…指示データー、210〜260…モータードライバー、221…クロック判定部、222…シリアル・パラレル変換部、222a…前段部、222b…後段部、223…ID判定部、224…電流生成部、225…ID設定部、310…給紙モーター、320…搬送モーター、330…給紙モーター、340…搬送モーター、350…キャリッジモーター、360…スキャナモーター
DESCRIPTION OF
Claims (4)
第1DCモーターを制御する第2制御回路と、
1のデータラインおよび1のクロックラインを介して接続した複数の前記制御回路のそれぞれにモーターの制御を指示するデーターをシリアルに転送するコントローラーと、を備え、
前記コントローラーは、
前記第1制御回路に対する第1のデーターを1のデータラインに対応付けて周期的に転送し、
前記第2制御回路に対する第2のデーターを1のデータラインに対応付けて転送し、
前記第1のデーターを転送するタイミングの一定時間から前記第1のデーターの転送完了まで、前記第2のデーターの転送を待機する、ことを特徴とする転送システム。 A first control circuit for controlling the stepping motor;
A second control circuit for controlling the first DC motor;
A controller for serially transferring data instructing control of the motor to each of the plurality of control circuits connected via one data line and one clock line;
The controller is
The first data for the first control circuit is periodically transferred in association with one data line,
Transferring the second data for the second control circuit in association with one data line;
2. The transfer system according to claim 1, wherein the transfer of the second data is waited from a certain time of the transfer timing of the first data to the completion of the transfer of the first data.
前記コントローラーは、
前記第1制御回路および前記第2制御回路には、前記クロックラインを流れるクロック信号の立ち上がりまたは立ち下がりに対応づけてデーターを送信し、
前記第3制御回路には、前記クロックラインを流れる前記クロック信号の立ち上がりまたは立ち下がりの他方に対応づけてデーターを送信する、ことを特徴とする請求項1に記載の転送システム。 A third control circuit for controlling the second DC motor;
The controller is
Data is transmitted to the first control circuit and the second control circuit in association with rising or falling of a clock signal flowing through the clock line,
2. The transfer system according to claim 1, wherein data is transmitted to the third control circuit in association with the other of the rising edge and the falling edge of the clock signal flowing through the clock line.
A printing apparatus comprising the transfer system according to claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014041437A JP2015166973A (en) | 2014-03-04 | 2014-03-04 | Transfer system and printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014041437A JP2015166973A (en) | 2014-03-04 | 2014-03-04 | Transfer system and printer |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2015166973A true JP2015166973A (en) | 2015-09-24 |
Family
ID=54257808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014041437A Pending JP2015166973A (en) | 2014-03-04 | 2014-03-04 | Transfer system and printer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2015166973A (en) |
-
2014
- 2014-03-04 JP JP2014041437A patent/JP2015166973A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2009149036A (en) | Head element substrate, recording head, and recording apparatus | |
JP2008012909A (en) | Inkjet recording apparatus | |
JP4565613B2 (en) | Serial data transfer method, electronic device, and recording apparatus | |
JP6051979B2 (en) | Transfer system and printing device | |
US20150151536A1 (en) | Ink jet head and ink jet printing apparatus having the same | |
JP6745602B2 (en) | Image reading apparatus and control method thereof | |
JP2015166973A (en) | Transfer system and printer | |
JP2015166972A (en) | Transfer system and printer | |
JP2015182367A (en) | Transfer system and printing apparatus | |
JP2015150729A (en) | Transfer system and printer | |
JP5078540B2 (en) | Recording apparatus and data transfer method | |
JP5553543B2 (en) | Recording head and recording apparatus using the recording head | |
JP2005231267A (en) | Inkjet printer | |
US20130166804A1 (en) | Information processing apparatus and recording apparatus using the same | |
JP2015153025A (en) | Transfer system and printer | |
KR20100130383A (en) | Image forming apparatus and method for controlling motor thereof | |
JP2008284752A (en) | Recorder and method for recording therein | |
JP2004358894A (en) | Recorder | |
JP4079958B2 (en) | Thermal history control device, operation method thereof, and thermal printer | |
JP2004358893A (en) | Recorder | |
US7540588B2 (en) | Method for printing data and ink jet printer using the same | |
JP2019179347A (en) | Electronic apparatus, control method for electronic apparatus, and program | |
JP5648031B2 (en) | Printing device and control program | |
JPH09207371A (en) | Data dma transferring circuit for heat transfer line printer | |
JP2020014357A (en) | Motor drive circuit, control method therefor, program, and recording device |