An opening and closing detection device and method
By combining a strip structure with a matching circuit, the opening and closing status of the wristband is detected by impedance change, which solves the problems of complex wristband detection structure and poor waterproofing. It realizes simple and waterproof opening and closing detection, which is suitable for the supervision of smart wearable devices.
Patent Information
- Application Number
- CN202311184390.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-13
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2043-09-13
AI Technical Summary
Existing smart wearable devices have complex wristband detection structures and poor waterproofing, making it difficult to meet high-specification waterproofing requirements and regulatory needs.
The combination of a strip structure, matching circuit, and control module is used to determine the open/closed state by detecting the impedance change of the strip structure, avoiding the need for built-in circuitry in the wristband. Transient suppression diodes and capacitors are used to filter ripple to prevent electrostatic damage and misjudgment.
It achieves simple opening and closing detection, has good waterproof performance, can stably detect the wear status, is suitable for harsh environments, and improves the wearing experience and location tracking capabilities of the monitored objects.
Smart Images

Figure CN117310822B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wearable device testing, and more specifically, to an opening and closing detection device and method. Background Technology
[0002] With the widespread application of smart wearable devices, these devices are being used for intelligent management of regulated entities. Preventing the accidental or intentional disassembly of smart wearable devices, and promptly detecting such disassembly, are crucial aspects of regulatory technology.
[0003] Related technologies use Hall effect switches and magnet detection to determine the open / closed state of wearable devices (such as wristbands). However, this technology has a complex structure with circuitry embedded in the wristband, making it difficult to meet high-specification waterproofing requirements. Once water gets in, the detection will fail. Furthermore, the wristband is easily damaged, which cannot meet the needs of regulatory sites.
[0004] In summary, there is still no good solution to the problems of complex wristband detection structure and poor waterproofing in related technologies. Summary of the Invention
[0005] This application provides an opening and closing detection device and method to at least solve the problems of complex wristband detection structures and poor waterproofing in related technologies.
[0006] According to one embodiment of this application, an opening / closing detection device is provided. The device includes: a strip structure, a control module, a first matching circuit, and a second matching circuit. One end of the strip structure is connected to the output pin of the control module through the first matching circuit, and the other end of the strip structure is connected to the input pin of the control module through the second matching circuit. The control module is used to control the output level of the output pin and detect the input level of the input pin, and determine the opening / closing state of the strip structure based on the input level. The first matching circuit and the second matching circuit are used to match the output level according to the impedance of the strip structure and the input level, wherein the impedance of the strip structure changes with the opening / closing state of the strip structure.
[0007] Optionally, the open / closed states of the strip structure include an open circuit state and a closed state, wherein the impedance of the strip structure in the closed state is less than a first preset threshold.
[0008] Optionally, the first matching circuit includes: a first input terminal, a first capacitor, a first resistor, a first transient suppression diode, and a first output terminal, wherein the first input terminal is connected to the output pin, and the first output terminal is connected to the strip structure; one end of the first capacitor is connected to the first input terminal, and the other end of the first capacitor is grounded; one end of the first resistor is connected to the first input terminal, and the other end of the first resistor is connected to the first output terminal; one end of the first transient suppression diode is connected to the first output terminal, and the other end of the first transient suppression diode is grounded.
[0009] Optionally, the second matching circuit includes: a second input terminal, a second transient suppression diode, a second resistor, a second capacitor, and a second output terminal, wherein the second input terminal is connected to the strip structure, and the second output terminal is connected to the input pin; one end of the second transient suppression diode is connected to the second input terminal, and the other end of the second transient suppression diode is grounded; one end of the second resistor is connected to the second output terminal, and the other end of the second resistor is grounded; one end of the second capacitor is connected to the second output terminal, and the other end of the second capacitor is grounded.
[0010] Optionally, the second matching circuit further includes a third resistor, wherein one end of the third resistor is connected to the second input terminal and the second transient suppression diode, and the other end of the third resistor is connected to the second output terminal, the second resistor, and the second capacitor.
[0011] Optionally, the device further includes a housing, wherein the control module, the first matching circuit, and the second matching circuit are located inside the housing; the first output terminal of the first matching circuit and the second input terminal of the second matching circuit are contact pins; the two ends of the strip structure are respectively fixed to the housing by screws and are connected to the contact pins by the screws.
[0012] Optionally, the strip structure includes a first strip structure, a second strip structure, and an opening / closing structure, wherein the opening / closing structure is used to connect the first strip structure and the second strip structure, and the opening / closing structure includes a snap-fit connection or a hinge connection.
[0013] According to another embodiment of this application, an opening / closing detection method is provided. The method is applied to the opening / closing detection device in any of the above-described device embodiments. The method includes: initializing the output level of the output pin of the control module; detecting the input level of the input pin of the control module; and determining the opening / closing state of the strip structure based on the input level.
[0014] Optionally, determining the open / closed state of the strip structure based on the input level includes: determining the strip structure to be in an open circuit state when the input level is less than or equal to a first preset level; and determining the strip structure to be in a closed state when the input level is greater than the first preset level.
[0015] Optionally, after determining the opening / closing state of the strip structure based on the input level, the method further includes: reporting the opening / closing state of the strip structure; and reporting alarm information when the strip structure is in the opening / closing state.
[0016] Through the embodiments of this application, the impedance change of the strip structure affects the detection result of the output level, realizing the technical effect of judging the opening and closing state change of the strip structure based on the output level. Moreover, the structure of the opening and closing detection device is simpler, no built-in circuit is required in the wristband, and it has better waterproof performance, thereby solving the problems of complex wristband detection structure and poor waterproof performance in related technologies. Attached Figure Description
[0017] Figure 1 This is a hardware structure block diagram of the opening and closing detection device according to an embodiment of this application;
[0018] Figure 2 This is a circuit diagram of the first matching circuit according to an embodiment of this application;
[0019] Figure 3 This is a circuit diagram of the second matching circuit according to an embodiment of this application;
[0020] Figure 4 This is a circuit diagram of the second matching circuit according to an embodiment of this application;
[0021] Figure 5 This is a circuit diagram of the matching circuit according to an embodiment of this application;
[0022] Figure 6 This is a schematic diagram of the housing structure of the opening and closing detection device according to an embodiment of this application;
[0023] Figure 7 This is a connection diagram of the opening and closing detection device according to an embodiment of this application;
[0024] Figure 8 This is a schematic diagram of the strip structure according to an embodiment of this application;
[0025] Figure 9 This is a flowchart of an opening / closing detection method according to an embodiment of this application.
[0026] The markings in the diagram include: strip structure-10, control module-20, first matching circuit-30, second matching circuit-40, first strip structure-11, second strip structure-12, opening and closing structure-13, first input terminal-31, first capacitor-32, first resistor-33, first transient suppression diode-34, first output terminal-35, second input terminal-41, second transient suppression diode-42, second resistor-43, second capacitor-44, second output terminal-45, and third resistor-46. Detailed Implementation
[0027] The embodiments of this application will be described in detail below with reference to the accompanying drawings and examples.
[0028] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0029] According to one embodiment of this application, an opening / closing detection device is provided, which can be used for detecting the wearing status of smart wearable devices in a regulatory scenario.
[0030] Figure 1 This is a hardware structure block diagram of the opening and closing detection device according to an embodiment of this application, as shown below. Figure 1 As shown, the device includes the following structure:
[0031] The strip structure 10, the control module 20, the first matching circuit 30, and the second matching circuit 40.
[0032] In this embodiment, the control module 20 has output pins and input pins.
[0033] In this embodiment, one end of the strip structure 10 is connected to the output pin of the control module through the first matching circuit, and the other end of the strip structure is connected to the input pin of the control module through the second matching circuit.
[0034] In this embodiment, the control module 20 is used to control the output level of the output pin and detect the input level of the input pin, and determine the opening and closing state of the strip structure based on the input level.
[0035] In this embodiment, the first matching circuit 30 and the second matching circuit 40 are used to match the output level according to the impedance of the strip structure and the input level, wherein the impedance of the strip structure changes with the opening and closing state of the strip structure.
[0036] Through the embodiments of this application, the impedance change of the strip structure affects the detection result of the output level, realizing the technical effect of judging the opening and closing state change of the strip structure based on the output level. Moreover, the structure of the opening and closing detection device is simpler, no built-in circuit is required in the wristband, and it has better waterproof performance, thereby solving the problems of complex wristband detection structure and poor waterproof performance in related technologies.
[0037] In some embodiments, the open / closed states of the strip structure include an open circuit state and a closed state, wherein the impedance of the strip structure in the closed state is less than a first preset threshold.
[0038] Specifically, the first preset threshold can be set to 1 megaohm (1 MΩ).
[0039] In an exemplary embodiment, the strip structure may be a wristband or a footband, and the strip structure needs to meet the following requirements: high strength (not easily damaged), good flexibility (can be used as a watch strap), and surface insulation resistance less than a first preset threshold.
[0040] Specifically, the material for the strip structure can be thermoplastic polyurethane (TPU), such as TPU P2185 BK.
[0041] In some embodiments, the control module may also include a built-in positioning device for real-time detection and reporting of the location information of the monitored object, thereby enabling location tracking of the monitored object.
[0042] Figure 2 This is a circuit diagram of the first matching circuit according to an embodiment of this application, as shown below. Figure 2 As shown, the first matching circuit 30 includes the following structure:
[0043] The system includes a first input terminal 31, a first capacitor 32, a first resistor 33, a first transient suppression diode 34, and a first output terminal 35.
[0044] In this embodiment, the first input terminal is connected to the output pin, and the first output terminal is connected to the strip structure.
[0045] In this embodiment, one end of the first capacitor is connected to the first input terminal, and the other end of the first capacitor is grounded.
[0046] In this embodiment, one end of the first resistor is connected to the first input terminal, and the other end of the first resistor is connected to the first output terminal.
[0047] In this embodiment, one end of the first transient suppression diode is connected to the first output terminal, and the other end of the first transient suppression diode is grounded.
[0048] In this embodiment, transient voltage suppressors (TVS) are used to prevent electrostatic discharge generated during the wearing process by the monitored object from damaging the internal circuit components of the control module. Capacitors are used to filter ripple and prevent misjudgment by the control module.
[0049] Figure 3 This is a circuit diagram of the second matching circuit according to an embodiment of this application, as shown below. Figure 3 As shown, the second matching circuit 40 includes the following structure:
[0050] The system includes a second input terminal 41, a second transient suppression diode 42, a second resistor 43, a second capacitor 44, and a second output terminal 45.
[0051] In this embodiment, the second input terminal is connected to the strip structure, and the second output terminal is connected to the input pin.
[0052] In this embodiment, one end of the second transient suppression diode is connected to the second input terminal, and the other end of the second transient suppression diode is grounded.
[0053] In this embodiment, one end of the second resistor is connected to the second output terminal, and the other end of the second resistor is grounded.
[0054] In some embodiments, the second resistor may be composed of multiple resistors connected in series or in parallel, and this application does not limit this.
[0055] In this embodiment, one end of the second capacitor is connected to the second output terminal, and the other end of the second capacitor is grounded.
[0056] In this embodiment, the strip structure is in direct contact with the skin, which can significantly interfere with the voltage level signal. Using a transient suppression diode can prevent static electricity generated during wear by the monitored object from damaging the internal circuit components of the control module. Using a second capacitor and a second resistor can filter ripple and prevent misjudgment by the control module.
[0057] Figure 4 This is a circuit diagram of the second matching circuit according to an embodiment of this application, as shown below. Figure 4 As shown, the second matching circuit 40 also includes a third resistor 46.
[0058] In this embodiment, one end of the third resistor is connected to the second input terminal and the second transient suppression diode, and the other end of the third resistor is connected to the second output terminal, the second resistor, and the second capacitor.
[0059] In the embodiments of this application, the use of a third resistor can increase the antistatic effect.
[0060] Figure 5 This is a circuit diagram of the matching circuit according to an embodiment of this application, such as... Figure 5 As shown, taking the impedance of the strip structure between the first output terminal 35 and the second input terminal 41 as less than 1MΩ as an example, the capacitors and resistors in the matching circuit may include: first capacitor 32 (0.1uF), first resistor 33 (10KΩ), second resistor 43 (3.8MΩ), and second capacitor 44 (0.1uF).
[0061] In this embodiment, the resistor can prevent static electricity generated by the human body from damaging the circuit components in the control module, and can also achieve the function of voltage division. The resistor impedance can be adjusted according to the strip structure impedance and the input level to achieve matching of the output level of the control module.
[0062] Figure 6 This is a schematic diagram of the housing structure of the opening and closing detection device according to an embodiment of this application, as shown below. Figure 6 As shown, the device also includes a housing 50.
[0063] In this embodiment, the control module, the first matching circuit, and the second matching circuit are located inside the housing.
[0064] In some embodiments, the first input terminal of the first matching circuit can be represented by CUTOFFOUT and is directly connected to the output pin P0.1 of the control module; the second output terminal of the second matching circuit can be represented by CUTOFFIN and is directly connected to the input pin P0.2 of the control module.
[0065] Figure 7 This is a connection diagram of the opening and closing detection device according to an embodiment of this application, as shown below. Figure 7 As shown, the first output terminal of the first matching circuit and the second input terminal of the second matching circuit are contact pins, which can be represented by T1 and T2 respectively.
[0066] In this embodiment, both ends of the strip structure are fixed to the housing by screws and are connected to the contact pin by the screws.
[0067] Through the embodiments of this application, the connection between the strip structure and the matching circuit and control module is relatively simple, and the inside and outside of the shell can be isolated from each other, thereby achieving better waterproof performance.
[0068] Figure 8 This is a schematic diagram of the strip structure according to an embodiment of this application, as shown below. Figure 8 As shown, the strip structure 10 may include the following structures:
[0069] The first strip structure 11, the second strip structure 12, and the opening and closing structure 13.
[0070] In this embodiment, the opening and closing structure is used to connect the first strip structure and the second strip structure, and the opening and closing structure includes a snap-fit connection or a hinge connection.
[0071] Through the embodiments of this application, the opening and closing state of the strip structure can be changed by using the opening and closing structure, so as to improve the wearing experience of smart wearable devices for the monitored objects.
[0072] In another embodiment of this application, an opening and closing detection method is also provided, which can be applied to the opening and closing detection device in any of the above-mentioned device implementations, or similar smart wearable devices.
[0073] Figure 9 This is a flowchart of the opening and closing detection method according to an embodiment of this application, such as... Figure 9 As shown, the process includes the following steps:
[0074] Step S902: Initialize the output level of the output pins of the control module;
[0075] Step S904: Detect the input level of the input pin of the control module;
[0076] Step S906: Determine the opening / closing state of the strip structure based on the input level.
[0077] In some embodiments, step S906 may include the following steps:
[0078] Step S9062: When the input level is less than or equal to the first preset level, the strip structure is determined to be in an open circuit state;
[0079] Step S9064: When the input level is greater than the first preset level, the strip structure is determined to be in a closed state.
[0080] In some embodiments, the output level in step S902 can be initialized to a high level, denoted as 1. If the input level is high (1), the strip structure is determined to be in a closed state. If the input level is low (denoted as 0), the strip structure is determined to be in an open state.
[0081] In one exemplary embodiment, the high-level range is 0.7VDD to VDD, and the low-level range is 0 to 0.3VDD, where VDD is used to represent the value of the supply voltage.
[0082] Specifically, if the system power supply is VDD = 3.3V, then the high level range is 2.31V to 3.3V, and the low level range is 0 to 0.99V.
[0083] In this embodiment, the first preset level can be set to the maximum value in the low level range, or set to a value that is less than the high level range.
[0084] In another embodiment, step S906 may further include: determining that the strip structure is in an open circuit state when the input level is in a low level range; and determining that the strip structure is in a closed state when the input level is in a high level range.
[0085] In some embodiments, step S904 may be real-time detection or periodic polling detection.
[0086] In some embodiments, after step S906, the method further includes: step S908, reporting the opening and closing state of the strip structure; and reporting alarm information when the strip structure is in the opening and closing state.
[0087] In an exemplary embodiment, the control module automatically pulls the output pin P0.1 high upon power-on and begins polling the input level of the input pin P0.2. When the watchband (equivalent to a strap structure) is connected to the wristband (equivalent to a housing), the watchband is a conductor with an impedance of less than 1MΩ. The high level of P0.1 passes through the matching circuit, then through the watchband and P0.2, and the level of P0.2 changes according to the impedance of the watchband. When the control module detects that the level of P0.2 changes from low to high, it determines that the current state is closed and can display "Watchband connected". When the watchband is disconnected, the control module will detect that the level of P0.2 changes from high to low, determining that the current state is open and can display "Watchband disconnected". At this time, the control module will report information and issue an alarm, completing the monitoring of watchband connection and disconnection.
[0088] The embodiments of this application can stably detect the wearing status of smart wearable devices, and can be applied to special scenarios with harsh environments, with better waterproofing and wider applicability.
[0089] Embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program is executed by a processor to perform the steps in any of the above method embodiments.
[0090] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.
[0091] Embodiments of this application also provide an electronic device including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
[0092] In one exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.
[0093] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.
[0094] Obviously, those skilled in the art should understand that the modules or steps of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented here, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, this application is not limited to any particular combination of hardware and software.
[0095] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.
Claims
1. An opening / closing detection device, characterized in that, The device includes: a strip structure, a control module, a first matching circuit, and a second matching circuit, wherein... One end of the strip structure is connected to the output pin of the control module through the first matching circuit, and the other end of the strip structure is connected to the input pin of the control module through the second matching circuit; the open and closed states of the strip structure include: open circuit state and closed state, wherein the impedance of the strip structure in the closed state is less than a first preset threshold. The control module is used to control the output level of the output pin, detect the input level of the input pin, and determine the opening and closing state of the strip structure based on the input level. The first matching circuit and the second matching circuit are used to match the output level according to the impedance of the strip structure and the input level, wherein the impedance of the strip structure changes with the opening and closing state of the strip structure; The device further includes a housing, wherein the control module, the first matching circuit, and the second matching circuit are located inside the housing; the first output terminal of the first matching circuit and the second input terminal of the second matching circuit are contact pins; the two ends of the strip structure are respectively fixed to the housing by screws and are connected to the contact pins by the screws.
2. The apparatus according to claim 1, characterized in that, The first matching circuit includes: a first input terminal, a first capacitor, a first resistor, a first transient suppression diode, and a first output terminal, wherein, The first input terminal is connected to the output pin, and the first output terminal is connected to the strip structure; One end of the first capacitor is connected to the first input terminal, and the other end of the first capacitor is grounded; One end of the first resistor is connected to the first input terminal, and the other end of the first resistor is connected to the first output terminal; One end of the first transient suppression diode is connected to the first output terminal, and the other end of the first transient suppression diode is grounded.
3. The apparatus according to claim 1, characterized in that, The second matching circuit includes: a second input terminal, a second transient suppression diode, a second resistor, a second capacitor, and a second output terminal, wherein, The second input terminal is connected to the strip structure, and the second output terminal is connected to the input pin; One end of the second transient suppression diode is connected to the second input terminal, and the other end of the second transient suppression diode is grounded; One end of the second resistor is connected to the second output terminal, and the other end of the second resistor is grounded; One end of the second capacitor is connected to the second output terminal, and the other end of the second capacitor is grounded.
4. The apparatus according to claim 3, characterized in that, The second matching circuit further includes a third resistor, wherein one end of the third resistor is connected to the second input terminal and the second transient suppression diode, and the other end of the third resistor is connected to the second output terminal, the second resistor, and the second capacitor.
5. The apparatus according to claim 1, characterized in that, The strip structure includes a first strip structure, a second strip structure, and an opening and closing structure, wherein the opening and closing structure is used to connect the first strip structure and the second strip structure, and the opening and closing structure includes a snap-fit connection or a hinge connection.
6. A method for detecting opening and closing, characterized in that, The method, applied to the opening / closing detection device according to any one of claims 1 to 5, comprises: Initialize the output level of the control module's output pins; Detect the input level of the input pin of the control module; The opening and closing state of the strip structure is determined based on the input level.
7. The method according to claim 6, characterized in that, Determining the opening / closing state of the strip structure based on the input level includes: When the input level is less than or equal to a first preset level, the strip structure is determined to be in an open circuit state; When the input level is greater than a first preset level, the strip structure is determined to be in a closed state.
8. The method according to claim 7, characterized in that, After determining the opening / closing state of the strip structure based on the input level, the method further includes: Report the opening and closing state of the strip structure; If the strip structure is in an open circuit state, an alarm message will be reported.
Citation Information
Patent Citations
Electronic tamper-proof bracelet
CN212729048U
