Firefighting robot system capable of docking with fire hydrants and control method thereof
By integrating a mechanical arm, a depth camera and an adaptive admittance controller on a firefighting robot, high-precision docking of fire hoses and fire hydrants is achieved, which solves the problems of insufficient fire extinguishing media and low manual docking efficiency, and improves the safety of firefighting robots. sex and flexibility.
Patent Information
- Application Number
- CN202411051855.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-08-01
AI Technical Summary
During the fire-fighting process, traditional fire-fighting robots have insufficient fire-extinguishing media due to limited water tank capacity, and the manual method of docking fire hydrants is inefficient and unsafe. It is easy to damage equipment and difficult to adapt to complex environments.
A fire-fighting robot system including a robotic arm, depth camera, six-axis force and torque sensor, parallel two-finger gripper and adaptive admittance controller is used to predict the contact force and adjust the admittance through the adaptive admittance model and composite Gaussian model. Parameters to achieve smooth connection between fire hose and fire hydrant.
It improves the safety and reliability of fire-fighting robot docking, avoids equipment damage, enhances mobility and flexibility, and realizes fully autonomous fire-fighting functions.
Smart Images

Figure CN118557922B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of fire-fighting robots, and in particular to a fire-fighting robot system capable of achieving fire hydrant docking and a control method thereof. Background Art
[0002] Traditional firefighting robots have great limitations when applied in the field of substations. For example, most firefighting robots have a single fire-fighting medium (mostly water). If the firefighting robot relies on the water tank it carries to extinguish the fire, it is difficult for the robot body to carry enough fire-fighting water due to factors such as volume and weight. Therefore, it will face the problem of insufficient fire-fighting medium during the fire-fighting process. Especially in the case of large fires or long-term firefighting, the firefighting robot needs to return frequently to replenish the fire-fighting medium, resulting in a decrease in fire-fighting efficiency. In addition, the weight of the onboard water tank will make the firefighting robot more cumbersome, reducing its maneuverability in complex environments, making it difficult to cross obstacles or enter narrow spaces, limiting its fire-fighting range in the fire scene. If the firefighting robot can be connected to the fire hose to the fire hydrant, the fire hydrant can be used to continuously supply water to the fire water cannon, thereby getting rid of the capacity limit of the onboard water tank. At the same time, the onboard space of the firefighting robot is also saved, and more fire-fighting equipment or intelligent equipment can be equipped on it, greatly improving the maneuverability and flexibility of the firefighting robot.
[0003] The existing methods of docking fire hydrants with fire robots are mostly manual docking. Manual docking requires manual docking of the fire hose, which is not only inefficient and costly, but also threatens the personal safety of the assemblers because the fire robots work in dangerous high-temperature environments. More advanced methods such as semi-automatic docking mainly use traditional mechanical open-loop control automation equipment to complete the assembly work, which to a certain extent liberates manpower and meets the requirements of industrial large-scale production, but its precision is low, its flexibility is poor, and it cannot adapt to complex and changing environments. In addition, the fire robot and the fire hydrant are both rigid equipment. During the docking process of the fire hydrant, the gap between the fire hydrant and the fire hose is very small, and the docking accuracy required is very high. When there is a slight deviation between the fire hose and the fire hydrant, a large contact force will be generated, which is very easy to damage the equipment and cause safety accidents.
[0004] Therefore, considering the complexity of contact force and error during the fire-fighting robot's autonomous docking with fire hydrants and its difficult modeling characteristics, how to provide a docking control method that can compensate for the docking error of the fire-fighting robot and control the size of the docking contact force is a problem that needs to be solved.
[0005] In view of this, the present invention is proposed. Summary of the invention
[0006] The purpose of the present invention is to provide a fire-fighting robot system and a control method thereof that can realize fire hydrant docking, which can eliminate docking posture errors while controlling the docking contact force to remain within a safe range, complete the task of smoothly docking the fire hose and the fire hydrant, improve the safety and reliability of the docking, and thus solve the above-mentioned technical problems existing in the prior art.
[0007] The objective of the present invention is achieved through the following technical solutions:
[0008] A fire-fighting robot system capable of docking with a fire hydrant, comprising:
[0009] Firefighting robot, robotic arm, depth camera, six-axis force and torque sensor, parallel two-finger gripper and adaptive admittance controller; among them,
[0010] The fire-fighting robot is provided with a mechanical arm;
[0011] The mechanical arms are respectively provided with a depth camera and a six-axis force and torque sensor;
[0012] A parallel double-finger gripper is provided at the end of the mechanical arm;
[0013] The adaptive admittance controller is provided with an adaptive admittance model established according to the process of docking the fire hose and the fire hydrant, and is communicatively connected with the main control unit of the fire-fighting robot. The main control unit can control the mechanical arm to use the depth camera to preliminarily locate the fire hydrant posture, and then move the mechanical arm to the positioning position, use the parallel double-finger gripper to clamp the fire hose and dock the fire hydrant, and predict the position deviation angle of the end of the mechanical arm according to the current contact force generated by the docking of the fire hose and the fire hydrant, and guide the adjustment of the end position of the mechanical arm to eliminate the position deviation according to the position deviation angle, calculate the docking socket depth according to the joint angle fed back by the mechanical arm through the pre-established composite Gaussian model, predict the docking contact force of the current socket depth by using the docking contact force-depth prediction curve obtained by pre-fitting, adjust the admittance parameters of the adaptive admittance controller according to the adaptive admittance model combined with the predicted docking contact force of the current socket depth, and under the control of the adaptive admittance controller after adjusting the admittance parameters, the fire hose is smoothly inserted into the fire hydrant by the mechanical arm with the end position deviation eliminated to complete the fire hydrant docking task.
[0014] A control method for the fire-fighting robot system capable of docking with a fire hydrant according to the present invention comprises:
[0015] Step 1, using a pre-established adaptive admittance controller having an adaptive admittance model established according to the docking process of the fire hose and the fire hydrant, controlling the manipulator on the fire robot through the main control unit of the fire robot of the fire robot system, using a depth camera to preliminarily locate the position of the fire hydrant, and then moving the manipulator to the positioning position, and using a parallel double-finger gripper to clamp the fire hose and dock it with the fire hydrant;
[0016] Step 2, the adaptive admittance controller controls the manipulator to predict the position deviation angle of the end of the manipulator according to the current contact force generated by the docking of the fire hose and the fire hydrant, and guides the adjustment of the end position of the manipulator to eliminate the position deviation according to the position deviation angle;
[0017] Step 3, the adaptive admittance controller calculates the current jack depth of the docking according to the joint angle fed back by the robotic arm through a pre-established composite Gaussian model, and uses the pre-fitted docking contact force-depth prediction curve to predict the docking contact force of the current jack depth, and adjusts the admittance parameters of the adaptive admittance controller according to the adaptive admittance model and the predicted docking contact force of the current jack depth. Under the control of the adaptive admittance controller after the admittance parameters are adjusted, the robotic arm that eliminates the end position deviation smoothly inserts the fire hose into the fire hydrant to complete the fire hydrant docking task.
[0018] Compared with the prior art, the fire-fighting robot system and control method thereof provided by the present invention capable of achieving fire hydrant docking have the following beneficial effects:
[0019] By adopting an adaptive admittance with an adaptive admittance model established according to the docking process of the fire hose and the fire hydrant to control and adjust the contact force when the fire robot docks the fire hose and the fire hydrant, the safety of the docking process is improved, and the fire robot has high precision and safety. Autonomous docking control. Among them, on the one hand, combined with the docking process of the fire hose and the fire hydrant by the fire robot, the adaptive admittance model used by the adaptive admittance controller of the fire robot docking the fire hydrant is pre-established, and on the other hand, by introducing a composite Gaussian model to learn the change law of the contact force during the docking process of the fire hydrant, and adjusting the adaptive admittance controller parameters in real time according to the adaptive admittance model used by the adaptive admittance controller, not only the uncertainty of the model parameters is avoided, the influence of parameter changes and environmental noise is reduced, but also the size of the contact force in the docking task can be adjusted, effectively avoiding the situation of equipment damage, and greatly improving the safety and effectiveness of the docking task. The method of the present invention lays a foundation for the fire robot to realize the fully autonomous fire extinguishing function. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0021] Figure 1 A schematic diagram of the structure of a fire-fighting robot system capable of docking with fire hydrants provided in an embodiment of the present invention.
[0022] Figure 2 A flow chart of a control method for a fire-fighting robot system capable of docking with fire hydrants provided in an embodiment of the present invention.
[0023] Figure 3 A schematic diagram of the docking state of the fire-fighting robot provided in an embodiment of the present invention docking with a fire hose and a fire hydrant.
[0024] Figure 4 for Figure 3 Schematic diagram of the initial stage of docking.
[0025] Figure 5 for Figure 3 Schematic diagram of docking during the position adjustment phase.
[0026] Figure 6 for Figure 3 Schematic diagram of docking during the attitude adjustment phase.
[0027] Figure 7 for Figure 3 Schematic diagram of the docking of the jack stage.
[0028] Figure 8 for Figure 3 Schematic diagram of the docking at the end stage.
[0029] Fig. 9 A schematic diagram of the firefighting robot docking model and the docking contact force with respect to angle change provided in an embodiment of the present invention.
[0030] Fig.10 for Fig. 9 A curve chart showing the relationship between the depth of fire hose inserted into a fire hydrant and the inclination angle.
[0031] Fig.11 This is a prediction curve diagram of the composite Gaussian model of the docking contact force of the fire-fighting robot provided in an embodiment of the present invention.
[0032] The marks in the figure are: 1-fire hydrant; 2-fire hose; 3-metal elastic buckle; A-contact point A; B-contact point B. DETAILED DESCRIPTION
[0033] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in combination with the specific content of the present invention; it is obvious that the described embodiments are only part of the embodiments of the present invention, not all of the embodiments, which does not constitute a limitation of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of the present invention.
[0034] First, the terms that may be used in this article are explained as follows:
[0035] The term “and / or” means that either or both of them can be realized at the same time. For example, X and / or Y means both “X” or “Y” and “X and Y”.
[0036] The terms "include", "comprises", "contains", "has" or other descriptions with similar semantics should be interpreted as non-exclusive inclusion. For example, including certain technical feature elements (such as raw materials, components, ingredients, carriers, dosage forms, materials, dimensions, parts, components, mechanisms, devices, steps, procedures, methods, reaction conditions, processing conditions, parameters, algorithms, signals, data, products or products, etc.) should be interpreted as including not only certain technical feature elements explicitly listed, but also other technical feature elements known in the art that are not explicitly listed.
[0037] The term "consisting of..." means excluding any technical feature elements not explicitly listed. If this term is used in a claim, it will make the claim closed, so that it does not contain technical feature elements other than the technical feature elements explicitly listed, except for the conventional impurities related to them. If this term only appears in a clause of a claim, it only limits the elements explicitly listed in the clause, and the elements recorded in other clauses are not excluded from the overall claim.
[0038] Unless otherwise specified or limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this article can be understood according to specific circumstances.
[0039] The orientation or position relationship indicated by terms such as "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", etc. are based on the orientation or position relationship shown in the drawings and are only for the convenience and simplification of description, and do not explicitly or implicitly indicate that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation of this document.
[0040] The scheme provided by the present invention is described in detail below. The contents not described in detail in the embodiments of the present invention belong to the prior art known to professionals in the field. If the specific conditions are not specified in the embodiments of the present invention, they are carried out according to the conventional conditions in the field or the conditions recommended by the manufacturer. If the manufacturers are not specified in the reagents or instruments used in the embodiments of the present invention, they are all conventional products that can be purchased commercially.
[0041] like Figure 1 As shown, an embodiment of the present invention provides a fire fighting robot system capable of docking with a fire hydrant, comprising:
[0042] Firefighting robot, robotic arm, depth camera, six-axis force and torque sensor, parallel two-finger gripper and adaptive admittance controller; among them,
[0043] The fire-fighting robot is provided with a mechanical arm;
[0044] The mechanical arms are respectively provided with a depth camera and a six-axis force and torque sensor;
[0045] A parallel double-finger gripper is provided at the end of the mechanical arm;
[0046] The adaptive admittance controller is provided with an adaptive admittance model established according to the process of docking the fire hose and the fire hydrant, and is communicatively connected with the main control unit of the fire-fighting robot. The main control unit can control the mechanical arm to use the depth camera to preliminarily locate the fire hydrant posture, and then move the mechanical arm to the positioning position, use the parallel double-finger gripper to clamp the fire hose and the fire hydrant for docking, and predict the position deviation angle of the end of the mechanical arm according to the current contact force generated by the docking of the fire hose and the fire hydrant, and guide the adjustment of the end position of the mechanical arm to eliminate the position deviation according to the position deviation angle, calculate the current jack depth of the docking according to the joint angle fed back by the mechanical arm through the pre-established composite Gaussian model, predict the docking contact force of the current jack depth by using the docking contact force-depth prediction curve obtained by pre-fitting, adjust the admittance parameters of the adaptive admittance controller according to the adaptive admittance model combined with the predicted docking contact force of the current jack depth, and under the control of the adaptive admittance controller after adjusting the admittance parameters, the mechanical arm with the terminal position deviation eliminated smoothly inserts the fire hose into the fire hydrant to complete the fire hydrant docking task.
[0047] Preferably, in the above-mentioned fire-fighting robot system, the robotic arm adopts a six-degree-of-freedom robotic arm.
[0048] Preferably, in the above-mentioned fire-fighting robot system, the adaptive admittance controller is provided with an adaptive admittance model established according to the docking process of the fire hose and the fire hydrant:
[0049] (1);
[0050] The meaning of each parameter is as follows: is the expected contact force of the adaptive admittance controller, F r It is equal to the maximum contact force detected during the actual manual docking process; F p Contact forces predicted for the composite Gaussian model; is the actual contact force measured by the six-axis force and torque sensor; , , They are the position deviation, velocity and acceleration of the end of the manipulator arm on the fire-fighting robot in Cartesian space; , , are the target inertia, damping and stiffness of the adaptive admittance model, respectively.
[0051] Preferably, in the fire-fighting robot system, the adaptive admittance controller predicts the position deviation of the end of the robot arm according to the current contact force generated by the docking of the fire hose and the fire hydrant in the following manner, including:
[0052] According to the standard circular shape of the fire hose interface and the fire hydrant, it is determined that there are contact points A and B between the two. When the fire hose and the fire hydrant remain in contact and relatively stationary, it is confirmed that the friction force is zero. Only at contact points A and B does the same support force exist on the fire hose. The moment and force equations of the support force at the two contact points are established as follows:
[0053] (2);
[0054] (3);
[0055] (4);
[0056] The meaning of each parameter is: , , They are the moments generated by the contact forces in the X-axis, Y-axis, and Z-axis directions respectively; is the contact force; ( , )and( , ) are the coordinates of contact point A and contact point B in the contact surface coordinate system at the end of the fire hose;
[0057] By calculation, we get:
[0058] (5);
[0059] The meaning of each parameter is: , are the moments generated by the contact forces in the X-axis and Y-axis directions respectively; , )and( , ) are the coordinates of contact point A and contact point B in the contact surface coordinate system of the end of the fire hose; is the docking position deviation angle;
[0060] According to the current contact torque information generated by the connection between the fire hose and the fire hydrant , Calculate the docking position deviation angle ;
[0061] Fire fighting robot according to the docking position deviation angle Adjust the position coordinates of the end of the robot arm in real time to eliminate the position deviation of the end of the robot arm.
[0062] Preferably, in the fire-fighting robot system, the adaptive admittance controller pre-establishes a composite Gaussian model in the following manner, including:
[0063] The fire-fighting robot is taught by manually controlling it to connect to the fire hose and the fire hydrant. During the teaching process, the six-axis force and torque sensor data of the fire-fighting robot and the three-dimensional position data of the end position of the robotic arm are collected simultaneously;
[0064] The depth d of the fire hose inserted into the fire hydrant is calculated by the end position of the robotic arm;
[0065] The contact force of the Z axis in the six-axis force and torque sensor data with the depth d as a 2D vector , these two-dimensional vector data sets are represented by a composite Gaussian model with K components, and the probability density function of the composite Gaussian model is:
[0066] (6);
[0067] The meaning of each parameter is as follows: is a two-dimensional vector The probability density function of The ordinal number of the component in the data set; is the prior probability weight of the component; is the conditional probability density distribution function of the composite Gaussian model; is the depth of the k-th two-dimensional vector.
[0068] The adaptive admittance controller uses the EM algorithm to determine the parameters of the pre-established composite Gaussian model and pre-fits the butt contact force-depth prediction curve in the following manner, including:
[0069] First, randomly select the initial parameters of the composite Gaussian model , , and ;in Represents the weight of each Gaussian component of the composite Gaussian model; represents the mean of each Gaussian component; Represents the covariance matrix of each Gaussian component; represents the cumulative posterior probability of each Gaussian component;
[0070] Step E, calculate the conditional probability expectation of the joint distribution according to the following formula:
[0071] (7);
[0072] (8);
[0073] In the above formula (7) and formula (8), the meaning of each parameter is: is the conditional probability density distribution function of the composite Gaussian model at the k+1th iteration; , , , are the initial parameters at the k+1th iteration , , and The value of is the mean , covariance matrix The probability of a two-dimensional Gaussian distribution; is the mean , covariance matrix The probability of a two-dimensional Gaussian distribution; is the number of Gaussian components of the composite Gaussian model; is the collected two-dimensional vector The number of samples;
[0074] Step M, given the maximum likelihood function, use the following formula to find the parameter value that maximizes the maximum likelihood function:
[0075] (9);
[0076] (10);
[0077] (11);
[0078] In the above formula (9), formula (10) and formula (11), the meaning of each parameter is: , , , are the initial parameters at the k+1th iteration , , and The value of is the collected two-dimensional vector The number of samples; is the conditional probability density distribution function of the composite Gaussian model at the k+1th iteration; The contact force of the Z axis in the collected axial force and torque sensor data A two-dimensional vector consisting of a depth d;
[0079] Through the iteration of the above steps E and M, the high-precision parameters of the composite Gaussian model are obtained. , , and ;
[0080] According to the high-precision parameters obtained , , and , the composite Gaussian model is the weighted sum of each Gaussian distribution, and the global probability density function is obtained as;
[0081] (12);
[0082] In the above formula (12), the meanings of the parameters are: is a two-dimensional vector The global probability density function of ; is the number of Gaussian components of the composite Gaussian model; is the weight of each Gaussian component of the composite Gaussian model; is the mean of each Gaussian component; is the covariance matrix of each Gaussian component; is the mean , covariance matrix The probability of a two-dimensional Gaussian distribution;
[0083] The curve formed by connecting the highest points of the global probability density corresponding to each depth on the composite Gaussian model is the butt contact force-depth prediction curve.
[0084] like Figure 2 As shown, an embodiment of the present invention further provides a control method for the above-mentioned fire-fighting robot system capable of docking with a fire hydrant, comprising:
[0085] Step 1: Use a pre-established adaptive admittance controller to control the manipulator on the fire-fighting robot through the main control unit of the fire-fighting robot of the fire-fighting robot system, use a depth camera to preliminarily locate the position of the fire hydrant, move the manipulator to the positioning position, and use a parallel double-finger gripper to clamp the fire hose and dock it with the fire hydrant;
[0086] Step 2, the adaptive admittance controller controls the manipulator to predict the position deviation angle of the end of the manipulator according to the current contact force generated by the docking of the fire hose and the fire hydrant, and guides the adjustment of the end position of the manipulator to eliminate the position deviation according to the position deviation angle;
[0087] Step 3, the adaptive admittance controller calculates the current jack depth of the docking according to the joint angle fed back by the robotic arm through a pre-established composite Gaussian model, and uses the pre-fitted docking contact force-depth prediction curve to predict the docking contact force of the current jack depth, and adjusts the admittance parameters of the adaptive admittance controller according to the adaptive admittance model and the predicted docking contact force of the current jack depth. Under the control of the adaptive admittance controller after the admittance parameters are adjusted, the robotic arm that eliminates the end position deviation smoothly inserts the fire hose into the fire hydrant to complete the fire hydrant docking task.
[0088] Preferably, in the above control method, the robotic arm is a six-degree-of-freedom robotic arm.
[0089] Preferably, in step 1 of the above control method, the pre-established adaptive admittance controller is provided with an adaptive admittance model established according to the process of docking the fire hose and the fire hydrant:
[0090] (1);
[0091] The meaning of each parameter is as follows: is the expected contact force of the adaptive admittance controller, F r It is equal to the maximum contact force detected during the actual manual docking process; F p Contact forces predicted for the composite Gaussian model; is the actual contact force measured by the six-axis force and torque sensor; , , They are the position deviation, velocity and acceleration of the end of the manipulator arm on the fire-fighting robot in Cartesian space; , , are the target inertia, damping and stiffness of the adaptive admittance model, respectively.
[0092] Preferably, in step 2 of the above control method, the adaptive admittance controller predicts the position deviation of the end of the manipulator according to the current contact force generated by the docking of the fire hose and the fire hydrant in the following manner, including:
[0093] According to the standard circular shape of the fire hose interface and the fire hydrant, it is determined that there are contact points A and B between the two. When the fire hose and the fire hydrant remain in contact and relatively stationary, it is confirmed that the friction force is zero. Only at contact points A and B does the same support force exist on the fire hose. The moment and force equations of the support force at the two contact points are established as follows:
[0094] (2);
[0095] (3);
[0096] (4);
[0097] The meaning of each parameter is: , , They are the moments generated by the contact forces in the X-axis, Y-axis, and Z-axis directions respectively; is the contact force; ( , )and( , ) are the coordinates of contact point A and contact point B in the contact surface coordinate system of the end of the fire hose.
[0098] By calculation, we get:
[0099] (5);
[0100] The meaning of each parameter is: , are the moments generated by the contact forces in the X-axis and Y-axis directions respectively; , )and( , ) are the coordinates of contact point A and contact point B in the contact surface coordinate system at the end of the fire hose; is the docking position deviation angle;
[0101] According to the current contact torque information generated by the connection between the fire hose and the fire hydrant , Calculate the docking position deviation angle ;
[0102] Fire fighting robot according to the docking position deviation angle Adjust the position coordinates of the end of the robot arm in real time to eliminate the position deviation of the end of the robot arm.
[0103] Preferably, in step 3 of the above control method, the adaptive admittance controller pre-establishes a composite Gaussian model in the following manner, including:
[0104] The fire-fighting robot is taught by manually controlling it to connect to the fire hose and the fire hydrant. During the teaching process, the six-axis force and torque sensor data of the fire-fighting robot and the three-dimensional position data of the end position of the robotic arm are collected simultaneously;
[0105] The depth d of the fire hose inserted into the fire hydrant is calculated by the end position of the robotic arm;
[0106] The contact force of the Z axis in the six-axis force and torque sensor data with the depth d as a 2D vector , these two-dimensional vector data sets are represented by a composite Gaussian model with K components, and the probability density function of the composite Gaussian model is:
[0107] (6);
[0108] The meaning of each parameter is as follows: is a two-dimensional vector The probability density function of The ordinal number of the component in the data set; is the prior probability weight of the component; is the conditional probability density distribution function of the composite Gaussian model; is the depth of the k-th two-dimensional vector.
[0109] The adaptive admittance controller uses the EM algorithm to determine the parameters of the pre-established composite Gaussian model and pre-fits the butt contact force-depth prediction curve in the following manner, including:
[0110] First, randomly select the initial parameters of the composite Gaussian model , , and ;in Represents the weight of each Gaussian component of the composite Gaussian model; represents the mean of each Gaussian component; Represents the covariance matrix of each Gaussian component; represents the cumulative posterior probability of each Gaussian component;
[0111] Step E, calculate the conditional probability expectation of the joint distribution according to the following formula:
[0112] (7);
[0113] (8);
[0114] In the above formula (7) and formula (8), the meaning of each parameter is: is the conditional probability density distribution function of the composite Gaussian model at the k+1th iteration; , , , are the initial parameters at the k+1th iteration , , and The value of is the mean , covariance matrix The probability of a two-dimensional Gaussian distribution; is the mean , covariance matrix The probability of a two-dimensional Gaussian distribution; is the number of Gaussian components of the composite Gaussian model; is the collected two-dimensional vector The number of samples;
[0115] Step M, given the maximum likelihood function, use the following formula to find the parameter value that maximizes the maximum likelihood function:
[0116] (9);
[0117] (10);
[0118] (11);
[0119] In the above formula (9), formula (10) and formula (11), the meaning of each parameter is: , , , are the initial parameters at the k+1th iteration , , and The value of is the collected two-dimensional vector The number of samples; is the conditional probability density distribution function of the composite Gaussian model at the k+1th iteration; The contact force of the Z axis in the collected axial force and torque sensor data A two-dimensional vector consisting of a depth d;
[0120] Through the iteration of the above steps E and M, the high-precision parameters of the composite Gaussian model are obtained. , , and ;
[0121] According to the high-precision parameters obtained , , and , the composite Gaussian model is the weighted sum of each Gaussian distribution, and the global probability density function is obtained as;
[0122] (12);
[0123] In the above formula (12), the meanings of the parameters are: is a two-dimensional vector The global probability density function of ; is the number of Gaussian components of the composite Gaussian model; is the weight of each Gaussian component of the composite Gaussian model; is the mean of each Gaussian component; is the covariance matrix of each Gaussian component; is the mean , covariance matrix The probability of a two-dimensional Gaussian distribution;
[0124] The curve formed by connecting the highest points of the global probability density corresponding to each depth on the composite Gaussian model is the butt contact force-depth prediction curve.
[0125] In summary, the system and method of the embodiment of the present invention, by using the adaptive admittance control provided to adjust the contact force during docking, improve the safety of the docking process, and realize the autonomous docking control of the fire-fighting robot with high precision and safety. Among them, based on the analysis of the docking process of the fire-fighting robot docking with the fire hydrant, an adaptive admittance model for the fire-fighting robot to control the docking of the fire hose and the fire hydrant is established. On the other hand, by introducing a composite Gaussian model to learn the change law of the contact force during the docking process of the fire hydrant, and adjusting the adaptive admittance controller parameters in real time according to the adaptive admittance model combined with the predicted contact force, not only avoids the uncertainty of the model parameters, reduces the impact of parameter changes and environmental noise, but also can adjust the size of the contact force in the docking task, effectively avoids the occurrence of equipment damage, and greatly improves the safety and effectiveness of the docking task. The method of the present invention lays a foundation for the fire-fighting robot to realize the fully autonomous fire-fighting function.
[0126] In order to more clearly demonstrate the technical solution and technical effects provided by the present invention, the solution provided by the embodiment of the present invention is described in detail with specific embodiments below.
[0127] Example 1
[0128] like Figure 1 As shown, an embodiment of the present invention provides a fire-fighting robot system capable of docking with a fire hydrant, comprising:
[0129] A robotic arm, a depth camera, a six-axis force and torque sensor, a parallel two-finger gripper, and an adaptive admittance controller;
[0130] The mechanical arms are respectively provided with a depth camera and a six-axis force and torque sensor;
[0131] A parallel double-finger gripper is provided at the end of the mechanical arm;
[0132] The adaptive admittance controller is provided with an adaptive admittance model established according to the process of docking the fire hose and the fire hydrant, and is communicatively connected with the main control unit of the manipulator, and can control the manipulator. After the manipulator uses the depth camera to preliminarily locate the posture of the fire hydrant, the manipulator moves the manipulator to the positioning position to prepare for docking the fire hose, and uses the parallel double-finger gripper to clamp the fire hose and dock the fire hydrant, and predicts the position deviation of the end of the manipulator according to the current contact force generated by the docking of the fire hose and the fire hydrant, and guides the adjustment of the end position of the manipulator according to the position deviation to eliminate the position deviation, calculates the docking socket depth according to the joint angle fed back by the manipulator through the pre-established composite Gaussian model, predicts the docking contact force of the current socket depth by using the docking contact force-depth prediction curve obtained by pre-fitting, and adjusts the admittance parameters of the adaptive admittance controller according to the adaptive admittance model combined with the predicted docking contact force of the current socket depth. Under the control of the adaptive admittance controller after adjusting the admittance parameters, the manipulator with the end position deviation eliminated smoothly inserts the fire hose into the fire hydrant to complete the fire hydrant docking task.
[0133] Preferably, in the fire-fighting robot system of the present embodiment, the robotic arm on the fire-fighting robot adopts the UR5 robotic arm, the depth camera used to locate the fire hydrant adopts the Intel® RealSenseTM D435i depth camera, the six-axis force and torque sensor adopts the Robotiq® FT 300-S to obtain real-time contact force information, and the parallel two-finger gripper used to clamp the anti-waterproof tape adopts the DH-Robotics® PGI140 parallel two-finger gripper.
[0134] Preferably, in the above system, the adaptive admittance controller is provided with an adaptive admittance model established according to the process of docking the fire hose and the fire hydrant:
[0135] (1);
[0136] The meaning of each parameter is: , , are the target inertia, damping and stiffness respectively; is the expected contact force of the adaptive admittance controller, F r Equal to 25N; Contact forces predicted for the composite Gaussian model; , , They are the position deviation, velocity and acceleration of the end of the docking arm of the fire fighting robot in Cartesian space; is the actual contact force measured by the six-axis force and torque sensor of the fire-fighting robot.
[0137] Preferably, in the above system, the adaptive admittance controller predicts the position deviation of the end of the manipulator according to the current contact force generated by the docking of the fire hose and the fire hydrant in the following manner, including:
[0138] See also Figure 3 , since the interface of the fire hose and the fire hydrant are both standard circles, there must be two contact points between the two, namely contact point A and contact point B. When the hose and the fire hydrant keep in contact and relatively still, the friction force can be considered to be zero, and the same support force on the hose exists only at the contact point. The equation of torque and force is established to obtain:
[0139] (2);
[0140] (3);
[0141] (4);
[0142] The meaning of each parameter is: , , They are the moments generated by contact forces in the X, Y, and Z axis directions respectively; is the contact force; ( , )and( , ) are the coordinates of contact point A and contact point B in the contact surface coordinate system at the end of the hose;
[0143] Then we can get by calculation:
[0144] (5);
[0145] The meaning of each parameter is: , They are the moments generated by the contact forces in the X and Y axis directions respectively; , )and( , ) are the coordinates of contact point A and contact point B in the contact surface coordinate system at the end of the hose; is the docking position deviation angle;
[0146] According to the current contact torque information generated by the connection between the fire hose and the fire hydrant , The docking position deviation angle can be calculated ;
[0147] Fire fighting robot according to the docking position deviation angle Adjust the position coordinates of the end of the robot arm in real time to eliminate the position deviation of the end of the robot arm.
[0148] Preferably, in the above system, the adaptive admittance controller pre-establishes a composite Gaussian model in the following manner, including:
[0149] The fire-fighting robot is taught by manually controlling it to connect to the fire hose and the fire hydrant. During the teaching process, the six-axis force and torque sensor data of the fire-fighting robot and the three-dimensional position data of the end position of the robotic arm are collected simultaneously;
[0150] The depth d of the fire hose inserted into the fire hydrant is calculated by the end position of the robotic arm;
[0151] Convert the Z-axis contact force in the six-axis force and torque sensor data with the depth d as a 2D vector , these two-dimensional vector data sets are represented by a composite Gaussian model with K components, and the probability density function of the composite Gaussian model is:
[0152] (6);
[0153] The meaning of each parameter is as follows: is a two-dimensional vector The probability density function of ; k is the number of the component in the data set of the two-dimensional vector; is the prior probability weight of the component; is the conditional probability density distribution function of the composite Gaussian model; is the depth of the k-th two-dimensional vector.
[0154] Preferably, in the above system, the adaptive admittance controller uses the EM algorithm to determine the parameters of the composite Gaussian model and the pre-fitted docking contact force-depth prediction curve in the following manner, including:
[0155] First, randomly select the initial parameters of the composite Gaussian model , , and ;in Represents the weight of each Gaussian component of the composite Gaussian model; represents the mean of each Gaussian component; Represents the covariance matrix of each Gaussian component; represents the cumulative posterior probability of each Gaussian component;
[0156] Step E, calculate the conditional probability expectation of the joint distribution according to the following formula:
[0157] (7);
[0158] (8);
[0159] In the above formula (7) and formula (8), the meaning of each parameter is: is the conditional probability density distribution function of the Gaussian model at the k+1th iteration; , , , are the initial parameters at the k+1th iteration , , and The value of The mean is , the covariance matrix is The two-dimensional Gaussian distribution probability of The mean is , the covariance matrix is The probability of a two-dimensional Gaussian distribution; is the number of Gaussian components of the composite Gaussian model; is the collected two-dimensional vector The number of samples;
[0160] Step M, given the maximum likelihood function, use the following formula to find the parameter value that maximizes the maximum likelihood function:
[0161] (9);
[0162] (10);
[0163] (11);
[0164] In the above formula (9), formula (10) and formula (11), the meaning of each parameter is: , , , are the initial parameters at the k+1th iteration , , and The value of is the collected two-dimensional vector The number of samples; is the conditional probability density distribution function of the composite Gaussian model at the k+1th iteration; The Z-axis contact force in the collected axial force and torque sensor data A two-dimensional vector consisting of a depth d;
[0165] Through the iteration of the above steps E and M, the high-precision parameters of the composite Gaussian model are obtained. , , and ;
[0166] According to the high-precision parameters obtained , , and , the composite Gaussian model is the weighted sum of each Gaussian distribution, and the global probability density function can be given;
[0167] (12);
[0168] In the above formula (12), the meanings of the parameters are: is a two-dimensional vector The global probability density function of ; is the number of Gaussian components of the composite Gaussian model; Represents the weight of each Gaussian component of the composite Gaussian model; represents the mean of each Gaussian component; Represents the covariance matrix of each Gaussian component; The mean is , the covariance matrix is The probability of a two-dimensional Gaussian distribution;
[0169] The curve formed by connecting the highest points of the global probability density corresponding to each depth on the composite Gaussian model is the butt contact force-depth prediction curve.
[0170] Example 2
[0171] like Figure 2 As shown, this embodiment provides a control method for a fire-fighting robot system capable of docking with a fire hydrant, which is used for controlling the system of Embodiment 1. The method analyzes the entire docking process of the fire hydrant in advance, distinguishes the changes in the docking stage, and analyzes the change law of the docking contact force during the docking process to determine the factors affecting the docking contact force, and establishes an adaptive admittance model for the fire-fighting robot to dock the fire hose and the fire hydrant, including:
[0172] Step 1: Use a pre-established adaptive admittance controller with an adaptive admittance model to control the manipulator on the fire-fighting robot through the main control unit of the fire-fighting robot system, use a depth camera to preliminarily locate the position of the fire hydrant, move the manipulator to the location, and use a parallel double-finger gripper to clamp the fire hose and connect it to the fire hydrant;
[0173] Step 2, the adaptive admittance controller controls the manipulator to predict the position deviation angle of the end of the manipulator according to the current contact force generated by the docking of the fire hose and the fire hydrant, and guides the adjustment of the end position of the manipulator to eliminate the position deviation according to the position deviation angle;
[0174] Step 3, the adaptive admittance controller calculates the current socket depth of the docking according to the joint angle fed back by the robotic arm through a pre-established composite Gaussian model, and uses the pre-fitted docking contact force-depth prediction curve to predict the docking contact force of the current socket depth. The admittance parameters of the adaptive admittance controller are adjusted according to the adaptive admittance model and the predicted docking contact force of the current socket depth. Under the control of the adaptive admittance controller after adjusting the admittance parameters, the robotic arm that eliminates the end position deviation smoothly inserts the fire hose into the fire hydrant to complete the fire hydrant docking task.
[0175] In the fire-fighting robot system of this embodiment, the UR5 robot arm is used as the robotic arm on the fire-fighting robot, the Intel® RealSenseTM D435i depth camera is used for locating the fire hydrant, the Robotiq® FT 300-S is used as the six-axis force and torque sensor to obtain real-time contact force information, and the DH-Robotics® PGI140 parallel two-finger gripper is used for clamping the waterproof tape.
[0176] In the above method, the entire docking process of the fire-fighting robot docking with the fire hydrant is analyzed in the following manner, including:
[0177] Will Figure 3 The schematic diagram of the fire hydrant docking process is divided into Figures 4 to 8 The fire robot first uses the depth camera installed on the robotic arm to roughly locate the posture of the fire hydrant and obtain the posture information of the fire hydrant in the robotic arm coordinate system. Then the robotic arm clamps the waterproof belt and moves to the front of the fire hydrant to prepare for docking. In the fire hydrant docking task, the actual allowable error between the position of the fire hose and the fire hydrant is about 1mm. The accuracy of the fire hydrant center posture detected by the depth camera is difficult to meet. Therefore, there is a certain deviation in the posture between the fire hose and the fire hydrant, such as Figure 4 As shown in the initial stage, there are translation errors between the fire hose and the fire hydrant center and rotation errors in the spatial attitude.
[0178] In the initial stage, the posture deviation between the fire hose and the fire hydrant makes the docking task impossible to continue, and then enter the position adjustment stage, such as Figure 5 As shown in the state, it is necessary to maintain the contact force between the fire hose and the fire hydrant. The contact force data is collected through the six-axis force and torque sensor. According to the current contact force data, the position deviation between the fire hose and the center of the fire hydrant is predicted. According to the predicted position error, the position of the end of the robot arm is adjusted in real time. When the position deviation is reduced to a certain value, the fire hose can smoothly enter the fire hydrant mouth. At this time, it enters the posture adjustment stage, as shown in Figure 6 Status shown.
[0179] During the posture adjustment phase, the rotation error between the fire hose and the fire hydrant makes it impossible for the fire hose to continue to dock. Since the fire hose has entered the fire hydrant, it is no longer necessary to maintain the contact force to detect the position deviation. Due to the existence of rotation error, the contact force between the fire hose and the inner wall of the fire hydrant causes jamming. At this time, the robot arm needs to adjust the control strategy and fine-tune the end position to reduce the contact force between the fire hose and the fire hydrant, thereby reducing the rotation error at the end and avoiding jamming. After the posture adjustment is completed, the posture of the fire hose is adjusted to the following: Figure 7 As shown, at this time, the fire hose enters the plug-in stage. After the fire hose continues to penetrate the fire hydrant to a certain depth, the fire hose will contact the metal elastic buckle inside the fire hydrant. The metal elastic buckle set inside the fire hydrant requires a certain contact force to be inserted smoothly. After the fire hose is inserted into the metal elastic buckle, the groove on the fire hose interface is stuck by the metal elastic buckle. At this time, the fire hose docking is completed, as shown in the figure below. Figure 8 shown.
[0180] In the above step 2, the variation law of the butt contact force and its influencing factors during the butt joint process can be analyzed in the following manner, and the step includes:
[0181] exist Figures 3 to 8 In the process of docking the fire hose 2 and the fire hydrant 1, it can be seen that the interior of the fire hydrant 1 is not a completely hollow cylinder, but is provided with a metal elastic buckle 3. After the fire hose 2 enters the fire hydrant 1 for a certain distance, the fire hose 2 can be clamped by the groove on the interface of the fire hose 2 and the metal elastic buckle 3 in the fire hydrant 1. The metal elastic buckle 3 is located about 2.5 cm inside the fire hydrant 1. When the fire hose 2 penetrates into the fire hydrant 1 and contacts the metal elastic buckle 3, the elastic force of the metal elastic buckle will interfere with the docking process. In fact, after testing, the contact force required by the metal elastic buckle 3 can reach 25N.
[0182] like Fig. 9 As shown, the fire hose 2 collides with the inner wall of the fire hydrant 1 at an inclined angle θ, forming a jam. At this time, the fire hose posture needs to be adjusted before the docking can continue. The outer diameter of the fire hose 2 is r=8.4cm, and the inner diameter of the fire hydrant 1 is R=8.5cm. At this time, the depth of the fire hose 2 penetrating into the fire hydrant 1 is d. According to the geometric relationship, it can be obtained:
[0183] (a);
[0184] The relationship between depth and tilt angle θ can be obtained:
[0185] (b);
[0186] In the above formula (a) and formula (b), the meaning of each parameter is: The depth of the fire hose 2 inserted into the fire hydrant 1; is the inner diameter of the fire hydrant 1; The outer diameter of fire hose 2; is the inclination angle of the fire hose.
[0187] The range of the tilt angle θ is 0 to 90°. The relationship curve between the depth d and the tilt angle θ is plotted as follows: Fig.10 As shown in the figure, it can be seen that: when the tilt angle θ is extremely small, the fire hose can smoothly enter a deeper depth; as the tilt angle θ increases to about 8°, the depth continues to decrease; after θ=8°, as the angle increases, although the depth increases, the contact state between the fire hose 2 and the fire hydrant 1 is blocked at this time, and the docking task cannot be completed. Since the position depth of the metal elastic buckle 3 is 2.5cm, the tilt angle during actual docking generally does not exceed 20°, then Fig.10 From the curve, it can be seen that under actual docking conditions, a depth of 2.5 cm corresponds to a smaller tilt angle θ. It can be considered that the docking contact force in the insertion stage has little to do with the tilt angle θ, but has a certain relationship with the depth d.
[0188] In the above step 2, the adaptive admittance controller predicts the position deviation of the end of the manipulator according to the current contact force generated by the docking of the fire hose and the fire hydrant in the following manner, including:
[0189] According to the standard circular shape of the fire hose interface and the fire hydrant, it is determined that there are contact points A and B between the two. When the fire hose and the fire hydrant remain in contact and relatively stationary, it is confirmed that the friction force is zero. Only at contact points A and B does the same support force exist on the fire hose. The moment and force equations of the support force at the two contact points are established as follows:
[0190] (2);
[0191] (3);
[0192] (4);
[0193] The meaning of each parameter is: , , They are the moments generated by the contact forces in the X-axis, Y-axis, and Z-axis directions respectively; is the contact force; ( , )and( , ) are the coordinates of contact point A and contact point B in the contact surface coordinate system at the end of the fire hose.
[0194] By calculation, we get:
[0195] (5);
[0196] The meaning of each parameter is: , are the moments generated by the contact forces in the X-axis and Y-axis directions respectively; , )and( , ) are the coordinates of contact point A and contact point B in the contact surface coordinate system of the end of the fire hose; is the docking position deviation angle;
[0197] According to the current contact torque information generated by the connection between the fire hose and the fire hydrant , Calculate the docking position deviation angle ;
[0198] Fire fighting robot according to the docking position deviation angle Adjust the position coordinates of the end of the robot arm in real time to eliminate the position deviation of the end of the robot arm.
[0199] In the above step 3, the expected adaptive admittance model of the fire-fighting robot docking with the fire hydrant can be established in the following manner, which includes:
[0200] When the fire-fighting robot docks the fire hose with the fire hydrant, a second-order linear differential equation with a mass-spring-damping system is used to express the expected impedance relationship. The impedance parameter matrix is reasonably set. Taking the impedance relationship of the robot arm operation space as an example, the relationship expression is:
[0201] (c);
[0202] In the above formula (c), is the desired contact force of the adaptive admittance controller; is the actual contact force measured by the six-axis force and torque sensor; , , are the joint angle, angular velocity and angular acceleration of the end of the manipulator arm on the fire-fighting robot in the joint space; , , are the desired joint angle, angular velocity and angular acceleration respectively; , , are the target inertia, damping and stiffness of the adaptive admittance model, respectively.
[0203] The manipulator on the firefighting robot adopts Cartesian space admittance control. Different admittance parameters need to be adjusted for different expected contact forces. , , .
[0204] After testing, the contact force required by the metal elastic buckle shows a nonlinear floating change as the fire hose continues to penetrate the fire hydrant, and the maximum can reach 25N. In order to allow the fire hose to be smoothly inserted into the buckle, the expected contact force of the admittance controller is set to ,and Equal to 25N, the adaptive admittance model is shown in the following equation (d):
[0205] (d);
[0206] In the above formula (d), the meanings of the parameters are: is the desired contact force of the adaptive admittance controller; is the actual contact force measured by the six-axis force and torque sensor; , , They are the position deviation, velocity and acceleration of the end of the manipulator arm on the fire-fighting robot in Cartesian space; , , are the target inertia, damping and stiffness of the adaptive admittance model, respectively.
[0207] Since the contact force in the actual docking experiment is uncertain and time-varying, it will affect the compliance effect of admittance control. Therefore, a composite Gaussian model is used to fit the relationship between contact force and docking depth. The adaptive admittance model is used to adaptively adjust the admittance parameters of the admittance controller to achieve a smooth fire hydrant docking task. The final adaptive admittance model is as follows:
[0208] (1);
[0209] The meanings of the parameters in the above formula (1) are: is the expected contact force of the adaptive admittance controller, F r Equal to the maximum contact force detected during the actual manual docking process. F r Equal to 25N; F p Contact forces predicted for the composite Gaussian model; is the actual contact force measured by the six-axis force and torque sensor; , , They are the position deviation, velocity and acceleration of the end of the docking arm of the fire fighting robot in Cartesian space; , , are the target inertia, damping and stiffness of the adaptive admittance model, respectively.
[0210] In the above step 3, the butt contact force and related data are collected in the following manner, a composite Gaussian model is fitted to predict the change of the butt contact force, and the corresponding admittance parameters are adjusted according to the pre-established desired adaptive admittance model. This step includes:
[0211] The fire-fighting robot is taught by manually controlling it to connect to the fire hose and the fire hydrant. During the teaching process, the six-axis force and torque sensor data of the fire-fighting robot and the three-dimensional position data of the end position of the robotic arm are collected simultaneously;
[0212] The depth d of the fire hose inserted into the fire hydrant is calculated by the end position of the robotic arm;
[0213] Convert the Z-axis contact force in the six-axis force and torque sensor data with the depth d as a 2D vector , these two-dimensional vector data sets are represented by a composite Gaussian model with K components, and the probability density function of the composite Gaussian model is:
[0214] (6);
[0215] The meaning of each parameter is as follows: is a two-dimensional vector The probability density function of ; k is the number of the component in the data set of the two-dimensional vector; is the prior probability weight of the component; is the conditional probability density distribution function of the composite Gaussian model; is the depth of the k-th two-dimensional vector.
[0216] Furthermore, in the above method, the parameters of the composite Gaussian model and the pre-fitted butt contact force-depth prediction curve are determined using the EM algorithm in the following manner, including:
[0217] First, randomly select the initial parameters of the composite Gaussian model , , and ;in Represents the weight of each Gaussian component of the composite Gaussian model; represents the mean of each Gaussian component; Represents the covariance matrix of each Gaussian component; represents the cumulative posterior probability of each Gaussian component;
[0218] Step E, calculate the conditional probability expectation of the joint distribution according to the following formula:
[0219] (7);
[0220] (8);
[0221] In the above formula (7) and formula (8), the meaning of each parameter is: is the conditional probability density distribution function of the Gaussian model at the k+1th iteration; , , , are the initial parameters at the k+1th iteration , , and The value of The mean is , the covariance matrix is The two-dimensional Gaussian distribution probability of The mean is , the covariance matrix is The probability of a two-dimensional Gaussian distribution; is the number of Gaussian components of the composite Gaussian model; is the collected two-dimensional vector The number of samples;
[0222] Step M, given the maximum likelihood function, use the following formula to find the parameter value that maximizes the maximum likelihood function:
[0223] (9);
[0224] (10);
[0225] (11);
[0226] In the above formula (9), formula (10) and formula (11), the meaning of each parameter is: , , , are the initial parameters at the k+1th iteration , , and The value of is the collected two-dimensional vector The number of samples; is the conditional probability density distribution function of the composite Gaussian model at the k+1th iteration; The Z-axis contact force in the collected axial force and torque sensor data A two-dimensional vector consisting of a depth d;
[0227] Through the iteration of the above steps E and M, the high-precision parameters of the composite Gaussian model are obtained. , , and ;
[0228] According to the high-precision parameters obtained , , and , the composite Gaussian model is the weighted sum of each Gaussian distribution, and the global probability density function can be given;
[0229] (12);
[0230] In the above formula (12), the meanings of the parameters are: is a two-dimensional vector The global probability density function of ; is the number of Gaussian components of the composite Gaussian model; Represents the weight of each Gaussian component of the composite Gaussian model; represents the mean of each Gaussian component; Represents the covariance matrix of each Gaussian component; The mean is , the covariance matrix is The probability of a two-dimensional Gaussian distribution;
[0231] The highest point of the global probability density corresponding to each depth on the composite Gaussian model is collected to form a set. The curve formed by connecting the points in the set is the butt contact force-depth prediction curve, such as Fig.11 shown.
[0232] In the above method, the fire hydrant docking task of the fire robot is performed in the following manner under the fire hydrant docking control method of the fire robot based on adaptive admittance control.
[0233] A scaffold was set up in the experimental site. The height of the scaffold was set based on the actual fire hydrant interface height to simulate the actual docking scenario. A fire hydrant pipe was placed on the scaffold. The robot completed the fire hydrant docking task near the fire hydrant. The fire hydrant docking control method of the fire robot based on adaptive admittance control was used in this experiment. The overall docking control block diagram is shown in the figure below. Figure 1 shown.
[0234] The firefighting robot first uses a depth camera to preliminarily locate the fire hydrant, and then the robotic arm moves to the location to prepare for the fire hose docking. There is a certain deviation in the visual positioning of the fire hydrant, and contact force is generated between the fire hose and the fire hydrant. After that, the position deviation of the end of the robotic arm is predicted based on the current contact force, and the end of the robotic arm is guided to adjust its position. Finally, under the action of the adaptive admittance controller, the robotic arm inserts the fire hose and completes the docking task.
[0235] In the final insertion stage of the fire hydrant docking process, the composite Gaussian model calculates the docking insertion depth based on the joint angle feedback from the UR5 robot arm, and then uses the pre-fitted prediction curve to predict the docking contact force at the current depth. Then, according to the adaptive admittance model, the admittance parameters are adjusted to make the process of the fire robot docking the fire hydrant smoother, the amplitude of the contact force between the fire hose and the fire hydrant smaller, and the variation range is also smaller, thereby achieving a smoother and safer fire hydrant docking task. Overall, the change in contact force conforms to the composite Gaussian model prediction curve, verifying the effectiveness of the adaptive admittance controller in the fire hydrant docking process. The fire robot completes the entire docking process automatically without any manual assistance. The contact force between the fire hose and the fire hydrant is always maintained within a safe range, verifying the effectiveness and reliability of the docking strategy.
[0236] In summary, the fire hydrant control method of the fire-fighting robot of the embodiment of the present invention analyzes the docking process of the fire-fighting robot with the fire hydrant, divides it into different docking stages, analyzes the change law of the docking contact force during the docking process, and determines the factors affecting the docking contact force. According to the actual needs of the fire-fighting robot docking with the fire hydrant, an expected adaptive admittance model of the fire-fighting robot docking with the fire hydrant is established, and the docking contact force and related data are collected, and a composite Gaussian model is fitted to predict the change of the docking contact force. According to the expected adaptive admittance model, the corresponding admittance parameters are adjusted. Finally, under the action of the adaptive admittance controller, the fire-fighting robot can adjust the size of the contact force in the docking task, effectively avoiding the damage of the equipment, and greatly improving the safety and effectiveness of the docking task.
[0237] Compared with the prior art, the present invention has at least the following beneficial effects:
[0238] (1) By analyzing the docking process of the fire-fighting robot and the fire hydrant, it is divided into different docking stages, and the factors affecting the docking contact force are analyzed and determined to ensure the rationality and safety of the docking action in each stage.
[0239] (2) In order to address the problem that the fire-fighting robot is prone to damage due to excessive contact force when docking with fire hydrants, an adaptive admittance controller is used to control the entire process, thereby improving control accuracy and safety.
[0240] (3) In view of the contact force disturbance that is difficult to accurately model when the fire-fighting robot docks with the fire hydrant, a composite Gaussian model is used to predict the size of the docking contact force, and the admittance parameters of the adaptive admittance controller are adjusted accordingly to make the entire docking process smoother.
[0241] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0242] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed in the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims. The information disclosed in the background technology section of this article is only intended to deepen the understanding of the overall background technology of the present invention, and should not be regarded as an admission or in any form that the information constitutes prior art known to those skilled in the art.
Claims
1. A fire-fighting robot system capable of docking with fire hydrants, characterized in that: include: Firefighting robot, robotic arm, depth camera, six-axis force and torque sensor, parallel two-finger gripper and adaptive admittance controller; among them, The fire-fighting robot is provided with a mechanical arm; The mechanical arms are respectively provided with a depth camera and a six-axis force and torque sensor; A parallel double-finger gripper is provided at the end of the mechanical arm; The adaptive admittance controller is provided with an adaptive admittance model established according to the process of docking the fire hose and the fire hydrant, and is communicatively connected with the main control unit of the fire-fighting robot. The main control unit can control the mechanical arm to use the depth camera to preliminarily locate the fire hydrant posture, and then move the mechanical arm to the positioning position, use the parallel double-finger gripper to clamp the fire hose and dock the fire hydrant, and predict the position deviation angle of the end of the mechanical arm according to the current contact force generated by the docking of the fire hose and the fire hydrant, and guide the adjustment of the end position of the mechanical arm to eliminate the position deviation according to the position deviation angle, calculate the docking socket depth according to the joint angle fed back by the mechanical arm through the pre-established composite Gaussian model, predict the docking contact force of the current socket depth by using the docking contact force-depth prediction curve obtained by pre-fitting, adjust the admittance parameters of the adaptive admittance controller according to the adaptive admittance model combined with the predicted docking contact force of the current socket depth, and under the control of the adaptive admittance controller after adjusting the admittance parameters, the fire hose is smoothly inserted into the fire hydrant by the mechanical arm with the end position deviation eliminated to complete the fire hydrant docking task.
2. The fire-fighting robot system capable of docking with fire hydrants according to claim 1, characterized in that: The mechanical arm is a six-degree-of-freedom mechanical arm.
3. The fire-fighting robot system capable of docking with fire hydrants according to claim 1, characterized in that: The adaptive admittance controller is provided with an adaptive admittance model established according to the process of docking the fire hose and the fire hydrant: (1); The meaning of each parameter is as follows: F r is the expected contact force of the adaptive admittance controller, F r It is equal to the maximum contact force detected during the actual manual docking process; F p Contact forces predicted for the composite Gaussian model; is the actual contact force measured by the six-axis force and torque sensor; , , They are the position deviation, velocity and acceleration of the end of the manipulator arm on the fire fighting robot in Cartesian space; , , are the target inertia, damping and stiffness of the adaptive admittance model, respectively.
4. The fire-fighting robot system capable of docking with a fire hydrant according to any one of claims 1 to 3, characterized in that: The adaptive admittance controller predicts the position deviation of the end of the manipulator according to the current contact force generated by the docking of the fire hose and the fire hydrant in the following manner, including: According to the standard circular shape of the fire hose interface and the fire hydrant, it is determined that there are contact points A and B between the two. When the fire hose and the fire hydrant remain in contact and relatively stationary, it is confirmed that the friction force is zero. Only at contact points A and B does the same support force exist on the fire hose. The moment and force equations of the support force at the two contact points are established as follows: (2); (3); (4); The meaning of each parameter is: , , They are the moments generated by the contact forces in the X-axis, Y-axis, and Z-axis directions respectively; is the contact force; ( , )and( , ) are the coordinates of contact point A and contact point B in the contact surface coordinate system at the end of the fire hose; By calculation, we get: (5); The meaning of each parameter is: , are the moments generated by the contact forces in the X-axis and Y-axis directions respectively; , )and( , ) are the coordinates of contact point A and contact point B in the contact surface coordinate system of the end of the fire hose; is the docking position deviation angle; According to the current contact torque information generated by the connection between the fire hose and the fire hydrant , Calculate the docking position deviation angle ; Fire fighting robot according to the docking position deviation angle Adjust the position coordinates of the end of the robot arm in real time to eliminate the position deviation of the end of the robot arm.
5. The fire-fighting robot system capable of docking with fire hydrants according to claim 4, characterized in that: The adaptive admittance controller pre-establishes a composite Gaussian model in the following manner, including: The fire-fighting robot is taught by manually controlling it to connect to the fire hose and the fire hydrant. During the teaching process, the six-axis force and torque sensor data of the fire-fighting robot and the three-dimensional position data of the end position of the robotic arm are collected simultaneously; The depth d of the fire hose inserted into the fire hydrant is calculated by the end position of the robotic arm; The contact force of the Z axis in the six-axis force and torque sensor data with the depth d as a 2D vector , these two-dimensional vector data sets are represented by a composite Gaussian model with K components, and the probability density function of the composite Gaussian model is: (6); The meaning of each parameter is as follows: is a two-dimensional vector The probability density function of The ordinal number of the component in the data set; is the prior probability weight of the component; is the conditional probability density distribution function of the composite Gaussian model; is the depth of the k-th two-dimensional vector; The adaptive admittance controller uses the EM algorithm to determine the parameters of the pre-established composite Gaussian model and pre-fits the butt contact force-depth prediction curve in the following manner, including: First, randomly select the initial parameters of the composite Gaussian model , , and ;in Represents the weight of each Gaussian component of the composite Gaussian model; represents the mean of each Gaussian component; Represents the covariance matrix of each Gaussian component; represents the cumulative posterior probability of each Gaussian component; Step E, calculate the conditional probability expectation of the joint distribution according to the following formula: (7); (8); In the above formula (7) and formula (8), the meaning of each parameter is: is the conditional probability density distribution function of the composite Gaussian model at the k+1th iteration; , , , are the initial parameters at the k+1th iteration , , and The value of is the mean , covariance matrix The probability of a two-dimensional Gaussian distribution; is the mean , covariance matrix The probability of a two-dimensional Gaussian distribution; is the number of Gaussian components of the composite Gaussian model; is the collected two-dimensional vector The number of samples; Step M, given the maximum likelihood function, use the following formula to find the parameter value that maximizes the maximum likelihood function: (9); (10); (11); In the above formula (9), formula (10) and formula (11), the meaning of each parameter is: , , , are the initial parameters at the k+1th iteration , , and The value of is the collected two-dimensional vector The number of samples; is the conditional probability density distribution function of the composite Gaussian model at the k+1th iteration; The contact force of the Z axis in the collected six-axis force and torque sensor data A two-dimensional vector consisting of a depth d; Through the iteration of the above steps E and M, the high-precision parameters of the composite Gaussian model are obtained. , , and ; According to the high-precision parameters obtained , , and , the composite Gaussian model is the weighted sum of each Gaussian distribution, and the global probability density function is obtained as; (12); In the above formula (12), the meanings of the parameters are: is a two-dimensional vector The global probability density function of ; is the number of Gaussian components of the composite Gaussian model; is the weight of each Gaussian component of the composite Gaussian model; is the mean of each Gaussian component; is the covariance matrix of each Gaussian component; is the mean , covariance matrix The probability of a two-dimensional Gaussian distribution; The curve formed by connecting the highest points of the global probability density corresponding to each depth on the composite Gaussian model is the butt contact force-depth prediction curve.
6. A method for controlling a fire-fighting robot system capable of docking with a fire hydrant as claimed in any one of claims 1 to 5, characterized in that: include: Step 1, using a pre-established adaptive admittance controller having an adaptive admittance model established according to the docking process of the fire hose and the fire hydrant, controlling the manipulator on the fire robot through the main control unit of the fire robot of the fire robot system, using a depth camera to preliminarily locate the position of the fire hydrant, and then moving the manipulator to the positioning position, and using a parallel double-finger gripper to clamp the fire hose and dock it with the fire hydrant; Step 2, the adaptive admittance controller controls the manipulator to predict the position deviation angle of the end of the manipulator according to the current contact force generated by the docking of the fire hose and the fire hydrant, and guides the adjustment of the end position of the manipulator to eliminate the position deviation according to the position deviation angle; Step 3, the adaptive admittance controller calculates the docking socket depth according to the joint angle fed back by the robotic arm through a pre-established composite Gaussian model, predicts the docking contact force of the current socket depth by using the pre-fitted docking contact force-depth prediction curve, adjusts the admittance parameters of the adaptive admittance controller according to the adaptive admittance model and the predicted docking contact force of the current socket depth, and under the control of the adaptive admittance controller after adjusting the admittance parameters, the robotic arm that eliminates the end position deviation smoothly inserts the fire hose into the fire hydrant to complete the fire hydrant docking task.
7. The control method of the fire-fighting robot system capable of docking with a fire hydrant according to claim 6, characterized in that: The mechanical arm is a six-degree-of-freedom mechanical arm.
8. The control method of the fire-fighting robot system capable of docking with a fire hydrant according to claim 6 or 7, characterized in that: In step 1, the pre-established adaptive admittance controller is provided with an adaptive admittance model established according to the process of docking the fire hose and the fire hydrant: (1); The meaning of each parameter is as follows: is the expected contact force of the adaptive admittance controller, F r It is equal to the maximum contact force detected during the actual manual docking process; F p Contact forces predicted for the composite Gaussian model; is the actual contact force measured by the six-axis force and torque sensor; , , They are the position deviation, velocity and acceleration of the end of the manipulator arm on the fire fighting robot in Cartesian space; , , are the target inertia, damping and stiffness of the adaptive admittance model, respectively.
9. The control method of the fire-fighting robot system capable of docking with a fire hydrant according to claim 6 or 7, characterized in that: In step 2, the adaptive admittance controller predicts the position deviation of the end of the manipulator according to the current contact force generated by the docking of the fire hose and the fire hydrant in the following manner, including: According to the standard circular shape of the fire hose interface and the fire hydrant, it is determined that there are contact points A and B between the two. When the fire hose and the fire hydrant remain in contact and relatively stationary, it is confirmed that the friction force is zero. Only at contact points A and B does the same support force exist on the fire hose. The moment and force equations of the support force at the two contact points are established as follows: (2); (3); (4); The meaning of each parameter is: , , They are the moments generated by the contact forces in the X-axis, Y-axis, and Z-axis directions respectively; is the contact force; ( , )and( , ) are the coordinates of contact point A and contact point B in the contact surface coordinate system of the end of the fire hose; By calculation, we get: (5); The meaning of each parameter is: , are the moments generated by the contact forces in the X-axis and Y-axis directions respectively; , )and( , ) are the coordinates of contact point A and contact point B in the contact surface coordinate system at the end of the fire hose; is the docking position deviation angle; According to the current contact torque information generated by the connection between the fire hose and the fire hydrant , Calculate the docking position deviation angle ; Fire fighting robot according to the docking position deviation angle Adjust the position coordinates of the end of the robot arm in real time to eliminate the position deviation of the end of the robot arm.
10. The control method of the fire-fighting robot system capable of docking with fire hydrants according to claim 9, characterized in that: In step 3, the adaptive admittance controller pre-establishes a composite Gaussian model in the following manner, including: The fire-fighting robot is taught by manually controlling it to connect to the fire hose and the fire hydrant. During the teaching process, the six-axis force and torque sensor data of the fire-fighting robot and the three-dimensional position data of the end position of the robotic arm are collected simultaneously; The depth d of the fire hose inserted into the fire hydrant is calculated by the end position of the robotic arm; The contact force of the Z axis in the six-axis force and torque sensor data with the depth d as a 2D vector , these two-dimensional vector data sets are represented by a composite Gaussian model with K components, and the probability density function of the composite Gaussian model is: (6); The meaning of each parameter is as follows: is a two-dimensional vector The probability density function of The ordinal number of the component in the data set; is the prior probability weight of the component; is the conditional probability density distribution function of the composite Gaussian model; is the depth of the k-th two-dimensional vector; The adaptive admittance controller uses the EM algorithm to determine the parameters of the pre-established composite Gaussian model and pre-fits the butt contact force-depth prediction curve in the following manner, including: First, randomly select the initial parameters of the composite Gaussian model , , and ;in Represents the weight of each Gaussian component of the composite Gaussian model; represents the mean of each Gaussian component; Represents the covariance matrix of each Gaussian component; represents the cumulative posterior probability of each Gaussian component; Step E, calculate the conditional probability expectation of the joint distribution according to the following formula: (7); (8); In the above formula (7) and formula (8), the meaning of each parameter is: is the conditional probability density distribution function of the composite Gaussian model at the k+1th iteration; , , , are the initial parameters at the k+1th iteration , , and The value of is the mean , covariance matrix The probability of a two-dimensional Gaussian distribution; is the mean , covariance matrix The probability of a two-dimensional Gaussian distribution; is the number of Gaussian components of the composite Gaussian model; is the collected two-dimensional vector The number of samples; Step M, given the maximum likelihood function, use the following formula to find the parameter value that maximizes the maximum likelihood function: (9); (10); (11); In the above formula (9), formula (10) and formula (11), the meaning of each parameter is: , , , are the initial parameters at the k+1th iteration , , and The value of is the collected two-dimensional vector The number of samples; is the conditional probability density distribution function of the composite Gaussian model at the k+1th iteration; The contact force of the Z axis in the collected six-axis force and torque sensor data A two-dimensional vector consisting of a depth d; Through the iteration of the above steps E and M, the high-precision parameters of the composite Gaussian model are obtained. , , and ; According to the high-precision parameters obtained , , and , the composite Gaussian model is the weighted sum of each Gaussian distribution, and the global probability density function is obtained as; (12); In the above formula (12), the meanings of the parameters are: is a two-dimensional vector The global probability density function of ; is the number of Gaussian components of the composite Gaussian model; is the weight of each Gaussian component of the composite Gaussian model; is the mean of each Gaussian component; is the covariance matrix of each Gaussian component; is the mean , covariance matrix The probability of a two-dimensional Gaussian distribution; The curve formed by connecting the highest points of the global probability density corresponding to each depth on the composite Gaussian model is the butt contact force-depth prediction curve.
