Method and device for measuring azimuth angle of base station antenna, electronic equipment and storage medium
The method uses a gravity-based laser device and AI-enhanced calculation model to accurately and efficiently measure the azimuth angle of base station antennas, addressing the inaccuracies and inefficiencies of existing methods.
Patent Information
- Application Number
- CN202411312146.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2024-12-27
AI Technical Summary
Existing methods for measuring the azimuth angle of wireless communication base station antennas, such as theodolite and GPS positioning, are complex, inaccurate, and costly, with long measurement cycles and high error rates.
A method using a gravity-based horizontal laser device to emit laser rays at multiple points, combined with an azimuth calculation model that includes a stereoscopic space algorithm, data correction function, and convergent linear regression tuning to calculate the azimuth angle, ensuring high accuracy and efficiency.
The method provides precise and automated azimuth angle measurement of base station antennas, improving measurement accuracy and efficiency by combining laser technology with artificial intelligence models.
Smart Images

Figure CN119197449A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of mobile wireless communications, and in particular to a method and device for measuring the azimuth angle of a base station antenna, an electronic device and a storage medium. Background Art
[0002] With the rapid advancement of 5G technology, the use of wireless communication base stations (for example, microwave communication base stations) is increasing day by day. The antenna azimuth of wireless communication base stations is an important parameter for the construction and operation and maintenance of wireless communication base stations. The antenna azimuth of a wireless communication base station directly affects the received signal strength and coverage of the wireless communication base station. It is one of the key parameters in the construction and operation and maintenance of wireless communication base stations, and has a significant impact on the performance and coverage of wireless communication base stations.
[0003] At present, there are mainly the following methods for measuring the azimuth angle of wireless communication base station antennas:
[0004] First, electronic theodolite is used for measurement. The theodolite measurement method is complex to operate, has a long measurement cycle, has high requirements for the meteorological environment, and is easily affected by climate change. Manual operation is required during the theodolite measurement process, the measurement accuracy is not high, and the error is large.
[0005] Second, GPS positioning measurement is used. The GPS positioning measurement method requires additional base station GPS positioning data. It is difficult to obtain GPS positioning data, and the GPS positioning data is not accurate and has large errors.
[0006] In summary, the prior art generally has the problems of complex measurement methods, low measurement precision, low accuracy of measurement results, long measurement cycle, inconvenience in carrying and high measurement cost.
[0007] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0008] The embodiments of the present invention provide a method and device for measuring the azimuth angle of a base station antenna, an electronic device and a storage medium, so as to at least solve the technical problem in the related art that the azimuth angle of a base station antenna is measured by compass measurement or GPS technology, and the measurement result has low accuracy.
[0009] According to one aspect of an embodiment of the present invention, a method for measuring the azimuth angle of a base station antenna is provided, comprising: determining a base station antenna to be measured and a plane where the base station antenna is located, using a gravity-based horizontal laser device to incident laser rays onto the plane where the base station antenna is located at M measuring points, and recording laser data at each measuring point, wherein the laser data at least includes: the length of each laser ray, the horizontal incident angle of each laser ray, and the height of a light spot formed by each laser ray on the plane where the base station antenna is located, and M is a positive integer; inputting the laser data of each measuring point into the azimuth angle calculation The model outputs the azimuth of the base station antenna corresponding to each of the measuring points, wherein the azimuth of the base station antenna represents the angle between the north reference line and the projection of the normal of the base station antenna on the horizontal ground, and the normal is perpendicular to the plane where the base station antenna is located; the azimuth difference of the base station antenna azimuth corresponding to every two of the measuring points is calculated to obtain the azimuth difference set of the base station antenna; when each of the azimuth differences in the azimuth difference set of the base station antenna is less than the difference threshold, the average value of the base station antenna azimuth corresponding to the M measuring points is calculated to obtain the azimuth of the base station antenna.
[0010] Optionally, the step of incident laser rays at M measuring points on the plane where the base station antenna is located based on a gravity-horizontal laser device includes: selecting M measuring points on the ground where the base station is located; deploying the gravity-horizontal laser device at each measuring point, and incident the laser rays at three non-collinear positions of the plane where the base station antenna is located through the gravity-horizontal laser device, wherein a triangular plane is determined by incidenting the laser rays at three non-collinear positions of the plane where the base station antenna is located, and the azimuth of the base station antenna is calculated through the triangular plane.
[0011] Optionally, the step of recording the laser data of each measuring point includes: reading the length of each laser ray by laser ranging; measuring the angle between each laser ray and the ground to obtain the horizontal incident angle of the laser ray; calculating the height of the spot formed by each laser ray in the plane where the base station antenna is located based on the length and the horizontal incident angle of each laser ray; and obtaining the laser data of each measuring point based on the length of the three laser rays of each measuring point, the horizontal incident angle and the height of the spot.
[0012] Optionally, the azimuth calculation model is pre-trained, and the steps of training the azimuth calculation model include: selecting K target base station antennas for training, incident laser rays on the plane where the target base station antennas are located based on the gravity horizontal laser device, and collecting measurement data of the target base station antennas, where K is a positive integer; obtaining the true azimuth value of each of the target base station antennas, and constructing sample data based on the measurement data of the K target base station antennas and the true azimuth value; constructing an azimuth stereoscopic space algorithm model, a data correction function model and a convergent linear regression tuning function model to obtain an initial azimuth calculation model; iteratively training the initial azimuth calculation model based on the sample data to obtain the azimuth calculation model after training.
[0013] Optionally, the steps of iteratively training and tuning the initial azimuth calculation model based on the sample data to obtain a trained azimuth calculation model include: step one, selecting the measurement data of the target measurement point from the sample data, and calculating the measurement data of the target measurement point based on the initial azimuth stereoscopic space algorithm model to obtain the azimuth measurement value corresponding to the target measurement point; step two, calculating the azimuth measurement value of the target measurement point and the true azimuth value of the base station antenna based on the data correction function model to obtain the azimuth deviation; step three, comparing the absolute value of the azimuth deviation with a deviation threshold to obtain a comparison result; step four, when the comparison result indicates that the absolute value of the azimuth deviation is greater than the deviation threshold, removing the measurement data of the target measurement point from the sample data to obtain new sample data; repeating the above steps one to four to iteratively train the initial azimuth calculation model until there is no measurement data of the target measurement point that can be removed in the sample data, and obtaining the trained azimuth calculation model.
[0014] Optionally, the step of calculating the measurement data of the target measurement point based on the initial azimuth stereoscopic space algorithm model to obtain the azimuth measurement value corresponding to the target measurement point includes: constructing the position coordinates of each light spot formed by each laser ray of the target measurement point in the plane where the base station antenna is located based on the measurement data of the target measurement point; determining the first vector coordinates and the second vector coordinates in the triangular plane composed of the light spots based on the position coordinates of each light spot; constructing an augmented matrix of the normal vector of the plane where the base station antenna is located based on the first vector coordinates and the second vector coordinates, and obtaining a coefficient matrix based on the augmented matrix; calculating the position coordinates of the normal vector based on the augmented matrix and the coefficient matrix; calculating the azimuth of the plane where the base station antenna is located based on the position coordinates of the normal vector, and obtaining the azimuth measurement value corresponding to the target measurement point.
[0015] Optionally, after obtaining the comparison result, it also includes: when the comparison result indicates that the absolute value of the azimuth deviation is less than or equal to the deviation threshold, obtaining the projection coordinates of the normal vector in the XY plane based on the position coordinates of the corresponding normal vector under the target measurement point; obtaining the normal vector projection reference coordinates of the base station antenna; calculating the projection coordinates of the normal vector in the XY plane and the normal vector projection reference coordinates based on a convergence linear regression tuning function model to obtain a convergence value; comparing the convergence value with the convergence threshold to obtain a comparison result; when the comparison result indicates that the convergence value is less than the convergence threshold, removing the measurement data of the target measurement point from the sample data.
[0016] According to another aspect of an embodiment of the present invention, there is also provided a device for measuring the azimuth angle of a base station antenna, comprising: a recording unit, for determining the base station antenna to be measured and the plane where the base station antenna is located, a gravity-based horizontal laser device incident laser rays on the plane where the base station antenna is located at M measuring points, and recording laser data of each measuring point, wherein the laser data at least includes: the length of each of the laser rays, the horizontal incident angle of each of the laser rays, the height of the light spot formed by each of the laser rays on the plane where the base station antenna is located, and M is a positive integer; an output unit, for inputting the laser data of each of the measuring points into the azimuth angle calculation unit. A model is provided for outputting the azimuth of the base station antenna corresponding to each of the measuring points, wherein the azimuth of the base station antenna represents the angle between the north reference line and the projection of the normal of the base station antenna on the horizontal ground, and the normal is perpendicular to the plane where the base station antenna is located; a calculation unit is provided for calculating the azimuth difference of the base station antenna azimuth corresponding to every two of the measuring points to obtain the azimuth difference set of the base station antenna; and an acquisition unit is provided for calculating the average value of the azimuth of the base station antenna corresponding to M of the measuring points when each azimuth difference in the azimuth difference set of the base station antenna is less than a difference threshold to obtain the azimuth of the base station antenna.
[0017] Optionally, the recording unit includes: a first selection subunit, used to select M measurement points on the ground where the base station is located; and a first deployment subunit, used to deploy the gravity level laser device at each measurement point, and to use the gravity level laser device to incident the laser rays on three non-collinear positions of the plane where the base station antenna is located, wherein a triangular plane is determined by incidenting the laser rays on the three non-collinear positions of the plane where the base station antenna is located, and the azimuth of the base station antenna is calculated through the triangular plane.
[0018] Optionally, the recording unit also includes: a first reading subunit, used to read the length of each of the laser rays by laser ranging; a first measuring subunit, used to measure the angle between each of the laser rays and the ground to obtain the horizontal incident angle of the laser ray; a first calculating subunit, used to calculate the height of the spot formed by each of the laser rays in the plane where the base station antenna is located based on the length of each of the laser rays and the horizontal incident angle; and a first acquiring subunit, used to obtain the laser data of each of the measuring points based on the lengths of the three laser rays of each measuring point, the horizontal incident angle and the height of the spot.
[0019] Optionally, the device for measuring the azimuth angle of the base station antenna also includes: a second selection subunit, used to select K target base station antennas for training, based on the gravity horizontal laser device to incident laser rays on the plane where the target base station antenna is located, and collect measurement data of the target base station antenna, K is a positive integer; a second acquisition subunit, used to obtain the true value of the azimuth angle of each target base station antenna, and construct sample data based on the measurement data of the K target base station antennas and the true value of the azimuth angle; a first construction subunit, used to construct an azimuth angle stereoscopic space algorithm model, a data correction function model and a convergent linear regression tuning function model to obtain an initial azimuth angle calculation model; a first training subunit, used to iteratively train the initial azimuth angle calculation model based on the sample data to obtain the azimuth angle calculation model after training.
[0020] Optionally, the first training subunit includes: a first calculation module, used for step one, selecting the measurement data of the target measurement point from the sample data, and calculating the measurement data of the target measurement point based on the initial azimuth stereoscopic space algorithm model to obtain the azimuth measurement value corresponding to the target measurement point; a second calculation module, used for step two, calculating the azimuth measurement value of the target measurement point and the true azimuth value of the base station antenna based on the data correction function model to obtain the azimuth deviation; a first comparison module, used for step three, comparing the absolute value of the azimuth deviation with a deviation threshold to obtain a comparison result; a first elimination module, used for step four, when the comparison result indicates that the absolute value of the azimuth deviation is greater than the deviation threshold, eliminating the measurement data of the target measurement point from the sample data to obtain new sample data; a first repetition module, used to repeat the above steps one to four, iteratively train the initial azimuth calculation model until there is no measurement data of the target measurement point that can be eliminated in the sample data, and a trained azimuth calculation model is obtained.
[0021] Optionally, the first calculation module includes: a first construction submodule, used to construct the position coordinates of each light spot formed by each laser ray of the target measurement point in the plane where the base station antenna is located based on the measurement data of the target measurement point; a first determination submodule, used to determine the first vector coordinates and the second vector coordinates in the triangular plane composed of the light spots based on the position coordinates of each light spot; a second construction submodule, used to construct an augmented matrix of the normal vector of the plane where the base station antenna is located based on the first vector coordinates and the second vector coordinates, and obtain a coefficient matrix based on the augmented matrix; a first calculation submodule, used to calculate the position coordinates of the normal vector based on the augmented matrix and the coefficient matrix; a second calculation submodule, used to calculate the azimuth of the plane where the base station antenna is located based on the position coordinates of the normal vector, and obtain the azimuth measurement value corresponding to the target measurement point.
[0022] Optionally, the first training subunit also includes: a first acquisition module, used to obtain the projection coordinates of the normal vector in the XY plane based on the position coordinates of the corresponding normal vector under the target measurement point when the comparison result indicates that the absolute value of the azimuth deviation is less than or equal to the deviation threshold; a second acquisition module, used to obtain the normal vector projection reference coordinates of the base station antenna; a third calculation module, used to calculate the projection coordinates of the normal vector in the XY plane and the normal vector projection reference coordinates based on a convergent linear regression tuning function model to obtain a convergence value; a first comparison module, used to compare the convergence value with a convergence threshold to obtain a comparison result; a second elimination module, used to eliminate the measurement data of the target measurement point from the sample data when the comparison result indicates that the convergence value is less than the convergence threshold.
[0023] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any of the above-mentioned base station antenna azimuth measurement methods.
[0024] According to another aspect of an embodiment of the present invention, an electronic device is also provided, including one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the above-mentioned methods for measuring the azimuth angle of the base station antenna.
[0025] In the present application, the following steps are performed: first, the base station antenna to be measured and the plane where the base station antenna is located are determined; based on the gravity horizontal laser device, a laser ray is incident on the plane where the base station antenna is located at M measuring points, and the laser data of each measuring point is recorded, wherein the laser data at least includes: the length of each laser ray, the horizontal incident angle of each laser ray, the height of the light spot formed by each laser ray on the plane where the base station antenna is located, and M is a positive integer; and the laser data of each measuring point is input into the azimuth calculation model, and the azimuth of the base station antenna corresponding to each measuring point is output, wherein the azimuth of the base station antenna represents the angle between the north reference line and the projection of the normal of the base station antenna on the horizontal ground, and the normal is perpendicular to the plane where the base station antenna is located; and then the azimuth difference of the base station antenna azimuth corresponding to each two measuring points is calculated to obtain the azimuth difference set of the base station antenna; and finally, when each azimuth difference in the azimuth difference set of the base station antenna is less than the difference threshold, the average value of the base station antenna azimuth corresponding to the M measuring points is calculated to obtain the azimuth of the base station antenna.
[0026] In the present application, a gravity-level laser device is used to emit a laser beam to the plane where the base station antenna to be measured is located, and laser data of the laser beam emitted from the measuring point is collected. The laser data of the laser beam is calculated by a pre-trained azimuth calculation model, and the base station antenna azimuth corresponding to each measuring point is output. It is ensured that the output azimuths of multiple base station antennas are within an appropriate range. The final base station antenna azimuth is obtained by taking the average value, thereby realizing automatic measurement of the base station antenna azimuth. Laser measurement and artificial intelligence are combined to improve measurement efficiency while also improving the accuracy of measurement results, thereby solving the technical problem of low accuracy of measurement results in related technologies when measuring the azimuth of base station antennas through compass measurement or GPS technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0028] Figure 1 is a flow chart of an optional method for measuring the azimuth angle of a base station antenna according to an embodiment of the present invention;
[0029] Figure 2 is a schematic diagram of an optional measurement process of a base station antenna azimuth angle according to an embodiment of the present invention;
[0030] Figure 3 is a schematic diagram of an optional measurement principle of the azimuth angle of a base station antenna according to an embodiment of the present invention;
[0031] Figure 4is a spatial three-dimensional diagram of an optional measurement of the azimuth angle of a base station antenna according to an embodiment of the present invention;
[0032] Figure 5 is a schematic diagram of an optional device for measuring the azimuth angle of a base station antenna according to an embodiment of the present invention;
[0033] Figure 6 The present invention is a hardware structure block diagram of an electronic device (or mobile device) for measuring a method for measuring an azimuth angle of a base station antenna according to an embodiment of the present invention. DETAILED DESCRIPTION
[0034] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0035] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0036] It should be noted that the method and device for measuring the azimuth angle of the base station antenna in the present application can be used in the field of mobile wireless communication technology when the azimuth angle of the base station antenna is precisely measured, and can also be used in any field other than the field of mobile wireless communication technology when the azimuth angle of the base station antenna is precisely measured. The application field of the method and device for measuring the azimuth angle of the base station antenna in the present application is not limited.
[0037] It should be noted that the relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant regions, take necessary confidentiality measures, do not violate public order and good customs, and provide corresponding operation entrances for users to choose to authorize or refuse. For example, an interface is set up between this system and relevant users or organizations. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.
[0038] It should be noted that in this application, when collecting and analyzing customer information, corresponding operation entrances are provided for users to choose to agree or reject the automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered.
[0039] The following embodiments of the present invention can be applied to various systems / applications / devices for measuring the azimuth of base station antennas. The present invention automatically measures the azimuth of base station antennas through a gravity horizontal laser device and an azimuth calculation model, thereby improving the efficiency of base station antenna azimuth measurement and the accuracy of measurement results. The azimuth calculation model is composed of an azimuth stereoscopic space algorithm model, a data correction function model, and a convergent linear regression tuning function model. The azimuth stereoscopic space algorithm model determines the direction of the base station antenna surface and its normal vector through a laser three-point surface determination method, and then calculates the azimuth of the base station antenna, which can accurately calculate the azimuth. The data correction function model and the convergent linear regression tuning function model iteratively tune the azimuth stereoscopic space algorithm model to ensure the accuracy of the azimuth stereoscopic space algorithm model and improve the accuracy of the azimuth calculation results.
[0040] The present invention is described in detail below in conjunction with various embodiments.
[0041] Embodiment 1
[0042] According to an embodiment of the present invention, an embodiment of a method for measuring the azimuth angle of a base station antenna is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0043] Figure 1 is a flow chart of an optional method for measuring the azimuth angle of a base station antenna according to an embodiment of the present invention, such as Figure 1 As shown, the method comprises the following steps:
[0044] Step S101, determine the base station antenna to be measured and the plane where the base station antenna is located, use a gravity-based horizontal laser device to irradiate laser rays at M measuring points on the plane where the base station antenna is located, and record laser data at each measuring point.
[0045] It should be noted that the base station antenna is a key component in the base station system for transmitting and receiving radio signals. The design and performance of the antenna directly affect the coverage, signal strength and communication quality of the base station. The base station antenna is usually installed on the top or high up of the base station to increase the transmission distance and reception range of the signal.
[0046] Measuring the azimuth of base station antennas is a key task in the optimization and maintenance of wireless communication networks. The azimuth of base station antennas refers to the horizontal angle between the antenna radiation direction and the north direction. The azimuth of the base station antenna determines the direction of its radiated signal. Ensuring that the antenna points to the target coverage area can maximize the coverage and strength of the signal, reduce blind spots and overlapping coverage, and thus improve the overall performance of the network and user experience. In the daily operation and maintenance of mobile communication base stations, in order to cope with factors such as changes in user distribution and the impact of buildings, it is necessary to regularly adjust the azimuth of the base station antenna to optimize network performance. By accurately measuring the azimuth of the base station antenna and adjusting the azimuth of the base station antenna in time according to demand, it is possible to reduce interference from neighboring cells and improve the signal-to-noise ratio of the network, thereby improving call quality and data transmission rate. However, since base station antennas are generally installed at higher positions, it is difficult to directly measure the azimuth.
[0047] It should be noted that after installing a communication base station, it is necessary to regularly optimize and maintain the installed base station, select the base station antenna to be measured, and determine the plane where the base station antenna is located. A gravity horizontal laser device is deployed on the vertical ground where the base station antenna is located. The gravity horizontal laser device includes one or more laser transmitters and a built-in gravity sensor. The gravity sensor can ensure that the laser beam is absolutely horizontal with the ground when it is emitted, which helps to accurately measure the azimuth of the base station antenna. It should be noted that when measuring the azimuth, laser beams can be emitted to the plane where the base station antenna is located at multiple measurement points on the horizontal ground perpendicular to the laser antenna, and the laser data of each laser beam at each measurement point is recorded. The laser data at least includes: the length of each laser beam, the horizontal incident angle of each laser beam, and the height of the light spot formed by each laser beam on the plane where the base station antenna is located. The length and horizontal incident angle of the laser beam can be directly measured, and the height of the light spot formed by the laser beam on the plane where the base station antenna is located can be calculated by the length and horizontal incident angle of the laser beam.
[0048] Optionally, the step of incident laser rays at M measuring points on the plane where the base station antenna is located based on a gravity horizontal laser device includes: selecting M measuring points on the ground where the base station is located; deploying a gravity horizontal laser device at each measuring point, and incident laser rays at three non-collinear positions of the plane where the base station antenna is located through the gravity horizontal laser device, wherein a triangular plane is determined by incident laser rays at the three non-collinear positions of the plane where the base station antenna is located, and the azimuth of the base station antenna is calculated through the triangular plane.
[0049] It should be noted that when a gravity-level laser device is used to project laser rays onto the plane where the base station antenna is located, it is first necessary to select multiple measurement points on the ground where the base station is located. The selection of measurement points should cover different directions around the base station antenna to ensure that comprehensive and accurate measurement data is obtained and improve the accuracy of the calculation results. At each selected measurement point, a gravity-level laser device is deployed to ensure that it is stable and horizontal, and then lasers are emitted to three non-collinear positions on the plane where the antenna is located (ensuring that the three points are not on the same straight line). A unique triangular plane can be determined on the surface of the base station antenna through the three non-collinear positions. By calculating the normal (the straight line perpendicular to the plane) of the triangular plane determined by the three incident points, the radiation direction of the antenna can be obtained, and the projection vector of the normal on the horizontal ground can be determined. Then, the azimuth of the base station antenna can be calculated through the angle between the vector and the magnetic north direction.
[0050] Optionally, the step of recording the laser data of each measuring point includes: reading the length of each laser ray by laser ranging; measuring the angle between each laser ray and the ground to obtain the horizontal incident angle of the laser ray; calculating the height of the spot formed by each laser ray in the plane where the base station antenna is located based on the length of each laser ray and the horizontal incident angle; and obtaining the laser data of each measuring point based on the length of the three laser rays at each measuring point, the horizontal incident angle and the height of the spot.
[0051] It should be noted that the length of the laser beam can be obtained through laser ranging. The laser device sends a laser pulse and receives the reflected light pulse, and records the emission time of the laser beam and the time when the gravity level laser device receives the light pulse reflected by the laser beam, thereby calculating the flight time of the laser pulse. The distance from the laser emission point to the laser reflection point is calculated based on the flight time of the laser pulse and the laser light speed, thereby obtaining the length of the laser beam.
[0052] It should be noted that the horizontal incident angle of the laser beam is measured based on the measuring tool, and the horizontal incident angle refers to the angle between the laser beam in the beam direction and the horizontal ground.
[0053] It should be noted that the height of the spot formed by the laser beam in the plane where the base station antenna is located can be calculated by the cosine theorem, and the laser data of each measuring point can be obtained based on the length of the three laser beams at each measuring point, the horizontal incident angle and the height of the spot.
[0054] Step S102: input the laser data of each measuring point into the azimuth angle calculation model, and output the base station antenna azimuth angle corresponding to each measuring point.
[0055] It should be noted that after obtaining the laser data of the base station antenna to be measured, the laser data of each measurement point is input into the azimuth calculation model one by one, and the measurement data is calculated by the azimuth stereoscopic space algorithm model of the azimuth calculation model to output the azimuth of the base station antenna corresponding to each measurement point.
[0056] It should be noted that the azimuth of the base station antenna represents the angle between the north reference line and the projection of the normal line of the base station antenna on the horizontal ground. The normal line is perpendicular to the plane where the base station antenna is located. The normal line of the base station antenna can be determined by three points, and then the azimuth of the base station antenna can be calculated based on the normal line vector.
[0057] Optionally, the azimuth calculation model is pre-trained, and the steps of training the azimuth calculation model include: selecting K target base station antennas for training, incident laser rays on the plane where the target base station antennas are located based on a gravity horizontal laser device, and collecting measurement data of the target base station antennas, where K is a positive integer; obtaining the true azimuth value of each target base station antenna, and constructing sample data based on the measurement data of the K target base station antennas and the true azimuth value; constructing an azimuth stereoscopic space algorithm model, a data correction function model and a convergent linear regression tuning function model to obtain an initial azimuth calculation model; iteratively training the initial azimuth calculation model based on the sample data to obtain the azimuth calculation model after training.
[0058] It should be noted that the azimuth calculation model is calculated through a large amount of training data. The laser data of the base station antenna with a known azimuth is collected to construct the training data. The training data is calculated through the azimuth stereoscopic space algorithm model to calculate the azimuth measurement value. The azimuth stereoscopic space algorithm model is iterated and tuned through the data correction function model and the convergence linear regression tuning function model to reduce the gap between the azimuth measurement value and the true value of the azimuth. At the same time, the calculated normal light beam is infinitely concentrated from the scattered mode to converge in one direction, thereby improving the accuracy of the model output results and realizing the accurate calculation of the azimuth of the base station antenna.
[0059] Specifically, in the process of iterative training and tuning of the initial azimuth calculation model, it is first necessary to construct training data, select multiple base station antennas with known azimuths as target base station antennas for model training, and use a gravity-based horizontal laser device to emit laser rays to multiple measurement points corresponding to the target base station antennas. Each measurement point emits laser rays to three non-collinear positions on the surface of the base station antenna, thereby achieving three-point surface determination, and recording the laser data of the laser rays to obtain measurement data. At the same time, the true value of the azimuth of each base station antenna is obtained, and the true value of the azimuth of each base station antenna and the measurement data are integrated to obtain sample data for model training.
[0060] It should be noted that after obtaining the sample data, it is necessary to construct an azimuth stereoscopic space algorithm model, a data correction function model and a convergent linear regression tuning function model. The azimuth stereoscopic space algorithm model adopts an algorithm for determining the azimuth of the base station antenna by three-point plane determination. By constructing a three-dimensional space coordinate system and establishing fixed-point coordinates based on the laser data of the base station antenna, the plane normal vector and azimuth of the base station antenna are calculated; the data correction function model and the convergent linear regression tuning function model are used to tune the azimuth stereoscopic space algorithm model. The data correction function model tunes the model by minimizing the error between the azimuth measurement value and the true value of the azimuth, and the convergent linear regression tuning function model tunes the model by converging the normal beam direction of the base station antenna.
[0061] Optionally, the steps of iteratively training and tuning the initial azimuth calculation model based on the sample data to obtain the trained azimuth calculation model include: step one, selecting the measurement data of the target measurement point from the sample data, and calculating the measurement data of the target measurement point based on the initial azimuth stereoscopic space algorithm model to obtain the azimuth measurement value corresponding to the target measurement point; step two, calculating the azimuth measurement value of the target measurement point and the true azimuth value of the base station antenna based on the data correction function model to obtain the azimuth deviation; step three, comparing the absolute value of the azimuth deviation with the deviation threshold to obtain a comparison result; step four, when the comparison result indicates that the absolute value of the azimuth deviation is greater than the deviation threshold, removing the measurement data of the target measurement point from the sample data to obtain new sample data; repeating the above steps one to four to iteratively train the initial azimuth calculation model until there is no measurement data of the target measurement point that can be removed in the sample data, and obtaining the trained azimuth calculation model.
[0062] In the process of iterative training and tuning of the initial azimuth calculation model, the sample data is first input into the initial azimuth stereoscopic space algorithm model, and the measurement data of each measurement point is calculated by the initial azimuth stereoscopic space algorithm model to obtain the azimuth measurement value corresponding to each measurement point. For the azimuth of the target measurement point, the azimuth deviation between the true value of the azimuth of the target measurement point and the azimuth measurement value is calculated by the data correction function model, and the data with abnormal deviation is eliminated according to the set deviation threshold to obtain updated sample data. After repeated iterations, new sample data is used for training each time until there is no measurement data that can be eliminated in the sample data, and a trained azimuth calculation model is obtained.
[0063] Optionally, the measurement data of the target measurement point is calculated based on the initial azimuth stereoscopic space algorithm model to obtain the azimuth measurement value corresponding to the target measurement point, including: constructing the position coordinates of each light spot formed by each laser ray of the target measurement point in the plane where the base station antenna is located based on the measurement data of the target measurement point; determining the first vector coordinates and the second vector coordinates in the triangular plane composed of the light spots based on the position coordinates of each light spot; constructing an augmented matrix of the normal vector of the plane where the base station antenna is located based on the first vector coordinates and the second vector coordinates, and obtaining a coefficient matrix based on the augmented matrix; calculating the position coordinates of the normal vector based on the augmented matrix and the coefficient matrix; calculating the azimuth of the plane where the base station antenna is located based on the position coordinates of the normal vector, and obtaining the azimuth measurement value corresponding to the target measurement point.
[0064] It should be noted that when the initial azimuth angle stereoscopic space algorithm model measures the data of the target measurement point, it takes the target measurement point as the center, establishes a three-dimensional coordinate system based on the target measurement point O, and constructs the position coordinates of the laser beam corresponding to the light spot based on the measurement data of the target measurement point. For example, the position coordinates of the incident point A1 of the ray OA1 on the surface of the antenna in the three-dimensional coordinate system of the stereoscopic space are A1 (x1, y1, z1), then That is, the position coordinates of the spot A of ray OA1 in the three-dimensional coordinate system of the stereoscopic space are: Similarly, the position coordinates of the light spots A2 and A3 of the rays OA2 and OA3 in the three-dimensional space centered at the target measurement point O are:
[0065] Then, the first vector coordinates and the second vector coordinates in the triangular plane composed of the light spots are determined based on the position coordinates of each light spot. Taking points A1, A2, and A3 as an example, in the antenna plane A1A2A3, the vector coordinates of vector A1A2 and vector A1A3 are respectively:
[0066] Then transform the vector coordinates, assuming: a13=h2-h1,
[0067] Then the vector coordinates of vector A1A2 and vector A1A3 are converted to: vector A1A2 = (a11, a12, a13), vector A1A3 = (a21, a22, a23).
[0068] In this way, the base station antenna plane basis can be constructed, and the antenna normal vector is solved based on the antenna plane basis.
[0069] The antenna surface normal vector is expressed as n = (x, y, z). Next, the antenna surface normal vector solution logic is constructed:
[0070] First, construct the augmented matrix of the normal vector n: and where a 33 =1,
[0071] After linear operation, the normal vector coordinate value of the plane where the antenna is located can be obtained:
[0072]
[0073] Then the normal vector coordinates corresponding to the normal line of the plane where the antenna is located are 1), according to the normal vector coordinates, the projection vector of the normal vector on the XY plane can be calculated as
[0074] The final antenna azimuth is calculated based on the projection coordinates of the normal vector The azimuth angle measurement value of the base station antenna is calculated based on the laser three-point positioning.
[0075] Optionally, after obtaining the comparison result, it also includes: when the comparison result indicates that the absolute value of the azimuth deviation is less than or equal to the deviation threshold, obtaining the projection coordinates of the normal vector in the XY plane based on the position coordinates of the corresponding normal vector under the target measurement point; obtaining the normal vector projection reference coordinates of the base station antenna; calculating the projection coordinates of the normal vector in the XY plane and the normal vector projection reference coordinates based on a convergence linear regression tuning function model to obtain a convergence value; comparing the convergence value with the convergence threshold to obtain a comparison result; when the comparison result indicates that the convergence value is less than the convergence threshold, the measurement data of the target measurement point is removed from the sample data.
[0076] It should be noted that when tuning the model, the model can also be optimized through a convergent linear regression tuning function model. Specifically, after the normal vector corresponding to the target measurement point is calculated by the initial azimuth stereoscopic space algorithm model, the projection coordinates of the normal vector in the XY plane are obtained through the position coordinates of the normal vector, and the normal vector projection reference coordinates of the base station antenna are obtained. The normal vector projection coordinates and the normal vector projection reference coordinates of the target measurement point are calculated through the convergent linear regression tuning function model to determine the normal convergence value calculated for the target measurement point. If the convergence value is less than the convergence threshold, indicating that the normal direction is significantly different from the reference center normal, the measurement data of the target measurement point is removed from the sample data to obtain new measurement data.
[0077] It should be noted that the normal vector projection reference coordinates of the base station antenna can be pre-set or calculated based on the true value of the azimuth angle of the base station antenna. The calculation formula of the convergence value can be expressed as:
[0078]
[0079] Among them, r is the convergence value, (x i ,y i ) is the projection coordinate of the normal line of the base station antenna measured at the target measurement point i on the normal vector in the XY plane, is the normal vector projection base coordinate.
[0080] Step S103, calculating the azimuth difference of the base station antenna azimuths corresponding to every two measurement points to obtain an azimuth difference set of the base station antennas.
[0081] It should be noted that in order to ensure the accuracy of the calculation results of the azimuth angle of the base station antenna, the embodiment of the present invention performs measurements and calculations from multiple different measurement points on the horizontal ground where the base station antenna is located. The calculation results of each measurement point will generally not differ too much. Therefore, after obtaining the azimuth angle of each measurement point, it is necessary to verify the azimuth angle calculation results, and calculate the azimuth angle difference between the azimuth angles of the base station antenna corresponding to each two measurement points. If the difference does not exceed a preset threshold, it indicates that the calculation result is accurate. If the difference between a pair of measurement points exceeds the preset difference threshold, it indicates that there may be an abnormality and it is necessary to re-measure or manually intervene to make adjustments.
[0082] Step S104: when all azimuth angle differences in the azimuth angle difference set of the base station antenna are less than the difference threshold, the average azimuth angles of the base station antenna corresponding to the M measurement points are calculated to obtain the azimuth angle of the base station antenna.
[0083] It should be noted that, when the azimuth angle differences between all measurement points are less than the difference threshold, the average value of the base station antenna azimuth angles corresponding to the M measurement points is calculated, or the azimuth angles corresponding to the M measurement points are rounded to obtain the final azimuth angle of the base station antenna, thereby achieving precise measurement of the azimuth angle of the base station antenna.
[0084] Through the above steps, the base station antenna to be measured and the plane where the base station antenna is located are first determined, and a gravity-based horizontal laser device is used to incident laser rays on the plane where the base station antenna is located at M measuring points, and the laser data of each measuring point is recorded, wherein the laser data at least includes: the length of each laser ray, the horizontal incident angle of each laser ray, and the height of the light spot formed by each laser ray on the plane where the base station antenna is located, and M is a positive integer, and the laser data of each measuring point is input into the azimuth calculation model, and the azimuth of the base station antenna corresponding to each measuring point is output, wherein the azimuth of the base station antenna represents the angle between the north reference line and the projection of the normal line of the base station antenna on the horizontal ground, and the normal line is perpendicular to the plane where the base station antenna is located, and then the azimuth difference of the base station antenna azimuth corresponding to every two measuring points is calculated to obtain the azimuth difference set of the base station antenna, and finally, when each azimuth difference in the azimuth difference set of the base station antenna is less than the difference threshold, the average value of the base station antenna azimuth corresponding to the M measuring points is calculated to obtain the azimuth of the base station antenna.
[0085] In this embodiment, a laser beam is emitted to the plane where the base station antenna to be measured is located by a gravity-level laser device, and laser data of the laser beam emitted from the measuring point is collected. The laser data of the laser beam is calculated by a pre-trained azimuth calculation model, and the base station antenna azimuth corresponding to each measuring point is output. It is ensured that the output azimuths of multiple base station antennas are within an appropriate range. The final base station antenna azimuth is obtained by taking the average value, thereby realizing automatic measurement of the base station antenna azimuth. Laser measurement and artificial intelligence are combined to improve measurement efficiency while also improving the accuracy of measurement results, thereby solving the technical problem of low accuracy of measurement results in related technologies when measuring the base station antenna azimuth by compass measurement or GPS technology.
[0086] Another optional specific implementation is described in detail below.
[0087] Figure 2 is a schematic diagram of an optional measurement process of the azimuth angle of a base station antenna according to an embodiment of the present invention, such as Figure 2 As shown, the process of measuring the azimuth angle of the base station antenna includes:
[0088] Step 1: Obtain training data (i.e. sample data);
[0089] Specifically, multiple base station antennas with known azimuth angles are selected and the base station antennas are measured. For each base station antenna, multiple measurement points are selected, and a gravity horizontal laser device is deployed at each measurement point to incident three laser rays on the base station antenna, and the length and horizontal incidence angle of each laser ray are recorded (the embodiment of the present invention is exemplified by measuring the length a1 of the laser ray OA1 at the measurement point, the incidence angle α1 of the laser ray OA1 at the measurement point, the length a2 of the laser ray OA2 at the measurement point, the incidence angle α2 of the laser ray OA2 at the measurement point, the length a3 of the laser ray OA3 at the measurement point, and the incidence angle α3 of the laser ray OA3 at the measurement point), and the height of the light spot of the laser ray on the base station antenna surface is calculated according to the length and the horizontal incidence angle of the laser ray, and the true value of the azimuth angle of each base station antenna is obtained, and sample data is constructed based on the above data.
[0090] Step 2: construct an azimuth calculation model;
[0091] Specifically, an azimuth angle stereo algorithm model and a laser measurement tuning model are constructed based on the training data to obtain an azimuth angle calculation model.
[0092] Step 3: Model iterative optimization;
[0093] The azimuth angle calculation model is iterated and tuned based on the laser measurement tuning model during the iteration process.
[0094] Step 4: Determine the measurement quantity and accurately measure the antenna azimuth.
[0095] The laser data of the actual base station antenna to be measured is input into the trained azimuth calculation model to accurately measure the azimuth of the base station antenna.
[0096] Figure 3 is a schematic diagram of an optional measurement principle of the azimuth angle of a base station antenna according to an embodiment of the present invention, such as Figure 3 As shown, a ground measurement point O is selected on the horizontal ground where the base station antenna is located, and a gravity horizontal laser device is deployed at the ground measurement point O. Three laser beams, A1, A2, and A3, are emitted to the base station antenna by the gravity horizontal laser device. The normal of the base station antenna is determined by three-point plane determination, and then the azimuth of the base station antenna is calculated according to the projection of the antenna surface normal on the horizontal ground and the magnetic north direction.
[0097] Figure 4 is a spatial three-dimensional diagram of an optional measurement of the azimuth angle of a base station antenna according to an embodiment of the present invention, such as Figure 4 As shown, when calculating the azimuth of the base station antenna, the azimuth calculation model constructs a three-dimensional coordinate system with the measurement point as the coordinate origin, determines the normal of the base station antenna by three-point plane determination, and obtains the projection vector of the antenna surface on the water surface (i.e., the XY plane), and then calculates the angle between the projection vector and the magnetic north direction to obtain the azimuth of the base station antenna.
[0098] In an embodiment of the present invention, the azimuth of the base station antenna is automatically measured by a gravity horizontal laser device and an azimuth calculation model, thereby improving the measurement efficiency of the azimuth of the base station antenna and the accuracy of the measurement results. The azimuth calculation model is composed of an azimuth stereoscopic space algorithm model, a data correction function model, and a convergent linear regression tuning function model. The azimuth stereoscopic space algorithm model determines the surface direction of the base station antenna and its normal vector by a laser three-point plane determination method, and then calculates the azimuth of the base station antenna, which can accurately calculate the azimuth. The data correction function model and the convergent linear regression tuning function model iteratively tune the azimuth stereoscopic space algorithm model to ensure the accuracy of the azimuth stereoscopic space algorithm model and improve the accuracy of the azimuth calculation results.
[0099] The following is a detailed description in conjunction with another embodiment.
[0100] Embodiment 2
[0101] A base station antenna azimuth angle measurement device provided in this embodiment includes multiple implementation units, each implementation unit corresponds to each implementation step in the above-mentioned embodiment 1. Its specific implementation method and beneficial effects can refer to the above-mentioned method embodiment and will not be repeated here.
[0102] Figure 5 is a schematic diagram of an optional device for measuring the azimuth angle of a base station antenna according to an embodiment of the present invention, such as Figure 5 As shown, the device for measuring the azimuth angle of the base station antenna may include: a recording unit 51, an output unit 52, a calculation unit 53, and an acquisition unit 54, wherein:
[0103] The recording unit 51 is used to determine the base station antenna to be measured and the plane where the base station antenna is located, and based on the gravity horizontal laser device, a laser ray is incident on the plane where the base station antenna is located at M measuring points, and the laser data of each measuring point is recorded, wherein the laser data at least includes: the length of each laser ray, the horizontal incident angle of each laser ray, and the height of the light spot formed by each laser ray on the plane where the base station antenna is located, and M is a positive integer;
[0104] The output unit 52 is used to input the laser data of each measuring point into the azimuth calculation model, and output the base station antenna azimuth corresponding to each measuring point, wherein the base station antenna azimuth represents the angle between the north reference line and the projection of the normal line of the base station antenna on the horizontal ground, and the normal line is perpendicular to the plane where the base station antenna is located;
[0105] A calculation unit 53 is used to calculate the azimuth difference of the base station antenna azimuth corresponding to every two measurement points to obtain an azimuth difference set of the base station antenna;
[0106] The acquisition unit 54 is used to calculate the average azimuth of the base station antenna corresponding to M measurement points when all azimuth differences in the azimuth difference set of the base station antenna are less than the difference threshold, so as to obtain the azimuth of the base station antenna.
[0107] The above-mentioned device for measuring the azimuth angle of the base station antenna determines the base station antenna to be measured and the plane where the base station antenna is located through the recording unit 51, and based on the gravity horizontal laser device, incident laser rays on the plane where the base station antenna is located at M measuring points, and records the laser data of each measuring point, wherein the laser data at least includes: the length of each laser ray, the horizontal incident angle of each laser ray, and the height of the light spot formed by each laser ray on the plane where the base station antenna is located, and M is a positive integer; the laser data of each measuring point is input into the azimuth angle calculation model through the output unit 52, and each is output. The azimuth of the base station antenna corresponding to the measuring point, wherein the azimuth of the base station antenna represents the angle between the north reference line and the projection of the normal of the base station antenna on the horizontal ground, and the normal is perpendicular to the plane where the base station antenna is located; the azimuth difference of the base station antenna azimuth corresponding to every two measuring points is calculated by the calculation unit 53 to obtain the azimuth difference set of the base station antenna; and the average value of the base station antenna azimuth corresponding to M measuring points is calculated by the acquisition unit 54 when all azimuth differences in the azimuth difference set of the base station antenna are less than the difference threshold, to obtain the azimuth of the base station antenna.
[0108] In this embodiment, a laser beam is emitted to the plane where the base station antenna to be measured is located by a gravity-level laser device, and laser data of the laser beam emitted from the measuring point is collected. The laser data of the laser beam is calculated by a pre-trained azimuth calculation model, and the base station antenna azimuth corresponding to each measuring point is output. It is ensured that the output azimuths of multiple base station antennas are within an appropriate range, and the final base station antenna azimuth is obtained by taking the average value, thereby realizing automatic measurement of the base station antenna azimuth. Laser measurement and artificial intelligence are combined to improve measurement efficiency while also improving the accuracy of measurement results, thereby solving the technical problem of low accuracy of measurement results in related technologies when measuring the base station antenna azimuth by compass measurement or GPS technology.
[0109] Optionally, the recording unit 51 includes: a first selection subunit, used to select M measurement points on the ground where the base station is located; a first deployment subunit, used to deploy a gravity horizontal laser device at each measurement point, and to use the gravity horizontal laser device to incident laser rays on three non-collinear positions of the plane where the base station antenna is located, wherein the laser rays incident on the three non-collinear positions of the plane where the base station antenna is located determine a triangular plane, and the azimuth of the base station antenna is calculated through the triangular plane.
[0110] Optionally, the recording unit 51 also includes: a first reading subunit, used to read the length of each laser ray through laser ranging; a first measuring subunit, used to measure the angle between each laser ray and the ground to obtain the horizontal incident angle of the laser ray; a first calculating subunit, used to calculate the height of the spot formed by each laser ray in the plane where the base station antenna is located based on the length of each laser ray and the horizontal incident angle; a first acquiring subunit, used to obtain the laser data of each measuring point based on the length of the three laser rays at each measuring point, the horizontal incident angle and the height of the spot.
[0111] Optionally, the device for measuring the azimuth angle of a base station antenna also includes: a second selection subunit, used to select K target base station antennas for training, based on a gravity horizontal laser device to incident laser rays on the plane where the target base station antenna is located, and collect measurement data of the target base station antenna, where K is a positive integer; a second acquisition subunit, used to obtain the true value of the azimuth angle of each target base station antenna, and construct sample data based on the measurement data of the K target base station antennas and the true value of the azimuth angle; a first construction subunit, used to construct an azimuth angle stereoscopic space algorithm model, a data correction function model and a convergent linear regression tuning function model to obtain an initial azimuth angle calculation model; a first training subunit, used to iteratively train the initial azimuth angle calculation model based on the sample data to obtain the azimuth angle calculation model after training.
[0112] Optionally, the first training subunit includes: a first calculation module, which is used for step one, selecting the measurement data of the target measurement point from the sample data, and calculating the measurement data of the target measurement point based on the initial azimuth stereoscopic space algorithm model to obtain the azimuth measurement value corresponding to the target measurement point; a second calculation module, which is used for step two, calculating the azimuth measurement value of the target measurement point and the true azimuth value of the base station antenna based on the data correction function model to obtain the azimuth deviation; a first comparison module, which is used for step three, comparing the absolute value of the azimuth deviation with the deviation threshold to obtain a comparison result; a first elimination module, which is used for step four, when the comparison result indicates that the absolute value of the azimuth deviation is greater than the deviation threshold, eliminating the measurement data of the target measurement point from the sample data to obtain new sample data; a first repetition module, which is used to repeat the above steps one to four, iteratively train the initial azimuth calculation model until there is no measurement data of the target measurement point that can be eliminated in the sample data, and obtain the trained azimuth calculation model.
[0113] Optionally, the first calculation module includes: a first construction submodule, used to construct the position coordinates of each light spot formed by each laser ray of the target measurement point in the plane where the base station antenna is located based on the measurement data of the target measurement point; a first determination submodule, used to determine the first vector coordinates and the second vector coordinates in the triangular plane composed of the light spots based on the position coordinates of each light spot; a second construction submodule, used to construct an augmented matrix of the normal vector of the plane where the base station antenna is located based on the first vector coordinates and the second vector coordinates, and obtain a coefficient matrix based on the augmented matrix; a first calculation submodule, used to calculate the position coordinates of the normal vector based on the augmented matrix and the coefficient matrix; a second calculation submodule, used to calculate the azimuth of the plane where the base station antenna is located based on the position coordinates of the normal vector, and obtain the azimuth measurement value corresponding to the target measurement point.
[0114] Optionally, the first training subunit also includes: a first acquisition module, used to obtain the projection coordinates of the normal vector in the XY plane based on the position coordinates of the corresponding normal vector under the target measurement point when the comparison result indicates that the absolute value of the azimuth deviation is less than or equal to the deviation threshold; a second acquisition module, used to obtain the normal vector projection reference coordinates of the base station antenna; a third calculation module, used to calculate the projection coordinates of the normal vector in the XY plane and the normal vector projection reference coordinates based on a convergence linear regression tuning function model to obtain a convergence value; a first comparison module, used to compare the convergence value with the convergence threshold to obtain a comparison result; a second elimination module, used to eliminate the measurement data of the target measurement point from the sample data when the comparison result indicates that the convergence value is less than the convergence threshold.
[0115] The above-mentioned base station antenna azimuth angle measuring device may also include a processor and a memory. The above-mentioned recording unit 51, output unit 52, calculation unit 53, acquisition unit 54, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.
[0116] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the azimuth of the base station antenna can be precisely measured by adjusting kernel parameters.
[0117] The above-mentioned memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one storage chip.
[0118] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any of the above-mentioned base station antenna azimuth measurement methods.
[0119] According to another aspect of an embodiment of the present invention, an electronic device is also provided, including one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors implement any one of the above-mentioned methods for measuring the azimuth angle of a base station antenna.
[0120] According to another aspect of an embodiment of the present invention, a computer program product is provided. The computer program product includes a computer program, wherein when the computer program is executed by a processor, any one of the above-mentioned methods for measuring the azimuth angle of a base station antenna is implemented.
[0121] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: determining a base station antenna to be measured and a plane where the base station antenna is located, using a gravity-based horizontal laser device to incident laser rays on the plane where the base station antenna is located at M measurement points, and recording laser data for each measurement point, wherein the laser data at least includes: the length of each laser ray, the horizontal incident angle of each laser ray, and the height of a light spot formed by each laser ray on the plane where the base station antenna is located, and M is a positive integer; inputting the laser data of each measurement point into an azimuth calculation model, and outputting the azimuth of the base station antenna corresponding to each measurement point, wherein the azimuth of the base station antenna represents the angle between a north reference line and a projection of the normal of the base station antenna on the horizontal ground, and the normal is perpendicular to the plane where the base station antenna is located; calculating the azimuth difference of the base station antenna azimuth corresponding to every two measurement points to obtain an azimuth difference set of the base station antenna; when each azimuth difference in the azimuth difference set of the base station antenna is less than a difference threshold, calculating the average value of the base station antenna azimuth corresponding to the M measurement points to obtain the azimuth of the base station antenna.
[0122] The present application also provides a computer program product, which, when executed on a data processing device, is also suitable for executing a program that initializes the following method steps: the step of incident laser rays at M measurement points on the plane where the base station antenna is located based on a gravity horizontal laser device includes: selecting M measurement points on the ground where the base station is located; deploying a gravity horizontal laser device at each measurement point, and incident laser rays on three non-collinear positions of the plane where the base station antenna is located through the gravity horizontal laser device, wherein a triangular plane is determined by incident laser rays on the three non-collinear positions of the plane where the base station antenna is located, and the azimuth of the base station antenna is calculated through the triangular plane.
[0123] The present application also provides a computer program product, which, when executed on a data processing device, is also suitable for executing a program initialized with the following method steps: the step of recording the laser data of each measuring point includes: reading the length of each laser ray by laser ranging; measuring the angle between each laser ray and the ground to obtain the horizontal incident angle of the laser ray; calculating the height of the light spot formed by each laser ray in the plane where the base station antenna is located based on the length and horizontal incident angle of each laser ray; and obtaining the laser data of each measuring point based on the length of the three laser rays of each measuring point, the horizontal incident angle and the height of the light spot.
[0124] The present application also provides a computer program product, which, when executed on a data processing device, is also suitable for executing a program initialized with the following method steps: the azimuth calculation model is obtained by pre-training, and the steps of training the azimuth calculation model include: selecting K target base station antennas for training, incident laser rays on the plane where the target base station antenna is located based on a gravity horizontal laser device, and collecting measurement data of the target base station antenna, where K is a positive integer; obtaining the true azimuth value of each target base station antenna, and constructing sample data based on the measurement data and the true azimuth value of the K target base station antennas; constructing an azimuth stereoscopic space algorithm model, a data correction function model and a convergent linear regression tuning function model to obtain an initial azimuth calculation model; iteratively training the initial azimuth calculation model based on the sample data to obtain the azimuth calculation model after training.
[0125] The present application also provides a computer program product, which, when executed on a data processing device, is also suitable for executing a program that is initialized with the following method steps: iteratively training and tuning an initial azimuth calculation model based on sample data, and obtaining a trained azimuth calculation model comprises the following steps: step one, selecting measurement data of a target measurement point from the sample data, and calculating the measurement data of the target measurement point based on the initial azimuth stereoscopic space algorithm model to obtain an azimuth measurement value corresponding to the target measurement point; step two, calculating the azimuth measurement value of the target measurement point and the true azimuth value of the base station antenna based on a data correction function model to obtain an azimuth deviation; step three, comparing the absolute value of the azimuth deviation with a deviation threshold to obtain a comparison result; step four, when the comparison result indicates that the absolute value of the azimuth deviation is greater than the deviation threshold, removing the measurement data of the target measurement point from the sample data to obtain new sample data; repeating the above steps one to four, iteratively training the initial azimuth calculation model until there is no measurement data of the target measurement point that can be removed in the sample data, and obtaining a trained azimuth calculation model.
[0126] The present application also provides a computer program product, which, when executed on a data processing device, is also suitable for executing a program initialized with the following method steps: the measurement data of the target measurement point is calculated based on the initial azimuth stereoscopic space algorithm model, and the step of obtaining the azimuth measurement value corresponding to the target measurement point includes: constructing the position coordinates of each light spot formed by each laser ray of the target measurement point in the plane where the base station antenna is located based on the measurement data of the target measurement point; determining the first vector coordinates and the second vector coordinates in the triangular plane composed of the light spots based on the position coordinates of each light spot; constructing an augmented matrix of the normal vector of the plane where the base station antenna is located based on the first vector coordinates and the second vector coordinates, and obtaining a coefficient matrix based on the augmented matrix; calculating the position coordinates of the normal vector based on the augmented matrix and the coefficient matrix; calculating the azimuth of the plane where the base station antenna is located based on the position coordinates of the normal vector, and obtaining the azimuth measurement value corresponding to the target measurement point.
[0127] The present application also provides a computer program product, which, when executed on a data processing device, is also suitable for executing a program initialized with the following method steps: after obtaining a comparison result, it also includes: when the comparison result indicates that the absolute value of the azimuth deviation is less than or equal to a deviation threshold, obtaining the projection coordinates of the normal vector in the XY plane based on the position coordinates of the corresponding normal vector under the target measurement point; obtaining the normal vector projection reference coordinates of the base station antenna; calculating the projection coordinates of the normal vector in the XY plane and the normal vector projection reference coordinates based on a convergence linear regression tuning function model to obtain a convergence value; comparing the convergence value with the convergence threshold to obtain a comparison result; when the comparison result indicates that the convergence value is less than the convergence threshold, removing the measurement data of the target measurement point from the sample data.
[0128] Figure 6 1 is a hardware structure block diagram of an electronic device (or mobile device) for measuring a base station antenna azimuth angle according to an embodiment of the present invention. Figure 6 As shown, the electronic device may include one or more ( Figure 6 602a, 602b, ..., 602n are used to illustrate) processor 602 (processor 602 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), and memory 604 for storing data. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a keyboard, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 6 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 6 More or fewer components as shown, or with Figure 6 Different configurations are shown.
[0129] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0130] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0131] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0132] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0133] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0134] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0135] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for measuring the azimuth angle of a base station antenna, characterized in that: include: Determine the base station antenna to be measured and the plane where the base station antenna is located, use a gravity-based horizontal laser device to irradiate laser rays at M measuring points on the plane where the base station antenna is located, and record laser data at each measuring point, wherein the laser data at least includes: the length of each laser ray, the horizontal incident angle of each laser ray, and the height of the light spot formed by each laser ray on the plane where the base station antenna is located, and M is a positive integer; Input the laser data of each measuring point into the azimuth calculation model, and output the azimuth of the base station antenna corresponding to each measuring point, wherein the azimuth of the base station antenna represents the angle between the north reference line and the projection of the normal line of the base station antenna on the horizontal ground, and the normal line is perpendicular to the plane where the base station antenna is located; Calculate the azimuth difference between the azimuths of the base station antennas corresponding to every two of the measurement points to obtain an azimuth difference set of the base station antennas; When each of the azimuth angle differences in the azimuth angle difference set of the base station antenna is less than a difference threshold, an average value of the azimuth angles of the base station antenna corresponding to the M measurement points is calculated to obtain the azimuth angle of the base station antenna.
2. The method according to claim 1, characterized in that The step of using a gravity-based horizontal laser device to project laser rays onto the plane where the base station antenna is located at M measurement points comprises: Select M measurement points on the ground where the base station is located; The gravity level laser device is deployed at each measuring point, and the laser beam is incident on three non-collinear positions of the plane where the base station antenna is located through the gravity level laser device, wherein a triangular plane is determined by incidenting the laser beam on the three non-collinear positions of the plane where the base station antenna is located, and the azimuth of the base station antenna is calculated through the triangular plane.
3. The method according to claim 1, characterized in that The steps for recording laser data for each measurement point include: Reading the length of each laser beam by laser ranging; Measuring the angle between each laser ray and the ground to obtain the horizontal incident angle of the laser ray; Calculate the height of the light spot formed by each laser ray on the plane where the base station antenna is located based on the length and horizontal incident angle of each laser ray; The laser data of each of the measuring points is obtained based on the lengths of the three laser rays, the horizontal incident angle and the height of the light spot of each of the measuring points.
4. The method according to claim 1, characterized in that: The azimuth angle calculation model is obtained by pre-training, and the steps of training the azimuth angle calculation model include: Select K target base station antennas for training, irradiate laser rays onto the plane where the target base station antennas are located based on the gravity horizontal laser device, and collect measurement data of the target base station antennas, where K is a positive integer; Acquire the true value of the azimuth angle of each of the target base station antennas, and construct sample data based on the measurement data of the K target base station antennas and the true value of the azimuth angle; Construct an azimuth stereoscopic space algorithm model, a data correction function model and a convergence linear regression tuning function model to obtain an initial azimuth calculation model; The initial azimuth angle calculation model is iteratively trained based on the sample data to obtain the azimuth angle calculation model after training.
5. The method according to claim 4, characterized in that The steps of iteratively training and optimizing the initial azimuth angle calculation model based on the sample data to obtain the trained azimuth angle calculation model include: Step 1: Select the measurement data of the target measurement point from the sample data, and calculate the measurement data of the target measurement point based on the initial azimuth stereoscopic space algorithm model to obtain the azimuth measurement value corresponding to the target measurement point; Step 2: calculating the azimuth angle measurement value of the target measurement point and the true azimuth angle value of the base station antenna based on the data correction function model to obtain the azimuth angle deviation; Step 3, comparing the absolute value of the azimuth deviation with the deviation threshold to obtain a comparison result; Step 4: when the comparison result indicates that the absolute value of the azimuth deviation is greater than the deviation threshold, the measurement data of the target measurement point is removed from the sample data to obtain new sample data; Repeat the above steps 1 to 4 to iteratively train the initial azimuth angle calculation model until there is no measurement data of the target measurement point that can be eliminated in the sample data, thereby obtaining a trained azimuth angle calculation model.
6. The method according to claim 5, characterized in that The step of calculating the measurement data of the target measurement point based on the initial azimuth stereoscopic space algorithm model to obtain the azimuth measurement value corresponding to the target measurement point includes: Constructing the position coordinates of each light spot formed by each laser ray of the target measurement point on the plane where the base station antenna is located based on the measurement data of the target measurement point; Determine first vector coordinates and second vector coordinates in a triangular plane formed by the light spots based on the position coordinates of the light spots; constructing an augmented matrix of the normal vector of the plane where the base station antenna is located based on the first vector coordinates and the second vector coordinates, and obtaining a coefficient matrix based on the augmented matrix; Calculate the position coordinates of the normal vector based on the augmented matrix and the coefficient matrix; The azimuth of the plane where the base station antenna is located is calculated based on the position coordinates of the normal vector to obtain an azimuth measurement value corresponding to the target measurement point.
7. The method according to claim 6, characterized in that After getting the comparison results, it also includes: When the comparison result indicates that the absolute value of the azimuth deviation is less than or equal to the deviation threshold, obtaining the projection coordinates of the normal vector on the XY plane based on the position coordinates of the corresponding normal vector at the target measurement point; Obtaining a normal vector projection reference coordinate of the base station antenna; The projection coordinates of the normal vector on the XY plane and the normal vector projection reference coordinates are calculated based on a convergent linear regression tuning function model to obtain a convergence value; Comparing the convergence value with the convergence threshold to obtain a comparison result; When the comparison result indicates that the convergence value is less than the convergence threshold, the measurement data of the target measurement point is removed from the sample data.
8. A device for measuring the azimuth angle of a base station antenna, characterized in that: include: A recording unit, used to determine the base station antenna to be measured and the plane where the base station antenna is located, based on the gravity horizontal laser device, incident laser rays on the plane where the base station antenna is located at M measuring points, and record the laser data of each measuring point, wherein the laser data at least includes: the length of each of the laser rays, the horizontal incident angle of each of the laser rays, and the height of the light spot formed by each of the laser rays on the plane where the base station antenna is located, and M is a positive integer; An output unit, used to input the laser data of each of the measuring points into an azimuth calculation model, and output the azimuth of the base station antenna corresponding to each of the measuring points, wherein the azimuth of the base station antenna represents the angle between the north reference line and the projection of the normal line of the base station antenna on the horizontal ground, and the normal line is perpendicular to the plane where the base station antenna is located; A calculation unit, used to calculate the azimuth difference of the base station antenna azimuths corresponding to every two of the measurement points, to obtain an azimuth difference set of the base station antenna; The acquisition unit is used to calculate the average value of the base station antenna azimuths corresponding to the M measurement points when each azimuth difference in the azimuth difference set of the base station antenna is less than a difference threshold, so as to obtain the azimuth of the base station antenna.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for measuring the azimuth angle of the base station antenna according to any one of claims 1 to 7.
10. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method for measuring the azimuth angle of the base station antenna as described in any one of claims 1 to 7.
