CN113409240B - A method of agricultural machinery behavior analysis and operation area statistics based on Beidou positioning data - Google Patents

A method of agricultural machinery behavior analysis and operation area statistics based on Beidou positioning data Download PDF

Info

Publication number
CN113409240B
CN113409240B CN202010902540.4A CN202010902540A CN113409240B CN 113409240 B CN113409240 B CN 113409240B CN 202010902540 A CN202010902540 A CN 202010902540A CN 113409240 B CN113409240 B CN 113409240B
Authority
CN
China
Prior art keywords
area
points
agricultural machinery
point
calculate
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
Application number
CN202010902540.4A
Other languages
Chinese (zh)
Other versions
CN113409240A (en
Inventor
白金强
郝凤琦
刘霞
马德新
程广河
李成攻
孟庆龙
郝慧娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
National Supercomputing Center in Jinan
Original Assignee
National Supercomputing Center in Jinan
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by National Supercomputing Center in Jinan filed Critical National Supercomputing Center in Jinan
Priority to CN202010902540.4A priority Critical patent/CN113409240B/en
Publication of CN113409240A publication Critical patent/CN113409240A/en
Application granted granted Critical
Publication of CN113409240B publication Critical patent/CN113409240B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/393Trajectory determination or predictive tracking, e.g. Kalman filtering
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/20Image enhancement or restoration using local operators
    • G06T5/30Erosion or dilatation, e.g. thinning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10032Satellite or aerial image; Remote sensing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30181Earth observation
    • G06T2207/30188Vegetation; Agriculture
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A40/00Adaptation technologies in agriculture, forestry, livestock or agroalimentary production
    • Y02A40/10Adaptation technologies in agriculture, forestry, livestock or agroalimentary production in agriculture

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Quality & Reliability (AREA)
  • Geometry (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

一种基于北斗定位数据的农机行为分析与作业面积统计方法,包括农机作业区域的自动识别、计算面积、分析重叠面积和遗漏面积;所述农机作业区域的自动识别的方法为基于空间聚类的农机作业区域自动识别算法;所述计算面积的方法包括基于栅格的面积计算方法和基于轮廓的面积计算方法。本发明为了提高农机作业区域面积统计的精度以及效率,减少人力、物力以及时间的投入,适应现代农业发展的需求,提供了一种通过北斗定位数据自动分析农机行为以及统计作业区域面积的方法,可自动识别农机作业的每个子区域,可适用于重叠作业、遗漏作业同时存在情况下的面积统计。

Figure 202010902540

A method of agricultural machinery behavior analysis and operation area statistics based on Beidou positioning data, including automatic identification of agricultural machinery operation area, calculation area, analysis of overlapping area and missing area; the automatic identification method of agricultural machinery operation area is based on spatial clustering. An automatic identification algorithm for agricultural machinery operation area; the method for calculating the area includes a grid-based area calculation method and a contour-based area calculation method. In order to improve the accuracy and efficiency of the area statistics of the agricultural machinery operation area, reduce the input of manpower, material resources and time, and meet the needs of modern agricultural development, the invention provides a method for automatically analyzing the agricultural machinery behavior and counting the area of the operation area through the Beidou positioning data, It can automatically identify each sub-area of agricultural machinery operations, and can be applied to area statistics when overlapping operations and missing operations exist at the same time.

Figure 202010902540

Description

一种基于北斗定位数据的农机行为分析与作业面积统计方法A method of agricultural machinery behavior analysis and operation area statistics based on Beidou positioning data

技术领域technical field

本发明涉及一种基于北斗定位数据的农机行为分析与作业面积统计方法,属于农机作业数据采集及分析的技术领域。The invention relates to an agricultural machinery behavior analysis and operation area statistics method based on Beidou positioning data, and belongs to the technical field of agricultural machinery operation data collection and analysis.

背景技术Background technique

我国传统农业大部分仍是通过人工干预的方式完成,自动化程度不高,例如在农机作业面积统计、计算方面,大部分仍是采用人工划分、皮尺测量的方式实现,耗费大量的人力和时间,而且人工测量存在一定误差,且均为静态测量方式,无法实时地计算农机作业面积。Most of my country's traditional agriculture is still done through manual intervention, and the degree of automation is not high. For example, in the statistics and calculation of agricultural machinery operation area, most of them are still realized by manual division and tape measurement, which consumes a lot of manpower and time. Moreover, there are certain errors in manual measurement, and they are all static measurement methods, which cannot calculate the working area of agricultural machinery in real time.

精准农业是二十一世纪农业科技发展的重中之重,其科技含量高、集成综合性强,极大地提高了农业生产效率,成为现代化农业生产管理的重要目标。北斗定位导航系统作为核心支撑技术之一,在农业精细化播种及收获、农机实时定位监控、农机自动作业导航、远程指挥调度等方面发挥了不可替代的作用。随着大规模、集约化、区域性农业生产过程的普及,及时掌握农机作业区域和任务完成情况对于整体效率评估以及后续作业调度具有重要意义。传统的农机作业区域统计方法多数采用农机作业人员手动上报或委托第三方实地测绘实现,涉及人为因素较多、误差较大、并且耗费大量人力、物力和时间。针对上述问题,本领域技术人员提出的技术问题为:怎样利用动态计量的方式实现自动、准确的农机作业面积测量?Precision agriculture is the top priority of agricultural science and technology development in the 21st century. Its high technology content and strong integration and comprehensiveness greatly improve agricultural production efficiency and become an important goal of modern agricultural production management. As one of the core supporting technologies, Beidou positioning and navigation system has played an irreplaceable role in agricultural fine sowing and harvesting, real-time positioning and monitoring of agricultural machinery, automatic operation and navigation of agricultural machinery, and remote command and dispatch. With the popularization of large-scale, intensive, and regional agricultural production processes, it is of great significance to grasp the operation area of agricultural machinery and the completion of tasks in time for overall efficiency evaluation and subsequent operation scheduling. Most of the traditional agricultural machinery operation area statistical methods are implemented manually by agricultural machinery operators or by entrusting a third-party on-site surveying and mapping, which involves many human factors, large errors, and consumes a lot of manpower, material resources and time. In response to the above problems, the technical problem raised by those skilled in the art is: how to realize automatic and accurate measurement of agricultural machinery operation area by means of dynamic measurement?

目前在农机作业面积动态计量方面,主要有车轮转数测量法、超声波测量法、激光测量法以及基于定位导航系统(如GPS、北斗)的测量方法。车轮转数测量法主要利用速度传感器统计农机车轮转数,根据车轮半径间接计算出农机作业距离,然后通过农机作业幅宽乘以作业距离得出作业面积,该方法原理简单、成本低,但是农机在田地里多出现轮子打滑的情况,导致面积测量出现较大误差,而且无法准确测量农机存在重叠作业情况时的作业面积。超声波以及激光测量法原理上差不多,但是激光测量法精度要比超声波测量法高,其主要通过超声或激光传感器实时测量实际作业幅宽,然后结合速度传感器实现作业面积的计算,此方法能有效测量农机重叠作业时的面积,但是需要农作物作为参考,才能获得实际作业幅宽,多用于收获时的作业面积计算。基于定位导航的测量方法主要有基于边界的测量方法和基于轨迹的测量方法。其中,基于边界的测量方法多数是沿着农机作业区域绕行一周,然后采用三角形分割算法或者Simpson算法实现面积的计算。At present, in the dynamic measurement of agricultural machinery operation area, there are mainly wheel revolution measurement method, ultrasonic measurement method, laser measurement method and measurement method based on positioning and navigation systems (such as GPS and Beidou). The wheel revolution measurement method mainly uses the speed sensor to count the number of wheel revolutions of the agricultural machinery, indirectly calculates the working distance of the agricultural machinery according to the wheel radius, and then obtains the working area by multiplying the working width of the agricultural machinery by the working distance. This method is simple in principle and low in cost, but agricultural machinery Wheel slippage often occurs in the field, resulting in large errors in area measurement, and it is impossible to accurately measure the operating area when the agricultural machinery has overlapping operations. Ultrasonic and laser measurement methods are similar in principle, but the accuracy of laser measurement method is higher than that of ultrasonic measurement method. It mainly measures the actual working width in real time through ultrasonic or laser sensors, and then combines the speed sensor to calculate the working area. This method can effectively measure The area when the agricultural machinery overlaps, but the actual working width can be obtained only when the crops are used as a reference, which is mostly used for the calculation of the working area during harvesting. The measurement methods based on positioning and navigation mainly include boundary-based measurement methods and trajectory-based measurement methods. Among them, most of the boundary-based measurement methods are to circle around the agricultural machinery operation area, and then use the triangle segmentation algorithm or the Simpson algorithm to calculate the area.

基于边界的测量方法可用于任意形状的作业区域,一般区域越大,计算精度越高,但是无法统计遗漏作业区域的面积。The boundary-based measurement method can be used for any shape of operation area. Generally, the larger the area, the higher the calculation accuracy, but the area of the missing operation area cannot be counted.

基于轨迹的测量方法主要有幅宽法、缓冲区矢量法等计算方法。幅宽法是根据农机作业轨迹长度乘以作业幅宽来获得作业区域的面积,作业长度看作是相邻两个数据点之间的距离累加和,该方法可以动态、实时地计算农机作业面积,但是对于存在重叠作业区域时,无法准确计算作业面积,该方法多用于带有精确自主导航的农机进行满幅作业时的面积计算。缓冲区矢量法主要是构建轨迹线实体的缓冲区,其本质上就是根据农机运行轨迹,向轨迹两侧沿垂直方向平移半个作业幅宽的距离(假设定位终端在农机的中轴线上)得到两条平行线,并在平行线两端或一端采用光滑曲线进行拟合,最终得到的封闭区域即为线实体的缓冲区。The measurement methods based on the trajectory mainly include the calculation methods such as the width method and the buffer vector method. The breadth method is to obtain the area of the operation area according to the length of the operation track of the agricultural machinery multiplied by the operation width. The operation length is regarded as the cumulative sum of the distances between two adjacent data points. This method can dynamically and real-time calculate the operation area of the agricultural machinery. However, when there are overlapping operation areas, the operation area cannot be accurately calculated. This method is mostly used for the area calculation when the agricultural machinery with accurate autonomous navigation performs full-width operation. The buffer vector method is mainly to construct the buffer area of the trajectory line entity, which is essentially based on the running trajectory of the agricultural machinery, and translates the distance of half the working width along the vertical direction on both sides of the trajectory (assuming that the positioning terminal is on the central axis of the agricultural machinery) to get Two parallel lines are fitted with smooth curves at both ends or one end of the parallel lines, and the final closed area is the buffer area of the line entity.

缓冲区矢量法可用于任意形状的作业区域,可统计有效作业以及遗漏作业区域面积,但设计的计算复杂度较高,涉及到多种、多次求交运算。The buffer vector method can be used for any shape of operation area, and it can count the area of effective operation and missing operation area, but the calculation complexity of the design is relatively high, involving multiple and multiple intersection operations.

针对上述技术问题,中国专利文献公开了以下技术内容:In view of the above technical problems, Chinese patent documents disclose the following technical contents:

中国专利文献CN107036572B公开一种农机作业面积获取方法及装置,包括:接收农机定位装置发送的农机作业轨迹数据;基于作业速度改进dbscan聚类算法的邻域半径确定方法;采用改进的dbscan聚类算法过滤农机作业轨迹数据中的道路行驶点和田间转场点;根据过滤后的农机作业轨迹数据确定农机作业田块数量;利用距离法分别计算各个农机作业田块的面积。但是该专利文献所述的方法并不适合现有农机作业轨迹数据的采集要求:其农机作业轨迹数据中要求包含速度、航向信息,由此,距离法不适用于重叠作业时的面积统计分析。Chinese patent document CN107036572B discloses a method and device for obtaining agricultural machinery operation area, including: receiving agricultural machinery operation trajectory data sent by an agricultural machinery positioning device; improving the neighborhood radius determination method of the dbscan clustering algorithm based on the operation speed; using the improved dbscan clustering algorithm Filter the road driving points and field transition points in the agricultural machinery operation trajectory data; determine the number of agricultural machinery operation fields according to the filtered agricultural machinery operation trajectory data; use the distance method to calculate the area of each agricultural machinery operation field. However, the method described in this patent document is not suitable for the acquisition requirements of the existing agricultural machinery operation trajectory data: the agricultural machinery operation trajectory data needs to include speed and heading information, so the distance method is not suitable for area statistical analysis during overlapping operations.

中国专利文献CN107462208A公开一种农机及农机作业面积测量装置和测量方法,通过农机上的作业面积测量装置实时采集经纬度数据,记录农机运行轨迹;移除发生偏移的经纬度信息点,确定农机作业轨迹;将所述农机作业轨迹图形的轮廓线确定为作业区域边界线;基于多个测量基准点与作业区域边界线计算作业区域面积。本发明通过去除偏移点、补充空白点的方式准确确定出作业区域边界线,进一步通过多测量基准点计算作业区域面积,具有测量速度快精度高的优点。该文献的技术本质上采用的是基于边界的面积计算方法,因而无法分析、统计遗漏作业区域的面积。Chinese patent document CN107462208A discloses an agricultural machinery and an agricultural machinery working area measuring device and a measuring method. The latitude and longitude data is collected in real time through the working area measuring device on the agricultural machinery, and the running track of the agricultural machinery is recorded; the offset latitude and longitude information points are removed to determine the working track of the agricultural machinery. ; Determine the contour line of the agricultural machinery operation track graph as the boundary line of the operation area; calculate the area of the operation area based on a plurality of measurement reference points and the boundary line of the operation area. The invention accurately determines the boundary line of the operation area by removing the offset points and supplementing the blank points, and further calculates the area of the operation area through multiple measurement reference points, and has the advantages of fast measurement speed and high precision. The technology in this document essentially adopts the area calculation method based on the boundary, so it is impossible to analyze and count the area of the missing work area.

中国专利文献CN107843228B公开一种多层扫描时序空间轨迹面积的获取方法,包括:对农机作业轨迹上运行轨迹点进行高斯克吕格投影;获取运行轨迹点坐标的第一外接矩形;针对每相邻的两个运行轨迹点的坐标,分别生成线缓冲区;扫描每个线缓冲区并栅格化,计算每个线缓冲区所覆盖的栅格面积之和,得到第一作业面积;再次扫描每个线缓冲区,对每个线缓冲区中未完全覆盖的栅格重新栅格化,计算每个线缓冲区所覆盖的栅格的面积之和,得到第二作业面积;第二作业面积与第一作业面积的差值的绝对值小于设定误差阈值时,将第二作业面积作为农机的实际作业面积。本专利文献计算面积采用的是缓冲区矢量法和栅格法相结合的方式,并且涉及到两次测量,计算复杂度较高,而且无法自动识别作业区域,无法分析、统计遗漏作业区域的面积。Chinese patent document CN107843228B discloses a method for obtaining track area in multi-layer scanning time series, which includes: performing Gauss-Kruger projection on the running track points on the agricultural machinery operation track; obtaining the first circumscribed rectangle of the coordinates of the running track points; The coordinates of the two running track points are generated, and line buffers are generated respectively; each line buffer is scanned and rasterized, and the sum of the grid areas covered by each line buffer is calculated to obtain the first working area; each line buffer is scanned again. There are line buffers, re-rasterize the incompletely covered grids in each line buffer, calculate the sum of the areas of the grids covered by each line buffer, and obtain the second working area; the second working area is the same as When the absolute value of the difference of the first working area is smaller than the set error threshold, the second working area is taken as the actual working area of the agricultural machinery. This patent document calculates the area by a combination of the buffer vector method and the grid method, and involves two measurements. The calculation complexity is high, and the operation area cannot be automatically identified, and the area of the missing operation area cannot be analyzed and counted.

综上,本发明利用北斗定位终端实现农机行驶轨迹的实时采集,进而提出一种分析农机行为的方法,其只依靠农机运行的经纬度信息、时间以及作业幅宽便可自动识别农机作业区域,分析统计农机有效作业、遗漏作业、重叠作业时的面积。To sum up, the present invention utilizes the Beidou positioning terminal to realize the real-time collection of the driving trajectories of agricultural machinery, and further proposes a method for analyzing the behavior of agricultural machinery, which can automatically identify the operating area of agricultural machinery only by relying on the latitude and longitude information, time and operation width of the operation of the agricultural machinery. The area of effective operation, missing operation, and overlapping operation of agricultural machinery is counted.

发明内容SUMMARY OF THE INVENTION

针对现有技术的不足,本发明公开一种基于北斗定位数据的农机行为分析与作业面积统计方法。Aiming at the deficiencies of the prior art, the present invention discloses a method for analyzing the behavior of agricultural machinery and statistical operation area based on Beidou positioning data.

本发明的目的在于:为了提高农机作业区域面积统计的精度以及效率,减少人力、物力以及时间的投入,适应现代农业发展的需求,提供了一种通过北斗定位数据自动分析农机行为以及统计作业区域面积的方法,可自动识别农机作业的每个子区域,可适用于重叠作业、遗漏作业同时存在情况下的面积统计。The purpose of the present invention is: in order to improve the accuracy and efficiency of the area statistics of agricultural machinery operation areas, reduce the input of manpower, material resources and time, and meet the needs of modern agricultural development, it provides an automatic analysis of agricultural machinery behavior and statistical operation areas through Beidou positioning data. The area method can automatically identify each sub-area of agricultural machinery operations, and can be applied to area statistics when overlapping operations and missing operations exist at the same time.

本发明详细的技术方案如下:The detailed technical scheme of the present invention is as follows:

一种基于北斗定位数据的农机行为分析与作业面积统计方法,其特征在于,包括农机作业区域的自动识别、计算面积、分析重叠面积和遗漏面积;A method of agricultural machinery behavior analysis and operation area statistics based on Beidou positioning data, characterized in that it includes automatic identification of agricultural machinery operation areas, calculation of area, analysis of overlapping area and omission area;

所述农机作业区域的自动识别的方法为基于空间聚类的农机作业区域自动识别算法;The method for automatic identification of the agricultural machinery operation area is an automatic identification algorithm of the agricultural machinery operation area based on spatial clustering;

所述计算面积的方法包括基于栅格的面积计算方法和基于轮廓的面积计算方法;The method for calculating the area includes a grid-based area calculation method and a contour-based area calculation method;

所述分析重叠面积的方法为,根据轨迹长度乘以幅宽得到的面积减去基于栅格的面积计算方法得到的面积而计算出:The method for analyzing the overlapping area is to calculate the area obtained by multiplying the track length by the width minus the area obtained by the grid-based area calculation method:

Figure BDA0002660249220000031
Figure BDA0002660249220000031

其中d(Qi,Qi+1)表示农机作业相邻轨迹点之间的距离;where d(Q i , Q i+1 ) represents the distance between adjacent track points of agricultural machinery operations;

所述分析遗漏面积的方法为:The method for analyzing the missing area is:

Smiss=Scontour-SgridS miss =S contour -S grid ;

其中,所述Scontour是基于轮廓的面积;所述Sgrid是计算基于栅格的面积。Wherein, the Scontour is the area based on the contour; the Sgrid is the area based on the calculation grid.

根据本发明优选的,所述基于空间聚类的农机作业区域自动识别算法包括:Preferably according to the present invention, the automatic identification algorithm of agricultural machinery operation area based on spatial clustering includes:

1-1)农机作业数据获取1-1) Acquisition of agricultural machinery operation data

通过车载北斗定位终端以及GPRS移动通信设备获得农机作业的轨迹数据集合P={P1(t1,lat1,long1),P2(t2,lat2,long2),…,Pn(tn,latn,longn),其中t表示时间,lat表示维度,long表示经度,n表示轨迹点总的数量;The track data set P={P 1 (t 1 , lat 1 , long 1 ), P 2 (t 2 , lat 2 , long 2 ), ..., P n is obtained through the vehicle-mounted Beidou positioning terminal and the GPRS mobile communication device. (t n , lat n , long n ), where t represents time, lat represents latitude, long represents longitude, and n represents the total number of trajectory points;

1-2)数据预处理1-2) Data preprocessing

所述预处理是指剔除数据异常点、漂移点、停歇点和随机噪声点;The preprocessing refers to eliminating data abnormal points, drift points, stop points and random noise points;

1-3)投影1-3) Projection

得UTM坐标系下的数据点集合Q={Q1(t1,x1,y1),Q2(t2,x2,y2),…,Qn(tn,xn,yn);A set of data points in the UTM coordinate system Q={Q 1 (t 1 , x 1 , y 1 ), Q 2 (t 2 , x 2 , y 2 ), ..., Q n (t n , x n , y ) n );

1-4)空间聚类1-4) Spatial clustering

利用空间聚类对作业区域进行识别,识别的具体步骤如下:Using spatial clustering to identify the work area, the specific steps of identification are as follows:

1-4-1)以预处理之后的每个数据点为圆心,以一定半径r画圆圈,圆圈内有多少个相邻的数据点成为该点的密度值;1-4-1) Take each data point after preprocessing as the center of the circle, draw a circle with a certain radius r, and how many adjacent data points in the circle become the density value of the point;

1-4-2)如果该点的密度值小于设定阈值min_pts,那么标记该点为低密度点,否则为高密度点;1-4-2) If the density value of the point is less than the set threshold min_pts, then mark the point as a low density point, otherwise it is a high density point;

1-4-3)如果某个高密度点在另一个高密度点的圆圈内,则将两点连接起来;如果某一低密度点在另一个高密度点的圆圈内,也将其连接到距离最近的高密度点上,成为边界点;1-4-3) If a high-density point is inside the circle of another high-density point, connect the two points; if a low-density point is inside the circle of another high-density point, also connect it to On the nearest high-density point, it becomes the boundary point;

1-4-4)重复步骤1-4-2)、1-4-3),剔除不在任何高密度点的圈内的低密度点,保留高密度点集合为农机作业区域的轨迹点;1-4-4) Repeat steps 1-4-2) and 1-4-3), remove the low-density points that are not in the circle of any high-density points, and retain the high-density point set as the trajectory points of the agricultural machinery operation area;

1-5)计算基于轮廓的面积Scontour;1-5) Calculate the area Scontour based on the contour;

1-6)计算基于栅格的面积Sgrid;1-6) Calculate the grid-based area Sgrid;

1-7)分析所述分析重叠面积的方法为:1-7) The method of analyzing the overlapping area of the analysis is:

根据轨迹长度乘以幅宽得到的面积减去基于栅格的面积计算方法得到的面积而计算出:Calculated as the area obtained by multiplying the track length by the width minus the area obtained by the grid-based area calculation method:

Figure BDA0002660249220000041
Figure BDA0002660249220000041

其中d(Qi,Qi+1)表示农机作业相邻轨迹点之间的距离;where d(Q i , Q i+1 ) represents the distance between adjacent track points of agricultural machinery operations;

所述分析遗漏面积的方法为:The method for analyzing the missing area is:

Smiss=Scontour-SgridS miss = S contour - S grid .

根据本发明优选的,所述步骤1-2)数据预处理的方法包括,但不限定剔除数据的顺序:Preferably according to the present invention, the method of step 1-2) data preprocessing includes, but does not limit the order of excluding data:

1-2-1)剔除异常点:任意农机轨迹点应满足P(t,lat,long):1-2-1) Eliminate abnormal points: any agricultural machinery trajectory point should satisfy P(t, lat, long):

lat∈[-90°,90°]lat∈[-90°, 90°]

long∈[-180°,180°]long∈[-180°, 180°]

将不满足上述公式的数据点作为异常点剔除;Remove data points that do not satisfy the above formula as outliers;

1-2-2)剔除漂移点:对于相邻的2个轨迹点Pi(ti,lati,longi),Pi+1(ti+1,lati+1,longi+1)计算农机的运行速度:1-2-2) Eliminate drift points: for two adjacent track points P i (t i , lat i , long i ), P i+1 (t i+1 , lat i+1 , long i+1 ) to calculate the operating speed of the agricultural machinery:

Figure BDA0002660249220000042
Figure BDA0002660249220000042

其中d(Pi,Pi+1)表示相邻轨迹点Pi、Pi+1之间的距离,将v(PiPi+1)>vmax的轨迹点剔除,其中vmax为农机的最大运行速度;where d(P i , P i+1 ) represents the distance between adjacent trajectory points P i and P i+1 , and the trajectory points with v(P i P i+1 )>v max are eliminated, where v max is The maximum operating speed of the agricultural machinery;

1-2-3)剔除停歇点:对于k个连续的农机运行轨迹点计算其平均速度:1-2-3) Eliminate the stopping point: Calculate the average speed for k consecutive agricultural machinery running track points:

Figure BDA0002660249220000043
Figure BDA0002660249220000043

剔除平均速度小于一定阈值δ的轨迹点进行剔除;Eliminate trajectory points whose average speed is less than a certain threshold δ;

1-2-4)剔除随机噪声点:对于相邻的2个轨迹点Pi(ti,lati,longi),Pi+1(ti+1,lati+1,longi+1)计算其方向:1-2-4) Eliminate random noise points: for two adjacent trajectory points P i (t i , lat i , long i ), P i+1 (t i+1 , lat i+1 , long i+ 1 ) Calculate its orientation:

Figure BDA0002660249220000051
Figure BDA0002660249220000051

将其转化为单位向量的表示方法:θi,i+1→(cos(θi,i+1),sin(θi,i+1)),那么对于k个连续的农机运行轨迹点计算其方向均值为:Convert it to the representation method of unit vector: θ i, i+1 → (cos(θ i, i+1 ), sin(θ i, i+1 )), then for k consecutive agricultural machinery running trajectory points to calculate Its direction mean is:

Figure BDA0002660249220000052
Figure BDA0002660249220000052

计算其标准差为:Calculate its standard deviation as:

Figure BDA0002660249220000053
Figure BDA0002660249220000053

将标准差大于一定阈值的点剔除。Eliminate points with standard deviation greater than a certain threshold.

根据本发明优选的,所述15)计算基于轮廓的面积Scontour的方法,基于轮廓的面积计算方法包括以下步骤:Preferably according to the present invention, described 15) calculate the method for the area Scontour based on the outline, the area calculation method based on the outline comprises the following steps:

1-5-1)凹包计算1-5-1) Concave Packet Calculation

根据聚类得到的数据点,对每一类数据点进行凹包计算,具体步骤如下:According to the data points obtained by clustering, the concave hull calculation is performed for each type of data point, and the specific steps are as follows:

(1)找到y值最小的点,y值相同则取x值最大的点,作为起始点O;(1) Find the point with the smallest y value. If the y value is the same, take the point with the largest x value as the starting point O;

(2)从起始点O出发,以(1,0)为基准向量,先找一个小于半径为R的边作为初始边,此时该点为A;(2) Starting from the starting point O, with (1, 0) as the reference vector, first find an edge smaller than the radius R as the initial edge, and this point is A at this time;

(3)循环找接下来的边,假设上一条边为AB,那么下一条边必然从B点开始,连接到B的R邻域内的一个点C,寻找点C使用如下规则:先对B的R邻域内的点,以B为中心、BA向量为基准进行极坐标方向排序,然后依次为B的R邻域内的点C0~Cn建立以BCi为弦的圆,然后检查其中是否包含其它的邻域点,若不存在,则该弦即为新的边,跳出循环;(3) Loop to find the next edge. Assuming that the previous edge is AB, then the next edge must start from point B and connect to a point C in the R neighborhood of B. Use the following rules to find point C: The points in the R neighborhood are sorted in the polar coordinate direction with B as the center and the BA vector as the reference, and then a circle with BC i as the chord is established for the points C 0 ~ C n in the R neighborhood of B in turn, and then checks whether it contains If other neighbor points do not exist, the chord is a new edge and jumps out of the loop;

(4)依次找到所有的边,直到找不到新的边或者遇到之前已经作为边的点为止;(4) Find all the edges in turn until no new edge is found or a point that has been used as an edge before is encountered;

1-5-2)计算面积1-5-2) Calculate the area

计算每个类别的凹包得到多个多边形,然后采用三角形分割算法或者Simpson算法计算多边形面积,得到Scontour_in,即Calculate the concave hull of each category to obtain multiple polygons, and then use the triangle segmentation algorithm or the Simpson algorithm to calculate the polygon area to obtain S contour_in , that is

Figure BDA0002660249220000054
Figure BDA0002660249220000054

其中w表示作业幅宽,d(Qi,Qi+1)表示相邻边界点Qi、Qi+1之间的距离。where w represents the working width, and d(Q i , Qi +1 ) represents the distance between adjacent boundary points Qi and Qi +1 .

根据本发明优选的,所述步骤16)计算基于栅格的面积Sgrid的方法如下:Preferably according to the present invention, the method for calculating the grid-based area Sgrid in the step 16) is as follows:

1-6-1)区域膨胀,区域膨胀是根据农机轨迹数据以及幅宽对实际作业区域进行栅格化处理,具体步骤如下:1-6-1) Regional expansion, regional expansion is to rasterize the actual operation area according to the agricultural machinery track data and width. The specific steps are as follows:

(a-1)找到x,y的最小值xmin,ymin以及最大值xmax,ymax(a-1) Find the minimum value x min , y min and the maximum value x max , y max of x, y;

(a-2)根据像元与实际尺寸的比例μ确定要开辟的栅格矩阵大小:(a-2) Determine the size of the grid matrix to be developed according to the ratio μ of the pixel to the actual size:

Figure BDA0002660249220000061
Figure BDA0002660249220000061

Figure BDA0002660249220000062
Figure BDA0002660249220000062

其中ε表示额外的边界,保证数据点都位于矩阵内;开辟表示栅格矩阵的二维数组,并初始化为0;Where ε represents an additional boundary to ensure that the data points are all located in the matrix; open up a two-dimensional array representing the grid matrix and initialize it to 0;

(a-3)根据农机轨迹以及幅宽计算要膨胀的区域:(a-3) Calculate the area to be expanded according to the trajectory and width of the agricultural machinery:

已知相邻农机运行轨迹点Qi(ti,xi,yi),Qi+1(ti+1,xi+1,yi+1)以及作业幅宽w,对其进行区域膨胀实际上就是求Q′i,Q″i,Q′i+1,Q″i+1四个点的坐标:Knowing the adjacent agricultural machinery running track points Q i (t i , x i , y i ), Q i+1 (t i+1 , x i+1 , y i+1 ) and the working width w, carry out Area expansion is actually to find the coordinates of four points Q′ i , Q″ i , Q′ i+1 , Q″ i+1 :

Figure BDA0002660249220000063
Figure BDA0002660249220000063

Figure BDA0002660249220000064
Figure BDA0002660249220000064

Q′i(x′i,y′i)=(xix,yiy)Q' i (x' i , y' i )=(x ix , y iy )

Q″i(x″i,y″i)=(xix,yiy)Q″ i (x″ i , y″ i )=(x ix , y iy )

Q′i+1(x′i+1,y′i+1)=(xi+1x,yi+1y)Q' i+1 (x' i+1 , y' i+1 )=(x i+1x , y i+1y )

Q″i+1(x″i+1,y″i+1)=(xi+1x,yi+1y)Q″ i+1 (x″ i+1 , y″ i+1 )=(x i+1x , y i+1y )

根据Q′i,Q″i,Q′i+1,Q″i+1这四个点生成的矩形以及Q′i+1,Q″i+1这两个点生成的以

Figure BDA0002660249220000065
为半径的半圆与栅格矩阵进行叠加处理:得到栅格化的农机运行轨迹图;According to the rectangle generated by the four points Q′ i , Q″ i , Q′ i+1 , Q″ i+1 and the rectangle generated by the two points Q′ i+1 , Q″ i+1
Figure BDA0002660249220000065
Superimpose the semicircle with the radius and the grid matrix: get the rasterized agricultural machinery running track map;

1-6-2)计算面积1-6-2) Calculate the area

根据上述栅格矩阵,统计栅格单元值为1的数量,然后根据像元与实际尺寸的比例计算面积:According to the above grid matrix, count the number of grid cells with a value of 1, and then calculate the area according to the ratio of the cell to the actual size:

Sgrid=N*w2 S grid =N*w 2

其中N为栅格单元值为1的数量。where N is the number of grid cells with a value of 1.

本发明的技术优势在于:The technical advantages of the present invention are:

1.本发明可自动识别农机作业区域,减少了人力、物力以及时间的投入,识别结果如附图所示。1. The present invention can automatically identify the agricultural machinery operation area, reducing the input of manpower, material resources and time, and the identification results are shown in the attached drawings.

2.本发明可实时统计分析农机作业区域的有效耕作面积、遗漏区域面积、重叠耕作面积,为精准农业分析提供了基础。2. The present invention can make real-time statistical analysis of the effective farming area, the missing area and the overlapping farming area of the agricultural machinery operation area, which provides a basis for precision agricultural analysis.

3.本发明可适用于低成本的定位终端,对定位数据存在的噪声、漂移不敏感。3. The present invention is applicable to low-cost positioning terminals, and is insensitive to noise and drift in positioning data.

4.本发明仅需要农机全天的定位数据以及作业幅宽即可有效分析农机作业面积,无需其它硬件告知算法模型农机是否处于作业状态。4. The present invention only needs the all-day positioning data and the working width of the agricultural machinery to effectively analyze the working area of the agricultural machinery, and does not need other hardware to inform the algorithm model whether the agricultural machinery is in the working state.

5.本发明不仅可以统计农机全天总的有效作业面积,而且可以有效统计各个子作业区域面积。5. The present invention can not only count the total effective operation area of agricultural machinery throughout the day, but also effectively count the area of each sub-operation area.

附图说明Description of drawings

图1是本发明所述方案的流程图;Fig. 1 is the flow chart of the scheme of the present invention;

图2是农机监管平台示意图;Figure 2 is a schematic diagram of the agricultural machinery supervision platform;

图3是农机行驶轨迹示意图;Fig. 3 is the schematic diagram of the driving track of agricultural machinery;

图4是农机行驶轨迹的外围轮廓;Figure 4 is the outer contour of the driving track of the agricultural machinery;

图5是区域膨胀的示意图;Fig. 5 is the schematic diagram of area expansion;

图6是栅格化农机运行轨迹示意图;Fig. 6 is the schematic diagram of the running track of grid agricultural machinery;

图7是凹包计算时寻找新边的原理说明图;Fig. 7 is the principle explanatory diagram of finding new edge during concave hull calculation;

图8是基于边界的作业区域面积计算方法的坐标示意图;Fig. 8 is a coordinate schematic diagram of a boundary-based work area area calculation method;

图9a-图9f是本发明实施例中,剔除掉重合区域和遗漏区域干扰后,得到的农机作业区域的图像。9a-9f are images of the agricultural machinery operation area obtained after eliminating the interference of the overlapping area and the missing area in the embodiment of the present invention.

具体实施方式Detailed ways

下面结合实施例和说明书附图对本发明做详细的说明,但不限于此。The present invention will be described in detail below with reference to the embodiments and the accompanying drawings, but is not limited thereto.

实施例、example,

如图1所示,一种基于北斗定位数据的农机行为分析与作业面积统计方法,包括农机作业区域的自动识别、计算面积、分析重叠面积和遗漏面积;As shown in Figure 1, a method of agricultural machinery behavior analysis and operation area statistics based on Beidou positioning data, including automatic identification of agricultural machinery operation area, calculation area, analysis of overlapping area and omission area;

所述农机作业区域的自动识别的方法为基于空间聚类的农机作业区域自动识别算法;The method for automatic identification of the agricultural machinery operation area is an automatic identification algorithm of the agricultural machinery operation area based on spatial clustering;

所述计算面积的方法包括基于栅格的面积计算方法和基于轮廓的面积计算方法;The method for calculating the area includes a grid-based area calculation method and a contour-based area calculation method;

所述分析重叠面积的方法为,根据轨迹长度乘以幅宽得到的面积减去基于栅格的面积计算方法得到的面积而计算出:The method for analyzing the overlapping area is to calculate the area obtained by multiplying the track length by the width minus the area obtained by the grid-based area calculation method:

Figure BDA0002660249220000071
Figure BDA0002660249220000071

其中d(Qi,Qi+1)表示农机作业相邻轨迹点之间的距离;where d(Q i , Q i+1 ) represents the distance between adjacent track points of agricultural machinery operations;

所述分析遗漏面积的方法为:The method for analyzing the missing area is:

Smiss=Scontour-SgridS miss =S contour -S grid ;

其中,所述Scontour是基于轮廓的面积;所述Sgrid是计算基于栅格的面积。Wherein, the Scontour is the area based on the contour; the Sgrid is the area based on the calculation grid.

所述基于空间聚类的农机作业区域自动识别算法包括:The automatic identification algorithm of agricultural machinery operation area based on spatial clustering includes:

1-1)农机作业数据获取1-1) Acquisition of agricultural machinery operation data

如图2所示,通过车载北斗定位终端以及GPRS移动通信设备获得农机作业的轨迹数据集合P={P1(t1,lat1,long1),P2(t2,lat2,long2),…,Pn(tn,latn,longn),其中t表示时间,lat表示维度,long表示经度,n表示轨迹点总的数量;As shown in Figure 2, the track data set P={P 1 (t 1 , lat 1 , long 1 ), P 2 (t 2 , lat 2 , long 2 ) is obtained through the vehicle-mounted Beidou positioning terminal and the GPRS mobile communication device. ), ..., P n (t n , lat n , long n ), where t represents time, lat represents latitude, long represents longitude, and n represents the total number of track points;

1-2)数据预处理1-2) Data preprocessing

所述预处理是指剔除数据异常点、漂移点、停歇点和随机噪声点;The preprocessing refers to eliminating data abnormal points, drift points, stop points and random noise points;

1-3)投影1-3) Projection

为便于后续面积及两点之间距离的计算,需要将经纬度信息(WGS84坐标系)转化为平面直角坐标系(UTM坐标系)下的数据点,得UTM坐标系下的数据点集合Q={Q1(t1,x1,y1),Q2(t2,x2,y2),…,Qn(tn,xn,yn);In order to facilitate the calculation of the subsequent area and the distance between two points, it is necessary to convert the latitude and longitude information (WGS84 coordinate system) into data points in the plane Cartesian coordinate system (UTM coordinate system), and obtain the set of data points in the UTM coordinate system Q={ Q 1 (t 1 , x 1 , y 1 ), Q 2 (t 2 , x 2 , y 2 ), ..., Q n (t n , x n , y n );

1-4)空间聚类1-4) Spatial clustering

根据农机行驶数据点的划分,公路行驶点以及田间转移行驶点与实际作业点在空间分布上具有不同之处:如图3、4所示,作业区域的轨迹点分布较为稠密,而公路行驶以及田间转移区域的轨迹点分布较为稀疏,利用空间聚类对作业区域进行识别,识别的具体步骤如下:According to the division of agricultural machinery driving data points, there are differences in the spatial distribution of road driving points and field transfer driving points and actual operating points: as shown in Figures 3 and 4, the distribution of trajectory points in the operating area is relatively dense, while road driving and The distribution of track points in the field transfer area is relatively sparse, and spatial clustering is used to identify the operation area. The specific steps of identification are as follows:

1-4-1)以预处理之后的每个数据点为圆心,以一定半径r画圆圈,圆圈内有多少个相邻的数据点成为该点的密度值;1-4-1) Take each data point after preprocessing as the center of the circle, draw a circle with a certain radius r, and how many adjacent data points in the circle become the density value of the point;

1-4-2)如果该点的密度值小于设定阈值min_pts,那么标记该点为低密度点,否则为高密度点;1-4-2) If the density value of the point is less than the set threshold min_pts, then mark the point as a low density point, otherwise it is a high density point;

1-4-3)如果某个高密度点在另一个高密度点的圆圈内,则将两点连接起来;如果某一低密度点在另一个高密度点的圆圈内,也将其连接到距离最近的高密度点上,成为边界点;1-4-3) If a high-density point is inside the circle of another high-density point, connect the two points; if a low-density point is inside the circle of another high-density point, also connect it to On the nearest high-density point, it becomes the boundary point;

1-4-4)重复步骤1-4-2)、1-4-3),剔除不在任何高密度点的圈内的低密度点,保留高密度点集合为农机作业区域的轨迹点,所有能够连接在一起的点就构成一类,而不在任何高密度点的圈内的低密度点就是异常点(即公路行驶点或田间转移点),可以剔除掉,从而得到高密度点(即农机作业区域的轨迹点);1-4-4) Repeat steps 1-4-2) and 1-4-3), remove the low-density points that are not in the circle of any high-density points, and keep the high-density point set as the trajectory points of the agricultural machinery operation area. The points that can be connected together form a class, and the low-density points that are not in the circle of any high-density points are abnormal points (ie road driving points or field transfer points), which can be eliminated to obtain high-density points (ie agricultural machinery). track points in the work area);

1-5)计算基于轮廓的面积Scontour;1-5) Calculate the area Scontour based on the contour;

1-6)计算基于栅格的面积Sgrid;1-6) Calculate the grid-based area Sgrid;

1-7)分析所述分析重叠面积的方法为:1-7) The method of analyzing the overlapping area of the analysis is:

根据轨迹长度乘以幅宽得到的面积减去基于栅格的面积计算方法得到的面积而计算出:Calculated as the area obtained by multiplying the track length by the width minus the area obtained by the grid-based area calculation method:

Figure BDA0002660249220000081
Figure BDA0002660249220000081

其中d(Qi,Qi+1)表示农机作业相邻轨迹点之间的距离;where d(Q i , Q i+1 ) represents the distance between adjacent track points of agricultural machinery operations;

所述分析遗漏面积的方法为:The method for analyzing the missing area is:

由于基于轮廓的面积计算方法可能会将遗漏作业区域考虑在内,所以遗漏区域的面积为:Since the contour-based area calculation method may take the missed job area into account, the area of the missed area is:

Smiss=Scontour-SgridS miss = S contour - S grid .

所述步骤1-2)数据预处理的方法包括,但不限定剔除数据的顺序:Described step 1-2) the method for data preprocessing includes, but does not limit the order of eliminating data:

1-2-1)剔除异常点:任意农机轨迹点应满足P(t,lat,long):1-2-1) Eliminate abnormal points: any agricultural machinery trajectory point should satisfy P(t, lat, long):

lat∈[-90°,90°]lat∈[-90°, 90°]

long∈[-180°,180°]long∈[-180°, 180°]

将不满足上述公式的数据点作为异常点剔除;Remove data points that do not satisfy the above formula as outliers;

1-2-2)剔除漂移点:对于相邻的2个轨迹点Pi(ti,lati,longi),Pi+1(ti+1,lati+1,longi+1)计算农机的运行速度:1-2-2) Eliminate drift points: for two adjacent track points P i (t i , lat i , long i ), P i+1 (t i+1 , lat i+1 , long i+1 ) to calculate the operating speed of the agricultural machinery:

Figure BDA0002660249220000091
Figure BDA0002660249220000091

其中d(Pi,Pi+1)表示相邻轨迹点Pi、Pi+1之间的距离,将v(PiPi+1)>vmax的轨迹点剔除,其中vmax为农机的最大运行速度;where d(P i , P i+1 ) represents the distance between adjacent trajectory points P i and P i+1 , and the trajectory points with v(P i P i+1 )>v max are eliminated, where v max is The maximum operating speed of the agricultural machinery;

1-2-3)剔除停歇点:由于农机在停止状态时,北斗定位终端仍不停的上传数据,所以需要将停歇点剔除掉,农机停歇时,运动速度在一定时间内持续为0,但是在农机转弯时,速度也会接近于0,所以在剔除停歇点时采用平均速度,对于k个连续的农机运行轨迹点计算其平均速度:1-2-3) Eliminate the stop point: Since the Beidou positioning terminal still uploads data continuously when the agricultural machine is in the stop state, it is necessary to remove the stop point. When the agricultural machinery turns, the speed will also be close to 0, so the average speed is used when eliminating the stop point, and the average speed is calculated for k consecutive agricultural machinery running trajectory points:

Figure BDA0002660249220000092
Figure BDA0002660249220000092

剔除平均速度小于一定阈值δ(很小的值,用户可以根据实际农机工作情况进行预先设定)的轨迹点进行剔除;Eliminate the trajectory points whose average speed is less than a certain threshold δ (a very small value, which can be preset by the user according to the actual working conditions of agricultural machinery);

1-2-4)剔除随机噪声点:由于北斗定位导航系统不可避免的受到多种干扰而出现一定的随机噪声,尤其是农机在停止状态时,农机数据点并不总是固定在一个位置,而是围绕某个中心点,随机游走,所以需要剔除掉这些噪声,减少噪声对后续聚类算法的影响,随机噪声的特点是在一定时间内,数据点方向随机变化,即方差较大;对于相邻的2个轨迹点Pi(ti,lati,longi),Pi+1(ti+1,lati+1,longi+1)计算其方向:1-2-4) Eliminate random noise points: Because the Beidou positioning and navigation system is inevitably subject to various interferences, certain random noises appear, especially when the agricultural machinery is in a stopped state, the agricultural machinery data points are not always fixed in one position, Instead, it walks randomly around a certain center point, so it is necessary to remove these noises to reduce the impact of noise on subsequent clustering algorithms. The characteristic of random noise is that the direction of data points changes randomly within a certain period of time, that is, the variance is large; For two adjacent trajectory points P i (t i , lat i , long i ), P i+1 (t i+1 , lat i+1 , long i+1 ) calculate their directions:

Figure BDA0002660249220000093
Figure BDA0002660249220000093

将其转化为单位向量的表示方法:θi,i+1→(cos(θi,i+1),sin(θi,i+1)),那么对于k个连续的农机运行轨迹点计算其方向均值为:Convert it to the representation method of unit vector: θ i, i+1 → (cos(θ i, i+1 ), sin(θ i, i+1 )), then for k consecutive agricultural machinery running trajectory points to calculate Its direction mean is:

Figure BDA0002660249220000094
Figure BDA0002660249220000094

计算其标准差为:Calculate its standard deviation as:

Figure BDA0002660249220000101
Figure BDA0002660249220000101

将标准差大于一定阈值(用户可以根据实际农机工作情况进行预先设定)的点剔除。The points whose standard deviation is greater than a certain threshold (the user can preset according to the actual working conditions of agricultural machinery) are eliminated.

根据本发明优选的,所述1-5)计算基于轮廓的面积Scontour的方法,由空间聚类可得到农机的实际作业区域,因为作业区域可能存在多块(即聚类结果为多个类别),所以按照类别对每一块作业区域进行面积计算,基于轮廓的面积计算方法包括以下步骤:According to the preferred method of the present invention, the method 1-5) calculates the area Scontour based on the contour, the actual operation area of the agricultural machinery can be obtained by spatial clustering, because there may be multiple blocks in the operation area (that is, the clustering results are multiple categories) , so the area is calculated for each work area according to the category. The contour-based area calculation method includes the following steps:

1-5-1)凹包计算1-5-1) Concave Packet Calculation

根据聚类得到的数据点,对每一类数据点进行凹包计算,如图4所示,具体步骤如下:According to the data points obtained by clustering, the concave hull calculation is performed for each type of data point, as shown in Figure 4. The specific steps are as follows:

(1)找到y值最小的点,y值相同则取x值最大的点,作为起始点O,其中x、y点为数据点的坐标值,此点一定在凹包上;(1) Find the point with the smallest y value. If the y value is the same, take the point with the largest x value as the starting point O, where the x and y points are the coordinate values of the data points, and this point must be on the concave envelope;

(2)从起始点O出发,以(1,0)为基准向量,先找一个小于半径为R的边作为初始边,此时该点为A;(2) Starting from the starting point O, with (1, 0) as the reference vector, first find an edge smaller than the radius R as the initial edge, and this point is A at this time;

(3)循环找接下来的边,假设上一条边为AB,那么下一条边必然从B点开始,连接到B的R邻域内的一个点C,寻找点C使用如下规则:先对B的R邻域内的点,以B为中心、BA向量为基准进行极坐标方向排序,然后依次为B的R邻域内的点C0~Cn建立以BCi为弦的圆,然后检查其中是否包含其它的邻域点,若不存在,则该弦即为新的边,跳出循环,图7是展示如何寻找C点,就是建立BC为弦的圆,然后判断是否包含其它的邻域点,不存在,即找到了该点;(3) Loop to find the next edge. Assuming that the previous edge is AB, then the next edge must start from point B and connect to a point C in the R neighborhood of B. Use the following rules to find point C: The points in the R neighborhood are sorted in the polar coordinate direction with B as the center and the BA vector as the reference, and then a circle with BC i as the chord is established for the points C 0 ~ C n in the R neighborhood of B in turn, and then checks whether it contains If other neighborhood points do not exist, then the chord is a new edge and jumps out of the loop. Figure 7 shows how to find the C point, that is, to establish a circle with BC as the chord, and then determine whether it contains other neighborhood points. exists, that is, the point is found;

(4)依次找到所有的边,直到找不到新的边或者遇到之前已经作为边的点为止;(4) Find all the edges in turn until no new edge is found or a point that has been used as an edge before is encountered;

1-5-2)计算面积1-5-2) Calculate the area

计算每个类别的凹包得到多个类似于图8所示的多边形,然后采用三角形分割算法或者Simpson算法计算多边形面积,得到Scontour_in,假设北斗定位终端安装在农机的中轴线上,那么实际的面积还要包括外围轮廓长度乘以幅宽/2的面积,即Calculate the concave hull of each category to obtain multiple polygons similar to those shown in Figure 8, and then use the triangle segmentation algorithm or the Simpson algorithm to calculate the polygon area to obtain S contour_in , assuming that the Beidou positioning terminal is installed on the central axis of the agricultural machinery, then the actual The area also includes the area of the outer contour length multiplied by the width/2, that is

Figure BDA0002660249220000102
Figure BDA0002660249220000102

其中w表示作业幅宽,d(Qi,Qi+1)表示相邻边界点Qi、Qi+1之间的距离。where w represents the working width, and d(Q i , Qi +1 ) represents the distance between adjacent boundary points Qi and Qi +1 .

根据本发明优选的,所述步骤16)计算基于栅格的面积Sgrid的方法如下:Preferably according to the present invention, the method for calculating the grid-based area Sgrid in the step 16) is as follows:

栅格数据结构是由大小相等、分布均匀、紧密相连的像元(网格单元)所组成的阵列数据,可用来表示空间地物或现象的分布,利用栅格数据结构可实现农机作业面积的计算,而且对于重叠作业区域的处理更加容易,其具体步骤如下:The grid data structure is an array data composed of equal-sized, uniformly distributed, and closely connected pixels (grid cells), which can be used to represent the distribution of spatial objects or phenomena. calculation, and it is easier to deal with overlapping work areas. The specific steps are as follows:

1-6-1)区域膨胀,区域膨胀是根据农机轨迹数据以及幅宽对实际作业区域进行栅格化处理,具体步骤如下:1-6-1) Regional expansion, regional expansion is to rasterize the actual operation area according to the agricultural machinery track data and width. The specific steps are as follows:

(a-1)找到x,y的最小值xmin,ymin以及最大值xmax,ymax(a-1) Find the minimum value x min , y min and the maximum value x max , y max of x, y;

(a-2)根据像元与实际尺寸的比例μ确定要开辟的栅格矩阵大小:(a-2) Determine the size of the grid matrix to be developed according to the ratio μ of the pixel to the actual size:

Figure BDA0002660249220000111
Figure BDA0002660249220000111

Figure BDA0002660249220000112
Figure BDA0002660249220000112

其中ε表示额外的边界,保证数据点都位于矩阵内;开辟表示栅格矩阵的二维数组,并初始化为0;Where ε represents an additional boundary to ensure that the data points are located in the matrix; open up a two-dimensional array representing the grid matrix and initialize it to 0;

(a-3)根据农机轨迹以及幅宽计算要膨胀的区域:(a-3) Calculate the area to be expanded according to the trajectory and width of the agricultural machinery:

如图5所示,已知相邻农机运行轨迹点Qi(ti,xi,yi),Qi+1(ti+1,xi+1,yi+1)以及作业幅宽w,对其进行区域膨胀实际上就是求Q′i,Q″i,Q′i+1,Q″i+1四个点的坐标:As shown in Fig. 5, it is known that the adjacent agricultural machinery running track points Q i (t i , x i , y i ), Q i+1 (t i+1 , x i+1 , y i+1 ) and the working width The width w, the area expansion of it is actually to find the coordinates of the four points Q′ i , Q″ i , Q′ i+1 , Q″ i+1 :

Figure BDA0002660249220000113
Figure BDA0002660249220000113

Figure BDA0002660249220000114
Figure BDA0002660249220000114

Q′i(x′i,y′i)=(xix,yiy)Q' i (x' i , y' i )=(x ix , y iy )

Q″i(x″i,y″i)=(xix,yiy)Q″ i (x″ i , y″ i )=(x ix , y iy )

Q′i+1(x′i+1,y′i+1)=(xi+1x,yi+1y)Q' i+1 (x' i+1 , y' i+1 )=(x i+1x , y i+1y )

Q″i+1(x″i+1,y″i+1)=(xi+1x,yi+1y)Q″ i+1 (x″ i+1 , y″ i+1 )=(x i+1x , y i+1y )

根据Q′i,Q″i,Q′i+1,Q″i+1这四个点生成的矩形以及Q′i+1,Q″i+1这两个点生成的以

Figure BDA0002660249220000115
为半径的半圆(为了作业区域的平滑)与栅格矩阵进行叠加处理:把此矩形以及半圆范围内的栅格单元的值修改为1,如果之前已经是1(重叠作业),无需修改,得到栅格化的农机运行轨迹图,如图6所示;According to the rectangle generated by the four points Q′ i , Q″ i , Q′ i+1 , Q″ i+1 and the rectangle generated by the two points Q′ i+1 , Q″ i+1
Figure BDA0002660249220000115
Superimpose the semicircle with the radius (for the smoothing of the work area) and the grid matrix: modify the value of this rectangle and the grid cells within the semicircle to 1. If it was already 1 before (overlapping work), there is no need to modify it, and you will get The rasterized agricultural machinery running trajectory is shown in Figure 6;

1-6-2)计算面积1-6-2) Calculate the area

根据上述栅格矩阵,统计栅格单元值为1的数量,然后根据像元与实际尺寸的比例计算面积:According to the above grid matrix, count the number of grid cells with a value of 1, and then calculate the area according to the ratio of the cell to the actual size:

Sgrid=N*w2 S grid =N*w 2

其中N为栅格单元值为1的数量。where N is the number of grid cells with a value of 1.

应用对比例、application comparison,

如实施例所述的一种基于北斗定位数据的农机行为分析与作业面积统计方法,将该方法应用至6个不同地块,用于检测农机在上述不同地块作业时的运行轨迹,形成如图9a~图9f。A method of agricultural machinery behavior analysis and operation area statistics based on Beidou positioning data as described in the embodiment, the method is applied to 6 different plots to detect the running trajectories of agricultural machinery when operating in the above-mentioned different plots. 9a to 9f.

为了验证本发明所述分析与作业面积统计方法的准确性,特对上述6个地块进行实际作业面积人工测量,得到“实际作业面积”。In order to verify the accuracy of the analysis and operation area statistics method described in the present invention, the actual operation area of the above 6 plots was manually measured to obtain the "actual operation area".

同时引入现有技术中所述的“边界法”、“幅宽法”分别对农机作业数据进行处理,分别得出对应的面积数据。At the same time, the "boundary method" and "width method" described in the prior art are introduced to process the agricultural machinery operation data respectively, and obtain corresponding area data respectively.

将上述按本发明所述方法、利用“边界法”、“幅宽法”得到的农机作业面积进行比较,如表1所示:The above-mentioned agricultural machinery operation area obtained by the method of the present invention, using the "boundary method" and "width method" is compared, as shown in Table 1:

表1:Table 1:

Figure BDA0002660249220000121
Figure BDA0002660249220000121

其中“195001018747_0、195001018747_1、195001018747_2、195001018747_3”是指在地块195001018747中的三个识别区域;Among them, "195001018747_0, 195001018747_1, 195001018747_2, 195001018747_3" refer to the three identification areas in the plot 195001018747;

“195001018965_0、195001018965_1、195001018965_2、195001018965_3、195001018965_4、195001018965_5”是指在地块195001018965中的六个识别区域;"195001018965_0, 195001018965_1, 195001018965_2, 195001018965_3, 195001018965_4, 195001018965_5" refers to the six identification areas in the parcel 195001018965;

“206003470996_0、206003470996_1”是指地块206003470996中的两个识别区域。"206003470996_0, 206003470996_1" refers to the two identified areas in the parcel 206003470996.

由表1可知,“边界法”对于存在遗漏作业时的面积统计存在较大误差;而“幅宽法”将重叠作业考虑在内,存在很大误差;本发明根据基于轮廓的以及基于栅格的面积计算方法可将重叠区域、以及遗漏区域分别进行统计,然后剔除掉二者的干扰,得到的实际有效面积误差都要比上述对比算法误差小。It can be seen from Table 1 that the "boundary method" has a large error in the area statistics when there are missing operations; while the "width method" takes the overlapping operations into account, and there is a large error; the present invention is based on contour-based and grid-based methods. The area calculation method can count the overlapping area and the missing area separately, and then eliminate the interference of the two, and the actual effective area error obtained is smaller than the error of the above comparison algorithm.

Claims (2)

1.一种基于北斗定位数据的农机行为分析与作业面积统计方法,其特征在于,包括农机作业区域的自动识别、计算面积、分析重叠面积和遗漏面积;1. a kind of agricultural machinery behavior analysis and operation area statistical method based on Beidou positioning data, it is characterized in that, comprise the automatic identification of agricultural machinery operation area, calculate area, analyze overlapping area and omission area; 所述农机作业区域的自动识别的方法为基于空间聚类的农机作业区域自动识别算法;The method for automatic identification of the agricultural machinery operation area is an automatic identification algorithm of the agricultural machinery operation area based on spatial clustering; 所述计算面积的方法包括基于栅格的面积计算方法和基于轮廓的面积计算方法;The method for calculating the area includes a grid-based area calculation method and a contour-based area calculation method; 所述分析重叠面积的方法为,根据轨迹长度乘以幅宽得到的面积减去基于栅格的面积计算方法得到的面积而计算出:The method for analyzing the overlapping area is to calculate the area obtained by multiplying the track length by the width minus the area obtained by the grid-based area calculation method:
Figure FDA0003718432920000011
Figure FDA0003718432920000011
其中d(Qi,Qi+1)表示农机作业相邻轨迹点之间的距离;where d(Q i , Q i+1 ) represents the distance between adjacent track points of agricultural machinery operations; 所述分析遗漏面积的方法为:The method for analyzing the missing area is: Smiss=Scontour-SgridS miss =S contour -S grid ; 其中,所述Scontour是基于轮廓的面积;所述Sgrid是计算基于栅格的面积;Wherein, the Scontour is the area based on the contour; the Sgrid is the area based on the calculation grid; 所述基于空间聚类的农机作业区域自动识别算法包括:The automatic identification algorithm of agricultural machinery operation area based on spatial clustering includes: 1-1)农机作业数据获取1-1) Acquisition of agricultural machinery operation data 通过车载北斗定位终端以及GPRS移动通信设备获得农机作业的轨迹数据集合P={P1(t1,lat1,long1),P2(t2,lat2,long2),…,Pn(tn,latn,longn),其中t表示时间,lat表示纬度,long表示经度,n表示轨迹点总的数量;The track data set P={P 1 (t 1 , lat 1 , long 1 ), P 2 (t 2 , lat 2 , long 2 ), ..., P n is obtained through the vehicle-mounted Beidou positioning terminal and the GPRS mobile communication device. (t n , lat n , long n ), where t represents time, lat represents latitude, long represents longitude, and n represents the total number of track points; 1-2)数据预处理1-2) Data preprocessing 所述预处理是指剔除数据异常点、漂移点、停歇点和随机噪声点;The preprocessing refers to eliminating data abnormal points, drift points, stop points and random noise points; 1-3)投影1-3) Projection 得到UTM坐标系下的数据点集合Q={Q1(t1,x1,y1),Q2(t2,x2,y2),…,Qn(tn,xn,yn);Obtain a set of data points in the UTM coordinate system Q={Q 1 (t 1 , x 1 , y 1 ), Q 2 (t 2 , x 2 , y 2 ), ..., Q n (t n , x n , y ) n ); 1-4)空间聚类1-4) Spatial clustering 利用空间聚类对作业区域进行识别,识别的具体步骤如下:Using spatial clustering to identify the work area, the specific steps of identification are as follows: 1-4-1)以预处理之后的每个数据点为圆心,以一定半径r画圆圈,圆圈内有多少个相邻的数据点成为该点的密度值;1-4-1) Take each data point after preprocessing as the center of the circle, draw a circle with a certain radius r, and how many adjacent data points in the circle become the density value of the point; 1-4-2)如果该点的密度值小于设定阈值min_pts,那么标记该点为低密度点,否则为高密度点;1-4-2) If the density value of the point is less than the set threshold min_pts, then mark the point as a low density point, otherwise it is a high density point; 1-4-3)如果某个高密度点在另一个高密度点的圆圈内,则将两点连接起来;如果某一低密度点在另一个高密度点的圆圈内,也将其连接到距离最近的高密度点上,成为边界点;1-4-3) If a high-density point is inside the circle of another high-density point, connect the two points; if a low-density point is inside the circle of another high-density point, also connect it to On the nearest high-density point, it becomes the boundary point; 1-4-4)重复步骤1-4-2)、1-4-3),剔除不在任何高密度点的圈内的低密度点,保留高密度点集合为农机作业区域的轨迹点;1-4-4) Repeat steps 1-4-2) and 1-4-3), remove the low-density points that are not in the circle of any high-density points, and retain the high-density point set as the trajectory points of the agricultural machinery operation area; 1-5)计算基于轮廓的面积Scontour;1-5) Calculate the area Scontour based on the contour; 1-6)计算基于栅格的面积Sgrid;1-6) Calculate the grid-based area Sgrid; 1-7)所述分析重叠面积的方法为:1-7) The method for analyzing the overlapping area is: 根据轨迹长度乘以幅宽得到的面积减去基于栅格的面积计算方法得到的面积而计算出:Calculated as the area obtained by multiplying the track length by the width minus the area obtained by the grid-based area calculation method:
Figure FDA0003718432920000021
Figure FDA0003718432920000021
其中d(Qi,Qi+1)表示农机作业相邻轨迹点之间的距离;where d(Q i , Q i+1 ) represents the distance between adjacent track points of agricultural machinery operations; 所述分析遗漏面积的方法为:The method for analyzing the missing area is: Smiss=Scontour-SgridS miss =S contour -S grid ; 所述1-5)基于轮廓的面积Scontour的方法,基于轮廓的面积计算方法包括以下步骤:Described 1-5) the method based on the area Scontour of the outline, the area calculation method based on the outline may further comprise the steps: 1-5-1)凹包计算1-5-1) Concave Packet Calculation 根据聚类得到的数据点,对每一类数据点进行凹包计算,具体步骤如下:According to the data points obtained by clustering, the concave hull calculation is performed for each type of data point, and the specific steps are as follows: (1)找到y值最小的点,y值相同则取x值最大的点,作为起始点O;(1) Find the point with the smallest y value. If the y value is the same, take the point with the largest x value as the starting point O; (2)从起始点O出发,以(1,0)为基准向量,先找一个小于半径为R的边作为初始边,此时该点为A;(2) Starting from the starting point O, with (1, 0) as the reference vector, first find an edge smaller than the radius R as the initial edge, and this point is A at this time; (3)循环找接下来的边,假设上一条边为AB,那么下一条边必然从B点开始,连接到B的R邻域内的一个点C,寻找点C使用如下规则:先对B的R邻域内的点,以B为中心、BA向量为基准进行极坐标方向排序,然后依次为B的R邻域内的点C0~Cn建立以BCi为弦的圆,然后检查其中是否包含其它的邻域点,若不存在,则该弦即为新的边,跳出循环;(3) Loop to find the next edge. Assuming that the previous edge is AB, then the next edge must start from point B and connect to a point C in the R neighborhood of B. Use the following rules to find point C: The points in the R neighborhood are sorted in the polar coordinate direction with B as the center and the BA vector as the reference, and then a circle with BC i as the chord is established for the points C 0 ~ C n in the R neighborhood of B in turn, and then checks whether it contains If other neighbor points do not exist, the chord is a new edge and jumps out of the loop; (4)依次找到所有的边,直到找不到新的边或者遇到之前已经作为边的点为止;(4) Find all the edges in turn until no new edge is found or a point that has been used as an edge before is encountered; 1-5-2)计算面积1-5-2) Calculate the area 计算每个类别的凹包得到多个多边形,然后采用三角形分割算法或者Simpson算法计算多边形面积,得到Scontour_in,即Calculate the concave hull of each category to obtain multiple polygons, and then use the triangle segmentation algorithm or the Simpson algorithm to calculate the polygon area to obtain S contour_in , that is
Figure FDA0003718432920000022
Figure FDA0003718432920000022
其中w表示作业幅宽,d(Qi,Qi+1)表示相邻边界点Qi、Qi+1之间的距离;where w represents the working width, and d(Q i , Qi +1 ) represents the distance between adjacent boundary points Qi and Qi +1 ; 所述步骤1-6)计算基于栅格的面积Sgrid的方法如下:Described step 1-6) the method for calculating grid-based area Sgrid is as follows: 1-6-1)区域膨胀,区域膨胀是根据农机轨迹数据以及幅宽对实际作业区域进行栅格化处理,具体步骤如下:1-6-1) Regional expansion, regional expansion is to rasterize the actual operation area according to the agricultural machinery track data and width. The specific steps are as follows: (a-1)找到x,y的最小值xmin,ymin以及最大值xmax,ymax(a-1) Find the minimum value x min , y min and the maximum value x max , y max of x, y; (a-2)根据像元与实际尺寸的比例μ确定要开辟的栅格矩阵大小:(a-2) Determine the size of the grid matrix to be developed according to the ratio μ of the pixel to the actual size:
Figure FDA0003718432920000031
Figure FDA0003718432920000031
Figure FDA0003718432920000032
Figure FDA0003718432920000032
其中ε表示额外的边界,保证数据点都位于矩阵内;开辟表示栅格矩阵的二维数组,并初始化为0;Where ε represents an additional boundary to ensure that the data points are all located in the matrix; open up a two-dimensional array representing the grid matrix and initialize it to 0; (a-3)根据农机轨迹以及幅宽计算要膨胀的区域:(a-3) Calculate the area to be expanded according to the trajectory and width of the agricultural machinery: 已知相邻农机运行轨迹点Qi(ti,xi,yi),Qi+1(ti+1,xi+i,yi+1)以及作业幅宽w,对其进行区域膨胀实际上就是求Q′i,Q″i,Q′i+1,Q″i+1四个点的坐标:Knowing the adjacent agricultural machinery running track points Q i (t i , x i , y i ), Q i+1 (t i+1 , x i+i , y i+1 ) and the working width w, carry out Area expansion is actually to find the coordinates of four points Q′ i , Q″ i , Q′ i+1 , Q″ i+1 :
Figure FDA0003718432920000033
Figure FDA0003718432920000033
Figure FDA0003718432920000034
Figure FDA0003718432920000034
Q′i(x′i,y′i)=(xix,yiy)Q' i (x' i , y' i )=(x ix , y iy ) Q″i(x″i,y″i)=(xix,yiy)Q″ i (x″ i , y″ i )=(x ix , y iy ) Q′i+1(x′i+1,y′i+1)=(xi+1x,yi+1y)Q' i+1 (x' i+1 , y' i+1 )=(x i+1x , y i+1y ) Q″i+1(x″i+1,y″i+1)=(xi+1x,yi+1y)Q″ i+1 (x″ i+1 , y″ i+1 )=(x i+1x , y i+1y ) 根据Q′i,Q″i,Q′i+1,Q″i+1这四个点生成的矩形以及Q′i+1,Q″i+1这两个点生成的以
Figure FDA0003718432920000035
为半径的半圆与栅格矩阵进行叠加处理:得到栅格化的农机运行轨迹图;
According to the rectangle generated by the four points Q′ i , Q″ i , Q′ i+1 , Q″ i+1 and the rectangle generated by the two points Q′ i+1 , Q″ i+1
Figure FDA0003718432920000035
Superimpose the semicircle with the radius and the grid matrix: get the rasterized agricultural machinery running track map;
1-6-2)计算面积1-6-2) Calculate the area 根据上述栅格矩阵,统计栅格单元值为1的数量,然后根据像元与实际尺寸的比例计算面积:According to the above grid matrix, count the number of grid cells with a value of 1, and then calculate the area according to the ratio of the cell to the actual size: Sgrid=N*μ2 S grid =N*μ 2 其中N为栅格单元值为1的数量。where N is the number of grid cells with a value of 1.
2.根据权利要求1所述的一种基于北斗定位数据的农机行为分析与作业面积统计方法,其特征在于,所述步骤1-2)数据预处理的方法包括剔除数据的顺序:2. a kind of agricultural machinery behavior analysis and operation area statistics method based on Beidou positioning data according to claim 1, is characterized in that, described step 1-2) method of data preprocessing comprises the order of excluding data: 1-2-1)剔除异常点:任意农机轨迹点应满足P(t,lat,long):1-2-1) Eliminate abnormal points: any agricultural machinery trajectory point should satisfy P(t, lat, long): lat∈[-90°,90°]lat∈[-90°, 90°] long∈[-180°,180°]long∈[-180°, 180°] 将不满足上述公式的数据点作为异常点剔除;Remove data points that do not satisfy the above formula as outliers; 1-2-2)剔除漂移点:对于相邻的2个轨迹点Pi(ti,lati,longi),Pi+1(ti+1,lati+1,longi+1)计算农机的运行速度:1-2-2) Eliminate drift points: for two adjacent track points P i (t i , lat i , long i ), P i+1 (t i+1 , lat i+1 , long i+1 ) to calculate the operating speed of the agricultural machinery:
Figure FDA0003718432920000041
Figure FDA0003718432920000041
其中d(Pi,Pi+1)表示相邻轨迹点Pi、Pi+1之间的距离,将v(PiPi+1)>vmax的轨迹点剔除,其中vmax为农机的最大运行速度;where d(P i , P i+1 ) represents the distance between adjacent trajectory points P i and P i+1 , and the trajectory points with v(P i P i+1 )>v max are eliminated, where v max is The maximum operating speed of the agricultural machinery; 1-2-3)剔除停歇点:对于k个连续的农机运行轨迹点计算其平均速度:1-2-3) Eliminate the stopping point: Calculate the average speed for k consecutive agricultural machinery running track points:
Figure FDA0003718432920000042
Figure FDA0003718432920000042
剔除平均速度小于一定阈值δ的轨迹点;Eliminate trajectory points whose average speed is less than a certain threshold δ; 1-2-4)剔除随机噪声点:对于相邻的2个轨迹点Pi(ti,lati,longi),Pi+1(ti+1,lati+1,longi+1)计算其方向:1-2-4) Eliminate random noise points: for two adjacent trajectory points P i (t i , lat i , long i ), P i+1 (t i+1 , lat i+1 , long i+ 1 ) Calculate its orientation:
Figure FDA0003718432920000043
Figure FDA0003718432920000043
将其转化为单位向量的表示方法:θi,i+1→(cos(θi,i+1),sin(θi,i+1)),那么对于k个连续的农机运行轨迹点计算其方向均值为:The representation method of converting it into a unit vector: θ i, i+1 → (cos(θ i, i+1 ), sin(θ i, i+1 )), then for k consecutive agricultural machinery running trajectory points to calculate Its direction mean is:
Figure FDA0003718432920000044
Figure FDA0003718432920000044
计算其标准差为:Calculate its standard deviation as:
Figure FDA0003718432920000045
Figure FDA0003718432920000045
将标准差大于一定阈值的点剔除。Eliminate points with standard deviation greater than a certain threshold.
CN202010902540.4A 2020-09-01 2020-09-01 A method of agricultural machinery behavior analysis and operation area statistics based on Beidou positioning data Active CN113409240B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010902540.4A CN113409240B (en) 2020-09-01 2020-09-01 A method of agricultural machinery behavior analysis and operation area statistics based on Beidou positioning data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010902540.4A CN113409240B (en) 2020-09-01 2020-09-01 A method of agricultural machinery behavior analysis and operation area statistics based on Beidou positioning data

Publications (2)

Publication Number Publication Date
CN113409240A CN113409240A (en) 2021-09-17
CN113409240B true CN113409240B (en) 2022-09-09

Family

ID=77677485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010902540.4A Active CN113409240B (en) 2020-09-01 2020-09-01 A method of agricultural machinery behavior analysis and operation area statistics based on Beidou positioning data

Country Status (1)

Country Link
CN (1) CN113409240B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114046726A (en) * 2021-11-09 2022-02-15 河北信翔电子有限公司 Agricultural machine working area calculation method based on Beidou satellite positioning travel track
CN114543740A (en) * 2021-12-17 2022-05-27 徐工汉云技术股份有限公司 Agricultural equipment operation mu counting method and device based on Beidou terminal
CN114526669A (en) * 2022-02-22 2022-05-24 上海联适导航技术股份有限公司 Method, device and equipment for measuring and calculating real-time leveling area of agricultural machinery operation
CN114662621B (en) * 2022-05-24 2022-09-06 灵枭科技(武汉)有限公司 Agricultural machinery working area calculation method and system based on machine learning
CN115436973B (en) * 2022-09-02 2024-10-18 湖北地信科技集团股份有限公司 Beidou agricultural machinery operation track rapid filtering grouping method
CN118424167B (en) * 2024-07-03 2024-10-29 中国科学院合肥物质科学研究院 Intelligent agricultural machinery operation area metering method based on Beidou positioning

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104992072A (en) * 2015-07-21 2015-10-21 江苏北斗卫星应用产业研究院有限公司 Operation land parcel automatic identification and area statistics method based on spatial mesh division
CN106503433A (en) * 2016-10-18 2017-03-15 广州极飞科技有限公司 Sprinkling area determination method and device based on unmanned machine operation
CN107036572A (en) * 2017-04-12 2017-08-11 中国农业大学 A kind of agricultural machinery working area acquisition methods and device
CN107462208A (en) * 2017-08-15 2017-12-12 河北农业大学 Agricultural machine and agricultural machine operation area measuring device and measuring method
CN111336980A (en) * 2018-12-18 2020-06-26 江苏北斗卫星应用产业研究院有限公司 Repeated operation area calculation and alarm method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2019380955B2 (en) * 2018-11-15 2023-02-09 Raven Industries, Inc. Integrated platform and common software structural architecture for autonomous agricultural vehicle and machinery operation.

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104992072A (en) * 2015-07-21 2015-10-21 江苏北斗卫星应用产业研究院有限公司 Operation land parcel automatic identification and area statistics method based on spatial mesh division
CN106503433A (en) * 2016-10-18 2017-03-15 广州极飞科技有限公司 Sprinkling area determination method and device based on unmanned machine operation
CN107036572A (en) * 2017-04-12 2017-08-11 中国农业大学 A kind of agricultural machinery working area acquisition methods and device
CN107462208A (en) * 2017-08-15 2017-12-12 河北农业大学 Agricultural machine and agricultural machine operation area measuring device and measuring method
CN111336980A (en) * 2018-12-18 2020-06-26 江苏北斗卫星应用产业研究院有限公司 Repeated operation area calculation and alarm method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"农机远程智能管理平台研发及其应用";朱登胜 等;《智能农业》;20200630;第2卷(第2期);第67-81页 *

Also Published As

Publication number Publication date
CN113409240A (en) 2021-09-17

Similar Documents

Publication Publication Date Title
CN113409240B (en) A method of agricultural machinery behavior analysis and operation area statistics based on Beidou positioning data
CN103390169B (en) A kind of city terrain classification method of Vehicle-borne Laser Scanning cloud data
CN102768022B (en) Tunnel surrounding rock deformation detection method adopting digital camera technique
CN102779280B (en) Traffic information extraction method based on laser sensor
CN102855759B (en) Automatic collecting method of high-resolution satellite remote sensing traffic flow information
CN102135429B (en) Robot indoor positioning and navigating method based on vision
CN110223302A (en) A kind of naval vessel multi-target detection method extracted based on rotary area
AU2020104486A4 (en) Pavement flatness measurement method and system
CN106125087A (en) Dancing Robot indoor based on laser radar pedestrian tracting method
CN107657637A (en) A kind of agricultural machinery working area acquisition methods
CN101915570B (en) Vanishing point based method for automatically extracting and classifying ground movement measurement image line segments
CN114782626B (en) Substation scene mapping and positioning optimization method based on laser and vision fusion
US11845466B2 (en) Normal distributions transform (NDT) method for LiDAR point cloud localization in unmanned driving
CN101144714A (en) A vehicle-mounted dynamic measurement device and method for comprehensive parameters of rail wear
CN103338514B (en) The classification geometrical constraint localization method of large-scale distributed wireless sensor network
CN106680798A (en) Airborne LIDAR air strips overlay region redundancy identification and elimination method
CN114488194A (en) Method for detecting and identifying targets under structured road of intelligent driving vehicle
CN115855067B (en) Path planning method for curved farmland boundary
CN109766824B (en) Active and passive remote sensing data fusion classification method based on fuzzy evidence theory
CN101719220A (en) Method of trajectory clustering based on directional trimmed mean distance
CN106500594A (en) Fusion reflected intensity and the railroad track method for semi-automatically detecting of geometric properties
CN102938064A (en) Park structure extraction method based on LiDAR data and ortho-images
CN117761658A (en) Multi-target detection method and system for park conveying robot based on laser radar
CN105761507A (en) Vehicle counting method based on three-dimensional trajectory clustering
CN106060258A (en) System and method for analyzing driving style of driver based on smartphone

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