SU800923A1 - Digital sine-cosine converter - Google Patents
Digital sine-cosine converter Download PDFInfo
- Publication number
- SU800923A1 SU800923A1 SU782621934A SU2621934A SU800923A1 SU 800923 A1 SU800923 A1 SU 800923A1 SU 782621934 A SU782621934 A SU 782621934A SU 2621934 A SU2621934 A SU 2621934A SU 800923 A1 SU800923 A1 SU 800923A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- code
- block
- outputs
- inputs
- group
- Prior art date
Links
Landscapes
- Transmission And Conversion Of Sensor Element Output (AREA)
Description
Изобретение относится к радиотехнике и может использоваться в качестве датчика кодов синусно-косинусных зависимостей и масштабных мет<9к угла поворота антенны.The invention relates to radio engineering and can be used as a sensor for codes of sine-cosine dependencies and large-scale met <9k antenna rotation angle.
Известен цифровой синусно-косинусный преобразователь, содержащий датчик прямого, и инверсного п-разрядного кода, сумматор, входы которого соединены с выходами двух старших разрядов датчика прямого и инверсного η-разрядного кода, прямые и инверсные выходы остальных разрядов которого соединены с входами коммутатора, источник синхроимпульсов, выходами соединенный с входами блока управления, через который один из старших разрядов датчика прямого и инверсного η-разрядного кода соединен с управляющим входом коммутатора и корректирующим входом множительного блока, старшие разряды коммутатора соединены с входами блока памяти, первая группа выходов младших разрядов коммутатора соединена с первыми входами элемента ИЛИ и компаратора, а вторая группа выходов' младших разрядов коммутатора соединена с вторыми входами элемента ИЛИ и компаратора и первой группой входов множительного блока, первая группа выходов блока памяти соединена с первыми входами блока оп- ределения меток, второй и третий входы которого соединены соответственно с выходами элемента ИЛИ и компаратора, вторая группа выходов блока памяти соединена с первой груп IQ пой входов выходного сумматора, третья группа выходов блока памяти соединена с третьим входом компаратора (1) ..A digital sine-cosine converter is known, comprising a direct and inverse p-bit code sensor, an adder whose inputs are connected to the outputs of the two high-order bits of the direct and inverse η-bit code, the direct and inverse outputs of the remaining bits of which are connected to the inputs of the switch, the source clock pulses, outputs connected to the inputs of the control unit, through which one of the most significant bits of the sensor direct and inverse η-bit code is connected to the control input of the switch and the correcting input by the multiplier unit, the senior bits of the switch are connected to the inputs of the memory block, the first group of outputs of the least significant bits of the switch is connected to the first inputs of the OR element and the comparator, and the second group of the outputs of the least significant bits of the switch is connected to the second inputs of the OR element and the comparator and the first group of inputs of the multiplier , the first group of outputs of the memory unit is connected to the first inputs of the label determination unit, the second and third inputs of which are connected respectively to the outputs of the OR element and the comparator, the second the group of outputs of the memory block is connected to the first group IQ of the inputs of the output adder, the third group of outputs of the memory block is connected to the third input of the comparator (1) ..
Однако известный преобразователь имеет недостаточную точность.However, the known converter has insufficient accuracy.
Цель изобретения - повышение точности .The purpose of the invention is improving accuracy.
Цель достигается тем, что в преобразователь введены два вычислй.тельных блока и дополнительный сум20 матор, при'§том выходы дополнительного сумматора соединены с второй группой входов выходного сумматора, первая и вторая группа входов дополнительного сумматора соединены соот15 ветственно с выходами первого вычислительного блока и с выходами множительного блока, вторая группа входов которого соединена с выходами второго вычислительного блока, а 30 первая группа выходов младших раз рядов коммутатора соединена с управляющими входами вычислительных блоков, к информационным входам которых подключены соответствующие группы выходов блока памяти.The goal is achieved by the fact that two computational units and an additional adder are introduced into the converter, while the outputs of the additional adder are connected to the second group of inputs of the output adder, the first and second groups of inputs of the additional adder are connected respectively to the outputs of the first computational unit and outputs of the multiplying unit, the second group of inputs of which is connected to the outputs of the second computing unit, and 30 the first group of outputs of the least significant rows of the switch is connected to the control inputs of the subtractor -inflammatory blocks to the data inputs of which are connected respective groups of memory block outputs.
На чертеже приведена структурная электрическая схема предложенного преобразователя.The drawing shows a structural electrical diagram of the proposed Converter.
Цифровой синусно-косинусный преобразователь содержит датчик 1 прямого и инверсного η-разрядного кода, коммутатор 2, сумматор 3, выходной сумматор 4, множительный блок 5, блок 6 определения (меток, элемент ИЛИ 7, компаратор 8, блок 9 памяти, источник 10 синхроимпульсов, блок 11 управления, дополнительный сумматор 12 и. вычислительные блоки 13 и 14.The digital sine-cosine converter contains a direct and inverse η-bit code sensor 1, a switch 2, an adder 3, an output adder 4, a multiplier unit 5, a determination unit 6 (labels, an OR element 7, a comparator 8, a memory unit 9, a clock source 10 , control unit 11, additional adder 12 and. computing units 13 and 14.
Преобразователь работает следующим образом.The converter operates as follows.
η-ый разряд датчика 1 является знаковым разрядом кода s i η х,а знаковый разряд кода cos х определяется сумматором 3 как сумма по модулю логических значений η-l и η-го разрядов датчика 1.The ηth digit of the sensor 1 is the sign digit of the code s i η x, and the sign digit of the code cos x is determined by the adder 3 as the sum modulo the logical values of the η-l and ηth bits of the sensor 1.
Определение кодов чисел I s i η х| и |cos х| осуществляется методом кусочно-линейной аппроксимации с использованием тригонометрических формул приведения. Аппроксимация функций производится по синусной функции в пределах, от 0 до Ъ /2. Коды F s i η х| и J cos x( определяются последовательно в каждом цикле преобразования, состоящем из двух периодов Т( и Т2.Definition of codes of numbers I si η x | and | cos x | carried out by the method of piecewise linear approximation using trigonometric reduction formulas. The functions are approximated by the sine function in the range from 0 to b / 2. Codes F si η x | and J cos x (are determined sequentially in each transformation cycle consisting of two periods T ( and T 2 .
В течение Т, определяется код |s in х| , а в течение Тд,- код |cos х| .During T, the code | s in x | , and during TD, - the code | cos x | .
Для этого блок 11 вырабатывает по значению п-1-го разряда управляющий логический сигнал Q(T) таким образом, что , a Q (Тй}=0н , где ' Qn - логический коэффициент n-1-го разряда датчика 1.For this, block 11 generates a control logic signal Q (T) from the value of the nth 1st discharge in such a way that, a Q (Т й } = 0н, where 'Q n is the logical coefficient of the n-1st discharge of sensor 1.
Коммутатор 2 по сигналу Q(T) и прямому и инверсному п-2 разрядному коду младших разрядов датчика 1 вырабатывает код приведенного угла Хпр (Т) Для осуществления дальнейшей работы п-2 разрядный код угла Хпр(Т) разделен на три кода, соответствующих углам Хч,Xq и Хпсоответственно,так, что Хпр (Т)=Х4+Хг+Ха, где Х^+Хг и Х<>> - углы, величины которых определяются соответственно значениями старших разрядов и значениями первой '-и-второй групп младших разрядов коммутатора 2. Код угла Х1 поступает на входы блока 9, который по коду угла Х4 комбинационно: вырабатывает коды углов, соответствующих угловым меткам, код значений синусной функции, коды угловых коэффициентов участков аппроксимации и коды поправок соответственно.Switch 2, according to the Q (T) signal and the direct and inverse p-2 bit code of the least significant bits of the sensor 1, generates the code of the reduced angle X pr (T). For further work, the p-2 bit code of the angle X pr (T) is divided into three codes, corresponding to the angles Xi, Xq and Xn, respectively, so that X pr (T) = X 4 + X g + X a , where X ^ + X g and X <>> are angles whose values are determined respectively by the values of the highest digits and the values of the first '-and-the second group of the least significant bits of the switch 2. The angle code X 1 is fed to the inputs of block 9, which is the combination of the angle code X 4 : includes codes of angles corresponding to angle marks, a code of values of the sine function, codes of angular coefficients of approximation sections, and correction codes, respectively.
Коды угловых коэффициентов участ· ’ков аппроксимации и коды поправок с соответствующих выходов блока 9 поступают на параллельно соединенные информационные входы вычислительных блоков 13 и 14, на параллельно соединенные управляющие входа которых •поступает с первой группы выходов младших разрядов коммутатора 2 код угла Х2.The codes of the angular coefficients of the approximation sections and the correction codes from the corresponding outputs of block 9 are sent to the parallel connected information inputs of the computing blocks 13 and 14, to the parallel connected control inputs of which • the angle code X 2 is received from the first group of outputs of the least significant bits of switch 2 .
По входным кодам первый вычислительный блок 13 комбинационно вырабатывает код приращения синусной функции, соответствующего приращению аргумента на обрабатываемом участке, а второй вычислительный блок 14 - код углового коэффициента соответствующего подучастка обрабатываемого участка аппроксимации.According to the input codes, the first computing unit 13 generates a combination code of the increment of the sine function corresponding to the increment of the argument in the processed section, and the second computing unit 14 - code of the angular coefficient of the corresponding subsection of the processed approximation section.
С выходов второго вычислительного блока 14 код углового коэффициента поступает на вторую группу входов множительного блока 5, на первую группу входов которого с второй группы выходов младших разрядов коммутатора 2 поступает код угла Xg. На корректирующий вход множительного блока 5 с выхода блока 11 поступает логический сигнал Q(T). 1 From the outputs of the second computing unit 14, the code of the angular coefficient goes to the second group of inputs of the multiplying unit 5, the first group of inputs of which from the second group of outputs of the least significant bits of the switch 2 receives the angle code Xg. At the correcting input of the multiplier block 5 from the output of block 11 receives a logical signal Q (T). 1
По этим сигналам множительный блок 5 вырабатывает код приращения синусной функции, соответствующего приращению аргумента.Based on these signals, the multiplier unit 5 generates an increment code for the sine function corresponding to the increment of the argument.
С выходов первого вычислительного блока 13 код приращения угла Xj и с выходов множительного блока 5 код приращения угла Xj поступают соответственно на первую и вторую группу входов дополнительного сумматора 12.From the outputs of the first computing unit 13, the increment code of the angle Xj and from the outputs of the multiplying unit 5, the increment code of the angle Xj are respectively supplied to the first and second group of inputs of the additional adder 12.
Дополнительный сумматор 12 вырабатывает код приращения синусной функции соответствующего’ приращения аргумента на обрабатываемом участке аппроксимации на угол (Х2+Х3).Additional adder 12 generates an increment code of the sine function of the corresponding 'increment of the argument in the processed approximation section by an angle (X 2 + X 3 ).
Этот код приращения с выходов дополнительного сумматора поступает на вторую группу входов выходного сумматора 4, на первую группу входов которого поступает код с второй групры выходов блока 9.This increment code from the outputs of the additional adder goes to the second group of inputs of the output adder 4, the first group of inputs of which receives the code from the second group of outputs of block 9.
По кодам, поступающим с третьей группы блока 9 и с первой и второй групп младших разрядов коммутатора *2, компаратор 8 вырабатывает соответствующие логические сигналы, поступающие на третий вход блока 6, на первые входа и второй вход которого поступают соответствующие сигналы с первой группы выходов блока 9 и с выхода элемента ИЛИ Ί соответственно. По этим входным сигналам, блок 6 вырабатывает код масштабных угловых меток сигналы признаков масштабных угловых меток 5 и 30°.According to the codes coming from the third group of block 9 and from the first and second groups of the least significant bits of the switch * 2, the comparator 8 generates the corresponding logical signals received at the third input of block 6, the first inputs and second input of which receive the corresponding signals from the first group of outputs of the block 9 and from the output of the OR element Ί, respectively. According to these input signals, block 6 generates a code of scale angular marks; signals of signs of scale angular marks 5 and 30 °.
Перед началом цикла преобразования блок 11 по сигналу логического значения 0^ n-1-го разряда датчика 1 вырабатывает управляющий сигнал Q(T)=Q(Ti) -Qnf при котором на выходах выходного сумматора 4 вырабатывается код t sin xf, а на выходах бло ка 6 - код масштабных угловых меток соответствующий углу Хпр (Т^).Before the start of the conversion cycle, block 11 generates a control signal Q (T) = Q (Ti) -Qnf at the logic value 0 ^ n-1-st bit of sensor 1, at which the code t sin xf is generated at the outputs of the output adder 4, and at the outputs block 6 - code of scale angle marks corresponding to the angle X p p (T ^).
Цикл вычисления (преобразования) начинается с приводом от источника 10 на блок 11 старт-импульса.The cycle of calculation (conversion) begins with the drive from the source 10 to the block 11 start pulse.
По старт-импульсу блок 11 из последовательности тактовых импульсов источника 10 выделяет два первых импульса, следующих непосредственно после окончания старт-импульса.According to the start pulse, the block 11 from the sequence of clock pulses of the source 10 selects the first two pulses immediately following the end of the start pulse.
По первому из этих двух импульсов блок 11 генерирует импульс, по которому производится съем с преобразователя кода sin х, а после его' 1 окончания начинается период, в течение которого блок 11 на управляющем выходе вырабатывает управляющий логический сигнал Q(T)=Q(Tn) = =Q* ·.According to the first of these two pulses, block 11 generates a pulse by which a sin x is taken from the code converter, and after its end ' 1 , a period begins during which block 11 at the control output generates a control logic signal Q (T) = Q (Tn ) = Q *
При этом период частоты следования тактовых импульсов источника 10 вырабатывается таким, что за время, заключенное между окончанием тактового импульса и началом следующего тактового импульса, все переходные процессы заканчиваются, т.е. на выходах выходного сумматора 4 устанавливается код числа (cos х| , а на выходах блока 6 - код’масштабных угловых меток, соответствующий углу Хпр. (Тй) ·In this case, the period of the repetition rate of the clock pulses of the source 10 is generated such that during the time between the end of the clock pulse and the beginning of the next clock pulse, all transients end, i.e. at the outputs of the output adder 4, the code of the number is set (cos x |, and at the outputs of block 6, the code of the scale angular marks corresponding to the angle Xpr. (T th ) ·
После этого блок 11 генерирует импульс, по которому производится съем с преобразователя кода cos х, а по его окончании на выходе блока 11 устанавливается управляющий сигнал Q(T) '=0(Т7 ) =Qh .After that, block 11 generates a pulse, which is used to remove cos x from the code converter, and upon its completion, the control signal Q (T) '= 0 (T 7 ) = Qh is set at the output of block 11.
На этом цикл вычислений заканчивается, а очередной цикл начнется только с приходом от источника 10 на блок 11 очередного старт-импульса.At this point, the cycle of calculations ends, and the next cycle begins only with the arrival of the next start pulse from block 10 to block 11.
Предложенный преобразователь обес- 40 to печивает высокую точность воспроизведения функции.The proposed converter provides 40 to high reproduction accuracy of the function.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU782621934A SU800923A1 (en) | 1978-05-29 | 1978-05-29 | Digital sine-cosine converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU782621934A SU800923A1 (en) | 1978-05-29 | 1978-05-29 | Digital sine-cosine converter |
Publications (1)
Publication Number | Publication Date |
---|---|
SU800923A1 true SU800923A1 (en) | 1981-01-30 |
Family
ID=20767305
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU782621934A SU800923A1 (en) | 1978-05-29 | 1978-05-29 | Digital sine-cosine converter |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU800923A1 (en) |
-
1978
- 1978-05-29 SU SU782621934A patent/SU800923A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU800923A1 (en) | Digital sine-cosine converter | |
EP1049002A2 (en) | Method and apparatus for efficient calculation of an approximate square of a fixed-precision number | |
DE69217930D1 (en) | Divider for dividing a first polynomial by a second | |
SU748417A1 (en) | Multichannel digital smoothing device | |
SU873239A1 (en) | Digital coordinate converter | |
SU809154A1 (en) | Polyadic-to-sidual class code converter | |
SU1020834A1 (en) | Walsh spectrum digital analyzer | |
SU731436A1 (en) | Binary-decimal arithmetic device | |
RU2020728C1 (en) | Digital frequency synthesizer | |
SU1529215A1 (en) | Multiplication device | |
SU716042A1 (en) | Functional angle code converter | |
SU801023A1 (en) | Shaft angular positio-to-code converter | |
SU1185328A1 (en) | Multiplying device | |
SU780174A1 (en) | Digital sine-cosine converter | |
SU1035617A1 (en) | Reversible coordinate converter | |
SU817726A1 (en) | Device for solving integral equations | |
SU734669A1 (en) | Converter of proper binary fraction into binary-decimal fraction and integer binary-decimal numbers into binary numbers | |
SU982003A1 (en) | Pseudo-stochastic adder | |
SU1166104A1 (en) | Device for calculating values of sine-cosine dependensies | |
SU1179368A1 (en) | Correlator | |
SU815726A1 (en) | Digital integrator | |
SU1113826A1 (en) | Shaft turn angle encoder | |
SU1179541A1 (en) | Number-to-frequency converter | |
SU758188A1 (en) | Reversible coordinate converter | |
RU2242085C1 (en) | DEVICE FOR CONVERTING n-BIT POSITIONAL BINARY CODE INTO MODULO m REMAINDER BINARY CODE |