Cutting control method and device of two-vessel copper pipe and electronic equipment
By acquiring and analyzing images of the copper tubes of the two heat exchangers, and using image processing and artificial intelligence to adjust the cutting parameters, the problem of difficult monitoring of the cutting quality of the copper tubes of the two heat exchangers in air conditioners was solved, and the cutting quality and efficiency were improved simultaneously.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-18
- Publication Date
- 2026-03-20
AI Technical Summary
The quality of copper pipes for air conditioners is difficult to monitor in real time during the cutting process, resulting in unstable cutting quality. In addition, manually setting parameters is a waste of manpower and resources.
By acquiring images of the two copper tubes, including end face and chip images, image processing technology and artificial intelligence models are used to monitor the cutting quality and efficiency in real time, and adjust the cutting speed of the cutting blade and the production line speed to meet production requirements.
This approach enables strict control over the cutting quality of the copper tubes in both devices, while also considering cutting efficiency. It reduces defective products and production costs, thereby improving production efficiency.
Smart Images

Figure CN119501180B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of air conditioners, in particular, to a cutting control method and device for a two-vessel copper pipe, a computer readable storage medium and an electronic device. BACKGROUND
[0002] The two-vessel copper pipe is a core component of a two-vessel, which is used for filling refrigerant of an air conditioner. The two-vessel copper pipe is relatively soft, which is prone to deformation and damage during cutting. In actual production, the copper pipe is automatically cut by a cutting device, and the cutting speed of a lower cutter and the running speed of a production line are manually set.
[0003] Since the cutting knife of the cutting device is a consumable, it will be worn out after long-term use. In addition, the specifications of the copper pipe and the running speed of the production line in actual production will change due to actual production. According to the experience of manual setting of parameters, the state change of cutting cannot be monitored in real time, the cutting quality of the copper pipe is difficult to control, and if manual observation is always used, human cost is wasted, and cutting failure is prone to occur, which will lead to defective products and reduce production efficiency, and also cause the loss of material cost. SUMMARY
[0004] The main purpose of the present application is to provide a cutting control method and device for a two-vessel copper pipe, a computer readable storage medium and an electronic device, so as to at least solve the problem that the cutting quality of the two-vessel copper pipe of the air conditioner is difficult to monitor in real time.
[0005] In order to achieve the above-mentioned purpose, according to the first aspect of the present application, a cutting control method for a two-vessel copper pipe is provided, comprising: acquiring an image of the two-vessel copper pipe, the image of the two-vessel copper pipe comprising an end face image and a cutting chip image; determining whether the cutting of the two-vessel copper pipe meets production requirements according to the image of the two-vessel copper pipe, wherein the production requirements comprise cutting quality requirements and cutting efficiency requirements; and adjusting the cutting knife speed and / or the running speed of the production line until the production requirements are met in the case where the production requirements are not met.
[0006] Optionally, the end face image comprises an end face side image, and determining whether the cutting of the two-vessel copper pipe meets production requirements according to the image of the two-vessel copper pipe comprises: extracting an end face side contour of the two-vessel copper pipe from the end face side image; and determining whether the cutting quality requirements are met according to the shape of the end face side contour of the two-vessel copper pipe.
[0007] Optionally, the end face image comprises an end face front image, and the determining whether the cutting of the two-piece copper pipe meets the production requirement according to the image of the two-piece copper pipe comprises: determining whether a mottling area exists in the end face front image, wherein the existence of the mottling area indicates that the end face of the two-piece copper pipe is burnt and oxidized; and in the case that the mottling area exists in the end face front image, determining that the cutting of the two-piece copper pipe does not meet the cutting quality requirement.
[0008] Optionally, the cutting efficiency requirement comprises a cutting feed rate requirement, and the determining whether the cutting of the two-piece copper pipe meets the production requirement according to the image of the two-piece copper pipe comprises: extracting a cutting chip contour from the cutting chip image; and determining whether the cutting feed rate requirement is met according to the cutting chip contour.
[0009] Optionally, the determining whether the cutting feed rate requirement is met according to the cutting chip contour comprises: determining that the cutting feed rate requirement is not met in the case that the cutting chip contour indicates that the cutting chip shape is strip-shaped or the cutting chip shape is irregular; and determining that the cutting feed rate requirement is met in the case that the cutting chip contour indicates that the cutting chip shape is granular, and the area of the granular cutting chip is less than a preset lower area limit value; and / or, the determining whether the cutting of the two-piece copper pipe meets the production requirement according to the image of the two-piece copper pipe further comprises: determining that the cutting feed rate requirement is met in the case that the cutting chip shape is not extracted from the cutting chip image.
[0010] Optionally, after the cutting chip contour is extracted from the cutting chip image, the method further comprises: determining a cutting chip area according to the cutting chip contour, and determining that the cutting chip shape is irregular in the case that the cutting chip area is greater than a preset upper area limit value; and determining that the cutting chip shape is irregular in the case that the cutting chip contour is an asymmetric figure.
[0011] Optionally, after the image of the two-piece copper pipe is acquired, the method further comprises: determining a cutting knife sharpness according to the end face image.
[0012] Optionally, in the case that the production requirement is not met, adjusting a cutting knife down speed and / or a production line running speed until the production requirement is met comprises: acquiring an artificial intelligence model, wherein an input of the artificial intelligence model is the cutting knife down speed and the production line running speed, and an output of the artificial intelligence model is an end face morphology and a cutting chip morphology; in the case that the production requirement is not met, adjusting the cutting knife down speed and / or the production line running speed for multiple times, inputting the adjusted cutting knife down speed and / or the adjusted production line running speed into the artificial intelligence model to obtain a corresponding output, and performing multiple iterations until the production requirement is met.
[0013] According to a second aspect of the present application, a cutting control device for two-vessel copper pipe is provided, comprising: an acquisition unit configured to acquire an image of the two-vessel copper pipe, the image of the two-vessel copper pipe comprising an end face image and a cutting chip image; a first determination unit configured to determine whether the cutting of the two-vessel copper pipe meets production requirements according to the image of the two-vessel copper pipe, wherein the production requirements comprise cutting quality requirements and cutting efficiency requirements; and an adjustment unit configured to adjust a cutting tool down speed and / or a production line running speed until the production requirements are met in the case where the production requirements are not met.
[0014] According to a third aspect of the present application, a computer readable storage medium is provided, the computer readable storage medium comprising a stored program, wherein the computer readable storage medium controls a device where the computer readable storage medium is located to perform any one of the cutting control methods for two-vessel copper pipe when the program is executed.
[0015] According to a fourth aspect of the present application, an electronic device is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs comprise a program for performing any one of the cutting control methods for two-vessel copper pipe.
[0016] By applying the technical solution of the present application, the image of the two-vessel copper pipe is acquired, the image of the two-vessel copper pipe comprising an end face image and a cutting chip image; whether the cutting of the two-vessel copper pipe meets production requirements is determined according to the image of the two-vessel copper pipe, wherein the production requirements comprise cutting quality requirements and cutting efficiency requirements; and the cutting tool down speed and / or the production line running speed is adjusted until the production requirements are met in the case where the production requirements are not met. The image processing technology is applied to monitor the cutting quality of the two-vessel copper pipe in real time, thereby realizing strict control of the cutting quality of the two-vessel copper pipe. The cutting efficiency is taken into account while ensuring the cutting quality. BRIEF DESCRIPTION OF DRAWINGS
[0017] The accompanying drawings, which form a part of the present application, are intended to provide further understanding of the present application, and are used to interpret the illustrative embodiments of the present application and their descriptions, and do not constitute improper limitations to the present application. In the drawings:
[0018] Figure 1 A hardware structure block diagram of a mobile terminal for performing a cutting control method for two-vessel copper pipe is shown according to an embodiment of the present application;
[0019] Figure 2 A flowchart of a cutting control method for two-vessel copper pipe is shown according to an embodiment of the present application;
[0020] Figure 3A platform schematic diagram for implementing a cutting control method of a two-vessel copper pipe is shown according to an embodiment of the present application;
[0021] Figure 4 Various end face side view images are shown according to an embodiment of the present application;
[0022] Figure 5 A comparison diagram of a copper pipe end face without a burn area and a copper pipe end face with a burn area is shown according to an embodiment of the present application;
[0023] Figure 6 Various shape chip schematic diagrams are shown according to an embodiment of the present application;
[0024] Figure 7 A normal cutting end face and a cutting end face caused by a too blunt cutting knife schematic diagram is shown according to an embodiment of the present application;
[0025] Figure 8 A specific two-vessel copper pipe cutting control method flow chart is shown according to an embodiment of the present application;
[0026] Figure 9 A structure block diagram of a two-vessel copper pipe cutting control device is shown according to an embodiment of the present application. DETAILED DESCRIPTION
[0027] It should be noted that the embodiments and features in the present application can be combined with each other without conflict. The technical solutions in the embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0028] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the accompanying drawings and in combination with the embodiments. Obviously, the described embodiments are only a part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor should belong to the scope of protection of the present application.
[0029] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0030] As described in the background section, it is difficult to monitor the cutting quality of copper pipes for air conditioners in real time in the prior art. In order to solve the problem of the difficulty in monitoring the cutting quality of copper pipes for air conditioners in real time, the embodiments of this application provide a cutting control method, device, computer-readable storage medium and electronic device for copper pipes for air conditioners.
[0031] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
[0032] The methods and embodiments provided in this application can be executed on a mobile terminal, computer terminal, or similar computing device. Taking running on a mobile terminal as an example, Figure 1 This is a hardware structure block diagram of a mobile terminal for a two-piece copper tube cutting control method according to an embodiment of the present invention. Figure 1 As shown, a mobile terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0033] The memory 104 can be used to store computer programs, such as software programs of application software and modules, such as the computer program corresponding to the cutting control method of the two-copper-tube in the embodiments of the present application. The processor 102 can execute various functions and data processing, i.e., implement the above method, by running the computer program stored in the memory 104. The memory 104 can include a high-speed random access memory, and can further include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some examples, the memory 104 can further include a memory remotely arranged with respect to the processor 102, and the remote memory can be connected to the mobile terminal through a network. Examples of the network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The transmission device 106 is used to receive or send data through a network. The specific examples of the network can include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet in a wireless manner.
[0034] In the embodiments, a cutting control method of a two-copper-tube running on a mobile terminal, a computer terminal or a similar computing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0035] Figure 2 is a flowchart of the cutting control method of the two-copper-tube according to the embodiments of the present application. As shown in Figure 2 , the method includes the following steps:
[0036] In step S201, an image of the two-copper-tube is acquired, and the image of the two-copper-tube includes an end face image and a cutting chip image.
[0037] In the specific implementation, the system shown in Figure 3 is used to implement the cutting control of the two-copper-tube, Figure 3 , the camera 1 and the camera 2 in the system are used to shoot the image of the two-copper-tube;
[0038] In step S202, it is determined whether the cutting of the two-copper-tube meets the production requirements according to the image of the two-copper-tube, wherein the production requirements include a cutting quality requirement and a cutting efficiency requirement.
[0039] Among them, the cutting quality is affected by the cutting speed of the cutting blade, and the cutting efficiency requirement is related not only to the cutting speed of the cutting blade but also to the production line speed.
[0040] In specific implementations, the end face image includes the end face side image, and specific applications... Figure 3 The images captured by camera 1 are used to determine whether the cutting of the two copper tubes meets the production requirements. This includes: extracting the end face and side profiles of the two copper tubes from the end face and side profile images; and determining whether the cutting quality requirements are met based on the shape of the end face and side profiles of the two copper tubes.
[0041] Specifically, such as Figure 4 As shown, Figure 4 The diagram shows a side view of the end face of a copper tube under ideal cutting conditions (i.e., a side view of the end face under ideal cutting conditions), and side views of the end face of a copper tube under non-ideal conditions, O1, O2, and O3. The end face of a normally cut copper tube is smooth, and the end face outline is perpendicular to the side wall line, i.e., α and θ are right angles of 90°. End face O1 is wavy and irregularly arc-shaped, indicating that the copper tube vibrates along the tube wall direction. When the outline of copper tube 2 is present, the end face O2 is a smooth arc, indicating that the copper tube is being squeezed, i.e., the cutting speed is too fast and the cutting direction is not perpendicular to the copper tube. When the outline of copper tube 3 is present, the end face O3 is serrated, indicating that the copper tube vibrates along the tube wall direction, and vibrates faster than in the case of copper tube 1.
[0042] Optionally, the following method can be used to determine the wavy arc of O1: Using template matching, the minimum wavy curve of the end face is extracted, and then searched within O1. If several identical wavy curves are found, it can be determined that the end face of O1 is wavy or an irregular arc. The minimum wavy curve can be extracted based on the abrupt change in the slope of the curve's tangent; if two abrupt change points appear, the minimum wavy curve is extracted.
[0043] Optionally, the smooth arc of O2 can be determined in the following way: calculate the derivative of the curve. If the derivative is continuous at all points, such as the first derivative being continuous, the curve is smooth. If the second derivative is also continuous, the curve is even smoother.
[0044] Optionally, the following method can be used to determine the saw teeth in O3: a method similar to that used for O1, namely template matching, can be adopted. First, extract the saw teeth with the smallest cycle, and then search in O3. If more identical saw teeth can be found, then O3 can be determined to be a saw tooth.
[0045] Of course, other existing methods can also be used to detect arcs, serrations and smooth arcs, and this application does not limit the method.
[0046] In specific implementations, the end-face image includes the front end-face image, and specific applications... Figure 3The camera 2 in the device captures an image, and whether the cutting of the two-piece copper pipe meets the production requirements is determined according to the image of the two-piece copper pipe, including: determining whether there is a mottling area in the end face front image, where the presence of the mottling area indicates that the end face of the two-piece copper pipe is burned and oxidized; and in the case where there is a mottling area in the end face front image, determining that the cutting of the two-piece copper pipe does not meet the cutting quality requirements.
[0047] Referring to Figure 5 , a normal end face front image and an end face front image with a mottling area (end face burn area A) are shown. Specifically, such a mottling area is mostly caused by too fast cutting speed, i.e., too fast cutting knife down speed. During the cutting process, the metal cutting knife cuts the copper pipe in an instant. When the cutting knife down speed is too fast, the end face of the copper pipe will be instantaneously rubbed by the cutting knife, and the high heat generated by the rubbing will cause the end face to burn and oxidize, resulting in an oxidized mottling on the end face of the copper pipe. In the subsequent welding, the oxidized end face has a risk of cracking, leading to refrigerant leakage.
[0048] Further, the end face front image captured by the camera 2 is binarized and image enhanced, and a target detection algorithm is used to identify whether there is a mottling on the end face. The image enhancement algorithm can be selected from histogram equalization, contrast stretching, etc.; and the target detection algorithm can be selected from YOLO, Faster R-CNN, SSD, etc.
[0049] More specifically, the color of the mottling area is generally dark red, black or blue; excluding irregular burn shapes, the burn traces are generally long and parallel ablation lines, and are distributed along the cutting path; and the area of the mottling area is affected by the cutting knife down speed and the cross-sectional area of the end face of the two-piece copper pipe.
[0050] Further, the cutting efficiency requirements include cutting feed rate requirements, and whether the cutting of the two-piece copper pipe meets the production requirements is determined according to the image of the two-piece copper pipe, including: extracting a cutting chip contour from the cutting chip image; and determining whether the cutting feed rate requirements are met according to the cutting chip contour.
[0051] More specifically, whether the cutting feed rate requirements are met according to the cutting chip contour includes: in the case where the cutting chip contour indicates that the cutting chip shape is strip-shaped or irregular, it is determined that the cutting feed rate requirements are not met; and in the case where the cutting chip contour indicates that the cutting chip shape is granular, it is determined that the cutting feed rate requirements are met, and the area of the granular cutting chip is less than a preset lower area limit value; and / or, whether the cutting of the two-piece copper pipe meets the production requirements is determined according to the image of the two-piece copper pipe, further including: in the case where the cutting chip shape is not extracted from the cutting chip image, it is determined that the cutting feed rate requirements are met.
[0052] Furthermore, after extracting the chip contour from the chip image, the method further includes: determining the chip area based on the chip contour; if the chip area is greater than a preset upper limit value, determining the chip shape as an irregular shape; if the chip contour is an asymmetrical shape, determining the chip shape as an irregular shape.
[0053] Figure 6 The diagram shows strip-shaped chips Q1 and irregularly shaped chips Q2; when continuous strip-shaped chips are generated during the cutting process, such as... Figure 6 Q1 indicates that the cutting feed rate is too low; the cutting feed rate can be increased appropriately. When irregular, non-continuous, strip-shaped chips appear, such as… Figure 6 As shown in Q2; for judging irregular chips, the chip area size can be set. When the size exceeds the set value, it is considered an irregular chip. Alternatively, if the chip does not belong to a common symmetrical shape, such as a circle or rectangle, it is considered irregular. This indicates that the cutting feed rate is too high, and vibration produces irregular chips, requiring a reduction in the feed rate. If there are no chips, or the chips are fine particles, and the chip morphology detected after image binarization is granular, the feed rate setting is considered normal.
[0054] In addition, to control the cutting quality, after acquiring images of the two copper tubes, the method also includes: determining the cutting blade sharpness based on the end face images. Figure 7 This illustrates the shape of a normal cut end face and the situation where the end face is compressed due to an overly dull cutting tool. Applications Figure 3 The image captured by camera 2 is processed using image processing contour extraction to obtain the edge contour of the copper tube's end face. Region segmentation is then applied to divide the copper tube contour into upper and lower end face arcs s1 and s2. Based on Hough arc detection and circle fitting algorithms, if s1 is compressed, its fitted circle radius will be larger than that of s2. Assuming the fitted circle radius of s1 is Rs1 and that of s2 is Rs2, if Rs1 > Rs2, it indicates that the upper part of the copper tube is compressed and the cutting blade is too blunt. The contour extraction here can employ algorithms such as the Canny edge detection algorithm, the Sobel operator, and the Laplacian operator; this application does not limit the specific algorithm used.
[0055] Step S203: If production requirements are not met, adjust the cutting speed of the cutting blade and / or the production line speed until production requirements are met.
[0056] In specific implementation, step S203 is implemented as follows: obtain an artificial intelligence model, the input of which is the cutting speed of the cutting blade and the production line running speed, and the output is the end face shape and the chip shape; if the production requirements are not met, adjust the cutting speed of the cutting blade and / or the production line running speed multiple times, input the adjusted cutting speed of the cutting blade and / or the adjusted production line running speed into the artificial intelligence model to obtain the corresponding output, and perform multiple iterations until the production requirements are met.
[0057] This application presents a cutting control method for two copper tubes. The method acquires images of the two copper tubes, including end face images and chip images. Based on these images, it determines whether the cutting of the two copper tubes meets production requirements, which include cutting quality and cutting efficiency requirements. If these requirements are not met, the cutting speed of the cutting blade and / or the production line speed are adjusted until they are satisfied. Image processing technology is applied to monitor the cutting quality of the two copper tubes in real time, achieving strict control over the cutting quality. This method ensures both cutting quality and cutting efficiency.
[0058] To enable those skilled in the art to better understand the technical solution of this application, the implementation process of the two-component copper tube cutting control method of this application will be described in detail below with reference to specific embodiments.
[0059] This embodiment relates to a specific method for controlling the cutting of two-piece copper tubes, applying... Figure 3 The structure, through image processing contour extraction technology and Hough line and arc detection, obtains the end face deformation, end face flatness, and side wall lines of copper tubes during cutting. Combined with the chip morphology during the cutting process, it realizes the monitoring of cutting tool wear, cutting tool down-cutting speed, and production feed rate during copper tube cutting, thereby improving the cutting performance of copper tubes. The implementation process is as follows: Figure 8 As shown, the specific implementation process is as follows:
[0060] S1: Take an image of the cut end face of the copper tube;
[0061] During the cutting process of the two-piece copper tube, it is necessary to ensure that the end face of the copper tube is flat and undeformed after cutting. The two-piece copper tube is relatively thin. If the sharpness of the cutting blade, the cutting speed of the cutting blade (i.e., the cutting speed of the cutting blade, which corresponds to the cutting quality inspection), and the production feed rate (the feed rate refers to the speed of material feeding on the production line and the frequency of cutting by the cutting blade, which is different from the cutting speed mentioned above and corresponds to the cutting efficiency inspection) are not appropriate, it will lead to unqualified cutting quality of the copper tube or reduced cutting efficiency.
[0062] The cutting knife belongs to consumables, and the specifications of the cut copper pipes are also various. Each time when cutting copper pipes of different specifications, the cutting parameters and line speed need to be set manually. However, after the machine cuts for a long time, the initial fixed setting of the cutting parameters and line speed will inevitably be mismatched, or any cutting state change in the middle will not be able to be handled in time. In order to realize real-time copper pipe cutting detection and improve cutting performance and safety, as shown in the copper pipe cutting production schematic diagram of Figure 3 , camera 1 shoots the left side view of the copper pipe and camera 2 shoots the front view of the copper pipe.
[0063] S11: Shoot the front view of the side plate.
[0064] As shown in Figure 3 , camera 2 shoots the end face front image of the copper pipe in the direction of the pipe opening end face of the copper pipe. The end face front image is the normal cutting end face shape as shown in Figure 7 .
[0065] S12: Shoot the side view of the copper pipe.
[0066] As shown in Figure 3 , camera 1 shoots the left side view of the copper pipe. The left side view of the copper pipe in the present application can include the pipe wall line of the copper pipe and the side line of the cutting end face O. The camera is opposite to the side of the cutting end face O. The shot left test view is the “copper pipe” example view as shown in Figure 4 .
[0067] S2: Real-time monitoring of copper pipe cutting.
[0068] As in S1, during the cutting process of the cutting knife, the blade will be worn, that is, the sharpness of the cutting knife, the cutting knife speed change, and the feeding rate of the copper pipe during cutting will all cause different cutting states.
[0069] S21: Detection of cutting knife bluntness.
[0070] When the cutting knife is cut for a long time and appears to be worn, if the cutting is carried out according to the inherent cutting parameters at this time, the cutting knife cannot normally cut the copper pipe, the cutting contact time with the copper pipe will be prolonged, and due to the insufficient sharpness of the cutting knife, the copper pipe cannot be cut in time, thereby extrusion deformation occurs, that is, the end face of the copper pipe will be deformed due to extrusion, and due to the cutting, the deformation of the end face section of the copper pipe just contacted with the cutting knife will be more obvious. Specifically, the application Figure 3The edge profile of the end face of the copper pipe is obtained by using image processing profile extraction, and the copper pipe profile is divided into upper and lower part end face arcs s1 and s2 according to region segmentation (the segmentation logic here is common and can be regarded as prior art). According to the Hough arc detection and circle fitting algorithm, if s1 is squeezed, the fitting circle radius will be greater than the fitting circle radius of s2. Assuming that the fitting circle radius of s1 is Rs1 and the fitting circle radius of s2 is Rs2, if Rs1> Rs2, it indicates that the upper part of the copper pipe is squeezed, and the cutting knife is too blunt.
[0071] S22: cutting speed monitoring;
[0072] S221: copper pipe vibration caused by too fast cutting speed;
[0073] The cutting speed is the cutting knife down speed (the speed of the cutting knife movement, not the rotation speed of the cutting blade). When the down speed is too fast, it will cause instantaneous impact on the copper pipe, resulting in vibration of the copper pipe during cutting. When the copper pipe vibrates, the cut port will be uneven, and irregular cutting chips may splash. Specifically, according to the production example in Figure 3 , the camera 1 shoots the left view of the copper pipe, and the image processing profile extraction is adopted. As shown in Figure 4 , the end face of the normally cut copper pipe is smooth, and the end face profile line is perpendicular to the side wall line, that is, α and θ are right angles 90°. According to the profile extraction of image processing, the profile condition of copper pipe 1 is obtained, the end face O1 is in a wavy and irregular arc shape, indicating that the copper pipe vibrates along the pipe wall direction; when the profile condition of copper pipe 2 appears, the end face O2 presents a smooth arc, indicating that the copper pipe is squeezed, that is, the down speed of the cutting knife is too fast and the direction of the cutting knife is not perpendicular to the copper pipe; when the profile condition of copper pipe 3 appears, the end face O3 presents a sawtooth shape, indicating that the copper pipe vibrates along the pipe wall direction, and the vibration is faster than that of copper pipe 1. It should be noted that the detection of the arc, the sawtooth and the arc in the example can adopt the image edge detection operator of opencv.
[0074] S222: end face burn caused by too fast cutting speed;
[0075] During the cutting process of the copper pipe, the metal cutting knife cuts the copper pipe instantaneously, and when the down speed of the cutting knife is too fast, the cutting blade and the end face of the copper pipe will produce instantaneous friction. The high heat generated by the friction will cause the end face to produce a burning oxidation reaction, and oxidation stripes will be produced on the end face of the copper pipe. In the subsequent welding, there is a risk of cracking of the oxidized end, which will cause refrigerant leakage. In the present application, according to the shooting image of camera 2 in Figure 3 , the copper pipe end face image is binarized and image enhanced, and whether there are stripes on the end face is identified according to the target detection algorithm. The specific example is as follows: as shown in Figure 5As shown, the normal copper pipe end face O is smooth and clean, and there is no speckle area. Burned and oxidized end face burned area A is shown. When the image target of area A is detected after cutting, it is determined that the end face is burned.
[0076] S23: Cutting feed rate monitoring;
[0077] In the production process of copper pipes, the feed rate represents the speed of the copper pipe material running on the production line, and whether the cutting production rhythm is consistent. If you want to ensure a large feed rate, you can increase the running speed of the production line, or increase the speed of the cutting tool, or both. In theory, the larger the feed rate, the higher the production efficiency. However, as known from S22, simply increasing the speed will result in unstable cutting of the copper pipe, and more defective products will be produced during cutting, i.e. the appropriate feed rate needs to be adjusted.
[0078] In the process of cutting copper pipes, theoretically, cutting chips will be generated. In actual production, it is not desirable to have chips, or the chips are very small. The uniformity of the chips represents the stability of the cutting, and the shape and size of the chips reflect the cutting speed, i.e. whether the feed rate is appropriate.
[0079] Application Figure 3 The camera 2 implements image acquisition and adopts target recognition in image processing to determine the shape of the chips. Specifically, according to Figure 6 As shown, when continuous strip-shaped chips are generated during cutting, such as Figure 6 Q1 in the middle, it indicates that the feed rate is too small, and the feed rate can be appropriately increased; when irregular flying chips, i.e. non-continuous strip-shaped chips, are generated, such as Figure 6 Q2 in the middle, for the judgment of irregular chips, the size of the chips can be set. When the size exceeds the set value, the chips are considered irregular, or when the chips do not belong to common symmetrical figures such as circles and rectangles, they are considered irregular. At this time, it indicates that the feed rate is too large, and the vibration generates irregular chips, and the feed rate needs to be reduced; if there are no chips or the chips are fine particles, and the image binarization enhancement detects that the shape of the chips is a particle, it is considered that the feed rate is set normally.
[0080] S3: Copper pipe cutting production control;
[0081] According to the monitoring and judgment basis in S21-S23, when S21 does not meet the requirements, the cutting tool needs to be replaced first, when the copper pipe end face is abnormal in S22, the tool speed can be reduced to ensure smooth cutting. At the same time, after S22 is adjusted, the detection state in S23 is observed. If chips are generated, the running speed of the production line needs to be adjusted synchronously, and the monitoring of S22 is fed back until S22 and S23 meet the requirements.
[0082] The adjustment strategy controlled by S22 and S23 can adopt a common artificial intelligence control algorithm (for example, a common ant colony algorithm or a PSO particle swarm algorithm), and the artificial intelligence control algorithm can select various existing algorithms, which are not limited in the application, and the key is how to formulate an output to control an input. In the application, the cutting down tool speed and the production line running speed are taken as inputs, and the end face shape and the chip shape are taken as outputs, and according to process requirements, the optimal cutting speed and the production line speed are found, and the control of the copper pipe production cutting is completed.
[0083] Generally, the optimal standard is relative, for example, under the condition of stable cutting, and a certain production speed is ensured, the current cutting speed and the production speed are set as optimal, and whether the optimization can continue is determined according to the logic of the intelligent control algorithm, that is, whether the current cutting speed and the production line speed are optimal is determined by the flatness of the cutting end face and the production quantity. The optimal here is also determined according to the actual production standard, but the basis is the logic.
[0084] According to the application, the profile detection and target recognition based on the image processing technology are used to detect the end face deformation degree, the end face cutting shape and the chip state of the copper pipe, determine the cutting tool sharpness, the cutting tool down tool speed and the cutting production feed rate in the cutting process, realize the state output of the cutting tool, and balance the production line production speed and the cutting down tool speed by combining the artificial intelligence optimization algorithm, so that the cutting quality of the copper pipe is ensured, the cutting quality is controlled, and the cutting performance of the copper pipe is improved.
[0085] The application can realize real-time monitoring of the cutting performance of the copper pipe, realize optimization of the production line production running speed and the cutting down tool speed, get rid of the limitation of manual experience parameter setting, improve the cutting efficiency of the copper pipe in production, and save production cost.
[0086] The profile detection and target recognition based on the image processing technology and the intelligent optimization algorithm balance the production line production speed and the cutting down tool speed, ensure that the cutting of the copper pipe meets the requirements, improve the cutting performance of the copper pipe, and avoid the generation of defective products. And get rid of the limitation of the fixed setting of the cutting parameters by manual experience, improve the production efficiency, and save the cost of manpower and material resources.
[0087] Alternatively, S22 and S23 in the embodiment of the application can exchange positions, and are not limited to being executed first (because the cutting down tool speed and the production line running speed in S22 and S23 will affect the cutting of the copper pipe, and the order of the two does not matter much).
[0088] The embodiment of the present application further provides a cutting control device for two-vessel copper pipes. It should be noted that the cutting control device for two-vessel copper pipes of the embodiment of the present application can be used to execute the cutting control method for two-vessel copper pipes provided by the embodiment of the present application. The device is used to realize the above-mentioned embodiment and preferred embodiment, and the description has been made and will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that realizes a predetermined function. Although the device described in the following embodiment is preferably realized in software, the realization of hardware or a combination of software and hardware is also possible and conceived.
[0089] The cutting control device for two-vessel copper pipes provided by the embodiment of the present application is introduced below.
[0090] Figure 9 is a schematic diagram of the cutting control device for two-vessel copper pipes according to the embodiment of the present application. As shown in Figure 9 , the device comprises:
[0091] The acquisition unit 91 is configured to acquire an image of the two-vessel copper pipe, wherein the image of the two-vessel copper pipe comprises an end face image and a cutting chip image.
[0092] The first determination unit 92 is configured to determine whether the cutting of the two-vessel copper pipe meets production requirements according to the image of the two-vessel copper pipe, wherein the production requirements comprise cutting quality requirements and cutting efficiency requirements.
[0093] The adjustment unit 93 is configured to adjust the cutting tool down speed and / or the production line running speed until the production requirements are met in the case that the production requirements are not met.
[0094] The cutting control device for two-vessel copper pipes of the present application acquires the image of the two-vessel copper pipe through the acquisition unit, wherein the image of the two-vessel copper pipe comprises an end face image and a cutting chip image. The first determination unit determines whether the cutting of the two-vessel copper pipe meets production requirements according to the image of the two-vessel copper pipe, wherein the production requirements comprise cutting quality requirements and cutting efficiency requirements. The adjustment unit adjusts the cutting tool down speed and / or the production line running speed until the production requirements are met in the case that the production requirements are not met. The cutting quality of the two-vessel copper pipe is monitored in real time by using image processing technology, and the cutting quality of the two-vessel copper pipe is strictly controlled. The cutting efficiency is taken into account while ensuring the cutting quality.
[0095] As an optional solution, the end face image comprises an end face side image, the first determination unit comprises a first extraction module and a first determination module, the first extraction module is configured to extract an end face side contour of the two-vessel copper pipe from the end face side image, and the first determination module is configured to determine whether the cutting quality requirements are met according to the shape of the end face side contour of the two-vessel copper pipe.
[0096] As an optional solution, the end face image comprises an end face front view, the first determination unit comprises a second determination module and a third determination module, the second determination module is configured to determine whether there is a mottling area in the end face front view, and the presence of the mottling area indicates that the end face of the condenser copper pipe is burnt and oxidized; and the third determination module is configured to determine that the cutting of the condenser copper pipe does not meet the cutting quality requirement in the case that the mottling area exists in the end face front view.
[0097] As an optional solution, the cutting efficiency requirement comprises a cutting feed rate requirement, the first determination unit comprises a second extraction module and a third determination module, the second extraction module is configured to extract a chip profile from the chip image; and the third determination module is configured to determine whether the cutting feed rate requirement is met according to the chip profile.
[0098] As an optional solution, the third determination module is configured to determine that the cutting feed rate requirement is not met in the case that the chip profile indicates that the chip shape is strip-shaped or the chip shape is irregular; and determine that the cutting feed rate requirement is met in the case that the chip profile indicates that the chip shape is granular, and the area of the granular chip is less than a preset lower area limit value.
[0099] The first determination unit further comprises a fourth determination module, and the fourth determination module is configured to determine that the cutting feed rate requirement is met in the case that the chip shape is not extracted from the chip image.
[0100] As an optional solution, the device further comprises a second determination unit and a third determination unit, the second determination unit is configured to determine a chip area according to the chip profile after the chip profile is extracted from the chip image, and determine that the chip shape is irregular in the case that the chip area is greater than a preset upper area limit value; and the third determination unit is configured to determine that the chip shape is irregular in the case that the chip profile is an asymmetric figure.
[0101] As an optional solution, the device further comprises a fourth determination unit, and the fourth determination unit is configured to determine the cutting sharpness of the cutting tool according to the end face image after the image of the condenser copper pipe is acquired.
[0102] As an optional solution, the adjustment unit comprises an acquisition module and an adjustment module, the acquisition module is configured to acquire an artificial intelligence model, the input of the artificial intelligence model is a cutting tool down speed and a production line running speed, and the output is an end face morphology and a chip morphology; and the adjustment module is configured to adjust the cutting tool down speed and / or the production line running speed multiple times in the case that the production requirement is not met, input the adjusted cutting tool down speed and / or the adjusted production line running speed into the artificial intelligence model to obtain a corresponding output, and iterate multiple times until the production requirement is met.
[0103] The cutting control device of the two-vessel copper pipe comprises a processor and a memory, the acquisition unit, the first determination unit and the adjustment unit are all stored in the memory as program units, and the corresponding functions are realized by the processor executing the program units stored in the memory.
[0104] The processor comprises a core, and the core calls the corresponding program units in the memory.
[0105] The memory can comprise a non-permanent memory in a computer readable medium, a random access memory (RAM) and / or a non-volatile memory such as a read-only memory (ROM) or a flash memory (flash RAM), and the memory comprises at least one memory chip.
[0106] The embodiment of the application provides an electronic device, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs comprise a program for executing any one of the cutting control methods of the two-vessel copper pipe.
[0107] The embodiment of the application provides a computer readable storage medium, which comprises a stored program, and when the program runs, controls a device where the computer readable storage medium is located to execute the cutting control method of the two-vessel copper pipe.
[0108] Specifically, the cutting control method of the two-vessel copper pipe comprises:
[0109] In step S201, an image of the two-vessel copper pipe is acquired, and the image of the two-vessel copper pipe comprises an end face image and a cutting chip image.
[0110] In step S202, whether the cutting of the two-vessel copper pipe meets production requirements is determined according to the image of the two-vessel copper pipe, wherein the production requirements comprise cutting quality requirements and cutting efficiency requirements.
[0111] In step S203, in the case where the production requirements are not met, the cutting knife down speed and / or the production line running speed are adjusted until the production requirements are met.
[0112] Optionally, the end face image comprises an end face side image, and whether the cutting of the two-vessel copper pipe meets the production requirements is determined according to the image of the two-vessel copper pipe, comprising: extracting an end face side contour of the two-vessel copper pipe from the end face side image; and determining whether the cutting quality requirements are met according to the shape of the end face side contour of the two-vessel copper pipe.
[0113] Optionally, the end face image comprises an end face front image, and the determining whether the cutting of the two-piece copper pipe meets the production requirement according to the image of the two-piece copper pipe comprises: determining whether there is a mottling area in the end face front image, wherein the presence of the mottling area indicates that the end face of the two-piece copper pipe is burned and oxidized; and in the case that the mottling area exists in the end face front image, determining that the cutting of the two-piece copper pipe does not meet the cutting quality requirement.
[0114] Optionally, the cutting efficiency requirement comprises a cutting feed rate requirement, and the determining whether the cutting of the two-piece copper pipe meets the production requirement according to the image of the two-piece copper pipe comprises: extracting a chip profile from the chip image; and determining whether the cutting feed rate requirement is met according to the chip profile.
[0115] Optionally, the determining whether the cutting feed rate requirement is met according to the chip profile comprises: in the case that the chip profile indicates that the chip shape is strip-shaped or the chip shape is irregular, determining that the cutting feed rate requirement is not met; and in the case that the chip profile indicates that the chip shape is granular, determining that the cutting feed rate requirement is met, wherein the granular chip has an area less than a preset lower area limit value; and / or, the determining whether the cutting of the two-piece copper pipe meets the production requirement according to the image of the two-piece copper pipe further comprises: in the case that the chip shape is not extracted from the chip image, determining that the cutting feed rate requirement is met.
[0116] Optionally, after the chip profile is extracted from the chip image, the method further comprises: determining a chip area according to the chip profile, and in the case that the chip area is greater than a preset upper area limit value, determining that the chip shape is irregular; and in the case that the chip profile is an asymmetric figure, determining that the chip shape is irregular.
[0117] Optionally, after the image of the two-piece copper pipe is acquired, the method further comprises: determining the sharpness of the cutting knife according to the end face image.
[0118] Optionally, in the case that the production requirement is not met, the adjusting the cutting knife lowering speed and / or the production line running speed until the production requirement is met comprises: acquiring an artificial intelligence model, wherein the input of the artificial intelligence model is the cutting knife lowering speed and the production line running speed, and the output of the artificial intelligence model is the end face morphology and the chip morphology; and in the case that the production requirement is not met, adjusting the cutting knife lowering speed and / or the production line running speed multiple times, inputting the adjusted cutting knife lowering speed and / or the adjusted production line running speed into the artificial intelligence model to obtain the corresponding output, and performing multiple iterations until the production requirement is met.
[0119] An embodiment of the present application provides a processor, which is used for running a program, wherein the processor executes a two-piece copper pipe cutting control method when the program runs.
[0120] Specifically, the two-piece copper pipe cutting control method comprises:
[0121] Step S201: Obtain images of the two copper tubes, including end face images and chip images;
[0122] Step S202: Determine whether the cutting of the two copper tubes meets the production requirements based on the images of the two copper tubes. The production requirements include cutting quality requirements and cutting efficiency requirements.
[0123] Step S203: If production requirements are not met, adjust the cutting speed of the cutting blade and / or the production line speed until production requirements are met.
[0124] Optionally, the end face image includes an end face side image. Determining whether the cutting of the two copper tubes meets production requirements based on the images of the two copper tubes includes: extracting the end face side profiles of the two copper tubes from the end face side image; and determining whether the cutting quality requirements are met based on the shape of the end face side profiles of the two copper tubes.
[0125] Optionally, the end face image includes a front end face image. Determining whether the cutting of the two copper tubes meets production requirements based on the images of the two copper tubes includes: determining whether there are mottled areas in the front end face image, wherein the presence of mottled areas indicates that the end faces of the two copper tubes have been burned and oxidized; if there are mottled areas in the front end face image, determining that the cutting of the two copper tubes does not meet the cutting quality requirements.
[0126] Optionally, the cutting efficiency requirement includes a cutting feed rate requirement. Determining whether the cutting of the two copper tubes meets the production requirements based on the images of the two tubes includes: extracting the chip profile from the chip image; and determining whether the cutting feed rate requirement is met based on the chip profile.
[0127] Optionally, determining whether the cutting feed rate requirement is met based on the chip profile includes: determining that the cutting feed rate requirement is not met when the chip profile indicates that the chip shape is strip-shaped or the chip shape is irregular; determining that the cutting feed rate requirement is met when the chip profile indicates that the chip shape is granular, wherein the area of the granular chip is less than a preset lower limit value; and / or, determining whether the cutting of the two copper tubes meets the production requirements based on the images of the two copper tubes further includes: determining that the cutting feed rate requirement is met when the chip shape is not extracted from the chip image.
[0128] Optionally, after extracting the chip contour from the chip image, the method further includes: determining the chip area based on the chip contour; if the chip area is greater than a preset upper limit value, determining the chip shape as an irregular shape; if the chip contour is an asymmetrical shape, determining the chip shape as an irregular shape.
[0129] Optionally, after acquiring images of the two copper tubes, the method further includes: determining the cutting blade sharpness based on the end face images.
[0130] Optionally, in the case where the production requirement is not met, the cutting tool down speed and / or the production line running speed are adjusted until the production requirement is met, comprising: obtaining an artificial intelligence model, the input of the artificial intelligence model being the cutting tool down speed and the production line running speed, and the output being the end face morphology and the chip morphology; in the case where the production requirement is not met, the cutting tool down speed and / or the production line running speed are adjusted multiple times, the adjusted cutting tool down speed and / or the adjusted production line running speed are input into the artificial intelligence model to obtain the corresponding output, and multiple iterations are performed until the production requirement is met.
[0131] The embodiment of the present application provides a device, the device comprising a processor, a memory and a program stored on the memory and executable on the processor, and the processor implements at least the following steps when executing the program:
[0132] Step S201, an image of the two-piece copper pipe is obtained, the image of the two-piece copper pipe comprising an end face image and a chip image;
[0133] Step S202, whether the cutting of the two-piece copper pipe meets the production requirement is determined according to the image of the two-piece copper pipe, wherein the production requirement comprises a cutting quality requirement and a cutting efficiency requirement;
[0134] Step S203, in the case where the production requirement is not met, the cutting tool down speed and / or the production line running speed are adjusted until the production requirement is met.
[0135] Optionally, the end face image comprises an end face side image, and whether the cutting of the two-piece copper pipe meets the production requirement is determined according to the image of the two-piece copper pipe, comprising: extracting an end face side contour of the two-piece copper pipe from the end face side image; and determining whether the cutting quality requirement is met according to the shape of the end face side contour of the two-piece copper pipe.
[0136] Optionally, the end face image comprises an end face front image, and whether the cutting of the two-piece copper pipe meets the production requirement is determined according to the image of the two-piece copper pipe, comprising: determining whether a mottling area exists in the end face front image, wherein the existence of the mottling area indicates that the end face of the two-piece copper pipe is burned and oxidized; and in the case where the mottling area exists in the end face front image, determining that the cutting of the two-piece copper pipe does not meet the cutting quality requirement.
[0137] Optionally, the cutting efficiency requirement comprises a cutting feed rate requirement, and whether the cutting of the two-piece copper pipe meets the production requirement is determined according to the image of the two-piece copper pipe, comprising: extracting a chip contour from the chip image; and determining whether the cutting feed rate requirement is met according to the chip contour.
[0138] Optionally, determining whether the cutting feed rate requirement is met according to the chip profile includes: determining that the cutting feed rate requirement is not met in a case where the chip profile indicates that the chip shape is strip-shaped or the chip shape is irregular; determining that the cutting feed rate requirement is met in a case where the chip profile indicates that the chip shape is granular, and the area of the granular chip is less than a preset lower area limit value; and / or, determining whether the cutting of the two-piece copper pipe meets the production requirement according to the image of the two-piece copper pipe further includes: determining that the cutting feed rate requirement is met in a case where the chip shape is not extracted from the chip image.
[0139] Optionally, after the chip profile is extracted from the chip image, the method further includes: determining the chip area according to the chip profile, and determining that the chip shape is irregular in a case where the chip area is greater than a preset upper area limit value; determining that the chip shape is irregular in a case where the chip profile is an asymmetric figure.
[0140] Optionally, after the image of the two-piece copper pipe is obtained, the method further includes: determining the cutting sharpness of the cutting tool according to the end face image.
[0141] Optionally, in a case where the production requirement is not met, adjusting the cutting tool lowering speed and / or the production line running speed until the production requirement is met includes: obtaining an artificial intelligence model, the input of the artificial intelligence model being the cutting tool lowering speed and the production line running speed, and the output being the end face morphology and the chip morphology; in a case where the production requirement is not met, adjusting the cutting tool lowering speed and / or the production line running speed multiple times, inputting the adjusted cutting tool lowering speed and / or the adjusted production line running speed into the artificial intelligence model to obtain the corresponding output, and performing multiple iterations until the production requirement is met.
[0142] The device herein can be a server, a PC, a PAD, a mobile phone, etc.
[0143] The present application also provides a computer program product adapted to execute a program that initializes at least the following method steps when executed on a data processing device:
[0144] Step S201, obtaining an image of a two-piece copper pipe, the image of the two-piece copper pipe including an end face image and a chip image;
[0145] Step S202, determining whether the cutting of the two-piece copper pipe meets a production requirement according to the image of the two-piece copper pipe, wherein the production requirement includes a cutting quality requirement and a cutting efficiency requirement;
[0146] Step S203, in a case where the production requirement is not met, adjusting the cutting tool lowering speed and / or the production line running speed until the production requirement is met.
[0147] Optionally, the end face image comprises an end face side image, and the determining whether the cutting of the two-piece copper pipe meets the production requirement according to the image of the two-piece copper pipe comprises: extracting an end face side profile of the two-piece copper pipe from the end face side image; and determining whether the cutting quality requirement is met according to the shape of the end face side profile of the two-piece copper pipe.
[0148] Optionally, the end face image comprises an end face front image, and the determining whether the cutting of the two-piece copper pipe meets the production requirement according to the image of the two-piece copper pipe comprises: determining whether there is a mottling area in the end face front image, wherein the presence of the mottling area indicates that the end face of the two-piece copper pipe is burned and oxidized; and in the case that the mottling area exists in the end face front image, determining that the cutting of the two-piece copper pipe does not meet the cutting quality requirement.
[0149] Optionally, the cutting efficiency requirement comprises a cutting feed rate requirement, and the determining whether the cutting of the two-piece copper pipe meets the production requirement according to the image of the two-piece copper pipe comprises: extracting a chip profile from the chip image; and determining whether the cutting feed rate requirement is met according to the chip profile.
[0150] Optionally, the determining whether the cutting feed rate requirement is met according to the chip profile comprises: in the case that the chip profile indicates that the chip shape is strip-shaped or the chip shape is irregular, determining that the cutting feed rate requirement is not met; and in the case that the chip profile indicates that the chip shape is granular, determining that the cutting feed rate requirement is met, and the granular chip has an area less than a preset lower area limit value; and / or, the determining whether the cutting of the two-piece copper pipe meets the production requirement according to the image of the two-piece copper pipe further comprises: in the case that the chip shape is not extracted from the chip image, determining that the cutting feed rate requirement is met.
[0151] Optionally, after the chip profile is extracted from the chip image, the method further comprises: determining a chip area according to the chip profile, and in the case that the chip area is greater than a preset upper area limit value, determining that the chip shape is irregular; and in the case that the chip profile is an asymmetric figure, determining that the chip shape is irregular.
[0152] Optionally, after the image of the two-piece copper pipe is acquired, the method further comprises: determining the cutting blade sharpness according to the end face image.
[0153] Optionally, in the case that the production requirement is not met, adjusting the cutting blade lowering speed and / or the production line running speed until the production requirement is met comprises: acquiring an artificial intelligence model, the input of the artificial intelligence model being the cutting blade lowering speed and the production line running speed, and the output of the artificial intelligence model being the end face morphology and the chip morphology; in the case that the production requirement is not met, adjusting the cutting blade lowering speed and / or the production line running speed multiple times, inputting the adjusted cutting blade lowering speed and / or the adjusted production line running speed into the artificial intelligence model to obtain the corresponding output, and performing multiple iterations until the production requirement is met.
[0154] It should be apparent to those skilled in the art that the modules or steps of the application described above can be implemented with a general purpose computer, and can be centralized in a single computer or distributed among a network of computers, and can be implemented with program code executable by a computer, and thus can be stored in a storage device and executed by a computer, and in some cases, the steps shown or described can be executed in a different order than shown or described, or can be implemented as separate integrated circuit modules or as a single integrated circuit module, and thus the application is not limited to any particular combination of hardware and software.
[0155] Those skilled in the art will appreciate that embodiments of the application can be devised for a method, a system, or a computer program product. Accordingly, the application can be embodied in the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the application can be in the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk memory, CD-ROMs, optical storage media, etc.) embodying computer readable program code.
[0156] The present application is described in reference to the flowchart illustrations and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart illustrations and / or block diagrams. Figure 1 The flowchart illustrations and / or block diagrams of the methods, apparatus (systems) and computer program products described herein can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart illustrations and / or block diagrams. Figure 1 The flowchart illustrations and / or block diagrams of the methods, apparatus (systems) and computer program products described herein can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart illustrations and / or block diagrams. The flowchart illustrations and / or block diagrams of the methods, apparatus (systems) and computer program products described herein can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart illustrations and / or block diagrams.
[0157] The flowchart illustrations and / or block diagrams of the methods, apparatus (systems) and computer program products described herein can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart illustrations and / or block diagrams. Figure 1 The flowchart illustrations and / or block diagrams of the methods, apparatus (systems) and computer program products described herein can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart illustrations and / or block diagrams. Figure 1 The flowchart illustrations and / or block diagrams of the methods, apparatus (systems) and computer program products described herein can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart illustrations and / or block diagrams. The flowchart illustrations and / or block diagrams of the methods, apparatus (systems) and computer program products described herein can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart illustrations and / or block diagrams.
[0158] The flowchart illustrations and / or block diagrams of the methods, apparatus (systems) and computer program products described herein can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart illustrations and / or block diagrams.Figure 1 one or more processes and / or functions specified in one or more blocks Figure 1 Figure 1 Figure 1 one or more processes and / or functions specified in one or more blocks
[0159] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0160] The memory can include non-persistent memory and / or volatile memory, such as random access memory (RAM) about which the processor can execute instructions. The memory can also include non-volatile memory, such as read only memory (ROM), electrically programmable read only memory (EPROM), electrically erasable programmable read only memory (EEPROM), flash memory, or other memory technologies. The memory is an example of computer readable media.
[0161] Computer readable media includes permanent and non-permanent, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), electrically programmable read only memory (EEPROM), flash memory or other memory technologies, compact disc read only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible to a computing device. According to the definition herein, computer readable media does not include transitory media such as modulated data signals and carriers.
[0162] It should also be noted that the terms "comprising", "containing", or any other variant thereof are intended to encompass a non-exclusive inclusion, such that a process, method, article or apparatus that comprises a list of elements does not include only those elements recited, but can also include other elements not expressly listed or inherent to such process, method, article or apparatus. Without further limitation, an element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article or apparatus that includes the element.
[0163] The above only is the preferred embodiment of the present application, and is not intended to limit the present application. For those skilled in the art, the present application can have various modifications and changes. 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 method for controlling the cutting of a two-piece copper tube, characterized in that, include: Acquire images of two copper tubes, including end face images and chip images; Based on the images of the two copper tubes, determine whether the cutting of the two copper tubes meets the production requirements, wherein the production requirements include cutting quality requirements and cutting efficiency requirements; If the production requirements are not met, adjust the cutting speed of the cutting blade and / or the production line speed until the production requirements are met. The end face image includes an end face side image. Determining whether the cutting of the two copper tubes meets the production requirements based on the images of the two copper tubes includes: extracting the end face side profile of the two copper tubes from the end face side image; and determining whether the cutting quality requirements are met based on the shape of the end face side profile of the two copper tubes. If the production requirements are not met, adjust the cutting blade speed and / or the production line speed until the production requirements are met, including: acquiring an artificial intelligence model, the input of which is the cutting blade speed and the production line speed, and the output is the end face shape and the chip shape; if the production requirements are not met, adjust the cutting blade speed and / or the production line speed multiple times, input the adjusted cutting blade speed and / or the adjusted production line speed into the artificial intelligence model to obtain the corresponding output, and perform multiple iterations until the production requirements are met; An ideally cut copper tube has a smooth end face, and the end face outline is perpendicular to the side wall line. When the first copper tube vibrates along the tube wall direction, the first end face is wavy and irregularly arc-shaped. When the cutting speed is too fast and the cutting direction is not perpendicular to the second copper tube, the second copper tube is squeezed, and the second end face presents a smooth arc shape. When the third copper tube vibrates along the tube wall direction, and vibrates faster than the first copper tube, the third end face presents a sawtooth shape.
2. The method according to claim 1, characterized in that, The end face image includes a frontal end face image. Determining whether the cutting of the two copper tubes meets production requirements based on the images includes: Determine whether there is a mottled area in the front image of the end face, wherein the presence of the mottled area indicates that the end face of the copper tubes of the two devices has been burned and oxidized; If the mottled area is present in the frontal image of the end face, it is determined that the cutting of the two copper tubes does not meet the cutting quality requirements.
3. The method according to claim 1, characterized in that, The cutting efficiency requirements include cutting feed rate requirements. Determining whether the cutting of the two copper tubes meets production requirements based on the images of the two tubes includes: Extract the chip contour from the chip image; Determine whether the cutting feed rate requirement is met based on the chip profile.
4. The method according to claim 3, characterized in that, Determining whether the cutting feed rate requirement is met based on the chip profile includes: determining that the cutting feed rate requirement is not met when the chip profile indicates that the chip shape is strip-shaped or the chip shape is irregular; determining that the cutting feed rate requirement is met when the chip profile indicates that the chip shape is granular, wherein the area of the granular chip is less than a preset lower limit value. And / or, Determining whether the cutting of the two copper tubes meets the production requirements based on the images of the two tubes also includes: determining whether the cutting feed rate requirement is met if the chip shape cannot be extracted from the chip image.
5. The method according to claim 3, characterized in that, After extracting the chip contour from the chip image, the method further includes: The chip area is determined based on the chip profile, and if the chip area is greater than the preset upper limit value, the chip shape is determined to be an irregular shape. When the chip profile is an asymmetrical shape, the chip shape is determined to be an irregular shape.
6. The method according to any one of claims 1 to 5, characterized in that, After acquiring images of the two copper tubes, the method further includes: The cutting blade sharpness is determined based on the end face image.
7. A cutting control device for a two-piece copper tube, characterized in that, include: An acquisition unit is used to acquire images of two copper tubes, the images of the two copper tubes including end face images and chip images; The first determining unit is used to determine whether the cutting of the two copper tubes meets the production requirements based on the images of the two copper tubes, wherein the production requirements include cutting quality requirements and cutting efficiency requirements; An adjustment unit is used to adjust the cutting speed of the cutting blade and / or the production line speed until the production requirements are met if the production requirements are not met. The end face image includes an end face side image. The first determining unit includes a first extraction module and a first determining module. The first extraction module is used to extract the end face side profile of the two copper tubes from the end face side image. The first determining module is used to determine whether the cutting quality requirements are met based on the shape of the end face side profile of the two copper tubes. The adjustment unit includes an acquisition module and an adjustment module. The acquisition module is used to acquire the artificial intelligence model. The input of the artificial intelligence model is the cutting speed of the cutting blade and the production line running speed, and the output is the end face shape and the chip shape. The adjustment module is used to adjust the cutting speed of the cutting blade and / or the production line running speed multiple times when the production requirements are not met. The adjusted cutting speed of the cutting blade and / or the adjusted production line running speed are input into the artificial intelligence model to obtain the corresponding output. The process is repeated multiple times until the production requirements are met. An ideally cut copper tube has a smooth end face, and the end face outline is perpendicular to the side wall line. When the first copper tube vibrates along the tube wall direction, the first end face is wavy and irregularly arc-shaped. When the cutting speed is too fast and the cutting direction is not perpendicular to the second copper tube, the second copper tube is squeezed, and the second end face presents a smooth arc shape. When the third copper tube vibrates along the tube wall direction, and vibrates faster than the first copper tube, the third end face presents a sawtooth shape.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device containing the computer-readable storage medium to perform the cutting control method for the two-piece copper tube as described in any one of claims 1 to 6.
9. An electronic device, characterized in that, include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including a cutting control method for performing the two-piece copper tube as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Method for automatically detecting flatness of notch of remaining needle bush by machine vision system
CN102494643A
Method and device for determining cutting quality of numerical control machine tool based on image recognition
CN117400065A
Monitoring system for abnormal operation state of metal material processing machine tool equipment
CN118751998A