Dormancy of the one-chip computer---restore to the throne in the operation way and improve anti- interference ability
rding to external terms to the one-chip computer up. After being restored to the throne each time, the one-chip computer carries out the corresponding procedure, enters dormancy in time after finishing carrying out the task, wait to be restored to the throne nextly. Have solved above-mentioned problems well with this method , and has got better result in the agricultural voltage transformer comprehensive protector experiment. Now take 51 serial one-chip computers as an example and probe into the concrete principle and implementation method, restored to the throne the signal as the high level.
principle and implementation method
Restored to the throne the law regularly unconditionally
Use timer, special-purpose clock chip or other pulse generator, produce signal of restoring to the throne regularly according to interval that set for. This kind of method is especially suitable for the measuring instrument. In not running actually, sample the analog quantity of introduction with A/D converter often, then store showing. This course is very fast, but steady for reading, the data per second are only upgraded 1 -2 times, a large amount of time of CPU is used for waiting. Let CPU carry out and enter dormancy directly after the task , restore to the throne and wake by external world up It carry out the next operation, this is to restore to the throne the law regularly In this way can make anti-interference ability strengthen greatly , have 2 points mainly: ①. At the dormancy, procedure stop run, can appear PC indicator disorderly procedure that causes run and fly. Work time in dormancy proportion 1:9, that is to say 1 s have time of s used for measuring, sending off showing, there is time dormancy of , the probability that the procedure is interfered is 1/10 while running at full speed, whole anti-interference ability raise by 10 times.
自动化专业 单片机 外文文献 英文文献 外文翻译中英对照 来自淘豆网m.daumloan.com转载请标明出处.