SU1742997A1 - Residual class system code-to-voltage converter - Google Patents
Residual class system code-to-voltage converter Download PDFInfo
- Publication number
- SU1742997A1 SU1742997A1 SU894768599A SU4768599A SU1742997A1 SU 1742997 A1 SU1742997 A1 SU 1742997A1 SU 894768599 A SU894768599 A SU 894768599A SU 4768599 A SU4768599 A SU 4768599A SU 1742997 A1 SU1742997 A1 SU 1742997A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- output
- input
- converter
- outputs
- inputs
- Prior art date
Links
Landscapes
- Analogue/Digital Conversion (AREA)
Abstract
Изобретение относитс к вычислительной технике и может быть использовано дл сопр жени вычислительных устройств, функционирующих в системе остаточных классов с различными оконечными аналоговыми устройствами. Цель изобретени - по 9.л вышение быстродействи и упрощение преобразовател . Преобразователь кода системы остаточных классов в напр жение содержит п регистров 1.1-l.n, преобразователь 2 кода, (п-1) сумматоро в 3.1-З.П-1 по модул м оснований системы остаточных классов, дополнительный регистр 4, п циф- роаналоговых преобразователей 5.1-Б.п, аналоговый сумматор 6. блок 7 выдачи результата , блок 8 управлени , входную информационную шину 9, выходную шину 10 и шину 11 Начало преобразовани . Положительный эффект обеспечиваетс за счет усовершенствовани алгоритма преобразовани кода системы остаточных классов в двоичный код. 1 з.п. ф-лы, 1 ил., 1 табл. V иThe invention relates to computing and can be used to interface computing devices operating in the system of residual classes with various terminal analog devices. The purpose of the invention is to increase the speed and simplify the converter. The converter of the code of the system of residual classes to voltage contains n registers 1.1-ln, the converter 2 codes, (p-1) summator 3.1-Z.P-1 modulo the bases of the system of residual classes, additional register 4, n digital-analog converters 5.1-B.p., analog adder 6. block 7 for outputting a result, block 8 for control, input information bus 9, output bus 10 and bus 11 Start of conversion. A positive effect is provided by the improvement of the algorithm for converting the code of the system of residual classes into a binary code. 1 hp f-ly, 1 ill., 1 tab. V and
Description
З.п-1Z.p-1
9,19.1
22
ю юyu yu
Ч) 4H) 4
Изобретение относитс к вычислительной технике и может быть использовано дл сопр жени вычислительных устройств, функционирующих в системе остаточных классов (СОК) с различными оконечными устройствами , требующими аналогового вывода , а также в технике св зи при использовании кодов СОК в цифровой телефонии .The invention relates to computing and can be used to interface computing devices operating in the residual class system (SSC) with various terminal devices requiring analogue output, as well as in communication technology when using SSC in digital telephony.
Цель изобретени - повышение быстродействи и упрощение преобразовател .The purpose of the invention is to increase the speed and simplify the converter.
На чертеже приведена структурна схема преобразовател кода СОК в напр жение .The drawing shows a flowchart of the SOC to voltage converter.
Преобразователь кода СОК в напр жение содержит входные регистры 1.1-1.П по числу оснований системы остаточных классов , преобразователь 2 кода, сумматоры ЗЛ-З.п-1 по модул м оснований СОК, кроме наименьшего, дополнительный регистр 4, цифроаналоговые преобразователи 5.1- 5.п, аналоговый сумматор 6, блок 7 выдачи результата, блок 8 управлени , входные шины 9.1-9.п, выходную шину 10, шину 11 Начало преобразовани . Блок 8 управлени выполнен на распределителе 12 импульсов, элементе И 13, RS-триггере 14, генераторе 15 импульсов и элементе 1& задержки.Converter SOK to voltage contains input registers 1.1-1.P according to the number of bases of the system of residual classes, converter 2 codes, adders ЗЛ-З.п-1 modulo SOK bases, except the smallest, additional register 4, digital-to-analog converters 5.1- 5. p, analog adder 6, result output block 7, control block 8, input buses 9.1-9. P., Output bus 10, bus 11. Conversion start. The control unit 8 is configured on a pulse distributor 12, an AND element 13, an RS flip-flop 14, a pulse generator 15 and an element 1 & delays.
Преобразователь работает по следующему принципу.The converter works according to the following principle.
Число X, представленное в СОК по основани м pi, paРп остатками xi, X2хпThe number X represented in the SOC by the bases pi, paРп residues xi, X2хп
в обобщенной позиционной системе (ОПС), записываетс следующим образом:in the generalized position system (OPS), is written as follows:
X ai + Э2р1 + эзр1р2 + ... + anpip2... рп-1.X ai + Э2р1 + эзр1р2 + ... + anpip2 ... рп-1.
(1)(one)
Найд коэффициенты ai, с их помощью можно получить напр жение Ux Х- А ,Find the coefficients ai, with their help, you can get the voltage Ux X-A,
Пусть X, Xi, Ха, .... Хп представл ют собой целые числа в системе счислени остаточных классов, так чтоLet X, Xi, Xa, .... Xn be integers in the number system of residual classes, so that
X (Х1,Х2Хп)X (X1, X2Hp)
.0) .0).0) .0)
Хп)Xn)
(2)(2)
и X, Х| Ј Р - 1 дл t 1, 2п, где Р and X, X | Ј P - 1 for t 1, 2n, where P
Р1 Р2... Рп. P1 P2 ... Pn.
Поскольку Xi есть некоторое число в об- ласти О-Р-1, то Xi в обобщенной позиционной системе имеет видSince Xi is a number in the O-P-1 region, Xi in the generalized positional system has the form
Xi (0, 0ai, ан-1ап)Xi (0, 0ai, en-1p)
ИЛИ Х| - 8| Р1 ф2 ... РМ + 31-М Р1 Р2 ...OR X | - 8 | Р1 ф2 ... РМ + 31-М Р1 Р2 ...
pi +... + an pi P2 ... Рп-1(3)pi + ... + an pi P2 ... Pn-1 (3)
Из уравнений (2) следует, что число X может быть записано в виде суммы остаточ- ных представлений по модулю Р:From equations (2) it follows that the number X can be written as the sum of residual representations modulo P:
X , Х2Хп)ф1, 00) + (О, Х2. 0..., 0) +X, Х2Хп) ф1, 00) + (О, Х2. 0 ..., 0) +
... + (0, 0xn)s(xi + Х2 + ... + хп) mod P... + (0, 0xn) s (xi + x2 + ... + xn) mod P
(4).(four).
Тогда цифры суммы Xi (числа X) в ОПС могут быть получены из цифр Xi в обобщенной позиционной системе по правилу: цифpa ai в представлении в ОПС получаетс суммированием по модулю PI всех цифр XLThen the digits of the sum Xi (the numbers X) in the OPS can be obtained from the digits Xi in the generalized positional system by the rule: the digit ai in the representation in the OPS is obtained by summing up the modulo PI of all the digits XL
Ха Хп в представлении в обобщеннойHah in representation in generalized
позиционной системе и переносом, формируемым при получении ам.positional system and transfer, formed upon receipt of AM.
Следовательно, на основании (2)-{4) А° статочно вычислить коэффициенты обобщенной позиционной системы чисел видаConsequently, on the basis of (2) - (4) A °, it is enough to calculate the coefficients of a generalized positional system of numbers
(О, 0, xi, 0 0), где I 1, 2 п, чтобы(O, 0, xi, 0 0), where I 1, 2 p to
простым суммированием получить искомыеby simple summation get the desired
коэффициенты ai числа (xi, X2хп).coefficients ai of the number (xi, X2хп).
Пример. Выберем основани СОК pi 3, р2 5, рз 7 и составим таблицу коэффициентов ai чисел (0, xi, 0) переводом их в ОПС.Example. We select the bases of the RCC pi 3, p2 5, pz 7 and draw up a table of coefficients ai numbers (0, xi, 0) by transferring them to OPS.
Преобразуем число X 82 (1, 2, 5) в обобщенную позиционную систему, дл чего разобьем X на компоненты Xi и выберем из таблицы соответствующие коэффициенты , (xi. 0. 0) (1, 0, 1, 32 3, аз 4; (О, Х2, 0) - (0, 2, 0)-«и - 0, а2 - 4, аз - 2; (О, О, хз) (0, 0, 5) О, 32 0, аз 5. Использу правило, получаемWe transform the number X 82 (1, 2, 5) into a generalized positional system, for which we divide X into components Xi and choose from the table the corresponding coefficients, (xi. 0. 0) (1, 0, 1, 32 3, az 4; (O, X2, 0) - (0, 2, 0) - “and - 0, a2 - 4, az - 2; (O, O, xs) (0, 0, 5) O, 32 0, az 5 Using the rule, we get
перенос учитываетс 5 перенос не учитываетс transfer is taken into account 5 transfer is not taken into account
Произвед суммирование по модул м с учетом переносов, кроме последнего, который не учитываетс , окончательно получилиProduced summation by module, taking into account the carry, except for the last one, which is not taken into account, finally obtained
X (1, 2; 5). Проверка показывает, что, действительно,X (1, 2; 5). Verification shows that, indeed,
X ai + аз Pi + аз pi ф2 X ai + az Pi + az pi f2
1 + 2-3 + 5-3-5 82. 1 + 2-3 + 5-3-5 82.
Преобразователь кода СОК в напр жение работает следующим образом.Converter code JUICE to voltage works as follows.
В исходном состо нии число, подлежащее преобразованию в напр жение, записано во входные регистры 1, накапливающие сумматоры 3 и дополнительный регистр 4 обнулены. По шине 11 на S-вход подаетс короткий импульс, который устанавливает RS-триггер 14 в единичное состо ние, разреша тем самым прохождение тактовых импульсов с генератора 15 тактовых импульсов через элемент И 13 на вход распределител 12 импульсов. На выходах с 1-го по n-й распределител 12 импульсов начнут по вл тьс импульсы, поступающие на вторые выходы блока 8 управлени и далее на управл ющие входы преобразовзтел 2 кода. Преобразователь2 кода может быть выполнен как комбинационное устройство или как долговременное запоминающее устройство с адресным блоком и его задачей вл етс выдача коэффициентов ai, 32 ап обобщеннойIn the initial state, the number to be converted into a voltage is written to the input registers 1, accumulating the adders 3 and the additional register 4 are zeroed. A short pulse is applied via bus 11 to the S-input, which sets the RS flip-flop 14 into one state, thereby allowing the passage of clock pulses from the generator of 15 clock pulses through the AND 13 element to the input of the distributor 12 pulses. At the outputs from the 1st to the nth distributor 12 pulses, pulses will start appearing at the second outputs of the control unit 8 and further to the control inputs of the transducer 2 codes. The converter 2 of the code can be executed as a combinational device or as a long-term memory with an address block and its task is to issue the coefficients ai, 32 ap generalized
позиционной системы по остаткам xi. Например , дл выбранной СОК и числа (1, 2,5) в первом такте по остатку xi 1 с преобразовател 2 кода будут выданы коэффициенты ai 1 и 32 3, аз 4, которые запишутс в дополнительный регистр 4 и сумматоры 3 по модул м, кроме наименьшего, соответственно . Во втором такте по остатку Х2 2 с преобразовател 2 кода будут выданы коэффициенты 32 4. аз 2, которые запишутс в сумматоры 3. Перенос, который сформируетс в сумматоре 3 по модулю 5 при суммировании чисел 3 и 4, поступит на вход следующего сумматора 3 (по модулю 7). Аналогично в третьем такте по остатку хз 5 с преобразовател 2 кода будет выдан коэффициент аз 5, который просуммируетс с содержимым сумматора 3 по модулю 7 (перенос из последнего сумматора не учитываетс ) и, следовательно, в дополнительном регистре 4 и сумматорах 3 будут записаны числа 1, 2, 5. Через п тзктов по сигналам блока 8 управлени с преобразовател 2 кода будут выданы все коэффициенты aj, соответствующие остаткам, записанным во входных регистрах 1. На (пН)-м такте по витс импульс на (п+1)-м выходе распределител 12 импульсов, который поступит наposition system for residues xi. For example, for the selected SOK and the number (1, 2.5) in the first clock cycle on the remainder xi 1 from the converter 2 codes, coefficients ai 1 and 32 3, az 4 will be output, which will be written into additional register 4 and adders 3 modulo except the smallest, respectively. In the second cycle, the remainder X2 2 from the converter 2 codes will be given the coefficients 32 4. A 2 which will be written to the adders 3. The transfer that is formed in the adder 3 modulo 5 when the numbers 3 and 4 are added will go to the input of the next adder 3 ( modulo 7). Similarly, in the third clock cycle on the xs 5 remainder of converter 2 of the code, a factor of 5 will be issued, which is summed up with modulo 7's adder 3 (the transfer from the last adder is not taken into account) and, therefore, the additional register 4 and adders 3 will write 1 , 2, 5. All signals aj corresponding to the residuals recorded in the input registers 1 will be output from the signals of the control block 8 from the converter 2 of the code. At the (pN) -th clock cycle the pulse is at the (n + 1) -th the output of the distributor 12 pulses, which post IT on
5five
первый выход блока 8 управлени и вход элемента 16 задержки. Сигнал с первого выхода блока 8 управлени разрешит выдачу информации (чисел ai) с дополнительного регистра 4 и сумматоров 3, котора поступит на входы цифроаналоговых преобразователей 5, имеющих шаг квантовани соответственноthe first output of control unit 8 and the input of delay element 16. The signal from the first output of the control unit 8 will allow the output of information (numbers ai) from the additional register 4 and adders 3, which will go to the inputs of digital-to-analogue converters 5 having a quantization step, respectively
1 Д.Р1 A, Pi Р2 А1 D.P1 A, Pi P2 A
tt
Pi- Pz ... Pn-i Д. Таким образом, в цифроаналоговых преобразовател х 5 будет произведено умножение величин ai на соответствующие шаги квантовани и полученные произведени поступ т на вход сумматора 6. Окончательно на выходе сумматора 6 получаетс искома величинаPi-Pz ... Pn-i D. Thus, in digital-to-analogue converters 5, the values ai will be multiplied by the corresponding quantization steps and the products obtained will go to the input of the adder 6. Finally, the output value of the adder 6 will be obtained
Ux ai A-f 32 piUx ai A-f 32 pi
+ an pi P2 + an pi P2
PnPn
Д + ...4- -i -A X- AD + ... 4- -i -A X- A
5five
00
5five
00
5five
OO
5five
Сигнал, поступающий на третий выход блока 8 управлени с выхода элемента 16 задержки, откроет блок 7 выдачи результата и искомое напр жение может быть считано по шине 10. В этом же такте единичный сигнал поступает на R-вход RS-триггера 14 и устанавливает его в нулевое состо ние, запретив прохождение тактовых импульсов через элемент И 13, а по входным шинам 9 в регистры 1 записываетс очередное число в СОК, подлежащее преобразованию в напр жение . После обнулени сумматоров 3 и дополнительного регистра 4 преобразование может быть продолжено.The signal arriving at the third output of the control unit 8 from the output of the delay element 16 will open the result output unit 7 and the desired voltage can be read on the bus 10. In the same cycle, a single signal is fed to the R input of the RS flip-flop 14 and sets it to the zero state, by prohibiting the passage of clock pulses through the element I 13, and on the input buses 9 to registers 1, the next number is written to the RNS to be converted into voltage. After zeroing the adders 3 and the additional register 4, the conversion can be continued.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU894768599A SU1742997A1 (en) | 1989-12-11 | 1989-12-11 | Residual class system code-to-voltage converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU894768599A SU1742997A1 (en) | 1989-12-11 | 1989-12-11 | Residual class system code-to-voltage converter |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1742997A1 true SU1742997A1 (en) | 1992-06-23 |
Family
ID=21484386
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU894768599A SU1742997A1 (en) | 1989-12-11 | 1989-12-11 | Residual class system code-to-voltage converter |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1742997A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2744337C1 (en) * | 2020-08-05 | 2021-03-05 | Федеральное государственное казенное военное образовательное учреждение высшего образования "Военный учебно-научный центр Военно-воздушных сил "Военно-воздушная академия имени профессора Н.Е. Жуковского и Ю.А. Гагарина" (г. Воронеж) Министерства обороны Российской Федерации | Digital-to-analog converter in a residual class system |
RU2744475C1 (en) * | 2020-08-05 | 2021-03-10 | Федеральное государственное казенное военное образовательное учреждение высшего образования "Военный учебно-научный центр Военно-воздушных сил "Военно-воздушная академия имени профессора Н.Е. Жуковского и Ю.А. Гагарина" (г. Воронеж) Министерства обороны Российской Федерации | Digital-to-analog converter |
-
1989
- 1989-12-11 SU SU894768599A patent/SU1742997A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР №282767, кл. Н 03 К 13/03, 1969. Авторское свидетельство СССР № 1175034,кл. Н 03 М 1 /66, 1983. * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2744337C1 (en) * | 2020-08-05 | 2021-03-05 | Федеральное государственное казенное военное образовательное учреждение высшего образования "Военный учебно-научный центр Военно-воздушных сил "Военно-воздушная академия имени профессора Н.Е. Жуковского и Ю.А. Гагарина" (г. Воронеж) Министерства обороны Российской Федерации | Digital-to-analog converter in a residual class system |
RU2744475C1 (en) * | 2020-08-05 | 2021-03-10 | Федеральное государственное казенное военное образовательное учреждение высшего образования "Военный учебно-научный центр Военно-воздушных сил "Военно-воздушная академия имени профессора Н.Е. Жуковского и Ю.А. Гагарина" (г. Воронеж) Министерства обороны Российской Федерации | Digital-to-analog converter |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4467316A (en) | Generalized interpolative method for digital/analog conversion of PCM signals | |
EP0329381A2 (en) | Sampled data subsampling apparatus | |
JPS6131658B2 (en) | ||
SU1742997A1 (en) | Residual class system code-to-voltage converter | |
JP3245618B2 (en) | Apparatus adaptable for use with an analog-to-digital-to-analog converter to provide communication between analog and digital devices | |
GB867191A (en) | Improvements in apparatus for converting data in a first number system to one in a different number system, and more particularly for binary to decimal conversion, and vice versa | |
US5043932A (en) | Apparatus having modular interpolation architecture | |
SU1175034A1 (en) | Residual glass system code-to-voltage converter | |
JPS57140026A (en) | Digital-to-analog converting circuit | |
SU1562972A1 (en) | Servo analog-to-digital converter | |
SU1057971A1 (en) | Analog/digital incrementing multiplier | |
SU1179547A1 (en) | Non-positional code-to-binary code converter | |
SU1142848A1 (en) | Interpolator | |
US4994801A (en) | Apparatus adaptable for use in effecting communications between an analog device and a digital device | |
SU1070689A1 (en) | D/a converter | |
SU1425828A1 (en) | A-d conversion apparatus | |
SU1425841A1 (en) | Digital filter with linear delta-modulation | |
SU1495784A1 (en) | Adder | |
SU1619321A1 (en) | Function converter | |
SU1179542A1 (en) | Number-to-frequency converter with variable conversion factor | |
SU1042028A1 (en) | Fft processor arithmetic unit | |
SU898416A1 (en) | Converter of binary-decimal coded code to seven-segment code of indicator | |
SU1229964A1 (en) | Binary code-to-constant-weight cod | |
SU884131A1 (en) | Frequency converter | |
SU1125621A1 (en) | Translator from binary system to residual class system |