CS269727B1 - Wiring to indicate a real-time generator fault - Google Patents
Wiring to indicate a real-time generator fault Download PDFInfo
- Publication number
- CS269727B1 CS269727B1 CS89302A CS30289A CS269727B1 CS 269727 B1 CS269727 B1 CS 269727B1 CS 89302 A CS89302 A CS 89302A CS 30289 A CS30289 A CS 30289A CS 269727 B1 CS269727 B1 CS 269727B1
- Authority
- CS
- Czechoslovakia
- Prior art keywords
- output
- input
- real
- generator
- synchronization
- Prior art date
Links
Landscapes
- Hardware Redundancy (AREA)
Abstract
Zapojení využívá periodického logici kého signálu se střídou 1:1 vytvářeného i v generátoru reálného času. Tento sigj nál se vzorkuje s periodou přibližně i rovnou polovině periody vzorkovaného signálu. Při každém vzorkování se porovnává hodnota nového vzorku s hodnotou vzorku předchozího. Jsou-li tyto vzorky shodné při dvou a více po sobě následujících vzorkováních, interpretuje mikropočítač vzniklý stav jako poruchu génerátoru reálného času. Zapojení se využije ve výpočetní technice.The circuit uses a periodic logic signal with a duty cycle of 1:1 generated in the real-time generator. This signal is sampled with a period approximately equal to half the period of the sampled signal. At each sampling, the value of the new sample is compared with the value of the previous sample. If these samples are identical during two or more consecutive samplings, the microcomputer interprets the resulting condition as a failure of the real-time generator. The circuit is used in computing.
Description
Vynález se týká zapojení pro indikaci poruchy generátoru reálného času, jako je porucha jeho části, generující časové pulsy nebo zastavení generátoru.The invention relates to a circuit for indicating a failure of a real-time generator, such as a failure of its part generating time pulses or a stoppage of the generator.
V současné době se v řídicích mikropočítačových systémech využívá ve většině aplikací pouze jedna vnitřní časová základna generující reálný čas. Ta se vytváří využitím některého vnitřního čítače mikropočítače. Toto řešení je u některých systémů pracujících v reálném čase nevyhovující, a to v případech, kdy se požaduje, aby se reálný čas v mikropočítači generoval i při odepnutí celého zařízení od sítě. Vnitřní časovou základnu ve většině případů nelze zálohovat záložním napájecím zdrojem. Proto je nutno do mikropočítače začlenit zálohovaný generátor reálného času, činnost tohoto generátoru má potom vliv na činnost systému. Zálohovaný generátor reálného času bu3 synchronizuje * celý systém, nebo část systému. Jestliže zálohovaný generátor reálného času synchronizuje celý systém, potom kontrola jeho činnosti může být nepřímo prováděna například obvo- t dem typu Watchdog a podobně. Pokud zálohovaný generátor reálného času synchronizuje jen část systému, obzvláště jedná-li se o delší časové intervaly, je kontrola zálohovaného generátoru stejným způsobem jako v prvním případě obtížně realizovatelná, zbytečně spotřebovává strojový čas a pamělový prostor a neumožňuje automaticky určit příčinu poruchy zařízení. Nevýhodou tohoto uspořádání je značné narušení činnosti mikropočítače v případě, kdy dojde k závadě na zálohovaném generátoru reálného času, který synchronizuje část systému. Mikropočítač může v případě poruchy generátoru reálného času vykonávat bu3 jen tu část své činnosti, která je synchronizována vnitřní časovou základnou, zatímco zbývající činnost prováděna'není a přitom není vysíláno žádné varování, nebo se jeho činnost úplně zastaví, aniž by se vyslalo hlášení, které přesně definuje druh závady. ..... . . .Currently, in most applications, only one internal time base generating real time is used in control microcomputer systems. This is created by using some internal counter of the microcomputer. This solution is unsatisfactory for some systems operating in real time, namely in cases where it is required that real time in the microcomputer is generated even when the entire device is disconnected from the network. In most cases, the internal time base cannot be backed up by a backup power supply. Therefore, it is necessary to incorporate a backup real time generator into the microcomputer, the operation of this generator then has an impact on the operation of the system. The backup real time generator either synchronizes the entire system or part of the system. If the backup real time generator synchronizes the entire system, then its operation can be indirectly controlled, for example, by a Watchdog type circuit and the like. If the backup real-time generator synchronizes only a part of the system, especially if it concerns longer time intervals, checking the backup generator in the same way as in the first case is difficult to implement, unnecessarily consumes machine time and memory space and does not allow automatically determining the cause of the device failure. The disadvantage of this arrangement is a significant disruption of the operation of the microcomputer in the event that a failure occurs in the backup real-time generator that synchronizes a part of the system. In the event of a failure of the real-time generator, the microcomputer can either perform only that part of its operation that is synchronized by the internal time base, while the remaining operation is not performed and no warning is sent, or its operation stops completely without sending a message that precisely defines the type of failure. ..... . . .
Tento nedostatek odstraňuje zapojení pro indikaci poruchy generátoru reálného času podle vynálezu, u kterého je synchronizační výstup časové základny spojen se synchronizačním vstupem čítače a se synchronizačním vstupem paměti. Datový vstup paměti je spo• jen s periodickým výstupem generátoru. První výstup paměti je spojen s prvním vstupem komparátoru a druhý výstup paměti je spojen s druhým vstupem komparátoru. Komparační výstup komparátoru je spojen s datovým vstupem čítače, jehož poruchový výstup je spojen s poruchovým vstupem procesorové jednotky.This drawback is eliminated by the circuit for indicating the fault of the real-time generator according to the invention, in which the synchronization output of the time base is connected to the synchronization input of the counter and to the synchronization input of the memory. The data input of the memory is connected only to the periodic output of the generator. The first output of the memory is connected to the first input of the comparator and the second output of the memory is connected to the second input of the comparator. The comparison output of the comparator is connected to the data input of the counter, the fault output of which is connected to the fault input of the processor unit.
Výhodou zapojení podle vynálezu je, že při použití generátoru reálného času, který generuje nejkratší časový údaj jednu minutu, lze indikovat některé poruchy v intervalu podstatně kratším a lze jednoduše stanovit druh poruchy, což je důležité pro diagnostiku systému.The advantage of the circuit according to the invention is that when using a real-time generator that generates the shortest time data of one minute, some faults can be indicated in a significantly shorter interval and the type of fault can be easily determined, which is important for system diagnostics.
Příklad zapojení je znázorněn na připojeném výkrese v blokovém sčhématu. „ ' Jednotlivé bloky zapojení je možno charakterizovat takto. Generátor 1 je vytvořený z obvodů typu CMOS a slouží k vytváření zálohovaného údaje o reálném čase. Parnět 2. je obvod, vytvořený z číslicových integrovaných obvodů, který slouží k zapamatování stavu datového vstupu 21 v daném okamžiku a jeho stavu v okamžiku o půl periody předcházejícím. Časová základna je tvořena čítačem a slouží ke generování synchronizačního signálu. Komparátor 4 je obvod vytvořený z číslicových integrovaných obvodů, který mění hodnotu výstupu podle toho, zda jeho vstupy jsou nebo nejsou shodné. Čítač H je čítač modulu 2, který elouží k indikaci poruchy. Procesorová jednotka 6 je vytvořena z číslicových integrovaných obvodů a řídí činnost mikropočítače.An example of the connection is shown in the attached drawing in a block diagram. " ' The individual connection blocks can be characterized as follows. Generator 1 is made of CMOS type circuits and serves to create backed up real-time data. Parnet 2. is a circuit made of digital integrated circuits, which serves to remember the state of data input 21 at a given moment and its state at a moment half a period before. The time base is made of a counter and serves to generate a synchronization signal. Comparator 4 is a circuit made of digital integrated circuits, which changes the output value depending on whether its inputs are identical or not. Counter H is a counter of module 2, which is used to indicate a fault. Processor unit 6 is made of digital integrated circuits and controls the operation of the microcomputer.
Zapojení jednotlivých bloků je provedeno takto. Synchronizační výstup 11 generátoru χ je spojen s datovým vstupem 21 paměti 2. Parně í. 2. má dva výstupy: první výstup 23 a druhý výstup 24. Druhý výstup 24 paměti 2 je spojen s druhým vstupem 42 komparátoru 4, a první výstup 23 s prvním vstupem 41 komparátoru 4« Komparační výstup 43 komparátoru 4 je spojen s datovým vstupem 51 čítače £. Poruchový výstup 53 je spojen s poruchovým vstupem 61 procesorové jednotky 6. Synchronizační výstup 31 časové základ2The connection of the individual blocks is as follows. The synchronization output 11 of the generator χ is connected to the data input 21 of the memory 2. The 2. has two outputs: the first output 23 and the second output 24. The second output 24 of the memory 2 is connected to the second input 42 of the comparator 4, and the first output 23 to the first input 41 of the comparator 4« The comparison output 43 of the comparator 4 is connected to the data input 51 of the counter £. The fault output 53 is connected to the fault input 61 of the processor unit 6. The synchronization output 31 of the time base2
CS 269 727 Bl ny 2 je spojen se synchronizačním vstupem 22 paměti 2 a synchronizačním vstupem 52 čítače 2· 'CS 269 727 Bl ny 2 is connected to the synchronization input 22 of the memory 2 and the synchronization input 52 of the counter 2. '
Zapojení pracuje takto. Na datový vstup 21 paměti 2 se přivede periodický signál se střídou 1:1 vytvářený v generátoru J. V paměti 2 se zaznamenává jednak současná hodnota tohoto periodického signálu, jednak jeho hodnota v minulé polovině periody. Toto vzorkování umožňuje synchronizační signál, který se přivádí na synchronizační vstup 22 * paměti 2. Synchronizační signál vytváří časová základna J. Perioda synchronizačního signálu je přibližně rovna polovině periody periodického signálu vyvedeného na periodický výstup 11 generátoru 1. Současná hodnota periodického signálu zaznamenávaná v pamě( ti 2 se přivede na druhý výstup.24 a odtud na druhý vstup 42 komparátoru £. Hodnota pe• riodického signálu v minulé polovině periody se přivede na první výstup 23 a odtud na první vstup 41 komparátoru V komparátoru £ se hodnota prvního vstupu 41 porovnává t s hodnotou druhého vstupu 42. přičemž změna logické úrovně na komparačním výstupu 43 komparátoru 4 znamená shodnost obou vstupů. Jsou-li oba vstupy komparátoru 4 shodné, znamená to, že se přestal správně měnit periodický signál na periodickém výstupu 11 generátoru i, a generátor 1, tudíž správně nepracuje. Změna logické úrovně komparačního výstupu 43 se vzorkuje na datovém vstupu 51 čítače 2· Sítač £ je řízen synchronizačním signálem přivedeným na jeho synchronizační vstup 52 ze synchronizačního výstupu 31 časové základny J,. Trvá-li změna na datovém vstupu 51 čítače % pouze po dobu jedné periody synchronizačního signálu, považuje se to za chybu vzniklou tím, že synchronizační signál nemá periodu rovnu přesně dvojnásobku periody periodického signálu. Trvá-li změna po dobu delší než jedna perioda synchronizačního signálu, považuje to mikropočítač za chybu vzniklou poruchou generátoru JL. Tento stav má za následek změnu logické úrovně poruchového výstupu 53 čítače Tato změna se posléze indikuje procesorovou jednotkou já na jejím poruchovém vstupu 61. Procesorová jednotka 6 potom chybu obslouží.The circuit works as follows. A periodic signal with a duty cycle of 1:1 generated in generator J is fed to data input 21 of memory 2. Memory 2 records both the current value of this periodic signal and its value in the previous half of the period. This sampling is enabled by a synchronization signal, which is fed to the synchronization input 22 * of the memory 2. The synchronization signal is created by the time base J. The period of the synchronization signal is approximately equal to half the period of the periodic signal outputted to the periodic output 11 of the generator 1. The current value of the periodic signal recorded in the memory ( ti 2) is fed to the second output.24 and from there to the second input 42 of the comparator £. The value of the periodic signal in the past half period is fed to the first output 23 and from there to the first input 41 of the comparator In the comparator £, the value of the first input 41 is compared ts with the value of the second input 42. where a change in the logic level at the comparison output 43 of the comparator 4 means that both inputs are identical. If both inputs of the comparator 4 are identical, this means that the periodic signal at the periodic output 11 of the generator i has stopped changing correctly, and the generator 1, therefore, does not work correctly. Change in the logic level of the comparison output 43 is sampled at the data input 51 of the counter 2. The counter £ is controlled by a synchronization signal supplied to its synchronization input 52 from the synchronization output 31 of the time base J,. If the change at the data input 51 of the counter % lasts only for one period of the synchronization signal, this is considered an error caused by the synchronization signal not having a period equal to exactly twice the period of the periodic signal. If the change lasts for a period longer than one period of the synchronization signal, the microcomputer considers this to be an error caused by a failure of the generator JL. This condition results in a change in the logic level of the fault output 53 of the counter. This change is then indicated by the processor unit 1 on its fault input 61. The processor unit 6 then handles the error.
Vynálezu se využije ve výpočetní technice.The invention will be used in computer technology.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CS89302A CS269727B1 (en) | 1989-01-16 | 1989-01-16 | Wiring to indicate a real-time generator fault |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CS89302A CS269727B1 (en) | 1989-01-16 | 1989-01-16 | Wiring to indicate a real-time generator fault |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CS30289A1 CS30289A1 (en) | 1989-09-12 |
| CS269727B1 true CS269727B1 (en) | 1990-05-14 |
Family
ID=5334896
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CS89302A CS269727B1 (en) | 1989-01-16 | 1989-01-16 | Wiring to indicate a real-time generator fault |
Country Status (1)
| Country | Link |
|---|---|
| CS (1) | CS269727B1 (en) |
-
1989
- 1989-01-16 CS CS89302A patent/CS269727B1/en unknown
Also Published As
| Publication number | Publication date |
|---|---|
| CS30289A1 (en) | 1989-09-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4562575A (en) | Method and apparatus for the selection of redundant system modules | |
| KR950005940B1 (en) | Clock monitoring circuit | |
| US4290136A (en) | Circuit arrangement for monitoring the state of signal systems, particularly traffic light signal systems | |
| KR970071268A (en) | Monitoring system for electronic control device | |
| EP3196717B1 (en) | Emulated industrial control | |
| EP3306422A1 (en) | Arithmetic device and control apparatus | |
| Jusoh et al. | Remote Terminal Unit (RTU) hardware design and development for distribution automation system | |
| SE421355B (en) | DIGITAL DATA PROCESSING DEVICE SPECIAL FOR RAILWAY SECURITY SYSTEM | |
| CS269727B1 (en) | Wiring to indicate a real-time generator fault | |
| GB2159981A (en) | 1/o system for programmable controllers | |
| KR100212050B1 (en) | Synchronization source monitoring and selection method of digital exchange and its circuit | |
| EP0460643B1 (en) | Emergency circuit for, e.g., numerical control unit | |
| KR20170119490A (en) | The history and life of the lookup control equipment PLC systems available | |
| JP2018010331A (en) | Diagnostic device and diagnostic method | |
| KR100255056B1 (en) | Small fault-safe interface and bowing module including it | |
| KR100229429B1 (en) | Generator for interrupt demand signal | |
| 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 | |
| Bruce-Boye et al. | Distributed data acquisition and control via software bus | |
| SU1751720A1 (en) | Device for monitoring multichannel object | |
| SU744681A1 (en) | Device for monitoring equipment state | |
| JP2803167B2 (en) | Control line instantaneous interruption recognition prevention circuit | |
| KR930007474B1 (en) | D-bus fault node address detection circuit of electronic switch | |
| SU962913A1 (en) | Device for registering malfanctions of electronic computer | |
| SU1188741A1 (en) | Device for checking processor power supply | |
| SU1302220A2 (en) | Device for functional-parametric checking of logic elements |