Patent ID: 8063804

Claim:
A switching unit for generating an output voltage as a function of a digital data value, comprising: a first digital-to-analog converter providing an analog voltage signal which depends on the digital data value; a first controllable voltage source generating a calibration voltage as a function of a control value; an amplification unit configured to generate the output voltage, wherein a value of the output voltage depends on the analog voltage signal and the calibration voltage; a second controllable voltage source generating a reference voltage as a function of a digital control value, the second controllable voltage source being a second digital-to-analog converter, wherein the first digital-to-analog converter scales an amplitude of the analog voltage signal as a function of the reference voltage, and wherein the digital control value is determined for the second controllable voltage source such that, with a predefined maximum digital data value, a sum of a difference between an actual value of the output voltage and a target value of the output voltage is smaller than a predetermined value.