河南理工大学万方科技学院 电气与自动化工程系 2010届毕业生
专业:班级:学号:姓名:时间:
英 文 文 献
电气工程及其自动化 07电气1班 0720120027 王烙印______________
英文资料
Single-Chip Microcomputer dormancy computing reset and the
anti-interference ability is perfect
Abstract:
In troduce a ki nd of dorma ncy of using- restore to the thro ne in the operati on way and improve the an ti-i nterfere nee ability method of the on e-chip computer,A nalyse its scope of applicati on, provide and use the circuit con cretely; Comb ine the in sta nee, an alyze the characteristic of the hardware and software desig n un der these kind of operatio n way. Keyword: Single-Chip Microcomputer Restore to the throne, dormancy, an ti-i nterfere nee
Preface:
With the developme nt at full speed of the micro electric tech niq ue, the performa nee of the on e-chip computer improves rapidly, dem on strate the outstanding advantage in the operation, Iogic control, intelligent respect, replaced and enl arged the measuri ng that the circuit made up, control circuit by digital logical circuit, operation originally to a great exte nt, use very exte nsively. But because it have system halted, procedure run critical defect of flying etc, make it limit in a lot of importa nt applicati on of occasi on. A lot of tech no logy in anti-interferenee , for example set up the software trap, add the hardware to guard the gate in dog's circuit etc, can makethis problem have better settlement, but still the existing problem: ① Guard the gate dog at the moveme nt, mean and appear mistake already and run some time, this is not allowed in some occasi ons; ② Procedure appear circulati on mistake very
muchsometimes, but just guard the gate dog eon trol link in elude and en ter, adopt and guard the gate as to such a mistake dog un able to discer n;
In measure and eon trol cycle among the long system, on e-chip computer
spend wait for the peripheral hardware a large amount of time, will be interfered too
③
when carry out and wait for the order. To these situations, we have tried the method restored to the throne voluntarily
in practice,
alternate pulse of adopting etc or restore to the throne waking according to exter nal terms to the on e-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 n eatly. Have solved above-me nti oned 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.
1 A principle and implementation method
1.1 Uncon diti onal regular reset
Use timer, special clock chip or other pulse gen erator in a certa in 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 qua ntity of in troductio n with A/D con verter ofte n, the n store show ing.
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 CPUs 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-interferenee ability strengthen greatly , have 2 points mainly:①.
At the dorma ncy, procedure stop run can appear PC in dicator disorderly procedure that causes run and fly. Work time in dormancy proportion
that is to say 1 s have 0.1 time of s used for measuring, sending off showing, there is time dormancy of 0.9s, the probability that the procedure is interfered is 1/10 while running at full speed, whole anti-interferenee ability raise by 10 times. ②
1:9,
Because every 1s is restored to the throne once uncon diti on ally, once prese nt the system halted duri ng a job, can eertainly resume when restored to the throne next time. As to only
in strume nt that show, some read ing mistake that 1s appear accide ntally 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
dog'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 to in clude guardi ng the gate.
of the link
1.2 The external condition is restored to the throne the law
Somearrival that export or measure is con trolled
by the outside. For
instanee, 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, CPUonly 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 seas on autu mn spri ng and summer, If let dorma ncy its , measure have water wheels pulse constantly,
anti-interferenee
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, CPUs 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 kilowatt-hour meter , go on one count just
whe n the machi nery degree wheels and tran sfers
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
con firmed accord ing to the exter nal con diti on of this method. In some occasi ons, the time of the dorma ncy will be very long, very effective to impro ving an ti-i nterfere nee ability.
2 The hardware realizes the main point
2.1 Restored to the thro ne regularly uncon diti on ally
Gen erally it has 2 kinds of methods.① Use the timer or the special-purpose clock chip to be restored to the throne. Figi, in order to use the timing circuit that 555 circuit makes up; Can use the clock chips of X1126, etc, wake CPU up with the alarm signal after setting up warning time. This kind of method is suitable when the long interval is made, can also follow the result of this operation , determine to wake time up in alarm next time temporarily, very flexible and convenient. ② The sig nal of using the system to be in here nt is as reduc ing the pulse regularly. Use 50Hz worker power make reduci ng after hav ing a facelift frequently, already omit the timer, gathered the corresponding signal for the phase place which measured the electric current signal at the same time, as Fig. 2 shows.
2.2 Exter nal con diti ons are restored to the throne
Send external condition pulse to and is restored to the throne the end son after having a facelift. To that above-mentioned water wheels or the ammeter spe nd a pulse produced, can use Schmitt's trigger to have a facelift; For writi ng dow n the in strume nt of the biggest or mi nimum
can use the window comparator. In order to realize the electrification that is
regulated , can use the electronic electric potential device, establish upper and lower limits with the order of the one-chip computer.
,
2.3 Reducecycle and restored to the throne the high electricity at ordinary times
In Fig3, restored to the throne the
signal during high level Tr, the
one-chip computer is in the state of restoring to the throne, the procedure does not run, anti-inteferenee
ability is the strongest;
After the high
level, the on e-chip computer beg ins to hold the con duct procedure. That is to say, are restored to the throne and suitable for the time that the procedure carries out duri ng the low level Td of the sig nal, this time should be greater tha n the executi on