An automatic parallel alignment system and method for balancing the coupling between an optical module lens and a PCB.

An automatic parallel adjustment system consisting of an angle displacement stage, a lens clamping mechanism, a light source, and an image sensor uses machine learning algorithms to calculate image differences, solving the problem of cumbersome debugging of traditional optical module lenses and PCB coupling equipment, and achieving efficient automatic angle adjustment.

CN117111232BActive Publication Date: 2026-06-30武汉钧恒科技有限公司

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
武汉钧恒科技有限公司
Filing Date
2023-09-15
Publication Date
2026-06-30

Smart Images

  • Figure CN117111232B_ABST
    Figure CN117111232B_ABST
Patent Text Reader

Abstract

This invention discloses an automatic parallel adjustment system and method for balancing the coupling of an optical module lens and a PCB. The automatic parallel adjustment system includes an angle displacement stage, a lens clamping mechanism, a light source, an image sensor, an image acquisition module, and a processing module. The angle displacement stage adjusts the angle of the PCB board, the lens clamping mechanism clamps the lens, the light source emits target light rays, which illuminate the PCB board after passing through the lens, the image sensor receives light reflected from the PCB and transmitted through the lens to form image data, the image acquisition module acquires the image data output by the image sensor and transmits it to the processing module, the processing module receives the acquired image, calculates the difference between the acquired image and a reference image, and controls the angle displacement stage to rotate to the target position based on the difference. This invention improves the debugging efficiency of the equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of coupling technology of optical devices, and specifically relates to an automatic parallel adjustment system and method for balancing the coupling between an optical module lens and a PCB. Background Technology

[0002] Traditional coupling devices for optical module lenses and PCBs include a lens clamping mechanism for holding the lens and a support platform for supporting the PCB. After installation, the device needs to be debugged. For each type of optical module, before coupling the lens and PCB using this coupling device, the relative angle between the adsorption surface of the lens clamping mechanism and the PCB support surface of the support platform needs to be adjusted to meet the requirements, such as adjusting the adsorption surface of the lens clamping mechanism to be relatively parallel to the PCB support surface of the support platform. The traditional solution is to debug manually, which is cumbersome and has low debugging efficiency. Summary of the Invention

[0003] The purpose of this invention is to overcome at least one defect in the prior art and to provide an automatic parallel adjustment system and method for balancing the coupling of optical module lenses and PCBs, which can improve the debugging efficiency of the equipment.

[0004] The technical solution of this invention is implemented as follows: This invention discloses an automatic parallel adjustment system for balancing the coupling of an optical module lens and a PCB, comprising:

[0005] An angle displacement stage, used to adjust the angle of the PCB board;

[0006] A lens clamping mechanism, wherein the lens clamping mechanism is used to clamp a lens;

[0007] A light source, which emits target light rays, which are then projected onto the PCB board after passing through a lens;

[0008] An image sensor is used to receive light reflected from the PCB and transmitted through a lens to form image data;

[0009] An image acquisition module is used to acquire image data output by an image sensor and transmit it to a processing module;

[0010] The processing module receives the acquired image, calculates the difference between the acquired image and the reference image, and controls the angle displacement stage based on the difference.

[0011] Furthermore, the processing module is used to calculate the image difference between the acquired image and the reference image, obtain the feature information of the difference image, calculate the angles θX and θY that need to be adjusted based on the feature information of the difference image, adjust the angle displacement stage according to the calculated angles θX and θY, and control the angle displacement stage to rotate according to the calculated angles θX and θY, so that the PCB board rotates to the target position.

[0012] Furthermore, the angles θX and θY that need to be adjusted are calculated based on the feature information of the difference image, specifically including: using machine learning algorithms to construct a relationship model between the image and the angle;

[0013] The acquired image is input into the trained image-angle relationship model, which outputs the angles θX and θY that need to be adjusted.

[0014] Furthermore, the angle displacement stage includes a first angle displacement stage for driving the PCB board to rotate around a first axis and a second angle displacement stage for driving the PCB board to rotate around a second axis. The first axis is parallel to a first direction, the second axis is parallel to a second direction, the first direction is perpendicular to the second direction, the first angle displacement stage is connected to the second angle displacement stage, and the PCB board is supported on the first angle displacement stage or the second angle displacement stage.

[0015] Furthermore, the lens clamping mechanism includes a lens clamping head, which has a through hole for the laser to pass through. The light source and image sensor are mounted at one end of the through hole, and the lens is clamped at the other end of the through hole.

[0016] This invention also discloses an automatic parallel alignment method for coupling an optical module lens and a PCB, comprising the following steps:

[0017] The lens is clamped onto the lens clamping mechanism, and the PCB board is positioned on the angle displacement stage.

[0018] The light source is controlled to emit target light rays, which then shine onto the PCB board after passing through a lens.

[0019] The image sensor receives light reflected from the PCB board and transmitted through a lens.

[0020] The image data output by the image sensor is acquired to obtain the acquired image;

[0021] The difference between the acquired image and the reference image is calculated, and the angular displacement stage is controlled to rotate the PCB board based on the difference.

[0022] Furthermore, the difference between the acquired image and the reference image is calculated, and the PCB board is rotated by controlling the angle displacement stage according to the difference. Specifically, this includes: calculating the image difference between the acquired image and the reference image to obtain the feature information of the difference image; calculating the angles θX and θY that need to be adjusted according to the feature information of the difference image; adjusting the angle displacement stage according to the calculated angles θX and θY; and controlling the angle displacement stage to rotate to the target position according to the calculated angles θX and θY.

[0023] Furthermore, the angles θX and θY that need to be adjusted are calculated based on the feature information of the difference image, specifically including: using machine learning algorithms to construct a relationship model between the image and the angle;

[0024] The acquired image is input into the trained image-angle relationship model, which outputs the angles θX and θY that need to be adjusted.

[0025] Furthermore, the image and angle relationship model receives the acquired image, calculates the image difference between the acquired image and the reference image to obtain the difference image, and extracts feature information from the difference image.

[0026] Furthermore, the machine learning algorithm is a support vector machine algorithm;

[0027] Or / and, the feature information of the difference image includes at least the histogram of the difference image.

[0028] Furthermore, the method for obtaining the reference image specifically includes:

[0029] The light source is controlled to emit target light rays, which then shine onto the standard components on the PCB board after passing through the lens standard component.

[0030] The image sensor receives light reflected from standard components on the PCB board and transmitted through a lens standard component to form image data.

[0031] The system acquires image data output from the image sensor and determines whether the acquired image data meets the requirements. If it does not meet the requirements, the system adjusts the relative angle between the PCB board and the lens until the image sensor outputs image data that meets the requirements, which is the reference image.

[0032] The present invention has at least the following beneficial effects:

[0033] This invention uses an optical fiber to emit laser light and an image sensor to collect the light reflected back from the PCB, obtaining the current acquired image. It then calculates the difference between the acquired image and a reference image, determining the image difference value. A histogram of the difference image is calculated, and the required adjustment angles θX and θY are determined based on this histogram. The angle displacement stage is then adjusted according to these calculated angles θX and θY, allowing the relative angle between the lens and the PCB to meet the desired requirements. For example, the relative parallelism between the lens clamping mechanism's adsorption surface and the PCB bearing surface of the support stage can be adjusted. Using this invention improves the equipment's debugging efficiency. Attached Figure Description

[0034] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the 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.

[0035] Figure 1 A schematic diagram of an automatic parallel adjustment system for balancing the coupling of an optical module lens and a PCB provided in an embodiment of the present invention;

[0036] Figure 2 A flowchart of an automatic parallel adjustment method for balancing the coupling between an optical module lens and a PCB, provided in an embodiment of the present invention.

[0037] In the attached diagram, 1 is the first angular displacement stage, 2 is the second angular displacement stage, 3 is the lens clamping mechanism, 4 is the image sensor, 5 is the lens, and 6 is the PCB board. Detailed Implementation

[0038] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. 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 are within the scope of protection of the present invention.

[0039] In the description of this invention, it should be understood that the terms "center", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention.

[0040] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature; in the description of this invention, unless otherwise stated, "a plurality of" or "several" means two or more.

[0041] Example 1

[0042] See Figure 1 This invention provides an automatic parallel adjustment system for balancing the coupling of an optical module lens and a PCB, comprising:

[0043] An angle displacement stage, which is used to support and adjust the angle of PCB board 6;

[0044] Lens clamping mechanism 3, which is used to clamp lens 5;

[0045] A light source, which emits target light rays, which are then projected onto the PCB board after passing through a lens;

[0046] Image sensor 4, which is used to receive light reflected from the PCB and transmitted through a lens to form image data;

[0047] An image acquisition module is used to acquire image data output by an image sensor and transmit it to a processing module;

[0048] The processing module receives the acquired image, calculates the difference between the acquired image and the reference image, and controls the angle displacement stage based on the difference to ensure that the relative angle between the lens and the PCB meets the requirements.

[0049] In some embodiments, the processing module is used to calculate the image difference between the acquired image and the reference image, obtain the feature information of the difference image, calculate the angles θX and θY that need to be adjusted based on the feature information of the difference image, adjust the angle displacement stage according to the calculated angles θX and θY, and control the angle displacement stage to rotate according to the calculated angles θX and θY, so that the PCB board rotates to the target position.

[0050] The target position is set manually according to needs. When the difference between the acquired image and the reference image is minimal, the PCB board is considered to have reached the target position.

[0051] In some embodiments, the processing module is used to input the calculated angles θX and θY into the motion control card, and control the angle displacement stage to rotate according to the calculated angles θX and θY through the motion control card.

[0052] In some embodiments, the angles θX and θY that need to be adjusted are calculated based on the feature information of the difference image, specifically including: constructing a relationship model between the image and the angle using a machine learning algorithm;

[0053] Input the acquired image or the difference image between the acquired image and the reference image into the trained image and angle relationship model. The image and angle relationship model outputs the angles θX and θY that need to be adjusted.

[0054] In some embodiments, the image-angle relationship model is used to receive the acquired image, calculate the image difference between the acquired image and the reference image to obtain the difference image, and extract feature information from the difference image.

[0055] In some embodiments, the image-angle relationship model is used to receive the difference image between the acquired image and the reference image, and to extract feature information from the difference image.

[0056] In some embodiments, the feature information includes at least a histogram of the difference image.

[0057] Furthermore, the machine learning algorithm is a support vector machine algorithm.

[0058] In some embodiments, the image acquisition module employs an image acquisition device.

[0059] In some embodiments, the processing module may be, but is not limited to, a computer or PC.

[0060] In some embodiments, the light source may be an 850Nm laser light source for emitting laser light.

[0061] In some embodiments, image sensor 4 is a fiber optic image sensor.

[0062] In some embodiments, the angular displacement stage includes a first angular displacement stage 1 for driving the PCB board to rotate around a first axis (such as the X-axis) and a second angular displacement stage 2 for driving the PCB board to rotate around a second axis (such as the Y-axis). The first axis is parallel to a first direction, the second axis is parallel to a second direction, the first direction is perpendicular to the second direction, the first angular displacement stage 1 and the second angular displacement stage 2 are connected, and the PCB board is carried on the first angular displacement stage 1 or the second angular displacement stage 2.

[0063] In some embodiments, the lens clamping mechanism includes a lens clamping head having a through-hole for laser light to pass through. The light source and image sensor are mounted at one end of the through-hole, and the lens is clamped at the other end of the through-hole. The lens clamping head can clamp the lens by vacuum adsorption, such as by adsorbing the lens onto the adsorption surface of the lens clamping head.

[0064] Example 2

[0065] This invention also discloses an automatic parallel alignment method for coupling an optical module lens and a PCB, comprising the following steps:

[0066] Obtain a reference image;

[0067] The lens is clamped onto the lens clamping mechanism, and the PCB board is positioned on the angle displacement stage, such as on the PCB bearing surface of the bearing stage.

[0068] The light source is controlled to emit target light rays, which then shine onto the PCB board after passing through a lens.

[0069] Image data is generated by receiving light reflected from the PCB board and transmitted through a lens using an image sensor.

[0070] The image data output by the image sensor is acquired to obtain the acquired image;

[0071] The difference between the acquired image and the reference image is calculated, and the angular displacement stage is controlled to rotate the PCB board based on the difference.

[0072] In some embodiments, the difference between the acquired image and the reference image is calculated, and the PCB board is rotated by controlling the angle displacement stage according to the difference. Specifically, this includes: calculating the image difference between the acquired image and the reference image, obtaining the feature information of the difference image, calculating the angles θX and θY that need to be adjusted according to the feature information of the difference image, adjusting the angle displacement stage according to the calculated angles θX and θY, and controlling the angle displacement stage to rotate to the target position according to the calculated angles θX and θY.

[0073] The target position is set manually according to needs. When the difference between the acquired image and the reference image is minimal, the PCB board is considered to have reached the target position.

[0074] In some embodiments, after calculating the angles θX and θY, the calculated angles θX and θY are input into the motion control card, and the motion control card controls the angle displacement stage to rotate to the target position according to the calculated angles θX and θY.

[0075] In some embodiments, the angles θX and θY that need to be adjusted are calculated based on the feature information of the difference image, specifically including: constructing a relationship model between the image and the angle using a machine learning algorithm;

[0076] Training a model of the relationship between images and angles;

[0077] Input the acquired image or the difference image between the acquired image and the reference image into the trained image and angle relationship model. The image and angle relationship model outputs the angles θX and θY that need to be adjusted.

[0078] In some embodiments, the image and angle relationship model receives the acquired image, calculates the image difference between the acquired image and the reference image to obtain the difference image, and extracts feature information from the difference image.

[0079] In some embodiments, the image and angle relationship model receives a difference image between the acquired image and a reference image, and extracts feature information from the difference image.

[0080] In some embodiments, the feature information includes at least a histogram of the difference image.

[0081] In some embodiments, the present invention can adjust the angle displacement stage using a PID algorithm. When the histogram of the image difference between the acquired image and the reference image is minimized, it is considered that the angle displacement stage or PCB board has reached the target position.

[0082] In some embodiments, the machine learning algorithm employs, but is not limited to, the support vector machine algorithm.

[0083] In some embodiments, obtaining a reference image specifically includes: clamping a lens standard on a lens clamping mechanism, placing a PCB board standard below the lens standard, and positioning the PCB board standard on an angular displacement stage, if possible but not limited to.

[0084] The light source is controlled to emit target light rays, which then shine onto the standard components on the PCB board after passing through the lens standard component.

[0085] The image sensor receives light reflected from standard components on the PCB board and transmitted through a lens standard component to form image data.

[0086] The system acquires image data output from the image sensor and determines whether the acquired image data meets the requirements (the requirements can be set as needed, such as requiring the image sensor to output a uniform light spot or the image histogram value to be the maximum). If the requirements are not met, the system adjusts the relative angle between the PCB board and the lens until the image sensor outputs image data that meets the requirements, which is the reference image.

[0087] Lens standard parts and PCB board standard parts are selected according to process requirements. Preferably, PCB board standard parts are selected without electronic components to ensure image reference consistency.

[0088] The reference image is an image captured by an image sensor when the lens is parallel to the PCB, the target light emitted by the light source shines on the PCB after passing through the lens.

[0089] This invention can use an optical fiber to emit a laser to illuminate a lens and a PCB board, collect the light reflected back from the PCB, compare it with a reference light, calculate the difference between the collected image and the reference image, calculate the image difference between the two, calculate the histogram of the difference image, and digitally control the angles θX and θY based on the histogram of the difference image. This allows the relative angle between the lens and the PCB to meet the required requirements. Using the solution of this invention can improve the debugging efficiency of the equipment.

[0090] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. An automatic parallel adjustment system for balancing the coupling of an optical module lens and a PCB, characterized in that, include: An angle displacement stage, used to adjust the angle of the PCB board; A lens clamping mechanism, wherein the lens clamping mechanism is used to clamp a lens; A light source, which emits target light rays, which are then projected onto the PCB board after passing through a lens; An image sensor is used to receive light reflected from the PCB and transmitted through a lens to form image data; An image acquisition module is used to acquire image data output by an image sensor and transmit it to a processing module; The processing module is used to receive the acquired image, calculate the difference between the acquired image and the reference image, and control the angle displacement stage according to the difference; The calculation of the difference between the acquired image and the reference image, and the control of the angle displacement stage based on the difference, specifically includes: calculating the image difference between the acquired image and the reference image, obtaining the feature information of the difference image, calculating the angles θX and θY that need to be adjusted based on the feature information of the difference image, adjusting the angle displacement stage based on the calculated angles θX and θY, and controlling the angle displacement stage to rotate according to the calculated angles θX and θY, so that the PCB board rotates to the target position; The feature information of the difference image includes at least the histogram of the difference image.

2. The optical module lens and PCB coupling balance automatic leveling parallel system of claim 1, wherein: The angles θX and θY that need to be adjusted are calculated based on the feature information of the difference image. Specifically, this includes: using machine learning algorithms to construct a relationship model between the image and the angle. The acquired image is input into the trained image-angle relationship model, which outputs the angles θX and θY that need to be adjusted.

3. The optical module lens and PCB coupling balance automatic leveling parallel system of claim 1, wherein: The angular displacement stage includes a first angular displacement stage for driving the PCB board to rotate around a first axis and a second angular displacement stage for driving the PCB board to rotate around a second axis. The first axis is parallel to a first direction, the second axis is parallel to a second direction, the first direction is perpendicular to the second direction, the first angular displacement stage and the second angular displacement stage are connected, and the PCB board is supported on the first angular displacement stage or the second angular displacement stage.

4. The automatic parallel adjustment system for balancing the coupling of the optical module lens and PCB as described in claim 1, characterized in that: The lens clamping mechanism includes a lens clamping head, which has a through hole for laser to pass through. The light source and image sensor are mounted at one end of the through hole, and the lens is clamped at the other end of the through hole.

5. An automatic parallel alignment method for coupling an optical module lens and a PCB, characterized in that: Includes the following steps: The lens is clamped onto the lens clamping mechanism, and the PCB board is positioned on the angle displacement stage. The light source is controlled to emit target light rays, which then shine onto the PCB board after passing through a lens. The image sensor receives light reflected from the PCB board and transmitted through a lens. The image data output by the image sensor is acquired to obtain the acquired image; The process of calculating the difference between the acquired image and the reference image, and controlling the angle displacement stage to rotate the PCB board based on the difference, specifically includes: calculating the image difference between the acquired image and the reference image, obtaining the feature information of the difference image, calculating the angles θX and θY that need to be adjusted based on the feature information of the difference image, adjusting the angle displacement stage based on the calculated angles θX and θY, and controlling the angle displacement stage to rotate to the target position based on the calculated angles θX and θY. The feature information of the difference image includes at least the histogram of the difference image.

6. The automatic parallel alignment method for coupling the optical module lens and PCB as described in claim 5, characterized in that: The angles θX and θY that need to be adjusted are calculated based on the feature information of the difference image. Specifically, this includes: using machine learning algorithms to construct a relationship model between the image and the angle. The acquired image is input into the trained image-angle relationship model, which outputs the angles θX and θY that need to be adjusted.

7. The automatic parallel alignment method for coupling the optical module lens and PCB as described in claim 6, characterized in that: The machine learning algorithm mentioned is the support vector machine algorithm.

8. The automatic parallel alignment method for coupling the optical module lens and PCB as described in claim 5, characterized in that: Methods for obtaining reference images include: The light source is controlled to emit target light rays, which then shine onto the standard components on the PCB board after passing through the lens standard component. The image sensor receives light reflected from standard components on the PCB board and transmitted through standard lens components to form image data. The system acquires image data output from the image sensor and determines whether the acquired image data meets the requirements. If it does not meet the requirements, the system adjusts the relative angle between the PCB board and the lens until the image sensor outputs image data that meets the requirements, which is the reference image.