A human-machine interaction control method
By collecting human-computer interaction force signals to determine stability indicators and thresholds, and updating robot controller parameters, the problem of inaccurate stability thresholds caused by reliance on subjective feelings in existing technologies is solved, and stable human-computer interaction is achieved.
Patent Information
- Application Number
- CN202211717302.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2042-12-29
AI Technical Summary
In existing technologies, human-computer interaction control methods rely on the subjective feelings and experience of technicians, which leads to inaccurate determination of the stability threshold and makes it impossible to achieve stable human-computer interaction.
By collecting the human-robot interaction force signals applied by the user to the robot, stability indicators are determined, and stability thresholds are determined based on the stability indicators. The robot's controller parameters are then updated to achieve stable human-robot interaction.
It improves the accuracy of the stability threshold, achieves stable human-computer interaction, and avoids errors caused by subjective judgment.
Smart Images

Figure CN116237957B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of robotics technology, and in particular to a human-computer interaction control method. Background Technology
[0002] With the continuous development of technology, robots are widely used in various fields such as industry, medicine, and aerospace exploration. In these fields, robots respond to interactive force signals applied by users through compliant control methods to achieve human-computer interaction.
[0003] In existing technologies, human-computer interaction control methods typically involve technicians determining the stable state of the human-computer interaction system using time-domain or frequency-domain methods, then determining a stability threshold based on experience, and adjusting the parameters of the robot's controller through the stability threshold to maintain the stability of the human-computer interaction system and achieve human-computer interaction.
[0004] However, the judgment of the stable state of human-computer interaction systems by time-domain or frequency-domain methods is usually based on the subjective feelings of technicians, and the process of determining the stability threshold relies on the experience of technicians, which lacks objectivity. This may lead to errors in the judgment of the stable state or inaccurate stability thresholds. As a result, the human-computer interaction system cannot maintain stability and cannot respond correctly to the interactive force signals applied by the user, thus failing to achieve stable human-computer interaction. Summary of the Invention
[0005] In view of this, embodiments of this application provide a human-computer interaction control method, which aims to achieve stable human-computer interaction.
[0006] In a first aspect, embodiments of this application provide a human-computer interaction control method, the method comprising:
[0007] Collect the first human-machine interaction force signal applied by the user to the robot;
[0008] Determine the first stability index corresponding to the first human-machine interaction force signal;
[0009] Based on the first stability index, determine the stability threshold;
[0010] The robot's controller parameters are updated based on the stability threshold to enable human-computer interaction.
[0011] Optionally, determining the stability threshold based on the first stability index includes:
[0012] Establish a probability density function corresponding to the first stability index based on the first stability index;
[0013] The stability threshold is determined based on the probability density function and the preset confidence interval.
[0014] Optionally, the stability threshold includes a stable threshold and an unstable threshold, wherein the stable threshold is less than the unstable threshold; the step of updating the robot's controller parameters according to the stability threshold to achieve human-computer interaction specifically involves:
[0015] The controller parameters are updated based on the stable threshold and the unstable threshold to enable human-computer interaction.
[0016] Optionally, updating the controller parameters based on the stability threshold and the instability threshold includes:
[0017] Collect the second human-machine interaction force signal applied by the user to the robot;
[0018] Determine the second stability index corresponding to the second human-computer interaction force signal;
[0019] If the second stability index is less than the stability threshold, the controller parameter is updated to 0;
[0020] If the second stability index is greater than or equal to the stability threshold and less than the instability threshold, the controller parameters are updated according to a preset parameter formula, which is obtained based on the second stability index, the stability threshold, and the instability threshold.
[0021] If the second stability index is greater than or equal to the instability threshold, the controller parameters are updated to the maximum value of the preset controller parameter range.
[0022] Optionally, the step of obtaining the preset parameter formula includes:
[0023] Obtain the first reciprocal of the difference between the second stability index and the stability threshold, and the second reciprocal of the difference between the unstable threshold and the stability threshold;
[0024] The difference between the first reciprocal and the second reciprocal is multiplied by a preset coefficient to obtain the preset parameter formula.
[0025] Optionally, the first stability index is specifically the first stability index at time t; the step of determining the first stability index corresponding to the first human-machine interaction force signal specifically involves:
[0026] The first stability index at time t is determined based on the time-domain index and the frequency-domain index at time t corresponding to the first human-computer interaction force signal.
[0027] Optionally, determining the first stability index at time t based on the time-domain index and the frequency-domain index at time t corresponding to the first human-computer interaction force signal includes:
[0028] The time-domain index at time t, the frequency-domain index at time t, and the first preset threshold are multiplied to obtain the first product value.
[0029] The first stability index and the second preset threshold at time t-1 are multiplied to obtain the second product value, and the sum of the first preset threshold and the second preset threshold is 1.
[0030] The first product value and the second product value are summed to obtain the first stability index at time t.
[0031] Optionally, the steps for obtaining the time-domain index at time t include:
[0032] The mean square of the time-domain signals at at least two time points corresponding to the first human-computer interaction force signal is calculated to obtain the mean square value of the time-domain signals at at least two time points, wherein the time-domain signals at at least two time points include the time-domain signal at time t.
[0033] The time-domain index at time t is obtained based on the mean square value and the maximum time-domain signal among the time-domain signals at the at least two time points.
[0034] Optionally, the step of obtaining the frequency domain index at time t includes:
[0035] The first frequency domain signal corresponding to at least two time points of the first interactive force signal is filtered according to a preset frequency domain threshold to obtain a second frequency domain signal corresponding to the preset frequency domain threshold. The first frequency domain signal at at least two time points includes the frequency domain signal at time t.
[0036] The frequency domain index at time t is obtained based on the first frequency domain signal and the second frequency domain signal.
[0037] Optionally, the step of obtaining the preset frequency domain threshold includes:
[0038] Collect stable and unstable interaction force signals;
[0039] The preset frequency domain threshold is determined based on the signal spectrum corresponding to the stable interaction force signal and the signal spectrum corresponding to the unstable interaction force signal.
[0040] Secondly, embodiments of this application provide a human-computer interaction control device, the device comprising:
[0041] The data acquisition device is used to acquire the first human-machine interaction force signal applied by the user to the robot;
[0042] A first determining device is used to determine a first stability index corresponding to the first human-machine interaction force signal;
[0043] The second determining device is used to determine a stability threshold based on the first stability index.
[0044] An update device is used to update the controller parameters of the robot according to the stability threshold in order to enable human-computer interaction.
[0045] Thirdly, embodiments of this application provide a human-computer interaction control device, the device comprising:
[0046] Memory, used to store computer programs;
[0047] A processor is configured to execute the computer program to cause the device to perform the human-computer interaction control method described in the first aspect above.
[0048] Fourthly, embodiments of this application provide a computer storage medium storing a computer program. When the computer program is run, a device running the computer program implements the human-computer interaction control method described in the first aspect above.
[0049] Compared with the prior art, the embodiments of this application have the following beneficial effects:
[0050] This application provides a human-computer interaction control method. In this method, a first human-computer interaction force signal applied by a user to a robot is collected; a first stability index corresponding to the first human-computer interaction force signal is determined; a stability threshold is determined based on the first stability index; and the robot's controller parameters are updated based on the stability threshold to achieve human-computer interaction. It is evident that this method only needs to determine the corresponding first stability index based on the first human-computer interaction force signal to determine the stability threshold, thereby updating the robot's controller parameters and achieving human-computer interaction. It does not rely on the subjective feelings or experience of technical personnel, avoiding the subjectivity problem in the determination of the stability threshold, making the determination result more objective, thus improving the accuracy of the stability threshold and enabling stable human-computer interaction. Attached Figure Description
[0051] To more clearly illustrate the technical solutions in this embodiment or the prior art, the drawings used in the description of the embodiment or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0052] Figure 1 This application scenario provides a human-computer interaction control method according to an embodiment of the present application;
[0053] Figure 2 A flowchart of a human-computer interaction control method provided in an embodiment of this application;
[0054] Figure 3 A flowchart illustrating a method for updating controller parameters provided in this application embodiment;
[0055] Figure 4 This is a schematic diagram of the structure of a human-computer interaction control device provided in an embodiment of this application. Detailed Implementation
[0056] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.
[0057] Currently, existing human-computer interaction (HCI) control methods typically involve technicians determining the stable state of the HCI system using time-domain or frequency-domain methods, then determining a stability threshold based on experience, and adjusting the robot's controller parameters according to the stability threshold to maintain the stability of the HCI system and achieve HCI interaction. However, the determination of the stable state of the HCI system using time-domain or frequency-domain methods is usually based on the technician's subjective perception, and the determination of the stability threshold relies on the technician's experience, lacking objectivity. This can lead to errors in the stable state judgment or inaccurate stability thresholds, resulting in the HCI system being unable to maintain stability and respond correctly to the interactive force signals applied by the user, thus failing to achieve stable HCI interaction.
[0058] To address the aforementioned issues, this application provides a human-computer interaction control method. This method involves: acquiring a first human-computer interaction force signal applied by a user to a robot; determining a first stability index corresponding to the first human-computer interaction force signal; determining a stability threshold based on the first stability index; and updating the robot's controller parameters based on the stability threshold to achieve human-computer interaction. As can be seen, this method only requires determining the corresponding first stability index based on the first human-computer interaction force signal to determine the stability threshold, thereby updating the robot's controller parameters and achieving human-computer interaction. It does not rely on the subjective feelings or experience of technical personnel, avoiding subjectivity issues in the stability threshold determination process, making the determination result of the stability threshold more objective, and thus improving the accuracy of the stability threshold, enabling stable human-computer interaction.
[0059] For example, one scenario in the embodiments of this application can be applied to, such as Figure 1 The scenario shown includes a signal collector 101 and a processor 102. The signal collector 101 collects a first human-machine interaction force signal applied by the user to the robot and sends the first human-machine interaction force signal to the processor 102. The processor 102 updates the robot's controller parameters using the implementation method provided in this application embodiment.
[0060] First, in the above application scenarios, although the action descriptions of the implementation methods provided in this application are executed by the server 102, the implementation methods of this application are not limited in terms of the execution subject, as long as the actions disclosed in the implementation methods provided in this application are executed.
[0061] Secondly, the above scenario is only one example provided by the embodiments of this application, and the embodiments of this application are not limited to this scenario.
[0062] The specific implementation of the human-computer interaction control method in the embodiments of this application will be described in detail below with reference to the accompanying drawings and examples.
[0063] See Figure 2 The figure is a flowchart of a human-computer interaction control method provided in an embodiment of this application, combined with... Figure 2 As shown, it can specifically include:
[0064] S201: Collect the first human-machine interaction force signal applied by the user to the robot.
[0065] The user applies an external force to the robot, and the system collects the first human-machine interaction force signal generated by the user's applied force. For example, the robot can be a collaborative robot that responds to the user's movement or interaction force and performs actions according to the user's traction. Of course, other types of robots can also be used, without affecting the implementation of the embodiments of this application.
[0066] S202: Determine the first stability index corresponding to the first human-computer interaction force signal.
[0067] Based on the collected first human-computer interaction force signal, determine the corresponding first stability index.
[0068] In this application, the process of determining the first stability index is not specifically limited. For ease of understanding, the following description is based on a possible implementation method.
[0069] In one possible implementation, the first human-computer interaction force signal corresponds to multiple moments, and the first stability index can specifically be the first stability index at moment t. Therefore, the first stability index at moment t can be determined based on the time-domain index and the frequency-domain index corresponding to the first human-computer interaction force signal at moment t. Thus, the first stability index is specifically the first stability index at moment t; S202 can specifically be: determining the first stability index at moment t based on the time-domain index and the frequency-domain index corresponding to the first human-computer interaction force signal at moment t.
[0070] In this application, the process of determining the first stability index at time t is not specifically limited. For ease of understanding, a possible implementation method is described below.
[0071] In one possible implementation, the first stability index at time t can be determined according to the following formula:
[0072] I f (t)=λI w (t)I m (t)+(1-λ)I f (t-1)
[0073] Among them, I f (t) refers to the first stability index at time t, I m (t) refers to the time-domain index at time t, I w (t) refers to the frequency domain index at time t, I f (t-1) refers to the first stability index at time t-1, where λ is a proportionality coefficient with a value of 0 < λ ≤ 1. That is, the first stability index at a given time is a comprehensive iterative index, which can be calculated based on the first stability index at the previous time, the time-domain index at the same time, and the frequency-domain index at the same time. For example, λ is the weight value at time t, and 1-λ is the weight value at time t-1. Based on their practical experience, technicians can determine which time, t or t-1, the human-computer interaction system is more stable, and thus increase the weight value corresponding to the more stable time. Of course, other methods can also be used without affecting the implementation of the embodiments in this application.
[0074] Therefore, S202 may specifically include: multiplying the time-domain index at time t, the frequency-domain index at time t, and the first preset threshold to obtain a first product value; multiplying the first stability index at time t-1 and the second preset threshold to obtain a second product value, wherein the sum of the first preset threshold and the second preset threshold is 1; and summing the first product value and the second product value to obtain the first stability index at time t.
[0075] In this application, the process of obtaining the time-domain index at time t is not specifically limited. For ease of understanding, a possible implementation method is described below.
[0076] In one possible implementation, time-domain signals corresponding to multiple moments of the first human-computer interaction force signal can be acquired. At least two time-domain signals, including the time-domain signal at moment t, are selected from these signals. The mean square value is calculated using the values corresponding to the time-domain signals at the at least two moments. Then, the value corresponding to the largest time-domain signal is selected from the at least two time-domain signals. The time-domain index at moment t can be obtained based on the mean square value and the largest time-domain signal. Therefore, the process of obtaining the time-domain index at moment t can specifically include: performing a mean square calculation on the time-domain signals corresponding to the first human-computer interaction force signal at at least two moments to obtain the mean square values of the time-domain signals at the at least two moments, including the time-domain signal at moment t; and obtaining the time-domain index at moment t based on the mean square value and the largest time-domain signal among the at least two time-domain signals.
[0077] In one possible implementation, the mean square value can be normalized using the maximum time-domain signal, i.e., the ratio of the mean square value to the value corresponding to the maximum time-domain signal is obtained, and this ratio is the time-domain index at time t. Of course, other methods can also be used without affecting the implementation of the embodiments of this application.
[0078] In one possible implementation, the time-domain index at time t can also be determined using the L2 norm of the interaction force signal; other indices characterizing the magnitude of the interaction force can also be used. Of course, other methods can also be used without affecting the implementation of the embodiments of this application.
[0079] In this application, the process of obtaining the frequency domain index at time t is not specifically limited. For ease of understanding, a possible implementation method is described below.
[0080] In one possible implementation, frequency domain signals corresponding to multiple time points of the first interaction force signal can be acquired. First frequency domain signals from at least two of these signals, including the frequency domain signal at time t, are selected. The first frequency domain signals are then filtered according to a preset frequency domain threshold, retaining the second frequency domain signal corresponding to the preset threshold. The frequency domain index at time t can then be obtained based on the first and second frequency domain signals. Therefore, the process of obtaining the frequency domain index at time t can specifically include: filtering the first frequency domain signals corresponding to at least two time points of the first interaction force signal according to a preset frequency domain threshold to obtain a second frequency domain signal corresponding to the preset frequency domain threshold, wherein the first frequency domain signals from the at least two time points include the frequency domain signal at time t; and obtaining the frequency domain index at time t based on the first and second frequency domain signals.
[0081] In one possible implementation, the ratio of the second frequency domain signal to the first frequency domain signal can be obtained by dividing the second frequency domain signal by the first frequency domain signal; this ratio is the frequency domain index at time t. Of course, other methods can also be used without affecting the implementation of the embodiments of this application.
[0082] In one possible implementation, the ratio of the unstable frequency domain signal to the stable frequency domain signal can be used as the frequency domain index at time t. Of course, other methods can also be used without affecting the implementation of the embodiments of this application.
[0083] In this application, the process of obtaining the preset frequency domain threshold is not specifically limited. For ease of understanding, the following description is based on a possible implementation method.
[0084] In one possible implementation, the user-applied interaction force signals can be pre-collected under both stable and unstable conditions of the human-computer interaction system; that is, stable interaction force signals and unstable interaction force signals can be collected. The signal spectrum corresponding to the stable interaction signal and the signal spectrum corresponding to the unstable signal can be obtained, and a preset frequency domain threshold can be determined based on these two signal spectra. Therefore, the process of obtaining the preset frequency domain threshold can specifically include: collecting stable and unstable interaction force signals; and determining the preset frequency domain threshold based on the signal spectra corresponding to the stable and unstable interaction force signals.
[0085] In one possible implementation, the signal spectrum diagrams corresponding to the stable interactive force signal and the unstable interactive force signal can be overlaid, and a preset frequency domain threshold can be determined based on the difference between the two signal spectrum diagrams. Of course, other methods can also be used without affecting the implementation of the embodiments of this application.
[0086] In one possible implementation, a preset frequency domain threshold for the unstable frequency domain signal can be obtained based on the signal spectrum diagrams corresponding to the stable interactive force signal and the unstable interactive force signal. The first frequency domain signal can be filtered based on the preset frequency domain threshold to obtain a second frequency domain signal that is an unstable frequency domain signal.
[0087] S203: Determine the stability threshold based on the first stability index.
[0088] The stability threshold can be determined based on the first stability index corresponding to the first human-computer interaction force signal.
[0089] In this application, the process of determining the stability threshold is not specifically limited. For ease of understanding, a possible implementation method is described below.
[0090] In one possible implementation, a corresponding probability density function is established based on a first stability index, and a stability threshold can be determined based on this probability density function and a pre-set confidence interval. Therefore, S203 specifically includes: establishing a probability density function corresponding to the first stability index; and determining the stability threshold based on the probability density function and the pre-set confidence interval. Here, the first stability index is a first stability index at at least two time points, and the pre-set confidence interval refers to a pre-set interval estimate of the probability function corresponding to the first stability index.
[0091] S204: Update the robot's controller parameters based on the stability threshold to enable human-machine interaction.
[0092] In this application, the stability threshold is not specifically limited. For ease of understanding, a possible implementation method is described below.
[0093] In one possible implementation, the stability threshold may specifically include a stable threshold and an unstable threshold, and the parameters of the controller can be updated based on the stable threshold and the unstable threshold to achieve human-computer interaction.
[0094] The specific implementation method for updating the controller parameters based on stable and unstable thresholds is not limited in this application embodiment. For ease of understanding, a possible implementation method is described below. Please refer to the following description for technical details.
[0095] In one possible implementation, the robot can employ an admittance control method, specifically an admittance controller. After obtaining a stability threshold, the inertia coefficient, damping coefficient, and stiffness coefficient of the admittance controller can be preset. The controller parameters are specifically the damping increment of the adaptive damping update rate, which is updated according to the stability threshold. After the user applies an external force to the robot, the applied force is input into the admittance controller. The admittance controller then adaptively adjusts according to the preset coefficients and the updated damping increment to generate a control space displacement increment. This control space displacement increment is then mapped to the robot joint displacement increment, and based on the joint increment information and the current joint state, a joint control command for the next moment is sent to control the robot to complete human-machine interaction. For example, compliant control methods such as direct force control or impedance control can also be used, replacing the admittance controller with the corresponding controller and adjusting the input and output of the human-machine interaction system. Of course, other methods can also be used without affecting the implementation of the embodiments of this application.
[0096] Based on the above-mentioned S201-S204, it is clear that in this embodiment, a first human-machine interaction force signal applied by the user to the robot is collected; a first stability index corresponding to the first human-machine interaction force signal is determined; a stability threshold is determined based on the first stability index; and the robot's controller parameters are updated based on the stability threshold to achieve human-machine interaction. It is evident that this method only needs to determine the stability threshold based on the first human-machine interaction force signal to update the robot's controller parameters and achieve human-machine interaction. It does not rely on the subjective feelings or experience of technical personnel, avoiding subjectivity issues in the determination of the stability threshold, making the determination result of the stability threshold more objective, thereby improving the accuracy of the stability threshold and enabling stable human-machine interaction.
[0097] See Figure 3 The figure is a flowchart of a method for updating controller parameters provided in an embodiment of this application, combined with... Figure 3 As shown, it can specifically include:
[0098] S301: Collects the second human-machine interaction force signal applied by the user to the robot.
[0099] S302: Determine the second stability index corresponding to the second human-machine interaction force signal.
[0100] For details on the specific implementation of S301-S302, please refer to the specific implementation of S201-S202, which will not be elaborated here.
[0101] S303: If the second stability index is less than the stability threshold, update the controller parameters to 0.
[0102] The second stability index is compared with the stability threshold. If the second stability index is less than the stability threshold, the controller parameter is updated to 0.
[0103] S304: If the second stability index is greater than or equal to the stability threshold and less than the instability threshold, the controller parameters are updated according to the preset parameter formula, which is obtained based on the second stability index, the stability threshold and the instability threshold.
[0104] Based on the second stability index, the stable threshold, and the unstable threshold, a preset reference formula can be obtained in advance. The second stability index is compared with the stable threshold. If the second stability index is greater than or equal to the stable threshold and less than the unstable threshold, the controller parameters are updated according to the preset reference formula.
[0105] In this application, the embodiments may not be specifically limited to the preset reference formula. For ease of understanding, the following description is based on a possible implementation method.
[0106] In one possible implementation, the preset reference formula is as follows:
[0107]
[0108] Where X(t) refers to the controller parameters at time t, and I f (t) refers to the second stability index at time t, I UT This refers to the instability threshold, I ST This refers to the stability threshold, λ e This is the gain coefficient, which can be selected based on actual conditions. The controller parameters can be updated according to this preset reference formula.
[0109] Therefore, the steps for obtaining the preset parameter formula may specifically include: obtaining the first reciprocal of the difference between the second stability index and the stable threshold, and the second reciprocal of the difference between the unstable threshold and the stable threshold; multiplying the difference between the first and second reciprocals with a preset coefficient to obtain the preset parameter formula.
[0110] S305: If the second stability index is greater than or equal to the instability threshold, update the controller parameters to the maximum value of the preset controller parameter range.
[0111] A range is preset for the controller parameters. A second stability index is compared with a stability threshold. If the second stability index is greater than or equal to the instability threshold, the controller parameters are updated to the maximum value within the preset controller parameter range. For example, the preset controller parameter range can be obtained by technicians through experiments with multiple robots. Of course, other methods can also be used without affecting the implementation of the embodiments of this application.
[0112] In one possible implementation, the robot can employ an admittance control method, where the controller is specifically an admittance controller, and the controller parameters are specifically the damping increment in the adaptive damping update rate, which is shown below:
[0113] B d (t)=B0+B e (t)
[0114] Among them, B d (t) refers to the adaptive damping update rate at time t, B0 refers to the damping coefficient, and B e (t) refers to the damping increment at time t, used to maintain the stability of the human-computer interaction system. Damping increment B e The specific formula for calculating (t) is shown below:
[0115]
[0116] Among them, B e (t) refers to the damping increment at time t, I f (t) refers to the second stability index at time t, I UT This refers to the instability threshold, I ST This refers to the stability threshold, λ e It is the gain coefficient. That is, the damping increment is updated based on the comparison results of the second stability index with the stability threshold and the instability threshold.
[0117] In one possible implementation, the adaptive damping update law can also be represented in linear or exponential form. Of course, other representations can also be used without affecting the implementation of the embodiments of this application.
[0118] Based on the above-mentioned S301-S305, in this embodiment, a second human-machine interaction force signal applied by the user to the robot is collected; a second stability index corresponding to the second human-machine interaction force signal is determined; if the second stability index is less than a stability threshold, the controller parameters are updated to 0; if the second stability index is greater than or equal to the stability threshold and less than an unstable threshold, the controller parameters are updated according to a preset parameter formula, which is obtained based on the second stability index, the stability threshold, and the unstable threshold; if the second stability index is greater than or equal to the unstable threshold, the controller parameters are updated to the maximum value of the preset controller parameter range. It can be seen that this method compares the determined second stability index corresponding to the second human-machine interaction force signal with the stability threshold and the unstable threshold, and updates the controller parameters in different ways according to the comparison results. This allows for more accurate control parameters based on the stability of the robot's human-machine interaction system, improving the stability of the human-machine interaction system and thus achieving more stable human-machine interaction.
[0119] The above are some specific implementations of the human-computer interaction control method provided in the embodiments of this application. Based on this, this application also provides a corresponding device. The device provided in the embodiments of this application will be described below from the perspective of functional modularity.
[0120] See Figure 4 The figure is a schematic diagram of the structure of a human-computer interaction control device 400 provided in an embodiment of this application. The device 400 may include:
[0121] The acquisition module 401 is used to acquire the first human-machine interaction force signal applied by the user to the robot;
[0122] The first determining module 402 is used to determine the first stability index corresponding to the first human-computer interaction force signal;
[0123] The second determining module 403 is used to determine the stability threshold based on the first stability index;
[0124] The update module 404 is used to update the robot's controller parameters based on a stability threshold in order to enable human-machine interaction.
[0125] In this embodiment, through the cooperation of four modules—acquisition module 401, first determination module 402, second determination module 403, and update module 404—a first human-machine interaction force signal applied by the user to the robot is acquired; a first stability index corresponding to the first human-machine interaction force signal is determined; a stability threshold is determined based on the first stability index; and the robot's controller parameters are updated based on the stability threshold to achieve human-machine interaction. It is evident that this method only needs to determine the corresponding first stability index based on the first human-machine interaction force signal to determine the stability threshold, thereby updating the robot's controller parameters and achieving human-machine interaction. It does not rely on the subjective feelings or experience of technical personnel, avoiding the subjective problems in the determination of the stability threshold, making the determination result of the stability threshold more objective, thus improving the accuracy of the stability threshold and enabling stable human-machine interaction.
[0126] As one implementation, the second determining module 403 may specifically include:
[0127] A unit is established to establish a probability density function corresponding to the first stability index based on the first stability index.
[0128] The first determining unit is used to determine the stability threshold based on the probability density function and a preset confidence interval.
[0129] In one implementation, the stability threshold in the first determining module 402 may specifically include: a stable threshold and an unstable threshold, wherein the stable threshold is less than the unstable threshold; correspondingly, the updating module 404 may be used to:
[0130] The controller parameters are updated based on stable and unstable thresholds to enable human-computer interaction.
[0131] As one implementation, the stability threshold in the first determining module 402 may specifically include: a stable threshold and an unstable threshold, wherein the stable threshold is less than the unstable threshold; the updating module 404 may specifically include:
[0132] The acquisition unit is used to acquire the second human-machine interaction force signal applied by the user to the robot;
[0133] The second determining unit is used to determine the second stability index corresponding to the second human-computer interaction force signal;
[0134] The first update unit is used to update the controller parameters to 0 if the second stability index is less than the stability threshold.
[0135] The second update unit is used to update the controller parameters according to a preset parameter formula if the second stability index is greater than or equal to the stability threshold and less than the instability threshold. The preset parameter formula is obtained based on the second stability index, the stability threshold and the instability threshold.
[0136] The third update unit is used to update the controller parameters to the maximum value of the preset controller parameter range if the second stability index is greater than or equal to the instability threshold.
[0137] As one implementation method, the step of obtaining the preset parameter formula in the second update unit may specifically include:
[0138] The first obtaining subunit is used to obtain the first reciprocal of the difference between the second stability index and the stability threshold, and the second reciprocal of the difference between the unstable threshold and the stability threshold;
[0139] The multiplier unit is used to multiply the difference between the first and second reciprocals with preset coefficients to obtain the preset parameter formula.
[0140] As one implementation method, the first stability index can specifically be the first stability index at time t; the first determining module 402 can specifically be used for:
[0141] The first stability index at time t is determined based on the time-domain index and the frequency-domain index corresponding to the first human-computer interaction force signal at time t.
[0142] As one implementation method, the first stability index can specifically be the first stability index at time t; the first determining module 402 can specifically include:
[0143] The first multiplication unit is used to multiply the time-domain index at time t, the frequency-domain index at time t, and the first preset threshold to obtain the first product value.
[0144] The second multiplication unit is used to multiply the first stability index and the second preset threshold at time t-1 to obtain the second product value, wherein the sum of the first preset threshold and the second preset threshold is 1.
[0145] The summation unit is used to sum the first product value and the second product value to obtain the first stability index at time t.
[0146] As one implementation, the step of obtaining the time-domain index at time t in the first determining module 402 may specifically include:
[0147] The mean square sub-unit is used to perform mean square calculation on the time domain signals at least two times corresponding to the first human-machine interaction force signal, and obtain the mean square value of the time domain signals at at least two times, wherein the time domain signals at at least two times include the time domain signal at time t.
[0148] The second obtaining subunit is used to obtain the time-domain index at time t based on the mean square value and the maximum time-domain signal among the time-domain signals at at least two time points.
[0149] As one implementation, the step of obtaining the frequency domain index at time t in the first determining module 402 may specifically include:
[0150] The filtering subunit is used to filter the first frequency domain signal corresponding to the first interaction force signal at least two times according to a preset frequency domain threshold to obtain the second frequency domain signal corresponding to the preset frequency domain threshold. The first frequency domain signal at least two times includes the frequency domain signal at time t.
[0151] The third acquisition subunit is used to obtain the frequency domain index at time t based on the first frequency domain signal and the second frequency domain signal.
[0152] As one implementation method, the step of obtaining the preset frequency domain threshold in the filter subunit may specifically include:
[0153] The acquisition subunit is used to acquire stable and unstable interactive force signals.
[0154] The sub-unit is determined based on the signal spectrum corresponding to the stable interaction force signal and the signal spectrum corresponding to the unstable interaction force signal to determine the preset frequency domain threshold.
[0155] The device includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to enable the device to perform the human-computer interaction control method described in any embodiment of this application.
[0156] The computer storage medium stores a computer program. When the computer program is run, the device running the computer program implements the human-computer interaction control method described in any embodiment of this application.
[0157] In the embodiments of this application, the terms "first" and "second" (if they exist) are used only as name identifiers and do not represent the order of first and second.
[0158] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that all or part of the steps in the methods of the above embodiments can be implemented by means of software plus a general-purpose hardware platform. Based on this understanding, the technical solution of this application can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as a read-only memory (ROM) / RAM, magnetic disk, optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, a server, or a network communication device such as a router) to execute the methods described in various embodiments or some parts of the embodiments of this application.
[0159] It should be noted that the various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for the device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiments. The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separate. The components indicated as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment solution according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0160] The above description is merely one specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A human-computer interaction control method, characterized in that, The method includes: Collect the first human-machine interaction force signal applied by the user to the robot; Determine the first stability index corresponding to the first human-machine interaction force signal; Based on the first stability index, determine the stability threshold; The robot's controller parameters are updated based on the stability threshold to enable human-computer interaction. Wherein, the first stability index is specifically the first stability index at time t; the determination of the first stability index corresponding to the first human-computer interaction force signal is specifically as follows: The first stability index at time t is determined based on the time-domain index and the frequency-domain index at time t corresponding to the first human-computer interaction force signal.
2. The method according to claim 1, characterized in that, The step of determining the stability threshold based on the first stability index includes: Establish a probability density function corresponding to the first stability index based on the first stability index; The stability threshold is determined based on the probability density function and the preset confidence interval.
3. The method according to claim 1, characterized in that, The stability threshold includes a stable threshold and an unstable threshold, wherein the stable threshold is less than the unstable threshold; the step of updating the robot's controller parameters based on the stability threshold to achieve human-computer interaction specifically involves: The controller parameters are updated based on the stable threshold and the unstable threshold to enable human-computer interaction.
4. The method according to claim 3, characterized in that, The step of updating the controller parameters based on the stable threshold and the unstable threshold includes: Collect the second human-machine interaction force signal applied by the user to the robot; Determine the second stability index corresponding to the second human-computer interaction force signal; If the second stability index is less than the stability threshold, the controller parameter is updated to 0; If the second stability index is greater than or equal to the stability threshold and less than the instability threshold, the controller parameters are updated according to a preset parameter formula, which is obtained based on the second stability index, the stability threshold, and the instability threshold. If the second stability index is greater than or equal to the instability threshold, the controller parameters are updated to the maximum value of the preset controller parameter range.
5. The method according to claim 4, characterized in that, The steps for obtaining the preset parameter formula include: Obtain the first reciprocal of the difference between the second stability index and the stability threshold, and the second reciprocal of the difference between the unstable threshold and the stability threshold; The difference between the first reciprocal and the second reciprocal is multiplied by a preset coefficient to obtain the preset parameter formula.
6. The method according to claim 1, characterized in that, The step of determining the first stability index at time t based on the time-domain index and the frequency-domain index at time t corresponding to the first human-computer interaction force signal includes: The time-domain index at time t, the frequency-domain index at time t, and the first preset threshold are multiplied to obtain the first product value. The first stability index and the second preset threshold at time t-1 are multiplied to obtain the second product value, and the sum of the first preset threshold and the second preset threshold is 1. The first product value and the second product value are summed to obtain the first stability index at time t.
7. The method according to claim 1, characterized in that, The steps for obtaining the time-domain index at time t include: The mean square of the time-domain signals at at least two time points corresponding to the first human-computer interaction force signal is calculated to obtain the mean square value of the time-domain signals at at least two time points, wherein the time-domain signals at at least two time points include the time-domain signal at time t. The time-domain index at time t is obtained based on the mean square value and the maximum time-domain signal among the time-domain signals at the at least two time points.
8. The method according to claim 1, characterized in that, The steps for obtaining the frequency domain index at time t include: The first frequency domain signal corresponding to at least two time points of the first interaction force signal is filtered according to a preset frequency domain threshold to obtain a second frequency domain signal corresponding to the preset frequency domain threshold. The first frequency domain signal at at least two time points includes the frequency domain signal at time t. The frequency domain index at time t is obtained based on the first frequency domain signal and the second frequency domain signal.
9. The method according to claim 8, characterized in that, The steps for obtaining the preset frequency domain threshold include: Collect stable and unstable interaction force signals; The preset frequency domain threshold is determined based on the signal spectrum corresponding to the stable interaction force signal and the signal spectrum corresponding to the unstable interaction force signal.
Citation Information
Patent Citations
Plunger pump parameter threshold value setting method and device, electronic equipment and storage medium
CN113048043A
Method and device for eliminating instability in man-machine interaction
CN115488885A
Abnormality diagnosis device
JP6926903B2
