Environmental Monitor Testing Tools and Methods

Gopalakrishnan M
21. Feburary 2024
Categories:Technology,  Validation,  IoT,  Industrial

Environmental and room monitoring products are devices that track various conditions like air quality, temperature, humidity, light, and noise levels. Environmental monitoring systems ensure safe, healthy, and comfortable environments by detecting pollutants and optimizing conditions. The history of environment monitoring system devices dates to the early 20th century with the development of basic thermometers and hygrometers. Advances in sensor technology and digital integration in the late 20th and early 21st centuries led to sophisticated, multifunctional environmental monitoring systems. In this article on environmental monitor testing tools and methods, we will discuss the architecture of an environment monitoring system and cover the testing aspects of environmental monitoring systems in detail. Embien's product engineering services include complete environmental monitor testing and validation for industrial IoT and smart facility products.

Environmental Monitoring Applications

Environmental monitoring systems are used across various industries and domains, including residential, commercial, industrial sectors, and clean rooms. They are essential in healthcare facilities, schools, offices, manufacturing plants, and laboratories. These environment monitoring system deployments ensure regulatory compliance, optimize indoor air quality, enhance safety, and improve overall environmental health and comfort.

A few of the environment monitoring system applications are listed below:

Application Description
Server Rooms/Data Centers Monitoring temperature and humidity to ensure optimal operating conditions and prevent equipment overheating or failures.
Greenhouses Controlling and monitoring environmental conditions like temperature, humidity, and light to optimize plant growth and yield.
Laboratories Ensuring stable conditions for experiments and sensitive equipment, preventing contamination or degradation of samples.
Warehouses and Storage Units Protecting goods from damage due to environmental fluctuations, ensuring conditions are suitable for stored materials.
Clean Rooms Maintaining controlled environments to prevent contamination in the production of pharmaceuticals, semiconductors, and other sensitive products.

In addition to the above list, critical rooms such as operation theaters and chemical warehouses are monitored via environment monitoring system deployments to avoid loss and damage to the environment.

Environmental Monitor Product Architecture

Before we go deep into environmental monitor testing tools and methods, it is important to understand that environmental monitoring systems have a few common elements in their product architecture which testers need to be aware of during testing.

The block diagram below highlights elements and technologies involved in an environment monitoring system.

Environment Monitoring Product Architecture

Environment Monitoring Product Architecture


Let us have a brief overview of these elements.

Sensors: The sensor is used to detect environment conditions. This is the core part that converts the physical value to a digital format. It is interfaced with the collector via wired interfaces with standard communication protocols.

Data Collector: Mostly implemented by a processing element (MPU/MCU), the collector is responsible for acquiring data from the sensor, pre-processing it, and running algorithms on top to derive accurate values in human-readable format.

Store/forward module: As connectivity could be intermittent or batch transmissions are needed, this module stores data locally and forwards it when connectivity is restored. This is an optional module based on the device configuration and use case.

Communicator module: This is responsible for pushing data to cloud via Wi-Fi or LTE directly, or indirectly via technologies such as Bluetooth, LoRa etc.

Cloud: Plays a crucial role in the entire cycle of collecting and centralizing data from environmental monitoring systems as per business requirements.

Alert Modules: Where the interaction with humans happens mostly — alerting users via web app or mobile app to take necessary action at the right time.

The outcome of environmental monitoring systems is not restricted to showing only a human-readable numerical value such as temperature, humidity, or CO2 values. In addition to this numerical value, alert tests and warning notifications may also be shown to the user. So, for testers the validation must happen end-to-end rather than just the accuracy part. For example, when testing a thermometer used in environmental monitoring systems, comparing the reference temperature with sensor output alone is not enough. The product itself must be placed in various environments (Hot, Cold, Dusty, Humid etc.) and validated over a period of time. Using an automated test bench for embedded devices significantly reduces the effort required for such long-duration environmental monitor testing.

Sensor Interface testing

In an embedded sensor edge product that forms part of environmental monitoring systems, multiple sensors are used — thermistor for temperature, humidity sensors for humidity, CO2 sensors for air quality etc. These sensors are interfaced over ADC, I2C, RS232, RS485, SPI etc. Since generally the sensor modules are validated by the manufacturer, testers need to focus more on sensor interface testing within the context of environmental monitor testing. Few interface level boundary test cases are listed below:

S.No Interface Test Description
1 ADC Abrupt disconnection or shorting of ADC lines with ground need to be identified by software and proper fault indication conveyed to user.
2 I2C/SPI Validate intermittent and noisy communication and ensure only valid data is processed by the system and erroneous data discarded.
3 RS485/RS232 Test with noisy communication channels with bit errors. Also disconnect any one of the lines and make sure that is identified by software and intimated to user.

Sensor data collector testing

The sensor's data will be collected and stored at the edge device persistent memory periodically. Normally to test any standard product, we can expect a simulator to be available on the market. But for environmental monitoring systems, it will be very hard to find a simulator for all sensors because of the proprietary communication protocols. Either testers need to simulate the data over the sensor-specific interface in an expected proprietary packet format, or request a simulator from the sensor vendor and integrate with automated test applications. There are tools like TestBot available in the market with flexibility to define the data format and simulate the sensor values with automation — making them ideal for environmental monitor testing. An automated test bench for embedded devices like TestBot can simulate CO2, temperature, and humidity sensor data across all interfaces simultaneously. Few sensor data test cases include:

  • Simulate CO2 data and send to collector module on request and alarm asynchronously over RS232 interface.
  • Simulate temperature reading over I2C interface on edge device request.
  • Simulate Smoke alarm value on request and alarm asynchronously over RS485 interface.
  • Simulate Humidity values over RS232 interface to edge device.

Store and forward tests

As discussed earlier, normally data is collected from sensors and stored in the store-and-forward module, processed, and pushed to cloud as raw data or in readable form. In case of loss of network (LTE, Wi-Fi, or Bluetooth), data is stored locally and pushed to cloud/mobile after restoration. These data are sampled at periodic intervals and pushed to cloud. Testers performing environmental monitor testing need to make sure continuity and integrity of data are always present. Some of the test cases include:

  • Verify sensor data logged in edge device during network availability correctly.
  • Verify sensor data logged in edge device during network outage and not deleted until uploaded to cloud.
  • Verify sensor data forwarded to cloud after network restoration and then memory freed.
  • Check sensor data acquired date/time, integrity, and continuity in cloud after network restoration.
  • Test sensor data logging behavior on multiple network outages.
  • Verify sensor data logger performance in edge device under high load.

Alert tests

Once data in cloud is processed, proper notification is communicated to the end user or respective person to act on it. Notification will typically be a popup on mobile app, web application, SMS, and email. Alert tests are one of the most critical aspects of environmental monitor testing — validating that the right person receives the right alert at the right time. Few of the alert tests which testers need to perform are:

  • Verify alert is shown to user device on sensor threshold breach as per business requirements.
  • Verify alert sent to user on data logger/edge device disconnection.
  • Validate alert sent to user on data logger/edge device unexpected restarts.
  • Verify alert sent to admin in case of memory issue for data logging in edge device.
  • Verify alert send to admin on minimum storage available or storage limit threshold reached.
  • Verify alert sent to admin on sensor malfunctions.
  • Verify alert suppression during maintenance window.

Simulation Tools

As you can see, environmental monitor testing involves multiple elements and technologies — interface, storage, data integrity, and mobile app or web application notification. It is very hard to find a single tool to do complete testing, but tools are available to simulate and test these stages individually. An automated test bench for embedded devices such as TestBot can cover many of these stages within a single platform, making environmental monitor testing more efficient. Few of the tools are listed below:

Tool SPI I2C ADC UART RS232 RS485 Browser Mobile App Hardware LED's PWM
Raspberry pi X X X X X X
Bus Pirate X X X X X
Appium X
Selenium X
Test Bot X X X X X X X X X X

Conclusion

With this introduction to environmental monitor testing tools and methods, it is clear that simulation tools have revolutionized testing for environmental monitoring systems by offering precise, flexible, and cost-effective methods to model behavior and test products. Comprehensive environmental monitor testing — from sensor interface through alert tests — ensures that environmental monitoring systems remain reliable and accurate across all operating conditions. An automated test bench for embedded devices accelerates environmental monitor testing while reducing manual effort and ecological footprints. Embracing these tools is essential for advancing efficient, accurate, and sustainable engineering in response to global challenges. Our Sub-system Development Services enable reliable environmental monitoring solutions with robust testing, validation, and performance optimization.

Reach over to us in case of any specific environmental monitoring development/testing requirements.

Related Pages

CROSS DOMAIN EMBEDDED SERVICES

Embien's cross-domain embedded services cover environmental monitor testing, environment monitoring system validation, and alert tests for industrial and commercial IoT deployments.

Read More

CONSUMER ELECTRONICS PRODUCT DEVELOPMENT

Consumer electronics product development including environmental monitoring systems with end-to-end environmental monitor testing and automated test bench for embedded devices.

Read More

OSCILLATION MEASUREMENT SYSTEM FOR RAILWAYS APPLICATION

Case study: oscillation measurement system demonstrating sensor interface validation and environmental monitor testing techniques for a safety-critical railway application.

Read More

Subscribe to our Blog