單片機系統“PC”失控的軟件措施Software Measure of GettingO uto fC ontrolfo r“PC"in S ingleC hipC omputerS ystem謐 加 春 王 曉 基 雷 小 華(江 西 理 工 大 學機 電 工 程 學 院 ,贛 州 34 10 00)摘要單片機系統在實際工業現場中可能遇到各種干擾和自身的隨機性故障。現場惡劣的環境有可能使計算機系統發生異常,計算機程序指針“PC”失控就是常見的故障之一,如果發生“PC”失控,將導致CPI工作混亂,釀成嚴重的事故。研究了“PC”失控的原因,并指出軟件抗干擾的幾種方法,有效保證單片機系統的正常工作。關鍵詞單片機“PC”失控抗干擾Abstract Inp racticalin dustrialfi elds,th ereis v ariousin terferencea fectingo perationo fsi nglec hipc omputersy stemsa ndt hec omputersy stems。fac噸random faults飾themselves. It is very common that the severe environment makes the computer systems abnormal. The program counter "PC"gettingo utof co ntorlis on eo fth ec ommonfa ults.If th isoc curs,C PUw ouldb eru nningo utof or deran din torducesse riousan cient.T hec ausesof " PC"geting out of control, studied in this paper and some countermeasures of anti-interference師software are given to ensure single chip computer systemworking properly.Keywords Single。飾computer Porgramc ounter"P C" Anti-interfeernc 在設 計 和 開發單片機系統時,一般難以周全地預計單片機系統在實際工業現場中可能遇到的各種干擾和自身的隨機性故障。因此,除了采取防止和抑制干擾的各項措施外,還應該借助于軟件措施克服某些干擾,系統還應具備迅速自行恢復的能力。本文介紹的應對單片機系統PC失控的軟件措施,設計靈活,節省硬件資源,能保證測控系統長期可靠地運行。MC S- 5 1單片機以其優良的性能價格比大量應用于工業現場測試和控制領域。但是,現場惡劣的環境有可能使計算機系統發生異常,計算機程序指針PC失控就是常見的故障之一,一旦發生PC“走飛”,計算機系統就會出現工作混亂,釀成嚴重的事故。為 了 在 CP 失控時盡量減少由此帶來的不利影響,并盡快使系統恢復正常,需要采取一定的軟件措施和硬件措施。常見的硬件措施有“看門狗”電路。軟件措施設置的前提條件是:①在干擾作用下,微機系統硬件部分不會受到任何損壞,或者損壞部分設置有監測狀態可供查詢;②程序區不會受到干擾侵害。單片機系統的程序和表格以及重要的參數均設置在ROM區,不會因干擾的侵人而改變;③ RAM區中的重要數據不會被破壞,或者雖然被破壞,但是可以重新建立。
上傳時間: 2013-11-02
上傳用戶:bhqrd30
The PL2303 USB to Serial adapter is your smart and convenient accessory forconnecting RS-232 serial devices to your USB-equipped Windows host computer. Itprovides a bridge connection with a standard DB 9-pin male serial port connector inone end and a standard Type-A USB plug connector on the other end. You simplyattach the serial device onto the serial port of the cable and plug the USB connectorinto your PC USB port. It allows a simple and easy way of adding serial connectionsto your PC without having to go thru inserting a serial card and traditional portconfiguration.This USB to Serial adapter is ideal for connecting modems, cellular phones, PDAs,digital cameras, card readers and other serial devices to your computer. It providesserial connections up to 1Mbps of data transfer rate. And since USB does not requireany IRQ resource, more devices can be attached to the system without the previoushassles of device and resource conflicts.Finally, the PL-2303 USB to Serial adapter is a fully USB Specification compliantdevice and therefore supports advanced power management such as suspend andresume operations as well as remote wakeup. The PL-2303 USB Serial cable adapteris designed to work on all Windows operating systems.
上傳時間: 2013-11-01
上傳用戶:ghostparker
(Portmon is an application that lets you monitor serial and parallel activity on your local system, or any computer on the network that you can reach via TCP/IP. It is the most powerful tool available for tracking down port-related configuration problems and analyzing application port usage.)
上傳時間: 2013-11-07
上傳用戶:1412904892
針對運行中火車測速運用多普勒效應采用DSP 設計雷達測速系統并闡述了其基本設計思想與工作原理給出系統硬件軟件設計結構和原理圖改善了原有光電測速精度提高了系統工作穩定性和可靠性經實驗證明DSP 采集板工作穩定測速效果好關鍵詞DSP; 雷達測速; 多普勒效應 On Board DSP-Based Radar Speed Measurement System TANG Wei, SUN Zhi-fang, CHEN Quan (Dept.of computer Science,Yangtze University,Jingzhou 434023,China)Abstract: This paper presents a DSP-based train speed measurement by using Doppler radar. The structure of the system is introduced.The hardware and software are also discussed.Key words: DSP; rader speed measurement; doppler principle
上傳時間: 2013-10-27
上傳用戶:003030
1 Communication Protocol (Computer as master) The communication protocol describes here allows your computer to access 4096 internal registers (W0000-W4095) and 1024 internal relays (B0000-B1023) in the Workstation.. 1.1 Request Message Format Request message is a command message to be sent from the computer to the Workstation. The data structure of request message is shown below. Note that numbers are always in hexadecimal form and converted into ASCII characters. For example, Workstation unit number 14 will appear in the message as character 0(30h) followed by character E(45h); a BCC of 5Ah will appear in the message as character 5(35h) followed by character A(41h).
上傳時間: 2013-10-28
上傳用戶:cxl274287265
The field of microelectromechanical systems (MEMS), particularly micromachinedmechanical transducers, has been expanding over recent years, and the productioncosts of these devices continue to fall. Using materials, fabrication processes, anddesign tools originally developed for the microelectronic circuits industry, newtypes of microengineered device are evolving all the time—many offering numerousadvantages over their traditional counterparts. The electrical properties of siliconhave been well understood for many years, but it is the mechanical properties thathave been exploited in many examples of MEMS. This book may seem slightlyunusual in that it has four editors. However, since we all work together in this fieldwithin the School of Electronics and Computer Science at the University of Southampton,it seemed natural to work together on a project like this. MEMS are nowappearing as part of the syllabus for both undergraduate and postgraduate coursesat many universities, and we hope that this book will complement the teaching thatis taking place in this area.
上傳時間: 2013-10-16
上傳用戶:朗朗乾坤
本文主要通過介紹PLC通訊的意義和三菱FX系列PLC的四種通訊方式,并重點介紹FX系列PLC與計算機無協議通訊,主要從無協議通訊的硬件、配線、數據寄存器設置、PLC與計算機無協議通訊的指令用法、PLC程序編寫和計算機VB程序的編寫來說明無協議通訊的過程和一般方法。 My dissertation introduces the significance of PLC communications and the four means of communication of Mitsubishi FX’s PLC, And highlights the no protocol communications of FX series PLC and computer, no protocol communications hardware, wiring, Register data set, and the usage of command about no protocol communications, How to write PLC program and computer VB program to illustrate the process of no protocol communications and general method.
上傳時間: 2014-11-29
上傳用戶:Jerry_Chow
A Computer-On-Module, or COM, is a Module with all components necessary for a bootable host computer, packaged as a super component. A COM requires a Carrier Board to bring out I/O and to power up. COMs are used to build single board computer solutions and offer OEMs fast time-to-market with reduced development cost. Like integrated circuits, they provide OEMs with significant freedom in meeting form-fit-function requirements. For all these reasons the COM methodology has gained much popularity with OEMs in the embedded industry. COM Express® is an open industry standard for Computer-On-Modules. It is designed to be future proof and to provide a smooth transition path from legacy parallel interfaces to LVDS (Low Voltage Differential Signaling) interfaces. These include the PCI bus and parallel ATA on the one hand and PCI Express and Serial ATA on the other hand.
上傳時間: 2013-11-05
上傳用戶:Wwill
The main objective of this book is to present all the relevant informationrequired for RF and micro-wave power amplifier design includingwell-known and novel theoretical approaches and practical design techniquesas well as to suggest optimum design approaches effectively combininganalytical calculations and computer-aided design. This bookcan also be very useful for lecturing to promote the analytical way ofthinking with practical verification by making a bridge between theoryand practice of RF and microwave engineering. As it often happens, anew result is the well-forgotten old one. Therefore, the demonstrationof not only new results based on new technologies or circuit schematicsis given, but some sufficiently old ideas or approaches are also introduced,that could be very useful in modern practice or could contributeto appearance of new ideas or schematic techniques.
標簽: Amplifier Microwave Design Power
上傳時間: 2013-12-22
上傳用戶:vodssv
這個 天正建筑8.5破解版支持最新AutoCAD2012 CAD即計算機輔助設計(CAD-Computer Aided Design) 利用計算機及其圖形設備幫助設計人員進行設計工作 。簡稱cad。 在工程和產品設計中,計算機可以幫助設計人員擔負計算、信息存儲和制圖等項工作。CAD還包含:電氣CAD、外貿結算CAD、加拿大元、冠狀動脈性心臟病、計算機輔助診斷、服裝CAD等含義。 天正建筑8.5/8.0注冊機是一款通用的天正建筑注冊機,可以用于天正建筑8.5注冊算號,以及天正建筑8.0等低版本注冊算號 下面順便提供兩組免費天正建筑注冊碼 機器碼:nf0def108c175002682b52cda 注冊碼:2F1091EF97ADFD859F077AE93D14E388CBD52D128DBF8395DC 機器碼:N984BE1A8F64990004E4B4CB4 注冊碼:2F6F48D81D9E4A856BFBBF4798248713860848FC7DCCC4372C 使用方法:將壓縮包全部下載后解壓,安裝雖然顯示是試用版,但等下破解后就是正式版了! 加壓安裝后,打開軟件,會提示輸入注冊碼,這時打開注冊機,選天正建筑8.0破解,將授權碼復制到注冊機中,再點計算注冊碼,將計算出的注冊碼,復制到之前打開的天正軟件中,即注冊完成!! 1、墻、柱、墻體造型、凸窗擋板、門窗套全面支持繪保溫層。 2、門窗系統大幅度改進。新增在同一洞口插入多個門窗、門窗編號 利用AutoCAD圖形平臺開發的最新一代建筑軟件TArch 8.5,繼續以先進的建筑對象概念服務于建筑施工圖設計,成為建筑CAD的首選軟件,同時天正建筑對象創建的建筑模型已經成為天正日照、節能、給排水、暖通、電氣等系列軟件的數據來源,很多三維渲染圖也基于天正三維模型制作而成。 2008年9月天正建筑TArch軟件通過建設部科技成果的評估,在建筑設計領域二次開發方面達到國際先進水平。 天正表格使用了先進的表格對象,其交互界面類似Excel的電子表格編輯界面。表格對象具有層次結構,用戶可以完整地把握如何控制表格的外觀表現,制作出有個性化的表格。更值得一提的是,天正表格還實現了與Excel的數據雙向交換,使工程制表同辦公制表一樣方便高效。 強大的圖庫管理系統和圖塊功能 天正的圖庫管理系統采用先進的編程技術,支持貼附材質的多視圖圖塊,支持同時打開多個圖庫的操作。 【天正建筑8.5破解版特色功能】 主要包括交互技術、圖形變換技術、曲面造型和實體造型技術等。 在計算機輔助設計中,交互技術是必不可少的。交互式cad系統, 指用戶在使用計 cad系統 算機系統進行設計時,人和機器可以及時地交換信息。采用交互式系統,人們可以邊構思 、邊打樣、邊修改,隨時可從圖形終端屏幕上看到每一步操作的顯示結果,非常直觀。 圖形變換的主要功能是把用戶坐標系和圖形輸出設備的坐標系聯系起來;對圖形作平移、旋轉、縮放、透視變換 ;通過矩陣運算來實現圖形變換。 計算機設計自動化 計算機自身的cad,旨在實現計算機自身設計和研制過程的自動化或半自動化。研究內容包括功能設計自動化和組裝設計自動化,涉及計算機硬件描述語言、系統級模擬、自動邏輯綜合、邏輯模擬、微程序設計自動化、自動邏輯劃分、自動布局布線,以及相應的交互圖形系統和工程數據庫系統。集成電路 cad有時也列入計算機設計自動化的范圍
上傳時間: 2013-10-14
上傳用戶:wangrong