Przedmiotem wynalazku jest pamiec dla ukladów elektronicznych, dzialajaca przy zaniku napiecia zasilajacego, przeznaczona zwlaszcza do ukladów automatycznego sterowania urzadzen przemy¬ slowych.Stan techniki. Uklady elektroniczne, zawierajace przerzutniki, sa wrazliwe na zanik napiecia zasilajacego.Po powrocie takiego napiecia nie ma mozwlisci odtworzenia stanu przerzutników sprzed zaniku napiecia.W znanych dotychczas ukladach stosuje sie zabezpieczenie ciaglosci zasilania w postaci zródel rezerowowych lub zródel zasilania o specjalnej konstrukcji niewrazliwych na krótkotrwale zaniki napiecia. Znane sa tez przerzutniki zawierajace magnetyczne pamieci rdzeniowe.Stosowanie zródel rezerwowych lub zródel o specjalnych rozwiazaniach prowadzi do znacznej rozbudowy ukladów, natomiast przerzutniki z magnetycznymi pamieciami rdzeniowymi sa wrazliwe na ksztalt zanikajacego napiecia imaja niska odpornosc na zaklócenia. Brak jest dotychczas sposobów ochrony przerzutników przed skutkami zaniku napiecia, nadajacych sie do stosowania w ukladach automatycznego sterowania urzadzen przemyslowych, zawierajacych od kilku do kilkudziesieciu przerzutników i narazonych na czeste, niekiedy dlugotrwale zaniki napiecia.Istota wynalazku. W pamieci dla ukladów elektronicznych sluzacej do ochrony stanu przerzutników przy zaniku napiecia, wyjscia proste kazdego chronionego przerzutnika jest polaczone bezposrednio lub poprzez wzmacniacz z cewka zalaczajaca przekaznika bistabilnego dwucewkowego, której drugie wyprowadzenie jest polaczone z wyjsciem detektora zaniku napiecia zasilajacego przemiennego. Zestyk przekaznika bistabilnego jest wlaczany miedzy wejscie ustawiajace przerzutnika i detektor pojawienia sie napiecia lub zródlo sygnalu ustawienia przerzutników w stanie sprzed zaniku napiecia.Rozwiazanie wedlug wynalazku umozliwia powrót ukladu do stanu sprzed zaniku napiecia zasilajacego i kontynuowanie procesu sterowania, eliminujac jednoczesnie koniecznosc stosowania specjalnych zródel zasilania lub specjalnego wykonywstwa elementów pamieciowych.2 98 566 Przyklad wykonania. Przedmiot wynalazku uwidoczniono w przykladzie wykonania na rysunku przedsta¬ wiajacym schemat ideowy pamieci ukladu elektronicznego dzialajacego przy zaniku napiecia zasilajacego.Jak uwidoczniono na rysunku, pamiec dzialajaca przy zaniku napiecia sklada sie z okreslonej (niezbednej dla danego ukladu) ilosci przekazników bistabilnych PI ...Pn, takiej samej ilosci przerzutników bistabilnych PB1 ... PBn i wzmacniaczy WP1 ... WPn i WZ1 ... WZn oraz detektora zaniku napiecia DZN, detektora pojawienia sie napiecia DPN i zasilacza Z, przy czym wyjscie proste kazdego przerzutnika PI ... Pn jest polaczone poprzez odpowiedni wzmacniacz WP1 ... WPn z koncem cewki zalaczajacej odpowiedni przekaznik PI ... Pn a wyjscie zanegowane jest polaczone poprzez odpowiedni wzmacniacz WZ1 ... WZn z jednym koncem cewki wylaczajacej przekaznik PI ... Pn. Drugie konce cewek wszystkich przekazników PI ... Pn sa polaczone razem i przylaczone do detektora zaniku napiecia DZN. Styki przekazników PI ... Pn sa wlaczone miedzy wejscia ustawiajace odpowiednich przerzutników PB1 ... PBn i wyjscie detektora pojawienia sie napiecia DPN. Wejscie detektora zaniku napiecia DZN jest przylaczone do sieci zasilajacej, a wejscie detektora pojawienia sie napiecia DPN do wyjscia zasilacza Z.W czasie normalnej pracy cewki przekazników bistabilnych sa bez napiecia, a ich styki znajduja sie w dowolnych polozeniach. Przy zaniku przemiennego napiecia zasilajacego dziala detektor zaniku napiecia DZN i zamyka obwody cewek przekazników. Na cewkach zwiazanych z wyjsciami przerzutników, na których w momencie zaniku napiecia przemiennego wystepuje sygnal logiczny „1" pojawia sie napiecie, które z kolei powoduje ustawienie styków przekazników w stanach odpowiadajacych stanom przerzutników to znaczy jesli przerzutnik PB1 byl w stanie „1", to zestyk przekaznika PI jest zamkniety i odwrotnie jesli przerzutnik PB1 byl w stanie „0", to zestyk przekaznika PI jest otwarty. Po ponownym pojawieniu sie napiecia na wyjsciu detektora pojawienia sie napiecia DPN pojawia sie impuls, który poprzez zamkniete zestyki przekazników PI ... Pn ject podawany na wejscia ustawiajace przerzutników PB1 ... PBn powodujac ich ustawienie sie w stanie, jak przed zanikiem napiecia.Jezeli uklad jest kazdorazowo zerowany po pojawieniu sie napiecia stalego, to nie zachodzi koniecznosc stosowania polaczen cewek otwierajacych z przerzutnikami, lecz przekazniki otwiera sie sygnalem niezaleznym po zalaczeniu napiecia.W przypadku niepozadanego powrotu samoczynnego do pracy po powrocie napiecia, uklad jest uruchamia¬ ny recznie, przy czym zamiast detektora pojawienie sie napiecia stosuje sie reczne podawanie napiecia na zestyki przekazników.W typowych rozwiazaniach zasilaczy opóznienie zaniku napiecia stalego wzgledem zaniku zasilajacego napiecia przemiennego jest wystarczajace dla zadzialania detektora zaniku napiecia i zadzialania przekazników bistabilnych. PLThe subject of the invention is a memory for electronic systems, operating in the event of a power failure, intended especially for automatic control systems of industrial devices. State of the art. Electronic systems containing flip-flops are sensitive to power loss. After such voltage is restored, it is not possible to restore the state of the flip-flops before the voltage failure. Known systems are used to protect the continuity of power in the form of backup sources or power sources with a special design, insensitive to short-term losses tension. Flip-flops with magnetic core memories are also known. The use of backup sources or sources with special solutions leads to a significant expansion of the circuits, while flip-flops with magnetic core memories are sensitive to the shape of voltage decaying and have a low resistance to interference. So far, there are no methods of protecting flip-flops against the effects of voltage decay, suitable for use in automatic control systems of industrial devices, containing from several to several dozen flip-flops and exposed to frequent, sometimes long-lasting power outages. The essence of the invention. In the memory for electronic circuits used to protect the condition of flip-flops in the event of a voltage failure, the straight outputs of each protected flip-flop are connected directly or through an amplifier to the coil that connects a bi-coil bistable relay, the second output of which is connected to the output of the AC power failure detector. The contact of a bistable relay is connected between the setting input of the flip-flop and the voltage detector or the source of the flip-flops setting signal in the state before the voltage failure. The solution according to the invention allows the system to return to the state before the power failure and continuation of the control process, eliminating the need for special power supply special workmanship of memory elements. 2 98 566 Example of execution. The subject of the invention is shown in the example of the implementation in the drawing showing the schematic diagram of the memory of the electronic system operating in the event of a power outage. As shown in the figure, the memory operating in the event of a power outage consists of a specific (necessary for a given system) number of bistable transmitters PI ... , the same number of bistable flip-flops PB1 ... PBn and amplifiers WP1 ... WPn and WZ1 ... WZn as well as a voltage loss detector DZN, a voltage detection detector DPN and a power supply Z, with the straight output of each PI ... Pn flip-flop is connected via the appropriate amplifier WP1 ... WPn with the end of the coil switching on the relevant PI ... Pn relay and the inverse output is connected through the appropriate amplifier WZ1 ... WZn with one end of the coil switching off the relay PI ... Pn. The other ends of the coils of all PI ... Pn relays are connected together and connected to the DZN decay detector. The contacts of PI ... Pn relays are connected between the setting inputs of the respective PB1 ... PBn flip-flops and the output of the detector of voltage appearance DPN. The input of the voltage decay detector DZN is connected to the supply network, and the input of the voltage appearance detector DPN to the output of the power supply Z. During normal operation, the coils of bistable relays are without voltage, and their contacts are in any position. In the event of AC power failure, the DZN voltage decay detector operates and closes the relay coil circuits. On the coils associated with the outputs of the flip-flops, on which the logic signal "1" appears at the moment of the AC voltage decay, voltage appears, which in turn causes the setting of the relay contacts in the states corresponding to the flip-flops states, i.e. if the PB1 flip-flop was in the "1" state, then the contact of the PI relay is closed and vice versa, if the PB1 trigger was in the "0" state, the contact of the PI relay is open. After the voltage reappears at the output of the detector of voltage occurrence DPN, an impulse appears, which through the closed contacts of PI relays ... Pn ject supplied to the setting inputs of the PB1 ... PBn flip-flops, causing them to set themselves in the state as before the voltage decay. If the system is reset each time after the appearance of DC voltage, it is not necessary to use connections of the opening coils with the flip-flops, but the relays open with an independent signal after switching on the voltage When the voltage is restored, the system is started manually, but instead of a voltage detector, a manual voltage supply to the relay contacts is used. In typical power supply solutions, the delay of DC voltage decay in relation to the AC supply failure is sufficient for the operation of the voltage decay detector and operation of bistable relays. PL