Robot motion control method, device, equipment and medium
By introducing a stopping mechanism and emergency stop and tipping threshold judgment into the robot, combined with obstacle avoidance logs and load warnings, the problem of robot slipping is solved, achieving higher safety and reliability, and ensuring the stable operation of the robot in complex environments.
Patent Information
- Application Number
- CN202211202771.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-29
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-09-29
AI Technical Summary
Existing technology cannot effectively prevent robots from sliding due to their own weight or external forces in complex working environments, posing potential safety hazards.
By introducing a stopping mechanism, a third signal is generated in response to reverse speed or abnormal movement signals, and the operation of the stopping mechanism is controlled to mechanically limit the movement of the robot. Combined with emergency stop dumping threshold judgment and obstacle avoidance log recording, dangerous area and load-bearing warning signs are set to flexibly adjust Movement strategies to reduce slope risk.
On the basis of robot speed feedback control, the independent mechanical deceleration structure can more reliably reduce slopes, improve safety and reliability, avoid unnecessary changes and slopes, and ensure the stable operation of the robot in complex environments.
Smart Images

Figure CN115384463B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of robot control technology, and in particular, relates to robot motion control methods, devices, equipment and media. Background Art
[0002] In the control of robots, such as catering service robots, due to the complex working environment, the robot may slide down the slope due to its own weight or external force. To address this problem, the existing technology usually adopts a speed feedback control solution to suppress it.
[0003] However, the feedback control of the robot speed has a certain delay, which results in that in some cases the limit power of the speed feedback control is still unable to effectively suppress the slope, creating a safety hazard.
[0004] Therefore, how to provide a robot motion control method, device, equipment and medium that can more effectively suppress slope sliding has become a technical problem that urgently needs to be solved in the industry. Summary of the invention
[0005] The embodiments of the present application provide a robot motion control method and device, which can solve the problem that the prior art cannot reliably suppress slope sliding.
[0006] In a first aspect, an embodiment of the present application provides a robot motion control method, comprising:
[0007] Determine whether the first signal or the second signal is obtained; the first signal is a signal of the robot's reverse speed, and the robot is still in reverse speed after the preset reverse speed control, and the reverse speed means that the actual speed of the robot is opposite to the command speed; the second signal is a signal of the robot's abnormal movement, and the abnormal movement means that the command speed of the robot is zero and the actual speed meets the preset abnormal movement speed range;
[0008] In response to the first signal or the second signal, a third signal is generated; the third signal is used to control the operation of the stopping mechanism of the robot to mechanically limit the movement of the walking mechanism of the robot.
[0009] The above method introduces a stop mechanism and generates a third signal in response to the first signal or the second signal corresponding to the reverse speed or abnormal movement to control the operation of the stop mechanism, thereby mechanically limiting the movement of the robot's walking mechanism. On the basis of the robot speed feedback control, it can more reliably reduce the robot's sliding problem through an independent mechanical deceleration structure, namely the stop mechanism.
[0010] In a possible implementation manner of the first aspect, the stop mechanism is electrically connected to a stop mechanism power supply via a normally open contact; and the third signal is used to control the closing of the normally open contact.
[0011] The above method ensures the open circuit connection of the stop mechanism under normal conditions by connecting the stop mechanism to the normally open power supply, so that the robot can be moved in the absence of energy, failure and other conditions, facilitating intervention operations such as charging, maintenance, and position adjustment.
[0012] In a possible implementation manner of the first aspect, the step of generating a third signal in response to the second signal includes:
[0013] Determining that the actual speed of the robot is greater than a preset emergency stop dumping threshold, generating a fourth signal; the fourth signal is used to control the robot to decelerate at a preset power;
[0014] It is determined that the actual speed of the robot is less than the emergency stop dumping threshold, and a third signal is generated.
[0015] The above method suppresses the risk of dumping caused by the operation of the stop mechanism when the robot moves at high speed by introducing the judgment of the emergency stop dumping threshold, and further improves the safety and reliability of the robot operation.
[0016] In a possible implementation manner of the first aspect, the method further includes:
[0017] Determining that the stopping mechanism is operating, recording and storing the operating parameters of the robot;
[0018] The operating parameters of the robot include any one or any combination of the robot's carrying weight, operating status, actual speed, obstacle avoidance log, and positioning information.
[0019] The above method records and stores relevant parameters after the stop mechanism is operated, providing a good data basis for the adjustment of task path planning, speed control strategy, etc. at the stop mechanism operation point, thereby being able to suppress speed anomalies in specific working areas.
[0020] In a possible implementation manner of the first aspect, the method further includes:
[0021] Determining that the operating state of the robot is an idle state, and the stopping mechanism is operating in a first area, then recording the first area as a dangerous area;
[0022] If it is determined that the running state of the robot is an idle state and the robot is located in the dangerous area, a signal for popping up a reminder window is generated.
[0023] The above method sets the danger zone according to the robot's operating parameters, so that the robot or other robots can be prepared when they plan to stay in the danger zone again, and pop-up reminders are executed to inform the staff to avoid unnecessary movements. With the continuous addition of danger zones, ideally, the problem of abnormal movement and sliding in a specific working area can be strictly suppressed.
[0024] In a possible implementation manner of the first aspect, the method further includes:
[0025] Determining that the robot triggers obstacle avoidance according to the obstacle avoidance log, and the running state of the robot is a task state, setting a pause point at a path point before the robot triggers obstacle avoidance;
[0026] When it is determined that at least a portion of the robot's path is in an area where the robot triggers obstacle avoidance, the robot is controlled to perform a preset pathfinding task at the pause point, and the robot's path is adjusted to be an obstacle-free path.
[0027] The above method pays attention to the obstacle avoidance log, so that the robot can perform the pathfinding task at the pause point when it passes through the area that triggers obstacle avoidance again, and adjust the robot's forward path based on the pathfinding task results, avoiding the abnormal speed problem caused by obstacles; at the same time, the pathfinding task results performed by multiple robots at the pause point can judge the attributes of the obstacles in the area, thereby knowing the nature of the obstacle, such as fixed obstacles, temporary obstacles, periodic obstacles, etc., and further improve the motion control strategy on this basis.
[0028] In a possible implementation manner of the first aspect, the method further includes:
[0029] It is determined that the stopping mechanism of the robot whose operating state is the task state is operating in the second area, the carrying weight of the robot is greater than a preset load threshold, and the initial speed of the robot entering the second area is less than the speed upper limit, then the initial speed of the robot whose carrying weight is greater than the preset load threshold entering the second area is increased.
[0030] The above method pays attention to the load weight parameter so that robots with different loads can flexibly set the entry speed when passing through the area corresponding to the load warning sign, thereby avoiding the problem of sliding down the slope while ensuring the smooth execution of the robot's task.
[0031] In a possible implementation of the first aspect, the stop mechanism is electrically connected to the stop mechanism power supply through a normally open contact; the normally open contact can be closed in response to a third signal or an emergency stop button trigger signal, and the normally open contact in the closed state can be opened in response to a reset button trigger signal.
[0032] The above method provides a basis for manual intervention to control the robot to stop when necessary by introducing an emergency stop button, thereby providing a wider and more flexible application scenario for the normally closed stop mechanism.
[0033] In a second aspect, an embodiment of the present application provides a robot motion control device, comprising:
[0034] an acquisition module, used to determine whether a first signal or a second signal is acquired; the first signal is a signal of the robot's reverse speed, and the reverse speed is still a signal after a preset reverse speed control, wherein the reverse speed means that the actual speed of the robot is opposite to the command speed; the second signal is a signal of the robot's abnormal movement, wherein the abnormal movement means that the command speed of the robot is zero and the actual speed meets a preset abnormal movement speed range;
[0035] The response module is used to generate a third signal in response to the first signal or the second signal; the third signal is used to control the operation of the stopping mechanism of the robot to mechanically limit the movement of the walking mechanism of the robot.
[0036] In a third aspect, an embodiment of the present application provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the robot motion control method described in any one of the first aspects above when executing the computer program.
[0037] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the robot motion control method described in any one of the above-mentioned first aspects is implemented.
[0038] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when executed on a terminal device, enables the terminal device to execute the robot motion control method described in any one of the above-mentioned first aspects.
[0039] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0041] Figure 1is a flow chart of a robot motion control method provided in an embodiment of the present application;
[0042] Figure 2 is a schematic diagram of the structure of a robot motion control device provided in an embodiment of the present application;
[0043] Figure 3 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application;
[0044] Figure 4 It is a schematic diagram of the hardware circuit structure provided in the embodiment of the present application.
[0045] Reference numerals:
[0046] Acquisition module 201;
[0047] Response module 202;
[0048] Terminal device 30;
[0049] Processor 301;
[0050] Memory 302;
[0051] Computer program 303. DETAILED DESCRIPTION
[0052] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0053] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0054] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0055] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0056] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0057] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0058] An embodiment of the present application provides a robot motion control method, such as Figure 1 As shown, including:
[0059] Step 102, determining whether the first signal or the second signal is obtained; the first signal is a signal of the robot's reverse speed, and the reverse speed is still a signal after the preset reverse speed control, and the reverse speed means that the actual speed of the robot is opposite to the command speed; the second signal is a signal of the robot's abnormal movement, and the abnormal movement means that the command speed of the robot is zero and the actual speed meets the preset abnormal movement speed range;
[0060] Step 104: Generate a third signal in response to the first signal or the second signal; the third signal is used to control the operation of the stopping mechanism of the robot to mechanically limit the movement of the walking mechanism of the robot.
[0061] The execution subject of this embodiment may include the robot itself, such as a processor (CPU, MCU, etc.) set in the robot, or a cloud server, etc.
[0062] In some optional implementations, whether the first signal is generated may be determined by whether the product of the robot speed command and the actual speed is a negative value.
[0063] In some embodiments based on wheeled robots, it is also possible to determine whether to generate a first signal by detecting whether the actual rotation direction of the wheel is the same as the rotation direction corresponding to the speed command. In the wheeled robot scheme, it is more preferred to determine whether to generate a first signal by detecting whether the actual rotation direction of the driven wheel is the same as the rotation direction corresponding to the speed command.
[0064] For example, for a food delivery robot, before executing the food delivery task, a path is first planned based on the destination, and then a speed command is issued to the wheel drive motor according to the planned path to control the direction and speed of the robot. The wheel can be provided with a speed detection mechanism that can detect the real-time speed of the wheel, so that it can be compared to determine whether the actual rotation direction of the wheel is consistent with the wheel rotation direction corresponding to the speed command. For example, when the robot slips while going uphill, the rotation direction corresponding to the speed command of the robot is that the wheel rotates forward, and the actual wheel rotation direction is backward. At this time, the two are inconsistent, and a reverse speed control signal can be generated, such as increasing the driving power of the wheel drive motor. If it is still inconsistent, a first signal can be generated. It can be understood that the actual speed direction of the robot can be determined by a detection mechanism such as an encoder of the drive motor.
[0065] As an example and not limitation, in some wheeled robot embodiments including a driving wheel (drive wheel) and a driven wheel, the stopping mechanism may include a mechanical structure disposed on the driving wheel, such as a disc brake structure, a drum brake structure, and the like.
[0066] It is worth noting that in step 104, "mechanical limitation" can be understood as a limitation on the walking mechanism of the robot that is independent of the robot speed feedback control system; "the walking mechanism of the robot" can be understood as any one or more of the power source (such as an engine, a motor, etc.), the transmission mechanism, and the action mechanism (such as a driving wheel, a driven wheel, a mechanical foot, etc.).
[0067] The following will take the case where the execution subject is MCU, the robot is a wheeled robot, the power source is a motor, the action mechanism is a driving wheel and a driven wheel, and the stopping mechanism is a brake set on the driving wheel as an example, and provide the actual control logic description of the reverse speed and abnormal movement based on this embodiment.
[0068] Reverse speed control part:
[0069] When the wheeled robot moves to the ramp, based on the task requirements of the robot, that is, the robot is in the task state at this time, when it drives to the ramp according to the task planned path, the MCU outputs a speed command to climb along the ramp, such as a forward command. Due to the robot's own weight, load or external force, the actual movement direction of the robot may be the direction of descending along the ramp, that is, backward. In this state, a signal of the robot's reverse speed state is obtained based on the preset reverse speed detection logic (for example, detection at a preset time interval);
[0070] Subsequently, the MCU adjusts the motor output power based on the speed control logic to provide a higher power output for climbing up the ramp (i.e., the preset reverse speed control in the speed control logic). If the robot is still in the reverse speed state and is captured by the reverse speed detection logic, the signal of the reverse speed state of the robot is obtained again, and the first signal is generated at this time;
[0071] The MCU generates a third signal based on the first signal to control the brake to lock, so that the robot stops on the slope, thereby completing the control of the reverse speed and preventing further sliding down the slope.
[0072] Performing reverse speed control first can immediately slow down or stop the robot from sliding down the slope. When the reverse speed control fails to achieve the intended effect, that is, the robot cannot return to its normal uphill state, locking the motor can also allow the robot to dock more smoothly than directly locking the motor, reducing the risk of accidental dropping of carried items.
[0073] Change control part:
[0074] When the wheeled robot is in an idle state, the command speed output by the MCU is zero. Due to the slope of the docking position or external force, the robot actually moves in a certain direction at a speed greater than the preset threshold. In this state, the abnormal state of the robot is obtained based on the preset abnormal movement detection logic (for example, detection at a preset time interval) and a second signal is generated; the preset threshold value can not only allow the user to move the robot when the robot blocks the road in the idle state, but also avoid accidents of the robot, such as sliding down the slope after being hit. Optionally, the preset threshold value is 0.6m / s.
[0075] The MCU generates a third signal based on the second signal, controls the brake to lock, so that the robot stops, thereby completing the control of the abnormal movement. The MCU can be set on the chassis control circuit board of the robot.
[0076] In some cases, the first signal also includes an overspeed signal in a task state, wherein the overspeed signal refers to a signal that the command speed and the actual speed of the robot are in the same direction, and the difference between the actual speed and the command speed is greater than a preset range.
[0077] Generally speaking, overspeeding can be avoided by the speed control logic of the robot, but some situations such as external force, failure of speed control logic, abnormality of speed control logic, etc. may cause the generation of overspeed signals, so the third signal in response to the overspeed signal can provide a solution to this situation.
[0078] Optionally, the robot monitors whether it is in a task state or an idle state. If it is in the task state, it monitors the generation of a first signal; if it is in the idle state, it monitors the generation of a second signal.
[0079] The beneficial effects of this embodiment are:
[0080] By introducing a stop mechanism and responding to a third signal generated by the first signal or the second signal corresponding to the reverse speed or abnormal movement to control the operation of the stop mechanism, the movement of the walking mechanism of the robot is mechanically restricted. On the basis of the robot speed feedback control, the risk of the robot sliding down the slope can be more reliably reduced through an independent mechanical deceleration structure, i.e., the stop mechanism.
[0081] According to the above embodiment, in yet another embodiment:
[0082] The stop mechanism is electrically connected to the stop mechanism power supply via a normally open contact; and the third signal is used to control the closing of the normally open contact.
[0083] In an optional embodiment, the stopping mechanism is a holding brake.
[0084] For service robots, such as catering robots, they are heavy and have complex working environments. In order to facilitate users to move the robot in abnormal situations, such as when the robot is abnormally mounted on the charging pile, the user needs to manually push the robot to the charging pile, or when the robot is out of power, it needs to be pushed by a person, and when the robot has an emergency abnormality, it often needs to be moved manually to ensure the safety of personnel and robots. Therefore, brakes are often not set so that when the robot stops powering on / powers off, the drive motor will not lock the wheels, so that human power can still push the robot.
[0085] In this embodiment, a stopping mechanism, such as a brake, is provided, but this embodiment adopts a normally open connection, that is, a brake design that is closed by default, that is, when the power supply to the robot stops / power is cut off, the drive motor of the wheel will not be locked, and human power can still push the robot.
[0086] The prior art usually adopts a brake-free design. In actual use, because the robot itself is heavy and the scene environment such as the restaurant is complex and there may be slopes, the robot is prone to sliding down the slope during the uphill process, which poses a safety hazard. The solution of this embodiment can reduce this problem.
[0087] For example, Figure 4 A circuit structure provided by this embodiment is shown.
[0088] Figure 4 The structure provided is a design that closes the brake by default. Specifically:
[0089] The brake is closed by default and has no power supply. The brake is installed near the robot's drive wheels, which can be two.
[0090] When the robot is detected to be in reverse speed and is still in reverse speed after reverse speed control, or when the robot is detected to be moving abnormally, that is, when the first signal or the second signal is obtained, the MCU generates a third signal and controls the relay K2 to power the brake through the third signal, so that the brake locks the motor to reduce the risk of sliding down the slope.
[0091] How to judge the reverse speed: The product of the speed command detected by the MCU and the real-time speed feedback of the drive motor can be used to judge whether the robot has reverse speed. If the speed product is negative, that is, the direction is opposite, it is judged to be reverse speed;
[0092] In particular, reverse speed does not necessarily mean that a third signal needs to be generated to control the operation of the brake. The generation of the third signal needs to respond to the first signal, i.e., reverse speed, and it is still a reverse speed signal after the preset reverse speed control (of course, the third signal can also respond to the second signal, i.e., the abnormal signal generation).
[0093] An optional control path for the third signal is:
[0094] 24V is output to relay K2 through the DO port. The NO contact of K2 relay is closed and connected to the 24V power supply to supply power to the brake, controlling the brake opening action and locking the motor to avoid danger.
[0095] The speed command can be issued by the MCU to the drive motor. During operation, the robot walks according to the planned path, determines the direction of the body and the rotation direction and speed of the wheels, and outputs control commands to the drive motor by the MCU to control the speed and direction of the wheel rotation.
[0096] For example, when the robot is going uphill, the drive motor controls the wheels to rotate forward and the robot moves forward, but when reverse rotation occurs, the actual rotation direction of the robot's wheels is reversed.
[0097] It is worth explaining that the concept of counter-speed is not exactly the same as the concept of landslide. If there is landslide, there is counter-speed; if there is counter-speed, there is not necessarily landslide, and there may also be counter-speed caused by external forces and other factors.
[0098] exist Figure 4Based on the circuit structure provided, the execution process of this embodiment can also distinguish the operation of the reverse speed or abnormal movement detection logic based on whether the robot has a task to be executed, specifically:
[0099] Get the current status of the robot (i.e. running status);
[0100] If the robot is in an idle state, then:
[0101] When the robot is detected to be in an abnormal motion state, that is, an abnormal motion state, the MCU obtains a second signal; (corresponding to step 102) The abnormal motion state means that the speed or acceleration meets the set requirements, which is used to determine that the robot is in an unattended dangerous sliding state.
[0102] Control the robot to decelerate; (a step between step 102 and step 104)
[0103] After the robot speed decreases (for example, decreases to a preset emergency stop dumping threshold), the third signal is generated in response to control the brake to open the locking motor. (Corresponding to step 104)
[0104] The above solution can prevent the motor from being directly locked and the robot from tipping over due to inertia.
[0105] If the running state of the robot is the task state, then:
[0106] When it is detected that the current speed command of the robot is opposite to the actual speed (i.e., reverse speed is detected), the MCU adjusts the speed command to increase the output power (i.e., executes the preset reverse speed control); if after adjustment, the current speed command is still opposite to the actual speed command (i.e., it is still reverse speed after reverse speed control), it is determined that a dangerous slope has occurred, and a first signal is generated; (corresponding to step 102)
[0107] In response to the first signal, a third signal is generated to control the brake to open the locking motor. (corresponding to step 104)
[0108] In the above process, the first signal and the second signal involved in the splitting step 102 are respectively detected for reverse speed and abnormal movement according to the running state of the robot. That is to say, the robot in the task state moves at a high frequency, and the frequency of the command speed of the robot with high frequency movement being zero is very low. Therefore, for the robot in the task state, only reverse speed detection is performed, and the computing resources required for the abnormal movement detection part can be saved. Even if the robot in the task state has an abnormal movement, as the speed feedback regulation logic adjusts the command speed, the abnormal movement state will be converted to a reverse speed or normal operation state in a very short time (depending on the frequency of the speed feedback regulation logic). It can be understood that the process of only detecting the reverse speed in this task state will not cause unacceptable danger due to abnormal movement.
[0109] Similarly, a robot in an idle state is most likely stationary, and the frequency of the command speed not being zero in this state is very low (in some cases, the command speed of a robot in an idle state is always zero). Therefore, only performing abnormal movement detection on a robot in an idle state can save the computing resources required for the reverse speed detection part.
[0110] In addition, as shown in the above exemplary process, there may be other steps between step 102 and step 104 . Similarly, there may be other steps before step 102 and after step 104 .
[0111] In a preferred embodiment, the stop mechanism is electrically connected to the stop mechanism power supply through a normally open contact; the normally open contact can be closed in response to a third signal or an emergency stop button trigger signal, and the normally open contact in the closed state can be opened in response to a reset button trigger signal.
[0112] Among them, the normally open connection refers to the circuit being in an open and disconnected state.
[0113] This implementation provides a basis for manual intervention to control the robot to stop when necessary by introducing an emergency stop button, thereby providing a wider and more flexible application scenario for the normally closed stop mechanism.
[0114] The beneficial effects of this embodiment are:
[0115] The stop mechanism connected to the normally open power supply ensures the open circuit connection of the stop mechanism under normal conditions, so that the robot can be moved in the absence of energy, failure and other conditions, which facilitates intervention operations such as charging, maintenance, and position adjustment.
[0116] According to any of the above embodiments, in yet another embodiment:
[0117] The step of generating a third signal in response to the first signal or the second signal comprises:
[0118] Determining that the actual speed of the robot is greater than a preset emergency stop dumping threshold, generating a fourth signal; the fourth signal is used to control the robot to decelerate at a preset power;
[0119] It is determined that the actual speed of the robot is less than the emergency stop dumping threshold, and a third signal is generated.
[0120] In a preferred embodiment, the fourth signal is used to control the robot to decelerate at a maximum allowable power; the maximum allowable power is the maximum deceleration output power that prevents the robot from decelerating and tipping over.
[0121] The beneficial effects of this embodiment are:
[0122] By introducing the judgment of the emergency stop dumping threshold, the risk of dumping caused by the immediate operation of the stop mechanism when the robot moves at high speed is suppressed, further improving the safety and reliability of the robot operation.
[0123] According to any of the above embodiments, a plurality of optional embodiments after the operation of the stopping mechanism will be provided below.
[0124] In general, the ideas of the multiple optional embodiments to be described below are:
[0125] Once the brake is triggered to open the locking motor, the positioning information and related parameters can be recorded and uploaded, such as the robot's current load weight, task type, current task speed, obstacle avoidance trigger, etc., to analyze the robot's operation on the road section.
[0126] Based on the above splitting process regarding reverse speed and abnormal movement in step 102, a plurality of optional embodiments to be described below are provided based on the following concepts.
[0127] If the brake is triggered in the idle state, the corresponding area can be set as a dangerous area. The next time the robot is manually placed in the idle state, a pop-up window will be displayed to remind you. This can reduce the occurrence of dangerous events such as the robot being placed next to a ramp.
[0128] If the brake is triggered by the task status, and the recorded information shows that the obstacle avoidance is triggered on this road section, a pause point is set at the path point before the obstacle avoidance is triggered. The next time the robot reaches this road section, it will first explore the path at the pause point and choose the direction without obstacles to pass.
[0129] If the brake is triggered by the mission status, and the recorded information shows that the robot is heavily loaded, the robot's initial driving speed on this road section is less than the maximum speed. Then the next time the robot passes this road section with a heavy load, the speed will be increased to increase the probability of successful passage.
[0130] When the brake locks the motor, the user can open the brake through the brake switch set on the robot, so that the user can move the robot after confirming that it is safe.
[0131] At the same time, the robot is equipped with an emergency stop button-brake switch. The emergency stop is triggered by pressing the emergency stop button, the internal NO contact is closed, and the 24V and brake are connected. The brake is energized and the motor is locked. It is used for the user to manually stop the robot movement when the robot is abnormal.
[0132] Specifically:
[0133] In the operation parameter record upload scheme:
[0134] Determining that the stopping mechanism is operating, recording and storing the operating parameters of the robot;
[0135] The operating parameters of the robot include any one or any combination of the robot's carrying weight, operating status, actual speed, obstacle avoidance log, and positioning information.
[0136] In this embodiment, during the execution of the step of recording and storing the operating parameters of the robot, the operating parameters of the robot during the period when the mechanism is stopped can be directly stored using the data of the real-time parameter recording module built into the robot system, and after the mechanism is stopped, the log can be called back to record the robot operating parameters (or the robot operating parameters can be calculated using the data recorded in the log) and stored.
[0137] The storage method in this step may include any one or any combination of the following:
[0138] Cloud storage;
[0139] Local storage;
[0140] LAN shared storage.
[0141] The beneficial effects of this embodiment are:
[0142] By recording and storing relevant parameters after the stop mechanism is in operation, a good data basis is provided for the adjustment of task path planning, speed control strategy, etc. at the stop mechanism, thereby suppressing abnormal speed problems in specific working areas.
[0143] In the hazardous area program:
[0144] Determining that the operating state of the robot is an idle state, and the stopping mechanism is operating in a first area, then recording the first area as a dangerous area;
[0145] If it is determined that the running state of the robot is an idle state and the robot is located in the dangerous area, a signal for popping up a reminder window is generated.
[0146] In this embodiment, the signal for popping up the reminder window can control the display unit of the robot, such as the interactive screen, to pop up the reminder window; in some optional embodiments, during the process of popping up the reminder window, an alarm tone can also be emitted through the sound unit of the robot.
[0147] The beneficial effects of this embodiment are:
[0148] By setting the danger zone according to the robot's operating parameters, the robot or other robots can be prepared when they plan to stay in the danger zone again, and pop-up reminders can be executed to inform the staff to avoid unnecessary movements. With the continuous addition of danger zones, ideally, the problem of abnormal movement and sliding in a specific working area can be strictly suppressed.
[0149] In the obstacle avoidance warning sign scheme:
[0150] Determining that the robot triggers obstacle avoidance according to the obstacle avoidance log, and the running state of the robot is a task state, setting a pause point at a path point before the robot triggers obstacle avoidance;
[0151] When it is determined that at least a portion of the robot's path is in an area where the robot triggers obstacle avoidance, the robot is controlled to perform a preset pathfinding task at the pause point, and the robot's path is adjusted to be an obstacle-free path.
[0152] Furthermore, based on the results of multiple obstacle identification tasks, the properties of obstacles (such as fixed obstacles that exist normally, temporary obstacles that exist only for a short period of time, periodic obstacles that appear periodically, etc.) can also be obtained, and the path planning strategy can be determined based on the obstacle data.
[0153] In addition, the path planning strategy of the robot can be:
[0154] Determine the starting and ending points;
[0155] Determine a series of waypoints to be passed between the starting point and the end point; waypoints are positions in space;
[0156] Trajectory planning is performed based on path points, that is, the path time information is given, and the speed and acceleration of the robot when performing the task are planned to meet the requirements of smoothness and speed controllability.
[0157] Under the above path planning strategy, the robot's path consists of a series of path points, and the setting of pause points can be based on the spatial relationship between the path points and the area where the robot triggers obstacle avoidance. For example, the path points set as pause points satisfy:
[0158] 1. Located outside the area where the robot triggers obstacle avoidance;
[0159] The area where the robot triggers obstacle avoidance can be determined by the following method:
[0160] Determine the robot’s obstacle avoidance path;
[0161] A spatial point whose distance from any point on the obstacle avoidance path is less than a preset obstacle avoidance threshold is used as an obstacle avoidance point;
[0162] The set of obstacle avoidance points is used as the area where the robot triggers obstacle avoidance.
[0163] 2. The area of the robot path where the robot is triggered to avoid obstacles is divided into three parts, namely, the part that has not yet been entered, the part that has been entered but is not located in the area where the robot is triggered to avoid obstacles, and the part that has been entered and is located in the area where the robot is triggered to avoid obstacles. The path point set as the pause point is the path point in the part of the robot path that has not yet been entered that is closest to the area where the robot is triggered to avoid obstacles.
[0164] The beneficial effects of this embodiment are:
[0165] By paying attention to the obstacle avoidance log, the robot can perform the pathfinding task at the pause point when it passes through the area that triggers obstacle avoidance again, and adjust the robot's forward path based on the results of the pathfinding task, avoiding the abnormal speed problem caused by obstacles; at the same time, the results of the pathfinding tasks performed by multiple robots at the pause point can judge the attributes of the obstacles in the area, thereby knowing the nature of the obstacle, such as fixed obstacles, temporary obstacles, periodic obstacles, etc., and further improve the motion control strategy on this basis.
[0166] In the load warning sign scheme:
[0167] It is determined that the stopping mechanism of the robot whose operating state is the task state is operating in the second area, the carrying weight of the robot is greater than a preset load threshold, and the initial speed of the robot entering the second area is less than the speed upper limit, then the initial speed of the robot whose carrying weight is greater than the preset load threshold entering the second area is increased.
[0168] In a preferred embodiment, the step of increasing the initial speed of the robot with a load greater than a preset load threshold entering the second area comprises:
[0169] The robot is controlled to enter the second area at a speed not less than a load-bearing speed; the load-bearing speed is a preset speed value that is positively correlated with the load-bearing weight of the robot when performing a task that is to pass through the second area.
[0170] The beneficial effects of this embodiment are:
[0171] By paying attention to the load-bearing weight parameters, robots with different loads can flexibly set the entry speed when passing through the area corresponding to the load warning sign, thereby reducing the slope problem while ensuring the smooth execution of the robot's mission.
[0172] Based on the above embodiments, the technical effects of this application include but are not limited to:
[0173] 1. When the robot, especially the catering robot, is out of power, the brake is closed by default (the motor is not locked), which makes it convenient for the staff to move the robot at will.
[0174] 2. When the robot is working normally, the brake is also closed. When the robot suddenly encounters other faults, such as losing positioning, the brake will not open, and the staff can quickly move the robot away.
[0175] 3. During the working process, if you encounter an emergency, press the emergency stop button, which controls the relay, disconnects the relay contacts, and cuts off the power to the motor. At the same time, the other side of the emergency stop button connects to the brake, which opens and locks the motor, allowing the motor to stop quickly and reduce the braking distance.
[0176] 4. When going uphill, the MCU determines whether the robot is sliding down the slope by detecting the product of the speed command and the feedback speed. If the speed product is negative, it is judged to be sliding down the slope, and the brake will be controlled to open and the motor will be locked to prevent sliding down the slope.
[0177] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0178] Corresponding to the robot motion control method described in the above embodiment, Figure 2 A structural block diagram of a robot motion control device provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.
[0179] Reference Figure 2 , the device comprises:
[0180] The acquisition module 201 is used to determine whether the first signal or the second signal is acquired; the first signal is a signal of the robot reverse speed, and the reverse speed is still a signal after the preset reverse speed control, and the reverse speed means that the actual speed of the robot is opposite to the command speed; the second signal is a signal of the robot abnormal movement, and the abnormal movement means that the command speed of the robot is zero and the actual speed meets the preset abnormal movement speed range;
[0181] The response module 202 is used to generate a third signal in response to the first signal or the second signal; the third signal is used to control the operation of the stopping mechanism of the robot to mechanically limit the movement of the walking mechanism of the robot.
[0182] Specifically, the stop mechanism is electrically connected to the stop mechanism power supply via a normally open contact; and the third signal is used to control the closing of the normally open contact.
[0183] The stop mechanism is electrically connected to the stop mechanism power supply via a normally open contact; the normally open contact can be closed in response to a third signal or an emergency stop button trigger signal, and the normally open contact in the closed state can be opened in response to a reset button trigger signal.
[0184] Furthermore, the response module 202 includes:
[0185] A fourth signal unit, used to determine that the actual speed of the robot is greater than a preset emergency stop dumping threshold, and generate a fourth signal; the fourth signal is used to control the robot to decelerate at a preset power;
[0186] The dumping determination unit is used to determine that the actual speed of the robot is less than the emergency stop dumping threshold and generate a third signal.
[0187] Furthermore, the device also includes:
[0188] An operating parameter storage module is used to determine that the stopping mechanism is operating, and then record and store the operating parameters of the robot; the operating parameters of the robot include any one or any combination of the robot's carrying weight, operating status, actual speed, obstacle avoidance log, and positioning information.
[0189] Hazardous area modules for:
[0190] Determining that the operating state of the robot is an idle state, and the stopping mechanism is operating in a first area, then recording the first area as a dangerous area;
[0191] If it is determined that the running state of the robot is an idle state and the robot is located in the dangerous area, a signal for popping up a reminder window is generated.
[0192] Obstacle avoidance warning sign module, used for:
[0193] Determining that the robot triggers obstacle avoidance according to the obstacle avoidance log, and the running state of the robot is a task state, setting a pause point at a path point before the robot triggers obstacle avoidance;
[0194] When it is determined that at least a portion of the robot's path is in an area where the robot triggers obstacle avoidance, the robot is controlled to perform a preset pathfinding task at the pause point, and the robot's path is adjusted to be an obstacle-free path.
[0195] A load warning identification module is used to determine that the stop mechanism of the robot whose operating state is the task state is operating in the second area, the load weight of the robot is greater than a preset load threshold and the initial speed of the robot entering the second area is less than the speed upper limit, then the initial speed of the robot whose load weight is greater than the preset load threshold entering the second area is increased.
[0196] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0197] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0198] The present application also provides a terminal device, such as Figure 3 As shown, the terminal device 30 includes: at least one processor 301, a memory 302, and a computer program 303 stored in the memory and executable on the at least one processor, and the processor implements the steps in any of the above-mentioned method embodiments when executing the computer program.
[0199] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0200] An embodiment of the present application provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0201] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the camera / terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0202] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0203] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0204] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0205] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0206] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A robot motion control method, characterized in that: include: Determine whether the first signal or the second signal is obtained; the first signal includes a signal of the robot's reverse speed, and the reverse speed is still obtained after the preset reverse speed control, and the reverse speed means that the actual speed of the robot is opposite to the command speed; the second signal is a signal of the robot's abnormal movement, and the abnormal movement includes that the command speed of the robot is zero and the actual speed meets the preset abnormal movement speed range; wherein, the monitoring robot itself is in a task state or an idle state, if it is in the task state, the generation of the first signal is monitored, and if it is in the idle state, the generation of the second signal is monitored; In response to the first signal or the second signal, a third signal is generated, including: determining that the actual speed of the robot is greater than a preset emergency stop dumping threshold, generating a fourth signal; the fourth signal is used to control the robot to decelerate at a preset power; determining that the actual speed of the robot is less than the emergency stop dumping threshold, generating a third signal; the third signal is used to control the operation of the stop mechanism of the robot to mechanically limit the movement of the walking mechanism of the robot; the stop mechanism is electrically connected to the stop mechanism power supply through a normally open contact; the third signal is used to control the closing of the normally open contact; Determining that the stopping mechanism is operating, recording and storing the operating parameters of the robot; The operating parameters of the robot include any one or any combination of the robot's carrying weight, operating status, actual speed, obstacle avoidance log, and positioning information; Determining that the operating state of the robot is an idle state, and the stopping mechanism is operating in a first area, then recording the first area as a dangerous area; Determining that the operating state of the robot is an idle state and the robot is located in the dangerous area, generating a signal for popping up a reminder window; It is determined that the stopping mechanism of the robot whose operating state is the task state is operating in the second area, the carrying weight of the robot is greater than a preset load threshold, and the initial speed of the robot entering the second area is less than the speed upper limit, then the initial speed of the robot whose carrying weight is greater than the preset load threshold entering the second area is increased.
2. The robot motion control method according to claim 1, characterized in that: Also includes: Determining that the robot triggers obstacle avoidance according to the obstacle avoidance log, and the running state of the robot is a task state, setting a pause point at a path point before the robot triggers obstacle avoidance; When it is determined that at least a portion of the robot's path is in an area where the robot triggers obstacle avoidance, the robot is controlled to perform a preset pathfinding task at the pause point, and the robot's path is adjusted to be an obstacle-free path.
3. The robot motion control method according to claim 1, characterized in that: The stop mechanism is electrically connected to the stop mechanism power supply via a normally open contact; the normally open contact can be closed in response to a third signal or an emergency stop button trigger signal, and the normally open contact in the closed state can be opened in response to a reset button trigger signal.
4. The robot motion control method according to claim 1, characterized in that: When the robot is a wheeled robot, whether to generate the first signal is determined by whether the actual rotation direction of the driven wheel is the same as the rotation direction corresponding to the speed instruction.
5. The robot motion control method according to claim 1 or 4, characterized in that: The first signal also includes an overspeed signal in a task state, wherein the overspeed signal refers to a signal that the command speed and the actual speed of the robot are in the same direction, and the difference between the actual speed and the command speed is greater than a preset range.
6. The robot motion control method according to claim 1, characterized in that: The stopping mechanism is a brake, and the control path of the third signal is: output 24V to relay K2 through the DO port, and the NO contact of K2 relay is closed to connect the 24V power supply to the brake, control the brake opening action, and lock the motor.
7. The robot motion control method according to any one of claims 1 to 3, characterized in that: The fourth signal is used to control the robot to decelerate at a maximum allowable power; the maximum allowable power is the maximum deceleration output power to prevent the robot from decelerating and tipping over.
8. A robot motion control device, characterized in that: include: The acquisition module is used to determine whether the first signal or the second signal is acquired; the first signal is a signal of the robot's reverse speed, and the reverse speed is still a signal after the preset reverse speed control, and the reverse speed means that the actual speed of the robot is opposite to the command speed; the second signal is a signal of the robot's abnormal movement, and the abnormal movement means that the command speed of the robot is zero and the actual speed meets the preset abnormal movement speed range; wherein, the monitoring robot itself is in a task state or an idle state, if it is in the task state, the generation of the first signal is monitored, and if it is in the idle state, the generation of the second signal is monitored; A response module, for generating a third signal in response to the first signal or the second signal; the third signal is used to control the operation of the stop mechanism of the robot to mechanically limit the movement of the walking mechanism of the robot; the stop mechanism is electrically connected to the stop mechanism power supply through a normally open contact; the third signal is used to control the closing of the normally open contact; the response module includes: a fourth signal unit, for determining that the actual speed of the robot is greater than a preset emergency stop dumping threshold, and generating a fourth signal; the fourth signal is used to control the robot to decelerate at a preset power; a dumping judgment unit, for determining that the actual speed of the robot is less than the emergency stop dumping threshold, and generating a third signal; The device also includes: An operation parameter storage module, used to determine that the stop mechanism is operating, and then record and store the operation parameters of the robot; the operation parameters of the robot include any one or any combination of the robot's load weight, operation status, actual speed, obstacle avoidance log, and positioning information; Hazardous area modules for: Determining that the operating state of the robot is an idle state, and the stopping mechanism is operating in a first area, then recording the first area as a dangerous area; Determining that the operating state of the robot is an idle state and the robot is located in the dangerous area, generating a signal for popping up a reminder window; A load warning identification module is used to determine that the stop mechanism of the robot whose operating state is the task state is operating in the second area, the load weight of the robot is greater than a preset load threshold and the initial speed of the robot entering the second area is less than the speed upper limit, then the initial speed of the robot whose load weight is greater than the preset load threshold entering the second area is increased.
9. A robot comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Method for preventing robot from sliding on slope and robot
CN110989610A
Anti-slip control circuit, anti-slip control device and inspection robot
CN111038279A
