數字控制的交流調速系統所選用的微處理器、功率器件及產生PWM波的方法是影響交流調速系統性能好壞的直接因素。在介紹了正弦脈寬調制(SPWM)技術的基礎上,設計了一種以8098單片機作為控制器,以智能功率模塊IPM為開關器件的變頻調速系統。通過軟件編程,產生正弦脈沖寬度調制波形來控制絕緣柵雙極晶體管的導通和關斷,從而達到控制異步電動機轉速的目的。實驗結果表明,該系統可調頻率調電壓,穩定度高,調速范圍寬,具有較強的實用價值
Abstract:
AC variable speed with digital control systems used microprocessors, power devices and generate PWM wave is the direct factors of affecting the performance AC speed regulation system. On the basis of introducing the sinusoidal pulse width modulation (SPWM) technology,this paper designed variable speed system which used 8098 as a controller, intelligent power module IPM as switching device. Through software programming, resulting in sinusoidal pulse width modulation waveform to control the insulated gate bipolar transistor turn on and off, so as to achieve the purpose of speed control of induction motors. Experimental results show that the system can adjust frequency modulation voltage, high stability, wide speed range, has a strong practical value.
為解決電致變色器件的顏色變化受外界環境顏色控制的問題,設計了一種基于單片機的便攜式顏色自適應識別電路。與傳統顏色識別電路相比較,該電路利用數字式的顏色傳感器來獲取外界環境顏色,產生的數字顏色信號易于單片機進行處理。在電路中,下位機部分主要負責獲取電致變色器件變色參數及控制電致變色器件的顏色變化;而上位機部分主要負責把下位機獲取的電致變色器件變色參數進行電壓到顏色的曲線擬合,并通過藍牙通信把擬合曲線參數傳遞給下位機。結果表明,該電路能自動根據環境顏色提供-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.
在深入了解Flash存儲器的基礎上,采用單片機自動檢測存儲器無效塊。主要通過讀取每一塊的第1、第2頁內容,判斷該塊的好壞,并給出具體的實現過程,以及部分關鍵的電路原理圖和C語言程序代碼。該設計最終實現單片機自動檢測Flash壞塊的功能,并通過讀取ID號檢測Flash的性能,同時該設計能夠存儲和讀取1GB數據。
Abstract:
On the basis of in-depth understanding the Flash chips,this paper designs a new program which using the SCM to detect the invalid block.Mainly through reading the data of the first and second page to detect the invalid block.Specific implementation procedure was given,and the key circuit schematic diagram and C language program code was introduced.This design achieved the function of using the MCU checks the invalid block finally,and increased the function by reading the ID number of Flash to get the performance of the memory.And the design also can write and read1GB data
詳細介紹工控軟件組態王與單片機多機串口通訊的設計原理。分析組態王提供的直接與單片機串口通信方法的優點,給出系統基于RS-485總線傳輸的接口電路原理圖。根據組態王提供的通訊協議和單片機多機串口通訊的原理,給出程序設計流程與思路。
Abstract:
In this paper,the design principle of communication between multi-SCM and KingView by serial ports is described in detail.We analysis the advantage of method supplied by KingView,by which KingView can communicate with serial ports of SCM directly,and provide the system’s interface circuit based on the RS-485transmission line.We provide flow diagram of programming and thinking on the basis of communication protocol supplied by KingView and principle of communication among multi-SCM through serial ports.