CN110174691B - A positioning device, method and computer-readable storage medium - Google Patents
A positioning device, method and computer-readable storage medium Download PDFInfo
- Publication number
- CN110174691B CN110174691B CN201910570270.9A CN201910570270A CN110174691B CN 110174691 B CN110174691 B CN 110174691B CN 201910570270 A CN201910570270 A CN 201910570270A CN 110174691 B CN110174691 B CN 110174691B
- Authority
- CN
- China
- Prior art keywords
- control unit
- carrier phase
- gnss chip
- micro control
- difference
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO 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/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/38—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
- G01S19/39—Determining 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/42—Determining position
- G01S19/421—Determining position by combining or switching between position solutions or signals derived from different satellite radio beacon positioning systems; by combining or switching between position solutions or signals derived from different modes of operation in a single system
- G01S19/425—Determining position by combining or switching between position solutions or signals derived from different satellite radio beacon positioning systems; by combining or switching between position solutions or signals derived from different modes of operation in a single system by combining or switching between signals derived from different satellite radio beacon positioning systems
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO 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/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/38—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
- G01S19/39—Determining 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/53—Determining attitude
- G01S19/54—Determining attitude using carrier phase measurements; using long or short baseline interferometry
- G01S19/55—Carrier phase ambiguity resolution; Floating ambiguity; LAMBDA [Least-squares AMBiguity Decorrelation Adjustment] method
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
Abstract
Description
技术领域technical field
本申请涉及定位技术领域,具体而言,涉及一种定位设备、方法及计算机可读存储介质。The present application relates to the field of positioning technology, and in particular, to a positioning device, a method, and a computer-readable storage medium.
背景技术Background technique
当前在一些车载终端、农用机械,或者是一些载体位置姿态检测的应用场景中,一般采用高精度板卡进行定位或者定向;且高精度板卡在工作时,需要提供多系统多频的观测量和相关的差分定位定性方法。At present, in some vehicle terminals, agricultural machinery, or some application scenarios of carrier position and attitude detection, high-precision boards are generally used for positioning or orientation; and when high-precision boards are working, they need to provide multi-system and multi-frequency observations. and related qualitative methods of differential localization.
但由于高精度板卡价格昂贵、功耗大,使得采用高精度板卡进行定位定向时,成本较高。However, due to the high price and high power consumption of high-precision boards, the cost of using high-precision boards for positioning and orientation is relatively high.
发明内容SUMMARY OF THE INVENTION
本申请的目的在于提供一种定位设备、方法及计算机可读存储介质,能够降低定位的硬件成本。The purpose of the present application is to provide a positioning device, method and computer-readable storage medium, which can reduce the hardware cost of positioning.
为了实现上述目的,本申请实施例采用的技术方案如下:In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
第一方面,本申请实施例提供一种定位方法,应用于定位设备,所述定位设备包括微控制单元,以及分别与所述微控制单元电连接的通信单元、第一全球卫星定位导航系统(Global Navigation Satellite System,GNSS)芯片;所述方法包括:In a first aspect, an embodiment of the present application provides a positioning method, which is applied to a positioning device, where the positioning device includes a micro-control unit, and a communication unit electrically connected to the micro-control unit, a first global satellite positioning and navigation system ( Global Navigation Satellite System, GNSS) chip; the method includes:
所述微控制单元通过所述通信单元获取第k历元时基站监测的卫星数据、以及获取第k历元时所述第一GNSS芯片监测的卫星数据,其中,所述基站监测的卫星数据包括伪距、载波相位,所述第一GNSS芯片监测的卫星数据包括伪距、载波相位;The micro-control unit obtains, through the communication unit, the satellite data monitored by the base station at the k-th epoch, and the satellite data monitored by the first GNSS chip at the k-th epoch, wherein the satellite data monitored by the base station includes: Pseudorange and carrier phase, the satellite data monitored by the first GNSS chip includes pseudorange and carrier phase;
所述微控制单元根据所述基站对应的伪距和载波相位,以及所述第一GNSS芯片监测的伪距和载波相位,分别计算获得伪距双差和载波相位双差;The micro-control unit calculates and obtains the pseudorange double difference and the carrier phase double difference according to the pseudorange and carrier phase corresponding to the base station, and the pseudorange and the carrier phase monitored by the first GNSS chip;
所述微控制单元对所述伪距双差及所述载波相位双差进行处理,得到所述第一GNSS芯片的浮点定位解;The micro-control unit processes the pseudorange double difference and the carrier phase double difference to obtain a floating-point positioning solution of the first GNSS chip;
所述微控制单元对所述浮点定位解中的模糊度进行固定,获得所述模糊度对应的整数解;The micro-control unit fixes the ambiguity in the floating-point positioning solution to obtain an integer solution corresponding to the ambiguity;
所述微控制单元根据所述浮点定位解及所述模糊度对应的整数解,计算得到所述第一GNSS芯片的定位坐标。The micro-control unit calculates and obtains the positioning coordinates of the first GNSS chip according to the floating-point positioning solution and the integer solution corresponding to the ambiguity.
第二方面,本申请实施例提供一种定位设备,包括微控制单元,以及分别与所述微控制单元电连接的通信单元、第一GNSS芯片;In a second aspect, an embodiment of the present application provides a positioning device, including a micro-control unit, a communication unit and a first GNSS chip electrically connected to the micro-control unit, respectively;
所述微控制单元用于,通过所述通信单元获取第k历元时基站监测的卫星数据、以及获取第k历元时所述第一GNSS芯片监测的卫星数据,其中,所述基站监测的卫星数据包括伪距、载波相位,所述第一GNSS芯片监测的卫星数据包括伪距、载波相位;The micro-control unit is configured to obtain, through the communication unit, the satellite data monitored by the base station at the kth epoch, and the satellite data monitored by the first GNSS chip at the kth epoch, wherein the data monitored by the base station are: The satellite data includes pseudorange and carrier phase, and the satellite data monitored by the first GNSS chip includes pseudorange and carrier phase;
所述微控制单元还用于,根据所述基站对应的伪距和载波相位,以及所述第一GNSS芯片监测的伪距和载波相位,分别计算获得伪距双差和载波相位双差;The micro-control unit is further configured to, according to the pseudorange and carrier phase corresponding to the base station, and the pseudorange and carrier phase monitored by the first GNSS chip, calculate and obtain the pseudorange double difference and the carrier phase double difference respectively;
所述微控制单元还用于,对所述伪距双差及所述载波相位双差进行处理,得到所述第一GNSS芯片的浮点定位解;The micro-control unit is further configured to process the pseudorange double difference and the carrier phase double difference to obtain a floating-point positioning solution of the first GNSS chip;
所述微控制单元还用于,对所述浮点定位解中的模糊度进行固定,获得所述模糊度对应的整数解;The micro-control unit is further configured to fix the ambiguity in the floating-point positioning solution to obtain an integer solution corresponding to the ambiguity;
所述微控制单元还用于,根据所述浮点定位解及所述模糊度对应的整数解,计算得到所述第一GNSS芯片的定位坐标。The micro-control unit is further configured to calculate and obtain the positioning coordinates of the first GNSS chip according to the floating-point positioning solution and the integer solution corresponding to the ambiguity.
第三方面,本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述的一种定位方法。In a third aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the foregoing positioning method.
本申请实施例提供的一种定位设备、方法及计算机可读存储介质,采用由通信单元、第一GNSS芯片及微控制单元构成的定位设备,微控制单元通过通信单元获取第k历元时基站和第一GNSS芯片各自监测的卫星数据,并基于基站和第一GNSS芯片各自监测的卫星数据,求取第一GNSS芯片定位坐标的浮点定位解,且对浮点定位解中的模糊度进行固定,求得模糊度对应的整数解后,利用浮点定位解和求得的整数解计算得到第一GNSS芯片的定位坐标,相比于现有技术,使定位不再依赖于高精度板卡,能够降低定位的硬件成本。A positioning device, method, and computer-readable storage medium provided by the embodiments of the present application adopt a positioning device composed of a communication unit, a first GNSS chip, and a micro-control unit, and the micro-control unit acquires the base station at the k-th epoch through the communication unit and the satellite data monitored by the first GNSS chip, and based on the satellite data monitored by the base station and the first GNSS chip, the floating-point positioning solution of the positioning coordinates of the first GNSS chip is obtained, and the ambiguity in the floating-point positioning solution is calculated. Fixed, after the integer solution corresponding to the ambiguity is obtained, the floating-point positioning solution and the obtained integer solution are used to calculate the positioning coordinates of the first GNSS chip. Compared with the prior art, the positioning is no longer dependent on the high-precision board. , which can reduce the hardware cost of positioning.
为使本申请的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the preferred embodiments are exemplified below, and are described in detail as follows in conjunction with the accompanying drawings.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它相关的附图。In order to illustrate the technical solutions of the embodiments of the present application more clearly, the following drawings will briefly introduce the drawings that need to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore do not It should be regarded as a limitation of the scope. For those skilled in the art, other related drawings can also be obtained according to these drawings without any creative effort.
图1为本申请实施例提供的定位设备的一种示意性结构图;FIG. 1 is a schematic structural diagram of a positioning device provided by an embodiment of the present application;
图2为本申请实施例提供的一种定位方法的一种示意性流程图;FIG. 2 is a schematic flowchart of a positioning method provided by an embodiment of the present application;
图3为本申请实施例提供的一种定位方法的另一种示意性流程图;FIG. 3 is another schematic flowchart of a positioning method provided by an embodiment of the present application;
图4为图3中S204的子步骤的一种示意性流程图;Fig. 4 is a kind of schematic flow chart of the sub-step of S204 in Fig. 3;
图5为本申请实施例提供的一种定位方法的再一种示意性流程图;FIG. 5 is still another schematic flowchart of a positioning method provided by an embodiment of the present application;
图6为本申请实施例提供的一种定位设备的另一种示意性结构图;FIG. 6 is another schematic structural diagram of a positioning device provided by an embodiment of the present application;
图7为本申请实施例提供的一种定位方法的再一种示意性流程图。FIG. 7 is still another schematic flowchart of a positioning method provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of the present application, but not all of the embodiments. The components of the embodiments of the present application generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations.
因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。Thus, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the application as claimed, but is merely representative of selected embodiments of the application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。同时,在本申请的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further definition and explanation in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any relationship between these entities or operations. any such actual relationship or sequence exists. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
随着物联网技术的发展,需要对越来越多的设备进行定位或者是定向。但如上所述,当前针对例如车载终端、农用机械,或者是一些载体位置姿态检测的应用场景中,一般是采用高精度板卡对设备进行定位定向;但由于高精度板卡高昂的价格以及较大的功耗,从而导致设定定位成本较高。With the development of IoT technology, more and more devices need to be positioned or oriented. However, as mentioned above, in the current application scenarios such as vehicle-mounted terminals, agricultural machinery, or some carrier position and attitude detection, high-precision boards are generally used to position and orient the equipment; Large power consumption, resulting in high cost of setting positioning.
基于上述缺陷,本申请实施例提供的一种可能的实现方式为:采用由GMS芯片、第一GNSS芯片及微控制单元构成的定位设备,微控制单元通过通信单元获取第k历元时基站和第一GNSS芯片各自监测的卫星数据,并基于基站和第一GNSS芯片各自监测的卫星数据,求取第一GNSS芯片定位坐标的浮点定位解,且对浮点定位解中的模糊度进行固定,求得模糊度对应的整数解后,利用浮点定位解和求得的整数解计算得到第一GNSS芯片的定位坐标。Based on the above defects, a possible implementation manner provided by the embodiments of the present application is as follows: a positioning device composed of a GMS chip, a first GNSS chip and a micro-control unit is used, and the micro-control unit obtains the base station and the base station at the k-th epoch through the communication unit. The satellite data monitored by the first GNSS chip, and based on the satellite data monitored by the base station and the first GNSS chip, the floating-point positioning solution of the positioning coordinates of the first GNSS chip is obtained, and the ambiguity in the floating-point positioning solution is fixed. , and after obtaining the integer solution corresponding to the ambiguity, the floating-point positioning solution and the obtained integer solution are used to calculate the positioning coordinates of the first GNSS chip.
下面结合附图,对本申请的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and features in the embodiments may be combined with each other without conflict.
请参阅图1,图1为本申请实施例提供的定位设备的一种示意性结构图,该定位设备包括微控制单元(Microcontroller Unit,MCU)、以及分别与该微控制单元电连接的通信单元和第一GNSS芯片。Please refer to FIG. 1. FIG. 1 is a schematic structural diagram of a positioning device provided by an embodiment of the present application. The positioning device includes a Microcontroller Unit (MCU) and a communication unit electrically connected to the microcontroller unit respectively. and the first GNSS chip.
其中,为降低该定位设备的成本,作为一种可能的实现方式,第一GNSS芯片可以使用单频芯片;且如图1所示,通信单元可以使用GSM(Global System for MobileCommunications,全球移动通信系统)芯片。Wherein, in order to reduce the cost of the positioning device, as a possible implementation manner, the first GNSS chip can use a single-frequency chip; and as shown in FIG. )chip.
并且,需要说明的是,在本申请实施例其他一些可能的实施方式中,上述通信单元还可以采用除GSM芯片以外的其他器件,比如CDMA(Code Division Multiple Access,码分多址)模块等等,只要能够使微控制单元能够通过通信单元获取第k历元时基站监测的卫星即可。In addition, it should be noted that in some other possible implementations of the embodiments of the present application, the above-mentioned communication unit may also adopt other devices other than GSM chips, such as CDMA (Code Division Multiple Access, Code Division Multiple Access) modules, etc. , as long as the micro-control unit can obtain the satellite monitored by the base station at the k-th epoch through the communication unit.
由此,基于如图1所示的定位设备,请参阅图2,图2为本申请实施例提供的一种定位方法的一种示意性流程图,在采用如图1所示的定位设备进行定位时,包括以下步骤:Therefore, based on the positioning device shown in FIG. 1 , please refer to FIG. 2 . FIG. 2 is a schematic flowchart of a positioning method provided by an embodiment of the present application. When positioning, include the following steps:
S201,微控制单元通过GMS芯片获取第k历元时基站监测的卫星数据、以及获取第k历元时第一GNSS芯片监测的卫星数据;S201, the micro-control unit obtains, through the GMS chip, the satellite data monitored by the base station at the kth epoch, and the satellite data monitored by the first GNSS chip at the kth epoch;
S203,微控制单元根据基站对应的伪距和载波相位,以及第一GNSS芯片监测的伪距和载波相位,分别计算获得伪距双差和载波相位双差;S203, the micro-control unit calculates and obtains the pseudorange double difference and the carrier phase double difference according to the pseudorange and carrier phase corresponding to the base station, and the pseudorange and the carrier phase monitored by the first GNSS chip;
S205,微控制单元对伪距双差及载波相位双差进行处理,得到第一GNSS芯片的浮点定位解;S205, the micro-control unit processes the pseudorange double difference and the carrier phase double difference to obtain the floating-point positioning solution of the first GNSS chip;
S207,微控制单元对浮点定位解中的模糊度进行固定,获得模糊度对应的整数解;S207, the micro-control unit fixes the ambiguity in the floating-point positioning solution, and obtains an integer solution corresponding to the ambiguity;
S209,微控制单元根据浮点定位解及模糊度对应的整数解,计算得到第一GNSS芯片的定位坐标。S209, the micro-control unit calculates and obtains the positioning coordinates of the first GNSS chip according to the floating-point positioning solution and the integer solution corresponding to the ambiguity.
在本申请实施例中,定位设备以第一GNSS芯片作为移动站、基站作为参考站,且通过通信单元接收基站的卫星数据,对第一GNSS芯片所在定位的坐标进行结算,从而实现定位。In the embodiment of the present application, the positioning device uses the first GNSS chip as the mobile station and the base station as the reference station, and receives satellite data of the base station through the communication unit, and settles the coordinates of the positioning of the first GNSS chip, thereby realizing positioning.
其中,值得说明的是,本申请实施例中采用的基站,可以是用户自建的测绘基站,也可以是测绘服务商建立的基站。It should be noted that the base station used in the embodiments of the present application may be a surveying and mapping base station built by a user, or a base station established by a surveying and mapping service provider.
示例性地,定位设备具体在实现定位时,可以由微控制单元通过通信单元获取第k历元时基站监测的卫星数据、以及获取第k历元时第一GNSS芯片监测的卫星数据;其中,基站监测的卫星数据包括伪距、载波相位等,第一GNSS芯片监测的卫星数据包括伪距、载波相位等;在本申请实施例其他一些可能的应用场景中,第一GNSS芯片监测的卫星数据还可以包括导航星历等。Exemplarily, when the positioning device implements positioning, the micro-control unit may obtain satellite data monitored by the base station at the k-th epoch and satellite data monitored by the first GNSS chip at the k-th epoch through the communication unit; wherein, The satellite data monitored by the base station includes pseudorange, carrier phase, etc., and the satellite data monitored by the first GNSS chip includes pseudorange, carrier phase, etc.; in some other possible application scenarios of the embodiment of the present application, the satellite data monitored by the first GNSS chip It may also include navigation ephemeris and the like.
微控制单元根据基站监测的卫星数据以及第一GNSS芯片监测的卫星数据,确定出两者的共视卫星;比如假定基站监测的卫星数据来自卫星A、B、C、D、E,第一GNSS芯片监测的卫星数据来自卫星D、E、F、G,则基站与第一GNSS芯片两者的共视卫星为卫星D和卫星E。According to the satellite data monitored by the base station and the satellite data monitored by the first GNSS chip, the micro-control unit determines the common-view satellites of the two; If the satellite data monitored by the chip comes from satellites D, E, F, and G, the satellites viewed by the base station and the first GNSS chip are satellite D and satellite E.
且微控制单元根据设定的条件,在基站与第一GNSS芯片两者的共视卫星中选定出参考卫星;比如在上述示例中,假定微控制单元以高度角最高的共视卫星作为参考卫星,若卫星D的高度角大于卫星E的高度角,则微控制单元以卫星D作为参考卫星;若卫星E的高度角大于卫星D的高度角,则微控制单元以卫星E作为参考卫星。And the micro-control unit selects a reference satellite from the common-view satellites of the base station and the first GNSS chip according to the set conditions; for example, in the above example, it is assumed that the micro-control unit takes the common-view satellite with the highest altitude angle as a reference. For satellites, if the altitude angle of satellite D is greater than that of satellite E, the microcontroller uses satellite D as the reference satellite; if the altitude angle of satellite E is greater than that of satellite D, the microcontroller uses satellite E as the reference satellite.
由此,微控制单元根据选定的共视卫星和参考卫星,基站对应的伪距和载波相位,以及第一GNSS芯片监测的伪距和载波相位,分别计算获得伪距双差和载波相位双差。Therefore, the micro-control unit calculates and obtains the pseudorange double difference and the carrier phase double difference according to the selected common-view satellite and reference satellite, the pseudorange and carrier phase corresponding to the base station, and the pseudorange and carrier phase monitored by the first GNSS chip. Difference.
比如在上述共视卫星包括卫星D和卫星E、且选定卫星D作为参考卫星的示例中,在计算伪距双差时,先分别计算基站和第一GNSS芯片各自监测得到的卫星D的伪距与卫星E的伪距两者的差,分别得到基站对应的伪距单差和第一GNSS芯片对应的伪距单差,然后计算基站对应伪距单差与第一GNSS芯片对应的伪距单差两者的差,从而得到伪距双差。For example, in the above example in which the common-view satellite includes satellite D and satellite E, and satellite D is selected as the reference satellite, when calculating the pseudo-range double difference, first calculate the pseudo-distance of satellite D obtained by monitoring the base station and the first GNSS chip respectively. The difference between the distance and the pseudorange of the satellite E, respectively obtain the pseudorange corresponding to the base station and the pseudorange corresponding to the first GNSS chip, and then calculate the pseudorange corresponding to the base station and the first GNSS chip. The difference between the single difference and the two is obtained to obtain the pseudorange double difference.
同理,在计算载波相位双差时,先分别计算基站和第一GNSS芯片各自监测得到的卫星D的载波相位与卫星E的载波相位两者的差,分别得到基站对应的载波相位单差和第一GNSS芯片对应的载波相位单差,然后计算基站对应的载波相位单差与第一GNSS芯片对应的载波相位单差两者的差,从而得到载波相位双差。Similarly, when calculating the carrier phase double difference, first calculate the difference between the carrier phase of the satellite D and the carrier phase of the satellite E, which are monitored by the base station and the first GNSS chip, respectively, and obtain the carrier phase single difference corresponding to the base station and The carrier phase single difference corresponding to the first GNSS chip is calculated, and then the difference between the carrier phase single difference corresponding to the base station and the carrier phase single difference corresponding to the first GNSS chip is calculated to obtain the carrier phase double difference.
由此,微控制单元根据计算得到的伪距双差和载波相位双差,对伪距双差和载波相位双差进行处理,从而得到第一GNSS芯片定位坐标的浮点定位解。Thus, the micro-control unit processes the pseudorange double difference and the carrier phase double difference according to the calculated pseudorange double difference and carrier phase double difference, thereby obtaining the floating-point positioning solution of the positioning coordinates of the first GNSS chip.
根据S205计算得到的第一GNSS芯片定位坐标的浮点定位解中包含有第一GNSS芯片的真实坐标(x,y,z)以及模糊度;其中,对于浮点定位解中的模糊度,微控制单元可以对该浮点定位解中的模糊度进行固定,从而得到模糊度对应的整数解;由此,根据固定浮点定位解中模糊度得到的整数解,微控制单元根据浮点定位解及获得的模糊度对应的整数解,计算得到该第一GNSS芯片的定位坐标。The floating-point positioning solution of the positioning coordinates of the first GNSS chip calculated according to S205 includes the real coordinates (x, y, z) of the first GNSS chip and the ambiguity; wherein, for the ambiguity in the floating-point positioning solution, micro- The control unit can fix the ambiguity in the floating-point positioning solution, so as to obtain an integer solution corresponding to the ambiguity; thus, according to the integer solution obtained by the ambiguity in the fixed floating-point positioning solution, the micro-control unit according to the floating-point positioning solution and the integer solution corresponding to the obtained ambiguity, and calculate the positioning coordinates of the first GNSS chip.
可见,基于上述设计,本申请实施例提供的一种定位方法,采用由通信单元、第一GNSS芯片及微控制单元构成的定位设备,微控制单元通过GMS芯片获取第k历元时基站和第一GNSS芯片各自监测的卫星数据,并基于基站和第一GNSS芯片各自监测的卫星数据,求取第一GNSS芯片定位坐标的浮点定位解,且对浮点定位解中的模糊度进行固定,求得模糊度对应的整数解后,利用浮点定位解和求得的整数解计算得到第一GNSS芯片的定位坐标,相比于现有技术,使定位不再依赖于高精度板卡,能够降低定位成本。It can be seen that, based on the above design, a positioning method provided by the embodiment of the present application adopts a positioning device composed of a communication unit, a first GNSS chip and a micro-control unit. The satellite data monitored by a GNSS chip, and based on the satellite data monitored by the base station and the first GNSS chip, the floating-point positioning solution of the positioning coordinates of the first GNSS chip is obtained, and the ambiguity in the floating-point positioning solution is fixed, After obtaining the integer solution corresponding to the ambiguity, the floating-point positioning solution and the obtained integer solution are used to calculate the positioning coordinates of the first GNSS chip. Reduce positioning costs.
需要说明的是,假定基站为测站r,第一GNSS芯片为测站1,则在t1时刻p、q两颗卫星的伪距双差方程可表示为:It should be noted that, assuming that the base station is station r and the first GNSS chip is station 1, the pseudorange double difference equations of the two satellites p and q at time t 1 can be expressed as:
式中:P为伪距观测值,f为载波频率,c为光速,ρ为卫星到测站的距离,Vion为电离层误差,Vtrop为对流层误差。where P is the pseudorange observation value, f is the carrier frequency, c is the speed of light, ρ is the distance from the satellite to the station, V ion is the ionospheric error, and V trop is the tropospheric error.
另外,载波相位双差方程则可以表示为:In addition, the carrier phase double difference equation can be expressed as:
式中:为载波相位观测值,N为载波相位模糊度。where: is the carrier phase observation value, and N is the carrier phase ambiguity.
在短基线的条件下,即第一GNSS芯片作为测站1,且与作为测站r的基站两者的距离较近时(比如小于10km),上述公式(1)和公式(2)两个双差方程中,均可以忽略掉电流层和对流层的影响;且如上述,可以通过S203根据观测值求得t1时刻的伪距双差和载波相位双差因此,上述公式(1)和公式(2)中的未知量仅有卫星到测站的距离ρ和载波相位模糊度N。Under the condition of short baseline, that is, when the first GNSS chip is used as station 1, and the distance between the first GNSS chip and the base station as station r is relatively close (for example, less than 10km), the above formula (1) and formula (2) two In the double difference equation, the influence of the current layer and the troposphere can be ignored; and as mentioned above, the pseudorange double difference at time t 1 can be obtained according to the observed value through S203 and carrier phase double difference Therefore, the unknowns in the above formulas (1) and (2) are only the distance ρ from the satellite to the station and the carrier phase ambiguity N.
另外,可选地,在执行S205时,可以基于卡尔曼滤波(Kalmanfiltering)算法,微控制单元利用卡尔曼滤波算法对伪距双差和载波相位双差进行处理,得到第一GNSS芯片的浮点定位解的过程。In addition, optionally, when performing S205, based on the Kalman filtering algorithm, the micro-control unit uses the Kalman filtering algorithm to process the pseudorange double difference and the carrier phase double difference to obtain the floating point of the first GNSS chip. The process of locating the solution.
其中,作为一种可能的实现方式,本申请实施例中,卡尔曼滤波的系统方程可以为:Wherein, as a possible implementation manner, in the embodiment of the present application, the system equation of Kalman filtering may be:
式中:x、y、z分别表示第一GNSS芯片定位坐标的位置参数,分别表示第一GNSS芯片的速度参数,分别表示载波相位双差模糊度;where: x, y, and z respectively represent the position parameters of the first GNSS chip positioning coordinates, respectively represent the speed parameters of the first GNSS chip, respectively represent the carrier phase double-difference ambiguity;
且为卡尔曼滤波系统方程的状态转移矩阵,In表示n阶单位矩阵,ΔT表示历元的时间间隔; and is the state transition matrix of the Kalman filter system equation, In represents the n -order unit matrix, and ΔT represents the time interval of the epoch;
且Γk-1为卡尔曼滤波系统方程的噪声系数矩阵; And Γ k-1 is the noise coefficient matrix of the Kalman filter system equation;
wk-1为设定的过程噪声向量;w k-1 is the set process noise vector;
ykP和分别为伪距双差观测向量和载波相位双差观测向量; y kP and are the pseudorange double-difference observation vector and the carrier phase double-difference observation vector, respectively;
Hk为卡尔曼滤波系统方程的测量系数矩阵,λ为载波波长,且有: 为伪距双差观测值; H k is the measurement coefficient matrix of the Kalman filter system equation, λ is the carrier wavelength, and has: is the pseudorange double-difference observation;
为载波相位双差观测值; is the carrier phase double difference observation value;
vk为观测噪声。v k is the observation noise.
由此,在执行S205进行卡尔曼滤波时:Therefore, when Kalman filtering is performed in S205:
得到的状态预测为:The resulting state predictions are:
式中,表示k-1历元状态向量滤波值,表示k历元状态向量预测值,为k-1历元状态向量方差滤波值,为k历元状态向量方差的预测值,Qk-1为k-1历元的过程噪声。In the formula, represents the k-1 epoch state vector filter value, represents the k epoch state vector prediction value, is the k-1 epoch state vector variance filter value, is the predicted value of the variance of the state vector at epoch k, and Q k-1 is the process noise at epoch k-1.
另外,得到的测量更新为:Additionally, the resulting measurements are updated to:
式中,kk为增益矩阵,Rk为观测噪声vk的方差,为k历元状态向量的滤波值,为k历元状态向量方差的滤波值。where k k is the gain matrix, R k is the variance of the observation noise v k , is the filtered value of the k-epoch state vector, is the filtered value of the k-epoch state vector variance.
其中,上述Rp表示伪距的测量方差阵,表示载波相位观测值的测量方差阵,且有k为伪距与载波相位的测量精度比例;且有:Among them, the above R p represents the measurement variance matrix of the pseudorange, represents the measurement variance matrix of carrier phase observations, and has k is the measurement accuracy ratio of pseudorange to carrier phase; and there are:
式中,为参考站(基站)参考卫星非差观测值的方差,为流动站(第一GNSS芯片)参考卫星非差观测值的方差,为固定站(基站)第i颗卫星非差观测值的方差,为流动站(第一GNSS芯片)第i颗卫星非差观测值的方差;另外,非差观测值的方差计算公式为:In the formula, is the variance of the reference satellite non-difference observations for the reference station (base station), is the variance of the non-differenced observations of the reference satellite for the rover (the first GNSS chip), is the variance of the non-difference observations of the i-th satellite at the fixed station (base station), is the variance of the non-difference observation value of the i-th satellite of the rover (the first GNSS chip); in addition, the variance calculation formula of the non-difference observation value is:
σ=a2+b2/(sin(el))2,σ=a 2 +b 2 /(sin(el)) 2 ,
式中,a、b均为设定的系数,el为对应卫星的高度角。In the formula, a and b are both set coefficients, and el is the altitude angle of the corresponding satellite.
另外,可选地,在实现上述S207时,可以基于LAMADA算法,微控制单元以LAMBDA算法对浮点定位解中的模糊度进行固定,获得模糊度对应的整数解。In addition, optionally, when the above S207 is implemented, based on the LAMADA algorithm, the micro-control unit can fix the ambiguity in the floating-point positioning solution with the LAMBDA algorithm, and obtain an integer solution corresponding to the ambiguity.
其中,采用LAMADA算法对模糊度进行固定的实现过程可简化为两个主要步骤:模糊度去相关以及模糊度整数最小二乘离散搜索。其原理是通过整数变换和降相关来缩小模糊度的搜索空间,从而提高搜索效率。Among them, the implementation process of using LAMADA algorithm to fix ambiguity can be simplified into two main steps: ambiguity decorrelation and ambiguity integer least squares discrete search. The principle is to reduce the search space of ambiguity through integer transformation and de-correlation, so as to improve the search efficiency.
假定,在上述通过卡尔曼滤波算法中求得的模糊度的实数解为且协因数阵为 It is assumed that the real solution of the ambiguity obtained by the above Kalman filtering algorithm is and the cofactor matrix is
可选地,作为一种可能的实现方式,在本申请实施例中,LAMBDA算法搜索的目标函数可以设置为:Optionally, as a possible implementation manner, in this embodiment of the present application, the objective function searched by the LAMBDA algorithm may be set as:
式中,N∈Zn,为浮点定位解中模糊度的实数解,为浮点定位解中模糊度的实数解的协因数阵。In the formula, N∈Zn , is the real solution of the ambiguity in the floating-point positioning solution, A matrix of cofactors for the real solution of the ambiguity in the floating-point positioning solution.
其中,对实数解的协因数阵进行Cholesky分解后可得:where, the cofactor matrix for the real solution After Cholesky decomposition, we can get:
式中,L为下三角矩阵,D为对角矩阵。where L is the lower triangular matrix and D is the diagonal matrix.
计算实数解的整数高斯变换及Z变换:Compute the integer Gaussian transform and Z transform of the real solution:
其中,Z为整数变换矩阵,z为变换后的模糊度向量,通过整数高斯变换后,求解满足下式的整数组合:Among them, Z is the integer transformation matrix, and z is the transformed ambiguity vector. After the integer Gaussian transformation, the integer combination that satisfies the following formula is solved:
z=(z1,z2,…,zn),z=(z 1 ,z 2 ,...,z n ),
式中, In the formula,
则求解用于确定模糊度搜索空间的J为:Then the J used to determine the ambiguity search space is solved as:
式中,znint为最接近的整数。where z nint is the closest the integer.
在椭球中搜索使下面二次型最小的模糊度组合z,:Search the ellipsoid for the ambiguity combination z that minimizes the following quadratic form:
采用上述LAMBDA算法固定模糊度的方式,降低了模糊度参数之间的相关性,缩小了模糊度的搜索空间,从而避免了大量错误模糊度候选值被引入计算的过程,减小了模糊度解算过程的运算量,提高了模糊度搜索的效率。Using the above-mentioned LAMBDA algorithm to fix the ambiguity, the correlation between the ambiguity parameters is reduced, and the search space of ambiguity is reduced, thereby avoiding the introduction of a large number of wrong ambiguity candidate values into the calculation process, and reducing the ambiguity solution. The calculation amount of the calculation process is improved, and the efficiency of the ambiguity search is improved.
在一些应用场景中,若获得的载波相位双差出现周跳等情况,则可能导致对第一GNSS芯片定位得到的定位坐标不精确。In some application scenarios, if a cycle slip occurs in the obtained carrier phase double difference, the positioning coordinates obtained by positioning the first GNSS chip may be inaccurate.
因此,可选地,作为一种可能的实现方式,请参阅图3,图3为本申请实施例提供的一种定位方法的另一种示意性流程图,在图2所示流程步骤的基础上,在执行S205之前,该定位方法还包括以下步骤:Therefore, optionally, as a possible implementation manner, please refer to FIG. 3 . FIG. 3 is another schematic flowchart of a positioning method provided by an embodiment of the present application. Above, before executing S205, the positioning method further includes the following steps:
S204,微控制单元对载波相位双差进行周跳检验;若检验通过,则执行S205,若检验不通过,则执行S206,并以执行S206后的结果执行S205。S204, the micro-control unit performs cycle slip check on the carrier phase double difference; if the check passes, execute S205, if the check fails, execute S206, and execute S205 with the result of executing S206.
S206,微控制单元更新载波相位双差。S206, the micro-control unit updates the carrier phase double difference.
在本申请实施例中,通过对载波相位双差进行周跳检验,以确定对第一GNSS芯片定位解算得到的定位坐标足够精确。其中,若对载波相位双差进行周跳检验通过,则确定利用该载波相位双差进行解算得到的定位坐标能够满足精度要求,此时直接执行S205;反之,若对载波相位双差进行周跳检验不通过,则当前的载波相位双差不能够满足解算得到定位坐标的精度要求,此时执行S206,对载波相位双差进行更新,并以更新后的载波相位双差执行S205,即以更新后的载波相位双差并结合伪距双差用于卡尔曼滤波算法进行解算,得第一GNSS芯片的浮点定位解。In the embodiment of the present application, the cycle slip test is performed on the carrier phase double difference to determine that the positioning coordinates obtained by the positioning solution of the first GNSS chip are sufficiently accurate. Wherein, if the cycle-slip test is passed on the carrier phase double difference, it is determined that the positioning coordinates obtained by using the carrier phase double difference can meet the accuracy requirements, and S205 is directly executed at this time; otherwise, if the carrier phase double difference is cycled If the jump check fails, then the current carrier phase double difference cannot meet the accuracy requirements for obtaining the positioning coordinates. At this time, S206 is performed, the carrier phase double difference is updated, and S205 is performed with the updated carrier phase double difference, that is, S206 is executed. Using the updated carrier phase double difference combined with the pseudorange double difference for the Kalman filtering algorithm to solve, the floating-point positioning solution of the first GNSS chip is obtained.
可选地,为实现S204,请参阅图4,图4为图3中S204的子步骤的一种示意性流程图,作为一种可能的实现方式,S204可以包括以下子步骤:Optionally, in order to implement S204, please refer to FIG. 4 , which is a schematic flowchart of the sub-steps of S204 in FIG. 3 , as a possible implementation manner, S204 may include the following sub-steps:
S204-1,微控制单元对多个时间序列的载波相位双差观测值进行拟合,得到拟合观测值;S204-1, the micro-control unit fits the carrier phase double-difference observations of multiple time series to obtain the fitted observations;
S204-2,微控制单元判断拟合观测值与载波相位双差两者的差值是否达到载波相位阈值;若达到,则周跳检验不通过;若未达到,则周跳检验通过。S204-2, the micro-control unit judges whether the difference between the fitted observation value and the carrier phase double difference reaches the carrier phase threshold; if so, the cycle slip test fails; if not, the cycle slip test passes.
在本申请实施例中,假定多个时间序列的载波相位双差分别为:可以采用多项式拟合的方式得到载波相位双差随时间序列变化的拟合观测值,从而将载波相位双差随时间序列变化的拟合观测值与实际观测的载波相位双差两者的差值与载波相位阈值进行比对,若拟合观测值与实际观测的载波相位双差两者的差值达到载波相位阈值,则确定周跳检验不通过;反之,若拟合观测值与实际观测的载波相位双差两者的差值未达到载波相位阈值,则确定周跳检验通过。In the embodiment of the present application, it is assumed that the carrier phase double differences of multiple time series are respectively: The carrier phase double difference can be obtained by polynomial fitting Fitted observations over time series, thus double differencing the carrier phase The difference between the fitted observation value changing with the time series and the actual observed carrier phase double difference is compared with the carrier phase threshold. If the difference between the fitted observation value and the actual observed carrier phase double difference reaches the carrier phase If the phase threshold is satisfied, it is determined that the cycle slip test fails; on the contrary, if the difference between the fitted observation value and the actual observed carrier phase double difference does not reach the carrier phase threshold, it is determined that the cycle slip test passes.
另一方面,作为一种可能的实现方式,在执行S206时,微控制单元可以按照下述公式更新载波相位双差:On the other hand, as a possible implementation manner, when executing S206, the micro-control unit can update the carrier phase double difference according to the following formula:
其中,为tk历元时刻更新后的载波相位双差,f为卫星的载波频率,c为光速,为tk历元时刻的伪距双差。in, is the updated carrier phase double difference at epoch t k , f is the carrier frequency of the satellite, c is the speed of light, is the pseudorange double difference at epoch t k .
即:对于出现周跳时刻的载波相位双差,利于上述公式进行更新,从而消除载波相位双差中出现的周跳。That is, for the carrier phase double difference at the time of occurrence of a cycle slip, it is beneficial to update the above formula, thereby eliminating the cycle slip occurring in the carrier phase double difference.
值得说明的是,上述仅为示意,提出一种可能的更新载波相位双差的方式,在本申请实施例其他一些可能的应用场景中,还可以采用其他的方式更新载波相位双差,比如采用滑动平均算法进行滤波、或者是对于出现周跳时刻的载波相位双差,邻近时刻载波相位双差的均值进行替换等等,只要能够更新载波相位双差,避免出现周跳即可。It is worth noting that the above is only for illustration, and a possible way to update the carrier phase double difference is proposed. In some other possible application scenarios of the embodiments of the present application, other methods can also be used to update the carrier phase double difference, such as using The moving average algorithm is used for filtering, or for the double difference of the carrier phase at the time of the cycle slip, the average value of the double difference of the carrier phase at the adjacent moment is replaced, etc., as long as the double difference of the carrier phase can be updated to avoid the occurrence of cycle slips.
可见,基于上述设计,本申请实施例提供的一种定位方法,通过对载波相位双差进行周跳校验,以确定载波相位双差中是否出现周跳,并在载波相位双差出现周跳时,更新载波相位双差,避免用于解算得到的第一GNSS芯片定位坐标受到载波相位双差中出现的周跳影响。It can be seen that, based on the above design, in a positioning method provided by the embodiment of the present application, cycle slip checking is performed on the carrier phase double difference to determine whether a cycle slip occurs in the carrier phase double difference, and a cycle slip occurs in the carrier phase double difference. When , the carrier phase double difference is updated to prevent the first GNSS chip positioning coordinates obtained by the solution from being affected by the cycle slip occurring in the carrier phase double difference.
另外,为确保LAMBDA算法模糊搜索的正确性,作为一种可能的实现方式,请参阅图5,图5为本申请实施例提供的一种定位方法的再一种示意性流程图,在图2及图3所示流程步骤的基础上,在执行S209之前,该定位方法还包括以下步骤:In addition, in order to ensure the correctness of the fuzzy search of the LAMBDA algorithm, as a possible implementation manner, please refer to FIG. 5. FIG. 5 is another schematic flowchart of a positioning method provided by an embodiment of the present application. In FIG. 2 On the basis of the flow steps shown in FIG. 3, before executing S209, the positioning method further includes the following steps:
S208,微控制单元根据Ratio检测算法对模糊度对应的整数解进行检测;若检测通过,则执行S209;反之,若监测不通过,则微控制单元丢弃该模糊度对应的整数解。S208, the micro-control unit detects the integer solution corresponding to the ambiguity according to the Ratio detection algorithm; if the detection passes, execute S209; otherwise, if the monitoring fails, the micro-control unit discards the integer solution corresponding to the ambiguity.
在本申请实施例中,微控制单元可以在搜索空间中搜索两组模糊度的解N1和N2,分别计算:In this embodiment of the present application, the micro-control unit may search the search space for two sets of ambiguity solutions N 1 and N 2 , and calculate respectively:
并计算两者的比值若大于设定阈值时,则认为N1对应的模糊度组合为较为精确的模糊度组合,此时确认检测通过,执行S209;反之,若小于或等于该设定阈值,则认为检测不通过,此时则微控制单元丢弃该模糊度对应的整数解。and calculate the ratio of the two like When it is greater than the set threshold, it is considered that the ambiguity combination corresponding to N1 is a relatively accurate ambiguity combination, and the detection is confirmed to pass at this time, and S209 is executed; otherwise, if If it is less than or equal to the set threshold, it is considered that the detection fails, and at this time, the micro-control unit discards the integer solution corresponding to the ambiguity.
上述应用场景为进行定位的需求,而在其他一些应用场景中,在定位的基础上,还可能会存在定向的需求。The above application scenarios are for positioning requirements, and in some other application scenarios, there may also be orientation requirements on the basis of positioning.
因此,为满足定向需求,请参阅图6,图6为本申请实施例提供的一种定位设备的另一种示意性结构图,在图1的基础上,该定位设备还包括第二GNSS芯片,第二GNSS芯片同样与微控制单元电连接。Therefore, in order to meet the orientation requirements, please refer to FIG. 6 , which is another schematic structural diagram of a positioning device provided by an embodiment of the present application. On the basis of FIG. 1 , the positioning device further includes a second GNSS chip , the second GNSS chip is also electrically connected with the micro-control unit.
其中,作为一种可能的实现方式,为降低该定位设备的成本,第二GNSS芯片可以采用单频芯片。Wherein, as a possible implementation manner, in order to reduce the cost of the positioning device, the second GNSS chip may use a single-frequency chip.
基于如图6所示的定位设备,请参阅图7,图7为本申请实施例提供的一种定位方法的再一种示意性流程图,在图2的基础上,该定位方法还包括以下步骤:Based on the positioning device shown in FIG. 6 , please refer to FIG. 7 . FIG. 7 is another schematic flowchart of a positioning method provided by an embodiment of the present application. On the basis of FIG. 2 , the positioning method further includes the following step:
S211,微控制单元根据第一GNSS芯片对应的伪距和载波相位、以及第二GNSS芯片监测的伪距和载波相位,构建双差微分方程;S211, the micro-control unit constructs a double-difference differential equation according to the pseudorange and carrier phase corresponding to the first GNSS chip and the pseudorange and carrier phase monitored by the second GNSS chip;
S213,微控制单元根据设定基线长度作为双差微分方程的约束条件,得到相对位置向量;S213, the micro-control unit obtains the relative position vector according to the set baseline length as the constraint condition of the double-difference differential equation;
S215,微控制单元根据相对位置向量,得到基线航向角。S215, the micro-control unit obtains the baseline heading angle according to the relative position vector.
在本申请实施例中,基于本申请上述实施例获取第一GNSS芯片定位坐标的基础上,以第一GNSS芯片的定位坐标为基准点,采用例如S201、S203相同的方式,由微控制单元根据第一GNSS芯片对应的伪距和载波相位、以及第二GNSS芯片监测的伪距和载波相位,分别计算得到获得的伪距双差和载波相位双差,构建双差微分方程。In this embodiment of the present application, on the basis of obtaining the positioning coordinates of the first GNSS chip based on the above-mentioned embodiments of the present application, the positioning coordinates of the first GNSS chip are used as the reference point, and the micro-control unit uses the same method as S201 and S203, for example, according to The pseudorange and carrier phase corresponding to the first GNSS chip, and the pseudorange and carrier phase monitored by the second GNSS chip are calculated to obtain the pseudorange double difference and the carrier phase double difference, respectively, to construct a double difference differential equation.
具体构成方式如上述公式(1)和公式(2),区别仅在于,上述公式(1)和公式(2)是以基站为测站r,第一GNSS芯片为测站1,而在定向时构建的双差方程,是以第一GNSS芯片为测站1、第二GNSS芯片为测站2,则构建的双差方程可表示为:The specific structure is as the above formula (1) and formula (2), the only difference is that the above formula (1) and formula (2) use the base station as the station r, the first GNSS chip as the station 1, and when the orientation is The constructed double-difference equation takes the first GNSS chip as station 1 and the second GNSS chip as station 2, then the constructed double-difference equation can be expressed as:
同理,在上述式中,由于在同一定位设备中,第一GNSS芯片与第二GNSS芯片两者的距离较近(不会超过10km),因此均可以忽略掉电流层和对流层的影响,即和均可以视为0。Similarly, in the above formula, since in the same positioning device, the distance between the first GNSS chip and the second GNSS chip is relatively close (not more than 10km), the influence of the current layer and the troposphere can be ignored, that is, and can be regarded as 0.
其中,在第二GNSS芯片的初始位置处采用泰勒级数展开,略去高项后,得到双差微分误差方程表示为:where the initial position of the second GNSS chip Taylor series expansion is used at , and after omitting the high term, the double-difference differential error equation is obtained, which is expressed as:
上述公式(5)及公式(6)中,表示误差方程的误差项,(xp,yp,zp)为卫星p的位置,(xq,yq,zq)为卫星q的位置,为双差模糊度,为观测值与未知参数近似值求得的计算值之差,(δx2,δy2,δz2)为初始位置的改正数。In the above formula (5) and formula (6), represents the error term of the error equation, (x p , y p , z p ) is the position of satellite p, (x q , y q , z q ) is the position of satellite q, is the double difference ambiguity, is the difference between the observed value and the calculated value obtained from the approximation of the unknown parameter, (δx 2 ,δy 2 ,δz 2 ) is the initial position correction number.
假定第一GNSS芯片的定位坐标为(x1,y1,z1),第二GNSS芯片的近似位置为(x2,y2,z2),则将表征第一GNSS芯片与第二GNSS芯片的距离作为设定基线长度L,得到的基线长约束方程为:Assuming that the positioning coordinates of the first GNSS chip are (x 1 , y 1 , z 1 ), and the approximate position of the second GNSS chip is (x 2 , y 2 , z 2 ), the first GNSS chip and the second GNSS chip will be characterized The distance of the chip is used as the set baseline length L, and the obtained baseline length constraint equation is:
L=(x1-x2)2+(y1-y2)2+(z1-z2)2 (7)L=(x 1 -x 2 ) 2 +(y 1 -y 2 ) 2 +(z 1 -z 2 ) 2 (7)
由此,结合上述公式(5)和公式(6),将公式(7)在第二GNSS芯片初始位置处采用泰勒级数展开,并略去高项后得到:Therefore, combined with the above formula (5) and formula (6), formula (7) is expanded by Taylor series at the initial position of the second GNSS chip, and the high term is omitted to obtain:
式中,为观测值与未知参数近似值求得的计算值之差。In the formula, The difference between the calculated value for the observed value and the approximation for the unknown parameter.
然后采用例如最小二乘法的方式求解上述公式(8),得到表征第一GNSS芯片与第二GNSS芯片的连线方向的相对位置向量,从而再根据相对位置向量的指向,求得基线航向角,实现定向。Then, for example, the least squares method is used to solve the above formula (8), and the relative position vector representing the connection direction of the first GNSS chip and the second GNSS chip is obtained, and then the baseline heading angle is obtained according to the direction of the relative position vector, achieve orientation.
可见,基于上述设计,本申请实施例提供的一种定位方法,在获得的第一GNSS芯片的定位坐标基础上,将第一GNSS芯片与第二GNSS芯片两者的距离作为约束条件,并结合第一GNSS芯片监测的伪距和载波相位,以及第二GNSS芯片监测的伪距和载波相位,构建得到的双差微分方程,从而求得表征第一GNSS芯片与第二GNSS芯片的连线方向的相对位置向量,进而得到基线航向角,实现定向,降低定向的硬件成本。It can be seen that, based on the above design, in a positioning method provided by the embodiment of the present application, on the basis of the obtained positioning coordinates of the first GNSS chip, the distance between the first GNSS chip and the second GNSS chip is used as a constraint condition, and combined with The pseudorange and carrier phase monitored by the first GNSS chip, as well as the pseudorange and carrier phase monitored by the second GNSS chip, construct the obtained double-difference differential equation, so as to obtain the connection direction that characterizes the first GNSS chip and the second GNSS chip The relative position vector of , and then the baseline heading angle is obtained to realize orientation and reduce the hardware cost of orientation.
值得说明的是,上述实现方式仅为示意,在获得第一GNSS芯片的基础上,结合测量第二GNSS芯片与第一GNSS芯片的相对位置向量,从而实现定向的目的,在本申请实施例其他一些可能的实现方式中,还可以采用例如对第一GNSS芯片进行定位坐标计算的方式,对第二GNSS芯片进行定位坐标的计算,从而根据定位第一GNSS芯片得到的定位坐标以及定位第二GNSS芯片得到的定位坐标进行定向的计算,这取决于具体的应用场景或者是对定位设备不同的设置而定,只要能利用第一GNSS芯片和第二GNSS芯片实现定向的目的即可。It is worth noting that the above implementation is only for illustration. On the basis of obtaining the first GNSS chip, the relative position vector of the second GNSS chip and the first GNSS chip is measured in combination to achieve the purpose of orientation. In some possible implementations, for example, the first GNSS chip can be used to calculate the positioning coordinates to calculate the positioning coordinates of the second GNSS chip, so as to locate the second GNSS chip according to the positioning coordinates obtained by positioning the first GNSS chip and positioning the second GNSS chip. The positioning coordinates obtained by the chip are used to calculate the orientation, which depends on the specific application scenario or different settings of the positioning device, as long as the first GNSS chip and the second GNSS chip can be used to achieve the purpose of orientation.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,附图中的流程图和框图显示了根据本申请实施例的设备、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。In the embodiments provided in this application, it should be understood that the disclosed apparatus and method may also be implemented in other manners. The apparatus embodiments described above are merely schematic, for example, the flowcharts and block diagrams in the accompanying drawings show the architecture, functions and operations of possible implementations of the apparatus, methods and computer program products according to the embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more functions for implementing the specified logical function(s) executable instructions.
也应当注意,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or actions , or can be implemented in a combination of dedicated hardware and computer instructions.
另外,在本申请实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。In addition, each functional module in the embodiments of the present application may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the embodiments of the present application. The aforementioned storage medium includes: a U disk, a removable hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk and other media that can store program codes.
综上所述,本申请实施例提供的一种定位设备、方法及计算机可读存储介质,采用由通信单元、第一GNSS芯片及微控制单元构成的定位设备,微控制单元通过通信单元获取第k历元时基站和第一GNSS芯片各自监测的卫星数据,并基于基站和第一GNSS芯片各自监测的卫星数据,求取第一GNSS芯片定位坐标的浮点定位解,且对浮点定位解中的模糊度进行固定,求得模糊度对应的整数解后,利用浮点定位解和求得的整数解计算得到第一GNSS芯片的定位坐标,相比于现有技术,使定位不再依赖于高精度板卡,能够降低定位的硬件成本。To sum up, a positioning device, a method, and a computer-readable storage medium provided by the embodiments of the present application adopt a positioning device composed of a communication unit, a first GNSS chip, and a micro-control unit, and the micro-control unit obtains the first At epoch k, the satellite data monitored by the base station and the first GNSS chip respectively, and based on the satellite data monitored by the base station and the first GNSS chip, the floating-point positioning solution of the positioning coordinates of the first GNSS chip is obtained, and the floating-point positioning solution is The ambiguity is fixed, and after the integer solution corresponding to the ambiguity is obtained, the floating-point positioning solution and the obtained integer solution are used to calculate the positioning coordinates of the first GNSS chip. Compared with the prior art, the positioning is no longer dependent on For high-precision boards, it can reduce the hardware cost of positioning.
并且,还通过对载波相位双差进行周跳校验,以确定载波相位双差中是否出现周跳,并在载波相位双差出现周跳时,更新载波相位双差,避免用于解算得到的第一GNSS芯片定位坐标受到载波相位双差中出现的周跳影响。In addition, the cycle slip check is performed on the carrier phase double difference to determine whether a cycle slip occurs in the carrier phase double difference, and when a cycle slip occurs in the carrier phase double difference, the carrier phase double difference is updated to avoid being used in the calculation. The positioning coordinates of the first GNSS chip are affected by cycle slips occurring in the carrier phase double difference.
另外,在获得的第一GNSS芯片的定位坐标基础上,将第一GNSS芯片与第二GNSS芯片两者的距离作为约束条件,并结合第一GNSS芯片监测的伪距和载波相位,以及第二GNSS芯片监测的伪距和载波相位,构建得到的双差微分方程,从而求得表征第一GNSS芯片与第二GNSS芯片的连线方向的相对位置向量,进而得到基线航向角,实现定向,降低定向的硬件成本。In addition, on the basis of the obtained positioning coordinates of the first GNSS chip, the distance between the first GNSS chip and the second GNSS chip is used as a constraint condition, and the pseudorange and carrier phase monitored by the first GNSS chip are combined with the second GNSS chip. The pseudorange and carrier phase monitored by the GNSS chip are used to construct the obtained double-difference differential equation, so as to obtain the relative position vector representing the connection direction of the first GNSS chip and the second GNSS chip, and then obtain the baseline heading angle to achieve orientation and reduce Targeted hardware cost.
以上所述仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the present application. For those skilled in the art, the present application may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the protection scope of this application.
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其它的具体形式实现本申请。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化囊括在本申请内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。It will be apparent to those skilled in the art that the present application is not limited to the details of the above-described exemplary embodiments, but that the present application can be implemented in other specific forms without departing from the spirit or essential characteristics of the present application. Accordingly, the embodiments are to be regarded in all respects as illustrative and not restrictive, and the scope of the application is to be defined by the appended claims rather than the foregoing description, which is therefore intended to fall within the scope of the claims. All changes that come within the meaning and scope of equivalents to are included in this application. Any reference signs in the claims shall not be construed as limiting the involved claim.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910570270.9A CN110174691B (en) | 2019-06-27 | 2019-06-27 | A positioning device, method and computer-readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910570270.9A CN110174691B (en) | 2019-06-27 | 2019-06-27 | A positioning device, method and computer-readable storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110174691A CN110174691A (en) | 2019-08-27 |
| CN110174691B true CN110174691B (en) | 2021-07-30 |
Family
ID=67699328
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910570270.9A Active CN110174691B (en) | 2019-06-27 | 2019-06-27 | A positioning device, method and computer-readable storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110174691B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110531395B (en) * | 2019-09-05 | 2021-10-01 | 北京百度网讯科技有限公司 | Method, device and device for positioning of unmanned vehicles |
| CN111586837A (en) * | 2020-05-07 | 2020-08-25 | 广东电网有限责任公司电力科学研究院 | Mobile terminal positioning method and mobile terminal |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2013108960A (en) * | 2011-11-24 | 2013-06-06 | Toyota Central R&D Labs Inc | Positioning device and program |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4116792B2 (en) * | 2001-12-19 | 2008-07-09 | 古野電気株式会社 | Carrier phase relative positioning device |
| US7432853B2 (en) * | 2003-10-28 | 2008-10-07 | Trimble Navigation Limited | Ambiguity estimation of GNSS signals for three or more carriers |
| US7869811B2 (en) * | 2007-05-01 | 2011-01-11 | Nokia Corporation | Determination of a relative position of a satellite signal receiver |
| CN107632316A (en) * | 2017-09-11 | 2018-01-26 | 北京数码汇博科技有限公司 | A kind of method and structure using satellite positioning surveys body gesture |
| CN108267760A (en) * | 2017-12-27 | 2018-07-10 | 深圳华大北斗科技有限公司 | Acquisition methods, device, computer equipment and the readable storage medium storing program for executing of location data |
| CN109239749A (en) * | 2018-08-22 | 2019-01-18 | 深圳普创天信科技发展有限公司 | Localization method, terminal and computer readable storage medium |
-
2019
- 2019-06-27 CN CN201910570270.9A patent/CN110174691B/en active Active
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2013108960A (en) * | 2011-11-24 | 2013-06-06 | Toyota Central R&D Labs Inc | Positioning device and program |
Non-Patent Citations (1)
| Title |
|---|
| 《Resolution of Integer Ambiguity in GPS Attitude Determination》;Chuang Liu et.al;《2011 International Conference on Instrumentation,Measurement,Computer,Communication and Control》;20111231;第953-957页 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110174691A (en) | 2019-08-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20240418870A1 (en) | Systems and methods for high-integrity satellite positioning | |
| CN111751853B (en) | GNSS dual-frequency carrier phase integer ambiguity resolution method | |
| US11624843B2 (en) | Systems and methods for reduced-outlier satellite positioning | |
| JP5421903B2 (en) | Partial search carrier phase integer ambiguity determination | |
| US20200271795A1 (en) | Systems and methods for real time kinematic satellite positioning | |
| JP6086901B2 (en) | GNSS survey receiver with multiple RTK engines | |
| EP2044457B1 (en) | A method for increasing the reliability of position information when transitioning from a regional, wide-area, or global carrier-phase differential navigation (wadgps) to a local real-time kinematic (rtk) navigation system | |
| WO2019218766A1 (en) | Inertial navigation assisted beidou triple-frequency carrier phase whole-cycle ambiguity resolution method | |
| CN112526569B (en) | A multi-epoch step-by-step ambiguity solution method for inertial navigation-aided satellite navigation relative positioning | |
| US10830898B2 (en) | Method and apparatus applicable to positioning in NLOS environment | |
| CN112558112B (en) | GNSS state domain slow-change slope fault integrity monitoring method | |
| CN110174691B (en) | A positioning device, method and computer-readable storage medium | |
| CN118033702A (en) | Multi-directional fusion post-processing positioning method and device | |
| Henkel et al. | Real-time kinematic positioning for unmanned air vehicles | |
| Farooq et al. | Survey of cycle slip detection & correction techniques for single frequency receivers | |
| Wen et al. | Mitigation of multiple outliers using consistency checking for GNSS standard point positioning in urban areas | |
| Adjrad et al. | 3D-mapping-aided GNSS exploiting Galileo for better accuracy in dense urban environments | |
| CN112731493B (en) | A high-precision static pseudo-range single-point positioning method and device | |
| Haque et al. | Fault Detection and Correction Using Observation Domain Optimization for GNSS Applications | |
| CN112987048A (en) | High-precision positioning method suitable for android intelligent terminal, intelligent terminal and storage medium | |
| CN119471735B (en) | GNSS/INS integrated navigation integrity monitoring method and system based on random sampling consistency | |
| CN119689536B (en) | GNSS positioning method, system, terminal and medium based on signal-to-noise ratio arc segment analysis | |
| Wang et al. | All-frequency PPP-RTK tightly coupled with IMU for GNSS-adverse areas | |
| Xu et al. | Enhancing smartphone-based vehicle navigation in deep urban areas using machine learning-aided PPP-RTK | |
| CN117406261A (en) | Global navigation satellite system baseline static relative positioning method, device and equipment |
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 | ||
| CP03 | Change of name, title or address |
Address after: 410100 Hunan Province, Changsha City, East Fourth Road South Section, No. 128, Guoke Integrated Circuit Industrial Park, Building 9, 1701 Patentee after: Xinsheng Intelligent Technology (Hunan) Co.,Ltd. Country or region after: China Address before: Room 528, No. 18 Xinya Road, Wujin National High tech Industrial Development Zone, Changzhou City, Jiangsu Province Patentee before: Jiangsu Xinsheng Intelligent Technology Co.,Ltd. Country or region before: China |
|
| CP03 | Change of name, title or address |