Control device of haptics device, haptics device, and control program
The control device for haptic devices stabilizes actuating parts by calculating reaction forces based on actual and target positions, using differential and proportional calculations, addressing oscillation issues and enhancing control stability.
Patent Information
- Application Number
- JP2023024432
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-20
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2043-02-20
AI Technical Summary
Haptic devices experience oscillations in the actuating parts due to delay elements and dead time during simulation, leading to unstable control of reaction forces applied to the stylus.
A control device for haptic devices that calculates the actual position of the actuating part and applies a reaction force based on the difference between the actual and target positions, using proportional and differential calculations to suppress oscillations, and includes a configuration with separate simulation and target position calculation functions to stabilize control.
The solution effectively suppresses oscillations in the actuating part, ensuring smoother movement and stable control by adjusting reaction forces according to user preferences and reducing high-frequency noise.
Smart Images

Figure 2024118160000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a control device for a haptic device, a haptic device, and a control program. [Background technology]
[0002] In recent years, research and development of haptic technology (touch technology) has progressed. Haptic technology is a technology that provides feedback of force, vibration, movement, etc. to a user of a haptic device. For example, when a user uses a haptic device to move or cut an object in a simulated virtual space, the haptic device reproduces the reaction force and feeds it back to the user.
[0003] For example, Patent Document 1 describes a device in which a stylus configured to be held by a user provides tactile feedback (reaction force) to the user. The stylus is attached to the tip of multiple rotating elements rotatably connected by multiple joints.
[0004] As in Patent Document 1, a user of a haptic device moves an object in a simulated virtual space by, for example, holding and moving a stylus. The simulation calculates a reaction force that occurs when an object is moved in the virtual space. The haptic device then reproduces the calculated reaction force by the power of a servo motor that drives a rotating element to which the stylus is attached at the tip, and applies the calculated reaction force to the stylus held by the user. This allows the user to feel the reaction force that occurs when an object in the virtual space is moved with the stylus. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] Special Publication No. 2007-510232 Summary of the Invention [Problem to be solved by the invention]
[0006] The haptic device applies a reaction force to the stylus as described above, but the reaction force may not be stable, causing the stylus to oscillate. This oscillation will be described with reference to the functional block diagram of the haptic device 100 shown in FIG.
[0007] Figure 6F ext is the force applied by the user to the stylus 102 (hereinafter referred to as the "applied force"), and F sim is the reaction force value calculated by the simulator 110 based on the position x of the stylus 102. sim For example, the product of the spring constant K and the position x (F sim The servo motor 104 of the haptics device 100 calculates the reaction force F sim The reaction force F out is provided to the stylus 102.
[0008] And the applied force F ext and reaction force F out The sum of these forces (hereinafter referred to as "resultant force") F is the force input to the haptics device 100, and the position x of the stylus 102 is calculated by the position calculation unit 106 based on the resultant force F. The calculated position x is input to the simulator 110, and a reaction force value F sim This reaction force value F sim The reaction force F against the stylus 102 calculated by out The assignment is repeated over the course of the simulation.
[0009] As shown in Fig. 6, the position x of the stylus 102 is controlled in a manner similar to feedback control. In an ideal case where there is no delay element or dead time element, a reaction force F out is output and the stylus 102 is stabilized at the desired position x.
[0010] However, in reality, delay elements and dead time exist due to the simulation loop, the servo motor 104, the control circuit, etc. For this reason, a phase delay occurs, and the reaction force F out , which may cause the stylus 102 to oscillate.
[0011] Therefore, an object of the present invention is to provide a control device for a haptics device, a haptics device, and a control program that can suppress oscillations that occur in an actuating part, such as a stylus, that is moved by a user. [Means for solving the problem]
[0012] A control device for a haptic device of one embodiment of the present invention is a control device for a haptic device that applies a force to an object in a virtual space simulated by an information processing device by a user moving an operating unit, and applies a reaction force generated by the action to the operating unit, and is equipped with a position calculation means that calculates the actual position of the operating unit, and a reaction force calculation means that calculates the reaction force to be applied to the operating unit based on the difference between the position calculated by the position calculation means and a target position at which a force is applied to the object in the virtual space.
[0013] According to this configuration, the reaction force to be applied to the actuator is calculated based on the difference between the actual position of the actuator (e.g., a stylus) moved by the user and the target position where the force is applied to the object in the virtual space. This configuration can suppress oscillations occurring in the actuator.
[0014] In the above control device, the reaction force calculation means includes proportional calculation means for calculating a force based on a proportional element of the difference, first differential calculation means for calculating a force based on a differential element of the difference, and adding means for calculating the sum of the force based on the proportional element and the force based on the differential element as the reaction force, and the first differential calculation means may output a value that asymptotically approaches a first derivative for a sine wave input below a predetermined frequency, and asymptotically approaches a constant multiple for a sine wave input at or above the predetermined frequency.
[0015] According to this configuration, when the input is less than a predetermined frequency, the first differential calculation means outputs a value obtained by differentiating the input. On the other hand, when the input is equal to or greater than the predetermined frequency, the first differential calculation means does not perform differentiation, but outputs a value obtained by multiplying the input by a constant. This configuration can suppress an increase in high-frequency noise while suppressing oscillation through such differential calculation.
[0016] The above control device may further include a second differential calculation means for calculating a force based on a differential element of the position calculated by the position calculation means, and a subtraction means for calculating as the reaction force a value obtained by subtracting the output value of the second differential calculation means from the output value of the addition means.
[0017] According to this configuration, the movement of the operating part can be made smoother.
[0018] The above control device may set the sum of the first viscosity coefficient used in the first differential calculation means and the second viscosity coefficient used in the second differential calculation means to a predetermined value, and may vary the ratio between the first viscosity coefficient and the second viscosity coefficient.
[0019] According to this configuration, the reaction force applied to the operating part can be easily adjusted according to the user's preference.
[0020] In the above control device, the information processing device may have a simulation function for the virtual space and a calculation function for the target position, and the simulation function and the calculation function may be separated.
[0021] According to this configuration, stable control is possible while suppressing oscillation occurring in the actuation portion.
[0022] A haptic device according to one aspect of the present invention includes the control device described above.
[0023] A control program of one embodiment of the present invention causes a computer of a haptics device to execute a position calculation means for calculating the actual position of the operating unit, and a reaction force calculation means for calculating a reaction force to be applied to the operating unit based on the difference between the position calculated by the position calculation means and a target position for applying a force to the object in the virtual space. The reaction force calculation means calculates a reaction force to be applied to the operating unit based on the difference between the position calculated by the position calculation means and a target position for applying a force to the object in the virtual space. Effect of the Invention
[0024] According to the present invention, it is possible to suppress oscillations occurring in an operating part moved by a user. [Brief description of the drawings]
[0025] [Figure 1] 1 is a schematic configuration diagram of a haptics system according to an embodiment of the present invention. [Diagram 2] FIG. 4 is a functional block diagram relating to a reaction force exerted on a stylus in the present embodiment. [Diagram 3] FIG. 3 is a detailed diagram of the functional block diagram shown in FIG. 2. [Figure 4] 1 is a graph showing frequency characteristics of a transfer function, in which (A) shows the frequency characteristics of a differentiation, and (B) shows the frequency characteristics of a first-order HPF type transfer function of this embodiment. [Diagram 5] FIG. 13 is a schematic diagram showing update periods of a main simulator and a sub-simulator. [Figure 6] FIG. 13 is a functional block diagram relating to a reaction force exerted on a conventional stylus. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0026] The control device of the haptic device, the haptic device, and the control program of the present embodiment will be described below with reference to the drawings. Note that the following description is merely an example of a preferred embodiment, and is not intended to limit the invention described in the claims.
[0027] 1 is a schematic diagram of a haptic system 10 according to the present embodiment. The haptic system 10 according to the present embodiment includes a haptic device 14 having a stylus 12 and a simulator 20.
[0028] In the haptics system 10, when the user moves the stylus 12, a force is applied to an object in the virtual space simulated by the simulator 20, and a reaction force resulting from the action is applied to the stylus 12. As a result, when the user moves the stylus 12 to perform an action such as moving or cutting an object in the virtual space, the reaction force applied to the stylus 12 allows the user to actually obtain a sensation corresponding to the action performed in the virtual space. The haptics system 10 is used, for example, in a simulation of surgery, and the stylus 12 simulates a scalpel in the virtual space.
[0029] The haptic device 14 includes a stylus 12 , an arm 16 , and a body portion 18 .
[0030] The stylus 12 is in the shape of a pen and is attached to the tip of an arm 16 having multiple joints, and is an operating part that is gripped and moved by the user.
[0031] The arm 16 has the stylus 12 rotatably attached to its tip, and the other end rotatably connected to the main body 18. The joints of the arm 16 rotate in response to the force (hereinafter referred to as "applied force") applied to the stylus 12 by the user. Note that the number of joints that the arm 16 has and the rotation range of the joints are not limited.
[0032] A servo motor 38 (see FIG. 2) for rotating the joint is provided on at least one of the arm 16 and the main body 18. The servo motor 38 is driven so as to apply a reaction force calculated by the simulator 20 to the stylus 12.
[0033] The main body 18 calculates the actual position of the stylus 12 (hereinafter referred to as the “real position”) in response to the rotation of the connected arm 16, and outputs it to the simulator 20. The real position corresponds to the tip 12A of the stylus 12.
[0034] The simulator 20 is an information processing device that moves or cuts an object in a simulated virtual space in response to the operation of the stylus 12. For this purpose, the simulator 20 calculates a target position at which a force is to be applied to the object in the virtual space. This target position corresponds to the tip 12A of the stylus 12, as an example.
[0035] Here, in the conventional haptic device 100, as shown in FIG. 6, the force F applied by the user to the stylus 102 is ext and the reaction force F applied to the stylus 102 by the servo motor 104. out The actual position x of the stylus 102 is calculated based on the resultant force F, which is the sum of the reaction force F and the actual position x. sim Calculate.
[0036] However, due to various delay elements, dead time elements, etc., the reaction force F acting on the stylus 102 out As a result, the stylus 102 itself may oscillate, causing unstable control.
[0037] Therefore, in order to suppress the oscillation of the stylus 12, the haptic device 14 of this embodiment performs control as shown in the functional block diagram of Fig. 2. Fig. 2 is a functional block diagram relating to the reaction force applied to the stylus 12.
[0038] 2, the controller 30 included in the haptic device 14 includes a position calculation unit 32, a subtraction unit 34, and a reaction force calculation unit 36. Note that the functions executed by the units included in the controller 30 may be executed by a computer included in the controller 30 by starting a program, for example, or may be realized by individual hardware such as an ASIC (Application Specific Integrated Circuit).
[0039] The position calculation unit 32 calculates the actual position x r Calculate the actual position x r is calculated based on the resultant force F applied to the stylus 12. In other words, the stylus 12 receives the resultant force F (F = F out +F ext ) and converts the resultant force F into a position. The position calculation unit 32 converts the position of the tip 12A of the stylus 12 into numerical data that can be used by the simulator 20 using a potentiometer, an analog / digital converter, or the like, and geometric calculations, and converts the actual position x r The output is as follows:
[0040] The subtraction unit 34 calculates a target position x at which a force is applied to an object in the virtual space. t and the actual position x calculated by the position calculation unit 32 r Difference from x t-r The target position x t is calculated by the simulator 20 based on the position x input to the simulator 20. t The calculation method may be a conventionally known method.
[0041] The reaction force calculation unit 36 calculates the difference x t-r Based on this, the reaction force F applied to the stylus 12 is cal Calculate.
[0042] The reaction force value F calculated by the reaction force calculation unit 36 calis input to the servo motor 38 as a reaction force F out The force F applied to the stylus 12 by the user is ext and reaction force F out and the resultant force is F.
[0043] According to the controller 30 of this embodiment shown in FIG. 2, the actual position x of the stylus 12 moved by the user is r and the target position x at which a force is applied to the object in virtual space. t Difference from x t-r Based on this, the reaction force F applied to the stylus 12 is cal That is, in this embodiment, the simulator 20 does not calculate the reaction force value as in the conventional case, but calculates the target position x t To be more specific, the controller 30 outputs the difference x t-r By adjusting the phase and gain of the stylus 12, oscillations occurring in the stylus 12 due to factors such as time delays caused by the movement or deformation of an object by the simulator 20 can be suppressed.
[0044] As shown in FIG. 2, the haptic device 14 of the present embodiment uses a reaction force F calculated by a simulator 20 as in the conventional case. sim is not used as an input to the servo motor 38, it can be considered that the reaction force that is actually required is not directly specified.
[0045] Here, the reaction force value F calculated by the reaction force calculation unit 36 cal is calculated as in the following formula 1. p is the spring constant. Formula 1 is expressed as the reaction force F cal (Reaction force F out ) and the actual position x of stylus 12 r This holds true under the condition that the value remains constant and does not change.
[0046]
number
[0047] From this formula 1, the target position x t is expressed as the following Equation 2.
[0048]
number
[0049] Here, the reaction force value F that you want to specify directly target If there is F in Eq. cal F target The target position x calculated by substituting t By setting the reaction force F target On the other hand, in a dynamic state, the output value of the differentiator (differential calculation unit 42, filter 48, and differential calculation unit 50) included in the reaction force calculation unit 36 and the like does not become "0", so that the formula 1 does not hold. cal F target The target position x calculated by substituting t Even if the simulator 20 outputs the reaction force F target and the actual output reaction force value F cal This deviation is a trade-off for suppressing oscillations occurring in the stylus 12.
[0050] Next, the configurations of the controller 30 and the simulator 20 of this embodiment will be described in detail with reference to FIG.
[0051] The simulator 20 includes a main simulator 22 and a sub-simulator 24 .
[0052] The simulator 20 performs physical calculations and deformation of the shape of objects, and as the number of mass points and objects increases, it becomes difficult to perform calculations at high speeds, for example, at 1 kHz or higher. Therefore, the simulator 20 of this embodiment is composed of a main simulator 22 and a sub-simulator 24, each of which has different functions. The main simulator 22 and the sub-simulator 24 calculate the real position x ris input and calculation is performed in synchronization.
[0053] The main simulator 22 has a function of simulating a virtual space. Specifically, the main simulator 22 performs the same physical calculations as in a normal simulation and calculations related to deformation of the shape of an object. Note that the actual position x of the stylus 12 used in the simulation r is taken as the most recent value of the frame.
[0054] The sub-simulator 24 is set to the target position x t Specifically, the sub-simulator 24 has a target position calculation function for calculating the target position x of the stylus 12. t In other words, the sub-simulator 24 does not perform any physical calculations or calculations related to deformation of the shape of the object other than the object corresponding to the stylus 12, and performs only the minimum collision calculations required to update the target position x t The calculation is performed as quickly as possible.
[0055] In this way, the simulator 20 of this embodiment has a simulation function and a target position calculation function, and the simulation function and the target position calculation function are separated from each other. This allows the simulator 20 to perform stable control by suppressing oscillation of the stylus 12 as long as the main simulator 22 does not become unstable, in other words, as long as the object calculated by the main simulator 22 does not oscillate.
[0056] Note that separating the simulation function and the target position calculation function means, for example, executing the simulation function and the target position calculation function on different processor cores, but is not limited to this and other methods may be used as long as the simulation function and the target position calculation function can be executed at high speed.
[0057] Next, the reaction force calculation unit 36 of this embodiment includes a proportional calculation unit 40, a differential calculation unit 42, and an addition unit 44.
[0058] The proportional calculation unit 40 calculates the difference x t-r Force F based on the proportional element of pCalculate the force F p is the coefficient K p It is calculated using:
[0059] The differential calculation unit 42 calculates the difference x t-r Force F based on the differential element of d Calculate the force F d is the coefficient K d It is calculated using:
[0060] The adder 44 calculates the force F p and force F d The sum of these is calculated as the reaction force value.
[0061] In addition, the calculation values by the proportional calculation unit 40 and the differential calculation unit 42 will be explained in terms of the time domain. The proportional calculation unit 40 calculates the target position x t and the actual position x r Force F proportional to the distance p Therefore, the coefficient K p is regarded as a spring constant. The differential calculation unit 42 calculates the target position x t and the actual position x r and a force F proportional to the time derivative of the distance d Therefore, the coefficient K d can be regarded as the viscosity coefficient.
[0062] These coefficients K p and coefficient K d is set arbitrarily. For example, the proportionality coefficient K p By increasing the viscosity coefficient, the control response improves. d By increasing the value, the user can easily feel the viscosity of the movement of the stylus 12.
[0063] Here, the coefficient K d When the oscillation frequency is measured with a large value, the coefficient K dThe oscillation frequency may be higher than the natural frequency of the haptic device 14 when θ = 0. This is because the gain of the transfer function s of the differential element increases in proportion to the oscillation frequency, and the phase delay due to dead time increases as the oscillation frequency increases. Note that the above is an example of knowledge obtained by simulating oscillation.
[0064] In this way, when calculating the reaction force using the differential element, the coefficient K that can be used without oscillation is determined by the characteristic that the gain increases in proportion to the oscillation frequency and the influence of the dead time element. d The range of the coefficient K d Even if you set it, there is a possibility that high frequency components will be picked up and noise will occur due to the above characteristics.
[0065] Therefore, the differential calculation unit 42 of this embodiment calculates the input difference x t-r The frequency component of the frequency band less than a certain frequency is asymptotic to the first derivative, and the frequency component of the frequency band equal to or greater than the certain frequency is asymptotic to a constant multiple. The value of the constant is proportional to the certain frequency.
[0066] Specifically, the differential calculation unit 42 calculates the input signal (difference x t-r ) below a predetermined frequency and outputs a value that acts as a viscosity term, thereby suppressing oscillation below the predetermined frequency. If the differential calculation unit 42 were to be configured as a simple differential calculation means, the higher the frequency of the input signal, the larger the gain would be, which would become noise and cause oscillation. Therefore, the differential calculation unit 42 is configured to calculate the input signal (difference x t-r By performing a proportional operation on the components of the signal that are equal to or higher than a predetermined frequency, it is possible to suppress an increase in noise.
[0067] In order for the differential calculation unit 42 of this embodiment to obtain the above function, the transfer function of the differential element is set to s, the frequency response is set to j2πf, and by multiplying this differential element by the following formula 3, the transfer function becomes formula 4 and the frequency response becomes formula 5.
[0068]
number
[0069]
number
[0070]
number
[0071] In addition, f o is a given frequency, and if the frequency of oscillation is f, then f< <f o Asymptotic to the differential element s at f>>f o and the constant 2πf o 4A and 4B are graphs showing an example of the frequency characteristics of a transfer function, in which FIG. 4A shows the frequency characteristics of the derivative, and FIG. 4B shows the frequency characteristics of the first-order HPF-type transfer function of this embodiment.
[0072] From the above, the force F calculated by the differential calculation unit 42 is d is the viscosity coefficient K hpf to the constant 2πf hpf By multiplying this by Equation 6, it is calculated as follows: By the differentiation operation of the differentiation operation unit 42 configured in this way, it is possible to suppress an increase in high frequency noise while suppressing oscillation.
number
[0073] Moreover, the reaction force calculation unit 36 of this embodiment includes a subtraction unit 46 and a filter 48.
[0074] The subtraction unit 46 subtracts the output value of a differential calculation unit 50 (described later) from the output value of the addition unit 44 .
[0075] The filter 48 is a notch filter or other filter for suppressing oscillation due to the inherent vibration of the haptic device 14, and filters the output value from the subtraction unit 46 to obtain a reaction force value F cal The controller 30 does not include a filter 48 and outputs the output value from the subtraction unit 46 as a reaction force value F cal may be output to the servo motor 38 as
[0076] Here, as described above, a first-order HPF element is applied to the differential calculation unit 42 to obtain the force F d Even if the target position x is output, if the viscosity coefficient is increased to improve response, noise other than oscillation may occur. This noise is generated by the target position x t This occurs when the main simulator 22 updates the position of an object, etc., if the response to the displacement of the object is fast while the update period of the main simulator 22 is slow.
[0077] The generation of noise will be specifically described with reference to the schematic diagram of Fig. 5. When the stylus 12' (simulated version of the real stylus 12) comes into contact with the object 60 in the simulation (Fig. 5(A)), the stylus 12' starts to interfere with the object 60, generating a reaction force (Fig. 5(B)). Then, as shown in Figs. 5(C) and (D), the reaction force increases in proportion to the penetration depth and speed of the stylus 12' into the object 60. Between Figs. 5(A) to (D), the target position x t Then, when the main simulator 22 updates the position of the object 60 in Fig. 5(E), the object 60 moves and the reaction force suddenly decreases. After that, the stylus 12' continues to contact the object 60, and the reaction force increases again (Fig. 5(F)).
[0078] In this way, if the update frequency of the main simulator 22 is slower than that of the sub-simulator 24, a sudden decrease in reaction force occurs, which appears as noise. Note that this noise refers to a sudden change in the reaction force applied to the stylus 12, causing the stylus 12 to not move smoothly.
[0079] Here, in the differential calculation unit 42, the target position x t Assuming that is a constant value, the force F d is expressed by the following formula 7.
[0080]
number
[0081] The force F expressed by Equation 7 d is expressed as the real position x r Equation 8 contains the target position x t is not included, so the target position x t Even if noise is included in, it will not appear in the output of Equation 8.
[0082]
number
[0083] Therefore, the controller 30 of this embodiment is configured to automatically calculate the actual position x r The differential element (viscosity) of the target position x is applied to the stylus 12 as a reaction force. t The reaction force calculated based on the actual position x calculated by the position calculation unit 32 is bypassed. r This calculates the force based on the differential element of the actual position x r The viscosity based only on the force is always applied as a reaction force.
[0084] In addition, the differential calculation unit 50, like the differential calculation unit 42, calculates the input signal (difference x t-r) for frequencies less than a certain frequency, the first derivative approaches the input signal (difference x t-r ) at or above a specified frequency, a value that asymptotically approaches a constant multiple is output.
[0085] From the above, the force F calculated by the differential calculation unit 50 is d2 is the spring constant K bypass to the constant 2πf hpf By multiplying it by the following formula 9, it is calculated.
[0086]
number
[0087] Furthermore, the target position x t When is a constant value, the first-order HPF elements of the differential calculation unit 42 and the differential calculation unit 50 have the same output. Therefore, the sum of the two spring constants, K hpf +K bypass If there is no change, the viscosity coefficient K hpf and the viscosity coefficient K bypass Even if the ratio of K is changed, the stability of the control does not change. hpf +K bypass is set to a constant value and the viscosity coefficient K hpf and the viscosity coefficient K bypass By changing the ratio of the following, the following adjustments can be made without affecting the stability of the control:
[0088] Viscosity coefficient K hpf Increase the ratio: Noise is more likely to occur, but viscosity is smaller when there is no interference. Viscosity coefficient K bypass Increase the ratio: Noise is less likely to occur, but you will always feel a sense of viscosity.
[0089] In this manner, the controller 30 of the present embodiment uses the viscosity coefficient K hpf and the viscosity coefficient K used in the differential calculation unit 50 bypass The sum of these is set to a predetermined value (constant value), and the viscosity coefficient K hpf and the viscosity coefficient K bypassThis allows the user to always feel the viscosity even if the output of the simulator 20 generates the noise described with reference to FIG. 5, so the controller 30 adjusts the reaction force (F out ) noise can be reduced.
[0090] Furthermore, the spring coefficient K p You can multiply the default value by a constant, such as 1.0 or more. This will make the control more unstable, but will improve responsiveness. Also, the viscosity coefficient K hpf and the viscosity coefficient K bypass The sum of and may be multiplied by a constant less than or equal to 1.0 from the default setting. This makes the control less stable, but reduces viscosity.
[0091] In this manner, the controller 30 of the present embodiment controls the viscosity coefficient K hpf , viscosity coefficient K bypass , and the spring constant K p The simulator 20 has a coefficient setting function for setting the value of the viscosity coefficient K to any value or ratio according to the user's preference. For example, before executing a simulation using the simulator 20, the user can set the viscosity coefficient K hpf and the viscosity coefficient K bypass The sum of these is set to the spring constant K p Then, the user sets the value of the viscosity coefficient K hpf and the viscosity coefficient K bypass The ratio can be set arbitrarily. This allows the reaction force applied to the stylus 12 to be easily adjusted according to the user's preference.
[0092] Although the present invention has been described above using the above embodiment, the technical scope of the present invention is not limited to the scope described in the above embodiment. Various modifications or improvements can be made to the above embodiment without departing from the gist of the invention, and the forms with such modifications or improvements are also included in the technical scope of the present invention.
[0093] In the above embodiment, the simulator 20 is separated into the main simulator 22 and the sub-simulator 24, but the present invention is not limited to this. For example, if the simulator 20 can simultaneously execute a simulation function and a target position calculation function at a high speed of 1 kHz or more, the simulator 20 does not need to be separated into the main simulator 22 and the sub-simulator 24. Note that, in the case where the main simulator 22 and the sub-simulator 24 are not separated, one simulator 20 may perform a simulation using multiple haptic devices 14.
[0094] In the above embodiment, the main simulator 22 is connected to one haptic device 14 and one sub-simulator 24, but the present invention is not limited to this. For example, the main simulator 22 may be connected to a combination of multiple haptic devices 14 and sub-simulators 24, and one main simulator 22 may perform a simulation using multiple haptic devices 14.
[0095] In the above embodiment, the controller 30 includes the differential calculation unit 50. However, the present invention is not limited to this. The controller 30 may not include the differential calculation unit 50.
[0096] In the above embodiment, the operating part moved by the user is described as a pen-shaped stylus 12, but the present invention is not limited to this, and the operating part is not limited to a pen shape like the stylus 12 and may be another shape as long as it can be moved by the user. In addition, the operating part is not limited to one that is moved by the user's hand, and may be one that is moved by the user's foot, for example. [Explanation of symbols]
[0097] 12 Stylus (operating part) 14 Haptic Device 20 Simulator (information processing device) 30 Controller (control device) 32 Position calculation unit (position calculation means) 36 Reaction force calculation unit (reaction force calculation means) 40 Proportional calculation section (proportional calculation means) 42 Differential calculation section (first differential calculation means) 46 Subtraction section (subtraction means) 50 Differential calculation section (second differential calculation means)
Claims
1. A control device for a haptic device that applies a force to an object in a virtual space simulated by an information processing device by a user moving an actuation unit, and applies a reaction force generated by the action to the actuation unit, a position calculation means for calculating an actual position of the operating portion; a reaction force calculation means for calculating a reaction force to be applied to the actuation unit based on a difference between the position calculated by the position calculation means and a target position in the virtual space at which a force is to be applied to the object; A control device for a haptic device comprising:
2. The reaction force calculation means A proportional calculation means for calculating a force based on a proportional element of the difference; a first differential calculation means for calculating a force based on a differential element of the difference; an adding means for calculating a sum of a force based on the proportional element and a force based on the differential element as the reaction force; Equipped with the first differential calculation means outputs a value that asymptotically approaches a first-order differential for a sine wave input having a frequency less than a predetermined frequency, and that asymptotically approaches a constant multiple for a sine wave input having a frequency equal to or greater than the predetermined frequency; The control device for the haptic device according to claim 1 .
3. a second differential calculation means for calculating a force based on a differential element of the position calculated by the position calculation means, a subtraction means for subtracting an output value of the second differential calculation means from an output value of the addition means to calculate the reaction force; The control device for the haptic device according to claim 2 , comprising:
4. a sum of a first viscosity coefficient used in the first differential calculation means and a second viscosity coefficient used in the second differential calculation means is set to a predetermined value; The control device for a haptic device according to claim 3 , wherein a ratio between the first viscosity coefficient and the second viscosity coefficient is variable.
5. the information processing device has a simulation function of the virtual space and a calculation function of the target position, The simulation function and the calculation function are separated. The haptic device according to claim 1 or 2.
6. A haptic device comprising the control device according to claim 1 or 2.
7. A haptic device includes a computer that applies a force to an object in a virtual space simulated by an information processing device when a user moves an operating unit, and applies a reaction force generated by the action to the operating unit. a position calculation means for calculating an actual position of the operating portion; a reaction force calculation means for calculating a reaction force to be applied to the actuation unit based on a difference between the position calculated by the position calculation means and a target position in the virtual space at which a force is to be applied to the object; A control program for executing the above.
Citation Information
Patent Citations
Stylus display control system for three-dimensional object image processing system
JP1992023085A
Tactile sense simulation device for object
JP2000047567A
Force feedback apparatus
JP2008217260A
Evaluation method and evaluation device for operation of operation tool
JP2019113749A
System and method for providing feedback during manual joint positioning
US20180078320A1
