Control method and control system of jacking mechanism

By judging and adjusting motion parameters in the jacking mechanism of the autonomous mobile robot, the problem of low safety and fault tolerance is solved, higher stability and precise control are achieved, and the impact of inaccurate speed or displacement is reduced. .

CN118226792BActive Publication Date: 2024-09-20HANGZHOU SHITENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410636907.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-22
Publication Date
2024-09-20
Estimated Expiration
2044-05-22

AI Technical Summary

Technical Problem

When existing autonomous mobile robots use lifting mechanisms, they have low safety and low fault tolerance. They rely on sensors for insufficient stability and are prone to safety accidents due to sensor damage. Moreover, fixed acceleration and deceleration can cause shock and vibration, affecting stability. and accuracy.

Method used

By judging in each cycle whether the actual speed of the jacking mechanism follows the target speed, whether the target speed change rate, position change rate and displacement estimate are within the expected range, the target speed is dynamically adjusted using the S-shaped addition and subtraction curve algorithm. Plan the speed, and perform error reporting and control operations under abnormal conditions, such as slowing down or stopping the motor.

Benefits of technology

It improves the safety and stability of the jacking mechanism, reduces time waste caused by inaccurate speed or displacement, enhances fault tolerance, and dynamically adjusts the expected range according to actual needs to meet the needs of different working scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118226792B
    Figure CN118226792B
Patent Text Reader

Abstract

The present invention provides a control method for a jacking mechanism, providing a target speed of the jacking mechanism in each cycle, and in each cycle, monitoring the following of the actual speed of the jacking mechanism with the target speed, the target speed change rate of two adjacent cycles, the actual speed change rate, the position change rate, the position difference and the displacement estimate in the previous cycle, and judging whether the monitoring result is within the expected range, and controlling the jacking mechanism to move at the corresponding target speed according to one or more judgment operations, thereby achieving precise control of the jacking mechanism, ensuring that its motion trajectory and speed meet the control requirements, and timely discovering abnormal situations and taking corresponding measures, thereby increasing the fault tolerance rate and improving the safety and stability of equipment operation; and the expected range can be dynamically adjusted according to actual needs to meet the needs of different working scenarios. Correspondingly, the present invention also provides a control system for a jacking mechanism.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of robots, and in particular to a control method and a control system for a jacking mechanism. Background Art

[0002] Autonomous Mobile Robot (AMR) is a robot system that can autonomously navigate and perform tasks. They are usually equipped with sensor systems, control systems and navigation systems to achieve functions such as autonomous perception of the environment, path planning and obstacle avoidance.

[0003] Autonomous mobile robots are usually equipped with a lifting mechanism that can be used to lift goods, adjust height or change the working platform. When using the lifting mechanism, existing autonomous mobile robots mainly use sensors (such as proximity switches, photoelectric sensors, etc.) to prevent the lifting mechanism from slowing down and overshooting, use emergency stop buttons to stop the lifting action immediately after an accident occurs, prevent more serious safety accidents, and use fixed acceleration and deceleration for speed planning.

[0004] Existing autonomous mobile robots rely too much on the stability of sensors and are not very safe. Once the sensors are damaged, the lifting mechanism will be out of control, causing serious safety accidents. In addition, the emergency stop button alone is used to stop the lifting action after an accident, and the fault tolerance rate is not high. Fixed acceleration and deceleration will also cause impact and vibration during movement (sudden rise and emergency stop), affecting the stability and accuracy of the lifting action. Summary of the invention

[0005] The purpose of the present invention is to provide a control method and a control system for a lifting mechanism, so as to solve the problems of low safety and low fault tolerance of existing robots.

[0006] In order to achieve the above object, the present invention provides a control method for a jacking mechanism, comprising:

[0007] Providing a target speed of the lifting mechanism in each cycle;

[0008] In each cycle, the lifting mechanism is controlled to move at the corresponding target speed according to one or a combination of the following judgment operations:

[0009] Determination operation 1: Determine whether the actual speed of the lifting mechanism in the current cycle and the following condition of the target speed are within the expected range;

[0010] Determination operation 2: determining whether the target speed change rate of the lifting mechanism in two adjacent cycles is within the expected range, and determining whether the actual speed change rate of the lifting mechanism in two adjacent cycles is within the expected range;

[0011] Determination operation 3: determining whether the position change rate of the lifting mechanism in two adjacent cycles is within an expected range;

[0012] Determination operation 4: Determine whether the position difference of the lifting mechanism in two adjacent cycles and the displacement estimation of the lifting mechanism in the previous cycle follow each other within an expected range.

[0013] Optionally, the judgment operation 1, the judgment operation 2, the judgment operation 3 and the judgment operation 4 are performed in sequence.

[0014] Optionally, the judgment operation 2, the judgment operation 3 and the judgment operation 4 are performed sequentially.

[0015] Optionally, the target speed of each cycle is planned according to the initial position, initial actual speed, target position, maximum target speed and acceleration / deceleration parameters of the jacking mechanism.

[0016] Optionally, the target speed of each cycle is planned using an S-shaped addition and subtraction curve algorithm.

[0017] Optionally, the judgment method of the judgment operation 1 includes: when When , it is determined that the actual speed of the lifting mechanism in the current cycle and the following condition of the target speed are within the expected range; when When the actual speed of the lifting mechanism in the current cycle is determined to be out of the expected range with respect to the target speed, an error is reported;

[0018] in, is the target speed corresponding to the current cycle, is the actual speed of the lifting mechanism in the current cycle, is the first fluctuation threshold.

[0019] Optionally, the judgment method of the judgment operation 2 includes: when When , it is determined that the target speed change rate of the lifting mechanism in two adjacent cycles is within the expected range; when When the target speed change rate of the lifting mechanism in two adjacent cycles is determined to be out of the expected range, an error is reported; and,

[0020] when When , it is determined that the actual speed change rate of the lifting mechanism in two adjacent cycles is within the expected range; when When the actual speed change rate of the lifting mechanism in two adjacent cycles is determined to be out of the expected range, an error is reported;

[0021] in, is the target speed corresponding to the current cycle, is the target speed corresponding to the previous cycle, is the actual speed of the lifting mechanism in the current cycle, is the actual speed of the lifting mechanism in the previous cycle, is the second fluctuation threshold, is the third fluctuation threshold.

[0022] Optionally, the judgment method of the judgment operation 3 includes: when When , it is determined that the position change rate of the lifting mechanism in two adjacent cycles is within the expected range; when When the position change rate of the lifting mechanism in two adjacent cycles is determined to be out of the expected range, an error is reported;

[0023] in, is the position of the lifting mechanism in the current cycle, is the position of the lifting mechanism in the previous cycle, is the fourth fluctuation threshold.

[0024] Optionally, the judging method of the judging operation 4 includes: when , determining that the difference between the actual positions of the lifting mechanism in two adjacent cycles and the displacement estimate of the lifting mechanism in the previous cycle are within an expected range;

[0025] when When the actual position difference of the lifting mechanism in two adjacent cycles and the displacement estimation of the lifting mechanism in the previous cycle are determined to be out of the expected range, an error is reported;

[0026] in, is the position of the lifting mechanism in the current cycle, is the position of the lifting mechanism in the previous cycle, is the estimated displacement of the lifting mechanism in the previous cycle, is the fifth fluctuation threshold.

[0027] Optionally, the displacement estimate is obtained according to the following method: :

[0028] ;

[0029] in, is the actual speed of the lifting mechanism in the current cycle, is the actual speed of the lifting mechanism in the previous cycle, The time corresponding to one cycle.

[0030] Optionally, each cycle also performs one or a combination of the following judgment operations: judging whether the emergency stop mark is set, judging whether the upper limit mark is set, and judging whether the lower limit mark is set.

[0031] Optionally, the operation of determining whether the emergency stop flag is set, the operation of determining whether the upper limit flag is set, and the operation of determining whether the lower limit flag is set occur at any time before the lifting mechanism is driven to work in each cycle.

[0032] Optionally, when it is determined that any one of the following situations occurs: the emergency stop flag is set, the upper limit flag is set and the direction of the target speed is upward, or the lower limit flag is set and the direction of the target speed is downward, an error is reported.

[0033] Optionally, the cycle is an operating cycle of a control program of the jacking mechanism.

[0034] Optionally, after the error is reported, at least one of the following control operations is performed:

[0035] Control operation 1: controlling the speed of the lifting mechanism to drop to zero;

[0036] Control operation 2: Sending a command to stop the motor of the lifting mechanism.

[0037] The present invention also provides a control system for a jacking mechanism, comprising:

[0038] A speed planning module, used for providing a target speed of the jacking mechanism in each cycle;

[0039] The safety processing module controls the lifting mechanism to move at the corresponding target speed according to one or a combination of the following judgment operations:

[0040] Determination operation 1: Determine whether the actual speed of the lifting mechanism in the current cycle and the following condition of the target speed are within the expected range;

[0041] Determination operation 2: determining whether the target speed change rate of the lifting mechanism in two adjacent cycles is within the expected range, and determining whether the actual speed change rate of the lifting mechanism in two adjacent cycles is within the expected range;

[0042] Determination operation 3: determining whether the position change rate of the lifting mechanism in two adjacent cycles is within an expected range;

[0043] Determination operation 4: Determine whether the position difference of the lifting mechanism in two adjacent cycles and the displacement estimation of the lifting mechanism in the previous cycle follow each other within an expected range.

[0044] Optionally, the security processing module performs the judgment operation 1, judgment operation 2, judgment operation 3 and judgment operation 4 in sequence.

[0045] Optionally, the security processing module performs judgment operation 2, judgment operation 3 and judgment operation 4 in sequence.

[0046] Optionally, the speed planning module receives the initial position, initial actual speed, target position, maximum target speed and acceleration / deceleration parameters of the lifting mechanism, and plans the target speed for each cycle.

[0047] Optionally, the target speed of each cycle is planned using an S-shaped addition and subtraction curve algorithm.

[0048] Optionally, the security processing module performs the determination operation 1 according to the following method:

[0049] when When , it is determined that the actual speed of the lifting mechanism in the current cycle and the following condition of the target speed are within the expected range; when When it is determined that the actual speed of the lifting mechanism in the current cycle and the following condition of the target speed are not within the expected range, the safety processing module reports an error;

[0050] in, is the target speed corresponding to the current cycle, is the actual speed of the lifting mechanism in the current cycle, is the first fluctuation threshold.

[0051] Optionally, the security processing module performs the determination operation 2 according to the following method:

[0052] when When the target speed change rate of the lifting mechanism in two adjacent cycles is determined to be within the expected range, When it is determined that the target speed change rate of the lifting mechanism in two adjacent cycles is not within the expected range, the safety processing module reports an error; and,

[0053] when When , it is determined that the actual speed change rate of the lifting mechanism in two adjacent cycles is within the expected range; when When it is determined that the actual speed change rate of the lifting mechanism in two adjacent cycles is not within the expected range, the safety processing module reports an error;

[0054] in, is the target speed corresponding to the current cycle, is the target speed corresponding to the previous cycle, is the actual speed of the lifting mechanism in the current cycle, is the actual speed of the lifting mechanism in the previous cycle, is the second fluctuation threshold, is the third fluctuation threshold.

[0055] Optionally, the security processing module performs the determination operation 3 according to the following method:

[0056] when When , it is determined that the position change rate of the lifting mechanism in two adjacent cycles is within the expected range; when When it is determined that the position change rate of the lifting mechanism in two adjacent cycles is not within the expected range, the safety processing module reports an error;

[0057] in, is the position of the lifting mechanism in the current cycle, is the position of the lifting mechanism in the previous cycle, is the fourth fluctuation threshold.

[0058] Optionally, the security processing module performs the determination operation 4 according to the following method:

[0059] when , determining that the difference between the actual positions of the lifting mechanism in two adjacent cycles and the displacement estimate of the lifting mechanism in the previous cycle are within an expected range;

[0060] when When it is determined that the difference between the actual positions of the lifting mechanism in two adjacent cycles and the displacement estimation of the lifting mechanism in the previous cycle are not within the expected range, the safety processing module reports an error;

[0061] in, is the position of the lifting mechanism in the current cycle, is the position of the lifting mechanism in the previous cycle, is the estimated displacement of the lifting mechanism in the previous cycle, is the fifth fluctuation threshold.

[0062] Optionally, the displacement estimate is obtained according to the following method: :

[0063] ;

[0064] in, is the actual speed of the lifting mechanism in the current cycle, is the actual speed of the lifting mechanism in the previous cycle, The time corresponding to one cycle.

[0065] Optionally, the safety processing module also performs one or a combination of the following judgment operations in each cycle: judging whether the emergency stop flag is set, judging whether the upper limit flag is set, and judging whether the lower limit flag is set.

[0066] Optionally, the operation of determining whether the emergency stop flag is set, the operation of determining whether the upper limit flag is set, and the operation of determining whether the lower limit flag is set occur at any time before the lifting mechanism is driven to work in each cycle.

[0067] Optionally, when it is determined that any one of the following situations is true: the emergency stop flag is set, the upper limit flag is set and the direction of the target speed is upward, or the lower limit flag is set and the direction of the target speed is downward, the safety processing module reports an error.

[0068] Optionally, after the error is reported, at least one of the following control operations is performed:

[0069] Control operation 1: controlling the speed of the lifting mechanism to drop to zero;

[0070] Control operation 2: Sending a command to stop the motor of the lifting mechanism.

[0071] In the control method of the lifting mechanism provided by the present invention, the target speed of the lifting mechanism in each cycle is first provided, and then in each cycle, the following of the actual speed of the lifting mechanism and the target speed, the target speed change rate of two adjacent cycles, the actual speed change rate, the position change rate, the position difference and the displacement estimate in the previous cycle are monitored, and it is judged whether the monitoring result is within the expected range, and the lifting mechanism is controlled to move at the corresponding target speed according to one or more judgment operations, so as to achieve precise control of the lifting mechanism, ensure that its motion trajectory and speed meet the control requirements, reduce the time waste caused by inaccurate speed or displacement, and improve production efficiency; at the same time, the speed and position of the lifting mechanism are followed and monitored to timely discover abnormal situations and take corresponding measures, rather than relying solely on the stability of the sensor system of the lifting mechanism, thereby increasing the fault tolerance rate and improving the safety and stability of the equipment operation; and the expected range can be dynamically adjusted according to actual needs, and the adjustment of the lifting mechanism is more refined and flexible to meet the needs of different working scenarios. Correspondingly, the present invention also provides a control system for the lifting mechanism. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] Figure 1 A flow chart of a control method for a jacking mechanism provided by an embodiment of the present invention;

[0073] Figure 2 A flow chart of a method for obtaining a target speed for each cycle provided by an embodiment of the present invention;

[0074] Figure 3 A flow chart of a method for obtaining an initial position and an initial actual speed of a lifting mechanism provided by an embodiment of the present invention;

[0075] Figure 4 A flow chart for controlling the movement of the lifting mechanism in each cycle provided by an embodiment of the present invention;

[0076] Figure 5 A flowchart of a method for setting an error flag provided by an embodiment of the present invention;

[0077] Figure 6 A flow chart of a driving control method of a jacking mechanism provided by an embodiment of the present invention;

[0078] Figure 7 A structural block diagram of a robot provided by an embodiment of the present invention;

[0079] Wherein, the accompanying drawings are marked as follows:

[0080] 100-control system; 101-speed planning module; 102-safety processing module; 103-home return module; 201-sensing system; 202-emergency stop system; 203-host computer; 300-drive control module; 401-lifting mechanism; 402-brake. DETAILED DESCRIPTION

[0081] The specific implementation of the present invention will be described in more detail below in conjunction with the schematic diagram. The advantages and features of the present invention will become clearer based on the following description. It should be noted that the drawings are all in a very simplified form and are not in exact proportions, and are only used to facilitate and clearly assist in explaining the purpose of the embodiments of the present invention.

[0082] Figure 1 Flow chart of the control method of the lifting mechanism provided in this embodiment. Figure 1 As shown, the lifting mechanism may be, for example, a lifting structure of a robot, and the control method of the lifting mechanism includes:

[0083] Step S100: providing a target speed of the lifting mechanism in each cycle;

[0084] Step S200: In each cycle, the lifting mechanism is controlled to move at the corresponding target speed according to one or more of the following judgment operations:

[0085] Determination operation 1: Determine whether the actual speed of the lifting mechanism in the current cycle and the following condition of the target speed are within the expected range;

[0086] Determination operation 2: determining whether the target speed change rate of the lifting mechanism in two adjacent cycles is within the expected range, and determining whether the actual speed change rate of the lifting mechanism in two adjacent cycles is within the expected range;

[0087] Determination operation 3: determining whether the position change rate of the lifting mechanism in two adjacent cycles is within an expected range;

[0088] Determination operation 4: Determine whether the position difference of the lifting mechanism in two adjacent cycles and the displacement estimation of the lifting mechanism in the previous cycle follow each other within an expected range.

[0089] Specifically, step S100 is first performed to provide a target speed of the lifting mechanism in each cycle. Figure 2 The flowchart of the method for obtaining the target speed of each cycle provided by this embodiment is as follows: Figure 2 As shown, first, the initial position, initial actual speed, target position, maximum target speed and acceleration / deceleration parameters of the lifting mechanism are obtained.

[0090] Figure 3 A flow chart of a method for obtaining the initial position and initial actual speed of the lifting mechanism provided in this embodiment. Figure 3 As shown, in this embodiment, the lifting mechanism is first controlled to move back to the origin. When the sensor system of the robot detects that the lifting mechanism has returned to the origin, the origin flag can be set to indicate that the lifting mechanism has returned to the origin. At this time, the position and actual speed of the lifting mechanism can be obtained and used as the initial position and initial actual speed of the lifting mechanism. The initial position of the lifting mechanism is the origin position, and the initial actual speed of the lifting mechanism is 0. When the sensor system of the robot detects that the lifting mechanism has not returned to the origin, an error can be reported, and the error flag is set.

[0091] It should be noted that if the origin position of the lifting mechanism is known (can be calibrated in advance), there is no need to detect the position and actual speed of the lifting mechanism. The known origin position can be directly used as the initial position of the lifting mechanism. At the same time, the initial actual speed of the lifting mechanism is considered to be 0.

[0092] Of course, in some embodiments, the initial position of the lifting mechanism is not necessarily the origin position, but may be other position points within the travel range of the lifting mechanism. Correspondingly, the initial actual speed of the lifting mechanism may not be 0. In this case, the sensor system of the robot needs to detect the position and actual speed of the lifting mechanism, and use the detection result as the initial position and initial actual speed of the lifting mechanism.

[0093] In this embodiment, the target position, the maximum target speed and the acceleration / deceleration parameters are artificially given and can be adjusted according to actual needs. The acceleration / deceleration parameters may be, for example, acceleration, deceleration, acceleration or deceleration.

[0094] It should be noted that the cycle is the operating cycle of the control program of the jacking mechanism. One cycle can be, for example, 10 ms. Each cycle corresponds to one target speed, and the target speeds of all cycles constitute the target speed sequence; and, within one cycle, the speed of the jacking mechanism is considered to be equal, and the position of the jacking mechanism is the position at a fixed sampling time.

[0095] Please continue reading Figure 2 , the target speed of each cycle is planned using the S-shaped acceleration / deceleration curve algorithm according to the initial position, initial actual speed, target position, maximum target speed and acceleration / deceleration parameters of the jacking mechanism. The S-curve (which can obtain the target speed of each cycle) planned by the S-shaped acceleration / deceleration curve algorithm is relatively smooth, which can effectively reduce the impact and vibration of the jacking mechanism in the start and stop stages, improve the stability and accuracy of the system, and make the jacking mechanism run more smoothly. If the target speed of each cycle is not planned using the S-shaped acceleration / deceleration curve algorithm, an error may be reported, and the error flag is set.

[0096] In some embodiments, when the target speed of each cycle is planned using the S-shaped acceleration / deceleration curve algorithm, other parameters of the jacking mechanism may also be used, which will not be described one by one here.

[0097] In some embodiments, the target speed for each cycle may be planned according to other algorithms, which will not be described one by one here.

[0098] Figure 4 The flow chart for controlling the movement of the lifting mechanism in each cycle provided in this embodiment. Figure 4 As shown, step S200 is executed, and in each cycle, the sensor system of the robot obtains the actual speed and position of the lifting mechanism. Then, in each cycle, it is determined whether the emergency stop mark is set, whether the upper limit mark is set, whether the lower limit mark is set, and judgment operations 1 to 4 are performed.

[0099] Specifically, it can be determined whether the emergency stop flag is set. If the emergency stop flag is set, the lifting mechanism is immediately controlled to stop, and the lifting mechanism will reduce the speed to 0 at a larger deceleration. If the emergency stop flag is not set, it is determined whether the upper limit flag is set. If the upper limit flag is set, it is determined whether the direction of the target speed is upward. If the direction of the target speed is upward, an error is reported, and the lifting mechanism is immediately controlled to stop, and the lifting mechanism will reduce the speed to 0 at a larger deceleration. If the upper limit flag is not set, it is determined whether the lower limit flag is set. If the lower limit flag is set, it is determined whether the direction of the target speed is downward. If the direction of the target speed is downward, an error is reported, and the lifting mechanism is immediately controlled to stop, and the lifting mechanism will reduce the speed to 0 at a larger deceleration. If the upper limit flag is set but the direction of the target speed is downward, or the lower limit flag is set but the direction of the target speed is upward, judgment operations 1 to 4 can be started.

[0100] It should be noted that, in the present embodiment, the operations of judging whether the emergency stop mark is set, judging whether the upper limit mark is set and judging whether the lower limit mark is set are performed before judging operations 1 to 4, but it should not be limited to this. The operations of judging whether the emergency stop mark is set, judging whether the upper limit mark is set and judging whether the lower limit mark is set occur at any time before driving the lifting mechanism to work in each cycle; the operations of judging whether the emergency stop mark is set, judging whether the upper limit mark is set and judging whether the lower limit mark is set may not be performed in full, but only one or two of them may be performed.

[0101] Furthermore, a judgment operation 1 is performed to judge whether the following of the actual speed of the lifting mechanism and the target speed is within the expected range. Specifically, the judgment method of the judgment operation 1 includes: When , it is determined that the actual speed of the lifting mechanism in the current cycle and the following condition of the target speed are within the expected range; when When it is determined that the actual speed of the lifting mechanism in the current cycle and the following of the target speed are not within the expected range, an error may be reported at this time, and the error flag is set. is the target speed corresponding to the current cycle, is the actual speed of the lifting mechanism in the current cycle, is the first fluctuation threshold.

[0102] Next, a judgment operation 2 is performed to judge whether the target speed change rate of the lifting mechanism in two adjacent cycles is within the expected range, and to judge whether the actual speed change rate of the lifting mechanism in two adjacent cycles is within the expected range. Specifically, the judgment method of the judgment operation 2 includes: When , it is determined that the target speed change rate of the lifting mechanism in two adjacent cycles is within the expected range; when When it is determined that the target speed change rate of the lifting mechanism in two adjacent cycles is not within the expected range, an error may be reported and the error flag is set. is the target speed corresponding to the current cycle, is the target speed corresponding to the previous cycle, is the second fluctuation threshold. When , it is determined that the actual speed change rate of the lifting mechanism in two adjacent cycles is within the expected range; when When it is determined that the actual speed change rate of the lifting mechanism in two adjacent cycles is not within the expected range, an error may be reported and the error flag is set. is the actual speed of the lifting mechanism in the current cycle, is the actual speed of the lifting mechanism in the previous cycle, is the third fluctuation threshold.

[0103] Next, a judgment operation 3 is performed to judge whether the position change rate of the lifting mechanism in two adjacent cycles is within the expected range. Specifically, the judgment method of the judgment operation 3 includes: When , it is determined that the position change rate of the lifting mechanism in two adjacent cycles is within the expected range; when When it is determined that the position change rate of the lifting mechanism in two adjacent cycles is not within the expected range, an error may be reported and the error flag is set. is the position of the lifting mechanism in the current cycle, is the position of the lifting mechanism in the previous cycle, is the fourth fluctuation threshold.

[0104] Next, a judgment operation 4 is performed to judge whether the position difference of the lifting mechanism in two adjacent cycles and the displacement estimation of the lifting mechanism in the previous cycle are within the expected range. Specifically, the judgment method of the judgment operation 1 includes: first, using the formula Estimate the displacement of the lifting mechanism in the previous cycle ,when When , it is determined that the actual position difference of the lifting mechanism in two adjacent cycles and the displacement estimation of the lifting mechanism in the previous cycle follow each other within the expected range; when When it is determined that the difference between the actual position of the lifting mechanism in two adjacent cycles and the displacement estimation of the lifting mechanism in the previous cycle are not within the expected range, an error may be reported at this time, and the error flag is set. is the position of the lifting mechanism in the current cycle, is the position of the lifting mechanism in the previous cycle, is the estimated displacement of the lifting mechanism in the previous cycle, is the fifth fluctuation threshold, is the actual speed of the lifting mechanism in the current cycle, is the actual speed of the lifting mechanism in the previous cycle, The time corresponding to one cycle.

[0105] Figure 4 In the figure, the judgment operation 1, the judgment operation 2, the judgment operation 3 and the judgment operation 4 are performed in sequence, but it should be understood that the order of performing the judgment operation 1, the judgment operation 2, the judgment operation 3 and the judgment operation 4 is not limited to this. The judgment operation 1, the judgment operation 2, the judgment operation 3 and the judgment operation 4 can also be performed simultaneously or in other orders; the judgment operation 1, the judgment operation 2, the judgment operation 3 and the judgment operation 4 can also be performed only partially, for example, only performing the judgment operation 2, the judgment operation 3 and the judgment operation 4 in sequence, and examples are not given one by one here.

[0106] It should be understood that the first fluctuation threshold , the second fluctuation threshold , the third fluctuation threshold , the fourth fluctuation threshold , Fifth Fluctuation Threshold The design can be made according to actual requirements and application scenarios, and no examples are given here.

[0107] Figure 5 Flow chart of the error flag setting method provided in this embodiment. Figure 5 As shown, it is possible to determine in real time whether the error flag needs to be set. When it is determined that the error flag needs to be set (an error is reported), it is determined whether the error flag needs to be reset (such as manually pressing the reset button of the robot). If the error flag needs to be reset, the error flag is reset and the error result is output. If the error flag does not need to be reset, the error flag is set again and the error result is output.

[0108] Figure 6 Flow chart of the driving control method of the lifting mechanism provided in this embodiment. Figure 6As shown, after the judgment operations 1 to 4 are completed, the enable flag, error flag and target speed of the robot are obtained, and then it is judged whether the error flag is set. When the error flag is not set, it is judged whether the enable flag is set. When the enable flag is set, the brake of the robot is opened, and the lifting mechanism is controlled to move at the target speed; when the enable flag is not set, the enable is turned off, thereby closing the brake of the robot. When the error flag is set, the target speed is modified to 0 to control the speed of the lifting mechanism to drop to 0; and / or, a command to stop the motor of the lifting mechanism can be sent to turn off the enable, thereby closing the brake of the robot. Of course, only one of the control operation 1 of controlling the speed of the lifting mechanism to drop to zero and the control operation 2 of sending a command to stop the motor of the lifting mechanism can be performed.

[0109] Further, in this embodiment, when it is determined that the following situation of the actual speed of the jacking mechanism in the current cycle and the target speed is within the expected range, the target speed change rate of the jacking mechanism in two adjacent cycles is within the expected range, the actual speed change rate of the jacking mechanism in two adjacent cycles is within the expected range, the position change rate of the jacking mechanism in two adjacent cycles is within the expected range, and the position difference of the jacking mechanism in two adjacent cycles and the displacement estimation of the jacking mechanism in the previous cycle are within the expected range, the jacking mechanism is controlled to move at the corresponding target speed, so as to achieve precise control of the jacking mechanism, ensure that its motion trajectory and speed meet the control requirements, reduce time waste caused by inaccurate speed or displacement, and improve production efficiency; at the same time, following and monitoring the speed and position of the jacking mechanism can timely discover abnormal situations and take corresponding measures, rather than relying solely on the stability of the sensor system of the jacking mechanism, thereby increasing the fault tolerance rate and improving the safety and stability of equipment operation; and the expected range can be dynamically adjusted according to actual needs (adjusting the first fluctuation threshold , the second fluctuation threshold , the third fluctuation threshold , the fourth fluctuation threshold , Fifth Fluctuation Threshold ), the adjustment of the lifting mechanism is more refined and flexible to meet the needs of different working scenarios.

[0110] In some embodiments, the lifting mechanism can be controlled to move at the corresponding target speed according to one or more of the judgment operations 1 to 4, and examples are not given here one by one.

[0111] Based on this, this embodiment also provides a control system for a jacking mechanism. Figure 7 The structural block diagram of the robot provided in this embodiment is as follows: Figure 7 As shown, the robot includes a sensing system 201 , an emergency stop system 202 , a host computer 203 , a drive control module 300 , a lifting mechanism 401 , a brake 402 , and a control system 100 of the lifting mechanism 401 .

[0112] Wherein, the sensing system 201 includes various sensors, which can obtain the position, speed and other parameters of the jacking mechanism 401 in real time. When the sensing system 201 detects that the jacking mechanism 401 reaches the top limit position, the bottom limit position or the origin position, the upper limit mark, the lower limit mark or the origin mark in the sensing system 201 are set to indicate that the jacking mechanism 401 reaches the top limit position, the bottom limit position and the origin position respectively. When the jacking mechanism 401 encounters an emergency and needs to be stopped immediately, the emergency stop mark in the emergency stop system 202 is set to indicate that the jacking mechanism 401 encounters an emergency. The host computer 203 is a human-computer interaction port, which can be used to provide the maximum target speed, target position and acceleration and deceleration parameters, etc.

[0113] The control system 100 includes a speed planning module 101 , a safety processing module 102 , and a return-to-origin module 103 .

[0114] The return-to-origin module 103 determines whether the lifting mechanism 401 has returned to the origin based on whether the origin flag in the sensor system 201 is set. If so, the origin position of the lifting mechanism 401 is sent to the speed planning module 101. If the lifting mechanism 401 has not returned to the origin, the return-to-origin module 103 reports an error and outputs the error flag in the set state to the drive control module 300 to indicate an error.

[0115] In some embodiments, the return-to-origin module 103 may also be omitted.

[0116] The speed planning module 101 is used to provide the target speed of the lifting mechanism 401 in each cycle. For example, the speed planning module 101 can receive the target position, maximum target speed and acceleration / deceleration parameters of the lifting mechanism 401 sent by the host computer 203, and receive the origin position sent by the return to origin module 103 (or receive the initial position of the lifting mechanism 401 sent by the sensor system 201), the initial actual speed of the lifting mechanism 401 sent by the sensor system 201, and use the S-shaped acceleration / deceleration curve algorithm to plan the target speed of each cycle. When the speed planning module 101 cannot plan the target speed of each cycle, the speed planning module 101 reports an error and outputs the error flag in the set state to the drive control module 300 to indicate that an error has been reported.

[0117] The safety processing module 102 may control the lifting mechanism to move at the corresponding target speed according to one or more of the determination operations 1 to 4 in each cycle.

[0118] Specifically, the security processing module 102 can refer to Figure 4 The steps in the above are used to perform judgment operations 1 to 4, and when it is determined that the error is not within the expected range, an error is reported, and the error flag in the set state is output to the drive control module 300, which will not be repeated here.

[0119] Further, the drive control module 300 receives the target speed output by the safety processing module 102, and determines whether to open the brake 402 according to whether the error flag in the set state is received, and outputs a drive signal to control the lifting mechanism 401 to move at the corresponding target speed. When the error flag in the set state is received, the drive control module 300 modifies the target speed to 0, and outputs a drive signal to control the lifting mechanism 401 to reduce the speed to 0. Then, the enable is turned off to close the brake 402.

[0120] In summary, in the control method of the lifting mechanism provided in the embodiment of the present invention, the target speed of the lifting mechanism in each cycle is first provided, and then in each cycle, the following of the actual speed of the lifting mechanism and the target speed, the target speed change rate of two adjacent cycles, the actual speed change rate, the position change rate, the position difference and the displacement estimate in the previous cycle are monitored, and it is judged whether the monitoring result is within the expected range, and the lifting mechanism is controlled to move at the corresponding target speed according to one or more judgment operations, so as to achieve precise control of the lifting mechanism, ensure that its motion trajectory and speed meet the control requirements, reduce the time waste caused by inaccurate speed or displacement, and improve production efficiency; at the same time, the speed and position of the lifting mechanism are followed and monitored to detect abnormal situations in time and take corresponding measures, rather than relying solely on the stability of the sensor system of the lifting mechanism, thereby increasing the fault tolerance rate and improving the safety and stability of the equipment operation; and the expected range can be dynamically adjusted according to actual needs, and the adjustment of the lifting mechanism is more refined and flexible to meet the needs of different working scenarios. Correspondingly, the present invention also provides a control system for the lifting mechanism.

[0121] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0122] It should also be noted that, although the present invention has been disclosed as a preferred embodiment, the above embodiment is not intended to limit the present invention. For any technician familiar with the art, without departing from the scope of the technical solution of the present invention, the technical content disclosed above can be used to make many possible changes and modifications to the technical solution of the present invention, or modified into equivalent embodiments of equivalent changes. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still falls within the scope of protection of the technical solution of the present invention.

[0123] It should also be understood that, unless otherwise specified or indicated, the terms "first", "second", "third", etc. in the specification are merely used to distinguish between the various components, elements, steps, etc. in the specification, and are not used to indicate the logical relationship or sequential relationship between the various components, elements, steps, etc.

[0124] It should also be recognized that the terms described herein are only used to describe specific embodiments and are not intended to limit the scope of the invention. It should be noted that the singular forms "a" and "an" used herein and in the appended claims include plural references unless the context clearly indicates otherwise. For example, a reference to "a step" or "a device" means a reference to one or more steps or devices, and may include secondary steps and secondary devices. All conjunctions used should be understood in the broadest sense. And, the word "or" should be understood to have the definition of a logical "or", rather than a logical "exclusive or", unless the context clearly indicates otherwise. In addition, the implementation of the method and / or device in the embodiments of the present invention may include performing the selected task manually, automatically, or in combination.

Claims

1. A control method for a jacking mechanism, It is characterized in that include: Providing a target speed of the lifting mechanism in each cycle; In each cycle, at least judgment operation 2, judgment operation 3 and judgment operation 4 are performed in sequence to control the lifting mechanism to move at the corresponding target speed: Judgment operation 1: judging whether the actual speed of the lifting mechanism in the current cycle follows the target speed within the expected range, and if not, reporting an error; Judgment operation 2: judging whether the target speed change rate of the lifting mechanism in two adjacent cycles is within the expected range, and reporting an error if it is not within the expected range; and judging whether the actual speed change rate of the lifting mechanism in two adjacent cycles is within the expected range, and reporting an error if it is not within the expected range; Judgment operation 3: judging whether the position change rate of the lifting mechanism in two adjacent cycles is within the expected range, and if not, reporting an error; Judgment operation 4: judging whether the position difference of the lifting mechanism in two adjacent cycles and the displacement estimation of the lifting mechanism in the previous cycle are within the expected range, and reporting an error if they are not within the expected range; After reporting an error, perform at least one of the following control operations: Control operation 1: controlling the speed of the lifting mechanism to drop to zero; Control operation 2: sending a command to stop the motor of the jacking mechanism; Each cycle also performs one or several combinations of the following judgment operations: judging whether the emergency stop flag is set, judging whether the upper limit flag is set, and judging whether the lower limit flag is set, and the judging whether the emergency stop flag is set, the judging whether the upper limit flag is set, and the judging whether the lower limit flag is set occur at any time before driving the lifting mechanism to work in each cycle.

2. The control method of the jacking mechanism according to claim 1, It is characterized in that The judgment operation 1, judgment operation 2, judgment operation 3 and judgment operation 4 are performed in sequence.

3. The control method of the jacking mechanism according to claim 1, It is characterized in that The target speed of each cycle is planned according to the initial position, initial actual speed, target position, maximum target speed and acceleration / deceleration parameters of the jacking mechanism.

4. The control method of the lifting mechanism according to claim 3, It is characterized in that The target speed of each cycle is planned using an S-shaped addition and subtraction curve algorithm.

5. The control method of the lifting mechanism according to claim 1, It is characterized in that The judgment method of the judgment operation 1 includes: when When , it is determined that the actual speed of the lifting mechanism in the current cycle and the following condition of the target speed are within the expected range; when When the actual speed of the lifting mechanism in the current cycle is determined to be out of the expected range with respect to the target speed, an error is reported; in, is the target speed corresponding to the current cycle, is the actual speed of the lifting mechanism in the current cycle, is the first fluctuation threshold.

6. The control method of the lifting mechanism according to claim 1, It is characterized in that The judgment method of the judgment operation 2 includes: when When , it is determined that the target speed change rate of the lifting mechanism in two adjacent cycles is within the expected range; when When the target speed change rate of the lifting mechanism in two adjacent cycles is determined to be out of the expected range, an error is reported; and, when When , it is determined that the actual speed change rate of the lifting mechanism in two adjacent cycles is within the expected range; when When the actual speed change rate of the lifting mechanism in two adjacent cycles is determined to be out of the expected range, an error is reported; in, is the target speed corresponding to the current cycle, is the target speed corresponding to the previous cycle, is the actual speed of the lifting mechanism in the current cycle, is the actual speed of the lifting mechanism in the previous cycle, is the second fluctuation threshold, is the third fluctuation threshold.

7. The control method of the jacking mechanism according to claim 1, It is characterized in that The judging method of the judging operation 3 includes: When , it is determined that the position change rate of the lifting mechanism in two adjacent cycles is within the expected range; when When the position change rate of the lifting mechanism in two adjacent cycles is determined to be out of the expected range, an error is reported; in, is the position of the lifting mechanism in the current cycle, is the position of the lifting mechanism in the previous cycle, is the fourth fluctuation threshold.

8. The control method of the lifting mechanism according to claim 1, It is characterized in that The judging method of the judging operation 4 includes: , determining that the difference between the actual positions of the lifting mechanism in two adjacent cycles and the displacement estimate of the lifting mechanism in the previous cycle are within an expected range; when When the actual position difference of the lifting mechanism in two adjacent cycles and the displacement estimation of the lifting mechanism in the previous cycle are determined to be out of the expected range, an error is reported; in, is the position of the lifting mechanism in the current cycle, is the position of the lifting mechanism in the previous cycle, is the estimated displacement of the lifting mechanism in the previous cycle, is the fifth fluctuation threshold.

9. The control method of the lifting mechanism according to claim 8, It is characterized in that The displacement estimate is obtained according to the following method : ; in, is the actual speed of the lifting mechanism in the current cycle, is the actual speed of the lifting mechanism in the previous cycle, The time corresponding to one cycle.

10. The control method of the jacking mechanism according to claim 1, It is characterized in that When it is determined that any one of the following situations occurs: the emergency stop flag is set, the upper limit flag is set and the direction of the target speed is upward, or the lower limit flag is set and the direction of the target speed is downward, an error is reported.

11. The control method of the lifting mechanism according to claim 1, It is characterized in that The cycle is the operation cycle of the control program of the jacking mechanism.

12. A control system for a jacking mechanism, It is characterized in that include: A speed planning module, used for providing a target speed of the jacking mechanism in each cycle; The safety processing module performs at least judgment operation 2, judgment operation 3 and judgment operation 4 in sequence in each cycle, and controls the lifting mechanism to move at the corresponding target speed: Judgment operation 1: judging whether the actual speed of the lifting mechanism in the current cycle follows the target speed within the expected range, and if not, reporting an error; Judgment operation 2: judging whether the target speed change rate of the lifting mechanism in two adjacent cycles is within the expected range, and reporting an error if it is not within the expected range; and judging whether the actual speed change rate of the lifting mechanism in two adjacent cycles is within the expected range, and reporting an error if it is not within the expected range; Judgment operation 3: judging whether the position change rate of the lifting mechanism in two adjacent cycles is within the expected range, and if not, reporting an error; Judgment operation 4: judging whether the position difference of the lifting mechanism in two adjacent cycles and the displacement estimation of the lifting mechanism in the previous cycle are within the expected range, and reporting an error if they are not within the expected range; After reporting an error, perform at least one of the following control operations: Control operation 1: controlling the speed of the lifting mechanism to drop to zero; Control operation 2: sending a command to stop the motor of the jacking mechanism; The safety processing module also performs one or several combinations of the following judgment operations in each cycle: judging whether the emergency stop flag is set, judging whether the upper limit flag is set, and judging whether the lower limit flag is set, and the judging whether the emergency stop flag is set, the judging whether the upper limit flag is set, and the judging whether the lower limit flag is set occur at any time before driving the lifting mechanism to work in each cycle.

13. The control system of the lifting mechanism according to claim 12, It is characterized in that The security processing module performs the judgment operation 1, judgment operation 2, judgment operation 3 and judgment operation 4 in sequence.

14. The control system of the lifting mechanism according to claim 12, It is characterized in that The speed planning module receives the initial position, initial actual speed, target position, maximum target speed and acceleration / deceleration parameters of the lifting mechanism, and plans the target speed for each cycle.

15. The control system of the lifting mechanism according to claim 14, It is characterized in that The target speed of each cycle is planned using an S-shaped addition and subtraction curve algorithm.

16. The control system of the lifting mechanism according to claim 12, It is characterized in that The security processing module performs the determination operation 1 in the following manner: when When , it is determined that the actual speed of the lifting mechanism in the current cycle and the following condition of the target speed are within the expected range; when When it is determined that the actual speed of the lifting mechanism in the current cycle and the following condition of the target speed are not within the expected range, the safety processing module reports an error; in, is the target speed corresponding to the current cycle, is the actual speed of the lifting mechanism in the current cycle, is the first fluctuation threshold.

17. The control system of the lifting mechanism according to claim 12, It is characterized in that The security processing module performs the determination operation 2 in the following manner: when When the target speed change rate of the lifting mechanism in two adjacent cycles is determined to be within the expected range, When it is determined that the target speed change rate of the lifting mechanism in two adjacent cycles is not within the expected range, the safety processing module reports an error; and, when When , it is determined that the actual speed change rate of the lifting mechanism in two adjacent cycles is within the expected range; when When it is determined that the actual speed change rate of the lifting mechanism in two adjacent cycles is not within the expected range, the safety processing module reports an error; in, is the target speed corresponding to the current cycle, is the target speed corresponding to the previous cycle, is the actual speed of the lifting mechanism in the current cycle, is the actual speed of the lifting mechanism in the previous cycle, is the second fluctuation threshold, is the third fluctuation threshold.

18. The control system of the lifting mechanism according to claim 12, It is characterized in that The security processing module performs the judgment operation 3 according to the following method: When , it is determined that the position change rate of the lifting mechanism in two adjacent cycles is within the expected range; when When it is determined that the position change rate of the lifting mechanism in two adjacent cycles is not within the expected range, the safety processing module reports an error; in, is the position of the lifting mechanism in the current cycle, is the position of the lifting mechanism in the previous cycle, is the fourth fluctuation threshold.

19. The control system of the lifting mechanism according to claim 12, It is characterized in that The security processing module performs the judgment operation 4 according to the following method: , determining that the difference between the actual positions of the lifting mechanism in two adjacent cycles and the displacement estimate of the lifting mechanism in the previous cycle are within an expected range; when When it is determined that the difference between the actual positions of the lifting mechanism in two adjacent cycles and the displacement estimation of the lifting mechanism in the previous cycle are not within the expected range, the safety processing module reports an error; in, is the position of the lifting mechanism in the current cycle, is the position of the lifting mechanism in the previous cycle, is the estimated displacement of the lifting mechanism in the previous cycle, is the fifth fluctuation threshold.

20. The control system of the lifting mechanism according to claim 19, It is characterized in that The displacement estimate is obtained according to the following method : ; in, is the actual speed of the lifting mechanism in the current cycle, is the actual speed of the lifting mechanism in the previous cycle, The time corresponding to one cycle.

21. The control system of the lifting mechanism according to claim 12, It is characterized in that When it is determined that any one of the following situations is true: the emergency stop flag is set, the upper limit flag is set and the direction of the target speed is upward, or the lower limit flag is set and the direction of the target speed is downward, the safety processing module reports an error.

22. The control system of the lifting mechanism according to claim 12, It is characterized in that The cycle is the operation cycle of the control program of the jacking mechanism.