Archive for the ‘ Sensors ’ Category

I would like to initially take three different types of measurements and prototype the transducer, sensor, conversion from signal output to a computer-friendly signal, and a rough software service to monitor these signals.

The previous post touched on one these properties, namely temperature. The other two properties I would like to address are electrical current and several computer measures such as free memory and disk space. I realize the computer measurements are not common to the others, but I feel I need to test those types of properties as well.

I’d like to examine some possible sensor types for current. The main priorities are price, simple circuitry for a reasonable output signal, and sensitivity.

Next I will be looking into various ways to measure alternating current (AC) in the house.

Leave your Comment

I guess I really didn’t expand on the idea of sensing in the original goals of the project, but that’s what this project is really about. Measuring, recording, displaying, and trending a large number properties inside and outside the home is a large part of this project. I’m not sure of the exact number, but let’s just say when I’m finished, it should be more than a hundred and less than a thousand. Since a significant amount of these properties will be in the form of temperature, we need to determine a reliable, somewhat simple, and cost effective solution to measure ambient and surface temperatures.

Having worked with temperature measurement in the past, there really are three ways to cheaply and accurately measure ambient and surface temperatures;

1) Integrated Circuit (IC) sensor


2) Resistive Thermal Device (RTD) – a type of thermal resistor

3) Thermistor – another type of thermal resistor

Of course, there are other ways to measure temperature such as thermocouples and fiber optics, but I really see these three as my main choices.

Let’s list out the types and some pros and cons of each:

Sensor Type Integrated Circuit (IC) Resistive Thermal Device (RTD) Thermistor
Advantages InexpensiveLinear output relative
to temperature

Large output change
for small temperature change

Linear output relative to temperatureWide temperature range Large output change for small temperature rangeFast Response

Inexpensive

Disadvantages Small operating temperature range – added complexity when dealing with lower temperaturesMay be subject to self-heating – affecting accuracy Small change in output with change in temperatureSlow response

Relatively expensive

Not linear across temperature range

Three parameters that are important to sensors are accuracy, repeatability, and sensitivity. Many times it’s a trade-off between these parameters, complexity, and cost to get the best type of sensor for the application. Let me cover these three parameters briefly;

1) Accuracy -  This tells us exactly how close the sensor’s output is. Here is a definition I had:

Accuracy of a displayed value is characterized as an uncertainty of a measurement display representing the actual value being measured. It is expressed in terms of how far off any given reading could be from the true value, given in terms of a fixed value, a percent of reading, a fixed value plus a percent of reading or a percent of the instrument’s full scale value.

2) Repeatability – A measure of how closely the sensor will measure the same value every time. Here is a more formal definition:

The repeatability of an instrument or sensor is a measure of its random accuracy. In general, the more accurate a sensor or instrument reading is, the more repeatable it will be.

3) Sensitivity – This indicates how much the sensor’s output changes when the measured quantity changes. Sensors that measure very small changes must have very high sensitivities.

Here is a good article on various temperature sensors.

Although I have used both an IC type as well as RTDs, I would like to explore the thermistor as my primary temperature sensor based on the data above. Since this data will eventually be logged into a computer we could apply the Steinhart-Hart equation to hopefully remove some of the non-linearity of thermistors. Since I have some IC sensors (National Semiconductor LM34) that have worked quite well, I’ll probably use them also. The other nice thing about thermistors is their high sensitivity. This helps in measuring very small, relative changes and that is really what I’m after. I’m not as concerned with absolute measurements as long as it’s repeatable.

I suppose I could buy a solution from a Home Automation vendor, but I’m really after a high-volume, repeatable, and simple (maybe relatively) solution that keeps me in my limited budget. After some initial trials (more on them later), I hope to find a good solution for a large number of temperature measurements.

Next, I’ll have to determine what kind of circuitry I’ll use to convert the property changes in these devices to a usable signal (think transducer and sensor) and then some method (analog to digital conversion) to get them into a computer. That sounds like at LEAST two more topics for future articles.

Comments (4)

I started thinking that maybe I should cover some terms and definitions about sensing and measurement for this project before getting too deep into it.

First off, the words sensor and transducer are both widely used when referring to the measurement of physical phenomena and properties. Generally, the transducer is the component measuring the input energy or physical property, and the sensor contains the transducer as well as any circuitry required to convert the measurement into a usable electrical signal.

Here’s a small diagram of what makes up a sensor:


Let’s list out some of the different physical properties that we cold potentially measure:

1) Flow of liquids or gases
2) Levels of solid or liquid
3) Direction of flow for gases or liquids
4) Relative amount of liquid in a gas (humidity)
5) Amount of light striking a surface
6) Ph / Conductivity
7) Temperature
8) Acoustic (magnitude, spectrum)
9) Pressure / Strain / Force
10) Electrical (current, potential, and field properties)
11) Magnetic

Now I realize some of these do not seem extremely applicable to a home environment, but I would rather not limit myself just yet.

Next, we’ll list out some potential measurement possibilities around the household.

Leave your Comment

To be honest, this project will be done on a limited budget, using some existing equipment and building some of my own sensors. I have no budget for the big names in home automation (HA) and I’m mainly focused on things that aren’t your traditional HA components.

Since I’ve been a Microsoft developer for a great many years, any software used – written or not will be based primarily on MS tools.

Here are the main parts to the stated project:

1) A Graphical User Interface (GUI) – to display and allow a person to navigate through the various views of sensory data from throughout the home.

2) A Collector System (CS) – allowing various sensors and transducers report in via a push or pull process that is loosely coupled to the devices.

3) Configuration Database (CD) – that will tie Targets (items of interest such as a refrigerator, furnace, or swimming pool) to Measures (metrics like temperature, air-flow, electrical current, or humidity for example) and also allow thresholds and alarms to be tied to these combinations.

4) Event System (ES) – Will produce events based on event rules, targets, measures, and thresholds.

5) Data Warehouse (DW) – For storing measurement data for trend statistical analysis.

So, the key parts are a GUI, a Collector System, a Configuration Database, Eventing System, and Data Warehouse.

Next, I will try to formulate this into some type of project statement and a diagram of how the main components of the system.

Leave your Comment