Magnetic type multistable switching structure and electronic equipment
By combining a magnetic multistable switching structure with a magnetic field sensing device, the problem of simplified and reliable multistable switching that cannot be achieved in existing technologies is solved, improving the recognition accuracy and lifespan of the product. It is applicable to fields such as smart hardware, consumer electronics, and robotics.
Patent Information
- Application Number
- CN202511784412.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-28
- Publication Date
- 2026-03-03
AI Technical Summary
Existing technologies cannot provide a magnetic switching structure that is simple in structure, free from mechanical wear, capable of achieving natural bistable or multistable states, and can be accurately identified by magnetic field sensing devices. This cannot meet the demand for compact and highly reliable switching devices in consumer electronics and robotic products.
A magnetic attraction-type multi-steady-state switching structure is adopted, which uses at least two fixed magnetic bodies and a movable magnetic body, combined with a magnetic field sensing device, to achieve stable holding and state recognition of the movable magnetic body between multiple steady-state positions. The magnetic attraction and guiding structure ensure the simplification and accuracy of steady-state switching.
It achieves a simplified structure that eliminates the need for mechanical limiters and springs, improving recognition accuracy and product lifespan, enhancing system response speed and reliability, and is suitable for various application scenarios such as smart hardware, consumer electronics, and robotics.
Smart Images

Figure CN121602979A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the fields of smart hardware, consumer electronics and robot structural design, and in particular to magnetic multistable switching structures and electronic devices. Background Technology
[0002] With the rapid popularization of consumer electronics, toy robots, smart home products, and other products, the demand for compact and highly reliable switching devices within these products is increasing daily. Common application scenarios include mode switching switches, "position / absence" detection of actuators, cover opening and closing detection, and switching of interaction modes. To achieve these functions, existing technologies mainly employ the following types of structures: First, mechanical toggle or slide switches. These switches rely on the friction between metal and plastic components for positioning. However, this structure has drawbacks such as limited mechanical lifespan, the need for complex mechanisms to ensure the stability of the positions at both ends, and significant dependence of operating feel and positional accuracy on machining tolerances.
[0003] Second, the spring-assisted limiting structure. This type of structure uses the spring's rebound force to reset the switching component, but it can only achieve stable holding in a single position and cannot achieve a bistable function where both ends are stable.
[0004] Third, the structure using a magnet in conjunction with a Hall sensor. Products with this structure determine the switch position solely by the proximity or distance of a single magnet from the Hall sensor. While this structure reduces mechanical wear, it suffers from limitations: it can only distinguish between "near" and "far" states, making it difficult to determine two distinct stable states; it lacks structural bistable holding, making it difficult for the switch to remain stably in either position. Furthermore, additional components such as springs or stops are usually required to maintain the position, increasing structural complexity and assembly difficulty.
[0005] In summary, existing technologies cannot provide a magnetic switching structure that is simple in structure, free from mechanical wear, capable of achieving natural bistable or multistable states, and can be accurately identified by magnetic field sensing devices. Summary of the Invention
[0006] This application aims to solve at least one of the technical problems existing in the prior art or related art. To this end, this application provides a magnetic multistable switching structure and electronic device that can be used for mechanical switching, attitude judgment or mode switching, etc.
[0007] According to a first aspect of this application, a magnetically attracted multi-stable switching structure is provided, comprising: at least two fixed magnetic bodies; a movable magnetic body configured to be held in a corresponding stable position by magnetic action when moved close to any of the fixed magnetic bodies; and a magnetic field sensing device configured to sense the magnetic field state of the movable magnetic body at different stable positions and output a detection signal.
[0008] In some embodiments, the movable magnetic body is further configured to switch between multiple steady-state positions, wherein the multiple steady-state positions include: a steady-state position close to any fixed magnetic body; and / or a steady-state position far from all fixed magnetic bodies, wherein the magnetic field sensing device is further configured to sense changes in the magnetic field when the movable magnetic body switches between different steady-state positions and output a detection signal.
[0009] In some embodiments, the movable magnetic body is further configured to generate an instantaneous displacement or disturbance at a steady-state position near any fixed magnetic body by a click or flick operation; wherein the magnetic field sensing device is further configured to sense the change in magnetic field value generated by the movable magnetic body during the click or flick operation and output a detection signal.
[0010] In some embodiments, the magnetic multistable switching structure further includes a guide structure for defining the movement path of the movable magnetic body.
[0011] In some embodiments, the magnetic field sensing device is positioned at a different distance from at least two fixed magnetic bodies to distinguish signals at different steady-state positions of the movable magnetic body.
[0012] In some embodiments, the magnetic field sensing device is any one of a Hall sensor, a geomagnetic sensor, a magnetoresistive sensor, a reed switch, or a fluxmeter.
[0013] In some embodiments, the movable magnetic body and / or the fixed magnetic body are permanent magnets, soft magnetic materials, or any combination thereof.
[0014] In some embodiments, the multiple stable positions are achieved by forming an adsorption or repulsion balance through at least one of the following magnetic field configurations: magnetic adsorption or repulsion, opposite pole arrangement, magnetic flux guide, magnetic rail or magnetic boss, so that the movable part can achieve a stable stop in multiple spatial positions.
[0015] According to a second aspect of this application, an electronic device is also provided, comprising: a housing; and
[0016] The above-mentioned arbitrary magnetic multi-stable switching structure; wherein, the movable magnetic body is located outside the housing; at least two fixed magnetic bodies and a magnetic field sensing device are fixedly disposed inside the housing.
[0017] In some embodiments, at least two fixed magnetic bodies include a first fixed magnetic body and a second fixed magnetic body; the movable magnetic body is configured to have at least three position states, including: a first steady-state position close to the first fixed magnetic body; a second steady-state position close to the second fixed magnetic body; and a third steady-state position away from the first fixed magnetic body and the second fixed magnetic body; wherein the magnetic field sensing device is configured to be at a different distance from the first fixed magnetic body and the second fixed magnetic body.
[0018] In some embodiments, the movable magnetic body is further configured to generate an instantaneous displacement or disturbance at a first steady-state position or a second steady-state position by a click or toggle operation; wherein the magnetic field sensing device is further configured to sense the change in the magnetic field value generated by the movable magnetic body during the click or toggle operation and output a detection signal.
[0019] In some embodiments, the housing further includes a guide structure; movable magnetic bodies are arranged to move along a predetermined path of the guide structure; and at least two fixed magnetic bodies are disposed inside the housing at different positions corresponding to the predetermined path.
[0020] In some embodiments, the movable magnetic body is structured as any one of a slider, a rotating element, a swing arm, or a flexible sheet.
[0021] In some embodiments, the movable magnetic body is covered with a material.
[0022] In some embodiments, the movable magnetic body is covered by a spherical structure.
[0023] In some embodiments, the electronic device further includes a circuit board on which a control chip is disposed; wherein: the magnetic field sensing device is a geomagnetic sensor, which is used to detect the magnetic field strength and / or magnetic field changes generated by the movable magnetic body; the control chip is used to acquire the detection signal output by the geomagnetic sensor to realize the position identification of the movable magnetic body.
[0024] The magnetic multistable switching structure of this application embodiment achieves natural multistable state maintenance through the magnetic attraction between a movable magnet and at least two fixed magnets, enabling the movable magnetic body to remain stably in multiple positions, meeting the state switching and maintenance requirements in various scenarios. The application of magnetic field sensing devices makes the state discrimination method more intelligent and efficient, without relying on mechanical tolerances or additional reset structures, and can accurately detect and identify different steady-state positions, improving the system's response speed and reliability.
[0025] Furthermore, the electronic device structure of this application embodiment is extremely simplified, with fewer overall components, and does not rely on mechanical limiting parts, springs, or other complex mechanical structures, thus improving recognition accuracy and product lifespan. In addition, the electronic device structure of this application embodiment is more compact, improving product integration and aesthetics, and is suitable for various application scenarios such as smart hardware, consumer electronics, and robotics. Attached Figure Description
[0026] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. The drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0027] Figure 1 This diagram illustrates a magnetically attached multistable switching structure provided in an embodiment of this application.
[0028] Figure 2A This diagram shows the first steady-state position of the magnetic multistable switching structure provided in an embodiment of this application.
[0029] Figure 2B This diagram illustrates the second stable position of the magnetic multistable switching structure provided in an embodiment of this application.
[0030] Figure 2C This diagram illustrates the third stable state position of the magnetic multistable switching structure provided in an embodiment of this application.
[0031] Figure 3 This diagram illustrates the click / toggle operation of the magnetic multistable switching structure provided in this application embodiment.
[0032] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0033] Figure 5 A schematic diagram of the structure of an exemplary electronic device according to an embodiment of this application is shown.
[0034] Figure 6 This diagram illustrates the assembly process of the electronic device provided in an embodiment of this application.
[0035] Figure 7 This is a partially enlarged view of an exemplary electronic device provided in an embodiment of this application. Detailed Implementation
[0036] The technical solution of this application will now be clearly and completely described with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are merely some embodiments of this application, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0037] In the description of this application, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship commonly used when the product of this application is in use. They are only for the convenience of describing the embodiments of this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.
[0038] In the description of this application, it should be noted that the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.
[0039] The magnetic multistable switching structure and electronic device provided in the embodiments of this application are now described in detail with reference to the accompanying drawings.
[0040] Figure 1 A schematic diagram of the magnetically attached multistable switching structure provided in an embodiment of this application is shown. See also... Figure 1 The magnetically attracted multi-stable switching structure 1 includes: at least two fixed magnetic bodies 11, 12a, and 12b; a movable magnetic body 13; and a magnetic field sensing device 14. The movable magnetic body 13 is configured to be held in a corresponding stable position by magnetic action when moved close to any of the fixed magnetic bodies 11, 12a, or 12b. The magnetic field sensing device 14 is configured to sense the magnetic field state of the movable magnetic body 13 at different stable positions and output a detection signal.
[0041] In this embodiment, the magnetically attracted multistable switching structure 1 achieves stable holding of the movable magnetic body 13 at different spatial positions through the synergistic effect of at least two fixed magnetic bodies 11, 12a, 12b and the movable magnetic body 13, thereby forming a bistable or multistable structural characteristic. Specifically, when the movable magnetic body 13 moves close to any of the fixed magnetic bodies 11, 12a, 12b, it is reliably held in the corresponding stable position by magnetic attraction, eliminating the need for traditional mechanisms such as springs, limiting members, or mechanical latches, significantly improving the simplification of the structure and its service life.
[0042] Furthermore, the magnetically attached multi-stable switching structure 1 of this embodiment is equipped with a magnetic field sensing device 14, which is used to detect the magnetic field state generated by the movable magnetic body 13 in various steady-state positions in real time. By sensing the magnetic field state and outputting signals, it is possible to accurately distinguish the different steady-state positions of the movable magnetic body 13, and achieve accurate identification of its state or spatial position. This detection method does not rely on mechanical tolerances or complex limit designs, which can effectively improve the identification accuracy and reliability, and reduce assembly difficulty and manufacturing costs.
[0043] In some embodiments, the movable magnetic body 13 may also be configured to switch between multiple steady-state positions, wherein the multiple steady-state positions may include: a steady-state position close to any of the fixed magnetic bodies 11, 12a, 12b; and / or a steady-state position far away from all the fixed magnetic bodies 11, 12a, 12b, wherein the magnetic field sensing device 14 may also be configured to sense the magnetic field change when the movable magnetic body 13 switches between different steady-state positions and output a detection signal.
[0044] As an example, Figures 2A to 2C The diagrams show the first, second, and third stable states of the magnetically attached multistable switching structure provided in this application embodiment. Figure 1 compared to, Figure 2A-2C The illustrated embodiment employs two fixed magnetic bodies, namely a first fixed magnetic body 11 and a second fixed magnetic body 12. It should be understood that embodiments of this application may also incorporate more fixed magnetic bodies to achieve more stable positions; related solutions will not be detailed here.
[0045] See Figure 2A The movable magnetic body 13 approaches the first fixed magnetic body 11 and is reliably held in a first stable position by magnetic attraction. See also Figure 2B The movable magnetic body 13 can be moved close to the second fixed magnetic body 12 and reliably held in a second stable position by magnetic attraction. Referring to 2C, the movable magnetic body 13 is placed away from the first fixed magnetic body 11 and the second fixed magnetic body 12, forming another stable state, that is, it can stably stay in a specific spatial position even when it does not have a magnetic attraction with either fixed magnetic body.
[0046] In this structural design, the number of steady-state positions of the movable magnetic body 13 is effectively expanded, enabling both traditional bistable functionality and multi-steady-state application requirements. For example, in scenarios such as switching devices, mode switching, and attitude judgment, users can position the movable magnetic body 13 in a first / second steady-state position close to the first fixed magnetic body 11 / second fixed magnetic body 12, or in a third steady-state position far away from all the first fixed magnetic bodies 11 and second fixed magnetic bodies 12, thereby achieving reliable maintenance and identification of multiple states.
[0047] In some embodiments, the movable magnetic body 13 may also be configured to generate an instantaneous displacement or disturbance at a steady-state position near the first fixed magnetic body 11 or the second fixed magnetic body 12 by a click or flick operation; wherein, the magnetic field sensing device 14 may also be configured to sense the change in magnetic field value generated by the movable magnetic body 13 during the click or flick operation and output a detection signal.
[0048] As an example, Figure 3 This diagram illustrates a click / toggle operation of the magnetic multistable switching structure provided in an embodiment of this application. See also... Figure 3 The movable magnetic body 13 can also generate a small spatial movement or dynamic response in its original stable position by moving it left and right (in the direction of the arrow in the figure) near the stable position of the first fixed magnetic body 11. The magnetic field sensing device 14 can detect the rapid changes in the magnetic field, thereby enriching the operation mode and interactive experience of the switching structure without affecting the maintenance of the stable state.
[0049] See you again Figure 1 In some embodiments, the magnetically attracted multistable switching structure 1 may further include a guide structure 15, which defines the movement path of the movable magnetic body 13. As an example, the guide structure may take various forms such as a groove, a limiting surface, or a guide rail.
[0050] In this embodiment, by setting the guide structure 15, the movable magnetic body 13 can be effectively prevented from rotating, shifting, or undergoing unexpected displacement during movement, thereby ensuring its positioning accuracy and repeatability when switching between various steady-state positions. In addition, the restriction of the motion trajectory helps to optimize the magnetic field distribution, enabling the magnetic field sensing device 14 to accurately detect the magnetic field state at different steady-state positions, which is beneficial to improving the accuracy of signal recognition and anti-interference ability.
[0051] In some embodiments, the magnetic field sensing device 14 can be positioned at different distances from at least two fixed magnetic bodies 11, 12a, 12b to distinguish signals at different steady-state positions of the movable magnetic body 13. For example, the magnetic field sensing device 14 can be installed close to one of the fixed magnetic bodies 12b, or located on one side or below the movement path of the movable magnetic body 13, creating a difference in spatial distance between it and each of the fixed magnetic bodies 11, 12a, 12b. By rationally designing the installation position of the magnetic field sensing device 14, it can be ensured that the output detection signals at different steady-state positions have significant differences, thereby achieving accurate distinction of different steady-state positions of the movable magnetic body 13.
[0052] In some embodiments, the magnetic field sensing device 14 may be any one of a Hall sensor, a geomagnetic sensor, a magnetoresistive sensor, a reed switch, or a fluxmeter, or may be other sensor types capable of achieving magnetic field detection and position recognition, and the specific type is not limited thereto.
[0053] In some embodiments, the movable magnetic body 13 and / or the fixed magnetic bodies 11, 12a, 12b can be permanent magnets, soft magnetic materials, or any combination thereof, or other magnetic materials and structures capable of achieving magnetic attraction, magnetic repulsion, or magnetic field guidance functions. The specific material types and combinations are not limited thereto.
[0054] In some embodiments, the multiple stable positions can be achieved by forming an adsorption or repulsion balance through at least one of the following magnetic field configurations: magnetic attraction or repulsion, opposite pole arrangement, magnetic flux guide, magnetic rail or magnetic boss, so that the movable part can achieve a stable stop in multiple spatial positions.
[0055] Those skilled in the art will understand that the opposite pole arrangement refers to the fixed magnetic bodies 11, 12a, 12b and the movable magnetic body 13 being arranged with opposite magnetic poles to enhance the steady-state adsorption effect. The magnetic flux guide is a magnetically conductive material structure disposed between the movable magnetic body 13 and the fixed magnetic bodies 11, 12a, 12b, used to adjust or guide the magnetic field distribution to achieve multiple steady-state switching. The magnetic rail is a magnetic structure that limits the movement path of the movable magnetic body 13; a stable adsorption or repulsion equilibrium point can only be reached at specific locations (such as the ends or middle of the rail) to achieve steady-state switching and retention. The magnetic protrusion is a raised component disposed on the fixed magnetic bodies 11, 12a, 12b or the guide structure 15, used to locally enhance the magnetic field strength to achieve steady-state adsorption or repulsion balance.
[0056] In summary, the magnetic multistable switching structure of this application embodiment is extremely simplified, with fewer overall components. It eliminates the need for mechanical limiting parts, springs, or other complex mechanical structures, effectively reducing assembly difficulty and manufacturing costs, while improving recognition accuracy and product lifespan. Through the magnetic attraction between the movable magnet and at least two fixed magnets, natural multistable state retention is achieved, allowing the movable magnetic body to stably remain in multiple positions, meeting the state switching and retention requirements in various scenarios. Furthermore, the application of a magnetic field sensing device makes the state discrimination method more intelligent and efficient, eliminating the need for mechanical tolerances or additional reset structures. It can accurately detect and identify different steady-state positions, improving the system's response speed and reliability. This technical solution is applicable to various application scenarios such as smart hardware, consumer electronics, and robotics, and can realize multiple functions such as mode switching, position detection, and form switching, possessing broad application value.
[0057] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown. Figure 4 As shown, the electronic device 4 includes: a housing 41 and the above-mentioned arbitrary magnetic multi-stable switching structure; wherein, the movable magnetic body 13 is located outside the housing 41; at least two fixed magnetic bodies 11, 12 and a magnetic field sensing device 14 are fixedly disposed inside the housing 41.
[0058] Based on this, the electronic device 4 of this application embodiment can switch the movable magnetic body 13 between multiple stable positions outside the housing 41 without using traditional limiting components, springs, or slide rails and other mechanical structures. The magnetic field sensing device 14 inside the housing 41 can accurately detect and identify the magnetic field state of the movable magnetic body 13 at each stable position, thereby achieving reliable control of multiple stable positions.
[0059] In some embodiments, at least two fixed magnetic bodies 11, 12 include a first fixed magnetic body 11 and a second fixed magnetic body 12. The movable magnetic body 13 is configured to have at least three positional states, including: a first stable position close to the first fixed magnetic body 11; a second stable position close to the second fixed magnetic body 12; and a third stable position far from the first fixed magnetic body 11 and the second fixed magnetic body 12. The magnetic field sensing device 14 is configured to be at a different distance from the first fixed magnetic body 11 and the second fixed magnetic body 12. Therefore, this embodiment can accurately identify the three positional states by outputting a distinguishable magnetic field signal through the magnetic field sensing device 14 when the movable magnetic body 13 is in different stable positions.
[0060] In some embodiments, the movable magnetic body 13 is further configured to generate instantaneous displacement or disturbance at a first steady-state position or a second steady-state position through a click or flick operation; wherein, the magnetic field sensing device 14 is further configured to sense the change in magnetic field value generated by the movable magnetic body 13 during the click or flick operation and output a detection signal. Thus, this embodiment uses the magnetic field sensing device 14 to identify the instantaneous signal change generated by the movable magnetic body 13, further improving the interactive performance of the electronic device 4.
[0061] In some embodiments, the housing 41 further includes a guide structure 15; a movable magnetic body 13 is arranged to move along a predetermined path of the guide structure 15; and at least two fixed magnetic bodies 11, 12 are disposed inside the housing 41 at different positions corresponding to the predetermined path.
[0062] Through the design of the guide structure 15, the movable magnetic body 13 can move in a controlled manner along a predetermined path outside the housing, avoiding unexpected rotation, lateral displacement, or deviation from the track, thereby ensuring the positioning accuracy and steady-state maintenance capability of the magnetic body. In addition, since the spatial relationship between the fixed magnetic bodies 11 and 12 and the guide path is clear, the electronic device 4 accurately determines the current steady-state position of the movable magnetic body 13 through the magnetic field sensing device 14, improving the recognition accuracy.
[0063] In some embodiments, the movable magnetic body 13 is structured as a slider, a rotating member, a swing arm, or a flexible sheet.
[0064] For example, the movable magnetic body 13 can be a slider structure, achieving position switching through linear sliding. The movable magnetic body 13 can also be a rotating component, achieving steady-state holding through rotational motion at different angles. The movable magnetic body 13 can also be a swing arm structure, forming multiple stable states by swinging to different extreme positions; furthermore, the movable magnetic body 13 can also adopt a flexible sheet structure, stably staying between multiple positions through bending or elastic deformation. The magnetic field sensing device 14 can accurately identify various steady-state positions and state transitions based on the changes in magnetic field distribution caused by changes in the position or shape of the movable magnetic body 13.
[0065] In some embodiments, the movable magnetic body 13 is covered with a material. For example, the movable magnetic body 13 is provided with a coating layer of plastic, rubber or other materials to improve the wear resistance of the structure and improve the feel when the user operates it.
[0066] In some embodiments, the movable magnetic body 13 is covered by a spherical structure (see...). Figure 4 The spherical structure allows users to easily perform various operations such as moving, flicking, and rotating, improving the sensitivity and smoothness of switching operations.
[0067] In some embodiments, the electronic device 4 further includes a circuit board 46, on which a magnetic field sensing device 14 and a control chip 47 are disposed. The magnetic field sensing device 14 is a geomagnetic sensor, which is used to detect the magnetic field strength and / or magnetic field changes generated by the movable magnetic body 13. The control chip 47 is used to acquire the detection signal output by the geomagnetic sensor to realize the position identification of the movable magnetic body 13. In this embodiment, a magnetic sensor is preferably used as the magnetic field sensing device 14. Through the intelligent discrimination of magnetic field strength and change characteristics by the control chip 47, rapid identification of multiple steady-state positions and status feedback can be achieved. This solution can reduce manufacturing costs and simplify circuit design, facilitate equipment integration and mass production, and enhance the application range of the electronic device.
[0068] In summary, the electronic device structure of this application embodiment is extremely simplified, with fewer overall components, and does not rely on mechanical limiting parts, springs, or other complex mechanical structures, thus improving recognition accuracy and product lifespan. Furthermore, the electronic device structure of this application embodiment is more compact, improving product integration and aesthetics, and is suitable for various application scenarios such as smart hardware, consumer electronics, and robotics.
[0069] To facilitate understanding of the product structure, assembly process, and testing procedures of the electronic devices in the embodiments of this application, the following is now combined with Figure 5 As an example, the electronic device provided in the embodiments of this application will be described in detail.
[0070] Figure 5 This is a schematic diagram of the structure of an exemplary electronic device according to an embodiment of this application. See also... Figure 5 The electronic device 5 can function as an electronic pet, including a first magnet 51, a second magnet 52, and a third magnet 53. The first magnet 51 is encased within a spherical structure that can slide up and down, serving as a movable magnetic body. The second magnet 52 is fixed inside the upper housing of the electronic device, serving as a first fixed magnetic body. The third magnet 53 is fixed inside the lower housing of the electronic device, serving as a second fixed magnetic body. Exemplarily, the electronic pet may also include interactive elements such as an electronic screen and a speaker, used to output various mode switching and function switching content implemented by the magnetically attracted multi-stable switching structure. The specific structure and functional implementation of the relevant interactive elements will not be detailed in this application.
[0071] When the user pushes the spherical structure upwards, the first magnet 51 approaches the second magnet 52 above and is held in an upper stable position by magnetic attraction. When the user pushes the spherical structure downwards, the first magnet 51 detaches from the second magnet 52, continues to move downwards, and is attracted by the third magnet 53 below, forming a lower stable position. The attraction between the two pairs of magnets forms a natural bistable structure that does not require mechanical springs or latches, ensuring that the first magnet 51 can remain stably in both positions.
[0072] A geomagnetic sensor 54 is fixed to a circuit board 55 inside the electronic device 5, typically located below the movement path of the first magnet 51. The geomagnetic sensor 54 senses changes in the magnetic field strength of the first magnet 51 at different steady-state positions. When the first magnet 51 is in an upper steady-state position, the geomagnetic sensor 54 outputs an "upper-state value"; when the first magnet 51 is in a lower steady-state position, the geomagnetic sensor 54 outputs a "lower-state value". The control chip 56 reads the data from the geomagnetic sensor 54 and distinguishes different steady-state positions based on preset thresholds, achieving accurate identification of the switching state. The geomagnetic sensor 54 can be digital or linear to adapt to different signal processing requirements.
[0073] Figure 6 The exemplary assembly steps of the electronic device 5 shown in this application embodiment include the following steps S601-S605: S601: Insert the first magnet 51 into the spherical structure; S602: Insert the second magnet 52 and the third magnet 53 into the upper and lower fixing slots inside the housing, respectively; S603: Solder the geomagnetic sensor 54 and the control chip 56 to the designated location on the circuit board 55; S604: Close the housing and guide the first magnet 51 to move up and down outside the housing; S605: Power on to test the output of the geomagnetic sensor 54 and confirm the stability of the upper and lower steady-state signals.
[0074] After performing the assembly steps described above, the electronic device of the present application embodiment can be obtained. This assembly process is simple, easy to mass-produce, and helps to reduce manufacturing costs and improve production efficiency.
[0075] As an example, the electronic device 5 of this application embodiment can define the following various states for the spatial position of the first magnet 51, including: Unknown position status: This indicates that the first magnet 51 is in the transition zone or its specific position cannot be determined; Removed status: This indicates that the first magnet 51 has been removed from the magnetic multistable switching structure or is in a non-operating state; Upper stable state: This indicates that the first magnet 51 is in the upper stable state position; Lower steady state: This indicates that the first magnet 51 is in a lower steady state position.
[0076] Based on this, the aforementioned position status helps the electronic device 5 to accurately determine the current spatial position of the first magnet 51 and provides basic data support for subsequent event processing and function triggering.
[0077] To enable various user interactions and functional responses, the electronic device 5 in this application embodiment further defines various event types, including: The first magnet 51 is moved from top to bottom: This indicates that the first magnet 51 is slid from the upper position to the lower position. The first magnet 51 is moved from bottom to top: This indicates the operation of sliding the first magnet 51 from the lower position to the upper position; Remove the first magnet 51 from the top position: This means removing the first magnet 51 from the upper steady-state position; Remove the first magnet 51 from the lower position: This indicates the operation of removing the first magnet 51 from the lower steady-state position; Placing the first magnet 51 from above: This means placing the first magnet 51 into the structure from above and placing it in the upper stable position; "Place the first magnet 51 from the bottom": This means placing the first magnet 51 into the structure from below and placing it in the lower stable position. Clicking at the lower position: This means that a click operation is performed when the first magnet 51 is in the lower steady-state position.
[0078] By defining the above event types, the electronic device 5 can identify and respond to various operations / actions of the first magnet 51 in real time, realizing multi-functional applications such as state switching, mode triggering, and action feedback, thereby improving the intelligence of the device and the human-computer interaction experience.
[0079] In a specific embodiment of this application, the detection process of the electronic device 5 includes data acquisition and preprocessing. The specific steps are as follows: Step 1: Reading magnetic field data During the detection process, magnetic field data is first collected from the geomagnetic sensor 54. The sampling period for the magnetic field data is set according to different sensor models, and the sampling period can be 2 to 10 milliseconds.
[0080] Step 2: Sliding window filtering
[0081] The acquired magnetic field data is filtered using a sliding window. Specifically, a sliding window with a size of 5 samples is used to smooth the continuously acquired data, effectively filtering out noise. Data is updated within the window in a circular queue, following a first-in, first-out (FIFO) principle to ensure real-time and continuous data processing.
[0082] Step 3: Calculate the average value
[0083] After the sliding window is filled, the arithmetic mean of the five samples within the current window is calculated. This average is used to determine whether the first magnet 51 is currently in a stable position. The average magnetic field data collected by the geomagnetic sensor 54 can effectively determine the steady-state position of the slider, thereby realizing the identification of the stable state of the switch or detection device.
[0084] In this embodiment, the specific location state and operation events of the electronic device can be determined by the magnetic field value output by the geomagnetic sensor 54. Specifically, after processing with a sliding window averaging method, the magnetic field value is mapped to multiple preset stable positions. For example, the range of magnetic field values corresponding to each location state can be shown in Table 1 below:
[0085] Table 1
[0086] Based on this, the method for determining the positional state of the first magnet 51 can be achieved by collecting and processing the output data of the geomagnetic sensor 54 in real time, combined with the sliding window averaging algorithm, to accurately determine the spatial position of the first magnet 51.
[0087] In this example, the sliding event detection mechanism of the electronic device can be implemented using a state machine design. This mechanism is used to determine the switching process of the first magnet 51 between different steady-state positions and accurately identify the occurrence of sliding events.
[0088] For example, after detecting a change in the state of the first magnet 51, the system determines the specific event type based on the combination of the starting position and the target position. The specific event determination rules can be as follows: When the starting position is "upper position" and the target position is "lower position", the "flick from top to bottom" event is triggered. When the starting position is "lower position" and the target position is "upper position", the "flick from bottom to top" event is triggered. When the starting position is "top" and the target position is "removed", the "remove from top" event is triggered. When the starting position is "lower position" and the target position is "removed", the "remove from lower position" event is triggered. When the starting position is "Removed" and the target position is "Above", the "Place Above" event is triggered. When the starting position is "Removed" and the target position is "Lower", the "Place on the lower position" event is triggered.
[0089] The aforementioned event determination mechanism can automatically identify and respond to various typical operations of electronic devices (such as sliding, removing, placing, etc.), providing support for the intelligentization of system functions.
[0090] Furthermore, in this example, when the first magnet 51 is in the lower steady-state position, the detection of click or flick operations can also be achieved. Figure 7 This is a partially enlarged view of an exemplary electronic device 5 provided in an embodiment of this application. See also... Figure 7 This illustrates the specific process of clicking or flicking the first magnet 51. Specifically, when the first magnet 51 is in its lower steady-state position, the user can click or flick it, causing a momentary displacement or disturbance in its original position. Due to the magnetic effect or the support of the lower support structure 71, the first magnet 51 can stably remain in the lower steady-state position during operation and will not fall. This structural design helps to achieve interactive operation in a steady-state position and improves the safety and reliability of the device.
[0091] The specific detection mechanism for the click or flick operation can be as follows: When the electronic device 5 is in a lower steady-state state, instead of using the sliding window average value, a peak detection algorithm is used to monitor the sudden changes in the magnetic field value when the first magnet 51 is in the lower steady-state position in real time to determine whether a click operation has occurred. For example, when the decrease in the real-time magnetic field value reaches a preset threshold, it is determined to be a click operation, and the click detection mode is entered.
[0092] Of course, the click or toggle operation of this application is not limited to the case where the first magnet 51 is in a lower steady-state position. As long as the first magnet 51 can stably remain in any steady-state position, the click or toggle operation can be realized, thereby triggering the corresponding detection and response.
[0093] It is worth mentioning that, in this embodiment, to improve the accuracy of electronic devices in recognizing different types of events and the reliability of the system, an event isolation and dual-layer detection mechanism are adopted. Specifically, this embodiment designs independent judgment logic for click detection and swipe detection: swipe detection is based on data processed by averaging through a sliding window, independent of click detection, effectively improving the accuracy of steady-state switching recognition. Click detection uses real-time magnetic field values for judgment, independent of averaging through a sliding window, enabling sensitive response to instantaneous operations. The two detection methods are isolated from each other, ensuring the independence of their respective event judgments, preventing mutual interference, and further improving the stability and reliability of the electronic device's response.
[0094] Furthermore, the electronic device incorporates a dual-layer detection algorithm. The first layer employs a sliding window combined with a state machine detection method. This method smooths the data collected by the geomagnetic sensor 54, effectively filtering out noise, and uses the state machine to accurately determine different steady-state positions and their transition processes. The second layer is a real-time peak detection mechanism used to detect instantaneous fluctuations in the magnetic field signal, thereby accurately identifying click events. Combined with multiple filtering and stability verification measures, this detection algorithm can effectively suppress false triggers while ensuring system response speed, further improving the stability of action recognition and system reliability of the electronic device in various application scenarios.
[0095] It is worth noting that the technical solutions, technical details, and technical effects described in the magnetic multistable switching structure 1 and electronic devices 4 and 5 of this application can be combined with and referenced from each other. Similar or identical content will not be repeated in this document.
[0096] While various embodiments of various aspects of this application have been described for the purposes of this application, they should not be construed as limiting the teachings of this application to these embodiments. Features disclosed in one specific embodiment are not limited to that embodiment, but can be combined with features disclosed in different embodiments. For example, one or more features and / or operations of the method according to this application described in one embodiment can also be applied individually, in combination, or in whole in another embodiment. Those skilled in the art will understand that there are many more possible alternative implementations and variations, and various changes and modifications can be made to the above system without departing from the scope defined by the claims of this application.
Claims
1. A magnetically attracted multi-stable switching structure, characterized in that, include: At least two fixed magnetic bodies; A movable magnetic body configured to be held in a corresponding steady-state position by magnetic action when moved to proximity to any of the fixed magnetic bodies; as well as A magnetic field sensing device is configured to sense the magnetic field state of the movable magnetic body at different steady-state positions and output a detection signal.
2. The magnetically attracted multi-stable switching structure according to claim 1, characterized in that, The movable magnetic body is further configured to switch between multiple steady-state positions, wherein the multiple steady-state positions include: Proximity to the steady-state position of any of the said fixed magnetic bodies; and / or Away from the steady-state position of all the aforementioned fixed magnetic bodies, The magnetic field sensing device is further configured to sense the magnetic field changes when the movable magnetic body switches between different steady-state positions and output a detection signal.
3. The magnetically attracted multi-stable switching structure according to claim 1, characterized in that, The movable magnetic body is also configured to generate instantaneous displacement or disturbance at a steady-state position near any of the fixed magnetic bodies by clicking or flicking. The magnetic field sensing device is further configured to sense changes in the magnetic field value generated by the movable magnetic body during the click or flick operation, and output a detection signal.
4. The magnetically attracted multistable switching structure according to claim 1, characterized in that, It also includes a guide structure for defining the movement path of the movable magnetic body.
5. The magnetically attracted multi-stable switching structure according to claim 1, characterized in that, The magnetic field sensing device is positioned at a different distance from the at least two fixed magnetic bodies to distinguish signals at different steady-state positions of the movable magnetic body.
6. The magnetically attracted multi-stable switching structure according to claim 1, characterized in that, The magnetic field sensing device is any one of a Hall sensor, a geomagnetic sensor, a magnetoresistive sensor, a reed switch, or a fluxmeter.
7. The magnetically attracted multi-stable switching structure according to claim 1, characterized in that, The movable magnetic body and / or fixed magnetic body are permanent magnets, soft magnetic materials, or any combination thereof.
8. The magnetically attracted multi-stable switching structure according to claim 1, characterized in that, The multi-stable position is achieved by forming an adsorption or repulsion balance through at least one of the following magnetic field configurations: magnetic attraction or repulsion, opposite pole arrangement, magnetic flux guide, magnetic rail or magnetic boss, so that the movable part can achieve a stable stop in multiple spatial positions.
9. An electronic device, characterized in that, include: case; as well as The magnetic multistable switching structure according to any one of claims 1 to 8; wherein, The movable magnetic body is located outside the housing; and The at least two fixed magnetic bodies and the magnetic field sensing device are fixedly disposed inside the housing.
10. The electronic device according to claim 9, characterized in that, The at least two fixed magnetic bodies include a first fixed magnetic body and a second fixed magnetic body; the movable magnetic body is configured to have at least three position states, including: The first steady-state position is close to the first fixed magnetic body; The second steady-state position is close to the second fixed magnet; and The third steady-state position is far from the first fixed magnetic body and the second fixed magnetic body; The magnetic field sensing device is configured to be at a different distance from the first fixed magnetic body and the second fixed magnetic body.
11. The electronic device according to claim 10, characterized in that, The movable magnetic body is also configured to generate instantaneous displacement or disturbance at a first steady-state position or a second steady-state position by clicking or flicking. The magnetic field sensing device is further configured to sense changes in the magnetic field value generated by the movable magnetic body during the click or flick operation, and output a detection signal.
12. The electronic device according to claim 9, characterized in that, The housing also includes a guide structure; the movable magnetic body is arranged to move along a predetermined path of the guide structure; and The at least two fixed magnetic bodies are disposed inside the housing at different positions corresponding to the predetermined path.
13. The electronic device according to claim 9, characterized in that, The movable magnetic body can be any one of a slider, a rotating component, a swing arm, or a flexible sheet.
14. The electronic device according to claim 9, characterized in that, The movable magnetic body is covered with material.
15. The electronic device according to claim 14, characterized in that, The movable magnetic body is covered by a spherical structure.
16. The electronic device according to claim 9, characterized in that, It also includes a circuit board, on which a control chip is mounted; wherein: The magnetic field sensing device is a geomagnetic sensor, which is used to detect the magnetic field strength and / or changes in the magnetic field generated by the movable magnetic body; and The control chip is used to collect the detection signal output by the geomagnetic sensor in order to identify the position of the movable magnetic object.