An electronic camera with a heating module and its assembly method
By setting a distance measuring unit in the FPC installation slot and adjusting the lens module to align the FPC heating wire with the installation slot, the wire breakage caused by the FPC heating wire in the test is solved, and the test efficiency and product yield are improved.
Patent Information
- Application Number
- CN202411441470.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-15
- Publication Date
- 2025-06-03
- Estimated Expiration
- 2044-04-15
AI Technical Summary
In the production process of existing electronic rearview mirrors, the flexibility of the FPC heating wire causes it to be easily misaligned with the mounting groove of the fixture during the test, which may lead to wire breakage and product failure.
By setting a distance measuring unit in the FPC installation slot, the lens module is adjusted using the distance information of the distance measuring unit to align the FPC heating wire with the FPC installation slot, thereby avoiding the wire breakage.
Improves testing efficiency and product yield, ensures that the FPC heating wire is aligned with the installation slot, and avoids the risk of wire breakage.
Smart Images

Figure HDA0005086443850000011 
Figure HDA0005086443850000012 
Figure HDA0005086443850000021
Abstract
Description
[0001] This application is a divisional application of the application with the application number 202410453907.7, the application date of April 15, 2024, and the invention name "Electronic camera with heating module and its assembly method". Technical Field
[0002] The present invention relates to the field of electronic rearview mirrors, and specifically to an electronic camera with a heating module and its assembly method. Background Art
[0003] Currently, the production process of CMS modules (i.e., electronic rearview mirrors) in the market is as follows: First, the camera module needs to be assembled, and then a protective cover with a heating function is assembled outside. That is, a relatively large protective cover is added outside the lens to cover the lens, and then a heating device is installed inside the protective cover. The heating device generates heat to conduct heat to the lens to achieve the effect of raising the temperature of the lens and removing fog. The heating device will lead out an FPC heating wire, and finally the FPC heating wire with the heating device is inserted into the connector of the circuit board of the housing assembly to form an electrical connection between the heating device and the housing assembly, so as to control the heating device through the housing assembly.
[0004] In order to ensure product quality, the camera module and the housing assembly need to be tested separately, and the tested camera module and housing assembly are assembled together. During the testing process, the camera module needs to be placed on a fixture for testing. However, since the exposed FPC heating wire is flexible, even if the FPC heating wire is not aligned with the installation groove on the fixture, the camera module can still be placed in the installation groove, which will affect the testing and even cause the wires in the FPC heating wire to break, resulting in product failure.
[0005] In view of this, overcoming the deficiencies of this prior art product is an urgent problem to be solved in the technical field. Summary of the Invention
[0006] The main technical problem to be solved by the present invention is to provide an electronic camera with a heating module and its assembly method. The purpose is to assist in detection through a ranging unit to ensure that the FPC heating wire is aligned with the FPC installation groove, which can prevent the FPC heating wire from being clamped between the lens module and the main installation groove, avoid wire breakage, not only improve the testing efficiency, but also improve the product yield.
[0007] To solve the above technical problem, one technical solution adopted by the present invention is: to provide an assembly method for an electronic camera with a heating module, the electronic camera includes a housing assembly and a lens module, and the lens module leads out an FPC heating wire, including:
[0008] Place the lens fixture corresponding to the lens module on the first test position, and place the housing fixture corresponding to the housing assembly on the second test position. Among them, the lens fixture includes a main mounting groove and an FPC mounting groove extending from the main mounting groove. A first distance measuring unit and a second distance measuring unit are respectively arranged on both sides of the FPC mounting groove; the housing fixture includes a housing mounting groove;
[0009] Adjust the lens module according to the positional relationship between the FPC heating wire of the lens module and the FPC mounting groove, so that the FPC heating wire is preliminarily aligned with the FPC mounting groove;
[0010] Move the lens module downward along the FPC mounting groove, and obtain the first distance information of the first distance measuring unit and the second distance information of the second distance measuring unit;
[0011] If the difference between the first distance information and the second distance information is less than a set threshold, continue to move the lens module downward so that the lens module is placed in the main mounting groove and the FPC heating wire is placed in the FPC mounting groove;
[0012] If the difference between the first distance information and the second distance information is not less than the set threshold, stop moving the lens module downward, and rotate the lens module to the side with a larger distance until the difference between the first distance information measured by the first distance measuring unit and the second distance information measured by the second distance measuring unit is less than the set threshold, and then move the lens module downward again;
[0013] Place the housing assembly in the housing mounting groove;
[0014] Test the housing assembly and the lens module respectively, and assemble the tested housing assembly and lens module together.
[0015] Further, the adjusting the lens module according to the positional relationship between the FPC heating wire of the lens module and the FPC mounting groove so that the FPC heating wire is preliminarily aligned with the FPC mounting groove includes:
[0016] Obtain the first image information captured by the first image sensor for the lens fixture, and analyze the first image information to determine the spatial positions of the main mounting groove and the FPC mounting groove;
[0017] Plan the first movement trajectory of the lens module according to the spatial position of the main mounting groove, and place the lens module above the main mounting groove according to the first movement trajectory;
[0018] Rotate the lens module according to the spatial positions of the FPC heating wire and the FPC installation groove so that the FPC heating wire is aligned with the FPC installation groove.
[0019] A first laser lamp, a second image sensor, and a second laser lamp are provided in the main installation groove. The first laser lamp and the second laser lamp are used to emit light and form circular light spots of different colors on a plane perpendicular to the optical axis direction of the laser light. The image sensor is located between the laser lamps. Rotating the lens module according to the spatial positions of the FPC heating wire and the FPC installation groove so that the FPC heating wire is aligned with the FPC installation groove includes:
[0020] Obtain a second image returned by the second image sensor in the main installation groove;
[0021] Perform image segmentation on the second image to obtain a first light spot area formed by the first laser lamp on the second image, a second light spot area formed by the second laser lamp on the second image, and an FPC heating wire segmentation area on the second image;
[0022] Perform circle fitting on the first light spot area and the second light spot area respectively to obtain a first circular area and a first circle fitting error corresponding to the first light spot area, and a second circular area and a second circle fitting error corresponding to the second light spot area:
[0023] Determine whether both the first circle fitting error and the second circle fitting error satisfy the circular light spot condition;
[0024] If both the first circle fitting error and the second circle fitting error do not satisfy the circular light spot condition, it is determined that the lens module has a deviation in the vertical direction, and then obtain a first straight line formed by the two farthest points on the first light spot area;
[0025] Control the lens module to rotate within the vertical plane passing through the first straight line so that both the first light spot area and the second light spot area satisfy the circular light spot condition;
[0026] Control the lens module to rotate within the horizontal plane so that the FPC heating wire is aligned with the FPC installation groove.
[0027] Further, the first laser lamp, the second image sensor, the second laser lamp, and the FPC installation groove are arranged in sequence in a preset direction. The first laser lamp is used to emit light of a first color, and the second laser lamp is used to emit light of a second color. Controlling the lens module to rotate within the horizontal plane so that the FPC heating wire is aligned with the FPC installation groove includes:
[0028] When both the first light spot area and the second light spot area meet the circular light spot condition, obtain the relative position relationship among the centroid of the FPC heating wire segmentation area, the centroid of the first light spot area, and the centroid of the second light spot area;
[0029] Control the lens module to rotate in the horizontal plane so that the centroid of the first light spot area, the centroid of the second light spot area, and the centroid of the FPC heating wire segmentation area are arranged in a straight line in sequence, so that the FPC heating wire is aligned with the FPC installation groove.
[0030] Further, the housing assembly includes a housing and a circuit board. After placing the housing assembly in the housing installation groove, it further includes performing a dispensing operation on the circuit board. Specifically:
[0031] Obtain the original image information of the housing assembly, obtain the first dispensing position according to the original image information, and perform one-time dispensing at the first dispensing position; after one-time dispensing is completed, obtain the intermediate image information of the housing assembly again, and determine whether the flatness of the circuit board after one-time dispensing meets the requirements according to the original image information and the intermediate image information; if not, correct the previous dispensing operation according to the inclination direction of the circuit board so that the flatness of the circuit board meets the requirements.
[0032] Further, the correcting the previous dispensing operation according to the inclination direction of the circuit board so that the flatness of the circuit board meets the requirements includes:
[0033] If the glue dispensed in the previous time has not solidified, press down the tilted side according to a preset fine-tuning distance so that the flatness of the circuit board meets the requirements; if the glue dispensed in the previous time has solidified or partially solidified, first melt the solidified glue and then perform fine-tuning.
[0034] Further, the determining whether the flatness of the circuit board after one-time dispensing meets the requirements according to the original image information and the intermediate image information includes:
[0035] Extract the second circuit board border information of the circuit board and the second housing border information of the housing according to the intermediate image information. If the first housing border information is equal to the second housing border information, compare the first circuit board border information and the second circuit board border information. If they are equal, the flatness of the circuit board meets the requirements; if not, the flatness of the circuit board does not meet the requirements.
[0036] Further, the obtaining the original image information of the housing assembly, obtaining the first dispensing position according to the original image information, and performing one-time dispensing at the first dispensing position includes:
[0037] Obtain the original image information of the housing assembly, perform boundary division on the original image information, and extract the first circuit board border information of the circuit board and the first housing border information of the housing from the image information;
[0038] Perform object recognition on the original image information to obtain the first intersection point, the second intersection point, the third intersection point, and the fourth intersection point of the circuit board and the housing. Among them, the first intersection point and the third intersection point are diagonally distributed, and the second intersection point and the fourth intersection point are diagonally distributed; Apply glue near the first intersection point and near the third intersection point, and / or apply glue near the second intersection point and the fourth intersection point.
[0039] Furthermore, at least one ventilation hole is provided in the middle area of the FPC installation groove. Among them, the ventilation hole is arranged obliquely upward. During the process of placing the FPC heating wire in the FPC installation groove, blow air through the at least one ventilation hole to blow the FPC heating wire through the obliquely upward air flow, so as to prevent the FPC heating wire from bending into the FPC installation groove due to the weight of the solder pad.
[0040] Furthermore, the FPC heating wire is led out along the side wall of the lens module, and the FPC heating wire is symmetrically arranged with respect to the axis of the lens module.
[0041] To solve the above technical problems, another technical solution adopted by the present invention is: Provide an electronic camera with a heating module, the camera includes a housing assembly and a lens module, and assemble the housing assembly and the lens module together according to the described assembly method.
[0042] The beneficial effects of the present invention are: The present invention provides an electronic camera with a heating module and its assembly method. By setting a ranging unit in the FPC installation groove, determine whether the FPC heating wire is aligned with the FPC installation groove according to the distance information of the ranging unit. If the distance is about the same, it is basically aligned. If the distance difference is large, it is not aligned and fine adjustment is required. It can prevent the FPC heating wire from being clamped between the lens module and the main installation groove, avoid wire breakage, not only improve the test efficiency, but also improve the product yield. Description of the Drawings
[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required to be used in the embodiments of the present invention. Obviously, the following described drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0044] Figure 1 It is a schematic structural diagram of a lens module provided by an embodiment of the present invention;
[0045] Figure 2 It is a schematic flow chart of an assembly method of an electronic camera with a heating module provided by an embodiment of the present invention;
[0046] Figure 3 It is a schematic structural diagram of a lens fixture and a housing fixture provided by an embodiment of the present invention;
[0047] Figure 4 It is a schematic diagram when the first light spot area and the second light spot area on the second image captured by the second image sensor provided by an embodiment of the present invention do not meet the circular light spot condition;
[0048] Figure 5 It is a schematic diagram when the first light spot area and the second light spot area on the second image captured by the second image sensor provided by an embodiment of the present invention meet the circular light spot condition;
[0049] Figure 6 It is a schematic diagram when the centroid of the first light spot area, the centroid of the second light spot area, and the centroid of the FPC heating wire segmentation area on the second image captured by the second image sensor provided by an embodiment of the present invention are arranged in sequence on the same straight line;
[0050] Figure 7 It is a schematic ranging diagram provided by an embodiment of the present invention;
[0051] Figure 8 It is another schematic ranging diagram provided by an embodiment of the present invention;
[0052] Figure 9 It is a schematic structural diagram of the physical state of a heated lens provided by an embodiment of the present invention;
[0053] Figure 10 It is a schematic diagram of a housing assembly provided by an embodiment of the present invention;
[0054] Figure 11 It is a schematic diagram of a jig provided by an embodiment of the present invention;
[0055] Figure 12 It is a schematic diagram of a jaw provided by an embodiment of the present invention;
[0056] Figure 13 It is a schematic diagram of a jig set provided by the present invention;
[0057] Figure 14 It is a schematic diagram of a product positioning diagram during glue production provided by the present invention;
[0058] Figure 15 It is a schematic diagram of glue color extraction and width calculation provided by the present invention;
[0059] Figure 16 It is a schematic diagram of a laser rangefinder for testing the flatness of a circuit board provided by the present invention. Detailed implementation manners
[0060] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of the present invention.
[0061] In the description of the present invention, it should be understood that the orientation or positional relationship indicated by terms such as "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus cannot be understood as a limitation of the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more features. In the description of the present invention, "a plurality" means two or more, unless otherwise specifically defined.
[0062] In the present invention, the term "exemplary" is used to mean "serving as an example, illustration, or description". Any embodiment described as "exemplary" in the present invention is not necessarily to be construed as more preferred or more advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use the present invention. In the following description, details are set forth for the purpose of explanation. It should be understood that those skilled in the art can realize the present invention without using these specific details. In other instances, well-known structures and processes are not elaborated in detail to avoid obscuring the description of the present invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed in the present invention.
[0063] It should be noted that since the method of the embodiment of the present invention is executed in an electronic device, the processing objects of each electronic device exist in the form of data or information. For example, time is actually time information. It can be understood that if dimensions, quantities, positions, etc. are mentioned in the subsequent embodiments, they are all corresponding data existences for the electronic device to process, and specific details are not elaborated here.
[0064] In terms of its use, the CMS is an indirect vision device used in automobiles to replace traditional rearview mirrors. With the emergence of new technologies such as intelligent networking, autonomous driving, and ADAS, automobiles are developing rapidly towards the direction of electronization and intelligence. The automobile rearview mirror is also evolving. In the future, the rearview mirror will be allowed to be replaced, and the combination of a camera and a monitor will be used to solve the rear vision problem. Using a camera-monitor system (CMS) to replace the rearview mirror that is mandatorily installed by standards helps reduce the air resistance of the vehicle, minimize the blind spot of vision, and improve the vision performance in harsh environments. At the same time, the camera replacing the rearview mirror can integrate functions related to ADAS and intelligent networking, and display visual information in real time on an appropriate display inside the vehicle. The CMS includes a camera for capturing the field of view and sending signals to an electronic control unit (ECU) for further processing, and then uses a monitor to provide the field of view for the driver.
[0065] To meet the requirements of scenarios such as defogging, a heating device is currently added to the camera module. The FPC heating wire of the heating device is connected to the connector on the housing assembly to control the heating device.
[0066] However, the introduction of the FPC heating wire poses challenges to the automated testing of the lens module. The reason is that since the exposed FPC heating wire is flexible, even if the FPC heating wire is not aligned with the mounting groove on the fixture, the camera module can still be placed in the mounting groove, which will affect the testing and even cause the wire in the FPC heating wire to break, resulting in product failure.
[0067] To solve the aforementioned problems, this embodiment provides an assembly method for an electronic camera with a heating module, as Figure 1 and Figure 2 shown. The electronic camera includes a housing assembly and a lens module, and the FPC heating wire is led out from the lens module. Among them, the lens module is generally cylindrical as a whole, and the FPC heating wire is led out along the side wall of the lens module. The housing assembly includes a housing and a circuit board, and both the housing and the circuit board are rectangular or square. There is a clearance groove on the circuit board to enable the FPC heating wire to pass through the clearance groove and then be connected to the connector on the circuit board.
[0068] As Figure 3 shown, this step includes:
[0069] Step 10: Place the lens fixture corresponding to the lens module on the first test position, and place the housing fixture corresponding to the housing assembly on the second test position.
[0070] Wherein, the lens fixture includes a main mounting groove and an FPC mounting groove extending from the main mounting groove, and a first distance measuring unit and a second distance measuring unit are respectively arranged on two sides of the FPC mounting groove; the housing fixture includes a housing mounting groove.
[0071] In this embodiment, the lens module and the housing assembly are moved by a robotic arm.
[0072] Step 11: Adjust the lens module according to the positional relationship between the FPC heating wire of the lens module and the FPC mounting groove, so that the FPC heating wire is preliminarily aligned with the FPC mounting groove.
[0073] In the embodiment of the present invention, the adjusting the lens module according to the positional relationship between the FPC heating wire of the lens module and the FPC mounting groove, so that the FPC heating wire is preliminarily aligned with the FPC mounting groove includes:
[0074] (1) Obtain the first image information captured by the first image sensor for the lens fixture, and analyze the first image information to determine the spatial positions of the main mounting groove and the FPC mounting groove.
[0075] Among them, the position of the first image sensor can be set according to specific circumstances. The first image sensor is used to capture the lens fixture, so as to identify the spatial positions of the main mounting groove and the FPC mounting groove.
[0076] (2) Plan the first movement trajectory of the lens module according to the spatial position of the main mounting groove, and place the lens module above the main mounting groove according to the first movement trajectory.
[0077] (3) Rotate the lens module according to the spatial positions of the FPC heating wire and the FPC mounting groove, so that the FPC heating wire is aligned with the FPC mounting groove.
[0078] In order to avoid the deviation of the lens module in the vertical direction, resulting in the bottom of the lens module not being in the horizontal plane, causing the FPC heating wire not to be vertically downward, in the embodiment of the present invention, a first laser lamp, a second image sensor and a second laser lamp are arranged in the main mounting groove. The first laser lamp and the second laser lamp are used to emit light and form circular light spots of different colors on a plane perpendicular to the optical axis direction of the laser light. The image sensor is located between the laser lamps. For example, the first laser lamp forms a red circular light spot on a plane perpendicular to the optical axis direction of the laser light, and the second laser lamp forms a yellow circular light spot on a plane perpendicular to the optical axis direction of the laser light.
[0079] Correspondingly, rotating the lens module according to the spatial position of the FPC heating wire and the spatial position of the FPC installation groove so that the FPC heating wire is aligned with the FPC installation groove may include:
[0080] (1) Obtain a second image returned by a second image sensor in the main installation groove.
[0081] When the lens module is placed above the main installation groove, the second image returned by the second image sensor in the main installation groove will include a first light spot, a second light spot, and the FPC heating wire.
[0082] (2) Perform image segmentation on the second image to obtain a first light spot area formed by the first laser lamp on the second image, a second light spot area formed by the second laser lamp on the second image, and an FPC heating wire segmentation area on the second image.
[0083] As Figure 4 shown, use a pre-trained image segmentation model to perform image segmentation on the second image to obtain a first light spot area formed by the first laser lamp on the second image, a second light spot area formed by the second laser lamp on the second image, and an FPC heating wire segmentation area on the second image.
[0084] (3) Perform circle fitting on the first light spot area and the second light spot area respectively to obtain a first circular area and a first circle fitting error corresponding to the first light spot area, and a second circular area and a second circle fitting error corresponding to the second light spot area.
[0085] Specifically, the least squares method can be used to perform circle fitting on the first light spot area and the second light spot area respectively. The least squares method (also known as the method of least squares) is a mathematical optimization technique. It finds the best function match for the data by minimizing the sum of the squares of the errors. The least squares method can be used to simply obtain unknown data and make the sum of the squares of the errors between the obtained data and the actual data the smallest. The least squares method can also be used for curve fitting. Some other optimization problems can also be expressed by the least squares method by minimizing energy or maximizing entropy.
[0086] The first circle fitting error and the second circle fitting error can be the sum of the squares of the errors during least squares fitting.
[0087] (4) Determine whether both the first circle fitting error and the second circle fitting error satisfy the circular light spot condition.
[0088] For example, the circular light spot condition is that the fitting error is less than a preset value, and the preset value can be set according to specific circumstances. The larger the first circle fitting error and the second circle fitting error, the less the first light spot area and the second light spot area are close to a circle.
[0089] (5) If both the first circle fitting error and the second circle fitting error do not meet the circular light spot condition, it is determined that the lens module is deviated in the vertical direction, and then the first straight line formed by the two farthest points on the first light spot area is obtained.
[0090] If both the first circle fitting error and the second circle fitting error do not meet the circular light spot condition, it means that neither the first light spot area nor the second light spot area is close to a circle. It indicates that the lens module is deviated in the vertical direction, resulting in the bottom of the lens module not being on the horizontal plane, and the FPC heating wire is not vertically downward, so the position needs to be adjusted.
[0091] If both the first circle fitting error and the second circle fitting error meet the circular light spot condition, it means that both the first light spot area and the second light spot area are close to a circle. It indicates that the lens module is not deviated in the vertical direction, and the FPC heating wire is vertically downward, and the next step can be carried out.
[0092] As Figure 4 shown, the two farthest points on the first light spot area are point A and point B respectively, and the first straight line formed by the two farthest points on the first light spot area. If both the first circle fitting error and the second circle fitting error do not meet the circular light spot condition, it means that neither the first light spot area nor the second light spot area is close to a circle.
[0093] (6) Control the lens module to rotate in the vertical plane passing through the first straight line so that both the first light spot area and the second light spot area meet the circular light spot condition.
[0094] Specifically, as Figure 4 shown, the two farthest points on the first light spot area are point A and point B respectively, and the first straight line formed by the two farthest points on the first light spot area. Obtain the brightness of the two farthest points on the first light spot area, and determine the rotation direction based on the brightness of the two farthest points on the first light spot area, where the rotation direction is that the actual physical position point corresponding to the point with the larger brightness among the two farthest points on the first light spot area is away from the second image sensor and the actual physical position point corresponding to the point with the smaller brightness among the two farthest points on the first light spot area is close to the second image sensor, and control the lens module to rotate in the vertical plane passing through the first straight line so that both the first light spot area and the second light spot area meet the circular light spot condition. The greater the brightness, the closer it is, and it needs to be away.
[0095] (7) Control the lens module to rotate in the horizontal plane so that the FPC heating wire is aligned with the FPC mounting groove.
[0096] In an embodiment of the present invention, the first laser lamp, the second image sensor, the second laser lamp, and the FPC mounting groove are sequentially arranged in a preset direction. The first laser lamp is used to emit light of a first color, and the second laser lamp is used to emit light of a second color. Controlling the lens module to rotate in a horizontal plane so that the FPC heating wire is aligned with the FPC mounting groove includes:
[0097] (1) When both the first light spot area and the second light spot area meet the circular light spot condition, obtain the relative position relationship among the centroid of the FPC heating wire segmentation area, the centroid of the first light spot area, and the centroid of the second light spot area.
[0098] When both the first light spot area and the second light spot area meet the circular light spot condition, the image acquired by the second image sensor is as Figure 5 shown. Obtain the relative position relationship among the centroid of the FPC heating wire segmentation area, the centroid of the first light spot area, and the centroid of the second light spot area. The centroid of the FPC heating wire segmentation area is C, the centroid of the first light spot area is E, and the centroid of the second light spot area is D.
[0099] As Figure 5 shown, the centroid of the FPC heating wire segmentation area, the centroid of the first light spot area, and the centroid of the second light spot area are not on the same straight line. It shows that the FPC heating wire is not aligned with the FPC mounting groove in the horizontal plane and needs to be rotated.
[0100] (2) Control the lens module to rotate in a horizontal plane so that the centroid of the first light spot area, the centroid of the second light spot area, and the centroid of the FPC heating wire segmentation area are sequentially arranged on the same straight line, so that the FPC heating wire is aligned with the FPC mounting groove.
[0101] As Figure 5 shown, determine whether the centroid of the first light spot area, the centroid of the second light spot area, and the centroid of the FPC heating wire segmentation area are sequentially arranged on the same straight line. If the centroid of the first light spot area, the centroid of the second light spot area, and the centroid of the FPC heating wire segmentation area are sequentially arranged on the same straight line, no adjustment is required. If the centroid of the first light spot area, the centroid of the second light spot area, and the centroid of the FPC heating wire segmentation area are not sequentially arranged on the same straight line, control the lens module to rotate in a horizontal plane so that the centroid of the first light spot area, the centroid of the second light spot area, and the centroid of the FPC heating wire segmentation area are sequentially arranged on the same straight line, so that the FPC heating wire is aligned with the FPC mounting groove.
[0102] As Figure 6As shown, when the centroid E of the first light spot area, the centroid D of the second light spot area, and the centroid C of the FPC heating wire division area are arranged in sequence on the same straight line, the FPC heating wire is aligned with the FPC installation groove. After the adjustment is completed, the lens module can be moved downward along the FPC installation groove.
[0103] Step 12: Move the lens module downward along the FPC installation groove, and obtain the first distance information of the first distance measuring unit and the second distance information of the second distance measuring unit.
[0104] During the process of moving the lens module downward along the FPC installation groove, the FPC heating wire gradually enters the FPC installation groove. In order to avoid the FPC heating wire generating a small rotation in the horizontal plane, resulting in a deviation between the FPC heating wire and the FPC installation groove, after introducing the distance measuring unit, it can assist in the test.
[0105] This is because the overall shape of the lens module is cylindrical, the FPC heating wire is led out along the side wall of the lens module, and the FPC heating wire is symmetrically arranged with respect to the axis of the lens module. As Figure 7 shown, if the FPC heating wire is aligned with the FPC installation groove, the measured distance information is equal or basically the same; as Figure 8 shown, if the difference in the measured distance information is too large, it means that they are not aligned.
[0106] Step 13: If the difference between the first distance information and the second distance information is less than the set threshold, continue to move the lens module downward so that the lens module is placed in the main installation groove and the FPC heating wire is placed in the FPC installation groove.
[0107] Step 14: If the difference between the first distance information and the second distance information is not less than the set threshold, stop moving the lens module downward, and rotate the lens module to the side with a larger distance until the difference between the first distance information measured by the first distance measuring unit and the second distance information measured by the second distance measuring unit is less than the set threshold, and then move the lens module downward again.
[0108] Combined with Figure 5 , if the first distance information measured by the first distance measuring unit is greater than the second distance information measured by the second distance measuring unit, rotate the lens module counterclockwise until the difference between the first distance information measured by the first distance measuring unit and the second distance information measured by the second distance measuring unit is less than the set threshold, and then move the lens module downward again. In this way
[0109] Continuously monitor according to the foregoing mechanism to ensure that the FPC heating wire is always aligned with the FPC installation groove.
[0110] Step 15: Place the housing assembly into the housing mounting groove.
[0111] Step 16: Test the housing assembly and the lens module respectively, and assemble the tested housing assembly and lens module together.
[0112] Combined with Figures 9 - 13 , after placement, when the device is started, the PLASMA process test will be automatically performed.
[0113] After completing the PLASMA, use the robotic arm gripper to grab the lens module and the housing assembly, and place them into the lens fixture and the housing fixture in the AA fixture set respectively. At this time, it is also necessary to place the lens heating wire in the FPC mounting groove of the lens fixture. After placement, it will automatically enter the next process, the AA process, which will be automatically completed by the device. First, use the visual function of the device to perform visual positioning on the placed product, and then perform an automatic dispensing test on the product module. After dispensing is completed, move this product and the lens to the AA position through the moving axis and place them directly below the six-axis mechanism. Then, use the AA lens gripper to grab the lens module and move and place the lens module into the housing assembly with the dispensed glue. At this time, it is required that the FPC heating wire passes through the clearance groove on the circuit board, and then move the AA six-axis to perform an automatic AA calibration test. After calibration, pre-cure the glue to assemble the lens module and the housing together, that is, complete the assembly process of one product. For the subsequent process, only bake the assembled product to complete curing.
[0114] Regarding the dispensing operation, this embodiment has also been improved. During the dispensing process, it is possible to cause the circuit board to tilt. If such products flow into the market, then this tilted state will exert a corresponding force on the circuit board. Over time, this force will cause the wires in the circuit board to break, resulting in product failure. To improve this problem, the dispensing operation of this embodiment is as follows:
[0115] In one embodiment, the housing assembly includes a housing and a circuit board. After placing the housing assembly into the housing mounting groove, it further includes performing a dispensing operation on the circuit board. Specifically: obtain the original image information of the housing assembly, obtain the first dispensing position according to the original image information, and perform one-time dispensing at the first dispensing position; after one-time dispensing is completed, obtain the intermediate image information of the housing assembly again, and determine whether the flatness of the circuit board after one-time dispensing meets the requirements according to the original image information and the intermediate image information; if not, correct the previous dispensing operation according to the tilt direction of the circuit board to make the flatness of the circuit board meet the requirements.
[0116] In one embodiment, correcting the previous dispensing operation according to the inclination direction of the circuit board to determine whether the flatness of the circuit board meets the requirements includes: if the glue dispensed in the previous time has not solidified, pressing down the tilted side by a preset fine-tuning distance to determine whether the flatness of the circuit board meets the requirements; if the glue dispensed in the previous time has solidified or partially solidified, melting the solidified glue first and then performing fine-tuning.
[0117] In one embodiment, determining whether the flatness of the circuit board after one-time dispensing meets the requirements according to the original image information and the intermediate image information includes: extracting the second circuit board border information of the circuit board and the second housing border information of the housing according to the intermediate image information. If the first housing border information is equal to the second housing border information, comparing the first circuit board border information and the second circuit board border information. If they are equal, the flatness of the circuit board meets the requirements; if not, the flatness of the circuit board does not meet the requirements. In one embodiment, target recognition can be performed on the image information to obtain the first intersection point, the second intersection point, the third intersection point, and the fourth intersection point of the circuit board and the housing, and the figure enclosed by the first intersection point, the second intersection point, the third intersection point, and the fourth intersection point is used as the circuit board border information.
[0118] Among them, the obtaining method of the first circuit board border information is: establishing a border according to the first intersection point, the second intersection point, the third intersection point, and the fourth intersection point to obtain the first circuit board border information; the obtaining method of the second circuit board border information is: obtaining the intersection position of the glue and the housing assembly, and establishing a border according to the intersection position to obtain the second circuit board border information.
[0119] In one embodiment, a circular mark can also be set on the circuit board. If the circular mark is deformed (for example, becomes oval), it indicates that the circuit board is tilted.
[0120] In this embodiment, taking the determination of whether it is tilted according to the border information as an example to illustrate how to determine the preset fine-tuning distance. The determination method of the preset fine-tuning distance includes: using the side with unequal lengths as the calculation object, obtaining the first side length from the first circuit board border information and obtaining the second side length from the second circuit board border information. Among them, the second side length will be greater than the first side length because the glue will be misrecognized as the border of the circuit board.
[0121] Taking the first side length as a right-angled side and the second side length as the hypotenuse to establish a right triangle, and determining the length of the other right-angled side according to the function relationship of the right triangle, and taking the length of the other right-angled side as the preset fine-tuning distance.
[0122] In one embodiment, obtaining the original image information of the housing assembly, obtaining the first dispensing position according to the original image information, and performing primary dispensing at the first dispensing position includes: obtaining the original image information of the housing assembly, dividing the boundary of the original image information, and extracting the first circuit board border information of the circuit board and the first housing border information of the housing from the original image information; performing target recognition on the original image information to obtain the first intersection point, the second intersection point, the third intersection point, and the fourth intersection point of the circuit board and the housing, where the first intersection point and the third intersection point are diagonally distributed, and the second intersection point and the fourth intersection point are diagonally distributed; dispensing glue near the first intersection point and near the third intersection point, and / or dispensing glue near the second intersection point and the fourth intersection point.
[0123] In this embodiment, the dispensing principle is specifically as follows:
[0124] (1) First, use a camera to obtain an image of the circuit board, save the obtained image as a reference image, set a region on the reference image, grab the best features from it, and then find the boundary line fitting circle within the region based on the best features to determine the center point position of this product, as follows Figure 14 ;
[0125] (2) Move the camera along the X and / or Y axis, move the camera on the nine-square grid, and take pictures for positioning. Calculate the relationship ratio between the picture pixel unit and the distance, that is, the nine-point calibration method. In practical applications, the offset distance can be determined by taking pictures to obtain how many pixel units are offset.
[0126] (3) Through the above offset distance, automatically correct the center point position to achieve precise positioning. Using this positioned point as the center, draw a circle with a radius that can be set by the program, that is, realize dotting and dispensing.
[0127] (4) Glue recognition, take pictures through the camera, extract the glue color, and perform glue processing, and then calculate the width and number of segments of the dispensing to confirm whether the dispensing is appropriate, as Figure 15 shown.
[0128] In one embodiment, the circuit board can also be detected for the tilt correction principle in the following manner:
[0129] As Figure 16 shown, place the product inside the fixture, use the laser rangefinder on the device to measure a set of heights at the four corners or the center of the circuit board, calculate the levelness of the circuit board with this set of data, and then automatically perform compensation and correction. Repeat this several times until the horizontal angle reaches the required range. And save this corrected data as the reference parameter.
[0130] In actual application, the laser height is measured at the four corners and the center of each product, and through the reference parameters, it is quickly adjusted to a relatively horizontal range.
[0131] In one embodiment, there may also be a situation where the FPC heating wire enters the FPC mounting groove with the upward side. In this case, the corresponding FPC heating wire is placed with the upward side; one end of the FPC heating wire is connected to the functional module in the lens module, and the other end of the FPC heating wire is provided with a pad. For the slender FPC heating wire, under the action of the pad, the upper half of the FPC heating wire will sag, causing the FPC heating wire to bend. During the process of placing the FPC heating wire in the FPC mounting groove, since the FPC heating wire is in a bent state, the end with the pad may enter the FPC mounting groove, resulting in the wire in the FPC heating wire being broken. To avoid this situation, the FPC mounting groove is improved as follows: at least one ventilation hole is provided in the middle area of the FPC mounting groove, wherein the ventilation hole is arranged obliquely upward. During the process of placing the FPC heating wire in the FPC mounting groove, air is blown through the at least one ventilation hole to blow the FPC heating wire by the obliquely upward air flow, so as to prevent the FPC heating wire from bending into the FPC mounting groove due to the weight of the pad.
[0132] Based on the assembly method of the foregoing embodiment, this embodiment provides an electronic camera with a heating module. The camera includes a housing assembly and a lens module, and the housing assembly and the lens module are assembled together according to the assembly method of the foregoing embodiment.
[0133] The embodiments of the present invention have at least the following effects:
[0134] The lens module adopted in the present invention is internally encapsulated with a heating module, and the FPC heating wire is led out from the side of the lens module, which is convenient for connecting and powering the PCBA board.
[0135] The PCBA board adopted is designed with clearance holes, which is beneficial for the FPC heating wire to pass through the clearance holes on the PCBA smoothly, and after passing through, it is connected and energized with the connector on the other side of the PCBA board.
[0136] The adopted PLSAMA lens base (i.e., lens fixture) and AA lens base (i.e., lens fixture) both need to be adapted to the size of the lens. At the same time, it is necessary to design a slot in the lens base to avoid the lens heating wire and maintain the functions of positioning the lens and the heating wire, so that the heating wire is shaped and kept vertically downward.
[0137] This production test process is convenient to operate and has a simple structure, greatly reducing the production manpower and assembly cost.
[0138] When producing different models of heating function modules, including changes in lens size, housing size, and PCBA board size, only different base diagrams need to be adapted and made.
[0139] This process can be adapted to the production of heating function modules for any model of product.
[0140] In this process, the heating lens functional accessory is placed inside the lens, and the heating FPC circuit is also assembled inside the overall module, making great use of the internal space of the module and reducing the external volume of the module.
[0141] This process uses a lens with a built-in heating wire and an automatic AA assembly process, without the need to add other components to heat the lens, greatly reducing the process steps and saving material and labor costs.
[0142] The above are only the embodiments of the present invention, and do not limit the patent scope of the present invention accordingly. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, shall be included in the patent protection scope of the present invention by the same token.
Claims
1. A method for assembling an electronic camera with a heating module, characterized in that: The electronic camera comprises a housing assembly and a lens module, wherein the housing assembly comprises a shell and a circuit board, an FPC heating wire is led out of the lens module, the FPC heating wire is led out along the side wall of the lens module, and the FPC heating wire is symmetrically arranged relative to the axis of the lens module, and comprises: The lens fixture corresponding to the lens module is placed on the first test position, and the housing fixture corresponding to the housing assembly is placed on the second test position, wherein the lens fixture comprises a main mounting groove and an FPC mounting groove extending from the main mounting groove, and the first distance measuring unit and the second distance measuring unit are respectively arranged on both sides of the FPC mounting groove; and the housing fixture comprises a housing mounting groove; According to the positional relationship between the FPC heating wire of the lens module and the FPC mounting groove, adjusting the lens module so that the FPC heating wire is initially aligned with the FPC mounting groove; Move the lens module downward along the FPC installation groove, and obtain the first distance information of the first distance measuring unit and the second distance information of the second distance measuring unit; If the difference between the first distance information and the second distance information is less than a set threshold, continue to move the lens module downward so that the lens module is placed in the main mounting groove and the FPC heating wire is placed in the FPC mounting groove; If the difference between the first distance information and the second distance information is not less than a set threshold, stop moving the lens module downward, and rotate the lens module toward the side with a larger distance until the difference between the first distance information measured by the first distance measuring unit and the second distance information measured by the second distance measuring unit is less than a set threshold, and move the lens module downward again; The shell assembly is placed in the shell mounting groove, and a first intersection point, a second intersection point, a third intersection point and a fourth intersection point between the circuit board and the shell are obtained, wherein the first intersection point and the third intersection point are diagonally distributed, and the second intersection point and the fourth intersection point are diagonally distributed; glue is dispensed near the first intersection point and the third intersection point, and / or glue is dispensed near the second intersection point and the fourth intersection point, and the glue dispensing operation includes: firstly, an image of the circuit board is obtained by a camera, and the obtained image is saved as a reference image, an area is set on the reference image, and the best feature is captured therefrom, and then a boundary line fitting circle is found in the area according to the best feature to determine the center point position, the camera is moved along the X and / or Y axis, so that the camera moves on the nine-square grid, and a picture is taken for positioning, and the offset distance can be determined by taking a picture to determine how many pixel units are offset, and the center point position is automatically corrected by the offset distance to achieve precise positioning, and a circle is drawn based on the located point as the center of the circle plus a radius that can be set by the program, so as to achieve circle drawing and glue dispensing; The shell assembly and the lens module are tested separately, and the tested shell assembly and lens module are assembled together.
2. The method for assembling an electronic camera with a heating module according to claim 1, characterized in that: The adjusting the lens module according to the positional relationship between the FPC heating wire of the lens module and the FPC mounting slot so that the FPC heating wire is initially aligned with the FPC mounting slot comprises: Acquire first image information of the lens fixture taken by a first image sensor, and analyze the first image information to determine the spatial position of the main installation slot and the spatial position of the FPC installation slot; Planning a first moving trajectory of the lens module according to the spatial position of the main installation slot, and placing the lens module above the main installation slot according to the first moving trajectory; The lens module is rotated according to the spatial position of the FPC heating wire and the spatial position of the FPC mounting slot, so that the FPC heating wire is aligned with the FPC mounting slot.
3. The method for assembling an electronic camera with a heating module according to claim 2, characterized in that: The main mounting slot is provided with a first laser lamp, a second image sensor and a second laser lamp, the first laser lamp and the second laser lamp are used to emit light and form circular light spots of different colors on a plane perpendicular to the laser light axis direction, the second image sensor is located between the laser lamps, and the lens module is rotated according to the spatial position of the FPC heating wire and the spatial position of the FPC mounting slot so that the FPC heating wire is aligned with the FPC mounting slot, including: Acquire a second image returned by a second image sensor in the main mounting slot; Performing image segmentation on the second image to obtain a first light spot area formed by the first laser light on the second image, a second light spot area formed by the second laser light on the second image, and an FPC heating line segmentation area on the second image; Performing circle fitting on the first light spot area and the second light spot area respectively, to obtain a first circular area and a first circle fitting error corresponding to the first light spot area, and a second circular area and a second circle fitting error corresponding to the second light spot area; Determining whether the first circle fitting error and the second circle fitting error both satisfy a circular spot condition; If both the first circle fitting error and the second circle fitting error do not satisfy the circular light spot condition, it is determined that the lens module has a deviation in the vertical direction, and a first straight line formed by two points with the farthest distance on the first light spot area is obtained; Controlling the lens module to rotate in a vertical plane passing through the first straight line so that both the first light spot area and the second light spot area satisfy a circular light spot condition; The lens module is controlled to rotate in a horizontal plane so that the FPC heating wire is aligned with the FPC installation groove.
4. The method for assembling an electronic camera with a heating module according to claim 3, characterized in that: The first laser lamp, the second image sensor, the second laser lamp and the FPC mounting slot are sequentially arranged in a preset direction, the first laser lamp is used to emit light of a first color, the second laser lamp is used to emit light of a second color, and the lens module is controlled to rotate in a horizontal plane so that the FPC heating line is aligned with the FPC mounting slot, including: When both the first light spot area and the second light spot area satisfy the circular light spot condition, the relative position relationship among the centroid of the FPC heating line segmentation area, the centroid of the first light spot area, and the centroid of the second light spot area is obtained; The lens module is controlled to rotate in a horizontal plane so that the centroid of the first light spot area, the centroid of the second light spot area and the centroid of the FPC heating line segmentation area are arranged in sequence on the same straight line so that the FPC heating line is aligned with the FPC mounting groove.
5. The method for assembling an electronic camera with a heating module according to claim 1, characterized in that: The assembly method of the electronic camera with a heating module also includes: Obtain original image information of the shell assembly, obtain a first glue dispensing position according to the original image information, and perform glue dispensing at the first glue dispensing position; after one glue dispensing is completed, obtain intermediate image information of the shell assembly again, and determine whether the flatness of the circuit board after one glue dispensing meets the requirements according to the original image information and the intermediate image information; if not, correct the previous glue dispensing operation according to the tilt direction of the circuit board to ensure that the flatness of the circuit board meets the requirements.
6. The method for assembling an electronic camera with a heating module according to claim 5, characterized in that: The method of correcting the previous dispensing operation according to the tilt direction of the circuit board to ensure that the flatness of the circuit board meets the requirements includes: If the glue applied last time has not solidified, press down the raised side according to the preset fine-tuning distance to make the flatness of the circuit board meet the requirements; if the glue applied last time has solidified or partially solidified, melt the solidified glue first and then make fine adjustments.
7. The method for assembling an electronic camera with a heating module according to claim 5, characterized in that: The determining whether the flatness of the circuit board after one dispensing of glue meets the requirement according to the original image information and the intermediate image information includes: A circular mark is set on the circuit board. If the circular mark is deformed, it means that the circuit board is tilted.
8. The method for assembling an electronic camera with a heating module according to claim 5, characterized in that: The determining whether the flatness of the circuit board after one dispensing of glue meets the requirement according to the original image information and the intermediate image information includes: Performing boundary division on the original image information, and extracting first circuit board frame information of the circuit board and first shell frame information of the shell from the original image information; The second circuit board border information of the circuit board and the second shell border information of the shell are extracted according to the intermediate image information. If the first shell border information is equal to the second shell border information, the first circuit board border information and the second circuit board border information are compared. If they are equal, the flatness of the circuit board meets the requirements; if they are not equal, the flatness of the circuit board does not meet the requirements.
9. The method for assembling an electronic camera with a heating module according to claim 6, characterized in that: At least one vent hole is provided in the middle area of the FPC mounting groove, wherein the vent hole is provided obliquely upward. When the FPC heating wire is placed in the FPC mounting groove, air is blown through the at least one vent hole to blow the FPC heating wire with the oblique upward airflow, thereby preventing the FPC heating wire from bending into the FPC mounting groove due to the weight of the solder pad.
10. An electronic camera with a heating module, characterized in that: The camera comprises a shell assembly and a lens module, and the shell assembly and the lens module are assembled together according to the assembly method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Production method for camera module
CN113163083A
Camera and camera demisting method
CN115802130A