針對目前使用的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.
在航電系統維護過程中,為解決定位故障的效率和降低維修成本等問題,提出了基于ICD(Interface Control Document,接口控制文件)的1553B總線的信息監控系統模型。該系統運用數據采集卡對總線中傳輸的信號有無失真、偏差等電氣特性進行檢測,并使用1553B通訊卡通過測控軟件LabWindows/CVI編程與ICD數據庫的動態鏈接,實現總線信息的解析和故障的判斷。與傳統的維護過程相比,這種模型能夠從信號的電氣特性以及信息的解析等全方位的去檢測判斷故障的來源,并且能夠廣泛在其他1553B總線系統內擴展應用。驗證表明該監控系統可以對總線信息進行快速有效地監測分析,能滿足應用需求。
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.
為了有效地提升鉛酸蓄電池的使用壽命,同時實現對充電過程的監控,設計出一種用單片機控制的36 V鉛酸蓄電池充電電源。本電路采用反激式拓撲,連續電流工作模式,電源管理IC設計在電源的副邊,由ELAN公司的EM78P258N單片機模擬,是用可編程器件模擬電源管理IC,實現智能電源低成本化的一次成功嘗試,通過對單片機的軟件設計實現了充電電源的狀態顯示、充電時間控制、報警、過溫保護、過壓保護、過流保護等功能。本充電器真正的實現了鉛酸蓄電池的三段式充電過程,其最高輸出功率可達90 W,效率約85%,成本不到20元,具有很高的市場競爭力。
Abstract: In order to extend the life of lead-acid battery efficiently and supervise the charging process meanwhile, a 36V lead-acid battery charge powe supply controlled by microcontroller is designed. The charger is flyback switching power supply and works in CCM mode. A EM78P258N microcontroller made by ELAN microelectronics corporation is used as power management IC which is designed at the secondary circuit. The project is a successful attempt to low-cost intelligent power used microcontroller simulating power management IC. The charger also has the functions of the status reveal, charge time control, alarming, thermal protect, current limit and overvoltage protect by the software design. The circuit actually implements the three-step charge process, whose power is up to 90W and whose efficiency can get 85%. The net cost of this charger is less than 20 RMB, so that the charger is of powerful market competitiveness.
單片機作為一種微型計算機,其內部具有一定的存儲單元(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.
為提高溫度測量效率,降低系統的成本,擴展傳輸距離,設計出一種新型溫度采集系統。單片機通過控制具有單總線方式的溫度傳感器DS18B20實現對溫度的測量,同時單片機通過控制具有單總線方式300~450MHz頻率范圍內的MAX7044與MAX7033無線發射與接收芯片實現溫度數據的無線傳輸。與傳統溫度采集系統相比,該系統利用單總線方式連接,采用無線傳輸方式實現遠距離通信,易于系統的集成與擴展。實驗結果表明,該系統結構簡單、方便移植,能夠同時實現多達上百點溫度的測量與500m范圍的傳輸。
Abstract:
To improve the temperature measurement efficiency and reduce system cost,expansion of transmission distance,a new type of temperature acquisition system is designed.Microcontroller controlled temperature sensor DS18B20which has a single-bus achieves temperature measurement,while microcontroller by controlled the MAX7044and MAX7033chip with a single-bus and having300~450MHz radiofrequency to achieve the wireless transmission of temperature data.Compared with conventional temperature acquisition system,the system uses single-bus connected,and uses wireless transmission means to achieve long-distance communications,easy-to-system integration and expansion.The experimental results show that the system is simple,convenient transplantation,and can be implemented in as many as a hundred-point temperature measure-ment and the transmission range of500meters.
介紹一種基于C8051單片機的動態心電監護系統。該系統由兩部分組成:以C8051F320單片機為核心的數據采集裝置和以PC機為平臺的分析處理系統。硬件電路功耗低,由單片機自帶的USB接口將數據傳送給PC機。軟件平臺采用LabVIEW可視化虛擬儀器系統開發平臺,將傳統儀器的功能模塊集成到計算機中,用戶可通過修改虛擬儀器的程序改變其功能。采用USB接口實時傳輸心電數據,并將數據采集模塊設計為計算機外設,使該系統高速快捷、小巧便攜。
Abstract:
In this design,a low-cost ECG electrocardiogram monitoring system is introduced,which consists of two parts:data acquisition device based on C8051F320and PC terminal as the analysis and processing system.The system is low-power consumption,the data is transmitted to the PC terminal by USB interface of the C8051F320.By using the visible virtual instrument system developing platform LabVIEW,the traditional instruments function modules are integrated into the computer,so the user can modify virtual instrument software to change its function to meet their needs.Using USB in-terface to realize real-time ECG data transmission,in addition,ECG data acquisition module is designed as the computer peripheral,which makes the syetem high-speed and portable.
飛機電網故障時,機載電氣盒必須在延遲時間內切斷電網,保護機載設備。采用AT89S52設計的電氣盒測試儀能夠測試電氣盒保護功能,測量延遲時間。實際應用結果表明,該測試儀具有測量準確、可靠性高、成本低等優點。
Abstract:
The helicopter-electrical-box must shut off the helicopter power,protect the equipments of the helicopter when the helicopter power is failed.The tester for the helicopter-electrical-box based on AT89S52is used for testing the protect-ing function and measuring the delay time.Application results show this tester has some advantages,such as accurate mea-surement,high dependability,economical cost etc.
介紹了當前普通標記機控制系統現狀及其存在缺點,給出氣動標記機及相頻修正PWM模式的工作原理。采用ATmega16單片機和USB轉換RS232接口器件CH341T實現驅動控制系統與PC的實時通訊,標記控制系統可升級到USB接口。采用基于ATmega16的相頻修正PWM替換555振蕩電路產生的PWM,可直接通過軟件調整PWM信號。使用達林頓三極管TIP122替代直流繼電器驅動高頻電磁閥,使得電磁閥驅動電路簡單,成本低廉。該控制系統已成功應用于氣動標記機。
Abstract:
In this paper,the actuality and demerit of the common gas marking machine control systems are described.The operation principle of the gas marking machine and the phase and frequency correct PWM of ATmega16is introduced.The real-time communication between the driving control system and PC by CH341T which its function is translated USB to RS232is realized,the control systems is updated grade to USB interface.The PWM signal can be adjustable by software for the555surge circuit was substituted by the phase and frequency.The high frequency electromagnetic value’s driving circuit by DC relay is replaced by TIP122,therefore,the circuit is become simple and the cost cheap.The control systems has been widely used in gas marking machine.
介紹了采用ATmega48單片機實現三相無刷直流電機控制器的方法。利用Atmega48獲得帶死區的脈寬調制(PWM)、霍爾傳感器的換相處理、正弦驅動信號的產生和電機轉速的控制等功能。采用該方法的優點是所需的外圍器件少,成本低。
Abstract:
The method of 3-phase brushless DC motor control based on ATmega48 is presented in this paper.The system uses ATmega48 to generate PWM signals with dead-time, hall sensors signals commutation,sine driving signal and rotational speed of motor.Using this method,the needed external devices are few, the cost is low.
Mega16是一款采用先進RISC精簡指令,內置A/D的8位單片機,可支持低電壓聯機 Flash和EEPROM 寫入功能;同時還支持 Basic和C 等高級語言編程。用它設計電子時鐘不僅成本低,硬件簡單,而且很容易實現系統移植。介紹了如何利用AVR系列單片機Mega16及1602字符液晶來設計電子時鐘的方法,同時給出了相應的電路原理及部分語言程序。
Abstract:
?Mega16 is a high-performance, low power consumption, the use of advanced RISC concise instructions, built-in A/D 8-bit microcontrollers, the on-line support for low-voltage Flash, EEPROM write function. Except Mega16 also support the Basic, C, and other high-level language programming.The electronic clock which is deisgned by Mega16 is not only low-cost, simple hardware, but easy to achieve system migration.The design method of electrioic clock based on the AVR Mega16 and character LCD1602 is introduced in this paper,and the corresponding circuit electrionic and some language program are given.