WO2022135070A1 - Inertial navigation method and device - Google Patents

Inertial navigation method and device Download PDF

Info

Publication number
WO2022135070A1
WO2022135070A1 PCT/CN2021/133976 CN2021133976W WO2022135070A1 WO 2022135070 A1 WO2022135070 A1 WO 2022135070A1 CN 2021133976 W CN2021133976 W CN 2021133976W WO 2022135070 A1 WO2022135070 A1 WO 2022135070A1
Authority
WO
WIPO (PCT)
Prior art keywords
acceleration data
kalman filter
data
mobile terminal
inertial navigation
Prior art date
Application number
PCT/CN2021/133976
Other languages
French (fr)
Chinese (zh)
Inventor
郭为
Original Assignee
北京紫光展锐通信技术有限公司
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 北京紫光展锐通信技术有限公司 filed Critical 北京紫光展锐通信技术有限公司
Publication of WO2022135070A1 publication Critical patent/WO2022135070A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/10Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration
    • G01C21/12Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning
    • G01C21/16Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation

Definitions

  • the embodiments of the present application relate to the technical field of inertial navigation, and in particular, to an inertial navigation method and device.
  • the Inertial Navigation System takes Newton's laws of mechanics as its working principle, uses the inertial measurement element installed on the carrier to measure the acceleration information of the carrier, and obtains the navigation parameters such as the displacement and velocity of the carrier through integral operation.
  • Inertial navigation has complete autonomy and anti-interference, and has high accuracy in a short period of time.
  • some errors will inevitably be introduced in the entire integration process, and the error will change with time. Accumulated, resulting in poor accuracy for long-term navigation work.
  • the embodiments of the present application provide an inertial navigation method and device, which can effectively reduce the integral error in the inertial navigation and improve the precision of the inertial navigation.
  • an embodiment of the present application provides an inertial navigation method, which is applied to a mobile terminal, and the method includes:
  • the acceleration data is processed based on the first Kalman filter to obtain error data corresponding to the acceleration data, and the first Kalman filter is a zero-order Kalman filter;
  • the target acceleration data is processed based on the second Kalman filter to obtain motion data of the mobile terminal.
  • the acceleration data is processed based on the error data to obtain processed target acceleration data, including:
  • a difference between the acceleration data and the error data is calculated, and the difference is determined as the target acceleration data.
  • the target acceleration data is processed based on the second Kalman filter to obtain the motion data of the mobile terminal, including:
  • the second Kalman filter is a second-order Kalman filter.
  • an inertial navigation device which is applied to a mobile terminal, and the device includes:
  • a measurement module configured to obtain acceleration data of the mobile terminal by measuring the acceleration measurement device of the mobile terminal
  • the first processing module is configured to process the acceleration data based on the first Kalman filter, obtain error data corresponding to the acceleration data, and process the acceleration data based on the error data to obtain the processed acceleration data.
  • target acceleration data the first Kalman filter is a zero-order Kalman filter;
  • the second processing module is configured to process the target acceleration data based on the second Kalman filter to obtain motion data of the mobile terminal.
  • the first processing module is used for:
  • a difference between the acceleration data and the error data is calculated, and the difference is determined as the target acceleration data.
  • the second processing module is used for:
  • the second Kalman filter is a second-order Kalman filter.
  • an embodiment of the present application provides a mobile terminal, including at least one processor and a memory;
  • the memory stores computer-executable instructions
  • the at least one processor executes computer-implemented instructions stored in the memory, causing the at least one processor to perform the inertial navigation method as provided by the first aspect.
  • an embodiment of the present application provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when a processor executes the computer-executable instructions, the inertial navigation provided in the first aspect is implemented method.
  • an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the inertial navigation method provided in the first aspect.
  • the acceleration data of the mobile terminal is obtained by measuring the acceleration measurement device of the mobile terminal
  • the acceleration data is processed based on the first Kalman filter to obtain the corresponding acceleration data.
  • error data and use the error data to process the acceleration data to obtain the processed target acceleration data, and then process the above-mentioned target acceleration data based on the second Kalman filter to obtain the velocity data and displacement data of the mobile terminal
  • the first Kalman filter is a zero-order Kalman filter.
  • the first Kalman filter is used to process the acceleration data, so that the error of the acceleration data can be eliminated in real time, and then the second Kalman filter is used to process the acceleration data.
  • the controller calculates the motion data of the mobile terminal, so that the integration error can be eliminated in real time during the inertial navigation process, and the accuracy of the inertial navigation can be improved.
  • FIG. 1 is a schematic structural diagram of an inertial navigation processing system provided in an embodiment of the application.
  • FIG. 2 is a schematic flowchart of an inertial navigation method provided in an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a curve of acceleration data obtained by measurement in an embodiment of the application and error data processed by the first Kalman filter;
  • FIG. 4 is a schematic diagram of the comparison of the speed data curve obtained after being processed by the first Kalman filter and the second Kalman filter simultaneously and the speed data curve obtained without being processed by the first Kalman filter in the embodiment of the application;
  • Fig. 5 is the comparative schematic diagram of the displacement data curve obtained after the first Kalman filter and the second Kalman filter are processed simultaneously in the embodiment of the application and the displacement data curve obtained without being processed by the first Kalman filter;
  • FIG. 6 is a schematic diagram of a program module of an inertial navigation device provided in an embodiment of the application.
  • FIG. 7 is a schematic diagram of a hardware structure of a mobile terminal provided in an embodiment of the present application.
  • Inertial Navigation System also known as inertial reference system
  • inertial reference system is an autonomous navigation system that does not rely on external information and does not radiate energy to the outside (such as radio navigation). Its working environment includes not only the air, the ground, but also underwater.
  • the basic working principle of inertial navigation is based on Newton's laws of mechanics. By measuring the acceleration of the mobile terminal in the inertial reference frame, integrating it with time, and transforming it into the navigation coordinate system, the mobile terminal can be obtained. Information such as velocity, yaw angle, and displacement in the navigation coordinate system.
  • an embodiment of the present application provides an inertial navigation method. After the acceleration data of the mobile terminal is measured, the zero-order Kalman filter is used to eliminate the error of the acceleration data, and then the second Kalman filter is used. The controller calculates the motion data of the mobile terminal, so that the integration error can be eliminated in real time during the inertial navigation process, and the accuracy of the inertial navigation can be improved.
  • FIG. 1 is a schematic structural diagram of an inertial navigation processing system provided in the embodiments of the present application.
  • the first Kalman filter is used to process the acceleration data to obtain error data corresponding to the acceleration data, and then the above-mentioned acceleration data are processed based on the obtained error data.
  • the processed target acceleration data is processed by the second Kalman filter, and the velocity data and displacement data of the mobile terminal can be obtained.
  • the second Kalman filter is a schematic structural diagram of an inertial navigation processing system provided in the embodiments of the present application.
  • FIG. 2 is a schematic flowchart of an inertial navigation method provided by an embodiment of the present application, which can be applied to a mobile terminal.
  • the above inertial navigation method includes:
  • the above-mentioned mobile terminal may be a mobile phone, a vehicle-mounted terminal, a POS machine, or the like.
  • the above acceleration measurement device may use an acceleration sensor.
  • an acceleration sensor composed of a mass block, a damper, an elastic element, a sensitive element and an adaptive circuit can be obtained by using Newton's second law by measuring the inertial force on the mass block during the acceleration process of the mobile terminal. acceleration value.
  • the types of acceleration sensors that can be used include capacitive acceleration sensors, inductive acceleration sensors, strain-type acceleration sensors, piezoresistive acceleration sensors, piezoelectric acceleration sensors, and the like.
  • S202 Process the acceleration data based on the first Kalman filter to obtain error data corresponding to the acceleration data.
  • the calculation of the Kalman filter is based on the state equation, so the state equation of the inertial navigation system needs to be determined first.
  • the state equation is set as:
  • X(k) is the current state
  • X(k+1) is the state at the next moment
  • is the transition matrix
  • B is the control matrix
  • u is the control quantity
  • is the noise matrix
  • W is the system noise
  • Y is the output quantity
  • H is the output matrix
  • V is the observation noise. That is, the observed output at this moment and the state at the next moment can be obtained from the known state, control quantity and system noise at the current moment.
  • the above-mentioned first Kalman filter adopts the zero-order Kalman filter, namely:
  • FIG. 3 Schematic diagram of the curve of the error data after Kalman filter processing.
  • the difference between the acceleration data and the error data may be calculated, and the difference may be determined as the target acceleration data.
  • X(k) is the current state
  • X(k+1) is the state at the next moment
  • is the transition matrix
  • B is the control matrix
  • u is the control quantity
  • is the noise matrix
  • W is the system noise
  • Y is the output quantity
  • H is the output matrix
  • V is the observation noise. That is, the observable output at this moment and the state at the next moment can be obtained from the known state, control quantity and system noise at the current moment.
  • the above state includes the acceleration, velocity and displacement of the mobile terminal, that is, X(k) includes a vector of acceleration, velocity and displacement:
  • the state transition matrix ⁇ is a matrix that expresses the relationship between the state at the next moment and the state at this moment. Assuming that the sampling period T is relatively short, it can be approximated that the acceleration a is almost constant, then:
  • integral operation can be performed on the above target acceleration data to obtain velocity data and displacement data of the mobile terminal.
  • FIG. 4 and FIG. 5 are the first Kalman filter in the embodiment of the application.
  • the first Kalman filter is used to process the acceleration data, so that the error of the acceleration data can be eliminated in real time, and then the second Kalman filter is used to process the acceleration data.
  • the Kalman filter calculates the speed data and displacement data of the mobile terminal, so that the integration error can be eliminated in real time during the inertial navigation process, and the accuracy of the inertial navigation can be improved.
  • FIG. 6 is a schematic diagram of a program module of an inertial navigation device provided in an embodiment of the application, and the inertial navigation device 60 includes:
  • the measurement module 601 is configured to obtain acceleration data of the mobile terminal by measuring the acceleration measurement device of the mobile terminal.
  • the first processing module 602 is configured to process the acceleration data based on the first Kalman filter to obtain error data corresponding to the acceleration data, and process the acceleration data based on the error data to obtain processed target acceleration data , the above-mentioned first Kalman filter is a zero-order Kalman filter.
  • the second processing module 603 is configured to process the above-mentioned target acceleration data based on the second Kalman filter to obtain motion data of the mobile terminal.
  • the first Kalman filter is used to process the acceleration data, which can eliminate the error of the acceleration data in real time, and then use the first Kalman filter to process the acceleration data.
  • the second Kalman filter calculates the motion data of the mobile terminal, so that the integration error can be eliminated in real time during the inertial navigation process, and the accuracy of the inertial navigation can be improved.
  • the above-mentioned first processing module is used for:
  • a difference between the acceleration data and the error data is calculated, and the difference is determined as the target acceleration data.
  • the above-mentioned second processing module is used for:
  • the above-mentioned second Kalman filter is a second-order Kalman filter.
  • an embodiment of the present application further provides a mobile terminal, the mobile terminal includes at least one processor and a memory; wherein, the memory stores computer execution instructions; the above-mentioned at least one processor The computer-executed instructions stored in the memory are executed to implement each step in the inertial navigation method described in the above embodiments, which will not be repeated here.
  • FIG. 7 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present application.
  • the mobile terminal 70 in this embodiment includes: a processor 701 and a memory 702; wherein:
  • a memory 702 for storing computer-executed instructions
  • the processor 701 is configured to execute the computer-executed instructions stored in the memory, so as to implement each step in the inertial navigation method described in the foregoing embodiments, which will not be repeated here.
  • the memory 702 may be independent or integrated with the processor 701 .
  • the device further includes a bus 703 for connecting the memory 702 and the processor 701 .
  • the embodiments of the present application further provide a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the processor executes the computer-executable instructions In order to implement each step in the inertial navigation method as described in the above embodiment, the details are not repeated here.
  • the embodiments of the present application further provide a computer program product, including a computer program, which, when executed by a processor, implements the inertial navigation described in the foregoing embodiments Each step in the method will not be repeated here.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are only illustrative.
  • the division of the modules is only a logical function division. In actual implementation, there may be other division methods.
  • multiple modules may be combined or integrated. to another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or modules, and may be in electrical, mechanical or other forms.
  • modules described as separate components may or may not be physically separated, and components shown as modules may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional module in each embodiment of the present application may be integrated in one processing unit, or each module may exist physically alone, or two or more modules may be integrated in one unit.
  • the units formed by the above modules can be implemented in the form of hardware, or can be implemented in the form of hardware plus software functional units.
  • the above-mentioned integrated modules implemented in the form of software functional modules may be stored in a computer-readable storage medium.
  • the above-mentioned software function modules are stored in a storage medium, and include several instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to execute the various embodiments of the present application. part of the method.
  • processor may be a central processing unit (English: Central Processing Unit, referred to as: CPU), or other general-purpose processors, digital signal processors (English: Digital Signal Processor, referred to as: DSP), application-specific integrated circuits (English: Application Specific Integrated Circuit, referred to as: ASIC) and so on.
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the application can be directly embodied as executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
  • the memory may include high-speed RAM memory, and may also include non-volatile storage NVM, such as at least one magnetic disk memory, and may also be a U disk, a removable hard disk, a read-only memory, a magnetic disk or an optical disk, and the like.
  • NVM non-volatile storage
  • the bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, or the like.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into address bus, data bus, control bus and so on.
  • the buses in the drawings of the present application are not limited to only one bus or one type of bus.
  • the above-mentioned storage medium may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Except programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable except programmable read only memory
  • PROM programmable read only memory
  • ROM read only memory
  • magnetic memory flash memory
  • flash memory magnetic disk or optical disk.
  • a storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
  • An exemplary storage medium is coupled to the processor, such that the processor can read information from, and write information to, the storage medium.
  • the storage medium can also be an integral part of the processor.
  • the processor and the storage medium may be located in application specific integrated circuits (Application Specific Integrated Circuits, ASIC for short).
  • ASIC Application Specific Integrated Circuits
  • the processor and the storage medium may also exist in the electronic device or the host device as discrete components.
  • the aforementioned program can be stored in a computer-readable storage medium.
  • the steps including the above method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Navigation (AREA)

Abstract

An inertial navigation method and apparatus, a mobile terminal, a computer readable storage medium, and a computer program product. Said method comprises: using an acceleration measurement device of a mobile terminal to obtain acceleration data of the mobile terminal (S201); processing the acceleration data on the basis of a first Kalman filter to obtain error data corresponding to the acceleration data, the first Kalman filter being a zero-order Kalman filter (S202); processing the acceleration data on the basis of the error data, to obtain processed target acceleration data (S203); and processing the target acceleration data on the basis of a second Kalman filter to obtain motion data of the mobile terminal (S204). In said method, after the acceleration data of the mobile terminal is measured, the error of the acceleration data is eliminated first by using the first Kalman filter, and then the motion data of the mobile terminal is calculated by using the second Kalman filter, so that real-time elimination of integration error can be achieved during an inertial navigation process, improving the accuracy of inertial navigation.

Description

惯性导航方法及设备Inertial navigation method and device
本申请要求于2020年12月24日提交中国专利局、申请号为202011552499.9、申请名称为“惯性导航方法及设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202011552499.9 and the application name "Inertial Navigation Method and Device" filed with the China Patent Office on December 24, 2020, the entire contents of which are incorporated into this application by reference.
技术领域technical field
本申请实施例涉及惯性导航技术领域,尤其涉及一种惯性导航方法及设备。The embodiments of the present application relate to the technical field of inertial navigation, and in particular, to an inertial navigation method and device.
背景技术Background technique
惯性导航系统(Inertial Navigation System,INS)以牛顿力学定律为工作原理,利用安装在载体上的惯性测量元件来测量载体的加速度信息,通过积分运算得到载体的位移、速度等导航参数。The Inertial Navigation System (INS) takes Newton's laws of mechanics as its working principle, uses the inertial measurement element installed on the carrier to measure the acceleration information of the carrier, and obtains the navigation parameters such as the displacement and velocity of the carrier through integral operation.
惯性导航具有完全的自主性和抗干扰性,短时间内具有较高的精度,然而,受实际测量环境的影响,在整个积分运算过程中会不可避免的引入一些误差,且该误差会随时间累积,导致长时间导航工作的精度较差。Inertial navigation has complete autonomy and anti-interference, and has high accuracy in a short period of time. However, affected by the actual measurement environment, some errors will inevitably be introduced in the entire integration process, and the error will change with time. Accumulated, resulting in poor accuracy for long-term navigation work.
如何实时的降低惯性导航中的积分误差,提升惯性导航精度,目前亟需解决。How to reduce the integral error in inertial navigation in real time and improve the accuracy of inertial navigation needs to be solved urgently.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种惯性导航方法及设备,可以有效降低惯性导航中的积分误差,提升惯性导航的精度。The embodiments of the present application provide an inertial navigation method and device, which can effectively reduce the integral error in the inertial navigation and improve the precision of the inertial navigation.
第一方面,本申请实施例提供一种惯性导航方法,应用于移动终端,该方法包括:In a first aspect, an embodiment of the present application provides an inertial navigation method, which is applied to a mobile terminal, and the method includes:
利用所述移动终端的加速度测量器件测量得到所述移动终端的加速度数据;Using the acceleration measuring device of the mobile terminal to measure the acceleration data of the mobile terminal;
基于第一卡尔曼滤波器对所述加速度数据进行处理,得到所述加速度数据对应的误差数据,所述第一卡尔曼滤波器为零阶卡尔曼滤波器;The acceleration data is processed based on the first Kalman filter to obtain error data corresponding to the acceleration data, and the first Kalman filter is a zero-order Kalman filter;
基于所述误差数据对所述加速度数据进行处理,得到处理后的目标加速度数据;processing the acceleration data based on the error data to obtain processed target acceleration data;
基于第二卡尔曼滤波器对所述目标加速度数据进行处理,得到所述移动终端的运动数据。The target acceleration data is processed based on the second Kalman filter to obtain motion data of the mobile terminal.
在一种可能的设计方式中,所述基于所述误差数据对所述加速度数据进行处理,得到处理后的目标加速度数据,包括:In a possible design manner, the acceleration data is processed based on the error data to obtain processed target acceleration data, including:
计算所述加速度数据与所述误差数据之间的差值,将所述差值确定为所述目标加速度数据。A difference between the acceleration data and the error data is calculated, and the difference is determined as the target acceleration data.
在一种可能的设计方式中,所述基于第二卡尔曼滤波器对所述目标加速度数据进行处理,得到所述移动终端的运动数据,包括:In a possible design manner, the target acceleration data is processed based on the second Kalman filter to obtain the motion data of the mobile terminal, including:
基于所述第二卡尔曼滤波器对所述目标加速度数据进行积分运算,得到所述移动终端的速度数据和位移数据。Integrate the target acceleration data based on the second Kalman filter to obtain velocity data and displacement data of the mobile terminal.
在一种可能的设计方式中,所述第二卡尔曼滤波器为二阶卡尔曼滤波器。In a possible design manner, the second Kalman filter is a second-order Kalman filter.
第二方面,本申请实施例提供一种惯性导航装置,应用于移动终端,该装置包括:In a second aspect, an embodiment of the present application provides an inertial navigation device, which is applied to a mobile terminal, and the device includes:
测量模块,用于利用所述移动终端的加速度测量器件测量得到所述移动终端的加速度数据;a measurement module, configured to obtain acceleration data of the mobile terminal by measuring the acceleration measurement device of the mobile terminal;
第一处理模块,用于基于第一卡尔曼滤波器对所述加速度数据进行处理,得到所述加速度数据对应的误差数据,并基于所述误差数据对所述加速度数据进行处理,得到处理后的目标加速度数据,所述第一卡尔曼滤波器为零阶卡尔曼滤波器;The first processing module is configured to process the acceleration data based on the first Kalman filter, obtain error data corresponding to the acceleration data, and process the acceleration data based on the error data to obtain the processed acceleration data. target acceleration data, the first Kalman filter is a zero-order Kalman filter;
第二处理模块,用于基于第二卡尔曼滤波器对所述目标加速度数据进行处理,得到所述移动终端的运动数据。The second processing module is configured to process the target acceleration data based on the second Kalman filter to obtain motion data of the mobile terminal.
在一种可能的设计方式中,所述第一处理模块用于:In a possible design, the first processing module is used for:
计算所述加速度数据与所述误差数据之间的差值,将所述差值确定为所述目标加速度数据。A difference between the acceleration data and the error data is calculated, and the difference is determined as the target acceleration data.
在一种可能的设计方式中,所述第二处理模块用于:In a possible design, the second processing module is used for:
基于所述第二卡尔曼滤波器对所述目标加速度数据进行积分运算,得到所述移动终端的速度数据和位移数据。Integrate the target acceleration data based on the second Kalman filter to obtain velocity data and displacement data of the mobile terminal.
在一种可能的设计方式中,所述第二卡尔曼滤波器为二阶卡尔曼滤波器。In a possible design manner, the second Kalman filter is a second-order Kalman filter.
第三方面,本申请实施例提供一种移动终端,包括至少一个处理器和存储器;In a third aspect, an embodiment of the present application provides a mobile terminal, including at least one processor and a memory;
所述存储器存储计算机执行指令;the memory stores computer-executable instructions;
所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如第一方面提供的惯性导航方法。The at least one processor executes computer-implemented instructions stored in the memory, causing the at least one processor to perform the inertial navigation method as provided by the first aspect.
第四方面,本申请实施例提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如第一方面提供的惯性导航方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when a processor executes the computer-executable instructions, the inertial navigation provided in the first aspect is implemented method.
第五方面,本申请实施例提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时,实现如第一方面提供的惯性导航方法。In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the inertial navigation method provided in the first aspect.
本申请实施例所提供的惯性导航方法及设备,在利用移动终端的加速度测量器件测量得到移动终端的加速度数据后,基于第一卡尔曼滤波器对该加速度数据进行处理,得到该加速度数据对应的误差数据,并利用该误差数据对加速度数据进行处理,得到处理后的目标加速度数据,之后基于第二卡尔曼滤波器对上述目标加速度数据进行处理,得到移动终端的速度数据和位移数据,其中,第一卡尔曼滤波器为零阶卡尔曼滤波器。即本申请实施例中,在测量得到移动终端的加速度数据后,先利用第一卡尔曼滤波器对该加速度数据进行处理,能够实时的消除该加速度数据的误差,然后再利用第二卡尔曼滤波器计算移动终端的运动数据,从而能够在惯性导航过程中实现积分误差的实时消除,提升惯性导航的精度。In the inertial navigation method and device provided by the embodiments of the present application, after the acceleration data of the mobile terminal is obtained by measuring the acceleration measurement device of the mobile terminal, the acceleration data is processed based on the first Kalman filter to obtain the corresponding acceleration data. error data, and use the error data to process the acceleration data to obtain the processed target acceleration data, and then process the above-mentioned target acceleration data based on the second Kalman filter to obtain the velocity data and displacement data of the mobile terminal, wherein, The first Kalman filter is a zero-order Kalman filter. That is, in the embodiment of the present application, after the acceleration data of the mobile terminal is measured and obtained, the first Kalman filter is used to process the acceleration data, so that the error of the acceleration data can be eliminated in real time, and then the second Kalman filter is used to process the acceleration data. The controller calculates the motion data of the mobile terminal, so that the integration error can be eliminated in real time during the inertial navigation process, and the accuracy of the inertial navigation can be improved.
附图说明Description of drawings
图1为本申请实施例中提供的一种惯性导航处理系统的结构示意图;1 is a schematic structural diagram of an inertial navigation processing system provided in an embodiment of the application;
图2为本申请实施例中提供的一种惯性导航方法的流程示意图;2 is a schematic flowchart of an inertial navigation method provided in an embodiment of the present application;
图3为本申请实施例中测量得到的加速度数据与通过第一卡尔曼滤波器处理后的误差数据的曲线示意图;3 is a schematic diagram of a curve of acceleration data obtained by measurement in an embodiment of the application and error data processed by the first Kalman filter;
图4为本申请实施例中同时经过第一卡尔曼滤波器与第二卡尔曼滤波器处理后得到速度数据曲线与未经过第一卡尔曼滤波器处理后得到速度数据曲线的对比示意图;4 is a schematic diagram of the comparison of the speed data curve obtained after being processed by the first Kalman filter and the second Kalman filter simultaneously and the speed data curve obtained without being processed by the first Kalman filter in the embodiment of the application;
图5为本申请实施例中同时经过第一卡尔曼滤波器与第二卡尔曼滤波器处理后得到位移数据曲线与未经过第一卡尔曼滤波器处理后得到位移数 据曲线的对比示意图;Fig. 5 is the comparative schematic diagram of the displacement data curve obtained after the first Kalman filter and the second Kalman filter are processed simultaneously in the embodiment of the application and the displacement data curve obtained without being processed by the first Kalman filter;
图6为本申请实施例中提供的一种惯性导航装置的程序模块示意图;6 is a schematic diagram of a program module of an inertial navigation device provided in an embodiment of the application;
图7为本申请实施例中提供的一种移动终端的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of a mobile terminal provided in 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. 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.
惯性导航系统(Inertial Navigation System,简称INS)也称作惯性参考系统,是一种不依赖于外部信息、也不向外部辐射能量(如无线电导航那样)的自主式导航系统。其工作环境不仅包括空中、地面,还可以在水下。惯性导航的基本工作原理是以牛顿力学定律为基础,通过测量移动终端在惯性参考系中的加速度后,将它对时间进行积分,且把它变换到导航坐标系中,就能够得到移动终端在导航坐标系中的速度、偏航角和位移等信息。Inertial Navigation System (INS), also known as inertial reference system, is an autonomous navigation system that does not rely on external information and does not radiate energy to the outside (such as radio navigation). Its working environment includes not only the air, the ground, but also underwater. The basic working principle of inertial navigation is based on Newton's laws of mechanics. By measuring the acceleration of the mobile terminal in the inertial reference frame, integrating it with time, and transforming it into the navigation coordinate system, the mobile terminal can be obtained. Information such as velocity, yaw angle, and displacement in the navigation coordinate system.
惯性导航系统属于推算导航方式,即从一已知点的位置根据连续测得的移动终端航向角和速度推算出其下一点的位置,因而可连续测出移动终端的当前位置。惯性导航系统中的陀螺仪用来形成一个导航坐标系,使加速度计的测量轴稳定在该坐标系中,并给出航向和姿态角;加速度计用来测量移动终端的加速度,经过对时间的一次积分得到速度,速度再经过对时间的一次积分即可得到位移。The inertial navigation system belongs to the reckoning navigation method, that is, the position of the next point is calculated from the position of a known point according to the continuously measured heading angle and velocity of the mobile terminal, so the current position of the mobile terminal can be continuously measured. The gyroscope in the inertial navigation system is used to form a navigation coordinate system, so that the measurement axis of the accelerometer is stabilized in the coordinate system, and the heading and attitude angle are given; the accelerometer is used to measure the acceleration of the mobile terminal, after the time The velocity can be obtained by one integration, and the displacement can be obtained by integrating the velocity once over time.
其中,当上述加速度的初始值不为0时,在整个积分过程中会引入较大的误差。而在实际系统中,由于噪声等因素,加速度计输出值的均值不可能为0。为消除积分误差,一种可行的实施方式是在进行积分运算之前,将加速度值减去加速度初始值,从而对加速度值进行校准。但是该方式无法实时的校准惯性导航过程中引入的积分误差,长时间导航工作的精度仍然较差。Among them, when the initial value of the above acceleration is not 0, a large error will be introduced in the whole integration process. In the actual system, due to factors such as noise, the mean value of the output value of the accelerometer cannot be 0. To eliminate the integration error, a feasible implementation is to subtract the acceleration initial value from the acceleration value before performing the integration operation, so as to calibrate the acceleration value. However, this method cannot calibrate the integral error introduced in the process of inertial navigation in real time, and the accuracy of long-term navigation work is still poor.
为了解决上述技术问题,本申请实施例提供了一种惯性导航方法,在测量到移动终端的加速度数据后,先利用零阶卡尔曼滤波器消除加速度数 据的误差,然后再利用第二卡尔曼滤波器计算移动终端的运动数据,从而能够在惯性导航过程中实现积分误差的实时消除,提升惯性导航的精度。In order to solve the above technical problem, an embodiment of the present application provides an inertial navigation method. After the acceleration data of the mobile terminal is measured, the zero-order Kalman filter is used to eliminate the error of the acceleration data, and then the second Kalman filter is used. The controller calculates the motion data of the mobile terminal, so that the integration error can be eliminated in real time during the inertial navigation process, and the accuracy of the inertial navigation can be improved.
为了更好的理解本申请实施例,参照图1,图1为本申请实施例中提供的一种惯性导航处理系统的结构示意图。图1中,在测量得到移动终端的加速度数据后,先利用第一卡尔曼滤波器对该加速度数据进行处理,得到该加速度数据对应的误差数据,然后基于得到的误差数据对上述加速度数据进行处理后,利用第二卡尔曼滤波器对处理后的目标加速度数据进行处理,即可得到移动终端的速度数据和位移数据。下面采用详细的实施例进行详细说明。For a better understanding of the embodiments of the present application, refer to FIG. 1 , which is a schematic structural diagram of an inertial navigation processing system provided in the embodiments of the present application. In FIG. 1, after the acceleration data of the mobile terminal is obtained by measurement, the first Kalman filter is used to process the acceleration data to obtain error data corresponding to the acceleration data, and then the above-mentioned acceleration data are processed based on the obtained error data. Then, the processed target acceleration data is processed by the second Kalman filter, and the velocity data and displacement data of the mobile terminal can be obtained. Detailed description is given below by using detailed embodiments.
参照图2,图2为本申请实施例提供的惯性导航方法的流程示意图,能够应用于移动终端。在一种可行的实施方式中,上述惯性导航方法包括:Referring to FIG. 2 , FIG. 2 is a schematic flowchart of an inertial navigation method provided by an embodiment of the present application, which can be applied to a mobile terminal. In a feasible implementation manner, the above inertial navigation method includes:
S201、利用移动终端的加速度测量器件测量得到移动终端的加速度数据。S201 , using an acceleration measuring device of a mobile terminal to measure and obtain acceleration data of the mobile terminal.
其中,上述移动终端可以是手机、车载终端、POS机等。Wherein, the above-mentioned mobile terminal may be a mobile phone, a vehicle-mounted terminal, a POS machine, or the like.
可选的,上述加速度测量器件可以采用加速度传感器。例如由质量块、阻尼器、弹性元件、敏感元件和适调电路等部分组成的加速度传感器,在移动终端加速过程中,通过对质量块所受惯性力的测量,利用牛顿第二定律即可获得加速度值。根据敏感元件的不同,上述加速度传感器可以采用的类型包括电容式加速度传感器、电感式加速度传感器、应变式加速度传感器、压阻式加速度传感器、压电式加速度传感器等。Optionally, the above acceleration measurement device may use an acceleration sensor. For example, an acceleration sensor composed of a mass block, a damper, an elastic element, a sensitive element and an adaptive circuit can be obtained by using Newton's second law by measuring the inertial force on the mass block during the acceleration process of the mobile terminal. acceleration value. According to different sensitive elements, the types of acceleration sensors that can be used include capacitive acceleration sensors, inductive acceleration sensors, strain-type acceleration sensors, piezoresistive acceleration sensors, piezoelectric acceleration sensors, and the like.
S202、基于第一卡尔曼滤波器对上述加速度数据进行处理,得到上述加速度数据对应的误差数据。S202. Process the acceleration data based on the first Kalman filter to obtain error data corresponding to the acceleration data.
其中,卡尔曼滤波器的计算是建立在状态方程上的,故需要先确定惯性导航系统的状态方程。在一种可行的实施方式中,在建立第一卡尔曼滤波器时,设定状态方程为:Among them, the calculation of the Kalman filter is based on the state equation, so the state equation of the inertial navigation system needs to be determined first. In a feasible implementation manner, when establishing the first Kalman filter, the state equation is set as:
X(k+1)=φX(k)+Bu(k)+ΓW(k)X(k+1)=φX(k)+Bu(k)+ΓW(k)
Y(k)=HX(k)+V(k)Y(k)=HX(k)+V(k)
其中,X(k)为当前状态,X(k+1)为下一时刻状态,Φ为转移矩阵,B为控制矩阵,u为控制量,Г为噪声矩阵,W为系统噪声,Y为输出量,H为输出矩阵,V为观测噪声。即通过当前时刻已知的状态、控制量及系 统噪声可以求出此刻的能观测到的输出以及下一时刻的状态。Among them, X(k) is the current state, X(k+1) is the state at the next moment, Φ is the transition matrix, B is the control matrix, u is the control quantity, Г is the noise matrix, W is the system noise, and Y is the output quantity, H is the output matrix, and V is the observation noise. That is, the observed output at this moment and the state at the next moment can be obtained from the known state, control quantity and system noise at the current moment.
上述状态为移动终端的加速度,也就是上述公式中的X(k)包含加速度的向量:The above state is the acceleration of the mobile terminal, that is, X(k) in the above formula contains the vector of acceleration:
X(k)=[a(k)]X(k)=[a(k)]
其中,上述第一卡尔曼滤波器采用零阶卡尔曼滤波器,即:Among them, the above-mentioned first Kalman filter adopts the zero-order Kalman filter, namely:
a(k+1)=a(k)a(k+1)=a(k)
其中:in:
Y(k)=[a(k)]Y(k)=[a(k)]
本申请实施例中,在确定第一卡尔曼滤波器的状态方程之后,即可对上述加速度数据进行处理,得到上述加速度数据对应的误差数据。In this embodiment of the present application, after the state equation of the first Kalman filter is determined, the acceleration data can be processed to obtain error data corresponding to the acceleration data.
为了更好的理解本申请实施例,在移动终端围绕原点左右晃动一段时间并最终回到原点的运动场景下,参照图3,图3为本申请实施例中测量得到的加速度数据与通过第一卡尔曼滤波器处理后的误差数据的曲线示意图。In order to better understand the embodiments of the present application, in a motion scenario in which the mobile terminal shakes around the origin for a period of time and finally returns to the origin, referring to FIG. 3 , FIG. Schematic diagram of the curve of the error data after Kalman filter processing.
S203、基于上述误差数据对加速度数据进行处理,得到处理后的目标加速度数据。S203. Process the acceleration data based on the above error data to obtain processed target acceleration data.
本申请实施例中,在得到上述加速度数据对应的误差数据之后,基于该误差数据对上述加速度数据进行校准处理,得到处理后的目标加速度数据。In the embodiment of the present application, after the error data corresponding to the acceleration data is obtained, calibration processing is performed on the acceleration data based on the error data to obtain processed target acceleration data.
在一种可行的实施方式中,可以计算上述加速度数据与上述误差数据之间的差值,将该差值确定为目标加速度数据。In a feasible implementation manner, the difference between the acceleration data and the error data may be calculated, and the difference may be determined as the target acceleration data.
S204、基于第二卡尔曼滤波器对目标加速度数据进行处理,得到移动终端的运动数据。S204. Process the target acceleration data based on the second Kalman filter to obtain motion data of the mobile terminal.
在一种可行的实施方式中,在建立第二卡尔曼滤波器时,设定状态方程为:In a feasible implementation manner, when establishing the second Kalman filter, the state equation is set as:
X(k+1)=φX(k)+Bu(k)+ΓW(k)X(k+1)=φX(k)+Bu(k)+ΓW(k)
Y(k)=HX(k)+V(k)Y(k)=HX(k)+V(k)
其中,X(k)为当前状态,X(k+1)为下一时刻状态,Φ为转移矩阵,B 为控制矩阵,u为控制量,Г为噪声矩阵,W为系统噪声,Y为输出量,H为输出矩阵,V为观测噪声。即通过当前时刻已知的状态、控制量及系统噪声可以求出此刻的能观测到的输出以及下一时刻的状态。Among them, X(k) is the current state, X(k+1) is the state at the next moment, Φ is the transition matrix, B is the control matrix, u is the control quantity, Г is the noise matrix, W is the system noise, and Y is the output quantity, H is the output matrix, and V is the observation noise. That is, the observable output at this moment and the state at the next moment can be obtained from the known state, control quantity and system noise at the current moment.
当上述运动数据包括速度与位移时,上述状态包括移动终端的加速度、速度以及位移,即X(k)包含加速度、速度以及位移的向量:When the above motion data includes velocity and displacement, the above state includes the acceleration, velocity and displacement of the mobile terminal, that is, X(k) includes a vector of acceleration, velocity and displacement:
Figure PCTCN2021133976-appb-000001
Figure PCTCN2021133976-appb-000001
同理:Similarly:
Figure PCTCN2021133976-appb-000002
Figure PCTCN2021133976-appb-000002
状态转移矩阵Φ是表述下一时刻状态与此刻状态关系的矩阵,假设采样周期T比较短,可以近似认为加速度a几乎不变,则:The state transition matrix Φ is a matrix that expresses the relationship between the state at the next moment and the state at this moment. Assuming that the sampling period T is relatively short, it can be approximated that the acceleration a is almost constant, then:
Figure PCTCN2021133976-appb-000003
Figure PCTCN2021133976-appb-000003
v(k+1)=0×h(k)+v(k)+a(k)Tv(k+1)=0×h(k)+v(k)+a(k)T
a(k+1)=0×h(k)+0×v(k)+a(k)a(k+1)=0×h(k)+0×v(k)+a(k)
将上面几个等式转换成矩阵形式:Convert the above equations into matrix form:
Figure PCTCN2021133976-appb-000004
Figure PCTCN2021133976-appb-000004
由此我们可以得到转移矩阵Φ为:From this we can get the transition matrix Φ as:
Figure PCTCN2021133976-appb-000005
Figure PCTCN2021133976-appb-000005
在一种可行的实施方式中,如果不考虑其他系统噪声的情况下,上述状态方程可以简化为:In a feasible implementation, if other system noises are not considered, the above state equation can be simplified as:
X(k+1)=φX(k)X(k+1)=φX(k)
由于上述第二卡尔曼滤波器只用于对上述加速度数据进行处理,因此:Since the above second Kalman filter is only used to process the above acceleration data, therefore:
Y(k)=[a(k)]Y(k)=[a(k)]
本申请实施例中,在确定第二卡尔曼滤波器的状态方程之后,即可对上述目标加速度数据进行积分运算,得到移动终端的速度数据和位移数据。In the embodiment of the present application, after the state equation of the second Kalman filter is determined, integral operation can be performed on the above target acceleration data to obtain velocity data and displacement data of the mobile terminal.
为了更好的理解本申请实施例,在移动终端围绕原点左右晃动一段时间并最终回到原点的运动场景下,参照图4与图5,图4为本申请实施例中同时经过第一卡尔曼滤波器与第二卡尔曼滤波器处理后得到速度数据曲线与未经过第一卡尔曼滤波器处理后得到速度数据曲线的对比示意图,图5为本申请实施例中同时经过第一卡尔曼滤波器与第二卡尔曼滤波器处理后得到位移数据曲线与未经过第一卡尔曼滤波器处理后得到位移数据曲线的对比示意图。In order to better understand the embodiments of the present application, in a motion scenario in which the mobile terminal shakes around the origin for a period of time and finally returns to the origin, refer to FIG. 4 and FIG. 5 . FIG. The comparison diagram of the speed data curve obtained after the filter and the second Kalman filter are processed and the speed data curve obtained without being processed by the first Kalman filter, FIG. 5 is the first Kalman filter in the embodiment of the application. A schematic diagram of the comparison between the displacement data curve obtained after processing with the second Kalman filter and the displacement data curve obtained without the first Kalman filter processing.
从图4与图5可以看出,在移动终端围绕原点左右晃动一段时间并最终回到原点的运动场景下,未经过第一卡尔曼滤波器处理后得到速度数据曲线与位移数据曲线都无法归零,并且偏移较大,而经过第一卡尔曼滤波器处理后得到速度数据曲线与位移数据曲线则基本都能够归零,更加符合移动终端在上述运动场景下的运动情况。It can be seen from Fig. 4 and Fig. 5 that in the motion scene where the mobile terminal shakes around the origin for a period of time and finally returns to the origin, neither the velocity data curve nor the displacement data curve obtained after processing by the first Kalman filter cannot be returned to the original point. The velocity data curve and the displacement data curve obtained after processing by the first Kalman filter can basically be reset to zero, which is more in line with the motion situation of the mobile terminal in the above-mentioned motion scene.
本申请实施例所提供的惯性导航方法,在测量得到移动终端的加速度数据后,利用第一卡尔曼滤波器对该加速度数据进行处理,能够实时的消除该加速度数据的误差,然后再利用第二卡尔曼滤波器计算移动终端的速度数据和位移数据,从而能够在惯性导航过程中实现积分误差的实时消除,提升惯性导航的精度。In the inertial navigation method provided by the embodiment of the present application, after the acceleration data of the mobile terminal is measured and obtained, the first Kalman filter is used to process the acceleration data, so that the error of the acceleration data can be eliminated in real time, and then the second Kalman filter is used to process the acceleration data. The Kalman filter calculates the speed data and displacement data of the mobile terminal, so that the integration error can be eliminated in real time during the inertial navigation process, and the accuracy of the inertial navigation can be improved.
基于上述实施例中所描述的内容,本申请实施例中还提供一种惯性导 航装置,应用于移动终端。参照图6,图6为本申请实施例中提供的一种惯性导航装置的程序模块示意图,该惯性导航装置60包括:Based on the content described in the above embodiments, the embodiments of the present application further provide an inertial navigation device, which is applied to a mobile terminal. Referring to FIG. 6, FIG. 6 is a schematic diagram of a program module of an inertial navigation device provided in an embodiment of the application, and the inertial navigation device 60 includes:
测量模块601,用于利用移动终端的加速度测量器件测量得到移动终端的加速度数据。The measurement module 601 is configured to obtain acceleration data of the mobile terminal by measuring the acceleration measurement device of the mobile terminal.
第一处理模块602,用于基于第一卡尔曼滤波器对上述加速度数据进行处理,得到上述加速度数据对应的误差数据,并基于该误差数据对上述加速度数据进行处理,得到处理后的目标加速度数据,上述第一卡尔曼滤波器为零阶卡尔曼滤波器。The first processing module 602 is configured to process the acceleration data based on the first Kalman filter to obtain error data corresponding to the acceleration data, and process the acceleration data based on the error data to obtain processed target acceleration data , the above-mentioned first Kalman filter is a zero-order Kalman filter.
第二处理模块603,用于基于第二卡尔曼滤波器对上述目标加速度数据进行处理,得到移动终端的运动数据。The second processing module 603 is configured to process the above-mentioned target acceleration data based on the second Kalman filter to obtain motion data of the mobile terminal.
本申请实施例所提供的惯性导航装置60,在测量得到移动终端的加速度数据后,先利用第一卡尔曼滤波器对该加速度数据进行处理,能够实时的消除该加速度数据的误差,然后再利用第二卡尔曼滤波器计算移动终端的运动数据,从而能够在惯性导航过程中实现积分误差的实时消除,提升惯性导航的精度。In the inertial navigation device 60 provided by the embodiment of the present application, after the acceleration data of the mobile terminal is measured and obtained, the first Kalman filter is used to process the acceleration data, which can eliminate the error of the acceleration data in real time, and then use the first Kalman filter to process the acceleration data. The second Kalman filter calculates the motion data of the mobile terminal, so that the integration error can be eliminated in real time during the inertial navigation process, and the accuracy of the inertial navigation can be improved.
在一种可行的实施方式中,上述第一处理模块用于:In a feasible implementation manner, the above-mentioned first processing module is used for:
计算上述加速度数据与上述误差数据之间的差值,将该差值确定为上述目标加速度数据。A difference between the acceleration data and the error data is calculated, and the difference is determined as the target acceleration data.
在一种可行的实施方式中,上述第二处理模块用于:In a feasible implementation manner, the above-mentioned second processing module is used for:
基于第二卡尔曼滤波器对上述目标加速度数据进行积分运算,得到移动终端的速度数据和位移数据。Integrate the target acceleration data based on the second Kalman filter to obtain velocity data and displacement data of the mobile terminal.
在一种可行的实施方式中,上述第二卡尔曼滤波器为二阶卡尔曼滤波器。In a feasible implementation manner, the above-mentioned second Kalman filter is a second-order Kalman filter.
需要说明的是,本申请实施例中测量模块601、第一处理模块602、第二处理模块603具体执行的内容可以参阅上述实施例中描述的惯性导航方法中的各个步骤,此处不做赘述。It should be noted that, for the specific content executed by the measurement module 601 , the first processing module 602 , and the second processing module 603 in the embodiment of the present application, reference may be made to each step in the inertial navigation method described in the above embodiment, and details are not repeated here. .
进一步的,基于上述实施例中所描述的内容,本申请实施例中还提供了一种移动终端,该移动终端包括至少一个处理器和存储器;其中,存储器存储计算机执行指令;上述至少一个处理器执行存储器存储的计算机执行指令,以实现如上述实施例中描述的惯性导航方法中的各个步骤,此处 不做赘述。Further, based on the content described in the foregoing embodiments, an embodiment of the present application further provides a mobile terminal, the mobile terminal includes at least one processor and a memory; wherein, the memory stores computer execution instructions; the above-mentioned at least one processor The computer-executed instructions stored in the memory are executed to implement each step in the inertial navigation method described in the above embodiments, which will not be repeated here.
为了更好的理解本申请实施例,参照图7,图7为本申请实施例提供的一种移动终端的硬件结构示意图。For a better understanding of the embodiments of the present application, refer to FIG. 7 , which is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present application.
如图7所示,本实施例的移动终端70包括:处理器701以及存储器702;其中:As shown in FIG. 7 , the mobile terminal 70 in this embodiment includes: a processor 701 and a memory 702; wherein:
存储器702,用于存储计算机执行指令;a memory 702 for storing computer-executed instructions;
处理器701,用于执行存储器存储的计算机执行指令,以实现上述实施例中描述的惯性导航方法中的各个步骤,此处不做赘述。The processor 701 is configured to execute the computer-executed instructions stored in the memory, so as to implement each step in the inertial navigation method described in the foregoing embodiments, which will not be repeated here.
可选地,存储器702既可以是独立的,也可以跟处理器701集成在一起。Optionally, the memory 702 may be independent or integrated with the processor 701 .
当存储器702独立设置时,该设备还包括总线703,用于连接所述存储器702和处理器701。When the memory 702 is provided independently, the device further includes a bus 703 for connecting the memory 702 and the processor 701 .
进一步的,基于上述实施例中所描述的内容,本申请实施例中还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,以实现如上述实施例中描述的惯性导航方法中的各个步骤,此处不做赘述。Further, based on the content described in the foregoing embodiments, the embodiments of the present application further provide a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the processor executes the computer-executable instructions In order to implement each step in the inertial navigation method as described in the above embodiment, the details are not repeated here.
进一步的,基于上述实施例中所描述的内容,本申请实施例中还提供了一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时,实现如上述实施例中描述的惯性导航方法中的各个步骤,此处不做赘述。Further, based on the content described in the foregoing embodiments, the embodiments of the present application further provide a computer program product, including a computer program, which, when executed by a processor, implements the inertial navigation described in the foregoing embodiments Each step in the method will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or modules, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and components shown as modules may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个单元中。上述模块成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional module in each embodiment of the present application may be integrated in one processing unit, or each module may exist physically alone, or two or more modules may be integrated in one unit. The units formed by the above modules can be implemented in the form of hardware, or can be implemented in the form of hardware plus software functional units.
上述以软件功能模块的形式实现的集成的模块,可以存储在一个计算机可读取存储介质中。上述软件功能模块存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(英文:processor)执行本申请各个实施例所述方法的部分步骤。The above-mentioned integrated modules implemented in the form of software functional modules may be stored in a computer-readable storage medium. The above-mentioned software function modules are stored in a storage medium, and include several instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to execute the various embodiments of the present application. part of the method.
应理解,上述处理器可以是中央处理单元(英文:Central Processing Unit,简称:CPU),还可以是其他通用处理器、数字信号处理器(英文:Digital Signal Processor,简称:DSP)、专用集成电路(英文:Application Specific Integrated Circuit,简称:ASIC)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合申请所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。It should be understood that the above-mentioned processor may be a central processing unit (English: Central Processing Unit, referred to as: CPU), or other general-purpose processors, digital signal processors (English: Digital Signal Processor, referred to as: DSP), application-specific integrated circuits (English: Application Specific Integrated Circuit, referred to as: ASIC) and so on. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the application can be directly embodied as executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
存储器可能包含高速RAM存储器,也可能还包括非易失性存储NVM,例如至少一个磁盘存储器,还可以为U盘、移动硬盘、只读存储器、磁盘或光盘等。The memory may include high-speed RAM memory, and may also include non-volatile storage NVM, such as at least one magnetic disk memory, and may also be a U disk, a removable hard disk, a read-only memory, a magnetic disk or an optical disk, and the like.
总线可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component,PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,本申请附图中的总线并不限定仅有一根总线或一种类型的总线。The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, or the like. The bus can be divided into address bus, data bus, control bus and so on. For convenience of representation, the buses in the drawings of the present application are not limited to only one bus or one type of bus.
上述存储介质可以是由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。存储介质可以是通用或专用计算机能够存取的任何可用介质。The above-mentioned storage medium may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Except programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. A storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介 质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于专用集成电路(Application Specific Integrated Circuits,简称:ASIC)中。当然,处理器和存储介质也可以作为分立组件存在于电子设备或主控设备中。An exemplary storage medium is coupled to the processor, such that the processor can read information from, and write information to, the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium may be located in application specific integrated circuits (Application Specific Integrated Circuits, ASIC for short). Of course, the processor and the storage medium may also exist in the electronic device or the host device as discrete components.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by program instructions related to hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps including the above method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features thereof can be equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present application. scope.

Claims (11)

  1. 一种惯性导航方法,其特征在于,应用于移动终端,所述方法包括:An inertial navigation method, characterized in that, applied to a mobile terminal, the method comprising:
    利用所述移动终端的加速度测量器件测量得到所述移动终端的加速度数据;Using the acceleration measuring device of the mobile terminal to measure the acceleration data of the mobile terminal;
    基于第一卡尔曼滤波器对所述加速度数据进行处理,得到所述加速度数据对应的误差数据,所述第一卡尔曼滤波器为零阶卡尔曼滤波器;The acceleration data is processed based on the first Kalman filter to obtain error data corresponding to the acceleration data, and the first Kalman filter is a zero-order Kalman filter;
    基于所述误差数据对所述加速度数据进行处理,得到处理后的目标加速度数据;processing the acceleration data based on the error data to obtain processed target acceleration data;
    基于第二卡尔曼滤波器对所述目标加速度数据进行处理,得到所述移动终端的运动数据。The target acceleration data is processed based on the second Kalman filter to obtain motion data of the mobile terminal.
  2. 根据权利要求1所述的方法,其特征在于,所述基于所述误差数据对所述加速度数据进行处理,得到处理后的目标加速度数据,包括:The method according to claim 1, wherein the processing of the acceleration data based on the error data to obtain the processed target acceleration data comprises:
    计算所述加速度数据与所述误差数据之间的差值,将所述差值确定为所述目标加速度数据。A difference between the acceleration data and the error data is calculated, and the difference is determined as the target acceleration data.
  3. 根据权利要求1所述的方法,其特征在于,所述基于第二卡尔曼滤波器对所述目标加速度数据进行处理,得到所述移动终端的运动数据,包括:The method according to claim 1, wherein the processing of the target acceleration data based on the second Kalman filter to obtain the motion data of the mobile terminal comprises:
    基于所述第二卡尔曼滤波器对所述目标加速度数据进行积分运算,得到所述移动终端的速度数据和位移数据。Integrate the target acceleration data based on the second Kalman filter to obtain velocity data and displacement data of the mobile terminal.
  4. 根据权利要求1或3所述的方法,其特征在于,所述第二卡尔曼滤波器为二阶卡尔曼滤波器。The method according to claim 1 or 3, wherein the second Kalman filter is a second-order Kalman filter.
  5. 一种惯性导航装置,其特征在于,应用于移动终端,所述装置包括:An inertial navigation device, characterized in that it is applied to a mobile terminal, the device comprising:
    测量模块,用于利用所述移动终端的加速度测量器件测量得到所述移动终端的加速度数据;a measurement module, configured to obtain acceleration data of the mobile terminal by measuring the acceleration measurement device of the mobile terminal;
    第一处理模块,用于基于第一卡尔曼滤波器对所述加速度数据进行处理,得到所述加速度数据对应的误差数据,并基于所述误差数据对所述加速度数据进行处理,得到处理后的目标加速度数据,所述第一卡尔曼滤波器为零阶卡尔曼滤波器;The first processing module is configured to process the acceleration data based on the first Kalman filter, obtain error data corresponding to the acceleration data, and process the acceleration data based on the error data to obtain the processed acceleration data. target acceleration data, the first Kalman filter is a zero-order Kalman filter;
    第二处理模块,用于基于第二卡尔曼滤波器对所述目标加速度数据进行处理,得到所述移动终端的运动数据。The second processing module is configured to process the target acceleration data based on the second Kalman filter to obtain motion data of the mobile terminal.
  6. 根据权利要求5所述的装置,其特征在于,所述第一处理模块用于:The apparatus according to claim 5, wherein the first processing module is configured to:
    计算所述加速度数据与所述误差数据之间的差值,将所述差值确定为所述目标加速度数据。A difference between the acceleration data and the error data is calculated, and the difference is determined as the target acceleration data.
  7. 根据权利要求6所述的装置,其特征在于,所述第二处理模块用于:The apparatus according to claim 6, wherein the second processing module is configured to:
    基于所述第二卡尔曼滤波器对所述目标加速度数据进行积分运算,得到所述移动终端的速度数据和位移数据。Integrate the target acceleration data based on the second Kalman filter to obtain velocity data and displacement data of the mobile terminal.
  8. 根据权利要求5或7所述的装置,其特征在于,所述第二卡尔曼滤波器为二阶卡尔曼滤波器。The apparatus according to claim 5 or 7, wherein the second Kalman filter is a second-order Kalman filter.
  9. 一种移动终端,其特征在于,包括至少一个处理器和存储器;A mobile terminal, comprising at least one processor and a memory;
    所述存储器存储计算机执行指令;the memory stores computer-executable instructions;
    所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如权利要求1至4任一项所述的惯性导航方法。The at least one processor executes the computer-implemented instructions stored in the memory, causing the at least one processor to perform the inertial navigation method of any one of claims 1-4.
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如权利要求1至4任一项所述的惯性导航方法。A computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, and when a processor executes the computer-executable instructions, the computer-executable instructions according to any one of claims 1 to 4 are implemented. Inertial Navigation Method.
  11. 一种计算机程序产品,包括计算机程序,其特征在于,所述计算机程序被处理器执行时,实现权利要求1至4任一项所述的惯性导航方法。A computer program product, comprising a computer program, characterized in that, when the computer program is executed by a processor, the inertial navigation method according to any one of claims 1 to 4 is implemented.
PCT/CN2021/133976 2020-12-24 2021-11-29 Inertial navigation method and device WO2022135070A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011552499.9 2020-12-24
CN202011552499.9A CN112525190A (en) 2020-12-24 2020-12-24 Inertial navigation method and device

Publications (1)

Publication Number Publication Date
WO2022135070A1 true WO2022135070A1 (en) 2022-06-30

Family

ID=74976217

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/133976 WO2022135070A1 (en) 2020-12-24 2021-11-29 Inertial navigation method and device

Country Status (2)

Country Link
CN (1) CN112525190A (en)
WO (1) WO2022135070A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117553787A (en) * 2024-01-09 2024-02-13 湖南大学无锡智能控制研究院 Collaborative navigation method, device and system of underwater unmanned aircraft

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112525190A (en) * 2020-12-24 2021-03-19 北京紫光展锐通信技术有限公司 Inertial navigation method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080004796A1 (en) * 2006-06-30 2008-01-03 Wolfgang Hans Schott Apparatus and method for measuring the accurate position of moving objects in an indoor environment
CN102538792A (en) * 2012-02-08 2012-07-04 北京航空航天大学 Filtering method for position attitude system
CN107215734A (en) * 2017-07-06 2017-09-29 天津康途科技有限公司 A kind of method and system detected for elevator real time acceleration and speed and position
CN109655057A (en) * 2018-12-06 2019-04-19 深圳市吉影科技有限公司 A kind of six push away the filtering optimization method and its system of unmanned plane accelerator measured value
CN111351482A (en) * 2020-03-19 2020-06-30 南京理工大学 Multi-rotor aircraft integrated navigation method based on error state Kalman filtering
CN112525190A (en) * 2020-12-24 2021-03-19 北京紫光展锐通信技术有限公司 Inertial navigation method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI587155B (en) * 2011-11-16 2017-06-11 Navigation and Location Method and System Using Genetic Algorithm
GB2565264B (en) * 2017-05-23 2022-03-09 Atlantic Inertial Systems Ltd Inertial navigation system
CN110189421B (en) * 2019-05-10 2022-03-25 山东大学 Beidou GNSS/DR combined navigation taxi odometer timing system and operation method thereof
CN211012986U (en) * 2019-07-17 2020-07-14 南京信息工程大学 Unmanned autonomous cruise vehicle navigation system based on inertial navigation technology

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080004796A1 (en) * 2006-06-30 2008-01-03 Wolfgang Hans Schott Apparatus and method for measuring the accurate position of moving objects in an indoor environment
CN102538792A (en) * 2012-02-08 2012-07-04 北京航空航天大学 Filtering method for position attitude system
CN107215734A (en) * 2017-07-06 2017-09-29 天津康途科技有限公司 A kind of method and system detected for elevator real time acceleration and speed and position
CN109655057A (en) * 2018-12-06 2019-04-19 深圳市吉影科技有限公司 A kind of six push away the filtering optimization method and its system of unmanned plane accelerator measured value
CN111351482A (en) * 2020-03-19 2020-06-30 南京理工大学 Multi-rotor aircraft integrated navigation method based on error state Kalman filtering
CN112525190A (en) * 2020-12-24 2021-03-19 北京紫光展锐通信技术有限公司 Inertial navigation method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117553787A (en) * 2024-01-09 2024-02-13 湖南大学无锡智能控制研究院 Collaborative navigation method, device and system of underwater unmanned aircraft
CN117553787B (en) * 2024-01-09 2024-03-26 湖南大学无锡智能控制研究院 Collaborative navigation method, device and system of underwater unmanned aircraft

Also Published As

Publication number Publication date
CN112525190A (en) 2021-03-19

Similar Documents

Publication Publication Date Title
WO2022135070A1 (en) Inertial navigation method and device
CN109163721B (en) Attitude measurement method and terminal equipment
CN109959381B (en) Positioning method, positioning device, robot and computer readable storage medium
US11120562B2 (en) Posture estimation method, posture estimation apparatus and computer readable storage medium
US20160178657A9 (en) Systems and methods for sensor calibration
CN113188505B (en) Attitude angle measuring method and device, vehicle and intelligent arm support
KR20190041315A (en) Inertial-based navigation device and Inertia-based navigation method based on relative preintegration
CN108871311B (en) Pose determination method and device
US20210133093A1 (en) Data access method, processor, computer system, and mobile device
WO2019205002A1 (en) Method for attitude solution of handheld camera stabilizer and camera stabilizer system
CN112066985B (en) Initialization method, device, medium and electronic equipment for combined navigation system
WO2018107831A1 (en) Method and apparatus for measuring attitude angle of object
JP2019120587A (en) Positioning system and positioning method
WO2022179602A1 (en) Navigation information processing method and apparatus, electronic device, and storage medium
CN109506617B (en) Sensor data processing method, storage medium, and electronic device
CN109677508B (en) Vehicle motion data acquisition method, device, equipment and storage medium
CN109866217B (en) Robot mileage positioning method, device, terminal equipment and computer storage medium
CN111998870B (en) Calibration method and device of camera inertial navigation system
CN106931965B (en) Method and device for determining terminal posture
CN115727871A (en) Track quality detection method and device, electronic equipment and storage medium
CN112461258A (en) Parameter correction method and device
CN110645976A (en) Attitude estimation method of mobile robot and terminal equipment
CN113936044B (en) Method and device for detecting motion state of laser equipment, computer equipment and medium
KR101870542B1 (en) Method and apparatus of recognizing a motion
CN113865586B (en) Installation angle estimation method and device and automatic driving system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21909069

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 15/11/2023)