Method and system for detecting assembly quality of electronic cigarette

Through real-time monitoring and image comparison technology, the problem of unstable assembly of automated production equipment in electronic cigarette assembly is solved, accurate component identification and automated assembly are achieved, and production efficiency and quality are improved.

CN118896547APending Publication Date: 2024-11-05DONGGUAN SUMIDA AUTOMATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410940105.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

The existing automated production and assembly equipment lacks self-regulation functions and poor synchronization during the electronic cigarette production process, resulting in unstable assembly and difficulty in achieving accurate device assembly, affecting production efficiency and quality.

Method used

By monitoring the position and attitude of the elements to be detected in real time, using the CCD camera to collect images at preset times, extracting detection features and reference features for comparison, identifying qualified and unqualified components, and realizing accurate adjustments of automated assembly operations.

Benefits of technology

It improves the accuracy of image acquisition, can promptly detect and troubleshoot faults, adaptively adjust operating parameters, realize automatic assembly operations of the production line, and improve assembly quality and production stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118896547A_ABST
    Figure CN118896547A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of electronic cigarette assembly quality detection, and discloses an electronic cigarette assembly quality detection method and system. The detection method comprises the following steps: calculating an arrival time when a to-be-detected element moves to an acquisition position of a CCD camera according to a current transmission speed of a production line, and controlling the CCD camera to shoot at the arrival time so as to acquire an image of the to-be-detected element; and extracting predetermined detection features from the acquired image, and comparing the extracted detection features with the corresponding reference features to identify unqualified to-be-detected elements and position and attitude information of the qualified to-be-detected elements. According to the electronic cigarette assembly quality detection method provided by the invention, the unqualified to-be-detected element and the placement position posture information of the qualified to-be-detected element can be identified, so that production line operators can conveniently and timely find and troubleshoot fault reasons, and automatic assembly operation of a production line can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic cigarette assembly quality detection, and in particular to an electronic cigarette assembly quality detection method and detection system. Background Art

[0002] The e-cigarette industry has shown a rapid development trend in recent years. However, with the increasingly fierce market competition, the traditional production model can no longer meet the diversified needs of consumers. How to improve production efficiency, reduce costs and simplify process flow has become an urgent problem for e-cigarette companies to solve. Therefore, in the production process of e-cigarettes, automated production and assembly equipment has gradually been applied to the production line, which has a significant effect on improving production efficiency.

[0003] However, due to the complex assembly process of electronic cigarettes, the existing automated production and assembly equipment has no self-adjustment function and poor synchronization, and cannot reasonably match the motion mechanism, making it difficult to assemble the device in place, resulting in system instability; the influencing factors in the assembly process include:

[0004] (1) Positioning datum displacement error: the maximum displacement of the positioning datum of the same batch of workpieces along the machining dimension direction caused by the size and geometric shape errors of the positioning datum itself and the gap between the positioning datum and the positioning element;

[0005] (2) Datum misalignment error: The deviation of the dimensions of workpieces in the same batch relative to the process datum caused by the misalignment of the process datum and the positioning datum, etc.

[0006] Therefore, how to realize the detection of assembly quality on the electronic cigarette production line and improve the stability of automated production on the production line has become a technical problem to be solved urgently in this field. Summary of the invention

[0007] The present invention provides a method and system for detecting the assembly quality of an electronic cigarette, so as to solve or at least partially solve the technical problems mentioned in the above background technology.

[0008] To achieve the above object, the present invention provides the following technical solutions:

[0009] In a first aspect, the present invention provides a method for detecting the assembly quality of an electronic cigarette, comprising:

[0010] Real-time monitoring of whether the components to be inspected are flowing through the set position of the production line;

[0011] When it is monitored that the component to be inspected flows through the set position of the production line, the arrival time of the component to be inspected moving to the collection position of the CCD camera is calculated according to the current transmission speed of the production line, and the CCD camera is controlled to shoot at the arrival time to collect the image of the component to be inspected;

[0012] Extracting predetermined detection features from the captured images, and comparing the extracted detection features with corresponding reference features to identify the position and posture information of unqualified components to be detected and qualified components to be detected;

[0013] The position and posture information includes the placement position and placement posture of the component to be detected.

[0014] Optionally, the step of extracting predetermined detection features from the captured image and comparing the extracted detection features with corresponding reference features to identify the position and posture information of unqualified components to be detected and qualified components to be detected, specifically includes:

[0015] Based on the acquired image, a grayscale histogram of the component to be detected is drawn;

[0016] Performing image segmentation processing on the grayscale histogram to extract predetermined detection features;

[0017] Compare the extracted detection features with the corresponding reference features to determine whether the component to be detected is qualified;

[0018] If yes, identify the position and posture information of the component to be detected;

[0019] If not, record the unqualified detection characteristics and transfer the unqualified components to be detected to the predetermined faulty component area.

[0020] Optionally, the step of calculating the arrival time of the component to be inspected moving to the collection position of the CCD camera according to the current transmission speed of the production line, and controlling the CCD camera to shoot at the arrival time to collect the image of the component to be inspected, specifically includes:

[0021] Calculate the arrival time of the component to be inspected moving to the collection position of the CCD camera according to the current transmission speed of the production line;

[0022] According to the arrival time, the sending time of the trigger pulse signal of the CCD camera is correspondingly set; and according to the arrival time and the preset exposure time, the sending time of the trigger pulse signal of the lighting system is correspondingly set;

[0023] According to the set sending time, the lighting system and the CCD camera are controlled to work in sequence to complete the image shooting operation of the component to be inspected.

[0024] Optionally, after sequentially controlling the lighting system and the CCD camera to work according to the set sending time and completing the operation of photographing the image of the component to be inspected, the method further includes:

[0025] The captured images are stored as BMP format files.

[0026] Optionally, before the real-time monitoring of whether a component to be detected flows through a set position of the production line, the method further includes:

[0027] A position sensor is pre-arranged at a set position of the production line; the position sensor can sense the component to be detected flowing through the set position; and,

[0028] A reference feature corresponding to the predetermined detection feature is preset.

[0029] In a second aspect, the present invention provides a system for detecting the assembly quality of an electronic cigarette, comprising:

[0030] A position sensor is arranged at a set position of the production line and is used to monitor in real time whether a component to be inspected flows through the set position of the production line;

[0031] A PLC module is electrically connected to the position sensor and the CCD camera for collecting images of the components to be detected, and is used to calculate the arrival time of the components to be detected moving to the collection position of the CCD camera according to the current transmission speed of the production line when the components to be detected flow through the set position of the production line, and control the CCD camera to take pictures at the arrival time;

[0032] An image processing terminal, electrically connected to the CCD camera, for extracting predetermined detection features from the captured image, and comparing the extracted detection features with corresponding reference features to identify the position and posture information of unqualified components to be detected and qualified components to be detected;

[0033] The position and posture information includes the placement position and placement posture of the component to be detected.

[0034] Optionally, the image processing terminal includes:

[0035] An image preprocessing module, electrically connected to the CCD camera, for drawing a grayscale histogram of the component to be detected based on the acquired image;

[0036] A feature extraction module, electrically connected to the image preprocessing module, for performing image segmentation processing on the grayscale histogram to extract predetermined detection features;

[0037] A feature comparison module, electrically connected to the feature extraction module, for comparing the extracted detection features with corresponding reference features to determine whether the component to be detected is qualified; and for identifying the position and posture information of the qualified component to be detected;

[0038] The result output module is electrically connected to the feature comparison module and is used to record the detection features that do not meet the requirements and to output the result of whether the component to be detected is a qualified product.

[0039] Optionally, the PLC module is specifically used to calculate the arrival time of the component to be detected moving to the collection position of the CCD camera according to the current transmission speed of the production line;

[0040] And, used to set the sending time of the trigger pulse signal of the CCD camera according to the arrival time;

[0041] And, used to set the sending time of the trigger pulse signal of the lighting system according to the arrival time and the preset exposure time;

[0042] And, it is used to control the lighting system and the CCD camera to work in sequence according to the set sending time, so as to complete the shooting operation of the image of the component to be inspected.

[0043] Optionally, the collected image of the component to be detected is a BMP format file;

[0044] The image processing terminal also includes a memory for storing the BMP format file; and for storing a preset reference feature corresponding to the predetermined detection feature.

[0045] Optionally, the image processing terminal is an industrial computer.

[0046] Compared with the prior art, the present invention has the following beneficial effects:

[0047] The electronic cigarette assembly quality detection method provided by the present invention can accurately obtain the arrival time of the component to be detected moving to the collection position of the CCD camera, and capture the image of the component to be detected by the CCD camera when the component to be detected arrives at the designated collection position, thereby improving the accuracy of image acquisition; by comparing the predetermined detection features extracted from the collected image with the pre-set reference features, the position and posture information of unqualified components to be detected and qualified components to be detected can be identified, which not only facilitates the production line operators to promptly discover and troubleshoot the cause of the fault, but also enables the subsequent actuators of the production line to adaptively adjust their own operating parameters through the position and posture information of the component to be detected, so as to accurately move and pick up the predetermined position of the component to be detected, thereby realizing the automated assembly operation of the production line.

[0048] The present invention has other features and advantages, which will be apparent from or will be described in detail in the accompanying drawings and the following detailed description incorporated herein, which together serve to explain the specific principles of the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0050] Figure 1 This is a flow chart of a method for detecting the assembly quality of an electronic cigarette provided by an embodiment of the present invention;

[0051] Figure 2 is a flow chart of another method for detecting the assembly quality of an electronic cigarette provided by an embodiment of the present invention;

[0052] Figure 3 This is a diagram showing the comparison results of a method for detecting the assembly quality of an electronic cigarette provided in an embodiment of the present invention;

[0053] Figure 4 It is an architecture diagram of an electronic cigarette assembly quality detection system provided by an embodiment of the present invention.

[0054] Reference numerals:

[0055] 10. Position sensor; 20. PLC module; 30. Image processing terminal; 31. Memory; 32. Image preprocessing module; 33. Feature extraction module; 34. Feature comparison module; 35. Result output module. DETAILED DESCRIPTION

[0056] In order to explain in detail the possible application scenarios, technical principles, specific schemes that can be implemented, and the purposes and effects that can be achieved, the following is a detailed description of the specific embodiments listed in conjunction with the accompanying drawings. The embodiments described herein are only used to more clearly illustrate the technical solutions of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.

[0057] Reference to "embodiment" herein means that the specific features, structures or characteristics described in conjunction with the embodiment may be included in at least one embodiment of the present application. The term "embodiment" appearing in various places in the specification does not necessarily refer to the same embodiment, nor does it particularly limit its independence or association with other embodiments. In principle, in the present application, as long as there is no technical contradiction or conflict, the various technical features mentioned in the embodiments can be combined in any way to form a corresponding implementable technical solution.

[0058] Unless otherwise defined, the technical terms used in this document have the same meanings as those generally understood by those skilled in the art to which this application belongs; the use of relevant terms in this document is only for describing specific embodiments and is not intended to limit this application.

[0059] In the description of this application, the term "and / or" is an expression used to describe the logical relationship between objects, indicating that three relationships may exist, for example, A and / or B, which means: A exists, B exists, and A and B exist at the same time. In addition, the character " / " in this article generally indicates that the objects before and after are in an "or" logical relationship.

[0060] In the present application, terms such as “first” and “second” are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship of quantity, priority or sequence between these entities or operations.

[0061] Without further limitations, in this application, the words "include", "comprises", "has" or other similar expressions used in the sentences are intended to cover non-exclusive inclusion. These expressions do not exclude the presence of additional elements in the process, method or product including the elements, so that the process, method or product including a series of elements may include not only those limited elements, but also other elements not explicitly listed, or also include elements inherent to such process, method or product.

[0062] Similar to the understanding in the Examination Guidelines, in this application, expressions such as "greater than", "less than", "exceed" and the like are understood to exclude the number itself; expressions such as "above", "below", "within" and the like are understood to include the number itself. In addition, in the description of the embodiments of this application, "multiple" means more than two (including two), and similar expressions related to "multiple" are also understood in this way, such as "multiple groups", "multiple times", etc., unless otherwise clearly and specifically limited.

[0063] In the description of the embodiments of the present application, space-related expressions used, such as "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "vertical", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc., indicate the orientation or position relationship based on the orientation or position relationship shown in the specific embodiments or drawings, and are only for the convenience of describing the specific embodiments of the present application or facilitating the reader's understanding, and do not indicate or imply that the referred device or component must have a specific position, a specific orientation, or be constructed or operated in a specific orientation, and therefore cannot be understood as a limitation on the embodiments of the present application.

[0064] Unless otherwise expressly specified or limited, in the description of the embodiments of the present application, the terms such as "install", "connect", "connect", "fix", "set", etc. used should be understood in a broad sense. For example, the "connection" can be a fixed connection, a detachable connection, or an integrated setting; it can be a mechanical connection, an electrical connection, or a communication connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium; it can be the internal connection of two elements or the interaction relationship between two elements. For technicians in the technical field to which the present application belongs, the specific meanings of the above terms in the embodiments of the present application can be understood according to the specific circumstances.

[0065] Embodiment 1

[0066] Please refer to Figure 1 , Figure 1 A flow chart of a method for detecting the assembly quality of an electronic cigarette provided in this embodiment, the detection method comprising:

[0067] Presetting step 101 : pre-arranging a position sensor 10 at a set position of a production line.

[0068] The position sensor 10 can sense the component to be detected flowing through a set position.

[0069] Presetting step 102: presetting a reference feature corresponding to a predetermined detection feature.

[0070] For ease of understanding, there are many inspection items in the production and assembly process of electronic cigarettes, such as whether the heating wire is empty, whether there is no shell, whether the cotton is in place, whether the heating wire is assembled in place, whether there are foreign objects mixed in, too few / many wires, short wires, crosses, bends, deviations, etc. These inspection items can be set with some corresponding inspection features for evaluation or verification.

[0071] Step 110 , monitor in real time whether there are components to be inspected flowing through the set position of the production line; if so, execute step 120 ; if not, continue to monitor in real time whether there are components to be inspected flowing through the set position of the production line.

[0072] Step 120: Calculate the arrival time of the component to be inspected moving to the collection position of the CCD camera according to the current transmission speed of the production line, and control the CCD camera to shoot at the arrival time to collect the image of the component to be inspected.

[0073] In this step, since the transmission speed of the production line is determined or pre-set, the arrival time of the component to be detected moving to the collection position can be accurately calculated according to the current transmission speed of the production line, and then when the component to be detected arrives at the specified collection position, the image of the component to be detected can be captured by the CCD camera. Therefore, in this embodiment, the CCD camera does not need to take pictures all the time or continuously take pictures at preset intervals. It only needs to take pictures when the component to be detected arrives. This not only saves the photographing resources of the CCD camera, but also improves the accuracy of image acquisition.

[0074] Step 130 : extracting predetermined detection features from the captured image, and comparing the extracted detection features with corresponding reference features to identify the position and posture information of unqualified components to be detected and qualified components to be detected.

[0075] In this step, the position and posture information includes the placement position and placement posture of the component to be detected, and other related information that can describe the position and posture of the detection component; it should be noted that conventional image preprocessing methods can be used in this step, such as image grayscale processing, image noise reduction processing, etc., to extract feature images that can be subsequently processed in order to perform feature comparison with reference features; since the image preprocessing step is an existing technology for image recognition processing, it will not be repeated here.

[0076] This step can identify the position and posture information of unqualified components to be inspected and qualified components to be inspected by comparing the predetermined detection features extracted from the captured image with the pre-set reference features. This not only facilitates production line operators to promptly discover and troubleshoot the cause of the fault, but also enables subsequent actuators of the production line to adaptively adjust their own operating parameters through the position and posture information of the components to be inspected, so as to accurately move and pick up the predetermined parts of the components to be inspected, thereby realizing automated assembly operations of the production line.

[0077] For more details, please refer to Figure 2 , Figure 2 It is a flow chart of another method for detecting the assembly quality of an electronic cigarette provided by an embodiment of the present invention.

[0078] Step 120 specifically includes:

[0079] Step 121: Calculate the arrival time of the component to be inspected moving to the collection position of the CCD camera according to the current transmission speed of the production line.

[0080] Step 122: according to the arrival time, the sending time of the trigger pulse signal of the CCD camera is correspondingly set; and according to the arrival time and the preset exposure time, the sending time of the trigger pulse signal of the lighting system is correspondingly set.

[0081] Step 123 , according to the set sending time, control the lighting system and the CCD camera to work in sequence to complete the operation of photographing the image of the component to be inspected.

[0082] In the above steps, when the position sensor 10 detects that the detected element has moved close to the center of the field of view of the CCD camera, it will send a trigger pulse to the CCD camera. Specifically, it will send a trigger pulse to the CCD camera and the lighting system respectively according to a pre-set program and delay;

[0083] The CCD camera is in a waiting state before the trigger pulse arrives, and starts scanning after the trigger pulse arrives; the CCD camera will open the electronic shutter before starting a new frame scan, and the exposure time can also be set in advance;

[0084] Another trigger pulse is used to turn on the illumination system so that the light-on time of the illumination system matches the exposure time of the CCD camera.

[0085] Step 130 specifically includes:

[0086] Step 131: Draw a grayscale histogram of the component to be detected based on the acquired image.

[0087] Step 132: perform image segmentation processing on the grayscale histogram to extract predetermined detection features.

[0088] Step 133 , compare the extracted detection features with the corresponding reference features to determine whether the component to be detected is qualified; if so, execute step 134 ; if not, execute step 135 .

[0089] Step 134, identifying the position and posture information of the component to be detected;

[0090] Step 135 , record the detection features that do not meet the requirements, and transfer the unqualified components to be detected to a predetermined faulty component area.

[0091] For ease of understanding, illustratively, in the above steps, a clustering method can be used to cluster and roughly segment the grayscale histogram of the smoothed filtered image to obtain a rough segmentation map, and morphological corrosion and expansion operations are performed on the rough segmentation map to construct a feature image for describing the features.

[0092] Please refer to Figure 3 , Figure 3 is a comparison result display diagram of a method for detecting the assembly quality of an electronic cigarette provided by an embodiment of the present invention; Figure 3 As can be seen in the figure, for the detection features that meet the requirements, the prompt message "OK" will be displayed on the interface.

[0093] In this embodiment, the captured image is stored as a BMP file, and the image in this format can be conveniently used by an industrial computer.

[0094] Embodiment 2

[0095] Please refer to Figure 4 , Figure 4 This is an architecture diagram of an electronic cigarette assembly quality detection system provided by an embodiment of the present invention; the detection system specifically includes:

[0096] A position sensor 10 , a PLC (Programmable Logic Controller) module 20 and an image processing terminal 30 .

[0097] Specifically, the position sensor 10 is arranged at a set position of the production line, and is used to monitor in real time whether the component to be detected flows through the set position of the production line;

[0098] The PLC module 20 is electrically connected to the position sensor 10 and the CCD camera for collecting images of the components to be detected, and is used to calculate the arrival time of the components to be detected moving to the collection position of the CCD camera according to the current transmission speed of the production line when the components to be detected flow through the set position of the production line, and control the CCD camera to take pictures at the arrival time;

[0099] The image processing terminal 30 is electrically connected to the CCD camera and is used to extract predetermined detection features from the collected image and compare the extracted detection features with corresponding reference features to identify the position and posture information of unqualified components to be detected and qualified components to be detected;

[0100] The position and posture information includes the placement position and placement posture of the component to be detected.

[0101] More specifically, the image processing terminal includes:

[0102] An image preprocessing module 32, electrically connected to the CCD camera, for drawing a grayscale histogram of the component to be detected based on the acquired image;

[0103] The feature extraction module 33 is electrically connected to the image preprocessing module and is used to perform image segmentation processing on the grayscale histogram to extract predetermined detection features;

[0104] The feature comparison module 34 is electrically connected to the feature extraction module, and is used to compare the extracted detection features with the corresponding reference features to determine whether the component to be detected is qualified; and is used to identify the position and posture information of the qualified component to be detected;

[0105] The result output module 35, an electrical connection feature comparison module, is used to record the detection features that do not meet the requirements, and to output the result of whether the component to be detected is a qualified product.

[0106] More specifically, the PLC module is specifically used to calculate the arrival time of the component to be inspected moving to the collection position of the CCD camera according to the current transmission speed of the production line;

[0107] and, used to set the sending time of the trigger pulse signal of the CCD camera according to the arrival time;

[0108] And, used to set the sending time of the trigger pulse signal of the lighting system according to the arrival time and the preset exposure time;

[0109] And, it is used to control the lighting system and the CCD camera to work in sequence according to the set sending time, so as to complete the shooting operation of the image of the component to be inspected.

[0110] More specifically, the image of the component to be inspected that is collected is a BMP format file;

[0111] The image processing terminal also includes a memory 31 for storing BMP format files;

[0112] The image processing terminal 30 also includes a memory 31, which is also used to store pre-set reference features corresponding to predetermined detection features.

[0113] In this embodiment, the image processing terminal 30 is an industrial computer with image processing capability.

[0114] The electronic cigarette assembly quality inspection system provided in this embodiment can accurately control the CCD camera to capture an image of the component to be inspected when the component to be inspected arrives at the predetermined collection position, and automatically identify the position and posture information of unqualified components to be inspected and qualified components to be inspected by comparing the predetermined detection features extracted from the collected image with the corresponding reference features. This not only facilitates production line operators to promptly discover and troubleshoot the cause of the fault, but also enables subsequent actuators of the production line to adaptively adjust their own operating parameters through the position and posture information of the component to be inspected, so as to accurately move and pick up the predetermined position of the component to be inspected, thereby realizing automated assembly operations of the production line.

[0115] Embodiment 3

[0116] Embodiment 4 of the present invention provides a computer-readable storage medium on which computer-executable instructions are stored. When the instructions are executed by a processor, the method for detecting the assembly quality of an electronic cigarette provided in the above embodiment is implemented.

[0117] The computer readable medium may be a computer readable signal medium or a computer readable storage medium. More specific examples of computer readable storage media (a non-exhaustive list) include: an electrical connection with one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0118] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0119] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0120] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0121] Finally, it should be noted that although the above embodiments have been described in the specification and drawings of this application, this does not limit the scope of patent protection of this application. All technical solutions generated by replacing or modifying equivalent structures or equivalent processes based on the essential concept of this application using the contents recorded in the specification and drawings of this application, as well as directly or indirectly implementing the technical solutions of the above embodiments in other related technical fields, are included in the scope of patent protection of this application.

Claims

1. A method for detecting the assembly quality of an electronic cigarette, characterized in that: include: Real-time monitoring of whether the components to be inspected are flowing through the set position of the production line; When it is monitored that the component to be inspected flows through the set position of the production line, the arrival time of the component to be inspected moving to the collection position of the CCD camera is calculated according to the current transmission speed of the production line, and the CCD camera is controlled to shoot at the arrival time to collect the image of the component to be inspected; Extracting predetermined detection features from the captured images, and comparing the extracted detection features with corresponding reference features to identify the position and posture information of unqualified components to be detected and qualified components to be detected; The position and posture information includes the placement position and placement posture of the component to be detected.

2. A method for detecting the assembly quality of an electronic cigarette according to claim 1, characterized in that: The method of extracting predetermined detection features from the captured image and comparing the extracted detection features with corresponding reference features to identify the position and posture information of unqualified components to be detected and qualified components to be detected specifically includes: Based on the acquired image, a grayscale histogram of the component to be detected is drawn; Performing image segmentation processing on the grayscale histogram to extract predetermined detection features; Compare the extracted detection features with the corresponding reference features to determine whether the component to be detected is qualified; If yes, identify the position and posture information of the component to be detected; If not, record the unqualified detection characteristics and transfer the unqualified components to be detected to the predetermined faulty component area.

3. The method for detecting the assembly quality of an electronic cigarette according to claim 1, characterized in that: The method of calculating the arrival time of the component to be inspected moving to the collection position of the CCD camera according to the current transmission speed of the production line, and controlling the CCD camera to shoot at the arrival time to collect the image of the component to be inspected, specifically includes: Calculate the arrival time of the component to be inspected moving to the collection position of the CCD camera according to the current transmission speed of the production line; According to the arrival time, the sending time of the trigger pulse signal of the CCD camera is correspondingly set; and according to the arrival time and the preset exposure time, the sending time of the trigger pulse signal of the lighting system is correspondingly set; According to the set sending time, the lighting system and the CCD camera are controlled to work in sequence to complete the image shooting operation of the component to be inspected.

4. The method for detecting the assembly quality of an electronic cigarette according to claim 3, characterized in that: After the lighting system and the CCD camera are controlled to work in sequence according to the set sending time and the image of the component to be inspected is photographed, the method further includes: The captured images are stored as BMP format files.

5. The method for detecting the assembly quality of an electronic cigarette according to claim 1, characterized in that: Before the real-time monitoring of whether the component to be detected flows through the set position of the production line, the method further includes: Pre-arranging a position sensor at a set position of the production line; and pre-setting a reference feature corresponding to the predetermined detection feature; Wherein, the position sensor can sense the component to be detected flowing through the set position.

6. An electronic cigarette assembly quality detection system, characterized in that: include: A position sensor is arranged at a set position of the production line and is used to monitor in real time whether a component to be inspected flows through the set position of the production line; A PLC module is electrically connected to the position sensor and the CCD camera for collecting images of the components to be detected, and is used to calculate the arrival time of the components to be detected moving to the collection position of the CCD camera according to the current transmission speed of the production line when the components to be detected flow through the set position of the production line, and control the CCD camera to take pictures at the arrival time; An image processing terminal, electrically connected to the CCD camera, for extracting predetermined detection features from the captured image, and comparing the extracted detection features with corresponding reference features to identify the position and posture information of unqualified components to be detected and qualified components to be detected; The position and posture information includes the placement position and placement posture of the component to be detected.

7. The electronic cigarette assembly quality detection system according to claim 6, characterized in that: The image processing terminal comprises: An image preprocessing module, electrically connected to the CCD camera, for drawing a grayscale histogram of the component to be detected based on the acquired image; A feature extraction module, electrically connected to the image preprocessing module, for performing image segmentation processing on the grayscale histogram to extract predetermined detection features; A feature comparison module, electrically connected to the feature extraction module, for comparing the extracted detection features with corresponding reference features to determine whether the component to be detected is qualified; and for identifying the position and posture information of the qualified component to be detected; The result output module is electrically connected to the feature comparison module and is used to record the detection features that do not meet the requirements and to output the result of whether the component to be detected is a qualified product.

8. The electronic cigarette assembly quality detection system according to claim 6, characterized in that: The PLC module is specifically used to calculate the arrival time of the component to be detected moving to the collection position of the CCD camera according to the current transmission speed of the production line; And, used to set the sending time of the trigger pulse signal of the CCD camera according to the arrival time; And, used to set the sending time of the trigger pulse signal of the lighting system according to the arrival time and the preset exposure time; And, it is used to control the lighting system and the CCD camera to work in sequence according to the set sending time, so as to complete the shooting operation of the image of the component to be inspected.

9. The electronic cigarette assembly quality detection system according to claim 6, characterized in that: The image of the component to be tested is collected in the form of a BMP file; The image processing terminal also includes a memory for storing the BMP format file; and for storing a preset reference feature corresponding to the predetermined detection feature.

10. The electronic cigarette assembly quality detection system according to claim 6, characterized in that: The image processing terminal is an industrial computer.