Изобретение относитс к области измерительной техники и может быть использовано в информационно-измерительных и угфавл ющ системах дл преобразовани фазовых сдвигов в цифровой код. Известен фазовый цифровой преобразователь , содержащий фазовый детектор, генерато импульсов, распределитель импульсов, ключи , фазосдвигающие элементы и индикатор 1. Однако такой преобразователь недостаточн точен. Известен также цифровой преобразователь содержащий два фазовых детектора, первые входы которых соединены между собой непосредственно , а вторые входы - через фазосдвигатель , логическзто схему отфеделенн квадранта фазы, входы которой подключены к выходам фазовых детекторов, а выходы - управл ющим входам 1феобразовател кодкод , и преобразователь напр жение - код, вход которого подключен к выходу одного и фазовых детекторов, а выходы - ко входам преобразовател код-код (2. Недостатком зтого устройства вл етс невысока разрешающа способность, определ ема отношением длшп.1 а. участки фазовой оси, выбранного по результатам логического анализа пол рностей выходных напр жений фазовых детекторов, к общему числу квантов q ( , где п - число разр дов гфеобразовател напр жение-код ) , из-за большого значени параметра а (а 90°). Целью изобретени вл етс повышение точности преобразовани за счет увеличени разрешающей способности фазового цифрового гфеобразовател . С этой целью в устройство, содержащее преобразователь нащ) жение-код, выходы разр дов которого подключены ко входам преобразовател код-код, и два фазовых детектора , первые входы которых соединены между собой непосредственно, вторые входьг - через фазосдвнгающий элемент, а выходы фазовых детекторов подключены ко входам логического блока определени октанта фазы, введены логические элементы ИЛИ, ключи и блок кодовых уставок, выход которого подключен к установочному входу преобразовател код-код причем выходы фазовых детекторов соединены со входом преобразовател напр жение-код через ключи, а выходы логического блока определени октанта фазы - с управл ющими входами ключей через первый и второй логические злементы ИЛИ, с управл ющими входами преобразовател код-код через третий и четвертый логические злементы ИЛИ и со входами блока кодовых уставок непосредственно и через п ты шестой и седьмой логические элементы ИЛИ. На фиг. 1 приведена структурна схема предлагаемого фазового преобразовател ; на фиг. 2 - график, иллюстрирующий закон изменени выходных на1ф жеш1Й фазовых детекто ров и принцип определени октанта фазы. Цифровой фазовый преобразователь содержит фазовые детекторы 1 и 2, первые входы которых соединены между собой непосредственно , вторые входы - через фазосдвигающий элемент 3, а выходы через ключи 4 и 5 св заны со входом преобразовател 6 напр жение-код , вьгходы разр дов которого подклю чены ко входам преобразовател 7 код-код, блок 8 кодовых уставок, выход которого под ключен к установочному входу преобразовател код-код, и логический блок 9 определени октанта фазы, входы которого соединены с выходами фазовых детекторов, а выходы - с управл ющими входами ключей через логические элеметы ИЛИ 10 и И, с управл ющими входами преобразовател код-код через логические злементы ИЛИ 12 и 13 и со входами блока кодовых уставок непосредственно и через логические элементы ИЛИ 14, 15 и 16. В состав блока 9 вход т компараторы 17 и дешифратор 18. Устройство работает следующим образом. Входные напр жени Uj и Uj, фазовый сдвиг V между которыми измер етс , подаютс на входы фазового детектора 1 непосредственно и на входы фазового детектора 2 непосредствен но (напр жение Uj) и через фазосдвигающий элемент 3, осуществл ющий сдвиг фазы напр жени Uj на 90°, в результате чего выходна характеристика одного фазового детектора оказьшаетс смещенной относительно выходной характеристики другого фазового детектора на 90 (фиг.2). Анализ пол рности и соотношени амплитуд выходных напр жений Ug и Ug фазовых детекторов 1 и 2 дает возможность разделени полного- диапазона изменени фазы (0-360°) на восемь участков (октантов) по 45° каждый (фиг.2). Признак того или иного участка определ етс логическим блоком 9 определени октанта фазы, в состав которого вход т компа раторы 17 и дешифратор 18. Два из трех компараторов 17 осуществл ют анализ пол рности напр жений Ug и Од , а третий - сравнивает амплитуды этих напр жений между собой. Дешифратор 18 каждой из возможных комбинаций состо ний компараторов 17 ставит в соответствие определенный признак (в данном случае - высокий потенциал на одной из выходных шин), который соответствует одному из восьми октантов фазы. В зависимости от признака октанта фазы ко входу преобразовател 6 нагф жение-код подключаетс выходное напр жение Ug или 1,4,5 и 8-ом октантах - UB, а во 2,3,6 и 7-ом октантах - Ua. Дл этого соответствующие ши дешифратора блока 9 через логические элементы ИЛИ 10 и 11 подключены к управл ющим входам ключей 4, 5 так, что в I, 4, 5 и 8-ом октантах замкнут ключ 5 и на вход преобразовател 6 подаетс напр жение Ug, а во 23)6 и 7-ом октантах замкнут ключ 4 и на вход преобразовател 6 подаетс напр жение Ua- Преобразователь 6 формирует код NI, соответствующий только абсолютной .величине выходного напр жени Ua(UB) в пределах выбранного октанта. Чтобы получить возможность однозначного измерени фазового сдвига f во всем диапазоне 0-360° его изменени , необходимо определенным значени м М (0°, 90°, 180° 270° и 360°) поставить в соответствие п ть кодовых уставок N2,1- N2 2,1 и выполнить следующие математические операции: Дл этого соответствующие шины дешифратора блока 9 подключены непосредственно и через логические элементы ИЛИ 14, 15 и 16 к блоку 8 кодовых уставок так, что последний в октанте I выдает код N 2.1 соответствующий , в октантах 11 и т - код N22, соответствующий , в октантах iV и V - код N23, соответствующий 180°, в октантах VI к VII - код Nj, соответствующий и, наконец, в октанте VIII - код N24, соответствующий М 360°. Этот код подключаетс к установочному входу преобразовател 7 код-код.The invention relates to the field of measurement technology and can be used in information measuring and modeling systems for converting phase shifts into a digital code. A phase digit converter is known, which comprises a phase detector, a pulse generator, a pulse distributor, keys, phase-shifting elements and an indicator 1. However, such a converter is not sufficient. Also known is a digital converter containing two phase detectors, the first inputs of which are interconnected directly, and the second inputs through a phase shifter, a logic circuit that divides the phase quadrant, the inputs of which are connected to the outputs of the phase detectors, and the outputs to control inputs 1 of the code generator, and the voltage converter is the code, the input of which is connected to the output of the single and phase detectors, and the outputs to the inputs of the converter, the code-code (2. The disadvantage of this device is the low resolution capacity, determined by the logical analysis of the polarities of the output voltages of the phase detectors, to the total number of quanta q (, where n is the number of digits of the voltage-code generator), due to a large value of the parameter a (a 90 °). The aim of the invention is to improve the accuracy of the conversion by increasing the resolution of the phase digital plasma former. For this purpose, a device containing a load-converter-code, the outputs of which are connected to I will give the converter a code-code, and two phase detectors, the first inputs of which are interconnected directly, the second inputs are connected via the phase-shifting element, and the outputs of the phase detectors are connected to the inputs of the logical block for determining the phase octant; the output of which is connected to the converter input of the converter is a code code, the outputs of the phase detectors are connected to the input of the voltage-code converter through keys, and the outputs of the logic block for determining the phase octant with the control inputs of the keys through the first and second logical elements OR, with the control inputs of the converter code-code through the third and fourth logical elements OR, and with the inputs of the code settings block directly and through the sixth and seventh logical elements OR. FIG. 1 shows the structural scheme of the proposed phase converter; in fig. 2 is a graph illustrating the law of variation of output phase-to-phase phase detectors and the principle of determining the phase octant. The digital phase converter contains phase detectors 1 and 2, the first inputs of which are interconnected directly, the second inputs through phase shifting element 3, and the outputs through keys 4 and 5 are connected to the input of voltage-code converter 6, the outputs of which are connected to the inputs of the converter 7 a code-code, a block of 8 code settings, the output of which is connected to the installation input of the converter, a code-code, and a logic block 9 for determining the phase octant, whose inputs are connected to the outputs of the phase detectors, and the outputs to the control The key inputs through the logical elements OR 10 and AND, with the control inputs of the converter, the code code through the logic elements OR 12 and 13 and with the inputs of the code setting block directly and through the logic elements OR 14, 15 and 16. Block 9 includes comparators 17 and a decoder 18. The device operates as follows. The input voltages Uj and Uj, the phase shift V between which is measured, are fed to the inputs of the phase detector 1 directly and to the inputs of the phase detector 2 directly (the voltage Uj) and through the phase shifting element 3, which performs a phase shift of the voltage Uj by 90 °, with the result that the output characteristic of one phase detector is shifted relative to the output characteristic of the other phase detector by 90 (FIG. 2). An analysis of the polarity and amplitude ratio of the output voltages Ug and Ug of phase detectors 1 and 2 makes it possible to divide the full range of phase variation (0-360 °) into eight sections (octants) of 45 ° each (Figure 2). The sign of this or that area is determined by the logical unit 9 for determining the phase octant, which includes comparators 17 and a decoder 18. Two of the three comparators 17 carry out polarity analysis of the voltages Ug and Od, and the third compares the amplitudes of these voltages between themselves. The decoder 18 of each of the possible combinations of the states of the comparators 17 corresponds to a certain characteristic (in this case, a high potential at one of the output buses), which corresponds to one of the eight octants of the phase. Depending on the sign of the phase octant, the output voltage Ug, or 1.4.5 and 8th octants, UB is connected to the input of the converter 6 nffc-code, and in 2,3,6 and 7th octants, Ua. To do this, the corresponding widths of the decoder unit 9 are connected via OR 10 and 11 logic gates to the control inputs of keys 4, 5 so that the key 5 is closed at I, 4, 5 and 8th octants and a voltage Ug is applied to the input of the converter 6 and 23) on the 6th and 7th octants, the key 4 is closed and the voltage Ua is applied to the input of the converter 6. The converter 6 generates an NI code corresponding only to the absolute value of the output voltage Ua (UB) within the selected octant. In order to be able to unambiguously measure the phase shift f in the entire range of 0-360 °, it needs to be assigned five code settings N2.1-N2 to certain values of M (0 °, 90 °, 180 ° 270 ° and 360 °). 2.1 and perform the following mathematical operations: For this, the corresponding buses of the decoder of block 9 are connected directly and through logic elements OR 14, 15 and 16 to block 8 of code settings so that the last one in octant I issues code N 2.1 corresponding to, in octants 11 and t - code N22, corresponding, in octants iV and V - code N23, respectively 180 °, in octants VI to VII is the code Nj, corresponding, and finally, in Octant VIII, the code N24, corresponding to M 360 °. This code is connected to the converter input of the converter 7 code-code.