SU1357940A1 - Timer - Google Patents

Timer Download PDF

Info

Publication number
SU1357940A1
SU1357940A1 SU864013126A SU4013126A SU1357940A1 SU 1357940 A1 SU1357940 A1 SU 1357940A1 SU 864013126 A SU864013126 A SU 864013126A SU 4013126 A SU4013126 A SU 4013126A SU 1357940 A1 SU1357940 A1 SU 1357940A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
timer
register
counter
Prior art date
Application number
SU864013126A
Other languages
Russian (ru)
Inventor
Виктор Борисович Палашковский
Original Assignee
Предприятие П/Я Ю-9976
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Предприятие П/Я Ю-9976 filed Critical Предприятие П/Я Ю-9976
Priority to SU864013126A priority Critical patent/SU1357940A1/en
Application granted granted Critical
Publication of SU1357940A1 publication Critical patent/SU1357940A1/en

Links

Landscapes

  • Measurement Of Unknown Time Intervals (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано в управл ющих вычислительных системах дл  обеспечени  работы в реальном масштабе времени. Особенностью таймера  вл етс  то, что он обеспечивает считьшание информации во врем  счета без прерьгаани  счета, а также запись нового значени  временного интервала без прерьшани  текущего счета. Целью изобрет1ени   вл етс  увеличение быстродействи . Поставленна  цель достигаетс  за счет введени  второго регистра 3, формировател  13 импульсов. 1 з.п. ф-лы, 3 ил. (Л фив.1The invention relates to computing and can be used in control computing systems for real-time operation. A special feature of the timer is that it ensures that information is accumulated during the counting without prejudging the count, as well as recording a new value of the time interval without breaking the current count. The aim of the invention is to increase the speed. The goal is achieved by introducing a second register 3, the driver 13 pulses. 1 hp f-ly, 3 ill. (L fiv.1

Description

Изобретение относитс  к вычислительной технике и может быть использовано в управл ющих вычислительных системах дл  обеспечени  работы в реальном масштабе времени.The invention relates to computing and can be used in control computing systems for real-time operation.

Целью изобретени   вл етс  увели- чение быстродействи .The aim of the invention is to increase speed.

На фиг.1 представлена функциональ на  схема таймера на фиг.2 - функциональна  схема формировател  импульсов , на фиг.З - временные диаграммы работы таймера в режиме переписи во второй регистр и разрешени  чтени . Таймер содержит регистр 1, счетчик 2, регистр 3, группу 4 входов задани  интервала, группу 5 информационных выходов, вход 6 разрешени  записи , вход 7 разрешени  прерывани , вход 8 разрешени  чтени , элемент И 9, тактовый генератор 10, содержащий задающий генератор 11 и формировател 12 импульсов с большой скважностью, формирователь 13 импульсов, элемент И-НЕ 14, выход 15 прерывани , выход 16 сигнала ответа.Fig. 1 shows the functionality of the timer circuit of Fig. 2 — a functional diagram of the pulse former; Fig. 3 shows time diagrams of the timer operation in the census mode in the second register and read resolution. The timer contains a register 1, a counter 2, a register 3, an interval setting group 4, an information output group 5, a write enable input 6, an interrupt enable input 7, a read permission input 8, AND 9, a clock generator 10 containing a master oscillator 11 and driver 12 pulses with a high porosity, driver pulses 13, the element AND NOT 14, interrupt output 15, response signal output 16.

Формирователь 13 импульсов содержит элемент НЕ 17, триггер 18 и элемент И 19.The shaper 13 pulses contains the element NOT 17, the trigger 18 and the element And 19.

Таймер работает следующим образомThe timer works as follows.

Цифровое значение задаваемого вре- 30 запрещает прохождение тактовых имменного интервала записываетс  с группы 4 входов по сигналу разрешени  записи с входа 6 в регистр 1 и поступает на информационные входы счетчика 2, который работает в режиме вычитани . Импульсы от тактового генератора 10 поступают на тактовый вход счетчика 2 и, если на входе 7 разрешени  прерываний отсутствует сигнал, то на выходе элемента И 9 присутствует сигнал перезаписи, который разрешает запись цифрового значени  задаваемого временног о интервала в счетчик 2, При поступлении на входThe digital value of the specified time-30 inhibits the passage of the clock interval of the interval is recorded from a group of 4 inputs on the record enable signal from input 6 to register 1 and is fed to the information inputs of counter 2, which operates in subtraction mode. The pulses from the clock generator 10 are fed to the clock input of counter 2, and if there is no signal at input 7 of the interrupt resolution, then at the output of element 9 there is a rewrite signal that allows the digital value of the time interval to be written to the counter 2 to be written.

элемента И 9 сигнала разрешени  пре- 45 этом начало считывани  информации поelement 9 of the resolution signal pre- starts the reading of information on

рьшани  по входу 7 снимаетс  сигнал перезаписи со счетчика 2, и он начинает счет по переднему фронту тактовых импульсов до тех пор, пока на выходе переполнени  счетчика не по вл етс  импульс, который поступает на выход 15 прерывани  и через элемент И 9 восстанавливает или записывает новое цифровое значение временного интервала в счетчик 2, хран щеес  в регистре 1.The re-write signal from counter 2 is removed at input 7, and it starts counting on the leading edge of clock pulses until a pulse appears at the counter overflow output, which arrives at interrupt output 15 and, through AND 9, restores or records the new the digital value of the time interval in counter 2, stored in register 1.

Запись нового значени  заданного временного интервала рег.истр 1 поRecord a new value of the specified time interval reg.

сигналу разрешени  записи данных, поступающему по входу 6, может быть осуществлена во врем  счета без изменени  состо ни  счетчика. Это обусловлено тем, что во врем  счета на управл ющем входе счетчика отсутствует сигнал перезаписи, а сигнал разрешени  записи воздействует только на регистр 1.The data recording enable signal received at input 6 can be carried out during counting without changing the counter state. This is due to the fact that during counting, there is no overwrite signal at the control input of the counter, and the write enable signal affects only register 1.

Таймер в режиме перезаписи в регистр 3 и разрешени  чтени  (фиг.З) работает следующим образом. По заднему фронту каждого тактового импульса при отсутствии сигнала на входе 8The timer in the overwriting mode in register 3 and read resolution (Fig. 3) works as follows. On the falling edge of each clock pulse in the absence of a signal at input 8

разрешени  чтени  информаци  о состо-.  нии счетчика 2 переписываетс  в регистр 3. При этом триггер 18 находитс  в исходном (нулевом) состо нии, на его инверсном выходе сигнал с уровнем Лог. 1 разреп1ает прохождение тактовых импульсов через элемент И 19 на управп ющи.й вход регистра 3.permission to read status information. The counter 2 is rewritten to register 3. In this case, the trigger 18 is in the initial (zero) state, at its inverse output, a signal with a Log level. 1 disengages the passage of clock pulses through AND 19 element to control input of register 3.

При поступлении на вход 8 таймера сигнала разрешени  чтени  при отсутствии записи в регистр 3 триггер 18 перебрасываетс  в момент поступлени  сигнала разрешени  чтени . На инверсном выходе триггера 18 формируетс  сигнал с уровнем Лог. О, которыйWhen the read enable signal arrives at the input 8 when no record is written to register 3, the flip-flop 18 is thrown when the read enable signal arrives. At the inverse output of the trigger 18, a signal is formed with a Log level. Oh which

5five

00

пульсов через элемент И 19. Таким образом, сигнал записи в регистр 3 не формируетс , и состо ние регистра 3 во врем  чтени  не измен етс . Возврат триггера 18 в исходное состо ние происходит после окончани  сигнала разрешени  чтени  по заднему фронту очередного тактового импульса.pulses through the element AND 19. Thus, the write signal to the register 3 is not formed, and the state of the register 3 during the reading does not change. The trigger 18 is reset to the initial state after the end of the read enable signal on the falling edge of the next clock pulse.

Если сигнал разрешени  чтени  поступает на вход 8 таймера в момент записи в регистр 3, то триггер 18 перебрасываетс  по заднему фронту того тактового импульса, по которому осуществл лась запись в регистр 3. ПриIf the read enable signal arrives at the input 8 of the timer at the time of writing to register 3, then the trigger 18 is thrown over the falling edge of the clock pulse used to write to register 3. When

сигналу разрешени  чтени  задаржива- етс  относительно его начала тем меньше, чем меньше длительность тактового импульса.the read enable signal is jarred relative to its start, the smaller, the shorter the duration of the clock pulse.

Одновременно с запретом изменени  состо ни  регистра 3 элемент И-НЕ 14 формирует сигнал ответа таймера на врем  совпадени  сигнала на пр мом выходе триггера 18 и сигнала разрешени  чтени .Simultaneously with the prohibition of changing the state of the register 3, the AND-HI element 14 generates a timer response signal for the time of coincidence of the signal at the forward output of the flip-flop 18 and the read enable signal.

Таким образом, сигнал разрешени  чтени  не прерывает поступлени  тактовых импульсов в счетчик 2, но в то же врем  запрещает формирование сиг31Thus, the read enable signal does not interrupt the arrival of clock pulses in counter 2, but at the same time prohibits the formation of sig31

нала записи в регистр 3, обеспечива  тем еамьм считывание достоверной информации из регистра 3 во врем  сигнала разрешени  чтени  независимо от его длительности.write to register 3, thereby providing readable information from register 3 during the read enable signal regardless of its duration.

Кроме того, запись информации в регистр 1 может быть осуществлена во врем  текущего счета (без изменени  последнего) путем разделени  сигнало разрешени  записи данных и разрешени  прерывани .In addition, information can be recorded in register 1 during the current account (without changing the latter) by separating the data recording enable signal and enabling the interrupt.

Claims (2)

1. Таймер, содержащий первый регистр , счетчик, тактовый генератор, элемент И и элемент И-НЕ, причем группа информационных входов первого регистра  вл етс  группой входов задани  интервала таймера, вход разрешени  записи первого регистра  вл етс  входом разрешени  записи таймера группа выходов первого регистра соединена с группой информационных входов счетчика, вход разрешени  счета которого соединен с выходом элемента И, первый вход которого соединен с инверсным выходом переполнени  счетчика и  вл етс  выходом прерыва ни  таймера, выход элемента И-НЕ  вл етс  выходом ответа таймера, отличающийс  тем, что, с целью увеличени  быстродействи , в него введены второй регистр и форми1. A timer containing a first register, a counter, a clock generator, an AND element and a NAND element, the group of information inputs of the first register is a group of inputs for setting the timer interval, the input of recording resolution of the first register is an input of recording resolution of timer connected to a group of information inputs of the counter, the input of the resolution of which account is connected to the output of the element I, the first input of which is connected to the inverse output of the overflow of the counter and is the output of interrupting neither the timer, Exit AND-NO element is output response timer, characterized in that, in order to increase operating speed, introduced in it and forms the second register 5five n n рователь импульсов, причем выход тактового генератора соединен с тактовым входом счетчика и синхровходом формировател  импульсов, первый выход которого соединен с входом разрешени  записи второго регистра, выходы разр дов счетчика соединены с информационными входами второго регистра, вы- ходы которого  вл ютс  информационными выходами таймера, вход разрешени  чтени  таймера соединен с входом разрешени  формировател  импульсов и с первым входом элемента И-НЕ, второй вход которого соединен с вторым выходом формировател  импульсов, второй вход элемента И  вл етс  входом разрешени  прерывани  таймера.pulse generator, the clock generator output is connected to the clock input of the counter and the synchronizer input of the pulse generator, the first output of which is connected to the write enable input of the second register, the counter bits outputs are connected to the information inputs of the second register, the outputs of which are the timer information outputs, input permitting the reading of the timer is connected to the enable input of the pulse former and to the first input of the NAND element, the second input of which is connected to the second output of the pulse former c, the second input of the AND element is the timer interrupt enable input. 2. Таймер поп.1, отличающийс  тем, что формирователь импульсов содержит триггер, элемент НЕ и элемент И, причем вход разрешени  чтени  формировател  импульсов соединен с информационным входом2. Timer pop. 1, characterized in that the pulse shaper includes a trigger, an NOT element and an AND element, wherein the read enable input of the pulse shaper is connected to the information input триггера, синхровход которого соединен с выходом элемента НЕ, синхровход формировател  импульсов соединен с входом элемента НЕ и с первым входом элемента И, второй вход которого соединен с инверсным выходом триггера , выход элемента И  вл етс  первым выходом формировател , пр мой выход триггера  вл етс  вторым выходом формировател .the trigger whose sync input is connected to the output of the NOT element, the sync input of the pulse former is connected to the input of the NOT element and to the first input of the element I, the second input of which is connected to the inverse output of the trigger, the output of the element I is the first output of the imager, the direct output of the trigger is the second shaper output. f pezi/cmpy Jf pezi / cmpy J Кэлемен/г уKelemen / g y Фиг2Fig2 гг т иyy t and ffffff 8eight сриг. ЗSrig. H Редактор Л.Лангазо Заказ 5999/49 Editor L. Langazo Order 5999/49 Составитель Н.ТороповаCompiled by N.Toropova Техред А.Кравчук КорректорВ.Бут гаTehred A. Kravchuk Corrector V. But ha Тираж 671ПодписноеCirculation 671 Subscription ВНИИПИ Государственного комитета СССРVNIIPI USSR State Committee по делам изобретений и открытий 113035, Москва, Ж-35, Раушска  наб., д. 4/5for inventions and discoveries 113035, Moscow, Zh-35, Raushsk nab., 4/5 ПроизводственноProduction .-полиграфическое предпри тие, г. Ужгород, ул. Проектна , 4.-printing company, Uzhgorod, st. Project, 4
SU864013126A 1986-01-20 1986-01-20 Timer SU1357940A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU864013126A SU1357940A1 (en) 1986-01-20 1986-01-20 Timer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU864013126A SU1357940A1 (en) 1986-01-20 1986-01-20 Timer

Publications (1)

Publication Number Publication Date
SU1357940A1 true SU1357940A1 (en) 1987-12-07

Family

ID=21218259

Family Applications (1)

Application Number Title Priority Date Filing Date
SU864013126A SU1357940A1 (en) 1986-01-20 1986-01-20 Timer

Country Status (1)

Country Link
SU (1) SU1357940A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1005010, кл. G 06 F 1/04, 1981. Авторское свидетельство СССР № 1142822, кл. G 06 F 1/04, 1983. *

Similar Documents

Publication Publication Date Title
SU1357940A1 (en) Timer
SU1293746A1 (en) Device for recording current time code
SU1531081A1 (en) Timer
SU1352630A1 (en) Time interval shaping device
SU1310792A1 (en) Timer
SU1675948A1 (en) Device for restoration of clock pulses
SU1606972A1 (en) Device for sorting data
SU1265858A1 (en) Buffer storage
SU1345327A1 (en) Pulse delaying and shaping device
SU1168924A2 (en) Device for ranging extremum values
SU1290503A1 (en) Device for controlled delay of pulses
SU1732338A2 (en) Timer
SU1142822A1 (en) Timer
SU508951A1 (en) Morse code sensor
SU1501100A1 (en) Function generator
SU1100723A1 (en) Device for delaying pulses
SU1291954A1 (en) Information input device
SU824193A1 (en) Extremum number determining device
SU1198461A1 (en) Programmed control device
SU964653A1 (en) Statistic analyzer
SU661609A1 (en) Logic storage
SU1317486A1 (en) Device for checking memory blocks
SU940286A1 (en) Delayed pulsed shaper
SU1080202A1 (en) Device for magnetic recording of digital information
SU1765849A1 (en) Buffer memory device