Servo motor control device
阅读说明:本技术 伺服电动机控制装置 (Servo motor control device ) 是由 广瀬登 辻川敬介 于 2020-03-26 设计创作,主要内容包括:本发明提供伺服电动机控制装置。具备:位置指令制作部,制作用于确定由伺服电动机驱动的被驱动体的目标位置的位置指令;反力指令制作部,制作用于确定被驱动体应受到的目标反力的反力指令;位置获取部,获取被驱动体的实际的位置;位置基准驱动控制部,生成位置基准驱动信号以使该位置接近目标位置;反力获取部,获取被驱动体受到的反力;反力基准驱动控制部,生成反力基准驱动信号以使该反力接近目标反力;以及驱动信号选择部,选择位置基准驱动信号和反力基准驱动信号中的任一个信号,位置指令制作部以使目标位置相对于时间成为二次以上的关系的方式制作位置指令,反力指令制作部以使目标反力与目标位置的关系呈大致线性的方式制作反力指令。(The invention provides a servo motor control device. The disclosed device is provided with: a position command generating unit that generates a position command for specifying a target position of a driven body driven by the servo motor; a reaction force command generating unit that generates a reaction force command for specifying a target reaction force to be applied to the driven body; a position acquisition unit that acquires an actual position of the driven body; a position reference drive control unit that generates a position reference drive signal to cause the position to approach a target position; a reaction force acquisition unit that acquires a reaction force applied to the driven body; a reaction force reference drive control unit that generates a reaction force reference drive signal so that the reaction force approaches a target reaction force; and a drive signal selection unit that selects either one of the position reference drive signal and the reaction force reference drive signal, wherein the position command generation unit generates the position command such that the target position is in a quadratic or more relationship with respect to time, and the reaction force command generation unit generates the reaction force command such that the relationship between the target reaction force and the target position is substantially linear.)
1. A servo motor control device is provided with:
a position command generating unit that generates a position command for specifying a target position to be located at by time a driven body driven by a servo motor;
a reaction force command generating unit that generates a reaction force command for specifying a target reaction force to be applied to the driven body by driving the servo motor, for each period of time;
a position acquisition unit that acquires an actual position of the driven body;
a position reference drive control unit that generates a position reference drive signal for driving the servo motor so that the position acquired by the position acquisition unit approaches the target position;
a reaction force acquisition unit that acquires a reaction force actually received by the driven body;
a reaction force reference drive control unit that generates a reaction force reference drive signal for driving the servo motor so that the reaction force acquired by the reaction force acquisition unit approaches the target reaction force; and
a drive signal selection unit that selects either one of the position reference drive signal and the reaction force reference drive signal,
wherein the position command creating unit creates the position command such that the target position has a relationship of two or more times with respect to time,
the reaction force command generating unit generates the reaction force command such that a relationship between the target reaction force and the target position is substantially linear.
2. The servomotor control device according to claim 1, wherein,
the correlation coefficient between the time at which the target position is reached and the time at which the target reaction force is reached is equal to or greater than the ratio of the gain of the position reference drive control unit to the gain of the reaction force reference drive control unit.
3. The servomotor control device according to claim 1 or 2, wherein,
the position command generating unit calculates the target position as a time function of at least two,
the reaction force command creating unit calculates the target reaction force as a time function having the same frequency as that of the time function of the target position.
4. The servomotor control device according to any one of claims 1 to 3, wherein,
the reaction force command creating unit creates the reaction force command so that the target reaction force precedes the target position in the position command by a fixed value.
5. The servomotor control device according to any one of claims 1 to 4, wherein,
further comprises a basic information acquiring unit for acquiring an initial position and an initial reaction force of the driven body, and an arrival position and an arrival reaction force,
the position command creating unit creates the position command for changing the target position with time so as to have a first position change time at which a first order differential value of the target position is fixed and a first order differential value of the target position is fixed, a second position change time after the first position change time and a third position change time after the second position change time at which a second order differential value of the target position is opposite in sign to a second order differential value of the first position change time and a last target position is equal to the arrival position,
the reaction force command generating unit generates the reaction force command for changing the target reaction force with time so as to have a first reaction force change time, a second reaction force change time after the first reaction force change time, and a third reaction force change time after the second reaction force change time, wherein the first reaction force is set to a value equal to the initial reaction force and a second differential value of the target reaction force is fixed in the first reaction force change time, the first differential value of the target reaction force is fixed in the second reaction force change time, the second reaction force change time is substantially equal in length to the second position change time, and the second differential value of the target reaction force is set to a value opposite in sign to the second differential value of the first reaction force change time in the third reaction force change time, and setting the last target reaction force to a value equal to the arrival reaction force.
6. The servomotor control device according to claim 5, wherein,
the reaction force command creating unit sets the first reaction force change time or the second reaction force change time to a time specified by a program.
Technical Field
The present invention relates to a servo motor control device.
Background
For example, it is sometimes desirable to accurately control the position and pressure (reaction force to which a driven body receives) of the driven body such as a die (japanese: ダイ) during press working at each time. For example, a slight difference in conditions such as a deviation of the workpiece may cause a large change in the pressure applied to the driven body. Therefore, the following technique is proposed: the driven body is driven by a servo motor capable of performing detailed feedback control, and the position and force of the driven body are controlled.
As an example, patent document 1 describes "a servo motor control device including: a force detection unit that detects a force received from the outside by a driven body driven by the servo motor; a position command generation unit that generates a position command for indicating a position of the driven body; a position detection unit that detects a position of the driven body; a force command generation unit that generates a force command indicating a force to which the driven body should be subjected; a position control processing unit that generates a motor operation command based on a position deviation obtained from the position command generated by the position command generating unit and the position detected by the position detecting unit; a force control processing unit that generates a motor operation command based on a force deviation obtained from the force command generated by the force command generating unit and the force detected by the force detecting unit; and a control method selection unit that selectively switches between position control for controlling the operation of the servo motor in accordance with the motor operation command of the position control processing unit and force control for controlling the operation of the servo motor in accordance with the motor operation command of the force control processing unit by comparing the motor operation command generated by the position control processing unit with the motor operation command generated by the force control processing unit, wherein when a force is applied to the driven body from the outside, a control device of the servo motor controls the operation of the servo motor so that the driven body receives a predetermined force, and the control device of the servo motor further includes a command correction unit that corrects the force command generated by the force command generation unit or the position generated by the position command generation unit And a command correction unit that corrects the command and transmits the corrected command to the force control processing unit or the position control processing unit to change the timing at which the control method selection unit switches between the position control and the force control.
Patent document 1: japanese laid-open patent publication No. 2006-130533
Disclosure of Invention
Problems to be solved by the invention
The control device described in patent document 1 controls the force to be a desired value in a state where the force is applied to the driven body from the outside, controls the position to be a desired value in a state where the force is not applied to the driven body from the outside, and does not control the position of the driven body in a state where the force is applied to the driven body from the outside. Specifically, in the technique described in patent document 1, the force of the driven body is driven so as to match the command value, and thus the moving speed of the driven body may become excessively high. In particular, when the speed is controlled to be over-ridden (override) in order to improve the machining efficiency, there is a high risk that the position or force of the driven body may deviate from an appropriate value.
Therefore, a servomotor control device capable of accurately controlling the position of the driven body and the reaction force applied to the driven body is desired.
Means for solving the problems
A servo motor control device according to an aspect of the present disclosure includes: a position command generating unit that generates a position command for specifying a target position to be located at by time a driven body driven by a servo motor; a reaction force command generating unit that generates a reaction force command for specifying a target reaction force to be applied to the driven body by driving the servo motor, for each period of time; a position acquisition unit that acquires an actual position of the driven body; a position reference drive control unit that generates a position reference drive signal for driving the servo motor so that the position acquired by the position acquisition unit approaches the target position; a reaction force acquisition unit that acquires a reaction force actually received by the driven body; a reaction force reference drive control unit that generates a reaction force reference drive signal for driving the servo motor so that the reaction force acquired by the reaction force acquisition unit approaches the target reaction force; and a drive signal selection unit that selects either one of the position reference drive signal and the reaction force reference drive signal, wherein the position command generation unit generates the position command such that the target position is in a relationship of two or more times with respect to time, and the reaction force command generation unit generates the reaction force command such that a relationship between the target reaction force and the target position is substantially linear.
ADVANTAGEOUS EFFECTS OF INVENTION
According to the present disclosure, it is possible to provide a servomotor control device capable of accurately controlling the position of a driven body and a reaction force applied to the driven body.
Drawings
Fig. 1 is a block diagram showing a configuration of a machine tool including a servo motor control device according to an embodiment of the present disclosure.
Fig. 2 is a diagram showing a position command and a reaction force command generated in the servo motor control device of fig. 1.
Fig. 3 is a block diagram showing control of a position command and a reaction force command in the servo motor control device of fig. 1.
Fig. 4 is a diagram showing an alternative of the position command and the reaction force command generated in the servo motor control device of fig. 1.
Fig. 5 is a flowchart showing a control procedure in the servomotor control device of fig. 1.
Description of the reference numerals
1: a servo motor control device; 10: a basic information acquisition unit; 20: a position command making unit; 30: a reaction force command generating unit; 40: a position acquisition unit; 50: a position reference drive control unit; 60: a reaction force acquisition unit; 70: a reaction reference drive control unit; 80: a drive signal selection section; m: a servo motor; w: a driven body.
Detailed Description
Embodiments of the present disclosure are described below with reference to the drawings. Fig. 1 is a block diagram illustrating a configuration of a
The
The servomotor control device 1 includes: a basic
The servo motor control device 1 can be configured by installing an appropriate program in a computer device having a CPU, a memory, and the like. The basic
The basic
The position
As a specific example, as shown in fig. 2, the position
The values of the second order differential value and the first order differential value of the target position in the position command have appropriate values depending on the device configuration of the
The reaction force
Therefore, like the position
As a specific example, as shown in fig. 2, the reaction force
Preferably, the first reaction force change time R1, the second reaction force change time R2, and the third reaction force change time R3 in the reaction force command are substantially equal to the first position change time Q1, the second position change time Q2, and the third position change time Q3 in the position command, and particularly preferably, the second reaction force change time R2 in the reaction force command is substantially equal to the second position change time Q2 in the position command. This enables the relationship between the target reaction force and the target position to be substantially linear.
The lower limit of the ratio of the second reaction force change time R2 to the second position change time Q2 is preferably 0.95, and more preferably 0.98. On the other hand, the upper limit of the ratio of the second reaction force change time R2 to the second position change time Q2 is preferably 1.05, and more preferably 1.02. By setting the ratio of the second reaction force change time R2 to the second position change time Q2 to be equal to or greater than the lower limit and equal to or less than the upper limit, the relationship between the position command and the pressure command can be made substantially linear, and the deviation of the actual position and reaction force from the target position and target reaction force can be suppressed.
As shown in fig. 4, the reaction force
In order to generate such a reaction force command, the values of the first reaction force change time R1 and the third reaction force change time R3, or the ratios of the first reaction force change time R1 and the third reaction force change time R3 to the first position change time Q1 and the third position change time Q3 may be described in the machining program. In this case, the command of the machining program may include a code number indicating a command to which the present embodiment is applied, an arrival position, a speed in the second reaction force change time R2, and lengths of the arrival reaction force and the first reaction force change time R1.
The reaction force
The response of the feedback control of the reaction force of the driven body W is slower than the response of the feedback control of the position of the driven body W. Therefore, by making the target reaction force in the reaction force command reach the reaction force before the target position in the position command, and compensating for the delay in response of the reaction force control, the actual position of the driven body W and the actual reaction force can be made more linear, and therefore, the deviation of the actual position and the reaction force from the target position and the target reaction force can be further reduced.
The
The position reference
The reaction
The reaction force reference
The drive
Fig. 5 shows a control procedure of one step of the
In the basic information acquisition step of step S11, the basic
In the position command generating step of step S12, the position
In the reaction force command generating step of step S13, the reaction force
In the position acquisition step of step S14, the current position of the driven object W is confirmed by the
In the position reference drive signal generating step of step S15, the position reference
In the reaction force detection step of step S16, the current reaction force acting on the driven body W is confirmed by the reaction
In the reaction force reference drive signal generating step of step S17, the reaction force reference
In the drive signal comparison step of step S18, it is checked whether or not the value of the position reference drive signal generated in the position reference drive signal generation step is equal to or less than the value of the reaction force reference drive signal generated in the reaction force reference drive signal generation step. In this drive signal comparison step, when the position reference drive signal is equal to or less than the reaction force reference drive signal, the process proceeds to a position reference drive signal output step of step S19, and when the position reference drive signal exceeds the reaction force reference drive signal, the process proceeds to a reaction force reference drive signal output step of step S20.
In the position reference drive signal output step of step S19, the position reference drive signal generated in the position reference drive signal generation step is output. On the other hand, in the reaction force reference drive signal output step of step S20, the reaction force reference drive signal generated in the reaction force reference drive signal generation step is output. That is, in steps S18 to S20, the smaller one of the position reference drive signal and the reaction force reference drive signal is selected and output to the servo driver S.
In the end checking step of step S21, it is checked whether the step to which the control is applied has ended, that is, whether the end of the time of the position command and the reaction force command has been reached. If the process to which this control is applied is not completed, that is, if there are remaining target positions that are not used in the position reference drive signal generation process and target reaction forces that are not used in the reaction force reference drive signal generation process, the process returns to step S14 and the subsequent processes are repeated.
As described above, the servo motor control device 1 generates the position command having a relationship of two or more times with respect to time in the position
Although the embodiments of the servomotor control device according to the present disclosure have been described above, the servomotor control device according to the present disclosure is not limited to the above-described embodiments. The effects described in the present embodiment are merely the best effects obtained by the present disclosure, and the effects obtained by the servomotor control device according to the present disclosure are not limited to the effects described in the present embodiment.
In the servo motor control device according to the present disclosure, the position command and the reaction force command may be calculated as any function such as an exponential function or a trigonometric function, may be calculated by connecting a plurality of linear functions, or may be calculated with reference to any reference waveform.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:一种太阳能充电的野营帐篷