Skip to content

Archive for September 2011

22
Sep

Energy conservation drivers

I have been busy getting back in to course work for this fall; but I though it would be good to set up a poll to see what people think about what will drive energy conservation. Please contribute by taking my poll.

15
Sep

Proliphix IMT550w thermostat installed

Today I finally installed my Proliphix IMT550w Network Thermostat. As you may have read in my earlier post, it was hard to find the right thermostat for my American Standard HVAC system, and it took me over 2 week to do an exhaustive search to find the IMT550. To review, I have a dual fuel system with a 2-stage heat pump and a 2-stage, variable speed gas furnace.

I spent the last couple of weeks figuring out how my HVAC system is wired. This took some time because there where a different amount of terminals with different labels (e.g. my system labels W2 as X2, and not needed). The colouring of the wires was also different. I cautiously documented the current wiring scheme and the new wiring scheme with my new IMT550w installed. I then talked to Proliphix Support and they worked with me to come up with the right wiring scheme. Proliphix has one of the best support departments. Mark, from Proliphix Support, was knowledgeable and responded quickly to all my emails–what more could I ask for. For those of you who are interested in seeing the before and after diagram of my HVAC wiring take a look at my HVAC Wiring Scheme document.

What I like about the IMT550w is:

  1. I can read and change setting from my browser, making it easier to set up schedules;
  2. I can install additional indoor temperature sensors, providing more comfort and energy efficiency;
  3. the temperature sensors that go with the thermostat (need to order separately) are more accurate than the ACONT802;
  4. the thermostat firmware can be updated with new functionality.
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.

8
Sep

Insteon phase coupler installed

So I installed the SignaLinc hardwired phase coupler  and the 10A FilterLinc today and it looks like all the communication issues I was having are gone. I am still getting hop counts of 3 on some devices, but I think that may go away once I install more Insteon hardware.

6
Sep

Insteon communication issues

Looks like I have some issues with Insteon communication. The mControl log is recording error such as:

!!! PowerLinc possible data loss: 0x02 not found at beginning of data
!!! PowerLinc communication error - NAK received (B)
!!! PowerLinc possible data loss: 0x02 not found at beginning of data

And the device summary shows a lot of “reachable=false, hops=3″ which is not good. If I change where the Insteom PLM is plugged in then I get somewhat better results. Looks like I need to:

  1. couple the phases with a SignaLinc hardwired phase coupler;
  2. a filter out any noise from my computer UPS with a 10A FilterLinc.

Hopefully this will do the trick. I have ordered the equipment and will update you on how I resolve this issue…

6
Sep

Celebrating CIRS and Accelerating Sustainability at UBC

The University of British Columbia is Celebrating CIRS and Accelerating Sustainability November 3 to 5. This should make for an interesting conference. “It will explore the ways in which we can advance debates, technologies, discoveries, and instruction that support a sustainable future, and will celebrate the opening of CIRS” (as quoted from their invite email). I just registered, see you there!

3
Sep

Installing mControl v3

So the Dell Zino I ordered was delivered yesterday and finished installing all the Insteon devices. After much debate I decided to install Windows 7… Well I did not like how it turned out and today I installed Microsoft Windows Web Server 2008 R2 64-bit. Much better, because most of the time the Zino will be setting in a corner headless, and I will use Remote Desktop for configuration and installing updates.

Now it is time to set up mControl. Setup is quite easy, but here are the steps I took for you review:

  1. install Windows Web Server 2008 R2;
  2. install Dell device drivers;
  3. apply all patches and updates (there were lots and this took a LONG time with multiple reboots!);
  4. download and install FireFox;
  5. download and extract Insteon Modem Driver, install via Device Manager;
  6. enable remote desktop login;
  7. download and install .Net Framework 4.0;
  8. add the IIS 7 role to your server;
  9. add .Net Framework 3.5.1 Features feature;
  10. run from command-line “%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i”;
  11. shake your head that you still have to run aspnet_regiis.exe after all these years (and that you still forget!);
  12. install mControl;
  13. run mControl Service Manager and make sure that the Insteon setting are “SERIAL” and the COM Port is right (mine was COM3);
  14. run mControl Editor and add each device to mControl;
  15. if the Editor displays the error “Could Not Load Type ‘System.ServiceModel.Activation.HttpModule’” then run from command-line “%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -iru”;
  16. install the iPad app (another very easy thing to do) and play.

I am still waiting for my Serial to IP Converter and Thermostat to come in. For the serial server I have decided to go with a NPort 5250A which will have 1 port for RS232 and 1 port for RS485. The RS232 port will be connected to my DSC security system. The RS485 port will be connected to my ION6200 power meters.

For the thermostat, I have decided to purchase the Proliphix IMT550w Network Thermostat. mControl does not currently support this thermostat (but they will soon). It was very hard finding the right thermostat for my American Standard HVAC system, because it is a dual fuel system with a 2-stage heat pump and a 2-stage, variable speed gas furnace. I did an exhaustive search for about 2 weeks!

Now it is time to enjoy the long weekend, stay tuned…

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: