為了使音頻信號分析儀小巧可靠,成本低廉,設計了以2片MSP430F1611單片機為核心的系統。該系統將音頻信號送入八階巴特沃茲低通濾波器,對信號進行限幅放大、衰減、電平位移、緩沖,并利用一單片機負責對前級處理后的模擬信號進行采樣,將采集得到的音頻信號進行4 096點基2的FFT計算,并對信號加窗函數提高分辨率,另一單片機負責對信號的分析及控制顯示設備。此設計精確的測量了音頻信號的功率譜、周期性、失真度指標,達到較高的頻率分辨率,并能將測量結果通過紅外遙控器顯示在液晶屏上。
Abstract:
o make the audio signal analyzer cheaper, smaller and more reliable, this system sends the audio signal to the eight-order butterworth filter, and then amplifies, attenuates, buffers it in a limiting range, transfers the voltage level of the signal before utilizing two MSP430F1611 MCU to realize the audio analysis. One is charged for sampling and dealing with the processed audio signal collected by the 4096 point radix-2 FFT calculation and imposes the window function to improve the frequency resolution. The other one controls the display and realizes the spectrum, periodicity, power distortion analysis in high resolution which is displayed in the LCD screen through the infrared remote control.
為提高電容測量精度,針對電容式傳感器的工作原理設計了基于PIC16LF874單片機電容測量模塊。簡單闡述了電容測量電路的應用背景和國內外研究現狀,介紹了美國Microchip公司PIC16LF874單片機的特性。電容式傳感器輸出的動態微弱電容信號通過PS021型電容數字轉換器把模擬量數據轉換成數字量數據,所測數據由PIC16LF874單片機應用程序進行處理、顯示和保存。實驗結果表明,固定電容標稱值為10~20 pF 的測量值相對誤差在1%以內,同時也可知被測電容容值越大,測量值和標稱值相對誤差越小。
Abstract:
To improve the accuracy of capacitance measurement,aimed at the principle of work of mercury capacitance acceleration transducer,the design of micro capacitance measurement circuit is based on the key PIC16LF874 chip. Briefly discusses the application of the capacitance measuring circuit for the background and status of foreign researchers,focusing on the United States PIC16LF874 microcontroller features. Capacitive sensor outputed signal through the dynamics of weak PS021-chip capacitors (capacitancedigital converter) to convert analog data into digital data,the measured data from the PIC16LF874 microcontroller application process, display and preservation. Experimental results show that the fixed capacitor 10pF ~ 20pF nominal value of the measured value of relative error is within 1%,but also it canbe seen the value of the measured capacitance larger,measuring value and the nominal value of relative error smaller.
單片機作為一種微型計算機,其內部具有一定的存儲單元(8031除外),但由于其內部存儲單元及端口有限,很多情況下難以滿足實際需求。為此介紹一種新的擴展方法,將數據線與地址線合并使用,通過軟件控制的方法實現數據線與地址線功能的分時轉換,數據線不僅用于傳送數據信號,還可作為地址線、控制線,用于傳送地址信號和控制信號,從而實現單片機與存儲器件的有效連接。以單片機片外256KB數據存儲空間的擴展為例,通過該擴展方法,僅用10個I/O端口便可實現,與傳統的擴展方法相比,可節約8個I/O端口。
Abstract:
As a micro-computer,the SCM internal memory has a certain units(except8031),but because of its internal storage units and the ports are limited,in many cases it can not meet the actual demand.So we introduced a new extension method,the data line and address lines combined through software-controlled approach to realize the time-conversion functions of data lines and address lines,so the data lines not only transmited data signals,but also served as address lines and control lines to transmit address signals and control signals,in order to achieve an effective connection of microcontroller and memory chips.Take microcontroller chip with256KB of data storage space expansion as example,through this extension method,with only10I/O ports it was achieved,compared with the traditional extension methods,this method saves8I/O ports.
基于幅移鍵控技術ASK(Amplitude-Shift Keying),以C8051F340單片機作為監測終端控制器,C8051F330D單片機作為探測節點控制器,采用半雙工的通信方式,通過監控終端和探測節點的無線收發電路,實現數據的雙向無線傳輸。收發電路采用直徑為0.8 mm的漆包線自行繞制成圓形空心線圈天線,天線直徑為(3.4±0.3)cm。試驗表明,探測節點與監測終端的通信距離為24 cm,通過橋接方式,節點收發功率為102 mW時,節點間的通信距離可達20 cm。與傳統無線收發模塊相比,該無線收發電路在受體積、功耗、成本限制的場合有廣闊的應用前景。
Abstract:
Based on ASK technology and with the C8051F340 and C8051F330D MCU as the controller, using half-duplex communication mode, this paper achieves bi-directional data transfer. Transceiver circuit constituted by enameled wire which diameter is 0.8mm and wound into a diameter (3.4±0.3) cm circular hollow coil antenna. Tests show that the communication distance between detection and monitoring of the terminal is 24cm,the distance is up to 20cm between two nodes when using the manner of bridging and the node transceiver power is 102mW. Compared with the conventional wireless transceiver modules, the circuit has wide application prospect in small size, low cost and low power consumption and other characteristics.
為解決傳統可視倒車雷達視頻字符疊加器結構復雜,可靠性差,成本高昂等問題,在可視倒車雷達設計中采用視頻字符發生器芯片MAX7456。該芯片集成了所有用于產生用戶定義OSD,并將其插入視頻信號中所需的全部功能,僅需少量的外圍阻容元件即可正常工作。給出了以MAX7456為核心的可視倒車雷達的軟、硬件實現方案及設計實例。該方案具有電路結構簡單、價格低廉、符合人體視覺習慣的特點。經實際裝車測試,按該方案設計的可視倒車雷達視場清晰、提示字符醒目、工作可靠,可有效降低駕駛員倒車時的工作強度、減少倒車事故的發生。
Abstract:
A new video and text generation chip,MAX7456,was used in the design of video parking sensor in order to simplify system structure,improve reliability and reduce cost. This chip included all the necessary functions to generate user-defined OSDs and to add them into the video signals. It could be put into work with addition of just a small number of resistances and capacitors. This paper provided software and hardware implementation solutions and design example based on the chip. The system had the characteristics of simplicity in circuit structure,lower cost,and comfort for the nature of human vision. Loading road test demonstrates high video and text display quality and reliable performance,which makes the driver easy to see backward and reduces chance of accidents.