CN103453875A - Real-time calculating method for pitch angle and roll angle of unmanned aerial vehicle - Google Patents
Real-time calculating method for pitch angle and roll angle of unmanned aerial vehicle Download PDFInfo
- Publication number
- CN103453875A CN103453875A CN2013103416796A CN201310341679A CN103453875A CN 103453875 A CN103453875 A CN 103453875A CN 2013103416796 A CN2013103416796 A CN 2013103416796A CN 201310341679 A CN201310341679 A CN 201310341679A CN 103453875 A CN103453875 A CN 103453875A
- Authority
- CN
- China
- Prior art keywords
- coordinate system
- image
- flow field
- sky
- theta
- 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.)
- Pending
Links
Images
Landscapes
- Image Analysis (AREA)
Abstract
The invention discloses a real-time calculating method for the pitch angle and the roll angle of an unmanned aerial vehicle. The method comprises the following steps: firstly, establishing a geodetic coordinate system, a body coordinate system and an image coordinate system; calculating an optical flow field of an image collected by a camera through an airborne calculator; extracting the position information of a heaven and earth segment line in the image coordinate system according to the characteristic of low speed of the optical flow field in the sky and high speed of the optical flow field on the ground; then, calculating slope and intercept of the heaven and earth segment line in the image coordinate system; establishing a corresponding relation between the geodetic coordinate system and the image coordinate system according to a camera projection model, and deducing a corresponding relation between the body coordinate system and the image coordinate system, namely the corresponding relation between the roll angle and the pitch angle of the unmanned aerial vehicle and the slope and the intercept of the heaven and earth segment line so as to further calculate information of the roll angle and the pitch angle of the unmanned aerial vehicle in real time. According to the method disclosed by the invention, few equipment is adopted and is simple, and the calculation result is easy to implement.
Description
Technical field
Invention relates to a kind of real-time computing technique for the unmanned plane angle of pitch and roll angle, belongs to the unmanned aerial vehicle (UAV) control technical field.
Background technology
At present, the real-time computing technique of the known unmanned plane angle of pitch and roll angle all completes by systems such as inertial measurement cluster, GPS, there are the part computing method to come detection feature object or unique point with two video cameras, thereby calculate the angle of pitch and the roll angle of unmanned plane.But the instrument and equipment weight that said method is used is large and system architecture is complicated, is not easy to unmanned plane and uses.
Summary of the invention
In view of this, the invention provides a kind ofly for the unmanned plane angle of pitch and roll angle real-time computing technique, only need a video camera, just can calculate in real time the unmanned plane angle of pitch and roll angle information.
A kind of for the unmanned plane angle of pitch and roll angle real-time computing technique, coordinate predefine: set up body axis system OXYZ, wherein initial point O is positioned at video camera photocentre place, and OZ is parallel with optical axis and point to head, and OY vertically points to the earth's core; Set up image coordinate system O
0uv, the video camera focal plane left upper apex of installing on the definition unmanned plane is O
o, u and v are respectively the both directions of focal plane horizontal and vertical;
The first step: set up the index J of search world cut-off rule,
J=D(u
sky)+D(v
sky)+D(u
grd)+D(v
grd)
D (u wherein
sky) mean the variance on the u direction of sky area light flow field, D (v
sky) mean the variance on the v direction of sky area light flow field, D (u
grd) mean the variance on the optical flow field u direction of the earth zone, D (v
grd) mean the variance on the optical flow field v direction of the earth zone;
Second step: utilize and be arranged on the camera acquisition image on unmanned plane, and obtain the optical flow field of image, based on index J, extract world cut-off rule at image coordinate system O
0straight-line equation in uv;
The detailed process of this step is:
At first, at image coordinate system O
0in uv, use the image of a straight cuts camera acquisition, and the straight line two side areas is defined as respectively to day dummy section and the earth zone; Secondly, the variance of calculated line two side areas optical flow field on u and v direction, obtain index J by these variance summations respectively; Again, this straight line is moved on image until travel through whole image-region, by index J value a hour corresponding straight line be defined as world cut-off rule, extract world cut-off rule at image coordinate system O
0straight-line equation v=ku+b in uv, wherein k is that straight slope and b are the straight line intercepts;
The 3rd step: the k in the straight-line equation v=ku+b of world cut-off rule and the corresponding relation between b substitution body axis system and image coordinate system are expressed to formula, calculate roll angle φ and pitching angle theta,
α wherein
xand α
ybe respectively from the imaging plane to the plane of delineation at the amplification coefficient of x direction and y direction, u
0and v
0be respectively the length of image and wide.
Beneficial effect:
1, the present invention only needs to use a video camera, does not need other redundance units, makes computing equipment simple in structure, easily realizes.
2, the present invention adopts to the extraction of the world cut-off rule method of calculating light stream, calculate the optical flow field of the image information that comprises world cut-off rule of camera acquisition, and by sparse and these the dense characteristics of earth light flow field of sky background optical flow field, divide world cut-off rule, with traditional roll angle and angle of pitch computing method, the method of particularly using world Area Ratio to obtain the angle of pitch is compared, and the precision as a result that this method obtains is higher.
3, the present invention in the situation that obtain the priori such as camera intrinsic parameter, carrys out the angle of pitch and the roll angle of calculating aircraft with the camera intrinsic parameter model, takes full advantage of existence conditions, makes simplify of arithmetic, has saved equipment cost.
The accompanying drawing explanation
The installation site schematic diagram that Fig. 1 is video camera of the present invention and unmanned plane;
The schematic diagram that Fig. 2 is three coordinate systems setting up of the present invention.
Fig. 3 extracts the algorithm flow chart of world cut-off rule in the present invention.
Wherein, 1. unmanned plane, 2. video camera, 3. the earth, 4. world cut-off rule, 5. earth coordinates, 6. body axis system, 7. image coordinate system.
Embodiment
Below in conjunction with the accompanying drawing embodiment that develops simultaneously, describe the present invention.
The invention provides a kind ofly for the unmanned plane angle of pitch and roll angle real-time computing technique, as shown in Figure 1, video camera 2 is connected with unmanned plane 1, is arranged on its head; Set up earth coordinates 5, body axis system 6 and 7, three coordinate systems of image coordinate system and be right-handed coordinate system; As shown in Figure 2, O
wx
wy
wz
wearth coordinates 5, O
wbe positioned at infinite point, O
wy
wstraight up, O
wz
wparallel with the body longitudinal axis; OXYZ is body axis system 6, and wherein O is positioned at video camera photocentre place, and OZ is parallel with optical axis and point to head, and OY vertically points to the earth's core; O
0uv is the image coordinate system 7 of imaging plane, and definition focal plane left upper apex is O
o, u and v are respectively the both directions of focal plane horizontal and vertical.
Utilize video camera 2 to collect image and obtain the optical flow field of image, extracting the positional information of world cut-off rule 4 in image coordinate system 7, calculating afterwards slope and the intercept of world cut-off rule 4 in image coordinate system 7, its extract and computation process as follows:
At first obtain the optical flow field of image, consider that the partial velocity variation of corresponding sky in optical flow field is comparatively mild, the part of corresponding ground changes comparatively violent; Therefore, if using the pixel of sky part correspondence as a set, its corresponding light stream velocity amplitude variance should be less; In like manner, above ground portion also has same alike result, and when the world is cut apart by ideal, sky part and above ground portion should have all features of minimum of variance, therefore adopts the index of following formula as search world cut-off rule 4:
J=D(u
sky)+D(v
sky)+D(u
grd)+D(v
grd)
D (u wherein
sky) mean the variance on the u direction of sky area light flow field, D (v
sky) mean the variance on the v direction of sky area light flow field, D (u
grd) mean the variance on the optical flow field u direction of the earth zone, D (v
grd) mean the variance on the optical flow field v direction of the earth zone;
In image coordinate system 7, the image that uses a straight cuts to obtain, suppose that the image length and width are for (u
0, v
0), parameter γ ∈ [0,180 °), the angle that wherein γ is straight line and horizontal direction, then calculate respectively the calculated line two side areas at optical flow field the variance on u and v direction, these variances are sued for peace and are designated as J; This straight line is moved on image until travel through whole image-region, the linear position that makes the value minimum of J is the position of world cut-off rule; Obtain thus the straight-line equation v=ku+b of world cut-off rule 4, wherein k is that straight slope and b are the straight line intercepts; Idiographic flow is as follows:
1: input initial value J=∞, γ=0 °, input picture length and width u
0, v
0, input intermediate variable B=0, K=0;
2: judge whether γ equals 90 °, if not, continues next step, if directly jump to 8;
3: make variable k=tan γ, b=0;
4: judge whether b is less than v
0-ku
0if,, continue next step, if not, directly jump to 7;
5: with straight line, v=ku+b is cut apart image, calculates D (u
sky), D (v
sky), D (u
grd) and D (v
grd), calculate J
1=D (u
sky)+D (v
sky)+D (u
grd)+D (v
grd), if J
1<J, make J=J
1, B=b, K=k, continue next step, otherwise,, to J, B and K assignment again, directly do not jump to 6;
6: make b from adding 1, jump to 4;
7: make γ from adding 1, jump to 2;
8: make b=B, k=K, output world cut-off rule equation v=ku+b, finish; As shown in Figure 3;
Can obtain the straight-line equation v=ku+b of world cut-off rule 4, wherein k is straight slope, and b is the straight line intercept;
Set up the corresponding relation between earth coordinates 5 and image coordinate system 7 according to the video camera projection model, and derive thus the corresponding relation between body axis system 6 and image coordinate system 7, its derivation step is as follows:
If on world cut-off rule 4, any point p is at O
wx
wy
wz
wearth coordinates 5 coordinates are (x
h, 0,0), if using the initial point O of camera coordinate system as center, because ground level is that circumference piles, can be by the initial point O of world coordinate system
wbe located on camera coordinate system yOz plane, like this, the world coordinates (X of video camera
w, Y
w, Z
w) can be set as (0, t
y, t
z), t wherein
ythe height of video camera apart from ground, t
zthe horizontal range of camera coordinate system initial point apart from world cut-off rule 4;
According to camera model, set up earth coordinates p (x
h, 0,0) 5 with image coordinate system 7 on to put the relation of p ' (u, v) as follows:
Wherein s is scale factor, m=[u, v, 1] be that a p ' is at image coordinate system O
0homogeneous coordinates on uv7, M is the Intrinsic Matrix of camera,
α in Intrinsic Matrix
xand α
yrespectively at x direction of principal axis and the axial amplification coefficient of y, α from the imaging plane to the plane of delineation
x, α
y, u
0and v
0by in advance the demarcation of video camera 2 being obtained;
be that video camera 2 rotates θ around the x axle respectively, around y axle rotation ψ, around the rotation matrix of z axle rotation φ, they are respectively:
The transition matrix that R is body axis system 6 and earth coordinates 5,
P
wfor the world coordinates of any point on the cut-off rule of the world,
T is world coordinate system initial point O
wcoordinate in camera coordinate system, be a translation vector, supposes O
won the xOy plane, have
By formula (2-8) substitution (1), the camera model deformable is:
Make s=1, (9) formula can be reduced to:
The displacement variable, order:
Can obtain:
When
the time, cancellation x
h, obtain:
By formula (11), can obtain:
For video camera,, in infinite point, therefore there is t in world cut-off rule 4
z>>t
yso:
That is:
Formula (13) can be write as:
By formula (11) substitution (16):
The above formula deformable is straight-line equation:
Above formula is the straight-line equation of world cut-off rule 4 in the plane of delineation, and its slope k and intercept b are respectively:
Roll angle φ and pitching angle theta can slope k and intercept b in above formula be tried to achieve respectively:
α wherein
xand α
ybe respectively from the imaging plane to the plane of delineation at the amplification coefficient of x direction and y direction, u
0and v
0be respectively the length of image and wide.
In sum, these are only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (1)
1. one kind for the unmanned plane angle of pitch and roll angle real-time computing technique, it is characterized in that, calculation procedure is as follows:
Coordinate predefine: set up body axis system OXYZ, wherein initial point O is positioned at video camera photocentre place, and OZ is parallel with optical axis and point to head, and OY vertically points to the earth's core; Set up image coordinate system O
0uv, the video camera focal plane left upper apex of installing on the definition unmanned plane is O
o, u and v are respectively the both directions of focal plane horizontal and vertical;
The first step: set up the index J of search world cut-off rule,
J=D(u
sky)+D(v
sky)+D(u
grd)+D(v
grd)
D (u wherein
sky) mean the variance on the u direction of sky area light flow field, D (v
sky) mean the variance on the v direction of sky area light flow field, D (u
grd) mean the variance on the optical flow field u direction of the earth zone, D (v
grd) mean the variance on the optical flow field v direction of the earth zone;
Second step: utilize and be arranged on the camera acquisition image on unmanned plane, and obtain the optical flow field of image, based on index J, extract world cut-off rule at image coordinate system O
0straight-line equation in uv;
The detailed process of this step is:
At first, at image coordinate system O
0in uv, use the image of a straight cuts camera acquisition, and the straight line two side areas is defined as respectively to day dummy section and the earth zone; Secondly, the variance of calculated line two side areas optical flow field on u and v direction, obtain index J by these variance summations respectively; Again, this straight line is moved on image until travel through whole image-region, by index J value a hour corresponding straight line be defined as world cut-off rule, extract world cut-off rule at image coordinate system O
0straight-line equation v=ku+b in uv, wherein k is that straight slope and b are the straight line intercepts;
The 3rd step: the k in the straight-line equation v=ku+b of world cut-off rule and the corresponding relation between b substitution body axis system and image coordinate system are expressed to formula, calculate roll angle φ and pitching angle theta,
α wherein
xand α
ybe respectively from the imaging plane to the plane of delineation at the amplification coefficient of x direction and y direction, u
0and v
0be respectively the length of image and wide.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013103416796A CN103453875A (en) | 2013-08-07 | 2013-08-07 | Real-time calculating method for pitch angle and roll angle of unmanned aerial vehicle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013103416796A CN103453875A (en) | 2013-08-07 | 2013-08-07 | Real-time calculating method for pitch angle and roll angle of unmanned aerial vehicle |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103453875A true CN103453875A (en) | 2013-12-18 |
Family
ID=49736506
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013103416796A Pending CN103453875A (en) | 2013-08-07 | 2013-08-07 | Real-time calculating method for pitch angle and roll angle of unmanned aerial vehicle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103453875A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105992980A (en) * | 2015-05-18 | 2016-10-05 | 深圳市大疆创新科技有限公司 | Unmanned aerial vehicle control method and device based on headless mode |
CN107340711A (en) * | 2017-06-23 | 2017-11-10 | 中国人民解放军陆军军官学院 | A kind of minute vehicle attitude angle automatic testing method based on video image |
CN109308720A (en) * | 2017-07-26 | 2019-02-05 | 德尔福技术有限责任公司 | The method for determining the roll angle of vehicle-mounted vidicon |
CN111586303A (en) * | 2020-05-22 | 2020-08-25 | 浩鲸云计算科技股份有限公司 | Control method and device for dynamically tracking road surface target by camera based on wireless positioning technology |
CN116242322A (en) * | 2023-05-11 | 2023-06-09 | 开拓导航控制技术股份有限公司 | Object rolling gesture detection method, device and system |
-
2013
- 2013-08-07 CN CN2013103416796A patent/CN103453875A/en active Pending
Non-Patent Citations (1)
Title |
---|
程序等: "基于直线模型的微型飞行器姿态角计算", 《北京理工大学学报》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105992980A (en) * | 2015-05-18 | 2016-10-05 | 深圳市大疆创新科技有限公司 | Unmanned aerial vehicle control method and device based on headless mode |
US11079750B2 (en) | 2015-05-18 | 2021-08-03 | SZ DJI Technology Co., Ltd. | Control methods and apparatuses based on headless mode for unmanned aerial vehicle |
CN107340711A (en) * | 2017-06-23 | 2017-11-10 | 中国人民解放军陆军军官学院 | A kind of minute vehicle attitude angle automatic testing method based on video image |
CN109308720A (en) * | 2017-07-26 | 2019-02-05 | 德尔福技术有限责任公司 | The method for determining the roll angle of vehicle-mounted vidicon |
CN109308720B (en) * | 2017-07-26 | 2022-01-25 | 德尔福技术有限责任公司 | Method for determining the roll angle of a vehicle-mounted camera |
CN111586303A (en) * | 2020-05-22 | 2020-08-25 | 浩鲸云计算科技股份有限公司 | Control method and device for dynamically tracking road surface target by camera based on wireless positioning technology |
CN116242322A (en) * | 2023-05-11 | 2023-06-09 | 开拓导航控制技术股份有限公司 | Object rolling gesture detection method, device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108802785B (en) | Vehicle self-positioning method based on high-precision vector map and monocular vision sensor | |
EP3215808B1 (en) | Systems and methods for generating improved environmental displays for vehicles | |
CN108868268A (en) | Based on point to identity distance from the unmanned vehicle position and orientation estimation method being registrated with cross-correlation entropy | |
US10378905B2 (en) | Auxiliary berthing method and system for vessel | |
US10424205B2 (en) | Auxiliary berthing method and system for vessel | |
CN104880187B (en) | A kind of method for estimating of the aircraft light stream pick-up unit based on twin camera | |
CN103954283B (en) | Inertia integrated navigation method based on scene matching aided navigation/vision mileage | |
CN102768042B (en) | Visual-inertial combined navigation method | |
CN101509782B (en) | Small-sized ground marker capturing and positioning method | |
CN106607907A (en) | Mobile vision robot and measurement and control method thereof | |
CN103453875A (en) | Real-time calculating method for pitch angle and roll angle of unmanned aerial vehicle | |
CN102991681A (en) | Ground target identification method in unmanned aerial vehicle vision landing system | |
CN102353377A (en) | High altitude long endurance unmanned aerial vehicle integrated navigation system and navigating and positioning method thereof | |
Zhang et al. | Robust inverse perspective mapping based on vanishing point | |
CN103345630A (en) | Traffic sign positioning method based on spherical panoramic video | |
CN104281148A (en) | Mobile robot autonomous navigation method based on binocular stereoscopic vision | |
CN104655135A (en) | Landmark-recognition-based aircraft visual navigation method | |
CN106127787A (en) | A kind of camera calibration method based on Inverse projection | |
CN105551020A (en) | Method and device for detecting dimensions of target object | |
CN111426320A (en) | Vehicle autonomous navigation method based on image matching/inertial navigation/milemeter | |
CN111443704A (en) | Obstacle positioning method and device for automatic driving system | |
KR20210034253A (en) | Method and device to estimate location | |
CN114923477A (en) | Multi-dimensional space-ground collaborative map building system and method based on vision and laser SLAM technology | |
CN110160503B (en) | Unmanned aerial vehicle landscape matching positioning method considering elevation | |
CN109341685B (en) | Fixed wing aircraft vision auxiliary landing navigation method based on homography transformation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20131218 |