{"id":2028,"date":"2017-02-22T14:58:01","date_gmt":"2017-02-22T19:58:01","guid":{"rendered":"https:\/\/blogs.mathworks.com\/iot\/?p=2028"},"modified":"2017-02-22T14:58:01","modified_gmt":"2017-02-22T19:58:01","slug":"cadmus-analyzes-iot-data-with-matlab","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/iot\/2017\/02\/22\/cadmus-analyzes-iot-data-with-matlab\/","title":{"rendered":"Cadmus Collects and Analyzes IoT Data Using MATLAB and ThingSpeak"},"content":{"rendered":"

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.<\/p>\n

Consulting firm Cadmus<\/a> 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.<\/p>\n

\"\"<\/a><\/p>\n

To make the most of the opportunities presented by the IoT, Cadmus engineers used MATLAB\u00ae<\/sup> and the ThingSpeak\u2122 IoT platform<\/a> to develop a workflow for collecting, storing, analyzing, visualizing, and interpreting data from sensors in homes and businesses distributed across wide geographic areas.<\/p>\n

\u201cIn just a few months, we implemented a new service that measures and analyzes temperature and humidity changes in dozens\u2014and soon hundreds\u2014of homes,\u201d says Dave Korn, vice president of engineering at Cadmus. \u201cWithout MATLAB and ThingSpeak, we would still just be talking about it. Instead, we\u2019re already pitching this service to utilities. That is a huge competitive advantage for our company.\u201d<\/p>\n

Solution<\/h3>\n

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.<\/p>\n

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.<\/p>\n

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.<\/p>\n

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.<\/p>\n

They created a variety of data visualizations, including interactive maps, which they shared with clients and prospects.<\/p>\n

Cadmus engineers are currently using MATLAB and Statistics and Machine Learning Toolbox\u2122 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.<\/p>\n

\"\"<\/a><\/p>\n

Results<\/h3>\n
\n
\n
\n
\n