SU1434419A1 - Information input device - Google Patents
Information input device Download PDFInfo
- Publication number
- SU1434419A1 SU1434419A1 SU874219933A SU4219933A SU1434419A1 SU 1434419 A1 SU1434419 A1 SU 1434419A1 SU 874219933 A SU874219933 A SU 874219933A SU 4219933 A SU4219933 A SU 4219933A SU 1434419 A1 SU1434419 A1 SU 1434419A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- information
- register
- output
- state
- Prior art date
Links
Landscapes
- Control By Computers (AREA)
Abstract
Изобретение относитс к автоматике и вычислительной технике и может быть использовано дл ввода информации от дискретных датчиков в системы управлени , работаклцие в реальном масштабе времени. Цель изобретени - повышение надежности устройства . Устройство содержит два регистра сдвига 2, 3, элемент ИСКПЮЧАНЖ1ЕЕ ИЛИ 4, элемент И-НЕ 5, генератор 6, элемент И 7, счетчик 8. Регистр 2 выполн ет функцию последовательной коммутации входных сигналов. Регистр 3 вл етс пам тью состо ни датчиков на предыдущем цикле опроса. В режиме начальной установки в регистры 2 и 3 заноситс информаци о двух последовательных состо ни х датчиков 1. В измерительном режиме элемент ИСКЛЮЧАЮЩЕЕ ИЛИ 4 производит побитное сравнение содержимого регистров сдвига 2 и 3. При обнаружении изменени состо ни какого-либо датчика дальнейший сдвиг информации регистров 2 и 3 блокируетс и выдаетс требование прерывани на шину 12, на шинах 9 и 10 выставл ютс номер сработавшего датчика н его состо ние соответственно . После считывани информации циклический контроль состо ни датчиков возобновл етс . 3 ил. i О) 4i 00 СОThe invention relates to automation and computing and can be used to enter information from discrete sensors into control systems, working in real time. The purpose of the invention is to increase the reliability of the device. The device contains two shift registers 2, 3, the element INCR. 1 or 4, the element AND-NOT 5, the generator 6, the element 7, the counter 8. The register 2 performs the function of sequential switching of the input signals. Register 3 is a memory of the state of the sensors on the previous polling cycle. In the initial setup mode, registers 2 and 3 enter information about two consecutive states of sensors 1. In measuring mode, the EXCLUSIVE OR 4 element performs a bitwise comparison of the contents of shift registers 2 and 3. When a change in the state of any sensor is detected, further shift of the register information 2 and 3 is blocked and an interrupt request is issued to bus 12; tires 9 and 10 exhibit the number of the activated sensor and its status, respectively. After reading the information, the cyclic monitoring of the state of the sensors is resumed. 3 il. i O) 4i 00 CO
Description
Изобретение относитс к автомати ке и вычислительной технике и может быть использовано дл ввода информации от дискретных датчиков в системы управлени , работающие в реальном маштабе времени.The invention relates to automation and computing and can be used to enter information from discrete sensors into live control systems.
Цель изобретени - повышение надежности устройства.The purpose of the invention is to increase the reliability of the device.
На фиг.1 приведена функциональна схема устройства; на фиг.2 - схема управл емого генератора на фиг.З - временные диаграммы, иллюстрирующие работу управл емого генератора.Figure 1 shows the functional diagram of the device; Fig. 2 is a diagram of the controlled generator; in Fig. 3, timing diagrams illustrating the operation of the controlled generator.
Устройство содержит блок 1 дискре ных датчиков, сдвигающие регистры 2 и 3, элемент ИСКЛЮЧАЮЩЕЕ ИЛИ 4, элемент И-НЕ 5, генератор 6 импульсов, элемент И 7, двоичный счетчик 8, адресные выходы 9 устройства, информа- ционный выход 10 устройства4 входы (шины) сигналов начальной установки 11, требовани прерывани 12 и предоставлени прерывани 13 устройстваThe device contains a block of 1 discrete sensors, shifting registers 2 and 3, the element EXCLUSIVE OR 4, the element AND-NOT 5, the generator of 6 pulses, the element AND 7, the binary counter 8, the address outputs 9 of the device, the information output 10 of the device 4 inputs ( bus) signals initial setup 11, the requirement of interruption 12 and the provision of interrupt 13 device
Устройство работает следукндим об- разом,The device works as follows.
В исходном состо нии на шинах 11 и 13 присутствуют потенциалы 1. Перед -началом работы по шине 11 изIn the initial state, tires 11 and 13 contain potentials 1. Before starting the work on bus 11 of
системы управлени поступает командаmanagement system enters the command
Начальна установка в виде импульса О. При ртом на выходе элемента И-НЕ 5 формируетс потенциал 1, который поступает на управл ющий вход генератора 6. При наличии потен циалов 1 на двух управл ющих вхо- дах генератор 6 вырабатывает тактовые импульсы с частотой fQ, которые через элемент И 7 поступают на счетный вход счетчика 8, число разр дов п + 1 которого определ етс из услови ; К .2, где К - количество датчиков блока 1,The initial setup is in the form of a pulse O. With a mouth, a potential 1 is formed at the output of the element NE-5, which is fed to the control input of the generator 6. If there are potentials 1 on the two control inputs, the generator 6 produces clock pulses with a frequency fQ, which, through the element 7, arrive at the counting input of the counter 8, the number of bits n + 1 of which is determined from the condition; K.2, where K is the number of sensors of unit 1,
При переполнении счетчика 8 потен циал 1 поступает на вход разрешени установки регистра 2; При этом счетчик 8 устанавливаетс в О, а в регистр 2 записываетс информаци о состо нии дискретньт датчиков бло- ка 1. По каждому тактовому импульсу, поступающему с выхода элемента И 7 на входы синхронизации регистров 2 и 3, информаци о состо нии датчиков блока 1 сдвигаетс из регистра 2 в регистр 3. При.переполнешда счетчика 8 в регистр 2 будет занесена нова информаци о состо нии дискретных датчиков блока 1When the counter 8 overflows, potential 1 enters the enable input of the register 2 setup; In this case, the counter 8 is set to O, and the register 2 records information about the state of discrete sensors of block 1. For each clock pulse coming from the output of element And 7 to the synchronization inputs of registers 2 and 3, information about the state of the sensors of block 1 shifts from register 2 to register 3. Upon the overflow of counter 8, a new information on the state of discrete sensors of block 1 will be entered into register 2
0 0
З 0 H 0
00
5 0 50
Q Q
После сн ти команды Начальна установка, длительность Т которой доллша быть N 2fc(n + 1), устройство- готово к работе и автоматически по каждому тактовому импульсу, поступившего с выхода генератора 6, на элементе ИСКЛЮЧАЮЩЕЕ ИЛИ 4 поразр дно сравниваютс значени состо ни датчиковS занесенные в регистр 3 на предьщущем цикле, с новой информацией о состо нии датчиков.After the removal of the Initial Setup command, the duration T of which is to be N 2fc (n + 1), the device is ready for operation and automatically for each clock pulse received from the output of generator 6, on the EXCLUSIVE OR 4 element, the state of the sensors is compared one by one entered in register 3 on the previous cycle, with new information on the state of the sensors.
При изменении состо ни какого- либо датчика блока 1 нова информаци по окончании очередного цикла поступает в регистр 2. При сравнении разр дов регистров 2 и 3 с измененным состо нием датчика на выходе элемента 4 формируетс потенциал 1, . привод щий к формированию на выходе элемента И-НЕ 5 потенциала О, который останавливает генератор 6 и одновременно по шине 12 поступает в систему управлени , информиру об изменении состо ни контролируемого объекта . При этом на шинах Ю и 13 выставлены информаци соответственно о текущем состо нии датчика и его пор дковый номер.When the state of a sensor of block 1 changes, new information at the end of the next cycle enters register 2. When comparing the bits of registers 2 and 3 with the changed state of the sensor, potential 1 is formed at the output of element 4. resulting in the formation at the output of an AND-HE element 5 a potential O, which stops the generator 6 and simultaneously via the bus 12 enters the control system, informing about the change in the state of the monitored object. At the same time, information on the current state of the sensor and its sequence number are displayed on the buses Yu and 13, respectively.
При считывании информации система управлени формирует на шине 13 управл ющий сигнал в виде потенциала О, длительность которого определ етс временем, необходимым дл считывани информации. После окончани считывани информации на выходе элемента И 7 формируетс положительный перепад перехода из состо ни О в состо ние 1, по которому в счетчик 8 записываетс номер следую- ifltero датчика , а на входы элемента (ИСКЛЮЧАЮЩЕЕ или 4 поступают из регистров 2 и 3 данные дп анализа состо ни этого датчика блока 1. Если (не было изменени состо ни датчика, то на выходе элемента ИСКПЮЧАНЩЕЕ ИЛИ 4 формируетс потенциал О, который вызывает по вление 1 на выходе элемента И-НЕ 5 и запуск генератора 6. Требование прерывани на шине 12 при этом не выставл етс .When reading information, the control system generates on the bus 13 a control signal in the form of a potential O, the duration of which is determined by the time required for reading the information. Upon completion of reading the information at the output of the element 7, a positive transition of the transition from state o to state 1 is formed, according to which the number of the next sensor is written to counter 8 and the input of the element (EXCLUSIVE or 4 comes from registers 2 and 3) analyzing the state of this sensor of block 1. If (there was no change in the state of the sensor, then at the output of the EXTENDED OR 4 element a potential O is formed, which causes the appearance of 1 at the output of the element AND-NOT 5 and the start of the generator 6. Requirement of interruption on the bus 12 neither are you is put.
Генератор 6 (фиг.2) формирует на выходе импульсы, задержанные на половину периода генерируемой частоты относительно момента подачи второго разрешающего импульса на один из входов . Все генерируемые на выходе импульсы (фиг.З) имеют одинаковую длительность . Если разрешающий сигналThe generator 6 (FIG. 2) generates pulses at the output that are delayed by half the period of the generated frequency relative to the moment when the second enabling pulse is applied to one of the inputs. All the generated pulses (fig.Z) have the same duration. If the enable signal
на одном из входов генератора 6 снимаетс раньше окончани очередного импульса, последний формируетс полностью . При отсутствии на входах раз- решающих сигналов на выходе устанавливаетс потенциал..at one of the inputs of the generator 6 is removed before the end of the next pulse, the latter is formed completely. If there are no permit signals at the inputs, a potential is established at the output.
Таким образом, предлагаемое устройство в каждом цикле работы обновл ет информацию в регистрах и при лю- бом изменении состо ни дискретных датчиков вырабатывает сигнал об этом фиксирует пор дковый номер датчика, изменившего состо ние, и новое положение датчика. Контроль изменени сое- то ни датчиков производитс с помощью двух регистров сдвига и элемента ИСКПЮЧАЩЕЕ ИЛИ. Это позвол ет упростить алгоритм работы устройства, т.е. повысить его надежность.Thus, the proposed device, in each work cycle, updates information in the registers and, at any change in the state of discrete sensors, generates a signal about this fixes the sequence number of the sensor that changed state and the new position of the sensor. The change control of the sensor is performed using two shift registers and the EXTinct OR element. This allows us to simplify the algorithm of the device, i.e. increase its reliability.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874219933A SU1434419A1 (en) | 1987-04-01 | 1987-04-01 | Information input device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874219933A SU1434419A1 (en) | 1987-04-01 | 1987-04-01 | Information input device |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1434419A1 true SU1434419A1 (en) | 1988-10-30 |
Family
ID=21294650
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU874219933A SU1434419A1 (en) | 1987-04-01 | 1987-04-01 | Information input device |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1434419A1 (en) |
-
1987
- 1987-04-01 SU SU874219933A patent/SU1434419A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 656078, кл . G 06 F 3/00, 1979. Авторское свидетельство СССР № 1201842, кл. G 06 F 13/00, 1984. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1434419A1 (en) | Information input device | |
SU1359904A1 (en) | Device for checking binary counters with consecutive input of information | |
SU1642472A1 (en) | Device for checking the sequence of operatorъs actions | |
SU1691827A1 (en) | Device to input data from two-way transducers | |
SU1515176A1 (en) | Device for monitoring temperature | |
SU1451832A1 (en) | Variable-frequency pulser | |
JPH0370314A (en) | Clock disconnection detection circuit | |
SU1418656A1 (en) | Switching device for controlling a stepping motor | |
SU809345A1 (en) | Storage unit control device | |
SU1405060A1 (en) | Test generator | |
SU1553976A2 (en) | Device for checking condition of digital objects | |
SU1370754A1 (en) | Pulse monitoring device | |
SU1653154A1 (en) | Frequency divider | |
SU1640822A1 (en) | Frequency-to-code converter | |
SU1280600A1 (en) | Information input device | |
RU28263U1 (en) | SIGNATURE ANALYZER WITH RECOGNITION UNIT | |
SU993260A1 (en) | Logic control device | |
SU1377858A1 (en) | Device for recording failures | |
SU1461230A1 (en) | Device for checking parameters of object | |
SU1525889A1 (en) | Device for monitoring pulse sequence | |
SU1129723A1 (en) | Device for forming pulse sequences | |
SU1167521A1 (en) | Device for short-time averaging of frequency signals | |
SU1354194A1 (en) | Signature analyser | |
SU1322446A1 (en) | Device for checking pulse trains | |
SU411484A1 (en) |