【正文】
linearity. The DAC has an output settling time of 300 nanoseconds.The DAC contains binaryweighted, currentsteering switches which scale an input current by the applied binary code. The input current is derived from an precision voltage reference and a series resistor. The scaled current output is converted to a voltage by an LF355B operational amplifier wired as a currenttovoltage (I/V) converter. The LF355B op amp was selected for the I/V converter because of its low input offset voltage and high output slew rate. The voltage output of the I/V converter is fed into the AT89CX051 parator, where it is pared to the unknown voltage. When the programmed voltage exceeds the unknown voltage the output of the parator goes high, which is detected by software. A second op amp, wired as a noninverting, unity gain buffer may be inserted between the unknown voltage source and the input to the AT89CX051 parator to provide isolation.The reference provides a nominal output (Vref). The actual voltage may vary from to . The reference voltage and temperature coefficient may be trimmed using the method indicated in the data sheet. The nominal value of the current reference resistor (Rref) connected to pin 14 of the DAC is 1240 Ohms, yielding a reference current (Iref) of V / 1240 Ohms (Vref/Rref) = milliamps. The eightbit binary code applied to the DAC scales Iref by from 0/256 to 255/256, resulting in a current output (Io) of from zero (Iref?0/256) to milliamps (Iref ?255/256) full scale. Note that the sign of the DAC output current is opposite the sign of the reference (input) current. The output voltage is determined by multiplying the DAC output current (Io) by the value of the I/V converter gain resistor (Ro). Nominal full scale output voltage is mA?2500 Ohms (Io .?Ro) = .The circuit does not provide adjustments for offset or gain. Offset voltage adjustments should not be required, due to the low offset voltage specification of the LF355B op amp. If the offset voltage must be adjusted, add the offset trim circuit shown in the LF355B data sheet. The gain may be changed by changing the value of the I/V converter gain resistor (Ro).The resistor connected to the noninverting input of the op amp should be of the same value as the gain resistor for input bias current balancing. The 1240 Ohm resistor connected to pin 15 of the DAC and the 2500 Ohm resistor connected to pin three of the op amp may be eliminated with only a slight decrease in performance.The MC14088 DAC requires power supplies of + and to 15volts。 177。 supplies were selected to minimize power consumption. The LF355B op amp requires bipolar supplies between 177。 and 177。15volts. was selected for the negative rail for patibility with the DAC, but may be replaced with 15volts, if desired. The positive supply was chosen to be +15volts to allow the limited output swing of the op amp to reach the five Volt upper input limit of the parator.The speed of the AtoD conversion is limited by the DAC output settling time, the slew rate and settling time of the op amp, the response time and slew rate of the parator and the time required to execute the successive approximation algorithm. The DAC output settling time and theparator response time are negligible pared to op amp delays and the time required to execute the SA algorithm, and so may be ignored. The maximum voltage step input to the op amp is five volts, which requires one microsecond to slew and four microseconds to settle (see the LF355B data sheet). This delay is acmodated in the software。 consult the listing for additional information. With a 12 MHz processor clock and the resulting one microsecond instruction cycle, an eightbit conversion can be performed in under 300 microseconds. The unknown input voltage must be held constant for the duration of the conversion.Obvious disadvantages to the successive approximation analogtodigital converter presented here are the need for bipolar power supplies and the large number of microcontroller I/O pins required to control the DAC. The +15volt supply could be eliminated by replacing the LF355B op amp with a single supply, 5volt, functional equivalent with outputs that swing railtorail. The number of microcontroller I/O pins required to control the DAC could be reduced somewhat by substituting a seven or six bit DAC. The parallel input DAC could be replaced with a (more expensive) serial input DAC. Alternately, logic could be added to accept serial data from the microcontroller and present parallel data to the DAC.The software for this application may be obtained by downloading from Atmel’s BBS: (408) 4364309. Consult the ment block at the beginning of the source code file for detailed information on features and oper功能特性概述:指導(dǎo)教師意見(jiàn)該生接受“數(shù)顯式脈搏計(jì)的設(shè)計(jì)”課題以來(lái),積極查閱并認(rèn)真學(xué)習(xí)資料,對(duì)設(shè)計(jì)要求有較為清晰地理解,對(duì)系統(tǒng)各部分的組成已有初步的設(shè)計(jì)方案。允許開(kāi)題。 簽名: 月 日教研室意見(jiàn) 教研室主任(簽章): 月 日評(píng)審小組意見(jiàn) 參加評(píng)審人員(簽字): 月 日指導(dǎo)教師意見(jiàn) 簽名: 月 日教研室意見(jiàn) 教研室主任(簽章): 月 日評(píng)審小組意見(jiàn) 參加評(píng)審人員(簽字)