Method and system for collecting, analyzing and correcting wind speed and direction data of marine ships
By collecting and integrating wind speed and direction data on ocean ships, and combining ship motion, meteorological and ocean state factors, a linear regression model is established for dynamic correction, which solves the problem of accuracy of wind speed and direction data collection on ocean ships and improves the accuracy of the data. and stability.
Patent Information
- Application Number
- CN202410702516.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-03
AI Technical Summary
It is difficult for ocean ships to accurately collect wind speed and direction data during navigation. Existing technology cannot effectively fuse different sensor data and combine historical data and marine meteorological models for correction, resulting in deviations in measurement data.
Adopt the collection, analysis and correction method of ocean ship wind speed and direction data, record wind speed and wind direction data through sensors, conduct data quality inspection and fusion, establish a linear regression model, use real-time and historical data to dynamically adjust correction parameters, and introduce ship motion, meteorology and oceanography State factors to establish a more refined correction model.
The accuracy and stability of wind speed and direction data are improved, and the correction model can be adjusted in time to adapt to environmental changes, ensuring data quality and practicality.
Smart Images

Figure CN118277960B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data analysis, and in particular to a method and system for collecting, analyzing and correcting wind speed and direction data of marine ships. Background Art
[0002] The accurate collection of wind speed and direction data by marine vessels during navigation is of great significance for ensuring navigation safety, improving fuel efficiency, and conducting marine environmental research. However, due to the complex and changeable marine environment, the measurement of wind speed and direction is often affected by many factors, such as waves, ship movement, atmospheric stability, etc., resulting in deviations in the measured data. Therefore, it is particularly important to effectively collect, analyze and correct wind speed and direction data. In the prior art, the data from a single sensor may not be sufficient to reflect the actual wind speed and direction conditions, and the data from different sensors cannot be effectively integrated and corrected in combination with historical data and marine meteorological models. In view of the above problems, the present invention proposes a method and system for collecting, analyzing and correcting wind speed and direction data of marine vessels to solve the above problems. Summary of the invention
[0003] The main purpose of the present invention is to provide a method and system for collecting, analyzing and correcting wind speed and direction data of marine vessels, so as to solve the problems raised in the related art.
[0004] In order to achieve the above object, according to one aspect of the present invention, a method for collecting, analyzing and correcting wind speed and direction data of marine ships is provided, comprising the following steps:
[0005] S1: Use sensors to record wind speed and direction data, collect meteorological data and ship data;
[0006] S2: Check and ensure the quality of each data and merge the wind speed and wind direction data;
[0007] S3: Based on historical data, a linear regression model is established to describe the relationship between the fused wind speed and wind direction and the influencing factors;
[0008] S4: Input the real-time collected data into the model, use the real-time data and historical data to estimate parameters, and dynamically adjust the correction parameters;
[0009] S5: Apply the corrected data to practical applications and provide timely feedback on data quality and correction effects to provide feedback for improvement.
[0010] Furthermore, each data in S1 includes real-time data and historical data.
[0011] Furthermore, in S2, checking data quality includes outlier checking, missing value checking, consistency checking, repeatability checking, and data distribution checking.
[0012] Furthermore, the expression for fusing wind speed and wind direction data in S2 is:
[0013] ;
[0014] ;
[0015] ;
[0016] ;
[0017] Where, V is the wind speed; for wind direction; is the horizontal wind volume of the wind vector; is the vertical wind volume of the wind vector; atan2 is the inverse tangent function, and the returned angle range is .
[0018] Furthermore, since the movement of the ship will lead to inaccurate measurement of wind direction and wind speed, the ship's speed, heading, pitch angle and roll angle are introduced into the expressions of the horizontal and vertical wind volume of the wind vector, and the expressions are:
[0019] ;
[0020] ;
[0021] in, is the speed of the ship; The direction of the ship's motion; is the pitch angle of the ship; is the ship's roll angle.
[0022] Furthermore, in S3, the initial expression of the linear regression model is:
[0023] ;
[0024] Among them, Y is the target variable; is p characteristic variables; is the coefficient of the model; is the error term.
[0025] Furthermore, in S4, the steps of parameter correction are as follows:
[0026] S41: Taking the horizontal and vertical wind volume of the wind vector as features, the influencing factors in data collection are introduced as additional features in the initial linear regression model. The expression is:
[0027] ;
[0028] in, is the atmospheric stability characteristic; is the humidity characteristic; is the temperature characteristic; and Synchronize the data collection time;
[0029] S42: Fit the linear regression model to obtain the coefficients of each feature , use the new characteristic data to predict and correct wind direction and wind speed, the expression is:
[0030] ;
[0031] ;
[0032] in, is the corrected wind speed; To predict the corrected wind direction; is the newly collected atmospheric stability feature; is the newly collected humidity feature; is the newly collected temperature feature; are the parameters of the wind speed correction model; are the parameters of the wind direction correction model; , , , and The data collection time is synchronized.
[0033] Furthermore, in addition to the weather affecting wind speed and direction, the state of the ocean also affects wind speed and direction. Therefore, the wave height and wavelength as well as the speed and direction of the current are introduced, and the linear regression model expression is:
[0034] ;
[0035] in, is the wave height; is the wavelength of the waves; is the ocean current speed; is the direction of the ocean current; , , , , , , , and The data collection time is synchronized.
[0036] Furthermore, the specific steps of S5 are as follows:
[0037] S51: Establish a data monitoring mechanism to regularly check the quality of corrected data, monitor the trend of data changes, and promptly detect abnormal situations;
[0038] S52: Compare the data before and after correction, evaluate the correction effect, use visualization methods to evaluate, and analyze the accuracy and stability of the corrected data to see whether the expected effect has been achieved;
[0039] S53: Establish a feedback mechanism to allow users or relevant personnel to provide timely feedback on data quality and correction effects, and collect user feedback, including the practicality, accuracy and reliability of the data;
[0040] S54: Based on user feedback and data monitoring results, take timely improvement measures, optimize correction algorithms or parameters, continuously improve data processing procedures, and improve data quality and correction effects.
[0041] According to another aspect of the present invention, a system for collecting, analyzing and correcting wind speed and direction data of marine vessels is provided, which is used to implement the above-mentioned method for collecting, analyzing and correcting wind speed and direction data of marine vessels, comprising:
[0042] Data acquisition unit: used to collect wind speed and direction data, meteorological data and ship data;
[0043] Preprocessing unit: used to perform quality inspection and data fusion on the collected data to ensure the accuracy and reliability of the data;
[0044] Modeling and correction unit: Establish a linear regression model based on historical data to analyze the relationship between the fused wind speed and direction data and various influencing factors;
[0045] Data feedback unit: used to apply the corrected data to practical applications and to provide feedback for improving data acquisition, processing and correction methods;
[0046] Database: used to store real-time collected wind speed and direction data, collect meteorological data and ship data, and record and save historical data of wind speed and direction, meteorology and ships.
[0047] Compared with the prior art, the present invention has the following beneficial effects: the present invention introduces ship motion factors, meteorological factors and ocean state factors, so that the correction model is more refined and comprehensive, and can more accurately correct wind speed and wind direction data, improve data quality, and dynamically adjust correction parameters through real-time data and historical data, so that the correction model can be adjusted in time with changes in the environment and conditions, thereby maintaining the accuracy and stability of the data. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 A flow chart of the overall method of the present invention;
[0049] Figure 2 The figure is a system block diagram of the present invention as a whole.
[0050] Illustration Description:
[0051] 1. Data acquisition unit; 2. Preprocessing unit; 3. Modeling and correction unit; 4. Data feedback unit; 5. Database. DETAILED DESCRIPTION
[0052] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the specific implementation mode, structure, characteristics and effects of the present invention are described in detail below in combination with the accompanying drawings and preferred embodiments.
[0053] Reference Figure 1 The present invention provides a method for collecting, analyzing and correcting wind speed and direction data of marine ships, comprising the following steps:
[0054] S1: Use sensors to record wind speed and direction data, collect meteorological data and ship data;
[0055] S2: Check and ensure the quality of each data and merge the wind speed and wind direction data;
[0056] S3: Based on historical data, a linear regression model is established to describe the relationship between the fused wind speed and wind direction and the influencing factors;
[0057] S4: Input the real-time collected data into the model, use the real-time data and historical data to estimate parameters, and dynamically adjust the correction parameters;
[0058] S5: Apply the corrected data to practical applications and provide timely feedback on data quality and correction effects to provide feedback for improvement.
[0059] Each data in S1 includes real-time data and historical data.
[0060] In S2, checking data quality includes outlier checking, missing value checking, consistency checking, repeatability checking, and data distribution checking.
[0061] The expression for fusing wind speed and wind direction data in S2 is:
[0062] ;
[0063] ;
[0064] ;
[0065] ;
[0066] Where, V is the wind speed; for wind direction; is the horizontal wind volume of the wind vector; is the vertical wind volume of the wind vector; atan2 is the inverse tangent function, and the returned angle range is .
[0067] Since the movement of the ship will lead to inaccurate measurement of wind direction and wind speed, the ship's speed, heading, pitch angle and roll angle are introduced into the expressions of horizontal and vertical wind volume of the wind vector. The expressions are:
[0068] ;
[0069] ;
[0070] in, is the speed of the ship; The direction of the ship's motion; is the pitch angle of the ship; is the ship's roll angle.
[0071] In S3, the initial expression of the linear regression model is:
[0072] ;
[0073] Among them, Y is the target variable; is p characteristic variables; is the coefficient of the model; is the error term.
[0074] In S4, the steps of parameter calibration are as follows:
[0075] S41: Taking the horizontal and vertical wind volume of the wind vector as features, the influencing factors in data collection are introduced as additional features in the initial linear regression model. The expression is:
[0076] ;
[0077] in, is the atmospheric stability characteristic; is the humidity characteristic; is the temperature characteristic; and Synchronize the data collection time;
[0078] S42: Fit the linear regression model to obtain the coefficients of each feature , use the new characteristic data to predict and correct wind direction and wind speed, the expression is:
[0079] ;
[0080] ;
[0081] in, is the corrected wind speed; To predict the corrected wind direction; is the newly collected atmospheric stability feature; is the newly collected humidity feature; is the newly collected temperature feature; are the parameters of the wind speed correction model; are the parameters of the wind direction correction model; , , , and The data collection time is synchronized.
[0082] In addition to the meteorological factors that affect wind speed and direction, the state of the ocean also affects wind speed and direction. Therefore, the wave height and wavelength as well as the speed and direction of the current are introduced, and the linear regression model expression is:
[0083] ;
[0084] in, is the wave height; is the wavelength of the waves; is the ocean current speed; is the direction of the ocean current; , , , , , , , and The data collection time is synchronized.
[0085] The specific steps of S5 are as follows:
[0086] S51: Establish a data monitoring mechanism to regularly check the quality of corrected data, monitor the trend of data changes, and promptly detect abnormal situations;
[0087] S52: Compare the data before and after correction, evaluate the correction effect, use visualization methods to evaluate, and analyze the accuracy and stability of the corrected data to see whether the expected effect has been achieved;
[0088] S53: Establish a feedback mechanism to allow users or relevant personnel to provide timely feedback on data quality and correction effects, and collect user feedback, including the practicality, accuracy and reliability of the data;
[0089] S54: Based on user feedback and data monitoring results, take timely improvement measures, optimize correction algorithms or parameters, continuously improve data processing procedures, and improve data quality and correction effects.
[0090] Reference Figure 2 The present invention provides a system for collecting, analyzing and correcting wind speed and direction data of marine ships, comprising:
[0091] Data collection unit 1: used to collect wind speed and direction data, meteorological data and ship data;
[0092] Preprocessing unit 2: used to perform quality inspection and data fusion on the collected data to ensure the accuracy and reliability of the data;
[0093] Modeling and correction unit 3: Establish a linear regression model based on historical data to analyze the relationship between the fused wind speed and direction data and various influencing factors;
[0094] Data feedback unit 4: used to apply the corrected data to practical applications and to provide feedback for improving data collection, processing and correction methods;
[0095] Database 5: used to store wind speed and direction data collected in real time, collect meteorological data and ship data, and record and save historical data of wind speed and direction, meteorology and ships.
[0096] In this embodiment, first, various sensors are used to record wind speed and direction data, collect meteorological data and ship data, and store them synchronously in a database, which includes a real-time database and a historical database; the historical database stores a large amount of wind speed and direction, meteorological and ship data, which is convenient for the establishment and training of later models. Check and ensure the quality of various data and fuse the wind speed and wind direction data. By fusing the wind speed and wind direction data, the error caused by a single sensor can be reduced, thereby improving the data quality;
[0097] Among them, checking data quality includes outlier check, missing value check, consistency check, repeatability check and data distribution check.
[0098] Among them, the data is fused by the vector synthesis method to synthesize the wind speed and wind direction data into a wind vector. The wind speed and wind direction can be converted into horizontal and vertical components using trigonometric functions, and then synthesized into a vector. The expression is:
[0099] ;
[0100] ;
[0101] ;
[0102] ;
[0103] Where, V is the wind speed; for wind direction; is the horizontal wind volume of the wind vector; is the vertical wind volume of the wind vector; atan2 is the inverse tangent function, and the returned angle range is , which can ensure that the direction of the wind vector is correctly reflected.
[0104] Since the movement of the ship will lead to inaccurate measurement of wind direction and wind speed, the ship's speed, heading, pitch angle and roll angle are introduced into the expressions of horizontal and vertical wind volume of the wind vector. The expressions are:
[0105] ;
[0106] ;
[0107] in, is the speed of the ship; The direction of the ship's motion; is the pitch angle of the ship; is the ship's roll angle.
[0108] The speed of the ship's movement will affect the wind speed measurement, especially when using a wind speed sensor relative to the hull, high-speed movement may cause an increase in the relative wind speed, thus affecting the measurement results; the change in the ship's heading will affect the relative direction of the wind received by the wind speed sensor, thereby affecting the measurement of wind direction; the up and down movement of the ship (pitch angle) will cause the angle between the wind speed sensor and the horizontal plane to change, which may affect the performance of the wind speed sensor; the ship's left and right swaying (roll angle) and rotation around its own axis (yaw) will also change the angle of the wind speed sensor relative to the wind direction, thereby affecting the measurement of wind direction; by considering the impact of multiple factors of the ship's motion on the wind vector, the fused wind vector can be calculated more accurately, thereby improving the accuracy and practicality of the wind speed and wind direction data.
[0109] Then, based on historical data, a linear regression model is established to describe the relationship between the fused wind speed and direction and the influencing factors;
[0110] The initial expression of the linear regression model is:
[0111] ;
[0112] Among them, Y is the target variable; is p characteristic variables; is the coefficient of the model; is the error term;
[0113] Furthermore, the real-time collected data is input into the model, and the real-time data and historical data are used to estimate the parameters, and the correction parameters are adjusted dynamically. The horizontal and vertical wind volumes of the wind vector are used as features, and other influencing factors in data collection are introduced as additional features in the initial linear regression model. The expression is:
[0114] ;
[0115] in, is the atmospheric stability characteristic; is the humidity characteristic; is the temperature characteristic; and The data collection time is synchronized, that is, the wind direction and speed, atmospheric stability, humidity and temperature are collected at the same time, ensuring the correct influence degree of the influencing factors.
[0116] Wind direction and speed are both affected by atmospheric stability, humidity, and temperature meteorological conditions, which directly affect the nature of wind. Atmospheric stability describes how the temperature in the atmosphere changes with altitude. When the atmosphere is stable, the temperature decreases slowly or remains almost constant with increasing altitude, which restricts vertical air flow, causing pollutants and other materials to spread horizontally along the surface. An unstable atmosphere allows vertical mixing, which can increase wind speed and change wind direction because rising warm air causes surrounding air to move. Therefore, atmospheric stability affects the vertical distribution of wind. Humidity and temperature affect air density. Moist air is lighter than dry air, which affects the formation and direction of wind. Changes in humidity also affect the stability of the atmosphere because water vapor releases or absorbs heat when it condenses or evaporates, which changes the air temperature and density distribution, affecting the measurement and prediction of wind speed.
[0117] Finally, the linear regression model is fitted to obtain the coefficients of each feature , use the new feature data to predict and correct the wind direction and wind speed, that is, the latest real-time data of influencing factors for prediction, the expression is:
[0118] ;
[0119] ;
[0120] in, is the corrected wind speed; To predict the corrected wind direction; is the newly collected atmospheric stability feature; is the newly collected humidity feature; is the newly collected temperature feature; are the parameters of the wind speed correction model; are the parameters of the wind direction correction model; , , , and The data collection time is synchronized.
[0121] In addition to the meteorological factors that affect wind speed and direction, the state of the ocean also affects wind speed and direction. Therefore, the wave height and wavelength as well as the speed and direction of the current are introduced, and the linear regression model expression is:
[0122] ;
[0123] in, is the wave height; is the wavelength of the waves; is the ocean current speed; is the direction of the ocean current; , , , , , , , and The data collection time is synchronized.
[0124] Similarly, after training with a large amount of historical data, the coefficients of each feature will be obtained, and then the new feature data will be used to predict and correct the wind direction and wind speed to obtain the final wind speed and wind direction prediction results.
[0125] Finally, the corrected data is applied in practical applications, and timely feedback on data quality and correction effect is given to provide feedback for improvement. Specifically: establish a data monitoring mechanism, regularly check the quality of corrected data, monitor the changing trend of data, and promptly discover abnormal situations; compare the data before and after correction, evaluate the correction effect, use visualization methods for evaluation, and analyze the accuracy and stability of the corrected data to see whether the expected effect has been achieved; establish a feedback mechanism so that users or relevant personnel can provide timely feedback on data quality and correction effect, and collect user feedback, including the practicality, accuracy and reliability of the data; according to user feedback and data monitoring results, take improvement measures in a timely manner, optimize the correction algorithm or parameters, continuously improve the data processing process, and improve data quality and correction effect.
[0126] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technical personnel in this field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present invention. However, any indirect modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still fall within the scope of the technical solution of the present invention.
Claims
1. A method for collecting, analyzing and correcting wind speed and direction data of marine ships, characterized in that: The steps include: S1: Use sensors to record wind speed and direction data, collect meteorological data and ship data; S2: Check and ensure the quality of each data and merge the wind speed and wind direction data; S3: Based on historical data, a linear regression model is established to describe the relationship between the fused wind speed and direction and the environment; S4: Input the real-time collected data into the model, use the real-time data and historical data to estimate parameters, and dynamically adjust the correction parameters; In S4, the steps of parameter calibration are as follows: S41: Taking the horizontal and vertical wind volume of the wind vector as features, the influencing factors in data collection are introduced as additional features in the initial linear regression model. The expression is: ; in, is the atmospheric stability characteristic; is the humidity characteristic; is the temperature characteristic; and The data collection time is synchronized, and the influencing factors are atmospheric stability, humidity and temperature; is the error term; S42: Fit the linear regression model to obtain the coefficients of each feature , use the new characteristic data to predict and correct wind direction and wind speed, the expression is: ; ; in, is the corrected wind speed; To predict the corrected wind direction; is the newly collected atmospheric stability feature; is the newly collected humidity feature; is the newly collected temperature feature; are the parameters of the wind speed correction model; are the parameters of the wind direction correction model; , , , and Time synchronization of data acquisition; S5: Apply the corrected data to practical applications and provide timely feedback on data quality and correction effects to provide feedback for improvement.
2. The method for collecting, analyzing and correcting wind speed and direction data of marine vessels according to claim 1 is characterized in that: Each data in S1 includes real-time data and historical data.
3. The method for collecting, analyzing and correcting wind speed and direction data of marine vessels according to claim 1, characterized in that: In S2, checking data quality includes outlier checking, missing value checking, consistency checking, repeatability checking, and data distribution checking.
4. The method for collecting, analyzing and correcting wind speed and direction data of marine vessels according to claim 1, characterized in that: The expression for fusing wind speed and wind direction data in S2 is: ; ; ; ; Where, V is the wind speed; for wind direction; is the horizontal wind volume of the wind vector; is the vertical wind volume of the wind vector; atan2 is the inverse tangent function, and the returned angle range is .
5. The method for collecting, analyzing and correcting wind speed and direction data of marine vessels according to claim 4 is characterized in that: Since the movement of the ship will lead to inaccurate measurement of wind direction and wind speed, the ship's speed, heading, pitch angle and roll angle are introduced into the expressions of the horizontal and vertical wind volume of the wind vector for optimization. The optimized expressions are: ; ; in, is the speed of the ship; The direction of the ship's motion; is the pitch angle of the ship; is the ship's roll angle.
6. The method for collecting, analyzing and correcting wind speed and direction data of marine vessels according to claim 1, characterized in that: In S3, the initial expression of the linear regression model is: ; Among them, Y is the target variable; is p characteristic variables; is the coefficient of the model; is the error term.
7. The method for collecting, analyzing and correcting wind speed and direction data of marine vessels according to claim 6 is characterized in that: In addition to the meteorological factors that affect wind speed and direction, the state of the ocean also affects wind speed and direction. Therefore, the wave height and wavelength as well as the speed and direction of the current are introduced, and the linear regression model expression is: ; in, is the wave height; is the wavelength of the waves; is the ocean current speed; is the direction of the ocean current; , , , , , , , and The data collection time is synchronized.
8. The method for collecting, analyzing and correcting wind speed and direction data of marine vessels according to claim 1, characterized in that: The specific steps of S5 are as follows: S51: Establish a data monitoring mechanism to regularly check the quality of corrected data, monitor the trend of data changes, and promptly detect abnormal situations; S52: Compare the data before and after correction, evaluate the correction effect, use visualization methods to evaluate, and analyze the accuracy and stability of the corrected data to see whether the expected effect has been achieved; S53: Establish a feedback mechanism to allow users or relevant personnel to provide timely feedback on data quality and correction effects, and collect user feedback, including the practicality, accuracy and reliability of the data; S54: Based on user feedback and data monitoring results, take timely improvement measures, optimize correction algorithms or parameters, continuously improve data processing procedures, and improve data quality and correction effects.
9. A system for collecting, analyzing and correcting wind speed and direction data of marine vessels, used to implement the method for collecting, analyzing and correcting wind speed and direction data of marine vessels according to any one of claims 1 to 8, characterized in that: include: Data collection unit (1): used to collect wind speed and direction data, meteorological data and ship data; Preprocessing unit (2): used to perform quality inspection and data fusion on the collected data to ensure the accuracy and reliability of the data; Modeling and correction unit (3): Establishing a linear regression model based on historical data to analyze the relationship between the fused wind speed and direction data and the environment; Data feedback unit (4): used to apply the corrected data to practical applications and to provide feedback for improving data collection, processing and correction methods; Database (5): used to store wind speed and direction data collected in real time, collect meteorological data and ship data, and record and preserve historical data of wind speed and direction, meteorology and ships.
