Skip to content
Adaptive AgroTech NetworkUniversity of Southern Denmark · SDU Drone Center
Book2026
← Applied Automation in AgricultureChapter 30

Single-ended and differential measurements

InstructorDr. Redmond R. Shamshiri
AffiliationAssistant Professor of Robotics · University of Southern Denmark (SDU)
Study time35 minutes
Study companion. These editable notes, worked examples and exercises supplement the source material. They are not a verbatim video transcript or a reproduction of the book.

Study Single-ended and differential measurements. Use the accompanying model, numerical example and practical task to connect the topic to a measurable engineering result. Notes are original supplemental material, not a transcript.

Learning Objectives

  • Explain the role of analog scaling and engineering units in the engineering system.
  • Calculate the worked quantity with consistent units.
  • Design a measurement that can reveal an implementation failure.

Study guide

Original companion notes. These notes support the topic of this lesson. They are not a transcript or a claim about the exact contents, hardware settings or examples in the video.

Lesson focus: Single-ended and differential measurements

Define the input, measured output, units and pass/fail condition before running the experiment.

Analog scaling and engineering units

Raw register values acquire meaning only after conversion to physical units. Separate sensor range, electrical signal range and PLC integer range. Clamp invalid commands and expose out-of-range measurements rather than silently treating them as valid data.

Model, units and assumptions

\[y=y_{min}+\frac{x-x_{min}}{x_{max}-x_{min}}(y_{max}-y_{min})\]

x is the raw input; xmin and xmax are the documented electrical or digital endpoints. y is the engineering quantity. The mapping is affine and assumes a calibrated linear channel; a 4–20 mA loop has a nonzero lower endpoint.

Worked engineering example

A 4–20 mA transmitter represents 0–100 kPa. At 12 mA the pressure is 50 kPa. A 3 mA reading lies below the valid measurement interval and should produce a diagnostic instead of an ordinary negative pressure display.

Practical task and evidence

Apply the following procedure to the topic of this lesson: Single-ended and differential measurements.

  • Record channel configuration, scaling endpoints and units in the I/O map.
  • Inject low, midpoint and high signals with appropriate test equipment.
  • Test cable disconnection, out-of-range values and the displayed diagnostic.

Submit: a diagram or interface table, a short timestamped dataset, the calculation with units, and a paragraph explaining the largest observed limitation.

Check your understanding

Question. An ADC range 0–4095 represents 0–10 V. What voltage corresponds to code 2048?

Show worked answer

Approximately 5.001 V before calibration and quantization uncertainty.

Extension. Change one assumption in the model and explain which measurement would reveal that it no longer holds.

Summary

Analog scaling and engineering units: keep units, assumptions and timing explicit. Check the numerical model against an independent observation before using it in a larger system.

Suggested Reading & Resources

  • Reading
    Book source: Applied Automation in Agriculture

    Primary documentation or original technical reference; check the version used in your lab.

    Open ↗
  • Reading
    CODESYS Structured Text reference

    Primary documentation or original technical reference; check the version used in your lab.

    Open ↗