用户案例

Cadmus Collects and Analyzes Energy Data in Near Real Time Using MATLAB and the ThingSpeak Internet of Things Platform

Challenge

Measure and evaluate the energy efficiency of residential homes and factories based on data from onsite sensors

Solution

Use ThingSpeak to collect up-to-the-minute temperature, humidity, and power usage data and use MATLAB to analyze and visualize the data

Results

  • Market opportunity seized
  • Development effort cut by two-thirds
  • Sensor networks quickly deployed

“With ThingSpeak we were able to quickly develop and improve upon our designs because the platform makes iterations easy, is stable, and scales well. Other platforms are available for collecting and analyzing data, but none met our needs as fully and immediately as MATLAB and ThingSpeak.”

Dave Korn, Cadmus

Internet of Things system using ThingSpeak for collecting and analyzing energy data.


The Internet of Things (IoT) enables power producers, public utilities, and other companies in the energy sector to collect energy power consumption data from hundreds of factories and thousands of homes in near real time. This wealth of information has opened opportunities to evaluate energy efficiency initiatives, predict power demand, and perform energy audits.

Consulting firm Cadmus provides full-spectrum energy-efficiency support services to energy utilities throughout North America. These services include studies of energy use that require extensive data collection and analysis.

To make the most of the opportunities presented by the IoT, Cadmus engineers used MATLAB® and the ThingSpeak™ IoT platform to develop a workflow for collecting, storing, analyzing, visualizing, and interpreting data from sensors in homes and businesses distributed across wide geographic areas.

“In just a few months, we implemented a new service that measures and analyzes temperature and humidity changes in dozens—and soon hundreds—of homes,” says Dave Korn, vice president of engineering at Cadmus. “Without MATLAB and ThingSpeak, we would still just be talking about it. Instead, we’re already pitching this service to utilities. That is a huge competitive advantage for our company.”

Challenge

For years, the standard industry practice for measuring and evaluating energy efficiency was to place recording sensor devices at each site. Analysis could not begin until the devices were collected several months later, and device malfunctions were only discovered when it was too late to correct them. To address these issues, Cadmus wanted to develop a solution in which the sensors uploaded measurements to the cloud several times an hour.

Cadmus engineers evaluated third-party systems preprogrammed to upload data to a proprietary platform, where it was difficult to access. The company needed an open platform for reliably collecting and storing data in near real time as well as data analytics tools that they could use to analyze and visualize the data for a variety of applications, including energy efficiency studies, demand prediction, and load shedding.

Solution

Cadmus used MATLAB and ThingSpeak to develop and deploy two systems of cloud-connected sensors for the near-real-time measurement and analysis of energy data, while establishing a workflow for rapidly implementing similar systems.

The first system, designed for an energy efficiency study of residential homes, used custom sensors to send temperature, relative humidity, and device battery voltage measurements to ThingSpeak every five minutes. The second, designed to monitor loads of HVAC systems and large appliances, used off-the-shelf home automation hardware to send power usage data, captured at residential circuit breakers and individual outlets, every minute.

Using the ThingSpeak web application, the engineers created new channels to collect data from the sensors and to quickly verify that each new sensor added to the system was reliably sending data.

Working in MATLAB, the team analyzed the collected data, using standard statistical techniques to identify outliers and calculate means and standard deviations. For example, they calculated and plotted power load profiles by the hour and correlated the load data with weather data from an outside source.

They created a variety of data visualizations, including interactive maps, which they shared with clients and prospects.

Cadmus engineers are currently using MATLAB and Statistics and Machine Learning Toolbox™ to develop predictive algorithms based on machine learning and advanced classification and regression techniques. These algorithms are designed to predict and model load based on weather conditions and sensor data collected via ThingSpeak.

Violin plot of temperature by hour and weekday vs. weekend.

Results

  • Market opportunity seized. “In our industry, many utilities are looking to design better energy efficiency programs and to lower the costs of those programs,” says Korn. “MATLAB and ThingSpeak enabled us to develop solutions rapidly, which meant we could capitalize on these demands this fall. Without MATLAB and ThingSpeak we would have had to wait until spring and miss numerous opportunities in the market.”

  • Development effort cut by two-thirds. “With MATLAB and ThingSpeak, our team of five engineers was collecting and analyzing data in a matter of months. We could not have met our deadlines without them,” says James Kennedy, energy analyst at Cadmus. “With other tools we would probably have needed 15 engineers to complete the work in the same time amount of time—if we could have done it at all.”

  • Sensor networks quickly deployed. “On our first project with ThingSpeak, it took just over three months to implement a network that we quickly scaled from 50 operational sensors to 500,” says Kennedy. “In a very short period we had another complete network set up and collecting data, and that one was deployed at an even faster rate than the first.”