Three-dimensional space positioning system and positioning method based on optical scanning barcode mechanism
Through the three-dimensional space positioning system based on the optical scanning barcode mechanism, the combination of barcode scanning technology and motor solves the problem of contradiction between accuracy and cost of the existing positioning system, and achieves efficient three-dimensional space positioning, which is suitable for home robots and other fields.
Patent Information
- Application Number
- CN201910766376.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-08-20
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2039-08-20
AI Technical Summary
The existing indoor positioning system has a huge contradiction between positioning accuracy and configuration cost, making it difficult to promote and apply it in the short term.
A three-dimensional spatial positioning system based on the optical scanning barcode mechanism is adopted, including a mobile platform, a scanning platform, a pitch motor, a barcode scanner gun, and a rangefinder. Three-dimensional spatial positioning is achieved by identifying horizontal and vertical barcodes and combining pitch angle and distance measurements.
It reduces the initial position accuracy requirements of the mobile platform, significantly reduces the configuration cost, while achieving acceptable positioning accuracy, and is suitable for applications such as home robots.
Smart Images

Figure CN112417916B
Abstract
Description
Technical Field
[0001] The present invention generally relates to the field of household appliances, and in particular to a three-dimensional space positioning system and a positioning method based on an optical scanning barcode mechanism. Background Art
[0002] With the improvement of modern living standards, the demand for indoor mobile positioning technology is becoming more and more urgent. Therefore, various indoor positioning systems have appeared on the market in recent years. However, the existing positioning systems on the market include RFID electronic tag positioning, UWB positioning, inertial navigation positioning, ultrasonic positioning, WIFI positioning, etc. However, there is a huge contradiction between positioning accuracy and configuration cost, making it difficult to promote and apply them in the short term. Summary of the invention
[0003] The purpose of the present invention is to provide a three-dimensional space positioning system (positioning device) and a positioning method based on an optical scanning barcode mechanism, which can overcome certain or some problems of the above-mentioned prior art.
[0004] According to a first aspect of the present invention, there is provided a three-dimensional spatial positioning system based on an optical scanning barcode mechanism, comprising a mobile platform, a scanning platform, a pitch motor, a barcode scanner, a rangefinder and a controller, wherein:
[0005] The mobile platform has the functions of walking and rotating. A lifting rod is arranged on the mobile platform, and the lifting rod is driven by a lifting motor.
[0006] The scanning platform is set on the top of the lifting rod, the pitch motor, barcode scanner, and rangefinder are all set on the scanning platform, and the pitch motor is connected to the pitch angle measuring instrument;
[0007] The barcode scanner and the rangefinder are both connected to the motor shaft of the pitch motor, and the rangefinder is connected to the ranging rotation motor.
[0008] Furthermore, a horizontal barcode and a vertical barcode are provided on the object to be positioned by the three-dimensional spatial positioning system.
[0009] Furthermore, both the horizontal barcode and the vertical barcode are cylindrical.
[0010] Furthermore, both the horizontal barcode and the vertical barcode are provided with a reflective tape, and the reflective tape is parallel to the barcode.
[0011] Furthermore, a bending mechanism is provided in the middle of the lifting rod, so that the upper section of the lifting rod can be bent.
[0012] Furthermore, when working, the movement direction of the barcode scanner is parallel to the barcode line direction of the horizontal barcode and the vertical barcode.
[0013] According to a second aspect of the present invention, a three-dimensional space positioning method based on an optical scanning barcode mechanism is provided, comprising the following steps:
[0014] (1) Providing the three-dimensional spatial positioning system according to the first aspect of the present invention;
[0015] (2) When the mobile platform moves to the estimated sensing area of the horizontal barcode, the barcode scanner performs a pitch scan under the cooperation of the lifting motor and the pitch motor of the mobile platform. When the sensing barcode is scanned, the system immediately identifies the horizontal barcode and the controller determines whether the barcode information is the target object. If it is not the target object, the platform moves and scans again until the barcode of the correct target object is found. The lifting motor and the pitch motor stop moving, and the pitch angle measuring instrument records the rotation angle. The controller calculates the height and pitch angle of the scanning platform; at the same time, the rangefinder, driven by the ranging rotary motor, horizontally scans and measures the distance from the horizontal reflection belt to the rangefinder;
[0016] (3) The distance measured by the rangefinder to the leftmost end of the horizontal reflection band is A value, the distance to the rightmost end of the horizontal reflection band is B value, and the shortest distance to the horizontal reflection band is C value; when the values A and B are basically equal, it can be considered that the emitting plane is parallel to the measured object and the horizontal barcode, and the minimum value C obtained by the measurement can be considered as the oblique distance in the vertical plane; if the values A and B deviate greatly, it means that the emitting plane is not parallel to the plane of the measured object, and the controller is used to drive the steering mechanism of the mobile platform to adjust it to be parallel;
[0017] When the minimum value C is measured, the horizontal distance C1 = C × cosα and the vertical distance C2 = C × sinα between the scanning platform and the transverse reflection band can be calculated according to the pitch angle α in the vertical direction of the pitch motor;
[0018] (4) The controller drives the lifting rod to move vertically up and down, and the bending mechanism is activated to rotate the upper section of the lifting rod 90 degrees, so that the scanning direction differs by 90 degrees from the original direction. The barcode scanner and the rangefinder vertically scan the vertical barcode and the vertical reflective tape respectively. The pitch angle measuring instrument can measure the deviation angle β in the left and right directions, thereby calculating the left and right distance C3 = C1 × tanβ between the scanning platform and the vertical reflective tape, thereby completing the positioning of the spatial dimension of the barcode-type object to be measured.
[0019] The barcode scanning technology adopted by the present invention can greatly reduce the requirements for the initial position accuracy of the mobile platform, so as to greatly reduce the configuration cost while achieving acceptable positioning accuracy. The three-dimensional spatial positioning system based on the optical scanning barcode mechanism of the present invention can be applied to household robots. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1It is a schematic diagram of the surface of the object to be measured to be positioned by the three-dimensional spatial positioning system according to the present invention.
[0021] Figure 2 It is a schematic diagram of the overall structure of the three-dimensional space positioning system according to the present invention and a schematic diagram of the horizontal scanning state.
[0022] Figure 3 It is a schematic diagram of a vertical scanning state of the three-dimensional space positioning system according to the present invention. DETAILED DESCRIPTION
[0023] The three-dimensional space positioning system and positioning method of the present invention are described in detail below in conjunction with the accompanying drawings. It should be understood by those skilled in the art that the embodiments described below are merely exemplary descriptions of the present invention and are not intended to limit the present invention in any way.
[0024] See also Figure 1 The object 30 to be located by the three-dimensional spatial positioning system of the present invention is provided with a horizontal barcode 31 and a vertical barcode 33, and adjacent to the horizontal barcode 31 and the vertical barcode 33 are provided with a horizontal reflection belt 32 and a vertical reflection belt 34 parallel thereto. Preferably, the horizontal barcode 31 and the vertical barcode 33 are both thin cylindrical so as to receive scanning light in all axes. In this way, it is easier to receive light signals from the pitch direction, and at the same time, because the cylindrical barcode is rolled in the height direction, the accuracy in the height direction is improved.
[0025] See Figure 2 The three-dimensional space positioning system according to the present invention includes a mobile platform 1, a scanning platform 20, a pitch motor 7, a barcode scanner 9, a rangefinder 10 and a controller.
[0026] The mobile platform 1 has the functions of walking and rotating. Under the action of power, it can walk forward, backward, left, right, and rotate on a plane. A lifting rod 2 is arranged on the mobile platform 1. The lifting rod 2 is driven by a lifting motor 3 to move up and down. A horizontal rotation angle measuring instrument 4 is also arranged in the mobile platform 1 to calculate the lifting height of the lifting rod 2. A bending mechanism 5 is arranged in the middle of the lifting rod 2. The bending mechanism 5 is driven by a bending motor 6 to bend the upper section 21 of the lifting rod.
[0027] The scanning platform 20 is arranged on the top of the lifting rod 2, and the pitch motor 7, the barcode scanner 9, and the rangefinder 10 are all arranged on the scanning platform 20, and the pitch motor 7 is connected to the pitch angle measuring instrument 8. The barcode scanner 9 is connected to the motor shaft of the pitch motor 7, and the rangefinder 10 is installed on the shaft of the ranging rotary motor 11, and the ranging rotary motor 11 is installed on the barcode scanner 9, and its rotating plane is parallel to the scanning plane of the barcode scanner 9. Both the barcode scanner 9 and the rangefinder 10 use laser as the scanning light source.
[0028] A controller (not shown in the figure) can be arranged in the mobile platform 1, serving as the nerve center of each mechanism, having the functions of receiving and sending instructions, and having a computing function.
[0029] See also Figure 1 and Figure 2 The specific operation method of the three-dimensional space positioning system of the present invention is as follows:
[0030] When the mobile platform 1 moves into the estimated sensing area of the horizontal barcode, the barcode scanner 9 performs a pitch scan with the cooperation of the lifting motor 3 and the pitch motor 7 of the mobile platform 1. When the sensing barcode is scanned, the system immediately identifies the horizontal barcode 31 and reads the barcode information to confirm that it is the correct target. The lifting motor 3 and the pitch motor 7 stop moving, and the pitch angle measuring instrument 8 records the rotation angle. The controller calculates the height and pitch angle of the scanning platform 20. At the same time, the rangefinder 10, driven by the ranging rotary motor 11, horizontally scans and measures the distance from the horizontal reflective tape 32 to the rangefinder 10.
[0031] The distance measured by the rangefinder 10 to the leftmost end of the transverse reflection band 32 is A value, the distance to the rightmost end of the transverse reflection band 32 is B value, and the shortest distance to the transverse reflection band 32 is C value; when the values A and B are basically equal, it can be considered that the emitting plane is in a parallel state with the object 30 to be measured and the transverse barcode 31, and the minimum value C obtained by the measurement at this time can be considered as the oblique distance in the vertical plane; if the values A and B deviate greatly, it means that the emitting plane is not parallel to the plane of the object 30 to be measured, and the controller is used to drive the steering mechanism of the mobile platform 1 to adjust it to be parallel.
[0032] When the minimum value C is measured, the horizontal distance C1 = C×cosα and the vertical distance C2 = C×sinα between the scanning platform 20 and the transverse reflection band 32 can be calculated according to the pitch angle α of the pitch motor 7 in the vertical direction (ie, the pitch angle of the rangefinder 10 ).
[0033] The controller drives the lifting rod 2 to perform vertical lifting and lowering, and the bending mechanism 5 is started to rotate the upper section 21 of the lifting rod 90 degrees, so that the scanning direction differs from the original direction by 90 degrees. The barcode scanner 9 and the rangefinder 10 vertically scan the vertical barcode 33 and the vertical reflection tape 34 respectively, and the pitch angle measuring instrument 8 can measure the deviation angle β in the left and right directions, thereby calculating the left and right distance C3=C1×tanβ between the scanning platform 20 and the vertical reflection tape 34, thereby completing the three-dimensional positioning of the barcode-type measured object.
[0034] During scanning, the movement direction of the barcode scanner 9 is parallel to the barcode lines of the horizontal barcode 31 and the vertical barcode 33. Compared with the traditional barcode scanner which is perpendicular to the barcode lines, the scanning range is wide and the error range of the mobile platform is large.
[0035] Of course, the above description is not a limitation of the present invention, and the present invention is not limited to the above examples. Changes, modifications, additions or substitutions made by technicians in this technical field within the essential scope of the present invention should also fall within the protection scope of the present invention.
Claims
1. A three-dimensional spatial positioning method based on optical scanning barcode mechanism, characterized in that: The steps include: (1) A three-dimensional spatial positioning system based on an optical barcode scanning mechanism is provided, wherein the three-dimensional spatial positioning system comprises a mobile platform, a scanning platform, a pitch motor, a barcode scanner, a rangefinder, and a controller, wherein: The mobile platform has the functions of walking and rotating. A lifting rod is arranged on the mobile platform, and the lifting rod is driven by a lifting motor. The scanning platform is set on the top of the lifting rod, the pitch motor, barcode scanner, and rangefinder are all set on the scanning platform, and the pitch motor is connected to the pitch angle measuring instrument; The barcode scanner and the ranging rotary motor are both connected to the motor shaft of the pitch motor, and the rangefinder is connected to the ranging rotary motor; A bending mechanism is provided in the middle of the lifting rod, so that the upper section of the lifting rod can be bent; The object to be located by the three-dimensional spatial positioning system is provided with a horizontal barcode and a vertical barcode; both the horizontal barcode and the vertical barcode are provided with a reflective tape, and the reflective tape is parallel to the barcode; (2) When the mobile platform moves to the estimated sensing area of the horizontal barcode, the barcode scanner performs a pitch scan under the cooperation of the lifting motor and the pitch motor of the mobile platform. When the sensing barcode is scanned, the system immediately identifies the horizontal barcode and the controller determines whether the barcode information is the target object. If it is not the target object, the platform moves and scans again until the barcode of the correct target object is found. The lifting motor and the pitch motor stop moving, and the pitch angle measuring instrument records the rotation angle. The controller calculates the height and pitch angle of the scanning platform; at the same time, the rangefinder, driven by the ranging rotary motor, horizontally scans and measures the distance from the horizontal reflection belt to the rangefinder; (3) The distance measured by the rangefinder to the leftmost end of the horizontal reflection band is A value, the distance to the rightmost end of the horizontal reflection band is B value, and the shortest distance to the horizontal reflection band is C value; when the values A and B are basically equal, it can be considered that the emitting plane is parallel to the measured object and the horizontal barcode, and the minimum value C obtained by the measurement can be considered as the oblique distance in the vertical plane; if the values A and B deviate greatly, it means that the emitting plane is not parallel to the plane of the measured object, and the controller is used to drive the steering mechanism of the mobile platform to adjust it to be parallel; When the minimum value C is measured, the horizontal distance C1 = C × cosα and the vertical distance C2 = C × sinα between the scanning platform and the transverse reflection band can be calculated according to the pitch angle α in the vertical direction of the pitch motor; (4) The controller drives the lifting rod to move vertically up and down, and the bending mechanism is activated to rotate the upper section of the lifting rod 90 degrees, so that the scanning direction differs by 90 degrees from the original direction. The barcode scanner and the rangefinder vertically scan the vertical barcode and the vertical reflective tape respectively. The pitch angle measuring instrument can measure the deviation angle β in the left and right directions, thereby calculating the left and right distance C3 = C1 × tanβ between the scanning platform and the vertical reflective tape, thereby completing the positioning of the spatial dimension of the barcode-type object to be measured.
2. The three-dimensional space positioning method according to claim 1, characterized in that: Both horizontal and vertical barcodes are cylindrical.
3. The three-dimensional space positioning method according to claim 1, characterized in that: When working, the movement direction of the barcode scanner is parallel to the barcode line direction of the horizontal barcode and the vertical barcode.
