SU1142822A1 - Timer - Google Patents
Timer Download PDFInfo
- Publication number
- SU1142822A1 SU1142822A1 SU833654838A SU3654838A SU1142822A1 SU 1142822 A1 SU1142822 A1 SU 1142822A1 SU 833654838 A SU833654838 A SU 833654838A SU 3654838 A SU3654838 A SU 3654838A SU 1142822 A1 SU1142822 A1 SU 1142822A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- timer
- group
- counter
- Prior art date
Links
Landscapes
- Microcomputers (AREA)
Abstract
1. ТАЙМЕР, содержащий тактовый генератор, два--регистра, формирователь сигнала перезаписи, счетчик , элемент И-НЕ причем группа информационных входов таймера соепинена с группой информационных вхопов первого регистра и с группой информационных входов второго регистра управл ющий вход первого регистра соединен с первым входом формировател сигнала перезаписи и вл етс входом разрешени записи данных таймера группа выходов первого регистра соединена с группой информационных входов счетчика j уйравл ющий вход которого соединен с выходом формировател сигнала перезаписи второй вход которого соединен с выходом переполнени счетчика , выход элемента И-НЕ вл етс выходом сигнала ответа таймера, управл ющий вход второго регистра вл етс входом разрешени записи команд таймера, отличающийс тем, что, с целью расширени его функциональных возможностей за счет обеспечени достоверности с,читьшани информации во врем счета, в таймер введены мультиплексор, формирователь счетного импульса и элемент НЕ, причем группа выходов счетчика вл етс группой информационных выходов таймера, выход переполнени счетчика вл етс выходом прерывани таймера, выход тактового генератора соединен с первым .информационным входом мультиплексора , второй информационный вход которого вл етс входом внешнего тактового сигнала таймера, группа выходов второго регистра вл етс группой управл ющих входов мультиW плексора, выход которого соединен с первым входом формировател счетного импульса, второй вход которого соединен с входом элемента НЕ и вл етс входом .разрешени чтени таймера , вьрсод элемента НЕ соединен с первым входом элемента И-НЕ, второй вход которого соединен с выходом х формировател счетного импульса и со счетным входом счетчика. 2. Таймер по п.1, отличаю д кэ щийс тем, что формирователь счетного импульса содержит три элемента И-НЕ и одновибратор, причем первый вход формировател счетного импульса соединен с первым входом первого элемента И-НЕ, второй вход которого соединен с первым входом второго элемента И-НЕ и вл етс вторым входом формировател счетного импульса, второй вход второго элемента И-НЕ соединен с выходом третьего элемента И-НЕ, выход второго элемента И-НЕ соединен с пер1. TIMER containing a clock generator, two - registers, rewriter shaper, counter, NAND element, the group of information inputs of the timer is connected with the group of information inputs of the first register and the group of information inputs of the second register control input of the first register connected to the first the input of the rewrite signal generator and is the input for recording the timer data; the group of outputs of the first register is connected to the group of information inputs of the counter j whose input is connected With the output of the rewrite signal generator, the second input of which is connected to the counter overflow output, the output of the NAND element is the output of the timer response signal, the control input of the second register is the input of the recording resolution of the timer commands, characterized in that by ensuring the reliability of the information reading during the counting, the multiplexer, the counting pulse generator and the NOT element are entered into the timer, and the group of outputs of the counter is an information group timer outputs, the counter overflow output is the timer interrupt output, the clock generator output is connected to the first information input of the multiplexer, the second information input of which is the timer external clock signal input, the second register output group is the multiplexer control input group, the output which is connected to the first input of the counting pulse generator, the second input of which is connected to the input of the element NOT and is the input of the readout resolution of the timer, The unit is NOT connected to the first input of the NAND element, the second input of which is connected to the output x of the counting pulse generator and to the counting input of the counter. 2. The timer according to claim 1, characterized by the fact that the counting pulse shaper contains three AND-NOT elements and a one-shot, the first input of the counting pulse shaper is connected to the first input of the first IS-NOT element, the second input of which is connected to the first input The second element is NAND and is the second input of the counting pulse generator, the second input of the second element NAND is connected to the output of the third element NAND, the output of the second element NAND is connected to
Description
вым входом третьего элемента И-НЕ и с входом одновибратора, выход которого вл етс выходом формировател счетного импульса, вькод первого элемента И-НЕ соединен с вторым входом третьего элемента И-НЕ.The third input of the IS-NE and with the input of the one-shot, the output of which is the output of the counting pulse former, the code of the first AND-NO is connected to the second input of the third AND-NOT.
Изобретение относитс к вычислительной технике и может быть использовано .в управл ющих вйчислительных системах дл обеспечени работы в реальном масштабе времени.The invention relates to computing and can be used in control number systems for real-time operation.
Известен таймер, содержащий регистр прерывани , микропроцессор, программируемый счетчик, счетчик, причем выход первого счетчика соединен с входом программируемого счет чика, синхровход которого соединен с синхровходом таймера, информационные входы программируемого счетчика вл ютс информационными входами таймера, выход перепсшнени программируемого счетчика соединен с управл ющим входом регистра прерывани микропроцессора, информационные входы счетчика и регистра прерывани вл ютс информационными входами таймера (jj .A timer containing an interrupt register, a microprocessor, a programmable counter, a counter is known, the output of the first counter is connected to the input of a programmable counter, the synchronous input of which is connected to the synchronous input of the timer, the information inputs of the programmable counter are the information inputs of the programmable counter, the output of the programmable counter transition is connected to the control the microprocessor interrupt register input, the information inputs of the counter, and the interrupt register are information inputs of the timer (jj.
Недостатком известного устройства вл етс возможность формировани только одной временной циклограммы.A disadvantage of the known device is the possibility of forming only one time sequence diagram.
Наиболее с-лизким по технической сущности к предложенному вл етс таймер, содержащий генератор; два регистра , счетчик, элементы И-НЕ, формирователь сигнала перезаписи, причем информационные входы первого и второго регистров вл ютс соответственно информационными входами таймера , выходы первого регистра соединены соответственно с первыми входа ш элементов И-НЕ, вторые входы которых соединены с вькодом переполнени счетчика, выходы элементов И-НЕ вл ютс соответственно выходами таймера , первый вход формировател сигнала перезаписи соединен с входом записи таймера, второй вход формировател сигнала перезаписи соединен с выходом переполнени счетчика и входом останова генератора, выход формировател сигнала перезаписи соединён с.входом записи счетчика, входом записи второго регистра, входом запуска генератора и выходом прерывани таймера pj.The most technical to the proposed is a timer containing a generator; two registers, a counter, AND-NOT elements, a rewriter shaper, and the information inputs of the first and second registers are respectively the information inputs of the timer, the outputs of the first register are connected respectively to the first inputs of the W-NOT elements, the second inputs of which are connected to the counter overflow code The outputs of the NAND elements are respectively the timer outputs, the first input of the overwrite signal generator is connected to the timer record input, the second input of the rewriter signal generator is connected to stroke overflow counter and the input of the generator shutdown output signal shaper is connected s.vhodom overwrite recording counter, recording the second input register, input trigger and the output of the generator pj timer interrupt.
Недостатком этого устройства вл етс невозможность считывани информации из счетчика во врем счета.A disadvantage of this device is the inability to read information from the counter during counting.
Цель изобретени - расширение функциональных возможностейза счет обеспечени достоверности считывани информации во врем счета.The purpose of the invention is to enhance the functionality by ensuring the reliability of reading information during the counting.
Поставленна цель достигаетс The goal is achieved
тем, что в таймер, содержащий тактовьш генератор, два регистра, формирователь сигнала перезаписи, счетчик , элемент И-НЕ, причем группаthe fact that the timer containing the clock generator, two registers, the overwriting signal generator, the counter, the element AND-NOT, and the group
информационных входов таймера соединена с группой информационных входов первого регистра и с группой информационных входов второго регистра, управл ющий вход первого регистра timer information inputs connected to the first register information inputs group and the second register information inputs group that controls the first register input
соединен с первым входом формировател сигнала перезаписи и вл етс входом разрешени записи данных таймера , группа выходов первого регистра соединена с группой информационных входов счетчика, управл ющийconnected to the first input of the rewrite signal generator and is the enable input of the timer data recording, the group of outputs of the first register is connected to the group of information inputs of the counter, which controls
вход которого соединен с выходом формировател сигнала перезаписи, второй вход которого соединен с выходом переполнени счетчика, выход элемента И-НЕ вл етс выходом сигнала ответа таймера, управл ющий вход втог рого регистра вл етс входом разрещени записи команд таймера, .введен мультиплексор, формировательthe input of which is connected to the output of the rewriting signal generator, the second input of which is connected to the overflow output of the counter, the output of the NAND element is the output of the timer response signal, the control input of the second register is the input of the recording resolution of the timer commands, the multiplexer is inserted, the driver
счетного импульса и элемент НЕ, причем группа выходов счетчика вл етс группой информационных выходов таймера, выход переполнени счетчика вл етс выходом прерывани таймера , выход тактового генератора сое динен с первым информационным входом мультиплексора, второй информационный вход которого вл етс входом внешнего тактового сигнала таймера , группа выходов второго регистра вл етс группой управл ющих входов мультиплексора, выход которого соединен с первым входом формировател счетного импульса, второй вход которого соединен с входом, элемента НЕ и вл етс входом разрешени чте ни таймера, выход элемента НЕ соедивен с первым входом элемента И-НЕ второй вход которого соединен с выходом формировател счетного импуль са и со счетным входом счетчика. Формирователь счетного импульса содержит три элемента И-НЕ и одновибратор , причем первый вход формировател счетного импульса соединен с первым входом первого элемент И-НЕ, второй вход которого соединен первьм входом второго элемента И-НЕ и вл етс вторым входом формировател счетного импульса, второй вход второго элемента И-НЕ соединен с вы ходом третьего элемента И-НЕ, выход второго элемента И-НЕ соединен с пер вым входом третьего элемента И-НЕ и с входом одновибратора, выход которого вл етс выходом формировател счетного импульса, выход первого элемента И-НЕ соединен с вторым входом третьего элемента И-НЕ. На фиг.1 представлена функционал на схема таймера; на фиг.2 - функциональна схема формировател счетного импульса. Таймер содержит регистр 1, счетчик 2, регистр 3, группу 4 информационных входов таймера, группу 5 информационных выходов таймера, вход Ь разрешени данных, :вход 7 разрешени записи команд, iвход 8 разрешени чтени , тактовый генератор 9, мультиплексор 10, фор . мирователь 11 счетного импульса, эле iмент 12 И-НЕ, выход 13 сигнала ответа таймера, формирователь 14 сигнала перезаписи, вход 15 внешнего тактового сигнала таймера, выход 16 . прерывани таймера, элемент 17 НЕ. Формирователь счетного импульса содержит элементы 18, 19 И-НЕ, одновибратор 20, элемент 21 И-НЕ. Таймер работает следующим обра;зом . Цифровое значение задаваемого вре менного интервала записываетс с группы 4 информационных входов по им пульсу по входу 6 в регистр 1 и счетчик 2. Счетчик 2 работает в режиме вычитани . Импульсы от тактового генератора 9 или-с входа 15 внешнего тактового сигнала через мультиплексор 10 поступают в формирователь 11 счетного импульса. По заднему фронту каждого импульса формируетс счетный импульс дл счетчика 2. После отсчета заданного временного интервала на выходе переполнени счетчика 2 по вл етс импульс, который попадает на выход 16 прерывани таймера и через формирователь ,14 сигнала перезаписи восстанавливает цифровое значение временного интервала в счетчике 2, хран щеес в регистре 1. При наличии импульса на входе 8 разрешени чтени необходимо запретить изменение состо ни счетчика 2. Дл этого формирователь 11 счетного им-. пульса при наличии сигнала на входе 8 разрешени и импульса, поступившего через мультиплексор 10, ожидает окончани импульса на входе 8, после чего формирует счетный импульс, измен ющий состо ние счетчика 2. При поступлении сигнала на входе 8 чтени во врем импульса на выходе формировател 11 счетного импульса элемент И-НЕ 12 блокирует сигнал на выходе 13 сигнала ответа до окончани счетного импульса. Сигнал на выходе 13 свидетельствует о наличии достоверной информации на выходе счетчика. Таким образом, синхронизацией сигналом по входу 8 разрешени чтени и импульсом с выхода мультиплексора 10 формировател 11 счетного импульса и блокировкой сигнала на выходе 13 сигнала ответа до окончани счетного импульса элементом 17 НЕ элементом И-НЕ 12 сигнала ответа достигаетс считывание достоверной информации со счетчика 2. Технические преимущества устройства заключаютс в обеспечении считывани достоверной информации во вре счета. Это позвол ет упростить рограмму работы с таймером, что кономит пам ть ЭВМ.counting pulse and a NOT element, the counter output group is a timer information output group, the counter overflow output is a timer interrupt output, the clock output is connected to the first multiplexer information input, the second information input of the timer timer group the outputs of the second register is a group of control inputs of the multiplexer, the output of which is connected to the first input of the counting pulse generator, the second input of which of the connections to the input of NOT circuit and is input resolution chte audio timer, an output of NOT soediven the first input of AND-NO element whose second input is connected to the output of the pulse output from the meat and counting input of the counter. The counting pulse generator contains three AND-NOT elements and a one-shot, the first input of the counting pulse generator is connected to the first input of the first IS-NOT element, the second input of which is connected to the first input of the second IS-NE element and is the second input of the counting pulse former, the second input The second element AND-NOT is connected to the output of the third element AND-NOT, the output of the second element AND-NOT is connected to the first input of the third element AND-NOT and to the input of the one-shot, the output of which is the output of the counting pulse generator , An output of first AND-NO element is connected to the second input of the third AND-NO. Figure 1 shows the functionality of the timer circuit; figure 2 - functional diagram of the generator counting pulse. The timer contains a register 1, a counter 2, a register 3, a group of 4 information inputs of the timer, a group of 5 information outputs of the timer, an input L of data resolution,: an input 7 of command recording permission, an input 8 of reading resolution, a clock generator 9, a multiplexer 10, form. world clock 11 counting pulse, element I-12, NAND, output 13 of the timer response signal, shaper 14 of the overwrite signal, input 15 of the external clock signal of the timer, output 16. interrupt timer, item 17 is NOT. Shaper counting pulse contains the elements 18, 19 AND-NOT, the one-shot 20, the element 21 AND-NOT. The timer works as follows. The digital value of the specified time interval is recorded from a group of 4 information inputs by pulse at input 6 into register 1 and counter 2. Counter 2 operates in the subtraction mode. The pulses from the clock generator 9 or from the input 15 of the external clock signal through the multiplexer 10 enter the shaper 11 of the counting pulse. On the trailing edge of each pulse, a counting pulse for counter 2 is formed. After counting a predetermined time interval, a pulse appears at the overflow output of counter 2, which reaches the output 16 of the timer interruption and, through the driver, rewrites the digital value of the time interval in counter 2, stored in the register 1. If there is a pulse at the input 8 of the read resolution, it is necessary to prohibit a change in the state of the counter 2. For this, the driver 11 is counting im-. pulse when there is a signal at the input 8 of the resolution and a pulse received through the multiplexer 10, waits for the pulse at the input 8, and then generates a counting pulse that changes the state of the counter 2. When the signal at the input 8 reads during the pulse at the output of the driver 11 counting pulse element AND NOT 12 blocks the signal at the output 13 of the response signal until the end of the counting pulse. The signal at output 13 indicates the presence of reliable information at the output of the counter. Thus, synchronization of the read resolution input 8 and the pulse from the output of multiplexer 10 of the counting pulse generator 11 and blocking the signal at the output 13 of the response signal until the end of the counting pulse by the element 17 is NOT AND NOT of the response signal and reads reliable information from counter 2. The technical advantages of the device are to ensure that reliable information is read out at the time of counting. This makes it possible to simplify the program of work with the timer, which saves the memory of the computer.
Фиг.11
Фиг. 2FIG. 2
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU833654838A SU1142822A1 (en) | 1983-10-20 | 1983-10-20 | Timer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU833654838A SU1142822A1 (en) | 1983-10-20 | 1983-10-20 | Timer |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1142822A1 true SU1142822A1 (en) | 1985-02-28 |
Family
ID=21086345
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU833654838A SU1142822A1 (en) | 1983-10-20 | 1983-10-20 | Timer |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1142822A1 (en) |
-
1983
- 1983-10-20 SU SU833654838A patent/SU1142822A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1541619A1 (en) | Device for shaping address | |
SU1142822A1 (en) | Timer | |
SU1656514A2 (en) | Timer | |
SU1640697A1 (en) | Command execution time controller | |
SU1183979A1 (en) | Device for gathering information on processor operation | |
SU1179349A1 (en) | Device for checking microprograms | |
SU1658165A1 (en) | Device for interfacing information source to processor | |
SU1711168A1 (en) | Program run-time monitor | |
SU1363210A1 (en) | Signature analyser | |
JP3229066B2 (en) | Semiconductor integrated circuit | |
SU1176327A1 (en) | Microprogram control device | |
SU1196849A1 (en) | Device for sorting information | |
JPS5739438A (en) | Input controlling system | |
SU1550525A1 (en) | Device for interfacing comimunication channel and computer | |
RU94044779A (en) | Program-control time setting device | |
SU1347097A1 (en) | Memory with program correction | |
SU1363221A1 (en) | Program-debugging device | |
SU1325375A1 (en) | Signal period tolerance check device | |
SU1605244A1 (en) | Data source to receiver interface | |
JPS5699550A (en) | Information processing unit | |
SU1541587A2 (en) | Timer | |
SU1188889A1 (en) | Device for determining direction of disk rotation | |
SU1679611A1 (en) | Clock pulses synchronization unit | |
SU1642472A1 (en) | Device for checking the sequence of operatorъs actions | |
SU1619340A1 (en) | Microprogram control device for programmer |