A feeding system, method and servo driver for a CNC lathe

By using the linear drive structure of the servo motor in the CNC lathe instead of the cylinder and avoiding alarms when the servo motor is in the collision detection mode, the high loading cost caused by the cylinder is easily damaged and the shutdown problems caused by the servo motor alarm are solved, and the normal processing and production efficiency of the CNC lathe is improved.

CN119057546BActive Publication Date: 2025-04-01广东亚数智能科技股份有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411270967.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-11
Publication Date
2025-04-01
Estimated Expiration
2044-09-11

AI Technical Summary

Technical Problem

The cylinders of CNC lathes are easily damaged, resulting in high loading costs; the servo motor alarms when the parts to be processed are tightened, resulting in the CNC lathe being shut down and cannot be processed normally.

Method used

A linear drive structure including a servo motor is used instead of the cylinder, and the loading of the CNC lathe is completed by combining the feeding clamping assembly, the first servo motor, the first servo driver and the pushing assembly, and when the servo motor is in the collision detection mode, an alarm is avoided because the electrical parameters exceed the set value.

Benefits of technology

It effectively reduces the loading cost of CNC lathes, avoids the shutdown caused by servo motor alarm, and ensures the normal processing of CNC lathes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119057546B_ABST
    Figure CN119057546B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of CNC lathes, and specifically provides a feeding system, method and servo driver for a CNC lathe, the system comprising: a feeding clamping component; a driving component comprising a first servo motor, a first servo driver and a pushing component; a controller, which is used to control the first servo motor to drive a part to be processed toward a spindle in a position mode by using the first servo driver, and is also used to generate a detection mode switching signal to switch the first servo motor from the position mode to the collision detection mode when the total amount of executed pulses of the first servo motor reaches a first preset threshold, and to control the first servo motor to drive the part to be processed toward the spindle in the collision detection mode by using the first servo driver; the system can effectively solve the problems of high feeding cost of CNC lathes due to easy damage of cylinders and inability of CNC lathes to process parts to be processed normally due to the servo motor alarming and triggering the shutdown of the CNC lathe when the part to be processed is pressed against the spindle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of CNC lathes, and in particular to a feeding system, method and servo driver for a CNC lathe. Background Art

[0002] In the technical field of CNC lathes, the loading of the parts to be processed is usually completed by the cooperation of the cylinder and the part fixture. Since the cylinder is easily damaged after long-term use, the related technology has the problem that the cylinder is easily damaged and the damaged cylinder needs to be repaired or replaced, resulting in a high loading cost of the CNC lathe. In order to solve this technical problem, the related technology can use a linear drive structure including a servo motor to replace the cylinder. However, when loading the CNC lathe, in order to ensure the processing accuracy of the CNC lathe, the parts to be processed need to be pressed against the spindle. When the parts to be processed are pressed against the spindle, the electrical parameters of the servo motor will exceed the set value, and the servo motor will alarm and trigger the CNC lathe to stop. Therefore, when the servo motor is used to replace the cylinder, the related technology has the problem that the servo motor will alarm and trigger the CNC lathe to stop when the parts to be processed are pressed against the spindle, resulting in the CNC lathe being unable to process the parts to be processed normally.

[0003] There is no effective technical solution to the above problems. It should be noted that the above information disclosed in this section is only used to understand the background of the present invention, and therefore may contain information that does not constitute prior art. Summary of the invention

[0004] The purpose of the present application is to provide a feeding system, method and servo driver for a CNC lathe, which can effectively solve the problems of high feeding cost of the CNC lathe due to easy damage of the cylinder and inability of the CNC lathe to process the parts to be processed normally due to the servo motor alarming and triggering the CNC lathe to stop when the parts to be processed are pressed against the spindle.

[0005] In a first aspect, the present application provides a CNC lathe feeding system for feeding a CNC lathe, wherein the CNC lathe includes a machine tool and a spindle, and the CNC lathe feeding system includes:

[0006] A material loading and clamping assembly is used to clamp the parts to be processed;

[0007] A driving assembly is installed on the machine tool, and includes a first servo motor, a first servo driver and a pushing assembly, wherein the first servo motor is connected to the feeding clamping assembly through the pushing assembly;

[0008] A controller, configured to, when the part to be processed is facing the spindle, control the first servo motor to drive the part to be processed toward the spindle in a position mode by using the first servo driver, and to generate a detection mode switching signal to switch the first servo motor from the position mode to the collision detection mode when the total amount of executed pulses of the first servo motor reaches a first preset threshold, and control the first servo motor to drive the part to be processed toward the spindle in the collision detection mode by using the first servo driver;

[0009] The process of using the first servo driver to control the first servo motor to drive the part to be processed to move toward the spindle in the collision detection mode includes:

[0010] The first servo driver is used to control the first servo motor to drive the part to be processed to move toward the main shaft and continuously obtain the total amount of unexecuted pulses of the first servo motor. When the total amount of unexecuted pulses reaches a second preset threshold, the first servo driver is used to control the first servo motor to stop.

[0011] The present application provides a feeding system for a CNC lathe, comprising a feeding clamping assembly, a driving assembly and a controller. Since the present application can complete the feeding of the CNC lathe through the cooperation of the feeding clamping assembly, the first servo motor, the first servo driver and the pushing assembly, the present application is equivalent to using a linear drive structure including a servo motor to replace the cylinder, thereby effectively solving the problem of high feeding cost of the CNC lathe due to easy damage to the cylinder. Since when the first servo motor is in a collision detection mode, even if the electrical parameters of the first servo motor exceed the set values, the first servo motor will not alarm. Therefore, the present application can effectively avoid the situation where the electrical parameters of the first servo motor exceed the set values ​​when the part to be processed is pressed against the spindle, causing the first servo motor to alarm and trigger the CNC lathe to stop, thereby effectively solving the problem that the CNC lathe cannot normally process the part to be processed due to the servo motor alarming and triggering the CNC lathe to stop when the part to be processed is pressed against the spindle.

[0012] Optionally, the feeding system of the CNC lathe also includes a parts supply assembly for supplying parts to be processed, the feeding clamping assembly includes a swing arm and a rotating assembly, a parts fixture for clamping the parts to be processed is fixed to the end of the swing arm, the rotating assembly is installed on the machine tool, the rotating assembly includes a second servo motor and a second servo driver, the second servo motor is connected to the swing arm, and the first servo motor is connected to the swing arm through a pushing assembly, the controller is also used to use the second servo driver to control the second servo motor to drive the swing arm to swing so that the part fixture is facing the parts to be processed supplied by the parts supply assembly, and use the first servo driver to control the first servo motor to drive the swing arm to move toward the spindle and control the part fixture to clamp the parts to be processed. The controller is also used to use the second servo driver to control the second servo motor to drive the swing arm to swing after the part fixture clamps the parts to be processed so that the parts to be processed are facing the spindle.

[0013] Optionally, the controller is also used to control the second servo motor to drive the swing arm to swing to the zero point by using the second servo driver when the CNC lathe is turned on, and the process of controlling the second servo motor to drive the swing arm to swing by using the second servo driver so that the part fixture is facing the part to be processed supplied by the part supply assembly includes:

[0014] According to the first preset stroke, the second servo driver is used to control the second servo motor to drive the swing arm to swing, so that the part fixture is directly facing the part to be processed supplied by the part supply assembly;

[0015] The process of using the second servo driver to control the second servo motor to drive the swing arm to swing so that the part to be processed faces the spindle includes:

[0016] According to the second preset stroke, the second servo driver is used to control the second servo motor to drive the swing arm to swing, so as to swing the part to be processed to face the main shaft.

[0017] Optionally, an image acquisition component for collecting image information is also fixed to the end of the swing arm. The controller is also used to obtain the posture information of the part to be loaded and the posture information of the fixture according to the image information after controlling the second servo motor to drive the swing arm to swing according to the first preset stroke using the second servo driver, and analyze whether the posture of the part to be processed supplied by the part supply component is abnormal according to the posture information of the part to be loaded and the second preset posture, and analyze whether the part fixture is facing the part to be processed according to the posture information of the fixture and the third preset posture. The controller is also used to control the CNC lathe to stop and generate an alarm message when the posture of the part to be processed supplied by the part supply component is abnormal, and to analyze whether the part fixture is facing the part to be processed according to the posture information of the fixture and the third preset posture. The controller is also used to control the CNC lathe to stop and generate an alarm message when the posture of the part to be processed supplied by the part supply component is normal and the part fixture is not facing the part to be processed. If so, the CNC lathe is controlled to stop and an alarm message is generated. If not, the fixture offset information is obtained according to the image information, and the second servo driver is used to control the second servo motor to drive the swing arm to swing according to the fixture offset information, so that the part to be processed faces the part fixture.

[0018] Optionally, the second servo motor is connected to the swing arm through a gear set, a protrusion is provided on the gear set, a limit block capable of abutting against the protrusion is fixed on the machine tool, and the process of using the second servo driver to control the second servo motor to drive the swing arm to swing to zero point includes:

[0019] The second servo driver is used to control the second servo motor to drive the swing arm to swing until the protrusion contacts the limit block.

[0020] Optionally, the CNC lathe feeding system also includes a posture acquisition component, which is used to obtain the posture information of the output end of the parts supply component. The controller is also used to analyze whether the posture of the output end of the parts supply component has changed according to the posture information and the first preset posture when the CNC lathe is turned on or the continuous working time of the CNC lathe reaches a second preset time threshold. If so, the CNC lathe is controlled to stop and an alarm message is generated. If not, the CNC lathe is controlled to operate normally.

[0021] Since the technical solution is equivalent to analyzing whether an unexpected deflection occurs to the parts supply component when the CNC lathe is turned on or works for a long time, if so, the CNC lathe is controlled to stop and an alarm message is generated; if not, the CNC lathe is controlled to operate normally. Therefore, the technical solution can effectively avoid the situation where the parts fixture cannot clamp the workpiece to be processed due to unexpected deviation of the parts supply component, resulting in failure of loading on the CNC lathe.

[0022] Optionally, the first servo driver outputs a valid level signal when the total amount of unexecuted pulses reaches a second preset threshold value, and the controller is also used to control the spindle to clamp the part to be processed when the valid level signal is obtained, and then control the first servo motor and the rotating assembly to reset.

[0023] Optionally, the spindle generates a reset signal when clamping the part to be processed, and the process of controlling the first servo motor and the rotating assembly to reset includes:

[0024] When the reset signal is obtained, the first servo driver is used to control the first servo motor to drive the loading clamping assembly to move away from the main shaft in the position mode, and after the first servo motor completes the reset, the rotating assembly is controlled to reset.

[0025] Because when the reset signal is obtained, the technical solution controls the first servo motor to drive the loading clamping assembly to move away from the main shaft in the position mode, that is, the technical solution is equivalent to controlling the first servo motor to quickly reset when the reset signal is obtained, and only after the first servo motor completes the reset, the CNC lathe can process the parts to be processed. Therefore, the technical solution can effectively shorten the time difference from the time node when the spindle completes clamping the parts to be processed to the time node when the CNC lathe starts processing the parts to be processed, thereby effectively improving the production efficiency of the CNC lathe.

[0026] In a second aspect, the present application further provides a CNC lathe feeding method for feeding a CNC lathe, wherein the CNC lathe includes a machine tool and a spindle. The CNC lathe feeding method is applied to the CNC lathe feeding system provided in the first aspect above. The CNC lathe feeding method includes the following steps:

[0027] When the part to be processed is facing the spindle, the first servo driver is used to control the first servo motor to drive the part to be processed to move toward the spindle in the position mode;

[0028] When the total amount of executed pulses of the first servo motor reaches a first preset threshold, a detection mode switching signal is generated to switch the first servo motor from the position mode to the collision detection mode, and the first servo driver is used to control the first servo motor to drive the part to be processed to move toward the spindle in the collision detection mode;

[0029] The process of using the first servo driver to control the first servo motor to drive the part to be processed to move toward the spindle in the collision detection mode includes:

[0030] The first servo driver is used to control the first servo motor to drive the part to be processed to move toward the main shaft and continuously obtain the total amount of unexecuted pulses of the first servo motor. When the total amount of unexecuted pulses reaches a second preset threshold, the first servo driver is used to control the first servo motor to stop.

[0031] The present application provides a method for feeding a CNC lathe, which is used in feeding a CNC lathe. The system includes a feeding clamping assembly, a driving assembly and a controller. Since the present application can complete the feeding of the CNC lathe through the cooperation of the feeding clamping assembly, the first servo motor, the first servo driver and the pushing assembly, the present application is equivalent to using a linear drive structure including a servo motor to replace the cylinder, thereby effectively solving the problem of high feeding cost of the CNC lathe due to easy damage to the cylinder. Since when the first servo motor is in a collision detection mode, even if the electrical parameters of the first servo motor exceed the set values, the first servo motor will not alarm. Therefore, the present application can effectively avoid the situation where the electrical parameters of the first servo motor exceed the set values ​​when the part to be processed is pressed against the spindle, causing the first servo motor to alarm and trigger the CNC lathe to stop, thereby effectively solving the problem that the CNC lathe cannot normally process the part to be processed due to the servo motor alarming and triggering the CNC lathe to stop when the part to be processed is pressed against the spindle.

[0032] On the third aspect, the present application also provides a servo drive, which is electrically connected to a servo motor for driving a part to be processed toward a spindle. The servo drive is used to control the servo motor to drive the part to be processed toward the spindle in a position mode under the action of a controller when the part to be processed is facing the spindle. The servo drive is also used to control the servo motor to switch from the position mode to the collision detection mode when a detection mode switching signal generated by the controller when the total amount of executed pulses of the servo motor reaches a first preset threshold is obtained. Under the action of the controller, the servo motor is controlled to drive the part to be processed toward the spindle in the collision detection mode and continuously obtain the total amount of unexecuted pulses of the servo motor; and when the total amount of unexecuted pulses reaches a second preset threshold, the servo motor is controlled to stop under the action of the controller.

[0033] The present application provides a servo driver, which first controls the servo motor to drive the swing arm to move toward the spindle in the position mode when the part to be processed is facing the spindle, and then controls the servo motor to switch from the position mode to the collision detection mode when the detection mode switching signal generated by the controller when the total amount of executed pulses of the servo motor reaches a first preset threshold value. Under the action of the controller, the servo motor is controlled to drive the part to be processed toward the spindle in the collision detection mode and continuously obtain the total amount of unexecuted pulses of the servo motor, and when the total amount of unexecuted pulses reaches a second preset threshold value, the servo motor is controlled to stop under the action of the controller. When the servo motor is in the collision detection mode, the servo motor will not alarm even if the electrical parameters of the servo motor exceed the set values. Therefore, the present application can effectively avoid the situation where the servo motor alarms and triggers the CNC lathe to stop due to the electrical parameters of the servo motor exceeding the set values ​​when the part to be processed is pressed against the spindle, thereby effectively solving the problem that the CNC lathe cannot normally process the part to be processed due to the servo motor alarming and triggering the CNC lathe to stop when the part to be processed is pressed against the spindle.

[0034] As can be seen from the above, the present application provides a CNC lathe feeding system, method and servo driver, including a feeding clamping component, a drive component and a controller. Since the present application can complete the feeding of the CNC lathe through the cooperation of the feeding clamping component, the first servo motor, the first servo driver and the pushing component, the present application is equivalent to using a linear drive structure including a servo motor to replace the cylinder, thereby effectively solving the problem of high feeding cost of the CNC lathe due to the easy damage of the cylinder. Since when the first servo motor is in the collision detection mode, even if the electrical parameters of the first servo motor exceed the set value, the first servo motor will not alarm. Therefore, the present application can effectively avoid the situation where the electrical parameters of the first servo motor exceed the set value when the part to be processed is pressed against the spindle, causing the first servo motor to alarm and trigger the CNC lathe to stop, thereby effectively solving the problem that the CNC lathe cannot normally process the part to be processed due to the servo motor alarming and triggering the CNC lathe to stop when the part to be processed is pressed against the spindle. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 A structural schematic diagram of a CNC lathe feeding system provided in an embodiment of the present application.

[0036] Figure 2 for Figure 1 Schematic diagram of the enlarged structure at A in FIG.

[0037] Figure 3 A schematic diagram of the control structure of a CNC lathe feeding system provided in an embodiment of the present application.

[0038] Figure 4A schematic structural diagram of a CNC lathe provided in an embodiment of the present application.

[0039] Figure 5 A flow chart of a CNC lathe feeding method provided in an embodiment of the present application.

[0040] Figure numerals: 1. Loading and clamping assembly; 101. Swing arm; 102. Rotating assembly; 121. Second servo motor; 122. Second servo driver; 103. Part fixture; 2. Parts to be processed; 3. Driving assembly; 31. First servo motor; 32. First servo driver; 33. Pushing assembly; 331. Driving wheel; 332. Synchronous belt; 333. Driven wheel; 334. Slide rail; 335. Slider; 4. Controller; 5. Parts supply assembly; 6. Image acquisition assembly; 7. Gear set; 8. Bump; 9. Limit block; 10. Posture acquisition assembly; 11. Machine tool; 12. Spindle. DETAILED DESCRIPTION

[0041] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0042] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0043] First, as Figure 1-Figure 4 As shown, the present application provides a CNC lathe feeding system for feeding a CNC lathe, wherein the CNC lathe comprises a machine tool 11 and a spindle 12, and the CNC lathe feeding system comprises:

[0044] A material loading and clamping assembly 1, used for clamping a part 2 to be processed;

[0045] The driving assembly 3 is installed on the machine tool 11, and includes a first servo motor 31, a first servo driver 32 and a pushing assembly 33. The first servo motor 31 is connected to the feeding clamping assembly 1 through the pushing assembly 33;

[0046] The controller 4 is used to control the first servo motor 31 to drive the part to be processed 2 to move toward the spindle 12 in the position mode by using the first servo driver 32 when the part to be processed 2 is facing the spindle 12, and is also used to generate a detection mode switching signal to switch the first servo motor 31 from the position mode to the collision detection mode when the total amount of executed pulses of the first servo motor 31 reaches a first preset threshold, and control the first servo motor 31 to drive the part to be processed 2 to move toward the spindle 12 in the collision detection mode by using the first servo driver 32;

[0047] The process of using the first servo driver 32 to control the first servo motor 31 to drive the workpiece 2 to move toward the spindle 12 in the collision detection mode includes:

[0048] The first servo driver 32 is used to control the first servo motor 31 to drive the part 2 to be processed to move toward the spindle 12 and continuously obtain the total amount of unexecuted pulses of the first servo motor 31. When the total amount of unexecuted pulses reaches a second preset threshold, the first servo driver 32 is used to control the first servo motor 31 to stop.

[0049] Among them, a CNC lathe feeding system provided in the present application is used to feed the CNC lathe, and the CNC lathe can be an existing CNC lathe, and the CNC lathe includes a machine tool 11, a spindle 12 and a partition (not shown in the figure), and the partition is installed on the machine tool 11, and the partition divides the machine tool 11 into a processing chamber and an installation chamber, and the driving mechanism and transmission mechanism of the spindle 12 are located in the installation chamber, and the clamping mechanism of the spindle 12 is located in the processing chamber, and the spindle 12 can clamp the part 2 to be processed and drive the part 2 to be processed to rotate, and the part 2 to be processed is a part that needs to be processed by the CNC lathe. The feeding clamping component 1 of this embodiment can be a component such as an electric clamp or a hydraulic clamp that can clamp the part 2 to be processed. The driving component 3 of this embodiment includes a first servo motor 31, a first servo driver 32 and a pushing component 33. The first servo motor 31 and the first servo driver 32 are both located in the installation cavity. The first servo motor 31 is connected to the loading and clamping component 1 through the pushing component 33. The first servo motor 31 can drive the loading and clamping component 1 to move toward or away from the main shaft 12 through the pushing component 33. Since the loading and clamping component 1 of this embodiment can clamp the part to be processed 2, this embodiment can drive the part to be processed 2 to move toward the main shaft 12 by driving the loading and clamping component 1 to move toward the main shaft 12. The controller 4 of this embodiment is electrically connected to the loading and clamping assembly 1, the first servo motor 31 and the first servo driver 32 respectively. When the part 2 to be processed is facing the spindle 12, the controller 4 uses the first servo driver 32 to control the first servo motor 31 to drive the part 2 to be processed toward the spindle 12 in the position mode (this mode is the existing mode of the servo motor). Since this embodiment drives the part 2 to be processed to move by using the pushing assembly 33 by executing the pulse signal continuously output by the first servo driver 32 through the first servo motor 31, the total amount of pulses executed by the first servo motor 31 (the executed pulses of the first servo motor 31) is The total number of pulses) corresponds to the stroke of the part to be processed driven by the pushing component 33 driven by the first servo motor 31, that is, the total number of executed pulses of the first servo motor 31 can represent the stroke of the part to be processed. Therefore, when the total number of executed pulses of the first servo motor 31 reaches the first preset threshold value, the part 2 to be processed is moved to the vicinity of the position where it conflicts with the spindle 12. At this time, the controller 4 generates a detection mode switching signal to switch the first servo motor 31 from the position mode to the collision detection mode, and uses the first servo driver 32 to control the first servo motor 31 to drive the part to be processed 2 toward the spindle 12 in the collision detection mode.Since the pulse signal output by the first servo driver 32 will be consumed by the first servo motor 31 during the continuous movement of the part 2 to be processed, that is, the total amount of pulses not executed by the first servo motor 31 (total amount of unexecuted pulses) is dynamically balanced during the continuous movement of the part 2 to be processed, and the total amount of unexecuted pulses will increase only when the movement of the part 2 to be processed is restricted (the part 2 to be processed cannot continue to move because the part 2 to be processed is pressed against the spindle 12). Therefore, the present application can determine whether the part 2 to be processed is pressed against the spindle 12 by whether the total amount of unexecuted pulses reaches the second preset threshold value, and when the total amount of unexecuted pulses reaches the second preset threshold value, the first servo driver 32 is used to control the first servo motor 31 to stop. It should be understood that the first servo motor 31 will only continue to drive the part to be processed 2 to move toward the spindle 12 in the collision detection mode, that is, even if the electrical parameters of the first servo motor 31 exceed the set values, the first servo motor 31 will not alarm. Therefore, this embodiment is equivalent to causing the first servo motor 31 to continue to drive the part to be processed 2 to move toward the spindle 12 without alarming when the part to be processed 2 is moved to the vicinity of the position where it conflicts with the spindle 12 until the part to be processed 2 is pressed against the spindle 12. It should also be understood that the rotational speed of the first servo motor 31 in the position mode is greater than the rotational speed of the first servo motor 31 in the collision detection mode. Since this embodiment first controls the first servo motor 31 to drive the part to be processed 2 toward the spindle 12 in the position mode, and then controls the first servo motor 31 to drive the part to be processed 2 toward the spindle 12 in the collision detection mode when the total amount of executed pulses of the first servo motor 31 reaches the first preset threshold, this embodiment is equivalent to making the part to be processed 2 move toward the spindle 12 at a faster speed first, and then press the spindle 12 at a slower speed, thereby effectively improving the feeding efficiency of the CNC lathe feeding system.

[0050] The present application provides a feeding system for a CNC lathe, comprising a feeding clamping assembly 1, a driving assembly 3 and a controller 4. Since the present application can complete the feeding of the CNC lathe through the cooperation of the feeding clamping assembly 1, the first servo motor 31, the first servo driver 32 and the pushing assembly 33, the present application is equivalent to using a linear drive structure including a servo motor to replace the cylinder, thereby effectively solving the problem of high feeding cost of the CNC lathe due to easy damage of the cylinder. Since when the first servo motor 31 is in a collision detection mode, even if the electrical parameters of the first servo motor 31 exceed the set values, the first servo motor 31 will not alarm. Therefore, the present application can effectively avoid the situation where the electrical parameters of the first servo motor 31 exceed the set values ​​when the part to be processed 2 is pressed against the spindle 12, causing the first servo motor 31 to alarm and trigger the CNC lathe to stop, thereby effectively solving the problem that the CNC lathe cannot normally process the part to be processed 2 due to the servo motor alarming and triggering the CNC lathe to stop when the part to be processed 2 is pressed against the spindle 12. In addition, since the first servo motor 31 and the first servo driver 32 of this embodiment are both located in the installation cavity, the partition installed on the machine tool 11 can prevent the water sprayed when the part to be processed 2 is processed from splashing into the installation cavity. Therefore, this embodiment can also effectively avoid the situation where the first servo motor 31 and the first servo driver 32 are damaged due to the water sprayed when the part to be processed 2 is processed splashing onto the first servo motor 31 and the first servo driver 32, thereby effectively extending the service life of the first servo motor 31 and the first servo driver 32. It should be understood that the prior art can control the servo motor to drive the part to be processed 2 to move toward the spindle 12 by setting a fixed stroke. However, under the influence of factors such as mechanical fatigue or errors, controlling the servo motor to drive the part to be processed 2 to move toward the spindle 12 by setting a fixed stroke can easily result in the part to be processed 2 not being pressed against the spindle 12. Since the present application will control the first servo motor 31 to stop driving the part to be processed 2 to move toward the spindle 12 only when the total amount of unexecuted pulses reaches the second preset threshold, the present application can make the part to be processed 2 press against the spindle 12 even under the influence of factors such as mechanical fatigue or errors.

[0051] In some preferred embodiments, the CNC lathe feeding system also includes a part supply component 5 for supplying a part 2 to be processed, the feeding clamping component 1 includes a swing arm 101 and a rotating component 102, a part fixture 103 for clamping the part 2 to be processed is fixed at the end of the swing arm 101, the rotating component 102 is installed on the machine tool 11, the rotating component 102 includes a second servo motor 121 and a second servo driver 122, the second servo motor 121 is connected to the swing arm 101, the first servo motor 31 is connected to the swing arm 101 through the pushing component 33, and the controller 4 is also used The second servo driver 122 is used to control the second servo motor 121 to drive the swing arm 101 to swing, so that the part fixture 103 is facing the part to be processed 2 supplied by the part supply component 5, and the first servo driver 32 is used to control the first servo motor 31 to drive the swing arm 101 to move toward the spindle 12 and control the part fixture 103 to clamp the part to be processed 2. The controller 4 is also used to control the second servo motor 121 to drive the swing arm 101 to swing after the part fixture 103 clamps the part to be processed 2, so that the part to be processed 2 is facing the spindle 12. The rotating component 102 of this embodiment includes a second servo motor 121 and a second servo driver 122, and the second servo motor 121 and the second servo driver 122 are both located in the installation cavity. The second servo motor 121 is connected to the swing arm 101 in a transmission manner. The second servo motor 121 is used to drive the swing arm 101 to swing. This embodiment can drive the part to be processed 2 to swing toward the spindle 12 by driving the swing arm 101 to swing. The part supply assembly 5 of this embodiment is preferably a vibration plate, in which a plurality of parts 2 to be processed are placed, and the vibration plate supplies a single part 2 to be processed by direct vibration.

[0052] In some preferred embodiments, the controller 4 is also used to control the second servo motor 121 to drive the swing arm 101 to swing to the zero point by using the second servo driver 122 when the CNC lathe is turned on, and the process of controlling the second servo motor 121 to drive the swing arm 101 to swing by using the second servo driver 122 so that the part fixture 103 is facing the part to be processed 2 supplied by the part supply assembly 5 includes:

[0053] According to the first preset stroke, the second servo driver 122 controls the second servo motor 121 to drive the swing arm 101 to swing, so that the part fixture 103 faces the part 2 to be processed supplied by the part supply assembly 5;

[0054] The process of using the second servo driver 122 to control the second servo motor 121 to drive the swing arm 101 to swing so that the part 2 to be processed faces the spindle 12 includes:

[0055] According to the second preset stroke, the second servo driver 122 is used to control the second servo motor 121 to drive the swing arm 101 to swing, so as to swing the workpiece 2 to face the spindle 12 .

[0056] The zero point of this embodiment is a preset point. Since the positions of the part supply component 5 and the spindle 12 of this embodiment will not change, that is, the stroke from the zero point to the part supply component 5 and the stroke from the part supply component 5 to the spindle 12 will not change, this embodiment only needs to reset the swing arm 101 to the zero point when the CNC lathe is turned on, so that the part fixture 103 can be facing the part to be processed 2 supplied by the part supply component 5 by controlling the second servo motor 121 to drive the swing arm 101 to swing according to the first preset stroke, and the part to be processed 2 can be swung to face the spindle 12 by controlling the second servo motor 121 to drive the swing arm 101 to swing according to the second preset stroke.

[0057] In some preferred embodiments, an image acquisition component 6 for acquiring image information is also fixed to the end of the swing arm 101. The controller 4 is also used to obtain the posture information of the part to be loaded and the posture information of the fixture according to the image information after the second servo driver 122 controls the second servo motor 121 to drive the swing arm 101 to swing according to the first preset stroke, and analyze whether the posture of the part to be processed 2 supplied by the part supply component 5 is abnormal according to the posture information of the part to be loaded and the second preset posture, and analyze whether the part fixture 103 is correct for the part to be processed 2 according to the posture information of the fixture and the third preset posture. The controller 4 is also used to analyze whether the part supply component 5 is correct for the part to be processed 2 according to the posture information of the part to be loaded and the second preset posture. When the posture of the part 2 to be processed supplied by the parts supply component 5 is normal and the part fixture 103 is not facing the part 2 to be processed, the controller 4 is also used to analyze whether the part fixture 103 is offset on the swing arm 101 according to the image information. If so, the CNC lathe is controlled to stop and an alarm message is generated. If not, the fixture offset information is obtained according to the image information, and the second servo driver 122 is used to control the second servo motor 121 to drive the swing arm 101 to swing according to the fixture offset information, so that the part 2 to be processed is facing the part fixture 103. This embodiment can utilize the existing posture acquisition method to acquire the posture information of the part to be loaded (the actual posture of the part 2 to be processed supplied by the part supply component 5) and the fixture posture information (the actual posture of the part fixture 103, the posture of the part fixture 103 relative to the image acquisition component 6) according to the image information. The second preset posture of this embodiment is the expected posture of the part 2 to be processed supplied by the part supply component 5, and the third preset posture of this embodiment is the posture when the part fixture 103 is facing the part 2 to be processed supplied by the part supply component 5 (equivalent to the expected posture of the part fixture 103). This embodiment can analyze whether the posture of the part to be processed 2 supplied by the part supply component 5 is abnormal by determining whether the posture information of the part to be loaded is the same as the second preset posture. When the posture of the part 2 to be processed changes (the posture of the part 2 to be processed supplied by the part supply component 5 is abnormal), even if this embodiment can drive the swing arm 101 to swing so that the part fixture 103 faces the part 2 to be processed, this embodiment cannot swing the part 2 to be processed to face the spindle 12. Therefore, when the posture of the part 2 to be processed supplied by the part supply component 5 is abnormal, this embodiment controls the CNC lathe to stop and generates an alarm message.This embodiment can analyze whether the part fixture 103 is facing the part 2 to be processed by determining whether the fixture posture information is the same as the third preset posture. When the part fixture 103 is not facing the part 2 to be processed, this embodiment can drive the swing arm 101 to swing so that the part fixture 103 faces the part 2 to be processed. Therefore, when there is no abnormality in the posture of the part 2 to be processed supplied by the part supply component 5 and the part fixture 103 is not facing the part 2 to be processed, this embodiment first analyzes whether the part fixture 103 is offset on the swing arm 101 according to the image information, and when the part fixture 103 is not offset on the swing arm 101, obtains the fixture offset information according to the image information and controls the first servo drive 122 according to the fixture offset information. The second servo motor 121 drives the swing arm 101 to swing. Specifically, since the image acquisition component 6 of this embodiment is fixed at the end of the swing arm 101, that is, the posture conversion relationship between the image acquisition component 6 and the swing arm 101 is a preset value, this embodiment can first convert the fixture posture information into the actual posture of the part fixture 103 relative to the swing arm 101 according to the posture conversion relationship, and then analyze whether the part fixture 103 is offset on the swing arm 101 by judging whether the actual posture of the part fixture 103 relative to the swing arm 101 is the same as the preset posture of the part fixture 103 relative to the swing arm 101. After obtaining the fixture offset information, this embodiment can first obtain the fixture correction stroke according to the fixture offset information, and then use the second servo driver 122 to control the second servo motor 121 to drive the swing arm 101 to swing.

[0058] In some preferred embodiments, the controller 4 is further configured to calculate the offset ratio according to the fixture offset information and the first preset stroke after controlling the second servo motor 121 to drive the swing arm 101 to swing according to the fixture offset information using the second servo driver 122. The process of controlling the second servo motor 121 to drive the swing arm 101 to swing according to the second preset stroke using the second servo driver 122 includes: obtaining a third preset stroke according to the second preset stroke and the offset ratio, and controlling the second servo motor 121 to drive the swing arm 101 to swing according to the third preset stroke using the second servo driver 122. Since the swing amount of the swing arm 101 is associated with the rotation amount of the second servo motor 121, that is, this embodiment can convert the fixture offset information and the first preset stroke into the rotation amount of the second servo motor 121, so this embodiment can calculate the offset ratio according to the fixture offset information and the first preset stroke. For example, the rotation amount of the second servo motor 121 corresponding to the first preset stroke is 100 positive rotations, and the rotation amount of the second servo motor 121 corresponding to the fixture offset information is 10 positive rotations, then the offset ratio is +10%. Since the fixture offset information may be caused by factors such as mechanical fatigue or error, this factor still exists when the second servo driver 122 is used to control the second servo motor 121 to drive the swing arm 101 to swing according to the second preset stroke. Therefore, this embodiment needs to first obtain the third preset stroke according to the second preset stroke and the offset ratio, and then use the second servo driver 122 to control the second servo motor 121 to drive the swing arm 101 to swing according to the third preset stroke. For example, the offset ratio is +10%, and the rotation amount of the second servo motor 121 corresponding to the second preset stroke is 150 turns of reverse rotation, and the rotation amount of the second servo motor 121 corresponding to the third preset stroke is 165 turns of reverse rotation. This embodiment is equivalent to first calculating the offset ratio according to the fixture offset information and the first preset stroke, and then compensating the second preset stroke according to the offset ratio, so that the part 2 to be processed can be swung to face the spindle 12 at one time. In some preferred embodiments, the second servo motor 121 is connected to the swing arm 101 through the gear set 7, the gear set 7 is provided with a protrusion 8, and the machine tool 11 is fixed with a limit block 9 that can contact the protrusion 8. The process of using the second servo driver 122 to control the second servo motor 121 to drive the swing arm 101 to swing to the zero point includes:

[0059] The second servo driver 122 is used to control the second servo motor 121 to drive the swing arm 101 to swing until the protrusion 8 contacts the limit block 9 .

[0060] Specifically, since the second servo motor 121 of this embodiment is connected to the swing arm 101 through the gear set 7, this embodiment will not accidentally lose step. Since the gear set 7 of this embodiment is provided with a protrusion 8 and a limit block 9 that can interfere with the protrusion 8 is fixed on the machine tool 11, this embodiment can drive the swing arm 101 to swing until the protrusion 8 interferes with the limit block 9 to make the swing arm 101 swing to the zero point.

[0061] In some preferred embodiments, the CNC lathe feeding system further includes a posture acquisition component 10, which is used to acquire the posture information of the output end of the parts supply component 5. The controller 4 is also used to analyze whether the posture of the output end of the parts supply component 5 has changed according to the posture information and the first preset posture when the CNC lathe is turned on or the continuous working time of the CNC lathe reaches the second preset time threshold. If so, the CNC lathe is controlled to stop and an alarm message is generated. If not, the CNC lathe is controlled to operate normally. The posture acquisition component 10 of this embodiment can be a depth camera or a laser radar that can acquire the posture information of the output end of the parts supply component 5. This embodiment preferably analyzes whether the posture of the output end of the parts supply component 5 has changed according to the posture information and the first preset posture when the CNC lathe is turned on and the shutdown duration reaches the first preset time threshold. Specifically, when the shutdown duration reaches the first preset time threshold, it means that the CNC lathe is in a shutdown state for a long time before starting up. When the continuous working time of the CNC lathe reaches the second preset time threshold, it means that the CNC lathe is in a working state for a long time. The first preset posture of this embodiment is the expected posture of the part supply component 5. Therefore, this embodiment can analyze whether the posture of the output end of the part supply component 5 has changed through the posture information and the first preset posture (equivalent to analyzing whether the part supply component 5 has unexpected deflection). Since this embodiment is equivalent to analyzing whether the part supply component 5 has unexpected deflection when the CNC lathe is turned on or works for a long time, if so, the CNC lathe is controlled to stop and an alarm message is generated. If not, the CNC lathe is controlled to operate normally. Therefore, this embodiment can effectively avoid the situation where the part fixture 103 cannot clamp the workpiece to be processed due to unexpected deviation of the part supply component 5, and the CNC lathe fails to load the material.

[0062] In some preferred embodiments, the first servo driver 32 outputs an effective level signal when the total amount of unexecuted pulses reaches the second preset threshold value, and the controller 4 is also used to control the spindle 12 to clamp the part to be processed 2 when the effective level signal is obtained, and then control the first servo motor 31 and the rotating assembly 102 to reset. Since the first servo driver 32 of this embodiment outputs an effective level signal when the total amount of unexecuted pulses reaches the second preset threshold value, this embodiment can determine whether the part to be processed 2 is pressed against the spindle 12 by whether the effective level signal is obtained. The effective level signal is preferably a high level signal. When the effective level signal is obtained, the part to be processed 2 is pressed against the spindle 12. At this time, the spindle 12 can be controlled to clamp the part to be processed 2, and after the spindle 12 clamps the part to be processed 2, the first servo motor 31 and the rotating assembly 102 are controlled to reset.

[0063] In some preferred embodiments, the spindle 12 generates a reset signal when clamping the workpiece 2 to be processed, and the process of controlling the first servo motor 31 and the rotating assembly 102 to reset includes:

[0064] When the reset signal is obtained, the first servo driver 32 is used to control the first servo motor 31 to drive the loading and clamping assembly 1 to move away from the main shaft 12 in the position mode, and after the first servo motor 31 completes the reset, the rotating assembly 102 is controlled to reset.

[0065] Because when the reset signal is obtained, this embodiment controls the first servo motor 31 to drive the loading clamping assembly 1 to move away from the main shaft 12 in the position mode, that is, this embodiment is equivalent to controlling the first servo motor 31 to quickly reset when the reset signal is obtained, and only after the first servo motor 31 completes the reset, the CNC lathe can process the part 2 to be processed. Therefore, this embodiment can effectively shorten the time difference from the time node when the spindle 12 completes clamping the part 2 to be processed to the time node when the CNC lathe starts processing the part 2 to be processed, thereby effectively improving the production efficiency of the CNC lathe.

[0066] In some preferred embodiments, the controller 4 is also used to analyze whether the feeding system of the CNC lathe is abnormal in step by step in the first loading process when the CNC lathe is turned on. The process of analyzing whether the feeding system of the CNC lathe is abnormal in step by step includes: A1, controlling the second servo motor 121 to drive the swing arm 101 to swing toward the output end of the part supply component 5, and controlling the first servo motor 31 to drive the swing arm 101 to move toward the spindle 12; A2, controlling the part fixture 103 to clamp the part 2 to be processed; A3, analyzing the part fixture according to the image information 103 is clamped to the part 2 to be processed. If so, execute step A4, if not, execute step A6; A4, control the first servo motor 31 to reset, and control the second servo motor 121 to drive the swing arm 101 to swing toward the spindle 12; A5, analyze whether the part 2 to be processed is facing the spindle 12 according to the image information. If so, it is considered that there is no abnormality in the feeding process of the CNC lathe feeding system, if not, execute step A6; A6, it is considered that the CNC lathe feeding system is abnormal, control the CNC lathe to stop, and generate an alarm message. This embodiment is equivalent to detecting whether the CNC lathe feeding system is abnormal in steps in the first feeding process after the CNC lathe is turned on, and when an abnormality is detected, the CNC lathe is immediately controlled to stop and generate an alarm message. Therefore, this embodiment can effectively avoid the situation where the abnormal CNC lathe feeding system or the part to be processed is damaged or even damaged during the execution of the feeding process due to the need to execute a complete feeding process to determine whether the CNC lathe feeding system is abnormal.

[0067] In some embodiments, the pushing assembly 33 includes a second driving wheel 331, a driven wheel 333, a second synchronous belt 332, a slider 335, a slide rail 334 and a spline shaft. The first servo motor 31, the second driving wheel 331, the driven wheel 333 and the slide rail 334 are all installed on the machine tool 11. The output end of the first servo motor 31 is connected to the second driving wheel 331, and the second driving wheel 331 is connected to the driven wheel 333 through the second synchronous belt 332. The slider 335 is slidably installed on the slide rail 334, one side of the slider 335 is fixed on the second synchronous belt 332, one end of the spline shaft is rotatably set on the slider 335, the spline shaft is slidably connected to the driven wheel 333 through a spline sleeve, and the other end of the spline shaft is fixed to the swing arm 101 body. The spline shaft of this embodiment is equivalent to the driving shaft of the pushing component 33. The first servo motor 31 of this embodiment can drive the second driving wheel 331 to rotate. Since the second driving wheel 331 is connected to the driven wheel 333 through the second synchronous belt 332, one side of the slider 335 is fixed on the second synchronous belt 332. Therefore, when the first servo motor 31 drives the second driving wheel 331 to rotate, the second synchronous belt 332 will drive the slider 335 to slide on the slide rail 334.

[0068] As can be seen from the above, the present application provides a CNC lathe feeding system, including a loading and clamping component 1, a driving component 3 and a controller 4. Since the present application can complete the loading of the CNC lathe through the cooperation of the loading and clamping component 1, the first servo motor 31, the first servo driver 32 and the pushing component 33, the present application is equivalent to using a linear drive structure including a servo motor to replace the cylinder, thereby effectively solving the problem of high loading cost of the CNC lathe due to the easy damage of the cylinder. Since when the first servo motor 31 is in the collision detection mode, even if the electrical parameters of the first servo motor 31 exceed the set value, the first servo motor 31 will not alarm. Therefore, the present application can effectively avoid the situation where the electrical parameters of the first servo motor 31 exceed the set value when the part to be processed 2 is pressed against the spindle 12, causing the first servo motor 31 to alarm and trigger the CNC lathe to stop, thereby effectively solving the problem that the CNC lathe cannot normally process the part to be processed 2 due to the servo motor alarming and triggering the CNC lathe to stop when the part to be processed 2 is pressed against the spindle 12.

[0069] Second, as Figure 5 As shown, the present application also provides a CNC lathe feeding method for feeding a CNC lathe, wherein the CNC lathe includes a machine tool 11 and a spindle 12. The CNC lathe feeding method is applied to the CNC lathe feeding system provided in the first aspect above. The CNC lathe feeding method includes the following steps:

[0070] S1, when the workpiece 2 to be processed is facing the spindle 12, the first servo driver 32 is used to control the first servo motor 31 to drive the workpiece 2 to be processed to move toward the spindle 12 in the position mode;

[0071] S2, when the total amount of executed pulses of the first servo motor 31 reaches a first preset threshold, a detection mode switching signal is generated to switch the first servo motor 31 from the position mode to the collision detection mode, and the first servo driver 32 is used to control the first servo motor 31 to drive the workpiece 2 to be processed toward the spindle 12 in the collision detection mode;

[0072] The process of using the first servo driver 32 to control the first servo motor 31 to drive the workpiece 2 to move toward the spindle 12 in the collision detection mode includes:

[0073] The first servo driver 32 is used to control the first servo motor 31 to drive the part 2 to be processed to move toward the spindle 12 and continuously obtain the total amount of unexecuted pulses of the first servo motor 31. When the total amount of unexecuted pulses reaches a second preset threshold, the first servo driver 32 is used to control the first servo motor 31 to stop.

[0074] An embodiment of the present application provides a CNC lathe feeding method, which is applied in the CNC lathe feeding system provided in the first aspect. The principle of the CNC lathe feeding method of this embodiment is the same as the principle of the CNC lathe feeding system provided in the first aspect, and will not be discussed in detail here.

[0075] As can be seen from the above, a CNC lathe feeding method provided by the present application is applied in the feeding of CNC lathes. The system includes a feeding clamping component 1, a driving component 3 and a controller 4. Since the present application can complete the feeding of the CNC lathe through the cooperation of the feeding clamping component 1, the first servo motor 31, the first servo driver 32 and the pushing component 33, the present application is equivalent to using a linear drive structure including a servo motor to replace the cylinder, thereby effectively solving the problem of high feeding cost of the CNC lathe due to the easy damage of the cylinder, and because the first servo motor When 31 is in the collision detection mode, even if the electrical parameters of the first servo motor 31 exceed the set values, the first servo motor 31 will not alarm. Therefore, the present application can effectively avoid the situation where the electrical parameters of the first servo motor 31 exceed the set values ​​when the part 2 to be processed is pressed against the spindle 12, causing the first servo motor 31 to alarm and trigger the CNC lathe to stop, thereby effectively solving the problem that the CNC lathe cannot normally process the part 2 to be processed due to the servo motor alarming and triggering the CNC lathe to stop when the part 2 to be processed is pressed against the spindle 12.

[0076] On the third aspect, the present application also provides a servo drive, which is electrically connected to a servo motor for driving the part to be processed 2 to move toward the spindle 12. The servo drive is used to control the servo motor to drive the part to be processed 2 to move toward the spindle 12 in a position mode under the action of a controller 4 when the part to be processed 2 is facing the spindle 12. The servo drive is also used to control the servo motor to switch from the position mode to the collision detection mode when a detection mode switching signal generated by the controller 4 when the total amount of executed pulses of the servo motor reaches a first preset threshold is obtained. Under the action of the controller 4, the servo motor is controlled to drive the part to be processed 2 toward the spindle 12 in the collision detection mode and continuously obtain the total amount of unexecuted pulses of the servo motor; and when the total amount of unexecuted pulses reaches a second preset threshold, the servo motor is controlled to stop under the action of the controller 4.

[0077] An embodiment of the present application provides a servo driver, which corresponds to the first servo driver 32 in the CNC lathe feeding system provided in the first aspect above, and the servo motor in this embodiment corresponds to the first servo motor 31 in the CNC lathe feeding system provided in the first aspect above. The principle of the servo driver provided in this embodiment is the same as the principle of the CNC lathe feeding system provided in the first aspect above, and will not be discussed in detail here.

[0078] As can be seen from the above, a servo driver provided by the present application first controls the servo motor to drive the swing arm 101 to move toward the spindle 12 in the position mode when the part to be processed 2 is facing the spindle 12, and then controls the servo motor to switch from the position mode to the collision detection mode when the detection mode switching signal generated by the controller 4 when the total amount of executed pulses of the servo motor reaches a first preset threshold value is obtained. Under the action of the controller 4, the servo motor is controlled to drive the part to be processed 2 to move toward the spindle 12 in the collision detection mode and continuously obtain the total amount of unexecuted pulses of the servo motor, and when the total amount of unexecuted pulses reaches a first preset threshold value, the servo motor is switched to the collision detection mode. When the second preset threshold is reached, the servo motor is controlled to stop under the action of the controller 4. Since when the servo motor is in the collision detection mode, the servo motor will not alarm even if the electrical parameters of the servo motor exceed the set values. Therefore, the present application can effectively avoid the situation where the servo motor alarms and triggers the CNC lathe to stop because the electrical parameters of the servo motor exceed the set values ​​when the part 2 to be processed is pressed against the spindle 12, thereby effectively solving the problem that the CNC lathe cannot normally process the part 2 to be processed because the servo motor alarms and triggers the CNC lathe to stop when the part 2 to be processed is pressed against the spindle 12.

[0079] As can be seen from the above, the present application provides a CNC lathe feeding system, method and servo driver, including a feeding clamping component 1, a driving component 3 and a controller 4. Since the present application can complete the feeding of the CNC lathe through the cooperation of the feeding clamping component 1, the first servo motor 31, the first servo driver 32 and the pushing component 33, the present application is equivalent to using a linear drive structure including a servo motor to replace the cylinder, thereby effectively solving the problem of high feeding cost of the CNC lathe due to the easy damage of the cylinder. Since when the first servo motor 31 is in the collision detection mode, even if the electrical parameters of the first servo motor 31 exceed the set value, the first servo motor 31 will not alarm. Therefore, the present application can effectively avoid the situation where the electrical parameters of the first servo motor 31 exceed the set value when the part to be processed 2 is pressed against the spindle 12, causing the first servo motor 31 to alarm and trigger the CNC lathe to stop, thereby effectively solving the problem that the CNC lathe cannot normally process the part to be processed 2 due to the servo motor alarming and triggering the CNC lathe to stop when the part to be processed 2 is pressed against the spindle 12.

[0080] In the embodiments provided in the present application, it should be understood that, herein, relational terms such as first and second, etc. are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations.

[0081] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A feeding system for a CNC lathe, used for feeding a CNC lathe, wherein the CNC lathe comprises a machine tool and a spindle, and is characterized in that: The CNC lathe feeding system comprises: A material feeding clamping assembly, comprising a swing arm and a rotating assembly, wherein a part fixture for clamping a part to be processed is fixed to the end of the swing arm, the rotating assembly is installed on the machine tool, and the rotating assembly comprises a second servo motor and a second servo driver, and the second servo motor is connected to the swing arm; A driving assembly, mounted on the machine tool, comprising a first servo motor, a first servo driver and a pushing assembly, wherein the first servo motor is connected to the swing arm via the pushing assembly; A parts supply component, used for supplying the parts to be processed; a controller, configured to, when the part to be processed is facing the spindle, control the first servo motor to drive the part to be processed toward the spindle in a position mode by using the first servo driver, and to generate a detection mode switching signal to switch the first servo motor from the position mode to a collision detection mode when the total amount of executed pulses of the first servo motor reaches a first preset threshold, and control the first servo motor to drive the part to be processed toward the spindle in the collision detection mode by using the first servo driver; The process of using the first servo driver to control the first servo motor to drive the part to be processed to move toward the spindle in the collision detection mode includes: Using the first servo driver to control the first servo motor to drive the part to be processed to move toward the spindle and continuously obtain the total amount of unexecuted pulses of the first servo motor, and when the total amount of unexecuted pulses reaches a second preset threshold, using the first servo driver to control the first servo motor to stop; The controller is also used to use the second servo driver to control the second servo motor to drive the swing arm to swing, so that the part fixture is facing the part to be processed supplied by the part supply assembly, and use the first servo driver to control the first servo motor to drive the swing arm to move toward the spindle and control the part fixture to clamp the part to be processed. The controller is also used to use the second servo driver to control the second servo motor to drive the swing arm to swing after the part fixture clamps the part to be processed, so that the part to be processed is facing the spindle.

2. The CNC lathe feeding system according to claim 1, characterized in that: The controller is also used to control the second servo motor to drive the swing arm to swing to a zero point by using the second servo driver when the CNC lathe is turned on. The process of using the second servo driver to control the second servo motor to drive the swing arm to swing so that the part fixture is facing the part to be processed supplied by the part supply assembly includes: According to a first preset stroke, the second servo driver is used to control the second servo motor to drive the swing arm to swing, so that the part fixture is facing the part to be processed supplied by the part supply assembly; The process of using the second servo driver to control the second servo motor to drive the swing arm to swing so that the part to be processed faces the spindle includes: According to a second preset stroke, the second servo driver is used to control the second servo motor to drive the swing arm to swing, so as to swing the part to be processed to face the main shaft.

3. The CNC lathe feeding system according to claim 2, characterized in that: An image acquisition component for acquiring image information is also fixed to the end of the swing arm. The controller is also used to obtain the posture information of the part to be loaded and the posture information of the fixture according to the image information after controlling the second servo motor to drive the swing arm to swing according to the first preset stroke using the second servo driver, and analyze whether the posture of the part to be processed supplied by the part supply component is abnormal according to the posture information of the part to be loaded and the second preset posture, and analyze whether the part fixture is facing the part to be processed according to the posture information of the fixture and the third preset posture. The controller is also used to analyze whether the part to be processed supplied by the part supply component is abnormal according to the posture information of the part to be loaded and the second preset posture. When the posture of the workpiece is abnormal, the CNC lathe is controlled to stop and an alarm message is generated. The controller is also used to analyze whether the part fixture is offset on the swing arm according to the image information when there is no abnormality in the posture of the workpiece supplied by the parts supply component and the part fixture is not facing the workpiece to be processed. If so, the CNC lathe is controlled to stop and an alarm message is generated. If not, the fixture offset information is obtained according to the image information, and the second servo driver is used to control the second servo motor to drive the swing arm to swing according to the fixture offset information, so that the workpiece to be processed faces the part fixture.

4. The CNC lathe feeding system according to claim 2, characterized in that: The second servo motor is connected to the swing arm through a gear set, the gear set is provided with a protrusion, and a limit block capable of abutting against the protrusion is fixed on the machine tool. The process of using the second servo driver to control the second servo motor to drive the swing arm to swing to the zero point includes: The second servo driver is used to control the second servo motor to drive the swing arm to swing until the protrusion contacts the limit block.

5. The CNC lathe feeding system according to claim 1, characterized in that: The CNC lathe feeding system also includes a posture acquisition component, which is used to obtain the posture information of the output end of the parts supply component. The controller is also used to analyze whether the posture of the output end of the parts supply component changes according to the posture information and the first preset posture when the CNC lathe is turned on or the continuous working time of the CNC lathe reaches a second preset time threshold. If so, the CNC lathe is controlled to stop and an alarm message is generated. If not, the CNC lathe is controlled to operate normally.

6. The CNC lathe feeding system according to claim 1, characterized in that: The first servo driver outputs a valid level signal when the total amount of unexecuted pulses reaches a second preset threshold value. The controller is also used to control the spindle to clamp the part to be processed when the valid level signal is obtained, and then control the first servo motor and the rotating assembly to reset.

7. The CNC lathe feeding system according to claim 6, characterized in that: The spindle generates a reset signal when clamping the part to be processed, and the process of controlling the first servo motor and the rotating assembly to reset includes: When the reset signal is obtained, the first servo driver is used to control the first servo motor to drive the loading clamping assembly to move away from the main shaft in the position mode, and after the first servo motor completes the reset, the rotating assembly is controlled to reset.

8. A feeding method for a CNC lathe, used for feeding a CNC lathe, wherein the CNC lathe comprises a machine tool and a spindle, and is characterized in that: The CNC lathe feeding method is applied in the CNC lathe feeding system according to any one of claims 1 to 7, and the CNC lathe feeding method comprises the following steps: When the part to be processed is facing the spindle, the first servo driver is used to control the first servo motor to drive the part to be processed to move toward the spindle in a position mode; When the total amount of executed pulses of the first servo motor reaches a first preset threshold, a detection mode switching signal is generated to switch the first servo motor from the position mode to the collision detection mode, and the first servo driver is used to control the first servo motor to drive the part to be processed to move toward the spindle in the collision detection mode; The process of using the first servo driver to control the first servo motor to drive the part to be processed to move toward the spindle in the collision detection mode includes: The first servo driver is used to control the first servo motor to drive the part to be processed to move toward the spindle and continuously obtain the total amount of unexecuted pulses of the first servo motor; and when the total amount of unexecuted pulses reaches a second preset threshold, the first servo driver is used to control the first servo motor to stop.

Citation Information

Patent Citations

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

    CN107942951A

  • Compact numerical control lathe with automatic feeding and discharging functions

    CN117340292A