Servo tailstock control method based on independent control and controller

Through the servo tailstock controller based on independent control, the problem of centralized control method being difficult to meet personalized processing needs is solved, high-precision and safe tailstock control is achieved, and the automation and intelligent needs of modern mechanical processing are met.

CN118732610AInactive Publication Date: 2024-10-01华中数控(温岭)研究院有限公司 +1
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202411230939.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2024-10-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing servo tailstock control system adopts a centralized control method, which is difficult to meet personalized and complex processing needs, and cannot be accurately controlled in emergency situations, which may lead to mechanical failure and control errors.

Method used

Design a servo tailstock controller based on independent control, using servo drive chip, multiple independent control ports, safe torque cutoff function and multiple communication interfaces to achieve precise positioning and speed control of the tailstock, and integrate a fault diagnosis system. Provide user-friendly interface design.

Benefits of technology

It achieves high-precision tailstock control, improves the safety and reliability of the system, can quickly stop mechanical movement in emergency situations, reduces operating difficulty and error rates, and meets the automation and intelligence needs of modern mechanical processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118732610A_ABST
    Figure CN118732610A_ABST
Patent Text Reader

Abstract

The invention relates to a servo tailstock control method based on independent control and a controller, accurate positioning and speed control of a tailstock can be achieved through multiple paths of independent control ports integrated on the controller, and mechanical movement of the tailstock in an automatic control mode is independently controlled through mechanical area parameter setting and port signal input. The integrated safe torque cutting function and the external IO interface improve the safety of the whole system, mechanical motion can be stopped quickly in emergency, and operators and equipment are protected. Various communication interfaces support connection with different control systems and network protocols, and convenience is provided for future technology upgrading and system expansion. The integrated fault diagnosis system enables the controller to have fault diagnosis and SIFU alarm functions, can automatically stop the movement of the tailstock under abnormal conditions, guarantees the safety of a machine tool and a workpiece, is simple in panel structure, is high in cost effectiveness, is high in control precision, and improves the reliability and safety of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of machining control, and in particular to a servo tailstock controller based on independent control, a servo tailstock control method based on independent control, and an electronic device. Background Art

[0002] In the field of traditional machining, the tailstock is a key component on the machine tool used to support long workpieces to ensure the stability and accuracy of the machining process. The servo tailstock controller plays a vital role in high-precision machining. It ensures the stability and accuracy of the machining process by accurately controlling the position and pressure of the tailstock. In high-precision machining, the tailstock controller needs to have the following features: 1. High-resolution position feedback system to ensure accurate positioning of the tailstock.

[0003] 2. Fast-response servo motor to quickly adjust the tailstock position to adapt to different processing conditions.

[0004] 3. Stable control algorithm ensures constant tailstock pressure during machining and avoids machining errors caused by pressure fluctuations.

[0005] 4. Strong anti-interference ability to ensure stable performance in various industrial environments.

[0006] 5. User-friendly operation interface facilitates operators to set parameters and monitor.

[0007] 6. High reliability and durability to meet the needs of long-term continuous work.

[0008] In practical applications, the servo tailstock controller is usually integrated with the CNC system to achieve automated tailstock control through programming, thereby improving processing efficiency and product quality.

[0009] However, traditional tailstocks are mostly controlled manually or pneumatically, which have problems such as inaccurate positioning, slow response speed, and complex operation, which limits the improvement of processing efficiency and workpiece processing quality.

[0010] With the development of intelligent manufacturing technology, the automation and intelligence level of machine tools has been continuously improved, and higher requirements have been put forward for the control accuracy and response speed of the tailstock. Servo control technology is widely used in various drive components of machine tools due to its high precision, fast response and easy integrated control. However, most of the existing servo tailstock control systems adopt centralized control, which is difficult to meet the needs of personalized and complex processing, and the system is highly complex and costly. Especially in emergency situations, emergency shutdown is required to quickly stop the mechanical movement. At this time, if the tailstock cannot be accurately controlled, it will cause corresponding mechanical failures and dangers. The tailstock control adopts centralized control, and the control communication between each other may interfere with the transmission of data / signals and cause crosstalk communication. The data communication is relatively bloated and the transmission pressure is high. Therefore, it may cause control errors in emergency shutdowns and other situations, and then cause large processing failures.

[0011] Therefore, inventing a servo tailstock controller based on independent control has important practical significance. Summary of the invention

[0012] In order to solve the above problems, the present application proposes a servo tailstock controller based on independent control, a servo tailstock control method based on independent control, and an electronic device.

[0013] On the one hand, the present application proposes a servo tailstock controller based on independent control, which is used to control the tailstock to achieve corresponding independently controlled mechanical movement under the configured mechanical area parameters and port signal input; the servo tailstock controller includes: Servo drive chip, used for logic control, fault diagnosis and alarm; XT1 drive port, used to connect the power supply for power supply; XT2 drive port, used to connect the motor and perform motor servo output; XT3 drive port, used to connect to an external safety control system and control the torque output of the motor through the STO switch; XS1 serial communication interface, used to connect to the visual debugging interface (PC) for data debugging; XS2 network communication interface, used to connect to the visual debugging interface (PC) and provide data network communication; XS3 encoder interface, used to connect the motor encoder for encoding control; XS4 external IO interface, used to connect to the servo operation panel (HNC) for external input / output control; The XT1 drive port, XT2 drive port, XT3 drive port, XS1 serial communication interface, XS2 network communication interface, XS3 encoder interface and XS4 external IO interface are electrically connected to the servo drive chip respectively.

[0014] As a preferred embodiment of the present invention, preferably, the mechanical area includes at least one of the following mechanical motion control areas: Press the allowable error, tightening position, slow speed range, mechanical deceleration position, retraction distance 1, workpiece length difference or mechanical zero point.

[0015] As a preferred embodiment of the present invention, preferably, the XT1 drive port comprises: L1-L3 terminals are used to connect external three-phase power supply; P and BK terminals are used to connect the braking resistor.

[0016] As a preferred embodiment of the present invention, preferably, the XT2 drive port comprises: U, V, W terminals are used to connect the three-phase input interface of the motor respectively; Ground terminal, used for grounding.

[0017] As a preferred embodiment of the present invention, preferably, the XT3 drive port has an enable pin for enabling a voltage of 24V DC; and, if the actual application does not require STO control, pin 4 is connected to pin 1 and pin 3 is connected to pin 2 to skip STO switch control.

[0018] As a preferred embodiment of the present invention, preferably, the XS3 encoder interface is adapted to two encoder signals: TAMAGAWA absolute and NIKON absolute.

[0019] As a preferred embodiment of the present invention, preferably, the fault diagnosis and alarm of the servo drive chip includes: General servo fault code, alarm content includes: main circuit undervoltage, main circuit overvoltage, IPM module failure, motor overspeed, tracking error is too large, motor overload, parameter error, motor encoder signal, communication failure, driver encoding error, motor encoding error, DI function allocation failure, DO function allocation failure, encoder battery voltage failure, motor output phase loss, driver overload, motor stall overheat protection, electronic gear setting error, system self-identification adjustment error; Servo general warning code, alarm content includes: emergency stop warning, motor power line disconnection, encoder internal fault, user constants need to be re-powered after change; Tailstock related fault codes, alarm contents include: positive limit alarm, negative limit alarm; When the above faults and alarms occur, the tailstock is controlled to stop moving.

[0020] On the other hand, the present application provides a servo tailstock control method based on independent control, which is implemented based on the servo tailstock controller based on independent control and includes the following steps: Torque mode: The CNC system triggers the DI0 signal to perform torque tightening control and output DO1; Retraction process: The CNC system triggers the DI0 signal to determine whether the servo tailstock is tight and retracts the distance 1; Gear setting: The CNC system triggers the DI3-DI8 combination signal to modify the torque gear; Position setting: The CNC system triggers the DI10-DI11 combination signal to set the current position as the tightening position or mechanical zero point.

[0021] In another aspect, the present application further provides an electronic device, comprising: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to implement the servo tailstock control method based on independent control when executing the executable instructions.

[0022] Technical effects of the present invention: Based on the implementation of the present invention, the high-precision independent control servo drive system proposed in this application can achieve precise positioning and speed control of the tailstock through the multi-channel independent control ports integrated on the controller. The integrated safe torque cut-off function and external IO interface improve the safety of the entire system, and can quickly stop mechanical movement in an emergency to protect the operator and equipment. A variety of communication interfaces support connection with different control systems and network protocols, providing convenience for future technology upgrades and system expansion.

[0023] The user-friendly interface design simplifies the operation process, allowing the operator to control the tailstock more intuitively and conveniently, reducing the difficulty of operation and the error rate.

[0024] The integrated fault diagnosis system improves the reliability and safety of the system. The mechanical movement of the tailstock in the automatic control mode is independently controlled through the mechanical area parameter setting and port signal input. The control parameter configuration is flexible, and the controller panel structure is simple, cost-effective, and the independent control servo tailstock controller with high control accuracy can achieve precise control of the tailstock through independent control technology to meet the urgent needs of modern mechanical processing for automation and intelligence.

[0025] Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.

[0027] Figure 1It is a structural diagram of the driver installation of the present invention; Figure 2 It is a schematic diagram of the mechanical position of the tailstock, where A is the tightening position, B is the slow speed range, A+C is the retraction distance 1, D is the workpiece length difference, E is the holding tolerance, F is the mechanical zero point, and A+B is the mechanical deceleration position; Figure 3 This is the torque tightening flow chart; Figure 4 It is the fallback flow chart; Figure 5 Set up a flow chart for torque gear; Figure 6 Set the process for tightening position and mechanical zero point; Figure 7 Electrical wiring diagram for servo drive; Figure 8 This is the operation panel diagram of the servo drive unit; Fig. 9 It is the main menu of 260M servo drive unit; Fig.10 This is a diagram of the visual operation interface. DETAILED DESCRIPTION

[0028] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0029] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0030] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the main purpose of the present disclosure.

[0031] Example 1

[0032] like Figure 7 As shown, on one hand, the present application proposes a servo tailstock controller based on independent control, which is used to control the tailstock to achieve corresponding independently controlled mechanical movement under the configured mechanical area parameters and port signal input; the servo tailstock controller includes: Servo drive chip, used for logic control, fault diagnosis and alarm; XT1 drive port, used to connect the power supply for power supply; XT2 drive port, used to connect the motor and perform motor servo output; XT3 drive port, used to connect to an external safety control system and control the torque output of the motor through the STO switch; XS1 serial communication interface, used to connect to the visual debugging interface (PC) for data debugging; XS2 network communication interface, used to connect to the visual debugging interface (PC) and provide data network communication; XS3 encoder interface, used to connect the motor encoder for encoding control; XS4 external IO interface, used to connect to the servo operation panel (HNC) for external input / output control; The XT1 drive port, XT2 drive port, XT3 drive port, XS1 serial communication interface, XS2 network communication interface, XS3 encoder interface and XS4 external IO interface are electrically connected to the servo drive chip respectively.

[0033] The types of servo drive chips mainly include the following: 1. Application-Specific Integrated Circuit (ASIC): An integrated circuit designed for a specific application that provides optimal performance and efficiency, but at a higher cost.

[0034] 2. Digital Signal Processor (DSP): A microprocessor specifically designed to process digital signals, with powerful computing capabilities and suitable for complex control algorithms.

[0035] 3. Microcontroller (MCU): A single-chip computer that integrates a CPU, memory, and various peripheral interfaces, suitable for simple servo control applications.

[0036] 4. Field Programmable Gate Array (FPGA): A programmable logic device that can implement highly customized hardware functions and is suitable for situations requiring fast processing and high reliability.

[0037] 5. Application-Specific Standard Product (ASSP): A standard product designed for a specific application, between ASIC and general-purpose chips, providing a better balance between performance and cost.

[0038] In this embodiment, a suitable servo driver chip type may be selected based on application requirements and cost considerations.

[0039] As attached Figure 1As shown, it is a schematic diagram of the installation structure of the servo tailstock controller of the present invention on the chassis. The specific installation position and the integrated installation structure of the servo tailstock controller are not limited in this embodiment, and the installation deployment scheme can be set according to the control requirements. For example, more than two servo tailstock controllers can be deployed, which can be used to control multiple CNC tailstocks. Each servo tailstock controller can be independently controlled by a PC and HNC to achieve cluster control and improve the efficiency of CNC machining control.

[0040] The servo tailstock controller independently controls the mechanical movement of the tailstock in automatic control mode through mechanical area parameter settings and port signal input.

[0041] The link communication between the servo tailstock controller and the PC and HNC can be connected according to the corresponding description of each port in this application.

[0042] In this embodiment, the servo tailstock controller independently controls the mechanical movement of the tailstock in the automatic control mode through mechanical area parameter settings and port signal input, as shown in the attached Figure 2 As shown, the mechanical motion control type can include: hold-down tolerance, top tightening position, slow speed range, mechanical deceleration position, retraction distance 1, workpiece length difference or mechanical zero point. The user selects the corresponding tailstock control motion type according to the actual processing requirements.

[0043] The control composition and principle of the controller will be described in detail below.

[0044] Combined with Figure 7-10 As shown, the drive ports include XT1&XT2 high-voltage terminals; XT3STO safe torque cut-off function; XS1 serial communication interface; XS2 network communication interface; XS3 encoder interface; XS4 external IO interface, servo operation panel (HNC, communicates with the servo tailstock controller through the XS4 external IO interface) and visual debugging interface (PC, communicates with the servo tailstock controller through the XS1 serial communication interface), fault diagnosis and alarm functions.

[0045] The XT1&XT2 high-voltage terminals include terminal marks XT1, XT2 and a grounding system. The terminals are used to connect the power input of the servo drive to ensure that the drive can receive and process the necessary power for the servo motor. Among them, L1, L2, and L3 in XT1 are the main circuit power supplies, which are connected to the external power supply three-phase AC220V (+10%~-15%, 50 / 60Hz). The design of the high-voltage terminals complies with industrial standards to ensure the reliability and safety of electrical connections.

[0046] The XT1&XT2 high-voltage terminals include terminal symbols XT1, XT2 and grounding system. Their functions are shown in Table 1 below: Table 1

[0047] XT3 STO safety torque cut-off function, STO (Safety Torque Off) is a safety function that can quickly cut off the torque output of the motor in an emergency, preventing the drive from transmitting energy to the motor to generate torque to stop mechanical movement. Avoid damage to the motor. The XT3 interface allows the servo drive to be connected to an external safety control system to ensure that mechanical operation can be stopped immediately when potential danger occurs.

[0048] The XT3STO safe torque cut-off function can prevent the driver from transmitting energy to the motor to generate torque, thus avoiding damage to the motor. The XT3 has 4 pin interfaces, as shown in Table 2: Table 2

[0049] STO enable and STO ground must be connected for enable operation, and the enable voltage is 24VDC. If the actual application does not require STO control, connect jumper pin 4 to pin 1 and pin 3 to pin 2 to skip STO.

[0050] The XS1 serial communication interface uses a standard serial communication protocol, allowing the servo drive to exchange data with a host controller or computer, supporting remote configuration, status monitoring, and fault diagnosis.

[0051] XS1 serial communication has 5 interfaces, the specific functions are as shown in Table 3: Table 3

[0052] XS2 network communication interface, in order to adapt to the modern industrial network environment, the XS2 interface provides Ethernet connection capability and supports network protocols such as TCP / IP. This allows the servo drive to be integrated into a wider range of automation systems to achieve high-speed data transmission and network control. The XS2 network communication interface has 8 IN / OUT terminals. The specific functions are as shown in Table 4: Table 4

[0053] The current servo only supports Huada motors with Tamagawa 17bit / 23bit encoders. The encoder is a key component in the servo system for accurately measuring the motor speed and position. The XS3 encoder interface is compatible with the TAMAGAWA absolute and NIKON absolute encoder signal functions. The XS3 interface allows the servo drive to receive feedback signals from the encoder to achieve closed-loop control and improve the control accuracy and stability of the system. The XS3 encoder has 7 terminal interfaces, as shown in Table 5: Table 5

[0054] XS4 external IO interface (the number of interfaces can be configured according to requirements, and there are 44 in this embodiment), including digital input and output (DI / DO), analog input and output (AI / AO), etc., is used to receive external switch signals, set point adjustments or output drive status information. These interfaces greatly facilitate the interaction with external sensors, actuators and other control devices, and realize flexible automation control logic.

[0055] XS4 has a total of 44 external IO interfaces (plus 6 empty pins that can be used for testing or other purposes), as shown in Table 6: Table 6

[0056] The servo operation panel (HNC) consists of 6 LED digital tube displays and 5 buttons M, S, ▲, ▼, ◄. The visual debugging interface (PC) can monitor some basic information of the motor and tailstock, and perform some basic debugging through buttons. Including: mode switching, axis setting, input and output, torque gear, parameter debugging, mode debugging.

[0057] The fault diagnosis and alarm function has three built-in fault codes, including: 1. General servo fault code, the alarm content includes: main circuit undervoltage, main circuit overvoltage, IPM module failure, motor overspeed, tracking error is too large, motor overload, parameter error, motor encoder signal, communication failure, driver encoding error, motor encoding error, DI function allocation failure, DO function allocation failure, encoder battery voltage failure, motor output phase loss, driver overload, motor stall overheat protection, electronic gear setting error, system self-identification adjustment error. 2. Servo general warning code, the alarm content includes: emergency stop warning, motor power line disconnection, encoder internal fault, user constants need to be re-powered after change. 3. Tailstock related fault code, the alarm content includes: positive limit alarm, negative limit alarm. The fault diagnosis and alarm function can automatically stop the tailstock movement under abnormal conditions to ensure the safety of the machine tool and workpiece.

[0058] The controller can also be configured with independent memory for data storage.

[0059] The working principle of the controller is: Reference Figure 7As shown in the figure, the servo electrical interface, from top to bottom, L1, L2, L3 on the left are the main circuit power supply, and the middle series reactor is connected to the external three-phase AC power supply 220V (+10%~-15%, 50 / 60Hz) to power the drive. Downward P and BK are external braking resistors, which usually do not need to be connected. When the release capacity of the internal braking resistor is insufficient, an external braking resistor must be connected between P and BK. P and BK cannot be short-circuited, otherwise the drive will burn out. Downward U and V are the three-phase power input terminals connected to the servo motor. The servo drive is electrically connected to the servo motor through these terminals to transfer current to drive the motor to rotate. The U terminal is the reference point for a phase shift of 0 degrees, the V terminal is usually connected to a winding with a phase shift of 120 degrees, and the W terminal is connected to a winding with a phase shift of 240 degrees. Downward STO interface is used to quickly stop the rotation of the motor in an emergency to protect the safety of operators and equipment. The STO switch on the servo drive is a key part to achieve this function. From top to bottom on the right are the USB interface and Ethernet debugging interface for connecting to a computer or other external devices for configuration, debugging and data exchange of the drive. The encoder interface below is a dedicated interface for connecting the encoder installed on the servo motor. The encoder is a sensor used to measure the rotational position, speed and direction of the motor shaft, which is essential for achieving precise closed-loop control. The IO interface below is a port for interacting with external devices (Huazhong CNC system). They allow the drive to receive external signals and send control signals for automated control and monitoring. The bottom PE interface is used to connect the metal casing of the servo drive to the protective ground wire of the facility to ensure electrical safety. In the event of an insulation fault or other situation that may cause the metal casing to be energized, grounding can provide a safe path for the fault current to flow, thereby triggering a protective device (such as a fuse or circuit breaker) to disconnect the power supply.

[0060] Reference Figure 8 The drive unit panel of this embodiment is composed of 6 LED digital tube displays and 5 buttons M, S, ▲, ▼, ◄. The 6 LED digital tubes are used to display the state of the drive unit, as well as to set, modify, and display various parameters. The 5 buttons are used to set, modify, and display various parameters. The functions of each button are as follows: M, used to switch between the first-level menu (main menu) modes; S, press to enter or exit the current submenu; ▲, increase the sequence number, value, or move forward; ▼, the serial number, value decreases, or the option goes back; ◄ moves the cursor one position to the left. When the drive unit is powered on, the 6 LED digital display tubes on the drive unit panel display "rdy". When the drive unit receives the enable signal from the host computer (or uses the internal enable function through parameters), if the drive unit has no alarm, the digital display tube on the drive unit panel displays "run".

[0061] Reference Fig. 9 , the operation is performed according to the multi-layer operation menu. The first layer is the main menu, including six operation modes, and the second layer is the function menu under each operation mode. By pressing the M key, you can switch between the modes in the first-level menu, and by pressing the S key, you can enter the second-level function menu.

[0062] Reference Fig.10 , the visual debugging interface can monitor some basic information of the motor and tailstock, and some basic debugging can also be performed at the button below. When the working mode button is pressed and the green light is on, the drive is in working mode, and the drive is controlled by the DI / DO signal. At this time, the button on the right side of the working mode can only monitor the current state of the drive. When the debugging mode button is pressed and the green light is on, the drive is in debugging mode, and the drive is controlled by the button on the right. In the axis setting interface, the motor speed (VEL), acceleration when increasing speed (ACC), acceleration when decreasing speed (DEC) and acceleration (JERK) can be monitored. In the input and output interface, the status of the input (DI) and output (DO) points of the drive can be monitored. In the torque gear interface, the corresponding torque value of each gear setting can be monitored. In the parameter debugging interface, parameter values ​​can be read and written. In the mode debugging interface, the torque output in the torque mode and the servo mode can be set.

[0063] Through the input control signals and mechanical area parameter settings of various ports, after being processed by the control system, the drive motor outputs the corresponding mechanical movement, including torque tightening and torque retraction. The driver port is equipped with XT1&XT2 strong power terminals; XT3STO safe torque cut-off function; XS1 serial communication interface; XS2 network communication interface; XS3 encoder interface; XS4 external IO interface. Equipped with a simple and easy-to-understand servo operation panel and a visual debugging interface, it provides users with an intuitive operation method. In addition, this controller also has fault diagnosis and alarm functions, which can automatically stop the tailstock movement under abnormal conditions to ensure the safety of the machine tool and workpiece.

[0064] In this embodiment, in addition to the above-mentioned debugging and information configuration and fault diagnosis alarm, the servo tailstock controller can also collect the servo drive parameters, mode and corresponding mechanical motion parameters of the tailstock and report them to the PC (working condition collection, such as the encoding information of the motor encoder, can be uploaded to the PC synchronously, so that the PC can monitor the movement of the tailstock).

[0065] The PC can also monitor and record the operating conditions, control parameters, and fault information in each mode, and perform additional fault diagnosis and alarm.

[0066] The servo tailstock controller can perform fault diagnosis and alarm functions through three built-in fault codes. Furthermore, the PC can perform big data learning and training based on the tailstock control big data reported by the servo tailstock controller in history, including the control / motion parameters and fault codes under the corresponding control mode and the corresponding fault diagnosis and repair measures (manually marked or automatically output by the system), generate a servo monitoring intelligent model for the corresponding tailstock, and deploy it on the PC for servo drive monitoring of the tailstock. According to the servo control data and fault codes of the tailstock reported by the servo tailstock controller, the servo monitoring intelligent model on the PC identifies the servo control data and fault codes of the tailstock, determines whether the servo control data of the tailstock is normal, and whether the corresponding fault information of the tailstock identified by learning occurs, and the model intelligently identifies and outputs and recommends the corresponding fault repair measures. According to the measures recommended by the model, the PC generates the corresponding fault handling control instructions and sends them to the servo tailstock controller for execution, thereby eliminating the servo fault code of the tailstock and realizing intelligent control and fault diagnosis and processing.

[0067] To train and generate the corresponding servo monitoring intelligent model, you can follow the following methods and steps: 1. Data collection: First, collect the normal operation data and fault data of the servo drive. Make sure the data covers various operating conditions and fault types.

[0068] 2. Data preprocessing: Clean the collected data, including removing noise, filling missing values, data standardization or normalization, etc., to improve data quality.

[0069] 3. Feature engineering: Analyze data and extract features that are helpful for model learning. This may include time domain features, frequency domain features, statistical features, etc. In this embodiment, control parameter features, motion features, fault codes, and text features of corresponding fault diagnosis and repair measures under different mechanical motion modes can be extracted to construct feature sets under different modes for model training, so that the model can identify control / motion features under different modes and corresponding fault repair measures.

[0070] 4. Dataset division: Divide the dataset into training set, validation set and test set. The ratio is usually 70% training, 15% validation and 15% test.

[0071] 5. Choose a model: Choose an appropriate machine learning or deep learning model based on the nature of the problem. For time series data, consider recurrent neural networks (RNN) or long short-term memory networks (LSTM).

[0072] 6. Model training: Use the training set data to train the model, and use the validation set to adjust the model parameters and structure to prevent overfitting.

[0073] 7. Model evaluation: Use the test set to evaluate the model performance and measure the diagnostic ability of the model through indicators such as accuracy, recall, and F1 score.

[0074] 8. Model optimization: Optimize the model based on the evaluation results, which may include adjusting the network structure, adding data enhancement, using regularization techniques, etc.

[0075] 9. Deploy the model: Deploy the trained model to the actual servo monitoring system for real-time or periodic monitoring and fault prediction.

[0076] 10. Model monitoring and maintenance: Continuously monitor the performance of the model, regularly update and maintain the model based on new data and feedback to ensure the accuracy and reliability of the model.

[0077] Throughout the process, ensure compliance with data protection regulations and industrial standards to protect data security and privacy. Specifically, training can be performed according to the selected model. For example, for the RNN model, the training steps can be implemented in combination with the training method of the RNN model, which can be performed by the administrator.

[0078] The corresponding training data can be collected through the servo tailstock controller.

[0079] Therefore, the present application can realize a high-precision independently controlled servo tailstock drive.

[0080] In specific applications, the servo drive can be configured as: power 1.5kw, rated current 12A, maximum current 31.5A, servo power supply is three-phase 220V AC, and brake resistor is 50Ω.

[0081] The servo tailstock controller of the present invention is suitable for high-precision long-axis processing, especially in the fields of automobile, aerospace and precision machinery manufacturing.

[0082] Therefore, the independently controlled servo tailstock controller of the present invention has a simple structure, high cost-effectiveness and high control accuracy, and realizes precise control of the tailstock through independent control technology to meet the urgent needs of modern mechanical processing for automation and intelligence.

[0083] Obviously, those skilled in the art should understand that the implementation of all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above-mentioned embodiments. Those skilled in the art can understand that the implementation of all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above-mentioned embodiments. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (Flash Memory), a hard disk (Hard Disk Drive, abbreviated as: HDD) or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above-mentioned types of memory.

[0084] Example 2

[0085] Based on the implementation principle of Example 1, on the other hand, the present application proposes a servo tailstock control method based on independent control, which is implemented based on the servo tailstock controller based on independent control, and includes the following steps: Torque mode: The CNC system triggers the DI0 signal to perform torque tightening control and output DO1; Retraction process: The CNC system triggers the DI0 signal to determine whether the servo tailstock is tight and retracts the distance 1; Gear setting: The CNC system triggers the DI3-DI8 combination signal to modify the torque gear; Position setting: The CNC system triggers the DI10-DI11 combination signal to set the current position as the tightening position or mechanical zero point.

[0086] The specific steps are as follows: Reference Figure 2, mechanical movement and mechanical area include: A top tightening position, B slow speed interval range, A+C retraction distance 1, D workpiece length difference, E hold-down tolerance, F mechanical zero point, A+B mechanical deceleration position. When the DI10 signal output by the system is 1 and the DI11 signal is 0, the system will record the current position as the top tightening position after a delay of 3 seconds. The tailstock stops moving after 3 seconds and uses this stopped position as the reference point when the workpiece is pressed. The slow speed interval range defines a distance interval in which the tailstock will move at a slower speed. It is used to reduce impact and improve positioning accuracy when approaching the top tightening position. "A+B" means that the tailstock will decelerate within the interval extending outward from the top tightening position by a distance of B. The retraction distance 1 sets the distance that the tailstock will retract from the top tightening position. "A+C" means that the tailstock will retract from the top tightening position by a distance of C to a safe position for workpiece replacement or other operations. The workpiece length difference is used to set the allowable error range of the workpiece length. During the automatic control process, the system will adjust the position of the tailstock according to this parameter to adapt to workpieces of different lengths. The hold-down tolerance defines the allowable error when the tailstock is clamped against the workpiece. That is, if the deviation between the actual position of the tailstock and the set clamping position is within this error range, the system will assume that the workpiece has been correctly clamped. The mechanical zero point is similar to the setting of the clamping position. This setting involves moving the tailstock to another specific position and is a starting point. When the DI10 signal output by the system is 0 and the DI11 signal is 1, the system will record the current position as the mechanical zero position after a delay of 3 seconds.

[0087] Reference Figure 3 , the CNC system sends a digital input and output (DIO) signal to start the automatic control process of the servo tailstock. The servo tailstock starts working, first moving forward at high speed in the high-speed section until it reaches the predetermined deceleration position. After reaching the deceleration position, it switches to torque mode and continues to move forward at low torque speed to the section where the top tightening is completed. In the section where the top tightening is completed, the torque begins to be gradually increased to the set value. If the servo tailstock reaches the section where the top tightening is completed under the set torque and the position does not exceed the section, the system determines that the top tightening is in place. If the servo tailstock is in the section where the top tightening is completed and the position exceeds the predetermined range, the system determines that the top tightening has failed and outputs the D02 signal. The servo maintains the top tightening state, the system updates the top tightening position, and outputs the D01 signal, indicating that the top tightening operation is successfully completed. Otherwise, the servo is not allowed to move forward, and the operator needs to perform a back operation and clear the alarm before retrying the top tightening. After the top tightening operation is completed, whether it is successful or failed, the current top tightening sequence ends.

[0088] Reference Figure 4, the CNC system sends a digital input and output (DIO) signal to start the retraction process of the servo tailstock. The servo system first checks whether the tailstock is pressed against the workpiece. If the tailstock is not pressed against the workpiece, the servo system will retract a certain distance at the retraction speed set by parameter PnA11. If the tailstock is pressed against the workpiece, the servo system will retract to the preset retraction distance or mechanical zero point at the high speed set by parameter PnAOF. This step is to move the tailstock from the working position to a safe position for workpiece replacement or other operations. Once the tailstock retracts to the specified position, the entire retraction process ends.

[0089] Reference Figure 5 , the CNC system triggers the gear setting process through a specific combination of digital input (DI) signals DI3 to DI6. After the DI3-DI6 signal is triggered, the system will have a delay and then trigger another digital input signal DI8. The servo drive will modify the gear when it receives the rising edge of the DI8 signal (that is, the state from 0 to 1). The drive will determine the new torque gear setting based on the combined state of DI3 to DI6 at the moment of the rising edge of the DI8 signal. After the gear setting is completed, the process ends.

[0090] Reference Figure 6 , the CNC system triggers the position setting process through a specific combination of digital input (DI) signals DI10 and DI11. The combined signal of DI10 and DI11 needs to last for a certain time (generally 2-3 seconds) to ensure the stability of the signal and avoid false triggering. After receiving the combined signal of DI10 and DI11 for 3 seconds, the servo drive will determine the current position setting according to the specific combined value of the two signals: if the DI10 signal is 1 and the DI11 signal is 0, the drive sets the current position to the top tightening position; if the DI10 signal is 0 and the DI11 signal is 1, the drive sets the current position to the mechanical zero point. Once the current position is successfully set to the top tightening position or the mechanical zero point, the position setting process ends.

[0091] As for the method in which the system collects and uploads the control / motion data and fault information of the tailstock to the PC through the servo tailstock controller, and performs online fault identification and monitoring by the PC side (backend or control side), please understand it in conjunction with the "Servo Monitoring Intelligent Model" of Example 1, and this example will not be repeated.

[0092] The modules or steps of the present invention described above can be implemented by a general-purpose computing system, they can be concentrated on a single computing system, or distributed on a network composed of multiple computing systems, and optionally, they can be implemented by a program code executable by a computing system, so that they can be stored in a storage system and executed by the computing system, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0093] Example 3

[0094] Furthermore, in another aspect, the present application also proposes an electronic device, comprising: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to implement the servo tailstock control method described in Example 2 when executing the executable instructions.

[0095] The electronic device of the embodiment of the present disclosure includes a processor and a memory for storing processor executable instructions, wherein the processor is configured to implement the servo tailstock control method described in the above embodiment 2 when executing the executable instructions.

[0096] Here, it should be noted that the number of processors can be one or more. At the same time, the electronic device of the embodiment of the present disclosure may also include an input system and an output system. Among them, the processor, memory, input system and output system may be connected through a bus or in other ways, which are not specifically limited here.

[0097] The memory, as a computer-readable storage medium, can be used to store software programs, computer executable programs and various modules, such as the program or module corresponding to the servo tailstock control method of the embodiment of the present disclosure. The processor executes various functional applications and data processing of the electronic device by running the software programs or modules stored in the memory.

[0098] The input system can be used to receive input numbers or signals. The signal can be a key signal related to user settings and function control of the device / terminal / server. The output system can include display devices such as display screens.

[0099] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A servo tailstock controller based on independent control, characterized in that: Used to control the tailstock to achieve corresponding independently controlled mechanical movement under the configured mechanical area parameters and port signal input; the servo tailstock controller includes: Servo drive chip, used for logic control, fault diagnosis and alarm; XT1 drive port, used to connect the power supply for power supply; XT2 drive port, used to connect the motor and perform motor servo output; XT3 drive port, used to connect to an external safety control system and control the torque output of the motor through the STO switch; XS1 serial communication interface, used to connect to the visual debugging interface (PC) for data debugging; XS2 network communication interface, used to connect to the visual debugging interface (PC) and provide data network communication; XS3 encoder interface, used to connect the motor encoder for encoding control; XS4 external IO interface, used to connect to the servo operation panel (HNC) for external input / output control; The XT1 drive port, XT2 drive port, XT3 drive port, XS1 serial communication interface, XS2 network communication interface, XS3 encoder interface and XS4 external IO interface are electrically connected to the servo drive chip respectively.

2. According to the servo tailstock controller based on independent control according to claim 1, it is characterized in that: The mechanical area includes at least one of the following mechanical motion control areas: Press the allowable error, tightening position, slow speed range, mechanical deceleration position, retraction distance 1, workpiece length difference or mechanical zero point.

3. The servo tailstock controller based on independent control according to claim 1, characterized in that: The XT1 driver port includes: L1-L3 terminals are used to connect external three-phase power supply; P and BK terminals are used to connect the braking resistor.

4. The servo tailstock controller based on independent control according to claim 1, characterized in that: The XT2 driver port includes: U, V, W terminals are used to connect the three-phase input interface of the motor respectively; Ground terminal, used for grounding.

5. The servo tailstock controller based on independent control according to claim 1, characterized in that: The XT3 drive port has an enable pin for enabling a voltage of 24V DC; and, if the actual application does not require STO control, pin 4 is connected to pin 1 and pin 3 is connected to pin 2 to skip STO switch control.

6. The servo tailstock controller based on independent control according to claim 1, characterized in that: The XS3 encoder interface is adapted to the signals of TAMAGAWA absolute encoder and NIKON absolute encoder.

7. The servo tailstock controller based on independent control according to claim 1, characterized in that: The fault diagnosis and alarm of the servo drive chip include: General servo fault code, alarm content includes: main circuit undervoltage, main circuit overvoltage, IPM module failure, motor overspeed, tracking error is too large, motor overload, parameter error, motor encoder signal, communication failure, driver encoding error, motor encoding error, DI function allocation failure, DO function allocation failure, encoder battery voltage failure, motor output phase loss, driver overload, motor stall overheat protection, electronic gear setting error, system self-identification adjustment error; Servo general warning code, alarm content includes: emergency stop warning, motor power line disconnection, encoder internal fault, user constants need to be re-powered after change; Tailstock related fault codes, alarm contents include: positive limit alarm, negative limit alarm; When the above faults and alarms occur, the tailstock is controlled to stop moving.

8. A servo tailstock control method based on independent control, implemented based on the servo tailstock controller based on independent control according to any one of claims 1 to 7, characterized in that: The steps include: Torque mode: The CNC system triggers the DI0 signal to perform torque tightening control and output DO1; Retraction process: The CNC system triggers the DI0 signal to determine whether the servo tailstock is tight and retracts the distance 1; Gear setting: The CNC system triggers the DI3-DI8 combination signal to modify the torque gear; Position setting: The CNC system triggers the DI10-DI11 combination signal to set the current position as the tightening position or mechanical zero point.

9. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to implement the servo tailstock control method based on independent control as claimed in claim 8 when executing the executable instructions.

Citation Information

Patent Citations

  • Lathe electric tailstock intelligent control device based on singlechip

    CN102789207A

  • Servo motor driven tail table of numerical control lathe

    CN107570734A

  • Tailstock system and working method thereof, and computer numerical control machine tool

    CN107942951A

  • Servo driving and motion control methods and systems of tail mechanism, terminal and computer numerical control machine tool

    CN108762196A

  • Lathe tailstock torque function design method based on numerical control system

    CN109917755A