【文章內(nèi)容簡(jiǎn)介】
has got better result in the agricultural voltage transformer prehensive protector experiment. Now take 51 serial onechip puters as an example and probe into the concrete principle and implementation method, restored to the throne the signal as the high level. 1 A principle and implementation method Unconditional regular reset Use timer, special clock chip or other pulse generator in a certain part of the regular produce reset signal. This method is especially suited for measuring instrument。 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 antiinterference ability strengthen greatly , have 2 points mainly: (1)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 antiinterference ability raise by 10 times. (2)Because every 1s is restored to the throne once unconditionally, once present the system halted during a job, can certainly resume when restored to the throne next time. As to only instrument that show, some reading mistake that is appear accidentally there is no memory to the next measurement, be could bear, belong to pass mistake. This kind is restored to the throne the advantage of dog39。s circuit for guarding the gate regularly, first, change waiting time into a dormancy state, time to shorten and may be interfered。 Second, avoided happening 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 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 wheels rotate when parking warm , CPU idle in will it be will it be one season autumn spring and sum