CN115576266A - Control method for rapidly switching measurement feedback links of numerical control machine tool - Google Patents

Control method for rapidly switching measurement feedback links of numerical control machine tool Download PDF

Info

Publication number
CN115576266A
CN115576266A CN202211138699.9A CN202211138699A CN115576266A CN 115576266 A CN115576266 A CN 115576266A CN 202211138699 A CN202211138699 A CN 202211138699A CN 115576266 A CN115576266 A CN 115576266A
Authority
CN
China
Prior art keywords
numerical control
closed loop
measurement feedback
machine tool
control machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211138699.9A
Other languages
Chinese (zh)
Inventor
薛乃凤
崔中
刘松
贾存齐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202211138699.9A priority Critical patent/CN115576266A/en
Publication of CN115576266A publication Critical patent/CN115576266A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/401Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by control arrangements for measuring, e.g. calibration and initialisation, measuring workpiece for machining purposes
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/32Operator till task planning
    • G05B2219/32075Predict workpiece measurements from measurements of previous workpieces

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

The invention discloses a control method for rapidly switching measurement feedback links of a numerical control machine, which comprises the following steps: detecting selection operation aiming at a numerical control machine tool measurement feedback type based on a human-computer interaction interface, wherein the numerical control machine tool measurement feedback type comprises full closed loop feedback or semi-closed loop feedback; and reading a user variable which is pre-stored and is matched with the measurement feedback type of the numerical control machine tool in response to the selection operation so as to enable the numerical control machine tool to enter a full closed loop feedback control process or a semi closed loop feedback control process. The technical scheme provided by the invention solves the problems of parameter configuration, large workload, easy mistake making of manual configuration and difficult discovery of the numerical control system measurement feedback link, realizes that installation and debugging personnel can quickly and accurately set and switch the numerical control system measurement feedback link by simply selecting the corresponding soft key on the numerical control system human-computer interaction interface, saves a large amount of time cost, does not need to manually input data, only needs to select the key, and is accurate and efficient.

Description

Control method for rapidly switching measurement feedback links of numerical control machine tool
Technical Field
The invention relates to the field of numerical control machine tool control, in particular to a control method for rapidly switching measurement feedback links of a numerical control machine tool.
Background
The coordinate positioning system of the numerical control machine tool is a position follow-up control system, and can adopt a semi-closed loop measurement feedback link or a full-closed loop measurement feedback link. A semi-closed loop measurement feedback link, which detects the rotation angle of the servo motor and feeds the rotation angle back to the controller, calculates the difference value between the target angle and the actual angle of the servo motor, and judges whether the positioning is finished; and a full closed loop measurement feedback link detects the movement amount of the moving part at the tail end of the transmission chain, feeds the movement amount back to the controller, calculates the difference value between the target position and the actual position of the moving part, and judges whether the positioning is finished or not. The semi-closed loop measurement feedback link can ensure that the rotation angle deviation of the servo motor is within the allowable range of a control system, but the position of a moving part at the tail end of a transmission chain is not controlled, so that the positioning precision of the numerical control machine adopting the semi-closed loop measurement feedback link is generally lower than that of the numerical control machine adopting the full-closed loop measurement feedback link.
In order to meet the higher and higher positioning accuracy requirements of machine tool users, machine tool manufacturers basically produce numerically controlled machine tools with full closed-loop measurement feedback. In the process of assembling and debugging the numerical control machine tool, an installation and debugging worker needs to install and debug the semi-closed loop measurement feedback link normally and then install and debug the full-closed loop measurement feedback link. In the maintenance and repair process of the numerical control machine tool, a semi-closed loop measurement feedback link is sometimes required. The mutual switching of the semi-closed loop measurement feedback link and the full-closed loop measurement feedback link of the numerical control system is an indispensable work task.
Disclosure of Invention
The invention mainly relates to a control method for quickly switching a measurement feedback link of a numerical control machine tool, and in the production and manufacturing process of the current numerical control machine tool, installation and debugging personnel need to consult design files and process files and a large amount of technical data of components including a numerical control device, a servo driver, a servo motor, an encoder, a grating ruler, a reducer, a ball screw, a rack and pinion pair and the like, and can complete parameter configuration of the measurement feedback link of the numerical control system according to an operation instruction book, so that the work task load is large, and the manual configuration is easy to make mistakes and is difficult to find. Particularly, in the maintenance process of the numerical control machine tool, maintenance personnel need to maintain and replace failed components on the transmission chain and reconfigure parameters of a measurement feedback link of the numerical control system. The method has the advantages that the number of components on the transmission chain is large, each component corresponds to different system parameters, high requirements are placed on knowledge and skills, and maintenance personnel who are trained only cannot perform parameter reconfiguration work of a measurement feedback link of the numerical control system.
According to a first aspect of the invention, a control method for fast switching measurement feedback links of a numerical control machine tool is provided, which comprises the following steps:
detecting selection operation aiming at the measurement feedback type of the numerical control machine tool based on a human-computer interaction interface, wherein the measurement feedback type of the numerical control machine tool comprises full closed loop feedback or semi-closed loop feedback;
and reading a pre-stored user variable matched with the measurement feedback type of the numerical control machine tool in response to the selection operation so as to enable the numerical control machine tool to enter the control process of the full closed-loop feedback or the control process of the semi-closed-loop feedback.
Optionally, before the operation of selecting the measurement feedback type for the numerically-controlled machine tool is detected based on the human-computer interaction interface, the method further includes:
defining a plurality of user variables and assigning values to at least part of the user variables;
wherein the defined user variable is stored in a power-off hold-type storage area.
Optionally, the assigning at least part of the user variables includes:
setting a linear coordinate measuring unit and an angle coordinate measuring unit of the coordinate positioning system of the numerical control machine tool;
the command pulse equivalent is assigned to 1 linear coordinate measurement unit;
the feedback pulse equivalent is assigned as the resolution of the full closed-loop measurement feedback link measuring device;
the motor model code is determined according to a motor manual;
the position pulse number and the speed pulse number of the motor encoder are determined by the parameters of the motor encoder;
the rotation direction of the motor is 0 or 1, the motor rotates clockwise, and the rotation direction is 0, which indicates that the motor rotates in the positive direction; the motor rotates anticlockwise, the rotating direction is 1, and negative rotation is represented;
the value of the measurement increment direction is 0, and the positive direction of the measurement increment direction is kept consistent with the positive direction of the coordinate axis;
and the shaft stroke parameter is obtained by actually measuring data after the numerical control machine tool is installed.
Optionally, after defining a plurality of user variables and assigning values to at least some of the user variables, the method further includes:
calculating the feeding amount of the tail end moving part of the transmission chain of the servo motor in each rotation as the feeding amount in each rotation according to the transmission structure parameters of the numerical control machine;
calculating the number of command pulses required to be sent by a numerical control device when the servo motor rotates for one circle based on the feeding amount and the command pulse equivalent;
and calculating the pulse number fed back by the full-closed-loop measuring component per revolution of the servo motor as the feedback pulse number based on the feed per revolution and the equivalent weight of the feedback pulse.
Optionally, after the defining a plurality of user variables and assigning values to at least part of the user variables, the method further includes:
and calculating the electronic gear ratio of the semi-closed loop measurement feedback link.
Optionally, the calculating the electronic gear ratio of the semi-closed loop measurement feedback link includes:
calculating the maximum common divisor of the semi-closed loop of the instruction pulse number and the position pulse number by a rolling phase division method;
dividing the number of the instruction pulses by the maximum common divisor of the semi-closed loop to obtain a first result parameter;
dividing the position pulse number by the maximum common divisor of the semi-closed loop to obtain a second result parameter;
and calculating to obtain the electronic gear ratio of the semi-closed loop measurement feedback link based on the first result parameter and the second result parameter.
Optionally, after defining a plurality of user variables and assigning values to at least some of the user variables, the method further includes:
and calculating the electronic gear ratio of the full closed loop measurement feedback link.
Optionally, the calculating the full closed-loop measurement feedback link electronic gear ratio comprises:
calculating the full closed-loop maximum common divisor of the number of the instruction pulses and the number of the feedback pulses by a rolling phase division method;
dividing the number of the instruction pulses by the full closed-loop maximum common divisor to obtain a third result parameter;
dividing the feedback pulse number by the maximum common divisor of the full closed loop to obtain a fourth result parameter;
and calculating to obtain the electronic gear ratio of the full closed loop measurement feedback link based on the third result parameter and the fourth result parameter.
According to a second aspect of the invention, there is provided a computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the method according to any one of the first aspects.
According to a third aspect of the present invention, there is provided a computer-readable storage medium, characterized in that the storage medium stores a computer program according to the second aspect, which, when executed by a processor, implements the method according to any of the first aspects.
According to a fourth aspect of the present invention, there is provided a control apparatus characterized by comprising: at least one processor and a memory; the memory stores a computer program as described in the second aspect as execution instructions; the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the method of any one of the first aspects.
The invention provides a control method for rapidly switching measurement feedback links of a numerical control machine, electronic equipment, a computer short storage medium and a computer program product. Meanwhile, the requirements of maintenance and repair on knowledge and skills of workers are reduced, and the parameter reconfiguration work of the numerical control system measurement feedback link can be carried out only by simply trained maintenance and repair personnel, so that the labor cost is saved.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings. The drawings described below are merely exemplary embodiments of the present disclosure, and other drawings may be derived by those skilled in the art without inventive effort.
FIG. 1: a schematic flow diagram of embodiment 1 of the invention;
FIG. 2 is a schematic diagram: the flow of embodiment 2 of the invention is schematically illustrated.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, and "a" and "an" generally include at least two, but do not exclude at least one, unless the context clearly dictates otherwise.
It should be understood that the term "and/or" as used herein is merely a relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B, may represent: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a good or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such good or system. Without further limitation, an element defined by the phrases "comprising one of \8230;" does not exclude the presence of additional like elements in an article or system comprising the element.
Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the drawings, a detailed description of related known functions or configurations is omitted to avoid unnecessarily obscuring the technical points of the present invention. In addition, the same reference numerals refer to the same circuits, modules or units throughout the description, and repeated descriptions of the same circuits, modules or units are omitted for brevity.
Further, it should be understood that one or more of the following methods or aspects thereof may be performed by at least one control system, control unit, or controller. The term "control unit", "controller", "control module" or "master control module" may refer to a hardware device including a memory and a processor, and the term "air conditioner" may refer to a device similar to a refrigeration device. The memory or computer-readable storage medium is configured to store program instructions, while the processor is specifically configured to execute the program instructions to perform one or more processes that will be described further below. Moreover, it is to be appreciated that the following methods may be performed by including a processor in conjunction with one or more other components, as will be appreciated by one of ordinary skill in the art.
To further illustrate the technical solution of the present invention, the following specific examples are provided with reference to fig. 1 and fig. 2.
Example 1
According to one or more embodiments of the present invention, an embodiment of the present invention provides a control method for fast switching a measurement feedback link of a numerically controlled machine tool, as shown in fig. 1, the method mainly includes the following two steps S1 and S2:
s1, detecting selection operation aiming at a measurement feedback type of a numerical control machine tool based on a human-computer interaction interface, wherein the measurement feedback type of the numerical control machine tool comprises full closed loop feedback or semi closed loop feedback.
And S2, reading a user variable which is stored in advance and matched with the measurement feedback type of the numerical control machine tool in response to the selection operation, so that the numerical control machine tool enters the control process of the full closed-loop feedback or the control process of the semi-closed-loop feedback.
Wherein the content of the first and second substances,
step S1, detecting selection operation aiming at the measurement feedback type of the numerical control machine tool based on a human-computer interaction interface, wherein the measurement feedback type of the numerical control machine tool comprises full closed loop feedback or semi closed loop feedback.
The human-computer interaction interface of the numerical control machine tool is preferably a display screen and two soft keys on the numerical control machine tool, wherein one soft key is used as a key for setting a semi-closed loop measurement feedback link, and the other soft key is used as a key for setting a full-closed loop measurement feedback link. The two keys are used for adjusting the measurement feedback types of the numerical control machine tool, and the measurement feedback types comprise full closed loop feedback and semi closed loop feedback.
Before a user sets a measurement feedback type of the numerical control machine tool through a soft key, various parameters related to a measurement feedback function of the numerical control machine tool need to be initialized, and the method specifically comprises the following steps: defining a plurality of user variables and assigning values to at least part of the user variables; wherein the defined user variable is stored to the power-off hold-type storage area. The power-off holding type storage area value is a read only memory ROM type memory, and original data can still be stored when power is off. And not RAM-type random access memory, data is not saved when power is lost.
The above assigning at least part of the user variables is:
setting a linear coordinate measuring unit and an angle coordinate measuring unit of a coordinate positioning system of the numerical control machine tool; respectively, the linear coordinate unit is equal to 1 mu m/Pulse, and the angular coordinate unit is equal to 0.001 DEG/Pulse.
The command Pulse equivalent is assigned to 1 linear coordinate measurement unit of 1 mu m/Pulse.
The feedback pulse equivalent is assigned as the resolution of the full closed-loop measurement feedback link measuring device, namely the highest precision which can be achieved by a measuring device in the full closed-loop measurement feedback.
The motor model code is determined according to a motor manual, that is, the motor model is determined by inquiring the motor manual.
The position pulse number and the speed pulse number of the motor encoder are determined by parameters of the motor encoder, namely, the position pulse number and the speed pulse number of the motor encoder are recorded in the parameters of the motor encoder.
The rotation direction of the motor is 0 or 1, the motor rotates clockwise, and the rotation direction is 0, which indicates that the motor rotates in the positive direction; the motor rotates anticlockwise, the rotating direction is 1, and negative rotation is represented.
The value of the measurement increment direction is 0, and the measurement increment direction is kept consistent with the positive direction of the coordinate axis, namely, the increment direction along the positive direction of the coordinate axis is 0.
The shaft stroke parameter is obtained by actually measuring data after the numerical control machine tool is installed, namely, the shaft stroke parameter can be obtained by measuring after the numerical control machine tool is installed, and the measured value is used as an initial value of the shaft stroke parameter.
After the user variables are initialized and assigned, the following operations need to be performed:
firstly, according to the transmission structure parameters of the numerical control machine tool, the feeding amount of the transmission chain tail end moving part of each circle of rotation of the servo motor is calculated to be used as the feeding amount of each rotation.
Secondly, calculating the number of command pulses required to be sent by the numerical control device when the servo motor rotates one circle based on the feeding amount and the command pulse equivalent.
Thirdly, based on the feeding amount per revolution and the equivalent of the feedback pulse, the pulse number fed back by the full-closed-loop measuring component per revolution of the servo motor is calculated and used as the feedback pulse number.
Through the three steps of operation, the electronic gear ratio of the semi-closed loop measurement feedback link and the electronic gear ratio of the full-closed loop measurement feedback link can be calculated conveniently.
Firstly, the process of calculating the electronic gear ratio of the semi-closed loop measurement feedback link is as follows:
calculating the maximum common divisor of the semi-closed loop of the instruction pulse number and the position pulse number by a rolling phase division method;
dividing the number of the instruction pulses by the maximum common divisor of the semi-closed loop to obtain a first result parameter;
dividing the position pulse number by the maximum common divisor of the semi-closed loop to obtain a second result parameter;
and calculating to obtain the electronic gear ratio of the semi-closed loop measurement feedback link based on the first result parameter and the second result parameter.
Moreover, the process of calculating the electronic gear ratio of the full closed loop measurement feedback link is as follows:
calculating the full closed-loop maximum common divisor of the number of the instruction pulses and the number of the feedback pulses by a rolling phase division method;
dividing the number of the instruction pulses by the maximum common divisor of the full closed loop to obtain a third result parameter;
dividing the feedback pulse number by the maximum common divisor of the full closed loop to obtain a fourth result parameter;
and calculating to obtain the electronic gear ratio of the full closed-loop measurement feedback link based on the third result parameter and the fourth result parameter.
And S2, reading a user variable which is pre-stored and matched with the measurement feedback type of the numerical control machine tool in response to the selection operation, so that the numerical control machine tool enters a full closed loop feedback control process or a semi closed loop feedback control process.
After the user variable is initialized and assigned with the value in the step S1, if the numerical control system does not allow the parameter modification, the soft key for switching the measurement feedback type is invalid. If the numerical control system allows parameter modification, a semi-closed loop measurement feedback link setting button is pressed, namely a semi-closed loop measurement feedback link setting signal is triggered, and a full-closed loop measurement feedback link setting button is pressed, a full-closed loop measurement feedback link setting signal is triggered. By selecting the corresponding soft key, the measurement feedback link of the numerical control system can be set and switched quickly and accurately.
Example 2
According to one or more embodiments of the invention, the embodiment of the invention provides a computer control program for rapidly switching a measurement feedback link of a numerical control machine tool, wherein the control program defines various user variables, and all the user variables are defined in a power-off holding type storage area. As shown in fig. 2, the present procedure includes the following 9 steps, specifically:
1. the linear coordinate measuring unit of the coordinate positioning system of the numerical control machine tool is set to be 1 mu m/Pulse, the angle coordinate measuring unit is set to be 0.001 degree/Pulse, the instruction Pulse equivalent of the numerical control device is stored in a user variable Commandlnterment, and the feedback Pulse equivalent of the full closed-loop measuring component is stored in a user variable Scale lnterment.
2. The model code of the servo motor is stored in a user variable MotorID, the number of position pulses of a built-in encoder of the servo motor is stored in a user variable encoderPositionNum, and the number of speed pulses of the built-in encoder of the servo motor is stored in a user variable encoderVelocityNum.
3. According to the transmission structure parameters (transmission ratio, ball screw pitch, gear pitch circle perimeter and the like) of the numerical control machine tool, the feeding amount of the end moving part of the transmission chain of each rotation of the servo motor is calculated and stored in a user variable feed PerRev. And calculating the number of command pulses required to be sent by the numerical control device per rotation of the servo motor by taking the FeedPerRev as a dividend and taking the Commandlnterment as a divisor, and storing the number of command pulses in a user variable CommandPulseNumber. And calculating the pulse number fed back by the full closed-loop measuring component per revolution of the servo motor by taking the FeedPerRev as a dividend and the Scale accuracy as a divisor, and storing the pulse number in a user variable Scale temporal number.
4. And calculating the electronic gear ratio of the semi-closed loop measurement feedback link. The greatest common divisor of CommandPulsEnumber and EncoderPositionNum is calculated by a rolling division method and stored in a user variable DivisorOfSemi. The numerator of the electronic gear ratio of the semi-closed loop measurement feedback link is calculated by taking CommandPulsUnmber as dividend and DivisorrOfSemi as divisor, and is stored in a user variable NumeritorOfSemi. Calculating the denominator of the electronic gear ratio of the semi-closed loop measurement feedback link by taking EncoderPositionNum as a dividend and DivisorrOfSemi as a divisor, and storing the denominator in a user variable DenominatorOfSemi.
5. And calculating the electronic gear ratio of the full closed loop measurement feedback link. The greatest common divisor of CommandPulsEnumber and ScalepositionNum is calculated by a rolling division method and stored in a user variable DivisorOffull. The numerator of the electronic gear ratio of the full closed loop measurement feedback link is calculated by taking CommandPulsUnmber as dividend and DivisorrOffull as divisor, and is stored in a user variable NumeritorOffull. The denominator of the electronic gear ratio of the full closed loop measurement feedback link is calculated by taking ScalepositionNum as a dividend and DivisorrOffull as a divisor, and is stored in a user variable DenominatorOffull.
6. The servo motor rotates forward to drive the shaft to move forward, the MotorDirection of the user variable is assigned to be 0, and otherwise, the MotorDirection of the user variable is assigned to be 1; the reading of the axial forward movement full closed loop measurement component is increased, the user variable Scale Direction is assigned to be 0, and otherwise, the assignment is 1.
7. The shaft travel data of the semi-closed loop measurement feedback link is stored in user variables NegativeLimitOfSemi, positiveLimitOfSemi and ZeroOfSemi; the shaft travel data for the full closed loop measurement feedback link is stored in the user variables NegativeLimitOfFull, positivelimitofffull, and ZeroOfFull.
8. In a control program, when a semi-closed loop measurement feedback link setting signal is 1, reading related user variables of the semi-closed loop measurement feedback link and writing the related user variables into numerical control system parameters, and specifically comprising the following steps: enabling parameters of the full closed loop measurement component are set to be 0, the electronic gear ratio reads data of NumeritorOfSemi and DenominatoOfSemi, the position pulse number reads data of EncoderPositionNum, and the shaft stroke reads data of NegativeLimitOfSemi, positiveLimitOfSemi and ZeroOfSemi; when the signal set in the full closed loop measurement feedback link is 1, reading the relevant user variable of the full closed loop measurement feedback link and writing the user variable into the parameter of the numerical control system, and specifically comprising: the enabling parameter of the full closed loop measuring component is set to be 1, the electronic gear ratio reads data of NumeritorOffull and DenominatoOffull, the position pulse number reads data of Scaleposition Num, and the shaft stroke reads data of NegativeLimitOffull, positiveLimitOffull and ZeroOffull.
9. Selecting two soft keys reserved on a human-computer interaction interface of a numerical control system, and respectively using the soft keys as a semi-closed loop measurement feedback link setting key and a full-closed loop measurement feedback link setting key, wherein when the numerical control system does not allow parameters to be modified, the keys are invalid; when the numerical control system allows the parameters to be modified, the semi-closed loop measurement feedback link setting key is pressed, namely, the semi-closed loop measurement feedback link setting signal is triggered, and the full-closed loop measurement feedback link setting key is pressed, the full-closed loop measurement feedback link setting signal is triggered. By selecting the corresponding soft key, the measurement feedback link of the numerical control system can be set and switched quickly and accurately.
Example 3
According to one or more embodiments of the present invention, a computer-readable storage medium is provided, on which a computer control program for fast switching measurement feedback links of a numerically controlled machine tool as described in embodiment 2 is stored. When the program instructions are executed by one or more processors, the one or more processors are used to implement the control method according to any one of embodiment 1.
Example 4
According to one or more embodiments of the present invention, the embodiment of the present invention provides a control device for fast switching measurement feedback links of a numerically controlled machine tool, the control device comprising at least one processor and a memory, the memory storing the computer program of embodiment 2 as an execution instruction; the at least one processor executes computer-executable instructions stored in the memory of embodiment 3 to cause the at least one processor to implement the method or function of embodiment 1.
In conclusion, it is readily understood by those skilled in the art that the advantageous modes described above can be freely combined and superimposed without conflict. The above description is only an example of the present invention, and is not intended to limit the present invention, and it is obvious to those skilled in the art that various modifications and variations can be made in the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (11)

1. A control method for fast switching measurement feedback links of a numerical control machine tool is characterized by comprising the following steps:
detecting selection operation aiming at a numerical control machine tool measurement feedback type based on a human-computer interaction interface, wherein the numerical control machine tool measurement feedback type comprises full closed loop feedback or semi-closed loop feedback;
and responding to the selection operation to read a pre-stored user variable matched with the measurement feedback type of the numerical control machine tool so as to enable the numerical control machine tool to enter the control process of the full closed-loop feedback or the control process of the semi-closed-loop feedback.
2. The method according to claim 1, wherein before the operation of selecting the type of measurement feedback for the numerically controlled machine tool based on the human-computer interaction interface detection, the method further comprises:
defining a plurality of user variables and assigning values to at least part of the user variables;
wherein the defined user variable is stored in a power-off hold-type storage area.
3. The method of claim 2, wherein assigning at least some of the user variables comprises:
setting a linear coordinate measuring unit and an angle coordinate measuring unit of the coordinate positioning system of the numerical control machine tool;
the command pulse equivalent is assigned to 1 linear coordinate measurement unit;
the feedback pulse equivalent value is assigned to be the resolution of the full closed-loop measurement feedback link measuring device;
the motor model code is determined according to a motor manual;
the position pulse number and the speed pulse number of the motor encoder are determined by the parameters of the motor encoder;
the rotation direction of the motor is 0 or 1, the motor rotates clockwise, and the rotation direction is 0, which indicates positive rotation; the motor rotates anticlockwise, the rotating direction is 1, and negative rotation is represented;
the value of the measurement increment direction is 0, and the measurement increment direction is kept consistent with the positive direction of a coordinate axis;
and the shaft stroke parameter is obtained by actually measuring data after the numerical control machine tool is installed.
4. The method of claim 3, wherein after defining a plurality of user variables and assigning values to at least some of the user variables, the method further comprises:
calculating the feeding amount of the tail end moving part of the transmission chain of the servo motor in each rotation as the feeding amount in each rotation according to the transmission structure parameters of the numerical control machine;
calculating the number of command pulses required to be sent by a numerical control device when the servo motor rotates for one circle based on the feeding amount and the command pulse equivalent;
and calculating the pulse number fed back by the full-closed-loop measuring component of each revolution of the servo motor as the feedback pulse number based on the feeding amount per revolution and the feedback pulse equivalent.
5. The method of claim 4, wherein after defining a plurality of user variables and assigning values to at least some of the user variables, the method further comprises:
and calculating the electronic gear ratio of the semi-closed loop measurement feedback link.
6. The method of claim 5, wherein said calculating a semi-closed loop measurement feedback link electronic gear ratio comprises:
calculating the maximum common divisor of the semi-closed loop of the number of the instruction pulses and the number of the position pulses by a rolling phase division method;
dividing the number of the instruction pulses by the maximum common divisor of the semi-closed loop to obtain a first result parameter;
dividing the position pulse number by the maximum common divisor of the semi-closed loop to obtain a second result parameter;
and calculating to obtain the electronic gear ratio of the semi-closed loop measurement feedback link based on the first result parameter and the second result parameter.
7. The method of claim 6, wherein after defining a plurality of user variables and assigning values to at least some of the user variables, the method further comprises:
and calculating the electronic gear ratio of the full closed loop measurement feedback link.
8. The method of claim 7, wherein calculating the full closed-loop measurement feedback link electronic gear ratio comprises:
calculating the full closed loop maximum common divisor of the command pulse number and the feedback pulse number by a rolling phase division method;
dividing the number of the instruction pulses by the full closed-loop maximum common divisor to obtain a third result parameter;
dividing the feedback pulse number by the full closed loop maximum common divisor to obtain a fourth result parameter;
and calculating to obtain the electronic gear ratio of the full closed loop measurement feedback link based on the third result parameter and the fourth result parameter.
9. A computer program product comprising a computer program, characterized in that the computer program realizes the method according to any of claims 1-8 when executed by a processor.
10. A computer-readable storage medium, characterized in that the storage medium stores a computer program according to claim 9, which, when executed by a processor, implements the method according to any one of claims 1-8.
11. A control device, characterized by comprising: at least one processor and memory;
the memory stores the computer program of claim 9 as execution instructions;
execution of the computer-executable instructions stored by the memory by the at least one processor causes the at least one processor to perform the method of any one of claims 1-8.
CN202211138699.9A 2022-09-19 2022-09-19 Control method for rapidly switching measurement feedback links of numerical control machine tool Pending CN115576266A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211138699.9A CN115576266A (en) 2022-09-19 2022-09-19 Control method for rapidly switching measurement feedback links of numerical control machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211138699.9A CN115576266A (en) 2022-09-19 2022-09-19 Control method for rapidly switching measurement feedback links of numerical control machine tool

Publications (1)

Publication Number Publication Date
CN115576266A true CN115576266A (en) 2023-01-06

Family

ID=84580527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211138699.9A Pending CN115576266A (en) 2022-09-19 2022-09-19 Control method for rapidly switching measurement feedback links of numerical control machine tool

Country Status (1)

Country Link
CN (1) CN115576266A (en)

Similar Documents

Publication Publication Date Title
US5414632A (en) System and method for predicting failure in machine tool
CN102375432B (en) Numerical Control Device For Multi-axis Processing Machine Used For Processing Inclined Plane
CN110405532B (en) Tool selection device and machine learning device
JP5766756B2 (en) Data acquisition device for acquiring drive shaft stop factor and related information
EP0397887B1 (en) Method of correcting machining program
JP2015221491A (en) Route learning control
JP2009122852A (en) Numerical controller for storing operating history during path table operation
JP2762788B2 (en) Moving body operation display device and display method thereof
CN116820034B (en) Shaft mode switching method and device and related equipment
CN115576266A (en) Control method for rapidly switching measurement feedback links of numerical control machine tool
US20200225642A1 (en) Method For Controlling A Machine Tool And Machine Tool
CN112147949A (en) Parameter management device and management system thereof
JP6663475B2 (en) Diagnosis and maintenance system for NC machine tools
CN111948981A (en) Numerical control machining plunge milling mode control system for cast blank workpiece and control method thereof
JP2017157194A (en) Numerical controller for machine tool
JPH0822313A (en) Numerical controller
US20190079489A1 (en) Machining simulation apparatus
WO2022107818A1 (en) Control device
WO2023067699A1 (en) Machined surface estimation device and computer-readable storage medium
JP2619520B2 (en) Numerical controller for transfer machine
JP7175340B2 (en) Machine tools, information processing devices and information processing programs
JP7256703B2 (en) Controllers, control systems, and machine learning devices
CN113703393B (en) Tool changing point setting method and device for numerical control machine tool
JPS60138611A (en) Controller of arm robot
US20240004366A1 (en) Numerical control device having machine tool setup function and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination