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

Low-power-consumption wireless temperature measuring device Download PDF

Info

Publication number
CN110793655A
CN110793655A CN201911299394.4A CN201911299394A CN110793655A CN 110793655 A CN110793655 A CN 110793655A CN 201911299394 A CN201911299394 A CN 201911299394A CN 110793655 A CN110793655 A CN 110793655A
Authority
CN
China
Prior art keywords
low
wireless
power
measuring device
module
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.)
Granted
Application number
CN201911299394.4A
Other languages
Chinese (zh)
Other versions
CN110793655B (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

Images

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 sleep state, a stop mode is adopted, and an RTC clock is adopted for automatic awakening; all unused I/O ports are configured as analog inputs; all used I/Os are configured as level positions in stop mode; when entering a sleep state, stopping peripheral equipment and a clock, and stopping PLL, HSI and HSE; after awakening, configuring a system clock, starting a peripheral and the clock, and executing temperature acquisition and/or wireless transmission; the temperature sensor periodically collects temperature under the control of the controller; the wireless module is controlled by the controller to sleep or wake up, and periodically transmits data. 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 wireless temperature measurement has more advantages in on-line temperature measurement of the switch cabinet, some problems are faced in practical application. Among them, the temperature sensor and the microprocessor power supply are key problems. The following methods are generally employed:
1. the photovoltaic cell supplies power. Photovoltaic cells are special semiconductor diodes that convert visible light into direct current. Under the irradiation of light, the light energy is converted into electromotive force to achieve the purpose of power supply. This scheme is difficult to be used in high tension switchgear, because cubical switchboard inner space is narrow and small, and the installation light source is difficult, and the light source utilization ratio is not high, and the life-span is difficult to guarantee.
And 2, CT induction power taking. A current transformer is arranged on a bus, and a power supply obtained by the electromagnetic induction principle is rectified, filtered, stabilized and the like to obtain direct current serving as a power supply. This method does not require external power supply, but has certain limitations, the most critical being the instability of the induced current. The bus current changes frequently in the normal operation process, from a few amperes to thousands of amperes, the change fluctuation range is wide, and the voltage obtained by sensing the bus current can also generate great fluctuation change. The real-time online temperature measurement system needs a stable power supply during working, so the system is not suitable for real-time online temperature measurement.
Disclosure of Invention
In view of the above-mentioned defects of the prior art, the present invention provides a battery-powered wireless temperature measurement device with low power consumption, which can realize long-time ultra-low power consumption operation through energy-saving control, and can continuously monitor without replacing the battery during the maintenance period of the switch cabinet.
In order to achieve the 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, wherein the microcontroller is used for receiving a temperature signal;
the microcontroller is configured as follows: in the sleep state, a stop mode is adopted, and an RTC clock is adopted for automatic awakening; 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 a sleep state, configuring a peripheral mode as stopping peripherals and clocks, and stopping PLL, HSI and HSE in a controller; after awakening, configuring a system clock, starting a peripheral and the clock, and executing temperature acquisition and/or wireless transmission;
the temperature sensor periodically collects temperature under the control of the controller;
the wireless module adopts a radio frequency module CC1101, and is controlled by a controller to sleep or wake up and periodically send data;
the power management module is a voltage boosting and reducing 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 TMP 112.
Further, the operating frequency range of the wireless module is 400-464 MHz.
Further, the performing of the temperature acquisition and/or the wireless transmission is centralized transmission after a plurality of temperature acquisitions.
Further, the battery is a lithium subcell.
Further, the power management chip of the power management module is XC6201P332 MR.
Furthermore, the low-power-consumption wireless temperature measuring device is also provided with an external antenna, and the external antenna is used for increasing the transmission gain of the wireless module.
The invention realizes the following technical effects:
according to the low-power-consumption wireless temperature measuring device, the configuration of pins and internal modes of the controller and the wireless module is further optimized by selecting the low-power-consumption controller, the temperature sensor and the wireless module, the conversion efficiency of a battery is improved, the effective utilization of electric energy is 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 measuring device according to a preferred embodiment of the present invention;
FIG. 2 is a circuit schematic of a wireless module of an embodiment of the present invention;
FIG. 3 is a sleep-wake up flow diagram of a microcontroller according to an embodiment of the invention;
fig. 4 is a flow chart of the operation of the radio module of the embodiment of the present invention.
Detailed Description
To further illustrate the various embodiments, the invention provides the accompanying drawings. The accompanying drawings, which are incorporated in and constitute a part of this disclosure, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the embodiments. Those skilled in the art will appreciate still other possible embodiments and advantages of the present invention with reference to these figures. Elements in the figures are not drawn to scale and like reference numerals are generally used to indicate like elements.
The invention will now be further described with reference to the accompanying 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 the embodiment, the microprocessor selects an STM32L051 series low-power microprocessor of ST company. Because the device is only responsible for temperature monitoring, and the temperature monitoring only needs to work periodically, in order to achieve ultra-low power consumption, the microcontroller needs to adopt a wake-up mechanism to carry out temperature acquisition and wireless transmission during wake-up; after the acquisition and the transmission are finished, the microcontroller enters a low-power-consumption dormant state.
The low power consumption mode of the microprocessor STM32L051 is as follows: standby mode and STOP mode.
In the standby mode, the power consumption of the controller is the lowest, but in the standby mode, the MCU is in an uncontrolled state, which has the following problems: all I/O pins work in a high-impedance state, each awakening is equivalent to system reset, data in the RAM is completely lost, and under the condition that an external device is connected, the pins of the device can absorb a large amount of current and cannot meet the requirement of low power consumption.
In the present embodiment, the sleep state of the microprocessor adopts a STOP mode (STOP mode) in which PLL, HSI, HSE are all stopped and values of RAM and registers are retained. Meanwhile, in order to reduce the drainage of device pins, 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.
And the microcontroller executes temperature acquisition and wireless transmission in an awakening state.
There are various ways to "wake up" the microcontroller, such as external interrupts, interrupt events, RTC auto-wake-up, etc. The RTC automatic wake-up interrupt meets the requirement of the wireless temperature measuring device without manual operation, and automatically wakes up the microcontroller to execute a program after a certain time of countdown is set. Therefore, in this embodiment, an RTC automatic wake-up mode is adopted, and after wake-up, temperature acquisition and data transmission are performed at regular time. To further reduce power consumption, the microcontroller may also reduce the system clock and turn off 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) the MCU is electrified and initialized, and an RTC mode is configured;
(2) configuring the awakening time of the RTC and writing the awakening time into a counting register;
(3) configuring a GPIO pin connected with the peripheral equipment as a pull-up analog input, and closing a system clock and a peripheral clock;
(4) entering a STOP mode (STOP mode), selecting to turn off the power supply, clearing the awakening mark, and waiting for the RTC counter to decrement and awaken;
(5) after waking up, the system clock is reconfigured, the peripheral and clock are started, and the TMP112 temperature acquisition program and/or wireless transmission program are entered.
In the present embodiment, the temperature sensor is an ultra-low power consumption digital temperature sensor TMP112 of TI corporation. The TMP112 is packaged with a subminiature form factor transistor SOT 563. The temperature measurement accuracy is 0.5 ℃ (max) with a reading resolution of 0.0625 ℃ at 0 ℃ to +65 ℃. The quiescent current reaches 10 muA and the off-current can reach 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. The reference circuit diagram is shown in fig. 1. The temperature sensor TMP112 is connected with the microcontroller through an I2C interface (SCL and SDA), high level is output on SCL and SDA lines through connecting pull-up resistors R132 and R133, the temperature sensor TMP112 is not set to be turned off, and in order to ensure the accuracy of temperature measurement, the temperature sensor TMP112 is always in a working state, so that the temperature measured by the temperature sensor TMP112 can be acquired immediately when the microcontroller wakes up.
In this embodiment, the wireless module is a CC1101 radio frequency module, and a circuit diagram of the CC1101 radio frequency module is shown in fig. 2. The CC1101 wireless module has 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, and can complete awakening and data sending in a short time and then return to a sleep 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. Radio module CC1101 has low current consumption, 15.6mA in receive mode and less than 0.5uA in sleep mode. The output power can be programmed, the maximum emission current is 28.8mA, the emission power can reach +10dBm, and an SPI communication interface is adopted. CCll01 mainly has four operation modes of sleep, idle, transmission and reception. The particularity of the acquisition side is considered, only low power consumption in the sending mode needs to be concerned, the module sending mode consumed current is a part with the largest power consumption in the whole node system, and the whole power consumption of the node can be reduced by adjusting the transmitting power of the wireless module.
As shown in fig. 4, in order to operate the CC1101 module with low power consumption, the CC1101 module is in a sleep state during a time interval when the CC1101 module waits for data to be sent, and the MCU controls the CSn pin state of the CC1101 module to wake up the CSn pin state. After waking up, the CC1101 module enters an IDLE mode, then writes an SRX or STX instruction, and performs frequency calibration, and then 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 is adopted after multiple times of acquisition, and as can be seen from the data in table 1, the mode can effectively reduce the power consumption of wireless transmission.
TABLE 1 Wireless temperature measuring device Power consumption per hour
In this example, the battery was a lithium subcell with a standard output voltage of 3.6V. The battery is safe and reliable, and the voltage can not drop to 1.3V and enter low voltage when the discharge is over 20 percent of the electric quantity.
The conventional circuit adopting direct supply of the battery or LDO voltage reduction has large loss of a circuit, 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 voltage boosting and reducing DC-DC conversion module, has an input voltage range of 1.3V-6.0V, has an XC6201 conversion efficiency of 90 percent under the output of 3.3V/100mA, can greatly improve the utilization rate of the battery, can still normally work in a low-voltage mode, and can still effectively work when the residual electric quantity of the battery is 10 percent, thereby effectively prolonging the operation time.
By controlling the unit power consumption of the working time and the power consumption of the standby time, the temperature acquisition period and the wireless transmission period can be prolonged to a reasonable limit, so that the running period of the device is further prolonged.
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 detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

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 sleep state, a stop mode is adopted, and an RTC clock is adopted for automatic awakening; 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 a sleep state, configuring a peripheral mode as stopping peripherals and clocks, and stopping PLL, HSI and HSE in a controller; after awakening, configuring a system clock, starting a peripheral and the clock, and executing temperature acquisition and/or wireless transmission;
the temperature sensor periodically collects temperature under the control of the controller;
the wireless module adopts a radio frequency module CC1101, and is controlled by a controller to sleep or wake up and periodically send data;
the power management module is a voltage boosting and reducing 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.
2. The low-power consumption wireless temperature measuring device of claim 1, wherein: the microcontroller is an STM32L051 series microcontroller.
3. The low-power consumption wireless temperature measuring device of claim 1, wherein: the temperature sensor is the TMP 112.
4. The low-power consumption wireless temperature measuring device of claim 1, wherein: the working frequency range of the wireless module is 400-464 MHz.
5. The low-power consumption wireless temperature measuring device of claim 1, wherein: the executing of the temperature acquisition and/or the wireless transmission is centralized transmission after multiple temperature acquisition.
6. The low-power consumption wireless temperature measuring device of claim 1, wherein: the battery is a lithium sub-battery.
7. The low-power consumption wireless temperature measuring device of claim 1, wherein: the power management chip of the power management module is XC6201P332 MR.
8. The low-power consumption wireless temperature measuring 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 transmission 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 true CN110793655A (en) 2020-02-14
CN110793655B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111458473A (en) * 2020-05-26 2020-07-28 扬州大学 Method for reducing power consumption of large water area water quality monitoring sensing node
CN115598406A (en) * 2022-11-15 2023-01-13 武汉凌久微电子有限公司(Cn) Low-power-consumption voltage monitoring method and system based on state machine

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111458473A (en) * 2020-05-26 2020-07-28 扬州大学 Method for reducing power consumption of large water area water quality monitoring sensing node
CN115598406A (en) * 2022-11-15 2023-01-13 武汉凌久微电子有限公司(Cn) Low-power-consumption voltage monitoring method and system based on state machine

Also Published As

Publication number Publication date
CN110793655B (en) 2023-11-07

Similar Documents

Publication Publication Date Title
CN102673421B (en) Method for switching sleep mode and wakeup mode of electric vehicle control unit and realization circuit thereof
CN101965039B (en) Ultra-low-power design method for wireless sensor network node
CN110337139B (en) Low-power-consumption control method based on wireless sensor and wireless sensor
CN110793655B (en) Low-power consumption wireless temperature measuring device
CN107577189B (en) Accurate timing wake-up method of automatic monitoring system
CN109615053A (en) A kind of low power dissipation electron label and low power consumption method based on UWB
CN110855013A (en) Intelligent constant display power monitoring device and control method thereof
CN115598406B (en) Low-power-consumption voltage monitoring method and system based on state machine
CN208924233U (en) A kind of super low-power consumption bluetooth-serial ports transparent transmission conversion module
CN203276161U (en) Low-power-consumption embedded intelligent core system
CN108551205B (en) Power saving method for ultra-low power consumption industrial Internet of things gateway, gateway and gateway system
CN210957918U (en) Intelligent constant display power monitoring device
CN102033501B (en) Power supply control system of singlechip
CN113795007B (en) Wireless sensor for measuring vibration signal of transformer and low-power-consumption working method
CN106442869B (en) Low power-consumption intelligent SO2Sensor module
CN209057212U (en) A kind of super long standby time positioning device based on NB-IOT
CN204741115U (en) Row is inserted to intelligent modularization based on time control
CN211627651U (en) Low-power-consumption liquid crystal backlight ammeter
CN109993953B (en) Low-power consumption power supply module
CN102289924B (en) Temperature measurement device for overhead power transmission line
CN208572452U (en) A kind of super low-power consumption wifi- serial ports transparent transmission conversion module
CN207281539U (en) A kind of accurate timing Rouser of automatic monitoring system
CN106052783A (en) GPRS (General Packet Radio Service) remote transmission water meter collector
CN215865302U (en) Battery-free hygrothermograph device
CN204795699U (en) Low -power consumption power control circuit

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