在理論分析循環碼編碼和譯碼基本原理的基礎上,提出了基于單片機系統的(24,16)循環碼軟件實現編碼、譯碼的方案。仿真結果表明(24,16)循環碼能有效地克服來自通訊信道的干擾,保證數據通信的可靠及系統的穩定,使誤碼率大幅度降低。本論文對(24,16)循環碼的研究結果表明,可以有效地降低錯誤概率和提高系統的吞吐量,實現糾錯僅需要在接收端增加有限的存儲空間和計算復雜度,具有一定的實用價值。 Abstract: Based on analyzing the theory of encoding and decoding of cyclic code, this paper showed the schemes of encoding and decoding of(24,16)cyclic code by the software and based on microcontroller. Simulation results show that using (24,16) cyclic codes can effectively overcome the interference from communication channel, ensure the reliability and stability of data communication systems, and reduce the bit error rate greatly. The results of this paper show that by using the (24,16) cyclic code, the error rate can be reduced and the system throughput can be improved. Meanwhile, the system only needs to enlarge limited storage space and computation the complexity at the receiving end to realize error correction. Thus the (24,16) cyclic code has a practical value.
上傳時間: 2013-11-09
上傳用戶:gaoliangncepu
利用單片機具有的智能程序控制的特點,設計了基于STC89C52單片機的"二極管特性測試器",可對二極管一般特性進行快速測試。通過穩定線性電流源給二極管加載恒定電流,然后由高精度模數轉換器測試其壓降,以此為基礎可判斷二極管好壞、檢測二極管極性和測試二極管伏安特性等,避免了用萬用表測試只能測得極性而不知其特性這一缺點。可用于電子設計制作過程中對二極管進行快速測試,以確定被測二極管是否滿足電路的設計要求。 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.
上傳時間: 2013-11-13
上傳用戶:assef
為解決我國水位監測野外條件下長期無人看守的問題,研制開發了基于MSP430單片機的智能水位計。從其組成到各功能分別進行了詳細的介紹,該智能水位計不僅實現了水位數據的實時監測、記錄和定期采集等多種工作模式,而且提高了水位監測精度,實現了水位監測的智能化。 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.
上傳時間: 2013-11-17
上傳用戶:417313137
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.
上傳時間: 2014-01-24
上傳用戶:xingisme
針對科研實驗中對拉壓千斤頂加載過程控制的需要,采用ATmega128單片機控制步進電機進而實現對執行系統的電動泵站實行自動控制。對力和位移的數據采集與處理及用步進電機控制電動泵站手柄的技術細節作了重點描述。通過單片機的A/D變換器對AMP放大模塊采集的電橋信號作量化處理,千斤頂的操控手柄位置依電動油泵閥門開啟的方向和大小作若干定位,單片機根據力或位移傳感器信號,實時控制步進電機驅動手柄旋轉到相應操控位置。 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.
上傳時間: 2014-01-16
上傳用戶:hasan2015
便攜式信號采集在機器健康診斷系統中有較高的應用價值。機器健康診斷的信號特點是包括低頻信號。本文研究是為了實現簡易而且低成本的低頻便攜式信號采集。以Microchip公司單片機PIC18F1320為核心設計信號采集電路,實現了信號的采集和保存。系統采用串行電可擦除芯片24LC32A保存數據,經過有線通信,信號數據由串行口通過MAX232芯片輸送到微型計算機接收和保存,最后繪制出信號波形。 微型計算機程序采用Visual Basic編程。研究成功采樣頻率為3 kHz的復雜信號,證明該方案符合設計要求。 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.
上傳時間: 2013-11-19
上傳用戶:moerwang
為解決電致變色器件的顏色變化受外界環境顏色控制的問題,設計了一種基于單片機的便攜式顏色自適應識別電路。與傳統顏色識別電路相比較,該電路利用數字式的顏色傳感器來獲取外界環境顏色,產生的數字顏色信號易于單片機進行處理。在電路中,下位機部分主要負責獲取電致變色器件變色參數及控制電致變色器件的顏色變化;而上位機部分主要負責把下位機獲取的電致變色器件變色參數進行電壓到顏色的曲線擬合,并通過藍牙通信把擬合曲線參數傳遞給下位機。結果表明,該電路能自動根據環境顏色提供-4~4 V范圍步進為0.1 V的電壓來驅動電致變色器件的顏色顯示,與傳統的顏色識別電路設計相比,識別的精度和速度都得到了明顯改善。 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.
上傳時間: 2013-11-09
上傳用戶:franktu
現有基于MAX7219芯片的數碼管驅動電路只適用于小尺寸LED,為擴展其使用范圍,在介紹動態顯示芯片MAX7219功能的基礎上,提出了一個基于該芯片的8位高亮度8英寸數碼管驅動電路。電路保留了MAX7219芯片的功能強大、編程簡單等優點,通過74LS273鎖存器和ULN2803達林頓驅動器,實現了對任意大尺寸數碼管提供較高電壓和電流驅動的靜態顯示,并亮度可調。 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.
上傳時間: 2013-10-23
上傳用戶:31633073
設計了一種基于PIC16C71單片機的數字水溫配制閥。該配制閥采用NTC熱敏電阻作溫度傳感器,與固定電阻組成簡單分壓電路作為水溫測量電路,利用PIC16C71單片機內置的8位A/D轉換器把熱敏電阻上的模擬電壓轉換為數字量,PIC16C71單片機控制直流電機驅動混水閥調節冷熱水的混合比例實現水溫調節。給出了控制電路圖,對水溫測量電路的參數選擇和測溫精度作了詳細討論。實驗和分析表明,選用阻值較大的NTC熱敏電阻和分壓電阻可較好地解決熱敏電阻因功耗較大造成的熱擊穿問題。 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.
上傳時間: 2013-11-08
上傳用戶:Yue Zhong
針對目前使用的RS232接口數字化B超鍵盤存在PC主機啟動時不能設置BIOS,提出一種PS2鍵盤的設計方法。基于W78E052D單片機,采用8通道串行A/D轉換器設計了8個TGC電位器信息采集電路,電位器位置信息以鍵盤掃描碼序列形式發送,正交編碼器信號通過XC9536XL轉換為單片機可接收的中斷信號,軟件接收到中斷信息后等效處理成按鍵。結果表明,在滿足開機可設置BIOS同時,又可實現超聲特有功能,不需要專門設計驅動程序,接口簡單,成本低。 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.
上傳時間: 2013-10-10
上傳用戶:asdfasdfd