A present disclosure may relate to communication devices and particularly to wireless devices.
The present disclosure may reveal how a hybrid slotted time division multiple access (TDMA) and carrier sense multiple access (CSMA) based networks may optimize radio frequency (RF) based network resources, RF infrastructure, and may improve network performance in a building which may include time critical sensors, such as smoke sensors, and non-critical sensors. The present system may classify critical sensors as guaranteed sensors which get TDMA slots assigned by a network manager. The non-critical sensors may operate in non-guaranteed CSMA slots but within a predefined latency interval. The present system may provide for both types of sensors to co-exist in tandem within the same wireless network.
The building automation may have multiple applications including fire, security, hospitality, lighting and building management system (BMS). When considering wireless sensors for these applications, each wireless system service of the present application may have different apparent requirements. For example, a wireless system for fire should have a faster and more reliable response with a guaranteed latency of two to three seconds. A wireless system used for security should have a ten-second alarm latency but not much data transfer is necessarily needed although it should have a guaranteed alarm delivery within the defined time-period. Wireless sensors in a BMS may need to transfer data periodically to a controller to maintain guest comfort. A lighting system may need 100 milliseconds being faster latency from detecting a person entering into a room and switching on lights. A single commercial wireless system may not necessarily meet these apparent requirements. Maintaining multiple wireless networks for each of the applications within the buildings may cost more for customers to deploy an infrastructure of wireless network as well as maintaining the networks. There appears to be a need to build a customized wireless system to handle many of the use-cases with a single wireless network/infrastructure in the building. The present system and approach may result in one such wireless network covering different applications deployed in buildings with a single wireless network.
The present system may cover a slotted time division multiple access (TDMA) and carrier sense multiple access (CSMA) in a hybrid model and allocate the TDMA and CSMA communication bandwidth based on the wireless sensors scale and type of the application. The present system may enable guaranteed latency and reliable communication based on a requested sensor duty-cycle (slotted TDMA) and periodic slow message transfer (CSMA).
Even though one may cover CSMA and TDMA, concurrently, none of them may necessarily provide guaranteed and reliable communication with the frequency hopping mechanisms as may be revealed in related art. The system may also cover a priority of the packets in the network based on an application noted herein. These may be critical points for a common sensor wireless infrastructure in buildings.
The present system and approach may build around a common wireless infrastructure for wireless sensors across different applications in the buildings. The technical benefits may include that of a hybrid TDMA and CSMA based wireless network which can be fixed or be dynamically based on a number of wireless sensors per application. The wireless network may allocate a bandwidth for each sensor in a TDMA based on an application, and allocate a CSMA communication for slow low data rate sensors having a less latency requirement.
The use cases of a large building system may have a lot of RF nodes and some sensors such as smoke sensors, security intrusion detection sensors that have a critical delivery time to meet an apparent regulatory requirement where the present system such as this becomes vital.
The system may have a software component. A stack level may have a gateway/control of management, administration, operations and data consolidation applications, and/or a translation layer between local environment and cloud enabling communication. A software type may be embedded. The software may run a device/unit (firmware) loT. An loT stack level may be a sensor such as a hardware device with some embedded software for measuring/detecting and transmitting data (e.g., temperature, pressure, motion, and more). The sensors may generate data and send the data to a gateway, and the gateway in turn may send the data to a controller/cloud.
In
During a TDMA 21 execution, sensors may use frequency hopping channels during each time slot 23 within the TDMA 21, and sensors operating in CSMA 22 may use a single frequency channel. For instance, one may consider a wireless network using 51 RF channels in 915 MHz frequency band (902-928 Mhz), 50 channels may be allocated for TDMA 21 and 1 channel is allocated for CSMA 22 communication as shown in a diagram of
Guaranteed devices may get a slot within 250-msec slots. Line powered devices may remain active virtually all the time. When there is no payload to transmit in a TDMA transmit slot, the 10-msec TDMA slot duration is free, the devices may switch to CSMA operation and stay in a receive mode actively which enables CSMA 22 operation within TDMA 21 slots and the device may switch to the respective CSMA channel to complete the packet reception from CSMA device if they transmit during that slot period. All TDMA 21 slots in 250-msec time frame are not allocated if there are not many TDMA sensors present in the network. The Router intelligently switches to CSMA 22 operation in TDMA 21 if any TDMA slots are not allocated to any TDMA sensors. If there is a receive TDMA slot allocated and no packet is received in TDMA receive slot, the device can as well switch to CSMA operation with in the reminder of the TDMA receive slot. As TDMA 21 uses multiple RF channels 23, there may be enough RF channels for assignment in a time vs frequency domain within a given geographical area. An example for a guaranteed device is a smoke sensor.
A non-guaranteed slow device may get into CSMA 22. Battery powered devices, which are more of sensors such as passive infrared (PIR) sensors, which need low latency communication but very rarely transmit data in the network (only when a person is detected or a door is opened, a switch button is pressed in such cases), they mostly rely on CSMA 22 based communication. An approach of reduced clear channel assessment (CCA) detection time in non-guaranteed slow devices when compared to guaranteed devices may increase the chances for the slow devices whenever they want to do the communication with their peers in the network. An example for a non-guaranteed device may be a door/light switch sensor which will have limited usage.
Devices may do CCA for minimum required time and try to be on air as soon as channel is detected free so as not to allow other devices to be on same channel. The start time to do CCA may be derived randomly and the seed for random number may be derived from the media access control (MAC) address of the devices, giving each device mostly different random numbers.
A topology may be noted.
When assigned only to a CSMA mode, the sensors 35 should talk to routers 36 only in a CSMA mode of operation with no time synchronization. An LP router 36 can do CSMA and TDMA. When sensors 33 are configured to do TDMA mode of operation, they may do TDMA in the defined TDMA slots only within the TDMA sub frame with maintained time synchronization. Sensor 33 may be connected to BP router 34 which can do only TDMA. BP router 34 may be connected to gateway 30. This may provide guaranteed latency for guaranteed nodes and guaranteed transmission to CSMA wakeup devices within a defined sub-frame time.
One may note how a TDMA sensor 41 of
Sensor 41 may sleep 52 during the entire CSMA 53 communication time and also during TDMA sleep 55 when there are no communication slots or sync slot for one to talk to its neighbors. There may be a communication 56 between CSMA 53 and CSMA 54. Gateway 43 may allocate as many slots to as many sensors in a TDMA network based on their period duration of communication. For example, a sensor may get a slot number 10 with a duration of 60-sec; that means a device uses slot number 10 in TDMA slot only once every 60-seconds.
One may note how a CSMA sensor 61 of
In a first scenario, sensors 61 may wakeup and send a notification to a neighbor, considering that the neighbor may be exactly in a CSMA 64 or CSMA 66 slot, then a first try itself should succeed.
In a second scenario, sensors 61 may wakeup and send the notification to their neighbor, considering the neighbor is in a CSMA 64 slot, then a first try itself should or will succeed.
One may note
In guaranteed TDMA 65 time slots, if they are not used (i.e., not allocated for any transmitter), routers 62 can do a CSMA 64 during that period which enables more success earlier for CSMA 64 devices. In
For example, a 10-msec slot may be allocated to sensor X in router 62 for transmitting a packet to the sensor X. If there is no packet to transmit to X in this time, so router 62 may decide to do a CSMA 64 communication during this time which can provide a better chance of receiving a packet from a CSMA 64 sensor 61 during this time and help battery powered sensors 61 to avoid retries.
In
In
In
Long sleeping devices may connect to a network without a wake for hours and still can send data/notification with a flexible CSMA mechanism and retries. The system may provide guaranteed latency for guaranteed nodes and guaranteed transmission to CSMA wakeup devices within a defined sub-frame time.
A number of CSMA retries may be designed in a way that, the duration of CSMA retries are picked based on the frame size and the sensor will not necessarily try more than two tries in the TDMA slots and the next two retries may fall in the CSMA duration. A TDMA communication will not necessarily affect the CSMA transmissions falling in the TDMA period because the CSMA may use a different frequency channel which is not in the TDMA channel list of frequencies and vice versa.
More features may be noted. In guaranteed TDMA time slots, if the slots are not necessarily used (e.g., not allocated for any transmitter), routers may do the CSMA during that period which enables more success for CSMA devices. If a line powered router has a transmit slot in the TDMA, and if there is no packet to transmit in that TDMA slot, a remainder of the slot, the router can switch to CSMA communication.
If a line powered router has a receive slot in the TDMA, the router knows, if no packet comes within that receive slot's receive start time, a remainder of the slot, the router can switch to a CSMA communication.
To recap, a sensor arrangement may incorporate a hybrid network of a slotted time division multiple access (TDMA) and a carrier sense multiple access (CSMA), one or more sensors, having a guaranteed latency, connected to the hybrid network, and one or more sensors, having a non-guaranteed latency, connected to the hybrid network. Some of the one or more sensors may be connected to one or more alarms, indicators, or user interfaces. The guaranteed latency may indicate that the sensor provides a response within a predetermined amount of time to a corresponding alarm, indicator, or user interface. The one or more sensors may be wireless devices.
The hybrid TDMA and CSMA network may have a frame size. The TDMA has a first sub-frame size and the CSMA has a second sub-frame size. The frame size and the sub-frame sizes may be fixed during an installation or modified during run time of the hybrid network.
The first sub frame size and second sub frame size may be configurable for latency needs of a corresponding sensor.
The network may allocate a bandwidth for each sensor in a TDMA based on an application, and allocate a CSMA communication for slower low data rate sensors having a smaller latency requirement than that for each sensor in the TDMA.
A sensor apparatus may incorporate a time division multiple access (TDMA) network and a time division multiple access (CSMA) network combined to form a hybrid network, and one or more guaranteed or non-guaranteed sensors situated at one or more buildings. A guaranteed sensor may provide an alarm delivery within a defined time-period between a detected signal at the guaranteed sensor and at the alarm delivery. Guaranteed sensors may be connected with the TDMA network. Non-guaranteed sensors may be connected with the CSMA network.
When sensors are assigned only to a CSMA mode of operation, the sensors should talk to routers within the CSMA mode of operation without time synchronization. When sensors are configured to do a TDMA mode of operation, they may do the TDMA mode of operation in defined TDMA slots is within the TDMA sub frame with maintained time synchronization.
One may do a CSMA mode of operation during TDMA slots when there are no TDMA allocated slots to any neighbor. One may do the CSMA mode of operation in a TDMA transmit slot, where there is no packet to transmit. One may do the CSMA mode of operation in a TDMA receive slot, when there is no packet to receive.
Guaranteed sensors and non-guaranteed sensors may co-exist in tandem within one wireless network, or the sensors may generate data and send the data to a gateway, and the gateway in turn may send the data to a controller/cloud.
A sensor system may incorporate a network manager module, a plurality of sensors connected to the network manager module, and a network formed into a hybrid mode of time division multiple access (TDMA) and carrier sense multiple access (CSMA) functionality in terms of time duration. The plurality of sensors may include a set of guaranteed sensors and a set of non-guaranteed sensors.
The sensors may be wireless devices.
A distinction of time of the sensors may be regarded as a latency.
A latency of a response to a detection by a sensor may be measured as a time period between a detection by the sensor and an available response relative to an output from the sensor.
The time period may be less than X msec for guaranteed sensors. The time period may be equal to or greater than X msec for non-guaranteed sensors. X may be a pre-determined whole positive number.
Each sensor of the plurality of sensors may be a time critical sensor or a time non-critical sensor.
The time critical sensors may be assigned TDMA slots by the network manager module. Other sensors may be non-critical in that they operate in non-guaranteed CSMA slots within a pre-defined latency interval.
The network operates a communication time of an A msec TDMA network and a B msec CSMA network. A and B may be pre-determined whole positive numbers.
The communication time may be split into an A msec time dedicated for the TDMA network and a B msec time dedicated for the CSMA network. Each A msec TDMA time may be divided into C time slots. Each A msec TDMA time may be followed or preceded by the B msec CSMA time to form a sequence that can be repeated. C may be a pre-determined whole positive number.
During a TDMA execution, sensors may use frequency hopping channels in one or more time slots within the TDMA.
Sensors operating in the CSMA may use a single frequency channel.
There may be channel hopping between TDMA and CSMA. Frequency hopping may occur in one or more slots of the TDMA.
In the present specification, some of the matter may be of a hypothetical or prophetic nature although stated in another manner or tense.
Although the present system and/or approach has been described with respect to at least one illustrative example, many variations and modifications will become apparent to those skilled in the art upon reading the specification. It is therefore the intention that the appended claims be interpreted as broadly as possible in view of the related art to include all such variations and modifications.