SU1672567A1 - Code-to-time interval converter - Google Patents
Code-to-time interval converter Download PDFInfo
- Publication number
- SU1672567A1 SU1672567A1 SU884360511A SU4360511A SU1672567A1 SU 1672567 A1 SU1672567 A1 SU 1672567A1 SU 884360511 A SU884360511 A SU 884360511A SU 4360511 A SU4360511 A SU 4360511A SU 1672567 A1 SU1672567 A1 SU 1672567A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- flip
- flop
- pulse
- Prior art date
Links
Landscapes
- Analogue/Digital Conversion (AREA)
Abstract
Изобретение относитс к автоматике, вычислительной технике и может быть использовано в контрольно-измерительных системах дл проверки электронных модулей и блоков. Целью изобретени вл етс повышение точности преобразовани . В преобразователь, содержащий генератор импульсов, счетчик импульсов, три D-триггера и RS-триггер, введены четвертый D-триггер, два дешифратора, элемент ИЛИ-НЕ и четыре элемента ИЛИ. Это позвол ет начало и конец преобразуемого временного интервала формировать передним фронтом выходных импульсов с одного и того же D-триггера. Таким образом, исключена задержка выходного сигнала относительно импульсов эталонной частоты и устранены погрешности перехода при формировании последовательных временных интервалов, что в конечном счете повышает точность преобразовани . 3 ил.The invention relates to automation, computer technology and can be used in measurement and control systems for testing electronic modules and units. The aim of the invention is to improve the accuracy of the conversion. A fourth D-trigger, two decoders, an OR-NOT element, and four OR elements are entered into the converter containing the pulse generator, a pulse counter, three D-flip-flops and an RS-flip-flop. This allows the beginning and the end of the converted time interval to form the leading edge of the output pulses from the same D-flip-flop. Thus, the delay of the output signal relative to the pulses of the reference frequency is eliminated and the errors of the transition during the formation of successive time intervals are eliminated, which ultimately improves the accuracy of the conversion. 3 il.
Description
со Сwith C
Изобретение относитс к автоматике. вычислительной и импульсной технике и может быто использовано в контрольно-изме- ригельных системах дл проверки электронных модулей и блоков.This invention relates to automation. computing and impulse technology and can be used in control and measuring systems for checking electronic modules and blocks.
Цепью изобретени вл етс повышение точности преобразовани .The chain of the invention is to improve the accuracy of the conversion.
На фиг. 1 представлена структурна схема преобразовател , на фиг 2 -- структурна схема счетчика импульсов; на фиг. 3 - временные диаграммы работы преобразовател .FIG. 1 shows a block diagram of a converter; FIG. 2 is a block diagram of a pulse counter; in fig. 3 - timing diagrams of the converter.
Преобразователь (фиг. 1) содержит генератор 1 импульсов, D-триггеры 2 - 5, п- разр дный двоичный счетчик 6 импульсов с входом 7 установки в О, входом 8 переноса , входом 9 управлени режимом работы, входом 10 синхронизации выходами 11-14 младших разр дов и выходами 15-18 старших разр дов, RS-триггер 19. дешифратор 20 (нул старших разр дов счетчика импульсов ), дешифратор 21 (состо ни младших разр дов счетчика импульсов) элемент ИЛИ-НЕ 22, элементы ИЛИ 23 - 26, шину Пуск 27, шину 28 начальной установки, шину 29 Стоп, шину 30 данных, шину З1 смены данных и выходную шину 32The converter (Fig. 1) contains a generator of 1 pulses, D-flip-flops 2-5, an n-bit binary counter 6 pulses with input 7 set to O, transfer input 8, input 9 controlling the operating mode, input 10 synchronization outputs 11-14 low-order bits and outputs 15-18 high-order bits, RS flip-flop 19. decoder 20 (zero-high bits of the pulse counter), decoder 21 (states of the lower bits of the pulse counter) OR-NOT 22 element, OR elements 23 - 26 , Start bus 27, setup bus 28, bus 29 Stop, data bus 30, data change bus Z1 and output bus 32
Счетчик 6 содержит синхронные четырехразр дные двоичные счетчики 33-37, элементы 38 и 39 задержки, элементы ИЛИ 40-47 (элементы 40-44 выполнены в виде элементов ИЛИ МОНТАЖНОЕ)Counter 6 contains synchronous four-bit binary counters 33-37, delay elements 38 and 39, elements OR 40-47 (elements 40-44 are made in the form of elements OR INSTALLATION)
Преобразователь работает следующим образом.The Converter operates as follows.
Сигналом начальной установки по шине 28 преобразователь устанавливаетс в кс ходное состо ние. Высоким уровнем сигнала (фиг. 3 (с) с инверсного выхода RS-триггера 19 по входу 8 переноса счетчика 6 импульсов блокируетс воздействие импульсов эталонной частоты на синхронный счетчик 33, высокий уровень выходного сигОThe initial setup signal on bus 28 causes the converter to be set to its output state. The high level of the signal (Fig. 3 (c)) from the inverted output of the RS flip-flop 19 at the input 8 of the transfer of the pulse counter 6 blocks the effect of the pulses of the reference frequency on the synchronous counter 33, a high level of output signal.
XI ю ел о VJXI th ate about VJ
нала переноса которого блокирует элемент ИЛИ 40. Устанавливаетс во времени сигнал переноса О на входах переноса синхронных двоичных счетчиков . По импульсу пуска (фиг. ЗЬ) на информационном входе D-григгера 2 устанавливаетс 1. По переднему фронту следующего за этим импульса по входу синхронизации D- триггер 2 устанавливаетс в состо ние 1, следующим импульсом синхронизации D- триггер 3 устанавливаетс в состо ние 1. На выходе элемента ИЛИ-НЕ 22 формируетс импульс (фиг. 3 с) прив зки к импульсам синхронизации, который через элемент ИЛИ 24 поступает на информационный вход D-триггера 4. Благодар продвижению 1 сигналами синхронизации формируютс импульсы на выходах D-триггеров 4 (фиг. 3 d) и 5 (фиг. 3 е). Импульсы с выходов D-триггера 4 подаютс на вход 9 управлени режимом работы счетчика 6 импульсов и на вход установки RS-триггера 19. При этом счетчик 6 импульсов переводитс в режим параллельного приема информации с шины 30 данных.the transfer of which blocks the element OR 40. The transfer signal O at the inputs of the transfer of synchronous binary counters is set in time. The start pulse (Fig. 3b) at the information input of the D-grigger 2 is set to 1. On the leading edge of the next following pulse at the synchronization input, D-trigger 2 is set to state 1, the next synchronization pulse D-trigger 3 is set to 1 At the output of the OR-NOT element 22, a pulse is formed (Fig. 3 s) of reference to synchronization pulses, which through the element OR 24 is fed to the information input of D-flip-flop 4. Thanks to the advancement of 1 synchronization signals, pulses are generated at the outputs of D-flip-flops 4 Fig. 3 d) and 5 (f ig. 3 e). The pulses from the outputs of the D-flip-flop 4 are fed to the input 9 controlling the operation of the pulse counter 6 and to the input of the RS-flip-flop setting 19. The pulse counter 6 is switched to the parallel receiving mode from the data bus 30.
Сигнал с инверсного выхода RS-триггера 19 низким уровнем (фиг. 3 k) поступает не вход переноса счетчика 6 импульсов. На выходе переноса синхронного счетчика 33 и на входе элемента ИЛИ 40 устанавливаетс низкий уровень (фиг. 3 о). Передним фронтом следующего за этим импульса синхронизации , действующим по входу 10 (фиг. 3 а) счетчика 6 импульсов и на выходе элемента ИЛИ 4.0 (фиг. 3 х), информаци (например, код числа 16) с шины 30 данных параллельно вводитс в счетчик 6 импульсов. Этим же по времени импульсом синхронизации, действующим по пходу синхронизации D-триггера 5, последний переключаетс с состо ние 1 и на его выходе под действием следующего импульса синхронизации формируетс импульс (фиг. 3 е) длительностью , равной периоду повторени импульсов синхронизации.The signal from the inverted output of the RS flip-flop 19 low level (Fig. 3 k) does not receive the transfer input of the counter 6 pulses. At the transfer output of the synchronous counter 33 and at the input of the element OR 40, a low level is established (FIG. 3 o). The leading edge of the following synchronization pulse, acting on input 10 (Fig. 3 a) of the counter 6 pulses and on the output of the OR 4.0 element (Fig. 3 x), information (for example, the number code 16) from the data bus 30 is in parallel input to the counter 6 pulses. By the same synchronization pulse acting on the synchronization run of the D-flip-flop 5, the latter switches from state 1 and at its output under the action of the next synchronization pulse a pulse is formed (Fig. 3f) with a duration equal to the repetition period of the synchronization pulses.
Передний фронт выходного сигнала D- триггера 5 определ ет начало первого временного интервала. На выходе элемента ИЛИ 26 формируетс импульс (фиг. 3 е) длительностью , равной двум периодам повторени импульсов синхронизации. Этот импульс воздействует через элемент ИЛИ 25 на вход управлени дешифратора 21 состо ни младших разр дов счетчика импульсов и запрещает работу дешифратора 21 на врем приема информации в счетчик 6 импульсов, что исключает возможность по влени сигнала смены данных или сиг нала дешифрации состо ни младших разр дов при записи в них кода числа 2. ПослеThe leading edge of the output of the D-flip-flop 5 determines the start of the first time interval. At the output of the OR element 26, a pulse is formed (Fig. 3e) with a duration equal to two periods of synchronization pulse repetition. This pulse acts through the OR element 25 on the control input of the decoder 21 of the state of the lower bits of the pulse counter and prohibits the operation of the decoder 21 for the time of receiving information into the counter of 6 pulses, which excludes the possibility of the appearance of the data change signal or the signal of the state of the least significant bits when writing the code number 2 into them. After
того, как преобразуемый код будет прин т в счетчик 6 импульсов и сн т низкий уровень сигнала с входа 9 управлени режимом работы , счетчик 6 импульсов перейдет в режим вычитани .When the code to be converted is received in the counter of 6 pulses and the signal is low from input 9 of the mode control, the counter of pulses 6 goes into subtraction mode.
По мере вычитани из числа в счетчике под воздействием импульсов эталонной частоты генератора 1 вначале обнул ютс старшие разр ды счетчика, причем во всеAs they are subtracted from the number in the counter, under the influence of the pulses of the reference frequency of the generator 1, the higher bits of the counter are first zeroed, and
младшие разр ды записываетс информаци Г. Выходной сигнал дешифратора 20 нул (фиг. 3 у) низким уровнем через элемент ИЛИ 25 поступает на вход управлени дешифратора состо ни младших разр дов,the lower bits are recorded in the information G. The output signal of the decoder 20 is zero (Fig. 3) low level through the element OR 25 is fed to the input of the control of the decoder of the state of the lower bits,
разреша работу последнего. Первым по вл етс и поступает на шину 31 сигнал смены данных, по которому на шину 30 данных подаетс код следующего временного интервала . Состо ние младших разр дов счетчика 6 импульсов, которое при этом дешифруетс , соответствует числу щ, удовлетвор ющему условиюallowing the work of the latter. The first to appear on the bus 31 is a data change signal, through which the code of the next time interval is fed to the data bus 30. The state of the lower bits of the pulse counter 6, which in this case is decrypted, corresponds to the number u, satisfying the condition
где tB - врем выборки информации на шину данных;where tB is the time of sampling information on the data bus;
Т - период повторени сигнала синхронизации .T is the repetition period of the synchronization signal.
На втором выходе дешифратора 21 по вл етс импульс (фиг. 3 z), когда в счетчике 33 число 2. Этот импульс поступает через элемент ИЛИ 24 на информационный вход D-триггера 4.A pulse appears at the second output of the decoder 21 (FIG. 3 z) when the counter 33 has the number 2. This pulse arrives through the OR element 24 at the information input of the D-flip-flop 4.
Под действием синхронизации по вление импульсов на выходах D-триггеров 4 и 5 соответствует записи в счетчике 33 чисел 1 и 0. Импульс с инверсного выхода D-триггера 4 снова переводит счетчик 6 импульсов по входу 9 управлени режимом работы вUnder the action of synchronization, the occurrence of pulses at the outputs of D-flip-flops 4 and 5 corresponds to the entry in the counter 33 of the numbers 1 and 0. The pulse from the inverse output of D-flip-flop 4 again translates the counter 6 pulses to input 9 of the mode control
режим приема информации. Очередным импульсом синхронизации, который должен обнулить счетчик 6 импульсов, код следующего временного интервала с шины 30 дан ных записываетс в счетчик 6 импульсов.mode of receiving information. With the next synchronization pulse, which the counter of 6 pulses should reset, the code of the next time interval from the data bus 30 is written into the pulse counter 6.
Передний фронт импульса на выходе D- триггера 5 и выходной шине 32 преобразовател соответствует моменту времени конца первого временного интервала и начала следующего временного интервала.The leading edge of the pulse at the output of D-flip-flop 5 and the output bus 32 of the converter corresponds to the time of the end of the first time interval and the beginning of the next time interval.
0 Начинаетс преобразование кода в следующий временной интервал.0 The conversion of the code to the next time interval begins.
Преобразование запрограммированной последовательности временных интервалов продолжаетс до тех пор, пока поThe conversion of the programmed sequence of time intervals continues until
5 заднему фронту выходного сигнала D-триггера 5 не будет сформирован программным устройством управлени (не показано) сигнал Стоп (фиг. 3 f). который поступает по шине 29 через элемент ИЛИ 23 на вход5 the falling edge of the output signal of the D-flip-flop 5 will not be generated by the software control device (not shown) Stop signal (Fig. 3 f). which enters the bus 29 through the element OR 23 to the input
сброса RS-триггера 19. Выходной сигнал последнего блокирует высоким уровнем вход переноса синхронного счетчика 33 и элемент ИЛИ 40 и. таким образом, запрещает воздействие импульсов синхронизации на счетчик 6 импульсов. На этом цикл работы преобразовател прекращаетс и устройство готово к дальнейшей работе. На фиг. 3 в качестве примера показаны временные диаграммы работы устройства при преобразовании кодов чисел 16 и 32.reset the RS flip-flop 19. The output signal of the latter blocks the transfer input of the synchronous counter 33 and the element OR 40 and. thus, prohibits the effect of synchronization pulses on the counter 6 pulses. On this cycle, the operation of the converter stops and the device is ready for further operation. FIG. 3, as an example, shows time diagrams of the device operation when converting codes of numbers 16 and 32.
Физического обнулени счетчика б импульсов не происходит. Вместо нул в счетчик импульсов принимаетс код следующего временного интервала, и заранее определ етс импульс эталонного генератора, который должен будет обнулить счетчик импульсов (только он воспринимаетс D- триггером 5) Так как начало и конец преобразуемого временного интервала формируютс передним фронтом выходного импульса только D-триггера 5, задержка сигнала в нем в конечном итоге вычитаетс и преобразованный временной интервал в чистом виде равен произведениючисла, код которого был прин т в счетчик импульсов, на период повторени сигнала синхронизации Изменение задержки выходного импульса D-триггер 5 в зависимости от дестабилизирующих Факторов не скатываетс на точности преобразовани Передний франт выходного импульса D-трчггера 5 соответствует моменту времени концг предыдущего интервала и начала следующего временного интервала Поэтому иска- жени на стыке между временными интервалами отсутствуютPhysical zeroing of the pulse counter b does not occur. Instead of zero, the code of the next time interval is accepted into the pulse counter, and the pulse of the reference generator is determined in advance, which will have to zero the pulse counter (only it is sensed by the D-flip-flop 5). Since the beginning and the end of the converted time interval are formed by the leading edge of the output pulse, only D- the trigger 5, the delay of the signal in it is eventually subtracted and the converted time interval in its pure form is equal to the product of the number whose code was taken into the pulse counter for the repeated period Synchronization of the output signal The change in the delay of the output pulse D-trigger 5, depending on the destabilizing factors, does not roll on the accuracy of the conversion. The front edge of the output pulse of the D-trechger 5 corresponds to the time of the end of the previous interval and the beginning of the next time interval. Therefore, there is no distortion
При большом количестве разр дов синхронных счетчиков их быстродействие огра- ничечо так как задержка сигналов переноса из младших разр дов в старшие оказываетс соизмеримой с периодом повторени сигналэ синхронизации В счетчике импульсов (фиг 2) частота синх- ронипции старших разр дов в 2Ш раз ниже входной частоты, где m - количество младших разр дов (например, m - 4) Счетчик импульсов имеет начальную установку что дает достаточно времени дл переноса ну л. При работе преобразовател допустимое врем переноса нул (фиг 3 qn) равно Т -2т.With a large number of bits of synchronous counters, their speed is limited since the delay of the transfer signals from the lower bits to the older ones is comparable to the repetition period of the synchronization signal. In the pulse counter (Fig. 2) the synchronization frequency of the older bits is 2W times lower than the input frequency. , where m is the number of low-order bits (for example, m - 4) The pulse counter has the initial setting, which gives enough time for transferring zero. When the converter is in operation, the allowable transfer time zero (fig 3 qn) is T – 2m.
При приеме в счетчик импульсов кодов, содержащий вмлчдших разр дах все нули через элемент ИЛИ 40 на шину синхронизации счетчиков старших разр дов поступают два импульса отсто щие друг от друга на врем , равное периоду Т повторени импульсов синхронизации Дл правильной работы п разр дного счетчика импульсов вWhen code pulses containing the most discharged bits are received into the counter, all zeros through the OR 40 element are sent to the synchronization bus of the high-order counters two pulses spaced apart from each other by a time equal to the repetition period T of the synchronization pulses.
этом олучае производитс ускоренный перенос единицы в старшие разр ды (фиг Зд1In this case, an accelerated transfer of the unit to the higher bits is made (FIG.
Д2дп) через элементы ИЛИ 41-47. ЭлеD2dp) through the elements OR 41-47. Ele
менты ЗЬ-ЗУ задержки обеспечивают согла- 5 сованную передачу только одного импульса синхронизации за период через элемент ИЛИ 40 и синхронный прием информации в счетчик импульсов на максимальной частоте синхронизации. Благодар такому выполне- 0 нию счетчика импульсов увеличиваетс допустимое количество разр дов счетчика и, следовательно, сохран етс дискретность наращивани временных интервалов в широком диапазоне (от дес тков наносекунд), 5 что вл етс дополнительным преимуществом устройстваThe 3–3 delay delay copes provide a consistent transmission of only one synchronization pulse per period through the OR 40 element and synchronous reception of information to the pulse counter at the maximum synchronization frequency. Due to such execution of the pulse counter, the allowable number of counter bits increases, and, therefore, the increment of time intervals is maintained over a wide range (from tens of nanoseconds), 5 which is an additional advantage of the device
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU884360511A SU1672567A1 (en) | 1988-01-07 | 1988-01-07 | Code-to-time interval converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU884360511A SU1672567A1 (en) | 1988-01-07 | 1988-01-07 | Code-to-time interval converter |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1672567A1 true SU1672567A1 (en) | 1991-08-23 |
Family
ID=21348437
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU884360511A SU1672567A1 (en) | 1988-01-07 | 1988-01-07 | Code-to-time interval converter |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1672567A1 (en) |
-
1988
- 1988-01-07 SU SU884360511A patent/SU1672567A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР N 1106012, кл. Н 03 М 1/82, 1982. Авторское свидетельство СССР № 1115225, кл. Н 03 М 1/82, 1983. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4160154A (en) | High speed multiple event timer | |
SU1672567A1 (en) | Code-to-time interval converter | |
SU1283976A1 (en) | Number-to-pulse repetition period converter | |
SU1515176A1 (en) | Device for monitoring temperature | |
SU1517136A1 (en) | Series-to-parallel code converter | |
SU888125A1 (en) | Device for correcting failure codes in circular distributor | |
SU1714811A1 (en) | Binary code-to-time period converter | |
SU1302267A1 (en) | Information input device | |
SU658556A1 (en) | Gray code-to -binary code converter | |
SU978098A1 (en) | Time interval converter | |
SU949823A1 (en) | Counter | |
SU1689962A1 (en) | Device for interfacing interfaces of different digits | |
SU1453398A1 (en) | Information input device | |
SU1283980A1 (en) | Serial code-to-parallel code converter | |
SU1061128A1 (en) | Device for data input/output | |
SU1298802A2 (en) | Coder | |
SU1174919A1 (en) | Device for comparing numbers | |
SU1529230A1 (en) | Device for capturing information from multidigit discrete sensors | |
SU1129723A1 (en) | Device for forming pulse sequences | |
RU1775854C (en) | Controlled pulse recurrence frequency divider | |
SU1315973A2 (en) | Time interval-to-binary code converter | |
SU1725388A1 (en) | Binary counting device with check | |
SU1555838A1 (en) | Pulse sequence converter | |
SU1553976A2 (en) | Device for checking condition of digital objects | |
SU1651383A1 (en) | Bipulse-to-binary code converter |