High-stability GPS positioning intelligent electric meter
By using multiple sets of GPS data processing and analysis methods in the smart meter, the abnormal points are eliminated, the average value is calculated as the current position, and the first positioning point is obtained through multiple restarts and position information comparison during the first positioning, the intelligent solution is solved The problem of unstable positioning accuracy of the meter GPS has achieved high stability and high precision positioning and position updates, and improved operation and maintenance efficiency.
Patent Information
- Application Number
- CN202411434181.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-15
- Publication Date
- 2025-02-11
AI Technical Summary
The GPS positioning accuracy of existing smart meters is unstable, especially under the influence of the atmosphere, multipath effect, buildings and other factors. The accuracy may be only about 30 to 50 meters, or even worse, resulting in inaccurate positioning and low efficiency.
Design a smart meter with high stability GPS positioning, using a GPS positioning module with built-in and external antennas. The processor eliminates abnormal points by processing and analyzing multiple sets of GPS data, calculates the average value as the current position of the smart meter, and During the first positioning, the first positioning point is obtained by multiple restarts and position information comparison, and the positioning accuracy is improved.
It realizes high-stability and high-precision GPS positioning in complex environments, can update the meter position in a timely and accurate manner, and report it to the cloud server, improving operation and maintenance timeliness and reducing labor costs.
Smart Images

Figure CN119414082A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart electric meters, and in particular to a smart electric meter with high-stability GPS positioning. Background Art
[0002] Electricity meter products are increasingly used in terminal management. With the explosive growth in number, the design and management of power engineering and fault maintenance have become a major problem. Especially for fault maintenance, it takes a lot of time and energy just to find the meter on site, which not only consumes huge manpower costs, but also has extremely low efficiency.
[0003] Smart meter GPS positioning is a new way to achieve power asset management. It can show the location of meter assets in the form of a map, which makes it extremely convenient for operation and maintenance personnel to locate the meter, which can greatly save labor costs and time. Moreover, when the meter equipment fails or the location is changed, the smart meter with GPS positioning function can update the meter location in a timely and accurate manner and report it to the cloud server in a timely manner.
[0004] GPS positioning has been successfully applied in various industries with its remarkable features such as all-weather, high precision, automation and high efficiency. GPS positioning can be divided into single-point positioning, differential GPS positioning and RTK GPS positioning according to different positioning modes. The latter two rely on observation data from base stations. Although the accuracy is higher than the first one, the cost will also be much higher. The first method can achieve an accuracy of less than 4 meters in open areas, but it will be affected by various factors in actual use, such as the atmosphere, multipath effects, buildings, etc., and its accuracy may be only about 30 to 50 meters, or even worse. Summary of the invention
[0005] The purpose of the present invention is to solve the instability problem existing in GPS positioning and to provide a smart electric meter with high-stability GPS positioning.
[0006] The technical solution of the present invention is:
[0007] The present invention provides a highly stable GPS-positioned smart meter, the smart meter comprising:
[0008] A GPS positioning module, wherein the GPS positioning module has a built-in antenna and an external antenna;
[0009] The processor obtains the location information of the smart meter based on the data provided by the GPS positioning module, and reports the location information to the cloud server.
[0010] Furthermore, the smart meter performs the following steps:
[0011] S1, after the GPS positioning module is powered on and stabilized, it acquires data and sends it to the processor;
[0012] S2: The processor processes the data and uses the processing result as the current position of the smart meter;
[0013] S3, when the GPS positioning module is positioned for the first time, it restarts multiple times, obtains the first positioning point based on the comparison results of multiple position information, and completes the first positioning;
[0014] S4. When the location update cycle of the GPS positioning module arrives, the updated location of the smart meter is obtained, the distance between the current updated location and the previous location is calculated, and it is determined whether it exceeds the preset distance threshold;
[0015] If the distance exceeds the distance threshold, the location information is updated, reported, and the event is recorded; otherwise, the current location information is updated;
[0016] S5. Repeat step S4.
[0017] Furthermore, in S1, acquiring data and sending it to the processor after the GPS positioning module is powered on and stabilized is specifically as follows: after the GPS positioning module is powered on and reaches a first threshold time, the GPS positioning module is stable, and data is acquired and sent to the processor.
[0018] Furthermore, the processor in S2 processes the data and uses the processing result as the current position of the smart meter:
[0019] The processor collects multiple sets of data uploaded by the GPS positioning module and calculates a first average value;
[0020] Among the multiple sets of data, m% of the points with the largest and smallest distances from the first average value are eliminated, and the second average value of the remaining points is recalculated as the current position of the smart meter.
[0021] Furthermore, obtaining the first positioning point based on the comparison results of the multiple position information in S3 is specifically:
[0022] The GPS positioning module is powered on and runs, recording the first location information A(x, y);
[0023] Restart the GPS positioning module and get the second position B(x, y);
[0024] Compare the distance between points A and B. If the distance is less than the distance threshold, directly use the second positioning information as the first positioning information; otherwise, restart the GPS positioning module again to obtain the third position C (x, y);
[0025] Compare the distance between points B and C. If the distance is less than the distance threshold, directly use the third positioning information as the first positioning information; otherwise, restart the GPS positioning module again, and so on, until the restart times threshold is reached.
[0026] Furthermore, the distance d between two points is obtained using the following formula:
[0027]
[0028] Wherein: the longitude angle α1 and latitude angle β1 of the previous position, the longitude angle α2 and latitude angle β2 of the current position, r is the radius of the earth, and d is the distance between the current position and the previous position.
[0029] Furthermore, the distance threshold is 8-10 meters; the restart number threshold is 8-10 times.
[0030] Further in S3, when the GPS positioning module performs positioning for the first time, a sampling starting point is obtained, and values are taken at the update period × 80%.
[0031] Further in S4, obtaining the updated position of the smart meter is specifically as follows:
[0032] The following formula is used to calculate the current average value, and the current average value is used as the current update position;
[0033] Current average value = (previous average value × previous number of samples + current sample value) / (previous number of samples + current number of samples).
[0034] Furthermore, during the entire positioning process of the electric energy meter, the operation of the GPS positioning module is monitored to determine whether the location information is valid. If it is valid, the positioning information is used; otherwise, it is discarded;
[0035] During the operation of the electric energy meter, the antenna status is monitored. When it enters the saturation state, the positioning information is not updated and a saturation alarm is given.
[0036] Beneficial effects of the present invention:
[0037] The present invention provides a highly stable GPS-positioned smart meter. The smart meter is equipped with a GPS positioning module to output location information. The smart meter processor obtains accurate location information by analyzing and counting data, and reports the location information to a cloud server. When the location of the smart meter changes, it can make a timely and accurate judgment and report the new location information to the cloud server.
[0038] After the electric meter of the present invention is used, the management unit can accurately locate the position of the electric meter without on-site survey, providing reliable location information for on-site operation and maintenance engineers, and can locate system fault points in a timely and effective manner, greatly improving the timeliness of operation and maintenance.
[0039] Other features and advantages of the present invention will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The above and other objects, features and advantages of the present invention will become more apparent through a more detailed description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, wherein like reference numerals generally represent like components throughout the exemplary embodiments of the present invention.
[0041] Figure 1 The flowchart of the smart meter location information processing and updating of the present invention is shown. DETAILED DESCRIPTION
[0042] The preferred embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the preferred embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.
[0043] Figure 1 A flowchart of smart meter location information processing and updating according to an embodiment of the present invention is shown.
[0044] like Figure 1 As shown, a highly stable GPS-positioned smart meter includes a GPS positioning module, wherein the GPS positioning module has a built-in antenna and an external antenna; a processor, wherein the processor obtains the location information of the smart meter based on data provided by the GPS positioning module and reports the location information to a cloud server; the smart meter performs the following steps:
[0045] S1, after the GPS positioning module is powered on and stabilized, it acquires data and sends it to the processor;
[0046] S2: The processor processes the data and uses the processing result as the current position of the smart meter;
[0047] The processor collects multiple groups of data uploaded by the GPS positioning module, taking 10 groups as an example, and calculates a first average value;
[0048] Among the 10 sets of data, 30% of the points with the largest and smallest distances from the first average value are eliminated, and the second average value of the remaining 40% of the points is recalculated as the current position of the smart meter;
[0049] S3, when the GPS positioning module is positioned for the first time, it restarts multiple times, obtains the first positioning point based on the comparison results of multiple position information, and completes the first positioning;
[0050] The GPS positioning module is powered on and runs, and the first position information A(x, y) is recorded; the GPS positioning module is restarted to obtain the second position B(x, y); the distance between points A and B is compared. If the distance is less than 8 meters, the second positioning information is directly used as the first positioning information; otherwise, the GPS positioning module is restarted again to obtain the third position C(x, y); the distance between points B and C is compared. If the distance is less than 8 meters, the third positioning information is directly used as the first positioning information; otherwise, the GPS positioning module is restarted again, and so on, to the restart number threshold, which is calculated up to 8 times.
[0051] S4. When the location update cycle of the GPS positioning module arrives, the updated location of the smart meter is obtained, the distance between the current updated location and the previous location is calculated, and it is determined whether it exceeds the preset distance threshold;
[0052] If the distance exceeds the distance threshold, the location information is updated and reported to the cloud server to record the GPS over-threshold event; otherwise, the current location information is updated;
[0053] S5. Repeat step S4.
[0054] In this embodiment, the smart meter supports switching between internal and external antennas. If the on-site smart meter is installed outdoors, the internal antenna can be used, which can meet the accuracy requirements and save costs. If it is installed in an environment with poor satellite signals, it can be switched to an external antenna and extended outdoors, which can effectively improve the positioning accuracy.
[0055] The GPS positioning module can use the G7A module. The location information obtained at the beginning of power-on may be inaccurate and fluctuate greatly. Therefore, it is necessary to wait for enough time after power-on for the location information to stabilize before the data is considered valid. This stabilization time is called the first threshold time. This time supports configuration. The update time threshold can be set according to the on-site situation. After power-on, the device must run for more than this time threshold before the location information obtained can be used as valid location information.
[0056] In one example, in S3, when the GPS positioning module performs positioning for the first time, a sampling start point is obtained and values are taken at update period × 80%.
[0057] In this embodiment, when the GPS positioning module locates for the first time, considering that the deviation of the points obtained at the beginning will be relatively large, the calculation of the average value will affect the accuracy of the average value, so the location information for the beginning period is not included in the average value calculation. The starting point for calculating the average value starts from 80% of the set update period, that is, if the update is set to 60 minutes, the average value is calculated at 60×80%=48min; if the update is 15 minutes, we start sampling from 15×80%=12min.
[0058] In one example, in S4, obtaining the updated position of the smart meter is specifically:
[0059] The following formula is used to calculate the current average value, and the current average value is used as the current update position;
[0060] Current average value = (previous average value × previous number of samples + current sample value) / (previous number of samples + current number of samples).
[0061] In this embodiment, data is sampled once per second, an average value is calculated after 10 samples are collected, and the number of samples is counted as 1 for one such position information. Then, data is sampled 10 times again, and another position information is obtained, and the number of samples is counted as 2.
[0062] In one example, there is a small probability that the position deviation will be large when the module is cold started, and if the deviation of the first positioning point is large, the subsequent deviations calculated based on this point will be too large, so the positioning accuracy of the first point needs to be improved. When positioning for the first time, the module is restarted multiple times and multiple position information is compared to obtain the first positioning point.
[0063] The distance d between two points is obtained using the following formula:
[0064]
[0065] Wherein: the longitude angle α1 and latitude angle β1 of the previous position, the longitude angle α2 and latitude angle β2 of the current position, r is the radius of the earth, and d is the distance between the current position and the previous position.
[0066] In one example, when the location is updated, the corresponding time needs to be updated. The time requirement in the location information is: use GMT time + time zone, obtain the GMT time and date from the NMEA protocol frame, and then calculate the current time according to the configured time zone and record it.
[0067] In an example, during the entire operation process, the module operation status is monitored to determine whether the location information is valid. If it is valid, the positioning information is used; if it is invalid, it is discarded. At the same time, the antenna status is monitored. If it enters a saturated state, the positioning information is not updated and a saturation alarm is given.
[0068] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments.
Claims
1. A highly stable GPS-positioned smart meter, characterized in that: The smart electric meter comprises: A GPS positioning module, wherein the GPS positioning module has a built-in antenna and an external antenna; The processor obtains the location information of the smart meter based on the data provided by the GPS positioning module, and reports the location information to the cloud server.
2. The highly stable GPS-positioned smart meter according to claim 1, characterized in that: The smart meter performs the following steps: S1, after the GPS positioning module is powered on and stabilized, it acquires data and sends it to the processor; S2: The processor processes the data and uses the processing result as the current position of the smart meter; S3, when the GPS positioning module is positioned for the first time, it restarts multiple times, obtains the first positioning point based on the comparison results of multiple position information, and completes the first positioning; S4. When the location update cycle of the GPS positioning module arrives, the updated location of the smart meter is obtained, the distance between the current updated location and the previous location is calculated, and it is determined whether it exceeds the preset distance threshold; If the distance exceeds the distance threshold, the location information is updated, reported, and the event is recorded; otherwise, the current location information is updated; S5. Repeat step S4.
3. The highly stable GPS-positioned smart meter according to claim 2 is characterized in that In S1, the GPS positioning module acquires data and sends it to the processor after it is powered on and stabilized. Specifically, after the GPS positioning module is powered on and reaches a first threshold time, the GPS positioning module is stable, and data is acquired and sent to the processor.
4. The highly stable GPS-positioned smart meter according to claim 2 is characterized in that In S2, the processor processes the data and uses the processing result as the current position of the smart meter: The processor collects multiple sets of data uploaded by the GPS positioning module and calculates a first average value; Among the multiple sets of data, m% of the points with the largest and smallest distances from the first average value are eliminated, and the second average value of the remaining points is recalculated as the current position of the smart meter.
5. The highly stable GPS-positioned smart meter according to claim 2 is characterized in that In S3, the first positioning point is obtained based on the comparison results of multiple position information: The GPS positioning module is powered on and runs, recording the first location information A(x, y); Restart the GPS positioning module and get the second position B(x, y); Compare the distance between points A and B. If the distance is less than the distance threshold, directly use the second positioning information as the first positioning information; otherwise, restart the GPS positioning module again to obtain the third position C (x, y); Compare the distance between points B and C. If the distance is less than the distance threshold, directly use the third positioning information as the first positioning information; otherwise, restart the GPS positioning module again, and so on, until the restart times threshold is reached.
6. The highly stable GPS-positioned smart meter according to claims 2 and 5 is characterized in that The distance d between two points is obtained using the following formula: Wherein: the longitude angle α1 and latitude angle β1 of the previous position, the longitude angle α2 and latitude angle β2 of the current position, r is the radius of the earth, and d is the distance between the current position and the previous position.
7. The highly stable GPS-positioned smart meter according to claim 5, characterized in that The distance threshold is 8-10 meters; the restart number threshold is 8-10 times.
8. The highly stable GPS-positioned smart meter according to claim 2, characterized in that In S3, when the GPS positioning module performs positioning for the first time, it obtains the sampling starting point and starts taking values at the update period × 80%.
9. The highly stable GPS-positioned smart meter according to claim 2, characterized in that In S4, the updated position of the smart meter is obtained as follows: The following formula is used to calculate the current average value, and the current average value is used as the current update position; Current average value = (previous average value × previous number of samples + current sample value) / (previous number of samples + current number of samples).
10. The highly stable GPS-positioned smart meter according to claim 2, characterized in that: During the entire positioning process of the electric energy meter, the operation of the GPS positioning module is monitored to determine whether the location information is valid. If it is valid, the positioning information is used; if it is invalid, it is discarded. During the operation of the electric energy meter, the antenna status is monitored. When it enters the saturation state, the positioning information is not updated and a saturation alarm is given.