CN112566048B - Event-driven ultra-low power consumption passive sensor data acquisition terminal and method - Google Patents

Event-driven ultra-low power consumption passive sensor data acquisition terminal and method Download PDF

Info

Publication number
CN112566048B
CN112566048B CN202011459674.XA CN202011459674A CN112566048B CN 112566048 B CN112566048 B CN 112566048B CN 202011459674 A CN202011459674 A CN 202011459674A CN 112566048 B CN112566048 B CN 112566048B
Authority
CN
China
Prior art keywords
data
sensor
packet
event
broadcast
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
CN202011459674.XA
Other languages
Chinese (zh)
Other versions
CN112566048A (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.)
Shanghai Ilian Iot Co ltd
Original Assignee
Shanghai Ilian Iot 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 Shanghai Ilian Iot Co ltd filed Critical Shanghai Ilian Iot Co ltd
Priority to CN202011459674.XA priority Critical patent/CN112566048B/en
Publication of CN112566048A publication Critical patent/CN112566048A/en
Application granted granted Critical
Publication of CN112566048B publication Critical patent/CN112566048B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • 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
    • 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/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0267Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
    • H04W52/027Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components by controlling a display operation or backlight unit
    • 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)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Circuits Of Receivers In General (AREA)

Abstract

The invention discloses an event-driven ultra-low power consumption passive sensor data acquisition terminal and a method thereof, wherein the terminal comprises: the BLE receiver is used for intercepting the Bluetooth broadcast channel and demodulating the broadcast event packet to be digitally output when the broadcast event packet is intercepted; the identity recognition digital module analyzes the broadcast packet output by the BLE receiver, judges whether the broadcast packet enables data transmission, and triggers MCU external event interruption according to the judgment result; the MCU is initially in a dormant state, awakens under the interruption of an external event of the MCU, controls the sensor module to collect data, and packs and outputs sensing data bit streams to the BLE transmitting front end according to the form of a Bluetooth broadcast channel packet; the sensor module is used for collecting data under the control of the MCU; a BLE transmitting front end, which transmits data by using a broadcasting channel according to the received data bit stream; the self-energy supply module is used for collecting environmental energy to convert the environmental energy into electric energy and supplying the electric energy to other modules; and an antenna.

Description

Event-driven ultra-low power consumption passive sensor data acquisition terminal and method
Technical Field
The invention relates to the technical field of wireless sensors, in particular to an event-driven ultra-low power consumption passive sensor data acquisition terminal and method based on an iBeacon technology.
Background
With the development of society, the internet of things has become a necessary trend, and environmental data is collected in many fields by adopting a sensor, for example, temperature and humidity data of an environment are collected by adopting a temperature and humidity sensor, however, the sensor adopted at present is often single in function, large in size, high in cost, inconvenient to read and needs to manually read data, and the current sensor generally uses a battery as a power supply, so that the service life is limited, the battery is troublesome to replace, and the battery cannot be used after power failure, thereby causing resource waste and environmental pollution.
Disclosure of Invention
In order to overcome the defects in the prior art, an object of the present invention is to provide an event-driven ultra-low power consumption passive sensor data acquisition terminal and method, so as to reduce the complex process of the traditional BLE that needs to establish a connection in the data transmission process by adopting the iBeacon technology, perform data transmission by quickly using the channel sensing characteristic, reduce the connection time, and reduce the system power consumption
Another object of the present invention is to provide an event-driven ultra-low power consumption passive sensor data acquisition terminal and method, which identify identities by using a BLE receiver and an identity recognition digital module for logical judgment to perform event response, and wake up an MCU by event driving, so as to avoid a complex parsing process in which all data packets need to be processed by a processor, so that the MCU can sleep at other times, thereby reducing power consumption of the system.
Still another object of the present invention is to provide an event-driven ultra-low power consumption passive sensor data acquisition terminal and method, wherein the receiving and transmitting of the terminal share the same broadcast channel in the half-duplex TDD working mode, so as to avoid the problem of system computation caused by frequency hopping switching, and further reduce the system power consumption by the control strategy of switches at different stages.
To achieve the above and other objects, the present invention provides an event-driven ultra-low power consumption passive sensor data acquisition terminal, comprising:
the BLE receiver monitors a Bluetooth broadcast channel based on the iBeacon technology, and demodulates the broadcast channel to output digital signals when monitoring a broadcast event packet;
the identity recognition digital module is used for analyzing the broadcast data packet output by the BLE receiver, judging whether the broadcast data packet request instruction enables data transmission, and triggering MCU external event interruption according to the judgment result so as to wake up the MCU;
the MCU adopts an event-triggered working mode, is initially in a dormant state, is awakened when an event outside the MCU is interrupted, controls the sensor module to acquire sensing data, reads the data acquired by the sensor, packages the data according to a Bluetooth broadcasting channel packet mode, outputs sensing data bit stream and transmits the sensing data bit stream to the BLE transmitting front end so as to modulate and transmit the acquired sensing data through the BLE transmitting front end;
the sensor module is used for collecting data under the control of the MCU;
the BLE transmitting front end is used for transmitting acquired sensor data information by utilizing a Bluetooth broadcast channel based on the iBeacon technology according to the received sensing data bit stream;
the antenna is connected with the BLE receiver and the BLE transmitting front end and is used for receiving signals from a Bluetooth broadcast channel and transmitting output modulation signals to the Bluetooth broadcast channel;
and the self-energy supply module is used for acquiring environmental energy and converting the environmental energy into electric energy which is respectively supplied to the BLE receiver, the identity recognition digital module, the MCU, the sensor module and the BLE transmitting front end.
Preferably, the digital identification module performs digital logic analysis and CRC check according to the sequence of the broadcast event packet, determines whether the data request meets the requirement, and triggers an MCU external event interrupt when the data request meets the requirement.
Preferably, a fifth switch is arranged between the digital identification module and the MCU, and when the digital identification module analyzes that the data request meets the requirement, the output signal enables the fifth switch to be turned on, triggering an interrupt of an external event of the MCU to wake up the MCU, and after the MCU is woken up, the MCU turns off the fifth switch.
Preferably, the sensor module further comprises a first switch and a sixth switch, one end of the first switch is connected with the sensor, the other end of the first switch is grounded, and the sixth switch is connected between the sensor and the MCU.
Preferably, the first switch and the sixth switch are initially in an off state, and after the MCU is awakened, a control signal is output to close the first switch and the sixth switch, and after data reading is completed, the first switch and the sixth switch are controlled to be turned off.
Preferably, the BLE receiver and the identity recognition digital module are further connected with a second change-over switch and a fourth change-over switch respectively, one end of the second change-over switch is connected with the BLE receiver, the other end of the second change-over switch is grounded, one end of the fourth change-over switch is connected with the identity recognition digital module, and the other end of the fourth change-over switch is grounded so as to control the BLE receiver and the identity recognition digital module to work respectively.
Preferably, only when the second switch and the fourth switch are turned off, the BLE receiver and the digital identification module are in a low power consumption broadcast channel interception event to wake up the MCU, and after the MCU is woken up, the second switch and the fourth switch are controlled to be turned off
Preferably, the BLE transmitting front end is connected to a third switch, one end of the third switch is connected to the BLE transmitting front end, and the other end of the third switch is grounded, so that the third switch controls the operation of the BLE transmitting front end.
Preferably, when the MCU packages the collected data in a format and transmits the data to the BLE transmission front end, the third switch is controlled to be turned on, so that the BLE transmission front end is in a working mode, and at this time, the other switches are turned off to reduce power consumption, and the third switch is turned off after the data transmission is completed.
In order to achieve the above object, the present invention further provides a method for implementing an event-driven ultra-low power consumption passive sensor data acquisition terminal, comprising the following steps:
step S1, the MCU is in a sleep state, the BLE receiver and the identity recognition digital module are in low power consumption to intercept the broadcast channel event, and the MCU is awakened according to the interception result;
step S2, after the MCU is awakened, the sensor is controlled to collect sensing data, the data collected by the sensor is read, and the sensing data is packaged according to the protocol specification of a BLE broadcast packet and output to a BLE transmitting front end according to the form of a Bluetooth broadcast channel packet, so that the collected sensing data is modulated and sent out through the BLE transmitting front end;
and step S3, the BLE transmitting front end transmits the acquired sensor data information by using a Bluetooth broadcast channel based on the iBeacon technology according to the received sensing data bit stream.
Compared with the prior art, the event-driven ultra-low power consumption passive sensor data acquisition terminal and the method reduce the complex process that the traditional BLE needs to establish connection in the data transmission process by adopting the iBeacon technology, quickly transmit data by means of the channel interception characteristic, reduce the connection time and reduce the system power consumption, and identify the identity by using a logic judgment of a BLE receiver and an identity identification digital module to respond to the event, the MCU is awakened by event driving, so that the complex analysis process that all data packets need to be processed by a processor is avoided, the MCU can be dormant at other time, the power consumption of the system is reduced, meanwhile, the invention receives and transmits the working mode which belongs to half-duplex TDD on time and shares the same broadcast channel, the problem of system calculation caused by frequency hopping switching can be avoided, and the power consumption of the system is further reduced through control strategies of switches at different stages.
Drawings
FIG. 1 is a schematic structural diagram of an event-driven ultra-low power consumption passive sensor data acquisition terminal according to the present invention;
fig. 2a is a schematic diagram illustrating a format of a broadcast data packet received by a passive sensor data acquisition terminal according to an embodiment of the present invention;
fig. 2b is a schematic diagram illustrating a format of a broadcast data packet transmitted by a passive sensor data acquisition terminal according to an embodiment of the present invention;
FIG. 3 is a timing diagram illustrating the operation of an event driven ultra-low power passive sensor data collection terminal according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating steps of a method for implementing an event-driven ultra-low power consumption passive sensor data collection terminal according to the present invention.
Detailed Description
Other advantages and capabilities of the present invention will be readily apparent to those skilled in the art from the present disclosure by describing the embodiments of the present invention with specific embodiments thereof in conjunction with the accompanying drawings. The invention is capable of other and different embodiments and its several details are capable of modification in various other respects, all without departing from the spirit and scope of the present invention.
Fig. 1 is a schematic structural diagram of an event-driven ultra-low power consumption passive sensor data acquisition terminal according to the present invention. As shown in fig. 1, the event-driven ultra-low power consumption passive sensor data acquisition terminal of the present invention includes: BLE receiver 101, digital identification module 102, low power consumption MCU103, sensor module 104, BLE transmitting front end 105, antenna 106 and self-powered module 107.
The BLE (Bluetooth Low Power) receiver 101 is configured to listen to a Bluetooth broadcast channel based on the iBeacon technology, and demodulate a digital output of the Bluetooth broadcast channel when a broadcast event packet is listened to, and specifically, the BLE receiver 101 is configured to receive a 2.4G Bluetooth broadcast channel (37, 38, 39) broadcast event packet and demodulate the broadcast event packet to output a digital output; and the identity recognition digital module 102 is configured to parse the broadcast data packet output by the BLE receiver 101, determine whether the broadcast data packet data request instruction enables data transmission, trigger an MCU external event interrupt according to a determination result, and wake up the low power consumption MCU 103.
Fig. 2a is a schematic diagram of a format of a broadcast packet received by a terminal according to an embodiment of the present invention, and the structure of the broadcast packet is as follows:
preamble (1 byte): the first 8 bits of the message are either "01010101" or "10101010" sequences, depending on the first bit of the access address. If the first bit of the access address is 0: "01010101"; if the first bit of the access address is 0: "10101010". This is a very simple alternating sequence from which the receiver can configure the automatic gain control.
Access address (4 bytes): since the broadcast packet is fixed to 0x8E89BED 6.
Header, length and data make up a PDU (protocol data unit),
wherein the broadcast message type (4bit) in the header selects the universal broadcast indication type (ADV _ INT) as 0000, the sending address and the receiving address are both public addresses with the type of 0,
the length is 0x08, i.e. the data is 8 bytes.
The data mainly comprises a sending address (8 bytes) of the BLE terminal, a command packet identifier and a sensor command, wherein the command packet identifier is represented as a data packet of a representative word 0xAA (extensible authentication and authorization) 10101010, and the data packet is a data request command packet of the event-driven passive sensor; sensor commands 0x01 represent temperature sensors, 0x02 represents humidity sensors, etc., so the present invention can only wake up one sensor type at a time, up to 255 different sensor types. (but the inventive node only carries one sensor type).
Therefore, in practice, the id digital module 102 only parses the data in the broadcast data packet PDU, first parses and determines whether the broadcast packet is an event-driven passive sensor data request command packet, and then parses the sensor command type to identify which sensor data is needed (0x01 represents temperature, 0x02 represents humidity, and 0x03 represents heart rate sensor … …), if the sensor command in the broadcast data packet PDU is 0x01, then the sensor data request is represented, only the id digital module of the data acquisition terminal whose sensor is a temperature sensor can output an enable signal to trigger an event response, otherwise, if the data request command received by the id digital module of the data acquisition terminal whose sensor is a temperature sensor is not a data request of the temperature sensor type, the system will not respond to the data request event, in the specific embodiment of the present invention, a fifth switch K5 is disposed between the BLE receiver 101 and the low power consumption MCU103, when the data request analyzed by the id digital module 102 meets the requirement, a signal is output to enable the fifth switch K5 to be closed, an external event interrupt of the MCU is triggered, the low power consumption MCU103 is awakened, and the fifth switch K5 is turned off by the MCU103 after the MCU103 is awakened; the low-power consumption MCU103 adopts an event-triggered working mode, is initially in a dormant state, and is awakened when an MCU external event is interrupted, the sensor module 104 is controlled to collect sensing data, the data collected by the sensor is read, and the sensing data is packaged and output according to the protocol specification of a BLE broadcast packet and transmitted to the BLE transmitting front end 105 in a Bluetooth broadcast channel packet mode, so that the collected sensing data is modulated and transmitted out through the BLE transmitting front end 105, namely, when the identity recognition digital module 102 triggers the interruption of the MCU external event according to the analysis judgment result to awaken the low-power consumption MCU103, the low-power consumption MCU103 passes through a corresponding protocol (such as I)2C, SPI, UART) control transferThe sensor works and reads data collected by the sensor, the collected data are packaged according to format according to the protocol specification of a BLE broadcast packet, the data are sent out through digital open loop GFSK modulation of a BLE transmitting front end, and the sensor enters a sleep state after the data are sent; the sensor module 104 is used for collecting data under the control of the low-power consumption MCU103, collecting physical world signals and transmitting the collected data to the low-power consumption MCU 103; a BLE transmitting front end 105, configured to transmit the acquired sensor data information by using open-loop GFSK modulation according to the received sensing data bit stream, that is, the MCU transmits the broadcast data packet of the acquired sensing data to the broadcast channel through the iBeacon technology via the 2.4GBLE antenna by using the digital output GFSK modulation transmitting front end, for other devices supporting the iBeacon technology to receive, the format of the transmitted broadcast data packet is as shown in fig. 2b, and similar to the broadcast data receiving packet, the only difference is the data portion in the PDU, in the broadcast data packet sent, only one type of sensor data is formed, including a sending address, a sensor name, a data length L and valid data, and assuming that the sensor node is a temperature sensor node, the sensor name is 0x01, and the data length is 0x02, which represents that the sensor data length is 2 bytes, 2 valid data are put in the broadcast data packet and sent out.
An antenna 106, connecting the BLE receiver 101 and the BLE transmitting front end 105, for implementing receiving signals from the channel and transmitting output modulation signals to the channel; self-power module 107 for gather environmental energy and convert environmental energy into electric energy, store the electric energy to super capacitor through energy collection MPPT power management chip, and convert the electric energy of energy collection MPPT power management chip output or the electric energy Vstore that super capacitor stored into clean stable high voltage power supply VDD through Low DropOut regulator (LDO)HighAnd a low voltage power supply VDDLowRespectively supplying BLE receiver 101, identity recognition digital module 102, low power consumption MCU103, sensor module 104 and BLE transmitting front end 105, wherein the sensor, the receiver and the transmitter are connected with high potential VDDHighFor better transmitting and receiving signals, the identification digital module and the MCU are connected with a low voltage VDDLowThe two modules work at low voltage to save power consumption, and the identification digital module and the MCU are digital modules generally.
In a specific embodiment of the present invention, the self-powered module 107 may include a solar PV unit, an energy collection MPPT power management chip, a super capacitor, and a low dropout regulator, and when there is sunlight, the solar PV unit converts solar energy into electric energy and the energy collection MPPT power management chip stores the electric energy into the super capacitor C, so as to ensure that the data collection terminal of the present invention can normally supply power even without illumination.
In the invention, the iBeacon technology is adopted in the passive sensor data acquisition terminal, and the acquired sensing data is sent by using a broadcast channel of a Bluetooth protocol, so that the complex process that the traditional BLE needs to establish connection in the data transmission process is reduced.
Preferably, in order to further reduce the average power consumption of the passive sensor data acquisition terminal, the sensor module 104 further includes a first switch K1 and a sixth switch K6, one end of the first switch is connected to the sensor, the other end of the first switch is grounded, the sixth switch K6 is connected between the sensor and the low power consumption MCU, the first switch K1 and the sixth switch K6 are initially in an off state, the low power consumption MCU103 outputs a control signal to close the first switch K1 and the sixth switch K6 after being awakened, the sensor of the sensor module 104 is initialized, and then the low power consumption MCU103 initializes the sensors through a corresponding protocol (e.g., i.e., i.2C, SPI, UART) reads the data collected by the sensor, and controls the first switch K1 and the sixth switch K6 to be turned off after the data reading is finished, so that the power consumption of the passive sensor data collection terminal is reduced.
Preferably, the BLE receiver 101 and the id digital module 102 are further connected to a second switch K2 and a fourth switch K4, respectively, one end of the second switch K2 is connected to the BLE receiver 101, the other end of the second switch K2 is grounded, one end of the fourth switch K4 is connected to the id digital module 102, the other end of the fourth switch K4 is grounded, and the second switch K2 and the fourth switch K4 control the BLE receiver 101 and the id digital module 102 to operate, so as to further reduce the power consumption of the passive sensor data acquisition terminal of the present invention. That is to say, only when the second switch K2 and the fourth switch K4 are closed, the BLE receiver 101 and the digital identification module 102 are in the event of listening to the broadcast channel with low power consumption to wake up the MCU103 with low power consumption, and after the MCU103 with low power consumption is woken up, the second switch K2 and the fourth switch K4 are controlled to be turned off, so as to further reduce the power consumption of the passive sensor data acquisition terminal of the present invention. In the specific embodiment of the present invention, the second switch K2 and the fourth switch K4 are controlled by the MCU, in an initial state, the second switch K2 and the fourth switch K4 are in a closed state, the BLE receiver 101 and the digital id module 102 are in an event of listening to a broadcast channel, when the low power consumption MCU103 is awakened and the low power consumption MCU103 is controlled by the low power consumption MCU103 to turn off the second switch K2 and the fourth switch K4, and when the transmission of data by the MCU103 through the BLE transmission front end 105 is completed, the second switch K2 and the fourth switch K4 are controlled to be closed, and then the MCU enters the sleep state again.
Preferably, the BLE transmitting front end 105 is also connected to a third switch K3, one end of the third switch K3 is connected to the BLE transmitting front end 105, and the other end is grounded, so that the third switch K3 controls the work of the BLE transmitting front end 105, specifically, when the low power consumption MCU103 packages the acquired data according to the format and prepares to transmit the data through the digital open loop GFSK modulation of the BLE transmitting front end, the MCU103 controls the third switch K3 to be closed, so that the BLE transmitting front end is in the working mode, and at this time, the other switches are turned off to reduce the power consumption, and after the data transmission is completed, the third switch K3 is turned off, and at the same time, the low power consumption MCU103 enters the sleep state again, and the passive sensor data acquisition terminal performs a new round of event monitoring process again.
In an embodiment of the present invention, the working timing sequence of the passive sensor data acquisition terminal is shown in fig. 3, which can be divided into four stages, i.e., T1, T2, T3, and T4:
stage T1: in the stage, the switches K2 and K4 are switched to high level, namely, the switches are switched on, and the other switches are switched off by low level switches so as to reduce the power consumption of the system. At this time, the BLE receiver and the identity recognition digital module are in a low-power consumption listening broadcast channel event, wherein the low-power consumption MCU is in a sleep state. If the BLE receiver detects the broadcast event packet, the BLE receiver demodulates and outputs a digital signal, and the digital signal enters an identification digital module to perform digital logic analysis and CRC (cyclic redundancy check) according to the sequence of the broadcast packet, wherein if the package data adopts '0 x 01' to represent a temperature sensor data request, only the temperature sensor identification digital module can output an enabling signal to trigger an event response according to '0 x 01' in the aspect of receiving, otherwise, if the received data request command is not the temperature sensor data request, the system cannot be reset again, and a round of monitoring is performed again.
Stage T2: when the data request is analyzed at the stage T1 to meet the requirements, the signal enabling switch K5 is high, the switch is closed, the MCU external event is triggered to be interrupted, the low-power-consumption MCU is awakened, the low-power-consumption MCU controls the switches K1 and K6 to be closed, the sensor is initialized, at the moment, the switches K2, K3 and K4 are low, and the system power consumption is further reduced by switching off the switches.
Stage T3: in the phase, the low-power consumption MCU reads data collected by the sensor through a corresponding protocol (such as I2C, SPI and UART), after the data reading is completed, the change-over switches K1 and K6 are turned off for low-level switches, the MCU packs the collected data according to format according to protocol regulations of a BLE broadcast packet, and prepares for being modulated and sent out through a digital open loop GFSK at a BLE transmitting front end.
Stage T4: let switch K3 be high, switch closed, BLE transmit front end in operating mode, other switches off to reduce power consumption. The low-power consumption MCU transmits the acquired broadcast data packet to a channel through a 2.4GBLE antenna through a digital output GFSK modulation transmitting front end so as to be received by other equipment supporting the iBeacon technology, and after the data transmission is completed, a change-over switch K3 is low, the switch is turned off, the change-over switches K2 and K4 are closed, the low-power consumption MCU enters a dormant state again, and the passive sensor data acquisition terminal enters a new round of event monitoring process T1 again.
Therefore, the ibeacon technology is adopted, the acquired sensing data is sent by using the broadcast channel of the Bluetooth protocol, the complex process that the traditional BLE needs to establish connection in the data transmission process is reduced, the data transmission is rapidly carried out by means of the interception characteristic of the broadcast channel, the connection time is reduced, and the power consumption of the system is reduced. In the traditional BLE technology, because connection needs to be established for BLE master-slave device communication, a large amount of time is wasted, and power consumption is increased.
According to the invention, an event-triggered working mode and a switch control strategy are adopted, a data acquisition terminal is initially in a dormant state, a Bluetooth broadcast channel is monitored to judge whether a broadcast data packet belongs to the Bluetooth broadcast channel, the monitoring process judges whether a trigger event is awakened or not through a BLE receiver and an identity recognition digital module, the acquisition, reading, sending and other data response events of sensing data are sent after the low-power consumption MCU is awakened, and a new round of event is intercepted in the low-power consumption dormant state again after the data response events are sent, so that the complex analysis process that all data packets need to be processed by the low-power consumption MCU is avoided, and the power consumption of the system is reduced by the low-power consumption MCU in a dormant state; the invention can acquire the detection data when the system wants to acquire the detection data, and the system is always in a dormant state when the system does not want to acquire the detection data, thereby reducing the power consumption and being particularly suitable for acquiring physiological signals in the field of implantable medical sensors.
According to the invention, the BLE receiver and the identity recognition digital module only receive and judge data request event response, the BLE transmitting front end 105 triggers the response after the event request is successful, and returns and transmits sensing data to be output to the broadcast channel, so that the receiving and transmitting modes belong to half-duplex TDD time division multiplexing) share the same broadcast channel, the problem of system calculation caused by frequency hopping switching can be avoided, and the control strategies of switches in different stages are provided to further reduce the power consumption of the system.
Fig. 4 is a flowchart illustrating steps of a method for implementing an event-driven ultra-low power consumption passive sensor data collection terminal according to the present invention. As shown in fig. 4, the method for implementing an event-driven ultra-low power consumption passive sensor data acquisition terminal according to the present invention includes the following steps:
and step S1, the low-power consumption MCU is in a dormant state, the BLE receiver and the identity recognition digital module are in low-power consumption monitoring broadcast channel events, and the low-power consumption MCU is awakened according to monitoring results.
Specifically, the low-power consumption MCU is in a sleep state, a BLE receiver intercepts a Bluetooth broadcast channel, receives a 2.4G Bluetooth broadcast channel (37, 38, 39) broadcast event packet, and demodulates the broadcast event packet to output digital output; the identity recognition digital module carries out digital logic analysis and CRC (cyclic redundancy check) according to the sequence of the broadcast event packet, wherein if the packet data adopts '01' to represent a temperature sensor data request, only the temperature sensor identity recognition digital module can output an enabling signal to trigger an event response according to '01' in the receiving aspect, otherwise, if the received data request command is not the temperature sensor data request, the system cannot reset again, a round of monitoring is carried out again, and when the identity recognition digital module analyzes that the data request meets the requirement, an MCU (microprogrammed control unit) external event is triggered to be interrupted, and the low-power-consumption MCU is awakened.
Step S2, after the low-power consumption MCU is awakened, the sensor is controlled to collect sensing data, the data collected by the sensor is read, the sensing data is packaged according to the protocol specification of a BLE broadcast packet and output sensing data bit stream to a BLE transmitting front end in a Bluetooth broadcast channel packet mode, the collected sensing data is modulated and transmitted through the BLE transmitting front end, namely, when the identity recognition digital module triggers MCU external event interruption according to the analysis judgment result to awaken the low-power consumption MCU, the low-power consumption MCU passes through a corresponding protocol (such as I)2C, SPI, UART) controls the work of the sensor and reads the data collected by the sensor, and according to the protocol regulation of a BLE broadcast packet, the collected data is packed according to the format to be sent out through the digital open loop GFSK modulation of a BLE transmitting front end.
And step S3, the BLE transmitting front end transmits the acquired sensor data information by open loop GFSK modulation according to the received sensing data bit stream, that is, the MCU transmits the broadcast data packet of the acquired sensing data to a broadcast channel through the digital output GFSK modulation transmitting front end through the 2.4GBLE antenna so as to be received by other equipment supporting the iBeacon technology, and after the data transmission is finished, the low-power consumption MCU enters a sleep state and returns to the step S1 to perform a new round of event monitoring process again.
In conclusion, the event-driven ultra-low power consumption passive sensor data acquisition terminal and the method thereof reduce the complex process that the traditional BLE needs to establish connection in the data transmission process by adopting the iBeacon technology, quickly transmit data by means of the channel interception characteristic, reduce the connection time and reduce the system power consumption, and identify the identity by using a logic judgment of a BLE receiver and an identity identification digital module to respond to the event, the MCU is awakened by event driving, so that the complex analysis process that all data packets need to be processed by a processor is avoided, the MCU can be dormant at other time, the power consumption of the system is reduced, meanwhile, the invention receives and transmits the working mode which belongs to half-duplex TDD on time and shares the same broadcast channel, the problem of system calculation caused by frequency hopping switching can be avoided, and the power consumption of the system is further reduced through control strategies of switches at different stages.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Modifications and variations can be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the present invention. Therefore, the scope of the invention should be determined from the following claims.

Claims (3)

1. An event driven ultra-low power passive sensor data acquisition terminal comprising:
the BLE receiver monitors a Bluetooth broadcast channel based on the iBeacon technology, and demodulates the broadcast channel to output digital signals when monitoring a broadcast event packet;
an identity recognition digital module, configured to parse a broadcast packet output by the BLE receiver, determine whether a broadcast packet request command enables data transmission, and trigger an MCU external event interrupt according to a determination result to wake up the MCU, the identity recognition digital module parses and determines whether the broadcast packet is an event-driven passive sensor data request command packet, and when the broadcast packet is determined to be the event-driven passive sensor data request command packet, parses the sensor command type in the broadcast packet, and determines whether to trigger an event response according to a parsing result of the sensor command type, where the broadcast packet structure includes a preamble, an access address, a protocol data unit composed of a header, a length, and data, and a check bit, where the header includes a broadcast packet type, a transmission address type, and a reception address type, the data comprises a sending address of a BLE terminal, a command packet identifier and a sensor command, wherein the command packet identifier is used for identifying whether the broadcast data packet is an event-driven passive sensor data request command packet or not, the sensor command is used for identifying the type of a sensor which is awakened currently, the identity recognition digital module firstly judges whether the broadcast data packet is the event-driven passive sensor data request command packet or not according to the command identifier in the broadcast data packet, if so, the type of the sensor command in the broadcast data packet is analyzed, the type of the sensor which needs to be awakened is recognized, only an identity recognition digital module of a data acquisition terminal corresponding to the type of the sensor outputs an enable signal to trigger an event response, and an identity recognition digital module of a data acquisition terminal not corresponding to the type of the sensor does not trigger the event response;
the MCU is in a dormant state initially in an event trigger type working mode, is awakened when an external event of the MCU is interrupted, controls the sensor module to acquire sensing data, reads the data acquired by the sensor, packs the data according to a Bluetooth broadcast channel packet mode to output sensing data bit stream and transmits the sensing data bit stream to the BLE transmitting front end so as to modulate and transmit the acquired sensing data through the BLE transmitting front end;
the sensor module is used for collecting data under the control of the MCU;
the BLE transmitting front end is used for transmitting the collected sensor data information by utilizing a Bluetooth broadcasting channel based on the iBeacon technology according to the received sensing data bit stream;
the antenna is connected with the BLE receiver and the BLE transmitting front end and is used for receiving signals from a Bluetooth broadcast channel and transmitting output modulation signals to the Bluetooth broadcast channel;
the self-energy supply module is used for collecting environmental energy to convert the environmental energy into electric energy and respectively supplying the electric energy to the BLE receiver, the identity recognition digital module, the MCU, the sensor module and the BLE transmitting front end, and the self-energy supply module provides high potential voltage to the sensor module, the BLE receiver and the BLE transmitting front end and provides low potential voltage to the identity recognition digital module and the MCU;
wherein, a fifth change-over switch is arranged between the identity recognition digital module and the MCU, the sensor module also comprises a first change-over switch and a sixth change-over switch, one end of the first change-over switch is connected with the sensor, the other end is grounded, the sixth change-over switch is connected between the sensor and the MCU, the BLE receiver and the identity recognition digital module are respectively connected with a second change-over switch and a fourth change-over switch, one end of the second change-over switch is connected with the BLE receiver, the other end is grounded, one end of the fourth change-over switch is connected with the identity recognition digital module, the other end is grounded so as to respectively control the operation of the BLE receiver and the identity recognition digital module, the BLE transmitting front end is grounded through a third change-over switch so as to control the operation of the BLE transmitting front end,
the working sequence of the event-driven ultra-low power consumption passive sensor data acquisition terminal is controlled as follows:
stage T1: at this stage, the second change-over switch and the fourth change-over switch are controlled to be opened, other switches are closed to reduce the power consumption of the system, and the MCU is in a dormant state;
stage T2: when the data request analyzed at the stage T1 meets the requirements, enabling the fifth change-over switch to be turned on, triggering the interruption of an external event of the MCU, waking up the MCU, controlling the first change-over switch and the sixth change-over switch to be turned on, and turning off the second change-over switch, the third change-over switch and the fourth change-over switch;
stage T3: the MCU reads data acquired by the sensor through a corresponding protocol, controls the first change-over switch and the sixth change-over switch to be switched off after the data reading is finished, packages the acquired data according to a format according to the protocol specification of a BLE broadcast package, and transmits the data through the digital open loop GFSK modulation of a BLE transmitting front end;
stage T4: and controlling a third change-over switch to be switched on, enabling the BLE transmitting front end to be in a working mode, enabling other switches to be switched off so as to reduce power consumption, and enabling the MCU to modulate the transmitting front end through the digital output GFSK and send the acquired broadcast data packet to a channel through an antenna.
2. The event driven ultra-low power consumption passive sensor data acquisition terminal of claim 1, wherein: and the identity identification digital module performs digital logic analysis and CRC (cyclic redundancy check) according to the sequence of the broadcast event packet, judges whether the data request meets the requirement or not, and triggers MCU (microprogrammed control unit) external event interruption when the data request meets the requirement.
3. An implementation method of an event-driven ultra-low power consumption passive sensor data acquisition terminal comprises the following steps:
step S1, the MCU is in sleep state, the BLE receiver, the identification digital module is in low power consumption to intercept the broadcast channel event, awaken the MCU according to the interception result, the identification digital module analyzes and judges whether the broadcast data packet is an event-driven passive sensor data request command packet, when the broadcast data packet is judged to be the event-driven passive sensor data request command packet, the sensor command type in the broadcast data packet is analyzed, whether the event response is triggered is determined according to the analysis result of the sensor command type, the broadcast data packet structure comprises a preamble, an access address, a protocol data unit composed of a header, a length and data and a check bit, wherein the header comprises a broadcast message type, a sending address type and a receiving address type, and the data comprises a sending address, a command packet identification and a sensor command of the BLE terminal, the method comprises the steps that a command packet identifier is used for identifying whether a broadcast data packet is an event-driven passive sensor data request command packet or not, a sensor command is used for identifying the type of a sensor which is awakened currently, firstly, whether the broadcast data packet is the event-driven passive sensor data request command packet or not is judged according to the command identifier in the broadcast data packet, if yes, the type of the sensor command in the broadcast data packet is analyzed, the type of the sensor which needs to be awakened is identified, only an identity identification digital module of a data acquisition terminal corresponding to the type of the sensor outputs an enabling signal to trigger an event response, and the identity identification digital module of the data acquisition terminal not corresponding to the type of the sensor does not trigger the event response;
step S2, after the MCU is awakened, the sensor is controlled to collect sensing data, the data collected by the sensor is read, and the sensing data is packaged according to the protocol specification of a BLE broadcast packet and output to a BLE transmitting front end according to the form of a Bluetooth broadcast channel packet, so that the collected sensing data is modulated and sent out through the BLE transmitting front end;
step S3, the BLE transmitting front end transmits the collected sensor data information by using the Bluetooth broadcast channel based on the iBeacon technology according to the received sensor data bit stream,
the method is carried out through the following working sequence:
stage T1: at the stage, the second change-over switch and the fourth change-over switch are controlled to be opened, other switches are closed to reduce the power consumption of the system, and the MCU is in a dormant state;
stage T2: when the data request analyzed in the stage T1 meets the requirement, enabling the fifth change-over switch to be turned on, triggering the interruption of the MCU external event, waking up the MCU, controlling the first change-over switch and the sixth change-over switch to be turned on, and turning off the second change-over switch, the third change-over switch and the fourth change-over switch;
stage T3: the MCU reads data acquired by the sensor through a corresponding protocol, controls the first change-over switch and the sixth change-over switch to be switched off after the data reading is finished, packages the acquired data according to a format according to the protocol specification of a BLE broadcast package, and transmits the data through the digital open loop GFSK modulation of a BLE transmitting front end;
stage T4: and controlling a third change-over switch to be switched on, enabling the BLE transmitting front end to be in a working mode, enabling other switches to be switched off so as to reduce power consumption, and enabling the MCU to modulate the transmitting front end through the digital output GFSK and send the acquired broadcast data packet to a channel through an antenna.
CN202011459674.XA 2020-12-11 2020-12-11 Event-driven ultra-low power consumption passive sensor data acquisition terminal and method Active CN112566048B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011459674.XA CN112566048B (en) 2020-12-11 2020-12-11 Event-driven ultra-low power consumption passive sensor data acquisition terminal and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011459674.XA CN112566048B (en) 2020-12-11 2020-12-11 Event-driven ultra-low power consumption passive sensor data acquisition terminal and method

Publications (2)

Publication Number Publication Date
CN112566048A CN112566048A (en) 2021-03-26
CN112566048B true CN112566048B (en) 2022-07-08

Family

ID=75062270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011459674.XA Active CN112566048B (en) 2020-12-11 2020-12-11 Event-driven ultra-low power consumption passive sensor data acquisition terminal and method

Country Status (1)

Country Link
CN (1) CN112566048B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116634537B (en) * 2023-06-01 2024-01-23 北京联盛德微电子有限责任公司 Automatic power control method and system of WIFI receiver
CN117676853B (en) * 2024-02-01 2024-04-26 成都天传科技有限公司 Passive wireless dense sensing time-sharing data acquisition method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103426284A (en) * 2013-08-08 2013-12-04 北京中科希望软件股份有限公司 Temperature and humidity acquisition device based on wifi communication technology
CN105022276A (en) * 2015-06-03 2015-11-04 泰凌微电子(上海)有限公司 Smart home system and data interaction method thereof
CN206251340U (en) * 2016-12-19 2017-06-13 云南电网有限责任公司昆明供电局 A kind of low-consumption wireless communicator for transmission line online monitoring system
CN208722009U (en) * 2018-08-06 2019-04-09 华南理工大学 A kind of intelligent heating cup temperature control device based on STM32F103 single-chip microcontroller
CN111007781A (en) * 2019-12-27 2020-04-14 北京润科通用技术有限公司 Control method and system of environment monitoring device
CN111132287A (en) * 2019-12-19 2020-05-08 中科芯集成电路有限公司 Lora-based low-delay low-power-consumption downlink communication mechanism

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103426284A (en) * 2013-08-08 2013-12-04 北京中科希望软件股份有限公司 Temperature and humidity acquisition device based on wifi communication technology
CN105022276A (en) * 2015-06-03 2015-11-04 泰凌微电子(上海)有限公司 Smart home system and data interaction method thereof
CN206251340U (en) * 2016-12-19 2017-06-13 云南电网有限责任公司昆明供电局 A kind of low-consumption wireless communicator for transmission line online monitoring system
CN208722009U (en) * 2018-08-06 2019-04-09 华南理工大学 A kind of intelligent heating cup temperature control device based on STM32F103 single-chip microcontroller
CN111132287A (en) * 2019-12-19 2020-05-08 中科芯集成电路有限公司 Lora-based low-delay low-power-consumption downlink communication mechanism
CN111007781A (en) * 2019-12-27 2020-04-14 北京润科通用技术有限公司 Control method and system of environment monitoring device

Also Published As

Publication number Publication date
CN112566048A (en) 2021-03-26

Similar Documents

Publication Publication Date Title
Magno et al. WULoRa: An energy efficient IoT end-node for energy harvesting and heterogeneous communication
CN108347711B (en) Low-power-consumption intelligent agricultural data acquisition system realized based on NB-IoT
CN112566048B (en) Event-driven ultra-low power consumption passive sensor data acquisition terminal and method
KR100932920B1 (en) Sensor node wake-up device and method
US5684472A (en) Method and apparatus for remotely accessing meter status information in a meter reading system
CN110958676B (en) Low-power consumption dormancy equipment awakening method and system
WO2011063572A1 (en) Active electronic tag, application system and method thereof
US20170295544A1 (en) Methods for waking up wireless devices
CN113848791B (en) Low-power consumption general agricultural environment monitoring terminal
US20200288395A1 (en) Radio-frequency wakeup for vehicle systems
CN112584368A (en) Self-powered sensor node, Internet of things system thereof and implementation method
KR102216487B1 (en) Energy harvesting system, apparatus and method for performing wakeup
CN100366013C (en) Accident power-off remote transmitting alarming system and alarming method thereof
KR102251629B1 (en) Ultra low power wireless sensor module for being selectively connected to various sensors
EP2241014B1 (en) Controlling the power consumption of a receiving unit
CN111083648A (en) Very-low-cost BLE Beacon hardware architecture and compatible broadcast packet generation method
CN214507101U (en) Intelligent household system
CN113824571B (en) Agricultural thing networking that is fit for wisdom agricultural
CN113660735B (en) Self-driven wireless sensing node powered by radio frequency energy and energy management method thereof
CN106455111A (en) Wireless communication system based on wireless sensor
KR102333814B1 (en) Energy harvesting system, apparatus and method for performing long distance wakeup
CN112135260B (en) Control method of main control unit, reporting method of position information and tracker
CN113784232B (en) Low-power-consumption communication method of intelligent water meter based on LoRa
CN108810842A (en) A kind of wireless sensor network node and the MAC protocol method for the node
CN112074007A (en) Internet of things terminal wireless communication system and method working in intermittent mode

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