A digital to analog converter includes first and second capacitors, an
operational amplifier and a switching circuit. The operational amplifier
includes first and second input terminals and an output terminal, the
second input terminal receiving a reference voltage. The switching
circuit includes multiple switches which switch in response to
corresponding switching signals. The switching circuit connects the
second capacitor between the output terminal and the first input terminal
of the operational amplifier, while respectively sending first and second
voltages to first and second terminals of the first capacitor during a
first period. The switching circuit also connects the first capacitor
between the output terminal and the first input terminal of the
operational amplifier, while respectively sending third and fourth
voltages to first and second terminals of the second capacitor during a
second period consecutively following the first period.