simulate and analyze throughput and energy usage of bluetooth mesh networks
bluetooth® mesh is a networking technology developed by the that enables many-to-many communications between distant bluetooth devices. also known as bluetooth mesh networking, it is implemented on top of the bluetooth low energy (le) variant of bluetooth. the technology’s routing strategy, called managed flooding, makes routing very robust when individual network nodes fail.
system designers use bluetooth mesh for applications such as building automation, sensor networks, industrial lighting, smart homes, remote monitoring, and other large-scale internet of things (iot) applications. designers use bluetooth mesh because of the following capabilities:
- low energy consumption
- coverage area extension through multihop communication
- excellent network scalability through efficient use of radio resources
- communications security through authentication and encryption
- high system reliability through redundant message routes
- low network latencies
model bluetooth mesh in matlab
mathworks bluetooth® toolbox enables the creation of a bluetooth mesh network with the example. each network node models several of the bluetooth mesh protocol layers, pictured in blue in figure 1. in a physical bluetooth mesh network, these layers define the following capabilities:
- network provisioning
- encryption, decryption, and message authentication to enhance security
- message segmentation and reassembly
- network configuration and management
- management of use case scenarios (e.g., lighting control)
you can create a bluetooth le node with the matlab® command . this node object performs both phy and mac operations, and acts as both a transmitter and receiver. here is a sample output from a bluetoothlenode
call that creates a broadcaster-observer node:
>> node = bluetoothlenode("broadcaster-observer") node = bluetoothlenode with properties: transmitterpower: 20 transmittergain: 0 receiverrange: 100 receivergain: 0 receiversensitivity: -100 noisefigure: 0 interferencefidelity: 0 advertisinginterval: 0.0200 randomadvertising: 0 scaninterval: 0.0050 meshconfig: [1×1 bluetoothmeshprofileconfig] name: "node1" position: [0 0 0] read-only properties: role: "broadcaster-observer" friendshipconfig: [1×1 bluetoothmeshfriendshipconfig] transmitbuffer: [1×1 struct] id: 1
model bluetooth mesh node types
devices in a bluetooth mesh network, also called nodes, can serve different purposes and are given different names. figure 2 shows the interactions between these different node types.
the nodes are described as follows.
- relay nodes: retransmit received messages through multiple hops
- low-power node: also known as lpns, nodes that are power constrained can use the low-power feature to minimize the on time of the radio and conserve energy
- friend node: nodes that do not have any power constraints acting to support lpns (the relationship between an lpn and a friend node is called friendship)
you can use matlab® to visualize the energy profile of bluetooth mesh nodes in wireless sensor networks, with the .
model managed flooding in bluetooth mesh networks
the bluetooth mesh flooding in wireless sensor networks example demonstrates managed flooding. this example enables you to specify node positions and types, to control the degree of flooding, to visualize the flow of packets from source to destination, and to calculate network throughput.
many mesh networks implement routing mechanisms to optimize message relay. other networks flood their nodes with relay messages without any consideration of optimal routes. bluetooth mesh networking uses an approach called managed flooding that includes both these mechanisms. figure 3 illustrates managed flooding in bluetooth mesh.
figure 3 illustrates communication between a switch and a connected light bulb in a bluetooth mesh. initially, the switch and bulb are in the off state. changing the switch to the on state broadcasts a message to turn on the bulb. all the mesh nodes in range of the switch hear the message, but only the green relay nodes retransmit the message until it reaches the bulb.
examples and how to
software reference
see also: bluetooth toolbox, wireless communications, ofdm, massive mimo, rf system, 5g wireless technology, 5g toolbox, lte toolbox, wlan toolbox, communications toolbox, phased array system toolbox, , dvb-s2,