A PCB printing position correction method, device, equipment and medium

By calculating and applying the correction and compensation parameters of the PCB board in the inkjet printing equipment, the printing position is automatically adjusted, solving the problem of reduced printing accuracy and achieving high-precision printing results.

CN116749647BActive Publication Date: 2026-05-01JIN XIN TECH LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
JIN XIN TECH LTD
Filing Date
2023-07-21
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

In existing technologies, printing accuracy is reduced due to changes in the state of printing equipment or changes in environmental factors, and manual compensation values ​​are not accurate and consume a lot of human resources.

Method used

By acquiring target inkjet images of multiple PCB boards, calculating and applying the correction and compensation parameters of the first PCB board, and combining them with the correction parameters of subsequent PCB boards, the inkjet printing equipment is automatically adjusted to improve accuracy.

Benefits of technology

It effectively improves the printing accuracy of PCB boards, overcomes the problem of reduced accuracy caused by changes in equipment status and external conditions, and reduces errors caused by human intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116749647B_ABST
    Figure CN116749647B_ABST
Patent Text Reader

Abstract

The application discloses a PCB plate jet printing position correction method, device, equipment and medium. The method comprises the following steps: obtaining a plurality of target jet printing images matched with a plurality of PCB plates respectively; calculating a first correction parameter matched with a first PCB plate, and jet printing the first PCB plate; calculating a compensation parameter according to the jet printed first PCB plate and the actual coordinates of each target point of the first PCB plate; when jet printing each of the remaining PCB plates, calculating a second correction parameter matched with each of the remaining PCB plates respectively, and calculating a target correction parameter matched with each of the remaining PCB plates respectively according to the second correction parameter and the compensation parameter; and jet printing each of the remaining PCB plates according to the target correction parameter matched with each of the remaining PCB plates respectively and the target jet printing image. The above technical scheme can solve the problem of reduced jet printing precision caused by the state change of the jet printing equipment.
Need to check novelty before this filing date? Find Prior Art

Description

A method, apparatus, equipment and medium for correcting the printing position of a PCB board. Technical Field

[0001] This invention relates to the field of inkjet printing technology, and in particular to a method, apparatus, equipment and medium for correcting the inkjet printing position on a PCB board. Background Technology

[0002] During the inkjet printing process on a PCB (Printed Circuit Board), the PCB needs to be mounted at a designated position on the inkjet printing equipment, and the image required by the user is printed onto the PCB. Since the mounting position may deviate each time, correction parameters can generally be calculated using four target points on the PCB for positioning, and the inkjet printing is corrected using these correction parameters.

[0003] However, as the equipment runs for a long time, its condition may change. When the machine condition changes or environmental factors change, the printing accuracy may decrease. Currently, to solve this problem, staff can manually input the compensation value into the printing equipment. However, this method has low compensation accuracy and consumes a lot of manpower. Summary of the Invention

[0004] This invention provides a method, apparatus, equipment, and medium for correcting the printing position of a PCB board, which can solve the problem of reduced printing accuracy caused by changes in the state of the printing equipment.

[0005] According to one aspect of the present invention, a method for correcting the printing position of a PCB board is provided, comprising:

[0006] Acquire multiple target inkjet images that are matched with multiple PCB boards respectively;

[0007] The first correction parameter matching the first PCB board is calculated, and the first PCB board is printed according to the first correction parameter and the target inkjet image matching the first PCB board.

[0008] The compensation parameters are calculated based on the first PCB board after printing and the actual coordinates of each target point on the first PCB board.

[0009] When printing on each of the remaining PCB boards, a second correction parameter matching each of the remaining PCB boards is calculated, and a target correction parameter matching each of the remaining PCB boards is calculated based on the second correction parameter and the compensation parameter.

[0010] Based on the target correction parameters and target printing images that are matched with each of the remaining PCB boards, the remaining PCB boards are printed sequentially.

[0011] According to another aspect of the present invention, a printing position correction device for a PCB board is provided, comprising:

[0012] The target inkjet image acquisition module is used to acquire multiple target inkjet images that are matched with multiple PCB boards respectively;

[0013] The first PCB board printing module is used to calculate the first correction parameter that matches the first PCB board, and to print the first PCB board according to the first correction parameter and the target printing image that matches the first PCB board.

[0014] The compensation parameter calculation module is used to calculate the compensation parameters based on the first PCB board after printing and the actual coordinates of each target point on the first PCB board.

[0015] The target correction parameter acquisition module is used to calculate the second correction parameter that matches each of the remaining PCB boards when printing on each of the remaining PCB boards, and to calculate the target correction parameter that matches each of the remaining PCB boards based on the second correction parameter and the compensation parameter.

[0016] The continuous printing module is used to sequentially print on each remaining PCB board according to the target correction parameters and target printing images matched with each remaining PCB board.

[0017] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0018] At least one processor; and

[0019] A memory communicatively connected to the at least one processor; wherein,

[0020] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the PCB printing position correction method according to any embodiment of the present invention.

[0021] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the PCB board inkjet printing position correction method according to any embodiment of the present invention.

[0022] The technical solution of this invention, by determining compensation parameters based on the printing result of the first PCB board and using the correction parameters of subsequent PCB boards and the compensation parameters determined based on the printing result of the first PCB board to jointly correct the printing accuracy of subsequent PCB boards, can overcome the problem of reduced accuracy caused by changes in machine status or external conditions. At the same time, it solves the problem of large errors in manually modifying compensation values, and can effectively improve the printing accuracy of PCB boards.

[0023] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0024] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 is a flowchart of a PCB board printing position correction method according to Embodiment 1 of the present invention;

[0026] Figure 2 is a flowchart of another PCB board printing position correction method according to Embodiment 2 of the present invention;

[0027] Figure 3 is a schematic diagram of an auxiliary detection pattern provided according to an embodiment of the present invention;

[0028] Figure 4 is a schematic diagram of the printing position correction device for a PCB board according to Embodiment 3 of the present invention;

[0029] Figure 5 is a schematic diagram of the structure of an electronic device that implements the PCB printing position correction method of the present invention. Detailed Implementation

[0030] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0031] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0032] Example 1

[0033] Figure 1 is a flowchart of a PCB printing position correction method according to Embodiment 1 of the present invention. This embodiment is applicable to situations where PCB boards are compensated to ensure printing accuracy. The method can be executed by a PCB printing position correction device, which can be implemented in hardware and / or software and is generally configured in a computer or processor with image processing capabilities. As shown in Figure 1, the method includes:

[0034] S110: Obtain multiple target inkjet images that are matched with multiple PCB boards respectively.

[0035] It is understandable that the target printing image is a pre-loaded image used for printing onto each PCB board, and the PCB board to be printed corresponds one-to-one with the target printing image.

[0036] Optionally, the PCB board generally has four target points for positioning. The target points are generally distributed at the four corners of the PCB board. In order to achieve the technical solution of the present invention, when acquiring the initial inkjet image of the first PCB board, the auxiliary detection graphics for positioning need to be added to the position corresponding to each target point in the initial inkjet image. That is, there can generally be four auxiliary detection graphics on the target inkjet image of the first PCB board.

[0037] Furthermore, the auxiliary detection pattern can generally have a clear center point, which should be located on the initial inkjet image at the position corresponding to the center of the target circle on the PCB board.

[0038] S120. Calculate the first correction parameter that matches the first PCB board, and print the first PCB board according to the first correction parameter and the target inkjet image that matches the first PCB board.

[0039] Optionally, before printing, each PCB board is positioned using target points and moved to a designated location. However, since there may be deviations between the target points on the PCB board and the preset standard target points, correction parameters can be obtained based on the target point positions to compensate for printing accuracy. However, due to changes in the printing equipment's status or other external factors, even with compensation based on target point positions, some errors will still exist, and these errors tend to be relatively fixed within a certain time range. Therefore, this invention creatively proposes determining compensation parameters using the first PCB board after printing, and combining the correction and compensation parameters of each PCB board to perform accuracy compensation on subsequent PCB boards, thereby improving image printing accuracy.

[0040] It is also understandable that during the PCB printing process, multiple PCBs can generally be printed sequentially. Since each PCB needs to be moved to the designated printing position, and the accuracy of alignment is different each time, the correction parameters obtained for each PCB are different based on the target position.

[0041] Optionally, the first correction parameter can be understood as the correction parameter of the first PCB board. The first correction parameter can be determined based on the error between the actual target point coordinates of the first PCB board and the preset standard target point coordinates.

[0042] S130. Based on the first PCB board after inkjet printing and the actual coordinates of each target point on the first PCB board, the compensation parameters are calculated.

[0043] It is understandable that after the first PCB board has been compensated according to the first correction parameter, due to external factors and changes in the machine status, the target inkjet image on the first PCB board may be different from the expected inkjet effect, which may result in a certain displacement deviation.

[0044] Therefore, this invention creatively proposes to add auxiliary detection graphics to the initial inkjet image, and after the first PCB board is printed, to calculate compensation parameters based on the deviation between the center point of each auxiliary detection graphic and the center of the target circle, and to use the compensation parameters for inkjet accuracy compensation of subsequent PCB boards.

[0045] Optionally, the actual coordinates of the target point can be obtained by capturing and identifying it using a CCD (Charge Coupled Device) camera when calculating the first correction parameter. The center point of the auxiliary detection pattern can also be obtained by capturing and identifying it using a CCD camera after printing. The actual coordinates of the target point's center can then be obtained from the actual coordinates of the target point.

[0046] S140. When printing on each of the remaining PCB boards, calculate the second correction parameter that matches each of the remaining PCB boards respectively, and calculate the target correction parameter that matches each of the remaining PCB boards respectively based on the second correction parameter and the compensation parameter.

[0047] Optionally, the second correction parameter can refer to the correction parameters calculated for the remaining PCB boards (excluding the first PCB board) to correct PCB board alignment issues. The second correction parameter can be determined by the error between the actual target point coordinates of each remaining PCB board and the preset standard target point coordinates. The actual target point coordinates can be obtained by capturing and identifying them using a CCD camera.

[0048] Optionally, the target correction parameter can be obtained by adding the second correction parameter to the compensation parameter.

[0049] S150. Based on the target correction parameters and target printing images that are matched with each of the remaining PCB boards, print each of the remaining PCB boards in sequence.

[0050] Understandably, using target correction parameters to print PCB boards can simultaneously overcome the problems of PCB board alignment errors and reduced printing accuracy caused by changes in machine status or external factors.

[0051] The technical solution of this invention, by determining compensation parameters based on the printing result of the first PCB board and using the correction parameters of subsequent PCB boards and the compensation parameters determined based on the printing result of the first PCB board to jointly correct the printing accuracy of subsequent PCB boards, can overcome the problem of reduced accuracy caused by changes in machine status or external conditions. At the same time, it solves the problem of large errors in manually modifying compensation values, and can effectively improve the printing accuracy of PCB boards.

[0052] Example 2

[0053] Figure 2 is a flowchart of a PCB printing position correction method according to Embodiment 2 of the present invention. This embodiment, based on the above embodiments, specifically illustrates the PCB printing position correction method. As shown in Figure 2, the method includes:

[0054] S210. Obtain the initial inkjet image of the first PCB board. In the initial inkjet image of the first PCB board, determine multiple target positions that match each target point in the PCB board. Add auxiliary detection graphics centered on each target position to generate a target inkjet image that matches the first PCB board.

[0055] Optionally, the initial print image can be the image to be printed on the PCB board as determined by customer requirements. However, the initial print image is generally difficult to locate. Therefore, when generating the target print image that matches the first PCB board, an auxiliary detection graphic can be added to the initial print image, and the target print image that matches the first PCB board can be printed onto the first PCB board to determine whether there are any printing errors.

[0056] Optionally, the multiple target positions in the initial print image that match each target point on the PCB board can refer to the positions in the initial print image that should be printed to the center of the target point on the PCB board under precise alignment conditions.

[0057] The auxiliary detection graphic may include any of the following graphics:

[0058] A rectangle with a preset side length, wherein the center of the rectangle is a white circle with a diameter larger than the diameter of the target point, and the rest of the rectangle is filled with a first color; and

[0059] A first circle with a preset radius, wherein the center of the first circle is a white circle with a diameter larger than the diameter of the target point, and the other parts of the first circle are filled with a second color.

[0060] Figure 3 is a schematic diagram of one optional auxiliary detection pattern, showing two possible shapes. As shown in Figure 3, in the left-hand pattern, the outer black rectangle is a rectangle with a preset side length, and the center of the rectangle is a white circle. The parts of the rectangle other than the white circle can be filled with any color without restriction. The dashed circle within the white circle represents the target point on the PCB board, but this dashed circle does not exist in the auxiliary detection pattern; it is only used to illustrate the positional relationship between the auxiliary detection pattern and the target point. In the right-hand pattern, the outer black circle is a first circle with a preset radius, and the center of the first circle is a white circle. The parts of the first circle other than the white circle can be filled with any color without restriction. The dashed circle within the white circle represents the target point on the PCB board, but this dashed circle does not exist in the auxiliary detection pattern; it is only used to illustrate the positional relationship between the auxiliary detection pattern and the target point.

[0061] S220. Obtain the initial inkjet image of the remaining PCB board as the target inkjet image to be matched with the remaining PCB board respectively.

[0062] Understandably, if the initial inkjet image of the remaining PCB boards is the same as the initial inkjet image of the first PCB board, the target inkjet image of the first PCB board can be used directly for inkjet printing. If they are different, the initial inkjet image that matches each PCB board can be obtained separately as the target inkjet image.

[0063] S230. When the current PCB board is detected as the first PCB board, the actual coordinates of each target point on the first PCB board are obtained by taking pictures with a camera.

[0064] S240. Based on the coordinates of each standard target point on the PCB board and the actual coordinates of each target point on the first PCB board, calculate the first correction parameter that matches the first PCB board.

[0065] The correction parameters include at least the rotation angle, the translation amount in the X-axis and Y-axis directions in the Cartesian coordinate system of the printing equipment, and the expansion / contraction value.

[0066] In an optional example, t can be used to represent the translation amount and s can be used to represent the expansion / contraction value. That is, the correction parameters include the rotation angle rad, the translation amount tx in the X-axis direction, the translation amount ty in the Y-axis direction, the expansion / contraction value sx in the X-axis direction, and the expansion / contraction value sy in the Y-axis direction.

[0067] S250. According to the first correction parameter, adjust the relevant motion axis of the printing equipment and the target printing image that matches the first PCB board, and print the first PCB board after the adjustment is completed.

[0068] Optionally, the rotation angle and the translation amount in the X-axis and Y-axis directions of the plane rectangular coordinate system of the printing equipment can be used to correct the motion axis of the printing equipment, and the expansion and contraction values ​​in the X-axis and Y-axis directions of the plane rectangular coordinate system of the printing equipment can be used to correct the target printed image.

[0069] S260. Identify each auxiliary detection pattern in the first PCB board after inkjet printing, and obtain the coordinates of the center point of the white circle in each auxiliary detection pattern.

[0070] It is understandable that the coordinates of the center point of the white circle in the auxiliary detection graphic are also the coordinates of the center point of the auxiliary detection graphic.

[0071] S270. Based on the actual coordinates of each target point on the first PCB board, determine the center point coordinates of each target point on the first PCB board.

[0072] S280. The compensation parameters are calculated based on the coordinates of the center point of the white circle in each auxiliary detection pattern and the coordinates of the center point of each target point corresponding to each auxiliary detection pattern.

[0073] The compensation parameters include at least the rotation angle, the translation amount in the X-axis and Y-axis directions in the Cartesian coordinate system of the printing equipment, and the expansion / contraction value.

[0074] Optionally, the compensation value in the compensation parameter can be the same type of data as the correction value in the correction parameter.

[0075] S290. Whenever the unprinted target PCB board is replaced in the printing equipment, the actual coordinates of each target point on the target PCB board are obtained by taking pictures with a camera. Based on the coordinates of each standard target point on the PCB board and the actual coordinates of each target point on the target PCB board, the second correction parameter matching the target PCB board is calculated.

[0076] S2100. Add the second correction parameter that matches the target PCB board to the compensation parameter to obtain the target correction parameter that matches the target PCB board.

[0077] S2110. According to the target correction parameters, adjust the relevant motion axes of the printing equipment and the target printing image that matches the target PCB board, and after the adjustment is completed, print on the target PCB board until all the remaining PCB boards are printed.

[0078] The technical solution of this invention, by determining compensation parameters based on the printing result of the first PCB board and using the correction parameters of subsequent PCB boards and the compensation parameters determined based on the printing result of the first PCB board to jointly correct the printing accuracy of subsequent PCB boards, can overcome the problem of reduced accuracy caused by changes in machine status or external conditions. At the same time, it solves the problem of large errors in manually modifying compensation values, and can effectively improve the printing accuracy of PCB boards.

[0079] Example 3

[0080] Figure 4 is a schematic diagram of a PCB printing position correction device provided in Embodiment 3 of the present invention. As shown in Figure 4, the device includes: a target printing image acquisition module 310, a first PCB printing module 320, a compensation parameter calculation module 330, a target correction parameter acquisition module 340, and a continuous printing module 350.

[0081] The target inkjet image acquisition module 310 is used to acquire multiple target inkjet images that are respectively matched with multiple PCB boards.

[0082] The first PCB board printing module 320 is used to calculate the first correction parameters that match the first PCB board, and to print the first PCB board according to the first correction parameters and the target printing image that matches the first PCB board.

[0083] The compensation parameter calculation module 330 is used to calculate the compensation parameters based on the first PCB board after printing and the actual coordinates of each target point on the first PCB board.

[0084] The target correction parameter acquisition module 340 is used to calculate the second correction parameter that matches each of the remaining PCB boards when printing on each of the remaining PCB boards, and to calculate the target correction parameter that matches each of the remaining PCB boards based on the second correction parameter and the compensation parameter.

[0085] The continuous printing module 350 is used to sequentially print each remaining PCB board according to the target correction parameters and target printing images matched with each remaining PCB board.

[0086] The technical solution of this invention, by determining compensation parameters based on the printing result of the first PCB board and using the correction parameters of subsequent PCB boards and the compensation parameters determined based on the printing result of the first PCB board to jointly correct the printing accuracy of subsequent PCB boards, can overcome the problem of reduced accuracy caused by changes in machine status or external conditions. At the same time, it solves the problem of large errors in manually modifying compensation values, and can effectively improve the printing accuracy of PCB boards.

[0087] Based on the above embodiments, the target inkjet image acquisition module 310 can be specifically used for:

[0088] Acquire multiple initial inkjet images that match multiple PCB boards respectively, and determine multiple target positions that match each target point in the PCB board in each initial inkjet image;

[0089] In each initial inkjet image, auxiliary detection graphics are added centered on each target location to generate multiple target inkjet images that match multiple PCB boards respectively.

[0090] Based on the above embodiments, the first PCB board printing module 320 can be specifically used for:

[0091] When the current PCB board is detected as the first PCB board, the actual coordinates of each target point on the first PCB board are obtained by taking pictures with a camera.

[0092] Based on the coordinates of each standard target point on the PCB board and the actual coordinates of each target point on the first PCB board, the first correction parameter matching the first PCB board is calculated.

[0093] Among them, the correction parameters include at least the rotation angle, the translation amount in the X-axis and Y-axis directions in the Cartesian coordinate system of the printing equipment, and the expansion and contraction value;

[0094] Based on the first correction parameter, the relevant motion axes of the printing equipment are adjusted, and after the adjustment is completed, the first PCB board is printed according to the target printing image that matches the first PCB board.

[0095] Based on the above embodiments, the auxiliary detection graphic may include any of the following graphics:

[0096] A rectangle with a preset side length, wherein the center of the rectangle is a white circle with a diameter larger than the diameter of the target point, and the rest of the rectangle is filled with a first color; and

[0097] A first circle with a preset radius, wherein the center of the first circle is a white circle with a diameter larger than the diameter of the target point, and the other parts of the first circle are filled with a second color.

[0098] Based on the above embodiments, the compensation parameter calculation module 330 can be specifically used for:

[0099] Identify each auxiliary detection pattern in the first PCB board after inkjet printing, and obtain the coordinates of the center point of the white circle in each auxiliary detection pattern;

[0100] Based on the actual coordinates of each target point on the first PCB board, determine the coordinates of the center point of each target point on the first PCB board.

[0101] The compensation parameters are calculated based on the coordinates of the center point of the white circle in each auxiliary detection pattern and the coordinates of the center point of each target point corresponding to each auxiliary detection pattern.

[0102] The compensation parameters include at least the rotation angle, the translation amount in the X-axis and Y-axis directions in the Cartesian coordinate system of the printing equipment, and the expansion / contraction value.

[0103] Based on the above embodiments, the target correction parameter acquisition module 340 can be specifically used for:

[0104] Whenever the unprinted target PCB board is replaced in the inkjet printing equipment, the actual coordinates of each target point on the target PCB board are obtained by taking pictures with a camera. Based on the coordinates of each standard target point on the PCB board and the actual coordinates of each target point on the target PCB board, the second correction parameter matching the target PCB board is calculated.

[0105] The second correction parameter, which matches the target PCB board, is added to the compensation parameter to obtain the target correction parameter that matches the target PCB board.

[0106] Based on the above embodiments, the continuous inkjet printing module 350 can be specifically used for:

[0107] Based on the target correction parameters, the relevant motion axes of the printing equipment are adjusted. After the adjustment is completed, the target PCB board is printed according to the target printing image that matches the target PCB board until all the remaining PCB boards are printed.

[0108] The PCB printing position correction device provided in this embodiment of the invention can execute the PCB printing position correction method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method.

[0109] Example 4

[0110] Figure 5 illustrates a schematic diagram of an electronic device 10 that can be used to implement embodiments of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0111] As shown in Figure 5, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer programs stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0112] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0113] Processor 11 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, central processing unit (CPU), graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the PCB printing position correction method as described in the embodiments of the present invention. That is:

[0114] Acquire multiple target inkjet images that are matched with multiple PCB boards respectively;

[0115] The first correction parameter matching the first PCB board is calculated, and the first PCB board is printed according to the first correction parameter and the target inkjet image matching the first PCB board.

[0116] The compensation parameters are calculated based on the first PCB board after printing and the actual coordinates of each target point on the first PCB board.

[0117] When printing on each of the remaining PCB boards, a second correction parameter matching each of the remaining PCB boards is calculated, and a target correction parameter matching each of the remaining PCB boards is calculated based on the second correction parameter and the compensation parameter.

[0118] Based on the target correction parameters and target printing images that are matched with each of the remaining PCB boards, the remaining PCB boards are printed sequentially.

[0119] In some embodiments, the PCB printing position correction method can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or mounted on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the PCB printing position correction method described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform the PCB printing position correction method by any other suitable means (e.g., by means of firmware).

[0120] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0121] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0122] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0123] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0124] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0125] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0126] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0127] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A method for correcting the printing position on a PCB board, characterized in that, include: Multiple target inkjet images matched with multiple PCB boards are acquired. The target inkjet image of the first PCB board is generated by adding auxiliary detection graphics to the positions corresponding to each target point in the initial inkjet image of the first PCB board. A first correction parameter matching the first PCB board is calculated, and the first PCB board is inkjet-printed based on the first correction parameter and the target inkjet image matched with the first PCB board. Compensation parameters are calculated based on the inkjet-printed first PCB board and the actual coordinates of each target point on the first PCB board. When inkjet-printing each of the remaining PCB boards, a second correction parameter matching each of the remaining PCB boards is calculated, and... Based on the second correction parameter and the compensation parameter, the target correction parameter matching each of the remaining PCB boards is calculated; based on the target correction parameter matching each of the remaining PCB boards and the target inkjet image, each of the remaining PCB boards is sequentially inkjet printed; wherein, the auxiliary detection pattern includes any of the following patterns: a rectangle with a preset side length, wherein the center of the rectangle is a white circle and the diameter of the white circle is larger than the diameter of the target point, and the other part of the rectangle is filled with a first color; and a first circle with a preset radius, wherein the center of the first circle is a white circle and the diameter of the white circle is larger than the diameter of the target point, and the other part of the first circle is filled with a second color.

2. The method according to claim 1, characterized in that, The process of acquiring multiple target inkjet images that match multiple PCB boards includes: acquiring an initial inkjet image of the first PCB board; determining multiple target positions that match each target point on the PCB board in the initial inkjet image of the first PCB board; adding auxiliary detection graphics centered on each target position to generate a target inkjet image that matches the first PCB board; and acquiring initial inkjet images of the remaining PCB boards as target inkjet images that match the remaining PCB boards.

3. The method according to claim 1, characterized in that, The process involves calculating a first correction parameter that matches the first PCB board, and then printing the first PCB board based on the first correction parameter and the target inkjet image that matches the first PCB board. This includes: when the current PCB board is detected as the first PCB board, using a camera to capture the actual coordinates of each target point on the first PCB board; calculating the first correction parameter that matches the first PCB board based on the coordinates of each standard target point on the PCB board and the actual coordinates of each target point on the first PCB board; wherein the correction parameter includes at least the rotation angle, the translation amount in the X-axis and Y-axis directions in the Cartesian coordinate system of the inkjet printing equipment, and the expansion / contraction value; adjusting the relevant motion axes of the inkjet printing equipment and the target inkjet image that matches the first PCB board based on the first correction parameter, and then printing the first PCB board after the adjustment is completed.

4. The method according to claim 2, characterized in that, Based on the first PCB board after printing and the actual coordinates of each target point on the first PCB board, compensation parameters are calculated, including: identifying each auxiliary detection pattern in the first PCB board after printing and obtaining the coordinates of the center point of the white circle in each auxiliary detection pattern; determining the coordinates of the center point of each target point on the first PCB board based on the actual coordinates of each target point; calculating compensation parameters based on the coordinates of the center point of the white circle in each auxiliary detection pattern and the coordinates of the center point of each target point corresponding to each auxiliary detection pattern; wherein, the compensation parameters include at least the rotation angle, the translation amount in the X-axis direction and Y-axis direction in the Cartesian coordinate system of the printing equipment, and the expansion / contraction value.

5. The method according to any one of claims 1-4, characterized in that, When printing on each remaining PCB board, a second correction parameter matching each remaining PCB board is calculated. Based on the second correction parameter and the compensation parameter, a target correction parameter matching each remaining PCB board is calculated. This includes: whenever the unprinted target PCB board is replaced in the printing equipment, the actual coordinates of each target point on the target PCB board are obtained by taking a picture with a camera. Based on the coordinates of each standard target point on the PCB board and the actual coordinates of each target point on the target PCB board, the second correction parameter matching the target PCB board is calculated. The second correction parameter matching the target PCB board is added to the compensation parameter to obtain the target correction parameter matching the target PCB board.

6. The method according to claim 5, characterized in that, Based on the target correction parameters and target printing images matched with each of the remaining PCB boards, each remaining PCB board is printed sequentially. This includes: adjusting the relevant motion axes of the printing equipment and the target printing images matched with the target PCB boards according to the target correction parameters, and printing the target PCB boards after the adjustment is completed, until all remaining PCB boards are printed.

7. A printing position correction device for a PCB board, characterized in that, include: The target printing image acquisition module is used to acquire multiple target printing images that match multiple PCB boards respectively. The target printing image of the first PCB board is generated by adding auxiliary detection graphics to the initial printing image of the first PCB board at positions corresponding to each target point. The first PCB board printing module is used to calculate the first correction parameter matching the first PCB board and print the first PCB board based on the first correction parameter and the target printing image matching the first PCB board. The compensation parameter calculation module is used to calculate the compensation parameter based on the printed first PCB board and the actual coordinates of each target point on the first PCB board. The target correction parameter acquisition module is used to calculate the compensation parameter when printing each of the remaining PCB boards. The system uses a second correction parameter matched to each of the remaining PCB boards, and calculates the target correction parameter matched to each of the remaining PCB boards based on the second correction parameter and the compensation parameter. A continuous printing module is used to sequentially print on each of the remaining PCB boards according to the target correction parameter matched to each of the remaining PCB boards and the target printing image. The auxiliary detection graphic includes any of the following: a rectangle with a preset side length, where the center of the rectangle is a white circle with a diameter larger than the target diameter, and the other parts of the rectangle are filled with a first color; and a first circle with a preset radius, where the center of the first circle is a white circle with a diameter larger than the target diameter, and the other parts of the first circle are filled with a second color.

8. An electronic device, characterized in that, The electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the inkjet printing position correction method for a PCB board according to any one of claims 1-6 of the present invention.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the inkjet printing position correction method for the PCB board according to any one of claims 1-6.

Citation Information

Patent Citations

  • System and method for missing inkjet compensation in a multi-level inkjet printer

    CN107150503A

  • Single-workbench ink jet machine

    CN110202953A