Image recognition method and device for electric energy meter assembly quality detection

Through close-focus wide-angle shooting and image comparison technology, the accuracy problem of screw tightening detection in the assembly quality inspection of electric energy meters has been solved, and the detection accuracy and factory quality have been improved.

CN118628810APending Publication Date: 2024-09-10FUJIAN RUIST TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410740797.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The existing electric energy meter assembly quality inspection technology has insufficient accuracy. In particular, it is difficult to detect whether the screws are tightened, resulting in inaccurate detection.

Method used

Using the close-focus wide-angle shooting method, the first camera shoots the energy meter from a preset angle to obtain the detection image, and compares it with the standard image to determine the component installation position and the keyway direction and projection size of the screw, and calculate the difference in the number of screw tightening turns. to determine assembly quality.

Benefits of technology

It improves the accuracy of assembly quality inspection of electric energy meters, ensures accurate inspection of screw tightening conditions, and enhances the rigor of inspection and factory quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628810A
    Figure CN118628810A
Patent Text Reader

Abstract

The invention discloses an image recognition method and device for electric energy meter assembly quality detection, and the method comprises the steps: carrying out the near-focus wide-angle shooting of a to-be-detected electric energy meter, and obtaining a first detection image; acquiring a first standard image corresponding to the to-be-detected electric energy meter; comparing the first standard image, and judging whether the installation position of each component of the detected electric energy meter is qualified; obtaining a first key slot direction of each first fixing screw in the first detection image and a first projection size of the first key slot direction on the corresponding mounting assembly; the standard key groove direction of each standard fixing screw in the first standard image and the standard projection size of each standard fixing screw on the corresponding mounting assembly are obtained; judging whether the first key slot direction and the first projection size are matched with the standard key slot direction and the standard projection size, and if yes, judging that the to-be-detected electric energy assembly quality is qualified; otherwise, according to the obtained parameters, determining the distance fastening turn number difference of the first fixing screw. According to the invention, the electric energy meter assembly quality detection accuracy can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of electric energy meter assembly quality detection, and in particular to an image recognition method and device for electric energy meter assembly quality detection. Background Art

[0002] An energy meter, also known as a watt-hour meter, fire meter, or kilowatt-hour meter, is an instrument used to measure electrical energy. It can measure indicators such as current, voltage, and power factor to calculate the consumption of electrical energy. In both household and industrial electricity use, energy meters are essential. They can help users understand the consumption and cost of electricity, thereby achieving energy conservation and consumption reduction.

[0003] The electric energy meter is prone to errors during the assembly process, resulting in unqualified electric energy meters leaving the factory. Therefore, it is necessary to test the assembly quality of the electric energy meter to ensure the quality of the electric energy meter leaving the factory. However, the detection technology for the assembly quality of the electric energy meter itself is still backward and inaccurate. At present, the detection of the assembly quality of the electric energy meter is mainly done by the naked eye of the staff. Image recognition as a new technology can be applied to the detection of the assembly quality of the electric energy meter, but the existing image recognition has a low accuracy rate for the detection of the assembly quality of the electric energy meter due to its shooting angle and recognition accuracy. Summary of the invention

[0004] The applicant has found through research that: although image recognition can detect whether the position of components in the electric energy meter is correctly installed, it is difficult to identify if the fixing screws used for installation are not tightened. The reasons for the difficulty in identification include the following two points: First, the image of the electric energy meter is generally collected from the front, and the height difference of the screws that are not tightened will not be reflected in the image. In addition, because the side of the electric energy meter is blocked by the bottom shell, it is not easy to collect images from the side, so it is difficult to identify that the screws are not tightened. Second, because the details such as the screws are not tightened are very subtle in the image, this also makes it difficult to identify that the screws are not tightened.

[0005] In view of some of the above-mentioned defects in the prior art, the technical problem to be solved by the present invention is to provide an image recognition method and device for electric energy meter assembly quality detection, aiming to improve the accuracy of electric energy meter assembly quality detection.

[0006] To achieve the above-mentioned object, the first aspect of the present invention discloses an image recognition method for electric energy meter assembly quality detection, the method comprising:

[0007] Step S1, in response to the electric energy meter to be tested being loaded on the testing station, using a first camera to perform close-focus wide-angle shooting of the electric energy meter to be tested from a first preset angle to obtain a first testing image; wherein the electric energy meter to be tested is in a state where the protective housing is not installed;

[0008] Step S2, identifying the first detection image to obtain a first type and model of the electric energy meter to be detected; according to the first type and model, obtaining a first standard image corresponding to the first type and model; wherein the first standard image is an image of the electric energy meter of the first type and model being assembled properly, and the first standard image is obtained by shooting at a close-focus wide angle at a first preset angle;

[0009] Step S3, judging whether the installation positions of the components of the electric energy meter to be tested in the first detection image are consistent with the first standard image, if so, proceeding to step S4; if not, judging that the assembly quality of the electric energy meter to be tested is unqualified;

[0010] Step S4, obtaining the first keyway orientation of each first fixing screw in the first detection image and its first projection size on the corresponding mounting component; obtaining the standard keyway orientation of each standard fixing screw in the first standard image and its standard projection size on the corresponding mounting component;

[0011] Step S5, comparing the first keyway direction and the standard keyway direction as well as the first projection size and the standard projection size; if the first keyway direction and the quasi-keyway direction are consistent with each other and the error between the first projection size and the standard projection size is within the standard preset range, then it is judged that the quality of the electrical assembly to be tested is qualified; otherwise, according to the first direction difference between the first keyway direction and the standard keyway direction and the first area ratio between the first projection size and the standard projection size, the difference in the number of turns of tightening the first fixing screw is determined.

[0012] Optionally, after step S5, the method further includes:

[0013] In response to the electric energy meter to be tested having qualified assembly quality, installing the protective housing of the electric energy meter to be tested;

[0014] In response to the protective housing being installed, collecting a second detection image of the electric energy meter to be detected;

[0015] The second detection image is identified to determine whether the assembly quality of the protective shell is qualified; if so, the overall assembly of the electric energy meter to be detected is determined to be qualified; if not, the protective shell is reinstalled.

[0016] Optionally, in step S3, the method further includes:

[0017] Determine whether all digits on the display of the electric energy meter to be tested in the first detection image are reset to zero and aligned; if so, proceed to the next step; if not, determine that the quality of the electric energy assembly to be tested is unqualified.

[0018] Optionally, before step S5, the method further includes:

[0019] During the experimental stage: obtain an experimental electric energy meter of the first type and model, and tighten the experimental fixing screws of the experimental electric energy meter; every time the experimental fixing screws are tightened by 22.5°, record the second projection size of the experimental fixing screws on the corresponding mounting component at this time, and obtain the second area ratio between the second projection size and the standard projection size; repeat this step until the experimental fixing screws are tightened, and obtain the number of turns-area ratio function relationship between the number of turns of the experimental fixing screws and the second area ratio.

[0020] Optionally, in step S5, determining the difference in the number of turns of tightening the first fixing screw distance according to a first direction difference between the first keyway direction and the standard keyway direction and a first area ratio between the first projection size and the standard projection size includes:

[0021] Substituting a first area ratio between the first projection size and the standard projection size into the turn number-area ratio function relationship to obtain a fuzzy turn number difference of the first fixing screw distance tightening;

[0022] The specific difference in the number of turns of the first fixing screw distance tightening is determined according to the difference in the direction between the first keyway direction and the standard keyway direction and the number of circles of ambiguity.

[0023] Optionally, the detection station is provided with a limiting wall whose size matches that of the electric energy meter to be detected, and the limiting wall is used to fix the relative position between the electric energy meter to be detected and the first camera during the detection process.

[0024] Optionally, after step S5, the method further includes:

[0025] According to the difference in the number of turns of tightening the first fixing screw, the first fixing screw is screwed to ensure that the assembly quality of the electric energy meter to be tested is qualified.

[0026] Optionally, the wide-angle angle of the near-focus wide-angle is 60° to 120°; and the distance between the lens of the first camera and the electric energy meter to be detected satisfies: Among them, H is the distance between the lens of the first camera and the electric energy meter to be detected, L is the maximum side length of the electric energy meter to be detected, θ is the wide-angle angle, and the lens of the first camera is directly above the electric energy meter to be detected.

[0027] The second aspect of the present invention discloses an image recognition device for detecting the assembly quality of an electric energy meter, the device comprising: a first camera and a recognition controller; the recognition controller comprising: an image acquisition module, a standard image acquisition module, a component comparison and judgment module, a screw installation parameter acquisition module, and a screw comparison and judgment module;

[0028] The image acquisition module is used for, in response to the electric energy meter to be tested being loaded on the testing station, using a first camera to perform close-focus wide-angle shooting of the electric energy meter to be tested from a first preset angle to obtain a first testing image; wherein the electric energy meter to be tested is in a state where the protective casing is not installed;

[0029] The standard image acquisition module is used to identify the first detection image and obtain the first type and model of the electric energy meter to be detected; according to the first type and model, obtain a first standard image corresponding to the first type and model; wherein the first standard image is an image of the electric energy meter of the first type and model being assembled properly, and the first standard image is obtained by shooting at a close-focus wide angle at a first preset angle;

[0030] The component comparison and judgment module is used to judge whether the installation positions of the components of the electric energy meter to be tested in the first detection image are consistent with the first standard image. If so, the screw installation parameter acquisition module is operated; if not, it is judged that the assembly quality of the electric energy meter to be tested is unqualified;

[0031] The screw installation parameter acquisition module is used to obtain the first keyway orientation of each first fixing screw in the first detection image and its first projection size on the corresponding installation component; obtain the standard keyway orientation of each standard fixing screw in the first standard image and its standard projection size on the corresponding installation component;

[0032] The screw comparison and judgment module is used to compare the first keyway direction and the standard keyway direction and the first projection size and the standard projection size. If the first keyway direction and the quasi-keyway direction are consistent and the error between the first projection size and the standard projection size is within the standard preset range, the quality of the electrical assembly to be tested is judged to be qualified; otherwise, the difference in the number of turns of tightening the first fixing screw is determined based on the first direction difference between the first keyway direction and the standard keyway direction and the first area ratio between the first projection size and the standard projection size.

[0033] Optionally, the identification controller comprises: an identification module installed in a protective housing;

[0034] The protective casing installation identification module is used to install the protective casing of the electric energy meter to be tested in response to the assembly quality of the electric energy meter to be tested being qualified; in response to the installation of the protective casing being completed, collect a second detection image of the electric energy meter to be tested; identify the second detection image to determine whether the assembly quality of the protective casing is qualified; if so, determine that the overall assembly of the electric energy meter to be tested is qualified; if not, reinstall the protective casing.

[0035] Optionally, the component comparison and judgment module is further used for:

[0036] Determine whether all digits on the display of the electric energy meter to be tested in the first detection image are reset to zero and aligned; if so, proceed to the next step; if not, determine that the quality of the electric energy assembly to be tested is unqualified.

[0037] Optionally, before the screw comparison and judgment module works, the device further includes: an experimental module;

[0038] The experimental module is used to, during the experimental stage: obtain an experimental electric energy meter of the first type and model, and tighten the experimental fixing screws of the experimental electric energy meter; record the second projection size of the experimental fixing screw on the corresponding mounting component every time the experimental fixing screw is tightened by 22.5°, and obtain a second area ratio between the second projection size and the standard projection size; and obtain a function relationship between the number of turns of the experimental fixing screw and the second area ratio by repeating this step until the experimental fixing screw is tightened.

[0039] Optionally, the screw comparison and judgment module is specifically used for:

[0040] Substituting a first area ratio between the first projection size and the standard projection size into the turn number-area ratio function relationship to obtain a fuzzy turn number difference of the first fixing screw distance tightening;

[0041] The specific difference in the number of turns of the first fixing screw distance tightening is determined according to the difference in the direction between the first keyway direction and the standard keyway direction and the number of circles of ambiguity.

[0042] Optionally, the detection station is provided with a limiting wall whose size matches that of the electric energy meter to be detected, and the limiting wall is used to fix the relative position between the electric energy meter to be detected and the first camera during the detection process.

[0043] Optionally, the device further comprises: a twisting module;

[0044] The twisting module is used to set a limiting wall at the detection station whose size matches the electric energy meter to be detected, and the limiting wall is used to fix the relative position between the electric energy meter to be detected and the first camera during the detection process.

[0045] Optionally, the wide-angle angle of the near-focus wide-angle is 60° to 120°; and the distance between the lens of the first camera and the electric energy meter to be detected satisfies: Among them, H is the distance between the lens of the first camera and the electric energy meter to be detected, L is the maximum side length of the electric energy meter to be detected, θ is the wide-angle angle, and the lens of the first camera is directly above the electric energy meter to be detected.

[0046] Beneficial effects of the present invention: 1. The present invention first adopts a close-focus wide-angle shooting method to obtain a first detection image of the electric energy meter to be detected. This shooting method is closer to the electric energy meter to be detected during the shooting process, and can more clearly and clearly take a full coverage shot of the electric energy meter to be detected. In this shooting method, the untightened screw is closer to the camera, larger in the first detection image, and easy to detect, thereby improving the accuracy of assembly quality detection. 2. After the installation positions of each component of the electric energy meter are detected to be qualified, the present invention obtains the first keyway direction of each first fixing screw in the first detection image and its first projection size on the corresponding installation component; obtains the standard keyway direction of each standard fixing screw in the first standard image and its standard projection size on the corresponding installation component; compares the first keyway direction with the standard keyway direction and the first projection size with the standard projection size. If the first keyway direction and the quasi-keyway direction are consistent and the error between the first projection size and the standard projection size is within the standard preset range, it is judged that the quality of the electric energy assembly to be detected is qualified; otherwise, according to the first direction difference between the first keyway direction and the standard keyway direction and the first area ratio between the first projection size and the standard projection size, the difference in the number of turns of the first fixing screw is determined. The present invention can accurately detect whether the first fixing screw is assembled to the right position by comparing the keyway direction and the projection size, thereby improving the detection accuracy. On the other hand, the difference in the number of turns between the first fixing screw and the tightening obtained by the present invention can be used for subsequent mechanical tightening to ensure that tightening the first fixing screw will not cause errors in remedying the unqualified assembly quality; after detecting that the first fixing screw is unqualified, the present invention obtains the difference in the number of turns between the first fixing screw and the tightening for subsequent remediation, thereby improving the efficiency of reassembly of unqualified assemblies. 3. The display meter of the electric energy meter to be tested by the present invention performs zero alignment detection, which ensures the strictness of the assembly quality detection and improves the factory quality of the electric energy meter.

[0047] In summary, the present invention can effectively improve the accuracy of electric energy meter assembly quality detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 It is a flow chart of an image recognition method for detecting the assembly quality of an electric energy meter provided by a specific embodiment of the present invention;

[0049] Figure 2 It is a structural schematic diagram of a recognition controller of an image recognition device for detecting assembly quality of an electric energy meter provided by a specific embodiment of the present invention;

[0050] Figure 3 The diagram is a schematic diagram of the distance relationship between the lens of a first camera and an electric energy meter to be detected provided by a specific embodiment of the present invention. DETAILED DESCRIPTION

[0051] The present invention discloses an image recognition method for the assembly quality inspection of an electric energy meter. Those skilled in the art can refer to the content of this article and appropriately improve the technical details for implementation. It should be particularly noted that all similar substitutions and modifications are obvious to those skilled in the art, and they are all deemed to be included in the present invention. The method and application of the present invention have been described through preferred embodiments, and relevant personnel can obviously modify or appropriately change and combine the methods and applications described herein without departing from the content, spirit and scope of the present invention to implement and apply the technology of the present invention.

[0052] The applicant has found through research that: although image recognition can detect whether the position of components in the electric energy meter is correctly installed, it is difficult to identify if the fixing screws used for installation are not tightened. The reasons for the difficulty in identification include the following two points: First, the image of the electric energy meter is generally collected from the front, and the height difference of the screws that are not tightened will not be reflected in the image. In addition, because the side of the electric energy meter is blocked by the bottom shell, it is not easy to collect images from the side, so it is difficult to identify that the screws are not tightened. Second, because the details such as the screws are not tightened are very subtle in the image, this also makes it difficult to identify that the screws are not tightened.

[0053] Therefore, an embodiment of the present invention provides an image recognition method for detecting the assembly quality of an electric energy meter, such as Figure 1 As shown, the method includes:

[0054] Step S1: In response to an electric energy meter to be inspected being loaded on an inspection station, a first camera is used to perform close-focus wide-angle photography of the electric energy meter to be inspected from a first preset angle to obtain a first inspection image.

[0055] The electric energy meter to be tested is in a state where the protective casing is not installed.

[0056] It should be noted that when the protective shell of the electric energy meter to be tested is not installed, the installation position of the internal components can be photographed to facilitate subsequent testing. Close-focus wide-angle shooting can allow the lens of the first camera to be closer to the electric energy meter to be tested, making the first detection image obtained by shooting clearer.

[0057] In this specific embodiment, the detection station is provided with a limiting wall whose size matches the electric energy meter to be detected, and the limiting wall is used to fix the relative position between the electric energy meter to be detected and the first camera during the detection process.

[0058] It should be noted that the setting of the limiting wall fixes the relative position of the electric energy meter to be tested and the first camera, so that each subsequent test is shot at the same angle, which is convenient for identification and process-based testing.

[0059] In this specific embodiment, the wide angle of the close-focus wide angle is 60° to 120°; the distance between the lens of the first camera and the electric energy meter to be detected satisfies: Among them, H is the distance between the lens of the first camera and the electric energy meter to be detected, L is the maximum side length of the electric energy meter to be detected, θ is the wide-angle angle, and the lens of the first camera is directly above the electric energy meter to be detected.

[0060] Specific as Figure 3 As shown, Figure 3 In the figure, θ is the wide angle, H is the distance between the lens of the first camera and the electric energy meter to be detected, L is the maximum side length of the electric energy meter to be detected, and the lens of the first camera is directly above the electric energy meter to be detected.

[0061] Step S2: Identify the first detection image to obtain a first type and model of the electric energy meter to be detected; and obtain a first standard image corresponding to the first type and model according to the first type and model.

[0062] The first standard image is an image of a first type and model of electric energy meter that is properly assembled, and the first standard image is obtained by shooting at a first preset angle with a close focus and wide angle. The first standard image and the first detection image are shot in the same way and can be used as a reference to facilitate subsequent identification.

[0063] It should be noted that the installation positions of electric energy meter components of different types and models may be different, so a standard image corresponding to the electric energy meter of the same type and model is required for comparison and identification, so that the variables can be controlled as much as possible.

[0064] Step S3, judging whether the installation positions of the components of the electric energy meter to be tested in the first test image are consistent with the first standard image, if so, proceeding to step S4; if not, judging that the assembly quality of the electric energy meter to be tested is unqualified.

[0065] It should be noted that this step is a preliminary judgment to determine whether the component position is installed correctly. Only when the component is installed correctly, it is meaningful to check whether the subsequent screws are tightened.

[0066] In this specific embodiment, in step S3, the method further includes:

[0067] Determine whether all digits on the display of the electric energy meter to be tested in the first test image are reset to zero and aligned; if so, proceed to the next step; if not, determine that the quality of the electric energy assembly to be tested is unqualified.

[0068] It should be noted that testing the zero alignment can ensure factory quality.

[0069] Step S4, obtaining the first keyway orientation of each first fixing screw in the first detection image and its first projection size on the corresponding mounting component; obtaining the standard keyway orientation of each standard fixing screw in the first standard image and its standard projection size on the corresponding mounting component.

[0070] It should be noted that the keyway orientation is the angle of the screw groove, which is the orientation of the groove rotating around the same center of a circle.

[0071] Step S5, comparing the first keyway direction and the standard keyway direction and the first projection size and the standard projection size. If the first keyway direction and the quasi-keyway direction are consistent and the error between the first projection size and the standard projection size is within the standard preset range, it is judged that the quality of the electrical energy assembly to be tested is qualified; otherwise, according to the first direction difference between the first keyway direction and the standard keyway direction and the first area ratio between the first projection size and the standard projection size, determine the difference in the number of turns of tightening the first fixing screw.

[0072] In this specific embodiment, before step S5, the method further includes:

[0073] During the experimental stage: obtain an experimental electric energy meter of the first type and model, and turn the experimental fixing screws of the experimental electric energy meter; every time the experimental fixing screws are turned 22.5°, record the second projection size of the experimental fixing screws on the corresponding mounting component at this time, and obtain the second area ratio between the second projection size and the standard projection size; by repeating this step until the experimental fixing screws are tightened, obtain the number of turns-area ratio function relationship between the number of turns of the experimental fixing screws and the second area ratio.

[0074] Further, in step S5, according to a first direction difference between the first keyway direction and the standard keyway direction and a first area ratio between the first projection size and the standard projection size, determining the difference in the number of turns of the first fixing screw distance tightening includes:

[0075] Substituting a first area ratio between the first projection size and the standard projection size into a turn number-area ratio function relationship to obtain a fuzzy turn number difference of the first fixing screw distance tightening;

[0076] According to the direction difference between the first keyway direction and the standard keyway direction and the number of fuzzy circles, the specific number of circles difference of the first fixing screw distance tightening is determined.

[0077] It should be noted that after close-focus wide-angle shooting, if the fixing screw is not tightened, it will be closer to the shooting lens, and its projection on the corresponding mounting component will be larger. The embodiment of the present invention effectively utilizes this point to obtain the circle number-area ratio function relationship through experiments, and the relationship can be used to obtain the fuzzy circle number difference of the first fixing screw distance tightening, and then the keyway direction is used to further determine the specific circle number difference of the first fixing screw distance tightening.

[0078] In this specific embodiment, after step S5, the method further includes:

[0079] According to the difference in the number of turns of the first fixing screw, the first fixing screw is screwed to ensure that the assembly quality of the electric energy meter to be tested is qualified.

[0080] In this specific embodiment, the difference in the number of turns between the first fixing screw and the tightening distance is obtained, which can be used for subsequent mechanical tightening. Because if the screw is tightened mechanically without knowing the difference in the number of turns between the tightening distance and the tightening distance, the component may be damaged due to excessive tightening, or the assembly quality may be unqualified due to insufficient tightening.

[0081] In this specific embodiment, after step S5, the method further includes:

[0082] In response to the electric energy meter to be tested having qualified assembly quality, installing a protective housing of the electric energy meter to be tested;

[0083] In response to the installation of the protective housing being completed, acquiring a second detection image of the electric energy meter to be detected;

[0084] The second detection image is identified to determine whether the assembly quality of the protective shell is qualified; if so, the overall assembly of the electric energy meter to be detected is determined to be qualified; if not, the protective shell is reinstalled.

[0085] It should be noted that this step can detect whether the protective shell is installed properly to avoid poor installation of the protective shell and reduce factory quality.

[0086] The embodiment of the present invention first adopts a close-focus wide-angle shooting method to obtain a first detection image of the electric energy meter to be detected. This shooting method is closer to the electric energy meter to be detected during the shooting process, and can more clearly and clearly capture the full coverage of the electric energy meter to be detected. In this shooting method, the untightened screw is closer to the camera, larger in the first detection image, and easy to detect, thereby improving the accuracy of assembly quality detection.

[0087] After the installation positions of the various components of the electric energy meter are detected to be qualified, the embodiment of the present invention obtains the first keyway direction of each first fixing screw in the first detection image and its first projection size on the corresponding installation component; obtains the standard keyway direction of each standard fixing screw in the first standard image and its standard projection size on the corresponding installation component; compares the first keyway direction with the standard keyway direction and the first projection size with the standard projection size. If the first keyway direction and the quasi-keyway direction are consistent and the error between the first projection size and the standard projection size is within the standard preset range, it is judged that the quality of the electric energy assembly to be detected is qualified; otherwise, according to the first direction difference between the first keyway direction and the standard keyway direction and the first area ratio between the first projection size and the standard projection size, the difference in the number of turns of the first fixing screw distance is determined. By comparing the keyway direction and the projection size, the embodiment of the present invention can accurately detect whether the first fixing screw is assembled to the right, thereby improving the detection accuracy. On the other hand, the difference in the number of turns between the first fixing screw and the tightening obtained in the embodiment of the present invention can be used for subsequent mechanical tightening to ensure that there will be no mistakes in tightening the first fixing screw to remedy the unqualified assembly quality; after detecting that the first fixing screw is unqualified, the embodiment of the present invention obtains the difference in the number of turns between the first fixing screw and the tightening for subsequent remediation, thereby improving the efficiency of reassembly of unqualified assemblies.

[0088] The embodiment of the present invention performs zero alignment detection on the display meter of the electric energy meter to be detected, thereby ensuring strict assembly quality detection and improving the factory quality of the electric energy meter.

[0089] In summary, the embodiments of the present invention can effectively improve the accuracy of electric energy meter assembly quality detection.

[0090] The second aspect of the present invention discloses an image recognition device for detecting the assembly quality of an electric energy meter. Figure 2 As shown, the device includes: a first camera and a recognition controller; the recognition controller includes: an image acquisition module 201, a standard image acquisition module 202, a component comparison and judgment module 203, a screw installation parameter acquisition module 204, and a screw comparison and judgment module 205;

[0091] The image acquisition module 201 is used for, in response to the electric energy meter to be inspected being loaded at the inspection station, using a first camera to perform close-focus wide-angle shooting of the electric energy meter to be inspected from a first preset angle to obtain a first inspection image; wherein the electric energy meter to be inspected is in a state where the protective housing is not installed;

[0092] The standard image acquisition module 202 is used to identify the first detection image and obtain the first type and model of the electric energy meter to be detected; according to the first type and model, obtain the first standard image corresponding to the first type and model; wherein the first standard image is an image of the first type and model of the electric energy meter being assembled properly, and the first standard image is obtained by shooting at a close focus wide angle at a first preset angle;

[0093] The component comparison and judgment module 203 is used to judge whether the installation positions of the components of the electric energy meter to be tested in the first detection image are consistent with the first standard image. If so, the screw installation parameter acquisition module 204 is operated; if not, it is judged that the quality of the electric energy assembly to be tested is unqualified;

[0094] The screw installation parameter obtaining module 204 is used to obtain the first keyway orientation of each first fixing screw in the first detection image and the first projection size thereof on the corresponding installation component; obtain the standard keyway orientation of each standard fixing screw in the first standard image and the standard projection size thereof on the corresponding installation component;

[0095] The screw comparison and judgment module 205 is used to compare the first keyway direction and the standard keyway direction and the first projection size and the standard projection size. If the first keyway direction and the quasi-keyway direction are consistent and the error between the first projection size and the standard projection size is within the standard preset range, it is judged that the quality of the electrical energy assembly to be tested is qualified; otherwise, according to the first direction difference between the first keyway direction and the standard keyway direction and the first area ratio between the first projection size and the standard projection size, the difference in the number of turns of tightening the first fixing screw is determined.

[0096] Optionally, the identification controller includes: an identification module installed in a protective housing;

[0097] The protective casing installation identification module is used to install the protective casing of the electric energy meter to be tested in response to the qualified assembly quality of the electric energy meter to be tested; in response to the completion of the installation of the protective casing, collect the second detection image of the electric energy meter to be tested; identify the second detection image to determine whether the assembly quality of the protective casing is qualified; if so, determine that the overall assembly of the electric energy meter to be tested is qualified; if not, reinstall the protective casing.

[0098] Optionally, the component comparison and judgment module 203 is further used for:

[0099] Determine whether all digits on the display of the electric energy meter to be tested in the first test image are reset to zero and aligned; if so, proceed to the next step; if not, determine that the quality of the electric energy assembly to be tested is unqualified.

[0100] Optionally, before the screw comparison and judgment module 205 works, the device further includes: an experiment module;

[0101] The experimental module is used to, during the experimental stage: obtain an experimental electric energy meter of the first type and model, and turn the experimental fixing screws of the experimental electric energy meter; each time the experimental fixing screws are turned 22.5°, record the second projection size of the experimental fixing screws on the corresponding mounting assembly at this time, and obtain a second area ratio between the second projection size and the standard projection size; by repeating this step until the experimental fixing screws are tightened, obtain a number-area ratio function relationship between the number of turns of the experimental fixing screws and the second area ratio.

[0102] Optionally, the screw comparison and judgment module 205 is specifically used for:

[0103] Substituting a first area ratio between the first projection size and the standard projection size into a turn number-area ratio function relationship to obtain a fuzzy turn number difference of the first fixing screw distance tightening;

[0104] According to the direction difference between the first keyway direction and the standard keyway direction and the number of fuzzy circles, the specific number of circles difference of the first fixing screw distance tightening is determined.

[0105] Optionally, the detection station is provided with a limiting wall whose size matches the electric energy meter to be detected, and the limiting wall is used to fix the relative position between the electric energy meter to be detected and the first camera during the detection process.

[0106] Optionally, the device further comprises: a twisting module;

[0107] The twisting module is used to detect a limit wall whose size matches the electric energy meter to be detected at the detection station, and the limit wall is used to fix the relative position between the electric energy meter to be detected and the first camera during the detection process.

[0108] Optionally, the wide angle of the close-focus wide angle is 60° to 120°; the distance between the lens of the first camera and the electric energy meter to be detected satisfies: Among them, H is the distance between the lens of the first camera and the electric energy meter to be detected, L is the maximum side length of the electric energy meter to be detected, θ is the wide-angle angle, and the lens of the first camera is directly above the electric energy meter to be detected.

[0109] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0110] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0111] The above are only preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. An image recognition method for electric energy meter assembly quality detection, characterized in that: The method comprises: Step S1, in response to the electric energy meter to be tested being loaded on the testing station, using a first camera to perform close-focus wide-angle shooting of the electric energy meter to be tested from a first preset angle to obtain a first testing image; wherein the electric energy meter to be tested is in a state where the protective housing is not installed; Step S2, identifying the first detection image to obtain a first type and model of the electric energy meter to be detected; according to the first type and model, obtaining a first standard image corresponding to the first type and model; wherein the first standard image is an image of the electric energy meter of the first type and model being assembled properly, and the first standard image is obtained by shooting at a close-focus wide angle at a first preset angle; Step S3, judging whether the installation positions of the components of the electric energy meter to be tested in the first detection image are consistent with the first standard image, if so, proceeding to step S4; if not, judging that the assembly quality of the electric energy meter to be tested is unqualified; Step S4, obtaining the first keyway orientation of each first fixing screw in the first detection image and its first projection size on the corresponding mounting component; obtaining the standard keyway orientation of each standard fixing screw in the first standard image and its standard projection size on the corresponding mounting component; Step S5, comparing the first keyway direction and the standard keyway direction as well as the first projection size and the standard projection size; if the first keyway direction and the quasi-keyway direction are consistent with each other and the error between the first projection size and the standard projection size is within the standard preset range, then it is judged that the quality of the electrical assembly to be tested is qualified; otherwise, according to the first direction difference between the first keyway direction and the standard keyway direction and the first area ratio between the first projection size and the standard projection size, the difference in the number of turns of tightening the first fixing screw is determined.

2. The image recognition method for electric energy meter assembly quality detection according to claim 1 is characterized in that: After step S5, the method further includes: In response to the electric energy meter to be tested having qualified assembly quality, installing the protective housing of the electric energy meter to be tested; In response to the protective housing being installed, collecting a second detection image of the electric energy meter to be detected; The second detection image is identified to determine whether the assembly quality of the protective shell is qualified; if so, the overall assembly of the electric energy meter to be detected is determined to be qualified; if not, the protective shell is reinstalled.

3. The image recognition method for electric energy meter assembly quality detection according to claim 1 is characterized in that: In step S3, the method further includes: Determine whether all digits on the display of the electric energy meter to be tested in the first detection image are reset to zero and aligned; if so, proceed to the next step; if not, determine that the quality of the electric energy assembly to be tested is unqualified.

4. The image recognition method for electric energy meter assembly quality detection according to claim 1 is characterized in that: Before step S5, the method further includes: During the experimental stage: obtain an experimental electric energy meter of the first type and model, and tighten the experimental fixing screws of the experimental electric energy meter; every time the experimental fixing screws are tightened by 22.5°, record the second projection size of the experimental fixing screws on the corresponding mounting component at this time, and obtain the second area ratio between the second projection size and the standard projection size; repeat this step until the experimental fixing screws are tightened, and obtain the number of turns-area ratio function relationship between the number of turns of the experimental fixing screws and the second area ratio.

5. The image recognition method for electric energy meter assembly quality detection according to claim 4 is characterized in that: In step S5, determining the difference in the number of turns of tightening the first fixing screw distance according to a first direction difference between the first keyway direction and the standard keyway direction and a first area ratio between the first projection size and the standard projection size includes: Substituting a first area ratio between the first projection size and the standard projection size into the turn number-area ratio function relationship to obtain a fuzzy turn number difference of the first fixing screw distance tightening; The specific difference in the number of turns of the first fixing screw distance tightening is determined according to the difference in the direction between the first keyway direction and the standard keyway direction and the number of circles of ambiguity.

6. The image recognition method for electric energy meter assembly quality detection according to claim 1, characterized in that: The detection station is provided with a limiting wall whose size matches that of the electric energy meter to be detected, and the limiting wall is used to fix the relative position between the electric energy meter to be detected and the first camera during the detection process.

7. The image recognition method for electric energy meter assembly quality inspection according to claim 1, characterized in that: After step S5, the method further includes: According to the difference in the number of turns of tightening the first fixing screw, the first fixing screw is screwed to ensure that the assembly quality of the electric energy meter to be tested is qualified.

8. The image recognition method for electric energy meter assembly quality detection according to claim 1, characterized in that: The wide angle of the near-focus wide angle is 60° to 120°; the distance between the lens of the first camera and the electric energy meter to be detected satisfies: Among them, H is the distance between the lens of the first camera and the electric energy meter to be detected, L is the maximum side length of the electric energy meter to be detected, θ is the wide-angle angle, and the lens of the first camera is directly above the electric energy meter to be detected.

9. An image recognition device for electric energy meter assembly quality inspection, characterized in that: The device comprises: a first camera and a recognition controller; the recognition controller comprises: an image acquisition module, a standard image acquisition module, a component comparison and judgment module, a screw installation parameter acquisition module, and a screw comparison and judgment module; The image acquisition module is used for, in response to the electric energy meter to be tested being loaded on the testing station, using the first camera to perform close-focus wide-angle shooting of the electric energy meter to be tested from a first preset angle to obtain a first testing image; wherein the electric energy meter to be tested is in a state where the protective casing is not installed; The standard image acquisition module is used to identify the first detection image and obtain the first type and model of the electric energy meter to be detected; according to the first type and model, obtain a first standard image corresponding to the first type and model; wherein the first standard image is an image of the electric energy meter of the first type and model being assembled properly, and the first standard image is obtained by shooting at a close-focus wide angle at a first preset angle; The component comparison and judgment module is used to judge whether the installation positions of the components of the electric energy meter to be tested in the first detection image are consistent with the first standard image. If so, the screw installation parameter acquisition module is operated; if not, it is judged that the assembly quality of the electric energy meter to be tested is unqualified; The screw installation parameter acquisition module is used to obtain the first keyway orientation of each first fixing screw in the first detection image and its first projection size on the corresponding installation component; obtain the standard keyway orientation of each standard fixing screw in the first standard image and its standard projection size on the corresponding installation component; The screw comparison and judgment module is used to compare the first keyway direction and the standard keyway direction and the first projection size and the standard projection size. If the first keyway direction and the quasi-keyway direction are consistent and the error between the first projection size and the standard projection size is within the standard preset range, the quality of the electrical assembly to be tested is judged to be qualified; otherwise, the difference in the number of turns of tightening the first fixing screw is determined based on the first direction difference between the first keyway direction and the standard keyway direction and the first area ratio between the first projection size and the standard projection size.

10. The image recognition device for electric energy meter assembly quality inspection according to claim 9, characterized in that: The identification controller comprises: an identification module mounted on a protective housing; The protective shell installation identification module is used to install the protective shell of the electric energy meter to be tested in response to the electric energy meter to be tested having qualified assembly quality; in response to the protective shell being installed, collect a second detection image of the electric energy meter to be tested; identify the second detection image to determine whether the assembly quality of the protective shell is qualified; if so, determine that the overall assembly of the electric energy meter to be tested is qualified; If not, reinstall the protective housing.