[go: up one dir, main page]

TWI777395B - Positioning control device and positioning method - Google Patents

Positioning control device and positioning method Download PDF

Info

Publication number
TWI777395B
TWI777395B TW110103444A TW110103444A TWI777395B TW I777395 B TWI777395 B TW I777395B TW 110103444 A TW110103444 A TW 110103444A TW 110103444 A TW110103444 A TW 110103444A TW I777395 B TWI777395 B TW I777395B
Authority
TW
Taiwan
Prior art keywords
position command
positioning
value
acceleration
motor
Prior art date
Application number
TW110103444A
Other languages
Chinese (zh)
Other versions
TW202139587A (en
Inventor
木村将哉
松田辰啓
Original Assignee
日商三菱電機股份有限公司
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 日商三菱電機股份有限公司 filed Critical 日商三菱電機股份有限公司
Publication of TW202139587A publication Critical patent/TW202139587A/en
Application granted granted Critical
Publication of TWI777395B publication Critical patent/TWI777395B/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • G05B13/02Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D3/00Control of position or direction
    • G05D3/12Control of position or direction using feedback

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Artificial Intelligence (AREA)
  • Control Of Position Or Direction (AREA)
  • Feedback Control In General (AREA)
  • Automatic Control Of Machine Tools (AREA)
  • Vehicle Body Suspensions (AREA)
  • Paper (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

A positioning control device of the present application comprises a position command generating unit, a drive control unit, an evaluation unit and a learning unit. The position command generating unit generates a position command for independently determining the shape of acceleration of an accelerating section and a decelerating section according to a position command parameter. The drive control unit drives a motor in such a manner that the position of the motor follows the position command. The evaluation unit obtains a detection value of acceleration of a controlled object, and calculates an evaluation value related to a positioning performance of the controlled object according to the position of the motor and the detection value of acceleration after deciding the positioning control is completed. The learning unit obtains the relation of the position command parameter and the evaluation value.

Description

定位控制裝置及定位方法Positioning control device and positioning method

本揭示係有關針對控制對象進行定位控制的定位控制裝置及定位方法。The present disclosure relates to a positioning control device and a positioning method for performing positioning control on a control object.

在電子零件構裝機或半導體製造裝置之類藉由伺服馬達(servo motor)的驅動使屬於控制對象的工作頭(head)反覆移動的裝置中,為了生產性能的提升而對伺服馬達要求高速的控制。當伺服馬達高速地動作時,便會有發生因裝置的剛性低而引起的機械振動。此時,若適當地調整伺服馬達的位置指令的指令形狀,則即使在受到機械振動影響的狀況下,仍可實現高速的定位控制。因此,要求適當地調整位置指令的指令形狀。In devices such as electronic component builders and semiconductor manufacturing devices that repeatedly move a head belonging to a control object by driving a servo motor, high-speed control of the servo motor is required to improve production performance. . When the servo motor operates at high speed, mechanical vibration occurs due to the low rigidity of the device. At this time, if the command shape of the position command of the servo motor is appropriately adjusted, high-speed positioning control can be realized even under the influence of mechanical vibration. Therefore, it is required to appropriately adjust the command shape of the position command.

下述之專利文獻1揭示:為了減輕機器人(robot)的移動路徑上的振動,而以使機器人的移動動作中的控制對象的加速度的振動成為最小的方式調整指令形狀的技術。在該專利文獻1中,係給定指令形狀的參數(parameter)並以定位動作進行時的振動值為變數來計算評估函數,且一面略為變更參數一面求取評估值,以找出機器人的移動路徑上的振動的大小成為最小的指令形狀。 (先前技術文獻) (專利文獻)The following Patent Document 1 discloses a technique of adjusting the command shape so as to minimize the vibration of the acceleration of the control object during the movement of the robot in order to reduce the vibration on the movement path of the robot. In this patent document 1, the parameter of the command shape is given and the vibration value when the positioning operation is performed is used as a variable to calculate the evaluation function, and the evaluation value is obtained while changing the parameters slightly to find out the movement of the robot. The magnitude of the vibration on the path becomes the smallest command shape. (prior art literature) (patent literature)

專利文獻1:日本專利公開公報特開平10-143249號Patent Document 1: Japanese Patent Laid-Open Publication No. Hei 10-143249

(發明所欲解決之課題)(The problem to be solved by the invention)

然而,在前述專利文獻1所述之技術中,要在參數與評估值的關係不明的狀況下使評估值收斂係必須縮減參數的變更幅度,惟當參數的變更幅度過小,便有定位動作的次數大幅增加以致調整耗費時間的問題。此外,會有容易陷於局部最佳解而無法達到真正的最佳解的可能性。However, in the technique described in the aforementioned Patent Document 1, in order to make the evaluation value converge in a situation where the relationship between the parameter and the evaluation value is unclear, it is necessary to reduce the parameter change width. However, when the parameter change width is too small, the positioning operation may be difficult. The number of times has increased so much that adjustments are time-consuming. In addition, there is the possibility of being easily trapped in local optimal solutions and failing to reach the true optimal solution.

本揭示有鑒於上述情事而研創,目的在於獲得一種能夠以比習知技術少的嘗試次數來調整抑制控制對象的振動之位置指令的參數的定位控制裝置。 (解決課題的手段)The present disclosure has been developed in view of the above-mentioned circumstances, and an object of the present disclosure is to obtain a positioning control device capable of adjusting the parameters of the position command for suppressing the vibration of the control object with a smaller number of attempts than the prior art. (Means of Solving Problems)

為了解決上述課題並達成目的,本揭示的定位控制裝置為驅動一個以上的馬達以使控制對象移動至目標位置的定位控制裝置。定位控制裝置係具備:位置指令生成部、驅動控制部、評估部及學習部。位置指令生成部係根據位置指令參數來生成用以獨立地決定加速區間及減速區間的加速度的形狀的位置指令。驅動控制部係以使表示馬達的位置的馬達位置跟隨位置指令的方式驅動馬達。評估部係從加速度檢測部取得顯示控制對象的加速度的加速度檢測值,且根據馬達位置及在根據馬達位置而判定定位控制完成後的加速度檢測值,來算出與控制對象的定位性能相關的評估值。學習部係獨立地變更根據位置指令參數所決定之加速區間與減速區間中之位置指令的加速度之形狀的各形狀,並且學習在執行了複數次定位控制之情形時的位置指令參數與評估值之關係,而獲得位置指令參數與評估值之關係式。 (發明的效果)In order to solve the above-mentioned problems and achieve the object, the positioning control device of the present disclosure is a positioning control device that drives one or more motors to move a control object to a target position. The positioning control device includes a position command generation unit, a drive control unit, an evaluation unit, and a learning unit. The position command generation unit generates a position command for independently determining the shape of the acceleration in the acceleration section and the deceleration section based on the position command parameter. The drive control unit drives the motor so that the motor position indicating the position of the motor follows the position command. The evaluation unit acquires an acceleration detection value indicating the acceleration of the controlled object from the acceleration detection unit, and calculates an evaluation value related to the positioning performance of the controlled object based on the motor position and the acceleration detection value after the completion of the positioning control is determined based on the motor position . The learning section independently changes each shape of the acceleration shape of the position command in the acceleration section and the deceleration section determined according to the position command parameter, and learns the difference between the position command parameter and the evaluation value when the positioning control is executed a plurality of times. relationship, and obtain the relationship between the position command parameter and the evaluation value. (effect of invention)

本揭示的定位控制裝置係達成能夠以比習知技術較少的嘗試次數來調整抑制控制對象之振動的位置指令的參數。The positioning control device of the present disclosure achieves that the parameters of the position command for suppressing the vibration of the control object can be adjusted with a smaller number of attempts than the prior art.

以下,根據圖式詳細說明本揭示的實施型態的定位控制裝置及定位方法。另外,本揭示並不受下述實施型態所限定。Hereinafter, the positioning control device and the positioning method according to the embodiments of the present disclosure will be described in detail with reference to the drawings. In addition, the present disclosure is not limited to the following embodiments.

實施型態1. 圖1係示意性顯示實施型態1的定位控制裝置之構成的一例之圖。定位控制裝置10為驅動馬達1以使控制對象3移動至目標位置的裝置,並連接於馬達1與加速度檢測器4。馬達1係經由滾珠螺桿2將扭矩(torque)及推力賦予至控制對象3以使控制對象3移動。馬達1只要為可驅動控制對象3者即可。馬達1的例子有旋轉型伺服馬達、線性(linear)馬達或步進(stepping)馬達。Implementation type 1. FIG. 1 is a diagram schematically showing an example of the configuration of the positioning control device according to the first embodiment. The positioning control device 10 is a device that drives the motor 1 to move the control object 3 to a target position, and is connected to the motor 1 and the acceleration detector 4 . The motor 1 applies torque and thrust to the controlled object 3 via the ball screw 2 to move the controlled object 3 . The motor 1 only needs to be capable of driving the control objects 3 . Examples of the motor 1 are a rotary servo motor, a linear motor, or a stepping motor.

控制對象3係藉由馬達1而被移動至所期望的目標位置。控制對象3為需要進行定位控制的機械或零件。控制對象3的例子有電子零件構裝機或半導體製造裝置的工作頭部分。The control object 3 is moved to a desired target position by the motor 1 . The control object 3 is a machine or part that needs to be positioned and controlled. An example of the control object 3 is an electronic component mounting machine or a head portion of a semiconductor manufacturing apparatus.

加速度檢測器4係檢測控制對象3的加速度,並將顯示加速度檢測值的資訊輸出至定位控制裝置10。加速度檢測值為顯示屬於藉由加速度檢測器4所進行之檢測的結果的加速度。加速度檢測器4係對應加速度檢測部。The acceleration detector 4 detects the acceleration of the controlled object 3 , and outputs information indicating the detected acceleration value to the positioning control device 10 . The acceleration detection value shows the acceleration belonging to the result of detection by the acceleration detector 4 . The acceleration detector 4 corresponds to an acceleration detection unit.

定位控制裝置10係具備:位置指令生成部11、驅動控制部12、評估部13及學習部14。The positioning control device 10 includes a position command generation unit 11 , a drive control unit 12 , an evaluation unit 13 , and a learning unit 14 .

位置指令生成部11係根據決定位置指令的形狀的位置指令參數,來生成用以驅動馬達1以使控制對象3移動至目標位置的位置指令。位置指令生成部11係根據位置指令參數來生成用以決定加速區間及減速區間的加速度形狀的位置指令。The position command generation unit 11 generates a position command for driving the motor 1 to move the control object 3 to the target position based on the position command parameter that determines the shape of the position command. The position command generation unit 11 generates a position command for determining the acceleration shape of the acceleration section and the deceleration section based on the position command parameter.

驅動控制部12係以使顯示馬達1的位置的馬達位置跟隨藉由位置指令生成部11所生成之位置指令的方式來驅動馬達1。The drive control unit 12 drives the motor 1 so that the motor position indicating the position of the motor 1 follows the position command generated by the position command generation unit 11 .

評估部13係取得加速度檢測值,且根據馬達位置及在根據馬達位置而判定定位控制完成後的加速度檢測值,來算出與控制對象3的定位性能相關的評估值。亦即,評估部13係根據關於控制對象3的定位控制執行時的馬達位置及控制對象3的加速度檢測值,來算出用以評估驅動控制部12所進行的定位控制的好壞的評估值。The evaluation unit 13 obtains the acceleration detection value, and calculates an evaluation value related to the positioning performance of the control object 3 based on the motor position and the acceleration detection value after the completion of the positioning control is determined based on the motor position. That is, the evaluation unit 13 calculates an evaluation value for evaluating the quality of the positioning control performed by the drive control unit 12 based on the motor position and the acceleration detection value of the control object 3 when the positioning control is executed.

學習部14係於規定位置指令參數的上限值及下限值的參數範圍內變更位置指令參數,並且學習在執行複數次關於控制對象3的定位控制之情形時的位置指令參數與藉由評估部13所算出的評估值之關係。學習部14係獨立地變更根據位置指令參數所決定的加速區間與減速區間中之位置指令的加速度之形狀的各形狀,並且學習在執行複數次定位控制之情形時的位置指令參數與評估值之關係,以獲得位置指令參數與評估值之關係式。更進一步而說,學習部14係根據藉由學習而獲得的關係式來決定位置指令參數。The learning unit 14 changes the position command parameter within the parameter range that specifies the upper limit value and the lower limit value of the position command parameter, and learns the position command parameter and the evaluation by the position command parameter when the positioning control with respect to the control object 3 is executed a plurality of times. relationship between the evaluation values calculated by the section 13 . The learning unit 14 independently changes each shape of the acceleration shape of the position command in the acceleration section and the deceleration section determined based on the position command parameter, and learns the relationship between the position command parameter and the evaluation value when the positioning control is executed a plurality of times. relationship to obtain the relationship between the position command parameter and the evaluation value. More specifically, the learning unit 14 determines the position command parameter based on the relational expression obtained by learning.

以下,針對位置指令生成部11、驅動控制部12、評估部13及學習部14進一步詳細說明。Hereinafter, the position command generation unit 11 , the drive control unit 12 , the evaluation unit 13 , and the learning unit 14 will be described in further detail.

位置指令生成部11係根據位置指令參數,生成馬達1的位置指令並輸出。位置指令參數為規定位置指令的指令形狀的參數。圖2係顯示實施型態1中使用的位置指令以及從位置指令求取的速度指令、加速度指令及急動度(加加速度)(jerk)的一例之圖。圖2中,曲線圖(graph)210係顯示位置指令的一例之圖,橫軸顯示時間,縱軸顯示位置。曲線圖220為位置指令的一階微分,橫軸顯示時間,縱軸顯示速度。曲線圖230為位置指令的二階微分,橫軸顯示時間,縱軸顯示加速度。曲線圖240為加速度指令的一階微分的加加速度(亦即急動度(加加速度)),橫軸顯示時間,縱軸顯示急動度(加加速度)。The position command generation unit 11 generates and outputs a position command of the motor 1 based on the position command parameter. The position command parameter is a parameter that specifies the command shape of the position command. FIG. 2 is a diagram showing an example of a position command used in Embodiment 1, and a speed command, an acceleration command, and a jerk (jerk) obtained from the position command. In FIG. 2, a graph (graph) 210 is a graph showing an example of a position command, the horizontal axis shows time, and the vertical axis shows position. The graph 220 is the first derivative of the position command, the horizontal axis shows the time, and the vertical axis shows the speed. The graph 230 is the second derivative of the position command, the horizontal axis shows time, and the vertical axis shows acceleration. The graph 240 is the jerk (ie jerk (jerk)) of the first derivative of the acceleration command, the horizontal axis shows time, and the vertical axis shows jerk (jerk).

如圖2的曲線圖230所示,實施型態1的加速度指令在第一區間至第三區間為止中為顯示加速方向的梯形形狀之指令,在第四區間中為0,在從第五區間至第七區間為止中為顯示減速方向的梯形形狀之指令。第一區間顯示加速開始的區間,第三區間顯示加速結束的區間,第五區間顯示減速開始的區間,第七區間顯示減速結束的區間。將第m區間的時間長設為第m時間長Tm。m為1至7為止的整數。例如,第一區間的時間長為第一時間長T1。As shown in the graph 230 of FIG. 2 , the acceleration command of Embodiment 1 is a command in a trapezoidal shape indicating the acceleration direction from the first section to the third section, 0 in the fourth section, and 0 in the fifth section from the fifth section. Up to the seventh section is a trapezoidal command indicating the deceleration direction. The first section shows the section where the acceleration starts, the third section shows the section where the acceleration ends, the fifth section shows the section where the deceleration starts, and the seventh section shows the section where the deceleration ends. Let the time length of the mth section be the mth time length Tm. m is an integer from 1 to 7. For example, the time length of the first interval is the first time length T1.

在圖2的加速度指令中,從第一區間至第三區間為止的加速區間的梯形形狀與從第五區間至第七區間為止的減速區間的梯形形狀亦可不一致,亦即可為非對稱。亦可將加速區間的第一時間長T1與第三時間長T3設為0,而將加速度指令的形狀設為矩形形狀。在實施型態1中,從第一時間長T1至第七時間長T7為止的七個參數為位置指令參數。指令形狀係根據位置指令參數來規定。指令形狀的計算方法容後說明。In the acceleration command of FIG. 2 , the trapezoidal shape of the acceleration section from the first section to the third section and the trapezoidal shape of the deceleration section from the fifth section to the seventh section may not be identical, that is, asymmetrical. The first time length T1 and the third time length T3 of the acceleration section may be set to 0, and the shape of the acceleration command may be set to a rectangular shape. In Embodiment 1, the seven parameters from the first time length T1 to the seventh time length T7 are the position command parameters. The command shape is specified according to the position command parameter. The calculation method of the command shape will be explained later.

回到圖1,驅動控制部12係以使馬達1的旋轉位置跟隨位置指令的方式將電流供給至馬達1。例如,驅動控制部12係以使馬達1的旋轉位置與位置指令之偏差變小的方式,根據PID(Proportional-Integral-Differential;比例積分微分)控制來計算供給至馬達1的電流之值,並將藉由計算所得到之值的電流供給至馬達1。另外,驅動控制部12只要為使馬達1的旋轉位置跟隨位置指令者即可,可為任意者。例如,驅動控制部12亦可進行在反饋(feed back)控制外又加上前饋(feed forward)控制的雙自由度控制。Returning to FIG. 1 , the drive control unit 12 supplies current to the motor 1 so that the rotational position of the motor 1 follows the position command. For example, the drive control unit 12 calculates the value of the current supplied to the motor 1 according to PID (Proportional-Integral-Differential) control so as to reduce the deviation between the rotational position of the motor 1 and the position command, and The electric current of the value obtained by the calculation is supplied to the motor 1 . In addition, the drive control unit 12 may be any one as long as the rotational position of the motor 1 follows the position command. For example, the drive control unit 12 may perform two-degree-of-freedom control in which feed-forward control is added in addition to feedback control.

驅動控制部12亦可不以使馬達1的旋轉位置跟隨位置指令的方式來驅動馬達1,而是檢測控制對象3的位置作為用於反饋控制的信號,並以使控制對象3的位置跟隨位置指令的方式來驅動馬達1。Instead of driving the motor 1 so that the rotational position of the motor 1 follows the position command, the drive control unit 12 may detect the position of the control object 3 as a signal for feedback control, and make the position of the control object 3 follow the position command. way to drive motor 1.

評估部13係接收馬達1的馬達位置與控制對象3的加速度檢測值,並藉由後述的方法來計算用以評估驅動控制部12所為之定位控制的好壞之評估值Q並輸出。驅動控制部12係根據位置指令進行動作,位置指令係根據位置指令參數而被計算。因此,藉由評估部13所算出的評估值Q係依存於位置指令參數的值。亦即,評估值Q係可視為用以評估位置指令參數之指標。The evaluation unit 13 receives the motor position of the motor 1 and the acceleration detection value of the control object 3, calculates and outputs an evaluation value Q for evaluating the quality of the positioning control performed by the drive control unit 12 by a method described later. The drive control unit 12 operates based on the position command, and the position command is calculated based on the position command parameter. Therefore, the evaluation value Q calculated by the evaluation unit 13 depends on the value of the position command parameter. That is, the evaluation value Q can be regarded as an index for evaluating the position command parameter.

此處,說明評估值Q的具體的計算方法。圖3係顯示實施型態1中使用根據位置指令參數所生成的指令形狀來進行定位控制之情形時,位置指令與馬達位置之偏差的時間回應及控制對象的加速度檢測值的時間回應的一例之圖。曲線圖310係顯示馬達1的位置的偏差的時間回應之圖,橫軸顯示時間,縱軸顯示馬達1的位置的偏差。曲線圖320係顯示控制對象3的加速度的時間回應之圖,橫軸顯示時間,縱軸顯示控制對象3的加速度。Here, a specific calculation method of the evaluation value Q will be described. FIG. 3 shows an example of the time response of the deviation between the position command and the motor position and the time response of the acceleration detection value of the control object when the command shape generated from the position command parameter is used for positioning control in the first embodiment. picture. The graph 310 is a graph showing the time response to the deviation of the position of the motor 1 , the horizontal axis shows time, and the vertical axis shows the deviation of the position of the motor 1 . The graph 320 is a graph showing the time response of the acceleration of the control object 3 , the horizontal axis shows the time, and the vertical axis shows the acceleration of the control object 3 .

如圖3所示,將從定位控制的開始到位置指令與馬達位置之偏差的大小成為小於預定的容許值Ptol的定位完成為止的時間予以設為定位時間Tst。在定位時間Tst較小的情形時,評估值Q指示大的值的方式設定評估值Q。此外,將定位完成後的加速度檢測值的振動振幅的最大值設為加速度最大值Aamp。以在目標位置附近的加速度檢測值的振動振幅顯示較小的值的方式設定評估值Q。為了滿足上述,評估值Q係藉由下述式(1)來設定。 Q=‑Tst–w×Aamp ・・・(1)As shown in FIG. 3 , the time from the start of the positioning control to the completion of the positioning when the magnitude of the deviation between the position command and the motor position becomes smaller than the predetermined allowable value Ptol is set as the positioning time Tst. When the positioning time Tst is small, the evaluation value Q is set so that the evaluation value Q indicates a large value. In addition, let the maximum value of the vibration amplitude of the acceleration detection value after positioning completion be the acceleration maximum value Aamp. The evaluation value Q is set so that the vibration amplitude of the acceleration detection value in the vicinity of the target position shows a small value. In order to satisfy the above, the evaluation value Q is set by the following formula (1). Q=‑Tst–w×Aamp ・・・(1)

在式(1)中,w為加權係數且設為正值。依據式(1),定位時間Tst愈小,評估值Q的值會愈大。此外,定位完成後的加速度最大值Aamp愈小,評估值Q的值會愈大。亦即,在實施型態1中,評估值Q為愈大之值,位置指令參數可視為愈優良。惟評估值Q只要是可評估定位控制的性能者即可,並不限定於藉由式(1)所定義者。例如,亦可將定位時間Tst與加速度最大值Aamp之和設為評估值Q,並決定評估值Q為愈小之值則位置指令參數愈優良。此外,亦可為只在加速度最大值Aamp超過加速度振幅的容許值之情形時作為損失(penalty)並與評估值Q相加。再者,亦可將在從定位完成的時點起經過一定時間後的時間中之加速度的最大值作為加速度最大值Aamp來使用於式(1)的計算。In Equation (1), w is a weighting coefficient and is set to a positive value. According to formula (1), the smaller the positioning time Tst is, the larger the value of the evaluation value Q will be. In addition, the smaller the maximum acceleration value Aamp after positioning is completed, the larger the value of the evaluation value Q will be. That is, in Embodiment 1, the larger the evaluation value Q is, the better the position command parameter can be. However, as long as the evaluation value Q can evaluate the performance of the positioning control, it is not limited to the one defined by the formula (1). For example, the sum of the positioning time Tst and the acceleration maximum value Aamp may be set as the evaluation value Q, and it is determined that the smaller the evaluation value Q is, the better the position command parameter is. In addition, only when the acceleration maximum value Aamp exceeds the allowable value of the acceleration amplitude may be added to the evaluation value Q as a penalty. In addition, the maximum value of the acceleration in the time after a certain time has elapsed from the time when positioning is completed may be used as the maximum acceleration value Aamp for the calculation of the formula (1).

回到圖1,學習部14係以評估值Q為輸入,以學習位置指令參數與評估值Q之關係。具體而言,在學習部14中,構成有以位置指令參數作為輸入且以評估值Q作為輸出的類神經網路,學習部14係更新類神經網路的加權係數來進行學習。在更新加權係數進行學習之情形時,類神經網路係輸出對應於位置指令參數之評估值Q的良好的推測值。Returning to FIG. 1 , the learning unit 14 takes the evaluation value Q as an input, and learns the relationship between the position command parameter and the evaluation value Q. Specifically, the learning unit 14 includes a neural-like network that takes the position command parameter as an input and the evaluation value Q as an output, and the learning unit 14 performs learning by updating the weighting coefficients of the neural-like network. In the case of updating the weighting coefficients for learning, the neural-like network outputs a good guess corresponding to the evaluation value Q of the position command parameter.

學習部14係使用類神經網路,獲得以位置指令參數作為輸入且以評估值Q作為輸出的函數,藉此獲得位置指令參數與評估值Q之關係式作為學習結果。學習部14只要可學習位置指令參數與評估值Q之關係,則亦可藉由使用類神經網路的方法以外的方法來學習位置指令參數與評估值Q之關係。The learning unit 14 uses a neural network-like network to obtain a function that takes the position command parameter as an input and the evaluation value Q as an output, thereby obtaining a relationship between the position command parameter and the evaluation value Q as a learning result. As long as the learning unit 14 can learn the relationship between the position command parameter and the evaluation value Q, the relationship between the position command parameter and the evaluation value Q may be learned by a method other than the method using a neural network-like method.

學習部14係從所規定的參數範圍中,選出用以執行下一次定位控制之位置指令參數並輸出。學習部14係在下一個位置指令參數的選出時,可根據藉由學習而得的函數來選出顯示優良的評估值Q的位置指令參數,亦可從等間隔劃分各位置指令參數的網格(grid)點中依序選出位置指令參數。學習部14係具有根據位置指令參數來更新用以計算評估值Q的函數之功能。The learning unit 14 selects and outputs the position command parameter for executing the next positioning control from the predetermined parameter range. When selecting the next position command parameter, the learning unit 14 may select a position command parameter showing a good evaluation value Q based on a function obtained by learning, or may divide a grid (grid) of each position command parameter at equal intervals. ) points to select the position command parameters in sequence. The learning unit 14 has a function of updating the function for calculating the evaluation value Q based on the position command parameter.

更進一步說明實施型態1的定位控制裝置10的功能。學習部14係在由參數範圍所決定的範圍內決定一組的位置指令參數,並將所決定的位置指令參數輸出至位置指令生成部11。位置指令生成部11係根據所輸入的位置指令參數來計算位置指令。The function of the positioning control device 10 of Embodiment 1 will be further described. The learning unit 14 determines a set of position command parameters within the range determined by the parameter range, and outputs the determined position command parameters to the position command generation unit 11 . The position command generation unit 11 calculates a position command based on the input position command parameters.

說明位置指令的計算方法。將第二區間的加速度的大小定為Aa、將第六區間的加速度的大小定為Ad。第二區間的加速度的大小Aa與第六區間的加速度的大小Ad為位置指令參數的因變數,故此該等並無設定自由度。位置指令生成部11係使用下述式(2)、式(3)及式(4)來分別計算「0≦t<T1」範圍的時間t中的第一區間的加速度指令A1(t)、速度指令V1(t)及位置指令P1(t)。Describes the calculation method of the position command. The magnitude of the acceleration in the second section is Aa, and the magnitude of the acceleration in the sixth section is Ad. The magnitude Aa of the acceleration in the second section and the magnitude Ad of the acceleration in the sixth section are dependent variables of the position command parameter, so these have no set degrees of freedom. The position command generation unit 11 uses the following equations (2), (3), and (4) to calculate the acceleration command A1(t), Speed command V1(t) and position command P1(t).

[數1]

Figure 02_image001
[Number 1]
Figure 02_image001

[數2]

Figure 02_image003
[Number 2]
Figure 02_image003

[數3]

Figure 02_image005
[Number 3]
Figure 02_image005

位置指令生成部11係使用下述式(5)、式(6)及式(7)來分別計算「T1≦t<T1+T2」範圍中的時間t的第二區間的加速度指令A2(t)、速度指令V2(t)及位置指令P2(t)。 A2(t)=Aa ・・・(5)The position command generation unit 11 calculates the acceleration command A2(t) in the second section of the time t in the range of "T1≦t<T1+T2" using the following equations (5), (6), and (7), respectively. ), speed command V2(t) and position command P2(t). A2(t)=Aa ・・・(5)

[數4]

Figure 02_image007
[Number 4]
Figure 02_image007

[數5]

Figure 02_image009
[Number 5]
Figure 02_image009

位置指令生成部11係使用下述式(8)、式(9)及式(10)來分別計算「T1+T2≦t<T1+T2+T3」範圍的時間t中的第三區間的加速度指令A3(t)、速度指令V3(t)及位置指令P3(t)。The position command generation unit 11 uses the following equations (8), (9), and (10) to calculate the acceleration of the third section in the time t in the range of "T1+T2≦t<T1+T2+T3", respectively Command A3(t), speed command V3(t) and position command P3(t).

[數6]

Figure 02_image011
[Number 6]
Figure 02_image011

[數7]

Figure 02_image013
[Number 7]
Figure 02_image013

[數8]

Figure 02_image015
[Number 8]
Figure 02_image015

位置指令生成部11係使用下述式(11)、式(12)及式(13)來分別計算「T1+T2+T3≦t<T1+T2+T3+T4」範圍的時間t中的第四區間的加速度指令A4(t)、速度指令V4(t)及位置指令P4(t)。 A4(t)=0 ・・・(11)The position command generation unit 11 uses the following equations (11), (12), and (13) to calculate the time t in the range of "T1+T2+T3≦t<T1+T2+T3+T4", respectively. Four sections of acceleration command A4(t), velocity command V4(t), and position command P4(t). A4(t)=0 ・・・(11)

[數9]

Figure 02_image017
[Number 9]
Figure 02_image017

[數10]

Figure 02_image019
[Number 10]
Figure 02_image019

位置指令生成部11係使用下述式(14)、式(15)及式(16)來分別計算「T1+T2+T3+T4≦t<T1+T2+T3+T4+T5」範圍的時間t中的第五區間的加速度指令A5(t)、速度指令V5(t)及位置指令P5(t)。The position command generation unit 11 calculates the time in the range of "T1+T2+T3+T4≦t<T1+T2+T3+T4+T5" using the following equations (14), (15), and (16), respectively The acceleration command A5(t), the velocity command V5(t), and the position command P5(t) in the fifth section in t.

[數11]

Figure 02_image021
[Number 11]
Figure 02_image021

[數12]

Figure 02_image023
[Number 12]
Figure 02_image023

[數13]

Figure 02_image025
[Number 13]
Figure 02_image025

位置指令生成部11係使用下述式(17)、式(18)及式(19)來分別計算「T1+T2+T3+T4+T5≦t<T1+T2+T3+T4+T5+T6」範圍的時間t中的第六區間的加速度指令A6(t)、速度指令V6(t)及位置指令P6(t)。 A6(t)=-Ad ・・・(17)The position command generation unit 11 uses the following equations (17), (18), and (19) to calculate "T1+T2+T3+T4+T5≦t<T1+T2+T3+T4+T5+T6, respectively. The acceleration command A6(t), the velocity command V6(t), and the position command P6(t) in the sixth section of the time t in the range of '. A6(t)=-Ad ・・・(17)

[數14]

Figure 02_image027
[Number 14]
Figure 02_image027

[數15]

Figure 02_image029
[Number 15]
Figure 02_image029

位置指令生成部11係使用下述式(20)、式(21)及式(22)來分別計算「T1+T2+T3+T4+T5+T6≦t≦T1+T2+T3+T4+T5+T6+T7」範圍的時間t中的第七區間的加速度指令A7(t)、速度指令V7(t)及位置指令P7(t)。The position command generation unit 11 uses the following equations (20), (21), and (22) to calculate "T1+T2+T3+T4+T5+T6≦t≦T1+T2+T3+T4+T5, respectively. The acceleration command A7(t), the velocity command V7(t), and the position command P7(t) in the seventh section of the time t in the range of +T6+T7".

[數16]

Figure 02_image031
[Number 16]
Figure 02_image031

[數17]

Figure 02_image033
[Number 17]
Figure 02_image033

[數18]

Figure 02_image035
[Number 18]
Figure 02_image035

在終端時間t=T1+T2+T3+T4+T5+T6+T7中,速度指令係必須與0一致,位置指令係必須與移動距離D一致。因此,在終端時間中,下述式(23)及式(24)成立。 V7=0 ・・・(23) P7=D ・・・(24)In the terminal time t=T1+T2+T3+T4+T5+T6+T7, the speed command system must be consistent with 0, and the position command system must be consistent with the moving distance D. Therefore, in the terminal time, the following equations (23) and (24) hold. V7=0 ・・・(23) P7=D ・・・(24)

依上式(5)及式(17)來決定第二區間的加速度的大小Aa及第六區間的加速度的大小Ad。如上所述,指令形狀係根據位置指令參數與移動距離D來計算。The magnitude Aa of the acceleration in the second section and the magnitude Ad of the acceleration in the sixth section are determined according to the above equations (5) and (17). As described above, the command shape is calculated based on the position command parameter and the moving distance D.

如同上述,以及如圖2的曲線圖230所示,在第一區間、第三區間、第五區間及第七區間中,加速度為時間的一次函數。因此,在此等區間中,如圖2的曲線圖240所示,加速度的一階微分之急動度為非零的一定值。亦即,第一時間長T1、第三時間長T3、第五時間長T5及第七時間長T7係可視為用以決定使急動度成為非零的一定值的時間者。非零的一定值為大於0的一定值或小於0的一定值。As described above, and as shown in the graph 230 of FIG. 2 , in the first, third, fifth, and seventh intervals, the acceleration is a linear function of time. Therefore, in these intervals, as shown in the graph 240 of FIG. 2 , the jerk of the first derivative of the acceleration is a constant value other than zero. That is, the first time length T1 , the third time length T3 , the fifth time length T5 , and the seventh time length T7 can be regarded as time for determining the constant value of the jerk to be non-zero. A non-zero certain value is a certain value greater than 0 or a certain value less than 0.

在此等區間中,亦可選擇指定急動度的大小的參數來取代時間長。例如,將第一區間的急動度的大小定為J1時,如下述式(25)所示,急動度J1可使用第一時間長T1來算出。 J1=Aa/T1 ・・・(25)In these intervals, a parameter specifying the magnitude of the jerk can also be selected instead of the time length. For example, when the magnitude of the jerk in the first section is defined as J1, as shown in the following equation (25), the jerk J1 can be calculated using the first time length T1. J1=Aa/T1 ・・・(25)

亦即,將使急動度成為非零的一定值的區間的時間定為參數者,與將使急動度成為非零的一定值的區間的急動度的大小定為參數者為等效。如此,規定指令形狀的參數的選擇方法係存在任意性,規定指令形狀的參數的選擇並不限定於上述方法。That is, setting the time of the interval in which the jerk becomes a non-zero constant value is set as a parameter, and setting the magnitude of the jerk as a parameter in the interval in which the jerk becomes a non-zero constant value is equivalent. . As described above, the selection method of the parameters defining the command shape is arbitrary, and the selection of the parameters defining the command shape is not limited to the above method.

如上所述,在實施型態1的位置指令生成部11所執行的指令生成方法中,為了規定指令形狀而使用七個位置指令參數。相較於習知技術中常用的藉由加速度及速度的兩個參數來規定指令形狀的方法,實施型態1中的調整的自由度係比習知技術較高。因此,若可適當地調整位置指令參數,則即使為受到載置有控制對象3的裝置的機械振動的影響的狀況下,定位控制裝置10仍可實現顯示出現良好之回應的定位控制。As described above, in the command generation method executed by the position command generation unit 11 of Embodiment 1, seven position command parameters are used in order to define the command shape. Compared with the conventional method of specifying the command shape by two parameters of acceleration and velocity, the degree of freedom of the adjustment in the implementation mode 1 is higher than that of the conventional technique. Therefore, if the position command parameter can be adjusted appropriately, the positioning control device 10 can realize the positioning control showing a favorable response even under the influence of the mechanical vibration of the device on which the control object 3 is placed.

另一方面,在載置有控制對象3的裝置的操作人員一邊使該裝置動作一邊藉由錯誤嘗試以手動調整上述的七個參數之情形時,便需耗費比較多的勞力及相對較長的時間。以下,說明藉由使定位控制裝置10具有評估部13、學習部14,讓定位控制裝置10可在不需要操作人員的錯誤嘗試就適當地調整位置指令參數。On the other hand, in the case where the operator of the device on which the control object 3 is placed operates the device and manually adjusts the above-mentioned seven parameters by erroneous attempts, it requires a lot of labor and a relatively long time. time. Hereinafter, by providing the positioning control device 10 with the evaluation unit 13 and the learning unit 14, the positioning control device 10 will be explained so that the positioning control device 10 can appropriately adjust the position command parameters without the operator's erroneous attempts.

依據評估部13及學習部14的動作,反覆執行:由學習部14所進行的位置指令參數的變更、使用了經變更的位置指令參數的定位控制及由評估部13所進行的評估值Q的計算。接著,說明此反覆執行的評估部13及學習部14的動作。According to the operations of the evaluation unit 13 and the learning unit 14 , the changing of the position command parameters by the learning unit 14 , the positioning control using the changed position command parameters, and the evaluation of the evaluation value Q by the evaluation unit 13 are repeatedly performed. calculate. Next, the operations of the repeatedly executed evaluation unit 13 and the learning unit 14 will be described.

學習部14係在規定位置指令參數的上限值及下限值的參數範圍內選出位置指令參數。以下,說明執行三次評估部13及學習部14的動作,並評估到第三組為止的位置指令參數的過程。將第一組的位置指令參數表示為位置指令參數Pr1,將第二組位的置指令參數表示為位置指令參數Pr2,將第三組的位置指令參數表示為位置指令參數Pr3。三組的位置指令參數各組係具有第一時間長T1至第七時間長T7為止的七個參數。The learning unit 14 selects the position command parameter within the parameter range that defines the upper limit value and the lower limit value of the position command parameter. Hereinafter, the operation of the evaluation unit 13 and the learning unit 14 is executed three times, and the procedure of evaluating the position command parameters up to the third group will be described. The position command parameters of the first group are represented as position command parameters Pr1, the position command parameters of the second group are represented as position command parameters Pr2, and the position command parameters of the third group are represented as position command parameters Pr3. Each of the three groups of position command parameters has seven parameters from the first time length T1 to the seventh time length T7.

從學習部14輸出第一組的位置指令參數Pr1,位置指令生成部11根據第一組的位置指令參數Pr1來生成位置指令。使用根據第一組的位置指令參數Pr1所生成的位置指令來執行定位控制。評估部13係根據此情形時的馬達位置及加速度檢測值,來取得對應於第一組位置的指令參數Pr1的定位時間Tst1及加速度最大值Aamp1。將從定位控制的開始到位置指令與馬達位置之偏差的大小成為小於預定的容許值Ptol的定位完成為止的時間予以設為定位時間Tst1。此外,將定位完成後的加速度檢測值的振動振幅的最大值設為加速度最大值Aamp1。對應於第一組位置之指令參數Pr1的評估值Q1係依式(1)而表示如下述式(26)。 Q1=-Tst1–w×Aamp1 ・・・(26)The position command parameter Pr1 of the first group is output from the learning unit 14, and the position command generation unit 11 generates a position command based on the position command parameter Pr1 of the first group. Positioning control is performed using the position command generated from the position command parameter Pr1 of the first group. The evaluation unit 13 obtains the positioning time Tst1 and the acceleration maximum value Aamp1 corresponding to the command parameter Pr1 of the first group of positions based on the motor position and the acceleration detection value in this situation. The time from the start of the positioning control to the completion of the positioning when the magnitude of the deviation between the position command and the motor position becomes smaller than the predetermined allowable value Ptol is defined as the positioning time Tst1. In addition, the maximum value of the vibration amplitude of the acceleration detection value after positioning is completed is the acceleration maximum value Aamp1. The evaluation value Q1 of the command parameter Pr1 corresponding to the first group of positions is represented by the following formula (26) according to the formula (1). Q1=-Tst1–w×Aamp1 ・・・(26)

學習部14係接收評估值Q1,並將位置指令參數變更為第二組的位置指令參數Pr2。學習部14在變更位置指令參數時,可根據使用了第一組的位置指令參數Pr1的定位控制的結果來選出第二組的位置指令參數Pr2,亦可不論使用了第一組的位置指令參數Pr1的定位控制的結果為何,皆如預定方式來選出第二組的位置指令參數Pr2。The learning unit 14 receives the evaluation value Q1 and changes the position command parameter to the position command parameter Pr2 of the second group. When changing the position command parameters, the learning unit 14 may select the position command parameters Pr2 of the second group according to the result of the positioning control using the position command parameters Pr1 of the first group, or may use the position command parameters of the first group. Regardless of the result of the positioning control of Pr1, the second group of position command parameters Pr2 is selected in a predetermined manner.

學習部14變更位置指令參數,則會使用根據第二組的位置指令參數Pr2所生成的位置指令來執行定位控制。評估部13係根據此情形時的馬達位置及加速度檢測值,來取得對應於第二組的位置指令參數Pr2的定位時間Tst2及加速度最大值Aamp2。將從定位控制的開始到位置指令與馬達位置之偏差的大小成為小於容許值Ptol的定位完成為止的時間予以設為定位時間Tst2。此外,將定位完成後的加速度檢測值的振動振幅的最大值設為加速度最大值Aamp2。對應於第二組的位置指令參數Pr2的評估值Q2係依式(1)而表示如下述式(27)。 Q2=-Tst2–w×Aamp2 ・・・(27)When the learning unit 14 changes the position command parameter, the positioning control is executed using the position command generated from the position command parameter Pr2 of the second group. The evaluation unit 13 obtains the positioning time Tst2 and the acceleration maximum value Aamp2 corresponding to the position command parameter Pr2 of the second group based on the motor position and the acceleration detection value in this situation. The time from the start of the positioning control to the completion of the positioning when the magnitude of the deviation between the position command and the motor position becomes smaller than the allowable value Ptol is defined as the positioning time Tst2. In addition, the maximum value of the vibration amplitude of the acceleration detection value after positioning is completed is the acceleration maximum value Aamp2. The evaluation value Q2 corresponding to the position command parameter Pr2 of the second group is represented by the following formula (27) according to the formula (1). Q2=-Tst2–w×Aamp2 ・・・(27)

學習部14係接收評估值Q2,並將位置指令參數變更為第三組的位置指令參數Pr3。評估部13係與獲得評估值Q1及評估值Q2的步驟一樣,根據定位時間Tst3及加速度最大值Aamp3,並使用式(1)評估評估值Q3。該評估值Q3係表示如下述式(28)。 Q3=-Tst3–w×Aamp3 ・・・(28)The learning unit 14 receives the evaluation value Q2 and changes the position command parameter to the position command parameter Pr3 of the third group. The evaluation unit 13 evaluates the evaluation value Q3 using the formula (1) based on the positioning time Tst3 and the acceleration maximum value Aamp3 in the same manner as in the procedure for obtaining the evaluation value Q1 and the evaluation value Q2. This evaluation value Q3 is represented by the following formula (28). Q3=-Tst3–w×Aamp3 ・・・(28)

學習部14係接收評估值Q3。藉由至此的評估部13及學習部14的動作,學習部14係獲得對應於三組的位置指令參數Pr1、位置指令參數Pr2及位置指令參數Pr3的評估值Q1、評估值Q2及評估值Q3。The learning unit 14 receives the evaluation value Q3. Through the operations of the evaluation unit 13 and the learning unit 14 so far, the learning unit 14 obtains the evaluation value Q1, the evaluation value Q2, and the evaluation value Q3 corresponding to the three sets of the position command parameter Pr1, the position command parameter Pr2, and the position command parameter Pr3. .

如上所述,評估部13及學習部14係反覆實施取得對應於位置指令參數的評估值Q的動作。As described above, the evaluation unit 13 and the learning unit 14 repeatedly perform the operation of acquiring the evaluation value Q corresponding to the position command parameter.

學習部14係以位置指令參數及對應於位置指令參數的評估值Q作為學習用資料,來進行使用類神經網路的學習動作。圖4係示意性顯示實施型態1中使用的類神經網路的一例之圖。該類神經網路400係具有輸入層410、中間層420及輸出層430。對左端的輸入層410輸入位置指令參數,並從右端的輸出層430輸出評估值Q。如上述,位置指令參數係含有第一時間長T1至第七時間長T7為止的七個參數。針對從輸入層410的各節點411至中間層420的各節點421的加權係數係全部皆可獨立地設定,惟在圖4中,此等加權係數全部皆以同一個加權係數W1來表示。同樣地,針對從中間層420的各節點421至輸出層430的節點431的加權係數係全部皆以同一個加權係數W2來表示。The learning unit 14 uses the position command parameter and the evaluation value Q corresponding to the position command parameter as learning data, and performs a learning operation using a neural network. FIG. 4 is a diagram schematically showing an example of a neural-like network used in Embodiment 1. FIG. This type of neural network 400 has an input layer 410 , an intermediate layer 420 and an output layer 430 . The position command parameter is input to the input layer 410 at the left end, and the evaluation value Q is output from the output layer 430 at the right end. As described above, the position command parameter includes seven parameters from the first time length T1 to the seventh time length T7. The weighting coefficients for each node 411 of the input layer 410 to each node 421 of the middle layer 420 can be independently set, but in FIG. 4 , these weighting coefficients are all represented by the same weighting coefficient W1. Similarly, the weighting coefficients for each node 421 of the intermediate layer 420 to the node 431 of the output layer 430 are all represented by the same weighting coefficient W2.

對輸入層410的各節點411的輸出值乘上加權係數W1,由乘算所得的結果的線性組合被輸入至中間層420的各節點421。對中間層420的各節點421的輸出值乘上加權係數W2,由乘算所得的結果的線性組合被輸入至輸出層430的節點431。在各層410、420、430的各節點411、421、431中,例如亦可藉由S型(sigmoid)函數的非線性函數而從輸入值來計算輸出值。在輸入層410及輸出層430中,輸出值亦可為輸入值的線性組合。The output value of each node 411 of the input layer 410 is multiplied by the weighting coefficient W1 , and a linear combination of the result obtained by the multiplication is input to each node 421 of the intermediate layer 420 . The output value of each node 421 of the intermediate layer 420 is multiplied by the weighting coefficient W2, and a linear combination of the result obtained by the multiplication is input to the node 431 of the output layer 430. In each node 411 , 421 , and 431 of each layer 410 , 420 , and 430 , for example, an output value may be calculated from an input value by a nonlinear function of a sigmoid function. In the input layer 410 and the output layer 430, the output value can also be a linear combination of the input value.

學習部14係使用位置指令參數與評估值Q,來計算類神經網路400的加權係數W1及加權係數W2。類神經網路400的加權係數W1及加權係數W2,在一例中可藉由使用誤差反傳播法或梯度下降法來計算。惟只要為可獲得類神經網路400的加權係數的計算方法,加權係數W1及加權係數W2的計算方法並不限於上述的方法。The learning unit 14 uses the position command parameter and the evaluation value Q to calculate the weighting coefficient W1 and the weighting coefficient W2 of the neural network-like network 400 . The weighting coefficient W1 and the weighting coefficient W2 of the neural network 400 can be calculated by using the error back-propagation method or the gradient descent method in one example. However, the calculation methods of the weighting coefficient W1 and the weighting coefficient W2 are not limited to the above-mentioned methods as long as the calculation method of the weighting coefficient of the neural network-like network 400 can be obtained.

只要決定了類神經網路400的加權係數W1及加權係數W2,則可獲得位置指令參數與評估值Q之關係式。As long as the weighting coefficient W1 and the weighting coefficient W2 of the neural network 400 are determined, the relational expression between the position command parameter and the evaluation value Q can be obtained.

在以上的說明中,例示了使用三層的類神經網路400進行的學習之例子。惟使用類神經網路400的學習並不限於上述的例子。In the above description, an example of learning using the three-layer neural-like network 400 has been exemplified. However, learning using the neural-like network 400 is not limited to the above examples.

藉由至此為止的評估部13及學習部14的動作,可獲得由類神經網路400所求取的關係式。Through the operations of the evaluation unit 13 and the learning unit 14 so far, the relational expression obtained by the neural-like network 400 can be obtained.

如上所述方式若藉由評估部13及學習部14的動作獲得由類神經網路400所求取的關係式,則可獲得以位置指令參數作為輸入且以評估值Q作為輸出的函數。若使用該函數,即使不對新的位置指令參數執行定位控制,亦可獲得對應於該新的位置指令參數的評估值Q。If the relational expression obtained by the neural network 400 is obtained by the operations of the evaluation unit 13 and the learning unit 14 as described above, a function having the position command parameter as input and the evaluation value Q as output can be obtained. If this function is used, even if the positioning control is not performed for the new position command parameter, the evaluation value Q corresponding to the new position command parameter can be obtained.

一般而言,加速度檢測器4係因為受到本身設置環境及電源環境的影響而在檢測值中含有大量雜訊。因此,在評估控制對象3的加速度檢測值時也免不了受到雜訊的影響,即使使用同一個位置指令參數來進行定位控制,仍大多會有肇因於所取得的加速度檢測值的值不同而獲得不同的評估值Q。依據學習部14的動作,會獲得與受到雜訊的影響而取得的複數個評估值Q各者間的誤差成為最小的評估值Q,故可獲得針對位置指令參數的評估值Q的適當的推測值。Generally speaking, the acceleration detector 4 contains a large amount of noise in the detected value due to the influence of its own installation environment and power supply environment. Therefore, when evaluating the acceleration detection value of the control object 3, it is inevitably affected by noise. Even if the same position command parameter is used for positioning control, there are still many cases due to the obtained acceleration detection value. Different evaluation values Q. According to the operation of the learning unit 14, the evaluation value Q at which the error between the plurality of evaluation values Q obtained under the influence of noise becomes the smallest is obtained, so that an appropriate estimation for the evaluation value Q of the position command parameter can be obtained. value.

接著,學習部14係根據位置指令參數與評估值Q之關係式,並藉由數值計算,來求取評估值Q成為最大的位置指令參數。此時,例如可使用網格探索、隨機探索或牛頓法的最佳化演算法。Next, the learning unit 14 obtains the position command parameter in which the evaluation value Q becomes the largest by numerical calculation based on the relational expression between the position command parameter and the evaluation value Q. At this time, for example, an optimization algorithm of grid search, random search, or Newton's method may be used.

如上所述,可藉由評估部13及學習部14的動作,來學習指令參數與評估值Q之關係式。除此之外,可藉由使用關係式來找出使評估值Q成為最大的優良的位置指令參數。若使用該關係式,即使不實施定位控制亦可取得對應於位置指令參數對應的評估值Q的適當的推測值,因此定位控制裝置10即使未進行使用優良的參數的定位控制,亦可找出優良的參數。As described above, the relationship between the command parameter and the evaluation value Q can be learned by the operations of the evaluation unit 13 and the learning unit 14 . In addition to this, a good position command parameter that maximizes the evaluation value Q can be found by using the relational expression. If this relational expression is used, an appropriate estimated value corresponding to the evaluation value Q corresponding to the position command parameter can be obtained without performing the positioning control. Therefore, the positioning control device 10 can find out the positioning control without performing the positioning control using the excellent parameters. excellent parameters.

依據上述,定位控制裝置10係可既抑制控制對象3的振動,並且實現短時間的定位控制。According to the above, the positioning control device 10 can suppress the vibration of the control object 3 and realize the positioning control in a short time.

此外,定位控制裝置10係可藉由馬達位置與控制對象3的加速度檢測值來適當地調整位置指令參數。此時,加速度檢測器4係可事先接著在控制對象3。因此,即使變更控制對象3的停止位置,操作人員仍無需為了進行評估而變更加速度檢測器4的配置。In addition, the positioning control device 10 can appropriately adjust the position command parameter according to the motor position and the acceleration detection value of the control object 3 . At this time, the acceleration detector 4 may be connected to the control object 3 in advance. Therefore, even if the stop position of the controlled object 3 is changed, the operator does not need to change the arrangement of the acceleration detector 4 for evaluation.

因此,定位控制裝置10係不需要操作人員的錯誤嘗試,就可適當地調整位置指令參數。Therefore, the positioning control device 10 can appropriately adjust the position command parameter without the operator's erroneous attempt.

依上述,在實施型態1的定位控制裝置10可獲得能夠有效率地進行調整用以將定位控制高速化的指令形狀的效果。As described above, in the positioning control device 10 of the first embodiment, it is possible to efficiently adjust the command shape for speeding up the positioning control.

位置指令生成部11係亦可以存在有加速度指令信號成為大於零的一定值或小於零的一定值的時間的方式,來決定位置指令的信號的形狀,該加速度指令信號係使位置指令的信號經二次微分後的信號。位置指令生成部11還可以存在有急動度的信號成為大於零的一定值或小於零的一定值的時間的方式,來決定位置指令的信號的形狀,該急動度的信號係使位置指令的信號經三次微後的信號。位置指令生成部11還可使位置指令參數含有:顯示出急動度的信號成為大於零的一定值或小於零的一定值的時間之資訊。位置指令生成部11還可使位置指令參數含有:顯示出在急動度的信號成為大於零的一定值或小於零的一定值的時間中的急動度的信號的大小之資訊。The position command generation unit 11 may determine the shape of the position command signal in such a way that there is a time when the acceleration command signal becomes a constant value greater than zero or a constant value less than zero, and the acceleration command signal causes the position command signal to pass through. Signal after quadratic differentiation. The position command generation unit 11 may determine the shape of the position command signal in such a way that there is a time for the signal with jerk to become a constant value greater than zero or a constant value less than zero, and the jerk signal makes the position command The signal after three micro-signals. The position command generation unit 11 may include information on the time when the signal indicating the jerk becomes a constant value greater than zero or a constant value less than zero in the position command parameter. The position command generation unit 11 may include information indicating the magnitude of the jerk signal at a time when the jerk signal becomes a constant value greater than zero or a constant value less than zero in the position command parameter.

在實施型態1中,學習部14係獲得以位置指令參數作為輸入來計算評估值Q的推測值之函數。藉此,可仍從位置指令參數與藉由執行定位控制所得的評估值Q之組合中,來選出優良的位置指令參數。亦即,可利用藉由學習所找出的最佳的位置指令參數來進行定位控制。In Embodiment 1, the learning unit 14 obtains a function for calculating an estimated value of the evaluation value Q using the position command parameter as an input. Thereby, a good position command parameter can be selected from the combination of the position command parameter and the evaluation value Q obtained by executing the positioning control. That is, positioning control can be performed using the optimum position command parameters found by learning.

實施型態1的定位控制裝置10係具備學習部14,該學習部14係學習根據於控制對象3的加速度檢測值的評估值Q、與位置指令參數之關係。藉此,能夠以少的嘗試次數來調整抑制控制對象3的振動的位置指令參數。結果,可使非對稱多自由度的指令形狀的最佳化。此外,於位置指令生成部11設定有藉由學習部14的學習所得的位置指令參數,使位置指令生成部11生成位置指令,藉此可實現高速的定位控制。再者,評估值Q係根據從定位開始到判定定位完成為止的定位時間Tst所計算,因此,可形成使定位時間Tst呈短時間化地調整定位控制。The positioning control device 10 according to the first embodiment includes a learning unit 14 that learns the relationship between the evaluation value Q based on the acceleration detection value of the controlled object 3 and the position command parameter. Thereby, the position command parameter for suppressing the vibration of the control object 3 can be adjusted with a small number of attempts. As a result, an asymmetric multi-degree-of-freedom command shape can be optimized. Furthermore, the position command generation unit 11 is set with a position command parameter obtained by the learning of the learning unit 14, and the position command generation unit 11 generates a position command, whereby high-speed positioning control can be realized. Furthermore, since the evaluation value Q is calculated based on the positioning time Tst from the start of positioning to the determination of the completion of positioning, the positioning control can be adjusted to shorten the positioning time Tst.

實施型態2. 圖5係示意性顯示實施型態2的定位控制裝置之構成的一例之圖。以下,與實施型態1相同的部分係賦予相同的元件符號並省略其說明,針對不同的部分進行說明。定位控制裝置20係具備位置指令生成部11、驅動控制部12、評估部13及學習部24。Implementation type 2. FIG. 5 is a diagram schematically showing an example of the configuration of the positioning control device according to the second embodiment. Hereinafter, the same parts as those in the first embodiment are given the same reference numerals, and the description thereof is omitted, and the different parts will be described. The positioning control device 20 includes a position command generation unit 11 , a drive control unit 12 , an evaluation unit 13 , and a learning unit 24 .

學習部24係以評估值Q作為輸入,並學習位置指令參數與評估值Q之關係。具體而言,學習部24係更新用以推測對應於位置指令參數的評估值Q的平均值與變異數的函數來進行學習。學習部24可藉由進行學習,來計算並推測對應於位置指令參數對應的評估值Q的平均值與對應於位置指令參數的評估值Q的變異數。用以計算平均值與變異數的函數,在一例中可使用高斯過程模型(Gaussian Process model)。如此,學習部24可獲得位置指令參數與評估值Q之關係式。The learning unit 24 takes the evaluation value Q as an input, and learns the relationship between the position command parameter and the evaluation value Q. Specifically, the learning unit 24 performs learning by updating the function for estimating the mean value and the variance of the evaluation value Q corresponding to the position command parameter. The learning unit 24 can calculate and estimate the average value of the evaluation value Q corresponding to the position command parameter and the variation of the evaluation value Q corresponding to the position command parameter by performing learning. The functions used to calculate the mean and variance may use, in one example, a Gaussian Process model. In this way, the learning unit 24 can obtain the relational expression between the position command parameter and the evaluation value Q.

學習部24係選出用以執行下一次定位控制的位置指令參數並輸出至位置指令生成部11。學習部24係在下一個位置指令參數的選出,可根據學習結果來選出評估值Q的平均值與變異數之和顯示最大值的位置指令參數。The learning unit 24 selects a position command parameter for executing the next positioning control, and outputs it to the position command generation unit 11 . The learning unit 24 selects a position command parameter in which the sum of the average value and the variance of the evaluation value Q shows the maximum value based on the learning result in the selection of the next position command parameter.

學習部24係從由評估部13所獲得的評估值Q中,將使評估值Q成為最大的位置指令參數輸出至位置指令生成部11,該評估值Q係藉由變更位置指令參數並反覆執行直到預定的次數結束為止的定位控制而由評估部13所獲得者。The learning unit 24 outputs the position command parameter that maximizes the evaluation value Q from the evaluation value Q obtained by the evaluation unit 13 to the position command generation unit 11. The evaluation value Q is executed repeatedly by changing the position command parameter. The positioning control until the predetermined number of times is completed is obtained by the evaluation unit 13 .

更進一步說明實施型態2的定位控制裝置20的功能。學習部24係決定一組的位置指令參數,並將所決定的位置指令參數輸出至位置指令生成部11。位置指令生成部11係根據所輸入的位置指令參數來計算位置指令。如實施型態1所說明,位置指令生成部11係為了規定指令形狀而使用七個位置指令參數。相較於習知技術中所常用的加速度及速度兩個參數來規定指令形狀的方法,實施型態2的調整的自由度係高於習知技術之方法。因此,只要可適當地調整位置指令參數,則即使在受到載置有控制對象3的裝置的機械振動影響的狀況下,定位控制裝置20亦可實現顯示出良好回應的定位控制。The function of the positioning control device 20 of Embodiment 2 will be further described. The learning unit 24 determines a set of position command parameters, and outputs the determined position command parameters to the position command generation unit 11 . The position command generation unit 11 calculates a position command based on the input position command parameters. As described in Embodiment 1, the position command generation unit 11 uses seven position command parameters in order to define the command shape. Compared with the conventional method in which the two parameters of acceleration and velocity are commonly used to specify the command shape, the degree of freedom of the adjustment of the implementation mode 2 is higher than that of the conventional method. Therefore, as long as the position command parameter can be adjusted appropriately, the positioning control device 20 can realize the positioning control showing good response even under the influence of mechanical vibration of the device on which the control object 3 is placed.

圖6係顯示實施型態2的定位控制裝置的定位方法的步驟之一例的流程圖。首先,於位置指令生成部11設定位置指令參數的初始值(步驟S1)。位置指令參數的初始值可為任何值。接著,位置指令生成部11係根據在步驟S1所設定的位置指令參數來計算位置指令(步驟S2)。驅動控制部12係藉由經計算而得的位置指令來執行定位控制(步驟S3)。FIG. 6 is a flowchart showing an example of the steps of the positioning method of the positioning control device of Embodiment 2. FIG. First, the initial value of the position command parameter is set in the position command generation unit 11 (step S1). The initial value of the position instruction parameter can be any value. Next, the position command generation unit 11 calculates a position command based on the position command parameters set in step S1 (step S2). The drive control unit 12 executes positioning control based on the calculated position command (step S3 ).

下一步,評估部13係使用馬達位置及控制對象3的加速度檢測值來計算評估值Q(步驟S4)。然後,學習部24係判定預定之次數的定位控制是否已結束(步驟S5)。當預定之次數的定位控制尚未結束時(步驟S5中為「否」時),學習部24係根據位置指令參數與經計算而得的評估值Q,來更新用以計算評估值Q的平均值與評估值Q的變異數之函數(步驟S6)。Next, the evaluation unit 13 calculates the evaluation value Q using the motor position and the acceleration detection value of the control object 3 (step S4). Then, the learning unit 24 determines whether or not the positioning control has been completed a predetermined number of times (step S5). When the predetermined number of positioning control has not been completed (NO in step S5 ), the learning unit 24 updates the average value for calculating the evaluation value Q based on the position command parameter and the calculated evaluation value Q A function of the variance of the evaluation value Q (step S6).

然後,學習部24係根據在步驟S6被更新的函數,求取評估值Q的平均值與變異數之和成為最大的位置指令參數(步驟S7)。此外,學習部24係將在步驟S7所求得的位置指令參數設定至位置指令生成部11(步驟S8)。然後,為了藉由所設定的位置指令參數來再次執行定位控制以獲得評估值Q,定位控制裝置20的動作係移往步驟S2。Then, based on the function updated in step S6, the learning unit 24 obtains the position command parameter in which the sum of the average value of the evaluation value Q and the number of variations becomes the largest (step S7). In addition, the learning unit 24 sets the position command parameter obtained in step S7 to the position command generation unit 11 (step S8 ). Then, in order to execute the positioning control again to obtain the evaluation value Q based on the set position command parameters, the operation of the positioning control device 20 moves to step S2.

在步驟S5中,當預定之次數的定位控制結束時(在步驟S5為「是」時),為得到預定之次數的評估值Q的狀態,且學習部24係從預定的個數的評估值Q中選出使評估值Q成為最大的位置指令參數,並設定至位置指令生成部11(步驟S9)。至此,處理結束。In step S5, when the positioning control for a predetermined number of times is completed (“Yes” in step S5), the evaluation value Q of a predetermined number of times is obtained, and the learning unit 24 obtains the evaluation value Q of a predetermined number of times. Among Q, the position command parameter which maximizes the evaluation value Q is selected and set to the position command generation unit 11 (step S9). At this point, the processing ends.

如上所述,學習部24係在步驟S7中學習位置指令參數與評估值Q之關係,而能夠獲得對應於位置指令參數的評估值Q的平均值與變異數。此外,學習部24係在步驟S8中,求取使評估值Q的平均值與變異數之和成為最大的位置指令參數。所求得的位置指令參數係被用於下一次的定位控制。As described above, the learning unit 24 learns the relationship between the position command parameter and the evaluation value Q in step S7, and can obtain the average value and the variance of the evaluation value Q corresponding to the position command parameter. In addition, in step S8, the learning unit 24 obtains a position command parameter that maximizes the sum of the average value of the evaluation value Q and the number of variations. The obtained position command parameters are used for the next positioning control.

接著,說明將平均值與變異數之和成為最大的位置指令參數用於下一次的定位控制所獲得的效果。圖7及圖8係用以說明藉由實施型態2的定位控制裝置所獲得的效果之圖。Next, the effect obtained by using the position command parameter whose sum of the average value and the variance becomes the largest for the next positioning control will be described. 7 and 8 are diagrams for explaining the effect obtained by the positioning control device of the second embodiment.

此處係說明在執行兩次評估部13及學習部24的動作後,選出第三組的位置指令參數的過程。第一組的位置指令參數表示為位置指令參數Pr11,第二組的位置指令參數表示為位置指令參數Pr12,第三組的位置指令參數表示為位置指令參數Pr13。Here, the process of selecting the position command parameter of the third group after the operations of the evaluation unit 13 and the learning unit 24 are executed twice will be described. The position command parameters of the first group are expressed as position command parameters Pr11, the position command parameters of the second group are expressed as position command parameters Pr12, and the position command parameters of the third group are expressed as position command parameters Pr13.

為了說明上的方便,圖7及圖8係將位置指令參數簡化成一維來顯示。在圖7及圖8中,橫軸顯示位置指令參數,縱軸顯示評估值Q。當執行了兩次評估部13及學習部24的動作之情形時,如圖7中的圓形記號所示,會獲得對應於位置指令參數Pr11的評估值Q11及對應於位置指令參數Pr12的評估值Q12。學習部24係根據所獲得的評估值Q11與評估值Q12來進行學習,並更新用以計算對應於位置指令參數之評估值Q的平均值與變異數之函數。For the convenience of description, FIG. 7 and FIG. 8 simplify the position command parameters into one dimension and display them. In FIGS. 7 and 8 , the horizontal axis shows the position command parameter, and the vertical axis shows the evaluation value Q. When the actions of the evaluation unit 13 and the learning unit 24 are performed twice, as indicated by the circles in FIG. 7, the evaluation value Q11 corresponding to the position command parameter Pr11 and the evaluation value corresponding to the position command parameter Pr12 are obtained Value Q12. The learning unit 24 performs learning based on the obtained evaluation value Q11 and evaluation value Q12, and updates the function for calculating the average value and the variance of the evaluation value Q corresponding to the position command parameter.

圖7所示之顯示平均值的曲線AV及顯示平均值與變異數之和的曲線AD,係根據藉由學習部24所得到的函數來計算。如圖7所示,如位置指令參數Pr11與位置指令參數Pr12的中間點所示,由於離所取得的資料的距離愈遠,評估值Q的不確定性愈高,故變異數會增大。藉由學習部24的動作,評估值Q的平均值與變異數之和成為最大之對應於圖7中的星形記號之點P的位置指令參數Pr13係被選出作為下一個位置指令參數。The curve AV showing the average value and the curve AD showing the sum of the average value and the variance shown in FIG. 7 are calculated based on the function obtained by the learning unit 24 . As shown in FIG. 7 , as indicated by the midpoint between the position command parameter Pr11 and the position command parameter Pr12 , the greater the distance from the acquired data, the higher the uncertainty of the evaluation value Q, and the larger the variance. By the operation of the learning unit 24, the position command parameter Pr13 corresponding to the point P of the asterisk in FIG. 7 in which the sum of the average value and the variance of the evaluation value Q becomes the largest is selected as the next position command parameter.

使用位置指令參數Pr13來計算位置指令並進行定位控制,結果,如圖8所示,可獲得評估值Q13。此處係假設評估值Q13為大於評估值Q11及評估值Q12之值。當調整結束在此階段之情形時,由於評估值Q13成為最大,故在調整結束時點,位置指令參數Pr13成為最優良的參數。Using the position command parameter Pr13 to calculate the position command and perform positioning control, as a result, as shown in Fig. 8, the evaluation value Q13 can be obtained. Here, it is assumed that the evaluation value Q13 is larger than the evaluation value Q11 and the evaluation value Q12. When the adjustment is completed at this stage, since the evaluation value Q13 becomes the largest, the position command parameter Pr13 becomes the most excellent parameter when the adjustment is completed.

暫定在選出第三組的位置指令參數Pr13的階段中,並非選出評估值Q的平均值與變異數之和的最大值,而是選出評估值Q的平均值的最大值。此時,在圖7中,由於平均值的曲線AV的最大值並非位置指令參數Pr13的點,故不會選出位置指令參數Pr13作為第三組的位置指令參數。因此,在選出評估值Q的平均值的最大值之情形時,可能會無法選出優良的參數。In the stage of selecting the position command parameter Pr13 of the third group tentatively, not the maximum value of the sum of the average value of the evaluation value Q and the number of variations, but the maximum value of the average value of the evaluation value Q is selected. At this time, in FIG. 7 , since the maximum value of the curve AV of the average value is not the point of the position command parameter Pr13, the position command parameter Pr13 is not selected as the position command parameter of the third group. Therefore, when the maximum value of the average value of the evaluation value Q is selected, there is a possibility that a good parameter cannot be selected.

如上所述,變異數係在相距於過去所取得之資料的距離為較遠之點上,有增大的傾向。平均值係在根據過去所取得的資料而推測為良好之點上,有增大的傾向。亦即,定位控制裝置20係藉由將平均值與變異數之和成為最大之點選出作為下一個位置指令參數,可良好地保持用以獲得相對較大的評估值Q之探索與運行的平衡,在調整的結束時可找出獲得相對較大的評估值Q的位置指令參數。As described above, the coefficient of variation tends to increase at points farther from the data obtained in the past. The average value tends to increase from the point that it is estimated to be good based on the data acquired in the past. That is, the positioning control device 20 selects the point at which the sum of the average value and the variance becomes the largest as the next position command parameter, so that the balance between the search and the operation to obtain the relatively large evaluation value Q can be well maintained. , at the end of the adjustment, the position command parameter that obtains a relatively large evaluation value Q can be found.

因此,實施型態2的定位控制裝置20係可在不需使操作人員進行錯誤嘗試下適當地調整位置指令參數。依上述,定位控制裝置20係可有效率地進行使定位控制達到高速化之良好的指令形狀的調整。此外,在實施型態2的定位控制裝置20中,學習部24係獲得輸出對應於位置指令參數的評估值Q的推測值之函數或輸出評估值Q的平均值及變異數的推測值之函數作為關係式。藉此,藉由推測評估值Q的分布,能夠進行探索與運行的平衡較佳的調整。Therefore, the positioning control device 20 of the embodiment 2 can appropriately adjust the position command parameters without causing the operator to make erroneous attempts. As described above, the positioning control device 20 can efficiently perform the adjustment of a favorable command shape for speeding up the positioning control. In addition, in the positioning control device 20 of the second embodiment, the learning unit 24 obtains a function that outputs an estimated value of the estimated value Q corresponding to the position command parameter, or a function that outputs an estimated value of the average value of the estimated value Q and the number of variances as a relation. Thereby, by estimating the distribution of the evaluation value Q, it is possible to adjust the balance between the search and the operation.

在上述的說明中係舉定位控制裝置20選出評估值Q的平均值與變異數之和成為最大的點,作為下一個位置指令參數的情形為例,惟實施型態2並不限定於此。在一例中,定位控制裝置20係亦可選出對應於將變異數的兩倍與評估值Q的平均值相加後而得之值成為最大的點的位置指令參數,作為下一個位置指令參數。此外,在其他例中,定位控制裝置20係亦可使用經學習所得的評估函數的平均值與變異數,並使用EI(Expected Improvement:期望進步)函數、PI(Probability of Improvement:改善機率)函數或其他採集函數,來計算成為下一個位置指令參數的點。亦即,在實施型態2中係只要使用含有評估值Q的平均值與變異數的函數來算出成為下一個位置指令參數的點即可。In the above description, the positioning control device 20 selects the point where the sum of the average value and the variance of the evaluation value Q becomes the largest as an example of the next position command parameter, but the second embodiment is not limited to this. In one example, the positioning control device 20 may select, as the next position command parameter, the position command parameter corresponding to the point where the value obtained by adding twice the variance and the average value of the evaluation value Q becomes the largest. In addition, in other examples, the positioning control device 20 may also use the average value and the variance of the learned evaluation function, and use the EI (Expected Improvement: Expected Improvement) function and the PI (Probability of Improvement: Improvement Probability) function. or other acquisition function to calculate the point that becomes the argument to the next position command. That is, in Embodiment 2, it is sufficient to use a function including the mean value and the variance of the evaluation value Q to calculate the point that becomes the next position command parameter.

在實施型態2中,定位控制裝置20係選出評估值Q的平均值與變異數之和成為最大的點,作為下一個位置指令參數。此時,定位控制裝置20係在找出評估值Q的平均值與變異數之和成為最大的點時,可從等間隔劃分各位置指令參數之網格點中依序計算評估值Q的平均值與變異數,並於網格點中選出評估值Q的平均值與變異數成為最大的位置指令參數。此外,定位控制裝置20係在找出評估值Q的平均值與變異數之和成為最大的點時,亦可藉由依據虛擬亂數函數的隨機探索,來選出評估值Q的平均值與變異數成為最大的位置指令參數。In the second embodiment, the positioning control device 20 selects the point where the sum of the average value and the variance of the evaluation value Q becomes the largest, as the next position command parameter. At this time, when the positioning control device 20 finds the point where the sum of the average value of the evaluation value Q and the number of variations becomes the largest, it can sequentially calculate the average value of the evaluation value Q from the grid points in which the position command parameters are divided at equal intervals. value and variance, and select the position command parameter whose average value and variance of the evaluation value Q become the largest among the grid points. In addition, when the positioning control device 20 finds the point where the sum of the average value and the variance of the evaluation value Q becomes the largest, it can also select the average value and variance of the evaluation value Q by random search based on the virtual random function. The number becomes the largest position command parameter.

實施型態3. 圖9係示意性顯示實施型態3的定位控制裝置之構成的一例之圖。以下,與實施型態1相同的部分係賦予相同的元件符號並省略其說明,針對不同的部分進行說明。Implementation type 3. FIG. 9 is a diagram schematically showing an example of the configuration of the positioning control device of Embodiment 3. FIG. Hereinafter, the same parts as those in the first embodiment are given the same reference numerals, and the description thereof is omitted, and the different parts will be described.

定位控制裝置30為驅動馬達1及馬達5以使控制對象3移動至目標位置的裝置,並連接於馬達1與馬達5與加速度檢測器4。此處,馬達1設為沿X軸方向驅動控制對象3者,馬達5設為沿與X軸垂直的Y軸方向驅動馬達1者。馬達1經由滾珠螺桿2將扭矩及推力賦予至控制對象3以使控制對象3沿X軸方向移動。馬達1只要為可驅動控制對象3者即可。馬達5係經由滾珠螺桿6使馬達1沿Y軸方向移動。馬達5只要為可驅動馬達1者即可。馬達1及馬達5的例子有旋轉型伺服馬達、線性馬達或步進馬達。The positioning control device 30 is a device that drives the motor 1 and the motor 5 to move the control object 3 to the target position, and is connected to the motor 1 , the motor 5 and the acceleration detector 4 . Here, the motor 1 is used to drive the control object 3 in the X-axis direction, and the motor 5 is used to drive the motor 1 in the Y-axis direction perpendicular to the X-axis. The motor 1 applies torque and thrust to the controlled object 3 via the ball screw 2 to move the controlled object 3 in the X-axis direction. The motor 1 only needs to be capable of driving the control objects 3 . The motor 5 moves the motor 1 in the Y-axis direction via the ball screw 6 . The motor 5 only needs to be capable of driving the motor 1 . Examples of the motor 1 and the motor 5 include a rotary servo motor, a linear motor, or a stepping motor.

控制對象3係藉由馬達1與馬達5而被移動至所期望的目標位置。控制對象3為需要進行定位控制的機械或零件。控制對象3的例子有電子零件構裝機或半導體製造裝置的工作頭部分。The control object 3 is moved to a desired target position by the motor 1 and the motor 5 . The control object 3 is a machine or part that needs to be positioned and controlled. An example of the control object 3 is an electronic component mounting machine or a head portion of a semiconductor manufacturing apparatus.

定位控制裝置30係具備:X軸位置指令生成部31X、Y軸位置指令生成部31Y、X軸驅動控制部32X、Y軸驅動控制部32Y、評估部33及學習部34。The positioning control device 30 includes an X-axis position command generation unit 31X, a Y-axis position command generation unit 31Y, an X-axis drive control unit 32X, a Y-axis drive control unit 32Y, an evaluation unit 33 , and a learning unit 34 .

X軸位置指令生成部31X及Y軸位置指令生成部31Y係根據決定位置指令的形狀的位置指令參數,來生成用以分別驅動馬達1及馬達5以使控制對象3移動至目標位置之用的位置指令。具體而言,X軸位置指令生成部31X係根據X軸位置指令參數來生成用以決定加速區間及減速區間的加速度形狀的X軸位置指令。Y軸位置指令生成部31Y係根據Y軸位置指令參數來生成用以決定加速區間及減速區間的加速度形狀的Y軸位置指令。關於X軸方向及Y軸方向的位置指令的生成應用實施型態1的位置指令生成部11者分別為X軸位置指令生成部31X與Y軸位置指令生成部31Y。The X-axis position command generation unit 31X and the Y-axis position command generation unit 31Y generate the position command parameters for driving the motor 1 and the motor 5 respectively to move the control object 3 to the target position based on the position command parameters that determine the shape of the position command. location command. Specifically, the X-axis position command generation unit 31X generates an X-axis position command for determining the acceleration shape of the acceleration section and the deceleration section based on the X-axis position command parameter. The Y-axis position command generation unit 31Y generates a Y-axis position command for determining the acceleration shape of the acceleration section and the deceleration section based on the Y-axis position command parameter. Regarding the generation of position commands in the X-axis direction and the Y-axis direction, the position command generation unit 11 to which Embodiment 1 is applied is an X-axis position command generation unit 31X and a Y-axis position command generation unit 31Y, respectively.

X軸驅動控制部32X係以使馬達1跟隨藉由X軸位置指令生成部31X所生成之X軸位置指令的方式來輸出驅動馬達1的X軸電流。Y軸驅動控制部32Y係以使馬達1跟隨藉由Y軸位置指令生成部31Y所生成之Y軸位置指令的方式來輸出驅動馬達5的Y軸電流。關於X軸方向的馬達1的控制及Y軸方向的馬達5的控制應用實施型態1的驅動控制部12者分別為X軸驅動控制部32X及Y軸驅動控制部32Y。亦即,X軸驅動控制部32X及Y軸驅動控制部32Y的動作係與實施型態1的驅動控制部12的動作相同。The X-axis drive control unit 32X outputs the X-axis current that drives the motor 1 so that the motor 1 follows the X-axis position command generated by the X-axis position command generation unit 31X. The Y-axis drive control unit 32Y outputs a Y-axis current that drives the motor 5 so that the motor 1 follows the Y-axis position command generated by the Y-axis position command generation unit 31Y. Regarding the control of the motor 1 in the X-axis direction and the control of the motor 5 in the Y-axis direction, those to which the drive control unit 12 of the first embodiment is applied are the X-axis drive control unit 32X and the Y-axis drive control unit 32Y, respectively. That is, the operation of the X-axis drive control unit 32X and the Y-axis drive control unit 32Y is the same as the operation of the drive control unit 12 of the first embodiment.

評估部33係根據關於控制對象3的定位控制執行時之顯示馬達1的位置的X軸馬達位置與顯示馬達5的位置的Y軸馬達位置及控制對象3的加速度檢測值,來算出用以評估定位控制的好壞的評估值Q。評估部33係根據關於控制對象3的定位控制執行時之X軸馬達位置、Y軸馬達位置及加速度檢測值,來算出關於定位性能的評估值Q。評估部33的功能係基本上與實施型態1的評估部13相同。The evaluation unit 33 calculates the value for evaluation based on the X-axis motor position indicating the position of the motor 1 and the Y-axis motor position indicating the position of the motor 5 and the acceleration detection value of the control object 3 when the positioning control of the control object 3 is executed. The evaluation value Q of the quality of positioning control. The evaluation unit 33 calculates the evaluation value Q regarding the positioning performance based on the X-axis motor position, the Y-axis motor position, and the acceleration detection values when the positioning control regarding the control object 3 is executed. The function of the evaluation unit 33 is basically the same as that of the evaluation unit 13 of the first embodiment.

學習部34係於規定X軸及Y軸的位置指令參數的上限值及下限值的參數範圍內變更位置指令參數,並且學習在執行複數次關於對控制對象3的定位控制之情形時的X軸位置指令參數與Y軸位置指令參數與藉由評估部33所算出的評估值Q之關係。The learning unit 34 changes the position command parameter within the parameter range that defines the upper limit value and the lower limit value of the position command parameter of the X axis and the Y axis, and learns the situation when the positioning control on the control object 3 is executed a plurality of times. The relationship between the X-axis position command parameter, the Y-axis position command parameter, and the evaluation value Q calculated by the evaluation unit 33 .

學習部34係獨立地變更根據位置指令參數所決定的加速區間與減速區間中之加速度之形狀的各形狀,並且學習在執行複數次定位控制之情形時的X軸位置指令參數與Y軸位置指令參數與評估值Q之關係。於是,學習的結果,學習部34會獲得X軸位置指令參數與Y軸位置指令參數與評估值Q之關係式。更進一步而言,學習部34係根據藉由學習而獲得的關係式來決定X軸及Y軸的位置指令參數。The learning unit 34 independently changes each shape of the shape of the acceleration in the acceleration section and the deceleration section determined by the position command parameter, and learns the X-axis position command parameter and the Y-axis position command when the positioning control is executed a plurality of times The relationship between the parameter and the evaluation value Q. Then, as a result of the learning, the learning unit 34 obtains a relational expression between the X-axis position command parameter, the Y-axis position command parameter, and the evaluation value Q. More specifically, the learning unit 34 determines the position command parameters of the X-axis and the Y-axis based on the relational expressions obtained by learning.

此處,藉由X軸位置指令生成部31X及Y軸位置指令生成部31Y所生成的指令形狀係各自與實施型態1所示的指令形狀相同。亦即,關於X軸七個參數為X軸位置指令參數;關於Y軸七個參數為Y軸位置指令參數。此時的X軸位置指令參數與Y軸位置指令參數無需為相同的參數。Here, the command shapes generated by the X-axis position command generation unit 31X and the Y-axis position command generation unit 31Y are the same as the command shapes shown in Embodiment 1, respectively. That is, the seven parameters about the X-axis are the X-axis position command parameters; the seven parameters about the Y-axis are the Y-axis position command parameters. At this time, the X-axis position command parameter and the Y-axis position command parameter do not need to be the same parameter.

以下,針對評估部33及學習部34進一步詳細進行說明。Hereinafter, the evaluation unit 33 and the learning unit 34 will be described in further detail.

評估部33係收到X軸馬達位置、Y軸馬達位置及控制對象3的加速度檢測值,並藉由後述的方法來計算用以評估定位控制的好壞的評估值Q並輸出。X軸驅動控制部32X及Y軸驅動控制部32Y係各自根據X軸位置指令及Y軸位置指令進行動作,X軸位置指令及Y軸位置指令係分別根據X軸位置指令參數及Y軸位置指令參數而被計算。因此,藉由評估部33所算出的評估值Q係依存於X軸位置指令參數及Y軸位置指令參數的值。亦即,評估值Q係可視為用以評估X軸位置指令參數及Y軸位置指令參數之指標。The evaluation unit 33 receives the X-axis motor position, the Y-axis motor position, and the acceleration detection value of the control object 3, calculates and outputs the evaluation value Q for evaluating the quality of the positioning control by the method described later. The X-axis drive control unit 32X and the Y-axis drive control unit 32Y operate according to the X-axis position command and the Y-axis position command, respectively. The X-axis position command and the Y-axis position command are based on the X-axis position command parameter and the Y-axis position command, respectively. parameters are calculated. Therefore, the evaluation value Q calculated by the evaluation unit 33 depends on the values of the X-axis position command parameter and the Y-axis position command parameter. That is, the evaluation value Q can be regarded as an index for evaluating the X-axis position command parameter and the Y-axis position command parameter.

接著,說明評估值Q的具體的計算方法。圖10係顯示實施型態3中使用X軸位置指令參數及Y軸位置指令參數進行定位控制之情形時,X軸位置指令與X軸馬達位置之偏差的時間回應、Y軸位置指令與Y軸馬達位置之偏差的時間回應及控制對象的加速度檢測值的時間回應之圖。曲線圖1010係顯示X軸的馬達1的位置的偏差的時間回應之圖,橫軸顯示時間,縱軸顯示馬達1的位置的偏差。曲線圖1020係顯示Y軸的馬達5的位置的偏差的時間回應之圖,橫軸顯示時間,縱軸顯示馬達5的位置的偏差。曲線圖1030係顯示控制對象3的加速度的時間回應之圖,橫軸顯示時間,縱軸顯示控制對象3的加速度。Next, a specific calculation method of the evaluation value Q will be described. Figure 10 shows the time response of the deviation between the X-axis position command and the X-axis motor position, the Y-axis position command and the Y-axis position command when the positioning control is performed by using the X-axis position command parameter and the Y-axis position command parameter in the implementation form 3 A graph showing the time response of the deviation of the motor position and the time response of the acceleration detection value of the control object. The graph 1010 is a graph showing the time response to the deviation of the position of the motor 1 on the X axis, the horizontal axis shows the time, and the vertical axis shows the deviation of the position of the motor 1 . The graph 1020 is a graph showing the time response to the deviation of the position of the motor 5 on the Y-axis, the horizontal axis shows time, and the vertical axis shows the deviation of the position of the motor 5 . The graph 1030 is a graph showing the time response of the acceleration of the control object 3 , the horizontal axis shows the time, and the vertical axis shows the acceleration of the control object 3 .

如曲線圖1010所示,將從X軸的定位開始到X軸位置指令與X軸馬達位置之偏差的大小成為小於預定的容許值Ptol之X軸的定位完成為止的時間予以設為X軸定位時間TstX。同樣地,如曲線圖1020所示,將從Y軸的定位開始到Y軸位置指令與Y軸馬達位置之偏差的大小成為小於預定的容許值Ptol之Y軸的定位完成為止的時間予以設為Y軸定位時間TstY。容許值Ptol亦可在X軸與Y軸為不一樣的值。As shown in the graph 1010, the time from the start of the X-axis positioning to the completion of the X-axis positioning when the magnitude of the deviation between the X-axis position command and the X-axis motor position becomes smaller than the predetermined allowable value Ptol is set as the X-axis positioning time TstX. Similarly, as shown in the graph 1020, the time from the start of the positioning of the Y-axis to the completion of the positioning of the Y-axis when the magnitude of the deviation between the Y-axis position command and the Y-axis motor position becomes smaller than the predetermined allowable value Ptol is set as Y-axis positioning time TstY. The allowable value Ptol may be different on the X-axis and the Y-axis.

控制對象3到達目標位置附近的時間為X軸定位時間TstX與Y軸定位時間TstY中較長的時間。亦即,比較定位執行時的X軸定位時間TstX與Y軸定位時間TstY,將較長者的時間設為評估值Q,藉此,可形成使控制對象3到達目標位置附近的時間呈短時間化地進行調整。The time for the control object 3 to reach the vicinity of the target position is the longer time between the X-axis positioning time TstX and the Y-axis positioning time TstY. That is, by comparing the X-axis positioning time TstX and the Y-axis positioning time TstY at the time of positioning execution, and setting the longer time as the evaluation value Q, the time required for the control object 3 to reach the vicinity of the target position can be shortened. make adjustments.

此外,如曲線圖1030所示,將定位時間Tst較長那一方之軸的定位完成後的加速度檢測值的振動振幅的最大值設為加速度最大值Aamp。再者,將加速度檢測值的振動振幅的容許值設為加速度容許值Atol。以在目標位置附近的加速度檢測值的振動振幅顯示較小的值的方式設定評估值Q。為了滿足上述,評估值Q係藉由下述式(29)來設定。 Q=‑max(TstX,TstY)–γ×max(0,Aamp–Atol) ・・・(29)In addition, as shown in the graph 1030, the maximum value of the vibration amplitude of the acceleration detection value after the positioning of the axis with the longer positioning time Tst is defined as the acceleration maximum value Aamp. In addition, let the allowable value of the vibration amplitude of the acceleration detection value be an acceleration allowable value Atol. The evaluation value Q is set so that the vibration amplitude of the acceleration detection value in the vicinity of the target position shows a small value. In order to satisfy the above, the evaluation value Q is set by the following formula (29). Q=‑max(TstX,TstY)–γ×max(0,Aamp–Atol) ・・・(29)

式中,γ為正值。此外,max(x1,x2)為輸出兩個引數x1與引數x2中較大者之函數。依據式(29),X軸定位時間TstX與Y軸定位時間TstY之中任一方為較大的那一方之馬達的定位時間Tst的值愈小,評估值Q的值會愈大。此時,X軸定位時間TstX與Y軸定位時間TstY之中較小的那一方的馬達的定位時間Tst並沒有對評估值Q做出貢獻。此外,在定位完成後的加速度最大值Aamp比加速度容許值Atol愈大的情形中,加速度最大值Aamp愈小,評估值Q的值會愈大。在加速度最大值Aamp比加速度容許值Atol還小的情形中,加速度最大值Aamp並沒有對評估值Q做出貢獻。where γ is a positive value. In addition, max(x1, x2) is a function that outputs the larger of the two arguments x1 and the argument x2. According to Equation (29), the smaller the value of the motor's positioning time Tst of which one of the X-axis positioning time TstX and the Y-axis positioning time TstY is larger, the larger the value of the evaluation value Q will be. At this time, the positioning time Tst of the motor, which is the smaller of the X-axis positioning time TstX and the Y-axis positioning time TstY, does not contribute to the evaluation value Q. In addition, in the case where the maximum acceleration value Aamp after the positioning is completed is larger than the allowable acceleration value Atol, the smaller the maximum acceleration value Aamp is, the larger the value of the evaluation value Q is. In the case where the acceleration maximum value Aamp is smaller than the acceleration allowable value Atol, the acceleration maximum value Aamp does not contribute to the evaluation value Q.

在圖10中係就一例而言顯示Y軸定位時間TstY比X軸定位時間TstX為較長的例子。該情形,定位時間Tst之較長的Y軸定位時間TstY會對評估值Q做出貢獻。此外,在圖10中係就一例而言,定位時間Tst之較長的Y軸的定位完成後的加速度最大值Aamp係設為比加速度容許值Atol還小。如上述計算評估值Q,藉此可評估多軸的定位控制的定位時間Tst與定位完成後的加速度的大小。FIG. 10 shows an example in which the Y-axis positioning time TstY is longer than the X-axis positioning time TstX. In this case, the longer Y-axis positioning time TstY than the positioning time Tst contributes to the evaluation value Q. In addition, in FIG. 10, as an example, the acceleration maximum value Aamp after the completion of the positioning of the Y-axis with a longer positioning time Tst is set to be smaller than the acceleration allowable value Atol. The evaluation value Q is calculated as described above, whereby the positioning time Tst of the multi-axis positioning control and the magnitude of the acceleration after the positioning is completed can be evaluated.

依據上述,在實施型態3中評估值Q為愈大之值,位置指令參數可視為愈優良。惟評估值Q係只要是可評估定位控制,便不限定於藉由式(29)所定義者。From the above, in Embodiment 3, the larger the evaluation value Q is, the better the position command parameter can be. However, the evaluation value Q is not limited to the one defined by the formula (29) as long as it can evaluate the positioning control.

學習部34係以評估值Q為輸入,以學習X軸位置指令參數與Y軸位置指令參數與評估值Q之關係。具體而言,將X軸位置指令參數與Y軸位置指令參數一起作為輸入參數,以學習輸出評估值Q的平均值及變異數的推測值之函數。學習方法係設為與實施型態2相同。The learning unit 34 takes the evaluation value Q as an input, and learns the relationship between the X-axis position command parameter, the Y-axis position command parameter, and the evaluation value Q. Specifically, the X-axis position command parameter and the Y-axis position command parameter are used as input parameters to learn the function of the average value of the output evaluation value Q and the estimated value of the variance. The learning method is the same as that of the second embodiment.

藉由學習部34的動作,可獲得對應於X軸位置指令參數及Y軸位置指令參數的評估值Q的平均值與變異數。再者,與實施型態2同樣地,學習部34係求取使評估值Q的平均值與變異數之和成為最大的X軸位置指令參數與Y軸位置指令參數。所求得的X軸位置指令參數與Y軸位置指令參數係被用於下一次的定位控制。By the operation of the learning unit 34, the average value and the variance of the evaluation value Q corresponding to the X-axis position command parameter and the Y-axis position command parameter can be obtained. Furthermore, as in the second embodiment, the learning unit 34 obtains the X-axis position command parameter and the Y-axis position command parameter that maximize the sum of the average value and the variance of the evaluation value Q. The obtained X-axis position command parameters and Y-axis position command parameters are used for the next positioning control.

藉由學習部34的動作,可良好地保持用以獲得相對較大的評估值Q之探索與運行的平衡,在調整的結束時可找出獲得相對較大的評估值Q的位置指令參數。By the operation of the learning unit 34, the balance between the search and the operation for obtaining the relatively large evaluation value Q can be well maintained, and the position command parameter for obtaining the relatively large evaluation value Q can be found at the end of the adjustment.

在實施型態3中係顯示使X軸及Y軸雙方同時動作的例子,惟亦可使X軸停止住僅使Y軸動作來調整位置指令形狀。例如,每次Y軸的調整結束時使位置稍微沿X軸方向移動,藉此,可調整Y軸對應於各X軸之位置的最佳的位置指令形狀。依據實施型態3,不論控制對象3的停止位置在哪,皆可藉由加速度檢測值來最佳化位置指令形狀,因此,不需變更加速度檢測器4的設置位置之操作人員的時間精力。In the third embodiment, an example in which both the X-axis and the Y-axis are operated simultaneously is shown, but the X-axis may be stopped and only the Y-axis may be operated to adjust the shape of the position command. For example, each time the adjustment of the Y-axis is completed, the position is slightly moved in the X-axis direction, whereby the optimal position command shape of the Y-axis corresponding to the position of each X-axis can be adjusted. According to Embodiment 3, regardless of the stop position of the control object 3, the position command shape can be optimized based on the acceleration detection value. Therefore, the operator's time and effort to change the installation position of the acceleration detector 4 is not required.

此外,在實施型態3中茲舉X軸及Y軸的兩方向的定位控制為例,惟三軸以上的定位控制亦能夠以相同的方式生成位置指令。In addition, in Embodiment 3, the positioning control in the two directions of the X axis and the Y axis is taken as an example, but the positioning control of three or more axes can also generate position commands in the same way.

依據實施型態3的定位控制裝置30,與實施型態1、2同樣地,不需要操作人員的錯誤嘗試就可適當地調整複數個軸的位置指令參數。結果,依據實施型態3的定位控制裝置30,可獲得能夠有效率地進行使定位控制高速化的良好的指令形狀的調整之效果。According to the positioning control device 30 of Embodiment 3, similarly to Embodiments 1 and 2, the position command parameters of a plurality of axes can be appropriately adjusted without the operator's erroneous attempt. As a result, according to the positioning control device 30 of the third embodiment, it is possible to efficiently perform adjustment of a favorable command shape for speeding up the positioning control.

此外,在實施型態3中係構成為評估值Q係根據一個以上的馬達中最長的馬達的定位時間Tst來進行計算。藉此,亦具有可形成使多軸系統(system)的定位時間Tst呈短時間地調整定位控制之效果。Further, in the third embodiment, the evaluation value Q is calculated based on the positioning time Tst of the longest motor among the one or more motors. Thereby, there is also an effect that the positioning control can be adjusted in a short time for the positioning time Tst of the multi-axis system.

此處,針對實施型態1至3中所說明的定位控制裝置10至30的硬體構成進行說明。圖11係示意性顯示實現實施型態1至3的定位控制裝置的硬體構成的一例之圖。另外,定位控制裝置10至30係具有相同的硬體構成,因此此處係針對定位控制裝置10的硬體構成進行說明。Here, the hardware configuration of the positioning control devices 10 to 30 described in Embodiments 1 to 3 will be described. FIG. 11 is a diagram schematically showing an example of a hardware configuration for realizing the positioning control device of Embodiments 1 to 3. FIG. In addition, since the positioning control apparatuses 10 to 30 have the same hardware structure, the hardware structure of the positioning control apparatus 10 is demonstrated here.

定位控制裝置10係經由匯流排線73而與處理器(processor)71及記憶體(memory)72連接。處理器71的例子有CPU(Central Processing Unit;中央處理單元)或系統LSI(Large Scale Integration;大型積體電路)。記憶體72的例子有屬於主記憶裝置的RAM(Random Access Memory;隨機存取記憶體)、ROM(Read Only Memory;唯讀記憶體)、屬於輔助記憶裝置的HDD(Hard Disk Drive;硬碟)或SSD(Solid State Drive;固態硬碟)。The positioning control device 10 is connected to a processor 71 and a memory 72 via a bus wire 73 . Examples of the processor 71 include a CPU (Central Processing Unit; central processing unit) or a system LSI (Large Scale Integration; large integrated circuit). Examples of the memory 72 include RAM (Random Access Memory) belonging to the main memory device, ROM (Read Only Memory), and HDD (Hard Disk Drive) belonging to the auxiliary memory device. Or SSD (Solid State Drive; solid state hard disk).

當位置指令生成部11、驅動控制部12、評估部13及學習部14的一部分或全部的功能係藉由處理器71來實現之情形時,該一部分或全部的功能係藉由處理器71與軟體(software)、韌體(firmware)、或軟體及韌體的組合來實現。軟體或韌體係以程式的形式來記載,並儲存於記憶體72。處理器71係藉由讀取被記憶在記憶體72的程式並執行,來實現位置指令生成部11、驅動控制部12、評估部13及學習部14的一部分或全部的功能。When a part or all of the functions of the position command generation part 11 , the drive control part 12 , the evaluation part 13 and the learning part 14 are realized by the processor 71 , the part or all of the functions are realized by the processor 71 and the Software (software), firmware (firmware), or a combination of software and firmware to achieve. The software or firmware is recorded in the form of programs and stored in the memory 72 . The processor 71 realizes some or all of the functions of the position command generation unit 11 , the drive control unit 12 , the evaluation unit 13 , and the learning unit 14 by reading and executing the program stored in the memory 72 .

當位置指令生成部11、驅動控制部12、評估部13及學習部14的一部分或全部的功能藉由處理器71來實現之情形時,定位控制裝置10係於記憶體72儲存:使得由位置指令生成部11、驅動控制部12、評估部13及學習部14的一部分或全部所執行的步驟最終會被執行之程式。儲存至記憶體72的程式可視為使電腦執行由位置指令生成部11、驅動控制部12、評估部13及學習部14的一部分或全部所執行的步驟或方法者。When some or all of the functions of the position command generation unit 11 , the drive control unit 12 , the evaluation unit 13 and the learning unit 14 are realized by the processor 71 , the positioning control device 10 is stored in the memory 72 : A program in which a part or all of the steps executed by the command generation unit 11 , the drive control unit 12 , the evaluation unit 13 and the learning unit 14 are finally executed. The program stored in the memory 72 can be regarded as causing the computer to execute some or all of the steps or methods executed by the position command generation unit 11 , the drive control unit 12 , the evaluation unit 13 , and the learning unit 14 .

上述的實施型態所揭示的構成顯示本發明之內容的一例,可與其他一般所知的技術組合,亦可使實施型態間相互組合,並且亦可在不脫離主旨的範圍內省略或變更構成的一部分。The configuration disclosed in the above-mentioned embodiment shows an example of the content of the present invention, and can be combined with other generally known techniques, and the embodiments can also be combined with each other, and can be omitted or changed within the scope of not departing from the gist. part of the composition.

1,5:馬達 2,6:滾珠螺桿 3:控制對象 4:加速度檢測器 10,20,30:定位控制裝置 11:位置指令生成部 12:驅動控制部 13,33:評估部 14,24,34:學習部 31X:X軸位置指令生成部 31Y:Y軸位置指令生成部 32X:X軸驅動控制部 32Y:Y軸驅動控制部 71:處理器 72:記憶體 73:匯流排線 210,220,230,240,310,320,1010,1020,1030:曲線圖 400:類神經網路 410:輸入層 411,421,431:節點 420:中間層 430:輸出層 Aamp:加速度最大值 Atol:加速度容許值 AD:平均值與變異數之和的曲線 AV:平均值的曲線 P:星形記號的點 Pr11,Pr12,Pr13:位置指令參數 Ptol:容許值 Q,Q11,Q12,Q13:評估值 S1~S9:步驟 T1~T7:第一時間長~第七時間長 Tst:定位時間 TstX:X軸定位時間 TstY:Y軸定位時間 W1,W2:加權係數1,5: Motor 2,6: Ball screw 3: control object 4: Acceleration detector 10, 20, 30: Positioning Controls 11: Position command generation part 12: Drive Control Department 13,33: Evaluation Department 14, 24, 34: Learning Department 31X: X-axis position command generation part 31Y: Y-axis position command generator 32X: X-axis drive control section 32Y: Y-axis drive control part 71: Processor 72: Memory 73: Bus Wire 210, 220, 230, 240, 310, 320, 1010, 1020, 1030: Graph 400: Neural-like network 410: Input layer 411, 421, 431: Node 420: middle layer 430: output layer Aamp: Acceleration maximum value Atol: Allowable acceleration value AD: Curve of mean and sum of variance AV: Curve of Average P: asterisk point Pr11, Pr12, Pr13: Position command parameters Ptol: allowable value Q, Q11, Q12, Q13: Evaluation value S1~S9: Steps T1~T7: The first time is long ~ the seventh time is long Tst: positioning time TstX: X-axis positioning time TstY: Y-axis positioning time W1, W2: Weighting coefficient

圖1係示意性顯示實施型態1的定位控制裝置之構成的一例之圖。 圖2係顯示實施型態1中使用的位置指令及從位置指令求取的速度指令、加速度指令以及急動度的一例之圖。 圖3係顯示實施型態1中使用根據位置指令參數生成的指令形狀進行定位控制時,位置指令與馬達位置之偏差的時間回應及控制對象的加速度檢測值的時間回應的一例之圖。 圖4係示意性顯示實施型態1中使用的類神經網路(neural network)的一例之圖。 圖5係示意性顯示實施型態2的定位控制裝置的構成的一例之圖。 圖6係顯示實施型態2的定位控制裝置的定位方法的程序的一例之流程圖(flowchart)。 圖7係用以說明藉由實施型態2的定位控制裝置所獲得的效果之圖。 圖8係用以說明藉由實施型態2的定位控制裝置所獲得的效果之圖。 圖9係示意性顯示實施型態3的定位控制裝置之構成的一例之圖。 圖10係顯示實施型態3中使用X軸位置指令參數及Y軸位置指令參數進行定位控制時,X軸位置指令與X軸馬達位置之偏差的時間回應、Y軸位置指令與Y軸馬達位置之偏差的時間回應、及控制對象的加速度檢測值的時間回應之圖。 圖11係示意性顯示實現實施型態1至3的定位控制裝置的硬體(hardware)構成的一例之圖。FIG. 1 is a diagram schematically showing an example of the configuration of the positioning control device according to the first embodiment. FIG. 2 is a diagram showing an example of a position command used in Embodiment 1, and a speed command, an acceleration command, and a jerk obtained from the position command. 3 is a diagram showing an example of the time response of the deviation between the position command and the motor position and the time response of the acceleration detection value of the control object when positioning control is performed using the command shape generated from the position command parameter in Embodiment 1. FIG. 4 is a diagram schematically showing an example of a neural network used in Embodiment 1. FIG. FIG. 5 is a diagram schematically showing an example of the configuration of the positioning control device according to the second embodiment. FIG. 6 is a flowchart (flowchart) showing an example of a program of the positioning method of the positioning control device of Embodiment 2. FIG. FIG. 7 is a diagram for explaining the effect obtained by the positioning control apparatus of Embodiment 2. FIG. FIG. 8 is a diagram for explaining the effect obtained by the positioning control device of Embodiment 2. FIG. FIG. 9 is a diagram schematically showing an example of the configuration of the positioning control device of Embodiment 3. FIG. Figure 10 shows the time response of the deviation between the X-axis position command and the X-axis motor position, the Y-axis position command and the Y-axis motor position when the positioning control is performed using the X-axis position command parameter and the Y-axis position command parameter in the implementation form 3 The time response of the deviation and the time response of the acceleration detection value of the control object are graphs. FIG. 11 is a diagram schematically showing an example of a hardware configuration for realizing the positioning control apparatuses of Embodiments 1 to 3. FIG.

1:馬達 1: Motor

2:滾珠螺桿 2: Ball screw

3:控制對象 3: control object

4:加速度檢測器 4: Acceleration detector

10:定位控制裝置 10: Positioning control device

11:位置指令生成部 11: Position command generation part

12:驅動控制部 12: Drive Control Department

13:評估部 13: Evaluation Department

14:學習部 14: Learning Department

Claims (5)

一種定位控制裝置,係驅動一個以上的馬達以使控制對象移動至目標位置的定位控制裝置,並具備:位置指令生成部,係根據位置指令參數來生成獨立地決定加速區間及減速區間的加速度的形狀的位置指令;驅動控制部,係以使表示前述馬達的位置的馬達位置跟隨前述位置指令的方式驅動前述馬達;評估部,係從加速度檢測部取得顯示前述控制對象的加速度的加速度檢測值,且根據前述馬達位置及在根據前述馬達位置而判定定位控制完成後的前述加速度檢測值,來算出前述控制對象的定位性能的評估值;及學習部,係獨立地變更根據前述位置指令參數所決定之加速區間與減速區間中之位置指令的加速度之形狀的各形狀,並且學習在執行了複數次定位控制之情形時的前述位置指令參數與前述評估值之關係,而獲得前述位置指令參數與前述評估值之關係式,其中,前述評估值係根據從定位開始到判定定位完成為止的定位時間所計算。 A positioning control device is a positioning control device that drives one or more motors to move a control object to a target position, and includes a position command generation unit that generates accelerations that independently determine acceleration sections and deceleration sections based on position command parameters. the position command of the shape; the drive control unit drives the motor in such a way that the motor position indicating the position of the motor follows the position command; the evaluation unit obtains the acceleration detection value indicating the acceleration of the control object from the acceleration detection unit, The evaluation value of the positioning performance of the control object is calculated based on the motor position and the acceleration detection value after the completion of the positioning control is determined based on the motor position; Each shape of the acceleration shape of the position command in the acceleration section and the deceleration section, and learn the relationship between the position command parameter and the evaluation value when the positioning control is performed a plurality of times, and obtain the position command parameter and the above The relational expression of the evaluation value, wherein the evaluation value is calculated according to the positioning time from the start of the positioning to the determination of the completion of the positioning. 如請求項1所述之定位控制裝置,其中,前述評估值係根據一個以上的前述馬達中前述定位時間最長的前述馬達的前述定位時間所計算。 The positioning control device of claim 1, wherein the evaluation value is calculated based on the positioning time of the motor with the longest positioning time among the one or more motors. 如請求項1或2所述之定位控制裝置,其中,前述學習部係獲得輸出對應於前述位置指令參數的前述評估值的推測值之函數、或輸出前述評估值的平均值及變異數的推測值之函數作為前述關係式。 The positioning control device according to claim 1 or 2, wherein the learning section obtains a function that outputs an estimated value of the estimated value corresponding to the position command parameter, or an estimate that outputs an average value and a variance of the estimated value A function of the value as the aforementioned relational expression. 如請求項1或2所述之定位控制裝置,其中,前述學習部係根據前述位置指令參數與前述評估值之前述關係式,來變更一個以上的前述馬達 的位置指令參數。 The positioning control device according to claim 1 or 2, wherein the learning section changes one or more of the motors according to the relational expression between the position command parameter and the evaluation value. The positional directive parameter. 一種定位方法,係利用具備位置指令生成部、驅動控制部、評估部及學習部的定位控制裝置來驅動一個以上的馬達以使控制對象移動至目標位置,前述定位方法係包含;由前述位置指令生成部根據位置指令參數來生成獨立地決定加速區間及減速區間的加速度的形狀的位置指令之步驟;由前述驅動控制部以使表示前述馬達的位置的馬達位置跟隨前述位置指令的方式驅動前述馬達之步驟;由前述評估部取得顯示前述控制對象的加速度的加速度檢測值,且根據前述馬達位置及在根據前述馬達位置而判定定位控制完成後的前述加速度檢測值,來算出前述控制對象的定位性能的評估值之步驟;及由前述學習部獨立地變更根據前述位置指令參數所決定之加速區間與減速區間中之位置指令的加速度之形狀的各形狀,並且學習在執行了複數次定位控制之情形時的前述位置指令參數與前述評估值之關係,而獲得前述位置指令參數與前述評估值之關係式之步驟,其中,前述評估值係根據從定位開始到判定定位完成為止的定位時間所計算。 A positioning method, which uses a positioning control device including a position command generation part, a drive control part, an evaluation part and a learning part to drive one or more motors to move a control object to a target position, the positioning method comprising; The generating unit generates a position command that independently determines the shape of the acceleration in the acceleration section and the deceleration section based on the position command parameter; the drive control section drives the motor so that the motor position indicating the position of the motor follows the position command The step of obtaining the acceleration detection value indicating the acceleration of the control object by the evaluation unit, and calculating the positioning performance of the control object according to the motor position and the acceleration detection value after the completion of the positioning control is determined according to the motor position. The step of evaluating the value of The step of obtaining the relational expression between the position command parameter and the evaluation value, wherein the evaluation value is calculated according to the positioning time from the start of the positioning to the determination of the completion of the positioning.
TW110103444A 2020-03-04 2021-01-29 Positioning control device and positioning method TWI777395B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
WOPCT/JP2020/009264 2020-03-04
PCT/JP2020/009264 WO2021176619A1 (en) 2020-03-04 2020-03-04 Positioning control device and positioning method

Publications (2)

Publication Number Publication Date
TW202139587A TW202139587A (en) 2021-10-16
TWI777395B true TWI777395B (en) 2022-09-11

Family

ID=73740953

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110103444A TWI777395B (en) 2020-03-04 2021-01-29 Positioning control device and positioning method

Country Status (4)

Country Link
JP (1) JP6800384B1 (en)
CN (1) CN115136095B (en)
TW (1) TWI777395B (en)
WO (1) WO2021176619A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007034781A (en) * 2005-07-28 2007-02-08 Fuji Electric Fa Components & Systems Co Ltd Method for adjusting control parameters of positioning control device
TW201251300A (en) * 2010-12-28 2012-12-16 Thk Co Ltd The motor control equipment, the motor control method and the computer program for motor control
TW201614949A (en) * 2014-06-26 2016-04-16 Mitsubishi Electric Corp Position controlling device
CN108628355A (en) * 2017-03-15 2018-10-09 发那科株式会社 Servocontrol device and system, machine learning device and method
JP2018186610A (en) * 2017-04-25 2018-11-22 株式会社安川電機 System, evaluation apparatus, and evaluation method
WO2019239553A1 (en) * 2018-06-14 2019-12-19 三菱電機株式会社 Machine learning device, correction parameter adjustment device and machine learning method

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04324507A (en) * 1991-04-25 1992-11-13 Hitachi Ltd Acceleration/deceleration control method of drive device and robot system
JP3477792B2 (en) * 1994-03-04 2003-12-10 三菱電機株式会社 Motion control device
JP3657718B2 (en) * 1996-11-15 2005-06-08 富士通株式会社 Control system, acceleration pattern setting method and parameter setting method in control system
JP2005339503A (en) * 2004-04-26 2005-12-08 Japan Science & Technology Agency Driving device positioning control method and apparatus
JP5380672B2 (en) * 2007-02-20 2014-01-08 国立大学法人 名古屋工業大学 Motion planner, control system, and multi-axis servo system
JP5642276B2 (en) * 2011-06-09 2014-12-17 三菱電機株式会社 Motor control device
WO2016203614A1 (en) * 2015-06-18 2016-12-22 三菱電機株式会社 Control-parameter adjusting device
JP6450732B2 (en) * 2016-11-11 2019-01-09 ファナック株式会社 Numerical controller
JP2018126796A (en) * 2017-02-06 2018-08-16 セイコーエプソン株式会社 Control device, robot, and robot system
JP6469171B2 (en) * 2017-06-14 2019-02-13 ファナック株式会社 Electric motor control device
JP6499720B2 (en) * 2017-06-22 2019-04-10 ファナック株式会社 Machine learning device, servo control device, servo control system, and machine learning method
JP6734318B2 (en) * 2018-03-23 2020-08-05 ファナック株式会社 Drive device and machine learning device
WO2020075316A1 (en) * 2018-10-12 2020-04-16 三菱電機株式会社 Positioning control device and positioning method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007034781A (en) * 2005-07-28 2007-02-08 Fuji Electric Fa Components & Systems Co Ltd Method for adjusting control parameters of positioning control device
TW201251300A (en) * 2010-12-28 2012-12-16 Thk Co Ltd The motor control equipment, the motor control method and the computer program for motor control
TW201614949A (en) * 2014-06-26 2016-04-16 Mitsubishi Electric Corp Position controlling device
CN108628355A (en) * 2017-03-15 2018-10-09 发那科株式会社 Servocontrol device and system, machine learning device and method
JP2018186610A (en) * 2017-04-25 2018-11-22 株式会社安川電機 System, evaluation apparatus, and evaluation method
WO2019239553A1 (en) * 2018-06-14 2019-12-19 三菱電機株式会社 Machine learning device, correction parameter adjustment device and machine learning method

Also Published As

Publication number Publication date
CN115136095A (en) 2022-09-30
JPWO2021176619A1 (en) 2021-09-10
TW202139587A (en) 2021-10-16
JP6800384B1 (en) 2020-12-16
CN115136095B (en) 2023-04-04
WO2021176619A1 (en) 2021-09-10

Similar Documents

Publication Publication Date Title
US10481566B2 (en) Machine learning device, servo control device, servo control system and machine learning method
JP6774637B2 (en) Control device and control method
US12140925B2 (en) Positioning control device and positioning method
EP0463934A1 (en) Time delay controlled processes
CN104204977B (en) trajectory control device
KR102494187B1 (en) Positioning control device and positioning method
US20170031343A1 (en) Machine tool, simulation apparatus, and machine learning device
JP6981579B2 (en) Positioning control device and positioning control method
CN107340732B (en) Servocontrol device and method of servo-controlling
WO2023032175A1 (en) Frequency characteristic prediction device and frequency characteristic prediction method
CN120435695A (en) Parameter adjustment device and parameter adjustment method
JP2006146572A (en) Servo control apparatus and method
TWI777395B (en) Positioning control device and positioning method
JP2002091570A (en) Servo control method
KR102551659B1 (en) Method for estimating parameter of mechanical model for servo motor and system for controlling motor with Kalman filter using the same
JP3805476B2 (en) Motor control device
JP7786067B2 (en) Control device, control method, and program
CN110788859B (en) A Global Adaptive Adjustment System of Controller Parameters
CN112183753A (en) Method and system for improving control bandwidth of motion platform through motor layout optimization
JP2026014297A (en) Control system, control method, and program
WO2026018534A1 (en) Control system, control method, and program
JP2025038569A (en) Parameter adjustment device, positioning system, positioning method, and method for manufacturing electronic component mounting board
Terashima et al. Vibration Suppression GUI Tool based Input Shaping Control and Its Applications to Industrial Processes
JP2021144438A (en) Controller system and control method thereof

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent