CS242140B1 - Circuit for creating control signals in case of microcomputer power failure - Google Patents
Circuit for creating control signals in case of microcomputer power failure Download PDFInfo
- Publication number
- CS242140B1 CS242140B1 CS848461A CS846184A CS242140B1 CS 242140 B1 CS242140 B1 CS 242140B1 CS 848461 A CS848461 A CS 848461A CS 846184 A CS846184 A CS 846184A CS 242140 B1 CS242140 B1 CS 242140B1
- Authority
- CS
- Czechoslovakia
- Prior art keywords
- terminal
- circuit
- output
- memory
- capacitor
- Prior art date
Links
Landscapes
- Power Sources (AREA)
Abstract
Řešení se týká zapojení obvodu pro - vytváření řídicích signálů při výpadku napájení mikropočítače. Využívá pamětového kondenzátoru pro zapamatování stavu. Stav určují tři napěíové hladiny. Při funkci je kondenzátor zcela nabit, a mikropočítač je ve funkci. Po zjištění výpadku napájení se tato informace zachytí v klopném obvodu, který způsobí vybití pamětového kondenzátoru vybíjecím obvodem pod nejsoodnější napětovou hladinu. Prostřední hladina určuje okamžik, kdy dojde k zablokování paměti mikropočítače. Po náběhu napětí se odblokuje pameí až po dosažení nejvyšší hladiny. Rozdíl mezi nej vyšší a orostřední hladinou zaručuje prodlevu mezi ohlášením výpadku a zablokováním paměti. Spodní hladina zaručuje úplné vybití kondenzátoru v případě, že došlo k dalšímu výpadků napájení gřed úplným naběhnutím. Vynálezu se využije u mikroprocesorových systémů pro řízení obráběcích strojů a robotů.The solution concerns the connection of a circuit for - generating control signals in the event of a power failure of a microcomputer. It uses a memory capacitor to memorize the state. The state is determined by three voltage levels. During operation, the capacitor is fully charged, and the microcomputer is in operation. After detecting a power failure, this information is captured in a flip-flop circuit, which causes the memory capacitor to be discharged by the discharge circuit below the most suitable voltage level. The middle level determines the moment when the microcomputer memory is blocked. After the voltage starts up, the memory is unlocked only after reaching the highest level. The difference between the highest and middle levels ensures a delay between the failure notification and the memory blocking. The lower level ensures complete discharge of the capacitor in the event that another power failure occurs before full start-up. The invention will be used in microprocessor systems for controlling machine tools and robots.
Description
Vynález řeší zapojení obvodu pro vytváření řídicích signálů při výpadku napájení mikropočítače·The invention solves a circuit for generating control signals in the event of a power failure of the microcomputer.
Má-li počítač po výpadku napájení pokračovat v činnosti započaté před výpadkem, je nutné doplnit napájecí zdroje kontrolními obvody, které zjišťuji ještě před výpadkem zdrojů, že zásoby energie) nashromážděné například v kondenzátorechjse blíží povolenému minimu· Podle signálů z těchto kontrolních obvodů pak obvod pro ošetření výpadku sítě vydává pokyny pro mikropočítač· Mikropočítač musí po zjištění výpadku sítě všechny údaje, které bude ještě potřebovat) uložit do nedestruktivní paměti· Po časovém intervalu jrezervovaném pro toto uložení)musí řídicí obvod vydat signál, který blokuje přístup do nedestruktivní paměti* Chování mikropočítače při sníženém napájecím napětí není totiž definováno a mohl by uchované údaje přepsat nesprávnými údaji· Po náběhu musí řídicí obvod vydat signál, kterým so nastaví celý počítač do počátečního stavu, a uvolnit blokování paměti·If the computer is supposed to continue operating before the outage after a power failure, it is necessary to add the power supply to the control circuits, which are detected before the power outage that the power supply) accumulated in the capacitors is approaching the minimum. Maintaining power failure issues instructions for the microcomputer · The microcomputer must, after detecting a power outage, store all data that will still be needed) to store in non-destructive memory · After the time interval reserved for this storage) the control circuit must give a signal blocking access to non-destructive memory it is undefined at reduced supply voltage and could overwrite stored data with incorrect data · After start-up, the control circuit must give a signal to reset the computer to its initial state and release the lock memoirs·
Jsou známa zapojení, která používají pro zapamatování stavu [V němž se počítač nachází,klopného obvodu napájeného z baterie· To proto, aby signál blokující přístup do paměti uchoval správnou hodnotu i v době kdy počítač není napájen. Nevýhodou tohoto uspořádání je, že klopný obvod odebírá z baterie značný proud a zkracuje tak dobu, po níž je nedestruktivní paměť schopna uchovat data. V případě vybití baterie se při výpadku sítě nejenom ztratí data z paměti, ale je ohrožena i funkce nulování počítače po náběhu,a tím jeho správný chod·Connections are known to use battery-powered flip-flops to remember the state of the computer. · This is to keep the memory access signal at a proper value even when the computer is not powered. The disadvantage of this arrangement is that the flip-flop draws considerable current from the battery and thus shortens the time during which the non-destructive memory is able to store data. In the event of a battery discharge, the data is not only lost from memory in the event of a mains failure, but the computer's reset function after start-up is also compromised and thus its proper operation ·
- X242- X242
Tyto nedostatky odstraňuje zapojení obvodu pro vydávání řídicích signálů při výpadku napájení, u kterého je přerušovací* výstup záchytného klopného obvodu spojen s vý stupni přerušovací svorkou zapojení· Vstupní předpěťová svorka zapojení je spojena s nastavovacím vstupem záchytného klopného obvodu· Řídicí výstup záchytného klopného obvodu je spojen s řídicím vstupem vybíjeoího obvodu, jehož referenční výstup je spojen s referenční svorkou paměťového kondenzátoru a s referenčním výstupem nabíjecího obvodu· Nabíjecí výstup nabíjecího obvodu je spojen s vybíjecím výstupem vybíjecího obvodu, s řídicí svorkou paměťového kondenzátoru a se vstupní svorkou hysterezního klopného obvodu, jehož blokovací výstup je spojen s výstupní blokovací svorkou zapojení· Výstupní nastavovací svorka zapojení je spojena s nastavovacím výstupem hysterezního klopného obvodu· Podstata vynálezu spočívá v tom, že řídicí svorka paměťového kondenzátoru je spojena se vstupní svorkou prahového obvodu, jehož referenční svorka je spojena s referenční svorkou paměťového kondenzátoru· Výstupní svorka prahového obvodu je spojena s nulovacím vstupem záchytného klopného obvodu·These weaknesses are eliminated by the control circuit for a power failure control circuit where the interrupt * output of the snap-on flip-flop is connected to the output by the interrupted wiring clamp · The input bias voltage terminal is connected to the setting input of the snap-flip-flop. · The charge output of the charge circuit is connected to the discharge output of the discharge circuit, to the control terminal of the memory capacitor, and to the input terminal of the hysteresis flip-flop whose blocking output is is connected to the output blocking terminal of the wiring · The output setting terminal of the wiring is connected to the setting output of the hysteresis flip-flop · The essence of the invention is that m, the memory terminal of the memory capacitor is connected to the input terminal of the threshold circuit, whose reference terminal is connected to the memory terminal of the memory capacitor · The output terminal of the threshold circuit is connected to the reset input of the flip-flop circuit ·
Výhodou uspořádání podle vynálezu je, že používá jako paměťový prvek kondensátor· Kondenzátor je při výpadku sítě vybit. Zapojení nevyžaduje napájení z baterie a vydává všechny řídicí signály správně, bez ohledu na to zda je nedestruktivní paměť a baterie připojena či ne.An advantage of the arrangement according to the invention is that it uses a capacitor as a storage element. The capacitor is discharged in the event of a mains failure. The wiring does not require battery power and emits all control signals correctly, regardless of whether the non-destructive memory and battery are connected or not.
To umožní, aby počítač sám testoval stav nedestruktivní paměti a v případě vybití baterií toto oznamoval obsluze* Tím se dosahuje spolehlivější funkce systému i při zanedbání údržby a kontroly baterií·This will allow the computer to self-test the status of non-destructive memory and notify the operator when the batteries are flat * This ensures more reliable system operation even when battery maintenance and inspection are neglected ·
Příklad uspořádání podle vynálezu je znázorněn v blokovém schématu na připojeném výkrese·An example of an arrangement according to the invention is shown in the block diagram of the attached drawing.
242 140242 140
- 2» Jednotlivé bloky a prvky zapojení je možno charakterizovat takto* Záchytný klopný obvod i je tvořen tranzistory a rezistory/a slouží k zachycení výpadku napájení z kontrolních obvodů na vstupní podpěťové svorce 01 zapojení* Vybíjecí obvod 2 je tvořen tranzistorem a rezistorem a slouží k vybíjení paměťového kondenzátoru £ po náběhu napájení* Nabíjecí obvod 2 je tvořen rezistorem a slouží k nabíjení paměťového kondenzátoru £ P° náběhu napájení* Paměťový kondensátor £ je tvořen např* kondensátorem s pevným dielektrikem a slouží k zapamatování stavu řídicího obvodu* Prahový obvod 2 je tvořen tranzistorem a rezistory a slouží spolu se záchytným klopným v- 2 »Individual blocks and wiring elements can be characterized as follows * The catch flip-flop i is made of transistors and resistors / and serves to detect power failure from control circuits at the input undervoltage terminal 01 of wiring * Discharge circuit 2 is made of transistor and resistor discharge capacitor £ after power-on * Charging circuit 2 consists of a resistor and serves to charge the memory capacitor £ P ° of power-on * Memory capacitor £ consists of * a fixed dielectric capacitor and serves to memorize the state of the control circuit * Threshold circuit 2 transistors and resistors and serve together with the flip - flop in
obvodem i k téměř úplnému vybití pamětového kondenzátoru £ po zjištění výpadku napájení* Hysterezní klopný obvod 6 jo tvořen tranzistory a rezistory{ a slouží k vydávání řídicích signálů pro nastavení a blokování pamětí v závislosti na stavu paměťového kondenzátoru £. Jednotlivé bloky a prvky jsou zapojeny takto* Přerušovací výstup 14 záchytného klopného obvodu 1 je spojen s výstupní přerušovací svorkou 02 zapojení* Vstupní předpěťová svorka 01 zapojení je spojena s nastavovacím vstupem 11 záchytného klopného obvodu X* Řídicí výstup 13 záchytného klopného obvodu jL je spojen s řídicím vstupem 21 vybíjecího obvodu 2« Referenční výstup 23 vybíjecího obvodu 2 je spojen s referenční svorkou 42 paměťového kondenzátoru £ a s referenčním výstupem 32 nabíjecího obvodu 2· Nabíjecí výstup 31 nabíjecího obvodu 2 je spojen s vybíjecím výstupem 22 vybíjecího obvodu £, s řídicí svorkou 41 paměťového kondenzátoru £ a se vstupní svorkou 61 hysterezního klopného obvodu £· Blokovací výstup 63 hystorezního klopného obvodu £ je spojen s výstupní blokovací svorkou 03 zapojení. Výstupní nastavovací svorka 04 zapojení je spojena s nastavovacím výstupem 64 hysterezního klopného obvodu 6. Řídicí svorka 41 paměťovéhocircuit also almost complete discharge of the capacitor of the memory £ after detecting power failure * hysteresis flip-flop 6 consists jo transistors and resistors {and used for issuing control signals for adjusting and locking the memory depending on the state of the memory capacitor £. The individual blocks and elements are connected as follows * Interrupt output 14 of the snap flip-flop 1 is connected to the output break terminal 02 of the wiring * Input bias input terminal 01 is connected to the setting input 11 of the snap flip-flop X * discharge circuit control input 21 " discharge circuit reference 23 ' is coupled to memory capacitor reference terminal 42, and charge circuit 2 reference 32 < Desc / Clms Page number 3 > The blocking output 63 of the hysteresis flip-flop 6 is coupled to the output blocking terminal 03 of the circuit. The wiring output setting terminal 04 is coupled to the hysteresis flip-flop 6 setting output 64.
242 140242 140
- frkondenzátoru £ je spojena se vstupní svorkou 51 prahového obvodu %· tottTwaifad svorka 52 prahového obvodu % je spojena s referenční svorkou 42 paměťového kondenzátoru £. Výstupní svorka 53 prahového obvodu £ je spojena s nulováoím vstupem 12 záchytného klopného obvodu i·the capacitor 8 is connected to the input terminal 51 of the threshold circuit% tottTwaifad, the terminal 52 of the threshold circuit% is connected to the reference terminal 42 of the memory capacitor 8. The output terminal 53 of the threshold circuit 6 is connected to the zero input 12 of the catch flip-flop 10.
Zapojení pracuje takto· Zjistí-li se výpadek sítě, pak kontrolní obvody, které nejsou na výkrese znázorněny, vydají signál na vstupní podpěťovou svorku 01 zapojení· Tímto signálem se nastaví záchytný klopný obvod i· Záchytný klopný obvod přes svůj přerušovací výstup 14 vyšle na výstupní přerušovací svorku 02 zapojení signál, kterým žádá o přerušení činnosti mikropočítače· Mikropočítač na základě tohoto signálu začne ukládat údaje do nedestruktivní paměti· Současně záchytný klopný obvod i vyšle přes svůj řídicí výstup 13 signál na řídicí vstup 21 vybíjecího obvodu £· Tímto řídicím signálem se uvede do činnosti vybíjecí obvod £, který začne vybíjet paměťový kondenzátor £· Po uplynutí doby vyhrazené pro uchování údajů, dosáhne napětí na paměťovém kondenzátoru £ hranici spodního mezního napětí hyeterezního klopného obvodu £· Hysterezní klopný obvod £ překlopí a vydá přes svůj blokovací výstup 63 na výstupní blokovací svorku 03 zapojení blokovací signál pre blokování nedestruktivní paměti· Současně vyšle hysterezní klopný obvod 6 ze svého nastavovacího výstupu 64 nastavovací signál na výstupní nastavovací svorku 04 zapojení· Tímto nastavovacím signálem se nastaví počítač do počátečního stavu· Vybíjeni paměťového kondenzátoru £ pokračuje do té doby, než dosáhne hladiny prahového napětí prahového obvodu £· Po vybití paměťového kondenzátoru £ na tuto prahovou hodnotu vyšle prahový obvod £ přes svou výstupní svorku 53 nulovaní signál na nulovaní vstup 12 záchytného klopného obvodu l(a tím umožní jeho překlopení do původního stavu· K tomuto stavu dojde až tehdy, když kontrolní obvody hlásí na vstupní podpěťové svorceThe wiring works as follows: • If a power failure is detected, the control circuits not shown in the drawing give a signal to the input undervoltage terminal 01 of the wiring. • This signal sets the intercepting flip-flop i. interruption terminal 02 wiring signal requesting interruption of microcomputer operation The microcomputer based on this signal starts to store the data in non-destructive memory. when the discharging circuit 8 begins to discharge the memory capacitor 8, after the data retention time has elapsed, the voltage at the memory capacitor 8 reaches the lower limit voltage of the hysteresis flip-flop ·. outputs a blocking signal for non-destructive memory blocking via its blocking output 63 to the blocking output terminal 03 · At the same time, the hysteresis flip-flop 6 from its setting output 64 sends a setting signal to the output setting terminal 04 wiring. a storage capacitor £ continues until it reaches the level of the threshold voltage of the threshold circuit £ · After discharging the storage capacitor £ on the threshold transmits the threshold circuit £ through its output terminal 53 zeroing signal to the zeroing input 12 of the receiving flip-flop L (and thus allow its overturn · This state occurs only when the control circuits report on the input undervoltage terminal
242 140 zapojení, že napětí zdrojů je v pořádku a zásoby napájecí energie jsou dostatečnéo Záchytný klopný obvod 1 tedy překlopí a signálem ze svého přerušovacího výstupu 14 zruší žádost o přerušení na výstupní přerušovací svorce 02 zapojení. Současně signálem ze svého výstupu 13 na řídicí vstup 21 vybíjecího obvodu 2 uzavře vybíjecí obvod 2* Paměťový kondenzátor χ se začne přes nabíjecí obvod 2 nabíjet· Prahový obvod 2 obnoví funkci záchytného klopného obvodu 1, takže kdyby přišel i krátký výpadek během nabíjení paměťového kondensátoru χ, záchytný klopný obvod 2 jej zachytí a paměťový kondenzátor χ se opět zoela vybije· Teprve dosáhne-li napětí na paměťovém kondenzát oru χ horní mezní hladiny hysterezního klopného obvodu X, zruší se blokování nedestruktivní paměti na výstupní blokovací svorce 03 zapojení a přestane působit nastavovací signál pro nastavení do počátečního stavu na výstupní nastavovací svorce 04 zapojení· Rozdíl horní a dolní mezní hladiny hysterezního klopného obvodu £ zaručuje, že po rozběhu počítače, když přestane působit blokovací signál na výstupní blokovací svorce 03 zapojení, je vždy skončená doba, potřebná pro uložení údajů pro nedestruktivní paměti, i když výpadek napájení přišel těsně po rozběhnutí počítače, takže celý obvod i po krátkodobém výpadku provede správně celý sled řídicích signálů, nezávisle na tom, jak dlouho výpadek trval a v kterém okamžiku přišel·242 140 circuitry, that the voltage of the sources is OK and the supply of power supply is sufficient. Simultaneously, the signal from its output 13 to the control input 21 of the discharge circuit 2 closes the discharge circuit 2 * The memory capacitor χ starts to charge via the charging circuit 2 · The threshold circuit 2 restores the latching circuit 1 so that · Only when the voltage at the memory condensate χ reaches the upper limit of the hysteresis flip-flop X, the blocking of the nondestructive memory at the output blocking terminal 03 is canceled and the setting signal stops acting. • The difference between the upper and lower limit levels of the hysteresis flip-flop £ ensures that after the start-up of the computer, when the blocking signal on the output blocking terminal 03 stops operating, it is always terminated. the time required to store non-destructive memory data, even if the power outage came just after the computer started, so that even after a brief outage, the entire circuit will execute the entire sequence of control signals regardless of how long the outage lasted and when
Vynález se využije zejména pro mikroprocesorové systémy pro řízení obráběcích strojů, robotů a dalších strojů a zařízení, kde je nutné, aby při výpadku napájení byla uchována informace o místě přerušené operace·The invention is particularly applicable to microprocessor systems for the control of machine tools, robots and other machines and equipment, where it is necessary to maintain the location of the interrupted operation in the event of a power failure.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CS848461A CS242140B1 (en) | 1984-11-07 | 1984-11-07 | Circuit for creating control signals in case of microcomputer power failure |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CS848461A CS242140B1 (en) | 1984-11-07 | 1984-11-07 | Circuit for creating control signals in case of microcomputer power failure |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CS846184A1 CS846184A1 (en) | 1985-08-15 |
| CS242140B1 true CS242140B1 (en) | 1986-04-17 |
Family
ID=5435148
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CS848461A CS242140B1 (en) | 1984-11-07 | 1984-11-07 | Circuit for creating control signals in case of microcomputer power failure |
Country Status (1)
| Country | Link |
|---|---|
| CS (1) | CS242140B1 (en) |
-
1984
- 1984-11-07 CS CS848461A patent/CS242140B1/en unknown
Also Published As
| Publication number | Publication date |
|---|---|
| CS846184A1 (en) | 1985-08-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6262900B1 (en) | Modular power supply system with control command verification | |
| TW521467B (en) | Battery status monitor circuit and battery device | |
| US4730121A (en) | Power controller for circuits with battery backup | |
| US7855531B2 (en) | Charge and discharge control circuit and battery device | |
| US10978867B2 (en) | Battery protection systems | |
| KR960016372B1 (en) | Charging device and method for performing battery activation | |
| US5929603A (en) | Apparatus for preventing over-discharge | |
| KR100660728B1 (en) | System for controlling voltage balancing in a plurality of litium-ion cell battery packs and method thereof | |
| EP4303593A1 (en) | Voltage measurement device and battery pack system | |
| CN216816805U (en) | Wake-up circuit, detection circuit, control guide circuit, chip and vehicle | |
| KR102555491B1 (en) | Control unit for battery system, battery system and method for operating of battery system | |
| US6038669A (en) | PLC having power failure compensation function and power failure compensation method | |
| US6570364B2 (en) | Circuit and method for monitoring the operational reliability of rechargeable lithium cells | |
| TW461167B (en) | Battery state monitoring circuit, battery device and electronic equipment on which the battery is mounted | |
| CS242140B1 (en) | Circuit for creating control signals in case of microcomputer power failure | |
| GB2149984A (en) | Backup power source circuit for control circuit | |
| SU1607045A1 (en) | Method of checking n-cell storage battery | |
| JPH0413941B2 (en) | ||
| JPH0639439Y2 (en) | Power failure alarm circuit for DC stabilized power supply | |
| KR100308530B1 (en) | Battery charge / discharge control circuit | |
| JPH0122367Y2 (en) | ||
| KR100643052B1 (en) | Battery condition monitoring circuit, battery unit and electronic equipment equipped with this battery unit | |
| SU1624600A1 (en) | Power supply system | |
| CS263501B1 (en) | Wiring for generating control signals in case of microcomputer power failure | |
| JPS5838412Y2 (en) | power supply monitoring circuit |