A control system for numerically controlled machine tools

By introducing the design of multi-module collaborative work into the CNC machine tool control system, the problems of system complexity and insufficient anti-interference ability are solved, higher stability and precision are achieved, and processing efficiency and safety are improved.

CN117872962BActive Publication Date: 2024-09-27NANTONG JUSHENG NUMERICAL CONTROL MACHINE TOOL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410269898.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-11
Publication Date
2024-09-27
Estimated Expiration
2044-03-11

AI Technical Summary

Technical Problem

When the existing CNC machine tool control system performs logical operations and timing operations, the programmable controller needs to verify the feedback by itself, resulting in a complex structure, reduced stability and anti-interference ability, and a single position detection method, which cannot effectively improve the processing accuracy and Production efficiency, and is sensitive to temperature and humidity, affecting measurement accuracy.

Method used

A CNC machine tool control system including a control terminal, power module, input module, calibration module, drive control module, position detection module and safety protection module is designed. Through the electrical connection of the medium, the voltage stabilization filtering and calibration of the power module The real-time verification of the module, the precise control of the drive control module, the various signal outputs of the position detection module and the network communication of the remote monitoring and control module achieve the stability and accuracy of the system.

Benefits of technology

It simplifies the composition of the programmable controller, improves the stability and anti-interference ability of the system, enhances the accuracy of the three axes and spindles, reduces the impact of temperature and humidity on measurement, improves processing accuracy and production efficiency, and ensures the accuracy of the machine tool. Safe and stable operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117872962B
    Figure CN117872962B
Patent Text Reader

Abstract

The present application discloses a numerical control machine tool control system, which relates to the field of program control systems, including: a control terminal: the main control end of the system, used to issue execution commands; a power module, used to provide the power required by the machine tool, including an AC power supply and a DC power supply; an input module: used to convert the input digital signal into a digital-to-analog converter and output a controllable continuous voltage and current signal. The numerical control machine tool control system described in the present invention has a simpler structure, the entire system is more stable and reliable, the PLC has a strong anti-interference ability, can adapt to various environments on the industrial site, and has a long life, can work stably for a long time, is suitable for the machine tool operating environment, meets the requirements of accuracy and speed, has good stability, small maintenance workload, fast response speed, and improves production efficiency, etc., so that the three axes and the main shaft have high accuracy, high speed, strong adaptability, good stability, fast acceleration and deceleration dynamic response and low energy consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of program control systems, and in particular to a numerical control machine tool control system. Background Art

[0002] The CNC machine tool control system is an automated system used to control the operation of CNC machine tools. It mainly controls the operation of CNC machine tools through computer control. Its main function is to control the motion trajectory, processing quality and processing efficiency of the moving parts of the machine tools. It directly affects the processing accuracy, quality and efficiency of the CNC machine tools, as well as the service life and safety of the machine tools. Therefore, the CNC machine tool control system is the core of machine tool manufacturing and use;

[0003] When the existing CNC machine tool control system is put into practical use, when a programmable controller is used to perform logical operations, sequential control, timing, counting and arithmetic operations, the programmable controller needs to perform verification feedback by itself, which leads to a complex structure of the programmable controller, thereby reducing stability and anti-interference ability, and cannot effectively improve the processing accuracy and production efficiency of the machine tool. At the same time, the position detection method is single, and the single detection method cannot resist various interferences. At the same time, it is highly sensitive to temperature and humidity, resulting in a large impact of temperature and humidity changes on measurement accuracy. In addition, the parameters of the three axes and the main shaft cannot be synchronized in time, which reduces the accuracy of the three axes and the main shaft, and the machine tool control cannot be performed efficiently and stably. Summary of the invention

[0004] The object of the present invention is to provide a numerical control machine tool control system to solve the problems raised in the above background technology.

[0005] To achieve the above object, the present invention provides the following technical solution: a CNC machine tool control system, characterized in that it includes:

[0006] Control terminal: It is the main control terminal of the system and is used to issue execution commands;

[0007] A power module is used to provide the power required by the machine tool, including AC power and DC power;

[0008] Input module: used to convert the input digital signal into analog signal and output adjustable continuous voltage and current signal;

[0009] Verification module: used to verify the working status of the machine tool input signal, including verification of parameters such as stroke, position, speed, etc., to ensure the stable operation of the machine tool;

[0010] Drive control module: responsible for controlling the three axes and the spindle operation of the machine tool, including start, stop, forward and reverse rotation and speed control;

[0011] Position detection module: used to monitor the working position of the machine tool in real time, thereby providing feedback to the control system to ensure the accuracy of the machining process;

[0012] Safety protection module: used to protect the safety of machine tools and operations, including emergency stop switch, protective door switch, etc. and impact protection;

[0013] Programmable controller: an electronic system that operates digitally and controls various types of machinery or production processes through digital or analog inputs and outputs;

[0014] Remote monitoring and control module: By introducing network communication technology, remote control of machine tools is realized, allowing operators to remotely monitor and manage machine tools.

[0015] In a preferred solution of the present application, the control terminal and the input module are electrically connected through a medium. The input module is responsible for receiving status signals of buttons, sensors and handwheel devices on site, as well as signals from other PLC modules. Input signals can be received through different types of input modules. The analog input module converts continuously changing analog signals into digital signals that can be recognized by the control system.

[0016] In the preferred solution of the present application, the power module is composed of a power transformer, a rectifier, a filter and a voltage stabilizer, which can convert AC power into DC power, provide stable power support for the control system, and filter out power grid fluctuations and noise to ensure the stability and reliability of the machine tool. The cutting impedance formula is expressed as:

[0017] P = Ks × q × V × Y × d × ρ

[0018] in:

[0019] P is the cutting resistance, unit: KGKs, which is the ratio of cutting force to cutting area;

[0020] Ks is the cutting coefficient, unit: kg / square mm, which depends on the material factors of the cutting tool and the workpiece;

[0021] q is the cutting volume, unit: cubic mm, which is equal to the cutting area multiplied by the cutting depth. The cutting area unit is square mm, and the cutting depth unit is mm;

[0022] V is the cutting speed, unit: M / min, which is the ratio of cutting line speed to cutting diameter;

[0023] Y is the feed amount, unit: mm / rev, i.e. feed amount per revolution;

[0024] d is the cutting depth, unit: mm;

[0025] ρ is the mechanical efficiency, which is between 0.7 and 0.85 and is related to the mechanical performance factors of the machine tool;

[0026] The machine tool control system calculates and adjusts the cutting parameters according to the above formula to achieve the best processing effect and efficiency;

[0027] The power module is sized according to the machine tool operating power.

[0028] In a preferred solution of the present application, the specific implementation of the verification module is as follows:

[0029] First, the verification module determines whether the machine tool is in the correct position by receiving and comparing the machine tool's input signal with the preset value. If the actual position of the machine tool does not match the preset position, the verification module will issue an alarm or adjustment signal to correct the position of the machine tool.

[0030] Secondly, for speed verification, the verification module will determine whether the machine tool's operating speed is correct by receiving and comparing the machine tool's input signal with the preset speed value. If the speed does not match, the verification module will issue an alarm or adjustment signal to correct the machine tool's operating speed;

[0031] The calibration module of the machine tool control system is an important part for ensuring the accuracy and stability of the machine tool control system.

[0032] In a preferred solution of the present application, the specific implementation of the drive control module is as follows:

[0033] Control the feed and servo systems of machine tools, including position, speed and acceleration control;

[0034] Speed ​​control formula: v=2πfnkt / p, where v is the motion speed, n is the spindle speed, p is the number of motor poles, and kt is the torque constant, which is used to express the relationship between the torque and speed of the motor output;

[0035] Motor parameter adjustment formula: In the application of servo motors, it is usually necessary to adjust the motor parameters according to the actual situation to achieve the best control effect, including the speed voltage coefficient formula and the torque current coefficient formula;

[0036] Speed ​​voltage coefficient formula: kv=no / ua, where no is the no-load speed and ua is the voltage value. It is used to indicate the change in motor speed under a given voltage;

[0037] Torque current coefficient formula: kt=t / i, where t is the load torque and i is the current value, which is used to indicate the change in motor torque under a given current.

[0038] In a preferred solution of the present application, when the drive control module is running, the spindle speed calculation formula is: n=(1000×V) / (π×D), wherein n represents the spindle speed in revolutions per minute (r / min); V represents the cutting speed in meters per minute (m / min); D represents the tool diameter in millimeters (mm); π represents the circumference of a circle, which is 3.14;

[0039] To achieve precise control of the spindle, different speeds and positions can be set according to different processing requirements.

[0040] In a preferred solution of the present application, the emergency stop switch of the safety protection module uses the emergency stop switch to control the power switch of the three axes and the spindle part, which is used to quickly cut off the power supply of the three axes and the spindle of the machine tool by the emergency stop switch in an emergency, and quickly trigger the power-off protection;

[0041] The protective door switch of the safety protection module adopts a protective door switch sensor to detect the opening state of the protective door. When the protective door sensor detects that it is in the open state, the spindle cannot be powered on to prevent people from entering the dangerous area to avoid accidents.

[0042] The impact protection of the safety protection module is composed of the following means:

[0043] Limit switch: Set limit switches on the three axes of the machine tool. When the machine tool moves to the limit position, the limit switch will automatically cut off the power supply to prevent the machine tool from exceeding the travel range and colliding;

[0044] Overload protection: An overload protection device is installed on the spindle and servo motor of the machine tool. When the machine tool is subjected to excessive load, the overload protection device will automatically cut off the power supply to prevent the machine tool from overloading and crashing.

[0045] Software protection: Set up a software protection program in the machine tool control system. When the machine tool collides, the software protection program will immediately stop the machine tool from working to prevent the accident from expanding;

[0046] Sensor protection: Install sensors on the three axes of the machine tool. When a collision occurs, the sensor will immediately send a signal and the machine tool will stop working immediately to prevent the accident from expanding;

[0047] Through various protections, the safe and stable operation of the machine tool control system is ensured to avoid collision accidents.

[0048] In a preferred solution of the present application, when the drive control module and the input module are started, the position detection module obtains the input module control command, the drive control module moves synchronously with the processed parts on the machine tool processing surface, and the detection module obtains the processing image data of the processed parts. The position detection module is composed of the following methods:

[0049] Pulse signal output: The machine tool control system controls the servo motor to convert the motor's rotation angle into a pulse signal output, thereby achieving precise control and detection of the machine tool position;

[0050] Analog output: The machine tool control system converts the motor's rotation angle into analog signal output by controlling the servo, thus achieving precise control and detection of the machine tool position;

[0051] Encoder signal output: The machine tool control system controls the encoder and outputs the encoder's position signal to the control system to achieve precise control and detection of the machine tool position;

[0052] CNC system display: The machine tool control system displays the machine tool position on the screen through the CNC system, realizing real-time monitoring and display of the machine tool position;

[0053] Position detection of machine tool control systems is an important technical means for real-time monitoring and control of machine tool motion positions.

[0054] In the preferred solution of the present application, the programmable controller uses a programmable memory for internally storing programs, executing user-oriented instructions such as logical operations, sequential control, timing, counting and arithmetic operations, receiving and processing operator instructions, and monitoring the working status of the machine tool. The working steps of the programmable controller are as follows:

[0055] Adjust the working status of the machine tool in real time according to the preset program;

[0056] Control the start, stop, forward and reverse rotation and speed of the machine tool spindle;

[0057] Control the position, speed and acceleration of machine tool feed and servo systems;

[0058] The position detection device monitors the working position of the machine tool in real time and provides feedback to the control system.

[0059] Through PLC, the machine tool control system can perform operations more accurately and improve the precision of the machining process.

[0060] In a preferred solution of the present application, the remote monitoring control module is composed of the following methods:

[0061] Remote control through the network: Connect the machine tool control system to the Internet and use the network transmission protocols TCP / IP and UDP to achieve remote control. Operators can monitor and control the machine tool control system in real time through remote login;

[0062] Remote control through wireless communication: Use wireless communication technologies such as Bluetooth, Wi-Fi, and 4G / 5G to achieve remote control of the machine tool control system. This method does not require the machine tool control system to be connected to the Internet. Operators can monitor and control the machine tool control system in real time through mobile devices;

[0063] Remote control through analog signals: Using analog signal technology, the signal output of the machine tool control system is connected to a remote controller or operation panel to achieve remote control;

[0064] Remote control through intelligent gateway: Using intelligent gateway devices, the data collection, monitoring and control of the machine tool control system are integrated into one system to achieve remote control. The intelligent gateway can collect various signals and data in the machine tool control system and transmit them to the cloud platform or local monitoring center. Operators can log in to the intelligent gateway through mobile devices or computers to monitor and control the machine tool control system in real time.

[0065] Compared with the prior art, the present invention has the following beneficial effects:

[0066] The present invention provides a programmable controller, which cooperates with the verification and timely feedback of the verification module and the position detection module, so that the verification feedback in the programmable controller is omitted during use of the programmable controller of the system, and the structure is more simplified. The whole system is more stable and reliable. The PLC has a strong anti-interference ability and can adapt to various environments in industrial sites. It has a long service life and can work stably for a long time, which can effectively improve the processing accuracy and production efficiency of machine tools.

[0067] The present invention provides a position detection module, which should be able to resist various electromagnetic interferences, have a low sensitivity of the reference scale to temperature and humidity, have little effect of temperature and humidity changes on measurement accuracy, be suitable for the machine tool operating environment, meet the requirements of accuracy and speed, have good stability, low maintenance workload, fast response speed, and improve production efficiency.

[0068] The present invention provides a control terminal, which cooperates with the verification and timely feedback of the verification module and the position detection module, and timely changes the parameters of the three axes and the main spindle according to the operating conditions of the machine tool, so that the three axes and the main spindle have the advantages of high precision, high speed, strong adaptability, good stability, fast acceleration and deceleration dynamic response and low energy consumption, and can realize efficient and stable machine tool control. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] The present invention is further described using the accompanying drawings, but the embodiments in the accompanying drawings do not constitute any limitation to the present invention. A person skilled in the art can obtain other drawings based on the following drawings without creative work.

[0070] Figure 1This is a schematic diagram of module connection of the present invention. DETAILED DESCRIPTION

[0071] 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.

[0072] See also Figure 1 The present invention provides a technical solution: a CNC machine tool control system, characterized in that it includes:

[0073] Control terminal: It is the main control terminal of the system and is used to issue execution commands;

[0074] A power module is used to provide the power required by the machine tool, including AC power and DC power;

[0075] Input module: used to convert the input digital signal into analog signal and output adjustable continuous voltage and current signal;

[0076] Verification module: used to verify the working status of the machine tool input signal, including verification of parameters such as stroke, position, speed, etc., to ensure the stable operation of the machine tool;

[0077] Drive control module: responsible for controlling the three axes and the spindle operation of the machine tool, including start, stop, forward and reverse rotation and speed control;

[0078] Position detection module: used to monitor the working position of the machine tool in real time, thereby providing feedback to the control system to ensure the accuracy of the machining process;

[0079] Safety protection module: used to protect the safety of machine tools and operations, including emergency stop switch, protective door switch, etc. and impact protection;

[0080] Programmable controller: an electronic system that operates digitally and controls various types of machinery or production processes through digital or analog inputs and outputs;

[0081] Remote monitoring and control module: By introducing network communication technology, remote control of machine tools is realized, allowing operators to remotely monitor and manage machine tools;

[0082] Furthermore, the control terminal and the input module are electrically connected through a medium. The input module is responsible for receiving status signals of buttons, sensors and handwheel devices on site, as well as signals from other PLC modules. Input signals can be received through different types of input modules. The analog input module converts continuously changing analog signals into digital signals that can be recognized by the control system. Since the input modules are voltage type and current type, the input signal of the voltage type analog input module is a voltage signal and the output is a digital signal. The input signal of the current type analog input module is a current signal and the output is a digital signal.

[0083] Furthermore, the power module is composed of a power transformer, a rectifier, a filter and a voltage stabilizer, which can convert AC power into DC power to provide stable power support for the control system. At the same time, it can filter out power grid fluctuations and noise to ensure the stability and reliability of the machine tool. The cutting impedance formula is expressed as:

[0084] P = Ks × q × V × Y × d × ρ

[0085] in:

[0086] P is the cutting resistance, unit: KGKs, which is the ratio of cutting force to cutting area;

[0087] Ks is the cutting coefficient, unit: kg / square mm, which depends on the material factors of the cutting tool and the workpiece;

[0088] q is the cutting volume, unit: cubic mm, which is equal to the cutting area multiplied by the cutting depth. The cutting area unit is square mm, and the cutting depth unit is mm;

[0089] V is the cutting speed, unit: M / min, which is the ratio of cutting line speed to cutting diameter;

[0090] Y is the feed amount, unit: mm / rev, i.e. feed amount per revolution;

[0091] d is the cutting depth, unit: mm;

[0092] ρ is the mechanical efficiency, which is between 0.7 and 0.85 and is related to the mechanical performance factors of the machine tool;

[0093] The machine tool control system calculates and adjusts the cutting parameters according to the above formula to achieve the best processing effect and efficiency;

[0094] When selecting a power module, factors such as the power requirements of the machine tool, the efficiency and reliability of the power module should be considered to ensure that the machine tool can operate normally and guarantee processing accuracy. The power module also needs to have safety protection measures such as overvoltage protection, overcurrent protection, and overtemperature protection to ensure the safety of the machine tool and operators.

[0095] Furthermore, the specific implementation of the verification module is as follows:

[0096] First, the verification module determines whether the machine tool is in the correct position by receiving and comparing the machine tool's input signal with the preset value. If the actual position of the machine tool does not match the preset position, the verification module will issue an alarm or adjustment signal to correct the position of the machine tool.

[0097] Secondly, for speed verification, the verification module will determine whether the machine tool's operating speed is correct by receiving and comparing the machine tool's input signal with the preset speed value. If the speed does not match, the verification module will issue an alarm or adjustment signal to correct the machine tool's operating speed;

[0098] The calibration module of the machine tool control system is an important part for ensuring the accuracy and stability of the machine tool control system. By calibrating and verifying various input and output signals, parameters, sensors, etc., it can minimize errors and deviations and improve the machining accuracy and efficiency of the machine tool.

[0099] Furthermore, the specific implementation of the drive control module is as follows:

[0100] Control the feed and servo systems of machine tools, including position, speed and acceleration control;

[0101] Speed ​​control formula: v=2πfnkt / p, where v is the motion speed, n is the spindle speed, p is the number of motor poles, and kt is the torque constant, which is used to express the relationship between the torque and speed of the motor output;

[0102] Motor parameter adjustment formula: In the application of servo motors, it is usually necessary to adjust the motor parameters according to the actual situation to achieve the best control effect, including the speed voltage coefficient formula and the torque current coefficient formula;

[0103] Speed ​​voltage coefficient formula: kv=no / ua, where no is the no-load speed and ua is the voltage value. It is used to indicate the change in motor speed under a given voltage;

[0104] Torque current coefficient formula: kt=t / i, where t is the load torque and i is the current value, which is used to indicate the torque change of the motor under a given current;

[0105] Since the motor will be affected by load and friction factors, the speed in the formula will be corrected according to the actual situation. These formulas can be used to adjust the parameters of the motor to achieve better control effects.

[0106] Furthermore, when the drive control module is running, the main speed calculation formula of the control is: n=(1000×V) / (π×D), where n represents the spindle speed in revolutions per minute (r / min); V represents the cutting speed in meters per minute (m / min); D represents the tool diameter in millimeters (mm); π represents the circumference of a circle, which is 3.14;

[0107] The speed and accuracy of the machine tool spindle directly affect the processing quality and efficiency. The spindle can be precisely controlled through the control system, and different speeds and positions can be set according to different processing requirements.

[0108] Furthermore, the emergency stop switch of the safety protection module uses the emergency stop switch to control the power switch of the three axes and the spindle part, which is used to quickly cut off the power supply of the three axes and the spindle of the machine tool by the emergency stop switch in an emergency, and quickly trigger the power-off protection;

[0109] The protective door switch of the safety protection module adopts a protective door switch sensor to detect the opening state of the protective door. When the protective door sensor detects that it is in the open state, the spindle cannot be powered on to prevent personnel from entering important equipment in the dangerous area to avoid accidents.

[0110] The impact protection of the safety protection module is composed of the following means:

[0111] Limit switch: Set limit switches on the three axes of the machine tool. When the machine tool moves to the limit position, the limit switch will automatically cut off the power supply to prevent the machine tool from exceeding the travel range and colliding;

[0112] Overload protection: An overload protection device is installed on the spindle and servo motor of the machine tool. When the machine tool is subjected to excessive load, the overload protection device will automatically cut off the power supply to prevent the machine tool from overloading and crashing.

[0113] Software protection: Set up a software protection program in the machine tool control system. When the machine tool collides, the software protection program will immediately stop the machine tool from working to prevent the accident from expanding;

[0114] Sensor protection: Install sensors on the three axes of the machine tool. When a collision occurs, the sensor will immediately send a signal and the machine tool will stop working immediately to prevent the accident from expanding;

[0115] Overload protection plays the role of collision protection, which mainly refers to the safety protection of the machine tool control system to prevent collisions and accidents during operation. Collision protection needs to start from multiple aspects, including hardware and software protection measures, to ensure the safe and stable operation of the machine tool control system and avoid collision accidents.

[0116] Furthermore, when the drive control module and the input module are started, the position detection module obtains the control command of the input module, the drive control module moves synchronously with the processed parts on the machine tool processing surface, and the image data of the processing process of the processed parts is obtained through the detection module. The position detection module is composed of the following methods:

[0117] Pulse signal output: The machine tool control system controls the servo motor to convert the motor's rotation angle into a pulse signal output, thereby achieving precise control and detection of the machine tool position;

[0118] Analog output: The machine tool control system converts the motor's rotation angle into analog signal output by controlling the servo, thus achieving precise control and detection of the machine tool position;

[0119] Encoder signal output: The machine tool control system controls the encoder and outputs the encoder's position signal to the control system to achieve precise control and detection of the machine tool position;

[0120] CNC system display: The machine tool control system displays the machine tool position on the screen through the CNC system, realizing real-time monitoring and display of the machine tool position;

[0121] Position detection of machine tool control systems is an important technical means for real-time monitoring and control of machine tool motion positions. The accuracy and stability of position detection directly affect the machining accuracy and production efficiency of machine tools.

[0122] Furthermore, the programmable controller uses a programmable memory to store programs internally, execute user-oriented instructions such as logical operations, sequential control, timing, counting and arithmetic operations, receive and process operator instructions, and monitor the working status of the machine tool. The working steps of the programmable controller are as follows:

[0123] Adjust the working status of the machine tool in real time according to the preset program;

[0124] Control the start, stop, forward and reverse rotation and speed of the machine tool spindle;

[0125] Control the position, speed and acceleration of machine tool feed and servo systems;

[0126] The position detection device monitors the working position of the machine tool in real time and provides feedback to the control system.

[0127] Through PLC, the machine tool control system can perform operations more accurately and improve the precision of the machining process.

[0128] Furthermore, the remote monitoring control module is composed of the following methods:

[0129] Remote control through the network: Connect the machine tool control system to the Internet and use the network transmission protocols TCP / IP and UDP to achieve remote control. Operators can monitor and control the machine tool control system in real time through remote login;

[0130] Remote control through wireless communication: Using wireless communication technologies, such as Bluetooth, Wi-Fi, and 4G / 5G, to achieve remote control of the machine tool control system. This method does not require the machine tool control system to be connected to the Internet. Operators can monitor and control the machine tool control system in real time through mobile devices;

[0131] Remote control through analog signals: Using analog signal technology, the signal output of the machine tool control system is connected to a remote controller or operation panel to achieve remote control;

[0132] Remote control through intelligent gateway: Using intelligent gateway devices, the data collection, monitoring and control of the machine tool control system are integrated into one system to achieve remote control. The intelligent gateway can collect various signals and data in the machine tool control system and transmit them to the cloud platform or local monitoring center. Operators can log in to the intelligent gateway through mobile devices or computers to monitor and control the machine tool control system in real time;

[0133] When realizing remote control of machine tool control systems, the security of machine tool control systems is also guaranteed to prevent unauthorized access and attacks. At the same time, the stability and reliability of data transmission are guaranteed to avoid data loss or errors. The accuracy and timeliness of remote control are also guaranteed to avoid operation delays or errors.

[0134] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. A CNC machine tool control system, Features: include: Control terminal: It is the main control terminal of the system and is used to issue execution commands; A power module is used to provide the power required by the machine tool, including AC power and DC power; Input module: used to convert the input digital signal into analog signal and output adjustable continuous voltage and current signal; Verification module: used to verify the working status of the machine tool input signal, including the verification of stroke, position, and speed parameters to ensure the stable operation of the machine tool; Drive control module: responsible for controlling the three axes and spindle operation of the machine tool, including start, stop, forward and reverse rotation and speed control; Position detection module: used to monitor the working position of the machine tool in real time, thereby providing feedback to the control system to ensure the accuracy of the machining process; Safety protection module: used to protect the safety of machine tools and operations, including emergency stop switch, protective door switch and impact protection; Programmable controller: an electronic system that operates digitally and controls various types of mechanical production processes through digital or analog inputs and outputs; Remote monitoring and control module: By introducing network communication technology, remote control of machine tools is realized, allowing operators to remotely monitor and manage machine tools; The control terminal is electrically connected to the input module through a medium. The input module is responsible for receiving status signals of buttons, sensors and handwheel devices on site, as well as signals from other PLC modules. The input signals are received through different types of input modules. The power module consists of a power transformer, a rectifier, a filter and a voltage stabilizer, which converts AC power into DC power to provide stable power support for the control system, while filtering out grid fluctuations and noise to ensure the stability and reliability of the machine tool. The cutting impedance formula is expressed as: P = Ks × q × V × Y × d × ρ in: P is the cutting resistance, unit: KGKs, which is the ratio of cutting force to cutting area; Ks is the cutting coefficient, unit: kg / square mm, which depends on the material factors of the cutting tool and the workpiece; q is the cutting volume, unit: cubic mm, which is equal to the cutting area multiplied by the cutting depth. The cutting area unit is square mm, and the cutting depth unit is mm; V is the cutting speed, unit: M / min, which is the ratio of cutting line speed to cutting diameter; Y is the feed amount, unit: mm / rev, i.e. feed amount per revolution; d is the cutting depth, unit: mm; ρ is the mechanical efficiency, which is between 0.7 and 0.85 and is related to the mechanical performance factors of the machine tool; The machine tool control system calculates and adjusts the cutting parameters according to the above formula to achieve the best processing effect and efficiency; The specific implementation of the verification module is as follows: First, the verification module will determine whether the machine tool is in the correct position by receiving and comparing the machine tool's input signal with the preset value. If the actual position of the machine tool does not match the preset position, the verification module will issue an alarm or adjustment signal to correct the position of the machine tool. Secondly, for speed verification, the verification module will determine whether the machine tool's operating speed is correct by receiving and comparing the machine tool's input signal with the preset speed value. If the speed does not match, the verification module will issue an alarm or adjustment signal to correct the machine tool's operating speed; The specific implementation of the drive control module is as follows: Control the feed and servo systems of machine tools, including position, speed and acceleration control; Speed ​​control formula: v=2πfnkt / p, where v is the motion speed, n is the spindle speed, p is the number of motor poles, and kt is the torque constant, which is used to express the relationship between the torque and speed of the motor output; Motor parameter adjustment formula: including speed voltage coefficient formula and torque current coefficient formula; Speed ​​voltage coefficient formula: kv=no / ua, where no is the no-load speed and ua is the voltage value, which is used to indicate the change in motor speed under a given voltage; Torque current coefficient formula: kt=t / i, where t is the load torque and i is the current value, which is used to indicate the torque change of the motor under a given current; When the drive control module is running, the spindle speed calculation formula is: n=(1000×V) / (π×D), where n represents the spindle speed in revolutions per minute (r / min); V represents the cutting speed in meters per minute (m / min); D represents the tool diameter in millimeters (mm); π represents the circumference of a circle, which is 3.14; The safety protection module uses an emergency stop switch to control the power switch of the three axes and the spindle part, which is used to quickly cut off the power supply of the three axes and the spindle of the machine tool by the emergency stop switch in an emergency, and quickly trigger the power-off protection; The protective door switch of the safety protection module uses a protective door switch sensor to detect the opening state of the protective door. When the protective door sensor detects that it is in the open state, the spindle cannot be powered on to prevent personnel from entering the dangerous area to avoid accidents. The impact protection of the safety protection module is composed of the following means: Limit switch: Set limit switches on the three axes of the machine tool. When the machine tool moves to the limit position, the limit switch will automatically cut off the power supply to prevent the machine tool from exceeding the travel range and colliding; Overload protection: An overload protection device is installed on the spindle and servo motor of the machine tool. When the machine tool is subjected to excessive load, the overload protection device will automatically cut off the power supply to prevent the machine tool from overloading and crashing. Software protection: Set up a software protection program in the machine tool control system. When the machine tool collides, the software protection program will immediately stop the machine tool from working to prevent the accident from expanding; Sensor protection: Install sensors on the three axes of the machine tool. When a collision occurs, the sensor will immediately send a signal and the machine tool will stop working immediately to prevent the accident from expanding; When the drive control module and the input module are started, the position detection module obtains the input module control command, the drive control module moves synchronously with the processed parts on the machine tool processing surface, and the image data of the processing process of the processed parts is obtained through the position detection module. The output mode of the position detection module is composed of the following modes: Pulse signal output: The machine tool control system controls the servo motor to convert the motor's rotation angle into a pulse signal output, thereby achieving precise control and detection of the machine tool position; Analog output: The machine tool control system converts the motor's rotation angle into analog signal output by controlling the servo, thus achieving precise control and detection of the machine tool position; Encoder signal output: The machine tool control system controls the encoder and outputs the encoder's position signal to the control system to achieve precise control and detection of the machine tool position; CNC system display: The machine tool control system displays the machine tool position on the screen through the CNC system, realizing real-time monitoring and display of the machine tool position; The programmable controller uses a programmable memory to store programs internally, execute logic operations, sequential control, timing, counting and arithmetic operations, receive and process operator instructions, and monitor the working status of the machine tool. The working steps of the programmable controller are as follows: Adjust the working status of the machine tool in real time according to the preset program; Control the start, stop, forward and reverse rotation and speed of the machine tool spindle; Control the position, speed and acceleration of machine tool feed and servo systems; Monitor the working position of the machine tool in real time through the position detection device to provide feedback to the control system; The remote monitoring control module is composed of the following methods: Remote control through the network: connect the machine tool control system to the Internet and use the network transmission protocols TCP / IP and UDP to achieve remote control; Remote control through wireless communication: Use wireless communication technology, such as Bluetooth, Wi-Fi, and 4G / 5G, to achieve remote control of machine tool control systems; Remote control through analog signals: Using analog signal technology, the signal output of the machine tool control system is connected to a remote controller or operation panel to achieve remote control; Remote control through intelligent gateway: Using intelligent gateway devices, the data acquisition, monitoring and control of the machine tool control system are integrated into one system to achieve remote control. The intelligent gateway collects various signals and data in the machine tool control system and transmits them to the cloud platform or local monitoring center. Operators log in to the intelligent gateway through mobile devices or computers to monitor and control the machine tool control system in real time.