CN110337139B - Low-power-consumption control method based on wireless sensor and wireless sensor - Google Patents

Low-power-consumption control method based on wireless sensor and wireless sensor Download PDF

Info

Publication number
CN110337139B
CN110337139B CN201910650828.4A CN201910650828A CN110337139B CN 110337139 B CN110337139 B CN 110337139B CN 201910650828 A CN201910650828 A CN 201910650828A CN 110337139 B CN110337139 B CN 110337139B
Authority
CN
China
Prior art keywords
cpu
sensor
communication module
wireless communication
configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910650828.4A
Other languages
Chinese (zh)
Other versions
CN110337139A (en
Inventor
刘立峰
王港申
赵智轩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Henan Bingfeng Electronic Science And Technology Co ltd
Original Assignee
Henan Bingfeng Electronic Science And Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Henan Bingfeng Electronic Science And Technology Co ltd filed Critical Henan Bingfeng Electronic Science And Technology Co ltd
Priority to CN201910650828.4A priority Critical patent/CN110337139B/en
Publication of CN110337139A publication Critical patent/CN110337139A/en
Application granted granted Critical
Publication of CN110337139B publication Critical patent/CN110337139B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Transceivers (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention relates to a low-power consumption control method based on a wireless sensor and the wireless sensor, belonging to the technical field of wireless communication transmission, wherein the wireless sensor comprises a CPU, a wireless communication module and a sensor, and the following method is realized: 1) the CPU interrupts the wake-up signal through the timer and triggers to enter a configuration mode; 2) in the configuration mode, in each period, the CPU sends a configuration message to the wireless communication module, and the wireless communication module sleeps after the sending is finished; 3) the wireless communication module wakes up every period, receives the configuration information, performs configuration, and sleeps after the configuration is completed, so that the problem of high power consumption of the wireless sensor in the prior art caused by the fact that the CPU and the wireless communication module are in a configuration state for a long time in the configuration process is solved.

Description

Low-power-consumption control method based on wireless sensor and wireless sensor
Technical Field
The invention relates to a low-power-consumption control method based on a wireless sensor and the wireless sensor, and belongs to the technical field of wireless communication transmission.
Background
With the rapid development of the internet of things technology, energy consumption is a serious problem relative to battery-powered products, if the electric energy is exhausted, the device is "strike", and the electric energy means the life of an electronic product in some occasions. In the era of the internet of things, more and more battery-powered devices are connected through wireless communication, and the problem of reducing energy consumption becomes an important task for engineers.
In the wireless communication transmission technology, the ultra-low power consumption long-distance wireless transmission equipment based on the LoRa mainly detects the temperature, the humidity, the dew point and the illumination intensity in the air, for example, a wireless sensor based on the LoRa detects the temperature, the humidity and the dew point in the air through the sensor. One technical requirement that is important for the adoption of the wireless transmission device is low power consumption. Although the existing LoRa technology adopts the LoRa modem technology with low power consumption in terms of signal modulation method design, the problems of inconvenient equipment installation, short equipment working time, low battery utilization rate, short distance and the like are solved in a certain sense. However, in the practical application process, no matter the wireless sensor is configured or used, the long-time configuration state of the CPU and the peripheral circuits thereof still consume a large amount of power.
The CPU controls the data transmission and reception of the communication module by configuring the internal register of the communication module. The CPU and the communication module complete the configuration process according to the appointed period. Different tasks may require different configuration time, and the agreed configuration period must be set according to the longest possible configuration time to ensure that all configuration is successful. Then, idle time occurs in the configuration process with short time, and the CPU and the communication module are both in a normal operating state, which results in large unnecessary power consumption.
Therefore, it is necessary to design a low power consumption control method for a wireless sensor to further reduce the power consumption generated during the actual operation of the existing configuration process.
Disclosure of Invention
The invention aims to provide a low-power-consumption control method based on a wireless sensor and the wireless sensor, and solves the problem of high power consumption of the wireless sensor in the prior art caused by the fact that a CPU and a wireless communication module are in a configuration state for a long time in the configuration process.
In order to achieve the purpose, the technical scheme of the invention is as follows: the invention provides a low-power consumption control method based on a wireless sensor, wherein the wireless sensor comprises a CPU, a wireless communication module and a sensor, and the method comprises the following steps:
1) the CPU interrupts the wake-up signal through the timer and triggers to enter a configuration mode;
2) in the configuration mode, in each period, the CPU sends a configuration message to the wireless communication module, and the wireless communication module sleeps after the sending is finished;
3) and awakening the wireless communication module every period, receiving the configuration information, configuring, and sleeping after configuration is completed.
According to the invention, by designing the low-power-consumption control method based on the wireless sensor, after the CPU is awakened to enter the configuration mode, the CPU enters the dormant state after sending the configuration information to the wireless communication module in each period, and then the wireless communication module also enters the dormant state after being configured according to the configuration information, so that the CPU does not need to be maintained in the configuration state all the time in the process of configuring the wireless communication module after being awakened, and the time and the power consumption in the CPU configuration process are effectively reduced.
Furthermore, the CPU and the wireless communication module are awakened according to the RTC.
Further, each cycle comprises a number of clock cycles.
Further, the wireless communication module is LoRa.
Further, the sensors include a temperature sensor, a humidity sensor, a dew point sensor, and an illumination intensity sensor.
The invention also provides a wireless sensor, which comprises a CPU, a wireless communication module and a sensor, and the following method is realized:
1) the CPU interrupts the wake-up signal through the timer and triggers to enter a configuration mode;
2) in the configuration mode, in each period, the CPU sends a configuration message to the wireless communication module, and the wireless communication module sleeps after the sending is finished;
3) and the wireless communication module wakes up every period, receives the configuration information, performs configuration and sleeps after the configuration is completed.
According to the wireless sensor designed by the invention, after the CPU is awakened to enter the configuration mode, the CPU enters the dormant state after sending the configuration information to the wireless communication module in each period, and then the wireless communication module also enters the dormant state after being configured according to the configuration information, so that the CPU does not need to be maintained in the configuration state all the time in the process of configuring the wireless communication module after being awakened, and the time and the power consumption in the CPU configuration process are effectively reduced.
Furthermore, the CPU and the wireless communication module are awakened according to the RTC.
Further, each cycle comprises a number of clock cycles.
Further, the wireless communication module is LoRa.
Further, the sensors include a temperature sensor, a humidity sensor, a dew point sensor, and an illumination intensity sensor.
Drawings
FIG. 1 is a schematic diagram of a LoRa-based wireless sensor in an embodiment of the present invention;
FIG. 2 is a diagram of a prior art CPU configuration parameter configuration process power consumption profile;
FIG. 3 is a diagram of the power consumption distribution of the CPU configuration process in an embodiment of the present invention;
fig. 4 is a power consumption distribution diagram of the LoRa configuration parameter process in the embodiment of the present invention.
Detailed Description
The invention provides a low-power consumption control method based on a wireless sensor, provides the wireless sensor, is an ultra-long distance wireless communication technology, and has the advantages of simple structure, long communication distance, low cost, low power consumption and the like.
Embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
Wireless sensor embodiment:
the wireless sensor provided in this embodiment includes a CPU, a wireless communication module, and a sensor, as shown in fig. 1, the wireless communication module in this embodiment takes LoRa as an example for description, and in the wireless sensor based on LoRa of this embodiment:
CPU chooses for use ultra-low power consumption STM8L152, and chip current is 400nA when not taking RTC dormancy, and chip current is 1.4uA when taking RTC dormancy down, the encapsulation type: TSSOP, data bus width: 8Bit, program memory size: 8KB, maximum frequency: 16MHZ, power supply: 1.65V-3.6V, size: 6.6 x4.5x1.05mm. The RAM and the EEPROM owned by the CPU are enough to realize the software configuration with ultra-low power consumption, external storage equipment does not need to be expanded, and the power consumption and the cost are further reduced. As shown in fig. 1, the CPU is configured with an IIC interface for data interaction with the sensor and an SPI interface for data transmission with the LoRa communication module. And a status indicator lamp interface is also arranged.
The wireless transmission module adopts LoRa, and SX1278 is selected for use to the terminal radio frequency chip, and under the dormant mode, this chip current is as low as 0.2 uA-1 uA, can ignore, and transmission distance is up to 5 kilometers in open area.
The sensors comprise a temperature sensor, a humidity sensor, a dew point sensor, an illumination intensity sensor and the like for acquiring agricultural production environment data.
As shown in fig. 2, in the configuration process of the existing wireless sensor, after the CPU is woken up, the CPU sends configuration information to the LoRa, the CPU always maintains the configuration state until the LoRa completes configuration, and then sends next configuration information, so that the CPU and the LoRa module are always in the configuration state in the whole process, and the power consumption of the device is large.
In the embodiment, the following method is implemented by the wireless sensor configured as described above:
1) the CPU interrupts the wake-up signal through the timer and triggers to enter a configuration mode;
2) as shown in fig. 3, in the configuration mode, in each period, the CPU sends a configuration message to the wireless communication module, and goes to sleep after the sending is completed;
3) as shown in fig. 4, the wireless communication module wakes up every period, receives the configuration information, performs configuration, and sleeps after configuration is completed.
In this embodiment, the CPU and the wireless communication module are awakened according to the RTC. As other embodiments, an additionally set timer may be used for waking up.
In the above step 2) and step 3), each cycle includes several clock cycles. Can be reasonably arranged according to actual needs.
Specifically, the detailed working process of the wireless sensor in this embodiment is as follows:
the collected data input end of the CPU is connected with the sensor interface and used for transmitting data information. When the CPU is awakened, the data exchange is carried out between the CPU and the sensor through the IIC, if the CPU receives the data of the sensor, the data are stored in the corresponding memory, meanwhile, the CPU monitors the internal reference voltage value and stores the internal reference voltage value into the corresponding memory in sequence, and at the moment, the CPU awakens the LoRa communication module to transmit the data in the memory. The input end of the LoRa communication module is connected to the output end of the CPU and used for transmitting data signals, and after the LoRa communication module receives configuration information sent by the CPU, the LoRa communication module is awakened under the control of the CPU, and meanwhile, the main control CPU turns into a dormant state. And the LoRa communication module is converted into a dormant state after being configured according to the configuration information. The above steps are repeated in the next configuration process.
In the embodiment, through the mutually matched configuration process of the CPU and the wireless communication module, the CPU and the LoRa module are not in the configuration state for a long time any more, but enter the dormant state immediately after sending the configuration information, and the energy consumption of the system is effectively reduced.
As a further improvement of this embodiment, a charging circuit is also provided in this embodiment. When using loRa to realize low-power consumption, adopt the lithium cell that charges, increase a module of charging and directly charge for equipment, its module of charging uses TP4056 high efficiency chip that charges. TP4056 is a single-section lithium ion battery constant current/constant voltage linear charger, adopts SOP-8 encapsulation and simple external application circuit of bottom area fin, and is especially suitable for portable equipment application, is fit for USB power and adapter power work, and the inside adopts prevents the reverse charging circuit, does not need outside isolation diode. The thermal feedback allows for automatic adjustment of the charging current to limit the chip temperature under high power operation or high ambient temperature conditions. The TP4056 charge cutoff voltage is 4.2V, and the charge current can be set by an external resistor. TP4056 will automatically end the charging process when the charging current drops to 1/10, which is the set point. When the input voltage is removed, TP4056 automatically enters the ultra-low power standby state, and the standby current is reduced to below 1 uA. TP4056 may also be placed in a shutdown mode when there is input power, thereby reducing the operating current to 40 uA. When the method is realized, the charging voltage is detected by using the function of the TP4056 chip, the voltage is stable when the comparison charging voltage value is detected for multiple times and is the same, and the low power consumption state is entered after the voltage is stable until the CPU is awakened by the RTC.
The embodiment of the low-power consumption control method based on the wireless sensor comprises the following steps:
the embodiment provides a low-power consumption control method based on a wireless sensor, wherein the wireless sensor comprises a CPU, a wireless communication module and a sensor, and the method comprises the following steps:
1) the CPU interrupts the wake-up signal through the timer and triggers to enter a configuration mode;
2) in the configuration mode, in each period, the CPU sends a configuration message to the wireless communication module, and the wireless communication module sleeps after the sending is finished;
3) and awakening the wireless communication module every period, receiving the configuration information, configuring, and sleeping after configuration is completed.
The detailed control method for low power consumption is given in the above embodiments of the wireless sensor, and therefore, the detailed description is omitted.
The above description is only a preferred example of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (6)

1. A low-power consumption control method based on a wireless sensor, wherein the wireless sensor comprises a CPU, a wireless communication module and a sensor, the wireless communication module is LoRa, and the method is characterized by comprising the following steps:
1) the CPU interrupts the wake-up signal through the timer and triggers to enter a configuration mode;
2) in a configuration mode, a CPU sends configuration information to the wireless communication module in each clock cycle of each cycle, and the CPU sleeps after the configuration information is sent in each clock cycle;
3) the wireless communication module wakes up in each period, receives configuration information sent by a CPU in each clock period, performs configuration, and sleeps after the configuration is completed in each clock period;
each cycle comprises a number of clock cycles.
2. The wireless sensor based low power consumption control method according to claim 1, wherein the CPU and the wireless communication module are awakened according to RTC.
3. The wireless sensor-based low power consumption control method according to claim 1, wherein the sensors comprise a temperature sensor, a humidity sensor, a dew point sensor and an illumination intensity sensor.
4. The utility model provides a wireless sensor, wireless sensor includes CPU, wireless communication module and sensor, wireless communication module is loRa, its characterized in that, realizes following method:
1) the CPU interrupts the wake-up signal through the timer and triggers to enter a configuration mode;
2) in a configuration mode, in each clock cycle of each cycle, a CPU sends configuration information to the wireless communication module, and after the configuration information is sent in each clock cycle, the CPU sleeps;
3) the wireless communication module wakes up in each period, receives configuration information sent by a CPU in each clock period, performs configuration, and sleeps after the configuration is completed in each clock period;
each cycle comprises a number of clock cycles.
5. The wireless sensor of claim 4, wherein the CPU and the wireless communication module are awakened from the RTC.
6. The wireless sensor of claim 4, wherein the sensor comprises a temperature sensor, a humidity sensor, a dew point sensor, and an illumination intensity sensor.
CN201910650828.4A 2019-07-18 2019-07-18 Low-power-consumption control method based on wireless sensor and wireless sensor Active CN110337139B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910650828.4A CN110337139B (en) 2019-07-18 2019-07-18 Low-power-consumption control method based on wireless sensor and wireless sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910650828.4A CN110337139B (en) 2019-07-18 2019-07-18 Low-power-consumption control method based on wireless sensor and wireless sensor

Publications (2)

Publication Number Publication Date
CN110337139A CN110337139A (en) 2019-10-15
CN110337139B true CN110337139B (en) 2022-03-08

Family

ID=68145896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910650828.4A Active CN110337139B (en) 2019-07-18 2019-07-18 Low-power-consumption control method based on wireless sensor and wireless sensor

Country Status (1)

Country Link
CN (1) CN110337139B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111007781A (en) * 2019-12-27 2020-04-14 北京润科通用技术有限公司 Control method and system of environment monitoring device
CN112333766B (en) * 2020-11-13 2022-02-11 北京美斯顿科技开发有限公司 Wireless communication method, system, terminal communication equipment and electronic equipment
CN114117356A (en) * 2021-10-25 2022-03-01 海南云智联科技有限公司 Method and equipment for realizing remote low-power-consumption sensor
CN114019858B (en) * 2021-10-29 2024-04-02 上海建工集团股份有限公司 Concrete admixture secondary compensation quantitative control method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5734927A (en) * 1995-06-08 1998-03-31 Texas Instruments Incorporated System having registers for receiving data, registers for transmitting data, both at a different clock rate, and control circuitry for shifting the different clock rates
CN102869077A (en) * 2012-08-28 2013-01-09 苏州博联科技有限公司 ZigBee-protocol-based data acquisition and transmission method of wireless sensor network
CN103843418A (en) * 2013-10-29 2014-06-04 华为终端有限公司 Method of service agent, modem and terminal
CN105373207A (en) * 2014-08-20 2016-03-02 深圳飞音时代网络通讯技术有限公司 Standby method of wireless communication terminal
CN105807889A (en) * 2016-02-29 2016-07-27 宇龙计算机通信科技(深圳)有限公司 Instruction processing method, instruction processing device and terminal
CN206619270U (en) * 2017-03-28 2017-11-07 浙江理工大学 Low-power consumption 433M wireless application data acquisition circuits

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190010335A (en) * 2017-07-21 2019-01-30 삼성전자주식회사 Storage device storing latency information, processor and computing system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5734927A (en) * 1995-06-08 1998-03-31 Texas Instruments Incorporated System having registers for receiving data, registers for transmitting data, both at a different clock rate, and control circuitry for shifting the different clock rates
CN102869077A (en) * 2012-08-28 2013-01-09 苏州博联科技有限公司 ZigBee-protocol-based data acquisition and transmission method of wireless sensor network
CN103843418A (en) * 2013-10-29 2014-06-04 华为终端有限公司 Method of service agent, modem and terminal
CN105373207A (en) * 2014-08-20 2016-03-02 深圳飞音时代网络通讯技术有限公司 Standby method of wireless communication terminal
CN105807889A (en) * 2016-02-29 2016-07-27 宇龙计算机通信科技(深圳)有限公司 Instruction processing method, instruction processing device and terminal
CN206619270U (en) * 2017-03-28 2017-11-07 浙江理工大学 Low-power consumption 433M wireless application data acquisition circuits

Also Published As

Publication number Publication date
CN110337139A (en) 2019-10-15

Similar Documents

Publication Publication Date Title
CN110337139B (en) Low-power-consumption control method based on wireless sensor and wireless sensor
CN111007781A (en) Control method and system of environment monitoring device
CN105656167B (en) Passive wireless sensor node power circuit based on vibration energy collector
CN109615053A (en) A kind of low power dissipation electron label and low power consumption method based on UWB
CN102214846A (en) Method for reducing consumption of battery management system and low-consumption battery management system
CN112020031A (en) Low-power consumption thing allies oneself with communication device based on wireless awakening of low frequency and wiFi
CN112351475A (en) Data acquisition method and device based on LORA low-power-consumption wireless communication technology
CN102495576B (en) Ultra-low power circuit control system and method thereof
CN209783638U (en) Beehive weight and temperature and humidity measurement collector based on Lora technology
CN105119726A (en) Wireless sensor network node rapid awakening method and apparatus thereof
CN113691889A (en) Wireless sensing node based on radio frequency energy supply and awakening and self-driving method thereof
CN211653439U (en) Key awakening circuit and electronic equipment
CN208888611U (en) A kind of super low-power consumption control system based on wireless bidirectional communication
CN204600440U (en) A kind of apparatus for testing body temperature and system
CN109993953B (en) Low-power consumption power supply module
CN208386945U (en) A kind of wake-up circuit for acquiring RF energy for wireless sensor node
CN111146853A (en) Wireless sensor with vibration energy recovery function and data transmission method thereof
CN210221137U (en) Low-power consumption humiture collection system based on zigbee
CN212727059U (en) Photovoltaic energy storage monitoring gateway device based on loRa
CN209057212U (en) A kind of super long standby time positioning device based on NB-IOT
CN211651879U (en) Distributed low-power-consumption wireless temperature measurement detector
CN204559893U (en) Wireless communication device, table meter inquiry unit and table meter inquiry system
CN113691890A (en) Wireless sensing system based on radio frequency can awaken up
CN109062397B (en) Singlechip dormancy management system
CN208903214U (en) A kind of single-chip microcontroller sleep management system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Liu Lifeng

Inventor after: Wang Gangshen

Inventor after: Zhao Zhixuan

Inventor before: Li Jianbing

Inventor before: Liu Lifeng

Inventor before: Wang Gangshen

Inventor before: Zhao Zhixuan

CB03 Change of inventor or designer information
GR01 Patent grant
GR01 Patent grant