Robot, control method and program
The electronic device adjusts gesture performance accuracy and frequency based on proficiency levels, addressing the challenge of realistically simulating learning behaviors.
Patent Information
- Application Number
- JP2025152462
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-09-12
- Publication Date
- 2025-11-14
AI Technical Summary
Existing electronic devices simulating living creatures lack the ability to realistically express the process of learning behaviors.
An electronic device that performs gestures accurately or inaccurately based on proficiency levels determined by the number of times performed, elapsed time since pseudo-birth, and device state, with frequency of performance adjusted accordingly.
Enables the representation of the learning process of gestures, enhancing the realism of simulated behaviors.
Smart Images

Figure 2025170124000001_ABST
Abstract
Description
[Technical Field]
[0001] The present invention relates to an electronic device, a control method for an electronic device, and a program. [Background technology]
[0002] There are known electronic devices that simulate living creatures such as pets, humans, etc. For example, Patent Document 1 discloses a robot device that, when a specific input is given, performs a specific action associated with the specific input. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Laid-Open No. 2003-159681 Summary of the Invention [Problem to be solved by the invention]
[0004] In electronic devices that simulate living creatures, such as those described above, there is a demand for expressing the process of learning behaviors in order to simulate living creatures more realistically.
[0005] The present invention has been made to solve the above-mentioned problems, and has as its object to provide an electronic device, a control method for an electronic device, and a program that can express the process of learning gestures. [Means for solving the problem]
[0006] In order to achieve the above object, one aspect of the electronic device according to the present invention is to a control means for causing the player's own device to perform a predetermined gesture; The control means When causing the player's own device to perform the gesture, either a first control for causing the player's own device to perform the gesture accurately or a second control for causing the player's own device to perform the gesture inaccurately or not perform the gesture is performed, and a proficiency level of the player's own device for the gesture is derived based on at least one of the number of times the player's own device has performed the gesture, the elapsed time since the pseudo-birth of the player's own device, and the state of the player's own device; When the player's own device is made to perform the gesture, the frequency of performing the first control is changed according to the proficiency level. [Effects of the Invention]
[0007] According to the present invention, it is possible to provide an electronic device, a control method for an electronic device, and a program that can represent the process of learning a gesture. [Brief explanation of the drawings]
[0008] [Figure 1] 1 is a diagram showing an outline of the overall configuration of a robot system according to a first embodiment. [Figure 2] 1 is a cross-sectional side view of a robot according to a first embodiment. [Figure 3] 1 is a block diagram showing a configuration of a robot according to a first embodiment. [Figure 4] 1 is a block diagram showing the configuration of a terminal device according to a first embodiment. [Figure 5] FIG. 10 is a diagram showing an example of a screen for creating gesture information according to the first embodiment. [Figure 6] FIG. 4 is a diagram showing an example of gesture information according to the first embodiment. [Figure 7] FIG. 3 is a diagram showing an example of an emotion map according to the first embodiment. [Figure 8] FIG. 2 is a diagram showing an example of a personality value radar chart according to the first embodiment. [Figure 9] FIG. 1 is a first diagram illustrating an example of a coefficient table according to the first embodiment. [Figure 10] FIG. 2 is a second diagram illustrating an example of a coefficient table according to the first embodiment. [Figure 11]FIG. 1 is a first diagram showing an example of a proficiency table according to the first embodiment. [Figure 12] FIG. 10 is a second diagram showing an example of a proficiency table according to the first embodiment. [Figure 13] 4 is a flowchart showing the flow of a robot control process according to the first embodiment. [Figure 14] 10 is a flowchart showing the flow of gesture control processing according to the first embodiment. DETAILED DESCRIPTION OF THE INVENTION
[0009] Hereinafter, embodiments of the present invention will be described with reference to the drawings, in which the same or corresponding parts are designated by the same reference numerals.
[0010] (Embodiment 1) 1 shows a schematic configuration of a robot system 1 according to the first embodiment. The robot system 1 includes a robot 200 and a terminal device 50. The robot 200 is an example of the electronic device according to the first embodiment.
[0011] The robot 200 according to the first embodiment is equipped with an exterior 201, decorative parts 202, fluffy fur 203, a head 204, a connecting part 205, a body part 206, a housing 207, a touch sensor 211, an acceleration sensor 212, a microphone 213, an illuminance sensor 214, and a speaker 231, which are similar to those of the robot 200 disclosed in Japanese Patent Application Laid-Open No. 2023-115370, and the description thereof will be omitted.
[0012] The robot 200 according to the first embodiment includes a twist motor 221 and a vertical motor 222 similar to those of the robot 200 disclosed in Japanese Patent Application Laid-Open No. 2023-115370, and a description thereof will be omitted. The twist motor 221 and the vertical motor 222 of the robot 200 according to the first embodiment operate in the same manner as those of the robot 200 disclosed in Japanese Patent Application Laid-Open No. 2023-115370.
[0013] The robot 200 includes a gyro sensor 215. The acceleration sensor 212 and the gyro sensor 215 enable the robot 200 to detect changes in the posture of the robot 200 itself, and also to detect when the robot 200 is being lifted, turned around, or thrown by a user.
[0014] At least some of the acceleration sensor 212, microphone 213, illuminance sensor 214, gyro sensor 215, and speaker 231 may be provided not only in the torso 206 but also in the head 204, or may be provided in both the torso 206 and the head 204.
[0015] Next, the functional configuration of the robot 200 will be described with reference to Fig. 3. As shown in Fig. 3, the robot 200 includes a control device 100, a sensor unit 210, a drive unit 220, an output unit 230, and an operation unit 240. These units are connected via a bus line BL, for example. Note that instead of the bus line BL, a wired interface such as a USB (Universal Serial Bus) cable or a wireless interface such as Bluetooth (registered trademark) may be used.
[0016] The control device 100 is a device that controls the robot 200. The control device 100 includes a control unit 110, which is an example of a control means, a storage unit 120, which is an example of a storage means, and a communication unit 130, which is an example of a communication means.
[0017] The control unit 110 includes a CPU (Central Processing Unit). The CPU is, for example, a microprocessor, and is a central processing unit that executes various processes and calculations. In the control unit 110, the CPU reads out a control program stored in ROM and controls the overall operation of the robot 200, which is the control unit's own device, while using RAM as a work memory. Furthermore, although not shown, the control unit 110 includes a clock function, a timer function, etc., and can measure the date and time, etc. The control unit 110 may also be called a "processor."
[0018] The storage unit 120 includes a ROM (Read Only Memory), a RAM (Random Access Memory), a flash memory, etc. The storage unit 120 stores programs and data used by the control unit 110 to perform various processes, including an OS (Operating System) and application programs. The storage unit 120 also stores data generated or acquired by the control unit 110 as a result of the control unit 110 performing various processes.
[0019] The communication unit 130 includes a communication interface for communicating with devices external to the robot 200. For example, the communication unit 130 communicates with external devices including the terminal device 50 in accordance with well-known communication standards such as wireless local area network (LAN), Bluetooth Low Energy (BLE (registered trademark)), and near field communication (NFC).
[0020] The sensor unit 210 includes the above-mentioned touch sensor 211, acceleration sensor 212, gyro sensor 215, illuminance sensor 214, and microphone 213. The sensor unit 210 is an example of a detection unit that detects an external stimulus.
[0021] The touch sensor 211 includes, for example, a pressure sensor or a capacitance sensor, and detects contact with an object. Based on the detection value of the touch sensor 211, the control unit 110 can detect whether the robot 200 is being stroked or hit by the user.
[0022] The acceleration sensor 212 detects acceleration applied to the body 206 of the robot 200. The acceleration sensor 212 detects acceleration in each of the X-axis direction, the Y-axis direction, and the Z-axis direction, that is, acceleration in three axes.
[0023] For example, the acceleration sensor 212 detects gravitational acceleration when the robot 200 is stationary. The control unit 110 can detect the current posture of the robot 200 based on the gravitational acceleration detected by the acceleration sensor 212. In other words, the control unit 110 can detect whether the housing 207 of the robot 200 is tilted from the horizontal direction based on the gravitational acceleration detected by the acceleration sensor 212. In this way, the acceleration sensor 212 functions as a tilt detection unit that detects the tilt of the robot 200.
[0024] Furthermore, when the user lifts or throws the robot 200, the acceleration sensor 212 detects not only the gravitational acceleration but also the acceleration accompanying the movement of the robot 200. Therefore, the control unit 110 can detect the movement of the robot 200 by removing the gravitational acceleration component from the detection value detected by the acceleration sensor 212.
[0025] The gyro sensor 215 detects the angular velocity when rotation is applied to the body 206 of the robot 200. Specifically, the gyro sensor 215 detects the angular velocity of three-axis rotation, namely, rotation around the X-axis direction, rotation around the Y-axis direction, and rotation around the Z-axis direction. By combining the detection values detected by the acceleration sensor 212 and the detection values detected by the gyro sensor 215, the movement of the robot 200 can be detected with higher accuracy.
[0026] The touch sensor 211, acceleration sensor 212, and gyro sensor 215 detect the strength of contact, acceleration, and angular velocity at synchronized timing (for example, every 0.25 seconds), and output the detected values to the control unit 110.
[0027] The microphone 213 detects sounds around the robot 200. Based on the sound components detected by the microphone 213, the control unit 110 can detect, for example, whether the user is calling out to the robot 200 or clapping their hands.
[0028] The illuminance sensor 214 detects the illuminance around the robot 200. Based on the illuminance detected by the illuminance sensor 214, the control unit 110 can detect whether the area around the robot 200 has become brighter or darker.
[0029] The control unit 110 acquires, via the bus line BL, detection values detected by the various sensors included in the sensor unit 210 as external stimuli. The external stimuli are stimuli that act on the robot 200 from outside the robot 200. Examples of external stimuli include "a loud noise was heard," "someone spoke to me," "someone stroked me," "someone lifted me up," "someone turned upside down," "it became brighter," and "it became darker."
[0030] For example, the control unit 110 acquires external stimuli caused by "a loud noise" or "being spoken to" using the microphone 213, and acquires external stimuli caused by "being stroked" using the touch sensor 211. The control unit 110 also acquires external stimuli caused by "being lifted" or "being turned upside down" using the acceleration sensor 212 and gyro sensor 215, and acquires external stimuli caused by "it getting brighter" or "it getting darker" using the illuminance sensor 214.
[0031] The sensor unit 210 may include sensors other than the touch sensor 211, the acceleration sensor 212, the gyro sensor 215, and the microphone 213. By increasing the types of sensors included in the sensor unit 210, it is possible to increase the types of external stimuli that the control unit 110 can acquire.
[0032] The driving unit 220 includes a twist motor 221 and an up-down motor 222, and is driven by the control unit 110. The twist motor 221 is a servo motor for rotating the head 204 in the left-right direction (width direction) relative to the body 206 around the front-to-back direction as an axis. The up-down motor 222 is a servo motor for rotating the head 204 in the up-down direction (height direction) relative to the body 206 around the left-to-right direction as an axis. The robot 200 can express the action of twisting the head 204 sideways by using the twist motor 221, and can express the action of raising and lowering the head 204 by using the up-down motor 222.
[0033] The output unit 230 includes a speaker 231, and when the control unit 110 inputs sound data to the output unit 230, sound is output from the speaker 231. For example, when the control unit 110 inputs data of the cry of the robot 200 to the output unit 230, the robot 200 emits a pseudo cry.
[0034] Note that instead of or in addition to speaker 231, output unit 230 may be provided with a display such as a liquid crystal display or a light-emitting unit such as an LED (Light Emitting Diode), and emotions such as joy and sadness may be displayed on the display or expressed by the color and brightness of the emitted light.
[0035] The operation unit 240 includes operation buttons, a volume knob, etc. The operation unit 240 is an interface for accepting user operations such as turning the power on and off, adjusting the volume of the output sound, etc.
[0036] The battery 250 is a rechargeable secondary battery that stores the power used by the robot 200. The battery 250 is charged when the robot 200 moves to a charging station.
[0037] The position information acquisition unit 260 is equipped with a position information sensor such as a GPS (Global Positioning System) and acquires current position information of the robot 200. Note that the position information acquisition unit 260 may acquire the position information of the robot 200 by a general method using wireless communication, not limited to GPS, or may acquire the position information of the robot 200 through application software of the terminal device 50.
[0038] Control unit 110 functionally comprises gesture information acquisition unit 111, which is an example of gesture information acquisition means, state parameter acquisition unit 112, which is an example of state parameter acquisition means, gesture control unit 113, which is an example of gesture control means, and proficiency setting unit 114, which is an example of proficiency setting means. In control unit 110, the CPU functions as each of these units by reading a program stored in ROM into RAM and executing and controlling the program.
[0039] The storage unit 120 also stores gesture information 121, state parameters 122, log information 123, a coefficient table 124, and a skill level table 125.
[0040] Next, the configuration of the terminal device 50 will be described with reference to Fig. 4. The terminal device 50 is an operation terminal operated by a user. The terminal device 50 is, for example, a general-purpose information processing device such as a personal computer, a smartphone, a tablet terminal, or a wearable terminal. As shown in Fig. 4, the terminal device 50 includes a control unit 510, a storage unit 520, an operation unit 530, a display unit 540, and a communication unit 550.
[0041] The control unit 510 includes a CPU. In the control unit 110, the CPU reads out a control program stored in a ROM and controls the overall operation of the terminal device 50 while using a RAM as a work memory. The control unit 510 may also be called a "processor."
[0042] The storage unit 520 includes a ROM, a RAM, a flash memory, etc. The storage unit 520 stores programs and data used by the control unit 510 to perform various processes. The storage unit 520 also stores data generated or acquired by the control unit 510 as a result of performing various processes.
[0043] The operation unit 530 includes input devices such as a keyboard, a mouse, buttons, a touch pad, and a touch panel, and receives operation inputs from the user.
[0044] Display unit 540 includes a display device such as a liquid crystal display, and displays various images under the control of control unit 510. Display unit 540 is an example of a display means.
[0045] The communication unit 550 includes a communication interface for communicating with devices external to the terminal device 50. For example, the communication unit 550 communicates with external devices including the robot 200 in accordance with well-known communication standards such as wireless LAN, BLE (registered trademark), and NFC.
[0046] Control unit 510 functionally includes gesture information creation unit 511, which is an example of a gesture information creation means. In control unit 510, a CPU reads a program stored in a ROM into a RAM, and executes and controls the program to function as each of these units.
[0047] Returning to Fig. 3, in the control device 100 of the robot 200, the gesture information acquisition unit 111 acquires gesture information 121. The gesture information 121 is information that determines gestures to be performed by the robot 200. Here, the gestures to be performed by the robot 200 are the behavior, actions, etc. of the robot 200. Specifically, the gestures are configured by a combination of multiple elements, each of which is a movement or a voice output.
[0048] The movement refers to a physical movement (motion) of the robot 200 that is performed by the driving unit 220. Specifically, the movement corresponds to moving the head 204 relative to the body 206 by the twist motor 221 or the up / down motor 222. The audio output refers to outputting various sounds, such as cries, from the speaker 231 of the output unit 230.
[0049] The gesture information 121 is a combination of such movements or voice outputs (cries) that defines the gestures that the robot 200 should perform. The gesture information 121 may be pre-installed in the robot 200, but can also be freely created by the user by operating the terminal device 50.
[0050] 4, the gesture information creation unit 511 creates gesture information 121 in accordance with a user's instruction. The user can create information on various gestures that the user wants the robot 200 to perform by operating the operation unit 530.
[0051] More specifically, the user operates the operation unit 530 to start up application software for programming that is pre-installed in the terminal device 50. As a result, the gesture information creation unit 511 displays a creation screen for the gesture information 121 on the display unit 540, as shown in FIG.
[0052] In the action column and sound column on the creation screen, it is possible to set the execution order and execution timing of the actions and sound output (cries) to be performed by the robot 200. While viewing such a creation screen, the user can freely program the gestures to be performed by the robot 200 by selecting and combining actions and sounds from the menus.
[0053] Specifically, in the example of FIG. 5, a gesture named "Test 1" is set as follows: the head 204 is moved up, down, left, and right in this order, and then sounds are output in the order of cry 1, cry 2, cry 3, and cry 4, and so on. Actions and sound outputs (crying sounds) that can be set on the creation screen are prepared in advance as a library. The user can select an action or sound output to be executed by the robot 200 from the library.
[0054] The gesture information 121 created by such user operations has a more detailed configuration as shown in Fig. 6. Specifically, the gesture information 121 defines, for each of a plurality of gestures, a gesture name, a trigger, a gesture control parameter, the number of times the gesture has been performed, and the date and time of the previous performance, in association with each other.
[0055] A trigger is a condition for the robot 200 to perform a gesture. When a trigger defined for a certain gesture is established, the gesture is performed by the robot 200. In the example of FIG. 5, the gesture of "Test 1" is performed "upon voice recognition," and the gesture of "Test 2" is performed "upon voice recognition" or "when the head is stroked."
[0056] Here, "during voice recognition" corresponds to a case where the voice recognition function of the robot 200 recognizes the name of a gesture from the user's voice detected by the microphone 213. Also, "when the head is stroked" corresponds to a case where the touch sensor 211 detects that the user has stroked the head 204 of the robot 200.
[0057] The trigger is not limited to these, and various conditions are possible. For example, the trigger may be when "a loud noise is heard" detected by the microphone 213, when "being lifted" or "being turned upside down" detected by the acceleration sensor 212 and the gyro sensor 215, or when "it has become brighter" or "it has become darker" detected by the illuminance sensor 214. These can be said to be triggers based on external stimuli detected by the sensor unit 210. Alternatively, the trigger may be when "a specific time has arrived" or when "the robot 200 has moved to a specific location." These can be said to be triggers not based on external stimuli.
[0058] Note that each gesture may be executed regardless of the trigger defined in the gesture information 121 when an execution instruction is received from the terminal device 50.
[0059] The gesture control parameters are parameters for causing the robot 200 to perform each gesture. The gesture control parameters include the following items: movement, cry, execution start timing, movement parameters, and cry parameters.
[0060] The action item defines the type and order of actions that make up each gesture. The cry item defines the type and order of audio outputs that make up each gesture. The execution start timing defines the timing for executing each action or cry that makes up each gesture. Specifically, the execution start timing defines the execution start time and execution time for each action or cry.
[0061] The movement parameters determine, for each movement constituting each gesture, the movement time and movement distance of the twist motor 221 or the up / down motor 222 when the movement is executed. The cry parameters determine, for each cry constituting each gesture, the volume of the sound output from the speaker 231 when the cry is executed.
[0062] The number of executions is the cumulative number of times each gesture has been executed by the robot 200. The initial value of the number of executions is 0. The number of executions of each gesture is increased by 1 each time the robot 200 executes that gesture. The last execution date and time is the date and time when each gesture was last executed by the robot 200.
[0063] The gesture information creation unit 511 creates gesture information 121 having such a data configuration based on an instruction from a user. After creating the gesture information 121, the gesture information creation unit 511 communicates with the robot 200 via the communication unit 550 and transmits the created gesture information 121 to the robot 200. In the robot 200, the gesture information acquisition unit 111 communicates with the terminal device 50 via the communication unit 130, acquires the gesture information 121 created in the terminal device 50, and stores it in the storage unit 120.
[0064] 3, the state parameter acquisition unit 112 acquires the state parameters 122. The state parameters 122 are parameters for representing the state of the robot 200. Specifically, the state parameters 122 include (1) emotion parameters, (2) personality parameters, (3) remaining battery power, (4) current location, (5) current time, and (6) number of days for growth (number of days for raising).
[0065] (1) Emotion parameters The emotion parameters are parameters that represent simulated emotions of the robot 200. The emotion parameters are expressed by coordinates (X, Y) on the emotion map 300.
[0066] As shown in Figure 7, the emotion map 300 is represented by a two-dimensional coordinate system with the X axis representing relief (anxiety) and the Y axis representing excitement (lethargy). The origin (0,0) on the emotion map represents normal emotions. The larger the absolute value of the X coordinate (X value), the more positive the X coordinate value, the higher the relief emotion, and the larger the absolute value of the negative coordinate value, the higher the anxiety emotion. The larger the absolute value of the Y coordinate (Y value), the more positive the Y coordinate value, the higher the excitement emotion, and the larger the absolute value of the negative coordinate value, the higher the lethargy emotion.
[0067] The emotion parameters represent multiple (four in this embodiment) different pseudo-emotions. In Fig. 7, of the values representing the pseudo-emotions, the relief and anxiety levels are shown together on one axis (X-axis), and the excitement and lethargy levels are shown together on another axis (Y-axis). Therefore, the emotion parameters have two values: an X value (relief, anxiety level) and a Y value (excitement, lethargy level), and the points on the emotion map 300 represented by the X and Y values represent the pseudo-emotions of the robot 200. The initial values of the emotion parameters are (0,0).
[0068] 7, emotion map 300 is represented in a two-dimensional coordinate system, but emotion map 300 may have any number of dimensions. Emotion map 300 may be defined in one dimension, with one value set as the emotion parameter. Alternatively, emotion map 300 may be defined in a coordinate system of three or more dimensions by adding other axes, with the same number of values set as the emotion parameter.
[0069] State parameter acquisition unit 112 calculates emotion change amounts, which are amounts of change that increase or decrease the X and Y values of emotion parameters. Emotion change amounts are expressed by the following four variables: DXP and DXM increase and decrease the X value of emotion parameters, respectively. DYP and DYM increase and decrease the Y value of emotion parameters, respectively.
[0070] DXP: Ease of feeling at ease (the tendency for the X value on the emotion map to change in a positive direction) DXM: Anxiety (the tendency for the X value on the emotional map to change in a negative direction) DYP: Excitability (the tendency for the Y value on the emotion map to change in a positive direction) DYM: Tendency to become lethargic (the tendency for the Y value on the emotion map to change in the negative direction)
[0071] The state parameter acquisition unit 112 updates the emotion parameters by adding or subtracting a value corresponding to the external stimulus from the emotion variations DXP, DXM, DYP, and DYM to the current emotion parameters. For example, when the head 204 is stroked, the simulated emotion of the robot 200 is one of relief, so the state parameter acquisition unit 112 adds DXP to the X value of the emotion parameter. Conversely, when the head 204 is hit, the simulated emotion of the robot 200 is one of anxiety, so the state parameter acquisition unit 112 subtracts DXM from the X value of the emotion parameter. It is possible to arbitrarily set which emotion variations correspond to various external stimuli. An example is shown below.
[0072] Petting the head 204 (feels reassuring): X = X + DXP Hit on head 204 (makes me anxious): X=X-DXM (These external stimuli can be detected by the touch sensor 211 on the head 204.) Body part 206 is stroked (excited): Y=Y+DYP Hitting the torso 206 (becoming lethargic): Y=Y-DYM (These external stimuli can be detected by the touch sensor 211 on the body 206.) Being held with head up (happy): X=X+DXP and Y=Y+DYP Hanging head down (sad): X=X-DXM and Y=Y-DYM (These external stimuli can be detected by the touch sensor 211 and the acceleration sensor 212.) A gentle voice calls out to you (becomes peaceful): X=X+DXP and Y=Y-DYM Being yelled at loudly (irritating): X=X-DXM and Y=Y+DYP (These external stimuli can be detected by microphone 213)
[0073] Sensor section 210 acquires a plurality of different types of external stimuli using a plurality of sensors. State parameter acquisition section 112 derives various amounts of emotion change in response to each of the plurality of external stimuli, and sets emotion parameters in response to the derived amounts of emotion change.
[0074] The initial value of each of the emotion variation amounts DXP, DXM, DYP, and DYM is 10, and can increase up to a maximum of 20. The state parameter acquisition unit 112 updates each variable of the emotion variation amounts DXP, DXM, DYP, and DYM in response to external stimuli detected by the sensor unit 210.
[0075] Specifically, state parameter acquisition section 112 adds 1 to DXP if the X value of the emotion parameter is set to the maximum value of emotion map 300 at least once in a day, and adds 1 to DYP if the Y value of the emotion parameter is set to the maximum value of emotion map 300 at least once. Furthermore, state parameter acquisition section 112 adds 1 to DXM if the X value of the emotion parameter is set to the minimum value of emotion map 300 at least once in a day, and adds 1 to DYM if the Y value of the emotion parameter is set to the minimum value of emotion map 300 at least once.
[0076] In this way, state parameter acquisition section 112 changes the emotion change amount according to a condition based on whether the emotion parameter value has reached the maximum or minimum value of emotion map 300 (first condition based on external stimuli). As an example, the initial value of each emotion change amount variable is set to 10. By updating the emotion change amount as described above, state parameter acquisition section 112 increases each variable up to a maximum of 20. This update process changes the emotion change amount, i.e., the degree of change in emotion.
[0077] For example, if only the head 204 is stroked repeatedly, only the emotion change amount DXP increases, while the other emotion change amounts remain unchanged, so the robot 200 develops a reassuring personality. On the other hand, if only the head 204 is hit repeatedly, only the emotion change amount DXM increases, while the other emotion change amounts remain unchanged, so the robot 200 develops a personality that is prone to anxiety. In this way, the state parameter acquisition unit 112 changes the emotion change amount in response to various external stimuli.
[0078] (2) Personality parameters The personality parameters are parameters that represent the simulated personality of the robot 200. The personality parameters include a plurality of personality values that respectively represent different degrees of personality. The state parameter acquisition unit 112 changes the plurality of personality values included in the personality parameters in response to an external stimulus detected by the sensor unit 210.
[0079] Specifically, the state parameter acquisition unit 112 calculates the four personality values according to the following (Equation 1): That is, the personality value (cheerful) is calculated by subtracting 10 from DXP, which indicates how easily one feels at ease; the personality value (shy) is calculated by subtracting 10 from DXM, which indicates how easily one becomes anxious; the personality value (active) is calculated by subtracting 10 from DYP, which indicates how easily one becomes excited; and the personality value (spoiled) is calculated by subtracting 10 from DYM, which indicates how easily one becomes lethargic.
[0080] Personality (cheerful) = DXP-10 Personality score (shy) = DXM-10 Personality score (active) = DYP-10 Personality score (spoiled) = DYM-10 …(Formula 1)
[0081] 8, a personality value radar chart 400 can be generated by plotting the personality value (cheerful) on the first axis, the personality value (active) on the second axis, the personality value (shy) on the third axis, and the personality value (spoiled) on the fourth axis. Each variable of the amount of emotional change has an initial value of 10 and can increase up to a maximum of 20, so the range of the personality value is between 0 and 10.
[0082] Since the initial value of each personality value is 0, the personality of robot 200 at birth is represented by the origin of personality value radar chart 400. As robot 200 grows, the four personality values change up to an upper limit of 10 depending on external stimuli (how the user interacts with robot 200) detected by sensor unit 210. This allows for the expression of 11 to the fourth power = 14,641 different personalities.
[0083] In this way, the robot 200 has various personalities depending on how the user interacts with the robot 200. In other words, the personality of each robot 200 is formed differently depending on how the user interacts with the robot 200.
[0084] These four personality values are fixed when the child period has passed and the simulated growth of the robot 200 is completed. In order to correct the personality in the subsequent adult period according to the user's interaction with the robot 200, the state parameter acquisition unit 112 adjusts the four personality correction values (cheerful correction value, active correction value, shy correction value, and clingy correction value).
[0085] State parameter acquisition section 112 adjusts the four personality correction values in accordance with a condition (second condition based on external stimulus data) based on which area on emotion map 300 the emotion parameter has existed for the longest time. Specifically, the four personality correction values are adjusted as follows (A) to (E):
[0086] (A) If the longest presence area is a safe area on the emotion map 300, the state parameter acquisition unit 112 adds 1 to the cheerful correction value and subtracts 1 from the shy correction value. (B) If the longest presence area is an excited area on the emotion map 300, the state parameter acquisition unit 112 adds 1 to the active correction value and subtracts 1 from the spoiled child correction value. (C) If the longest existing area is an anxious area on the emotion map 300, the state parameter acquisition unit 112 adds 1 to the shy correction value and subtracts 1 from the cheerful correction value. (D) If the longest presence area is a lethargic area on the emotion map 300, the state parameter acquisition unit 112 adds 1 to the spoiled child correction value and subtracts 1 from the active correction value. (E) If the longest presence area is the central area on the emotion map 300, the state parameter acquisition section 112 decreases the absolute values of all four personality correction values by one.
[0087] Note that the areas of relief, excitement, anxiety, lethargy, and center are examples, and the emotion map 300 may be divided into more detailed areas, such as areas of joy, excitement, irritation, sadness, calm, and normal.
[0088] When the four character correction values are set, the state parameter acquisition unit 112 calculates the four character values according to the following (Equation 2).
[0089] Personality (cheerful) = DXP-10 + cheerfulness correction value Personality score (shy) = DXM-10 + shyness correction value Personality score (active) = DYP-10 + activeness correction value Personality score (spoiled) = DYM-10 + spoiled correction value …(Formula 2)
[0090] (3) Battery level The remaining battery capacity is the remaining amount of power stored in the battery 250, and is a parameter that indicates the pseudo hunger level of the robot 200. The state parameter acquisition unit 112 acquires information about the current remaining battery capacity from a power supply control unit that controls charging and discharging of the battery 250.
[0091] (4) Current location The current location is the location where the robot 200 is currently located. The state parameter acquisition unit 112 acquires information about the current location of the robot 200 using the position information acquisition unit 260.
[0092] More specifically, the state parameter acquisition unit 112 refers to past position information of the robot 200 recorded in the log information 123. The log information 123 is data recording past behavioral data of the robot 200. Specifically, the log information 123 includes data indicating changes in the state parameters 122 such as past position information, emotion parameters, personality parameters, and remaining battery power of the robot 200, and sleep data indicating past wake-up times, bedtimes, etc. of the robot 200.
[0093] If the current location matches the location most frequently recorded, the state parameter acquisition unit 112 determines that the current location is home. If the current location is not home, the state parameter acquisition unit 112 determines whether the current location is a new location, a familiar location, or a less familiar location, based on the number of times the location has been recorded in the past in the log information 123, and acquires the determination information. For example, if the number of times the location has been recorded in the past is five or more, the state parameter acquisition unit 112 determines that the current location is a familiar location, and if the number of times the location has been recorded in the past is less than five, the state parameter acquisition unit 112 determines that the current location is a less familiar location.
[0094] (5)Current time The current time is the current time. The state parameter acquisition unit 112 acquires the current time from a clock mounted on the robot 200. Note that, like the acquisition of position information, the acquisition of the current time is not limited to this method.
[0095] More specifically, the state parameter acquisition unit 112 refers to today's wake-up time and past average bedtime recorded in the log information 123 to determine whether the current time is immediately after today's wake-up time or immediately before bedtime.
[0096] The log information 123 includes sleep data. Although not shown, the sleep data includes a sleep log and aggregated sleep data. The sleep log records the robot 200's past wake-up times and bedtimes for each day. The aggregated sleep data is data obtained by aggregating the sleep logs and records the average wake-up times and average bedtimes for each day of the week.
[0097] For example, if the current time is within 30 minutes of today's wake-up time, the state parameter acquisition unit 112 determines that the current time is immediately after today's wake-up time. Also, if the current time is within 30 minutes of the past average bedtime, the state parameter acquisition unit 112 determines that the current time is immediately before bedtime.
[0098] Although not shown in the figure, the sleep data records past nap time periods of the robot 200. The state parameter acquisition unit 112 refers to the past nap time periods recorded in the log information 123 and determines whether the current time falls within a nap time period.
[0099] (6) Number of days for growth (number of days for development) The number of days of growth represents the number of days of pseudo-growth of the robot 200. The robot 200 is pseudo-born when the user activates it for the first time after shipping from the factory, and grows from a child to an adult over a predetermined growth period. The number of days of growth corresponds to the number of days from the pseudo-birth of the robot 200.
[0100] The initial value of the number of days of growth is 1, and the state parameter acquisition unit 112 adds 1 to the number of days of growth each time a day passes. The growth period in which the robot 200 grows from a child to an adult is, for example, 50 days, and the period of 50 days of growth from the simulated birth is referred to as the "child period (first period)." When the child period has elapsed, the simulated growth of the robot 200 is completed. The period after the child period is completed is referred to as the "adult period (second period)."
[0101] During the childhood period, the state parameter acquisition unit 112 increases both the maximum and minimum values of the emotion map 300 by 2 each time the number of days of simulated growth of the robot 200 increases by one day. The initial size of the emotion map 300 is such that the maximum value of both the X and Y values is 100 and the minimum value is -100, as shown in box 301 in FIG. 7. When the number of days of growth has reached half the childhood period (for example, 25 days), the maximum value of both the X and Y values becomes 150 and the minimum value becomes -150, as shown in box 302 in FIG. 7. When the childhood period has passed, the simulated growth of the robot 200 stops. At this time, the maximum value of both the X and Y values becomes 200 and the minimum value becomes -200, as shown in box 303 in FIG. 7. Thereafter, the size of the emotion map 300 is fixed.
[0102] The settable range of emotion parameters is determined by emotion map 300. Therefore, the settable range of emotion parameters expands as the size of emotion map 300 expands. Expanding the settable range of emotion parameters enables a richer range of emotion expression, and so the pseudo-growth of robot 200 is expressed by expanding the size of emotion map 300.
[0103] Returning to FIG. 3, the gesture control unit 113 causes the robot 200 to perform various gestures according to the situation, based on the gesture information 121 acquired by the gesture information acquisition unit 111.
[0104] The gesture control unit 113 determines whether any of the triggers for multiple gestures defined in the gesture information 121 has been established based on the detection result by the sensor unit 210 or the like. For example, the gesture control unit 113 determines whether any of the triggers defined in advance in the gesture information 121 has been established, such as whether the user's voice has been recognized, whether the head 204 of the robot 200 has been stroked, whether a specific time has arrived, whether the robot 200 has moved to a specific location, etc. If any of the triggers has been established as a result of the determination, the gesture control unit 113 causes the robot 200 to perform a gesture corresponding to the established trigger.
[0105] When any of the triggers is established, the gesture control unit 113 refers to the gesture information 121 and identifies gesture control parameters set for the gesture corresponding to the established trigger. Specifically, the gesture control unit 113 identifies, as the gesture control parameters, a combination of actions or cries that are elements constituting the gesture corresponding to the established trigger, the execution start timing of each element, and action parameters or cries parameters that are parameters of each element. Then, the gesture control unit 113 drives the drive unit 220 or outputs sound from the speaker 231 based on the identified gesture control parameters, thereby causing the robot 200 to perform the gesture corresponding to the established trigger.
[0106] More specifically, the gesture control unit 113 corrects the gesture control parameters identified from the gesture information 121 based on the state parameters 122 acquired by the state parameter acquisition unit 112. This allows the gestures of the robot 200 to be changed according to the current state of the robot 200, thereby enabling the robot 200 to realistically imitate a living creature.
[0107] To correct the gesture control parameters, the gesture control unit 113 refers to the coefficient table 124. As shown in Figures 9 and 10, the coefficient table 124 defines a correction coefficient for each of the state parameters 122, namely, (1) emotion parameter, (2) personality parameter, (3) remaining battery level, (4) current location, and (5) current time. Although not shown, the coefficient table 124 may also define a correction coefficient for (6) number of days of growth.
[0108] The correction coefficients are coefficients for correcting gesture control parameters identified from the gesture information 121. Specifically, the correction coefficients are determined by the action direction and weighting coefficients for the speed and amplitude of the up-down movement by the up-down motor 222, the speed and amplitude of the left-right movement by the twist motor 221, and the movement start time lag.
[0109] More specifically, the gesture control unit 113 determines which of the following (1) to (5) corresponds to the current state of the robot 200 indicated by the state parameters 122 acquired by the state parameter acquisition unit 112. Then, the gesture control unit 113 corrects the gesture control parameters using a correction coefficient corresponding to the current state of the robot 200.
[0110] (1) Whether the current emotional parameter of the robot 200 corresponds to joy, frustration, sadness, lethargy, or normal. In other words, whether the coordinates (X, Y) representing the emotional parameter are located in the areas marked "joy," "irritation," "sadness," "lethargy," or "normal" on the emotional map 300 shown in FIG. 7. (2) Which of the following personality parameters does the robot 200 currently have? Cheerful, lively, shy, or clingy? In other words, which of the four personality values is the largest? (3) Whether the current battery remaining capacity of the robot 200 is 70% or more, between 70% and 30%, or 30% or less. (4) Whether the current location of the robot 200 is at home, a familiar location, an unfamiliar location, or a new location. (5) Whether the current time is just after waking up, during a nap, or just before going to bed.
[0111] 10, when the current time corresponds to the time immediately after waking up, the action direction for both the speed and amplitude of the up-down movement and the left-right movement is set to "-" and the weighting coefficient is set to "0.2." Therefore, the gesture control unit 113 lengthens the movement time by 20% and shortens the movement distance by 20% based on the values acquired from the gesture information 121. In other words, the gesture control unit 113 makes the movement of the robot 200 20% slower and 20% shorter than usual.
[0112] 10, the coefficient table 124 defines the action direction of the action start time lag as "+" and the weighting coefficient as "0.2." Therefore, the gesture control unit 113 delays the execution start timing by 20% from the normal timing based on the value set in the gesture information 121. By making corrections using such correction coefficients, it is possible to express that gestures are performed slightly slower than normal movements when the user is in a drowsy state immediately after waking up.
[0113] In addition to (5) the current time, the gesture control unit 113 also identifies correction coefficients for the corresponding states of (1) emotion parameters, (2) personality parameters, (3) remaining battery level, and (4) current location from the coefficient table 124. The gesture control unit 113 then corrects the gesture control parameters using the sum of the corresponding correction coefficients for (1) to (5).
[0114] As a specific example, we will explain a case where (1) the current emotion parameter corresponds to joy, (2) the current personality parameter corresponds to cheerfulness, (3) the current battery level corresponds to 30% or less, (4) the current location corresponds to a new location, and (5) the current time corresponds to immediately after waking up.
[0115] 9 and 10, the sum of the correction coefficients for the speed and amplitude of the up-down movement is calculated as "+0.2+0.1-0.3-0.2-0.2=-0.4," and the sum of the correction coefficients for the speed and amplitude of the left-right movement is calculated as "+0.2+0-0.3-0.2-0.2=-0.5." Therefore, the gesture control unit 113 increases the movement time of the up-down motor 222 by 40% and shortens the movement distance by 40% based on the value set in the gesture information 121. Furthermore, the gesture control unit 113 increases the movement time of the twist motor 221 by 50% and shortens the movement distance by 50% based on the value acquired from the gesture information 121.
[0116] The sum of the correction coefficients for the action start time lag is calculated as +0+0+0.3+0.2+0.2=+0.7. Therefore, the gesture control unit 113 delays the execution start timing by 70% compared to normal, using the value acquired from the gesture information 121 as a reference.
[0117] Although not shown, the coefficient table 124 also defines correction coefficients for cries, similar to those for actions. Specifically, the gesture control unit 113 corrects the volume, which is a cries parameter set for the gesture corresponding to the established trigger in the gesture information 121, using a correction coefficient corresponding to the state parameter 122 acquired by the state parameter acquisition unit 112.
[0118] In this way, the gesture control unit 113 corrects the gesture control parameters based on the state parameters 122 acquired by the state parameter acquisition unit 112. Then, the gesture control unit 113 drives the driving unit 220 based on the corrected gesture control parameters or outputs a sound from the speaker 231, thereby causing the robot 200 to perform a gesture corresponding to the established trigger.
[0119] More specifically, when the gesture control unit 113 causes the robot (robot 200) to perform a gesture corresponding to the trigger that has been established, it performs either (1A) a first control that causes the robot to perform the gesture accurately, or (1B) a second control that causes the robot to perform the gesture inaccurately or does not perform the gesture, depending on the situation.
[0120] (1A) In the first control, making the robot 200 accurately execute a gesture means controlling the robot 200 in accordance with a procedure determined for that gesture. Specifically, the first control corresponds to driving the driving unit 220 or outputting sound from the speaker 231 in accordance with the gesture control parameter corrected by the correction coefficient when making the robot 200 execute a gesture corresponding to the established trigger.
[0121] (1B) In contrast to this, in the second control, causing the robot 200 to perform a gesture incorrectly means controlling the robot 200 to perform at least a part of the gesture in a procedure that is at least partially different from the procedure defined for that gesture, in other words, to perform at least a part of the gesture incorrectly. Specifically, the second control corresponds to driving the driving unit 220 or outputting sound from the speaker 231 without accurately following the gesture control parameters corrected by the correction coefficient when causing the robot 200 to perform a gesture corresponding to the established trigger.
[0122] Here, performing a gesture incorrectly, i.e., performing at least a part of a gesture incorrectly, means performing the gesture in a procedure that deviates from the procedure defined for that gesture. Specifically, performing a gesture incorrectly corresponds to omitting the execution of at least one element of the multiple elements (movements or sounds) that make up the gesture, switching the execution order of at least one element with another element, or changing the gesture control parameter of at least one element.
[0123] As a specific example, the gesture of "Test 1" shown in FIGS. 5 and 6 has a defined sequence of moving the head 204 up, down, left, and right in this order, and then outputting sounds in the order of meow 1, meow 2, meow 3, and meow 4, and so on. Omitting at least one element in the gesture corresponds to omitting the execution of at least one element among the eight elements, i.e., the up, down, left, and right movements and meows 1 to 4. In addition, interchanging the execution order of at least one element in the gesture with another element corresponds to, for example, interchanging the execution order of the up, down, left, and right movements or the execution order of meows 1 to 4. In addition, changing the gesture control parameter of at least one element in the gesture corresponds to changing the gesture control parameter of at least one element to a parameter different from the gesture control parameter corrected by the correction coefficient defined for that element (for example, shortening the distance the motor is driven or shortening the time for outputting the meows).
[0124] In this way, the gesture control unit 113 executes the first control or the second control depending on the situation, so that the gesture is not executed exactly the same every time, but some gestures are made incorrectly or omitted depending on the situation. This prevents the gestures of the robot 200 from becoming uniform, allowing individuality to be expressed and improving the lifelikeness of the robot.
[0125] Returning to Fig. 3, in the control device 100 of the robot 200, the proficiency setting unit 114 sets the proficiency. Here, the proficiency indicates the degree of familiarity with performing a gesture by the robot 200. The proficiency is defined for each gesture in the gesture information 121 shown in Fig. 6, and increases as the number of times the corresponding gesture is performed increases.
[0126] Specifically, the proficiency setting unit 114 calculates the proficiency of each of a plurality of gestures that the robot 200 can perform in accordance with predetermined rules, and stores the calculated proficiency in the storage unit 120 as a proficiency table 125. As shown in Fig. 11 , the proficiency table 125 defines a proficiency for each of a plurality of gestures that the robot 200 can perform.
[0127] When the device itself performs any gesture, the proficiency setting unit 114 calculates a new proficiency level for the performed gesture according to the following (Equation 3). Then, the proficiency setting unit 114 updates the proficiency level of the performed gesture included in the gesture information 121 to the calculated new proficiency level.
[0128] New proficiency = current proficiency + proficiency coefficient + correction value from external stimuli …(Formula 3)
[0129] In the above (Equation 3), the proficiency coefficient is a coefficient for calculating the proficiency of each gesture. As shown in Fig. 12, the proficiency table 125 defines a proficiency coefficient for each state of the robot 200 represented by the state parameters 122 in addition to the proficiency of each gesture.
[0130] In the above (Equation 3), the product of the proficiency coefficients is the product of the proficiency coefficients corresponding to the current state of the robot 200 at each of (1) emotion parameter, (2) personality parameter, (3) remaining battery level, (4) current location, and (5) current time. The proficiency setting unit 114 refers to the proficiency table 125 to calculate the product of the proficiency coefficients corresponding to the current state of the robot 200.
[0131] Specifically, as an example similar to the above, if (1) the current emotion parameter corresponds to joy, (2) the current personality parameter corresponds to cheerfulness, (3) the current battery level is 30% or less, (4) the current location corresponds to a new location, and (5) the current time corresponds to immediately after waking up, the proficiency coefficients corresponding to each state in proficiency table 125 are defined as 1.2, 1.2, 0.6, 0.7, and 0.6. Therefore, proficiency setting unit 114 calculates the product of the proficiency coefficients as "1.2 x 1.2 x 0.6 x 0.7 x 0.6 ≒ 0.36".
[0132] The proficiency setting unit 114 adds the product of the proficiency coefficients calculated in this way to the proficiency every time the robot 200 performs a gesture. Since the product of the proficiency coefficients is added to the proficiency of the gesture every time the robot 200 performs a gesture, the proficiency of the gesture increases as the number of times the gesture is performed increases.
[0133] 9 and 10, the proficiency coefficients (1) to (5) are set to different values depending on the state of the robot 200. By using such proficiency coefficients, the proficiency setting unit 114 changes the increase in the proficiency of a gesture based on the state of the robot when the robot is made to perform the gesture. In this way, the proficiency setting unit 114 derives the proficiency based on the state of the robot.
[0134] For example, in the coefficient table 124 shown in Fig. 9, when the emotion parameter corresponds to joy, the proficiency coefficient is larger than in that case. Also, when the emotion parameter corresponds to lethargy, the proficiency coefficient is smaller than in that case. Also, when the personality value of active or cheerful among the four personality values of the personality parameter is the highest, the proficiency coefficient is larger than when the personality value of shy or spoiled is the highest. This makes it possible to express the likeness of a living thing, in that when a robot is in a good mood or has an active personality, the increase in proficiency is large and the robot quickly learns gestures, but when a robot is in a bad mood or has a passive personality, the increase in proficiency is small and the robot does not learn gestures easily.
[0135] Furthermore, in the coefficient table 124 shown in Fig. 10, when the remaining battery charge is 30% or less, the proficiency coefficient is smaller than in other cases. When the current location of the own device is at home, the proficiency coefficient is larger than in other locations. When the current time is immediately after waking up, the proficiency coefficient is smaller than in other times. This expresses that the device learns gestures quickly when at home, but has difficulty learning gestures when hungry or immediately after waking up.
[0136] In addition, in the above (Equation 3), the correction value due to the external stimulus is a correction value for correcting the proficiency level based on an external stimulus for a gesture performed by the robot 200. When the sensor unit 210 detects an external stimulus while the first control is being performed, or when the sensor unit 210 detects an external stimulus within a predetermined time after the first control is performed, the proficiency setting unit 114 corrects the proficiency level based on the external stimulus.
[0137] Specifically, the proficiency setting unit 114 detects, as an external stimulus, a user's response to the executed gesture using the sensor unit 210. For example, the user may respond to the gesture executed by the robot 200 with a positive response such as stroking or praising, or a negative response such as hitting or getting angry. The proficiency setting unit 114 detects such a user's response using various sensors of the sensor unit 210 while the robot 200 is executing the gesture and for a predetermined time (e.g., one minute) after the robot 200 has executed the gesture.
[0138] More specifically, the proficiency setting unit 114 uses the touch sensor 211 to detect the strength of the user's contact with the robot 200, and determines whether the user is stroking or hitting, i.e., whether the user's response is positive (stroking) or negative (hitting), based on the strength of the contact. The proficiency setting unit 114 also detects the user's voice using the microphone 213 and performs voice recognition on the detected voice to determine whether the user is praising or angry, i.e., whether the user's response is positive or negative. The proficiency setting unit 114 may also detect the user's voice using the microphone 213, detect the volume of the detected voice, and determine that the user is praising (positive) if the volume is less than a predetermined value, and that the user is angry (negative) if the volume is greater than or equal to a predetermined value. Furthermore, the proficiency setting unit 114 may determine whether the robot has been gently shaken, strongly shaken, held, held upside down, etc., based on the detection values of the acceleration sensor 212 or the gyro sensor 215. The proficiency setting unit 114 may then determine that the user's response is positive if the user is gently shaken or held, and may determine that the user's response is negative if the user is shaken forcefully or turned upside down.
[0139] When the proficiency setting unit 114 detects such a user response as an external stimulus, it sets a correction value for the external stimulus in the above (Equation 3). Then, the gesture control unit 113 corrects the proficiency using the set correction value. For example, if the user responds positively to a gesture performed by the robot 200, the proficiency setting unit 114 sets the correction value for the external stimulus to a positive value. On the other hand, if the user responds negatively to a gesture performed by the robot 200, the proficiency setting unit 114 sets the correction value for the external stimulus to a negative value.
[0140] In this way, the proficiency setting unit 114 increases the proficiency when the user's response is positive, and decreases the proficiency when the user's response is negative. In other words, when the sensor unit 210 detects a positive response from the user as the external stimulus, the proficiency setting unit 114 increases the amount of increase in the proficiency compared to when the sensor unit 210 detects a negative response from the user as the external stimulus.
[0141] Furthermore, the proficiency setting unit 114 may control the correction value of the external stimulus in the above formula 3 according to the brightness detected by the illuminance sensor 214 when the gesture is performed. Specifically, the proficiency setting unit 114 may increase the amount of increase in the proficiency when the illuminance sensor 214 detects brightness equal to or greater than an arbitrary threshold value, compared to when the illuminance sensor 214 detects brightness less than the arbitrary threshold value.
[0142] As described above, the skill setting unit 114 increases the skill level of each gesture as the number of times the gesture is performed increases, and updates the skill level according to the current state of the device and the user's response to the gesture.
[0143] When the gesture control unit 113 causes the player's device to perform a gesture corresponding to a trigger that has been established, the gesture control unit 113 determines the frequency of performing the first control out of the first control and the second control, based on the proficiency level set for that gesture by the proficiency level setting unit 114. In other words, the frequency of performing the first control when the gesture control unit 113 causes the player's device to perform a gesture corresponding to a trigger that has been established varies depending on the proficiency level for that gesture.
[0144] When any one of the multiple gesture triggers defined in the gesture information 121 is established, the gesture control unit 113 derives the frequency of performing the first control according to the current proficiency level of the gesture before performing the gesture corresponding to the established trigger.
[0145] For example, the gesture control unit 113 derives 0.5 as the frequency when the current proficiency level of the gesture to be performed is equal to or greater than 0 and less than 5, derives 0.8 as the frequency when the current proficiency level of the gesture to be performed is equal to or greater than 5 and less than 10, and derives 1.0 as the frequency when the current proficiency level of the gesture to be performed is equal to or greater than 10. In this way, the gesture control unit 113 derives a higher frequency for performing the first control as the current proficiency level of the gesture is higher.
[0146] After deriving the frequency, the gesture control unit 113 determines, based on the derived frequency, whether to perform the first control or the second control when causing the robot 200 to perform a gesture corresponding to the established trigger. For example, when the derived frequency is 0.5, the gesture control unit 113 determines to perform the first control with a 50% probability and the second control with the remaining 50% probability. When the derived frequency is 0.8, the gesture control unit 113 determines to perform the first control with a 80% probability and the second control with the remaining 20% probability. When the derived frequency is 1.0, the gesture control unit 113 determines to perform the first control with a 100% probability and not to perform the second control. In this way, the higher the derived frequency, the higher the probability with which the gesture control unit 113 determines to perform the first control.
[0147] When it is decided to perform the first control, the gesture control unit 113 drives the drive unit 220 or outputs sound from the speaker 231 for all of the multiple elements (movements or sounds) that make up the gesture when the robot 200 performs the gesture corresponding to the trigger that has been established, in accordance with the gesture control parameters corrected by the correction coefficient.
[0148] On the other hand, when it is determined to perform the second control, the gesture control unit 113 drives the driving unit 220 or outputs sound from the speaker 231 when making the robot 200 execute some of the elements (movements or sounds) constituting the gesture corresponding to the established trigger, without precisely following the gesture control parameters corrected by the correction coefficient. Specifically, the gesture control unit 113 omits execution, changes the order of execution, changes the gesture control parameters, etc. for some of the elements constituting the gesture corresponding to the established trigger.
[0149] When the robot 200 is to execute elements other than the above-mentioned part of the multiple elements that make up the gesture corresponding to the established trigger, the gesture control unit 113 drives the drive unit 220 or outputs sound from the speaker 231 exactly in accordance with the gesture control parameters corrected by the correction coefficient.
[0150] Here, among the multiple elements that make up the gesture corresponding to the established trigger, some elements that are not executed correctly may be selected randomly or may be selected according to a specific rule.
[0151] Next, the flow of the robot control process will be described with reference to Fig. 13. The robot control process shown in Fig. 13 is executed by the control unit 110 of the control device 100 when the user turns on the power of the robot 200. The robot control process is an example of a control method for an electronic device.
[0152] When the robot control process is started, the control unit 110 sets the state parameters 122 (step S101). When the robot 200 is started for the first time (when the robot is started for the first time by the user after being shipped from the factory), the control unit 110 sets each of the emotion parameters, personality parameters, and number of days to an initial value (for example, 0). On the other hand, when the robot 200 is started for the second time or later, the control unit 110 reads out the values of each parameter saved in step S106 (described later) of the previous robot control process and sets them as the state parameters 122. However, the emotion parameters may all be initialized to 0 each time the power is turned on.
[0153] After setting the state parameters 122, the control unit 110 communicates with the terminal device 50 and acquires the gesture information 121 created on the basis of a user operation in the terminal device 50 (step S102). Note that if the gesture information 121 has already been saved in the storage unit 120, step S102 may be skipped.
[0154] When the gesture information 121 is acquired, the control unit 110 determines whether or not any of the triggers of the plurality of gestures defined in the gesture information 121 has been established (step S103).
[0155] If any of the triggers is established (step S103; YES), the control unit 110 causes the robot 200 to perform a gesture corresponding to the established trigger (step S104). Details of the gesture control process in step S104 will be described with reference to the flowchart in Fig. 14. Step S104 is an example of a control step.
[0156] When the gesture control process shown in FIG. 14 starts, control unit 110 updates state parameters 122 (step S201). Specifically, if the trigger established in step S103 is due to an external stimulus, control unit 110 derives an emotion change amount corresponding to that external stimulus. Control unit 110 then updates the emotion parameters by adding or subtracting the derived emotion change amount to or from the current emotion parameters. Furthermore, during the child period, control unit 110 calculates each personality value of the personality parameters from the emotion change amount updated in step S108 according to (Equation 1) above. On the other hand, during the adult period, control unit 110 calculates each personality value of the personality parameters from the emotion change amount updated in step S108 and the personality correction value according to (Equation 2) above.
[0157] After updating the state parameters 122, the control unit 110 refers to the gesture information 121 to acquire gesture control parameters for the gesture corresponding to the established trigger (step S202). Specifically, the control unit 110 acquires from the gesture information 121 a combination of actions or cries that are elements constituting the gesture corresponding to the established trigger, the execution start timing of each element, and the action parameters or cries parameters.
[0158] When the gesture control parameters are acquired, the control unit 110 corrects the gesture control parameters based on the correction coefficients defined in the coefficient table 124 (step S203). Specifically, the control unit 110 calculates the sum of the correction coefficients corresponding to the state parameters 122 updated in step S201, among the correction coefficients defined in the coefficient table 124 for (1) emotion parameters, (2) personality parameters, (3) remaining battery level, (4) current location, and (5) current time. The control unit 110 then corrects the movement parameters, cry parameters, and execution start timing using the calculated sum of the correction coefficients.
[0159] After correcting the gesture control parameter, control unit 110 determines whether or not to accurately execute the gesture corresponding to the established trigger (step S204). Specifically, control unit 110 refers to the proficiency of the gesture corresponding to the established trigger in gesture information 121, and derives the frequency of performing the first control according to the proficiency. Then, control unit 110 determines, based on the derived frequency, whether to perform the first control to accurately execute the gesture, or the second control to inaccurately execute the gesture.
[0160] If the gesture is to be executed accurately (step S204; YES), the control unit 110 causes the device to accurately execute the gesture corresponding to the established trigger (step S205). Specifically, the control unit 110 drives the driving unit 220 or outputs sound from the speaker 231 accurately in accordance with the gesture control parameter corrected in step S204.
[0161] After the device has accurately executed the gesture, the control unit 110 determines whether or not a user response has been detected during the execution of the gesture or within a predetermined time after the execution of the gesture (step S206). Specifically, the control unit 110 determines whether or not a response such as a touch or a call from the user has been detected by the sensor unit 210 as an external stimulus.
[0162] When a user's response is detected (step S206; YES), the control unit 110 sets a correction value for the proficiency of the performed gesture based on the user's response (step S207). For example, when the user responds positively to the gesture performed by the robot 200, such as by stroking or praising, the control unit 110 sets a positive value as the correction value. On the other hand, when the user responds negatively to the gesture performed by the robot 200, such as by hitting or getting angry, the control unit 110 sets a negative value as the correction value.
[0163] If a response from the user has not been detected (step S206; NO), the control unit 110 skips the process of step S207.
[0164] On the other hand, if the gesture is not performed correctly (step S204; NO), the control unit 110 determines which actions or sounds will not be performed correctly from among the gestures corresponding to the established trigger (step S208). Specifically, the control unit 110 determines, randomly or according to a specific rule, some elements (actions or sounds) that will not be performed correctly from among the multiple elements (actions or sounds) that make up the gesture corresponding to the established trigger.
[0165] Next, the control unit 110 causes the robot to inaccurately perform the gesture corresponding to the established trigger (step S209). Specifically, the control unit 110 omits execution, changes the execution order, or changes gesture control parameters for the actions or cries determined in step S208. Then, for other actions or cries, the control unit 110 drives the drive unit 220 or outputs sound from the speaker 231 in accordance with the gesture control parameters.
[0166] When the gesture is performed, control unit 110 updates the proficiency of the performed gesture (step S210). Specifically, control unit 110 calculates the product of proficiency coefficients based on state parameters 122 updated in step S201. Then, control unit 110 calculates a new proficiency from the product of the current proficiency, the calculated proficiency coefficient, and the correction value set in step S207 according to the above (Equation 3). Control unit 110 updates the proficiency of the performed gesture in proficiency table 125 to the new proficiency.
[0167] When the gesture is performed, the control unit 110 updates the gesture information 121 (step S211). Specifically, the control unit 110 adds 1 to the number of times the gesture has been performed in the gesture information 121, and updates the previous performance date and time of the gesture to the current date and time in the gesture information 121. This completes the gesture control process shown in FIG.
[0168] Returning to FIG. 13, in step S103, if none of the multiple gesture triggers is established (step S103; NO), control unit 110 skips step S104.
[0169] Next, the control unit 110 determines whether or not to end the process (step S105). For example, the process ends when the operation unit 240 receives an instruction from the user to power off the robot 200. If the process ends (step S105; YES), the control unit 110 saves the current state parameters 122 in the nonvolatile memory of the storage unit 120 (step S106), and ends the robot control process shown in FIG.
[0170] If the process does not end (step S105; NO), the control unit 110 determines whether the date has changed using the clock function (step S107). If the date has not changed (step S107; NO), the process returns to step S103.
[0171] If the date has changed (step S107; YES), control unit 110 updates state parameters 122 (step S108). Specifically, if the child is in the childhood period (for example, 50 days after birth), control unit 110 changes the values of emotion variations DXP, DXM, DYP, and DYM depending on whether the emotion parameters have reached the maximum or minimum values of emotion map 300. Also, if the child is in the childhood period, control unit 110 expands both the maximum and minimum values of emotion map 300 by a predetermined increment (for example, 2). On the other hand, if the child is in the adult period, control unit 110 adjusts the personality correction value.
[0172] After updating the state parameter 122, the control unit 110 adds 1 to the number of days for growth (step S109) and returns to step S103. Then, the control unit 110 repeats the processes from step S103 to step S109 as long as the robot 200 is operating normally.
[0173] As described above, when the robot 200 according to the first embodiment executes a gesture, it performs either the first control for executing the gesture accurately or the second control for executing the gesture inaccurately. The frequency of executing the first control varies depending on the robot's proficiency with the gesture. In this way, whether the robot 200 executes the gesture accurately or inaccurately varies depending on the robot's proficiency with the gesture, so that it is possible to express the process in which the robot 200 learns the gesture.
[0174] In particular, when the robot 200 according to the first embodiment detects an external stimulus while executing the first control or within a predetermined time after executing the first control, the robot 200 updates its proficiency level in response to the external stimulus. Thus, even when an external stimulus to perform a specific gesture is given, the robot 200 initially performs the gesture awkwardly, rather than performing some steps as planned. In contrast, if the user responds positively when the robot performs an accurate gesture, the robot 200's proficiency level increases, and the robot gradually performs the gesture accurately more frequently. As a result, it is possible to simulate the growth of a living creature.
[0175] (Embodiment 2) Next, a description will be given of embodiment 2. Descriptions of the same configurations and functions as embodiment 1 will be omitted where appropriate.
[0176] In the first embodiment, the proficiency setting unit 114 updates the proficiency of each gesture in accordance with the current state of the own device and the user's response to the gesture. In contrast, in the second embodiment, instead of or in addition to the features of the first embodiment, the proficiency setting unit 114 increases the proficiency in accordance with the elapsed time since the pseudo-birth of the own device.
[0177] Here, the time elapsed since the virtual birth of the robot corresponds to, for example, the number of days of growth in the state parameter 122. The proficiency setting unit 114 sets the proficiency level low immediately after the virtual birth of the robot, and increases the proficiency level as the number of days of growth increases. In this way, by increasing the proficiency level according to the number of days of growth of the robot 200, it is possible to represent the process in which the robot 200 learns gestures as it grows.
[0178] Furthermore, the proficiency setting unit 114 may increase the proficiency as the number of days of growth increases during the child period, and stop increasing the proficiency as the number of days of growth increases during the adult period. This allows the robot 200 to realistically express lifelikeness, since it performs gestures inaccurately and awkwardly during the child period and more frequently performs gestures accurately during the adult period.
[0179] (Variation) Although the embodiments of the present invention have been described above, the above embodiments are merely examples, and the scope of application of the present invention is not limited to these. In other words, the embodiments of the present invention are applicable to various applications, and all embodiments are included in the scope of the present invention.
[0180] For example, in the first embodiment, the proficiency setting unit 114 derives the proficiency for a gesture based on the number of times the gesture is performed by the player's device and the state of the player's device. Furthermore, in the second embodiment, the proficiency setting unit 114 derives the proficiency for a gesture based further on the time elapsed since the pseudo-birth of the player's device. However, the method of deriving the proficiency is not limited to the above. In other words, the proficiency setting unit 114 may derive the proficiency for a gesture based on at least one of the number of times the gesture is performed by the player's device, the time elapsed since the pseudo-birth of the player's device, and the state of the player's device.
[0181] In the above embodiment, the control device 100 is built into the robot 200, but the control device 100 may be a separate device (e.g., a server) rather than built into the robot 200. When the control device 100 is located outside the robot 200, the control device 100 communicates with the robot 200 via the communication unit 130 to send and receive data to and from the robot 200, and controls the robot 200 as described in the above embodiment.
[0182] In the above embodiment, the exterior 201 is formed in a cylindrical shape from the head 204 to the torso 206, and the robot 200 is in a prone position. However, the robot 200 is not limited to being modeled after a prone position creature. For example, the robot 200 may be modeled after a creature with arms and legs, and may be modeled after a creature that walks on four legs or two legs.
[0183] Furthermore, the electronic device is not limited to the robot 200 that imitates a living creature. For example, the electronic device may be a wristwatch or the like, as long as it is a device that can express individuality by performing various gestures. Even electronic devices other than the robot 200 can be described in the same manner as the above embodiment, as long as they have the same configuration and functions as the robot 200 described above.
[0184] In the above embodiment, the control unit 110 functions as each unit, such as the gesture information acquisition unit 111, the state parameter acquisition unit 112, and the gesture control unit 113, by the CPU executing a program stored in the ROM. Furthermore, the control unit 510 functions as each unit, such as the gesture information creation unit 511, by the CPU executing a program stored in the ROM. However, in the present invention, the control units 110 and 510 may include dedicated hardware, such as an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or various control circuits, instead of a CPU, and the dedicated hardware may function as each unit, such as the gesture information acquisition unit 111. In this case, the functions of each unit may be realized by individual hardware, or the functions of each unit may be realized together by a single piece of hardware. Furthermore, some of the functions of each unit may be realized by dedicated hardware, and other parts may be realized by software or firmware.
[0185] It should be noted that the robot 200 or the terminal device 50 can be provided with a configuration for realizing the functions according to the present invention, and by applying a program, an existing information processing device or the like can be made to function as the robot 200 or the terminal device 50 according to the present invention. That is, by applying a program for realizing each functional configuration of the robot 200 or the terminal device 50 exemplified in the above embodiment so that it can be executed by a CPU or the like that controls the existing information processing device or the like, the robot 200 or the terminal device 50 can be made to function as the robot 200 or the terminal device 50 according to the present invention.
[0186] Furthermore, the application method of such a program is arbitrary. The program can be applied by storing it on a computer-readable storage medium such as a flexible disk, a CD (Compact Disc)-ROM, a DVD (Digital Versatile Disc)-ROM, or a memory card. Furthermore, the program can be superimposed on a carrier wave and applied via a communication medium such as the Internet. For example, the program can be distributed by posting it on a bulletin board system (BBS) on a communication network. Then, the program can be started and executed under the control of an operating system (OS) in the same way as other application programs, thereby enabling the above-mentioned processing to be performed.
[0187] The above describes preferred embodiments of the present invention, but the present invention is not limited to the above-described embodiments, and various modifications and substitutions can be made to the above-described embodiments without departing from the scope of the claims. [Explanation of symbols]
[0188] 1...robot system, 50...terminal device, 100...control device, 110...control unit, 111...gesture information acquisition unit, 112...state parameter acquisition unit, 113...gesture control unit, 114...proficiency setting unit, 120...storage unit, 121...gesture information, 122...state parameters, 123...log information, 124...coefficient table, 125...proficiency table, 130...communication unit, 200...robot, 201...exterior, 202...decorative parts, 203...hair, 204...head, 205...connection unit, 206...torso unit, 207...casing, 210...sensor unit, 211...touch sensor, 212...acceleration sensor, 213...microphone, 214...illumination sensor, 215...gyro sensor, 220...drive unit, 221...twist motor, 222...up and down motor, 230...output unit, 231... Speaker, 240... operation unit, 250... battery, 260... location information acquisition unit, 300... emotion map, 301 to 303... frames, 400... personality value radar chart, 510... control unit, 511... gesture information creation unit, 520... storage unit, 530... operation unit, 540... display unit, 550... communication unit, BL... bus line
Claims
1. a control means for causing the player's own device to perform a predetermined gesture; The control means When causing the player's own device to perform the gesture, either a first control for causing the player's own device to perform the gesture accurately or a second control for causing the player's own device to perform the gesture inaccurately or not perform the gesture is performed, and a proficiency level of the player's own device for the gesture is derived based on at least one of the number of times the player's own device has performed the gesture, the elapsed time since the pseudo-birth of the player's own device, and the state of the player's own device; changing a frequency of performing the first control when causing the player's own device to perform the gesture in accordance with the proficiency level; An electronic device characterized by:
2. Further comprising a detection means for detecting an external stimulus, the control means derives the proficiency level based on the external stimulus when the detection means detects the external stimulus as the state of the host device while the first control is being executed, or when the detection means detects the external stimulus as the state of the host device within a predetermined time after the first control is executed.
2. The electronic device according to claim 1, wherein the electronic device is a semiconductor device.
3. When the detection means detects a positive response from the user as the external stimulus, the control means increases the amount of increase in the proficiency level compared to when the detection means detects a negative response from the user as the external stimulus.
3. The electronic device according to claim 2.
4. the control means increases the proficiency level in accordance with the time elapsed since the pseudo-birth of the player's aircraft.
4. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.
5. the control means increases the proficiency level as the number of times the gesture is performed by the own device increases, 4. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.
6. the control means changes the amount of increase in the proficiency level based on a state of the player's own device when the player's own device is caused to perform the gesture; 4. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.
7. the state of the player's aircraft is represented by at least one of an emotion parameter indicating a simulated emotion of the player's aircraft, a personality parameter indicating a simulated personality of the player's aircraft, a remaining battery level of the player's aircraft, a current position of the player's aircraft, and a current time; 7. The electronic device according to claim 6, wherein the electronic device is a semiconductor device.
8. the control means acquires gesture information created by a user, and causes the device to execute the gesture defined in the acquired gesture information; 4. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.
9. A method for controlling an electronic device, comprising: a control step of causing the electronic device to execute a predetermined gesture; In the control step, When causing the electronic device to perform the gesture, either a first control for causing the electronic device to accurately perform the gesture or a second control for causing the electronic device to inaccurately perform the gesture or not perform the gesture is performed, and a proficiency level of the own device for the gesture is derived based on at least one of the number of times the own device has performed the gesture, the elapsed time since the pseudo-birth of the own device, and the state of the own device; changing a frequency of performing the first control when causing the electronic device to execute the gesture in accordance with the proficiency level; A method for controlling an electronic device.
10. Electronic equipment computers, The electronic device functions as a control means for executing a predetermined gesture; The control means When causing the electronic device to perform the gesture, either a first control for causing the electronic device to accurately perform the gesture or a second control for causing the electronic device to inaccurately perform the gesture or not perform the gesture is performed, and a proficiency level of the own device for the gesture is derived based on at least one of the number of times the own device has performed the gesture, the elapsed time since the pseudo-birth of the own device, and the state of the own device; changing a frequency of performing the first control when causing the electronic device to execute the gesture in accordance with the proficiency level; A program to make it work like this.
Citation Information
Patent Citations
Robot device and method for controlling the same
JP2003159681A