Force feedback device and force feedback method

By detecting the user's pressure value on the keys in real time in the force feedback device and dynamically adjusting the driving parameters, the problem of insufficient flexibility and stability of the force feedback device in the existing technology is solved, and a more efficient force feedback effect is achieved.

CN118649408APending Publication Date: 2024-09-17VIVO MOBILE COMM CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410812073.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Existing force feedback devices have deficiencies in force feedback flexibility, accuracy, and stability. They cannot be adjusted according to different game scenarios, and their complex structures are susceptible to environmental interference, which reduces the authenticity and accuracy of force feedback.

Method used

A force feedback device including a button, a detection component, a driving component and a feedback control component is designed. By detecting the user's pressure value on the button in real time, the driving parameters are dynamically determined to achieve force feedback on the button and improve the flexibility of the force feedback. , accuracy and stability.

Benefits of technology

By dynamically identifying the button status, automatic recognition and adjustment of force feedback are realized, which improves the flexibility, accuracy and stability of force feedback, reduces dependence on the environment, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118649408A
    Figure CN118649408A
Patent Text Reader

Abstract

The invention discloses a force feedback device and a force feedback method, and belongs to the technical field of electronic equipment. The force feedback device comprises a key used for receiving user input; the detection assembly is connected with the key and is used for detecting a pressure value of a user on the key; the driving assembly is connected with the key; the feedback control assembly is connected with the detection assembly and the driving assembly, and the feedback control assembly is used for determining driving parameters of the driving assembly according to the pressure value and controlling the driving assembly to work according to the driving parameters so that the driving assembly can conduct force feedback on the key.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to a force feedback device and a force feedback method. Background Art

[0002] At present, with the development of electronic equipment technology, controller devices (such as video game devices, controllers, game handles) can provide users with kinesthetic feedback (such as force feedback) and tactile feedback (such as vibration, texture and heat). The above feedback methods are generally referred to as "tactile force feedback" or "tactile effects". Tactile force feedback can enhance and simplify the clues of the user interface to remind users of specific events, and can also provide users with real feedback to simulate the real environment.

[0003] However, current force feedback solutions either cannot be adjusted according to different game scenarios, reducing the flexibility of force feedback and thus reducing the realism of the simulated environment, or the force feedback device has a complex structure, a low measurement range and accuracy, and is easily affected by environmental interference, reducing the accuracy and stability of the force feedback. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a force feedback device and a force feedback method, which can dynamically identify the key state and perform force feedback, thereby improving the flexibility, accuracy and stability of force feedback.

[0005] In a first aspect, an embodiment of the present application provides a force feedback device, which includes: a button for receiving user input; a detection component connected to the button, the detection component being used to detect the pressure value of the user on the button; a drive component connected to the button; a feedback control component connected to both the detection component and the drive component, the feedback control component being used to determine the drive parameters of the drive component according to the pressure value, and control the operation of the drive component according to the drive parameters, so that the drive component performs force feedback on the button.

[0006] In a second aspect, an embodiment of the present application provides a force feedback method, which is used in a force feedback device such as the first aspect. The force feedback method includes: detecting the pressure value of a user on a key; determining a driving parameter of a driving component based on the pressure value; and controlling the operation of the driving component based on the driving parameter so that the driving component performs force feedback on the key.

[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the force feedback method of the second aspect are implemented.

[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium having a program or instruction stored thereon, and when the program or instruction is executed by a processor, the steps of the force feedback method of the second aspect are implemented.

[0009] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the steps of the force feedback method of the second aspect.

[0010] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the force feedback method of the second aspect.

[0011] The force feedback device provided in the embodiment of the present application includes a button, a detection component, a drive component and a feedback control component. Wherein, the detection component and the drive component are both connected to the button, and the feedback control component is connected to the detection component and the drive component. Further, the button is used to receive user input, the detection component is used to detect the pressure value of the user on the button, and the feedback control component is used to determine the driving parameters of the drive component according to the pressure value, and control the drive component to work according to the driving parameters, so that the drive component performs force feedback on the button. Through the above-mentioned force feedback device, the pressure value of the user on the button is dynamically detected in real time by the detection component, and the corresponding driving parameters are dynamically determined based on the detected pressure value, and then the driving component is enabled to perform force feedback on the button based on the driving parameters. In this way, by detecting the pressure value of the user on the button in real time, the state of the button being pressed can be dynamically identified, and then the button is subjected to corresponding force feedback based on the button state, thereby improving the flexibility, accuracy and stability of force feedback. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 A structural block diagram of a force feedback device provided in an embodiment of the present application;

[0013] Figure 2 A schematic diagram of the structure of a force feedback device provided in an embodiment of the present application;

[0014] Figure 3 It is one of the structural schematic diagrams of the force feedback device in the related art;

[0015] Figure 4 The second structural diagram of the force feedback device in the related art;

[0016] Figure 5 One of the flow charts of the force feedback method provided in the embodiment of the present application;

[0017] Figure 6 A second flow chart of the force feedback method provided in an embodiment of the present application;

[0018] Figure 7 A structural block diagram of an electronic device provided in an embodiment of the present application;

[0019] Figure 8 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.

[0020] Reference numerals:

[0021] 100 force feedback device, 102 button, 104 detection component, 106 drive component, 108 feedback control component, 110 drive member, 112 transmission component, 114 hydraulic cylinder, 116 servo valve, 118 pipeline, 120 transmission member, 122 amplifier, 124 controller, 126 displacement sensor, 128 hydraulic oil, 130 pressure sensor. DETAILED DESCRIPTION

[0022] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0023] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0024] The force feedback device and the force feedback method provided in the embodiments of the present application are described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0025] like Figure 1 As shown, the embodiment of the present application provides a force feedback device 100 , wherein the force feedback device 100 includes a button 102 , a detection component 104 , a driving component 106 and a feedback control component 108 .

[0026] The button 102 is used to receive a pressing input from a user.

[0027] Furthermore, the detection component 104 is connected to the button 102. The detection component 104 is used to detect the pressure value of the user on the button 102, and the pressure value can be used to represent the degree of the user's pressing on the button 102, that is, the pressure value can be used to represent the state of the button 102.

[0028] Among them, when the user's pressure value on the key 102 is not zero, but the displacement of the key 102 is zero, the key 102 is in a balanced state; when the user's pressure value on the key 102 is not zero, and the displacement of the key 102 is not zero, the key 102 is in an unbalanced state.

[0029] Furthermore, the driving component 106 is connected to the button 102. The driving component 106 can provide different magnitudes of reaction forces to the button 102, thereby realizing force feedback of different strengths to the button 102.

[0030] Furthermore, the feedback control component 108 is connected to the detection component 104. The feedback control component 108 can receive the pressure value detected by the detection component 104 and determine the driving parameters of the driving component 106 according to the pressure value.

[0031] Furthermore, the feedback control component 108 is also connected to the driving component 106. The feedback control component 108 can control the driving component 106 to work according to the determined driving parameters, so that the driving component 106 performs force feedback on the key 102.

[0032] It is understandable that if Figure 3 As shown, in the related art, the force feedback device uses a force feedback button with a spring structure to provide force feedback. Since the force value curve of the spring structure is fixed, the force feedback effect cannot be adjusted according to different game scenarios, which reduces the flexibility of the force feedback and thus reduces the realism of the simulated environment.

[0033] Or, if Figure 4 As shown, in the related art, a force feedback button, a drive structure (such as a motor), a connection structure (such as a gear mechanical structure), and a spring are set in the force feedback device. When the user presses the force feedback button, the preload of the spring is adjusted by the drive structure, and different force value curves are obtained by the cooperation of the drive structure and the connection structure with the spring, thereby realizing force feedback of different strengths, so that the user can adjust different force feedback strengths according to different game scenes. However, the above force feedback scheme has a complex structure, and requires the cooperation of motors, gear mechanical structures, springs and other structures to realize force feedback of different strengths. The measurement range and accuracy are not high, and user debugging is required. It is easily affected by environmental interference, which reduces the stability of force feedback.

[0034] Therefore, the force feedback device 100 provided in the embodiment of the present application receives user input through the button 102 during operation, and dynamically detects the pressure value of the user on the button 102 in real time through the detection component 104, and then dynamically determines the corresponding driving parameters based on the detected pressure value, and enables the driving component 106 to perform force feedback on the button 102 based on the driving parameters. In this way, by detecting the pressure value of the user on the button 102 in real time, it is possible to dynamically identify the state of the button 102 being pressed, and then perform corresponding force feedback on the button 102 based on the state of the button 102, with a wide dynamic detection range and high measurement accuracy, thereby improving the flexibility, accuracy and stability of the force feedback. In addition, the force feedback device 100 provided in the embodiment of the present application dynamically adjusts the force feedback effect based on the state of the button 102, realizes automatic recognition and adjustment of the force feedback, does not require any manual setting, is not easily affected by the environment, and further improves the accuracy and stability of the force feedback.

[0035] According to the force feedback device 100 of the embodiment of the present application, it includes a button 102, a detection component 104, a drive component 106 and a feedback control component 108. Among them, the detection component 104 and the drive component 106 are both connected to the button 102, and the feedback control component 108 is connected to both the detection component 104 and the drive component 106. Further, the button 102 is used to receive user input, the detection component 104 is used to detect the pressure value of the user on the button 102, and the feedback control component 108 is used to determine the driving parameters of the drive component 106 according to the pressure value, and control the drive component 106 to work according to the driving parameters, so that the drive component 106 performs force feedback on the button 102. Through the above-mentioned force feedback device 100, the pressure value of the user on the button 102 is detected in real time and dynamically through the detection component 104, and the corresponding driving parameters are dynamically determined based on the detected pressure value, and then the driving component 106 is enabled to perform force feedback on the button 102 based on the driving parameters. In this way, by detecting the user's pressure value on the button 102 in real time, the pressed state of the button 102 can be dynamically identified, and then the button 102 can be given corresponding force feedback based on the state of the button 102, thereby improving the flexibility, accuracy and stability of the force feedback.

[0036] According to some embodiments of the present application, optionally, Figure 2 As shown, the drive assembly 106 includes a drive member 110 and a transmission assembly 112 .

[0037] Among them, Figure 2 As shown, the driving member 110 is connected to the key 102 . The driving member 110 can provide reaction forces of different magnitudes to the key 102 by moving toward the key 102 , thereby achieving force feedback effects of different strengths on the key 102 .

[0038] In actual application, the driving member 110 may be a transmission pressure rod, which is not specifically limited herein.

[0039] Furthermore, the transmission component 112 is connected to the feedback control component 108. The above driving parameters are specifically driving parameters of the transmission component 112, and the feedback control component 108 can control the transmission component 112 to work according to the determined driving parameters.

[0040] Furthermore, the transmission assembly 112 is also connected to the driver 110. Under the control of the feedback control assembly 108, the transmission assembly 112 can enable the driver 110 to move toward the key 102, so that the driver 110 reacts to the key 102 to achieve force feedback to the key 102.

[0041] Specifically, during the operation of the force feedback device 100, when the user presses the button 102, the detection component 104 detects the pressure value of the user on the button 102, and the feedback control component 108 determines the driving parameters of the transmission component 112 according to the pressure value detected by the detection component 104, and controls the transmission component 112 to work according to the determined driving parameters, so as to control the transmission component 112 to enable the driving member 110, so that the driving member 110 moves, so as to provide a reaction force for the user's pressure to the button 102 through the driving member 110, thereby achieving a corresponding force feedback effect. In this way, the movement of the driving member 110 is controlled based on the state of the button 102, so as to dynamically adjust the reaction force of the driving member 110 on the button 102, and can automatically achieve force feedback effects of different forces based on the specific situation of the user pressing the button 102, which is not easily affected by the environment, and has a wide dynamic detection range and high measurement accuracy, thereby improving the flexibility, accuracy and stability of the force feedback.

[0042] According to the force feedback device 100 of the embodiment of the present application, the driving component 106 includes a driving member 110 and a transmission component 112. The driving member 110 is connected to the button 102; the transmission component 112 is connected to both the feedback control component 108 and the driving member 110. Further, the feedback control component 108 is used to control the transmission component 112 to enable the driving member 110 according to the driving parameters, so that the driving member 110 provides force feedback for the button 102. In this way, the movement of the driving member 110 is dynamically controlled based on the state of the button 102, and the force feedback effect of the driving member 110 on the button 102 can be dynamically adjusted, and the force feedback effect of different forces for different states of the button 102 is automatically realized, which is not easily affected by the environment, and has a wide dynamic detection range and high measurement accuracy, thereby improving the flexibility, accuracy and stability of the force feedback.

[0043] According to some embodiments of the present application, optionally, Figure 2As shown, the transmission assembly 112 includes a hydraulic cylinder 114 , a servo valve 116 , a pipeline 118 and a transmission member 120 .

[0044] Among them, the above-mentioned driving member 110 is partially arranged in the hydraulic cylinder 114, and the hydraulic oil 128 is stored in the hydraulic cylinder 114. The hydraulic oil 128 in the hydraulic cylinder 114 can provide thrust for the driving member 110. By adjusting the volume and position of the hydraulic oil 128 in the hydraulic cylinder 114, the thrust of the hydraulic oil 128 on the driving member 110 can be controlled, thereby controlling the moving distance of the driving member 110 and controlling the reaction force of the driving member 110 on the button 102, thereby realizing force feedback of different forces to the button 102.

[0045] Furthermore, the servo valve 116 is connected to the feedback control component 108 , and the feedback control component 108 can control and adjust the working pressure of the servo valve 116 .

[0046] Furthermore, the pipeline 118 can connect the hydraulic cylinder 114 and the servo valve 116 so that the hydraulic oil 128 can flow between the different cylinder bodies of the hydraulic cylinder 114 and the servo valve 116, thereby adjusting the volume of the hydraulic oil 128 in the different cylinder bodies of the hydraulic cylinder 114 and the servo valve 116 and adjusting the pressure values ​​in the different cylinder bodies of the hydraulic cylinder 114 and the servo valve 116.

[0047] Further, the transmission member 120 is connected to the feedback control assembly 108, and the transmission member 120 is partially disposed in the servo valve 116. The above-mentioned driving parameters can specifically be driving parameters of the transmission member 120, and the feedback control assembly 108 can control the movement of the transmission member 120 according to the driving parameters, thereby adjusting the position of the transmission member 120 in the servo valve 116, thereby adjusting the working pressure of the servo valve 116.

[0048] On this basis, after controlling the movement of the transmission member 120 to adjust the working pressure of the servo valve 116, since the pipeline 118 connects the hydraulic cylinder 114 and the servo valve 116, under the action of the pressure in the servo valve 116, the hydraulic oil 128 in the hydraulic cylinder 114 is compressed in the direction toward or away from the driving member 110, and the position of the hydraulic oil 128 in the hydraulic cylinder 114 changes, so that the hydraulic oil 128 in the hydraulic cylinder 114 provides a force for the driving member 110, so that the driving member 110 moves toward or away from the button 102, thereby realizing force feedback to the button 102 and adjusting the force of the force feedback to the button 102.

[0049] In actual application, the transmission member 120 may be a transmission connecting rod, which is not specifically limited herein.

[0050] Specifically, during the operation of the force feedback device 100, when the user presses the button 102, the detection component 104 detects the pressure value of the user on the button 102, and the feedback control component 108 determines the driving parameters of the transmission member 120 according to the pressure value detected by the detection component 104, and controls the transmission member 120 to move in the servo valve 116 according to the determined driving parameters to adjust the working pressure of the servo valve 116, so that under the action of the pressure in the servo valve 116, the hydraulic oil 128 in the hydraulic cylinder 114 is compressed, so that the position of the hydraulic oil 128 in the hydraulic cylinder 114 changes, so that the hydraulic oil 128 generates a thrust on the driving member 110, so that the driving member 110 provides a reaction force to the user pressure for the button 102, thereby achieving a corresponding force feedback effect. In this way, the movement of the transmission member 120 is controlled based on the state of the button 102 to adjust the working pressure of the servo valve 116, which can drive the driving member 110 to move, thereby automatically realizing force feedback effects of different forces on the button 102 through the reaction force of the driving member 110 on the button 102. It is not easily affected by environmental interference, and has a wide dynamic detection range and high measurement accuracy, thereby improving the flexibility, accuracy and stability of force feedback.

[0051] According to the force feedback device 100 of the embodiment of the present application, the transmission component 112 includes a hydraulic cylinder 114, a servo valve 116, a pipeline 118 and a transmission member 120. Among them, the driving member 110 is partially arranged in the hydraulic cylinder 114, and the hydraulic cylinder 114 stores hydraulic oil 128; the servo valve 116 is connected to the feedback control component 108; the pipeline 118 connects the hydraulic cylinder 114 and the servo valve 116, and the pipeline 118 is used to allow the hydraulic oil 128 to flow between the hydraulic cylinder 114 and the servo valve 116; the transmission member 120 is connected to the feedback control component 108, and the transmission member 120 is partially arranged in the servo valve 116. Further, the feedback control component 108 is used to control the movement of the transmission member 120 according to the driving parameters, so as to adjust the working pressure of the servo valve 116, adjust the position of the hydraulic oil 128 in the hydraulic cylinder 114, and make the driving member 110 move toward or away from the button 102. In this way, the movement of the transmission member 120 is dynamically controlled based on the state of the button 102 to adjust the working pressure of the servo valve 116, which can drive the driving member 110 to move, thereby dynamically adjusting the force feedback effect of the driving member 110 on the button 102, and automatically realizing force feedback effects of different forces for different states of the button 102. It is not easily affected by environmental interference, and has a wide dynamic detection range and high measurement accuracy, thereby improving the flexibility, accuracy and stability of force feedback.

[0052] According to some embodiments of the present application, optionally, Figure 2 As shown, the feedback control assembly 108 includes an amplifier 122 and a controller 124 .

[0053] The amplifier 122 is connected to the detection component 104. The amplifier 122 can receive the pressure value detected by the detection component 104 and amplify the pressure value detected by the detection component 104 so that the controller 124 can process the pressure value later.

[0054] Furthermore, the controller 124 is connected to the amplifier 122. The controller 124 can receive the pressure value amplified by the amplifier 122, determine the driving parameter according to the amplified pressure value, and then control the transmission member 120 to move according to the driving parameter.

[0055] Furthermore, the amplifier 122 is also connected to the servo valve 116 , and the controller 124 can transmit control instructions to the servo valve 116 through the amplifier 122 , thereby controlling the working pressure in the servo valve 116 .

[0056] Specifically, during the operation of the force feedback device 100, when the user presses the button 102, the detection component 104 detects the pressure value of the user on the button 102, and the amplifier 122 receives the pressure value detected by the detection component 104 and amplifies it, and then transmits the amplified pressure value to the controller 124. The controller 124 receives the amplified pressure value of the amplifier 122, and determines the above-mentioned driving parameters according to the amplified pressure value, and then transmits the control instruction to the servo valve 116 through the amplifier 122 according to the driving parameters, so as to control the movement of the transmission member 120 in the servo valve 116, thereby controlling the working pressure in the servo valve 116, so as to drive the driving member 110 to move under the impetus of the pressure in the servo valve 116, so as to provide the button 102 with a reaction force against the user pressure through the driving member 110, thereby achieving the corresponding force feedback effect. In this way, force feedback is automatically performed on the button 102 based on the user's pressure signal on the button 102, and force feedback effects of different strengths can be automatically achieved based on the specific situation of the user pressing the button 102. It is not easily affected by environmental interference, and has a wide dynamic detection range and high measurement accuracy, thereby improving the flexibility, accuracy and stability of the force feedback.

[0057] According to the force feedback device 100 of the embodiment of the present application, the feedback control component 108 includes an amplifier 122 and a controller 124. The amplifier 122 is connected to the detection component 104 and the servo valve 116, and the controller 124 is connected to the amplifier 122. Furthermore, the amplifier 122 is used to amplify the pressure value detected by the detection component 104; the controller 124 is used to determine the drive parameters according to the pressure value after the amplification process, and control the movement of the transmission member 120 according to the drive parameters. In this way, force feedback is automatically performed on the key 102 based on the pressure signal of the user on the key 102, and force feedback effects of different forces can be automatically achieved based on the specific situation of the user pressing the key 102. It is not easily affected by environmental interference, and has a wide dynamic detection range and high measurement accuracy, thereby improving the flexibility, accuracy and stability of force feedback.

[0058] According to some embodiments of the present application, optionally, the above-mentioned driving parameters may specifically include the working pressure of the servo valve 116 .

[0059] On this basis, in the process of the controller 124 determining the above-mentioned driving parameters according to the pressure value detected by the detection component 104, the controller 124 can specifically calculate the first pressure value and the pressure change value according to the multiple pressure values ​​detected by the detection component 104 within the target period. Further, the controller 124 compares the calculated pressure change value with the set second pressure value. When the pressure change value is less than or equal to the second pressure value, the controller 124 determines the working pressure of the servo valve 116 according to the first pressure value; when the pressure change value is greater than the second pressure value, the controller 124 determines the working pressure of the servo valve 116 according to the first pressure value and the pressure change value. In this way, based on the specific pressing situation of the button 102 by the user, the working pressure of the servo valve 116 is dynamically determined, and the working pressure of the servo valve 116 can be dynamically controlled according to the state of the button 102, thereby driving the driving member 110 to move to different degrees, so that the driving member 110 provides different magnitudes of reaction force to the button 102, and realizes force feedback of different strengths to the button 102.

[0060] In which, when the controller 124 calculates the first pressure value based on multiple pressure values ​​detected by the detection component 104 within the target time period, the controller 124 can determine the average value of the multiple pressure values ​​as the above-mentioned first pressure value, which is used to characterize the external pressure value of the user on the button 102.

[0061] Furthermore, when the controller 124 calculates the pressure change value according to the multiple pressure values ​​detected by the detection component 104 within the target time period, the controller 124 may specifically calculate the pressure change value by a pressure difference integral averaging method.

[0062] In actual application, the specific value of the above target time period can be set by those skilled in the art according to actual conditions, and no specific limitation is made here.

[0063] Furthermore, the second pressure value is a set standard value, and the second pressure value can be obtained through testing and calibration, and is not specifically limited herein.

[0064] When the pressure change value is less than or equal to the second pressure value, the pressure value of the user on the key 102 is not zero, but the displacement of the key 102 is zero. At this time, the key 102 is in a balanced state, the first pressure value is a balanced force, and the reaction force of the driving member 110 on the key 102 is equal to the first pressure value.

[0065] On this basis, when the pressure change value is less than or equal to the second pressure value, in the process of the controller 124 determining the working pressure of the servo valve 116 according to the first pressure value, the working pressure of the servo valve 116 can be calculated specifically according to the following formula (1):

[0066] F1=K×P1×S, (1)

[0067] Among them, F1 represents the reaction force of the driving member 110 on the button 102, F1 is equal to the first pressure value, K represents the transmission pressure coefficient of the driving member 110, P1 represents the working pressure of the servo valve 116, and S represents the area of ​​the hydraulic cylinder 114 pushing the driving member 110.

[0068] Based on this, after calculating the working pressure P1, the controller 124 can send a control instruction to the servo valve 116 to control the working pressure in the servo valve 116 to be P1, thereby pushing the hydraulic oil 128 in the hydraulic cylinder 114 and transmitting F1 to the button 102 through the driving member 110 to achieve a force feedback effect.

[0069] Furthermore, when the pressure change value is greater than the second pressure value, the pressure value of the user on the key 102 is not zero, and the displacement of the key 102 is not zero. At this time, the key 102 is in an unbalanced state, the first pressure value is an unbalanced force, and the reaction force of the driving member 110 on the key 102 is the sum of the first pressure value and the pressure change value.

[0070] On this basis, when the pressure change value is greater than the second pressure value, in the process in which the controller 124 determines the working pressure of the servo valve 116 according to the first pressure value and the pressure change value, the working pressure of the servo valve 116 can be calculated specifically according to the following formula (2):

[0071] F2=K×P2×S=F+T1, (2)

[0072] Among them, F2 represents the reaction force of the driving member 110 on the button 102, F represents the first pressure value, T1 represents the pressure change value, K represents the transmission pressure coefficient of the driving member 110, P2 represents the working pressure of the servo valve 116, and S represents the area of ​​the hydraulic cylinder 114 pushing the driving member 110.

[0073] Based on this, after calculating the working pressure P2, the controller 124 can send a control instruction to the servo valve 116 to control the working pressure in the servo valve 116 to be P2, thereby pushing the hydraulic oil 128 in the hydraulic cylinder 114 and transmitting F2 to the button 102 through the driving member 110 to achieve a force feedback effect.

[0074] Specifically, the force feedback device 100 provided in the embodiment of the present application utilizes the detection component 104 to detect the external pressure value exerted on the button 102, where the external pressure value is the pressure value exerted on the button 102 by the user, and then controls the servo valve 116 to operate at different pressures by comparing the difference between the thrust of the hydraulic cylinder 114 acting on the driving member 110 and the above-mentioned external pressure value, so as to compress the hydraulic oil 128 in the hydraulic cylinder 114 through the working pressure in the servo valve 116, and push the driving member 110 through the hydraulic oil 128, so that the driving member 110 reacts to the button 102, thereby dynamically adjusting the position of the button 102 to achieve force feedback.

[0075] According to the force feedback device 100 of the embodiment of the present application, the driving parameters include the working pressure of the servo valve 116, and the controller 124 is specifically used to: determine the first pressure value and the pressure change value according to the multiple pressure values ​​detected by the detection component 104 within the target period; when the pressure change value is less than or equal to the second pressure value, determine the working pressure of the servo valve 116 according to the first pressure value; when the pressure change value is greater than the second pressure value, determine the working pressure of the servo valve 116 according to the first pressure value and the pressure change value. In this way, based on the specific pressing situation of the button 102 by the user, the working pressure of the servo valve 116 is automatically controlled, and based on the state of the button 102, force feedback of different forces can be automatically performed on the button 102, thereby improving the flexibility, accuracy and stability of the force feedback.

[0076] According to some embodiments of the present application, optionally, Figure 2 As shown, the feedback control assembly 108 also includes a displacement sensor 126 .

[0077] The displacement sensor 126 is connected to the transmission member 120 . The displacement sensor 126 is used to detect the position information of the transmission member 120 in the servo valve 116 , so as to determine the displacement information of the transmission member 120 in the servo valve 116 .

[0078] Furthermore, the displacement sensor 126 is also connected to the amplifier 122. The amplifier 122 can receive the position information detected by the displacement sensor 126 and amplify the position information detected by the displacement sensor 126 so that the controller 124 can process the position information later.

[0079] It is understandable that the operating pressure of the servo valve 116 is different, and the position of the transmission member 120 in the servo valve 116 is different. After the controller 124 controls the servo valve 116 to operate at a certain pressure value based on the state of the button 102, if the position of the transmission member 120 in the servo valve 116 changes, that is, the transmission member 120 is displaced, the pressure value in the servo valve 116 will also change, thereby reducing the accuracy of the force feedback.

[0080] Therefore, in the force feedback device 100 provided in the embodiment of the present application, the controller 124 can receive the position information after amplification by the amplifier 122, and determine the pressure compensation value generated by the movement of the transmission member 120 according to the amplified position information, and then adjust the working pressure of the servo valve 116 according to the pressure compensation value to compensate for the pressure change in the servo valve 116 caused by the movement of the transmission member 120. In this way, the displacement of the transmission member 120 is monitored, and based on the feedback compensation mechanism, the working pressure of the servo valve 116 is monitored and compensated according to the displacement information of the transmission member 120 in the servo valve 116, thereby further improving the accuracy of the force feedback.

[0081] In actual application, the controller 124 may calculate the pressure compensation value according to the following formula (3):

[0082] Δp=m×Δx,(3)

[0083] Wherein, Δp represents the pressure compensation value, Δx represents the position change of the transmission member 120 in the servo valve 116, that is, the displacement information of the transmission member 120 in the servo valve 116, and m is the variation coefficient.

[0084] On this basis, the controller 124 can adjust the working pressure of the servo valve 116 according to the following formula (4) or formula (5):

[0085] P3=P1+Δp,(4)

[0086] P4=P2+Δp,(5)

[0087] Wherein, P3 and P4 represent the working pressure after the servo valve 116 is adjusted, P1 and P2 represent the working pressure before the servo valve 116 is adjusted, and Δp represents the pressure compensation value.

[0088] Based on this, after calculating the working pressure P3 or P4, the controller 124 can send a control instruction to the servo valve 116 to control the working pressure in the servo valve 116 to be P3 or P4, thereby adjusting the thrust of the hydraulic oil 128 in the hydraulic cylinder 114 on the driving member 110, and adjusting the reaction force of the driving member 110 on the button 102, thereby improving the accuracy of force feedback on the button 102.

[0089] According to the force feedback device 100 of the embodiment of the present application, the feedback control component 108 also includes a displacement sensor 126. The displacement sensor 126 is connected to both the transmission member 120 and the amplifier 122, and the displacement sensor 126 is used to detect the position information of the transmission member 120 in the servo valve 116. The controller 124 is also used to: determine the pressure compensation value according to the position information, and adjust the working pressure of the servo valve 116 according to the pressure compensation value. In this way, by monitoring the displacement information of the transmission member 120 in the servo valve 116, the working pressure of the servo valve 116 is monitored and compensated, and the accuracy of the force feedback is further improved.

[0090] According to some embodiments of the present application, optionally, Figure 2 As shown, the detection assembly 104 includes a pressure sensor 130 .

[0091] The pressure sensor 130 is connected to the button 102 .

[0092] During operation of the force feedback device 100 , the pressure sensor 130 is used to detect the pressure value of the user on the button 102 . The pressure value can be used to represent the degree of pressure of the user on the button 102 , that is, the pressure value can be used to represent the state of the button 102 .

[0093] According to the force feedback device 100 of the embodiment of the present application, the detection component 104 includes a pressure sensor 130, and the pressure sensor 130 is connected to the button 102, and the pressure sensor 130 is used to detect the pressure value of the user on the button 102. In this way, it is convenient to detect the pressure value of the user on the button 102 in real time, so that the state of the button 102 being pressed can be dynamically identified, so as to facilitate corresponding force feedback to the button 102 based on the state of the button 102.

[0094] like Figure 5 As shown, the embodiment of the present application provides a force feedback method, which may include the following S202 to S206:

[0095] S202: Detect the pressure value of the user on the key.

[0096] The force feedback method proposed in the embodiments of the present application is used for the force feedback device in any of the above embodiments. The force feedback device can specifically be a game handle, a video game device, a game controller, an AR (Augmented Reality) handle, a VR (Virtual Reality) handle, and other devices with force feedback function, and no specific restrictions are made here.

[0097] The force feedback device comprises a button and a detection component. The button is used to receive a pressing input from a user.

[0098] After the user presses the key, the detection component dynamically detects the pressure value of the user on the key in real time. The pressure value can be used to represent the degree of the user's pressing of the key, that is, the pressure value can be used to represent the state of the key.

[0099] Among them, when the user's pressure value on the key is not zero, but the displacement of the key is zero, the key is in a balanced state; when the user's pressure value on the key is not zero and the displacement of the key is not zero, the key is in an unbalanced state.

[0100] In actual application, the above detection component can specifically be a pressure sensor, which is not specifically limited here.

[0101] S204: Determine driving parameters of the driving component according to the pressure value.

[0102] The force feedback device further comprises a driving component and a feedback control component. The driving component can provide different magnitudes of reaction forces to the keys, thereby realizing force feedback of different strengths to the keys.

[0103] Furthermore, the force feedback device further comprises a feedback control component. The feedback control component can receive the pressure value detected by the detection component and determine the driving parameter of the driving component according to the pressure value.

[0104] S206: Control the driving component to work according to the driving parameters, so that the driving component performs force feedback on the key.

[0105] Specifically, in the force feedback method provided in the embodiment of the present application, during the operation of the force feedback device, user input is received through a key, and the pressure value of the user on the key is dynamically detected in real time through a detection component, and then the corresponding driving parameters are dynamically determined based on the detected pressure value, and the driving component is enabled to perform force feedback on the key based on the driving parameters. In this way, by detecting the pressure value of the user on the key in real time, the state of the key being pressed can be dynamically identified, and then the key can be subjected to corresponding force feedback based on the key state. The dynamic detection range is wide and the measurement accuracy is high, which improves the flexibility, accuracy and stability of the force feedback. In addition, the force feedback device provided in the embodiment of the present application dynamically adjusts the force feedback effect based on the key state, realizes automatic recognition and adjustment of force feedback, does not require any manual setting, is not easily affected by environmental interference, and further improves the accuracy and stability of force feedback.

[0106] Through the above force feedback method provided by the embodiment of the present application, during the operation of the force feedback device, the pressure value of the user on the key is detected; the driving parameters of the driving component are determined according to the pressure value; the driving component is controlled to work according to the driving parameters, so that the driving component performs force feedback on the key. In this way, by detecting the pressure value of the user on the key in real time, the state of the key being pressed can be dynamically identified, and then the key is given corresponding force feedback based on the key state, thereby improving the flexibility, accuracy and stability of the force feedback.

[0107] In the embodiment of the present application, the driving parameter includes the working pressure of the servo valve in the driving assembly. On this basis, the above S204 specifically includes the following S204a to S204c:

[0108] S204a: Determine a first pressure value and a pressure change value according to a plurality of pressure values ​​of the user on the key within the target time period.

[0109] The above-mentioned multiple pressure values ​​are detected by the detection component within the target time period.

[0110] In the process of determining the above-mentioned driving parameters according to the pressure value detected by the detection component, the controller can specifically calculate the first pressure value and the pressure change value according to a plurality of pressure values ​​detected by the detection component within the target time period.

[0111] In the process of calculating the first pressure value according to multiple pressure values ​​of the user on the key within the target time period, the average value of the multiple pressure values ​​can be determined as the above-mentioned first pressure value, and the first pressure value is used to characterize the external pressure value of the user on the key.

[0112] Furthermore, in the process of calculating the pressure change value according to the multiple pressure values ​​detected by the detection component within the target time period, the pressure change value can be calculated by a pressure difference integral averaging method.

[0113] In actual application, the specific value of the above target time period can be set by those skilled in the art according to actual conditions, and no specific limitation is made here.

[0114] S204b: When the pressure change value is less than or equal to the second pressure value, determine the working pressure of the servo valve according to the first pressure value.

[0115] The second pressure value is a set standard value, and the second pressure value can be obtained through testing and calibration, and is not specifically limited here.

[0116] Furthermore, when the pressure change value is less than or equal to the second pressure value, the pressure value of the key applied by the user is not zero, but the displacement of the key is zero. At this time, the key is in a balanced state, the first pressure value is a balanced force, and the reaction force of the driving member on the key is equal to the first pressure value.

[0117] On this basis, when the pressure change value is less than or equal to the second pressure value, the working pressure of the servo valve can be calculated according to the following formula (1):

[0118] F1=K×P1×S, (1)

[0119] Among them, F1 represents the reaction force of the driving member on the button, F1 is equal to the first pressure value, K represents the transmission pressure coefficient of the driving member, P1 represents the working pressure of the servo valve, and S represents the area of ​​the hydraulic cylinder pushing the driving member.

[0120] S204c: When the pressure change value is greater than the second pressure value, determine the working pressure of the servo valve according to the first pressure value and the pressure change value.

[0121] Wherein, when the pressure change value is greater than the second pressure value, the pressure value of the user on the key is not zero, and the displacement of the key is not zero. At this time, the key is in an unbalanced state, the above-mentioned first pressure value is an unbalanced force, and the reaction force of the driving member on the key is the sum of the first pressure value and the pressure change value.

[0122] On this basis, when the pressure change value is greater than the second pressure value, in the process in which the controller determines the working pressure of the servo valve according to the first pressure value and the pressure change value, the working pressure of the servo valve can be calculated specifically according to the following formula (2):

[0123] F2=K×P2×S=F+T1, (2)

[0124] Among them, F2 represents the reaction force of the driving member on the button, F represents the first pressure value, T1 represents the pressure change value, K represents the transmission pressure coefficient of the driving member, P2 represents the working pressure of the servo valve, and S represents the area of ​​the hydraulic cylinder pushing the driving member.

[0125] In the above-mentioned embodiment provided by the present application, the driving parameters include the working pressure of the servo valve in the driving component. In the process of determining the driving parameters of the driving component according to the pressure value, the first pressure value and the pressure change value are determined according to the multiple pressure values ​​of the user on the key within the target period; when the pressure change value is less than or equal to the second pressure value, the working pressure of the servo valve is determined according to the first pressure value; when the pressure change value is greater than the second pressure value, the working pressure of the servo valve is determined according to the first pressure value and the pressure change value. In this way, based on the specific pressing situation of the user on the key, the working pressure of the servo valve is automatically controlled, and the key can be automatically fed back with different forces based on the key state, thereby improving the flexibility, accuracy and stability of the force feedback.

[0126] In the embodiment of the present application, after the above S204, the above force feedback method may further include the following S208 to S212:

[0127] S208: Detect position information of the transmission member in the driving assembly.

[0128] The force feedback device further comprises a displacement sensor, which is used to detect the position information of the transmission member in the servo valve, thereby determining the displacement information of the transmission member in the servo valve.

[0129] S210: Determine a pressure compensation value according to the position information.

[0130] The pressure compensation value can be calculated according to the following formula (3):

[0131] Δp=m×Δx,(3)

[0132] Among them, Δp represents the pressure compensation value, Δx represents the position change of the transmission part in the servo valve, that is, the displacement information of the transmission part in the servo valve, and m is the variation coefficient.

[0133] S212: Adjust driving parameters according to the pressure compensation value.

[0134] It is understandable that the working pressure of the servo valve is different and the position of the transmission part in the servo valve is different. After the controller controls the servo valve to work at a certain pressure value based on the key state, if the position of the transmission part in the servo valve changes, that is, the transmission part is displaced, the pressure value in the servo valve will also change, resulting in a decrease in the accuracy of force feedback.

[0135] Therefore, the force feedback method provided in the embodiment of the present application determines the pressure compensation value generated by the movement of the transmission member according to the position information of the transmission member in the servo valve, and then adjusts the working pressure of the servo valve according to the pressure compensation value to compensate for the pressure change in the servo valve caused by the movement of the transmission member. In this way, the displacement of the transmission member is monitored, and based on the feedback compensation mechanism, the working pressure of the servo valve is monitored and compensated according to the displacement information of the transmission member in the servo valve, thereby further improving the accuracy of the force feedback.

[0136] In actual application, the working pressure of the servo valve can be adjusted according to the following formula (4) or formula (5):

[0137] P3=P1+Δp,(4)

[0138] P4=P2+Δp,(5)

[0139] Wherein, P3 and P4 represent the working pressure after the servo valve is adjusted, P1 and P2 represent the working pressure before the servo valve is adjusted, and Δp represents the pressure compensation value.

[0140] In the above embodiment provided by the present application, after determining the driving parameters of the driving assembly according to the pressure value, the position information of the transmission member in the driving assembly is detected; the pressure compensation value is determined according to the position information; and the driving parameters are adjusted according to the pressure compensation value. In this way, by monitoring the displacement information of the transmission member in the servo valve, the working pressure of the servo valve is monitored and compensated, thereby further improving the accuracy of force feedback.

[0141] In summary, if Figure 6 As shown, the force feedback method provided in the embodiment of the present application may specifically include the following S302 to S328:

[0142] S302: The button receives a force F applied by the user;

[0143] S304: Detecting the force F through a pressure sensor;

[0144] S306: Calculate the pressure change value T1 by using the pressure difference integral averaging method;

[0145] S308: Determine: T1≤T0, if yes, execute S310, if no, execute S320;

[0146] S310: Determine that the action force F is a balanced force, and the reaction force F1 = F;

[0147] S312: According to F1=K×P1×S, P1 is calculated;

[0148] S314: Control the working pressure of the servo valve to be P1;

[0149] S316: The displacement sensor detects that the position change of the transmission member is Δx;

[0150] S318: Adjust the working pressure of the servo valve to P3=P1+m×Δx;

[0151] S320: Determine that the action force F is an unbalanced force, and the reaction force F2=F+T1;

[0152] S322: P2 is calculated according to F2=K×P2×S;

[0153] S324: Control the working pressure of the servo valve to P2;

[0154] S326: The displacement sensor detects that the position change of the transmission member is Δx;

[0155] S328: Adjust the working pressure of the servo valve to P4=P2+m×Δx.

[0156] The force F is the first pressure value, and T0 is the second pressure value.

[0157] Alternatively, if Figure 7 As shown, an embodiment of the present application further provides an electronic device 600, including a processor 602 and a memory 604, wherein the memory 604 stores programs or instructions that can be executed on the processor 602, and when the program or instructions are executed by the processor 602, the various steps of the above-mentioned force feedback method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.

[0158] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0159] Figure 8 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0160] The electronic device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710 and other components.

[0161] Those skilled in the art will appreciate that the electronic device 700 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 710 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 8The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0162] The sensor 705 is used to detect the pressure value of the key applied by the user.

[0163] The processor 710 is used to determine the driving parameters of the driving component according to the pressure value.

[0164] The processor 710 is further used to control the operation of the driving component according to the driving parameters, so that the driving component performs force feedback on the key.

[0165] In the embodiment of the present application, during the operation of the force feedback device, the pressure value of the user on the key is detected; the driving parameters of the driving component are determined according to the pressure value; the driving component is controlled to work according to the driving parameters, so that the driving component performs force feedback on the key. In this way, by detecting the pressure value of the user on the key in real time, the state of the key being pressed can be dynamically identified, and then the key is given corresponding force feedback based on the key state, thereby improving the flexibility, accuracy and stability of the force feedback.

[0166] Optionally, the driving parameters include the working pressure of the servo valve in the driving component, and the processor 710 is specifically used to: determine a first pressure value and a pressure change value based on multiple pressure values ​​of the user on the button within a target time period; when the pressure change value is less than or equal to the second pressure value, determine the working pressure of the servo valve based on the first pressure value; when the pressure change value is greater than the second pressure value, determine the working pressure of the servo valve based on the first pressure value and the pressure change value.

[0167] In the above-mentioned embodiment provided by the present application, the driving parameters include the working pressure of the servo valve in the driving component. In the process of determining the driving parameters of the driving component according to the pressure value, the first pressure value and the pressure change value are determined according to the multiple pressure values ​​of the user on the key within the target period; when the pressure change value is less than or equal to the second pressure value, the working pressure of the servo valve is determined according to the first pressure value; when the pressure change value is greater than the second pressure value, the working pressure of the servo valve is determined according to the first pressure value and the pressure change value. In this way, based on the specific pressing situation of the user on the key, the working pressure of the servo valve is automatically controlled, and the key can be automatically fed back with different forces based on the key state, thereby improving the flexibility, accuracy and stability of the force feedback.

[0168] Optionally, the sensor 705 is further used to: detect position information of a transmission member in the driving assembly; the processor 710 is further used to: determine a pressure compensation value according to the position information; and adjust the driving parameters according to the pressure compensation value.

[0169] In the above embodiment provided by the present application, after determining the driving parameters of the driving assembly according to the pressure value, the position information of the transmission member in the driving assembly is detected; the pressure compensation value is determined according to the position information; and the driving parameters are adjusted according to the pressure compensation value. In this way, by monitoring the displacement information of the transmission member in the servo valve, the working pressure of the servo valve is monitored and compensated, thereby further improving the accuracy of force feedback.

[0170] It should be understood that in the embodiment of the present application, the input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042, and the graphics processor 7041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 707 includes a touch panel 7071 and at least one of other input devices 7072. The touch panel 7071 is also called a touch screen. The touch panel 7071 may include two parts: a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0171] The memory 709 can be used to store software programs and various data. The memory 709 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 709 may include a volatile memory or a non-volatile memory, or the memory 709 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 709 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0172] The processor 710 may include one or more processing units; optionally, the processor 710 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 710.

[0173] The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned force feedback method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0174] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0175] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned force feedback method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0176] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0177] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned force feedback method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0178] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0179] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.

[0180] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A force feedback device, characterized in that: include: Button, used to receive user input; A detection component connected to the button, the detection component is used to detect the pressure value of the button applied by the user; A driving component connected to the button; A feedback control component is connected to both the detection component and the drive component. The feedback control component is used to determine the drive parameters of the drive component according to the pressure value, and control the operation of the drive component according to the drive parameters so that the drive component performs force feedback on the button.

2. The force feedback device according to claim 1, characterized in that: The drive assembly comprises: A driving member connected to the button; A transmission assembly connected to both the feedback control assembly and the driving member; The feedback control component is used to control the transmission component to enable the driving member according to the driving parameter, so that the driving member provides force feedback for the button.

3. The force feedback device according to claim 2, characterized in that: The transmission assembly comprises: A hydraulic cylinder, wherein the driving member is partially disposed in the hydraulic cylinder, and hydraulic oil is stored in the hydraulic cylinder; a servo valve connected to the feedback control assembly; a pipeline connecting the hydraulic cylinder and the servo valve, wherein the pipeline is used for allowing the hydraulic oil to flow between the hydraulic cylinder and the servo valve; a transmission member connected to the feedback control assembly, wherein the transmission member is partially disposed in the servo valve; The feedback control component is used to control the movement of the transmission member according to the drive parameters to adjust the working pressure of the servo valve and the position of the hydraulic oil in the hydraulic cylinder so that the drive member moves toward or away from the button.

4. The force feedback device according to claim 3, characterized in that: The feedback control component comprises: an amplifier, connected to both the detection component and the servo valve, and used for amplifying the pressure value detected by the detection component; A controller is connected to the amplifier, and is used to determine the driving parameter according to the pressure value after amplification, and control the movement of the transmission member according to the driving parameter.

5. The force feedback device according to claim 4, characterized in that: The driving parameters include the working pressure of the servo valve, and the controller is specifically used for: Determine a first pressure value and a pressure change value according to the plurality of pressure values ​​detected by the detection component within a target period of time; When the pressure change value is less than or equal to a second pressure value, determining the working pressure of the servo valve according to the first pressure value; When the pressure change value is greater than the second pressure value, the working pressure of the servo valve is determined according to the first pressure value and the pressure change value.

6. The force feedback device according to claim 4, characterized in that: The feedback control component also includes: A displacement sensor connected to the transmission member and the amplifier, the displacement sensor being used to detect position information of the transmission member in the servo valve; The controller is also used for: A pressure compensation value is determined according to the position information, and a working pressure of the servo valve is adjusted according to the pressure compensation value.

7. The force feedback device according to any one of claims 1 to 6, characterized in that: The detection component comprises: A pressure sensor is connected to the button, and is used to detect the pressure value of the button applied by the user.

8. A force feedback method, characterized in that: For use in a force feedback device according to any one of claims 1 to 7, the force feedback method comprises: Detect the pressure value of the user on the button; Determining a driving parameter of a driving component according to the pressure value; The driving component is controlled to work according to the driving parameter so that the driving component performs force feedback on the key.

9. The force feedback method according to claim 8, characterized in that: The driving parameter includes the working pressure of the servo valve in the driving component, and determining the driving parameter of the driving component according to the pressure value includes: Determining a first pressure value and a pressure change value according to a plurality of pressure values ​​of the button applied by the user within a target period of time; When the pressure change value is less than or equal to a second pressure value, determining the working pressure of the servo valve according to the first pressure value; When the pressure change value is greater than the second pressure value, the working pressure of the servo valve is determined according to the first pressure value and the pressure change value.

10. The force feedback method according to claim 8, characterized in that: After determining the driving parameters of the driving component according to the pressure value, the force feedback method further includes: Detecting position information of a transmission member in the drive assembly; determining a pressure compensation value according to the position information; The driving parameter is adjusted according to the pressure compensation value.

Citation Information

Cited By

  • Key adjustable force feedback system of keyboard

    CN120045061A

  • Vibration feedback method and device, intelligent equipment and storage medium

    CN121501130A