CN110793655B - Low-power consumption wireless temperature measuring device - Google Patents

Low-power consumption wireless temperature measuring device Download PDF

Info

Publication number
CN110793655B
CN110793655B CN201911299394.4A CN201911299394A CN110793655B CN 110793655 B CN110793655 B CN 110793655B CN 201911299394 A CN201911299394 A CN 201911299394A CN 110793655 B CN110793655 B CN 110793655B
Authority
CN
China
Prior art keywords
wireless
power
module
temperature
low
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
CN201911299394.4A
Other languages
Chinese (zh)
Other versions
CN110793655A (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.)
Suctrn Technology Co ltd
Original Assignee
Suctrn 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 Suctrn Technology Co ltd filed Critical Suctrn Technology Co ltd
Priority to CN201911299394.4A priority Critical patent/CN110793655B/en
Publication of CN110793655A publication Critical patent/CN110793655A/en
Application granted granted Critical
Publication of CN110793655B publication Critical patent/CN110793655B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K1/00Details of thermometers not specially adapted for particular types of thermometer
    • G01K1/02Means for indicating or recording specially adapted for thermometers
    • G01K1/024Means for indicating or recording specially adapted for thermometers for remote indication
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Transceivers (AREA)

Abstract

The invention discloses a low-power consumption wireless temperature measuring device, which relates to the field of power detection equipment and comprises a microcontroller, a temperature sensor, a wireless module, a battery and a power management module; the microcontroller is configured as follows: in the dormant state, adopting a stop mode, and adopting an RTC clock to wake up automatically; all unused I/O ports are configured as analog inputs; all used I/os are configured as level positions in stop mode; stopping PLL, HSI, HSE the peripheral and clock when entering the sleep state; after awakening, configuring a system clock, starting peripheral equipment and the clock, and executing temperature acquisition and/or wireless transmission; the temperature sensor periodically performs temperature acquisition under the control of the controller; and the wireless module is controlled by the controller to sleep or wake up, and periodically performs data transmission. Through comprehensive low-power-consumption optimization, the ultra-low-power-consumption long-time operation of the wireless temperature detection device is realized.

Description

Low-power consumption wireless temperature measuring device
Technical Field
The invention relates to the field of power detection equipment, in particular to a low-power consumption wireless temperature measuring device.
Background
Although the wireless temperature measurement has more advantages in the online temperature measurement of the switch cabinet, the wireless temperature measurement also has some problems in practical application. Wherein temperature sensor and microprocessor power supply are key issues. The following method is generally adopted:
1. the photocell supplies power. Photovoltaic cells are a special type of semiconductor diode that converts visible light into direct current. The light energy is converted into electromotive force under the irradiation of light rays so as to achieve the purpose of power supply. This scheme hardly uses in high tension switchgear, because cubical switchboard inner space is narrow and small, and installation light source is difficult, and light source utilization ratio is not high, and the life-span is difficult to guarantee.
CT induction power taking. A current transformer is arranged on a bus, and a direct current is obtained as a power supply after the power supply is subjected to rectification, filtering, voltage stabilization and the like according to an electromagnetic induction principle. This approach does not require external power supply, but has certain limitations, the most critical problem being the instability of the induced current. The bus current is changed frequently in the normal operation process, the fluctuation range of the change is wide from a few amperes to thousands of amperes, and the voltage obtained by inducing the bus current can also generate great fluctuation. The real-time online temperature measurement system needs a stable power supply during operation, so that the system is not suitable for real-time online temperature measurement.
Disclosure of Invention
In view of the above-mentioned drawbacks of the prior art, an object of the present invention is to provide a low-power wireless temperature measuring device powered by a battery, which can realize long-time ultra-low power operation by energy-saving control, and can continuously monitor without changing the battery during the maintenance period of a switch cabinet.
In order to achieve the above purpose, the invention provides a low-power consumption wireless temperature measuring device, which comprises a microcontroller, a temperature sensor, a wireless module, a battery and a power management module;
the microcontroller is configured as follows: in the dormant state, adopting a stop mode, and adopting an RTC clock to wake up automatically; all unused I/O ports of the microcontroller are configured as analog inputs; all used I/os are configured as level positions in stop mode; when entering the sleep state, configuring the peripheral mode to stop the peripheral and clock, and stopping PLL, HSI, HSE inside the controller; after awakening, configuring a system clock, starting peripheral equipment and the clock, and executing temperature acquisition and/or wireless transmission;
the temperature sensor periodically performs temperature acquisition under the control of the controller;
the wireless module adopts a radio frequency module CC1101, and the wireless module is controlled by a controller to sleep or wake up and periodically transmits data;
the power management module is a step-up and step-down DC-DC conversion module, and the battery supplies power to the controller, the temperature sensor and the wireless module after passing through the power management module.
Further, the microcontroller is an STM32L051 series microcontroller.
Further, the temperature sensor is a TMP112.
Further, the working frequency band of the wireless module is 400-464MHz.
Further, the temperature acquisition and/or wireless transmission is/are performed and are intensively transmitted after a plurality of temperature acquisitions.
Further, the battery is a lithium-ion battery.
Further, the power management chip of the power management module is XC6201P332MR.
Furthermore, the low-power consumption wireless temperature measuring device is further provided with an external antenna, and the external antenna is used for increasing the transmitting gain of the wireless module.
The invention realizes the following technical effects:
according to the low-power-consumption wireless temperature measuring device, the low-power-consumption controller, the temperature sensor and the wireless module are selected, so that the configuration of pins and internal modes of the controller and the wireless module is further optimized, the conversion efficiency of a battery and the effective utilization of electric energy are improved, and the ultra-low-power-consumption long-time operation of the wireless temperature measuring device is realized through comprehensive low-power-consumption optimization.
Drawings
FIG. 1 is a schematic circuit diagram of a wireless temperature measurement device according to a preferred embodiment of the present invention;
fig. 2 is a schematic circuit diagram of a wireless module according to an embodiment of the present invention;
FIG. 3 is a sleep-wake flow diagram of a microcontroller according to an embodiment of the invention;
fig. 4 is a workflow of a wireless module of an embodiment of the present invention.
Detailed Description
For further illustration of the various embodiments, the invention is provided with the accompanying drawings. The accompanying drawings, which are incorporated in and constitute a part of this disclosure, illustrate embodiments and together with the description, serve to explain the principles of the embodiments. With reference to these matters, one of ordinary skill in the art will understand other possible embodiments and advantages of the present invention. The components in the figures are not drawn to scale and like reference numerals are generally used to designate like components.
The invention will now be further described with reference to the drawings and detailed description.
As shown in FIG. 1, the invention provides a low-power consumption wireless temperature measuring device, which comprises a battery, a power management module, a temperature sensor, a controller and a wireless module.
In this embodiment, the microprocessor selects STM32L051 series low power consumption microprocessor of ST company. The device is only responsible for temperature monitoring, and the temperature monitoring only needs periodic work, so that a microcontroller needs to adopt a wake-up mechanism to perform temperature acquisition and wireless transmission in a wake-up period in order to achieve ultra-low power consumption; after the acquisition and transmission are completed, the microcontroller enters a low-power-consumption dormant state.
The low power modes of the microprocessor STM32L051 are as follows: standby mode and STOP mode.
In standby mode, the power consumption of the controller is the lowest, but in standby mode, the MCU is in an uncontrolled state, and there are the following problems: all I/O pins work in a high-impedance state, each wakeup is equivalent to system reset, data in the RAM is lost completely, and under the condition that an external device is connected, the device pins can absorb a large amount of current, but the low-power consumption requirement cannot be met.
In this embodiment, the sleep state of the microprocessor is in STOP mode (STOP mode) in which PLL, HSI, HSE is stopped and the RAM and register values remain. Meanwhile, in order to reduce drainage of the pins of the device, the unused pins are set as analog inputs, and the I/O pins in use are set according to the level of the pins when the microprocessor is in a stop mode.
The microcontroller performs temperature acquisition and wireless transmission in an awake state.
There are various ways of "waking up" the microcontroller, such as external interrupts, interrupt events, automatic wake-up of the RTC, etc. The RTC automatic wake-up interrupt accords with the requirement that the wireless temperature measuring device has no manual operation, and after a countdown is set for a certain time, the microcontroller is automatically waken up to execute the program. Therefore, in this embodiment, the RTC automatic wake-up mode is adopted, and the timed temperature acquisition and data transmission are performed after the wake-up. To further reduce power consumption, the microcontroller may also reduce the system clock and shut down unused peripheral clocks on the APB and AHB buses.
The sleep-wake-up flow of the microcontroller is specifically shown in fig. 3, and includes the following steps:
(1) MCU is powered on and initialized, and RTC mode is configured;
(2) Configuring wake-up time of the RTC, and writing the wake-up time into a count register;
(3) Configuring GPIO pins connected with the peripheral as pull-up analog inputs, and closing a system clock and a peripheral clock;
(4) Entering a STOP mode (STOP mode) to select to turn off the power supply, clearing a wake-up mark, and waiting for the RTC counter to decrement and wake up;
(5) After waking up, the system clock is reconfigured, the peripherals and clock are turned on, and the TMP112 temperature acquisition program and/or wireless transmission program is entered.
In this embodiment, the temperature sensor is an ultra low power digital temperature sensor TMP112 from TI company. TMP112 is packaged with a very small form factor transistor SOT 563. The reading resolution can reach 0.0625 ℃ when the temperature measurement precision is between 0 ℃ and +65 ℃ and is 0.5 ℃ (maximum value). The quiescent current reaches 10 muA and the off current reaches 1 muA. The power supply range is 1.4V to 3.6V, the acquisition resolution can reach 12 bits, and the temperature monitoring requirement of the switch cabinet is met. Which is shown in fig. 1 with reference to a circuit diagram. The temperature sensor TMP112 is connected with the microcontroller through an I2C interface (SCL and SDA), the SCL and SDA lines are connected with pull-up resistors R132 and R133 to output high level, the temperature sensor TMP112 is not turned off, and in order to ensure the accuracy of temperature measurement, the temperature sensor TMP112 is always in a working state so as to ensure that the temperature measured by the temperature sensor TMP112 can be collected in real time when the microcontroller wakes up.
In this embodiment, the wireless module adopts a CC1101 radio frequency module, and a circuit diagram of the CC1101 radio frequency module is shown in fig. 2. The wireless module CC1101 has the working frequency ranges of 300-348MHz, 400-464MHz and 800-928MHz, can be configured to 433MHz through software, has strong signal penetrability and long transmission distance, and is suitable for industrial data acquisition occasions. Meanwhile, the CC1101 is simple in configuration and quick in starting, can complete awakening and data transmission in a short time, and then returns to a dormant state. The wireless module can be connected with an external antenna, and the transmission distance can reach 1KM through the gain of the external antenna. The current consumption of the wireless module CC1101 is low, and the current consumption is 15.6mA in the receiving mode and less than 0.5uA in the sleep mode. The output power is programmable, the maximum emission current is 28.8mA, the emission power can reach +10dBm, and an SPI communication interface is adopted. CCll01 mainly has four working modes of sleep, idle, transmitting and receiving. Considering the specificity of the acquisition side, only the low power consumption in the transmission mode is concerned, the consumption current of the module transmission mode is a part of the maximum power consumption in the whole node system, and the whole power consumption of the node can be reduced by adjusting the transmission power of the wireless module.
As shown in fig. 4, in order to make the CC1101 module operate with low power consumption, during a time interval when the CC1101 module waits for transmitting data, the CC1101 module is in a sleep state, and the MCU controls the CSn pin state of the CC1101 module to wake up the same. After the CC1101 module wakes up, the CC1101 module enters an IDLE mode, then an SRX or STX instruction is written, and after frequency calibration is carried out, the CC1101 module enters an RX or TX mode.
In order to further reduce the power consumption of the wireless module, in this embodiment, a centralized transmission mode after multiple collection is adopted, and as can be seen from the data in table 1, this mode can effectively reduce the power consumption of wireless transmission.
Table 1 Wireless temperature measurement device Power consumption per hour
In this example, the battery is a lithium-ion battery, and the standard output voltage is 3.6V. The battery is safe and reliable, and the voltage drops to 1.3V and enters low voltage when the discharge is excessive at 20% of electric quantity.
The conventional circuit adopting the direct battery supply or LDO voltage reduction has large line loss, and meanwhile, when the battery is at low voltage, the system cannot work normally.
In this embodiment, the battery supplies power to the system through the power management module to provide a stable power supply. The power management module adopts XC6201P332MR, is a step-up and step-down DC-DC conversion module, the input voltage range is 1.3V-6.0V, the conversion efficiency of the power management module XC6201 under the output of 3.3V/100mA can reach 90%, the utilization rate of a battery can be greatly improved, the battery can still work normally in a low-voltage mode, and the battery can still work effectively when the residual electric quantity of the battery is 10%, so that the running time can be effectively prolonged.
The unit power consumption of the working time and the power consumption of the standby time are controlled, and the temperature acquisition period and the wireless transmission period can be prolonged by reasonable limits, so that the operation period of the device is further improved.
While the invention has been particularly shown and described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (5)

1. A low-power consumption wireless temperature measuring device comprises a microcontroller, a temperature sensor, a wireless module, a battery and a power management module;
the microcontroller is configured as follows: in the dormant state, adopting a stop mode, and adopting an RTC clock to wake up automatically; all unused I/O ports of the microcontroller are configured as analog inputs; all used I/os are configured as level positions in stop mode; when entering the sleep state, configuring the peripheral mode to stop the peripheral and clock, and stopping PLL, HSI, HSE inside the controller; after awakening, configuring a system clock, starting peripheral equipment and the clock, and executing temperature acquisition and/or wireless transmission;
the temperature sensor periodically performs temperature acquisition under the control of the controller; the temperature sensor is TMP112 and is always in a working state, and when the microcontroller wakes up, the temperature measured by the temperature sensor is collected immediately;
the wireless module adopts a radio frequency module CC1101, and the wireless module is controlled by a controller to sleep or wake up and periodically transmits data;
the power management module is a step-up and step-down DC-DC conversion module, and the battery supplies power to the controller, the temperature sensor and the wireless module after passing through the power management module;
the execution of temperature acquisition and/or wireless transmission is centralized transmission after multiple temperature acquisition;
the battery is a lithium-ion battery.
2. The low power wireless temperature measurement device of claim 1, wherein: the microcontroller is STM32L051 series microcontroller.
3. The low power wireless temperature measurement device of claim 1, wherein: the working frequency band of the wireless module is 400-464MHz.
4. The low power wireless temperature measurement device of claim 1, wherein: the power management chip of the power management module is XC6201P332MR.
5. The low power wireless temperature measurement device of claim 1, wherein: the low-power consumption wireless temperature measuring device is also provided with an external antenna, and the external antenna is used for increasing the transmitting gain of the wireless module.
CN201911299394.4A 2019-12-17 2019-12-17 Low-power consumption wireless temperature measuring device Active CN110793655B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911299394.4A CN110793655B (en) 2019-12-17 2019-12-17 Low-power consumption wireless temperature measuring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911299394.4A CN110793655B (en) 2019-12-17 2019-12-17 Low-power consumption wireless temperature measuring device

Publications (2)

Publication Number Publication Date
CN110793655A CN110793655A (en) 2020-02-14
CN110793655B true CN110793655B (en) 2023-11-07

Family

ID=69448396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911299394.4A Active CN110793655B (en) 2019-12-17 2019-12-17 Low-power consumption wireless temperature measuring device

Country Status (1)

Country Link
CN (1) CN110793655B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111458473A (en) * 2020-05-26 2020-07-28 扬州大学 A method for reducing power consumption of sensing nodes for water quality monitoring in large waters
CN115598406B (en) * 2022-11-15 2023-06-27 武汉凌久微电子有限公司 Low-power-consumption voltage monitoring method and system based on state machine
CN116301295B (en) * 2022-12-08 2026-01-02 上海琪埔维半导体有限公司 A low-power cycle wake-up system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102661803A (en) * 2012-04-19 2012-09-12 北京昆仑海岸传感技术有限公司 Low power consumption wireless active temperature label
CN108179927A (en) * 2017-12-26 2018-06-19 电子科技大学 A kind of low-power consumption door sensor state-detection controller and system
CN207965030U (en) * 2018-04-12 2018-10-12 江苏佳源科技有限公司 A kind of low-power consumption fault-indicating system
CN110166971A (en) * 2019-05-21 2019-08-23 江南大学 Low-consumption wireless communication device and system applied to inspection shaft pipe network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102661803A (en) * 2012-04-19 2012-09-12 北京昆仑海岸传感技术有限公司 Low power consumption wireless active temperature label
CN108179927A (en) * 2017-12-26 2018-06-19 电子科技大学 A kind of low-power consumption door sensor state-detection controller and system
CN207965030U (en) * 2018-04-12 2018-10-12 江苏佳源科技有限公司 A kind of low-power consumption fault-indicating system
CN110166971A (en) * 2019-05-21 2019-08-23 江南大学 Low-consumption wireless communication device and system applied to inspection shaft pipe network

Also Published As

Publication number Publication date
CN110793655A (en) 2020-02-14

Similar Documents

Publication Publication Date Title
CN110793655B (en) Low-power consumption wireless temperature measuring device
CN202632329U (en) Low-power-consumption wireless active temperature label
CN103487089B (en) A kind of underground water table water temperature remote data transmission device and method
CN109615053A (en) A kind of low power dissipation electron label and low power consumption method based on UWB
CN204926079U (en) Control integrated circuit board based on DSP and FPGA
CN113795007B (en) A wireless sensor for measuring transformer vibration signals and a low-power working method
CN104749941A (en) Control method of pointer type CDMA quartz clock
CN110337139B (en) Low-power-consumption control method based on wireless sensor and wireless sensor
CN105183696A (en) DSP-based control board
CN202889340U (en) Low-power short-distance wireless data transmission module
CN206251340U (en) A low-power wireless communication device for on-line monitoring system of transmission line
CN109993953B (en) Low-power consumption power supply module
CN208924233U (en) A kind of super low-power consumption bluetooth-serial ports transparent transmission conversion module
CN106442869B (en) Low power-consumption intelligent SO2Sensor module
CN202907207U (en) Wireless sensor network node used for reinforced concrete bridge endurance monitoring
CN104932248A (en) Control method of pointer type CDMA quartz clock
CN215865302U (en) Battery-free hygrothermograph device
CN107741865A (en) Self-awakening standby system and standby method
CN207281539U (en) A kind of accurate timing Rouser of automatic monitoring system
CN208572452U (en) A kind of super low-power consumption wifi- serial ports transparent transmission conversion module
CN102289924B (en) Temperature measurement device for overhead power transmission line
CN209057212U (en) A kind of super long standby time positioning device based on NB-IOT
CN211627651U (en) Low-power-consumption liquid crystal backlight ammeter
CN109062397B (en) Singlechip dormancy management system
CN204265162U (en) A kind of elevator dragging wire rope stress harvester of low-power consumption

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
GR01 Patent grant
GR01 Patent grant