Control method and control device of lathe, and lathe
By obtaining the pipe material model information and the roller minimum height, and automatically adjusting the lathe loading rack height and storing this information, the problem of re-adjusting the loading rack when the lathe is powered off or the pipe material changes is solved, and the production efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202410368623.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-28
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-03-28
AI Technical Summary
The existing lathes need to be re-adjusted when power is lost or when production pipe material changes, resulting in low production efficiency and low loading accuracy.
By obtaining the model information of the pipe material to be processed, combining the lowest point height of the roller, the roller drives to run to the corresponding loading height, and storing the height to the memory area, automatically adjusting the loading rack height to ensure that the pipe is powered off or after the lathe is powered off or When the material changes, no re-adjustment is required.
Improve production efficiency, ensure loading accuracy and stability, avoid the trouble of manual re-adjustment, and enhance the convenience and reliability of the lathe.
Smart Images

Figure CN118143302B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of mechanical technology, and in particular to a control method and a control device for a lathe, and a lathe. Background Art
[0002] During the loading process of existing lathes, the rollers are often driven by motors to drive the loading racks to adjust up and down so that the loading racks are in the appropriate loading position. However, during the adjustment process, the existing loading racks are often not accurate, and because the equipment does not have a memory function, when the lathe loses power or the pipe material produced changes, the height of the loading rack needs to be readjusted, which is extremely inconvenient to use and seriously affects production efficiency. Summary of the invention
[0003] The main purpose of the present invention is to provide a control method for a lathe, aiming to solve the technical problem that when the existing lathe loses power or the produced pipe material changes, the height of the loading rack needs to be readjusted, which seriously affects the production efficiency.
[0004] To achieve the above object, the present invention provides a control method for a lathe, the control method for the lathe comprising the following steps:
[0005] Obtain the model information of the pipe material to be processed;
[0006] According to the model information of the pipe to be processed and the height of the lowest point of the roller, the roller is driven to run to the corresponding first loading height;
[0007] The first loading height is stored in a memory area.
[0008] In one embodiment, the step of obtaining the model information of the pipe material to be processed includes:
[0009] Obtain the diameter of the pipe to be processed;
[0010] The step of driving the roller to run to the corresponding first feeding height according to the pipe material model information and the lowest point height of the roller comprises:
[0011] According to the diameter of the pipe and the height of the lowest point of the roller, the roller is driven to run to the corresponding first feeding height.
[0012] In one embodiment, the step of driving the roller to run to the corresponding first loading height according to the pipe diameter and the lowest point height of the roller includes:
[0013] Get the lathe chuck center height;
[0014] Determine the lifting distance of the roller according to the center height of the lathe chuck, the lowest point height of the roller and the diameter of the pipe;
[0015] According to the height of the lowest point of the roller and the rising distance of the roller, the roller is driven to run to the corresponding first loading height.
[0016] In one embodiment, in the step of determining the rising distance of the roller according to the center height of the lathe chuck, the height of the lowest point of the roller, and the diameter of the tube, the method for determining the rising distance is specifically:
[0017] Assume that the center height of the lathe chuck is h1, the lowest point height of the roller is h2, the radius of the tube is R, and the rising distance is H, then:
[0018] H=h1-h2-R.
[0019] In one embodiment, the step of obtaining the model information of the pipe material to be processed includes:
[0020] Obtaining the actual diameter information and processing height information of multiple pipe materials input by the user on the operation panel;
[0021] The step of driving the roller to run to the corresponding first loading height according to the model information of the pipe material to be processed and the lowest point height of the roller comprises:
[0022] According to the actual diameter information, the processing height information and the height of the lowest point of the roller, the servo motor is controlled to drive the roller to run to the corresponding first loading height;
[0023] The step of storing the loading height in a storage area comprises:
[0024] The first loading height is stored in a parameter table of the operation panel.
[0025] In one embodiment, the step of controlling the servo motor to drive the roller to run to the corresponding first loading height according to the actual diameter information, the processing height information and the lowest point height of the roller includes:
[0026] According to the actual diameter information, the processing height information and the height of the lowest point of the roller, the servo motor is controlled to drive the roller to the corresponding second loading height;
[0027] According to the processing height information and the second loading height, the servo motor is controlled to fine-tune and drive the roller to run to the first loading height position.
[0028] In one embodiment, after the step of storing the loading height in the parameter table of the operation panel, the method further includes:
[0029] Obtain the parameter information selected by the user in the parameter table of the operation panel;
[0030] According to the parameter information, the model information of the pipe material to be processed is determined, and the servo motor is controlled to drive the roller to the corresponding first loading height.
[0031] In one embodiment, after the step of storing the first loading height in the storage area, the method further includes:
[0032] When the lathe is powered on again after power failure, the model information of the pipe material to be processed stored in the memory area is obtained.
[0033] In addition, to achieve the above-mentioned purpose, the present invention also provides a control device, which includes: a memory, a processor, and a lathe control program stored in the memory and executable on the processor, wherein the lathe control program is configured to implement the lathe control method as described above.
[0034] In addition, to achieve the above-mentioned purpose, the present invention also provides a lathe, comprising the control device as described above.
[0035] The embodiment of the present invention obtains the model information of the pipe material to be processed, and drives the roller to run to the corresponding first loading height in combination with the height of the lowest point of the roller, and stores the first loading height in the memory area. When the model information of the produced pipe material changes, the first loading height in the memory area can be called to drive the roller to run to the corresponding first loading height. When the lathe is powered off and then powered on again, the roller automatically adjusts to run to the corresponding first loading height, and there is no need to readjust the height of the loading rack. The use is convenient and reliable, and can effectively improve production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0037] Figure 1 It is a schematic flow chart of a control method for a lathe according to an embodiment of the present invention;
[0038] Figure 2 A schematic flow chart of a control method for a lathe according to another embodiment of the present invention;
[0039] Figure 3 A schematic flow chart of a control method for a lathe according to another embodiment of the present invention;
[0040] Figure 4 A schematic flow chart of a control method for a lathe according to another embodiment of the present invention;
[0041] Figure 5 A schematic flow chart of a control method for a lathe according to another embodiment of the present invention;
[0042] Figure 6 A schematic flow chart of a control method for a lathe according to another embodiment of the present invention;
[0043] Figure 7 The figure is a flow chart of a control method for a lathe according to another embodiment of the present invention.
[0044] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments, and the well-known modules, units and their connections, links, communications or operations are not shown or described in detail. In addition, the described features, architectures or functions can be combined in any way in one or more embodiments. It should be understood by those skilled in the art that the various embodiments described below are only for illustration and not for limiting the scope of protection of the present invention. It can also be easily understood that the modules or units or processing methods in the various embodiments described herein and shown in the drawings can be combined and designed according to various different configurations. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0046] The limitations of various nouns or methods referred to in the following embodiments, except for those that are logically untenable, are generally based on the broad concepts that can be implemented under the premise of the disclosure in the embodiments. Under such understanding, the various specific subordinate specific limitations of the nouns or methods should be regarded as the inventive content of the present invention, and should not be understood narrowly or interpreted in a biased manner on the grounds that the specification does not disclose the specific limitations. Similarly, under the premise that it can be implemented logically, the order of the steps in the method is flexible and changeable, and the specific subordinate specific limitations in the broad concepts of various nouns or methods all fall within the scope of protection of the present invention.
[0047] In the process of conceiving and realizing the present application, the inventors found that there are at least the following problems: in the process of loading, the existing lathes often rely on the movement of the motor-driven roller to drive the loading rack to adjust up and down so that the loading rack is in the appropriate loading position. However, the existing loading rack is often not accurate during the adjustment process, and because the equipment does not have a memory function, when the lathe loses power or the produced pipe material changes, the loading height needs to be readjusted. For example, if type A pipe material is produced today, as long as the loading height changes, it will need to be readjusted when the same type of pipe material is produced again, which is extremely inconvenient to use and seriously affects production efficiency.
[0048] To this end, the present invention proposes a control method for a lathe; it can be understood that a control device for storing and executing the following method is provided in the control device of the lathe, and the control device can be implemented by a main controller, such as MCU (Micro controller Unit), DSP (Digital Signal Process), FPGA (Field Programmable Gate Array), SOC (System OnChip), etc.
[0049] Reference Figure 1 , Figure 1 1 is a flow chart of a control method for a lathe according to an embodiment of the present invention. In an embodiment of the present invention, the control method includes steps S100-S300, wherein:
[0050] S100, obtaining the model information of the pipe material to be processed;
[0051] S200, driving the roller to run to a corresponding first loading height according to the model information of the pipe to be processed and the lowest point height of the roller;
[0052] S300, storing the first loading height in a memory area.
[0053] In this embodiment, one or more loading racks are provided on the lathe; specifically, the height of the loading rack is fixed, and the roller is provided on the loading rack, and the height of the loading material is adjusted by the roller moving up and down on the loading rack. Specifically, the height of the roller can be adjusted by using a servo motor with closed-loop control, more specifically, an Inovance servo motor with model number MS1H3-13C15CB-T331Z, to drive the screw rod to adjust. More specifically, it can be set that when the screw rod rotates forward one circle, the roller on the loading rack rises one millimeter, but it is not specifically limited.
[0054] In this embodiment, multiple pipe material model information can be stored in the memory area. After the lathe is powered on, the pipe material model information to be processed in the lathe memory area is first obtained, and according to the data stored in the memory area, the roller is driven to run to the corresponding first loading height. At this time, the control device stores the first loading height in the memory area. When the lathe is powered on normally or abnormally, the processing information can be retained in time. After the lathe is powered on again, the pipe material model information to be processed before the power outage can be read in time to restore the original processing work without manual adjustment.
[0055] In this embodiment, during the tube material processing, the height of the roller can be adjusted multiple times according to different processing requirements. The lathe will drive the roller to run to the required first feeding height according to the different model information of the tube material and the lowest point height of the roller. By setting a servo motor and a screw adjustment system that can be controlled in a closed loop, accurate feeding of the tube material is achieved. The lathe can automatically adjust the feeding height according to the model of the tube material and the height of the roller to ensure the processing quality and the safety and stability of the processing process.
[0056] In this embodiment, when the lathe is powered on, the servo motor needs to return to the origin first. When the servo motor returns to the origin, the roller returns to the lowest point position, and the model information of the pipe material to be processed stored in the control device is obtained. Specifically, the pipe material model information is that the user drives the roller to run to the corresponding first loading height in advance according to the pipe material information, and the first loading height corresponding to the pipe material model information is stored in the memory area. Specifically, the present invention can use PLC to control and store information. It can be understood that the PLC has a power-off retention function, which can memorize the first loading height corresponding to each pipe material model information. When the same model of pipe material is produced again, the corresponding height is directly selected on the operation panel, and the material rack is raised to this height, which is more convenient to use. At the same time, if a new model of pipe material needs to be produced, the user can also drive the roller to run to the new first loading height according to the model information of the pipe material to be processed and the lowest point height of the roller, and then store this new first loading height in the memory area, which is convenient for subsequent production.
[0057] It is understandable that the pipe material model information includes the outer diameter, wall thickness, material and other information of the pipe material, which will be used as the basis for the control device to adjust the feeding height. After obtaining the model information of the pipe material to be processed, the control device of the lathe will automatically adjust the roller to a height close to the corresponding first feeding height through the servo motor and the screw adjustment system according to the above pipe material model information, and fine-tune it through the user to reach the first feeding height.
[0058] In this embodiment, specifically, when the lathe receives new pipe material model information, first, the roller is adjusted to the lowest point position, and then, according to the new pipe material model information, the roller is moved to a new first feeding height through the servo motor and the screw adjustment system. In this way, not only can the stability and safety of the pipe material during the processing be ensured, but also the processing efficiency and precision can be improved. Specifically, the servo motor can be controlled to accurately feed the pipe material by setting an open loop or a closed loop. Ensure the processing quality and the safety and stability of the processing process. In addition, when the corresponding pipe material model information is stored in the memory area, the user only needs to select the corresponding height on the operation panel to achieve rapid material lifting, so that the lathe of this embodiment can not only improve the processing efficiency, but also ensure the processing quality.
[0059] It can be understood that the height described in this embodiment refers to the height relative to the ground at the installation position of the lathe, and the height of the loading rack refers to the height of the loading rack relative to the ground at the installation position, and the same applies to the others.
[0060] In this embodiment, a plurality of information on the model of pipe materials to be processed is stored in the memory area. When in use, the corresponding information on the model of pipe materials to be processed in the memory area is obtained, and according to the information on the model of pipe materials to be processed and the height of the lowest point of the roller, the roller is driven to run to the corresponding first loading height, and then the first loading height is stored in the memory area, so that after the lathe is powered off and then powered on again, the roller manually returns to the origin, that is, the roller returns to the lowest point height, and then the control device drives the roller to automatically adjust and run to the corresponding first loading height according to the height information stored in the memory area and the information on the model of pipe materials to be processed, without the need to readjust the height of the loading rack. The use is convenient and reliable, and can effectively improve production efficiency, overcoming the problem that the height of the loading rack of the existing lathe is adjusted by an ordinary three-phase asynchronous motor, which is difficult to adjust to a suitable height and has no memory function.
[0061] It can be understood that in order to make the height of the lathe after power failure and power on again be the accurate first loading height, the present embodiment will first return the roller to the lowest point height, that is, drive the roller back to the origin, and drive the roller to run to the corresponding first loading height according to the pipe material model information to be processed and the lowest point height of the roller stored in the memory area when the power is off. The present embodiment first uses a manual adjustment method to adjust the roller back to the origin. As an alternative, after the lathe is powered on again, the control device drives the roller to move and return to the origin position. Specifically, a limit switch or other detection sensor can be provided at the origin position for the control device to detect whether the roller has returned to the origin. When the roller automatically returns to the origin, it automatically adjusts and runs to the corresponding first loading height. When the lathe is powered on again, the user does not need to readjust the height of the loading rack. It is convenient and reliable to use, and can effectively improve production efficiency. Moreover, by returning the roller to the origin and adjusting it again, the position of the first loading height can be made more accurate.
[0062] In this embodiment, the control device of the lathe can choose to control the servo motor through open loop or closed loop to achieve precise control of the tube feeding process. When the lathe receives the model information of the tube to be processed, the control device will automatically calculate the optimal feeding height according to the model information of the tube, such as outer diameter, wall thickness, material, etc., and accurately adjust the roller to the height through the servo motor. In addition, when there is a deviation between the actual height of the roller and the calculated target height, the control device can adjust the output of the servo motor in real time to correct the deviation and ensure that the roller can accurately reach the target height.
[0063] In this embodiment, the lathe also has an automatic memory function. When the lathe loses power and then powers on again, the control device will first drive the servo motor to return the roller to the origin, that is, the lowest point. Then, the control device will automatically drive the roller to the corresponding first loading height according to the pipe model information to be processed and the lowest point height of the roller stored in the memory area. In this way, even after the lathe loses power, the user does not need to readjust the height of the loading rack, which can greatly improve production efficiency and convenience. This can not only improve production efficiency and product quality, but also reduce labor costs and maintenance costs, creating greater economic benefits for the enterprise.
[0064] This embodiment obtains the model information of the pipe to be processed, and drives the roller to run to the corresponding first loading height in combination with the lowest point height of the roller, and stores the first loading height in the memory area. When the model information of the produced pipe changes, the first loading height in the memory area can be called to drive the roller to run to the corresponding first loading height. When the lathe is powered off and then powered on again, the roller is manually returned to the origin, that is, the roller returns to the lowest point height, and then the control device drives the roller to automatically adjust and run to the corresponding first loading height. There is no need to readjust the height of the loading rack. It is convenient and reliable to use and can effectively improve production efficiency.
[0065] Further, see Figure 2 Another embodiment of the present invention provides a control method for a lathe, based on the above Figure 1 In the embodiment shown, the step of obtaining the model information of the pipe material to be processed includes S110, wherein:
[0066] S110, obtaining the diameter of the pipe to be processed;
[0067] The step of driving the roller to run to the corresponding first feeding height according to the pipe material model information and the lowest point height of the roller includes S210, wherein:
[0068] S210, driving the roller to run to a corresponding first loading height according to the diameter of the pipe material and the height of the lowest point of the roller.
[0069] In this embodiment, the pipe material model information is specifically the pipe material diameter. By determining the pipe material diameter, the required loading height can be accurately calculated so that the pipe material can be smoothly transported to the processing station. According to the pipe material diameter of the pipe material to be processed, the roller is driven to run to the corresponding first loading height at the lowest point of the roller to achieve accurate adjustment of the loading height. Specifically, the memory area stores information on multiple pipe material diameters to be processed. When in use, by obtaining the corresponding pipe material diameter to be processed in the memory area, and according to the pipe material diameter to be processed and the lowest point height of the roller, the roller is driven to run to the corresponding first loading height, thereby achieving accurate loading of pipes of different diameters. In the actual operation process, the user can input the corresponding pipe material diameter on the operation panel or collect the pipe material diameter through the sensor, and match it with the data in the memory area to determine the required first loading height to ensure the accuracy of the first loading height.
[0070] It is understandable that during the processing, the control device will automatically adjust the feeding height of the roller according to the change in the diameter of the pipe material to be processed, which can ensure that the pipe material can stably rise to the corresponding height position and avoid processing errors caused by inaccurate feeding height. At the same time, this embodiment can also monitor the diameter of the pipe material in real time through the sensor, and can promptly detect abnormal conditions of the pipe material during the processing, such as sudden changes in the diameter of the pipe material, and promptly drive the roller to adjust the feeding height to ensure the smooth progress of the processing process. By accurately controlling the running height and speed of the roller, accurate feeding and processing of pipe materials of different diameters can be achieved. The equipment has the advantages of simple structure, easy operation, high precision, etc., and is suitable for the processing and production of various types of pipes. In practical applications, this embodiment can be appropriately adjusted and optimized according to production needs and site conditions to meet the use requirements in different scenarios.
[0071] Further, see Figure 3 Another embodiment of the present invention provides a control method for a lathe, based on the above Figure 2 In the embodiment shown, the step of driving the roller to run to the corresponding first loading height according to the pipe diameter and the lowest point height of the roller includes S211-S213, wherein:
[0072] S211, obtaining the center height of the lathe chuck;
[0073] S212, determining the lifting distance of the roller according to the center height of the lathe chuck, the lowest point height of the roller and the diameter of the pipe;
[0074] S213, driving the roller to run to a corresponding first loading height according to the height of the lowest point of the roller and the rising distance of the roller.
[0075] In this embodiment, the first loading height of the roller is calculated based on the center height of the lathe chuck, the height of the lowest point of the roller, and the diameter of the pipe material. In this process, it is necessary to ensure that the rising distance of the roller meets the preset requirements to ensure that the pipe material can be transported to the processing station on the roller. In order to make the rising distance of the roller meet the preset requirements, firstly, according to the center height of the lathe chuck and the height of the lowest point of the roller, the distance between the roller and the lathe chuck can be calculated, and then combined with the diameter of the pipe material, the first loading height of the roller can be determined. It is understandable that after the roller is driven to run to the corresponding first loading height, the roller can be fine-tuned so that its rising distance meets the preset requirements. This process can be fine-tuned by the user on the operation panel. Specifically, the roller is adjusted to the preset position to ensure the stability of the pipe material on the roller. It is understandable that after each adjustment of the roller, the data will be stored in the memory area. It is understandable that if it is found that the pipe material slips, shakes or other unstable phenomena occur during the roller transportation to the processing station, the height of the roller can be fine-tuned according to the actual situation to ensure the stable rolling of the pipe material. By reasonably calculating and adjusting the first loading height of the roller, the pipe material can be ensured to roll stably on the roller, thereby providing a good foundation for the lathe processing process. By comprehensively considering the center height of the lathe chuck, the height of the lowest point of the roller and the diameter of the pipe material, an accurate calculation basis is provided for the first loading height of the roller, so that the pipe material can be accurately and efficiently processed on the lathe.
[0076] In this embodiment, a plurality of position sensors may be provided at the first feeding height, and the plurality of position sensors are arranged at intervals along the rising path of the roller. The position sensors may be limit switches, photoelectric sensors or proximity switches. When the roller runs to the corresponding first feeding height, the actual position data of the position sensor is obtained, the actual position data is compared with the preset position data, the deviation value of the first feeding height is determined, and the deviation value is compared with the preset deviation threshold. If the deviation value is within the preset deviation threshold range, the first feeding height is determined to be accurate; if the deviation value exceeds the preset deviation threshold range, it is determined that the first feeding height has a deviation, and the deviation value is determined to be a positive difference or a contrast. If it is a positive difference, the roller is driven to run upward to a new first feeding height according to the deviation value. If it is a contrast, the roller is driven to run downward to a new first feeding height according to the deviation value. The process of obtaining the actual position data is repeated until the deviation value is within the preset deviation threshold range, so that the height of the pipe material rises more accurately and reliably.
[0077] In this embodiment, in the step of determining the rising distance of the roller according to the center height of the lathe chuck, the lowest point height of the roller and the diameter of the pipe material, the method for determining the rising distance is specifically as follows:
[0078] Assume that the center height of the lathe chuck is h1, the lowest point height of the roller is h2, the radius of the tube is R, and the rising distance is H, then:
[0079] H=h1-h2-R.
[0080] Further, see Figure 4 Another embodiment of the present invention provides a control method for a lathe, based on the above Figure 1 In the embodiment shown, the step of obtaining the model information of the pipe material to be processed includes S120, wherein:
[0081] S120, obtaining actual diameter information and processing height information of multiple pipe materials input by the user on the operation panel;
[0082] The step of driving the roller to run to the corresponding first loading height according to the model information of the pipe material to be processed and the lowest point height of the roller includes S220, wherein:
[0083] S220, controlling the servo motor to move according to the actual diameter information, the processing height information and the height of the lowest point of the roller, so as to drive the roller to move to the corresponding first loading height;
[0084] The step of storing the loading height in the storage area includes S310, wherein:
[0085] S310, storing the first loading height in a parameter table of an operation panel.
[0086] In this embodiment, mainly for the pipe material model information not stored in the memory area, the user inputs the actual diameter information and processing height information of multiple pipe materials on the operation panel to realize the input of the unprocessed model, and the operation is also convenient and reliable. It can be understood that in the actual production process, the personnel operating the lathe are mainly the front-line employees of the production line. These people can only operate the mechanical equipment, but not adjust it and do not understand the operating principle. In order to avoid frequently disturbing the engineers when changing the processing materials, or once the engineers are not on site, the materials cannot be changed, by setting the way of inputting information on the operation panel, the front-line employees can conveniently input the actual diameter information and processing height information of multiple pipe materials, which greatly improves the production efficiency. And this scheme is embodied in the current lathe equipment. In this embodiment, the input of pipe material information can be completed without engineers, the user operation is more convenient, and the autonomous operability of the equipment is improved. The equipment can automatically adjust the roller to run to the first feeding height according to the actual diameter information and processing height information input by the user. The whole process does not require the intervention of professional engineers. Only the corresponding operator of the lathe can realize data input and control the roller to run to the corresponding first feeding height, which greatly improves the production efficiency. The actual diameter information and processing height information of the pipe material are input through the operation panel, which realizes the input of the unprocessed model, and the operation is simple and reliable; the servo motor is used to drive the roller to run, which makes the equipment run more smoothly and improves the processing accuracy; it has a high degree of automation and is easy to operate, and can meet the processing needs of various pipe materials. And the input information can be stored in the parameter table of the operation panel for subsequent call and query. This embodiment can automatically and accurately adjust the roller lifting height according to the diameter and processing height of different pipe materials, ensuring the stability of processing quality.
[0087] In this embodiment, the first loading height to be raised by the roller is determined by the actual diameter information, the processing height information and the height of the lowest point of the roller, and the servo motor is controlled to move. When the roller rises to the first loading height, in order to enable the lathe to directly drive the roller to move to the corresponding first loading height when the lathe performs the processing task next time, the storage is performed. Specifically, the storage not only stores the corresponding height of the roller rises, but also stores the number of turns of the servo motor and the angle information corresponding to the first loading height. In addition, in order to enable the front-line operators to use the lathe more conveniently, multiple first loading heights are stored in the parameter table of the operation panel in the form of a parameter table. In this way, when the front-line operators need to operate the lathe, they can quickly and conveniently select the parameter data on the operation panel without having to adjust it every time they use it, so as to overcome the technical problem that most lathes on the market currently require actual on-site adjustment. It can be understood that the control method of this embodiment is more applicable when there are multiple different types of pipe materials to be processed, and it can run stably without making new adjustments.
[0088] Further, see Figure 5 Another embodiment of the present invention provides a control method for a lathe, based on the above Figure 4 In the embodiment shown, the step of controlling the servo motor to drive the roller to run to the corresponding first loading height according to the actual diameter information, the processing height information and the lowest point height of the roller includes S221-S222, wherein:
[0089] S221, controlling the servo motor to drive the roller to a corresponding second loading height according to the actual diameter information, the processing height information and the height of the lowest point of the roller;
[0090] S222. According to the processing height information and the second loading height, the servo motor is controlled to fine-tune and drive the roller to move to the first loading height position.
[0091] In this embodiment, during the process of adjusting the servo motor according to the parameters, there will be a certain height difference between the rising second loading height and the required first loading height. Therefore, the servo motor needs to be fine-tuned so that the roller can accurately run to the first loading height. Specifically, the fine-tuning process can be that the machine compares the data detected by the sensor with the second loading height to determine the fine-tuning distance, or the user can input the fine-tuning command through the operation panel to control the servo motor to fine-tune and drive the roller to run to the first loading height position.
[0092] In this embodiment, if sensors are used to detect data and fine-tune the second loading height to the first loading height, multiple distance sensors need to be spaced apart on the path of the roller and / or a distance sensor needs to be provided on the top of the loading rack. The distance sensor may include a limit switch, a photoelectric switch or a proximity sensor. When the roller runs to the corresponding second loading height, the distance data output by the distance sensor is obtained, and the distance difference is determined based on the distance data and the preset distance data. Based on the distance data and the distance difference, the servo motor is controlled to fine-tune and drive the roller to run according to the distance difference to eliminate the distance difference, thereby achieving an accurate first loading height.
[0093] It is understandable that after the fine-tuning process is completed, the control device can send a command to the servo motor to lock the roller at the first loading height position. At this time, the roller rises to the required loading height and waits for the next processing operation. During the operation of the lathe, if the height of the roller needs to be adjusted, the user can input instructions through the operation panel to control the servo motor for real-time adjustment according to the actual processing requirements and preset parameters. This ensures that the roller is always kept at the appropriate height during the processing, improves the processing accuracy, and helps to improve production efficiency.
[0094] Further, see Figure 6 Another embodiment of the present invention provides a control method for a lathe, based on the above Figure 4 In the embodiment shown, after the step of storing the feeding height in the parameter table of the operation panel, it also includes S320-S330, wherein:
[0095] S320, obtaining parameter information selected by the user in the parameter table of the operation panel;
[0096] S330, determining the model information of the pipe material to be processed according to the parameter information, and controlling the servo motor to drive the roller to the corresponding first loading height.
[0097] In this embodiment, in order to avoid the problem that some uncommon pipe material models are not stored in the memory, resulting in the inability to process, this embodiment is provided with a manual setting mode on the operation panel. When the operation panel enters the manual setting mode, the parameter information selected by the user on the operation panel is obtained. Specifically, the parameter information can be information such as length, diameter, wall thickness, etc., to further determine the height to which the roller needs to rise, and to control the servo motor to drive the roller to rise accurately. After the user enters the parameter information, the control device determines the first feeding height of the roller according to the pipe material model information corresponding to the parameter information. At this time, the control device automatically controls the servo motor to drive the roller to adjust to the corresponding first feeding height. In this process, the running speed and accuracy of the servo motor are well guaranteed, thereby ensuring the accuracy and efficiency of pipe material processing. Through the parameter information selected by the user in the parameter table of the operation panel, the servo motor is accurately controlled to drive the roller to the corresponding first feeding height, so as to realize the processing of some uncommon pipe materials, meet the needs of producing different models, not only effectively improve production efficiency, but also reduce labor costs, while ensuring the accuracy and safety of the processing process.
[0098] Further, see Figure 7 Another embodiment of the present invention provides a control method for a lathe, based on the above Figure 1 In the embodiment shown, after the step of storing the first loading height in the storage area, the step further includes S400, wherein:
[0099] S400, when the lathe is powered on again after power failure, the model information of the pipe material to be processed stored in the memory area is obtained.
[0100] In this embodiment, when the lathe is powered on again after power failure, the program and parameters stored in the memory area will not change, and the lathe can continue to perform processing operations according to the state before the last power failure. In this process, the lathe control system will automatically read the pipe material model information stored in the memory area to ensure the continuity and accuracy of the processing process. It can be understood that in order to ensure that the lathe can be restarted smoothly after power failure, when the lathe is powered off normally or abnormally, the processing state, pipe material model, processing parameters and other information of the lathe at the time of power failure will be stored in the memory area. Secondly, when the lathe is powered on again, the information stored in the memory area is automatically detected and read, and the processing state of the lathe is restored according to this information. In this way, even if the power is turned on again after power failure, the lathe can immediately return to the previous processing state to drive the roller to rise to the corresponding first loading height. In addition, the key data (such as processing state, pipe material model, processing parameters, etc.) can also be stored in the non-volatile memory regularly through the control device to improve the reliability of the lathe restarting after power failure. The non-volatile memory has the characteristic that data will not be lost after power failure, so it can ensure that the lathe can accurately restore to the previous processing state when it is powered on again after power failure. As an example of a practical application scenario rather than a specific limitation, when the lathe encounters various emergencies, such as unstable power supply, long power failure, etc., in order to deal with these situations, when the lathe detects a power failure signal, the control device can store the current processing state, pipe material model, processing parameters and other information in the non-volatile memory. To ensure that no matter how long the power failure is, the lathe can accurately restore to the previous processing state after powering on again, and can automatically obtain the pipe material model information to be processed stored in the memory area when the lathe is powered on again after power failure, and continue processing according to the state before the last power failure, which not only improves the processing efficiency of the lathe, but also greatly reduces the risk of processing interruption caused by power failure, and improves the processing quality and stability of the product. On this basis, it can also be further optimized and improved according to actual needs to meet the application needs in different scenarios.
[0101] The present invention also proposes a control device, which includes: a memory, a processor, and a lathe control program stored in the memory and executable on the processor, wherein the lathe control program is configured to implement the lathe control method as described above.
[0102] It is worth noting that since the control device of the present invention is based on the control method of the lathe mentioned above, the embodiments of the control device of the present invention include all technical solutions of all embodiments of the control method of the lathe mentioned above, and the technical effects achieved are also exactly the same, which will not be repeated here.
[0103] The present invention also provides a lathe, which includes the control device as described in the above embodiment.
[0104] It is worth noting that since the lathe of the present invention is based on the above-mentioned control device, the embodiments of the lathe of the present invention include all technical solutions of all embodiments of the above-mentioned control device, and the technical effects achieved are also exactly the same, which will not be repeated here.
[0105] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0106] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0107] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0108] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A control method for a lathe, characterized in that: The control method of the lathe comprises the following steps: Obtain the model information of the pipe material to be processed; According to the model information of the pipe to be processed and the height of the lowest point of the roller, the roller is driven to run to the corresponding first loading height; Storing the first loading height in a storage area; The pipe model information includes the outer diameter, wall thickness and material of the pipe; The step of obtaining the model information of the pipe material to be processed includes: Obtaining the actual diameter information and processing height information of multiple pipe materials input by the user on the operation panel; The step of driving the roller to run to the corresponding first loading height according to the model information of the pipe material to be processed and the lowest point height of the roller comprises: According to the actual diameter information, the processing height information and the height of the lowest point of the roller, the servo motor is controlled to drive the roller to run to the corresponding first loading height; The step of storing the first loading height in a storage area comprises: Storing the first loading height in a parameter table of an operation panel; The step of controlling the servo motor to move according to the actual diameter information, the processing height information and the lowest point height of the roller to drive the roller to run to the corresponding first feeding height includes: According to the actual diameter information, the processing height information and the height of the lowest point of the roller, the servo motor is controlled to drive the roller to the corresponding second loading height; According to the processing height information and the second loading height, the servo motor is controlled to fine-tune and drive the roller to run to the first loading height position; After the step of storing the first loading height in the storage area, the method further includes: When the lathe is powered on again after power failure, the model information of the pipe material to be processed stored in the memory area is obtained; Control the roller to return to the lowest point height, and drive the roller to run to the corresponding first loading height according to the pipe model information to be processed and the lowest point height of the roller stored in the memory area when the power is off; When new pipe material model information is received, the roller is adjusted to the lowest point height, and the roller is moved to a new first loading height according to the new pipe material model information.
2. The lathe control method according to claim 1, characterized in that: After the step of storing the first loading height in the parameter table of the operation panel, the method further includes: Get the parameter information selected by the user in the parameter table of the operation panel; According to the parameter information, the model information of the pipe material to be processed is determined, and the servo motor is controlled to drive the roller to the corresponding first loading height.
3. A control device, characterized in that: The control device includes: a memory, a processor, and a lathe control program stored in the memory and executable on the processor, wherein the lathe control program is configured to implement the lathe control method according to any one of claims 1 to 2.
4. A lathe, characterized in that: Comprising the control device as claimed in claim 3.
Citation Information
Patent Citations
Carrier roller control method and device of laser pipe cutting machine and medium
CN115464278A
Corrugated pipe cutting machine
CN204585312U
Drilling machine
CN210615172U
Lifting height memory function material taking table
CN211677855U
Food processing machine
CN213155509U
