A method, device, handle and storage medium for controlling the feedback force of a trigger key
By integrating the position detection sensor and force feedback module in the handle, and adjusting the feedback force of the trigger key using the main control chip, the problem of poor smoothness of the trigger key feedback force in the prior art is solved, and a more efficient force feedback effect is achieved.
Patent Information
- Application Number
- CN202210763782.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-30
- Publication Date
- 2025-06-03
- Estimated Expiration
- 2042-06-30
AI Technical Summary
The feedback force of the trigger key in the existing handle is poor, which is difficult to adjust reasonably, affecting the user experience.
By integrating the position detection sensor and force feedback module in the handle, the main control chip controls the force feedback module to calculate the force difference based on the actual external force value and the target force value, and then adjust the feedback force of the trigger key, so that the combined force with the user's finger reaches the target force value.
It improves the stability of the trigger key feedback force, enhances the user's operating experience in the game, and provides a more realistic force feedback effect.
Smart Images

Figure CN114984567B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of game device control, and particularly to a method and device for controlling the feedback force of a trigger key, a handle, and a storage medium. Background Art
[0002] A handle is one of the main devices for users to interact with a host. Users can send specific instructions to the host through the buttons and joysticks on the handle. To improve the user experience in racing games and shooting games, a trigger key is also provided on the handle. In the related art, the trigger key feedback is usually achieved with a fixed force. When the force applied by the user to the trigger key changes, the smoothness of the force feedback effect is poor.
[0003] Therefore, how to reasonably adjust the feedback force of the trigger key and improve the smoothness of the force feedback effect is a technical problem that needs to be solved by those skilled in the art at present. Summary of the Invention
[0004] The purpose of this application is to provide a method and device for controlling the feedback force of a trigger key, a handle, and a storage medium, which can reasonably adjust the feedback force of the trigger key and improve the smoothness of the force feedback effect.
[0005] To solve the above technical problems, this application provides a method for controlling the feedback force of a trigger key, which is applied to the main control chip of a handle. The handle further includes a position detection sensor, a force feedback module, and a trigger key. The method for controlling the feedback force of the trigger key includes:
[0006] Determine the current position of the trigger key by using the position detection sensor;
[0007] Determine the actual external force value applied by the user's finger to the trigger key according to the current position;
[0008] Determine the target force value according to the user configuration and / or the current operation scenario of the host device;
[0009] Calculate the force difference according to the actual external force value and the target force value, and control the force feedback module to apply a force to the trigger key according to the force difference, so that the resultant force value of the user's finger and the force feedback module on the trigger key is the target force value.
[0010] Optionally, before determining the actual external force value applied by the user's finger to the trigger key according to the current position, it further includes:
[0011] Generate a corresponding relationship between force and position according to the motion-related parameters of the trigger key; wherein, the motion-related parameters include the spring force and friction force when the trigger key is at each position;
[0012] Correspondingly, determining the actual external force value exerted by the user's finger on the trigger key according to the current position includes:
[0013] Determining the actual external force value exerted by the user's finger on the trigger key when the trigger key is at the current position according to the corresponding relationship between the force and the position.
[0014] Optionally, before determining the target force value according to the user configuration and / or the current operation scenario of the host device, it further includes:
[0015] Determining the application currently launched by the host device connected to the handle, and determining the current operation scenario according to the application.
[0016] Optionally, after determining the current position of the trigger key by using the position detection sensor, it further includes:
[0017] Determining the moving distance of the trigger key according to the current position;
[0018] Judging whether the moving distance is greater than the activation threshold;
[0019] If so, enter the step of determining the actual external force value exerted by the user's finger on the trigger key according to the current position;
[0020] If not, after delaying for a preset duration, use the position detection sensor to re-determine the current position of the trigger key.
[0021] Optionally, controlling the force feedback module to apply a force to the trigger key according to the force difference includes:
[0022] If the actual external force value is less than the target force value, control the force feedback module to apply a force in the first direction to the trigger key; wherein, the first direction is the direction in which the user's finger exerts a force on the trigger key;
[0023] If the actual external force value is greater than the target force value, control the force feedback module to apply a force in the second direction to the trigger key; wherein, the second direction is the opposite direction of the first direction.
[0024] Optionally, controlling the force feedback module to apply a force to the trigger key according to the force difference includes:
[0025] By controlling the DC motor of the force feedback module to rotate forward or backward, so as to apply a force of the magnitude of the force difference to the trigger key.
[0026] The present application also provides a trigger key feedback force control device. The handle where the trigger key is located further includes a position detection sensor and a force feedback module. The trigger key feedback force control device includes:
[0027] A position determination module, configured to determine the current position of the trigger key by using the position detection sensor;
[0028] A finger force determination module, configured to determine the actual external force value exerted by the user's finger on the trigger key according to the current position;
[0029] A target force determination module, configured to determine a target force value according to user configuration and / or the current operation scenario of the host device;
[0030] A feedback force control module, configured to calculate a force difference according to the actual external force value and the target force value, and control the force feedback module to apply a force to the trigger key according to the force difference, so that the resultant force value of the user's finger and the force feedback module on the trigger key is the target force value.
[0031] The present application also provides a storage medium, on which a computer program is stored. When the computer program is executed, the steps performed by the above trigger key feedback force control method are realized.
[0032] The present application also provides a handle, including a memory, a main control chip, a position detection sensor, a force feedback module and a trigger key. A computer program is stored in the memory. When the processor calls the computer program in the memory, the steps performed by the above trigger key feedback force control method are realized.
[0033] Further, the position detection sensor is a Hall sensor, and a magnet is arranged on the trigger key.
[0034] The present application provides a main control chip applied to a handle. The handle further includes a position detection sensor, a force feedback module and a trigger key. The trigger key feedback force control method includes: determining the current position of the trigger key by using the position detection sensor; determining the actual external force value exerted by the user's finger on the trigger key according to the current position; determining a target force value according to user configuration and / or the current operation scenario of the host device; calculating a force difference according to the actual external force value and the target force value, and controlling the force feedback module to apply a force to the trigger key according to the force difference, so that the resultant force value of the user's finger and the force feedback module on the trigger key is the target force value.
[0035] This application uses a position detection sensor to determine the current position of the trigger key, and then determines the force difference by combining the actual external force value and the target force value corresponding to the current position. This application controls the force feedback module to apply a corresponding force to the trigger key according to the force difference, so that the resultant force value of the user's finger and the force feedback module on the trigger key reaches the target external force corresponding to the current position. In the above solution, the force output by the force feedback module is determined according to the position of the trigger key, which can reasonably adjust the feedback force of the trigger key and improve the smoothness of the force feedback effect. This application also provides a trigger key feedback force control device, a storage medium and a handle, which have the above beneficial effects and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] To more clearly illustrate the embodiments of the present application, the following will briefly introduce the drawings required in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0037] Figure 1 It is a flowchart of a method for controlling the feedback force of a trigger key provided by an embodiment of the present application;
[0038] Figure 2 It is a schematic structural diagram of a handle provided by an embodiment of the present application;
[0039] Figure 3 It is a flowchart of a method for controlling the feedback force of a main control chip provided by an embodiment of the present application;
[0040] Figure 4 It is a schematic diagram of a trigger mechanism provided by an embodiment of the present application;
[0041] Figure 5 It is a feedback force relationship diagram when the target force value Y is greater than the actual external force Z provided by an embodiment of the present application;
[0042] Figure 6 It is a feedback force relationship diagram when the target force value Y is less than the actual external force Z provided by an embodiment of the present application;
[0043] Figure 7 It is a schematic structural diagram of a trigger key feedback force control device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0044] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the following will clearly and completely describe the technical solutions in the embodiments of this application with reference to the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, rather than all of them. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in this application without creative efforts belong to the scope of protection of this application.
[0045] Please refer to the following Figure 1 , Figure 1 , which is a flowchart of a method for controlling the feedback force of a trigger key provided by an embodiment of this application.
[0046] The specific steps may include:
[0047] S101: Use the position detection sensor to determine the current position of the trigger key;
[0048] Among them, this embodiment can be applied to the main control chip of the handle. The handle further includes a position detection sensor, a force feedback module, and a trigger key (Trigger). The above handle can be connected to the host device in a wired or wireless manner and transmit a control signal to the host device.
[0049] The trigger key moves from the initial position to the current position under the action of the user's finger. In this step, a position detection sensor such as a Hall sensor or an infrared ranging sensor can be used to determine the current position of the trigger key. As a feasible implementation manner, this embodiment can use the degree of depression of the trigger key to represent the current position of the trigger key. For example, when the trigger key is in the initial position, the degree of depression is 0%, and when the trigger key is in the fully depressed state, the degree of depression is 100%.
[0050] S102: Determine the actual external force value applied by the user's finger to the trigger key according to the current position;
[0051] Among them, this embodiment can pre-store the actual external force value corresponding to each position of the trigger key. The above actual external force value refers to the force exerted by the user's finger on the trigger key.
[0052] Specifically, before determining the actual external force value exerted by the user's finger on the trigger button according to the current position, a corresponding relationship between force and position can also be generated based on the motion-related parameters of the trigger button; wherein, the motion-related parameters include the spring elastic force and friction force when the trigger button is at each position; correspondingly, the actual external force value exerted by the user's finger on the trigger button when the trigger button is at the current position can be determined according to the corresponding relationship between force and position. As a feasible implementation manner, a fitting function describing the corresponding relationship between force and position can be generated, and the current position where the trigger button is located is brought into the above fitting function to obtain the actual external force value exerted by the user's finger on the trigger button.
[0053] S103: Determine the target force value according to the user configuration and / or the current operation scenario of the host device;
[0054] Among them, before this step, an operation of determining the current operation scenario of the host device may exist, and then the target force value corresponding to the trigger button at the current position can be determined based on the corresponding relationship between the current operation scenario and the target force value. The above handle is connected to the host device, and the currently started application program of the host device connected to the handle can be determined, and the current operation scenario can be determined according to the application program.
[0055] In this embodiment, a corresponding operation scenario can be set for each application program, and a corresponding current operation scenario can also be set according to the picture currently presented by the application program, such as a racing scenario, a surfing scenario, a bow-drawing scenario, etc.
[0056] In this embodiment, the target force value can be determined according to the user configuration, or the target force value can be determined according to the current operation scenario of the host device. Further, a first reference force value can be determined according to the user configuration, a second reference force value can be determined according to the current operation scenario of the host device, and the target force value can be obtained by weighted calculation of the first reference force value and the second reference force value.
[0057] S104: Calculate the force difference according to the actual external force value and the target force value, and control the force feedback module to apply a force to the trigger button according to the force difference, so that the resultant force value of the user's finger and the force feedback module on the trigger button is the target force value.
[0058] Among them, this step is based on the premise that the actual external force value and the target force value have been determined. The force difference can be obtained by subtracting the target force value from the actual external force value, and the above force difference is used to describe the difference between the actual external force value and the target force value.
[0059] This application can control the force feedback module to apply a force to the trigger key according to the force difference, and the magnitude of the force applied by the force feedback module is equal to the magnitude of the force difference. In this way, the resultant force value of the user's finger and the force feedback module on the trigger key can be the target force value.
[0060] As a feasible implementation, the force feedback module includes a DC motor and a connecting rod gear-connected to the DC motor, and a feedback force is generated on the trigger key by rotating the motor. Specifically, the forward or reverse rotation of the DC motor of the force feedback module can be controlled to apply a force of the magnitude of the force difference to the trigger key.
[0061] In this embodiment, the position detection sensor is used to determine the current position of the trigger key, and then the force difference is determined by combining the actual external force value corresponding to the current position and the target force value. This embodiment controls the force feedback module to apply a corresponding force to the trigger key according to the force difference, so that the resultant force value of the user's finger and the force feedback module on the trigger key reaches the target external force corresponding to the current position. In the above solution, the force output by the force feedback module is determined according to the position of the trigger key, which can reasonably adjust the feedback force of the trigger key and improve the smoothness of the force feedback effect.
[0062] As for Figure 1 For further introduction of the corresponding embodiment, after using the position detection sensor to determine the current position of the trigger key, the moving distance of the trigger key can also be determined according to the current position; it is judged whether the moving distance is greater than the activation threshold; if so, the step of determining the actual external force value applied by the user's finger to the trigger key according to the current position is entered, that is, the relevant operations of S102 to S104 are executed; if not, after a preset delay duration, the position detection sensor is used to re-determine the current position of the trigger key, and after re-determining the current position of the trigger key, it can be judged whether the moving distance corresponding to the latest current position is greater than the activation threshold. In this way, the user's finger can start the feedback force control scheme after pressing the trigger key to a certain extent, reducing the overall power consumption of the handle.
[0063] As for Figure 1 For further introduction of the corresponding embodiment, if the actual external force value is equal to the target force value, the force feedback module may not be activated; if the actual external force value is less than the target force value, the force feedback module is controlled to apply a force in the first direction to the trigger key according to the force difference; wherein, the first direction is the direction in which the user's finger applies a force to the trigger key; if the actual external force value is greater than the target force value, the force feedback module is controlled to apply a force in the second direction to the trigger key according to the force difference; wherein, the second direction is the opposite direction of the first direction.
[0064] In the above manner, when the user applies a relatively small force with their finger, the force feedback module can assist the user in pressing the trigger key; in the above manner, when the user applies a relatively large force with their finger, the force feedback module can assist the trigger key in hindering the user from pressing the trigger key, improving the user experience.
[0065] The following uses an example in virtual reality technology to illustrate the process described in the above embodiments.
[0066] Currently, games are the main application field of virtual reality technology. There are mainly three product forms in the virtual reality market: virtual reality products based on external hosts, all-in-one virtual reality products, and mobile virtual reality products. Among them, virtual reality products based on external hosts can provide consumers with the best experience due to the powerful data processing and image rendering capabilities of external hosts (such as PC computers, game consoles, etc.). The head-mounted display is the main device of virtual reality, used to provide visual images to the experiencer. The video signal of the head-mounted display is obtained from an external host, and common interfaces include DisplayPort, HDMI, MHL, etc. Traditional head-mounted displays usually use a dedicated power interface or are powered through a USB interface, and the video signal is transmitted through a dedicated interface (such as DisplayPort, HDMI, etc.). The PC can recognize the video interface and USB interface to achieve data communication. However, if two or more head-mounted displays are plugged into the external host, the external host needs to use a certain method to identify the USB interface and video interface corresponding to a certain head-mounted display to achieve the correspondence of communication data.
[0067] With the gradual maturity of VR virtual reality technology in recent years, various VR products have emerged, and the VR handle is one of them. The VR handle is used to control the game handle to control the progress of the game. The combination of VR glasses + VR game handle can enable users to have a more real and shocking experience.
[0068] Usually, VR game handles will have a trigger key, and users can use the trigger key to control the actions in the game scene, such as accelerating when driving a racing car, grabbing an object, etc. The adaptive trigger force feedback function greatly improves the experience of the trigger and can more realistically simulate the feedback force in the game scene.
[0069] Please refer to Figure 2 , Figure 2A schematic diagram of a handle structure provided by an embodiment of the present application. The handle includes a main control chip, a Hall sensor, a trigger key, and a force feedback module. The main control chip can collect data from the Hall sensor and calculate the current position information of the trigger based on the data of the Hall sensor. Different target force values can be obtained according to different positions of the trigger, and the magnitude of the force that the force feedback module needs to provide can be calculated. The main control chip can control the force feedback module to generate a force feedback effect on the trigger key. The direction of the force can be positive (perpendicular to the finger and inward) or negative (perpendicular to the finger and outward). The main control chip can also change the magnitude of the force exerted by the trigger key on the user's hand according to different operation scenarios or user settings.
[0070] The above solution provides a stable force magnitude for the user. It is necessary to adjust the output force magnitude of the trigger force feedback module in real time, perform a vector operation on the force magnitude provided by the force feedback module and the force magnitude generated by external devices to obtain the force magnitude acting on the user's hand, so as to provide a more stable and realistic force feedback effect for the user. This solution proposes a method for stably adjusting the force of the trigger key. This method can control the forward and reverse rotation of the motor to provide positive or negative force by the motor, perform vector superposition on the force provided by the force feedback module and the external force, and obtain the force magnitude required by the user. Adjust the force magnitude and direction according to different scenarios to enhance the user experience.
[0071] Please refer to Figure 3 , Figure 3 A flowchart of a method for controlling the feedback force of the main control chip provided by an embodiment of the present application, specifically including the following steps:
[0072] S301: The system starts to work;
[0073] S302: The main control chip stores the actual external force values corresponding to the trigger key at each position determined according to the motion-related parameters;
[0074] The above motion-related parameters include the spring force, friction force, etc. of the trigger key at different positions;
[0075] S303: Set the target force value Y according to the user's usage scenario or set the force target value Y by the user.
[0076] S304: The main control chip collects data from the Hall sensor, calculates the current position X of the trigger key according to the data of the Hall sensor, and obtains the actual external force Z corresponding to the current position.
[0077] S305: Determine whether X is greater than the activation threshold; if not, go to S301; if so, go to S306;
[0078] S306: Determine whether Y > Z or Y < Z; if Y > Z, proceed to S307; if Y < Z, proceed to S308;
[0079] S307: Calculate that the magnitude of the force that the force feedback module needs to provide is F = Y - Z, and the direction is positive, that is, it is necessary to provide a force of F to perform vector superposition with the external force to obtain the required force value Y.
[0080] S308: Calculate that the magnitude of the force that the force feedback module needs to provide is F = Z - Y, and the direction is negative, that is, it is necessary to provide a force of F to perform vector superposition with the external force to obtain the required force value Y.
[0081] Since different usage scenarios require different forces, this force is the resultant force of the force provided by the force feedback module and the external force. Therefore, it is necessary to change the magnitude and direction of the force that the force feedback needs to provide in real time according to different external forces, so as to ensure the stability and consistency of the resultant force acting on the user's hand. This can improve the user experience.
[0082] Please refer to Figure 4 , Figure 4 which is a schematic diagram of a trigger mechanism provided by an embodiment of the present application. The trigger mechanism includes a trigger key and a force feedback module controlled by a motor. The force feedback module includes a DC motor and a connecting rod connected to the motor gear, which is used to generate a feedback force on the trigger key. The main control chip can control the forward or reverse rotation of the DC motor, so as to generate different force magnitudes and different force directions. A Hall sensor and a magnet are configured on the trigger mechanism to collect the position information of the trigger key. In the figure, trigger Travel is the trigger key stroke.
[0083] Please refer to Figure 5 and Figure 6 , Figure 5 which is a diagram showing the relationship of the feedback force when the target force value Y is greater than the actual external force Z provided by an embodiment of the present application, Figure 6 which is a diagram showing the relationship of the feedback force when the target force value Y is less than the actual external force Z provided by an embodiment of the present application.
[0084] Figure 5 and Figure 6It reflects the output relationship of the feedback strength under different conditions. When Y > Z, that is, the strength Y actually required by the user is greater than the actual external strength Z, then the main control chip needs to control the force feedback module to generate an effect with a strength of F = Y - Z, and perform positive control, and superimpose it with the external strength, so as to obtain a resultant force of Y. When Y < Z, that is, the strength Y actually required by the user is less than the actual external strength Z, then the main control chip needs to control the force feedback module to generate an effect with a strength of F = Z - Y, and perform reverse control, and superimpose it with the external strength, so as to obtain a resultant force of Y. The above method can control the positive or negative strength provided by the motor through the forward and reverse rotation of the motor, vectorially superimpose the strength provided by the force feedback module with the external strength, and obtain the strength value required by the user. Since the external strength is a variable force during the movement of the trigger, if the user wants to keep the strength uniform throughout the process, it is necessary to change the strength value and direction of the force feedback module in real time. This solution can improve the authenticity of the trigger during use and improve the user experience.
[0085] Please refer to Figure 7 , Figure 7 which is a schematic structural diagram of a trigger key feedback strength control device provided by an embodiment of the present application; the handle where the trigger key is located further includes a position detection sensor and a force feedback module, and the trigger key feedback strength control device includes:
[0086] A position determination module 701, configured to determine the current position of the trigger key by using the position detection sensor;
[0087] A finger strength determination module 702, configured to determine the actual external strength value applied by the user's finger to the trigger key according to the current position;
[0088] A target strength determination module 703, configured to determine a target strength value according to user configuration and / or the current operation scenario of the host device;
[0089] A feedback strength control module 704, configured to calculate a strength difference according to the actual external strength value and the target strength value, and control the force feedback module to apply a force to the trigger key according to the strength difference, so that the resultant force value of the user's finger and the force feedback module on the trigger key is the target strength value.
[0090] In this embodiment, a position detection sensor is used to determine the current position of the trigger key, and then a force difference is determined by combining the actual external force value corresponding to the current position and the target force value. According to the force difference, this embodiment controls the force feedback module to apply a corresponding force to the trigger key, so that the resultant force value of the user's finger and the force feedback module on the trigger key reaches the target external force corresponding to the current position. In the above solution, the force output by the force feedback module is determined according to the position of the trigger key, which can reasonably adjust the feedback force of the trigger key and improve the smoothness of the force feedback effect.
[0091] Further, it further includes:
[0092] A relationship determination module, configured to generate a corresponding relationship between force and position according to the motion-related parameters of the trigger key before determining the actual external force value applied by the user's finger to the trigger key according to the current position; wherein, the motion-related parameters include the spring force and friction force when the trigger key is at each position.
[0093] Correspondingly, the finger force determination module 702 is configured to determine the actual external force value applied by the user's finger to the trigger key when the trigger key is at the current position according to the corresponding relationship between force and position.
[0094] Further, it further includes:
[0095] A scene determination module, configured to determine the application program currently started by the host device connected to the handle before determining the target force value according to the user configuration and / or the current operation scene of the host device, and determine the current operation scene according to the application program.
[0096] Further, it further includes:
[0097] A judgment module, configured to determine the moving distance of the trigger key according to the current position after using the position detection sensor to determine the current position of the trigger key; and further configured to judge whether the moving distance is greater than the activation threshold; if so, start the working process corresponding to the finger force determination module 702; if not, after delaying a preset duration, use the position detection sensor to re-determine the current position of the trigger key.
[0098] Further, the process by which the feedback force control module 704 controls the force feedback module to apply a force to the trigger key according to the force difference includes: if the actual external force value is less than the target force value, controlling the force feedback module to apply a force in a first direction to the trigger key; wherein, the first direction is the direction in which the user's finger applies a force to the trigger key; if the actual external force value is greater than the target force value, controlling the force feedback module to apply a force in a second direction to the trigger key; wherein, the second direction is the opposite direction of the first direction.
[0099] Further, the process by which the feedback force control module 704 controls the force feedback module to apply a force to the trigger key according to the force difference includes: by controlling the direct current motor of the force feedback module to rotate forward or backward, so as to apply a force of the magnitude of the force difference to the trigger key.
[0100] This application also provides a storage medium, on which a computer program is stored, and when the computer program is executed, the steps provided in the above embodiments can be implemented. The storage medium may include: various media such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks, or optical discs that can store program codes.
[0101] This application also provides a handle, including a memory, a main control chip, a position detection sensor, a force feedback module, and a trigger key. A computer program is stored in the memory, and when the main control chip calls the computer program in the memory, the steps of the above trigger key feedback force control method are implemented.
[0102] Further, the position detection sensor is a Hall sensor, and a magnet is provided on the trigger key.
[0103] Since the embodiments of the device, storage medium, and handle parts correspond to the embodiments of the method part, for the descriptions of the embodiments of the device part, please refer to the descriptions of the embodiments of the method part, which will not be elaborated here for the time being.
[0104] The various embodiments in the specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. The same or similar parts among the various embodiments can be referred to each other. For the device disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the description in the method part. It should be noted that for those of ordinary skill in the art in this technical field, without departing from the principle of this application, several improvements and modifications can still be made to this application, and these improvements and modifications also fall within the protection scope of the claims of this application.
[0105] It should also be noted that in this specification, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements not only includes those elements but also includes other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the phrase "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the element.
Claims
1. A method for controlling the feedback force of a trigger key, which is applied to the main control chip of a handle. The handle further includes a position detection sensor, a force feedback module, and a trigger key. Characterized in that, The method for controlling the feedback force of the trigger key includes: Using the position detection sensor to determine the current position of the trigger key; Determining the actual external force value applied by the user's finger to the trigger key according to the current position; Determining the target force value according to user configuration and / or the current operation scenario of the host device; Calculating the force difference according to the actual external force value and the target force value, and controlling the force feedback module to apply a force to the trigger key according to the force difference, so that the resultant force value of the user's finger and the force feedback module on the trigger key is the target force value; Wherein, before determining the actual external force value applied by the user's finger to the trigger key according to the current position, it further includes: Generating a corresponding relationship between force and position according to the motion-related parameters of the trigger key; wherein, the motion-related parameters include the spring force and friction force when the trigger key is at each position; Correspondingly, determining the actual external force value applied by the user's finger to the trigger key according to the current position includes: Determining the actual external force value applied by the user's finger to the trigger key when the trigger key is at the current position according to the corresponding relationship between force and position.
2. The method for controlling the feedback force of a trigger key according to claim 1, Characterized in that, Before determining the target force value according to user configuration and / or the current operation scenario of the host device, it further includes: Determining the application program currently started by the host device connected to the handle, and determining the current operation scenario according to the application program.
3. The method for controlling the feedback force of a trigger key according to claim 1, Characterized in that, After using the position detection sensor to determine the current position of the trigger key, it further includes: Determining the moving distance of the trigger key according to the current position; Judging whether the moving distance is greater than the activation threshold; If so, entering the step of determining the actual external force value applied by the user's finger to the trigger key according to the current position; If not, after delaying a preset duration, using the position detection sensor to re-determine the current position of the trigger key.
4. The method for controlling the feedback force of a trigger key according to claim 1, Characterized in that, Controlling the force feedback module to apply a force to the trigger key according to the force difference includes: If the actual external force value is less than the target force value, controlling the force feedback module to apply a force in the first direction to the trigger key according to the force difference; wherein, the first direction is the direction in which the user's finger applies a force to the trigger key; If the actual external force value is greater than the target force value, controlling the force feedback module to apply a force in the second direction to the trigger key according to the force difference; wherein, the second direction is the opposite direction of the first direction.
5. The method for controlling the feedback force of a trigger key according to claim 1, Characterized in that, Controlling the force feedback module to apply a force to the trigger key according to the force difference includes: By controlling the DC motor of the force feedback module to rotate forward or backward, so as to apply a force of the magnitude of the force difference to the trigger key.
6. A trigger key feedback force control device, the handle where the trigger key is located further includes a position detection sensor and a force feedback module, Characterized in that, The trigger key feedback force control device includes: A position determination module, configured to determine the current position of the trigger key by using the position detection sensor; A finger force determination module, configured to determine the actual external force value applied by the user's finger to the trigger key according to the current position; A target force determination module, configured to determine a target force value according to user configuration and / or the current operation scenario of the host device; A feedback force control module, configured to calculate a force difference according to the actual external force value and the target force value, and control the force feedback module to apply a force to the trigger key according to the force difference, so that the resultant force value of the user's finger and the force feedback module on the trigger key is the target force value; A relationship determination module, configured to generate a corresponding relationship between force and position according to the motion-related parameters of the trigger key before determining the actual external force value applied by the user's finger to the trigger key according to the current position; wherein, the motion-related parameters include the spring force and friction force when the trigger key is at each position; Correspondingly, the finger force determination module is configured to determine the actual external force value applied by the user's finger to the trigger key when the trigger key is at the current position according to the corresponding relationship between force and position.
7. A handle, including a memory, a main control chip, a position detection sensor, a force feedback module and a trigger key, and a computer program is stored in the memory, Characterized in that, When the main control chip calls the computer program in the memory, the steps of the trigger key feedback force control method according to any one of claims 1 to 5 are implemented.
8. The handle according to claim 7, Characterized in that, The position detection sensor is a Hall sensor, and a magnet is arranged on the trigger key.
9. A storage medium, Characterized in that, Computer-executable instructions are stored in the storage medium, and when the computer-executable instructions are loaded and executed by a processor, the steps of the trigger key feedback force control method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Input device with force sensor feedback trigger
CN110709144A
Force feedback control method and device for trigger button, electronic product and medium
CN113842634A