【正文】
ove the antiinterference ability method of the onechip puter。s circuit etc, can make this problem havebetter settlement, but still the existing problem: ① Guard the gate dog at the movement, mean and appear mistake already and run some time, this is not allowed in some occasions。 Second, avoided happenning that the dog controls the death circulation of the link to include guarding the gate. The external condition is restored to the throne the law Some arrival that export or measure is controlled by the outside. For instance, the hot form. of heating, rotate the pulse produced and calculate heat by hot water water wheels, there is no hot water to flow, there is no heat to export, CPU only need in fact keep number value, do not need to count. Can imagine hot water water wheels rotate when parking warm , CPU idle in will it be will it be one season autumn spring and summer, If let dormancy its , measure have water wheels pulse constantly, antiinterference ability can strengthen greatly. So, so long as link up the restoring to the throne of the pulse of the water wheels and CPU, the water wheels rotate a circle each time, CPU is restored to the throne once, hot form. can work normally , this is restored to the throne the law by the external condition . Similar application have half electron kilowatthour meter , go on one count just when the machinery degree wheels and transfers to a circle, users do not need the electricity, CPU has been knowing the dormancy all the time . The restoring to the throne in the interval not to be regular, but confirmed according to the external condition of this method. In some occasions, the time of the dormancy will be very long, very effective to improving antiinterference ability. 2 .The hardware realizes the main point Restored to the throne regularly unconditionally Generally have 2 kinds of methods. ① Use theitimer or the specialpurpose clock chip to be restored to the throne. Fig1, in order to use the timing circuit that 555 circuit makes up。 After the high level, the onechip puter begins to hold the conduct procedure. That is to say, are restored to the throne and suitable for the time that the procedure carries out during the low level Td of the signal, this time should be greater than the execution cycle of the procedure each time. It is restore to the throne cycle and restore to the throne high level of signal take empty than very much important to choose rationally. As to simple to show instrument, restore to the throne cycle determine data break cycle, low electricity is it measure, hancl over all time shown to greater than to want at ordinary times。 ② In being RAM it is the last last state that e down,these RAMs when the throne regularly can the zero clearing one。 Write a part of the procedure of the software according to this movement, such as Fig. 5. In 4 Fig, act as person who protect the beginning at the electricity, is it transmit power 0 to try at first. 5s, points out and transmits power soon。但由于它存在著死機(jī)、程序跑飛等致命缺陷,使它在許多重要場合的應(yīng)用受到限制。用此方 法較好地解決了上述問題,并在農(nóng)用變壓器綜合保護(hù)器實(shí)驗(yàn)中得到了較好的效果。這一過程很快,但為了讀數(shù)穩(wěn)定,每秒數(shù)據(jù)更新不過 1~ 2 次,CPU 的大量時(shí)間用于等待。 ② 由于每 1s 無條件復(fù)位 1 次,一旦某次工作期間出現(xiàn)死機(jī),在下次復(fù)位時(shí)肯定得以恢復(fù)??梢韵胂?,停暖時(shí)熱水水輪不轉(zhuǎn), CPU在春夏秋三季則無事可做;如果讓其休眠,而不是時(shí)刻檢測有無水輪脈沖,抗干擾能力會(huì)大大增強(qiáng)。在有些場合,休眠的時(shí)間會(huì)很長,對(duì)提高抗干擾能力非常有效。這種方法適用于長間隔定時(shí),還可以根據(jù)本次運(yùn)算的結(jié)果,臨時(shí)決定下一次的報(bào) 警喚醒時(shí)間,非常靈活方便。為了實(shí)現(xiàn)調(diào)節(jié)的電子化,可以使用電子電位器,用單片機(jī)指令設(shè)定上下限。對(duì)于單純顯示儀表,復(fù)位周期決定數(shù)據(jù)刷新周期,低電平時(shí)間要大于檢測、送顯示的全部時(shí)間;否則,會(huì)出現(xiàn)永遠(yuǎn)不能完整執(zhí)行程序的錯(cuò)誤。也就是說,正常輸出為低的引腳,會(huì)按照復(fù)位周期出現(xiàn)寬度為 Tr 的正脈沖。 (2)容 錯(cuò) 輸出了錯(cuò)誤電平。 上電檢測與手動(dòng)復(fù)位 成為正常運(yùn)行的開始條件,無法辨別是否初上電。有 2 種方法: ① 本次復(fù)位后立即進(jìn)行分析判斷,根據(jù)需要給出引腳狀態(tài);② 根據(jù) RAM 中上一次留存下來的狀態(tài),這些 RAM在定時(shí)復(fù)位時(shí)是不能清零的;而在初上電或手動(dòng)復(fù)位按下時(shí)應(yīng)清零,在軟件編制時(shí)要體現(xiàn)出來??煞譃?2 種情況: ① 對(duì)于單純顯示儀表,每次復(fù)位后進(jìn)行測量、送顯示,兩次復(fù)位之間沒有因果關(guān)系,只需把原來的等待改為休眠即可。例如,前面提到的變壓器綜合保護(hù)器,按照 20ms 的間隔定時(shí)復(fù)位。啟動(dòng)完成后,如果一切正常,則把 “正常標(biāo)志 ”置位,保護(hù)器在下一個(gè)復(fù)位周期進(jìn)入正常運(yùn)行。如果 Ts≠0,說明在送電延時(shí)期間,把 Ts 減 1 后進(jìn)入休眠。這樣,整個(gè)進(jìn)程由 Tr、 Td、 Ts 等這些參數(shù)相互傳遞著,一步步進(jìn)行下去。Seattle Robotics CMUcam1 AppMod TM Vision System for BoeBot’s user guide 海軍大連艦艇學(xué)院本科生譯文原文 第 14 頁