Abstract:
A digital to analog converter and a method for controlling a current source array in a digital to analog converter relate to the field of electronics technologies, and are used to reduce a system error. The digital to analog converter includes: a decoding module, a switch array, and a current source array, where the decoding module is configured to generate a 2n−1-bit first temperature code by using high n bits of an input 2n-bit binary digital signal, generate a 2n−1-bit second temperature code by using low n bits of the 2n-bit binary digital signal, and control, by using the 2n−1-bit first temperature code and the 2n−1-bit second temperature code, a working sequence of 2n×2n−1 unit switches.