A CNC system for lathes based on torque-frequency characteristics and pulse frequency
By adopting moment frequency characteristics and pulse frequency control technology in the lathe CNC system, the pulse frequency signal is dynamically regulated and error compensation is performed, and the problems of high cost and accuracy deviation of the existing lathe CNC system are solved, achieving higher machining accuracy and quality.
Patent Information
- Application Number
- CN202510191604.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-21
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2045-02-21
AI Technical Summary
The existing lathe CNC system is expensive and has a large deviation in machining accuracy when the motor dynamic performance is poor.
A lathe CNC system based on moment frequency characteristics and pulse frequency is adopted to dynamically regulate the pulse frequency signal through lathe parameters acquisition, processing and analysis, and the motor performance is optimized through error compensation algorithm.
It improves the accuracy and adaptability of motor speed and torque control, significantly reduces machining accuracy deviation, and improves machining accuracy and quality.
Smart Images

Figure CN119717681B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of numerical control machine tools, and more specifically, to a lathe numerical control system based on torque-frequency characteristics and pulse frequency. Background Art
[0002] As modern manufacturing industry develops towards high precision, high efficiency and intelligence, lathes, as important equipment in the field of mechanical processing, have adopted advanced CNC machine tools, which has become the general trend of the development of mechanical processing technology in my country. According to my country's current economic conditions, the CNC transformation of ordinary machine tools is both economical and fast, and is an effective way to improve the CNC rate in line with my country's national conditions.
[0003] The current lathe CNC system realizes the processing of complex parts through coordinate positioning and motion control. The structure generally includes controller, driver, motor, sensor and human-machine interface. The controller is the core, which receives processing instructions from the user and accurately controls the movement of the motor through the driver according to the pre-set program. At the same time, the sensor will feedback the position, speed and other information in real time to ensure the accuracy of the processing process.
[0004] However, it still has some shortcomings in actual use. For example, the existing lathe CNC system involves a variety of high-precision sensors and supporting complex control circuits, which leads to high cost. In the process of complex parts processing, although the existing CNC system has sensor feedback, there will still be processing accuracy deviation when the dynamic performance of the motor is poor. In this regard, a lathe CNC system based on torque-frequency characteristics and pulse frequency is proposed. In view of the above shortcomings, a lathe CNC system based on torque-frequency characteristics and pulse frequency is proposed. Through torque-frequency characteristics and pulse frequency control, it aims to solve these problems and improve the processing accuracy and intelligence level of the lathe. Summary of the invention
[0005] In order to overcome the above defects of the prior art, the present invention provides a lathe numerical control system based on torque-frequency characteristics and pulse frequency, and solves the problems raised in the above background technology through the following scheme.
[0006] To achieve the above object, the present invention provides the following technical solutions:
[0007] A lathe numerical control system based on torque-frequency characteristics and pulse frequency, characterized in that it includes a system operation database, a system central processing module and a user information terminal, and also includes:
[0008] Lathe parameter acquisition module: used to collect the mechanical parameters and real-time operation parameters of the target lathe to obtain the target lathe parameter group;
[0009] Lathe parameter processing module: used to obtain an intelligent lathe analysis model, analyze the target lathe parameter group according to the intelligent lathe analysis model, so as to obtain a first processing parameter corresponding to the target lathe parameter group;
[0010] Processing instruction parsing module: in response to the key processing parameters set by the user for the target lathe, obtains the processing instructions sent by the user;
[0011] Pulse frequency generation module: used to obtain a torque-frequency characteristic model, and dynamically adjust the pulse frequency signal based on the torque-frequency characteristic model and in combination with the processing instruction transmitted by the processing instruction parsing module to obtain the second processing parameter;
[0012] Motor selection optimization module: Based on the first processing parameters transmitted by the lathe parameter processing module and the second processing parameters transmitted by the pulse frequency generation module, the motor selection operation is performed on the target lathe, and the motor selection operation is used to select the optimal motor corresponding to the target lathe;
[0013] Torque-frequency characteristic compensation module: Based on the second processing parameter transmitted by the pulse frequency generation module, the optimal motor corresponding to the target lathe is compensated by an error compensation algorithm to obtain a third processing parameter;
[0014] Motion control module: used to drive the tool control movement of the target lathe by adopting the speed increase / deceleration pulse sequence control algorithm according to the second processing parameter transmitted by the pulse frequency generation module and the third processing parameter transmitted by the torque-frequency characteristic compensation module;
[0015] User monitoring module: used to monitor and query the processing instructions input by the user, the operating status of the target lathe, and the processing progress of the target lathe in real time through the user operation interface;
[0016] The system operation database includes all data texts of the lathe CNC system and collects the information texts output by each module in real time. The system central processing module is used for the information text instructions output by each module in the central control system, and the user information terminal is the information output device of the lathe CNC system.
[0017] Preferably, the pulse frequency generating module obtains the second processing parameter, specifically including:
[0018] The main cutting force FC and the total efficiency of the main transmission system based on the interaction between the target lathe tool and the workpiece , and the corresponding pitch of the ball screw , calculate the motor torque , specifically expressed as:
[0019] ;
[0020] Based on cutting speed The pitch corresponding to the ball screw , calculate the ideal speed Vn of the motor, which is specifically expressed as:
[0021] .
[0022] Preferably, the pulse frequency generating module obtains the second processing parameter, specifically including:
[0023] Based on the first motor speed , Second motor speed , and the ideal speed Vn of the motor, calculate the proportional coefficient K of the first motor speed and the second motor speed, which is specifically expressed as:
[0024] ;
[0025] The minimum value of the pulse frequency range corresponding to the first motor speed The minimum value of the pulse frequency range corresponding to the second motor speed , calculate the pulse frequency value , specifically expressed as:
[0026] ,
[0027] Wherein, K represents the proportionality coefficient between the first motor speed and the second motor speed.
[0028] Preferably, the pulse frequency generating module obtains the second processing parameter, specifically including:
[0029] At the initial stage of motor startup, the pulse frequency value calculated by the pulse frequency analysis unit is set;
[0030] During the stable operation stage of the motor, the pulse frequency is dynamically adjusted with a preset increase amplitude, and the increase amplitude is the unit adjustment value of the pulse frequency, which is taken as the deviation value between the actual speed of the motor and the ideal speed.
[0031] Preferably, in the motor selection optimization module, the motor adaptation indicators include the matching degree of motor power and lathe load, the adaptability of motor torque and cutting force, the fit between motor speed response characteristics and pulse frequency requirements, the energy consumption level of the motor, and the service life of the motor.
[0032] Preferably, in the torque-frequency characteristic compensation module, the third processing parameter includes the maximum torque of the optimal motor corresponding to the target lathe, the rotor moment of inertia of the optimal motor corresponding to the target lathe, the rotor position of the optimal motor corresponding to the target lathe, the load torque of the optimal motor corresponding to the target lathe, the damping coefficient of the optimal motor corresponding to the target lathe, and the motor speed, voltage and current after error compensation.
[0033] Preferably, the motion control module drives the tool of the target lathe to control the movement, specifically including: when the target motor is in the speed-up stage, and the torque-frequency characteristic curve in the second processing parameter shows a linear downward trend, based on the rotor moment of inertia J, the rotor position , load torque TL, damping coefficient B, and maximum torque of the target motor , calculate the time coefficient of the speed increase , specifically expressed as:
[0034] ;
[0035] in, It is expressed as the out-of-step frequency, which is the intersection of the load torque frequency characteristic curve and the out-of-step torque frequency characteristic curve;
[0036] Based on the rotor position , load torque TL, damping coefficient B, and maximum torque of the target motor , calculate the maximum operating frequency of the target motor under load torque TL , specifically expressed as:
[0037] ;
[0038] The maximum operating frequency of the target motor based on the load torque TL , the time coefficient of the speed increase , load torque TL, and the maximum torque of the target motor , calculate the output torque of the target lathe tool , specifically expressed as:
[0039] ;
[0040] in, It is expressed as the out-of-step frequency, that is, the intersection of the load torque frequency characteristic curve and the out-of-step torque frequency characteristic curve, and t is expressed as the current moment.
[0041] Technical effects and advantages of the present invention:
[0042] 1. The present invention realizes dynamic regulation of pulse frequency signals by establishing a mathematical relationship between motor output torque and pulse frequency according to various motor measured data through a pulse frequency generation module, thereby improving the accuracy and adaptability of motor speed and torque control and helping to achieve more accurate processing control;
[0043] 2. The present invention uses a torque-frequency characteristic compensation module to monitor the comparison between sensor data and ideal data in real time, thereby compensating for errors in the operation of the motor, significantly reducing machining accuracy deviation, and improving machining accuracy and quality;
[0044] 3. The present invention calculates the output torque of the tool under different operating conditions according to the second processing parameter and the third processing parameter through the motion control module, thereby improving the accuracy and dynamic performance of the tool movement and achieving more accurate processing operations. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a system flow chart of the present invention.
[0046] Figure 2 It is a system step diagram of the present invention.
[0047] Figure 3 It is a schematic diagram of the system structure of the present invention.
[0048] Figure 4 A mathematical relationship between the motor output torque and the pulse frequency represented by a torque-frequency characteristic model provided according to an embodiment of the present invention.
[0049] Explanation of the accompanying drawings: 300, a schematic diagram of a processing structure of a lathe CNC system based on torque-frequency characteristics and pulse frequency; 301, a system central processing unit; 302, a communication bus; 303, a system database; 304, a user information terminal. DETAILED DESCRIPTION
[0050] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0051] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to and includes any or all possible combinations of one or more listed items.
[0052] In the following, the terms "first", "second", and "third" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", and "third" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
[0053] As attached Figure 1 The lathe CNC system based on torque-frequency characteristics and pulse frequency shown in the figure includes a system operation database, a system central processing module and a user information terminal, and also includes a lathe parameter acquisition module, a lathe parameter processing module, a processing instruction parsing module, a pulse frequency generation module, a motor selection optimization module, a torque-frequency characteristic compensation module, a motion control module, and a user monitoring module.
[0054] The lathe parameter acquisition module is used to collect the mechanical parameters and real-time operation parameters of the target lathe to obtain the target lathe parameter group.
[0055] Specifically, the mechanical parameters of the target lathe are collected by responding to a variety of sensors. The collection of mechanical parameters includes but is not limited to installing a weight sensor under the lathe workbench to measure the weight data of the workbench in real time, installing a displacement sensor along the guide rail of the lathe to measure the longitudinal and lateral stroke of the lathe, etc.; installing a variety of sensors on the circuit and casing of the motor to continuously collect the real-time operation data of the motor; collating the data collected by the various sensors to construct a target lathe parameter group, which includes motor power, total efficiency of the main transmission system, total power efficiency of the feed system, pitch corresponding to the ball screw, cutting linear speed, step angle, pulse equivalent, module of each gear, and number of teeth of each gear.
[0056] The lathe parameter processing module is used to obtain an intelligent lathe analysis model, and analyze the target lathe parameter group according to the intelligent lathe analysis model to obtain a first processing parameter corresponding to the target lathe parameter group.
[0057] Specifically, the lathe parameter processing module includes a data receiving unit, a lathe parameter preprocessing unit, an intelligent lathe analysis model acquisition unit, a lathe parameter relationship analysis unit, and a data output unit.
[0058] Further, the data receiving unit is used to receive the target lathe parameter group transmitted by the lathe parameter acquisition module;
[0059] The lathe parameter preprocessing unit is used to perform preprocessing operations on the target lathe parameter group. The preprocessing operation is used to determine the normal fluctuation range of each parameter in the target lathe parameter group by statistically analyzing the historical data stored in the system operation database, so as to perform data cleaning and remove noise interference and abnormal values;
[0060] The intelligent lathe analysis model acquisition unit is used to determine the influence of each parameter in the target lathe parameter group on the lathe performance and processing quality through a large amount of historical practical experience stored in the system operation database, so as to establish a mathematical relationship model between each parameter in the target lathe parameter group, namely, the intelligent lathe analysis model;
[0061] The lathe parameter relationship analysis unit is used to calculate and analyze the target lathe parameter group that has passed through the lathe parameter preprocessing unit through the intelligent lathe analysis model to obtain the key indicators corresponding to the parameters in the target lathe parameter group and the optimal operating parameter range of the target lathe under different processing conditions, and generate the first processing parameters;
[0062] Furthermore, the first processing parameters include the cutting power of the lathe, the main cutting force of the interaction between the target lathe tool and the workpiece, the gear reduction ratio, the gear pitch circle diameter of each gear, and the optimal operating parameter range of the target lathe under different processing conditions.
[0063] The data output unit is used to transmit the first processing parameter to the motor selection optimization module.
[0064] In a possible implementation, obtaining the first machining parameter corresponding to the target lathe parameter group includes: based on the motor power , Total efficiency of main transmission system , and the total power efficiency of the feed system , calculate the cutting power PC consumed by the interaction between the target lathe tool and the workpiece, which is specifically expressed as:
[0065] ;
[0066] in, Determined by the target lathe, The value range of is (0.6, 0.7);
[0067] Based on motor power , the corresponding pitch of the ball screw , and cutting speed , calculate the main cutting force FC of the interaction between the target lathe tool and the workpiece, which is specifically expressed as:
[0068] .
[0069] In a possible implementation manner, obtaining the first processing parameter corresponding to the target lathe parameter group further includes: based on the step angle , Pulse equivalent , the corresponding pitch of the ball screw , calculate the gear reduction ratio , specifically expressed as:
[0070] ;
[0071] Based on the gear module corresponding to the speed reduction task And the number of teeth of each gear in the speed reduction task , calculate the gear pitch circle diameter of each gear in the speed reduction task , specifically expressed as:
[0072] ,
[0073] Among them, i represents the gear index that completes the speed reduction task, It is represented by the gear pitch circle diameter of the i-th gear in the speed reduction task, It is represented by the number of teeth of the i-th gear in the speed reduction task.
[0074] The processing instruction parsing module obtains the processing instruction sent by the user in response to the key processing parameters set by the user for the target lathe.
[0075] Specifically, by analyzing the key processing parameters set for the target lathe, the key processing parameters and process requirements are extracted and converted into processing instructions. The processing instructions include the shape of the processed parts, dimensional accuracy requirements, surface roughness requirements, and processing process sequence.
[0076] The pulse frequency generation module is used to obtain a torque-frequency characteristic model, and dynamically adjust the pulse frequency signal based on the torque-frequency characteristic model and in combination with the processing instruction transmitted by the processing instruction analysis module to obtain the second processing parameter.
[0077] Specifically, the pulse frequency generation module includes a data receiving unit, a moment-frequency characteristic model acquisition unit, a pulse frequency analysis unit, a frequency signal dynamic control unit, and a data output unit.
[0078] Further, the data receiving unit is used to receive the processing instruction transmitted by the processing instruction parsing module;
[0079] The torque-frequency characteristic model acquisition unit is used to retrieve the torque-frequency characteristic model through the relationship between various motors and torque-frequency characteristics stored in the system operation database;
[0080] It should be noted that the output torque of various motors is measured by using a torque measuring instrument under various frequency settings. The various frequency settings include the working frequency range of the motor gradually increasing from the low frequency band to the high frequency band during the actual processing process, and the mathematical relationship between the motor output torque and the pulse frequency, that is, the torque-frequency characteristic model, is obtained by the data fitting method for each frequency value; the torque-frequency characteristic model corresponding to the target motor is quickly located and retrieved by the binary search algorithm;
[0081] In this embodiment, the pulse frequencies and motor output torques of various motors are represented in a graph, and each curve in the graph represents the change of the output torques of various motors at different pulse frequencies, and the curve in the graph represents the mathematical relationship between the motor output torque and the pulse frequency, that is, the torque-frequency characteristic model, which is specifically expressed as follows:
[0082] ;
[0083] in, Expressed as the motor output torque, is represented by the pulse frequency, and a, b, and c are constants obtained by data fitting for each frequency value; specifically, the parameters obtained by data fitting in the moment-frequency characteristic model are set to a=0.005, b=0.05, and c=10. In the embodiment, Figure 4 As shown, when the pulse frequencies are 100 Hz, 200 Hz, 300 Hz, 400 Hz, and 500 Hz respectively, the output torques of motor A are 110 Nm, 310 Nm, 610 Nm, 1010 Nm, and 1510 Nm respectively. This embodiment shows that as the pulse frequency increases, the output torque of the motor increases as a quadratic function, indicating that the motor can provide greater torque in the high frequency band to meet the torque demand during lathe processing.
[0084] The pulse frequency analysis unit is used to convert the machining instructions into the speed and torque requirements of the motor, and find the corresponding pulse frequency range through the torque-frequency characteristic model to calculate the pulse frequency value;
[0085] In a possible implementation, obtaining the second machining parameter includes: a main cutting force FC based on the interaction between the target lathe tool and the workpiece, a main transmission system total efficiency , and the corresponding pitch of the ball screw , calculate the motor torque , specifically expressed as:
[0086] ;
[0087] Based on cutting speed The pitch corresponding to the ball screw , calculate the ideal speed Vn of the motor, which is specifically expressed as:
[0088] ;
[0089] In a possible implementation, obtaining the second machining parameter further includes: searching for a corresponding pulse frequency range through a torque-frequency characteristic model based on an ideal speed of the motor and a torque requirement of the motor; within the pulse frequency range, the motor speed having the greatest correlation with the ideal speed of the motor is recorded as the first motor speed, and the pulse frequency range corresponding to the first motor speed is [fp1, fp2]; the motor speed having the least correlation with the ideal speed of the motor is recorded as the second motor speed, and the pulse frequency range corresponding to the first motor speed is [fp3, fp4];
[0090] Based on the first motor speed , Second motor speed , and the ideal speed Vn of the motor, calculate the proportional coefficient K of the first motor speed and the second motor speed, which is specifically expressed as:
[0091] ;
[0092] The minimum value of the pulse frequency range corresponding to the first motor speed The minimum value of the pulse frequency range corresponding to the second motor speed , calculate the pulse frequency value , specifically expressed as:
[0093] ;
[0094] Wherein, K represents the proportionality coefficient between the first motor speed and the second motor speed;
[0095] The frequency signal dynamic control unit is used to dynamically control the pulse frequency signal according to the pulse frequency change law during the working process;
[0096] In a possible implementation, obtaining the second processing parameter further includes: at the initial stage of motor startup, setting the pulse frequency value calculated by the pulse frequency analysis unit, and dynamically adjusting the pulse frequency with a preset increase amplitude during the stable operation stage of the motor, wherein the increase amplitude is a unit adjustment value of the pulse frequency, and the value is a deviation value between the actual speed of the motor and the ideal speed;
[0097] In this embodiment, if the deviation between the actual speed of the motor and the ideal speed is greater than 5%, the pulse frequency is adjusted by increasing the unit pulse frequency per unit time to ensure that the motor is smoothly accelerated to the target speed;
[0098] The data output unit is used to transmit the second processing parameters to the motor selection optimization module, wherein the second processing parameters include the ideal rotation speed of the motor, the motor torque requirement, the pulse frequency range, and the dynamically adjusted pulse frequency value.
[0099] The motor selection optimization module performs a motor screening operation on the target lathe based on the first processing parameter transmitted by the lathe parameter processing module and the second processing parameter transmitted by the pulse frequency generation module. The motor screening operation is used to select the optimal motor corresponding to the target lathe.
[0100] Specifically, a preliminary screening is performed based on the first processing parameter transmitted by the lathe parameter processing module, and the speed response characteristics of the motor are evaluated in combination with the pulse frequency requirements in the second processing parameter to match the target motor.
[0101] In one possible implementation, a motor screening operation for a target lathe includes: performing preliminary screening based on a first processing parameter, and selecting a target motor with a power range of 1.1-1.3 times the maximum power requirement corresponding to the lathe in the first processing parameter; evaluating the speed response characteristics in combination with the second processing parameter, and giving priority to motors with fast speed response speed and good stability by simulating the speed response of the motor under various pulse frequencies; calculating the motor's fitness score by setting weights for multiple motor adaptation indicators, the motor adaptation indicators including the matching degree between motor power and lathe load, the adaptability of motor torque and cutting force, the fit between motor speed response characteristics and pulse frequency requirements, the motor's energy consumption level, and the motor's service life; and sorting the motors that meet the conditions according to the calculated fitness scores, and giving priority to the motor with the highest fitness score as the optimal motor corresponding to the target lathe.
[0102] The torque-frequency characteristic compensation module compensates the optimal motor corresponding to the target lathe through an error compensation algorithm based on the second processing parameter transmitted by the pulse frequency generation module to obtain a third processing parameter.
[0103] Specifically, the real-time data transmitted by the real-time monitoring sensor is quickly compared with the ideal data transmitted by the pulse frequency generation module, and the error type and size existing in the operation of the motor are identified through the error judgment program; the error compensation algorithm is started to calculate the corresponding compensation amount for the specific situation of the error.
[0104] In a possible implementation, obtaining the third processing parameter includes: using a variety of sensors installed on the motor and the lathe to collect the current, speed, torque of the target motor in real time, and the actual processing position of the lathe; comparing and analyzing the real-time monitoring data with the second processing parameter, and using the error compensation algorithm to calculate the compensation amount generated during the operation of the motor, the compensation amount is to adjust the control parameters of the motor to reduce the impact of the error on the operating state of the motor, the error compensation algorithm includes but is not limited to a linear compensation algorithm, a nonlinear compensation algorithm, a model-based compensation algorithm, etc. It should be noted that the linear compensation algorithm calculates the compensation value according to the size and direction of the error according to a preset ratio; the nonlinear compensation algorithm calculates the compensation amount by establishing an error model; according to the calculated compensation amount, the operating parameters of the target motor are adjusted to obtain the motor operating parameters after error compensation, that is, the third processing parameter, the third processing parameter includes the maximum torque of the optimal motor corresponding to the target lathe, the rotor moment of inertia of the optimal motor corresponding to the target lathe, the rotor position of the optimal motor corresponding to the target lathe, the load torque of the optimal motor corresponding to the target lathe, the damping coefficient of the optimal motor corresponding to the target lathe, and the motor speed, motor torque, motor control voltage, and motor control current after error compensation.
[0105] In this embodiment, when the motor speed is lower than the ideal value, the error compensation algorithm calculates the pulse frequency increase value according to the current pulse frequency, load conditions and torque-frequency characteristics of the motor; when the motor output torque is insufficient, the drive voltage adjustment value is determined.
[0106] The motion control module is used to drive the tool control movement of the target lathe according to the second processing parameter transmitted by the pulse frequency generation module and the third processing parameter transmitted by the torque-frequency characteristic compensation module and adopts the speed increase and decrease pulse sequence control algorithm.
[0107] Specifically, based on the electromagnetic induction principle and mechanical transmission principle of the motor, the second processing parameter transmitted by the pulse frequency generation module and the third processing parameter transmitted by the torque-frequency characteristic compensation module are transmitted to the motor driver to drive the tool of the target lathe to achieve precise positioning.
[0108] In a possible implementation, driving the tool control movement of the target lathe includes: based on the rotation angular velocity of the target motor , load torque TL, damping coefficient B, and rotor moment of inertia J, calculate the output torque of the target lathe tool , specifically expressed as:
[0109] ;
[0110] Among them, t represents the current time;
[0111] In a possible implementation, driving the tool control movement of the target lathe further includes: when the target motor is in the speed-up stage, and the torque-frequency characteristic curve in the second processing parameter shows a linear downward trend, based on the rotor moment of inertia J, the rotor position , load torque TL, damping coefficient B, and maximum torque of the target motor , calculate the time coefficient of the speed increase , specifically expressed as:
[0112] ;
[0113] in, It is expressed as the out-of-step frequency, which is the intersection of the load torque frequency characteristic curve and the out-of-step torque frequency characteristic curve;
[0114] Based on the rotor position , load torque TL, damping coefficient B, and maximum torque of the target motor , calculate the maximum operating frequency of the target motor under load torque TL , specifically expressed as:
[0115] ;
[0116] in, It is expressed as the out-of-step frequency, which is the intersection of the load torque frequency characteristic curve and the out-of-step torque frequency characteristic curve;
[0117] The maximum operating frequency of the target motor based on the load torque TL , the time coefficient of the speed increase , load torque TL, and the maximum torque of the target motor , calculate the output torque of the target lathe tool , specifically expressed as:
[0118] ;
[0119] in, It is expressed as the out-of-step frequency, that is, the intersection of the load torque frequency characteristic curve and the out-of-step torque frequency characteristic curve, and t is expressed as the current moment.
[0120] The user monitoring module is used to monitor and query the processing instructions input by the user, the operating status of the target lathe, and the processing progress of the target lathe in real time through the user operation interface.
[0121] Specifically, the processing instructions input by the user, the operating status of the target lathe and the processing progress of the target lathe are monitored and conveniently queried through the user operation interface; in terms of processing instruction monitoring, after the user enters the processing instruction in the operation interface, the instruction is syntax checked and format verified. When there is an error in the instruction, an error prompt window will immediately pop up on the interface to display the specific error information; for the operating status and processing progress of the target lathe, a real-time communication connection is established in coordination with the lathe CNC system to obtain various operating parameters and processing progress of the lathe, and display them in the form of a dynamic graph.
[0122] As attached Figure 2 A lathe CNC method based on torque-frequency characteristics and pulse frequency is shown, including: S1: lathe parameter acquisition, S2: lathe data analysis, S3: processing instruction parsing, S4: pulse frequency control, S5: motor selection optimization, S6: torque-frequency characteristic correction, S7: motion control, and S8: user monitoring.
[0123] S1: Lathe parameter collection: collect the mechanical parameters and real-time operation data of the target lathe to build the target lathe parameter group;
[0124] S2: lathe data analysis: obtaining an intelligent lathe analysis model, and using the intelligent lathe analysis model to analyze the target lathe parameter group to determine a first processing parameter corresponding to the target lathe parameter group;
[0125] S3: Processing instruction analysis: respond to the key processing parameters set by the user and analyze the processing instructions issued by the user;
[0126] S4: Pulse frequency control: obtaining a torque-frequency characteristic model, and dynamically adjusting the pulse frequency signal according to the torque-frequency characteristic model and the processing instruction to determine the second processing parameter;
[0127] S5: Motor selection optimization: Based on the first processing parameter provided by the lathe data analysis and the second processing parameter provided by the pulse frequency control, a motor screening process is performed to select a motor for the target lathe;
[0128] S6: Torque-frequency characteristic correction: Using the second processing parameter provided by the pulse frequency control, an error correction algorithm is executed on the motor to obtain a third processing parameter; the error correction algorithm calculates the compensation amount generated during the operation of the motor, and the compensation amount is used to adjust the control parameter of the motor.
[0129] S7: Motion control: Based on the second processing parameter provided by pulse frequency modulation and the third processing parameter provided by torque-frequency characteristic correction, the speed-up and speed-down pulse sequence control algorithm is used to accurately control the motion trajectory of the target lathe tool;
[0130] S8: User monitoring: Through the user operation interface, the processing instructions input by the user, the lathe operation status and the processing progress are monitored and queried in real time.
[0131] In this embodiment, a lathe numerical control system processing structure based on torque-frequency characteristics and pulse frequency is also disclosed. Figure 3 The electronic device may include: at least one system central processor 301 , at least one communication bus 302 , a user information terminal 304 , and at least one system database 303 .
[0132] Among them, the system central processor 301 is the core operation and control unit of the entire lathe CNC system; it includes one or more processing cores, which connect various parts within the entire system by utilizing various interfaces and lines; by running or executing instructions, programs, code sets or instruction sets stored in the system database, and being able to call the data stored therein, it executes various functions of the lathe CNC system, including motor selection optimization, torque-frequency characteristic correction, motion control and user monitoring, to ensure the processing accuracy and efficiency of the lathe, so that the lathe CNC system can handle multiple processing tasks at the same time, thereby improving the overall production efficiency.
[0133] The communication bus 302 is used to realize the connection and communication between components.
[0134] Among them, the system database 303 is used to save a large amount of data related to lathe CNC, including parameter settings of various processing tasks, historical processing records, user operation logs, fault diagnosis information, and storage of a large amount of historical operation data, including but not limited to motor operation parameters, tool wear data, workpiece material properties, etc.; when the system central processor performs various functions, it will frequently call these data from the system database to achieve precise control and optimized operations, thereby achieving precise control and efficient management of lathe CNC.
[0135] The user information terminal 304 is connected to external devices such as a display screen and a camera through a standard wired interface or a wireless interface, providing an interface for users to interact with the system.
[0136] Secondly: In the drawings of the embodiments disclosed in the present invention, only the structures related to the embodiments disclosed in the present invention are involved, and other structures can refer to the general design. In the absence of conflict, the same embodiment and different embodiments of the present invention can be combined with each other;
[0137] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A lathe numerical control system based on torque-frequency characteristics and pulse frequency, comprising a system operation database, a system central processing module and a user information terminal, characterized in that: Also includes: Lathe parameter acquisition module: used to collect the mechanical parameters and real-time operation parameters of the target lathe to obtain the target lathe parameter group; Lathe parameter processing module: used to obtain an intelligent lathe analysis model, analyze the target lathe parameter group according to the intelligent lathe analysis model, so as to obtain a first processing parameter corresponding to the target lathe parameter group; Processing instruction parsing module: in response to the key processing parameters set by the user for the target lathe, obtains the processing instructions sent by the user; Pulse frequency generation module: used to obtain a torque-frequency characteristic model, and dynamically adjust the pulse frequency signal based on the torque-frequency characteristic model and in combination with the processing instruction transmitted by the processing instruction parsing module to obtain the second processing parameter; Motor selection optimization module: Based on the first processing parameters transmitted by the lathe parameter processing module and the second processing parameters transmitted by the pulse frequency generation module, the motor selection operation is performed on the target lathe, and the motor selection operation is used to select the optimal motor corresponding to the target lathe; Torque-frequency characteristic compensation module: Based on the second processing parameter transmitted by the pulse frequency generation module, the optimal motor corresponding to the target lathe is compensated by an error compensation algorithm to obtain a third processing parameter; Motion control module: used to drive the tool control movement of the target lathe by adopting the speed increase / deceleration pulse sequence control algorithm according to the second processing parameter transmitted by the pulse frequency generation module and the third processing parameter transmitted by the torque-frequency characteristic compensation module; User monitoring module: used to monitor and query the processing instructions input by the user, the operating status of the target lathe, and the processing progress of the target lathe in real time through the user operation interface; The system operation database includes all data texts of the lathe CNC system and collects the information texts output by each module in real time. The system central processing module is used for the information text instructions output by each module in the central control system, and the user information terminal is the information output device of the lathe CNC system.
2. A lathe numerical control system based on torque-frequency characteristics and pulse frequency according to claim 1, characterized in that: The pulse frequency generating module obtains the second processing parameter, specifically including: The main cutting force FC and the total efficiency of the main transmission system based on the interaction between the target lathe tool and the workpiece , and the corresponding pitch of the ball screw , calculate the motor torque , specifically expressed as: ; Based on cutting speed The pitch corresponding to the ball screw , calculate the ideal speed Vn of the motor, which is specifically expressed as: 。 3. A lathe numerical control system based on torque-frequency characteristics and pulse frequency according to claim 1, characterized in that: The pulse frequency generating module obtains the second processing parameter, specifically including: Based on the first motor speed , Second motor speed , and the ideal speed Vn of the motor, calculate the proportional coefficient K of the first motor speed and the second motor speed, which is specifically expressed as: ; The minimum value of the pulse frequency range corresponding to the first motor speed The minimum value of the pulse frequency range corresponding to the second motor speed , calculate the pulse frequency value , specifically expressed as: ; Wherein, K represents the proportionality coefficient between the first motor speed and the second motor speed.
4. The lathe numerical control system based on torque-frequency characteristics and pulse frequency according to claim 1, characterized in that: The pulse frequency generating module obtains the second processing parameter, specifically including: At the initial stage of motor startup, the pulse frequency value calculated by the pulse frequency analysis unit is set; During the stable operation stage of the motor, the pulse frequency is dynamically adjusted with a preset increase amplitude, and the increase amplitude is the unit adjustment value of the pulse frequency, which is taken as the deviation value between the actual speed of the motor and the ideal speed.
5. The lathe numerical control system based on torque-frequency characteristics and pulse frequency according to claim 1, characterized in that: The motor selection optimization module, the motor adaptation indicators include the matching degree of motor power and lathe load, the adaptability of motor torque and cutting force, the compatibility of motor speed response characteristics and pulse frequency requirements, the energy consumption level of the motor, and the service life of the motor.
6. The lathe numerical control system based on torque-frequency characteristics and pulse frequency according to claim 1, characterized in that: The torque-frequency characteristic compensation module, the third processing parameter includes the maximum torque of the optimal motor corresponding to the target lathe, the rotor moment of inertia of the optimal motor corresponding to the target lathe, the rotor position of the optimal motor corresponding to the target lathe, the load torque of the optimal motor corresponding to the target lathe, the damping coefficient of the optimal motor corresponding to the target lathe, and the motor speed, voltage and current after error compensation.
7. The lathe numerical control system based on torque-frequency characteristics and pulse frequency according to claim 1, characterized in that: The motion control module drives the tool of the target lathe to control the movement, specifically including: when the target motor is in the speed-up stage, and the torque-frequency characteristic curve in the second processing parameter shows a linear downward trend, based on the rotor moment of inertia J and the rotor position , load torque TL, damping coefficient B, and maximum torque of the target motor , calculate the time coefficient of the speed increase , specifically expressed as: ; in, It is expressed as the out-of-step frequency, which is the intersection of the load torque frequency characteristic curve and the out-of-step torque frequency characteristic curve; Based on the rotor position , load torque TL, damping coefficient B, and maximum torque of the target motor , calculate the maximum operating frequency of the target motor under load torque TL , specifically expressed as: ; The maximum operating frequency of the target motor based on the load torque TL , the time coefficient of the speed increase , load torque TL, and the maximum torque of the target motor , calculate the output torque of the target lathe tool , specifically expressed as: ; in, It is expressed as the out-of-step frequency, that is, the intersection of the load torque frequency characteristic curve and the out-of-step torque frequency characteristic curve, and t is expressed as the current moment.
Citation Information
Patent Citations
Stepping motor comprehensive performance intelligent detection system and method
CN112698203A
Numerical control machine tool machining precision monitoring system and method
CN116540631A