Numerical control system for machine tools
By introducing acceleration and deceleration time measurement and comparison functions into the numerical control system of the machine tool, the problem that the existing technology cannot check the error parameters of the spindle motor is solved, and effective detection and adjustment of the spindle parameters is realized to ensure normal rotation of the spindle.
Patent Information
- Application Number
- CN202010322649.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-04-26
- Filing Date
- 2020-04-22
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2040-04-22
AI Technical Summary
The prior art cannot effectively check and adjust the position relationship parameters between the rotation reference position of the synchronous spindle motor and the magnetic pole position, resulting in the spindle abnormal rotation when the parameter is incorrect.
The parameter checking function is introduced in the numerical control system of the machine tool. By comparing the acceleration and deceleration time with the preset value, the appropriateness of the spindle drive control parameters is determined, and the parameter check is performed through the acceleration and deceleration time measurement unit and the acceleration and deceleration time prescribed value storage unit , display and warn of abnormal situations.
It can check and adjust the individual parameters of the spindle motor without omissions to ensure the normal rotation of the spindle, and improve the reliability and efficiency of parameter inspection.
Smart Images

Figure CN111857050B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a numerical control system of a machine tool. Background Art
[0002] As is well known, in the field of mechanical work, CNC (Computerized Numerical Control) technology is applied to numerically control the movement amount, movement speed, etc. by a computer, thereby highly automating the repetition of the same action, complex actions, etc. In addition, the data generated by CAD and CAM are acquired by CNC, and various data such as options, parameters, NC programs, macro programs, macro variables, workpiece origin offsets, tool offsets, tool shape data, and tool management data are input for control, thereby automating NC machine tools such as NC lathes and machining centers from design to manufacturing.
[0003] On the other hand, if the correct parameters are not set according to the specifications of the mounted spindle or spindle motor, the spindle of the machine tool may not operate normally.
[0004] Therefore, a parameter group (parameter list) of each specification recorded in advance is compared with the current parameters to check for parameter errors.
[0005] In addition, Patent Document 1 discloses the following: "A diagnostic method for a machine tool, characterized in that it includes the following steps: an initial acquisition step, in which a plurality of parameters of the machine tool are measured and initial measurement data are acquired while the machine tool is operated in a prescribed operation mode; a generation step, in which the initial measurement data are used as training data to generate a normal area in a mapping space of a one-class support vector machine method; a re-acquisition step, in which after the machine tool is operated, the plurality of parameters are measured and re-measurement data are acquired while the machine tool is operated again in the prescribed operation mode; and a diagnosis step, in which the re-measurement data are used as test data to diagnose the machine tool based on whether the test data is included in the normal area in the mapping space of the one-class support vector machine method."
[0006] Prior art literature
[0007] Patent Literature
[0008] Patent Document 1: Japanese Patent Application Publication No. 2015-203646 Summary of the invention
[0009] Problem that the invention aims to solve
[0010] Here, there are situations where parameters must be adjusted for each individual unit based on the inherent values of the motor and the inherent values of the spindle, but in this case, the above-mentioned previous parameter checking function cannot even check the parameters that need to be adjusted for each individual spindle or motor.
[0011] More specifically, for example, the parameter representing the positional relationship between the rotational reference position and the magnetic pole position of the synchronous spindle motor is a value inherent to each motor. When the motor is replaced, the parameter needs to be changed. However, since the parameter cannot be checked by the above-mentioned parameter checking function, the result is that when the parameter is wrong, the spindle rotates abnormally.
[0012] Solutions for solving problems
[0013] One mode of the numerical control system of a machine tool disclosed in the present invention is a numerical control system of a machine tool, which has a spindle, a tool is installed on the spindle, and processing is performed by rotating and driving the spindle. In the numerical control system of the machine tool, there is a parameter checking function unit, and the parameter checking function unit is used to check the drive control parameters of the spindle. The parameter checking function unit includes: an acceleration / deceleration time measuring unit, which measures the acceleration / deceleration time from the time the spindle receives an acceleration instruction and / or a deceleration instruction until the acceleration and / or deceleration are completed; an acceleration / deceleration time specified value storage unit, which stores the specified values of the acceleration / deceleration time predetermined for each specification of the machine tool; and a determination unit, which compares the acceleration / deceleration time measured by the acceleration / deceleration time measuring unit with the specified value stored in the acceleration / deceleration time specified value storage unit to determine whether the parameters of the drive control of the spindle are appropriate.
[0014] Effects of the Invention
[0015] In one aspect of the numerical control system for a machine tool disclosed herein, parameters that need to be adjusted for each of the spindle and the motor can be checked without omission, thereby reliably solving the problem of the spindle rotating abnormally due to parameter errors. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 This is a block diagram showing a numerical control system of a machine tool according to one embodiment of the present disclosure.
[0017] Figure 2A This is a diagram used to explain a parameter checking function of a numerical control system of a machine tool according to an embodiment of the present disclosure.
[0018] Figure 2BThis is a diagram used to explain a parameter checking function of a numerical control system of a machine tool according to an embodiment of the present disclosure.
[0019] Description of Reference Numerals
[0020] 1: CNC (command unit); 2: machine tool; 3: drive unit (spindle, motor); 4: control unit; 5: parameter check function unit; 6: acceleration and deceleration time measurement unit (acceleration and deceleration time measurement unit, spindle speed data recording unit); 7: acceleration and deceleration time specified value storage unit (acceleration and deceleration time specified value storage unit, speed reference data storage unit); 8: judgment unit; 9: display unit; 10: warning unit; 11: parameter group storage unit; A: numerical control system of machine tool. DETAILED DESCRIPTION
[0021] Below, refer to Figure 1 , Figure 2A as well as Figure 2B The numerical control system of a machine tool according to one embodiment is described below. This embodiment is about a numerical control system of a machine tool having a parameter checking function for checking whether the drive control parameters of a spindle (motor) of a machine tool on which a tool is mounted are appropriate.
[0022] Specifically, if Figure 1 As shown, the numerical control system A of the machine tool of this embodiment comprises: a command unit, namely CNC 1; and a control unit 4, which controls the drive unit 3 of each axis (X axis, Y axis, Z axis) of the machine tool 2 based on the command from CNC 1. The main structural elements of the drive unit 3 are, for example, motors such as servo motors and stepping motors, spindles, etc., and the control unit 4 includes a servo amplifier, etc. In addition, CNC 1 and the control unit 4 can be integrally configured.
[0023] On the other hand, the control unit 4 is provided with a parameter checking function unit 5 for checking drive control parameters of a main shaft (motor) of the machine tool.
[0024] The parameter checking function unit 5 of the present embodiment comprises: an acceleration / deceleration time measuring unit (acceleration / deceleration time measuring unit) 6, which measures the acceleration / deceleration time from when the spindle of the machine tool 2 receives an acceleration instruction and / or a deceleration instruction until the acceleration and / or the deceleration is completed, on which the tool is mounted, and machining is performed by rotating and driving the spindle; an acceleration / deceleration time prescribed value storage unit (acceleration / deceleration time prescribed value storage unit) 7, which stores the prescribed values of the acceleration / deceleration time predetermined for each specification of the machine tool 2 (the time in a normal state from when the instruction is received until the acceleration / deceleration is completed); a determination unit 8, which compares the acceleration / deceleration time measured by the acceleration / deceleration time measuring unit 6 with the prescribed value stored in the acceleration / deceleration time prescribed value storage unit 7 to determine whether the spindle rotation is normal; a display unit 9, which displays the meaning of the abnormality when the determination unit 8 determines that the spindle rotation is abnormal; and a warning unit 10, which issues a warning when the determination unit 8 determines that the spindle rotation is abnormal.
[0025] Here, the determination unit 8 of this embodiment compares the acceleration / deceleration time measured by the acceleration / deceleration time measuring unit 6 with the specified value stored in the acceleration / deceleration time specified value storage unit 7 to determine whether the parameter is appropriate (appropriate / inappropriate) and determine whether the spindle rotation is normal / abnormal.
[0026] In addition, in the parameter checking function unit 5 of the present embodiment, the spindle of the machine tool 2 is configured to be decelerated naturally rather than by control, and the determination unit 8 determines whether there are mechanical abnormalities such as failures of the spindle or the motor based on the conditions during natural deceleration, such as the sound, vibration, and natural deceleration time during natural deceleration.
[0027] In addition, the parameter check function unit 5 of this embodiment has a parameter group storage unit 11 that stores a parameter group (parameter list) of each specification recorded in advance as a conventional parameter check function. Moreover, the determination unit 8 is configured to be able to check for parameter errors by comparing the parameter group stored in the parameter group storage unit with the current parameters.
[0028] In the numerical control system A of the machine tool of the present embodiment having the above-mentioned structure, when the parameter checking function unit 5 of the control unit 4 is used to check the parameters, an acceleration instruction is issued, for example Figure 2A As shown in the figure, the spindle (motor) is accelerated to force the spindle (motor) to accelerate to a specified speed (maximum speed, etc.). And / or, a deceleration command is issued, such as Figure 2B As shown, the spindle (motor) is decelerated and controlled to forcibly decelerate from a predetermined high rotation speed to a predetermined low rotation speed.
[0029] While performing such acceleration control and deceleration control, the acceleration / deceleration time measuring unit measures the acceleration / deceleration time from when a command is received until the acceleration or deceleration is completed.
[0030] In addition, the determination unit 8 compares the specified value stored in the acceleration / deceleration time specified value storage unit 7 with the measured acceleration / deceleration time. At this time, an upper limit allowable value (upper threshold) and a lower limit allowable value (lower threshold) based on the specified value are pre-set. If the measured acceleration / deceleration time enters the normal range (allowable range, normal range) between the upper limit allowable value and the lower limit allowable value, the determination unit 8 determines that the parameter is normal and appropriate. If it deviates from the normal range, it is determined that the parameter is inappropriate.
[0031] When the determination unit 8 determines that the parameter is inappropriate, the display unit 9 displays the inappropriateness, and the warning unit 10 issues a warning to make the operator or the like aware of the fact.
[0032] For example, the display unit 9 and the warning unit 10 display the parameters in accordance with the appropriateness / inappropriateness through text such as OK / NG, or display the status in blue, yellow, red, etc. according to the status relative to the allowable range. If it is blue, the parameter is fully within the allowable range and is in an appropriate state. If it is yellow, the parameter may deviate from the allowable range, and a message or the like is used to remind the operator. If it is red, the parameter deviates from the allowable range, an alarm is issued, and the operator stops.
[0033] Therefore, in the numerical control system A of the machine tool of the present embodiment, when there is an error in parameter setting, the acceleration time and the deceleration time are values other than the specified values, so the parameter error can be reliably detected. In addition, by performing acceleration control and deceleration control, the cause can be narrowed down based on the state of the deviation of the measured value such as the deviation during only acceleration, the deviation during only deceleration, the deviation during acceleration or deceleration relative to the normal state. That is, it can be determined which parameter among the drive control parameters is inappropriate.
[0034] Furthermore, at this time, the load information of the motor is acquired and recorded in accordance with the acceleration / deceleration time to confirm whether the maximum load is within the permissible range of the specified value. By adding the maximum load to the judgment factor, it is possible to further narrow the range and determine which parameter of the drive control parameter is inappropriate.
[0035] In addition, the determination unit 8 may compare the parameter group with the current parameters as in the past to check parameters other than the parameters that need to be adjusted for each of the spindle and the motor. By comparing the parameter group with the current parameters in this way, it is possible to narrow the inspection range for errors in parameters that need to be adjusted for each of the spindle and the motor.
[0036] Furthermore, the spindle of the machine tool 2 may be decelerated naturally instead of being decelerated by control, and the presence or absence of mechanical abnormalities such as failure of the spindle or motor may be determined based on the state of natural deceleration such as sound, vibration, and natural deceleration time during natural deceleration. By confirming in advance whether there are mechanical abnormalities of the spindle or motor in this way, it is possible to narrow the inspection range to determine whether the error is caused by the parameter that needs to be adjusted for each spindle or motor, and it is also possible to detect mechanical abnormalities of the spindle or motor.
[0037] In addition, in the numerical control system A of the machine tool of the present embodiment, acceleration control and deceleration control can be performed to narrow the inspection range for whether there is an error in the parameter that needs to be adjusted for each individual spindle and motor. Therefore, for example, it can be embedded in the operation of mass production processing such as when performing processing operations in the factory or in the middle of processing operations, and when performing maintenance inspections on motors, etc., it can confirm and check whether there is an error in the parameter that needs to be adjusted for each individual spindle and motor, and can reliably set the parameter to an appropriate adjustment value.
[0038] Therefore, according to the numerical control system A for a machine tool of the present embodiment, the parameters that need to be adjusted for each of the spindle and the spindle motor can be checked without omission, thereby reliably solving the problem of the spindle rotating abnormally due to parameter errors.
[0039] Furthermore, in the numerical control system A for a machine tool according to the present embodiment, it is possible to perform abnormality inspection in a shorter time compared to determination based on natural deceleration.
[0040] Here, the numerical control system A of the machine tool may be configured such that the parameter checking function unit 5 includes a spindle speed data recording unit instead of the acceleration / deceleration time measuring unit 6, and the spindle speed data recording unit records the time series data of the spindle speed from the time when the spindle receives the acceleration command and / or the deceleration command until the acceleration and / or the deceleration are completed, and the parameter checking function unit 5 includes a speed reference data storage unit instead of the acceleration / deceleration time specified value storage unit 7, and the speed reference data storage unit stores the spindle speed reference data preset for each specification of the machine tool, and the determination unit 8 is as follows: Figure 2A , Figure 2BAs shown, the time series data of the spindle speed measured by the spindle speed data recording unit is compared with the spindle speed reference data stored in the speed reference data storage unit to determine whether the parameters are appropriate or inappropriate, and whether the spindle rotation is normal or abnormal.
[0041] In this case, if Figure 2A , Figure 2B As shown, the upper limit allowable value (upper threshold) and the lower limit allowable value (lower threshold) represented by the dotted line in the figure are pre-set for the spindle speed reference data represented by the solid line in the figure. If the measured time series data of the spindle speed enters the normal range (allowable range, normal range) between the upper limit allowable value and the lower limit allowable value, the judgment unit 8 determines that the parameter is normal and appropriate. If it deviates from the normal range, it is determined that the parameter is inappropriate.
[0042] Thereby, the same operational effects as those of the above-described present embodiment can be obtained.
[0043] In this case, acceleration control and deceleration control are performed, and the time series data of the spindle speed is compared with the normal data and the allowable range, so that the deviation (deviation at each elapsed time) such as the deviation during acceleration only, the deviation during deceleration only, the deviation during acceleration or deceleration relative to the normal state can be grasped in time series, that is, at each elapsed moment. Thus, the characteristics of the deviation state can be grasped, so that the cause can be narrowed down with higher accuracy and which parameter among the drive control parameters is inappropriate can be determined.
[0044] An embodiment of the numerical control system for a machine tool has been described above, but the present invention is not limited to the above-described embodiment and can be modified appropriately within the scope of the present invention.
[0045] For example, the present invention can also be applied to a lathe-type machine tool in which a workpiece is mounted on a spindle instead of a tool.
[0046] Furthermore, by measuring the acceleration time of the feed axis instead of the acceleration time of the main axis, the present invention can also be applied to the parameter inspection of the feed axis.
Claims
1. A numerical control system for a machine tool, comprising a spindle, a tool mounted on the spindle, and a processing being performed by rotating the spindle, wherein: A parameter checking function unit is provided, wherein the parameter checking function unit is used to check the drive control parameters of the spindle. The parameter checking function unit has: an acceleration / deceleration time measuring unit for measuring an acceleration / deceleration time from when the spindle receives an acceleration command and / or a deceleration command until when acceleration and / or deceleration are completed; an acceleration / deceleration time prescribed value storage unit for storing prescribed values of acceleration / deceleration time predetermined for each specification of the machine tool; as well as a determination unit that compares the acceleration / deceleration time measured by the acceleration / deceleration time measuring unit with the specified value stored in the acceleration / deceleration time specified value storage unit to determine whether the parameters of the drive control of the main axis are appropriate, The determination unit acquires load information of a motor that rotationally drives the spindle in addition to the acceleration / deceleration time, and determines whether the parameters for driving and controlling the spindle are appropriate by determining whether the maximum load of the motor is within an allowable range.
2. The numerical control system for a machine tool according to claim 1, wherein: The numerical control system of the machine tool includes a display unit, and when the determination unit determines that the parameters of the drive control of the main spindle are inappropriate, the display unit displays a message indicating that the parameters are inappropriate.
3. A numerical control system for a machine tool, comprising a spindle on which a tool is mounted, and the spindle is driven to rotate for machining, wherein: A parameter checking function unit is provided, wherein the parameter checking function unit is used to check the drive control parameters of the spindle. The parameter checking function unit has: a spindle speed data recording unit that records time series data of the spindle speed from when the spindle receives an acceleration command and / or a deceleration command until the acceleration and / or the deceleration are completed; A speed reference data storage unit that stores spindle speed reference data predetermined for each specification of the machine tool; as well as a determination unit that compares the time series data of the spindle speed measured by the spindle speed data recording unit with the spindle speed reference data stored in the speed reference data storage unit to determine whether the parameters of the drive control of the spindle are appropriate, The determination unit acquires load information of a motor that rotationally drives the spindle in addition to the time series data of the spindle speed, and determines whether the parameters for driving and controlling the spindle are appropriate based on whether the maximum load of the motor is within an allowable range.
4. The numerical control system for a machine tool according to claim 3, wherein: The numerical control system of the machine tool includes a display unit, and when the determination unit determines that the parameters of the drive control of the main spindle are inappropriate, the display unit displays a message indicating that the parameters are inappropriate.
