利用單片機(jī)具有的智能程序控制的特點(diǎn),設(shè)計(jì)了基于STC89C52單片機(jī)的"二極管特性測(cè)試器",可對(duì)二極管一般特性進(jìn)行快速測(cè)試。通過(guò)穩(wěn)定線性電流源給二極管加載恒定電流,然后由高精度模數(shù)轉(zhuǎn)換器測(cè)試其壓降,以此為基礎(chǔ)可判斷二極管好壞、檢測(cè)二極管極性和測(cè)試二極管伏安特性等,避免了用萬(wàn)用表測(cè)試只能測(cè)得極性而不知其特性這一缺點(diǎn)。可用于電子設(shè)計(jì)制作過(guò)程中對(duì)二極管進(jìn)行快速測(cè)試,以確定被測(cè)二極管是否滿足電路的設(shè)計(jì)要求。
Abstract:
By making good use of the intelligent control function of the Micro Controller Unit (MCU), the diode trait tester was designed based on the STC89C52,which could be used to test the trait of a diode rapidly. By loading constant current to diode through the stable linear current source, and measuring the voltage drop of the diode by high-precision analogue-to-digital converter (ADC), it can judge whether the diode is good or not, distinguish the polarity of the diode, and test the trait that the diode, which can avoid the fault of using a multimeter can only measure the polarity but not the trait. This device can be used to test the trait of a diode quickly,and to make sure that whether a diode can be used in the electronic design or not.
為解決我國(guó)水位監(jiān)測(cè)野外條件下長(zhǎng)期無(wú)人看守的問(wèn)題,研制開(kāi)發(fā)了基于MSP430單片機(jī)的智能水位計(jì)。從其組成到各功能分別進(jìn)行了詳細(xì)的介紹,該智能水位計(jì)不僅實(shí)現(xiàn)了水位數(shù)據(jù)的實(shí)時(shí)監(jiān)測(cè)、記錄和定期采集等多種工作模式,而且提高了水位監(jiān)測(cè)精度,實(shí)現(xiàn)了水位監(jiān)測(cè)的智能化。
Abstract:
In order to solve the problems of long-term unmanned observation in the field water monitoring,an intelligence water-level meter based on MSP430 is developed composition and every function moduce of the water level meter was introduced in detail. It not only realizes water level data collection and storage, regularly gathering and so on, but also improves the water-level precision , finally realizes the intelligence.
The MAX9257/MAX9258 programmable serializer/deserializer (SerDes) devices transfer both video data and control signals over the same twisted-pair cable. However, control data can only be transmitted during the vertical blank time, which is indicated by the control-channel-enabled output (CCEN) signal. The electronic control unit (ECU) firmware designer needs to know how quickly to respond to the CCEN signal before it times out and how to calculate this duration. This application note describes how to calculate the duration of the CCEN for the MAX9257/MAX9258 SerDes chipset. The calculation is based on STO timeout, clock frequency, and UART bit timing. The CCEN duration is programmable and can be closed if not in use.
針對(duì)科研實(shí)驗(yàn)中對(duì)拉壓千斤頂加載過(guò)程控制的需要,采用ATmega128單片機(jī)控制步進(jìn)電機(jī)進(jìn)而實(shí)現(xiàn)對(duì)執(zhí)行系統(tǒng)的電動(dòng)泵站實(shí)行自動(dòng)控制。對(duì)力和位移的數(shù)據(jù)采集與處理及用步進(jìn)電機(jī)控制電動(dòng)泵站手柄的技術(shù)細(xì)節(jié)作了重點(diǎn)描述。通過(guò)單片機(jī)的A/D變換器對(duì)AMP放大模塊采集的電橋信號(hào)作量化處理,千斤頂?shù)牟倏厥直恢靡离妱?dòng)油泵閥門開(kāi)啟的方向和大小作若干定位,單片機(jī)根據(jù)力或位移傳感器信號(hào),實(shí)時(shí)控制步進(jìn)電機(jī)驅(qū)動(dòng)手柄旋轉(zhuǎn)到相應(yīng)操控位置。
Abstract:
This article describes the use of ATmega128 AVR microcontroller series of DBS electric pumping stations and QF100/200 separate twoway hydraulic jack to automate the process of manipulating the work of the technical content. Articles on force and displacement data acquisition and processing, and stepper motor control electric pump with the handle of the key technical details were described. Through the MCU’s A / D converter module is collected on the AMP amplification quantify the signal bridge, jack handle position control valve opening according to the direction of electric pumps for a number of positioning and size of the microcontroller based on force or displacement sensor signals, real-time control stepper motor drive control handle rotate to the appropriate location.
便攜式信號(hào)采集在機(jī)器健康診斷系統(tǒng)中有較高的應(yīng)用價(jià)值。機(jī)器健康診斷的信號(hào)特點(diǎn)是包括低頻信號(hào)。本文研究是為了實(shí)現(xiàn)簡(jiǎn)易而且低成本的低頻便攜式信號(hào)采集。以Microchip公司單片機(jī)PIC18F1320為核心設(shè)計(jì)信號(hào)采集電路,實(shí)現(xiàn)了信號(hào)的采集和保存。系統(tǒng)采用串行電可擦除芯片24LC32A保存數(shù)據(jù),經(jīng)過(guò)有線通信,信號(hào)數(shù)據(jù)由串行口通過(guò)MAX232芯片輸送到微型計(jì)算機(jī)接收和保存,最后繪制出信號(hào)波形。 微型計(jì)算機(jī)程序采用Visual Basic編程。研究成功采樣頻率為3 kHz的復(fù)雜信號(hào),證明該方案符合設(shè)計(jì)要求。
Abstract:
Portable signal acquisition is useful in machine health monitoring systems. The signal characteristics of machine health monitoring includes low frequency signals. The goal of this study is to realize simple, inexpensive and portable low frequency signal sampling. This paper provides the project of signal acquisition system design based on PIC18F1320 microcontroller manufactured by the Microchip Technology Incorporation to achieve signal sampling and storage. The system adopted EEPROM 24LC32A to store the signal data. The microcomputer received data via wired link with the MAX232 IC through the serial port. The microcomputer program, programmed in Visual Basic, received the data, stored it and plotted the signal. The study successfully samples 3kHz complicated signals and thus meets the design requirement.
為解決電致變色器件的顏色變化受外界環(huán)境顏色控制的問(wèn)題,設(shè)計(jì)了一種基于單片機(jī)的便攜式顏色自適應(yīng)識(shí)別電路。與傳統(tǒng)顏色識(shí)別電路相比較,該電路利用數(shù)字式的顏色傳感器來(lái)獲取外界環(huán)境顏色,產(chǎn)生的數(shù)字顏色信號(hào)易于單片機(jī)進(jìn)行處理。在電路中,下位機(jī)部分主要負(fù)責(zé)獲取電致變色器件變色參數(shù)及控制電致變色器件的顏色變化;而上位機(jī)部分主要負(fù)責(zé)把下位機(jī)獲取的電致變色器件變色參數(shù)進(jìn)行電壓到顏色的曲線擬合,并通過(guò)藍(lán)牙通信把擬合曲線參數(shù)傳遞給下位機(jī)。結(jié)果表明,該電路能自動(dòng)根據(jù)環(huán)境顏色提供-4~4 V范圍步進(jìn)為0.1 V的電壓來(lái)驅(qū)動(dòng)電致變色器件的顏色顯示,與傳統(tǒng)的顏色識(shí)別電路設(shè)計(jì)相比,識(shí)別的精度和速度都得到了明顯改善。
Abstract:
In this paper, a portable adaptive circuit for color identification(PACCI) based on MCU was designed. Compared to the traditional color identification circuit, the PACCI adopts digital sensor to detect the color data from external environment and further generate digital color data, which can be processed easily by MCU. In PACCI, the slave is mainly responsible for detecting the color parameters of the corresponding elcreochromic device and further driving it. For the master, which is mainly responsible for the color curve fitting based on the parameters of the electrochromic device, and transmits the fitting parameters to the slave through the bluetooth device. The results show that the PACCI can provide the basis voltage range from -4V to 4V automatically based on the colors of external environment with step as 0.1V to drive the corresponding electrochromic device. Compared to the traditional color recognition circuit, the recognition accuracy and speed of PACCI have been improved significantly.
現(xiàn)有基于MAX7219芯片的數(shù)碼管驅(qū)動(dòng)電路只適用于小尺寸LED,為擴(kuò)展其使用范圍,在介紹動(dòng)態(tài)顯示芯片MAX7219功能的基礎(chǔ)上,提出了一個(gè)基于該芯片的8位高亮度8英寸數(shù)碼管驅(qū)動(dòng)電路。電路保留了MAX7219芯片的功能強(qiáng)大、編程簡(jiǎn)單等優(yōu)點(diǎn),通過(guò)74LS273鎖存器和ULN2803達(dá)林頓驅(qū)動(dòng)器,實(shí)現(xiàn)了對(duì)任意大尺寸數(shù)碼管提供較高電壓和電流驅(qū)動(dòng)的靜態(tài)顯示,并亮度可調(diào)。
Abstract:
The existing display-driving circuit based on MAX7219 was only applicable to small-size LED. To expand its use, based on the function introduction of dynamic display chip MAX7219, a display-driving circuit for high-brightness 8-bit LED with the size of 8-inch was proposed. The advantages of MAX7219 were retained, such as powerful function and simple programming. Static display with adjustable brightness for large-size LED with higher voltage and current was achieved with the help of 74LS273 and ULN2803.
設(shè)計(jì)了一種基于PIC16C71單片機(jī)的數(shù)字水溫配制閥。該配制閥采用NTC熱敏電阻作溫度傳感器,與固定電阻組成簡(jiǎn)單分壓電路作為水溫測(cè)量電路,利用PIC16C71單片機(jī)內(nèi)置的8位A/D轉(zhuǎn)換器把熱敏電阻上的模擬電壓轉(zhuǎn)換為數(shù)字量,PIC16C71單片機(jī)控制直流電機(jī)驅(qū)動(dòng)混水閥調(diào)節(jié)冷熱水的混合比例實(shí)現(xiàn)水溫調(diào)節(jié)。給出了控制電路圖,對(duì)水溫測(cè)量電路的參數(shù)選擇和測(cè)溫精度作了詳細(xì)討論。實(shí)驗(yàn)和分析表明,選用阻值較大的NTC熱敏電阻和分壓電阻可較好地解決熱敏電阻因功耗較大造成的熱擊穿問(wèn)題。
Abstract:
A digital valve for controlling water temperature based on PIC16C71 was presented in this paper.A bleeder circuit which consisted of a NTC thermistor as temperature sensor and a fixed resistance was designed as water temperature measuring circuit.The analog voltage on the thermistor was converted into digital signal by a 8-bit A/D converter embedded in PIC16C71. Based on the digital signal, the MCU PIC16C71 drived the valve by a DC motor to adjust the water temperature through adjusting the proportion of hot water and cold water.The circuit diagram of controller was given,the principle,the component parameters and the accuracy of measuring temperatures were also dissertated in detail. It was found by experiment and analysis that thermal breakdown of thermistor caused by high power could be solved by selecting thermistor and fixed resistance with high impedance value.
針對(duì)目前使用的RS232接口數(shù)字化B超鍵盤存在PC主機(jī)啟動(dòng)時(shí)不能設(shè)置BIOS,提出一種PS2鍵盤的設(shè)計(jì)方法。基于W78E052D單片機(jī),采用8通道串行A/D轉(zhuǎn)換器設(shè)計(jì)了8個(gè)TGC電位器信息采集電路,電位器位置信息以鍵盤掃描碼序列形式發(fā)送,正交編碼器信號(hào)通過(guò)XC9536XL轉(zhuǎn)換為單片機(jī)可接收的中斷信號(hào),軟件接收到中斷信息后等效處理成按鍵。結(jié)果表明,在滿足開(kāi)機(jī)可設(shè)置BIOS同時(shí),又可實(shí)現(xiàn)超聲特有功能,不需要專門設(shè)計(jì)驅(qū)動(dòng)程序,接口簡(jiǎn)單,成本低。
Abstract: Aiming at the problem of the digital ultrasonic diagnostic imaging system keyboard with RS232 interface currently used couldn?蒺t set the BIOS when the PC boot, this paper proposed a design method of PS2 keyboards. Based on W78E052D microcontroller,designed eight TGC potentiometers information acquisition circuit with 8-channel serial A/D converter, potentiometer position information sent out with keyboard scan code sequentially.The control circuit based on XC9536 CPLD is used for converting the mechanical actions of the encoders into the signals that can be identified by the MCU, software received interrupt information and equivalently treatmented as key. The results show that the BIOS can be set to meet the boot, ultrasound specific functionality can be achieved at the same time, it does not require specially designed driver,the interface is simple and low cost.
在航電系統(tǒng)維護(hù)過(guò)程中,為解決定位故障的效率和降低維修成本等問(wèn)題,提出了基于ICD(Interface Control Document,接口控制文件)的1553B總線的信息監(jiān)控系統(tǒng)模型。該系統(tǒng)運(yùn)用數(shù)據(jù)采集卡對(duì)總線中傳輸?shù)男盘?hào)有無(wú)失真、偏差等電氣特性進(jìn)行檢測(cè),并使用1553B通訊卡通過(guò)測(cè)控軟件LabWindows/CVI編程與ICD數(shù)據(jù)庫(kù)的動(dòng)態(tài)鏈接,實(shí)現(xiàn)總線信息的解析和故障的判斷。與傳統(tǒng)的維護(hù)過(guò)程相比,這種模型能夠從信號(hào)的電氣特性以及信息的解析等全方位的去檢測(cè)判斷故障的來(lái)源,并且能夠廣泛在其他1553B總線系統(tǒng)內(nèi)擴(kuò)展應(yīng)用。驗(yàn)證表明該監(jiān)控系統(tǒng)可以對(duì)總線信息進(jìn)行快速有效地監(jiān)測(cè)分析,能滿足應(yīng)用需求。
Abstract: In the process of avionics system maintenance, to solve the problems such as improving the efficiency of fast orientation to troubles and reducing maintenance cost, system of 1553B bus information monitor model based on ICD was proposed. The system observed whether the data which transmitted on the bus appear distortion and deviation by using data acquisition card. And using 1553B communication card programming of the measure software LabWindows/CVI and the dynamic linking of ICD database, message analysis and fault estimation could be realized. Compared with traditional maintenance, this model can all-dimensionally detect and analyze the source of faults from both electrical characteristics of the signal and message analysis, and it can be widely applied in the other 1553B system. Experiment shown that this monitor system can effectively detect and analyze the bus message and can meet the application requirements.