A robot embodied interaction intelligent control method and system for family accompanying

By acquiring metadata about the home environment and generating candidate transformation configurations, the problem of inaccurate risk assessment by home care robots in multi-subject environments is solved, achieving reliable and timely risk intervention and optimizing risk handling in the home environment.

CN123169102APending Publication Date: 2026-11-27JIANGXI UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611513453.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-28
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing home care robots struggle to reliably determine whether risks have been eliminated in multi-person home environments, leading to gaps in intervention or prolonged occupation of locations, thus affecting the timeliness and reliability of risk management.

Method used

By acquiring metadata from the home environment, the system calculates direct and indirect risk events between the subject and dangerous areas, generates a set of robot intervention locations and configurations, determines the subject's dependence on intervention, and generates candidate transformation configurations to reduce the path time and configuration transformation amount of subsequent risks, thereby achieving intelligent control of risk intervention targets.

Benefits of technology

It improves the reliability and timeliness of risk intervention in multi-subject family scenarios, reduces intervention gaps, and optimizes the robot's risk handling capabilities in the home environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123169102A_ABST
    Figure CN123169102A_ABST
Patent Text Reader

Abstract

The application discloses a kind of robot embodied interaction intelligent control method and system for family accompanying, the method is suitable for the risk control, intervention and control scene of complex scene of multiple bodies of family for family accompanying four-legged robot, the method first determines multiple intervention targets in family environment, after having been interfered to selected intervention target, determine whether the risk state of individual suffering from risk is removed, and select the reaction of individual suffering from risk and the embodied intermediate configuration that is maneuvered between multiple risk sources, select the position and moving path, after judging that reaction test configuration can be safely executed, test and judge the reaction of subject being interfered, when having confirmed that risk is removed, update risk intervention task sequence, and carry out system closed loop execution, the present application reduces the protection gap during risk removal misjudgment and multiple risk task switching, improves the reliability and timeliness of robot risk intervention under complex scene of family.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the manufacture of digital home smart terminal devices, smart sensing and control devices, and other smart consumer devices, and particularly to a smart control method and system for robot embodied interaction for home care. Background Technology

[0002] With the development of robot perception, navigation and motion control technologies, home companion robots are gradually being applied to scenarios such as childcare, elderly care, pet management and home security.

[0003] When existing home companion robots detect a subject approaching a dangerous area, they typically provide alerts via voice, light, or images, or move between the subject and the danger zone, using the robot's body, limbs, or attachments to restrict the subject's passage. Once the subject stops approaching or leaves the danger zone, the robot removes its intervention and returns to standby mode or performs other tasks.

[0004] However, a home environment typically contains multiple individuals, including children, the elderly, pets, and adults, and contains potentially hazardous areas such as kitchens, staircases, balconies, doors and windows, heat sources, and slippery surfaces. These risks often do not occur in isolation but may form simultaneously and evolve continuously. In such situations, when a robot forms a physical barrier, the stopped approach by the affected individual could be due to a change in their direction of movement, or it could simply be that the robot's current configuration restricts the path or space required for continued movement. Therefore, it is difficult to reliably determine whether the current risk has been eliminated. Directly removing the intervention may reopen the hazardous path; maintaining the intervention will occupy the robot's position and configuration for an extended period and may affect the robot's ability to handle other risks.

[0005] Furthermore, existing robots typically plan and execute the next risky task only after completing or removing the current intervention, which can easily create an intervention gap between the removal of the current protection and the establishment of the next protection. For quadruped robots, the body position, orientation, height, foot position, and support status also affect the time required to restore the current protection or switch to the next intervention configuration, making the safe removal of the current risk and the timely handling of subsequent risks interrelated.

[0006] Therefore, it is necessary to identify the changes in the subject's action conditions caused by the robot's current embodied intervention, and to establish an interrelated control process and task path planning based on embodied configuration among the current risk verification, current protection recovery and subsequent risk intervention, so as to improve the reliability and timeliness of risk intervention in multi-subject scenarios in the home. Summary of the Invention

[0007] A robot embodied interactive intelligent control method for home care includes the following steps;

[0008] S1: Obtain metadata

[0009] The system acquires information on multiple different types of subjects, hazardous areas, subject movement states, and the robot's current intervention configuration in the home environment. Based on the body envelope, behavioral capabilities, navigable space information of each subject, and the impact of the robot's intervention, it determines the primary risk intervention target and subsequent risk intervention targets that need to be addressed.

[0010] For the current moment During the forecast period Specifically, it includes:

[0011] 1. Obtain the status of the main body, hazardous areas, and robot.

[0012] The subject refers to persons or animals in the home environment that are capable of moving or changing their posture independently and may have a risk relationship with dangerous areas, including infants, the elderly, pets, other family members, and temporary visitors.

[0013] Different types of subjects differ in body size, current posture, movement habits, hazard recognition ability, ability to stop voluntarily, and response to physical restrictions, movement guidance, attention attraction, or audio-visual cues.

[0014] Regarding the first Each entity is identified, and its information and movement status are established.

[0015]

[0016] in, Indicates the subject type, Indicates the current body pericardium, This indicates the ability to move, pass through, stop autonomously, change direction, and respond to interventions. It represents a state of motion composed of position, velocity, direction, and attitude. Indicates the credibility of the state.

[0017] Regarding the first Establish information on each danger zone:

[0018]

[0019] in, Indicates the location and extent of the danger zone. This indicates risk triggering conditions such as entry, contact, stay, or relative movement. Indicates the basic risk level. Indicates the current valid state.

[0020] Obtain the current configuration of the robot :

[0021]

[0022] in:

[0023] This indicates the robot's position and heading within the two-dimensional space of the home, as well as its relative location to the main body, hazardous areas, and pathways. Qb represents the robot's posture, Qf represents the foot position, and Qs represents the foot support state. Indicates intervention measures, These parameters represent the robot's relative position, orientation, intensity, and duration of intervention.

[0024] Unless otherwise specified, the following generalized current configurations All of them contain spatial location information.

[0025] 2. Direct risk events between the computing entity and the hazardous area.

[0026] Based on the subject's current location, movement trend, behavioral capabilities, and accessible space, determine the first... Individual entities at the prediction time The expected occupied area; then expand the second based on the body's envelope and safety interval. One dangerous area is identified, resulting in the corresponding risk assessment area:

[0027]

[0028] in, This indicates the current state of the home space, obstacles, and other entities. When the expected occupied area overlaps with the risk assessment area, and triggering conditions such as entry, contact, stay, or relative movement are met, a direct risk event is formed; the expected formation time is the earliest predicted time when the conditions are met.

[0029]

[0030] When no time meeting the conditions exists within the forecast period, the corresponding direct risk formation time is recorded as infinity. When the main movement trend is uncertain or the credibility of the state is insufficient, a conservative estimated occupation area covering its feasible movement range is adopted.

[0031] 3. Indirect risk events caused by the participation of computing entities

[0032] When the The entities are not expected to directly enter the [number] [stage / entity]. When a dangerous area is identified, it is determined whether the area it is expected to occupy enters a relevant pathway, an area expected to be occupied by other entities, or an area required for the robot to form and maintain its intervention. If so, a baseline prediction state without considering the entity's participation and a participation prediction state considering its participation are respectively formed.

[0033] The predicted state includes at least the risk level of other subjects, the expected time of risk formation, and the feasibility of the robot establishing or maintaining an effective intervention, and calculates the changes in both:

[0034]

[0035] An indirect risk event occurs when the involvement of an entity leads to the formation of a new risk relationship, or when at least one of the following changes—increasing the level of existing risk, advancing the time of risk formation, or reducing the feasibility of robot intervention—exceeds the permissible range. The permissible range can be represented by a threshold, an interval, or a level.

[0036] 4. Confirm the robot intervention location, calculate the intervention configuration set, and intervention time.

[0037] Direct and indirect risk events are combined to form candidate risk relationships. For each candidate risk relationship, the intervention location where the robot can effectively intervene is determined, and the intervention configuration that can form a minimum protection condition is selected from the robot's current executable configurations.

[0038] The intervention location is used to indicate the robot's position and heading within the two-dimensional space of the home relative to the main body, hazardous areas, and related pathways. For the first... The subject and the first The set of candidate intervention locations for a set of candidate risk relationships formed by a number of danger zones is represented as follows:

[0039]

[0040] in, This indicates the robot's position and heading within the two-dimensional space of the home. This indicates the achievable location and heading range of the robot within the current home environment, given the presence of obstacles and the robot's occupancy. Indicates the robot's location The degree of locational effectiveness in intervening in corresponding risk relationships. This represents the minimum locational condition corresponding to the risk relationship.

[0041] The locational effectiveness can be determined based on at least one, but not limited to, the following factors:

[0042] 1) Is the robot located between the main body and the danger zone?

[0043] 2) The extent to which the robot occupies feasible pathways from the main body to the dangerous area;

[0044] 3) The relative distances between the robot and the main body, hazardous areas, and pathway boundaries;

[0045] 4) The relationship between the robot's heading and the main body's direction of motion, the direction of the danger zone, or the predetermined guidance direction;

[0046] 5) The blocking width, movement space restriction range, or sound and light effect range that the robot can form in the corresponding location;

[0047] 6) The impact of the robot's location on the passage of other entities, existing risk intervention, and conditions for subsequent task intervention.

[0048] For candidate intervention locations Based on the robot's body size, body posture, joint range of motion, foot landing conditions, support status, and available intervention methods, determine the set of embodied states that the robot can adopt in this location:

[0049]

[0050] in, This represents the set of executable configurations currently available to the robot. This represents the set of intervention configurations that provide effective protection against the corresponding risk relationships. Only when the configuration... Corresponding protective function Not lower than the minimum protection conditions When a risk relationship is present, it is retained in the set of intervention configurations; when no available intervention configuration is available, the risk relationship is marked as currently not directly intervened.

[0051] Furthermore, based on the estimated time of risk formation and the time required for the robot to move from the current configuration to the intervention configuration and establish effective protection, a risk time margin is determined:

[0052]

[0053] in, This represents the time required for the robot to move from its current configuration to an available intervention configuration in the set of intervention configurations and establish an effective protective action. When multiple available intervention configurations exist, the minimum required time can be taken. The time is determined based on the robot's position movement, heading adjustment, embodied state transition, and intervention action establishment time within the two-dimensional space of the home.

[0054] 5. Formulate risk intervention objectives and determine the task sequence.

[0055] For each candidate risk relationship, establish risk intervention targets that include risk relationship identifier, risk level, expected formation time, risk time margin, set of intervention configurations, and task status.

[0056] The task status includes:

[0057] Needs intervention;

[0058] Intervening;

[0059] To be verified;

[0060] Resumption of intervention;

[0061] The issue has been resolved.

[0062] When the robot's current intervention configuration has provided effective protection for a risk intervention target that has not yet been eliminated, that target is identified as the first risk intervention target.

[0063] In other cases, calculate the risk intervention sequence. :

[0064]

[0065] The feasibility of robot intervention can be calculated based on risk level, risk time margin, prediction reliability, and robot intervention feasibility. The robot intervention feasibility is determined based on the accessibility of candidate intervention locations, whether the intervention configuration set is empty, and intervention time.

[0066] in, As the primary risk intervention target, to This serves as the target for subsequent risk intervention. The subject of intervention and the danger zone corresponding to the first risk intervention target are respectively identified as the first subject and the first danger zone.

[0067] S2: Determine the dependence of the first subject's stopped approach state on the current intervention effect.

[0068] When the first subject stops approaching the first danger zone under the current intervention, it is determined whether the current state of the first subject still depends on the continuous intervention applied by the robot; if so, the first risk intervention target is kept in the state of pending verification.

[0069] For the current moment Specifically, it includes:

[0070] 1. Obtain the judgment input and confirm the stop approach state.

[0071] Obtain the subject information corresponding to the first risk intervention target Dangerous area information Main body motion state Current robot intervention configuration And its current protective function.

[0072] Based on the distance between the area expected to be occupied by the first entity and the risk assessment area of ​​the first danger zone at the current time and subsequent predicted times, calculate the distance change:

[0073]

[0074] when If the risk triggering conditions corresponding to the first danger zone are no longer met, the first entity is determined to have stopped approaching the first danger zone. This result only indicates that the current movement trend has stopped and is not directly used as evidence that the risk has been eliminated.

[0075] 2. Determine the type of current intervention.

[0076] Based on the current robot intervention configuration To determine the intervention that the robot is exerting on the first subject.

[0077] The intervention effects include, but are not limited to, the following categories:

[0078] 1) Body-based obstruction effect

[0079] Used to occupy the main body's path, restrict the main body's movement space, separate the main body from the first danger zone, or prevent the main body from bypassing, crossing or contacting the first danger zone through the robot's embodied structure;

[0080] 2) Sustained attention or behavioral guidance

[0081] It is used to stop the first subject from moving, change direction, divert attention, or move away from the first danger zone through sound and light cues, motion attraction, directional guidance, following actions, or other non-physical restriction methods.

[0082] 3) Short-term sensory cueing

[0083] It is used to convey danger warnings or behavioral prompts to a first subject through a single or short-term sound, light, voice, vibration or other sensory stimulation, so that the first subject stops moving, changes direction, shifts attention or moves away from the first danger area after receiving the prompt.

[0084] 3. Calculate the correlation between embodied hindering effect and the stopping approach state.

[0085] Based on the body envelope, behavioral capabilities, current posture, area occupied by the robot's embodied structure, location of the first danger zone, and passable space between the first subject and the first danger zone, calculate the degree of obstruction correlation between the robot's embodied obstruction effect and the first subject's stopped approach state:

[0086]

[0087] in, This indicates the accessible space within the current home environment. This indicates the degree to which the embodied obstruction contributes to the first subject's cessation of approach.

[0088] The degree of hindering correlation is determined based on at least one of the following factors:

[0089] The proportion of feasible pathways leading to the first danger zone occupied by robots;

[0090] The amount of change in the passable or reachable area of ​​the first subject before and after the robot occupies the space;

[0091] The degree to which the space required for the first subject to complete actions such as circling, crossing, turning, reaching out, or touching is restricted;

[0092] The degree of spatial conflict between the first subject's body envelope and the area occupied by the robot's body, limbs, or feet;

[0093] After the robot space is removed, the first subject regains the degree to which it has the conditions for passage or action toward the first danger zone.

[0094] One calculation method is as follows:

[0095]

[0096] in, Indicates the degree of channel occupancy. This represents the change in the reachable space of the first subject when the robot is present or absent. Indicates the degree of restriction on the action space. This indicates the degree of conflict between the body's envelope and the area occupied by the robot.

[0097] 4. Calculate the correlation between nonembodied intervention and the state of approaching cessation.

[0098] For the robot's current continuous attention or behavioral guidance and short-term sensory cues, calculate the correlation between them and the first subject's stopped approach state.

[0099] Non-embodied interventions applied by robots through sound, light, motion, directional indication, or following actions are uniformly represented as cueing sequence:

[0100]

[0101] in, This indicates the continuous prompting or guidance provided by the robot during the current time period; Indicates the first The timing of the next discrete prompt; This indicates the type, direction, and intensity of the notification; This indicates the relationship between the persistence or decay of discrete cueing effects over time.

[0102] When the robot continuously outputs sound and light, motion attraction, or directional guidance... The values ​​are continuously taken within the corresponding time period; when the robot only issues a single sound, light, or voice prompt, the corresponding effect is represented by a discrete prompt item.

[0103] Based on the prompt received by the first subject within the preset judgment period, calculate the effective impact of the prompt on the current subject's state:

[0104]

[0105] in, This indicates a prompt to determine the time period. This indicates the time-response relationship determined based on the type of the primary subject, their behavioral capabilities, and the sensitivity of the prompts.

[0106] For continuous cues, the integral result reflects the cumulative effect of cue intensity and duration; for discrete cues, the integral result reflects the superposition effect of each cue after being maintained or decayed by the response.

[0107] Calculate the correlation between attention or behavioral guidance based on the effective action and the correspondence between changes in the primary subject's behavior and the cueing effect:

[0108]

[0109] in:

[0110] This indicates the degree of correspondence between the first subject's action of stopping, turning, or moving away and the timing of the prompt;

[0111] This indicates the degree of consistency between the change in the direction of motion of the first subject and the direction of robot guidance;

[0112] This indicates the degree of consistency between the primary subject's attention and the robot, the cue object, or the safety direction;

[0113] This indicates the primary subject's capacity for action and ability to respond to prompts;

[0114] This indicates the credibility of the subject's state.

[0115] The greater the effective impact of the prompt, and the higher the degree of correspondence between the subject's behavioral changes and the prompt in terms of time, direction, or attentional orientation, the greater the correlation between the attention or behavioral guidance.

[0116] 5. Calculate the degree of dependence on comprehensive intervention.

[0117] Based on the embodied obstruction correlation and the attentional or behavioral guidance correlation, calculate the overall dependence of the first subject's stopped approach state on the current intervention effect:

[0118]

[0119] in, Indicates the degree of embodied obstacle association. It also covers the correlation between continuous and discrete prompts. This indicates the reliability of the relevant calculation results.

[0120] Since either embodied obstruction or attentional / behavioral guidance can maintain the first subject's stopped approaching state, the overall degree of dependence can be determined according to the greater correlation after credibility adjustment:

[0121]

[0122] in:

[0123] This indicates the result after adjusting for credibility and uncertainty in the corresponding correlation. When the credibility of the subject's state is insufficient, perception is obscured, or the record of intervention is incomplete, the upper limit of uncertainty for the corresponding correlation is increased to avoid directly assuming that the first risk has been eliminated when information is insufficient.

[0124] Combine the overall dependency level with the preset dependency threshold Compare:

[0125] ,

[0126] When the above formula is satisfied, the first risk intervention target is kept in the state of pending verification and enters the candidate transformation configuration generation process; when the comprehensive dependence degree is lower than the dependence threshold, it is determined that no significant dependence of the first subject's stopped approach state on the current embodied obstacle, continuous guidance or short-term sensory cue effect is found, and it is marked as satisfying the release judgment condition.

[0127] S3: Generation of detection configuration and transformation configuration

[0128] Generate candidate transformation configurations that change the robot's position, heading, embodied state, or partial intervention relative to the current intervention configuration, enable the first subject to generate a detectable response, and reduce the path time, movement, or configuration transformation amount required to intervene in subsequent risk intervention targets.

[0129] For the current moment Specifically, it includes:

[0130] 1. Obtain input for candidate configuration generation

[0131] Get the robot's current state:

[0132]

[0133] Obtain the possible response states of the first agent in S2 under the current intervention configuration:

[0134]

[0135] And obtain the target intervention configuration corresponding to each subsequent risk intervention objective. For the first Each subsequent risk intervention target, whose intervention configuration is denoted as:

[0136]

[0137] When the same subsequent risk intervention objective can be effectively intervened through multiple configurations, its intervention configurations are represented as a set:

[0138]

[0139] 2. Determine the adjustable components in the current intervention configuration.

[0140] From the robot's current intervention configuration, identify configuration components that can be reduced, removed, redirected, replaced, or reconfigured. These candidate transformation configurations also include the robot's position, heading, and corresponding embodied state and intervention action within the two-dimensional space of the home. The adjustable components include, but are not limited to:

[0141] The position, orientation, or height of the robot's body;

[0142] Foot position, joint status, or foot support status;

[0143] The degree to which the passageway or action space is occupied;

[0144] The relative position between the robot and the first entity;

[0145] Movement guidance direction or movement pattern;

[0146] Pay attention to the object of attraction or the direction of attraction;

[0147] The direction, intensity, range, or duration of the audio-visual output;

[0148] Switching between current intervention methods and other available intervention methods.

[0149] The first Configurational changes are represented as follows:

[0150]

[0151] The corresponding candidate transformation configurations are:

[0152]

[0153] Among them, symbols This indicates that at least one configuration component is changed based on the current intervention configuration.

[0154] 3. Determine the executable scope of the candidate transformation configuration.

[0155] Candidate transition configurations should fall within the range of configurations that the robot can actually reach or implement from its current state via executable entry paths. The set of currently executable robot configurations is represented as:

[0156]

[0157] in, This indicates the current state of the home space, obstacles, and other entities; It represents the robot's position, heading, and embodied configuration executable relationships within the current two-dimensional traversable space, motion capabilities, and environmental constraints.

[0158] For quadruped robots, the candidate conversion configuration should at least satisfy:

[0159] 1. The movement of the fuselage and joints shall not exceed the permissible range;

[0160] 2. The current support level is sufficient to maintain the required support status;

[0161] 3. The swing foot has usable space for movement and a place to land;

[0162] 4. The entry process, fuselage and foot movements of the candidate conversion configuration do not conflict with household obstacles or the predicted area occupied by the main body;

[0163] 5. It retains the ability to re-establish the primary risk intervention effect after configurational changes.

[0164] Only retain configurations that satisfy the following formula:

[0165]

[0166] 4. Determine the detectability of the first subject's response.

[0167] For each candidate transition configuration, calculate the possible response states corresponding to the first principal:

[0168]

[0169] And calculate its change relative to the current intervention configuration:

[0170]

[0171] The changes include, but are not limited to:

[0172] Whether the first subject has obtained new pathways, action space, or executable actions;

[0173] Is it possible that the movement trend of the first subject toward the first danger zone might change?

[0174] Is it possible for the primary subject's focus of attention on the primary danger zone or related object to change?

[0175] The detectability of the response of the candidate transition configuration is determined based on the changes described above:

[0176]

[0177] in, This indicates the relationship for calculating the detectability of the response. This indicates the credibility of the first subject's state.

[0178] The detectability of the response does not require predicting that the first subject will necessarily reapproach the first danger zone, but rather requires that the candidate transition configuration can distinguish between different responses such as reapproaching, staying away, or turning in another direction.

[0179] 5. Determine the costs of subsequent risk intervention.

[0180] For candidate transformation configurations Determine the switching cost of the intervention configuration corresponding to the subsequent risk intervention target:

[0181]

[0182] in, This indicates the relationship between the conversion cost calculations of two intervention configurations.

[0183] The conversion cost includes at least one of the following: travel distance, turning amount, change in fuselage height, change in foot position, number of support state transitions, number of intervention method switching, and estimated conversion time.

[0184] Accordingly, the switching cost of directly intervening in subsequent risk objectives from the current intervention configuration is:

[0185]

[0186] When the candidate transformation configuration satisfies:

[0187]

[0188] Alternatively, if at least one of the following aspects—time, movement, and configuration change—is reduced, and other costs do not exceed permissible limits, the candidate conversion configuration is determined to have a preparatory role for subsequent intervention.

[0189] 6. Determine the set of candidate transformation configurations.

[0190] For each candidate transformation configuration, determine its impact on other entities or other risk relationships:

[0191]

[0192] When a candidate switching configuration causes other subjects' access conditions, motion states, attention states, or risk formation time to exceed the allowable range of change, or occupies the path required for the robot to resume its first risk intervention or intervene in subsequent risk objectives, the candidate switching configuration is excluded.

[0193] This yields the set of candidate transformation configurations:

[0194]

[0195] in, This indicates the minimum detectable response condition. This indicates the range of other permissible risk variations.

[0196] S4: Determine the recovery path and task transition path

[0197] For each candidate transformation configuration, determine the entry path from the current intervention configuration to the candidate transformation configuration, the recovery path to restore the effect of the first risk intervention, the task transformation path to intervene in the subsequent risk intervention target, and their execution time.

[0198] For the current moment Specifically, it includes:

[0199] 1. Establish feasible configuration conversion relationships for the robot.

[0200] The robot's achievable position, heading, corresponding embodied state, and intervention action are defined as configuration nodes. The robot's achievable positional movements, heading adjustments, and embodied configuration changes are defined as the transformation relationships between these nodes. The feasible configuration transformation relationship of the robot is expressed as follows:

[0201]

[0202] in, This represents the set of feasible intervention configurations. This indicates the executable conversion relationship between configurations.

[0203] For any two configurations and Only when the robot can be controlled by the current home environment and the main occupant Switch to Only then does a conversion relationship exist between the two:

[0204]

[0205] The transformation relationship may include at least one of the following: fuselage movement, steering, lifting, tilting, foot swinging, support state transformation, and switching of intervention methods or intervention parameters.

[0206] 2. Determine the first risk recovery configuration set.

[0207] The configurations capable of reforming the first risk intervention will form the set of restored configurations:

[0208]

[0209] The set of restored configurations can include both the robot's original and current intervention configurations. It can also include configurations that are located in other accessible areas but can exert an intervention effect on the first risk intervention target at the same or no less than the preset level.

[0210] Furthermore, the recovery path does not require the robot to return to the exact same body position, foot position, or intervention parameters.

[0211] 3. Determine the recovery path

[0212] Regarding the first Given 10 candidate transformation configurations, determine the sequence of executable configuration changes from that configuration to the set of restored configurations:

[0213]

[0214] And satisfy:

[0215]

[0216] The recovery path should remain executable within the current home space, the predicted occupancy of other entities, and the robot's motion constraints.

[0217] 4. Determine the task transition path

[0218] Regarding the first Given several candidate transformation configurations, determine the sequence of configurational changes from this configuration to the set of intervention configurations corresponding to the subsequent risk intervention target:

[0219]

[0220] And satisfy:

[0221]

[0222] When there are multiple subsequent risk intervention targets, the task conversion path corresponding to each subsequent risk intervention target can be determined separately, and the task conversion path that needs to be verified first can be selected according to the current risk intervention task sequence.

[0223] 5. Determine path cost and execution time.

[0224] For configuration transformation path Its path cost is expressed as:

[0225]

[0226] in, This represents a configuration transformation within the path. This indicates the amount of movement, steering, foot adjustment, support conversion, intervention switching, or a combination thereof corresponding to the configuration transformation.

[0227] The path execution time is expressed as:

[0228]

[0229] in, This indicates the time required to complete the corresponding configuration transformation.

[0230] Therefore, we obtain the first... Recovery time for each candidate conversion configuration:

[0231]

[0232] And task transition time:

[0233]

[0234] For a quadruped robot, the execution time may include the body movement time, the swing leg movement time, the foot landing time, the support state confirmation time, and the intervention parameter switching time.

[0235] The aforementioned recovery path and task transition path can be determined through configuration search, path planning, rule matching, optimization calculation, or a combination thereof, without limiting the specific solution method.

[0236] S5: Filter and execute test conversion configurations

[0237] The candidate conversion configuration that, after reaching the designated location, entering the configuration and responding to the test, can still complete the recovery path before the first subject reaches the first danger zone and complete the task conversion path before the subsequent risks are formed, is selected as the test conversion configuration and executed.

[0238] For the current moment Specifically, it includes:

[0239] 1. Determine the remaining time for the first risk.

[0240] Regarding the first A candidate transformation configuration, based on the first subject information. Movement state First Danger Zone And the behavioral conditions under candidate transition configurations, to determine the estimated remaining time for the first subject to arrive at or re-enter the first danger zone:

[0241]

[0242] The remaining time for the first risk can be expressed as an expected value, the lower limit of the interval, a conservative value, or a risk time level.

[0243] 2. Determine the remaining time for subsequent risks.

[0244] For subsequent risk intervention objectives, the estimated remaining time before the corresponding risk reaches a state requiring effective robot intervention is determined, denoted as:

[0245]

[0246] When the robot testing process may change the motion state of other subjects or the conditions for subsequent risk formation, recalculate based on the candidate transformation configuration:

[0247]

[0248] 3. Determine configuration entry time and response detection time.

[0249] The robot moves or changes posture from its current intervention configuration, entering the next stage. The time required for each candidate conversion configuration is denoted as:

[0250]

[0251] The time required for the robot to obtain sufficient time to determine the action response of the first agent under the candidate transition configuration is denoted as:

[0252]

[0253] The response detection time is determined based on the first subject's movement speed, response delay, current posture, intervention type, state credibility, and the shortest observation period required to distinguish between re-approach, maintaining safety, and inability to make a judgment.

[0254] 4. Verify the recovery path time conditions

[0255] Candidate transformation configurations should satisfy:

[0256]

[0257] in, It represents the recovery safety margin corresponding to perception error, control delay, motion error, and uncertainty in the subject's state.

[0258] This condition indicates that after the robot enters the candidate transformation configuration and completes the response detection, it can promptly resume the first risk intervention function.

[0259] 5. Verify the time conditions for task conversion paths.

[0260] Candidate transition configurations should satisfy the task transition path time condition, namely:

[0261]

[0262] in, This indicates the safety margin corresponding to the risks associated with robot intervention.

[0263] This condition indicates that after the robot enters the candidate transition configuration and completes the response detection, it can complete the task transition path in a timely manner before subsequent risks are formed, and the entry path and recovery path should remain executable during the corresponding execution period.

[0264] 6. Form a set of executable candidate configurations.

[0265] Candidate transition configurations that simultaneously satisfy both the recovery time condition and the task transition time condition constitute the executable set:

[0266]

[0267] 7. Select the test conversion configuration

[0268] When there are multiple candidate transition configurations in the executable set, the selection is made based on the detectability of the response, the cost of the entry path, the cost of the recovery path, the cost of the task transition path, and the impact on other risk relationships.

[0269] Candidate configuration evaluation relationships can be established:

[0270]

[0271] The higher the detectability of the response, the lower the entry, recovery, and task switching costs, the smaller the adverse impact on other risks, and the better the evaluation results of the corresponding candidate configuration.

[0272] A hierarchical screening approach that prioritizes meeting security constraints and then compares conversion costs can be adopted, or a comprehensive evaluation approach can be used. This invention does not limit the specific selection method.

[0273] The selected candidate transformation configurations are determined as the test transformation configurations:

[0274]

[0275] And control the robot to switch from the current intervention configuration to the test conversion configuration.

[0276] 8. Empty set falling back

[0277] When the set of executable candidate configurations is empty, it is determined that there is currently no test conversion configuration that can simultaneously satisfy the first risk recovery time constraint and the subsequent risk intervention time constraint.

[0278] The robot maintains the current intervention configuration or forms an alternative protection configuration with a level no lower than the current intervention, and redetermines the risk intervention task sequence based on the subsequent risk status.

[0279] S6: Detect the first entity's behavior response and select the execution path.

[0280] The system detects the behavior of the first subject under the test transformation configuration; when it approaches the first danger zone again, it executes the recovery path; when it stays away from or turns to a safe state, it executes the task transformation path; when it cannot determine the situation, it restores the first risk intervention or re-verifies and updates the risk intervention task sequence.

[0281] The moment after the robot enters the test configuration change Specifically, it includes:

[0282] 1. Obtain the behavioral response of the primary subject.

[0283] During the preset response detection period

[0284]

[0285] Within, continuously acquire the motion state of the first subject:

[0286]

[0287] And combined with the first subject information First Danger Zone Test conversion configuration and the current state of the home space Determine the behavioral response state of the first subject:

[0288]

[0289] in:

[0290]

[0291] In the formula, This indicates the positional relationship between the first entity and the first danger zone; This indicates the tendency of the first subject to move towards the first danger zone; This indicates the first subject's utilization of the behavioral conditions released by the test transformation configuration; It indicates the primary subject's focus of attention on the primary danger zone or its associated objects.

[0292] 2. Generate comprehensive response results for the detection period.

[0293] Based on the behavioral response status obtained during the response detection period, a comprehensive response result for the primary subject is formed:

[0294]

[0295] in, This represents a calculation relationship that summarizes continuous response information. It can be achieved by using duration judgment, trend calculation, interval judgment, probability calculation, or a combination thereof.

[0296] The overall response results are used to determine whether the first subject re-exhibits behaviors related to the first danger zone after the robot reduces or changes some of its intervention.

[0297] 3. Determine whether the first subject is approaching the first danger zone again.

[0298] Based on the comprehensive response results and the risk triggering conditions of the first danger zone Determine the response judgment result:

[0299]

[0300] in:

[0301]

[0302] A re-approach is determined when at least one of the following conditions is met:

[0303] 1) The distance between the first main body and the first danger zone continues to decrease;

[0304] 2) The first subject's direction of movement redirects back towards the first danger zone;

[0305] 3) The first subject enters the newly added danger-related action space of the test conversion configuration;

[0306] 4) The first subject again exhibits actions of bypassing, crawling under, crossing, or contacting the first danger zone;

[0307] 5) The behavioral state of the primary subject is either satisfied again or is expected to be satisfied with the risk triggering conditions. .

[0308] When the first subject, having already been given the opportunity to choose a different course of action, continues to move away from the first danger zone, remains in a safe position, or turns in a direction unrelated to the first danger zone, it is determined that it remains safe.

[0309] When the credibility of the state is insufficient, the first subject is obscured by other subjects, no distinguishable response is generated during the detection period, or different response information conflicts with each other, it is determined that it cannot be judged.

[0310] 4. Verify and select the execution path based on the response results.

[0311] Before executing the selected path, the feasibility of the path is re-verified based on the latest home space status, the predicted occupancy range of other entities, and the robot's current configuration. If the original path is not executable, an executable path is re-determined within the corresponding recovery configuration set or the target intervention configuration set; if no executable path exists, the first risk intervention is maintained or restored.

[0312] When the response judgment result is a re-approach, it is determined that the first risk intervention objective has not been eliminated, and the robot is controlled to execute the recovery path determined in S4:

[0313]

[0314] And enable the robot to re-enter the restored configuration set. One of the configurations is to restore the role of the first risk intervention.

[0315] When the response judgment result is to maintain safety, it is determined that the first risk intervention target meets the release condition, and the robot is controlled to execute the task transition path corresponding to the subsequent risk intervention target:

[0316]

[0317] And enable the robot to enter the corresponding set of target intervention configurations. .

[0318] When the response judgment result is "cannot be determined," the first risk intervention target remains in the "pending verification" state. If the remaining safety time is insufficient to continue detection, the robot is controlled to execute the recovery path; if the remaining safety time still meets the dual time conditions in S5, the response detection time can be extended or the test transformation configuration can be regenerated.

[0319] 5. Update the status of the primary risk intervention target.

[0320] Based on the response assessment results, update the task status of the first risk intervention target:

[0321] when For the time to reapproach:

[0322]

[0323] when To maintain safety:

[0324]

[0325] when When it is impossible to determine:

[0326]

[0327] in, , and These represent the states of reinstated intervention, deactivated, and pending verification, respectively.

[0328] When the task The status is now in the recovery intervention state. At that time, enter the recovery path.

[0329] When the task The status is pending verification. Within the preset time window Further actions may then be taken, specifically including:

[0330] Maintain the intervention configuration;

[0331] Retest the response.

[0332] in, This indicates the update time after the completion of this response judgment.

[0333] 6. Update subsequent risk intervention objectives and task sequences.

[0334] During the behavior response detection and path execution process, the motion state of other subjects, the effective state of the dangerous area, and the current intervention configuration of the robot are reacquired, and the expected risk formation time, accessibility of the intervention location, and intervention time corresponding to each candidate risk relationship are updated.

[0335] For the The subject and the first Based on the risk relationships formed by each danger zone, update its intervention margin:

[0336]

[0337] Among them, the time required for robot intervention The actual configuration is redefined based on the robot's execution of the recovery path or task transition path.

[0338] Based on the updated intervention margin, risk level, subject's ability to avoid risks, status credibility, and the mutual influence between various risk relationships, the subsequent risk intervention targets are rearranged.

[0339] When the first risk intervention target has been eliminated, the highest priority subsequent risk intervention target is updated to the new first risk intervention target; when the first risk has not been eliminated, it continues to be the first risk intervention target, and the processing order of subsequent risk intervention targets is re-determined according to the robot's restored configuration.

[0340] Therefore, S6 establishes the following control relationship:

[0341]

[0342] when To reapproach, execute ;when To maintain safety, execute ;when If it is impossible to determine, execute Alternatively, re-verify and update the risk intervention task sequence.

[0343] A robot embodied interaction intelligent control system for home care, used to implement the aforementioned robot embodied interaction intelligent control method for home care, comprising:

[0344] The module includes an environmental information acquisition module, a risk task management module, an intervention dependency judgment module, a test configuration generation module, a path determination module, a response decision module, and a motion execution module.

[0345] in:

[0346] The environmental information acquisition module is used to acquire information about the main body, dangerous areas, the main body's motion state, and the robot's current physical configuration in the home environment.

[0347] The risk task management module is used to determine the first risk intervention target currently being processed and the subsequent risk intervention targets to be processed, and to establish a risk intervention task sequence;

[0348] The intervention dependency judgment module is used to determine whether the current state of the first subject still depends on the continuous intervention applied by the robot when the first subject stops approaching or leaving the first danger zone, and to determine whether the first risk intervention target remains in a state to be verified.

[0349] The test configuration generation module is used to generate candidate test conversion configurations by changing the robot’s position, heading, embodied state or intervention effect in the two-dimensional space of the home, and to determine the test conversion configurations that reduce the path time, amount of movement or configuration conversion amount required to reduce the subsequent risk intervention target.

[0350] The path determination module is used to determine the entry path from the current intervention configuration to the test conversion configuration, the recovery path to restore the first risk intervention effect, and the task conversion path to intervene in the subsequent risk intervention target. It also determines whether the test conversion configuration meets the execution conditions based on the remaining time and path executability of the first and subsequent risk intervention targets.

[0351] The response decision module is used to obtain the motion response of the first subject under the test conversion configuration, and determine the execution recovery path, task conversion path or re-verification based on the motion response;

[0352] The motion execution module is used to control the robot to complete the motion and intervention actions corresponding to the current intervention configuration, test conversion configuration, recovery path and task conversion path;

[0353] The risk task management module is also used to update the risk intervention task sequence based on the motion response of the first subject, the verification result of the first risk intervention target, the status of subsequent risk intervention targets, and the robot's current embodied configuration.

[0354] The beneficial effects of this invention are:

[0355] (1) Reduce misjudgment of risk removal: This invention does not take the cessation of the subject's approach to or temporary departure from the dangerous area as the basis for risk removal, which can reduce misjudgment events caused by premature intervention.

[0356] (2) Reduce protection gaps during multi-risk task switching: When verifying the current risk resolution status, the present invention simultaneously determines the recovery path and task switching path, reducing the protection gap between the current intervention removal and the subsequent intervention establishment, thereby shortening the time for subsequent risk intervention.

[0357] (3) Improve the utilization efficiency of robot embodied configuration: The test conversion configuration determined by the present invention can reduce the actual actions required for the robot to switch to the subsequent target intervention configuration, thereby reducing invalid configuration recovery and repetitive movements, and improving the conversion efficiency between multiple risk tasks.

[0358] (4) Improve the adaptability of risk intervention in complex family scenarios: This invention can be applied to different intervention methods such as body obstruction, movement space restriction, sound and light prompts, motion attraction and direction guidance. It also takes into account the subject's behavioral ability and complex family factors, so that the robot can complete the current risk recovery in time and participate in subsequent risk intervention more quickly. Attached Figure Description

[0359] Figure 1 This is the overall flowchart of the present invention.

[0360] Figure 2The main interface of the software for implementing the present invention centrally displays the system's functional entry points and engineering resource status, including two-dimensional scene identifiers, robot model, number of configurations, number of paths, number of danger zones, number of obstacles, current risk status, and historical number of runs.

[0361] Figure 3 This is the system's "Engineering and 2D Scene" page. This page displays fixed obstacles, pathways, the first and second danger zones in a home entryway scene using a 2D coordinate view, as well as the spatial location and occupied area of ​​the main body, risk objects, and multiple configurations.

[0362] Figure 4 This is the system's "Detection Configuration" page. This page manages detection methods by DetectionProfile, displaying the configuration identifier, version, name, detector type, detection window, sampling frequency, safety distance, confidence threshold, handling methods when detection fails, and release status.

[0363] Figure 5 This is the system's "Candidate Evaluation" page. Taking the current configuration Q0 and the detection configuration as input, this page lists the entry time, detection time, recovery time, and task transition time for candidate configurations Q1 to Q4, and performs dual time constraint verification according to recovery conditions and task conditions respectively. Detailed Implementation

[0364] Example 1:

[0365] This embodiment uses a home entryway as a scenario. When the front door is opened, a pet dog tends to escape, while an elderly person moves towards the entryway and the doormat rolls up, creating a tripping hazard. The robot needs to prioritize addressing the direct risk posed by the pet dog and assess whether the current intervention can be withdrawn to accommodate the subsequent risks to the elderly person. The specific implementation and calculation process are given below according to steps S1 to S2 of this invention.

[0366] 1. Initial Scene Parameters (Input Data)

[0367] The two-dimensional space of the home: The entrance area is 2.40 m (depth) × 1.05 m (width), discretized into 0.05 m grids. The effective width of the door gap is 0.30 m, and the risk assessment area is 0.35 m outside the door gap, extending outwards to include the pet dog enclosure and a 0.10 m safety interval.

[0368] Main parameters:

[0369] Pet dog: Envelope dimensions 0.56 m × 0.24 m (rounded rectangle), current location m (1.28 m from the edge of the door gap), speed The angle between the direction of movement and the normal of the door seam Kalman tracking credibility .

[0370] Elderly person: Envelope diameter 0.40 m, current position 2.65 m from the front edge of the rolled-up mat, walking speed .

[0371] Robot parameters:

[0372] Quadruped robot, initial position m, the angle between the heading and the longitudinal axis of the entrance. No current intervention is needed.

[0373] 2. Calculation of Risk Prediction and Intervention

[0374] 2.1 Predicting the time of direct risk formation for pet dogs

[0375] A two-dimensional constant velocity Kalman model (sampling period) is adopted. Predict the future location of the pet dog. Consider the envelope. Prediction error ellipse The expected occupied area is obtained by dividing the sector region (derived from the covariance matrix) and the maximum turning angle (±30°):

[0376]

[0377] Risk assessment area Defined as the area extending outward from the outer edge of the door gap by 0.35 m. A 0.10 m safety interval is maintained. Overlap is detected time-by-time (0.10 s step), and the first time overlap is defined as:

[0378]

[0379] 2.2 Predicting the timing of subsequent risk formation in the elderly

[0380] Calculate the time to reach the leading edge of the mat based on the current path length and a conservative, relatively fast walking speed (0.46 m / s):

[0381]

[0382] 2.3 Determine the sequence of risk intervention tasks

[0383] because Furthermore, the escape of pet dogs is irreversible, so the risk of pet dogs escaping is set as the primary risk intervention target (subject = pet dog, danger area = door gap), and the risk of elderly people tripping is set as the subsequent risk intervention target.

[0384] 2.4 Calculate the initial intervention configuration and intervention time of the robot.

[0385] Within the accessible grid between the pet dog and the door gap, candidate locations were sampled at 0.05 m positional intervals and 15° heading intervals. Calculate the access occupancy rate for each location. Remaining passage width for the elderly Foot placement ratio and location accessibility Hard constraint screening:

[0386]

[0387] The optimal location after filtering is (The fuselage spans the passageway). A low fuselage obstruction configuration is generated in this location. The fuselage height is 0.31 m, the supporting feet form lateral obstructions, and the passage occupancy rate is 0.86%.

[0388] Use A* algorithm to plan the entry path, taking movement speed into account. angular velocity of steering Support reconfiguration time From the initial position to The path length is 0.39 m, the heading adjustment is 32°, two support reconfigurations are required, and the blocking effect takes 0.08 s to establish. Therefore:

[0389]

[0390] Take safety margin Risk time margin:

[0391]

[0392] The intervention conditions are met. The robot performs the intervention; the current intervention configuration is as follows: .

[0393] 3. Determine the dependence of the first subject's cessation of approach state on the current intervention effect.

[0394] 3.1 Confirm the stop approach status

[0395] After the robot forms an obstruction, at 0.80 s, the distance sequence between the pet dog and the risk boundary of the door gap is determined at equal intervals (0.10 s): 0.72, 0.74, 0.75, 0.76, 0.77, 0.78, 0.79, 0.80 m. The slope of the distance change (least squares) is calculated:

[0396]

[0397] because Furthermore, if the pet dog does not enter the risk assessment area for 0.60 seconds, it is determined that the approach should be stopped. However, this result is not directly used as the basis for risk elimination.

[0398] 3.2 Computational Robot Embodied Dependence

[0399] Four factors are defined and normalized. In this embodiment, the values ​​are calculated based on the raster grid.

[0400] Channel occupancy ;

[0401] Accessibility reduction rate (The percentage increase in the area where the pet dog can reach the door gap after the robot is removed).

[0402] Degree of movement restriction ;

[0403] • Degree of physical conflict .

[0404] In this embodiment, the applied weights are {0.40, 0.25, 0.20, 0.15}, therefore, the following can be calculated:

[0405]

[0406] 3.3 Calculating the degree of inembodied guidance

[0407] This embodiment does not apply sound, light, or motion guidance, therefore the effective dosage is indicated. Guide the degree of correlation .

[0408] 3.4 Calculate the degree of dependence on comprehensive intervention

[0409] Consider tracking credibility To adjust the degree of hindering correlation (taking a conservative lower bound):

[0410]

[0411] Choose the one with the greater overall dependence:

[0412]

[0413] 3.5 Compare with the threshold and decide whether to test.

[0414] Preset dependency threshold (System calibration value). Comparison:

[0415]

[0416] Since the dependency condition is met, the determination that the first entity has stopped approaching still depends significantly on the current entity's blocking effect.

[0417] 4. Decision Results

[0418] Based on the judgment result of step S2, the overall dependence exceeds the threshold, and the first risk intervention cannot be directly lifted. Therefore, the first risk intervention target is marked as "to be verified", that is, it is decided to conduct a response test (proceed to step S3, generate candidate transformation configurations to test the pet dog's real behavior under partial removal of obstruction).

[0419] like If the situation is otherwise, the decision will be made not to test, but to directly lift the intervention and move on to subsequent risks. In this case, due to the significant degree of dependence, the decision was made to test.

[0420] Example 2:

[0421] This embodiment uses a family living room scenario as an example. A child repeatedly approaches a standing fan (the fan blades are rotating at high speed, posing a risk of fingers getting stuck). The robot, with its low-profile configuration, forms a physical barrier between the child and the fan, causing the child to stop approaching. Step S2 determines that the child's stopping state depends on the robot's physical barrier, with a dependency η=0.70, and the first risk is marked as "to be verified." Simultaneously, an elderly person walks from the living room through this area towards the kitchen. There is a scattered area of ​​children's toys (building blocks) on the floor, posing a tripping risk. After verifying the child's risk, the robot can switch to guiding the elderly person through obstacle avoidance. The implementation process is described below in the order of steps S3 to S4.

[0422] 1. Step S3: Generate detection configuration and transformation configuration

[0423] 1.1 Obtaining Input for Candidate Configuration Generation

[0424] The verification phase begins at time t0. The robot is currently implementing a low-profile physical barrier between the child and the floor fan; its current state is as follows:

[0425]

[0426] The child's state is not directly specified, but rather fused using an extended Kalman filter based on the center of the visual detection box and the clustering center of the LiDAR. The state vector is calculated from position and velocity, first predicted using a constant velocity model, and then updated using joint visual and radar observations. The body orientation is determined by finding the median of the shoulder line direction across three consecutive frames of the skeleton, with the confidence level being the smaller of the filter innovation check and the target continuous tracking rate.

[0427]

[0428]

[0429] The subsequent risk intervention goal is for the elderly to avoid the area where the building blocks are scattered. There is one available intervention configuration for this goal; therefore, the set of intervention configurations for this goal is written as:

[0430]

[0431] The home space state E(t0) is represented using a 0.05 m resolution occupancy grid; furniture cells are directly marked as statically occupied, and the predicted occupancy areas for children and the elderly are generated in 0.10 s steps over the next 8.0 s based on their filtered velocities. This grid and the predicted occupancy areas serve as common inputs for candidate configuration generation and executability checks.

[0432] 1.2 Determine the adjustable components in the current intervention configuration

[0433] In this embodiment, candidate configurations are generated using a method of "discrete enumeration - constraint pruning - non-dominated screening". The fuselage X and Y displacements, heading changes, and altitude changes are sampled according to the following set combinations; the foot position and support state are then solved by inverse kinematics.

[0434]

[0435]

[0436] A total of 1008 discrete combinations were obtained. Combinations that did not change the intervention conditions were first removed. Then, non-dominated screening was performed based on three criteria: small configurational changes, ability to generate changes in the action space, and shortening of the path towards the elderly intervention configuration. The following three groups of representative configurational changes were retained:

[0437]

[0438]

[0439]

[0440]

[0441]

[0442]

[0443] The symbol ⊕ indicates a change in the listed configuration components based on the current intervention configuration. All three sets of changes alter the robot's spatial occupancy conditions observable by the child, while simultaneously adjusting the robot's position or heading towards the subsequent elderly intervention configuration.

[0444] 1.3 Determine the executable scope of candidate transformation configurations

[0445] In this embodiment, a set of current executable configurations is established based on the current home space, furniture occupancy, predicted occupancy areas for children and the elderly, and the robot's mobility:

[0446]

[0447] For each candidate configuration, damped least squares inverse kinematics is first used to solve for joint changes, with a damping coefficient of 0.02. Then, the minimum distance from the centroid projection to the boundary of the supporting polygon is calculated as the stability margin. After the fuselage and foot envelope expand by 0.05 m in the occupied grid, collision detection is performed state by state, and the probability of occupying the landing cell must not exceed 0.05.

[0448]

[0449]

[0450]

[0451]

[0452] Q1c enters without collision, has a minimum stability margin of 0.038 m, occupies the landing area with a probability of no more than 0.03, and retains the path to return to the original blocking area. Therefore, it belongs to the current set of executable configurations.

[0453] Q2c changes the degree of restriction on the action space by slightly raising the fuselage; its joint angle, foot accessibility and support stability all meet the constraints, and the entry process does not conflict with the predicted area occupied by the main body, so it belongs to the current set of executable configurations.

[0454] During the turn, the distance between the rear corner of the Q3c and the edge of the coffee table is reduced to 0.035 m, which is less than the allowable distance of 0.05 m. Therefore, it does not belong to the current set of executable configurations.

[0455]

[0456] 1.4 Determine the detectability of the first subject's response

[0457] For Q1c and Q2c, calculate the possible response states of the child under the candidate configurations, and the changes in state relative to the current configuration:

[0458]

[0459] The three features are: spatial variation resolution (sw), motion trend variation resolution (sv), and attention orientation variation resolution (sa). Each feature is calculated by dividing spatial variation by three times the position error, velocity variation by three times the velocity error, and orientation variation by three times the orientation error, with values ​​between 0 and 1; then multiplied by the child's state confidence level. The weights are calibrated by the system to 0.50, 0.30, and 0.20.

[0460]

[0461]

[0462]

[0463]

[0464] Both candidate configurations had detectability levels no lower than the minimum detectability threshold, and therefore both were included in the subsequent risk intervention cost calculation. This calculation only requires that the different responses be distinguishable, and does not presuppose that the child will necessarily approach the floor fan again.

[0465] 1.5 Determine the costs of subsequent risk intervention

[0466] In this embodiment, the control module uses a hybrid A* algorithm to search for a collision-free path to the elderly intervention configuration on a 0.05 m and 5° state grid, respectively, obtaining the path length L and cumulative turning distance Θ. Using the estimated transition time as the cost, the walking speed is set to 0.45 m / s, the turning speed to 60° / s, the intervention switching time to 0.15 s, and the target configuration stability confirmation time to 0.20 s.

[0467]

[0468]

[0469]

[0470]

[0471]

[0472] Therefore, both Q1c and Q2c have reduced the expected conversion time, and the conversion amounts of other configurations have not exceeded the allowable range, so both have the function of preparing for subsequent intervention.

[0473] 1.6 Determine the set of candidate transformation configurations

[0474] The elderly person's filtered state is predicted forward using a constant velocity model. Every 0.10 s, a grid overlap detection is performed between the elderly person's body envelope and the risk area of ​​the building blocks. The first overlap time is taken as the risk formation time. Without the influence of the test configuration, the first overlap time is 7.60 s; after superimposing the occupancy of the pathway by Q1c and Q2c respectively, the first overlap times are 7.52 s and 7.46 s. Therefore, the adverse effects of other risks are calculated based on the risk formation time advance.

[0475]

[0476] Neither of the two candidate configurations occupies the pathway for restoring the first risk intervention, nor the task switching pathway for robot intervention in elderly risks; their adverse effects are both within acceptable limits. The set of candidate switching configurations is obtained by considering four conditions: feasibility, response detectability, subsequent intervention costs, and other risk impacts.

[0477]

[0478] 2. Step S4: Determine the recovery path and task transfer path

[0479] 2.1 Establishing feasible configuration conversion relationships for the robot

[0480] In this embodiment, a hybrid A* model is used to establish a feasible configuration transformation diagram. Node states include position, heading, altitude, support status, intervention method, and intervention parameters; the position resolution is 0.05 m, the heading resolution is 5°, and the altitude resolution is 0.02 m. Edges are generated from transformation primitives such as forward movement, lateral movement, in-situ turning, lifting, foot reconfiguration, and switching of intervention methods or intervention parameters; for edges involving robot motion, inverse kinematics solving, stability margin checks, and expansion grid collision checks are performed; for edges involving intervention switching, the corresponding switching time is included.

[0481]

[0482] An executable transformation relationship is established between any two configurations only if motion constraints, collision constraints, and subject occupancy constraints are satisfied during the continuous transformation process:

[0483]

[0484] 2.2 Determine the first risk recovery configuration set

[0485] The configuration is reconstructed by enumerating the area around the current blocking location with step sizes of 0.05 m, 5°, and 0.02 m. The path occupancy rate and quadrupedal foothold rate within the child's placement space are calculated. Nodes with a path occupancy rate of not less than 0.65, a quadrupedal foothold rate of 1, and sustainable physical blocking are retained. The results are:

[0486]

[0487]

[0488] 2.3 Determine the recovery path

[0489] Using any node in the set of restored configurations as the multi-objective endpoint, run A* on the feasible configuration transformation graph; the heuristic function is the sum of the lower bound of the translation time and the lower bound of the turn time from the current position to the nearest restored configuration. The results are as follows:

[0490]

[0491]

[0492]

[0493] The intermediate states of both recovery paths avoid the areas predicted to be occupied by children and the elderly, and satisfy the stability constraints for the quadruped robot's footing and support.

[0494] 2.4 Determine the task transition path

[0495] Using the set of elderly intervention configurations as the target set, A* is run on the same configuration transformation graph; the edge cost is the sum of the movement time, turning time, and intervention switching time, and the heuristic function is the Euclidean distance to the target set divided by the maximum passage speed. The results are as follows:

[0496]

[0497]

[0498]

[0499]

[0500] Both task transition paths bypass the coffee table and complete the switch from physical obstruction to audio-visual prompts and machine positioning guidance before entering the elderly intervention area.

[0501] 2.5 Determine path cost and execution time

[0502] For any configuration transition path, sum the cost and execution time of each configuration transition:

[0503]

[0504] The entry path from the current configuration to the candidate transformation configuration, along with its cost and time, are as follows:

[0505]

[0506]

[0507]

[0508]

[0509] The cost and execution time of the recovery path are:

[0510]

[0511]

[0512]

[0513]

[0514] The cost and execution time of the task transition path are:

[0515]

[0516]

[0517]

[0518]

[0519] At this point, the entry path, recovery path, task conversion path, cost, and time corresponding to each candidate conversion configuration have been output based on the current status for subsequent reference and selection.

[0520] Example 3:

[0521] This embodiment takes the candidate conversion configuration set, entry path, recovery path and task conversion path obtained in embodiment 2, filters and executes test conversion configurations, detects children's behavioral responses, selects execution paths and updates risk intervention task sequences.

[0522] 1. Step S5: Filter and execute test conversion configurations

[0523] 1.1 Determine the remaining time for the first risk

[0524] In this embodiment, the child's body is enclosed within the passable space corresponding to the candidate configuration, and the configuration space is expanded. Dijkstra's algorithm is used to calculate the shortest feasible path length from the child's current position to the risk boundary of the landing fan. The upper limit of the short-term re-approach velocity is set to 0.55 m / s, and the remaining risk time is calculated by dividing the path length by the upper limit of the velocity. The shortest path under Q1c is 1.27 m, while under Q2c, due to the higher occupancy of the passageway, the shortest path is 1.35 m.

[0525]

[0526]

[0527] The Q2c pathway is slightly more occupied, therefore its first risk conservative remaining time is greater than that of Q1c. Both results use the lower bound of the interval, without directly extrapolating from the child's current near-stationary instantaneous velocity.

[0528] 1.2 Determine the remaining time for subsequent risks

[0529] In this embodiment, the same constant velocity prediction and 0.10 s grid overlap detection as in Embodiment 2 are used. After adding Q1c or Q2c to the dynamic occupancy map, the predicted trajectory of the elderly person is regenerated, and it first overlaps with the block risk area at 7.52 s and 7.46 s, respectively.

[0530]

[0531]

[0532] 1.3 Determine configuration entry time and response detection time

[0533] In this embodiment, the entry time is directly taken as the sum of the timings of each motion element along the entry path in Embodiment 2. The response detection time is calculated according to two requirements: "at least four consecutive sampling intervals" and "displacement change reaching three times the standard deviation of the position difference". The sampling frequency is 10 Hz, the standard deviation of the position of a single frame is 0.015 m, and the standard deviation of the difference between two frames is 0.0212 m; the minimum response speeds that need to be distinguished under Q1c and Q2c are 0.12 m / s and 0.10 m / s, respectively.

[0534]

[0535]

[0536]

[0537]

[0538] 1.4 Verify recovery path time conditions

[0539] The recovery safety margin for both candidate configurations is set to 0.20 s. Substituting the entry time, response detection time, and recovery time obtained in Example 2 into the values:

[0540]

[0541]

[0542] Therefore, after the robot completes entry and response detection for both candidate configurations, it is able to complete the corresponding recovery path before the first risk occurs.

[0543] 1.5 Verify the time conditions for the task conversion path

[0544] The safety margin for intervention risk in both candidate configurations for elderly patients is set at 0.50 s. Substituting these values ​​into the task transition time obtained in Example 2:

[0545]

[0546]

[0547] Therefore, after the robot completes the entry and response detection for both candidate configurations, it is able to complete the corresponding task switching path before the subsequent risks to the elderly develop.

[0548] 1.6 Forming a set of executable candidate configurations

[0549] Candidate transition configurations that simultaneously satisfy both the recovery time condition and the task transition time condition constitute the executable set:

[0550]

[0551]

[0552] 1.7 Select Test Transformation Configuration

[0553] First, review the dual-time conditions for both candidate configurations. Subtract the sum of entry, observation, corresponding path execution, and safety margins from the remaining risk time to obtain the first risk recovery time margin and the subsequent risk intervention time margin:

[0554]

[0555]

[0556] All four time margins are greater than zero, therefore Q1c and Q2c both satisfy the safe execution conditions. Entry time and recovery time are used as hard constraints at this layer; as long as the time margin is positive, a candidate configuration will not be directly excluded simply because its entry or recovery is slow.

[0557] Next, the detectability of the response and other risk impacts were reviewed. Both candidate configurations met the minimum detectability requirements and other permissible risk variations specified in the specification.

[0558]

[0559]

[0560] After all the aforementioned safety conditions, detectable response conditions, and other risk impact conditions are met, the readiness of candidate configurations for subsequent tasks is compared. Since obstacles such as coffee tables exist in the home environment, "closer to subsequent intervention configurations" is not determined by the straight-line distance between two points, but is defined as the minimum executable task transition cost from the candidate configuration to the set of subsequent elderly risk intervention configurations:

[0561]

[0562] When directly addressing elderly risk using the current intervention configuration, the executable path length and task transition time obtained by hybrid A* are:

[0563]

[0564] When two candidate transition configurations are used to intervene in elderly risk, the corresponding results are as follows:

[0565]

[0566]

[0567] Based on the task transition time of the current intervention configuration, the subsequent intervention preparation benefits generated by the two candidate configurations are:

[0568]

[0569]

[0570] The corresponding task conversion path reduction is:

[0571]

[0572] Therefore, Q1c is closer to the subsequent elderly risk intervention configuration than Q2c: Q1c shortens the subsequent path by 0.08 m and reduces the task transition time by 0.22 s. Meanwhile, Q1c has a higher detectability of response than Q2c and a lower adverse impact on other risks. Although Q1c has a longer entry and recovery time, its first risk recovery time margin is still positive and does not affect safe execution.

[0573] In this embodiment, the following hierarchical selection rules are adopted:

[0574] (1) Retain candidate configurations that simultaneously meet the first risk recovery time condition and the subsequent risk intervention time condition;

[0575] (2) Retain candidate configurations with a detectability of response not less than Vmin and other risk impacts not exceeding Rmax;

[0576] (3) Among the configurations retained in the first two layers, select the candidate configuration with the lowest task switching cost to the subsequent risk intervention configuration set, that is, the highest subsequent intervention preparation benefit;

[0577] (4) When the task conversion costs are the same, the response detectability, other risk impacts, entry path costs and recovery path costs are compared in turn.

[0578]

[0579]

[0580] Therefore, Q1c was chosen not only because of its composite vector value, but also because, while meeting the constraints of recovery safety and subsequent risk time, it allows the robot to more closely align with the subsequent risk intervention configuration for the elderly, and minimizes the path time and movement of subsequent tasks. The robot then proceeds from the current intervention configuration to Q1c along P1in, as determined in Example 2.

[0581] 1.8 Empty Set Fallback

[0582] The executable set is not empty this time, so an empty set fallback is not triggered. If the online update causes Qexe(t0) to become an empty set, the robot maintains the current intervention configuration Qr(t0), or enters an alternative protection configuration with a protection level no lower than the current configuration, and redetermines the risk intervention task sequence.

[0583] 2. Step S6: Detect the first subject's behavior response and select the execution path.

[0584] 2.1 Obtaining the behavioral response of the first subject

[0585] The robot enters the test transition configuration Q1c at 0.76 s. Vision and LiDAR are sampled at 10 Hz, with each sample continuing to update position and velocity using the extended Kalman filter from Example 2; the danger zone distance is calculated from the shortest grid distance from the child's expansion envelope to the risk boundary of the floor fan, and the body orientation is calculated from the direction of the skeletal shoulder line.

[0586]

[0587]

[0588] The children's X coordinates, listed at 0.10 s, are 1.780, 1.786, 1.790, 1.789, 1.786, 1.782, and 1.777 m; the corresponding danger zone distances are 1.270, 1.264, 1.260, 1.261, 1.264, 1.268, and 1.273 m; the body orientation changes from 60° to 175°, and the confidence level of the status is not less than 0.90.

[0589]

[0590] Combining information on children, the danger zone of the floor fan, the test configuration, and the state of the home space at each sampling time, a time-by-time behavioral response state is formed:

[0591]

[0592] 2.2 Formulation of comprehensive response results within the detection period

[0593] In this embodiment, the least squares trend and consecutive frame counts are used to summarize the observation period. A straight line is fitted to the distance sequence, with a positive slope indicating that the overall distance is moving away. The number of consecutive frames that meet the conditions for motion direction, release space utilization, and attention orientation are accumulated respectively. In this case, the slope of the distance trend is 0.0075 m / s, the motion direction of the last 4 frames is away from the landing fan, the number of frames entering the newly added lateral motion space is 0, and the attention orientation of the last 4 frames is within the safe direction range.

[0594]

[0595]

[0596]

[0597] 2.3 Determine whether the first subject is approaching the first danger zone again.

[0598] In this embodiment, a rule tree is used for judgment. If the distance trend is negative and the motion direction points to the danger zone for 3 consecutive frames, or if there is a movement that utilizes the newly added motion space, detours, crawls through, crosses, or makes contact, it is judged as approaching again; if the distance does not decrease in the last 4 frames, the motion direction is away from the danger zone, the newly added motion space is not utilized, and the confidence level is not lower than 0.80, it is judged as remaining safe; other cases are judged as undetermined.

[0599]

[0600] In this embodiment, the distance between the child and the danger zone did not continuously decrease, the direction of movement did not redirect to the danger zone, the child did not enter the newly added action space of the test configuration, and there were no actions of going around, crawling under, crossing over, or contacting the area. After being given the opportunity to choose a different behavior, the child continuously turned and moved away from the floor fan, and the credibility of this state was sufficient. Therefore:

[0601]

[0602] 2.4 Verify and select the execution path based on the response results.

[0603] In this embodiment, before executing the path, the robot writes the latest obstacle and predicted subject occupancy changes into the edge cost of the configuration graph, and uses D* Lite to incrementally review the task transition path of Embodiment 2. If the affected edge is empty, the original path is retained; if there is a newly added occupied edge, incremental replanning is performed from the current configuration to Qlint. In this case, the affected edge is empty, and P1, l, next can still be executed, so the following is selected:

[0604]

[0605] If the task transition path is not executable during the review, the task transition path will be re-determined in Qlint; if no executable task transition path exists, the first risk intervention will be maintained or restored.

[0606] 2.5 Update the status of the first risk intervention target.

[0607] In this embodiment, the response judgment result is to remain safe, so the first risk intervention target is updated from the pending verification state to the resolved state:

[0608]

[0609] Children remain in the process of environmental perception and risk prediction; if risk relationships are subsequently re-established, risk intervention targets can be regenerated.

[0610] 2.6 Update subsequent risk intervention objectives and task sequences

[0611] During response detection and path execution, the estimated formation time of each risk relationship and the intervention time based on the robot's actual configuration are recalculated every 0.10 seconds. A priority queue is then established with the intervention margin as the primary key and the risk level as the secondary key. The intervention margin is:

[0612]

[0613] At the moment of completing the response assessment, the remaining risk time for the elderly is 6.16 s, and the time required to transition from Q1c to the elderly interventional configuration is 5.19 s. Therefore:

[0614]

[0615] The risk of children being exposed to floor fans has been eliminated. The risk of elderly people being exposed to building blocks has become the highest priority follow-up risk intervention target. Therefore, it has been updated as the new first risk intervention target, and P1,l,next has been implemented.

[0616] In this embodiment, for simplicity, each risk intervention target in the task sequence is represented by its corresponding risk relationship identifier and task status. Therefore, the updated task sequence is:

[0617]

[0618] This embodiment thus establishes a control relationship:

[0619]

[0620] If G1 is a re-approach, then execute P1rec and update the first risk status to recovery intervention; if G1 is undetermined, then keep the first risk as pending verification, and execute the recovery path or re-verify according to the remaining safe time.

Claims

1. A robot embodied interactive intelligent control method for home companionship, characterized in that, Includes the following steps: S1: Acquire information on multiple different types of subjects, hazardous areas, the motion states of each subject, and the robot's current intervention configuration within the home environment; based on the body envelope and behavioral capabilities of each subject, the two-dimensional navigable space of the home, and the impact of the robot's intervention, determine the priority of handling risk intervention events. If the robot's current intervention configuration has already provided effective protection against a risk intervention event that has not yet been resolved, then that risk intervention event remains the first risk intervention target; otherwise, the risk intervention event with the highest priority is determined as the first risk intervention target. The remaining risk intervention events are identified as subsequent risk intervention targets, and the k-th risk intervention target is determined accordingly. Corresponding intervention configuration ; S2: The entity that triggers the first risk intervention target is identified as the first entity. The first subject Upon entry, the hazardous area that triggers the risk intervention target is identified as the first hazardous area. When the first subject Stop approaching the first danger zone under the current intervention. When the current intervention configuration remains unchanged, it is determined whether the approaching stop state depends on the current intervention effect; if it is determined to be dependent, possibly dependent, or uncertain, the first risk intervention target is... Marked as pending verification; S3: For the intervention target to be verified, generate a change in the robot's position, heading, embodied state, or intervention effect relative to the current intervention configuration, which can enable the first subject to... Generate a detectable response and enable the robot to get closer to the target of subsequent risk intervention relative to the current intervention configuration. Corresponding intervention configuration Candidate transformation configurations ; S4: For each candidate transformation configuration Determine the entry path from the current intervention configuration to the candidate transition configuration. Recovery Path to Restore the Role of the First Risk Intervention and intervention in subsequent risk control objectives Task conversion path ; S5: Select candidate transition configurations that simultaneously satisfy the following two time conditions. As a test, the configuration is transformed and executed: , in, , , and These represent the entry paths. Response detection, recovery path and task conversion path Time, and Representing the first subject and subsequent risk objectives The remaining time of risk and These represent the corresponding safety margins; S6: Detect the first subject In testing the conversion configuration The following behavior response judgment results The behavioral response judgment result is that the individual re-approaches the first danger zone. Execute recovery path at time To maintain safety, perform a task path change. If a decision cannot be made, the first risk intervention should be reinstated or re-verified, and the risk intervention task sequence should be updated.

2. The method according to claim 1, characterized in that, In step S1, the robot intervention configuration includes an embodied configuration, intervention means, and intervention parameters; the embodied configuration includes the robot's position, body pose, foot position, and support state within the two-dimensional space of the home; the intervention means includes at least one of physical restriction, motion guidance, attention attraction, and audio-visual cues; the intervention parameters include at least one of relative position, direction of action, intensity of action, and duration.

3. The method according to claim 1, characterized in that, In step S1, the multiple subjects include several categories such as adults, children, the elderly, and pets; based on the subject type, at least one of the following is determined: body envelope, motor ability, passage ability, behavioral response ability, and intervention sensitivity.

4. The method according to claim 1, characterized in that, In step S2, by comparing the reachable space, executable actions, motion trends, or attentional response conditions of the first subject under the current intervention configuration with those under the changed intervention configuration, it is determined whether the current state of the first subject depends on the current intervention.

5. The method according to claim 1, characterized in that, In step S3, candidate transformation configurations are generated by changing at least one of the robot's position, heading, foot position, foot support state, intervention method, or intervention parameters within the two-dimensional space of the home. ; Calculate candidate transformation configurations To subsequent risk intervention targets Corresponding intervention configuration set Minimum executable task conversion cost: , in Indicates candidate transformation configuration To configuration The cost of the conversion. Afterwards, retaining the satisfaction... Candidate transition configurations, where, This represents the minimum executable task conversion cost from the current intervention configuration to the set of intervention configurations.

6. The method according to claim 1, characterized in that, In step S4, the recovery path and the task transition path include the robot's position change or heading change within the two-dimensional space of the home, which are used to enable the robot to reach the recovery configuration and the intervention configuration corresponding to the subsequent risk intervention target, respectively.

7. The method according to claim 1, characterized in that, In step S4, the robot is a quadruped robot; the candidate conversion configuration is determined based on the supporting leg, swinging leg, landing area, and stability conditions. Path Recovery path and task conversion path The conversion cost is determined based on the amount of fuselage movement, heading adjustment, foot movement, number of support state transitions, or execution time.

8. The method according to claim 1, characterized in that, In step S6, according to the first subject With the first danger zone Changes in distance, speed, direction of movement, state of action, or direction of attention determine behavioral responses. .

9. A robotic embodied interactive intelligent control system for home care, characterized in that, It includes an environmental sensing device, a configuration detection device, a processor, a memory, and a motion actuator; the memory stores a program, which, when executed by the processor, causes the robot to perform the method described in any one of claims 1 to 8.