CS257855B1 - Connection for running a microcomputer running program during power outages - Google Patents
Connection for running a microcomputer running program during power outages Download PDFInfo
- Publication number
- CS257855B1 CS257855B1 CS854260A CS426085A CS257855B1 CS 257855 B1 CS257855 B1 CS 257855B1 CS 854260 A CS854260 A CS 854260A CS 426085 A CS426085 A CS 426085A CS 257855 B1 CS257855 B1 CS 257855B1
- Authority
- CS
- Czechoslovakia
- Prior art keywords
- input
- output
- microcomputer
- hysteresis
- comparator
- Prior art date
Links
Landscapes
- Power Sources (AREA)
Abstract
Řešení tvoří komplexní systém pro zajištění běžícího programu v mikropočítači podle obr. 1. Chronologie činnosti: při výpadku nebo poklesu sítového napětí dojde k přerušení běžícího programu a uložení potřebných informací do zálohované paměti RWM, podle potřeby uživatele k dalším nutným činnostem mikropočítače. Zálohovaná pamět RWM a mikroprocesor se zablokuje. Při vzestupu sítového napětí proběhne podle potřeby uživatele činnost nutná po výpadku a potom program pokračuje v místě, kde byl přerušen výpadkem. Novost spočívá v komplexnosti hardware a software, v programové kontrole a případné korekci činnosti mikropočítače, jinak ovládaného jen hardwarem. Ťo činí celý systém odolný proti poruchám a schopný úspěšně řešit libovolný průběh výpadku, nebo kolísání sítového napětí.The solution consists of a complex system for securing a running program in a microcomputer according to Fig. 1. Chronology of operation: in the event of a power outage or drop in the mains voltage, the running program is interrupted and the necessary information is stored in the RWM backup memory, according to the user's needs for other necessary microcomputer activities. The RWM backup memory and the microprocessor are blocked. When the mains voltage increases, the activity necessary after the outage takes place according to the user's needs and then the program continues at the point where it was interrupted by the outage. The novelty lies in the complexity of the hardware and software, in the program control and possible correction of the microcomputer's activity, otherwise controlled only by hardware. This makes the entire system resistant to failures and capable of successfully solving any outage or mains voltage fluctuations.
Description
Vynález řeší zapojení pro zajištění běžícího programu mikropočítače při výpadcích napájeni.The invention solves the circuitry to ensure a running microcomputer program in the event of power outages.
Doposud známá zapojení nejsou plně spolehlivá a jsou zabezpečována pouze vlastním zapojením napájecích obvodů mikropočítače. Tato zapojení jsou citlivá na vnější průmyslová rušení a nejsou schopna řešit libovolný průběh výpadku napájecího napětí.The hitherto known connections are not fully reliable and are ensured only by the wiring of the microcomputer power supply circuits. These connections are sensitive to external industrial disturbances and are unable to handle any power outage.
Výše uvedené nedostatky dosud známých zapojení pro zajištění běžícího programu mikropočítače při výpadcích napájení odstraňuje zapojení podle vynálezu, jehož podstata spočívá v tom, že mezi vstup pro napáječi napětí a řídicí výstupy RST2 a RST1 je zapojen první odporový trimr, první komparátor s hysterezí, filtry a monostabilní klopné obvody. Mezi negovaným výstupem prvního komparátoru s hysterezí a filtrem je výstup pro čtení INFKO. Na vstup pro napájecí napětí je zároveň zapojen druhý odporový trimr, jenž je spojen s druhým komparátorem s hysterezí, jehož výstup je spojen s prvním vstupem prvního logického členu NAND a negovaný výstup je spojen přes filtr na první vstup .druhého logického členu NAND.The above-mentioned drawbacks of the hitherto known circuitry for providing a running microcomputer program in the event of power outages removes the circuitry according to the invention, characterized in that a first resistor trimmer, a first hysteresis comparator, filters and monostable flip-flops. Between the negated output of the first comparator with hysteresis and the filter, there is an output for reading INFKO. At the same time, a second resistor trimmer is connected to the supply voltage input, which is connected to a second comparator with hysteresis, the output of which is connected to the first input of the first NAND logic and the negated output is connected to the first input of the second NAND.
Výstup druhého logického členu NAND je spojen na druhý vstup prvního logického NAND, jehož výstup je spojen na řídicí výstup RESET. Vstup ovládání OVLMP je zapojen do druhého vstupu druhého logického členu NAND a do druhého vstupu logického členu AND, jehož první vstup je zapojen na negovaný výstup druhého komparátoru s hysterezí. Výstup logického členu AND je spojen s druhým vstupem třetího logického členu NAND, jehož první vstup je přes invertor zapojen na vstup pro výběr a výstup je spojen na výstup pro výběr paměti.The output of the second NAND is connected to the second input of the first NAND whose output is coupled to the control output RESET. The OVLMP control input is connected to the second input of the second NAND and to the second input of the AND, whose first input is connected to the negated output of the second comparator with hysteresis. The output of the AND logic element is coupled to the second input of the third NAND logic element, the first input of which is connected via the inverter to the select input and the output is coupled to the memory select output.
Výhodou zapojení je snížení citlivosti na vnější průmyslová rušení a zvýšení spolehlivosti systému, v němž je zapojení podle vynálezu použito a který je pak schopen řešit libovolný průběh výpadku napájení v závislosti na čase a úrovni. To je zabezpečeno jednak vlastním zapojením, jednak programovým vybavením, které provede vždy před zásahem do činnosti mikropočítače kontrolu a korekci této kontroly, což činí systém odolný proti poruchám a chybám.The advantage of wiring is to reduce the sensitivity to external industrial disturbances and to increase the reliability of the system in which the wiring according to the invention is used and which is then able to solve any power outage course depending on time and level. This is ensured on the one hand by its own wiring and on the other hand by software which always checks and corrects this check before the microcomputer operates, which makes the system resistant to faults and errors.
Na připojených výkresech je znázorněno zapojení a činnost zapojení pro zajištění běžícího programu mikropočítače při výpadcích napájení. Na obr. 1 je vlastní zapojení zabezpečovacího obvodu, na obr. 2a a 2b jsou znázorněny průběhy výstupů komparátorů s hysterezí v závislosti na úrovni napětí.The attached drawings show the wiring and wiring operation to ensure the running microcomputer program during power outages. Fig. 1 shows the safety circuit connection itself; Figs. 2a and 2b show the waveforms of the comparators with hysteresis as a function of the voltage level.
Podle obr. 1 mezi vstup X napájecího napětí a řídicí výstupy 6^ a ^8 přerušení je zapojen odporový trimr 2^, komparátor s hysterezí _3, filtry 4^ a monostabilní klopné obvody 5 a 7. Negovaný výstup 31 komparátoru s hysterezí 3^ je vyveden jako výstup pro čtení mikropočítačem j). Mezi vstup JL napájecího napětí a řídicí výstup 15 ŘEŠET je zapojen odporový trimr 10, komparátor s hysterezí 11 a dvouvstupový logický člen NAND 12.According to FIG. 1, a resistance trimmer 2, a comparator with hysteresis 3, filters 4 ^ and monostable flip-flops 5 and 7 are connected between the supply voltage input X and the interrupt control outputs 6 ^ and ^ 8. output as microcomputer reading j). A resistance trimmer 10, a comparator with hysteresis 11, and a two-input NAND 12 logic element are connected between the supply voltage input JL and the control output 15 RESET.
Vstup 121 logického členu NAND 12 je spojen s výstupem 111 komparátoru s hysterezí 11. Negovaný výstup 112 komparátoru s hysterezí 11 je spojen přes filtr jl se vstupem dvouvstupového logického členu NAND 13, jehož výstup je spojen se vstupem 122 logického členu NAND 12.The input 121 of the NAND 12 is coupled to the comparator output 111 of the hysteresis 11. The negated comparator output 112 of the hysteresis 11 is coupled via the filter 11 to the input of the two-input logic NAND 13 whose output is coupled to the input 122 of the NAND 12.
Do druhého vstupu 131 logického členu NAND 13 je zapojen vstup 14 pro ovládání mikropočítačem.The microcomputer input 14 is connected to the second input 131 of the NAND 13.
Vstup 18 je zapojen přes invertor 19 do vstupu 201 logického členu NAND 20, jehož výstup je vyveden na řídicí výstup 21 pro řízení pamětí. Negovaný výstup 112 komparátoru s hysterezí 11 a vstup 14 je spojen se vstupy 171 a 172 logického členu AND 17, jehož výstup je spojen se vstupem 202 logického členu NAND 20.The input 18 is connected via the inverter 19 to the input 201 of the NAND 20, whose output is connected to the control output 21 for memory management. The negated output 112 of the comparator with hysteresis 11 and input 14 is coupled to inputs 171 and 172 of logic AND 17 whose output is coupled to input 202 of NAND 20.
Funkce zapojeni spočívá v tom, že na vstup Jl je přivedeno napájecí napětí. Vstupní napětí je vedeno přes odporový trimr 2 na komparátor s hysterezí 3_, jehož charakteristika je na obr. 2a. Na výstupech komparátoru s hysterezí 3 jsou zapojeny filtry £ a monostabilní klopné obvody 5 a 7, které generují řídicí signály přerušovacího systému mikropočítače RST1 a RST2. Při poklesu napájecího napětí nebo při jeho následném vzestupu vyhodnotí komparátor s hysterezí Jl tyto změny a způsobí překlopení monostabllních klopných obvodů 5 a 7, na jejichž vý3 stupech 6 a se pak objeví signál hlášení těchto změn napájecího napětí. Filtry 4 ovlivňují citlivost reakce na krátkodobé změny a poruchy. Negovaný výstup 31 komparátoru s hysterezí J3 je veden na výstup 9 pro čteni mikropočítačem. Tento výstup 9 slouží k programové kontrole činnosti. Výsledek kontroly ovlivňuje výslednou činnost systému a také signál na vstupu 14 pro ovládání mikropočítačem, který blokuje řidiči výstupy 15 a 21.The function of the circuit is that the input voltage J1 is supplied with voltage. The input voltage is applied via a resistance trimmer 2 to a comparator with hysteresis 3, the characteristic of which is shown in FIG. 2a. At the comparator outputs with hysteresis 3, filters 6 and monostable flip-flops 5 and 7 are connected which generate control signals of the interrupt system of the microcomputer RST1 and RST2. When the supply voltage drops or rises thereafter, the comparator with hysteresis 11 evaluates these changes and causes the monostable flip-flops 5 and 7 to flip over at their output 6, and then a signal for these supply voltage changes is displayed. Filters 4 affect the sensitivity of the reaction to short-term changes and disturbances. The negated output 31 of the comparator with hysteresis J3 is fed to output 9 for reading by the microcomputer. This output 9 is used to programmatically control the operation. The result of the control affects the resulting operation of the system as well as the signal at the microcomputer input 14 that blocks the driver outputs 15 and 21.
Vstupní napětí je také vedeno na odporový trimr 10. Výstup odporového trimru 10 je zapojen na komparátor s hysterezí 11, jehož charakteristika je na obr. 2b. Poklesne-li vstupní napětí pod nastavenou hodnotu komparátoru s hysterezí 1_1, tuto změnu vyhodnotí a výsledkem je signál RESÉT na řídicím výstupu 15, který zastaví činnost mikroprocesoru. Signál z komparátoru s hysterezí 11 je též veden na logický člen NAND 20 přes logický člen 17 Výstup 21, který je výstupem logického členu NAND 20 ovládá zálohované paměti.The input voltage is also applied to the resistance trimmer 10. The output of the resistance trimmer 10 is connected to a comparator with hysteresis 11, the characteristics of which are shown in FIG. 2b. If the input voltage drops below the set value of the comparator with hysteresis 11, it evaluates this change and results in a RESET signal at the control output 15, which stops the microprocessor operation. The signal from the comparator with hysteresis 11 is also routed to the NAND 20 via a logic 17 Output 21, which is the output of the NAND 20, controls the backed-up memories.
Zapojení pro zajištění běžícího programu mikropočítače při výpadcích napájení je určeno zejména pro systémy, kdy výpadek napájecího napětí nenaruší probíhající činnost a po skončení výpadku pokračuje systém v činnosti.The wiring for running the microcomputer program in case of power outages is designed especially for systems where the power outage does not disrupt the running activity and after the outage the system continues to operate.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CS854260A CS257855B1 (en) | 1985-06-13 | 1985-06-13 | Connection for running a microcomputer running program during power outages |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CS854260A CS257855B1 (en) | 1985-06-13 | 1985-06-13 | Connection for running a microcomputer running program during power outages |
Publications (2)
Publication Number | Publication Date |
---|---|
CS426085A1 CS426085A1 (en) | 1987-11-12 |
CS257855B1 true CS257855B1 (en) | 1988-06-15 |
Family
ID=5384922
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CS854260A CS257855B1 (en) | 1985-06-13 | 1985-06-13 | Connection for running a microcomputer running program during power outages |
Country Status (1)
Country | Link |
---|---|
CS (1) | CS257855B1 (en) |
-
1985
- 1985-06-13 CS CS854260A patent/CS257855B1/en unknown
Also Published As
Publication number | Publication date |
---|---|
CS426085A1 (en) | 1987-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US3377623A (en) | Process backup system | |
US4691126A (en) | Redundant synchronous clock system | |
JPS58201154A (en) | Mode monitoring device of microcomputer | |
GB2158613A (en) | Fail-safe circuit for a control system | |
US5304987A (en) | Board removal detection circuit | |
CS257855B1 (en) | Connection for running a microcomputer running program during power outages | |
US5226151A (en) | Emergency resumption processing apparatus for an information processing system | |
JPH0460245B2 (en) | ||
US5964888A (en) | Circuit arrangement for executing a reset | |
JP2000165420A (en) | Bus system | |
JPS6113250B2 (en) | ||
JPS60211525A (en) | Power supply momentary interruption storage device | |
JPS56143054A (en) | Microprogram control system | |
US6507916B1 (en) | Method and circuit arrangement for using two processors to read values of two independently clocked counters, exchanging values therebetween, comparing two values to determine error when the comparison exceed a threshold | |
JPS61141059A (en) | Terminal equipment | |
JPS5814204A (en) | Microcomputer control device | |
JPH0517705Y2 (en) | ||
JPH01256480A (en) | Controller for elevator | |
JP3009236B2 (en) | Hot maintenance of devices | |
US20190049905A1 (en) | Electronic component monitoring method and apparatus | |
SU962956A1 (en) | Device for restarting computing complex at detecting malfanctions | |
JPS6111859A (en) | Abnormality detection device | |
KR0155045B1 (en) | How to Implement Watchdog Timers in Unmanned Security Systems | |
JPS61101802A (en) | Emergency stop signal input circuit | |
SU1608667A1 (en) | Three-channel redundancy device |