:設(shè)計了一種基于單片機控制的數(shù)控恒流源。數(shù)控恒流源以AT89S52 為控制核心,采用了高共模抑制比低溫漂的運算放大器OP07 和達林頓管TIP122 構(gòu)成恒流源的主體,配以高精度12 bit D/ A 芯片MAX532 以及16 bit A/ D 芯片AD7715 完成單片機對輸出電流的實時監(jiān)測。
為了解決磁放大器性能測試過程中,需要對其供給不同數(shù)值恒定電流的問題,設(shè)計了一種基于DAC7512和單片機的數(shù)控恒流源系統(tǒng)。該系統(tǒng)采用AT89C51作為主控器件,將計算機發(fā)送的電流控制字命令轉(zhuǎn)換為D/A轉(zhuǎn)換器控制字,通過模擬SPI通信接口,寫D/A控制字到DAC7512,從而控制其輸出相應(yīng)數(shù)字電壓值,經(jīng)差動縮放電路、電壓/電路變換電路和功率驅(qū)動電路,最后輸出恒定電流。實驗結(jié)果表明,恒流源輸出電流調(diào)節(jié)范圍為-45~+45 mA、精度為±0.1 mA,分辨率達0.024 4 mA,具有應(yīng)用靈活,外圍電路簡單,可靠性高的特點。該數(shù)控直流恒流源也可為相關(guān)產(chǎn)品的測試系統(tǒng)研發(fā)提供參考。
Abstract:
In order to solve the need to supply different values constant current for the magnetic amplifier in testing process, numerical control constant current source system was designed based on DAC7512 chip and microcontroller technology. The system used the AT89C51 as the main chip, which can convert the current control word from computer into to D/A control words. And the system wrote D/A control word into the DAC7512 chip to control the output voltage value by the SPI communication interface, which can output corresponding constant current figures by scaling circuit, the V/I converter and power drive circuit. Experimental results show that the current source output current adjustment range is -45~+45mA, accuracy is ± 0.1mA, and resolution ratio is 0.024 4mA