Skip to content

Posts tagged ‘Data’

5
Apr

New Consumption Report

So I have finally had a chance to update the My Smart Home: Consumption Report to reflect readings from the new DENT  PowerScout 18 meters and a new database design. Checkout:

http://makonin.com/report_consumption.html.

21
Mar

The Affect of Lifestyle Factors on Eco-Visualization Design

On Monday I learnt that my full co-authored (with Maryam H Kashani and Lyn Bartram) paper “The Affect of Lifestyle Factors on Eco-Visualization Design” was accepted at Computer Graphics International (CGI 2012). So I will be travelling to Bournemouth University in the UK. Here is the paper abstract:

As people become more concerned with the need to conserve their power consumption we need to find ways to inform them of how electricity is being consumed within the home. There are a number of devices that have been designed using different forms, sizes, and technologies. We are interested in large ambient displays that can be read at a glance and from a distance as informative art. However, from these objectives come a number of questions that need to be explored and answered. To what degree might lifestyle factors influence the design of eco-visualizations? To answer this we need to ask how people with varying lifestyle factors perceive the utility of such devices and their placement within a home. We explore these questions by creating four ambient display prototypes. We take our prototypes and subject them to a user study to gain insight as to the questions posed above. This paper discusses our prototypes in detail and the results and findings of our user study.

Keywords: eco-visualization, informative art, ambient display, power consumption, energy conservation, sustainability.

CGI 2012 received 178 papers, 111 were rejected, 35 were selected for the CGI 2012 Special Issue of The Visual Computer,  32 were selected for the Electronic Proceedings.

I will be updating the Elements of Consumption (EoC) project page soon. I plan to be releasing the project source code as an open source project along with details on how to create your own custom ambient display.

11
Sep

Modelling the smart home, sensor data

Today David Lindberg a fellow graduate student and colleague ask, “I need a better picture of the data you’re receiving from the houses. Can you send me your database schema“? David will be looking at modelling tools and developing a model for the home. I though it might be a good idea to take some time and post what I have experienced and some of my opinions.

In my opinion, there are 2 basic data types that 99% of all sensors and actuators use (the other 1% in have not seen yet):

  1. a relay, like on/off, 1/0, yes/no, open/closed, or high/low;
  2. or, a setpoint, like a scale or discrete value (e.g. the temperature, the light level).

With sensors you can read these values and with actuators you can set these values. When it comes to reading sensors, there are 2 ways that sensors can be read, and this depends on the function of the sensor:

  1. continuous and periodic set interval, meters and environmental sensors (temperature, light) are typical examples of this;
  2. or, event triggered, PIR motion and door/window contacts are typical examples.

An example of how you can read sensors and set actuators would be to trigger a furnace to heat a room. You might place a temperature sensor in a room that is connected to micro-controller or MCU (e.g. an Arduino). The MCU would continuous read a discrete value from the temperature sensor, say once every second. The MCU could also be connected to the furnace (the actuator), say via a relay interface. We then program into the MCU the simple command, “when the temperature is under 21°C set the furnace relay to on, and when the temperature is over 21.5°C set the furnace relay to off”. Note: setting the furnace relay to on would turn the furnace on, and 21°C would be considered a setpoint.

Now if you wanted to store sensor data in a database the most basic table you could create that would store any kind of reading would be:

  • the sensor name or ID, this is a unique value and a way to identify one sensor from another;
  • the date and time of the reading, it is best to store this in UTC or GMT to avoid daylight savings time change issues;
  • the periodic value, the amount since the last periodic reading;
  • the instantaneous value, what the sensor’s reading is now.

So what is this periodic value, instantaneous value thing? When and how do I use them? Good questions, I am glad you asked! If we look at power meters, the periodic value would be the amount of Wh (watt-hours) used since the last reading and the instantaneous value would be in W (watts) for the current power level. With temperature sensors there would be no periodic value and the instantaneous value would be the current temperature (in °C, °F, or °K).

I may have more to add later…

10
Sep

Security system working with mControl via NPort

So yesterday and today I spent time installing the NPort 5250A Serial to IP Server and hooking it up to my DSC security system. After the hardware was setup, I enabled the “DSC PS” driver in mControl Service Manager and configured it with the right IP address and port. Then I added a new device in mControl Editor. Once done, I was able to arm/disarm the security system without issue. What I like about mControl is that once the hard work of installing the hardware is done, there is no struggle on the automation software side; only add or change some settings/configurations  and it just works! Next task is to get the NPort to talk RS485 to my ION6200 power meters and write the corresponding mControl driver.

In the next couple of weeks I will be posting more information on:

  • how to create a meter enclosure for your smart/revenue meter;
  • how to start writing mControl drivers;
  • a project page on how to create you own Arduino power meter reader (the APMR project), that uses a real-time clock (RTC) and RS485/MODBUS.

One thing to note is that I am trying to get the “DSC PS” driver in mControl modified. My security system has 4 partitions and the driver, in its current form,  only support 2.

30
Aug

mControl Device Drivers

I just finished having a meeting with Ted and Roger from Embedded Automation on how to write device drivers for mControl. It was great that they took some time out of their busy day to meet with me at the SFU Surrey Campus. Now that I have a handle on this I am looking to create a number of drivers that can:

  1. talk to RS485/Modbus devices, in this case my power meters;
  2. receive consumption data from the AcquiLite about water and natural gas usage;
  3. update my ambient display, Elements of Consumption.

These devices that I will be adding to mControl will allow me to start monitoring my energy consumption more closely. I will using a new service in mControl v3 to capture and store data in a database. That data will be analyzed by machine learning algorithms to find patterns of usage and to identify what appliances were used. If you are interested in learning more about this project feel free to contact me. Soon I will announce a way for anyone that uses mControl v3 to participate…

Follow

Get every new post delivered to your Inbox.

Join 64 other followers