Press feedback device and method and electronic equipment

CN120604192APending Publication Date: 2025-09-05HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380092918.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-02
Publication Date
2025-09-05

AI Technical Summary

Technical Problem

Existing mechanical buttons cannot provide timely tactile feedback under different pressing levels, resulting in poor user experience.

Method used

A press feedback device including a support member, a press member, a magnetic assembly, a pressure detection module and a control module are used. Through the cooperation of the magnetic component and the control module, the force between the magnetic body is adjusted to simulate the pressing feedback of the mechanical keys.

Benefits of technology

Tactile feedback can be provided in a timely manner under different pressure levels to improve the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120604192A_ABST
    Figure CN120604192A_ABST
Patent Text Reader

Abstract

A press feedback device (40), a method, and an electronic device (100A). The pressing feedback device (40) comprises a supporting piece (100), a pressing piece (200), a magnetic assembly (300), a pressure detection module (400) and a control module (801). The two ends of the supporting piece (100) are fixed to the middle frame (10). The pressing piece (200) is arranged on one side of the supporting piece (100); the magnetic assembly (300) comprises a first magnetic body (301) and a second magnetic body (302), and the first magnetic body (301) and the second magnetic body (302) are oppositely arranged and are both arranged on the side, away from the pressing piece (200), of the supporting piece (100); the pressure detection module (400) is arranged on the supporting piece (100) and is configured to generate an electric signal corresponding to deformation of the supporting piece (100); the control module (801) is configured to adjust a driving current of the first magnetic body (301) and / or the second magnetic body (302) based on the electrical signal to adjust an acting force generated between the first magnetic body (301) and the second magnetic body (302). Different acting forces act on the supporting piece (100), the supporting piece (100) can be driven to generate corresponding position changes, different acting forces can be generated on the hand of a user, different pressing feedbacks corresponding to different pressures on the pressing piece (200) can be provided in time, and the user experience is good.
Need to check novelty before this filing date? Find Prior Art

Description

Pressing feedback device, method and electronic equipment Technical Field

[0001] The present application relates to the technical field of terminal devices, and in particular to a pressure feedback device, method and electronic device. Background Art

[0002] With the development of terminal device communication technology, the usage rate of electronic devices such as mobile phones, tablet computers, and smart watches has gradually increased. In order to facilitate users to control electronic devices, multiple buttons are set in electronic devices.

[0003] Traditional mechanical keys work by pressing the keycap with your finger. This mechanical deformation / displacement causes displacement of the connector underneath the keycap and the pot (dome). This triggers an electrical signal that is sent to the system, detecting the key press. Mechanical keys utilize the pot to create a spring-back effect, providing tactile feedback to the user.

[0004] However, if the key is pressed lightly, the metal dome may not move or may move very little, providing no or very little tactile feedback and potentially preventing the key operation from being detected. If the key is pressed hard, the metal dome may move significantly, becoming flattened and slow to rebound, preventing timely tactile feedback. Therefore, existing keys are prone to not providing timely tactile feedback under varying degrees of pressure, resulting in a poor user experience.

[0005] Summary of the Invention

[0006] The present application provides a press feedback device, method and electronic device to solve the problem that a key cannot provide tactile feedback in a timely manner under different pressing forces.

[0007] In a first aspect, the present application provides a pressure feedback device for use in an electronic device. The electronic device includes a middle frame that encloses a receiving cavity, the middle frame having an assembly hole that communicates with the receiving cavity. The pressure feedback device includes a support member, a pressure member, a magnetic assembly, a pressure detection module, and a control module. The support member has two ends fixed to the periphery of the assembly hole; the pressure member is disposed on a side of the support member facing away from the receiving cavity. The magnetic assembly is located within the receiving cavity and includes a first magnetic body and a second magnetic body. The first magnetic body is disposed on a side of the support member facing away from the pressure member; the second magnetic body is disposed on a side of the first magnetic body facing away from the support member and opposite to the first magnetic body, and the second magnetic body is fixed relative to the middle frame. The pressure detection module is disposed on the support member and is configured to generate an electrical signal corresponding to the deformation of the support member. The control module is electrically connected to the pressure detection module and to at least one of the first and second magnetic bodies. The control module is configured to adjust the driving current of the first and / or second magnetic bodies based on the electrical signal to adjust the force generated between the first and second magnetic bodies.

[0008] The press feedback device provided in the embodiment of the present application can simulate a mechanical button and realize press feedback. After the user presses the pressing member and / or lifts it, the user's operation on the pressing member causes the support member to deform, and the pressure detection module detects the deformation and generates a corresponding electrical signal, which is sent to the control module. The control module adjusts the driving current of the first magnetic body and the second magnetic body based on the electrical signal to adjust the force generated between the first magnetic body and the second magnetic body. Different forces acting on the support member can drive the support member to produce corresponding position changes, and can produce different forces on the user's hand, so as to provide different press feedback effects corresponding to different pressures on the pressing member in a timely manner. In this way, under different pressing forces, the press feedback device can provide tactile feedback in a timely manner, and the user experience is good.

[0009] In one implementation, when the pressing member is not under pressure, the second magnetic body and the first magnetic body are spaced apart from each other, so that the first magnetic body and the second magnetic body can perform an attraction action when receiving a current signal, thereby providing a pressing feedback corresponding to the attraction action.

[0010] In one implementation, the control module is configured to determine the pressure value applied to the pressing member based on the electrical signal; the control module is configured to adjust the magnitude of the driving current of the first magnetic body and / or the second magnetic body based on the change in the pressure value to adjust the magnitude of the applied force; and / or the control module is configured to adjust the direction of the driving current of the first magnetic body and / or the second magnetic body based on the change in the pressure value to adjust the direction of the applied force. In this way, the control module can determine different magnitudes of driving current based on different pressure values, and can determine whether the pressing member is in a pressed stage or in a lifted stage after being pressed based on the change in the pressure value, so as to adjust the magnitude and direction of the driving current of the first magnetic body and / or the second magnetic body, thereby changing the magnitude and direction of the applied force between the first magnetic body and the second magnetic body to provide different pressing feedback.

[0011] In one implementation, the control module is configured to increase the driving current of the first magnetic body and / or the second magnetic body in response to an increase in the pressure value, thereby increasing the applied force; and to decrease the driving current of the first magnetic body and / or the second magnetic body in response to a decrease in the pressure value, thereby decreasing the applied force, and / or to change the direction of the driving current of the first magnetic body and / or the second magnetic body to change the direction of the applied force. In this way, a corresponding pressing feedback can be provided when the pressing member is pressed, or a corresponding pressing feedback can be provided when the pressing member is lifted after being pressed.

[0012] In one implementation, the control module is configured to: in response to a pressure value being greater than a first pressure threshold, output a drive current to the first magnetic body and / or the second magnetic body, so that an attractive force is generated between the first magnetic body and the second magnetic body, so that the first magnetic body moves toward the second magnetic body. In response to the pressure value being greater than the first pressure threshold and increasing, increase the drive current of the first magnetic body and the second magnetic body to increase the attractive force. In response to the pressure value reaching a maximum value and starting to decrease, reduce the drive current of the first magnetic body and / or the second magnetic body to reduce the attractive force. In response to the pressure value decreasing to the first pressure threshold, stop outputting the drive current to the first magnetic body and the second magnetic body so that the force between the first magnetic body and the second magnetic body is zero. In this way, the force between the first magnetic body and the second magnetic body can be changed in real time according to the change in the pressure value, so as to provide different press feedback effects to the user in real time.

[0013] In one implementation, the control module is configured to: in response to a pressure value exceeding a second pressure threshold, output a drive current to the first and second magnetic bodies, thereby generating an attractive force between the first and second magnetic bodies, causing the first magnetic body to move toward the second magnetic body. In response to the pressure value exceeding the second pressure threshold and increasing, increase the drive currents to the first and second magnetic bodies, thereby increasing the attractive force. In response to the pressure value reaching a maximum value and beginning to decrease, reduce the drive current of one of the first and second magnetic bodies to a first current threshold, and maintain the drive current of the other unchanged, thereby reducing the attractive force. In response to the pressure value decreasing to a third pressure threshold, reversely increase the drive current of one of the first and second magnetic bodies, and maintain the drive current of the other unchanged, thereby generating a repulsive force between the first and second magnetic bodies, and increase the repulsive force, thereby causing the first magnetic body to move away from the second magnetic body. In response to the pressure value continuing to decrease to a fourth pressure threshold, reduce the drive currents to the first and second magnetic bodies, thereby reducing the repulsive force. In response to the pressure value decreasing to a second pressure threshold, the drive current is stopped from being output to the first magnetic body and the second magnetic body, so that the force between the first magnetic body and the second magnetic body is zero. In this way, the pressure value change process generated by pressing the pressing member is divided into multiple stages. The magnitude and direction of the force between the first magnetic body and the second magnetic body can be more accurately adjusted based on the pressure value change, thereby providing the user with more timely and accurate different pressing feedback corresponding to a single pressing of the pressing member.

[0014] In one implementation, the control module is configured to: in response to a pressure value increasing to a fifth pressure threshold, begin outputting a first drive current to the first magnetic body and a second drive current to the second magnetic body, thereby generating an attractive force between the first and second magnetic bodies and causing the first magnetic body to move toward the second magnetic body; the first drive current and the second drive current have fixed current values. In response to the pressure value exceeding the fifth pressure threshold and increasing, continue outputting the first drive current to the first magnetic body and continue outputting the second drive current to the second magnetic body, thereby maintaining the attractive force. In response to the pressure value reaching a maximum value and beginning to decrease, continue outputting the drive current to one of the first and second magnetic bodies and change the direction of the drive current output to the other magnetic body, thereby generating a repulsive force between the first and second magnetic bodies and causing the first magnetic body to move away from the second magnetic body. In response to a pressure value decreasing to a sixth pressure threshold, cease outputting the drive current to the first and second magnetic bodies, thereby reducing the force between the first and second magnetic bodies to zero; the sixth pressure threshold is less than or equal to the fifth pressure threshold. In this way, the magnitude and direction of the force between the first magnetic body and the second magnetic body can be adjusted more accurately according to the change in the pressure value generated by pressing the pressing member, so as to provide the user with different corresponding pressing feedback during a single pressing of the pressing member in a more timely and accurate manner.

[0015] In one implementation, the magnetic assembly further includes a housing fixedly mounted relative to the middle frame; the second magnetic body is fixedly mounted to the housing. The housing and the support member define a cavity, with the first and second magnetic bodies located within the cavity. This facilitates securing the second magnetic body with the housing, facilitating attraction between the first and second magnetic bodies when subjected to a current signal.

[0016] In one implementation, the pressing member includes two guide posts, which are disposed at both ends of the pressing member along the length of the support member, and the pressing member is fixed to the support member via the two guide posts. In this way, the two guide posts can evenly transmit pressure to the support member.

[0017] In one implementation, the magnetic assembly further includes two fixing members, which are disposed at both ends of the housing along the length of the support member, and the housing is fixed to both ends of the support member via the two fixing members, thereby improving the stability of the housing and the support member.

[0018] In one implementation, the support member includes a first cantilever beam, a second cantilever beam, and a bracket. The bracket is positioned between the first and second cantilever beams, with one end of the first cantilever beam fixed to one end of the mounting hole and the other end of the first cantilever beam connected to the bracket. One end of the second cantilever beam is fixed to the other end of the mounting hole and the other end of the second cantilever beam connected to the bracket. The first magnetic body is fixed to the bracket. This facilitates deformation of the support member when subjected to force, improving the subsequent pressing feedback effect.

[0019] In one implementation, the pressure detection module includes a first pressure detection module and a second pressure detection module, respectively located at opposite ends of the support member along its length. Thus, the electrical signals generated by the pressure detection modules at different locations can accurately represent the pressure exerted on the pressing member, allowing the control module to accurately input drive currents to the first and second magnetic bodies, enabling the first and second magnetic bodies to accurately attract or repel each other and generate different forces, providing corresponding pressure feedback when the pressing member is pressed or lifted after being pressed.

[0020] In the second aspect, the present application provides a press feedback method, which is applied to the press feedback device provided in the first aspect. The press feedback method includes: the pressure detection module generates an electrical signal corresponding to the deformation of the support member in response to detecting the deformation of the support member caused by the user pressing the pressing member, and sends the electrical signal to the control module; the control module adjusts the driving current of the first magnetic body and / or the second magnetic body based on the electrical signal to adjust the force generated between the first magnetic body and the second magnetic body.

[0021] The press feedback method provided in the embodiment of the present application is based on a press feedback device, can simulate mechanical buttons, and realize press feedback. After the user presses the pressing member and / or lifts it, when the user's operation on the pressing member causes the support member to deform, the pressure detection module detects the deformation and generates a corresponding electrical signal, which is sent to the control module. The control module adjusts the driving current of the first magnetic body and the second magnetic body based on the electrical signal to adjust the force generated between the first magnetic body and the second magnetic body. This force acts on the support member, which can drive the support member to produce corresponding position changes, and can produce different forces on the user's hand, so as to timely provide different press feedback effects corresponding to when the pressing member is subjected to different pressures. In this way, under different pressing strengths, the press feedback method can provide tactile feedback in a timely manner, and the user experience is good.

[0022] In one implementation, adjusting the driving current of the first magnetic body and / or the second magnetic body based on an electrical signal includes: a control module determining the pressure value applied to the pressing member based on the electrical signal; and the control module adjusting the magnitude of the driving current of the first magnetic body and / or the second magnetic body based on changes in the pressure value to adjust the magnitude of the applied force. And / or, the control module adjusting the direction of the driving current of the first magnetic body and / or the second magnetic body based on changes in the pressure value to adjust the direction of the applied force. In this way, the control module can determine different driving currents based on different pressure values, and can determine whether the pressing member is in a pressed stage or in a lifted stage after being pressed based on changes in the pressure value, thereby adjusting the magnitude and direction of the driving current of the first magnetic body and / or the second magnetic body. This can then change the magnitude and direction of the applied force between the first magnetic body and the second magnetic body to provide different pressing feedback.

[0023] In one implementation, adjusting the drive current of the first magnetic body and / or the second magnetic body based on the electrical signal includes: in response to an increase in the pressure value, the control module increases the drive current of the first magnetic body and / or the second magnetic body to increase the applied force. In response to a decrease in the pressure value, the control module reduces the drive current of the first magnetic body and / or the second magnetic body to reduce the applied force, and / or changes the direction of the drive current of the first magnetic body and / or the second magnetic body to change the direction of the applied force. In this way, corresponding press feedback can be provided when the pressing member is pressed, and / or corresponding press feedback can be provided when the pressing member is lifted after being pressed.

[0024] In one implementation, adjusting the driving current of a first magnetic body and / or a second magnetic body based on an electrical signal to adjust the force generated between the first and second magnetic bodies includes: a control module outputting a driving current to the first and second magnetic bodies in response to a pressure value exceeding a first pressure threshold, thereby generating an attractive force between the first and second magnetic bodies, causing the first magnetic body to move toward the second magnetic body. In response to the pressure value exceeding the first pressure threshold and increasing, the control module increases the driving current to the first and second magnetic bodies to increase the attractive force. In response to the pressure value reaching a maximum value and beginning to decrease, the control module decreases the driving current to the first and / or second magnetic bodies to reduce the attractive force. In response to the pressure value decreasing to the first pressure threshold, the control module stops outputting the driving current to the first and second magnetic bodies to reduce the force between the first and second magnetic bodies to zero. In this way, the magnitude and direction of the force generated between the first and second magnetic bodies can be changed in real time based on changes in the pressure value, thereby providing different pressing feedback effects to the user in real time.

[0025] In one implementation, adjusting the driving current of a first magnetic body and / or a second magnetic body based on an electrical signal to adjust the force generated between the first and second magnetic bodies includes: in response to a pressure value exceeding a second pressure threshold, the control module outputs a driving current to the first and second magnetic bodies to generate an attractive force between the first and second magnetic bodies, thereby causing the first magnetic body to move toward the second magnetic body. In response to the pressure value exceeding the second pressure threshold and increasing, the control module increases the driving current of the first and second magnetic bodies to increase the attractive force. In response to the pressure value reaching a maximum value and beginning to decrease, the control module reduces the driving current of one of the first and second magnetic bodies to the first current threshold and maintains the driving current of the other unchanged, thereby reducing the attractive force. In response to the pressure value decreasing to a third pressure threshold, the control module reversely increases the driving current of one of the first and second magnetic bodies and maintains the driving current of the other unchanged, thereby generating a repulsive force between the first and second magnetic bodies and increasing the repulsive force, thereby causing the first magnetic body to move away from the second magnetic body. In response to the pressure value continuing to decrease to a fourth pressure threshold, the control module reduces the drive current to the first and second magnetic bodies, thereby reducing the repulsive force. In response to the pressure value decreasing to a second pressure threshold, the control module stops outputting the drive current to the first and second magnetic bodies, thereby reducing the force between the first and second magnetic bodies to zero. In this way, the pressure value change process generated by pressing the pressing member is divided into multiple stages. The magnitude and direction of the force between the first and second magnetic bodies can be more accurately adjusted based on the change in pressure value, thereby providing the user with more timely and accurate different pressing feedback corresponding to a single press of the pressing member.

[0026] In one implementation, adjusting the driving current of a first magnetic body and / or a second magnetic body based on an electrical signal to adjust the force generated between the first magnetic body and the second magnetic body includes: in response to a pressure value increasing to a fifth pressure threshold, the control module begins outputting a first driving current to the first magnetic body and a second driving current to the second magnetic body, thereby generating an attractive force between the first magnetic body and the second magnetic body, thereby causing the first magnetic body to move toward the second magnetic body; the first driving current and the second driving current have fixed current values. In response to the pressure value exceeding the fifth pressure threshold and increasing, the control module continues outputting the first driving current to the first magnetic body and continues outputting the second driving current to the second magnetic body, thereby maintaining the attractive force. In response to the pressure value reaching a maximum value, the control module begins decreasing, maintains the driving current output to one of the first magnetic body and the second magnetic body unchanged, and changes the direction of the driving current output to the other magnetic body, thereby generating a repulsive force between the first magnetic body and the second magnetic body, thereby causing the first magnetic body to move away from the second magnetic body. In response to the pressure value decreasing to a sixth pressure threshold, the control module stops outputting the drive current to the first and second magnetic bodies, thereby reducing the force between the first and second magnetic bodies to zero; the sixth pressure threshold is less than or equal to the fifth pressure threshold. In this way, the magnitude and direction of the force between the first and second magnetic bodies can be more accurately adjusted based on the pressure value generated by pressing the pressing member, thereby providing the user with more timely and accurate feedback corresponding to a single press of the pressing member.

[0027] In one implementation, a pressure detection module generates an electrical signal corresponding to the deformation of the support member and sends the electrical signal to a control module, including: a first pressure detection module generates a first electrical signal corresponding to the deformation of the support member and sends the first electrical signal to the control module; a second pressure detection module generates a second electrical signal corresponding to the deformation of the support member and sends the second electrical signal to the control module. Furthermore, the control module determines the pressure value borne by the pressing member based on the electrical signal, including: the control module determines the pressure value borne by the pressing member based on the first electrical signal and the second electrical signal. In this way, the electrical signals generated by the pressure detection modules at different positions can accurately represent the pressure borne by the pressing member, and the control module can accurately input a driving current to the first magnetic body and the second magnetic body, so that the first magnetic body and the second magnetic body can accurately attract or repel each other and generate forces of different magnitudes and / or directions, providing corresponding pressing feedback when the pressing member is pressed or lifted after being pressed.

[0028] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a middle frame, which surrounds a receiving cavity and is provided with an assembly hole; a display screen and a rear shell, which are arranged on opposite sides of the middle frame; and a press feedback device as provided in the first aspect, wherein both ends of the support member of the press feedback device are fixed to the periphery of the assembly hole.

[0029] In a fourth aspect, an embodiment of the present application further provides an electronic device, comprising: a memory and a processor; the memory stores program instructions, and when the program instructions are executed by the processor, the electronic device executes the press feedback method provided in the second aspect.

[0030] In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the above-mentioned aspects and methods of each implementation thereof.

[0031] In a sixth aspect, an embodiment of the present application further provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the above-mentioned aspects and methods of their respective implementations.

[0032] In the seventh aspect, an embodiment of the present application also provides a chip system, which includes a processor for supporting the above-mentioned terminal device to implement the functions involved in the above-mentioned aspects, for example, generating or processing the information involved in the above-mentioned method.

[0033] It can be understood that the electronic devices, computer-readable storage media, computer program products and chip systems provided in the above aspects are all applied to the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solution of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0035] FIG1 is a schematic structural diagram of an electronic device 100A provided in an embodiment of the present application;

[0036] FIG2 is a schematic diagram of different pressing states of a mechanical button 30;

[0037] FIG3 is a first structural diagram of a pressure feedback device 40 provided in an embodiment of the present application;

[0038] FIG4 is a first side view of a pressure feedback device 40 provided in an embodiment of the present application;

[0039] FIG5 is a structural block diagram of a pressure feedback device 40 provided in an embodiment of the present application;

[0040] FIG6 is a first top view of the pressure feedback device 40 provided in an embodiment of the present application;

[0041] FIG7 is a schematic structural diagram of the AA section in FIG6;

[0042] FIG8 is a first structural schematic diagram of the support member 100 provided in an embodiment of the present application;

[0043] FIG9 is a first structural diagram of the pressure feedback device 40 and the middle frame 10 provided in an embodiment of the present application;

[0044] FIG10 is a second structural diagram of the pressure feedback device 40 provided in an embodiment of the present application;

[0045] FIG11 is a second side view of the pressure feedback device 40 provided in an embodiment of the present application;

[0046] FIG12 is a second top view of the pressure feedback device 40 provided in an embodiment of the present application;

[0047] FIG13 is a schematic structural diagram of the BB section in FIG12;

[0048] FIG14 is a second structural schematic diagram of the support member 100 provided in an embodiment of the present application;

[0049] FIG15 is a second structural diagram of the pressure feedback device 40 and the middle frame 10 provided in an embodiment of the present application;

[0050] FIG16 is a schematic structural diagram of a magnetic body provided in an embodiment of the present application;

[0051] FIG17 is a schematic structural diagram of a housing 303 provided in an embodiment of the present application;

[0052] FIG18 is a schematic diagram of a winding method of the first coil 3012 provided in an embodiment of the present application;

[0053] FIG19 is a schematic diagram of a winding method of the second coil 3022 provided in an embodiment of the present application;

[0054] FIG20 is a schematic diagram of a state where a magnetic body according to an embodiment of the present application generates different magnetic poles;

[0055] FIG21 is a first waveform diagram of a sinusoidal wave drive according to an embodiment of the present application;

[0056] FIG22 is a second waveform diagram of the sinusoidal wave drive provided in an embodiment of the present application;

[0057] FIG23 is a waveform diagram of a square wave drive according to an embodiment of the present application;

[0058] FIG24 is a flow chart of a pressure feedback method provided in an embodiment of the present application;

[0059] Figure 25 is a structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0060] The following will clearly describe the technical solutions in the embodiments of the present application in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments of the present application, other embodiments obtained by ordinary technicians in this field without making any creative work are all within the scope of protection of this application.

[0061] In the embodiments of this application, the terms "first," "second," etc. are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the technical features indicated. Thus, a feature defined as "first," "second," etc. may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.

[0062] In addition, in this application, directional terms such as "upper" and "lower" are defined relative to the orientation of the components in the drawings. It should be understood that these directional terms are relative concepts. They are used for relative description and clarification, and they can change accordingly according to changes in the orientation of the components in the drawings.

[0063] The following explains the professional terms mentioned in the embodiments of the present application to facilitate understanding by those skilled in the art.

[0064] Metal dome switch, also known as dome sheet, is a PET sheet containing a metal shrapnel (dome sheet). The dome sheet has good conductivity and can play a good role in switch activation and control between the operator and the product. For example, the dome sheet can be used as a switch on circuit boards such as printed circuit boards (PCB) or flexible printed circuit boards (FPC). After force is applied to the dome sheet, the dome sheet deforms and short-circuits with the PCB underneath, resulting in signal connectivity. In this way, it can play the role of an important tactile switch between the user and the instrument. The dome sheet also has a stable rebound force (automatically returns to its position after being pressed), which can bring a comfortable touch feeling to the operator.

[0065] A magnetic substance is any substance or material that can generate a magnetic field or be affected by a magnetic force within a magnetic field. Magnetic substances can both attract some substances and repel others. Magnetic substances can include permanent magnets, electromagnets, or iron.

[0066] A permanent magnet is a magnet that can maintain its magnetism for a long time. After being magnetized by a magnetic field, a permanent magnet can still retain part or most of its original magnetization direction even under the action of a considerable reverse magnetic field.

[0067] An electromagnet is a device that generates electromagnetic force when current is applied. A conductive winding of appropriate power is wound around an iron core. This coil, carrying current, exhibits magnetic properties similar to a magnet and is called an electromagnet. When current is applied to the coil, a magnetic field is generated around it, and the iron core is magnetized within this field, generating magnetism. Two electromagnets with the same magnetic properties repel each other, while two with different magnetic properties attract each other. The strength of the magnetism can be controlled by adjusting the current strength or the number of turns in the coil.

[0068] A pressure sensor is a device that detects changes in force through the deformation and displacement of the sensor, and can convert the degree of deformation and displacement caused by force into a usable output electrical signal according to certain rules, using the electrical signal to represent the change in force.

[0069] The electronic devices described in the embodiments of the present application include but are not limited to mobile phones, notebook computers, tablet computers, laptop computers, personal digital assistants, or wearable devices, etc. The following description will be made using a mobile phone as the electronic device.

[0070] FIG1 is a schematic structural diagram of an electronic device 100A provided in an embodiment of the present application.

[0071] As shown in Figure 1, electronic device 100A may include a middle frame 10, a display screen 20, and a rear housing (not shown), which are sequentially fastened together. Electronic device 100A also includes components such as a circuit board, a battery, a speaker assembly, and a camera assembly, which are not listed here.

[0072] In order to facilitate the user to control the electronic device 100A, a mechanical button 30 is provided in the electronic device 100A. For example, the mechanical button 30 can be located on the side frame of the middle frame 10, and the mechanical button 30 can be a volume button or a power button.

[0073] To facilitate the explanation of the positions of various components in the electronic device 100A, the embodiment of the present application exemplarily establishes a three-dimensional coordinate system based on the electronic device 100A, wherein the x-axis direction is the width direction of the electronic device 100A, the y-axis direction is the length direction of the electronic device 100A, and the z-axis direction is the thickness direction of the electronic device 100A.

[0074] FIG. 2 is a schematic diagram of different pressing states of a mechanical button 30 .

[0075] As shown in Figure 2 (a), the mechanical key 30 includes a keycap 31 and a pot piece 32. When the finger presses the keycap 31, the keycap 31 produces mechanical deformation / displacement, and the keycap 31 applies pressure to the pot piece 32, causing the pot piece 32 to deform. The deformed pot piece 32 is connected to the PCB below it (not shown in the figure). After the trigger electrical signal is given to the system, it is detected that the key is pressed. The mechanical key 30 can use the pot piece 32 to achieve a press rebound effect to provide tactile feedback to the user.

[0076] If the user presses the keycap 31 with little force, the mechanical deformation / displacement of the keycap 31 is small, so that the pot piece 32 may not produce or produce little deformation. In this way, the pot piece 32 not only does not provide or provides little tactile feedback, but may also make it impossible to detect the key operation.

[0077] As shown in FIG2(b), if the user presses the keycap 31 hard, the keycap 31 will produce a large mechanical deformation / displacement, which will cause a large deformation of the pot 32. As a result, the pot 32 is easily flattened and has a slow rebound problem, which makes it impossible to provide timely tactile feedback.

[0078] It can be seen that the existing mechanical button 30 is prone to the problem of being unable to provide tactile feedback in a timely manner under different pressing forces, resulting in a poor user experience.

[0079] To solve the above problems, embodiments of the present application provide a pressure feedback device 40 , a method, and an electronic device 100A.

[0080] FIG3 is a first structural schematic diagram of the press feedback device 40 provided in an embodiment of the present application; FIG4 is a first side view of the press feedback device 40 provided in an embodiment of the present application.

[0081] As shown in FIG. 3 and FIG. 4 , in some embodiments, the first pressure feedback device 40 may include: a support member 100 , a pressing member 200 and a magnetic assembly 300 .

[0082] The pressing member 200 is disposed on one side of the supporting member 100 , and the magnetic assembly 300 is disposed on the other side of the supporting member 100 .

[0083] To facilitate explanation of the structure of the pressure feedback device 40, a first direction is defined as the direction from the pressing member 200 to the magnetic assembly 300, that is, the first direction is the direction in which the pressing member 200 is pressed; a second direction is defined as the direction from the magnetic assembly 300 to the pressing member 200, that is, the second direction is the opposite direction of the first direction; and a third direction is defined as the length direction of the support member 100. The first direction is parallel to the second direction, and the third direction is perpendicular to the first and second directions. For example, in electronic device 100A, the first and second directions are parallel to the x-axis, and the third direction is parallel to the y-axis.

[0084] The pressing member 200 may include two guide posts 201, which are disposed at both ends of the pressing member 200 along the third direction. The pressing member 200 is fixed to the support member 100 via the two guide posts 201. For example, the two guide posts 201 are symmetrically disposed at both ends of the pressing member 200 along the third direction, so that the two guide posts 201 can evenly transmit pressure to the support member 100.

[0085] When the pressing member 200 is pressed by a finger, the generated pressure is transmitted to the supporting member 100 through the two guide pillars 201 fixed between the pressing member 200 and the supporting member 100 , causing the supporting member 100 to deform along the first direction.

[0086] The guide pillars 201 can provide a distance along the first direction between the pressing member 200 and the supporting member 100. In this way, the distance can facilitate the pressing member 200 to better apply pressure to the supporting member 100, so that the supporting member 100 can better deform.

[0087] The pressing member 200 and the supporting member 100 can be fixed by screws or adhesive. For example, the supporting member 100 can be connected to the two guide pillars 201 by screws or adhesive.

[0088] The magnetic assembly 300 may include a housing 303, which is fixedly connected to the support member 100. For example, the housing 303 and the support member 100 may be fixed by adhesive or by auxiliary components, such as the fixing component 305 described below.

[0089] FIG5 is a structural block diagram of a pressure feedback device 40 provided in an embodiment of the present application.

[0090] As shown in FIG. 5 , in some embodiments, the pressure feedback device 40 may further include: a pressure detection module 400 and a control module 801 .

[0091] The magnetic assembly 300 may further include a first magnetic body 301 and a second magnetic body 302 . The control module 801 is electrically connected to the pressure detection module 400 , and at least one of the first magnetic body 301 and the second magnetic body 302 is electrically connected.

[0092] The second magnetic body 302 and the first magnetic body 301 can be any of a permanent magnet, an electromagnet, or iron. For example, both the first magnetic body 301 and the second magnetic body 302 can be electromagnets, or the first magnetic body 301 can be an electromagnet and the second magnetic body 302 can be a permanent magnet, or vice versa; or the first magnetic body 301 can be an electromagnet and the second magnetic body 302 can be iron, or vice versa. The material selection criteria for the first magnetic body 301 and the second magnetic body 302 are that they can generate a change in the force between them.

[0093] For example, if one of the first magnetic body 301 and the second magnetic body 302 is an electromagnet and the other is a permanent magnet, the control module 801 is electrically connected to the magnetic body using the electromagnet, and not to the magnetic body using the permanent magnet. If both the first magnetic body 301 and the second magnetic body 302 are electromagnets, the control module 801 is electrically connected to the first magnetic body 301 and the second magnetic body 302.

[0094] The pressure detection module 400 is configured to generate an electrical signal corresponding to the deformation of the support member 100 and send the corresponding electrical signal to the control module 801. The pressure detection module 400 can be located near the connection between the support member 100 and the pressing member 200 so that the pressure detection module 400 can accurately detect the deformation of the support member 100.

[0095] The control module 801 is configured to determine the pressure value borne by the pressing member 200 based on the electrical signal, and adjust the driving current of the first magnetic body 301 and the second magnetic body 302 based on the pressure value, so that a force is generated between the first magnetic body 301 and the second magnetic body 302. The force acts on the support member 100, which can drive the support member 100 to change its position and can generate different forces on the user's hand to provide the user with a corresponding pressing feedback effect.

[0096] Among them, the parameters of the force include magnitude and direction; the position change generated by the support member 100 includes a concave deformation of the middle part of the support member 100 along the direction in which the support member 100 is pressed, and a convex deformation of the middle part of the support member 100 along the opposite direction in which the support member 100 is pressed; the middle part of the support member 100 is the part of the support member 100 corresponding to the first magnetic body 301 and the second magnetic body 302.

[0097] In some embodiments, the control module 801 may include a controller (Microcontroller Unit, MCU) 8011 and a drive unit 8012. The controller 8011 is electrically connected to the pressure detection module 400. The controller 8011 is also electrically connected to the drive unit 8012. The drive unit 8012 is electrically connected to the signal ends of the first magnetic body 301 and the second magnetic body 302.

[0098] The controller 8011 is configured to determine the pressure value exerted on the pressing member 200 based on the electrical signal sent by the pressure detection module 400, and to determine the driving current based on the pressure value. The controller 8011 sends the driving current to the driving unit 8012, which inputs the driving current to the first magnetic body 301 and the second magnetic body 302, respectively, so that the first magnetic body 301 and the second magnetic body 302 generate forces of different magnitudes and directions. This force can drive the support member 100 to change its position and can generate different forces on the user's hand, thereby providing corresponding pressing feedback when the pressing member 200 is pressed or when the pressing member 200 is lifted after being pressed.

[0099] In some embodiments, there may be multiple pressure detection modules 400. When there are two pressure detection modules 400, the pressure detection modules 400 may include a first pressure detection module 401 and a second pressure detection module 402. The first pressure detection module 401 is configured to generate an electrical signal when the support member 100 is deformed by pressure. The second pressure detection module 402 is configured to generate an electrical signal when the support member 100 is deformed by pressure.

[0100] The first pressure detection module 401 and the second pressure detection module 402 send the generated electrical signals to the control module 801, respectively. The control module 801 determines two sets of pressure values ​​based on the two sets of electrical signals, adds the two sets of pressure values ​​together to obtain the total pressure value, and determines the driving current based on the total pressure value. In this way, the electrical signals generated by the pressure detection modules 400 at different positions can accurately represent the pressure applied to the pressing member 200. The control module 801 can then accurately input the driving current to the first magnetic body 301 and the second magnetic body 302, so that the first magnetic body 301 and the second magnetic body 302 can accurately attract or repel each other and generate forces of different magnitudes and directions. This force can drive the support member 100 to produce corresponding position changes and can generate different forces on the user's hand, thereby providing corresponding pressing feedback when the pressing member 200 is pressed or when the pressing member 200 is lifted after being pressed. The force can include an attractive force and a repulsive force.

[0101] FIG6 is a first top view of the pressure feedback device 40 provided in an embodiment of the present application.

[0102] As shown in Figure 6, in some embodiments, both ends of the support member 100 in the third direction are configured to be fixed. For example, both ends of the support member 100 can be fixed to the middle frame 10 of the electronic device 100A.

[0103] The support member 100 can be made of a steel sheet, and the thickness of the support member 100 is relatively thin. In this way, it can be ensured that the support member 100 has a certain strength and can be deformed / displaced when subjected to pressure.

[0104] In some embodiments, the support member 100 may have a complete plate-like structure.

[0105] FIG. 7 is a schematic structural diagram of the AA section in FIG. 6 .

[0106] As shown in Figure 7, in some embodiments, the support member 100 may include a first surface 101 and a second surface 102, which are opposite to each other. The first surface 101 faces the outside of the electronic device 100A, and the second surface 102 faces the inside of the electronic device 100A.

[0107] The pressing member 200 is connected between two ends of the supporting member 100 , and two guide pillars 201 are fixed to the first surface 101 of the supporting member 100 , so that the pressing member 200 is fixed to the first surface 101 of the supporting member 100 through the two guide pillars 201 .

[0108] The pressing member 200 is configured to withstand external pressure to deform the support member 100. When a user presses the pressing member 200 with a finger, the pressure generated by the pressing is transmitted to the support member 100 through the guide post 201, causing the support member 100 to move or deform along a first direction.

[0109] The pressing member 200 can be fixed at the middle position of the supporting member 100 along the third direction, so that the uniformity of the pressure transmitted from the pressing member 200 to the supporting member 100 can be improved.

[0110] The first magnetic body 301 is set on the support member 100, and the second magnetic body 302 can be fixed on the shell 303. For example, the first magnetic body 301 can be fixed on the first surface 101 or the second surface 102, and the second magnetic body 302 can be fixed inside or outside the shell 303.

[0111] In some embodiments, the first magnetic body 301 is disposed on the side of the support member 100 away from the pressing member 200, and the second magnetic body 302 is disposed on the side of the first magnetic body 301 away from the support member 100. The second magnetic body 302 is positioned opposite to the first magnetic body 301 and is fixedly disposed.

[0112] The housing 303 of the magnetic assembly 300 may include a housing bottom surface 3031, which is opposite to the second surface 102. The housing 303 is fixed to the second surface 102 of the support member 100. The housing 303 and the second surface 102 form a cavity 304, and the first magnetic body 301 and the second magnetic body 302 are located in the cavity 304. For example, the first magnetic body 301 is disposed on the second surface 102, and the second magnetic body 302 is disposed on the housing bottom surface 3031, and the second magnetic body 302 is fixed by the housing 303.

[0113] Along a first direction, the first magnetic body 301 and the second magnetic body 302 are directly opposite each other. The projection of the first magnetic body 301 along the first direction overlaps with the projection of the second magnetic body 302 along the first direction. This increases the relative area between the first magnetic body 301 and the second magnetic body 302, thereby increasing the force generated between the first magnetic body 301 and the second magnetic body 302. This allows the first magnetic body 301 and the second magnetic body 302 to generate an optimal attraction force when they are attracted to each other, and an optimal repulsion force when they are repelled.

[0114] When the pressing member 200 is not pressed and the supporting member 100 is not deformed, a gap L1 is formed between the first magnetic body 301 and the second magnetic body 302. This facilitates the first magnetic body 301 and the second magnetic body 302 to attract each other when receiving a current signal.

[0115] The first magnetic body 301 and the second magnetic body 302 can be located between the two guide posts 201, which is equivalent to the first magnetic body 301 and the second magnetic body 302 being located in the middle of the pressure feedback device 40. The middle is usually the position where the user presses. In this way, the first magnetic body 301 and the second magnetic body 302 can better provide feedback to the user and avoid the situation where the pressing position and the feedback position are misaligned.

[0116] The pressure detection module 400 is disposed on the support member 100, and the pressure detection module 400 can be fixed on the first surface 101 or the second surface 102. For example, the pressure detection module 400 can be a pressure sensor.

[0117] In some embodiments, the pressure detection module 400 can be located in the cavity 304 and fixed to the second surface 102 of the support member 100. The pressure detection module 400 is close to the guide post 201 and away from the first magnetic body 301. When the pressure exerted on the pressing member 200 is transmitted to the support member 100 through the guide post 201 and deforms, the pressure detection module 400 can accurately sense the deformation and generate an electrical signal.

[0118] The pressure detection module 400 may include a first pressure detection module 401 and a second pressure detection module 402, and the first pressure detection module 401 and the second pressure detection module 402 are located in the cavity 304. The first pressure detection module 401 and the second pressure detection module 402 are respectively located at two ends of the length direction of the support member 100, wherein "two ends" here refers to the two sides relative to the center of the length direction of the support member 100, and does not refer to the end of the length direction of the support member 100.

[0119] For example, along the third direction, the first pressure detection module 401 is located on a side of the left guide post 201 away from the first magnetic body 301. The first pressure detection module 401 is configured to generate an electrical signal when the support member 100 is deformed by the pressure transmitted by the left guide post 201. Along the third direction, the second pressure detection module 402 is located on a side of the right guide post 201 away from the first magnetic body 301. The second pressure detection module 402 is configured to generate an electrical signal when the support member 100 is deformed by the pressure transmitted by the right guide post 201.

[0120] It should be noted that the “left” and “right” here are based on the state shown in FIG. 7 , and are only for the convenience of describing the positional relationship and connection relationship of the various components, and do not limit the specific structure of the guide column 201 , and the same shall apply below.

[0121] In some embodiments, the magnetic assembly 300 may further include two fixing members 305 . The two fixing members 305 are disposed on both sides of the housing 303 along the length direction of the support member 100 . The housing 303 is fixed to both ends of the support member 100 via the two fixing members 305 .

[0122] The fixing member 305 continuously extends from one side of the housing 303 to the second surface 102 of the support member 100 and extends along the second surface 102 toward the end of the support member 100. In this way, the housing 303 and the support member 100 can be fixed by the fixing member 305.

[0123] For example, the fixing member 305 and the supporting member 100 may be fixed by screws or adhesive, and the fixing member 305 and the housing 303 may be fixed by screws or adhesive.

[0124] FIG8 is a first structural schematic diagram of the support member 100 provided in an embodiment of the present application, wherein FIG8 shows the structure of the second surface 102 of the support member 100 .

[0125] As shown in FIG. 8 , in some embodiments, the support member 100 may include a first through hole 501 , a second through hole 502 , a third through hole 503 , and a fourth through hole 504 .

[0126] The first through hole 501 and the second through hole 502 are located on both sides of the first magnetic body 301 along the third direction. The first through hole 501 and the second through hole 502 are used to fix the pressing member 200 . The positions of the first through hole 501 and the second through hole 502 correspond to the positions of the two guide pillars 201 .

[0127] The third through hole 503 and the fourth through hole 504 are located at both ends of the support member 100 along the third direction, the first through hole 501 and the second through hole 502 are located between the third through hole 503 and the fourth through hole 504, and the third through hole 503 and the fourth through hole 504 are used to fix the support member 100, the fixing member 305 and the middle frame 10.

[0128] For example, the first pressure detection module 401 may be located between the first through hole 501 and the third through hole 503 , and the second pressure detection module 402 may be located between the second through hole 502 and the fourth through hole 504 .

[0129] 7 , when the support member 100 and the pressing member 200 are fixed by screws, and the fixing member 305 , the support member 100 and the middle frame 10 are fixed by screws, the screws may include a first screw 601 , a second screw 602 , a third screw 603 and a fourth screw 604 .

[0130] For example, a first screw 601 passes through the first through hole 501 to secure the left guide post 201 to the support member 100; a second screw 602 passes through the second through hole 502 to secure the right guide post 201 to the support member 100. In this way, the support member 100 and the guide post 201 are secured, and further, the support member 100 and the pressing member 200 are secured.

[0131] FIG9 is a first structural diagram of the pressure feedback device 40 and the middle frame 10 provided in an embodiment of the present application.

[0132] As shown in FIG9 , in some embodiments, the middle frame 10 surrounds a receiving cavity 11, and the middle frame 10 is provided with an assembly hole 12 that communicates with the receiving cavity 11. The pressure feedback device 40 is located within the receiving cavity 11, and the pressing member 200 extends through the assembly hole 12. The first surface 101 of the support member 100 is in contact with the inner surface (not shown) of the middle frame 10, and the two ends of the support member 100 are fixed to the periphery of the assembly hole 12.

[0133] There is a gap between the ends of the pressing member 200 and the edge of the assembly hole 12 to prevent the middle frame 10 at the edge of the assembly hole 12 from hindering the movement of the pressing member 200 when the pressing member 200 is pressed. The pressing member 200 protrudes from the middle frame 10 to facilitate the user to press the pressing member 200.

[0134] As shown in Figures 7, 8, and 9, in some embodiments, a third screw 603 and a fourth screw 604 are used to secure the pressure feedback device 40 to the middle frame 10. The third screw 603 passes through the third through-hole 503 and together with the third screw 603 extends through the left fixing member 305 to the portion of the support member 100, the left end of the support member 100, and the portion of the middle frame 10 to the left of the assembly hole 12. The third screw 603 is screwed into the portion of the middle frame 10 to the left of the assembly hole 12. Similarly, the fourth screw 604 passes through the fourth through-hole 504 and together with the fourth screw 604 extends through the right fixing member 305 to the portion of the support member 100, the right end of the support member 100, and the portion of the middle frame 10 to the right of the assembly hole 12. The fourth screw 604 is screwed into the portion of the middle frame 10 to the right of the assembly hole 12. In this way, the fixing member 305, the housing 303, the support member 100, and the middle frame 10 are secured together, improving stability.

[0135] FIG10 is a second structural diagram of the pressure feedback device 40 provided in an embodiment of the present application.

[0136] As shown in Figure 10, in some embodiments, in the second press feedback device 40, the difference from the first press feedback device 40 provided in the aforementioned embodiment is that the support member 100 can adopt a segmented structure, and the remaining structures can refer to the first press feedback device 40, which will not be repeated here.

[0137] The support member 100 may include a first cantilever beam 103, a second cantilever beam 104, and a bracket 105. The bracket 105 is located between the first cantilever beam 103 and the second cantilever beam 104. The first cantilever beam 103, the bracket 105, and the second cantilever beam 104 are sequentially connected along the third direction.

[0138] Exemplarily, the bracket 105 and the first cantilever beam 103 and the second cantilever beam 104 may be connected by glue or screws.

[0139] FIG11 is a second side view of the pressure feedback device 40 provided in the embodiment of the present application.

[0140] As shown in FIG11 , in some embodiments, a third screw 603 passes through an end of the first cantilever beam 103 away from the pressing member 200 to secure the first cantilever beam 103 to the middle frame 10. A fourth screw 604 passes through an end of the second cantilever beam 104 away from the pressing member 200 to secure the second cantilever beam 104 to the middle frame 10.

[0141] FIG12 is a second top view of the pressure feedback device 40 provided in an embodiment of the present application.

[0142] As shown in Figure 12, in some embodiments, a third through hole 503 can be opened at the end of the first cantilever beam 103 away from the pressing member 200, and the third through hole 503 is used for allowing the third screw 603 to pass through; the fourth through hole 504 can be opened at the end of the second cantilever beam 104 away from the pressing member 200, and the fourth through hole 504 is used for allowing the fourth screw 604 to pass through.

[0143] FIG13 is a schematic structural diagram of the BB section in FIG12 .

[0144] As shown in FIG13 , in some embodiments, the bracket 105 is located on the same side relative to the first cantilever beam 103 and the second cantilever beam 104. For example, the bracket 105 is located on a side of the first cantilever beam 103 and the second cantilever beam 104 that is away from the pressing member 200. This facilitates deformation of the support member 100 when subjected to pressure from the pressing member 200.

[0145] The first cantilever beam 103 is connected to the second cantilever beam 104 via a bracket 105. The length directions of the first cantilever beam 103, the second cantilever beam 104, and the bracket 105 are all parallel to the third direction. The first surface 101 of the support member 100 may include the surfaces of the first cantilever beam 103, the second cantilever beam 104, and the bracket 105 that are adjacent to the pressing member 200, and the second surface 102 of the support member 100 may include the surfaces of the first cantilever beam 103, the second cantilever beam 104, and the bracket 105 that are away from the pressing member 200.

[0146] The bracket 105 is located in the middle of the support member 100, and the first magnetic body 301 is fixed to the bracket 105, facing the second magnetic body 302 fixed in the middle of the bottom surface 3031 of the housing 303. In this way, the first magnetic body 301 and the second magnetic body 302 can better provide feedback to the user and avoid the situation where the pressing position and the feedback position are misaligned.

[0147] The housing 303 of the magnetic assembly 300 is fixed to the first cantilever beam 103 and the second cantilever beam 104. For example, the two ends of the housing 303 are fixed to the first cantilever beam 103 and the second cantilever beam 104, respectively. The housing 303, the first cantilever beam 103, the second cantilever beam 104, and the bracket 105 form a cavity 304. The housing 303 and the first cantilever beam 103 and the second cantilever beam 104 can be fixed by gluing, welding, or connecting with auxiliary parts (such as the fixing part 305).

[0148] When there is only one pressure detection module 400, the pressure detection module 400 may be located on one of the first cantilever beam 103, the second cantilever beam 104, and the bracket 105. When there are multiple pressure detection modules 400, the pressure detection module 400 may be located on at least one of the first cantilever beam 103, the second cantilever beam 104, and the bracket 105. For example, when the pressure detection module 400 includes a first pressure detection module 401 and a second pressure detection module 402, the first pressure detection module 401 may be fixed to the first cantilever beam 103, and the second pressure detection module 402 may be fixed to the second cantilever beam 104, or vice versa.

[0149] In some embodiments, one end of the housing 303 is connected to the first cantilever beam 103 via a fixing member 305. The fixing member 305 extends continuously from one side of the housing 303 to the second surface 102 of the first cantilever beam 103, and extends along the second surface 102 toward the end of the first cantilever beam 103. The other end of the housing 303 is connected to the second cantilever beam 104 via another fixing member 305. The fixing member 305 extends continuously from one side of the housing 303 to the second surface 102 of the second cantilever beam 104, and extends along the second surface 102 toward the end of the second cantilever beam 104.

[0150] FIG14 is a second structural schematic diagram of the support member 100 provided in an embodiment of the present application.

[0151] As shown in Figures 13 and 14, in some embodiments, when screw fastening is employed, one end of the first cantilever beam 103 overlaps with one end of the bracket 105, and the first through-hole 501 is defined in this overlapping region. The left guide post 201 is located at the junction of the first cantilever beam 103 and the bracket 105. The first screw 601 passes through the first through-hole 501 and the left guide post 201 to securely connect the first cantilever beam 103, the bracket 105, and the left guide post 201.

[0152] Similarly, one end of the second cantilever beam 104 overlaps with the other end of the bracket 105, and the second through-hole 502 is defined in this overlapping region. The right guide post 201 is located at the junction of the second cantilever beam 104 and the bracket 105. The second screw 602 passes through the second through-hole 502 and the right guide post 201 to securely connect the second cantilever beam 104, the bracket 105, and the right guide post 201.

[0153] FIG15 is a second structural diagram of the pressure feedback device 40 and the middle frame 10 provided in an embodiment of the present application.

[0154] As shown in conjunction with Figures 13, 14, and 15, in some embodiments, a third screw 603 passes through the third through-hole 503 and, collectively, passes through one end of the first cantilever beam 103, the portion of the fixing member 305 extending to the first cantilever beam 103, and the middle frame 10 to the left of the assembly hole 12. The third screw 603 is screwed into the middle frame 10 to the left of the assembly hole 12. Similarly, a fourth screw 604 passes through the fourth through-hole 504 and, collectively, passes through one end of the second cantilever beam 104, the portion of another fixing member 305 extending to the second cantilever beam 104, and the middle frame 10 to the right of the assembly hole 12. The fourth screw 604 is screwed into the middle frame 10 to the right of the assembly hole 12. This improves the stability of the fixing member 305, the housing 303, the first cantilever beam 103, the second cantilever beam 104, and the middle frame.

[0155] In this pressure feedback device 40, when a user presses the pressing member 200, the pressure generated is transmitted through the guide posts 201 at both ends of the pressing member 200 to the areas corresponding to the first screw 601 and the second screw 602. The support member 100 is deformed by the pressure transmitted by the two guide posts 201. The first pressure detection module 401 is adjacent to the first screw 601 and can generate a first electrical signal corresponding to the deformation and transmit it to the control module 801. The second pressure detection module 402 is adjacent to the second screw 602 and can generate a second electrical signal corresponding to the deformation and transmit it to the control module 801. The driving process of the control module 801 can be referred to the content of the subsequent embodiments and will not be repeated here.

[0156] The pressure feedback device 40 provided in the embodiment of the present application, wherein the support member 100 adopts a segmented structure. Compared with the first pressure feedback device 40, the support member 100 with a segmented structure is more likely to deform when subjected to pressure. The pressure detection module 400 will more accurately generate a corresponding electrical signal when sensing the deformation of the support member 100. The pressure detection module 400 sends the electrical signal to the control module 801. The control module 801 more accurately determines the pressure value to more accurately adjust the driving current of the first magnetic body 301 and / or the second magnetic body 302 according to the change in the pressure value, so that a force is generated between the first magnetic body 301 and the second magnetic body 302. This force acts on the support member 100, which can drive the support member 100 to change its position, so as to generate different forces on the user's hand, thereby improving the corresponding pressure feedback effect provided to the user.

[0157] FIG16 is a schematic diagram of the structure of the magnetic body provided in an embodiment of the present application.

[0158] As shown in FIG. 7 and FIG. 16 , in some embodiments, the first magnetic body 301 may include a first core 3011 and a first coil 3012 . The first core 3011 is fixed to the second surface 102 of the support member 100 , and the first coil 3012 is wound around the first core 3011 .

[0159] FIG17 is a schematic structural diagram of the housing 303 provided in an embodiment of the present application.

[0160] As shown in Figures 7, 16 and 17, in some embodiments, the second magnetic body 302 may include a second core 3021 and a second coil 3022. The second core 3021 is fixed to the bottom surface 3031 of the shell 303, and the second coil 3022 is wound around the second core 3021.

[0161] The first core 3011 and the second core 3021 are opposite to each other along a first direction, and when no power is supplied, a gap L1 is formed between the first core 3011 and the second core 3021 along the first direction.

[0162] FIG18 is a schematic diagram of a winding method of the first coil 3012 provided in an embodiment of the present application. FIG18 is a schematic diagram of FIG16 from a top view.

[0163] As shown in (a) and (b) of FIG. 16 and FIG. 18 , in some embodiments, the first coil 3012 is wound clockwise from the outside to the inside around the first core 3011. The first coil 3012 includes a first signal terminal 3012a and a second signal terminal 3012b. The first signal terminal 3012a is led out from the outside of the first coil 3012, and the second signal terminal 3012b is led out from the inside of the first coil 3012.

[0164] FIG19 is a schematic diagram of a winding method of the second coil 3022 provided in an embodiment of the present application. FIG19 is a schematic diagram of FIG16 from a top view.

[0165] As shown in Figures 16 and 19(a) and (b), in some embodiments, the second coil 3022 is wound counterclockwise from the outside to the inside around the second core 3021. The second coil 3022 includes a third signal terminal 3022a and a fourth signal terminal 3022b. The third signal terminal 3022a is led out from the outside of the second coil 3022, and the fourth signal terminal 3022b is led out from the inside of the second coil 3022.

[0166] In the embodiment of the present application, the winding directions of the two sets of coils are opposite. In other embodiments, the two sets of coils can also be wound in the same direction, which will not be described here.

[0167] In some embodiments, the control module 801 inputs driving current into the first coil 3012 and the second coil 3022 respectively, and can change the magnetic poles of the first magnetic body 301 and the second magnetic body 302 according to the different directions of the input current, thereby changing the magnetic poles of the opposite ends of the first magnetic body 301 and the second magnetic body 302 to be opposite or the same, so as to adjust the first magnetic body 301 and the second magnetic body 302 to perform an attractive action or a repulsive action.

[0168] FIG20 is a schematic diagram of a magnetic body according to an embodiment of the present invention generating different magnetic poles, wherein the solid arrow in FIG20 represents the winding direction of the coil, and the dotted arrow represents the current direction of the driving current I.

[0169] As shown in Figures 7, 16, and 20(a), in some embodiments, when a user presses and lifts the pressing member 200, the user applies different pressures to the pressing member 200, which is transmitted to the support member 100 and causes the support member 100 to deform. The pressure detection module 400 detects the deformation of the support member 100 and generates an electrical signal, which is sent to the control module 801. The control module 801 determines the pressure value applied to the pressing member 200 based on the electrical signal and generates a driving current I based on the pressure value. The control module 801 outputs the driving current I to the first magnetic body 301 and the second magnetic body 302.

[0170] When adjusting the magnetic poles of the opposite ends of the first magnetic body 301 and the second magnetic body 302 to be opposite based on the driving current, illustratively, in the first magnetic body 301, the control module 801 inputs the driving current I from the first signal terminal 3012a of the first coil 3012 and transmits it to the second signal terminal 3012b. Furthermore, in the second magnetic body 302, the control module 801 inputs the driving current I from the fourth signal terminal 3022b of the second coil 3022 and transmits it to the third signal terminal 3022a. Thus, based on the counter-winding of the first coil 3012 and the second coil 3022, the direction of the driving current I of the first magnetic body 301 is opposite to the direction of the driving current of the second magnetic body 302, resulting in an N pole at the end of the first magnetic body 301 adjacent to the second magnetic body 302, and an S pole at the end of the second magnetic body 302 adjacent to the first magnetic body 301. The magnetic poles of the opposite ends of the first magnetic body 301 and the second magnetic body 302 are opposite, and the first magnetic body 301 and the second magnetic body 302 attract each other, so that there is an attractive force between the first iron core 3011 and the second iron core 3021. The attractive force is used to provide corresponding pressing feedback when the pressing member 200 is pressed.

[0171] As shown in FIG7 , FIG16 , and FIG20( b ), in some embodiments, when adjusting the magnetic poles of opposite ends of the first magnetic body 301 and the second magnetic body 302 to be aligned based on the driving current, in the first magnetic body 301, the control module 801 inputs the driving current I from the first signal terminal 3012a of the first coil 3012 and transmits it to the second signal terminal 3012b. Furthermore, in the second magnetic body 302, the control module 801 inputs the driving current I from the third signal terminal 3022a of the second coil 3022 and transmits it to the fourth signal terminal 3022b. Thus, due to the counter-winding of the first coil 3012 and the second coil 3022, the direction of the driving current I of the first magnetic body 301 is the same as the direction of the driving current I of the second magnetic body 302. Thus, the end of the first magnetic body 301 adjacent to the second magnetic body 302 generates a north pole, and the end of the second magnetic body 302 adjacent to the first magnetic body 301 generates a north pole. The first magnetic body 301 and the second magnetic body 302 have the same magnetic poles at opposite ends, and the first magnetic body 301 and the second magnetic body 302 repel each other, so that there is a repulsive force between the first iron core 3011 and the second iron core 3021. The repulsive force is used to provide corresponding pressing feedback when the pressing member 200 is pressed and then lifted.

[0172] In this way, under different pressing strengths, corresponding different driving currents are input into the first magnetic body 301 and the second magnetic body 302. According to the current directions in the first magnetic body 301 and the second magnetic body 302, the first magnetic body 301 and the second magnetic body 302 can generate different strengths of attractive forces or repulsive forces, thereby providing corresponding different pressing feedback in a timely manner and improving the user experience.

[0173] In some embodiments, the control module 801 is configured to determine the pressure value borne by the pressing member 200 based on the electrical signal sent by the pressure detection module 400, and adjust the driving current based on the change of the pressure value.

[0174] Adjusting the driving current includes adjusting the magnitude of the driving current and adjusting the direction of the driving current. Adjusting the magnitude of the driving current input into the first magnetic body 301 and the second magnetic body 302 can change the magnitude of the force generated between the first magnetic body 301 and the second magnetic body 302. Adjusting the direction of the driving current input into the first magnetic body 301 and the second magnetic body 302 can change the magnetic poles of the first magnetic body 301 and the second magnetic body 302. The change in the magnetic poles can generate a force in a different direction between the first magnetic body 301 and the second magnetic body 302.

[0175] For example, if the magnetic poles at the opposite ends of the first magnetic body 301 and the second magnetic body 302 are opposite, an attractive force is generated between the first magnetic body 301 and the second magnetic body 302; if the magnetic poles at the opposite ends of the first magnetic body 301 and the second magnetic body 302 are the same, a repulsive force is generated between the first magnetic body 301 and the second magnetic body 302.

[0176] In some embodiments, the control module 801 determines the magnitude of the driving current I according to the pressure value according to the following formula: F=B×L×I;

[0177] Where F is the pressure value, B is the magnetic flux of the magnetic body, L is the inductance of the magnetic body, and I is the magnitude of the driving current.

[0178] F is the detected variable, I is the unknown variable, and B and L are known fixed quantities. In this way, different drive currents I can be determined based on different pressure values ​​F, and the voltage value is directly proportional to the drive current.

[0179] The control module 801 inputs a driving current I into the first magnetic body 301 and the second magnetic body 302. Depending on the direction of the current flowing through the first and second magnetic bodies 301, 302, the magnetic poles at the opposing ends of the first and second magnetic bodies 301, 302 can be changed to opposite or identical positions, thereby causing the first and second magnetic bodies 301, 302 to generate an attractive force or a repulsive force. The attraction or repulsion between the first and second magnetic bodies 301, 302 can provide corresponding pressure feedback when the pressing member 200 is pressed or lifted after being pressed. The control module 801 can also control the pressure value F by the pressure applied to the pressing member 200, and thus control the driving current by the pressure value F. This allows the first and second magnetic bodies 301, 302 to generate different strengths of attractive or repulsive forces, thereby providing different degrees of pressure feedback when the pressing member 200 is pressed or lifted after being pressed.

[0180] Under different driving currents, the first magnetic body 301 and the second magnetic body 302 generate different interaction forces. Different forces act on the support member 100, which can drive the support member 100 to produce position changes. For example, if an attractive force is generated between the first magnetic body 301 and the second magnetic body 302, it can drive the support member 100 to produce a position change along the first direction, and transmit it to the pressing member 200 to feed back to the user's finger, so as to provide the user with a corresponding pressing feedback when pressing the pressing member 200. If a repulsive force is generated between the first magnetic body 301 and the second magnetic body 302, it can drive the support member 100 to produce a position change along the second direction, and transmit it to the pressing member 200 to feed back to the user's finger, so as to provide the user with a corresponding pressing feedback when pressing the pressing member 200 and then lifting it.

[0181] For example, the greater the pressure applied to the pressing member 200, the larger the electrical signal generated by the pressure detection module 400, the greater the pressure value determined by the control module, the greater the driving current, the greater the force generated between the first magnetic body 301 and the second magnetic body 302, and the greater the pressing feedback force felt by the user. Conversely, the smaller the pressure applied to the pressing member 200, the smaller the electrical signal generated by the pressure detection module 400, the smaller the pressure value determined by the control module, the smaller the driving current, the smaller the force generated between the first magnetic body 301 and the second magnetic body 302, and the smaller the pressing feedback force felt by the user.

[0182] The pressure feedback device 40 provided in the embodiment of the present application can simulate a mechanical button and realize pressure feedback. After the user presses the pressing member 200 and / or lifts it, the user's operation on the pressing member causes the support member 100 to deform, and the pressure detection module 400 detects the deformation and generates a corresponding electrical signal, which is sent to the control module. The control module adjusts the driving current of the first magnetic body 301 and the second magnetic body 302 based on the electrical signal to adjust the force generated between the first magnetic body 301 and the second magnetic body 302. Different forces acting on the support member 100 can drive the support member 100 to produce corresponding position changes, and can produce different forces on the user's hand, so as to timely provide different pressure feedback effects corresponding to when the pressing member 200 is subjected to different pressures. In this way, under different pressing forces, the pressure feedback device 40 can provide tactile feedback in a timely manner, and the user experience is good.

[0183] In some embodiments, the control module can directly use a current source, such as a driving current, to output a driving signal to the first magnetic body 301 and the second magnetic body 302. Alternatively, the control module can use a voltage source, such as a driving voltage, to output a driving signal to the first magnetic body 301 and the second magnetic body 302. The voltage of the voltage source is determined based on the driving current and the resistance in the coil of the magnetic body, and then the driving voltage is output to the first magnetic body 301 and the second magnetic body 302. In the embodiments of the present application, the process by which the control module drives the first magnetic body 301 and the second magnetic body 302 using the driving voltage can refer to the process by which the first magnetic body 301 and the second magnetic body 302 are driven using the driving current, and will not be described in detail here.

[0184] In some embodiments, when the user presses the pressing member 200, the pressure on the pressing member 200 gradually increases; when the user presses and then lifts the pressing member 200, the pressure on the pressing member 200 gradually decreases. In this way, the control module 801 can determine whether the pressing member 200 is in the pressed state or in the lifted state based on the change in pressure value.

[0185] In different force stages of the pressing member 200, the control module 801 is configured to adjust the magnitude of the driving current of the first magnetic body 301 and / or the second magnetic body 302 based on the change of the pressure value, so as to adjust the magnitude of the force generated between the first magnetic body 301 and the second magnetic body 302, so that the support member 100 produces different degrees of position changes; and / or, the control module 801 is configured to adjust the direction of the driving current of the first magnetic body 301 and / or the second magnetic body 302 based on the change of the pressure value, change the magnetic poles of the opposite ends of the first magnetic body and the second magnetic body, so as to adjust the direction of the force, so that the support member 100 produces position changes in different directions.

[0186] In some embodiments, the control module 801 is configured to increase the driving current of the first magnetic body 301 and / or the second magnetic body 302 in response to an increase in the pressure value, so as to increase the force generated between the first magnetic body 301 and the second magnetic body 302 to increase the position change of the support member 100 along the same direction.

[0187] Exemplarily, the control module 801 responds to an increase in the pressure value, indicating that the current stage is the stage where the pressing member 200 is pressed. The control module 801 increases the driving current input to the first magnetic body 301 and / or the second magnetic body 302. The currents in the first magnetic body 301 and the second magnetic body 302 are in opposite directions, causing the opposite ends of the first magnetic body 301 and the second magnetic body 302 to have opposite magnetic poles. The opposite ends of the first magnetic body 301 and the second magnetic body 302 attract each other, generating an attractive force. Because the second magnetic body 302 is fixed, the first magnetic body 301 and the second magnetic body 302 attract each other, causing the first magnetic body 301 to move toward the second magnetic body 302. In this way, the direction of the attractive force is the same as the direction in which the pressing member 200 is pressed (the first direction), causing the support member 100 to produce a concave deformation along the first direction. Then, as the driving current gradually increases, the attractive force gradually increases, increasing the degree of concave deformation of the support member 100 along the first direction. The concave deformation of the support member 100 can drive the pressing member 200 to move in the first direction. The movement of the pressing member 200 in the first direction can exert a pulling force on the user's finger, causing the user's finger to move in the first direction. In this way, the attraction between the first magnetic body 301 and the second magnetic body 302 simulates the scene of a mechanical button being pressed, thereby providing corresponding pressing feedback when the pressing member 200 is pressed.

[0188] In some embodiments, the control module 801 is configured to reduce the driving current of the first magnetic body 301 and / or the second magnetic body 302 in response to a decrease in the pressure value, so that the force generated between the first magnetic body 301 and the second magnetic body 302 is reduced to reduce the position change of the support member 100 along the same direction, and / or change the direction of the driving current of the first magnetic body 301 and / or the second magnetic body 302 to change the direction of the force and cause the support member 100 to produce a position change in the opposite direction.

[0189] In one implementation, the control module 801 responds to the pressure value decreasing after reaching a maximum value, indicating that the current stage is the stage where the pressing member 200 is lifted after being pressed. The control module 801 reduces the driving current input to the first magnetic body 301 and / or the second magnetic body 302, and the attraction force between the first magnetic body 301 and the second magnetic body 302 gradually decreases to reduce the degree of concave deformation of the support member 100 along the first direction, thereby providing corresponding pressing feedback when the pressing member 200 is pressed and lifted. In this way, the corresponding action when the attraction force between the first magnetic body 301 and the second magnetic body 302 decreases can be used to simulate the scene of a mechanical button being pressed and lifted, thereby providing corresponding pressing feedback when the pressing member 200 is pressed and lifted.

[0190] In another embodiment, in response to the pressure value decreasing after reaching a maximum value, the control module 801 changes the direction of the driving current output to the first magnetic body 301 and the second magnetic body 302 so that the current directions of the driving currents of the first magnetic body 301 and the second magnetic body 302 are the same, and the magnetic poles of the opposite ends of the first magnetic body 301 and the second magnetic body 302 are the same, so that the opposite ends of the first magnetic body 301 and the second magnetic body 302 repel each other and generate a repulsive force. The direction of the repulsive force is opposite to the direction in which the pressing member 200 is pressed, that is, the direction of the repulsive force is the second direction, thereby driving the support member 100 to produce a convex deformation in the second direction. Then, as the driving current gradually decreases, the repulsive force gradually decreases, thereby reducing the degree of convex deformation of the support member 100 in the second direction. The convex deformation of the support member 100 can drive the pressing member 200 to move in the second direction. The movement of the pressing member 200 in the second direction can apply pressure to the user's finger, causing the user's finger to be lifted by the pressing member 200 and move in the second direction. In this way, the repulsive action of the first magnetic body 301 and the second magnetic body 302 is used to simulate the scene of a mechanical button being pressed and then lifted, thereby providing corresponding pressing feedback when the pressing member 200 is pressed and then lifted.

[0191] In some embodiments, the driving mode of the driving current output by the control module 801 may include sinusoidal wave driving and square wave driving.

[0192] The following uses an example in which both the first magnetic body 301 and the second magnetic body 302 are electromagnets to illustrate how the control module 801 outputs corresponding driving currents to the first magnetic body 301 and the second magnetic body 302 as the pressure value changes, thereby driving the first magnetic body 301 and the second magnetic body 302 to generate a force between them and provide corresponding pressing feedback.

[0193] In some embodiments, the control module 801 can use a sinusoidal drive method to output a driving current to the first magnetic body 301 and the second magnetic body 302. As the pressure value increases or decreases, the control module 801 controls the amplitude and / or phase of the sinusoidal waveform to change the magnitude and / or direction of the driving current in real time. This can further change the magnitude and / or direction of the force generated between the first magnetic body 301 and the second magnetic body 302 in real time, thereby providing timely corresponding pressure feedback.

[0194] In one implementation, the control module 801 drives the first magnetic body 301 and the second magnetic body 302 to attract or repel each other based on the driving current using a half-cycle sinusoidal wave driving method, thereby simulating the feedback process of pressing and then lifting the pressing member 200. The control module 801 is configured to execute the following steps S401 to S404:

[0195] In step S401, in response to a pressure value being greater than a first pressure threshold, the control module 801 outputs a driving current to the first magnetic body 301 and / or the second magnetic body 302, so that an attractive force is generated between the first magnetic body 301 and the second magnetic body 302. The attractive force can cause the first magnetic body 301 to move toward the second magnetic body 302.

[0196] In step S402 , in response to the pressure value being greater than the first pressure threshold and increasing, the control module 801 increases the driving current of the first magnetic body 301 and / or the second magnetic body 302 to increase the attraction force between the first magnetic body 301 and the second magnetic body 302 .

[0197] In step S403 , in response to the pressure value reaching a maximum value and starting to decrease, the control module 801 reduces the driving current of the first magnetic body 301 and the second magnetic body 302 , thereby reducing the attraction force generated between the first magnetic body 301 and the second magnetic body 302 .

[0198] In step S404 , in response to the pressure value decreasing to the first pressure threshold, the control module 801 stops outputting the driving current to the first magnetic body 301 and the second magnetic body 302 , so that the force between the first magnetic body 301 and the second magnetic body 302 is zero.

[0199] It should be noted that the decrease / increase in the embodiment of the present application includes gradual decrease / increase and jump decrease / increase.

[0200] FIG21 is a first waveform diagram of a sinusoidal wave drive according to an embodiment of the present application, wherein the horizontal axis in FIG21 represents time T and the vertical axis represents the magnitude of the driving current I.

[0201] As shown in FIG. 21 , in some embodiments, the decrease / increase is taken as a gradual decrease / increase.

[0202] In the T1 phase of half-cycle sine wave drive:

[0203] In step S401, the first pressure threshold F1 can be zero or another value. For example, when the first pressure threshold F1 is zero, the user begins pressing the pressing member 200, and the pressure value applied to the pressing member 200 is greater than zero. In response to the pressure value being greater than zero, the control module 801 generates a corresponding drive current based on the current pressure value. The control module 801 outputs the drive current to the first magnetic body 301 and the second magnetic body 302, and directs the drive currents in the first magnetic body 301 and the second magnetic body 302 in opposite directions, thereby causing both the first magnetic body 301 and the second magnetic body 302 to generate magnetism. The opposing ends of the first magnetic body 301 and the second magnetic body 302 have opposite magnetic poles, causing the opposing ends of the first magnetic body 301 and the second magnetic body 302 to attract each other and generate a mutual attractive force. The magnitude of the attractive force is positively correlated with the magnitude of the magnetism, which in turn is positively correlated with the magnitude of the drive current. The direction of the attractive force is the same as the direction in which the pressing member 200 is pressed, and the first magnetic body 301 can be moved toward the second magnetic body 302 based on the action of this attractive force. The first magnetic body 301 moves along the direction in which the pressing member 200 is pressed, and can drive the support member 100 to generate a concave deformation along the direction in which the pressing member 200 is pressed, thereby generating a force on the user's hand.

[0204] In step S402, the user continues to press the pressing member 200, and the pressure on the pressing member 200 gradually increases. In response to the pressure value being greater than zero and gradually increasing, the control module 801 generates a gradually increasing driving current based on the gradually increasing pressure value. As the driving current gradually increases, both the first magnetic body 301 and the second magnetic body 302 generate gradually increasing magnetism in the reverse electromagnetic field, and then the mutual attraction force generated between the first magnetic body 301 and the second magnetic body 302 gradually increases. According to the effect of the gradually increasing attraction force, the degree of movement of the first magnetic body 301 toward the second magnetic body 302 gradually increases. The degree of movement of the first magnetic body 301 along the direction in which the pressing member 200 is pressed increases, which can drive the support member 100 to produce a gradually increasing concave deformation along the direction in which the pressing member 200 is pressed.

[0205] At the end of time T1, the pressure value of the pressing member 200 reaches the maximum value F max , the driving current output by the control module 801 reaches a maximum, the magnetism generated by the first magnetic body 301 and the second magnetic body 302 both reach a maximum, the mutual attraction force generated between the first magnetic body 301 and the second magnetic body 302 reaches a maximum, and the degree of concave deformation of the support member 100 along the direction in which the pressing member 200 is pressed is the maximum.

[0206] In the T2 phase of half-cycle sine wave drive:

[0207] In step S403, the user presses the pressing member 200 with the maximum pressure and then starts to lift it up, and the pressure on the pressing member 200 starts to decrease from the maximum value. max The pressure value of the first magnetic body 301 and the second magnetic body 302 gradually decrease. The pressure value of the first magnetic body 301 and the second magnetic body 302 gradually decrease. The control module 801 generates a gradually decreasing driving current based on the gradually decreasing pressure value. As the driving current decreases from the highest point, the magnetism of the first magnetic body 301 and the second magnetic body 302 gradually decreases, so that the mutual attraction force generated between the first magnetic body 301 and the second magnetic body 302 gradually decreases. According to the effect of the gradually decreasing attraction force, the degree of movement of the first magnetic body 301 toward the second magnetic body 302 is gradually reduced. The degree of movement of the first magnetic body 301 along the direction in which the pressing member 200 is pressed is reduced, which can drive the support member 100 to gradually reduce the degree of concave deformation generated along the direction in which the pressing member 200 is pressed.

[0208] In step S404, after the user separates from the pressing member 200, the pressure on the pressing member 200 is reduced to zero. In response to the pressure value being equal to zero, the control module 801 generates a driving current of zero. At the end of the half-cycle sine wave, the control module 801 stops outputting the driving current to the first magnetic body 301 and the second magnetic body 302, and the first magnetic body 301 and the second magnetic body 302 do not generate magnetism, so that the first magnetic body 301 and the second magnetic body 302 stop generating an attractive force, so that the mutual force generated between the first magnetic body 301 and the second magnetic body 302 is zero. There is no attractive force or repulsive force between the first magnetic body 301 and the second magnetic body 302, and the support member 100 returns to its initial position and no longer produces a concave deformation. The initial position refers to the state when the support member 100 is not subjected to pressure.

[0209] In the embodiment of the present application, the control module 801 can change the force between the first magnetic body 301 and the second magnetic body 302 in real time based on the change in pressure value, and use the different forces to cause the support member 100 to produce different degrees of concave deformation. The concave deformation of the support member 100 causes the pressing member 200 to change its position. The different position changes of the pressing member 200 are fed back to the user's finger, causing the force felt by the user's finger to change accordingly, thereby providing different pressing feedback effects to the user in real time.

[0210] In some embodiments, the control module 801 may output the corresponding driving current when the change in the pressure value meets certain conditions. That is, the driving current is not output in a real-time gradual change manner, but is output in a jump manner.

[0211] For example, when the decrease / increase is a jump decrease / increase, in the T1 stage of the half-cycle sine wave drive: the control module 801 responds to the pressure value reaching the maximum value F max When the maximum pressure value F max Generate a corresponding driving current. The control module 801 outputs the driving current to the first magnetic body 301 and the second magnetic body 302, so that the opposite ends of the first magnetic body 301 and the second magnetic body 302 attract each other and generate a mutual attraction force to drive the support member 100 to produce a concave deformation along the direction in which the pressing member 200 is pressed. In the T2 stage of the half-cycle sinusoidal wave drive: the control module 801 responds to the pressure value decreasing to zero, and the control module 801 stops outputting the driving current to the first magnetic body 301 and the second magnetic body 302, so that the force generated between the first magnetic body 301 and the second magnetic body 302 is zero. The support member 100 returns to its initial position and no longer produces a concave deformation. It should be noted that the specific content of the control module 801 adjusting the force of different sizes and / or directions between the first magnetic body 301 and the second magnetic body 302 according to the change in the pressure value can be referred to the corresponding content provided in steps S401-step S404 in the aforementioned embodiment, which will not be repeated here.

[0212] In this way, the control module 801 can output the driving current in a jump manner, and the magnitude of the driving current does not change in real time with the real-time change of the pressure value, and the magnitude of the driving current only changes when the pressure value reaches a certain condition. When the pressure value reaches a maximum value, the control module 801 controls the first magnetic body 301 and the second magnetic body 302 to perform corresponding actions to provide a press feedback effect. When the pressure value decreases to a certain threshold, the control module 801 controls the first magnetic body 301 and the second magnetic body 302 to perform corresponding actions to provide another press feedback effect.

[0213] In another implementation, the control module 801 drives the first magnetic body 301 and the second magnetic body 302 to attract or repel each other based on the driving current using a positive periodic sinusoidal wave driving method, thereby simulating the feedback process of pressing and then lifting the pressing member 200. The control module 801 is configured to execute the following steps S501 to S506:

[0214] In step S501 , in response to the pressure value being greater than the second pressure threshold, the control module 801 outputs a driving current to the first magnetic body 301 and the second magnetic body 302 , so that an attractive force is generated between the first magnetic body 301 and the second magnetic body 302 , causing the first magnetic body 301 to move toward the second magnetic body 302 .

[0215] In step S502 , in response to the pressure value being greater than the second pressure threshold and increasing, the control module 801 increases the driving current of the first magnetic body 301 and the second magnetic body 302 to increase the attraction force.

[0216] In step S503 , in response to the pressure value reaching a maximum value and starting to decrease, the control module 801 reduces the driving current of one of the first magnetic body 301 and the second magnetic body 302 to a first current threshold, and maintains the driving current of the other unchanged, thereby reducing the attractive force.

[0217] In step S504, in response to the pressure value decreasing to the third pressure threshold, the control module 801 reversely increases the driving current of one of the first magnetic body 301 and the second magnetic body 302, and maintains the driving current of the other magnetic body unchanged, so that a repulsive force is generated between the first magnetic body 301 and the second magnetic body 302, and the repulsive force is increased, so that the first magnetic body 301 moves in a direction away from the second magnetic body 302.

[0218] In step S505 , in response to the pressure value continuing to decrease to a fourth pressure threshold, the control module 801 reduces the driving current of the first magnetic body 301 and the second magnetic body 302 to reduce the repulsive force.

[0219] In step S506 , in response to the pressure value decreasing to the second pressure threshold, the control module 801 stops outputting the driving current to the first magnetic body 301 and the second magnetic body 302 , so that the force between the first magnetic body 301 and the second magnetic body 302 is zero.

[0220] It should be noted that the decrease / increase in the embodiment of the present application includes gradual decrease / increase and jump decrease / increase.

[0221] FIG22 is a second waveform diagram of the sinusoidal wave drive provided by an embodiment of the present application, wherein the horizontal axis in FIG22 represents time T, and the vertical axis represents the magnitude of the drive current I.

[0222] As shown in FIG. 22 , in some embodiments, the decrease / increase is taken as a gradual decrease / increase.

[0223] In the T1 phase of full cycle sine wave drive:

[0224] In step S501, the second pressure threshold F2 can be zero or another value. Taking the second pressure threshold F2 as zero as an example, the user begins to press the pressing member 200, and the pressure on the pressing member 200 is greater than zero. In response to the pressure value being greater than zero, the control module 801 generates a corresponding driving current based on the current pressure value. The control module 801 outputs the driving current to the first magnetic body 301 and the second magnetic body 302, causing the first magnetic body 301 and the second magnetic body 302 to both generate magnetism, and the opposite ends of the first magnetic body 301 and the second magnetic body 302 have opposite magnetic poles. The opposite ends of the first magnetic body 301 and the second magnetic body 302 attract each other and generate a mutual attractive force. The direction of the attractive force is the same as the direction in which the pressing member 200 is pressed, and the first magnetic body 301 can then be moved toward the second magnetic body 302 according to the action of the attractive force. The first magnetic body 301 moves in the direction in which the pressing member 200 is pressed, which can drive the support member 100 to produce a concave deformation in the direction in which the pressing member 200 is pressed.

[0225] In step S502, the user continues to press the pressing member 200, and the pressure on the pressing member 200 gradually increases. In response to the pressure value being greater than zero and gradually increasing, the control module 801 generates a gradually increasing driving current based on the gradually increasing pressure value. As the driving current gradually increases, both the first magnetic body 301 and the second magnetic body 302 generate gradually increasing magnetism under the reverse electromagnetic field, and then the mutual attraction force generated between the first magnetic body 301 and the second magnetic body 302 gradually increases. According to the effect of the gradually increasing attraction force, the degree of movement of the first magnetic body 301 toward the second magnetic body 302 gradually increases. The degree of movement of the first magnetic body 301 along the direction in which the pressing member 200 is pressed increases, which can drive the support member 100 to produce a gradually increasing concave deformation along the direction in which the pressing member 200 is pressed.

[0226] At the end of time T1, the pressure value F that the pressing member 200 bears max The driving current output by the control module 801 reaches a maximum, the magnetism generated by the first magnetic body 301 and the second magnetic body 302 both reach a maximum, the mutual attraction force generated between the first magnetic body 301 and the second magnetic body 302 reaches a maximum, and the degree of concave deformation of the support member 100 along the direction in which the pressing member 200 is pressed is the maximum.

[0227] In the T2 phase of full cycle sine wave drive:

[0228] In step S503, the first current threshold can be zero or other values. Taking the first current threshold as zero as an example, the user presses the pressing member 200 with the maximum pressure and then starts to lift it up, and the pressure on the pressing member 200 begins to decrease from the maximum value. In response to the pressure value reaching the maximum value F max The pressure begins to decrease, and the control module 801 generates a gradually decreasing driving current based on the gradually decreasing pressure value. The control module 801 reduces the driving current output to the first magnetic body 301, while maintaining the peak current output to the second magnetic body 302 during the T1 phase. If the magnetism generated by the first magnetic body 301 decreases to zero as the driving current decreases to zero, and the second magnetic body 302 maintains its magnetism, then at the end of time T2, the attractive force generated between the first magnetic body 301 and the second magnetic body 302 is the attractive force of the second magnetic body 302 on the first magnetic body 301, and this attractive force is less than the attractive force generated by the mutual attraction between the first magnetic body 301 and the second magnetic body 302 when both have magnetism during the T1 phase. During the T2 phase, the attractive force generated between the first magnetic body 301 and the second magnetic body 302 gradually decreases. Based on the effect of this gradually decreasing attractive force, the extent of the first magnetic body 301's movement toward the second magnetic body 302 gradually decreases. The movement degree of the first magnetic body 301 along the direction in which the pressing member 200 is pressed is reduced, which can reduce the concave deformation of the supporting member 100 along the direction in which the pressing member 200 is pressed.

[0229] In the T3 phase of full cycle sine wave drive:

[0230] In step S504, the third pressure threshold F3 is non-zero and greater than the second pressure threshold F2. As the user presses the pressing member 200 and begins to lift it, and then continues to lift it, the pressure on the pressing member 200 continues to decrease. In response to the pressure value decreasing to the third pressure threshold F3, the control module 801 reversely increases the driving current of the first magnetic body 301 and maintains the peak current output of the second magnetic body 302 during the T1 phase. The driving currents in the first and second magnetic bodies 301, 302 are directed in the same direction, causing both the first and second magnetic bodies 301, 302 to generate magnetism. The opposing ends of the first and second magnetic bodies 301, 302 have the same magnetic poles, repelling each other and generating a repulsive force. The direction of the repulsive force is opposite to the direction in which the pressing member 200 is pressed. Due to the repulsive force, the first magnetic body 301 moves away from the second magnetic body 302, causing the support member 100 to convexly deform in the second direction. In response to the pressure value continuing to decrease after reaching the third pressure threshold F3, the control module 801 gradually increases the driving current of the first magnetic body 301 in the reverse direction while maintaining the peak current output to the second magnetic body 302 during stage T1. This increases the magnetism generated by the first magnetic body 301 while maintaining the magnetism generated by the second magnetic body 302. As a result, the repulsive force generated between the first magnetic body 301 and the second magnetic body 302 gradually increases. The direction of the repulsive force is opposite to the direction in which the pressing member 200 is pressed. Due to the increasing repulsive force, the degree of movement of the first magnetic body 301 away from the second magnetic body 302 gradually increases, causing the support member 100 to produce a gradually increasing convex deformation in the second direction. Thus, at the end of stage T3, the repulsive force generated between the first magnetic body 301 and the second magnetic body 302 reaches its maximum, and the convex deformation of the support member 100 in the second direction, which is opposite to the direction in which the pressing member 200 is pressed, reaches its maximum.

[0231] In the T4 phase of full cycle sine wave drive:

[0232] In step S505, the fourth pressure threshold F4 is not zero, and the third pressure threshold F3 is greater than the fourth pressure threshold F4. After the user presses the pressing member 200 and begins to lift it, and then continues to lift it, the pressure on the pressing member 200 continues to decrease. In response to the pressure value continuing to decrease to the fourth pressure threshold F4, the control module 801 gradually reduces the driving current of the first magnetic body 301 and the second magnetic body 302, so that the magnetism generated by the first magnetic body 301 and the second magnetic body 302 in the same magnetic field gradually decreases, and the repulsive force generated between the first magnetic body 301 and the second magnetic body 302 gradually decreases. Based on the effect of the gradually decreasing repulsive force, the degree of movement of the first magnetic body 301 away from the second magnetic body 302 is gradually reduced, which can reduce the degree of protrusion deformation of the support member 100 along the second direction.

[0233] Step S506, after the user separates from the pressing member 200, the pressure on the pressing member 200 is reduced to zero. In response to the pressure value being reduced to zero, the control module 801 generates a driving current of zero. The control module 801 stops outputting the driving current to the first magnetic body 301 and the second magnetic body 302, and the first magnetic body 301 and the second magnetic body 302 do not generate magnetism, so that the first magnetic body 301 and the second magnetic body 302 stop generating a repulsive force, so that the mutual force generated between the first magnetic body 301 and the second magnetic body 302 is zero. In this way, at the end of time T4, there is no repulsive force or attraction between the first magnetic body 301 and the second magnetic body 302, and the support member 100 returns to its initial position and no longer changes in position.

[0234] In the embodiment of the present application, the control module 801 divides the pressure value change process generated when the pressing member 200 is pressed and then lifted into multiple stages. This can more accurately adjust the magnitude and direction of the force between the first magnetic body 301 and the second magnetic body 302 through the change in pressure value, thereby driving the support member 100 to produce different degrees of concave or convex deformation. The concave or convex deformation produced by the support member 100 drives the position change of the pressing member 200. The different position changes of the pressing member 200 are fed back to the user's finger, causing the force felt by the user's finger to change accordingly, thereby providing the user with more timely and accurate different pressing feedback corresponding to the process of lifting the pressing member 200 after pressing it once.

[0235] In some embodiments, the control module 801 may output the corresponding driving current when the change in the pressure value meets certain conditions. That is, the driving current is not output in a real-time gradual change manner, but is output in a jump manner.

[0236] For example, when the decrease / increase is a jump decrease / increase, in the T1 stage of the half-cycle sine wave drive: the control module 801 responds to the pressure value reaching the maximum value F max When the maximum pressure value F maxGenerate a corresponding driving current. The control module 801 outputs a driving current to the first magnetic body 301 and the second magnetic body 302, causing the opposite ends of the first magnetic body 301 and the second magnetic body 302 to attract each other and generate a mutual attractive force, thereby driving the support member 100 to produce a concave deformation along the direction in which the pressing member 200 is pressed. In the T2 stage of the half-cycle sinusoidal wave drive: When the control module 801 responds to the pressure value decreasing to the third pressure threshold F3, the corresponding driving current is generated based on the pressure value corresponding to the third pressure threshold F3. The control module 801 outputs a driving current to the first magnetic body 301 and the second magnetic body 302, causing the opposite ends of the first magnetic body 301 and the second magnetic body 302 to repel each other and generate a repulsive force, thereby driving the support member 100 to produce a convex deformation along the second direction. In the T3 stage of the half-cycle sinusoidal wave drive: When the control module 801 responds to the pressure value decreasing to the fourth pressure threshold F4, the corresponding driving current is generated based on the pressure value corresponding to the fourth pressure threshold F4. The control module 801 outputs a driving current to the first magnetic body 301 and the second magnetic body 302 to reduce the repulsive force generated between the first magnetic body 301 and the second magnetic body 302, thereby reducing the degree of convex deformation of the support member 100 along the second direction. In the T4 stage of the half-cycle sinusoidal wave drive: In response to the pressure value decreasing to zero, the control module 801 stops outputting the driving current to the first magnetic body 301 and the second magnetic body 302, so that the force generated between the first magnetic body 301 and the second magnetic body 302 is zero. The support member 100 returns to its initial position and no longer produces a concave deformation. It should be noted that the specific content of the control module 801 adjusting the force of different magnitudes and / or directions between the first magnetic body 301 and the second magnetic body 302 according to the change in the pressure value can be referred to the corresponding content provided in steps S501 to S506 in the aforementioned embodiment, and will not be repeated here.

[0237] In this way, the control module 801 can output the driving current in a jump manner, and the magnitude of the driving current does not change in real time with the real-time change of the pressure value. The magnitude of the driving current only changes when the pressure value reaches a certain condition. When the pressure value reaches the maximum value, the control module 801 controls the first magnetic body 301 and the second magnetic body 302 to perform corresponding actions to provide a single press feedback effect. When the pressure value decreases to different pressure thresholds, the control module 801 controls the first magnetic body 301 and the second magnetic body 302 to perform corresponding actions to provide a corresponding press feedback effect.

[0238] In some embodiments, the control module 801 can use a square wave drive method to output a driving current to the first magnetic body 301 and the second magnetic body 302. As the pressure value increases or decreases to a corresponding threshold, the control module 801 controls the high and low amplitudes of the square wave waveform to timely change the magnitude and / or direction of the driving current, thereby timely changing the magnitude and / or direction of the force generated between the first magnetic body 301 and the second magnetic body 302, thereby providing corresponding pressing feedback in a timely manner.

[0239] In some embodiments, the control module 801 drives the first magnetic body 301 and the second magnetic body 302 to attract or repel each other based on the driving current using a square wave driving method to simulate the feedback process of pressing and then lifting the pressing member 200. The control module 801 is configured to execute the following steps S601 to S604:

[0240] In step S601, in response to the pressure value increasing to the fifth pressure threshold, the control module 801 begins to output a first drive current to the first magnetic body 301 and a second drive current to the second magnetic body 302, so that an attractive force is generated between the first magnetic body 301 and the second magnetic body 302, so that the first magnetic body 301 moves toward the second magnetic body 302; the first drive current and the second drive current have fixed current values.

[0241] In step S602 , in response to the pressure value being greater than the fifth pressure threshold and increasing, the control module 801 keeps outputting the first driving current to the first magnetic body 301 and keeps outputting the second driving current to the second magnetic body 302 to keep the attracting force unchanged.

[0242] In step S603, in response to the pressure value reaching a maximum value, the control module 801 begins to decrease. The control module 801 maintains the driving current output to one of the first magnetic body 301 and the second magnetic body 302 unchanged, and changes the direction of the driving current output to the other magnetic body, so that a repulsive force is generated between the first magnetic body 301 and the second magnetic body 302, so that the first magnetic body 301 moves in a direction away from the second magnetic body 302.

[0243] In step S604, in response to the pressure value decreasing to the sixth pressure threshold, the control module 801 stops outputting the driving current to the first magnetic body 301 and the second magnetic body 302, so that the force between the first magnetic body 301 and the second magnetic body 302 is zero; the sixth pressure threshold is less than or equal to the fifth pressure threshold.

[0244] FIG23 is a waveform diagram of a square wave drive according to an embodiment of the present application, wherein the horizontal axis in FIG23 represents time T and the vertical axis represents the magnitude of the driving current I.

[0245] As shown in FIG. 23 , in some embodiments, during the T1 phase of square wave driving:

[0246] In step S601, the fifth pressure threshold F5 is not zero. The user presses the pressing member 200, and the pressure on the pressing member 200 gradually increases. In response to the pressure value increasing to the fifth pressure threshold F5, the control module 801 generates corresponding first drive currents and second drive currents based on the pressure value corresponding to the fifth pressure threshold F5. The first drive current and the second drive current have fixed current values, and the magnitude of the first drive current and the magnitude of the second drive current can be the same. The control module 801 outputs the first drive current to the first magnetic body 301 and the second drive current to the second magnetic body 302, and the directions of the drive currents in the first magnetic body 301 and the second magnetic body 302 are opposite. The first magnetic body 301 and the second magnetic body 302 both generate magnetism, and the opposite ends of the first magnetic body 301 and the second magnetic body 302 have opposite magnetic poles. The opposite ends of the first magnetic body 301 and the second magnetic body 302 attract each other and generate a mutual attractive force. The direction of the attraction force is the same as the direction in which the pressing member 200 is pressed, and the attraction force can cause the first magnetic body 301 to move toward the second magnetic body 302. The movement of the first magnetic body 301 in the direction in which the pressing member 200 is pressed can cause the support member 100 to deform concavely in the first direction.

[0247] In step S602, the user continues to press the pressing member 200, and the pressure on the pressing member 200 gradually increases. In response to the pressure value being greater than the fifth pressure threshold F5 and increasing, the control module 801 maintains the output of the first drive current to the first magnetic body 301 and the output of the second drive current to the second magnetic body 302. At the end of stage T1, the mutual attraction force generated between the first magnetic body 301 and the second magnetic body 302 remains unchanged, thereby maintaining the concave deformation of the support member 100 along the first direction.

[0248] In this way, in the T1 stage, the first magnetic body 301 and the second magnetic body 302 reach maximum magnetism in an instant under the square wave drive, and the opposite ends of the first magnetic body 301 and the second magnetic body 302 attract each other and generate the maximum attractive force, causing the support member 100 to produce the maximum position change along the first direction and maintain it until the end of the T1 time period.

[0249] In the T2 phase of square wave driving:

[0250] In step S603, the user presses the pressing member 200 and then starts to lift it up. The pressure on the pressing member 200 starts to decrease from the maximum value F max The control module 801 starts F in response to the pressure value reaching the maximum value. maxThe control module 801 maintains the first drive current output to the first magnetic body 301 and outputs the second drive current in the opposite direction to the second magnetic body 302. The drive currents in the first magnetic body 301 and the second magnetic body 302 are in the same direction, so that the opposite ends of the first magnetic body 301 and the second magnetic body 302 have the same magnetic poles. The opposite ends of the first magnetic body 301 and the second magnetic body 302 repel each other and generate a repulsive force. The direction of the repulsive force is opposite to the direction in which the pressing member 200 is pressed. Due to the action of the repulsive force, the first magnetic body 301 moves away from the second magnetic body 302, thereby causing the support member 100 to change position along the second direction. In this way, in the T2 stage, the driving current of the first magnetic body 301 remains unchanged, and the magnetism generated by the first magnetic body 301 also remains unchanged; the second magnetic body 302 reversely drives the square wave current to the maximum at the T2 moment, and the first magnetic body 301 and the second magnetic body 302 will maintain a maximum repulsive force at the T2 moment, pushing the first magnetic body 301 and the second magnetic body 302 to quickly bounce away from each other, thereby driving the support member 100 to quickly produce a reverse convex deformation along the second direction.

[0251] In step S604, the sixth pressure threshold F6 can be zero, or a value less than or equal to the fifth pressure threshold F5. The user presses the pressing member 200 and starts to lift it and then continues to lift it, and the pressure on the pressing member 200 continues to decrease. In response to the pressure value decreasing to the sixth pressure threshold F6, the control module 801 stops outputting the driving current to the first magnetic body 301 and the second magnetic body 302, and the first magnetic body 301 and the second magnetic body 302 do not generate magnetism, so that the mutual force generated between the first magnetic body 301 and the second magnetic body 302 is zero. In this way, at the end of the T2 stage, there is no repulsive force or attractive force between the first magnetic body 301 and the second magnetic body 302, and the support member 100 returns to its initial position and no longer changes in position.

[0252] In the embodiment of the present application, the control module 801 can more accurately adjust the magnitude and direction of the force between the first magnetic body 301 and the second magnetic body 302 based on the change in the pressure value generated by pressing the pressing member 200, thereby causing the support member 100 to produce different degrees of concave or convex deformation. The concave or convex deformation of the support member 100 causes the pressing member 200 to change its position. The different position changes of the pressing member 200 are fed back to the user's finger, causing the force felt by the user's finger to change accordingly, thereby providing the user with corresponding different pressing feedback effects during a single press of the pressing member 200 in a more timely and accurate manner.

[0253] In some embodiments, when the pressing member 200 is not pressed and the supporting member 100 is not deformed, there may be no gap between the first magnetic body 301 and the second magnetic body 302. In this way, the first magnetic body 301 and the second magnetic body 302 only repel each other and do not attract each other.

[0254] In this scenario, the pressure feedback device can provide a pressure feedback effect only when the user presses and then lifts the pressing member 200, but not provide a pressure feedback effect when the pressing member 200 is pressed. In other words, when the user presses the pressing member 200, the control module 801 does not output a driving current to the first magnetic body 301 and the second magnetic body 302, and the first magnetic body 301 and the second magnetic body 302 do not perform an attraction operation; when the user performs a lift operation on the pressing member 200, the control module 801 outputs a driving current to the first magnetic body 301 and the second magnetic body 302, and the first magnetic body 301 and the second magnetic body 302 perform a repulsion operation.

[0255] It should be noted that when the user performs a lifting operation on the pressing member 200, the control module 801 provides a pressing feedback effect by controlling the first magnetic body 301 and the second magnetic body 302 to perform a repulsive action. The corresponding process performed by the control module 801 when the user performs a lifting operation on the pressing member 200 provided in any of the aforementioned embodiments can be referred to and will not be repeated here.

[0256] An embodiment of the present application provides a press feedback method, which is applied to the press feedback device 40 provided in any of the aforementioned embodiments. When the pressing member 200 is subjected to different pressing forces, different press feedbacks can be provided, thereby improving user experience.

[0257] FIG24 is a flow chart of the pressure feedback method provided in an embodiment of the present application.

[0258] As shown in FIG. 24 , in some embodiments, the pressure feedback method includes the following steps S101 to S102:

[0259] In step S101 , the pressure detection module generates an electrical signal corresponding to the deformation of the support member in response to detecting the deformation of the support member caused by the user pressing the pressing member, and sends the electrical signal to the control module.

[0260] In step S102 , the control module adjusts the driving current of the first magnetic body and / or the second magnetic body based on the electrical signal to adjust the force generated between the first magnetic body and the second magnetic body.

[0261] It should be noted that the contents of step S101 to step S102 may refer to the contents of the pressing feedback device 40 in the aforementioned embodiment, and are not described in detail here.

[0262] The method provided in the embodiment of the present application is based on the press feedback device 40, which can simulate mechanical buttons and realize press feedback. After the user presses the pressing member 200 and / or lifts it, the user's operation on the pressing member causes the support member 100 to deform, and the pressure detection module 400 detects the deformation and generates a corresponding electrical signal, which is sent to the control module. The control module adjusts the driving current of the first magnetic body 301 and the second magnetic body 302 based on the electrical signal to adjust the force generated between the first magnetic body 301 and the second magnetic body 302. Different forces acting on the support member 100 can drive the support member 100 to produce corresponding position changes, and can produce different forces on the user's hand, so as to provide different press feedback corresponding to different pressures on the pressing member 200 in a timely manner. In this way, under different pressing forces, the press feedback method can provide tactile feedback in a timely manner, and the user experience is good.

[0263] In some embodiments, in step S102, adjusting the driving current of the first magnetic body and / or the second magnetic body based on the electrical signal may include the following steps S201 to S203:

[0264] In step S201 , the control module determines the pressure value borne by the pressing member based on the electrical signal.

[0265] Step S202: The control module adjusts the magnitude of the driving current of the first magnetic body and / or the second magnetic body based on the change in the pressure value to adjust the magnitude of the force so as to cause the position of the support member to change to varying degrees; and / or

[0266] In step S203 , the control module adjusts the direction of the driving current of the first magnetic body and / or the second magnetic body based on the change in the pressure value to adjust the direction of the force so as to cause the position of the support member to change in different directions.

[0267] It should be noted that the control module 801 provided in the embodiment of the present application adjusts the driving current of the first magnetic body 301 and / or the second magnetic body 302 based on the electrical signal. For details, please refer to the relevant contents of the aforementioned device embodiment and will not be repeated here.

[0268] In some embodiments, in step S102 , adjusting the driving current of the first magnetic body 301 and / or the second magnetic body 302 based on the electrical signal includes the following steps S301 - S302 :

[0269] In step S301 , the control module increases the driving current of the first magnetic body and / or the second magnetic body in response to the increase in the pressure value, thereby increasing the acting force and increasing the position change of the support member along the same direction.

[0270] In step S302, the control module reduces the driving current of the first magnetic body and / or the second magnetic body in response to the decrease in the pressure value, thereby reducing the force to reduce the position change of the support member along the same direction, and / or changes the direction of the driving current of the first magnetic body and / or the second magnetic body to change the direction of the force to cause the support member to produce a position change in the opposite direction.

[0271] It should be noted that the control module 801 provided in the embodiment of the present application adjusts the driving current of the first magnetic body 301 and / or the second magnetic body 302 based on the electrical signal. For details, please refer to the relevant contents of the aforementioned device embodiment and will not be repeated here.

[0272] In some embodiments, referring again to FIG. 21 , the control module 801 drives the first magnetic body 301 and the second magnetic body 302 to attract or repel each other based on the driving current using a half-cycle sinusoidal wave driving method, thereby simulating the feedback process of pressing and then lifting the pressing member 200. Based on this, step S102 may include the following steps S401 to S404:

[0273] In step S401, in response to a pressure value being greater than a first pressure threshold, the control module 801 outputs a driving current to the first magnetic body 301 and / or the second magnetic body 302, so that an attractive force is generated between the first magnetic body 301 and the second magnetic body 302. The attractive force can cause the first magnetic body 301 to move toward the second magnetic body 302.

[0274] In step S402 , in response to the pressure value being greater than the first pressure threshold and increasing, the control module 801 increases the driving current of the first magnetic body 301 and / or the second magnetic body 302 to increase the attraction force between the first magnetic body 301 and the second magnetic body 302 .

[0275] In step S403 , in response to the pressure value reaching a maximum value and starting to decrease, the control module 801 reduces the driving current of the first magnetic body 301 and the second magnetic body 302 , thereby reducing the attraction force generated between the first magnetic body 301 and the second magnetic body 302 .

[0276] In step S404 , in response to the pressure value decreasing to the first pressure threshold, the control module 801 stops outputting the driving current to the first magnetic body 301 and the second magnetic body 302 , so that the force between the first magnetic body 301 and the second magnetic body 302 is zero.

[0277] It should be noted that the contents of steps S401 to S404 provided in the embodiment of the present application can refer to the contents of steps S401 to S404 in the aforementioned device embodiment, and are not repeated here.

[0278] In some embodiments, referring again to FIG. 22 , the control module 801 drives the first magnetic body 301 and the second magnetic body 302 to attract or repel each other based on the driving current using a positive periodic sinusoidal wave driving method, thereby simulating the feedback process of pressing and then lifting the pressing member 200. Based on this, step S102 may include the following steps S501 to S506:

[0279] In step S501 , in response to the pressure value being greater than the second pressure threshold, the control module 801 outputs a driving current to the first magnetic body 301 and the second magnetic body 302 , so that an attractive force is generated between the first magnetic body 301 and the second magnetic body 302 , causing the first magnetic body 301 to move toward the second magnetic body 302 .

[0280] In step S502 , in response to the pressure value being greater than the second pressure threshold and increasing, the control module 801 increases the driving current of the first magnetic body 301 and the second magnetic body 302 to increase the attraction force.

[0281] In step S503 , in response to the pressure value reaching a maximum value and starting to decrease, the control module 801 reduces the driving current of one of the first magnetic body 301 and the second magnetic body 302 to a first current threshold, and maintains the driving current of the other unchanged, thereby reducing the attractive force.

[0282] In step S504, in response to the pressure value decreasing to the third pressure threshold, the control module 801 reversely increases the driving current of one of the first magnetic body 301 and the second magnetic body 302, and maintains the driving current of the other magnetic body unchanged, so that a repulsive force is generated between the first magnetic body 301 and the second magnetic body 302, and the repulsive force is increased, so that the first magnetic body 301 moves in a direction away from the second magnetic body 302.

[0283] In step S505 , in response to the pressure value continuing to decrease to a fourth pressure threshold, the control module 801 reduces the driving current of the first magnetic body 301 and the second magnetic body 302 to reduce the repulsive force.

[0284] In step S506 , in response to the pressure value decreasing to the second pressure threshold, the control module 801 stops outputting the driving current to the first magnetic body 301 and the second magnetic body 302 , so that the force between the first magnetic body 301 and the second magnetic body 302 is zero.

[0285] It should be noted that the contents of steps S501 to S506 provided in the embodiment of the present application can refer to the contents of steps S501 to S506 in the aforementioned device embodiment, and are not repeated here.

[0286] In some embodiments, referring again to FIG. 23 , the control module 801 drives the first magnetic body 301 and the second magnetic body 302 to attract or repel each other based on the driving current using a square wave driving method, thereby simulating the feedback process of pressing and then lifting the pressing member 200 . Based on this, step S102 may include the following steps S601 to S604:

[0287] In step S601, in response to the pressure value increasing to the fifth pressure threshold, the control module 801 begins to output a first drive current to the first magnetic body 301 and a second drive current to the second magnetic body 302, so that an attractive force is generated between the first magnetic body 301 and the second magnetic body 302, so that the first magnetic body 301 moves toward the second magnetic body 302; the first drive current and the second drive current have fixed current values.

[0288] In step S602 , in response to the pressure value being greater than the fifth pressure threshold and increasing, the control module 801 keeps outputting the first driving current to the first magnetic body 301 and keeps outputting the second driving current to the second magnetic body 302 to keep the attracting force unchanged.

[0289] In step S603, in response to the pressure value reaching a maximum value, the control module 801 begins to decrease. The control module 801 maintains the driving current output to one of the first magnetic body 301 and the second magnetic body 302 unchanged, and changes the direction of the driving current output to the other magnetic body, so that a repulsive force is generated between the first magnetic body 301 and the second magnetic body 302, so that the first magnetic body 301 moves in a direction away from the second magnetic body 302.

[0290] In step S604, in response to the pressure value decreasing to the sixth pressure threshold, the control module 801 stops outputting the driving current to the first magnetic body 301 and the second magnetic body 302, so that the force between the first magnetic body 301 and the second magnetic body 302 is zero; the sixth pressure threshold is less than or equal to the fifth pressure threshold.

[0291] It should be noted that the contents of steps S601 to S604 provided in the embodiment of the present application can refer to the contents of steps S601 to S604 in the aforementioned device embodiment, and are not repeated here.

[0292] In some embodiments, step S101 may include the following steps S701-S702:

[0293] In step S701 , the first pressure detection module generates a first electrical signal corresponding to the deformation of the support member, and sends the first electrical signal to the control module.

[0294] Step S702: the second pressure detection module generates a second electrical signal corresponding to the deformation of the support member, and sends the second electrical signal to the control module; and

[0295] In step S102 , the control module determines the pressure value borne by the pressing member based on the electrical signal, including: the control module determines the pressure value borne by the pressing member based on the first electrical signal and the second electrical signal.

[0296] The pressure detection module 400 may include a first pressure detection module 401 and a second pressure detection module 402. The first pressure detection module 401 sends the generated electrical signal and the second pressure detection module 402 sends the generated electrical signal to the control module 801 respectively. The control module 801 determines two sets of pressure values ​​based on the two sets of electrical signals, adds the two sets of pressure values ​​together as a total pressure value, and determines the driving current based on the total pressure value. In this way, the electrical signals generated by the pressure detection modules 400 at different positions can accurately represent the pressure applied to the pressing member 200, and the control module 801 can accurately input the driving current to the first magnetic body 301 and the second magnetic body 302, so that the first magnetic body 301 and the second magnetic body 302 can accurately attract or repel each other, and generate different forces of different magnitudes and directions, so as to provide corresponding pressing feedback when the pressing member 200 is pressed or when the pressing member 200 is lifted after being pressed. Among them, the control module 801 drives the first magnetic body 301 and the second magnetic body 302 based on the driving current, so that the first magnetic body 301 and the second magnetic body 302 generate forces of different sizes and / or directions to drive the support member 100 to change its position. The process can refer to the content provided in the device embodiment and will not be repeated here.

[0297] The embodiments provided in the present application above have introduced the various schemes of the press feedback device and press feedback method provided in the present application. It is understandable that, in order to realize the above functions, the press feedback device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.

[0298] Figure 25 is a block diagram of the structure of an electronic device provided in an embodiment of the present application. In one embodiment, the electronic device can implement corresponding functions using the hardware device shown in Figure 25. As shown in Figure 25, the electronic device may include: a control module 801, a memory 802, a processor 803, a communication module 804, a magnetic component 300, and a pressure detection module 400. The above-mentioned components can be connected via one or more communication buses 805.

[0299] In one embodiment, the control module 801 includes a controller 8011 and a drive unit 8012. The controller 8011 is configured to determine the pressure applied to the pressing member 200 based on the electrical signal transmitted by the pressure detection module 400, and to determine a driving current based on the pressure. The controller 8011 transmits the driving current to the drive unit 8012, which then inputs the driving current to the magnetic assembly 300. The magnetic assembly 300 includes a first magnetic body 301 and a second magnetic body 302. The drive unit 8012 generates forces of varying magnitude and / or direction between the first magnetic body 301 and the second magnetic body 302. The pressure detection module 400 includes a first pressure detection module 401 and a second pressure detection module 402. The processor 803 may include one or more processing units, such as an application processor, a modem processor, a graphics processor, an image signal processor, a controller, a video codec, a digital signal processor, a baseband processor, and / or a neural network processor. The various processing units may be independent components or integrated into one or more processors. The memory 802 is coupled to the processor 803 and is configured to store various software programs and / or multiple sets of instructions. The memory 802 may include a volatile memory and / or a non-volatile memory.

[0300] When the software program and / or the multiple groups of instructions in the memory 802 are executed by the processor 803 , the electronic device implements steps S101 to S102 of the method.

[0301] The electronic device provided in the embodiment of the present application can simulate mechanical buttons and realize press feedback. After the user presses the pressing member 200 and / or lifts it, the user's operation on the pressing member causes the support member 100 to deform, and the pressure detection module 400 detects the deformation and generates a corresponding electrical signal, which is sent to the control module. The control module adjusts the driving current of the first magnetic body 301 and the second magnetic body 302 based on the electrical signal to adjust the force generated between the first magnetic body 301 and the second magnetic body 302. Different forces acting on the support member 100 can drive the support member 100 to produce corresponding position changes, and can generate different forces on the user's hand, so as to provide different press feedback corresponding to different pressures on the pressing member 200 in a timely manner. In this way, under different pressing forces, tactile feedback can be provided in a timely manner using the press feedback device 40, and the user experience is good.

[0302] When the software program and / or multiple sets of instructions in the memory 802 are executed by the processor 803, the electronic device implements steps S201 to S203 of the method. In this way, the control module can determine different driving currents according to different pressure values, and can determine whether the pressing member 200 is in the pressed stage or in the lifted stage after being pressed according to the change in pressure value, so as to adjust the magnitude and direction of the driving current of the first magnetic body and / or the second magnetic body, thereby changing the magnitude and direction of the force between the first magnetic body 301 and the second magnetic body 302 to provide different pressing feedback.

[0303] When the software program and / or multiple sets of instructions in the memory 802 are executed by the processor 803, the electronic device implements steps S301 and S302 of the method. In this way, a corresponding pressing feedback can be provided when the pressing member 200 is pressed, and / or a corresponding pressing feedback can be provided when the pressing member 200 is lifted after being pressed.

[0304] When the software program and / or multiple sets of instructions in the memory 802 are executed by the processor 803, the electronic device implements the following method steps S401 to S404. In this way, the magnitude and direction of the force generated between the first magnetic body and the second magnetic body can be changed in real time according to the change in pressure value, thereby providing different pressing feedback effects to the user in real time.

[0305] When the software program and / or multiple sets of instructions in the memory 802 are executed by the processor 803, the electronic device implements steps S501 to S506 of the method. In this way, the pressure value change process generated by pressing the pressing member 200 is divided into multiple stages. The magnitude and direction of the force between the first magnetic body and the second magnetic body can be more accurately adjusted based on the change in pressure value, so as to provide the user with different pressing feedback corresponding to a single pressing of the pressing member 200 in a more timely and accurate manner.

[0306] When the software program and / or multiple sets of instructions in the memory 802 are executed by the processor 803, the electronic device implements steps S601 to S604 of the method. In this way, the magnitude and direction of the force between the first magnetic body and the second magnetic body can be more accurately adjusted based on the change in the pressure value generated by pressing the pressing member 200, so as to provide the user with different pressing feedback corresponding to a single pressing of the pressing member 200 in a more timely and accurate manner.

[0307] When the software program and / or multiple sets of instructions in the memory 802 are executed by the processor 803, the electronic device implements method steps S701-S702; and the control module determines the pressure value borne by the pressing member based on the electrical signal, including: the control module determines the pressure value borne by the pressing member based on the first electrical signal and the second electrical signal. In this way, the electrical signals generated by the pressure detection modules 400 at different positions can accurately represent the pressure borne by the pressing member 200, and the control module can accurately input the driving current to the first magnetic body 301 and the second magnetic body 302, so that the first magnetic body 301 and the second magnetic body 302 can accurately attract or repel each other and generate forces of different sizes and / or directions, providing corresponding pressing feedback when the pressing member 200 is pressed or when the pressing member 200 is lifted after being pressed.

[0308] It should be noted that those skilled in the art will readily conceive of other embodiments of the present application after considering the specification and practicing the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, and the true scope of this application is indicated by the following claims.

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

Claims

1. A pressing feedback device, applied to an electronic device, the electronic device comprising a middle frame (10) surrounding a receiving cavity (11), the middle frame (10) being provided with an assembly hole (12), the assembly hole (12) being communicated with the receiving cavity (11), characterized in that: include: A support member (100), two ends of the support member (100) being used to be fixed to the periphery of the assembly hole (12); A pressing member (200) is arranged on a side of the supporting member (100) facing away from the accommodating cavity (11); A magnetic component (300) is located in the accommodating cavity (11); the magnetic component (300) comprises a first magnetic body (301) and a second magnetic body (302); the first magnetic body (301) is arranged on a side of the support member (100) away from the pressing member (200); the second magnetic body (302) is arranged on a side of the first magnetic body (301) away from the support member (100) and is opposite to the first magnetic body (301); the second magnetic body (302) is fixedly arranged relative to the middle frame (10); A pressure detection module (400) is disposed on the support member (100), and the pressure detection module (400) is configured to generate an electrical signal corresponding to the deformation of the support member (100); A control module is electrically connected to the pressure detection module (400), and is electrically connected to at least one of the first magnetic body (301) and the second magnetic body (302). The control module is configured to adjust the driving current of the first magnetic body (301) and / or the second magnetic body (302) based on the electrical signal to adjust the force generated between the first magnetic body (301) and the second magnetic body (302).

2. The pressure feedback device according to claim 1, characterized in that: When the pressing member (200) is not subjected to pressure, the second magnetic body (302) and the first magnetic body (301) are spaced apart from each other and face each other.

3. The pressure feedback device according to claim 2, characterized in that: The control module is configured to determine the pressure value borne by the pressing member (200) based on the electrical signal; The control module is configured to adjust the magnitude of the driving current of the first magnetic body (301) and / or the second magnetic body (302) based on the change of the pressure value, so as to adjust the magnitude of the force; and / or, The control module is configured to adjust the direction of the driving current of the first magnetic body (301) and / or the second magnetic body (302) based on the change of the pressure value, so as to adjust the direction of the force.

4. The pressure feedback device according to claim 3, characterized in that: The control module is configured to increase the driving current of the first magnetic body (301) and / or the second magnetic body (302) in response to the increase in the pressure value, so as to increase the acting force; The control module is configured to reduce the driving current of the first magnetic body (301) and / or the second magnetic body (302) in response to a decrease in the pressure value, so as to reduce the force, and / or change the direction of the driving current of the first magnetic body (301) and / or the second magnetic body (302) to change the direction of the force.

5. The pressure feedback device according to claim 4, characterized in that: The control module is configured to: In response to the pressure value being greater than a first pressure threshold, a driving current is output to the first magnetic body (301) and / or the second magnetic body (302), so that a magnetic field is generated between the first magnetic body (301) and the second magnetic body (302). generating an attractive force to cause the first magnetic body (301) to move toward the second magnetic body (302); In response to the pressure value being greater than the first pressure threshold and increasing, increasing the driving current of the first magnetic body (301) and / or the second magnetic body (302) to increase the attraction force; In response to the pressure value reaching a maximum value and starting to decrease, reducing the driving current of the first magnetic body (301) and / or the second magnetic body (302), so that the attraction force is reduced; In response to the pressure value decreasing to the first pressure threshold, the drive current is stopped from being output to the first magnetic body (301) and the second magnetic body (302), so that the force between the first magnetic body (301) and the second magnetic body (302) is zero.

6. The pressure feedback device according to claim 4, characterized in that: The control module is configured to: In response to the pressure value being greater than a second pressure threshold, outputting a driving current to the first magnetic body (301) and the second magnetic body (302), so that an attractive force is generated between the first magnetic body (301) and the second magnetic body (302), so that the first magnetic body (301) moves toward the second magnetic body (302); In response to the pressure value being greater than the second pressure threshold and increasing, increasing the driving current of the first magnetic body (301) and the second magnetic body (302), so as to increase the attraction force; In response to the pressure value reaching a maximum value and starting to decrease, reducing the driving current of one of the first magnetic body (301) and the second magnetic body (302) to a first current threshold, and maintaining the driving current of the other unchanged, so that the attraction force decreases; In response to the pressure value decreasing to a third pressure threshold, the driving current of one of the first magnetic body (301) and the second magnetic body (302) is increased in the opposite direction, and the driving current of the other is kept unchanged, so that a repulsive force is generated between the first magnetic body (301) and the second magnetic body (302), and the repulsive force is increased, so that the first magnetic body (301) moves in a direction away from the second magnetic body (302); In response to the pressure value continuing to decrease to a fourth pressure threshold, reducing the driving current of the first magnetic body (301) and the second magnetic body (302), so that the repulsive force is reduced; In response to the pressure value decreasing to the second pressure threshold, the drive current is stopped from being output to the first magnetic body (301) and the second magnetic body (302), so that the force between the first magnetic body (301) and the second magnetic body (302) is zero.

7. The pressure feedback device according to claim 3, characterized in that: The control module is configured to: In response to the pressure value increasing to a fifth pressure threshold, a first drive current is output to the first magnetic body (301), and a second drive current is output to the second magnetic body (302), so that an attractive force is generated between the first magnetic body (301) and the second magnetic body (302), so that the first magnetic body (301) moves toward the second magnetic body (302); the first drive current and the second drive current have fixed current values; In response to the pressure value being greater than the fifth pressure threshold and increasing, the first driving current is continuously output to the first magnetic body (301), and the second driving current is continuously output to the second magnetic body (302), so that the attraction force remains unchanged; In response to the pressure value reaching a maximum value and starting to decrease, the driving current output to one of the first magnetic body (301) and the second magnetic body (302) is kept unchanged, and the direction of the driving current output to the other is changed, so that a repulsive force is generated between the first magnetic body (301) and the second magnetic body (302), so that the first magnetic body (301) moves in a direction away from the second magnetic body (302); In response to the pressure value decreasing to a sixth pressure threshold, the drive current is stopped from being output to the first magnetic body (301) and the second magnetic body (302), so that the force between the first magnetic body (301) and the second magnetic body (302) is zero; the sixth pressure threshold is less than or equal to the fifth pressure threshold.

8. The pressure feedback device according to claim 1, characterized in that: The magnetic component (300) further comprises a shell (303), wherein the shell (303) is fixedly arranged relative to the middle frame (10); The second magnetic body (302) is fixedly disposed on the shell (303).

9. The pressing feedback device according to claim 8, characterized in that: The shell (303) and the support member (100) enclose a cavity (304); The first magnetic body (301) and the second magnetic body (302) are located in the cavity (304).

10. The pressing feedback device according to claim 8 or 9, characterized in that: The pressing member (200) comprises two guide pillars (201); The two guide pillars (201) are respectively arranged at two ends of the pressing member (200) along the length direction of the supporting member (100), and the pressing member (200) is fixed to the supporting member (100) via the two guide pillars (201).

11. The pressure feedback device according to claim 8, characterized in that: The magnetic assembly (300) further includes two fixing members (305); The two fixing members (305) are respectively arranged at two ends of the shell (303) along the length direction of the support member (100), and the shell (303) is fixed to the two ends of the support member (100) through the two fixing members (305).

12. The pressure feedback device according to any one of claims 1 to 11, characterized in that: The support member (100) comprises: a first cantilever beam (103), a second cantilever beam (104) and a bracket (105); The bracket (105) is located between the first cantilever beam (103) and the second cantilever beam (104); one end of the first cantilever beam (103) is fixed to one end of the assembly hole, and the other end of the first cantilever beam (103) is connected to the bracket (105); one end of the second cantilever beam (104) is fixed to the other end of the assembly hole, and the other end of the second cantilever beam (104) is connected to the bracket (105); The first magnetic body (301) is fixed to the bracket (105).

13. The pressure feedback device according to any one of claims 1 to 12, characterized in that: The pressure detection module (400) comprises a first pressure detection module (401) and a second pressure detection module (402), wherein the first pressure detection module (401) and the second pressure detection module (402) are respectively located at two ends of the length direction of the support member (100).

14. A pressing feedback method, characterized in that: Applied to the pressure feedback device according to any one of claims 1 to 13, the method comprises: The pressure detection module generates an electrical signal corresponding to the deformation of the support member in response to detecting the deformation of the support member caused by the user pressing the pressing member, and sends the electrical signal to the control module; The control module adjusts the driving current of the first magnetic body and / or the second magnetic body based on the electrical signal to adjust the acting force generated between the first magnetic body and the second magnetic body.

15. The pressing feedback method according to claim 14, characterized in that: The step of adjusting the driving current of the first magnetic body and / or the second magnetic body based on the electrical signal comprises: The control module determines the pressure value borne by the pressing member based on the electrical signal; The control module adjusts the magnitude of the driving current of the first magnetic body and / or the second magnetic body based on the change of the pressure value to adjust the magnitude of the force; and / or, The control module adjusts the direction of the driving current of the first magnetic body and / or the second magnetic body based on the change of the pressure value, so as to adjust the direction of the force.

16. The pressing feedback method according to claim 14, characterized in that: The step of adjusting the driving current of the first magnetic body and / or the second magnetic body based on the electrical signal comprises: In response to the increase in the pressure value, the control module increases the driving current of the first magnetic body and / or the second magnetic body to increase the acting force; In response to the decrease in the pressure value, the control module reduces the driving current of the first magnetic body and / or the second magnetic body to reduce the force, and / or changes the direction of the driving current of the first magnetic body and / or the second magnetic body to change the direction of the force.

17. The pressure feedback method according to claim 16, characterized in that: The step of adjusting the driving current of the first magnetic body and / or the second magnetic body based on the electrical signal to adjust the force generated between the first magnetic body and the second magnetic body includes: In response to the pressure value being greater than a first pressure threshold, the control module outputs a driving current to the first magnetic body and / or the second magnetic body, so that an attractive force is generated between the first magnetic body and the second magnetic body, so that the first magnetic body moves toward the second magnetic body; In response to the pressure value being greater than the first pressure threshold and increasing, the control module increases the driving current of the first magnetic body and / or the second magnetic body to increase the attraction force; In response to the pressure value reaching a maximum value and starting to decrease, the control module reduces the driving current of the first magnetic body and / or the second magnetic body to reduce the attraction force; In response to the pressure value decreasing to the first pressure threshold, the control module stops outputting the driving current to the first magnetic body and the second magnetic body, so that the acting force between the first magnetic body and the second magnetic body is zero.

18. The pressing feedback method according to claim 16, characterized in that: The step of adjusting the driving current of the first magnetic body and / or the second magnetic body based on the electrical signal to adjust the force generated between the first magnetic body and the second magnetic body includes: In response to the pressure value being greater than a second pressure threshold, the control module outputs a driving current to the first magnetic body and the second magnetic body, so that an attractive force is generated between the first magnetic body and the second magnetic body, so that the first magnetic body moves toward the second magnetic body; The control module increases the first magnetic The driving current of the second magnetic body and the second magnetic body increases the attraction force; In response to the pressure value reaching a maximum value and starting to decrease, the control module reduces the driving current of one of the first magnetic body and the second magnetic body to a first current threshold, and keeps the driving current of the other unchanged, so that the attraction force decreases; In response to the pressure value decreasing to a third pressure threshold, the driving current of one of the first magnetic body and the second magnetic body is increased in reverse, and the driving current of the other is kept unchanged, so that a repulsive force is generated between the first magnetic body and the second magnetic body, and the repulsive force is increased, so that the first magnetic body moves in a direction away from the second magnetic body; In response to the pressure value continuing to decrease to a fourth pressure threshold, reducing the driving current of the first magnetic body and the second magnetic body to reduce the repulsive force; In response to the pressure value decreasing to the second pressure threshold, the control module stops outputting the driving current to the first magnetic body and the second magnetic body, so that the acting force between the first magnetic body and the second magnetic body is zero.

19. The pressing feedback method according to claim 15, characterized in that: The step of adjusting the driving current of the first magnetic body and / or the second magnetic body based on the electrical signal to adjust the force generated between the first magnetic body and the second magnetic body includes: In response to the pressure value increasing to a fifth pressure threshold, the control module outputs a first drive current to the first magnetic body and outputs a second drive current to the second magnetic body, so that an attractive force is generated between the first magnetic body and the second magnetic body, so that the first magnetic body moves toward the second magnetic body; the first drive current and the second drive current have fixed current values; In response to the pressure value being greater than the fifth pressure threshold and increasing, the control module keeps outputting the first driving current to the first magnetic body and keeps outputting the second driving current to the second magnetic body, so that the attraction force remains unchanged; In response to the pressure value reaching a maximum value and starting to decrease, the control module keeps the driving current output to one of the first magnetic body and the second magnetic body unchanged, and changes the direction of the driving current output to the other magnetic body, so that a repulsive force is generated between the first magnetic body and the second magnetic body, so that the first magnetic body moves in a direction away from the second magnetic body; In response to the pressure value decreasing to a sixth pressure threshold, the control module stops outputting driving current to the first magnetic body and the second magnetic body, so that the force between the first magnetic body and the second magnetic body is zero; the sixth pressure threshold is less than or equal to the fifth pressure threshold.

20. The pressing feedback method according to claim 15, characterized in that: The pressure detection module generates an electrical signal corresponding to the deformation of the support member and sends the electrical signal to the control module, including: A first pressure detection module generates a first electrical signal corresponding to the deformation of the support member, and sends the first electrical signal to the control module; A second pressure detection module generates a second electrical signal corresponding to the deformation of the support member, and sends the second electrical signal to the control module; and, The control module determines the pressure value borne by the pressing member based on the electrical signal, including: The control module determines a pressure value borne by the pressing member based on the first electrical signal and the second electrical signal.

21. An electronic device, characterized in that: include: A middle frame (10), wherein the middle frame (10) surrounds and forms a receiving cavity (11), and the middle frame (10) is provided with an assembly hole (12); A display screen (20) and a rear housing are arranged on opposite sides of the middle frame (10); According to any one of claims 1 to 13, two ends of the support member (100) of the press feedback device are fixed to the periphery of the assembly hole (12).

22. An electronic device, characterized in that: include: A memory and a processor; the memory stores program instructions, and when the program instructions are executed by the processor, the electronic device executes the press feedback method described in any one of claims 14-20.