示波器校準儀本控程序設計
發(fā)布時間:2019-04-09 19:55
【摘要】:示波器校準儀是一種可產(chǎn)生精密的正弦(穩(wěn)幅、雙通道)信號、方波(直流、電壓)信號、時標(三角波、子刻度方波/正弦波)和快沿信號等,可校準多種模擬和數(shù)字示波器,具有通用性、程控性、先進性和準確度的信號源儀器。隨著電子測試計量技術的發(fā)展,示波器的規(guī)范性、高效性得到了飛速的發(fā)展,同時示波器自身誤差會對被測信號產(chǎn)生影響,導致嚴重的產(chǎn)品質量問題,因此對能夠提供標準信號的示波器校準儀的需求越來越高,同時對豐富測試計量儀器系統(tǒng)起著重要的推動作用。本論文基于對示波器功能檢定需求分析和良好用戶體驗角度分析出發(fā),通過分層系統(tǒng)架構設計和面向對象模塊化編程,設計了示波器校準儀本控程序,使其具有便捷性、可擴展性、應用性強等特點。儀器可提供標準(電壓/直流)方波、(穩(wěn)幅、雙通道)正弦波、快沿脈沖、時標信號和輔助特殊校準功能等多樣化標準信號,能完成對多種模擬、數(shù)字示波器的水平/垂直偏轉系統(tǒng)誤差、頻率特性(平坦度、帶寬)測量等多達15項的檢定項目測量,最大限度地滿足不同校準條件下使用。此外,本控程序中的儀器驅動部分,完成了儀器參數(shù)配置、SCPI命令解析、校準報表打印接口功能,為滿足儀器集成測試系統(tǒng)可程控化、示波器自動校準系統(tǒng)、校準儀自動計量檢定系統(tǒng)的開發(fā)墊定技術基礎。主要內(nèi)容如下:1、示波器校準理論和檢定功能需求的研究分析,良好的面向對象的軟件架構,基于PC平臺的Qt豐富的圖形庫,開發(fā)人機交互界面,滿足示波器校準儀多功能切換操作便捷、用戶體驗好、軟件穩(wěn)定性好、系統(tǒng)擴展性功能強等特點;2、基于PCI總線,開發(fā)儀器驅動模塊,滿足儀器參數(shù)配置、數(shù)據(jù)處理、波形數(shù)據(jù)測試實時響應、處理數(shù)據(jù)等;此外,基于LabWindows CVI提供的豐富儀器函數(shù)庫,開發(fā)支持GPIB總線的儀器驅動,通過SCPI命令解析模塊和校準報表打印模塊,供上位機本控程序調(diào)用,滿足儀器集成測試系統(tǒng),以及儀器相關配套自動測試系統(tǒng)(校準儀自校準、示波器自校準)軟件的二次開發(fā)使用;3、根據(jù)軟件測試理論,完成示波器校準儀功能交互測試、單元模塊測試、系統(tǒng)集成測試,檢驗示波器校準儀軟件的操作便捷性、容錯健壯性、良好的可擴展性等功能,并在此基礎上對軟件提出優(yōu)化方案,提高測試效率和校準精度,增強儀器的市場應用前景,實現(xiàn)產(chǎn)品化。
[Abstract]:Oscilloscope calibrator is a kind of precise sine (stable amplitude, double channel) signal, square wave (DC, voltage) signal, time scale (triangle wave, sub-scale square wave / sine wave) and fast edge signal, etc. Calibration of a variety of analog and digital oscilloscopes, universal, programmable, advanced and accurate signal source instruments. With the development of electronic measurement technology, the standardization and efficiency of oscilloscope have been developed rapidly. At the same time, the errors of oscilloscope will affect the measured signal and lead to serious product quality problems. Therefore, the demand for oscilloscope calibrator which can provide standard signal is higher and higher, at the same time, it plays an important role in enriching measuring and measuring instrument system. Based on the demand analysis of oscilloscope function verification and the analysis of good user experience, this paper designs the oscilloscope calibrator control program through hierarchical system architecture design and object-oriented modular programming to make it convenient. Scalability, strong application and other characteristics. The instrument can provide a variety of standard signals such as standard (voltage / DC) square wave, (stable amplitude, double channel) sine wave, fast edge pulse, time scale signal and auxiliary special calibration function. The system error of horizontal / vertical deflection of digital oscilloscope, the measurement of frequency characteristic (flatness, bandwidth) and so on, are up to 15 items, which can be used in different calibration conditions to the maximum extent. In addition, the instrument driver part of this control program has completed the function of instrument parameter configuration, SCPI command analysis, calibration report print interface function, in order to satisfy the instrument integrated test system programmable control, oscilloscope automatic calibration system, The development of calibrator automatic measurement and verification system is the basis of the technology. The main contents are as follows: 1. Research and analysis of oscilloscope calibration theory and verification function requirements, good object-oriented software architecture, rich graphics library of Qt based on PC platform, development of man-machine interface, Meet the oscilloscope calibrator multi-function switching operation is convenient, the user experience is good, the software stability is good, the system expansion function is strong and so on. 2, based on PCI bus, the instrument driver module is developed, which can satisfy the configuration of instrument parameters, data processing, real-time response of waveform data testing, processing of data and so on. In addition, based on the rich instrument function library provided by LabWindows CVI, the instrument driver supporting GPIB bus is developed. Through the SCPI command analysis module and the calibration report printing module, it can be used by the host computer to call the local control program to meet the requirements of the instrument integrated test system. And the second development and use of the software of automatic testing system (calibrator self-calibration, oscilloscope self-calibration). 3According to the software testing theory, the functions of oscilloscope calibrator such as interactive testing, unit module testing, system integration testing, checking the operation convenience, fault tolerance robustness and good expansibility of oscilloscope calibrator software are completed. On this basis, the optimization scheme of the software is put forward to improve the test efficiency and calibration precision, enhance the market application prospect of the instrument, and realize the production.
【學位授予單位】:電子科技大學
【學位級別】:碩士
【學位授予年份】:2014
【分類號】:TM935.3
本文編號:2455489
[Abstract]:Oscilloscope calibrator is a kind of precise sine (stable amplitude, double channel) signal, square wave (DC, voltage) signal, time scale (triangle wave, sub-scale square wave / sine wave) and fast edge signal, etc. Calibration of a variety of analog and digital oscilloscopes, universal, programmable, advanced and accurate signal source instruments. With the development of electronic measurement technology, the standardization and efficiency of oscilloscope have been developed rapidly. At the same time, the errors of oscilloscope will affect the measured signal and lead to serious product quality problems. Therefore, the demand for oscilloscope calibrator which can provide standard signal is higher and higher, at the same time, it plays an important role in enriching measuring and measuring instrument system. Based on the demand analysis of oscilloscope function verification and the analysis of good user experience, this paper designs the oscilloscope calibrator control program through hierarchical system architecture design and object-oriented modular programming to make it convenient. Scalability, strong application and other characteristics. The instrument can provide a variety of standard signals such as standard (voltage / DC) square wave, (stable amplitude, double channel) sine wave, fast edge pulse, time scale signal and auxiliary special calibration function. The system error of horizontal / vertical deflection of digital oscilloscope, the measurement of frequency characteristic (flatness, bandwidth) and so on, are up to 15 items, which can be used in different calibration conditions to the maximum extent. In addition, the instrument driver part of this control program has completed the function of instrument parameter configuration, SCPI command analysis, calibration report print interface function, in order to satisfy the instrument integrated test system programmable control, oscilloscope automatic calibration system, The development of calibrator automatic measurement and verification system is the basis of the technology. The main contents are as follows: 1. Research and analysis of oscilloscope calibration theory and verification function requirements, good object-oriented software architecture, rich graphics library of Qt based on PC platform, development of man-machine interface, Meet the oscilloscope calibrator multi-function switching operation is convenient, the user experience is good, the software stability is good, the system expansion function is strong and so on. 2, based on PCI bus, the instrument driver module is developed, which can satisfy the configuration of instrument parameters, data processing, real-time response of waveform data testing, processing of data and so on. In addition, based on the rich instrument function library provided by LabWindows CVI, the instrument driver supporting GPIB bus is developed. Through the SCPI command analysis module and the calibration report printing module, it can be used by the host computer to call the local control program to meet the requirements of the instrument integrated test system. And the second development and use of the software of automatic testing system (calibrator self-calibration, oscilloscope self-calibration). 3According to the software testing theory, the functions of oscilloscope calibrator such as interactive testing, unit module testing, system integration testing, checking the operation convenience, fault tolerance robustness and good expansibility of oscilloscope calibrator software are completed. On this basis, the optimization scheme of the software is put forward to improve the test efficiency and calibration precision, enhance the market application prospect of the instrument, and realize the production.
【學位授予單位】:電子科技大學
【學位級別】:碩士
【學位授予年份】:2014
【分類號】:TM935.3
【參考文獻】
相關期刊論文 前3條
1 陳衷;潘光斌;;數(shù)字示波器網(wǎng)絡化校準測試技術研究[J];國防技術基礎;2007年02期
2 梁志國;孟曉風;;數(shù)字存儲示波器的校準思想及技術述評[J];測控技術;2007年06期
3 陳穎麗;劉繁明;王建敏;;LabWindows/CVI中基于ActiveX技術的Excel訪問[J];測控技術;2008年06期
,本文編號:2455489
本文鏈接:http://sikaile.net/kejilunwen/dianlilw/2455489.html
教材專著