Fusion positioning system and energy consumption control method thereof
By using gravity sensors in positioning equipment to monitor the terminal status in real time and switch the energy consumption management mode, the problem of high energy consumption in traditional positioning equipment is solved, achieving longer battery life and accurate indoor and outdoor positioning.
Patent Information
- Application Number
- CN202410991227.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-12-27
AI Technical Summary
Traditional positioning equipment consumes a high energy level during continuous positioning, especially in a static state. Unnecessary energy consumption will seriously affect the battery life and service life of the equipment.
The gravity sensor in the fusion positioning system monitors the change of the terminal's positioning coordinates in real time, judges that the terminal is in a moving state or a rest state, and switches different energy consumption management modes according to the state: the power is off in a rest state, and the positioning module is in a moving state Sleep mode, interval wake up to collect positioning data.
It effectively reduces the energy consumption of positioning equipment in static and moving states, extends the battery life and service life of the equipment, and at the same time realizes accurate positioning of indoor and outdoor integration.
Smart Images

Figure CN119199918A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of positioning technology, and in particular to a fusion positioning system and an energy consumption control method thereof. Background Art
[0002] With the continuous development of positioning technology, GPS and Bluetooth technologies have been widely used in indoor and outdoor positioning. However, traditional positioning devices consume a lot of energy during continuous positioning, especially in a static state. Unnecessary energy consumption will seriously affect the battery life and service life of the device. Therefore, how to develop a fusion positioning technology that can intelligently manage energy consumption has become the key research in the current field of positioning technology. Summary of the invention
[0003] In order to solve the above technical problems, the present disclosure provides a fusion positioning system and an energy consumption control method thereof, which are used to intelligently manage the energy consumption of positioning equipment in different states and improve the battery life and service life of the positioning equipment.
[0004] In a first aspect, the present disclosure provides an energy consumption control method for a fusion positioning system, wherein the fusion positioning system is applied on a terminal, and the energy consumption control method for the fusion positioning system includes:
[0005] Initialize the fusion positioning system;
[0006] By integrating the gravity sensor in the positioning system, the position coordinate changes of the terminal are monitored in real time to determine whether the terminal is in a moving state or a stationary state;
[0007] Performing a first energy consumption management on the fusion positioning system corresponding to the terminal in a stationary state,
[0008] Performing a second energy consumption management on the fusion positioning system corresponding to the terminal in motion;
[0009] Among them, the positioning module in the fusion positioning system under the first energy consumption management is powered off, and the positioning module in the fusion positioning system under the second energy consumption management is in a dormant state.
[0010] Optionally, the performing first energy consumption management on the fused positioning system corresponding to the terminal in the stationary state refers to:
[0011] The positioning module includes a GPS module, a Bluetooth module and a NB-ioT module;
[0012] When the terminal is in a stationary state, the power supplies of the GPS module, the Bluetooth module and the NB-ioT module are turned off, and the single-chip microcomputer enters a low-power sleep mode.
[0013] Optionally, the method for determining whether the terminal is in a stationary state is specifically:
[0014] Comparing the motion data acquired by the gravity sensor with the motion data acquired last time, if the results are consistent and exceed a set time, determining that the terminal is in a stationary state;
[0015] The motion data includes the location coordinates and acceleration information of the terminal.
[0016] Optionally, the setting time is 1-2 minutes.
[0017] Optionally, when the power of the GPS module, Bluetooth module and NB-ioT module is turned off, the single-chip microcomputer wakes up from sleep every 1-2 seconds to check the change of the position coordinates of the gravity sensor. When the position coordinates of the gravity sensor change, the terminal enters the motion state. At this time, the single-chip microcomputer turns on the relevant power of the Bluetooth, GPS, and NB-ioT modules through the power management chip.
[0018] Optionally, the performing the second energy consumption management on the fusion positioning system corresponding to the terminal in the moving state refers to:
[0019] When the terminal is in motion, the positioning module enters a sleep mode, performs a thermal wake-up every 4-5 seconds, collects positioning data once, and then enters the next sleep period.
[0020] Optionally, the method for determining whether the terminal is in a motion state is specifically:
[0021] The motion data acquired by the gravity sensor is compared with the motion data acquired last time, and if the results are inconsistent, it is determined that the terminal is in motion.
[0022] Optionally, the positioning module includes a GPS module, a Bluetooth module and a NB-ioT module;
[0023] When the GPS module, Bluetooth module and NB-ioT module are in sleep mode, the GPS positioning data is stored as a chain unit with a fixed length of 64 bytes, and the NB-iot positioning data is written to the end of the chain unit; when the GPS module, Bluetooth module and NB-ioT module are awakened, after the NB-iot module network is restored, the positioning data is taken out in sequence according to the writing order of the chain unit and transmitted through the NB-iot module.
[0024] In a second aspect, the present disclosure provides a fusion positioning system, which is controlled by the energy consumption control method of the fusion positioning system as described in the first aspect, including:
[0025] Power management chip, single chip microcomputer, positioning module, gravity sensor; wherein the positioning module includes GPS module, Bluetooth module and NB-ioT module;
[0026] The gravity sensor is used to monitor the position change of the terminal in real time, and transmit the position change data to the single-chip microcomputer, and the single-chip microcomputer determines whether the terminal is in a moving state or a stationary state according to the position change data; the single-chip microcomputer is used to perform a first energy consumption management on the fusion positioning system corresponding to the terminal in a stationary state, and perform a second energy consumption management on the fusion positioning system corresponding to the terminal in a moving state;
[0027] The power management chip is electrically connected to the single chip microcomputer, the GPS module, the Bluetooth module and the NB-ioT module respectively;
[0028] The single chip microcomputer is also electrically connected to the gravity sensor, the GPS module, the Bluetooth module and the NB-ioT module;
[0029] The single chip microcomputer controls the power of the GPS module, the Bluetooth module and the NB-ioT module through the power management chip.
[0030] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:
[0031] 1. Combine multiple positioning technologies to achieve integrated indoor and outdoor precise positioning and meet positioning requirements in various complex environments;
[0032] 2. Use the gravity sensor to monitor the acceleration changes of the terminal in three axes in real time, judge the terminal's status based on this, and quickly switch the energy consumption management mode to flexibly implement energy consumption management under different terminal states. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0035] Figure 1 This is a flow chart of the energy consumption control method of the fusion positioning system according to the embodiment of the present disclosure;
[0036] Figure 2 This is a connection diagram of the fusion positioning system described in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0037] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0038] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0039] Figure 1 This is a flow chart of the energy consumption control method of the fusion positioning system according to the embodiment of the present disclosure. Figure 2 This is a connection diagram of the fusion positioning system described in the embodiment of the present disclosure. Please refer to Figure 1 to Figure 2 The present disclosure provides an energy consumption control method of a fusion positioning system 100, wherein the fusion positioning system 100 is applied to a terminal, and the energy consumption control method of the fusion positioning system 100 includes:
[0040] S1: Initializing the fusion positioning system 100;
[0041] S2: monitoring the position coordinate changes of the terminal in real time by integrating the gravity sensor 30 in the positioning system 100 to determine whether the terminal is in a moving state or a stationary state;
[0042] S3 / S31: performing a first energy consumption management on the fusion positioning system 100 corresponding to the terminal in the static state,
[0043] S3 / S32: performing a second energy consumption management on the fusion positioning system 100 corresponding to the terminal in the moving state;
[0044] The positioning module in the fusion positioning system under the first energy consumption management is powered off, and the positioning module in the fusion positioning system under the second energy consumption management is in a dormant state. Optionally, the positioning module includes a Bluetooth module 50 , a GPS module 40 and a NB-ioT module 60 .
[0045] Specifically, in an optional embodiment provided in the present disclosure, the energy consumption control method of the fusion positioning system 100 is applied to the fusion positioning system 100, and the fusion positioning system 100 is applied to a terminal, which may be a handheld or wearable device having the fusion positioning system 100.
[0046] In indoor and outdoor environments, Bluetooth beacons are deployed according to actual needs to build a Bluetooth positioning network. In the fusion positioning system 100, the Bluetooth module 50 in the positioning module is used to receive Bluetooth signals. The positioning module also includes a GPS module 40, which is used to receive signals sent by GPS satellites. The positioning module also includes an NB-ioT (Narrow Band Internet of Things) module 60, which is used to receive signals sent by an Internet of Things base station or platform. After the terminal is turned on, the fusion positioning system 100 is first initialized, including starting the GPS module 40, the Bluetooth module 50, the NB-ioT module 60 and the gravity sensor 30. The gravity sensor 30 can monitor the acceleration changes of the terminal in three axes (X, Y, Z) in real time. When the terminal is in a stationary state, the acceleration changes in the three axes are very small and stable, which is caused by the influence of gravity; on the contrary, when the terminal moves, the accelerations in these axes will change significantly. An algorithm is used to determine whether the terminal is in motion or at rest, and different energy consumption management is performed on the fused positioning system 100 corresponding to the terminal in motion and at rest respectively; when the terminal is in a resting state, that is, in the first energy consumption management state, the power of the GPS module 40, the Bluetooth module 50 and the NB-ioT module 60 are turned off, and the normal operation of the gravity sensor 30 is retained; when the terminal is in motion, that is, in the second energy consumption management state, the GPS module 40, the Bluetooth module 50 and the NB-ioT module 60 are in sleep mode, and positioning data is collected every few seconds, and the normal operation of the gravity sensor 30 is retained; in this way, by turning off the power of the positioning module in the fused positioning system 100, the energy consumption of the terminal in a resting state can be effectively reduced, and by setting the positioning module in the fused positioning system 100 to sleep and interval wake-up mode, the energy consumption of the terminal in a moving state can be effectively reduced, thereby improving the battery life and service life of the terminal.
[0047] It should be noted that, in the mobile state, the GPS module 40 provides outdoor location information, and the Bluetooth module 50 provides indoor location information by receiving the signal of the Bluetooth beacon. In an open outdoor environment, the Bluetooth signal is weak, and the GPS positioning accuracy is high; in an indoor environment, the GPS signal is easily blocked by obstacles, while the Bluetooth signal has no angle and directionality restrictions, and the Bluetooth signal has strong penetration. Therefore, it is proposed to use GPS positioning in an open outdoor environment and Bluetooth positioning for close indoor distances, combining the two positioning technologies to achieve precise positioning of indoor and outdoor integration. In addition, the present disclosure also adopts an adaptive switching algorithm, which can automatically select the most suitable positioning mode according to the environment to achieve seamless switching of indoor and outdoor positioning. The adaptive algorithm mainly includes: the Bluetooth module 50 and the GPS module 40 are independently positioned and run and independently calculate the positioning results, and the fusion algorithm program will perform weighted operations based on the accuracy and signal quality of Bluetooth and GPS to obtain the weighted average as the final positioning result, and the terminal can directly obtain the final positioning result. The single-chip microcomputer 20 processes the positioning data and displays it to the user through the interface; at the same time, the positioning data is uploaded to the server for subsequent data analysis and processing.
[0048] Please continue to refer to Figure 1 to Figure 2 The present disclosure provides an energy consumption control method for a fusion positioning system 100. The first energy consumption management of the fusion positioning system 100 in a static state refers to:
[0049] When the terminal is in a stationary state, the power of the GPS module 40, the Bluetooth module 50 and the NB-ioT module 60 is turned off, and the single-chip microcomputer 20 enters a low-power sleep mode.
[0050] Specifically, the gravity sensor 30 monitors the acceleration changes of the terminal in real time, and transmits the terminal's position coordinates or acceleration information to the single-chip microcomputer 20. The single-chip microcomputer 20 determines whether the terminal is in motion or at rest through an algorithm. When the terminal is at rest, the single-chip microcomputer 20 turns off the power of the Bluetooth module 50, the GPS module 40, and the NB-ioT module 60 through the power management chip 10. The single-chip microcomputer 20 wakes up from sleep once every 1-2 seconds to check the acceleration changes of the gravity sensor 30. Optionally, the single-chip microcomputer 20 wakes up once every 1 second, or, the single-chip microcomputer 20 wakes up once every 1.5 seconds, or, the single-chip microcomputer 20 wakes up once every 2 seconds... They are not listed one by one here, and it is only necessary that the single-chip microcomputer 20 wakes up once every 1-2 seconds to check the acceleration changes of the gravity sensor 30. Taking the ATMEGA328P-MU model microcontroller and the SC7A20TR model gravity sensor as examples, it only takes 2ms for the microcontroller 20 to wake up once to check the gravity sensor 30 to determine the working status. The working current of the microcontroller 20 is 1.2mA, the sleep current of the microcontroller 20 is 2μA, and the average working current of the gravity sensor 30 is only 2μA. When the terminal is in a static state, the microcontroller 20 sleeps once and wakes up once as a first energy consumption management cycle. The average current of the fusion positioning system 100 in a first energy consumption management cycle is: 2μA+(2μA*1S+1.2mA*0.002S) / 1S=6.39μA, and three 1200mAH batteries can be calculated to have 3*1200 / 0.0064mA / 24 / 30 / 12=65 years. Through the first energy consumption management provided by the embodiment of the present disclosure, the standby time of the battery of the fusion positioning system 100 is approximately equal to the service life of the battery when it is in a static state.
[0051] It should be noted that the working current and sleep current corresponding to different types of single-chip microcomputers and gravity sensors are not necessarily the same. The above embodiment is described using the ATMEGA328P-MU single-chip microcomputer and the SC7A20TR gravity sensor as examples. In some other embodiments, single-chip microcomputers or gravity sensors with different structures that can perform the same function can also be used.
[0052] Please continue to refer to Figure 1 to Figure 2 The present disclosure provides an energy consumption control method of a fusion positioning system 100, and the method for determining whether a terminal is in a stationary state is specifically as follows:
[0053] The motion data acquired by the gravity sensor 30 is compared with the motion data acquired last time. If the results are consistent and exceed the set time, it is determined that the terminal is in a stationary state;
[0054] The motion data includes the location coordinates and acceleration information of the terminal.
[0055] Specifically, the single-chip microcomputer 20 checks the motion data obtained by the gravity sensor 30 once every 1-2 seconds. The motion data obtained by the gravity sensor 30 includes the position coordinates and acceleration of the terminal in the three axes of X, Y, and Z. The obtained motion data is compared with the motion data obtained in the previous check. If the comparison results are inconsistent, it is determined that the terminal is in motion. If the comparison results are consistent, and the consistency of two adjacent comparison results exceeds the set time, it is determined that the terminal is in a stationary state, and the first energy consumption management is performed on the fusion communication system corresponding to the terminal in the stationary state; in this way, the motion data obtained by the gravity sensor 30 is combined with the comparison of two adjacent motion data by the single-chip microcomputer 20. When the two adjacent motion data are consistent and remain unchanged within the set time, it can be determined that the terminal is in a stationary state and the first energy consumption management mode is selected.
[0056] Please continue to refer to Figure 1 to Figure 2 The present disclosure provides an energy consumption control method for a fusion positioning system 100. When the position coordinates and acceleration data of the terminal in the three axes of X, Y, and Z acquired by the gravity sensor 30 twice in succession remain unchanged for a set time of 1-2 minutes, it is judged that the terminal is in a stationary state; optionally, the set time can be 1 minute, 1.5 minutes, 2 minutes, etc., which are not listed here one by one; when the set time is too short, it is easy to cause inaccurate judgment, and when the set time is too long, it is easy to cause slow judgment and slow response. In this way, by setting the time length for which two adjacent motion data remain unchanged when judging the stationary state, the state of the terminal can be judged more accurately.
[0057] Please continue to refer to Figure 1 to Figure 2 The present disclosure provides an energy consumption control method for a fusion positioning system 100. When the power of the GPS module 40, the Bluetooth module 50 and the NB-ioT module 60 is turned off, the single-chip microcomputer 20 wakes up from sleep once every 1-2 seconds to check the position coordinate change of the gravity sensor 30. When the position coordinate of the gravity sensor 30 changes, the terminal enters a motion state. At this time, the single-chip microcomputer 20 turns on the relevant power of the Bluetooth module 50, the GPS module 40 and the NB-ioT module 60 through the power management chip 10.
[0058] Specifically, when the terminal is in a stationary state, the fusion positioning system 100 enters the first energy consumption management mode. At this time, the power of the GPS module 40, the Bluetooth module 50 and the NB-ioT module 60 is turned off, and the single-chip microcomputer 20 is in sleep mode. The single-chip microcomputer 20 in sleep mode wakes up once every 1-2 seconds to check the change of the motion data of the gravity sensor 30. If the motion data acquired by the gravity sensor 30 twice in succession is within the set error range, the power of the GPS module 40, the Bluetooth module 50 and the NB-ioT module 60 remains off, and the single-chip microcomputer 20 is still In a cycle where the terminal is in sleep mode and wakes up once every 1-2 seconds, it only takes 2 milliseconds for the single-chip microcomputer 20 to wake up once and check the gravity sensor 30 to determine the motion state. When the single-chip microcomputer 20 in sleep mode wakes up, it checks the gravity sensor 30. If the change in the motion data acquired by the gravity sensor 30 twice in a row exceeds the set error range, it is determined that the terminal is in motion. At this time, the single-chip microcomputer 20 turns on the power of the Bluetooth module 50, the GPS module 40, and the NB-ioT module 60 through the power management chip 10, and the fusion positioning system 100 enters the second energy consumption management mode.
[0059] It should be noted that the changes in two adjacent motion data within the set error range can be regarded as static, and the "error range" can be set according to actual needs. For example, the comparison method can use subtraction to compare the position coordinates obtained twice in three axes respectively. When the offset of the terminal's position coordinates in the three axes of X, Y, and Z are all within |0~2%|, it can be regarded as no offset. This is only an example and does not represent the actual allowable error range. The specific range can be set according to actual needs.
[0060] Please continue to refer to Figure 1 to Figure 2 The present disclosure provides an energy consumption control method of a fusion positioning system 100. The second energy consumption management of the fusion positioning system 100 corresponding to the terminal in motion refers to:
[0061] When the terminal is in motion, the GPS module 40, the Bluetooth module 50 and the NB-ioT module 60 enter a sleep mode, perform a thermal wake-up every 4-5 seconds, collect positioning data once, and then enter the next sleep period.
[0062] Specifically, the GPS has a hot start function, that is, the GPS module 40 is in sleep mode without turning off the power of the GPS itself, and it only takes 1 second for the GPS to wake up from sleep mode and complete a positioning output.
[0063] When the terminal is in motion, the single-chip microcomputer 20 turns on the power of the Bluetooth module 50, the GPS module 40, and the NB-ioT module 60 respectively through the power management chip 10. At this time, the gravity sensor 30 is always in working state, and the single-chip microcomputer 20, the Bluetooth module 50, the GPS module 40, and the NB-ioT module 60 are in sleep state. Without turning off the power, they are hot-awakened every 4-5 seconds to collect positioning data, complete positioning data collection within 1 second, and then enter the next sleep stage, and wake up again after 4-5 seconds to complete data collection... In this cycle; taking the ATMEGA328P-MU model single-chip microcomputer, the RT8065ZQW model power management chip, the SC7A20TR model gravity sensor, the DA14531 model Bluetooth, the AT6558D model GPS, and the EC-01 model NB-ioT as examples, the working current of the awakened single-chip microcomputer 20 is 1.2mA, and the gravity sensor The working current of the GPS module 40 is 2μA, the working current of the NB-ioT module 60 is 12mA, and the working current of the Bluetooth module 50 is 2mA; the current of the microcontroller 20 when in sleep mode is 2μA, the working current of the gravity sensor 30 is 2μA, the current of the GPS module 40 when in sleep mode is 500μA, the current of the NB-ioT module 60 when in sleep mode is 1mA, and the current of the Bluetooth module 50 when in sleep mode is 4μA. The module completing one sleep and one positioning data collection is regarded as a second energy consumption management cycle. The average current in a second energy consumption management cycle is: (1S*(1.2mA+2μA+40mA+12mA+2mA)+4S(2μA+2μA+500μA+1mA+4μA)) / 5S=12.2mA; 3 1200mAH batteries are calculated to have a continuous working time of 3*1200 / 12.2mA / 24=12 days.
[0064] It should be noted that the working current and sleep current corresponding to devices of different models are not necessarily the same. The above embodiment is illustrated by taking the ATMEGA328P-MU model microcontroller, the RT8065ZQW model power management chip, the SC7A20TR model gravity sensor, the DA14531 model Bluetooth, the AT6558D model GPS, and the EC-01 model NB-ioT as examples. In some other embodiments, microcontrollers, power management chips, gravity sensors, Bluetooth, GPS, and NB-ioT with different structures that can perform the same functions can also be used.
[0065] Please continue to refer to Figure 1 to Figure 2 The present disclosure provides an energy consumption control method of a fusion positioning system 100, and the method for determining whether a terminal is in a moving state is specifically as follows:
[0066] The motion data obtained by the gravity sensor 30 is compared with the motion data obtained last time. If the comparison result exceeds the set error range, it is determined that the terminal is in motion. That is, if the terminal was previously in a stationary state, the single-chip microcomputer 20 wakes up from sleep every 1-2 seconds, and compares the position coordinates and acceleration data of the terminal on the X, Y, and Z axes obtained by the gravity sensor 30 twice adjacently. If the motion data obtained twice in succession exceeds the set error range, it is determined that the terminal has entered a motion state. At this time, the single-chip microcomputer 20 turns on the power of the Bluetooth module 50, the GPS module 40, and the NB-ioT module 60 through the power management chip 10, and the fusion positioning system 100 enters the second energy consumption management state; if the terminal was previously in a motion state, the single-chip microcomputer 20, the Bluetooth module 50, and the GPS The module 40 and the NB-ioT module 60 are thermally awakened from sleep mode every 4-5 seconds. The single-chip microcomputer 20 compares the position coordinates and acceleration data of the terminal on the X, Y, and Z axes obtained twice by the gravity sensor 30. If the motion data obtained twice in succession exceeds the set error range, it is determined that the terminal is still in motion. At this time, the single-chip microcomputer 20, the Bluetooth module 50, the GPS module 40, and the NB-ioT module 60 are still in sleep mode, and the positioning data is collected in a cycle every 4-5 seconds, and the fusion positioning system 100 maintains the second energy consumption management state. In this way, the single-chip microcomputer 20 compares the motion data obtained twice by the gravity sensor 30, so as to realize the switching of the terminal between the static state and the motion state in time, thereby responding to the corresponding energy consumption management mode in time.
[0067] Please continue to refer to Figure 1 to Figure 2 The present disclosure provides an energy consumption control method for a fusion positioning system 100. When the GPS module 40, the Bluetooth module 50 and the NB-ioT module 60 are in sleep mode, the GPS positioning data is stored as a chain unit with a fixed length of 64 bytes, and the NB-iot positioning data is written to the end of the chain unit; when the GPS module 40, the Bluetooth module 50 and the NB-ioT module 60 are awakened, after the network of the NB-ioT module 60 is restored, the positioning data is taken out in sequence according to the writing order of the chain unit and transmitted through the NB-ioT module 60.
[0068] Specifically, when there is no NB-ioT mobile cellular signal, saving low-power positioning data is a technical challenge. To resume data transmission when the mobile cellular signal is restored, the positioning data at low power consumption when there is no signal must be temporarily stored. Conventional storage media such as hard disks are all 10 watts, and the battery power of the terminal cannot drive them at all, let alone use them at low power consumption. Solid-state hard disks cannot meet the requirements of low-power storage of positioning data. Low power consumption requires that the storage medium can start and write data within microseconds, and the current is required to be at the microampere level, and the average power consumption in a working cycle is at the microampere level. The present disclosure adopts EEPROM (Electrically Erasable Programmable read only memory) technology. EEPROM is the application technology of the bottom layer of the chip. It completes a read cycle in nanoseconds. According to the chip specification (Data In Hold Time tCHDX tDH 2ns), a data bit only takes 2 nanoseconds, so the data reading and writing time can be almost ignored. Only the standby current is calculated. The chip specification shows (Standby Current ICC1 / CS=VCC, VIN=GND or VCC 10 50μA)(Power-down Current ICC2 / CS=VCC, VIN=GND or VCC 1 15μA). It can be seen that whether it is in working state or standby state, the current is in microampere level. Because the reading and writing speed is in nanosecond level and the power is basically off during the reading and writing cycle, this power consumption can be ignored.
[0069] The output length of GPS positioning is less than 64 bytes. The positioning data is stored as a fixed length of 64 bytes and saved in the form of chain units. When there is no signal in NB-iot, the data is written to the end of the chain unit with a fixed length of 64 bytes. After the NB-iot network is restored, the positioning data is taken out in the order of writing in the chain unit and transmitted through NB-iot to achieve the continued transmission of positioning data under low power consumption. In this way, low-power storage of positioning data can be achieved in the low-power sleep state of the positioning module, which is convenient for the continued transmission of positioning data after the network is restored.
[0070] Please continue to refer to Figure 1 to Figure 2 The present disclosure provides a fusion positioning system 100, which is controlled by the energy consumption control method of the fusion positioning system 100 as described above, including:
[0071] A power management chip 10, a single-chip microcomputer 20, a GPS module 40, a Bluetooth module 50, a NB-ioT module 60, and a gravity sensor 30; wherein the power management chip 10 is electrically connected to the single-chip microcomputer 20, the GPS module 40, the Bluetooth module 50 and the NB-ioT module 60, respectively, and the power management chip 10 is used to provide power for other modules; the single-chip microcomputer 20 is electrically connected to the gravity sensor 30, the GPS module 40, the Bluetooth module 50 and the NB-ioT module 60; the single-chip microcomputer 20 controls the power of the GPS module 40, the Bluetooth module 50 and the NB-ioT module 60 through the power management chip 10; the gravity sensor 30 is used to monitor the position change of the terminal in real time, and transmit the position change data to the single-chip microcomputer 20, and the single-chip microcomputer 20 determines whether the terminal is in motion or in a stationary state according to the position change data; the single-chip microcomputer 20 is used to perform a first energy consumption management on the fusion positioning system 100 in a stationary state, and a second energy consumption management on the fusion positioning system 100 in a moving state. In this way, the energy consumption management of the fusion positioning system can be achieved through the energy consumption control method of the fusion positioning system, thereby reducing the power consumption of the fusion positioning system in a stationary or moving state.
[0072] In summary, the present disclosure provides a fusion positioning system and its energy consumption control method, which include initializing the fusion positioning system; monitoring the position coordinate changes of the terminal in real time through the gravity sensor in the fusion positioning system to determine whether the terminal is in motion or in a stationary state; performing a first energy consumption management on the fusion positioning system in a stationary state, that is, powering off the positioning module; performing a second energy consumption management on the fusion positioning system in a moving state, that is, setting the positioning module to an interval sleep state; monitoring the acceleration changes of the terminal in three axes in real time through the gravity sensor to determine the state of the terminal accordingly; and automatically turning off the GPS module through the first energy consumption management. , Bluetooth module and NB-ioT module power supply, effectively reducing the energy consumption of the terminal in a static state and extending the terminal's usage time; through the second energy consumption management, the GPS module, Bluetooth module and NB-ioT module enter a low-power sleep mode, and collect positioning data at intervals, effectively reducing the energy consumption of the terminal in a mobile state; combining GPS and Bluetooth technology to achieve integrated indoor and outdoor precise positioning to meet the positioning needs in various complex environments; real-time detection of the terminal's mobile state, and rapid switching of positioning modes to ensure the real-time and accuracy of positioning data; suitable for various indoor and outdoor environments, including factories, warehouses, parking lots and other complex scenes.
[0073] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0074] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for controlling energy consumption of a fusion positioning system, characterized in that: The fusion positioning system is applied on a terminal, and the energy consumption control method of the fusion positioning system includes: Initialize the fusion positioning system; By integrating the gravity sensor in the positioning system, the position coordinate changes of the terminal are monitored in real time to determine whether the terminal is in a moving state or a stationary state; Performing a first energy consumption management on the fusion positioning system corresponding to the terminal in a stationary state, Performing a second energy consumption management on the fusion positioning system corresponding to the terminal in motion; Among them, the positioning module in the fusion positioning system under the first energy consumption management is powered off, and the positioning module in the fusion positioning system under the second energy consumption management is in a dormant state.
2. The energy consumption control method of the fusion positioning system according to claim 1, characterized in that: The first energy consumption management of the fusion positioning system corresponding to the terminal in the static state refers to: The positioning module includes a GPS module, a Bluetooth module and a NB-ioT module; When the terminal is in a stationary state, the power supplies of the GPS module, the Bluetooth module and the NB-ioT module are turned off, and the single-chip microcomputer enters a low-power sleep mode.
3. The energy consumption control method of the fusion positioning system according to claim 1, characterized in that: The method for determining whether the terminal is in a stationary state is specifically as follows: Comparing the motion data acquired by the gravity sensor with the motion data acquired last time, if the results are consistent and exceed a set time, determining that the terminal is in a stationary state; The motion data includes the location coordinates and acceleration information of the terminal.
4. The energy consumption control method of the fusion positioning system according to claim 3, characterized in that: The setting time is 1-2 minutes.
5. The energy consumption control method of the fusion positioning system according to claim 2, characterized in that: When the power of the GPS module, Bluetooth module and NB-ioT module is turned off, the single-chip microcomputer wakes up from sleep every 1-2 seconds to check the change of the position coordinates of the gravity sensor. When the position coordinates of the gravity sensor change, the terminal enters the motion state. At this time, the single-chip microcomputer turns on the relevant power of the Bluetooth, GPS, and NB-ioT modules through the power management chip.
6. The energy consumption control method of the fusion positioning system according to claim 1, characterized in that: The second energy consumption management of the fusion positioning system corresponding to the terminal in motion refers to: When the terminal is in motion, the positioning module enters a sleep mode, performs a thermal wake-up every 4-5 seconds, collects positioning data once, and then enters the next sleep period.
7. The energy consumption control method of the fusion positioning system according to claim 1, characterized in that: The method for determining whether the terminal is in motion is specifically as follows: The motion data acquired by the gravity sensor is compared with the motion data acquired last time, and if the results are inconsistent, it is determined that the terminal is in motion.
8. The energy consumption control method of the fusion positioning system according to claim 1, characterized in that: The positioning module includes a GPS module, a Bluetooth module and a NB-ioT module; When the GPS module, Bluetooth module and NB-ioT module are in sleep mode, the GPS positioning data is stored as a chain unit with a fixed length of 64 bytes, and the NB-iot positioning data is written to the end of the chain unit; when the GPS module, Bluetooth module and NB-ioT module are awakened, after the NB-iot module network is restored, the positioning data is taken out in sequence according to the writing order of the chain unit and transmitted through the NB-iot module.
9. A fusion positioning system, controlled by the energy consumption control method of the fusion positioning system according to any one of claims 1 to 8, characterized in that: include: Power management chip, single chip microcomputer, positioning module, gravity sensor; wherein the positioning module includes GPS module, Bluetooth module and NB-ioT module; The gravity sensor is used to monitor the position change of the terminal in real time, and transmit the position change data to the single-chip microcomputer, and the single-chip microcomputer determines whether the terminal is in a moving state or a stationary state according to the position change data; the single-chip microcomputer is used to perform a first energy consumption management on the fusion positioning system corresponding to the terminal in a stationary state, and perform a second energy consumption management on the fusion positioning system corresponding to the terminal in a moving state; The power management chip is electrically connected to the single chip microcomputer, the GPS module, the Bluetooth module and the NB-ioT module respectively; The single chip microcomputer is also electrically connected to the gravity sensor, the GPS module, the Bluetooth module and the NB-ioT module; The single chip microcomputer controls the power of the GPS module, the Bluetooth module and the NB-ioT module through the power management chip.
Citation Information
Cited By
Assisted positioning beacon network with synchronous coordination communication
CN120692522A
Self-adaptive low-power-consumption 4G dual-mode positioning terminal
CN122592444A