USPatent applicationPatented

Servo controller

Granted 26 Oct 2004 · 1 office action

Assignee: FANUC

Law firm: Law firm · Log in to unlock

Attorney: Attorney · Log in to unlock

Inventors: Kazuomi Maeda, Yasusuke Iwashita · Examiner: Jeffrey W Donels · AU 2837 · TC 2800

Life of the application

8 dated events
⤢ drag to zoom2004200620082010201220142016201820202022ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

A servo controller carries out tandem control in which one driven body is driven by a plurality of motors. Each motor is provided with a position control section, a velocity control section, a current control section, a current amplifier, and a velocity detector. This tandem control is carried out by using a velocity integrator sharing unit for equalizing integral values of integration elements of the velocity control sections. The same position command is inputted to control systems for the plurality of motors to undergo tandem control. The velocity integrator sharing unit keeps the integral values of the integration elements of the velocity control sections substantially equal.

Description

10 parts
›BACKGROUND OF THE INVENTION · 1 of 2

1. Field of the Invention

The present invention relates to a servo controller that controls driving of an arm of a robot or a feed shaft of a drive mechanism such as a machine tool, injection molding equipment, or a pressing machine, and in particular, to tandem control in which one movable member is controlled by a plurality of motors.

2. Description of the Related Art

Tandem control is known as a drive method used for drive mechanisms for various machines such as robots, machine tools, injection molding equipment, and pressing machines. With this method, if a movable member to be moved is too large to accelerate or decelerate by one motor that drives a movement shaft of the movable member, the same movement command is provided to a plurality of motors, which then drive this movable member. Thus, the movable member is stably driven while maintaining a proper position. With this method, a drive shaft of each motor must have its position controlled so that the movable member will not be twisted.

FIG. 13 is a block diagram showing an example of configuration of conventional position tandem control. This drawing shows an example of tandem control for a drive mechanism in which two motors, a first motor 15 and a second motor 25 , drive one movable member 4 .

A controller for the first motor 15 comprises a position control section 11 that carries out position loop control, a velocity control section 12 that carries out velocity loop control, a current control section 13 , and a current amplifier 14 . Furthermore, the first motor 15 is provided with a velocity detector 17 that detects a velocity feedback amount (velocity FB 1 ). A movable member 4 located closer to the first motor is provided with a position detector 18 that detects a position feedback amount (position FB 1 ).

Further, a controller for the second motor 25 comprises a position control section 21 , a velocity control section 22 , a current control section 23 , and a current amplifier 24 . Furthermore, the second motor 25 is provided with a velocity detector 27 that detects a velocity feedback amount (velocity FB 2 ). A movable member 4 located closer to the second motor is provided with a position detector 28 that detects a position feedback amount (position FB 2 ).

Depending on the conditions of the movable member 4 such as its rigidity, only one or neither of the position detectors 18 and 28 are attached to the movable member 4 . In the former case, the other position detector is installed on an output shaft of the motor. Further, only one of the position detectors 18 and 28 may be provided. That is, the plurality of motors used for tandem control may be provided with the respective position detectors or one common position detector. Furthermore, the position detector 18 or 28 may be attached to the output shaft of the motor or the like to detect the rotating position of the motor and thus the position of the movable member. Alternatively, the position detector may be attached directly to the movable member to directly detect its movement. Further, the position detector may be composed of a linear scale or a rotary encoder.

The position control sections 11 and 21 each receive, from a higher controller (not shown), the same position command distributed by a command distributor 3 , and subtract the position feedback amount (position FB 1 or position FB 2 , respectively; if only one position detector is provided, then position FB 1 =position FB 2 ) from the command to obtain a position deviation. The position control section then processes the position deviation amount obtained to output a velocity command.

The velocity control sections 12 and 22 each receive the velocity command from the position control section 11 or 21 , respectively, and subtract, from the velocity command, the velocity feedback amount (velocity FB 1 or velocity FB 2 ), respectively) detected by the velocity detector 17 or 27 attached to the motor, respectively, to obtain a velocity deviation amount. On the basis of the velocity deviation amount obtained, the velocity control section executes a velocity loop process including a proportion and integration to output a current command.

The current control sections 13 and 23 each receive the current command from the velocity control section 12 or 22 , respectively, and subtract, from the current command, a current feedback amount from a sensor (not shown) that detects a motor current. The current control section then processes the current deviation amount obtained (current FB 1 or current FB 2 ) to output a voltage command.

The current amplifiers 14 and 24 each receive the voltage command from the current control section 13 or 23 , respectively, and form a drive current to drive the motor 15 or 25 , respectively, thereby driving the motor 15 or 25 . Then, the motors 15 and 25 drive ball screws 16 and 26 , respectively, screwed in ball nuts attached to the movable member 4 , thus moving the movable member 4 .

In this manner, on the basis of the same position command, loop processes for position, velocity, and current are executed for the two motors 15 and 25 , so that the movable member 4 is driven by the resultant force of output torque from the two motors.

With the position tandem control described above, repeated accelerations and decelerations cause integral values of integrators of the velocity control sections 12 and 22 to increase on the plus and minus sides, respectively, owing to a difference in loading timing between the velocity feedback amounts (velocity FB 1 and velocity FB 2 ) as well as quantization. Thus, an excessive current command may be generated. In particular, if only one position detector is provided and common position feedback is provided to all motors (position FB 1 =position FB 2 ), when there is only a small difference between a motor drive position and a position detected by the position detector (when the position detector is attached to a rotating shaft of the motor or to a position close to a drive mechanism for the motor), the integrator in the velocity control section of the control system for the motor generates a current command based on its own integral value. As a result, position feedback is provided so as to eliminate this bias.

›BACKGROUND OF THE INVENTION · 2 of 2

However, for the other motor, whether the integral value of the integrator in the velocity control section of the control system for the motor increases on the plus or minus side, position feedback is not provided in a manner such that it eliminates this bias. Accordingly, the integrator continues having such a biased integral value, thereby degrading controllability of the motor. Consequently, the motor may be overheated.

For example, in the example in FIG. 13, if there is no or only a small difference between the rotating position of the first motor 15 and the position detected by the position detector, it will be impossible for the integral value of the integrator in the velocity control section 12 of the control system for the first motor 15 to significantly increase. However, for the second motor 25 , position feedback (position FB 2 ) is not provided in a manner such that it eliminates the bias in the integral value of the integrator in the velocity control section 22 , with the result that the integral value of the integrators becomes biased, thereby degrading controllability of the motor. Consequently, the second motor 25 may be overheated.

›SUMMARY OF THE INVENTION

It is an object of the present invention to solve the above described problems of the prior art to correct a bias in an integral value of an integration element of a velocity control section, thus preventing degradation of controllability of a motor and occurrence of overheat of the motor which may be caused by this bias.

For the purpose of attaining this object, according to a first aspect of the present invention, there is provided a servo controller that allows one driven body to be driven by a plurality of motors. This servo controller comprises, for each of the motors, a position control section and a velocity control section. The position control section calculates a position deviation value as a difference between a position command value inputted by a higher controller and a feedback value provided by a position detector that detects a position of the driven body, and then outputs a velocity command. The velocity control section receives the velocity command value and obtains, using an integration element and a proportion element, a current command based on the velocity command value and a velocity feedback value provided by a velocity detector that detects a velocity of the driven body, and then outputs the current command. Each of the position control sections receive the same position command from the higher controller to control the driven body. The servo controller further comprises means for equalizing outputs from the integration elements in the velocity control sections.

The servo controller may assume the following forms:

Means for equalizing the outputs from the integration elements uses an output from the integration element of one of the plurality of velocity control sections as an output from the integration element of the other velocity control section.

The means for equalizing the outputs from the integration elements replace an integral value of the integration element in one of the plurality of velocity control sections with an integral value of the integration element in the other velocity control section by rewriting.

The means for equalizing the outputs from the integration elements determines an average value for the velocity feedback amounts inputted by the plurality of velocity control sections and uses this average value as a velocity feedback amount for the integration element in each of the plurality of velocity control sections.

The means for equalizing the outputs from the integration elements obtains the same value by using a time constant circuit to cause a delay for a fixed time.

The means for equalizing the outputs from the integration elements is enabled while the driven body is stopped.

The means for equalizing the outputs from the integration elements performs one rewrite operation whenever the driven body is stopped.

The means for equalizing the outputs from the integration elements performs a rewrite operation whenever and while the driven body is stopped.

The means for equalizing the outputs from the integration elements is enabled when an external signal is inputted.

The means for equalizing the outputs from the integration elements is enabled when the integration elements provide the same value after the external signal has been inputted.

Further, according to a second aspect of the present invention, there is provided a servo controller that allows one driven body to be driven by a plurality of motors. This servo controller comprises position control sections that carry out position loop control for each of the motors, and velocity control sections that carry out velocity loop control including a proportion and integration processes. Each of the position control sections receives the same position command from a higher controller, and carries out position loop control to output a velocity command. Furthermore, an integration element is provided in only the velocity control section for a particular one of the plurality of motors, and each of the velocity control sections for other motors carries out an integration process using an output from the integration element of the velocity control section for the particular motor. Further, the velocity control section carries out a proportion process on the basis of its own velocity feedback value.

According to the servo controller of the present invention, tandem control is carried out so as to prevent an increase in the difference between the integral values of the integrators in the velocity control sections. This in turn prevents degradation of controllability of each motor and occurrence of overheat which may be caused by this bias.

›BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a control system for a motor based on tandem control according to an embodiment of the present invention;

FIG. 2 shows a first example of velocity integrator sharing means in the control system of FIG. 1;

FIG. 3 shows a second example of velocity integrator sharing means in the control system of FIG. 1;

FIG. 4 shows a third example of velocity integrator sharing means in the control system of FIG. 1;

FIG. 5 shows a fourth example of velocity integrator sharing means in the control system of FIG. 1;

FIG. 6 shows a fifth example of velocity integrator sharing means in the control system of FIG. 1;

FIG. 7 is a block diagram of an essential part of a motor control system that carries out tandem control;

FIG. 8 is a flow chart of a process executed for each position and velocity control period by a processor of a digital servo circuit in the motor control system of FIG. 7 when the velocity integrator sharing means according to the first example is used;

FIG. 9 is a flow chart of a process executed for each position and velocity control period by a processor of a digital servo circuit in the motor control system of FIG. 7 when the velocity integrator sharing means according to the second example is used;

FIG. 10 is a flow chart of a process executed for each position and velocity control period by a processor of a digital servo circuit in the motor control system of FIG. 7 when the velocity integrator sharing means according to the third example is used;

FIG. 11 is a flow chart of a process executed for each position and velocity control period by a processor of a digital servo circuit in the motor control system of FIG. 7 when the velocity integrator sharing means according to the fourth example is used;

FIGS. 12A to 12 C are charts showing the results of experiments; and

FIG. 13 is a block diagram showing an example of a configuration for conventional position tandem control.

›DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS · 1 of 6

FIG. 1 is a block diagram of a control system for a motor based on tandem control according to an embodiment of the present invention. This embodiment shows an example in which one movable member 4 is moved by two motors while having its position maintained as in the case with the conventional example shown in FIG. 13 .

This embodiment differs from the conventional example shown in FIG. 13 only in that it additionally has velocity integrator sharing means 5 . In this embodiment, only one of the position detectors 18 and 28 may be provided. In this case, a main motor is one of the two motors which has a smaller difference between its rotating position and a position detected by the position detector, while the other is a sub-motor. The main motor and its control system are a first motor and a first motor control system.

In FIG. 1, the first control system (main control system) is composed of a position control section 11 that carries out position loop control, a velocity control section 12 that carries out velocity loop control, a current control section 13 , a current amplifier 14 , a motor 15 , and a velocity detector 17 . Further, the second control system (sub-control system) is composed of a position control section 21 that carries out position loop control, a velocity control section 22 that carries out velocity loop control, a current control section 23 , a current amplifier 24 , a motor 25 , and a velocity detector 27 . Those components in FIG. 1 which are the same as those in FIG. 13 are denoted by the same reference numerals.

Also in this embodiment, as described in the conventional example in FIG. 13, the position control sections 11 and 21 each receive, from the higher controller, the same position command distributed by the command distributor 3 , and subtract the position feedback amount (position FB 1 or position FB 2 , respectively) from the command. The position control section processes the position deviation amount obtained to output a velocity command to the velocity control section 12 or 22 . The velocity control sections 12 and 22 subtract, from the velocity command, the velocity feedback amount (velocity FB 1 or velocity FB 2 , respectively) detected by the velocity detector 17 or 27 , respectively, to obtain a velocity deviation and the velocity control sections 12 and 22 execute, on the basis of the velocity deviation amount obtained, a velocity loop process including a proportion and integration to output a current command.

The current control sections 13 and 23 each receive the current command from the velocity control section 12 or 22 , respectively, and subtract, from the current command, the current feedback amount (current FB 1 or current FB 2 ) outputted from the sensor (not shown) that detects a motor current. The current control section then processes the current deviation amount obtained to output a voltage command to the current amplifier 14 or 24 . The current amplifiers 14 and 24 form a drive current to drive the motors 15 and 25 , respectively, thereby driving the motors 15 and 25 . Then, the motors 15 and 25 drive the movable member 4 via a ball screws/nut mechanism.

The above arrangements are similar to those of the conventional example, but the present invention differs from the conventional example in that it includes velocity integrator sharing means 5 that equalizes values from the integrators of the velocity control sections 12 and 22 .

FIG. 2 is a diagram showing a first example of the velocity integrator sharing means 5 . The configuration of the velocity control sections 12 and 22 is shown in connection with an example of proportion and integration (PI) control.

In FIG. 2, the velocity control section 12 of the first motor control system is composed of an integrator 121 that integrates a velocity deviation VER 1 as a difference between a velocity command VCMD 1 and the velocity feedback amount (velocity FB 1 ), an amplifier 122 having an integration gain Ki which amplifies an output from the integrator 121 , an amplifier 123 having a proportion gain Kp which amplifies the velocity deviation VER 1 , and an accelerator 124 that adds outputs from the amplifiers 122 and 123 together to output the result as an output from the velocity control section 12 .

Likewise, velocity control section 22 of the second motor control system is composed of an integrator 221 that integrates a velocity deviation VER 2 as a difference between a velocity command VCMD 2 (if the same position detector is used, then velocity command VCMD 2 =VCMD 1 ) and the velocity feedback amount (velocity FB 2 ), an amplifier 222 having an integration gain Ki which amplifies an output from the integrator 221 , an amplifier 223 having a proportion gain Kp which amplifies the velocity deviation VER 2 , and an accelerator 224 that adds outputs from the amplifiers 222 and 223 together to output the result as an output from the velocity control section 22 .

The velocity integrator sharing means 5 shown in FIG. 2 is composed of means for switching an integral value of the integrator 221 in the velocity control section 22 of the second motor control system to an integral value of the integrator 121 in the velocity control section 12 of the first motor control system. In FIG. 2, a switch 51 constitutes this means 5 . The switch 51 is automatically actuated in response to an external signal or when operation is stopped, to perform a switching operation such that the integral value of the integrator 221 is equal to the integral value of the integrator 121 .

When movement commands from the higher controller (not shown) remain at a value of “0” for a specified period of time or when the position deviation becomes equal to or smaller than a threshold level with the movement commands remaining at “0” for a predetermined period of time, it is determined that an operation is being stopped and the switch 51 is actuated.

It is assumed that, as described above, the higher controller outputs the same position command to the motor control systems via the command distributor 3 to repeatedly accelerate and decelerate the first and second motors to drive the movable member 4 , as a result, the integral values of the integrators 121 and 221 increase on the positive and negative sides, respectively, with the difference between the integral values increasing. Then, the switch 51 is automatically actuated in response to an external signal or when operation is stopped, so that the integral value of the integrator 221 in the second motor control system is switched to the integral value of the integrator 121 in the first motor control system.

›DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS · 2 of 6

FIG. 3 shows a second example of the velocity integrator sharing means 5 . In the first example shown in FIG. 2, the integral value of the integrator 221 in the second motor control system is immediately switched to the integral value of the integrator 121 in the first motor control system. However, in this case, if there is a large difference between the integral values of the two integrators 121 and 221 , the integral value of the integrator 221 in the second motor control system changes suddenly, thus changing the current command (torque command) suddenly. Accordingly, in this example, the velocity integrator sharing means 5 is designed to alleviate such sudden change.

The second example, shown in FIG. 3, is the same as the first example except that a primary delay element 52 is added to the device. Thus, when the switch 51 is actuated, the integral value of the integrator 221 in the second motor control system is gradually switched to the integral value of the integrator 121 in the first motor control system according to a primary delay transfer function. The other arrangements are the same as those shown in FIG. 2 .

FIG. 4 shows a third example of the velocity integrator sharing means 5 . In the third example, the value to be inputted to each of the integrators 121 and 221 is obtained by subtracting, from a velocity command in the corresponding motor control system, the average of velocity feedback values in this and the other motor control systems.

The third example of the velocity integrator sharing means 5 is composed of a subtractor 53 that substracts the velocity feedback amount (velocity FB 2 ) in the second motor control system from the velocity feedback amount (velocity FB 1 ) in the first motor control system, and a divider 54 that divides an output from the subtractor 53 by two. Thus, an output from the divider 54 is added to a velocity deviation (a difference between the velocity command and the velocity feedback amount), and the sum is inputted to the integrator 121 in the first motor control system. The output from the divider 54 is subtracted from the velocity deviation, and the difference is inputted to the integrator 221 in the second motor control system.

Let VCMD 1 and VFB 1 be the velocity command and the velocity feedback amount (velocity FB 1 ) in the first motor control system, respectively, and let VCMD 2 and VFB 2 be the velocity command and the velocity feedback amount (velocity FB 2 ) in the second motor control system, respectively. Then, the input to the integrator 121 in the first motor control system is expressed by:

VCMD 1 − VFB 1 +( VFB 1 − VFB 2 )/2= VCMD 1 −( VFB 1 + VFB 2 )/2   (1)

The input to the integrator 221 in the second motor control system is expressed by:

VCMD 2 − VFB 2 )−( VFB 1 − VFB 2 )/2= VCMD 2 −( VFB 1 + VFB 2 )/2   (2)

In this example, as shown by Equations (1) and (2), described above, the input to each integrator is obtained by subtracting the average of the velocity feedback amounts from each velocity command. In this example, as an example of the velocity integrator sharing means 5 , the velocity feedback amounts VFB 1 and VFB 2 may be added together, and the sum may then be divided by two to obtain the average value [(VFB 1 +VFB 2 )/2]. Then, this average value may be subtracted from each of the velocity commands VCMD 1 and VCMD 2 , and the differences may then be inputted to the integrators 121 and 221 , respectively.

FIG. 5 shows a fourth example of the velocity integrator sharing means 5 . In this example, the velocity integrator sharing means 5 is composed of a switch 55 that switches the input to the integration amplifier 222 in the second motor control system from an output from the integrator 221 in this system to an output of the integrator 121 in the first motor control system.

To carry out tandem control, the switch 55 is switched to the integrator 121 in the first motor control system so that this integrator 121 can be shared by the velocity control sections ( 12 and 22 ) for the motors which undergo tandem control.

It is also possible that the switch 55 is normally connected to integrator 221 and is switched to the integrator 121 in the first motor control system as required. In this case, a stable switching operation is achieved by providing an external switching command so that the switch 55 is returned to the integrator 221 when a difference in the integral values of the integrators 121 and 221 becomes equal to or smaller than a predetermined value.

Alternatively, the switch 55 may not be provided between the integrators 121 and 221 , but the integrators 121 and 221 may be always connected together. FIG. 6 is a block diagram showing this case, in which only one velocity integration element ( 121 ) is provided in the first motor control system. An output from this velocity integration element is used by a different integration element 222 (in the second motor control system). Further, proportion elements in the first and second motor control systems use their own velocity feedback.

FIG. 7 is a block diagram of a motor control system that carries out the above described tandem control. This motor control system has the same configuration as the conventional device for servo control, and is thus schematically shown. In FIG. 7, reference numeral 100 denotes a numerical controller (CNC) as a higher controller, reference numeral 101 denotes a shared memory, and reference numeral 102 denotes a digital servo circuit having a processor (CPU), a ROM, a RAM, or the like. Reference numerals 103 and 104 denote servo amplifiers composed of transistor inverters or the like, and reference numerals 15 and 25 denote servo motors that carry out tandem control. Reference numerals 17 and 27 denote velocity detectors attached to the respective servo motors, and reference numerals 18 and 28 denote position detectors that detect the positions of the movable members (or the servo motors).

The numerical controller 100 as a higher controller outputs and writes position commands to the respective servo motors or movement commands MCMD each corresponding to a difference between position commands to the shared memory 101 for each predetermined period on the basis of an operation program or the like. To subject the motors 15 and 25 to tandem control, the position commands or movement commands MCMD provided to these motors have the same value. A processor in the digital servo circuit 102 reads this position command or the movement command MCMD and carries out the above described position, velocity, and current control for each predetermined period to drive the servo motors 15 and 25 via the servo amplifiers 103 and 104 , respectively.

›DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS · 3 of 6

FIG. 8 shows a flow chart of the operation process of the example shown in FIG. 2, executed by the processor in the digital servo circuit 102 ,in which the common integral value is used for tandem control. The processor executes the process shown in this flow chart, for each position and velocity process period.

First, the processor reads the movement command MCMD provided by the higher controller, reads the position feedback amounts (position FB 1 and position FB 2 ) from the position detectors 18 and 28 , and executes a position loop process as in the case with the conventional example to obtain velocity commands VCMD 1 and VCMD 2 to the motors 15 and 25 , respectively (step a 1 ). Then, the processor determines whether or not the movement command MCMD to the motors which undergo tandem control is “0” (step a 2 ). If it is not “0”, a counter, described later, is set to “0”, and a flag F 2 , which stores the indication that a rewrite operation has been completed for the integrator, is set to “0”, (step a 7 ).

Then, the processor stores the velocity feedback amounts (velocity FB 1 and velocity FB 2 ) fed back by the velocity detectors 17 and 27 , as VFB 1 and VFB 2 (step a 8 ), and subtracts the velocity feedback amounts VFB 1 and VFB 2 from the velocity commands VCMD 1 and VCMD 2 , respectively, obtained by the position control in step a 1 , to determine velocity deviations VER 1 and VER 2 (step a 9 ).

VER 1 = VCMD 1 − VFB 1   (3)

VER 2 = VCMD 2 − VFB 2   (4)

The processor adds the velocity deviations VER 1 and VER 2 obtained in step a 9 to a register that integrates the velocity deviations to store integral values IVER 1 and IVER 2 , respectively. Thus, new integral values IVER 1 and IVER 2 are determined (step a 10 ).

The processor determines whether or not a flag F 1 storing the indication of the operation stop state is set to “1” (step a 11 ). Since this flag is initialized to “0”, the process shifts to a step a 14 to add the product of the velocity deviations VER 1 and VER 2 , determined in step a 9 , and the proportion constant (proportion gain) Kp to the product of the integral values IVER 1 and IVER 2 m, determined in step a 10 , and the integration constant (integration gain) Ki to determine current commands (torque commands) TCMD 1 and TCMD 2 (step a 14 ). These current commands are delivered to a current loop process to complete the process for this position and velocity control period.

TCMD 1 = Kp×VER 1 + Ki×IVER 1   (5)

TCMD 2 = Kp×VER 2 + Ki×IVER 2   (6)

Subsequently, provided that movement commands are outputted and are not “0”, process steps a 1 , a 2 , a 7 to a 11 , and a 14 are executed for each position and velocity control period.

On the other hand, when the movement commands are “0”, the process shifts from step a 2 to step a 3 to determine whether a flag F 2 is “1”, which stores the indication that a rewrite operation has been completed for the integrator, or not. If it is not “1”, the process shifts to step a 4 . Then, it is determined whether or not a counter value is smaller than a parametrically set value N. If the counter value is smaller than the value N, “1” is added to the counter (step a 5 ). Then, the processing in step a 8 and the following steps are executed.

Until the counter value exceeds the set value N while the movement commands remain at a value of “0”, the processing in steps a 1 to a 5 , a 8 to a 11 , and a 14 is executed. Then, if the movement commands have a value different from “0” before the counter reaches the set value N, the processing in steps a 1 , a 2 , a 7 to a 11 , and a 14 is executed. Further, the processing in step a 7 is executed to clear the counter to “0”.

On the other hand, if the movement commands remain at a value of “0” and when the counter value exceeds the set value N, the process shifts from step a 4 to step a 6 to set the flag F 1 , indicating that the operation is stopped, to “1”. Then, the processing in step a 8 and the following steps are executed. In this case, since the flag F 1 is set to “1”, the process shifts from step a 11 to step a 12 to rewrite the integral value IVER 2 of the velocity control integration element of the control system for the second motor 25 , to the integral value IVER 1 of the velocity control integration element of the control system for the first motor 15 . Then, the flag F 1 is set to “0”, while the flag F 2 is set to “1” (step a 13 ).

Then, at step a 14 , the integral values of the integration elements of the control systems become the same (IVER 1 =IVER 2 ). Then, on the basis of the same integral value, Equations (5) and (6), described above, are calculated to determine current commands (torque commands) TCMD 1 and TCMD 2 , which are then outputted to a current loop process.

In the next and subsequent periods, even if the movement commands have a value of “0”, since the flag F 2 is set to “1”, the process shifts from step a 3 to step a 8 , with the flag F 1 remaining at a value of “0”. The process then proceeds from step a 11 to step a 14 , and the integrator is not subjected to a rewrite operation.

That is, in this example, when the state where the movement command is “0” continues for a set time (set value N) so that it is determined that the operation has been stopped, one of the integral values is rewritten only once so that those integral values are the same.

In this regard, after detection of the operation stop state, the integral value may be rewritten for each position and velocity control period. In this case, for example, the processing in step a 3 is not executed, and when the position commands have a value of “0” at step a 2 , the process shifts to step a 4 . The processing in step a 13 is omitted, and the flag F 1 may be set to “0” at step a 7 , instead of the flag F 2 . Thus, the movement commands remain at a value of “0”, and as a result, the counter value exceeds the set value N so that the flag F 1 is set to “1”. Then, the position commands have a value different from “0”, and until the flag F 1 is set to “0” at step a 7 , the processing in step a 12 is executed for each position and velocity control period to rewrite one of the integral values so that those integral values are always the same.

›DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS · 4 of 6

In this example, the operation stop state is determined if the movement commands remain at a value of “0” for the set time (set value N). However, the same determination may be made when the position deviation becomes equal to or smaller than the threshold level. In this case, when it is determined at step a 4 that the counter value has exceeded the set value N, it may be determined whether or not the position deviation is equal to or smaller than the threshold level. The processing in step a 6 may be executed only if the position deviation is equal to or smaller than the threshold level.

In the above example, the integral value is automatically rewritten when the operation is stopped. However, the rewrite operation may be performed in response to an external rewrite command. In this case, processing in steps a 2 to a 7 and a 13 are not required, and the process may shift from step a 1 to a 8 to determine at step a 11 whether or not there is any external signal, rather than determining whether or not the flag F 1 is “1”. If there is an external signal, the processing in step a 12 may be executed to rewrite the integral value. The process may then proceed to step a 14 .

Further, in the above example, the processor of the digital servo circuit 102 performs the operation shown in the operational block diagram of FIG. 2 . However, in this example, when the counter value exceeds the set value N and the integral value of the integrator is to be rewritten, if there is a large difference between the integral value prior to a rewrite operation and the integral value after the rewrite operation, then the current command (torque command) TCMD 2 changes suddenly.

Description will be given of an example of operation process in which a rewrite operation is gradually performed on the basis of a primary delay as shown in the operational block diagram of FIG. 3 to avoid such sudden change in current command. FIG. 9 is a flow chart of a position and velocity control process executed when the processor of the digital servo circuit 102 carries out this example.

Compared to the flow chart shown in FIG. 8, the processing in step a 3 in FIG. 8 is omitted and the processing in steps b 1 to b 5 are the same as the processing in steps a 1 , a 2 , and a 4 to a 6 in FIG. 8 . Further, the processing in step b 6 is the same as the processing in step a 7 except that instead of the flag F 2 , the flag F 1 is set to “0”. That is, with the process shown in FIG. 9, if the position commands remain at a value of “0” even after the counter value exceeds the set value N, the flag F 1 is set to “1”. Then, the flag F 1 remains at a value of “1” until position commands with a value different from “0” are provided.

Further, the processing in steps b 7 to b 9 are the same as the processing in steps a 8 to a 10 . Furthermore, this example is characterized in that the processing in steps b 10 to b 12 are executed in order to equalize the integral values on the basis of a primary delay transfer function.

First, a differential equation for a transfer function 1/(1+τS) for a primary delay element is determined to obtain the following Equation (7) where U i denotes an input to the primary delay element during an i-th period, and Y i denotes an output from this element during the same period.

Y i =k×Y i−1 +(1− k ) U i   (7)

Reference character k denotes a constant determined by a time constant τ for the primary delay element and a sampling period (in this case, a position and velocity control period).

In this example, the input U i to the primary delay element is a difference (IVER 1 −IVER 2 ) between the integral value IVER 1 of the integration element in the first motor control system and the integral value IVER 2 of the integration element in the second motor control system. This difference is added to the integral value IVER 2 from the integration element of the second motor control system on the basis of the primary delay to obtain a new integral value IVER 2 ′. Y i =  k × Y i - 1 + ( 1 - k )  U i =  k × Y i - 1 + ( 1 - k )  ( IVER1 i - IVER2 i ) ( 8 )

IVER 2 ′= IVER 2 + Y i   (9)

If the integral value IVER 1 in the first motor control system is large, whereas the integral value IVER 2 in the second motor control system is small, then the output Y i from the primary delay element is positive. Then, this positive value is added to the integral value IVER 2 in the second motor control system, so that the integral value IVER 2 becomes closer to the integral value IVER 1 in the first motor control system on the basis of the primary delay. This also applies to the case in which the two integral values have the inverse signs. For example, if the integral value IVER 1 is positive, whereas the integral value IVER 2 is negative, then the output Yi from the primary delay element is positive. This positive value is added to the integral value IVER 2 to make it closer to the integral value IVER 1 .

The processing for Equations (8) and (9), described above, is executed at step b 10 . That is, the value obtained by multiplying an output Y 2 from the primary delay element during the preceding period by the constant k is added to the value obtained by subtracting the integral value IVER 2 in the second motor control system from the integral value IVER 1 in the first motor control system determined at step b 9 and multiplying the difference by (1−k), to determine an output Y 2 from the primary delay element during the current period. The determined output Y 2 is then stored. Furthermore, the output Y 2 is added to the integral value IVER 2 in the second motor control system to determine a new integral value IVER 2 ′ in the second motor control system.

Then, it is determined whether or not the flag F is “1”, i.e. whether or not the operation is stopped (step b 11 ). If the flag F is not “1”, then the process shifts to step b 13 . If the flag F is “1”, the new integral value IVER 2 ′, determined at step b 10 , is used as the integral value IVER 2 in the second motor control system (step b 12 ). The process then shifts to step b 13 . At step b 13 , the current commands (torque commands) TCMD 1 and TCMD 2 are determined on the basis of the velocity deviations VER 1 and VER 2 , determined at step b 8 , and the integral values IVER 1 and IVER 2 , determined at steps b 9 and b 12 .

›DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS · 5 of 6

That is, if the flag F 1 is not set to “1” and the operation is not stopped, then position and velocity control for each motor is carried out on the basis of the position commands MCMD 1 and MCMD 2 , provided by the higher controller 100 , the position feedback amounts (position FB 1 and position FB 2 ), and the velocity feedback amounts (velocity FB 1 =VFB 1 and velocity FB 2 =VFB 2 ), as in the case with the conventional example. Then, a velocity loop control process is executed on the basis of the determined velocity deviations VER 1 and VER 2 and the integral values IVER 1 and IVER 2 (steps b 8 and b 9 ) to determine current commands TCMD 1 and TCMD 2 (step b 13 ).

On the other hand, if the operation is stopped to set the flag F 1 to “1”, then at step b 10 , the integral value IVER 2 in the second motor control system is corrected to be equal to the integral value IVER 1 in the first motor control system on the basis of the primary delay. Then, at step b 12 , the integral value IVER 2 is rewritten and this rewritten value is then used to determine current commands. Thus, the integral value in the second motor control system follows the integral value in the first motor control system on the basis of the primary delay and gradually becomes equal to the latter.

Also in this example, the operation stop state is detected to automatically rewrite the integral value. However, the rewrite operation may be performed in response to an external signal. In this case, the processing in steps b 2 to b 6 are not required, and at step b 11 , it is determined whether or not there is any external signal for a rewrite command.

FIG. 10 is a flow chart of the operation shown in FIG. 4 and performed by the processor of the digital servo circuit 102 .

Position control is carried out to determine velocity commands VCMD 1 and VCMD 2 (step c 1 ), and the velocity feedback amounts VFB 1 and VFB 2 are read from the first and the second velocity detectors 17 and 27 , respectively, (step c 2 ) to determine velocity deviations VER 1 and VER 2 , respectively (step c 3 ). This process is the same as steps a 1 , a 8 , and a 9 , shown in FIG. 8 .

In this example, the velocity feedback amount VFB2 for the second motor is subtracted from the velocity feedback amount VFB 1 for the first motor 15 , and the difference is then divided by two to determine an amount X(=(VFB 1 −VFB 2 )/2) equal to half of a difference between the velocity feedback amounts (step c 4 ). The velocity deviations VER 1 and VER 2 , determined at step c 3 , are added to the integral values IVER 1 and IVER 2 obtained during the preceding period, respectively. Further, the amount X is added to the sum of the integral value IVER 1 and the velocity deviation VER 1 , whereas the amount X is subtracted from the sum of the integral value IVER 2 and the velocity deviation VER 2 , to determine new integral values IVER 1 and IVER 2 , respectively (step c 5 ). That is, as described previously (see Equations (1) and (2)), the velocity deviation, obtained by subtracting the average value of the velocity feedback amounts from each velocity command, is added to the corresponding integral value for integration.

On the basis of the thus determined integral values IVER 1 and IVER 2 and the velocity deviations VER 1 and VER 2 , determined at step c 3 , the respective current commands TCMD 1 and TCMD 2 are obtained and delivered to the current loop process (step c 6 ), thus completing the process for this period. The integral values of the integration elements are equalized by executing the processing in steps cl to c 6 , described above, for each period.

FIG. 11 is a flow chart of the operation shown in FIG. 5 and executed by the processor of the digital servo circuit 102 .

Position control is carried out to determine velocity commands VCMD 1 and VCMD 2 (step d 1 ), and the velocity feedback amounts VFB 1 and VFB 2 are read from the first and the second velocity detectors 17 and 27 , respectively, (step d 2 ) to determine velocity deviations VER 1 and VER 2 , respectively (step d 3 ). This process is the same as the processing in steps c 1 to c 3 , shown in FIG. 10 . Furthermore, the velocity deviations VER 1 and VER 2 are integrated to determine integral values IVER 1 and IVER 2 (step d 4 ). This process is similar to the conventional position and velocity control process.

In this example, it is determined whether or not there is any external signal (step d 5 ). If there is no external signals or if the difference between the integral values of the velocity control sections in the motor control systems is not within a set predetermined range ε even if any external signal has been input (step d 6 ), then on the basis of the velocity deviations VER 1 and VER 2 , determined at step d 3 as in the case with the conventional example, and the integral values IVER 1 and IVER 2 , determined at step d 4 , the respective current commands (torque commands) TCMD 1 and TCMD 2 are determined and delivered to the current control process, thus completing the process for this period (step d 8 ).

On the other hand, if the operator inputs a command for equalizing the integral values, as an external signal, this command is stored and detected at step d 5 . Then, since the integral values of the integrators in the velocity control sections vary, the process waits until the difference between the integral values lies within the set predetermined range ε (step d 6 ). Once the difference lies within the predetermined range ε, the integral value IVER 2 in the second motor control system is switched to the integral value IVER 1 in the first motor control system, so that these values are the same (step d 7 ). Further, the stored input external signal is cleared. Then, this integral value (IVER 2 =IVER 1 ) is used to determine current commands TCMD 1 and TCMD 2 at step d 8 .

In the above example, step d 6 is provided to prevent the integral value of being rewritten unless the difference in the integral values of the motor control systems comes within the set range ε, even if any external signal is inputted. This is to avoid a sudden change in current command which may occur if a rewrite operation is performed when there is a large difference between the integral values. The integral values normally vary as described later and the difference in the integral values may thus decrease. Alternatively, step d 6 may be omitted so that the presence of an external signal causes the integral value to be rewritten without delay(step d 7 ).

›DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS · 6 of 6

FIGS. 12A to 12 C show the results of experiments conducted to check the effects of the present invention. In the example shown in these drawings, triangular-wave-like position commands were inputted for eight seconds, and then the inputting of the commands was stopped for two seconds. Then, a difference in integral value was detected between the velocity control sections of the first and second motor control systems. In the charts, the axis of abscissas indicates time, while the axis of ordinates indicates a difference in integral value. FIG. 12A shows the results of experiments in which no processes such as rewriting of the integral value were executed. This drawing indicates that a difference in integral value remains after the operation is stopped. FIG. 12B shows the results of experiments in which a rewrite operation was performed for the integrator 8.5 seconds later. This drawing indicates that the difference in integral value is substantially “0”. FIG. 12C shows the results of experiments in which the rewrite operation was subsequently continuously performed 8.5 seconds later. This drawing indicates that the difference in integral value is completely eliminated.

Claims as granted

13 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

7 codes
IPC · International Patent Classification
Section G — Physics
  • G05D3/12
  • G05B19/19
  • G05B19/416
Section H — Electricity
  • H02P5/56
  • H02P5/00
  • H02P29/00
USPC · US Patent Classification
318/625

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomOct 2002Jan 2003Apr 2003Jul 2003Oct 2003Jan 2004Apr 2004Jul 2004Oct 2004USPTOApplicantNon-final rejectionResponse after non-finalNotice of allowance
USPTOApplicanthover for detail · click to open
Pendency
1.9 y
699 days filing → grant
Office actions
1
non-final + final
Responses
2
no RCE
Examiner
Jeffrey W Donels
art unit 2837 · TC 2800
Citations: 12 back · 3 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom2004200620082010201220142016201820202022Owner 1
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock