Matthew Bros bitumen spray truck uses dataTaker data logger system |
The data logging system is based on a dataTaker DT50 data logger, a small low power data logger that has 5 analog channels, 5 digital state channels, and 3 digital counter channels. The data is stored in a removable memory card that is inserted into the logger. Two 4 MB memory cards were supplied with the system. The data stored on the memory cards is downloaded to a computer for analysis and archiving using a dataTaker MCI-04 Memory Card Interface, which is also supplied with the system. The logger is installed in the truck cabin in a protective enclosure. All power and signal wires are routed into the enclosure in protective conduits. The data logger is specifically programmed for the task, and the program is stored in non-volatile flash memory in the logger. When the logger is powered up, the program executes automatically – the logger never needs to be programmed unless program changes are required. If the program needs to be changed, then the complete new program must be ‘burned’ into the flash memory - the existing program cannot be edited in-situ. Programs are burned into and erased from flash memory using the DeLoad™ utility that is provided on the Resources CD supplied with the logger. Refer to the DeLoad Manual for details of the procedures. The dataTaker data logger does not require direct operation by the driver – the data logging process is initiated by the same switch that the driver uses to begin spraying, and is stopped by the same switch that the driver uses to stop spraying. Powering the Data Logger The data logger is powered directly from the truck 24VDC battery. The data logger is permanently powered, however if loss of power does occur the program is protected in the non-volatile flash memory, and any stored data is protected in the non-volatile memory cards. Power is connected to the logger via the Power AC/DC ~ and ~ terminals on the top of the logger. The polarity does not matter.
The data logger has a 0.5 Amp Hour internal battery, which will power the logger approximately 4 hours if actively collecting data, and for weeks if inactive. Sensors The sensors that are installed around the truck and are connected to the data logger are as follows:
Controlling Data Logging The logging of data from the sensors is controlled by the SPRAY ON and SPRAY OFF push buttons on the driver’s panel beside the steering wheel. This provides a voltage free contact closure input to the data logger, which is normally closed. Pressing the SPRAY ON button activates the data logging relay and opens the contacts. Pressing the SPRAY OFF button de-activates the data logging relay and closes the contacts. The voltage free contact closure is input to digital channel 1 of the data logger as follows:
The digital inputs of the dataTaker DT50 would seem to be the reverse of what would be expected. When the relay contacts are open an internal pull-up resistor forces the channel to +5VDC and the logger reads the channel as logic 1. When the relay contacts are closed the channel is forced to ground and the logger reads the channel as logic 0. Internal Counters Two internal software counters are used as follows:
Real Time Clock The data logger has a real-time clock calendar that will run for approx 5 years on an internal lithium battery. The real-time clock calendar is used to date stamp and timestamp each record of data, and to clock the repetitive collection of data. At installation the real time clock was set to Daylight Saving Time for Melbourne. To change the time and /or date of the real-time clock, a computer running DeTransfer™ or DeLogger™ 4 must be connected to the RS232 port, and the clock set by command. Using DeTransfer™, the real time clock is set by the commands
Which sets the data logger clock to the same setting as the computer clock. Using DeLogger™, the real time clock is set by pulling down the dataTaker item on the main menu bar, and selecting Set Date/Time as follows:
This also sets the data logger clock to the same setting as the computer clock. The Data Logger Program The data logger program is listed below for reference. Follow the comments and refer to the DT50 Users Manual to understand how the program works.
The program is stored in non-volatile flash memory in the data logger. When the logger is powered up, the program executes automatically – the logger never needs to be programmed unless program changes are required. If the program needs to be changed, then the complete new program must be ‘burned’ into the flash memory - the existing program cannot be edited in situ. Programs are burned into and erased from flash memory using the DeLoad utility that is provided on the Resources CD supplied with the logger. Refer to the DeLoad Manual for details of the procedures. The Memory Cards The memory cards are plugged into the Memory Card socket on the top of the logger. The cards are plugged in with the label outwards. The 4 MB cards can store approximately 1.4 million data values. During a run the data logger stores 6 data values per second to the memory card. Therefore the card can store data from approximately 230,000 seconds, or 770 runs of 5 minutes duration. The memory card can be removed from the logger at any time, even during a run if necessary. If the logger needs to store data while there is no memory card in the socket, then the data is stored into internal memory and will be automatically written to a memory card when one is next plugged in. When the data has been downloaded from the memory card (see below), the memory card MUST be cleared of data before plugging back into the data logger. The internal memory can store approximately 166,000 data values, and so can store data from approximately 27,000 seconds, or 92 runs of 5 minutes duration. Several days of data can be logged into internal memory if a memory card is unavailable, and can be collected simply by plugging a blank memory card in at a later time. Downloading Data into a Computer Data is downloaded from the memory cards into a computer using the MCI-04 Memory Card Interface supplied. The procedure is as follows:
The Data File The CSV data file produced by downloading the data from a memory card has the following format for each run:
The CSV data files can be opened directly in Microsoft Excel. Viewing Data in Real Time Data can be viewed in real time during spray runs if desired, by connecting a computer running DeTransfer (supplied on the Resources CD supplied with the data logger) to the data logger’s RS232 Comms connector. Viewing data in this way does not disrupt saving the data to the memory card as well. |