WO1999001927A1 - Systeme de commande de positionnement - Google Patents

Systeme de commande de positionnement Download PDF

Info

Publication number
WO1999001927A1
WO1999001927A1 PCT/JP1998/002965 JP9802965W WO9901927A1 WO 1999001927 A1 WO1999001927 A1 WO 1999001927A1 JP 9802965 W JP9802965 W JP 9802965W WO 9901927 A1 WO9901927 A1 WO 9901927A1
Authority
WO
WIPO (PCT)
Prior art keywords
rotation
control device
detected
rotating shaft
position control
Prior art date
Application number
PCT/JP1998/002965
Other languages
English (en)
French (fr)
Inventor
Keiji Sakamoto
Kanemasa Okuda
Mitsuyuki Taniguchi
Takahiro Akiyama
Hiroshi Tokuoka
Tadashi Inoue
Original Assignee
Fanuc Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fanuc Ltd. filed Critical Fanuc Ltd.
Priority to US09/254,009 priority Critical patent/US6320344B1/en
Priority to EP98929787A priority patent/EP0935335A4/en
Publication of WO1999001927A1 publication Critical patent/WO1999001927A1/ja

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/404Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by control arrangements for compensation, e.g. for backlash, overshoot, tool offset, tool wear, temperature, machine construction errors, load, inertia
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/19Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/402Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by control arrangements for positioning, e.g. centring a tool relative to a hole in the workpiece, additional detection means to correct position
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/37Measurements
    • G05B2219/37339Eccentricity, cylindricity, circularity
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/49Nc machine tool, till multiple
    • G05B2219/49177Runout, eccentricity, unbalance of tool or workpiece

Definitions

  • the present invention relates to a position control device that detects a rotation position of a rotation shaft and performs feedback control of a position of the rotation shaft and a movement position of a movable unit connected to the rotation shaft.
  • the present invention relates to a position control device suitable for controlling a rotational position of a spindle of a machine tool.
  • position detectors that detect the rotational position and speed of the rotating shaft
  • various position detectors that detect the position and speed optically, magnetically, and electrically are known.
  • the object to be detected of the position detector is attached to the rotation axis, and the object to be detected rotates together with the rotation axis.
  • the rotation position is optically, magnetically and electrically detected, and the rotation of the rotation axis is performed. It detects the position.
  • the position detector If the object to be detected by the position detector is eccentric, or if there is an eccentric error due to a mounting error when attaching the object to the rotary shaft, the rotational position of the rotary shaft and the rotational position detected by the position detector Therefore, the detection accuracy of the detected rotational position of the rotating shaft decreases. Therefore, conventionally, the object to be detected has been mounted accurately and accurately on the rotating shaft so that this eccentricity error does not occur. In addition, errors in position detection due to eccentric errors that had occurred even with accurate mounting were ignored. If the position is controlled with high accuracy, the detection error of the position detection due to the eccentricity error appears in the position control, causing a problem that the position cannot be controlled with high accuracy. In addition, there is a limit even if the object to be detected of the detector is accurately mounted so as not to cause eccentricity on the rotating shaft, and it is very difficult.
  • An object of the present invention is to provide a position control device capable of correcting a position detection error due to the eccentricity error and performing accurate position control.
  • one embodiment of a position control device is a position control device that is mounted on a rotating shaft and controls a position based on a position feedback signal from a position detector that detects a rotational position of the rotating shaft.
  • the control device calculates the detection error data due to the eccentricity and the mounting error of the object to be detected in the position detector attached to the rotation shaft based on the output signal from the position detector attached to the rotation shaft.
  • the detection position data is stored in the output position control device, and the detection error data is corrected with respect to the rotation command position to the motor that drives the rotary shaft, and is used as the rotation command position to the motor.
  • another form of the position control device is a position control device that is attached to a rotation shaft and controls a position based on a position feedback signal from a position detector that detects a rotation position of the rotation shaft.
  • a program for obtaining the detection error data which causes the error is stored in the position control device, and when the rotation speed becomes equal to or higher than the set speed, the program is executed, and based on an output signal from the position detector. It is characterized in that the detection error data is automatically obtained and stored in a memory in the position control device, and the rotation command position is corrected based on the stored detection error data to obtain a rotation command position for the motor. .
  • the eccentricity of the object to be detected of the position detector ⁇ the rotation center of the object to be detected with respect to the center of the rotation axis is eccentric due to an attachment error when the object to be detected is mounted on the rotating shaft. Even if the centering is performed, the error of the rotational position detected by the position detector due to this eccentricity is corrected and the command to the motor for driving the rotating shaft is output, so that accurate position control is possible.
  • FIG. 1 is an explanatory diagram for obtaining detection error data using a high-accuracy position detector according to an embodiment of the present invention.
  • FIG. 2 is an explanatory diagram when obtaining detection error data according to the second embodiment of the present invention.
  • FIG. 3A and FIG. 3B are explanatory diagrams illustrating the undulation of the detected position error and the speed error due to the eccentricity of the rotation center of the object to be detected of the position detector.
  • FIG. 4 is a diagram illustrating the principle of obtaining the amount of eccentricity from the amount of movement obtained for each sampling cycle.
  • FIG. 5 is an explanatory diagram of the same principle.
  • Figure 6 shows a display screen that displays the amount of movement detected for each sampling cycle.
  • FIG. 7 is a flowchart of a detection error data acquisition program according to an embodiment of the present invention.
  • FIG. 1 is a block diagram of a method for obtaining detection error data due to an eccentric error according to the first embodiment of the present invention.
  • reference numeral 1 denotes a main shaft of a machine tool or a rotating shaft of a motor.
  • the object to be detected by the position greeting device 2 is on the rotation axis 1.
  • the sensor 2b of the position detector 2 is arranged close to the object 2a, and the rotational position of the object 2a is optically, electrically, or magnetically rotated, that is, the main shaft.
  • the rotational position of the rotary shaft 1 and the motor shaft or the like is detected Te sensor 2 b Niyotsu, c detection signal to the position control device 3 for controlling the rotational position of the rotary shaft 1 is turned earthenware pots by the feedback still
  • the method for detecting the rotational position of the rotating shaft 1 is the same as the conventional method.
  • a high-precision position detector for example, a plurality of sensors is provided on the rotating shaft 1, so that the rotation position can be detected by removing the influence of the eccentricity of the object to be detected.
  • a high-precision position detector 4 is attached so that the position can be detected and displayed by the high-precision position detector 4. Then, a movement command to a certain position is output from the position control device 3 and output to the motor driving the rotating shaft 1, and the rotating shaft 1 is positioned at the command position. At this time, the difference between the position detected by the high-precision position detector 4 and the command position is detected as detection error data due to the eccentricity of the detection target 2a.
  • One rotation of the rotating shaft 1 is divided into several parts, and at the position of each division point, the above-mentioned detection position error data is detected, and the above detection error data is respectively detected, and is stored in the memory of the position control device 3. Save the settings.
  • one rotation of the rotation axis 1 is divided into 12 parts, and the position detector 2 obtains one rotation signal.
  • the rotation angle is 0, 30, or 60 degrees.
  • the detection error data is obtained as described above, and is set and stored in the memory in the position control device 3.
  • the high-accuracy position detector 4 When performing normal operation of the position control device 3, the high-accuracy position detector 4 is removed from the rotating shaft.
  • the command position is corrected based on the detection error data stored in memory for the command position, and the corrected command
  • the position is output as a movement command value to the spindle or motor, and the position of rotary axis 1 is controlled.
  • the value obtained by subtracting the position commanded to the motor that drives the rotating shaft 1 from the position detected by the high-precision position detector 4 is a positive value
  • the value is a positive detection error data
  • it is stored as negative detection error data for each predetermined rotation angle within one rotation of rotary shaft 1, and each time the movement command reaches this rotation angle, the detection correction data is subtracted from the command position. If the positioning position on the rotary axis 1 is in the middle of the stored position, interpolation is performed to obtain the detection error data for the command position, and the obtained detection error data is subtracted from the command position. And outputs to the motor that drives rotating shaft 1 as the corrected movement command position.
  • the detection error data stored for the positions of 0 and 30 degrees is interpolated. Then, the detection error data at the command position is obtained, and the obtained detection error data is subtracted from the command position and output.
  • the detection error data is positive, if the command position is output without correction, the rotary shaft 1 will move to the position detected by the high-precision position detector 4. In this case, it means that it has rotated too much by the detection error data from the commanded position.
  • the actual rotational position is offset by the detection error data and moves to an accurate position.
  • the detection error data is negative, it means that the rotation amount is less than the commanded position by the detection error data, so this negative detection error data is subtracted from the command position, and the command position is The detection error data, which is to be increased, is canceled out, and the robot moves to the correct command position.
  • the method of correcting the detection error data to the command position is as follows: a feed screw is driven by a motor, the rotary motion is converted to linear motion, and the movable part such as a machine tool is moved.
  • the pitch error of the feed screw is corrected, but this method is the same as this pitch error correction method.
  • a detection error is generated by the attached own position detector 2. It seeks and stores data.
  • FIG. 3A is an explanatory diagram for explaining the occurrence of the undulation.
  • the rotation center O of the rotation axis 1 and the rotation center O 'of the object 2a of the position detector 2 attached to the rotation axis 1 are separated from the rotation center O of the rotation axis by a rotation angle of 0 degrees.
  • d was eccentric.
  • the sensor 2b is not at the position P1 but at the position
  • the position of P 1 ' will be detected. Due to the eccentricity between the rotation center O of the rotation axis 1 and the rotation center O 'of the object 2a of the position detector 2, the detection error becomes P1-P1', which is the maximum value of the brush. . At the position where the rotating shaft 1 is rotated by 180 degrees, the sensor 2b detects the position P2 and no detection error occurs. When rotated by 270 degrees, sensor 2b The position of the position P 3 ′ is detected instead of the position P 3. Due to the eccentricity between the rotation center ⁇ of the rotation shaft 1 and the rotation center O ′ of the object 2 a of the position detector 2, the detection error becomes P 3 — P 3 ′, which is a negative maximum value. is there. As described above, the detection error (position error) in one rotation of the rotating shaft (0 ° to 360 °) undulates in a sinusoidal waveform in FIG. 3B.
  • the position detector 2 since the position detector 2 detects the amount of movement within one sampling period, that is, outputs the amount of movement per fixed time, it can be said that the speed is detected.
  • the radius of rotation At the rotation angle of 0 degree, the radius of rotation is the maximum, so the speed is maximum (that is, the maximum speed error occurs).
  • the rotation radius At the position of the rotation angle of 180 degrees, the rotation radius is the minimum, so the speed is Is minimal (ie, produces the least speed error).
  • the rotation angles are 90 degrees and 270 degrees, there is no speed error.
  • the velocity error becomes a cosine-shaped undulation 90 degrees out of phase with respect to the sine-shaped undulation of the position error.
  • the present embodiment is characterized in that the amount of eccentricity d is obtained from the undulation amplitude of the detected speed error (ie, the amount of movement within one sampling period (a fixed time)).
  • the motor that drives rotating shaft 1 is driven at a frequency that is not affected by the response of the speed loop of the control system that drives rotating shaft 1.
  • the number of rotations of the rotating shaft is rotated at, for example, 375 (min " 1 ), that is, the rotating shaft 1 is rotated once by 16 ms.
  • the sampling period for detecting the position is 2 ms.
  • position detection is performed eight times during one rotation of the rotary shaft 1 (that is, every time the rotary shaft 1 rotates 45 degrees).
  • FIG. 4 is a diagram for explaining the principle of obtaining the amount of eccentricity d.
  • O is the rotation center of the rotation axis 1.
  • O ′ is the rotation center of the object to be detected by the position detector 2, and an eccentricity d exists between O and O ′.
  • the movement amounts detected every 2 ms of the sampling period are 1, L2,..., And L8.
  • L mZ 2 (ms) means the command speed
  • Speed error A sin (2 f t) —— (7)
  • F is the number of rotations per second.
  • the amplitude A in Eq. (7) means the maximum value (peak value) of the speed error.
  • A is the maximum value (peak value) of the speed error because A is the amplitude of the function of equation (7).
  • the length of one round of the signal detector in the above (III) is a value uniquely determined by the position detector 2.
  • the rotation speed of rotating shaft 1 in (IV) is the command rotation speed.
  • the values of (1) and (II) can be easily obtained by rotating the rotating shaft at the command speed N and inputting the signal from the position detector 2 to a personal computer or the like. That is, the timer 1 is operated when the one rotation signal is input, and the movement value error maximum value L max from the time of the one rotation signal in (II) is calculated from the timer value when the maximum value of the movement amount is detected. 'Obtain the time tp (sec) until the occurrence time.
  • the time tp up to the time when the maximum value L max 'of is calculated from the screen is 3.6 ms.
  • the time of the occurrence of one rotation signal is the time when the detected movement amount is equal to the average movement amount Lm.
  • the position where one rotation signal is generated is determined when the object 2a of the position detector 2 is attached to the rotating shaft 1.Therefore, the detected movement amount is always the average movement time at the time of one rotation signal generation. There will be no point in time equal to the quantity L m.
  • the angle s d at which the maximum value L max 'of the displacement error occurs is obtained from the screen.
  • the position of one rotation signal is the position of the rotation angle of the rotation axis 1 at 0 °, and that the detection delay time td of the position detector 2 has been measured in advance and set to the bus control. .
  • is the number of rotations N (min " 1 ) of the rotating shaft 1.
  • a value c a is obtained by converting the maximum value L max ′ of the movement amount error into an angle.
  • This value c a is an angle corresponding to the arc q (the length on the circumference of the signal detection unit corresponding to the amount of eccentricity d) shown in FIG. Length of signal detector of position detector 2
  • a 0 ca X sin ( ⁇ — sd) ⁇ ⁇ ⁇ ⁇ (1 3)
  • one rotation of rotation axis 1 2 ⁇ (rad) is divided into n equal parts, and the eccentric error occurs every time the angle advances 2 ⁇ n ⁇ 0 0, ⁇ 0 1, ⁇ 02, ⁇ 03, ⁇ ⁇ ⁇ ⁇ ⁇ 0 n-1 are assumed to occur.
  • the eccentric error at the command angle 0 i is A 0 i
  • the eccentric error of the command angle 0 i + 1 advanced by 2 ⁇ from the angle 0 i is ⁇ 0 ⁇ + 1, and the previous command angle 0 i
  • the difference of the eccentricity error obtained in this way is set and stored in the memory of the position control device 3, and the position of the movable part is determined by driving the feed screw with a conventional motor.
  • the difference between the stored eccentricity error in response to the movement command to the motor is corrected by the same method as the pitch error correction of the lead screw that is performed when the motor is driven while controlling. If the rotation axis is driven as a command to the motor, accurate position control can be performed by correcting the position detection error due to eccentricity due to the mounting error of the position detector.
  • the above-described detection error data is calculated by a personal computer. However, without using a personal computer, this position detector is attached and the rotation axis of the rotation axis is determined based on the position detector.
  • the above-mentioned detection error data acquisition program is stored in the position control device 3 itself for controlling the position, the position detector 2 is attached to the rotating shaft 1, and this program is executed when the position control device is set up.
  • the detection error data may be automatically obtained and stored in the memory in the position control device 3.
  • FIG. 7 is a flowchart of a detection error data acquisition processing program executed by the personal computer or the position control device 3. The processing shown in FIG. 7 is mainly described for the case where the processing is executed by the position control device 3.
  • the processor of the position control device 3 starts the processing shown in FIG.
  • a first set value (for example, a predicted average movement amount L m or a slightly lower value) is set in a register R 1 that stores a maximum value of the movement amount L i within the sampling period, and The second set value (for example, the predicted average movement amount Lm or a value slightly larger than the predicted average movement amount) is set in the register R2 storing the minimum value (step S1).
  • a high-speed set number of rotations N at which a preset speed loop for controlling the rotation speed of the rotating shaft 1 does not work is output, the motor driving the rotating shaft 1 is rotated at the speed, and the timer TM is set. Set the time (step S2).
  • the personal computer When executing the detection error data acquisition processing on the personal computer, the personal computer outputs the set number of revolutions N to the position control device 3, and the position control device 3 controls the motor for driving the rotating shaft 1. It will be driven.
  • This set time is a time longer than the time required for rotating shaft 1 to reach this set speed N and keep the speed constant by instructing the set speed N.
  • step S3 it is determined whether or not the timer Ti1 has timed out.
  • step S4 it is monitored whether or not one rotation signal has been input from the position detector 2 (step S4).
  • the timer Ti2 is started (step S5), and the movement amount Li (L1, L2, ——) detected for each sampling period T (ms) is detected.
  • step S6 The detected movement amount Li in the sampling period T is compared with the value stored in the register R1 (step S7), and if the detected movement amount Li is larger, the detected movement amount Stored in register R 1 and the maximum value of the displacement error from the time of one rotation signal generation
  • the value of the timer Ti2 is stored in the register Rtp for storing the time tp until the occurrence time of Lmax '(step S8). If the detected movement amount Li is equal to or smaller than the value stored in the register R1, the process proceeds to step S9 without performing the process in step S8.
  • step S9 the detected movement amount Li is compared with the value stored in the register R2, and if the detected movement amount Li is smaller, the detected movement amount Li is stored in the register R2 (step S9). Ten ) . If the value stored in the register R 2 is equal to or smaller than the detected movement amount L i, the process proceeds from step S 9 to step S 11 without performing the process of step S 10.
  • step S11 it is determined whether or not one rotation signal has been input. If not, the process proceeds to step S6, and the processing in steps S6 to S11 described above is repeated. When one rotation signal is detected in step S12, the process proceeds to step S12.
  • the register R 1 stores the maximum value max of the movement amount L i in the section from one rotation signal to one rotation signal, that is, within one rotation of the rotating shaft 1.
  • the minimum value L min of the movement amount is stored in the data R 2.
  • register R tp contains the time of one rotation signal occurrence. The time from when the maximum value L max of the movement amount L i is detected is stored.
  • the detection of the maximum value L max of the movement amount L i means that the maximum value L max 'of the movement amount error has been detected (see the above equation (4)). , 1 Maximum value of travel distance error from the time of rotation signal generation
  • the index i is set to “0 J (step S 14), and the value ca obtained by converting the obtained maximum value L max ′ of the displacement error into an angle is the maximum value L max ′ of the displacement error.
  • step S17 the index i is incremented by 1 (step S17), it is determined whether the index i has reached the set number of divisions n (step S18), and if not, the step S1 is performed. 5 The following processing is repeated, and when the index i reaches the set value n, this processing ends.
  • the memory of the position control device 3 in the case of a personal computer, the memory of the personal computer, the detection error data for each rotation angle obtained by dividing the rotation axis 1 into n equal parts is stored. become.
  • the detection error data for each rotation angle stored in the memory of the personal computer is displayed on a display device or the like, and the displayed data is located. What is necessary is just to set to the memory of the control device 3.
  • the detection error data is obtained by driving the motor that drives the rotary shaft at a constant speed at which the speed loop does not work, but when the motor is an induction motor
  • the above-described detection error data may be obtained by exciting the induction motor at a constant frequency and rotating the induction motor with an orb in the speed loop.
  • the detection error data is obtained using a personal computer, or the detection error data acquisition program is written in the position control device 3 itself. You may remember and ask for it automatically.
  • the detection error data acquisition program replaces the excitation command output of the set constant frequency instead of the output processing of the set rotation speed N in step S2 in FIG.
  • step S3 and step S4 a process of calculating the number of revolutions N of the rotating shaft 1 is required. That is, it is necessary to output the excitation command at a constant frequency, wait until the rotation speed becomes constant, and then calculate the value of the rotation speed N based on the signal from the position detector 2. Other processing is the same as in Fig. 7.
  • the detection error data acquisition command is input to the personal computer or the position control device 3 to acquire the detection error data before the position control device 3 starts the normal operation.
  • the detection error data acquisition program is stored in the position control device 3, and when the rotation speed of the rotating shaft 1 reaches the rotation speed N equal to or higher than the set rotation speed, the detection error data acquisition program is stored. May be executed. In this case, the processing in steps S2 and S3 is not necessary in the processing shown in FIG.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Position Or Direction (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Control Of Electric Motors In General (AREA)

Description

明 細 書
位置制御装置
技 術 分 野
本発明は、 回転軸の回転位置を検出 し、 該回転軸の位 置や回転軸に連結された可動部の移動位置をフ ィー ドバ ック制御する位置制御装置に関する。 特に、 工作機械の 主軸の回転位置を制御するのに適した位置制御装置に関 する。
背 景 技 術
回転軸の回転位置および速度を検出する位置検出器と しては、 光学的、 磁気的、 電気的に位置 , 速度を検出す る各種位置検出器が知られている。 これらの位置検出器 は回転軸に位置検出器の被検出体を取り付け、 回転軸と 共に該被検出体が回転し、 この回転位置を光学的、 磁気 的、 電気的に検出 し回転軸の回転位置を検出するもので ある。
位置検出器の被検出体が偏心している場合や、 該被検 出体を回転軸に取り付ける際の取り付け誤差による偏心 誤差があると、 回転軸の回転位置と位置検出器で検出さ れる回転位置が異なることになリ、 検出される回転軸の 回転位置の検出精度が低下する。 そこで従来は、 この偏 心誤差が生じないように、 被検出体を回転軸に正確に精 度良く 取り付けるようにしていた。 また、 精度良く 取り 付けても生じていた偏心誤差による位置検出の誤差は無 視していた。 高精度に位置を制御しょ う とすると、 上記偏心誤差に よる位置検出の検出誤差が、 位置制御に現れ高精度に位 置を制御できないという不具合が生じる。 また、 検出器 の被検出体を回転軸に偏心が生じないよ うに精度良く 取 リ付けると しても限界があり、 非常に困難である。
発 明 の 開 示
本発明の目的は、 上記偏心誤差による位置検出誤差を 補正して正確な位置制御ができる位置制御装置を提供す ることにある。
上記目的を達成するため、 本発明による位置制御装置 の一形態は、 回転軸に取り付けられ該回転軸の回転位置 を検出する位置検出器からの位置フィ一 ドバック信号に 基づいて位置を制御する位置制御装置において、 上記回 転軸に取り付けられる位置検出器内の被検出体の偏心や 取り付け誤差に起因する検出誤差データ を回転軸に取り 付けられた上記位置検出器からの出力信号に基づいて算 出 し位置制御装置内に記憶しておき、 上記回転軸を駆動 するモータへの回転指令位置に対して上記検出誤差デー タ を補正してモータへの回転指令位置とすることを特徴 とする。
さ らに、 本発明による位置制御装置の別形態は、 回転 軸に取り付けられ該回転軸の回転位置を検出する位置検 出器からの位置フィー ドバック信号に基づいて位置を制 御する位置制御装置において、 上記回転軸に取り付けら れる位置検出器内の被検出体の偏心や取り付け誤差に起 因する検出誤差データ を求めるプログラムを上記位置制 御装置に記憶しておき、 回転速度が設定された速度以上 になったとき、 上記プログラムを実行し、 上記位置検出 器からの出力信号に基づいて自動的に検出誤差データ を 求め位置制御装置内のメ モ リ に記憶し、 該記憶した検出 誤差データに基づいて回転指令位置を補正してモータへ の回転指令位置とする こ とを特徴とする。
本発明の位置制御装置によれば、 位置検出器の被検出 体の偏心ゃ該被検出体を回転軸に取り付ける際の取り付 け誤差によ り回転軸中心に対する被検出体の回転中心が 偏心していても、 この偏心に伴う、 位置検出器で検出さ れる回転位置の誤差を補正して回転軸を駆動するモータ への指令が出力されるから、 正確な位置制御が可能にな る。
図 面 の 簡 単 な 説 明
図 1 は、 本発明の一実施形態における高精度位置検出 器を利用 して検出誤差データ を求めると きの説明図であ る。
図 2は、 本発明の第 2の実施形態における検出誤差デ ータ を求めるときの説明図である。
図 3 A及び図 3 Bは、 位置検出器の被検出体の回転中 心の偏心に伴う検出位置誤差及び速度誤差のうねり を説 明する説明図である。
図 4は、 サンプリ ング周期毎に得られる移動量よ り偏 心量を求める原理説明図である。 図 5は、 同 じ く 原理説明図である。
図 6 は、 サンプリ ング周期毎に検出された移動量を表 示しているディスプレイ画面を示す。 さ らに、
図 7 は、 本発明の一実施形態における検出誤差データ 取得プログラムのフローチヤ一卜である。
発明 を実施す る た めの最良の 形態
(本発明の第 1 の実施形態)
図 1 は本発明の第 1 の実施形態における偏心誤差によ る検出誤差データ を得る方法のブロ ック図である。
図 1 において、 1 は工作機械の主軸も し く はモータの 回転軸である。 回転軸 1 には位置挨出器 2の被検出体
2 aが取り付けられており、 該被検出体 2 a に接近して 位置検出器 2のセンサ 2 bが配置され、 光学的、 電気的 または磁気的に被検出体 2 aの回転位置、 すなわち主軸 やモータ軸等の回転軸 1 の回転位置をセンサ 2 b によつ て検出 し、 回転軸 1 の回転位置を制御する位置制御装置 3に検出信号がフィー ドバック されるよ うになっている c なお、 この回転軸 1 の回転位置を検出する方法は従来と 同様である。
本実施形態においては、 検出誤差データ取得のために 回転軸 1 に高精度の位置検出器、 例えば、 センサを複数 備え被検出体の偏心の影響を除去して回転位置を検出で きるような高価な高精度位置検出器 4 を取り付け、 この 高精度位置検出器 4によって位置を検出表示できるよう にする。 そ して、 位置制御装置 3からある位置への移動指令を 出力 し、 回転軸 1 を駆動するモータ に出力 し、 回転軸 1 を指令位置に位置決めする。 その時、 高精度位置検出器 4で検出される位置と指令位置との差を被検出体 2 aの 偏心等による検出誤差データ と して検出する。 回転軸 1 の 1 回転内を数分割して各分割点の位置において、 上記 検出位置誤差データの検出作業を行い、 それぞれ上記検 出誤差データ を検出 し、 位置制御装置 3のメ モ リ内に設 定記憶させる。 例えば、 回転軸 1 の 1 回転を 1 2分割し、 位置検出器 2で 1 回転信号が得られる回転角 0度の位置、 3 0度の位置、 6 0度の位置… 3 3 0度の位置に夫々位 置決め して、 上述のよ うに検出誤差データ を求め位置制 御装置 3内のメ モ リ に設定記憶させる。
位置制御装置 3の通常運転を行う場合には、 高精度位 置検出器 4 を回転軸から取り外す。 そ して、 回転軸 1 を 駆動するモータ を駆動制御し位置を制御する際には、 指 令位置に対してメ モ リ に記憶した検出誤差データ よ リ指 令位置を補正し、 補正した指令位置を主軸やモータへの 移動指令値と して出力 し回転軸 1 の位置を制御する。
上記高精度位置検出器 4で検出された位置から回転軸 1 を駆動するモータに指令した位置を減算した値が正の 値であれば、 正の検出誤差データ と して、 負の値であれ ば負の検出誤差データ と して、 回転軸 1 の 1 回転内の所 定回転角度毎に記憶しておき、 移動指令がこの回転角度 に達する毎に検出補正データ を指令位置から減算する。 そして、 回転軸 1 への位置ぎめ位置が記憶した位置の中 間部であれば、 内挿補間 してその指令位置に対する検出 誤差データ を求め、 求めた検出誤差データを指令位置か ら減算する補正を行って補正後の移動指令位置と して回 転軸 1 を駆動するモータ に出力する。
例えば、 上述した例で、 指令位置が回転角 0度と 3 0 度の間の位置であれば、 0度と 3 0度の位置に対して記 憶されている検出誤差データ を内挿補間して指令位置に おける検出誤差データ を求め、 指令位置から この求めた 検出誤差データ を減算して出力する。 この検出誤差デー タが正の場合、 補正せずに指令位置を出力すると高精度 位置検出器 4で検出された位置に回転軸 1 は移動するこ とになる。 この場合、 指令した位置よ り検出誤差データ 分回転しすぎているこ と を意味する。 しかし、 指令位置 から検出誤差データ を減じて指令位置とすることによつ て、 実際の回転位置は検出誤差データ分相殺され正確な 位置に移動するこ とになる。 逆に、 検出誤差データが負 の場合には、 指令した位置よ り検出誤差データ分回転量 が足りないことを意味するので、 指令位置にこの負の検 出誤差データが減算され、 指令位置が増加することにな リ検出誤差データ分相殺され、 正確な指令位置に移動す るこ とになる。
この検出誤差データの指令位置に対する補正方法は、 従来、 モータ によって送りねじを駆動して、 回転運動を 直線運動に変換して工作機械等の可動部を移動させ位置 制御を行う ときに、 送りねじのピッチ誤差補正を行って いるが、 このピッチ誤差補正の方式と同一である。
(本発明の第 2の実施形態)
第 2の実施形態では、 図 2に示すように、 第 1 の実施 形態で使用 した高精度の位置検出器 4を使用することな く、 取り付けられている自己の位置検出器 2によって検 出誤差データ を求め記憶するものである。
この第 2の実施形態では、 回転軸 1 を一定速度で回転 させたとき、 偏心誤差によって検出される 1 サンプリ ン グ周期内での移動量 (一定時間内に移動した量であるの で、 速度に対応する) がうねり を生じることから、 この うねり によって検出誤差データを求めるものである。 図 3 Aはこのうねり発生を説明する説明図である。 回 転軸 1 の回転中心 O と該回転軸 1 に取り付けられている 位置検出器 2の被検出体 2 a の回転中心 O ' が回転軸の 回転中心 Oよ り 回転角 0度の方向に距離 dだけ偏心して いたとする。 回転角 0度の位置では、 この偏心にょ リ検 出誤差は生じない。 しかし、 回転軸 1 が 9 0度回転した ときには、 センサ 2 b は、 位置 P 1 ではなく、 位置
P 1 ' の位置を検出することになる。 この回転軸 1 の回 転中心 Oと位置検出器 2の被検出体 2 a の回転中心 O ' との偏心によ り、 検出誤差は P 1 — P 1 ' となり、 ブラ スの最大値である。 また、 回転軸 1 が 1 8 0度回転した 位置では、 センサ 2 b は位置 P 2 を検出 し検出誤差は生 じない。 2 7 0度回転したときには、 センサ 2 b は、 位 置 P 3ではなく、 位置 P 3 ' の位置を検出する。 この回 転軸 1 の回転中心 Οと位置検出器 2の被検出体 2 aの回 転中心 O ' との偏心によ り、 検出誤差は P 3 — P 3 ' と なり、 マイナスの最大値である。 以上のように、 回転軸 1 回転 ( 0 ° から 3 6 0 ° ) における検出誤差 (位置誤 差) は、 図 3 Bの正弦波状にうねることになる。
一方、 位置検出器 2は、 1 サンプリ ング周期内の移動 量を検出するので、 すなわち、 一定時間当たりの移動量 を出力するので、 速度を検出 していると言える。 回転角 0度の位置では回転半径が最大であることから、 速度は 最大となり (すなわち、 最大の速度誤差が生じ) 、 回転 角が 1 8 0度の位置では回転半径が最小であるから速度 は最小となる (すなわち、 最小の速度誤差が生じる) 。 また、 回転角が 9 0度、 及び 2 7 0度の位置では、 速度 誤差のない状態となる。 その結果、 図 3 Bに示すように, 速度誤差は位置誤差の正弦波状のうねりに対して 9 0度 位相のずれた余弦波状のうねり となる。
本実施形態では、 検出 した速度誤差 (すなわち、 1 サ ンプリ ング周期 (一定時間) 内の移動量) のうねリ振幅 よ り偏心量 d を求めることを特徴とする。
まず、 回転軸 1 を駆動する制御系の速度ループの応答 の影響を受けない周波数で、 回転軸 1 を駆動するモータ を駆動する。 この実施形態では、 回転軸の回転数を例え ば 3 7 5 0 ( m i n " 1 ) で回転させる。 すなわち回転軸 1 を 1 6 msで 1 回転させる。 そ して、 位置検出器 2によつ て位置を検出するサンプリ ング周期を 2 msとする。 そう すると、 回転軸 1 が 1 回転するうちに 8回の (すなわち、 回転軸 1 が 4 5度回転する毎に) 位置検出が行われるこ とになる。
図 4は、 偏心量 d を求める原理を説明するための図で ある。 Oは回転軸 1 の回転中心である。 O ' は位置検出 器 2の被検出体の回転中心であり、 O— O ' 間には偏心 量 dが存在する。
図 4 において、 サンプリ ング周期 2 ms毎に検出される 移動量をし 1、 L 2、 · · · ·、 L 8 とする。 また、 被検出体 2 aの信号検出部における全周の長さを し と し ( L = L 1 + L 2+■ · '■ + L 8) 、 さ らに、 円弧 q (偏心量 に 対応する信号検出部における周上の長さ) を偏心量 d と 等しいと近似する。 すると、 図 4 よ り、
L 7+ L 8+ L 1+ L 2- 2 d = L / 2 ( 1 )
L 3+ L 4+ L 5+ L 6+ 2 d = L 2 ( 2 ) よって、 ( 1 ) 式、 ( 2 ) 式よ り、
d = { ( L 7+ L 8+ L 1+ L 2)
一 C L 3+ L 4+ L 5+ L 6) } / 4
( 3 ) となる。
こ こで、 回転軸 1 の回転中心 O と位置検出器 2の被検 出体 2 aの回転中心 O ' との偏心がないときの、 1 サン プリ ング周期 2 ms内の移動量 (一定値) L m (図 5参照) と、 各サンプリ ング周期ごとの移動量し 1、 し 2、 · · · ·、 8 と L m との差を移動量誤差 2' 、
8' とする。
すなわち、
L 1 ' = L 1 一 L m
L 2' = L 2 - L m
し 8' = し 8 — L m
( ) なお、 L mZ 2 (ms) は指令速度を意味する。
図 5及び ( 4 ) 式から、
α = L 1 一 L m = L 1
= し m — し 5 = — し 5
よって、 L Γ = - L 5'
β = L 2 ― ( L m — or ) = L 2' + a
β = L m — ( L 6 ― ) = — L 6' +
よ って、 L 2' = 一 L 6'
= し 8 — L m = L 8'
γ ― し m — し 4 = 一 し 4'
よって、 L 8' = 一 し 4'
β = し 7 — ( し m — r ) = し 7' + y
β = L m - ( L 3— r ) = - L 3' + r
よ って、 L 7' = 一 L 3'
( 5 )
( 3 ) 式及び ( 5 ) 式から、 d = ( し 7' + L 8' + L 1 ' + L 2' ) 2
. · · · ( 6 ) また、 ( 5 ) 式よ り、
L 7' + L 8' + L 1 ' + L 2'
= - ( L 3' + L 4' + L 5' + L 6' )
であるから、 ( L 7' + L 8' + L Γ + L 2' ) ( = 2 d ) は、 位置検出器 2の被検出体 2 aの信号検出部の半周分 における移動量誤差の合計を意味する。
上の ( 4 ) 式の L 1' 、 L 2' 、 ——、 L 8' をサンプ リ ング周期 2 msで割った値 ( Ι_ Γ 2 ms、 L 2' / 2 ms ——、 L 8' / 2 ms) が速度誤差である。
この速度誤差は 3 6 0 を 1 周期と してうねり を生じ るので、 一般式と して、
速度誤差 = A s i n ( 2 f t ) —— ( 7 ) で近似することができる。 なお、 f は 1 秒当たりの回転 数である。 ( 7 ) 式の振幅 Aは速度誤差の最大値 (ピー ク値) を意味する。
そ して、 ( 7 ) 式の速度誤差関数を半周期分積分すれ ば、 信号検出部の半周分の移動量誤差の合計、 すなわち、 ( L 7' + L 8' + L Γ + L 2' ) が得られるはずである。 と ころで、 ( 7 ) 式において、 0 = 2 π f t とおく と、 d 0 = 2 7r f d t であるから、
J A s i n ( 2 7Γ f t ) d t
= ( Α / 2 π ί ) J s i n ( Θ ) · d Θ
·■■■ ( 8 ) となる。
この ( 8 ) 式を 0 = π から 0 = 0 まで (すなわち、 半周期分) 積分すると A Ζ 7Γ f が得られる。
したがって、 ( 6 ) 式よ り、
A / π f = ( L 7' + L 8' + L 1 ' + L 2' )
= 2 d
よって、
d = A / 2 7Γ f —— ( 9 ) こ こで、 Aは、 ( 7 ) 式の関数の振幅であるから、 速 度誤差の最大値 (ピーク値) であり、 したがって、
L 1 ' / 2 ms、 L 2' / 2 ms, ■ ·■■、 L 8' 2 ms のうち の最大値である。
上の説明ではサンプリ ング周期を 2 msと したが、 この サンプリ ング周期を一般化して T とおく と、 速度誤差は L 1 ' / T, L 2' Z T、 、 L 8' / Τ で表すことが できる。 そのうちの最大値を L max' / T ( = A ) とす ると、
d = ( L max' / T ) / 2 ττ f
= L max' / ( 2 π f ■ T ) —— ( 1 0 ) となる。
この偏心量 d を求めるには次の 4項目が分かればよい。 ( I ) サンプリ ング周期 T内の検出移動量誤差 Ι_ Γ 、
L 2' 、 、 L 8' のうちの最大値 ( L max' )
( II ) 1 回転信号の時刻から移動量誤差最大値 L max' 発 生の時刻までの時間 t p ( sec) ( III ) 位置検出器 2の信号検出部 1 周分の長さ (円の周 長) P x d p (mm) (こ こで、 Pはセンサによ つ て検出する単位の数であり、 d p はこの検出単 位間の弧の長さ)
( IV ) 回転軸 1 の回転数 N ( min一1)
上記 ( III ) の信号検出部の 1 周分の長さは位置検出器 2が決まれば一義的に決まる値である。 また ( IV ) の回 転軸 1 の回転数は指令回転数である。 ( 1 ) 、 ( II ) の 値は、 回転軸を指令速度 Nで回転させ、 位置検出器 2か らの信号をパソコ ン等に入力 し簡単に求めることができ る。 すなわち、 1 回転信号をが入力されるとタイマ一を 作動させ、 移動量の最大値が検出されたときのタイマー 値よ り、 ( II ) の 1 回転信号の時刻から移動量誤差最大 値 L max' 発生時刻までの時間 t p (sec) を求める。 さ らに、 検出された移動量の最大値から検出された移動量 の最小値を引いた値を 2 で割るこ とによ って移動量誤差 の最大値 L max' を求めるこ とができる。 なお、 移動量 の平均値をサンプリ ング周期 Tで割ると指令速度になる ので、 移動量誤差の最大値 L max' は、 検出移動量の最 大値からサンプリ ング周期 T内を指令速度で移動したと きの移動量 ( = L m ) を差し引いても求めることができ る。
図 6 は、 回転軸 1 を回転数 N = 4 6 8 8 ( min—1) で 回転させ、 サンプリ ング周期 T = 2 ms毎に検出された移 動量 ( L 1、 L 2、 ) をパソコ ンのディスプレイ画面 を表示したことを表す。 なお、 移動量から、 平均移動量 (すなわち、 回転軸 1 の回転中心 Oと位置検出器 2の被 検出体 2 aの回転中心 O ' との偏心がないときの、 サン プリ ング周期 T内の移動量である L m ) を引いた値が移 動量誤差 ( L 1 ' 、 L 2' 、 —— ; ( 4 ) 式参照) であ るから、 図 6の画面は実質的に移動量誤差を表している £ 図 6 において、 横軸は時間、 縦軸は移動量 (移動量誤 差量) を表す。 縦軸の 1 目盛りは、 位置検出器 2の信号 検出部の検出単位間の長さ d p = 1 . 2 6 mmの 1 Z 8 0 に対応する。
図 6の画面から、 検出された移動量の最大値 (移動量 誤差の最大値 L max' に対応) から検出された移動量の 最小値 (移動量誤差の最小値 L mi n' に対応) を差し引 いて 2 で割ると移動量誤差の最大値 L max' が得られる。 その結果、 図 6では移動量誤差の最大値 L max' は 1 、 3 目盛り分という結果が得られる。 すなわち、
L max' = 1 、 3 x 1 、 2 6 / 8 0
= 0. 0 2 0 4 7 5 ( mm)
したがって、 偏心量 d は、 ( 1 0 ) 式よ り、
d = L max' Z 2 π f ■ Τ
= 0. 0 2 0 4 7 5 / [ 2 π x ( 4 6 8 8 / 6 0 )
X 0. 0 0 2 ]
= 0. 0 2 1 ( mm)
となる。
次に、 測定した 1 回転信号発生の時刻から移動量誤差 の最大値 L max' の発生時刻までの時間 t p を画面から 求めると、 3. 6 msである。 なお、 図 6 では、 1 回転信 号発生の時刻は検出された移動量が平均移動量 L m に等 しい時点である。 ただし、 1 回転信号発生位置は、 回転 軸 1 に位置検出器 2の被検出体 2 a を取り付けたときに 決まるものであるから、 必ずしも 1 回転信号発生の時刻 は検出された移動量が平均移動量 L m に等しい時点とは ならない。
さ らに、 画面よ り、 移動量誤差の最大値 L max' が発 生する角度 s d を求める。 図 5では、 1 回転信号の位置 を回転軸 1 の回転角 0 ° の位置と しておリ、 また、 位置 検出器 2の検出遅れ時間 t d をあらかじめ測定しバソコ ンに設定してあるとする。 角度は角速度 ω ( = 2 π Ν , 6 0 ) に時間を掛けたものであるから、
s d ( rad) = ( t p - t d) Χ 2 π Ν / 6 0
· ■ · · ( 1 1 ) となる。 ただし、 Νは回転軸 1 の回転数 N ( mi n"1 ) で あ 。
次に、 移動量誤差の最大値 L max' を角度に変換した 値 c a を求める。 この値 c a は、 図 4に示す円弧 q (偏 心量 d に対応する信号検出部における周上の長さ) に対 応する角度である。 位置検出器 2の信号検出部の長さ
(円の周長) P x d p ( mm) が角度で 2 πであるから、 円弧 qの角度は、 2 X q Z P X d p
となる。 こ こで、 q = d とおく と、 c a ( rad) = 2 π Χ ά / Ρ Χ ά ρ ·■■■ ( 1 2 ) となる。
そうすると、 指令角度 0 に対する偏心誤差 は次の ( 1 3 ) 式で近似できる。
A 0 = c a X s i n ( Θ — s d ) ■ ·■ · ( 1 3 ) こ こで、 回転軸 1 の 1 回転 2 π ( rad ) を n等分し、 角度が 2 π n進む毎に偏心誤差△ 0 0、 Δ 0 1、 Δ 0 2、 △ 0 3、 ·■ ·■ Δ 0 n-1が生じるとする。 指令角度 0 i のと きの偏心誤差を A 0 i とすると、 その角度 0 i から 2 π η進んだ指令角度 0 i+1 の偏心誤差を Δ 0 ί+1 は、 前 の指令角度 0 i の偏心誤差 Δ 0 ί に増分と しての
( Δ Θ i+1 - Δ Θ i) を加えた値となる。
すなわち、 この増分、 すなわち、 偏心誤差 の差分 (厶 - Δ Θ i ) は ( 1 3 ) 式よ り、
c a { s i n ( Θ i +1 — s d ) — s i n v. Θ i — s d }
· · · · ( 1 4 ) となる。 ただし、 i = 0 〜 n — 1 の値である。
そこで、 回転軸 1 は回転数 N = 4 6 8 8 ( m i n— 1 ) で 回転し、 その回転軸 1 が 1 回転する うちに 8回の (すな わち、 回転軸 1 が 4 5 ° 回転する毎に) サンプリ ング
(位置検出) が行われ、 位置検出器 2は検出遅れ時間が t d = 2. 1 msであり、 その信号検出部の長さ (円の周 長) P x d p = 2 5 6 x 1 . 2 6 mmであって、 図 6の ようなデータ を得たとする。 すなわち、 L max' =
0. 0 2 0 4 7 5 ( mm) であり、 測定した 1 回転信号発 生の時刻から移動量誤差の最大値 L max' の発生時刻ま での時間 t p は 3 · 6 msである。 その結果、 ( 1 0 ) 式 から d = 0. 0 2 1 (mm) を得たとする と、 移動量誤 差の最大値 L max' を角度に変換した値 c a は、 ( 1 2 ) 式よ り、
c a ( r ad )
= 2 π x 0. 0 2 1 ( 2 5 6 X 1 . 2 6 )
= 0. 1 3 2 rad ( = 0. 0 2 3 ° )
となる。 また、 移動量誤差の最大値 L max' が発生する 位置 (角度 s d ) は、 ( 1 1 ) 式よ り、
s d ( rad)
= ( 3. 6 一 2. 1 ) χ 2 π Χ 4 6 8 8ノ 6 0 = 7 3 6. 3 9 ( = 4 2. 2。 )
そこで、 4 5 ° 毎の偏心誤差の差分 ( Δ 0 ί+1 —
Α Θ i ) は ( 1 4 ) 式よ り、
0. 0 2 3 { s i n ( 4 5。 x ( i +1 ) — 4 2. 2 ° ) 一 s i n ( 4 5 ° x i ) — 4 2. 2 ° )
で表されるので、 ί = 0 ~ 7 までを求めると、 以下の よ う になる。
I Θ 偏心誤差の差分
0 0 0. 0 0 8 °
1 4 5 0. 0 1 7 °
2 9 0 0. 0 1 6 °
3 1 3 5 0. 0 0 6 °
4 1 8 0 - 0. 0 0 8 ° 5 2 2 5 一 0 . 0 1 7
6 2 7 0 一 0 . 0 1 6
3 1 5 一 0 . 0 0 6 こ う して求めた偏心誤差の差分を位置制御装置 3 のメ モ リ に設定記憶されておき、 従来のモータによって送り ねじを駆動して可動部の位置を制御しながらモータ を駆 動する際に行われている送りねじのピッチ誤差補正と同 様の手法によ り、 モータへの移動指令に対して、 記憶し た偏心誤差の差分を補正して (差し引いて) モータへの 指令と して回転軸を駆動すれば、 位置検出器の取り付け 誤差等による偏心による位置検出誤差を補正 して正確な 位置制御ができる。
上述した、 第 2の実施形態では、 パソコ ンによって上 記検出誤差データ を算出するように したが、 パソコ ンを 用いずに、 この位置検出器が取り付けられ該位置検出器 に基づいて回転軸の位置を制御する位置制御装置 3 自体 に、 上記検出誤差データ取得プログラムを記憶させてお き、 位置検出器 2 を回転軸 1 に取り付け、 位置制御装置 のセッ 卜アップ時にこのプログラムを実行させて、 検出 誤差データ を自動的に求め位置制御装置 3内のメ モ リ に 記憶するように してもよい。
図 7 は、 上記パソコ ン若し く は位置制御装置 3が実行 する検出誤差データ取得処理のプログラムのフ ロ一チヤ 一 卜である。 この図 7 で示す処理は位置制御装置 3 で実 行する場合を中心に記載している。 位置制御装置 3 に検出誤差データ取得指令を入力する と、 位置制御装置 3のプロセッサは、 図 7 に示す処理を 開始する。
まず、 サンプリ ング周期内の移動量 L i の最大値を記 憶する レジスタ R 1 に第 1 の設定値 (例えば、 予測平均 移動量 L m かそれよ り もやや低い値) をセッ ト し、 最小 値を記憶する レジスタ R 2 に第 2の設定値 (例えば、 予 測平均移動量 L m かそれよ り もやや大きい値) をセッ 卜 する (ステップ S 1 ) 。 次に、 予め設定されている回転 軸 1 の回転速度を制御する速度ループが効かない高速の 設定回転数 N を出力 し、 回転軸 1 を駆動するモータを該 速度で回転させ、 タイマ T Mに設定時間をセッ トする (ステップ S 2 ) 。 なお、 パソコ ンでこの検出誤差デー タ取得処理を実行する場合には、 パソコ ンからこの設定 回転数 N を位置制御装置 3 に出力 し、 該位置制御装置 3 で回転軸 1 を駆動するモータ を駆動させることになる。 この設定時間は、 設定回転数 N を指令して回転軸 1 がこ の設定回転数 Nに達し速度が一定なるまで要する時間以 上の時間である。
そ して、 該タイマ T i1がタイムアップしたか否か判断 し (ステップ S 3 ) 、 タイムアッ プすると位置検出器 2 から 1 回転信号が入力されたか監視し (ステップ S 4 ) , 1 回転信号が入力されて来ると、 タイマ T i2をスター ト させ (ステップ S 5 ) 、 サンプリ ング周期 T (ms)毎に検 出される移動量 L i ( L 1、 L 2、 —— ) を検出する処理 TJP
20 を開始する (ステップ S 6 ) 。 検出されたサンプリ ング 周期 T内の移動量 L i と レジスタ R 1 に記憶する値とを 比較し (ステップ S 7 ) 、 検出移動量 L i の方が大きい と、 この検出移動量 L i を該レジスタ R 1 に格納すると 共に、 1 回転信号発生の時刻から移動量誤差の最大値
L max' の発生時刻までの時間 t p を記憶する レジスタ R tpにタイマ T i2の値を格納する (ステップ S 8 ) 。 ま た、 検出移動量 L i がレジスタ R 1 に記憶する値以下で あると、 ステップ S 8の処理は行わずステップ S 9に移 行する。
ステップ S 9では、 検出 した移動量 L i と レジスタ R 2に記憶する値を比較し、 検出移動量 L i の方が小さい と、 レジスタ R 2に検出移動量 L i を格納する (ステツ プ S 1 0 ) 。 また、 レジスタ R 2 に記憶する値が検出移 動量 L i 以下であれば、 ステップ S 1 0の処理を行わず ステップ S 9からステップ S 1 1 に進む。 ステップ S 1 1 では、 1 回転信号が入力されたか判断し、 入力されて なければ、 ステップ S 6 に移行し、 前述したステップ S 6 〜 S 1 1 の処理を繰り返す。 そ して、 ステップ S 1 2 で 1 回転信号を検出するとステップ S 1 2に進む。 その 結果、 レジスタ R 1 には、 1 回転信号から 1 回転信号ま での区間、 すなわち回転軸 1 の 1 回転内において、 移動 量 L i の最大値し max が記憶されることになリ、 レジス タ R 2 には移動量の最小値 L m i n が記憶されることにな る。 また、 レジスタ R tpには、 1 回転信号発生の時刻か ら移動量 L i の最大値 L max が検出された時刻までの時 間が記憶される。 なお、 移動量 L i の最大値 L max が検 出されことは、 移動量誤差の最大値 L max' が検出され たことであるから (上の ( 4 ) 式参照) 、 レジスタ R tp には、 1 回転信号発生時刻から移動量誤差の最大値
L max' が検出された時刻までの時間 t p が記憶される ことになる。
そこで、 レジスタ R 1 に記憶する移動量 L i の最大値 L max から レジスタ R 2 に記憶する移動量の最小値
L min を減じて 2で割り、 移動量誤差の最大値 L max' を求める (ステッ プ S 1 2 ) 。 すなわち、
L max = 、 l_ max — L m ι n / 2. の
計算をする。 そ して、 求められた移動量誤差の最大値
L max' 、 1 回転信号発生の時刻から移動量 L i の最大 値 L max が検出された時刻までの時間 t p 、 及び予め設 定されている回転数 N、 サンプリ ング時間丁、 位置検出 器 2の検出遅れ時間 t d 、 位置検出器 2の信号検出部の 1 周分の長さ P x d p よ り、 前述した ( 1 0 ) 、 ( 1 1 ) 式及び ( 1 2 ) 式の演算を行って、 偏心量 d、 移動量誤 差の最大値 L max' が発生する角度位置 s d、 移動量誤 差の最大値 L max' を角度に変換した値 c a を求める (ステップ S 1 3 ) 。
そして、 指標 i を 「 0 J にセッ トし (ステップ S 1 4 ) 、 求められた移動量誤差の最大値 L max' を角度に変換し た値 c a、 移動量誤差の最大値 L max' が発生する角度 s d、 及び設定されている 1 回転の分割数 (検出誤差デ ータ の取得数) n に基づいて ( 1 4 ) 式の演算を行って、 角度 0 i ( = ( 2 πノ n ) x i ) に対応する偏心誤差 Δ 0 の差分 ( A 0 i+1 - Δ θ ί) を求め、 メ モ リ に記憶す る (ステッ プ S 1 5, S 1 6 ) 。
次に、 指標 i を 1 イ ンク リ メ ン ト し (ステップ S 1 7 ) , 該指標 i が設定分割数 n に達したか判断し (ステップ S 1 8 ) 、 達してなければステッ プ S 1 5 以下の処理を繰 リ返 し実行し、 指標 i が設定値 n に達する と、 この処理 を終了する。 その結果、 位置制御装置 3 のメ モ リ (パソ コ ンの場合にはパソコ ンのメ モ リ ) には、 回転軸 1 を n 等分 した各回転角度に対する検出誤差データ が記憶され る こ と になる。
なお、 上記処理をパソコ ンで実行 した場合には、 パソ コ ンのメ モ リ に記憶された各回転角度毎の検出誤差デー タ を表示装置等に表示させ、 この表示されたデータ を位 置制御装置 3 のメ モ リ に設定すればよい。
なお、 上記第 2 の実施形態では、 回転軸を駆動するモ ータ を速度ループの効かない回転数の一定速度で駆動 し て上記検出誤差データ を求めたが、 モータが誘導電動機 の場合には、 速度ループをオーブに して該誘導電動機を 一定周波数で励磁 して回転させて、 上記検出誤差データ を求めるよ う に しても よい。 この場合においても、 パソ コ ンを利用 して検出誤差データ を求めても、 または、 位 置制御装置 3 自体に検出誤差データ取得プログラムを記 憶させておき、 自動的に求めるよ うに してもよい。 この 場合の検出誤差データ取得プログラムは、 図 7 のステツ プ S 2の設定回転数 Nの出力処理の代わり に、 設定され た一定周波数の励磁指令出力に代わる。 また、 ステップ S 3 とステップ S 4の間に、 回転軸 1 の回転数 Nの算出 処理を必要とする。 すなわち、 一定周波数の励磁指令出 力 して、 回転数が一定になるまで待った後、 その回転数 Nの値を位置検出器 2からの信号に基づいて算出する必 要がある。 その他の処理は図 7 と同一である
また、 上述した各実施形態では、 検出誤差データ取得 指令をパソコ ンや位置制御装置 3 に入力 して、 位置制御 装置 3が通常の運転を開始する前に検出誤差つ タ ¾:予 め取得するようにしたが、 位置制御装置 3 に検出誤差デ ータ取得プログラムを記憶しておき、 回転軸 1 が設定さ れている回転数以上の回転数 Nになったとき、 上記検出 誤差データ取得プログラムを実行させるようにしてもよ い。 この場合には、 図 7 に示す処理において、 ステップ S 2、 S 3の処理は必要がなく なる。

Claims

請 求 の 範 囲
回転軸に取り付けられ該回転軸の回転位置を検出す る位置検出器からの位置フィー ドバック信号に基づい て位置を制御する位置制御装置において、 上記回転軸 に取り付けられる位置検出器内の被検出体の偏心や取 リ付け誤差に起因する検出誤差データ を回転軸に取り 付けられた上記位置検出器からの出力信号に基づいて 算出 し位置制御装置内に記憶しておき、 上記回転軸を 駆動するモータへの回転指令位置に対して上記検出誤 差データ を補正してモータへの回転指令位置とするこ とを特徴とする位置制御装置。
. 上記検出誤差データは、 予め上記位置制御装置に記 憶させた検出誤差データ取得プログラムを実行させる こ とによって、 上記位置検出器からの出力信号に基づ いて自動的に求め位置制御装置内のメモ リ に記憶する よ うにした請求の範囲第 1 項記載の位置制御装置。
. 上記検出誤差データは、 モータ を駆動制御する速度 ループが追従しない十分な速度で回転軸を一定速度回 転させ、 位置検出器の出力信号の 1 回転に 1 回のうね リ量と、 位置検出器から出力される 1 回転信号から上 記うねりのピークまでの時間に基づいて算出する請求 の範囲第 1 項または第 2項記載の位置制御装置。
. 上記モータは誘導電動機であり、 上記検出誤差デー タは、 速度ループをオープンに して、 誘導電動機を一 定周波数で励磁する ことによ リー定速度で回転させ、 位置検出器の出力信号の 1 回転に 1 回のうねり量と、 位置検出器から出力される 1 回転信号から上記うねり のピークまでの時間に基づいて算出する請求の範囲第 1 項または第 2項記載の位置制御装置。
回転軸に取り付けられ該回転軸の回転位置を検出す る位置検出器からの位置フ ィー ドバック信号に基づい て位置を制御する位置制御装置において、 上記回転軸 に取り付けられる位置検出器内の被検出体の偏心や取 リ付け誤差に起因する検出誤差データ を求めるプログ ラムを上記位置制御装置に記憶しておき、 回転速度が 設定された速度以上になったとき、 上記プログラムを 実行し、 上記位置検出器からの出力信号に基づいて自 動的に検出誤差データ を求め位置制御装置内のメ モ リ に記憶し、 該記憶した検出誤差データに基づいて回転 指令位置を補正してモータへの回転指令位置とするこ とを特徴とする位置制御装置。
. (a ) 位置検出器の被検出部が固定されている回転軸 を所定回転数で回転して、 上記被検出部の信号検出部 を所定サンプリ ング周期ごとに検出することによ り、 サンプリ ング周期内での移動量を求め、
(b ) 上記被検出部が 1 回転する内の上記移動量の内 の最大値及び及び最小値を求め、
(c ) 上記被検出部から 1 回転信号を受け取つてから 上記移動量の最大値を検出するまでの時間を得て、
( d ) 上記(a ) で設定した回転数及びサンプリ ング周 期と、 上記(b)及び (C)で得たデータ とに基づき、 指令 角度に対する誤差を求め、
(e) 上記回転軸を n ( n : 1 以上の整数) 等分して 角度を 2 ττ Ζ η進めるごとに上記回転軸を駆動するモ 一夕の移動指令に加えるべき、 上記( の誤差を相殺 するための補正分を求める、
位置制御方法。
7. 上記(e) の補正分とは、 上記( で求めたある指令 角度における誤差に、 その指令角度からさ らに 2 π η進んだ角度における上記誤差との差に対応した値で ある、 請求の範囲第 6項記載の位置制御方法。
PCT/JP1998/002965 1997-07-01 1998-07-01 Systeme de commande de positionnement WO1999001927A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US09/254,009 US6320344B1 (en) 1997-07-01 1998-07-01 Position control device
EP98929787A EP0935335A4 (en) 1997-07-01 1998-07-01 POSITIONING CONTROL SYSTEM

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP9/188931 1997-07-01
JP18893197A JP3234177B2 (ja) 1997-07-01 1997-07-01 位置制御装置

Publications (1)

Publication Number Publication Date
WO1999001927A1 true WO1999001927A1 (fr) 1999-01-14

Family

ID=16232407

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1998/002965 WO1999001927A1 (fr) 1997-07-01 1998-07-01 Systeme de commande de positionnement

Country Status (4)

Country Link
US (1) US6320344B1 (ja)
EP (1) EP0935335A4 (ja)
JP (1) JP3234177B2 (ja)
WO (1) WO1999001927A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6518231B2 (en) 2000-12-18 2003-02-11 Unilever Home & Personal Care Usa, Division Of Conopco, Inc. Enhancement of air bleaching catalysts

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6979971B2 (en) * 2001-04-26 2005-12-27 Mitsubishi Denki Kabushiki Kaisha Control device-built-in cylinder servo motor
US6495983B1 (en) * 2001-06-28 2002-12-17 Michael A. Stern Integrated closed-loop programmable motor assembly
US7576509B2 (en) * 2003-09-10 2009-08-18 Ricoh Company, Limited Drive control method, drive control device, belt apparatus, image forming apparatus, image reading apparatus, computer product
US7126621B2 (en) * 2004-07-30 2006-10-24 Xerox Corporation Printer using hybrid reflex writing to color register an image
JPWO2007099629A1 (ja) * 2006-03-01 2009-07-16 富士通株式会社 モータ制御装置およびモータ制御方法
JP5198761B2 (ja) * 2006-12-11 2013-05-15 株式会社ミツトヨ 回転変位補正装置、および、変位検出装置
JP5107791B2 (ja) * 2008-05-26 2012-12-26 旭化成エレクトロニクス株式会社 回転角度センサ
JP5414259B2 (ja) * 2008-12-19 2014-02-12 富士電機株式会社 位置決め制御装置
DE102010010560B3 (de) * 2010-03-05 2011-09-01 Walter Mehnert Verfahren zur Ermittlung des Feinpositionswertes eines bewegbaren Körpers
WO2012066617A1 (ja) 2010-11-15 2012-05-24 三菱電機株式会社 モータ制御装置
JP5640732B2 (ja) * 2010-12-24 2014-12-17 株式会社ニコン エンコーダ装置、駆動装置、及びロボット装置
JP5640733B2 (ja) * 2010-12-24 2014-12-17 株式会社ニコン エンコーダ装置、駆動装置、及びロボット装置
EP3045871B1 (en) * 2011-11-24 2017-12-27 Toyota Jidosha Kabushiki Kaisha Rotational-angle detection device and electric power-steering device provided with rotational-angle detection device
CN104169687B (zh) * 2012-03-16 2016-08-24 三菱电机株式会社 角度检测装置
DE102013202442B4 (de) * 2013-02-14 2014-09-25 Hilti Aktiengesellschaft Verfahren zur Steuerung eines Gerätesystems mit einem Werkzeuggerät und einer motorischen Vorschubeinrichtung
JP6432129B2 (ja) * 2013-11-28 2018-12-05 株式会社リコー 角度検出装置および角度検出方法
EP2993011A1 (de) * 2014-09-08 2016-03-09 HILTI Aktiengesellschaft Verfahren zur Seuerung eines Wandsägesystems beim Erstellen eines Trennschnittes
CN105698825B (zh) * 2016-01-15 2017-10-27 中工科安科技有限公司 一种磁阻式旋转变压器的信号处理装置
JP6416983B1 (ja) * 2017-05-22 2018-10-31 ファナック株式会社 回転軸の角度較正方法および角度較正プログラム
US11397098B2 (en) * 2018-10-15 2022-07-26 Integrated Device Technology, Inc. Method for detecting errors in a rotating position sensor system having sine and cosine signals
JP7260389B2 (ja) * 2019-05-08 2023-04-18 ファナック株式会社 産業用機械
US11662230B2 (en) 2020-05-04 2023-05-30 Saudi Arabian Oil Company Recorder for shaft rotation verification
CN112171379B (zh) * 2020-08-22 2021-07-27 芽米科技成都有限公司 数控车床检测待维修管件中心轴偏移量的方法
TWI774504B (zh) * 2021-08-06 2022-08-11 國立陽明交通大學 工具機循圓量測調機方法
CN114093280B (zh) * 2021-11-22 2024-01-09 马努(上海)艺术设计有限公司 角度校正方法、角度限位器、显示单元和显示***

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01270784A (ja) * 1988-04-20 1989-10-30 Yokogawa Electric Corp モータの制御装置
JPH06327278A (ja) * 1993-05-13 1994-11-25 Fuji Xerox Co Ltd 感光体の駆動制御装置

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3681978A (en) * 1971-02-23 1972-08-08 Cincinnati Milacron Inc Method and apparatus for automatically balancing deflection sensors on rotating equipment
JPS5890204A (ja) * 1981-11-25 1983-05-28 Fanuc Ltd 位置制御装置におけるフォローアップ回路
JPS59226678A (ja) * 1983-06-01 1984-12-19 Mitsubishi Electric Corp 回転制御装置
JPS60134786A (ja) * 1983-12-21 1985-07-18 Toshiba Corp モ−タ速度制御装置
JP2568068B2 (ja) * 1986-03-14 1996-12-25 ファナック 株式会社 モ−タのロ−タ回転位置検出器
JPS62238415A (ja) * 1986-04-09 1987-10-19 Hitachi Medical Corp ロ−タリエンコ−ダ出力位相補正回路
AU588708B2 (en) * 1987-01-09 1989-09-21 Toshiba, Kabushiki Kaisha High-accuracy position detection apparatus
JPH03260708A (ja) * 1990-03-09 1991-11-20 Toshiba Mach Co Ltd 位置誤差補正方法
JPH052214A (ja) 1991-06-21 1993-01-08 Fuji Photo Film Co Ltd スライド及びスライドプロジエクタ
JP3107259B2 (ja) * 1992-12-01 2000-11-06 富士ゼロックス株式会社 回転体駆動制御装置
KR100292038B1 (ko) * 1992-12-04 2001-06-01 이데이 노부유끼 디스크장치
JP3143310B2 (ja) * 1994-02-25 2001-03-07 三菱電機株式会社 位置検出装置、補正機能付位置検出装置、位置検出方法、および、位置検出装置の補正方法
KR960013532A (ko) * 1994-10-19 1996-05-22 모리시타 요이찌 바이트이동식절삭장치 및 절삭방법

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01270784A (ja) * 1988-04-20 1989-10-30 Yokogawa Electric Corp モータの制御装置
JPH06327278A (ja) * 1993-05-13 1994-11-25 Fuji Xerox Co Ltd 感光体の駆動制御装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP0935335A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6518231B2 (en) 2000-12-18 2003-02-11 Unilever Home & Personal Care Usa, Division Of Conopco, Inc. Enhancement of air bleaching catalysts

Also Published As

Publication number Publication date
US6320344B1 (en) 2001-11-20
JPH1127973A (ja) 1999-01-29
EP0935335A4 (en) 2004-05-06
JP3234177B2 (ja) 2001-12-04
EP0935335A1 (en) 1999-08-11

Similar Documents

Publication Publication Date Title
WO1999001927A1 (fr) Systeme de commande de positionnement
JP3367260B2 (ja) エンコーダ装置及びサーボモーター制御装置
KR930008332B1 (ko) 주축위치 속도제어장치
EP1666890A1 (en) Rotary shaft control apparatus
JP3365063B2 (ja) 回転角度検出方法
US4095158A (en) Position-controlling system
JPH0565827B2 (ja)
JP2001336951A (ja) 回転位置検出装置及び方法
JPH036459A (ja) 回転数検出方法
JP4775761B2 (ja) エンコーダ装置及びそのディスク同心度測定方法
JP5300831B2 (ja) 機械角度測定装置
JP3967014B2 (ja) 位置検出装置および関節機構
WO2020208766A1 (ja) 電動機の制御装置
JP3683071B2 (ja) モータの回転速度制御装置
JP7258609B2 (ja) 位置検出装置
JP3594203B2 (ja) モータ制御装置
KR100224862B1 (ko) 로봇 암의 캘리브레이션 장치 및 방법
JPH0666595A (ja) 回転位置検出装置
JPH095115A (ja) 位置検出回路
JP2521747B2 (ja) スリツプ補正回路付きアナログ/デイジタル変換回路
JPH0733133Y2 (ja) 原点位置検出装置
KR100245984B1 (ko) 회전체의 중심측정장치 및 그 방법
JPH0469079A (ja) モータ速度検出装置
JPH0352585A (ja) モータの回転速度検出装置
JP2002323911A (ja) シーケンス制御装置

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE

WWE Wipo information: entry into national phase

Ref document number: 09254009

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 1998929787

Country of ref document: EP

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWP Wipo information: published in national office

Ref document number: 1998929787

Country of ref document: EP

WWW Wipo information: withdrawn in national office

Ref document number: 1998929787

Country of ref document: EP