SU1513622A1 - Code-to-time interval converter - Google Patents
Code-to-time interval converter Download PDFInfo
- Publication number
- SU1513622A1 SU1513622A1 SU874265478A SU4265478A SU1513622A1 SU 1513622 A1 SU1513622 A1 SU 1513622A1 SU 874265478 A SU874265478 A SU 874265478A SU 4265478 A SU4265478 A SU 4265478A SU 1513622 A1 SU1513622 A1 SU 1513622A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- inputs
- outputs
- combined
- Prior art date
Links
Description
Изобретение относится к области вычислительной техники и может быть использовано в моделирующих комплексах и информационно-измерительныхThe invention relates to the field of computing and can be used in modeling complexes and information-measuring
Изобретение относится к вычислительной технике и может быть использовано в моделирующих комплексах и информационно-измерительных системах.The invention relates to computing and can be used in modeling complexes and information-measuring systems.
Цель изобретения - расширение области применения за счет реализации нирокого диапазона формируемых характеристик преобразования. .The purpose of the invention is the expansion of the scope due to the implementation of a range of generated conversion characteristics. .
На чертеже представлена структурная электрическая схема преобразователя .The drawing shows a structural electrical circuit of the Converter.
Преобразователь кода во временной интервал содержит генератор 1 импульсов, элемент И 2, первый счетчик 3 импульсов, буферный регистр 4, регистр 5, микропроцессор (МП) 6, селектор 7 адреса, блок 8 сравнения, запоминающее устройство (ЗУ) 9, элемент И 10, счетчик 11 импульсов, блок 12 сравнения, формирователь 13 импульсов, выходную шину 14, шины 15The converter code in the time interval contains the generator 1 pulses, the element And 2, the first counter 3 pulses, the buffer register 4, register 5, the microprocessor (MP) 6, the selector 7 addresses, block 8 comparison, a storage device (memory) 9, the element And 10 , pulse counter 11, comparison unit 12, pulse shaper 13, output bus 14, tires 15
22
системах. Цель изобретения - расширение области применения аа счет реализации широкого диапазона формируемых характеристик. Преобразователь кода во временной интервал содержит два счетчика импульсов, два блока сравнения кодов, два буферных регистра, регистр, генератор импульсов, два элемента И, формирователь импульсов, элемент ИЛИ. В преобразователь введены селектор адреса, микропроцессор и запоминающее устройство, входывыходы которых соответственно соединены, что обеспечивает высокую гибкость формирования моделируемых характеристик. 1 ил.systems. The purpose of the invention is the expansion of the scope of aa through the implementation of a wide range of generated characteristics. The code to time converter contains two pulse counters, two code comparison blocks, two buffer registers, a register, a pulse generator, two AND elements, a pulse shaper, an OR element. An address selector, a microprocessor and a memory device are entered into the converter, the input outputs of which are respectively connected, which provides high flexibility in the formation of simulated characteristics. 1 il.
управления, буферный регистр 16, элемент ИЛИ 17. Через шины 15 управления с помощью внешнего устройства сопряжения преобразователь может быть подключен к управляющей ЭВМ (показано пунктиром).control, buffer register 16, element OR 17. Through the control bus 15 using an external interface device, the converter can be connected to the control computer (shown by a dotted line).
В МП 6 один из регистров общего назначения используется как счетчик периодов, а ЗУ 9 в своем составе содержит постоянное запоминающее уст-’· ройство (ПЗУ) и оперативное запоминающее устройство (ОЗУ).In MP 6, one of the general-purpose registers is used as a period counter, and memory 9 contains a permanent storage device (ROM) and a random access memory (RAM).
Задача преобразования заключается в оперативном формировании временного интервала Т, соответствующего, например, частотной статической характеристике реального моделируемого датчика без предварительной обработки данных для получения этой характеристики ь Target conversion is operationally formation time slot T corresponding, for example, the frequency characteristic of the real static simulated sensor data without prior treatment to obtain this characteristic s
СWITH
$$
15136221513622
33
15136221513622
Характеристика реального датчика нелинейная и может рассматриваться как состоящая из линейной и нелинейной частей. Входной 1-разрядный код, $ имитирующий временной интервал Т, представляет сумму двоичных, разрядов 1=т+п,. где т - старшие разряды, а η - младшие. Старшие разряды щ соответствуют линейной части моделируе- ц мой характеристики датчика, а младшие η - нелинейные части характеристики.The characteristic of a real sensor is non-linear and can be considered as consisting of linear and non-linear parts. The input 1-bit code, $ imitating the time interval T, represents the sum of binary digits 1 = m + n ,. where m is the high order, and η is the low order. Higher digits u correspond to the linear part of the model characteristics of the sensor, and low η - nonlinear parts of the characteristic.
Общее количество разрядов 1 опре-The total number of digits 1
и зависит от требуемой точности преобразования ς, предъявляемой к моделируемой характеристике датчика £(х). Вand depends on the required conversion accuracy ς, imposed on the modeled characteristic of the sensor £ (x). AT
1one
свою очередь, д £ зависит от час_20turn, d £ depends on the hour_ 20
тоты тактового генератора £ и количества младших разрядов п. Приведенные соотношения учитываются при выборе элементов схемы преобразователя.clocks of the clock generator £ and the number of the least significant digits of n. The given relations are taken into account when choosing the elements of the converter circuit.
Так количество разрядов счетчика 3 25So the number of digits counter 3 25
выбирается равным ш разрядам, а количество разрядов счетчика периодов МП 6 и ОЗУ в ЗУ 9 - η разрядам.is chosen equal to w discharges, and the number of discharges of the counter periods MP 6 and RAM in memory 9 - η discharges.
Таким образом, чтобы обеспечить требуемую точность η за цикл нреоб- 30 разования, счетчик периодов МП ό (до момента заполнения) должен сформироваткпоследозательность 2 временных интервалов.Thus, in order to ensure the required accuracy η for the cycle of education, the period counter MP ό (until the moment of filling) should form a sequence of 2 time intervals.
Кроме выполнения задачи преобразо- 35 вания кода во временной интервал в данном случае благодаря использованию МП 6 и ЗУ 9, обеспечивающих имитацию любой характеристики из выбранного семейства датчиков, преобразователь до позволяет обеспечивать контроль точности сформированной характеристики.In addition to performing the task of converting a code into a time interval in this case, using MP 6 and memory 9, which simulate any characteristic from a selected family of sensors, the converter allows you to control the accuracy of the generated characteristic.
Это достигается путем сравнения полученной характеристики с характеристикой эталонного датчика, информация 45 о которой прошита в ПЗУ, входящем в ЗУ 9. Если полученная характеристика на удовлетворяет предъявляемым требованиям, то преобразователь дает возможность оперативно изменить имитиру- ,θ емую характеристику.This is achieved by comparing the obtained characteristic with the characteristic of the reference sensor, information 45 of which is stitched in the ROM included in the memory 9. If the obtained characteristic does not meet the requirements, then the converter allows you to quickly change the simulated characteristic.
Работа преобразователя осуществляется следующим образом.The operation of the Converter is as follows.
Перед началом работы по сигналу установки "О", поступающему через элемент ИЛИ 17 на установочные входы счетчиков 11, 3 и регистра 5, происходит сброс в "О" счетчиков и записьBefore working on the installation signal "O", coming through the element OR 17 to the installation inputs of the counters 11, 3 and register 5, the counters are reset to the "O" and recorded
входных кодов в регистры 4, 5 и 16 по сигналу записи из селектора 7 адреса.input codes in registers 4, 5 and 16 by the recording signal from the address selector 7.
В регистры 4 и 5 записываются старшие (щ) разряды входного кода 1(1=ш+п), воспроизводящего линейную часть формируемой характеристики (временного интервала), а в регистр 16 - данные для формирования дополнительного временного интервала, воспроизводящего нелинейную часть характеристики .Registers 4 and 5 are written high (n) bits of the input code 1 (1 = w + n), which reproduces the linear part of the characteristic (time interval), and in register 16 - data for the formation of an additional time interval, which reproduces the nonlinear part of the characteristic.
При этом в регистры 5 и 16 записывается соответствующая информация для формирования первого текущего периода, а в буферный регистр 4 - информация (коды т старших разрядов) для формирования второго текущего периода. Это необходимо для обеспечения надежной записи информации о втором текущем периоде в регистр 5 сразу после появления сигнала "Прерывание' 2", в связи с тем, что дополнительный временной интервал меньше временного интервала, соответствующего линейной части характеристики.In this case, the corresponding information is recorded in registers 5 and 16 for the formation of the first current period, and the buffer register 4 is information (codes T of the most significant digits) for the formation of the second current period. This is necessary to ensure reliable recording of information about the second current period in register 5 immediately after the appearance of the signal "Interrupt '2", due to the fact that the additional time interval is less than the time interval corresponding to the linear part of the characteristic.
После этого генератор 1 начинает вырабатывать импульсы тактовой частоты, поступающие через элемент И 2 на вход счетчика 3, выходной код которого сравнивается с входным кодом регистра 5 в блоке 8. При совпадении-, этих двух кодов блок 8 вырабатывает сигнал "Прерывание 1" микропроцессора 6, прекращая тем самым формирование временного интервала, по длительности соответствующего линейной части характеристики моделируемого датчика. По этому сигналу МП 6 прибавляет к содержимому счетчика периодов единицу, подготавливает информацию о дополнительном временном интервале следующего текущего периода (в данном случае второго), формирует в селекторе 7 сигнал "Запись" и контролирует входные коды т старших разрядов.After this, generator 1 starts producing clock pulses, coming through element 2 at the input of counter 3, the output code of which is compared with the input code of register 5 in block 8. If these two codes coincide, block 8 generates a signal "Interrupt 1" of microprocessor 6 , thereby terminating the formation of a time interval, the duration of the corresponding linear part of the characteristics of the simulated sensor. For this signal, MP 6 adds one to the contents of the period counter, prepares information about the additional time interval of the next current period (in this case, the second one), generates a Record signal in the selector 7, and controls the high-order input codes T.
Одновременно сигнал с выхода блока 8 через элемент И 2 запрещает счет импульсов, поступающих с выхода генератора 1 на вход счетчика 3, и преобразователь переходит к формированию дополнительного зременного интервала текущего периода.At the same time, the signal from the output of block 8 through the element AND 2 prohibits the counting of pulses from the output of generator 1 to the input of counter 3, and the converter proceeds to the formation of an additional temporary interval of the current period.
Разрешающий сигнал с выхода блокаAllow signal from the output of the block
8 обеспечивает прохождение импульсов8 allows the passage of pulses
генератора 1 через элемент И 10 наgenerator 1 through element 10 on
5five
15136221513622
66
счетный вход счетчика 11. Счетчик 11 подсчитывает эти импульсы до тех пор, пока его выходной код не станет равным коду в буферном регистре 16. В $ этот момент да выходе блока 12 появляется сигнал "Прерывание 2", который через формирователь 13 импульсов' и элемент ИЛИ 17 обнуляет счётчики 3,the counting input of counter 11. Counter 11 counts these pulses until its output code equals the code in the buffer register 16. At $ this time and the output of block 12, the signal “Interrupt 2” appears, which through the driver of 13 pulses and the element OR 17 resets counters 3,
11 и регистр 5, заканчивая формирова- ,о ние первого текущего периода. При этом подготовленная микропроцессором 6 информация для формирования следующего текущего периода переписывается соответственно в буферные регистры 4,11 and register 5, ending with the formation of the first current period. In this case, the information prepared by the microprocessor 6 for the formation of the next current period is rewritten, respectively, in the buffer registers 4,
16 и регистр 5.16 and register 5.
Стробирующий импульс, поступающий на вход блока 12 с выхода генератора 1, обеспечивает устойчивый выходной сигнал, а импульс, поступающий на вход блока 12 с выхода блока 8, разрешает формирование и выдачу выходного импульса на выходную шину 14 и формирователь 13.Strobe pulse to the input unit 12 from the output of the generator 1, provides a stable output signal, and the pulse to the input unit 12 from the output of block 8, allows the formation and output of the output pulse to the output bus 14 and the imaging unit 13.
Формирование второго, третьего и последующих временных интервалов производится аналогично. Причем, каждый последовательно формируемый счетчиком периодов временной интервал регистрируется в МП 6.The formation of the second, third and subsequent time intervals is similar. Moreover, each time interval formed by the period counter is recorded in the MP 6.
Сразу после заполнения счетчика периодов МП 6 в ОЗУ ЗУ 9 информация 1 обновляется, а после выдачи преобразователем Σ^-γο сигнала "Прерывание 2" в МП 6 цикл преобразования моделируемого сигнала заканчивается. При этом при наличии в селекторе 7 разрешающего сигнала происходит запись обновленных кодов и данных в регистры 4,Immediately after filling in the period counter MP 6 in RAM 9, information 1 is updated, and after the converter Σ ^ -γο issues the “Interrupt 2” signal in MP 6, the conversion of the modeled signal ends. In this case, if there is a permitting signal in the selector 7, updated codes and data are recorded in registers 4,
5 и 16.5 and 16.
Таким образом, имитируемый за цикл временной интервал равен сумме интервалов всех текущих периодов, каждый из которых содержит постоянней временной интервал, соответствующий коду старших разрядов, и дополнительный временной интервал, длительностью, определяемой результатами обработки и анализа нелинейности моделируемой характеристики.Thus, the time interval simulated for a cycle is equal to the sum of the intervals of all current periods, each of which contains a constant time interval corresponding to the high-order code, and an additional time interval, the duration determined by the results of processing and analyzing the nonlinearity of the simulated characteristic.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874265478A SU1513622A1 (en) | 1987-06-19 | 1987-06-19 | Code-to-time interval converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874265478A SU1513622A1 (en) | 1987-06-19 | 1987-06-19 | Code-to-time interval converter |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1513622A1 true SU1513622A1 (en) | 1989-10-07 |
Family
ID=21312201
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU874265478A SU1513622A1 (en) | 1987-06-19 | 1987-06-19 | Code-to-time interval converter |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1513622A1 (en) |
-
1987
- 1987-06-19 SU SU874265478A patent/SU1513622A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1513622A1 (en) | Code-to-time interval converter | |
SU1478335A1 (en) | Code-to-time-interval converter | |
SU1376083A1 (en) | Random event flow generator | |
SU1656511A1 (en) | Digital function separator | |
SU1160410A1 (en) | Memory addressing device | |
SU907553A1 (en) | Device for simulating process of control of reserves | |
SU1124318A1 (en) | Device for simulating graph | |
SU1107136A1 (en) | Digital function generator | |
SU1487062A1 (en) | Sophisticated system failure simulator | |
JP2924968B2 (en) | Time interactive simulation device | |
SU1388858A1 (en) | Random process generator | |
SU1282118A1 (en) | Random binary number generator | |
SU1370737A1 (en) | Generator of pulsed sequence | |
SU1298743A1 (en) | Random process generator | |
SU1566339A1 (en) | Device for presentation of graphic information | |
SU1431033A1 (en) | Code to time interval converter | |
SU1483431A1 (en) | Modulo 9 check and program control unit | |
SU1451832A1 (en) | Variable-frequency pulser | |
SU1633365A1 (en) | Device for frequency measurement | |
SU1043660A1 (en) | Device for simulating objects having distributed parameters | |
JPS5922587Y2 (en) | random number generator | |
SU440795A1 (en) | Reversible binary counter | |
SU1206821A1 (en) | Device for solving inverse problems of heat conduction | |
SU1062698A1 (en) | Random event flow generator | |
SU1056191A1 (en) | Stochastic converter |