Digital-to-analog conversion (DAC)
Study Digital-to-analog conversion (DAC). 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: Digital-to-analog conversion (DAC)
Retain original data and timestamps so later filtering or threshold changes can be evaluated fairly.
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
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: Digital-to-analog conversion (DAC).
- 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.