CN108646733B - Correction method of automatic correction mobile robot - Google Patents
Correction method of automatic correction mobile robot Download PDFInfo
- Publication number
- CN108646733B CN108646733B CN201810392074.2A CN201810392074A CN108646733B CN 108646733 B CN108646733 B CN 108646733B CN 201810392074 A CN201810392074 A CN 201810392074A CN 108646733 B CN108646733 B CN 108646733B
- Authority
- CN
- China
- Prior art keywords
- mobile robot
- obstacle
- data
- ranging module
- infrared ranging
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000012937 correction Methods 0.000 title claims abstract description 18
- 230000008569 process Effects 0.000 claims abstract description 15
- 230000010354 integration Effects 0.000 claims description 4
- 238000010408 sweeping Methods 0.000 description 5
- 238000009825 accumulation Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000011065 in-situ storage Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0231—Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means
- G05D1/0238—Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using obstacle or wall sensors
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Electromagnetism (AREA)
- Aviation & Aerospace Engineering (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
The invention discloses a correction method of an automatic correction mobile robot, which comprises a mobile robot, wherein the mobile robot is provided with an MCU (microprogrammed control Unit) main control system, a direction sensor and a mobile motor driving system, and the direction sensor and the mobile motor driving system are connected with the MCU main control system; the front surface of the mobile robot is provided with a positive infrared ranging module, and at least one side of the mobile robot is provided with at least one group of side infrared ranging modules; the positive infrared ranging module and the side infrared ranging module are connected with the MCU master control system. When the mobile robot moves to an obstacle in the indoor movement process, the robot body is rotated, the value of lateral infrared is read, the vertical angle between the robot and the obstacle is calculated through an algorithm, and therefore the course angle calculated by the direction sensor is corrected; the robot is ensured to move for a long time, and the course angle does not have large deviation.
Description
Technical Field
The invention relates to the technical field of angle correction of mobile robots, in particular to a correction method of an automatic correction mobile robot.
Background
A direction sensor such as an acceleration sensor or a gyroscope is a device for sensing and maintaining a direction, and the purpose of calculating an attitude angle is achieved by measuring an angular velocity. The navigation system is widely applied to the fields of aerospace, automobile biology, environmental monitoring and smart phones. In the intelligent sweeping robot industry, the functions of indoor navigation, I-shaped sweeping and the like can be realized by using a direction sensor based on inertial navigation, and the intelligent sweeping robot is a necessary component of a new-generation intelligent sweeping robot. Due to the accumulation of the self error and the integral error of the direction sensor, the attitude angle calculation generates deviation along with the accumulation of time, so that the situations of errors of a navigation path, deviation of a running track and the like of the sweeping robot are caused; some errors of more than 10 degrees can be initiated in 20 minutes, and the application of the direction sensor on the robot is severely limited.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a correction method of an automatic correction mobile robot, which solves the problem that the use of the mobile robot is restricted due to the condition that the angle deviation occurs in the long-time integral angle of a direction sensor of the mobile robot moving indoors at present.
In order to achieve the purpose, the invention provides the following technical scheme: the correction method of the mobile robot with automatic correction comprises the following steps that the mobile robot is provided with an MCU (microprogrammed control unit) main control system: reading data of a direction sensor, and calculating a course angle of the mobile robot through integration;
a direction sensor: output angular velocity or angle;
moving the motor drive system: driving the mobile robot to walk;
the direction sensor and the mobile motor driving system are connected with the MCU master control system; the front surface of the mobile robot is provided with a positive infrared ranging module, and at least one side of the mobile robot is provided with at least one group of side infrared ranging modules; the positive infrared ranging module and the side infrared ranging module are connected with the MCU master control system;
the method comprises the following steps:
the method comprises the following steps: the MCU master control system controls the mobile motor driving system to drive the mobile robot to walk according to a set path, after the positive infrared ranging module detects an obstacle A in the walking process of the mobile robot, the motor driving system drives the mobile robot to rotate, so that the side infrared ranging module sweeps the obstacle A, in the rotating process, the side infrared ranging module samples data every N time, the distance between the side infrared ranging module and the obstacle A is read, a group of distance data S1 is obtained, when the data reach the maximum value, the side infrared ranging module and the obstacle A form an angle a1, and meanwhile, the direction sensor also generates angle data ɵ 1;
step two: then the mobile robot continues to walk according to the set path;
step three: when the positive infrared ranging module of the mobile robot detects the obstacle A again, the motor driving system drives the mobile robot to rotate, so that the side infrared ranging module sweeps the obstacle A, the side infrared ranging module samples data every N time in the rotating process, the distance between the side infrared ranging module and the obstacle A is read, a group of distance data S2 is obtained, when the data reach the maximum value, an angle a2 is formed between the side infrared ranging module and the obstacle A, and meanwhile, the direction sensor also generates angle data ɵ 2; correcting the current angle according to the difference between ɵ 2 and ɵ 1;
in the second step, when the positive infrared distance measuring module of the mobile robot detects the obstacle again, the motor driving system drives the mobile robot to rotate, so that the side infrared distance measuring module sweeps the obstacle, the side infrared distance measuring module samples data every N times in the rotating process, the distance between the side infrared distance measuring module and the obstacle is read, a group of distance data S is obtained, when the data reach the maximum value, an angle a is formed between the side infrared distance measuring module and the obstacle A, and meanwhile, the direction sensor also generates angle data ɵ; when the data S curve is approximate to the data S1 curve, judging that the obstacle is the same as the obstacle A, and correcting the current angle according to the difference value of ɵ and ɵ 1; if not, continuing to execute the step two.
Preferably, the direction sensor is a gyroscope.
Preferably, the gyroscope is a micromechanical gyroscope.
Preferably, the data is sampled once every 1-30 ms by the side infrared.
Further, when the direction sensor forms angle data closer to 90 ° or 180 ° or 0 ° or 270 ° and is considered to be parallel or perpendicular to the obstacle, the fuselage angle may be directly corrected to 90 ° or 180 ° or 0 ° or 270 °.
The invention has the beneficial effects that: when the mobile robot moves to an obstacle in the indoor movement process, the robot body is rotated, the value of lateral infrared is read, the vertical angle between the robot and the obstacle is calculated through an algorithm, and therefore the course angle calculated by the direction sensor is corrected; the robot is ensured to move for a long time, and the course angle does not have large deviation.
Drawings
FIG. 1 is a flow chart of the present invention.
Fig. 2 is a block diagram of the mobile robot according to the present invention.
Fig. 3 is a state diagram of the present invention.
FIG. 4 is a graph showing the distance variation between the side infrared ranging module and the obstacle according to the present invention.
Wherein: 1: mobile robot, 2: MCU master control system, 3: moving motor drive system, 4: gyroscope, 5: positive infrared ranging module, 6: and a side infrared distance measurement module.
Detailed Description
As shown in fig. 1, 2, and 3, a method for correcting a mobile robot with automatic correction includes a mobile robot, where the mobile robot is provided with an MCU master control system: reading data of a direction sensor, and calculating a course angle of the mobile robot through integration;
a direction sensor: output angular velocity or angle;
moving the motor drive system: driving the mobile robot to walk;
the direction sensor and the mobile motor driving system are connected with the MCU master control system; the front surface of the mobile robot is provided with a positive infrared ranging module, and at least one side of the mobile robot is provided with at least one group of side infrared ranging modules; the positive infrared ranging module and the side infrared ranging module are connected with the MCU master control system.
Preferably, the orientation sensor is a micromechanical gyroscope.
The method comprises the following steps:
the method comprises the following steps: the method comprises the steps that an MCU master control system controls a mobile motor driving system to drive a mobile robot to walk according to a set path, after a positive infrared ranging module detects an obstacle A in the walking process of the mobile robot, the motor driving system drives the mobile robot to rotate, so that a side infrared ranging module sweeps the obstacle A, the side infrared ranging module samples data every 1-30 ms in the rotating process, the distance between the side infrared ranging module and the obstacle A is read, a group of data S1 of the distance is obtained, when the data reach the maximum value, an angle a1 can be formed between the side infrared ranging module and the obstacle A, and meanwhile, an angle data ɵ 1 is generated by a direction sensor;
step two: then the mobile robot continues to walk according to the set path;
step three: when the positive infrared ranging module of the mobile robot detects the obstacle A again, the motor driving system drives the mobile robot to rotate, so that the side infrared ranging module sweeps the obstacle A, the side infrared ranging module samples data every 1-30 ms in the rotating process, the distance between the side infrared ranging module and the obstacle A is read, a group of distance data S2 is obtained, when the data reach the maximum value, the side infrared ranging module and the obstacle A form an angle a2, and meanwhile, the direction sensor also generates angle data ɵ 2; and correcting the current angle according to the difference between ɵ 2 and ɵ 1.
Further, in the second step, when the positive infrared ranging module of the mobile robot detects the obstacle again, the motor driving system drives the mobile robot to rotate, so that the side infrared ranging module sweeps the obstacle, the side infrared ranging module samples data every 1ms to 30ms in the rotating process, the distance between the side infrared ranging module and the obstacle is read, a group of data S of the distance is obtained, when the data reaches the maximum value, the side infrared ranging module and the obstacle A form an angle a, and meanwhile, the direction sensor also generates angle data ɵ; when the data S curve is approximate to the data S1 curve, judging that the obstacle is the same as the obstacle A, and correcting the current angle according to the difference value of ɵ and ɵ 1; if not, continuing to execute the step two.
When the direction sensor forms angle data closer to 90 ° or 180 ° or 0 ° or 270 ° and is considered parallel or perpendicular to the obstacle, the fuselage angle can be directly corrected to 90 ° or 180 ° or 0 ° or 270 °.
The invention automatically corrects the course angle in the walking process of the mobile robot, analyzes and corrects the course angle at any time when encountering obstacles, effectively avoids path errors, ensures that the robot moves for a long time and avoids large deviation of the course angle.
The rotation supports clockwise rotation or anticlockwise rotation, and during anticlockwise rotation, the MCU controls the right wheel to move forwards and the left wheel to move backwards. And the left wheel and the right wheel use PID as a speed difference to ensure the machine to rotate in situ. When the left wheel rotates clockwise, the left wheel moves forwards, the right wheel moves backwards, and the speed difference is made between the left wheel and the right wheel by using a PID (proportion integration differentiation), so that the machine can rotate in place.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents or improvements made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (5)
1. The correction method of the mobile robot with automatic correction comprises the following steps that the mobile robot is provided with an MCU (microprogrammed control unit) main control system: reading data of a direction sensor, and calculating a course angle of the mobile robot through integration;
a direction sensor: output angular velocity or angle;
moving the motor drive system: driving the mobile robot to walk;
the direction sensor and the mobile motor driving system are connected with the MCU master control system; the system is characterized in that a positive infrared ranging module is installed on the front face of the mobile robot, and at least one group of side infrared ranging modules are installed on at least one side of the mobile robot; the positive infrared ranging module and the side infrared ranging module are connected with the MCU master control system;
the method comprises the following steps:
the method comprises the following steps: the MCU master control system controls the mobile motor driving system to drive the mobile robot to walk according to a set path, after the positive infrared ranging module detects an obstacle A in the walking process of the mobile robot, the motor driving system drives the mobile robot to rotate, so that the side infrared ranging module sweeps the obstacle A, in the rotating process, the side infrared ranging module samples data every N time, the distance between the side infrared ranging module and the obstacle A is read, a group of distance data S1 is obtained, when the data reach the maximum value, the side infrared ranging module and the obstacle A form an angle a1, and meanwhile, the direction sensor also generates angle data ɵ 1;
step two: then the mobile robot continues to walk according to the set path;
step three: when the positive infrared ranging module of the mobile robot detects the obstacle A again, the motor driving system drives the mobile robot to rotate, so that the side infrared ranging module sweeps the obstacle A, the side infrared ranging module samples data every N time in the rotating process, the distance between the side infrared ranging module and the obstacle A is read, a group of distance data S2 is obtained, when the data reach the maximum value, an angle a2 is formed between the side infrared ranging module and the obstacle A, and meanwhile, the direction sensor also generates angle data ɵ 2; correcting the current angle according to the difference between ɵ 2 and ɵ 1;
in the second step, when the positive infrared distance measuring module of the mobile robot detects the obstacle again, the motor driving system drives the mobile robot to rotate, so that the side infrared distance measuring module sweeps the obstacle, the side infrared distance measuring module samples data every N times in the rotating process, the distance between the side infrared distance measuring module and the obstacle is read, a group of distance data S is obtained, when the data reach the maximum value, an angle a is formed between the side infrared distance measuring module and the obstacle A, and meanwhile, the direction sensor also generates angle data ɵ; when the data S curve is approximate to the data S1 curve, judging that the obstacle is the same as the obstacle A, and correcting the current angle according to the difference value of ɵ and ɵ 1; if not, continuing to execute the step two.
2. The mobile robot orthotic method according to claim 1, wherein the orientation sensor is a gyroscope.
3. The mobile robot orthotic method, according to claim 2, wherein the gyroscope is a micromechanical gyroscope.
4. The correction method of the automatically corrected mobile robot as claimed in claim 1, wherein the data is sampled every 1ms to 30ms by the side infrared.
5. The correction method of an automatically corrected mobile robot according to claim 1, wherein when the angle data formed by the direction sensor is closer to 90 ° or 180 ° or 0 ° or 270 ° and is considered to be parallel or perpendicular to the obstacle, the body angle is directly corrected to 90 ° or 180 ° or 0 ° or 270 °.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810392074.2A CN108646733B (en) | 2018-04-27 | 2018-04-27 | Correction method of automatic correction mobile robot |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810392074.2A CN108646733B (en) | 2018-04-27 | 2018-04-27 | Correction method of automatic correction mobile robot |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108646733A CN108646733A (en) | 2018-10-12 |
CN108646733B true CN108646733B (en) | 2021-08-10 |
Family
ID=63748303
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810392074.2A Active CN108646733B (en) | 2018-04-27 | 2018-04-27 | Correction method of automatic correction mobile robot |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108646733B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112263188B (en) * | 2020-10-22 | 2022-04-05 | 湖南格兰博智能科技有限责任公司 | Correction method and device for moving direction of mobile robot |
CN113854892B (en) * | 2021-10-21 | 2022-08-02 | 唐山学院 | Cleaning device capable of automatically planning path |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102457807A (en) * | 2010-10-20 | 2012-05-16 | 大唐移动通信设备有限公司 | Method and terminal for determining position information |
CN103968837A (en) * | 2014-04-25 | 2014-08-06 | 惠州华阳通用电子有限公司 | Method and device for correcting calibration factor of gyroscope in inertial navigation system |
CN104048663A (en) * | 2014-04-25 | 2014-09-17 | 惠州华阳通用电子有限公司 | Vehicular inertial navigation system and navigation method |
CN104644061A (en) * | 2013-11-20 | 2015-05-27 | 苏州科沃斯商用机器人有限公司 | Self-moveable robot with correcting device and correcting method of self-moveable robot |
CN104991560A (en) * | 2015-07-12 | 2015-10-21 | 仲恺农业工程学院 | Autonomous mobile intelligent robot |
CN106155056A (en) * | 2016-07-26 | 2016-11-23 | 广东宝乐机器人股份有限公司 | Self-movement robot traveling method and device |
CN106383515A (en) * | 2016-09-21 | 2017-02-08 | 哈尔滨理工大学 | Wheel-type moving robot obstacle-avoiding control system based on multi-sensor information fusion |
CN206883638U (en) * | 2017-03-28 | 2018-01-16 | 深圳光启合众科技有限公司 | Robot control system and robot |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100575708B1 (en) * | 2004-11-11 | 2006-05-03 | 엘지전자 주식회사 | Distance detection apparatus and method for robot cleaner |
JP2007040762A (en) * | 2005-08-01 | 2007-02-15 | Toyota Motor Corp | Optical gyro calibration system, robot equipped with optical gyro, and optical gyro calibration program |
KR101409987B1 (en) * | 2007-12-11 | 2014-06-23 | 삼성전자주식회사 | Method and apparatus for correcting pose of moving robot |
CN102121828B (en) * | 2010-12-21 | 2012-12-19 | 浙江大学 | Method for estimating body posture angle of humanoid robot in real time |
FR3000194B1 (en) * | 2012-12-24 | 2015-03-13 | Commissariat Energie Atomique | SIMPLIFIED CALIBRATION GYROSCOPE AND METHOD FOR SIMPLIFIED CALIBRATION OF A GYROSCOPE |
CN103245284A (en) * | 2013-05-14 | 2013-08-14 | 福州大学 | Gyroscope-chip-based steering wheel angle measurement method and device thereof |
CN104181925A (en) * | 2014-09-15 | 2014-12-03 | 湖南格兰博智能科技有限责任公司 | Automatic ground cleaning robot capable of automatically calibrating running route |
CN105806331A (en) * | 2014-12-30 | 2016-07-27 | Tcl集团股份有限公司 | Positioning method for indoor robot and indoor robot |
CN106969763B (en) * | 2017-04-07 | 2021-01-01 | 百度在线网络技术(北京)有限公司 | Method and apparatus for determining yaw angle of unmanned vehicle |
CN107632602A (en) * | 2017-09-01 | 2018-01-26 | 上海斐讯数据通信技术有限公司 | AGV trolley travelling tracks method for correcting error and system, terrestrial reference Quick Response Code acquisition device |
CN107861507A (en) * | 2017-10-13 | 2018-03-30 | 上海斐讯数据通信技术有限公司 | A kind of AGV control methods and system based on inertial navigation correction and SLAM indoor positionings |
-
2018
- 2018-04-27 CN CN201810392074.2A patent/CN108646733B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102457807A (en) * | 2010-10-20 | 2012-05-16 | 大唐移动通信设备有限公司 | Method and terminal for determining position information |
CN104644061A (en) * | 2013-11-20 | 2015-05-27 | 苏州科沃斯商用机器人有限公司 | Self-moveable robot with correcting device and correcting method of self-moveable robot |
CN103968837A (en) * | 2014-04-25 | 2014-08-06 | 惠州华阳通用电子有限公司 | Method and device for correcting calibration factor of gyroscope in inertial navigation system |
CN104048663A (en) * | 2014-04-25 | 2014-09-17 | 惠州华阳通用电子有限公司 | Vehicular inertial navigation system and navigation method |
CN104991560A (en) * | 2015-07-12 | 2015-10-21 | 仲恺农业工程学院 | Autonomous mobile intelligent robot |
CN106155056A (en) * | 2016-07-26 | 2016-11-23 | 广东宝乐机器人股份有限公司 | Self-movement robot traveling method and device |
CN106383515A (en) * | 2016-09-21 | 2017-02-08 | 哈尔滨理工大学 | Wheel-type moving robot obstacle-avoiding control system based on multi-sensor information fusion |
CN206883638U (en) * | 2017-03-28 | 2018-01-16 | 深圳光启合众科技有限公司 | Robot control system and robot |
Also Published As
Publication number | Publication date |
---|---|
CN108646733A (en) | 2018-10-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101008360B1 (en) | Appratus and method of calibration of a gyro sensor in a mobile robot. | |
US10867409B2 (en) | Methods and systems to compensate for vehicle calibration errors | |
CN106643805B (en) | Method for calibrating position of laser positioning sensor in AGV | |
US8538671B2 (en) | Apparatus and method for detecting position and orientation of mobile object | |
CN105172793B (en) | The pose evaluation method of autonomous driving vehicle | |
CN108058706B (en) | Lane keeping system and method | |
CN109813305B (en) | Unmanned fork truck based on laser SLAM | |
Kang et al. | Lane estimation using a vehicle kinematic lateral motion model under clothoidal road constraints | |
CN105737853B (en) | A kind of drift calibration method of robot inertial navigation system | |
CN108646733B (en) | Correction method of automatic correction mobile robot | |
Lee et al. | Kinematic parameter calibration of a car-like mobile robot to improve odometry accuracy | |
CN109870156B (en) | Autonomous navigation positioning method for low-cost micro-mechanical inertial navigation system for vehicle | |
CN114137975B (en) | Unmanned vehicle navigation deviation correcting method based on ultrasonic-assisted fusion positioning | |
Kang et al. | On-road vehicle localization with GPS under long term failure of a vision sensor | |
CN108995708B (en) | Automatic turning control method and device for vehicle | |
CN112097792A (en) | Ackerman model mobile robot odometer calibration method | |
De Cecco | Sensor fusion of inertial-odometric navigation as a function of the actual manoeuvres of autonomous guided vehicles | |
Lee et al. | Calibration of kinematic parameters of a car-like mobile robot to improve odometry accuracy | |
CN115752507A (en) | Online single-steering-wheel AGV parameter calibration method and system based on two-dimensional code navigation | |
Aref et al. | Position-based visual servoing for pallet picking by an articulated-frame-steering hydraulic mobile machine | |
CN114413791B (en) | Method, system and device for detecting steering wheel zero deflection angle of steering wheel type forklift | |
CN114475581A (en) | Automatic parking positioning method based on wheel speed pulse and IMU Kalman filtering fusion | |
CN115993089B (en) | PL-ICP-based online four-steering-wheel AGV internal and external parameter calibration method | |
CN114545944B (en) | AGV course positioning navigation method based on magnetic nail magnetic field intensity correction | |
JP7000283B2 (en) | Vehicle driving control device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |