Apparatus and control method

The described device manages CPU load in robots by using a codec unit and device CPU to process voice data and execute predefined actions or invalidate interrupt signals, allowing quick responses to external stimuli while maintaining stable operation.

JP7540517B2Active Publication Date: 2024-08-27CASIO COMPUTER CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023020393
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2023-02-14
Publication Date
2024-08-27
Estimated Expiration
2037-12-13

AI Technical Summary

Technical Problem

Robots, particularly pet robots, face increased CPU burden due to handling large amounts of data and processing time when performing standalone operations or cloud processing, necessitating a solution to quickly respond to external stimuli while reducing processing load.

Method used

A device with a codec unit and system CPU that processes voice data, sending interrupt signals to a device CPU when sound pressure exceeds a threshold, allowing the device CPU to execute predefined actions or invalidate interrupt signals based on current operations, thereby managing CPU load and responding quickly to external stimuli.

Benefits of technology

Enables robots to respond swiftly to external stimuli while minimizing processing burden, ensuring stable operation and reducing the risk of disruptive actions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007540517000001
    Figure 0007540517000001
  • Figure 0007540517000002
    Figure 0007540517000002
Patent Text Reader

Abstract

To enable a device such as a pet robot to quickly respond to an external stimulus given from the surroundings while reducing the processing load. [Solution] The device comprises a motor drive unit 15 for the motors that perform the operation, a display drive unit 16 for the LCD, a microphone 11 that inputs external audio, a codec unit 12 that converts the output of the microphone 11 into data and outputs it, a system CPU 13 that outputs instruction signals for operation contents corresponding to the audio data output by the codec unit 12, and a device CPU 14 that controls the operation of each motor by the motor drive unit 15 and the display contents by the display drive unit 16 based on the instruction signals output by the system CPU 13, and when the volume value of the audio data output by the codec unit 12 exceeds a threshold value, the device CPU 14 controls the operation of each motor by the motor drive unit 15 and the display contents by the display drive unit 16 based on an interrupt signal output directly from the codec unit 12.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to Apparatus and control method Regarding. [Background technology]

[0002] A robot control device has been proposed that controls a robot so as to encourage a user to take voluntary action (for example, Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2016-135530 A Summary of the Invention [Problem to be solved by the invention]

[0004] In pet robots, including those described in the above patent documents, which have become widespread in recent years, the amount of data handled in relation to input, processing, and output, including facial recognition, voice recognition, spatial recognition, and other environmental recognition processing, as well as emotional expression, dialogue functions, and various actions involving movement and motion, has increased significantly, and the burden on the CPU becomes even heavier when the robots are run as standalone. In addition, when cloud processing using an external network is performed to realize some functions in order to reduce the CPU load, communication processing is required, and there is a problem that the processing time increases whether the robots are run as standalone or when cloud processing is used in combination.

[0005] The present invention has been made in view of the above-mentioned circumstances, and its object is to provide a method for manufacturing a semiconductor device comprising the steps of: robot To enable such a device to rapidly respond to an external stimulus given from the surroundings while reducing the processing load. [Means for solving the problem]

[0006] One aspect of the present invention is a device that performs an operation and receives an external audio a sensor for detecting a sound pressure level of the sound source, and when the sound pressure level detected by the sensor does not exceed a preset threshold value, Execute voice recognition process and obtain the recognition result Based on the result of the judgment, the instruction signal is sent according to the action to be taken. Output system CPU And the above System CPU By output When the instruction signal is input, the operation content indicated by the instruction signal is in The above devices but To perform an action To Take Control A CPU for the device; The above CPU for devices When an interrupt signal is input, which is output when the sound pressure level detected by the sensor is equal to or higher than the threshold value, the device determines whether or not to execute an operation with the operation content set in response to the interrupt signal, based on the operation content of the operation of the device executed immediately before the input of the interrupt signal, and if it is determined that the operation cannot be executed with the interrupt signal, the device determines that the interrupt signal is invalid and controls to continue the execution of the operation with the operation content of the operation of the device executed immediately before the input of the interrupt signal. The action content set in response to the interrupt signal is an action content expressing surprise. It is characterized by: Effect of the Invention

[0007] According to the present invention, robot This will enable devices such as these to respond quickly to external stimuli from the surrounding environment while reducing the processing burden. [Brief description of the drawings]

[0008] [Figure 1] FIG. 2 is a block diagram showing a part of the configuration of the functional circuitry of the pet robot according to one embodiment of the present invention. [Diagram 2] 11 is a flowchart showing the overall processing content corresponding to a voice input according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Hereinafter, an embodiment in which the present invention is applied to a pet robot (device) will be described with reference to the drawings.

[0010] 1 is a block diagram showing a part of the functional circuit configuration of the pet robot 10 according to this embodiment. The pet robot 10 receives external stimuli such as a user's call or command, or an external voice through a microphone, which is one of the sensors, and then analyzes the commands registered in advance through a voice recognition process to execute various preset operations.

[0011] In the figure, the surrounding sounds and the audio signal corresponding to the directivity of the microphone 11 itself, which are input from a microphone 11 embedded in the head of a pet robot 10, are converted into digital data in a codec section 12, coded according to a predetermined coding format, and then provided to a system CPU 13.

[0012] On the other hand, when an audio signal having a sound pressure level equal to or higher than a predetermined threshold is input to the codec unit 12, the codec unit 12 directly sends an interrupt signal to the device CPU 14, which will be described later.

[0013] The above-mentioned system CPU 13 is the main CPU in the pet robot 10, and controls the entire pet robot 10; specifically, it generates an instruction signal for instructing the operation that the pet robot 10 should execute at that time based on the above-mentioned voice recognition process for the voice data from the codec section 12 and the preset contents for the processing result, and outputs it to the device CPU 14.

[0014] The device CPU 14 is a sub-CPU in the pet robot 10, and based on instruction signals given from the system CPU 13, executes drive control of each device that actually operates in the pet robot 10, specifically, rotation drive control for a number of stepping motors (not shown) connected via a motor drive unit 15, display drive control for a liquid crystal display panel (LCD) connected via a display drive unit 16, and further audio output control from a speaker (not shown).

[0015] A number of stepping motors driven by the motor driving unit 15 are provided for each axis of each joint of the limbs and neck of the pet robot 10. The liquid crystal display panels are provided at both eyes of the pet robot 10 and at a display unit, for example, on the chest.

[0016] In this embodiment, a device control device consisting of a codec unit 12, a system CPU 13, and a device CPU 14 controls devices such as a stepping motor and a display unit.

[0017] Next, the operation of the above embodiment will be described. 2 is a flow chart showing the overall processing contents corresponding to the voice input in the pet robot 10. This processing is mainly performed by the system CPU 13, which is the main CPU, and the device CPU 14, which is the sub-CPU, in cooperation with each other.

[0018] At the beginning of startup after powering on, the system CPU 13 first sets a sound pressure level Lth that is a threshold value for the input sound (step S101).

[0019] The threshold sound pressure level Lth may be a fixed value prepared in advance, or the fixed value may be increased or decreased using a predetermined coefficient depending on the surrounding sound pressure level measured by microphone 11 at that time.

[0020] Thereafter, under the control of the system CPU 13, the codec unit 12 determines whether there is an input voice from the microphone 11 at a preset minimum sound pressure level, thereby determining whether there is any call or the like directed to the pet robot 10 (step S102).

[0021] Here, if there is no input sound obtained by the microphone 11 and it is determined that there is no call or the like to the pet robot 10 (No in step S102), the codec unit 12 continues to repeatedly execute the processing of step S102, waiting for some kind of call or the like to be made to the pet robot 10.

[0022] Also, in the above step S102, if it is determined that there is an input voice obtained by the microphone 11 and that there has been some kind of call to the pet robot 10 (Yes in step S102), the codec unit 12 digitizes and codes the input voice signal and detects the sound pressure level from the digitized result (step S103).

[0023] The codec unit 12 judges whether or not the detected sound pressure level exceeds the set threshold value Lth (step S104).

[0024] When it is determined that the detected sound pressure level does not exceed the threshold value Lth (No in step S104), the codec unit 12 sends the coded audio data to the system CPU 13 as is.

[0025] The system CPU 13 executes voice recognition processing on the voice data input from the codec section 12, and based on the obtained recognition result, judges what operation the pet robot 10 should perform during normal operation according to the operation program, and generates an instruction signal according to the judgment result and sends it to the device CPU 14.

[0026] The device CPU 14, which receives the instruction signal, drives each stepping motor to rotate using the motor drive unit 15 in accordance with the contents of the received instruction signal, and drives the LCD panel to display the specified display contents using the display drive unit 16.

[0027] As described above, after the system CPU 13 and the device CPU 14 have executed the processing control during normal operation corresponding to the audio data coded by the codec unit 12 (step S105), the process returns to step S102 in preparation for the next audio input.

[0028] Furthermore, in the above step S104, if it is determined that the detected sound pressure level exceeds the threshold value Lth, for example, if a stimulus such as a loud voice is given to startle the pet robot 10 (Yes in step S104), the codec unit 12 outputs an interrupt signal directly to the device CPU 14.

[0029] Upon receiving this interrupt signal, the device CPU 14 judges whether the current operating situation will have a negative effect, such as causing a fall, by checking whether the operation that was previously being performed by the motor drive unit 15 and via the motor drive unit 15 and the operation that has been preset in response to the interrupt signal are outside of prohibited combinations (step S107).

[0030] If it is determined that the immediately preceding operation content and the operation content set by the interrupt signal are a prohibited combination and that there is a possibility of adverse effects from the current operating situation (No in step S107), the device CPU 14 invalidates the interrupt signal from the codec unit 12, proceeds to step S105, and continues the operation that was being executed up until that point.

[0031] Furthermore, in step S107, if it is determined that the immediately preceding operation content and the operation content set by the interrupt signal are not a prohibited combination and that there is no possibility of adverse effects given the current operating situation (Yes in step S107), the device CPU 14 activates the interrupt signal from the codec unit 12 instead of the operation that had been executed up until then, and causes the motor drive unit 15 to rotate the stepping motors to execute a pre-set operation, such as jumping in surprise or displaying startled eyes, or causes the display drive unit 16 to display and drive the LCD panel with the display content instructed by the display drive unit 16 (step S108).

[0032] In addition, the device CPU 14 notifies the system CPU 13 that it has executed temporary processing corresponding to this interrupt signal (step S109), and then returns to the processing from step S102 above in preparation for the next voice input.

[0033] With regard to the operation contents that the device CPU 14 temporarily processes in response to an interrupt signal from the codec unit 12, multiple operations can be set and one operation can be selected randomly from among them, or a control can be adopted in which an operation that is unlikely to have a negative effect immediately after the operation that was previously being executed is preferentially selected.

[0034] As described above in detail, according to the above embodiment, it is possible to quickly respond to a stimulus given from the surroundings while reducing the processing load on the system CPU 13, which is the main CPU.

[0035] In the above embodiment, when an interrupt signal is sent from the codec section 12 to the device CPU 14, if the device CPU 14 judges from the combination of the operation content executed until that time and the operation content executed in response to the interrupt signal that there is a possibility of adverse effects on the pet robot 10, such as the posture becoming unstable, it disables the input of the interrupt signal, so that it is possible to prevent the behavior of the pet robot 10 from being disturbed by excessive external stimuli.

[0036] Furthermore, in the above embodiment, the sub-CPU, the device CPU 14, executes a temporary operation in response to an interrupt signal from the codec section 12, and then notifies the system CPU 13, the main CPU, of the execution content of the operation. Therefore, even after the system CPU 13, which executes the operation control of the entire pet robot 10, temporarily operates mainly on the device CPU 14 in response to a large external stimulus, it is possible to keep track of the results and utilize them for the next control.

[0037] In the above embodiment, it has been described that the system CPU 13 sets the sound pressure level Lth as a threshold value for judging the loudness of the input sound in the codec section 12 at the beginning of startup when the power supply of the pet robot 10 is turned on. However, the threshold value as the judgment criterion may be arbitrarily set by the user, and furthermore, by allowing it to be variably set depending on the time of day, etc., with a certain degree of latitude, the operation of the pet robot 10 can be further varied.

[0038] In the above embodiment, the case where the pet robot 10 reacts to the sound pressure of the sound input by the microphone 11 as an external stimulus given to the pet robot 10 has been described, but detection of external stimuli is not limited to sound. It is possible to detect various external stimuli such as external images using an image sensor, external forces, posture, falling state, etc. using an acceleration sensor, brightness using an illuminance sensor, outside temperature and humidity using a temperature sensor and a humidity sensor, outside air pressure, operating pressure, water pressure, etc. using a pressure sensor, thereby enabling the production of a wide variety of movements.

[0039] In the above embodiment, the application has been described as being to a robot having a main CPU and a sub-CPU, but the present invention is not limited to this, and can also be applied to a single CPU, a controlled object that operates on software having a program structure that divides and controls a program area that controls the overall operation of the robot or other object to be controlled from a program area that drives and controls multiple devices at the end for each individual operation, or a controlled object having a multi-processor structure in which each of multiple devices at the end is controlled using a microprocessor.

[0040] In the above embodiment, the codec unit 12 determines whether an external stimulus has occurred and sends an interrupt signal. However, a means for determining whether an external stimulus has occurred and sending an interrupt signal may be provided separately from the codec unit 12.

[0041] Furthermore, the present invention can be applied not only to robots, but also to various electronic devices that operate in response to external stimuli.

[0042] In addition, the present invention is not limited to the above-mentioned embodiment, and various modifications can be made in the implementation stage without departing from the gist of the invention. In addition, the embodiments may be implemented in appropriate combination, and in that case, the combined effect can be obtained. Furthermore, the above-mentioned embodiment includes various inventions, and various inventions can be extracted by combinations selected from the multiple components disclosed. For example, if the problem can be solved and the effect can be obtained even if some components are deleted from all the components shown in the embodiment, the configuration from which the components are deleted can be extracted as an invention.

[0043] The invention as originally claimed in the present application is set forth below. [Claim 1] A device control device that controls an apparatus having a device that performs an operation and a sensor that detects an external environment, a first control means for outputting an instruction signal for an operation corresponding to the sensor data output by the sensor; A second control means for controlling an operation of the device based on an instruction signal output by the first control means; Equipped with A device control device in which the second control means controls operation of the device based on an interrupt signal without using the instruction signal output by the first control means when the sensor data satisfies a preset condition. [Claim 2] a conversion means for generating the interrupt signal when the sensor data satisfies a preset condition; 2. The device control device according to claim 1, wherein the second control means controls operation of the device based on the interrupt signal output from the conversion means without using the instruction signal output from the first control means. [Claim 3] The conversion means converts the detection output of the sensor into data and outputs the data. 3. The device control apparatus according to claim 2, wherein the first control means outputs an instruction signal for an operation corresponding to the sensor data output by the conversion means. [Claim 4] 4. The device control device according to claim 1, wherein the second control means determines whether or not to operate in response to the interrupt signal based on the operation of the device that was being controlled immediately before the input of the interrupt signal. [Claim 5] 5. A device control device as described in any one of claims 1 to 4, wherein the second control means controls the operation of the device based on the operation content of the device that was being controlled immediately before the input of the interrupt signal, and then notifies the first control means of the content of the control. [Claim 6] 4. The device control device according to claim 2, wherein the preset condition for the sensor data, under which the conversion means outputs the interrupt signal, can be set arbitrarily. [Claim 7] A device control method for controlling an apparatus having a device that performs an operation and a sensor that detects an external environment, comprising: a first control step of outputting an instruction signal for an operation corresponding to the sensor data output by the sensor; a second control step of controlling an operation of the device based on the instruction signal output in the first control step; and when the sensor data satisfies a preset condition, controlling an operation of the device based on an interrupt signal without using the instruction signal output in the first control step. [Claim 8] A program executed by a computer that controls an apparatus having a device that performs an operation and a sensor that detects an external environment, the program comprising: a first control means for outputting an instruction signal for an operation corresponding to the sensor data output by the sensor; A second control means for controlling an operation of the device based on an instruction signal output by the first control means; and make it work. A program in which the second control means controls operation of the device based on an interrupt signal without using the instruction signal output by the first control means when the sensor data satisfies a preset condition. [Explanation of symbols]

[0044] 10. Pet robot 11...Microphone 12…Codec section 13...System CPU (main CPU) 14...Device CPU (sub-CPU) 15...Motor drive unit 16...Display drive unit

Claims

1. A device for performing an action; A sensor for detecting a sound pressure level of an external sound; a system CPU that, when the sound pressure level detected by the sensor does not exceed a preset threshold value, executes a voice recognition process and outputs an instruction signal according to a result of the determination as to what action should be taken based on the obtained recognition result; a device CPU that, when receiving an instruction signal output by the system CPU, controls the device so as to execute an operation according to the operation content indicated by the instruction signal; Equipped with The CPU for the device is: when an interrupt signal is input, which is output when the sound pressure level detected by the sensor is equal to or higher than the threshold value, a determination is made as to whether or not to execute an operation with the operation content set in response to the interrupt signal, based on the operation content of the operation of the device that was being executed immediately before the input of the interrupt signal; when it is determined that the operation in response to the interrupt signal cannot be executed, the interrupt signal is regarded as invalid, and control is performed so as to continue the execution of the operation of the device that was being executed immediately before the input of the interrupt signal; The action content set in response to the interrupt signal is an action content expressing surprise. An apparatus comprising:

2. The device CPU further controls, when it is determined that it is possible to execute the operation with the operation content set in response to the interrupt signal, to execute the operation with the operation content set in response to the interrupt signal.

2. The apparatus of claim 1 .

3. The above threshold value can be set arbitrarily.

3. Apparatus according to claim 1 or 2.

4. The device CPU further controls, when the interrupt signal is input, the device to execute an operation according to the operation content set in response to the interrupt signal.

4. Apparatus according to any one of claims 1 to 3.

5. A method for controlling an apparatus having a device that performs an operation and a sensor that detects a sound pressure level of an external sound, comprising: an output step in which, when the sound pressure level detected by the sensor does not exceed a preset threshold value, a system CPU executes the voice recognition process and outputs an instruction signal according to a result of a determination as to what action should be taken based on the obtained recognition result; a control step in which, when the instruction signal outputted in the output step is inputted to a device CPU, the device CPU controls the device so as to execute an operation according to the operation content indicated by the instruction signal; Including, In the control step, the device CPU when an interrupt signal is input, which is output when the sound pressure level detected by the sensor is equal to or higher than the threshold value, a determination is made as to whether or not to execute an operation with the operation content set in response to the interrupt signal, based on the operation content of the operation of the device that was being executed immediately before the input of the interrupt signal; when it is determined that the operation in response to the interrupt signal cannot be executed, the interrupt signal is regarded as invalid, and control is performed so as to continue the execution of the operation of the device that was being executed immediately before the input of the interrupt signal; The action content set in response to the interrupt signal is an action content expressing surprise. A control method comprising:

Citation Information

Patent Citations

  • Robot controller and method for robot control and recording medium

    JP2002116792A

  • Robot device and method for controlling operation thereof

    JP2002187083A

  • Action expressing device

    JP2007069302A

  • Robot control device and robot

    JP2016135530A

  • Automatic assembly system by robot

    JP2017024097A