SU1677867A1 - Bidirectional counting device - Google Patents
Bidirectional counting device Download PDFInfo
- Publication number
- SU1677867A1 SU1677867A1 SU4447256K SU4447256K SU1677867A1 SU 1677867 A1 SU1677867 A1 SU 1677867A1 SU 4447256 K SU4447256 K SU 4447256K SU 4447256 K SU4447256 K SU 4447256K SU 1677867 A1 SU1677867 A1 SU 1677867A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- bus
- input
- counter
- bits
- inputs
- Prior art date
Links
Landscapes
- Manipulation Of Pulses (AREA)
Abstract
Изобретение относитс к импульсной технике и может быть использовано в автоматике , телемеханике и приборостроении в качестве двоичного реверсивного счетчика с программируемыми весовыми коэффициентами разр дов. Цель изобретени - расширение функциональных возможностей - достигаетс за счет введени коммутаторов 2,1-2.3, шин управлени 7.1-7.3, формировател 3 импульсов записи, содержащего элемент И-НЕ 8, инвертор 9, формирователи 12-14 и имеющего выход б.Устройство также содержит т- разр дный двоичный счетчик 1, входную шину 4, шину 5 управлени реверсом, шину 10 сброса. В предлагаемом устройстве программно измен етс модуль счета путем блокировани младших разр дов счетчика 1 и обеспечени функционировани старших разр дов счетчика 1 в качестве младших разр дов. 1 з.п. ф-лы, 1 ил.The invention relates to a pulse technique and can be used in automation, telemechanics and instrument making as a binary reversing counter with programmable weighting factors of bits. The purpose of the invention — extending the functionality — is achieved by introducing switches 2.1-2.3, control buses 7.1-7.3, a generator of 3 write pulses containing an AND-NE element 8, an inverter 9, drivers 14-14 and having an output. The device also It contains a t-bit binary counter 1, an input bus 4, a reverse control bus 5, a reset bus 10. In the proposed device, the software modifies the counting module by blocking the lower bits of counter 1 and ensuring the functioning of the higher bits of counter 1 as the lower bits. 1 hp f-ly, 1 ill.
Description
Изобретение относится к импульсной технике и может быть использовано в автоматике, телемеханике и приборостроении в качестве двоичного реверсивного счетчика с программируемыми весовыми коэффициентами разрядов.The invention relates to a pulse technique and can be used in automation, telemechanics and instrumentation as a binary reversible counter with programmable discharge weights.
Цель изобретения - расширение функциональных возможностей - достигается за счет введения новых конструктивных признаков, обеспечивающих программное изменение модуля счета и изменение весовых коэффициентов разрядов.The purpose of the invention is the expansion of functionality is achieved through the introduction of new design features that provide a software change in the module account and change the weight coefficients of the discharges.
На чертеже приведена структурная схема реверсивного счетного устройства.The drawing shows a structural diagram of a reversible counting device.
На чертеже обозначены т-разрядный двоичный реверсивный счетчик 1, η коммутаторов 2.1-2.3, формирователь 3 импульсов записи, входная шина 4, шина 5 управления реверсом, выход 6 формирователя 3 импульсов записи, η шин 7.1-7.3 управления, элемент И-НЕ 8, инвертор 9 формирователя 3 импульсов записи, шина 10 сброса, первый, второй, третий и четвертый формирователи 11-14 формирователя 3 импульсов записи.The drawing shows a t-bit binary reverse counter 1, η switches 2.1-2.3, driver 3 write pulses, input bus 4, bus 5 control reverse, output 6 of driver 3 write pulses, η control buses 7.1-7.3, AND-NOT 8 element , the inverter 9 of the shaper 3 of the recording pulses, the reset bus 10, the first, second, third and fourth shapers 11-14 of the shaper 3 of the recording pulses.
Входная шина 4, шина 10 сброса и шина управления реверсом соединены соответственно с тактовым входом, входом сброса и входом управления реверсом т-разрядного двоичного реверсивного счетчика; первый, второй, третий входы и выход 6 формирователя 3 соединены соответственно с шиной 5 управления реверсом, входной шиной 4, шиной 10 сброса и входом управления загрузкой m-разрядного двоичного реверсивного счетчика; шины 7.1-7,3 управления соединены соответственно с управляющими входами коммутаторов 2.1-2.3, первые входы которых, начиная с коммутатора 2.1, соединены соответственно с выходами разрядов двоичного реверсивного счетчика 1, начиная с первого разряда, вторые входы коммутаторов 2.1-2.3 соединены с шиной 5 управления реверсом; выходы коммутаторов 2.1-2.3, начиная с коммутатора 2.1, соединены соответственно с информационными входами разрядов, начиная с первого, двоичного реверсивного счетчика 1, информационный вход каждого из остальных разрядов которого соединен с выходом того же разряда двоичного реверсивного счетчика 1.An input bus 4, a reset bus 10, and a reverse control bus are connected respectively to a clock input, a reset input, and a reverse control input of a t-bit binary counter; the first, second, third inputs and output 6 of the shaper 3 are connected respectively to the reverse control bus 5, the input bus 4, the reset bus 10, and the load control input of the m-bit binary counter; control buses 7.1-7.3 are connected respectively to the control inputs of switches 2.1-2.3, the first inputs of which, starting from switch 2.1, are connected respectively to the outputs of the bits of the binary reversible counter 1, starting from the first bit, the second inputs of switches 2.1-2.3 are connected to the bus 5 reverse control; the outputs of switches 2.1-2.3, starting with switch 2.1, are connected respectively to the information inputs of the bits, starting with the first binary counter counter 1, the information input of each of the other bits of which is connected to the output of the same bit of the binary counter counter 1.
Второй, третий и первый входы формирователя 3 соединены через формирователи 11-13 соответственно с первым, вторым, третьим входами элемента И-НЕ 8, выход которого соединен с выходом 6 формирователя 3 импульсов записи, первый вход которого через инвертор и формирователь 14 соединен с четвертым входом элемента ИНЕ 8.The second, third and first inputs of the shaper 3 are connected through shapers 11-13, respectively, with the first, second, third inputs of the AND-NOT 8 element, the output of which is connected to the output 6 of the shaper 3 of the recording pulses, the first input of which is connected to the fourth through the inverter and shaper 14 input element INE 8.
В качестве формирователей 11-14 могут быть использованы дифцепи.As shapers 11-14, differential chains can be used.
Разряды устройства с первого по п-й являются управляемыми, а старшие разряды - неуправляемыми. Каждый управляемый разряд образован соответствующим разрядом счетчика 1 и соответствующим коммутатором 2. Управление каждым таким разрядом осуществляется по соответствующей шине 7. Управляемый разряд находится во включенном (счетном) режиме, когда на соответствующую шину 7 поступает такой логический уровень, под действием которого соответствующий коммутатор 2 соединяет выход соответствующего разряда счетчика 1 со своим информационным входом. В противном случае разряд находится в отключенном (пассивном) режиме, при этом соответствующий коммутатор 2 соединяет информационный вход соответствующего разряда с сигналом на шине 5 управления реверсом.The device bits from the first to the nth are controllable, and the senior bits are uncontrollable. Each controlled bit is formed by the corresponding bit of the counter 1 and the corresponding switch 2. Each such bit is controlled via the corresponding bus 7. The controlled bit is in the on (counting) mode when a logical level arrives at the corresponding bus 7, under which the corresponding switch 2 connects the output of the corresponding discharge of counter 1 with its information input. Otherwise, the discharge is in the off (passive) mode, while the corresponding switch 2 connects the information input of the corresponding discharge with the signal on the reverse control bus 5.
Неуправляемые старшие разряды счетчика 1 всегда работают в счетном режиме и от разрядов обычного двоичного реверсивного счетчика отличаются толькол тем, что выход каждого из них соединен со своим информационным входом.Uncontrolled high-order bits of counter 1 always work in counting mode and differ from the bits of a conventional binary reverse counter only in that the output of each of them is connected to its information input.
Формирователь 3 импульсов запуска работает следующим образом.Shaper 3 start pulses works as follows.
Импульс на выходе формирователя 3 появляется каждый раз после срабатывания счетчика 1 от каждого очердного тактового импульса по шине 4, но до прихода следующего тактового импульса, после того как действующее на шине 5 значение уровня логического сигнала изменяется на противоположное, после принудительного сброса устройства по шине 10.The pulse at the output of the shaper 3 appears every time after the counter 1 is triggered from each next clock pulse on bus 4, but until the next clock pulse arrives, after the logical signal level value acting on bus 5 is reversed, after the device is reset on bus 10 .
После появления импульса на выходе 6 формирователя 3 состояния всех неуправляемых разрядов счетчика 1 не меняются, поскольку информационные входы этих разрядов соединены с их выходами. Состояния тех управляемых секций устройства, которые находятся во включенном режиме, также не меняются, поскольку в этом режиме включен тот канал коммутатора 2, входящего в каждую из этих секций (разрядов), который подключает информационный вход соответствующего разряда счетчика 1 к его выходу. Во все отключенные управляемые секции записывается логический уровень, поступающий с шины 5 на вторые входы коммутаторов 2.1-2.3 (логическая 1 в режиме сложения, логический ”0 в режиме вычитания).After the appearance of a pulse at the output 6 of the shaper 3, the states of all uncontrolled bits of the counter 1 do not change, since the information inputs of these bits are connected to their outputs. The states of those controlled sections of the device that are in the on mode also do not change, since in this mode the channel of switch 2 included in each of these sections (bits) is turned on, which connects the information input of the corresponding bit of counter 1 to its output. In all disconnected managed sections, the logical level is written from the bus 5 to the second inputs of the switches 2.1-2.3 (logical 1 in addition mode, logical ”0 in subtraction mode).
Устройство работает следующим образом.The device operates as follows.
Предположим, что все управляемые секции устройства находятся во включенном состоянии (счетном режиме). Тогда устройство представляет собой обычный двоичный счетчик. После прихода каждого импульса по шине 4 счетчик 1 изменяет свое состояние и после окончания переходных процессов на выходе формирователя 3 появляется импульс, который переписывает в счетчик его предыдущее состояние.Assume that all managed sections of the device are in the on state (counting mode). Then the device is a regular binary counter. After the arrival of each pulse on the bus 4, the counter 1 changes its state and after the end of the transient processes, a pulse appears at the output of the shaper 3, which transfers its previous state to the counter.
Пусть часть управляющих секций, например две самые младшие, находятся в отключенном состоянии. Допустим также, что устройство работает в режиме сложения (т.е. на шине 5 присутствует логическая 1) и что в исходном состоянии на выходах разрядов счетчика 1 присутствует код 110...0. Тогда с приходом импульса по шине 4 на выходах счетчика 1 устанавливается код 0010...О (счетчик 1 срабатывает по положительному фронту положительного тактового импульса). После окончания первого импульса по шине 4 на выходе 6 формирователя 3 появляется импульс, который производит запись кода 1110...0 в счетчик. После прихода второго импульса по шине 4 в счетчике 1 будет присутствовать кодLet part of the control sections, for example, the two youngest, be in the off state. Let us also assume that the device operates in the addition mode (i.e., logical 1 is present on bus 5) and that in the initial state, the outputs of the bits of counter 1 present a code 110 ... 0. Then, with the arrival of a pulse on bus 4, the code 0010 ... O is set at the outputs of counter 1 (counter 1 is triggered on the positive edge of the positive clock). After the end of the first pulse on the bus 4 at the output 6 of the shaper 3 appears a pulse, which writes the code 1110 ... 0 to the counter. After the second pulse arrives on bus 4, a code 1 will be present in counter 1
11010...0. Аналогичным образом устройство будет функционировать с приходом по шине 4 каждого последующего импульса.11010 ... 0. Similarly, the device will function with the arrival on bus 4 of each subsequent pulse.
Таким образом, в данном примере счетное устройство представляет собой 2т_2разрядный реверсивный двоичный счетчик, младшим разрядом которого (секцией запуска) является третий разряд счетчика 1. а старшим - последний разряд счетчика 1. В данном случае третий разряд счетчика 1 будет иметь двоичный вес 2°.Thus, in this example, the counting device is a 2 t_2 bit reversible binary counter, the least significant bit of which (start section) is the third bit of counter 1. And the highest is the last bit of counter 1. In this case, the third bit of counter 1 will have a binary weight of 2 °.
В режиме вычитания на выходах коммутаторов 2.1-2.2 (неизменено) и на выходах двух младших разрядов счетчика 1 (до прихода тактового импульса) будет присутствовать уровень 0”, затем тактовый сигнал по шине 4 будет устанавливать два младших разряда сначала в 1, а после окончания тактового импульса - в 0.In the subtraction mode, the outputs of the switches 2.1-2.2 (unchanged) and the outputs of the two least significant bits of counter 1 (before the arrival of the clock pulse) will have level 0 ”, then the clock signal on bus 4 will set the two least significant bits first to 1, and after the end clock pulse - at 0.
При поступлении по шине 10 сброса импульса сброса на выходах всех разрядов устанавливается нулевая комбинация. В режиме вычитания состояния разрядов счетчика 1 после окончания импульса по шине 10 не меняются. В режиме сложения и при наличии отключенных секций по окончании импульса по шине 10 счетчик 1 переходит в состояние 1...10...0, так как импульс с выхода формирователя 3 формируется по окончании импульса по шине 10.When a reset pulse is received via bus 10, a zero combination is established at the outputs of all bits. In the mode of subtracting the status of the bits of the counter 1 after the end of the pulse on the bus 10 do not change. In the addition mode and in the presence of disconnected sections at the end of the pulse on the bus 10, the counter 1 switches to the state 1 ... 10 ... 0, since the pulse from the output of the shaper 3 is formed at the end of the pulse on the bus 10.
При изменении режима счета, т.е. при изменении потенциала на шине 5, логиче ские уровни на выходах отключенных секций меняются на противоположные. На выходах остальных разрядов состояния не меняются. Выработанный формирователем 3 импульс записывает в разряды счетчика 1 информацию с выходов устройства (выходы коммутаторов 2 и выходы старших разрядов), обеспечивая его готовность к работе в заданном режиме счета.When changing the account mode, i.e. when the potential on bus 5 changes, the logical levels at the outputs of disconnected sections change to the opposite. At the outputs of the remaining bits, the states do not change. The pulse generated by the shaper 3 writes information from the device outputs (outputs of the switches 2 and outputs of the senior bits) into the bits of the counter 1, ensuring its readiness for operation in a given counting mode.
Claims (2)
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU884447256A SU1677865A1 (en) | 1988-06-24 | 1988-06-24 | Forward-backward counter |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1677867A1 true SU1677867A1 (en) | 1991-09-15 |
Family
ID=21384168
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU884447256A SU1677865A1 (en) | 1988-06-24 | 1988-06-24 | Forward-backward counter |
SU4447256L SU1677866A1 (en) | 1988-06-24 | 1988-06-24 | Bidirectional counting device |
SU4447256K SU1677867A1 (en) | 1988-06-24 | 1988-06-24 | Bidirectional counting device |
Family Applications Before (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU884447256A SU1677865A1 (en) | 1988-06-24 | 1988-06-24 | Forward-backward counter |
SU4447256L SU1677866A1 (en) | 1988-06-24 | 1988-06-24 | Bidirectional counting device |
Country Status (1)
Country | Link |
---|---|
SU (3) | SU1677865A1 (en) |
-
1988
- 1988-06-24 SU SU884447256A patent/SU1677865A1/en active
- 1988-06-24 SU SU4447256L patent/SU1677866A1/en active
- 1988-06-24 SU SU4447256K patent/SU1677867A1/en active
Non-Patent Citations (1)
Title |
---|
Оберман Р.М.М. Счет и счетчики. - М.: Рад.и св.. 1984, с.50, рис.2.27. Трачик В. Дискретные устройства автоматики. - М.: Энерги , 1978, с.341, рис.5.52, а.б. * |
Also Published As
Publication number | Publication date |
---|---|
SU1677866A1 (en) | 1991-09-15 |
SU1677865A1 (en) | 1991-09-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6249676B2 (en) | ||
SU1677867A1 (en) | Bidirectional counting device | |
SU1531172A1 (en) | Parallel asynchronous register | |
SU1201855A1 (en) | Device for comparing binary numbers | |
SU1267614A1 (en) | Counter | |
RU2007861C1 (en) | Reverse binary counter | |
SU1658190A1 (en) | Device for control of monotonically varying code | |
SU993260A1 (en) | Logic control device | |
SU1359888A1 (en) | Pulse generator | |
SU754409A1 (en) | Number comparing device | |
SU1089764A1 (en) | Ring counter | |
SU1188728A1 (en) | Device for implementing boolean functions | |
SU1727127A1 (en) | Device for output of information | |
SU1164728A1 (en) | Transformer of representation form of logic function | |
SU1221743A1 (en) | Controlled pulse repetition frequency divider | |
SU1076950A1 (en) | Shift register | |
SU1338020A1 (en) | M-sequence generator | |
SU1661774A1 (en) | Memory units addressing device | |
RU2030115C1 (en) | Electronic key of morse code | |
SU1081803A1 (en) | Counter | |
SU1383321A1 (en) | Smooth periodic function generator | |
SU1739388A1 (en) | Device for refreshing dynamic memory with free areas | |
SU1168953A1 (en) | Device for forming test excitation | |
SU809397A1 (en) | Storage device with error correction | |
SU1564624A1 (en) | Device for checking logic units |