JP2015182367A - Transfer system and printing apparatus - Google Patents
Transfer system and printing apparatus Download PDFInfo
- Publication number
- JP2015182367A JP2015182367A JP2014061989A JP2014061989A JP2015182367A JP 2015182367 A JP2015182367 A JP 2015182367A JP 2014061989 A JP2014061989 A JP 2014061989A JP 2014061989 A JP2014061989 A JP 2014061989A JP 2015182367 A JP2015182367 A JP 2015182367A
- Authority
- JP
- Japan
- Prior art keywords
- data
- motor
- identification
- line
- clock
- 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 that transmits data for driving an electric motor, and a printing apparatus including the transfer system.
従来からデーター転送に必要な配線を簡略化しつつ、効率的にデーター転送を行う手法が種々試みられている(例えば、特許文献1参照)。 Conventionally, various methods for efficiently transferring data while simplifying wiring necessary for data transfer have been attempted (see, for example, Patent Document 1).
データー転送に係る一部の配線を共有する構成として、モータードライバーの配線を共通化した場合を想定してみる。モータードライバーAおよびモータードライバーBは、それぞれのモーターを駆動する。また、モーター制御に係る制御パラメーターの分離を容易にするため、一方へのモーター制御に係る制御パラメーターの転送終了後に、他方への制御パラメーターの転送を開始する。
ここで、制御パラメーターに基づくモーター制御をほぼ同時期に行わなければならない状況が発生したとすると、一方のモーターを制御するための制御パラメーターの転送が開始された後、他方のモーターの制御パラメーターの転送をすぐに開始することができず、他方のモーターの制御が開始可能になるまでに待ち時間が発生し、適切なタイミングでモーターを制御できなくなるおそれがある。
Assume that the motor driver wiring is shared as a configuration that shares some wiring related to data transfer. Motor driver A and motor driver B drive each motor. In order to facilitate separation of control parameters related to motor control, transfer of control parameters to the other is started after the transfer of control parameters related to motor control to one side is completed.
Here, if a situation occurs in which motor control based on the control parameter must be performed almost at the same time, after the transfer of the control parameter for controlling one motor is started, the control parameter of the other motor is changed. The transfer cannot be started immediately, and a waiting time is generated until the control of the other motor can be started, and the motor may not be controlled at an appropriate timing.
本発明は、上述のようにデーター転送に係る一部の配線を共有する構成において発生しうる課題に鑑みてなされたものであり、即時性のある処理を可能にする転送システムを提供することを目的とする。 The present invention has been made in view of the problems that may occur in the configuration in which a part of wiring related to data transfer is shared as described above, and provides a transfer system that enables immediate processing. Objective.
[適用例1]
上記課題を解決するために、本発明の一態様では、電動機を制御する複数の制御回路と、1のデータラインおよび1のクロックラインを介して接続した複数の前記制御回路のそれぞれに前記電動機の制御を指示する識別データーおよび指示データーをシリアルに転送するコントローラーと、を備え、複数の前記制御回路がそれぞれ自己の制御回路を識別するための第1識別データーを識別可能であり、前記コントローラーは、前記1のクロックラインにおけるクロックパルスの立ち上がりエッジに対して第1の制御回路に対する識別データーおよび第1の前記指示データーを前記1のデータラインに対応づけて転送し、前記1のクロックラインにおけるクロックパルスの立ち下がりエッジに対して第2の制御回路に対する識別データーおよび第2の前記指示データーを前記1のデータラインに対応づけて転送し、前記第1の制御回路は、前記1のクロックラインにおける前記クロックパルスの立ち上がりエッジに対して自己の第1識別データーまたは複数の制御回路を一括で指定する第2識別データーとともに転送された前記指示データーを解釈し、前記第2の制御回路は、前記1のクロックラインにおける前記クロックパルスの立ち下がりエッジに対して自己の第1識別データーまたは複数の制御回路を一括で指定する第3識別データーとともに転送された前記指示データーを解釈する。
[Application Example 1]
In order to solve the above-described problem, according to one embodiment of the present invention, a plurality of control circuits for controlling an electric motor and a plurality of control circuits connected via one data line and one clock line are connected to each of the control circuits. An identification data for instructing control and a controller for serially transferring the instruction data, and a plurality of the control circuits can each identify first identification data for identifying their own control circuits, The identification data for the first control circuit and the first instruction data are transferred in association with the first data line with respect to the rising edge of the clock pulse in the one clock line, and the clock pulse in the first clock line is transferred. Identification data for the second control circuit with respect to the falling edge of The instruction data of 2 is transferred in association with the first data line, and the first control circuit is configured to detect the first identification data of the first clock line or the plurality of instruction data with respect to a rising edge of the clock pulse in the first clock line. The instruction data transferred together with the second identification data for collectively specifying the control circuit is interpreted, and the second control circuit is self-first with respect to the falling edge of the clock pulse in the one clock line. The instruction data transferred together with the identification data or the third identification data for collectively specifying a plurality of control circuits is interpreted.
上記のように構成された発明では、第1の制御回路と、第2の制御回路とは、1のクロックラインにおけるクロックパルスの立ち上がりまたは立ち下がりエッジに対して、第1識別データーまたは複数の制御回路を一括で指定する第2または第3識別データーとともに転送された指示データーを解釈する。
そのため、データラインを共通化しつつも、制御部は、第1識別データーによりこのデータラインで送信される自己宛のデーターを解釈することができる。また、第2または第3識別データーとともに指示データーが転送された場合、複数の制御回路に宛てて、指示データーを転送することができる。
即ち、データラインを複数の制御回路で共通化した場合でも、指示データーの個々の制御回路への転送や、複数の制御回路への一括での転送と、を使い分けるけることができ、データー転送を柔軟に行うことができる。
In the invention configured as described above, the first control circuit and the second control circuit may be configured such that the first identification data or the plurality of controls is applied to the rising or falling edge of the clock pulse in one clock line. The instruction data transferred together with the second or third identification data for designating the circuits collectively is interpreted.
Therefore, while the data line is shared, the control unit can interpret the self-addressed data transmitted on the data line by the first identification data. When the instruction data is transferred together with the second or third identification data, the instruction data can be transferred to a plurality of control circuits.
In other words, even when a data line is shared by a plurality of control circuits, transfer of instruction data to individual control circuits and batch transfer to a plurality of control circuits can be used properly. It can be done flexibly.
[適用例2]
本発明の一態様では、前記第2識別データーと前記第3識別データーとは同じデーターである。
上記のように構成された発明では、1つの識別データーにより全ての制御回路に指示データーを転送することができる。
[Application Example 2]
In one aspect of the present invention, the second identification data and the third identification data are the same data.
In the invention configured as described above, the instruction data can be transferred to all the control circuits by one identification data.
[適用例3]
本発明の一態様では、前記すべての制御回路に対応する指示データーは、前記電動機を停止させるデーターである。
上記のように構成された発明では、電動機を停止させる場合に要する時間を短くすることができる。
[Application Example 3]
In one aspect of the present invention, the instruction data corresponding to all the control circuits is data for stopping the electric motor.
In the invention configured as described above, the time required for stopping the electric motor can be shortened.
[適用例4]
本発明の一態様では、前記コントローラーは、前記1のクロックラインにおけるクロックパルスの立ち上がりエッジから立ち下がりエッジを含む期間に、前記第2識別データーとすべての制御回路に対する指示データーとを1つのデータラインに対応づけて転送する。
上記のように構成された発明では、データーの転送幅を短くして、転送に要する時間を短くすることができる。
[Application Example 4]
In one aspect of the present invention, the controller transmits the second identification data and instruction data for all control circuits in one data line during a period including a rising edge and a falling edge of a clock pulse in the one clock line. Transfer in association with.
In the invention configured as described above, the data transfer width can be shortened to shorten the time required for the transfer.
また、本発明は、転送システムとして捉えるのみならず、このような転送システムを一部に含む印刷装置としても取らえることができる。 In addition, the present invention can be regarded not only as a transfer system but also as a printing apparatus including a part of such a transfer system.
以下、下記の順序に従って本発明の実施形態を説明する。
1.第1の実施形態:
(1)印刷装置の構成
(2)転送処理の概要
(3)パラメーター設定処理
(4)印刷制御
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) Outline of transfer process (3) Parameter setting process (4) Print control Second embodiment:
3. Other embodiments:
1.第1の実施形態:
(1)印刷装置の構成
図1は、印刷装置の構成を示す図である。
印刷装置10は、FAX機能、印刷機能、スキャナー機能を備える複合機である。印刷装置10は、筺体11と、筺体11の上部に備えられたスキャナー部20と、筺体11の内部に備えられて用紙に対して印刷を行う印刷部30と、筺体11の内部に備えられて印刷部30に用紙を供給する搬送部40と、を備える。
1. First embodiment:
(1) Configuration of Printing Apparatus FIG. 1 is a diagram illustrating a configuration of a printing apparatus.
The
スキャナー部20は、原稿台(図示しない)にセットされた原稿をスキャンして、データー化する。スキャナー部20は、スキャナーユニット21と、ミラー22、23と、レンズ24と、CCDイメージセンサー25と、を備える。このスキャナー部20では、スキャナーユニット21が走査方向に移動して、原稿を読み取る。スキャナーユニット21により読み取られた原稿データーは、ミラー22、23を介してレンズ24に集められ、CCDイメージセンサー25に入力する。以下、スキャナー部20によりスキャンされたデーターを原稿データーとも記載する。
The
搬送部40は、用紙がセットされるトレイ41と、トレイにセットされた用紙を搬送経路に供給する給紙ローラー42、43と、給紙された用紙を印刷部30に給紙する搬送ローラー44、45を備える。
The transport unit 40 includes a tray 41 on which paper is set,
本実施形態では、印刷部30として、インクジェット式のプリントヘッドであって、走査を行うシリアル式のプリントヘッドを例に説明を行う。印刷部30は、搬送部40により給紙された用紙に対してインクを記録するプリントヘッド31、プリントヘッド31を往復移動させるキャリッジ32を備える。キャリッジ32は、プリントヘッド31のインク吐出面を下側に向けた状態で同プリントヘッド31を固定している。また、キャリッジ32は、走査方向に往復移動する。また、プリントヘッド31は、キャリッジ32や用紙の搬送に同期して、用紙に対してインクを記録する。
In the present embodiment, an example of an inkjet print head that performs scanning is described as an example of the
図2は、搬送部40、キャリッジ32、スキャナーユニット21における各モーター制御に係るデーター転送機能を実現するハードウェアの一部を示した図である。
SOC50は、CPU(Central Processing Unit)60や、調停回路(アービーター)70、図示を略したメモリーおよびコントローラー回路等を備えてモーターを制御するコントローラーである。また、SOC50の出力ポートは、複数のモータードライバー210〜260と接続されている。
FIG. 2 is a diagram illustrating a part of hardware for realizing a data transfer function related to each motor control in the transport unit 40, the
The
CPU60は、複数のレジスターを有する。所定のプログラム(例えば、印刷装置10を稼働させるためのファームウェア)を実行するCPU60によって、転送データー100やフラグが各レジスターに記録され、また、各レジスターに記録された転送データーやフラグは、次々に、後段の調停回路70へ出力される。
The
CPU60の各レジスターには、モータードライバー210〜260に対応する情報が記録される。例えば、図示しない第1レジスターには、モータードライバー210に対する転送データー100が記録され、図示しない第2レジスターには、モータードライバー220における転送データー100が記録される。調停回路70は、各レジスターに記録された転送データー100の優先度に応じて、転送データー100を各レジスターから出力させる。
Information corresponding to the
モータードライバー210、230は、搬送部40の給紙ローラー42、43を駆動させる給紙モーター310、330とそれぞれ接続され、給紙モーター310、330の回転を制御する。
また、モータードライバー220、240は、搬送部40の搬送ローラー44、45を駆動させる搬送モーター320、340とそれぞれ接続され、搬送モーター320、340の回転を制御する。
また、モータードライバー250は、キャリッジ32を駆動させるキャリッジモーター350に接続され、キャリッジモーター350の回転を制御する。
そして、モータードライバー260は、スキャナーユニット21を駆動させるスキャナモーター360に接続され、スキャナモーター360の回転を制御する。
The
Further, the
The
The
各モータードライバーは、SOC50とは別体で構成されるICを想定するが、SOCに組み込んでも良い。尚、本実施形態では、スキャナモーター360はステッピングモーターを想定する。また、給紙モーター310、330、搬送モーター320、340およびキャリッジモーター350は直流電流で駆動する直流モーター(DCモーター)を想定するが、電動機であれば良くこれらに限定されるものではない。
なお、本実施形態では、第1の制御回路は、モータードライバー220、240であり、第2の制御回路は、モータードライバー210、230である。
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の構成について説明する。
図3は、SOC50からモータードライバー210〜260に転送される転送データー100構成を説明する図である。図3(a)は、データー形式を示す図である。また、図3(b)は、識別ID110に指定されるモータードライバーを説明する図である。
Next, the configuration of the
FIG. 3 is a diagram for explaining the configuration of
図3(a)に示すように、転送データー100は、識別ID110と、指示データー120と、を含む。識別ID110は、送り先のモータードライバーを特定するための情報である。また、指示データー120は、モータードライバーに実行させる命令を規定した情報である。例えば、識別ID110は1つの転送データー100の先頭3ビットにより構成される。また、指示データー120は、識別ID110と比べて後ろの18ビットにより構成される。
As shown in FIG. 3A, the
識別ID110の各値は、それぞれ各モータードライバーに対応している。第1の実施形態では、識別データーの内、『0』は、複数のドライバーに共通の番号(以下、共通IDとも記載する。)であり、『1』〜『6』は、各モータードライバーの個別の番号(以下、個別IDとも記載する。)である。
Each value of the
また、図3(b)に示すように、識別IDが共通ID『0』の場合でも、クロックラインCLKに流れるクロックパルスのエッジ(立ち下がり、立ち上がり)の変化に応じて対応するモータードライバーが異なる。以下、共通ID『0』を区別する場合に組み合わされるクロックパルスのエッジの変化を識別CLKエッジとも記載する。すなわち、転送データー100が共通ID『0』でクロックパルスの立ち下がりに同期する場合を、『識別CLKエッジが立ち下がり』と記載する。また、転送データー100が共通ID『0』でクロックパルスの立ち上がりに同期する場合を、『識別CLKエッジが立ち上がり』と記載する。
すなわち、共通ID『0』で識別CLKエッジが立ち下がりは、個別IDが奇数番のモータードライバー210(識別ID『1』)、230(識別ID『3』)、250(識別ID『5』)に共通の識別データーとなる。本実施形態では、個別IDが奇数番(『1』『3』『5』)であるモータードライバー210、230、250は、それぞれモーター310、330、350を制御する回路である。
また、共通ID『0』で、識別CLKエッジが立ち上がりは、個別IDが偶数番のモータードライバー220(『2』)、240(『4』))に共通の識別データーとなる。本実施形態では、個別IDが偶数番(『2』『4』)であるモータードライバー220、240は、それぞれモーター320、340を制御する回路である。
Further, as shown in FIG. 3B, even when the identification ID is the common ID “0”, the corresponding motor driver varies depending on the change of the edge (falling, rising) of the clock pulse flowing through the clock line CLK. . Hereinafter, the change in the edge of the clock pulse combined when the common ID “0” is distinguished is also referred to as an identification CLK edge. That is, the case where the
In other words, when the identification CLK edge falls with the common ID “0”, the motor drivers 210 (identification ID “1”), 230 (identification ID “3”), 250 (identification ID “5”) with the odd individual IDs. The common identification data. In the present embodiment, the
In addition, when the identification CLK edge rises with the common ID “0”, the identification data is common to the motor drivers 220 (“2”) and 240 (“4”) whose individual IDs are even numbers. In this embodiment, the
そのため、本発明の第1識別データーは、『1』〜『6』の識別IDである。また、第2識別データーおよび第3識別データーは、識別ID『0』で識別CLKエッジが立ち下がり、または識別ID『0』で識別CLKエッジが立ち上がりのいずれかである。
なお、この実施形態では、識別『0』で識別CLKエッジが立ち上がりの場合、ステッピングモーター(スキャナモーター360)を駆動するモータードライバー260を対象としていないが、これに限定されず、モータードライバー260を対象とするものであってもよい。
Therefore, the first identification data of the present invention is identification IDs “1” to “6”. The second identification data and the third identification data are either the identification CLK edge falling at the identification ID “0” or the identification CLK edge rising at the identification ID “0”.
In this embodiment, when the identification CLK edge rises with identification “0”, the
また、指示データー120は、モータードライバーの設定を行なう設定コマンドや、モータードライバーの駆動を制御する駆動コマンドを含む。
設定コマンドは、各モーターを駆動するために供給する電流の供給方法を設定する『電流パラメーター』や、モーターの停止方法を規定する『停止パラメーター』を含む。また、駆動コマンドには、『等速制御』、『等速第2制御』、『回生ブレーキ』、『ショートブレーキ』、『ブレーキエンド』の各命令を含む。
The instruction data 120 includes a setting command for setting the motor driver and a driving command for controlling driving of the motor driver.
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. The drive command includes commands of “constant speed control”, “constant speed second control”, “regenerative brake”, “short brake”, and “brake end”.
各モータードライバー210〜260で処理されるデーターは複数のビット列で構成される。本実施形態では、21ビット単位、即ち、3バイト単位で構成される態様を想定する。それより小さいもしくは大きいビット数からなるデーターとしても良いし、コマンドやパラメーター等の態様に応じて可変長のビット数からなるデーターとしても良い。
Data processed by each of the
SOC50と、モータードライバー210〜260との間で転送されるデーター量は、印刷装置の動作に応じて変動する。例えば、印刷装置で原稿のコピーを行う場合、スキャナーユニット21は原稿に沿って読み取りながら高精度で移動する必要がある。従って、SOC50は、スキャナモーター360であるステッピングモーターを高精度で駆動させるべく、駆動指示データーを相切り替え毎等の単位制御ステップごとにモータードライバー260に送る。
The amount of data transferred between 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
次に、このような転送データー100を処理するモータードライバーの構成について説明する。図4は、モータードライバーの構成を説明する図である。以下では、モータードライバー220を例にその構成を説明する。なお、他のモータードライバーについてもその構成は同様であるため、説明を省略する。
モータードライバー220はクロック判定部221、シリアル・パラレル変換部222、ID判定部223、電流生成部224、ID設定部225、を備える。モータードライバー220を構成する各部は、周知の電子部品等のよりハードウェアにより構成される。
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 clock line CLK is input to the
また、データラインDATAを通じて入力した転送データー100は、シリアル・パラレル変換部222の前段部222aに入力する。シリアル・パラレル変換部222は、前段部222aがデータラインDATAおよびクロック判定部221の出力側と接続され、後段部222bがロードラインLD、ID判定部223、電流生成部224と接続されている。シリアル・パラレル変換部222の前段部222aは、1つの転送データー100を構成する21ビットの情報を記録することができる。また、クロック判定部221から判定信号が入力したことに同期して、前段部222aは、記録した21ビットの情報(転送データー100)を、後段部222bに出力する。そして、ロードラインLDを通じて入力したロード信号の入力に同期して、この転送データー100をパラレルに出力する。
Further, the
ID判定部223は、後段部222bの上位3ビットと接続されており、後段部222bから出力される上位3ビットを記録する。上記のように転送データー100の上位3ビットは識別ID110である。そのため、ID判定部223は識別ID110の情報をモータードライバー220の識別情報(ID設定部225から入力する情報)と比較し、両者が一致すれば、ID判定信号を出力する。また、ID判定部223は、識別ID110が共通ID(図3(b)では、『0』)である場合も、自己の識別番号と同様に機能する。一例として、本実施形態では、ID判定部223は、共通IDの下位1ビットと、各モータードライバーの識別情報の下位1ビットとを比較し、比較結果が一致する場合、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
(2)転送処理の概要
次に、SOC50と、各モータードライバー210〜260との間で行なわれるデーター転送処理の概要について説明する。
図5は、SOC50と、モータードライバー210およびモータードライバー220との間で転送されるデーターのフォーマット例を示す図である。モータードライバー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. 5 is a diagram illustrating a format example of data transferred between the
また、複数のビットデータで構成される1つのデーターのビット列の区切りはロードラインLDに流れるロード信号に対応付けられている。本実施形態では、CLKの立ち上がり時にLDがON状態ならば、モータードライバー220のデーターの区切りを示し、CLKの立ち下がり時にLDがON状態ならば、モータードライバー210のデーターの区切りを示す。従って、モータードライバー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 rising edge of CLK, the data delimiter of the
(3)パラメーター設定処理
次に、本発明のデーターの転送処理を用いた、パラメーターの設定方法について説明する。図6は、モータードライバーのパラメーターを設定する際に行われる処理の一例を示す図である。図6に示す処理では、給紙モーター310、330、350に対する設定を行なう場合であり、モータードライバー210、230、250を対象としている。
(3) Parameter Setting Process Next, a parameter setting method using the data transfer process of the present invention will be described. FIG. 6 is a diagram illustrating an example of processing performed when setting parameters of the motor driver. The process shown in FIG. 6 is a case where settings are made for the
SOC50は、識別ID110を共通ID『0』で識別CLKエッジが立ち下がりとし、指示データー120を『パラメーター』とする転送データー100をデータラインDATAに流す。この指示データー120は、モータードライバー210、モータードライバー230、およびモータードライバー250に対して電流生成部224の共通のパラメーターを設定するためのコマンドとなっている。例えば、この『パラメーター』により、各モーター310、330、350へ供給する電流を制御する方式が設定される。
The
識別ID110を共通ID『0』で識別CLKエッジが立ち下がりとすることで、識別ID110が『1』、『3』、『5』とするモータードライバー210、230、250は、クロックラインCLKを流れるクロックパルスの立ち下がりで転送データー100をそれぞれ受信する。そして、モータードライバー210、230、250は、転送データー100の指示データー120(パラメーター)を解釈し、設定を行なう。図6では、モータードライバー210、モータードライバー230、およびモータードライバー250は、パラメーター設定1およびパラメーター設定2において、電流生成部224のパラメーターを設定している。
When the
『パラメーター』により、設定される方式の一例として、電流値の立ち上がりのノイズをマスクするためのブロックタイム、電流のピークを制御するオフタイムの時間、電流値を設定するためのデューティー、さらには、モーターを停止する際の方法(回生ブレーキ、ショートブレーキ)等である。
なお、説明を省略するが、搬送モーター320、340、(または、320、340、360)に関する設定を行なう場合は、共通ID『0』で識別CLKエッジの立ち上がりを用いて転送データー100を転送することで、モータードライバー220、240、(または、220、240、260)に対して、設定を行なうことができる。
以上、パラメーター設定処理を説明した。
As an example of the method set by `` parameter '', the block time for masking the rising noise of the current value, the off time for controlling the current peak, the duty for setting the current value, This is the method for stopping the motor (regenerative braking, short braking), etc.
In addition, although explanation is omitted, when setting related to the
The parameter setting process has been described above.
(4)印刷制御
次に、モータードライバー220、240、およびモータードライバー250による印刷制御について説明する。図7は、搬送部とキャリッジ部が協働して行われる印刷処理の一例を示す図である。なお、図7は、説明を簡易化するために、モータードライバー220を主に説明を行う。
(4) Printing Control Next, printing control by the
SOC50からモータードライバー220、240、モータードライバー250に転送されるデーター群は、搬送モーター320、340、またはキャリッジモーター350の何れかに対する制御パラメーターたるコマンド群である。この図7は、印刷装置10の動作である「副走査」、「主走査+印刷」および「副走査」等の各工程を実現するために必要となる、DCモーターの実駆動を指示するにあたって用いるコマンドを各工程に対応させてそれぞれ示している。ここで、例えば、モーターがステッピングモーター(例えば、4W1ー2相励磁方式)の場合は、モーター軸を1回転させるために64回ものコマンド転送を要し、DCモーターの制御に比べてコマンド転送の頻度が比較的多くなる。
The data group transferred from the
最初の「副走査」では、搬送モーター320の駆動により用紙の第一領域を印刷位置まで一定速度で移動させる。「主走査+印刷」では、キャリッジモーター350の駆動により印刷ヘッド部を一定速度で移動させつつ、第一領域に対するインクの吐出動作により印刷を実行する。また、最後の「副走査」では、搬送モーター320の駆動により用紙の第一領域に続いて印刷する第二領域を印刷位置まで移動させる。
In the first “sub-scanning”, the first area of the paper is moved to the printing position at a constant speed by driving the
「副走査」を実行するモーターの工程としては、「等速制御」、「等速第2制御」、「回生ブレーキ」および「ショートブレーキ」が含まれ、SOC50は、それら工程を指示するコマンドを、搬送モーター320の実駆動に反映させるべくモータードライバー220に転送する。また、SOC50は、「主走査+印刷」を実行するモーターの工程としては、「等速オン」、「等速制御」、「等速オフ」、「回生ブレーキ」、「ショートブレーキ」および「ブレーキエンド」などが含まれ、SOC50は、それら工程を指示するコマンドを、キャリッジモーター350の実駆動に反映させるべくモータードライバー250に転送する。
Motor processes that execute “sub-scan” include “constant speed control”, “constant speed second control”, “regenerative brake”, and “short brake”, and the
なお、各モーターへ供給する電流を制御する方式としては、搬送モーター320やキャリッジモーター350を、一定速度で回転させるべく各モーターへ供給する電流の断続を制御するイネーブルラインを別途設けて制御する方式としても良いし、SOC50からモータードライバー250にコマンドを転送し、当該コマンドが示す等速回転を行う時間に係るデーターをレジスターの所定領域にセットして、当該データーを参照してモータードライバー内で各モーターへ供給する電流の断続を制御する方式としても良い。後者の場合は印刷装置内の配線数を減少させることができ、イネーブルラインのON/OFFの周期とDutyをセットし、駆動させてもよい。イネーブル制御は、モータードライバー側でON/OFF周期と同期して変化してもよい。
以上、印刷制御について説明した。
As a method of controlling the current supplied to each motor, a method of controlling by separately providing an enable line for controlling the interruption of the current supplied to each motor so as to rotate the
The print control has been described above.
以上説明したように、この第1の実施形態では、以下のような効果を奏する。
1系統のデーター転送ラインを分岐し、SOC50から各モータードライバー210およびモータードライバー220に対してそれぞれデーターを転送する場合、SOC50は、クロックパルスの立ち下がりおよび立ち上がりのタイミングでモータードライバー210およびモータードライバー220の何れかのデーターになるように対応付けて転送する。従って、結線数を増やすことなく複数のスレーブに対して選択的にデーター転送できる。
As described above, the first embodiment has the following effects.
When one data transfer line is branched and data is transferred from the
SOC50からモータードライバー210に対して、クロックパルスの立ち下がりに対応付けてデーターを転送中に、SOC50からモータードライバー220に対してデーターの転送が必要になった場合、モータードライバー210へのデーター転送終了を待つことなく、クロックパルスの立ち上がりに対応付けてモータードライバー220へのデーター転送を開始できる。従って、印刷装置の処理の遅延や、モータードライバー220が待機する間に、各モーターの制御が不可能になることを回避できる。
If data transfer is required from the
データラインを共通化しつつも、識別IDによりこのデータラインで送信される自己宛の指定コマンドを解釈することができる。また、共通IDとともに指示データーが転送された場合、複数の制御回路に宛てて、指示データーを転送することができる。
即ち、データラインを複数の制御回路で共通化した場合でも、指示データーの個々の制御回路への転送や、複数の制御回路への一括での転送と、を使い分けるけることができ、データー転送を柔軟に行うことができる。
While making the data line common, it is possible to interpret the designation command addressed to itself transmitted by this data line by the identification ID. When the instruction data is transferred together with the common ID, the instruction data can be transferred to a plurality of control circuits.
In other words, even when a data line is shared by a plurality of control circuits, transfer of instruction data to individual control circuits and batch transfer to a plurality of control circuits can be used properly. It can be done flexibly.
2.第2の実施形態:
転送データー100の識別ID110に、全てのモータードライバー210〜260に対して共通となる共通IDを設定するものであってもよい。
特に、印刷装置10が備える全てのモーターを緊急停止する指示データー120を転送する場合に、共通IDを備えることは有益となる。
2. Second embodiment:
A common ID that is common to all the
In particular, it is beneficial to provide a common ID when transferring instruction data 120 for emergency stop of all motors provided in the
本発明のデーターの転送処理を用いた、パラメーターの設定方法について説明する。図8は、各モーターを一括で停止する際に行われる処理の一例を示す図である。
図8に示す例では、モータードライバー210〜260に対する共通IDを『0』としている。また、共通ID『0』により転送される指示データー120は、『ブレーキ』である。
A parameter setting method using the data transfer process of the present invention will be described. FIG. 8 is a diagram illustrating an example of processing performed when stopping the motors collectively.
In the example illustrated in FIG. 8, the common ID for the
SOC50は、識別ID110を共通ID『0』とし、指示データー120を『ブレーキ』とする、転送データー100を、クロックラインCLKに流れるクロックパルスに同期させてデータラインDATAに流す。この第2の実施形態では、立ち上がりエッジおよび立ち下がりエッジで転送データー100を取り込む全てのモータードライバー210〜260を対象とするため、クロックラインCLKを流れるクロックパルスの立ち上がり前から立ち下がり後まで、又は、クロックラインCLKを流れるクロックパルスの立ち下がり前から立ち上がり後まで、識別ID110を共通ID『0』とし指示データー120を『ブレーキ』とする転送データー100をデータラインDATAに流し続ける。すなわち、転送データー100をクロックパルスに同期させる位置は問わない。
The
識別ID110を共通ID『0』とすることで、個別IDを奇数番(『1』、『3』、『5』)とするモータードライバーは、クロックパルスの立ち下がりで転送データー100を取りこみ、個別IDを偶数番(『2』、『4』、『6』)とするモータードライバーは、クロックパルスの立ち上がりで転送データー100を取り込む。そして、各モータードライバー210〜260は、転送データー100の指示データー120(ブレーキ)を解釈し、各モーター310〜360を停止させる。図8では、全てのモータードライバー210〜260は、ブレーキのコマンドを実行している。
By setting the
以上説明したように、この第2の実施形態では、モーターを停止させる場合に要する時間を短くすることができる。特に、装置を緊急停止させる場合などでは、モーターの駆動時間を短くすることができるため、装置の安全性等を高めることができる。 As described above, in the second embodiment, the time required for stopping the motor can be shortened. In particular, when the apparatus is stopped urgently, the motor drive time can be shortened, so that the safety of the apparatus can be improved.
3.その他の実施形態:
本発明の実施形態について、図面を参照して説明したが、具体的な構成は、この実施形態に限られるものではなく、本発明の要旨を逸脱しない範囲の設計変更等も含まれる。例えば、転送システムの適用は印刷装置には限定されず、プロジェクターのような画像表示装置や種々の情報処理装置等に適用しても良い。
また、モーターは回転運動する態様には限定されず、リニアモーターのような直線駆動する態様も想定できる。
また、以上のような手法を実施する装置は、単独の装置によって実現される場合もあれば、複数の装置を組み合わせることによって実現される場合もあり、各種の態様を含むものである。
各実施形態における各構成及びそれらの組み合わせは一例であり、本発明の趣旨から逸脱しない範囲内で、構成の付加、省略、置換およびその他の変更が可能である。また、本発明は実施形態では限定されるものではなく、クレームの範囲によってのみ限定される。
3. Other embodiments:
Although the embodiment of the present invention has been described with reference to the drawings, the specific configuration is not limited to this embodiment, and includes design changes and the like within a scope not departing from the gist of the present invention. For example, the application of the transfer system is not limited to a printing apparatus, and may be applied to an image display apparatus such as a projector, various information processing apparatuses, and the like.
Further, the motor is not limited to a mode of rotating, and a mode of linear driving such as a linear motor can be assumed.
Moreover, the apparatus which implements the above methods may be realized by a single apparatus or may be realized by combining a plurality of apparatuses, and includes various aspects.
Each configuration in each embodiment and a combination thereof are examples, and addition, omission, replacement, and other changes of the configuration can be made without departing from the spirit of the present invention. In addition, the present invention is not limited to the embodiments, and is limited only by the scope of the claims.
10…印刷装置、11…筺体、20…スキャナー部、21…スキャナーユニット、22、23…ミラー、24…レンズ、25…CCDイメージセンサー、30…印刷部、31…プリントヘッド、32…キャリッジ、40…搬送部、41…トレイ、42、43…給紙ローラー、44、45…搬送ローラー、50…SOC、60…CPU、70…調停回路、100…転送データー、120…指示データー、210〜260…モータードライバー、221…クロック判定部、222…シリアル・パラレル変換部、222a…前段部、222b…後段部、223…ID判定部、224…電流生成部、225…ID設定部、310…給紙モーター、320…搬送モーター、330…給紙モーター、340…搬送モーター、350…キャリッジモーター、360…スキャンモーター
DESCRIPTION OF
Claims (5)
1のデータラインおよび1のクロックラインを介して接続した複数の前記制御回路のそれぞれに前記電動機の制御を指示する識別データーおよび指示データーをシリアルに転送するコントローラーと、を備え、
複数の前記制御回路がそれぞれ自己の制御回路を識別するための第1識別データーを識別可能であり、
前記コントローラーは、前記1のクロックラインにおけるクロックパルスの立ち上がりエッジに対して第1の制御回路に対する識別データーおよび第1の前記指示データーを前記1のデータラインに対応づけて転送し、前記1のクロックラインにおけるクロックパルスの立ち下がりエッジに対して第2の制御回路に対する識別データーおよび第2の前記指示データーを前記1のデータラインに対応づけて転送し、
前記第1の制御回路は、前記1のクロックラインにおける前記クロックパルスの立ち上がりエッジに対して自己の第1識別データーまたは複数の制御回路を一括で指定する第2識別データーとともに転送された前記指示データーを解釈し、
前記第2の制御回路は、前記1のクロックラインにおける前記クロックパルスの立ち下がりエッジに対して自己の第1識別データーまたは複数の制御回路を一括で指定する第3識別データーとともに転送された前記指示データーを解釈する、ことを特徴とする転送システム。 A plurality of control circuits for controlling the electric motor;
A controller for serially transferring identification data and instruction data for instructing control of the electric motor to each of the plurality of control circuits connected via one data line and one clock line,
A plurality of control circuits each capable of identifying first identification data for identifying their own control circuits;
The controller transfers identification data for the first control circuit and the first instruction data in association with the first data line with respect to the rising edge of the clock pulse in the first clock line, and transfers the first clock to the first clock line. Transferring the identification data for the second control circuit and the second instruction data in association with the first data line with respect to the falling edge of the clock pulse in the line;
The first control circuit transfers the instruction data transferred together with its first identification data or second identification data for collectively specifying a plurality of control circuits with respect to a rising edge of the clock pulse in the one clock line. Interpret
The second control circuit transmits the instruction transferred together with its first identification data or third identification data collectively specifying a plurality of control circuits with respect to a falling edge of the clock pulse in the one clock line. A transfer system characterized by interpreting data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014061989A JP2015182367A (en) | 2014-03-25 | 2014-03-25 | Transfer system and printing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014061989A JP2015182367A (en) | 2014-03-25 | 2014-03-25 | Transfer system and printing apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2015182367A true JP2015182367A (en) | 2015-10-22 |
Family
ID=54349461
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014061989A Pending JP2015182367A (en) | 2014-03-25 | 2014-03-25 | Transfer system and printing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2015182367A (en) |
-
2014
- 2014-03-25 JP JP2014061989A patent/JP2015182367A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20100123902A (en) | Motor device, motor drive system provided with motor devices, and integrated circuit device | |
JP4533239B2 (en) | Image reading apparatus and image forming apparatus | |
JP2003308287A (en) | Controller and controlling method | |
JP6051979B2 (en) | Transfer system and printing device | |
JP6745602B2 (en) | Image reading apparatus and control method thereof | |
JP2015182367A (en) | Transfer system and printing apparatus | |
JP2014049941A (en) | Image reading device and multifunction machine | |
JP2015166972A (en) | Transfer system and printer | |
JP2015166973A (en) | Transfer system and printer | |
JP2015150729A (en) | Transfer system and printer | |
KR20100130383A (en) | Image forming apparatus and method for controlling motor thereof | |
US10911609B2 (en) | Image forming apparatus, image forming method, and storage medium | |
JP2002255382A (en) | Recording device | |
JP2015153025A (en) | Transfer system and printer | |
JP2004358893A (en) | Recorder | |
JP7087509B2 (en) | Information processing equipment and circuit equipment | |
JP2008284752A (en) | Recorder and method for recording therein | |
JP5789989B2 (en) | Image reading apparatus and image reading control method | |
US20130166804A1 (en) | Information processing apparatus and recording apparatus using the same | |
JP2008109343A (en) | Motor controller, printer, printer multifunction machine, and motor control method | |
JP2007068283A (en) | Motor controller, electronic device and printer apparatus | |
JP6622541B2 (en) | Recording apparatus, data transfer method, and program | |
JP2004358894A (en) | Recorder | |
JP5857718B2 (en) | Information processing apparatus and information processing method | |
US7540588B2 (en) | Method for printing data and ink jet printer using the same |