Nordic Semi’s BLE SoC Enables Light Dimming Via Mesh Network

Nordic Semiconductor has announced that McWong International, a Sacramento, CA-based developer of lighting control equipment, has selected Nordic’s nRF52832 Bluetooth Low Energy (Bluetooth LE) System-on-Chip (SoC) to provide the wireless connectivity for its “Dimming PIR Occupancy Sensor.”

The Dimming PIR Occupancy Sensor uses passive infrared technology to detect motion and then trigger instructions to control the lighting based on occupancy.

The product is targeted at industrial applications, including warehouses, distribution centers, and cold storage facilities. The device provides an energy saving solution by either turning the lighting off completely, or by reducing light levels based on parameters selected by the facility management. Nordic’s nRF52832 SoC provides the Bluetooth LE connectivity from the device to a user’s Bluetooth 4.0 (and later) smartphone for setup, configuration, and sensor adjustments including time delay, ambient light sensitivity, and motion detection range and sensitivity.

The Dimming PIR Occupancy Sensors employ Silvair’s Bluetooth Special Interest Group (SIG) qualified Bluetooth mesh protocol ‘Silvair Mesh’—running on the Nordic SoC—to support Bluetooth mesh networking between a large number of sensors and other control devices in an industrial lighting setting. Mesh networking allows devices to communicate with any other device with information relayed via other nodes if necessary and without recourse to a central hub device. Such a system enables extended range, flexibility, scalability and redundancy.
The mesh networking employed by the McWong sensors relays specific dimming commands with low latency across the network, avoiding the complexity that comes with sending information to each individual sensor in turn. Nordic’s software architecture includes a clear separation between the Bluetooth LE RF protocol software and McWong’s application code—which incorporates the Silvair mesh software—easing development, testing and verification.

Rather than requiring costly and time-consuming hardwiring to a central location, the mesh network offers fast and flexible operations that can be continuously adjusted. The ability to broadcast operating parameters from a smartphone and easily update functionality also makes scalability easier for facility owners and operators.

The Dimming PIR Occupancy Sensor provides 360° of coverage at mounting heights up to 40 feet. The sensor also provides bi-level dimming via 0-10 V control, which complies with many energy code requirements and offers greater energy-efficient performance than simple on/off control. The IP65 rating makes the sensor ideal for wet locations, such as parking structures, nurseries or loading docks.

Nordic’s nRF52832 multiprotocol SoC combines a 64 MHz, 32-bit Arm Cortex M4F processor with a 2.4 GHz multiprotocol radio (supporting Bluetooth 5, ANT, and proprietary 2.4 GHz RF protocol software) featuring -96-dB RX sensitivity, with 512kB Flash memory and 64kB RAM. The SoC is supplied with Nordic’s S132 SoftDevice, a Bluetooth 5-certifed RF software protocol stack for building advanced Bluetooth LE applications. The S132 SoftDevice features Central, Peripheral, Broadcaster and Observer Bluetooth LE roles, supports up to twenty connections, and enables concurrent role operation.

Nordic Semiconductor | www.nordicsemi.com

 

Passive Infrared Sensors

Homing in on Heat

One way to make sure that the lights get turned off when you leave a room is to use Passive Infrared (PIR) sensors. Jeff examines the science and technology behind PIR sensors. He then details how to craft effective program code and control electronics to use PIR sensors is a useful way.

By Jeff Bachiochi

“The last one to leave, please turn off the lights.” How many times did you hear this while growing up? It’s an iconic phrase sometimes used to suggest the end of life, but as I remember it, just an effort to save electricity. I would always use the logic that bulbs burn out during the initial surge current and not necessarily from remaining on, but that logic never worked on Mom. To this day I am obsessive about turning lights off (thanks Mom!). To that end I tried installing Passive Infra Red (PIR) sensors to handle this automatically. After being inundated with complaints (from my wife Beverly) about lights turning off “while I’m still in the room,” I gave up.

While PIR devices are sensitive to heat (infrared)—the human body’s radiation is strongest at a wavelength of 9.4 µm—they are based on the heat source moving past the sensor. Let’s look at a typical PIR sensor element to see how this works. The RE200B PIR sensor comes in a TO-5 package. Manufactured by Glolab, this device actually contains two sensors as seen in Figure 1.

FIGURE 1
The metal tab on the TO-5 can indicates the X-axis plane across both sensor elements. The window filter material is optimized for approximately 10 μm wavelength.

Each pyroelectric sensor is made of a crystalline material that generates a surface electric charge when exposed to heat. When the amount of radiation striking the crystal changes, so does amount of charge on the input to a sensitive FET device built into the sensor. The two elements are in series with the FET input connected to their junction. With this configuration and a wide (138-degree) field of view, whatever ambient light falls on both the sensors is canceled out. The sensor elements are sensitive to radiation over a wider range so a filter window is added to the TO-5 package to limit detectable radiation. As a standalone this device is not very useful. We need a way to interrupt the heat source from hitting both sensor elements at the same time.

Anyone familiar with opto encoders already understands how this works. Opto transmitter/receiver pairs are placed on opposite sides of a spoked wheel. Light passes between the spokes as it rotates between the pair. A second pair is placed such that when one light path is blocked by a spoke, the other light path is between spokes. As the spoked wheel rotates, the opto device’s output alternates between one coupled pair and the other. With some logic on the opto outputs, you can tell both direction and speed of the rotation. Creating the same kind of “picket fence” in front of the infrared (IR) sensor elements can cause the radiation to be alternately blocked and passed to each sensor. The trick will be to design the slat width and placement to give the desired effect.

Fresnel Lens

Figure 2
Lenses of large aperture and short
focal length are massive. The bulk
of the material can be eliminated as
long as the lens’ curve stays the same.
This can be accomplished by a series
of annular lens rings or the special grinding pattern on a single blank.

A lens could be used to artificially reduce the field of view, by collecting and focusing it into a smaller spot. Move an object in front of the lens left to right and the spot moves right to left, behind the lens. If the spot passes over the two sensor elements sequentially, voilà—each sensor will produce a push or pull at the center tapped output. And that is something we can detect. A single lens would create one sensitive area out in front of the device. This might be just what you are looking for. However, to be sensitive to a wider range we must have multiple lenses. Since glass is opaque to IR we can’t use a typical glass lens. It turns out that polyethylene type materials do pass IR light and can be formed in various Fresnel lens patterns.

The idea for the Fresnel lens goes back to the French mathematicians of the late 18th century. This was an attempt to make lenses thinner while retaining the optical quality of the original. Figure 2 shows how unnecessary thickness is removed from an original lens without changing the lens’ curvature. In the early 19th century this idea was adapted for use in lighthouses by Augustin-Jean Fresnel. The thin cross section of the Fresnel lens makes it ideal for PIR lenses. …

Read the full article in the June 335 issue of Circuit Cellar

Don’t miss out on upcoming issues of Circuit Cellar. Subscribe today!

Note: We’ve made the October 2017 issue of Circuit Cellar available as a free sample issue. In it, you’ll find a rich variety of the kinds of articles and information that exemplify a typical issue of the current magazine.