Transformation matrix updating method and apparatus, device, storage medium, and product

By performing rationality checks and smoothing on the global absolute positioning data of the autonomous mobile vehicle, the problems of matrix abruptness and attitude change in the transformation matrix update method are solved, and a smooth matching of global pose and local pose is achieved.

CN123178764APending Publication Date: 2026-11-27SHENZHEN DESAY SV AUTOMOTIVE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611337555.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-31
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing positioning systems for autonomous mobile vehicles, the transformation matrix update method suffers from abrupt matrix updates, sudden attitude changes, jittering and jumps in global pose results, and an inability to match the continuous and stable local pose output state.

Method used

The system acquires global absolute positioning data and local pose of the mobile carrier in real time. The global absolute positioning data is checked for reasonableness at preset update cycles. Based on the data that passes the check, translation observations and rotation observations are determined. The translation vector and rotation quaternion are smoothed to obtain the updated transformation matrix.

Benefits of technology

It suppresses the abruptness of matrix updates and the sudden changes in pose, ensuring continuous and smooth changes in global pose, and matching the continuous and smooth output state of local pose.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178764A_ABST
    Figure CN123178764A_ABST
Patent Text Reader

Abstract

The application discloses a transformation matrix updating method, device, equipment, storage medium and product. Global absolute positioning data, local pose and a transformation matrix of a mobile carrier are acquired in real time; wherein the transformation matrix comprises a translation vector and a rotation quaternion; every preset updating period, translation observation values and rotation observation values are determined based on the global absolute positioning data and the local pose under the condition that the global absolute positioning data passes a rationality test; the translation vector and the rotation quaternion are respectively smoothed based on the translation observation values and the rotation observation values, so as to obtain an updated translation vector and an updated rotation quaternion; and an updated transformation matrix is determined based on the updated translation vector and the updated rotation quaternion. The problems of matrix updating abruptness, attitude mutation, global pose result jitter and jump and the incapability of matching with a continuous and smooth local pose output state of the existing transformation matrix updating method are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of autonomous navigation and positioning technology, and in particular to a transformation matrix update method, apparatus, device, storage medium, and product. Background Technology

[0002] In existing positioning systems for autonomous mobile vehicles (such as self-driving mobile vehicles, mobile robots, automated guided vehicles, and unmanned aerial vehicles), the transformation matrix is ​​usually updated directly and hard based on the instantaneous solution of global absolute positioning data and local pose. If the global absolute positioning data is abnormal, abnormal observations will directly participate in the update, which can easily cause abrupt matrix updates and sudden changes in attitude. This results in jitter and jumps in the global pose result, which cannot match the continuous and stable local pose output state, seriously affecting the positioning stability. Summary of the Invention

[0003] This invention provides a transformation matrix update method, apparatus, device, storage medium, and product to solve the problems of abrupt matrix updates, sudden changes in pose, jitter and jumps in global pose results, and inability to match continuous and stable local pose output states in existing transformation matrix update methods.

[0004] According to one aspect of the present invention, a transformation matrix update method is provided, comprising: Real-time acquisition of global absolute positioning data, local pose, and transformation matrix of the mobile carrier; wherein the transformation matrix includes translation vectors and rotation quaternions; Every preset update cycle, if the global absolute positioning data passes the rationality check, translation observations and rotation observations are determined based on the global absolute positioning data and the local pose. Based on the translation observations and the rotation observations, the translation vector and the rotation quaternion are smoothed to obtain the updated translation vector and the updated rotation quaternion. Based on the updated translation vector and the updated rotation quaternion, the updated transformation matrix is ​​determined.

[0005] According to another aspect of the present invention, a transformation matrix updating apparatus is provided, comprising: The data acquisition module is used to acquire the global absolute positioning data, local pose, and transformation matrix of the mobile carrier in real time; wherein, the transformation matrix includes translation vectors and rotation quaternions; The observation determination module is used to determine translational and rotational observations based on the global absolute positioning data and the local pose, at preset update cycles, provided that the global absolute positioning data has passed the rationality check. A smoothing module is used to smooth the translation vector and the rotation quaternion based on the translation observation and the rotation observation, respectively, to obtain the updated translation vector and the updated rotation quaternion; The matrix update module is used to determine the updated transformation matrix based on the updated translation vector and the updated rotation quaternion.

[0006] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the transformation matrix update method according to any embodiment of the present invention.

[0007] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the transformation matrix update method according to any embodiment of the present invention.

[0008] According to another aspect of the present invention, a computer program product is provided, the computer program product comprising a computer program that, when executed by a processor, implements the transformation matrix update method according to any embodiment of the present invention.

[0009] The technical solution provided by this invention acquires the global absolute positioning data, local pose, and transformation matrix of a mobile carrier in real time. The transformation matrix includes a translation vector and a rotation quaternion. At preset update intervals, if the global absolute positioning data passes a reasonableness check, translation and rotation observations are determined based on the global absolute positioning data and the local pose. Based on the translation and rotation observations, the translation vector and the rotation quaternion are smoothed to obtain updated translation vectors and updated rotation quaternions. Based on the updated translation vectors and updated rotation quaternions, an updated transformation matrix is ​​determined. By performing a validity check on the global absolute positioning data before updating, abnormal observations that fail the check are blocked from entering the matrix update process, thus preventing jumps caused by abnormal data directly participating in the update from the source. Furthermore, based on the valid check, after determining the translation and rotation observations based on the global absolute positioning data and local pose, the translation vector and rotation quaternion are smoothed to obtain the updated translation vector and rotation quaternion, instead of directly replacing the original values. This suppresses the abruptness of the matrix update and the sudden change in pose. Finally, the updated transformation matrix is ​​determined based on the smoothed translation vector and rotation quaternion, so that the global pose determined by the updated transformation matrix can change continuously and smoothly, thus matching the continuous and smooth output state of the local pose. This solves the problems of abrupt matrix update, sudden change in pose, jitter and jump in global pose results and inability to match the continuous and smooth output state of local pose in existing transformation matrix update methods.

[0010] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0011] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0012] Figure 1 This is a flowchart of a transformation matrix update method provided in Embodiment 1 of the present invention; Figure 2 This is a schematic diagram of a transformation matrix update device provided in Embodiment 2 of the present invention; Figure 3 This is a schematic diagram of the structure of an electronic device provided in Embodiment 3 of the present invention. Detailed Implementation

[0013] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0014] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0015] Example 1 Figure 1 This is a flowchart of a transformation matrix update method provided in Embodiment 1 of the present invention. This embodiment is applicable to updating the transformation matrix from a local moving coordinate system to a global coordinate system. The method can be executed by a transformation matrix update device, which can be implemented in hardware and / or software and can be configured in an electronic device. Figure 1 As shown, the method includes: S110. Real-time acquisition of global absolute positioning data, local pose, and transformation matrix of the mobile carrier; wherein, the transformation matrix includes translation vectors and rotation quaternions.

[0016] In this embodiment, the mobile carrier is an intelligent platform with autonomous or controlled mobility, capable of performing transportation or operational tasks in a corresponding space environment. In one embodiment, the mobile carrier includes at least one of autonomous vehicles, mobile robots, automated guided vehicles, unmanned aerial vehicles, and unmanned ships. Global absolute positioning data refers to the raw observation data output by global absolute positioning observation sources (such as Global Navigation Satellite System (GNSS), map feature matching, laser point cloud matching, and visual landmark matching, etc.). It serves as the input source for updating the transformation matrix and is only used for iteratively updating the transformation matrix, without participating in the estimation or correction of local pose. Global absolute positioning data includes at least one of GNSS data, map feature matching data, laser point cloud matching data, and visual landmark matching data. Local pose is the pose result of the mobile carrier relative to a fixed origin in a local motion coordinate system, containing position and attitude components; it is obtained only from pose estimation of relative motion data, does not incorporate global absolute positioning data, possesses continuous and smooth characteristics, and is directly supplied for the motion control of the mobile carrier. Relative motion data refers to sensor data collected by sensors that are used to perceive the relative motion state of the mobile vehicle itself and do not rely on an external absolute positioning reference. This includes, but is not limited to, inertial measurement data, wheel speed odometer data, visual odometry data, and lidar odometry data. In practical applications, the appropriate relative motion data can be adapted according to the type of mobile vehicle and the application scenario. For example, for wheeled mobile robots and automated guided vehicles, inertial measurement data and wheel speed odometer data can be used; for indoor service robots, lidar odometry data or visual odometry data can be used; for unmanned aerial vehicles and unmanned ships, inertial measurement data combined with visual odometry data or Doppler velocity measurement data can be used.

[0017] A transformation matrix is ​​used to characterize the coordinate transformation relationship between the local motion coordinate system and the global coordinate system, enabling coordinate mapping from local pose to global pose. This transformation matrix is ​​iteratively updated based on global absolute positioning data to compensate for the cumulative drift of the local motion coordinate system caused by relative motion integration. In some embodiments, the transformation matrix is ​​a transformation matrix from the local motion coordinate system to the global coordinate system, where the global coordinate system is either the East-North-Earth (ENU) coordinate system or the world coordinate system. Further, the global coordinate system and global absolute positioning data can be adapted according to the application scenario. For example, outdoor scenarios use the ENU coordinate system, while indoor scenarios use a preset world coordinate system; global absolute positioning data is adapted synchronously, with outdoor scenarios primarily using Global Navigation Satellite System (GNSS) data and indoor scenarios primarily using laser point cloud matching or visual landmark matching data. The transformation matrix includes translation vectors and rotation quaternions, where the translation vector represents the vector component indicating the position of the origin of the local motion coordinate system in the global coordinate system. The rotation quaternion represents the quaternion component indicating the attitude transformation relationship from the local motion coordinate system to the global coordinate system.

[0018] Specifically, it receives global absolute positioning data output from the global absolute positioning observation source in real time; obtains the local pose at the current moment estimated from the relative motion data; reads the currently maintained transformation matrix and extracts the translation vector and rotation quaternion from it.

[0019] S120. Every preset update cycle, if the global absolute positioning data passes the rationality check, determine the translation observation value and the rotation observation value based on the global absolute positioning data and the local pose.

[0020] In this embodiment, the preset update period is a pre-configured time interval for iterative updates of the transformation matrix. In some embodiments, the update frequency corresponding to the preset update period is lower than the estimation frequency of the local pose. For example, the transformation matrix is ​​updated at a frequency of 1-5 Hz, while the local pose is estimated at a frequency of 100 Hz to reduce the disturbance of global observation noise on the transformation matrix update. Translation observations are obtained based on global absolute positioning data and local pose calculations, and are the observation inputs used to smoothly update the translation vector of the transformation matrix. Rotation observations are obtained based on global absolute positioning data and local pose calculations, and are the observation inputs used to smoothly update the rotation quaternions of the transformation matrix.

[0021] Specifically, whenever a preset update cycle arrives, the global absolute positioning data is first checked for reasonableness. If the global absolute positioning data passes the reasonableness check, the translation and rotation observations are calculated based on the global absolute positioning data and the local pose, respectively, and used as inputs for subsequent smoothing of the transformation matrix. It should be noted that this embodiment does not limit the specific calculation method for the translation and rotation observations.

[0022] S130. Based on the translation observation and the rotation observation, the translation vector and the rotation quaternion are smoothed to obtain the updated translation vector and the updated rotation quaternion.

[0023] Specifically, based on translation observations, a preset first smoothing algorithm is used to smooth the translation vector to obtain an updated translation vector; based on rotation observations, a preset second smoothing algorithm is used to smooth the rotation quaternion to obtain an updated rotation quaternion. The preset first and second smoothing algorithms can be set according to actual needs.

[0024] S140. Based on the updated translation vector and the updated rotation quaternion, determine the updated transformation matrix.

[0025] Specifically, the updated translation vectors and updated rotation quaternions obtained after their independent smoothing processes are combined to form the updated transformation matrix from the local motion coordinate system to the global coordinate system. This updated transformation matrix is ​​used to convert the local pose to the global pose in subsequent time steps, thereby continuously compensating for the cumulative drift of the local motion coordinate system caused by the relative motion integral.

[0026] The technical solution provided in Embodiment 1 of this invention acquires the global absolute positioning data, local pose, and transformation matrix of a mobile carrier in real time. The transformation matrix includes a translation vector and a rotation quaternion. At preset update intervals, assuming the global absolute positioning data passes a reasonableness check, translation and rotation observations are determined based on the global absolute positioning data and the local pose. Based on the translation and rotation observations, the translation vector and the rotation quaternion are smoothed to obtain updated translation vectors and updated rotation quaternions. Based on the updated translation vectors and updated rotation quaternions, an updated transformation matrix is ​​determined. By performing a validity check on the global absolute positioning data before updating, abnormal observations that fail the check are blocked from entering the matrix update process, thus preventing jumps caused by abnormal data directly participating in the update from the source. Furthermore, based on the valid check, after determining the translation and rotation observations based on the global absolute positioning data and local pose, the translation vector and rotation quaternion are smoothed to obtain the updated translation vector and rotation quaternion, instead of directly replacing the original values. This suppresses the abruptness of the matrix update and the sudden change in pose. Finally, the updated transformation matrix is ​​determined based on the smoothed translation vector and rotation quaternion, so that the global pose determined by the updated transformation matrix can change continuously and smoothly, thus matching the continuous and smooth output state of the local pose. This solves the problems of abrupt matrix update, sudden change in pose, jitter and jump in global pose results and inability to match the continuous and smooth output state of local pose in existing transformation matrix update methods.

[0027] In some embodiments, the step of smoothing the translation vector and the rotation quaternion based on the translation observations and the rotation observations to obtain updated translation vectors and updated rotation quaternions includes: performing first-order low-pass filtering on the translation vector based on the translation observations to obtain updated translation vectors; and performing spherical linear interpolation on the rotation quaternion based on the rotation observations to obtain updated rotation quaternions.

[0028] Specifically, based on the translation observations, a first-order low-pass filter is applied to the translation vector to obtain the updated translation vector. The corresponding first-order low-pass filter update formula is: in, The updated translation vector, This is the translation vector obtained from the current observation (i.e., the translation observation value). This is the translation vector updated in the previous time step (i.e., the translation vector before the current time step update). These are the filter coefficients, with values ​​ranging from 0.001 to 0.1. For example, Set the value to 0.01; this coefficient can be adjusted within the range of 0.001 to 0.1 depending on the actual scenario. The smaller the value, the stronger the smoothing effect, but the slower the translation and update.

[0029] Based on the rotated observations, the rotated quaternion is processed by spherical linear interpolation (SLERP) to obtain the updated rotated quaternion. The corresponding spherical linear interpolation update formula is as follows: in, For the updated rotation quaternion, This is the rotation quaternion obtained from the current observation (i.e., the rotation observation value). This is the rotation quaternion updated at the previous time step (i.e., the rotation quaternion before the current time step update). These are interpolation coefficients, ranging from 0.001 to 0.1. For example, Set the value to 0.01; this coefficient can be adjusted within the range of 0.001 to 0.1 depending on the actual scenario. The smaller the value, the smoother the rotation transition. Spherical linear interpolation allows the rotation quaternion to complete the interpolation transition along the shortest rotation path with a constant angular velocity, avoiding the abrupt angle changes caused by ordinary linear interpolation and ensuring continuous and smooth global attitude.

[0030] By applying first-order low-pass filtering to the translation vector and spherical linear interpolation to the rotation quaternion, position jumps and attitude changes are suppressed respectively, making the translation and rotation updates of the transformation matrix continuous and stable.

[0031] In some embodiments, the filter coefficients of the first-order low-pass filtering process and the interpolation coefficients of the spherical linear interpolation process are set independently.

[0032] By setting the filter coefficients of the first-order low-pass filter and the interpolation coefficients of the spherical linear interpolation independently, the update speed of the translation vector and the update speed of the rotation quaternion can be adjusted separately to adapt to the different requirements of position tracking and attitude stability in different scenarios, and to avoid the two from being neglected due to sharing the same coefficient.

[0033] In some embodiments, the rationality test includes the following test items: whether the number of satellites meets the satellite number threshold; whether the accuracy factor meets the accuracy factor threshold; whether the deviation between the observed position of the global absolute positioning data and the predicted position determined based on the transformation matrix meets the deviation threshold; whether the matching score of the matching data meets the score threshold; when all the test items performed meet the corresponding thresholds, the global absolute positioning data is determined to pass the rationality test.

[0034] In this embodiment, the satellite number threshold, accuracy factor threshold, deviation threshold, and score threshold are all pre-set judgment thresholds used to quantitatively screen the validity of global absolute positioning data. For example, the satellite number threshold is 10, the accuracy factor threshold is 2.0, the deviation threshold is 5m, and the matching score threshold is 0.8. The corresponding judgment rules are: when the number of satellites is greater than 10, the satellite number threshold is met; when the accuracy factor (such as the horizontal dilution of precision (HDOP)) is less than 2.0, the accuracy factor threshold is met; when the deviation between the observed position of the global absolute positioning data and the predicted position determined based on the transformation matrix is ​​less than 5m, the deviation threshold is met; when the matching score of the matching data is greater than 0.8, the score threshold is met. All the executed inspection items can be understood as all the inspection items that are enabled and participate in the judgment in each cycle of the rationality inspection process; one or more of them can be enabled according to the actual application scenario. Only when all the currently enabled inspection items meet their respective threshold conditions is the global absolute positioning data determined to pass the rationality inspection. For example, in outdoor GNSS scenarios, satellite count verification and accuracy factor verification can be enabled; in indoor laser point cloud matching or visual landmark matching scenarios, matching score verification and observation position deviation verification can be enabled. It is not necessary to force the activation of all four verification items; it is only necessary to ensure that all currently enabled verification items meet their corresponding thresholds. Furthermore, the matching data can include map feature matching data, laser point cloud matching data, and visual landmark matching data.

[0035] For example, at each preset update cycle, a rationality check process for the current global absolute positioning data is initiated. The global absolute positioning data is checked sequentially or in parallel for satellite quantity verification, accuracy factor verification, position deviation verification, and matching score verification, with each currently enabled verification item being tested individually. Specifically, the matching score verification is performed on the matching data, determining whether the map feature matching score, laser point cloud matching score, or visual landmark matching score reaches the corresponding score threshold. It is then determined whether the detection results of all enabled verification items meet their respective preset threshold conditions. If all verification items meet the criteria, the current global absolute positioning data is deemed valid and passes the rationality check, participating in subsequent translation and rotation observation calculation steps. If any enabled verification item fails to meet its corresponding threshold condition, the current global absolute positioning data is deemed abnormal and fails the rationality check; the current global absolute positioning data is discarded, and the transformation matrix update process for this cycle is not executed.

[0036] By performing multi-dimensional rationality checks on the global absolute positioning data, abnormal observations are blocked from the matrix update process, thus preventing abnormal data from directly participating in the update and causing global pose jumps.

[0037] Example 2 Figure 2 This is a schematic diagram of a transformation matrix update device provided in Embodiment 2 of the present invention. Figure 2 As shown, the device includes: The data acquisition module 21 is used to acquire the global absolute positioning data, local pose, and transformation matrix of the mobile carrier in real time; wherein, the transformation matrix includes translation vectors and rotation quaternions; The observation determination module 22 is used to determine translational and rotational observations based on the global absolute positioning data and the local pose, at preset update cycles, provided that the global absolute positioning data has passed the rationality check. The smoothing module 23 is used to smooth the translation vector and the rotation quaternion based on the translation observation and the rotation observation, respectively, to obtain the updated translation vector and the updated rotation quaternion; The matrix update module 24 is used to determine the updated transformation matrix based on the updated translation vector and the updated rotation quaternion.

[0038] The technical solution provided in Embodiment 2 of this invention, by performing a rationality check on the global absolute positioning data before updating, blocks abnormal observations that fail the check from entering the matrix update process, thus avoiding the jumps caused by abnormal data directly participating in the update from the source. Furthermore, based on the successful check, after determining the translation and rotation observations based on the global absolute positioning data and local pose, the translation vector and rotation quaternion are smoothed to obtain the updated translation vector and rotation quaternion, instead of directly replacing the original values, thereby suppressing the abruptness of the matrix update and the sudden change in pose. Finally, the updated transformation matrix is ​​determined based on the smoothed translation vector and rotation quaternion, so that the global pose determined based on the updated transformation matrix can change continuously and smoothly, thus matching the continuous and smooth output state of the local pose. This solves the problems of abrupt matrix updates, sudden changes in pose, jitter and jumps in the global pose result, and inability to match the continuous and smooth output state of the local pose in existing transformation matrix update methods.

[0039] Optionally, the smoothing module 23 includes: The vector update unit is used to perform a first-order low-pass filtering on the translation vector based on the translation observation to obtain the updated translation vector. The quaternion update unit is used to perform spherical linear interpolation on the rotated quaternion based on the rotated observations to obtain the updated rotated quaternion.

[0040] Optionally, the filter coefficients of the first-order low-pass filtering process and the interpolation coefficients of the spherical linear interpolation process are set independently.

[0041] Optionally, the update frequency corresponding to the preset update period is lower than the estimated frequency of the local pose.

[0042] Optionally, the rationality check includes the following check items: Does the number of satellites meet the satellite number threshold? Does the precision factor meet the precision factor threshold? Whether the deviation between the observed position of the global absolute positioning data and the predicted position determined based on the transformation matrix meets the deviation threshold; Does the matching score of the matched data meet the score threshold? When all the performed tests meet the corresponding thresholds, the global absolute positioning data is determined to have passed the rationality test.

[0043] Optionally, the transformation matrix is ​​a transformation matrix from a local moving coordinate system to a global coordinate system, wherein the global coordinate system is a north-north sky coordinate system or a world coordinate system.

[0044] The transformation matrix update apparatus provided in this embodiment of the invention can execute the transformation matrix update method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method.

[0045] Example 3 Figure 3 This is a schematic diagram of an electronic device provided in Embodiment 3 of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0046] like Figure 3As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0047] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0048] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as transformation matrix update methods.

[0049] In some embodiments, the transformation matrix update method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or mounted on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the transformation matrix update method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the transformation matrix update method by any other suitable means (e.g., by means of firmware).

[0050] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0051] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0052] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0053] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0054] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0055] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0056] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0057] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

[0058] This invention also provides a computer program product, including a computer program and / or instructions, which, when executed by a processor, implements the transformation matrix update method provided in any embodiment of this application.

[0059] In implementing the computer program product, computer program code for performing the operations of this invention can be written in one or more programming languages ​​or a combination thereof. Programming languages ​​include object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0060] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.

Claims

1. A transformation matrix update method, characterized in that, include: Real-time acquisition of global absolute positioning data, local pose, and transformation matrix of the mobile carrier; wherein the transformation matrix includes translation vectors and rotation quaternions; Every preset update cycle, if the global absolute positioning data passes the rationality check, translation observations and rotation observations are determined based on the global absolute positioning data and the local pose. Based on the translation observations and the rotation observations, the translation vector and the rotation quaternion are smoothed to obtain the updated translation vector and the updated rotation quaternion. Based on the updated translation vector and the updated rotation quaternion, the updated transformation matrix is ​​determined.

2. The method according to claim 1, characterized in that, The step of smoothing the translation vector and the rotation quaternion based on the translation and rotation observations to obtain updated translation vectors and updated rotation quaternions includes: Based on the translation observations, the translation vector is subjected to a first-order low-pass filter to obtain the updated translation vector. Based on the rotation observations, the rotation quaternion is subjected to spherical linear interpolation to obtain the updated rotation quaternion.

3. The method according to claim 2, characterized in that, The filter coefficients of the first-order low-pass filter are set independently of the interpolation coefficients of the spherical linear interpolation.

4. The method according to claim 1, characterized in that, The update frequency corresponding to the preset update cycle is lower than the estimated frequency of the local pose.

5. The method according to claim 1, characterized in that, The reasonableness test includes the following test items: Does the number of satellites meet the satellite number threshold? Does the precision factor meet the precision factor threshold? Whether the deviation between the observed position of the global absolute positioning data and the predicted position determined based on the transformation matrix meets the deviation threshold; Does the matching score of the matched data meet the score threshold? When all the performed tests meet the corresponding thresholds, the global absolute positioning data is determined to have passed the rationality test.

6. The method according to claim 1, characterized in that, The transformation matrix is ​​a transformation matrix from the local moving coordinate system to the global coordinate system, wherein the global coordinate system is the northeast-sky coordinate system or the world coordinate system.

7. A transformation matrix update device, characterized in that, include: The data acquisition module is used to acquire the global absolute positioning data, local pose, and transformation matrix of the mobile carrier in real time; wherein, the transformation matrix includes translation vectors and rotation quaternions; The observation determination module is used to determine translational and rotational observations based on the global absolute positioning data and the local pose, at preset update cycles, provided that the global absolute positioning data has passed the rationality check. A smoothing module is used to smooth the translation vector and the rotation quaternion based on the translation observation and the rotation observation, respectively, to obtain the updated translation vector and the updated rotation quaternion; The matrix update module is used to determine the updated transformation matrix based on the updated translation vector and the updated rotation quaternion.

8. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the transformation matrix update method according to any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the transformation matrix update method according to any one of claims 1-6.

10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the transformation matrix update method according to any one of claims 1-6.