Electronic device

文档序号:1965181 发布日期:2021-12-14 浏览:14次 中文

阅读说明:本技术 电子设备 (Electronic device ) 是由 段俊杰 罗春晖 于 2021-09-30 设计创作,主要内容包括:本申请公开了一种电子设备,包括:壳体、按键组件、应变片和控制器,所述控制器位于所述壳体内,所述壳体上开设有容置槽,所述按键组件和所述应变片均设置于所述容置槽内,且所述按键组件与所述应变片连接,所述应变片与所述控制器电连接,所述按键组件与所述容置槽的内壁之间存在间隙,所述容置槽的内壁上设置有第一磁体,所述按键组件上设置有磁场传感器;其中,所述磁场传感器用于检测所述按键组件的按键帽被按压过程中的倾斜量,所述控制器根据所述倾斜量修正所述应变片上检测到的按压力。这样,提高了按键帽上受到的按压力的检测结果的准确度。(The application discloses electronic equipment includes: the device comprises a shell, a key assembly, a strain gauge and a controller, wherein the controller is positioned in the shell, a containing groove is formed in the shell, the key assembly and the strain gauge are both arranged in the containing groove, the key assembly is connected with the strain gauge, the strain gauge is electrically connected with the controller, a gap exists between the key assembly and the inner wall of the containing groove, a first magnet is arranged on the inner wall of the containing groove, and a magnetic field sensor is arranged on the key assembly; the magnetic field sensor is used for detecting the inclination amount of a key cap of the key assembly in the process of being pressed, and the controller corrects the pressing force detected on the strain gauge according to the inclination amount. Thus, the accuracy of the detection result of the pressing force applied to the key cap is improved.)

1. An electronic device, comprising: the device comprises a shell, a key assembly, a strain gauge and a controller, wherein the controller is positioned in the shell, a containing groove is formed in the shell, the key assembly and the strain gauge are both arranged in the containing groove, the key assembly is connected with the strain gauge, the strain gauge is electrically connected with the controller, a gap exists between the key assembly and the inner wall of the containing groove, a first magnet is arranged on the inner wall of the containing groove, and a magnetic field sensor is arranged on the key assembly;

the magnetic field sensor is used for detecting the inclination amount of a key cap of the key assembly in the process of being pressed, and the controller corrects the pressing force detected on the strain gauge according to the inclination amount.

2. The electronic device of claim 1, wherein a second magnet is disposed on the key assembly, a first magnetic pole of the first magnet and a second magnetic pole of the second magnet are of the same name, and the first magnetic pole and the second magnetic pole are disposed opposite to each other.

3. The electronic device of claim 2, wherein the second magnet is an electromagnet.

4. The electronic device of claim 2, wherein the second magnet is a permanent magnet.

5. The electronic device of claim 1, wherein the key cap is a magnetic key assembly, and a third magnetic pole of the key cap and a fourth magnetic pole of the first magnet are homonymous magnetic poles, the third magnetic pole and the fourth magnetic pole being disposed opposite to each other.

6. The electronic device of claim 1, wherein the inner wall of the receiving cavity includes a first side wall and a second side wall that are opposite to each other, the first magnet is disposed on each of the first side wall and the second side wall, the key assembly includes two magnetic field sensors, one of the two magnetic field sensors is located relatively close to the first magnet on the first side wall, and the other of the two magnetic field sensors is located relatively close to the first magnet on the second side wall.

7. The electronic device of claim 6, wherein the magnetic field sensor is a single axis Hall sensor.

8. The electronic device of claim 1, wherein the magnetic field sensor is a three-axis hall sensor.

9. The electronic device of claim 1, wherein the electronic device further comprises a flexible circuit board and a motherboard, and wherein the key assembly further comprises: cantilever beam and cantilever beam support, the button key cap the cantilever beam support with the foil gage stacks gradually the setting, the foil gage passes through the flexible circuit board with the mainboard electricity is connected.

10. The electronic device according to claim 1, wherein a first limiting protrusion is disposed on an inner wall of the receiving groove, and a second limiting protrusion is disposed on the key assembly, and the first limiting protrusion is used for abutting against the second limiting protrusion.

Technical Field

The application belongs to the technical field of electronics, concretely relates to electronic equipment.

Background

With the development of electronic technology, in order to perform convenient operation, a key assembly is generally arranged on an electronic device, and in the process of implementing the application, the applicant finds that at least the following problems exist in the prior art: when the key assembly is pressed by an external force, friction is generally likely to occur with the casing of the electronic device, and the accuracy of the detection result of the pressing force on the key assembly is low.

Disclosure of Invention

The application aims to provide an electronic device, and the problem that the accuracy of the detection result of the pressing force of the key assembly is low is at least solved.

In order to solve the technical problem, the present application is implemented as follows:

an embodiment of the present application provides an electronic device, including: the device comprises a shell, a key assembly, a strain gauge and a controller, wherein the controller is positioned in the shell, a containing groove is formed in the shell, the key assembly and the strain gauge are both arranged in the containing groove, the key assembly is connected with the strain gauge, the strain gauge is electrically connected with the controller, a gap exists between the key assembly and the inner wall of the containing groove, a first magnet is arranged on the inner wall of the containing groove, and a magnetic field sensor is arranged on the key assembly;

the magnetic field sensor is used for detecting the inclination amount of a key cap of the key assembly in the process of being pressed, and the controller corrects the pressing force detected on the strain gauge according to the inclination amount.

In the embodiment of the application, the magnetic field sensor detects the inclination amount of the key cap of the key assembly in the pressing process, and the controller corrects the pressing force detected on the strain gauge according to the inclination amount, so that the accuracy of the detection result of the pressing force applied to the key cap is improved.

Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.

Drawings

The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:

fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;

fig. 2 is a schematic structural diagram of another electronic device provided in an embodiment of the present application;

fig. 3 is a schematic structural diagram of another electronic device provided in an embodiment of the present application;

fig. 4 is a flowchart of a pressing force detection method according to an embodiment of the present application.

Detailed Description

Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

The features of the terms first and second in the description and in the claims of the present application may explicitly or implicitly include one or more of such features. In the description of the present application, "a plurality" means two or more unless otherwise specified. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.

In some target scenes, a key assembly on the electronic device needs to be pressed, so as to detect the related functions, but when the key assembly is pressed, due to uneven stress, the key assembly is prone to generate friction with the casing, that is, due to the existence of friction force, the accuracy of the detection result of the pressing force detected on the key assembly is not high. The specific content of the target scene is not limited herein, for example: the target scene may be a blood pressure detection scene or the like.

In order to solve the above problems, the following solutions are thus proposed.

Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and as shown in fig. 1, the electronic device includes: the device comprises a shell 10, a key assembly 20, a strain gauge 30 and a controller, wherein the controller is positioned in the shell 10, a containing groove 11 is formed in the shell 10, the key assembly 20 and the strain gauge 30 are both arranged in the containing groove 11, the key assembly 20 is connected with the strain gauge 30, the strain gauge 30 is electrically connected with the controller, a gap exists between the key assembly 20 and the inner wall of the containing groove 11, a first magnet 111 is arranged on the inner wall of the containing groove 11, and a magnetic field sensor 201 is arranged on the key assembly 20;

the magnetic field sensor 201 is configured to detect an inclination amount of the key cap 21 of the key assembly 20 during pressing, and the controller corrects the pressing force detected by the strain gauge 30 according to the inclination amount.

The specific calculation procedure for correcting the pressing force according to the inclination amount is not limited herein.

As an alternative embodiment: the key cap 21 of the key assembly 20 is tilted by the external force, and the detection signal of the magnetic field sensor 201 is changed due to the change of the tilt amount and the first magnet 111, so that the friction force between the key cap 21 of the key assembly 20 and the inner wall of the accommodating groove 11 can be determined according to the detection signal, and the pressing force detected by the strain gauge 30 can be corrected according to the friction force.

The principle of calculation for correcting the pressing force detected on the strain gauge 30 based on the frictional force may be: the sum of the pressing force and the frictional force may be determined as the pressing force after the correction, or a weighted sum of the pressing force and the frictional force may be calculated and determined as the pressing force after the correction.

It should be noted that, as another alternative embodiment, the change of the inclination amount also means that an angle between the key cap 21 of the key assembly 20 and the inner wall of the accommodating groove 11 is changed to a target change (for example, a first included angle is changed to a second included angle), and the magnetic field sensor 201 generates a sensing signal under the target change of the included angle and the action of the first magnet 111, so as to determine a friction force between the key cap 21 of the key assembly 20 and the inner wall of the accommodating groove 11 according to the sensing signal, and further correct the pressing force detected on the strain gauge according to the friction force.

The working principle of the application can be seen in the following expressions:

when the key cap 21 of the key assembly 20 is pressed by an external force, the key cap 21 of the key assembly 20 can deform, the degree of the deformation can be transmitted to the strain gauge 30, and the degree of the deformation is usually in positive correlation with the value of the external force, so that the strain gauge 30 can detect the value of the pressing force applied to the key cap 21 of the key assembly 20 through the degree of the deformation.

When the key cap 21 of the key assembly 20 is not pressed by an external force, the inclination amount of the key cap 21 of the key assembly 20 may be 0, which may be understood as follows: the included angle between the key cap 21 of the key assembly 20 and the inner wall of the accommodating groove 11 can be a first included angle, which can be 0 degree, when the key cap 21 of the key assembly 20 receives the pressing force from the external force, the position of the key cap 21 of the key assembly 20 is changed, so that the inclination amount of the key cap 21 of the key assembly 20 is also changed, for example, the key cap 21 of the key assembly 20 can be deviated relative to the inner wall of the accommodating groove 11, and at this time, the magnetic field sensor 201 can generate an induction signal under the action of the first magnet 111, the controller can determine the friction force between the key cap 21 of the key assembly 20 and the inner wall of the accommodating groove 11 according to the sensing signal, and further, the pressing force applied to the key cap 21 of the key assembly 20 is corrected (the pressing force detection process can be referred to above), so as to obtain a target pressing force, thereby improving the accuracy of the detection result of the pressing force received on the key cap 21 of the key assembly 20.

The inclination amount in the embodiment of the present application may refer to an inclination amount of the key cap 21 of the key assembly 20 with respect to a horizontal plane, or may refer to an inclination amount of the key cap 21 of the key assembly 20 with respect to the inner wall of the accommodating groove 11.

Referring to fig. 2, at this time, the inclination amount of the key cap 21 of the key assembly 20 may be 0, and it can also be understood that an included angle between the key cap 21 of the key assembly 20 and the inner wall of the accommodating groove 11 is a first included angle; referring to fig. 1 and fig. 3, at this time, the inclination amount of the key cap 21 of the key assembly 20 may be greater than 0, and it can also be understood that an included angle between the key cap 21 of the key assembly 20 and the inner wall of the accommodating groove 11 is a second included angle.

In addition, since the first magnet 111 is disposed on the inner wall of the accommodating groove 11, a magnetic field may exist around the first magnet 111, and referring to fig. 1, the magnetic field may be in a region shown as B in fig. 1, and may have a magnetic force on the key cap 21 of the key assembly 20 under the action of the magnetic field, so as to reduce a friction force between the key cap 21 of the key assembly 20 and the inner wall of the accommodating groove 11, thereby further improving the accuracy of a detection result of the pressing force received on the key cap 21 of the key assembly 20.

It should be noted that, referring to fig. 1 to 3, N and S in fig. 1 to 3 are used to indicate magnetic poles, respectively, where N is used to indicate a north pole and S is used to indicate a south pole.

In order to enhance the magnetic force, as an alternative embodiment, referring to fig. 1 to 3, a second magnet 202 is further disposed on the key assembly 20, a first magnetic pole of the first magnet 111 and a second magnetic pole of the second magnet 202 are same-name magnetic poles, and the first magnetic pole and the second magnetic pole are disposed oppositely.

It should be noted that both the second magnet 202 and the magnetic field sensor 201 can be embedded inside the key cap 21, so that the volume of the whole key assembly 20 can be further reduced. In addition, the second magnet 202 and the magnetic field sensor 201 may be provided on the surface of the key cap 21. The specific arrangement is not limited herein.

In this embodiment, since the first magnetic pole of the first magnet 111 and the second magnetic pole of the second magnet 202 are homonymous magnetic poles, and the first magnetic pole and the second magnetic pole are arranged oppositely, a magnetic acting force repelling each other is provided between the first magnetic pole and the second magnetic pole, so that under the action of the magnetic acting force, the friction force between the key assembly 20 and the inner wall of the accommodating groove 11 can be reduced, thereby further improving the accuracy of the detection result of the pressing force on the key assembly 20; at the same time, the magnetic force between the key assembly 20 and the first magnet 111 can be enhanced.

As another optional implementation manner, the key cap 21 is a magnetic key assembly, and a third magnetic pole of the key cap 21 and a fourth magnetic pole of the first magnet 111 are magnetic poles of the same name, and the third magnetic pole and the fourth magnetic pole are arranged oppositely. In this way, the magnetic force between the key cap 21 and the first magnet 111 can be enhanced as well, and the friction between the key cap 21 and the inner wall of the accommodating groove 11 can be reduced.

It should be noted that the type of the second magnet 202 is not limited herein, and as an alternative embodiment, the second magnet 202 is an electromagnet. Like this, can strengthen the magnetic force between button cap 21 and first magnet 111 for the inner wall of button cap 21 relative storage tank 11 has the effect of magnetic suspension, reduces the frictional force between the inner wall of button cap 21 and storage tank 11 promptly, simultaneously, can also carry out magnetization treatment to button cap 21, makes button cap 21 have magnetism, thereby need not to set up the magnet alone again on button cap 21, reduces use cost and whole volume of button cap 21.

As another alternative, the second magnet 202 is a permanent magnet, so that the permanent magnet has a simple structure, so that the second magnet 202 can be assembled conveniently, and the magnetic effect of the second magnet 202 is stable.

The values of the first included angle and the second included angle are not limited herein, and the first included angle may be smaller than the second included angle, for example: the first included angle may be 0 degrees and the second included angle may be 15 degrees.

When there is no friction between the key cap 21 and the inner wall of the accommodating groove 11, the difference between the value of the external force and the value of the pressing force is small, for example: the difference value between the value of the external force and the value of the pressing force can be within a preset range; accordingly, when there is a friction force between the key cap 21 and the inner wall of the accommodating groove 11, the difference between the value of the external force and the value of the pressing force is large, for example: the difference between the value of the external force and the value of the pressing force may be out of a preset range.

Therein, the correspondence between the value of the friction force and the value of the induction signal in the magnetic field sensor 201 may be stored in advance in the electronic device, that is to say: the value of the friction force and the value of the sensing signal may be in a one-to-one correspondence, the value of the sensing signal may be in a one-to-one correspondence with the position of the key cap 21, and the position of the key cap 21 may also be represented by an included angle between the key cap 21 and the inner wall of the accommodating groove 11.

The correspondence between the friction value and the sensing signal value, and the correspondence between the sensing signal value and the position of the key cap 21 may be experimentally measured in advance.

Of course, the correspondence between the value of the friction force and the value of the sensing signal, and the correspondence between the value of the sensing signal and the position of the key cap 21 can also be detected in real time, which is not limited herein.

In addition, the specific structure of the key assembly 20 is not limited herein, and as an alternative embodiment, the key assembly 20 includes a key cap 21 and an elastic member, and the key cap 21 is connected to the strain gauge 30 through the elastic member. Thus, when an external force is received on the key cap 21, the elastic member is deformed by the external force, and the deformation amount of the elastic member can be transmitted to the strain gauge 30, thereby realizing detection of the pressing force.

As another alternative embodiment, referring to fig. 1 to 3, the electronic device further includes a flexible circuit board 40 and a main board, and the key assembly 20 further includes: cantilever beam 22 and cantilever beam support 23, press the key cap 21, cantilever beam 22, cantilever beam support 23 with foil gage 30 stacks up the setting in proper order, foil gage 30 passes through flexible circuit board 40 with the mainboard electricity is connected.

The accommodating groove 11 may further be provided with a key support, and the key cap 21, the cantilever beam 22, the cantilever beam support 23, the strain gauge 30 and the flexible circuit board 40 may be disposed on the key support, so as to enhance the fixing effect of the above components.

Wherein, the assembling process of the above parts can be seen in the following expression: the key cap 21 can be adhered to the cantilever beam support 23 through glue, the cantilever beam support 23 can be adhered to the first end of the cantilever beam 22 through glue, the second end of the cantilever beam support 23 is suspended, the first end of the cantilever beam 22 is welded to the key support through a welding process, the second end of the cantilever beam 22 is suspended, the strain gauge 30 is adhered to the surface of the cantilever beam 22 facing the key support through glue, and can be connected to the flexible circuit board 40 through a hot-press welding mode, the flexible circuit board 40 can be electrically connected with a main board, a digital signal analysis system can be correspondingly distributed on the main board, the above analysis system can calculate the deformation of the cantilever beam 22 detected by the strain gauge 30, and therefore the degree of pressing pressure of the external force is measured.

It should be noted that the above assembling process is only an exemplary one, and does not represent a specific limitation to the assembling process of the above components.

In addition, the free end of the cantilever support 23 (i.e., the second end of the cantilever support 23) is not on the same side as the free end of the cantilever 22 (i.e., the second end of the cantilever 22), that is: the first end of the cantilever beam support 23 is opposite to the second end of the cantilever beam 22, and the second end of the cantilever beam support 23 is opposite to the first end of the cantilever beam 22, so that the balance between the cantilever beam support 23 and the cantilever beam 22 under the pressing of external force can be ensured, namely the balance of the pressing stroke of the external force is ensured.

Wherein, when external force presses the button cap 21, external force can be transmitted cantilever beam support 23 through button cap 21, and then transmits cantilever beam 22 for cantilever beam 22 takes place bow deformation, and the laminating can detect above-mentioned deformation at the foil gage 30 of cantilever beam 22 lower surface, because cantilever beam 22 deformation volume is positive correlation with the pressing force degree of external force, consequently the signal through foil gage 30 just can detect the pressing force degree of external force, namely can detect the above-mentioned pressing force that obtains button subassembly 20 and receive.

In this embodiment, because the button cap 21, the cantilever beam 22, the cantilever beam support 23 and the strain gauge 30 are sequentially stacked, and the strain gauge 30 is electrically connected with the main board through the flexible circuit board 40, in this way, the strain gauge 30 can detect the deformation of the cantilever beam 22, so as to detect the pressing force of the external force, and further detect the pressing force received by the button assembly 20, so that the detection of the pressing force is more convenient and the detection result is more accurate.

The housing 10 may be provided therein with a receiving cavity, the receiving cavity is used for accommodating a motherboard and a controller of an electronic device, the controller may be fixed on the motherboard, thereby enhancing the fixing effect on the controller, and the receiving cavity may be communicated with the receiving groove 11, and certainly, the receiving cavity may not be communicated with the receiving groove 11.

It should be noted that, the number of the first magnet 111 and the magnetic field sensors 201 is not limited herein, and the number of the first magnet 111 and the magnetic field sensors 201 may match, that is, the first magnet 111 and the magnetic field sensors 201 may correspond to each other one by one, so that the magnetic field sensors 201 may better generate the sensing signal.

As an optional implementation manner, the inner wall of the receiving groove 11 includes a first side wall and a second side wall that are disposed opposite to each other, the first magnet 111 is disposed on each of the first side wall and the second side wall, two magnetic field sensors 201 are disposed on the key assembly 20, one of the two magnetic field sensors 201 is located relatively close to the first magnet 111 on the first side wall, and the other of the two magnetic field sensors 201 is located relatively close to the first magnet 111 on the second side wall.

The two magnetic field sensors 201 may be both disposed on the key cap 21, or certainly, may also be disposed at a connection position of the key cap 21 and the cantilever support 23, and specific disposition positions of the two magnetic field sensors 201 on the key assembly 20 are not limited herein.

The included angle between the key assembly 20 and the inner wall of the accommodating groove 11 can be detected in real time according to the two magnetic field sensors 201 and the two first magnets 111, and the specific principle can be seen in the following expression:

the first magnet 111 is fixed on the inner wall of the accommodating groove 11, when the key cap 21 is tilted (i.e. there is a tilt amount), the distance from the first magnet 111 to the magnetic field sensor 201 changes, and the change value of the distance from the first magnet 111 on the first side wall to each magnetic field sensor 201 is different from that of the first magnet 111 on the second side wall to each magnetic field sensor 201, as shown in fig. 1, the connecting line between the two first magnets 111 (i.e. the first magnet 111 on the first side wall and the first magnet 111 on the second side wall) and the two magnetic field sensors 201 forms a quadrangle, which is the area shown in a in fig. 1, wherein the distance between the two first magnets 111 and the distance between the two magnetic field sensors 201 are known and fixed, the distance from the magnetic field sensor 201 close to the first side wall to the first magnet 111 on the first side wall, and the distance from the magnetic field sensor 201 close to the second side wall to the first magnet 111 on the second side wall, the induction signal in the corresponding magnetic field sensor 201 can be measured, and finally a quadrangle with known four side lengths is obtained, so that the skew angle of each side of the quadrangle can be measured, and the included angle between the key cap 21 and the inner wall of the accommodating groove 11 can be detected.

In addition, after the skew angle, that is, the included angle between the key cap 210 and the inner wall of the accommodating groove 11 is calculated, the skew angle or the included angle may be input into a mechanical analysis model, so as to obtain the value of the friction force between the key cap 21 and the inner wall of the accommodating groove 11.

It should be noted that the specific structure of the mechanical analysis model is not limited herein, and for example: the mechanical Analysis model can be established by Finite Element Analysis (FEA), and the detailed process is not described herein.

In this embodiment, the included angle between the key cap 21 and the inner wall of the accommodating groove 11 can be detected in real time according to the two magnetic field sensors 201 and the two first magnets 111, so that the diversity and flexibility of the above-mentioned included angle detection method are enhanced, and meanwhile, the accuracy of the detection result of the included angle is also improved by the above-mentioned method, and the accuracy of the detection result of the pressing force is further improved.

As an alternative embodiment, the magnetic field sensor 201 is a single-axis hall sensor. That is to say: when the magnetic field sensor 201 corresponds to the first magnet 111, a single-axis hall sensor may be used, which may reduce the use cost, and at the same time, may make the accuracy of the sensing signal of the magnetic field sensor 201 higher under the action of the corresponding first magnet 111.

In addition, as an alternative embodiment, the magnetic field sensor 201 is a three-axis hall sensor. Thus, the three-axis hall sensor can also complete the detection of the skew angle or the included angle between the key assembly 20 and the inner wall of the accommodating groove 11, and simultaneously can send a target signal to the controller to enable the controller to output a prompt signal, wherein the prompt signal is used for prompting a user to adjust the pressing posture so as to reduce the friction force generated between the key cap 21 and the inner wall of the accommodating cavity due to the skew pressing of the user.

It should be noted that, as an exemplary illustration, the magnetic field sensor 201 in the embodiment of the present application may be understood as a hall sensor.

As an optional implementation manner, referring to fig. 2, a first limiting protrusion 112 is disposed on an inner wall of the accommodating groove 11, a second limiting protrusion 203 is disposed on the key cap 21, and the first limiting protrusion 112 is used for abutting against the second limiting protrusion 203. Thus, when the key cap 21 is tilted in the pressing process, the first limiting protrusion 112 and the second limiting protrusion 203 can limit the key assembly 20, and the phenomenon that the key cap 21 slides out of the housing 10 from the accommodating groove 11 is reduced.

In order to better explain the above-described process of correcting the pressing force according to the inclination amount, a specific example is described below.

Referring to fig. 4, fig. 4 is a flowchart of a pressing force detection method according to an embodiment of the present application, where the method is applied to an electronic device according to the above embodiment, and as shown in fig. 4, the method includes the following steps:

step 401, in the process that a key cap of the electronic device is pressed and an inclination amount exists, obtaining a pressing force of the key cap and an induction signal of a magnetic field sensor of the electronic device, where the induction signal is a signal generated under the action of a first magnet of the electronic device.

Wherein the pressing force can be understood as: the pressing force detected on the key cap is pressed by external force, and under the condition that friction exists between the key cap and the inner wall of the accommodating groove.

Step 402, determining the friction force between the key cap and the inner wall of the accommodating groove according to the induction signal.

The specific principle of determining the friction force according to the sensing signal can be seen from the corresponding expressions in the above embodiments.

As an optional implementation manner, the determining, according to the sensing signal, a friction force between the key cap and an inner wall of the accommodating groove includes:

determining an included angle between the key cap and the inner wall of the accommodating groove according to the induction signal;

and determining the friction force between the key cap and the inner wall of the accommodating groove according to the included angle.

The specific principle of determining the included angle according to the sensing signal and then determining the friction force according to the included angle may be referred to in the corresponding description of the above embodiment in which the first magnet is present on both the first side wall and the second side wall, and details are not repeated here.

In this embodiment, detect earlier the contained angle between the inner wall according to key cap and storage tank, then confirm frictional force according to the contained angle, strengthened the variety and the flexibility of frictional force detection mode, simultaneously, above-mentioned mode has also improved the degree of accuracy to the testing result of frictional force.

And step 403, correcting the pressing force according to the friction force to obtain a target pressing force.

The pressing force can refer to the pressing force detected on the strain gauge, and the target pressing force can refer to the pressing force applied by the user, but when the user applies the pressing force, a friction force exists between the key cap and the inner wall of the accommodating groove, so that the pressing force detected on the strain gauge is actually the difference between the pressing force applied by the user and the friction force, and therefore the target pressing force can be obtained according to the pressing force and the friction force detected on the strain gauge, so that the target pressing force can better accord with the real value of the pressing force applied by the user, and the accuracy of the detection result of the pressing force is improved.

Wherein, the pressing force is corrected according to the friction force to obtain the target pressing force, which can be referred to as the following expression:

the sum of the friction force and the pressing force may be determined as the target pressing force, or the friction force and the pressing force may be weighted and summed, and a value obtained after the weighted summation may be determined as the target pressing force.

In this embodiment, the magnetic field sensor may generate an induction signal under the action of the first magnet, and the controller may determine a friction force between the key cap and the inner wall of the accommodating groove according to the induction signal, so as to correct the pressing force of the key cap to obtain a target pressing force, thereby improving accuracy of a detection result of the pressing force applied to the key cap.

The embodiment of the present application further provides a pressing force detection device, including:

the electronic device comprises an obtaining module and a control module, wherein the obtaining module is used for obtaining the pressing force of the key cap and the induction signal of the magnetic field sensor of the electronic device under the condition that the key cap of the electronic device is pressed and the inclination exists, and the induction signal is a signal generated under the action of a first magnet of the electronic device.

And the determining module is used for determining the friction force between the key cap and the inner wall of the accommodating groove according to the induction signal.

And the correction module is used for correcting the pressing force according to the friction force to obtain a target pressing force.

Optionally, the determining module includes:

the first determining submodule is used for determining an included angle between the key cap and the inner wall of the accommodating groove according to the induction signal;

and the second determining submodule is used for determining the friction force between the key cap and the inner wall of the accommodating groove according to the included angle.

The embodiment of the present application may also implement each step in the method embodiment shown in fig. 4, and may have the same beneficial technical effects as the embodiment described above, and details are not described herein again.

In the description herein, reference to the description of the terms "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

While embodiments of the present application have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the application, the scope of which is defined by the claims and their equivalents.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种用于真空灭弧室的高机械强度复合导电杆的制备方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!