Material area deviation correction data determination method and control method, system, device, medium

By acquiring and processing edge distance data, and combining preset conditions and threshold judgments, the correction adjustment data is determined, which solves the problem of improper calculation of correction data in the existing technology and improves the yield and quality of coating products.

CN116661383BActive Publication Date: 2025-12-26NANCHANG XINWANGDA NEW ENERGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310573308.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-19
Publication Date
2025-12-26
Estimated Expiration
2043-05-19

AI Technical Summary

Technical Problem

Existing technologies, when determining the correction data for the front and back fabric areas, suffer from improper calculations, leading to unreasonable correction adjustment data that affects product quality and yield.

Method used

By acquiring the first and second edge distance data, difference calculation and alignment correction calculation are performed. Combined with the preset number of material lines and the number of correction groups, the target alignment data is determined. Based on the correction threshold, numerical judgment is made to determine the correction adjustment data.

Benefits of technology

To more accurately determine the corrective adjustment data, improve the yield of coating products, and ensure product quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116661383B_ABST
    Figure CN116661383B_ABST
Patent Text Reader

Abstract

The application provides a material area deviation correction data determination method and control method, system, device and medium, and belongs to the technical field of product processing control. The material area deviation correction data determination method specifically comprises the following steps: obtaining first edge margin data of a historical first spraying area on a first target material edge, and obtaining second edge margin data of a historical second spraying area on a second target material edge that is misaligned with the first target material edge; performing difference calculation on the first edge margin data and the second edge margin data to obtain first material area alignment degree data; obtaining first candidate alignment degree data from the first material area alignment degree data according to a preset material line number; determining target alignment degree data according to the first candidate alignment degree data and a preset deviation correction group number; and performing numerical judgment on the target alignment degree data according to a deviation correction threshold, and determining deviation correction adjustment data. The embodiments of the application can accurately determine the deviation correction adjustment data of the front and back material areas, so as to ensure product quality and improve the yield of coating products.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of product processing control, and in particular to a material area deviation correction data determination method and control method, system, device and medium. BACKGROUND

[0002] At present, keeping the alignment degree of the front and back material areas within the range of process requirements is one of the important factors to ensure product quality. In related technologies, when controlling the alignment degree of the front and back material areas, deviation correction adjustment data is calculated in real time by visual measurement software, and is sent to a programmable logic controller (PLC) through communication. Then, the PLC adjusts the left and right positions of the moving part of the moving die according to the received deviation correction adjustment data, so as to achieve the purpose of controlling the alignment degree of the front and back material areas. However, in related technologies, when determining the material area deviation correction data, improper processing of the data measured by the vision measurement may easily lead to unreasonable deviation correction adjustment data, so that an optimal deviation correction amount cannot be calculated when the front and back surfaces of the product are misaligned, and the yield of the product is reduced. Therefore, how to better determine the deviation correction adjustment data of the front and back material areas so as to ensure product quality while improving the yield of the coating product has become a technical problem to be solved. SUMMARY

[0003] The main purpose of the embodiments of the present application is to provide a material area deviation correction data determination method and control method, system, device and medium, which are aimed at more accurately determining the deviation correction adjustment data of the front and back material areas, so as to ensure product quality while improving the yield of the coating product.

[0004] To achieve the above-mentioned purpose, a first aspect of the embodiments of the present application provides a material area deviation correction data determination method for determining deviation correction adjustment data of a target device, the target device being used for coating processing of a to-be-coated piece, the to-be-coated piece including a first coating surface and a second coating surface, the first coating surface including a historical first spraying area, and the second coating surface including a historical second spraying area, and the method including:

[0005] obtaining first candidate data, the first candidate data including first margin data and second margin data, the first margin data being used to represent data of the historical first spraying area at a first target material edge, and the second margin data being used to represent data of the historical second spraying area at a second target material edge misaligned with the first target material edge;

[0006] performing difference calculation on the first margin data and the second margin data to obtain first material area alignment degree data;

[0007] According to the preset material line number, the first material area alignment degree data is calculated to obtain first candidate alignment degree data;

[0008] According to the first candidate alignment degree data and a preset correction group number, target alignment degree data is determined.

[0009] According to a preset correction threshold, the target alignment degree data is numerically judged, and correction adjustment data is determined according to the result of numerical judgment, which is used to correct and adjust the target device.

[0010] In some embodiments, the target device includes a die moving component and a spraying die, the die moving component is used to control the movement of the spraying die for paint operation on the to-be-coated object; the correction threshold includes a correction median early warning threshold and a single correction stroke threshold, and the numerical judgment of the target alignment degree data according to the preset correction threshold and the determination of the correction adjustment data according to the result of numerical judgment include:

[0011] According to the correction median early warning threshold, the target alignment degree data is first numerically judged, and first correction data is determined according to the result of the first numerical judgment.

[0012] According to the result of the first numerical judgment and the single correction stroke threshold, the first correction data is secondly numerically judged, and second correction data is determined according to the result of the second numerical judgment.

[0013] According to the installation direction of the die moving component, the second correction data is data positive and negative transformation to determine the correction adjustment data.

[0014] In some embodiments, the first candidate alignment degree data is obtained by calculating the first material area alignment degree data according to the preset material line number, including:

[0015] When the preset material line number is less than or equal to a preset material line number threshold, the first candidate alignment degree data is obtained by calculating the first material area alignment degree data according to a first alignment correction algorithm.

[0016] When the preset material line number is greater than the preset material line number threshold, the first candidate alignment degree data is obtained by calculating the first material area alignment degree data according to a second alignment correction algorithm.

[0017] In some embodiments, the first candidate alignment degree data is obtained by calculating the first material area alignment degree data according to the second alignment correction algorithm, including:

[0018] positive data extraction is performed on the first material area alignment data to obtain positive alignment sub-data;

[0019] negative data extraction is performed on the first material area alignment data to obtain negative alignment sub-data;

[0020] mean value calculation is performed on the positive alignment sub-data to obtain a first alignment mean value;

[0021] mean value calculation is performed on the negative alignment sub-data to obtain a second alignment mean value;

[0022] mean value calculation is performed on the first alignment mean value and the second alignment mean value to obtain the first candidate alignment data.

[0023] In some embodiments, the preset number of correction groups is N, N is a positive integer greater than or equal to 2, and the target alignment data is determined according to the first candidate alignment data and the preset number of correction groups, including:

[0024] N-1 second candidate data are obtained, each of the second candidate data including third margin data and fourth margin data, the third margin data being used to represent data of the historical first spraying area at the first target material edge, and the fourth margin data being used to represent data of the historical second spraying area at a second target material edge misaligned with the first target material edge;

[0025] difference calculation is performed on the third margin data and the fourth margin data to obtain second material area alignment data;

[0026] alignment correction calculation is performed on the second material area alignment data according to the preset number of material lines to obtain second candidate alignment data;

[0027] median value calculation is performed on the first candidate alignment data and the second candidate alignment data to obtain the target alignment data.

[0028] In some embodiments, the method further includes:

[0029] historical cumulative correction data is obtained;

[0030] numerical addition is performed on the historical cumulative correction data and the correction adjustment data to obtain target cumulative correction data;

[0031] when the target cumulative correction data is greater than a preset cumulative correction threshold, an alarm signal is sent to the target device.

[0032] To achieve the above object, a second aspect of the embodiments of the present application proposes a material area correction control method, including:

[0033] When it is identified that the reading state of the early warning signal address is an unread state, read the deviation adjustment data of the target device in the preset deviation value address, and the deviation adjustment data is obtained according to the material area deviation data determination method in the first aspect;

[0034] According to the deviation adjustment data, control the target device to perform deviation adjustment, and update the reading state of the early warning signal address to a read state;

[0035] If a deviation completion signal of the target device is received, update the reading state of the preset completion signal address to an unread state;

[0036] If it is identified that the reading state of the completion signal address is an unread state, update the deviation adjustment data in the deviation value address;

[0037] Update the reading state of the completion signal address to a read state, and update the reading state of the early warning signal address to a read state.

[0038] To achieve the above-mentioned purpose, the third aspect of the embodiment of the present application proposes a material area deviation data determination system, the system comprises:

[0039] The data acquisition module is used for acquiring the first edge margin data of the first target material edge of the historical first spraying area, and acquiring the second edge margin data of the second target material edge of the historical second spraying area which is misaligned with the first target material edge;

[0040] The difference calculation module is used for calculating the difference of the first edge margin data and the second edge margin data to obtain first material area alignment degree data;

[0041] The alignment degree calculation module is used for performing alignment degree deviation calculation on the first material area alignment degree data according to a preset material line number to obtain first candidate alignment degree data;

[0042] The target alignment degree determination module is used for determining target alignment degree data according to the first candidate alignment degree data and a preset deviation group number;

[0043] The numerical value judgment module is used for performing numerical value judgment on the target alignment degree data according to a preset deviation threshold, and determining deviation adjustment data according to the result of numerical value judgment, and the deviation adjustment data is used for deviation adjustment of the target device.

[0044] To achieve the above-mentioned purpose, the fourth aspect of the embodiment of the present application proposes a computer device, comprising:

[0045] At least one memory;

[0046] At least one processor;

[0047] at least one computer program;

[0048] The at least one computer program is stored in the at least one memory, and the at least one processor executes the at least one computer program to implement: the material area correction data determination method according to the first aspect above; or the material area correction control method according to the second aspect above.

[0049] To achieve the above-mentioned purpose, a fifth aspect of the embodiment of the present application provides a storage medium, which is a computer readable storage medium, and the computer readable storage medium stores a computer program, and the computer program is used to make a computer execute: the material area correction data determination method according to the first aspect above; or the material area correction control method according to the second aspect above.

[0050] The material area correction data determination method and control method, system, device and medium provided by the present application are used to determine the correction adjustment data of a target device, and the target device is used to perform paint processing on a to-be-coated piece. The to-be-coated piece includes a first coating surface and a second coating surface, the first coating surface includes a historical first spraying area, and the second coating surface includes a historical second spraying area. Specifically, first, first candidate data is obtained, the first candidate data includes first margin data and second margin data, the first margin data is used to represent the data of the historical first spraying area at a first target material edge, and the second margin data is used to represent the data of the historical second spraying area at a second target material edge that is misaligned with the first target material edge. The first margin data and the second margin data are subjected to difference calculation to obtain first material area alignment degree data. Then, the first material area alignment degree data is subjected to alignment degree correction calculation according to a preset material line number to obtain first candidate alignment degree data. Then, target alignment degree data is determined according to the first candidate alignment degree data and a preset correction group number. Finally, the target alignment degree data is subjected to numerical judgment according to a preset correction threshold, and the correction adjustment data used for correcting and adjusting the target device is determined according to the result of the numerical judgment. The embodiment of the present application can more accurately determine the correction adjustment data of the front and back material areas, so as to ensure the product quality and improve the paint product rate. BRIEF DESCRIPTION OF DRAWINGS

[0051] Figure 1 is an optional flowchart of the material area correction data determination method provided by the embodiment of the present application;

[0052] Figure 2 is a cross-sectional schematic diagram of the to-be-coated piece when the to-be-coated piece is subjected to paint processing on the target device;

[0053] Figure 3A is a schematic diagram of the margin data on the to-be-coated piece;

[0054] Figure 3B is a structure front view of a coating machine material belt walking provided by an embodiment of the application;

[0055] Figure 3C is a structure top view of a coating machine material belt walking provided by an embodiment of the application;

[0056] Figure 4 is Figure 1 an optional flow chart of step S130 in

[0057] Figure 5 is Figure 4 an optional flow chart of step S420 in

[0058] Figure 6 is Figure 1 an optional flow chart of step S140 in

[0059] Figure 7 is Figure 1 an optional flow chart of step S150 in

[0060] Figure 8 is another optional flow chart of a material area deviation correction data determination method provided by an embodiment of the application;

[0061] Figure 9 is a calculation logic flow chart of deviation correction adjustment data provided by an embodiment of the application;

[0062] Figure 10 is an optional flow chart of a material area deviation correction control method provided by an embodiment of the application;

[0063] Figure 11 is a communication setting schematic diagram between a deviation correction control software end and a PLC end of the application;

[0064] Figure 12 is a module structure schematic diagram of a material area deviation correction data determination system provided by an embodiment of the application;

[0065] Figure 13 is a hardware structure schematic diagram of a computer device provided by an embodiment of the application. DETAILED DESCRIPTION

[0066] In order to make the purpose, technical scheme and advantages of the application clearer, the application will be further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the application and not used to limit the application.

[0067] It should be noted that although the functional modules are divided in the device schematic diagram, and the logical sequence is shown in the flowchart, in some cases, the steps shown or described can be performed in a manner different from the module division in the device or the sequence in the flowchart. The terms "first", "second", and the like in the specification and claims and the above-described drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0068] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the specification herein is for describing the embodiments of the application only and is not intended to limit the application.

[0069] The poor alignment of the front and back fabric areas in the coating machine process is one of the important problems affecting the quality of the coating product. For example, for a double-layer high-speed coating machine with a speed of 70 m / min, if the front and back fabric area alignment is not good, a large number of scrap products will be produced.

[0070] Currently, controlling the front and back fabric area alignment to be within the process requirements is one of the important factors to ensure product quality. In the related art, when controlling the front and back fabric area alignment, the visual measurement software calculates the correction adjustment data in real time, and sends it to the programmable logic controller (PLC) through communication. Then, the PLC adjusts the left and right positions of the moving die moving part according to the received correction adjustment data, so as to achieve the purpose of controlling the front and back fabric area alignment. However, in the related art, when determining the material area correction data, due to improper processing of the visual measurement data, the calculated correction adjustment data is not reasonable, so that the optimal correction amount cannot be calculated when the front and back of the product are misaligned, and the product yield is reduced. Therefore, how to better determine the correction adjustment data of the front and back fabric area, so as to ensure the product quality while improving the yield of the coating product, has become a technical problem to be solved.

[0071] Based on this, the embodiments of the present application provide a material area correction data determination method and control method, system, device and medium, which aims to more accurately determine the correction adjustment data of the front and back fabric area, so as to ensure the product quality while improving the yield of the coating product.

[0072] The material area deviation correction data determination method and the control method provided by the embodiments of the present application can be applied to a terminal, can be applied to a server end, and can also be software running in the terminal or the server end. In some embodiments, the terminal can be a smart phone, a tablet computer, a notebook computer, a desktop computer, etc. The server end can be configured as a separate physical server, can be configured as a server cluster or a distributed system formed by multiple physical servers, can also be configured as a cloud server providing basic cloud computing services such as cloud service, cloud database, cloud computing, cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, content delivery network (CDN), and big data and artificial intelligence platform, etc. The software can be an application that implements the material area deviation correction data determination method and the control method, but is not limited to the above forms.

[0073] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld devices or portable devices, tablet devices, multi-processor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers (PCs), minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in a distributed computing environment in which tasks are performed by remote processing devices connected by a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media, including storage devices.

[0074] Please refer to Figure 1 , Figure 1 is an optional flowchart of the material area deviation correction data determination method provided by the embodiments of the present application. In some embodiments of the present application, the material area deviation correction data determination method of the present application is used to determine deviation correction adjustment data of a target device, which is used to perform paint processing on a to-be-coated piece. The to-be-coated piece includes a first coating surface and a second coating surface, the first coating surface includes a historical first spraying area, and the second coating surface includes a historical second spraying area. Figure 1 The method in the above embodiment can specifically include but is not limited to steps S110 to S150, which will be described below in combination with Figure 1 The five steps will be described in detail.

[0075] Step S110, obtaining first candidate data, the first candidate data including first margin data and second margin data, the first margin data being used to represent data of a historical first spraying area at a first target material edge, and the second margin data being used to represent data of a historical second spraying area at a second target material edge misaligned with the first target material edge;

[0076] Step S120, performing difference calculation on the first margin data and the second margin data to obtain first material area alignment degree data;

[0077] Step S130, performing alignment degree correction calculation on the first material area alignment degree data according to a preset material line number to obtain first candidate alignment degree data;

[0078] Step S140, determining target alignment degree data according to the first candidate alignment degree data and a preset correction group number;

[0079] Step S150, performing numerical value judgment on the target alignment degree data according to a preset correction threshold, and determining correction adjustment data according to a result of the numerical value judgment, the correction adjustment data being used to perform correction adjustment on the target equipment.

[0080] It should be noted that the target equipment is used to represent a coating machine equipment that needs to perform material area alignment degree correction, and the target equipment can realize coating processing of positive and negative material areas. Please refer to Figure 2 , Figure 2 is a cross-sectional view of the to-be-coated piece 210 when performing coating processing on the target equipment. After the target equipment performs coating processing on the positive and negative surfaces of the to-be-coated piece 210, the to-be-coated piece 210 includes a first coated surface 220 and a second coated surface 230. The first coated surface includes a historical first spraying area 221, and the second coated surface includes a historical second spraying area 231. In an ideal case, the historical first spraying area 221 and the historical second spraying area 231 are two spraying areas of the to-be-coated piece that are positively and negatively aligned at the same position. However, after the target equipment performs coating on the first coated surface 220 and the second coated surface 230 of the to-be-coated piece 210, misalignment may occur, that is, the historical first spraying area 221 and the historical second spraying area 231 are misaligned (as shown in Figure 2 ), so that the target equipment performs coating processing on the spraying areas of the positive and negative material areas in a misaligned manner. Therefore, the alignment degree of the positive and negative surfaces of the material area of the target equipment needs to be continuously corrected, that is, regardless of changes in other factors of the equipment, the alignment degree error between the historical first spraying area 221 and the historical second spraying area 231 needs to be kept within a process requirement range.

[0081] In step S110 of some embodiments, the preset number of lines of paint is flexibly set when the target device applies paint to the to-be-coated piece according to actual needs. The preset number of lines of paint is an even number, such as 2, 4, 6, etc., which is used to represent the number of target edges of the sprayable area on the first coating surface or the second coating surface. The number of sprayable areas on the first coating surface or the second coating surface can be determined according to the setting of the preset number of lines of paint. Therefore, the target device can be a double-layer high-speed coating machine with one out of six production mode, or a double-layer high-speed coating machine with one out of four production mode, etc.

[0082] For example, referring to Figure 3A When the preset number of lines of paint is 4 and the double-layer high-speed coating machine is in one out of four production mode, the number of target edges of the sprayable area on the first coating surface or the second coating surface is 4. Taking the first coating surface as an example, the first coating surface includes two historical first sprayable areas 310 (gray areas in the figure), three unsprayed areas 320 (white areas on both sides of the gray areas), and four first target edges 330. In order to improve the calculation speed of the correction data, the present application only considers the overall left-right width of the die moving component of the target device, i.e., moving the die moving component as a whole to the left or right to achieve the alignment of the sprayable area. Therefore, taking the two edge sides of the sprayable area of the target device as the distance measurement reference, the two first target edges 330 contained in each historical first sprayable area 310 only calculate the distance with the edge side of the to-be-coated piece closest to it to determine the four first edge distance data of the historical first sprayable area 310, denoted as L1, L2, L3, and L4. Similarly, the second coating surface includes two historical second sprayable areas, three unsprayed areas, and four second target edges, and each second target edge is misaligned with the corresponding first target edge, and the alignment degree data of the misalignment can be 0 or any value. The two second target edges contained in each historical second sprayable area only calculate the distance with the to-be-coated piece closest to it to obtain the four second edge distance data of the second sprayable area at the second target edge, denoted as L1', L2', L3', and L4'.

[0083] It should be noted that, similarly, when the preset number of lines of paint is 6 and the double-layer high-speed coating machine is in one out of six production mode, the number of target edges of the sprayable area on the first coating surface or the second coating surface is 6, i.e., the number of first target edges, second target edges, first edge distance data, and second edge distance data is 6, and the number of historical first sprayable areas and historical second sprayable areas is 3.

[0084] It should be noted that before step S110, the present application first collects data according to the coating CCD software of the target device to obtain four original width data of the first coating surface in the historical first spraying area 310 and in the non-spraying area, which are denoted as W1, W2, W3 and W4 respectively. Similarly, the second coating surface also has four original width data. Then, in step S110, the obtained original width data is processed and converted into edge margin data of a unified reference to facilitate the establishment of the calculation standard of the alignment degree data. In combination with Figure 3A As shown in the figure, since the two first target material edges 330 contained in each historical first spraying area 310 only perform distance calculation with the edge side of the nearby to-be-coated part, the first coating surface corresponds to L1=W1, L2=W1+W2, L3=W3 and L4=W3+W4. Similarly, the acquisition of the second edge margin data can refer to the first coating surface, which will not be described here.

[0085] It should be noted that the material area deviation correction data determination method provided by the present application is applied to the deviation correction control software end, and the deviation correction control software end and the vision software end can be connected through TCP communication to send the original width data collected by the vision software end to the deviation correction control software end through the internal bus of the host.

[0086] It should be noted that the original width data refers to the unprocessed width data obtained from the vision software end, and the measurement method of the vision software end can be a line scanning camera+high light bar light+OpenCV-based image processing algorithm, which will not be described here.

[0087] It should be noted that, as shown in Figure 3B , the Figure 3B is a structure front view of a coating machine material belt walking provided by an embodiment of the present application. The front view includes a spraying die head 340 and a die head moving part 350, the spraying die head 340 is used to represent an extrusion mechanism die head for controlling the position and size of the front and back material areas of the to-be-coated part on the to-be-coated part. The die head moving part 350 is used to represent a servo moving mechanism for controlling the moving position of the spraying die head 340. The front view also includes a vision measurement mechanism 360 of the vision software end and a rolling mechanism 370 for supporting the walking of the to-be-coated part.

[0088] It should be noted that, as shown in Figure 3C , the Figure 3CA structure top view of a coating machine material belt walking is provided in the embodiment of the present application. Wherein, after the PLC reads the deviation adjustment data, the die moving part 350 controls the spraying die 340 to adjust the position of the first coating surface according to the deviation adjustment data, so as to adjust the position of the historical first spraying area 310 (the gray area in the figure) and the non-spraying area 320 included in the first coating surface, thereby ensuring that the alignment error between the historical first spraying area and the historical second spraying area is kept within the range required by the process.

[0089] In step S120 of some embodiments, in order to consider the deviation of each pair of misaligned alignment margin data, the accuracy of the target device deviation control is improved. The first margin data and the second margin data of each pair of misaligned alignment are calculated respectively in the embodiment of the present application. For example, when the preset material line number is 4, four first material area alignment data can be obtained according to four first margin data and four second margin data. Therefore, the first material area alignment data is denoted as OHx, and the value of x is 1, 2, 3, 4. Specifically, if the single-sided deviation correction mode is adopted in the present application, the first material area alignment data is the first margin data minus the second margin data, i.e. OH1=L1-L1', OH2=L2-L2', OH3=L3-L3', OH4=L4-L4'. Therefore, by considering the misaligned difference value of each pair of margin data, i.e. the first material area alignment data, the overall error balance can be realized.

[0090] It should be noted that the following embodiments are to calculate the deviation adjustment data in the single-sided deviation correction mode, i.e. to adjust the deviation of one spraying area of the target device according to the deviation adjustment data. And the embodiment of the present application can also be applied to the double-sided deviation correction mode. Specifically, after the material area deviation data determination method is performed according to the historical second spraying area and the historical first spraying area, the deviation adjustment data corresponding to the new historical first spraying area of the present application is determined to realize the deviation adjustment of one spraying area of the target device. Then, the historical second spraying area is taken as the new historical first spraying area, and the historical first spraying area is taken as the new historical second spraying area. And the deviation adjustment data corresponding to the new historical second spraying area of the present application is determined according to the new historical first spraying area and the new historical second spraying area. Therefore, the double-sided deviation correction mode can realize the deviation adjustment of two spraying areas of the target device. Herein, no further description is given.

[0091] In step S130 of some embodiments, for example, when the preset number of material lines is 4, four first material area alignment degree data are calculated according to the difference between the first margin data and the second margin data. Due to the related art correction data determination method, only the mean value calculation is performed after the original width data is obtained, and in order to avoid the influence of extreme difference data on the overall alignment balance of the target device, in order to consider the error balance of all data, the present application performs alignment correction calculation on all the obtained first material area alignment degree data to determine the first candidate alignment degree data with better alignment balance effect.

[0092] Please refer to Figure 4 , Figure 4 is an optional flowchart of step S130 provided by the embodiments of the present application. In some embodiments of the present application, step S130 can specifically include but is not limited to steps S410 to S420, which will be described in detail below in combination with Figure 4 .

[0093] Step S410, when the preset number of material lines is less than or equal to the preset number of material line threshold, the first material area alignment degree data is corrected according to the first alignment correction algorithm, and the first candidate alignment degree data is obtained.

[0094] Step S420, when the preset number of material lines is greater than the preset number of material line threshold, the first material area alignment degree data is corrected according to the second alignment correction algorithm, and the first candidate alignment degree data is obtained.

[0095] In step S410 of some embodiments, in order to improve the correction efficiency, when the preset number of material lines is less than or equal to the preset number of material line threshold, the first material area alignment degree data is corrected according to the first alignment correction algorithm. Wherein, the preset number of material line threshold is used to represent the condition of selecting different alignment value algorithm. For example, the preset number of material line threshold is 2, and when the preset number of material lines is also 2, the historical first spraying area has only one. The two first material area alignment degree data obtained are denoted as OH1 and OH2, and OH1 is-0.5 millimeters (mm) and OH2 is 0.1 mm. The mean value calculation is performed on OH1 and OH2, that is, according to (-0.5+0.1) / 2, the first candidate alignment degree data is obtained, denoted as OH'. Wherein, assuming that the left boundary reference is shown in FIG. 8, the adjustment in the direction close to the reference is denoted as negative value, and the adjustment in the direction away from the reference is denoted as positive value. In addition, the adjustment in the direction close to the reference can also be denoted as positive value, which can be limited according to actual needs, and will not be described here. Figure 3A

[0096] ​In step S420 of some embodiments, when the preset number of fabric lines is greater than the preset number threshold of fabric lines, in order to more accurately determine the correction adjustment data of the front and back fabric area, then through the second alignment correction algorithm, part of the integrity is sacrificed to control all fabric line offsets within a reasonable range. For example, the preset number threshold of fabric lines is 2, and when the preset number of fabric lines is 4, there are two historical first spraying areas, then the four first fabric area alignment data obtained are recorded as OH1, OH2, OH3 and OH4. The extreme value calculation is performed on OH1, OH2, OH3 and OH4 to obtain the first candidate alignment data OH'.

[0097] Please refer to Figure 5 , Figure 5 is an optional flowchart of step S420 provided by the embodiments of the present application. In some embodiments of the present application, step S420 can specifically include but is not limited to steps S510 to S550, which will be described below in combination with Figure 5 The five steps will be described in detail.

[0098] Step S510, positive data extraction is performed on the first fabric area alignment data to obtain positive alignment sub-data;

[0099] Step S520, negative data extraction is performed on the first fabric area alignment data to obtain negative alignment sub-data;

[0100] Step S530, mean value calculation is performed on the positive alignment sub-data to obtain a first alignment mean value;

[0101] Step S540, mean value calculation is performed on the negative alignment sub-data to obtain a second alignment mean value;

[0102] Step S550, mean value calculation is performed on the first alignment mean value and the second alignment mean value to obtain the first candidate alignment data.

[0103] In step S510 to step S550 of some embodiments, assuming that the preset number threshold of the material lines is 2, when the preset number of the material lines is 4, the second alignment degree correction algorithm is used to sacrifice part of the integrity to control all the material line offsets within a reasonable range. At this time, the historical first spraying area and the historical second spraying area both have two, then four first material area alignment degree data are calculated according to the difference, for example, OH1 is -0.5mm, OH2 is 0.1mm, OH3 is 0.15mm, and OH4 is 0.1mm. Specifically, the positive data of the first material area alignment degree data is extracted to obtain the positive alignment degree sub-data including OH2, OH3 and OH4. The negative data of the first material area alignment degree data is extracted to obtain the negative alignment degree sub-data including OH1. Then, the mean value of the positive alignment degree sub-data is calculated, that is, the first alignment degree mean value is obtained by (0.1+0.15+0.1) / 3≈0.117. Since the negative alignment degree sub-data at this time is only OH1, the second alignment degree mean value is also the value of OH1. Then, the mean value of the first alignment degree mean value and the second alignment degree mean value is calculated, that is, the second alignment degree correction algorithm used in the present application is calculated by (-0.15+(0.1+0.15+0.1) / 3) / 2≈-0.033, then -0.033mm is the first candidate alignment degree data obtained.

[0104] In step S140 of some embodiments, since the to-be-coated part of the target device moves at a constant speed on the material belt, the calculated error or accidental error may exist in the obtained set of first and second edge distance data. Therefore, the present application sets a preset correction group number N, N is a positive integer greater than or equal to 2, to select multiple groups of data according to the preset cycle period between each group of data, so as to more accurately determine the correction adjustment data of the front and back material areas.

[0105] It should be noted that since the measured edge distance data is updated in real time, and there is a certain time interval between each group of data. Therefore, the present application selects multiple groups of data according to the preset cycle period, and the preset correction group number can be 8, 16, etc., which is not limited here.

[0106] Please refer to Figure 6 , Figure 6 is an optional flowchart of step S140 provided by the embodiments of the present application. In some embodiments of the present application, step S140 can specifically include but is not limited to step S610 to step S640, which will be described below in combination with Figure 6 The four steps will be described in detail.

[0107] Step S610: Obtain N-1 second candidate data. Each second candidate data includes third margin data and fourth margin data. The third margin data is used to represent the data of the historical first spraying area at the first target material edge. The third margin data is used to represent the data of the historical second spraying area at the second target material edge that is misaligned with the first target material edge.

[0108] Step S620: Calculate the difference between the third and fourth edge distance data to obtain the alignment data of the second material area;

[0109] Step S630: Calculate the alignment correction of the second material area alignment data according to the preset number of material lines to obtain the second candidate alignment data;

[0110] Step S640: Calculate the median based on the first candidate alignment data and the second candidate alignment data to obtain the target alignment data.

[0111] In some embodiments, steps S610 to S640 involve collecting the next set of data after a preset cycle period. Specifically, refer to... Figures 3A to 3C As shown, N-1 second candidate data are obtained, namely, the third edge distance data of the historical first sprayed area on the target material edge and the fourth edge distance data of the historical second sprayed area on the target material edge. Then, the difference between the third edge distance data and the fourth edge distance data is calculated to obtain the second material area alignment data. After that, the alignment correction calculation is performed on the second material area alignment data according to the preset number of material lines to obtain the second candidate alignment data. Therefore, (N-1) second candidate alignment data can be obtained according to the preset number of correction groups N. In order to obtain more balanced correction adjustment data to ensure product quality and improve the yield of coating products, this application sorts the first candidate alignment data and all second candidate alignment data from largest to smallest, and selects the median value after sorting as the target alignment data, denoted as OH.

[0112] This embodiment calculates alignment data based on a preset number of correction groups to obtain N candidate alignment data, and then calculates the target alignment data based on the median. Therefore, this embodiment can avoid calculation errors or occasional errors that may exist when selecting margin data, thereby more accurately determining the correction adjustment data for the front and back fabric areas, so as to ensure product quality and improve the yield of coating products.

[0113] In step S150 of some embodiments, after determining the target alignment data, in order to effectively control abnormal data, the embodiments of this application will make a numerical judgment on the target alignment data according to a preset correction threshold to determine the correction adjustment data that meets the requirements, so as to realize the correction adjustment of the target device.

[0114] Please seeFigure 7 , Figure 7 is an optional flowchart of step S150 provided by the embodiments of the present application. In some embodiments of the present application, the target device comprises a die moving component and a spraying die, the die moving component is used to control the position movement of the spraying die for paint operation on the to-be-coated piece, and the deviation correction threshold value comprises a deviation correction median early warning threshold value and a single deviation correction stroke threshold value. Then, step S150 can specifically include but is not limited to steps S710 to S730, which are described below in combination with Figure 7 The three steps are described in detail.

[0115] Step S710, performing a first numerical judgment on the target alignment data according to the deviation correction median early warning threshold value, and determining first deviation correction data according to the result of the first numerical judgment;

[0116] Step S720, performing a second numerical judgment on the first deviation correction data according to the result of the first numerical judgment and the single deviation correction stroke threshold value, and determining second deviation correction data according to the result of the second numerical judgment;

[0117] Step S730, performing data positive and negative transformation on the second deviation correction data according to the installation direction of the die moving component to determine deviation correction adjustment data.

[0118] In step S710 of some embodiments, in order to avoid that the final deviation adjustment data is too large for the current adjustment of the target device, and unnecessary abnormal operation is introduced, thereby affecting the quality of the paint product. The target alignment data is subjected to a first numerical judgment according to the deviation median early warning threshold, so as to determine the first deviation data according to the result of the first numerical judgment. The deviation median early warning threshold of the present application includes a set deviation median upper threshold and a deviation median lower threshold. The deviation median upper threshold is used to avoid that the error of the final deviation adjustment data is too large to produce abnormal control, and the deviation median upper threshold can be set to 0.5 mm, 1 mm, etc., which is not specifically limited here. The deviation median lower threshold is used to avoid frequent adjustment of the target device to cause other unnecessary abnormal situations, and the deviation median lower threshold can be set to 0.04 mm, 0.06 mm, etc., which is not specifically limited here. Specifically, when the absolute value of the target alignment data is less than the deviation median lower threshold, the preset 0 mm is taken as the first deviation data; when the absolute value of the target alignment data is greater than or equal to the deviation median lower threshold, and the absolute value of the target alignment data is less than or equal to the deviation median upper threshold, the value of the target alignment data is taken as the first deviation data; when the absolute value of the target alignment data is greater than the deviation median upper threshold, the deviation median upper threshold is taken as the first deviation data. Therefore, by setting the deviation median lower threshold, the present application avoids the influence of frequent small adjustments on the paint efficiency of the target device, i.e., the target alignment data less than the deviation median lower threshold is set to 0 mm to reduce the number of deviation adjustment operations. Moreover, by setting the deviation median upper threshold, i.e., by limiting the upper limit value of each deviation data to the deviation median upper threshold, the present application avoids that the error of the final deviation adjustment data is too large to produce abnormal control.

[0119] In step S720 of some embodiments, after determining the first correction data, in order to avoid the situation that the alignment data changes step by step after the target device is adjusted due to the first correction data being too large, the application embodiment performs a second numerical judgment on the first correction data by a single correction stroke threshold value, and performs uniform and continuous correction adjustment according to the result of the second numerical judgment. The single correction stroke threshold value is used to represent the maximum value of each time the target device is adjusted. Specifically, when the result of the first numerical judgment indicates that the absolute value of the target alignment data is less than the lower threshold value of the correction median, that is, the first correction data is 0 mm, the second numerical judgment is not performed, and the first edge distance data and the second edge distance data are reacquired. When the result of the first numerical judgment indicates that the target alignment data is greater than or equal to the lower threshold value of the correction median, that is, the first correction data is not 0 mm, the second numerical judgment is performed on the first correction data and the single correction stroke threshold value. When the first correction data is greater than the single correction stroke threshold value, the first correction data is divided into a plurality of second correction data according to the single correction stroke threshold value. For example, the lower threshold value of the correction median is set to 0.06 mm, the single correction stroke threshold value is set to 0.15 mm, and the target alignment data is 0.65 mm. Since the result of the first numerical judgment indicates that the target alignment data is greater than the lower threshold value of the correction median, the first correction data is 0.65 mm. Then, when the result of the second numerical judgment indicates that the single correction stroke threshold value is less than the first correction data, the first correction data is divided according to the single correction stroke threshold value, and is divided into 4 0.15 mm and 1 0.05 mm. Therefore, the application can obtain 5 second correction data, which are 4 0.15 mm and 1 0.05 mm, respectively, and the target device can sequentially adjust the target device according to each second correction data.

[0120] In step S730 of some embodiments, the die moving component is used to control the left and right movement of the spraying die for the paint operation of the to-be-coated piece, and since the installation direction and the movement direction of the die moving component of some target devices are opposite, it is necessary to perform data positive and negative transformation on the second correction data according to the installation direction of the die moving component. When the installation direction and the movement adjustment direction of the die moving component are the same, the second correction data is taken as the correction adjustment data; when the installation direction and the movement adjustment direction of the die moving component are opposite, the value of the second correction data is taken as the correction adjustment data.

[0121] It should be noted that the die moving component is a servo moving mechanism capable of controlling the left and right positions of the spraying die, and the PLC end of the target device is used to issue the correction adjustment data obtained by data processing to the die moving component to perform correction adjustment.

[0122] Please refer to Figure 8 , Figure 8is another optional flowchart of the material area deviation correction data determination method provided by the embodiments of the present application. In some embodiments of the present application, the material area deviation correction data determination method provided by the present application can further include but is not limited to steps S810 to S830, which will be described below in combination with Figure 8 The three steps will be described in detail.

[0123] Step S810, obtaining historical cumulative deviation correction data;

[0124] Step S820, performing numerical addition on the historical cumulative deviation correction data and the deviation correction adjustment data to obtain target cumulative deviation correction data;

[0125] Step S830, when the target cumulative deviation correction data is greater than a preset cumulative deviation correction threshold, sending an alarm signal to the target device.

[0126] In steps S810 to S830 of some embodiments, in order to avoid the adjustment of the deviation correction adjustment data to the target device exceeding the bearing range of the target device, the embodiments of the present application further set a foolproof algorithm, that is, the deviation correction adjustment data executed each time is accumulated to avoid damage to the target device. Specifically, the historical cumulative deviation correction data is first obtained, and the historical cumulative deviation correction data and the deviation correction adjustment data are numerically added to obtain target cumulative deviation correction data. When the absolute value of the target cumulative deviation correction data is greater than a preset cumulative deviation correction threshold, the PLC touch screen alarm popup of the target device is triggered, and the automatic deviation correction closed loop mode is exited and changed to a manual mode; when the absolute value of the target cumulative deviation correction data is less than or equal to the preset cumulative deviation correction threshold, the deviation correction adjustment data is written into a preset deviation correction value address by the deviation correction control software end, so that the PLC end can read the deviation correction adjustment data.

[0127] For example, refer to Figure 9 , Figure 9 is a calculation logic flowchart of the deviation correction adjustment data provided by the embodiments of the present application. Specifically, the calculation process of the material area deviation correction adjustment data provided by the embodiments of the present application includes but is not limited to steps S910 to S9160.

[0128] Step S910, obtaining original width data according to a preset deviation group number N, and processing and converting the original width data into uniform reference margin data; the uniform reference margin data includes first margin data, second margin data, third margin data and fourth margin data;

[0129] Step S920, performing difference calculation on the first margin data and the second margin data to obtain first material area alignment data, and performing difference calculation on the third margin data and the fourth margin data to obtain N-1 second material area alignment data;

[0130] Step S930, a numerical judgment is performed on the preset stock line number and the preset stock line number threshold value. When the preset stock line number is less than or equal to the preset stock line number threshold value, step S940 is executed; when the preset stock line number is greater than the preset stock line number threshold value, step S950 is executed.

[0131] Step S940, the first stock area alignment degree data and the N-1 second stock area alignment degree data are respectively calculated according to the first alignment degree correction algorithm. Then, step S960 is executed.

[0132] Step S950, the first stock area alignment degree data and the N-1 second stock area alignment degree data are respectively calculated according to the second alignment degree correction algorithm.

[0133] Step S960, the first candidate alignment degree data corresponding to the first stock area alignment degree data and the second candidate alignment degree data corresponding to each second stock area alignment degree data are obtained.

[0134] Step S970, the first candidate alignment degree data and the N-1 second candidate alignment degree data are median calculated to obtain the target alignment degree data, denoted as OH.

[0135] Step S980, a numerical judgment is performed on the correction median early warning threshold value and OH. When the absolute value of OH is less than the lower limit threshold value of the correction median, step S990 is executed. When the absolute value of OH is greater than or equal to the lower limit threshold value of the correction median and the absolute value of OH is less than or equal to the upper limit threshold value of the correction median, step S9100 is executed. When the absolute value of OH is greater than the upper limit threshold value of the correction median, step S9110 is executed.

[0136] Step S990, 0mm is taken as the first correction data. Then, step S910 is re-executed.

[0137] Step S9100, OH is taken as the first correction data. Then, step S9120 is executed.

[0138] Step S9110, the upper limit threshold value of the correction median is taken as the first correction data, and the sign of OH is unchanged.

[0139] Step S9120, a numerical judgment is performed on the single correction stroke threshold value and the first correction data. When the first correction data is greater than the single correction stroke threshold value, step S9130 is executed. When the first correction data is less than or equal to the single correction stroke threshold value, step S9140 is executed.

[0140] Step S9130, the first correction data is divided into a plurality of second correction data according to the single correction stroke threshold value, and the sign of each second correction data is unchanged. Then, step S9150 is executed.

[0141] Step S9140, the first deviation correction data is taken as the second deviation correction data.

[0142] Step S9150, data positive-negative transformation is performed on the second deviation correction data according to the installation direction of the die moving component, and deviation correction adjustment data is determined.

[0143] Step S9160, the deviation correction adjustment data and the historical accumulated deviation correction data are added, and target accumulated deviation correction data is obtained.

[0144] Please refer to Figure 10 , Figure 10 is an optional flowchart of the material area deviation correction control method provided in the embodiments of the present application. In some embodiments of the present application, the material area deviation correction control method provided in the present application can specifically include but is not limited to steps S1010 to S1050, which will be described below in combination with Figure 10 The five steps will be described in detail.

[0145] Step S1010, when it is identified that the reading state of the early warning signal address is an unread state, the deviation correction adjustment data of the target device in the preset deviation value address is read, and the deviation correction adjustment data is obtained according to the material area deviation correction data determination method of the embodiments of the present application.

[0146] Step S1020, the target device is controlled to perform deviation correction adjustment according to the deviation correction adjustment data, and the reading state of the early warning signal address is updated to a read state.

[0147] Step S1030, if a deviation correction completion signal of the target device is received, the reading state of the preset completion signal address is updated to an unread state.

[0148] Step S1040, if it is identified that the reading state of the completion signal address is an unread state, the deviation correction adjustment data in the deviation value address is updated.

[0149] Step S1050, the reading state of the completion signal address is a read state, and the reading state of the early warning signal address is a read state.

[0150] It should be noted that, due to the unreasonable communication between the deviation correction control software end and the PLC end in the related art, the deviation correction control software end continues to issue the next deviation correction adjustment data without receiving the execution of the PLC end each time the deviation correction adjustment data is issued to the PLC end, thereby causing the die moving component to over-correct or not timely correct the spraying die.

[0151] In steps S1010 to S1050 of some embodiments, in order to solve the above problems, the application sets a more reliable data communication mode, which can ensure that the PLC receives and executes the deviation correction adjustment data in time and stably, and timely disconnects the automatic deviation correction when the deviation correction is abnormal and prompts the staff on the touch screen. Please refer to Figure 11 , Figure 11 is a communication setting diagram between the deviation correction control software end and the PLC end of the application. The communication setting between the deviation correction control software end and the PLC end includes connection type which can select UDP mode or TCP mode; IP address, port number, unit number, transmission format which can be flexibly set according to actual needs, used to represent the communication port setting between the deviation correction control software end and the PLC end. X, A, B, C, D, E and F in the figure are the specific data or addresses of the corresponding parameters. The deviation value address is used to store the deviation correction adjustment data for each time of deviation correction of the target device; the early warning signal address is used to indicate whether the deviation correction control software end informs the PLC end to read the deviation correction adjustment data; and the completion signal address is used to indicate whether the PLC end informs the deviation correction control software end whether the deviation correction is completed.

[0152] Specifically, after the deviation correction control software end calculates the deviation correction adjustment data, it writes the deviation correction adjustment data into the deviation value address, and sets the early warning signal address of the PLC end to 1, i.e. the reading state of the early warning signal address is unread state. When the PLC end continuously identifies that the early warning signal address is 1, it immediately reads the deviation correction adjustment data written in the preset deviation value address, and sets the early warning signal address to 0, i.e. the reading state of the early warning signal address is read state. Then, the PLC end controls the mold moving part to move the spraying mold left and right by the moving amount of the deviation correction adjustment data. When the deviation correction is completed, the PLC end receives the deviation correction completion signal of the target device, and sets the value in the preset completion signal address to 1, i.e. the reading state of the completion signal address is updated to unread state. Then, the deviation correction control software end identifies that the value of the completion signal address is 1, and calculates the next deviation correction adjustment data, and writes the next deviation correction adjustment data into the deviation value address. And sets the value in the completion signal address to 0, i.e. changes the reading state of the completion signal address to read state, and sets the value in the early warning signal address to 1, to complete a cycle of closed-loop regulation.

[0153] Please refer to Figure 12 , Figure 12Fig. 1 is a schematic diagram of a module structure of a material area deviation correction data determination system provided in an embodiment of the present application. The system can implement the material area deviation correction data determination method of the above-mentioned embodiment, and is used to determine deviation correction adjustment data of a target device. The target device is used to perform coating treatment on a to-be-coated piece. The to-be-coated piece includes a first coating surface and a second coating surface. The first coating surface includes a historical first spraying area, and the second coating surface includes a historical second spraying area. The system includes a data acquisition module 1210, a difference calculation module 1220, an alignment degree calculation module 1230, a target alignment degree determination module 1240, and a numerical value judgment module 1250.

[0154] The data acquisition module 1210 is configured to acquire first edge distance data of the historical first spraying area at a target material edge and second edge distance data of the historical second spraying area at the target material edge.

[0155] The difference calculation module 1220 is configured to perform difference calculation on the first edge distance data and the second edge distance data to obtain first material area alignment degree data.

[0156] The alignment degree calculation module 1230 is configured to perform alignment degree deviation correction calculation on the first material area alignment degree data according to a preset material line number to obtain first candidate alignment degree data.

[0157] The target alignment degree determination module 1240 is configured to determine target alignment degree data according to the first candidate alignment degree data and a preset deviation correction group number.

[0158] The numerical value judgment module 1250 is configured to perform numerical value judgment on the target alignment degree data according to a preset deviation correction threshold, and determine deviation correction adjustment data according to a result of the numerical value judgment. The deviation correction adjustment data is used to perform deviation correction adjustment on the target device.

[0159] It should be noted that the material area deviation correction data determination system of the embodiment of the present application is used to implement the material area deviation correction data determination method of the above-mentioned embodiment. The material area deviation correction data determination system of the embodiment of the present application corresponds to the above-mentioned material area deviation correction data determination method. For specific processing process, please refer to the above-mentioned material area deviation correction data determination method, which will not be described here.

[0160] An embodiment of the present application further provides a computer device, which comprises:

[0161] at least one memory;

[0162] at least one processor;

[0163] at least one computer program;

[0164] The at least one computer program is stored in the at least one memory, and the at least one processor executes the at least one computer program to implement the material area deviation correction data determination method or the material area deviation correction control method of any one of the above embodiments. The computer device can be any intelligent terminal including a tablet computer, an on-board computer, and the like.

[0165] Referring to Figure 13 , Figure 13 The hardware structure of a computer device according to another embodiment is illustrated, which includes:

[0166] The processor 1310 can be implemented in a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits, and the like, and is configured to execute related programs to implement the technical solutions provided by the embodiments of the present application.

[0167] The memory 1320 can be implemented in a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM), and the like. The memory 1320 can store an operating system and other application programs. When the technical solutions provided by the embodiments of the present application are implemented by software or firmware, the related program codes are stored in the memory 1320 and are called and executed by the processor 1310 to implement the material area deviation correction data determination method or the material area deviation correction control method of the embodiments of the present application.

[0168] The input / output interface 1330 is configured to implement information input and output.

[0169] The communication interface 1340 is configured to implement the communication interaction between the device and other devices. The communication can be implemented in a wired manner (for example, a USB, a network cable, and the like) or in a wireless manner (for example, a mobile network, WIFI, Bluetooth, and the like).

[0170] The bus 1350 transmits information between various components (for example, the processor 1310, the memory 1320, the input / output interface 1330, and the communication interface 1340) of the device.

[0171] The processor 1310, the memory 1320, the input / output interface 1330, and the communication interface 1340 are connected to each other in the device through the bus 1350.

[0172] The embodiment of the present application also provides a storage medium, which is a computer readable storage medium, and stores a computer program. The computer program is used for enabling a computer to execute the material area deviation correction data determination method or the material area deviation correction control method in the above embodiment.

[0173] The memory is a non-transitory computer readable storage medium, and can be used to store a non-transitory software program and a non-transitory computer executable program. In addition, the memory can include a high-speed random access memory, and can also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state memory device. In some embodiments, the memory can optionally include a memory remotely arranged relative to the processor, and the remote memory can be connected to the processor 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.

[0174] The material area deviation correction data determination method and control method, system, device and medium provided by the embodiment of the present application can realize interface visualization by setting more open, flexible and diverse parameter settings. The material area deviation correction data determination method adopted by the embodiment of the present application can more accurately determine the deviation correction adjustment data of the front and back material areas, and ensure that all alignment degrees are within the process range, that is, ensure product quality while improving the yield of coating products. In addition, by setting more reliable data communication and foolproof mechanism, the embodiment of the present application can ensure that the PLC end timely and stably receives and executes the deviation correction adjustment data, realizes effective deviation correction adjustment and closed-loop control, and timely disconnects the automatic deviation correction and prompts the staff on the touch screen when the deviation correction is abnormal.

[0175] The embodiments described in the embodiments of the present application are used to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art can know that, with the evolution of technology and the appearance of new application scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.

[0176] Those skilled in the art can understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and can include more or fewer steps than the figures, or combine certain steps, or different steps.

[0177] The system embodiments described above are only schematic, and the units described as separate components can or can not be physically separated, that is, can be located in one place, or can be distributed on multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the embodiment of the present application.

[0178] Those skilled in the art can understand that all or some of the steps in the method disclosed above, the function modules / units in the system and the device can be implemented as software, firmware, hardware or appropriate combination thereof.

[0179] The terms "first", "second", "third", "fourth" and the like in the description of the application and in the claims, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the use of these terms herein is to be construed to cover a general order and / or structure unless otherwise indicated by the context thereof. Furthermore, the terms "comprising", "having", "containing", and "including" and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, product, or apparatus that comprises, has, contains, or includes an item or list of items who have the item or list does not include only those items regardless of whether other items are present or absent.

[0180] It should be understood that, in the present application, "at least one" means one or more, and "multiple" means two or more. "And / or" is used to describe the relationship between associated objects, which means that there can be three relationships, for example, "A and / or B" can represent three cases: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects. "At least one of the following" or similar expressions means any combination of these items, including any combination of single or multiple items. For example, at least one of a, b or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0181] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the above-mentioned units is only a logical function division, and actual implementation can have another division manner, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed each other can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0182] The units described as separate components above can or can not be physically separate, and the components shown as units can or can not be physical units, that is, can be located in one place, or can be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.

[0183] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0184] If the integrated unit is realized 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 technical scheme of the present application or the part that contributes to the prior art or the whole or part of the technical scheme can be embodied in the form of a software product. The computer software product is stored in a storage medium, including multiple instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method of each embodiment of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various program storage media.

[0185] The preferred embodiments of the embodiments of the present application are described above with reference to the accompanying drawings, but this does not limit the scope of the embodiments of the present application. Any modifications, equivalent replacements and improvements made by those skilled in the art without departing from the scope and essence of the embodiments of the present application shall be within the scope of the embodiments of the present application.

Claims

1. A material area deviation correction data determination method, characterized by, A method for determining deviation correction data of a target device, the target device being used for coating processing of a to-be-coated piece, the to-be-coated piece comprising a first coating surface and a second coating surface, the first coating surface comprising a historical first spraying area, and the second coating surface comprising a historical second spraying area, the method comprising: obtaining first candidate data, the first candidate data comprising first margin data and second margin data, the first margin data being used to represent data of the historical first spraying area at a first target material edge, and the second margin data being used to represent data of the historical second spraying area at a second target material edge misaligned with the first target material edge; performing difference calculation on the first margin data and the second margin data to obtain first material area alignment degree data; performing alignment degree deviation correction calculation on the first material area alignment degree data according to a preset material line number to obtain first candidate alignment degree data: when the preset material line number is less than or equal to a preset material line number threshold, performing alignment degree deviation correction calculation on the first material area alignment degree data according to a first alignment degree deviation correction algorithm to obtain the first candidate alignment degree data; when the preset material line number is greater than the preset material line number threshold, performing alignment degree deviation correction calculation on the first material area alignment degree data according to a second alignment degree deviation correction algorithm to obtain the first candidate alignment degree data; obtaining N-1 second candidate data according to a preset deviation correction group number N, each of the second candidate data comprising third margin data and fourth margin data, the third margin data being used to represent data of the historical first spraying area at the first target material edge, and the fourth margin data being used to represent data of the historical second spraying area at the second target material edge misaligned with the first target material edge, N being a positive integer greater than or equal to 2; performing difference calculation on the third margin data and the fourth margin data to obtain second material area alignment degree data; performing alignment degree deviation correction calculation on the second material area alignment degree data according to the preset material line number to obtain second candidate alignment degree data; and performing median calculation on the first candidate alignment degree data and the second candidate alignment degree data to obtain target alignment degree data; performing numerical judgment on the target alignment degree data according to a preset deviation correction threshold, and determining deviation correction data according to a result of the numerical judgment, the deviation correction data being used to perform deviation correction adjustment on the target device.

2. The method of claim 1, wherein, The target device comprises a die moving component and a spraying die, the die moving component being used to control movement of the spraying die for coating operation on the to-be-coated piece; the deviation correction threshold comprises a deviation correction median early warning threshold and a single deviation correction stroke threshold, and the performing numerical judgment on the target alignment degree data according to the preset deviation correction threshold and determining deviation correction data according to a result of the numerical judgment comprises: performing first numerical judgment on the target alignment degree data according to the deviation correction median early warning threshold, and determining first deviation correction data according to a result of the first numerical judgment; According to the result of the first numerical judgment and the single-time correction threshold, the first correction data is subjected to a second numerical judgment, and second correction data is determined according to the result of the second numerical judgment; According to the installation direction of the die moving component, the second correction data is subjected to data positive-negative conversion to determine the correction adjustment data.

3. The method of claim 1, wherein, The first candidate alignment data is obtained by performing alignment correction calculation on the first material area alignment data according to the second alignment correction algorithm, including: Positive data is extracted from the first material area alignment data to obtain positive alignment sub-data; Negative data is extracted from the first material area alignment data to obtain negative alignment sub-data; The first alignment mean value is obtained by performing mean value calculation on the positive alignment sub-data; The second alignment mean value is obtained by performing mean value calculation on the negative alignment sub-data; The first candidate alignment data is obtained by performing mean value calculation on the first alignment mean value and the second alignment mean value.

4. The method according to any one of claims 1 to 3, characterized in that, The method further includes: Obtaining historical cumulative correction data; The target cumulative correction data is obtained by performing numerical addition on the historical cumulative correction data and the correction adjustment data; When the target cumulative correction data is greater than a preset cumulative correction threshold, an alarm signal is sent to the target device.

5. A material zone deviation correction control method characterized by, The method includes: When the reading state of the early warning signal address is an unread state, the correction adjustment data of the target device in the preset correction value address is read, and the correction adjustment data is obtained according to the material area correction data determination method of any one of claims 1 to 4; The target device is controlled to perform correction adjustment according to the correction adjustment data, and the reading state of the early warning signal address is updated to a read state; If a correction completion signal of the target device is received, the reading state of the preset completion signal address is updated to an unread state; If the reading state of the completion signal address is identified as an unread state, the correction adjustment data in the correction value address is updated; The reading state of the completion signal address is a read state, and the reading state of the early warning signal address is a read state.

6. A material zone deviation data determination system characterized by, A system for determining correction adjustment data of a target device, the target device being used for paint processing on a to-be-coated piece, the to-be-coated piece including a first coating surface and a second coating surface, the first coating surface including a historical first spraying area, and the second coating surface including a historical second spraying area, the system including: A data acquisition module is configured to acquire first candidate data, the first candidate data including first margin data and second margin data, the first margin data being used to represent data of the historical first spraying area at a first target material edge, and the second margin data being used to represent data of the historical second spraying area at a second target material edge that is misaligned with the first target material edge; A difference calculation module is configured to calculate a difference between the first margin data and the second margin data to obtain first material area alignment data. An alignment degree calculation module is configured to perform alignment degree correction calculation on the first material area alignment degree data according to a preset number of material lines to obtain first candidate alignment degree data. When the preset number of material lines is less than or equal to a preset number threshold of material lines, the first material area alignment degree data is subjected to alignment degree correction calculation according to a first alignment degree correction algorithm to obtain the first candidate alignment degree data. When the preset number of material lines is greater than the preset number threshold of material lines, the first material area alignment degree data is subjected to alignment degree correction calculation according to a second alignment degree correction algorithm to obtain the first candidate alignment degree data. A target alignment degree determination module is configured to obtain N-1 second candidate data according to a preset number N of correction groups, each of the second candidate data including third margin data and fourth margin data, the third margin data being used to represent data of the historical first spraying area at the first target material edge, the fourth margin data being used to represent data of the historical second spraying area at a second target material edge that is misaligned with the first target material edge, N being a positive integer greater than or equal to 2. The third margin data and the fourth margin data are subjected to difference calculation to obtain second material area alignment degree data. The second material area alignment degree data is subjected to alignment degree correction calculation according to the preset number of material lines to obtain second candidate alignment degree data. The first candidate alignment degree data and the second candidate alignment degree data are subjected to median calculation to obtain target alignment degree data. A numerical value judgment module is configured to perform numerical value judgment on the target alignment degree data according to a preset correction threshold, and determine correction adjustment data according to a result of the numerical value judgment, the correction adjustment data being used to perform correction adjustment on the target device.

7. A computer device, comprising: comprising: at least one memory; at least one processor; at least one computer program; the at least one computer program is stored in the at least one memory, and the at least one processor executes the at least one computer program to implement: the method according to any one of claims 1 to 4; or the method according to claim 5.

8. A storage medium, the storage medium being a computer-readable storage medium, characterized in that, the computer readable storage medium stores a computer program, and the computer program is used to make a computer execute: the method according to any one of claims 1 to 4; or the method according to claim 5. the computer readable storage medium stores a computer program, and the computer program is used to make a computer execute:

Citation Information

Patent Citations

  • Strip bilateral deviation rectification data determination method and double-sided strip deviation rectification system

    CN112571154A

  • Strip deviation rectification data determination method, strip deviation rectification system and control equipment

    CN112571155A