Intelligent DataLoggers

Monitoring Energy Efficiency in a Display Home

CAS Dataloggers recently provided the datalogging solution for a large manufacturer of thermally efficient and lightweight building panels whose insulated products were used extensively in the construction of a highly energy-efficient home. The manufacturer wanted to set up continual temperature monitoring over an extended period of time that would demonstrate all the energy and cost benefits of its thermally-efficient materials; the home would initially be used for display purposes, after which time it would be occupied for a full year to validate its high energy efficiency rating. Read the entire article here on our applications note page.

Setting Up Relay Control with DT8x Data Loggers

Using the DT8x Series Intelligent Data Loggers from dataTaker
CHESTERLAND OH—January 5, 2012

It is often necessary to control external relays when working with a DT8x series data logger to control high current/high voltage devices. There are 2 components to setting up the data logger to control a relay: the electrical interface between the logger and the relay, and the programming to trigger the relay. This tech note will guide the reader through both requirements to complete this setup.

The data loggers provide 1 electromechanical relay that is capable of switching up to 30VDC at 1Amp, but if more than 1 output or higher voltages or currents are required, external relays must be used. To control the external relays, the logger provides 8 digital outputs (4 for the DT82x series). It’s important to understand that these 8 (4) outputs are not identical; digital outputs 1-4 (1-3 for the DT82e) are current sinking inputs which can switch up to 30VDC at 100mA, while digital outputs 5-8 (4 for the DT82E) are TTL logic level outputs which provide 0 or 3.3VDC for the ‘off’ or ‘on’ states respectively.

Digital Outputs 1-4
The sinking digital outputs 1-4 can be connected directly to the coil of a relay that draws a maximum current of 100mA at a maximum voltage of up to 30 VDC. In this case, the positive output of an external power supply is connected to one side of the relay coil, the other side of the coil is connected to the digital input of the data logger, and the negative side of the power supply is connected to the digital ground of the data logger. To activate the relay, the digital output is set to 0 using a command such as 1DSO=0 and to turn the relay off, 1DSO=1. The 1DSO=0 command turns on the FET connected to 1D which allows current to flow through the relay coil and activate it. Also, please note the “freewheeling” diode connected across the coil of the relay. This diode is very important as it protects the digital outputs from the inductive voltage spike generated by the coil windings when the relay is switched off. Some relays provide this diode internally, but if it is not present, an external diode such as a 1N914 should be added, as without it the digital outputs of the data logger may be damaged.

Digital Outputs 5-8
Control of a relay using digital outputs 5-8 is a bit more complicated as they are not suitable to directly drive the relay coil. To utilize these outputs, an external driver must be used between the data logger and the relay. The simplest method is to use an external transistor driver. Note that in this case the programming is opposite the first 4 digital outputs; to turn the relay on, use the command 5DSO=1 and to turn it off, use 5DSO=0. Also, notice that this configuration also requires the external diode to protect the driver transistor from the inductive voltage spike. If more than one relay needs to be controlled, the ULN2803 Darlington Driver IC provides 8 transistor drivers than can source up to 500mA.

Programming Relays
The most common application is to control the switching of the relays via an alarm statement, but other applications may require manual control; for example to turn a relay on or off at a specified time.
In this case, an alarm limit is setup and the built-in output functions are used to turn the digital output for the associated relay on and off. Note that using this method will also automatically turn the relay off when the alarm condition is false. If this automatic resetting of the relay is not desired, a manual command can be used to turn on the relay.

The manual command can also be used if hysteresis is required where separate alarm commands are used to turn the relay on and off at different set points to avoid the potential for rapid oscillations that might occur with the previous method when the measured value is close to the limit value.

The Control function can be used to manually turn a relay on. For example, Schedule_2 can be set to run once an hour and turn the relay attached to digital output 1 on for 10 seconds, and then turn it off by using the ability of the logger to generate a digital pulse of user-specified duration. Manual control of the digital outputs can be used to implement more complex relay switching where simple alarm functions will not do what’s necessary.

For more information on the dataTaker DT8x series of Intelligent Universal Input Data Loggers, other dataloggers in the highly successful dataTaker line, or to find the ideal solution for your application-specific needs, contact a CAS Data Logger Applications Specialist at (800) 956-4437 or visit the website at www.DataLoggerInc.com.

Contact Information:
CAS DataLoggers, Inc.
12628 Chillicothe Road
Chesterland, Ohio 44026
(440) 729-2570
(800) 956-4437
sales@dataloggerinc.com
http://www.dataloggerinc.com

Intelligent Data Logging Operations

Wide Variety of General-Purpose and Application-Specific Data Loggers

CHESTERLAND OH—October 24, 2011

When trying to define intelligent data Iogging, it’s useful to compare it with traditional data logging. In the past, data loggers or recorders would typically be configured to sample a set number of channels at a fixed rate and store the recorded values in memory. The data could then be downloaded to a PC afterward and analyzed to identify trends, anomalies, and other events. The analysis was often very time-consuming, requiring the user to weed through thousands or millions of data points to find a particular region of interest to study. Consider for example a datalogger that measures several inputs once a second; within one day there is already more data than will fit into a single Microsoft Excel spreadsheet, the tool of choice for many types of analysis. Higher speed loggers that sample at 100 to 1000 Hz can simply overwhelm the user with data and analysis becomes a task of finding a needle in a haystack.

With advances in technology and computing power, modern dataloggers can dramatically reduce the amount of time and effort required to extract critical information. These “intelligent” data loggers incorporate a number of features that allow them to go well beyond the functionality of traditional data loggers to help home in on the information the user is looking for. The key is separating the raw data from the information it contains, which is what the user is really after.

Gleaning information intelligently

One intelligent datalogging feature is flexible scheduling that allows the measurement and recording of data to be tailored to each specific application. In many instances, there are some parameters of interest that may change slowly, such as the temperature of a large furnace or the level in a tank. Other parameters may change much more rapidly, such as the pressure or flow rate in a fluid line. By allowing multiple sample rates, intelligent data loggers can be configured to match the sample interval to the maximum rate of change, eliminating redundant data. Other sampling techniques include adjustable or adaptive sampling schedules that allow the data logger to change the sample rate or the number of inputs to be measured based on an external event or the value of a measured parameter. This allows the datalogger to only record data when it’s meaningful. Often, it’s not the individual data points that are important, but rather the overall behavior over some period of time. Simple statistical techniques can be used to reduce the mountain of data down to a few salient point values that convey the same information. Intelligent data loggers can measure hundreds of data points of a specified period of time and then report information such as the minimum and maximum values, the average and standard deviation of the measured points, and even the date and time of minimum or maximum values. Some loggers even include the ability to bin data into histograms to provide a clear picture of the distribution of measured value over some period of time. For repeating cyclic data, loggers such as the dataTaker DT800 incorporate software that implements the ASTM 1049-85 Rainflow cycle counting method. This is an internationally accepted technique to monitor strain-stress hysteresis for structural fatigue. It allows literally thousands of measured data points to be reduced down to 10-20 values that capture all of the information.

Today’s intelligent loggers also incorporate the ability to perform calculations on the measured values. This can be as simple as scaling linear sensor outputs to meaningful values or as complex as applying a 5th order polynomial to convert a non-linear input into useful values. Local integer and floating point variables allow for very complex calculations using standard arithmetic, trigonometric, relational, and logical operators as well as conditional calculations.

Finally, a very powerful feature of intelligent data loggers is flexible alarm programming. While many data loggers allow simple alarms based on whether a value is above or below a preset limit, intelligent data loggers provide greatly expanded capabilities including alarms that are based on the value of multiple inputs, rate of change of an input, time, calculated values, or a combination of all of these. These alarms can do much more than simply throw up a flag–they can enable or disable other measurements, turn one or more outputs on or off, send an email or text, or change the operating mode of the logger.

By using the capabilities of a modern intelligent data logger, it is possible to minimize the amount of raw data that must be manually analyzed and to maximize actionable data that contains the essential information that the user was after when they installed the logger. Alarms can be configured to provide immediate notification of out of limit conditions while minimizing the number of false trips.

Monitoring plant operations and processes

One very common application of data loggers is to monitor equipment or process performance in manufacturing plants. For example, one customer wanted to monitor the operation of a welding line. The line had four welding cells, each with four stations. Previously, there was no easy method to capture usage information other than to count the number of parts being produced. A dataTaker DT85 data logger was installed with current sensors for each of the welding stations. Then a program was created on the datalogger to sample every half second and record whenever current was flowing, indicating that a particular station was active. While it would be possible to retrieve the data and chart out the operation for each cell, utilizing the features of the data logger allowed the user to create a simple dashboard that provided an instant view of the operation. Internal counters monitored the total time each cell was active as well as the total elapsed time during the shift. From this, a simple ratio showed the percentage of uptime. If a particular station was not in operation for more than 20 minutes, it was assumed to be down and an alarm was generated. By utilizing the real-time clock functions in the logger, the counters were reset at the end of the shift to prepare for the next group of operators.

Another very common use of dataloggers is to track the level of various types of materials in storage tanks. The data can then be retrieved and analyzed to determine usage information. In some cases, simple Ievel alarms may be implemented to provide a warning if the level gets too low or high. These capabilities can be enhanced by using the ability of the logger to calculate the rate of change of the level. A sudden increase or decrease in the rate of change can be indicative of a problem even if the level is still within limits. One customer has even implemented a JIT inventory management system using the data logger to alert the supplier when re-supply is needed.

Using intelligent data loggers with PLCs

Often data loggers are used alongside programmable controllers (PLCs) either to provide a backup history of the operation of the controller or to troubleshoot operating anomalies in the controller. By continuously tracking the inputs to the controller as well as the outputs of the controller, the logger can quickly identify unusual behavior. The ability of intelligent loggers to set up alarms based on multiple inputs (both analog and digital) and different combinations of inputs allow the quick diagnosis of the sequence of events leading up to the failure. In some cases, a data logger can even take the place of a small PLC. Combining the flexible measurement capability and digital outputs with the on-board intelligence to process information and take action based on readings, allows a data logger to both monitor and control small processes or machines. A recent example is the control of a small wastewater treatment plant. Initially, the logger was installed to monitor the operations of the plant and it was found that during heavy rains, groundwater seeping into the system was overloading the aeration tanks and forcing sludge out into the filter beds, contaminating them. The data logger program was enhanced to control the operation of blower cycles during heavy rains to allow the sludge to settle out before it could be washed out of the system.

lnternet-enabled data logging applications

Additionally, the latest generation of intelligent data loggers offers internet connectivity to enable a whole new class of applications. These devices can publish real-time or historical data via built-in web servers, send email and SMS messages, or receive SMS messages and initiate actions.

In the past, if engineers wanted to publish data collected by the device, it had to be taken back to a computer and processed there, but nowadays, dataloggers such as those from dataTaker incorporate an internal web server. Using a standard web browser on a PC (or even a PDA) allows a user to retrieve the current measured values, status, alarm, and error information. An API that includes a library of SSI directives allows the user to develop a customized web page that can then be stored in the logger. For example, imagine a data Iogger connected to a weather station that not only records meteorological data but also publishes a web page showing the current conditions all on its own.

By combining an intelligent data logger with an SMS compatible modem, it’s possible to build a system that can transmit alarm messages that not only communicate the nature of the alarm but actual measured values. This allows the person receiving the message to determine both the nature and the severity of the condition and decide if urgent action is needed or if it’s a minor issue that can be dealt with in due course. Conversely, the data logger can accept SMS messages and take action based on them. In the case of an alarm, the data logger could be instructed to run a special diagnostic test to collect data that is not normally recorded and relay this back to the user to help identify the nature of the problem. Alternatively, the user could send a message to the logger to activate or deactivate an output that controls another piece of equipment.

More than just recording

Modern data loggers can do much more than simply record analog and digital signals as did previous generations of these devices. Enhanced processing power combined with predefined math, statistical and alarm functions and flexible programming interfaces, allow them to process measured data locally, reduce the volume of data being stored, and generate actionable information. Intelligent data loggers can also make complex conditional decisions based on incoming data, execute simple control functions, and generate alarm and email messages based on user-defined criteria. The latest generation of products even includes web servers making the data available to a much wider audience via standard tools. By using these capabilities, users can dramatically improve productivity by reducing the time and effort required to get the information they need to do their job efficiently.

Check out the wide range of dataTaker’s intelligent data loggers here.

For further information on the dataTaker DT80 datalogger, other models in the bestselling dataTaker family of data loggers, or to find the ideal solution for your application-specific needs, contact a CAS Data Logger Applications Specialist at (800) 956-4437 or visit the website at www.DataLoggerInc.com.

Contact Information:
CAS DataLoggers, Inc.
12628 Chillicothe Road
Chesterland, Ohio 44026
(440) 729-2570
(800) 956-4437
sales@dataloggerinc.com
http://www.dataloggerinc.com