Production control method and system of UV makeup machine and storage medium

Through the production control method of UV imposition machine, automation and intelligent technology are used to solve the problem of inefficiency in traditional UV printing, efficient and flexible order processing and quality control are achieved, adapting to small batch and diversified order needs, and improving the overall Production efficiency and product quality.

CN119078363AActive Publication Date: 2024-12-06WUHAN YUEN ANTI COUNTERFEITING TECH CO LTD +1

Patent Information

Application Number
CN202411565558.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-05
Publication Date
2024-12-06
Estimated Expiration
2044-11-05

AI Technical Summary

Technical Problem

When facing small batch and diversified orders, traditional UV printing methods have low production efficiency and cannot respond quickly to customer needs, and cost control and quality assurance are difficult to achieve.

Method used

A production control method for UV imposition machine is designed. Through a horizontal moving mechanism and a vertical moving unit, combined with an image acquisition device and a PID control algorithm, it realizes automated order verification, imposition optimization and printing strategy generation, and improves production efficiency and quality control.

Benefits of technology

It realizes the full process automation and intelligence of order processing and imposition, improves production efficiency, reduces manual intervention, reduces material waste, improves product quality and yield rate, adapts to the imposition needs of different specifications and complexities, and enhances production flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119078363A_ABST
    Figure CN119078363A_ABST
Patent Text Reader

Abstract

The invention provides a production control method and system of a UV makeup machine and a storage medium. The method comprises the following steps of obtaining a UV makeup order list; starting the UV makeup machine, and controlling the UV makeup machine to repeatedly execute the order makeup step; collecting a layout image of an initial layout which is placed on the makeup workbench in advance, and determining layout basic information of the initial layout; selecting an adaptive target UV makeup order according to the layout basic information; obtaining a to-be-printed image corresponding to the target UV makeup order and a UV printing parameter of the to-be-printed image; the bounding rectangle size of the minimum bounding rectangle of the image to be printed is calculated, and the optimal layout layout of the image to be printed on the initial layout is generated; an optimal makeup printing strategy is generated in combination with the UV printing parameters and the optimal layout; and based on the optimal makeup printing strategy, a horizontal moving mechanism and a UV makeup module are controlled to complete makeup printing of the to-be-printed image on the initial layout. The UV makeup machine has the effect of improving the production efficiency of the UV makeup machine.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of UV printing, and in particular relates to a production control method, system and storage medium of a UV platemaking machine. Background Art

[0002] UV printing technology has been widely used in packaging, labeling, advertising and other fields due to its fast drying, environmental protection and wide application range. UV printing can achieve high-quality printing effects on various materials, meeting the market's diverse demands for product appearance and functionality. However, with the expansion of its application scope, UV printing is also facing the challenge of how to improve efficiency, reduce costs and ensure quality. At the same time, personalized customization and small batch production have become new market trends. Printing customers are increasingly pursuing uniqueness and personalization, which requires printing companies to be able to quickly respond to diverse order demands.

[0003] In the UV printing industry, efficiency and quality are always two key factors. In traditional UV printing methods, although the speed and accuracy of the printing equipment itself have been significantly improved, order processing and layout planning still rely on manual operation, so they often face problems such as cumbersome order processing, frequent manual intervention, and low resource utilization. These problems lead to low production efficiency and cannot meet the modern market's demand for efficient, flexible and personalized printing. Especially in the processing of small batches and diversified orders, how to quickly respond to customer needs while ensuring printing quality and cost control is a huge challenge facing the industry at this stage. Summary of the invention

[0004] The present invention provides a production control method, system and storage medium of a UV platemaking machine, so as to solve the problem of low production efficiency in the traditional method when facing small batch and diversified orders.

[0005] In a first aspect, the present invention provides a production control method for a UV platemaking machine, which is applied to the UV platemaking machine, wherein the UV platemaking machine comprises a platemaking workbench, a horizontal moving mechanism and a UV platemaking module, wherein the UV platemaking module is arranged on the horizontal moving mechanism, and the horizontal moving mechanism is used to control the horizontal movement of the UV platemaking module directly above the platemaking workbench, and the UV platemaking machine further comprises a vertical moving unit and an image acquisition device arranged on the horizontal moving mechanism, wherein the horizontal moving mechanism is further used to control the horizontal movement of the vertical moving unit and the image acquisition device directly above the platemaking workbench, and the vertical moving unit is used to control the vertical movement of the image acquisition device directly above the platemaking workbench; The method comprises the following steps: Acquire and verify multiple UV panelization orders in the current time period, and integrate all the UV panelization orders that have passed the verification into a UV panelization order list; After the UV platemaking order list is generated, the UV platemaking machine is started, and the UV platemaking machine is controlled to repeatedly execute the order platemaking steps until all the UV platemaking orders in the UV platemaking order list are plated. The order platemaking steps are specifically as follows: The vertical moving unit and the image acquisition device are moved to the top of the center of the imposition workbench by the horizontal moving device, and the layout image of the initial layout pre-placed on the imposition workbench is acquired by the image acquisition device, and the layout basic information of the initial layout is determined based on the layout image; Selecting an adapted target UV imposition order from the UV imposition order list according to the layout basic information; Acquire the image to be printed corresponding to the target UV imposition order and UV printing parameters of the image to be printed; Calculating the size of the circumscribed rectangle of the minimum circumscribed rectangle of the image to be printed, and generating an optimal layout of the image to be printed on the initial layout by combining the size of the circumscribed rectangle, the layout basic information and the number of prints in the UV printing parameters; Combining the UV printing parameters with the optimal layout to generate an optimal imposition printing strategy for the horizontal moving mechanism and the UV imposition module; Based on the optimal imposition printing strategy, the horizontal moving mechanism and the UV imposition printing module are controlled to complete the imposition printing of the image to be printed on the initial layout.

[0006] Optionally, the step of moving the vertical moving unit and the image acquisition device to the top of the center of the imposition workbench by the horizontal moving device comprises the following steps: Taking any vertex of the top surface of the imposition workbench as the coordinate origin, and taking the length direction and width direction of the top surface of the imposition workbench as the horizontal axis and the vertical axis respectively, constructing a workbench plane coordinate system; Calculate the center point coordinates of the top surface of the imposition workbench in the workbench plane coordinate system based on the size information of the imposition workbench; Acquire the current position coordinates of the image acquisition device at the current moment in the workbench plane coordinate system according to the control signal of the horizontal moving device at the current moment; Constructing a coordinate deviation change function in combination with the center point coordinates and the current position coordinates, and generating an adjustment control signal based on the coordinate deviation change function and using a PID control algorithm; The adjustment control signal is used to control the horizontal moving device to move the vertical moving unit and the image acquisition device to the top of the center of the imposition workbench.

[0007] Optionally, the formula for adjusting the control signal is expressed as follows: ; Where: Indicates the moment The adjustment control signal when represents the proportionality coefficient, represents the coordinate deviation variation function, represents the integration time constant, Indicates the sampling sequence number. represents the sampling period, Indicates The coordinate deviation value at each sampling moment is Represents the differential time constant.

[0008] Optionally, the step of acquiring a layout image of an initial layout pre-placed on the imposition workbench by using the image acquisition device, and determining basic layout information of the initial layout based on the layout image comprises the following steps: The image acquisition device is used to acquire in real time a layout image of an initial layout pre-placed on the imposition workbench, wherein all vertices of the initial layout are preset with unique layout identifiers; Identify the layout logo in the layout image by using image recognition technology; If the number of the identified layout marks is less than the number of vertices of the initial layout, controlling the vertical moving unit to vertically lift the image acquisition device until the number of the marks is equal to the number of vertices; When the number of the identified layout marks is equal to the number of vertices, the actual layout size of the initial layout is calculated based on the layout image containing all the layout marks; Using the image recognition technology to obtain the identification classification result of the layout identification, and extracting the layout material attributes corresponding to the initial layout from a preset layout database according to the identification classification result; The actual size of the layout and the material attributes of the layout are integrated into the basic layout information of the initial layout.

[0009] Optionally, the step of calculating the actual layout size of the initial layout based on the layout image including all the layout marks comprises the following steps: Determining a layout frame of an initial layout in the layout image based on all the layout marks in the layout image; Acquire device parameters of the image acquisition device at the current moment; Converting the workbench plane coordinate system into an image plane coordinate system in the layout image according to the device parameters, and determining a frame image coordinate set of the layout frame based on the image plane coordinate system; Combining the frame image coordinate set and the device parameters, and using the perspective transformation matrix method to calculate the actual frame coordinate set of the layout frame in the workbench plane coordinate system; The actual size of the initial layout is calculated using the actual frame coordinate set.

[0010] Optionally, selecting an adapted target UV imposition order from the UV imposition order list according to the layout basic information comprises the following steps: Extracting the imposition material characteristics, printing quantity and order priority of all the UV imposition orders from the UV imposition order list; Calculate the layout size range of the UV imposition order based on the printing quantity and the preset image size range; Screening out the UV imposition orders whose actual layout size is not within the layout size range; Calculate the material compatibility between the layout material attribute and the layout material characteristics of the remaining UV layout order; The material compatibility and order priority of the remaining UV group order are standardized and then weighted calculated to obtain the order matching score of the remaining UV group order; The UV imposition order with the highest order matching score is used as the target UV imposition order.

[0011] Optionally, the step of calculating the size of the minimum bounding rectangle of the image to be printed comprises the following steps: Extracting image edge features of the image to be printed using an edge detection algorithm; Based on the image edge features, the total edge length and edge surrounding area of ​​the image to be printed at the same scale are calculated; Calculating the image edge complexity of the image to be printed by combining the total edge length and the edge enclosed area; If the image edge complexity is greater than or equal to a preset complexity threshold, a rotating caliper algorithm is used to determine the minimum bounding rectangle of the image to be printed, and the size of the bounding rectangle of the minimum bounding rectangle is calculated; If the image edge complexity is less than the complexity threshold, an axis-aligned bounding box algorithm is used to determine the minimum bounding rectangle of the image to be printed, and the size of the bounding rectangle of the minimum bounding rectangle is calculated.

[0012] Optionally, the step of generating the optimal layout of the image to be printed on the initial layout by combining the size of the circumscribed rectangle, the basic layout information and the number of prints in the UV printing parameters comprises the following steps: The minimum spacing of the image layout is calculated by combining the size of the circumscribed rectangle, the actual size of the layout, and the number of prints in the UV printing parameters; Taking the layout frame of the initial layout as the initial boundary, the optimal layout position of the image to be printed on the initial layout is determined based on the minimum spacing of the image layout and the optimal area fit method is repeatedly adopted. Whenever the optimal layout position of an image to be printed is determined, the initial boundary is updated in combination with the optimal layout position and the actual size of the layout until the determined number of the optimal layout positions reaches the printing number, thereby forming the optimal layout layout of the image to be printed on the initial layout.

[0013] In a second aspect, the present invention further provides a production control system for a UV platemaking machine, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the production control method for the UV platemaking machine as described in the first aspect is implemented.

[0014] In a third aspect, the present invention further provides a computer-readable storage medium having instructions stored thereon, which, when executed by a processor, configures the processor to execute the production control method for the UV platemaking machine described in the first aspect.

[0015] The beneficial effects of the present invention are: The production control method of the UV platemaking machine provided by the present invention has significant beneficial effects compared with the prior art. First, the present invention realizes the automation and intelligence of the whole process of order processing, platemaking optimization and quality control, and greatly improves production efficiency and continuity. The intelligent order verification and processing system can quickly respond to diverse customer needs, reduce manual intervention, and shorten the production cycle. Secondly, the advanced platemaking optimization algorithm significantly improves the layout utilization rate, reduces material waste, and reduces production costs. The real-time image acquisition and analysis system can promptly discover and correct platemaking defects, improve product quality and yield rate. In addition, the flexible design of the present invention enables it to adapt to the platemaking requirements of different specifications and complexity, and enhances the flexibility of production. On the whole, the production control method of the UV platemaking machine provided by the present invention not only solves the problems of low efficiency, insufficient precision, quality fluctuations, etc. in traditional UV platemaking technology, but also provides a new solution for the intelligent and refined management of the UV lithography industry, which helps to enhance the competitiveness of enterprises in the market and promote the entire industry to develop in a more efficient, more accurate, and more environmentally friendly direction. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a flowchart of a production control method of a UV platemaking machine in one embodiment of the present application.

[0017] Figure 2 This is a schematic diagram of the layout logo on the initial layout in one implementation manner of the present application.

[0018] Figure 3 This is a schematic diagram of the process of generating the optimal page layout in one implementation of the present application. DETAILED DESCRIPTION

[0019] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0020] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0021] A production control method for a UV platemaking machine disclosed in the present invention is applied to the UV platemaking machine. The UV platemaking machine includes a platemaking workbench, a horizontal moving mechanism and a UV platemaking module. The UV platemaking module is arranged on the horizontal moving mechanism. The horizontal moving mechanism is used to control the horizontal movement of the UV platemaking module directly above the platemaking workbench. The UV platemaking machine also includes a vertical moving unit and an image acquisition device arranged on the horizontal moving mechanism. The horizontal moving mechanism is also used to control the horizontal movement of the vertical moving unit and the image acquisition device directly above the platemaking workbench. The vertical moving unit is used to control the vertical movement of the image acquisition device directly above the platemaking workbench.

[0022] Figure 1 FIG. 1 is a flow chart of a production control method of a UV platemaking machine in one embodiment. It should be understood that although Figure 1The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps in the above method may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps. Figure 1 As shown, the production control method of a UV platemaking machine disclosed in the present invention specifically includes the following steps: S101. Acquire and verify multiple UV platemaking orders in the current time period, and integrate all the UV platemaking orders that have passed the verification into a UV platemaking order list.

[0023] Among them, through the interface with the order management system, all order information within the specified time range is automatically obtained. The order verification process includes checking the integrity, legality and executability of the order. For example, verify whether the order contains necessary information such as customer information, imposition image file, required quantity, material specifications, etc. At the same time, it is also necessary to check whether the order meets the production capacity and time requirements. The verification process may involve multiple sub-steps, such as file format check, image resolution verification, material inventory confirmation, etc. For orders that do not meet the requirements, the system will automatically mark and notify relevant personnel to handle them. All orders that have passed the verification are then integrated into a unified UV imposition order list. This list is the basis for subsequent production scheduling and optimization. It contains detailed information for each order, such as priority, deadline, image characteristics, etc. This automated order processing and verification mechanism greatly improves the efficiency of the early production stage, reduces human errors, and ensures the smooth progress of the subsequent production process.

[0024] S102. Move the vertical moving unit and the image acquisition device to the top of the center of the imposition workbench through the horizontal moving device, use the image acquisition device to capture the layout image of the initial layout pre-placed on the imposition workbench, and determine the basic layout information of the initial layout based on the layout image.

[0025] Among them, when determining the basic layout information of the initial layout, the vertical moving unit and the image acquisition device are first accurately positioned to the top of the center of the imposition workbench through the horizontal moving device. This step requires the horizontal moving device to have high-precision positioning capabilities, which are usually achieved by using a stepper motor or servo motor in conjunction with a precision guide rail and an encoder. The positioning accuracy can reach ±0.01mm to ensure the accuracy of subsequent image acquisition. The image acquisition device is usually a high-resolution industrial camera with a resolution of more than 10 million pixels, equipped with a suitable optical lens and lighting system. During the acquisition process, light sources of different wavelengths (such as white light and ultraviolet light) may be used to enhance the visibility of specific features. The acquired image is optimized by an image processing algorithm, such as denoising and contrast enhancement, to improve image quality. The determination of the basic layout information involves multiple parameters, including layout size, available area, boundary restrictions, etc. For example, the length and width of the layout can be accurately measured (with an accuracy of up to ±0.1mm) through an image analysis algorithm, and features such as reference marks and positioning holes on the layout can be identified. At the same time, the system will also analyze the material properties and surface conditions of the layout, which are crucial for the subsequent formulation of imposition strategies. The accurate acquisition of basic layout information provides reliable data support for subsequent layout optimization, which helps to improve layout efficiency and quality. The automation and high-precision characteristics of this step significantly reduce the need for manual measurement and judgment, and improve production efficiency and consistency.

[0026] S103. Select an adaptive target UV imposition order from the UV imposition order list according to the basic layout information.

[0027] Among them, first, the possible suitable orders are screened out according to the layout size. For example, if the layout size is 300mmx400mm, the system will give priority to orders with image size less than or equal to this size. Secondly, the system will consider factors such as order priority and delivery deadline. A weighted scoring system can be used, such as a weight of 1.5 for urgent orders and 1 for ordinary orders. In addition, the system will evaluate the material compatibility of the order with the layout, the matching degree of the required printing process, etc. For example, if the layout is a special coating material, the system will give priority to orders that require such materials. The algorithm will also consider the maximization of layout utilization and try to combine multiple small orders to fill the layout. This can use complex combinatorial optimization algorithms, such as genetic algorithms or simulated annealing algorithms, by generating multiple candidate solutions and selecting the best solution based on preset objective functions (such as maximizing layout utilization or minimizing production time). This intelligent order selection process not only improves production efficiency, but also optimizes resource utilization and reduces material waste. In this way, the flexibility and efficiency of production can be maximized while meeting the diverse needs of customers.

[0028] S104. Obtain the image to be printed and UV printing parameters of the image to be printed corresponding to the target UV platemaking order.

[0029] Among them, the images to be printed are usually stored in the form of high-resolution digital files, such as TIFF or PDF formats, with a resolution of 2400dpi or higher. The system automatically extracts these image files from the order database or file server. At the same time, the system also needs to parse the metadata related to the image, such as layer information, color space, etc. UV printing parameters include several key factors, such as exposure time, light source intensity, number of printing layers, etc. For example, for a typical UV printing task, the exposure time may be set to 0.5-2 seconds, and the light source intensity is 80-120mW / cm². The precise control of these parameters is crucial to the final printing quality. The system also considers material properties, such as the sensitivity and curing characteristics of photosensitive materials. For example, for highly sensitive materials, the exposure time may need to be reduced to avoid overexposure. In addition, the number of prints is also an important parameter, which directly affects the subsequent imposition strategy. The system may choose to print the same image repeatedly to improve efficiency based on order requirements and production efficiency. All these parameters will be integrated by the system and used in the subsequent imposition optimization and control process.

[0030] S105. Calculate the size of the circumscribed rectangle of the minimum circumscribed rectangle of the image to be printed, and generate the optimal layout of the image to be printed on the initial layout in combination with the circumscribed rectangle size, basic layout information and the number of prints in the UV printing parameters.

[0031] Among them, for an irregularly shaped image, the Canny edge detection algorithm is used to find the image boundary, and then the convex hull algorithm is applied to determine the minimum enclosing rectangle. Assume that the calculated enclosing rectangle size is 100mmx150mm. Next, the optimal layout is generated by combining this size information, the previously obtained layout basic information (such as the layout size 300mmx400mm) and the number of prints in the UV printing parameters (assuming it is 10). This process usually involves complex optimization algorithms, such as solutions to two-dimensional packing problems. The system may try multiple layout schemes, such as grid layout, staggered layout, etc., and calculate the layout utilization of each scheme. For example, the system may try a 2x5 grid layout, or a 3-2-3-2 staggered layout. Optimization goals usually include maximizing layout utilization, minimizing material waste, optimizing production efficiency, etc. The system also considers printing process requirements, such as white margins, alignment mark positions, etc. For example, it may be necessary to leave a 2mm safety margin around each image. In addition, the system also considers the physical limitations of the equipment, such as the irradiation range of the UV light source, the accuracy of the moving device, etc. Finally, the system will select a layout with the highest comprehensive score as the optimal layout. This automated layout optimization not only greatly improves production efficiency, but also significantly increases material utilization and reduces production costs.

[0032] S106. Generate an optimal imposition printing strategy for the horizontal moving mechanism and the UV imposition module by combining the UV printing parameters and the optimal layout.

[0033] First, the system calculates the moving path of the horizontal moving mechanism according to the layout. This usually involves path planning algorithms, such as the shortest path algorithm or the greedy algorithm. For example, if there are 10 image positions on the layout, the system may calculate a serpentine path to minimize the total moving distance. At the same time, the system also needs to consider acceleration and deceleration to ensure accurate positioning during high-speed movement. For the UV imposition module, the system generates detailed control instructions based on the specific parameters of each image position. This includes the switching timing of the UV light source, exposure time, light intensity adjustment, etc. For example, different exposure times or light intensities may be required for images of different sizes or complexities. The system also considers heat management and may insert a short cooling time between consecutive exposures. In addition, the strategy also includes quality control measures, such as regular automatic calibration or test exposure. The goal of the entire strategy is to maximize production efficiency while ensuring quality. For example, the system may choose to complete all images with the same parameters first to reduce parameter switching time. The final generated strategy is a detailed timing diagram, accurate to the millisecond level, containing the specific actions and parameter settings of each mechanism at each time point. This highly optimized strategy not only increases production speed, but also ensures that every image is printed with the best possible results.

[0034] S107. Based on the optimal plate-printing strategy, the horizontal moving mechanism and the UV plate-printing module are controlled to complete the plate-printing of the image to be printed on the initial layout.

[0035] Among them, the horizontal moving mechanism moves to the first printing position according to the predetermined path. This process usually adopts a closed-loop control system combined with a high-precision encoder to ensure that the positioning accuracy reaches ±0.01mm or higher. After reaching the target position, the system will make fine adjustments and may use a visual alignment system for final precise positioning. Then, the UV imposition module starts working. The UV light source is started according to the preset parameters. For example, the light intensity may be set to 100mW / cm² and the exposure time may be set to 1.5 seconds for a specific image. During the exposure process, the system monitors the light intensity and temperature in real time and makes fine adjustments if necessary. At the same time, auxiliary systems such as cooling systems or nitrogen protection systems may be started to ensure the best printing environment. After completing the printing of an image, the system will quickly move to the next position, and may perform a quick self-test or parameter adjustment. The whole process is highly automated, and the system will continuously compare the actual execution with the preset strategy. If deviations are found, compensation or adjustment will be automatically made. For example, if the exposure effect of a certain position is detected to be poor, the system may automatically increase the exposure time or adjust the light intensity. This real-time adjustment capability ensures consistency and high quality throughout the batch. Through this precise control and real-time optimization, the system is able to maximize production efficiency while maintaining high quality, significantly reducing material waste and production time.

[0036] S108. Determine whether all UV platemaking orders in the UV platemaking order list have completed platemaking. If all have completed platemaking, end the step; if there are UV platemaking orders that have not completed platemaking, repeat steps S102 to S108 until all UV platemaking orders in the UV platemaking order list have completed platemaking.

[0037] Among them, the order list is scanned and the status flag of each order is checked. If all orders are found to be marked as completed, the system triggers the end process and executes steps such as generating a production report, updating inventory information, and sending a completion notification. However, if there are unfinished orders, the system immediately restarts the process from S102 to S107. This cyclic execution mechanism ensures the continuity and efficiency of production. During the restart process, the system will take into account new situations, such as changes in layout status, characteristics of remaining orders, etc.

[0038] In one embodiment, moving the vertical moving unit and the image acquisition device to the top of the center of the imposition workbench by the horizontal moving device includes the following steps: Taking any vertex of the top surface of the imposition workbench as the coordinate origin, and taking the length direction and width direction of the top surface of the imposition workbench as the horizontal axis and the vertical axis respectively, constructing the workbench plane coordinate system; Based on the size information of the imposition workbench, the coordinates of the center point of the top surface of the imposition workbench in the workbench plane coordinate system are calculated; Acquire the current position coordinates of the image acquisition device in the workbench plane coordinate system at the current moment according to the control signal of the horizontal moving device at the current moment; A coordinate deviation change function is constructed by combining the center point coordinates and the current position coordinates, and an adjustment control signal is generated based on the coordinate deviation change function and using a PID control algorithm; The horizontal moving device is controlled by adjusting the control signal to move the vertical moving unit and the image acquisition device to the top of the center of the imposition workbench.

[0039] In this embodiment, first, a plane rectangular coordinate system is established on the top surface of the imposition workbench. Any vertex on the top surface of the workbench is selected as the coordinate origin, the length direction of the top surface of the workbench is used as the horizontal axis (X axis), and the width direction is used as the vertical axis (Y axis). In this way, a two-dimensional plane coordinate system is constructed, which can accurately locate the position of any point on the workbench. For example, if the top surface of the workbench is a rectangle, the length is L, and the width is W, then the coordinates of the four vertices are (0,0), (L,0), (0,W) and (L,W) respectively. In practical applications, the establishment of the coordinate system also needs to consider the physical properties and accuracy requirements of the workbench. For example, if the surface of the workbench is not completely flat, it is necessary to introduce height (Z axis) to construct a three-dimensional coordinate system in order to more accurately describe the surface morphology. In addition, the resolution of the coordinate system also needs to be determined according to actual needs, and it should usually be higher than the minimum resolution of the image acquisition device and the horizontal moving device to ensure that all subtle changes can be captured. When establishing the coordinate system, it is also necessary to take into account the tilt or distortion of the workbench, which requires multi-point calibration to establish a more accurate coordinate mapping relationship. The establishment of the coordinate system should also take into account future expansion needs, such as adding a rotation axis or multiple workbenches working together.

[0040] Next, the coordinates of the center point of the top surface of the workbench in the coordinate system are calculated based on the size information of the imposition workbench. Assuming that the length of the workbench is L and the width is W, the coordinates of the center point can be obtained by simple mathematical calculation: the X coordinate is equal to half of the length, and the Y coordinate is equal to half of the width. Specifically, the coordinates of the center point are (L / 2, W / 2). For example, if the length of the workbench is 1000mm and the width is 800mm, the coordinates of the center point are (500mm, 400mm). Then, according to the control signal of the horizontal moving device at the current moment, the current position coordinates of the image acquisition device in the workbench plane coordinate system are obtained. This process involves converting the control signal into actual spatial position information. Assuming that the horizontal moving device is driven by a stepper motor, the control signal can be converted into the number of steps of the motor, and then the actual displacement distance is calculated based on the motor step angle and the mechanical transmission ratio. For example, if the stepper motor in the X-axis direction corresponds to a linear displacement of 0.01mm per step, and the currently received control signal shows that the X-axis motor has rotated 5000 steps, then the displacement in the X direction is 50mm. Similarly, the displacement in the Y direction can be calculated. By adding these displacement values ​​to the initial position coordinates, the current position coordinates of the image acquisition device are obtained.

[0041] After obtaining the center point coordinates and the current position coordinates, the next step is to construct a coordinate deviation change function and generate an adjustment control signal based on this function using the PID control algorithm. The coordinate deviation change function can be defined as the difference between the current position coordinates and the target position (i.e., the center point coordinates). For example, if the current position coordinates are (x, y) and the center point coordinates are (x_c, y_c), then the deviation function can be expressed as: ΔX=x_c-x, ΔY=y_c-y. The PID control algorithm works based on this deviation function, where the P (proportional) term is proportional to the current deviation, the I (integral) term is proportional to the integral (accumulated deviation) of the deviation, and the D (differential) term is proportional to the rate of change of the deviation. The output of the PID algorithm is the adjustment control signal, which is used to guide the movement of the horizontal moving device.

[0042] In this embodiment, the formula for adjusting the control signal is expressed as follows: ; Where: Indicates the moment The adjustment control signal is represents the proportionality coefficient, represents the coordinate deviation change function, represents the integration time constant, Indicates the sampling sequence number. represents the sampling period, Indicates The coordinate deviation value at each sampling moment is Represents the differential time constant.

[0043] In practical applications, PID control needs some improvements and optimizations. For example, in order to prevent the integral term from accumulating too much when the deviation is large and causing system instability, strategies such as integral separation or integral limiting can be introduced. In order to improve the anti-interference ability of the system, feedforward control can be introduced. For nonlinear systems, more complex control algorithms such as adaptive PID or fuzzy PID are required. In multi-axis systems, the coupling effect between axes needs to be considered and multivariable PID control is adopted. In addition, filtering algorithms can be introduced to reduce the impact of noise and make the control smoother.

[0044] Finally, the generated adjustment control signal is used to control the horizontal moving device to move the vertical moving unit and the image acquisition device to the top of the center of the imposition table. This process requires the accurate conversion of the output of the PID controller into the actual motor control signal. For example, if a stepper motor is used, the PID output needs to be converted into a specific number of step pulses and direction signals. If a servo motor is used, the PID output needs to be converted into a voltage or current signal. During the movement process, the system continuously calculates the deviation between the current position and the target position, and adjusts the control signal in real time to ensure the accuracy and smoothness of the movement.

[0045] In one embodiment, using an image acquisition device to acquire a layout image of an initial layout pre-placed on a layout workbench, and determining the layout basic information of the initial layout based on the layout image includes the following steps: The image acquisition device is used to acquire in real time the layout image of the initial layout placed on the imposition workbench in advance, and all vertices of the initial layout are preset with unique layout identifiers; Identify page logos in page images using image recognition technology; If the number of marks of the recognized layout mark is less than the number of vertices of the initial layout, the vertical moving unit is controlled to vertically lift the image acquisition device until the number of marks is equal to the number of vertices; When the number of recognized layout logos is equal to the number of vertices, the actual layout size of the initial layout is calculated based on the layout image containing all layout logos; Using image recognition technology to obtain the identification classification result of the layout identification, and extracting the layout material attributes corresponding to the initial layout from a preset layout database according to the identification classification result; The actual size of the layout and the layout material properties are integrated into the basic layout information of the initial layout.

[0046] In this embodiment, the image acquisition device is usually a high-resolution industrial camera equipped with an appropriate lens to ensure that the field of view covers the entire workbench. In order to obtain a clear image, appropriate lighting conditions need to be considered, and a uniform diffuse light source is usually used to reduce shadows and reflections. During the image acquisition process, the camera's exposure time, aperture size, and ISO sensitivity need to be optimized and adjusted according to the ambient light and layout material. In order to ensure image quality, image preprocessing such as denoising and sharpening is also required. Real-time acquisition means that the camera needs to continue shooting at a certain frame rate, usually 15-30 frames per second. Reference Figure 2 , the unique mark preset at the vertex of the layout is a special geometric figure or a QR code, which needs to have good contrast and clarity for subsequent image recognition. The design of the mark needs to consider anti-interference ability, such as using error correction codes or redundant information. In actual operation, in order to improve the accuracy of recognition, it is necessary to collect images multiple times and take the average value, or use high dynamic range (HDR) technology to process images under different exposure conditions. In addition, in order to deal with lens distortion, camera calibration is required to establish a mapping relationship between pixel coordinates and actual space coordinates.

[0047] The layout logo in the layout image is identified by image recognition technology. This step first requires preprocessing of the collected image, including grayscale, binarization, denoising and other operations to improve the accuracy of subsequent recognition. Then, an edge detection algorithm (such as the Canny operator) is used to highlight the contour information in the image. Next, a shape detection algorithm (such as the Hough transform) is applied to locate the logo position. In order to identify the specific content of the logo, template matching, feature point matching (such as SIFT or SURF algorithms) or deep learning methods (such as convolutional neural network CNN) are used. If the logo is a QR code, a special QR code decoding algorithm is required. During the recognition process, issues such as image rotation, scaling and occlusion need to be considered. In practical applications, the influence of factors such as illumination changes, shadows, and reflections also need to be considered, which requires the addition of corresponding compensation mechanisms to the algorithm. For example, an adaptive threshold method can be used to deal with uneven illumination, or a high dynamic range (HDR) technology can be used to deal with strong light reflections. The recognition results usually include information such as the type, position coordinates, and direction of the logo, which will be used for subsequent size calculations and material property judgments.

[0048] If the number of recognized layout logos is less than the number of vertices of the initial layout, it means that the current field of view cannot completely cover the entire layout, or some logos cannot be recognized due to angle problems. At this time, the vertical moving unit is started, which is usually a precision electric lifting mechanism, such as a screw slider combination or a cylinder device. The lifting process requires precise control, and a closed-loop control system is usually adopted, including a position sensor (such as a photoelectric encoder or a linear displacement sensor) and a controller (such as a PLC or a motion control card). The lifting speed needs to be set reasonably. It can be faster at the beginning to save time, and it needs to slow down when approaching the target height to improve accuracy. After each lifting, it is necessary to re-capture the image and perform logo recognition. This process is an iterative process and requires multiple adjustments to achieve the optimal height. During the lifting process, care should be taken to prevent excessive lifting from causing image blur or loss of focus. Therefore, the focal length of the camera needs to be adjusted at the same time, which requires the camera to have an autofocus function or be equipped with an autofocus mechanism. In addition, the vibration problem during the lifting process needs to be considered, and a buffer mechanism needs to be set or a short stabilization time needs to be waited for before image acquisition. When the number of recognized layout logos is equal to the number of vertices, it means that the current field of view has completely covered the entire layout. At this time, the actual layout size of the initial layout can be calculated based on the layout image containing all layout logos.

[0049] Image recognition technology is used to obtain the logo classification results of the layout logo, and the layout material properties corresponding to the initial layout are extracted from the preset layout database based on the logo classification results. This step usually uses machine learning algorithms such as support vector machines (SVM), random forests or deep learning methods (such as convolutional neural networks (CNNs)). When training these models, a large amount of labeled data is required, including logo images of different materials and under different lighting conditions. Data enhancement techniques such as rotation, scaling, and adding noise need to be considered during model training to improve the generalization ability of the model. The classification results usually include the type and confidence of the logo. After obtaining the classification results, the next step is to extract the material properties from the preset layout database. This database is usually a relational database or a NoSQL database that stores detailed properties of various materials, including material type, physical properties, processing characteristics, etc. Finally, the actual size of the layout and the layout material properties are integrated into the layout basic information of the initial layout.

[0050] In one embodiment, calculating the actual layout size of the initial layout based on the layout image including all layout marks includes the following steps: Determine a layout border of an initial layout in the layout image based on all layout identifiers in the layout image; Obtaining device parameters of the image acquisition device at the current moment; Converting the workbench plane coordinate system into the image plane coordinate system in the layout image according to the device parameters, and determining the frame image coordinate set of the layout frame based on the image plane coordinate system; Combining the frame image coordinate set and the device parameters, and using the perspective transformation matrix method, the actual frame coordinate set of the layout frame in the workbench plane coordinate system is calculated; The actual size of the initial layout is calculated using the actual coordinate set of the border.

[0051] In this embodiment, first, all layout marks in the layout image are identified and analyzed to determine the border position of the initial layout. Specifically, the Canny edge detection algorithm can be used to identify the edges in the layout image, and then the Hough transform is applied to detect the straight lines. By analyzing the position and direction of these straight lines, the four boundaries of the publication page can be identified. If there is a significant color difference between the layout and the background, a color segmentation algorithm can also be used to assist in boundary identification. Once the boundary is determined, the pixel coordinates of the layout border can be obtained. Next, the device parameters of the image acquisition device at the current moment are obtained. These parameters usually include internal parameters of the camera (such as focal length, principal point coordinates, distortion coefficient, etc.) and external parameters (such as the position and posture of the camera in the workbench coordinate system). The internal parameters can be obtained through the camera calibration process, which usually uses a calibration plate such as a chessboard, collects multiple images at different angles, and then uses Zhang's method or OpenCV and other tools for calculation. The external parameters can be obtained by placing markers of known size and position on the workbench and then solving them through the PnP (Perspective-n-Point) algorithm. In addition, if an industrial camera is used, many parameters can be read directly from the camera SDK.

[0052] After obtaining the device parameters, it is necessary to transform the workbench plane coordinate system into the image plane coordinate system in the layout image. This transformation is based on the pinhole camera model and uses the internal and external parameters of the camera. The transformation process can be expressed as: ; Among them, (u,v) are image coordinates, (X,Y,Z) are table coordinates, K is the camera intrinsic parameter matrix, [R|t] is the extrinsic parameter matrix, and s is the scale factor. The reverse process is to convert the image coordinates back to the table coordinates. On this basis, using the layout border pixel coordinates determined in the previous step, the coordinate set of the border in the image plane coordinate system can be obtained. With the border image coordinate set and the device parameters, the perspective transformation matrix method can be used to calculate the actual coordinates of the layout border in the table plane coordinate system. The perspective transformation matrix H can be obtained by solving the following set of equations: ; Where (x, y) is the image coordinates and (x', y') is the table coordinates. Usually at least 4 pairs of corresponding points are required to solve this set of equations. Once the H matrix is ​​obtained, the coordinates of each corner point of the bounding box can be converted from the image coordinate system to the table coordinate system. This process takes into account factors such as the tilt angle of the camera and lens distortion, so the actual position of the publication on the table can be accurately restored. Finally, by calculating the distance between the corresponding points in the actual coordinate set of the bounding box, the actual size of the initial layout can be obtained. For example, the width of the layout can be obtained by calculating the Euclidean distance between the upper left corner point and the upper right corner point. The height can be calculated in the same way.

[0053] In one implementation manner, selecting an adapted target UV imposition order from a UV imposition order list according to layout basic information includes the following steps: Extract the imposition material characteristics, printing quantity and order priority of all UV imposition orders from the UV imposition order list; Calculate the layout size range of the UV imposition order based on the printing quantity and the preset image size range; Eliminate UV layout orders whose actual layout size is not within the layout size range; Calculate the material compatibility between the layout material attributes and the layout material characteristics of the remaining UV order placement orders; The material compatibility and order priority of the remaining UV group-buying orders are standardized and weighted to obtain the order matching scores of the remaining UV group-buying orders; The UV imposition order with the highest order matching score is taken as the target UV imposition order.

[0054] In this embodiment, first, the imposition material characteristics, printing quantity and order priority of all UV imposition orders are extracted from the UV imposition order list. Imposition material characteristics generally include attributes such as material type, thickness, surface treatment, etc. The printing quantity refers to the number of copies required to be printed for each order, which directly affects the subsequent layout size calculation. The order priority may be determined based on customer requirements, delivery date or other business rules. For example, a number from 1 to 10 can be used to represent the priority, where 10 represents the highest priority. Next, the layout size range of the UV imposition order is calculated based on the printing quantity and the preset image size range. The preset image size range is generally determined by the historical order image size in the historical order. When calculating the layout size range, it is necessary to consider the printing quantity, the size of a single image, the spacing between images, and the characteristics of the printing press. For example, the minimum layout width can be preliminarily calculated using the following formula: minimum layout width = minimum width of a single image × sqrt (print quantity) + (sqrt (print quantity) - 1) × minimum spacing.

[0055] The next step is to filter out UV layout orders whose actual layout size is not within the layout size range. When implementing it specifically, it is necessary to compare the actual layout size of each order with the layout size range calculated in the previous step. For example, if (actual width < minimum layout width || actual width > maximum layout width || actual height < minimum layout height || actual height > maximum layout height), the order is filtered out. In actual operation, it may be necessary to set a tolerance range, such as allowing a ±5% deviation between the actual size and the calculated range. This can increase flexibility and avoid over-screening orders due to small size differences.

[0056] Next, you need to calculate the material compatibility between the layout material properties and the layout material characteristics of the remaining UV grouping orders. Material compatibility reflects the degree of adaptability of different materials for printing on the same layout. Multiple factors need to be considered when calculating compatibility, such as material type, thickness, surface treatment, etc. A weight can be assigned to each factor, and then the overall compatibility is calculated using the weighted average method. Each compatibility can be determined by looking up a predefined compatibility matrix or using an expert system. For example, type compatibility can be defined as: same material = 1.0, similar material = 0.8, different material = 0.2, etc. Thickness compatibility can be calculated based on thickness difference: compatibility = 1-|thickness difference| / maximum allowed thickness difference.

[0057] Next, the material compatibility and order priority of the remaining UV group-buying orders need to be standardized and weighted to obtain the order matching scores of the remaining UV group-buying orders. Standardization is to enable indicators of different scales to be compared and integrated. The minimum-maximum standardization method can be used: standardized value = (original value-minimum value) / (maximum value-minimum value). After this processing, all values ​​will fall between 0 and 1. Then the material compatibility and order priority are weighted. The choice of weight reflects the business strategy. For example, if more attention is paid to material utilization efficiency, the weight of compatibility can be increased; if more attention is paid to customer satisfaction, the weight of priority can be increased. Finally, it is necessary to traverse the matching scores of all remaining orders to find the order with the highest score. If there are multiple orders with the highest and equal scores, other decision factors can be further introduced, such as selecting orders with larger printing quantities to improve production efficiency, or selecting orders with the closest delivery date to ensure timely delivery.

[0058] In one embodiment, calculating the size of the circumscribed rectangle of the minimum circumscribed rectangle of the image to be printed comprises the following steps: Using edge detection algorithm to extract image edge features of the image to be printed; Based on the edge features of the image, the total edge length and edge surrounding area of ​​the image to be printed at the same scale are calculated; The image edge complexity of the image to be printed is calculated by combining the total edge length and the edge enclosing area; If the image edge complexity is greater than or equal to a preset complexity threshold, a rotating caliper algorithm is used to determine the minimum bounding rectangle of the image to be printed, and the size of the bounding rectangle of the minimum bounding rectangle is calculated; If the image edge complexity is less than the complexity threshold, an axis-aligned bounding box algorithm is used to determine the minimum bounding rectangle of the image to be printed, and the size of the bounding rectangle of the minimum bounding rectangle is calculated.

[0059] In this embodiment, first, the edge features of the image to be printed are extracted using an edge detection algorithm. Edge detection is a basic and key step in image processing. It can identify areas in the image where the brightness or color changes sharply. These areas usually represent the outline or boundary of the object. Common edge detection algorithms include Sobel operator, Canny operator, Laplacian operator, etc. Taking the Canny edge detection algorithm as an example, its implementation process includes the following steps: 1) Gaussian filtering: convolve the original image using a Gaussian kernel to reduce the influence of noise; 2) calculate the gradient: use the Sobel operator to calculate the horizontal and vertical gradients of the image, and thus obtain the gradient amplitude and direction; 3) non-maximum suppression: compare the gradient amplitude along the gradient direction and retain the local maximum point; 4) double threshold processing: set two high and low thresholds, determine the points above the high threshold as edge points, and remove the points below the low threshold. The points between the two need to be further judged; 5) edge connection: connect the points between the high and low thresholds with the determined edge points to form a complete edge. The effect of implementing this step is to obtain a binary image, in which white pixels represent edges and black pixels represent non-edge areas. This binary image accurately describes the contour features of the image to be printed, laying the foundation for subsequent analysis and processing.

[0060] Next, the total edge length and edge enclosing area of ​​the image to be printed at the same scale are calculated based on the edge features of the image. The total edge length refers to the total number of edge pixels, which can be obtained by simply counting the number of white pixels in the binary image. However, in order to obtain more accurate results, it is necessary to consider that the actual length of the edge pixels in the diagonal direction should be √2 times the horizontal or vertical pixel length. Therefore, the following method can be used: traverse each pixel of the edge image, and if it is an edge pixel, check its 8-neighborhood. For adjacent edge pixels in the horizontal or vertical direction, the length is increased by 1; for adjacent edge pixels in the diagonal direction, the length is increased by √2. Finally, all lengths are added and divided by 2 (because each edge is calculated twice). The calculation of the edge enclosing area involves the filling algorithm of the image. A commonly used method is the flood filling algorithm (FloodFill): starting from a corner of the image, fill all areas that are not connected to the edge with a specific color, and finally count the number of pixels that are not filled, which is the area enclosed by the edge. In practical applications, in order to ensure the comparability between images of different sizes, the images are usually scaled to a uniform scale (such as 1000×1000 pixels) before calculation. The effect of this step is to obtain two key numerical indicators: the total edge length and the edge enclosing area, which together describe the complexity and compactness of the image.

[0061] Next, the image edge complexity of the image to be printed is calculated by combining the total edge length and the edge enclosing area. Image edge complexity is a comprehensive indicator that reflects the complexity of the image outline. A common method for calculating complexity is to use a concept similar to fractal dimension. The specific formula is as follows: Complexity = log(total edge length) / log(4*√(edge ​​enclosing area)). The principle of this formula is to compare the growth relationship between edge length and the square root of area. For simple geometric figures (such as circles or squares), the ratio of edge length to the square root of area is fixed. For complex figures, the edge length will increase at a faster rate. By taking the logarithm, this nonlinear relationship can be converted into a linear relationship, making the complexity indicator more intuitive. The value of complexity is usually between 1 and 2, with 1 representing the simplest shape (such as a circle) and 2 representing an extremely complex shape (such as a fractal that completely fills the plane).

[0062] Determine whether the image edge complexity is greater than or equal to the preset complexity threshold. If so, use the rotating caliper algorithm to determine the minimum enclosing rectangle of the image to be printed, and calculate the size of the enclosing rectangle of the minimum enclosing rectangle. The rotating caliper algorithm is an efficient method for calculating the minimum enclosing rectangle of a convex polygon. Its basic principle is to simulate a rectangle that rotates tightly on the convex hull (like a caliper), and continuously update the minimum area during the rotation process. The specific steps of the algorithm are as follows: 1) First, use Graham scanning and other methods to calculate the convex hull of the image edge point set; 2) Select an edge on the convex hull as the reference edge; 3) Find the anti-podal point perpendicular to the reference edge (that is, the point farthest from the reference edge); 4) Calculate the area of ​​the rectangle enclosed by the reference edge, the anti-podal point and two straight lines parallel to the reference edge; 5) Rotate the reference edge and repeat steps 3 and 4 until the reference edge rotates once; 6) Select the one with the smallest area among all calculated rectangles as the minimum enclosing rectangle. The time complexity of the rotating caliper algorithm is O(n), where n is the number of points on the convex hull, which makes it very suitable for processing images with complex shapes. After obtaining the minimum enclosing rectangle, its width and height are the required enclosing rectangle size. This method is particularly suitable for processing irregular or complex graphics because it can find the most compact bounding box at any angle, thereby minimizing the blank area and improving the utilization of printed materials.

[0063] If the image edge complexity is less than the complexity threshold, the axis-aligned bounding box algorithm is used to determine the minimum bounding rectangle of the image to be printed, and the size of the bounding rectangle of the minimum bounding rectangle is calculated. Axis-Aligned Bounding Box (AABB) is a simple but efficient method for calculating the bounding rectangle, which is particularly suitable for relatively simple or approximately rectangular graphics. Its implementation principle is as follows: 1) Traverse all edge points in the image; 2) Find the minimum and maximum values ​​of the x coordinate, recorded as xmin and xmax respectively; 3) Find the minimum and maximum values ​​of the y coordinate, recorded as ymin and ymax respectively; 4) The rectangle determined by these four extreme points is the axis-aligned bounding box. The width of the rectangle is xmax-xmin, and the height is ymax-ymin. The advantage of this method is that the calculation speed is extremely fast, and the time complexity is O(n), where n is the number of edge points. At the same time, since the bounding box is always parallel to the coordinate axis, it is very suitable for subsequent typesetting and cutting processes. In one embodiment, generating an optimal layout of the image to be printed on the initial layout by combining the size of the circumscribed rectangle, the basic layout information, and the number of prints in the UV printing parameters includes the following steps: The minimum spacing of the image layout is calculated by combining the size of the circumscribed rectangle, the actual size of the layout, and the number of prints in the UV printing parameters; Taking the layout frame of the initial layout as the initial boundary, the optimal layout position of the image to be printed on the initial layout is determined based on the minimum spacing of the image layout and the optimal area fit method is repeatedly used. Whenever the optimal layout position of an image to be printed is determined, the initial boundary is updated in combination with the optimal layout position and the actual size of the layout until the determined number of optimal layout positions reaches the printing number, forming the optimal layout layout of the image to be printed on the initial layout.

[0064] In this embodiment, refer to Figure 3 , first of all, the minimum spacing of the image layout is calculated by combining the size of the circumscribed rectangle, the actual size of the layout, and the number of prints in the UV printing parameters. The core goal of this step is to determine the minimum safety distance between the images to be printed and between the image and the edge of the layout to ensure printing quality and operational feasibility. The size of the circumscribed rectangle determines the basic space occupied by each image to be printed, the actual size of the layout limits the total space available for layout, and the number of prints affects how to distribute the image in the limited space. A practical calculation method is: first, determine a basic safety spacing according to the UV printing process parameters, usually 1-3 mm; then, considering the actual size of the layout and the number of prints, calculate the theoretical maximum available space: (layout width-number of prints×image width) / (number of prints+1), and calculate the spacing in the height direction in the same way. Take the minimum of these two values, and then compare it with the basic safety spacing, and take the larger value as the final minimum spacing of the image layout. For example, assuming that the layout size is 1000mm×800mm, the size of the circumscribed rectangle of the image to be printed is 100mm×80mm, the number of prints is 20, and the basic safety spacing is 2mm. The spacing in the width direction is calculated as: (1000-20×100) / (20+1)≈4.76mm, and the spacing in the height direction is calculated as: (800-20×80) / (20+1)≈3.81mm. Taking the minimum value of 3.81mm and comparing it with the basic safety spacing of 2mm, the minimum spacing of the image layout is finally determined to be 3.81mm.

[0065] Reference Figure 3 , taking the layout border of the initial layout as the initial boundary, based on the minimum spacing of the image layout and repeatedly using the best area fit method to determine the optimal layout position of the image to be printed on the initial layout, each time the optimal layout position of an image to be printed is determined, the initial boundary is updated in combination with the optimal layout position and the actual size of the layout until the number of determined optimal layout positions reaches the number of prints, forming the optimal layout layout of the image to be printed on the initial layout. This step uses an iterative method to determine the position of each image to be printed one by one. The best area fit method is a heuristic algorithm, the core idea of ​​which is to place the image to be laid out in the most suitable position in the currently available space. The specific implementation process is as follows: 1. Initialization: Use the entire layout as the initial available space.

[0066] 2. For each image to be laid out: a) In the currently available space, traverse all possible placement positions with the minimum image layout spacing as the step size.

[0067] b) For each possible position, calculate the region fit.

[0068] c) Select the position with the highest regional fit as the optimal layout position for the image.

[0069] 3. Update the boundaries: After each image is placed, update the boundaries of the available space. This usually involves complex geometric operations that need to consider how the newly placed image affects the existing available space.

[0070] 4. Repeat steps 2 and 3 until all images have been placed or no further placement is possible.

[0071] For example: suppose there is a 1000mm×800mm layout, and 20 100mm×80mm images need to be placed, with a minimum spacing of 3.81mm. At the beginning of the algorithm, the first image is placed at the upper left corner (3.81mm, 3.81mm). Then, the boundary is updated to form an "L"-shaped available space. For the second image, the algorithm calculates the fit of placing it to the right and below the first image, and chooses a position with a higher fit. This is repeated until all 20 images are placed or cannot be placed anymore. The effect of this step is to obtain an optimized layout plan, which can maximize the use of layout space while meeting the minimum spacing requirements, improve material utilization, and provide clear positioning guidance for subsequent printing processes. This method can effectively reduce material waste, improve production efficiency, and ensure printing quality.

[0072] The present invention also discloses a production control system for a UV platemaking machine, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the production control method for the UV platemaking machine described in any one of the above embodiments is implemented.

[0073] Among them, the processor can adopt a central processing unit (CPU). Of course, according to actual usage, other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. can also be adopted. The general-purpose processor can adopt a microprocessor or any conventional processor, etc., and this application does not impose any restrictions on this.

[0074] Among them, the memory can be an internal storage unit of a computer device, such as a hard disk or memory of a computer device, or an external storage device of a computer device, such as a plug-in hard disk, a smart memory card (SMC), a secure digital card (SD) or a flash memory card (FC) equipped on the computer device, and the memory can also be a combination of an internal storage unit and an external storage device of a computer device. The memory is used to store computer programs and other programs and data required by the computer device. The memory can also be used to temporarily store data that has been output or is to be output, and this application does not impose any restrictions on this.

[0075] The present invention also discloses a computer-readable storage medium, on which instructions are stored. When the instructions are executed by a processor, the processor is configured to execute the production control method of the UV platemaking machine described in any one of the above embodiments.

[0076] Among them, the computer program can be stored in a machine-readable medium, the computer program includes computer program code, the computer program code can be in the form of source code, object code, executable file or certain middleware, etc. The machine-readable medium includes any entity or device that can carry the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the machine-readable medium includes but is not limited to the above-mentioned components.

[0077] Among them, through this computer-readable storage medium, the comprehensive fault detection method for transmission lines in the above embodiment is stored in a computer-readable storage medium, and is loaded and executed on a processor to facilitate the storage and application of the above method.

[0078] A person skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of protection of the present application is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of different aspects of one or more embodiments of the present application as above, which are not provided in detail for the sake of simplicity.

[0079] One or more embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the present application. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of one or more embodiments of the present application should be included in the protection scope of the present application.

Claims

1. A production control method for a UV platemaking machine, applied to the UV platemaking machine, the UV platemaking machine comprises a platemaking workbench, a horizontal moving mechanism and a UV platemaking module, the UV platemaking module is arranged on the horizontal moving mechanism, and the horizontal moving mechanism is used to control the horizontal movement of the UV platemaking module directly above the platemaking workbench, It is characterized in that The UV plate-making machine further comprises a vertical moving unit and an image acquisition device arranged on the horizontal moving mechanism, wherein the horizontal moving mechanism is further used to control the horizontal movement of the vertical moving unit and the image acquisition device directly above the plate-making workbench, and the vertical moving unit is used to control the vertical movement of the image acquisition device directly above the plate-making workbench; The method comprises the following steps: Acquire and verify multiple UV panelization orders in the current time period, and integrate all the UV panelization orders that have passed the verification into a UV panelization order list; After the UV platemaking order list is generated, the UV platemaking machine is started, and the UV platemaking machine is controlled to repeatedly execute the order platemaking steps until all the UV platemaking orders in the UV platemaking order list are plated. The order platemaking steps are specifically as follows: The vertical moving unit and the image acquisition device are moved to the top of the center of the imposition workbench by the horizontal moving device, and the layout image of the initial layout pre-placed on the imposition workbench is acquired by the image acquisition device, and the layout basic information of the initial layout is determined based on the layout image; Selecting an adapted target UV imposition order from the UV imposition order list according to the layout basic information; Acquire the image to be printed corresponding to the target UV imposition order and UV printing parameters of the image to be printed; Calculating the size of the circumscribed rectangle of the minimum circumscribed rectangle of the image to be printed, and generating an optimal layout of the image to be printed on the initial layout by combining the size of the circumscribed rectangle, the layout basic information and the number of prints in the UV printing parameters; Combining the UV printing parameters with the optimal layout to generate an optimal imposition printing strategy for the horizontal moving mechanism and the UV imposition module; Based on the optimal imposition printing strategy, the horizontal moving mechanism and the UV imposition printing module are controlled to complete the imposition printing of the image to be printed on the initial layout.

2. The production control method of the UV platemaking machine according to claim 1, It is characterized in that The step of moving the vertical moving unit and the image acquisition device to the top of the center of the imposition workbench by the horizontal moving device comprises the following steps: Taking any vertex of the top surface of the imposition workbench as the coordinate origin, and taking the length direction and width direction of the top surface of the imposition workbench as the horizontal axis and the vertical axis respectively, constructing a workbench plane coordinate system; Calculate the center point coordinates of the top surface of the imposition workbench in the workbench plane coordinate system based on the size information of the imposition workbench; Acquire the current position coordinates of the image acquisition device at the current moment in the workbench plane coordinate system according to the control signal of the horizontal moving device at the current moment; Constructing a coordinate deviation change function in combination with the center point coordinates and the current position coordinates, and generating an adjustment control signal based on the coordinate deviation change function and using a PID control algorithm; The adjustment control signal is used to control the horizontal moving device to move the vertical moving unit and the image acquisition device to the top of the center of the imposition workbench.

3. The production control method of the UV platemaking machine according to claim 2, It is characterized in that The formula for adjusting the control signal is as follows: ; Where: Indicates the moment The adjustment control signal when represents the proportionality coefficient, represents the coordinate deviation variation function, represents the integration time constant, Indicates the sampling sequence number. represents the sampling period, Indicates The coordinate deviation value at each sampling moment is Represents the differential time constant.

4. The production control method of the UV platemaking machine according to claim 2, It is characterized in that The method of using the image acquisition device to acquire the layout image of the initial layout pre-placed on the imposition workbench, and determining the layout basic information of the initial layout based on the layout image comprises the following steps: The image acquisition device is used to acquire in real time a layout image of an initial layout pre-placed on the imposition workbench, wherein all vertices of the initial layout are preset with unique layout identifiers; Identify the layout logo in the layout image by using image recognition technology; If the number of the identified layout marks is less than the number of vertices of the initial layout, controlling the vertical moving unit to vertically lift the image acquisition device until the number of the marks is equal to the number of vertices; When the number of the identified layout marks is equal to the number of vertices, the actual layout size of the initial layout is calculated based on the layout image containing all the layout marks; Using the image recognition technology to obtain the identification classification result of the layout identification, and extracting the layout material attributes corresponding to the initial layout from a preset layout database according to the identification classification result; The actual size of the layout and the material attributes of the layout are integrated into the basic layout information of the initial layout.

5. The production control method of the UV platemaking machine according to claim 4, It is characterized in that The step of calculating the actual layout size of the initial layout based on the layout image containing all the layout marks comprises the following steps: Determining a layout frame of an initial layout in the layout image based on all the layout marks in the layout image; Acquire device parameters of the image acquisition device at the current moment; Converting the workbench plane coordinate system into an image plane coordinate system in the layout image according to the device parameters, and determining a frame image coordinate set of the layout frame based on the image plane coordinate system; Combining the frame image coordinate set and the device parameters, and using the perspective transformation matrix method to calculate the actual frame coordinate set of the layout frame in the workbench plane coordinate system; The actual size of the initial layout is calculated using the actual frame coordinate set.

6. The production control method of the UV platemaking machine according to claim 4, It is characterized in that The step of selecting an adapted target UV imposition order from the UV imposition order list according to the layout basic information comprises the following steps: Extracting the imposition material characteristics, printing quantity and order priority of all the UV imposition orders from the UV imposition order list; Calculate the layout size range of the UV imposition order based on the printing quantity and the preset image size range; Screening out the UV imposition orders whose actual layout size is not within the layout size range; Calculate the material compatibility between the layout material attribute and the layout material characteristics of the remaining UV layout order; The material compatibility and order priority of the remaining UV group order are standardized and then weighted calculated to obtain the order matching score of the remaining UV group order; The UV imposition order with the highest order matching score is used as the target UV imposition order.

7. The production control method of the UV platemaking machine according to claim 4, It is characterized in that The step of calculating the size of the minimum circumscribed rectangle of the image to be printed comprises the following steps: Extracting image edge features of the image to be printed using an edge detection algorithm; Based on the image edge features, the total edge length and edge surrounding area of ​​the image to be printed at the same scale are calculated; Calculating the image edge complexity of the image to be printed by combining the total edge length and the edge enclosed area; If the image edge complexity is greater than or equal to a preset complexity threshold, a rotating caliper algorithm is used to determine the minimum bounding rectangle of the image to be printed, and the size of the bounding rectangle of the minimum bounding rectangle is calculated; If the image edge complexity is less than the complexity threshold, an axis-aligned bounding box algorithm is used to determine the minimum bounding rectangle of the image to be printed, and the size of the bounding rectangle of the minimum bounding rectangle is calculated.

8. The production control method of the UV platemaking machine according to claim 7, It is characterized in that The step of generating the optimal layout of the image to be printed on the initial layout by combining the size of the circumscribed rectangle, the basic layout information and the printing quantity in the UV printing parameters comprises the following steps: The minimum spacing of the image layout is calculated by combining the size of the circumscribed rectangle, the actual size of the layout, and the number of prints in the UV printing parameters; Taking the layout frame of the initial layout as the initial boundary, the optimal layout position of the image to be printed on the initial layout is determined based on the minimum spacing of the image layout and the optimal area fit method is repeatedly adopted. Whenever the optimal layout position of an image to be printed is determined, the initial boundary is updated in combination with the optimal layout position and the actual size of the layout until the determined number of the optimal layout positions reaches the printing number, thereby forming the optimal layout layout of the image to be printed on the initial layout.

9. A production control system for a UV platemaking machine, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the production control method of the UV platemaking machine according to any one of claims 1 to 8 is implemented.

10. A computer-readable storage medium having stored thereon instructions, It is characterized in that When the instruction is executed by a processor, the processor is configured to execute the production control method of the UV platemaking machine according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Page makeup method and device

    CN103942187A

  • Method and device for automatic imposition

    CN104572610A

  • Makeup handling method and device

    CN104765721A

  • Page layout method, device and system

    CN105573974A

  • Combined multi-order makeup printing typesetting optimization method

    CN105824586A

Cited By

  • Symmetrical overlapping and splicing method and system for self-adaptive printing makeup

    CN119962255A

  • An adaptive printing imposition symmetric overlay method and system

    CN119962255B

  • Primary main wiring diagram on-site configuration method based on microcomputer protection

    CN120879458A