Position Control Device

The position control device uses integrated position detection and adjustable integral gain reduction to balance dynamic friction forces, enabling precise positioning of feed shafts by adjusting the integral gain term based on detected speed, thus overcoming overshooting and undershooting issues.

JP7535015B2Active Publication Date: 2024-08-15OKUMA CORP
View PDF 17 Cites 0 Cited by

Patent Information

Application Number
JP2021115806
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-07-13
Publication Date
2024-08-15
Estimated Expiration
2041-07-13

AI Technical Summary

Technical Problem

Existing position control devices face challenges in accurately positioning a feed shaft near the final target position due to large dynamic friction forces, causing the shaft to overshoot or undershoot the target, especially when using sliding guides with significant dynamic friction differences.

Method used

A position control device that integrates a first and second position detector, a position synthesis unit, a speed control section, and an integral gain reduction mechanism to adjust the integral gain term based on the feed shaft's detected speed, ensuring the force driving the shaft balances the dynamic friction force near the target position.

Benefits of technology

The device effectively positions the feed shaft near the final target by balancing the dynamic friction force, preventing overshooting or undershooting, and ensuring precise stopping at or slightly beyond the target position.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007535015000004
    Figure 0007535015000004
  • Figure 0007535015000006
    Figure 0007535015000006
  • Figure 0007535015000002
    Figure 0007535015000002
Patent Text Reader

Abstract

To position a feed shaft near a final target position.SOLUTION: A position control system includes: a rotary encoder 18 of a servo motor 17; a position detector 20 that detects a position of a table 19; a position synthesis unit 24 that outputs a synthesized detected position of the table 19; a position control unit 12 that computes a command speed on the basis of a command position of the table 19 and the synthesized detected position; and a speed control unit 13 that outputs a command torque on the basis of the command speed and a detected speed of the table 19. The command torque output from the speed control unit 13 includes an integral gain term. The speed control unit 13 includes an integral gain decrease unit 25 that sets an integral gain term decrease range on both sides of a final target position of the table 19 and decreases an integral gain when the synthesized detected position of the table 19 enters the integral gain term decrease range. As the detected speed of the table 19 at a speed check position 4 becomes lower, the integral gain decrease unit 25 decreases a rate of reducing the integral gain term.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a position control device that variably controls a servo motor and is used in machine tools, robots, etc., and more particularly to a control method that improves the positioning accuracy when stopping an axis. [Background technology]

[0002] When controlling the position of a feed axis of an NC machine tool or the like, in addition to semi-closed loop control based on the detection position of a rotary encoder built into the servo motor, full closed loop control is widely used, which combines the detection position of a position detector such as an inductosyn or linear encoder attached to a table or saddle, or a separate rotary encoder with the detection position of a rotary encoder built into the servo motor (see, for example, Patent Document 1).

[0003] This is because, when a table, saddle, etc. is operated and positioned to the final target position, a difference occurs between the actual position of the table, saddle, etc. and the position detected by the rotary encoder built into the servo motor due to torsion phenomena that occur in ball screws and couplings, gear backlash, and frictional forces on the sliding surfaces. By using the detection position of a position detector such as an Inductosyn, linear encoder, or a separately installed rotary encoder, it is possible to accurately detect the position of the table, saddle, etc. and control the positioning. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Japanese Patent Application Laid-Open No. 60-191314 Summary of the Invention [Problem to be solved by the invention]

[0005] Incidentally, when the sliding surface of the feed axis, such as the table or saddle, is a linear guide or a hydrostatic guide, the kinetic friction force of the guide is small, and the difference with the static friction force is also small. Therefore, even if the speed of the feed axis decreases as it approaches the final target position, it is possible to control the feed axis as long as the force driving the feed axis exceeds the kinetic friction force of the guide, and it is possible to position the feed axis at or near the final target position.

[0006] However, when the sliding surface of the feed shaft is a sliding guide, the kinetic friction of the guide is large, and the difference between this and the static friction is also large. Therefore, as the feed shaft approaches the final target position, its speed decreases, and if the kinetic friction of the guide exceeds the force driving the feed shaft, the feed shaft will stop before reaching the final target position.

[0007] After that, the command torque given to the servo motor is integrated in the speed control section of the feed axis by the integral gain term based on the deviation between the position where the feed axis stops and the final target position, and the feed axis starts moving again when the force driving the feed axis by this command torque exceeds the static friction force of the guide. However, because the kinetic friction force is smaller than the static friction force, the feed axis continues to move as it is while the force driving the feed axis exceeds the kinetic friction force, and as a result, the feed axis may stop, skipping the final target position.

[0008] If the feed axis stops after skipping the final target position, the servo motor is given a command torque opposite to that before, and the feed axis starts moving in the opposite direction, but by the same principle, if the feed axis stops again after skipping the final target position, the servo motor is again given a command torque opposite to that before, and the feed axis starts moving in the opposite direction from the previous time. If this phenomenon is repeated, it may be difficult to position the feed axis to the final target position.

[0009] An object of the present invention is to position a feed axis near a final target position in a position control device. [Means for solving the problem]

[0010] The position control device of the present invention is a position control device that controls a position of a feed shaft driven by a servo motor, and includes a first position detector that detects a rotational position of the servo motor, a second position detector that detects a position of the feed shaft, a position synthesis unit that synthesizes a first detected position from the first position detector and a second detected position from the second position detector to output a synthesized detected position, a position control unit that calculates and outputs a command speed from a deviation between a command position of the feed shaft and the synthesized detected position from the position synthesis unit, a speed control unit that outputs a command torque from the deviation between the command speed from the position control unit and a detected speed obtained by differentiating the first detected position from the first position detector, and a current control unit that controls a current to the servo motor based on the command torque, the command torque output by the speed control unit includes a proportional gain term calculated by multiplying a deviation between the command speed and the detected speed by a proportional constant, and an integral gain term calculated by multiplying an integral value obtained by integrating the deviation between the command speed and the detected speed by an integral constant, the speed control unit sets integral gain term reduction ranges on both sides of a driving direction of a final target position of the feed shaft, and includes an integral gain reduction unit that reduces the integral gain term when the composite detected position of the feed shaft enters the integral gain term reduction range, and the integral gain reduction unit reduces a rate at which the integral gain term is reduced as the detected speed of the feed shaft at a speed check position preset outside the integral gain term reduction range becomes lower.

[0011] The position control device of the present invention is a position control device that controls a position of a feed shaft driven by a servo motor, and includes: a first position detector that detects a rotational position of the servo motor; a second position detector that detects a position of the feed shaft; a position synthesis unit that synthesizes a first detected position from the first position detector and a second detected position from the second position detector to output a synthesized detected position; a position control unit that calculates and outputs a command speed from a deviation between a command position of the feed shaft and the synthesized detected position from the position synthesis unit; a speed control unit that outputs a command torque from a deviation between the command speed from the position control unit and a detected speed obtained by differentiating the first detected position from the first position detector; and a current control unit that controls a current to the servo motor based on the command torque. the command torque output by the speed control unit includes a proportional gain term calculated by multiplying a deviation between the command speed and the detected speed by a proportional constant, and an integral gain term calculated by multiplying an integral value obtained by integrating the deviation between the command speed and the detected speed by an integral constant, the speed control unit sets an integral gain term reduction range for reducing the integral gain term on both sides of a driving direction of a final target position of the feed shaft, and includes an integral gain reduction unit for reducing the integral gain term when the composite detected position of the feed shaft enters the integral gain term reduction range, and the integral gain reduction unit narrows the integral gain term reduction range as the detected speed of the feed shaft at a speed check position preset outside the integral gain term reduction range becomes lower.

[0012] In the position control device of the present invention, the integral gain reducing section may narrow the integral gain term reduction range as the detected speed of the feed axis at the speed check position decreases.

[0013] In the position control device of the present invention, the integral gain reduction unit may set a rate at which the integral gain term is reduced to a rate at which a force driving the feed axis near a final target position balances a dynamic friction force of a guide of the feed axis.

[0014] In the position control device of the present invention, the integral gain reduction unit may set a rate at which to reduce the integral gain term so that a force driving the feed axis near a final target position is slightly greater than a dynamic friction force of a guide of the feed axis, and may set the integral gain term to zero when a composite detection position of the feed axis reaches the final target position. Effect of the Invention

[0015] According to the present invention, the feed axis can be positioned close to the final target position in the position control device. [Brief description of the drawings]

[0016] [Figure 1] 1 is a control block diagram of a speed control device according to an embodiment; [Diagram 2] 2 is a diagram showing an example of (a) an integral gain term reduction range of the speed control device shown in FIG. 1 and (b) a change in the magnitude of the integral gain term; FIG. [Diagram 3] 1. FIG. 4 is a diagram showing another example of the integral gain term reduction range (a), (b) and the change in magnitude of the integral gain term (c) of the speed control device shown in FIG. [Figure 4] 1. FIG. 4 is a diagram showing another example of the integral gain term reduction range (a), (b) and the change in magnitude of the integral gain term (c) of the speed control device shown in FIG. [Diagram 5] FIG. 11 is a control block diagram of a comparative position control device. [Figure 6] FIG. 13 is a diagram showing (a) the allowable range for the final target position of a speed control device in a comparative example, and (b) changes in the magnitude of the integral gain term. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] Hereinafter, a position control device 100 according to an embodiment will be described with reference to the drawings. Fig. 1 is a control block diagram of the position control device 100 that controls the position of a table 19 using a rotary encoder 18 built into a servo motor 17 and a position detector 20 attached to the table 19.

[0018] In FIG. 1, 11 is an NC device, 12 is a position control section, 13 is a speed control section, 14 is a proportional control section in the speed control section 13, 15 is an integral control section in the speed control section 13, 16 is a current control section, 17 is a servo motor, 18 is a rotary encoder built into the servo motor 17, 19 is a table, 20 is a position detector attached to the table 19, 21 is a ball screw connected to the servo motor 17 to linearly drive the table 19, 22 is a differentiator, 24 is a position synthesis section that synthesizes the first detection position of the rotary encoder 18 and the second detection position of the position detector 20 to output a synthetic detection position. Also, 25 is an integral gain reduction section in the speed control section 13. Here, the table 19 is a feed axis that is the control target of the position control device 100, the rotary encoder 18 is a first position detector that detects the rotational position of the servo motor 17, and the position detector 20 is a second position detector that detects the position of the table 19 that is the feed axis.

[0019] The NC device 11 calculates a command position of the table 19, which is a feed axis, from the machining program and transfers it to the position control unit 12. The position control unit 12 calculates a command speed from the deviation between the command position and a composite detected position of the table 19 calculated by a position synthesis unit 24. The speed control unit 13 calculates a command torque from the deviation between the command speed and a detected speed calculated by differentiating a first detected position of a rotary encoder 18 built in the servo motor 17 by a differentiator 22. The current control unit 16 converts the command torque into a command current, and calculates a command current to be input to an inverter (not shown) from the deviation between the command current and a detected current (not shown) of the servo motor 17 to drive the servo motor 17. The servo motor 17 rotates a ball screw 21 to linearly move the table 19 in the driving direction indicated by the double arrow in FIG. 1.

[0020] Here, the speed control unit 13 is composed of a proportional control unit 14, an integral control unit 15, and an integral gain reduction unit 25. In order to improve responsiveness to a command, the proportional control unit 14 multiplies the deviation between the command speed and the detected speed by a proportional constant Kp and outputs a proportional gain term of the command torque.

[0021] In order to eliminate the steady-state deviation, the integral control unit 15 multiplies the integral value of the command torque obtained by integrating the deviation between the command speed and the detected speed by an integral constant Ki, and outputs an integral gain.

[0022] 1, the integral gain reduction unit 25 receives an input of a value obtained by differentiating a first detection position of a rotary encoder 18 built in the servo motor 17 by a differentiator 22 as a detection speed of a table 19, which is a feed axis, and also receives a composite detection position output by a position composition unit 24. Then, the integral gain reduction unit 25 reduces the integral gain output by the integral control unit 15 based on the input detection speed and the composite detection position, and outputs the result as an integral gain term.

[0023] 2(a) and 2(b), integral gain reducer 25 sets integral gain term reduction range W1 in which the integral gain term is reduced on both the positive and negative sides of the drive direction of final target position 2. Note that Figs. 2(a) and 2(b) show an example in which table 19, which is the feed axis, enters integral gain term reduction range W1 from the positive direction and decelerates toward final target position 2 and stops.

[0024] In Fig. 2(a), 3 is the boundary of integral gain term reduction range W1 and is the reduction start position where reduction of the integral gain term begins. 4 is a speed check position that is set in advance outside integral gain term reduction range W1 to check the speed of table 19, which is the feed axis. Speed ​​check position 4 is set at position L1, which is longer than W1 from final target position 2, so that it is farther from final target position 2 than integral gain term reduction start position 3.

[0025] Then, when the detected position of table 19, which is the feed axis, approaches final target position 2 closer to reduction start position 3, which is the boundary of integral gain term reduction range W1, and enters inside integral gain term reduction range W1, integral gain reduction unit 25 reduces the integral gain output from integral control unit 15 of speed control unit 13 as the table moves, and outputs it as an integral gain term to be added to the proportional gain term.

[0026] At this time, as shown in FIG. 2(b), when the detected speed of the feed axis at the speed check position 4 of the table 19, which is the feed axis, is high, the integral gain reduction unit 25 increases the rate at which it reduces the integral gain term so that the integral gain term becomes zero in the vicinity of the final target position 2.

[0027] As a result, when the detection speed of table 19, which is the feed axis, is high and a large deceleration or negative acceleration is required to stop table 19, the rate at which the integral gain term is reduced is increased, the deceleration of table 19 is increased, and the speed of table 19 is quickly reduced, allowing it to be positioned close to the final target position 2.

[0028] On the other hand, when the detection speed of table 19, which is the feed axis, is low, the deceleration may be small. Conversely, if the deceleration is made too large, the force driving table 19, which is the feed axis, falls below the dynamic friction force of the guide before the feed axis reaches final target position 2, and the feed axis stops just before final target position 2. For this reason, when the detection speed of table 19, which is the feed axis, is low, the rate at which the integral gain term is reduced is made smaller than when the detection speed of table 19, which is the feed axis, is high, and the speed of table 19, which is the feed axis, is gradually reduced.

[0029] At this time, the rate of decrease of the integral gain term is set to a rate at which the force driving table 19 in the vicinity of final target position 2 balances with the dynamic friction force of the guide of table 19, which is the feed axis, and is set so that it does not become zero even after passing the final target position 2. As a result, the force driving table 19, which is the feed axis, does not fall below the dynamic friction force of the guide of table 19 before reaching the vicinity of the final target position 2, and table 19 moves to the vicinity of the final target position 2. Then, near the final target position 2 or slightly beyond the final target position 2, the force driving table 19 becomes smaller than the dynamic friction force of the guide of table 19, which is the feed axis.

[0030] The rate of reduction of the integral gain term is adjusted in advance so that the driving force of table 19, which is the feed axis, and the dynamic friction force of the guide are balanced in the vicinity of final target position 2. The adjustment may be performed, for example, by setting the rate of reduction of the integral gain term when tuning the proportional gain term and integral gain term of speed control unit 13 in accordance with the state of the machine tool. Alternatively, the dynamic friction force of table 19 may be measured online, and the rate of reduction of the integral gain term may be automatically adjusted so that the driving force and the dynamic friction force of table 19 are approximately equal in the vicinity of final target position 2.

[0031] In the position control device 100 described above, the width of the integral gain term reduction range W1 can be freely set according to the specifications of the guide of the table 19, which is the feed axis, and the machine tool.

[0032] In the above description, the detected speed of the table 19, which is the feed axis, is a value obtained by differentiating the first detected position of the rotary encoder 18 built in the servo motor 17 by the differentiator 22, but this is not limited to this. For example, a value calculated from a composite detected position obtained by combining the first detected position of the rotary encoder 18 built in the servo motor 17 with the second detected position of a position detector 20, such as an inductosyn or linear encoder attached to the table 19 or the like, or a separately installed rotary encoder, or a value calculated from a command position output by the NC device 11 may be used.

[0033] Next, another embodiment of the integral gain reducer 25 will be described with reference to Figures 3(a) to 3(c). The difference from the embodiment previously described with reference to Figure 2 is that, as shown in Figures 3(a) and 3(b), the integral gain reducer 25 of the speed control section 13 varies the width of the integral gain term reduction range W2 in response to the detection speed of the table 19, which is the feed axis, and varies the reduction start position 3 of the integral gain term in response to the detection speed of the table 19, which is the feed axis.

[0034] As shown in FIGS. 3(a) and 3(b), the integral gain reducer 25 sets an integral gain term reduction range W2 for reducing the integral gain term on both the positive and negative sides of the drive direction of the final target position 2.

[0035] 3(b), in this embodiment, when the detected speed of the feed axis at speed check position 4 of table 19, which is the feed axis, is equal to or greater than speed threshold value V2, the width of integral gain term reduction range W2 is set to W2H, and integral gain term reduction start position 3 is set to a distance of W2H from final target position 2. Then, as the detected speed of table 19, which is the feed axis, decreases, the width of integral gain term reduction range W2 is set narrower, and integral gain term reduction start position 3 is set closer to final target position 2.

[0036] 3(c), when the detected speed of the feed shaft is V2H higher than the speed threshold V2, the integral gain reducer 25 sets the width of the integral gain term reduction range W2 to W2H. On the other hand, when the detected speed of the feed shaft is V2L lower than the speed threshold V2, the integral gain reducer 25 sets the width of the integral gain term reduction range W2 to W2L narrower than W2H.

[0037] In this way, when the detection speed of table 19, which is the feed axis, is high, the distance required to decelerate to a stop becomes long, so the width of integral gain term reduction range W2 is set wide, such as W2H, and integral gain term reduction start position 3 is placed far from final target position 2, so that table 19, which is the feed axis, can be sufficiently decelerated between integral gain term reduction start position 3 and final target position 2. This allows table 19, which is the feed axis, to quickly decelerate and stop near final target position 2.

[0038] On the other hand, when the detection speed of table 19, which is the feed axis, is low, the distance required for deceleration to stop is short, so the width of integral gain term reduction range W2 is set narrower, such as W2L, and integral gain term reduction start position 3 is set to a position close to final target position 2.

[0039] 2, when the detection speed of the table 19 is low, the reduction rate of the integral gain term is set at a rate that balances the force driving the table 19 in the vicinity of the final target position 2 with the kinetic friction force of the guide of the table 19, which is the feed axis, and does not become zero even after the final target position 2 is exceeded. Therefore, the force driving the table 19, which is the feed axis, does not fall below the kinetic friction force of the guide of the table 19 before reaching the vicinity of the final target position 2, and the table 19 moves to the vicinity of the final target position 2, and stops at a position near the final target position 2 or slightly beyond the final target position 2 where the force driving the table 19 becomes smaller than the kinetic friction force of the guide of the table 19, which is the feed axis.

[0040] Next, another embodiment of the integral gain reducer 25 will be described with reference to Figures 4(a) to 4(c). The difference from the embodiment previously described with reference to Figures 2 and 3 is that, as shown in Figures 4(a) and 4(b), the integral gain reducer 25 of the speed control unit 13 varies the width of the integral gain term reduction range W3 and the reduction rate of the integral gain term in the integral gain term reduction range W3.

[0041] The integral gain reducer 25 sets an integral gain term reduction range W3 for reducing the integral gain term on both the positive and negative sides of the drive direction of the final target position 2, as shown in FIGS. 4(a) and 4(b).

[0042] 4(b), in this embodiment, when the detected speed of the feed axis at speed check position 4 of table 19, which is the feed axis, is equal to or greater than speed threshold value V3, the width of integral gain term reduction range W3 is set to W3H, and integral gain term reduction start position 3 is set to a distance of W3H from final target position 2. Then, as the detected speed of table 19, which is the feed axis, decreases, the width of integral gain term reduction range W3 is set narrower, and integral gain term reduction start position 3 is set closer to final target position 2.

[0043] 4(c), when the detected speed of the feed shaft is V3H that is greater than the speed threshold V3, the integral gain reducer 25 sets the width of the integral gain term reduction range W3 to W3H. On the other hand, when the detected speed of the feed shaft is V3L that is less than the speed threshold V3, the integral gain reducer 25 sets the width of the integral gain term reduction range W3 to W3L that is narrower than W3H.

[0044] Also, as shown in FIG. 4(c), when the detection speed of table 19, which is the feed axis, at speed check position 4 of table 19, which is the feed axis, is high, the rate at which the integral gain term is reduced is made larger, and when the detection speed of table 19, which is the feed axis, is low, the rate at which the integral gain term is reduced is made smaller.

[0045] In this way, when the detected speed of table 19, which is the feed axis, is V3H higher than speed threshold V3, integral gain reducer 25 sets the width of integral gain term reduction range W3 to a wide W3H, starts reducing the integral gain from the position where the distance from final target position 2 is W3H, and sets a large reduction rate for the integral gain term. When the detected speed of table 19, which is the feed axis, is V3L lower than speed threshold V3, integral gain reducer 25 sets the width of integral gain term reduction range W3 to a narrow W3L, starts reducing the integral gain from the position where the distance from final target position 2 is W3L, and sets a smaller reduction rate for the integral gain than when the detected speed of table 19, which is the feed axis, is V3H.

[0046] In this way, when the detection speed of table 19, which is the feed axis, at speed check position 4 is higher than speed threshold V3, the integral gain term reduction start position 3 is set to be far from the final target position 2, and the rate at which the integral gain term is reduced when the composite detection position of table 19 falls within integral gain term reduction range W3 is increased, so that table 19, which is the feed axis, can be sufficiently decelerated between integral gain term reduction start position 3 and final target position 2, and table 19, which is the feed axis, can be positioned close to the final target position 2.

[0047] On the other hand, when the detected speed of table 19, which is the feed axis, at speed check position 4 is lower than speed threshold V3, decrease start position 3 of the integral gain term is set to a position close to final target position 2, and the rate at which the integral gain term is decreased within integral gain term decrease range W3 is reduced. In this case, the decrease rate of the integral gain term is adjusted to a rate at which the force driving table 19 in the vicinity of final target position 2 balances with the kinetic friction force of the guide of table 19, which is the feed axis. Therefore, before reaching the vicinity of final target position 2, the force driving table 19, which is the feed axis, does not fall below the kinetic friction force of the guide of table 19, and table 19 moves to the vicinity of final target position 2, and stops at a position where the force driving table 19 in the vicinity of final target position 2 becomes smaller than the kinetic friction force of the guide of table 19, which is the feed axis.

[0048] Next, a comparative position control device 200 will be described with reference to Figures 5 and 6. The same components as those of the position control device 100 of the embodiment previously described with reference to Figures 1 to 4 are denoted with the same reference numerals, and description thereof will be omitted. As shown in Figure 5, in the comparative position control device 200, the detected speed of the table 19, which is the feed axis, is not input to the integral gain reduction section 225, and as shown in Figure 6, the rate at which the integral gain term is reduced in the integral gain reduction section 225 of the speed control section 13 and the allowable range W0 for the final target position 2 are constant regardless of the detected speed of the feed axis.

[0049] A comparative position control device 200 shown in FIG. 5 sets a tolerance range W0 for a final target position 2, and when the feed axis enters the tolerance range W0, an integral gain reduction section 225 of the speed control section 13 reduces the ratio of the integral gain term, thereby reducing the command torque given to the servo motor and causing the feed axis to quickly decelerate and stop within the tolerance range, and position it near the final target position 2.

[0050] However, in the comparative position control device 200, when the detection speed of the table 19 as the feed axis is low and the width of the allowable range W0 is large, if the rate at which the integral gain term is reduced is large, the table 19 as the feed axis may stop before reaching the final target position 2, and it may not be possible to position the table 19 near the final target position 2.

[0051] In the comparative position control device 200, when the detection speed of the feed axis is high and the width of the permissible range W0 is small, if the rate at which the integral gain term is reduced is small, the feed axis may jump out of the permissible range W0 before decelerating and stopping within the permissible range W0, and it may not be possible to position the feed axis near the final target position 2.

[0052] In contrast, in the position control device 100 of the embodiment, the integral gain reduction unit 25 in the speed control unit 13 sets an integral gain term reduction range W1 for reducing the integral gain term on both sides of the drive direction of the final target position 2, and when the composite detection position of the feed axis enters the integral gain term reduction range W1, the rate at which the integral gain term is reduced decreases as the detection speed of the feed axis decreases. As a result, when the detection speed of the table 19, which is the feed axis, is low, the force for driving the table 19, which is the feed axis, does not fall below the dynamic friction force of the guide of the table 19 before the table 19 reaches the vicinity of the final target position 2, and the table 19, which is the feed axis, can be stopped near the final target position 2 after the table 19 reaches the vicinity of the final target position 2. Therefore, the table 19, which is the feed axis, can be positioned closer to the final target position 2 than the position control device 200 of the comparative example.

[0053] Furthermore, in the position control device 100 of the embodiment, in the integral gain reduction section 25 of the speed control section 13, when the detection speed of the table 19, which is the feed axis, is high, the width of the integral gain term reduction range W2, which is set on both sides of the driving direction of the final target position 2, is widened to W2H, and when the detection speed of the table 19, which is the feed axis, is low, the width of the integral gain term reduction range W2 is narrowed to W2L.

[0054] As a result, when the detection speed of table 19, which is the feed axis, is high, the integral gain term decrease start position 3 is set to a position farther from the final target position 2 so that the feed axis can be sufficiently decelerated between integral gain term decrease start position 3 and the final target position 2, and the feed axis can be quickly decelerated and stopped in the vicinity of the final target position 2. Also, when the detection speed of table 19, which is the feed axis, is low, the width of integral gain term decrease range W2 is set narrower, such as W2L, so that the integral gain term decrease start position 3 is set to a position closer to the final target position 2 so that table 19, which is the feed axis, can be quickly decelerated and stopped in the vicinity of the final target position 2. As a result, table 19, which is the feed axis, can be positioned closer to the final target position 2 than in the comparative position control device 200.

[0055] Furthermore, in the position control device 100 of the embodiment, both the width of the integral gain term reduction range W3 and the reduction rate of the integral gain term in the integral gain term reduction range W3 are variable, so that the table 19, which is the feed axis, can be positioned closer to the final target position 2 than the comparative position control device 200.

[0056] In the position control device 100 of the embodiment described above, the integral gain reducer 25 is described as receiving the value obtained by differentiating the first detected position of the rotary encoder 18 built in the servo motor 17 by the differentiator 22 as the detected speed of the table 19 which is the feed axis, but this is not limited to this. For example, instead of receiving the detected speed of the feed axis from outside, a differentiator may be provided internally and the input composite detected position may be differentiated to use the result as the detected speed of the feed axis.

[0057] In the above explanation, when the detection speed of table 19, which is the feed axis, is low, the decrease rate of the integral gain term is set to a rate at which the force driving table 19 in the vicinity of final target position 2 balances with the dynamic friction force of the guide of table 19, which is the feed axis, and is not set to zero even when the final target position 2 is exceeded; however, this is not limited to the above. For example, the decrease rate of the integral gain term may be set to a rate at which the force driving table 19 in the vicinity of final target position 2 is slightly greater than the dynamic friction force of the guide of table 19, which is the feed axis, and the integral gain term may be set to zero when the final target position 2 is exceeded. This allows table 19, which is the feed axis, to be stopped near the final target position 2.

[0058] In the above description, the position control device 100 controls the position of the table 19 that moves linearly, but this is not limited to this. The feed axis is not limited to one that moves linearly, and the same applies to one that moves rotationally. [Explanation of symbols]

[0059] 2 final target position, 3 reduction start position, 4 speed check position, 11 NC device, 12 position control section, 13 speed control section, 14 proportional control section, 15 integral control section, 16 current control section, 17 servo motor, 18 rotary encoder, 19 table, 20 position detector, 21 ball screw, 22 differentiator, 24 position synthesis section, 25, 225 integral gain reduction section, 100, 200 position control device, W1, W2, W3 integral gain term reduction range.

Claims

1. A position control device that controls the position of a feed shaft driven by a servo motor, a first position detector that detects a rotational position of the servo motor; a second position detector for detecting a position of the feed shaft; a position synthesis unit that synthesizes a first detected position from the first position detector and a second detected position from the second position detector and outputs a synthesized detected position; a position control unit that calculates and outputs a command speed from a deviation between a command position of the feed axis and the composite detected position from the position composition unit; a speed control unit that outputs a command torque based on a deviation between the command speed from the position control unit and a detected speed obtained by differentiating a first detected position from the first position detector; a current control unit that controls a current to the servo motor based on the command torque, the command torque output by the speed control unit includes a proportional gain term calculated by multiplying a deviation between the command speed and the detected speed by a proportional constant, and an integral gain term calculated by multiplying an integral value obtained by integrating the deviation between the command speed and the detected speed by an integral constant, the speed control unit includes an integral gain reduction unit that sets integral gain term reduction ranges for reducing the integral gain term on both sides of a drive direction of a final target position of the feed axis, and reduces the integral gain term when the composite detection position of the feed axis enters the integral gain term reduction ranges; the integral gain reducing unit reduces a rate at which the integral gain term is reduced as the detected speed of the feed axis at a speed check position preset outside the integral gain term reduction range becomes lower; A position control device comprising:

2. A position control device that controls the position of a feed shaft driven by a servo motor, a first position detector that detects a rotational position of the servo motor; a second position detector for detecting a position of the feed shaft; a position synthesis unit that synthesizes a first detected position from the first position detector and a second detected position from the second position detector and outputs a synthesized detected position; a position control unit that calculates and outputs a command speed from a deviation between a command position of the feed axis and the composite detected position from the position composition unit; a speed control unit that outputs a command torque based on a deviation between the command speed from the position control unit and a detected speed obtained by differentiating a first detected position from the first position detector; a current control unit that controls a current to the servo motor based on the command torque, the command torque output by the speed control unit includes a proportional gain term calculated by multiplying a deviation between the command speed and the detected speed by a proportional constant, and an integral gain term calculated by multiplying an integral value obtained by integrating the deviation between the command speed and the detected speed by an integral constant, the speed control unit includes an integral gain reduction unit that sets integral gain term reduction ranges for reducing the integral gain term on both sides of a drive direction of a final target position of the feed axis, and reduces the integral gain term when the composite detection position of the feed axis enters the integral gain term reduction ranges; the integral gain reducing unit narrows the integral gain term reduction range as the detected speed of the feed axis at a speed check position preset outside the integral gain term reduction range becomes lower; A position control device comprising:

3. 2. The position control device according to claim 1, the integral gain reducing unit narrows a reduction range of the integral gain term as the detected speed of the feed axis at the speed check position decreases; A position control device comprising:

4. 4. The position control device according to claim 1, the integral gain reducing unit sets a rate at which the integral gain term is reduced to a rate at which a force for driving the feed shaft in the vicinity of a final target position balances a dynamic friction force of a guide of the feed shaft; A position control device comprising:

5. 4. The position control device according to claim 1, the integral gain reducer sets a rate at which the integral gain term is reduced such that a force driving the feed shaft in the vicinity of a final target position is slightly greater than a dynamic friction force of a guide of the feed shaft, and sets the integral gain term to zero when the composite detection position of the feed shaft reaches the final target position; A position control device comprising:

Citation Information

Patent Citations

  • Positioning system

    JP1985191314A

  • Digital servo control system

    JP1990228701A

  • Controller for filled amount of tobacco in machine for producing cigarette

    JP1993227937A

  • Apparatus and method for regulating control parameter of servomotor

    JP1994319284A

  • Control device for robot

    JP2002052485A