Device control device, device control method, and program

JP7595492B2Active Publication Date: 2024-12-06CASIO COMPUTER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2021042127
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-03-16
Publication Date
2024-12-06
Estimated Expiration
2041-03-16

AI Technical Summary

Technical Problem

Existing electronic devices with battery power supply face issues where the system malfunctions when the battery voltage drops below the minimum operating voltage, and charging with the system on prolongs the charging time, while turning it off during charging is inconvenient for users who want to use the device.

Method used

A power supply control device that determines if power to the main function unit is stopped due to user operation during charging, even if the output voltage is above a reference level, maintaining power suspension to balance charging time and user convenience.

Benefits of technology

The solution allows users to shorten charging time while enabling device use during charging, providing a convenient and efficient power management system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000037_0000
    Figure 00000037_0000
  • Figure 00000038_0000
    Figure 00000038_0000
  • Figure 00000038_0001
    Figure 00000038_0001
Patent Text Reader

Abstract

To cope with a user who desires to shorten a charging time and a user who desires to use equipment even during charging.SOLUTION: A power supply control device of a robot 200 includes a power supply control part 250 that acquires output voltage of a battery 253 for supplying power to a main function part 290 provided to the robot 200, discriminates whether or not the power supply to the main function part 290 is stopped resulting from a user operation of the robot 200, and maintains stoppage of the power supply even when the acquired output voltage is a first reference voltage or more in a case where it is discriminated that the power supply is stopped resulting from the user operation during charging to the battery 253.SELECTED DRAWING: Figure 9
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a power control device for equipment, a control method for equipment, and a program.

Background Art

[0002] In an electronic device driven by a secondary battery such as a lithium-ion battery (hereinafter referred to as a battery), the output voltage of the battery gradually decreases as the electronic device is used. When this output voltage becomes lower than the minimum operating guarantee voltage of the system in the electronic device, the system may malfunction. Therefore, in order to prevent malfunction of the system, the system is shut down before the output voltage of the battery drops below the minimum operating guarantee voltage of the system (for example, Patent Document 1).

[0003] Also, when charging the battery of an electronic device after shutdown due to a decrease in the output voltage of the battery, when the battery is charged to an output voltage capable of driving the system in the electronic device, the power of the system is automatically turned on (for example, Non-Patent Document 1).

Prior Art Documents

Patent Documents

[0004]

Patent Document 1

Non-Patent Documents

[0005]

Non-Patent Document 1

Summary of the Invention

[0006] If the system powers on while charging, it consumes power to operate, which increases the charging time. However, if the power is always turned off while charging, it becomes inconvenient for users who want to use the device while it's charging.

[0007] Therefore, the present invention has been made in view of these circumstances, and aims to provide a power control device, a control method for a device, and a program that can accommodate users who want to shorten the charging time and users who want to use the device while it is charging. [Means for solving the problem]

[0008] To achieve the above objective, one form of the power control device for equipment according to the present invention is: The output voltage of the battery that supplies power to the main function unit of the device is obtained. Determine whether the power supply to the main function unit has been stopped due to user operation of the device. If it is determined that the power supply has been stopped due to user operation while the battery is being charged, the power supply will remain stopped even if the acquired output voltage is equal to or greater than the first reference voltage. It includes a power supply control unit. [Effects of the Invention]

[0009] According to the present invention, it is possible to accommodate both users who want to shorten charging time and users who want to use the device while it is charging. [Brief explanation of the drawing]

[0010] [Figure 1] This figure shows the external appearance of the robot according to the embodiment. [Figure 2] This is a cross-sectional view of the robot according to the embodiment, seen from the side. [Figure 3] This is a diagram illustrating the housing of a robot according to an embodiment. [Figure 4] This is a diagram for explaining an example of the movement of the twisting motor of the robot according to the embodiment. [Figure 5] This is another diagram for explaining an example of the movement of the twisting motor of the robot according to the embodiment. [Figure 6] This is a diagram for explaining an example of the movement of the vertical motor of the robot according to the embodiment. [Figure 7] This is another diagram for explaining an example of the movement of the vertical motor of the robot according to the embodiment. [Figure 8] This is a block diagram showing the functional configuration of the robot according to the embodiment. [Figure 9] This is a block diagram showing the configuration of the power control unit according to the embodiment. [Figure 10] This is a diagram for explaining an example of the emotion map according to the embodiment. [Figure 11] This is a diagram for explaining an example of the personality value radar chart according to the embodiment. [Figure 12] This is a diagram for explaining an example of the growth table according to the embodiment. [Figure 13] This is a diagram for explaining an example of the operation content table according to the embodiment. [Figure 14] This is a diagram for explaining an example of the motion table according to the embodiment. [Figure 15] This is a flowchart of the operation control process according to the embodiment. [Figure 16] This is a flowchart of the operation selection process according to the embodiment. [Figure 17] This is a flowchart of the personality correction value adjustment process according to the embodiment. [Figure 18] This is a diagram for explaining an example of the setting screen of the alarm function according to the embodiment. [Figure 19] This is a flowchart of the alarm control process according to the embodiment. [Figure 20] This is a flowchart of the sleep control process according to the embodiment. [Figure 21] This is a flowchart of the hard sleep process according to the embodiment. [Figure 22] This is a flowchart of the power control process according to the embodiment. [Figure 23] This is a flowchart of the motor control process according to the embodiment. [Figure 24] This is a block diagram showing the control device and robot functional configuration of the modified equipment. [Modes for carrying out the invention]

[0011] Embodiments of the present invention will be described below with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals.

[0012] (Embodiment) An embodiment of the device control device according to the present invention applied to the robot 200 shown in Figure 1 will be described with reference to the drawings. The robot 200 according to this embodiment is a small, animal-like pet robot powered by a rechargeable battery. As shown in Figure 1, the robot 200 is covered by an exterior 201 equipped with decorative parts 202 that resemble eyes and fluffy fur 203. The housing 207 of the robot 200 is housed inside the exterior 201. As shown in Figure 2, the housing 207 of the robot 200 consists of a head 204, a connecting part 205, and a body part 206, with the head 204 and the body part 206 being connected by the connecting part 205.

[0013] In the following explanation, assuming that the robot 200 is placed normally on a surface such as a floor, the direction of the part corresponding to the face of the robot 200 (the part of the head 204 opposite to the body 206) is defined as the front, and the direction of the part corresponding to the buttocks (the part of the body 206 opposite to the head 204) is defined as the back. Also, the direction of the part that contacts the surface when the robot 200 is placed normally is defined as the bottom, and the opposite direction is defined as the top. Furthermore, the direction that is perpendicular to the straight line extending in the front-to-back direction of the robot 200 and also perpendicular to the straight line extending in the up-to-down direction is defined as the width direction.

[0014] As shown in Figure 2, the torso 206 extends in the front-to-back direction. The torso 206 contacts the floor, table, or other surface on which the robot 200 is placed via the outer casing 201. Also, as shown in Figure 2, a twist motor 221 is provided at the front end of the torso 206, and the head 204 is connected to the front end of the torso 206 via a connecting part 205. The connecting part 205 is equipped with an up-and-down motor 222. Note that in Figure 2, the twist motor 221 is provided on the torso 206, but it may also be provided on the connecting part 205 or on the head 204.

[0015] The connecting section 205 connects the body section 206 and the head section 204 so that they can rotate freely (by the twist motor 221) around a first rotation axis that extends in the front-rear direction of the body section 206 through the connecting section 205. As shown in Figures 4 and 5, which are front views of the housing 207, the twist motor 221 rotates the head section 204 clockwise (rightward) around the first rotation axis within a forward rotation angle range (forward rotation) or counterclockwise (leftward) within a reverse rotation angle range (reverse rotation) relative to the body section 206. In this explanation, clockwise rotation refers to clockwise rotation when viewed from the body section 206 towards the head section 204. Clockwise rotation will also be called "twist rotation to the right," and counterclockwise rotation will be called "twist rotation to the left." The maximum value of the angle of twist rotation to the right or left is arbitrary, but in this embodiment, it is assumed that it can rotate up to 90 degrees to the left and right. In Figures 4 and 5, the angle of the head 204 in the state shown in Figure 3, where the head 204 is not twisted to the right or left (hereinafter referred to as the "twist reference angle"), is set to 0 degrees. The angle when twisted and rotated to the far right (clockwise) is set to -90 degrees, and the angle when twisted and rotated to the far left (counterclockwise) is set to +90 degrees.

[0016] Furthermore, the connecting portion 205 connects the body portion 206 and the head portion 204 so that they can rotate freely (by the up / down motor 222) around a second rotation axis that extends in the width direction of the body portion 206 through the connecting portion 205. As shown in Figures 6 and 7, which are side views of the housing 207, the up / down motor 222 rotates the head portion 204 upward within a forward rotation angle range (forward rotation) or downward within a reverse rotation angle range (reverse rotation) around the second rotation axis. The maximum value of the angle of rotation upward or downward is arbitrary, but in this embodiment, it is assumed that it can rotate up to 75 degrees in both directions. In Figures 6 and 7, the angle of the head portion 204 when it is not rotated upward or downward (hereinafter referred to as the "up / down reference angle") as shown in Figure 2 is 0 degrees, the angle when it is rotated as far downward as possible is -75 degrees, and the angle when it is rotated as far upward as possible is +75 degrees. When the head 204 is rotated to or below the vertical reference angle by vertical rotation around the second rotation axis, it can contact the mounting surface such as the floor or table on which the robot 200 is placed via the outer casing 201. In Figure 2, an example is shown where the first rotation axis and the second rotation axis are orthogonal to each other, but the first and second rotation axes do not have to be orthogonal to each other.

[0017] Furthermore, as shown in Figure 2, the robot 200 is equipped with a touch sensor 211 on its head 204, which can detect when the user strokes or taps the head 204. It is also equipped with a touch sensor 211 on its body 206, which can detect when the user strokes or taps the body 206.

[0018] Furthermore, the robot 200 is equipped with an acceleration sensor 212 on its torso 206, which can detect the robot's own posture and whether it is being lifted, turned, or thrown by the user. The robot 200 is also equipped with a microphone 213 on its torso 206, which can detect external sounds. In addition, the robot 200 is equipped with a speaker 231 on its torso 206, which can be used to emit sounds or sing songs.

[0019] Furthermore, the robot 200 is equipped with an illuminance sensor 214 on its torso 206, which allows it to detect ambient brightness. Since the outer casing 201 is made of a light-transmitting material, the robot 200 can still detect ambient brightness with the illuminance sensor 214 even when covered by the outer casing 201.

[0020] The robot 200 also includes a battery (see Figure 9) to power the twist motor 221 and the up / down motor 222, as well as a wireless power supply receiving circuit 255. The wireless power supply receiving circuit 255 is located in the torso 206 and receives power from a wireless charging device (not shown) that is provided separately from the robot 200 when charging the battery.

[0021] In this embodiment, the acceleration sensor 212, microphone 213, illuminance sensor 214, and speaker 231 are provided on the body 206, but all or some of these may be provided on the head 204. In addition, in addition to the acceleration sensor 212, microphone 213, illuminance sensor 214, and speaker 231 provided on the body 206, all or some of these may also be provided on the head 204. Furthermore, the touch sensor 211 is provided on both the head 204 and the body 206, but it may be provided on only one of either the head 204 or the body 206. In addition, multiple touch sensors may be provided.

[0022] Furthermore, in this embodiment, since the housing 207 of the robot 200 is covered by the outer casing 201, the head 204 and torso 206 are indirectly in contact with the surface on which the robot 200 is placed, such as the floor or table, via the outer casing 201. However, the embodiment is not limited to this configuration, and the head 204 and torso 206 may be in direct contact with the surface on which the robot is placed. For example, the lower part of the outer casing 201 (the part that contacts the surface on which the robot is placed) may be absent, leaving the lower part of the housing 207 (the part that contacts the surface on which the robot is placed) exposed, or the outer casing 201 may be absent at all, leaving the entire housing 207 exposed.

[0023] Next, the functional configuration of the robot 200 will be described. As shown in Figure 8, the robot 200 comprises a device control unit 100, a sensor unit 210, a drive unit 220, an output unit 230, an operation unit 240, and a power control unit 250. The device control unit 100 comprises a processing unit 110, a storage unit 120, and a communication unit 130. In Figure 8, the device control unit 100, the sensor unit 210, the drive unit 220, the output unit 230, the operation unit 240, and the power control unit 250 are connected via a bus line BL, but this is just one example. The device control unit 100, the sensor unit 210, the drive unit 220, the output unit 230, the operation unit 240, and the power control unit 250 may be connected via a wired interface such as a USB (Universal Serial Bus) cable or a wireless interface such as Bluetooth®. Furthermore, the processing unit 110 may be connected to the storage unit 120 and the communication unit 130 via a bus line BL or the like.

[0024] The device control unit 100 controls the operation of the robot 200 using the processing unit 110 and the storage unit 120.

[0025] The processing unit 110 is composed of, for example, a CPU (Central Processing Unit) and executes various processes described later based on the program stored in the memory unit 120. The processing unit 110 supports multithreading, allowing it to execute multiple processes in parallel, thus enabling the various processes described later to be executed concurrently. Furthermore, the processing unit 110 also includes clock and timer functions, enabling it to measure dates and times.

[0026] The memory unit 120 consists of ROM (Read Only Memory), flash memory, RAM (Random Access Memory), etc. The ROM stores the program executed by the CPU of the processing unit 110 and the data necessary in advance for executing the program. The flash memory is a writable, non-volatile memory that stores data that should be preserved even after the power is turned off. The RAM stores data that is created or modified during program execution.

[0027] The communication unit 130 is equipped with a communication module compatible with wireless LAN (Local Area Network), Bluetooth (registered trademark), etc., and communicates data with external devices such as smartphones. The data communication includes, for example, alarm setting data and sleep setting data used to set the alarm function and sleep function, which will be described later.

[0028] The sensor unit 210 includes the aforementioned touch sensor 211, acceleration sensor 212, microphone 213, and illuminance sensor 214. The processing unit 110 acquires the detection values ​​detected by the various sensors in the sensor unit 210 via the bus line BL as external stimulus data representing external stimuli acting on the robot 200. The sensor unit 210 may also include sensors other than the touch sensor 211, acceleration sensor 212, microphone 213, and illuminance sensor 214. By increasing the types of sensors in the sensor unit 210, the types of external stimuli that the processing unit 110 can acquire can be increased.

[0029] The touch sensor 211 detects when an object makes contact with it. The touch sensor 211 is composed of, for example, a pressure sensor or a capacitance sensor. Based on the values ​​detected from the touch sensor 211, the processing unit 110 obtains the contact strength and contact time, and based on these values, can detect external stimuli such as the robot 200 being stroked or tapped by the user (see, for example, Japanese Patent Application Publication No. 2019-217122). The processing unit 110 may also detect these external stimuli with sensors other than the touch sensor 211 (see, for example, Japanese Patent Application Publication No. 6575637).

[0030] The acceleration sensor 212 detects acceleration in three axes: the front-to-back, width (left-to-right), and up-and-down directions of the robot's torso 206. When the robot 200 is stationary, the acceleration sensor 212 detects gravitational acceleration, so the processing unit 110 can detect the current posture of the robot 200 based on the gravitational acceleration detected by the acceleration sensor 212. Furthermore, if, for example, a user lifts or throws the robot 200, the acceleration sensor 212 detects acceleration associated with the movement of the robot 200 in addition to gravitational acceleration. Therefore, the processing unit 110 can detect the movement of the robot 200 by removing the component of gravitational acceleration from the detected value obtained by the acceleration sensor 212.

[0031] The microphone 213 detects sounds around the robot 200. Based on the sound components detected by the microphone 213, the processing unit 110 can detect, for example, that a user is calling out to the robot 200 or clapping their hands.

[0032] The illuminance sensor 214 is equipped with a light-receiving element such as a photodiode and detects the ambient brightness (illuminance). For example, if the processing unit 110 detects that the surroundings are dark using the illuminance sensor 214, it can perform control to simulate putting the robot 200 to sleep (put it into sleep control mode).

[0033] The drive unit 220 includes a twist motor 221 and an up / down motor 222 as movable parts for expressing the movement of the robot 200 (the robot itself). The drive unit 220 (twist motor 221 and up / down motor 222) is driven by the processing unit 110. The twist motor 221 and up / down motor 222 are servo motors, and when the processing unit 110 instructs them to rotate with a specified operating time and operating angle, they operate to rotate to a position with a specified operating angle by the specified operating time. The drive unit 220 may also be equipped with other suitable actuators as movable parts, such as a fluid pressure motor. By the processing unit 110 controlling the drive unit 220, the robot 200 can express movements such as lifting the head 204 (rotating it upward around the second rotation axis) or twisting it to the side (twisting and rotating it to the right or left around the first rotation axis). The motion control data for performing these actions is recorded in the motion table 125, which will be described later. Based on the detected external stimuli and growth values, which will be described later, the robot 200's movements are controlled.

[0034] The output unit 230 is equipped with a speaker 231, and when the processing unit 110 inputs sound data to the output unit 230, sound is output from the speaker 231. For example, when the processing unit 110 inputs data of the robot 200's vocalizations to the output unit 230, the robot 200 emits a simulated vocalization. This vocalization data is also recorded in the motion table 125, and the vocalization is selected based on detected external stimuli and growth values, which will be described later. The output unit 230, which is composed of the speaker 231, is also called the sound output unit.

[0035] Furthermore, the output unit 230 may be equipped with a display such as a liquid crystal display or a light-emitting unit such as an LED (Light Emitting Diode) in place of or in addition to the speaker 231, and may display an image on the display or emit light from the LED or the like based on the detected external stimuli or growth values ​​described later.

[0036] The control unit 240 consists of, for example, control buttons, a volume knob, etc. The control unit 240 is an interface for receiving operations by the user (owner or borrower), such as turning the power on / off, adjusting the volume of the output sound, etc. In order to further enhance the sense of life, the robot 200 may be provided with only a power switch 241 inside the casing 201 as the control unit 240, and may not have any other control buttons, volume knobs, etc. Even in this case, operations such as adjusting the volume of the robot 200 can be performed using an external smartphone or the like connected via the communication unit 130.

[0037] The power control unit 250, as detailed later, includes a sub-microcontroller 251 and other components, as shown in Figure 9, and performs power control such as charging the robot 200's battery 253 and controlling the ON / OFF power of the main function unit 290, which realizes the main functions of the robot 200. The main function unit 290 is the part of the robot 200's functional units excluding the power control unit 250, and includes the processing unit 110, the drive unit 220, and other components. In order to give the robot 200 a lifelike appearance, the battery is charged wirelessly without connecting a charging cable or the like. The wireless charging method is arbitrary, but in this embodiment, the electromagnetic induction method is used.

[0038] When the robot 200 is placed on the wireless charging device 256, an induced magnetic flux is generated between the wireless power receiving circuit 255 located on the bottom surface of the body 206 and the external wireless charging device 256, and charging takes place. In the electromagnetic induction method, if the robot 200 moves during charging and the distance between the wireless power receiving circuit 255 and the wireless charging device 256 increases, normal charging cannot be performed. For this reason, during charging, a signal (operation restriction signal) that restricts the movement of the robot 200 (drive unit 220) is transmitted from the sub-microcontroller 251 to the processing unit 110, and the processing unit 110 controls the robot 200 to restrict its movement. This mechanism will also be described later.

[0039] Returning to Figure 8, we will now explain, in order, the emotion data 121, emotion change data 122, growth table 123, action content table 124, motion table 125, and growth days data 126, which are characteristic data of this embodiment among the data stored in the memory unit 120.

[0040] Emotional data 121 is data used to give the robot 200 simulated emotions, and it is data (X,Y) that indicates coordinates on the emotion map 300. As shown in Figure 10, the emotion map 300 is represented by a two-dimensional coordinate system with the X axis 311 as the axis of security (anxiety) and the Y axis 312 as the axis of excitement (apathy). The origin 310(0,0) on the emotion map represents the normal emotion. The more positive the X coordinate value (X value) and the larger its absolute value, the higher the level of security, and the more positive the Y coordinate value (Y value) and the larger its absolute value, the higher the level of excitement. Also, the more negative the X value and the larger its absolute value, the higher the level of anxiety, and the more negative the Y value and the larger its absolute value, the higher the level of apathy.

[0041] The emotion data 121 represents multiple (four in this embodiment) pseudo-emotions that are different from each other. In this embodiment, among the values ​​representing pseudo-emotions, the sense of security and the sense of anxiety are represented together on one axis (X axis), and the sense of excitement and the sense of apathy are represented together on another axis (Y axis). Therefore, the emotion data 121 has two values, X values ​​(sense of security, sense of anxiety) and Y values ​​(sense of excitement, sense of apathy), and the points on the emotion map 300 represented by the X values ​​and Y values ​​represent the pseudo-emotions of the robot 200. The initial value of the emotion data 121 is (0,0).

[0042] Emotion data 121 is data representing the simulated emotions of the robot 200. In Figure 10, the emotion map 300 is represented in a two-dimensional coordinate system, but the number of dimensions of the emotion map 300 is arbitrary. The emotion map 300 may be defined in one dimension, and one value may be set as emotion data 121. Alternatively, the emotion map 300 may be defined in a coordinate system of three or more dimensions by adding other axes, and the number of values ​​corresponding to the number of dimensions of the emotion map 300 may be set as emotion data 121.

[0043] In this embodiment, the initial size of the emotion map 300 is such that both the X and Y values ​​have a maximum value of 100 and a minimum value of -100, as shown in frame 301 of Figure 10. During the first period, for every day the number of simulated growth days of the robot 200 increases, both the maximum and minimum values ​​of the emotion map 300 increase by 2. Here, the first period is the period during which the robot 200 simulates growth, and is, for example, 50 days from the simulated birth of the robot 200. The simulated birth of the robot 200 refers to the first time the robot 200 is started by the user after being shipped from the factory. When the number of growth days reaches 25, as shown in frame 302 of Figure 10, both the X and Y values ​​have a maximum value of 150 and a minimum value of -150. Then, once the first period (50 days in this example) has elapsed, the simulated growth of robot 200 is considered complete, and as shown in frame 303 of Figure 10, both the X and Y values ​​have a maximum value of 200 and a minimum value of -200, and the size of the emotion map 300 is fixed.

[0044] The configurable range of emotion data 121 is defined by the emotion map 300. Therefore, as the size of the emotion map 300 increases, the range of configurable emotion data 121 also increases. By expanding the configurable range of emotion data 121, richer emotional expression becomes possible, and the pseudo-growth of the robot 200 is represented by the expansion of the emotion map 300. The size of the emotion map 300 is then fixed after the first period has elapsed, and the pseudo-growth of the robot 200 ends. Note that the conditions for stopping the pseudo-growth of the robot 200 are not limited to the above-mentioned "stop after the first period has elapsed," and other conditions may be added. For example, "stop when any of the four personality values ​​reach 10 (maximum)" may be used. If growth is stopped under this condition, the personality will be fixed when only one of the four personality values ​​reaches its maximum, making it possible to strongly express a specific personality.

[0045] The emotion change data 122 is data that sets the amount of change to increase or decrease the X and Y values ​​of the emotion data 121, respectively. In this embodiment, the emotion change data 122 corresponding to the X of the emotion data 121 includes DXP, which increases the X value, and DXM, which decreases the X value, and the emotion change data 122 corresponding to the Y value of the emotion data 121 includes DYP, which increases the Y value, and DYM, which decreases the Y value. In other words, the emotion change data 122 consists of the following four variables and is data that indicates the degree to which the simulated emotions of the robot 200 are changed. DXP: Ease of feeling safe (ease of positive change in the X value on the emotion map) DXM: Susceptibility to anxiety (ease of the X value in the emotion map changing in a negative direction) DYP: Excitability (ease of change in the positive direction of the Y value on the emotion map) DYM: Proneness to lethargy (ease of the Y value in the emotion map changing in the negative direction)

[0046] In this embodiment, as an example, the initial values ​​of these variables are all set to 10, and are increased to a maximum of 20 through a process that learns emotion change data in the motion control process described later. In this learning process, the emotion change data is changed according to a condition (first condition based on external stimulus data) based on whether the value of the emotion data has reached the maximum or minimum value of the emotion map 300. Note that the first condition based on external stimulus data is not limited to the above condition, but any condition can be set as long as it is a condition that changes (learns) the emotion change data before the size of the emotion map 300 is fixed (for example, a condition related to the degree of the pseudo emotion of the robot 200 represented by emotion data 121). As a result of this learning process, the emotion change data 122, i.e., the degree of emotion change, changes, so the robot 200 will have various personalities depending on how the user interacts with the robot 200. In other words, the personality of the robot 200 will be formed differently for each individual depending on how the user interacts with it.

[0047] Therefore, in this embodiment, each personality data (personality value) is derived by subtracting 10 from each emotion change data 122. Specifically, the value obtained by subtracting 10 from DXP, which indicates ease of reassurance, is set as the personality value (cheerful); the value obtained by subtracting 10 from DXM, which indicates susceptibility to anxiety, is set as the personality value (shy); the value obtained by subtracting 10 from DYP, which indicates excitability, is set as the personality value (active); and the value obtained by subtracting 10 from DYM, which indicates susceptibility to lethargy, is set as the personality value (clingy). As a result, for example, as shown in Figure 11, a personality value radar chart 400 can be generated by plotting the personality value (cheerful) on axis 411, the personality value (active) on axis 412, the personality value (shy) on axis 413, and the personality value (clingy) on axis 414.

[0048] Since the initial value of each personality value is 0, the initial personality of the robot 200 is represented at the origin 410 of the personality value radar chart 400. As the robot 200 grows, each personality value changes up to a maximum of 10 based on external stimuli detected by the sensor unit 210 (how the user interacts with the robot 200). In this embodiment, where the four personality values ​​change from 0 to 10, it is possible to represent 11 to the power of 4 = 14,641 different personalities.

[0049] In this embodiment, the largest of these four personality values ​​is used as growth degree data (growth value) indicating the simulated growth rate of the robot 200. The processing unit 110 then controls the robot 200 so that variations occur in its movements as it undergoes simulated growth (as the growth value increases). The data used by the processing unit 110 for this purpose is the growth table 123.

[0050] As shown in Figure 12, the growth table 123 records the types of actions performed by the robot 200 in response to action triggers such as external stimuli detected by the sensor unit 210, and the probability of each action being selected according to the growth value (hereinafter referred to as "action selection probability"). The action selection probability is set so that when the growth value is small, a basic action set according to the action trigger is selected, regardless of the personality value, and as the growth value increases, a personality action set according to the personality value is selected. Furthermore, the action selection probability is set so that the number of types of basic actions that can be selected increases as the growth value increases. Note that in Figure 12, only one personality action is selected for each action trigger, but similar to the basic actions, the number of types of personality actions that can be selected may be increased as the personality value increases.

[0051] For example, let's assume that the current personality values ​​of robot 200 are as shown in Figure 11, with personality value (cheerful) being 3, personality value (active) being 8, personality value (shy) being 5, and personality value (clingy) being 4, and that a loud sound is detected by microphone 213. In this case, the growth value becomes 8, which is the maximum value among the four personality values, and the action trigger becomes "a loud sound is heard". Then, referring to the item in the growth table 123 shown in Figure 12 where the action trigger is "a loud sound is heard" and the growth value is 8, we can see that the action selection probabilities are 20% for "basic action 2-0", 20% for "basic action 2-1", 40% for "basic action 2-2", and 20% for "personality action 2-0".

[0052] In other words, in this case, "Basic Action 2-0" is selected with a 20% probability, "Basic Action 2-1" with a 20% probability, "Basic Action 2-2" with a 40% probability, and "Personality Action 2-0" with a 20% probability. If "Personality Action 2-0" is selected, then, depending on the four personality values, one of the four types of personality actions shown in Figure 13 is selected. The robot 200 then executes the action selected at this point. This mechanism is realized by the action control processing described later. Note that the action mode in which an action is selected from among the personality actions is called the first action mode, and the action mode in which an action is selected from among the basic actions is called the second action mode.

[0053] As will be explained later, since personality behaviors are selected with a probability corresponding to the magnitude of each of the four personality values, there is little variation in the selection when the personality values ​​are small (for example, mostly 0). Therefore, in this embodiment, the maximum value among the four personality values ​​is used as the growth value. This has the effect that the first behavior mode is selected when the variety of behaviors that can be selected as personality behaviors becomes richer. Note that, in addition to the maximum value, the sum, mean, mode, etc. can also be used as indicators to determine whether or not the variety of behaviors selected by the personality values ​​becomes richer, so the sum, mean, mode, etc. of the personality values ​​may be used as the growth value.

[0054] Furthermore, the growth table 123 can take any form as long as it can be defined as a function (growth function) that returns the action selection probability for each action type, taking the growth value as an argument for each action trigger; it does not necessarily have to be in the tabular format shown in Figure 12.

[0055] As shown in Figure 13, the Action Content Table 124 is a table that records the specific action details for each action type defined in the Growth Table 123. However, for personality actions, the action details are defined for each personality type. Note that the Action Content Table 124 is not mandatory data. For example, if the Growth Table 123 is structured so that the specific action details are directly recorded in the Action Type column of the Growth Table 123, the Action Content Table 124 is unnecessary.

[0056] As shown in Figure 14, the motion table 125 is a table that records how the processing unit 110 controls the twist motor 221 and the up / down motor 222 for each type of operation defined in the growth table 123. Specifically, as shown in Figure 14, for each type of operation, each row records the operation time (milliseconds), the operating angle of the twist motor 221 after the operation time, and the operating angle of the up / down motor 222 after the operation time. In this embodiment, audio data output from the speaker 231 for each type of operation is also recorded.

[0057] For example, if basic operation 2-0 is selected by the operation control process described later, the processing unit 110 first controls both the twist motor 221 and the up / down motor 222 to have an angle of 0 degrees after 100 milliseconds, and then controls the up / down motor 222 to have an angle of -24 degrees after another 100 milliseconds. Then, it does not rotate for 700 milliseconds, and after 500 milliseconds, it controls the twist motor 221 to have an angle of 34 degrees and the up / down motor 222 to have an angle of -24 degrees. Then, after 400 milliseconds, it controls the twist motor 221 to have an angle of -34 degrees, and after another 500 milliseconds, it controls both the twist motor 221 and the up / down motor 222 to have an angle of 0 degrees, completing the operation of basic operation 2-0. In parallel with driving the twist motor 221 and up / down motor 222 as described above, the processing unit 110 plays a short "peep" sound from the speaker 231 using audio data of a short "peep" sound.

[0058] The growth days data 126 has an initial value of 1 and is increased by 1 each day that passes. The growth days data 126 represents the pseudo growth days (pseudonym of days since birth) of robot 200. Here, we will refer to the period of growth days represented by the growth days data 126 as the second period.

[0059] Although not shown in the diagram, the memory unit 120 also stores four personality correction values ​​(cheerful correction value, active correction value, shy correction value, and clingy correction value) that are increased or decreased by the personality correction value adjustment process described later. Each personality value (personality value (cheerful), personality value (active), personality value (shy), and personality value (clingy)) is fixed when the robot 200's simulated growth is completed, but even after growth is complete, the personality correction values ​​are data (personality correction data) used to correct the personality according to how the user interacts with the robot 200. As described later, the personality correction values ​​are set according to a condition (second condition based on external stimulus data) based on which area on the emotion map 300 has existed for the longest time. Note that the second condition based on external stimulus data is not limited to the above condition, but any condition can be set as long as it corrects the personality after the size of the emotion map 300 has been fixed (for example, a condition related to the frequency of occurrence of simulated emotions of the robot 200 represented by the emotion data 121).

[0060] Next, the motion control processing performed by the processing unit 110 of the device's control unit 100 will be explained with reference to the flowchart shown in Figure 15. The motion control processing is the process by which the device's control unit 100 controls the movements and sounds of the robot 200 based on detected values ​​from the sensor unit 210, etc. When the user turns on the power to the robot 200, the thread for this motion control processing starts executing in parallel with the alarm control processing, sleep control processing, etc., which will be described later. The motion control processing controls the drive unit 220 and the output unit 230 (sound output unit), which expresses the movements of the robot 200 and outputs sounds such as cries.

[0061] First, the processing unit 110 sets various data such as emotion data 121, emotion change data 122, growth days data 126, and personality correction value (step S101). When the robot 200 is first started (the first time it is started by the user after being shipped from the factory), these values ​​are set to initial values ​​(the initial values ​​of emotion data 121, emotion change data 122, growth days data 126, and personality correction value are all 0). However, when it is started for the second time or later, the values ​​of the data saved in step S109, described later, of the previous robot control process are set. However, emotion data 121 and personality correction value may be set to be initialized to 0 each time the power is turned on.

[0062] Next, the processing unit 110 determines whether or not there is an external stimulus detected by the sensor unit 210 (step S102). If there is an external stimulus (step S102; Yes), the processing unit 110 acquires the external stimulus from the sensor unit 210 (step S103).

[0063] Then, the processing unit 110 acquires emotion change data 122 to add to or subtract from emotion data 121 in response to the external stimulus acquired in step S103 (step S104). Specifically, for example, if the touch sensor 211 on the head 204 detects that the head 204 has been stroked as an external stimulus, the robot 200 will gain a pseudo-sense of security, so the processing unit 110 acquires DXP as emotion change data 122 to add to the X value of emotion data 121.

[0064] Then, the processing unit 110 sets the emotion data 121 according to the emotion change data 122 acquired in step S104 (step S105). Specifically, for example, if DXP was acquired as emotion change data 122 in step S104, the processing unit 110 adds the DXP of emotion change data 122 to the X value of emotion data 121. However, if adding emotion change data 122 would cause the value of emotion data 121 (X value, Y value) to exceed the maximum value of emotion map 300, the value of emotion data 121 is set to the maximum value of emotion map 300. Also, if subtracting emotion change data 122 would cause the value of emotion data 121 to be less than the minimum value of emotion map 300, the value of emotion data 121 is set to the minimum value of emotion map 300.

[0065] In steps S104 and S105, it is possible to arbitrarily set what kind of emotion change data 122 is acquired and how emotion data 121 is set for each external stimulus, but here is an example. Note that the maximum and minimum values ​​of the X and Y values ​​of emotion data 121 are determined by the size of the emotion map 300, so if the X and Y values ​​exceed the maximum value of the emotion map 300, the maximum value is set, and if they fall below the minimum value of the emotion map 300, the minimum value is set.

[0066] Being petted on head 204 (feels reassuring): X = X + DXP Hitting the head 204 (causing anxiety): X=X-DXM (These external stimuli can be detected by the touch sensor 211 on the head 204.) When the torso 206 is stroked (excited): Y=Y+DYP The torso 206 is struck (becomes lethargic): Y=Y-DYM (These external stimuli can be detected by the touch sensor 211 on the torso 206.) Being held with the head up (happy): X=X+DXP and Y=Y+DYP Suspended upside down (sad): X=X-DXM and Y=Y-DYM (These external stimuli can be detected by the touch sensor 211 and the accelerometer 212.) A gentle voice calls out (peace is restored): 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.)

[0067] For example, when the head 204 is stroked, the robot 200's simulated emotions become reassuring, so the DXP of the emotion change data 122 is added to the X value of the emotion data 121. Conversely, when the head 204 is struck, the robot 200's simulated emotions become anxious, and the DXM of the emotion change data 122 is subtracted from the X value of the emotion data 121. In step S103, the processing unit 110 acquires multiple external stimuli of different types from each other using the multiple sensors provided by the sensor unit 210. Therefore, emotion change data 122 is acquired according to each of these multiple external stimuli, and the emotion data 121 is set according to the acquired emotion change data 122.

[0068] Then, the processing unit 110 uses the information of the external stimulus acquired in step S103 as an action trigger to perform an action selection process (step S106), and then proceeds to step S108. The details of the action selection process will be described later, but an action trigger is information such as an external stimulus that causes the robot 200 to perform some kind of action.

[0069] On the other hand, if there is no external stimulus in step S102 (step S102; No), the processing unit 110 determines whether or not to perform a spontaneous action such as breathing (step S107). The method for determining whether or not to perform a spontaneous action is arbitrary, but in this embodiment, the determination in step S107 is set to Yes every first reference time (for example, 5 seconds).

[0070] If a voluntary action is to be performed (step S107; Yes), the processing unit 110 proceeds to step S106 and executes an action selection process using "elapsed first reference time" as the action trigger, and then proceeds to step S108.

[0071] If no spontaneous action is taken (step S107; No), the processing unit 110 determines whether or not to terminate the process (step S108). For example, if the operation unit 240 receives a user instruction to turn off the power of the robot 200, the process will terminate. If the process is terminated (step S108; Yes), the processing unit 110 saves various data such as emotion data 121, emotion change data 122, and growth days data 126 to the non-volatile memory (e.g., flash memory) of the storage unit 120 (step S109), and terminates the operation control process. Note that the process of saving various data to the non-volatile memory when the power is turned off may be performed by running a separate power-off determination thread in parallel with other threads such as the operation control process. If the power-off determination thread performs the processing equivalent to steps S108 and S109, the processing in steps S108 and S109 of the operation control process can be omitted.

[0072] If the process is not terminated (step S108; No), the processing unit 110 determines whether the date has changed using the clock function (step S110). If the date has not changed (step S110; No), the process returns to step S102.

[0073] If the date has changed (step S110; Yes), the processing unit 110 determines whether or not it is the first period (step S111). If the first period is defined as, for example, 50 days from the simulated birth of the robot 200 (for example, the first time it is started by the user after purchase), the processing unit 110 determines that it is the first period if the growth days data 126 is 50 or less. If it is not the first period (step S111; No), the processing unit 110 executes the personality correction value adjustment process (step S112) and proceeds to step S115. Details of the personality correction value adjustment process will be described later.

[0074] If it is during the first period (step S111; Yes), the processing unit 110 learns the emotion change data 122 (step S113). Specifically, in step S105 of that day, if the X value of emotion data 121 is set to the maximum value of the emotion map 300 at least once, 1 is added to the DXP of the emotion change data 122; if the Y value of emotion data 121 is set to the maximum value of the emotion map 300 at least once, 1 is added to the DYP of the emotion change data 122; if the X value of emotion data 121 is set to the minimum value of the emotion map 300 at least once, 1 is added to the DXM of the emotion change data 122; and if the Y value of emotion data 121 is set to the minimum value of the emotion map 300 at least once, 1 is added to the DYM of the emotion change data 122, thereby updating the emotion change data 122. This update is also called learning the emotion change data 122.

[0075] However, if each value in the emotion change data 122 becomes too large, the amount of change in the emotion data 121 in a single instance will become too large. Therefore, each value in the emotion change data 122 is limited to a maximum of, for example, 20. Also, although we have decided to add 1 to each value in the emotion change data 122 here, the value to be added is not limited to 1. For example, the number of times each value in the emotion data 121 is set to the maximum or minimum value of the emotion map 300 can be counted, and if that number is high, the value added to the emotion change data 122 can be increased.

[0076] The learning of emotion change data 122 in step S113 is based on whether or not emotion data 121 is set to the maximum or minimum value of emotion map 300 in step S105. Whether or not emotion data 121 is set to the maximum or minimum value of emotion map 300 in step S105 is based on the external stimuli acquired in step S103. In step S103, multiple external stimuli of different types are acquired by multiple sensors provided by the sensor unit 210, and each of the emotion change data 122 is learned according to each of these multiple external stimuli.

[0077] For example, if only the head 204 is stroked repeatedly, only the DXP of the emotion change data 122 increases, while the other emotion change data 122 remains unchanged, resulting in the robot 200 developing a more reassuring personality. Conversely, if only the head 204 is tapped repeatedly, only the DXM of the emotion change data 122 increases, while the other emotion change data 122 remains unchanged, resulting in the robot 200 developing a more anxious personality. In this way, the processing unit 110 learns to make the emotion change data 122 different from each other in response to each external stimulus. In this embodiment, a personality value is calculated from the emotion change data 122, and the maximum value of the personality value becomes the growth value, thus providing the effect of the robot 200 "pseudo-growing" based on how the user interacts with the robot 200.

[0078] In this embodiment, if the X or Y values ​​of the emotion data 121 reach the maximum or minimum values ​​of the emotion map 300 at least once during the 24-hour period in step S105, the emotion change data 122 is trained. However, the conditions for training the emotion change data 122 are not limited to this. For example, the emotion change data 122 may be trained if the X or Y values ​​of the emotion data 121 reach a predetermined value at least once (for example, 0.5 times the maximum value or 0.5 times the minimum value of the emotion map 300). Furthermore, the period is not limited to the 24-hour period; the emotion change data 122 may be trained if the X or Y values ​​of the emotion data 121 reach a predetermined value at least once during other periods such as half a day or a week. In addition, instead of a fixed period such as one day, the emotion change data 122 may be trained if the X or Y values ​​of the emotion data 121 reach a predetermined value at least once during the period until the number of external stimulus acquisitions reaches a predetermined number (for example, 50 times).

[0079] Returning to Figure 15, the processing unit 110 expands the emotion map 300 by 2 for both its maximum and minimum values ​​(step S114). Here, the emotion map 300 is expanded by 2 for both its maximum and minimum values, but this expansion value "2" is merely an example; it could be expanded by 3 or more, or by just 1. Also, the expansion value does not have to be the same for each axis of the emotion map 300, or for the maximum and minimum values. Then, the processing unit 110 adds 1 to the growth days data 126, and initializes the emotion data to 0 for both the X and Y values ​​(step S115), and returns to step S102.

[0080] In Figure 15, the learning of emotion change data and expansion of the emotion map are performed after determining that the date has changed in step S110, but they may also be performed after determining that a reference time (for example, 9 PM) has been reached. Furthermore, the determination in step S110 may not be based on the actual date, but on a value accumulated by the timer function of the processing unit 110 for the time the robot 200 has been powered on. For example, the learning of emotion change data and expansion of the emotion map may be performed each time the accumulated power-on time reaches a multiple of 24 hours, assuming that the robot 200 has grown by one day. In addition, considering users who tend to leave the robot 200 unattended (so that the robot 200's growth is slower if left unattended), the determination may be based on the number of times external stimuli are acquired (for example, assuming that the robot has grown by one day each time the number of acquisitions reaches 100).

[0081] Next, the operation selection process performed in step S106 of the operation control process described above will be explained with reference to Figure 16.

[0082] First, the processing unit 110 determines whether or not it is the first period (step S200). If it is the first period (step S200; Yes), the processing unit 110 calculates personality values ​​from the emotion change data 122 learned in step S113 (step S201). Specifically, it calculates four personality values ​​as follows. Since each of the emotion change data 122 has an initial value of 10 and increases up to a maximum of 20, the range of values ​​is set to 0 or greater and 10 or less by subtracting 10 here. Personality Value (Cheerful) = DXP - 10 Personality Value (Shy) = DXM - 10 Personality score (active) = DYP - 10 Personality Value (Clingy) = DYM-10

[0083] On the other hand, if it is not the first period (step S200; No), the processing unit 110 calculates corrected personality values ​​based on the emotion change data 122 learned in step S113 and the personality correction values ​​adjusted in step S112 (step S201). Specifically, four personality values ​​are calculated as follows. Since each of the emotion change data 122 has an initial value of 10 and increases up to a maximum of 20, 10 is subtracted here to make the value range between 0 and 10, and then each correction value is added. However, if the value after adding the correction values ​​becomes negative, it is corrected to 0, and if it exceeds 10, it is corrected to 10, so that the value of each personality value is between 0 and 10. Personality Value (Cheerful) = DXP - 10 + Cheerful Correction Value Personality Value (Shy) = DXM - 10 + Shy Correction Value Personality Value (Active) = DYP - 10 + Activity Correction Value Personality Value (Clingy) = DYM - 10 + Clingy Correction Value

[0084] Next, the processing unit 110 calculates the largest value among these personality values ​​as the growth value (step S202). Then, the processing unit 110 refers to the growth table 123 and obtains the action selection probability for each action type corresponding to the action trigger given when executing the action selection process and the growth value calculated in step S202 (step S203).

[0085] Next, the processing unit 110 selects an action type using a random number based on the action selection probability for each action type obtained in step S203 (step S204). For example, if the calculated growth value is 8 and the action trigger is "a loud noise is made", then there is a 20% chance that "basic action 2-0" will be selected, a 20% chance that "basic action 2-1" will be selected, a 40% chance that "basic action 2-2" will be selected, and a 20% chance that "personality action 2-0" will be selected (see Figure 12).

[0086] Then, the processing unit 110 determines whether a characteristic operation was selected in step S204 (step S205). If a characteristic operation is not selected, that is, if a basic operation is selected (step S205; No), the process proceeds to step S208.

[0087] If a personality action is selected (step S205; Yes), the processing unit 110 obtains the selection probability for each personality based on the magnitude of each personality value (step S206). Specifically, for each personality, the selection probability for that personality is obtained by dividing the personality value corresponding to that personality by the sum of the four personality values.

[0088] Then, the processing unit 110 selects a personality action using a random number based on the selection probability of each personality obtained in step S206 (step S207). For example, if the personality value (cheerful) is 3, the personality value (active) is 8, the personality value (shy) is 5, and the personality value (clingy) is 4, the sum of these values ​​is 3 + 8 + 5 + 4 = 20. Therefore, in this case, the personality action for "cheerful" will be selected with a probability of 3 / 20 = 15%, the personality action for "active" with a probability of 8 / 20 = 40%, the personality action for "shy" with a probability of 5 / 20 = 25%, and the personality action for "clingy" with a probability of 4 / 20 = 20%.

[0089] Next, the processing unit 110 executes the operation selected in step S204 or S207 (step S208), terminates the operation selection process, and proceeds to step S108 of the operation control process.

[0090] Next, the character correction value adjustment process performed in step S112 of the above-described operation control process will be explained with reference to Figure 17.

[0091] First, the processing unit 110 calculates the area on the emotion map 300 where the emotion data 121 existed for the longest period of time during that day (from the time the judgment in step S110 in Figure 15 switches from No to Yes) based on the history of changes in the emotion data 121 (movement on the emotion map 300) (step S301).

[0092] Then, the processing unit 110 determines whether the longest existing area calculated in step S301 is a safe area on the emotion map 300 shown in Figure 10 (specifically, an area with an X value of 100 or more) (step S302). If the longest existing area is a safe area on the emotion map 300 (step S302; Yes), the processing unit 110 adds 1 to the cheerful correction value among the personality correction values ​​and subtracts 1 from the shy correction value (step S303), and proceeds to step S304.

[0093] If the longest existing area is not a safe area on the emotion map 300 (step S302; No), the processing unit 110 determines whether the longest existing area is an excited area on the emotion map 300 (specifically, an area with a Y value of 100 or more) (step S304). If the longest existing area is an excited area on the emotion map 300 (step S304; Yes), the processing unit 110 adds 1 to the active correction value among the personality correction values, subtracts 1 from the clingy correction value (step S305), and proceeds to step S306.

[0094] If the longest existing area is not an excited area on the emotion map 300 (step S304; No), the processing unit 110 determines whether the longest existing area is an anxious area on the emotion map 300 (specifically, an area with an X value of -100 or less) (step S306). If the longest existing area is an anxious area on the emotion map 300 (step S306; Yes), the processing unit 110 adds 1 to the shy correction value among the personality correction values ​​and subtracts 1 from the cheerful correction value (step S307), and proceeds to step S308.

[0095] If the longest existing area is not an anxiety area on the emotion map 300 (step S306; No), the processing unit 110 determines whether the longest existing area is an apathetic area on the emotion map 300 (specifically, an area with an X value of -100 or less) (step S308). If the longest existing area is an apathetic area on the emotion map 300 (step S308; Yes), the processing unit 110 adds 1 to the clingy correction value among the personality correction values, subtracts 1 from the active correction value (step S309), and proceeds to step S310.

[0096] If the longest existing area is not a lethargic area on the emotion map 300 (step S308; No), the processing unit 110 determines whether the longest existing area is a central area on the emotion map 300 (specifically, an area where the absolute values ​​of both X and Y are less than 100) (step S310). If the longest existing area is a central area on the emotion map 300 (step S310; Yes), the processing unit 110 decreases the absolute value of all four personality correction values ​​by 1 (step S311) and proceeds to step S312.

[0097] If the longest existence area is not the central area on the emotion map 300 (step S310; No), the processing unit 110 limits the range of the four personality correction values ​​(step S312). Specifically, personality correction values ​​smaller than -5 are set to -5, and personality correction values ​​larger than +5 are set to +5. Then, the processing unit 110 finishes the personality correction value adjustment process and proceeds to step S115 of the operation control process.

[0098] Through the motion control processing described above, the pseudo-character of the robot 200 is determined by steps S113 and S201 during the first period, setting the basic character (basic character data). After the first period has elapsed, the character values ​​can be corrected by steps S112 and S209 without changing the basic character.

[0099] The personality during the first period corresponds to the speed at which the emotion change data 122, i.e., the emotion data 121, moves on the emotion map 300. In other words, since the speed of emotion change is associated with personality, this is an extremely natural way of representing personality. Furthermore, in step S113, since the emotion change data 122 only changes in the upward direction, it can be considered that the personality value reflects past information (external stimuli received from the user during the first period, etc.). And, since all four emotion change data 122 can change in step S113, a personality that combines multiple personality traits can also be constructed.

[0100] Furthermore, after the first period has elapsed, the emotion change data 122 is fixed, so the basic personality is fixed. Also, the correction value set in step S112 only increases or decreases by 1 depending on the longest-existing area for that day, so the change in personality value due to the correction value is more gradual than the change during the first period. In addition, if robot 200 is left alone, the longest-existing area becomes the central area, so the correction value approaches 0, and the basic personality returns.

[0101] In Figure 15, the personality correction value adjustment process (step S112) is performed after it is determined in step S110 that the date has changed, that is, every time a day has passed. However, this period is not limited to one day; the personality correction value adjustment process may be performed every time other periods, such as half a day or a week, have passed. Alternatively, instead of a fixed period such as one day, the personality correction value adjustment process may be performed every time the number of times external stimuli have been acquired reaches a predetermined number (for example, 50 times).

[0102] Furthermore, in the personality correction value adjustment process described above (Figure 17), the personality correction value is adjusted based on the longest area where the emotion data 121 exists on the emotion map 300 during this period, but the adjustment method is not limited to this. For example, the number of times the emotion data 121 exists in each of the multiple areas on the emotion map 300 may be counted per unit time, and when this count reaches a predetermined number, the personality correction value may be adjusted based on that area.

[0103] Furthermore, in the motion control process described above, steps S110 and S111 switch whether or not to learn the emotion change data 122 (change the basic personality data) depending on whether or not the condition that the growth days data 126 is in the first period is met. However, the condition for this switch is not limited to whether or not the growth days data 126 is in the first period; it may be switched depending on whether or not predetermined conditions related to the simulated growth rate of the robot 200 are met.

[0104] For example, instead of the condition "Growth days data 126 is greater than or equal to a predetermined value," or in conjunction with this condition (as an OR condition), the condition "Among the four personality values, the largest value is greater than or equal to a predetermined value, as growth degree data representing the pseudo-growth rate of robot 200" may be used. Furthermore, this growth degree data may be set according to the number of days, according to the number of times external stimuli have been detected, according to the value of the personality value, or according to a combination of these values ​​(e.g., their sum, average, etc.).

[0105] Furthermore, in the above-described motion selection process, when selecting an action for the robot 200, the emotion data 121 may be referenced, and the value of the emotion data 121 may be reflected in the motion selection. For example, multiple growth tables 123 may be prepared according to the value of the emotion data 121 to set the types of actions that express emotions richly, and an action may be selected using the growth table 123 corresponding to the value of the emotion data 121 at that time, or the value of the action selection probability for each action recorded in the motion table 125 may be adjusted according to the value of the emotion data 121. This will enable the robot 200 to perform actions that better reflect its current emotions.

[0106] Furthermore, if the determination in step S107 in Figure 15 is Yes, then in the action selection process in step S106, spontaneous actions such as breathing and actions associated with personality may be performed, and in this case, actions may be performed according to the X and Y values ​​of the emotion data 121.

[0107] Furthermore, since the Y value of the emotion data 121 corresponds to the degree of excitement in the positive direction and the degree of apathy in the negative direction, the volume of the cry output by the robot 200 may be changed according to the Y value. That is, the processing unit 110 may increase the volume of the cry output from the speaker 231 when the Y value of the emotion data 121 is a large positive value, and decrease the volume of the cry output from the speaker 231 when the Y value is a small negative value.

[0108] Furthermore, the growth table 123 may have multiple variations depending on the intended use of the robot 200 (for example, for emotional education for young children, for dialogue with the elderly, etc.). In addition, the growth table 123 may be downloadable from an external server via the communication unit 130 in case the intended use of the robot 200 needs to be changed.

[0109] Furthermore, in the action selection process described above, the largest value among the four personality values ​​was used as the growth value, but the growth value is not limited to this. For example, the growth value may be set based on the growth days data 126 (for example, by dividing the growth days data 126 by a predetermined value (e.g., 10) and truncating the decimal part). Robots 200 left unattended by users often have small personality values, and if the maximum value of the personality value is used as the growth value, personality actions may not be selected. Even in such cases, if the growth value is set based on the growth days data 126, personality actions will be selected according to the growth days, regardless of how often the user takes care of the robot. Alternatively, the growth value may be set based on both the personality value and the growth days data 126 (for example, by dividing the sum of the largest personality value and the growth days data 126 by a predetermined value and truncating the decimal part).

[0110] Furthermore, in the above-described embodiment, personality values ​​were set based on emotion change data 122, but the method of setting personality values ​​is not limited to this method. For example, personality values ​​may be set directly from external stimulus data without relying on emotion change data 122. For example, one method could be to increase the personality value (active) when petted and decrease the personality value (shy) when hit. Alternatively, personality values ​​may be set based on emotion data 121. For example, one method could be to use values ​​obtained by dividing the X and Y values ​​of emotion data 121 by 10 as the personality values.

[0111] As described above, the motion control process allows the robot 200 to be given pseudo-emotions (emotion data 121). Furthermore, by learning emotion change data 122 that changes the emotion data 121 in response to external stimuli, each robot 200 will express different emotional changes in response to external stimuli, resulting in each robot 200 being given a pseudo-personality (personality value). In addition, since personality is derived from emotion change data 122, it becomes possible to generate clone robots with the same personality by copying the emotion change data 122. For example, if backup data of emotion change data 122 is saved, even if the robot 200 malfunctions, a robot 200 with the same personality can be recreated by restoring the backup data.

[0112] Furthermore, as the growth value calculated based on the personality value increases, the variety of possible actions becomes richer. Thus, by simulating growth (increasing the growth value), robot 200 can express a wider range of actions. In addition, robot 200 does not only perform actions after it has grown; it can still select actions from all of its previously performed actions according to the action selection probability defined in the growth table 123. Therefore, even after robot 200 has grown, users can occasionally see its actions from when it was first purchased, allowing them to feel more attached to it.

[0113] Furthermore, the simulated growth of the robot 200 is limited to the first period (for example, 50 days), and the subsequent emotional change data 122 (personality) is fixed. This means it cannot be reset like other ordinary devices, giving the user the feeling of interacting with a truly living pet.

[0114] Furthermore, even after the personality is fixed, the personality correction value changes based on how the user interacts with Robot 200 afterward, and Robot 200 operates based on the personality value corrected by this correction value. Therefore, even after the pseudo-growth of Robot 200 is complete, the user can enjoy how Robot 200's reactions change depending on how they interact with it. Also, if Robot 200 is left alone, the longest-existing area on the emotion map 300 will be near the center, and the personality correction value will return to 0, allowing Robot 200 to perform actions that reflect its original personality after growth.

[0115] Furthermore, since simulated emotions are represented by multiple emotion data (X, Y of emotion data 121) and simulated personalities are represented by multiple emotion change data (DXP, DXM, DYP, DYM of emotion change data 122), it is possible to represent complex emotions and personalities.

[0116] Furthermore, the emotion change data 122 used to derive this pseudo-personality is learned in response to each of the multiple external stimuli of different types acquired by the multiple sensors provided by the sensor unit 210. Therefore, a wide variety of pseudo-personalities can be generated depending on how the user interacts with the robot 200.

[0117] Next, we will explain the sleep function, alarm function, and co-sleeping function that Robot 200 is equipped with, in order.

[0118] Since robot 200 operates using a battery as its power source, energy-saving control is necessary. However, to give it a lifelike feel, like a pet, it is better to control it in a way that makes it appear as if it is sleeping, rather than simply stopping its operation. Hereafter, the control mode that controls robot 200 to appear as if it is sleeping will be called the sleep control mode. The sleep control mode realizes the sleep function, which makes robot 200 appear as if it is sleeping. When certain sleep conditions are met, such as when the surroundings become dark, robot 200 enters a sleep state by stopping the motion control processing thread shown in Figure 15, thereby suppressing power consumption. Then, when it receives a specific external stimulus (or when the alarm time arrives), it restarts the motion control processing thread that was stopped and returns to the normal state. The normal state is a state in which all threads necessary for normal operation of robot 200, such as the motion control processing thread, are running, and it periodically performs breathing movements and actions that react to external stimuli.

[0119] Basically, when the robot 200 detects that the surroundings have become dark (second sleep condition) using the illuminance sensor, it enters a sleep control mode to suppress power consumption (especially the energy consumed by the drive unit 220 and output unit 230) (it transitions from the normal state to the sleep state). To ensure reliable energy saving, once the robot 200 enters sleep control mode, it does not transition from the sleep state to the normal state even if the surroundings become bright again.

[0120] In the sleep state of the normal sleep control mode of this embodiment, if the user picks up the robot 200 with its head 204 facing upwards, strokes it, or calls out to it loudly, the robot 200 will deactivate the sleep control mode and transition from the sleep state to the normal state. The external stimulus that deactivates the normal sleep control mode (here, the external stimuli being "held upright with its head 204 facing upwards," "stroked," or "hearing a loud voice") is also called the normal stimulus, and the normal sleep state is also called the second sleep state.

[0121] However, there may be situations where you don't want the Robot 200 to transition from sleep mode to normal mode, such as when you want to fully charge the Robot 200's battery or when the user takes the Robot 200 out with them. For these situations, the Robot 200 is also equipped with a sleep control mode that makes it difficult to transition to normal mode (hereinafter referred to as "hard sleep control mode").

[0122] In this embodiment, when the first sleep condition is met, the robot 200 enters hard sleep control mode (transitions from the normal state to the hard sleep state). The first sleep condition is met when either of the following two conditions is satisfied. (1) The surroundings became dark while charging. (2) The robot 200 is being held upright by the user (with its head 204 facing upwards) when the surroundings become dark. However, even if the surroundings are not actually dark, if the robot 200 is charging or if the user covers the illuminance sensor 214 with their hand while the robot 200 is standing upright, the illuminance detected by the illuminance sensor 214 will decrease. As a result, the robot 200 will determine that the first sleep condition has been met and enter hard sleep control mode.

[0123] In hard sleep control mode, even if the user strokes the robot 200 or calls out to it loudly, the robot 200 will not return to its normal state. However, to give it a lifelike feel, the processing unit 110 can temporarily enter a semi-sleep state when it detects a predetermined specific external stimulus (in this embodiment, the external stimulus being "stroked"), control the drive unit 220 and output unit 230, and then return to the hard sleep state. For this reason, multiple levels (hereinafter referred to as "sleep levels") are provided for the hard sleep control mode. In the semi-sleep state, a first suppression mode is executed to control the drive unit 220 and output unit 230 in order to reduce power consumption compared to the normal state (in this embodiment, this involves emitting breathing sounds or performing breathing movements). In the hard sleep state, a second suppression mode is executed to further reduce power consumption compared to the semi-sleep state (in this embodiment, this involves keeping the drive unit 220 still and not outputting anything from the output unit 230).

[0124] Sleep level 1 is the control mode that minimizes power consumption, although it eliminates the feeling of it being alive. Robot 200 will not operate at all until the hard sleep control mode is deactivated.

[0125] Sleep Level 2 is a mode in which, upon receiving a specific external stimulus, the drive unit 220 does not operate, and only sound is used to create a sense of life. In this embodiment, when petted by the user, the robot 200 transitions to a semi-sleep state, outputs the sound of breathing from the speaker 231 for a predetermined time (for example, 5 seconds), and then returns to the hard sleep state. The semi-sleep state refers to a state in the hard sleep control mode in which the robot 200 executes the first suppression mode (temporarily moving or making sounds) in order to create a sense of life. In the semi-sleep state (while the first suppression mode is executed), although it may temporarily move or make sounds, the motion control processing thread shown in Figure 15 is kept stopped, and continuous operation of power-consuming motors, large movements, and loud sound output are not performed. As a result, movements in response to external stimuli and spontaneous movements are suppressed, and the energy consumption of the drive unit 220 and output unit 230 can be reduced compared to the normal state.

[0126] Sleep Level 3 is a mode that makes the robot feel more lifelike by activating the drive unit 220 when it receives a specific external stimulus. In this embodiment, when the user strokes the robot 200, it enters a semi-sleep state for a predetermined time (e.g., 5 seconds), activates the drive unit 220 to perform breathing movements, and then returns to the hard sleep state.

[0127] Thus, even in the hard sleep control mode that suppresses power consumption, when the sleep level is 2 or 3, the robot 200 will transition to a semi-sleep state when it receives a specific external stimulus (also called a second stimulus), such as being petted by the user, and will make sounds like breathing or snoring, allowing the user to feel that the robot 200 is a real living creature. When the semi-sleep state continues for a predetermined time, it returns from the semi-sleep state to the hard sleep state, thus maintaining the state of suppressing power consumption. In this embodiment, the sound output in the semi-sleep state is the sound of breathing, but other sounds such as breathing may be output. In addition to breathing movements, the sounds of breathing or snoring may also be output in the semi-sleep state.

[0128] The method for releasing the hard sleep control mode can be set to any method, but in this embodiment, when the user holds the robot 200 upright (holding it with the head 204 facing upwards), the robot 200 releases the hard sleep control mode and returns to the normal state. The external stimulus that releases the hard sleep control mode (here, the external stimulus of "holding the robot upright with the head 204 facing upwards") is also called the first stimulus, and the hard sleep state is also called the first sleep state.

[0129] In hard sleep control mode, the processing unit 110 controls the drive unit 220 and output unit 230 to reduce battery power consumption more than the first suppression mode described above, while neither the specific external stimulus nor the first stimulus is detected. This second suppression mode (in this embodiment, the robot does not move at all and does not emit any sound) is executed. Note that the second suppression mode is not limited to complete stopping; the robot may perform actions or emit sounds that reduce battery power consumption more than when the first suppression mode is executed. The robot 200 can express actions in response to specific external stimuli using the first suppression mode, thereby enhancing its lifelike appearance. Furthermore, the robot 200 can further reduce energy consumption using the second suppression mode.

[0130] Next, we will explain the alarm function and co-sleeping function of Robot 200. As shown in Figure 1, Robot 200 has the appearance of a stuffed animal, so users can hug Robot 200 and sleep with it.

[0131] In this case, the robot 200 can wake the user by moving the drive unit 220 without making any sound. While the alarm sound of a normal alarm clock often annoys users, it is thought that many users would not find it so annoying if the user is woken up by the robot 200, which is sleeping next to them, moving around.

[0132] Robot 200 provides such an alarm function. However, if the robot 200 moves when the user unconsciously strokes it while sleeping, it could wake the user. Therefore, the co-sleeping function is a feature that stops the robot 200's operation while it is sleeping next to the user. However, in this embodiment, instead of simply stopping the robot 200's operation, the co-sleeping function is realized by executing a suppression mode (hard sleep control mode in this embodiment) that suppresses the energy consumption of the robot 200's drive unit 220 and output unit 230. This makes it possible to achieve both not waking the user while they are sleeping and suppressing power consumption.

[0133] Since the robot 200 does not have a display screen, the alarm function and co-sleeping function are set by the user using an application program on a smartphone connected via the robot 200's communication unit 130. An example of the setting screen for the alarm function and co-sleeping function in this smartphone application program is shown in Figure 18.

[0134] As shown in Figure 18, the user can input various settings for the alarm function and co-sleeping function from the smartphone screen 501, such as the alarm time, whether to turn the alarm on or off for each day of the week, the intensity of the robot 200's movement when the alarm sounds, whether to turn the robot 200's sound on or off when the alarm sounds, the number of snoozes (0 means snooze is off), the co-sleeping mode level (corresponding to the hard sleep control mode level (sleep level)), and the co-sleeping start time (the time to start the co-sleeping function; also called the sleep start time). By sending these settings to the robot 200, the user can input various settings for the alarm function and co-sleeping function.

[0135] Figure 18 shows an example of setting these settings data on a single screen 501. Of these, the alarm time, day of the week ON / OFF, alarm intensity, sound ON / OFF, and snooze count are settings related to the alarm function and are therefore called alarm setting data. The co-sleeping mode level and co-sleeping start time are settings related to the co-sleeping function and are therefore called co-sleeping setting data. In a smartphone application program, the screen may be designed so that the alarm setting data setting screen and the co-sleeping setting data setting screen are separate screens. The alarm operation refers to the actions taken when the alarm time (the time the alarm is set) is reached, such as the robot 200 moving around via the drive unit 220 or emitting a sound from the speaker 231.

[0136] Next, the alarm control process that implements the alarm function of robot 200 will be explained with reference to the flowchart shown in Figure 19. When the user powers on robot 200, this alarm control process starts in parallel with the motion control process described above, the sleep control process described later, etc.

[0137] First, the processing unit 110 initializes various parameters related to the alarm function (alarm parameters), such as the alarm time (step S401). Alternatively, the alarm parameters may be stored in the flash memory of the storage unit 120 so that these values ​​are not initialized each time the robot 200 is powered on.

[0138] Next, the processing unit 110 determines whether or not it has received alarm setting data from the smartphone via the communication unit 130 (step S402). If alarm setting data has been received (step S402; Yes), the processing unit 110 sets the alarm parameters based on the received alarm setting data (step S403) and proceeds to step S404.

[0139] If no alarm setting data has been received (step S402; No), the processing unit 110 determines whether or not the alarm parameters have already been set (step S404). If the alarm parameters have not already been set (step S404; No), the process returns to step S402.

[0140] If the alarm parameters have been set (step S404; Yes), the processing unit 110 uses the clock function to determine whether the current time is the alarm time and whether today's day of the week is set to Alarm ON (step S405). If the current time is not the alarm time, or if today's day of the week is not set to Alarm ON (step S405; No), the process returns to step S402.

[0141] If the current time is the alarm time and today's day of the week is set to Alarm ON (step S405; Yes), the processing unit 110 sets the number of snoozes set in the alarm parameters to the variable S and sets the snooze time (for example, 5 minutes after the alarm time) (step S406). Then, the processing unit 110 executes the alarm operation by controlling the drive unit 220 and the speaker 231 based on the alarm operation strength and sound ON / OFF values ​​set in the alarm parameters (step S407). If the thread for the above operation control process has been temporarily suspended by the sleep control process described later, in step S407, the processing unit 110 also performs a wake-up process for the operation control process thread.

[0142] When the alarm is activated, the robot 200 moves slightly via the drive unit 220 and emits sounds through the speaker 231. This allows the user to wake up naturally without feeling uncomfortable. Furthermore, as the motion control processing thread is restarted, the robot 200 returns to its normal state, resuming its breathing and responding, for example, to user touch. Therefore, even if the user is not woken up by the alarm, they can still wake up through the robot 200's subsequent breathing and natural responses.

[0143] Then, the processing unit 110 determines whether or not an alarm stop operation has been performed (step S408). Any operation can be defined as an alarm stop operation, but in this embodiment, it is determined that an alarm stop operation has been performed when the user lifts the head of the robot 200 and stands the robot 200 upright.

[0144] If the user performs an alarm stop operation (step S408; Yes), the processing unit 110 stops the alarm operation in response to this alarm stop operation (step S409) and returns to step S402.

[0145] If the user does not perform an alarm stop operation (step S408; No), the processing unit 110 determines whether the value of variable S, which is set to the number of remaining snoozes, is 1 or greater (step S410). If the value of variable S is 0 (step S410; No), the process returns to step S402.

[0146] If the value of variable S is 1 or greater (step S410; Yes), the processing unit 110 determines whether the current time is a snooze time (step S411). If it is not a snooze time (step S411; No), the process returns to step S408.

[0147] If it is the snooze time (step S411; Yes), the processing unit 110 decrements the value of variable S by 1, updates the snooze time (for example, to 5 minutes later) (step S412), and returns to step S407.

[0148] Next, referring to the flowchart shown in Figure 20, we will explain the sleep control process that realizes the sleep control mode and co-sleeping function of the robot 200. When the user turns on the power of the robot 200, this sleep control process starts in parallel with the motion control process, alarm control process, etc. mentioned above.

[0149] The co-sleeping function in this embodiment is a function that, when the set co-sleeping start time arrives, assumes that the robot 200 is sleeping with the user and executes a hard sleep control mode (suppression mode). As described above, the hard sleep control mode is also executed when the user covers the illuminance sensor 214 with their hand while the robot 200 is standing upright, so the user can also manually execute the co-sleeping function by doing this. In other words, in this embodiment, the conditions for executing the suppression mode are that the current time is the co-sleeping start time, or that the first sleep condition described above is met. In addition, there are three sleep levels available in the hard sleep control mode, and these sleep levels are set by setting the co-sleeping mode level.

[0150] When the sleep control process starts, the processing unit 110 first initializes various parameters related to the sleep control mode, such as the hard sleep control mode level (sleep level) (hereinafter referred to as "sleep parameters"), and various parameters related to the co-sleeping function, such as the co-sleeping mode level and the co-sleeping start time (hereinafter referred to as "co-sleeping parameters") (step S501). When initialized, the values ​​are, for example, "level 1" for the sleep level and co-sleeping mode level, and "not set" for the co-sleeping start time. Alternatively, these parameters can be stored in the flash memory of the storage unit 120 so that these values ​​are not initialized each time the robot 200 is powered on.

[0151] Next, the processing unit 110 determines whether or not it has received co-sleeping setting data from the smartphone via the communication unit 130 (step S502). If co-sleeping setting data has been received (step S502; Yes), the processing unit 110 sets the co-sleeping parameters based on the received co-sleeping setting data (step S503) and proceeds to step S504. Note that in steps S502 and S503, sleep parameters may also be received and set in the same way as co-sleeping parameters. However, in this embodiment, the sleep level is the same value as the co-sleeping mode level set in the co-sleeping setting data.

[0152] If no co-sleeping setting data is received (step S502; No), the processing unit 110 determines whether the current time is the co-sleeping start time set in step S503 (step S504). Note that if no co-sleeping setting data has ever been received in the past, the co-sleeping start time will be "not set", and the determination in step S504 will never be Yes. If the current time is the co-sleeping start time (step S504; Yes), the processing unit 110 determines that the conditions for executing the co-sleeping function have been met, and executes the hard sleep process described later in order to execute the co-sleeping function (step S505). In this way, the conditions for executing the co-sleeping function are determined based on the time, so that the robot 200 can reliably execute the co-sleeping function at the co-sleeping start time. Then, the process returns to step S502.

[0153] If the current time is not the start time for co-sleeping (step S504; No), the processing unit 110 determines whether the brightness detected by the illuminance sensor 214 is darker than the reference illuminance (step S506). If the illuminance sensor 214 detects a brightness equal to or greater than the reference illuminance (step S506; No), the process returns to step S502.

[0154] If the illuminance sensor 214 detects a brightness below the standard illuminance (step S506; Yes), the processing unit 110 determines whether the battery 253 is charging or whether the head 204 is raised (step S507). If the battery 253 is charging or the head 204 is raised (step S507; Yes), the processing unit 110 determines that the first sleep condition is met because the battery is charging or the head 204 is raised (step S507; Yes) and a brightness below the standard illuminance is detected (step S506; Yes), and returns to step S502.

[0155] If the battery 253 is not charging and the head 204 is not lifted (step S507; No), the processing unit 110 determines that the second sleep condition is met because only a brightness below the standard illuminance has been detected (step S506; Yes), and temporarily suspends the above-mentioned operation control processing thread (step S509). As a result, the robot 200 transitions to the second sleep state and stops normal operation (stops the drive unit 220 and stops the output of sound from the speaker 231), thereby reducing power consumption.

[0156] Then, the processing unit 110 determines whether or not the head 204 has been lifted (step S510). If the head 204 has been lifted (step S510; Yes), the processing unit 110 resumes the operation control processing thread that was paused in step S509 (step S511) and returns to step S502.

[0157] If the head 204 is not lifted (step S510; No), the processing unit 110 determines whether or not the robot 200 has been petted (step S512). If it has been petted (step S512; Yes), proceed to step S511.

[0158] If the device is not being petted (step S512; No), the processing unit 110 determines whether or not a loud sound has been detected (step S513). If a loud sound has been detected (step S513; Yes), the process proceeds to step S511.

[0159] If no loud noise is detected (step S513; No), return to step S510.

[0160] Next, the hard sleep process performed in steps S505 and S508 during the above-described process will be explained with reference to Figure 21.

[0161] First, the processing unit 110 temporarily suspends the thread for the above-mentioned motion control processing (step S521). As a result, the robot 200 enters a hard sleep state and stops normal operation (stops the drive unit 220 and stops the output of sound from the speaker 231), thus reducing power consumption. In this embodiment, some of the conditions for starting the hard sleep process and the conditions for ending the hard sleep process are the same (the head 204 is lifted), so although it is omitted in Figure 21, the processing unit 110 may perform processing or determination to prevent the hard sleep process from ending immediately after it has started. For example, the processing unit 110 may wait between steps S521 and S522 in Figure 21 until the head 204 is no longer lifted. Alternatively, the determination conditions for ending the hard sleep state (steps S523, S528, and S531 in Figure 21) may be "the illuminance sensor 214 detects a brightness of a standard illuminance or higher, and the head 204 is lifted."

[0162] Next, the processing unit 110 determines whether the sleep level set by the user (in this embodiment, the same as the co-sleeping mode level set in step S503) is 1, as shown in Figure 18 (step S522). If the sleep level is 1 (step S522; Yes), the processing unit 110 determines whether the head 204 has been lifted (step S523). If the head 204 has not been lifted (step S523; No), the process returns to step S523.

[0163] If the head 204 is lifted (step S523; Yes), the processing unit 110 resumes the operation control processing thread that was paused in step S521 (step S524), terminates the hard sleep process, and returns to step S502 of the sleep control process.

[0164] On the other hand, in step S522, if the sleep level is not 1 (step S522; No), the processing unit 110 determines whether the sleep level is 2 or not (step S525). If the sleep level is 2 (step S525; Yes), the processing unit 110 determines whether the robot 200 has been petted or not (step S526). If it has not been petted (step S526; No), the process proceeds to step S528. If it has been petted (step S526; Yes), the processing unit 110 transitions to a semi-sleep state, outputs the sound of breathing from the speaker 231, and returns to a hard sleep state (step S527). At this time, the operation control processing thread remains stopped, and only the sound of breathing is output, so power consumption can be reduced in step S527 compared to the normal state.

[0165] Then, the processing unit 110 determines whether or not the head 204 has been lifted (step S528). If the head 204 has not been lifted (step S528; No), the process returns to step S526. If the head 204 has been lifted (step S528; Yes), the processing unit 110 proceeds to step S524.

[0166] On the other hand, in step S525, if the sleep level is not 2 (step S525; No), the sleep level is 3, and the processing unit 110 determines whether or not the robot 200 has been petted (step S529). If it has not been petted (step S529; No), the process proceeds to step S531. If it has been petted (step S529; Yes), the processing unit 110 transitions to a quasi-sleep state, controls the drive unit 220 for a predetermined time (for example, 1 minute) to make the robot 200 perform a breathing motion, and then returns to a hard sleep state (step S530). At this time, the motion control processing thread remains stopped, and the movement of the drive unit 220 during the breathing motion is smaller than the movement in the normal state, so in step S530, although the breathing motion is performed, power consumption can be reduced compared to the normal state.

[0167] Then, the processing unit 110 determines whether or not the head 204 has been lifted (step S531). If the head 204 has not been lifted (step S531; No), the process returns to step S529. If the head 204 has been lifted (step S531; Yes), the processing unit 110 proceeds to step S524.

[0168] As described above, the alarm control process allows the robot 200 to wake the user naturally through its movements without emitting an alarm sound. Furthermore, the sleep control process causes the robot 200 to enter hard sleep control mode after the start time of co-sleeping, preventing it from performing any unnecessary actions that might wake the user, allowing the user to sleep with the robot 200 with peace of mind. In sleep control mode, the robot 200 stops the motion control process shown in Figure 15, thus reducing power consumption. Moreover, in addition to the normal sleep control mode, a hard sleep control mode that makes it difficult to transition to the normal state is also provided in the sleep control process, allowing for more reliable power consumption reduction of the robot 200 depending on the situation, such as during charging or when the user is away from home.

[0169] In the sleep control process described above, in step S504, the processing unit 110 determines whether the current time is the start time for co-sleeping. If it is, it determines that the conditions for executing the co-sleeping function have been met and starts the co-sleeping function (hard sleep process). However, the timing for starting the co-sleeping function is not limited to the start time for co-sleeping. For example, as co-sleeping setting data, instead of the start time for co-sleeping, or in addition to the start time for co-sleeping, the period during which the user sleeps may be set as the "co-sleeping period". Then, if the current time is included in the "co-sleeping period", the processing unit 110 may determine that the conditions for executing the co-sleeping function have been met. Furthermore, the conditions for executing the co-sleeping function are not limited to conditions based on co-sleeping setting data such as the start time for co-sleeping, but can be any conditions related to the user's sleep.

[0170] For example, let's describe an example where the user wears a biometric information detection device (for example, a wristwatch with a built-in biometric sensor) equipped with a biosensor (a sensor that detects the user's biometric information such as pulse rate). In this case, in step S504, the processing unit 110 may acquire a signal from the biometric information detection device, and if it determines that the user is asleep based on the acquired signal, it may determine that the conditions for executing the co-sleeping function have been met and start the co-sleeping function. Note that if the biometric information detection device determines whether or not the user is asleep based on biometric information, the signal from the biometric information detection device may indicate either "sleeping" or "not sleeping". In this example, the user needs to wear the biometric information detection device, but the co-sleeping function can be started even if the co-sleeping start time is not set, or even if the user starts sleeping with the robot 200 at a time different from the co-sleeping start time.

[0171] Alternatively, the co-sleeping function may be initiated when the microphone 213 detects the user's breathing, even without requiring the user to wear a biometric information detection device. In this case, in step S504, the processing unit 110 analyzes the sound data detected by the microphone 213, and if the analysis determines that the sound is the user's breathing, it determines that the conditions for executing the co-sleeping function have been met and initiates the co-sleeping function. Methods for analyzing the sound data detected by the microphone 213 to determine whether or not it is the user's breathing include, for example, using a classifier trained on a large amount of breathing sound data, or comparing the waveform and frequency components of the detected sound with the waveform and frequency components of typical breathing sounds.

[0172] Alternatively, for example, the robot 200 may be equipped with an image acquisition unit such as a camera with a CCD (Charge-Coupled Device) image sensor, and the processing unit 110 may perform image analysis on the image acquired by the image acquisition unit. If the image analysis determines that the user's sleeping face or sleeping figure is captured in the image, the processing unit may determine that the conditions for executing the co-sleeping function have been met and start the co-sleeping function. In this case, the image acquisition unit is preferably a wide-angle camera (fisheye camera, 360° camera) with a field of view greater than 60 degrees, for example, so that the user's sleeping face or sleeping figure can be captured. As for methods for determining whether or not the user's sleeping face or sleeping figure is captured in the image acquired by the image acquisition unit, examples include methods that use a classifier trained on a large amount of image data of sleeping faces and sleeping figures, or methods that use template matching with a template image of a typical sleeping face or sleeping figure.

[0173] Alternatively, the co-sleeping function may be initiated when the user gives a co-sleeping command (for example, a voice command such as "Let's sleep together" or "Go to sleep"). In this case, in step S504, the processing unit 110 performs voice recognition on the voice data detected by the microphone 213, and if the recognition result is a co-sleeping command, it determines that the conditions for executing the co-sleeping function have been met and starts the co-sleeping function. Alternatively, based on the detection results from the microphone 213 and the illuminance sensor 214, if the surroundings are dark and silent for a standard co-sleeping time (for example, 10 minutes), it may be determined that the conditions for executing the co-sleeping function have been met and the co-sleeping function may be started. In this way, the co-sleeping function can be executed even if a co-sleeping start time is not set.

[0174] Furthermore, in the above-described embodiment, a predetermined specific external stimulus was defined as "being petted," and when the user petted the robot 200, the processing unit 110 determined that the external stimulus was a specific external stimulus. However, the specific external stimulus is not limited to being petted. For example, if the robot 200 is equipped with an image acquisition unit such as a CCD image sensor, and the processing unit 110 performs image recognition on the image acquired by the image acquisition unit and recognizes that the user is looking at the robot 200, the processing unit 110 may determine that the external stimulus is a specific external stimulus.

[0175] As explained above, even in the suppression mode that reduces battery power consumption, the robot 200 can execute a first suppression mode that suppresses power consumption in response to specific external stimuli while still performing actions and outputting sounds. This allows for precise control and responsiveness to external stimuli. Furthermore, by executing the suppression mode in accordance with the user's sleep time, the robot 200 can perform a co-sleeping function that allows it to sleep alongside the user without disturbing their sleep. Additionally, the robot 200 can more reliably perform the co-sleeping function by executing the suppression mode once it determines that the user is asleep using biosensors, microphone 213, camera, etc. Furthermore, when the robot 200 is stroked by the user, it will mimic breathing and other sleep-like movements, allowing the user to perceive the robot 200 as a real living creature. Finally, at the alarm time, the robot 200 will perform an alarm action, causing it to wiggle or emit sounds from the speaker 231 via the drive unit 220. This allows the user to wake up naturally without feeling uncomfortable.

[0176] Next, the power control of the robot 200 will be explained. As mentioned above, the robot 200 is equipped with a power control unit 250, which controls the charging of the battery 253 and the ON / OFF control of the power. Because the power control unit 250 can control the ON / OFF of the power, the robot 200 can turn on and off on its own without the user having to use a power switch. The power control unit 250 can also be thought of as a power control device that controls the power supply of the robot 200.

[0177] For example, Robot 200 automatically turns off the power when the battery voltage falls below a predetermined voltage (operating reference voltage) and automatically turns on the power when it rises above a predetermined voltage (starting reference voltage). Furthermore, if the battery voltage is above the predetermined voltage (operating reference voltage) when the power is turned on, it maintains the power on. This enhances the sense of life compared to other devices that require the user to manually turn the power on and off.

[0178] However, there may be cases where the user wants to manually turn off the power to the robot 200, for example, to charge the battery as quickly as possible. In such cases, it would be problematic if the power to the robot 200 were to turn on automatically. Therefore, in such cases, the power control unit 250 also performs control to prevent the power to the robot 200 from turning on automatically.

[0179] As shown in Figure 9, the power control unit 250 includes a sub-microcontroller 251, a charging IC (Integrated Circuit) 252, a battery 253, a power control IC 254, and a wireless power supply receiving circuit 255.

[0180] The sub-microcontroller 251 is a microcontroller with a built-in low-power processor and includes an AD (Analog-to-Digital) converter 2511 that monitors the output voltage of the battery 253, an input port 2512 that monitors the charging signal indicating whether or not the battery 253 is being charged by the charging IC 252, a power terminal 2513 for the sub-microcontroller 251 itself, an input port 2514 that monitors the pressing status of the power switch 241 of the robot 200, an output port 2515 that outputs an operation limiting signal to the processing unit 110, and an output port 2516 that outputs a power control signal to the power control IC 254 that controls the ON / OFF of the power supplied to the main function unit 290.

[0181] The charging IC 252 is an IC that receives power from the wireless power supply receiving circuit 255 and controls the charging of the battery 253. The charging IC 252 outputs a charging signal to the sub-microcontroller 251 indicating whether or not the battery 253 is being charged.

[0182] Battery 253 is a rechargeable secondary battery that supplies the power necessary for the operation of robot 200.

[0183] The power control IC 254 is an IC that controls whether or not to supply power from the battery 253 to the main function unit 290 of the robot 200. It has an input port 2541 that receives a power control signal from the sub-microcontroller 251, and supplies or stops power to the main function unit 290 depending on whether the power control signal is ON or OFF.

[0184] The wireless power receiving circuit 255 receives power from an external wireless charging device 256 by electromagnetic induction and supplies the received power to the charging IC 252.

[0185] The power switch 241 is a switch for turning the power of the robot 200 ON / OFF. Even when the power of the robot 200 is OFF, power is supplied to the power control unit 250 in order to charge the battery 253 and to automatically turn the power of the robot 200 ON after charging is complete. For this reason, from the perspective of power supply, the robot 200 can be considered to consist of two parts: the power control unit 250, which is always supplied with power, and the main function unit 290, whose power ON / OFF is controlled by the power control unit 250.

[0186] The main function unit 290 consists of the parts of the robot 200 other than the power control unit 250. Figure 9 shows the power terminal 2901 to which power is supplied from the power control unit 250 and the input port 1101 of the processing unit 110 to which operation restriction signals are transmitted from the sub-microcontroller 251, in order to show the relationship between the power control unit 250 and the main function unit 290.

[0187] Next, the power control processing performed by the sub-microcontroller 251 of the power control unit 250 will be explained with reference to Figure 22. This processing starts when the sub-microcontroller 251 is started (when the voltage of the battery 253 becomes equal to or greater than the voltage at which the sub-microcontroller 251 can start). In this processing, a manual OFF flag variable is used to indicate whether or not the user has manually turned off the power to the robot 200 by pressing and holding the power switch 241.

[0188] First, the sub-microcontroller 251 outputs a power control signal to the power control IC 254 to instruct it to turn off the power supply, thereby turning off the power supply to the main function unit 290 (step S601). Then, the sub-microcontroller 251 outputs an operation restriction signal to the processing unit 110 to instruct it to turn off the operation restriction (step S602). Finally, the sub-microcontroller 251 initializes the manual OFF flag variable to 0 (step S603).

[0189] Next, the sub-microcontroller 251 determines whether or not the power supply to the main function unit 290 is ON (step S604). If the power supply is ON (step S604; Yes), the sub-microcontroller 251 determines whether or not the battery 253 is charging (step S605). If it is not charging (step S605; No), the sub-microcontroller 251 outputs an operation restriction signal to the processing unit 110 instructing it to turn the operation restriction OFF (step S606), and proceeds to step S608.

[0190] If the battery 253 is charging (step S605; Yes), the sub-microcontroller 251 outputs an operation restriction signal to the processing unit 110 to instruct it to turn on the operation restriction (step S607).

[0191] Then, the sub-microcontroller 251 determines whether the power switch 241 has been pressed and held down (step S608). If it has been pressed and held down (step S608; Yes), the sub-microcontroller 251 sets the manual OFF flag variable to 1 (step S609) and proceeds to step S611.

[0192] If the power switch 241 is not pressed and held (step S608; No), the sub-microcontroller 251 determines whether the voltage of the battery 253 is equal to or greater than the operating reference voltage (step S610). The operating reference voltage is the minimum voltage considered necessary for the robot 200 to operate normally, and is, for example, 75% of the voltage of the battery 253 when fully charged. The operating reference voltage is also called the second reference voltage.

[0193] If the voltage of battery 253 is equal to or greater than the operating reference voltage (step S610; Yes), proceed to step S604.

[0194] If the voltage of battery 253 is below the operating reference voltage (step S610; No), the sub-microcontroller 251 outputs a power control signal to the power control IC 254 to instruct it to turn off the power, thereby turning off the power supply to the main function unit 290 (step S611), and returns to step S604. In this way, when the voltage of battery 253 falls below the operating reference voltage, the power control unit 250 automatically turns off the power to the robot 200, thereby preventing the robot 200 from becoming unstable or the battery 253 from completely discharging.

[0195] On the other hand, if the power supply to the main function unit 290 is not ON in step S604 (step S604; No), the sub-microcontroller 251 determines whether or not the power switch 241 has been pressed (step S612). If the power switch 241 has been pressed (step S612; Yes), the process proceeds to step S615.

[0196] If the power switch 241 is not pressed (step S612; No), the sub-microcontroller 251 determines whether the battery 253 is charging or not (step S613). If the battery 253 is not charging (step S613; No), the process returns to step S604.

[0197] If battery 253 is charging (step S613; Yes), sub-microcontroller 251 determines whether the manual OFF flag is 1 or not (step S614). If the manual OFF flag is 1 (step S614; Yes), the process returns to step S604.

[0198] If the manual OFF flag variable is not 1 (step S614; No), the sub-microcontroller 251 determines whether the voltage of the battery 253 is equal to or greater than the starting reference voltage (step S615). The starting reference voltage is the voltage at which it is determined that the power of the robot 200 can be automatically turned ON during charging, and is, for example, 95% of the voltage of the battery 253 when fully charged. The starting reference voltage is also called the first reference voltage.

[0199] If the voltage of battery 253 is below the starting reference voltage (step S615; No), return to step S604.

[0200] If the voltage of battery 253 is equal to or greater than the starting reference voltage (step S615; Yes), the sub-microcontroller 251 outputs a power control signal to the power control IC 254 to instruct it to turn on the power, thereby turning on the power supply to the main function unit 290 (step S616). In this way, when the voltage of battery 253 is equal to or greater than the starting reference voltage, the power control unit 250 automatically turns on the power of the robot 200, so the user does not need to operate the power switch 241, which enhances the lifelike feel of the robot 200.

[0201] Next, the sub-microcontroller 251 outputs an operation restriction signal to the processing unit 110, instructing it to turn on the operation restriction (step S617). Then, the sub-microcontroller 251 sets the manual OFF flag variable to 0 (step S618) and returns to step S604.

[0202] Through the power control process described above, the robot 200 can not only automatically turn its power ON / OFF, but if the user manually turns the power OFF, the manual OFF flag variable becomes 1, which prevents the power from automatically turning ON during charging through the process in step S614. As a result, if the user wants to shorten the charging time, they can manually turn the power OFF, and the robot 200 will remain power OFF during charging, thus shortening the charging time.

[0203] As can be seen from the power control process described above, the sub-microcontroller 251 can determine whether the reason the power supply to the robot 200 was cut off was due to user operation (the user manually turning off the power) (manual OFF flag is 1) or due to other power cut-off factors (such as the power being turned off because the voltage of the battery 253 fell below the operating reference voltage) (manual OFF flag is 0) by referring to the manual OFF flag variable.

[0204] Furthermore, during charging, a signal is sent to the processing unit 110 to turn on the operation restriction, which prevents the robot 200 from moving during charging and thus preventing normal charging.

[0205] Specifically, when the motion restriction is turned ON, the following two motion restrictions are applied. The first motion restriction is to prevent the robot 200 from moving due to the momentum of the motor's operation, which would cause the wireless power supply receiving circuit 255 and the wireless charging device 256 to separate. Specifically, in this embodiment, the operating angles of the twist motor 221 and the up / down motor 222 are limited to 50% of the operating angles defined in the motion table.

[0206] The second operational restriction is to prevent the robot 200 from floating away from the wireless charging device 256, thereby preventing the wireless power supply receiving circuit 255 from separating from the wireless charging device 256. Specifically, in this embodiment, the angle of the twist motor 221 is fixed at 0 degrees, and the angle of the up and down motor 222 is limited to a range of 0 to +30 degrees.

[0207] Even when the motion restriction is OFF, the angles of each motor are restricted to prevent accidents such as collisions between the head 204 and the torso 206, or fingers getting caught between the head 204 and the torso 206, due to the structural constraints of the robot 200. Specifically, in this embodiment, the angle of the twist motor 221 is restricted to a range of -90 degrees to +90 degrees, and the angle of the up and down motor 222 is restricted to a range of -60 degrees to +60 degrees.

[0208] For example, in the case of "Spontaneous Action 0-0 (Breathing Action)" shown in Figure 14, if the action restriction is ON, the rotation angle of each motor is restricted so that the angle of the up / down motor 222 is 15 degrees after 750 milliseconds, and the angle of the up / down motor is 12 degrees after 800 milliseconds.

[0209] The motor control process, including these operation restrictions, will be explained with reference to Figure 23. This process is executed when the processing unit 110 controls the drive unit 220 in step S208 of the operation selection process, step S407 of the alarm control process, and step S530 of the hard sleep process.

[0210] First, the processing unit 110 performs an initialization process for motor control (step S701). For example, it resets the angles of the twist motor 221 and the up / down motor 222 to the reference angle (0 degrees) as needed.

[0211] Next, the processing unit 110 determines whether the operation restriction is ON or OFF (step S702). The processing unit 110 can obtain whether the operation restriction is ON or OFF from the input port 1101 shown in Figure 9.

[0212] If the operation limit is not ON (step S702; No), the processing unit 110 sets the operating range to the value when the operation limit is OFF (step S703). Specifically, it limits the angle of the twist motor 221 to a range of -90 degrees to +90 degrees, and limits the angle of the up and down motor 222 to a range of -60 degrees to +60 degrees.

[0213] If the operation restriction is ON (step S702; Yes), the processing unit 110 sets the operating range to the value when the operation restriction is ON (step S704). Specifically, it restricts the angle of the twist motor 221 to only 0 degrees and restricts the angle of the up and down motor 222 to a range of 0 to +30 degrees.

[0214] Then, the processing unit 110 reads one row of data from the motion table 125 and obtains the operating time, the operating angle of the twist motor 221, and the operating angle of the up and down motor 222, respectively (step S705).

[0215] Then, the processing unit 110 determines again whether the operation limit is ON or OFF (step S706). If the operation limit is ON (step S706; Yes), the processing unit 110 limits the value of the operation angle obtained in step S705 to 50% (step S707) and proceeds to step S708.

[0216] If the operation restriction is OFF (step S706; No), the processing unit 110 restricts the operation angle to the range set in step S703 or step S704 (step S708).

[0217] Then, the processing unit 110 starts the motors by setting the operating angles determined in step S708 to the twist motor 221 and the up / down motor 222, respectively (step S709).

[0218] Then, the processing unit 110 determines whether the operation time read from the motion table 125 in step S705 has elapsed (step S710). If the operation time has not elapsed (step S710; No), the processing unit 110 returns to step S710 and waits for the operation time to elapse.

[0219] If the operating time has elapsed (step S710; Yes), the processing unit 110 determines whether or not it has finished reading the motion table 125 (step S711). If it has not finished reading the motion table 125 (step S711; No), it returns to step S705. If it has finished reading the motion table 125 (step S711; Yes), the processing unit 110 terminates the motor control process.

[0220] Through the motor control process described above, the robot 200 can safely control the twist motor 221 and the up / down motor 222 regardless of the values ​​set in the motion table 125. Furthermore, by restricting movement during charging, the robot 200 is prevented from moving or floating away from the wireless charging device 256, enabling stable wireless charging.

[0221] (modified version) It should be noted that the present invention is not limited to the embodiments described above, and various modifications and applications are possible. For example, for users who prefer that the personality of the robot 200 not be corrected after the robot 200 has completed its growth, step S112 of the motion control processing may be omitted, and the personality value may be calculated without correction in step S201 of the motion selection processing. In this way, the personality of the robot 200 can be made completely fixed after the robot 200 has completed its growth.

[0222] Furthermore, although the motion table 125 described above had the operation (operation time and operation angle) and sound data of the drive unit 220 of the robot 200 set, it is also possible to set only the operation of the drive unit 220 or only the sound data. In addition, controls other than the operation of the drive unit 220 and sound data may be set. As controls other than the operation of the drive unit 220 and sound data, for example, if the output unit 230 of the robot 200 is equipped with an LED, it is possible to control the color and brightness of the LED to be lit. The controlled unit to be controlled by the processing unit 110 only needs to include at least one of the drive unit 220 and the output unit 230, and the output unit 230 may output only sound as a sound output unit, or it may output only light from an LED or the like.

[0223] Furthermore, in the embodiment described above, the size of the emotion map 300 increased by 2 in both its maximum and minimum values ​​each time the number of simulated growth days of the robot 200 increased by 1 during the first period. However, the expansion of the emotion map 300 does not have to be carried out uniformly in this manner. For example, the way in which the emotion map 300 is expanded may be changed according to how the emotion data 121 changes.

[0224] To change how the emotion map 300 expands according to how the emotion data 121 changes, for example, the following processing can be performed in step S114 of the operation control processing (Figure 15): If, during a given day, the value of the emotion data 121 is set to the maximum value of the emotion map 300 at least once in step S105, the maximum value of the emotion map 300 is increased by 3 in the subsequent step S114. If, in step S105, the value of the emotion data 121 does not reach the maximum value of the emotion map 300 even once, the maximum value of the emotion map 300 is increased by 1 in the subsequent step S114.

[0225] Similarly, for the minimum value of emotion map 300, if the value of emotion data 121 is set to the minimum value of emotion map 300 at least once during the day, the minimum value of emotion map 300 is decreased by 3. If the value of emotion data 121 never reaches the minimum value of emotion map 300, the minimum value of emotion map 300 is decreased by 1. In this way, by changing how emotion map 300 is expanded, the settable range of emotion data 121 is learned in response to external stimuli.

[0226] In the embodiments and modifications described above, the emotion map 300 was always expanded during the first period, but the range of the emotion map 300 is not limited to expansion. For example, the range of the emotion map 300 may be reduced for emotional directions that rarely occur in response to external stimuli.

[0227] Furthermore, in the above-described embodiment, the device control unit 100 is built into the robot 200, but the device control unit 100 does not necessarily have to be built into the robot 200. For example, as shown in Figure 24, the device control unit 101 may be configured as a separate device (e.g., a server) instead of being built into the robot 209. In this modified example, the robot 209 also includes a processing unit 260 and a communication unit 270, and the communication unit 130 and the communication unit 270 are configured to send and receive data to and from each other. The processing unit 110 then acquires external stimuli detected by the sensor unit 210 and controls the drive unit 220 and the output unit 230 via the communication unit 130 and the communication unit 270.

[0228] Furthermore, if the control device 101 and the robot 209 are configured as separate devices, the robot 209 may be controlled by the processing unit 260 as needed. For example, simple operations may be controlled by the processing unit 260, and complex operations may be controlled by the processing unit 110 via the communication unit 270.

[0229] Furthermore, in the above-described embodiment, the device control devices 100 and 101 are control devices that control robots 200 and 209, but the devices that are to be controlled are not limited to robots 200 and 209. For example, a wristwatch could also be considered as a device to be controlled. For example, if a wristwatch capable of voice output and equipped with an accelerometer is used as the device to be controlled, then external stimuli could be impacts applied to the wristwatch detected by the accelerometer. The motion table 125 can then store voice data to be output in response to external stimuli. Then, emotion data 121 and emotion change data 122 can be updated in response to external stimuli, and the voice data set in the motion table 125 can be output based on the detected external stimuli and the emotion change data 122 (personality) at that time.

[0230] This means that the way the user treats the watch will give it a personality (a pseudo-personality). In other words, even watches of the same model number will have different personalities depending on how the user treats them: a watch with a cheerful personality will develop if treated carefully, and a watch with a shy personality if treated roughly.

[0231] Thus, the device control devices 100 and 101 can be applied to various devices, not just robots. By applying them to devices, it is possible to give the devices simulated emotions and personalities, and to make the user feel as if they are raising the device in a simulated way.

[0232] In the above-described embodiment, the operation program executed by the CPU of the processing unit 110 was pre-stored in the ROM of the storage unit 120. However, the present invention is not limited thereto, and the operation program for executing the above-described various processes may be implemented in an existing general-purpose computer or the like, thereby functioning as a device equivalent to the control devices 100 and 101 of the device according to the above-described embodiment.

[0233] The method of providing such programs is optional. For example, they may be distributed by storing them on a computer-readable storage medium (flexible disk, CD (Compact Disc)-ROM, DVD (Digital Versatile Disc)-ROM, MO (Magneto-Optical Disc), memory card, USB memory, etc.), or they may be stored on network storage such as the internet and provided for download.

[0234] Furthermore, when the above-mentioned processing is performed through a division of labor between the OS (Operating System) and the application program, or through collaboration between the OS and the application program, only the application program may be stored on a recording medium or storage device. It is also possible to superimpose the program onto a carrier wave and distribute it over a network. For example, the above program may be posted on a bulletin board system (BBS) on a network and distributed over the network. This program can then be launched and executed under the control of the OS, just like other application programs, to perform the above-mentioned processing.

[0235] Furthermore, the processing units 110 and 260 may consist of any single processor, such as a single processor, multi-processor, or multi-core processor, or they may be configured in combination with processing circuits such as ASICs (Application Specific Integrated Circuits) or FPGAs (Field-Programmable Gate Arrays).

[0236] This invention allows for various embodiments and modifications without departing from the broad spirit and scope of the invention. Furthermore, the embodiments described above are for illustrative purposes only and do not limit the scope of the invention. In other words, the scope of the invention is indicated not by the embodiments, but by the claims. Various modifications made within the scope of the claims and the equivalent scope of the meaning of the invention are considered to be within the scope of this invention. The invention described in the original claims of this application is listed below.

[0237] (Note 1) The output voltage of the battery that supplies power to the main function unit of the device is obtained. Determine whether the power supply to the main function unit has been stopped due to user operation of the device. If it is determined that the power supply has been stopped due to user operation while the battery is being charged, the power supply will remain stopped even if the acquired output voltage is equal to or greater than the first reference voltage. It includes a power control unit. Power control device for equipment.

[0238] (Note 2) The power supply control unit, It is determined whether the power supply to the main function unit has been stopped due to an event other than user operation of the device. During charging of the battery, if it is determined that the power supply has been stopped due to an event other than user operation, and the acquired output voltage is equal to or greater than the first reference voltage, the power supply is restarted. Power control device for the equipment described in Appendix 1.

[0239] (Note 3) The power supply control unit, If the aforementioned power supply is in place and the acquired output voltage is less than or equal to the second reference voltage which is less than or equal to the first reference voltage, the power supply is stopped. A power control device for the equipment described in Appendix 1 or 2.

[0240] (Note 4) The power supply control unit, While the battery is being charged, the main function unit is instructed to limit the operation of the drive unit included in the main function unit. A power control device for the equipment described in any one of the appendices 1 to 3.

[0241] (Note 5) The instruction to limit the operation is an instruction to limit the rotation angle of the drive unit. Power control device for the equipment described in Appendix 4.

[0242] (Note 6) The output voltage of the battery that supplies power to the main function unit of the device is obtained. Determine whether the power supply to the main function unit has been stopped due to user operation of the device. If it is determined that the power supply has been stopped due to user operation while the battery is being charged, the power supply will be kept stopped even if the acquired output voltage is equal to or greater than the first reference voltage. A method for controlling equipment.

[0243] (Note 7) The computer included in the control unit of the device, The output voltage of the battery that supplies power to the main function unit provided in the aforementioned device is obtained. Determine whether the power supply to the main function unit has been stopped due to user operation of the device. If it is determined that the power supply has been stopped due to user operation while the battery is being charged, the power supply will be kept stopped even if the acquired output voltage is equal to or greater than the first reference voltage. A program that executes a process. [Explanation of symbols]

[0244] 100, 101…Device control unit, 110, 260…Processing unit, 120…Memory unit, 121…Emotion data, 122…Emotion change data, 123…Growth table, 124…Motion content table, 125…Motion table, 126…Growth days data, 130, 270…Communication unit, 200, 209…Robot, 201…Exterior, 202…Decorative parts, 203…Hair, 204…Head, 205…Connecting unit, 206…Body unit, 207…Housing, 210…Sensor unit, 211…Touch sensor, 212…Accelerometer, 213…Microphone, 214…Illuminance sensor, 220…Drive unit, 221…Twist motor, 222…Up / down motor, 230…Output 231...Speaker, 240...Operation Unit, 241...Power Switch, 250...Power Control Unit, 251...Sub-microcontroller, 252...Charging IC, 253...Battery, 254...Power Control IC, 255...Wireless Power Supply Receiving Circuit, 256...Wireless Charging Device, 290...Main Function Unit, 300...Emotion Map, 301, 302, 303...Frame, 310, 410...Origin, 311, 312, 411, 412, 413, 414...Axis, 400...Personality Value Radar Chart, 501...Screen, 1101, 2512, 2514, 2515, 2516, 2541...Port, 2511...AD Converter, 2513, 2901...Power Terminal, BL...Bus Line

Claims

1. Obtaining the output voltage of a battery that supplies power to a main functional unit of the device; determining whether or not power supply to the main function unit has been stopped due to a user operation of the device; When it is determined that the power supply has been stopped due to the user operation during charging of the battery, the power supply is maintained stopped even if the acquired output voltage is equal to or higher than a first reference voltage. A power supply control unit is provided. Power control device for equipment.

2. The power supply control unit determining whether or not the power supply to the main functional unit has been stopped due to an event other than a user operation of the device; During charging of the battery, if it is determined that the power supply has been stopped due to an event other than the user operation and the acquired output voltage is equal to or higher than a first reference voltage, the power supply is resumed. The power supply control device for the device according to claim 1.

3. The power supply control unit When the power supply is on and the acquired output voltage is lower than a second reference voltage that is equal to or lower than the first reference voltage, the power supply is stopped. The power supply control device for the device according to claim 1 or 2.

4. The power supply control unit instructing the main function unit to limit the operation of a drive unit included in the main function unit while the battery is being charged; The power supply control device for the device according to any one of claims 1 to 3.

5. The instruction to limit the operation is an instruction to limit the rotation angle of the drive unit. The power supply control device for the device according to claim 4.

6. Obtaining the output voltage of a battery that supplies power to a main functional unit of the device; determining whether or not power supply to the main function unit has been stopped due to a user operation of the device; When it is determined that the power supply has been stopped due to the user operation during charging of the battery, the power supply is maintained stopped even if the acquired output voltage is equal to or higher than a first reference voltage. How to control the device.

7. The computer included in the device's control device acquiring an output voltage of a battery for supplying power to a main functional unit provided in the device; determining whether or not power supply to the main functional unit has been stopped due to a user operation of the device; When it is determined that the power supply has been stopped due to the user operation during charging of the battery, the power supply is maintained stopped even if the acquired output voltage is equal to or higher than a first reference voltage. A program that executes a process.