Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7612491B2 - Motor drive control device and motor drive control method - Google Patents
[go: Go Back, main page]

JP7612491B2 - Motor drive control device and motor drive control method - Google Patents

Motor drive control device and motor drive control method Download PDF

Info

Publication number
JP7612491B2
JP7612491B2 JP2021066522A JP2021066522A JP7612491B2 JP 7612491 B2 JP7612491 B2 JP 7612491B2 JP 2021066522 A JP2021066522 A JP 2021066522A JP 2021066522 A JP2021066522 A JP 2021066522A JP 7612491 B2 JP7612491 B2 JP 7612491B2
Authority
JP
Japan
Prior art keywords
motor
drive control
finger
control means
drive
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.)
Active
Application number
JP2021066522A
Other languages
Japanese (ja)
Other versions
JP2022161590A (en
Inventor
康平 荻
由起 芦名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2021066522A priority Critical patent/JP7612491B2/en
Publication of JP2022161590A publication Critical patent/JP2022161590A/en
Application granted granted Critical
Publication of JP7612491B2 publication Critical patent/JP7612491B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Multiple Motors (AREA)

Description

本発明は、複数のモータの駆動を制御するモータ駆動制御装置及びモータの駆動制御方法に関する。 The present invention relates to a motor drive control device that controls the drive of multiple motors and a method for controlling the drive of motors.

画像形成装置等の複数の動作機構を有する装置においては、各動作機構を動作させるための複数のモータが使用されている。複数のモータを制御する場合、装置内に設けられたCPU等の制御手段によって制御することが行われている。但し、制御手段によって制御可能なモータ数には限りがある。すなわち、制御手段には、モータの駆動制御を行う駆動制御部の数に制限がある。 In devices with multiple operating mechanisms, such as image forming devices, multiple motors are used to operate each operating mechanism. When controlling multiple motors, they are controlled by a control means, such as a CPU, provided within the device. However, there is a limit to the number of motors that can be controlled by the control means. In other words, the control means has a limit to the number of drive control units that control the drive of the motors.

そこで、特許文献1には、複数のモータドライブ回路に対し、一つの駆動制御部(モータコントローラ)の信号を選択的に切り替えて出力する技術が開示されている。 Patent document 1 discloses a technology that selectively switches and outputs a signal from a single drive control unit (motor controller) to multiple motor drive circuits.

特開2008-17120号公報JP 2008-17120 A

しかしながら特許文献1に開示の技術は、ステッピングモータの駆動を制御するものである。ステッピングモータは、通常、フィードバック制御を行わないため、モータの駆動制御にエンコーダ信号を用いていない。従って、エンコーダ信号を制御部にフィードバックしながら駆動を行う複数のモータの駆動制御に対して、特許文献1に開示の技術を適用することはできない。 However, the technology disclosed in Patent Document 1 controls the drive of a stepping motor. Stepping motors do not normally perform feedback control, so encoder signals are not used to control the drive of the motor. Therefore, the technology disclosed in Patent Document 1 cannot be applied to the drive control of multiple motors that are driven while feeding back encoder signals to a control unit.

本発明は、エンコーダ信号を用いて複数のモータを適正に駆動することが可能な技術の提供を目的とする。 The present invention aims to provide technology that can appropriately drive multiple motors using encoder signals.

本発明は、所定の動作機構を動作させるためのDCモータの駆動を制御するモータ駆動制御装置であって、前記DCモータと当該DCモータに設けられたエンコーダとを含むモータユニットを複数備え、前記DCモータの駆動を制御するための駆動制御信号を出力すると共に当該駆動制御信号によって駆動された前記DCモータに設けられている前記エンコーダによって出力されたエンコーダ信号を受信する駆動制御手段と、前記駆動制御手段と前記駆動制御信号及び前記エンコーダ信号の通信が可能なように接続される前記モータユニットを複数の前記モータユニットの中から択一的に切り替える切替手段と、前記切替手段が前記駆動制御手段に通信可能に接続する前記モータユニットを切り替える際に、切り替える前に前記駆動制御手段によって接続されていた前記モータユニットの前記エンコーダ信号に基づく前記DCモータが停止した時の位置情報を記憶する記憶手段と、を備え、前記駆動制御手段は、前記切替手段によって再接続された前記モータユニットの前記DCモータの動作を再開する際に前記記憶手段に記憶されている前記位置情報に基づいて前記駆動制御信号を出力し、前記駆動制御手段によって同時に制御可能なDCモータの数をN、1つの前記切替手段により切替可能なDCモータの数をM、前記切替手段の数をS(M≧S)とするとき、前記駆動制御手段はS×M+N-S個の前記DCモータの駆動を可能であることを特徴とする。
The present invention relates to a motor drive control device that controls the drive of a DC motor for operating a predetermined operating mechanism, the motor drive control device comprising a plurality of motor units each including the DC motor and an encoder provided in the DC motor, a drive control means that outputs a drive control signal for controlling the drive of the DC motor and receives an encoder signal output by the encoder provided in the DC motor driven by the drive control signal, a switching means that selectively switches from among the plurality of motor units to the motor unit that is connected so as to be able to communicate with the drive control means with the drive control signal and the encoder signal, and a control means that controls the communication between the motor unit and the drive control means and the motor unit that is connected to the drive control means so as to be able to communicate with the drive control means. and a memory means for storing position information at the time when the DC motor of the motor unit that was connected by the drive control means before switching is stopped, based on the encoder signal of the motor unit that was connected by the drive control means before switching, wherein the drive control means outputs the drive control signal based on the position information stored in the memory means when resuming operation of the DC motor of the motor unit that has been reconnected by the switching means, and wherein when the number of DC motors that can be simultaneously controlled by the drive control means is N, the number of DC motors that can be switched by one switching means is M, and the number of switching means is S (M≧S), the drive control means is capable of driving S×M+N-S DC motors .

本発明によれば、エンコーダ信号を用いて複数のモータを適正に駆動することが可能になる。 The present invention makes it possible to appropriately drive multiple motors using encoder signals.

第1実施形態における記録装置の平面図。FIG. 2 is a plan view of the recording apparatus according to the first embodiment. 図1に示した記録装置の正面図。FIG. 2 is a front view of the recording apparatus shown in FIG. 図1に示した記録装置の右側面図。FIG. 2 is a right side view of the recording apparatus shown in FIG. 記録装置の制御系の概略構成を示すブロック図。FIG. 2 is a block diagram showing a schematic configuration of a control system of the printing apparatus. モータ駆動に関する構成を示した図。FIG. 2 is a diagram showing a configuration related to motor driving. 指置台に関連する構成を示した図。FIG. 4 is a diagram showing a configuration related to the finger rest. 第1実施形態におけるネイル記録時のモータ制御を表すフローチャート。5 is a flowchart showing motor control during nail recording in the first embodiment. 第2実施形態における構成図。FIG. 11 is a configuration diagram according to a second embodiment.

(第1実施形態)
図1ないし図3は、本発明の実施形態に係るモータ駆動制御装置を適用する記録装置の概略構成を示す平面図、正面図及び右側面図である。なお、本実施形態において参照する各図面において、矢印Xにて示す方向(X方向)は記録装置の左右方向(主走査方向ともいう)を示し、+X方向は右方向、-X方向は左方向を示している。また、矢印Yにて示す方向(Y方向)はX方向と直交する方向(前後方向)を示し、+Y方向は前方、-Y方向は後方を示している。さらに矢印Zで示す方向(Z方向)は、X方向及びY方向と直交する方向(鉛直方向)を示し、+Z方向は下方を、-Z方向は上方を示している。
First Embodiment
1 to 3 are plan views, front views, and right side views showing a schematic configuration of a recording device to which a motor drive control device according to an embodiment of the present invention is applied. In each drawing referred to in this embodiment, the direction indicated by the arrow X (X direction) indicates the left-right direction (also called the main scanning direction) of the recording device, the +X direction indicates the right direction, and the -X direction indicates the left direction. The direction indicated by the arrow Y (Y direction) indicates a direction perpendicular to the X direction (front-back direction), the +Y direction indicates the front, and the -Y direction indicates the rear. Furthermore, the direction indicated by the arrow Z (Z direction) indicates a direction perpendicular to the X direction and the Y direction (vertical direction), the +Z direction indicates the downward direction, and the -Z direction indicates the upward direction.

図1ないし図3に示す記録装置20は、インクジェット方式により、記録媒体としての爪にインクを吐出して画像を記録するネイル記録装置である。記録装置20は、爪に対する記録を行う記録部203及び手載置部205を備える。手載置部205は、後述の手のひら載置台2050と指載置台2051とを有する。また、記録装置20は、爪のX方向及びY方向における位置を認識する撮影部204を有する。また、記録装置20の全体の動作は、後述の主制御部1010(図5参照)によって制御される。 The recording device 20 shown in Figs. 1 to 3 is a nail recording device that uses an inkjet method to eject ink onto a nail as a recording medium to record an image. The recording device 20 includes a recording unit 203 that records onto the nail, and a hand placement unit 205. The hand placement unit 205 includes a palm placement unit 2050 and a finger placement unit 2051, which will be described later. The recording device 20 also includes an imaging unit 204 that recognizes the position of the nail in the X and Y directions. The overall operation of the recording device 20 is controlled by a main control unit 1010 (see Fig. 5), which will be described later.

以下、記録装置20の各部の構成を図面を参照しつつより具体的に説明する。なお、以下の説明において参照する右側面では説明箇所を明示するため、図1に示す構成部材の一部(例えば、後述のY方向レール2011)の図示を省略している。 The configuration of each part of the recording device 20 will be described in more detail below with reference to the drawings. Note that in the following description, some of the components shown in FIG. 1 (for example, the Y-direction rail 2011 described below) are not shown on the right side to clearly indicate the parts to be described.

<記録部>
記録部203は、インクを吐出する記録ヘッド2030と、キャリッジ2031とを備える。本実施形態の記録ヘッド2030には、インクを吐出する複数の吐出口が配列された吐出口列が形成されている。各吐出口にはインクを吐出する吐出エネルギーを発生する吐出素子が設けられている。本実施形態では吐出エネルギーとして熱エネルギーを発生させる電気-熱変換素子(ヒータ)が用いられるが、ピエゾ等の電気-機械変換素子を用いることも可能である。記録ヘッド2030には、所定のインク供給源からインクが供給される。インク供給源としては、記録ヘッド2030と一体化したインク貯留部であってもよいし、記録ヘッド2030に対して着脱可能なカートリッジタイプのインクタンクであってもよい。また、記録ヘッドに設けられる吐出口列としては、例えば以下のような吐出口列がある。
・シアンインク吐出用の吐出口列2032
・マゼンタインク吐出用の吐出口列2033
・イエローインク吐出用の吐出口列2034
<Recording section>
The recording unit 203 includes a recording head 2030 that ejects ink, and a carriage 2031. The recording head 2030 of this embodiment is formed with an ejection port array in which a plurality of ejection ports that eject ink are arranged. Each ejection port is provided with an ejection element that generates ejection energy for ejecting ink. In this embodiment, an electro-thermal conversion element (heater) that generates thermal energy is used as the ejection energy, but an electro-mechanical conversion element such as a piezo can also be used. The recording head 2030 is supplied with ink from a predetermined ink supply source. The ink supply source may be an ink storage unit integrated with the recording head 2030, or a cartridge-type ink tank that is detachable from the recording head 2030. In addition, the following ejection port arrays are examples of the ejection port arrays provided in the recording head.
Cyan ink ejection port array 2032
Magenta ink ejection port array 2033
Yellow ink ejection port array 2034

<記録部の移動機構>
記録装置20には、キャリッジ2031をX方向及びY方向に移動させるための動作機構として移動機構が設けられている。この移動機構は、動作部としてY方向に延在する2本のY方向レール2011、2022と、X方向に延在するX方向レール2020とを備える。Y方向レール2011、2022は、記録装置本体21に支持され、X方向レール2020は、その両端部がY方向レール2011、2022に移動可能に支持されている。X方向レール2020には、キャリッジ2031が移動可能に支持されている。キャリッジ2031は、DCモータの駆動力によりX方向レール2020に沿ってX方向へと移動する。また、X方向レール2020は、キャリッジ2031を移動させるDCモータとは異なるDCモータの駆動力によりY方向レール2011、2022に沿ってY方向へと移動する。従って、キャリッジ2031は、X方向レール2020に沿ったX方向への移動と、X方向レール2020のY方向への移動とにより、X方向及びY方向へと移動する。
<Recording unit movement mechanism>
The recording device 20 is provided with a moving mechanism as an operating mechanism for moving the carriage 2031 in the X and Y directions. This moving mechanism includes two Y-direction rails 2011 and 2022 extending in the Y direction as an operating part, and an X-direction rail 2020 extending in the X direction. The Y-direction rails 2011 and 2022 are supported by the recording device main body 21, and both ends of the X-direction rail 2020 are movably supported by the Y-direction rails 2011 and 2022. The carriage 2031 is movably supported by the X-direction rail 2020. The carriage 2031 moves in the X direction along the X-direction rail 2020 by the driving force of a DC motor. In addition, the X-direction rail 2020 moves in the Y direction along the Y-direction rails 2011 and 2022 by the driving force of a DC motor different from the DC motor that moves the carriage 2031. Therefore, the carriage 2031 moves in the X direction along the X direction rail 2020 and in the Y direction by the movement of the X direction rail 2020 in the Y direction.

キャリッジ2031は、指載置台2051に載置された記録媒体としての指の爪に対し、DCモータの駆動力によって主走査方向(X方向)へと移動する。記録ヘッド2030はキャリッジ2031と共にX方向へと移動しつつインクを吐出する。記録ヘッド2030の1回の主走査方向への移動によって、吐出口列の幅(Y方向における長さ)に対応する1走査分の幅(Y方向の長さ)の画像が爪に記録される。その後、キャリッジ2031と共に記録ヘッド2030をY方向へと所定量移動させた後、再度記録動作を行う。このように、記録ヘッド2030による記録動作とY方向への移動動作とを交互に繰り返すことにより爪に対して予め定めた画像(爪モデル)が記録される。 The carriage 2031 moves in the main scanning direction (X direction) by the driving force of a DC motor relative to the fingernail placed on the finger placement platform 2051 as a recording medium. The recording head 2030 ejects ink while moving in the X direction together with the carriage 2031. With one movement of the recording head 2030 in the main scanning direction, an image with a width (length in the Y direction) of one scan corresponding to the width (length in the Y direction) of the nozzle row is recorded on the nail. After that, the recording head 2030 is moved a predetermined amount in the Y direction together with the carriage 2031, and then a recording operation is performed again. In this way, a predetermined image (nail model) is recorded on the nail by alternately repeating the recording operation and the movement operation in the Y direction by the recording head 2030.

<撮影部>
撮影部204は、記録装置20の天井部内側に設置されたカメラ2040と、カメラ2040の下部に配置された撮影レンズ2041とを備える。カメラ2040は、撮影レンズ2041を介して指載置台2051に載置された指を撮影し、撮影した画像データを後述の画像入力部2070(図5参照)へと送信する。撮影部204は、記録装置20に据え付けられているものでもよいし、別途、ユーザが、例えばカメラ機能付のスマートフォンなどを取り付けたものでもよい。
<Photography Department>
The photographing unit 204 includes a camera 2040 installed inside the ceiling of the recording device 20, and a photographing lens 2041 arranged under the camera 2040. The camera 2040 photographs a finger placed on a finger placement stand 2051 through the photographing lens 2041, and transmits the photographed image data to an image input unit 2070 (see FIG. 5 ), which will be described later. The photographing unit 204 may be one that is installed in the recording device 20, or may be one that is separately attached by the user, such as a smartphone with a camera function.

<手載置部>
手載置部205は、手のひらを載置するための手のひら載置台2050と、指を載置するための指載置台2051とを備えている。手のひら載置台2050及び指載置台2051は、記録装置20の外殻をなす記録装置本体21の床側に配置されており、手のひら載置台2050は、指載置台2051より記録装置20における正面側(+Y方向側)に設けられている。指載置台2051は、後述するように、4本の指2061~2064を載置する互いに独立した4個の指載置台20511~20514が順次並んだ構成を有する。指載置台に載置された指は、それぞれの指載置台20511~20514の上面部と指固定枠2052との間にばね等どの弾性力によって挟持・固定され、安定した状態でそれぞれの指載置台20511~20514に保持される。
<Hand placement section>
The hand placement section 205 includes a palm placement table 2050 for placing the palm, and a finger placement table 2051 for placing the fingers. The palm placement table 2050 and the finger placement table 2051 are disposed on the floor side of the recording device main body 21 which forms the outer shell of the recording device 20, and the palm placement table 2050 is provided on the front side (+Y direction side) of the recording device 20 relative to the finger placement table 2051. As described below, the finger placement table 2051 has a configuration in which four mutually independent finger placement tables 20511 to 20514 on which four fingers 2061 to 2064 are placed are arranged in sequence. A finger placed on the finger rest is clamped and fixed between the upper surface of each finger rest 20511 to 20514 and the finger fixing frame 2052 by elastic force such as a spring, and is held in a stably state on each finger rest 20511 to 20514.

図1の2点鎖線は、手のひら載置台2050に載置した右手2060の手のひらと、指載置台2051に載置した右手の指2061~2064を示している。図中の2061は右人差し指を、2062は右中指を、2063は右中指を、2064は右小指をそれぞれ示している。以下の説明では、これらの指を区別することなく指206と表記することもある。 The two-dot chain line in FIG. 1 indicates the palm of a right hand 2060 placed on a palm rest 2050, and the fingers 2061 to 2064 of the right hand placed on a finger rest 2051. In the figure, 2061 indicates the right index finger, 2062 the right middle finger, 2063 the right middle finger, and 2064 the right little finger. In the following description, these fingers may be referred to as fingers 206 without distinction.

本実施形態においては、理解を簡単にするために4本の指の太さは、人差し指2061、中指2062、薬指2063、小指2064のいずれも同じ太さとしている。また、4本の指の長さは、中指>人差し指=薬指>小指としている。また、指の横断面は真円とみなし、指の高さ(Z方向の長さ)さと巾(X方向の長さ)は同一として扱うこととする。また、カメラ2040の撮影画像の中心は、X方向においては中指2062と薬指2063の中心とし、Y方向においては、人差し指2061および薬指2063の位置に設定している。 In this embodiment, for ease of understanding, the thickness of the four fingers is the same for the index finger 2061, middle finger 2062, ring finger 2063, and little finger 2064. The lengths of the four fingers are middle finger > index finger = ring finger > little finger. The cross section of the fingers is considered to be a perfect circle, and the height (length in the Z direction) and width (length in the X direction) of the fingers are treated as being the same. The center of the image captured by the camera 2040 is set to the center of the middle finger 2062 and ring finger 2063 in the X direction, and to the position of the index finger 2061 and ring finger 2063 in the Y direction.

図4は、指載置台2051の構成を示す図である。図4に示すように、本実施形態における指載置台2051は、4本の指2061~2064を1本ずつ載置するための4個の指載置台20511~20514が設けられている。4個の指載置台20511~20514は、載置された指206をX-Y平面と交差(本実施形態では直交)するZ方向へと移動(昇降)させる役割を持つ。それぞれの指載置台は、DCモータによって互いに独立して昇降可能である。第1指載置台20511~第4指載置台20514の昇降動作を行うためのDCモータの駆動制御については後に詳細に説明する。 Figure 4 is a diagram showing the configuration of the finger placement platform 2051. As shown in Figure 4, the finger placement platform 2051 in this embodiment is provided with four finger placement platforms 20511-20514 on which four fingers 2061-2064 are placed one by one. The four finger placement platforms 20511-20514 serve to move (raise and lower) the placed finger 206 in the Z direction that intersects with the X-Y plane (orthogonal in this embodiment). Each finger placement platform can be raised and lowered independently of the others by a DC motor. The drive control of the DC motors for raising and lowering the first finger placement platform 20511 to the fourth finger placement platform 20514 will be described in detail later.

指載置台20511~20514を昇降させることにより、指載置台2051に載置されたそれぞれの指206の爪と記録ヘッド2030とのZ方向における相対位置を変化させることができる。指載置台2051の昇降動作における原点位置は、後述するモータ駆動制御装置を用いることにより、Z方向におけるいずれの位置にも設定可能である。但し、本実施形態では最下降位置を原点位置としている。指載置台2051が原点位置である最下降位置にあるとき、指載置台2051に載置された指206は指固定枠2052から下方へと離間した位置に保持される。そして、爪への記録時には、指載置台20511~20514は、爪への記録が可能な位置(記録位置)まで上昇する。 By raising and lowering the finger placement tables 20511 to 20514, the relative position in the Z direction between the nail of each finger 206 placed on the finger placement table 2051 and the recording head 2030 can be changed. The origin position for the raising and lowering operation of the finger placement table 2051 can be set to any position in the Z direction by using a motor drive control device described later. However, in this embodiment, the lowest position is the origin position. When the finger placement table 2051 is in the lowest position, which is the origin position, the finger 206 placed on the finger placement table 2051 is held in a position spaced downward from the finger fixing frame 2052. Then, when recording on the nail, the finger placement tables 20511 to 20514 rise to a position (recording position) where recording on the nail is possible.

また、指載置台20511~20514が原点位置(最下降位置)にあるか否かの検出は、検出手段としての指載置台センサ1016(図5参照)によって検出される。指載置台センサ1016は、4個の指載置台20511~20514のそれぞれの下部に突設されたシャッター2053と、各シャッター2053に対向して設けられた不図示のフォトインタラプタとを含み構成されている。フォトインタラプタは、図4に示す基板2054に設けられている。シャッター2053がフォトインタラプタの投光部と受光部の間の光路を遮断した時点で、フォトインタラプタの受光部は指載置台が原点位置にあることを示す検出信号を出力する。この検出信号は、後述の制御系101に設けられたCPU1011(図5参照)へと送信される。 Whether the finger placement platforms 20511 to 20514 are at the origin position (lowest position) is detected by a finger placement platform sensor 1016 (see FIG. 5) as a detection means. The finger placement platform sensor 1016 includes a shutter 2053 protruding from the bottom of each of the four finger placement platforms 20511 to 20514, and a photointerrupter (not shown) provided opposite each shutter 2053. The photointerrupter is provided on a substrate 2054 shown in FIG. 4. When the shutter 2053 blocks the optical path between the light-emitting section and the light-receiving section of the photointerrupter, the light-receiving section of the photointerrupter outputs a detection signal indicating that the finger placement platform is at the origin position. This detection signal is sent to a CPU 1011 (see FIG. 5) provided in a control system 101 described later.

<記録システムの制御構成>
図5は、本実施形態の記録システムの制御構成を示すブロック図である。図5において、本実施形態における記録システムは、記録装置20とホストPC(ホストパーソナルコンピュータ)とにより構成される。記録装置20の制御系101とホストPC1000とは相互に通信可能に接続されている。
<Control configuration of recording system>
Fig. 5 is a block diagram showing the control configuration of the printing system of this embodiment. In Fig. 5, the printing system of this embodiment is composed of a printing apparatus 20 and a host PC (host personal computer). A control system 101 of the printing apparatus 20 and the host PC 1000 are connected so as to be able to communicate with each other.

ホストPC1000は、以下のように構成されている。CPU1001は、HDD1003やRAM1002に保持されているプログラムに従った処理を実行する。RAM1012は、揮発性のストレージであり、プログラムやデータを一時的に保持する。また、ハードディスク(HDD)1003は、不揮発性のストレージであり、プログラムやデータを保持する。 The host PC 1000 is configured as follows. The CPU 1001 executes processing according to programs stored in the HDD 1003 and RAM 1002. The RAM 1012 is a volatile storage device that temporarily stores programs and data. The hard disk drive (HDD) 1003 is a non-volatile storage device that stores programs and data.

データ転送インタフェース1004は記録装置20に設けられた制御系101との間におけるデータの送受信を制御する。このデータ送受信の接続方式としては、USB、IEEE1394、LAN等の有線接続またはBluetooth、WiFi等の無線接続を用いることができる。 The data transfer interface 1004 controls the transmission and reception of data with the control system 101 provided in the recording device 20. The connection method for this data transmission and reception can be a wired connection such as USB, IEEE1394, or LAN, or a wireless connection such as Bluetooth or Wi-Fi.

キーボード・マウスインタフェース(キーボード・マウスI/F)1005は、キーボードやマウス等のHID(Human Interface Device)を制御するインターフェース(I/F)である。ユーザは、このキーボード・マウスI/Fを介してホストPC1000に対し、種々のデータ及び指令を入力することができる。 The keyboard/mouse interface (keyboard/mouse I/F) 1005 is an interface (I/F) that controls HIDs (Human Interface Devices) such as a keyboard and mouse. A user can input various data and commands to the host PC 1000 via this keyboard/mouse I/F.

ディスプレイインタフェース1006は、ディスプレイ(不図示)における表示を制御する。ディスプレイには、爪モデルを装置側で自動的に設定させるかユーザが手動によって設定するかを選択するための画面が表示され、ユーザにいずれかを選択させる。ユーザが手動で爪モデルを設定する方法を選択した場合、爪領域検出後にユーザの爪に類似する爪モデルの一覧がディスプレイに表示される。ユーザはその中から任意の爪モデルを選び設定することができる。なお、図1では、一例として、ホストPC100側にディスプレイが備えられている場合について述べたが、記録装置20にディスプレイを設けることも可能である。 The display interface 1006 controls the display on a display (not shown). A screen is displayed on the display for the user to select whether to have the nail model set automatically by the device or set manually by the user, and the user is prompted to select one of the options. If the user selects the method of manually setting the nail model, a list of nail models similar to the user's nail is displayed on the display after the nail region is detected. The user can select any nail model from this list and set it. Note that while FIG. 1 shows an example in which a display is provided on the host PC 100 side, it is also possible to provide a display on the recording device 20.

一方、記録装置20の制御系101は以下のように構成されている。制御系101には、主制御部1010が設けられている。主制御部1010は、CPU1011、RAM1012及びROM1013を含み構成されている。CPU1011は、ROM1013及びRAM1012に保持されているプログラムに従い、演算、判定等の処理を実行すると共に、記録装置20に設けられる複数のモータやその他のアクチュエータ等の駆動を制御する駆動制御手段としての機能を有する。 On the other hand, the control system 101 of the recording device 20 is configured as follows. The control system 101 is provided with a main control unit 1010. The main control unit 1010 is configured to include a CPU 1011, a RAM 1012, and a ROM 1013. The CPU 1011 executes processes such as calculations and judgments according to the programs stored in the ROM 1013 and the RAM 1012, and also functions as a drive control means that controls the drive of multiple motors and other actuators provided in the recording device 20.

RAM1012は、揮発性のストレージであり、プログラムやデータを一時的に保持することが可能である。また、ROM1013は不揮発性のストレージであり、CPU1011によって実行される処理で使用されるテーブルデータやプログラム等を保持する。データ転送インタフェース(データ転送I/F)1014はホストPC100との間で行われるデータの送受信を制御する。 RAM 1012 is a volatile storage device capable of temporarily storing programs and data. ROM 1013 is a non-volatile storage device that stores table data, programs, etc. used in the processing executed by CPU 1011. Data transfer interface (data transfer I/F) 1014 controls the sending and receiving of data to and from host PC 100.

ヘッドコントローラ1015は、記録ヘッド2030に設けられた吐出素子の駆動を記録データに基づいて制御し、記録ヘッド2030からのインクの吐出を制御する。具体的には、ヘッドコントローラ1015は、RAM1012の所定のアドレスから制御パラメータと記録データの読み込みを行う。CPU1011が、制御パラメータと記録データをRAM1012の所定のアドレスに書き込むと、ヘッドコントローラ1015による処理が起動され、記録ヘッド2030に設けられた吐出素子としてのヒータを発熱させる。これによってインクに膜沸騰が生じ、その時の圧力変化によって記録ヘッドの吐出口からインクが吐出される。 The head controller 1015 controls the driving of the ejection elements provided in the print head 2030 based on the print data, and controls the ejection of ink from the print head 2030. Specifically, the head controller 1015 reads control parameters and print data from a specified address in the RAM 1012. When the CPU 1011 writes the control parameters and print data to a specified address in the RAM 1012, processing by the head controller 1015 is started, and the heaters serving as ejection elements provided in the print head 2030 are made to generate heat. This causes film boiling in the ink, and the resulting pressure change causes ink to be ejected from the ejection ports of the print head.

画像処理アクセラレータ1017は、ハードウェアによって構成され、CPU1011よりも高速に画像処理を実行することが可能である。具体的には、画像処理アクセラレータは、RAM1012の所定のアドレスから画像処理に必要なパラメータとデータの読み込みを行う。CPU1011が上記パラメータとデータをRAM1012の上記所定のアドレスに書き込むと、画像処理アクセラレータ1017が起動され、所定の画像処理が行われる。なお、画像処理アクセラレータ1017は必ずしも必要な要素ではない。記録装置の仕様等に応じて、CPU1011による処理のみで上記のテーブルパラメータの作成処理および画像処理を実行することも可能である。指載置台センサ1016は、指載置台2051が原点位置にあるか否かを検出する前述の検出手段を構成するものである。本実施形態における指載置台センサ1016は、前述のようにフォトインタラプタによって構成されている。この指載置台2051が原点位置にあることを示す検出信号はCPU1011に入力される。 The image processing accelerator 1017 is configured by hardware and can execute image processing faster than the CPU 1011. Specifically, the image processing accelerator reads parameters and data required for image processing from a specified address in the RAM 1012. When the CPU 1011 writes the parameters and data to the specified address in the RAM 1012, the image processing accelerator 1017 is started and the specified image processing is executed. Note that the image processing accelerator 1017 is not necessarily an element. Depending on the specifications of the recording device, it is also possible to execute the above-mentioned table parameter creation processing and image processing by processing only by the CPU 1011. The finger placement sensor 1016 constitutes the aforementioned detection means that detects whether the finger placement 2051 is at the origin position. The finger placement sensor 1016 in this embodiment is configured by a photointerrupter as described above. A detection signal indicating that the finger placement 2051 is at the origin position is input to the CPU 1011.

また、制御系101には、記録装置20に設けられる複数の動作機構の駆動源として、複数のDCモータが設けられている。図5ではそれらのDCモータをDCモータ群として表し、それらのDCモータ群を駆動させる複数のモータ駆動部をモータ駆動部群1040として表わしている。また、DCモータには、DCモータの動作に同期してパルス信号(エンコーダ信号)を出力するエンコーダがそれぞれ設けられている。図5では複数のDCモータのそれぞれに設けられているエンコーダをエンコーダ群1060として表している。さらに、制御系101には、1つのモータ制御部から出力されるモータ制御信号を複数のモータ駆動部に切り替えて送信する切替手段としての切替スイッチ1030が少なくとも1つ設けられている。以下、この切替スイッチ1030を用いた本実施形態特有のモータ駆動制御について説明を行う。 The control system 101 is also provided with multiple DC motors as drive sources for multiple operating mechanisms provided in the recording device 20. In FIG. 5, the DC motors are represented as a DC motor group, and multiple motor drive units that drive the DC motor group are represented as a motor drive unit group 1040. Each DC motor is also provided with an encoder that outputs a pulse signal (encoder signal) in synchronization with the operation of the DC motor. In FIG. 5, the encoders provided in each of the multiple DC motors are represented as an encoder group 1060. Furthermore, the control system 101 is provided with at least one changeover switch 1030 as a switching means that switches and transmits a motor control signal output from one motor control unit to multiple motor drive units. Below, the motor drive control specific to this embodiment using this changeover switch 1030 will be described.

CPU1011は、複数のモータ駆動部のそれぞれに対して駆動制御信号を出力する駆動制御部としての機能を果す。但し、CPU1011によって実現される駆動制御部としての機能には制限がある。すなわち、CPU1011が同時に制御可能なDCモータの数(以下、最大モータ制御数と称す)は予め定められた数に制限されている。そこで、本実施形態では、最大モータ制御数以上の数のDCモータを駆動する場合に、図6に示す切替スイッチ1030を用いたモータ駆動制御を行う。 The CPU 1011 functions as a drive control unit that outputs a drive control signal to each of the multiple motor drive units. However, the function of the drive control unit realized by the CPU 1011 is limited. That is, the number of DC motors that the CPU 1011 can control simultaneously (hereinafter referred to as the maximum motor control number) is limited to a predetermined number. Therefore, in this embodiment, when driving DC motors in a number equal to or greater than the maximum motor control number, motor drive control is performed using the changeover switch 1030 shown in FIG. 6.

図6は、本実施形態におけるDCモータの駆動制御を説明するための機能ブロック図である。主制御部1010内に設けられているCPU1011の駆動制御部1020は、予め定めた数のDCモータを接続可能な構成(インターフェース)を複数有しており、接続された複数のDCモータの駆動を同時に独立して制御することが可能である。但し、図6では、1つのDCモータの駆動を制御するための構成(1つのインターフェース)を用いて、DCモータ群1050の中の2つのDCモータ1051、1052の駆動を択一的に制御する例について説明する。なお、図6において、符号1051で表されるDCモータを第1モータ1051、符号1052で表されるDCモータを第2モータ1052と称す。また、第1モータ1051を駆動するモータ駆動部(モータ駆動手段)を第1モータ駆動部1041、第2モータ1052を駆動するモータ駆動部を第2モータ駆動部1042と称す。さらに、第1モータ1051の動作に同期してエンコーダ信号を出力するエンコーダを第1エンコーダ1061と称し、第2モータ1052の動作に同期してエンコーダ信号を出力するエンコーダを第2エンコーダ1062と称す。 Figure 6 is a functional block diagram for explaining the drive control of the DC motor in this embodiment. The drive control unit 1020 of the CPU 1011 provided in the main control unit 1010 has a plurality of configurations (interfaces) to which a predetermined number of DC motors can be connected, and can simultaneously and independently control the drive of the plurality of connected DC motors. However, in Figure 6, an example is described in which the drive of two DC motors 1051 and 1052 in the DC motor group 1050 is selectively controlled using a configuration (one interface) for controlling the drive of one DC motor. In addition, in Figure 6, the DC motor represented by the symbol 1051 is referred to as the first motor 1051, and the DC motor represented by the symbol 1052 is referred to as the second motor 1052. In addition, the motor drive unit (motor drive means) that drives the first motor 1051 is referred to as the first motor drive unit 1041, and the motor drive unit that drives the second motor 1052 is referred to as the second motor drive unit 1042. Furthermore, the encoder that outputs an encoder signal in synchronization with the operation of the first motor 1051 is referred to as the first encoder 1061, and the encoder that outputs an encoder signal in synchronization with the operation of the second motor 1052 is referred to as the second encoder 1062.

第1エンコーダ1061は第1モータ1051に取り付けられ、第2エンコーダ1062は第2モータ1052に取り付けられている。両エンコーダは、いずれも、モータの回転軸と共に回転する円盤状のスケールと該スケールの回転に伴ってパルス信号を出力する光学センサとを備えるロータリーエンコーダによって構成されている。但し、モータの回転量を検出可能なセンサであれば、ロータリーエンコーダ以外の検出手段を用いてもよい。 The first encoder 1061 is attached to the first motor 1051, and the second encoder 1062 is attached to the second motor 1052. Both encoders are configured as rotary encoders equipped with a disk-shaped scale that rotates together with the rotating shaft of the motor and an optical sensor that outputs a pulse signal in response to the rotation of the scale. However, detection means other than a rotary encoder may be used as long as the sensor is capable of detecting the amount of rotation of the motor.

第1、第2モータ1051、1052は、各々に対応するエンコーダと共にモータユニットを構成している。すなわち、第1モータ1051と第1エンコーダ1061により第1モータユニット1071が構成され、第2モータ1052と第2エンコーダ1062とにより第2モータユニット1072が構成されている。なお、図6では第1、第2モータユニット1071、1072と第1、第2モータ駆動部1041、1042を示しているが、実際には、記録装置20内に設けられているDCモータの数に応じたモータユニットとモータ駆動部が設けられている。 The first and second motors 1051, 1052, together with their corresponding encoders, form a motor unit. That is, the first motor unit 1071 is formed by the first motor 1051 and the first encoder 1061, and the second motor unit 1072 is formed by the second motor 1052 and the second encoder 1062. Note that while FIG. 6 shows the first and second motor units 1071, 1072 and the first and second motor drive units 1041, 1042, in reality, the number of motor units and motor drive units provided corresponds to the number of DC motors provided in the recording device 20.

駆動制御部1020は、切替手段としての切替スイッチ1030を介して、第1モータユニット1071と第2モータユニット1072とに択一的に通信可能に接続される。例えば、第1モータ1051を駆動する場合、駆動制御部1020は、切替スイッチ1030及び第1モータ駆動部1041を介して第1モータユニット1071の第1モータ1051に通信可能に接続される。また、駆動制御部1020は、切替スイッチ1030を介して第1エンコーダ1061に通信可能に接続される。ここで、駆動制御部1020から出力された駆動制御信号は切替スイッチ1030を介して第1モータ駆動部1041に送信される。第1モータ駆動部1041は、受信した駆動制御信号に従って所定の電流波形の駆動信号を生成し、第1モータ1051の駆動制御を行う。また、第1モータ1051の駆動に従って第1エンコーダ1061からは、第1モータ1051の駆動量(回転量)に応じた数のパルス信号(エンコーダ信号)が出力される。このエンコーダ信号は、切替スイッチ1030を介して駆動制御部1020に受信される。駆動制御部1020は、エンコーダ信号に基づき、第1モータ1051によって駆動される動作機構の動作部の位置情報を取得する取得手段としての機能を果し、取得した動作位置情報を、位置情報記憶部(記憶手段)であるRAM1012に記憶させる。この第1モータ1051の駆動制御が行われている間は、第2モータ駆動部1042と駆動制御部1020との接続は切替スイッチ1030によって遮断されており、第2モータ1052の駆動は行われない。 The drive control unit 1020 is communicatively connected to the first motor unit 1071 and the second motor unit 1072 alternatively via the changeover switch 1030 as a switching means. For example, when driving the first motor 1051, the drive control unit 1020 is communicatively connected to the first motor 1051 of the first motor unit 1071 via the changeover switch 1030 and the first motor drive unit 1041. The drive control unit 1020 is also communicatively connected to the first encoder 1061 via the changeover switch 1030. Here, the drive control signal output from the drive control unit 1020 is transmitted to the first motor drive unit 1041 via the changeover switch 1030. The first motor drive unit 1041 generates a drive signal of a predetermined current waveform according to the received drive control signal, and controls the drive of the first motor 1051. In addition, in accordance with the drive of the first motor 1051, the first encoder 1061 outputs a number of pulse signals (encoder signals) according to the drive amount (amount of rotation) of the first motor 1051. This encoder signal is received by the drive control unit 1020 via the changeover switch 1030. The drive control unit 1020 functions as an acquisition unit that acquires position information of the operating unit of the operating mechanism driven by the first motor 1051 based on the encoder signal, and stores the acquired operating position information in the RAM 1012, which is a position information storage unit (storage unit). While the drive control of this first motor 1051 is being performed, the connection between the second motor drive unit 1042 and the drive control unit 1020 is cut off by the changeover switch 1030, and the second motor 1052 is not driven.

また、第2モータ1052の駆動を制御する場合、駆動制御部1020の接続先は、切替スイッチ1030によって第1モータ駆動部1041から第2モータ駆動部1042へとの切り替えられる。さらに、駆動制御部1020は、切替スイッチ1030を介して第1エンコーダ1061との接続から第2エンコーダ1062との接続に切り替えられる。これにより駆動制御部1020から出力される駆動制御信号に従って第2モータ駆動部1042は駆動信号を生成し、第2モータ1052を駆動する。第2駆動モータ1052の駆動に伴って第2エンコーダ1062から出力されたエンコーダ信号は、切替スイッチ1030を介して駆動制御部1020に入力される。駆動制御部1020は、エンコーダ信号に基づき、第2モータ1052によって駆動される動作機構の動作部の位置情報を取得し、取得した位置情報を位置情報記憶部であるRAM1012に記憶させる。 When controlling the drive of the second motor 1052, the connection of the drive control unit 1020 is switched from the first motor drive unit 1041 to the second motor drive unit 1042 by the changeover switch 1030. Furthermore, the drive control unit 1020 is switched from the connection with the first encoder 1061 to the connection with the second encoder 1062 via the changeover switch 1030. As a result, the second motor drive unit 1042 generates a drive signal according to the drive control signal output from the drive control unit 1020 and drives the second motor 1052. The encoder signal output from the second encoder 1062 in conjunction with the drive of the second drive motor 1052 is input to the drive control unit 1020 via the changeover switch 1030. The drive control unit 1020 acquires position information of the operating part of the operating mechanism driven by the second motor 1052 based on the encoder signal, and stores the acquired position information in the RAM 1012, which is a position information storage unit.

以上のように、図6に示すモータ駆動制御装置では、CPU1011の駆動制御部1020における1つのDCモータの駆動を制御するための構成(1つのインターフェース)を用いて、第1モータ1051と第2モータ1052の駆動を択一的に制御することが可能になる。従って、例えばCPU1020の駆動制御部1020によって同時に制御可能なモータ数(最大モータ制御数)が「3」であった場合、同時に駆動を行うことがないDCモータについては切替スイッチ1030を用いた駆動制御を行う。これにより、駆動制御部1020は、4つのDCモータを制御することが可能になる。つまり、最大モータ制御数「3」を超えた数(「4」)のモータを制御することが可能になる。 As described above, the motor drive control device shown in FIG. 6 makes it possible to selectively control the drive of the first motor 1051 and the second motor 1052 using a configuration (one interface) for controlling the drive of one DC motor in the drive control unit 1020 of the CPU 1011. Therefore, for example, if the number of motors that can be simultaneously controlled by the drive control unit 1020 of the CPU 1020 (maximum number of motors to be controlled) is "3", the drive control is performed using the changeover switch 1030 for DC motors that are not driven simultaneously. This makes it possible for the drive control unit 1020 to control four DC motors. In other words, it becomes possible to control a number of motors ("4") that exceeds the maximum number of motors to be controlled of "3".

また、本実施形態では、第1モータ1051及び第2モータ1052が停止した時点で、各モータによって駆動されていた動作機構の位置情報が記憶される。従って、駆動を停止した第1モータ1051または第2モータ1052を再度駆動する場合、CPU1011は位置情報記憶部1012に記憶された位置情報に基づき、動作機構における各動作部の現在の位置に応じて適正なモータ駆動制御を行うことが可能になる。例えば、前回の駆動によって動作機構が所定位置で停止した場合、CPU1011は、前記所定位置を動作部の動作開始位置としてDCモータの駆動制御を行うことが可能になる。これにより、モータの駆動、停止が繰り返される場合にも、動作機構における動作部の一連の動作を適正に行うことが可能になる。 In addition, in this embodiment, when the first motor 1051 and the second motor 1052 are stopped, the position information of the operating mechanism driven by each motor is stored. Therefore, when the first motor 1051 or the second motor 1052 that has been stopped is driven again, the CPU 1011 can perform appropriate motor drive control according to the current position of each operating part in the operating mechanism based on the position information stored in the position information storage unit 1012. For example, if the operating mechanism is stopped at a predetermined position by the previous drive, the CPU 1011 can perform drive control of the DC motor with the predetermined position as the operation start position of the operating part. This makes it possible to properly perform a series of operations of the operating parts in the operating mechanism even when the motor is repeatedly driven and stopped.

ここで、図4に示した指載置台2051の昇降動作を行うDCモータの駆動制御に、図6に示すモータ駆動制御装置を適用した例について説明する。なお、以下の説明において、符号20511で示す指載置台を第1指載置台20511、符号20512で示す指載置台を第2指載置台20512と称す。さらに、符号20513で示す指載置台を第3指載置台20513、符号20514で示す指載置台を第4指載置台20514と称す。また、記録の対象となる爪を有する指を、以下の説明では、記録対象指と称す。 Here, an example will be described in which the motor drive control device shown in FIG. 6 is applied to drive control of a DC motor that raises and lowers the finger rest 2051 shown in FIG. 4. In the following description, the finger rest indicated by reference numeral 20511 will be referred to as the first finger rest 20511, and the finger rest indicated by reference numeral 20512 will be referred to as the second finger rest 20512. Furthermore, the finger rest indicated by reference numeral 20513 will be referred to as the third finger rest 20513, and the finger rest indicated by reference numeral 20514 will be referred to as the fourth finger rest 20514. In addition, in the following description, the finger having the nail to be recorded will be referred to as the finger to be recorded.

前述のように、4つの指載置台20511~20514のそれぞれには、1本づつ指が載置される。爪への記録を行う場合には、記録対象指が載置された指載置台を、原点位置から所定の記位置まで上昇させ、記録ヘッド2030による記録動作を行う。記録動作は、通常、人差し指、中指、薬指、小指の順で行うことが好ましい。このため、右手の爪に記録動作を行う場合には、第1指載置台20511、第2指載置台20512、第3指載置台20513、第4指載置台20514を、この順序で記録位置へと上昇させる。また、左手の爪に記録動作を行う場合には、右手の場合とは逆に、第4指載置台20514、第3指載置台20513、第2指載置台20512、第1指載置台20511を、この順序で記録位置へと上昇させる。 As described above, one finger is placed on each of the four finger placement platforms 20511-20514. When recording on a nail, the finger placement platform on which the finger to be recorded is placed is raised from the origin position to a predetermined recording position, and a recording operation is performed using the recording head 2030. It is usually preferable to perform the recording operation in the order of the index finger, middle finger, ring finger, and little finger. Therefore, when performing a recording operation on the nail of the right hand, the first finger placement platform 20511, the second finger placement platform 20512, the third finger placement platform 20513, and the fourth finger placement platform 20514 are raised to the recording position in this order. Furthermore, when performing a recording operation on the nails of the left hand, the fourth finger rest 20514, the third finger rest 20513, the second finger rest 20512, and the first finger rest 20511 are raised to the recording position in this order, the opposite of the case of the right hand.

また、記録動作の所要時間の短縮化を図るためには、記録動作が終了した指を下降させつつ、次の記録対象を上昇させることが望ましい。但し、記録動作は、人差し指、中指、薬指、小指の順で行うため、両端に位置する人差し指と小指とが同時に上昇及び下降することはない。つまり、第1指載置台20511を動作させるDCモータと、第4指載置台20514を動作させるDCモータとを同時に駆動することはない。 In addition, in order to shorten the time required for the recording operation, it is desirable to lower the finger for which the recording operation has been completed while raising the next recording target. However, since the recording operation is performed in the order of the index finger, middle finger, ring finger, and little finger, the index finger and little finger located at both ends do not rise and fall at the same time. In other words, the DC motor that operates the first finger rest 20511 and the DC motor that operates the fourth finger rest 20514 are not driven at the same time.

従って、第1指載置台20511を動作させるDCモータと、第4指載置台20514を動作させるDCモータについては、図6に示すように切替スイッチ1030を用いて択一的に駆動制御を行う。例えば、第1指載置台20511を動作させるDCモータを図6に示す第1モータ1051とし、第4指載置台20514を動作させるDCモータを第2モータ1052とする。そして、CPU1011の駆動制御部1020は、1つのDCモータを駆動するための構成(インターフェース)を用いて、第1モータ1051と第2モータ1052の駆動を切替スイッチ1030を用いて択一的に制御する。 Therefore, the DC motor that operates the first finger rest 20511 and the DC motor that operates the fourth finger rest 20514 are selectively controlled for driving using the changeover switch 1030 as shown in FIG. 6. For example, the DC motor that operates the first finger rest 20511 is the first motor 1051 shown in FIG. 6, and the DC motor that operates the fourth finger rest 20514 is the second motor 1052. Then, the drive control unit 1020 of the CPU 1011 selectively controls the driving of the first motor 1051 and the second motor 1052 using the changeover switch 1030, using a configuration (interface) for driving one DC motor.

また、第2指載置台20512を駆動する不図示のモータユニット及びモータ駆動部と、第3指載置台20513を駆動する不図示のモータユニット及びモータ駆動部は、駆動制御部1020に設けられた異なるインターフェースを介して接続されている。このため、第2指載置台20512を駆動する不図示のDCモータと、第3指載置台20513を駆動する不図示のDCモータは、駆動制御部1020によって、第1モータ1051及び第2モータ1052と同時に独立して駆動することが可能になっている。 In addition, the motor unit and motor drive unit (not shown) that drive the second finger rest 20512 and the motor unit and motor drive unit (not shown) that drive the third finger rest 20513 are connected via different interfaces provided in the drive control unit 1020. Therefore, the DC motor (not shown) that drives the second finger rest 20512 and the DC motor (not shown) that drives the third finger rest 20513 can be driven independently of the first motor 1051 and the second motor 1052 at the same time by the drive control unit 1020.

従って本実施形態では、隣接する指載置台を同時に動作させることが可能になる。具体的には、第1モータ1051によって駆動される第1指載置台20511の下降と同時に、第2指載置台20512を上昇させることが可能になり、また、第2指載置台20512の上昇と同時に第1指載置台20511を下降させることが可能になる。同様に、第2モータ1052によって駆動される第4指載置台20514の下降と同時に第3指載置台20513を上昇させることが可能になり、第3指載置台20513の下降と同時に第4指載置台20514を上昇させることが可能になる。このように、隣接する2つの指載置台のうち一方の指載置台と他方の指載置台とを同時に互いに異なる方向へと移動させることにより、全ての爪の記録動作が完了するまでに要する時間を短縮することが可能になる。 Therefore, in this embodiment, it is possible to operate adjacent finger placement tables simultaneously. Specifically, it is possible to raise the second finger placement table 20512 at the same time as the first finger placement table 20511 driven by the first motor 1051 descends, and it is also possible to lower the first finger placement table 20511 at the same time as the second finger placement table 20512 ascends. Similarly, it is possible to raise the third finger placement table 20513 at the same time as the fourth finger placement table 20514 driven by the second motor 1052 descends, and it is possible to raise the fourth finger placement table 20514 at the same time as the third finger placement table 20513 descends. In this way, by simultaneously moving one finger placement table and the other finger placement table of two adjacent finger placement tables in different directions, it is possible to shorten the time required to complete the recording operation of all nails.

また、CPU1011は、図4に示す基板2054に設けられたフォトインタラプタから出力される原点位置を示す検出信号と、各指載置台を駆動するDCモータのエンコーダから出力されたエンコーダ信号とに基づいて各指載置台の位置情報を取得する。例えば、第1指載置台20511が移動を開始すると、それに伴って第1エンコーダ1061から出力されたパルス信号が切替スイッチ1030を介して駆動制御部1020に受信される。そして、フォトインタラプタから出力された検出信号を受信すると、その瞬間までに入力されたパルス信号数に対応する第1指載置台20511の位置を原点位置として定める。この原点位置を示す位置情報(パルス信号数)は、位置情報記憶部としてのRAM1012に記憶される。その後も、第1指載置台20511の移動に伴って第1エンコーダ1061から出力されるパルス信号は切替スイッチ1030を介して駆動制御部1020に入力される。そして、駆動制御部1020は、現時点で入力されたパルス信号数と原点位置にあるときのパルス信号数との差分によって、現在の第1指載置台20511の位置と原点位置からの距離を示す位置情報を取得することができる。第1モータ1051の動作が停止した時点で、駆動制御部1020は、上記のようにして取得した第1指載置台20511の位置情報をRAM1012に記憶させる。このため、切替スイッチ1030が第2モータ1052側に切り替えられた後、再度第1モータ1051側に再接続された場合にも、駆動制御部1020は、RAM1012に記憶されていた位置情報に基づいて第1モータ1051の動作制御を再開することができる。これにより、前回の移動終了時の位置に応じて第1指載置台20511の移動を開始することが可能になり、第1指載置台20511の移動を適正かつ効率的に行うことが可能になる。 The CPU 1011 also acquires position information of each finger rest based on a detection signal indicating the origin position output from a photointerrupter provided on the substrate 2054 shown in FIG. 4 and an encoder signal output from an encoder of a DC motor that drives each finger rest. For example, when the first finger rest 20511 starts moving, the pulse signal output from the first encoder 1061 is received by the drive control unit 1020 via the changeover switch 1030. Then, when the detection signal output from the photointerrupter is received, the position of the first finger rest 20511 corresponding to the number of pulse signals input up to that moment is determined as the origin position. The position information (number of pulse signals) indicating this origin position is stored in the RAM 1012 as a position information storage unit. After that, the pulse signal output from the first encoder 1061 as the first finger rest 20511 moves is input to the drive control unit 1020 via the changeover switch 1030. Then, the drive control unit 1020 can obtain position information indicating the current position of the first finger rest 20511 and the distance from the origin position based on the difference between the number of pulse signals currently input and the number of pulse signals when the first finger rest 20511 is at the origin position. When the operation of the first motor 1051 stops, the drive control unit 1020 stores the position information of the first finger rest 20511 obtained as described above in the RAM 1012. Therefore, even if the changeover switch 1030 is switched to the second motor 1052 side and then reconnected to the first motor 1051 side, the drive control unit 1020 can resume the operation control of the first motor 1051 based on the position information stored in the RAM 1012. This makes it possible to start the movement of the first finger rest 20511 according to the position at the end of the previous movement, and makes it possible to move the first finger rest 20511 appropriately and efficiently.

<モータの駆動制御>
図7は、上述の指載置台20511~20514の昇降動作を行うDCモータの駆動制御を示すフローチャートである。なお、本実施形態において実行される工程番号に付したSはステップを意味する。
<Motor drive control>
7 is a flow chart showing the drive control of the DC motors which perform the lifting and lowering operations of the above-mentioned finger placement tables 20511 to 20514. Note that the "S" attached to the process numbers executed in this embodiment means a step.

本フローチャートは、第1指載置台20511の移動を行うDCモータを図6の第1モータ1051とし、第4指載置台20514の移動を行うDCモータを図6の第2モータ1052とした場合の各モータの駆動制御を示している。また、以下の説明では、左手の指の爪に記録動作を行う場合を例に採り説明する。 This flowchart shows the drive control of each motor when the DC motor that moves the first finger rest 20511 is the first motor 1051 in FIG. 6, and the DC motor that moves the fourth finger rest 20514 is the second motor 1052 in FIG. 6. In the following explanation, an example will be given in which a recording operation is performed on the fingernail of the left hand.

記録動作を開始するに際し、駆動制御部1020は、第2モータ1052を駆動して第4指載置台20514を、原点位置から、爪への記録を行うための所定の高さ位置(記録位置)まで上昇させる(S101)。このとき、駆動制御部1020は、接続先が第2モータ駆動部1042及び第2エンコーダ1062となるように切替スイッチ1030を設定する。これにより、駆動制御部1020から出力した駆動制御信号は第2モータ駆動部1042に送信され、第2モータ駆動部1042によって第2モータ1052が駆動される。また、第2モータ1052の駆動に伴って第2エンコーダ1062から出力されたエンコーダ信号は、切替スイッチ1030を介して駆動制御部1020に受信される。 When starting the recording operation, the drive control unit 1020 drives the second motor 1052 to raise the fourth finger placement table 20514 from the origin position to a predetermined height position (recording position) for recording on the nail (S101). At this time, the drive control unit 1020 sets the changeover switch 1030 so that the connection destination is the second motor drive unit 1042 and the second encoder 1062. As a result, the drive control signal output from the drive control unit 1020 is sent to the second motor drive unit 1042, and the second motor 1052 is driven by the second motor drive unit 1042. In addition, the encoder signal output from the second encoder 1062 in conjunction with the driving of the second motor 1052 is received by the drive control unit 1020 via the changeover switch 1030.

ここで、CPU1011は、記録ヘッド2030のインク吐出及び主走査方向への移動を行い、第4指載置台20514に載置されている人差し指の爪への記録を行う(S102)。人差し指の爪への記録が終了した後、CPU1011の駆動制御部1020は、第2モータ1052の駆動を制御し、第4指載置台20514を下降させる。そして、第4指載置台20514が原点位置に達した時点で第2モータ1052の駆動を停止させる(S103)。また、第4指載置台20514が下降している間に、駆動制御部1020は、第3指載置台20513用のDCモータ(不図示)を駆動して第3指載置台20513を記録位置へと上昇させる(S103)。ここで、CPU1011は、記録位置まで上昇した第3指載置台20513に載置されている中指の爪に対し記録ヘッド2030による記録を行う(S104)。 Here, the CPU 1011 ejects ink from the recording head 2030 and moves it in the main scanning direction to record on the nail of the index finger placed on the fourth finger rest 20514 (S102). After recording on the nail of the index finger is completed, the drive control unit 1020 of the CPU 1011 controls the drive of the second motor 1052 to lower the fourth finger rest 20514. Then, when the fourth finger rest 20514 reaches the origin position, the drive control unit 1020 stops the drive of the second motor 1052 (S103). Also, while the fourth finger rest 20514 is lowering, the drive control unit 1020 drives the DC motor (not shown) for the third finger rest 20513 to raise the third finger rest 20513 to the recording position (S103). Here, the CPU 1011 performs recording using the recording head 2030 on the nail of the middle finger placed on the third finger rest 20513 that has been raised to the recording position (S104).

この後、駆動制御部1020から出力された駆動制御信号によって第3指載置台20513用のDCモータ及び第2指載置台20512用のDCモータ(不図示)が駆動される。これにより、第3指載置台20513は記録位置から原点位置へと下降し、第2指載置台20512は原点位置から記録位置へと上昇する(S105)。ここでCPU1011は、記録ヘッド2030を駆動し、第2指載置台20512に載置されている薬指の爪への記録を行う(S106)。 Then, the DC motor for the third finger rest 20513 and the DC motor (not shown) for the second finger rest 20512 are driven by a drive control signal output from the drive control unit 1020. As a result, the third finger rest 20513 descends from the recording position to the origin position, and the second finger rest 20512 rises from the origin position to the recording position (S105). The CPU 1011 then drives the recording head 2030 to record on the nail of the ring finger placed on the second finger rest 20512 (S106).

薬指の爪への記録が終了すると、駆動制御部1020は、接続先が第1モータ駆動部1041及び第1エンコーダ1061となるように、切替スイッチ1030を切替える(S107)。これにより、駆動制御部1020からの駆動制御信号に基づき、第1モータ1051が駆動され、第1指載置台20511は原点位置から記録位置へと上昇する。またこれと同時に、駆動制御部1020は、第2指載置台20512用のDCモータを駆動し、第2指載置台2051を原点位置に下降させる(S108)。 When recording on the ring finger nail is completed, the drive control unit 1020 switches the changeover switch 1030 so that it is connected to the first motor drive unit 1041 and the first encoder 1061 (S107). As a result, the first motor 1051 is driven based on the drive control signal from the drive control unit 1020, and the first finger rest 20511 rises from the origin position to the recording position. At the same time, the drive control unit 1020 drives the DC motor for the second finger rest 20512, and lowers the second finger rest 2051 to the origin position (S108).

次にCPU1011は、記録ヘッド2030を駆動し、第1指載置台20511に載置されている小指の爪への記録を行う(S109)。小指の爪への記録が終了した後、駆動制御部1020が、第1モータ1051の駆動を制御し、第1指載置台20511を下降させる。そして、第1指載置台20511が原点位置に達した時点で第1モータ1051の駆動を停止させる(S110)。ここで、駆動制御部1020は、切替スイッチ1030を切り替え(S111)、駆動制御部1020を第2モータ駆動部1042及び第2エンコーダ1062に接続する。 Then, the CPU 1011 drives the recording head 2030 to record on the nail of the little finger placed on the first finger rest 20511 (S109). After recording on the nail of the little finger is completed, the drive control unit 1020 controls the drive of the first motor 1051 to lower the first finger rest 20511. Then, when the first finger rest 20511 reaches the origin position, the drive of the first motor 1051 is stopped (S110). Here, the drive control unit 1020 switches the change-over switch 1030 (S111) to connect the drive control unit 1020 to the second motor drive unit 1042 and the second encoder 1062.

なお、第1指載置台20511~第4指載置台20514の上昇時及び下降時の位置情報は、各々を駆動するDCモータに設けられたエンコーダからのエンコーダ信号に基づいて、位置情報記憶部であるRAM1022に記億される。 In addition, the position information of the first finger rest 20511 to the fourth finger rest 20514 when they are raised and lowered is stored in the RAM 1022, which is the position information storage unit, based on the encoder signal from the encoder provided on the DC motor that drives each of them.

以上のように、本実施形態では、4つのDCモータのうち、2つのDCモータ(第1モータ1051と第2モータ1052)の駆動制御を切替スイッチ1030を用いて択一的に行う。このため、CPU1011の駆動制御部1020は、本来の3つのDCモータの駆動を行うための構成(3つのインターフェース)を用いて、4つのDCモータの駆動制御を実行することが可能となり、CPU1011の駆動制御部1020としての機能を有効に利用することが可能になる。 As described above, in this embodiment, the drive control of two of the four DC motors (first motor 1051 and second motor 1052) is selectively performed using the changeover switch 1030. Therefore, the drive control unit 1020 of the CPU 1011 can execute drive control of the four DC motors using the configuration (three interfaces) originally used to drive the three DC motors, and the function of the CPU 1011 as the drive control unit 1020 can be effectively utilized.

また、本実施形態における記録装置では、隣接する指載置台の上昇と下降とを同時に行うことが可能であるため、記録動作の所要時間の短縮化を図ることが可能になる。 In addition, the recording device in this embodiment is capable of simultaneously raising and lowering adjacent finger placement platforms, which makes it possible to shorten the time required for recording operations.

(第2実施形態)
次に本発明の第2実施形態を説明する。
Second Embodiment
Next, a second embodiment of the present invention will be described.

第1の実施形態では、ネイル記録装置における指載置台の昇降を行うDCモータの駆動制御にモータ駆動制御装置を適用した例を示した。これに対し、本実施形態では、図8に示すような立体物に対する記録を行う立体物記録装置にモータ駆動制御装置を適用した例を示す。 In the first embodiment, an example is shown in which a motor drive control device is applied to drive control of a DC motor that raises and lowers a finger placement table in a nail recording device. In contrast, in the present embodiment, an example is shown in which a motor drive control device is applied to a three-dimensional object recording device that records on a three-dimensional object as shown in FIG. 8.

図8は、立体物記録装置200の概略構成を示す平面図である。立体物記録装置200の記録装置本体201には、立体物2075を保持する保持台2076、立体物2075に対しインクを吐出して記録を行う記録手段としての記録部203、記録部203を移動させる移動機構、及び移動機構の動作部を駆動するDCモータ等が設けられている。本実施形態で扱う立体物としては、紙以外の記録媒体を想定している。具体的には、例えば、スマートフォンケース、ペンケース、ボールペン、アクセサリー等が挙げられる。 Figure 8 is a plan view showing a schematic configuration of the three-dimensional object recording device 200. The recording device body 201 of the three-dimensional object recording device 200 is provided with a holding table 2076 that holds the three-dimensional object 2075, a recording unit 203 as a recording means that ejects ink onto the three-dimensional object 2075 to perform recording, a movement mechanism that moves the recording unit 203, and a DC motor that drives the operating unit of the movement mechanism. The three-dimensional object handled in this embodiment is assumed to be a recording medium other than paper. Specific examples include smartphone cases, pen cases, ballpoint pens, accessories, etc.

移動機構は、記録装置本体201に保持されたY方向に延在する2本のY方向レール2011と、2022と、Y方向と交差する(本例では直交する)方向に延在するX方向レール2020とを備える。X方向レール(第2の動作部)2020は、DCモータによって構成される第1モータ(図示せず)の駆動力によって、Y方向レール2011、2022に沿った移動を行う。 The movement mechanism includes two Y-direction rails 2011 and 2022 that extend in the Y direction and are held by the recording device main body 201, and an X-direction rail 2020 that extends in a direction that intersects with the Y direction (in this example, perpendicular to the Y direction). The X-direction rail (second operating unit) 2020 moves along the Y-direction rails 2011 and 2022 by the driving force of a first motor (not shown) that is a DC motor.

また、記録部203は、X方向レール2020に沿って移動可能に支持されたキャリッジ2031(第1の動作部)と、キャリッジ2031に搭載される記録ヘッド2030とを備える。キャリッジ2031は、DCモータによって構成される第2モータ(図示せず)の駆動力により、X方向レール2020に沿って往動復移動を行う。また、記録ヘッド2030は、図外のインクタンクから供給されるインクを吐出する吐出口をY方向に沿って配列した吐出口列2032、2033、2034を有する。各吐出口列からは異なる色のインクが吐出される。 The recording unit 203 also includes a carriage 2031 (first operating unit) supported movably along an X-direction rail 2020, and a recording head 2030 mounted on the carriage 2031. The carriage 2031 moves back and forth along the X-direction rail 2020 by the driving force of a second motor (not shown) constituted by a DC motor. The recording head 2030 also has nozzle rows 2032, 2033, and 2034 in which nozzles that eject ink supplied from an ink tank (not shown) are arranged along the Y direction. Ink of a different color is ejected from each nozzle row.

以上のように構成された立体物記録装置200では、保持台2076に保持された立体物2075の上方でキャリッジ2031と共に記録ヘッド2030がX方向に往復移動を行い、その間に各吐出口列2032、2033、2034からインクを吐出する。吐出されたインクは立体物2075に着弾し、立体物2075の表面に画像を形成する。この後、Y方向レール2011、2022に沿ってX方向レール2020がY方向に所定の距離だけ移動する。そして、再び、キャリッジ2031と共に記録ヘッド2030がX方向へと移動しつつインクを吐出し、立体物2075に画像を形成する。 In the three-dimensional object recording device 200 configured as described above, the recording head 2030 moves back and forth in the X direction together with the carriage 2031 above the three-dimensional object 2075 held on the holding table 2076, while ejecting ink from each of the ejection port rows 2032, 2033, and 2034. The ejected ink lands on the three-dimensional object 2075, forming an image on the surface of the three-dimensional object 2075. After this, the X-direction rail 2020 moves a predetermined distance in the Y direction along the Y-direction rails 2011 and 2022. Then, the recording head 2030 again moves in the X direction together with the carriage 2031, ejecting ink, forming an image on the three-dimensional object 2075.

このように立体物記録装置200では、記録ヘッド2030のX方向への移動と、Y方向への移動とが異なるタイミングで行われる。つまり、キャリッジ2031をX方向へと移動させる第1モータと、X方向レール2020をY方向に移動させる第2モータとが同時に駆動されることはない。従って本実施形態では、第1モータと第2モータを、前述の図6に示す第1モータ1051と第2モータ1052に当てはめ、図6に示したモータ駆動制御装置によって各モータ1051と1052の駆動制御を行う。以下、図6及び図8を参照しつつ説明する。 In this way, in the three-dimensional object recording device 200, the recording head 2030 moves in the X direction and in the Y direction at different times. In other words, the first motor that moves the carriage 2031 in the X direction and the second motor that moves the X-direction rail 2020 in the Y direction are not driven simultaneously. Therefore, in this embodiment, the first motor and the second motor correspond to the first motor 1051 and the second motor 1052 shown in FIG. 6 described above, and the drive control of each motor 1051 and 1052 is performed by the motor drive control device shown in FIG. 6. The following description will be given with reference to FIG. 6 and FIG. 8.

記録動作開始時には、図6に示す駆動制御部1020から出力される駆動制御信号によって第2モータ1052を駆動してキャリッジ2031をX方向へと往復移動させて記録を行う。次に、切替スイッチ1030を切り替えて、駆動制御部1020からの駆動制御信号により第1モータ1051を駆動し、X方向レール2020をY方向へと所定の距離移動させる。その後、再度、切替スイッチ1030を切り替えて第2モータ1052を駆動し、キャリッジ2031をX方向に移動させつつ記録動作を行う。以上の動作を立体物2075への記録が完了するまで繰り返し実施する。 When the recording operation starts, the second motor 1052 is driven by a drive control signal output from the drive control unit 1020 shown in FIG. 6 to move the carriage 2031 back and forth in the X direction to perform recording. Next, the changeover switch 1030 is switched to drive the first motor 1051 by a drive control signal from the drive control unit 1020 to move the X-direction rail 2020 a predetermined distance in the Y direction. After that, the changeover switch 1030 is switched again to drive the second motor 1052, and the recording operation is performed while moving the carriage 2031 in the X direction. The above operations are repeated until recording on the three-dimensional object 2075 is completed.

このように、キャリッジ2031をX方向へと移動させる第2モータ1052と、Y方向へと移動させる第1モータ1051のそれぞれの駆動制御を、図6に示すモータ駆動制御装置によって実施することが可能である。すなわち、駆動制御部1020の1つのDCモータの駆動を行うための構成(1つのインターフェース)を用いて、2つのDCモータ(第1モータ1051と第2モータ1052)の駆動制御を行うことが可能になる。このため、CPU1011の駆動制御部1020の機能を有効に利用することが可能になる。 In this way, the drive control of the second motor 1052 that moves the carriage 2031 in the X direction and the first motor 1051 that moves it in the Y direction can be performed by the motor drive control device shown in FIG. 6. That is, it is possible to control the drive of two DC motors (the first motor 1051 and the second motor 1052) using a configuration (one interface) for driving one DC motor in the drive control unit 1020. This makes it possible to effectively utilize the functions of the drive control unit 1020 in the CPU 1011.

また、本実施形態における記録装置によれば、シート状の記録媒体を扱う従来の記録装置のように、キャリッジをX方向にのみ移動させる構成では困難とされる立体物への記録を容易に実現することが可能になる。 In addition, the recording device of this embodiment makes it easy to record on three-dimensional objects, which is difficult to achieve with a configuration in which the carriage moves only in the X direction, as in conventional recording devices that handle sheet-like recording media.

(他の実施形態)
上述の第1、第2実施形態では、エンコーダ信号を用いて駆動制御を行う2つのDCモータを切り替えて使用する場合について説明したが、エンコーダ信号を用いて駆動制御を行う3個以上のDCモータを切り替えて使用することも可能である。例えば、切替チャンネル数が3チャンネルの切り替えスイッチを使用することで、エンコーダ信号を用いて駆動制御を行う3つのDCモータの駆動を、1つのDCモータの駆動制御を行うための構成を用いて制御することが可能になる。なお、切替スイッチのチャンネル数とは、エンコーダ信号及びモータの駆動制御信号のそれぞれの通信路の数を意味する。従って、例えば3チャンネルの切替スイッチとは、駆動制御信号の通信を行う3本の通信路とエンコーダ信号の通信を行う3本の通信路とをそれぞれ同時かつ択一的に切替可能とするスイッチを意味する。
Other Embodiments
In the above-mentioned first and second embodiments, the case where two DC motors that are driven and controlled using an encoder signal are switched and used has been described, but it is also possible to switch and use three or more DC motors that are driven and controlled using an encoder signal. For example, by using a changeover switch with three switching channels, it is possible to control the drive of three DC motors that are driven and controlled using an encoder signal using a configuration for driving and controlling one DC motor. The number of channels of the changeover switch means the number of communication paths for the encoder signal and the motor drive control signal. Therefore, for example, a three-channel changeover switch means a switch that can simultaneously and selectively switch between three communication paths for communicating drive control signals and three communication paths for communicating encoder signals.

また、DCモータに対する駆動制御信号の出力とエンコーダ信号の受信とを行う駆動制御部によって同時に制御可能なDCモータの個数がN個であり、Mチャンネルの切替スイッチをS個(N≧S)備えるモータ駆動制御装置では、(S×M+N-S)個のDCモータの駆動制御を行うことが可能になる。 In addition, the number of DC motors that can be controlled simultaneously by a drive control unit that outputs drive control signals to the DC motors and receives encoder signals is N, and in a motor drive control device that has S M-channel changeover switches (N≧S), it becomes possible to control the drive of (S×M+N-S) DC motors.

例えば、モータ駆動制御装置において、駆動制御部が同時に制御可能なDCモータ数Nが「4」、切替スイッチの数Sが「3」、各切替スイッチのチャンネル数Mが「2」である場合、当該モータ駆動装置は、7個(=(3×2+4-3)個)のDCモータの駆動を制御することが可能となる。 For example, in a motor drive control device, if the number N of DC motors that the drive control unit can control simultaneously is "4", the number S of changeover switches is "3", and the number M of channels of each changeover switch is "2", then the motor drive device will be able to control the drive of seven (= (3 x 2 + 4 - 3)) DC motors.

なお、上記実施形態のように、前記の駆動制御部が同時に制御可能なDCモータの数Nは、CPUに定められている最大モータ駆動制御数(リソース)に相当する。従って最大モータ駆動数NのCPUにさらにMチャンネルの切替スイッチ用いることにより、CPUのリソース以上のDCモータを制御することが可能になる。 As in the above embodiment, the number N of DC motors that the drive control unit can control simultaneously corresponds to the maximum number of motor drive controls (resources) defined for the CPU. Therefore, by using an M-channel changeover switch in addition to the CPU with the maximum number N of motor drives, it becomes possible to control more DC motors than the CPU's resources.

なお、同時駆動を行わないDCモータ同士であれば切替スイッチの切り替え対象とすることが可能である。 In addition, DC motors that are not driven simultaneously can be used as switching targets with the changeover switch.

また、上記実施形態では、ネイル記録装置と立体物の記録装置にモータ駆動制御装置を用いた例を示したが、これに限定されない。上記実施形態に係るモータ駆動制御装置は、同時に駆動することのない複数のDCモータを使用する動作機構であれば、適用可能であり、動作機構の構成、機能及び種類は特に限定されない。 In addition, in the above embodiment, an example was shown in which a motor drive control device was used in a nail recording device and a three-dimensional object recording device, but this is not limited to this. The motor drive control device according to the above embodiment can be applied to any operating mechanism that uses multiple DC motors that are not driven simultaneously, and there are no particular limitations on the configuration, function, and type of the operating mechanism.

1012 位置情報記憶部
1020 駆動制御部
1030 切替スイッチ
1051 第1モータ
1052 第2モータ
1061 第1エンコーダ
1062 第2エンコーダ
1071 第1モータユニット
1072 第2モータユニット
1012 Position information storage unit 1020 Drive control unit 1030 Changeover switch 1051 First motor 1052 Second motor 1061 First encoder 1062 Second encoder 1071 First motor unit 1072 Second motor unit

Claims (12)

所定の動作機構を動作させるためのDCモータの駆動を制御するモータ駆動制御装置であって、
前記DCモータと当該DCモータに設けられたエンコーダとを含むモータユニットを複数備え、
前記DCモータの駆動を制御するための駆動制御信号を出力すると共に当該駆動制御信号によって駆動された前記DCモータに設けられている前記エンコーダによって出力されたエンコーダ信号を受信する駆動制御手段と、
前記駆動制御手段と前記駆動制御信号及び前記エンコーダ信号の通信が可能なように接続される前記モータユニットを複数の前記モータユニットの中から択一的に切り替える切替手段と、
前記切替手段が前記駆動制御手段に通信可能に接続する前記モータユニットを切り替える際に、切り替える前に前記駆動制御手段によって接続されていた前記モータユニットの前記エンコーダ信号に基づく前記DCモータが停止した時の位置情報を記憶する記憶手段と、を備え、
前記駆動制御手段は、前記切替手段によって再接続された前記モータユニットの前記DCモータの動作を再開する際に前記記憶手段に記憶されている前記位置情報に基づいて前記駆動制御信号を出力し、
前記駆動制御手段によって同時に制御可能なDCモータの数をN、1つの前記切替手段により切替可能なDCモータの数をM、前記切替手段の数をS(M≧S)とするとき、前記駆動制御手段はS×M+N-S個の前記DCモータの駆動を可能であることを特徴とするモータ駆動制御装置。
A motor drive control device that controls driving of a DC motor for operating a predetermined operating mechanism,
a plurality of motor units each including the DC motor and an encoder provided on the DC motor;
a drive control means for outputting a drive control signal for controlling the drive of the DC motor and receiving an encoder signal outputted by the encoder provided in the DC motor driven by the drive control signal;
a switching means for selectively switching the motor unit connected to the drive control means so as to enable communication of the drive control signal and the encoder signal with the drive control means from among a plurality of the motor units;
a storage means for storing, when the switching means switches the motor unit communicatively connected to the drive control means, position information at the time when the DC motor stops based on the encoder signal of the motor unit connected by the drive control means before the switching,
the drive control means outputs the drive control signal based on the position information stored in the storage means when restarting the operation of the DC motor of the motor unit reconnected by the switching means ,
A motor drive control device characterized in that, when the number of DC motors that can be simultaneously controlled by the drive control means is N, the number of DC motors that can be switched by one of the switching means is M, and the number of the switching means is S (M≧S), the drive control means is capable of driving S×M+N-S of the DC motors .
1つの前記切替手段によって前記駆動制御手段との接続が切り替えられる複数の前記モータユニットは、前記駆動制御手段によって同時に駆動されないことを特徴とする請求項1に記載のモータ駆動制御装置。 The motor drive control device according to claim 1, characterized in that the multiple motor units whose connection to the drive control means is switched by one of the switching means are not driven simultaneously by the drive control means. 前記駆動制御手段は、前記駆動制御信号に従って前記DCモータを駆動させるモータ駆動手段を介して前記モータユニットに接続されていることを特徴とする請求項1または2に記載のモータ駆動制御装置。 The motor drive control device according to claim 1 or 2, characterized in that the drive control means is connected to the motor unit via a motor drive means that drives the DC motor according to the drive control signal. 前記切替手段は、前記駆動制御手段と前記モータユニットとの間で前記エンコーダ信号及び前記駆動制御信号の通信を行う通信路を前記複数のモータユニットそれぞれに備え、複数の前記通信路のうち、前記駆動制御手段と前記エンコーダ信号及び前記駆動制御信号の通信が可能な前記通信路を択一的に切り替えることを特徴とする請求項1ないし3のいずれか1項に記載のモータ駆動制御装置。 The motor drive control device according to any one of claims 1 to 3, characterized in that the switching means is provided for each of the plurality of motor units with a communication path for communicating the encoder signal and the drive control signal between the drive control means and the motor unit, and selectively switches, from among the plurality of communication paths, the communication path through which the encoder signal and the drive control signal can be communicated with the drive control means. 前記切替手段によって前記駆動制御手段と通信可能な接続が切り替え可能な複数の前記モータユニットのうち、前記切替手段によって前記駆動制御手段に択一的に通信可能に接続される前記モータユニットは、当該切替手段によって前記駆動制御手段との通信の接続が切り替えられない前記モータユニットと、前記駆動制御手段によって同時に駆動することが可能なことを特徴とする請求項2に記載のモータ駆動制御装置。 The motor drive control device according to claim 2, characterized in that, among the multiple motor units whose connection for communication with the drive control means can be switched by the switching means, the motor unit that is alternatively connected to the drive control means by the switching means for communication can be driven by the drive control means simultaneously with the motor unit whose communication connection with the drive control means cannot be switched by the switching means. 前記動作機構は、同時に動作しない複数の動作部を有し、
前記切替手段は、前記複数の動作部を駆動するための複数の前記モータユニットを択一的に切り替えて前記駆動制御手段に接続することを特徴とする請求項1ないし5のいずれか1項に記載のモータ駆動制御装置。
the operating mechanism has a plurality of operating parts that do not operate simultaneously,
6. The motor drive control device according to claim 1 , wherein the switching means selectively switches between a plurality of the motor units for driving the plurality of operating parts and connects them to the drive control means.
前記動作機構は、爪への記録を行うネイル記録装置に設けられた複数の昇降可能な指載置台を備え、
前記切替手段は、複数の前記指載置台のそれぞれを昇降させるための複数の前記モータユニットのうち、少なくとも2つの指載置台のそれぞれを昇降させるための2つの前記モータユニットを択一的に切り替えて前記駆動制御手段に接続させることを特徴とする請求項1ないし6のいずれか1項に記載のモータ駆動制御装置。
The operating mechanism includes a plurality of liftable finger placement tables provided in a nail recording device for recording on nails,
7. The motor drive control device according to claim 1, wherein the switching means selectively switches between two of the motor units for raising and lowering at least two finger rests, respectively , among the plurality of motor units for raising and lowering the plurality of finger rests, and connects them to the drive control means.
前記指載置台が原点位置にあることを検出する検出手段と、
指載置台の原点位置を取得する取得手段と、をさらに備え、
前記取得手段は、前記指載置台が原点位置にあることを前記検出手段が検出した時点で、前記指載置台を動作させる前記モータユニットの前記エンコーダから出力されたエンコーダ信号に基づいて前記原点位置の位置情報を取得することを特徴とする請求項7に記載のモータ駆動制御装置。
A detection means for detecting that the finger placement platform is at an origin position;
and acquiring means for acquiring an origin position of the finger placement platform,
8. The motor drive control device according to claim 7, wherein the acquisition means acquires position information of the origin position based on an encoder signal output from the encoder of the motor unit that operates the finger rest when the detection means detects that the finger rest is at the origin position.
前記指載置台は、少なくとも3つが所定の方向に並んで配置され、
複数の前記指載置台のうち、両端に位置する前記指載置台を駆動するための前記モータユニットを前記切り替え手段によって前記駆動制御手段との接続を切り替え可能にすることを特徴とする請求項7または8に記載のモータ駆動制御装置。
At least three of the finger placement platforms are arranged in a predetermined direction,
9. The motor drive control device according to claim 7 , wherein the motor units for driving the finger rests located at both ends among the plurality of finger rests are switchable in connection with the drive control means by the switching means.
互いに隣接する2つの前記指載置台のそれぞれを昇降させる2つの前記モータユニットは、同じ前記切り替え手段によって切り替え可能でない前記モータユニットであり、前記駆動制御手段によって一方の前記モータユニットの駆動制御を行っているときに、他方のモータユニットの駆動制御を行うことが可能であり、前記駆動制御手段は、一方の前記指載置台と前記他方の指載置台とを異なる方向へと同時に移動させるように、一方のモータユニットと他方のモータユニットの駆動をそれぞれ制御することを特徴とする請求項9に記載のモータ駆動制御装置。 The motor drive control device according to claim 9, characterized in that the two motor units that raise and lower each of the two adjacent finger rests are motor units that cannot be switched by the same switching means, and while the drive control means is controlling the drive of one of the motor units, it is possible to control the drive of the other motor unit, and the drive control means controls the drive of one motor unit and the other motor unit, respectively, so as to move one finger rest and the other finger rest simultaneously in different directions . 前記動作機構は、立体物に対して記録を行う立体物記録装置において記録手段を所定の方向へと移動させる第1の動作部と、前記所定の方向と交差する方向への移動を行う第2の動作部と、を備え、
前記切替手段は、前記第1の動作部と前記第2の動作部のそれぞれを動作させるための複数の前記モータユニットを択一的に切り替えて前記駆動制御手段に接続させることを特徴とする請求項1ないし6のいずれか1項に記載のモータ駆動制御装置。
The operating mechanism includes a first operating unit that moves a recording means in a predetermined direction in a three-dimensional object recording device that records on a three-dimensional object, and a second operating unit that moves the recording means in a direction intersecting the predetermined direction,
7. The motor drive control device according to claim 1, wherein the switching means selectively switches between a plurality of motor units for operating the first operating section and the second operating section, and connects them to the drive control means.
所定の動作機構を動作させるためのDCモータの駆動を制御するモータ駆動制御方法であって、
前記DCモータと当該DCモータに設けられたエンコーダとを含むモータユニットを複数備え、
前記DCモータの駆動を制御するための駆動制御信号を駆動制御手段から出力すると共に当該駆動制御信号によって駆動された前記DCモータに設けられている前記エンコーダによって出力されたエンコーダ信号を受信する工程と、
前記駆動制御手段と前記駆動制御信号及び前記エンコーダ信号の通信が可能なように接続される前記モータユニットを複数の前記モータユニットの中から切替手段によって択一的に切り替える工程と、
前記切替手段が前記駆動制御手段に通信可能に接続する前記モータユニットを切り替える際に、切り替える前に前記駆動制御手段によって接続されていた前記モータユニットの前記エンコーダ信号に基づく前記DCモータが停止した時の位置情報を記憶手段に記憶させる工程と、
前記切替手段によって再接続された前記モータユニットの前記DCモータの動作を再開する際に前記記憶手段に記憶されている前記位置情報に基づいて前記駆動制御手段から前記駆動制御信号を出力する工程と、を備え
前記駆動制御手段によって同時に制御可能なDCモータの数をN、1つの前記切替手段により切替可能なDCモータの数をM、前記切替手段の数をS(M≧S)とするとき、前記駆動制御手段はS×M+N-S個の前記DCモータの駆動を可能であることを特徴とするモータ駆動制御方法。
A motor drive control method for controlling drive of a DC motor for operating a predetermined operating mechanism, comprising:
a plurality of motor units each including the DC motor and an encoder provided on the DC motor;
a step of outputting a drive control signal for controlling the drive of the DC motor from a drive control means and receiving an encoder signal output by the encoder provided in the DC motor driven by the drive control signal;
a step of selectively switching, by a switching means, one of a plurality of motor units to be connected so as to be capable of communicating the drive control signal and the encoder signal with the drive control means;
a step of storing, when the switching means switches the motor unit communicatively connected to the drive control means, position information at the time when the DC motor stops, based on the encoder signal of the motor unit connected by the drive control means before the switching, in a storage means;
and outputting the drive control signal from the drive control means based on the position information stored in the storage means when restarting the operation of the DC motor of the motor unit reconnected by the switching means ,
A motor drive control method characterized in that, when the number of DC motors that can be simultaneously controlled by the drive control means is N, the number of DC motors that can be switched by one of the switching means is M, and the number of the switching means is S (M≧S), the drive control means is capable of driving S×M+N-S of the DC motors .
JP2021066522A 2021-04-09 2021-04-09 Motor drive control device and motor drive control method Active JP7612491B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021066522A JP7612491B2 (en) 2021-04-09 2021-04-09 Motor drive control device and motor drive control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021066522A JP7612491B2 (en) 2021-04-09 2021-04-09 Motor drive control device and motor drive control method

Publications (2)

Publication Number Publication Date
JP2022161590A JP2022161590A (en) 2022-10-21
JP7612491B2 true JP7612491B2 (en) 2025-01-14

Family

ID=83659086

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021066522A Active JP7612491B2 (en) 2021-04-09 2021-04-09 Motor drive control device and motor drive control method

Country Status (1)

Country Link
JP (1) JP7612491B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008017120A (en) 2006-07-05 2008-01-24 Canon Inc Image reading device
WO2018011937A1 (en) 2016-07-14 2018-01-18 富士機械製造株式会社 Position management apparatus and assisting apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008017120A (en) 2006-07-05 2008-01-24 Canon Inc Image reading device
WO2018011937A1 (en) 2016-07-14 2018-01-18 富士機械製造株式会社 Position management apparatus and assisting apparatus

Also Published As

Publication number Publication date
JP2022161590A (en) 2022-10-21

Similar Documents

Publication Publication Date Title
US20080180509A1 (en) Method of printing two-dimensional code and ink jet printer
JP5754968B2 (en) Ink jet recording apparatus and adjustment method thereof
JP2010162883A (en) Inkjet recorder and inkjet recording method
JP4208488B2 (en) Inkjet recording device
JP4412713B2 (en) RECORDING DEVICE, RECORDING SYSTEM, AND RECORDING DEVICE CONTROL METHOD
JP2000185397A (en) Ink jet printer and method for printing
JP7612491B2 (en) Motor drive control device and motor drive control method
US7175354B2 (en) Inkjet printing device
JP6552276B2 (en) Recording apparatus and recording position adjustment method
JP2016000486A (en) Handy mobile printer, control method of handy mobile printer, and program
JP2005111984A (en) Printing method, printing apparatus, and program
JP4036069B2 (en) Printing device
JP4788558B2 (en) Printing system, printing method, control device, and program
JP2010264663A (en) Recording apparatus and control method thereof
JP2016221880A (en) Ink jet recording apparatus, control method for ink jet recording apparatus, and program
JP7604302B2 (en) Nail print device and control method
JP2006175680A (en) Liquid ejection device, computer program, liquid ejection system, and liquid ejection method
JP2023132631A (en) Image forming device and method of controlling the image forming device
JP2009119751A (en) Inkjet recording apparatus and recording control method used in the apparatus
JP4111517B2 (en) Inkjet recording apparatus and inkjet recording method
JP2022043530A (en) Garment printer
JP2007001309A (en) Inkjet image forming apparatus and high resolution printing method
JP6699152B2 (en) Liquid discharge unit, liquid discharge device, and liquid discharge method
JPH09277614A (en) Manual printing device
JP2000280456A (en) Printer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240405

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240917

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240918

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20241003

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20241126

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20241225

R150 Certificate of patent or registration of utility model

Ref document number: 7612491

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150