Control method and system, controller and storage medium of film cutting machine
Through the control method of the film slitting machine, photoelectric sensors and image acquisition devices are used to detect the film offset, and correction processing is performed based on the offset amount, which solves the problem of reduced accuracy caused by deviations during the transmission process of the film slitting machine and improves product quality. Rate.
Patent Information
- Application Number
- CN202410952405.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-07-16
AI Technical Summary
Existing film slitting machines are prone to deviations during the transmission and transportation of films, resulting in reduced slitting accuracy and low product yield.
A control method for film slitting machines is adopted, which detects film deflection through photoelectric sensors and image acquisition devices, uses image comparison processing to obtain axial and angular offsets, and controls the displacement drive member to correct deviation according to the preset threshold to ensure that the film Cut after alignment.
It improves the accuracy of film slitting and product yield, and enables timely detection and correction of film deviation.
Smart Images

Figure CN118493483B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of coating technology, and in particular to a control method for a film cutting machine and a system, controller, and storage medium thereof. Background Art
[0002] Film slitting machine is a kind of equipment used to cut polyester film, aluminized film and other films into different sizes. It is widely used in packaging and other laminating industries.
[0003] The film slitting machine consists of an unwinding device, a cutting mechanism, a winding mechanism, etc. The film is driven to move to the cutting mechanism through various functional rollers to achieve film cutting. In the process of transmitting and conveying the film, the existing film slitting machine is prone to deviation in the film movement path. When the film position deviation leads to reduced accuracy in slitting the film, the product yield is low. Summary of the invention
[0004] The present application proposes a control method and system, controller, and storage medium for a film cutting machine, which can detect film deviation and correct it in a timely manner during the film conveying process, which is beneficial to improving the accuracy of film cutting and improving product yield.
[0005] In a first aspect, an embodiment of the present application provides a control method for a film cutting machine, which is applied to a controller of a film cutting machine, wherein the film cutting machine comprises: an unwinding device, an intermediate conveying mechanism and a winding device which are arranged in sequence; the unwinding device comprises: a moving platform, a shift driving member electrically connected to the moving platform; an unwinding roller arranged on the moving platform; a film inlet is arranged at one end of the intermediate conveying mechanism close to the unwinding device, and a film outlet is arranged at one end of the intermediate conveying mechanism close to the winding device, and a photoelectric sensor is arranged at the film outlet; the winding device comprises a frame and a traction roller assembly, a cutter assembly and an image acquisition device facing the film outlet which are arranged on the frame; the image acquisition device faces the film outlet; the controller is electrically connected to the photoelectric sensor, the shift driving member, the cutter assembly and the image acquisition device;
[0006] The control method comprises:
[0007] In the process of conveying the film, when the film in place signal sent by the photoelectric sensor is continuously received, the first image captured by the image acquisition device is acquired at a preset time interval; wherein the first image is used to display the position status of the film at the current film outlet;
[0008] performing image preprocessing on the first image to obtain an enhanced second image;
[0009] Obtaining a standard position diagram from a database; wherein the standard position diagram is used to display the position state of the film when it is in the correct position and not offset;
[0010] Performing image comparison processing on the second image and the standard position map to obtain an axial offset and an angular offset;
[0011] Compare the axial offset with a preset first threshold and a second threshold respectively to obtain a comparison result; wherein the second threshold is greater than the first threshold;
[0012] When the comparison result is that the axial offset is greater than the first threshold value and less than the second threshold value, the shift drive is controlled to drive the movable table to move along the axial direction of the unwinding roller according to the axial offset and the angular offset to straighten the film; and when the film is not offset, the cutter assembly is controlled to cut the film.
[0013] In a second aspect, an embodiment of the present application provides a control system for a film cutting machine, comprising:
[0014] A first data acquisition module is used to acquire a first image captured by an image acquisition device at a preset time interval when a film-in-place signal sent by a photoelectric sensor is continuously received during the film conveying process; wherein the first image is used to display the position status of the film at the current film outlet;
[0015] A preprocessing module, used for performing image preprocessing on the first image to obtain an enhanced second image;
[0016] The second data acquisition module acquires a standard position diagram from a database; wherein the standard position diagram is used to display the position state of the film when it is in the correct position and not offset;
[0017] An image processing module, used for performing image comparison processing on the second image and the standard position map to obtain an axial offset and an angular offset;
[0018] A comparison processing module, used for comparing the axial offset with a preset first threshold and a second threshold respectively, to obtain a comparison result; wherein the second threshold is greater than the first threshold;
[0019] The correction control module is used to control the shift drive member to drive the movable table to move along the axial direction of the unwinding roller according to the axial offset and the angular offset when the comparison result is that the axial offset is greater than the first threshold value and less than the second threshold value, so as to correct the film; and to control the cutter assembly to cut the film when the film is not offset.
[0020] In a third aspect, an embodiment of the present application provides a controller comprising at least one processor and a memory for communicating with the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the control method of a film cutting machine as described in any one of the embodiments of the first aspect.
[0021] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the control method of a film cutting machine as described in any one of the embodiments of the first aspect.
[0022] The embodiment of the present application includes: when the film splitting machine is working, in the process of conveying the film, when the film in place signal sent by the photoelectric sensor is continuously received, a first image captured by the image acquisition device is acquired at a preset time interval; wherein the first image is used to display the position state of the film at the current film outlet; image preprocessing is performed on the first image to obtain an enhanced second image; a standard position diagram is acquired from a database; wherein the standard position diagram is used to display the position state of the film when it is in the correct position and not offset; image comparison processing is performed on the second image and the standard position diagram to obtain an axial offset and an angular offset; the axial offset is compared with a preset first threshold value and a preset second threshold value respectively. , and obtain a comparison result; wherein, the second threshold value is greater than the first threshold value; when the comparison result is that the axial offset is greater than the first threshold value and less than the second threshold value, the shift drive member is controlled according to the axial offset and the angular offset to drive the movable table to move along the axial direction of the unwinding roller, so that the film is corrected, so that when the film is not deviated, the cutter assembly is controlled to cut the film, and automatic correction is achieved while ensuring that the film is corrected and not deviated, thereby improving the accuracy of slitting the film and improving the product yield; that is, according to the embodiment of the present application, the film offset can be detected and corrected in time during the process of conveying the film, which is beneficial to improving the accuracy of slitting the film and improving the product yield. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 is a structural schematic diagram of a film splitting machine provided by an embodiment of the present application;
[0024] Figure 2 is a schematic diagram of a system framework for executing a control method for a film splitting machine provided by an embodiment of the present application;
[0025] Figure 3 It is a flow chart of a control method of a film splitting machine provided by an embodiment of the present application;
[0026] Figure 4It is a module schematic diagram of a control system of a film splitting machine provided by an embodiment of the present application;
[0027] Figure 5 It is a schematic diagram of the hardware structure of a controller provided in one embodiment of the present application. DETAILED DESCRIPTION
[0028] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.
[0029] In the description of the present application, it should be understood that descriptions involving orientation, such as up, down, front, back, left, right, etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0030] In the description of this application, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed", etc. are understood to exclude the number itself, and "above", "below", "within", etc. are understood to include the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0031] In the description of this application, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in this application based on the specific content of the technical solution.
[0032] The embodiment of the present application provides a control method for a film cutting machine, a control system for the film cutting machine, a controller, and a storage medium. The method includes: in the process of conveying the film, when the film in place signal is continuously received, a first image is obtained at a preset interval; the first image is subjected to image preprocessing to obtain an enhanced second image; a standard position map is obtained from a database; the second image is subjected to image comparison processing with the standard position map to obtain an axial offset and an angular offset; the axial offset is compared with a preset first threshold value and a preset second threshold value respectively, and when the axial offset is greater than the first threshold value and less than the second threshold value, the shift drive member is controlled to drive the moving table to move along the axial direction of the unwinding roller according to the axial offset and the angular offset, so that the film is corrected and a film positive position signal is generated; and the cutter assembly is controlled to cut the film when the film is not offset. The film offset can be detected and corrected in a timely manner, which is conducive to improving the accuracy of the slitting film and improving the product yield.
[0033] The embodiments of the present application are further described below based on the accompanying drawings.
[0034] like Figure 1 and Figure 2 As shown, the film splitting machine 100 includes: an unwinding device 110, an intermediate conveying mechanism 120, a rewinding device 130 and a controller 140 which are arranged in sequence; the unwinding device 110 includes: a moving platform 111, a shift driving member 112 electrically connected to the moving platform 111; an unwinding roller 113 arranged on the moving platform 111; a film inlet 121 is arranged at one end of the intermediate conveying mechanism 120 close to the unwinding device 110, and a film outlet 122 is arranged at one end of the intermediate conveying mechanism 120 close to the rewinding device 130, and a photoelectric sensor 123 is arranged at the film outlet 122; the rewinding device 130 includes a frame 131 and a traction roller assembly 132, a cutter assembly 133 and an image acquisition device 134 facing the film outlet 122 arranged on the frame 131; the image acquisition device 134 faces the film outlet 122; the controller 140 is electrically connected to the photoelectric sensor 123, the shift driving member 112, the cutter assembly 133 and the image acquisition device 134. The diagram shows the direction of film transport.
[0035] The film splitter 100 also includes a warning light device 150 and a warning sound device 160 electrically connected to the controller 140; the warning light device 150 includes: a green warning light, a yellow warning light and a red warning light. The flashing green warning light is used to remind the engineer that the film is not deviated and the film splitter is operating normally; the flashing yellow warning light is used to remind the engineer that the film is deviated but within the adjustable range, and the film splitter performs deviation correction on the film; the flashing red warning light is used to remind the engineer that the film is deviated and is not within the adjustable range, the film splitter stops working, and manual intervention is required.
[0036] The shift drive member 112 is a drive motor, which is used to drive the moving platform 111 to move inward (equivalent to backward) or outward (equivalent to forward) along the axial direction under the control of the controller. The photoelectric sensor 123 is used to send a film in-position signal when detecting that there is film transmission. The traction roller assembly 132 is used to drive the film to move, and the image acquisition device 134 is used to take a picture toward the film outlet 122 to acquire a first image showing the position state of the film at the current film outlet.
[0037] Specifically, a film roller is also provided on the unwinding roller 113, and the unwinding roller 113 is used to rotate under the control and drive of the controller to roll out the film on the film roller; the rolled film enters the intermediate conveying mechanism 120 from the film inlet 121; a tension roller 180 is provided on the moving platform 111 and in the intermediate conveying mechanism 120, and the tension roller 180 is used to increase the tension of the film to ensure that the film can be smoothly conveyed. After being conveyed by the intermediate conveying mechanism 120, the film is output from the film outlet 122, passes through the traction roller assembly 132, and is conveyed to the cutter assembly 133. The cutter assembly 133 can cut the film under the control of the controller. A winding mechanism 170 is provided on the right side of the cutter assembly 133, and the winding mechanism 170 is used to wind up the film.
[0038] It should be emphasized that the actual film splitter has a more complex structure and more complete functions. Therefore, those skilled in the art can understand that the structure of the film splitter shown in the figure does not constitute a limitation on the embodiments of the present application, and may include more or fewer mechanisms, components, or a combination of certain components, or a different arrangement of components than shown in the figure.
[0039] Those skilled in the art will appreciate that the system architecture and application scenarios described in the embodiments of the present application are intended 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 in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of the system architecture and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are equally applicable to similar technical problems.
[0040] First, as Figure 3 As shown, the embodiment of the present application provides a control method for a film cutting machine, which is applied to Figure 2 The controller of the film cutting machine shown in the figure. The control method includes but is not limited to steps S110 to S160.
[0041] Step S110: During the film conveying process, when the film in place signal sent by the photoelectric sensor is continuously received, a first image captured by the image acquisition device is acquired at a preset time interval; wherein the first image is used to display the position status of the film at the current film outlet.
[0042] Step S120: performing image preprocessing on the first image to obtain an enhanced second image.
[0043] Step S130: Obtaining a standard position diagram from a database; wherein the standard position diagram is used to display the position state of the film when it is in the correct position without deviation.
[0044] Step S140: performing image comparison processing on the second image and the standard position map to obtain an axial offset and an angular offset.
[0045] Step S150: Compare the axial offset with a preset first threshold and a second threshold respectively to obtain a comparison result; wherein the second threshold is greater than the first threshold.
[0046] Step S160: When the comparison result shows that the axial offset is greater than the first threshold value and less than the second threshold value, the shift drive member is controlled to drive the movable table to move along the axial direction of the unwinding roller according to the axial offset and the angular offset to straighten the film; and the cutter assembly is controlled to cut the film without deflecting the film.
[0047] It should be noted that the film in place signal received from the photoelectric sensor in step S110 indicates that a film is being transported, and it is necessary to monitor whether it is offset in time. In the case of stable operation, the film may have a small offset due to reasons such as vibration of the machine, and real-time monitoring is likely to cause a waste of computer resources, so an interval preset time is set for image acquisition and related detection. Therefore, the interval preset time can be set according to actual experience, and this application does not impose specific restrictions on this.
[0048] It should be noted that the image preprocessing in step S120 includes but is not limited to: bad pixel correction, grayscale histogram equalization, lens distortion correction process, noise reduction filtering, edge sharpening, etc. After image preprocessing, a second image with a clean picture and distinct light and dark is obtained, so as to improve the accuracy of subsequent image comparison processing.
[0049] It should be noted that, through step S130, a standard position diagram showing the position state of the display film when it is in the correct position without deviation is obtained, which lays a data foundation for subsequent image comparison processing.
[0050] It should be noted that in step S150, the axial offset is compared with the preset first threshold and second threshold respectively in order to confirm whether the axial offset is adjustable. When the axial offset is too large and difficult to adjust, it is necessary to stop the operation and manually intervene to check and adjust; when the axial offset is small, it means that the film does not need to be corrected; when the axial offset is offset but within the adjustable range, the film needs to be corrected in time to ensure that the film splitting machine has good working efficiency and quality.
[0051] Through steps S110 to S160, when the film splitting machine is working, in the process of conveying the film, when the film in place signal sent by the photoelectric sensor is continuously received, a first image captured by the image acquisition device is acquired at a preset interval; wherein the first image is used to display the position state of the film at the current film outlet; the first image is image preprocessed to obtain an enhanced second image; a standard position diagram is acquired from a database; wherein the standard position diagram is used to display the position state of the film when it is in the correct position and not offset; the second image is image-compared with the standard position diagram to obtain an axial offset and an angular offset; the axial offset is compared with a preset first threshold value and a preset second threshold value respectively. A comparison result is obtained by comparison processing; wherein, the second threshold value is greater than the first threshold value; when the comparison result is that the axial offset is greater than the first threshold value and less than the second threshold value, the shift drive member is controlled to drive the movable table to move along the axial direction of the unwinding roller according to the axial offset and the angular offset, so that the film is corrected, so that the cutter assembly is controlled to cut the film without deflecting the film, thereby realizing automatic correction while ensuring that the film is corrected and not deflected, thereby improving the accuracy of slitting the film and improving the product yield; that is, according to the embodiment of the present application, the film offset can be detected and corrected in time during the process of conveying the film, which is beneficial to improving the accuracy of slitting the film and improving the product yield.
[0052] According to some embodiments of the present application, step S140 is further described, and step S140 includes but is not limited to steps S141 to 144.
[0053] Step S141: performing contour recognition processing on the second image to extract first contour information of the target film image in the second image; and calculating a first center position of the target film image according to the first contour information.
[0054] Step S142: performing contour recognition processing on the standard position map to extract second contour information of the reference film image in the standard position map; and calculating the second center position of the reference film image according to the second contour information.
[0055] Step S143: according to the first center position and the second center position, the center point of the target film image is overlapped with the center point of the reference film image.
[0056] Step S144: controlling the target film image to rotate around the center point so that the lower edge line of the target film image coincides with the lower edge line of the reference film image, thereby obtaining an angular offset.
[0057] It can be understood that the contour recognition processing performed in step S141 and step S142 adopts a contour recognition algorithm. Specifically, for the input second image, it is first necessary to perform contour detection on the film displayed in the second image. Common contour detection algorithms include Canny operator and Sobel operator. When the Sobel operator is selected for contour detection, the input second image is converted into a grayscale image; then the grayscale image is subjected to Sobel filtering to obtain gradient images in the horizontal and vertical directions; then, the gradient value of each pixel is calculated by solving the gradient amplitude and direction of the gradient images in the horizontal and vertical directions; finally, the image is binarized according to the gradient value to obtain a binary first contour image showing the target film image and the first contour information of the target film image. Further, the first center position of the target film image can be determined according to the first contour information in the display coordinates of the image acquisition device. Similarly, the second contour information can be obtained, and the second center position in the display coordinates of the image acquisition device. The use of the contour recognition algorithm can quickly determine the first center position and the second center position, which is conducive to improving the detection efficiency.
[0058] It should be noted that, through step S143 and step S144, the target film image is moved according to the obtained first center position and the second center position, so that the center point of the target film image coincides with the center point of the reference film image; then, the target film image is controlled to rotate around the center point, so that the lower edge line of the target film image coincides with the lower edge line of the reference film image, and the rotation angle and rotation direction are recorded to obtain the angular offset.
[0059] Specifically, after step S143, when the center point of the target film image coincides with the center point of the reference film image, the coincident center point is taken as the origin. When the target film image is offset, there are two offset situations. One offset situation is: in the target film image, the right end of the film is higher than the left end of the film (that is, the right end of the film is tilted toward the inside in practice). At this time, the target film image can be rotated clockwise around the center point by an acute angle to make the lower edge line of the target film image coincide with the lower edge line of the reference film image. At this time, the clockwise direction is recorded as the positive rotation direction, and the rotation angle is ; The angular offset can be obtained as Another case of offset is: in the target film image, the right end of the film is lower than the left end of the film (that is, the right end of the film is tilted outward in practice). In this case, the target film image can be rotated counterclockwise around the center point by an acute angle to make the lower edge line of the target film image coincide with the lower edge line of the reference film image. In this case, the counterclockwise direction is recorded as the negative rotation direction, and the rotation angle is ; The angular offset can be obtained as .
[0060] Through step S141 to step S144, the angular deviation of the film can be obtained more accurately, providing reliable reference data for film deflection correction processing, which is conducive to improving the accuracy of subsequent film deflection correction processing.
[0061] According to some embodiments of the present application, step S140 is further described, and step S140 also includes but is not limited to steps S145 to S147.
[0062] Step S145: Acquire a calibration ratio parameter of the image acquisition device; wherein the calibration ratio parameter is used to characterize the ratio between the image pixel length and the actual length.
[0063] Step S146: obtaining the film reference length displayed in the reference film image;
[0064] Step S147: Calculate and process the film reference length, the absolute value of the tangent of the angular offset, and the calibration ratio parameter to obtain the axial offset.
[0065] It is understandable that there is a certain proportional relationship between the display coordinates of the image acquisition device and the actual space coordinates, and the actual length corresponding to the display length in the image can only be obtained after conversion processing based on the calibration scale parameters of the image acquisition device. Therefore, executing step S145 lays a data foundation for calculating the actual axial offset. It is understandable that the calibration scale parameters of different image acquisition devices may be different, so this application does not specifically limit the value of the calibration scale parameters.
[0066] According to some embodiments of the present application, step S147 includes: multiplying the absolute value of the tangent of the angular offset by half of the film reference length to obtain the offset distance in the image; and calculating according to the offset distance and the calibration ratio parameter to obtain the actual axial offset.
[0067] Specifically, the reference length L of the film displayed in the reference film image is obtained, and the angular offset ( or ) After that, the absolute value of the tangent of the angular offset is calculated to be or ; Further, the absolute value A of the tangent of the angular offset is multiplied by half of the film reference length L to obtain the offset distance S=A*L / 2 in the image; Finally, the calibration scale parameter k is obtained; Based on the offset distance S and the calibration scale parameter k, the actual axial offset P=S / k is calculated.
[0068] Through steps S145 to S147, the axial offset of the film can be obtained more accurately; thereby, the moving distance of the moving stage during the correction process can be determined, providing reliable reference data for the film correction process, which is beneficial to improving the accuracy of the subsequent film correction process.
[0069] According to some embodiments of the present application, step S160 is further described, and "controlling the shift driving member to drive the movable platform to move axially along the unwinding roller according to the axial offset and the angular offset" in step S160 includes but is not limited to steps S161 to S163.
[0070] Step S161: Calculate the sine value of the angular offset.
[0071] Step S162: Determine the moving direction of the mobile station according to the sine value.
[0072] Step S163: Control the axial offset of the moving platform according to the moving direction.
[0073] It can be understood that when the center point of the target film image coincides with the center point of the reference film image, there are two cases of offset when the target film image is offset. One case of offset is that the right end of the film in the target film image is higher than the left end of the film (that is, the right end of the film is tilted toward the inside in reality), and the angular offset is , The sine value of is positive. Another offset situation is: in the target film image, the right end of the film is lower than the left end of the film (that is, the right end of the film is tilted toward the outside in reality), and the angular offset is , The sine of is negative.
[0074] According to some embodiments of the present application, step S162 includes: when the sine value is a positive value, determining the moving direction to be a first direction inward along the axial direction; when the sine value is a negative value, determining the moving direction to be a second direction outward along the axial direction.
[0075] It can be understood that in step S163, when the moving direction is the first direction, the moving platform is controlled to move inward along the axial direction by the axial offset, which can drive the left end of the film to move inward; when the moving direction is the second direction, the moving platform is controlled to move outward along the axial direction by the axial offset, which can drive the left end of the film to move outward; the target film image shows that the right end of the film is flush with the left end of the film, and the lower edge line of the target film image is parallel to the lower edge line of the reference film image, that is, the film is corrected.
[0076] Through steps S161 to S163, the film can be corrected so that the cutter assembly can be controlled to cut the film without the film deviating.
[0077] According to some embodiments of the present application, the method further includes: when the axial offset is less than or equal to the first threshold, the unwinding device, the intermediate transmission mechanism and the winding device are kept in normal operation, and the green warning light is controlled to flash; when the axial offset is greater than or equal to the second threshold, the unwinding device, the intermediate transmission mechanism and the winding device are controlled to stop running, and the red warning light is controlled to flash and the warning sound device to sound an alarm; when the axial offset is greater than the first threshold and less than the second threshold, the yellow warning light is controlled to flash. The warning light device and the warning sound device are set to timely remind relevant staff of the working status of the film splitting machine.
[0078] In the second aspect, based on the various embodiments of the control method of the film splitting machine described above, a control system for the film splitting machine capable of implementing the above embodiments is proposed. Figure 4 As shown, the control system 400 of the film cutting machine includes: a first data acquisition module 410 , a pre-processing module 420 , a second data acquisition module 430 , an image processing module 440 , a comparison processing module 450 and a deviation correction control module 460 .
[0079] Among them, the first data acquisition module 410 is used to acquire the first image captured by the image acquisition device at every preset time interval when the film is continuously received from the photoelectric sensor during the process of conveying the film; wherein the first image is used to display the position status of the film at the current film outlet.
[0080] The preprocessing module 420 is used to perform image preprocessing on the first image to obtain an enhanced second image.
[0081] The second data acquisition module 430 acquires a standard position diagram from a database; wherein the standard position diagram is used to display the position state of the film when it is in the correct position without deviation.
[0082] The image processing module 440 is used to perform image comparison processing on the second image and the standard position map to obtain an axial offset and an angular offset.
[0083] The comparison processing module 450 is used to compare the axial offset with a preset first threshold and a second threshold respectively to obtain a comparison result; wherein the second threshold is greater than the first threshold.
[0084] The correction control module 460 is used to control the shift drive member to drive the movable table to move along the axial direction of the unwinding roller according to the axial offset and the angular offset when the comparison result is that the axial offset is greater than the first threshold and less than the second threshold, so as to correct the film; and to control the cutter assembly to cut the film when the film is not offset.
[0085] By utilizing the control system of the film splitter, during the process of conveying the film, through the mutual cooperation of the first data acquisition module 410, the preprocessing module 420, the second data acquisition module 430, the image processing module 440, the comparison processing module 450 and the correction control module 460, automatic correction is achieved, and the film is cut while ensuring that the film is straightened and not offset, thereby improving the accuracy of cutting the film and improving the product yield; therefore, according to the control system of the film splitter according to the embodiment of the present application, it is possible to detect the film offset and correct it in time during the process of conveying the film, which is beneficial to improving the accuracy of cutting the film and improving the product yield.
[0086] Thirdly, Figure 5 As shown, the controller 140 includes at least one processor 501 and a memory 502 for communicating with the at least one processor; the memory 502 stores instructions that can be executed by the at least one processor 501, and the instructions are executed by the at least one processor 501 so that the at least one processor 501 can execute the control method of the film dividing machine as any one of the embodiments of the first aspect.
[0087] Among them, the processor 501 can be implemented by a general-purpose central processing unit, a microprocessor, an application-specific integrated circuit, or one or more integrated circuits, etc., and is used to execute relevant programs to implement the technical solution provided in the embodiment of the present application.
[0088] The memory 502 can be implemented in the form of a read-only memory, a static storage device, a dynamic storage device, or a random access memory. The memory 502 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 502, and the processor 501 calls and executes the control method of the film splitting machine in the embodiment of the present application.
[0089] The controller 140 also includes an input / output interface 503 for implementing information input and output.
[0090] The communication interface 504 is used to realize the communication interaction between the present apparatus and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.).
[0091] The bus 505 transmits information between various components of the device (eg, the processor 501 , the memory 502 , the input / output interface 503 , and the communication interface 504 ).
[0092] The processor 501 , the memory 502 , the input / output interface 503 and the communication interface 504 are connected to each other in communication within the device via the bus 505 .
[0093] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute a control method for a film splitting machine as described in any one of the embodiments of the first aspect.
[0094] As a non-transient computer-readable storage medium, the memory can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage devices. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and are implemented to be located in one place, or may also be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0095] It will be appreciated by those skilled in the art that all or some of the steps and systems in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically include computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0096] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the above implementation mode. Technical personnel familiar with the field can also make various equivalent modifications or substitutions under the shared conditions without violating the spirit of the present application. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.
Claims
1. A control method for a film cutting machine, characterized in that: A controller applied to a film cutting machine, the film cutting machine comprising: an unwinding device, an intermediate conveying mechanism and a winding device arranged in sequence; the unwinding device comprising: a moving platform, a shift driving member electrically connected to the moving platform; an unwinding roller arranged on the moving platform; a film inlet is arranged at one end of the intermediate conveying mechanism close to the unwinding device, a film outlet is arranged at one end of the intermediate conveying mechanism close to the winding device, and a photoelectric sensor is arranged at the film outlet; the winding device comprises a frame and a traction roller assembly arranged on the frame, a cutter assembly, and an image acquisition device facing the film outlet; The control method comprises: In the process of conveying the film, when the film in place signal sent by the photoelectric sensor is continuously received, the first image captured by the image acquisition device is acquired at a preset time interval; wherein the first image is used to display the position status of the film at the current film outlet; performing image preprocessing on the first image to obtain an enhanced second image; Obtaining a standard position diagram from a database; wherein the standard position diagram is used to display the position state of the film when it is in the correct position and not offset; Performing image comparison processing on the second image and the standard position map to obtain an axial offset and an angular offset; Compare the axial offset with a preset first threshold and a second threshold respectively to obtain a comparison result; wherein the second threshold is greater than the first threshold; When the comparison result shows that the axial offset is greater than the first threshold value and less than the second threshold value, the shift drive member is controlled to drive the movable platform to move along the axial direction of the unwinding roller according to the axial offset and the angular offset, so that the film is corrected; when the film is not offset, the cutter assembly is controlled to cut the film; The step of performing image comparison processing on the second image and the standard position map to obtain an axial offset and an angular offset includes: Performing contour recognition processing on the second image to extract first contour information of a target film image in the second image; and calculating a first center position of the target film image according to the first contour information; Performing contour recognition processing on the standard position map to extract second contour information of the reference film image in the standard position map; and calculating a second center position of the reference film image according to the second contour information; According to the first center position and the second center position, aligning the center point of the target film image with the center point of the reference film image; The target film image is controlled to rotate around the center point so that the lower edge line of the target film image coincides with the lower edge line of the reference film image, thereby obtaining the angular offset.
2. The control method of the film cutting machine according to claim 1, characterized in that: The step of performing image comparison processing on the second image and the standard position map to obtain an axial offset and an angular offset further includes: Acquire a calibration ratio parameter of the image acquisition device; wherein the calibration ratio parameter is used to characterize the ratio between the image pixel length and the actual length; Acquire the film reference length displayed in the reference film image; The axial offset is obtained by performing calculation according to the film reference length, the absolute value of the tangent value of the angular offset and the calibration ratio parameter.
3. The control method of the film cutting machine according to claim 2, characterized in that: The step of calculating and processing the axial offset according to the film reference length, the absolute value of the tangent value of the angular offset, and the calibration ratio parameter comprises: Multiplying the absolute value of the tangent of the angular offset by half of the film reference length to obtain an offset distance in the image; The actual axial offset is obtained by performing calculation according to the offset distance and the calibration ratio parameter.
4. The control method of the film cutting machine according to claim 3, characterized in that: The step of controlling the displacement driving member to drive the movable platform to move along the axial direction of the unwinding roller according to the axial offset and the angular offset comprises: Calculating the sine value of the angular offset; Determining a moving direction of the mobile station according to the sine value; The moving stage is controlled to move the axial offset amount according to the moving direction.
5. The control method of the film cutting machine according to claim 4, characterized in that: Determining the moving direction of the mobile station according to the sine value includes: When the sine value is a positive value, the moving direction is determined to be a first direction inward along the axial direction; When the sine value is a negative value, the moving direction is determined to be a second direction outward along the axial direction.
6. The control method of the film cutting machine according to claim 1, characterized in that: The film cutting machine also includes a warning light device and a warning sound device electrically connected to the controller; the warning light device includes: a green warning light, a yellow warning light and a red warning light; The method further comprises: When the axial offset is less than or equal to the first threshold, the unwinding device, the intermediate transmission mechanism and the winding device are kept in normal operation, and the green warning light is controlled to flash; When the axial offset is greater than or equal to the second threshold, the unwinding device, the intermediate conveying mechanism and the winding device are controlled to stop running, and the red warning light is controlled to flash and the warning sound device to sound an alarm; When the axial offset is greater than the first threshold and less than the second threshold, the yellow warning light is controlled to flash.
7. A control system for executing the control method of a film cutting machine according to claim 1, characterized in that: include: A first data acquisition module is used to acquire a first image captured by an image acquisition device at a preset time interval when a film-in-place signal sent by a photoelectric sensor is continuously received during the film conveying process; wherein the first image is used to display the position status of the film at the current film outlet; A preprocessing module, used for performing image preprocessing on the first image to obtain an enhanced second image; The second data acquisition module acquires a standard position diagram from a database; wherein the standard position diagram is used to display the position state of the film when it is in the correct position and not offset; An image processing module, used for performing image comparison processing on the second image and the standard position map to obtain an axial offset and an angular offset; A comparison processing module, used for comparing the axial offset with a preset first threshold and a second threshold respectively, to obtain a comparison result; wherein the second threshold is greater than the first threshold; The correction control module is used to control the shift drive member to drive the movable table to move along the axial direction of the unwinding roller according to the axial offset and the angular offset when the comparison result is that the axial offset is greater than the first threshold value and less than the second threshold value, so as to correct the film; and to control the cutter assembly to cut the film when the film is not offset.
8. A controller, characterized in that: It includes at least one processor and a memory for communicating with the at least one processor; the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the control method of the film cutting machine as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the control method of the film splitting machine according to any one of claims 1 to 6.
Citation Information
Patent Citations
Plastic film quality evaluation method based on artificial intelligence
CN115018844A
Polyimide film detection device and method
CN115165900A
