Disclosure of Invention
In view of the above, the present invention provides a following type target distribution system and method, which can simply, conveniently and rapidly move a target.
In order to achieve the above purpose, the technical scheme of the invention is as follows:
A following type target distribution system comprises a target end and a walking tool end.
In the walking tool end:
the second positioning measuring unit measures the speed and magnetometer data of the walking tool and transmits the data to the main control unit.
Target end:
The target moving platform is used for bearing the movement of the target, the main control unit, the micro control unit, the first positioning measuring unit and the ranging unit.
The distance measuring unit measures the distance between the target and the walking aid and transmits the distance to the main control unit.
The first positioning measurement unit measures the speed of the target and magnetometer data and transmits to the main control unit.
The main control unit judges whether the speed of the walking tool is 0 or not, if not, the main control unit judges whether the distance is not greater than the safety threshold value or not, if so, the main control unit sends a forward instruction to the micro control unit, and if not, a backward instruction is sent.
When the target is 0, calculating the course angles of the target and the walking aid relative to the ground, and not sending a steering instruction when the course angles of the target and the walking aid are positioned on the same straight line, otherwise judging that the course angle of the target is far left or far right, sending a right steering instruction when the course angle of the target is far left, and sending a left steering instruction when the course angle of the target is far right; meanwhile, whether the distance is within the error range or not is judged, a forward command is sent when the distance is larger, a backward command is sent when the distance is smaller, and a stop command is sent when the distance is within the error range.
And the micro control unit controls the movement of the mobile platform according to the instruction of the main control unit.
Further, the ranging unit is a laser ranging unit.
Further, the first positioning measurement unit and the second positioning measurement unit are IMU units for acquiring speed and magnetometer data.
Further, the device also comprises communication equipment positioned on the mobile platform and the walking tool and used for transmitting the speed and magnetometer data of the target and the walking tool.
Further, the communication device is a bluetooth device or an antenna.
A following type target distribution method is used for the system, and comprises the following specific steps:
step 1, a distance measuring unit measures the distance between a target and a walking tool, a first positioning measuring unit obtains the speed and magnetometer data of the target, and the speed and magnetometer data are sent to a main control unit through communication equipment.
Step 2, the main control unit calculates the course angle according to the magnetic force count, the main control unit judges whether the speed of the walking tool is 0, if yes, the step 3 is executed, if not, the main control unit judges whether the distance does not exceed the safety threshold A, if yes, the main control unit sends a forward instruction, otherwise, a backward instruction is sent, and the step 1 is returned to be executed continuously.
And 3, judging whether the distance meets the lower error limit N and is less than or equal to the upper error limit M, if so, sending a stop instruction, and when the distance is more than M, sending a forward instruction by the main control unit, and when the distance is less than N, sending a backward instruction by the main control unit.
And (2) simultaneously, the main control unit judges whether the course angles are positioned on the same straight line, if so, no steering instruction is sent, otherwise, the course angles of the targets are judged to be leftwards or rightwards, if so, a right turning instruction is sent, and if so, a left turning instruction is sent, and the step (1) is returned to continue to execute.
Further, the communication device is a bluetooth device or an antenna.
The beneficial effects are that:
1. the invention provides a following type target distribution system, which can accurately enable a moving target to follow a walking tool, and can realize automatic following of the moving target through judging left-right movement and front-back movement, thereby avoiding the mechanical carrying process, improving the working efficiency and shortening the working period.
2. The system judges whether the walking tool reaches a target position according to the speed of the walking tool, and the walking tool is controlled by the micro control unit through the matching of the main control unit and the two positioning measurement units during the moving to the target position, so that the safety of work is ensured, and after the walking tool moves to the target position, the main control unit moves the target to a designated position through the micro control unit according to the speed and the course angle, and meanwhile, the target is moved to an area within an error range according to the distance, so that the work safety and the work efficiency are improved.
3. The system adopts Bluetooth or antenna equipment for communication, and is simple and efficient.
4. The system adopts the laser ranging unit to measure the distance, and has higher accuracy.
5. The invention provides a following type target distribution method, which can accurately lead a moving target to follow a walking tool, realizes the automatic following of the moving target through judging the left-right movement and the front-back movement, avoids the mechanical carrying process, improves the working efficiency and shortens the working period.
6. The method judges whether the walking tool reaches a target position according to the speed of the walking tool, and the walking tool is controlled by the micro control unit through the matching of the main control unit and the two positioning measurement units during the moving to the target position, so that the safety of work is ensured, and after the walking tool moves to the target position, the main control unit moves the target to a designated position through the micro control unit according to the speed and the course angle, and meanwhile, the target is moved to an area within an error range according to the distance, so that the work safety and the work efficiency are improved.
7. The method adopts Bluetooth or antenna equipment for communication, and is simple and efficient.
Detailed Description
The invention will now be described in detail by way of example with reference to the accompanying drawings.
As shown in fig. 1, the invention provides a following type target distribution system, which comprises a target end and a walking tool end of a target distribution person.
The target end comprises a target, a main control unit, a micro control unit, a first positioning measurement unit, a ranging unit and a mobile platform, the walking tool end comprises a walking tool and a second positioning measurement unit, and communication equipment such as Bluetooth and an antenna are arranged on the mobile target and the walking tool end. The invention selects a laser ranging unit to measure the distance, and selects an IMU unit (inertial measurement unit) for positioning measurement.
The mobile platform carries a target, a main control unit, a micro control unit, a first positioning measurement unit, a distance measurement unit and communication equipment to move together, and the mobility aid carries a second positioning measurement unit and communication equipment.
The second positioning measuring unit is used for measuring the speed and magnetometer data of the walking tool and transmitting the data to the main control unit in real time.
The laser ranging unit measures the distance between the target and the walking tool and transmits the distance to the main control unit.
The second positioning measurement unit is used for measuring the speed and magnetometer data of the walking tool, and the speed and magnetometer data are transmitted to the main control unit;
The main control unit judges whether the speed of the walking tool is 0 or not, if not, the main control unit judges whether the distance is not greater than a safety threshold value or not, if yes, a forward instruction is sent to the micro control unit, and if not, a backward instruction is sent;
When the target is 0, calculating the course angles of the target and the walking aid relative to the ground, and not sending a steering instruction when the course angles of the target and the walking aid are positioned on the same straight line, otherwise judging that the course angle of the target is far left or far right, sending a right steering instruction when the course angle of the target is far left, and sending a left steering instruction when the course angle of the target is far right; meanwhile, whether the distance is within the error range or not is judged, a forward command is sent when the distance is larger, a backward command is sent when the distance is smaller, and a stop command is sent when the distance is within the error range.
And the micro control unit controls the movement of the mobile platform according to the instruction of the main control unit.
As shown in fig. 2, the present invention provides a following type target distribution method, which specifically includes the steps of:
step 1, a distance measuring unit measures the distance delta d between a target and a walking tool, a first positioning measuring unit obtains IMU information of the moving target, and the IMU information is sent to a main control unit through communication equipment.
Step 2, the main control unit calculates a course angle according to the magnetic force data, the main control unit judges whether the speed of the walking tool is 0 (when the speed of the target distribution person is 0, the target distribution person is indicated to reach a set position to stop moving), if yes, the step 3 is executed, if not, the main control unit judges whether the distance meets the Δd not less than the safety threshold A, if yes, the main control unit sends a forward instruction, otherwise, sends a backward instruction, and returns to the step 1 to continue executing.
Step 3, judging whether the distance meets the lower error limit N and the upper error limit M (when N < = delta d < = M, the moving target reaches the set position within the error allowable range) or not, if so, sending a stop instruction, when the distance is more than M, sending a forward instruction by the main control unit, and when the distance is less than N, sending a backward instruction by the main control unit;
And (2) simultaneously, the main control unit judges whether the course angles are positioned in the same straight line, if so, the steering instruction is not sent, otherwise, the course angles of the targets are judged to be leftwards or rightwards, if so, the right-turning instruction is sent, and if so, the left-turning instruction is sent, and the step (1) is returned to continue to be executed until the targets move to the error range and do not need to be turned any more.
In summary, the above embodiments are only preferred embodiments of the present invention, and are not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.