CN113181628B - Handle, correction method of button feedback force of handle, control device and storage medium - Google Patents

Handle, correction method of button feedback force of handle, control device and storage medium Download PDF

Info

Publication number
CN113181628B
CN113181628B CN202110519644.1A CN202110519644A CN113181628B CN 113181628 B CN113181628 B CN 113181628B CN 202110519644 A CN202110519644 A CN 202110519644A CN 113181628 B CN113181628 B CN 113181628B
Authority
CN
China
Prior art keywords
deformation displacement
resistance value
key
value
feedback force
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110519644.1A
Other languages
Chinese (zh)
Other versions
CN113181628A (en
Inventor
刘静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202110519644.1A priority Critical patent/CN113181628B/en
Publication of CN113181628A publication Critical patent/CN113181628A/en
Priority to PCT/CN2021/138872 priority patent/WO2022237167A1/en
Application granted granted Critical
Publication of CN113181628B publication Critical patent/CN113181628B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/22Setup operations, e.g. calibration, key configuration or button assignment
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/25Output arrangements for video game devices
    • A63F13/28Output arrangements for video game devices responding to control signals received from the game device for affecting ambient conditions, e.g. for vibrating players' seats, activating scent dispensers or affecting temperature or light
    • A63F13/285Generating tactile feedback signals via the game input device, e.g. force feedback
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01HELECTRIC SWITCHES; RELAYS; SELECTORS; EMERGENCY PROTECTIVE DEVICES
    • H01H21/00Switches operated by an operating part in the form of a pivotable member acted upon directly by a solid body, e.g. by a hand
    • H01H21/02Details
    • H01H21/18Movable parts; Contacts mounted thereon
    • H01H21/22Operating parts, e.g. handle
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/10Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
    • A63F2300/1018Calibration; Key and button assignment
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/302Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device specially adapted for receiving control signals not targeted to a display device or game input means, e.g. vibrating driver's seat, scent dispenser

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Adjustable Resistors (AREA)

Abstract

The invention discloses a handle and a correction method, a control device and a storage medium for a key feedback force of the handle, wherein the correction method for the key feedback force of the handle comprises the following steps: calculating the deformation displacement S of the elastic component corresponding to the F according to the required feedback force value F of the key and the set relation between the feedback force value of the key and the deformation displacement of the elastic component, and obtaining the actual resistance value R of the slide rheostat corresponding to the deformation displacement S according to the deformation displacement S and the mapping relation between the actual resistance value of the slide rheostat and the deformation displacement of the elastic component In fact So as to correct the resistance value of the slide rheostat and further finish the correction of the feedback force of the trigger key.

Description

Handle, correction method of button feedback force of handle, control device and storage medium
Technical Field
The invention relates to the technical field of game equipment, in particular to a handle, a method for correcting the feedback force of a key of the handle, a control device and a storage medium.
Background
Along with the upgrading of game equipment hardware, force feedback effects are added to trigger keys of modern game handles, game designers can simulate some game scenes by using the force feedback effects of the trigger keys, and the immersion effects of users in some scenes in a game are increased. For example, the affine bow scene of the trigger key die can be utilized, a game experiencer can actually feel the action effect of force in the process of drawing the bow, and then the scenes such as pulling the trigger in the shooting game are realized, and better experience effect is brought to the user through the feedback force of the trigger key.
The existing handle comprises a key assembly and a slide rheostat, wherein the key assembly comprises an elastic assembly and a key, the elastic assembly is specifically a spring, one end of the spring is limited and fixed, the other end of the spring is abutted against the inner side of the key so as to drive the elastic assembly to deform after the key is pressed, a slide sheet of the slide rheostat is connected with one end, acted by the key, of the elastic assembly so as to move along with the elastic assembly, when the key is pressed, the key can press the elastic assembly to deform so as to drive the slide rheostat to move, so that the resistance value of the slide rheostat is changed, and the force fed back to a trigger key is obtained through the slide rheostat.
The force feedback action mechanism of the trigger button is known through the simple introduction, namely the feedback force acting on the trigger button is due to the fact that the compression spring is used, the larger the compression amount is, the larger the feedback force is, the spring stroke amount is in direct proportion to the resistance value of the slide rheostat, and the displacement amount of the slide rheostat is linearly related to the resistance value under the ideal condition.
Disclosure of Invention
The invention mainly aims to provide a handle, a method for correcting the feedback force of a trigger button of the handle, a control device and a storage medium, and aims to correct the feedback force of the trigger button.
In order to achieve the above object, the present invention provides a method for correcting a feedback force of a handle, comprising:
calculating the deformation displacement S of the elastic assembly corresponding to the F according to the required feedback force value F of the key and the set relation between the feedback force value of the key and the deformation displacement of the elastic assembly;
obtaining the actual resistance value R of the slide rheostat corresponding to the deformation displacement S according to the deformation displacement S and the mapping relation between the actual resistance value of the slide rheostat and the deformation displacement of the elastic component Practice of
Optionally, the step of calculating the deformation displacement S of the elastic assembly corresponding to F according to the required feedback force value F of the key and the set relationship between the feedback force value of the key and the deformation displacement of the elastic assembly includes:
calculating and obtaining a theoretical resistance value R of the slide rheostat corresponding to the F according to the theoretical mapping relation among the demand feedback force value F, the feedback force value of the key and the resistance value of the slide rheostat Theory of the invention
According to the theoretical resistance value R Theory of the invention And calculating to obtain the deformation displacement S of the elastic component corresponding to the F according to the theoretical mapping relation between the resistance value of the sliding rheostat and the deformation displacement of the elastic component.
Optionally according to saidThe deformation displacement S and the mapping relation between the actual resistance value of the slide rheostat and the deformation displacement of the elastic component are obtained, and the actual resistance value R of the slide rheostat corresponding to the deformation displacement S is obtained In fact The method comprises the following steps:
comparing the deformation displacement S of the elastic assembly with a plurality of preset deformation displacement intervals of the elastic assembly;
finding out a deformation displacement interval [ S1, S2] to which the deformation displacement S belongs;
according to the deformation displacement interval [ S1, S2]]And the actual resistance value R of the sliding rheostat is obtained through calculation according to the mapping relation between the actual resistance value of the sliding rheostat and the deformation displacement of the elastic component Practice of
Optionally, the displacement interval [ S1, S2] is changed according to the deformation]And the actual resistance value R of the sliding rheostat is obtained through calculation according to the mapping relation between the actual resistance value of the sliding rheostat and the deformation displacement of the elastic component Practice of Comprises the following steps:
when the deformation displacement S is in [ S1, S2]]When the first time interval is in (1), the corresponding resistance correction value is R11, and the corresponding actual resistance value is R Practice of =R Theory of the invention +R11;
When the deformation displacement S is in [ S1, S2]]When the second interval is in (1), the corresponding resistance correction value is R12, and the corresponding actual resistance value is R Practice of =R Theory of the invention +R12;
When the deformation displacement S is in [ S1, S2]]When the resistance correction value is R1N, the corresponding actual resistance value is R Practice of =R Theory of the invention +R1n。
Optionally, before the step of finding the displacement interval value [ S1, S2] where the deformation displacement S is located, the method further includes:
dividing the maximum deformation displacement of the elastic assembly into a plurality of intervals;
dividing each interval into a plurality of interval sections;
and calculating to obtain the corresponding resistance correction value of each section according to the theoretical mapping relation and the actual mapping relation between the resistance value of the sliding rheostat and the deformation displacement of the elastic component.
Optionally, the displacement interval [ S1, S2] is changed according to the deformation]And the actual resistance value R of the slide rheostat is obtained through calculation according to the mapping relation between the actual resistance value of the slide rheostat and the deformation displacement of the elastic component Practice of The method comprises the following steps:
obtaining a slope value k1 of an equivalent linear relation between the actual resistance value of the slide rheostat and the deformation displacement of the elastic component in the deformation displacement interval [ S1, S2] according to the deformation displacement interval [ S1, S2];
calculating to obtain the actual resistance value R according to the deformation displacement S and the slope value k1 Fruit of Chinese wolfberry And (4) adding the mixture into the container.
Optionally, before the step of finding the displacement interval value [ S1, S2] where the deformation displacement S is located, the method further includes:
dividing the maximum deformation displacement of the elastic component into a plurality of intervals;
calculating actual resistance values corresponding to two end points of the multiple intervals according to an actual mapping relation between the resistance value of the slide rheostat and the deformation displacement of the elastic component;
and calculating to obtain a slope value corresponding to each interval according to the deformation displacement and the actual resistance value of the two endpoints of the plurality of intervals.
The present invention further provides a readable storage medium storing a key feedback force correction program executable on a processor, the key feedback force correction program being configured to implement the steps of the key feedback force correction method according to any one of the above-mentioned embodiments.
The invention also provides a control device, which comprises a memory, a processor and a key feedback force correction program which is stored on the memory and can run on the processor, wherein the key feedback force correction program is configured to realize the steps of the key feedback force correction method.
The present invention further provides a handle, characterized by comprising:
the key assembly comprises an elastic assembly and a key, one end of the elastic assembly is limited and fixed, and the other end of the elastic assembly is abutted against the inner side of the key so as to drive the elastic assembly to deform under the action of the key;
the sliding sheet of the sliding rheostat is connected with one end of the elastic component acted by the key so as to move along with the elastic component; and the number of the first and second groups,
and the control device is electrically connected with the slide rheostat and is the control device.
In the technical scheme provided by the invention, the deformation displacement S of the elastic component corresponding to the F is calculated according to the required feedback force value F of the key and the set relationship between the feedback force value of the key and the deformation displacement of the elastic component, and the actual resistance value R of the slide rheostat corresponding to the deformation displacement S is obtained according to the deformation displacement S and the mapping relationship between the actual resistance value of the slide rheostat and the deformation displacement of the elastic component In practice, the amount of the liquid to be used, the resistance value of the slide rheostat is corrected, and then the feedback force of the trigger key is corrected.
Drawings
In order to more clearly illustrate the embodiments or technical solutions of the present invention, the drawings used in the embodiments or technical solutions of the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a schematic view of a portion of one embodiment of a handle provided by the present invention;
FIG. 2 is a block diagram of an embodiment of a control device of the handle provided in FIG. 1;
FIG. 3 is a schematic flow chart illustrating an embodiment of a method for correcting a feedback force of a button of a handle according to the present invention
FIG. 4 is a schematic flow chart diagram of one embodiment of step S10 in FIG. 3;
FIG. 5 is a schematic flow chart diagram illustrating an embodiment of step S20 in FIG. 3;
FIG. 6 is a flowchart illustrating an embodiment of step S23 in FIG. 5;
FIG. 7 is a schematic flow chart illustrating a further embodiment of the method before step S22 in FIG. 5;
FIG. 8 is a graph of resistance versus displacement for the handle provided in FIG. 1;
fig. 9 is a schematic diagram of the compensation calculation process of the relationship diagram in fig. 8.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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 invention.
It should be noted that, if directional indications (such as up, down, left, right, front, back, 8230; etc.) are involved in the embodiment of the present invention, the directional indications are only used for explaining the relative positional relationship between the components, the motion situation, etc. in a specific posture (as shown in the figure), and if the specific posture is changed, the directional indications are correspondingly changed.
In addition, if there is a description of "first", "second", etc. in an embodiment of the present invention, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, the meaning of "and/or" appearing throughout includes three juxtapositions, exemplified by "A and/or B" including either A or B or both A and B. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
The invention provides a handle, as shown in fig. 1, the handle 100 includes a key assembly 1, a slide rheostat 2 and a control device, the key assembly 1 includes an elastic assembly 11 and a key 12, the elastic assembly 11 is specifically a spring, the key assembly 1 further includes a top pillar 13 for the spring to be sleeved on, one end of the elastic assembly 11 is limited and fixed, the other end of the elastic assembly 11 is abutted against the inner side of the key 12 to drive the elastic assembly 11 to deform under the action of the key 12, a slide sheet 21 of the slide rheostat 2 is connected with one end of the elastic assembly 11 acted by the key 12 to move along with the elastic assembly 11, and the control device is electrically connected with the slide rheostat 2. As further shown in fig. 1, in order to correct the feedback force of the key of the handle 100, the stepping motor 3 moves to compress the spring on the top pillar 13 to simulate the action of the trigger key on the spring, the motor moves to compress the spring, the spring further acts on a feedback force due to the elastic force of the spring, the stepping motor 3 moves up and down to drive the sliding rheostat 2 to move, so that the resistance value of the sliding rheostat 2 changes, the force fed back to the key 12 by the spring is obtained through the resistance value of the sliding rheostat 2, that is, the feedback force acting on the key 12 is due to the compression of the spring, the larger the compression amount is, the larger the feedback force is, the spring stroke amount is proportional to the resistance value of the sliding rheostat 2, and the displacement amount of the sliding rheostat 2 is linearly related to the ideal resistance value, but in the actual use process, due to the structural assembly error, the poor linear consistency of the sliding rheostat 2 itself and other reasons, the accuracy of the feedback force calculated according to the real resistance value is not high, and meanwhile, in order to ensure the consistency of the feedback force between different products, the trigger key calibration is required.
Therefore, the technical scheme provided by the invention can solve the technical problems, and the main concept is as follows: calculating the deformation displacement S of the elastic component corresponding to the F according to the required feedback force value F of the key and the set relation between the feedback force value of the key and the deformation displacement of the elastic component, and obtaining the actual resistance value R of the slide rheostat corresponding to the deformation displacement S according to the deformation displacement S and the mapping relation between the actual resistance value of the slide rheostat and the deformation displacement of the elastic component Practice of So as to realize the correction of the resistance value of the slide rheostat and further finish the correction of the feedback force of the trigger key. The technical solution provided by the present invention is explained below with reference to specific embodiments of the present invention.
The control device may include: a processor 1001, such as a CPU or chip, a communication bus 1002, I/O interfaces 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The I/O interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional I/O interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
In the control device shown in fig. 2, the processor 1001 calls up a program for correcting the feedback force of the handle button stored in the memory 1005, and executes the following operations:
calculating the deformation displacement S of the elastic assembly corresponding to the F according to the required feedback force value F of the key and the set relation between the feedback force value of the key and the deformation displacement of the elastic assembly;
obtaining the actual resistance value R of the slide rheostat corresponding to the deformation displacement S according to the deformation displacement S and the mapping relation between the actual resistance value of the slide rheostat and the deformation displacement of the elastic component In fact
Optionally, the step of calculating the deformation displacement S of the elastic assembly corresponding to the value F according to the feedback force value F of the key and the set relationship between the feedback force value of the key and the deformation displacement of the elastic assembly includes:
calculating and obtaining a theoretical resistance value R of the slide rheostat corresponding to the F according to the theoretical mapping relation among the required feedback force value F, the feedback force value of the key and the resistance value of the slide rheostat Theory of the invention
According to the theoretical resistance value R Theory of the invention And calculating to obtain the deformation displacement S of the elastic component corresponding to the F according to the theoretical mapping relation between the resistance value of the sliding rheostat and the deformation displacement of the elastic component.
Optionally, the actual resistance value R of the sliding rheostat corresponding to the deformation displacement S is obtained according to the deformation displacement S and the mapping relationship between the actual resistance value of the sliding rheostat and the deformation displacement of the elastic component Practice of The method comprises the following steps:
comparing the deformation displacement S of the elastic assembly with a plurality of preset deformation displacement intervals of the elastic assembly;
finding out a deformation displacement interval [ S1, S2] to which the deformation displacement S belongs;
according to the deformation displacement interval [ S1, S2]]And the actual resistance value R of the sliding rheostat is obtained through calculation according to the mapping relation between the actual resistance value of the sliding rheostat and the deformation displacement of the elastic component Practice of
Optionally, the displacement interval [ S1, S2] is displaced according to the deformation]And the actual resistance value R of the slide rheostat is obtained through calculation according to the mapping relation between the actual resistance value of the slide rheostat and the deformation displacement of the elastic component Practice of Comprises the following steps:
when the deformation displacement S is in [ S1, S2]]When the first time interval is in (1), the corresponding resistance correction value is R11, and the corresponding actual resistance value is R Practice of =R Theory of the invention +R11;
When said deformation isThe displacement S is in [ S1, S2]]When the second interval is in (1), the corresponding resistance correction value is R12, and the corresponding actual resistance value is R In fact =R Theory of the invention +R12;
When the deformation displacement S is in the Nth section of [ S1, S2],
optionally, before the step of finding the displacement interval value [ S1, S2] where the deformation displacement S is located, the method further includes:
dividing the maximum deformation displacement of the elastic component into a plurality of intervals;
dividing each interval into a plurality of interval sections;
and calculating to obtain the corresponding resistance correction value of each section according to the theoretical mapping relation and the actual mapping relation between the resistance value of the sliding rheostat and the deformation displacement of the elastic component.
Optionally, the displacement interval [ S1, S2] is changed according to the deformation]And the actual resistance value R of the sliding rheostat is obtained through calculation according to the mapping relation between the actual resistance value of the sliding rheostat and the deformation displacement of the elastic component Practice of The method comprises the following steps:
obtaining a slope value k1 of an equivalent linear relation between the actual resistance value of the slide rheostat and the deformation displacement of the elastic component in the deformation displacement interval [ S1, S2] according to the deformation displacement interval [ S1, S2];
according to the deformation displacement S and the slope value k1, calculating to obtain the actual resistance value R Fruit of Chinese wolfberry And (4) adding the mixture into the container.
Optionally, before the step of finding the displacement interval value [ S1, S2] where the deformation displacement S is located, the method further includes:
dividing the maximum deformation displacement of the elastic assembly into a plurality of intervals;
calculating actual resistance values corresponding to two end points of the multiple intervals according to an actual mapping relation between the resistance value of the slide rheostat and the deformation displacement of the elastic component;
and calculating to obtain a slope value corresponding to each interval according to the deformation displacement and the actual resistance value of the two endpoints of the plurality of intervals.
The invention further provides a method for correcting the button feedback force of the handle, and fig. 3 to 9 are embodiments of the method for correcting the button feedback force of the handle provided by the invention.
Fig. 3 is a schematic flow chart of an embodiment of a method for correcting a key feedback force of a handle according to the present invention, and referring to fig. 3, the present invention provides a method for correcting a key feedback force of a handle, including:
step S10, calculating a deformation displacement S of the elastic assembly corresponding to the F according to a required feedback force value F of the key and a set relation between the feedback force value of the key and the deformation displacement of the elastic assembly;
the required feedback force value F of the key is the key force set for different games or the required feedback force of the key set for different users or different effects in the same game, a set relation obviously exists between the feedback force value of the key and the deformation displacement of the elastic component, the set relation theoretically should be a linear relation, and the relation can be known as F = K X through Hooke's law.
Step S20, obtaining the actual resistance value R of the slide rheostat corresponding to the deformation displacement S according to the deformation displacement S and the mapping relation between the actual resistance value of the slide rheostat and the deformation displacement of the elastic component Practice of
After the required feed value F of the user is converted into the deformation displacement S, the actual resistance value R of the slide rheostat corresponding to the deformation displacement S can be obtained according to the deformation displacement S In practice, the amount of the liquid to be used, the system stores a mapping relation between the actual resistance value of the sliding rheostat and the deformation displacement of the elastic component, the mapping relation is obtained through experiments, and specific follow-up parts are introduced.
In the technical scheme provided by the invention, the deformation displacement S of the elastic component corresponding to the F is calculated according to the required feedback force value F of the key and the set relationship between the feedback force value of the key and the deformation displacement of the elastic component, and the deformation displacement S and the mapping relationship between the actual resistance value of the sliding rheostat and the deformation displacement of the elastic component are calculated according to the deformation displacement SObtaining an actual resistance value R of the slide rheostat corresponding to the deformation displacement S In practice, the amount of the liquid to be used, the resistance value of the slide rheostat is corrected, and then the feedback force of the trigger button is corrected.
Fig. 4 is a flowchart illustrating an embodiment of step S10 in fig. 3, referring to fig. 4, in this embodiment, step S10 includes:
s11, calculating and obtaining a theoretical resistance value R of the rheostat corresponding to F according to the theoretical mapping relation among the demand feedback force value F, the feedback force value of the key and the resistance value of the rheostat Theory of the invention
Obtaining F = K X according to hooke's law, obtaining an initial pressing force F1 when the trigger key is kept at the initial position by using a calibration machine to contact the trigger key, assuming that the corresponding displacement is X1 when F = F1 is obtained under the condition that K is unknown according to hooke's law, and then sending an instruction to obtain the resistance value R1 of the sliding rheostat when the trigger key is not triggered by a product end; the motor then moves to the maximum position of the amount of compression spring, using a calibration machine to contact the trigger button and obtain the feedback force at that time. Assuming that the maximum feedback force of the product is F2, the position of the motor of the product is continuously adjusted according to the feedback force obtained by the calibration machine until the motor moves to the position where the feedback force is F2, and the resistance value R2 of the slide rheostat at the moment is obtained. Assuming that the stroke of the compression spring at this time is X2 and Δ X = X2-X1, since the resistance value change is linearly related to the displacement stroke of the compression spring amount, Δ X = (R2-R1)/M can be obtained according to hooke's law:
F2=K*(X1+△X);
therefore: f2= F1+ K (R2-R1)/M, and further F2-F1= K (R2-R1)/M,
therefore: K/M = (F2-F1)/(R2-R1).
Assuming that the motor moves to a certain position X3, the spring stroke of the position moving from the position X1 to the position X3 is Δ X1, and the resistance value obtained from the product end at that time is R, F3= KX3= K (X1 +/Δ X1), that is, F3-F1= K (R-R1)/M, F1 is known, and K/M is also known, so that the resistance value can be calculated according to this formula asThe feedback force F corresponding to the time R, and accordingly, the theoretical resistance value R of the corresponding slide rheostat can be calculated through the feedback force F Theory of the invention
Step S12, according to the theoretical resistance value R Theory of the invention And calculating to obtain the deformation displacement S of the elastic component corresponding to the F according to the theoretical mapping relation between the resistance value of the sliding rheostat and the deformation displacement of the elastic component.
When the theoretical resistance value R Theory of the invention After the calculation, the deformation displacement S of the elastic component corresponding to the F is obtained through calculation according to a theoretical mapping relation between the resistance value of the sliding rheostat and the deformation displacement of the elastic component, and the theoretical mapping relation can calculate a theoretical displacement resistance slope K according to the deformation displacement of the elastic component and the resistance of the sliding rheostat corresponding to the initial position and the maximum stroke position of the key, and further can calculate a theoretical displacement resistance slope K and a theoretical resistance value R according to the theoretical displacement resistance slope K and the theoretical resistance value R In theory, it is possible to obtain, and calculating the deformation displacement S of the elastic component corresponding to the F.
Fig. 5 is a flowchart illustrating an embodiment of step S20 in fig. 3, referring to fig. 5, in this embodiment, step S20 includes:
s21, comparing the deformation displacement S of the elastic assembly with a plurality of preset deformation displacement intervals of the elastic assembly;
the system divides the deformation displacement S of the elastic component into a plurality of regions, as shown in fig. 9, in an embodiment, the deformation displacement is divided into 8 deformation displacement regions, and of course, theoretically, the more regions are divided, the more actual resistance value R is finally obtained Practice of The higher the accuracy of (c).
S22, finding out a deformation displacement interval [ S1, S2] to which the deformation displacement S belongs;
comparing the deformation displacement S with each deformation displacement interval to obtain corresponding deformation displacement intervals [ S1, S2];
step S23, according to the deformation displacement interval [ S1, S2]]And between the actual resistance value of the sliding rheostat and the deformation displacement of the elastic componentCalculating and obtaining the actual resistance value R of the sliding rheostat Practice of
In each deformation displacement interval [ S1, S2]]The system stores the mapping relation between the actual resistance value of the sliding rheostat and the deformation displacement of the elastic component, and the actual resistance value R of the sliding rheostat can be directly obtained Practice of
Fig. 6 is a flowchart illustrating an embodiment of step S23 in fig. 5, please refer to fig. 6, in this embodiment, step S23 includes:
step S231, when the deformation displacement S is in [ S1, S2]]When the first time interval is in (1), the corresponding resistance correction value is R11, and the corresponding actual resistance value is R Practice of =R Theory of the invention +R11;
Step S232, when the deformation displacement S is in [ S1, S2]]When the second interval is in (1), the corresponding resistance correction value is R12, and the corresponding actual resistance value is R Practice of =R Theory of the invention +R12;
Step S233, when the deformation displacement S is in [ S1, S2]]When the resistance correction value is R1N, the corresponding actual resistance value is R Practice of =R Theory of the invention +R1n。
That is, different resistance correction values are stored in different sections of the system corresponding to the deformation sections [ S1 and S2], and the resistance correction values are obtained through experiments.
Fig. 7 is a schematic flowchart of another embodiment before step S22 in fig. 5, please refer to fig. 7, in this embodiment, before step S22, further includes:
step S22a, dividing the maximum deformation displacement of the elastic component into a plurality of intervals;
step S22b, dividing each interval into a plurality of interval sections;
and S22c, calculating to obtain the corresponding resistance correction value of each section according to the theoretical mapping relation and the actual mapping relation between the resistance value of the sliding rheostat and the deformation displacement of the elastic component.
The magnitude of the feedback force can be calculated according to the resistance value of the current slide rheostat, but in the actual process, the linear correlation between the resistance value of the slide rheostat and the deformation displacement is not ideal, and fig. 8 is a relation between the resistance value of the slide rheostat and the deformation displacement in the actual process. As can be seen from the figure, the actual resistance displacement relationship has a large error from the ideal resistance displacement relationship, and the ideal resistance displacement relationship needs to be calibrated into the actual resistance displacement relationship, where the figure is a displacement resistance relationship diagram that when the motor starts to move at a constant speed toward the initial position R1 at the resistance value position corresponding to the feedback force F2 (the maximum feedback force position), and the product end outputs the resistance value in real time and stops immediately until the resistance value moves to the position where the resistance value is equal to R1, and if the movement speed is V =1m/S, the displacement S = V × T = T in fig. 8.
Because the feedback force of the trigger is adjustable in a game scene, the trigger is realized according to an algorithm, the known condition is the feedback force, the theoretical resistance value can be calculated according to a formula, but the theoretical resistance value needs to be calibrated, so that the actual resistance value of the trigger of a product can be calculated according to the actual feedback force, the calibration displacement resistance value relation is shown in figure 9, and the resistance value points on all straight lines need to be calibrated to the corresponding resistance value points on the actual curve, namely the R2 point needs to be calibrated to the R1 point. Under the known conditions shown in fig. 9, the ideal displacement resistance slope K can be calculated from the actual initial point position (i.e., the trigger feedback force minimum position) coordinate M and the end point coordinate N (i.e., the trigger feedback force maximum position). The method comprises the steps of equally dividing a displacement axis into 8 sections, finding out a resistance value corresponding to an initial displacement position and a terminal displacement position of each section, calculating a theoretical resistance value according to an ideal displacement resistance slope K, and obtaining an actual resistance value R1 corresponding to the S1 position and a corresponding theoretical resistance value R2 according to a curve; the actual resistance value corresponding to the position of S2 is R3, and the corresponding theoretical resistance value is R4, so as to obtain 8 groups of (S1, R1-R2), (S2, R3-R4) and other similar data.
In another embodiment of the present invention, step S20 includes:
s24, obtaining a slope value k1 of an equivalent straight line relation between the actual resistance value of the slide rheostat and the deformation displacement of the elastic component in the deformation displacement interval [ S1, S2] according to the deformation displacement interval [ S1, S2];
step S25, calculating to obtain the actual resistance value R according to the deformation displacement S and the slope value k1 Practice of
That is, in this embodiment, for each deformation displacement interval, there is a slope value corresponding to an equivalent linear relationship between the actual resistance value of the sliding rheostat and the deformation displacement of the elastic component, where the slope value can be obtained by mapping the actual resistance value of the sliding rheostat and the deformation displacement of the elastic component, specifically, before step S24, the method further includes:
step S24a, dividing the maximum deformation displacement of the elastic component into a plurality of intervals;
step S24b, calculating actual resistance values corresponding to two end points of the multiple intervals according to an actual mapping relation between the resistance value of the slide rheostat and the deformation displacement of the elastic component;
and S24c, calculating and obtaining a slope value corresponding to each interval according to the deformation displacement and the actual resistance value of the two endpoints of the plurality of intervals.
That is, as shown in fig. 9, the obtained actual mapping relationship curve of the resistance value displacement may be divided into a plurality of segments according to the deformation displacement, then the resistance values corresponding to the two end points of each segment are found on the curve, and further, the slope value of the segment may be calculated according to the resistance value and the displacement value.
The invention further provides a computer-readable storage medium, where a program for correcting the key feedback force of the handle is stored in the computer-readable storage medium, and when the program for correcting the key feedback force of the handle is executed by a processor, the steps of the method for correcting the key feedback force of the handle according to any of the above embodiments are implemented, which are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and include instructions for enabling a terminal device (such as a mobile phone, a computer, a server, a television, or a network device) to execute the methods according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A method for correcting the feedback force of a button of a handle is characterized by comprising the following steps:
calculating the deformation displacement S of the elastic component corresponding to the F according to the required feedback force value F of the key and the set relationship between the feedback force value of the key and the deformation displacement of the elastic component;
obtaining the actual resistance value R of the slide rheostat corresponding to the deformation displacement S according to the deformation displacement S and the mapping relation between the actual resistance value of the slide rheostat and the deformation displacement of the elastic component Actual;
according to the requirement feedback force value F of the key and the set relation between the feedback force value of the key and the deformation displacement of the elastic component, calculating the deformation displacement S of the elastic component corresponding to the F, wherein the step comprises the following steps:
calculating and obtaining a theoretical resistance value R of the slide rheostat corresponding to the F according to the theoretical mapping relation among the demand feedback force value F, the feedback force value of the key and the resistance value of the slide rheostat Theory of the invention
According to the theoretical resistance value R Theory of the invention And calculating a theoretical mapping relation between the resistance value of the sliding rheostat and the deformation displacement of the elastic component to obtain the deformation displacement S of the elastic component corresponding to the F;
obtaining the actual resistance value R of the slide rheostat corresponding to the deformation displacement S according to the deformation displacement S and the mapping relation between the actual resistance value of the slide rheostat and the deformation displacement of the elastic component In fact The method comprises the following steps:
comparing the deformation displacement S of the elastic assembly with a plurality of preset deformation displacement intervals of the elastic assembly;
finding out a deformation displacement interval [ S1, S2] to which the deformation displacement S belongs;
according to the deformation displacement interval [ S1, S2]]And the actual resistance value R of the slide rheostat is obtained through calculation according to the mapping relation between the actual resistance value of the slide rheostat and the deformation displacement of the elastic component Practice of
2. The method for correcting the feedback force of the handle key set as claimed in claim 1, wherein the displacement interval [ S1, S2] is varied according to the deformation]And the actual resistance value R of the sliding rheostat is obtained through calculation according to the mapping relation between the actual resistance value of the sliding rheostat and the deformation displacement of the elastic component Practice of The method comprises the following steps:
when the deformation displacement S is in [ S1, S2]]If the corresponding resistance correction value is R11 during the first interval, the corresponding actual value isResistance value R Practice of =R Theory of the invention +R11;
When the deformation displacement S is in [ S1, S2]]When the second interval is in (1), the corresponding resistance correction value is R12, and the corresponding actual resistance value is R Practice of =R Theory of the invention +R12;
When the deformation displacement S is in [ S1, S2]]When the resistance correction value is R1N, the corresponding actual resistance value is R Practice of =R Theory of the invention +R1n。
3. The method for correcting the feedback force of the handle button as claimed in claim 2, wherein before the step of finding the displacement interval value [ S1, S2] where the deformation displacement S is located, the method further comprises:
dividing the maximum deformation displacement of the elastic assembly into a plurality of intervals;
dividing each interval into a plurality of interval sections;
and calculating to obtain the corresponding resistance correction value of each section according to the theoretical mapping relation and the actual mapping relation between the resistance value of the sliding rheostat and the deformation displacement of the elastic component.
4. The method for correcting the feedback force of the pushbutton switch of the handle as defined in claim 1, wherein the zones of displacement [ S1, S2] are displaced according to the deformation]And the actual resistance value R of the sliding rheostat is obtained through calculation according to the mapping relation between the actual resistance value of the sliding rheostat and the deformation displacement of the elastic component In fact The method comprises the following steps:
obtaining a slope value k1 of an equivalent straight line relation between the actual resistance value of the slide rheostat and the deformation displacement of the elastic component in the deformation displacement interval [ S1, S2] according to the deformation displacement interval [ S1, S2];
calculating to obtain the actual resistance value R according to the deformation displacement S and the slope value k1 Fruit of Chinese wolfberry And (4) adding the mixture into the container.
5. The method for correcting the feedback force of the handle button as recited in claim 4, wherein before the step of finding the displacement interval value [ S1, S2] where the deformation displacement S is located, the method further comprises:
dividing the maximum deformation displacement of the elastic assembly into a plurality of intervals;
calculating actual resistance values corresponding to two end points of the multiple intervals according to an actual mapping relation between the resistance value of the slide rheostat and the deformation displacement of the elastic component;
and calculating to obtain a slope value corresponding to each interval according to the deformation displacement and the actual resistance value of the two endpoints of the plurality of intervals.
6. A storage medium storing a program for correcting a key feedback force of a handle that is executable on a processor, the program for correcting a key feedback force of a handle being configured to implement the steps of the method for correcting a key feedback force of a handle according to any one of claims 1 to 5.
7. A control device comprising a memory, a processor, and a correction program of a key feedback force of a handle stored in the memory, wherein the processor executes the correction program of the key feedback force of the handle to realize the steps of the correction method of the key feedback force of the handle according to any one of claims 1 to 5.
8. A handle, comprising:
the key assembly comprises an elastic assembly and a key, one end of the elastic assembly is limited and fixed, and the other end of the elastic assembly is abutted against the inner side of the key so as to drive the elastic assembly to deform under the action of the key;
the sliding sheet of the sliding rheostat is connected with one end of the elastic component acted by the key so as to move along with the elastic component; and the number of the first and second groups,
a control device electrically connected to the slide rheostat, the control device being as claimed in claim 7.
CN202110519644.1A 2021-05-12 2021-05-12 Handle, correction method of button feedback force of handle, control device and storage medium Active CN113181628B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110519644.1A CN113181628B (en) 2021-05-12 2021-05-12 Handle, correction method of button feedback force of handle, control device and storage medium
PCT/CN2021/138872 WO2022237167A1 (en) 2021-05-12 2021-12-16 Pad, correction method for pad button feedback force, control apparatus, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110519644.1A CN113181628B (en) 2021-05-12 2021-05-12 Handle, correction method of button feedback force of handle, control device and storage medium

Publications (2)

Publication Number Publication Date
CN113181628A CN113181628A (en) 2021-07-30
CN113181628B true CN113181628B (en) 2023-03-28

Family

ID=76981288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110519644.1A Active CN113181628B (en) 2021-05-12 2021-05-12 Handle, correction method of button feedback force of handle, control device and storage medium

Country Status (2)

Country Link
CN (1) CN113181628B (en)
WO (1) WO2022237167A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113181628B (en) * 2021-05-12 2023-03-28 歌尔科技有限公司 Handle, correction method of button feedback force of handle, control device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110917613A (en) * 2019-11-30 2020-03-27 吉林大学 Intelligent game table mat based on vibration touch
CN111346367A (en) * 2020-02-27 2020-06-30 歌尔科技有限公司 Handle trigger adjusting device and handle with same

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5691898A (en) * 1995-09-27 1997-11-25 Immersion Human Interface Corp. Safe and low cost computer peripherals with force feedback for consumer applications
US6067077A (en) * 1998-04-10 2000-05-23 Immersion Corporation Position sensing for force feedback devices
US9423874B2 (en) * 2013-03-15 2016-08-23 Steelseries Aps Gaming accessory with sensory feedback device
JP6527339B2 (en) * 2015-01-27 2019-06-05 任天堂株式会社 Vibration signal generating program, vibration generating device, vibration generating system, and vibration signal generating method
US10649583B1 (en) * 2016-10-11 2020-05-12 Valve Corporation Sensor fusion algorithms for a handheld controller that includes a force sensing resistor (FSR)
WO2018094602A1 (en) * 2016-11-23 2018-05-31 深圳市汇顶科技股份有限公司 Method, device and equipment for detecting pressure
US10556174B2 (en) * 2017-10-25 2020-02-11 Microsoft Technology Licensing, Llc Calibration bias for control mechanisms in user input devices
US10434405B2 (en) * 2017-10-30 2019-10-08 Microsoft Technology Licensing, Llc Control stick sensitivity adjustment
CN109189212A (en) * 2018-08-14 2019-01-11 中新国际电子有限公司 A kind of touch-control feedback method and device and a kind of electronic equipment
US11094483B2 (en) * 2019-03-21 2021-08-17 Apple Inc. Keyboard with adjustable feedback
CN110750181A (en) * 2019-10-16 2020-02-04 南昌黑鲨科技有限公司 Remote control terminal and operation control method of remote control terminal
CN111948525B (en) * 2020-09-18 2022-08-30 珠海市精实测控技术有限公司 Method for adjusting elastic deformation of frame plate in FCT (Flexible Circuit test) tester
CN112337084B (en) * 2020-09-29 2022-12-09 歌尔科技有限公司 Rocker drift processing method and device
CN113181628B (en) * 2021-05-12 2023-03-28 歌尔科技有限公司 Handle, correction method of button feedback force of handle, control device and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110917613A (en) * 2019-11-30 2020-03-27 吉林大学 Intelligent game table mat based on vibration touch
CN111346367A (en) * 2020-02-27 2020-06-30 歌尔科技有限公司 Handle trigger adjusting device and handle with same

Also Published As

Publication number Publication date
WO2022237167A1 (en) 2022-11-17
CN113181628A (en) 2021-07-30

Similar Documents

Publication Publication Date Title
CN113181628B (en) Handle, correction method of button feedback force of handle, control device and storage medium
US7576732B2 (en) Scroll control method using a touchpad
JP3161919B2 (en) Parameter input device
US8957852B2 (en) Sensor mapping
US20110012829A1 (en) Cursor control method for controlling cursor displayed on monitor of electonic apparatus by means of pressure detection and cursor control device thereof
CN107477771B (en) Control method of air deflector, air conditioner, control device and storage medium
US10409489B2 (en) Input apparatus
CN105677226B (en) A kind of operating method and mobile terminal to application program
US8373656B2 (en) Finger pointing apparatus
US20150206672A1 (en) Keyboard, adjusted keyboard according to user operation and conducting strength adjustment method according to user operation
CN104461254A (en) Control device and device
CN110007847B (en) Writing method, device and equipment based on touch screen and readable storage medium
CN104715953A (en) Key switch device and keyboard
CN111840994B (en) Game control method, game control system, game handle, game terminal and readable storage medium
JPH10503867A (en) Dynamic target gain in capturing user actions
US10394325B2 (en) Input friction mechanism for rotary inputs of electronic devices
US9939922B2 (en) Input method of Chinese pinyin and terminal
CN110928449A (en) Touch screen point reporting method and device, electronic equipment and storage medium
CN110007786B (en) Method and related device for optimizing handle mapping to mouse sensitivity
CN111603760A (en) Game pad, method for acquiring control data of game pad, and computer-readable storage medium
EP2261786A2 (en) Method, system and computer program product for correcting software keyboard input
US6466201B1 (en) Keyboard keys or mouse buttons with active rebound
CN1949155B (en) Method and device of multi-sector controlling rolling stripe coiling
CN108153427B (en) Keyboard layout method and system and vehicle machine
CN104423614B (en) A kind of keyboard layout method, device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant