Advanced aiming accuracy optimization method, device, equipment and storage medium
By building a vehicle trajectory and beam drift prediction model and adjusting the laser communication equipment to correct the beam pointing error, the problem of signal delay and loss in vehicle-mounted laser communication is solved, and the advance aiming accuracy and communication stability are improved.
Patent Information
- Application Number
- CN202410199751.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-23
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-02-23
AI Technical Summary
In vehicle-mounted laser communications, due to the movement of the vehicle terminal and complex environmental factors, the transmission path and time of the beam are uncertain, resulting in signal delay and loss. The existing technology cannot maintain a stable communication connection in the vehicle moving environment, and advanced targeting technology The prediction accuracy is poor in vehicle terminal applications.
By acquiring vehicle navigation historical data and laser communication data, we build a vehicle trajectory prediction model and a beam drift prediction model, and use real-time data to adjust laser communication equipment to correct beam pointing errors and improve advance aiming accuracy.
It effectively improves the accuracy of advance aiming prediction of vehicle-mounted laser communication equipment, reduces signal delay and loss, and ensures stable communication connections in vehicle moving environments.
Smart Images

Figure CN117979229B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of laser communication technology, and further to the field of laser tracking and aiming technology, and in particular to a method, device, equipment and storage medium for optimizing advanced aiming accuracy. Background Art
[0002] During vehicle-mounted laser communication, due to the movement of the vehicle-mounted end and the influence of complex environmental factors, the transmission path and time of the light beam are often uncertain, which may lead to signal delay and loss.
[0003] Current vehicle-mounted laser communication equipment often uses a fixed laser beam to directly aim at the receiver of the target vehicle to complete communication. However, this communication method cannot maintain a stable communication connection in a mobile vehicle environment and cannot adapt to the uncertainty of signal transmission path and time.
[0004] In the field of laser communications, advance aiming technology can adjust the direction and emission time of the laser beam in advance, reducing the delay and loss of communication signals. However, the application of advance aiming technology in vehicle-mounted laser communications is still in the exploratory stage. This is because the vehicle-mounted terminal has dynamic characteristics and there are many interference factors in the communication process, resulting in poor prediction accuracy of the advance aiming technology when it is applied to the vehicle-mounted terminal. Summary of the invention
[0005] In view of this, the present disclosure provides a method, device, equipment and storage medium for optimizing advanced aiming accuracy.
[0006] According to a first aspect of the present disclosure, a method for optimizing advanced aiming accuracy is provided. The method comprises:
[0007] Obtain valid vehicle navigation history data and valid historical vehicle laser communication data, and associate the two to generate an associated data set;
[0008] Based on the effective vehicle navigation history data in the associated dataset, a vehicle trajectory prediction model is constructed;
[0009] Based on the effective vehicle navigation history data and effective historical vehicle laser communication data in the associated data set, a beam drift prediction model is constructed;
[0010] Collect real-time data from vehicle navigation and use the vehicle trajectory prediction model to obtain the vehicle's trajectory data at the next moment;
[0011] Collect real-time data from the vehicle-mounted laser communication equipment, and use the beam drift prediction model to obtain the beam drift of the vehicle at the next moment based on the trajectory data of the vehicle at the next moment;
[0012] According to the amount of beam drift, the vehicle-mounted laser communication equipment is driven to make corresponding adjustments to correct the pointing error of the beam and improve the accuracy of advanced aiming.
[0013] In some implementations of the first aspect, obtaining valid vehicle navigation history data and valid historical vehicle laser communication data, and associating the two to generate an associated data set includes:
[0014] Obtain historical vehicle navigation data and historical vehicle laser communication data, and perform preprocessing to obtain valid historical vehicle navigation data and valid historical vehicle laser communication data;
[0015] Valid historical vehicle navigation data and valid historical vehicle laser communication data that may have a correlation relationship are selected, and the valid historical vehicle navigation data and the valid historical vehicle laser communication data are correlated using a data analysis method to generate a correlated data set.
[0016] In some implementable methods of the first aspect, valid on-board navigation history data and valid on-board laser communication data that may have an associated relationship are selected, and a data analysis method is used to associate the valid on-board navigation history data and the valid on-board laser communication data, and a related data set is generated, including:
[0017] Obtain the main influencing factors of the vehicle operating environment on the quality of vehicle laser communication;
[0018] According to the influencing factors, the valid historical vehicle navigation data and valid historical vehicle laser communication data that may have a correlation are preliminarily screened out; among which, the valid historical vehicle laser communication data includes valid: current vehicle laser communication equipment data and target vehicle laser communication equipment data;
[0019] Determine the characteristic variables and target variables, use data analysis method to calculate the correlation between each valid vehicle navigation history data and the current vehicle laser communication equipment data in the valid historical vehicle laser communication data at the same time, and obtain the corresponding correlation coefficient;
[0020] According to the preset correlation threshold and correlation coefficient, the data groups with strong correlation are screened out and the correlation data set is generated.
[0021] In some implementations of the first aspect, building a vehicle trajectory prediction model based on valid vehicle navigation history data in the associated data set includes:
[0022] Extracting valid vehicle navigation history data from the associated data set, and performing feature extraction on the valid vehicle navigation history data to obtain typical trajectory data;
[0023] The typical trajectory data is divided by using the sliding window method to obtain a typical trajectory data set;
[0024] The trajectory data at each moment in the typical trajectory data set is used as a sample, and the trajectory data at the next moment corresponding to the sample is used as the sample label. A training set is generated based on each sample and its corresponding label.
[0025] Determine the evaluation indicators of the model, use the training set to train and update the model until a vehicle trajectory prediction model is generated.
[0026] In some implementations of the first aspect, a beam drift prediction model is constructed based on valid on-board navigation history data and valid historical on-board laser communication data in the associated data set, including:
[0027] Extract features from valid historical vehicle navigation data and valid historical vehicle laser communication data in the associated data set;
[0028] The sliding window method is used to divide the data after feature extraction to obtain typical related data groups;
[0029] The typical associated data at each moment in the typical associated data group is used as a sample, and the typical associated data at the next moment corresponding to the sample is used as a sample label, and a training set is generated according to each sample and its corresponding label;
[0030] Determine the evaluation index of the model, and use the training set to train and update the model until a beam drift prediction model is generated.
[0031] In some implementable methods of the first aspect, real-time data of a vehicle-mounted laser communication device is collected, and a beam drift amount of the vehicle at the next moment is obtained by using a beam drift amount prediction model according to trajectory data of the vehicle at the next moment, including:
[0032] Collect real-time data of vehicle-mounted laser communication equipment; and pre-process the real-time data of vehicle-mounted laser communication equipment;
[0033] The preprocessed data and the trajectory data of the vehicle at the next moment are input into the beam drift prediction model to obtain the beam drift amount of the vehicle at the next moment.
[0034] In some implementations of the first aspect, according to the amount of beam drift, the vehicle-mounted laser communication device is driven to make corresponding adjustments to correct the pointing error of the beam and improve the advanced aiming accuracy, including:
[0035] Based on the APT system, the adjustment parameters are calculated according to the amount of beam drift, and the vehicle-mounted laser communication equipment is driven to make corresponding adjustments according to the adjustment parameters to correct the pointing error of the beam and improve the advanced aiming accuracy.
[0036] According to a second aspect of the present disclosure, a device for optimizing advanced aiming accuracy is provided. The device comprises:
[0037] The first processing module is used to obtain valid vehicle navigation history data and valid historical vehicle laser communication data, and associate the two to generate an associated data set;
[0038] A second processing module is used to construct a vehicle trajectory prediction model based on the valid vehicle navigation history data in the associated data set;
[0039] A third processing module is used to construct a beam drift prediction model based on the valid vehicle navigation history data and the valid historical vehicle laser communication data in the associated data set;
[0040] The fourth processing module is used to collect real-time data of vehicle navigation and obtain the trajectory data of the vehicle at the next moment by using the vehicle trajectory prediction model;
[0041] The fifth processing module is used to collect real-time data of the vehicle-mounted laser communication equipment, and obtain the beam drift amount of the vehicle at the next moment according to the trajectory data of the vehicle at the next moment by using the beam drift amount prediction model;
[0042] The sixth processing module is used to drive the vehicle-mounted laser communication equipment to make corresponding adjustments according to the amount of light beam drift, so as to correct the pointing error of the light beam and improve the advanced aiming accuracy.
[0043] According to a third aspect of the present disclosure, an electronic device is provided. The electronic device includes: at least one processor; and a memory connected to the at least one processor in communication; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method described above.
[0044] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, where the computer instructions are used to cause a computer to execute the method described above.
[0045] In the present disclosure, by associating effective parameters, selecting specified characteristic parameters from the effective parameters to train the vehicle trajectory prediction model, and selecting all associated parameters from the effective parameters to train the beam drift prediction model, it is possible to predict the beam drift related to the trajectory data while predicting the vehicle trajectory data. This allows for a more accurate prediction of the beam drift and improves the prediction accuracy of the advanced aiming of the vehicle-mounted laser communication equipment.
[0046] It should be understood that the contents described in the summary of the invention are not intended to limit the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, among which:
[0048] Figure 1 A flow chart of a method for optimizing advanced aiming accuracy provided by an embodiment of the present disclosure is shown;
[0049] Figure 2 A schematic diagram of an advanced aiming accuracy optimization method provided by an embodiment of the present disclosure is shown;
[0050] Figure 3 A block diagram of an advanced aiming accuracy optimization device according to an embodiment of the present disclosure is shown;
[0051] Figure 4 A block diagram of an exemplary electronic device capable of implementing embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0053] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0054] In response to the problems mentioned in the background technology, the present disclosure provides a method, device, equipment and storage medium for optimizing advanced aiming accuracy.
[0055] Specifically, valid on-board navigation historical data and valid on-board laser communication data are obtained, and the two are associated to generate an associated data set; based on the valid on-board navigation historical data in the associated data set, a vehicle trajectory prediction model is constructed; based on the valid on-board navigation historical data and valid on-board laser communication data in the associated data set, a beam drift prediction model is constructed; real-time on-board navigation data is collected, and the vehicle trajectory prediction model is used to obtain the trajectory data of the vehicle at the next moment; real-time data of the on-board laser communication equipment is collected, and according to the trajectory data of the vehicle at the next moment, the beam drift prediction model is used to obtain the beam drift amount of the vehicle at the next moment; according to the beam drift amount, the on-board laser communication equipment is driven to make corresponding adjustments to correct the pointing error of the beam and improve the accuracy of advanced aiming.
[0056] In this way, the beam drift associated with the trajectory data can be predicted while predicting the vehicle trajectory data, thereby improving the accuracy and reliability of the beam drift prediction results and improving the prediction accuracy of the advanced aiming of the vehicle-mounted laser communication equipment.
[0057] Figure 1 A flow chart of a method for optimizing advanced aiming accuracy provided by an embodiment of the present disclosure is shown; Figure 1 As shown, the advanced aiming accuracy optimization method 100 may include the following steps:
[0058] S110, obtaining valid historical vehicle navigation data and valid historical vehicle laser communication data, and associating the two to generate an associated data set.
[0059] Specifically, historical vehicle navigation data and historical vehicle laser communication data are obtained, and preprocessed to obtain valid vehicle navigation historical data and valid historical vehicle laser communication data; valid vehicle navigation historical data and valid historical vehicle laser communication data that may have a correlation relationship are selected, and the valid vehicle navigation historical data and the valid historical vehicle laser communication data are correlated using a data analysis method, and a correlated data set is generated; wherein: the data analysis method may include: correlation analysis method, cluster analysis method, regression analysis method, and path analysis method.
[0060] Furthermore, valid historical vehicle navigation data and valid historical vehicle laser communication data that may have a correlation relationship are selected, and the valid historical vehicle navigation data and the valid historical vehicle laser communication data are correlated using a data analysis method, and a correlation data set is generated, including:
[0061] Obtain the main influencing factors of the vehicle operating environment on the quality of vehicle laser communication; based on the influencing factors, preliminarily screen out valid vehicle navigation history data and valid historical vehicle laser communication data that may have a correlation relationship; where the valid historical vehicle laser communication data includes valid: current vehicle laser communication equipment data and target vehicle laser communication equipment data; determine the characteristic variables and target variables, and use data analysis methods to calculate the correlation between each valid vehicle navigation history data and the current vehicle laser communication equipment data in the valid historical vehicle laser communication data at the same time, and obtain the corresponding correlation coefficient; based on the preset correlation threshold and correlation coefficient, screen out data groups with strong correlation, and generate a correlation data set. Where:
[0062] The historical data of effective vehicle navigation may include effective: map data, route data, guidance data, environment data, driving data. Further:
[0063] Map data may include: road network data, terrain data, road types and other geographical feature information.
[0064] Path data may include: driving routes, navigation points and other driving plan information.
[0065] Guidance data may include: navigation prompt information, real-time traffic information and other navigation feature information.
[0066] Environmental data may include: dynamic data information such as temperature and humidity outside the vehicle, traffic conditions, and obstacles.
[0067] Driving data may include vehicle speed, acceleration, steering angle and other vehicle motion status information.
[0068] The valid historical vehicle laser communication data may include the valid status information, attitude information, resonance frequency, beam pointing information and environment information of the current vehicle laser communication device and the target vehicle laser communication device. Further:
[0069] The status information may include: system alignment error, power output status, device temperature, device startup status, fault status and other device status information. Furthermore, the system alignment error information may specifically include: tracking error and lead pointing error, where: tracking error may include: platform vibration residual, platform attitude error, coarse tracking residual, fine tracking residual. Lead pointing error may include: data model error, logic and calculation error, command conversion and quantization error, lead pointing sensor error, calibration error, wavefront distortion error.
[0070] The attitude information may include: equipment tilt angle, pitch angle and other information.
[0071] The beam pointing information may include: capture information, alignment information and tracking information; specifically, it may include information such as the beam centroid position, beam divergence angle, and beam pointing angle.
[0072] Environmental information may include: wind speed and direction around the device, obstacles around the device, etc.
[0073] According to the embodiments of the present disclosure, in the stage of obtaining model training parameters, not only the historical vehicle-mounted laser communication data of the current vehicle laser communication equipment but also the historical vehicle-mounted laser communication data of the target vehicle laser communication equipment are collected and preprocessed to obtain effective multi-source data as training parameters, thereby effectively improving the reliability of the training parameters and the accuracy of the model prediction results.
[0074] Further, obtaining the historical data of the vehicle navigation and the historical vehicle laser communication data, and performing preprocessing to obtain the valid historical data of the vehicle navigation and the valid historical vehicle laser communication data may include the following steps:
[0075] 1. Obtain historical vehicle navigation data and historical vehicle laser communication data.
[0076] 2. Clean, transform and normalize the historical data of the vehicle navigation to obtain effective historical data of the vehicle navigation.
[0077] 3. Integrate, clean, transform and normalize historical vehicle-mounted laser communication data to obtain valid historical vehicle-mounted laser communication data.
[0078] It should be noted that since the historical vehicle-mounted laser communication data is multi-source data, it is necessary to perform entity recognition on the historical vehicle-mounted laser communication data before data cleaning to integrate the contradictions of different source data; and to identify redundant attributes of the integrated data and eliminate redundant attributes.
[0079] Exemplarily, using a correlation analysis method to associate valid vehicle navigation history data and valid historical vehicle laser communication data, and generating a correlation data set, may include the following steps:
[0080] 1. Determine the variables
[0081] Considering that the amount of beam drift is mainly affected by the following factors:
[0082] The low-frequency vibration, high-frequency disturbance and mechanical deformation of the equipment itself; changes in airflow, wind speed and temperature in an open environment. Among them, low-frequency vibration, high-frequency disturbance and mechanical deformation are related to the vehicle's operating time and operating environment; changes in airflow, wind speed and temperature are related to the vehicle's state and position changes (i.e. trajectory curve) during operation.
[0083] Therefore, the characteristic variables are determined as:
[0084] The map data (MapData), path data (PathData), guidance data (GuidanceData), environment data (EnvData), and driving data (DrivingData) in the valid vehicle navigation history data (D1).
[0085] The status information (StatusInfo), attitude information (AttitudeInfo), resonant frequency (ResonantFreq), beam direction information (BeamDirection) and environment information (EnvInfo) of the current vehicle laser communication device and the target vehicle laser communication device in the historical vehicle laser communication data (D2).
[0086] Further, the target variable is determined as:
[0087] Correlation, that is, the correlation between the valid vehicle navigation history data (D1) and the historical vehicle laser communication data (D2).
[0088] 2. Choose a statistical test method
[0089] According to the data characteristics of the effective vehicle navigation historical data and the historical vehicle laser communication data, the Spearman rank correlation coefficient was selected as the statistical test method to calculate the correlation between the two; the correlation coefficient ranges from -1 to 1, where -1 indicates a complete negative correlation, 1 indicates a complete positive correlation, and 0 indicates no correlation.
[0090] 3. Generate associated datasets
[0091] According to the results of the correlation analysis, the degree of correlation between the data is determined, and the data with no correlation or weak correlation is eliminated to generate a correlation data set, and the data in the correlation data set is used to further train the model. In this process, data visualization tools can be used to display the degree of correlation.
[0092] Furthermore, exemplary data and specific calculation processes are given below to illustrate the above steps in more detail.
[0093] 1. Determine the variables
[0094] Characteristic variables: D1, D2
[0095] D1: (MapData: [0.2, 0.5, 0.8, 1.0, 0.3]; PathData: [10, 15, 20, 25, 30]; GuidanceData: [0, 1, 0, 1, 1]; EnvData: [25, 30, 35, 40, 45] ;DrivingData:[t,v,a,s])
[0096] D2: (StatusInfo 当前 :[0,1,0,1,1],StatusInfo 目标 :[1,1,1,1,0];AttitudeInfo 当前 :[0.1, 0.3, 0.2, 0.4, 0.5], AttitudeInfo 目标 :[0.1, 0.3, 0.4, 0.2,0.6];ResonantFreq 当前 :[100, 200, 150, 250, 180], ResonantFreq 目标 :[150, 200,150, 250, 180]; BeamDirection 当前 :[0.9, 0.8, 0.7, 0.6, 0.5], BeamDirection 目标 :[0.9, 0.7, 0.8, 0.5, 0.6];EnvInfo 当前 :[t,T,%RH],EnvInfo 目标 :[t,T,%RH])
[0097] The target variable is: Correlation(D1, D2)
[0098] 2. Calculate correlation
[0099] First, the calculation formula for calculating the Spearman rank correlation coefficient (ρ) is defined as:
[0100] ρ = 1 - (6 * Σd²) / (n * (n² - 1)).
[0101] Where d is the difference in rank between each pair of observations; Σd² is the sum of all d²; and n is the number of observations.
[0102] It should be noted that each data point in D2 is a data group composed of the data of the current vehicle laser communication equipment and the target vehicle laser communication equipment at the same moment, among which the data of the current vehicle laser communication equipment needs to be associated with the valid vehicle navigation history data. Since the relevant state of the target vehicle laser communication equipment will also have a certain impact on the laser communication quality of the two communicating vehicles, only using the current vehicle laser communication equipment data as a training parameter, the obtained beam drift prediction result will still have a slight deviation. In order to eliminate this influence, the present disclosure places the target vehicle laser communication equipment as a weak influencing factor and the current vehicle laser communication equipment data into the associated data set together to improve the accuracy of the model prediction results. Therefore, there is no need to calculate the correlation between the valid vehicle navigation history data and the target vehicle laser communication equipment data. Furthermore, the correlation coefficient between the valid vehicle navigation history data and the current vehicle laser communication equipment data represents the correlation coefficient of the data group.
[0103] To calculate the correlation between the variables of D1 and D2 using the Spearman rank correlation coefficient, first assign a rank to the observed values of each feature variable; then, calculate the difference between the ranks of the two variables and calculate the sum of the squares of the rank differences; use the sum and the number of samples to calculate the Spearman rank correlation coefficient. It should be noted that if there are identical values in the observations of a feature variable, they will share the average rank. Among them, for two variables X and Y, the rank difference (d_i) between the two is calculated as: (d_i = |R_X(i) - R_Y(i)|), where (R_X(i)) and (R_Y(i)) are the ranks of the i-th value of variables X and Y, respectively.
[0104] The following selects several pairs of variables in D1 and D2 to calculate the Spearman rank correlation coefficient as an example.
[0105] Calculation Example 1
[0106] 1) Select MapData in D1 and StatusInfo in D2 当前 , StatusInfo 目标 ), and assign ranks to them respectively.
[0107] MapData: [0.2, 0.5, 0.8, 1.0, 0.3] , after sorting, we get [0.2, 0.3, 0.5, 0.8,1.0], and its rank is assigned to [1, 2, 3, 4, 5].
[0108] StatusInfo 当前: [0,1,0,1,1], after sorting, we get [0,0,1,1,1]; due to repeated values, the average rank corresponding to observation 0 is the average of 1 and 2, which is 1.5; due to repeated values, the average rank corresponding to observation 1 is the average of 3, 4, and 5, which is 4; its rank is assigned to [1.5, 4, 1.5, 4, 4].
[0109] 2) Calculate MapData and (StatusInfo 当前 , StatusInfo 目标 ) and find the square of the rank difference.
[0110] Rank difference (MapData - StatusInfo 当前 ): [1 - 1.5, 2 - 1.5, 3 - 4, 4 - 4, 5 -4] = [-0.5, 0.5, -1, 0, 1].
[0111] Rank Difference Square (MapData - StatusInfo 当前 ): [(-0.5)^2, 0.5^2, (-1)^2, 0^2, 1^2] = [0.25, 0.25, 1, 0, 1].
[0112] 3) Calculate the sum of squares of rank differences.
[0113] Sum of squares of rank differences (MapData - StatusInfo 当前 ): 0.25 + 0.25 + 1 + 0 + 1 = 2.5.
[0114] 4) Calculate the Spearman rank correlation coefficient (ρ).
[0115] It can be seen that in this example, the sample size is: n = 5.
[0116] Furthermore, by substituting the rank difference and the sum of squares of rank differences of each pair of observations into the Spearman rank correlation coefficient calculation formula, we can obtain:
[0117] MapData - StatusInfo 当前 The rank correlation coefficient ρ1 = 1 - (6 * Σd²) / (n * (n² -1)) = 1 - (6 * 2.5) / (5 * (5^2 - 1)) = 0.875, that is, MapData and StatusInfo 当前 There is a strong positive correlation between them.
[0118] 5) Preset correlation screening thresholds, store calculation results, and retain strongly correlated data groups.
[0119] To further improve data reliability, based on the range of the Spearman rank correlation coefficient, the correlation screening threshold ρ is set to 0.3<ρ≤1 in this example, that is, data groups with no correlation, weak correlation, and abnormal correlation are eliminated (when the Spearman rank correlation coefficient is greater than 1, it is abnormal data, and the parameters in the array may be wrong, so it will not be retained).
[0120] In this example, ρ1 = 0.875, which satisfies 0.3<ρ≤1, so [MapData - (StatusInfo 当前 , StatusInfo 目标 )] The calculation results of the data group are retained.
[0121] It is understandable that there are multiple groups in D2 (StatusInfo 当前 , StatusInfo 目标 ) (AttitudeInfo 当前 , AttitudeInfo 目标 )…(EnvInfo 当前 , EnvInfo 目标 ) data, not every set of data has a strong correlation with the data in D1. If there is a data set with a weak correlation or no correlation during the calculation process, it will be removed and not retained to ensure the accuracy of the data. For example: if MapData and StatusInfo 当前 If the correlation is too weak, the entire group is discarded (StatusInfo 当前 , StatusInfo 目标 )data.
[0122] Calculation Example 2
[0123] 1) Select EnvData in D1 and (ResonantFreq 当前 , ResonantFreq 目标 ), and assign ranks to them respectively.
[0124] EnvData: [25, 30, 35, 40, 45], whose ranks are assigned as [1, 2, 3, 4, 5]; ResonantFreq 当前 : [100, 200, 150, 250, 180] , and its rank is assigned as [1, 2, 3, 4, 5].
[0125] 2) Calculate the rank difference and find the sum of the squares of the rank differences.
[0126] Since EnvData and ResonantFreq 当前 The ranks assigned to them are exactly the same, so the rank differences between them are all 0, and the sum of squares of rank differences is also 0, so EnvData and ResonantFreq 当前 The Spearman rank correlation coefficient between EnvData and ResonantFreq 当前 There is a strong positive correlation between them.
[0127] 3) Preset correlation screening thresholds, store calculation results, and retain strongly correlated data groups.
[0128] According to the value range of the Spearman rank correlation coefficient, in this example, the correlation screening threshold Y is set to 0.5<Y≤1, and the data groups with no correlation, weak correlation, and abnormal correlation are eliminated.
[0129] In this example, ρ1 = 1, which satisfies 0.3<ρ≤1. Therefore, the storage [EnvData - (ResonantFreq 当前 , ResonantFreq 目标 )] The calculation results of the data group are retained.
[0130] 3. Generate associated datasets
[0131] According to the rank correlation coefficient, the degree of correlation between the data is determined, and the data with no correlation or weak correlation is eliminated to generate the final correlation data set, and the data in the correlation data set is used to further train the model. In this process, data visualization tools (such as Power BI, FineBI or basic line charts, etc.) can be used to display the degree of correlation between data groups.
[0132] As another example, using a cluster analysis method to associate valid vehicle navigation history data and valid historical vehicle laser communication data, and generating an associated data set, may include the following steps:
[0133] 1. Determine the variables
[0134] Determine the characteristic variables as:
[0135] The map data (MapData), path data (PathData), guidance data (GuidanceData), environment data (EnvData), and driving data (DrivingData) in the valid vehicle navigation history data (D1).
[0136] The status information (StatusInfo), attitude information (AttitudeInfo), resonant frequency (ResonantFreq), beam direction information (BeamDirection) and environment information (EnvInfo) of the current vehicle laser communication device and the target vehicle laser communication device in the historical vehicle laser communication data (D2).
[0137] Further, the target variable is determined as:
[0138] Correlation, that is, the correlation between the valid vehicle navigation history data (D1) and the historical vehicle laser communication data (D2).
[0139] 2. Choose a clustering algorithm
[0140] According to the data characteristics of the effective vehicle navigation history data and the historical vehicle laser communication data, a clustering algorithm based on fuzzy logic, a clustering algorithm based on neural network or a clustering algorithm based on graph theory can be selected.
[0141] 3. Get analysis results
[0142] Taking the clustering algorithm based on fuzzy logic as an example, first determine the fuzzy parameters; secondly, establish a fuzzy similarity matrix, and calculate the fuzzy similarity between data according to the characteristic variables and fuzzy parameters; then based on the fuzzy similarity matrix, use the C-means algorithm to perform clustering calculations to form a series of clusters, and through the data mapping method, associate and match the corresponding clusters to generate an associated data set, and use the data in the associated data set to further train the model.
[0143] Furthermore, exemplary data and specific calculation processes are given below to illustrate the above steps in more detail.
[0144] 1. Determine the variables
[0145] Feature variables: D1, D2; target variable: Correlation (D1, D2)
[0146] 2. Select a clustering algorithm and calculate correlation
[0147] Taking the clustering algorithm based on fuzzy logic as an example, the clustering algorithm based on fuzzy logic is a soft clustering method (for example, Fuzzy C-Means, FCM, fuzzy C-means clustering algorithm), which allows data points to belong to multiple cluster centers, and the membership of each cluster center is between 0 and 1; in FCM, the sum of the membership of each data point to each cluster center is 1.
[0148] Given a dataset of feature variables D1 and D2, we will use the fuzzy C-means clustering algorithm to find the cluster centers of the data and calculate the correlation between D1 and D2 based on these centers. The following are the specific steps:
[0149] 1) Initialization
[0150] Determine the fuzzy parameter m, m > 1.
[0151] Determine the number of cluster centers c.
[0152] Randomly initialize the membership matrix U, whose size is n×c, where n is the number of data points and c is the number of cluster centers. Each element u_ij in U represents the membership of the i-th data point to the j-th cluster center, and satisfies 0 ≤ u_ij ≤ 1 and ∑_j u_ij = 1 (for all i).
[0153] The cluster centers V are randomly initialized to be of size c×d, where d is the number of dimensions of each data point.
[0154] 2) Update the membership matrix U and cluster center V through iterative optimization to obtain the fuzzy similarity matrix. Specifically:
[0155] The objective function of FCM is defined as:
[0156] (J_m(U, V) = \sum_{i=1}^{n} \sum_{j=1}^{c} u_{ij}^m | x_i - v_j |^2); minimize.
[0157] where x_i is the ith data point, v_j is the jth cluster center, m is the fuzzy parameter, and |xi - vj|^2 is the square of the Euclidean distance between the ith data point and the jth cluster center.
[0158] Update the membership matrix U:
[0159] For each data point i and each cluster center j, update the membership u_ij as:
[0160] ( u_{ij} = \left( \sum_{k=1}^{c} \left( \frac{| x_i - v_j |}{| x_i -v_k |} \right)^{\frac{2}{m-1}} \right)^{-1} )
[0161] Update cluster center V:
[0162] For each cluster center j, update v_j as:
[0163] ( v_j = \frac{\sum_{i=1}^{n} u_{ij}^m x_i}{\sum_{i=1}^{n} u_{ij}^m} )
[0164] Iterative Optimization:
[0165] Calculate the distance from each data point to each cluster center, update the membership matrix U according to the distance and fuzzy parameter m, update the cluster center V according to the membership matrix U, and detect whether the algorithm converges (for example, check whether the change of the cluster center and the membership matrix is less than a certain threshold). If the algorithm converges, assign the data point to the nearest cluster center according to the membership matrix U to form a cluster. Repeat the above steps until the value of the objective function J_m(U, V) no longer changes significantly or reaches the predetermined number of iterations, and output the final fuzzy membership matrix U and cluster center V.
[0166] 3) Calculate correlation
[0167] According to the final fuzzy membership matrix U and cluster center V, we can determine which cluster it belongs to by checking the maximum membership of each data point. Then, we can calculate the correlation Correlation(D1, D2) between D1 and D2 based on the clustering results; the correlation can be calculated based on various statistics of the clustering results, such as the average membership, the distance between cluster centers, etc.; the correlation between D1 and D2 can also be calculated using statistical methods such as the Pearson correlation coefficient, and the specific calculation method is not specifically limited in this disclosure.
[0168] 3. Generate associated datasets
[0169] By comparing the statistical data of D1 and D2 in different clusters, calculating the correlation coefficients of D1 and D2 in different clusters, using the data mapping method to establish the mapping and association between them, generating an associated data set, and further using the data in the associated data set to train the model.
[0170] It should be noted that in some special cases, the distribution of data may be skewed, which may affect the calculation of the correlation coefficient. Therefore, when performing the above correlation analysis operations, methods such as data normalization, outlier processing, data conversion or data resampling can be used to control the skewness.
[0171] According to the embodiments of the present disclosure, correlation analysis is performed on the valid data after preprocessing, and data with no correlation or weak correlation is eliminated to generate a highly reliable correlation data set. The correlation data set is then used for model training, which effectively improves the accuracy of the vehicle trajectory prediction model and the light beam drift prediction model.
[0172] S120, constructing a vehicle trajectory prediction model based on the valid vehicle navigation history data in the associated data set.
[0173] Specifically, effective vehicle navigation history data in the associated data set is extracted, and features are extracted from the effective vehicle navigation history data to obtain typical trajectory data; the typical trajectory data is divided using a sliding window method to obtain a typical trajectory data set; the trajectory data at each moment in the typical trajectory data set is used as a sample, and the trajectory data at the next moment corresponding to the sample is used as a sample label, and a training set is generated according to each sample and its corresponding label; an evaluation index of the model is determined, and the model is trained and updated using the training set until a vehicle trajectory prediction model is generated.
[0174] Furthermore, the associated data set X includes multiple groups of corresponding strongly associated data, and the required valid vehicle navigation history data D1 is extracted from the associated data set X; illustratively: X={ [MapData - ( StatusInfo 当前 、StatusInfo 目标 )]1…[MapData-(StatusInfo 当前 、StatusInfo 目标 )] n …}, each data point in the dataset X is a related data group, each of which contains features from different data sources of D1 and D2. With the data structure clear, we can use list derivation to traverse each data point in X, filter out all D1 related elements, and generate training set Y, Y={ [MapData]1… [MapData] n …}.
[0175] Perform feature extraction on D1 to obtain typical trajectory data; preset the window size, use the sliding window method to divide the typical trajectory data, and obtain a typical trajectory data set; use the trajectory data at each moment in the typical trajectory data set as a sample, and the trajectory data at the next moment corresponding to the sample as the sample label, and generate a training set based on each sample and its corresponding label; determine the evaluation index of the model, and use the training set to train and update the model until a vehicle trajectory prediction model is generated.
[0176] The evaluation index of the model can be one or more of the following indicators: RMSE (Root Mean Squared Error), MSE (Mean Squared Error), MAE (Mean Absolute Error), MAPE (Mean Absolute Percentage Error), SMAPE (Symmetric Mean Absolute Percentage Error), R-Square (R-Square), 2 , coefficient of determination).
[0177] Furthermore, due to the timing characteristics of the vehicle navigation historical data, the vehicle trajectory prediction model provided by the embodiment of the present disclosure can be a single model or an integrated model; the single model can be an LSTM model, a GRU model, an RNN model, a DARNN model or other models that can achieve similar functions, and the integrated model can be a combination of the aforementioned models and other basic models, for example: LSTM-LR, GRU-LR. The present disclosure does not make any specific restrictions on the model type.
[0178] S130, constructing a beam drift prediction model based on the valid vehicle navigation history data and the valid historical vehicle laser communication data in the associated data set.
[0179] Specifically, feature extraction is performed on the valid on-board navigation history data D1 and the valid historical on-board laser communication data D2 in the associated data set; the data after feature extraction is divided by using the sliding window method to obtain a typical associated data group; the typical associated data at each moment in the typical associated data group is used as a sample, and the typical associated data at the next moment corresponding to the sample is used as a sample label, and a training set is generated according to each sample and its corresponding label; the evaluation index of the model is determined, and the model is trained and updated using the training set until a beam drift prediction model is generated.
[0180] The associated data set X includes multiple groups of corresponding strongly associated data, for example: X={ [MapData-( StatusInfo 当前 、StatusInfo 目标 )]1…[MapData - (StatusInfo 当前 、StatusInfo 目标 )] n, [EnvData - (ResonantFreq 当前 、ResonantFreq 目标)]1…[EnvData - (ResonantFreq 当前 、ResonantFreq 目标 )] n ,[DrivingData-(ResonantFreq 当前 、ResonantFreq 目标 )]1…[DrivingData-(ResonantFreq 当前 、ResonantFreq 目标 )] n …}. In this example, the associated dataset X includes: the associated data of MapData and StatusInfo, the associated data of EnvData and ResonantFreq, the associated data of DrivingData and ResonantFreq, and other associated data. Each data point in dataset X is a associated data group, and each associated data group contains features from different data sources of D1 and D2.
[0181] It should be noted that, due to the different importance of data in the associated data group, different weight values need to be configured to reflect the importance of different data, so that the model pays more attention to the data samples with higher weights; for example: all data with the current vehicle logo are assigned a weight of 0.8, and all data with the target vehicle logo are assigned a weight of 0.2, then: X={ [MapData - (( StatusInfo 当前 )0.8、(StatusInfo 目标 )0.2)]1…[MapData-((StatusInfo 当前 )0.8、(StatusInfo 目标 )0.2)] n, …}.
[0182] In order to use these associated data to train the model, the features of the valid vehicle navigation history data D1 and the valid historical vehicle laser communication data D2 in the associated data set are extracted, and the data set is divided into multiple typical associated data subsets (i.e., the above-mentioned typical associated data groups) using the sliding window method. If the window size is set to 1h, starting from the starting position of the data set, a section of data is intercepted every 1h as a typical associated data subset, and the window moves forward 1h each time until the entire associated data set X is traversed, and multiple overlapping typical associated data subsets are obtained, each of which contains the valid vehicle navigation history data D1 and the valid historical vehicle laser communication data D2 in the corresponding time period.
[0183] Furthermore, a training set is generated based on the extracted features and the divided typical associated data subsets, the evaluation index of the model is determined, and the model is trained and updated using the training set until a beam drift prediction model is generated.
[0184] The evaluation index of the model can be one or more of the following indicators: RMSE (Root Mean Squared Error), MSE (Mean Squared Error), MAE (Mean Absolute Error), MAPE (Mean Absolute Percentage Error), SMAPE (Symmetric Mean Absolute Percentage Error), R-Square (R-Square) 2 , coefficient of determination).
[0185] Furthermore, due to the timing characteristics of the historical vehicle navigation data and the data characteristics of the historical vehicle laser communication data, the beam drift prediction model provided in the embodiment of the present disclosure can be a single model or an integrated model; the single model can be a DNN deep neural network model, an unsupervised neural network model or other models that can achieve similar functions, and the integrated model can be a combination of the aforementioned model and other basic models, for example: DNN-SVM. The present disclosure does not make any specific restrictions on the model type.
[0186] According to the embodiments of the present disclosure, in view of the data and model requirements of different characteristics in the associated data set, different types of models are selected by utilizing the relevant data in the associated data set, and the required models are trained in a targeted manner, thereby improving the prediction accuracy of the models.
[0187] S140, collecting real-time data of the vehicle navigation, and using the vehicle trajectory prediction model to obtain the trajectory data of the vehicle at the next moment.
[0188] Specifically, real-time data of the vehicle navigation is collected and preprocessed; the preprocessed data is input into a vehicle trajectory prediction model to obtain the trajectory data of the vehicle at the next moment.
[0189] S150, collecting real-time data of the vehicle-mounted laser communication equipment, and obtaining the beam drift amount of the vehicle at the next moment according to the trajectory data of the vehicle at the next moment by using the beam drift amount prediction model.
[0190] Specifically, real-time data of the vehicle-mounted laser communication equipment is collected; the real-time data of the vehicle-mounted laser communication equipment is preprocessed; the preprocessed data and the trajectory data of the vehicle at the next moment are input into the beam drift prediction model to obtain the beam drift amount of the vehicle at the next moment.
[0191] Taking into account the prediction efficiency issue, the preprocessing of the real-time data of the vehicle-mounted navigation and vehicle-mounted laser communication equipment in the disclosed embodiment is mainly to perform simple normalization processing on the data and transform the data into an appropriate form to ensure that the prediction efficiency is not affected while improving the model prediction accuracy; it can be understood that when the surrounding environment is stable and the prediction accuracy requirement is not high, the real-time data does not need to be preprocessed.
[0192] S160, according to the amount of beam drift, drives the vehicle-mounted laser communication equipment to make corresponding adjustments to correct the pointing error of the beam and improve the advanced aiming accuracy.
[0193] Specifically, based on the APT (Acquisition, Pointing, and Tracking) system, the adjustment parameters are calculated according to the amount of light beam drift, and the vehicle-mounted laser communication equipment is driven to make corresponding adjustments according to the adjustment parameters to correct the pointing error of the light beam and complete advanced aiming.
[0194] Furthermore, based on the APT system, the adjustment parameters are calculated according to the beam drift, and the vehicle-mounted laser communication equipment is driven to make corresponding adjustments according to the adjustment parameters to correct the pointing error of the beam and complete the advanced aiming. The specific steps may be as follows:
[0195] 1. Based on the advance aiming mechanism in the APT system, the advance aiming angle is calculated. On the basis of the obtained advance aiming angle, the corresponding horizontal and vertical adjustment parameters are calculated using the least squares method or Kalman filtering method according to the beam drift prediction model predicted in the horizontal and vertical directions to correct the beam pointing error.
[0196] 2. Drive the corresponding actuators in the vehicle-mounted laser communication equipment to make corresponding adjustments according to the adjustment parameters to achieve precise control of the beam direction. By adjusting and optimizing the beam direction, the vehicle-mounted laser communication equipment can achieve high-precision advanced aiming.
[0197] 3. Monitor the pointing of the light beam in real time and adjust the corresponding actuators to ensure the effectiveness and accuracy of the adjustment. If it is detected that the pointing error of the light beam has not been corrected or a new error has occurred, feedback will be given to the main control system so that the main control system can optimize the model parameters based on the error data.
[0198] Furthermore, the model is optimized by adjusting parameters. The specific steps are as follows:
[0199] 1. Real-time monitoring of beam pointing: Use sensors or monitoring equipment to continuously monitor the direction of the beam.
[0200] 2. Error calculation: Obtain real-time data of the light beam and calculate the difference between the actual pointing direction of the light beam and the target pointing direction, that is, the pointing error.
[0201] 3. Actuator adjustment: Once an error is detected, the main control system controls the drive motor to immediately adjust the position of the fast mirror, lens, etc. to try to correct the direction of the light beam.
[0202] 4. Feedback loop: If the error of the beam is not corrected or the system detects a new error, this information will be fed back to the main control system.
[0203] 5. Model parameter optimization: After receiving the feedback, the main control system will optimize the model parameters according to the error data; parameter optimization includes but is not limited to: adjusting the model weights, thresholds or other parameters to improve the model's prediction and decision-making capabilities to improve the accuracy of beam pointing and the overall performance of the system.
[0204] 6. Iteration: If the parameter optimization does not achieve the expected results, the whole process will start again, forming an iterative process; the main control system will continue to monitor, feedback, optimize parameters, and verify and test again until the accuracy meets the requirements.
[0205] According to the embodiments of the present disclosure, the main control system can further improve the accuracy of beam pointing and reduce errors by continuously monitoring, adjusting, and optimizing model parameters.
[0206] Figure 2 A schematic diagram of an advanced aiming accuracy optimization method provided by an embodiment of the present disclosure is shown; Figure 2 As shown, valid on-board navigation history data and valid historical on-board laser communication data are obtained, and the two are associated to generate an associated data set; the relevant data in the associated data set are used to train the vehicle trajectory prediction model and the beam drift prediction model respectively; the vehicle trajectory prediction model and the beam drift prediction model are used to predict the vehicle's trajectory at the next moment and the corresponding beam drift; based on the APT system, the adjustment parameters are calculated according to the beam drift, and the laser communication equipment is adjusted according to the adjustment parameters to complete the advance aiming; at the same time, the beam pointing is monitored, and when the beam pointing deviation is greater than the deviation threshold, it is fed back to the main control system, and the main control system stores the group of data as abnormal data in the storage unit, so as to optimize the model according to the abnormal parameters.
[0207] The following is a code example to explain the above content in detail.
[0208] #include <iostream>
[0209] #include <vector>
[0210] #include <algorithm>
[0211] / / Data point structure
[0212] struct DataPoint {
[0213] double x;
[0214] double y;
[0215] / / Other features...
[0216] };
[0217] / / Clustering result structure
[0218] struct Cluster {
[0219] std::vector <datapoint>points;
[0220] / / Other clustering information...
[0221] };
[0222] / / Clustering algorithm
[0223] std::vector <cluster>performClustering(const std::vector <datapoint>&data) {
[0224] / / Implement the clustering algorithm...
[0225] }
[0226] / / Generate associated data set
[0227] std::vector <std::pair<DataPoint, DataPoint> >generateAssociatedDataset(const std::vector <cluster>& clusters1, const std::vector <cluster>& clusters2) {
[0228] std::vector <std::pair<DataPoint, DataPoint> > associatedDataset;
[0229] / / Implement the associated dataset generation algorithm...
[0230] return associatedDataset;
[0231] }
[0232] / / Vehicle trajectory prediction model training
[0233] void trainTrajectoryPredictionModel(const std::vector <std::pair<DataPoint, DataPoint> >& associatedDataset) {
[0234] / / Use the associated dataset to train the trajectory prediction model...
[0235] }
[0236] int main() {
[0237] / / Read the historical data of vehicle navigation and vehicle laser communication equipment
[0238] std::vector <datapoint>navigationData;
[0239] std::vector <datapoint>laserCommunicationData;
[0240] / / Read data from the file and fill it into the corresponding container...
[0241] / / Data preprocessing...
[0242] / / Cluster analysis
[0243] std::vector <cluster>navigationClusters = performClustering(navigationData);
[0244] std::vector <cluster>laserCommunicationClusters =performClustering(laserCommunicationData);
[0245] / / Generate associated data set
[0246] std::vector <std::pair<DataPoint, DataPoint> > associatedDataset =generateAssociatedDataset(navigationClusters, laserCommunicationClusters);
[0247] / / Vehicle trajectory prediction model training
[0248] trainTrajectoryPredictionModel(associatedDataset);
[0249] return 0;
[0250] }
[0251] #include <iostream>
[0252] #include <vector>
[0253] #include <eigen dense> / / Import the Eigen library
[0254] using namespace Eigen;
[0255] / / Define the data point structure
[0256] struct DataPoint {
[0257] double navigationData; / / Vehicle navigation history data
[0258] double laserCommunicationData; / / Historical data of vehicle-mounted laser communication equipment
[0259] double driftAmount; / / Beam drift amount
[0260] };
[0261] / / Define the linear regression model class
[0262] class LinearRegression {
[0263] private:
[0264] VectorXd weights;
[0265] public:
[0266] LinearRegression(int numFeatures) : weights(numFeatures) {}
[0267] / / Train the linear regression model
[0268] void train(const std::vector <datapoint>& data) {
[0269] MatrixXd X(data.size(), weights.size());
[0270] VectorXd y(data.size());
[0271] / / Fill the feature matrix X and label vector y
[0272] for (int i = 0; i < data.size(); ++i) {
[0273] X.row(i) << data[i].navigationData, data[i].laserCommunicationData; / / Characteristics
[0274] y(i) = data[i].driftAmount; / / label
[0275] }
[0276] / / Solve the linear regression parameters using the least squares method
[0277] weights = (X.transpose() * X).ldlt().solve(X.transpose() *y);
[0278] }
[0279] / / Predict beam drift
[0280] double predict(double navigationData, doublelaserCommunicationData) {
[0281] VectorXd features(2);
[0282] features << navigationData, laserCommunicationData;
[0283] return features.dot(weights);
[0284] }
[0285] };
[0286] int main() {
[0287] / / Read the historical data of vehicle navigation, historical data of vehicle laser communication equipment and beam drift in the associated data set
[0288] std::vector <datapoint>dataset;
[0289] / / Read data from the file and fill it into the dataset...
[0290] / / Create a linear regression model
[0291] LinearRegression model(2); / / 2 features
[0292] / / Train the linear regression model
[0293] model.train(dataset);
[0294] / / Use the model to make predictions
[0295] double navigationData = 0.5;
[0296] double laserCommunicationData = 0.3;
[0297] double predictedDrift = model.predict(navigationData,laserCommunicationData);
[0298] std::cout << "Predicted drift amount: " << predictedDrift << std::endl;
[0299] return 0;
[0300] }
[0301] In the above code example, the data preprocessing and associated data set generation part first defines the data point structure and clustering result structure. The data point structure contains information such as vehicle navigation history data, vehicle laser communication equipment history data and beam drift, and the clustering result structure contains a group of data points. Using the clustering result structure, by calculating the distance between each pair of data points in the two groups of clusters, the closest pair of data points is found, and they are used as a group of associated data points. The associated data set is generated through the generateAssociatedDataset function; finally, the associated data set is used to train the model through the trainTrajectoryPredictionModel function. In the linear regression model training and prediction part, the data point structure and linear regression model class are first defined, and then the vehicle navigation history data and vehicle laser communication equipment history data in the associated data set are read. For each data point, its features are filled into the feature matrix X, and the label value is filled into the label vector y, creating a linear regression model, and the model is trained using the train function; finally, the model parameters obtained from the training are used to calculate the output value of the model for the given feature value, so as to realize the vehicle trajectory prediction and the corresponding beam drift prediction.
[0302] The above is only a simple example. In actual application scenarios, steps such as cross-validation and model evaluation may also be added. The present disclosure does not make any specific limitations on the cross-validation method and the model evaluation method.
[0303] The above text has introduced the specific technical details in detail. A generalized embodiment is provided below to better illustrate the above content. The specific technical details involved will not be elaborated in detail in this disclosure.
[0304] Assume that there are current vehicle 1 and target vehicle 2, both of which are equipped with on-board laser communication equipment, then:
[0305] The valid on-board navigation history data of the current vehicle 1 and the valid historical on-board laser communication data of the current vehicle 1 and the target vehicle 2 at the same moment are obtained, and the two are associated to generate an associated data set; based on the valid on-board navigation history data in the associated data set, a vehicle trajectory prediction model 1 is constructed; based on the valid on-board navigation history data and the valid historical on-board laser communication data in the associated data set, a beam drift prediction model 1 is constructed.
[0306] The valid on-board navigation history data of the target vehicle 2 and the valid historical on-board laser communication data of the current vehicle 1 and the target vehicle 2 at the same moment are obtained, and the two are associated to generate an associated data set; based on the valid on-board navigation history data in the associated data set, a vehicle trajectory prediction model 2 is constructed; based on the valid on-board navigation history data and the valid historical on-board laser communication data in the associated data set, a beam drift prediction model 2 is constructed.
[0307] Laser communication is currently being carried out between the optical terminal (i.e., the vehicle-mounted laser communication device) A of the current vehicle 1 and the optical terminal B of the target vehicle 2.
[0308] When the target vehicle 2 is located at the first position, the optical terminal B transmits a laser signal to the optical terminal A of the current vehicle 1. When the laser signal is received by the optical terminal A of the current vehicle 1, the target vehicle 2 has moved to the second position. When the optical terminal A of the current vehicle 1 needs to transmit a laser signal to the optical terminal B of the target vehicle 2, the target vehicle 2 has moved to the third position. Therefore, the optical terminal A of the current vehicle 1 needs to calculate the offset, control the emission visual axis according to the offset, and adjust the light beam emission angle so that the optical terminal B of the target vehicle 2 receives the laser signal emitted by the optical terminal A of the current vehicle 1. Specifically:
[0309] The real-time data of the vehicle navigation of the current vehicle 1 is collected, and the trajectory data of the current vehicle 1 at the next moment is obtained by using the vehicle trajectory prediction model.
[0310] The real-time data of the laser communication equipment of the current vehicle 1 is collected, and the beam drift amount of the current vehicle 1 at the next moment is obtained by using the beam drift amount prediction model 1 according to the trajectory data of the current vehicle 1 at the next moment.
[0311] Based on the APT system, according to the beam drift amounts in the horizontal and vertical directions predicted by the beam drift prediction model 1, the corresponding adjustment parameters in the horizontal and vertical directions are calculated using the least squares method or the Kalman filtering method, and the corresponding actuators in the vehicle-mounted laser communication equipment are driven to make adjustments to correct the direction of the intended emitted beam so that the optical terminal B of the target vehicle 2 can receive the laser signal emitted by the optical terminal A of the current vehicle 1.
[0312] Similarly, when the two vehicles are moving relative to each other, when the optical terminal B of the target vehicle 2 wants to transmit a laser signal to the optical terminal A of the current vehicle 1, real-time data is collected, and the vehicle trajectory prediction model 2 and the beam drift prediction model 2 are used in combination with the APT system to calculate and adjust the parameters to correct the direction of the intended emitted light beam so that the optical terminal A of the current vehicle 1 receives the signal, thereby improving the prediction accuracy of the vehicle-mounted laser communication equipment's advanced aiming.
[0313] According to the embodiments of the present disclosure, the following technical effects are achieved:
[0314] 1. By associating valid parameters, set the associated data set to obtain highly reliable sample data.
[0315] 2. The vehicle trajectory prediction model is trained based on highly reliable sample data, and the beam drift prediction model is further trained, which effectively improves the reliability, stability and prediction accuracy of the model.
[0316] 3. Through the joint use of the vehicle trajectory prediction model and the beam drift prediction model, the impact of the beam drift on the vehicle communication system is effectively reduced, and the prediction accuracy of the advanced aiming of the vehicle laser communication equipment is improved.
[0317] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present disclosure is not limited by the order of the actions described, because according to the present disclosure, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present disclosure.
[0318] The above is an introduction to the method embodiment. The following is a further explanation of the scheme disclosed in the present invention through an apparatus embodiment.
[0319] Figure 3 FIG. 4 shows a block diagram of a device for optimizing advanced aiming accuracy according to an embodiment of the present disclosure. Figure 3 As shown, the advanced aiming accuracy optimization device 300 may include:
[0320] The first processing module 310 is used to obtain valid vehicle navigation history data and valid historical vehicle laser communication data, and associate the two to generate an associated data set.
[0321] The second processing module 320 is used to construct a vehicle trajectory prediction model based on the valid vehicle navigation history data in the associated data set.
[0322] The third processing module 330 is used to construct a beam drift prediction model based on the valid vehicle navigation history data and the valid historical vehicle laser communication data in the associated data set.
[0323] The fourth processing module 340 is used to collect real-time data of vehicle navigation and obtain the trajectory data of the vehicle at the next moment by using the vehicle trajectory prediction model.
[0324] The fifth processing module 350 is used to collect real-time data of the vehicle-mounted laser communication equipment, and obtain the beam drift amount of the vehicle at the next moment according to the trajectory data of the vehicle at the next moment by using the beam drift amount prediction model.
[0325] The sixth processing module 360 is used to drive the vehicle-mounted laser communication equipment to make corresponding adjustments according to the amount of light beam drift, so as to correct the pointing error of the light beam and improve the advanced aiming accuracy.
[0326] Understandably, Figure 3 Each module / unit in the shown advance aiming accuracy optimization device 300 has the function of implementing each step in the advance aiming accuracy optimization method 100 provided in the embodiment of the present disclosure, and can achieve its corresponding technical effect. The specific working process of the described module can refer to the corresponding process in the aforementioned method embodiment, and for the convenience and conciseness of the description, it will not be repeated here.
[0327] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.
[0328] Figure 4 A block diagram of an exemplary electronic device capable of implementing embodiments of the present disclosure is shown.
[0329] like Figure 4 As shown, electronic device 400 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 may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0330] The electronic device 400 includes a computing unit 401, which can perform various appropriate actions and processes according to a computer program stored in the ROM 402 or a computer program loaded from the storage unit 408 into the RAM 403. In the RAM 403, various programs and data required for the operation of the electronic device 400 can also be stored. The computing unit 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An I / O interface 405 is also connected to the bus 404.
[0331] Multiple components in the electronic device 400 are connected to the I / O interface 405, including: an input unit 406, such as a keyboard, a mouse, etc.; an output unit 407, such as various types of displays, speakers, etc.; a storage unit 408, such as a disk, an optical disk, etc.; and a communication unit 409, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 409 allows the electronic device 400 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0332] The computing unit 401 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 401 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 401 performs the various methods and processes described above, such as method 100. For example, in some embodiments, the method 100 may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 408. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 400 via the ROM 402 and / or the communication unit 409. When the computer program is loaded into the RAM 403 and executed by the computing unit 401, one or more steps of the method 100 described above may be performed. Alternatively, in other embodiments, the computing unit 401 may be configured to perform the method 100 in any other appropriate manner (e.g., by means of firmware).
[0333] Various implementations 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 chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0334] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0335] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0336] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0337] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.< / datapoint> < / datapoint> < / eigen> < / vector> < / iostream> < / cluster> < / cluster> < / datapoint> < / datapoint> < / cluster> < / cluster> < / datapoint> < / cluster> < / datapoint> < / algorithm> < / vector> < / iostream>
Claims
1. A method for optimizing the accuracy of advanced aiming, applied to a vehicle-mounted laser communication system, characterized in that: The method comprises: Obtain valid vehicle navigation history data and valid historical vehicle laser communication data, and associate the two to generate an associated data set; Building a vehicle trajectory prediction model based on the valid vehicle navigation history data in the associated data set; Based on the valid on-board navigation history data and the valid historical on-board laser communication data in the associated data set, a beam drift prediction model is constructed; Collecting real-time data of vehicle navigation, and using the vehicle trajectory prediction model to obtain the trajectory data of the vehicle at the next moment; Collecting real-time data of the vehicle-mounted laser communication equipment, and obtaining the beam drift amount of the vehicle at the next moment by using the beam drift amount prediction model according to the trajectory data of the vehicle at the next moment; According to the amount of light beam drift, the vehicle-mounted laser communication equipment is driven to make corresponding adjustments to correct the pointing error of the light beam and improve the advanced aiming accuracy.
2. The method according to claim 1, characterized in that The obtaining of valid on-board navigation history data and valid on-board laser communication history data, and associating the two to generate an associated data set includes: Obtain historical vehicle navigation data and historical vehicle laser communication data, and perform preprocessing to obtain valid historical vehicle navigation data and valid historical vehicle laser communication data; Valid historical vehicle navigation data and valid historical vehicle laser communication data that may have a correlation relationship are selected, and the valid historical vehicle navigation data and the valid historical vehicle laser communication data are correlated using a data analysis method to generate a correlation data set.
3. The method according to claim 2, characterized in that The selecting of valid on-board navigation history data and valid on-board laser communication data that may have a correlation relationship, using a data analysis method to correlate the valid on-board navigation history data and the valid on-board laser communication data, and generating a correlation data set, includes: Obtain the main influencing factors of the vehicle operating environment on the quality of vehicle laser communication; According to the influencing factors, the valid historical vehicle navigation data and the valid historical vehicle laser communication data that may have a correlation are preliminarily screened out; wherein the valid historical vehicle laser communication data includes valid: the current vehicle laser communication equipment data and the target vehicle laser communication equipment data; Determine the characteristic variables and the target variables, and use the data analysis method to calculate the correlation between each of the valid vehicle navigation history data and the current vehicle laser communication equipment data in the valid historical vehicle laser communication data at the same time, and obtain the corresponding correlation coefficient; According to the preset correlation threshold and the correlation coefficient, data groups with strong correlation are screened out, and a correlation data set is generated.
4. The method according to claim 1, characterized in that: The constructing of a vehicle trajectory prediction model based on the valid on-board navigation history data in the associated data set includes: Extracting valid vehicle navigation history data from the associated data set, and performing feature extraction on the valid vehicle navigation history data to obtain typical trajectory data; Using a sliding window method to divide the typical trajectory data to obtain a typical trajectory data set; Taking the trajectory data at each moment in the typical trajectory data set as a sample, taking the trajectory data at the next moment corresponding to the sample as a sample label, and generating a training set according to each sample and its corresponding label; Determine the evaluation index of the model, and use the training set to train and update the model until the vehicle trajectory prediction model is generated.
5. The method according to claim 1, characterized in that The constructing of a beam drift prediction model based on the valid on-board navigation history data and the valid historical on-board laser communication data in the associated data set includes: Extracting features from the valid on-board navigation history data and the valid historical on-board laser communication data in the associated data set; The sliding window method is used to divide the data after feature extraction to obtain typical related data groups; Taking the typical associated data at each moment in the typical associated data group as a sample, taking the typical associated data at the next moment corresponding to the sample as a sample label, and generating a training set according to each sample and its corresponding label; An evaluation index of the model is determined, and the model is trained and updated using the training set until the beam drift prediction model is generated.
6. The method according to claim 1, characterized in that The collecting of real-time data of the vehicle-mounted laser communication device, and obtaining the beam drift amount of the vehicle at the next moment by using the beam drift amount prediction model according to the trajectory data of the vehicle at the next moment, comprises: Collecting real-time data of the vehicle-mounted laser communication equipment; and preprocessing the real-time data of the vehicle-mounted laser communication equipment; The preprocessed data and the trajectory data of the vehicle at the next moment are input into the light beam drift prediction model to obtain the light beam drift amount of the vehicle at the next moment.
7. The method according to claim 1, characterized in that According to the beam drift amount, driving the vehicle-mounted laser communication device to make corresponding adjustments to correct the beam pointing error and improve the advanced aiming accuracy includes: Based on the APT system, the adjustment parameters are calculated according to the light beam drift, and the vehicle-mounted laser communication equipment is driven to make corresponding adjustments according to the adjustment parameters to correct the pointing error of the light beam and improve the advanced aiming accuracy.
8. An advanced aiming accuracy optimization device, applied to a vehicle-mounted laser communication system, characterized in that: The device comprises: The first processing module is used to obtain valid vehicle navigation history data and valid historical vehicle laser communication data, and associate the two to generate an associated data set; A second processing module, configured to construct a vehicle trajectory prediction model based on the valid vehicle navigation history data in the associated data set; A third processing module is used to construct a beam drift prediction model based on the valid vehicle navigation history data and the valid historical vehicle laser communication data in the associated data set; The fourth processing module is used to collect real-time data of vehicle navigation and obtain the trajectory data of the vehicle at the next moment by using the vehicle trajectory prediction model; A fifth processing module is used to collect real-time data of the vehicle-mounted laser communication device, and obtain the beam drift amount of the vehicle at the next moment according to the trajectory data of the vehicle at the next moment by using the beam drift amount prediction model; The sixth processing module is used to drive the vehicle-mounted laser communication equipment to make corresponding adjustments according to the light beam drift amount, so as to correct the pointing error of the light beam and improve the advanced aiming accuracy.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-7.
Citation Information
Patent Citations
Laser radar ranging compensation system and method
CN110361714A
Laser scanning control method, device and equipment of laser and storage medium
CN116551215A
Automatic guided vehicle and method for drive control of the same
US20110301800A1
