TEDS is an acronym that stands for transducer electronic datasheet. It is an EEPROM device embedded in the sensor or sensor’s connector that contains information such as serial number, calibration dates, and other calibration factors. TEDS allows sensors to act in a truly “plug and play” fashion, eliminating some or all manual entry during setup and ensuring that the correct settings are applied.
A lot of manufacturers already offer a TEDS enabled sensor. In this case we simply connect the sensor. When the sensor is read in, we can see the serial number, settings of the amplifier, and sensitivity of the sensor. In the Edit sensor we see the additional information like manufacturer, sensor type. Since this is the off-the-shelf sensor, DewesoftX doesn’t offer us to write anything to the sensor. If we have to change something on standard sensors, we have to use the DeweTedsEditor. Using this tool we can also perform calibration of the standard sensors.
NOTE: If we have sensors in IEPE mode, we must choose IEPE mode before DewesoftX will search for the TEDS sensor.
TEDS detection has to be enabled to read TEDS sensors. Start DewesoftX, go to Settings, and activate the checkbox “Enable DSI adapters, TEDS sensors”.
How to connect the TEDS chip?
If our sensor doesn’t not have the TEDS chip built-in, we can easily create one. First we need to modify our sensor and add a TEDS chip. Usually this is done in the connector. In this example we use the DS24B33 chip from Maxim, which is also recommended because it is large enough to also store all the amplifier settings. In the picture below, we can see the connection for a SIRIUS STG module (with 9 pin DSUB).
IMPORTANT: Wrong polarity can destroy TEDS chip! And with the TO-92 chip casing, it is easy to turn the chip around, so be careful.
Working with TEDS in DewesoftX
When the empty TEDS chip is connected, there will be no reaction. But you can check if the TEDS chip is working by entering the Channel Setup. The button “Write to TEDS” and an additional tab “TEDS” will be visible.
To edit the TEDS open the Edit sensor tab in the channel setup where the TEDS sensor is connected. Click on the lock icon top right corner to enable editing. You can enter the sensor data (Serial number, Model, Manufacturer, Calibration data) and press the “Write to TEDS” button to save it to the TEDS chip.
NOTE: Dewesoft X doesn’t allow to write to TEDS if it was created by Manufacturer other than Dewesoft (we can use TEDS editor for that).
The major advantage of Dewesoft TEDS is, that apart from the sensor, also all the amplifier settings (like range, type of input, filter, EXC voltage…) are stored. Multiple templates can be written to a chip if one doesn’t satisfy the needs. Additional information can be saved to a sensor including passwords to prevent rewriting the sensors by users. If the option “Show advanced sensor settings” is checked, the user can enter the Advanced write options after clicking on the Save sensor button.
On the top of the Advanced write options, the window is the Lock all channel settings option, which you can disable in order to change desired locked settings. There are several options you can choose from, and a few are described below:
Allow user to define offset - normally TEDS sensor defines the fixed scale and offset, but if this checkbox is checked, the user can additionally set sensor offset (like for zeroing)
Write channel name to the sensor - will write the channel name to sensor stored in SensorDataBase and retrieve it when connected to the different physical channel (this is not written to TEDS)
Sensor max./min. limit - defines the absolute maximum and minimum (physical) value that the sensor can output. If it is set to INF, it will calculate it automatically from range and scaling. This will set the Min and Max values of the channel.
Sensor excitation min/max - defines the limit of excitation that the sensor can work from
Password for TEDS - Sensor can be also password protected.
When the TEDS sensor with password protection is connected to other channels, it will be read automatically, but when unlocking the sensor the user will need to enter the password.
Using Dewesoft TEDS Editor
TEDS editor is a complete tool for the management of TEDS chips. Even though we spent a lot of time developing it, it is completely free of charge. You don’t even need a Dewesoft instrument to use DeweTEDSEditor, it works with a low-cost OneWire Reader as well. You can find DeweTEDSEditor on our web page in the download section.
Before reading from the device, select the right channel number on which you have connected TEDS. After we Read from the device, the screen gets filled with information from the sensor.
The screen is divided into three sections:
- TEDS device,
- TEDS template.
1. Interface section
The left side is the Interface section and shows us the three Interfaces that Dewesoft allows to have - Dewesoft USB device, Amplifiers RS232, and OneWire reader. If we choose for example Dewesoft device in the Interface section, we also need to choose the right Channel number (ChNr.). To read the sensor data click on Read from the device. Below, we receive all the information of the amplifier or the interface: its name, serial number, calibration date, excitation, and more.
With a click on Erase TEDS, you delete all the data from the chip. Button Write to device uploads all the templates to the chip memory you have defined in the third section.
2. TEDS device section
TEDS device section shows us what device was found after we have pressed Read from the device. Below is the chip name (Alternative), size of the memory, and its serial number.
NOTE: It is important that every TEDS chip has unique serial number.
At the bottom is the chip data in binary format.
3. TEDS template section
At the top left part of the section, there is additional information about the sensor. We can see manufacturer, ID, model number, and serial number. Right of information there are buttons for working with templates. You can add, delete, export, or import templates.
In the bottom part of the section, there are templates that are written to the chip. You can scroll through them by clicking on their tabs.
NOTE: Calibration date and other information of TEDS can be only changed if it was created by Dewesoft or if somebody else made it with the Dewesoft tool (TEDS editor).
Under all three sections, there is an event shower. All events since the opening of the TEDS editor are listed there.
IMPORTANT: While using the TEDS editor, you really need to know what you are doing!.
Creating new TEDS sensor
To create a new TEDS sensor from scratch you need to connect it first. When connected, click on Read from device and a sensor without data will appear. First of all, you need to define the manufacturer, model number, and serial number. If field definition does match with your data, leave them empty and you can define them later.
Adding a new template is done by clicking Add new template button. All standard IEEE sensors are supported and any field can be later added to the template in the user editor. Additional templates can be added to the first one. One of the options are a standard calibration table, calibration curve, or frequency response curve. Also, the Dewesoft amplifier template to define all amplifier properties can be added (Input type, Range, LP, and HP filter, …).
Some of channel template properties:
- LP filter - defines which low pass filter will be chosen for the amplifier (the advanced option has also type and filter order),
- User coupling - defines which high pass filter will be used (either sensor is AC or DC coupled),
- Measurement - defines which measurement type amplifier is set to (voltage, bridge, potentiometer),
- User excitation - defines the nominal excitation voltage the amplifier is set to by default,
- Input type - defines either amplifier is set to a differential or single-ended mode,
- User range - defines the range that the amplifier must be set to,
- Range dual-core - defines if high-dynamic dual-core ADC technology is used (related only to Dewesoft amplifiers).
We can also add Dewesoft sensor properties by adding the option to have a longer sensor description, serial number, limits, polarity, and so on. Below are some sensor template properties:
- User manufacturer - this field overrides the manufacturer ID set in the standard template
- User model name - this field overrides the default model name (user can use alphanumeric characters of any length)
- User serial number - this field overrides the default serial number (user can use alphanumeric characters of any length)
- Physical measurand - defines which physical quantity sensor is measuring (according to SI unit system)
- User scale - defines the sensor scale according to Dewesoft standard (so SI unit conversion can be used) - unit of measurement must comply with Dewesoft SI unit scheme
- User Sensor Limits - defines the absolute minimum and maximum that the sensor can measure (will be used for display purposes)
- Additional bridge props - the properties for strain gage sensors not defined by the IEEE standard
- Sensor polarity - defines standard sensor polarity
- User Sensor offset changeable - if yes, the user can change the offset at a later time (when setting up the initial load, for example)
- User Sensor scale changeable - if yes, the user can assign an additional scale factor at a later time
- Calibration info - additional info from calibration
Once everything is defined, the data can be written to the chip using the Write to device button or save sensor configuration for future use by using the Save TEDS definition to file.
Dewesoft TEDS Library (TDL)
In the Dewesoft TEDS library, there is a description of how templates in the TEDS editor work. With the use of this file, people can learn how to read all the information written in Dewesoft’s templates. You can read all the data till the last bit, but no more than that. You can download the file from our web page.
What Parameters Can Be Stored in a TEDS Chip?
The TEDS standard defines multiple sections of information that can be stored on the chip. In addition, it defines numerous templates that are used for various types of sensors, and for containing calibration information.
The four basic types of TEDS information are:
- Basic TEDS (64 bits)
- Standard Templates (25 to 39, and 43 bits)
- Calibration Templates(40-42 bits)
- User TEDS
Let’s look at each one of these four types:
|Sensor Template ID||Bit Length||Allowable Range|
|Manufacturer ID||14||17 to 16,381|
|Model||15||0 to 32,767|
|Version Number||6||0 to 63|
|Serial||24||0 - 16,777,215|
Following this basic TEDS information is an ID reference to the appropriate standard sensor template, numbered from 25 to 39 (plus 43):
|Sensor Template ID||Type of Sensor / Transducer|
|25||Acceleration & Force Sensors (IEPE)|
|26||Charge amp with an accelerometer|
|27||Microphone with integrated preamp (usually IEPE)|
|28||Microphone preamp (can also specify an attached microphone)|
|30||High-level voltage output sensors (of all kinds)|
|31||Current loop (4-20 mA or 0-20 mA) sensors (of all kinds)|
|32||Resistance-based sensors (for potentiometric sensors use #39)|
|33||Bridge sensors (load, pressure, accel bridge linear output sensors)|
|34||AC Linear/Rotary Variable Differential Transformer (LVDT/RVDT) Sensors|
|35||Strain gage sensors (linear or not, gage factor, etc.)|
|36||Thermocouples (all standard types are supported)|
|37||Resistance Temperature Detector sensors (RTDs)|
|38||Thermistors (using the Steinhart-Hart equation)|
|39||Potentiometric sensors (resistive voltage dividers)|
|43||Charge Amplifier (with an attached force transducer)|
You may be wondering what these sensor templates look like, so let’s look at one of the smaller ones:
|Property||Description||Access||Bits||DataType and Range||Units|
|TEMPLATE||Template ID||8||Integer (value = 36)||-|
|%ElecSigType||Electrical signal type||ID||-||Assign=0, “Voltage Sensor||-|
|%MinPhysVal||Minimum Temperature||CAL||11||ConRes (-273 to 1,770, step 1)||°C|
|%MaxPhysVal||Maximum Temperature||CAL||11||ConRes (-273 to 1,770, step 1)||°C|
|%MinElecVal||Minimum Electrical Output||CAL||7||ConRes (-25E-3 to 0.1 step 1E-3)||V|
|%MaxElecVal||Maximum Electrical Output||CAL||7||ConRes (-25E-3 to 0.1 step 1E-3)||V|
|%MapMeth||Mapping Method||ID||-||Assign=3, “Thermocouple||-|
|%TCType||Thermocouple Type||ID||4||B, E, J, K, N, R, S, T, or non-std||-|
|%CJSource||Cold Junction Compensation Required||ID||1||CJC required or compensated||-|
|%SensorImped||Thermocouple resistance||ID||12||ConRelRes (1 to 319k, ±0.155%)||Ohms|
|%RespTime||Response Time||ID||6||ConRelRes (1E-6 to 7.9, ±15%)||seconds|
|%MeasID||Measurement Location ID||USR||11||UNINT||-|
Then we have an ID reference to one of three standard calibration templates, numbered from 40 to 42.
|Sensor Template ID||Calibration Template Name||Calibration Type|
|40||Calibration Table||Multiple data pairs define the output scaling of the sensor|
|41||Calibration Curve||A multi-segment, multi-polynomial calibration curve defines the output scaling of the sensor|
|42||Frequency Response Table||A set of amplitude-frequency data pairs defines the frequency response function of the sensor|
Then finally there is a user area, where additional information can be added by the user or the DAQ system. Dewesoft takes full advantage of these and also in its own TEDS-connected sensor database, as we will explain below.