Inertial navigation method and device based on cockpit system, computer equipment and storage medium

Through the initialization and data abstraction layer implementation in the navigation and positioning module, central processor and serial port module, the problem of insufficient processor performance of the navigation and positioning module is solved, efficient fusion and output of satellite and sensor data is achieved, and hardware costs are reduced. and processing requirements.

CN118623879APending Publication Date: 2024-09-10联友智连科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410684296.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The processor performance of the existing navigation and positioning module is weak and cannot output satellite positioning data and gyroscope data at the same time, or dynamically switch during use, resulting in the need to replace a higher-performance processor and increasing hardware costs.

Method used

By setting the parameters of the navigation and positioning module, the working mode of the central processor and the communication protocol of the serial port module, initialize the navigation and positioning module, central processor and serial port module, use the satellite signal receiver to obtain satellite positioning data, and communicate with the gyroscope and accelerometer The data is output to the central processor through the serial interface, which provides a navigation and sensor hardware abstraction layer, implements the native Ignss and Isensor interfaces, releases the data to the cockpit system, and performs data fusion in the inertial navigation algorithm module.

Benefits of technology

Without increasing hardware costs, it can meet the needs of different applications for navigation and positioning data, reduce the internal processing requirements of the navigation and positioning module, and improve the performance and stability of the navigation and positioning module.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118623879A
    Figure CN118623879A
Patent Text Reader

Abstract

The invention belongs to the technical field of intelligent cabins, and relates to an inertial navigation method and device based on a cabin system, computer equipment and a storage medium, the method comprises the following steps: setting parameters of a navigation positioning module, a working mode of a central processing unit and a communication protocol of a serial port module, and initializing the navigation positioning module, the central processing unit and the serial port module; the navigation positioning module acquires satellite positioning data through a satellite signal receiver, and outputs the satellite positioning data, an internal gyroscope and accelerometer data to a serial interface corresponding to the central processing unit through a serial interface; the serial port module provides navigation positioning data and sensor original data for the navigation and sensor hardware abstraction layer; the hardware abstraction layer of the navigation and positioning module is responsible for docking the navigation and positioning module to realize a native Ignss interface so as to be published to a cabin system. While the requirements of different application programs on navigation and positioning data are met, no hardware cost is increased, and the internal processing requirements of the navigation and positioning module are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent cockpit technology, and in particular to an inertial navigation method, device, computer equipment and storage medium based on a cockpit system. Background Art

[0002] As more and more applications are added to the intelligent cockpit multimedia system, various applications have different requirements for navigation and positioning data. Generally, navigation applications have independent inertial navigation algorithms, and only require the navigation and positioning module to output satellite positioning data; however, some applications (such as mobile phone interconnection software) do not have navigation inertial navigation algorithms, and the inertial navigation algorithm inside the navigation and positioning module is required to fuse the satellite positioning data and gyroscope data before outputting them to the application. Moreover, two different application software will exist at the same time, so the navigation and positioning module needs to output two different data. Since the processor performance in most navigation and positioning modules is weak, it is impossible to output two types of data at the same time or switch dynamically during use. Therefore, if the requirements for outputting two types of data need to be met, the processor in the navigation and positioning module needs to be replaced with a higher-performance processor, which will inevitably increase the hardware cost. Summary of the invention

[0003] The purpose of the embodiments of the present invention is to propose an inertial navigation method, device, computer equipment and storage medium based on a cockpit system, so as to solve the problem that the processor performance in most navigation and positioning modules in the prior art is weak and cannot output two types of data at the same time or dynamically switch during use. Therefore, if the requirement of outputting two types of data needs to be met, the processor in the navigation and positioning module needs to be replaced with a higher performance processor, thereby increasing the hardware cost.

[0004] In order to solve the above technical problems, the present invention provides an inertial navigation method based on a cockpit system, which adopts the following technical solution, including:

[0005] Set the parameters of the navigation and positioning module, the working mode of the central processing unit and the communication protocol of the serial port module, and initialize the navigation and positioning module, the central processing unit and the serial port module;

[0006] The navigation and positioning module obtains satellite positioning data through the satellite signal receiver, and outputs it to the corresponding serial interface of the central processor through the serial interface together with the internal gyroscope and accelerometer data;

[0007] The serial port module provides navigation positioning data and sensor raw data for the navigation and sensor hardware abstraction layer;

[0008] The hardware abstraction layer of the navigation and positioning module is responsible for connecting to the navigation and positioning module and implementing the native Ignss interface, thereby publishing the navigation and positioning data to the cockpit system;

[0009] The sensor hardware abstraction layer is responsible for connecting to the gyroscope and accelerometer parts of the navigation and positioning module, realizing the native Isensor interface, and thus publishing the sensor data to the cockpit system through the sensor management service module in the central processor;

[0010] While transmitting satellite navigation data and sensor data, the navigation and positioning module also outputs the original satellite signal data and provides it to the inertial navigation algorithm module. After the inertial navigation algorithm module obtains the satellite positioning data, satellite navigation data and sensor data, it fuses them and provides the fused data to the application that supports the front-end fusion inertial navigation algorithm.

[0011] Preferably, the steps of setting the parameters of the navigation and positioning module, the working mode of the central processing unit and the communication protocol of the serial port module, and initializing the navigation and positioning module, the central processing unit and the serial port module specifically include:

[0012] The MCU powers on the navigation and positioning module according to the timing requirements of the navigation and positioning module;

[0013] After the navigation and positioning module is powered on, the MCU releases the navigation and positioning module reset signal;

[0014] The navigation and positioning module starts working.

[0015] Preferably, the steps of the navigation and positioning module acquiring satellite positioning data through a satellite signal receiver and outputting the data together with the internal gyroscope and accelerometer data to a serial interface corresponding to the central processor through a serial interface specifically include:

[0016] The navigation and positioning module starts to receive satellite data and converts the received satellite data into NMEA format for output;

[0017] The navigation and positioning module outputs satellite data and NMEA format data at the same time;

[0018] The navigation and positioning module outputs the internal gyroscope and accelerometer data, plus timestamp information, and satellite positioning data simultaneously;

[0019] The navigation and positioning module outputs three sets of data simultaneously: NMEA format data, gyroscope and accelerometer data, and PVT satellite raw data.

[0020] Preferably, the step of the serial port module providing navigation positioning data and sensor raw data to the navigation and sensor hardware abstraction layer specifically includes:

[0021] The serial port of the central processing unit receives the data sent by the navigation and positioning module;

[0022] The central processor splits the received data into NMEA data, gyroscope and accelerometer data, and satellite raw data according to the serial port protocol, and outputs them to the corresponding software interface respectively;

[0023] NMEA data is provided to the navigation and positioning service module and the inertial navigation algorithm module, IMU data is provided to the sensor service module and the inertial navigation algorithm module respectively, and satellite raw data is provided to the inertial navigation algorithm module.

[0024] Preferably, the hardware abstraction layer of the navigation and positioning module is responsible for connecting to the navigation and positioning module and realizing the native Ignss interface, so that the steps of publishing the navigation and positioning data to the cockpit system specifically include:

[0025] GNSSHander obtains navigation and positioning NMEA data from the serial port module and parses the NMEA data;

[0026] GNSSHander provides the parsed data to the GNSS module, which implements the native IGNSS interface of Android and connects to the native LocationManager.

[0027] LocationManager publishes the received positioning data to the entire system.

[0028] Preferably, the sensor hardware abstraction layer is responsible for connecting to the gyroscope and accelerometer parts of the navigation and positioning module, realizing the native Isensor interface, and thus publishing the sensor data to the cockpit system through the sensor management service module in the central processor. Specifically, the steps include:

[0029] Sensor datahandler obtains the raw data of gyroscope and accelerometer from the serial port module, parses the data and provides it to BstSensor;

[0030] BstSensor receives the data parsed by Sensor datahander, adapts to the interface of ISensors, and provides data to SensorManager;

[0031] SensorManager publishes Sensor data to the entire system.

[0032] Preferably, while transmitting the satellite navigation data and the sensor data, the navigation and positioning module also outputs the original satellite signal data and provides it to the inertial navigation algorithm module. After the inertial navigation algorithm module acquires the satellite positioning data, the satellite navigation data and the sensor data, it fuses them and provides the fused data to the application supporting the front-end fusion inertial navigation algorithm. Specifically, the steps include:

[0033] The inertial navigation algorithm module receives NMEA data, gyroscope and accelerometer data and PVT data;

[0034] The inertial navigation algorithm module outputs the corrected position information data through the fusion algorithm and outputs it in NMEA format;

[0035] The application in the vehicle system obtains the positioning data after data fusion and inertial navigation algorithm from the corresponding interface.

[0036] In order to solve the above technical problems, the present invention further provides an inertial navigation device based on a cockpit system, which adopts the following technical solution, including:

[0037] The initialization module is used to set the parameters of the navigation and positioning module, the working mode of the central processing unit and the communication protocol of the serial port module, and initialize the navigation and positioning module, the central processing unit and the serial port module;

[0038] An acquisition module is used for the navigation and positioning module to acquire satellite positioning data through a satellite signal receiver, and outputs the data together with the internal gyroscope and accelerometer data to the corresponding serial interface of the central processor through a serial interface;

[0039] Provide modules for the serial port module to provide navigation positioning data and sensor raw data to the navigation and sensor hardware abstraction layer;

[0040] The docking module is used for the hardware abstraction layer of the navigation and positioning module. It is responsible for docking the navigation and positioning module and realizing the native Ignss interface, so as to publish the navigation and positioning data to the cockpit system.

[0041] The publishing module is used for the sensor hardware abstraction layer to connect to the gyroscope and accelerometer of the navigation and positioning module, implement the native Isensor interface, and publish the sensor data to the cockpit system through the sensor management service module in the central processor;

[0042] The inertial navigation module is used to transmit satellite navigation data and sensor data. At the same time, the navigation and positioning module also outputs the original satellite signal data and provides it to the inertial navigation algorithm module. After the inertial navigation algorithm module obtains the satellite positioning data, satellite navigation data and sensor data, it fuses them and provides the fused data to the application that supports the front-end fusion inertial navigation algorithm.

[0043] In order to solve the above technical problems, the present invention also provides a computer device, which adopts the technical solution described below, including a memory and a processor, wherein the memory stores computer-readable instructions, and when the processor executes the computer-readable instructions, the steps of the above-mentioned inertial navigation method based on the cockpit system are implemented.

[0044] In order to solve the above technical problems, the present invention also provides a computer-readable storage medium, which adopts the technical solution described below, and stores computer-readable instructions on the computer-readable storage medium. When the computer-readable instructions are executed by the processor, the steps of the above-mentioned inertial navigation method based on the cockpit system are implemented.

[0045] Compared with the prior art, the present invention mainly has the following beneficial effects: based on the fact that the hardware performance of the current navigation and positioning module remains unchanged, the inertial navigation algorithm in the original positioning module is transplanted into the intelligent cockpit system. Since the processor performance of the intelligent cockpit system is relatively strong, adding the navigation inertial navigation algorithm has almost no effect on the cockpit system; at the same time, the navigation and positioning module outputs all data to the intelligent cockpit system processor, which performs inertial navigation fusion; the data before fusion is output to the navigation program, and the data after fusion is output to other applications (mobile phone interconnection programs); while meeting the needs of different applications for navigation and positioning data, it does not increase any hardware cost and reduces the requirements for internal processing of the navigation and positioning module. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the scheme in the present invention, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present invention. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0047] Figure 1 is a flow chart of an embodiment of the inertial navigation method based on a cockpit system of the present invention;

[0048] Figure 2 is a software architecture diagram used in the cockpit system-based inertial navigation method of the present invention;

[0049] Figure 3 is a structural schematic diagram of an embodiment of an inertial navigation device based on a cockpit system of the present invention;

[0050] Figure 4 It is a hardware architecture diagram that the inertial navigation device based on the cockpit system of the present invention relies on;

[0051] Figure 5 It is a schematic structural diagram of an embodiment of a computer device of the present invention. DETAILED DESCRIPTION

[0052] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present invention; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention; the terms "including" and "having" and any variations thereof in the specification and claims of the present invention and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present invention or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.

[0053] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0054] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings.

[0055] It should be understood that the number of terminal devices, networks and servers is only illustrative. Depending on the implementation requirements, there can be any number of terminal devices, networks and servers.

[0056] Embodiment 1

[0057] Please refer to Figure 1 , shows a flow chart of an embodiment of the inertial navigation method based on a cockpit system of the present invention. The inertial navigation method based on a cockpit system comprises the following steps:

[0058] Step S1, setting the parameters of the navigation and positioning module, the working mode of the central processing unit and the communication protocol of the serial port module, and initializing the navigation and positioning module, the central processing unit and the serial port module.

[0059] In this embodiment, the electronic device (e.g., server / terminal device) on which the cockpit system-based inertial navigation method runs can receive the cockpit system-based inertial navigation request through a wired connection or a wireless connection. It should be noted that the above wireless connection method may include but is not limited to 3G / 4G / 5G connection, WiFi connection, Bluetooth connection, WiMAXX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods currently known or to be developed in the future.

[0060] In this embodiment, step S1, setting the parameters of the navigation and positioning module, the working mode of the central processing unit and the communication protocol of the serial port module, and initializing the navigation and positioning module, the central processing unit and the serial port module may further include the following steps:

[0061] S11. The MCU powers on the navigation and positioning module according to the timing requirements of the navigation and positioning module power supply.

[0062] As the core of the inertial navigation system, the performance of the navigation and positioning module is directly related to the positioning accuracy and flight safety of the aircraft. Therefore, the MCU must strictly follow the preset timing requirements to power on the navigation and positioning module.

[0063] Specifically, the MCU achieves power-on timing control of the navigation and positioning module by precisely controlling the power management circuit. Before powering on, the MCU will first initialize the power management circuit to ensure that it is in the best working state. Then, the MCU will gradually turn on each switch in the power management circuit according to the preset timing requirements, and gradually deliver power to the navigation and positioning module.

[0064] During this process, the MCU will also monitor the working status of the power management circuit in real time to ensure its stable operation. Once an abnormal situation is found, the MCU will immediately take corresponding measures, such as cutting off the power supply or issuing a fault alarm to ensure the safety of the entire system.

[0065] In addition, the MCU will also accurately adjust the power supply voltage and current according to the working status of the navigation and positioning module and the actual needs of the aircraft. This can not only ensure the stable operation of the navigation and positioning module, but also extend its service life and reduce maintenance costs.

[0066] In the inertial navigation method based on the cockpit system, the MCU's power-on control of the navigation and positioning module is a key link in achieving accurate positioning and safe flight. Through precise timing control, real-time monitoring and precise adjustment, the MCU ensures the stable operation of the navigation and positioning module, providing a strong guarantee for the safe flight of the aircraft.

[0067] S12: After the navigation and positioning module is powered on, the MCU releases a reset signal for the navigation and positioning module.

[0068] The reset signal is an important step for the MCU to initialize the navigation and positioning module. The main purpose of this step is to set the internal registers and counters of the navigation and positioning module to the initial state to ensure that it can work according to the predetermined program logic.

[0069] In actual operation, the MCU communicates with the navigation and positioning module. When the power supply of the navigation and positioning module is stable, the MCU will detect this state change and immediately start the release process of the reset signal.

[0070] The MCU first performs a self-check to ensure that it is operating normally and is not subject to external interference. Then, it calculates the appropriate reset signal parameters, including the signal's frequency, amplitude, and duration.

[0071] After completing these preparations, the MCU will send a reset signal to the navigation and positioning module. This signal is transmitted through a dedicated communication line to ensure the accuracy and stability of signal transmission. After receiving the reset signal, the navigation and positioning module will immediately perform internal initialization operations, clear previous status information, and prepare to receive subsequent navigation and positioning instructions.

[0072] It should be noted that the MCU will also perform a series of fault detection and error handling operations during the process of releasing the reset signal. Once any abnormality is found, the MCU will immediately stop the reset operation and report the error to the system through the corresponding interface.

[0073] S13: The navigation and positioning module starts working.

[0074] When the navigation and positioning module starts working, it will first perform initialization operations, including self-test, calibration, etc. These operations ensure the accuracy and reliability of the module and lay a solid foundation for subsequent positioning work.

[0075] Next, the navigation and positioning module will start receiving data from sensors such as gyroscopes and accelerometers. The gyroscope can measure the angular velocity of the carrier, while the accelerometer can measure the acceleration of the carrier in three directions. After these data are processed by the navigation and positioning module, information such as the carrier's speed, displacement, and direction can be calculated.

[0076] At the same time, the navigation and positioning module will also combine other auxiliary information, such as satellite signals, ground base station signals, etc., to perform data fusion and optimization. These auxiliary information can further improve positioning accuracy and stability, ensuring reliable positioning even in complex environments.

[0077] Finally, after a series of calculations and processing, the navigation and positioning module will output accurate location information. This information will be displayed in real time on the cockpit system display screen, providing intuitive navigation guidance for the driver. At the same time, this information can also interact with other cockpit system modules to achieve a more intelligent driving experience.

[0078] Step S2, the navigation and positioning module obtains satellite positioning data through a satellite signal receiver, and outputs it together with the internal gyroscope and accelerometer data to the serial interface corresponding to the central processor through the serial interface.

[0079] In this embodiment, step S2 may further include the following steps:

[0080] S21. The navigation and positioning module starts to receive satellite data, and converts the received satellite data into a plain code format for output.

[0081] First, the navigation and positioning module has a highly sensitive receiving capability. Once started, it will immediately start searching and locking on to available satellite signals. These satellite signals are the basis of the navigation system, and they carry key information such as location and time. The navigation and positioning module can accurately identify and filter out valid satellite signals, preparing for subsequent data processing.

[0082] Next, the received satellite data needs to go through a series of processing and conversion. The navigation and positioning module will decode and analyze the data, extract information such as position, speed and time, and ensure the accuracy and integrity of the data.

[0083] After completing the data analysis, the navigation and positioning module will convert the processed data into a plain text format, such as NMEA sentence output. NMEA sentence is a standardized data format, which is widely used in various navigation devices and systems. By converting to NMEA sentence, the data output by the navigation and positioning module can be easily read and used by other devices or systems.

[0084] It should be noted that during the whole process, the navigation and positioning module also needs to perform real-time self-calibration and correction. Due to the influence of various factors, such as atmospheric interference, satellite position changes, etc., the received satellite data may have certain errors. Therefore, the navigation and positioning module needs to compensate and correct these errors to ensure that the output data has a high degree of accuracy and reliability.

[0085] S22, the navigation and positioning module outputs satellite data and NMEA format data simultaneously.

[0086] The navigation and positioning module first performs high-precision positioning calculations by receiving signals from satellites. These satellite data contain rich position, speed and time information, which is the basis for the inertial navigation system to realize the navigation function. At the same time, the module also has the ability to convert these satellite data into standard plain text formats, the most common of which is NMEA sentences.

[0087] NMEA sentences are a data format widely used in navigation devices. Its concise syntax and rich information content enable various devices to easily exchange and share data. The navigation and positioning module converts satellite data into NMEA sentences through internal algorithms, thus achieving seamless connection with other devices.

[0088] In the specific implementation process, the navigation and positioning module first receives satellite signals through the antenna, then amplifies, filters and demodulates the signals to extract the navigation message sent by the satellite. Then, the module uses the internal positioning algorithm to analyze and calculate the received satellite data to obtain the current position, speed, direction and other information.

[0089] At the same time, the module also has powerful data processing capabilities. It can output the calculated positioning information in the form of NMEA sentences as needed. These NMEA sentences contain rich navigation information, such as longitude, latitude, altitude, speed, etc., which can be directly read and used by other devices.

[0090] By realizing the simultaneous output of satellite data and NMEA sentences, the navigation and positioning module not only provides high-precision positioning information, but also greatly improves the readability and availability of data. This enables the cockpit system to achieve stable and reliable navigation functions in various complex environments, providing a strong guarantee for flight safety.

[0091] S23, the navigation and positioning module outputs the internal gyroscope and accelerometer data, plus the timestamp information, and the satellite positioning data simultaneously.

[0092] S24, the navigation and positioning module simultaneously outputs three sets of data: NMEA format data, gyroscope and accelerometer data, and PVT satellite raw data.

[0093] As the core sensors of the inertial navigation system, gyroscopes and accelerometers can measure the angular velocity and acceleration of the aircraft in real time. These data not only reflect the current motion state of the aircraft, but also are an important basis for predicting its future position. However, pure inertial navigation data will gradually deviate from the true value due to integration errors over a long period of time, which requires correction with the help of other external information.

[0094] Satellite positioning data is an excellent choice. By receiving signals from satellites, the navigation system can obtain accurate information about the aircraft's position around the world. This information is not only highly accurate, but also has a wide coverage, which can make up for the shortcomings of inertial navigation data in long-term navigation.

[0095] The role of timestamp information is to ensure the synchronization of various data. During high-speed flight, an error of one millisecond may result in a positioning deviation of several meters. Therefore, by accurately timestamping each set of data, the navigation system can ensure that various information can accurately correspond during data processing and fusion, thereby improving the accuracy of navigation positioning.

[0096] Step S3: the serial port module provides navigation positioning data and sensor raw data to the navigation and sensor hardware abstraction layer.

[0097] In this embodiment, step S3 may further include the following steps:

[0098] S31. The serial port of the central processing unit receives data sent by the navigation and positioning module.

[0099] The navigation and positioning module integrates a variety of sensors, such as gyroscopes and accelerometers, which can sense the motion state of the carrier in real time, including speed, acceleration and angular velocity. These data are processed by the module's built-in algorithm and converted into navigation information such as position, speed and attitude.

[0100] Next, the CPU communicates with the navigation and positioning module through the serial port. Serial communication is a common data transmission method with the characteristics of stability, reliability and fast transmission speed. The CPU receives the navigation data sent by the navigation and positioning module through the serial port. These data are usually encoded in a specific format to ensure the accuracy and integrity of the data.

[0101] In the process of receiving data, the CPU needs to perform a series of processing operations. First, it needs to decode the received data and convert it into a recognizable format. Then, the CPU will check and correct the data to ensure the accuracy of the data. Finally, the CPU will perform complex algorithm calculations based on the received navigation data and other sensor information to obtain accurate navigation positioning results.

[0102] This inertial navigation method based on the cockpit system not only improves the accuracy and stability of navigation positioning, but also provides strong support for the automatic driving and intelligent control of vehicles. By continuously optimizing the algorithm and improving the data processing capability, the performance of this method can be further improved, bringing a safer, more efficient and convenient experience to future transportation.

[0103] S32, the central processing unit splits the received data into NMEA data, gyroscope and accelerometer data, and satellite raw data according to the serial port protocol, and outputs them to the corresponding software interface respectively.

[0104] After receiving the data, the CPU splits the raw data. Through precise data splitting, the CPU can accurately identify different information types such as NMEA data, gyroscope and accelerometer data, and satellite raw data.

[0105] Next, the CPU will further process and analyze the split data. For example, for NMEA data, the CPU will analyze key information such as latitude, longitude, speed, etc. For gyroscope and accelerometer data, it will extract motion parameters such as angular velocity and acceleration; and for satellite raw data, it will decode and calibrate to obtain more accurate positioning information.

[0106] Finally, the CPU outputs the processed data to the corresponding software interfaces according to different types. These software interfaces may be navigation software, flight control systems, or other systems that require inertial navigation data. Through accurate data output, the CPU provides powerful data support for the entire cockpit system, ensuring the safety and stability of flight.

[0107] S33, NMEA data is provided to the navigation and positioning service module and the inertial navigation algorithm module, IMU data is provided to the sensor service module and the inertial navigation algorithm module respectively, and satellite raw data is provided to the inertial navigation algorithm module.

[0108] As the basis of navigation and positioning, NMEA data is accurately transmitted to the navigation and positioning service module (Gnssdr) and the inertial navigation algorithm module (INS Algorithm). By parsing NMEA data, the Gnssdr module can obtain key information such as longitude, latitude, and altitude, providing a reliable basis for navigation and positioning. The INS Algorithm module uses NMEA data for initial alignment and calibration to ensure the accuracy of the inertial navigation system.

[0109] As the core input of the inertial navigation system, IMU data is provided to the sensor service module (sensorHal) and the inertial navigation algorithm module (INS Algorithm) in real time. The sensor Hal module pre-processes the IMU data, including filtering, denoising and other operations to ensure the purity of the data. The INS Algorithm module uses the acceleration, angular velocity and other information in the IMU data, combined with the algorithm for navigation solution, to achieve high-precision position, velocity and attitude estimation.

[0110] As raw satellite data, PVT data is also provided to the INS Algorithm module. These data contain the original information of satellite signals, which is of great significance for improving the anti-interference ability and positioning accuracy of the INS system. The INS Algorithm module can further improve the reliability and stability of navigation positioning by fusing PVT data with other sensor data.

[0111] Step S4, the hardware abstraction layer of the navigation and positioning module is responsible for connecting to the navigation and positioning module, realizing the native Ignss interface, and thus publishing the navigation and positioning data to the cockpit system.

[0112] In this embodiment, step S4 may further include the following steps:

[0113] S41, GNS Sander obtains navigation and positioning NMEA data from the serial port module and parses the NMEA data.

[0114] As a component, GNSSHandler is responsible for accurately obtaining and parsing navigation and positioning NMEA data from the serial port module. This process not only ensures the accuracy of navigation, but also provides a solid guarantee for flight safety.

[0115] The serial port module, as a bridge for communication with external devices, is of vital importance for its stability and accuracy. GNSSHandler ensures smooth communication with GPS receivers or other navigation devices by accurately configuring serial port parameters such as baud rate, data bits, stop bits, etc. Once configured, GNSSHandler can read NMEA data from the serial port module in real time.

[0116] Next, it is the parsing process of NMEA data. NMEA data is a standardized navigation data format that contains rich navigation information such as longitude, latitude, altitude, speed, etc. GNSSHandler accurately parses this data through a built-in parsing algorithm. It first identifies the start and end flags of NMEA data, and then extracts the values ​​of each field according to a predetermined format. This process requires extremely high precision and stability to ensure the accuracy of navigation data.

[0117] During the parsing process, GNSSHandler will also perform a series of verification and error correction on the data. For example, it will check the integrity of the data and retransmit or discard the lost or erroneous data packets. In addition, it will use algorithms to smooth the parsed data to reduce errors caused by noise or other interference factors.

[0118] S42, GNSSHander provides the parsed data to the GNSS module. The GNSS module implements the Android native IGNSS interface and connects to the native LocationManager.

[0119] S43. LocationManager publishes the received positioning data to the entire system.

[0120] In step S5, the sensor hardware abstraction layer is responsible for connecting to the gyroscope and accelerometer parts of the navigation and positioning module, realizing the native Isensor interface, and thus publishing the sensor data to the cockpit system through the sensor management service module in the central processor.

[0121] In this embodiment, step S5 may further include the following steps:

[0122] S51, Sensor datahander obtains the raw data of gyroscope and accelerometer from the serial port module, parses the data and provides it to BstSensor.

[0123] Sensor datahandler is not only responsible for accurately obtaining the raw data of the gyroscope and accelerometer from the serial port module, but also for efficiently parsing and processing these data, and finally providing the parsed data to BstSensor to ensure the stable operation and accurate navigation of the entire inertial navigation system.

[0124] S52, BstSensor receives the data parsed by Sensor datahander, adapts to the interface of ISensors, and provides data to SensorManager.

[0125] Once the Sensor datahandler has finished parsing the raw data, it will send the data to the BstSensor in a predetermined format. The BstSensor uses its built-in data receiving mechanism to ensure the integrity and accuracy of the data and prepare for subsequent processing.

[0126] Next, BstSensor needs to adapt the received data. The key here is to adapt the ISensors interface. The ISensors interface defines a set of standard data formats and interaction methods, so that different sensor data can be used uniformly by the system. BstSensor converts the received data into a standard format that meets the interface requirements by implementing the ISensors interface. This process needs to take into account multiple aspects such as data type, precision, and units to ensure the accuracy and availability of the data.

[0127] Finally, BstSensor provides the adapted data to SensorManager. SensorManager is the core component responsible for managing sensor data in the entire cockpit system. It is responsible for receiving data from each sensor and further processing and distributing it as needed. BstSensor passes the adapted data to it by calling the interface provided by SensorManager. In this way, SensorManager can obtain accurate and consistent sensor data, providing strong support for system decision-making.

[0128] In the whole process, BstSensor plays an indispensable role. It not only ensures the accurate transmission and adaptation of data, but also provides data to SensorManager to ensure the normal operation of the entire cockpit system. This design enables the system to flexibly respond to various complex sensor data and improves the reliability and stability of the system.

[0129] S53, SensorManager publishes the Sensor data to the entire system.

[0130] As a key component in the cockpit system inertial navigation method, SensorManager is responsible for collecting, processing and publishing sensor data. It interacts with various sensors to obtain multi-dimensional information including acceleration, angular velocity, magnetic field strength, etc., providing basic data support for subsequent navigation, positioning and attitude control.

[0131] In the process of data publishing, SensorManager adopts an efficient data transmission mechanism. It uses the system bus or dedicated communication interface to send the processed sensor data to each receiving module in a specific format and frequency. In this process, SensorManager ensures the real-time and accuracy of the data, allowing the entire system to respond and operate based on the latest sensor data.

[0132] In addition, SensorManager also has powerful data management capabilities. It can cache, filter and calibrate the received sensor data to eliminate noise and interference and improve data quality. At the same time, it can also process and convert the sensor data appropriately according to the actual needs of the system to meet the needs of different application scenarios.

[0133] In terms of security, SensorManager adopts a strict data access control mechanism to ensure that only authorized modules can obtain and use Sensor data. This effectively prevents data leakage and abuse and ensures the information security of the system.

[0134] Step S6: While transmitting satellite navigation data and sensor data, the navigation and positioning module also outputs the original satellite signal data and provides it to the inertial navigation algorithm module. After the inertial navigation algorithm module obtains the satellite positioning data, satellite navigation data and sensor data, it fuses them and provides the fused data to an application that supports the front-end fusion inertial navigation algorithm.

[0135] In this embodiment, step S6 may further include the following steps:

[0136] S61. The inertial navigation algorithm module receives NMEA data, gyroscope and accelerometer data, and PVT data.

[0137] NMEA data, as a universal data interface standard widely used in marine, aviation and land equipment, contains rich position, speed and time information.

[0138] The inertial navigation algorithm module can obtain, analyze and calculate these data in real time, which not only provides important reference information for the inertial navigation system, but also helps to improve the accuracy and stability of navigation.

[0139] IMU data is another important input to the inertial navigation algorithm module. IMU, or inertial measurement unit, is usually composed of a gyroscope and an accelerometer, which can measure the angular velocity and acceleration information of the aircraft in real time. These raw data are accurately processed by the inertial navigation algorithm module to calculate key information such as the aircraft's attitude, speed, and position. This calculation process is not affected by the external environment, so it has high independence and reliability.

[0140] PVT data is also an indispensable part of the inertial navigation algorithm module. PVT data, that is, satellite raw data, contains signal information from satellites. By analyzing this data, the inertial navigation algorithm module can obtain more accurate position and time information. This information can not only be integrated with IMU data to improve navigation accuracy, but also be used to correct the errors of the inertial navigation system to ensure its long-term stable operation.

[0141] S62, the inertial navigation algorithm module outputs the corrected position information data through a fusion algorithm and outputs it in NMEA format.

[0142] The implementation of the inertial navigation algorithm module first relies on the accurate collection and processing of data from multiple sensors. These sensors include but are not limited to accelerometers, gyroscopes, etc., which can obtain the motion state information of the carrier in real time. Subsequently, the inertial navigation algorithm module will pre-process these raw data, including filtering, denoising and other steps to ensure the accuracy and reliability of the data.

[0143] Based on data preprocessing, the inertial navigation algorithm module will use a complex fusion algorithm to comprehensively process multi-source data. In this process, the algorithm will weight, correct and fuse the data of different sensors according to their characteristics and error models to obtain more accurate and stable position information. This fusion algorithm can not only make full use of the advantages of various sensors, but also effectively suppress the errors that may be generated by a single sensor, thereby improving the accuracy and stability of navigation positioning.

[0144] The position information data processed by the fusion algorithm will be output in NMEA format. NMEA format is a widely used navigation data standard. It has good compatibility and readability, and can be easily connected with various navigation devices and systems. By outputting data in NMEA format, the inertial navigation algorithm module can provide accurate and reliable position information support for other navigation systems or applications.

[0145] S63. The application program in the vehicle system obtains the positioning data after the data is fused with the inertial navigation algorithm from the corresponding interface.

[0146] An inertial navigation system is a system that uses inertial sensors (such as gyroscopes and accelerometers) to measure and calculate the vehicle's motion state. By continuously collecting and analyzing this data, the inertial navigation system can calculate the vehicle's current position, speed, and attitude. However, due to sensor errors and external interference, pure inertial navigation data often has certain deviations.

[0147] To solve this problem, modern vehicle systems use data fusion technology to combine inertial navigation data with other positioning methods (such as GPS, map matching, etc.) to obtain more accurate and stable positioning information. This fusion process intelligently weights and optimizes various positioning data according to different scenarios and needs.

[0148] As an interface in the vehicle system, the mobile phone interconnection program is used to establish a communication bridge between the mobile phone and the vehicle system. Through this bridge, the mobile phone can obtain various data in the vehicle system in real time, including inertial navigation positioning data after data fusion. These data can not only be used to realize functions such as navigation and entertainment, but also provide accurate location information for advanced functions such as intelligent driving and automatic parking.

[0149] In the implementation process, the mobile phone interconnection program needs to be connected to the interface in the vehicle system to ensure real-time transmission and accurate analysis of data. At the same time, in order to ensure the security and privacy of the data, encryption and permission management measures need to be adopted to ensure that only authorized applications can access and use these positioning data.

[0150] Figure 2 : is a software architecture diagram used in the inertial navigation method based on the cockpit system of the present invention. Figure 2As shown in the figure, the software architecture includes: a navigation and positioning module (including: a satellite signal receiver, a gyroscope, an accelerometer, and a microprocessor), a central processing unit (serial port control module, a satellite data management module, a sensor signal management module, a positioning management service module, and a sensor management service module). The navigation and positioning module obtains satellite positioning data through a satellite signal receiver, and outputs it to the corresponding serial interface of the processor through a serial interface together with the internal gyroscope and accelerometer data; the serial port module (UART) provides navigation and positioning data and sensor raw data for the navigation and sensor hardware abstraction layer; the navigation and positioning hardware abstraction layer (GNSS Hal) is responsible for connecting to the navigation and positioning module, realizing the system's native Ignss interface, and thus publishing the navigation and positioning data to the entire smart cockpit system; the sensor hardware abstraction layer (Hal) is responsible for connecting to the gyroscope and accelerometer parts of the navigation and positioning module, realizing the system's native Isensor interface, and thus publishing the sensor data to the entire smart cockpit system through the sensor management service module. While transmitting the above satellite navigation data and sensor data, the navigation and positioning module also outputs the original satellite signal data and provides it to the inertial navigation algorithm (INS Algorithm). The inertial navigation algorithm obtains the above three sets of data and fuses them and provides them to applications (mobile phone interconnection applications) that need to support front-end fusion inertial navigation algorithms.

[0151] Satellite navigation, such as GPS and BeiDou, determines the position of ground objects by receiving signals from satellites. Inertial navigation, on the other hand, relies on the motion state of an object (such as speed, acceleration, etc.) to infer its position. Both have their advantages, but also their shortcomings. Although satellite navigation is accurate in positioning, the positioning accuracy will be affected when the signal is interfered with or blocked; and although inertial navigation has strong autonomy, there will be the problem of error accumulation after long-term use. Therefore, combining the two to form a satellite navigation inertial navigation algorithm can make full use of their respective advantages and make up for each other's shortcomings.

[0152] By integrating satellite navigation inertial navigation algorithms into multimedia systems, this positioning technology can be applied to various multimedia applications. Whether it is a mobile phone, tablet computer, TV, stereo or other equipment, as long as this algorithm is built in, more accurate positioning and navigation functions can be achieved.

[0153] First, in terms of entertainment, satellite navigation inertial navigation algorithms will bring more realistic experiences to applications such as games and virtual reality. Through precise positioning and navigation, more realistic scene switching and character movement can be achieved in games; in virtual reality applications, the position and direction in the virtual world can be more accurately perceived, thus immersing oneself in a more realistic virtual environment.

[0154] Secondly, in terms of life, the multimedia system with built-in satellite navigation inertial navigation algorithm will bring great convenience to travel. Whether driving or walking, you can use this system to obtain more accurate positioning and navigation information to avoid getting lost or taking the wrong route. At the same time, this system can also combine maps, traffic information and other functions to provide more comprehensive travel suggestions and planning.

[0155] In addition, in the commercial field, multimedia systems with built-in satellite navigation inertial navigation algorithms will also have broad application prospects. For example, in the retail industry, merchants can use this system to provide customers with more accurate store positioning and recommendations; in the logistics field, logistics companies can use this system to achieve more efficient cargo tracking and management.

[0156] The satellite navigation and inertial navigation method based on the intelligent cockpit system mainly relies on the navigation and positioning module to receive satellite signals and combines the inertial navigation algorithm for data processing and position calculation. The central processing unit is responsible for the execution of the algorithm and data processing, while the serial port module realizes communication and data interaction with other on-board devices.

[0157] The beneficial effects of implementing this embodiment are as follows: based on the fact that the hardware performance of the current navigation and positioning module remains unchanged, the inertial navigation algorithm in the original positioning module is transplanted to the smart cockpit system. Since the processor performance of the smart cockpit system is relatively strong, adding the navigation inertial navigation algorithm has almost no effect on the cockpit system; at the same time, the navigation and positioning module outputs all data to the smart cockpit system processor, which performs inertial navigation fusion; the data before fusion is output to the navigation program, and the data after fusion is output to other applications (mobile phone interconnection programs); while meeting the needs of different applications for navigation and positioning data, it does not increase any hardware costs and reduces the requirements for internal processing of the navigation and positioning module.

[0158] The present invention can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present invention can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present invention can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0159] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0160] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0161] Embodiment 2

[0162] Further references Figure 3 , as a response to the above Figure 1 The present invention provides an embodiment of an inertial navigation device based on a cockpit system. Figure 1 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0163] like Figure 3 As shown, the cockpit system-based inertial navigation device 70 of this embodiment includes: an initialization module 71, an acquisition module 72, a provision module 73, a docking module 74, a publishing module 75 and an inertial navigation module 76. Among them:

[0164] The initialization module 71 is used to set the parameters of the navigation and positioning module, the working mode of the central processing unit and the communication protocol of the serial port module, and initialize the navigation and positioning module, the central processing unit and the serial port module;

[0165] An acquisition module 72 is used for the navigation and positioning module to acquire satellite positioning data through a satellite signal receiver, and output the data together with the internal gyroscope and accelerometer data to a corresponding serial interface of the central processor through a serial interface;

[0166] Providing module 73, for the serial port module to provide navigation positioning data and sensor raw data to the navigation and sensor hardware abstraction layer;

[0167] The docking module 74 is used for the hardware abstraction layer of the navigation and positioning module to dock with the navigation and positioning module and implement the native Ignss interface, thereby publishing the navigation and positioning data to the cockpit system;

[0168] The publishing module 75 is used for the sensor hardware abstraction layer to connect to the gyroscope and accelerometer parts of the navigation and positioning module, realize the native Isensor interface, and publish the sensor data to the cockpit system through the sensor management service module in the central processor;

[0169] The inertial navigation module 76 is used to transmit satellite navigation data and sensor data. At the same time, the navigation positioning module also outputs the original satellite signal data and provides it to the inertial navigation algorithm module. After the inertial navigation algorithm module obtains the satellite positioning data, satellite navigation data and sensor data, it fuses them and provides the fused data to the application that supports the front-end fusion inertial navigation algorithm.

[0170] Figure 4 This is a hardware architecture diagram that the inertial navigation device based on the cockpit system of the present invention relies on. Figure 4 As shown, it depends on the internal navigation and positioning module of the vehicle multimedia, CPU, vehicle system, inertial navigation algorithm module, etc.

[0171] The beneficial effects of implementing this embodiment are as follows: based on the fact that the hardware performance of the current navigation and positioning module remains unchanged, the inertial navigation algorithm in the original positioning module is transplanted to the smart cockpit system. Since the processor performance of the smart cockpit system is relatively strong, adding the navigation inertial navigation algorithm has almost no effect on the cockpit system; at the same time, the navigation and positioning module outputs all data to the smart cockpit system processor, which performs inertial navigation fusion; the data before fusion is output to the navigation program, and the data after fusion is output to other applications (mobile phone interconnection programs); while meeting the needs of different applications for navigation and positioning data, it does not increase any hardware costs and reduces the requirements for internal processing of the navigation and positioning module.

[0172] Embodiment 3

[0173] To solve the above technical problems, the embodiment of the present invention also provides a computer device. Figure 5 , Figure 5 This is a basic structural block diagram of the computer device in this embodiment.

[0174] The above-mentioned computer device 8 includes a memory 81, a processor 82, and a network interface 83 that are interconnected and communicated through a system bus. It should be noted that the figure only shows a computer device 8 having components of a memory 81, a processor 82, and a network interface 83, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to a microprocessor, an application specific integrated circuit (ASIC), a programmable gate array (FPGA), a digital processor (DSP), an embedded device, etc.

[0175] The computer device may be a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with the user through a keyboard, a mouse, a remote control, a touch pad, or a voice control device.

[0176] The memory 81 includes at least one type of readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 81 may be an internal storage unit of the computer device 8, such as a hard disk or memory of the computer device 8. In other embodiments, the memory 81 may also be an external storage device of the computer device 8, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. equipped on the computer device 8. Of course, the memory 81 may also include both the internal storage unit of the computer device 8 and its external storage device. In this embodiment, the memory 81 is generally used to store the operating system and various application software installed on the computer device 8, such as computer-readable instructions based on the inertial navigation method of the cockpit system. In addition, the memory 81 can also be used to temporarily store various types of data that have been output or are to be output.

[0177] The processor 82 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 82 is generally used to control the overall operation of the computer device 8. In this embodiment, the processor 82 is used to run the computer-readable instructions stored in the memory 81 or process data, such as running the computer-readable instructions of the inertial navigation method based on the cockpit system.

[0178] The network interface 83 may include a wireless network interface or a wired network interface. The network interface 83 is generally used to establish a communication connection between the computer device 8 and other electronic devices.

[0179] The beneficial effects of implementing this embodiment are as follows: based on the fact that the hardware performance of the current navigation and positioning module remains unchanged, the inertial navigation algorithm in the original positioning module is transplanted to the smart cockpit system. Since the processor performance of the smart cockpit system is relatively strong, adding the navigation inertial navigation algorithm has almost no effect on the cockpit system; at the same time, the navigation and positioning module outputs all data to the smart cockpit system processor, which performs inertial navigation fusion; the data before fusion is output to the navigation program, and the data after fusion is output to other applications (mobile phone interconnection programs); while meeting the needs of different applications for navigation and positioning data, it does not increase any hardware costs and reduces the requirements for internal processing of the navigation and positioning module.

[0180] Embodiment 4

[0181] The present invention also provides another embodiment, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions can be executed by at least one processor to enable the at least one processor to perform the steps of the inertial navigation method based on the cockpit system as described above.

[0182] The beneficial effects of implementing this embodiment are as follows: based on the fact that the hardware performance of the current navigation and positioning module remains unchanged, the inertial navigation algorithm in the original positioning module is transplanted to the smart cockpit system. Since the processor performance of the smart cockpit system is relatively strong, adding the navigation inertial navigation algorithm has almost no effect on the cockpit system; at the same time, the navigation and positioning module outputs all data to the smart cockpit system processor, which performs inertial navigation fusion; the data before fusion is output to the navigation program, and the data after fusion is output to other applications (mobile phone interconnection programs); while meeting the needs of different applications for navigation and positioning data, it does not increase any hardware costs and reduces the requirements for internal processing of the navigation and positioning module.

[0183] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the various embodiment methods of the present invention.

[0184] Obviously, the embodiments described above are only some embodiments of the present invention, rather than all embodiments. The preferred embodiments of the present invention are given in the accompanying drawings, but they do not limit the patent scope of the present invention. The present invention can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive. Although the present invention has been described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific embodiments, or to perform equivalent replacements for some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of the present invention, directly or indirectly used in other related technical fields, is also within the scope of patent protection of the present invention.

Claims

1. An inertial navigation method based on a cockpit system, characterized in that: The steps include: Set the parameters of the navigation and positioning module, the working mode of the central processing unit and the communication protocol of the serial port module, and initialize the navigation and positioning module, the central processing unit and the serial port module; The navigation and positioning module obtains satellite positioning data through the satellite signal receiver, and outputs it to the corresponding serial interface of the central processor through the serial interface together with the internal gyroscope and accelerometer data; The serial port module provides navigation positioning data and sensor raw data for the navigation and sensor hardware abstraction layer; The hardware abstraction layer of the navigation and positioning module is responsible for connecting to the navigation and positioning module and implementing the native Ignss interface, thereby publishing the navigation and positioning data to the cockpit system; The sensor hardware abstraction layer is responsible for connecting to the gyroscope and accelerometer parts of the navigation and positioning module, realizing the native Isensor interface, and thus publishing the sensor data to the cockpit system through the sensor management service module in the central processor; While transmitting satellite navigation data and sensor data, the navigation and positioning module also outputs the original satellite signal data and provides it to the inertial navigation algorithm module. After the inertial navigation algorithm module obtains the satellite positioning data, satellite navigation data and sensor data, it fuses them and provides the fused data to the application that supports the front-end fusion inertial navigation algorithm.

2. The inertial navigation method based on the cockpit system according to claim 1, characterized in that: The steps of setting the parameters of the navigation and positioning module, the working mode of the central processing unit and the communication protocol of the serial port module, and initializing the navigation and positioning module, the central processing unit and the serial port module specifically include: The MCU powers on the navigation and positioning module according to the timing requirements of the navigation and positioning module; After the navigation and positioning module is powered on, the MCU releases the navigation and positioning module reset signal; The navigation and positioning module starts working.

3. The inertial navigation method based on the cockpit system according to claim 1, characterized in that: The steps of obtaining satellite positioning data through a satellite signal receiver by the navigation and positioning module and outputting the data together with the internal gyroscope and accelerometer data to the serial interface corresponding to the central processor through the serial interface specifically include: The navigation and positioning module starts to receive satellite data and converts the received satellite data into a plain code format for output; The navigation and positioning module outputs satellite data and NMEA format data at the same time; The navigation and positioning module outputs the internal gyroscope and accelerometer data, plus timestamp information, and satellite positioning data simultaneously; The navigation and positioning module outputs three sets of data simultaneously: NMEA format data, gyroscope and accelerometer data, and PVT satellite raw data.

4. The inertial navigation method based on the cockpit system according to claim 1, characterized in that: The steps of providing navigation positioning data and sensor raw data to the navigation and sensor hardware abstraction layer by the serial port module specifically include: The serial port of the central processing unit receives the data sent by the navigation and positioning module; The central processor splits the received data into NMEA data, gyroscope and accelerometer data, and satellite raw data according to the serial port protocol, and outputs them to the corresponding software interface respectively; NMEA data is provided to the navigation and positioning service module and the inertial navigation algorithm module, IMU data is provided to the sensor service module and the inertial navigation algorithm module respectively, and satellite raw data is provided to the inertial navigation algorithm module.

5. The inertial navigation method based on the cockpit system according to claim 1, characterized in that: The hardware abstraction layer of the navigation and positioning module is responsible for connecting to the navigation and positioning module and realizing the native Ignss interface, so that the steps of publishing the navigation and positioning data to the cockpit system specifically include: GNSSHander obtains navigation and positioning NMEA data from the serial port module and parses the NMEA data; GNSSHander provides the parsed data to the GNSS module, which implements the native IGNSS interface of Android and connects to the native LocationManager. LocationManager publishes the received positioning data to the entire system.

6. The inertial navigation method based on the cockpit system according to claim 1, characterized in that: The sensor hardware abstraction layer is responsible for connecting to the gyroscope and accelerometer parts of the navigation and positioning module, realizing the native Isensor interface, and publishing the sensor data to the cockpit system through the sensor management service module in the central processor. The specific steps include: Sensor datahandler obtains the raw data of gyroscope and accelerometer from the serial port module, parses the data and provides it to BstSensor; BstSensor receives the data parsed by Sensor datahander, adapts to the interface of ISensors, and provides data to SensorManager; SensorManager publishes Sensor data to the entire system.

7. The inertial navigation method based on the cockpit system according to claim 1, characterized in that: The steps of transmitting the satellite navigation data and the sensor data, the navigation and positioning module also outputting the original satellite signal data and providing it to the inertial navigation algorithm module, the inertial navigation algorithm module fusing the satellite positioning data, the satellite navigation data and the sensor data, and providing the fused data to the application supporting the front-end fusion inertial navigation algorithm specifically include: The inertial navigation algorithm module receives NMEA data, gyroscope and accelerometer data and PVT satellite raw data; The inertial navigation algorithm module outputs the corrected position information data through the fusion algorithm and outputs it in NMEA format; The application in the vehicle system obtains the positioning data after data fusion and inertial navigation algorithm from the corresponding interface.

8. An inertial navigation device based on a cockpit system, characterized in that: include: The initialization module is used to set the parameters of the navigation and positioning module, the working mode of the central processing unit and the communication protocol of the serial port module, and initialize the navigation and positioning module, the central processing unit and the serial port module; An acquisition module is used for the navigation and positioning module to acquire satellite positioning data through a satellite signal receiver, and outputs the data together with the internal gyroscope and accelerometer data to the corresponding serial interface of the central processor through a serial interface; Provide modules for the serial port module to provide navigation positioning data and sensor raw data to the navigation and sensor hardware abstraction layer; The docking module is used for the hardware abstraction layer of the navigation and positioning module. It is responsible for docking the navigation and positioning module and realizing the native Ignss interface, so as to publish the navigation and positioning data to the cockpit system. The publishing module is used for the sensor hardware abstraction layer to connect to the gyroscope and accelerometer of the navigation and positioning module, implement the native Isensor interface, and publish the sensor data to the cockpit system through the sensor management service module in the central processor; The inertial navigation module is used to transmit satellite navigation data and sensor data. At the same time, the navigation and positioning module also outputs the original satellite signal data and provides it to the inertial navigation algorithm module. After the inertial navigation algorithm module obtains the satellite positioning data, satellite navigation data and sensor data, it fuses them and provides the fused data to the application that supports the front-end fusion inertial navigation algorithm.

9. A computer device, comprising a memory and a processor, wherein the memory stores computer-readable instructions, and when the processor executes the computer-readable instructions, the steps of the inertial navigation method based on a cockpit system as claimed in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the inertial navigation method based on a cockpit system according to any one of claims 1 to 7 are implemented.