Glass cutting control method, device and equipment
By conducting quality inspection and priority sorting of the cut glass, the cutting plan and path are determined, which solves the problems of low utilization rate and poor production flexibility in high-quality glass production, and achieves higher product yield and production flexibility.
Patent Information
- Application Number
- CN202510003323.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-02
- Publication Date
- 2025-05-16
AI Technical Summary
Fixed cutting methods in traditional glass production lead to low utilization of high-quality areas and unfavorable areas that cannot be ruled out, resulting in waste of resources and low product yields, and poor production flexibility.
By conducting quality inspection of the glass to be cut, the priority of each glass in the glass order is obtained, and the cutting plan and cutting path are determined based on the quality inspection results, the target glass and the glass to be cut, and the glass to be cut is repeated until the stop condition is met.
It improves the utilization rate of high-quality areas, reduces the mixing of bad products into qualified products, improves product yield, and enhances production flexibility.
Smart Images

Figure CN120004498A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of glass processing technology, and in particular to a glass cutting control method, device and equipment. Background Art
[0002] In the traditional glass production method, a fixed size of cuts is usually made on a large piece of glass to be cut according to the glass order, so as to obtain cut glass of a single size. That is, on the traditional glass production line, the cut glass that is continuously flowing out is usually cut in a fixed size.
[0003] However, this fixed cutting method for glass has some problems. For example, due to the fixed cutting method, the utilization rate of the high-quality areas in the glass to be cut is limited, and the bad areas cannot be eliminated, resulting in a lot of high-quality areas being wasted and bad products being mixed into qualified products, resulting in resource loss and low product yield. Secondly, due to the fixed cutting method, only one size of glass can be produced in the same time period. If the glass order includes glass of different sizes, it is necessary to wait until the production of the previous batch of glass of the same size is completed before the production of the next size of glass can be carried out. The flexibility is poor and affects the efficiency of the supply chain. Summary of the invention
[0004] The embodiments of the present application provide a glass cutting control method, device and equipment to solve the technical problems in the related art that the fixed cutting method of glass leads to limited utilization of high-quality areas, low product yield and poor production flexibility.
[0005] In a first aspect, an embodiment of the present application provides a glass cutting control method, comprising:
[0006] Performing quality inspection on the glass to be cut to obtain a quality inspection result of the glass to be cut;
[0007] Obtaining a glass order, determining the priority of each glass in the glass order, and determining a target glass according to the priority of each glass;
[0008] Determine a cutting scheme and a cutting path corresponding to the target glass according to the quality inspection result, the target glass and the glass to be cut;
[0009] According to the cutting scheme and the cutting path, the glass to be cut is cut, and the remaining glass to be cut after cutting is used as the glass to be cut; and the step of determining the target glass according to the priority of each glass is repeated until the cutting stop condition is met.
[0010] In a possible implementation, the quality inspection result includes a high-quality area and a bad area on the glass to be cut;
[0011] The step of determining a cutting scheme and a cutting path corresponding to the target glass according to the quality inspection result, the target glass and the glass to be cut includes:
[0012] Determining a cutting scheme corresponding to the target glass according to the high-quality area, the target glass and the glass to be cut;
[0013] Based on the cutting plan and the defective area, a cutting path of the target glass is determined.
[0014] In a possible implementation, determining a cutting scheme corresponding to the target glass according to the high-quality area, the target glass, and the glass to be cut includes:
[0015] Generate multiple initial cutting plans according to the target glass and the glass to be cut;
[0016] Calculating the first fitness corresponding to each initial cutting scheme respectively, and determining a plurality of candidate cutting schemes based on the first fitness corresponding to each initial cutting scheme;
[0017] Perform crossover and mutation on each candidate cutting scheme, and use the cutting scheme after crossover and mutation as the initial cutting scheme;
[0018] Repeat the step of respectively calculating the first fitness corresponding to each initial cutting scheme until a first stop condition is reached, and use the cutting scheme with the best first fitness among the initial cutting schemes as the cutting scheme corresponding to the target glass;
[0019] The first fitness includes the utilization rate of high-quality areas; the utilization rate of high-quality areas is determined based on the ratio of the number of high-quality areas remaining on the glass to be cut to all high-quality areas after the glass to be cut is cut according to the corresponding initial cutting plan.
[0020] In a possible implementation, determining a cutting path of the target glass based on the cutting scheme and the defective area includes:
[0021] generating a plurality of initial cutting paths according to the current position of the tool and the cutting scheme;
[0022] Calculating the second fitness corresponding to each initial cutting path respectively, and determining a plurality of candidate cutting paths based on the second fitness corresponding to each initial cutting path;
[0023] Crossover and mutation are performed on each candidate cutting path, and the cutting path after crossover and mutation is used as the initial cutting path;
[0024] Repeat the step of respectively calculating the second fitness corresponding to each initial cutting path until a second stop condition is reached, and use the cutting path with the best second fitness among the initial cutting paths as the cutting path corresponding to the target glass;
[0025] Among them, the second fitness includes path cost; the path cost is determined based on the cutting distance cost, cutting time cost and quality cost generated when cutting according to the corresponding initial cutting path; the quality cost is determined according to the penalty value of the cutting path passing through the bad area.
[0026] In a possible implementation, the quality inspection result includes a high-quality area and a bad area on the glass to be cut;
[0027] The step of performing quality inspection on the glass to be cut to obtain the quality inspection result of the glass to be cut includes:
[0028] Acquiring a surface image of the glass to be cut, and dividing the glass to be cut into a plurality of regions based on the surface image;
[0029] For each area, detect whether there is a defect in the area;
[0030] If there are defects in the region, the region is determined to be a bad region, and if there are no defects in the region, the region is determined to be a good region.
[0031] In a possible implementation, the glass order includes the size and quality requirements of each glass;
[0032] Determining the priority of each glass in the glass order includes:
[0033] Determine the quality grade of each glass according to the quality requirements of each glass in the glass order;
[0034] The priority of each glass is determined based on its size, quality grade, and size factor and quality factor.
[0035] In a possible implementation, determining the target glass according to the priority of each glass includes:
[0036] Sort the glasses according to their priorities to obtain a sorting result;
[0037] A preset number of glasses with the highest priority in the sorting result are used as target glasses, and the sorting result is updated, and the updated sorting result is used as the sorting result.
[0038] In a possible implementation manner, before cutting the glass to be cut according to the cutting scheme and the cutting path, the method further includes:
[0039] Re-testing the quality of the glass to be cut to obtain a new quality test result of the glass to be cut;
[0040] Determining whether the new quality inspection result is consistent with the quality inspection result;
[0041] If the new quality inspection result is consistent with the quality inspection result, executing the step of cutting the glass to be cut according to the cutting scheme and the cutting path;
[0042] If the new quality inspection result is inconsistent with the quality inspection result, the new quality inspection result is used as the quality inspection result, and the step of determining the cutting scheme and cutting path corresponding to the target glass according to the quality inspection result, the target glass and the glass to be cut is performed.
[0043] In a second aspect, an embodiment of the present application provides a glass cutting control device, comprising:
[0044] The detection module is used to perform quality detection on the glass to be cut and obtain the quality detection result of the glass to be cut.
[0045] The acquisition module is used to acquire a glass order, determine the priority of each glass in the glass order, and determine the target glass according to the priority of each glass.
[0046] The determination module is used to determine a cutting scheme and a cutting path corresponding to the target glass according to the quality detection result, the target glass and the glass to be cut.
[0047] A cutting module is used to cut the glass to be cut according to the cutting scheme and the cutting path, and use the remaining glass to be cut after cutting as the glass to be cut; and repeatedly execute the step of determining the target glass according to the priority of each glass until the cutting stop condition is met.
[0048] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, the glass cutting control method as described in any one of the first aspects is implemented.
[0049] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the glass cutting control method as described in any one of the first aspects is implemented.
[0050] It can be understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.
[0051] The glass cutting control method, device and equipment provided in the embodiments of the present application perform quality inspection on the glass to be cut, obtain the quality inspection result of the glass to be cut, and determine the target glass according to the priority of each glass in the acquired glass order. After that, based on the quality inspection result, the target glass and the glass to be cut, determine the cutting plan and cutting path of the target glass, cut the glass to be cut, and repeat the above steps of determining the target glass according to the priority of each glass until the cutting stop condition is met. In this way, the cutting plan and cutting path of the target glass are determined according to the quality inspection result, which can improve the utilization rate of the high-quality area, reduce the situation of defective products being mixed into qualified products, improve product yield, give priority to cutting the target glass with high priority, and improve production flexibility.
[0052] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present specification. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the technical solutions in the embodiments of the present application, 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0054] Figure 1 It is a schematic diagram of an application scenario provided by an embodiment of the present application;
[0055] Figure 2 is a flow chart of a glass cutting control method provided in an embodiment of the present application;
[0056] Figure 3 is a structural schematic diagram of a glass cutting control device provided in one embodiment of the present application;
[0057] Figure 4 It is a schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0058] The present application is described more clearly below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the effects of the present application, but are not intended to limit the present application in any form. It should be noted that, for those of ordinary skill in the art, several variations and improvements may be made without departing from the concept of the present application. These all fall within the scope of protection of the present application.
[0059] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0060] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0061] In the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0062] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0063] In addition, the “plurality” mentioned in the embodiments of the present application should be interpreted as two or more.
[0064] With the idea of improving the utilization rate of high-quality areas of glass to be cut, improving product yield, and increasing production flexibility, the inventors have discovered that the glass to be cut can be quality inspected, and the target glass can be determined based on the priority of each glass in the obtained glass order. Afterwards, the cutting plan and cutting path of the target glass can be determined based on the quality inspection results, the target glass and the glass to be cut, and the glass to be cut can be cut to obtain cut glass. In this way, by determining the cutting plan and cutting path of the target glass based on the quality inspection results, the utilization rate of high-quality areas can be improved, the mixing of defective products into qualified products can be reduced, the product yield can be improved, and the target glass with high priority can be cut first, thereby improving production flexibility.
[0065] First reference Figure 1 , Figure 1 A schematic diagram of an application scenario provided according to an embodiment of the present application is schematically shown, and the devices involved in the application scenario include electronic devices.
[0066] The above-mentioned electronic device performs quality inspection on the glass to be cut, obtains the quality inspection result of the glass to be cut, obtains the glass order, determines the priority of each glass in the glass order, and determines the target glass according to the priority of each glass. After that, according to the quality inspection result, the target glass and the glass to be cut, the cutting plan and cutting path corresponding to the target glass are determined, and according to the cutting plan and cutting path, the tool is controlled to cut the glass to be cut, and the remaining glass to be cut after cutting is used as the glass to be cut, and the step of determining the target glass according to the priority of each glass is repeated until the cutting stop condition is met.
[0067] Optionally, the devices involved in the application scenario also include cameras, etc. The electronic device can be communicatively connected with the camera, the camera obtains a surface image of the glass to be cut, and sends the surface image to the electronic device, and the electronic device performs quality inspection on the glass to be cut based on the surface image to obtain a quality inspection result.
[0068] And the cutting tools in this application scenario may include longitudinal cutting knives, cross cutting knives, and may also include a robot for stacking the cut glass, etc.
[0069] Combine the following Figure 1 For application scenarios, refer to Figure 2 To describe the glass cutting control method provided according to an exemplary embodiment of the present application.
[0070] Figure 2 FIG. 1 is a flow chart of a glass cutting control method provided by an embodiment of the present application. Figure 2 As shown, the method in the embodiment of the present application may include:
[0071] Step 201 : Perform quality inspection on the glass to be cut to obtain a quality inspection result of the glass to be cut.
[0072] In this embodiment, the glass to be cut is a whole large piece of glass. Cutting is performed on the glass to be cut to obtain a plurality of cut glasses that meet the order requirements. The quality inspection results include high-quality areas and poor areas on the glass to be cut, wherein the poor areas are areas on the glass to be cut that include defects such as cracks, bubbles, impurities, surface scratches, and uneven colors, and the high-quality areas are areas on the glass to be cut that do not include defects, that is, areas on the glass to be cut other than the poor areas. The high-quality areas can be effectively used to produce qualified glass products.
[0073] In some embodiments, when the quality inspection results of the glass to be cut are obtained, a surface image of the glass to be cut can be obtained, and the glass to be cut can be divided into multiple regions based on the surface image. For each region, it is detected whether there are defects in the region. If there are defects in the region, the region is determined to be a poor region. If there are no defects in the region, the region is determined to be a high-quality region.
[0074] Optionally, in this embodiment, a laser sensor such as a laser rangefinder can be used to obtain the size of the glass to be cut, such as thickness, width and length. In addition, a camera can be used to obtain a surface image of the glass to be cut, and the glass to be cut can be divided into multiple areas based on the surface image, such as multiple areas of the same size, and image recognition can be performed on each area based on image recognition technology such as edge detection and template matching to detect whether there are defects in the area, and then determine the quality status of the area, and determine the area as a high-quality area or a poor area. A coordinate system can be constructed based on the glass to be cut, and the specific position of each high-quality area or poor area in the glass to be cut can be represented by coordinates.
[0075] Step 202: Obtain a glass order, determine the priority of each glass in the glass order, and determine the target glass according to the priority of each glass.
[0076] Exemplarily, a glass order may provide multiple orders to a customer, and each glass order includes information data of the required glass, such as the size and quality requirements of each glass, as well as the quantity. Among them, glass of different sizes may have different uses, and therefore correspond to different quality requirements. For example, a certain size of glass used for automotive glass has higher quality requirements than another size of glass used for architectural glass. Quality requirements may include high, medium, low or more levels, which are marked for each glass in the glass order. The same glass order may also include glass of different sizes and quality requirements. For example, a certain glass order includes 10 pieces of glass with high quality requirements and a size of 100×200mm, 5 pieces of glass with medium quality requirements and a size of 100×200mm, and 10 pieces of glass with high quality requirements and a size of 150×300mm.
[0077] In some embodiments, when determining the priority of each glass in a glass order, the quality grade of each glass can be determined according to the quality requirements of each glass in the glass order, and the priority of each glass can be determined based on the size, quality grade, size coefficient and quality coefficient of each glass.
[0078] After research, it is found that glass with large size and high quality grade is usually considered to be more important. Therefore, in this embodiment, the priority of each glass is determined based on the size and quality grade of each glass in the glass order, and the glass with high priority is cut first. The quality grade can be expressed as a numerical value and is proportional to the quality requirement. That is, the higher the quality requirement of the glass, the higher the corresponding quality grade value. The expression of glass priority is:
[0079] P i =w s S i +wq Q i
[0080] Where P i is the priority of the i-th glass, S i and Q i are the size and quality grade of the i-th glass, w s and w q are the size coefficient and quality coefficient respectively. Here, the i-th type of glass is the glass with the same size and the same quality requirements in the same glass order. In this way, the glass of the same size may have different corresponding priorities due to different quality grades.
[0081] Exemplarily, when determining the target glass according to the priority of each glass, each glass can be sorted according to the priority of each glass to obtain a sorting result, and a preset number of glasses with the highest priority in the sorting result are used as the target glass, and the sorting result is updated, and the updated sorting result is used as the sorting result.
[0082] In this embodiment, the glasses are sorted according to the priority, such as sorting the glasses in descending order of priority, to obtain the sorting result. Then, the preset number of glasses with the highest priority is used as the target glass, and the glasses to be cut are subsequently cut based on the target glass to obtain the cut glass corresponding to the target glass, that is, the target glass is cut preferentially. Here, the preset number is an integer greater than 1, and can be set as needed, such as 1, 2, or 3.
[0083] In this way, the priority is determined according to the size and quality level of each glass, so that the glass with large size and high quality level is cut first, which improves the flexibility of glass production and improves the efficiency of the supply chain. In addition to considering the size and quality level of the glass, the priority of each glass can also be determined by considering the delivery time of the glass, the special requirements marked in the glass order, etc., which will not be repeated here.
[0084] Step 203: Determine a cutting plan and a cutting path corresponding to the target glass according to the quality inspection result, the target glass and the glass to be cut.
[0085] In this embodiment, the cutting scheme corresponding to the target glass is the overall cutting plan for the target glass, including the specific cutting position of the target glass on the glass to be cut. As mentioned above, a coordinate system can be constructed based on the glass to be cut, and the specific cutting position included in the cutting scheme can be expressed by coordinates. If there is one target glass, the cutting scheme is the cutting scheme for this one target glass. If there are multiple target glasses, the cutting scheme is the cutting scheme for the multiple target glasses. In order to improve the utilization rate of the high-quality area and improve production flexibility, the number of target glasses is usually not too large, that is, the preset number will not be too large.
[0086] The cutting path corresponding to the target glass is the actual movement trajectory of the tool when cutting the glass to be cut, including the cutting order and direction, etc. It is the specific execution details during the implementation of the cutting plan. Its focus is on how to complete the cutting based on the cutting plan efficiently and accurately.
[0087] As can be seen from the foregoing, the quality inspection results include high-quality areas and poor areas on the glass to be cut. In some possible implementations, when determining the cutting scheme and cutting path corresponding to the target glass, this embodiment can determine the cutting scheme corresponding to the target glass based on the high-quality area, the target glass and the glass to be cut, and determine the cutting path of the target glass based on the cutting scheme and the poor area.
[0088] In this embodiment, when determining the cutting scheme corresponding to the target glass, the utilization rate of the high-quality area is mainly considered, with the goal of including as many high-quality areas and fewer bad areas as possible in the cutting scheme, effectively utilizing the high-quality areas and reducing the waste of the high-quality areas. When determining the cutting path corresponding to the target glass, the cutting path is mainly considered to avoid the bad areas as much as possible, and the cutting cost is considered to prevent the tool from passing through the bad areas during cutting, which may cause adverse effects on the quality of the glass to be cut due to defects in the bad areas.
[0089] In some embodiments, when determining a cutting plan corresponding to the target glass, the following steps A1 to A4 may be performed.
[0090] A1. Generate multiple initial cutting plans based on the target glass and the glass to be cut.
[0091] A2. Calculate the first fitness corresponding to each initial cutting scheme respectively, and determine a plurality of candidate cutting schemes based on the first fitness corresponding to each initial cutting scheme.
[0092] A3. Perform crossover and mutation on each candidate cutting scheme, and use the cutting scheme after crossover and mutation as the initial cutting scheme.
[0093] A4. Repeat the steps of calculating the first fitness corresponding to each initial cutting scheme until the first stop condition is reached, and use the cutting scheme with the best first fitness among the initial cutting schemes as the cutting scheme corresponding to the target glass.
[0094] The first fitness includes the utilization rate of the high-quality areas, which is determined based on the ratio of the number of high-quality areas remaining on the glass to be cut to all high-quality areas after the glass to be cut is cut according to the corresponding initial cutting scheme.
[0095] In this embodiment, firstly, according to the size of the target glass and the size of the glass to be cut, starting from one side of the glass to be cut, a plurality of initial cutting schemes are randomly generated. Considering that the cutting scheme should include as many high-quality areas as possible, this embodiment uses the utilization rate of the high-quality areas as the first fitness of the cutting scheme.
[0096] Among them, the expression of the utilization rate of the high-quality area is:
[0097] Y=1-X s / X z
[0098] In the formula, Y is the utilization rate of high-quality areas, X is s X is the number of high-quality areas remaining on the glass to be cut after the glass to be cut is cut according to the corresponding initial cutting plan. z It is the number of all high-quality areas on the glass to be cut before any cutting is performed (ie, the original glass to be cut).
[0099] In this way, after calculating the first fitness of each initial cutting scheme, the first number of initial cutting schemes with the largest first fitness are taken as candidate cutting schemes, that is, multiple excellent individuals are selected based on the first fitness, and the above multiple excellent individuals are crossover and mutation to generate multiple new individuals, that is, the crossover and mutation cutting schemes are obtained. After that, the crossover and mutation cutting schemes are used as the initial cutting schemes, and the steps of calculating the first fitness corresponding to each initial cutting scheme are re-executed, that is, iteration is performed until the first stop condition is reached.
[0100] Optionally, the first stop condition may be that the number of iterations reaches a first number threshold, or the first fitness is greater than a first fitness threshold. Afterwards, the cutting scheme with the largest first fitness among the initial cutting schemes in the last iteration is used as the cutting scheme corresponding to the target glass, that is, the cutting scheme with the largest utilization rate of the high-quality area is used as the cutting scheme corresponding to the target glass. As mentioned above, a coordinate system can be constructed based on the glass to be cut, and the specific cutting position included in the cutting scheme corresponding to the target glass can be expressed by coordinates.
[0101] In this embodiment, a genetic algorithm (GA) is used to determine the cutting scheme corresponding to the target glass with the utilization rate of the high-quality area as the first fitness, and the specific steps are not repeated here. Of course, this embodiment can also use other algorithms such as simulated annealing algorithm (SA), particle swarm optimization (PSO) and other algorithms to determine the cutting scheme corresponding to the target glass, which is not specifically limited here.
[0102] In this embodiment, the utilization rate of high-quality areas is used as the adaptability, which can ensure that the cutting plan corresponding to the target glass finally determined includes as many high-quality areas and fewer defective areas as possible, thereby effectively utilizing the high-quality areas, reducing the waste of high-quality areas and the mixing of defective products into qualified products, and improving product yield.
[0103] In some embodiments, when determining the cutting path of the target glass, the following steps B1 to B4 may be performed.
[0104] B1. Generate multiple initial cutting paths based on the current position of the tool and the cutting plan.
[0105] B2. Calculate the second fitness corresponding to each initial cutting path respectively, and determine a plurality of candidate cutting paths based on the second fitness corresponding to each initial cutting path.
[0106] B3. Cross and mutate each candidate cutting path, and use the cross and mutated cutting path as the initial cutting path.
[0107] B4. Repeat the steps of calculating the second fitness corresponding to each initial cutting path until the second stop condition is reached, and use the cutting path with the best second fitness among the initial cutting paths as the cutting path corresponding to the target glass.
[0108] The second fitness includes a path cost. The path cost is determined based on the cutting distance cost, cutting time cost and quality cost generated when cutting according to the corresponding initial cutting path; the quality cost is determined according to the penalty value of the cutting path passing through the bad area.
[0109] In this embodiment, when the glass to be cut is cut for the first time, the current position of the tool can be determined based on the initial position of the tool. When the glass to be cut is cut subsequently, the current position of the tool is the position where the tool stops after cutting the previous target glass. According to the current position of the tool and the cutting plan, multiple initial cutting paths are randomly generated, and the initial cutting path must pass through the specific cutting position included in the cutting plan. Considering that the cutting path should avoid bad areas as much as possible and the cutting cost should be reduced as much as possible, this embodiment uses the path cost as the second fitness of the cutting path. Among them, the expression of the path cost is:
[0110] C=C l +C t +C q
[0111] In the formula, C is the path cost, C l is the cutting distance cost, C t is the cutting time cost, C q For quality cost.
[0112] Optionally, the cutting distance cost is the product of the total distance the tool moves and the unit distance cost when cutting according to the corresponding initial cutting path, and the total distance the tool moves should be minimized. The cutting time cost is the product of the cutting time and the unit time cost when cutting according to the corresponding initial cutting path, wherein the cutting time is determined by the total distance the tool moves, the tool moving speed, and the cutting preparation time, for example, the cutting time is equal to the sum of the ratio of the total distance the tool moves to the tool moving speed and the cutting preparation time. Here, the tool moving speed and the cutting preparation time can be fixed values or can be determined based on the target glass. The quality cost is related to the bad area. In this embodiment, a penalty value is assigned to each bad area. The quality cost is the sum of the penalty values corresponding to each bad area passed by the initial cutting path. The cutting path passing through the bad area should be minimized.
[0113] In this way, after calculating the second fitness of each initial cutting path, the second number of initial cutting paths with the smallest second fitness are taken as candidate cutting paths, that is, multiple excellent individuals are selected based on the second fitness, and the above multiple excellent individuals are cross-crossed and mutated to generate multiple new individuals, that is, the cross-crossed and mutated cutting paths are obtained. After that, the cross-crossed and mutated cutting paths are used as the initial cutting paths, and the steps of calculating the second fitness corresponding to each initial cutting path are re-executed, that is, iteration is performed until the second stop condition is reached.
[0114] Optionally, the second stop condition may be that the number of iterations reaches a second number threshold, or the second fitness is less than a second fitness threshold. Afterwards, the cutting path with the smallest second fitness among the initial cutting paths in the last iteration is used as the cutting path corresponding to the target glass, that is, the cutting path with the smallest path cost is used as the cutting path corresponding to the target glass.
[0115] In this embodiment, a genetic algorithm is used to determine the cutting path corresponding to the target glass with the path cost as the second fitness, and the specific steps are not repeated here. Of course, this embodiment can also use other algorithms such as simulated annealing algorithm, particle swarm algorithm, etc. to determine the cutting path corresponding to the target glass, or use A* algorithm to determine the cutting path corresponding to the target glass, which is not specifically limited here.
[0116] In this embodiment, the path cost is used as the fitness, wherein the path cost includes the quality cost determined according to the penalty value of the cutting path passing through the bad area, which can ensure that the cutting path corresponding to the target glass finally determined avoids passing through the bad area as much as possible and reduces the cutting cost as much as possible, thereby preventing the tool from passing through the bad area during cutting, which may cause adverse effects on the quality of the glass to be cut due to defects in the bad area, thereby improving the product yield.
[0117] Step 204, cutting the glass to be cut according to the cutting scheme and the cutting path, and taking the remaining glass to be cut after cutting as the glass to be cut; repeating the step of determining the target glass according to the priority of each glass until the cutting stop condition is met.
[0118] In this embodiment, after the cutting scheme and cutting path of the target glass are determined, the glass to be cut is cut based on the cutting scheme and cutting path to obtain the cut glass corresponding to the target glass. After that, the steps of determining the target glass according to the priority of each glass, determining the cutting scheme and cutting path corresponding to the target glass according to the quality inspection result, the target glass and the glass to be cut, and cutting the glass to be cut according to the cutting scheme and cutting path are re-executed until the cutting stop condition is met.
[0119] Optionally, the cutting stop condition may include that the glass to be cut can no longer be effectively cut, or that the glass in all glass orders has been cut. The glass to be cut can no longer be effectively cut, which means that the size of the glass to be cut can no longer meet the size of the target glass, and the target glass cannot be obtained no matter how the glass to be cut is cut. At this time, the glass to be cut can be reselected, and based on the reselected glass to be cut and the unfinished glass in the glass order, the glass cutting control method provided in the embodiment of the present application is executed.
[0120] In some embodiments, before cutting the glass to be cut according to the cutting plan and the cutting path, the quality of the glass to be cut can be re-inspected to obtain a new quality inspection result of the glass to be cut, and it is determined whether the new quality inspection result is consistent with the quality inspection result. If the new quality inspection result is consistent with the quality inspection result, the step of cutting the glass to be cut according to the cutting plan and the cutting path is executed. If the new quality inspection result is inconsistent with the quality inspection result, the new quality inspection result is used as the quality inspection result, and the step of determining the cutting plan and cutting path corresponding to the target glass is executed according to the quality inspection result, the target glass and the glass to be cut.
[0121] In the process of cutting the glass to be cut, new defective areas may be generated in the glass to be cut due to unexpected circumstances. Therefore, in order to ensure the quality of the final glass product and avoid waste of high-quality areas, the quality of the glass to be cut can be re-inspected according to the cutting plan and cutting path before cutting each time, and based on the consistency between the new quality inspection result and the previous quality inspection result, it is determined whether to update the quality inspection result and whether to re-execute the steps of determining the cutting plan and cutting path corresponding to the target glass based on the quality inspection result, the target glass and the glass to be cut.
[0122] Thus, when the new quality inspection result is inconsistent with the quality inspection result, it indicates that a new bad area is generated when the glass to be cut is cut. At this time, the new quality inspection result is used as the quality inspection result, and the steps of determining the cutting scheme and cutting path corresponding to the target glass are performed according to the quality inspection result, the target glass and the glass to be cut, so as to ensure the quality of the final glass product and avoid the waste of the high-quality area. When the new quality inspection result is consistent with the quality inspection result, it indicates that no new bad area is generated during the cutting process. At this time, the step of cutting the glass to be cut according to the cutting scheme and cutting path can be performed.
[0123] The glass cutting control method provided in the embodiment of the present application performs quality inspection on the glass to be cut, obtains the quality inspection result of the glass to be cut, and determines the target glass according to the priority of each glass in the acquired glass order. Then, based on the quality inspection result, the target glass and the glass to be cut, the cutting scheme and cutting path of the target glass are determined, the glass to be cut is cut, and the above steps of determining the target glass according to the priority of each glass are repeated until the cutting stop condition is met. In this way, the cutting scheme and cutting path of the target glass are determined according to the quality inspection result, which can improve the utilization rate of the high-quality area, reduce the situation of defective products being mixed into qualified products, improve product yield, give priority to cutting the target glass with high priority, and improve production flexibility.
[0124] In some embodiments, this embodiment can display the quality inspection results of the glass to be cut, the glass order, the target glass, the cutting plan and cutting path corresponding to the target glass, and the current status of the glass to be cut, so that relevant personnel can quickly and intuitively understand the glass production process.
[0125] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0126] Figure 3 Schematic diagram of the structure of a glass cutting control device provided by an embodiment of the present application. Figure 3 As shown, the glass cutting control device provided in this embodiment may include: a detection module 301 , an acquisition module 302 , a determination module 303 and a cutting module 304 .
[0127] The detection module 301 is used to perform quality detection on the glass to be cut and obtain the quality detection result of the glass to be cut.
[0128] The acquisition module 302 is used to acquire a glass order, determine the priority of each glass in the glass order, and determine the target glass according to the priority of each glass.
[0129] The determination module 303 is used to determine a cutting scheme and a cutting path corresponding to the target glass according to the quality detection result, the target glass and the glass to be cut.
[0130] The cutting module 304 is used to cut the glass to be cut according to the cutting scheme and the cutting path, and use the remaining glass to be cut after cutting as the glass to be cut; and repeatedly execute the step of determining the target glass according to the priority of each glass until the cutting stop condition is met.
[0131] In a possible implementation, the quality detection result includes a high-quality area and a bad area on the glass to be cut; the determination module 303 is further used to:
[0132] Determining a cutting scheme corresponding to the target glass according to the high-quality area, the target glass and the glass to be cut;
[0133] Based on the cutting scheme and the defective area, a cutting path of the target glass is determined.
[0134] In a possible implementation, the determining module 303 is further configured to:
[0135] Generate multiple initial cutting plans according to the target glass and the glass to be cut;
[0136] Calculating the first fitness corresponding to each initial cutting scheme respectively, and determining a plurality of candidate cutting schemes based on the first fitness corresponding to each initial cutting scheme;
[0137] Perform crossover and mutation on each candidate cutting scheme, and use the cutting scheme after crossover and mutation as the initial cutting scheme;
[0138] Repeat the step of respectively calculating the first fitness corresponding to each initial cutting scheme until a first stop condition is reached, and use the cutting scheme with the best first fitness among the initial cutting schemes as the cutting scheme corresponding to the target glass;
[0139] The first fitness includes the utilization rate of high-quality areas; the utilization rate of high-quality areas is determined based on the ratio of the number of high-quality areas remaining on the glass to be cut to all high-quality areas after the glass to be cut is cut according to the corresponding initial cutting plan.
[0140] In a possible implementation, the determining module 303 is further configured to:
[0141] generating a plurality of initial cutting paths according to the current position of the tool and the cutting scheme;
[0142] Calculating the second fitness corresponding to each initial cutting path respectively, and determining a plurality of candidate cutting paths based on the second fitness corresponding to each initial cutting path;
[0143] Crossover and mutation are performed on each candidate cutting path, and the cutting path after crossover and mutation is used as the initial cutting path;
[0144] Repeat the step of respectively calculating the second fitness corresponding to each initial cutting path until a second stop condition is reached, and use the cutting path with the best second fitness among the initial cutting paths as the cutting path corresponding to the target glass;
[0145] Among them, the second fitness includes path cost; the path cost is determined based on the cutting distance cost, cutting time cost and quality cost generated when cutting according to the corresponding initial cutting path; the quality cost is determined according to the penalty value of the cutting path passing through the bad area.
[0146] In a possible implementation, the quality detection result includes a high-quality area and a bad area on the glass to be cut; the detection module 301 is further used to:
[0147] Acquiring a surface image of the glass to be cut, and dividing the glass to be cut into a plurality of regions based on the surface image;
[0148] For each area, detect whether there is a defect in the area;
[0149] If there are defects in the region, the region is determined to be a bad region, and if there are no defects in the region, the region is determined to be a good region.
[0150] In a possible implementation, the glass order includes the size and quality requirements of each glass; the acquisition module 302 is further used to:
[0151] Determine the quality grade of each glass according to the quality requirements of each glass in the glass order;
[0152] The priority of each glass is determined based on its size, quality grade, and size factor and quality factor.
[0153] In a possible implementation, the acquisition module 302 is further configured to:
[0154] Sort the glasses according to their priorities to obtain a sorting result;
[0155] A preset number of glasses with the highest priority in the sorting result are used as target glasses, and the sorting result is updated, and the updated sorting result is used as the sorting result.
[0156] In a possible implementation, the detection module 301 is further configured to:
[0157] Re-testing the quality of the glass to be cut to obtain a new quality test result of the glass to be cut;
[0158] Determining whether the new quality inspection result is consistent with the quality inspection result;
[0159] If the new quality inspection result is consistent with the quality inspection result, executing the step of cutting the glass to be cut according to the cutting scheme and the cutting path;
[0160] If the new quality inspection result is inconsistent with the quality inspection result, the new quality inspection result is used as the quality inspection result, and the step of determining the cutting scheme and cutting path corresponding to the target glass according to the quality inspection result, the target glass and the glass to be cut is performed.
[0161] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0162] Figure 4 Schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 4 As shown, the electronic device 400 of this embodiment includes: a processor 410 and a memory 420, wherein the memory 420 stores a computer program 421 that can be run on the processor 410. When the processor 410 executes the computer program 421, the steps in any of the above method embodiments are implemented, for example Figure 2 Alternatively, when the processor 410 executes the computer program 421, the functions of each module / unit in the above-mentioned device embodiments are implemented, for example Figure 3 Functions of modules 301 to 304 are shown.
[0163] Exemplarily, the computer program 421 may be divided into one or more modules / units, one or more modules / units are stored in the memory 420, and are executed by the processor 410 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program 421 in the electronic device 400.
[0164] Those skilled in the art will understand that Figure 4These are merely examples of electronic devices and do not constitute a limitation of the electronic device. The electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components, such as input and output devices, network access devices, buses, etc.
[0165] The processor 410 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0166] The memory 420 may be an internal storage unit of the electronic device, such as a hard disk or memory of the electronic device, or an external storage device of the electronic device, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. The above-mentioned memory 420 may also include both an internal storage unit of the electronic device and an external storage device. The above-mentioned memory 420 is used to store computer programs and other programs and data required by the electronic device. The memory 420 may also be used to temporarily store data that has been output or is to be output.
[0167] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0168] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned glass cutting control method is implemented.
[0169] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0170] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0171] In the embodiments provided by the present invention, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0172] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0173] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0174] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc.
[0175] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A glass cutting control method, characterized in that: include: Performing quality inspection on the glass to be cut to obtain a quality inspection result of the glass to be cut; Obtaining a glass order, determining the priority of each glass in the glass order, and determining a target glass according to the priority of each glass; Determine a cutting scheme and a cutting path corresponding to the target glass according to the quality inspection result, the target glass and the glass to be cut; Cutting the glass to be cut according to the cutting scheme and the cutting path, and using the remaining glass to be cut after cutting as the glass to be cut; The step of determining the target glass according to the priority of each glass is repeatedly performed until the cutting stop condition is met.
2. The glass cutting control method according to claim 1, characterized in that: The quality inspection result includes high-quality areas and bad areas on the glass to be cut; The step of determining a cutting scheme and a cutting path corresponding to the target glass according to the quality inspection result, the target glass and the glass to be cut includes: Determining a cutting scheme corresponding to the target glass according to the high-quality area, the target glass and the glass to be cut; Based on the cutting plan and the defective area, a cutting path of the target glass is determined.
3. The glass cutting control method according to claim 2, characterized in that: The step of determining a cutting scheme corresponding to the target glass according to the high-quality area, the target glass and the glass to be cut includes: Generate multiple initial cutting plans according to the target glass and the glass to be cut; Calculating the first fitness corresponding to each initial cutting scheme respectively, and determining a plurality of candidate cutting schemes based on the first fitness corresponding to each initial cutting scheme; Perform crossover and mutation on each candidate cutting scheme, and use the cutting scheme after crossover and mutation as the initial cutting scheme; Repeat the step of respectively calculating the first fitness corresponding to each initial cutting scheme until a first stop condition is reached, and use the cutting scheme with the best first fitness among the initial cutting schemes as the cutting scheme corresponding to the target glass; The first fitness includes the utilization rate of high-quality areas; the utilization rate of high-quality areas is determined based on the ratio of the number of high-quality areas remaining on the glass to be cut to all high-quality areas after the glass to be cut is cut according to the corresponding initial cutting plan.
4. The glass cutting control method according to claim 2, characterized in that: The step of determining a cutting path of the target glass based on the cutting scheme and the defective area includes: generating a plurality of initial cutting paths according to the current position of the tool and the cutting scheme; Calculating the second fitness corresponding to each initial cutting path respectively, and determining a plurality of candidate cutting paths based on the second fitness corresponding to each initial cutting path; Crossover and mutation are performed on each candidate cutting path, and the cutting path after crossover and mutation is used as the initial cutting path; Repeat the step of respectively calculating the second fitness corresponding to each initial cutting path until a second stop condition is reached, and use the cutting path with the best second fitness among the initial cutting paths as the cutting path corresponding to the target glass; Among them, the second fitness includes path cost; the path cost is determined based on the cutting distance cost, cutting time cost and quality cost generated when cutting according to the corresponding initial cutting path; the quality cost is determined according to the penalty value of the cutting path passing through the bad area.
5. The glass cutting control method according to any one of claims 1 to 4, characterized in that: The quality inspection result includes high-quality areas and bad areas on the glass to be cut; The step of performing quality inspection on the glass to be cut to obtain the quality inspection result of the glass to be cut includes: Acquiring a surface image of the glass to be cut, and dividing the glass to be cut into a plurality of regions based on the surface image; For each area, detect whether there is a defect in the area; If there are defects in the region, the region is determined to be a bad region, and if there are no defects in the region, the region is determined to be a good region.
6. The glass cutting control method according to any one of claims 1 to 4, characterized in that: The glass order includes the size and quality requirements of each glass; Determining the priority of each glass in the glass order includes: Determine the quality grade of each glass according to the quality requirements of each glass in the glass order; The priority of each glass is determined based on its size, quality grade, and size factor and quality factor.
7. The glass cutting control method according to any one of claims 1 to 4, characterized in that: The step of determining the target glass according to the priority of each glass comprises: Sort the glasses according to their priorities to obtain a sorting result; A preset number of glasses with the highest priority in the sorting result are used as target glasses, and the sorting result is updated, and the updated sorting result is used as the sorting result.
8. The glass cutting control method according to any one of claims 1 to 4, characterized in that: Before cutting the glass to be cut according to the cutting scheme and the cutting path, the method further includes: Re-testing the quality of the glass to be cut to obtain a new quality test result of the glass to be cut; Determining whether the new quality inspection result is consistent with the quality inspection result; If the new quality inspection result is consistent with the quality inspection result, executing the step of cutting the glass to be cut according to the cutting scheme and the cutting path; If the new quality inspection result is inconsistent with the quality inspection result, the new quality inspection result is used as the quality inspection result, and the step of determining the cutting scheme and cutting path corresponding to the target glass according to the quality inspection result, the target glass and the glass to be cut is performed.
9. A glass cutting control device, characterized in that: include: A detection module, used to perform quality detection on the glass to be cut and obtain a quality detection result of the glass to be cut; An acquisition module, used for acquiring a glass order, determining the priority of each glass in the glass order, and determining a target glass according to the priority of each glass; A determination module, used for determining a cutting scheme and a cutting path corresponding to the target glass according to the quality detection result, the target glass and the glass to be cut; A cutting module, used for cutting the glass to be cut according to the cutting scheme and the cutting path, and taking the remaining glass to be cut after cutting as the glass to be cut; The step of determining the target glass according to the priority of each glass is repeatedly performed until the cutting stop condition is met.
10. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the computer program, the glass cutting control method according to any one of claims 1 to 8 is implemented.