Sensor editor

Dewesoft offers sensor database which holds the list and the properties of all sensors which will be used. The sensor characteristics can be entered manually or imported.

Dewesoft X offers a sensor database which holds the list and the properties of all sensors which will be used. In addition to the linear scaling, which can also be done in the input channel setup, the sensor database also offers scaling by table or by polynomial and even transfer curves can be defined.

To enter the sensor editor go to Settings -> Sensor editor.

The sensor database can be created and adapted according to your requirements (used measurement hardware). The sensor (database) editor offers several functions for creation, editing and managing sensors:

  • Add sensor (creates a new sensor in the sensor database)
  • Remove sensor (removes the sensor from the sensor database)
  • Import (import existing *.xml or *.dxd sensor databases)
  • Save (store the sensor database to file)
  • Exit (close the sensor database editor)

Each sensor is defined with the information in the database:

  • Sensor type, serial number, calibration date, calibration period
  • General sensor information
  • Scaling type (linear, polynomial, table)
  • Transfer curve (used for sensor correction)

After you enter the Sensor editor (Settings - Sensor editor) a list of all available sensors will open. Any already defined (and pre-defined) sensors and connected TEDS sensors will be listed automatically.

In the table of sensors the following columns are available:

  • Sensor type - the sensor type should contain the name or type of the sensor but can contain any text desired
  • Serial number - the serial number has to be unique! It is not allowed to use the same serial number because this information is used for sensor identification.
  • Scale type - the sensors editor differs between linear, polynomial and table scaling
  • Transfer curve - can be used for sensors with phase characteristics like current clamps, geophones, ...
  • Recalibration data - enter the date when the sensor has to be recalibrated. When the date expires, the Recal. date will change to red color.

To edit a sensor, simply click on the desired field of the table.

At the bottom of the sensor database editor there are additional information of the selected sensor:

  • Scaling - contains the scaling information of the selected sensor
  • Transfer curve - is only available if the transfer curve is enabled

The general information about the sensor:

  • Physical (input) unit - the physical unit of the sensor, e.g.V, A, °C, mm, psi, %,...
  • Electrical (output) unit - the electrical output unit of the sensor, most times V or A
  • Channel name - use this field to pre-define the channel name for the setup
  • Channel description - additional information about the sensor, helps to select the right sensor in the input setup

Dewesoft X supports different scaling types within the sensor database. When we select Scaling type field, the scaling type selection list appears in this field and the Scaling tab is selected automatically. After selecting desired scaling types from the selection list in Scaling tab, scaling information appers automatically.

Dewesoft X supports three different scaling types within the sensor database.


Linear scaling is used for linear sensors. It is calculated by the formula:

  • y = physical value
  • k = scale
  • x = measured value
  • d = offset

The Scale and Offset factors are defined manually in the columns:


Polynomial scaling is used for nonlinear sensors, calculated by equation:

Example: Polynom scaling (a0 + a1*x + ... +an*xnenter the n number and the coefficients in the Coef. column (coefficient a0 defines the offset).


Table scaling is also used for nonlinear sensors, but it is normally easier to enter because most calibration information contains several calibration points.

Enter the number of points (rows of the table) and in the table below, enter the X and Y values.

NOTE: As these three scaling types can't compensate phase errors, they are used for time domain or angle based acquisitions. For frequency domain applications a transfer curve will deliver more accurate results.

The transfer curve calibration can be used when the frequency behaviour of the sensor is known:

  • transfer curves for most common sensors are already measured,
  • copy it from the calibration sheet of the sensor (if the calibration sheet includes the transfer curve),
  • the third option is to measure it with Dewesoft X FRF modal test, but this requires some additional equipment.

Some companies offer calibration reports for sensors also in the frequency domain, for example for current clamps. The transfer curve compensates amplitude and phase, both in relation to the signal frequency. In the table under Transfer curve  column we need to enter the points of the curve.

We can enter the sensors transfer curve in two ways:

  • Manually enter the number of points (rows of the table) and in the numbers below the columns Freq[Hz] (signal frequency), Ampl[dB] (amplitude deviation) and Phase[deg] (phase angle).
  • Using the Windows copy and paste the values from a table created in external program (e.g. Excel, ...).

NOTE: Please keep in mind that the transfer curve is only helpful in frequency domain application (FFT, harmonics, octave analysis, ...). You will not see the effect of sensors transfer curve in the time domain data - for that it is best to use a filter with similar charachteristics like the transfer curve.

Save the sensors with the Save button and close the sensor editor with Exit button.

Add sensor

If you want to add new sensors, press the Add sensor button and new row - sensor is added to the table:

Remove sensor

To remove a sensor just click on it - the whole line in the table will receive a grey background - and press the Remove sensor button.

Warning: Removing a sensor will remove a sensor without a warning. It is not possible to restore deleted sensors.

Import sensor database

Import the existing sensor database. The supported formats are standard XML files (*.dxb, *.xml) and Custom XML files (*.e2x).

Save file

To save all changes in the sensors database just click on the Save file icon.

The data will be stored immediately in a XML styled file called AnalogSensors.dxb (the file AnalogSensors.dxb can be found in the Dewesoft X installation folder).

Warning: Do not change anything directly in the XML file, this may cause errors and unusable files!

Exit sensor database editor

To exit the sensors database editor simply press the Exit button. If you have not already stored changes, you will be asked if you want to store changes or leave without changes.

Warning: If you leave the sensor editor without storing changes, data will be lost!

Dewesoft X offers counter sensor database which holds the list and the properties of the counter sensors which can be used in order tracking, combustion analysis and angle sensor math. We can define encoders, geartooth and other angle sensors.

The Counter sensor editor can be accessed under Settings - Counter sensor editor.

When we enter the editor, the following window appears where we define the counter sensors:

Several predefined sensors are alredy in the editor list; these sensors are installed with Dewesoft X. We can always add new ones, modify existing ones or delete the sensors. On the upper right side of the Counter sensor editor, the window common command icons appear:

Rename sensor - rename the default or pre-defined sensor.

Add sensor - button will add new sensor. The sensor will be named 'New sensor', but we can rename it.

Remove sensor - button will remove currently selected sensor.

Save and exit - button will save the counter sensor database and close the editor.

Exit - button will leave the editor without saving the data, so please be sure to use Save & Exit if you make any changes to the sensors or confirm you want to save the changes when you exit the editor.

In the counter sensor editor window we can choose any sensor from the current sensor drop down list for viewing and editing.

Settings and entered values for Counter sensor are divided into following sections:

  • Sensor type
  • Signal level
  • Encoder setup or Geartooth setup (depend on selected sensor type)

There are several basic sensor types available which can be selected from the Sensor type drop down list :

  • Encoder - classic angle encoder with A, B and Z signals. The signal can be only digital.
  • Tacho - sensor with one pulse per revolution. The signal can be either analog or digital.
  • Geartooth, CDM - sensor with defined number of pulses per revolution, but without any zero pulse.
  • Geartooth with zero, CDM + TRG - sensor with defined number of pulses per revolution with zero pulse.
  • Geartooth with missing teeth - a classic in-vehicle sensor with any number of pulses where one teeth is missing for zero pulse recognition. A typical example is 36+1 sensor.
  • Geartooth with double teeth - a in-vehicle sensor with any number of pulses per revolution with some double teeth missing. A typical example is the geartooth with 60 teeth where two of them are missing, so in fact there are 58 teeth and there is a gap for two teeth.
  • Linear encoder - sensor measuring displacement with any number of pulses per milimeter and pulses per revolution.
  • Linear pulses sensor - a linear sensor, measuring displacement with any number of pulses per milimeter.
  • Tape sensor - an angle sensor with white tape and black stripes attached to the rotating disc.

There are several signal level settings. From the drop-down list it can be selected:

Signal type

Encoder and geartooth signal type can be only defined as digital (TTL level) and therefore used with counters while all other sensors can be also analog, which means that we need to define the trigger level.

Signal filter

Signal filter is a debounce filter, used to prevent glitches in the signal. A signal must be present for the defined amount of time before the logis accepts it as a valid signal. This also inserts a delay for the signals!

Signal edge

Signal edge can be either positive or negative.

To prepare the encoder for the measurement, we have to define:

  • Number of pulses per revolution - Standard values are multiples of 2 (256, 512,1024). These sensors are mainly used for external clocking so that we can have the frequency spectrum as a direct multiple of number of revolutions to easily see the harmonic components. Another standard values are related to degrees (360, 720, 1800, 3600) where the reason is a nice angle resolution.
  • Default encoder modes - Exact description of encoder modes can be found in the Counters PRO training course.

Powered by Froala Editor

Geartooth sensor settings

For these sensors we need to define the number of pulses per revolution (number of teeth).

Geartooth with zero sensor settings

For these sensors we need to define the number of pulses per revolution (number of teeth) and the direction of the zero pulse edge.

Geartooth with missing teeth sensor settings

For these sensors we define the number of teeth (#Teeth) and the gap lengths (#Gap). For the number of teeth we need to enter the number of teeth which exists. The example in picture below shows the settings for 60-2 sensor. If the gap would not be there, there would be 60 teeth, but two of them are missing to create a gap, so there are only 58 teeth existing.

If we would like to enter the 60-2-2 sensor, we need to enter 28-2-28-2, so the whole sum of the numbers must always be total number of teeth.

Geartooth with double teeth sensor settings

For these sensors we define the number of teeth and the number of double teeth. The example below shows the settings for 36+1, a geartooth with 36 teeth and one double tooth.

This website uses cookies to ensure you get the best experience on our website. Learn more