SU1499439A1 - Programmable shaper of time intervals - Google Patents
Programmable shaper of time intervals Download PDFInfo
- Publication number
- SU1499439A1 SU1499439A1 SU874345391A SU4345391A SU1499439A1 SU 1499439 A1 SU1499439 A1 SU 1499439A1 SU 874345391 A SU874345391 A SU 874345391A SU 4345391 A SU4345391 A SU 4345391A SU 1499439 A1 SU1499439 A1 SU 1499439A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- programmable
- flip
- trigger
- Prior art date
Links
Landscapes
- Measurement Of Unknown Time Intervals (AREA)
- Electric Clocks (AREA)
Abstract
Изобретение может быть использовано в информационно- измерительной технике и в различной микропроцессорной радиоэлектронной аппаратуре. Цель изобретени - расширение диапазона формируемых временных интервалов. Это достигаетс за счет введени триггера 4, суммирующего три временных интервала, формируемых программируемыми таймерами 2 и 3. Управление работой этих таймеров осуществл етс за счет введени элемента ИЛИ-НЕ 5, Д-триггеров 6 и 7, элемента ИЛИ 8. Устройство также содержит делитель 1 частоты. 2 ил.The invention can be used in information-measuring equipment and in various microprocessor-based electronic equipment. The purpose of the invention is to expand the range of time intervals to be formed. This is achieved by introducing trigger 4, which summarizes the three time intervals generated by programmable timers 2 and 3. The operation of these timers is controlled by introducing the element OR-NOT 5, D-flip-flops 6 and 7, the element OR 8. The device also contains a divider 1 frequency. 2 Il.
Description
N{;N {;
со соwith so
4:four:
0000
соwith
314314
Изобретение относитс к импульсно и информационно-измерительной технике и может быть использовано в различной микропроцессорной радиоэлектронной аппаратуре.The invention relates to a pulse and information-measuring technique and can be used in various microprocessor-based electronic equipment.
Целью изобретени вл етс расши рение диапазона формируемых временных интервалов при обеспечении заданной точности (дискретности) фор- мировани .The aim of the invention is to expand the range of time intervals to be formed while ensuring a given shaping accuracy (discreteness).
На фиг. 1 представлена функциональна схема программируемого формировател временных интервалов; на фиг. 2 - временные диаграммы, по с- н ющие его работу.FIG. 1 shows a functional diagram of a programmable time interval generator; in fig. 2 - time diagrams that show his work.
Программируемый формирователь временных интервалов содержит делитель 1 частоты, программируемые таймеры 2 и 3, D-триггер 4, элемент ИЛИ-НЕ 5, D-триггеры 6 .и 7. элемент ИЛИ 8, шин 9 Сброс, информационно-управл ющую шину 10, шину 11 Пуск, входную шину 12 импульсной последовательности, выходы 13 и 14.The programmable time interval generator contains a frequency divider 1, programmable timers 2 and 3, D-flip-flop 4, element OR-NOT 5, D-flip-flops 6 .and 7. element OR 8, bus 9 Reset, information control bus 10, bus 11 Start, input bus 12 pulse sequence, outputs 13 and 14.
Входна шина 12 импульсной последовательности соединена с тактовым входом программируемого таймера 3 и входом делител 1 частоты, выход которого соединен с тактовым входом программируемого таймера 2. Шина 9 Сброс соединена с R-входами D-триг геров 4, 6, 7. ЧЧина 11 Пуск соединена с первым входом элемента ШИ-. НЕ 5, выход которого соединен со стробирующим входом программируемого таймера 2. выход которого соединен с тактовым входом D-триггера 6, стробирующим входом программируемого таймера 3, первым входом элемента ИЛИ 8 и тактопым входом D-триггера 4, выход которого вл етс выходом 13 устройства , D-триггера 4 соединен с выходом элемента ИЛИ 8, а D- вход - с инверсным выходом D-тригге- pa 7. Пр мой вькод D-триггера 7 соеднен с вторым входом элемента ИЛИ 8 и вторым входом элемента ИЛИ-НЕ 5, а тактовый вход - с выходом программи- .руемого таймера 3, R-входрм делител The input bus 12 of the pulse sequence is connected to the clock input of the programmable timer 3 and the input of the frequency divider 1, the output of which is connected to the clock input of the programmable timer 2. The bus 9 Reset is connected to the R inputs of the D-triggers 4, 6, 7. Hchina 11 Start is connected with the first input of the CHI- element. NOT 5, the output of which is connected to the gate input of the programmable timer 2. The output of which is connected to the clock input of the D-flip-flop 6, the gate input of the programmable timer 3, the first input of the element OR 8 and the clock input of the D-flip-flop 4, the output of which is output 13 of the device D-flip-flop 4 is connected to the output of the element OR 8, and D- input - to the inverse output of D-flip-flop 7. The direct code of D-flip-flop 7 is connected to the second input of the element OR 8 and the second input of the element OR-NOT 5, and clock input - with the output of programmable timer 3, R-input divides l
1частоты и выходом 14 устройства. Информационные, адресные и управл ющие программируемых таймеров1 frequency and output 14 devices. Information, address and control programmable timers
2и 3 соединены с информационно-управл ющей шиной 10 №1кропроцессОрной системы. На D-вход D-триггера 6 пода уровень логического нул , на D-вход D-триггера 7 - уровень логической единицы.2 and 3 are connected to the information control bus 10 No. 1 of the process system. On the D-input of the D-flip-flop 6, the level is a logical zero, on the D-input of the D-flip-flop 7 - the level of a logical one.
ношени wear
Формирователь работает следующим образом.The shaper works as follows.
В исходном состо нии D-триггеры 4, 6 и 7 сброшены кра тковременным импульсом по шине 9 Сброс и на их прп пр мых выходах устанавливаетс уровень логического нул , а на инверсном выходе О-триггера 7 - уровень логической единицы. Делитель 1 частоты находитс в режиме счета импульсов частоты внешнего генератора. Программируемые таймеры 2 и 3 запрограммированы по информационным, адр еснмм и управл ющим шинам 10 микропроцессорной системы дп работы в режиме од- новибрафора, при этом вводимые в них коэффициенты К„ , и К. определ ющие длительность выходного импульса устройства, определ ютс из соотIn the initial state, the D-flip-flops 4, 6 and 7 are reset with a short-term pulse through the bus 9 Reset and the level of logic zero is set at their forward direct outputs, and the level of logic one is set at the inverse output of O-trigger 7. Frequency divider 1 is in the pulse counting mode of an external oscillator. Programmable timers 2 and 3 are programmed using information, address and control buses 10 of the microprocessor system, working in the monoviraph mode, the coefficients K, and K that enter them, which determine the duration of the output pulse of the device, are determined from
(К+ К(K + K
гg
1) +1) +
(1)(one)
гдеWhere
0 0 ,c t0 0, c t
Тл А4T A4
00
5five
длительность формируемого временного интервала , период частоты внешнего генератора импульсовi коэф(1)ициент делени делител 1 частоты/the duration of the time interval being formed, the period of the frequency of the external pulse generator, and the coefficient (1), the dividing agent of the frequency divider 1 /
К, ,. числа,заносимые в счетчик программируемого таймера 2 дл формировани первого и третьего импульсов устройства K, the numbers stored in the counter of the programmable timer 2 to form the first and third pulses of the device
К число, заносимое в счетчик программируемого таймера 3 дл формировани второго импульса устройства.To the number entered in the counter of the programmable timer 3 to form the second pulse of the device.
При этом возможны два варианта программировани программируемого таймера 2,There are two possible programming options for the programmable timer 2,
При первом значение коэффициента, занесенного в счетчик таймера, не измен етс в процессе работы устройства , а при втором в счетчик таймера первоначально заноситс коэффициент K. , а затем в процессе формировани второго импульса устройства К замен етс (программируетс ) на К . Микропроцессорна система получает сигнал о готовности формировател к приему коэффициента Kj с выхода 14 устройства. Если в процессе работы программируемого таймерй 3 перепрограммирование программируемого таймеpa 2 не выполн етс , то К КAt the first, the value of the coefficient entered into the timer counter does not change during device operation, and at the second timer the coefficient K is initially entered into the counter, and then during the formation of the second pulse of the device K is replaced (programmed) with K. The microprocessor system receives a signal about the readiness of the driver to receive the coefficient Kj from the output 14 of the device. If during the operation of the programmable timer 3 the reprogramming of the programmable timer 2 is not performed, then K K
К TO
выражение (1) принимает видexpression (1) takes the form
То(Кд,That (cd,
(2К + 1) + К, + 1).(2)(2K + 1) + K, + 1). (2)
Работа устройства начинаетс по приходу по шине 11 Пуск рабочего (положительного) фронта импульса на первый вход элемента ИЛИ-НЕ 5 (фиг. 2в), Отрицательный перепад с выхода элемента ИЛИ-НЕ 5 (фиг.2г) переводит по S-ВХОДУ Р-триггер 6 в единичное состо ние (фиг. 2д), в результате чего на стробиругащем входе программируемого таймера 2 устанавливаетс высокий логический уровень. В момент прихода первого рабочего (отрицательного ) фронта импульса с выхода делител 1 частоты (фиг. 26) на тактовый вход программируемого таймера 2 на его выходе устанавливаетс низкий логический уровень (фиг. 2е), который поступает на первый вход элемента ИЛИ 8. Поскольку и на второй вход элемента ИЛИ 8 подан низкий логический уровень с пр мого выхода D- триггера 7 (фиг. 2д), то на выходе элемента ИЛИ 8 установитс уровень логического нул (фиг. 2к), который переводит D-триггер 4 в единичное состо ние по S-БХОДУ (фиг. 2л). По окончании формировани первого импульса на выходе программируемого таймера 2 устанавливаетс высокий логический уровень и положительным перепадом, поступающим на стробирую- дий вход программируемого таймера 3, разрешаетс формирование второго одOperation of the device begins on arrival via bus 11. Starting the working (positive) pulse front to the first input of the element OR NOT 5 (Fig. 2c). Negative difference from the output of the element OR NOT 5 (fig.2g) translates to S-INPUT P- the trigger 6 is in the unit state (Fig. 2e), as a result of which a high logic level is set at the gate input of the programmable timer 2. At the moment of arrival of the first working (negative) pulse front from the output of the frequency divider 1 (Fig. 26) to the clock input of the programmable timer 2, a low logic level is set at its output (Fig. 2e), which is fed to the first input of the element OR 8. Since the second input of the element OR 8 is fed a low logic level from the direct output of D-flip-flop 7 (Fig. 2d), then the output of the OR-8 element is set to a logic zero level (Fig. 2k), which converts the D-flip-flop 4 to the unit state on S-BOX (Fig. 2l). Upon completion of the formation of the first pulse at the output of programmable timer 2, a high logic level is established and the positive differential arriving at the gating input of programmable timer 3 is allowed to form the second one.
99-43999-439
таймер 2 незадействован, становитс timer 2 is disabled, becomes
))
10ten
20 возможным его перепрограммирование микропроцессор ;ой системой (при необходимости ) , т.е. замена коэффициента К , на коэффициент К ,, . С этой целью выход 14 устройства можат подключатьс к входам запроса прерывани микропроцессорной системы.20 it is possible to reprogram it with a microprocessor; oh system (if necessary), i.e. replacement of the coefficient K by the coefficient K ,,. To this end, device output 14 can be connected to the interrupt request inputs of the microprocessor system.
Во врем формировани второго импульса на выходе программируемого таймера 3 устан вл 1ваетс низкий логический уровень., который подаетс на R-вход делител 1 частоты и уста- 15 навливает его в исходное (нулевое) состо ние (фиг. 25). Таким образом, при повторном запуске программируемого таймера 2 (начало формировани третьего импульса) длительность задержки его включени вл етс величиной посто нной и равной периоду следовани импульсов с выхода делител 1 частоты (фиг. 2е).During the formation of the second pulse at the output of the programmable timer 3, the low logic level is established. 1, which is fed to the R-input of the frequency divider 1 and sets it to the initial (zero) state (Fig. 25). Thus, when restarting the programmable timer 2 (the beginning of the formation of the third pulse), the duration of its switching on is constant and equal to the pulse following period from the output of frequency divider 1 (Fig. 2e).
По окончании второго импульса по- 25 ложительным перепадом с выхода программируемого таймера 3 в D-триггер 7 по С-входу записываетс логическа единица, котора устанавливаетс на пр мом выходе D-триггера 7 (фиг. 2з), а на инверсном его выходе - уровень логического нул (фиг. 2и). С пр мого выхода D-триггера 7 уровень логической единицы заводитс на второй вход элемента ИЛИ-НЕ 5, на выходе которого вновь устанавливаетс уровень логического нул (фиг. 2г), в результате чего D-триггер 6 повторно пере-. ходит в единичное состо ние по S-вхо- ДУ (фиг. 2д). Далее повтор етс циклAt the end of the second pulse, a logical unit is written to the D-flip-flop 7 at the C-input by a positive differential from the output of the programmable timer 3, which is set at the direct output of the D-flip-flop 7 (Fig. 2h), and its inverse output - the level logical zero (Fig. 2i). From the direct output of the D-flip-flop 7, the level of the logical unit is applied to the second input of the element OR-NOT 5, the output of which again sets the level of the logical zero (Fig. 2d), with the result that the D-flip-flop 6 repeatedly resets. walks in a single state on the S-input control (Fig. 2e). Then the cycle repeats.
30thirty
3535
нократного импульса устройства. Кроме 40 Работы програм№1руемого таймера 2, того, на выходе элемента ИЛИ 8 уста- на выходе которого формируетс третийThe device’s second pulse. In addition to the 40 Works of programmable timer 2, the output of the element OR 8 is set to the output of which a third
импульс устройства (фиг. 2е), причем передний фронт формируемого импульсаimpulse device (Fig. 2e), with the leading edge of the generated pulse
навливаетс уровень логической единицы , который поступает на S-вход D- триггера 4 и разрешит работу триггераthe level of the logical unit is applied, which is fed to the S input of the D trigger 4 and enables the trigger
задерживаетс относительно заднегоdelayed relative to the rear
по С-входу. Формирование второго им- 5 импульса, сформированного пульса устройства начинаетс по при- программируемым таймером 3, на велиКon the C input. The formation of the second pulse, the generated pulse of the device, begins on a pre-programmed timer 3, at a high rate.
ходу на тактовый вход программируемого таймера 3 по входной шине 12 рабочего (отрицательного) фронта импульса частоты внешнего генератора, при, этом передний фронт формируемого импульса задерживаетс относительно заднего фронта импульса, сформированного програг-1мируемым таймером 2, на величину Тд, котора входит в общую длительность получаемого временного интервала (фиг. 2ж).running on the clock input of the programmable timer 3 through the input bus 12 of the working (negative) front of the frequency of the external generator, while the leading edge of the generated pulse is delayed relative to the rear edge of the pulse formed by the programmed 1 timer 2, the value of TD, which is included in the total duration the resulting time interval (Fig. 2g).
Поскольку за врем работы программируемого таймера 3 программируемыйSince during the operation of the programmable timer 3 programmable
5050
5555
чину Тд Кд(, котора входит в общую длительность получаемого временного интервала. По окончании третьего импульса положительным перепадом с выхода программируемого таймера 2 в D-триггер 4 заноситс логический ноль с С-входа. Таким образом, на вы ходе D-триггера 4 (выход 13 устройства ) формируетс временной интервал длительностью с в- соответствии с выражением (1) и (2) (фиг. 2л) как сумма временных интервалов, опреде- л емых: длительностью первого импульTd Cd (which is included in the total duration of the received time interval. At the end of the third pulse, the positive difference from the output of programmable timer 2 to D-flip-flop 4 is entered into a logical zero from the C-input. Thus, at D-flip-flop 4 (output 13 of the device) a time interval of duration with b is formed in accordance with the expression (1) and (2) (fig. 2l) as the sum of the time intervals determined by: the duration of the first pulse
задерживаетс относительно заднегоdelayed relative to the rear
КTO
00
5five
чину Тд Кд(, котора входит в общую длительность получаемого временного интервала. По окончании третьего импульса положительным перепадом с выхода программируемого таймера 2 в D-триггер 4 заноситс логический ноль с С-входа. Таким образом, на выходе D-триггера 4 (выход 13 устройства ) формируетс временной интервал длительностью с в- соответствии с выражением (1) и (2) (фиг. 2л) как сумма временных интервалов, опреде- л емых: длительностью первого импульУШШЛЛПЛППЛ .Td Cd (which is included in the total duration of the received time interval. At the end of the third pulse, the positive difference from the output of programmable timer 2 to D-flip-flop 4 is entered into a logical zero from the C-input. Thus, at the output of D-flip-flop 4 (output 13 devices) a time interval with a duration of c is formed in accordance with the expression (1) and (2) (Fig. 2l) as the sum of the time intervals determined by: the duration of the first impulse.
Редактор Н.ЛазаренкоEditor N.Lazarenko
f Teii t,(()3f Teii t, (() 3
Фи.1Phi.1
Составитель Ю.Сибир кCompiled by Yu.Sibir to
Техред А.Кравчук Корректор М.Самборска Tehred A. Kravchuk Proofreader M.Samborsk
гП-ГШ-.hp-hsh-.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874345391A SU1499439A1 (en) | 1987-12-16 | 1987-12-16 | Programmable shaper of time intervals |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874345391A SU1499439A1 (en) | 1987-12-16 | 1987-12-16 | Programmable shaper of time intervals |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1499439A1 true SU1499439A1 (en) | 1989-08-07 |
Family
ID=21343038
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU874345391A SU1499439A1 (en) | 1987-12-16 | 1987-12-16 | Programmable shaper of time intervals |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1499439A1 (en) |
-
1987
- 1987-12-16 SU SU874345391A patent/SU1499439A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1287256, кл. Н 03 К 3/72, 12.05.85. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1499439A1 (en) | Programmable shaper of time intervals | |
US5155521A (en) | Counter-driven shutter actuator control circuit | |
EP0409568A2 (en) | Electronic timepiece | |
SU1554126A2 (en) | Device for pulse delay and shaping | |
JPH08202372A (en) | Volume control system for piezoelectric buzzer | |
SU1185581A1 (en) | Pulse generator | |
KR930005476Y1 (en) | Circuit for generating programmable pulses | |
RU1827714C (en) | Former of pulse sequence | |
RU1809420C (en) | Clock and gate generator for control program unit | |
SU1307581A1 (en) | Device for checking pulse sequence | |
SU691808A1 (en) | Programmed control arrangement | |
SU907791A1 (en) | Pulsce disciminator by interval between pulses | |
SU1241468A2 (en) | Pulse repetition frequency divider with controlled pulse duration | |
SU780173A1 (en) | Pulse shaper | |
RU2213366C2 (en) | Timer | |
SU930641A1 (en) | Pulse length discriminator | |
SU1647862A1 (en) | Pulse sequence driver | |
SU1711324A1 (en) | Device for controlled delaying of pulses | |
SU1679626A1 (en) | Counting unit | |
SU1005288A2 (en) | Pulse delay device | |
SU1088106A1 (en) | Device for selecting pulses from pulse sequence | |
SU1261108A1 (en) | Pulse repetition frequency divider with variable countdown | |
SU875608A1 (en) | Device for programmed delay of pulses | |
RU2199177C1 (en) | Timer | |
SU993446A1 (en) | Function generator |