Detection system and detection method of water level switch assembly

By designing a detection system for detecting the existence of counterweights in the water level switch assembly, the problem of difficult detection of counterweights after missing installation is solved, and the effect of improving product quality and pass rate is achieved.

CN120028873APending Publication Date: 2025-05-23GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510080155.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-19
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

In the prior art, the counterweights in the water level switch assembly are difficult to detect after being missed, resulting in a decrease in product quality and pass rate.

Method used

A detection system for a water level switch assembly is designed, including a first detection device and a control device. The first detection device is used to detect whether there is a counterweight in the switch base, and to send an electrical signal to the control device when the counterweight is detected, and the control device issues a welding command to the welding device.

Benefits of technology

Through this detection system, assembly defects can be quickly discovered, the problem of missing parts can be avoided, and the product pass rate and quality can be improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120028873A_ABST
    Figure CN120028873A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a detection system and a detection method of a water level switch assembly, and belongs to the technical field of water level switch assemblies. Wherein the first detection device is used for detecting whether a balance weight piece exists in the switch base or not, and sending a first electric signal to the control device under the condition that the balance weight piece exists in the switch base; and the control device at least sends a welding instruction to the welding equipment under the condition of receiving the first electric signal. According to the embodiment of the invention, the assembly defect can be quickly found, and the welding equipment cannot be started for welding under the condition that the heavy part is not assembled in the switch seat, so that the problem of neglected assembly of the counterweight part is effectively avoided, the water level switch assembly with the neglected assembly of the counterweight part is prevented from entering the next process, the qualified rate of products is improved, and the product quality is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of water level switch assemblies, and in particular to a detection system and a detection method for a water level switch assembly. Background Art

[0002] Currently in the field of household appliances, the water level switch assembly of a humidifier air freshener has many parts and complicated processes. It needs to be manually assembled to assemble the switch seat, foam, counterweight (such as iron sheet), and switch cover before welding. Since the water level switch assembly is a closed cavity after welding, it is impossible to visually check whether the counterweight has been assembled inside. In the related technology, it is time-consuming and labor-intensive to judge by manual weighing and shaking the product. The problem of missing counterweight directly affects the function of the water level switch, which is bound to cause customer complaints and return risks. Summary of the invention

[0003] The embodiments of the present application provide a detection system and a detection method for a water level switch assembly, so as to at least solve the technical problem that it is difficult to detect when a counterweight in a water level switch assembly is missing.

[0004] According to a first aspect of an embodiment of the present application, a detection system of a water level switch assembly is provided, wherein the water level switch assembly comprises a switch seat and a counterweight, and the detection system comprises a first detection device and a control device, wherein:

[0005] The first detection device is used to detect whether there is a counterweight in the switch seat, and send a first electrical signal to the control device when there is a counterweight in the switch seat;

[0006] The control device issues a welding instruction to the welding equipment at least when the first electrical signal is received.

[0007] By adopting this embodiment, the counterweight in the switch seat is inspected by the first detection device, and assembly defects are quickly discovered. In the case that the counterweight is missing in the switch seat, the welding equipment cannot be started for welding, thereby effectively avoiding the problem of missing counterweight and preventing the water level switch assembly with missing counterweight from entering the next process, thereby improving the product qualification rate and ensuring product quality.

[0008] In combination with the first aspect, in an optional implementation of the embodiment of the present application, the counterweight member includes a metal member, the first detection device includes a metal proximity switch, and the distance between the detection position of the switch seat and the metal proximity switch is smaller than a set distance.

[0009] In combination with the first aspect, in an optional implementation of the embodiment of the present application, the switch assembly further includes a switch cover matched with the switch seat, and the detection system further includes a second detection device, wherein:

[0010] The second detection device is used to detect the assembly gap between the switch cover and the switch seat, and send a second electrical signal to the control device when the assembly gap between the switch cover and the switch seat is within a set gap range;

[0011] The control device issues a welding instruction to the welding equipment when receiving the first electrical signal and the second electrical signal.

[0012] In combination with the first aspect, in an optional implementation of the embodiment of the present application, the second detection device includes an X-ray generator.

[0013] In combination with the first aspect, in an optional implementation of the embodiment of the present application, the detection system further includes a third detection device, which is used to detect the temperature of the welding point between the switch seat and the switch cover during the welding process of the welding equipment, and send a third electrical signal to the control device when the temperature of the welding point is greater than a set temperature;

[0014] The control device sends a control instruction to the welding equipment to stop welding when receiving the third electrical signal.

[0015] In combination with the first aspect, in an optional implementation of the embodiment of the present application, the detection system also includes a positioning device, the positioning device is provided with a positioning groove, the positioning groove is used to position the switch seat on the positioning device, the first detection device and the third detection device are both arranged on the positioning device, and the distance between the first detection device and the positioning groove is less than the set distance, and the temperature sensing part of the third detection device faces the welding area between the switch seat and the switch cover.

[0016] In combination with the first aspect, in an optional implementation of the embodiment of the present application, the detection system further includes a fourth detection device, the fourth detection device is used to capture image information of the welding area between the switch cover and the switch seat after the welding device completes welding, and send the image information to the control device;

[0017] The control device determines the welding quality of the welding area according to the image information, and determines whether the water level switch assembly is qualified according to the welding quality.

[0018] According to a second aspect of an embodiment of the present application, a detection method for a water level switch assembly is provided. The detection method is applied to the detection system provided in the first aspect of the embodiment of the present application. The detection method includes:

[0019] Determining whether a first electrical signal of a counterweight component being present in the switch seat is received;

[0020] At least when the first electrical signal is received, a welding instruction is issued to the welding equipment.

[0021] In combination with the second aspect, in an optional implementation of the embodiment of the present application, at least when the first electrical signal is received, issuing a welding instruction to the welding device includes:

[0022] In the case of receiving the first electrical signal, it is also determined whether a second electrical signal is received to determine whether the assembly gap between the switch cover and the switch base is within a set gap range;

[0023] When the second electrical signal is received, a welding instruction is issued to the welding device.

[0024] In conjunction with the second aspect, in an optional implementation of the embodiment of the present application, the detection method further includes:

[0025] During the welding process of the welding device, it is also determined whether a third electrical signal indicating that the temperature of the welding point is greater than a set temperature is received;

[0026] When the third electrical signal is received, a control instruction to stop welding is sent to the welding device.

[0027] In combination with the second aspect, in an optional implementation of the embodiment of the present application, the detection method also includes: during the welding process of the welding equipment, the welding parameters of the welding equipment are also monitored, and the welding parameters include working gas pressure, delay time, welding time and / or cooling time.

[0028] In conjunction with the second aspect, in an optional implementation of the embodiment of the present application, the detection method further includes:

[0029] After the welding equipment completes welding, image information of the welding area between the switch cover and the switch seat is also obtained;

[0030] The welding quality of the welding area is determined according to the image information, and whether the water level switch assembly is qualified or not is determined according to the welding quality.

[0031] In conjunction with the second aspect, in an optional implementation of the embodiment of the present application, determining the welding quality of the welding area according to the image information includes:

[0032] Dividing the welding area into a plurality of sub-areas, and determining the grayscale values ​​of the plurality of sub-areas respectively according to the image information;

[0033] Comparing the grayscale values ​​of the multiple sub-areas with preset grayscale values ​​respectively;

[0034] When the grayscale values ​​of the plurality of sub-areas all match the preset grayscale values, it is determined that the water level switch assembly is a qualified component. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The above and other objects, features and advantages of the present disclosure will become more apparent by describing in detail its exemplary embodiments with reference to the accompanying drawings. The accompanying drawings described below are only some embodiments of the present disclosure, and it is clear to a person skilled in the art that other accompanying drawings can be obtained from these accompanying drawings without creative work.

[0036] Figure 1 This is a disassembled diagram of the water level switch assembly.

[0037] Figure 2 It is a diagram of the detection system provided in an embodiment of the present application.

[0038] Figure 3 It is a working principle diagram of the detection system diagram provided in the embodiment of the present application.

[0039] Figure 4 This is one of the flow charts of the detection method provided in the embodiments of the present application.

[0040] Figure 5 This is the second flow chart of the detection method provided in the embodiment of the present application.

[0041] Figure 6 This is the third flow chart of the detection method provided in the embodiment of the present application.

[0042] Figure 7 This is the fourth flow chart of the detection method provided in the embodiment of the present application.

[0043] Figure 8 This is the fifth flow chart of the detection method provided in the embodiment of the present application.

[0044] Fig. 9 It is a flow chart of the detection method according to a specific example of the present application.

[0045] Fig.10 It is a structural block diagram of the control device provided in an embodiment of the present application.

[0046] The reference numerals are as follows:

[0047] 1. Water level switch assembly; 11. Switch seat; 12. Foam; 13. Counterweight; 14. Switch cover; 2. First detection device; 3. Second detection device; 4. Third detection device; 5. Fourth detection device; 6. Light barrier device; 7. Control device; 8. Welding equipment; 9. Operating table; 10. Positioning device; 100. Processor; 200. Communication bus; 300. User interface; 400. External communication interface; 500. Memory. DETAILED DESCRIPTION

[0048] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0049] It should be understood that the "multiple" mentioned herein refers to two or more. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in order to facilitate the clear description of the technical solution of the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and the like are used to distinguish between the same items or similar items with basically the same functions and effects. Those skilled in the art can understand that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not limit them to be necessarily different.

[0050] In addition, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus that includes a series of steps or elements is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not explicitly listed or inherent to such process, method, product, or apparatus.

[0051] In the related art, it is usually necessary to manually weigh and shake the product to determine whether the water level switch assembly is missing a weight. This detection method is time-consuming and labor-intensive, and has low detection efficiency and accuracy.

[0052] In order to solve the above technical problems, this embodiment proposes a detection system and a detection method for a water level switch assembly. The water level switch assembly includes a switch seat and a counterweight. The detection system includes a first detection device and a control device, wherein:

[0053] The first detection device is used to detect whether there is a counterweight in the switch seat, and send a first electrical signal to the control device when there is a counterweight in the switch seat;

[0054] The control device sends a welding instruction to the welding equipment at least when the first electrical signal is received.

[0055] In this embodiment, the counterweight in the switch seat is inspected by the first detection device to quickly discover assembly defects, and the welding equipment cannot be started when the counterweight is missing in the switch seat, thereby effectively avoiding the problem of missing counterweight and preventing the water level switch assembly with missing counterweight from entering the next process, thereby improving the product qualification rate and ensuring product quality.

[0056] The technical solution of this embodiment is described in detail below in conjunction with the accompanying drawings. The following implementation modes and examples may be combined with each other if there is no conflict.

[0057] This embodiment provides a detection system for a water level switch assembly 1, wherein the water level switch assembly 1 includes a switch seat 11 and a counterweight 13. Figure 2 As shown, the detection system includes a first detection device 2 and a control device 7, wherein:

[0058] The first detection device 2 is used to detect whether there is a counterweight 13 in the switch seat 11. The type of the first detection device 2 can be determined according to the type of the counterweight 13. In one example, the counterweight 13 includes a metal member, and illustratively, the metal member is an iron sheet. The first detection device 2 includes a metal proximity switch. Since the metal member is located in the inner cavity of the switch seat 11, the distance between the detection position of the switch seat 11 and the metal proximity switch should be less than the set distance to avoid false detection due to the switch seat 11 exceeding the sensing distance of the metal proximity switch. Schematically, the value range of the set distance is less than or equal to 2 mm.

[0059] After the first detection device 2 detects the counterweight 13 and the counterweight 13 exists in the switch seat 11, the first detection device 2 sends a first electrical signal to the control device 7. The control device 7 sends a welding instruction to the welding device 8 at least when receiving the first electrical signal. The welding device 8 is, for example, an ultrasonic welding machine. The first detection device 2 will not send the first electrical signal to the control device 7 when the counterweight 13 is not detected, and will alarm at the same time, and re-detect after the counterweight 13 is manually assembled. The control device 7 will not send a welding instruction to the welding device 8 when it does not receive the first electrical signal, so that the welding device 8 cannot be started, so as to prevent the welding process from being fooled and effectively prevent the counterweight 13 from being leaked.

[0060] In this embodiment, the first detection device 2 is used to automatically detect the counterweight 13 in the switch base 11. Compared with the traditional manual detection, it can timely detect the internal assembly defects of the switch base 11, improving the detection efficiency and accuracy. Moreover, in this embodiment, the detection of the counterweight 13 is linked with the welding device 8. Only when the counterweight 13 is detected in the switch base 11 can the welding device 8 be started. When the counterweight 13 is not detected in the switch base 11, the welding device 8 cannot be started, effectively preventing unqualified products with missing counterweights 13 from entering the next welding process, thus ensuring product quality and improving the product qualification rate.

[0061] The switch assembly further includes a switch cover 14 that cooperates with the switch base 11. The entire assembly process of the switch assembly is as follows: First, the foam 12 and the iron sheet are sequentially installed in the switch base 11, then the switch cover 14 is capped on the switch base 11, and finally the switch cover 14 and the switch base 11 are welded and connected.

[0062] In an optional implementation, the detection system further includes a second detection device 3, where: The second detection device 3 is used to detect the assembly gap between the switch cover 14 and the switch base 11, and send a second electrical signal to the control device 7 when the assembly gap between the switch cover 14 and the switch base 11 is within the set gap range.

[0063] Exemplarily, the second detection device 3 includes an X-ray generator. After the switch cover 14 and the switch base 11 are assembled in place, the X-ray generator is started to emit X-rays to monitor the assembly gap between the switch cover 14 and the switch base 11, because too large an assembly gap between the switch cover 14 and the switch base 11 will cause quality defects. If the assembly gap after the switch cover 14 and the switch base 11 are assembled in place is within the set range, a second electrical signal is sent to the control device 7. If the assembly gap after the switch cover 14 and the switch base 11 are assembled in place is not within the set range, the alarm stops operating, and the workpiece needs to be manually removed for correction.

[0064] Exemplarily, the set range is between 0.05 mm and 0.1 mm.

[0065] The control device 7 can send a welding instruction to the welding device 8 when receiving the first electrical signal and the second electrical signal, and the welding device 8 welds the switch base 11 and the switch cover 14.

[0066] In this embodiment, by detecting the assembly gap between the switch base 11 and the switch cover 14 before welding the switch base 11 and the switch cover 14, ensuring that the assembly gap between the switch base 11 and the switch base 11 is within the set range and that there is a counterweight 13 in the switch base 11, the welding device 8 is operated to perform the welding action only when both conditions are met, further improving the product quality.

[0067] The detection process of the counterweight 13 of this embodiment can be performed before the switch cover 14 is installed, and can also be performed after the switch cover 14 is installed.

[0068] In one example, the detection process of the counterweight 13 is performed after the switch cover 14 is installed. The first detection process of the first detection device 2 detecting the existence of the counterweight 13 in the switch base 11 and the second detection process of the second detection device 3 detecting the assembly gap between the switch base 11 and the switch cover 14 can be performed simultaneously, or they can be performed successively, that is, the first detection process is performed first and then the second detection process, or the second detection process is performed first and then the first detection process. When the control device 7 receives the first electrical signal that the counterweight 13 exists in the switch base 11 and the second electrical signal that the assembly gap between the switch cover 14 and the switch base 11 is within the set range, the control device 7 sends a welding instruction to the welding device 8, and the welding device 8 performs welding processing on the switch cover 14 and the switch base 11.

[0069] In another example, the detection process of the counterweight 13 is performed before the switch cover 14 is installed. The switch cover 14 is assembled on the switch base 11 only when it is determined that the counterweight 13 exists in the switch base 11. After the switch cover 14 and the switch base 11 are assembled in place, the second detection device 3 is used to detect the assembly gap between the switch base 11 and the switch cover 14. When the control device 7 receives a first electrical signal indicating that the counterweight 13 exists in the switch base 11 and a second electrical signal indicating that the assembly gap between the switch cover 14 and the switch base 11 is within a set range, the control device 7 sends a welding instruction to the welding equipment 8, and the welding equipment 8 performs welding processing on the switch cover 14 and the switch base 11.

[0070] In other possible implementations, when the quality standards of the switch cover 14 and the switch base 11 are high, the assembly gap between the switch cover 14 and the switch base 11 is strictly controlled and the error is small, the assembly gap between the switch cover 14 and the switch base 11 may not be detected, and the control device 7 sends a welding instruction to the welding equipment 8 when receiving the first electrical signal.

[0071] In an optional implementation, the detection system further includes a third detection device 4. During the welding process of the welding device 8, the third detection device 4 is used to detect the temperature of the welding point between the switch base 11 and the switch cover 14. The third detection device 4 is, for example, a spot temperature meter. During the welding process of the switch cover 14 and the switch base 11 by the welding device 8, the third detection device 4 monitors the temperature of the welding point in real time. When the temperature of the welding point is greater than the set temperature, a third electrical signal is sent to the control device 7. The set temperature range is, for example, 105°C to 120°C. Upon receiving the third electrical signal, the control device 7 sends a control instruction to stop welding to the welding device 8. The welding device 8 automatically stops welding, and the workpiece needs to be manually removed to avoid the problem of easy deformation of the weld and loose welding, which affects the product quality.

[0072] In an optional implementation, Figure 2 As shown, the detection system also includes a positioning device 10, which is provided with a positioning groove. The positioning groove is used to position the switch seat 11 on the positioning device 10. During the detection process of the docking water level switch assembly 1, the switch seat 11 can be placed in the positioning groove to ensure the accuracy of the detection result.

[0073] Exemplarily, the positioning device 10 is provided on the operating table 9 of the welding equipment 8. The positioning device 10 is, for example, a lower mold fixed to the operating table 9, and a positioning groove is provided in the lower mold. The detection process and the welding process of the docking water level switch assembly 1 are performed at the same position without changing the position, thereby improving the assembly efficiency of the docking water level switch assembly 1. In other achievable embodiments, the operating table 9 of the welding equipment 8 is the positioning device 10, and the positioning groove is provided on the operating table 9.

[0074] The first detection device 2 and the third detection device 4 are both arranged on the positioning device 10, and the distance between the first detection device 2 and the positioning groove is less than the set distance, so as to ensure that the switch seat 11 is placed in the positioning groove to meet the sensing distance requirement of the first detection device 2, and there is no need to adjust the first detection distance and the position of the switch seat 11, thereby improving the convenience of detection. The temperature sensing part of the third detection device 4 faces the welding area between the switch seat 11 and the switch cover 14, so as to ensure the accuracy of the third detection device 4 in detecting the temperature of the welding point.

[0075] In an optional implementation, during the welding process of the welding device 8, the control device 7 also monitors the welding parameters of the welding device 8, and the welding parameters include working pressure, delay time, welding time and / or cooling time. Exemplarily, the working pressure A of the welding device 8 is between 0.3Mpa and 0.6Mpa, the delay time B is between 0.5s and 0.1s, the welding time C is between 0.8s and 0.12s, and the cooling time D is between 0.8s and 0.12s. In the case that the welding parameters of the welding device 8 are not within the predetermined range, the welding parameters are adjusted to ensure the welding quality.

[0076] In an optional implementation, the detection system further includes a fourth detection device 5, which is used to capture image information of the welding area between the switch cover 14 and the switch seat 11 after the welding device 8 completes welding, and send the image information to the control device 7. The control device 7 determines the welding quality of the welding area according to the image information, and determines whether the water level switch assembly 1 is qualified according to the welding quality.

[0077] Specifically, the fourth detection device 5 scans and images the welding area between the switch cover 14 and the switch seat 11. The fourth detection device 5 is, for example, a CCD camera. In order to improve the quality of the picture shooting, the light barrier device 6 can also be used to fill in the light during the shooting process. The image data is transmitted to the control device 7, and the control device 7 analyzes and calculates the gray value of the image. The gray value is expressed between 0 and 255, 0 is black, 255 is white, and the larger the gray value, the higher the welding quality. The defects generated during welding generally include quality defects such as over-melting, insufficient welding, and uneven welding. The gray value of the qualified welding quality is pre-stored in the computer processor as teaching data, and the gray value of the welding area is compared with the teaching data to see if it is qualified. When the gray value of the welding area is consistent with the gray value of the qualified teaching, it is identified as a qualified part. The qualified product enters the next process. After the unqualified part is detected, an alarm will be issued. The unqualified part is manually repaired according to different defects. For example, defects such as over-melting, insufficient welding, and uneven welding will be eliminated for manual correction.

[0078] In order to improve the accuracy of the welding quality detection of the welding area, in a preferred embodiment, the control device 7 first divides the welding area into multiple sub-areas, and determines the grayscale values ​​of the multiple sub-areas according to the image information. Then, the grayscale values ​​of the multiple sub-areas are compared with the preset grayscale values. If the grayscale values ​​of the multiple sub-areas match the preset grayscale values, the water level switch assembly 1 is determined to be qualified, otherwise it is unqualified.

[0079] For example, the welding area is divided into 10 sub-areas with 1mm above and 1mm below. The grayscale values ​​of the 10 small blocks after welding are compared with the teaching data to see if they are qualified. The specific principle is as follows: the grayscale values ​​of each defect are different, and a fixed defect will appear in a fixed area position. The welding area is refined into 10 small areas to facilitate the distinction of defects and identification of defect locations. Then the grayscale values ​​of multiple sub-areas are compared and analyzed with the preset grayscale values. When the grayscale value of each sub-area is consistent with the grayscale value of the qualified teaching, it is identified as a qualified part, otherwise it is an unqualified part.

[0080] This embodiment relies on photographic imaging to automatically detect defects at the weld joints of the water level switch assembly 1, and performs logical analysis of the images to achieve the purpose of detecting weld defects in the workpiece, thereby further improving product quality.

[0081] In a specific example, referring to Figure 3The working principle diagram of the detection system. During the detection process, the switch base is first positioned in the lower mold, and then the switch base is detected to see if there are configuration parts. After the switch base is detected to have configuration parts, the switch cover and the switch base are assembled, and then the X-ray generator is started to issue a detection command, and the gap between the switch base and the switch cover is detected using X-rays to detect whether the switch cover is in place (i.e., the assembly gap is too large). If the detection fails, the alarm device stops working, and the workpiece needs to be manually removed for correction. If there is no abnormality in the detection, the signal is transmitted to the welding machine through the PLD to start automatic welding. During the automatic welding process, the welding parameters and solder joint temperature are monitored. After the welding is completed, the welding area is photographed by the CCD camera, and the photographed photos are sent to the control device. The grayscale value of the photo is calculated and analyzed by the control device, and the welding quality of the welding area is determined based on the grayscale value.

[0082] This embodiment also proposes a detection method for the water level switch assembly 1, which is applied to the detection system proposed above, referring to Figure 4 The detection method comprises the following steps:

[0083] S41, determining whether a first electrical signal of the existence of the counterweight 13 in the switch seat 11 is received,

[0084] S42. At least upon receiving the first electrical signal, send a welding instruction to the welding device 8.

[0085] In an optional implementation, referring to Figure 5 The flowchart of the invention includes the following steps: at least when the first electrical signal is received, sending a welding instruction to the welding device 8.

[0086] S51, in the case of receiving the first electrical signal, further determining whether a second electrical signal indicating that the assembly gap between the switch cover 14 and the switch base 11 is within a set gap range is received;

[0087] S52 . When the second electrical signal is received, a welding instruction is sent to the welding device 8 .

[0088] In an optional implementation, referring to Figure 6 The detection method further comprises the following steps:

[0089] S61, during the welding process of the welding device 8, it is also determined whether a third electrical signal indicating that the temperature of the welding point is greater than the set temperature is received;

[0090] S62: When the third electrical signal is received, a control instruction to stop welding is sent to the welding device 8.

[0091] In an optional implementation, the detection method further includes: during the welding process of the welding equipment 8, the welding parameters of the welding equipment 8 are also monitored, and the welding parameters include working gas pressure, delay time, welding time and / or cooling time.

[0092] In an optional implementation, referring to Figure 7 The detection method further comprises the following steps:

[0093] S71, after the welding device 8 completes welding, image information of the welding area between the switch cover 14 and the switch base 11 is also obtained;

[0094] S72, determining the welding quality of the welding area according to the image information, and determining whether the water level switch assembly 1 is qualified according to the welding quality.

[0095] In an optional implementation, referring to Figure 8 The flow chart of determining the welding quality of the welding area according to the image information includes the following steps:

[0096] S81, dividing the welding area into multiple sub-areas, and determining the grayscale values ​​of the multiple sub-areas respectively according to the image information;

[0097] S82, comparing the grayscale values ​​of the multiple sub-regions with the preset grayscale values ​​respectively;

[0098] S83. When the grayscale values ​​of the plurality of sub-areas match the preset grayscale values, it is determined that the water level switch assembly 1 is a qualified component.

[0099] The above control method has been introduced in detail in the detection system embodiment part and will not be repeated here.

[0100] In the above-mentioned embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The steps shown in the relevant flow chart can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flow chart, in some cases, the steps shown or described can be executed in an order different from that here. In other words, the order of steps described in the foregoing embodiments is only an example, and it is also within the scope of protection of the embodiments of the present application to reasonably adjust the order of steps based on the content of the embodiments of the present application.

[0101] In a specific implementation of the embodiment of the present application, refer to Fig. 9 The detection method of the water level switch assembly 1 includes the following processing flow:

[0102] The detection system is turned on, the switch base 11 is positioned on the lower die, and the metal proximity switch installed on the lower die detects whether the switch base 11 is missing a metal part. If the metal part is missing, the detection system is shut down and re-detected after the metal part is assembled to the switch base 11.

[0103] If metal parts are detected, an X-ray generator is used to detect whether the assembly gap between the switch cover 14 and the switch base 11 is qualified. If the assembly gap between the switch cover 14 and the switch base 11 is within the set gap range, it is considered qualified and enters the next process. If the assembly gap is no longer within the set range, the defective parts are marked and manually sorted off the line.

[0104] When the assembly gap between the switch cover 14 and the switch base 11 is qualified, the switch cover 14 and the switch base 11 are welded by using the welding equipment 8, and whether the welding parameters are qualified is monitored at the same time. If not, the machine is stopped to adjust the welding parameters. If qualified, a spot temperature meter is used to detect the soldering point temperature and determine whether the soldering point temperature is qualified.

[0105] If the soldering point temperature is unqualified, the defective parts will be marked and manually sorted off the line. If the soldering point temperature is qualified, the soldering point area will be photographed with a CCD camera after welding is completed, and the welding quality of the welding area will be analyzed based on the photographed image. If qualified, they will be manually packaged. If unqualified, the defective parts will be marked and manually sorted off the line.

[0106] In general, this embodiment uses the first detection device 2 to realize automatic detection of the counterweight 13 in the base, thereby improving the detection efficiency of the counterweight 13, and the welding device 8 can only be started when the counterweight 13 is detected, and the welding device 8 cannot be started when the counterweight 13 is detected. This effectively avoids the product without the counterweight 13 from flowing into the next welding process and reducing the product quality. Furthermore, this embodiment starts the welding device 8 for welding only when it is detected that the switch base 11 is equipped with a configuration part, and the assembly gap between the switch cover 14 and the switch base 11 is within the set gap range, which effectively ensures the welding quality between the switch cover 14 and the switch base 11, and ensures the connection reliability between the two.

[0107] In addition, this embodiment also monitors the welding parameters and welding point temperature during the welding process to further ensure the welding quality and improve the product qualification rate. After the welding is completed, the welding quality of the welding area is determined by acquiring an image of the welding area and analyzing the gray value of the welding area image, thereby effectively detecting different types of welding defects and realizing efficient and accurate detection of welding defects.

[0108] An embodiment of the present application also provides a control device, including a memory and a processor, wherein the memory stores a detection method for a water level switch assembly, and the processor is used to adopt the above-mentioned detection method for the water level switch assembly when executing the detection method for the water level switch assembly.

[0109] Specifically, Fig.10 As shown, the control device includes a processor 100, at least one communication bus 200, a user interface 300, at least one external communication interface 400 and a memory 500. The communication bus 200 is configured to realize the connection and communication between these components. The user interface 300 may include a display screen, and the external communication interface 400 may include a standard wired interface and a wireless interface. The memory 500 stores a detection method of a water level switch assembly. The processor 100 is used to adopt the above method when executing the detection method of the water level switch assembly stored in the memory 500.

[0110] The description of the control device is similar to the description of the method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the control device of the present application, please refer to the description of the method embodiment of the present application for understanding.

[0111] The sequence of serial numbers or introduction of the embodiments of the present application is for description only and does not represent the superiority or inferiority of the embodiments.

[0112] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0113] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0114] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0115] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access, or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital versatile disc (DVD)), or a semiconductor medium (e.g., a solid state disk (SSD)). It is worth noting that the computer-readable storage medium mentioned in the embodiment of the present application may be a non-volatile storage medium, in other words, a non-transient storage medium.

[0116] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.) and signals involved in the embodiments of this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the scene data of the current frame in the three-dimensional virtual scene, the device information of the client, and the scene interaction information involved in the embodiments of this application are all obtained with full authorization.

[0117] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A detection system for a water level switch assembly, the water level switch assembly comprising a switch seat and a counterweight, characterized in that: The detection system comprises a first detection device and a control device, wherein: The first detection device is used to detect whether there is a counterweight in the switch seat, and send a first electrical signal to the control device when there is a counterweight in the switch seat; The control device issues a welding instruction to the welding equipment at least when the first electrical signal is received.

2. The detection system of the water level switch assembly according to claim 1, characterized in that: The counterweight member includes a metal member, the first detection device includes a metal proximity switch, and the distance between the detection position of the switch seat and the metal proximity switch is smaller than a set distance.

3. The detection system of the water level switch assembly according to claim 1 or 2, characterized in that: The switch assembly further includes a switch cover matched with the switch seat, and the detection system further includes a second detection device, wherein: The second detection device is used to detect the assembly gap between the switch cover and the switch seat, and send a second electrical signal to the control device when the assembly gap between the switch cover and the switch seat is within a set gap range; The control device issues a welding instruction to the welding equipment when receiving the first electrical signal and the second electrical signal.

4. The detection system of the water level switch assembly according to claim 3, characterized in that: The second detection device includes an X-ray generator.

5. The detection system of the water level switch assembly according to claim 3, characterized in that: The detection system further comprises a third detection device, which is used to detect the temperature of the welding point between the switch seat and the switch cover during the welding process of the welding device, and send a third electrical signal to the control device when the temperature of the welding point is greater than the set temperature; The control device sends a control instruction to the welding equipment to stop welding when receiving the third electrical signal.

6. The detection system of the water level switch assembly according to claim 5, characterized in that: The detection system also includes a positioning device, which is provided with a positioning groove, and the positioning groove is used to position the switch seat on the positioning device. The first detection device and the third detection device are both arranged on the positioning device, and the distance between the first detection device and the positioning groove is smaller than the set distance, and the temperature sensing part of the third detection device faces the welding area between the switch seat and the switch cover.

7. The detection system of the water level switch assembly according to claim 5, characterized in that: The detection system further includes a fourth detection device, which is used to capture image information of the welding area between the switch cover and the switch seat after the welding equipment completes welding, and send the image information to the control device; The control device determines the welding quality of the welding area according to the image information, and determines whether the water level switch assembly is qualified according to the welding quality.

8. A method for detecting a water level switch assembly, characterized in that: The detection method is applied to the detection system according to any one of claims 1 to 7, and the detection method comprises: Determining whether a first electrical signal of a counterweight component being present in the switch seat is received; At least when the first electrical signal is received, a welding instruction is issued to the welding equipment.

9. The method for detecting a water level switch assembly according to claim 8, characterized in that: The step of sending a welding instruction to the welding device at least upon receiving the first electrical signal comprises: In the case of receiving the first electrical signal, it is also determined whether a second electrical signal is received to determine whether the assembly gap between the switch cover and the switch base is within a set gap range; When the second electrical signal is received, a welding instruction is issued to the welding device.

10. The method for detecting a water level switch assembly according to claim 8, characterized in that: The detection method further comprises: During the welding process of the welding device, it is also determined whether a third electrical signal indicating that the temperature of the welding point is greater than a set temperature is received; When the third electrical signal is received, a control instruction to stop welding is sent to the welding device.

11. The method for detecting a water level switch assembly according to claim 8, characterized in that: The detection method further comprises: during the welding process of the welding equipment, the welding parameters of the welding equipment are also monitored, and the welding parameters include working gas pressure, delay time, welding time and / or cooling time.

12. The method for detecting a water level switch assembly according to any one of claims 8 to 11, characterized in that: The detection method further comprises: After the welding equipment completes welding, image information of the welding area between the switch cover and the switch seat is also obtained; The welding quality of the welding area is determined according to the image information, and whether the water level switch assembly is qualified or not is determined according to the welding quality.

13. The method for detecting a water level switch assembly according to claim 12, characterized in that: Determining the welding quality of the welding area according to the image information includes: Dividing the welding area into a plurality of sub-areas, and determining the grayscale values ​​of the plurality of sub-areas respectively according to the image information; Comparing the grayscale values ​​of the plurality of sub-regions with preset grayscale values ​​respectively; When the grayscale values ​​of the plurality of sub-areas all match the preset grayscale values, it is determined that the water level switch assembly is a qualified component.