JP6786405B2 - Motor control system, component mounting machine, motor control method - Google Patents

Motor control system, component mounting machine, motor control method Download PDF

Info

Publication number
JP6786405B2
JP6786405B2 JP2017002751A JP2017002751A JP6786405B2 JP 6786405 B2 JP6786405 B2 JP 6786405B2 JP 2017002751 A JP2017002751 A JP 2017002751A JP 2017002751 A JP2017002751 A JP 2017002751A JP 6786405 B2 JP6786405 B2 JP 6786405B2
Authority
JP
Japan
Prior art keywords
motor
driver
unit
command
profile information
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
JP2017002751A
Other languages
Japanese (ja)
Other versions
JP2018113780A (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.)
Yamaha Motor Co Ltd
Original Assignee
Yamaha Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Motor Co Ltd filed Critical Yamaha Motor Co Ltd
Priority to JP2017002751A priority Critical patent/JP6786405B2/en
Publication of JP2018113780A publication Critical patent/JP2018113780A/en
Application granted granted Critical
Publication of JP6786405B2 publication Critical patent/JP6786405B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は、サーボモーターあるいはステッピングモーター等の複数の種類のモーターを制御する技術に関する。 The present invention relates to a technique for controlling a plurality of types of motors such as a servo motor or a stepping motor.

特許文献1では、制御部から出力されたコマンドがサーボドライバーとステッピングドライバーとを順に経由して制御部に戻る通信経路で、シリアル通信を行う構成が示されている(図1)。かかる構成では、サーボドライバーおよびステッピングドライバーはそれぞれ、シリアル通信で受信したコマンドに基づきサーボモーターおよびステッピングモーターを制御することができる。 Patent Document 1 shows a configuration in which serial communication is performed by a communication path in which a command output from the control unit returns to the control unit via a servo driver and a stepping driver in order (FIG. 1). In such a configuration, the servo driver and the stepping driver can control the servo motor and the stepping motor, respectively, based on the command received by the serial communication.

特開2001−168597号公報Japanese Unexamined Patent Publication No. 2001-168597

ところで、ステッピングドライバーとサーボドライバーでは、入力すべきコマンドの形態が異なる。つまり、ステッピングドライバーは、所定期間のモーターの動作を示す動作プロファイルを規定するプロファイル情報が一旦与えられれば、このプロファイル情報に基づきステッピングモーターを制御できる。これに対して、サーボドライバーは、かかる所定期間より短い単位時間毎にモーターの動作を逐次示す逐次動作情報に基づき、サーボモーターを制御する。 By the way, the form of the command to be input differs between the stepping driver and the servo driver. That is, the stepping driver can control the stepping motor based on the profile information that defines the operation profile indicating the operation of the motor for a predetermined period once. On the other hand, the servo driver controls the servo motor based on the sequential operation information that sequentially indicates the operation of the motor every unit time shorter than the predetermined period.

したがって、サーボドライバーに対しては高い通信速度でコマンドを送信する必要があるのに対して、ステッピングドライバーに対しては、サーボドライバーのように高い通信速度でコマンドを送信する必要が必ずしも無い。しかしながら、サーボドライバーおよびステッピングドライバーに対して1つの通信経路を介してシリアル通信でコマンドを送信する構成では、サーボドライバーが要求する一律の通信速度で通信が実行されたために、ステッピングドライバーに対して不要に高い通信速度でコマンドが送信される場合があった。 Therefore, it is necessary to send a command to the servo driver at a high communication speed, whereas it is not always necessary to send a command to the stepping driver at a high communication speed like the servo driver. However, in the configuration in which commands are transmitted to the servo driver and the stepping driver by serial communication via one communication path, the communication is executed at the uniform communication speed required by the servo driver, which is unnecessary for the stepping driver. The command was sometimes sent at a high communication speed.

この発明は、上記課題に鑑みなされたものであり、ドライバーの種類に応じた通信速度で通信を実行することを可能とする技術の提供を目的とする。 The present invention has been made in view of the above problems, and an object of the present invention is to provide a technique capable of executing communication at a communication speed according to a type of driver.

本発明に係るモーターコントロールシステムは、所定期間におけるモーターの動作を示す動作プロファイルを規定するプロファイル情報と、動作プロファイルが示すモーターの動作を所定期間より短い単位時間毎に逐次示す逐次動作情報とを含むコマンドを生成する制御装置と、第1モーターを制御する第1ドライバーと、第2モーターを制御する第2ドライバーとを備え、第1ドライバーは、制御装置からコマンドを第1通信速度で受信する受信部と、受信部が受信した第1モーターに対するコマンドに含まれる逐次動作情報に基づき第1モーターを制御する制御部と、受信部が受信した第2モーターに対するコマンドに含まれるプロファイル情報を第2ドライバーに第1通信速度より低い第2通信速度で送信する送信部とを有し、第2ドライバーは、第1ドライバーの送信部から受信したプロファイル情報に基づき第2モーターを制御する。 The motor control system according to the present invention includes profile information that defines an operation profile indicating the operation of the motor in a predetermined period, and sequential operation information that sequentially indicates the operation of the motor indicated by the operation profile at unit times shorter than a predetermined period. It includes a control device that generates commands, a first driver that controls the first motor, and a second driver that controls the second motor. The first driver receives commands from the control device at the first communication speed. The second driver uses the unit, the control unit that controls the first motor based on the sequential operation information included in the command for the first motor received by the receiving unit, and the profile information included in the command for the second motor received by the receiving unit. It has a transmission unit that transmits at a second communication speed lower than the first communication speed, and the second driver controls the second motor based on the profile information received from the transmission unit of the first driver.

本発明に係る部品実装機は、基板を所定位置に搬入して基板を所定位置に支持する搬入動作と、基板を所定位置から搬出する搬出動作とを実行する基板搬送部と、部品を供給する部品供給部と、基板搬送部により所定位置に支持される基板に、部品供給部により供給された部品を移載する実装動作を実行する実装ヘッドと、実装ヘッドを駆動する第1モーターと、基板搬送部を駆動する第2モーターと、上記のモーターコントロールシステムとを備え、モーターコントロールシステムは、第1モーターを制御することで実装ヘッドに実装動作を実行させるとともに、第2モーターを制御することで基板搬送部に搬入動作および搬出動作を実行させる。 The component mounting machine according to the present invention supplies a board transport unit and a component that executes a carry-in operation of carrying a board into a predetermined position to support the board in a predetermined position and a carry-out operation of carrying out the board from a predetermined position. A mounting head that executes a mounting operation for transferring the components supplied by the component supply section to a component supply section and a board supported at a predetermined position by the board transport section, a first motor that drives the mounting head, and a board. It is equipped with a second motor that drives the transport unit and the above-mentioned motor control system. The motor control system controls the first motor to cause the mounting head to execute the mounting operation, and also controls the second motor. Have the board carrier execute the loading and unloading operations.

本発明に係るモーター制御方法は、所定期間におけるモーターの動作を示す動作プロファイルを規定するプロファイル情報と、動作プロファイルが示すモーターの動作を所定期間より短い単位時間毎に逐次示す逐次動作情報とを含むコマンドを生成する工程と、第1ドライバーがコマンドを第1通信速度で受信する工程と、第1モーターに対するコマンドに含まれる逐次動作情報に基づき第1ドライバーが第1モーターを制御する工程と、第2モーターに対するコマンドに含まれるプロファイル情報を、第1ドライバーが第2ドライバーに第1通信速度より低い第2通信速度で送信する工程と、第2ドライバーがプロファイル情報に基づき第2モーターを制御する工程とを備える。 The motor control method according to the present invention includes profile information that defines an operation profile indicating the operation of the motor in a predetermined period, and sequential operation information that sequentially indicates the operation of the motor indicated by the operation profile at unit times shorter than a predetermined period. The process of generating a command, the process of the first driver receiving the command at the first communication speed, the process of the first driver controlling the first motor based on the sequential operation information included in the command for the first motor, and the first. A process in which the first driver transmits the profile information included in the command for the two motors to the second driver at a second communication speed lower than the first communication speed, and a process in which the second driver controls the second motor based on the profile information. And.

このように構成された本発明(モーターコントロールシステム、部品実装機、モーター制御方法)では、第1モーターを制御する第1ドライバーと、第2モーターを制御する第2ドライバーとが設けられている。そして、プロファイル情報と逐次動作情報とを含むコマンドを第1通信速度で第1ドライバーが受信する。第1ドライバーは、第1モーターに対するコマンドを受信すると、当該コマンドに含まれる逐次動作情報に基づき第1モーターを制御する一方、第2モーターに対するコマンドを受信すると、当該コマンドに含まれるプロファイル情報を第2ドライバーに第1通信速度より低い第2通信速度で送信する。そして、第2ドライバーは、受信したプロファイル情報に基づき第2モーターを制御する。このように、逐次動作情報に基づき第1モーターを制御する第1ドライバーに対しては第1通信速度で通信が実行されるのに対して、プロファイル情報に基づき第2モーターを制御する第2ドライバーに対しては第1通信速度より低い第2通信速度で通信が実行される。こうして、ドライバーの種類に応じた通信速度で通信を実行することが可能となっている。 In the present invention (motor control system, component mounting machine, motor control method) configured in this way, a first driver for controlling the first motor and a second driver for controlling the second motor are provided. Then, the first driver receives the command including the profile information and the sequential operation information at the first communication speed. When the first driver receives a command for the first motor, it controls the first motor based on the sequential operation information included in the command, and when it receives a command for the second motor, the first driver receives the profile information included in the command. 2 Sends to the driver at a second communication speed lower than the first communication speed. Then, the second driver controls the second motor based on the received profile information. In this way, while communication is executed at the first communication speed for the first driver that controls the first motor based on the sequential operation information, the second driver that controls the second motor based on the profile information. Communication is executed at a second communication speed lower than the first communication speed. In this way, it is possible to execute communication at a communication speed according to the type of driver.

また、第1ドライバーは、プロファイル情報の動作プロファイルの規定態様を第2ドライバー用に変換する変換部をさらに有し、送信部は、変換部により変換されたプロファイル情報を第2ドライバーに送信するように、モーターコントロールシステムを構成しても良い。かかる構成は、第2ドライバーに対応した規定態様のプロファイル情報を第1ドライバーから第2ドライバーに送信でき、好適である。 Further, the first driver further has a conversion unit that converts the defined mode of the operation profile of the profile information for the second driver, and the transmission unit transmits the profile information converted by the conversion unit to the second driver. In addition, a motor control system may be configured. Such a configuration is suitable because the profile information of the specified mode corresponding to the second driver can be transmitted from the first driver to the second driver.

また、送信部は、変換部により変換されたプロファイル情報をシリアル通信により第2ドライバーに送信するように、モーターコントロールシステムを構成しても良い。これによって、シリアル通信方式の安価な第2ドライバーを使用できるため、コストの抑制を図ることが可能となる。 Further, the transmission unit may configure the motor control system so that the profile information converted by the conversion unit is transmitted to the second driver by serial communication. As a result, an inexpensive second driver of the serial communication method can be used, so that the cost can be suppressed.

また、制御装置は、プロファイル情報を算出してから、プロファイル情報に基づき逐次動作情報を算出するように、モーターコントロールシステムを構成しても良い。かかる構成では、逐次動作情報の算出過程で生成されたプロファイル情報を、第2ドライバーが第2モーターを制御するに際して有効利用することが可能となる。 Further, the control device may configure the motor control system so as to calculate the profile information and then sequentially calculate the operation information based on the profile information. In such a configuration, the profile information generated in the process of calculating the sequential operation information can be effectively used when the second driver controls the second motor.

以上のように、本発明によれば、ドライバーの種類に応じた通信速度で通信を実行することが可能となっている。 As described above, according to the present invention, it is possible to execute communication at a communication speed according to the type of driver.

本発明に係るモーターコントロールシステムの一例を示すブロック図である。It is a block diagram which shows an example of the motor control system which concerns on this invention. システムコントローラーの動作の一例を示すフローチャートである。It is a flowchart which shows an example of the operation of a system controller. モーターの動作プロファイルの一例を模式的に示す図である。It is a figure which shows an example of the operation profile of a motor schematically. 図3の動作プロファイルを規定するプロファイル情報の一例を示す図である。It is a figure which shows an example of the profile information which defines the operation profile of FIG. システムコントローラーが出力するコマンドの一例を模式的に示す図である。It is a figure which shows an example of the command output by a system controller schematically. ACサーボドライバーの動作の一例を示すフローチャートである。It is a flowchart which shows an example of the operation of an AC servo driver. 図6のフローチャートのコマンド変換で実行される動作の一例を示すフローチャートである。It is a flowchart which shows an example of the operation executed by the command conversion of the flowchart of FIG. ステッピングドライバーの動作の一例を示すフローチャートである。It is a flowchart which shows an example of the operation of a stepping driver. システムコントローラーとステッピングドライバーとの通信動作の一例を模式的に示す図である。It is a figure which shows typically an example of the communication operation between a system controller and a stepping driver. システムコントローラーとステッピングドライバーとの通信動作の変形例を模式的に示す図である。It is a figure which shows typically the modification of the communication operation between a system controller and a stepping driver. 本発明に係る部品実装機の一例を模式的に示す部分平面図である。It is a partial plan view which shows an example of the component mounting machine which concerns on this invention typically. 図11の部品実装機が備える電気的構成を示す図である。It is a figure which shows the electrical structure which the component mounting machine of FIG. 11 has.

図1は本発明に係るモーターコントロールシステムの一例を示すブロック図である。モーターコントロールシステム1は、システムコントローラー2と、2台のACサーボドライバー3A、3Bと、2台のステッピングドライバー4A、4Bとを備える。システムコントローラー2とACサーボドライバー3A、3Bとは、例えばEtherCAT(登録商標)等の産業用高速フィールドバスで構成された高速通信経路Nhにより互いに接続されており、システムコントローラー2は高速通信経路Nhへコマンドを出力することで、ACサーボドライバー3A、3Bへ順にコマンドを送信する。ACサーボドライバー3Aは、システムコントローラー2から直接受信したコマンドに基づき2台のACサーボモーターMaを制御し、ACサーボドライバー3Bは、ACサーボドライバー3Aを介してシステムコントローラー2から受信したコマンドに基づき2台のACサーボモーターMaを制御する。 FIG. 1 is a block diagram showing an example of a motor control system according to the present invention. The motor control system 1 includes a system controller 2, two AC servo drivers 3A and 3B, and two stepping drivers 4A and 4B. The system controller 2 and the AC servo drivers 3A and 3B are connected to each other by a high-speed communication path Nh composed of an industrial high-speed fieldbus such as EtherCAT (registered trademark), and the system controller 2 goes to the high-speed communication path Nh. By outputting the command, the command is transmitted to the AC servo drivers 3A and 3B in order. The AC servo driver 3A controls two AC servo motors Ma based on the command received directly from the system controller 2, and the AC servo driver 3B 2 based on the command received from the system controller 2 via the AC servo driver 3A. Controls the AC servo motor Ma of the stand.

ステッピングドライバー4Aは、高速通信経路Nhより低い帯域を有する例えばRS−422に準拠した低速通信経路NlによりACサーボドライバー3Aに接続される。具体的には例えば、高速通信経路Nhでの通信速度が100Mbps(ビット/秒)程度であるのに対して、低速通信経路Nlでの通信速度は500kbps〜1Mbpsである。ステッピングドライバー4Aは、ACサーボドライバー3Aを介してシステムコントローラー2から受信したコマンドに基づき2台のステッピングモーターMsを制御する。ステッピングドライバー4Bは、低速通信経路NlによりACサーボドライバー3Bに接続される。このステッピングドライバー4Bは、ACサーボドライバー3Bを介してシステムコントローラー2から受信したコマンドに基づき2台のステッピングモーターMsを制御する。 The stepping driver 4A is connected to the AC servo driver 3A by, for example, RS-422 compliant low-speed communication path Nl having a band lower than the high-speed communication path Nh. Specifically, for example, the communication speed on the high-speed communication path Nh is about 100 Mbps (bits / second), while the communication speed on the low-speed communication path Nl is 500 kbps to 1 Mbps. The stepping driver 4A controls two stepping motors Ms based on a command received from the system controller 2 via the AC servo driver 3A. The stepping driver 4B is connected to the AC servo driver 3B by the low-speed communication path Nl. The stepping driver 4B controls two stepping motors Ms based on a command received from the system controller 2 via the AC servo driver 3B.

図2はシステムコントローラーの動作の一例を示すフローチャートである。続いては、図1および図2を用いてシステムコントローラー2の構成・動作について説明する。システムコントローラー2は、モーションコントローラー21と、高速通信経路Nhを介した通信を制御するフィールドバスコントローラー22とを備える。そして、図2のステップS101では、動作期間におけるモーターの動作を示す動作プロファイル(図3)を規定するプロファイル情報(図4)を、モーションコントローラー21が生成する。 FIG. 2 is a flowchart showing an example of the operation of the system controller. Subsequently, the configuration and operation of the system controller 2 will be described with reference to FIGS. 1 and 2. The system controller 2 includes a motion controller 21 and a fieldbus controller 22 that controls communication via the high-speed communication path Nh. Then, in step S101 of FIG. 2, the motion controller 21 generates profile information (FIG. 4) that defines an operation profile (FIG. 3) indicating the operation of the motor during the operation period.

図3はモーターの動作プロファイルの一例を模式的に示す図であり、図4は図3の動作プロファイルを規定するプロファイル情報の一例を示す図である。図3に示すように、動作プロファイルPmは、モーターが始動してから停止するまでの動作期間Tmを通じたモーターの加減速パターンを示す。この動作プロファイルPmによれば、加速時間Taの間はモーターの回転速度Vがゼロから最高速度Vxへ上昇し、定速時間Tbの間はモーターの回転速度Vが最高速度Vxで一定となり、減速時間Tcの間はモーターの回転速度Vが最高速度Vxからゼロへ低下する。 FIG. 3 is a diagram schematically showing an example of an operation profile of a motor, and FIG. 4 is a diagram showing an example of profile information defining the operation profile of FIG. As shown in FIG. 3, the operation profile Pm shows the acceleration / deceleration pattern of the motor over the operation period Tm from the start to the stop of the motor. According to this operation profile Pm, the rotation speed V of the motor rises from zero to the maximum speed Vx during the acceleration time Ta, and the rotation speed V of the motor becomes constant at the maximum speed Vx during the constant speed Tb and decelerates. During the time Tc, the rotation speed V of the motor drops from the maximum speed Vx to zero.

これに対して、ステップS101でモーションコントローラー21が生成するプロファイル情報Ipは、図4に示すように、加速時間、定速時間、減速時間、加速距離、定速距離、減速距離、最高速度、目標位置といったパラメーターによって動作プロファイルPmを規定するものである。なお、図4では、各パラメーターを表す情報量(バイト)と、各パラメーターの単位とが併記されている。単位について説明すると、[ms]はミリ秒を示し、[pls]はパルス数を示し、[rpm]は1分間あたりの回転数を表す。 On the other hand, the profile information Ip generated by the motion controller 21 in step S101 has an acceleration time, a constant speed time, a deceleration time, an acceleration distance, a constant speed distance, a deceleration distance, a maximum speed, and a target, as shown in FIG. The operation profile Pm is defined by parameters such as position. In FIG. 4, the amount of information (bytes) representing each parameter and the unit of each parameter are shown together. Explaining the unit, [ms] indicates the number of milliseconds, [pls] indicates the number of pulses, and [rpm] indicates the number of revolutions per minute.

図4の加速時間、定速時間、減速時間および最高速度の内容はそれぞれ図3に示した通りである。一方、加速距離、定速距離および減速距離はそれぞれ、モーターを制御するパルス(制御パルス)が加速時間Ta、定速時間Tbおよび減速時間Tcの間に出力される回数である。また、目標位置は、動作期間Tmの間に制御パルスが出力される回数である。この制御パルスは例えば、ACサーボモーターMaが制御対象の場合はACサーボモーターMaのエンコーダーから出力されるパルスであり、ステッピングモーターMsが制御対象の場合はステッピングモーターMsに与えられるパルスである。なお、パルス数は距離を示すものの、1パルスに対応する距離はモーターによって異なる。これに対応するため、システムコントローラー2は、例えば1mmに対応するパルス数(距離)をモーター毎に記憶する。 The contents of the acceleration time, constant speed time, deceleration time and maximum speed in FIG. 4 are as shown in FIG. 3, respectively. On the other hand, the acceleration distance, the constant speed distance, and the deceleration distance are the number of times that the pulse (control pulse) for controlling the motor is output during the acceleration time Ta, the constant speed time Tb, and the deceleration time Tc, respectively. The target position is the number of times the control pulse is output during the operation period Tm. This control pulse is, for example, a pulse output from the encoder of the AC servomotor Ma when the AC servomotor Ma is the control target, and a pulse given to the stepping motor Ms when the stepping motor Ms is the control target. Although the number of pulses indicates the distance, the distance corresponding to one pulse differs depending on the motor. In order to correspond to this, the system controller 2 stores, for example, the number of pulses (distance) corresponding to 1 mm for each motor.

ステップS102では、モーションコントローラー21がプロファイル情報Ipに基づき逐次動作情報Itを算出する。この逐次動作情報Itは、動作プロファイルPmが示すモーターの動作、換言すればモーターへの指令位置を微小時間t毎に逐次示すものである。ここで、微小時間tは図3に示すように動作期間Tmを多数に分割する単位であり、例えば1[ms]以下である。こうして、プロファイル情報Ipと逐次動作情報Itとで構成されるコマンドC(図5)が生成されると、フィールドバスコントローラー22はコマンドCを高速通信経路Nhに第1通信速度(高通信速度)で送信する(ステップS103)。ここで、通信速度は、単位時間に送信可能なビットの数を示すビットレートとして求めることができる。 In step S102, the motion controller 21 calculates the sequential operation information It based on the profile information Ip. This sequential operation information It sequentially indicates the operation of the motor indicated by the operation profile Pm, in other words, the command position to the motor every minute time t. Here, the minute time t is a unit for dividing the operation period Tm into a large number as shown in FIG. 3, and is, for example, 1 [ms] or less. In this way, when the command C (FIG. 5) composed of the profile information Ip and the sequential operation information It is generated, the fieldbus controller 22 sends the command C to the high-speed communication path Nh at the first communication speed (high communication speed). Transmit (step S103). Here, the communication speed can be obtained as a bit rate indicating the number of bits that can be transmitted in a unit time.

図5はシステムコントローラーが出力するコマンドの一例を模式的に示す図である。図5に示すように、プロファイル情報Ipの送信に続いて、逐次動作情報Itが送信される。この際、コマンドCに含まれる逐次動作情報Itは微小時間t毎にモーターの動作を指示するものである。そのため、(コマンドCに含まれるパケットである)逐次動作情報Itは、実際にサーボコントローラー321が駆動回路33に送信するタイミングより早く送信されていなければならず、逐次動作情報Itは微小時間tよりも短い通信周期でフィールドバスコントローラー22から高速通信経路Nhに送信されなければならない。 FIG. 5 is a diagram schematically showing an example of a command output by the system controller. As shown in FIG. 5, following the transmission of the profile information Ip, the sequential operation information It is transmitted. At this time, the sequential operation information It included in the command C indicates the operation of the motor every minute time t. Therefore, the sequential operation information It (which is a packet included in the command C) must be transmitted earlier than the timing when the servo controller 321 actually transmits to the drive circuit 33, and the sequential operation information It is from the minute time t. Must be transmitted from the fieldbus controller 22 to the high-speed communication path Nh in a short communication cycle.

システムコントローラー2は、モーターに対するコマンドCを生成・送信すると、図2のフローチャートを終了する。なお、システムコントローラー2は、4台のACサーボモーターMaおよび4台のステッピングモーターMsを指定しつつ、各モーターについてコマンドCを生成できる。こうして生成された各コマンドCは、システムコントローラー2から高速通信経路Nhに順次送信される。 When the system controller 2 generates and transmits a command C for the motor, the system controller 2 ends the flowchart of FIG. The system controller 2 can generate a command C for each motor while designating four AC servomotors Ma and four stepping motors Ms. Each command C generated in this way is sequentially transmitted from the system controller 2 to the high-speed communication path Nh.

図6はACサーボドライバーの動作の一例を示すフローチャートである。続いては、図1および図6を用いてACサーボドライバー3A、3Bの構成・動作について説明する。なお、ACサーボドライバー3A、3Bの構成・動作は共通するため、ここではACサーボドライバー3Aで代表して説明を行う。図1に示すように、ACサーボドライバー3Aは、フィールドバスコントローラー31、CPU(Central Processing Unit)32、駆動回路33およびシリアル通信部34を備える。 FIG. 6 is a flowchart showing an example of the operation of the AC servo driver. Subsequently, the configurations and operations of the AC servo drivers 3A and 3B will be described with reference to FIGS. 1 and 6. Since the configurations and operations of the AC servo drivers 3A and 3B are common, the AC servo driver 3A will be described here as a representative. As shown in FIG. 1, the AC servo driver 3A includes a fieldbus controller 31, a CPU (Central Processing Unit) 32, a drive circuit 33, and a serial communication unit 34.

フィールドバスコントローラー31は、高速通信経路Nhを介した通信を制御する。このフィールドバスコントローラー31は、ACサーボドライバー3Aが制御する2台のACサーボモーターMaに対応する2個の軸データDaと、ステッピングドライバー4Aが制御する2台のステッピングモーターMsに対応する2個の軸データDsとを受信する領域を有する。そして、図2のステップS201では、フィールドバスコントローラー31が、システムコントローラー2のフィールドバスコントローラー22から高速通信経路Nhを介して第1通信速度でコマンドCを受信する。さらに、フィールドバスコントローラー31は、コマンドCの指定先のモーターがACサーボモーターMaであるか、ステッピングモーターMsであるかを判断する。 The fieldbus controller 31 controls communication via the high-speed communication path Nh. The fieldbus controller 31 has two axis data Das corresponding to two AC servomotors Ma controlled by the AC servo driver 3A and two stepping motors Ms controlled by the stepping driver 4A. It has an area for receiving the axis data Ds. Then, in step S201 of FIG. 2, the fieldbus controller 31 receives the command C from the fieldbus controller 22 of the system controller 2 via the high-speed communication path Nh at the first communication speed. Further, the fieldbus controller 31 determines whether the motor designated by the command C is the AC servomotor Ma or the stepping motor Ms.

コマンドCの指定先のモーターがACサーボモーターMaである場合(ステップS202で「サーボ」の場合)には、CPU32に構築されたサーボコントローラー321がコマンドCに含まれる逐次動作情報Itに基づき、ACサーボモーターMaに対してフィードバック制御を実行する(ステップS203)。つまり、サーボコントローラー321は、逐次動作情報Itが示す指令値と、ACサーボモーターMaのエンコーダーの出力値との偏差に応じた制御信号を微小時間t毎に駆動回路33に出力する。そして、駆動回路33は制御信号に応じた駆動信号をACサーボモーターMaに出力して、ACサーボモーターMaを駆動する。これによって、逐次動作情報Itが微小時間t毎に示す指令値にACサーボモーターMaの動作が追従し、ACサーボモーターMaが動作プロファイルPmにより示される動作を実行する。 When the motor to which the command C is specified is the AC servo motor Ma (in the case of "servo" in step S202), the servo controller 321 built in the CPU 32 is AC based on the sequential operation information It included in the command C. Feedback control is executed for the servomotor Ma (step S203). That is, the servo controller 321 outputs a control signal corresponding to the deviation between the command value indicated by the sequential operation information It and the output value of the encoder of the AC servo motor Ma to the drive circuit 33 every minute time t. Then, the drive circuit 33 outputs a drive signal corresponding to the control signal to the AC servomotor Ma to drive the AC servomotor Ma. As a result, the operation of the AC servomotor Ma follows the command value indicated by the sequential operation information It every minute time t, and the AC servomotor Ma executes the operation indicated by the operation profile Pm.

ちなみに、サーボコントローラー321が逐次動作情報Itに基づきACサーボモーターMaを制御する理由は、サーボコントローラー321の制御がフィードバック制御であることにある。つまり、フィードバック制御を行う系に対して大きな指令値を与えると、大きな偏差が生じて、応答が振動的になるおそれがある。そこで、微小時間tにおける微小変化を指令値とすることで応答を安定させる目的で、サーボコントローラー321はフィードバック制御を逐次動作情報Itに基づき実行する。 Incidentally, the reason why the servo controller 321 controls the AC servomotor Ma based on the sequential operation information It is that the control of the servo controller 321 is feedback control. That is, if a large command value is given to the system that performs feedback control, a large deviation may occur and the response may become oscillating. Therefore, the servo controller 321 executes feedback control based on the sequential operation information It for the purpose of stabilizing the response by setting the minute change in the minute time t as the command value.

一方、コマンドCの指定先のモーターがステッピングモーターMsである場合(ステップS202で「ステッピング」の場合)には、CPU32に構築されたコマンド変換部322がコマンド変換を実行する(ステップS204)。このコマンド変換は、システムコントローラー2から送信されたプロファイル情報Ipによる動作プロファイルPmの規定態様を、ステッピングドライバー4Aに応じた規定態様に変換する。つまり、システムコントローラー2から送信されたプロファイル情報Ipは、図4に示す各パラメーターによって動作プロファイルPmを規定する。一方、ステッピングドライバー4Aでは、これらと異なるパラメーターを用いて動作プロファイルPmを規定する。そこで、ステップS204では、図7のコマンド変換が実行される。 On the other hand, when the motor designated by the command C is the stepping motor Ms (in the case of "stepping" in step S202), the command conversion unit 322 constructed in the CPU 32 executes the command conversion (step S204). This command conversion converts the defined mode of the operation profile Pm by the profile information Ip transmitted from the system controller 2 into the defined mode according to the stepping driver 4A. That is, the profile information Ip transmitted from the system controller 2 defines the operation profile Pm by each parameter shown in FIG. On the other hand, in the stepping driver 4A, the operation profile Pm is defined by using parameters different from these. Therefore, in step S204, the command conversion shown in FIG. 7 is executed.

図7は図6のフローチャートのコマンド変換で実行される動作の一例を示すフローチャートである。ステップS301では、最高速度の単位を[rpm]から[pps]に変更することで、最高速度[pps]が算出される。ここで、[pps]は1秒あたりのパルス数である。ステップS302では、最高速度を加速時間で除算することで、加速度[pps/s]が算出される。ステップS303では、最高速度を減速時間で除算することで、減速度[pps/s]が算出される。ステップS304では、目標位置[pls]がそのまま転用される。なお、ステップS301〜S304の実行順序はこれに限られない。あるいは、ステップS301〜S304を並行して行っても構わない。こうして、ステップS301〜S304を実行することで、最高速度[pps]、加速度[pps/s]、減速度[pps/s]および目標位置[pls]といったパラメーターで動作プロファイルPmを規定する規定態様に、プロファイル情報Ipの規定態様が変換されて、図6のフローチャートに戻る。 FIG. 7 is a flowchart showing an example of the operation executed by the command conversion of the flowchart of FIG. In step S301, the maximum speed [pps] is calculated by changing the unit of the maximum speed from [rpm] to [pps]. Here, [pps] is the number of pulses per second. In step S302, the acceleration [pps / s] is calculated by dividing the maximum speed by the acceleration time. In step S303, the deceleration [pps / s] is calculated by dividing the maximum speed by the deceleration time. In step S304, the target position [pls] is diverted as it is. The execution order of steps S301 to S304 is not limited to this. Alternatively, steps S301 to S304 may be performed in parallel. In this way, by executing steps S301 to S304, the operation profile Pm is defined by parameters such as maximum velocity [pps], acceleration [pps / s], deceleration [pps / s], and target position [pls]. , The defined mode of the profile information Ip is converted, and the process returns to the flowchart of FIG.

ステップS205では、コマンド変換部322により変換されたプロファイル情報Ipを、シリアル通信部34が低速通信経路Nlに第2通信速度(低通信速度)でシリアル送信する。ここで、第2通信速度は、第1通信速度より低い通信速度である。ちなみに、ステッピングモーターMsを指定先とするコマンドCに含まれる逐次動作情報Itは、シリアル通信部34からステッピングドライバー4Aに送信されずに破棄される。 In step S205, the serial communication unit 34 serially transmits the profile information Ip converted by the command conversion unit 322 to the low-speed communication path Nl at the second communication speed (low communication speed). Here, the second communication speed is a communication speed lower than the first communication speed. By the way, the sequential operation information It included in the command C with the stepping motor Ms as the designated destination is discarded without being transmitted from the serial communication unit 34 to the stepping driver 4A.

図8はステッピングドライバーの動作の一例を示すフローチャートである。続いては、図1および図8を用いてステッピングドライバー4A、4bの構成・動作について説明する。なお、ステッピングドライバー4A、4Bの構成・動作は共通するため、ここではステッピングドライバー4Aで代表して説明を行う。 FIG. 8 is a flowchart showing an example of the operation of the stepping driver. Subsequently, the configuration and operation of the stepping drivers 4A and 4b will be described with reference to FIGS. 1 and 8. Since the configurations and operations of the stepping drivers 4A and 4B are common, the stepping driver 4A will be described here as a representative.

ステップS401では、ステッピングドライバー4Aは、ACサーボドライバー3Aのシリアル通信部34から低速通信経路Nlを介して第2通信速度でプロファイル情報Ipをシリアル受信する。そして、ステップS402では、ステッピングドライバー4Aは、受信したプロファイル情報Ipに基づき、ステッピングモーターMsに対してオープンループ制御を実行する。つまり、ステッピングドライバー4Aはプロファイル情報Ipに応じたパルスを生成して、当該パルスをステッピングモーターMsに出力する。これによって、ステッピングモーターMsが動作プロファイルPmにより示される動作を実行する。 In step S401, the stepping driver 4A serially receives the profile information Ip from the serial communication unit 34 of the AC servo driver 3A at the second communication speed via the low-speed communication path Nl. Then, in step S402, the stepping driver 4A executes open loop control for the stepping motor Ms based on the received profile information Ip. That is, the stepping driver 4A generates a pulse according to the profile information Ip and outputs the pulse to the stepping motor Ms. As a result, the stepping motor Ms executes the operation indicated by the operation profile Pm.

このように、ステッピングドライバー4A、4Bは、ACサーボドライバー3A、3Bを介してシステムコントローラー2と通信を行う。図9はシステムコントローラーとステッピングドライバーとの通信動作の一例を模式的に示す図である。図9の例では、システムコントローラー2は、指令値(プロファイル情報Ip)をACサーボドライバー3A、3Bに送信し、ACサーボドライバー3A、3Bは変換した指令値をステッピングドライバー4A、4Bに送信する。そして、ステッピングドライバー4A、4Bは、指令値を受信するとACサーボドライバー3A、3Bに受信した旨の応答を送信し、ACサーボドライバー3A、3Bは受信した応答をシステムコントローラー2に送信する。 In this way, the stepping drivers 4A and 4B communicate with the system controller 2 via the AC servo drivers 3A and 3B. FIG. 9 is a diagram schematically showing an example of communication operation between the system controller and the stepping driver. In the example of FIG. 9, the system controller 2 transmits the command value (profile information Ip) to the AC servo drivers 3A and 3B, and the AC servo drivers 3A and 3B transmit the converted command value to the stepping drivers 4A and 4B. Then, when the stepping drivers 4A and 4B receive the command value, they transmit a response to the effect that they have been received to the AC servo drivers 3A and 3B, and the AC servo drivers 3A and 3B transmit the received response to the system controller 2.

また、図9の指令値の送信を行っていない期間は、図10に示すように、ステータスの取得を行うこともできる。図10はシステムコントローラーとステッピングドライバーとの通信動作の変形例を模式的に示す図である。図10の例では、ACサーボドライバー3A、3Bはステータスを確認する信号をステッピングドライバー4A、4Bに送信する。そして、ステッピングドライバー4A、4Bはこの信号を受信すると、ステッピングモーターMsのステータス(エラーの有無や目標位置への到達等)をACサーボドライバー3A、3Bに応答し、ACサーボドライバー3A、3Bは、受信した応答内容に応じてステータスの更新をシステムコントローラー2に要求する。 Further, as shown in FIG. 10, the status can be acquired during the period when the command value of FIG. 9 is not transmitted. FIG. 10 is a diagram schematically showing a modified example of the communication operation between the system controller and the stepping driver. In the example of FIG. 10, the AC servo drivers 3A and 3B transmit signals for confirming the status to the stepping drivers 4A and 4B. Then, when the stepping drivers 4A and 4B receive this signal, they respond to the AC servo drivers 3A and 3B with the status of the stepping motors Ms (whether there is an error, reach the target position, etc.), and the AC servo drivers 3A and 3B The system controller 2 is requested to update the status according to the received response content.

以上に説明したように本実施形態では、ACサーボモーターMaを制御するACサーボドライバー3A、3Bと、ステッピングモーターMsを制御するステッピングドライバー4A、4Bとが設けられている。そして、プロファイル情報Ipと逐次動作情報Itとを含むコマンドCを第1通信速度でACサーボドライバー3A、3Bが受信する。ACサーボドライバー3A、3Bは、ACサーボモーターMaに対するコマンドCを受信すると、当該コマンドCに含まれる逐次動作情報Itに基づきACサーボモーターMaをフィードバック制御する一方、ステッピングモーターMsに対するコマンドCを受信すると、当該コマンドCに含まれるプロファイル情報Ipをステッピングドライバー4A、4Bに第1通信速度より低い第2通信速度で送信する。そして、ステッピングドライバー4A、4Bは、受信したプロファイル情報Ipに基づきステッピングモーターMsをオープンループ制御する。このように、逐次動作情報Itに基づきACサーボモーターMaをフィードバック制御するACサーボドライバー3A、3Bに対しては第1通信速度で通信が実行されるのに対して、プロファイル情報Ipに基づきステッピングモーターMsをオープンループ制御するステッピングドライバー4A、4Bに対しては第1通信速度より低い第2通信速度で通信が実行される。こうして、ドライバーの種類に応じた通信速度で通信を実行することが可能となっている。 As described above, in the present embodiment, the AC servo drivers 3A and 3B for controlling the AC servo motor Ma and the stepping drivers 4A and 4B for controlling the stepping motor Ms are provided. Then, the AC servo drivers 3A and 3B receive the command C including the profile information Ip and the sequential operation information It at the first communication speed. When the AC servo drivers 3A and 3B receive the command C for the AC servo motor Ma, they feedback-control the AC servo motor Ma based on the sequential operation information It included in the command C, and receive the command C for the stepping motor Ms. , The profile information Ip included in the command C is transmitted to the stepping drivers 4A and 4B at a second communication speed lower than the first communication speed. Then, the stepping drivers 4A and 4B open-loop control the stepping motor Ms based on the received profile information Ip. In this way, the AC servo drivers 3A and 3B that feedback-control the AC servo motor Ma based on the sequential operation information It are communicated at the first communication speed, whereas the stepping motor is based on the profile information Ip. Communication is executed at a second communication speed lower than the first communication speed for the stepping drivers 4A and 4B that control the Ms in an open loop. In this way, it is possible to execute communication at a communication speed according to the type of driver.

また、ステッピングドライバー4A、4Bへの通信を比較的低い通信速度で実行できることから、高い通信速度での通信に対応できる高価なステッピングドライバー4A、4Bを準備する必要がない。その結果、コストの低減を図ることも可能となっている。 Further, since the communication to the stepping drivers 4A and 4B can be executed at a relatively low communication speed, it is not necessary to prepare expensive stepping drivers 4A and 4B capable of supporting the communication at a high communication speed. As a result, it is possible to reduce the cost.

さらに、システムコントローラー2は、コマンドCの指定先がACサーボモーターMaであるかステッピングモーターMsであるかに拘わらず、プロファイル情報Ipと逐次動作情報Itとで構成されるコマンドCを一律に生成して、高速通信経路Nhに送信すれば良い。したがって、システムコントローラー2の設計あるいは構成等の簡便化を図ることが可能となっている。 Further, the system controller 2 uniformly generates a command C composed of profile information Ip and sequential operation information It regardless of whether the designation destination of the command C is the AC servo motor Ma or the stepping motor Ms. Then, it may be transmitted to the high-speed communication path Nh. Therefore, it is possible to simplify the design or configuration of the system controller 2.

また、ACサーボドライバー3A、3Bは、プロファイル情報Ipの動作プロファイルPmの規定態様をステッピングドライバー4A、4B用に変換するコマンド変換部322を有する。そして、シリアル通信部34は、コマンド変換部322により変換されたプロファイル情報Ipをステッピングドライバー4A、4Bに送信する。かかる構成は、ステッピングドライバー4A、4Bに対応した規定態様のプロファイル情報IpをACサーボドライバー3A、3Bからステッピングドライバー4A、4Bに送信でき、好適である。 Further, the AC servo drivers 3A and 3B have a command conversion unit 322 that converts a defined mode of the operation profile Pm of the profile information Ip for the stepping drivers 4A and 4B. Then, the serial communication unit 34 transmits the profile information Ip converted by the command conversion unit 322 to the stepping drivers 4A and 4B. Such a configuration is suitable because the profile information Ip of the specified mode corresponding to the stepping drivers 4A and 4B can be transmitted from the AC servo drivers 3A and 3B to the stepping drivers 4A and 4B.

また、シリアル通信部34は、コマンド変換部322により変換されたプロファイル情報Ipをシリアル通信によりステッピングドライバー4A、4Bに送信する。これによって、シリアル通信方式の安価なステッピングドライバー4A、4Bを使用できるため、コストの抑制を図ることが可能となる。 Further, the serial communication unit 34 transmits the profile information Ip converted by the command conversion unit 322 to the stepping drivers 4A and 4B by serial communication. As a result, the inexpensive stepping drivers 4A and 4B of the serial communication method can be used, so that the cost can be suppressed.

また、システムコントローラー2は、プロファイル情報Ipを算出してから、プロファイル情報Ipに基づき逐次動作情報Itを算出する。かかる構成は、ステッピングドライバー4A、4BにステッピングモーターMsを制御させる際に、逐次動作情報Itの算出過程で生成されたプロファイル情報Ipを有効利用しており、好適である。 Further, the system controller 2 calculates the profile information Ip and then sequentially calculates the operation information It based on the profile information Ip. Such a configuration is suitable because the profile information Ip generated in the process of calculating the sequential operation information It is effectively used when the stepping drivers 4A and 4B control the stepping motors Ms.

ところで、上述のようなモーターコントロールシステム1は、ACサーボモーターMaとステッピングモーターMsとを併用する種々の装置に適用可能である。したがって、次の例に説明するように、基板に部品を実装する部品実装機に対してモーターコントロールシステム1を適用しても良い。 By the way, the motor control system 1 as described above can be applied to various devices in which the AC servo motor Ma and the stepping motor Ms are used in combination. Therefore, as described in the following example, the motor control system 1 may be applied to a component mounting machine that mounts components on a board.

図11は本発明に係る部品実装機の一例を模式的に示す部分平面図である。図12は図11の部品実装機が備える電気的構成を示す図である。図11では、水平方向X、Yおよび鉛直方向Zからなる直交座標を示す。この部品実装機6は、実装作業位置Bo(図11の基板Bの位置)に搬入された基板Bに対して部品を実装し、部品が実装された基板Bを実装作業位置Boから搬出する。 FIG. 11 is a partial plan view schematically showing an example of the component mounting machine according to the present invention. FIG. 12 is a diagram showing an electrical configuration included in the component mounting machine of FIG. FIG. 11 shows Cartesian coordinates consisting of the horizontal directions X and Y and the vertical direction Z. The component mounting machine 6 mounts components on the board B carried in at the mounting work position Bo (position of the board B in FIG. 11), and carries out the board B on which the components are mounted from the mounting work position Bo.

図12に示すように、部品実装機6は制御部600を備える。この制御部600は、演算部610、記憶部620および駆動制御部630を有し、演算部610が部品実装に必要な演算処理を実行し、記憶部620が演算部610での演算に要するプログラムやデータを記憶し、駆動制御部630は演算部610の演算結果に基づき部品実装機6の駆動系を制御する。こうして、部品実装機6での部品実装が制御部600により制御される。 As shown in FIG. 12, the component mounting machine 6 includes a control unit 600. The control unit 600 includes a calculation unit 610, a storage unit 620, and a drive control unit 630. The calculation unit 610 executes arithmetic processing necessary for component mounting, and the storage unit 620 is a program required for arithmetic operations in the arithmetic unit 610. And data are stored, and the drive control unit 630 controls the drive system of the component mounting machine 6 based on the calculation result of the calculation unit 610. In this way, the component mounting on the component mounting machine 6 is controlled by the control unit 600.

図11に示すように、部品実装機6は、基台61の上に設けられた一対のコンベア62、62と、バックアップ部63とを備える。コンベア62、62は水平方向Xに設けられ、一方のコンベア62は他方のコンベア62に対して水平方向Yに可動である。したがって、幅調整モーターMwによって一方のコンベア62を水平方向Yに駆動することで、基板Bの幅に応じてコンベア62、62の間隔を調整できる。また、基板Bを受け取ったコンベア62、62は、搬送モーターMcからの駆動力によって基板Bを水平方向X(基板搬送方向)に搬送できる。 As shown in FIG. 11, the component mounting machine 6 includes a pair of conveyors 62 and 62 provided on the base 61 and a backup unit 63. The conveyors 62 and 62 are provided in the horizontal direction X, and one conveyor 62 is movable in the horizontal direction Y with respect to the other conveyor 62. Therefore, by driving one of the conveyors 62 in the horizontal direction Y by the width adjusting motor Mw, the intervals between the conveyors 62 and 62 can be adjusted according to the width of the substrate B. Further, the conveyors 62 and 62 that have received the substrate B can convey the substrate B in the horizontal direction X (the substrate transfer direction) by the driving force from the transfer motor Mc.

つまり、基板Bは、コンベア62、62により水平方向X(基板搬送方向)の上流側から実装作業位置Boに搬入され、実装作業位置Boにおいてバックアップ部63により支持される(搬入動作)。バックアップ部63は、実装作業位置Boの下方に配置されたプッシュアップピンを有し、プッシュアップモーターMpにより上昇されるプッシュアップピンを実装作業位置Boの基板Bに接触させることで、基板Bを下方から支持する。そして、実装作業位置Boで部品が実装された基板Bは、コンベア62、62によって水平方向Xの下流側へ搬出される(搬出動作)。 That is, the substrate B is carried into the mounting work position Bo from the upstream side in the horizontal direction X (board transport direction) by the conveyors 62 and 62, and is supported by the backup unit 63 at the mounting work position Bo (carrying operation). The backup unit 63 has a push-up pin arranged below the mounting work position Bo, and brings the board B into contact with the board B of the mounting work position Bo by bringing the push-up pin raised by the push-up motor Mp into contact with the board B. Support from below. Then, the board B on which the components are mounted at the mounting work position Bo is carried out by the conveyors 62 and 62 to the downstream side in the horizontal direction X (carrying operation).

部品実装機1では、水平方向Yに延びる一対のY軸レール641、641と、水平方向Yに延びるY軸ボールネジ642と、Y軸ボールネジ642を回転駆動するY軸モーターMyとが設けられ、ヘッド支持部材643が一対のY軸レール641、641に水平方向Yに移動可能に支持された状態でY軸ボールネジ642のナットに固定されている。ヘッド支持部材643には、水平方向Xに延びるX軸ボールネジ644と、X軸ボールネジ644を回転駆動するX軸モーターMxとが取り付けられており、ヘッドユニット65がヘッド支持部材643に水平方向Xに移動可能に支持された状態でX軸ボールネジ644のナットに固定されている。したがって、Y軸モーターMyによりY軸ボールネジ642を回転させてヘッドユニット65を水平方向Yに移動させ、あるいはX軸モーターMxによりX軸ボールネジ644を回転させてヘッドユニット65を水平方向Xに移動させることができる。 The component mounting machine 1 is provided with a pair of Y-axis rails 641 and 641 extending in the horizontal direction Y, a Y-axis ball screw 642 extending in the horizontal direction Y, and a Y-axis motor My for rotating and driving the Y-axis ball screw 642. The support member 643 is fixed to the nut of the Y-axis ball screw 642 in a state where the support member 643 is movably supported by the pair of Y-axis rails 641 and 641 in the horizontal direction Y. An X-axis ball screw 644 extending in the horizontal direction X and an X-axis motor Mx for rotationally driving the X-axis ball screw 644 are attached to the head support member 643, and the head unit 65 is mounted on the head support member 643 in the horizontal direction X. It is fixed to the nut of the X-axis ball screw 644 in a state of being movably supported. Therefore, the Y-axis motor My rotates the Y-axis ball screw 642 to move the head unit 65 in the horizontal direction Y, or the X-axis motor Mx rotates the X-axis ball screw 644 to move the head unit 65 in the horizontal direction X. be able to.

一対のコンベア62、62の水平方向Yの両側それぞれでは、2つの部品供給部66が水平方向Xに並んでいる。各部品供給部66に対しては、複数のテープフィーダー661が水平方向Xに並んで着脱可能に装着されており、各テープフィーダー661には、集積回路、トランジスター、コンデンサ等の小片状の部品を所定間隔おきに収納したキャリアテープが装填されている。そして、テープフィーダー661は、キャリアテープをヘッドユニット65側に間欠的に送り出すことによって、キャリアテープ内の部品を供給する。 On both sides of the pair of conveyors 62 and 62 in the horizontal direction Y, two component supply units 66 are arranged in the horizontal direction X. A plurality of tape feeders 661 are detachably attached to each component supply unit 66 side by side in the horizontal direction X, and each tape feeder 661 has small pieces such as integrated circuits, transistors, and capacitors. Is loaded with carrier tape that stores the paper at regular intervals. Then, the tape feeder 661 supplies the components in the carrier tape by intermittently feeding the carrier tape to the head unit 65 side.

ヘッドユニット65は、水平方向Xに直線状に並ぶ複数(4本)の実装ヘッド651を有する。各実装ヘッド651はZ軸モーターMzからの駆動力を受けて鉛直方向Zに昇降可能である。そして、各実装ヘッド651は下端に取り付けられたノズルを用いて、部品供給部66により供給された部品を実装作業位置Boに支持される基板Bに移載する(実装動作)。具体的には、実装ヘッド651はテープフィーダー661が送り出す部品の直上へ移動する。そして、実装ヘッド651は、ノズルの下端が部品の上端面に接するまで下降してからノズル内に負圧を発生させることで、ノズルに部品を吸着する。続いて、実装ヘッド651は吸着した部品を、実装作業位置Boの基板Bに移載する。 The head unit 65 has a plurality (4) mounting heads 651 that are linearly arranged in the horizontal direction X. Each mounting head 651 can move up and down in the vertical direction Z by receiving a driving force from the Z-axis motor Mz. Then, each mounting head 651 uses a nozzle attached to the lower end to transfer the components supplied by the component supply unit 66 to the substrate B supported by the mounting work position Bo (mounting operation). Specifically, the mounting head 651 moves directly above the component sent by the tape feeder 661. Then, the mounting head 651 descends until the lower end of the nozzle comes into contact with the upper end surface of the component, and then generates a negative pressure in the nozzle to attract the component to the nozzle. Subsequently, the mounting head 651 transfers the attracted component to the substrate B at the mounting work position Bo.

また、ヘッドユニット65には、水平方向Xに移動可能なスキャンカメラ67が取り付けられている。このスキャンカメラ67はスキャンモーターMnからの駆動力により水平方向Xに移動しつつ、実装ヘッド651による部品の吸着状態を撮像する。 Further, a scan camera 67 that can move in the horizontal direction X is attached to the head unit 65. The scan camera 67 moves in the horizontal direction X by the driving force from the scan motor Mn, and images the suction state of the component by the mounting head 651.

そして、上述の各モーターMx、My、Mz、Mn、Mw、Mc、Mpを制御するために、図1に示したモーターコントロールシステム1が部品実装機6の制御部600に搭載されている。具体的には、演算部610にシステムコントローラー2が構築され、駆動制御部630にACサーボドライバー3Aおよびステッピングドライバー4Aが実装されている。これに対して、モーターMx、My、Mz、Mnは、ACサーボモーターMaであり、モーターMw、Mc、Mpは、ステッピングモーターMsである。そこで、ACサーボドライバー3Aがシステムコントローラー2からのコマンドCに基づきモーターMx、My、Mz、Mnを制御し、ステッピングドライバー4Aがシステムコントローラー2からのコマンドCに基づきモーターMw、Mc、Mpを制御する。なお、ACサーボドライバー3Aおよびステッピングドライバー4Aそれぞれの軸数は、モーターの個数に応じて拡張されている。 Then, in order to control each of the above-mentioned motors Mx, My, Mz, Mn, Mw, Mc, and Mp, the motor control system 1 shown in FIG. 1 is mounted on the control unit 600 of the component mounting machine 6. Specifically, the system controller 2 is constructed in the calculation unit 610, and the AC servo driver 3A and the stepping driver 4A are mounted in the drive control unit 630. On the other hand, the motors Mx, My, Mz, and Mn are AC servomotors Ma, and the motors Mw, Mc, and Mp are stepping motors Ms. Therefore, the AC servo driver 3A controls the motors Mx, My, Mz, and Mn based on the command C from the system controller 2, and the stepping driver 4A controls the motors Mw, Mc, and Mp based on the command C from the system controller 2. .. The number of axes of each of the AC servo driver 3A and the stepping driver 4A is expanded according to the number of motors.

このように本実施形態では、モーターコントロールシステム1が本発明の「モーターコントロールシステム」の一例に相当し、システムコントローラー2が本発明の「制御装置」の一例に相当し、ACサーボドライバー3A、3Bのそれぞれが本発明の「第1ドライバー」の一例に相当し、ステッピングドライバー4A、4Bのそれぞれが本発明の「第2ドライバー」の一例に相当し、ACサーボモーターMaが本発明の「第1モーター」の一例に相当し、ステッピングモーターMsが本発明の「第2モーター」の一例に相当し、 フィールドバスコントローラー31が本発明の「受信部」の一例に相当し、フィールドバスコントローラー31が高速通信経路Nhを介して通信を行う第1通信速度(高通信速度)が本発明の「第1通信速度」の一例に相当し、CPU32が本発明の「制御部」の一例に相当し、シリアル通信部34が本発明の「送信部」の一例に相当し、シリアル通信部34が低速通信経路Nlを介して通信を行う第2通信速度(低通信速度)が本発明の「第2通信速度」の一例に相当し、コマンド変換部322が本発明の「変換部」の一例に相当し、コマンドCが本発明の「コマンド」の一例に相当し、プロファイル情報Ipが本発明の「プロファイル情報」の一例に相当し、 逐次動作情報Itが本発明の「逐次動作情報」の一例に相当し、動作期間Tmが本発明の「所定期間」の一例に相当し、動作プロファイルPmが本発明の「動作プロファイル」の一例に相当し、微小時間tが本発明の「単位時間」の一例に相当し、部品実装機6が本発明の「部品実装機」の一例に相当し、コンベア62、62とバックアップ部63とが協働して本発明の「基板搬送部」の一例として機能し、実装ヘッド651が本発明の「実装ヘッド」の一例に相当し、部品供給部66が本発明の「部品供給部」の一例に相当し、基板Bが本発明の「基板」の一例に相当し、実装作業位置Boが本発明の「所定位置」の一例に相当する。 As described above, in the present embodiment, the motor control system 1 corresponds to an example of the "motor control system" of the present invention, the system controller 2 corresponds to an example of the "control device" of the present invention, and the AC servo drivers 3A and 3B. Each of the above corresponds to an example of the "first driver" of the present invention, each of the stepping drivers 4A and 4B corresponds to an example of the "second driver" of the present invention, and the AC servomotor Ma corresponds to the "first" of the present invention. The stepping motor Ms corresponds to an example of the "second motor" of the present invention, the field bus controller 31 corresponds to an example of the "receiver" of the present invention, and the field bus controller 31 corresponds to a high speed. The first communication speed (high communication speed) for communicating via the communication path Nh corresponds to an example of the "first communication speed" of the present invention, the CPU 32 corresponds to an example of the "control unit" of the present invention, and serial. The communication unit 34 corresponds to an example of the "transmission unit" of the present invention, and the second communication speed (low communication speed) at which the serial communication unit 34 communicates via the low-speed communication path Nl is the "second communication speed" of the present invention. The command conversion unit 322 corresponds to an example of the "conversion unit" of the present invention, the command C corresponds to an example of the "command" of the present invention, and the profile information Ip corresponds to the "profile information" of the present invention. The sequential operation information It corresponds to an example of the "sequential operation information" of the present invention, the operation period Tm corresponds to an example of the "predetermined period" of the present invention, and the operation profile Pm corresponds to the present invention. The minute time t corresponds to an example of the "unit time" of the present invention, the component mounting machine 6 corresponds to an example of the "component mounting machine" of the present invention, and the conveyors 62 and 62 correspond to an example of the "operation profile". And the backup unit 63 cooperate to function as an example of the "board transfer unit" of the present invention, the mounting head 651 corresponds to an example of the "mounting head" of the present invention, and the component supply unit 66 corresponds to the "mounting head" of the present invention. The substrate B corresponds to an example of the "board" of the present invention, and the mounting work position Bo corresponds to an example of the "predetermined position" of the present invention.

なお、本発明は上記実施形態に限定されるものではなく、その趣旨を逸脱しない限りにおいて上述したものに対して種々の変更を加えることが可能である。例えば、図1の例では、モーターコントロールシステム1に2個のACサーボドライバー3A、3Bが設けられていた。しかしながら、モーターコントロールシステム1におけるACサーボドライバーの個数は2個に限られず、1個でも良いし、3個以上でも良い。 The present invention is not limited to the above-described embodiment, and various modifications can be made to the above-described one without departing from the spirit of the present invention. For example, in the example of FIG. 1, the motor control system 1 is provided with two AC servo drivers 3A and 3B. However, the number of AC servo drivers in the motor control system 1 is not limited to two, and may be one or three or more.

また、図1の例では、モーターコントロールシステム1に2個のステッピングドライバー4A、4Bが設けられていた。しかしながら、モーターコントロールシステム1におけるステッピングドライバーの個数は2個に限られず、1個でも良いし、3個以上でも良い。 Further, in the example of FIG. 1, the motor control system 1 is provided with two stepping drivers 4A and 4B. However, the number of stepping drivers in the motor control system 1 is not limited to two, and may be one or three or more.

また、図1の例では、1個のACサーボドライバー3Aに対して1個のステッピングドライバー4Aが設けられていた。しかしながら、対応するACサーボドライバーとステッピングドライバーとの個数の関係は、1対1に限られず、例えば1対2以上であっても良い。 Further, in the example of FIG. 1, one stepping driver 4A is provided for one AC servo driver 3A. However, the relationship between the number of the corresponding AC servo drivers and the stepping drivers is not limited to one-to-one, and may be, for example, one-to-two or more.

さらに、ACサーボドライバー3A、3Bのそれぞれが制御するACサーボモーターMaの個数(軸数)や、ステッピングドライバー4A、4Bのそれぞれが制御するステッピングモーターMsの個数(軸数)を適宜変更しても良い。 Further, even if the number of AC servomotors Ma controlled by each of the AC servo drivers 3A and 3B (number of axes) and the number of stepping motors Ms controlled by each of the stepping drivers 4A and 4B (number of axes) are appropriately changed. good.

また、ACサーボモーターMaに代えて他の種類のモーターを用いても良いし、ステッピングモーターMsに代えて他の種類のモーター(例えばボイスコイルモーター)を用いても良い。この際、モーターの種類の変更に応じて、ドライバーの種類を変更すれば良い。 Further, another type of motor may be used instead of the AC servo motor Ma, or another type of motor (for example, a voice coil motor) may be used instead of the stepping motor Ms. At this time, the type of driver may be changed according to the change of the type of motor.

また、モーターコントロールシステム1を適用可能な装置は、上記に例示した部品実装機6に限られない。 Further, the device to which the motor control system 1 can be applied is not limited to the component mounting machine 6 exemplified above.

1…モーターコントロールシステム、2…システムコントローラー(制御装置)、3A、3B…ACサーボドライバー(第1ドライバー)、31…フィールドバスコントローラー(受信部)、32…CPU(制御部)、321…サーボコントローラー、322…コマンド変換部(変換部)、34…シリアル通信部(送信部)、4A、4B…ステッピングドライバー(第2ドライバー)、6…部品実装機、62…コンベア(基板搬送部)、63…バックアップ部(基板搬送部)、651…実装ヘッド、66…部品供給部、Ma…ACサーボモーター(第1モーター)、Ms…ステッピングモーター(第2モーター)、C…コマンド、Ip…プロファイル情報、It…逐次動作情報、Tm…動作期間(所定期間)、Pm…動作プロファイル、t…微小時間(単位時間)、B…基板、Bo…実装作業位置(所定位置)
1 ... Motor control system, 2 ... System controller (control device), 3A, 3B ... AC servo driver (first driver), 31 ... Field bus controller (receiver), 32 ... CPU (control unit), 321 ... Servo controller , 322 ... Command conversion unit (conversion unit), 34 ... Serial communication unit (transmission unit), 4A, 4B ... Stepping driver (second driver), 6 ... Parts mounting machine, 62 ... Conveyor (board transfer unit), 63 ... Backup unit (board transfer unit), 651 ... mounting head, 66 ... parts supply unit, Ma ... AC servo motor (first motor), Ms ... stepping motor (second motor), C ... command, Ip ... profile information, It ... Sequential operation information, Tm ... Operation period (predetermined period), Pm ... Operation profile, t ... Minute time (unit time), B ... Board, Bo ... Mounting work position (predetermined position)

Claims (6)

所定期間におけるモーターの動作を示す動作プロファイルを規定するプロファイル情報と、前記動作プロファイルが示すモーターの動作を前記所定期間より短い単位時間毎に逐次示す逐次動作情報とを含むコマンドを生成する制御装置と、
第1モーターを制御する第1ドライバーと、
第2モーターを制御する第2ドライバーと
を備え、
前記第1ドライバーは、前記制御装置から前記コマンドを第1通信速度で受信する受信部と、前記受信部が受信した前記第1モーターに対する前記コマンドに含まれる前記逐次動作情報に基づき前記第1モーターを制御する制御部と、前記受信部が受信した前記第2モーターに対する前記コマンドに含まれる前記プロファイル情報を前記第2ドライバーに前記第1通信速度より低い第2通信速度で送信する送信部とを有し、
前記第2ドライバーは、前記第1ドライバーの前記送信部から受信した前記プロファイル情報に基づき前記第2モーターを制御するモーターコントロールシステム。
A control device that generates a command including profile information that defines an operation profile indicating the operation of the motor in a predetermined period and sequential operation information that sequentially indicates the operation of the motor indicated by the operation profile at unit times shorter than the predetermined period. ,
The first driver that controls the first motor and
Equipped with a second driver to control the second motor
The first driver has a receiving unit that receives the command from the control device at the first communication speed, and the first motor based on the sequential operation information included in the command for the first motor received by the receiving unit. A control unit that controls the above, and a transmission unit that transmits the profile information included in the command to the second motor received by the reception unit to the second driver at a second communication speed lower than the first communication speed. Have and
The second driver is a motor control system that controls the second motor based on the profile information received from the transmission unit of the first driver.
前記第1ドライバーは、前記プロファイル情報の前記動作プロファイルの規定態様を前記第2ドライバー用に変換する変換部をさらに有し、前記送信部は、前記変換部により変換された前記プロファイル情報を前記第2ドライバーに送信する請求項1に記載のモーターコントロールシステム。 The first driver further has a conversion unit that converts a defined mode of the operation profile of the profile information for the second driver, and the transmission unit converts the profile information converted by the conversion unit into the first driver. 2 The motor control system according to claim 1, which is transmitted to the driver. 前記送信部は、前記変換部により変換された前記プロファイル情報をシリアル通信により前記第2ドライバーに送信する請求項1または2に記載のモーターコントロールシステム。 The motor control system according to claim 1 or 2, wherein the transmission unit transmits the profile information converted by the conversion unit to the second driver by serial communication. 前記制御装置は、前記プロファイル情報を算出してから、前記プロファイル情報に基づき前記逐次動作情報を算出する請求項1ないし3のいずれか一項に記載のモーターコントロールシステム。 The motor control system according to any one of claims 1 to 3, wherein the control device calculates the profile information and then calculates the sequential operation information based on the profile information. 基板を所定位置に搬入して前記基板を前記所定位置に支持する搬入動作と、前記基板を前記所定位置から搬出する搬出動作とを実行する基板搬送部と、
部品を供給する部品供給部と、
前記基板搬送部により前記所定位置に支持される前記基板に、前記部品供給部により供給された部品を移載する実装動作を実行する実装ヘッドと、
前記実装ヘッドを駆動する第1モーターと、
前記基板搬送部を駆動する第2モーターと、
請求項1ないし4のいずれか一項に記載のモーターコントロールシステムと
を備え、
前記モーターコントロールシステムは、前記第1モーターを制御することで前記実装ヘッドに前記実装動作を実行させるとともに、前記第2モーターを制御することで前記基板搬送部に前記搬入動作および前記搬出動作を実行させる部品実装機。
A board transport unit that executes a carry-in operation of carrying the board into a predetermined position to support the board at the predetermined position and a carry-out operation of carrying out the board from the predetermined position.
The parts supply unit that supplies parts and
A mounting head that executes a mounting operation for transferring the components supplied by the component supply unit onto the board supported at the predetermined position by the board transport unit.
The first motor that drives the mounting head and
The second motor that drives the board transfer unit and
The motor control system according to any one of claims 1 to 4 is provided.
By controlling the first motor, the motor control system causes the mounting head to execute the mounting operation, and by controlling the second motor, the board transport unit executes the loading operation and the unloading operation. Parts mounting machine to be made to.
所定期間におけるモーターの動作を示す動作プロファイルを規定するプロファイル情報と、前記動作プロファイルが示すモーターの動作を前記所定期間より短い単位時間毎に逐次示す逐次動作情報とを含むコマンドを生成する工程と、
第1ドライバーが前記コマンドを第1通信速度で受信する工程と、
第1モーターに対する前記コマンドに含まれる前記逐次動作情報に基づき前記第1ドライバーが前記第1モーターを制御する工程と、
第2モーターに対する前記コマンドに含まれる前記プロファイル情報を、前記第1ドライバーが第2ドライバーに前記第1通信速度より低い第2通信速度で送信する工程と、
前記第2ドライバーが前記プロファイル情報に基づき前記第2モーターを制御する工程と
を備えるモーター制御方法。
A step of generating a command including profile information that defines an operation profile indicating the operation of the motor in a predetermined period and sequential operation information that sequentially indicates the operation of the motor indicated by the operation profile at unit times shorter than the predetermined period.
The process in which the first driver receives the command at the first communication speed,
A process in which the first driver controls the first motor based on the sequential operation information included in the command for the first motor.
A step in which the first driver transmits the profile information included in the command to the second motor to the second driver at a second communication speed lower than the first communication speed.
A motor control method including a step in which the second driver controls the second motor based on the profile information.
JP2017002751A 2017-01-11 2017-01-11 Motor control system, component mounting machine, motor control method Active JP6786405B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017002751A JP6786405B2 (en) 2017-01-11 2017-01-11 Motor control system, component mounting machine, motor control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017002751A JP6786405B2 (en) 2017-01-11 2017-01-11 Motor control system, component mounting machine, motor control method

Publications (2)

Publication Number Publication Date
JP2018113780A JP2018113780A (en) 2018-07-19
JP6786405B2 true JP6786405B2 (en) 2020-11-18

Family

ID=62912577

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017002751A Active JP6786405B2 (en) 2017-01-11 2017-01-11 Motor control system, component mounting machine, motor control method

Country Status (1)

Country Link
JP (1) JP6786405B2 (en)

Also Published As

Publication number Publication date
JP2018113780A (en) 2018-07-19

Similar Documents

Publication Publication Date Title
US20180164788A1 (en) Production system, controller, and control method
US10300605B2 (en) Robot, controller, and robot system
JP4100557B2 (en) Motor drive device, motor drive control method, and component mounting apparatus using the same
JP2006216051A (en) Method to divide relative movement between unprocessed workpiece and tool of machine tool
JP4490022B2 (en) POSITIONING CONTROL METHOD, POSITIONING CONTROL DEVICE, AND ELECTRONIC COMPONENT MOUNTING DEVICE USING THE SAME
CN105706012B (en) Servo controller
US9694986B2 (en) Transport device and transport method for transporting a fragile object
JP6786405B2 (en) Motor control system, component mounting machine, motor control method
JP2010067704A (en) Operation control method and apparatus for operating to circuit board
JP4436809B2 (en) Laser processing system
JP6399575B2 (en) Component mounter controller
JP2018126838A (en) Transmission device and working robot
JP4682907B2 (en) Motor control device
KR20110059713A (en) A method for controlling the movement of an apparatus, in particular a place tool of a die bonder
JP4737205B2 (en) Method and apparatus for controlling component mounter
JP5980042B2 (en) Conveying apparatus control method and conveying system
JP2019088099A (en) Motor controller, control system and motor control method
CN105580324B (en) Control device
JP3773303B2 (en) Component supply unit positioning method
JP5330986B2 (en) Component mounting apparatus, control method and program for component mounting apparatus
KR20230096607A (en) Robot movement position synchronous output robot control device
JPH10112599A (en) Electronic component-mounting apparatus and method for the apparatus
JP2000036700A (en) Method for mounting part and its device
JP2001168597A (en) Electronic-component mounting machine and motor control device therefor

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20170714

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190905

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: 20201027

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201028

R150 Certificate of patent or registration of utility model

Ref document number: 6786405

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250