Switch, method for generating control signal, and power supply method

The method of generating control signals through the non-contact induction parameter changes is solved, and the problems of severe wear and poor sealing inside the switch are achieved, achieving longer mechanical life and better corrosion resistance.

CN114362740BActive Publication Date: 2025-07-11WUHAN LINPTECH
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202111497509.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-09
Publication Date
2025-07-11
Estimated Expiration
2041-12-09

AI Technical Summary

Technical Problem

现有开关中接触式键值检测器件导致磨损严重,机械寿命低、密封性差和耐腐蚀性差的问题。

Method used

The method of generating a control signal by changing the contactless induction parameters is adopted, and the control signal is generated by changing the magnetic field strength or capacitance value between the first induction member and the second induction member, and the induction member and the induction module remain in a non-contact state.

Benefits of technology

Improves the mechanical life and sealing of the switch, reduces internal wear and enhances corrosion resistance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114362740B_ABST
    Figure CN114362740B_ABST
Patent Text Reader

Abstract

This application relates to a switch, a method for generating a control signal, and a power supply method. The switch includes at least one key body for receiving a key operation; a first sensing member, the first sensing member is linked with the key body at a corresponding position, and when the key body switches states based on the key operation, the first sensing member is driven to move; a second sensing member disposed opposite to the first sensing member, during the movement of the first sensing member, the sensing parameter between the first sensing member and the second sensing member changes, and the sensing parameter between the first sensing member and the second sensing member is used to generate a corresponding control signal; wherein, when the first sensing member moves to any position, the first sensing member and the second sensing member are both in a non-contact state. The switch provided by this application can improve the mechanical life of the switch, and enhance the sealing performance and corrosion resistance of the switch.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of switches, and particularly to a switch, a method for generating a control signal, and a power supply method. Background Art

[0002] In daily life, switches are everywhere, and various electrical devices can be controlled through switches. For example, air conditioners, lamps, etc.

[0003] In the related art, a key value detection device is arranged inside the switch, and the key value of the switch is detected by contacting the key value detection device with the switch button, and then the controlled device is controlled according to the key value. However, setting such a contact key value detector inside the switch will cause serious wear of the components inside the switch, resulting in problems such as low mechanical life, poor sealing, and poor corrosion resistance of the switch. Summary of the Invention

[0004] To overcome the problems existing in the related art, this application provides a switch, a method for generating a control signal, and a power supply method.

[0005] According to the first aspect of the embodiments of the present application, a switch is provided, including:

[0006] At least one key body for receiving a key operation;

[0007] A first sensing member, the first sensing member is linked with the key body at the corresponding position, and when the key body switches states based on the key operation, the first sensing member is driven to move;

[0008] A second sensing member disposed opposite to the first sensing member, during the movement of the first sensing member, the sensing parameter between the first sensing member and the second sensing member changes, and the sensing parameter between the first sensing member and the second sensing member is used to generate a corresponding control signal;

[0009] Wherein, when the first sensing member moves to any position, the first sensing member and the second sensing member are both in a non-contact state.

[0010] In some embodiments,

[0011] The first sensing member includes: a magnetic member;

[0012] The second sensing member includes: a magnetic induction module;

[0013] The sensing parameter includes: magnetic field strength;

[0014] The magnetic member is linked with the key body at the corresponding position, and when the key body switches states based on the key operation, the magnetic member is driven to move within the internal space of the switch;

[0015] The magnetic induction module is configured to obtain a magnetic field strength and generate a control signal corresponding to the obtained magnetic field strength; when the magnetic member moves to different positions, the magnetic field strength obtained by the magnetic induction module changes;

[0016] Wherein, when the magnetic member moves to any position, the magnetic member and the magnetic induction module are in a non-contact state.

[0017] In some embodiments, the magnetic member is located on a surface of the key body opposite to the magnetic induction module, and the magnetic member is at least within the sensing range of the magnetic induction module when the key body is in a pressed state.

[0018] In some embodiments,

[0019] The first protruding portion is located on a surface of the key body opposite to the magnetic induction module;

[0020] An accommodation space is provided in the first protruding portion, and the magnetic member is located in the accommodation space;

[0021] Wherein, the first protruding portion is integrally formed with the key body, or the first protruding portion is fixedly connected to the key body.

[0022] In some embodiments, the switch includes:

[0023] A processing module;

[0024] A power supply module, connected to the magnetic induction module and the processing module, configured to convert kinetic energy generated when the key body switches states into electrical energy and supply power to the magnetic induction module and the processing module.

[0025] In some embodiments, the switch includes:

[0026] A voltage stabilizing module, connected to the power supply module, the processing module, and the magnetic induction module, configured to adjust the electrical energy output by the power supply module and input the adjusted electrical energy into the processing module;

[0027] The processing module, connected to the voltage stabilizing module, is configured to receive the electrical energy output by the voltage stabilizing module and control the voltage stabilizing module to supply power to the magnetic induction module after determining that the voltage stabilizing module enters a preset working state.

[0028] In some embodiments, the switch includes:

[0029] A protective layer is located between the button body and the magnetic induction module. There is a deformation space between the first side of the protective layer close to the magnetic induction module and the magnetic induction module.

[0030] The magnetic member moves on the second side of the protective layer close to the button body. When the magnetic member moves to contact the protective layer and causes the protective layer to be stressed, the stressed part of the protective layer deforms into the deformation space on the second side.

[0031] In some embodiments, the switch includes:

[0032] A middle cover is disposed parallel between the button body and the magnetic induction module;

[0033] The middle cover includes: a through hole;

[0034] The magnetic member is located on the middle cover, and at least part of the magnetic member extends into the aperture range of the through hole;

[0035] The button body includes:

[0036] A second protrusion. When the button body switches states, the second protrusion contacts or separates from at least part of the magnetic member, driving the magnetic member to move within the internal space of the switch.

[0037] In some embodiments,

[0038] The magnetic member is connected to the middle cover through a movable member;

[0039] The second protrusion is located on the surface of the button body opposite to the middle cover. When the button body switches states, the second protrusion contacts or separates from at least part of the magnetic member, and drives the magnetic member to move along the depth direction of the through hole within the internal space corresponding to the aperture range of the through hole through the movable member.

[0040] In some embodiments, the middle cover includes:

[0041] A turning shaft, and both ends of the turning shaft are movably connected to the hole walls of the through hole respectively;

[0042] The magnetic member is located on the turning shaft and within the aperture range of the through hole;

[0043] When the button body switches states, the second protrusion contacts or separates from at least part of the magnetic member, and drives the magnetic member to flip within the internal space of the switch corresponding to the aperture range of the through hole through the turning shaft.

[0044] In some embodiments, the button body includes:

[0045] A third protrusion located on the surface of the button body opposite to the middle cover of the switch;

[0046] The magnetic member is movably connected to the middle cover of the switch. During the process of the button body switching from the reset state to the pressed state, the third protrusion pushes the magnetic member to move in a first direction;

[0047] The middle cover includes:

[0048] A reset member. During the process of the button body switching from the pressed state to the reset state, the reset member pushes the magnetic member to move in a second direction; the first direction and the second direction are different.

[0049] In some embodiments, the number of the magnetic induction modules, the magnetic members, and the button bodies is the same, and the centers of the magnetic induction modules, the magnetic members, and the button bodies are located on the same axis.

[0050] In some embodiments, the switch includes:

[0051] A bottom case;

[0052] A circuit main board located on the surface of the bottom case opposite to the button body, and the magnetic induction module is located on the circuit main board.

[0053] In some embodiments, the projection parts of the magnetic induction module, the magnetic member, and the button body on the bottom case overlap.

[0054] In some embodiments, the magnetic induction module includes:

[0055] A Hall sensor for acquiring the magnetic field intensity and generating the control signal.

[0056] In some embodiments,

[0057] The first sensing member includes: a first metal sheet;

[0058] The second sensing member includes: a second metal sheet;

[0059] The sensing parameter includes: a capacitance value;

[0060] When both the first metal sheet and the second metal sheet are energized, the first metal sheet and the second metal sheet are coupled to form a capacitor; when the first metal sheet moves to different positions, the capacitance value of the capacitor changes;

[0061] Wherein, when the first metal sheet moves to any position, the first metal sheet and the second metal sheet are in a non-contact state.

[0062] In some embodiments, the switch includes:

[0063] The first metal sheet is located on the surface of the button body opposite to the second metal sheet.

[0064] According to a second aspect of the embodiments of the present application, a method for generating a control signal is provided. The method is applied to the switch provided in the first aspect. The switch includes: a button body, a first sensing element, and a second sensing element. The method includes:

[0065] When the button body detects a button operation, perform a state switch based on the button operation;

[0066] During the process of performing the state switch, obtain the sensing parameter between the first sensing element and the second sensing element;

[0067] Generate a control signal according to the obtained sensing parameter.

[0068] In some embodiments, the first sensing element includes: a magnetic member; the second sensing element includes: a magnetic induction module; the sensing parameter includes: magnetic field strength. During the process of performing the state switch, obtaining the sensing parameter between the first sensing element and the second sensing element includes:

[0069] During the process of performing the state switch, obtain the magnetic field strength in the internal space of the switch through the magnetic induction module;

[0070] The generating a control signal according to the obtained sensing parameter includes:

[0071] Generate the control signal according to the obtained magnetic field strength.

[0072] In some embodiments, the first sensing element includes: a first metal sheet; the second sensing element includes: a second metal sheet; the sensing parameter includes: capacitance value. During the process of performing the state switch, obtaining the sensing parameter between the first sensing element and the second sensing element includes:

[0073] During the process of performing the state switch, obtain the capacitance value between the first metal sheet and the second metal sheet;

[0074] The generating a control signal according to the obtained sensing parameter includes:

[0075] Generate the control signal according to the obtained capacitance value.

[0076] According to the third aspect of the embodiments of the present application, a power supply method is provided, which is applied to the switch provided in the first aspect. The switch includes a power supply module and a voltage stabilization module. The method includes:

[0077] The power supply module converts the kinetic energy generated when the key body switches states into electrical energy;

[0078] The voltage stabilization module adjusts the electrical energy output by the power supply module, and after the voltage stabilization module enters the preset working state, inputs the adjusted electrical energy into the second sensing element; or

[0079] Inputs the adjusted electrical energy into the first sensing element and the second sensing element simultaneously.

[0080] In some embodiments, the second sensing element includes a magnetic induction module; the switch includes a processing module, and the method further includes:

[0081] The voltage stabilization module inputs the adjusted electrical energy into the processing module;

[0082] After the processing module determines that the voltage stabilization module enters the preset working state based on the electrical energy parameters of the received electrical energy, it controls the voltage stabilization module to supply power to the magnetic induction module.

[0083] In some embodiments, the voltage stabilization module includes a voltage stabilization component and a controlled component. The controlled component includes a first input interface, a second input interface, and an output interface. The method includes:

[0084] The voltage stabilization component adjusts the electrical energy output by the power supply module, and inputs the adjusted electrical energy into the controlled component through the first input interface;

[0085] The processing module inputs a switching signal into the controlled component through the second input interface, and the controlled component switches to the conducting state;

[0086] After the controlled component switches to the conducting state, the controlled component transmits the electrical energy received from the voltage stabilization component to the magnetic induction module through the output interface.

[0087] In some embodiments, the method further includes:

[0088] The processing module determines whether the change value of the electrical energy parameter within a preset waiting duration is less than a preset parameter threshold;

[0089] If the change value of the electrical energy parameter within the preset waiting duration is less than the preset parameter threshold, it is determined that the voltage stabilization module enters the preset working state.

[0090] In some embodiments, the switch includes: a communication module for outputting the control signal; the method further includes:

[0091] Before the voltage stabilizing module enters the preset working state, the processing module initializes the input / output interface of the processing module and / or the configuration parameters of the communication module.

[0092] Wherein, the configuration parameters include at least one of the following: the transmission frequency of the control signal; the modulation mode of the control signal; the transmission power of the antenna in the communication module.

[0093] In some embodiments, when the voltage stabilizing device is in a non-preset working state, the magnetic induction module is in a power-off state.

[0094] The technical solutions provided by the embodiments of the present application may include the following beneficial effects:

[0095] In the embodiments of the present application, the button body can receive the button operation of the user and move downward under the drive of the button operation. Since the first sensing member is linked with the button body at the corresponding position, the first sensing member can be driven to move during the downward movement of the button body. Furthermore, the sensing parameter between the first sensing member and the second sensing member changes during the movement of the first sensing member, and then a control signal corresponding to the sensing parameter is generated according to the sensing parameter between the first sensing member and the second sensing member. Since the first sensing member and the second sensing member are in a non-contact state when the first sensing member moves to any position. That is, when the button body drives the first sensing member to move, the first sensing member and the second sensing member do not need to contact each other to generate a control signal according to the sensing parameter between the first sensing member and the second sensing member. Therefore, the structure of the switch provided by the embodiments of the present application is simpler and easier to implement; and the internal wear of the switch is less. Therefore, the mechanical life of the switch can be improved, and the sealing performance and corrosion resistance of the switch can be enhanced.

[0096] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0097] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present application and used together with the specification to explain the principles of the present application.

[0098] Figure 1 is a schematic structural diagram of a switch shown according to an exemplary embodiment Figure 1 .

[0099] Figure 2 is a schematic structural diagram of a switch shown according to an exemplary embodiment Figure 2。

[0100] Figure 3 It is a schematic side structure of a switch shown according to an exemplary embodiment Figure 1 。

[0101] Figure 4 It is a schematic principle diagram of a Hall sensor shown according to an exemplary embodiment Figure 1 。

[0102] Figure 5 It is a schematic principle diagram of a Hall sensor shown according to an exemplary embodiment Figure 2 。

[0103] Figure 6 It is a schematic structural diagram of a circuit main board shown according to an exemplary embodiment.

[0104] Figure 7 It is a schematic structural diagram of a key body shown according to an exemplary embodiment

[0105] Figure 8 It is a schematic detection timing diagram of a magnetic induction module shown according to an exemplary embodiment

[0106] Figure 9 It is a structural frame of a switch shown according to an exemplary embodiment Figure 1 。

[0107] Figure 10 It is a schematic side structure of a switch shown according to an exemplary embodiment Figure 2 。

[0108] Figure 11 It is a schematic side structure of a switch shown according to an exemplary embodiment Figure 3 。

[0109] Figure 12 It is a schematic side structure of a switch shown according to an exemplary embodiment Figure 4 。

[0110] Figure 13 It is a schematic side structure of a switch shown according to an exemplary embodiment Figure 5 。

[0111] Figure 14 It is a schematic side structure of a switch shown according to an exemplary embodiment Figure 6 。

[0112] Figure 15 It is a schematic side structure of a switch shown according to an exemplary embodiment Figure 7 。

[0113] Figure 16 is a structural block diagram of a switch shown according to an exemplary embodiment Figure 2 .

[0114] Figure 17 is a schematic side view of a switch shown according to an exemplary embodiment Figure 8 .

[0115] Figure 18 is a flowchart of a method for generating a control signal shown according to an exemplary embodiment

[0116] Figure 19 is a flowchart of a power supply method shown according to an exemplary embodiment

[0117] Figure 20 is a partial circuit structure diagram of a switch shown according to an exemplary embodiment Detailed implementation manners

[0118] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims

[0119] Figure 1 is a schematic diagram of a switch shown according to an exemplary embodiment Figure 1 , such as Figure 1 shown, the switch includes:

[0120] at least one key body 101 for receiving a key operation

[0121] a first sensing member, the first sensing member is linked with the key body 101 at a corresponding position, and when the key body 101 switches states based on the key operation, the first sensing member is driven to move

[0122] a second sensing member 103 disposed opposite to the first sensing member, during the movement of the first sensing member, the sensing parameter between the first sensing member and the second sensing member 103 changes, and the sensing parameter between the first sensing member and the second sensing member 103 is used to generate a corresponding control signal

[0123] wherein, when the first sensing member moves to any position, the first sensing member and the second sensing member 103 are both in a non-contact state

[0124] It should be noted that Figure 1The first sensing member is not shown. In some embodiments, the first sensing member may be located inside the key body 101.

[0125] The switch may include only one key body 101, or may include multiple key bodies 101. When the switch includes multiple key bodies 101, the multiple key bodies 101 can be used to control different controlled devices, or can be used to control different functions of the same controlled device. When the switch includes multiple key bodies 101, the multiple key bodies 101 are independently arranged on the surface of the switch, and there is no linkage between the multiple key bodies 101.

[0126] The key body 101 may be located on the surface of the switch. When the user needs to control the controlled device, a key operation can be performed on the key body 101, and the key operation can be an operation of pressing the key body 101. The key body 101 can receive the key operation of the user and move downward under the drive of the key operation.

[0127] The switch may include one first sensing member, or may include multiple first sensing members. When the switch includes one key body 101, it also includes one first sensing member; when the switch includes multiple key bodies 101, it may include one first sensing member, or may include multiple first sensing members.

[0128] The first sensing member can be directly connected to the key body 101 by means of adhesion or snap connection. The first sensing member can also be indirectly connected to the key body 101 through a certain connecting member. The first sensing member can also not be connected to the key body 101. Here, the connection relationship between the first sensing member and the key body 101 is not limited, as long as the first sensing member and the key body 101 can be linked.

[0129] When the switch includes one key body 101 and one first sensing member, the first sensing member can be linked with the key body 101. When the user performs a key operation on the key body 101, the key body 101 can receive the key operation of the user, move downward under the drive of the key operation to perform a state switch, and drive the first sensing member to move.

[0130] When the switch includes multiple key bodies 101 and one first sensing member, the first sensing member can be linked with the multiple key bodies 101. When the user performs a key operation on any one of the multiple key bodies 101, the key body 101 that receives the key operation can move downward under the drive of the key operation to perform a state switch, and drive the first sensing member to move. Here, the multiple key bodies 101 do not work simultaneously, that is, the multiple key bodies 101 do not receive key operations simultaneously.

[0131] When the switch includes a plurality of button bodies 101 and a plurality of first sensing elements, the number of the button bodies 101 and the first sensing elements may be the same, and their installation positions in the switch may correspond one by one. Each of the first sensing elements may be linked with the corresponding button body 101. When a user performs a button operation on any one of the plurality of button bodies 101, one or more button bodies 101 receiving the button operation may move downward under the drive of the button operation to perform a state change, and drive the first sensing elements at the corresponding positions to move. Here, the plurality of button bodies 101 may work simultaneously or may not work simultaneously, that is, the plurality of button bodies 101 may receive button operations simultaneously or may not receive button operations simultaneously.

[0132] The second sensing element 103 may be fixedly installed inside the switch, and the second sensing element 103 may be arranged opposite to the first sensing element. During the movement of the first sensing element, the position of the first sensing element changes, the position of the second sensing element 103 remains unchanged, and the relative position between the first sensing element and the second sensing element 103 changes, so that the sensing parameters between the first sensing element and the second sensing element 103 change. The sensing parameters between the first sensing element and the second sensing element 103 may include parameters such as magnetic field strength, capacitance value or inductance value that can change with the relative position between the first sensing element and the second sensing element 103.

[0133] It should be noted that when the button body 101 drives the first sensing element to move to any position, the first sensing element and the second sensing element 103 are both in a non-contact state. The first sensing element and the second sensing element 103 may jointly form a non-contact switch control signal generation unit, that is, in the case where the first sensing element and the second sensing element 103 are not in contact, a control signal corresponding to the sensing parameters is generated according to the sensing parameters between the first sensing element and the second sensing element 103.

[0134] It should be noted that the control signal may be a signal for controlling a controlled device. For example, the control signal may be used to instruct to turn off the controlled device, turn on the controlled device or adjust the working mode of the controlled device, etc. When the controlled device includes a lighting fixture, the control signal may also be used to instruct to adjust the brightness of the controlled device.

[0135] Since the key operation can drive the key body 101 to move downward, and then drive the first sensing member to move, causing the sensing parameter between the first sensing member and the second sensing member 103 to change, the sensing parameter between the first sensing member and the second sensing member 103 can correspond to the key operation. At the same time, the control signal corresponds to the sensing parameter between the first sensing member and the second sensing member 103. Therefore, the control signal generated according to the sensing parameter between the first sensing member and the second sensing member 103 corresponds to the key operation. Furthermore, the control signal generated according to the sensing parameter between the first sensing member and the second sensing member 103 can accurately represent the control that the user wants to perform on the controlled device through the switch.

[0136] In the embodiment of the present application, the key body 101 can receive the key operation of the user and move downward under the drive of the key operation. Since the first sensing member is linked with the corresponding position of the key body 101, the first sensing member can be driven to move during the downward movement of the key body 101, and then the sensing parameter between the first sensing member and the second sensing member 103 changes during the movement of the first sensing member. Then, a control signal corresponding to the sensing parameter is generated according to the sensing parameter between the first sensing member and the second sensing member 103. Since the first sensing member and the second sensing member 103 are in a non-contact state at any position when the first sensing member moves. That is, when the key body 101 drives the first sensing member to move, the first sensing member and the second sensing member 103 do not need to be in contact to generate a control signal according to the sensing parameter between the first sensing member and the second sensing member 103. Therefore, the structure of the switch provided in the embodiment of the present application is simpler and easier to implement; and there is less wear inside the switch. Therefore, the mechanical life of the switch can be improved, and the sealing performance and corrosion resistance of the switch can be enhanced.

[0137] Figure 2 is a schematic structural diagram of a switch shown according to an exemplary embodiment Figure 2 。

[0138] Figure 3 is a schematic side view of a switch shown according to an exemplary embodiment Figure 1 。

[0139] As Figure 2-3 shown, in some embodiments, the first sensing member may include: a magnetic member 1021;

[0140] The second sensing member 103 includes: a magnetic induction module 1031;

[0141] The sensing parameter includes: magnetic field strength;

[0142] The magnetic member 1021 is linked to the key body 101 at the corresponding position. When the key body 101 switches states based on the key operation, it drives the magnetic member 1021 to move within the internal space of the switch;

[0143] The magnetic induction module 1031 is configured to obtain the magnetic field strength and generate a control signal corresponding to the obtained magnetic field strength; when the magnetic member 1021 moves to different positions, the magnetic field strength obtained by the magnetic induction module 1031 changes;

[0144] Wherein, when the magnetic member 1021 moves to any position, the magnetic member 1021 and the magnetic induction module 1031 are in a non-contact state.

[0145] It should be noted that, Figure 2 the first sensing member and the magnetic member 1021 are not shown in.

[0146] The magnetic member 1021 can be disposed inside the switch, and the magnetic member 1021 can be linked to the key body 101 at the corresponding position. Therefore, when the key body 101 switches states based on the key operation, it can drive the magnetic member 1021 to move vertically or horizontally within the internal space of the switch, or drive the magnetic member 1021 to flip inside the switch, or drive the magnetic member 1021 to move in other ways inside the switch. Here, the movement mode of the magnetic member 1021 inside the switch is not limited.

[0147] In some embodiments, the magnetic induction module 1031 can be fixedly disposed at a position within the magnetic field range of the magnetic member inside the switch. It can be understood that there is a magnetic field around the magnetic member 1021. If the magnetic induction module 1031 is disposed within the magnetic field range of the magnetic member 1021, the magnetic induction module 1031 can sense the magnetic field around the magnetic member 1021. When the magnetic induction module 1031 senses the magnetic field around the magnetic member 1021, it can obtain the magnetic field strength of the sensed magnetic field and generate a control signal corresponding to the obtained magnetic field strength. Since, during the process of the magnetic member 1021 moving to different positions, the magnetic field range of the magnetic member 1021 also moves together with the magnetic member 1021, therefore, during the process of the magnetic member 1021 moving to different positions, the magnetic field strength obtained by the magnetic induction module 1031 is also different, and further, the control signal generated by the magnetic induction module 1031 corresponding to the magnetic field strength is also different. Therefore, different control signals can represent that the magnetic member 1021 moves to different positions. At the same time, the user's key operation can drive the key body 101 to move, and further drive the magnetic member 1021 to move; therefore, different control signals can accurately represent the control that the user wants to perform on the controlled device through the switch.

[0148] For example, when the magnetic component 1021 is driven by the key body 101 and approaches the magnetic induction module 1031 (i.e., the key body 101 is pressed down to drive the magnetic component 1021 to move downward), the magnetic induction module 1031 obtains a relatively large magnetic field intensity. At this time, the control signal generated corresponding to the magnetic field intensity can indicate that the switch is in the pressed state. This control signal can be used to instruct the controlled device to perform operations corresponding to the pressed state of the switch, such as instructing the controlled device to turn on or off.

[0149] Thus, in the embodiment of the present application, during the process that the key body 101 drives the magnetic component 1021 to move inside the switch, different magnetic field intensities when the magnetic component 1021 moves to different positions can be obtained through the magnetic induction module 1031, and then control signals corresponding to the magnetic field intensities are generated. Since the magnetic component 1021 and the magnetic induction module 1031 are in a non-contact state when the magnetic component 1021 moves to any position, the structure of the switch provided in the embodiment of the present application is simpler and easier to implement; and there is less wear inside the switch. Therefore, the mechanical life of the switch can be improved, and the sealing performance and corrosion resistance of the switch can be enhanced.

[0150] In some embodiments, the number of the magnetic induction module 1031, the magnetic component 1021, and the key body 101 is the same, and the centers of the magnetic induction module 1031, the magnetic component 1021, and the key body 101 are located on the same axis.

[0151] When the switch includes one key body 101 and one magnetic component 1021, the magnetic component 1021 can be linked with the key body 101. When the user performs a key operation on the key body 101, the key body 101 can receive the key operation of the user, move downward under the drive of the key operation to perform a state switch, and drive the magnetic component 1021 to move.

[0152] When the switch includes multiple key bodies 101 and multiple magnetic components 1021, the number of the key bodies 101 and the magnetic components 1021 can be the same, and their installation positions in the switch can correspond one by one. Each magnetic component 1021 can be linked with the corresponding key body 101 at the corresponding position. When the user performs a key operation on any one of the multiple key bodies 101, one or more key bodies 101 that receive the key operation can move downward under the drive of the key operation to perform a state switch, and drive the magnetic components 1021 at the corresponding positions to move. Here, the multiple key bodies 101 can work simultaneously or non-simultaneously, that is, the multiple key bodies 101 can receive key operations simultaneously or non-simultaneously.

[0153] Such as Figure 2As shown, in some embodiments, the switch may include a bottom case 104, and the projection parts of the magnetic induction module 1031, the magnetic member 1021, and the button body 101 on the bottom case 104 overlap each other.

[0154] In this way, the positions of the magnetic induction module 1031, the magnetic member 1021, and the button body 101 inside the switch can be aligned one by one, so that the magnetic field intensity of the magnetic field around the magnetic member 1021 obtained by the magnetic induction module 1031 is more accurate.

[0155] In some embodiments, the magnetic induction module 1031 may include a Hall sensor for obtaining the magnetic field intensity and generating a control signal corresponding to the obtained magnetic field intensity.

[0156] Figure 4 is a schematic diagram of the principle of a Hall sensor shown according to an exemplary embodiment Figure 1 .

[0157] Figure 5 is a schematic diagram of the principle of a Hall sensor shown according to an exemplary embodiment Figure 2 .

[0158] As Figure 4-5 shown, in some embodiments, when the magnetic induction module is the Hall sensor 10311, the principle of the magnetic member and the magnetic induction module cooperating to generate a control signal may be the Hall effect. Hall effect: When a metal or semiconductor thin sheet with current flowing through it is placed vertically in a magnetic field, a potential difference will be generated at both ends of the thin sheet. That is, there is a magnetic field around the magnetic member 1021. If the Hall sensor 10311 is set within the magnetic field range of the magnetic member 1021, the Hall sensor 10311 can detect the surrounding magnetic field, obtain the magnetic field intensity of the magnetic field around the magnetic member 1021, and generate an electrical signal corresponding to the magnetic field intensity.

[0159] Moreover, when the south pole of the magnetic member 1021 faces the Hall sensor 10311, the magnetic field intensity obtained by the Hall sensor 10311 is positive; when the north pole of the magnetic member 1021 faces the Hall sensor 10311, the magnetic field intensity obtained by the Hall sensor 10311 is negative. When the magnetic member 1021 moves, the magnetic field around the Hall sensor 10311 changes, and thus the electrical signal generated by the Hall sensor 10311 corresponding to the magnetic field intensity is also different. When the magnetic member 1021 is closer to the Hall sensor 10311, the value of the magnetic field intensity obtained by the Hall sensor 10311 is larger. When the button body is in the reset state, the distance between the magnetic member 1021 and the Hall sensor 10311 is relatively far, and the magnetic field intensity obtained by the Hall sensor 10311 is less than the magnetic field release point B RPN or BRPS When in this state, the Hall sensor 10311 can generate a high level V OH . When the key body is in the pressed state, the distance between the magnetic member 1021 and the Hall sensor 10311 is relatively close, and the magnetic field strength obtained by the Hall sensor 10311 is greater than the magnetic field operating point B corresponding to the Hall sensor 10311 OPN or B OPS When this occurs, the Hall sensor 10311 can generate a low level V OL . B RPN is the magnetic field release point corresponding to the Hall sensor 10311 when the north pole of the magnetic member 1021 faces the Hall sensor 10311, and B RPS is the magnetic field release point corresponding to the Hall sensor 10311 when the south pole of the magnetic member 1021 faces the Hall sensor 10311; B OPN is the magnetic field operating point corresponding to the Hall sensor 10311 when the north pole of the magnetic member 1021 faces the Hall sensor 10311, and B OPS is the magnetic field operating point corresponding to the Hall sensor 10311 when the south pole of the magnetic member 1021 faces the Hall sensor 10311.

[0160] Here, the electrical signal (including low level or high level) generated by the Hall sensor 10311 can be used as a control signal. In some embodiments, the switch may further include a processing module. After the Hall sensor 10311 generates an electrical signal, the processing module can obtain the electrical signal generated by the Hall sensor 10311; determine the key value information of the switch according to the electrical signal generated by the Hall sensor 10311, and generate a control signal according to the key value information. It can be understood that the key value information may include the state of the key body (the state of the key body includes the reset state and the pressed state), that is, the switch state (on state and off state) of the switch. Here, the on state of the switch corresponds to the pressed state of the key body, and the off state of the switch corresponds to the reset state of the key body.

[0161] Figure 6 is a schematic structural diagram of a circuit board shown according to an exemplary embodiment.

[0162] In some embodiments, as shown in Figure 2 and Figure 6 , the switch may include:

[0163] A bottom case 104;

[0164] A circuit board 105, located on the surface of the bottom case 104 opposite to the key body 101, and the magnetic induction module 1031 is located on the circuit board 105.

[0165] It should be noted that the bottom shell 104 can be used to protect the internal structure of the switch. The button body 101 can be covered with the bottom shell 104 to form an internal space, and various components of the switch (for example, the circuit main board 105 and the magnetic induction module 1031) can be located in the internal space formed by the covering of the button body 101 and the bottom shell 104.

[0166] In some application scenarios, the switch can be set on different support surfaces through the bottom shell 104. For example, the switch can be fixedly set on a wall through the bottom shell 104.

[0167] In this way, by covering the button body 101 and the bottom shell 104, a complete switch housing can be formed, and the circuit main board 105 and the magnetic induction module 1031 can be set in the internal space formed by the covering of the button body 101 and the bottom shell 104. In this way, the button operation can be received through the button body 101, and the components inside the switch, such as the circuit main board 105 and the magnetic induction module 1031, can be protected by the button body 101 and the bottom shell 104.

[0168] As Figure 2 shown, in some embodiments, the switch may include:

[0169] A protective layer 106, located between the button body 101 and the magnetic induction module 1031, and there is a deformation space between the first side of the protective layer 106 close to the magnetic induction module 1031 and the magnetic induction module 1031;

[0170] The magnetic member moves on the second side of the protective layer 106 close to the button body 101. When the magnetic member moves to contact the protective layer 106 and causes the protective layer 106 to be stressed, the stressed part of the protective layer 106 deforms into the deformation space on the second side.

[0171] It can be understood that since there is a deformation space between the first side of the protective layer 106 close to the magnetic induction module 1031 and the magnetic induction module 1031, when the magnetic member moves to contact the protective layer 106 and causes the protective layer 106 to be stressed, the stressed part of the protective layer 106 can deform into the deformation space on the second side. In this way, during the movement of the magnetic member, the wear of the protective layer 106 is relatively small.

[0172] The protective layer 106 can be made of waterproof silicone material or other insulating and waterproof flexible materials. The structure of the protective layer 106 can correspond to the components inside the switch. The protective layer 106 can be attached to the components inside the switch. When a certain component inside the switch has a protruding part, the corresponding position on the protective layer 106 also has a protruding structure; when a certain component inside the switch has a concave part, the corresponding position on the protective layer 106 also has a concave structure.

[0173] As Figure 2 shown, in some embodiments, the switch may include: a key body 101, a middle cover 112, a protective layer 106, a transmission component 110, a circuit main board 105, and a bottom case 104; the key body 101, the middle cover 112, the protective layer 106, the transmission component 110, the circuit main board 105, and the bottom case 104 are stacked. The side surface of the protective layer 106 facing the middle cover 112 is attached to the middle cover 112, and the side surface of the protective layer 106 facing the transmission component 110 is attached to the transmission component 106. For example, when the transmission component 110 has a protruding part, the corresponding position on the protective layer 106 also has a protruding structure.

[0174] Figure 7 is a schematic structural diagram of a key body shown according to an exemplary embodiment.

[0175] As Figure 3 and Figure 7 shown, in some embodiments, the magnetic member 1021 can be located on the surface of the key body 101 opposite to the magnetic induction module 1031, and the magnetic member 1021 is at least within the sensing range of the magnetic induction module 1031 when the key body 101 is in a pressed state.

[0176] The magnetic member 1021 can be directly disposed on the surface of the key body 101 opposite to the magnetic induction module 1031 by means of bonding or clamping. In this way, the linkage between the magnetic member 1021 and the key body 101 can be achieved, and the internal structure of the switch can be made simpler and easier to implement.

[0177] The magnetic member 1021 is at least within the sensing range of the magnetic induction module 1031 when the key body 101 is in a pressed state, that is, at least when the key body 101 is in a pressed state, the magnetic induction module 1031 can sense the magnetic field around the magnetic member 1021. In this way, the magnetic induction module 1031 can obtain the magnetic field strength within the sensing range at least when the key body 101 is in a pressed state, and then generate a control signal corresponding to the magnetic field strength.

[0178] When the key body 101 is in the reset state, the magnetic member 1021 may be within the sensing range of the magnetic induction module 1031 or may not be within the magnetic induction range of the magnetic induction module 1031. When the key body 101 is in the reset state and the magnetic member 1021 is not within the magnetic induction range of the magnetic induction module 1031, the magnetic field intensity obtained by the magnetic induction module 1031 may be zero. Here, it is only necessary to ensure that the magnetic field intensity obtained by the magnetic induction module 1031 is different when the key body 101 is in the pressed state and the reset state (including the case where the obtained magnetic field intensity is zero).

[0179] As Figure 3 shown, in some embodiments, the switch includes:

[0180] A first protrusion 107 located on the surface of the key body 101 opposite to the magnetic induction module 1031;

[0181] An accommodation space is provided in the first protrusion 107, and the magnetic member 1021 is located in the accommodation space;

[0182] Wherein, the first protrusion 107 is integrally formed with the key body 101, or the first protrusion 107 is fixedly connected to the key body 101.

[0183] Since the first protrusion 107 is located on the surface of the key body 101 opposite to the magnetic induction module 1031, when the key body 101 undergoes a state change, the first protrusion 101 can move together with the key body 101, thereby driving the magnetic member 1021 in the first protrusion 107 to move.

[0184] In this way, by arranging the magnetic member 1021 in the accommodation space within the first protrusion 107, the distance between the magnetic member 1021 and the magnetic induction module 1031 can be reduced, enabling the magnetic induction module 1031 to more precisely sense the magnetic field around the magnetic member 1021 and obtain a more accurate magnetic field intensity, so that the generated control signal corresponding to the magnetic field intensity is more accurate.

[0185] In some embodiments, the switch may be a self-powered switch.

[0186] As Figure 3 shown, in some embodiments, the switch may include:

[0187] A processing module;

[0188] The power supply module 109, connected to the magnetic induction module 1031 and the processing module, is configured to convert the kinetic energy generated when the key body 101 switches states into electrical energy and supply power to the magnetic induction module 1031 and the processing module.

[0189] Here, electrical energy can be generated by the power supply module 109 inside the switch to supply power to the components inside the switch. There is no need to connect the switch to other power lines, and the switch can be set at any position. In this way, the switch provided by the embodiment of the present application is both environmentally friendly and can be applied to more scenarios.

[0190] It should be noted that Figure 3 the processing module is not shown in the figure, and the processing module can be arranged inside the switch.

[0191] For example Figure 2 As shown, in some embodiments, the switch may further include: a transmission component 110, configured to conduct the kinetic energy generated when the key body 101 switches states to the power supply module 109.

[0192] The first protrusion can also be used to cooperate with the transmission component 110 to conduct the kinetic energy generated when the key body 101 switches states to the power supply module 109. That is, when the key body 101 is pressed down, the key body 101 drives the first protrusion to move, so that the first protrusion contacts the transmission component 110 and drives the transmission component 110 to move, conducting the kinetic energy generated when the key body 101 switches states to the transmission component 110, and then the transmission component conducts the kinetic energy to the power supply module 109.

[0193] Here, the first protrusion can not only be used to provide an installation base for the magnetic member 1021 and drive the magnetic member 1021 to move, but also cooperate with the transmission component 110 to conduct the kinetic energy generated when the key body 101 switches states to the power supply module 109. Two functions can be realized simultaneously only through the first protrusion. Therefore, the structure of the switch provided by the embodiment of the present application can be made simpler.

[0194] Figure 8 It is a detection timing diagram of a magnetic induction module shown according to an exemplary embodiment.

[0195] For example Figure 8As shown, the detection period of the magnetic induction module includes a working period and a waiting period. Within one detection period, the magnetic induction module performs magnetic field detection during the working period and outputs the detection result, and then maintains a waiting state during the waiting period until the start of the next detection period. During the working period of the next detection period, the next magnetic field detection is performed and the detection result is updated. That is, when the surrounding magnetic field state of the magnetic induction module changes, the output state of the magnetic induction module cannot be updated until the next detection period. It can be understood that in order to make the generated control signal accurate enough, it is necessary to ensure that the magnetic field detection in the first detection period after the magnetic induction module is powered on is accurate and reliable. And as long as stable power supply is maintained before the first detection period after the magnetic induction module is powered on ( Figure 8 before the working period in

[0196] Figure 9 is a structural block diagram of a switch shown according to an exemplary embodiment Figure 1 . It should be noted that Figure 9 the key body and the magnetic part are not shown in

[0197] As Figure 9 shown, in some embodiments, the switch includes:

[0198] A voltage stabilization module 111, connected to the power supply module 109, the processing module 108, and the magnetic induction module 1031, for adjusting the electric energy output by the power supply module 109 and inputting the adjusted electric energy into the processing module 108;

[0199] The processing module 108, connected to the voltage stabilization module 111, for receiving the electric energy output by the voltage stabilization module 111 and controlling the voltage stabilization module 111 to supply power to the magnetic induction module 1031 after determining that the voltage stabilization module 111 enters a preset working state.

[0200] The preset working state can be a stable state, that is, the state after the voltage stabilization module 111 is fully oscillated. Here, it should be noted that during the process of the voltage stabilization device 111 supplying power to the magnetic induction module 1031, the instantaneous current when the magnetic induction module 1031 is powered on is relatively large. At this time, if the voltage stabilization device 111 does not enter the preset working state, the large current at the moment when the magnetic induction module 1031 is powered on may cause the voltage stabilization device 111 to reset.

[0201] Here, after the processing module 108 determines that the voltage stabilization module 111 enters the preset working state and then controls the voltage stabilization module 111 to supply power to the magnetic induction module 1031, the situation where the large current at the moment when the magnetic induction module 1031 is powered on causes the voltage stabilization device 111 to reset can be avoided to a certain extent.

[0202] In some embodiments, the processing module 108, the power supply module 109, the voltage stabilization module 111, and the magnetic induction module 1031 can all be located on Figure 2 the circuit main board 105 as shown.

[0203] Such as Figure 2 shown, in some embodiments, the switch may further include:

[0204] The middle cover 112, which is arranged in parallel between the button body 101 and the magnetic induction module 1031;

[0205] The middle cover includes: a through hole 1121;

[0206] The magnetic member is located on the middle cover 112, and at least part of the magnetic member extends into the aperture range of the through hole 1121;

[0207] The button body 101 includes:

[0208] A second protrusion. When the button body 101 switches states, the second protrusion contacts or separates from at least part of the magnetic member, driving the magnetic member to move within the internal space of the switch.

[0209] It should be noted that Figure 2 the magnetic member and the second protrusion are not shown in.

[0210] The middle cover 112 can be a waterproof material. On the one hand, the middle cover 112 can play a waterproof role. On the other hand, it can fix various components inside the switch. For example, the middle cover 112, which is arranged in parallel between the button body 101 and the magnetic induction module 1031, can be used to fix the magnetic induction module 1031, to a certain extent avoiding the influence of the movement of the button body 101 on the magnetic induction module 1031. In this embodiment, the middle cover 112 can also provide an installation base for the magnetic member.

[0211] The middle cover 112 can have a certain thickness, and the thickness of the middle cover 112 can be set according to specific circumstances. The through hole 1121 on the middle cover 112 can provide a moving space for the magnetic member, and the magnetic member can move within the through hole 1121. It should be noted that in some embodiments, the magnetic member can also move outside the through hole 1121, such as moving in the space between the magnetic member and the middle cover 112 or in the space between the middle cover 112 and the magnetic induction module 1031.

[0212] The second protrusion can move with the key body 101 when the key body 101 receives a key operation to switch the state. During the movement of the second protrusion, the magnetic member can be driven to move in the internal space of the switch, where the internal space of the switch includes the through hole 1121.

[0213] Here, by arranging the magnetic component on the middle cover 112 , the distance between the magnetic component and the magnetic induction module 1031 can be made smaller, so that the magnetic field strength of the magnetic field around the magnetic component acquired by the magnetic induction module 1031 is more accurate.

[0214] Figure 10 is a schematic diagram of a side structure of a switch according to an exemplary embodiment Figure 2 .

[0215] Figure 11 is a schematic diagram of a side structure of a switch according to an exemplary embodiment Figure 3 .

[0216] like Figure 10-11 As shown, in some embodiments, the magnetic member 1021 may be connected to the middle cover 112 via a movable member 113;

[0217] The second protrusion 1011 is located on the surface of the button body 101 opposite to the middle cover 112. When the button body 101 is switching its state, the second protrusion 1011 is in contact with or separated from at least part of the magnetic member 1021. The magnetic member 1021 is driven by the movable member 113 to move along the depth direction of the through hole 1121 within the internal space corresponding to the aperture range of the through hole 1121.

[0218] Understandably, Figure 10 The diagram may be a side structural diagram of the switch when the key body 101 is in a reset state. Figure 11 The side structure diagram of the switch when the key body 101 is in a pressed state is shown. Figure 7 The reset state shown switches to Figure 8 In the pressed state shown, the magnetic member 1021 can approach the magnetic induction module 1031 along the depth direction of the through hole 1121 .

[0219] When the button body 101 is in Figure 10 In the reset state shown in FIG. 1 , the magnetic field strength acquired by the magnetic induction module 1031 may be B1, and the control signal corresponding to B1 generated by the magnetic induction module 1031 may be a first control signal, which may instruct the controlled device to shut down; when the button body 101 is in Figure 11In the case of the pressed state shown, the magnetic field strength obtained by the magnetic induction module 1031 may be B2, and the control signal corresponding to B2 generated by the magnetic induction module 1031 may be a second control signal, and the second control signal may instruct the controlled device to turn on. Since the closer the magnetic member 1021 is to the magnetic induction module 1031, the greater the magnetic field strength obtained by the magnetic induction module 1031, so B2 may be greater than B1.

[0220] Here, the magnetic member 1021 can move in the inner space corresponding to the aperture range of the through hole 1121, along the hole depth direction of the through hole 1121; therefore, there is less medium between the magnetic member 1021 and the magnetic induction module 1031, and when the switch does not include the protective layer 106, the medium between the magnetic member 1021 and the magnetic induction module 1031 is air. Therefore, this can further make the magnetic field strength around the magnetic member 1021 obtained by the magnetic induction module 1031 more accurate.

[0221] Figure 12 is a schematic diagram of a side structure of a switch according to an exemplary embodiment Figure 4 .

[0222] Figure 13 is a schematic diagram of a side structure of a switch according to an exemplary embodiment Figure 5 .

[0223] like Figure 12-13 As shown, in some embodiments, the middle cover 112 may include:

[0224] A turning shaft 1122, both ends of which are movably connected to the hole wall of the through hole 1121;

[0225] The magnetic member 1021 is located on the flip axis 1122 and within the aperture range of the through hole 1121;

[0226] When the button body 101 switches state, the second protrusion 1011 contacts or separates from at least part of the magnetic member 1021 , and the magnetic member 1021 is driven to flip within the internal space of the switch corresponding to the aperture range of the through hole 1121 through the flip shaft 1122 .

[0227] In some embodiments, after the second protrusion 1011 contacts the magnetic member 1021 and drives the magnetic member 1021 to flip, it can be immediately separated from the magnetic member 1021, that is, the button body 101 can be immediately reset after being pressed down, so that the second protrusion 1011 is separated from the magnetic member 1021.

[0228] Understandably, Figure 12The figure may show a side structural schematic diagram of the switch before the magnetic member 1021 is flipped. Figure 13 The figure may show a side structural schematic diagram of the switch after the magnetic member 1021 is flipped. Before and after the magnetic member 1021 is flipped, the polarity of the magnetic member 1021 facing the magnetic induction module 1031 is different, and the magnitudes of the magnetic field intensities obtained by the magnetic induction module 1031 are the same, but the directions are opposite. For example, before the magnetic member 1021 is flipped, the magnetic field intensity obtained by the magnetic induction module 1031 may be a positive value, and after the magnetic member 1021 is flipped, the magnetic field intensity obtained by the magnetic induction module 1031 may be a negative value. Therefore, when the magnetic member 1021 moves to different positions, the magnetic field intensities obtained by the magnetic induction module 1031 are different. Furthermore, the magnetic induction module 1031 can generate different control signals according to the different magnetic field intensities obtained.

[0229] Since the magnetic member 1021 requires a relatively small movement space for flipping, the magnetic member 1021 is disposed on the rotation axis 1122 of the middle cover 112. This can make the internal structure of the switch provided in the embodiments of the present application more compact.

[0230] Figure 14 It is a side structural schematic diagram of a switch shown according to an exemplary embodiment Figure 6 .

[0231] Figure 15 It is a side structural schematic diagram of a switch shown according to an exemplary embodiment Figure 7 .

[0232] As Figure 14-15 shown, in some embodiments, the button body 101 may include:

[0233] A third protrusion 1012, located on the surface of the button body 101 opposite to the middle cover 112 of the switch;

[0234] The magnetic member 1021 is movably connected to the middle cover 112 of the switch. During the process of the button body 101 switching from the reset state to the pressed state, the third protrusion 1012 pushes the magnetic member 1021 to move in the first direction;

[0235] The middle cover 112 may include:

[0236] A reset member 1123. During the process of the button body 101 switching from the pressed state to the reset state, the reset member 1123 pushes the magnetic member 1021 to move in the second direction; the first direction and the second direction are different.

[0237] Here, the magnetic member 1021 may be movably connected to the reset member 1123 of the middle cover 112.

[0238] It can be understood that Figure 14 shown may be a schematic side view of the switch when the key body 101 is in the reset state Figure 15 shown may be a schematic side view of the switch when the key body 101 is in the pressed state. For example, in Figure 14-15 , during the process of the key body 101 switching from the reset state to the pressed state, the third protrusion 1012 pushes the magnetic member 1021 to move leftward (the first direction); during the process of the key body 101 switching from the pressed state to the reset state, the reset member 1123 pushes the magnetic member 1021 to move rightward (the second direction). It can be understood that after the key body 101 switches its state, the relative position between the magnetic member 1021 and the magnetic induction module 1031 changes, and the magnetic field strength obtained by the magnetic induction module 1031 can also change. For example, in Figure 14 , the magnetic member 1021 is located directly above the magnetic induction module 1031, and the magnetic field strength obtained by the magnetic induction module 1031 can be B3; after the key body 101 switches its state, in Figure 15 , the magnetic member 1021 is located in the upper left of the magnetic induction module 1031, and the magnetic field strength obtained by the magnetic induction module 1031 can be B4, and B3 may not be equal to B4. In this way, it is not necessary to open a through hole in the middle cover 112, which can make the structure of the middle cover 112 more complete, and further improve the waterproof performance of the entire switch.

[0239] Figure 16 is a structural frame of a switch shown according to an exemplary embodiment Figure 2 .

[0240] As Figure 16 shown, in some embodiments, on the basis of Figure 9 , the switch may further include a rectification module 114, an energy storage module 115, a communication module 116, and an indicator light module 117.

[0241] The rectification module 114 is connected to the power supply module 109 and is used to convert the electric energy generated by the power supply module from alternating current to direct current;

[0242] The energy storage module 115 is connected to the rectification module 114 and the voltage stabilization module 111 and is used to store the direct current;

[0243] The voltage stabilization module 111 is connected to the processing module 108 and the magnetic induction module 1031 and is used to adjust the electric energy output by the energy storage module 115 and input the adjusted electric energy into the processing module 108 and the magnetic induction module 1031;

[0244] The magnetic induction module 1031 is configured to obtain the magnetic field intensity within the internal space of the switch and generate a control signal corresponding to the obtained magnetic field intensity;

[0245] The communication module 116 is configured to transmit the control signal to the controlled device;

[0246] The processing module 108 is connected to the magnetic induction module 1031, the communication module 116, and the indicator light module 117, and is configured to control the voltage stabilization module 111 to supply power to the magnetic induction module 1031; is further configured to obtain the control signal generated by the magnetic induction module 1031 and control the communication module 116 to transmit the control signal to the controlled device; is further configured to control the indicator light module 117 to be turned on or off according to the control signal.

[0247] Here, the indicator light module 117 may be located on the inner surface of the button body. When the button body is in the pressed state, the processing module 108 controls the indicator light module 117 to be turned on and emits light through the button body.

[0248] Figure 17 It is a schematic side structure of a switch shown according to an exemplary embodiment Figure 8 .

[0249] As Figure 17 shown, in some embodiments, the first sensing element includes: a first metal sheet 1022;

[0250] The second sensing element includes: a second metal sheet 1032;

[0251] The sensing parameter includes: a capacitance value;

[0252] When both the first metal sheet 1022 and the second metal sheet 1032 are energized, the first metal sheet 1022 and the second metal sheet 1032 are coupled to form a capacitor; when the first metal sheet 1022 moves to different positions, the capacitance value of the capacitor changes;

[0253] Wherein, when the first metal sheet 1022 moves to any position, the first metal sheet 1022 and the second metal sheet 1032 are in a non-contact state.

[0254] The first metal sheet 1022 can be disposed inside the switch, and the first metal sheet 1022 can be linked with the key body 101 at the corresponding position. Therefore, when the key body 101 switches states based on a key operation, the first metal sheet 1022 can be driven to move in the internal space of the switch in the same direction as the key operation. The second metal sheet 1032 can be fixedly disposed at a position opposite to the first metal sheet 1022 inside the switch. When the first metal sheet 1022 moves to different positions, the distance between the first metal sheet 1022 and the second metal sheet 1032 changes, and further, the capacitance value of the capacitor formed by coupling the first metal sheet 1022 and the second metal sheet 1032 changes.

[0255] In some embodiments, the processing module can also be configured to obtain the capacitance value of the capacitor formed by coupling the first metal sheet 1022 and the second metal sheet 1032, and generate a control signal corresponding to the obtained capacitance value according to the obtained capacitance value.

[0256] Here, when the first metal sheet 1022 moves to any position, the first metal sheet 1022 and the second metal sheet 1032 are in a non-contact state. Therefore, the structure of the switch provided in the embodiments of the present application is simpler and easier to implement; and there is less wear inside the switch. Therefore, the mechanical life of the switch can be improved, and the sealing performance and corrosion resistance of the switch can be enhanced.

[0257] In some embodiments,

[0258] The first metal sheet 1022 is located on the surface of the key body 101 opposite to the second metal sheet 1032.

[0259] In this embodiment, the setting position of the first metal sheet 1022 can refer to Figure 5 the setting position of the magnetic member 1021.

[0260] The first metal sheet 1022 can be directly disposed on the surface of the key body 101 opposite to the second metal sheet 1032 by bonding or clamping. In this way, the linkage between the first metal sheet 1022 and the key body 101 can be realized, and the internal structure of the switch can be made simpler and easier to implement.

[0261] In some embodiments, the protective layer and the middle cover can also be disposed between the key body 101 and the second metal sheet 1032.

[0262] Of course, when waterproofing is not considered, the switch may not include the protective layer and the middle cover. When the switch does not include the protective layer and the middle cover, the processing module can obtain a more accurate capacitance value, and further generate a more accurate control signal.

[0263] In some embodiments, the first metal sheet 1022 and the second metal sheet 1032 can be powered by the power supply module 109.

[0264] Figure 18 FIG. 4 is a flowchart of a method for generating a control signal according to an exemplary embodiment, which can be applied to the switches described in all the foregoing embodiments. The switch includes: a key body, a first sensing member, and a second sensing member. As Figure 18 shown, the method may include the following steps:

[0265] In step 1801, when the key body detects a key operation, a state transition is performed based on the key operation.

[0266] In step 1802, during the state transition, the sensing parameter between the first sensing member and the second sensing member is obtained.

[0267] In step 1803, a control signal is generated according to the obtained sensing parameter.

[0268] Wherein, during the state transition of the key body, the sensing parameter between the first sensing member and the second sensing member changes.

[0269] In the embodiments of the present application, during the state transition of the key body based on the key operation, the sensing parameter between the first sensing member and the second sensing member can be obtained, and then a control signal corresponding to the sensing parameter is generated. Therefore, the generated control signal corresponding to the sensing parameter can correspond to the key operation. Therefore, the control signal generated according to the sensing parameter between the first sensing member and the second sensing member can accurately represent the control that the user wants to perform on the controlled device through the switch.

[0270] In some embodiments, the first sensing member may include: a magnetic member; the second sensing member may include: a magnetic induction module; the sensing parameter may include: magnetic field strength. In step 1802, during the state transition, obtaining the sensing parameter between the first sensing member and the second sensing member may include:

[0271] During the state transition, the magnetic field strength in the internal space of the switch is obtained through the magnetic induction module;

[0272] In step 1803, generating a control signal according to the obtained sensing parameter may include:

[0273] Generating the control signal according to the obtained magnetic field strength.

[0274] In the embodiments of the present application, during the process of the key body switching states based on a key operation, the magnetic field intensity within the internal space of the switch can be obtained, and then a control signal corresponding to the magnetic field intensity can be generated. Therefore, the generated control signal corresponding to the magnetic field intensity can correspond to the key operation. Thus, the control signal generated according to the magnetic field intensity can accurately represent the control that the user wants to perform on the controlled device through the switch. At the same time, when the magnetic induction module obtains the magnetic field intensity within the internal space of the switch, it can be non-contact with the magnetic component. Therefore, by adopting the control signal generation method provided in the embodiments of the present application, the wear between the internal components of the switch can be reduced, the mechanical life of the switch can be improved, and the sealing performance and corrosion resistance of the switch can be enhanced.

[0275] In some embodiments, the first sensing element may include: a first metal sheet; the second sensing element may include: a second metal sheet; the sensing parameter may include: a capacitance value; in step 1802, during the process of state switching, obtaining the sensing parameter between the first sensing element and the second sensing element may include:

[0276] During the process of state switching, obtaining the capacitance value between the first metal sheet and the second metal sheet;

[0277] In step 1803, generating a control signal according to the obtained sensing parameter may include:

[0278] Generating the control signal according to the obtained capacitance value.

[0279] In the embodiments of the present application, during the process of the key body switching states based on a key operation, the capacitance value between the first metal sheet and the second metal sheet can be obtained, and then a control signal corresponding to the obtained capacitance value can be generated. Therefore, the generated control signal corresponding to the capacitance value can correspond to the key operation. Thus, the control signal generated according to the capacitance value between the first metal sheet and the second metal sheet can accurately represent the control that the user wants to perform on the controlled device through the switch. At the same time, when obtaining the capacitance value between the first metal sheet and the second metal sheet, the first metal sheet can be non-contact with the second metal sheet. Therefore, by adopting the control signal generation method provided in the embodiments of the present application, the wear between the internal components of the switch can be reduced, the mechanical life of the switch can be improved, and the sealing performance and corrosion resistance of the switch can be enhanced.

[0280] Figure 19 is a flowchart of a power supply method shown according to an exemplary embodiment, which can be applied to the switch described in all the foregoing embodiments. The switch includes: a power supply module and a voltage stabilizing module, as Figure 19 shown, and the method may include the following steps:

[0281] In step 1901, the power supply module converts the kinetic energy generated when the key body switches states into electrical energy;

[0282] In step 1902, the voltage stabilization module adjusts the electrical energy output by the power supply module, and after the voltage stabilization module enters the preset working state, inputs the adjusted electrical energy into the second sensing element; or

[0283] Input the adjusted electrical energy into the first sensing element and the second sensing element simultaneously.

[0284] In this way, electrical energy can be generated by the power supply module inside the switch and supply power to the second sensing element, or the first sensing element and the second sensing element. There is no need to connect the switch to other power lines, and the switch can be set at any position. Thus, the switch provided in the embodiment of the present application is both environmentally friendly and can be applied to more scenarios. At the same time, the voltage stabilization module adjusts the electrical energy output by the power supply module, which can make the voltage of the adjusted electrical energy more stable.

[0285] In some embodiments, the second sensing element may include: a magnetic induction module; the switch may include: a processing module, and the method may further include:

[0286] The voltage stabilization module inputs the adjusted electrical energy into the processing module;

[0287] After the processing module determines that the voltage stabilization module enters the preset working state based on the electrical energy parameters of the received electrical energy, it controls the voltage stabilization module to supply power to the magnetic induction module.

[0288] The electrical energy parameter may be a parameter such as voltage or current.

[0289] Here, the preset working state may be a stable state, that is, the state after the voltage stabilization module is fully oscillated. Here, it should be noted that during the process of the voltage stabilization device supplying power to the magnetic induction module, the instantaneous current of the magnetic induction module when powered on is relatively large. At this time, if the voltage stabilization device does not enter the preset working state, the large current at the moment when the magnetic induction module is powered on may cause the voltage stabilization device to reset.

[0290] Here, after the processing module determines that the voltage stabilization module enters the preset working state, and then controls the voltage stabilization module to supply power to the magnetic induction module, it can, to a certain extent, avoid the situation that the large current at the moment when the magnetic induction module is powered on causes the voltage stabilization device to reset.

[0291] In some embodiments, when the voltage stabilization device is in a non-preset working state, the magnetic induction module is in a power-off state.

[0292] Here, when the voltage stabilizing device is in a non - preset working state, the magnetic induction module is in a power - off state, that is, when the voltage stabilizing device is in a non - preset working state, the magnetic induction module is not powered by the voltage stabilizing module. In this way, to a certain extent, it can avoid the situation where due to the voltage stabilizing device being in a non - preset working state, the magnetic induction module is powered, and the large current at the moment when the magnetic induction module is powered on causes the voltage stabilizing device in the non - preset working state to reset.

[0293] Figure 20 It is a partial circuit structure diagram of a switch shown according to an exemplary embodiment.

[0294] As Figure 20 shown, in some embodiments, the voltage stabilizing module 111 includes: a voltage stabilizing component 201 and a controlled component 202. The controlled component 202 includes a first input interface 2021, a second input interface 2022, and an output interface 2023. The method includes:

[0295] The voltage stabilizing component 201 adjusts the electric energy output by the power supply module, and inputs the adjusted electric energy into the controlled component 202 through the first input interface 2021;

[0296] The processing module inputs a switching signal into the controlled component 202 through the second input interface 2022, and the controlled component 202 switches to the conducting state;

[0297] After the controlled component 202 switches to the conducting state, the controlled component 202 transmits the electric energy received from the voltage stabilizing component 201 to the magnetic induction module through the output interface 2023.

[0298] In this way, the conducting state of the controlled component 202 can be controlled by the switching signal output by the processing module.

[0299] In some embodiments, the processing module can input a switching signal into the controlled component 202 through the second input interface 2022 after determining that the voltage stabilizing module enters the preset working state.

[0300] In some embodiments, the method may further include:

[0301] The processing module determines whether the change value of the electric energy parameter within a preset waiting duration is less than a preset parameter threshold;

[0302] If the change value of the electric energy parameter within the preset waiting duration is less than the preset parameter threshold, it is determined that the voltage stabilizing module enters the preset working state.

[0303] In some other embodiments, the method may further include: after a preset duration from the start of operation of the voltage stabilization module, determining that the voltage stabilization module enters a preset operating state.

[0304] Here, the preset duration can be set according to the properties of the voltage stabilization module itself and can be set when the voltage stabilization module leaves the factory.

[0305] It can be understood that if the change value of the electrical energy parameter within the preset waiting duration is less than the preset parameter threshold, it can indicate that the electrical energy output by the voltage stabilization module is relatively stable. Therefore, the voltage stabilization module enters the preset operating state.

[0306] In some embodiments, the switch may further include: a communication module for outputting the control signal; the method further includes:

[0307] Before the voltage stabilization module enters the preset operating state, the processing module performs initialization processing on the input / output interface of the processing module and / or the configuration parameters of the communication module.

[0308] Wherein, the configuration parameters include at least one of the following: the transmission frequency of the control signal; the modulation method of the control signal; the transmission power of the antenna in the communication module.

[0309] In some embodiments, the processing module can obtain the control signal generated by the magnetic induction module, output the control signal to the communication module, and transmit the control signal to the controlled device through the communication module.

[0310] The initialization processing of the input / output interface of the processing module may include setting the input interface of the processing module as the interface for obtaining the control signal generated by the magnetic induction module, and setting the output interface of the processing module as the interface for outputting the control signal to the communication module.

[0311] In this way, before the voltage stabilization module enters the preset operating state, the input / output interface of the processing module and / or the configuration parameters of the communication module are initialized; then, after the voltage stabilization module enters the preset operating state and powers the magnetic induction module, the control signal generated by the magnetic induction module can be immediately obtained through the interface of the processing module set to obtain the control signal generated by the magnetic induction module during initialization, and the control signal can be transmitted to the controlled device through the configuration parameters of the communication module after initialization.

[0312] It should be understood that the "some embodiments" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the "in some embodiments" or "in an embodiment" that appear throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics may be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the magnitude of the serial numbers of the above processes does not mean the order of execution. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The serial numbers of the embodiments of the present application above are only for description and do not represent the advantages or disadvantages of the embodiments.

[0313] It should be noted that in this article, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the element.

[0314] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling or communication connection between the components shown or discussed with each other can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0315] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units; they can be located in one place or distributed to multiple network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0316] In addition, each functional unit in the embodiments of the present application can be all integrated in one processing unit, or each unit can be separately used as a unit, or two or more units can be integrated in one unit; the above integrated unit can be implemented in the form of hardware, or in the form of a combination of hardware and software functional units.

[0317] Those skilled in the art will readily conceive of other embodiments of the present application after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present application, which follow the general principles of the present application and include known common general knowledge or conventional technical means in the technical field not disclosed in the present application. The specification and examples are only regarded as exemplary, and the true scope and spirit of the present application are pointed out by the following claims.

[0318] It should be understood that the present application is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present application is only limited by the appended claims.

Claims

1. A switch, characterized in that, The switch includes: At least one key body for receiving key operations; A first sensing member, the first sensing member being linked to the key body at a corresponding position, and when the key body switches states based on the key operation, driving the first sensing member to move; wherein, the first sensing member includes: a magnetic member; A second sensing member disposed opposite to the first sensing member, during the movement of the first sensing member, the sensing parameter between the first sensing member and the second sensing member changes, and the sensing parameter between the first sensing member and the second sensing member is used to generate a corresponding control signal; Wherein, when the first sensing member moves to any position, the first sensing member and the second sensing member are both in a non-contact state; the second sensing member includes: a magnetic induction module; A protective layer located between the key body and the magnetic induction module, and there is a deformation space between the first side of the protective layer close to the magnetic induction module and the magnetic induction module; the magnetic member moves on the second side of the protective layer close to the key body, and when the magnetic member moves into contact with the protective layer and causes the protective layer to be stressed, the stressed part of the protective layer deforms into the deformation space; The key body, the protective layer, and the transmission component are stacked, the side surface of the protective layer opposite to the transmission component is attached to the transmission component, and the transmission component conducts the kinetic energy generated when the key body switches states to the power supply module, and the power supply module is connected to the magnetic induction module to convert the kinetic energy into electrical energy and supply power to the magnetic induction module.

2. The switch according to claim 1, wherein The sensing parameter includes: magnetic field intensity; The magnetic member is linked to the key body at a corresponding position, and when the key body switches states based on the key operation, driving the magnetic member to move within the internal space of the switch; The magnetic induction module is used to obtain the magnetic field intensity and generate a control signal corresponding to the obtained magnetic field intensity; when the magnetic member moves to different positions, the magnetic field intensity obtained by the magnetic induction module changes; Wherein, when the magnetic member moves to any position, the magnetic member and the magnetic induction module are both in a non-contact state.

3. The switch according to claim 2, wherein The magnetic member is located on the surface of the key body opposite to the magnetic induction module, and the magnetic member is at least within the sensing range of the magnetic induction module when the key body is in a pressed state.

4. The switch according to claim 2, wherein The switch includes: A first protrusion located on the surface of the key body opposite to the magnetic induction module; A receiving space is provided inside the first protrusion, and the magnetic member is located within the receiving space; Wherein, the first protrusion is integrally formed with the key body, or the first protrusion is fixedly connected to the key body.

5. The switch according to claim 2, characterized in that, The switch includes: A processing module; The power supply module is further connected to the processing module, and is used to convert the kinetic energy generated when the key body switches states into electrical energy and supply power to the processing module.

6. The switch according to claim 5, characterized in that, The switch includes: A voltage stabilizing module, connected to the power supply module, the processing module, and the magnetic induction module, is configured to adjust the electric energy output by the power supply module and input the adjusted electric energy into the processing module; The processing module, connected to the voltage stabilizing module, is configured to receive the electric energy output by the voltage stabilizing module and control the voltage stabilizing module to supply power to the magnetic induction module after determining that the voltage stabilizing module enters a preset working state.

7. The switch according to any one of claims 2-6, wherein The numbers of the magnetic induction module, the magnetic member, and the key body are the same, and the centers of the magnetic induction module, the magnetic member, and the key body are located on the same axis.

8. The switch according to any one of claims 2-6, characterized in that, The switch includes: A bottom case; A circuit main board, located on the surface of the bottom case opposite to the key body, and the magnetic induction module is located on the circuit main board.

9. The switch according to claim 8, wherein The projection parts of the magnetic induction module, the magnetic member, and the key body on the bottom case overlap.

10. The switch according to claim 2, characterized in that, The magnetic induction module includes: A Hall sensor, configured to acquire the magnetic field strength and generate the control signal.

11. A method for generating a control signal, characterized in that, The method is applied to the switch according to any one of claims 1-10. The switch includes a key body, a first sensing member, and a second sensing member. The method includes: When the key body detects a key operation, perform a state switch based on the key operation; During the state switch, acquire the sensing parameter between the first sensing member and the second sensing member; Generate a control signal according to the acquired sensing parameter.

12. The method according to claim 11, wherein The first sensing member includes a magnetic member; the second sensing member includes a magnetic induction module; the sensing parameter includes a magnetic field strength. During the state switch, acquiring the sensing parameter between the first sensing member and the second sensing member includes: During the state switch, acquire the magnetic field strength in the internal space of the switch through the magnetic induction module; The generating a control signal according to the acquired sensing parameter includes: Generate the control signal according to the acquired magnetic field strength.

13. A power supply method, characterized in that, The method is applied to the switch according to any one of claims 1-10. The switch includes a power supply module and a voltage stabilizing module. The method includes: The power supply module converts the kinetic energy generated when the key body performs a state switch into electric energy; The voltage stabilizing module adjusts the electric energy output by the power supply module and, after the voltage stabilizing module enters a preset working state, inputs the adjusted electric energy into the second sensing member; or Input the adjusted electric energy into the first sensing member and the second sensing member simultaneously.

14. The method according to claim 13, wherein The second sensing member includes a magnetic induction module; the switch includes a processing module. The method further includes: The voltage stabilizing module inputs the adjusted electric energy into the processing module; After determining that the voltage stabilizing module enters a preset working state based on the electric energy parameter of the received electric energy, the processing module controls the voltage stabilizing module to supply power to the magnetic induction module.

15. The method according to claim 14, wherein The voltage stabilization module includes: a voltage stabilization component and a controlled component. The controlled component includes a first input interface, a second input interface, and an output interface. The method includes: The voltage stabilization component adjusts the electric energy output by the power supply module, and inputs the adjusted electric energy into the controlled component through the first input interface; The processing module inputs a switching signal into the controlled component through the second input interface, and the controlled component switches to a conducting state; After the controlled component switches to the conducting state, the controlled component transmits the electric energy received from the voltage stabilization component to the magnetic induction module through the output interface.

16. The method according to claim 14, wherein The method further includes: The processing module determines whether the change value of the electric energy parameter within a preset waiting duration is less than a preset parameter threshold; If the change value of the electric energy parameter within the preset waiting duration is less than the preset parameter threshold, it is determined that the voltage stabilization module enters the preset working state.

17. The method according to claim 14, wherein The switch includes: a communication module for outputting the control signal. The method further includes: Before the voltage stabilization module enters the preset working state, the processing module performs initialization processing on the input / output interface of the processing module and / or the configuration parameters of the communication module; Wherein, the configuration parameters include at least one of the following: the transmission frequency of the control signal; the modulation mode of the control signal; the transmission power of the antenna in the communication module.

18. The method according to claim 14, wherein When the voltage stabilization device is in a non-preset working state, the magnetic induction module is in a power-off state.

Citation Information

Patent Citations

  • Self-electricity-generating wireless kinetic energy switch

    CN108880174A

  • Switch assembly for electric tool

    CN203608174U

  • Electric capacity induced key switch and adopt keyboard of said key switch

    CN206353777U

  • Switch and electric tool

    WO2016119689A1

  • Onboard control system of high-speed maglev train

    WO2017016453A1