Изобретение относитс к электроизмерительной технике и может быть использовано в приборах, измер ющих отношение двух пЬсто нных напр жени или амплитуд двух переменных период дических напр жений произвольной фор мы., Известен измеритель отношени двух напр жений, содержащий автоматический переключатель, первый вход которого подключен к первой входной кпемме устройства, второй вход через делитель напр жени - к второй входной клемме устройства, а. выход через последовательно соединенные избирательньй усилитель, амплитудный детектор , экстремум-детектор, реверсивный счетчик импульсов - к блоку индикации, генератор импульсов, выхо которого подключен к блоку управлени , первый выход которого соединен с управл ющим входом автоматического переключател , второй выход с 5 равл ющим входом экстремум-детек тора, а третий выход - с управл ющим входом блока индикации, выход счетчика импульсов подключен к управл ющему входу делител напр жени 1 . Недостаток данного устройства ограниченные функциональные возможности , так как данное устройство не позвол ет измер ть отношение двух переменных напр жений, форма и часто та которых отличаютс одна от другой Наиболее близким по технической сущности к данному изобретению вл етс измеритель отношени двух напр жений, содержащий компаратор, первый вход которого подключен к первом входу устройства, второй вход - к выходу цифроаналогового преобразовател , а выход - к входу генератора импульсов, выход генератора импульсов подключен к тактовым входам первого и второго счетчиков импульсов , установочные входы которых подключены к выходу пускового органа, выходы первого счетчика поразр дно подключены к соотв,етствующим управл ющим входам цифроаналогового преобразовател (1Ш1), аналоговый вход которого подключен к второму входу устройства И Недостаток известного устройства- ограниченные функциональные возможности , не позвол кш1ие измер ть отношение двух напр жений, если их , форма, фаза или частота отличаютс . другОТ друга. Целью изобретени вл етс расширение функциональных возможностей путем обеспечени измерени отношени как посто нных, так и амплитуд переменных периодических напр жений произвольной формы. Поставленна цель достигаетс тем, что в измеритель отношени двух напр жений, содержащий первый компаратор , первый вход которого подключен к первому входу устройства, второй вход - к выходу первого ЦАП, генератор импульсов, первый и второй счетчики импульсов, установочные входы которых объединены, выходы первого счетчика поразр дно подключены к соответствующим управл ющим входам первого ЦАП, введены второй койпаратор , второй ЦАП источник опорного напр жени , два злемента И и формирователь тактовых импульсов, причем выход первого компаратора подключен к первому входу первого элемента И, второй вход которого подключен к выходу генератора импульсов и к второму входу второго элемента И, третий вход - к первому выходу формировател тактовых импульсов, а выход к тактовому входу первого счетчика импульсов, источник опорного напр жени подключен к аналоговому входу второго НАЛ, управл ющие входы которого поразр дно подключены к соответствующим выходам второго счетчика импульсов, а выход подключен к аналоговому входу первого ЦАП и к второму входу второго компаратора , первый вход второго компаратора подключен к второму входу устройства , а выход - к первому входу второго элемента И, третий вход которого подключен к второму выходу формировател тактовых импульсов, а выход - к тактовому входу второго счетчика импульсов, установочные входы счетчиков подключены к входу формировател тактовых импульсов и к внешнему входу запуска устройства выходы первого счетчика импульсов вл ютс выходами устройства. На чертеже приведена структурна схема измерител отношени двух напр жений . Измеритель отношени содержит первый счетчик t импульсов, первый 11АП 2, управл ющие входы которого пораз-j р дно соединены с вькодами счетчика 1, первый компаратор 3, второй вход которого соединен с выходом ЦАП 2, а первый вход - с первым входон устройства, первый элемент,И 4, первый вход которого соединён с выходом компаратора 3, а выход - с taKTOBbiM входом счетчика 1, генерато 5 импульсов, выход которого соединен с вторым входом элемента И 4, второй счетчик 6 импульсов, второй ЦА.П 7, управл ющие входы которого соединены поразр дно с выходами счетчика 6, а выход - с аналоговым входом первого ЦАП 2, второй компаратор 8, второй вход которого соединен с выходом ЦАП 7, а первый вход - с вторым входом устройства, второй эле мент И 9, первый вход которого соеди нен с выходом компаратора 8, второй вход - с выходом генератора 5 импуль сов, а выход - с тактовым входом сче чика 6, источник 10 опорного напр - . жени , выход которого соединен с ана логовым входом ЦАП 7, и формирователь 11 тактовых импульсов, пер-. вый и второй выходы которого соединены с третьими входами, элементов И 4 и 9 соответртвенно, а вход подключен к установочнь1м входам счетчиков 1 и 6 импульсов и к шине Пуск внешнего запуска измерител , информа ционным выходом измерител вл ютс выходные шины счетчика 1. Измеритель отношени работает следующим образом. Б исходном состо нии элементы и 9 .заблокированы сигналами с формировател 11 тактовых импульсов и импульсы, вырабатываемые генератором 5, не проход т на тактовые входы счетчиков 1 и 6. Коротким запускающим импульсом на шине Пуск счетчики 1 и 6 устанавливаютс в нул вое состо ние и запускаетс формиро- ватель 11 тактовых импульсов. Начинаетс измерение отношени напр жений l/i и U , которое осуществл етс за два такта. В течение первого такта, который начинаетс сразу после прохождени запускакнцего импульса , формирователь 11 тактовых им пульсов вырабатывает на своем втором выходе импульс, разблокирующий элемент 4f 9 по его третьему вхо;;у. Длительность этого импульса должна быть не меньше длительности периода самой низкой частоты напр жени Во врем первого такта измерени компаратор 8 сравнивает мгновенное значение напр жени Uf - f,(l) с входным ступенчато-нарастающим напр жением ЦАП 7. Если мгновенное значение напр жени 6/ fi() становитс меньше или равно выходному напр жению ЦАП 7 то выходное напр жение компаратора 8 блокирует элемент И 9 по его второму входу, запреща дальнейшее прохождение импульсов от генератора 5 на счетный вход счетчика 6 и останавлива тем самым дальнейшее увеличение выходного напр жени ЦАП 7 до тех пор, пока мгновенное значение напр жени U fji() не станет больше выходного напр жени ЦАП 7. В этом случае выходное напр жение компараторй 8 вновь разблокирует элемент И 9, разреша тем самым прохождение импульсов от генератора 5 на тактовый вход счетчика 6. Таким образом, при условии, что скорость нарастани выходного напр жени ЦАП 7, котора опредап етс частотой следовани импульсов генератора 5, больше скорости нарастани . напр жени Lj - ) в течение первого такта измерени происходит поразр дное уравновешивание амплитуды напр жени L/j. fi(t) выходным напр жением ЦАП 7 до вьтолнени услови IT 2 HArrj Uo где и rrjf амплитудное значение напр жени Uj jt ( tfCLfi выходное напр жение ЦАП 1; и ff - напр жение источника опорного напр жени i - число импульсов, поступивших на вход счетчика 6 в течение первого такта измерени ; N - полна емкость счетчика 6. После окончани времени первого такта измерени формирователь 11 тактовых импульсов блокирует элемент И 9 и разблокирует элемент И 4, вырабатыва на своем первом вькоде импульсJ длительность которого долж-на быть не меньше длительности периода самой низкой частоты напр жени I}/, Во врем второго такта измерени аналогично тому, как это происходит в первом такГе, происходит сравнение компаратором 3 -выходного напр жени ЦАП 2 с мгновенным значением напр жени (f до вьтолненй услови ( ;Um4 -цАПг 0 м . - где и амплитудное значение на пр жени Ц f г (i)j число импульсов, поступивших на вход счетчика в течение второго такта измерени , полна емкость счетчика Из выражени (1) и (2) следует, yUmzMVN)-ni, т.е. отношение амплитуд двух переменных напр жений пропорпионально числу , записанному в счетчик 1 после окончани второго такта измерени . Аналогично происходит измерение отношени двух посто нных напр жений или любой комбинации измерени отношени посто нного и амплитуды переменного напр жени . Таким образом, предлагаемый измеритель отношени двух напр жений обладает существенно большими функциональными возможност ми по сравнению с известньгм измерителем и позвол ет измер ть отношение напр жений в широком частотном диапазоне.The invention relates to electrical measuring equipment and can be used in devices measuring the ratio of two effective voltages or amplitudes of two variable periodic voltages of an arbitrary form. The meter measuring the ratio of two voltages, containing an automatic switch, the first input of which is connected to the first input to the device, the second input through the voltage divider to the second input terminal of the device, and. output through series-connected selective amplifier, amplitude detector, extremum detector, reversing pulse counter to the display unit, pulse generator, the output of which is connected to the control unit, the first output of which is connected to the control input of the automatic switch, the second output with 5 equal input the extremum detector, and the third output, with the control input of the display unit, the output of the pulse counter is connected to the control input of voltage divider 1. The disadvantage of this device is limited functionality, since this device does not allow to measure the ratio of two alternating voltages, the form and often that differ from one another. The closest to the technical essence of this invention is a ratio meter of two voltages containing a comparator, the first input of which is connected to the first input of the device, the second input is connected to the output of the digital-to-analog converter, and the output is connected to the input of the pulse generator, the output of the pulse generator is connected to t Actual inputs of the first and second pulse counters, the installation inputs of which are connected to the output of the triggering organ, the outputs of the first counter are alternately connected to the corresponding control inputs of the D / A converter (1SH1), the analog input of which is connected to the second input of the device and the disadvantage of the known device is limited the functionality does not allow the measurement of the ratio of two voltages, if their shape, phase or frequency differ. friend FROM a friend. The aim of the invention is to enhance the functionality by providing a measurement of the ratio of both constant and amplitudes of variable periodic voltages of arbitrary shape. The goal is achieved by the fact that the two voltage meter contains the first comparator, the first input of which is connected to the first input of the device, the second input to the output of the first DAC, pulse generator, the first and second pulse counters, the installation inputs of which are combined, the outputs of the first the bit counter is connected to the corresponding control inputs of the first D / A converter, a second co-pair, a second D / A source of the reference voltage, two elements I, and a clock driver, the output of the first the omparator is connected to the first input of the first element I, the second input of which is connected to the output of the pulse generator and to the second input of the second element I, the third input to the first output of the clock generator, and the output to the clock input of the first pulse counter, the reference voltage source is connected to analog input of the second NAL, the control inputs of which are bitwise connected to the corresponding outputs of the second pulse counter, and the output connected to the analog input of the first DAC and to the second input of the second comparator , the first input of the second comparator is connected to the second input of the device, and the output is connected to the first input of the second element I, the third input of which is connected to the second output of the clock pulse generator, and the output to the clock input of the second pulse counter, the setup inputs of the counters are connected to the clock generator input pulses and to the external start input of the device, the outputs of the first pulse counter are the outputs of the device. The drawing shows a block diagram of a meter for the ratio of two voltages. The ratio meter contains the first pulse counter t, the first 11AP 2, whose control inputs are connected at once to the codes of the counter 1, the first comparator 3, the second input of which is connected to the output of the DAC 2, and the first input to the first input device. element, AND 4, the first input of which is connected to the output of the comparator 3, and the output - to the taKTOBbiM input of the counter 1, a generator of 5 pulses, the output of which is connected to the second input of the element I 4, the second counter of 6 pulses, the second TsA.P 7, controlling the inputs of which are connected to the bottom with the outputs of the counter 6, and the output is from the analog input of the first DAC 2, the second comparator 8, the second input of which is connected to the output of the DAC 7, and the first input to the second input of the device, the second element AND 9, the first input of which is connected to the output of the comparator 8, the second input - with the generator output 5 pulses, and the output - with the clock input of the counter 6, the source 10 of the reference eg. the output of which is connected to the analog input of the D / A converter 7, and the driver of 11 clock pulses, per-. the left and second outputs of which are connected to the third inputs, elements 4 and 9, respectively, and the input is connected to the installation inputs of counters 1 and 6 pulses and to the bus. The external start of the meter, the information output of the meter are the output buses of the counter 1. The ratio meter works in the following way. In the initial state, the elements and 9 are blocked by signals from the generator of 11 clock pulses and the pulses produced by generator 5 do not pass to the clock inputs of counters 1 and 6. A short trigger pulse on the bus Start counters 1 and 6 are set to zero and shaper 11 clock pulses triggered. The measurement of the ratio of the stresses l / i and U, which is carried out in two cycles, is started. During the first clock cycle, which begins immediately after the start of the pulse, the driver of the 11 clock pulses produces a pulse at its second output that unlocks the 4f 9 element at its third inlet ;; The duration of this pulse must not be less than the duration of the period of the lowest voltage frequency. During the first measurement cycle, the comparator 8 compares the instantaneous value of the voltage Uf - f, (l) with the input step-increasing voltage of the DAC 7. If the instantaneous value of the voltage is 6 / fi () becomes less than or equal to the output voltage of the D / A converter 7, then the output voltage of the comparator 8 blocks element I 9 through its second input, prohibiting further passage of pulses from generator 5 to the counting input of counter 6 and thereby stopping a further increase in the output voltage of the DAC 7 until the instantaneous value of the voltage U fji () becomes greater than the output voltage of the DAC 7. In this case, the output voltage of the comparator 8 unlocks AND 9 again, allowing the passage of pulses from the generator 5 to the clock input of the counter 6. Thus, provided that the slew rate of the output voltage of the D / A converter 7, which is determined by the pulse frequency of the generator 5, is greater than the slew rate. the voltage Lj -) during the first measurement cycle, a one-by-one equilibrium of the voltage amplitude L / j occurs. fi (t) is the output voltage of the DAC 7 up to the condition IT 2 HArrj Uo where and rrjf is the amplitude value of the voltage Uj jt (tfCLfi output voltage of the DAC 1; and ff is the voltage source of the reference voltage i is the number of pulses received at the input counter 6 during the first measurement cycle; N is the total capacity of the counter 6. After the end of the first measurement cycle time, the driver of the 11 clock pulses locks the element AND 9 and unlocks the element AND 4, producing at its first second a pulseJ duration of which should be not less than the duration period During the second measurement cycle, in the same way as in the first clock, the comparator 3 compares the output voltage of the DAC 2 with the instantaneous voltage value (f up to the actual condition (; Um4 -cAPg 0 m. - where and the amplitude value per voltage C f g (i) j is the number of pulses received at the counter input during the second measurement cycle, the total capacity of the counter From the expression (1) and (2) follows, yUmzMVN) -ni, t . the ratio of the amplitudes of the two variable voltages is proportional to the number written into the counter 1 after the end of the second measurement cycle. Similarly, the measurement of the ratio of two constant voltages or any combination of the measurement of the ratio of the constant and the amplitude of the alternating voltage takes place. Thus, the proposed two voltage ratio meter has significantly greater functionality compared to a lime meter and allows the voltage ratio to be measured over a wide frequency range.