SU1226478A1 - Device for controlling exchange via bus - Google Patents
Device for controlling exchange via bus Download PDFInfo
- Publication number
- SU1226478A1 SU1226478A1 SU843808871A SU3808871A SU1226478A1 SU 1226478 A1 SU1226478 A1 SU 1226478A1 SU 843808871 A SU843808871 A SU 843808871A SU 3808871 A SU3808871 A SU 3808871A SU 1226478 A1 SU1226478 A1 SU 1226478A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- inputs
- address
- elements
- Prior art date
Links
Landscapes
- Small-Scale Networks (AREA)
Abstract
Изобретение относитс к вычислительной технике и может быть использовано в устройствах управлени обменом информацией между источниками и приемниками, св занными по общей шине передачи данных. Цель изобретени - повышение достоверности функционировани устройства.Это достигаетс за счет введени в устройство счетчика тактов, двух одновибраторов,д вух элементов ИЛИ, трех элементов 2И-ИЛИ, двух дешифраторов, триггера и двух элементов И с соответствующими функциональными св з ми между ними и известными блоками устройства. Устройство обеспечивает управление обменом между внешними устройствами, св занными между собой по общей шине. Каждое внешнее устройство имеет собственный интерфейс, настроенный на определенный код адреса . 1 з.п.ф-лы, 3 ил. С S ел IND to Ob . 00The invention relates to computing and can be used in devices controlling the exchange of information between sources and receivers connected via a common data transmission bus. The purpose of the invention is to increase the reliability of the operation of the device. This is achieved by introducing into the device a clock counter, two single vibrators, two OR elements, three 2I-OR elements, two decoders, a trigger, and two AND elements with corresponding functional connections between them and the known unit blocks. The device provides exchange control between external devices connected to each other via a common bus. Each external device has its own interface that is configured for a specific address code. 1 hp ff, 3 ill. With S ate IND to Ob. 00
Description
Изобретение относитс к вычислительной технике и может быть использовано в устройствах управлени обменом информацией между источниками и приемниками, св занными по общей шине передачи данных.The invention relates to computing and can be used in devices controlling the exchange of information between sources and receivers connected via a common data transmission bus.
Целью изобретени вл етс повыше- ,ние достоверности функционировани .The aim of the invention is to increase the reliability of operation.
На фиг,1 изображена функциональна схема устройства; на фиг,2 - схема управл емого распределител импульсов; на фиг.З - схема блока формировани адреса.Fig, 1 shows a functional diagram of the device; Fig. 2 is a circuit of a controlled pulse distributor; FIG. 3 is a block diagram of the formation of an address.
Устройство содержит генератор 1 импульсов,триггер 2, распределитель 3 импульсов, управл емьй распределитель 4 импульсов, вход-выход 5 кодов управлени устройства, блок 6 формировани адреса, информационный вход- выход 7 устройства, элемент И 8,счетчик 9 тактов, элемент 2И-ИЛИ 10,вход- выход 11 синхроимпульсов устройства,- элемент 2И-ИЛИ 12, триггер 13, элементы ИЛИ 14 и 15, одновибратор 16, дешифратор 17, элемент 2И-ИЛИ 18, дешифратор 19, одновибратор 20, элемен- .ты И 21 и 22. Управл емый распределитель 4 импульсов содержит счетчик 23, группу 24 элементов И, элемент .25 задержки, формирователь 26 импульсов, вьпсод 27 генератора импульсов.The device contains a pulse generator 1, a trigger 2, a pulse distributor 3, a control pulse distributor 4, an input / output 5 control codes of the device, an address generation unit 6, an information input / output 7 device, an element 8, a 9 clock counter, an element 2I- OR 10, input-output 11 device sync pulses, - element 2И-OR 12, trigger 13, elements OR 14 and 15, one-shot 16, decoder 17, element 2-OR 18, decoder 19, one-shot 20, elements AND 21 and 22. Managed dispenser 4 pulses contains a counter 23, a group of 24 elements And, an element .25 delay, shaper 26 pulses, vpsod 27 pulse generator.
Блок 6 формировани адреса содержит первую группу 28 элементов И, шифратор 29, вторую группу 30 элементов И.The address generation unit 6 comprises a first group of 28 elements AND, an encoder 29, a second group of 30 elements I.
Устройство работает следующим образом ..The device works as follows.
К Магистрали подключено два одинаковых устройства управлени обменом, одно из которых управл ет обменом .( вл етс ведущим), а другое резервное (ведомое) работает синхронно с первым.Two identical exchange control devices are connected to the trunk, one of which controls the exchange (is the master), and the other backup (slave) operates synchronously with the first.
При включении питани все элементы устройства, имеющие два устойчивых состо ни , устанавливаютс в исходное (нулевое) состо ние. После этого с выхода генератора 1 импульсы, частота и длительность которых определ ют частоту и длительность передачи кодов управлени , поступают на вход счетчика 9. По истечении т-тактов (,2,.,,) на выходе счетчика 9 формируетс сигнал, который поступает на, первый вход триггера 2 и устанавливает его пр мой выход в единичное положение, Высокий потенциал с пр мого выхода триггера 2 подаетс на второй вход первой группы первого элемента 2И-ИЛИ 10 и разрешает прохождение импульсов на вход-выход 11,Эти импульсы с входа-выхода 11 поступают на входы установки в О элементов 9 ведущего И ведомого устройств и устанавливают их в исходное состо ние, а также поступают на входы запуска управл емых распределителей 4 импульсов ведущего и ведомого устройств и запускают их дл выработки на каждом такте очередного кода управлени ,When the power is turned on, all elements of the device that have two steady states are reset to their original (zero) state. After that, from the output of generator 1, the pulses, the frequency and duration of which determine the frequency and duration of the transmission of control codes, arrive at the input of counter 9. After the t-cycles (, 2, ...) have expired, the output of counter 9 produces a signal that , the first input of the trigger 2 and sets its direct output to a single position, High potential from the direct output of the trigger 2 is fed to the second input of the first group of the first element 2I-OR 10 and allows the passage of pulses to the input-output 11, These pulses from the input- output 11 enter the inputs Settings in G elements 9 master and slave devices and setting them to their original state, and also to the inputs trigger actuated valves 4 pulses of master and slave devices and their trigger to generate at each cycle of the next control code,
Распределитель 3 импульсов вырабатывает признаки адреса в виде импульсов , длительность которых определ ет длительность передачи последовательностей кодов управлени , а частота следовани соответствующего признака адреса определ ет частоту передачи массива последовательностей кода уп- равлени по этому адресу.The pulse distributor 3 generates address characteristics in the form of pulses, the duration of which determines the duration of transmission of control code sequences, and the frequency of the corresponding address indication determines the frequency of transmission of an array of control code sequences at that address.
Установка распределелител 3 импульсов и определенное состо ние осуществл етс сигналом с выхода элемен- та И 22.. Расширитель 3 запускаетс импульсами, поступающими на его вход запуска с выхода переполнени распределител 4, где они вырабатываютс по истечении каждого цикла формировани кодов управлени . Признак со- ответствующего адреса по отдельной линии поступает с выхода распределител 3 в блок 6 формировани адреса, где по признаку К-го кода управлени , поступающего с первого выхода второго дешифратора 19, вырабатываетс требуемый адрес. Признак этого адреса передаетс через первый элемент ИЛИ 14 на третий вход второй группы второго элемента 2И-ИЛИ 12, На выходе этого элемента формируютс импульсы, стро- бирующие информацию, выработанную в распределителе.4 на выход 5, Одновременно импульсы считывани с выхода элемента 2И-ИЛИ 12 поступают на син- хровход блока 6 формировани адреса и происходит вьщача информации на выход 7, При этом выдача текущего адреса на выход 7 осуществл етс только при совпадении во времени импульса считывани и признака К-го кода управлени . На М-1 адресе, который вл етс контрольным дл ведущего устройства , кроме кода этого адреса на выход 7 передаетс и контрольна информаци , вырабатываема в блоке 6 при совпадении во времени признака q-ro кода управлени , поступающего с второго выхода второго дешифратора 19 и признака (М-1)-го адреса, поThe installation of the distributor 3 pulses and a certain state is accomplished by a signal from the output of the element 22. 22. The expander 3 is triggered by pulses arriving at its trigger input from the overflow output of the distributor 4, where they are generated after each control code generation cycle. The sign of the corresponding address on a separate line comes from the output of the distributor 3 to the address generation block 6, where, on the basis of the K-th control code received from the first output of the second decoder 19, the required address is generated. The sign of this address is transmitted through the first element OR 14 to the third input of the second group of the second element 2И-OR 12. At the output of this element, pulses are generated that build information generated in the distributor. 4 to output 5. At the same time, read pulses from the output of element 2I- OR 12 arrive at the synchronous input of the address generation unit 6 and information is output to output 7, wherein the current address is output to output 7 only if the read pulse coincides with the sign of the K-th control code. At the M-1 address, which is the control for the master device, in addition to the code for this address, the control information generated in block 6 when the sign of the control code q-ro arrives from the second output of the second decoder 19 and the sign (M-1) address, according to
ступающего с выхода распределител 3 Считывание кода контрольной информации осуществл етс при совпадении во времени импульсов считывани поступающих с выхода второго элемента 2И-ИПИ 12 и признака (J-ro кода управлени . Таким образом, организуетс работа ведущего контроллера на адресах от первого по М-1-й.the output of the distributor 3 The readout of the control information code is carried out when the read pulses of the output from the output of the second element 2I-IPI 12 and the sign (J-ro control code) coincide in time. Thus, the master controller is organized at the addresses from the first in M-1 th
При выработке распределителем 3 признака М-го адреса, поступающего с его М-го выхода на второй вхо второй группы третьего элемента 2И-ИЛИ 18, у ведущего устройства передним фронтом этого признака переключаетс в единичное состо ние пр мой выход второго триггера 13, формирующий по длительности признак М-го адреса. Признак М-го адреса с пр мого выхода второго триггера 13 поступает на вход признака М-го адреса блока 6, где по признаку 2-го кода управлени вьфабатываетс код М-го адреса. Признак М-го адреса поступает также на второй вход элемента И 8 и через первьй элемент ИЛИ 14 - на третий вход второй группы второго элемента И-ИЛИ 12. На выходе этого элемента формируютс импульсы, стро- бирующие кодовую информацию, вырабо- ;танную в распределителе 4. Эти им- 1пульсы поступают также на синхровход блока 6 дл считывани кода М-го адреса . При поступлении с первого выхода второго дешифратора 19 признака К-го кода управлени на вход элемента И 8 на выходе этого элемента вырабатываетс сигнал, который с задержкой на врем считывани кода М-го адреса запускает одновибратор 16, одиночньй импульс с выхода которого устанавливает первый и второй триггеры 2 и 13 в исходное (нулевое) состо ние . При этом информаци от устройства на выходы 5, 7 и вход-выход 1 не поступает. .When the distributor 3 develops the sign of the M-th address coming from its M-th output to the second input of the second group of the third element 2I-OR 18, the leading device at the leading edge of this sign switches to the single state the direct output of the second flip-flop 13, which forms The duration of the sign of the M-th address. The sign of the M-th address from the direct output of the second flip-flop 13 arrives at the input of the sign of the M-th address of block 6, where, on the basis of the 2nd control code, the code of the M-th address is typed. The sign of the M-th address also enters the second input of the element AND 8 and through the first element OR 14 - to the third input of the second group of the second element AND-OR 12. At the output of this element, pulses are generated that generate the code information produced by distributor 4. These pulses are also fed to the synchronous input of block 6 for reading the code of the M-th address. Upon receipt from the first output of the second decoder 19 of the sign of the K-th control code to the input of the element And 8, the output of this element produces a signal that, with a delay of reading the code of the M-th address, starts the one-shot 16, a single pulse from the output of which sets the first and second triggers 2 and 13 to the initial (zero) state. At the same time, information from the device to outputs 5, 7 and input-output 1 is not received. .
Ведомое устройство принимает по входу-выходу 5 коды управлени , формируемые ведущим устройством, одну из этих последовательностей преобразует дешифратором 17 в импульс, который с первого выхода этого дешифратора подаетс через элемент И 21 на установочный вход распределител 4 и устанавливает его в состо ние, соот- ветствук чее состо нию распределител 4 ведущего устройства.The slave device receives at the input-output 5 control codes generated by the master device, one of these sequences is converted by the decoder 17 into a pulse, which from the first output of this decoder is fed through element 21 to the installation input of the distributor 4 and sets it to the state corresponding to Sponsorship is the state of the distributor 4 of the master device.
Ведомое устройство принимает по входам-выходам 5, 7 и 11 код 1-го адThe slave device receives the inputs 1, 5, 7 and 11 of the code of the 1st ad
00
5five
00
5five
00
5five
00
5five
реса и признака этого адреса, преобразует его дешифратором 17 в импульс, который с второго выхода этого дешифратора подаетс через элемент И 22 на установочньш вход распределител 3 и устанавливает его в состо ние, соответствующее состо нию распределител 3 ведущего устройства. Таким образом осуществл етс циклическа установка распределителей 3 и 4 ведомого устройства в положение,соответствующее положению этих распределителей у ведущего устройства.of the address and the attribute of this address, converts it by decoder 17 into a pulse, which from the second output of this decoder is fed through element I 22 to the installation input of the distributor 3 and sets it to the state corresponding to the state of the distributor 3 of the master device. In this way, the valves 3 and 4 of the slave are cyclically set to the position corresponding to the position of these valves on the master.
Ведомое устройство принимает по входам-выходам 5, 7 и 11 признак и кед М-го адреса, который преобразуетс дешифратором 17 в импульс, посту- пающир с его третьего выхода на второй вход одновибратора 20. По сигналу с выхода дешифратора 17 на выходе одновибратора 20 вырабатываетс одиночный импульс синхронно с импульсом, поступающим на его первый вход от генератора 1, и задержанный относительно заднего фронта этого импульса. Импульс с выхода одновибратора 20 подаетс на первьм вход первой группы третьего элемента 2И-1-ШИ 18 и при нахождении первого триггера 2 в единичном состо нии по инверсному выходу устанавливает второй триггер 13 Б единичное состо ние по пр мому выходу . Сигнал с пр мого выхода триггера 13 поступает на третий вход второй группы первого элемента 2И-ИЛИ 10,- разреша прохождение, с выхода этого элемента импульса на вход-выход 11 и на вход запуска распределител 4.По сигналу с второго выхода дешифратора 1 9 в блоке 6 вырабатываетс код контрольной информации.The slave device accepts the inputs-outputs 5, 7 and 11 of the sign and the cushion of the M-th address, which is converted by the decoder 17 into a pulse, received from its third output to the second input of the one-oscillator 20. By a signal from the output of the decoder 17 at the output of the one-vibrator 20 a single pulse is produced synchronously with the pulse arriving at its first input from generator 1, and delayed relative to the trailing edge of that pulse. The pulse from the output of the one-shot 20 is fed to the first input of the first group of the third element 2I-1-SHI 18 and when the first trigger 2 is in the unit state on the inverse output, the second trigger 13B sets the unit on the forward output. The signal from the direct output of the trigger 13 is fed to the third input of the second group of the first element 2И-OR 10, - allowing passage from this element of the pulse to the input-output 11 and to the trigger input of the distributor 4. By the signal from the second output of the decoder 1 9 in block 6, the control information code is generated.
Сброс второго триггера 13 в исходное состо ние у ведомого устройства осуществл етс импульсом Конец страницы, поступающим с выхода переполнени распределител 4 через второй элемент ИЛИ 15 на второй вход этого триггера. После этого ведомое устройство прекращает передачу информации по входам-выходам .5, 7 и 11, а ведущее устройство по истечении m периодов генератора 1 включаетс в работу.The reset of the second trigger 13 to the initial state at the slave device is effected by a pulse. The end of the page arrives from the overflow output of the distributor 4 through the second element OR 15 to the second input of this trigger. After that, the slave device stops transmitting the information on the inputs-outputs .5, 7, and 11, and the master device enters into operation after m periods of the generator 1.
При выходе из стро ведущего устройства в работу автоматически включаетс ведомое устройство, осуществл вьщачу информации на входы-выходы 5, 7 и 11 по описанному принципу дл ведущего устройства.When the master device goes out of operation, the slave device is automatically switched on, having carried out information on the inputs-outputs 5, 7 and 11 according to the described principle for the master device.
5122647851226478
исключени столкновений ведуведомого устройств по общим выходам 5, 7 и 11 в момент и в работу или при выходе; на ыходы 5, 7 и 11 устройства дл 5 и контрольной информации по есу элемент 9 должен формиросвоем выходе сигнал, эадер- на целое число периодов (Т) ни импульсов от генератора 1 ельно момента запуска элеменпервому входу. При этом заемента 9 должен производитьс ему фронту импульса, поступаюгенератора 1.the elimination of collisions of the device by the common outputs 5, 7 and 11 at the time and in the work or at the exit; On outputs 5, 7 and 11 of the device for 5 and control information on ECU, element 9 should form its output signal, run an integer number of periods (T) or no pulses from the generator at the moment of launching the element to the first input. At the same time, loan 9 must be produced to it by the pulse front, supplied by generator 1.
ведущего устройства число перо реmaster number pen
ус оп хоus op ho
ни ме по ст оп щи и 5 1ДИnone of them on top and 5
10ten
задержки m должно бытьdelay m should be
Ц- ,C-,
- врем задержки распростра-. нени импульсов по входу- выходу 11 от ведущего устройства до ведомого. ведомого устройства число пезадержки т должно быть ,- the delay time is spread-. pulses at input-output 11 from the master to the slave. slave device the number of delayed t should be
вление обменом информацией сточниками и приемниками ини , св занными общей магистосуществл етс кодом управле20the exchange of information by source and receiver related to a common master code implemented by the control
2525
30thirty
ФF
по им эл бл ем че по вы го че ус го че им кл бл М пр кл ме те ве вв ра та тр хо к вх пе и во ть пе вх и му ме воby e-bloom than by uche-uchego im kl blo m prc meme tve v ro t tro x i n i ne i vop ne i m u me n
разр дов. Кроме того, дл различных ВУ (внешних устройств) требуетс различна частота обмена информацией. Цл прив зки управл ющей информации, передаваемой по входу-выходу 5 к определенному массиву, в начале массива по входу-выходу 7 передаетс кодова метка его, котора называетс адресом. Адресное обозначение мае- сива управл ющей информации позвол ет увеличивать число ВУ, подключаемых к магистрали (общей шине).bits In addition, for different slaves (external devices) a different frequency of information exchange is required. The assignment code of the control information transmitted on the input-output 5 to a specific array, at the beginning of the array, on the input-output 7 is transmitted its code label, which is called the address. The address designation of the control information set allows an increase in the number of slaves connected to the trunk (common bus).
При подключении к общей шине двух устройств, один из которых работает в режиме Ведущий, а другой - в режиме Ведомый, синхронизаци генераторов 1 этих устройств не требует- Ь , так как синхронный запуск других функциональньрс узлов в подключенных Устройствах осуществл етс импульсами , поступающими по входу-выходу 11 от ведущего на адресах от первого до М-1-го и на М-м адресе от ведомого устройства. Периодическа уста- новка синхронизируемых узлов ведомого устройства осуществл етс информацией , поступающей от ведущего устWhen two devices are connected to the common bus, one of which operates in the Master mode and the other in the Slave mode, the generators 1 of these devices do not need to be synchronized, since the synchronous start of the other functions of the nodes in the connected Devices is carried out by pulses coming in - output 11 from the master on the addresses from the first to the M-1-st and on the M-th address from the slave device. Periodic installation of the synchronized nodes of the slave device is carried out by information from the master
роиства по входам-выходам 5 и 7 через дешифратор 17 и элементы И 21 и 22.Roads on the inputs-outputs 5 and 7 through the decoder 17 and the elements And 21 and 22.
Какому устройству быть ведущим, устанавливает потребитель, задава определенную задержку сигнала с выхода элемента 9.Which device to be the master, the consumer sets, setting a certain delay of the signal from the output of element 9.
Устройство обеспечивает управление обменом между ВУ, св занными между собой по общей шине. Каждое ВУ, подключенное к общей шине, имеет собственный интерфейс, настроенный на определенный код адреса, поступающий от устройства по входу-выходу 7 и код признака адреса, сопровождаю- 1ДИЙ код адреса по входу-выходу 5,The device provides control of the exchange between the slaves connected to each other via a common bus. Each VU connected to the common bus has its own interface, configured for a specific address code, coming from the device at input-output 7 and the code for the indication of the address, followed by the 1-D address code at input-output 5,
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843808871A SU1226478A1 (en) | 1984-10-31 | 1984-10-31 | Device for controlling exchange via bus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843808871A SU1226478A1 (en) | 1984-10-31 | 1984-10-31 | Device for controlling exchange via bus |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1226478A1 true SU1226478A1 (en) | 1986-04-23 |
Family
ID=21145402
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU843808871A SU1226478A1 (en) | 1984-10-31 | 1984-10-31 | Device for controlling exchange via bus |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1226478A1 (en) |
-
1984
- 1984-10-31 SU SU843808871A patent/SU1226478A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 842778, кл. G 06 F 3/04, 1979. Авторское свидетельство СССР № 605229, кл. G 08 С 19/28, 1976. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0769783B1 (en) | Synchronous semiconductor memory capable of saving a latency with a reduced circuit scale | |
SU1226478A1 (en) | Device for controlling exchange via bus | |
US3946362A (en) | Time division multiple transmission control apparatus | |
US4466097A (en) | Control signal-multiplexing circuit | |
US4386426A (en) | Data transmission system | |
US5005193A (en) | Clock pulse generating circuits | |
US3510784A (en) | Convertible timing circuit | |
SU1083349A1 (en) | Pulse shaper | |
SU1381529A1 (en) | Trunk line exchange controller | |
SU1195430A2 (en) | Device for generating time intervals | |
SU1190491A1 (en) | Single pulse generator | |
SU1322321A1 (en) | Interface for linking peripheral device with digital computer | |
SU1190492A1 (en) | Pulse shaper | |
SU1626343A1 (en) | Pulse burst generator | |
SU1714607A1 (en) | Backup multichannel clock pulse generator | |
SU1287138A1 (en) | Device for synchronizing computer system | |
KR0140303B1 (en) | Circuit for indicating d-channel state of radio fixed port | |
RU1811003C (en) | Device for separating pulses | |
SU748870A1 (en) | Decoder | |
JP2745775B2 (en) | Synchronous operation compatible measuring device | |
SU1732447A1 (en) | Device for formation of signals | |
SU894862A1 (en) | Multiphase signal shaper | |
SU1448397A1 (en) | Timing arrangement | |
SU1196830A1 (en) | Polyphase pulsed stabilizer | |
SU877538A1 (en) | Memory unit control device |