單片機系統“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
隨著衛星導航系統在軍事上的廣泛應用,研究導航系統的抗干擾技術已經成為當務之急。文中創新的將跳時技術與現有導航系統相結合,提出基于直擴/跳時(DS/TH)混合擴頻的導航衛星系統方案。并分別在4種衛星導航干擾模式下,對此方案進行了抗干擾性能仿真及分析。結果表明在信噪比為-33 dB誤碼率為10-4時,該方案抗干擾性能比傳統導航信號至少提高17 dB,尤其對于抗脈沖干擾,其性能可以改善20 dB左右。
上傳時間: 2013-11-23
上傳用戶:GeekyGeek
電容器及介質種類: ※高頻類: 此類介質材料的電容器為Ⅰ類電容器,包括通用型高頻COG、COH電容器和溫度補償型高頻HG、LG、PH、RH、SH、TH、UJ、SL電容器。其中COG、COH電容器電性能最穩定,幾乎不隨溫度、電壓和時間的變化而變化,適用于低損耗,穩定性要求高的高頻電路,HG、LG、PH、RH、SH、TH、UJ、SL電容器容量隨溫度變化而相應變化,適用于低損耗、溫度補償型電路中。 ※ X7R、X5R:此類介質材料的電容器為Ⅱ類電容器,具有較高的介電常數,容量比Ⅰ類電容器高,具有較穩定的溫度特性,適用于容量范圍廣,穩定性要求不高的電路中,如隔直、耦合、旁路、鑒頻等電路中。 ※Y5V:此類介質材料的電容器為Ⅱ類電容器,是所有電容器中介電常數最大的電容器,但其容量穩定性較差,對溫度、電壓等條件較敏感,適用于要求大容量,溫度變化不大的電路中。 ※Z5U:此類介質材料的電容器為Ⅱ類電容器,其溫度特性介于X7R和Y5V之間,容量穩定性較差,對溫度、電壓等條件較敏感,適用于要求大容量,使用溫度范圍接近于室溫的旁路,耦合等,低直流偏壓的電路中。
上傳時間: 2013-11-05
上傳用戶:后時代明明
CopyPwd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Usage of CopyPwd is at the risk of the person or company using this software
標簽: distributed WARRANTY CopyPwd WITHOUT
上傳時間: 2013-12-09
上傳用戶:sjyy1001
This directory contains utility for implementing generic Reqursive Least Squares (RLS) algorithm. The example shows how one can use the utility to estamate the parameters of a simple linear discrete time system.
標簽: implementing Reqursive directory algorithm
上傳時間: 2014-01-06
上傳用戶:gtf1207
This driver was developed using a USB keyboard from Cherry,as indicated by the VID and PID codes. These IDs must be set for the device you intend to support. Similarly, you will need to set Class to the appropriate string for your device class.
標簽: developed indicated keyboard Cherry
上傳時間: 2015-04-02
上傳用戶:nanxia
The cart with an inverted pendulum, shown below, is "bumped" with an impulse force, F. Determine the dynamic equations of motion for the system, and lin earize about the pendulum s angle, theta = Pi (in other words, assume that p endulum does not move more than a few degrees away from the vertical, chosen to be at an angle of Pi). Find a controller to satisfy all of the design re quirements given below.
標簽: F. with Determine inverted
上傳時間: 2014-01-17
上傳用戶:miaochun888
Delineate is a tool for converting bitmap raster images to SVG (Scalable Vector Graphics) using AutoTrace or potrace. It displays SVG results using Apache Batik. Input formats are JPEG, PNG, GIF, BMP, TIFF, PNM, PBM, PGM, PPM, IFF,PCD, PSD, RAS.
標簽: converting Delineate Graphics Scalable
上傳時間: 2014-01-19
上傳用戶:四只眼
The C# program will solve the Tower of Hanoi for a given number of rings/disks/plates and display the ring/disk/plate movement. The movement will be shown graphically
標簽: program display number plates
上傳時間: 2013-12-20
上傳用戶:1966640071
Client/server communication, automated telnet sessions, wake on lan, winsock communications using this easy to use component
標簽: communications communication automated sessions
上傳時間: 2015-06-10
上傳用戶:釣鰲牧馬