Buckle structure, control cabinet and detection method of control cabinet

CN122995064APending Publication Date: 2026-10-27ZHUHAI GREE INTELLIGENT EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611168321.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-03
Publication Date
2026-10-27

AI Technical Summary

Technical Problem

[0003]本发明的主要目的在于提供一种卡扣结构、控制柜及控制柜的检测方法,以解决现有技术中的因设置机械锁的方式导致柜门和柜体误被打开,系统无法及时知晓并切断电源,导致出现触电的风险问题,进而满足对工业设备等高标准的要求

Benefits of technology

[0038]应用本发明的技术方案,通过将磁钢座组件固定于可转动的扣合主体上,利用柜门开闭带动扣合主体转动,进而改变磁钢座与感应元件之间的相对位置,使得感应元件能够精准捕捉磁场变化并输出闭合或断开信号。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122995064A_ABST
    Figure CN122995064A_ABST
Patent Text Reader

Abstract

The application provides a buckle structure, a control cabinet and a detection method of the control cabinet. The buckle structure is arranged on a mounting base. The mounting base comprises a body part and a cover plate part. The cover plate part is provided with a buckling part. The buckle structure comprises a buckle main body and a sensing element. The sensing element is arranged on the buckle main body. A buckling main body is rotatably arranged on the buckle main body. The buckling main body has a buckling end part which can be locked and buckled with the cover plate part. A magnetic steel seat assembly is arranged on the buckling main body. The magnetic field change formed by the magnetic steel seat assembly is sensed by the sensing element, and a corresponding sensing signal is generated. A controller is connected with the sensing element. The mounting base is powered on or powered off according to the type of the sensing signal. The control cabinet of the robot in the prior art is caused to be mistakenly opened due to the setting of the mechanical lock. The system cannot timely know and cut off the power supply, resulting in the risk of electric shock. The high standard requirements of high-end equipment such as industrial equipment are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of robotics technology, and more specifically, to a snap-fit ​​structure, a control cabinet, and a method for testing the control cabinet. Background Technology

[0002] In the field of industrial robot applications, the robot control cabinet, as the core control unit of the industrial robot, requires frequent maintenance and repair. To facilitate maintenance and repair, existing technologies commonly employ snap-fit ​​structures for quick assembly and disassembly of the cabinet door. However, this type of snap-fit ​​structure only solves the connection problem of the robot control cabinet's mechanical structure and poses serious safety hazards. Especially during robot operation, if an operator accidentally opens the control cabinet door, it may lead to electric shock or injury to personnel from moving robot parts. Furthermore, traditional snap-fit ​​structures cannot promptly cut off power or pause robot movement when the cabinet is open, resulting in delayed safety protection measures and failing to meet the high standards of inherent safety required for industrial equipment. Summary of the Invention

[0003] The main objective of this invention is to provide a snap-fit ​​structure, a control cabinet, and a method for detecting the control cabinet, so as to solve the problem in the prior art where the cabinet door and cabinet body are accidentally opened due to the mechanical lock, and the system cannot detect and cut off the power in time, resulting in the risk of electric shock, thereby meeting the high standards required for industrial equipment.

[0004] To achieve the above objectives, according to one aspect of the present invention, a snap-fit ​​structure is provided for mounting on a mounting base. The mounting base includes a body portion and a cover portion for opening or closing the body portion. The cover portion is provided with a fastening portion. The snap-fit ​​structure includes:

[0005] The buckle body and the sensing element are arranged on the buckle body;

[0006] The fastening body and the magnet seat assembly are rotatably mounted on the snap-fit ​​body. The fastening body has a fastening end that can be locked and fastened with the cover plate. The magnet seat assembly is mounted on the fastening body so as to sense the change in the magnetic field formed by the magnet seat assembly through the sensing element and generate a corresponding sensing signal according to the change in the magnetic field. The types of sensing signals include closing signals and opening signals.

[0007] The controller connects to the sensing element to energize or de-energize the mounting base according to the type of sensing signal.

[0008] Furthermore, the buckle body is provided with a mounting groove, and at least a portion of the sensing element is disposed within the mounting groove;

[0009] The snap-fit ​​structure also includes a snap-fit ​​cover plate that is detachably mounted on the snap-fit ​​body to open or close the mounting slot;

[0010] The end of the mounting slot furthest from the sensing element is connected to the outside, so that at least a portion of the sensing element can be led out to the outside through the slot.

[0011] Furthermore, the main body of the buckle also includes:

[0012] A clamping unit, at least a portion of which is deformably disposed within a mounting groove, includes two first clamping elements disposed on two groove walls of the mounting groove along a first direction to form a clamping space. A sensing element is located within the clamping space to apply a first clamping force to the sensing element through the first clamping elements. The mounting groove extends along a second direction, which intersects with the first direction.

[0013] Furthermore, the clamping unit also includes:

[0014] A second clamping element is disposed on the side of the snap-on cover plate that is relatively close to the sensing element. At least a portion of the second clamping element is deformably disposed such that when the snap-on cover plate closes the mounting slot, at least a portion of the second clamping element contacts the sensing element to apply a second clamping force to the sensing element.

[0015] Furthermore, the first clamping element includes:

[0016] At least two first mounting parts are provided on the groove wall, and the at least two first mounting parts form a first mounting space;

[0017] The first interpenetrating part is interpenetratingly disposed within the first installation space;

[0018] A first deformation part is disposed on a first insertion part, and the first deformation part has a contact surface that contacts the sensing element;

[0019] The first deformation part has an initial state and a deformation state. When it is in the initial state, the contact surface is separated from the sensing element. When it is in the deformation state, the contact surface is in contact with the sensing element.

[0020] Furthermore, the two groove walls of the mounting groove along the first direction are respectively provided with a first sliding part extending along the first direction, and the snap cover is provided with a second sliding part extending along the first direction, and the first sliding part and the second sliding part are slidably engaged; wherein, the length of the first sliding part and / or the second sliding part along the first direction is less than the length of the mounting groove along the first direction.

[0021] Furthermore, the snap-fit ​​structure also includes an alarm component mounted on the mounting base. The alarm component is connected to the controller to trigger an alarm when the type of the sensing signal is a disconnect signal.

[0022] Furthermore, the fastening elements include:

[0023] Support components are mounted on the buckle body;

[0024] The snap-on unit is rotatably mounted on the support member and has a snap-on end.

[0025] Furthermore, the snap-on unit includes:

[0026] The first buckle plate and the second buckle plate are connected to each other. One end of the first buckle plate is rotatably mounted on the support member. The first end of the second buckle plate is connected to the end of the first buckle plate that is away from the support member. The second end of the second buckle plate is provided with a fastening end.

[0027] The first snap plate, the second snap plate, and the snap-fit ​​end all extend in different directions, and the magnetic base assembly is disposed on the second snap plate.

[0028] Furthermore, a first conductive contact is provided on the snap-fit ​​end, which is connected to the grounding terminal of the controller via a wire. A second conductive contact is provided on the snap-fit ​​part, which is connected to the I / O port of the controller via a wire. When the first conductive contact and the second conductive contact are in contact or disconnected, a contact signal is generated. The contact signal types include on signal and off signal. The controller is also used to control the on / off or off of the mounting base according to the type of contact signal.

[0029] According to another aspect of the present invention, a control cabinet is provided, including a cabinet body and a snap-fit ​​structure disposed on the cabinet body, the snap-fit ​​structure being the snap-fit ​​structure described above, and the cabinet body forming an installation base.

[0030] According to another aspect of the present invention, a method for detecting a control cabinet is provided, the method being applied to the control cabinet described above, the method comprising:

[0031] The sensing signal emitted by the sensing element in the snap-fit ​​structure is obtained, so as to determine the snap-fit ​​relationship between the snap-fit ​​body and the snap-fit ​​body based on the sensing signal. The sensing signal includes a closing signal and an opening signal. When it is in the closing signal state, the sensing element is in the low level state, and when it is in the opening signal state, the sensing element is in the high level state.

[0032] When the sensing signal is a closed signal, the fastening body and the snap-fit ​​body are in the fastening state, and the power is controlled to the installation base.

[0033] When the sensing signal is a disconnect signal, the fastening body and the snap-fit ​​body are in the open state, and the power to the installation base is cut off.

[0034] Furthermore, the testing methods for control cabinets also include:

[0035] When the sensing signal is an open signal, the contact signal between the first conductive contact and the second conductive contact in the snap-fit ​​structure is obtained. The contact signal is either an open signal or an open signal.

[0036] When the contact signal is a power-off signal, the control cuts off the power to the installation base and issues a first alarm message, which indicates that the fastening body and the snap-fit ​​body are in the open state.

[0037] When the contact signal is in the on state, the control continues to energize the mounting base and issues a second alarm message. The second alarm message indicates that the fastening body and the latching body are in the closed state and the sensing element is malfunctioning.

[0038] By applying the technical solution of this invention, the magnetic base assembly is fixed to the rotatable fastening body, and the opening and closing of the cabinet door drives the fastening body to rotate, thereby changing the relative position between the magnetic base and the sensing element, so that the sensing element can accurately capture the magnetic field change and output a closing or opening signal.

[0039] This non-contact magnetic induction detection method eliminates the problems of contact wear, jitter, and short lifespan caused by frequent friction in traditional mechanical microswitches, ensuring the stability and high reliability of signal output under long-term vibration conditions in industrial environments.

[0040] The controller directly controls the power supply to or off of the installation foundation based on the type of induction signal. When the cabinet door is accidentally opened or not locked as required, the induction signal immediately triggers the controller to cut off the main power supply and lock the robot's movement command, thus eliminating electric shock accidents caused by live work and mechanical damage caused by the robot's moving parts, meeting the high standards of inherent safety requirements for industrial equipment.

[0041] This snap-fit ​​structure highly integrates sensing, driving, and actuating components into a single snap-fit ​​unit, eliminating the need for separate sensors or complex limit switches on the outside of the cabinet, saving installation space and simplifying wiring. Simultaneously, by utilizing the synchronous movement of the magnetic base assembly with the snap-fit ​​body, it achieves integrated mechanical locking and status detection, reducing the overall system failure rate and maintenance costs, and improving assembly efficiency and ease of operation; thus meeting the high standards required for high-end equipment such as industrial equipment. Attached Figure Description

[0042] The accompanying drawings, which form part of this application, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an undue limitation of the invention. In the drawings:

[0043] Figure 1 A schematic diagram of the control cabinet according to an embodiment of this application is shown;

[0044] Figure 2 An embodiment of this application is shown. Figure 1 Enlarged view of the structure at point A in the middle;

[0045] Figure 3 This invention provides a schematic diagram illustrating the positional relationship between the fastening body and the snap-fit ​​body in an embodiment of this application.

[0046] Figure 4 An embodiment of this application is shown. Figure 3 Enlarged view of the structure at point B;

[0047] Figure 5 This paper shows a structural diagram of the snap-fit ​​structure of an embodiment of the present application from a first-view perspective;

[0048] Figure 6 An embodiment of this application is shown. Figure 5 Enlarged view of the structure at point C;

[0049] Figure 7 A schematic diagram of the structure of the snap-on cover plate according to an embodiment of this application is shown;

[0050] Figure 8 An embodiment of this application is shown. Figure 7 Enlarged view of the structure at point D;

[0051] Figure 9 A top view of the snap-fit ​​body according to an embodiment of this application is shown;

[0052] Figure 10 A side view of the first deformed portion according to an embodiment of this application is shown;

[0053] Figure 11 An isometric view of the first deformed part according to an embodiment of this application is shown;

[0054] Figure 12 A top view of the first mounting section according to an embodiment of this application is shown;

[0055] Figure 13 A cross-sectional view of the snap-fit ​​body according to an embodiment of this application is shown;

[0056] Figure 14 An embodiment of this application is shown. Figure 13 Enlarged view of point E in the image.

[0057] The above figures include the following reference numerals:

[0058] 100. Installation foundation; 101. Main body;

[0059] 102. Cover plate; 103. Fastening part;

[0060] 200. Buckle body; 201. Mounting slot;

[0061] 202. Groove wall; 203. Second sliding part; 204. First sliding part;

[0062] 300. Sensing element; 301. Cable;

[0063] 400. Snap-on main body; 401. Snap-on end;

[0064] 402. Supporting component; 403. Buckle panel unit;

[0065] 404. First snap-on panel; 405. Second snap-on panel;

[0066] 406. Connecting lug; 407. Rotating shaft;

[0067] 500. Magnet base assembly;

[0068] 600. Clip-on cover plate; 601. Threading hole;

[0069] 602. Fastener; 603. First section;

[0070] 604, Second Division;

[0071] 700, Clamping unit; 701, First clamping element;

[0072] 703. First mounting section; 704. First intersecting section;

[0073] 705. First deformation section; 706. First segment;

[0074] 707. Second segment; 708. Third segment; 709. Side mounting slot. Detailed Implementation

[0075] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. The present invention will now be described in detail with reference to the accompanying drawings and embodiments.

[0076] The mechanical snap-fit ​​structure commonly used in existing industrial robot control cabinets only has basic physical connection functions. This means that if an operator accidentally opens the cabinet door during equipment operation, the system cannot cut off the power or stop the robot's movement in time, posing a serious safety hazard of electric shock and mechanical injury. Moreover, the traditional structure is difficult to meet the high standards of intrinsic safety required by industrial equipment.

[0077] The main purpose of this technical solution is to provide a snap-fit ​​structure, a control cabinet, and a detection method for the control cabinet, so as to solve the problem in the prior art where the cabinet door and cabinet body are accidentally opened due to the mechanical lock, and the system cannot detect and cut off the power in time, resulting in the risk of electric shock.

[0078] First, such as Figures 1 to 8 As shown, this application embodiment provides a snap-fit ​​structure for mounting on a mounting base 100. Specifically, at least a portion of the snap-fit ​​structure is disposed at the edge of the opening of the mounting base 100. The mounting base 100 includes a body portion 101 and a cover portion 102 for opening or closing the body portion 101. The cover portion 102 is provided with a fastening portion 103. In this embodiment, the body portion 101 is a box with an opening, and the fastening portion 103 is the cover portion 102 for opening or closing the opening. Figure 2 As shown, the fastening part 103 provided on the cover plate part 102 protrudes from the surface of the cover plate part 102 and has a barb structure. The fastening structure includes:

[0079] like Figure 3 The buckle body 200 and the sensing element 300 are described above, with the sensing element 300 disposed on the buckle body 200;

[0080] The fastening body 400 and the magnet seat assembly 500 are included. The fastening body 400 is rotatably mounted on the snap-fit ​​body 200. The fastening body 400 has a fastening end 401 that can be locked and fastened to the cover plate portion 102. Figure 4 As shown, the structure of the snap-fit ​​end 401 is adapted to the structure of the snap-fit ​​part 103. The magnet base assembly 500 is disposed on the snap-fit ​​body 400 so as to sense the change of magnetic field formed by the magnet base assembly 500 through the sensing element 300 and generate a corresponding sensing signal according to the change of magnetic field. The types of sensing signals include closing signals and opening signals.

[0081] The controller is connected to the sensing element 300 to energize or de-energize the mounting base 100 according to the type of sensing signal.

[0082] Specifically, the buckle body 200 and the mounting base 100 are connected in a detachable manner, such as by bolts.

[0083] This solution integrates a sensing element 300 (such as a Hall sensor) into the buckle body 200 and fixes the magnet base assembly 500 to the rotatable buckle body 400. When the buckle end 401 is buckled or separated from the cover plate part 102, the relative position and magnetic field strength between the magnet base assembly 500 and the sensing element 300 change, causing the sensing element 300 to output a corresponding closing signal or opening signal.

[0084] In terms of electrical connection, the signal output terminal of the sensing element 300 is connected to the controller. The controller receives the magnetic field signal of the sensing element 300 in real time. When a disconnection signal is received, the controller immediately cuts off the main power supply and locks the robot's motion command, thereby realizing state perception and safety interlock.

[0085] When the robot control cabinet is closed normally, the latching part 103 on the cover 102 locks with the latching end 401 of the snap-fit ​​structure. At this time, the magnetic steel base assembly 500 generates a specific magnetic field when it approaches the sensing element 300. The sensing element 300 outputs a closing signal. The controller recognizes the closing signal, determines that the cabinet door is safely locked, and allows the robot system to operate normally.

[0086] When the operator accidentally opens the cabinet door, the latching body 400 rotates to unlock, and the magnetic steel base assembly 500 moves away from the sensing element 300, causing a change in the magnetic field. The sensing element 300 outputs a disconnect signal. The controller detects the disconnect signal of the magnetic field, immediately triggers an audible and visual alarm, cuts off the main power supply of the control cabinet, and suspends all movement commands of the robot. After the cabinet door is closed again, the system automatically resets and allows restart.

[0087] This solution achieves real-time, highly reliable sensing of the mechanical locking status by setting up a Hall sensor, solving the safety hazards caused by the lack of status feedback in traditional mechanical latches; by using magnetic field detection, it effectively overcomes the misjudgment problem caused by temperature drift, vibration or circuit failure of a single sensor, significantly improving anti-interference capability; thus meeting the high standard requirements of high-end equipment such as industrial equipment.

[0088] Specifically, in this embodiment, the sensing element 300 is a Hall sensor, and the magnet base assembly 500 is specifically a sensing magnet.

[0089] Specifically, when the cover plate 102 and the body 101 are locked, the latching part 103 and the latching end 401 engage with each other. The magnetic field generated by the magnetic steel base assembly 500 sensed by the sensing element 300 is relatively constant. The sensing element 300 sends a closing signal to the controller, and the controller controls the power supply to the mounting base. Figure 3 As shown, when the fastening part 103 and the fastening end 401 are separated, the fastening body 400 will rotate around the buckle body 200. Since the magnetic steel seat assembly 500 is set on the fastening body 400, the magnetic steel seat assembly 500 will also move synchronously. At this time, the magnetic field formed by the magnetic steel seat assembly 500 sensed by the sensing element 300 will change. The sensing element 300 will send the corresponding disconnection signal to the controller, and the controller will control the power to be cut off to the installation base to avoid the risk of electric shock.

[0090] In this embodiment, the sensing element 300 is a Hall sensor, the magnet base assembly 500 is an inductive magnet, the Hall sensor is fixed inside the buckle body 200, and the inductive magnet is fixed on the rotatable buckle body 400. The two achieve non-contact signal transmission through magnetic field coupling.

[0091] In terms of electrical connection, the signal output terminal of the Hall sensor is connected to the controller to transmit a switch signal reflecting the opening and closing status of the cabinet door. The controller determines the opening and closing status of the cabinet door by receiving the magnetic field induction signal from the Hall sensor. When the controller receives a disconnection signal, it immediately executes the instruction to cut off the power supply of the installation base 100 (control cabinet) to eliminate the risk of electric shock.

[0092] When the cover plate 102 and the main body 101 are locked, the fastening part 103 on the cover plate 102 and the fastening end 401 of the buckle engage with each other. At this time, the sensing magnet moves with the fastening body 400 to the vicinity of the Hall sensor. The Hall sensor senses the constant magnetic field strength, outputs a closing signal and sends it to the controller. The controller determines that the cabinet door has been safely locked and controls the power supply to the mounting base so that the robot system can operate normally.

[0093] When the cabinet door needs to be opened or a misoperation occurs, the latching part 103 separates from the latching end 401, and the latching body 400 rotates around the latching body 200, causing the induction magnet to move synchronously and move away from the Hall sensor. This causes a significant change in the magnetic field sensed by the Hall sensor, and the Hall sensor then outputs a disconnect signal to the controller. After the controller detects the signal, it immediately controls the power supply to the mounting base to cut off, thereby avoiding electric shock accidents when the cabinet door is open.

[0094] This technical solution achieves real-time, wear-free detection of the latch locking state by combining a Hall sensor with an inductive magnet. It generates a closing or opening signal by utilizing changes in the magnetic field, overcoming the shortcomings of traditional mechanical switches such as easy vibration and short lifespan.

[0095] This ensures that the power supply can be cut off instantly and reliably when the cabinet door is opened, fundamentally solving the safety hazards caused by the lack of state awareness in traditional snap-fit ​​structures, and significantly improving the inherent safety level and operational reliability of the robot control cabinet.

[0096] Specifically, besides using a Hall sensor for detection, a magnetic switch can be used instead of a Hall sensor. A magnet is positioned on the cover plate 102 corresponding to the magnetic switch. The magnetic switch is connected in series between the IO port and the GND terminal. A pull-up resistor is installed on the main control board of the control cabinet to connect the IO port to VCC. When the magnetic switch separates from the magnet, the IO port reads a high level, indicating that the cover plate 102 and the body 101 are separated. When the magnetic switch contacts the magnet, current flows to ground through the pull-up resistor, and the IO port reads a low level, indicating that the cover plate 102 and the body 101 are locked. This solution reduces sensor costs while achieving basic state detection functions, making it suitable for applications with high cost control requirements.

[0097] Specifically, the connection between the controller and the Hall sensor can be via cable, communication, or wireless connection via Bluetooth, Wi-Fi module, or other means.

[0098] Furthermore, such as Figure 6 As shown, the buckle body 200 is provided with a mounting groove 201, and at least a portion of the sensing element 300 is disposed in the mounting groove 201;

[0099] The snap-fit ​​structure also includes a snap-fit ​​cover plate 600 detachably disposed on the snap-fit ​​body 200 to open or close the mounting slot 201;

[0100] In this case, the end of the mounting groove 201 away from the sensing element 300 is connected to the outside, so that at least a portion of the sensing element 300 can be led out to the outside through the groove.

[0101] Specifically, such as Figure 9 As shown, the mounting groove 201 provided on the buckle body 200 does not penetrate through the buckle body 200. One end of the mounting groove 201 has a blocking position between it and the buckle body 200, which facilitates the installation of the sensing element 300.

[0102] like Figure 7 As shown, the snap-on cover 600 includes a first portion 603 and a second portion 604. The first portion 603 is used to contact the mounting groove 201 and thereby close the mounting groove 201. The extension direction of the second portion 604 is perpendicular to the extension direction of the first portion 603. A wire hole 601 is provided on the second portion 604. A wire groove is formed in the first portion 603. The sensing element 300 is disposed in the mounting groove 201. The cable 301 of the sensing element 300 is arranged in the wire groove and extends from the wire groove to the wire hole 601. Then, it is led out to the outside through the wire hole 601 and connected to the external power supply. The cable 301 is fixed to the snap-on body 200 by the fastener 602.

[0103] In this embodiment, a mounting groove 201 with a penetrating depth is provided on the snap-fit ​​body 200 to accommodate the sensing element 300, and a detachable snap-fit ​​cover plate 600 is used to close the mounting groove 201. The first portion 603 of the snap-fit ​​cover plate 600 is used to close the opening of the mounting groove 201, and the second portion 604 extends perpendicularly to the first portion and is provided with a wire hole 601. The mounting groove 201 and the inner side of the first portion 603 of the snap-fit ​​cover plate 600 together form a wire groove. The cable 301 of the sensing element 300 is arranged along the wire groove and led out to the outside through the wire hole 601. The cable 301 is fixed to the snap-fit ​​body 200 by the fastener 602, thereby realizing the integrated encapsulation of the sensing element 300 inside the snap-fit ​​structure and the orderly lead-out and fixation of the cable, ensuring a stable and reliable electrical connection between the sensing element 300 and the external controller.

[0104] During assembly, the sensing element 300 is inserted into the mounting slot 201 of the snap-fit ​​body 200. The cable 301 of the sensing element 300 is arranged in the wire-passing groove formed between the mounting slot 201 and the first portion 603 of the snap-fit ​​cover plate 600. Then, the cable 301 is led out through the wire-passing hole 601 on the second portion 604 of the snap-fit ​​cover plate 600 to the outside of the snap-fit ​​body 200. The cable 301 is then firmly fixed to the snap-fit ​​body 200 using the fastener 602. Finally, the snap-fit ​​cover plate 600 is installed on the snap-fit ​​body 200, so that the first portion 603 fits tightly against the mounting slot 201 to complete the closure. When the equipment is running, the sensing element 300 is in the mounting slot 201 for detection. The cable 301 is fixed and protected through the wire-passing groove and the wire-passing hole 601 to prevent the cable from dangling or being stressed, thus ensuring the continuity of signal transmission.

[0105] The present invention, by setting the structure of mounting groove 201, buckle cover plate 600 and wire groove and wire hole 601, realizes the embedded installation and protection of sensing element 300 inside buckle body 200, effectively preventing sensing element 300 from shifting, loosening or falling off during equipment vibration or assembly process;

[0106] Meanwhile, the cable 301 is guided through the cable channel and led out through the cable hole 601. The cable is fixed by the fastener 602, which solves the problem that traditional exposed cables are easily pulled, bent and broken. It not only optimizes the internal space layout of the buckle structure and improves the compactness and aesthetics of the overall structure, but also significantly improves the durability and reliability of the wire harness connection and reduces the risk of condition detection failure due to cable failure.

[0107] Furthermore, such as Figure 6 As shown, the buckle body 200 also includes:

[0108] A clamping unit 700 is provided, at least a portion of which is deformably disposed within a mounting groove 201. The clamping unit 700 includes two first clamping elements 701, which are respectively disposed on two groove walls 202 of the mounting groove 201 arranged along a first direction to form a clamping space. A sensing element 300 is located within the clamping space. At least a portion of the two first clamping elements 701 respectively contacts the sensing element 300 to apply a first clamping force to the sensing element 300 through the first clamping elements 701. The clamping force applied to the sensing element 300 by the first clamping element 701 located on the left is directed to the right, and the clamping force applied to the sensing element 300 by the first clamping element 701 located on the right is directed to the left. The mounting groove 201 extends along a second direction, which intersects with the first direction.

[0109] In this embodiment, two first pressing elements 701 are provided on the opposite groove walls 202 of the mounting groove 201 of the buckle body 200. The deformable characteristics of these elements form a pressing space between the groove walls, so that the sensing element 300 is located in the space. The first pressing elements 701 apply opposing first pressing forces to the sensing element 300 from both sides (left and right) in the first direction, thereby limiting and fixing the sensing element 300 in the mounting groove 201 in the horizontal direction. This ensures that the sensing element 300 maintains a stable electrical connection with the external circuit (the cable 301 led out through the aforementioned wire hole 601) and prevents poor contact due to vibration.

[0110] When installing the sensing element 300, it is placed into the mounting groove 201 of the buckle body 200. At this time, the first pressing element 701 on the left side undergoes elastic deformation and presses the sensing element 300 to the right. At the same time, the first pressing element 701 on the right side undergoes elastic deformation and presses the sensing element 300 to the left. The two first pressing forces in opposite directions work together to firmly clamp the sensing element 300 in the pressing space formed by the two first pressing elements 701, so that it cannot produce lateral displacement in the first direction. At the same time, the mounting groove 201 extends along the second direction, restricting the movement of the sensing element 300 in the second direction, thus achieving double limiting and fixing.

[0111] This technical solution uses two first clamping elements 701 located on the opposite wall 202 of the mounting groove 201 to reliably limit and fix the sensing element 300 in the horizontal direction by using the bidirectional opposing clamping force generated by their elastic deformation. This effectively overcomes the problem that the sensing element 300 is prone to displacement, loosening, or even falling off when the equipment is in long-term operation or subjected to external vibration and impact, which is a problem with traditional fixing methods. This structure not only ensures the accuracy and stability of the sensing element 300's detection position and improves the accuracy of magnetic field sensing, but also simplifies the assembly process, achieving stable installation without additional fasteners, and significantly improving the overall reliability and service life of the snap-fit ​​structure.

[0112] Furthermore, the clamping unit 700 also includes:

[0113] The second clamping element is disposed on the side of the snap cover 600 that is relatively close to the sensing element 300. At least a portion of the second clamping element is deformably disposed so that when the snap cover 600 closes the mounting groove 201, at least a portion of the second clamping element contacts the sensing element 300 to apply a second clamping force to the sensing element 300. The structure of the first clamping element 701 is the same as that of the second clamping element. The structure is described below using the first clamping element 701 as an example.

[0114] In this embodiment, a second pressing element is provided on the side of the snap cover plate 600 facing the sensing element 300. The second pressing element has deformable characteristics. When the snap cover plate 600 is closed to seal the mounting groove 201, the second pressing element undergoes elastic deformation and comes into contact with the sensing element 300, thereby applying a second pressing force perpendicular to the bottom of the mounting groove 201 (i.e., along the second direction or perpendicular to the direction of the first pressing force) to the sensing element 300. The second pressing force is superimposed with the first pressing force applied by the first pressing elements 701 on both sides of the mounting groove 201, and together they firmly press the sensing element 300 into the mounting groove 201 in three-dimensional space, ensuring that the sensing element 300 maintains a tight and stable physical contact and electrical connection with the snap body 200 and the external circuit.

[0115] After the sensor 300 is inserted and the first clamping element 701 is pre-tightened, the snap cover 600 is installed on the snap body 200 to close the mounting groove 201. As the snap cover 600 closes, the second clamping element on it is pressed and undergoes elastic deformation, thereby pressing against the top surface (or corresponding contact surface) of the sensor 300, making it further adhere to the bottom of the mounting groove 201. At this time, the sensor 300 is simultaneously subjected to the lateral clamping force from the first clamping elements 701 on both sides and the downward clamping force from the second clamping element above, thus being fixed in all directions. The snap cover 600 completely covers the mounting groove 201 to form a closed structure.

[0116] This solution introduces a second clamping element on the snap-on cover plate 600, which provides auxiliary fixation of the sensing element 300 in the vertical direction. Together with the lateral clamping force formed by the first clamping element 701, it forms a three-dimensional fixation structure, which greatly enhances the stability of the sensing element 300 inside the snap-on structure.

[0117] Furthermore, such as Figure 8 , Figure 10 and Figure 11 As shown, the first clamping element 701 includes:

[0118] At least two first mounting portions 703 are disposed on the groove wall 202. Specifically, in this embodiment, there are two first mounting portions 703. The first mounting portions 703 and the groove wall 202 can be integrally formed or detachably disposed. When detachably disposed, the first mounting portions 703 are connected to the groove wall 202 by bolts. The at least two first mounting portions 703 form a first mounting space, such as... Figure 12 The image shown is a top view of the first mounting portion 703, which has an approximately notch shape.

[0119] The first interpenetrating part 704 is interpenetratingly disposed in the first mounting space. Specifically, the first interpenetrating part 704 is used in conjunction with the side mounting groove 709 in the first mounting part 703.

[0120] A first deformable portion 705 is disposed on the first interpenetrating portion 704. The first deformable portion 705 is deformably disposed and has a contact surface that contacts the sensing element 300. Specifically, the first deformable portion 705 includes a first segment 706, a second segment 707, and a third segment 708 connected in sequence. The first segment 706 has an arc-shaped structure, and the third segment 708 has an approximately semi-circular shape. One end of the first segment 706 is connected to the first interpenetrating portion 704, and the other end of the first segment 706 is connected to the second segment 707. The other end of the second segment 707 is connected to the third segment 708. Since the third segment 708 has an approximately semi-circular shape, its outer wall surface is a semi-circular contact surface, a portion of which is used to always contact the sensing element 300. The first deformable portion 705 is made of an integrally formed elastic metal material.

[0121] In this embodiment, a first installation space is formed by setting at least two first installation parts 703, and a first insertion part 704 is inserted and fixed therein. A first deformation part 705 is provided on the first insertion part 704, which is formed by connecting a first segment 706, a second segment 707 and a third segment 708 in sequence.

[0122] The first deformation part 705 is made of one-piece molded elastic metal material. Utilizing its elastic deformation characteristics, the outer wall surface of the third segment 708, which is approximately semi-circular in shape, is used as the contact surface to apply a constant lateral elastic clamping force to the sensing element 300 located in the clamping space. In this way, without additional electrical connection, the sensing element 300 is stably limited in the mechanical structure, ensuring the stability of its detection position relative to the buckle body.

[0123] This solution designs an integrated elastic metal first deformation part 705 that includes an arc-shaped first segment 706, a connecting segment, and a semi-circular third segment 708. The semi-circular contact surface forms a line contact or surface contact with the sensing element 300, which increases the contact area and evenly distributes the clamping force, effectively avoiding local stress concentration or damage to the sensing element 300 caused by sharp structures.

[0124] Meanwhile, the one-piece molded elastic metal material not only provides a durable and stable elastic restoring force, ensuring that the position of the sensing element 300 does not drift under long-term vibration conditions, but also simplifies the assembly structure, achieving high-precision positioning and fixing without complex fasteners, significantly improving the assembly efficiency, detection reliability and service life of the snap-fit ​​structure.

[0125] Furthermore, such as Figure 7 , Figure 8 , Figure 13 and Figure 14 As shown, the two groove walls 202 of the mounting groove 201 along the first direction are respectively provided with a first sliding part 204 extending along the first direction, and the snap cover plate 600 is provided with a second sliding part 203 extending along the first direction. The first sliding part 204 and the second sliding part 203 are slidably engaged; wherein, the length of the first sliding part 204 and / or the second sliding part 203 along the first direction is less than the length of the mounting groove 201 along the first direction.

[0126] In this embodiment, a first sliding part 204 extending in the first direction is provided on the groove wall 202 of the mounting groove 201 of the buckle body 200, and a second sliding part 203 extending in the first direction is provided on the buckle cover plate 600. The two slide together to guide and lock the buckle cover plate 600 relative to the buckle body 200.

[0127] Since the length of the first sliding part 204 and / or the second sliding part 203 is less than the length of the mounting groove 201, when the snap-on cover 600 is closed, its sliding part forms an axial (first direction) clearance fit with the groove wall of the mounting groove 201. This structure, in conjunction with the aforementioned clamping unit, allows the cover to apply a pre-tightening force to the internal components through the clamping element when closed, while the sliding fit restricts the displacement of the cover in the direction perpendicular to the sliding direction, ensuring the relative positional accuracy and sealing between the cover and the main body.

[0128] This solution achieves guided sliding installation of the snap-on cover by setting a first sliding part 204 and a second sliding part 203 with a length less than that of the mounting groove 201, which simplifies the opening and closing operation and improves the ease of assembly.

[0129] Meanwhile, the synergistic effect of the sliding fit and the clamping unit not only ensures the structural stability of the cover plate after installation and prevents it from falling off accidentally, but also avoids jamming or over-tightening caused by the accumulation of assembly tolerances through a specific length difference design. This ensures that the cover plate can open and close smoothly and maintains a continuous and uniform clamping force on the internal sensing element 300, thereby improving the assembly fault tolerance rate of the overall structure and the reliability of long-term use.

[0130] Furthermore, the snap-fit ​​structure also includes an alarm component mounted on the mounting base 100. The alarm component is connected to the controller to control the alarm component to sound an alarm when the type of the sensing signal is a disconnect signal.

[0131] In this embodiment, an alarm component (such as an audible and visual alarm) is provided on the control cabinet body 101. The alarm component is electrically connected to the controller, establishing a signal output channel from the controller to the alarm component.

[0132] When the sensing element 300 detects that the cabinet door is open and generates a disconnect signal that is transmitted to the controller, the controller not only cuts off the main power supply, but also sends a trigger command to the alarm component, causing the alarm component to activate the audible and visual alarm function, and to issue a warning to the personnel on site through visual and auditory means.

[0133] Furthermore, such as Figure 3 As shown, the fastening body 400 includes:

[0134] The support member 402 is provided on the buckle body 200. The support member 402 is a support column. The support member 402 is provided with a rotating groove and a first rotating hole communicating with the rotating groove.

[0135] The snap-on unit 403 is rotatably mounted on the support member 402. Specifically, the snap-on body 400 also includes a rotating shaft 407, which is used to cooperate with the first rotating hole. The snap-on unit 403 also includes two connecting lugs 406, which are located in the rotating groove. A torsion spring is also provided in the rotating groove. The torsion spring is sleeved on the rotating shaft 407. The first end of the torsion spring is connected to the connecting lug 406, and the second end of the torsion spring is connected to the bottom of the rotating groove. The connecting lug 406 is provided with a second rotating hole that cooperates with the rotating shaft. The snap-on unit 403 can be rotatably mounted on the support member 402 through the rotating shaft. The snap-on unit 403 has a snap-on end 401.

[0136] When it is necessary to lock the cabinet door, move the fastening body 400 toward the cover plate 102 so that the fastening end 401 engages with the fastening part 103. When opening, continue to gently press the fastening body 400 toward the cover plate 102 so that the fastening end 401 and the fastening part 103 separate.

[0137] This solution achieves reliable rotational drive of the buckle unit 403 through the cooperation of the support 402, the rotating shaft 407 and the connecting lug 406, with a compact structure and high transmission efficiency.

[0138] By using the rotating shaft 407 as the rotation center, the consistency of the movement trajectory of the fastening end 401 is ensured, thereby guaranteeing the repeatability and accuracy of the relative position change between the inductive magnet and the Hall sensor, and improving the reliability of the state detection.

[0139] In addition, the structure is simple and durable, capable of withstanding frequent opening and closing operations over a long period of time, extending the service life of the snap-fit ​​structure, while reducing detection errors caused by loosening of the mechanical structure, further ensuring the safe operation of the robot control cabinet.

[0140] Furthermore, the snap-on unit 403 includes:

[0141] The first snap plate portion 404 and the second snap plate portion 405 are interconnected. The connecting lug 406 is provided at the end of the first snap plate portion 404 away from the second snap plate portion 405. One end of the first snap plate portion 404 is rotatably mounted on the support member 402 through the aforementioned rotating shaft 407. The first end of the second snap plate portion 405 is connected to the end of the first snap plate portion 404 away from the support member 402. The second end of the second snap plate portion 405 is provided with a snap-fit ​​end 401.

[0142] The first snap plate portion 404, the second snap plate portion 405, and the snap-fit ​​end portion 401 all extend in different directions. The magnet seat assembly 500 is disposed on the second snap plate portion 405. When the main body portion 101 and the cover portion 102 are in the locked state, the magnet seat assembly 500 disposed on the second snap plate portion 405 is disposed opposite to the sensing end of the sensing element 300 disposed in the mounting groove 201.

[0143] Optionally, the snap-on unit 403 is made of elastic metal, such as beryllium copper or spring steel. The snap-on unit 403 can be elastically deformed by pressing or bending it to close or open the cabinet door.

[0144] When the robot-controlled cabinet door is closed and locked, the latching part 103 on the cabinet door engages with the latching end 401 of the latching plate unit 403. At this time, the first latching plate part 404, the second latching plate part 405 and the latching end 401 are in a specific relative position. The magnetic steel base assembly 500 then moves to a position directly opposite the sensing end of the sensing element 300. The Hall sensor senses the strong magnetic field and outputs a low level (closing signal).

[0145] When the operator opens the cabinet door, the fastening part 103 disengages from the fastening end 401. Under the action of the reset mechanism, the fastening plate unit 403 rotates around the rotating shaft 407. The relative angle between the first fastening plate part 404, the second fastening plate part 405 and the fastening end 401 changes, causing the magnetic steel base assembly 500 to move away from the sensing end of the sensing element 300. The magnetic field weakens or disappears, and the Hall sensor outputs a high level (disconnect signal).

[0146] This solution, through the design of the first snap plate part 404 and the second snap plate part 405, transforms the opening and closing motion of the cabinet door into the precise displacement motion of the magnetic base assembly 500 relative to the sensing element 300.

[0147] This structure not only achieves the mechanical locking function, but also uses the same stroke to drive the magnet to move, ensuring a high degree of synchronization between the mechanical state and the electrical signal state;

[0148] Because the first snap plate portion 404 and the second snap plate portion 405 extend in different directions, the spatial layout of the sensor detection area is optimized, mechanical interference is avoided, and the path stability of the magnet movement is improved, ensuring the accuracy and repeatability of the detection signal of the sensing element 300 and improving the reliability of the overall control system.

[0149] Furthermore, a first conductive contact is provided on the snap-fit ​​end 401, and the first conductive contact is connected to the grounding terminal of the controller through a wire. A second conductive contact is provided on the snap-fit ​​part 103, and the second conductive contact is connected to the IO port of the controller through a wire, so as to generate a contact signal when the first conductive contact and the second conductive contact are in contact or disconnected. The contact signal includes a conduction signal and a power-off signal. The controller is also used to control the power on or off of the mounting base 100 according to the type of contact signal.

[0150] This embodiment constructs an independent mechanical on / off detection circuit as a redundancy verification mechanism for the Hall sensor magnetic detection circuit;

[0151] Specifically, the first conductive contact is located at the latching end 401 and connected to the ground terminal (GND) of the controller via a wire, and the second conductive contact is located at the latching part 103 on the cabinet door side and connected to the digital input (IO) port of the controller via a shielded cable. When the cabinet door is closed and the latch is locked, the first conductive contact and the second conductive contact are in physical contact, forming a low-level path from GND to the IO port, and the controller acquires a "conduction signal" (low level). When the cabinet door is open or the latch is not fully locked, the two contacts separate, the IO port presents a high level through an internal or external pull-up resistor, and the controller acquires a "power-off signal" (high level). This circuit is independent of the Hall sensor circuit and directly reflects the degree of mechanical locking through the physical contact state.

[0152] When the robot control cabinet is in the assembly or maintenance state, the first conductive contact and the second conductive contact are in a separated state, the controller IO port reads a high level (disconnect signal), and the system determines that the cabinet door is not locked;

[0153] When the operator closes the cabinet door and presses down the smart buckle, the elastic deformation of the buckle forces the first conductive contact on the buckling end 401 to fit tightly with the second conductive contact on the cabinet door buckling part 103. At this time, the IO port is pulled down to ground potential, and the controller reads a low level (conduction signal).

[0154] The controller combines the "closed signal" output by the Hall sensor to make a judgment. If both signals show "normal locking", the robot system is allowed to power on and run. If either signal shows "open" (such as Hall sensor failure but contact continuity, or contact oxidation and poor contact but Hall sensor normal), the controller will determine it as an abnormal state, trigger an alarm and prohibit the system from starting or immediately cut off the power.

[0155] This solution achieves dual-path redundancy verification with the Hall sensor's magnetic detection by setting up an independent mechanical detection circuit composed of the first conductive contact and the second conductive contact, effectively solving the problem of misjudgment caused by a single Hall sensor due to magnetic field drift, temperature change or sensor failure.

[0156] This mechanical contact circuit has extremely high stability and anti-interference capability because it is a purely physical contact, is not affected by electromagnetic interference, and has stable contact resistance.

[0157] By comparing "magnetic field signals" with "contact signals", the system can accurately identify different fault modes such as "false closing", "sensor failure" or "mechanical jamming", which greatly improves the reliability and inherent safety level of the robot control cabinet's status perception and ensures human-machine safety in high-risk industrial environments.

[0158] This application embodiment also provides a control cabinet, including a cabinet body and a snap-fit ​​structure disposed on the cabinet body, the snap-fit ​​structure being the snap-fit ​​structure described above, and the cabinet body forming an installation base 100.

[0159] This application embodiment also provides a method for testing a control cabinet, which is applied to the control cabinet described above, and the method includes:

[0160] The sensing signal emitted by the sensing element 300 in the snap-fit ​​structure is obtained, so as to determine the snap-fit ​​relationship between the snap-fit ​​body 400 and the snap-fit ​​body 200 of the snap-fit ​​structure based on the sensing signal. The sensing signal includes a closing signal and an opening signal. When it is in the closing signal state, the sensing element 300 is in the low level state, and when it is in the opening signal state, the sensing element 300 is in the high level state.

[0161] When the sensing signal is a closed signal, the fastening body 400 and the snap-fit ​​body 200 are in a fastening state, and the power is controlled to the installation base.

[0162] When the sensing signal is a disconnect signal, the fastening body 400 and the snap-fit ​​body 200 are in the open state, controlling the power cut-off of the mounting base.

[0163] The sensing element 300 collects the magnetic field change signal between the snap-fit ​​body 400 and the snap-fit ​​body 200 in the snap-fit ​​structure in real time. When the two are in the snap-fit ​​state, the sensing element 300 outputs a low-level closing signal. The control system recognizes the signal and controls the power supply to the mounting base to allow the equipment to operate normally. Conversely, when the two are in the open state, the sensing element 300 outputs a high-level opening signal. The control system recognizes the signal and immediately controls the power supply to the mounting base to stop the equipment from operating.

[0164] This enables real-time and accurate sensing of the latching status and safe interlocking control. The high and low changes in the voltage level signal directly reflect the opening and closing status of the cabinet door, ensuring that the equipment is only ready to operate when the cabinet door is fully locked. This effectively prevents electric shock accidents or mechanical injuries caused by accidental opening of the cabinet door, thus improving the inherent safety of industrial robots.

[0165] Furthermore, when the sensing signal is an open signal, the contact signal between the first conductive contact and the second conductive contact in the snap-fit ​​structure is obtained, and the contact signal is a conduction signal and a de-energization signal.

[0166] When the contact signal is a power-off signal, the control cuts off the power to the installation base and issues a first alarm message. The first alarm message indicates that the fastening body 400 and the snap-fit ​​body 200 are in the open state.

[0167] When the contact signal is in the on state, the control continues to energize the mounting base and issues a second alarm message. The second alarm message indicates that the fastening body 400 and the snap-fit ​​body 200 are in the closed state and the sensing element 300 is malfunctioning.

[0168] When the sensing signal is disconnected, the control system synchronously acquires the contact signals of the first conductive contact and the second conductive contact. If the contact signal is de-energized, it determines that the latch is physically open and controls the power supply to the mounting base to be cut off and issues the first alarm message indicating that the door is open. If the contact signal is on, it determines that the latch body is physically closed, but the sensing element 300 has a detection abnormality, that is, the sensing element 300 has a signal drift problem due to the temperature change of its working environment. At this time, it is no longer possible to rely solely on the sensing signal of the sensing element 300 to determine the latching state of the latching body 400 and the latching body 200. It is necessary to further determine the latching state of the latching body 400 and the latching body 200 based on the contact signals of the first conductive contact and the second conductive contact. When the contact signal is on, it continues to energize the mounting base and issues the second alarm message indicating that the sensing element is abnormal.

[0169] By introducing a conductive contact detection mechanism and performing dual-channel signal verification with the sensing element 300, redundant judgment can be made based on the actual contact state of the physical contacts when the sensing element 300 fails or drifts, causing false alarms. This not only avoids production disruptions caused by accidental power outages due to sensor failures, but also prompts maintenance personnel to promptly troubleshoot sensor faults through specific alarm information, significantly improving the reliability and fault diagnosis capability of the detection system.

[0170] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the exemplary embodiments according to this application. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.

[0171] Unless otherwise specifically stated, the relative arrangement, numerical expressions, and values ​​of the components and steps set forth in these embodiments do not limit the scope of the invention. It should also be understood that, for ease of description, the dimensions of the various parts shown in the drawings are not drawn to actual scale. Techniques, methods, and devices known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and devices should be considered part of the specification. In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values. It should be noted that similar reference numerals and letters in the following figures denote similar items; therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0172] In the description of this invention, it should be understood that the orientation or positional relationship indicated by directional terms such as "front, back, up, down, left, right", "horizontal, vertical, horizontal" and "top, bottom" is generally based on the orientation or positional relationship shown in the accompanying drawings, and is only for the convenience of describing this invention and simplifying the description. Unless otherwise stated, these directional terms do not indicate or imply that the device or element referred to must have a specific orientation or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation on the scope of protection of this invention; the directional terms "inner" and "outer" refer to the inner and outer contours relative to the outline of each component itself.

[0173] For ease of description, spatial relative terms such as "above," "on top of," "on the upper surface of," "above," etc., are used herein to describe the spatial positional relationship of a device or feature as shown in the figures to other devices or features. It should be understood that spatial relative terms are intended to encompass different orientations in use or operation beyond the orientation of the device as described in the figures. For example, if the device in the figures were inverted, a device described as "above" or "on top of" other devices or structures would subsequently be positioned as "below" or "under" other devices or structures. Thus, the exemplary term "above" can include both "above" and "below." The device may also be positioned in other different ways (rotated 90 degrees or in other orientations), and the spatial relative descriptions used herein will be interpreted accordingly.

[0174] Furthermore, it should be noted that the use of terms such as "first" and "second" to define components is merely for the purpose of distinguishing the corresponding components. Unless otherwise stated, the above terms have no special meaning and therefore should not be construed as limiting the scope of protection of this invention.

[0175] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A snap-fit ​​structure, characterized in that, For mounting on a mounting base (100), the mounting base (100) includes a body part (101) and a cover part (102) for opening or closing the body part (101), the cover part (102) is provided with a fastening part (103), the fastening structure includes: The buckle body (200) and the sensing element (300) are disposed on the buckle body (200); The fastening body (400) and the magnet seat assembly (500) are provided. The fastening body (400) is rotatably disposed on the snap-fit ​​body (200). The fastening body (400) has a fastening end (401) that can be locked and fastened with the cover plate portion (102). The magnet seat assembly (500) is disposed on the fastening body (400) to sense the change in the magnetic field formed by the magnet seat assembly (500) through the sensing element (300) and generate a corresponding sensing signal according to the change in the magnetic field. The type of sensing signal includes a closing signal and an opening signal. A controller, connected to the sensing element (300), is used to energize or de-energize the mounting base (100) according to the type of the sensing signal.

2. The snap-fit ​​structure according to claim 1, characterized in that, The buckle body (200) is provided with a mounting groove (201), and at least a portion of the sensing element (300) is disposed in the mounting groove (201); The buckle structure also includes a buckle cover plate (600) detachably disposed on the buckle body (200) to open or close the mounting slot (201). The mounting slot (201) has an opening at one end away from the sensing element (300) that is connected to the outside, so that at least a portion of the sensing element (300) can be led out to the outside through the opening.

3. The snap-fit ​​structure according to claim 2, characterized in that, The buckle body (200) also includes: A clamping unit (700) is deformably disposed within the mounting groove (201). The clamping unit (700) includes two first clamping elements (701), which are respectively disposed on two groove walls (202) of the mounting groove (201) arranged along a first direction to form a clamping space. The sensing element (300) is located within the clamping space to apply a first clamping force to the sensing element (300) through the first clamping elements (701). The mounting groove (201) extends along a second direction, which intersects with the first direction.

4. The snap-fit ​​structure according to claim 3, characterized in that, The clamping unit (700) further includes: A second clamping element is disposed on the side of the snap cover (600) relatively close to the sensing element (300). At least a portion of the second clamping element is deformably disposed such that when the snap cover (600) closes the mounting groove (201), at least a portion of the second clamping element contacts the sensing element (300) to apply a second clamping force to the sensing element (300).

5. The snap-fit ​​structure according to claim 3, characterized in that, The first clamping element (701) includes: At least two first mounting parts (703) are provided on the groove wall (202), and the at least two first mounting parts (703) form a first mounting space; The first interpenetrating part (704) is interpenetratingly disposed within the first mounting space; A first deformable part (705) is disposed on the first interpenetrating part (704), and the first deformable part (705) has a contact surface that contacts the sensing element (300); The first deformable part (705) has an initial state and a deformable state. When it is in the initial state, the contact surface is separated from the sensing element (300). When it is in the deformable state, the contact surface is in contact with the sensing element (300).

6. The snap-fit ​​structure according to claim 2, characterized in that, The mounting groove (201) has two groove walls (202) arranged along the first direction, each having a first sliding portion (204) extending along the first direction. The snap-on cover plate (600) has a second sliding portion (203) extending along the first direction. The first sliding portion (204) and the second sliding portion (203) are slidably engaged. The length of the first sliding portion (204) and / or the second sliding portion (203) along the first direction is less than the length of the mounting groove (201) along the first direction. The snap-fit ​​structure also includes an alarm component disposed on the mounting base (100), the alarm component being connected to the controller to control the alarm component to sound an alarm when the type of the sensing signal is the disconnect signal.

7. The snap-fit ​​structure according to claim 1, characterized in that, The fastening body (400) includes: A support member (402) is provided on the buckle body (200); A snap-on unit (403) is rotatably mounted on the support member (402), the snap-on unit (403) having the snap-on end (401).

8. The snap-fit ​​structure according to claim 7, characterized in that, The buckle unit (403) includes: A first snap plate portion (404) and a second snap plate portion (405) are connected to each other. One end of the first snap plate portion (404) is rotatably disposed on the support member (402). The first end of the second snap plate portion (405) is connected to the end of the first snap plate portion (404) away from the support member (402). The second end of the second snap plate portion (405) is provided with the snap-fit ​​end portion (401). The first snap plate portion (404), the second snap plate portion (405), and the snap-fit ​​end portion (401) all have different extension directions, and the magnetic steel seat assembly (500) is disposed on the second snap plate portion (405).

9. The snap-fit ​​structure according to claim 7, characterized in that, A first conductive contact is provided on the snap-fit ​​end (401), and the first conductive contact is connected to the grounding terminal of the controller through a wire. A second conductive contact is provided on the snap-fit ​​part (103), and the second conductive contact is connected to the IO port of the controller through a wire, so as to generate a corresponding contact signal when the first conductive contact and the second conductive contact are in contact or disconnected. The contact signal includes a conduction signal and a power-off signal. The controller is also used to control the power on / off or power off of the mounting base (100) according to the type of the contact signal.

10. A control cabinet, characterized in that, It includes a cabinet and a snap-fit ​​structure disposed on the cabinet, wherein the snap-fit ​​structure is the snap-fit ​​structure according to any one of claims 1 to 9, and the cabinet forms an installation base (100).

11. A method for testing a control cabinet, characterized in that, The detection method for the control cabinet is applied to the control cabinet of claim 10, and the detection method for the control cabinet includes: The sensing signal emitted by the sensing element (300) in the snap-fit ​​structure is obtained, so as to determine the snap-fit ​​relationship between the snap-fit ​​body (400) and the snap-fit ​​body (200) of the snap-fit ​​structure according to the sensing signal. The sensing signal includes a closing signal and an opening signal. When the closing signal is in the state, the sensing element (300) is in a low level state, and when the opening signal is in the state, the sensing element (300) is in a high level state. When the sensing signal is the closing signal, the fastening body (400) and the snap-fit ​​body (200) are in the fastening state, and the power supply to the mounting base is controlled. When the sensing signal is the disconnect signal, the fastening body (400) and the snap-fit ​​body (200) are in the open state, controlling the power cut-off of the mounting base.

12. The method for testing a control cabinet according to claim 11, characterized in that, The testing method for the control cabinet also includes: When the sensing signal is the disconnection signal, the contact signal between the first conductive contact and the second conductive contact in the snap-fit ​​structure is obtained, and the contact signal is a conduction signal and a power-off signal; When the contact signal is the power-off signal, the power to the mounting base is cut off and a first alarm message is issued. The first alarm message indicates that the fastening body (400) and the snap-fit ​​body (200) are in the open state. When the contact signal is in the conducting state, the control continues to energize the mounting base and issues a second alarm message, which indicates that the fastening body (400) and the snap-fit ​​body (200) are in the closed state and the sensing element (300) is malfunctioning.