CN113280813A - Inertial measurement data compensation method and device based on neural network model - Google Patents

Inertial measurement data compensation method and device based on neural network model Download PDF

Info

Publication number
CN113280813A
CN113280813A CN202110597573.7A CN202110597573A CN113280813A CN 113280813 A CN113280813 A CN 113280813A CN 202110597573 A CN202110597573 A CN 202110597573A CN 113280813 A CN113280813 A CN 113280813A
Authority
CN
China
Prior art keywords
data sequence
compensation
vehicle
position data
neural network
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.)
Granted
Application number
CN202110597573.7A
Other languages
Chinese (zh)
Other versions
CN113280813B (en
Inventor
费再慧
贾双成
朱磊
李成军
潘冰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhidao Network Technology Beijing Co Ltd
Original Assignee
Zhidao Network Technology Beijing Co Ltd
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 Zhidao Network Technology Beijing Co Ltd filed Critical Zhidao Network Technology Beijing Co Ltd
Priority to CN202110597573.7A priority Critical patent/CN113280813B/en
Publication of CN113280813A publication Critical patent/CN113280813A/en
Application granted granted Critical
Publication of CN113280813B publication Critical patent/CN113280813B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G01C21/165Navigation; 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 combined with non-inertial navigation instruments
    • 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/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/28Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network with correlation of data from several navigational instruments
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • G01S19/43Determining position using carrier phase measurements, e.g. kinematic positioning; using long or short baseline interferometry
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • G01S19/48Determining position by combining or switching between position solutions derived from the satellite radio beacon positioning system and position solutions derived from a further system
    • G01S19/49Determining position by combining or switching between position solutions derived from the satellite radio beacon positioning system and position solutions derived from a further system whereby the further system is an inertial position system, e.g. loosely-coupled
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/52Determining velocity
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/53Determining attitude
    • G01S19/54Determining attitude using carrier phase measurements; using long or short baseline interferometry
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods

Abstract

The application relates to an inertial measurement data compensation method and device based on a neural network model. The method comprises the following steps: the neural network model to be trained performs slope compensation on the measurement data sequence according to the position data sequence, outputs an IMU compensation data sequence, calculates and obtains a track point calculation position data sequence of the vehicle according to the IMU compensation data sequence, calculates the position data sequence and the position data sequence according to the track point of the vehicle, and obtains a trained neural network model; and inputting the measurement data sequence of the inertia measurement unit and the position data sequence of the positioning module into the trained neural network model, and acquiring the IMU compensation data sequence output by the trained neural network model. The scheme provided by the application can be used for carrying out slope compensation on the inertia measurement data and reducing the measurement error of the inertia measurement unit caused by the slope.

Description

Inertial measurement data compensation method and device based on neural network model
Technical Field
The application relates to the technical field of navigation, in particular to an inertial measurement data compensation method and device based on a neural network model.
Background
In the related art, vehicle navigation often depends on a satellite Positioning module such as a GPS (Global Positioning System) satellite Positioning module. However, in some situations, such as under bridges, culverts, tunnels, dense buildings, etc., the positioning deviation of the satellite positioning module of the related art is very large, and even the positioning result cannot be provided. The Inertial navigation system including an Inertial Measurement Unit (IMU) can calculate accurate speed, attitude, and position information of the vehicle by using Measurement data of the Inertial Measurement Unit.
The inertial navigation system estimates speed, attitude and position information of the vehicle using measurement data of an accelerometer and a gyroscope of the inertial measurement unit. However, the accelerometer and gyroscope in the inertial measurement unit can only measure the speed change signal in a certain direction of the vehicle, and the consistent slope stability is maintained, so that when the vehicle runs on a road with a slope, the measurement data of the accelerometer and gyroscope deviates from the real data, which results in the accuracy of positioning and navigation using the measurement data of the inertial measurement unit being reduced. Therefore, how to reduce the influence of the road gradient on the measurement data of the inertial measurement unit and reduce the measurement error of the inertial measurement unit caused by the road gradient is a technical problem to be solved urgently.
Disclosure of Invention
In order to solve or partially solve the problems in the related art, the application provides an inertial measurement data compensation method and device based on a neural network model, which can perform slope compensation on inertial measurement data and reduce measurement errors of an inertial measurement unit caused by the slope.
The application provides a method for compensating inertial measurement data based on a neural network model in a first aspect, and the method comprises the following steps:
inputting a measurement data sequence of an inertia measurement unit and a position data sequence of a positioning module in the same time period to a neural network model to be trained;
enabling the neural network model to be trained to perform slope compensation on the measurement data sequence according to the position data sequence, outputting an IMU compensation data sequence, calculating to obtain a track point calculation position data sequence of the vehicle according to the IMU compensation data sequence, calculating the position data sequence according to the track point calculation position data sequence of the vehicle, and obtaining the trained neural network model according to the position data sequence;
and inputting a measurement data sequence of an inertia measurement unit and a position data sequence of a positioning module into the trained neural network model, and acquiring an IMU compensation data sequence output by the trained neural network model.
Preferably, the step of enabling the neural network model to be trained to perform slope compensation on the measurement data sequence according to the position data sequence, outputting an IMU compensation data sequence, calculating to obtain a trajectory point calculation position data sequence of a vehicle according to the IMU compensation data sequence, and calculating a position data sequence according to a trajectory point calculation position data sequence of the vehicle, the position data sequence, and obtaining the trained neural network model includes:
enabling the neural network model to be trained to obtain the pitch angle of the vehicle at each moment in the same time period according to the position data sequence;
according to the pitch angle of the vehicle at each moment, carrying out gradient compensation on the measurement data sequence, and outputting the IMU compensation data sequence;
calculating to obtain a track point calculated position data sequence of the vehicle according to the IMU compensation data sequence;
and if the error between the track point calculated position data sequence of the vehicle and the position data sequence is smaller than a preset threshold value, stopping the training of the neural network model to be trained, and obtaining the trained neural network model.
Preferably, the method further comprises:
if the error between the track point calculated position data sequence of the vehicle and the position data sequence is larger than or equal to the preset threshold value, adjusting the pitch angle of the vehicle at each moment;
according to the adjusted pitch angle of the vehicle at each moment, gradient compensation is carried out on the measurement data of the measurement data sequence at each moment, and an IMU compensation data sequence is output;
calculating to obtain a track point calculated position data sequence of the vehicle according to the IMU compensation data sequence;
and if the error between the track point calculated position data sequence of the vehicle and the position data sequence is smaller than the preset threshold value, stopping the training of the neural network model to be trained, and obtaining the trained neural network model.
Preferably, the performing slope compensation on the measurement data sequence according to the pitch angle of the vehicle at each time, and outputting the IMU compensation data sequence includes:
and performing gradient compensation on the measurement data of each moment of the measurement data sequence according to the pitch angle of the vehicle at each moment, and outputting the IMU compensation data sequence, wherein the gradient compensation is performed on the measurement data of each moment of the measurement data sequence according to the following formula:
AccY,i= AccY0,i*cosai+ AccZ0,i*sinai
GyroY,i= GyroY0,i* sinai +GyroZ0,i* cosai
in the formula, AccY,iIs the compensated acceleration data, Acc, of the accelerometer at the Y-axis time i after slope compensationY0,iAcceleration data, Acc, of the accelerometer at time i on the Y-axisZ0,iAcceleration data of an accelerometer at a Z-axis time i; gyroY,iIs the compensated angular velocity data, Gyro, of the gyroscope at the Y-axis time i after slope compensationY0,iIs angular velocity data, Gyro, of the gyroscope at time i on the Y-axisZ0,iIs the angular velocity data of the gyroscope at time i on the Z axisiIs the pitch angle at vehicle time i.
A second aspect of the present application provides an apparatus for compensating inertial measurement data based on a neural network model, the apparatus comprising:
the first input module is used for inputting a measurement data sequence of the inertia measurement unit and a position data sequence of the positioning module in the same time period to a neural network model to be trained;
the training module is used for enabling the neural network model to be trained to perform slope compensation on the measurement data sequence input by the first input module according to the position data sequence input by the first input module, outputting an IMU compensation data sequence, calculating to obtain a track point calculation position data sequence of a vehicle according to the IMU compensation data sequence, and obtaining the trained neural network model according to the track point calculation position data sequence of the vehicle and the position data sequence input by the first input module;
and the compensation data acquisition module is used for inputting the measurement data sequence of the inertial measurement unit and the position data sequence of the positioning module into the trained neural network model and acquiring the IMU compensation data sequence output by the trained neural network model.
Preferably, the training module comprises:
the angle acquisition submodule is used for enabling the neural network model to be trained to obtain the pitch angle of the vehicle at each moment in the same time period according to the position data sequence input by the first input module;
the compensation submodule is used for carrying out gradient compensation on the measurement data sequence input by the first input module according to the pitch angle of the vehicle at each moment obtained by the angle obtaining submodule and outputting the IMU compensation data sequence;
the track submodule is used for calculating to obtain a track point calculated position data sequence of the vehicle according to the IMU compensation data sequence obtained by the compensation submodule;
the judgment submodule is used for judging whether the error between the track point calculated position data sequence of the vehicle obtained by the track submodule and the position data sequence input by the first input module is smaller than a preset threshold value or not;
and the stopping submodule is used for stopping the training of the neural network model to be trained if the judging submodule judges that the error between the track point calculation position data sequence of the vehicle and the position data sequence is smaller than the preset threshold value, so as to obtain the trained neural network model.
Preferably, the training module further comprises:
the adjusting submodule is used for adjusting the pitch angle of the vehicle at each moment if the judging submodule judges that the error between the track point calculation position data sequence of the vehicle and the position data sequence is larger than or equal to the preset threshold value;
and the compensation submodule is also used for carrying out gradient compensation on the measurement data of each moment of the measurement data sequence input by the first input module according to the pitch angle of the vehicle at each moment after the adjustment of the adjustment submodule, and outputting an IMU compensation data sequence.
Preferably, the compensation submodule is specifically configured to:
and performing gradient compensation on the measurement data of the measurement data sequence at each moment according to the pitch angle of the vehicle at each moment, and outputting the IMU compensation data sequence, wherein the compensation submodule performs gradient compensation on the measurement data of the measurement data sequence at each moment according to the following formula:
AccY,i= AccY0,i*cosai+ AccZ0,i*sinai
GyroY,i= GyroY0,i* sinai +GyroZ0,i* cosai
in the formula, AccY,iIs the compensated acceleration data, Acc, of the accelerometer at the Y-axis time i after slope compensationY0,iAcceleration data, Acc, of the accelerometer at time i on the Y-axisZ0,iAcceleration data of an accelerometer at a Z-axis time i; gyroY,iIs the compensated angular velocity data, Gyro, of the gyroscope at the Y-axis time i after slope compensationY0,iIs angular velocity data, Gyro, of the gyroscope at time i on the Y-axisZ0,iIs the angular velocity data of the gyroscope at time i on the Z axisiIs the pitch angle at vehicle time i.
A third aspect of the present application provides an electronic device comprising:
a processor; and
a memory having executable code stored thereon, which when executed by the processor, causes the processor to perform the method as described above.
A fourth aspect of the present application provides a non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to perform a method as described above.
The technical scheme provided by the application can comprise the following beneficial effects:
according to the technical scheme, a measurement data sequence of an inertia measurement unit and a position data sequence of a positioning module in the same time period are taken as training samples of a neural network model to be trained, gradient compensation is carried out on the measurement data sequence of the inertia measurement unit by the neural network model to be trained according to the position data sequence, and an IMU compensation data sequence is output; calculating to obtain a track point calculation position data sequence of the vehicle according to the IMU compensation data sequence, and calculating the position data sequence and the position data sequence according to the track point of the vehicle to obtain a trained neural network model; inputting a measurement data sequence of an inertia measurement unit and a position data sequence of a positioning module into the trained neural network model, and acquiring an IMU compensation data sequence output by the trained neural network model; the method can perform slope compensation on the measurement data of the inertial measurement unit based on the neural network model, reduce the measurement error of the inertial measurement unit caused by the slope, and obtain the IMU compensation data sequence of the inertial measurement unit with the reduced measurement error.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The foregoing and other objects, features and advantages of the application will be apparent from the following more particular descriptions of exemplary embodiments of the application, as illustrated in the accompanying drawings wherein like reference numbers generally represent like parts throughout the exemplary embodiments of the application.
FIG. 1 is a schematic flow chart diagram illustrating a neural network model-based inertial measurement data compensation method according to an embodiment of the present application;
FIG. 2 is another schematic flow chart diagram illustrating a neural network model-based inertial measurement data compensation method according to an embodiment of the present application;
FIG. 3 is a schematic structural diagram of an inertial measurement data compensation device based on a neural network model according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device shown in an embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While embodiments of the present application are illustrated in the accompanying drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms "first," "second," "third," etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
The embodiment of the application provides an inertial measurement data compensation method based on a neural network model, which can perform slope compensation on inertial measurement data and reduce measurement errors of an inertial measurement unit caused by the slope.
The technical solutions of the embodiments of the present application are described in detail below with reference to the accompanying drawings.
The first embodiment is as follows:
fig. 1 is a schematic flowchart of an inertial measurement data compensation method based on a neural network model according to an embodiment of the present application.
Referring to fig. 1, an inertial measurement data compensation method based on a neural network model includes:
in step 101, a measurement data sequence of an inertial measurement unit and a position data sequence of a positioning module in the same time period are input into a neural network model to be trained.
In one specific implementation mode, the vehicle is provided with an inertia measurement unit and a positioning module. The inertial measurement unit comprises an accelerometer and a gyroscope, and the measurement data of the inertial measurement unit comprises the acceleration of the accelerometer of the inertial measurement unit and the angular velocity of the gyroscope. The acceleration of the vehicle, which may be obtained by an accelerometer of the inertial measurement unit, and the angular velocity of the vehicle, which may be obtained by a gyroscope of the inertial measurement unit. The positioning module may include, but is not limited to, at least one of a GPS satellite module, a beidou satellite positioning module, an RTK (Real Time Kinematic) positioning module, and the like. With the positioning module, positioning information of the vehicle may be obtained, which may include, but is not limited to, position data, speed information, and attitude information. Location data includes, but is not limited to, three-dimensional data describing a location: longitude coordinates, latitude coordinates, and altitude, and attitude information including, but not limited to, heading angle information describing a heading.
In one embodiment, in the event that the vehicle RTK positioning module signal is available, positioning information for the vehicle for a time period is obtained, and a position data sequence for the vehicle for the time period is obtained based on the positioning information for the time period. When the RTK positioning module is used for acquiring a position data sequence of a vehicle in a time period, the inertial measurement unit is used for acquiring a measurement data sequence of the vehicle in the same time period, wherein the measurement data sequence comprises accelerations of an X axis, a Y axis and a Z axis of an accelerometer and angular velocities of an X axis, a Y axis and a Z axis of a gyroscope. And inputting a measurement data sequence of the inertia measurement unit and a position data sequence of the positioning module in the same time period into the neural network model to be trained.
It can be understood that, when the position data sequence of the positioning module is acquired, the measurement data sequence of the inertial measurement unit is acquired at the same time, and the position data sequence of the positioning module and the measurement data sequence of the inertial measurement unit are aligned in time, so as to avoid inaccurate results due to different reference times of the positioning module and the inertial measurement unit.
In step 102, the neural network model to be trained performs slope compensation on the measurement data sequence according to the position data sequence, outputs an IMU compensation data sequence, calculates to obtain a trajectory point calculation position data sequence of the vehicle according to the IMU compensation data sequence, calculates the position data sequence and the position data sequence according to the trajectory point of the vehicle, and obtains a trained neural network model.
In a specific implementation mode, the neural network model to be trained performs slope compensation on the measurement data of the measurement data sequence of the inertial measurement unit at each moment according to the position data of the position data sequence of the RTK positioning module at each moment, obtains IMU compensation data of the same time period at each moment, and outputs the IMU compensation data sequence; acquiring an initial pose according to a position data sequence of the RTK positioning module; calculating track point calculated position data of the vehicle at each moment in the same time period according to the initial pose and the IMU compensation data at each moment in the same time period, so as to obtain a track point calculated position data sequence of the vehicle in the same time period; and converging the trajectory point calculation position data of the vehicle at each same moment in the same time period to the position data of the positioning module, finishing the training of the neural network model to be trained, and obtaining the trained neural network model.
In step 103, the measurement data sequence of the inertial measurement unit and the position data sequence of the positioning module are input to the trained neural network model, and an IMU compensation data sequence output by the trained neural network model is obtained.
In a specific embodiment, a measurement data sequence of an inertial measurement unit and a position data sequence of a positioning module are input into a trained neural network model, the measurement data sequence of the inertial measurement unit and the position data sequence of the positioning module are obtained synchronously, the measurement data sequence of the inertial measurement unit at least comprises two pieces of measurement data, and the position data sequence of the positioning module at least comprises two pieces of position data. The neural network model performs slope compensation on the input measurement data of the inertial measurement unit at each moment, outputs IMU compensation data at each moment, acquires the IMU compensation data output by the trained neural network model at each moment, and takes the IMU compensation data output by the neural network model as the measurement data of the vehicle after slope compensation to acquire an IMU compensation data sequence so as to complete the compensation of the measurement data of the inertial measurement unit.
According to the inertial measurement data compensation method based on the neural network model, a measurement data sequence of an inertial measurement unit and a position data sequence of a positioning module in the same time period are taken as training samples of the neural network model to be trained, slope compensation is carried out on the measurement data sequence of the inertial measurement unit by the neural network model to be trained according to the position data sequence, and an IMU compensation data sequence is output; calculating to obtain a track point calculation position data sequence of the vehicle according to the IMU compensation data sequence, and calculating the position data sequence and the position data sequence according to the track point of the vehicle to obtain a trained neural network model; inputting a measurement data sequence of an inertia measurement unit and a position data sequence of a positioning module into the trained neural network model, and acquiring an IMU compensation data sequence output by the trained neural network model; the method can perform slope compensation on the measurement data of the inertial measurement unit based on the neural network model, reduce the measurement error of the inertial measurement unit caused by the slope, obtain the IMU compensation data of the inertial measurement unit with the reduced measurement error, and improve the positioning and navigation precision of the integrated navigation system when the integrated navigation system comprising the positioning module and the inertial measurement unit performs positioning and navigation.
Example two:
fig. 2 is another schematic flow chart of an inertial measurement data compensation method based on a neural network model according to an embodiment of the present application. Fig. 2 describes the solution of the present application in more detail with respect to fig. 1.
Referring to fig. 2, a method for compensating inertial measurement data based on a neural network model includes:
in step 201, a measurement data sequence of the inertial measurement unit and a position data sequence of the positioning module in the same time period are input into the neural network model to be trained.
This step can be referred to the description of step 101, and is not described here.
In step 202, the neural network model to be trained is made to obtain the pitch angle of the vehicle at each moment in the same time period according to the position data sequence.
In a specific implementation mode, a neural network model to be trained obtains longitude coordinates, latitude coordinates and height of a vehicle at each moment in the same time period according to an input position data sequence of a positioning module; and calculating the pitch angle of the vehicle at each moment in the same time period according to the longitude coordinate, the latitude coordinate and the height of the vehicle at each moment in the same time period.
In step 203, slope compensation is performed on the measurement data sequence according to the pitch angle of the vehicle at each moment, and an IMU compensation data sequence is output.
In one embodiment, the inertial measurement unit is fixed to the vehicle, and the Y-axis of the accelerometer and gyroscope of the inertial measurement unit is oriented from the rear of the vehicle toward the front, parallel to the front-rear direction of the vehicle; the Z-axis of the accelerometer and gyroscope is oriented from below the vehicle to above, parallel to the up-down direction of the vehicle. The pitch angle a is an angle between the front and rear directions and the horizontal plane when the vehicle is running. The acceleration and the angular speed of the advancing direction of the vehicle are measured by the Y axis of the accelerometer and the gyroscope, and the acceleration Acc of the advancing direction of the vehicle is obtainedYAnd angular velocity GyroY(ii) a The acceleration Acc of the up-and-down movement of the vehicle (i.e. the vehicle ascending or descending) is obtained by measuring the acceleration and the angular velocity of the vehicle in the up-and-down direction through the Z axis of the accelerometer and the gyroscopeZAnd angular velocity GyroZ. Acceleration Acc of vehicle heading directionYAnd angular velocity GyroYIs greatly affected by the road gradient. Therefore, in the embodiment of the present application, the acceleration Acc of the vehicle forward directionYAnd angular velocity GyroYCompensation is performed.
In one embodiment, the IMU compensation data sequence is output by performing slope compensation on the measurement data of each moment of the measurement data sequence according to the pitch angle of the vehicle at each moment, wherein the slope compensation is performed on the measurement data of each moment of the measurement data sequence according to the following formula:
AccY,i= AccY0,i*cosai+ AccZ0,i*sinai
Y,i= GyroY0,i* sinai +GyroZ0,i* cosai
in the formula, AccY,iIs the compensated acceleration data, Acc, of the accelerometer at the Y-axis time i after slope compensationY0,iAcceleration data, Acc, of the accelerometer at time i on the Y-axisZ0,iAcceleration data of an accelerometer at a Z-axis time i; gyroY,iIs the compensated angular velocity data, Gyro, of the gyroscope at the Y-axis time i after slope compensationY0,iIs angular velocity data, Gyro, of the gyroscope at time i on the Y-axisZ0,iIs the angular velocity data of the gyroscope at time i on the Z axisiIs the pitch angle at vehicle time i.
In step 204, a trajectory point estimated position data sequence of the vehicle is estimated and obtained according to the IMU compensation data sequence.
In a specific embodiment, the initial pose of the vehicle is obtained according to the positioning information of the RTK positioning module at the initial time in the same time period, and the initial pose of the vehicle comprises the position information, the course angle information and the speed information of the vehicle at the initial time; and calculating to obtain the track point calculated position data of the vehicle at each moment in the same time period according to the initial pose of the vehicle and the IMU compensation data at each moment in the same time period, so as to obtain the track point calculated position data sequence of the vehicle in the same time period.
In step 205, it is determined whether an error between the trajectory point estimated position data sequence and the position data sequence of the vehicle is smaller than a preset threshold; if the error between the track point calculated position data sequence and the position data sequence of the vehicle is greater than or equal to the preset threshold, executing step 206; if the error between the trajectory point estimated position data sequence and the position data sequence of the vehicle is smaller than the preset threshold, step 207.
In a specific embodiment, the error between the track point estimated position data sequence and the position data sequence of the vehicle in the same time period is obtained according to the track point estimated position data of the vehicle in the same time period at each same time and the position data of the positioning module in the same time period at each same time. Judging whether the error between the track point calculated position data sequence and the position data sequence of the vehicle is smaller than a preset threshold value or not; if the error between the track point calculated position data sequence and the position data sequence of the vehicle is greater than or equal to the preset threshold, executing step 206; if the error between the trajectory point estimated position data sequence and the position data sequence of the vehicle is smaller than the preset threshold, step 207. It can be understood that the trace point estimated position data and the position data of the positioning module at each same time in the same time period are aligned in time.
In step 206, adjusting the pitch angle of the vehicle at each moment; step 203 is performed.
In a specific embodiment, if the error between the track point estimated position data sequence and the position data sequence of the vehicle is greater than or equal to a preset threshold, the pitch angle of the vehicle at each moment can be adjusted according to a set angle range, and the pitch angle of the vehicle at each moment in the same time period is obtained again; and circularly executing the steps 203, 204, 205 and 206 until the error between the trajectory point calculated position data sequence and the position data sequence of the vehicle is smaller than a preset threshold value, and finishing the training of the neural network model to be trained.
In step 207, the training of the neural network model to be trained is stopped, and a trained neural network model is obtained.
In a specific embodiment, if the error between the trajectory point calculated position data sequence of the vehicle and the position data sequence of the positioning module is smaller than a preset threshold, stopping the training of the neural network model to be trained, i.e. completing the training of the neural network model to be trained, and obtaining the trained neural network model.
In step 208, the measurement data sequence of the inertial measurement unit and the position data sequence of the positioning module are input to the trained neural network model, and an IMU compensation data sequence output by the trained neural network model is obtained.
In one specific embodiment, an acceleration sequence and an angular velocity sequence of the vehicle and a position data sequence of the positioning module are input into the trained neural network model, the acceleration sequence at least comprises accelerations at two moments, the angular velocity sequence at least comprises angular velocities at two moments, and the position data sequence of the positioning module at least comprises position data at two moments. And performing slope compensation on the input acceleration sequence and the input angular velocity sequence of the vehicle by the trained neural network model according to the input position data sequence, outputting the compensation acceleration data and the compensation angular velocity data at each moment, acquiring the compensation acceleration data and the compensation angular velocity data at each moment output by the trained neural network model, taking the compensation acceleration data and the compensation angular velocity data output by the neural network model as the acceleration and the angular velocity of the vehicle after slope compensation, acquiring the compensation acceleration data sequence and the compensation angular velocity data sequence, and completing the compensation of the measurement data sequence of the inertial measurement unit.
According to the inertial measurement data compensation method based on the neural network model, the neural network model to be trained obtains the pitch angle of the vehicle at each moment in the same time period according to the position data sequence; according to the pitch angle of the vehicle at each moment, carrying out gradient compensation on the measured data sequence, and outputting an IMU compensation data sequence; calculating according to the IMU compensation data sequence to obtain a track point calculation position data sequence of the vehicle; if the error between the track point calculated position data sequence of the vehicle and the position data sequence is larger than or equal to a preset threshold value, adjusting the pitch angle of the vehicle at each moment; according to the adjusted pitch angle of the vehicle at each moment, a track point calculated position data sequence of the vehicle is obtained again; completing the training of the neural network model to be trained until the error between the calculated position data sequence and the position data sequence of the track points of the vehicle is smaller than a preset threshold value, and obtaining the trained neural network model; inputting a measurement data sequence of an inertia measurement unit and a position data sequence of a positioning module into the trained neural network model, and acquiring an IMU compensation data sequence output by the trained neural network model; the pitch angle of the vehicle at each moment is adjusted in a circulating mode, a trained neural network model with higher precision can be obtained, gradient compensation can be performed on the measurement data of the inertia measurement unit based on the trained neural network model, and the measurement error of the inertia measurement unit caused by the gradient of the road is reduced to the maximum extent.
Example three:
corresponding to the embodiment of the application function implementation method, the application also provides an inertial measurement data compensation device based on the neural network model, an electronic device and a corresponding embodiment.
Fig. 3 is a schematic structural diagram of an inertial measurement data compensation device based on a neural network model according to an embodiment of the present application.
Referring to fig. 3, an inertial measurement data compensation apparatus based on a neural network model includes a first input module 301, a training module 302, and a compensation data obtaining module 303.
The first input module 301 is configured to input a measurement data sequence of the inertial measurement unit and a position data sequence of the positioning module in the same time period to the neural network model to be trained.
In one specific implementation mode, the vehicle is provided with an inertia measurement unit and a positioning module. The inertial measurement unit comprises an accelerometer and a gyroscope, and the measurement data of the inertial measurement unit comprises the acceleration of the accelerometer of the inertial measurement unit and the angular velocity of the gyroscope. The first input module 301 may obtain the acceleration of the vehicle through an accelerometer of the inertial measurement unit, and obtain the angular velocity of the vehicle through a gyroscope of the inertial measurement unit. The positioning module may include, but is not limited to, at least one of a GPS satellite module, a beidou satellite positioning module, an RTK positioning module, and the like. The first input module 301 may obtain positioning information of the vehicle using the positioning module, which may include, but is not limited to, position data, speed information, and attitude information. Location data includes, but is not limited to, three-dimensional data describing a location: longitude coordinates, latitude coordinates, and altitude, and attitude information including, but not limited to, heading angle information describing a heading.
In one embodiment, in the event that the vehicle RTK positioning module signal is available, the first input module 301 obtains positioning information for the vehicle for a time period and obtains a sequence of position data for the vehicle for the time period based on the positioning information for the time period. When the RTK positioning module acquires a position data sequence of the vehicle in a time period, the first input module 301 acquires a measurement data sequence of the vehicle in the same time period through the inertial measurement unit, where the measurement data sequence includes accelerations of an X axis, a Y axis, and a Z axis of an accelerometer and angular velocities of an X axis, a Y axis, and a Z axis of a gyroscope. The first input module 301 inputs the measurement data sequence of the inertial measurement unit and the position data sequence of the positioning module in the same time period to the neural network model to be trained.
The training module 302 is configured to perform slope compensation on the measurement data sequence input by the first input module 301 by using the neural network model to be trained according to the position data sequence input by the first input module 301, output an IMU compensation data sequence, calculate and obtain a trajectory point calculation position data sequence of the vehicle according to the IMU compensation data sequence, and calculate the position data sequence according to the trajectory point calculation position data sequence of the vehicle and the position data sequence input by the first input module, so as to obtain a trained neural network model.
In a specific embodiment, the training module 302 makes the neural network model to be trained perform slope compensation on the measurement data at each moment of the measurement data sequence of the inertial measurement unit input by the first input module 301 according to the position data at each moment of the position data sequence of the RTK positioning module input by the first input module 301, obtains IMU compensation data at each moment in the same time period, and outputs an IMU compensation data sequence; acquiring an initial pose according to the position data sequence of the RTK positioning module input by the first input module 301; calculating track point calculated position data of the vehicle at each moment in the same time period according to the initial pose and the IMU compensation data at each moment in the same time period, so as to obtain a track point calculated position data sequence of the vehicle in the same time period; and converging the trajectory point calculated position data of the vehicle at each same moment in the same time period to the position data of the positioning module input by the first input module 301, finishing the training of the neural network model to be trained, and obtaining the trained neural network model.
In one embodiment, the training module 302 includes an angle acquisition sub-module 3021, a compensation sub-module 3022, a trajectory sub-module 3023, a determination sub-module 3024, an adjustment sub-module 3025, and a stop sub-module 3026.
The angle obtaining submodule 3021 is configured to enable the neural network model to be trained to obtain a pitch angle of the vehicle at each time in the same time period according to the position data sequence input by the first input module 301.
In a specific embodiment, the angle obtaining sub-module 3021 enables the neural network model to be trained to obtain the longitude coordinate, the latitude coordinate, and the altitude of the vehicle at each time in the same time period according to the position data sequence of the positioning module input by the first input module 301; and calculating the pitch angle of the vehicle at each moment in the same time period according to the longitude coordinate, the latitude coordinate and the height of the vehicle at each moment in the same time period.
And the compensation submodule 3022 is configured to perform slope compensation on the measurement data sequence input by the first input module 301 according to the pitch angle of the vehicle at each time obtained by the angle obtaining submodule 3021, and output an IMU compensation data sequence.
In one embodiment, the inertial measurement unit is fixed to the vehicle, and the Y-axis of the accelerometer and gyroscope of the inertial measurement unit is oriented from the rear of the vehicle toward the front, parallel to the front-rear direction of the vehicle; the Z-axis of the accelerometer and gyroscope is oriented from below the vehicle to above, parallel to the up-down direction of the vehicle. The pitch angle a is an angle between the front and rear directions and the horizontal plane when the vehicle is running. The acceleration and the angular speed of the advancing direction of the vehicle are measured by the Y axis of the accelerometer and the gyroscope, and the acceleration Acc of the advancing direction of the vehicle is obtainedYAnd angular velocity GyroY(ii) a The acceleration Acc of the up-and-down movement of the vehicle (i.e. the vehicle ascending or descending) is obtained by measuring the acceleration and the angular velocity of the vehicle in the up-and-down direction through the Z axis of the accelerometer and the gyroscopeZAnd angular velocity GyroZ. Acceleration Acc of vehicle heading directionYAnd angular velocity GyroYIs greatly affected by the road gradient. Therefore, in the embodiment of the present application, the acceleration Acc of the vehicle forward directionYAnd angular velocity GyroYCompensation is performed.
In one embodiment, the compensation submodule 3022 performs slope compensation on the measurement data at each time of the measurement data sequence according to the pitch angle of the vehicle at each time obtained by the angle obtaining submodule 3021, and outputs an IMU compensation data sequence, wherein the compensation submodule 3022 performs slope compensation on the measurement data at each time of the measurement data sequence according to the following formula:
AccY,i= AccY0,i*cosai+ AccZ0,i*sinai
GyroY,i= GyroY0,i* sinai +GyroZ0,i* cosai
in the formula, AccY,iIs the accelerometer Y-axis time after slope compensationi compensated acceleration data, AccY0,iAcceleration data, Acc, of the accelerometer at time i on the Y-axisZ0,iAcceleration data of an accelerometer at a Z-axis time i; gyroY,iIs the compensated angular velocity data, Gyro, of the gyroscope at the Y-axis time i after slope compensationY0,iIs angular velocity data, Gyro, of the gyroscope at time i on the Y-axisZ0,iIs the angular velocity data of the gyroscope at time i on the Z axisiIs the pitch angle at vehicle time i.
And the track submodule 3023 is configured to calculate and obtain a track point calculated position data sequence of the vehicle according to the IMU compensation data sequence obtained by the compensation submodule 3022.
In a specific embodiment, the trajectory sub-module 3023 obtains an initial pose of the vehicle according to the positioning information of the RTK positioning module input by the first input module 301 at the initial time of the same time period, where the initial pose of the vehicle includes position information, heading angle information, and speed information of the vehicle at the initial time; according to the initial pose of the vehicle and the IMU compensation data of each time in the same time period, which are obtained by the compensation submodule 3022, the trajectory point calculated position data of the vehicle at each time in the same time period is calculated, so that a trajectory point calculated position data sequence of the vehicle in the same time period is obtained.
The judgment submodule 3024 is configured to judge whether an error between the trajectory point estimated position data sequence of the vehicle obtained by the trajectory submodule 3023 and the position data sequence input by the first input module 301 is smaller than a preset threshold.
An adjusting submodule 3025 configured to adjust the pitch angle of the vehicle at each time if the determining submodule 3024 determines that the error between the trajectory point estimated position data sequence and the position data sequence of the vehicle is greater than or equal to a preset threshold.
In a specific embodiment, the determining submodule 3024 obtains an error between the estimated trajectory point position data sequence and the position data sequence of the vehicle in the same time period according to the estimated trajectory point position data of the vehicle in the same time period obtained by the trajectory submodule 3023, and the position data of the positioning module in the same time period. The judgment submodule 3024 judges whether the error between the trajectory point calculated position data sequence and the position data sequence of the vehicle is smaller than a preset threshold value; if the judgment submodule 3024 judges that the error between the trajectory point calculated position data sequence and the position data sequence of the vehicle is greater than or equal to a preset threshold, the adjustment submodule 3025 adjusts the pitch angle of the vehicle at each moment; if the judgment submodule 3024 judges that the error between the trajectory point calculated position data sequence and the position data sequence of the vehicle is smaller than the preset threshold, the stop submodule 3026 stops the training of the neural network model to be trained, and obtains the trained neural network model. It can be understood that the trace point estimated position data and the position data of the positioning module at each same time in the same time period are aligned in time.
In one embodiment, if the determining submodule 3024 determines that the track point estimated position data sequence of the vehicle has an error greater than or equal to a preset threshold value with respect to the position data sequence, the adjusting submodule 3025 may adjust the pitch angle of the vehicle at each time according to the set angle range, and obtain the pitch angle of the vehicle at each time in the same time period again; the compensation submodule 3022, the trajectory submodule 3023, the judgment submodule 3024, and the adjustment submodule 3025 are cyclically executed until the judgment submodule 3024 judges that the error between the trajectory point calculated position data sequence and the position data sequence of the vehicle is smaller than the preset threshold value, and the training of the neural network model to be trained is completed.
And the stopping submodule 3026 is configured to, if the judging submodule 3024 judges that the error between the trajectory point calculated position data sequence and the position data sequence of the vehicle is smaller than the preset threshold, stop the training of the neural network model to be trained, and obtain the trained neural network model.
In a specific embodiment, if the determining submodule 3024 determines that the error between the trajectory point calculated position data sequence of the vehicle and the position data sequence of the positioning module is smaller than the preset threshold, the stopping submodule 3026 stops the training of the neural network model to be trained, that is, completes the training of the neural network model to be trained, and obtains the trained neural network model.
And the compensation data acquisition module 303 is configured to input the measurement data sequence of the inertial measurement unit and the position data sequence of the positioning module into the trained neural network model, and acquire an IMU compensation data sequence output by the trained neural network model.
In one embodiment, the compensation data acquisition module 303 obtains a sequence of acceleration of the vehicle via an accelerometer of the inertial measurement unit, obtains a sequence of angular velocity of the vehicle via a gyroscope of the inertial measurement unit, and obtains a sequence of position data of the vehicle via an RTK positioning module. The acceleration, angular velocity and position data sequences are acquired synchronously. The compensation data obtaining module 303 inputs an acceleration sequence and an angular velocity sequence of the vehicle and a position data sequence of the positioning module to the trained neural network model, wherein the acceleration sequence at least includes accelerations at two moments, the angular velocity sequence at least includes angular velocities at two moments, and the position data sequence of the positioning module at least includes position data at two moments. And performing slope compensation on the input acceleration sequence and the input angular velocity sequence of the vehicle by the trained neural network model according to the input position data sequence, outputting the compensation acceleration data and the compensation angular velocity data at each moment, acquiring the compensation acceleration data and the compensation angular velocity data at each moment output by the trained neural network model, taking the compensation acceleration data and the compensation angular velocity data output by the neural network model as the acceleration and the angular velocity of the vehicle after slope compensation, acquiring the compensation acceleration data sequence and the compensation angular velocity data sequence, and completing the compensation of the measurement data of the inertial measurement unit.
According to the technical scheme provided by the embodiment of the application, the neural network model to be trained obtains the pitch angle of the vehicle at each moment in the same time period according to the position data sequence; according to the pitch angle of the vehicle at each moment, carrying out gradient compensation on the measured data sequence, and outputting an IMU compensation data sequence; calculating according to the IMU compensation data sequence to obtain a track point calculation position data sequence of the vehicle; if the error between the track point calculated position data sequence of the vehicle and the position data sequence is larger than or equal to a preset threshold value, adjusting the pitch angle of the vehicle at each moment; according to the adjusted pitch angle of the vehicle at each moment, a track point calculated position data sequence of the vehicle is obtained again; completing the training of the neural network model to be trained until the error between the calculated position data sequence and the position data sequence of the track points of the vehicle is smaller than a preset threshold value, and obtaining the trained neural network model; inputting a measurement data sequence of an inertia measurement unit and a position data sequence of a positioning module into the trained neural network model, and acquiring an IMU compensation data sequence output by the trained neural network model; the pitch angle of the vehicle at each moment is adjusted in a circulating mode, a trained neural network model with higher precision can be obtained, gradient compensation can be performed on the measurement data of the inertia measurement unit based on the trained neural network model, and the measurement error of the inertia measurement unit caused by the gradient of the road is reduced to the maximum extent.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 4 is a schematic structural diagram of an electronic device shown in an embodiment of the present application.
Referring to fig. 4, the electronic device 40 includes a memory 401 and a processor 402.
The Processor 402 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 401 may include various types of storage units, such as a system memory, a Read Only Memory (ROM), and a permanent storage device. Wherein the ROM may store static data or instructions that are required by the processor 402 or other modules of the computer. The persistent storage device may be a read-write storage device. The persistent storage may be a non-volatile storage device that does not lose stored instructions and data even after the computer is powered off. In some embodiments, the persistent storage device employs a mass storage device (e.g., magnetic or optical disk, flash memory) as the persistent storage device. In other embodiments, the permanent storage may be a removable storage device (e.g., floppy disk, optical drive). The system memory may be a read-write memory device or a volatile read-write memory device, such as a dynamic random access memory. The system memory may store instructions and data that some or all of the processors require at runtime. Further, the memory 401 may comprise any combination of computer-readable storage media, including various types of semiconductor memory chips (DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), magnetic and/or optical disks, may also be employed. In some embodiments, memory 401 may include a removable storage device that is readable and/or writable, such as a Compact Disc (CD), a read-only digital versatile disc (e.g., DVD-ROM, dual layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (e.g., SD card, min SD card, Micro-SD card, etc.), a magnetic floppy disk, or the like. Computer-readable storage media do not contain carrier waves or transitory electronic signals transmitted by wireless or wired means.
The memory 401 has stored thereon executable code which, when processed by the processor 402, may cause the processor 402 to perform some or all of the methods described above.
Furthermore, the method according to the present application may also be implemented as a computer program or computer program product comprising computer program code instructions for performing some or all of the steps of the above-described method of the present application.
Alternatively, the present application may also be embodied as a non-transitory machine-readable storage medium (or computer-readable storage medium, or machine-readable storage medium) having stored thereon executable code (or a computer program, or computer instruction code) which, when executed by a processor of an electronic device (or electronic device, server, etc.), causes the processor to perform some or all of the various steps of the above-described methods in accordance with the present application.
Having described embodiments of the present application, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (10)

1. An inertial measurement data compensation method based on a neural network model is characterized by comprising the following steps:
inputting a measurement data sequence of an inertia measurement unit and a position data sequence of a positioning module in the same time period to a neural network model to be trained;
enabling the neural network model to be trained to perform slope compensation on the measurement data sequence according to the position data sequence, outputting an IMU compensation data sequence, calculating to obtain a track point calculation position data sequence of the vehicle according to the IMU compensation data sequence, calculating the position data sequence according to the track point calculation position data sequence of the vehicle, and obtaining the trained neural network model according to the position data sequence;
and inputting a measurement data sequence of an inertia measurement unit and a position data sequence of a positioning module into the trained neural network model, and acquiring an IMU compensation data sequence output by the trained neural network model.
2. The method according to claim 1, wherein the enabling the neural network model to be trained to perform slope compensation on the measurement data sequence according to the position data sequence, outputting an IMU compensation data sequence, calculating to obtain a trajectory point calculation position data sequence of a vehicle according to the IMU compensation data sequence, and calculating a position data sequence according to the trajectory point calculation position data sequence of the vehicle, and obtaining the trained neural network model according to the position data sequence, comprises:
enabling the neural network model to be trained to obtain the pitch angle of the vehicle at each moment in the same time period according to the position data sequence;
according to the pitch angle of the vehicle at each moment, carrying out gradient compensation on the measurement data sequence, and outputting the IMU compensation data sequence;
calculating to obtain a track point calculated position data sequence of the vehicle according to the IMU compensation data sequence;
and if the error between the track point calculated position data sequence of the vehicle and the position data sequence is smaller than a preset threshold value, stopping the training of the neural network model to be trained, and obtaining the trained neural network model.
3. The method of claim 2, further comprising:
if the error between the track point calculated position data sequence of the vehicle and the position data sequence is larger than or equal to the preset threshold value, adjusting the pitch angle of the vehicle at each moment;
according to the adjusted pitch angle of the vehicle at each moment, gradient compensation is carried out on the measurement data of the measurement data sequence at each moment, and an IMU compensation data sequence is output;
calculating to obtain a track point calculated position data sequence of the vehicle according to the IMU compensation data sequence;
and if the error between the track point calculated position data sequence of the vehicle and the position data sequence is smaller than the preset threshold value, stopping the training of the neural network model to be trained, and obtaining the trained neural network model.
4. A method according to claim 2 or 3, wherein said grade compensating said measurement data sequence in dependence on said pitch angle of said vehicle at each said time instant, outputting said IMU compensation data sequence, comprises:
and performing gradient compensation on the measurement data of each moment of the measurement data sequence according to the pitch angle of the vehicle at each moment, and outputting the IMU compensation data sequence, wherein the gradient compensation is performed on the measurement data of each moment of the measurement data sequence according to the following formula:
AccY,i= AccY0,i*cosai+ AccZ0,i*sinai
GyroY,i= GyroY0,i* sinai +GyroZ0,i* cosai
in the formula, AccY,iIs the compensated acceleration data, Acc, of the accelerometer at the Y-axis time i after slope compensationY0,iAcceleration data, Acc, of the accelerometer at time i on the Y-axisZ0,iAcceleration data of an accelerometer at a Z-axis time i; gyroY,iIs the compensated angular velocity data, Gyro, of the gyroscope at the Y-axis time i after slope compensationY0,iIs angular velocity data, Gyro, of the gyroscope at time i on the Y-axisZ0,iIs the angular velocity data of the gyroscope at time i on the Z axisiIs the pitch angle at vehicle time i.
5. An inertial measurement data compensation device based on a neural network model, comprising:
the first input module is used for inputting a measurement data sequence of the inertia measurement unit and a position data sequence of the positioning module in the same time period to a neural network model to be trained;
the training module is used for enabling the neural network model to be trained to perform slope compensation on the measurement data sequence input by the first input module according to the position data sequence input by the first input module, outputting an IMU compensation data sequence, calculating to obtain a track point calculation position data sequence of a vehicle according to the IMU compensation data sequence, and obtaining the trained neural network model according to the track point calculation position data sequence of the vehicle and the position data sequence input by the first input module;
and the compensation data acquisition module is used for inputting the measurement data sequence of the inertial measurement unit and the position data sequence of the positioning module into the trained neural network model and acquiring the IMU compensation data sequence output by the trained neural network model.
6. The apparatus of claim 5, wherein the training module comprises:
the angle acquisition submodule is used for enabling the neural network model to be trained to obtain the pitch angle of the vehicle at each moment in the same time period according to the position data sequence input by the first input module;
the compensation submodule is used for carrying out gradient compensation on the measurement data sequence input by the first input module according to the pitch angle of the vehicle at each moment obtained by the angle obtaining submodule and outputting the IMU compensation data sequence;
the track submodule is used for calculating to obtain a track point calculated position data sequence of the vehicle according to the IMU compensation data sequence obtained by the compensation submodule;
the judgment submodule is used for judging whether the error between the track point calculated position data sequence of the vehicle obtained by the track submodule and the position data sequence input by the first input module is smaller than a preset threshold value or not;
and the stopping submodule is used for stopping the training of the neural network model to be trained if the judging submodule judges that the error between the track point calculation position data sequence of the vehicle and the position data sequence is smaller than the preset threshold value, so as to obtain the trained neural network model.
7. The apparatus of claim 6, wherein the training module further comprises:
the adjusting submodule is used for adjusting the pitch angle of the vehicle at each moment if the judging submodule judges that the error between the track point calculation position data sequence of the vehicle and the position data sequence is larger than or equal to the preset threshold value;
and the compensation submodule is also used for carrying out gradient compensation on the measurement data of each moment of the measurement data sequence input by the first input module according to the pitch angle of the vehicle at each moment after the adjustment of the adjustment submodule, and outputting an IMU compensation data sequence.
8. The apparatus of claim 6 or 7, wherein the compensation submodule is specifically configured to:
and performing gradient compensation on the measurement data of the measurement data sequence at each moment according to the pitch angle of the vehicle at each moment, and outputting the IMU compensation data sequence, wherein the compensation submodule performs gradient compensation on the measurement data of the measurement data sequence at each moment according to the following formula:
AccY,i= AccY0,i*cosai+ AccZ0,i*sinai
GyroY,i= GyroY0,i* sinai +GyroZ0,i* cosai
in the formula, AccY,iIs the compensated acceleration data, Acc, of the accelerometer at the Y-axis time i after slope compensationY0,iAcceleration data, Acc, of the accelerometer at time i on the Y-axisZ0,iAcceleration data of an accelerometer at a Z-axis time i; gyroY,iIs the compensated angular velocity data, Gyro, of the gyroscope at the Y-axis time i after slope compensationY0,iIs angular velocity data, Gyro, of the gyroscope at time i on the Y-axisZ0,iIs the angular velocity data of the gyroscope at time i on the Z axisiIs the pitch angle at vehicle time i.
9. An electronic device, comprising:
a processor; and
a memory having executable code stored thereon, which when executed by the processor, causes the processor to perform the method of any one of claims 1-4.
10. A non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to perform the method of any one of claims 1-4.
CN202110597573.7A 2021-05-31 2021-05-31 Inertial measurement data compensation method and device based on neural network model Active CN113280813B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110597573.7A CN113280813B (en) 2021-05-31 2021-05-31 Inertial measurement data compensation method and device based on neural network model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110597573.7A CN113280813B (en) 2021-05-31 2021-05-31 Inertial measurement data compensation method and device based on neural network model

Publications (2)

Publication Number Publication Date
CN113280813A true CN113280813A (en) 2021-08-20
CN113280813B CN113280813B (en) 2022-12-16

Family

ID=77282508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110597573.7A Active CN113280813B (en) 2021-05-31 2021-05-31 Inertial measurement data compensation method and device based on neural network model

Country Status (1)

Country Link
CN (1) CN113280813B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114485877A (en) * 2022-01-25 2022-05-13 常州纺织服装职业技术学院 Weighing system and method for weighing compensation by combining inertia measurement module

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013115988A (en) * 2011-11-30 2013-06-10 Advics Co Ltd Vehicular braking control device
CN105823484A (en) * 2016-05-26 2016-08-03 清华大学 Integrated inertial navigation measuring unit and corresponding measuring method
WO2016134811A1 (en) * 2015-02-28 2016-09-01 Audi Ag Method for compensating for an inclination
CN106980133A (en) * 2017-01-18 2017-07-25 中国南方电网有限责任公司超高压输电公司广州局 The GPS INS Combinated navigation methods and system for being compensated and being corrected using neural network algorithm
CN107390246A (en) * 2017-07-06 2017-11-24 电子科技大学 A kind of GPS/INS Combinated navigation methods based on genetic neural network
CN111114551A (en) * 2018-10-31 2020-05-08 广州汽车集团股份有限公司 Vehicle ramp gradient identification method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013115988A (en) * 2011-11-30 2013-06-10 Advics Co Ltd Vehicular braking control device
WO2016134811A1 (en) * 2015-02-28 2016-09-01 Audi Ag Method for compensating for an inclination
CN105823484A (en) * 2016-05-26 2016-08-03 清华大学 Integrated inertial navigation measuring unit and corresponding measuring method
CN106980133A (en) * 2017-01-18 2017-07-25 中国南方电网有限责任公司超高压输电公司广州局 The GPS INS Combinated navigation methods and system for being compensated and being corrected using neural network algorithm
CN107390246A (en) * 2017-07-06 2017-11-24 电子科技大学 A kind of GPS/INS Combinated navigation methods based on genetic neural network
CN111114551A (en) * 2018-10-31 2020-05-08 广州汽车集团股份有限公司 Vehicle ramp gradient identification method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114485877A (en) * 2022-01-25 2022-05-13 常州纺织服装职业技术学院 Weighing system and method for weighing compensation by combining inertia measurement module
CN114485877B (en) * 2022-01-25 2023-09-05 常州纺织服装职业技术学院 Weighing system and method for weighing compensation by combining inertial measurement module

Also Published As

Publication number Publication date
CN113280813B (en) 2022-12-16

Similar Documents

Publication Publication Date Title
CN111928869B (en) Vehicle motion track estimation method and device and electronic equipment
CN112985462B (en) Method and device for correcting inertial measurement data based on convolutional neural network model
CN112197772B (en) Method and related device for determining vehicle movement track
CN111982158B (en) Inertial measurement unit calibration method and device
CN112146683B (en) Inertial measurement unit calibration parameter adjusting method and device and electronic equipment
CN112762933B (en) Vehicle positioning method and device based on neural network model
CN113280813B (en) Inertial measurement data compensation method and device based on neural network model
CN113252060B (en) Vehicle track calculation method and device based on neural network model
CN115406440A (en) Vehicle positioning correction method and system and electronic equipment
CN113607176B (en) Combined navigation system track output method and device
JP2011137708A (en) Evaluation apparatus for positioning reliability of satellite positioning system receiver
CN113917512B (en) Positioning method and device for automatic driving vehicle, electronic equipment and storage medium
JP5994237B2 (en) Positioning device and program
CN113175936B (en) Vehicle track calculation method and device based on neural network model
CN112985463B (en) Calibration method and device for inertial measurement unit based on convolutional neural network model
CN113375668B (en) Antenna installation angle calibration method and device of satellite navigation system
CN112284421B (en) IMU internal reference adjusting method and related device
CN111580139B (en) Satellite navigation data validity judgment method and device and electronic equipment
CN112130188B (en) Vehicle positioning method and device and cloud server
CN114543800A (en) Processing method and related device for vehicle movement track estimation
CN113665566B (en) Automatic parking processing method and device and vehicle
CN113532433B (en) IMU noise calibration method and device
CN111928865B (en) Track calculation method and device, electronic equipment and storage medium
CN113124884B (en) Vehicle positioning method and device based on LSTM neural network model
JP2022131708A (en) Information processing system, information processing method and information processing program

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