Matrix operation system, matrix operation method, satellite navigation method, and storage medium

By designing a matrix operation accelerator and a floating-point operation unit array in the positioning and navigation system, performing pipeline calculations and optimizing storage management, the problems of low efficiency and high cost of large-dimensional matrix operations in the existing technology are solved, and efficient positioning calculations are achieved.

CN118860337APending Publication Date: 2024-10-29SHANGHAI HUACE NAVIGATION TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411002457.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-07-25
Filing Date
2024-07-25
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

When the existing positioning and navigation system performs large-dimensional matrix operations, it takes up a lot of CPU computing power and bus bandwidth, resulting in low efficiency and high cost, and cannot meet a variety of positioning and navigation needs.

Method used

A matrix operation system is designed, including a matrix operation accelerator, a bus and a processor. A floating-point operation unit array is set up in the matrix operation accelerator, matrix operations are performed through pipeline computing, and the target matrix and calculation data are stored in the internal memory respectively, using Shared resource pool mode schedules memory to reduce storage requirements.

Benefits of technology

It improves the efficiency of matrix operations and the performance of positioning calculations, reduces computing costs, and improves the efficiency of the positioning and navigation system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118860337A_ABST
    Figure CN118860337A_ABST
Patent Text Reader

Abstract

The invention provides a matrix operation system, a matrix operation method, a satellite navigation method and a storage medium, and relates to the technical field of positioning navigation. The system comprises a matrix operation accelerator, a bus, a processor and an internal memory arranged in the matrix operation accelerator, the bus is connected with the matrix operation accelerator and the processor; a floating point operation unit array is arranged in the matrix operation accelerator; the processor is used for issuing a target task needing to be executed for the matrix operation accelerator to process; and the matrix operation accelerator is used for performing pipeline calculation on the target matrix of the target task based on the floating point operation unit array to obtain calculation data. According to the invention, pipeline calculation is carried out on the matrix operation task through the floating point operation unit array arranged in the matrix operation accelerator, and data of each stage are respectively stored in the corresponding internal memory, so that the cost of matrix operation can be reduced, the efficiency of matrix operation can be improved, and the working efficiency of the positioning navigation system can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application number 2023109255522, filed with the Chinese Patent Office on July 25, 2023, and entitled “Matrix operation system, matrix operation method, satellite navigation method and storage medium”, the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The present application relates to the field of positioning and navigation technology, and in particular to a matrix operation system, a matrix operation method, a satellite navigation method and a storage medium. Background Art

[0004] Due to the diversity of application scenarios, when performing positioning and navigation, the positioning and navigation systems used in different application scenarios are also different. For example, satellite positioning and navigation systems, inertial positioning and navigation systems, visual positioning and navigation systems, radio positioning and navigation systems, integrated positioning and navigation systems, and positioning and navigation systems in specific fields can be used to provide users with positioning and navigation services. Various types of positioning and navigation systems require matrix operations to provide corresponding positioning and navigation services. Taking the satellite positioning and navigation system as an example, the satellite positioning and navigation system is a system composed of radio frequency, baseband, various sensors, and positioning algorithms. Each device can input the collected data into the positioning algorithm. The positioning algorithm integrates the satellite positioning information from the baseband and the input of the above sensors to obtain high-reliability positioning and navigation information and transmit it to downstream devices. When performing positioning calculations, it is usually designed by an embedded processor architecture based on a system on chip (SOC) method. It integrates a complete microelectronic circuit system consisting of components such as a general-purpose processor core, an auxiliary core, a data bus, a storage device, an execution device, a general interface, a power management system, and a sensor on a chip. In addition, around the embedded processor chip, we carry out driver underlying software development, upper-level business application software development, and supporting hardware PCB circuit board development to realize the positioning function.

[0005] In existing processor chips, a general-purpose processor is usually used to access a dedicated storage system through its bus. The storage system stores the operand matrix to be processed and the result matrix after the matrix operation. The general-purpose processor completes the operation of each step in the matrix operation. However, this method is only suitable for business scenarios with simple calculations. For large-dimensional matrix operations, it takes up more CPU computing power and bus bandwidth, has low matrix operation performance, and has large computing power consumption and chip area. As a result, the current positioning and navigation system has low efficiency and high cost when performing positioning calculations, and cannot meet a variety of positioning and navigation needs. Summary of the invention

[0006] In view of this, the purpose of the embodiments of the present application is to provide a matrix operation system, a matrix operation method, a satellite navigation method and a storage medium to improve the problems of low positioning calculation efficiency and high cost in the prior art.

[0007] In order to solve the above problems, in a first aspect, an embodiment of the present application provides a matrix operation system, the system comprising: a matrix operation accelerator, a bus, a processor, and an internal memory arranged inside the matrix operation accelerator;

[0008] The bus connects the matrix operation accelerator and the processor;

[0009] The matrix operation accelerator is provided with a floating point operation unit array;

[0010] The processor is used to send the target task to be executed for the matrix operation accelerator to process;

[0011] The matrix operation accelerator is used to perform pipeline calculation on the target matrix of the target task based on the floating-point operation unit array to obtain calculation data;

[0012] The internal memory is used to store the target matrix and the calculation data respectively.

[0013] In the above implementation process, a floating-point operation unit array supporting multiple operations is set in the matrix operation accelerator, so as to perform pipeline calculation on the target matrix of the target task of the received matrix operation based on the floating-point operation unit array, and the matrix data of each stage and the calculated data are respectively stored in the corresponding internal memory. There is no need to set up a complex or large processing chip for matrix operation, and the cost of matrix operation can be reduced and the efficiency of matrix operation can be improved through floating-point calculation. It is suitable for processing matrix operation tasks of multiple dimensions, and the storage entity is scheduled in a shared resource pool mode, which effectively saves the number of blocks and capacity requirements of the memory, improves the performance of the matrix operation accelerator, improves the efficiency of positioning calculation, and reduces the calculation cost of positioning calculation, thereby improving the working efficiency of the positioning navigation system.

[0014] Optionally, the setting parameters of the floating-point operation unit array are determined according to the operation requirements of the matrix operation; wherein the setting parameters include: operator type and at least one of the number of parallelism, number of pipeline stages and dimensional information.

[0015] In the above implementation process, in order to realize a variety of different computing functions and be applicable to matrix calculations of multiple dimensions, one or more parameter information such as the operator type, the number of parallelism, the number of pipeline stages, and the dimension information of the floating-point operation unit array can be determined according to the computing requirements of the matrix operation in the actual application scenario, so as to set the corresponding floating-point operation unit array. The floating-point operation unit array with higher computing performance can be set for calculation at a low cost, which effectively improves the efficiency of matrix operation and is applicable to processing a variety of different types of matrix operation tasks.

[0016] Optionally, the calculation data includes: intermediate data and result data;

[0017] The matrix operation accelerator specifically obtains the target matrix of the target task currently being executed; splits the target matrix based on the floating-point operation unit array to obtain one or more split matrices and / or one or more operation row-column vectors; performs pipeline calculations on one or more split matrices and / or one or more operation row-column vectors based on the floating-point operation unit array to obtain the intermediate data; based on the floating-point operation unit array and the corresponding operator type, calls all the intermediate data to perform combined operations to obtain the result data.

[0018] In the above implementation process, when performing matrix operations, the target matrix of large dimensions can be split to obtain one or more small split matrices and / or one or more operation row and column vectors, so as to perform pipeline calculations on one or more split matrices and / or one or more operation row and column vectors based on the floating-point operation unit array to obtain multiple intermediate data to be used, and then the intermediate data are combined according to the floating-point operation unit array and the corresponding operator type to obtain the result data after the target matrix is ​​calculated. The target matrix of large dimensions can be split into one or more small-dimensional matrices and / or one or more operation row and column vectors for calculation, and pipeline calculation is used to improve the efficiency of calculation, which is suitable for matrix operations of various dimensions.

[0019] Optionally, the internal memory includes: a first type of memory, a second type of memory and a third type of memory;

[0020] The first type of memory is used to store the target matrix;

[0021] The second type of memory is used to store the intermediate data;

[0022] The third type of memory is used to store the result data.

[0023] In the above implementation process, since the original target matrix needs to be called for calculation during the matrix operation accelerator to perform matrix operations, and the corresponding intermediate data and result data can be calculated, in order to improve the reading efficiency of each type of data during the operation, the data of each stage can be stored separately, and multiple types of data can be stored in corresponding types of internal memories respectively, so that when the data needs to be read, there is no need to pre-process it before reading, and the required data can be directly read from the corresponding internal memory, which effectively improves the efficiency of internal storage arbitration and access of the matrix operation accelerator, thereby improving the efficiency of matrix operations.

[0024] Optionally, the system further includes: an external memory, and the internal memory further includes: a fourth type of memory; the external memory is connected to the matrix operation accelerator and the processor via a bus;

[0025] The external memory is used to store the operand matrix of the unstarted tasks;

[0026] In the case where the matrix operation accelerator calculates the target matrix, the fourth type of memory is used to store the operand matrix of the next one or more subsequent tasks to be executed pre-read by the matrix operation accelerator from the external memory;

[0027] The matrix operation accelerator is used to move the result data stored in the third type of memory to the external memory.

[0028] In the above implementation process, since there are multiple matrix operation tasks, an external memory connected to the matrix operation accelerator and the processor can be set to store the operand matrices of multiple tasks. In addition, since each matrix operation task needs to read the corresponding data for calculation, in order to reduce the waiting time and data reading time of the subsequent tasks, the internal memory can also include a fourth type of memory. When the matrix operation accelerator calculates the current target task, the matrix operation accelerator can pre-read the operand matrix of the next one or more subsequent tasks to be executed from the external memory in advance, and store the operand matrix in the fourth type of memory, and the matrix operation accelerator can also move the result data stored in the third type of memory to the external memory for processing, so as to ensure efficient pipeline processing between matrix operation tasks and improve the execution efficiency of matrix operation tasks.

[0029] Optionally, the matrix operation accelerator is further provided with a state machine and a management module; the state machine is connected to the management module, and the management module is connected to each of the internal memories;

[0030] The state machine is used to apply for storage requirements from the management module according to the target task;

[0031] The management module is used to determine the type of each of the internal memories according to the storage requirements, and the current storage status and remaining storage space of each of the internal memories.

[0032] In the above implementation process, in order to realize the classified storage of various data, a state machine and a management module can also be set in the matrix operation accelerator. The state machine can make storage requests according to the actual situation of the target task, and the management module can determine the storage type of each internal memory according to the storage requirements, the current storage status of the internal memory and the remaining storage space. That is, the type of the internal memory is variable to meet the actual computing requirements of different matrix operation tasks and is suitable for a variety of computing scenarios.

[0033] Optionally, the number of the internal memories is greater than or equal to 4, and the capacity of each of the internal memories is greater than or equal to the matrix capacity of the maximum matrix of the matrix operation.

[0034] In the above implementation process, in order to store the data completely and effectively, the number of internal memories can be greater than or equal to 4 to ensure that there is at least one internal memory of each type, and the capacity of the internal memory is set so that the internal memory can store the matrix data completely.

[0035] In a second aspect, an embodiment of the present application further provides a matrix operation method, which is applied to a matrix operation system, wherein the system comprises: a matrix operation accelerator, a bus, a processor, and an internal memory arranged inside the matrix operation accelerator; the bus connects the matrix operation accelerator and the processor; a floating point operation unit array is arranged in the matrix operation accelerator;

[0036] Sending the target task to be executed by the processor for processing by the matrix operation accelerator;

[0037] Perform pipeline calculation on the target matrix of the target task based on the floating-point operation unit array by a matrix operation accelerator to obtain calculation data;

[0038] The target matrix and the calculated data are stored separately in an internal memory.

[0039] In the above implementation process, the processor sends the target task to the matrix operation accelerator for execution, and the floating-point operation unit array supporting multiple operations set in the matrix operation accelerator performs pipeline calculations on the target matrix of the received matrix operation target task, and the matrix data of each stage and the calculated data are stored in the corresponding internal memory respectively.

[0040] Optionally, the target task is obtained in the following manner:

[0041] Acquire acquisition information through the processor; wherein the acquisition information includes: at least one of satellite positioning information, inertial motion information, image information, and wireless information;

[0042] The target task for performing positioning calculation is determined by the processor based on the collected information.

[0043] In the above implementation process, the target task for positioning calculation can be determined by the processor. The target task can be the target task for positioning calculation in various different types of positioning and navigation systems such as satellite positioning and navigation systems, inertial positioning and navigation systems, visual positioning and navigation systems, radio positioning and navigation systems, integrated positioning and navigation systems, and positioning and navigation systems in other specific fields. Therefore, the processor can respectively obtain the collection information collected by the corresponding sensors or collection devices in various different types of positioning and navigation systems, and determine one or more task queues for positioning calculation based on the collection information, and each task queue can include multiple target tasks for matrix operations. It can be applied to various different types of positioning and navigation systems to effectively optimize various types of navigation and positioning algorithms based on matrix operations.

[0044] Optionally, the method further comprises:

[0045] The matrix operation accelerator moves the result data of the calculation data stored in the internal memory to the external memory for processing;

[0046] The processor calls the result data stored in the external memory for processing to obtain positioning and navigation information.

[0047] In the above implementation process, the matrix operation accelerator moves the result data of the calculation data stored in the internal processor to the external memory, so that the processor calls the result data stored in the external memory to analyze and obtain the corresponding positioning and navigation information in various different types of positioning and navigation systems. There is no need to set up a complex or large processing chip for matrix operation, and the cost of matrix operation can be reduced and the efficiency of matrix operation can be improved through floating-point calculation. It is suitable for processing matrix operation tasks of various dimensions, and the storage entity is scheduled in a shared resource pool mode, which effectively saves the number of memory blocks and capacity requirements, improves the performance of the matrix operation accelerator, improves the efficiency of positioning calculation, and reduces the calculation cost of positioning calculation, thereby improving the work efficiency of various types of positioning and navigation systems.

[0048] In a third aspect, an embodiment of the present application further provides a satellite navigation method, the method comprising:

[0049] Determine, by a processor, a target task for performing positioning calculation based on the collected and generated satellite positioning information and / or sensor information;

[0050] The target task to be executed is sent by the processor to the matrix operation accelerator for processing; wherein the matrix operation accelerator is provided with a floating point operation unit array;

[0051] Perform pipeline calculation on the target matrix of the target task based on the floating-point operation unit array by the matrix operation accelerator to obtain calculation data;

[0052] The target matrix and the calculation data are stored respectively in an internal memory inside the matrix operation accelerator;

[0053] The matrix operation accelerator moves the result data of the calculation data stored in the internal memory to the external memory for processing;

[0054] The processor calls the result data stored in the external memory for processing to determine the satellite positioning navigation information.

[0055] In the above implementation process, the target task for positioning calculation is determined by the processor, and the matrix operation accelerator provided with a floating-point operation unit array is scheduled to execute the current target task. During execution, the target matrix of the target task can be pipelined based on the floating-point operation unit array to obtain corresponding calculation data, and the calculation data and the target matrix are respectively stored in different internal memories, and the matrix operation accelerator moves the result data of the calculation data stored in the internal processor to the external memory, so as to obtain the corresponding satellite positioning navigation information by the processor calling the result data stored in the external memory. There is no need to set up a complex or large processing chip for matrix operation, and the cost of matrix operation can be reduced and the efficiency of matrix operation can be improved through floating-point calculation. It is suitable for processing matrix operation tasks of multiple dimensions, and the storage entity is scheduled in a shared resource pool mode, which effectively saves the number of blocks and capacity requirements of the memory, improves the performance of the matrix operation accelerator, improves the efficiency of positioning calculation, and reduces the calculation cost of positioning calculation, thereby improving the working efficiency of the satellite positioning navigation system.

[0056] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, in which computer program instructions are stored. When the computer program instructions are read and executed by a processor, the steps in any implementation of the above-mentioned matrix operation method or satellite navigation method are executed.

[0057] In summary, the embodiments of the present application provide a matrix operation system, a matrix operation method, a satellite navigation method and a storage medium. By setting a floating-point operation unit array that supports multiple operations in a matrix operation accelerator, the matrix operation tasks are pipelined based on the floating-point operation unit array, and the data of each stage are stored in the corresponding internal memory respectively. This can reduce the cost of matrix operations and improve the efficiency of matrix operations, thereby improving the performance of positioning calculations and improving the working efficiency of the positioning and navigation system. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0059] Figure 1 A schematic diagram of the structure of a matrix operation system provided in an embodiment of the present application;

[0060] Figure 2 A schematic diagram of the architecture of a floating-point arithmetic unit array provided in an embodiment of the present application;

[0061] Figure 3 A schematic diagram of the structure of another matrix operation system provided in an embodiment of the present application;

[0062] Figure 4 A schematic diagram of a flow chart of a matrix operation method provided in an embodiment of the present application;

[0063] Figure 5 A flowchart of another matrix operation method provided in an embodiment of the present application;

[0064] Figure 6 A flowchart of another matrix operation method provided in an embodiment of the present application;

[0065] Figure 7 A flowchart of a satellite navigation method provided in an embodiment of the present application.

[0066] Icons: 110 - matrix operation accelerator; 120 - bus; 130 - internal memory; 140 - processor; 111 - floating point operation unit array; 131 - first type of memory; 132 - second type of memory; 133 - third type of memory; 134 - fourth type of memory; 150 - external memory; 112 - state machine; 113 - management module. DETAILED DESCRIPTION

[0067] The technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments of the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the embodiments of the present application.

[0068] Due to the diversity of application scenarios, when performing positioning and navigation, the positioning and navigation systems used in different application scenarios are also different. For example, satellite positioning and navigation systems, inertial positioning and navigation systems, visual positioning and navigation systems, radio positioning and navigation systems, integrated positioning and navigation systems, and positioning and navigation systems in specific fields and other types of positioning and navigation systems can be used to provide users with positioning and navigation services.

[0069] For example, satellite positioning and navigation systems may include the Global Positioning System, the Beidou Navigation System, and other global navigation satellite systems. By transmitting signals containing satellite position and time information to the surface of the earth, receiving devices on the ground (such as GPS receivers) receive these signals and calculate the signal transmission time based on the signal transmission time and the local reception time. Since the speed at which a signal propagates in a vacuum is constant (i.e., the speed of light), the distance between the satellite and the receiving device can be calculated by the transmission time. Satellite positioning and navigation systems have the characteristics of global coverage, high precision, high real-time performance, and all-day operation, and are suitable for application scenarios in various fields such as transportation, surveying and mapping, military, and disaster detection.

[0070] The inertial positioning and navigation system is an autonomous positioning and navigation system that does not rely on external information and does not radiate energy to the outside. It uses the principle of inertia to measure the acceleration of the carrier in the inertial reference system, integrate it over time, and transform it into the navigation coordinate system to obtain information such as speed, yaw angle, and position in the navigation coordinate system. The inertial positioning and navigation system has the characteristics of autonomy, concealment, and good continuity, and is suitable for a variety of application scenarios with high precision requirements such as military and aviation.

[0071] The visual positioning navigation system can use the image information captured by the camera to determine the relative position and direction of the robot or vehicle in the environment through steps such as image recognition, feature extraction and matching. It may involve the recognition and analysis of landmarks, road signs, obstacles and other elements in the image, and the use of these elements for path planning and obstacle avoidance decisions. The visual positioning navigation system has the characteristics of strong real-time performance and high precision, and is suitable for application scenarios such as autonomous driving, robot navigation, and drones in close-range navigation and obstacle avoidance.

[0072] The radio positioning navigation system is a technology that uses the propagation characteristics of radio waves for navigation and positioning. It includes a variety of specific systems, such as radio compass, "Deka" positioning navigation system, "Omega" positioning navigation system, "Loran-C" positioning navigation system, Doppler positioning navigation system, radar positioning navigation system, etc. The radio positioning navigation system has the characteristics of simple equipment, easy use, and high navigation accuracy. It is suitable for application scenarios with wide coverage and high precision requirements such as aviation, navigation, and land transportation.

[0073] An integrated positioning and navigation system is a combination of two or more positioning and navigation systems based on different principles, which improves the accuracy and reliability of the positioning and navigation system through data processing and fusion technology. The integrated positioning and navigation system can make full use of the advantages of various positioning and navigation systems to improve the overall navigation performance. It is suitable for aviation, military, high-precision applications with high interference or complex environments. For example, the inertial / satellite positioning and navigation system combines the inertial positioning and navigation system with the satellite positioning and navigation system, and achieves high-precision navigation and positioning through data fusion technology.

[0074] Positioning and navigation systems in other specific fields may include positioning and navigation systems in the aviation field that ensure the safe flight and orderly management of aircraft in the air, systems that integrate multiple navigation and flight control functions for aircraft route planning, flight monitoring and navigation, systems that use radio waves to measure the height between the aircraft and the ground, which are mainly used for navigation during low-altitude flight and landing phases, and systems that provide atmospheric environmental parameters around the aircraft (such as air pressure, temperature, wind speed, etc.), etc., which are suitable for environments such as urban canyons and tunnels where GPS signals cannot be covered or are interfered with, as well as application scenarios in special industries such as oil exploration, geological exploration, and agricultural automation.

[0075] Many types of positioning and navigation systems need to perform matrix operations to provide corresponding positioning and navigation services. Taking the satellite positioning and navigation system as an example, the processing chip of the current satellite positioning and navigation system usually uses a general-purpose processor to access a dedicated storage system through its bus. The storage system stores the operand matrix to be processed and the result matrix after the matrix operation. The general-purpose processor completes the operations of each step in the matrix operation. However, this method is only applicable to business scenarios with simple calculations. For large-dimensional matrix operations, it takes up more CPU computing power and bus bandwidth, has low matrix operation performance, and has large computing power consumption and chip area. As a result, the current positioning and navigation system has low efficiency and high cost when performing positioning calculations, and cannot meet a variety of positioning and navigation needs.

[0076] In order to solve the above problems, the present application provides a matrix operation system, which can be set in various types of positioning and navigation systems such as satellite positioning and navigation systems, inertial positioning and navigation systems, visual positioning and navigation systems, radio positioning and navigation systems, integrated positioning and navigation systems, and positioning and navigation systems in specific fields.

[0077] See also Figure 1 , Figure 1 A structural diagram of a matrix operation system provided in an embodiment of the present application, the system may include: a matrix operation accelerator 110, a bus 120, a processor 140 and an internal memory 130 disposed inside the matrix operation accelerator.

[0078] Among them, the bus 120 connects the matrix operation accelerator 110 and the processor 140, and an independent bus interface can be set in the matrix operation accelerator 110 to exchange data with the processor 140 through the bus 120. Different system bus architectures can also be used, which can be split and combined into multiple ports to achieve system-level connections with the same functions. Therefore, the processor 140 in the present application can perform task scheduling but does not perform matrix operations. Compared with the method of using a general-purpose processor to perform matrix operations, it effectively improves the processing performance of the system, saves general computing power costs, reduces the energy consumption required for calculations, and reduces the hardware area and volume.

[0079] It should be noted that the matrix operation accelerator 110 is provided with a floating point operation unit array 111 corresponding to a plurality of algorithms. The matrix operation accelerator 110 can perform pipeline calculations on the target matrix of the received target task based on the floating point operation unit array 111 to obtain calculation data, and the internal memory 130 can store the target matrix and the calculation data respectively. There is no need to set up a complex or large processing chip for matrix operation, and the cost of matrix operation can be reduced and the efficiency of matrix operation can be improved through floating point calculation. It is suitable for processing matrix operation tasks of various dimensions, and the storage entity is scheduled in a shared resource pool mode, which effectively saves the number of blocks and capacity requirements of the memory, improves the performance of the matrix operation accelerator 110, improves the efficiency of positioning calculation, and reduces the calculation cost of positioning calculation, thereby improving the working efficiency of the positioning navigation system.

[0080] Optionally, one or more floating-point operation unit arrays 111 may be provided in the matrix operation accelerator 110, and the floating-point operation unit arrays 111 are connected to the internal memory 130. The floating-point operation unit arrays 111 may adopt a parallel computing architecture, and may complete n floating-point operations within 1 cycle. Each floating-point operation unit array 111 may support single-precision or double-precision floating-point operations, and multiple floating-point operation unit arrays 111 support parallel operations and pipeline operations, and may perform operations continuously for multiple cycles.

[0081] It should be noted that in order to realize a variety of different computing functions and be applicable to matrix calculations of various dimensions, one or more parameter information such as the operator type, number of parallelism, number of pipeline stages, and dimensional information of the floating-point operation unit array 111 can be determined according to the computing requirements of the matrix operations in the actual application scenario, so as to set the corresponding floating-point operation unit array 111.

[0082] Optionally, parameters such as operator type, number of parallelism, number of pipeline stages, and dimension information can be set and modified according to actual computing scenarios and requirements. For example, operator types may include the following five types of operators: (1) Y = A*B; (2) Y = C + A*B; (3) Y = CA*B; (4) Y = A*B*A T ; (5) Y = 1 / A, where A, B, and C can be multiple target matrices corresponding to the target task, respectively, and Y is the result data obtained by calculation. The upper-level software in the positioning and navigation system can schedule 5 types of operators to complete the accelerated calculation of complex matrices. The number of parallelism can be the number of floating-point operations processed when executing a certain operator type. The number of pipeline stages can include the number of intra-task pipelines and inter-task pipelines. The intra-task pipeline includes the process of calling each cycle to perform floating-point operations so that the matrix in the task is split into multiple vector operations according to the dimension and the inter-task pipeline includes the process of calculating between multiple matrix operation tasks so that multiple matrix operations are continuously calculated, thereby improving the calculation efficiency of the task. The dimension information can be the number of dimensions of the matrix when the floating-point operation unit array 111 is calculated in a single time.

[0083] Therefore, the setting parameters of the floating-point operation unit array 111 can be determined according to the operation requirements of the matrix operation; wherein the setting parameters include: operator type and at least one of the number of parallelism, number of pipeline stages and dimension information. The floating-point operation unit array 111 with high operation performance can be set to perform calculations at a low cost, which effectively improves the efficiency of matrix operations and is suitable for processing a variety of different types of matrix operation tasks.

[0084] Due to the different dimensions of the target matrix of the calculation, the calculation data may include intermediate data and result data; the specific calculation process of the matrix operation accelerator 110 may include: obtaining the target matrix of the target task currently being executed; splitting the target matrix based on the floating-point operation unit array 111 to obtain one or more split matrices and / or one or more operation row-column vectors; performing pipeline calculations on one or more split matrices and / or one or more operation row-column vectors based on the floating-point operation unit array 111 to obtain intermediate data; based on the floating-point operation unit array 111 and the corresponding operator type, calling all intermediate data for combined operation to obtain result data. When performing matrix operations, the target matrix of large dimensions may be split to obtain one or more small split matrices and / or one or more operation row-column vectors, thereby performing pipeline calculations on one or more split matrices and / or one or more operation row-column vectors based on the floating-point operation unit array 111 to obtain multiple intermediate data to be used, and then performing combined operations on the intermediate data according to the floating-point operation unit array 111 and the corresponding operator type to obtain result data after the target matrix is ​​calculated. It can split a large-dimensional target matrix into one or more small-dimensional matrices and / or one or more operation row and column vectors for calculation, and use pipeline calculation to improve the efficiency of calculation. It is suitable for matrix operations of various dimensions.

[0085] It should be noted that the multiplication and accumulation structure of the floating point operation unit array 111 can perform vector operations, and the combination of vector operations can support matrix operation types such as matrix multiplication, matrix addition, matrix inversion, matrix multiplication and addition, etc.

[0086] For example, see Figure 2 , Figure 2 A schematic diagram of the architecture of a floating-point operation unit array 111 provided for an embodiment of the present application, taking the multiplication of a 1*4 row vector and a 4*1 column vector as an example, the operator type is Y=A*B, the first row of A*the first column of B is processed with a pipeline operation with a parallelism of 4, and the obtained calculation data includes multiple intermediate data: a11*b11, a12*b21, a13*b31, a14*b41, and result data: a11*b11+a12*b21+a13*b31+a14*b41. For vectors or matrices of other dimensions, hardware logic control can be used to repeatedly call the floating-point operation unit array 111 with a parallelism of 4 to perform pipeline calculations to complete the final complete matrix operation.

[0087] See also Figure 3 , Figure 3 A structural diagram of another matrix operation system provided in an embodiment of the present application, wherein the internal memory 130 may include: a first type of memory 131, a second type of memory 132 and a third type of memory 133.

[0088] Optionally, the matrix operation accelerator 110 can complete data flow control of different matrix operation types, parse different matrix operation types of different dimensions into floating-point row and column vector operations, complete parallel pipeline floating-point operations on multiple floating-point row and column vectors in the floating-point operation unit array 111, and complete the reading and output of parallel data of the operation array based on the requirements of floating-point vector operations (by row / by column). A cache management module can be set in the matrix operation accelerator 110 to control the access of multiple internal memories 130.

[0089] Since the original target matrix needs to be called for calculation during the matrix operation accelerator 110, and the corresponding intermediate data and result data can be calculated, in order to improve the reading efficiency of each type of data during the operation, the data of each stage can be stored separately to ensure the timeliness of access and improve the flow efficiency during the matrix task operation processing, for example: the first type of memory 131 is used to store the target matrix; the second type of memory 132 is used to store the intermediate data; the third type of memory 133 is used to store the result data. Multiple types of data are stored in the corresponding type of internal memory 130 respectively, so that when the data needs to be read, it is not necessary to pre-process it before reading, and the required data can be directly read in the corresponding internal memory 130, which effectively improves the efficiency of internal storage arbitration and access of the matrix operation accelerator 110, thereby improving the efficiency of matrix operation.

[0090] Optionally, since there are multiple matrix operation tasks, an external memory 150 connected to the matrix operation accelerator and the processor can be set to store the operand matrices of multiple unstarted tasks or the result data of completed matrix operation tasks. After the task is started, the matrix operation accelerator 110 can move the operand matrix from the external memory 150 to the internal memory 130 and start the operation. After the operation is completed, the matrix operation accelerator 110 can also write the result data from the internal memory 130 to the external memory 150 for processing. Furthermore, since each matrix operation task needs to read corresponding data for calculation, in order to reduce the waiting time and data reading time of subsequent tasks, the internal memory 130 may also include: a fourth type of memory 134. When the matrix operation accelerator 110 calculates the target matrix, the matrix operation accelerator 110 can pre-read the operand matrix of the next one or more subsequent tasks to be executed from the external memory 150 in advance, and store the operand matrix in the fourth type of memory 134. The operand matrix can be related data such as matrix data of the subsequent task, and the matrix operation accelerator 110 can also move the result data stored in the third type of memory 133 to the external memory 150 for processing, so as to ensure efficient pipeline processing between matrix operation tasks and improve the execution efficiency of matrix operation tasks.

[0091] For example, the first type of memory 131, the second type of memory 132, the third type of memory 133 and the fourth type of memory 134 can all be SRAM (Static Random-Access Memory), and the external memory 150 can be a storage medium with a larger capacity such as SRAM, DDR (Double Data Rate), Flash (flash memory), etc.

[0092] It should be noted that the internal memory 130 can be in a resource pool mode, so the data type stored can be switched, and the type of each internal memory 130 is not fixed, but changeable. Compared with other modes in which the storage data type is relatively fixed, the resource pool mode can effectively save storage resources and has higher storage and reading efficiency. In order to realize the classified storage of multiple data, the matrix operation accelerator 110 can also be provided with a state machine 112 and a management module 113. The state machine 112 can apply for storage requirements to the management module 113 according to the actual situation of the target task to make a storage request. The management module 113 can determine the storage type of each internal memory 130 according to the storage requirements, as well as the current storage state and remaining storage space of each internal memory 130, that is, the type of the internal memory 130 is changeable. Therefore, in the actual use scenario, the internal memory 130 that does not store data can be selected to store the target matrix, intermediate data, result data, operand matrix, etc., and the internal memory 130 with a remaining storage space larger than the data size can also be selected according to the data size of the target matrix, intermediate data, result data, and operand matrix for storage, so as to meet the actual computing requirements of different matrix operation tasks, and is suitable for a variety of computing scenarios.

[0093] Optionally, the state machine 112 can also control the target matrix corresponding to the target task to perform splitting processing to obtain one or more split matrices and / or one or more operation row and column vectors. The state machine 112 can also control the master port (the port on the shortest path among all paths connecting the multiple spanning tree domains and the total root) of the AXI (Advanced eXtensible Interface) of the matrix operation accelerator 110 to realize data interaction between the matrix operation accelerator 110 and the external memory 150.

[0094] It should be noted that in order to store data completely and effectively, each type of internal memory 130 may include one or more, and the number of internal memories 130 is greater than or equal to 4, that is, there is at least one internal memory of each type, and the capacity of the internal memory 130 is also set, and the capacity of each internal memory 130 is greater than or equal to the matrix capacity of the maximum matrix of the matrix operation, so that the internal memory 130 can store the matrix data completely.

[0095] In summary, the matrix operation system provided in the embodiment of the present application has strong applicability, can adapt to product application forms, is not restricted by a fixed architecture, uses a dedicated matrix operation accelerator to implement matrix operations, supports any matrix operation type of a combination of vector multiplication and addition operations, supports a wide range of matrix operation types, and can support a variety of matrix operations that can be equivalently decomposed into vector multiplication and addition operations. Matrix operations are implemented using a floating-point operation unit array 111, support parallel pipeline processing, and effectively improve the computing performance of the matrix operation system.

[0096] See also Figure 4 , Figure 4 A flowchart of a matrix operation method provided in an embodiment of the present application is provided. The matrix operation method is applied to a matrix operation system. The method may include steps S210-S230.

[0097] Step S210: sending the target task to be executed by the processor to the matrix operation accelerator for processing.

[0098] Step S220, performing pipeline calculations on the target matrix of the target task based on the floating-point operation unit array by means of a matrix operation accelerator to obtain calculation data.

[0099] Step S230, storing the target matrix and the calculated data respectively in the internal memory.

[0100] Among them, the target task is sent to the matrix operation accelerator for execution through the processor, and the target matrix of the received target task of matrix operation is pipelined through the floating-point operation unit array supporting multiple operations set in the matrix operation accelerator, and the matrix data of each stage and the calculated data are stored in the corresponding internal memory respectively.

[0101] Since the principle of solving the problem by the matrix operation method in the embodiment of the present application is similar to that in the embodiment of the aforementioned matrix operation system, the implementation of the matrix operation method in this embodiment can refer to the description in the embodiment of the aforementioned matrix operation system, and the repeated parts will not be repeated.

[0102] See also Figure 5 , Figure 5A flowchart of another matrix operation method provided in an embodiment of the present application, the method may further include steps S211-S212.

[0103] Step S211, acquiring collection information through a processor.

[0104] Among them, the matrix operation system can be set in many different types of positioning and navigation systems. Therefore, the matrix operation method can be applied to many different types of positioning and navigation systems, such as satellite positioning and navigation systems, inertial positioning and navigation systems, visual positioning and navigation systems, radio positioning and navigation systems, integrated positioning and navigation systems, and positioning and navigation systems in other specific fields. Many different types of sensors or acquisition devices can be set in many different types of positioning and navigation systems. For example, corresponding positioning satellites can be set in satellite positioning and navigation systems, and many types of inertial sensors can be set in inertial positioning and navigation systems, such as accelerometers (or acceleration sensors) and angular velocity sensors (gyroscopes) and their single-, dual-, and three-axis combinations IMU (Inertial Measurement Unit), AHRS (Attitude and heading reference system, including attitude reference system of magnetic sensors), MEMS (Micro-Electro-Mechanical System, micro-electromechanical system), etc.; various types of visual sensors can be provided in the visual positioning and navigation system, for example, monocular, binocular, multi-eye and RGB-D cameras based on cameras, etc. The visual sensor may include one or two graphic sensors (such as CMOS or CCD semiconductor chips), light sources, lenses, analog / digital converters, graphic processors, graphic memories and other parts, and may also include light projectors and other auxiliary equipment; in the radio positioning and navigation system, taking the radar positioning and navigation system as an example, various types of lidar sensors can be provided, for example, mechanical lidar, solid-state lidar and hybrid solid-state lidar, etc. The lidar sensor may include a laser emitting unit, a receiving unit, a scanning module and related control and signal processing circuits, etc.; the comprehensive positioning and navigation system may include one or more of inertial sensors, visual sensors and lidar sensors to perform comprehensive positioning and navigation processing based on multiple different types of sensors. Therefore, the collection information collected by various types of sensors or collection devices may include: satellite positioning information collected by positioning satellites, inertial motion information collected by inertial sensors, image information collected by visual sensors, three-dimensional information collected by lidar sensors, and the time, phase, amplitude, frequency of radio signal propagation collected by other sensors, as well as the target's direction, distance, speed and other information. The processor can be communicatively connected or electrically connected to various types of sensors or collection devices to obtain the collection information collected by the sensors or collection devices.

[0105] Optionally, in positioning and navigation systems in other specific fields, the collected information may also include flight control information, route information, altitude information, air pressure information, temperature information, wind speed information and other information.

[0106] Step S212: The processor determines a target task for positioning calculation based on the collected information.

[0107] The processor may determine one or more task queues for performing positioning calculations based on the acquired collection information, and each task queue may include multiple target tasks for matrix operations.

[0108] exist Figure 5 In the illustrated embodiment, the matrix operation method can be applied to various types of positioning and navigation systems to effectively optimize various types of navigation and positioning algorithms based on matrix operations.

[0109] See also Figure 6 , Figure 6 A flowchart of another matrix operation method provided in an embodiment of the present application, the method may further include steps S231-S232.

[0110] Step S231, moving the result data of the calculation data stored in the internal memory to the external memory for processing through the matrix operation accelerator.

[0111] Among them, the matrix operation accelerator moves the result data of the calculation data stored in the internal processor to the external memory. The matrix operation accelerator can notify the processor of the change of the execution status of the task based on the interrupt reporting method, and can also obtain the change of the task execution status through the processor's periodic query method. After the matrix operation accelerator completes the processing of the matrix operation task, the internal memory can write the calculated processing data into the external memory, so that the processor can read the processing data stored in the external memory for processing, or send new tasks to be scheduled for processing.

[0112] Step S232: The processor calls the result data stored in the external memory for processing to obtain positioning and navigation information.

[0113] The result data may be a result matrix or other types of data, and the processor may call the result data stored in the external memory to analyze and obtain the corresponding positioning and navigation information in various types of positioning and navigation systems. The processor may send the positioning and navigation information to downstream servers, personal computers (PC), tablet computers, smart phones, personal digital assistants (PDA) and other electronic devices with logic computing functions, so that the electronic devices can realize the corresponding navigation functions.

[0114] exist Figure 6In the illustrated embodiment, the positioning and navigation information required for positioning can be provided to various types of positioning and navigation systems, thereby effectively improving the working efficiency of the various types of positioning and navigation systems.

[0115] It should be noted that since the matrix operation system can be set in many different types of positioning and navigation systems, Figure 1-Figure 4 The embodiments shown can be Figure 5 and Figure 6 The illustrated embodiments are implemented based on implementation methods of similar embodiments, and repeated implementation methods will not be described in detail.

[0116] See also Figure 7 , Figure 7 A flowchart of a satellite navigation method provided in an embodiment of the present application is provided. The satellite navigation method is applied to a satellite positioning navigation system including a matrix operation system. The method may include steps S310-S360.

[0117] Step S310: The processor determines a target task for positioning calculation based on the collected and generated satellite positioning information and / or sensor information.

[0118] Among them, the processor can obtain corresponding satellite positioning information and / or sensor information, and determine one or more task queues for positioning calculation based on the satellite positioning information and / or sensor information, and each task queue can include multiple target tasks for matrix operations.

[0119] Optionally, the satellite positioning information can be collected and acquired by the radio frequency device and the baseband device in the satellite positioning navigation system. For example, the radio frequency device receives the satellite signal, converts it into an intermediate frequency signal and sends it to the baseband device, and the baseband device processes the intermediate frequency signal to obtain the corresponding satellite positioning information, and sends the satellite positioning information to the processor. The sensing information may include information collected by various sensors in the satellite positioning navigation system. For example, the sensor may include an inertial sensor, a visual sensor, a laser radar and other sensors. Accordingly, the sensing information may include various types of information such as inertial motion information, image information and three-dimensional information.

[0120] Step S320: Send the target task to be executed through the processor to the matrix operation accelerator for processing.

[0121] Among them, the matrix operation accelerator is provided with a floating-point operation unit array corresponding to a variety of algorithms, and the processor can schedule multiple target tasks according to demand to control the matrix operation accelerator to perform calculation processing on the current corresponding target task.

[0122] Step S330, performing pipeline calculations on the target matrix of the target task based on the floating-point operation unit array through the matrix operation accelerator to obtain calculation data.

[0123] The matrix operation accelerator may perform pipeline calculations on the target matrix of the target task based on the floating-point operation unit array provided therein to obtain corresponding calculation data.

[0124] Step S340, storing the target matrix and the calculation data respectively in the internal memory of the matrix operation accelerator.

[0125] Among them, the execution order of step S330 and step S340 is not limited. In order to realize the separate storage of different types of data, the internal memory can store the target matrix before the matrix operation accelerator calculates, and store the obtained calculation data during the calculation process of the matrix operation accelerator to realize the separate storage of different types of data.

[0126] Step S350, moving the result data of the calculation data stored in the internal memory to the external memory for processing through the matrix operation accelerator.

[0127] Among them, the matrix operation accelerator can notify the processor of the change of the execution status of the task based on the interrupt reporting method, and the change of the task execution status can also be obtained by the processor through the periodic query method. After the matrix operation accelerator completes the processing of the matrix operation task, the internal memory can write the calculated processing data to the external memory, so that the processor can read the processing data stored in the external memory for processing, or send new tasks to be scheduled for processing.

[0128] Step S360: The processor calls the result data stored in the external memory for processing to determine the satellite positioning navigation information.

[0129] Among them, the result data can be data of types such as result matrices. The processor can analyze the result data obtained through processing to obtain corresponding satellite positioning and navigation information, thereby sending the satellite positioning and navigation information to downstream servers, personal computers (PC), tablet computers, smart phones, personal digital assistants (PDA) and other electronic devices with logical computing functions, so that the electronic devices can realize corresponding navigation functions.

[0130] It should be noted that since the matrix operation system is set in the satellite positioning navigation system, Figure 1-Figure 4 The embodiments shown can be Figure 7 The illustrated embodiments are implemented based on implementation methods of similar embodiments, and repeated implementation methods will not be described in detail.

[0131] An embodiment of the present application further provides a computer-readable storage medium, in which computer program instructions are stored. When the computer program instructions are read and executed by a processor, the steps of any one of the matrix operation method or satellite navigation method provided in the embodiment are executed.

[0132] In several embodiments provided in the present application, it should be understood that the disclosed device can also be implemented in other ways. The system embodiments described above are merely schematic, for example, the block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices according to the multiple embodiments of the present application. In this regard, each box in the block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram, and the combination of the block diagrams, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0133] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0134] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0135] The above description is only an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.

[0136] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

[0137] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

Claims

1. A matrix operation system, characterized in that: The system comprises: a matrix operation accelerator, a bus, a processor and an internal memory arranged inside the matrix operation accelerator; The bus connects the matrix operation accelerator and the processor; The matrix operation accelerator is provided with a floating point operation unit array; The processor is used to send the target task to be executed for the matrix operation accelerator to process; The matrix operation accelerator is used to perform pipeline calculation on the target matrix of the target task based on the floating-point operation unit array to obtain calculation data; The internal memory is used to store the target matrix and the calculation data respectively.

2. The system according to claim 1, characterized in that The setting parameters of the floating point operation unit array are determined according to the operation requirements of the matrix operation; wherein the setting parameters include: operator type and at least one of the number of parallelism, number of pipeline stages and dimension information.

3. The system according to claim 1, characterized in that in, The calculation data includes: intermediate data and result data; The matrix operation accelerator specifically obtains the target matrix of the target task currently being executed; splits the target matrix based on the floating-point operation unit array to obtain one or more split matrices and / or one or more operation row-column vectors; performs pipeline calculations on one or more split matrices and / or one or more operation row-column vectors based on the floating-point operation unit array to obtain the intermediate data; based on the floating-point operation unit array and the corresponding operator type, calls all the intermediate data to perform combined operations to obtain the result data.

4. The system according to claim 3, characterized in that in, The internal memory includes: a first type of memory, a second type of memory and a third type of memory; The first type of memory is used to store the target matrix; The second type of memory is used to store the intermediate data; The third type of memory is used to store the result data.

5. The system according to claim 4, characterized in that in, The system further includes: an external memory, and the internal memory further includes: a fourth type of memory; the external memory is connected to the matrix operation accelerator and the processor via a bus; The external memory is used to store the operand matrix of the unstarted tasks; In the case where the matrix operation accelerator calculates the target matrix, the fourth type of memory is used to store the operand matrix of the next one or more subsequent tasks to be executed pre-read by the matrix operation accelerator from the external memory; The matrix operation accelerator is used to move the result data stored in the third type of memory to the external memory.

6. The system according to claim 4 or 5, characterized in that: in, The matrix operation accelerator is also provided with a state machine and a management module; the state machine is connected to the management module, and the management module is connected to each of the internal memories; The state machine is used to apply for storage requirements from the management module according to the target task; The management module is used to determine the type of each of the internal memories according to the storage requirements, and the current storage status and remaining storage space of each of the internal memories.

7. The system according to claim 6, characterized in that in, The number of the internal memories is greater than or equal to 4, and the capacity of each of the internal memories is greater than or equal to the matrix capacity of the maximum matrix of the matrix operation.

8. A matrix operation method, characterized in that: The method is applied to a matrix operation system, the system comprising: a matrix operation accelerator, a bus, a processor and an internal memory arranged inside the matrix operation accelerator; the bus connects the matrix operation accelerator and the processor; a floating point operation unit array is arranged in the matrix operation accelerator; Sending the target task to be executed by the processor for processing by the matrix operation accelerator; Perform pipeline calculation on the target matrix of the target task based on the floating-point operation unit array by a matrix operation accelerator to obtain calculation data; The target matrix and the calculated data are stored separately in an internal memory.

9. The method according to claim 8, characterized in that in, The target task is obtained in the following way: Acquire acquisition information through the processor; wherein the acquisition information includes: at least one of satellite positioning information, inertial motion information, image information, and wireless information; The target task for performing positioning calculation is determined by the processor based on the collected information.

10. The method according to claim 8, characterized in that The method further comprises: The matrix operation accelerator moves the result data of the calculation data stored in the internal memory to the external memory for processing; The processor calls the result data stored in the external memory for processing to obtain positioning and navigation information.

11. A satellite navigation method, characterized in that: The method comprises: Determine, by a processor, a target task for performing positioning calculation based on the collected and generated satellite positioning information and / or sensor information; The target task to be executed is sent by the processor to the matrix operation accelerator for processing; wherein the matrix operation accelerator is provided with a floating point operation unit array; Perform pipeline calculation on the target matrix of the target task based on the floating-point operation unit array by the matrix operation accelerator to obtain calculation data; The target matrix and the calculation data are stored respectively in an internal memory inside the matrix operation accelerator; The matrix operation accelerator moves the result data of the calculation data stored in the internal memory to the external memory for processing; The processor calls the result data stored in the external memory for processing to determine the satellite positioning navigation information.

12. A computer-readable storage medium, characterized in that: The readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the steps of the method according to any one of claims 8 to 11 are executed.

Citation Information

Patent Citations

  • Matrix operation system, matrix operation method, satellite navigation method, and storage medium

    CN116931876A