RU2017156C1 - Method for measuring speed of shaft rotation and device for implementation of said method - Google Patents

Method for measuring speed of shaft rotation and device for implementation of said method Download PDF

Info

Publication number
RU2017156C1
RU2017156C1 SU4949113A RU2017156C1 RU 2017156 C1 RU2017156 C1 RU 2017156C1 SU 4949113 A SU4949113 A SU 4949113A RU 2017156 C1 RU2017156 C1 RU 2017156C1
Authority
RU
Russia
Prior art keywords
output
code
input
angle
shaft
Prior art date
Application number
Other languages
Russian (ru)
Inventor
С.П. Дмитриев
П.М. Кузнецов
Ю.А. Быстров
Original Assignee
Дмитриев Светослав Павлович
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Дмитриев Светослав Павлович filed Critical Дмитриев Светослав Павлович
Priority to SU4949113 priority Critical patent/RU2017156C1/en
Application granted granted Critical
Publication of RU2017156C1 publication Critical patent/RU2017156C1/en

Links

Images

Landscapes

  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)

Abstract

FIELD: measuring devices. SUBSTANCE: method involves conversion of shaft turn angle to two-phase system of harmonic signals, conversion of two-phase system of harmonic signals to cycle code of shaft turn angle, generation of first and second sequences of counting pulses based on this code. Number of pulses from first sequence during given time interval serves for determination of shaft rotation speed in lower range of speed interval. When measured speed exceeds given value, number of pulses from second sequence during given time interval is used. In addition rotation direction signal is generated. Device has angle gauge, angle-code transducer, code converter, two generators of counting pulses, tow switches, two pulse counters, AND gate, register, fixed speed code setter, digital comparator, control unit, XOR gate, JK-flip-flop, inverter. EFFECT: increased functional capabilities. 3 cl, 6 dwg, 1 tbl

Description

Изобретение относится к контрольно-измерительной технике, в частности к цифровым измерителям параметров движения с первичным преобразователем перемещения, и может быть использовано для создания высокоточных систем автоматического управления электроприводами станков с ЧПУ и промышленных роботов. The invention relates to instrumentation, in particular to digital meters of motion parameters with a primary displacement transducer, and can be used to create high-precision automatic control systems for electric drives of CNC machines and industrial robots.

Известен способ получения информации о скорости вращения вала, заключающийся в формировании гармонических сигналов, пропорциональных синусу и косинусу угла поворота вала, определении значений производных функций сформированных гармонических сигналов, выделении и суммировании модулей полученных сигналов, формировании суммы модулей гармонических сигналов и формировании модуля сигнала скорости за счет деления суммы модулей производных функций гармонических сигналов на сумму модулей гармонических сигналов. Устройство, реализующее указанный способ, содержит преобразователь угла поворота вала, выполненный в виде СКВТ, аналоговые дифференциаторы сигналов СКВТ, схемы выделения модулей сигналов дифференциаторов и СКВТ, два блока суммирования и блок деления, выходной сигнал которого пропорционален модулю сигнала скорости [1]. There is a method of obtaining information about the speed of rotation of the shaft, which consists in the formation of harmonic signals proportional to the sine and cosine of the angle of rotation of the shaft, determining the values of the derivative functions of the generated harmonic signals, isolating and summing the modules of the received signals, forming the sum of the modules of harmonic signals and forming the speed signal module by dividing the sum of the modules of the derivative functions of harmonic signals by the sum of the modules of harmonic signals. A device that implements the indicated method comprises a shaft angle converter, made in the form of an SLE, analog differentiators of the SLE signals, an allocation circuit for the signal modules of the differentiators and the SEC, two summing units and a division unit, the output signal of which is proportional to the speed signal module [1].

Недостатком этого способа является необходимость операции дифференцирования, которая при выполнении на аналоговых элементах имеет ограниченную точность. Кроме того, при работе с СКВТ пульсации напряжения питания усиливаются блоком дифференцирования, что приводит к снижению точности устройства и ограничивает нижний диапазон измеряемых скоростей. The disadvantage of this method is the need for a differentiation operation, which, when executed on analog elements, has limited accuracy. In addition, when working with SCRT, supply voltage ripples are amplified by a differentiation unit, which leads to a decrease in the accuracy of the device and limits the lower range of measured speeds.

Известны способ и устройство для его реализации, заключающиеся в преобразовании угла поворота вала в сигналы, пропорциональные синусу и косинусу угла поворота, преобразовании этих сигналов в многофазную систему гармонических сигналов, преобразовании полученной системы сигналов в пилообразный сигнал и определении скорости его изменения за счет преобразования крутизны пилообразного сигнала в частоту импульсов, определения числа этих импульсов за фиксированный интервал времени, и использовании этого числа в качестве скорости и формировании сигнала знака скорости за счет определения очередности следования фаз в многофазной системе гармонических сигналов. A known method and device for its implementation, which consists in converting the angle of rotation of the shaft into signals proportional to the sine and cosine of the angle of rotation, converting these signals into a multiphase system of harmonic signals, converting the resulting signal system into a sawtooth signal and determining the rate of change by converting the slope of the sawtooth signal to the frequency of the pulses, determining the number of these pulses in a fixed time interval, and using this number as the speed and The formation of a speed sign signal by determining the sequence of phases in a multiphase system of harmonic signals.

Устройство, реализующее указанный способ, содержит первичный преобразователь угловых перемещений (СКВТ, преобразователь числа фаз, подключенный к выходам СКВТ, формирователь пилообразного напряжения с входами, подключенными к выходам преобразователя числа фаз, аналоговым выходам пилообразного сигнала и кодовым выходам номера участка пилообразного сигнала, цифровой вычислитель скорости с входом, подключенным к формирователю пилообразного напряжения, и выходом параллельного двоичного кода, преобразователь "цифра-аналог" с цифровым входом, подключенным к выходу цифрового вычислителя, и входом управления знаком выходного сигнала, и определитель очередности следования фаз с входом, подключенным к выходу кодового сигнала формирователя пилообразного напряжения, и выходом, подключенным к входу управления знаком выходного сигнала преобразователя "цифра-аналог" [2]. A device that implements the specified method contains a primary angular displacement transducer (SCRT, a phase number converter connected to the outputs of an SKVT, a sawtooth voltage shaper with inputs connected to the outputs of the phase number converter, analog outputs of a sawtooth signal and code outputs of the sawtooth signal section number, a digital computer speed with an input connected to a sawtooth voltage shaper and an output of a parallel binary code, a digital-to-analog converter with digital an ode connected to the output of the digital computer and an input for controlling the sign of the output signal, and a phase sequence determiner with an input connected to the output of the code signal of the sawtooth voltage shaper, and an output connected to the control input of the sign of the output signal of the digital-analog converter [2 ].

Недостатком известных устройства и способа является ограничение верхнего диапазона измеряемых скоростей, вызванное ограниченной полосой рабочих частот элементов устройства. Для обеспечения необходимой точности измерения в нижнем диапазоне скоростей в устройстве используется "электрический редуктор" с большим коэффициентом передачи, поэтому при низкой скорости вращения вала частота счетных импульсов достигает верхней границы рабочей частоты цифрового вычислителя скорости. В силу этого указанное устройство может быть использовано только в системах регулирования скорости "тихоходных" электроприводов. Кроме того, устройство содержит большое число аналоговых элементов, к которым предъявляются повышенные требования по точности и стабильности, что затрудняет его техническую реализацию с высокими метрологическими параметрами. A disadvantage of the known device and method is the limitation of the upper range of the measured speeds caused by the limited band of operating frequencies of the elements of the device. To ensure the necessary measurement accuracy in the lower speed range, the device uses an "electric gearbox" with a high transmission coefficient, therefore, at a low shaft speed, the frequency of the counting pulses reaches the upper limit of the operating frequency of the digital speed calculator. Because of this, the specified device can only be used in speed control systems of "low-speed" electric drives. In addition, the device contains a large number of analog elements, which are subject to increased requirements for accuracy and stability, which complicates its technical implementation with high metrological parameters.

Цель изобретения - повышение точности и расширение диапазона измеряемых скоростей вращения вала. The purpose of the invention is improving accuracy and expanding the range of measured shaft rotation speeds.

На фиг.1 приведена функциональная схема устройства для измерения скорости вращения вала; на фиг.2 - функциональная схема аналогового коммутатора; на фиг.3 - функциональная схема формирователя счетных импульсов; на фиг.4 - временные диаграммы входных и выходных сигналов элементов формирователя счетных импульсов; на фиг. 5 - функциональная схема блока управления; на фиг.6 представлены временные диаграммы входных и выходных сигналов элементов блока управления. Figure 1 shows a functional diagram of a device for measuring the speed of rotation of the shaft; figure 2 is a functional diagram of an analog switch; figure 3 is a functional diagram of the shaper of the counting pulses; figure 4 - timing diagrams of the input and output signals of the elements of the shaper of the counting pulses; in FIG. 5 is a functional diagram of a control unit; figure 6 presents the timing diagram of the input and output signals of the elements of the control unit.

На функциональных схемах линии связи между элементами, осуществляющие передачу параллельного кодового сигнала, отмечены знаком Х. On functional diagrams, communication lines between elements transmitting a parallel code signal are marked with an X.

Введены следующие обозначения:
α - угол поворота рабочего вала;
θ - текущее значение сигналов СКДУ;
Np - коэффициент "электрической редукции", связывающий угол с сигналом θ;
Np=2 π/Тр,
где Тр - угловой шаг измерительного растра СКДУ;
β - текущее значение угла θ СКДУ, приведенное в первый октант.
The following notation is introduced:
α is the angle of rotation of the working shaft;
θ is the current value of the ACSD signals
N p is the coefficient of "electrical reduction" connecting the angle with the signal θ;
N p = 2 π / T p ,
where T p - the angular step of the measuring raster SKDU;
β is the current value of the angle θ SKDU, given in the first octant.

Измерение скорости вращения вала по предлагаемому способу производится в следующей последовательности. The measurement of the shaft rotation speed by the proposed method is carried out in the following sequence.

Преобразуют угол поворота вала в двухфазную систему гармонических сигналов с помощью растрового синусно-косинусного датчика угла. The angle of rotation of the shaft is converted into a two-phase system of harmonic signals using a raster sine-cosine angle sensor.

Формируют цифровой эквивалент угла θ в пределах периода гармонических сигналов следующим образом. The digital equivalent of the angle θ is generated within the period of the harmonic signals as follows.

Преобразуют гармонические сигналы в формат первого октанта, сравнивая эти сигналы между собой и с нулевым уровнем, и одновременно определяют номер октанта (три старших разряда кода угла), соответствующий текущим значениям гармонических сигналов, при этом за первый октант (цифровой код 000) принимают октант, в котором sin θ>0, cosθ>0 и sinθ < cosθ , и считают, что возрастание номеров октантов происходит против часовой стрелки. Harmonic signals are converted into the format of the first octant, comparing these signals with each other and with a zero level, and at the same time they determine the number of the octant (the three most significant bits of the angle code) corresponding to the current values of the harmonic signals, and the octant is taken as the first octant (digital code 000), in which sinθ> 0, cosθ> 0 and sinθ <cosθ, and it is believed that the octant numbers increase counterclockwise.

Преобразуют гармонические сигналы, приведенные в первый октант, в код тангенса угла путем линейного аналого-цифрового преобразования, используя в качестве опорного сигнала больший из приведенных сигналов, а в качестве измерительного - меньший из сигналов. Harmonic signals converted to the first octant are converted to the angle tangent code by linear analog-to-digital conversion, using the larger of the reduced signals as the reference signal, and the smaller of the signals as the measuring signal.

Используют в качестве цифрового эквивалента значения тангенса угла в нечетных октантах, когда младший разряд кода октантов равен нулю, прямой код тангенса угла, а в четных октантах, когда младший разряд кода октантов равен единице, формируют инверсный код тангенса угла. Use as the digital equivalent the values of the tangent of the angle in odd octants, when the least significant bit of the octant code is zero, the direct code of the tangent of the angle, and in even octants when the least significant bit of the octant code is one, form the inverse code of the tangent of the angle.

Определяют младшие разряды кода угла, осуществляя функциональное арктангенсное преобразование кода тангенса угла в код угла, при этом нулевому входному коду тангенса угла соответствует нулевой код угла, а максимальному значению кода тангенса угла соответствует код угла:

Figure 00000001
= 2n-1, где n - разрядность АЦП.The least significant bits of the angle code are determined by performing the functional arc tangent transformation of the angle tangent code to the angle code, while the zero input tangent code corresponds to the zero angle code, and the maximum angle tangent code corresponds to the angle code:
Figure 00000001
= 2 n -1, where n is the ADC bit depth.

Формируют первую и вторую последовательности счетных импульсов, совпадающих с моментами изменения состояния младших разрядов кода угла и кода номера октантов. The first and second sequences of counting pulses are formed, which coincide with the moments of change in the state of the least significant bits of the angle code and the octant number code.

Определяют число счетных импульсов первой последовательности за фиксированный интервал времени и используют это число в качестве значения скорости вращения вала в нижней части диапазона скоростей. The number of counting pulses of the first sequence is determined for a fixed time interval and this number is used as the value of the shaft rotation speed in the lower part of the speed range.

Одновременно определяют очередность следования фаз преобразователя перемещения путем определения фазового сдвига между сигналом второго младшего разряда кода угла и опорным сигналом, полученным в виде логической суммы сигналов двух младших разрядов кода угла, и формируют сигнал направления вращения вала. At the same time, the sequence of the phases of the displacement transducer is determined by determining the phase shift between the signal of the second least significant bit of the angle code and the reference signal obtained as a logical sum of the signals of the two least significant bits of the angle code, and a signal for the direction of rotation of the shaft is generated.

При превышении измеряемой скоростью фиксированного значения определяют старшие разряды кода скорости по числу счетных импульсов второй последовательности за тот же самый интервал времени, причем отсчет интервала времени начинают в момент появления счетного импульса, и добавляют к старшим разрядам кода скорости младшие разряды, в качестве которых используют младшие разряды кода угла, сформированные в момент окончания интервала времени, при этом при вращении вала в сторону, соответствующую нарастанию кода угла θ в первом октанте, используют прямой код угла, а при вращении в противоположную сторону - обратный код угла. If the measured speed exceeds a fixed value, the highest bits of the speed code are determined by the number of counting pulses of the second sequence for the same time interval, and the time interval starts counting at the moment the counting pulse appears, and the low order bits are added to the high order bits of the speed code bits of the angle code generated at the end of the time interval, while rotating the shaft in the direction corresponding to the increase of the angle code θ in the first octant, Use the direct angle code, and when rotating in the opposite direction, the reverse angle code.

В качестве сигнала направления вращения вала в верхней части диапазона скоростей используют сигнал направления вращения вала, полученный в нижней части диапазона скоростей. As a signal of the direction of rotation of the shaft in the upper part of the speed range, use the signal of the direction of rotation of the shaft obtained in the lower part of the speed range.

Устройство для измерения скорости вращения вала, функциональная схема которого представлена на фиг.1, содержит растровый синусно-косинусный датчик 1 (СКДУ) угла с двумя выходами, преобразователь 2 "угол-код" с двумя информационными входами, подключенными к выходам СКДУ 1, входом синхронизации, трехразрядным выходом кода номера октантов и выходом n-разрядного кода угла, преобразователь 3 кода с цифровым входом, подключенным к выходу n-разрядного кода угла преобразователя 2 "угол-код", входом управления и выходом n-разрядного кода, блок 4 определения направления вращения вала с двумя информационными входами, соединенными с выходами двух младших разрядов кода угла преобразователя 2, управляющим входом и выходом, соединенным с входом управления преобразователя 3 кода и являющимся выходом сигнала направления вращения вала устройства, первый формирователь 5 счетных импульсов с информационным входом, подключенным к выходу младшего разряда кода угла преобразователя 2, первый ключ 6 с информационным входом, подключенным к выходу первого формирователя 4, двумя управляющими входами и выходом информационного сигнала, первый счетчик 7 импульсов со счетным входом (вход С), подключенным к выходу первого ключа 6, входом параллельной записи (вход D), соединенным с выходом преобразователя 3 кода, входом разрешения записи (вход S), входом установки в нулевое состояние (вход R) счетчика и выходом n-разрядного кода (выходом младших разрядов кода) скорости, второй формирователь 8 счетных импульсов с входом, соединенным с выходом младшего разряда кода номера октантов преобразователя 2, второй ключ 9 с информационным входом, подключенным к выходу второго формирователя 8, и двумя управляющими входами, второй счетчик 10 импульсов со счетным входом (вход С), входом установки
в нулевое состояние (вход R) и выходом параллельного двоичного кода (выходом старших разрядов кода скорости), логический элемент И 11 с двумя входами, первый из которых подключен к выходу старшего разряда первого счетчика 7, логический элемент ИЛИ 12 с двумя входами, подключенными к выходу второго ключа 9 и выходу логического элемента И 11, и выходом, соединенным со счетным входом второго счетчика 10, регистр 13 хранения кода (РХК) с цифровым входом, младшие разряды которого соединены с выходом n-разрядного кода первого счетчика 7, а старшие разряды регистра подключены к выходу параллельного двоичного кода второго счетчика 10, входом разрешения записи (вход S) и выходом m-разрядного кода скорости вращения вала, являющимся цифровым выходом устройства, задатчик 14 скорости переключения с выходом m-разрядного кодового сигнала, цифровой компаратор 15 с двумя входами, первый из которых (вход А) соединен с выходом регистра 13 хранения кода, а второй (вход В) подключен к выходу задатчика 14 и двумя выходами, первый из которых (выход А ≅ В) соединен с вторым управляющим входом первого ключа 6, вторым входом логического элемента И 11 и управляющим входом блока 4 определения направления вращения вала, а второй выход цифрового компаратора (выход А>B) соединен с вторым управляющим входом второго ключа 9, и блок 16 управления с двумя входами, первый из которых соединен с вторым выходом цифрового компаратора 15, а второй вход подключен к выходу второго формирователя 8 счетных импульсов, и пятью выходами, первый из которых соединен с входом синхронизации преобразователя 2, второй выход блока соединен с первыми управляющими входами первого и второго ключей, третий выход блока 16 соединен с входом разрешения записи первого счетчика 7 импульсов, четвертый выход блока 16 управления соединен с входом разрешения записи регистра 13 хранения кода, а пятый выход блока 16 управления соединен с входом установки в нулевое состояние счетчиков 7 и 10.
A device for measuring the shaft rotation speed, the functional diagram of which is shown in Fig. 1, contains a raster sine-cosine angle sensor 1 (SKDU) with two outputs, an angle-code converter 2 with two information inputs connected to the SKDU outputs 1, an input synchronization, three-digit output of the octane number code and the output of the n-bit angle code, code converter 3 with a digital input connected to the output of the n-bit code of the angle code of the angle-2 converter 2, the control input and the output of the n-bit code, block 4 is determined the direction of rotation of the shaft with two information inputs connected to the outputs of the two least significant bits of the angle code of the converter 2, a control input and output connected to the control input of the code converter 3 and being the output of the signal of the shaft rotation direction of the device, the first counting pulse generator 5 with the information input, connected to the output of the least significant bit of the angle code of the transducer 2, the first key 6 with an information input connected to the output of the first shaper 4, two control inputs and outputs the information signal, the first 7 pulse counter with a counting input (input C) connected to the output of the first key 6, a parallel recording input (input D) connected to the output of the code converter 3, a recording enable input (input S), a zero input the state (input R) of the counter and the output of the n-bit code (the output of the least significant bits of the code) of the speed, the second driver 8 counting pulses with the input connected to the output of the least significant code of the octant number of the converter 2, the second key 9 with the information input connected to ode second generator 8, and two control inputs, a second counter 10 with the pulse counting input (input C), the setting input
to the zero state (input R) and the output of the parallel binary code (the output of the upper bits of the speed code), the logic element And 11 with two inputs, the first of which is connected to the output of the highest level of the first counter 7, the logic element OR 12 with two inputs connected to the output of the second key 9 and the output of the logic element And 11, and the output connected to the counting input of the second counter 10, the code storage register 13 (PXC) with a digital input, the lower bits of which are connected to the output of the n-bit code of the first counter 7, and the senior bits R the registers are connected to the output of the parallel binary code of the second counter 10, the write enable input (input S) and the output of the m-bit code of the shaft rotation speed, which is the digital output of the device, the switch speed switch 14 with the output of the m-bit code signal, a digital comparator 15 with two inputs, the first of which (input A) is connected to the output of the code storage register 13, and the second (input B) is connected to the output of the setter 14 and two outputs, the first of which (output A ≅ B) is connected to the second control input of the first key 6, second input the house of the logical element And 11 and the control input of the unit 4 for determining the direction of rotation of the shaft, and the second output of the digital comparator (output A> B) is connected to the second control input of the second key 9, and the control unit 16 with two inputs, the first of which is connected to the second output digital comparator 15, and the second input is connected to the output of the second shaper 8 of the counting pulses, and five outputs, the first of which is connected to the synchronization input of the converter 2, the second output of the block is connected to the first control inputs of the first and second to yuchey, third output block 16 is connected to the write enable input of the first counter 7 pulses fourth output control unit 16 is connected to the write enable input code storing register 13, and the fifth control unit 16 is connected to the output of the input setting in the zero state counters 7 and 10.

Преобразователь 2 "угол-код", возможный вариант реализации которого представлен на фиг. 1, содержит аналоговый коммутатор 17 с двумя входами, являющимися информационными входами преобразователя 2, выходами опорного и измерительного сигналов и выходом кода номера октантов, аналого-цифровой преобразователь 18 (АЦП) с входами опорного и измерительного сигналов, подключенными к соответствующим выходам аналогового коммутатора 17, входом управления выходным кодом АЦП 18, подключенным к выходу младшего разряда цифрового выхода кода номера октанта аналогового коммутатора 17, входом синхронизации, являющимся входом синхронизации преобразователя 2 и n-разрядным цифровым выходом, и функциональный арктангенсный преобразователь 19, выполненный в виде постоянного запоминающего устройства (ПЗУ) с адресным входом, подключенным к цифровому выходу АЦП 18. Выход кода номера октантов аналогового коммутатора 17 и цифровой выход АЦП 18 образуют цифровой выход преобразователя 2 "угол-код". Angle-code converter 2, a possible implementation of which is shown in FIG. 1, contains an analog switch 17 with two inputs, which are information inputs of the converter 2, the outputs of the reference and measuring signals and the output of the octane number code, an analog-to-digital converter 18 (ADC) with the inputs of the reference and measuring signals connected to the corresponding outputs of the analog switch 17, the input control of the output code of the ADC 18 connected to the low-order output of the digital output of the octane number code of the analog switch 17, the synchronization input, which is the pre-synchronization input the browser 2 and an n-bit digital output, and a functional arc tangent converter 19, made in the form of read-only memory (ROM) with an address input connected to the digital output of the ADC 18. The output of the octane number code of the analog switch 17 and the digital output of the ADC 18 form a digital output Converter 2 "angle code".

Блок 4 определения направления вращения вала, возможный вариант реализации которого представлен на фиг.1, содержит элемент ИСКЛЮЧАЮЩЕЕ ИЛИ 20 с двумя входами, IK-триггер 21 с логическими элементами И на входах I и К, с синхронизирующим входом (вход С), подключенным к выходу элемента ИСКЛЮЧАЮЩЕЕ ИЛИ 20, двумя информационными входами (входы I1 и K1) и управляющим входом, образованным соединенными друг с другом вторыми входами I2 и К2 триггера и являющийся управляющим входом блока 4, и инвертор 22 с выходом, подключенным к информационному К1-входу триггера 21.Block 4 determining the direction of rotation of the shaft, a possible implementation of which is presented in figure 1, contains an element EXCLUSIVE OR 20 with two inputs, an IK-trigger 21 with logic elements And at the inputs I and K, with a clock input (input C) connected to the output of the element EXCLUSIVE OR 20, two information inputs (inputs I 1 and K 1 ) and a control input formed by second inputs of the trigger I 2 and K 2 connected to each other and being a control input of block 4, and an inverter 22 with an output connected to the information By 1 -Entrance trig EPA 21.

Первый вход элемента ИСКЛЮЧАЮЩЕЕ ИЛИ 20 является первым входом блока 4 определения направления вращения вала, вторым входом которого является соединенные друг с другом второй вход элемента ИСКЛЮЧАЮЩЕЕ ИЛИ 20, вход инвертора 22 и информационный I1-вход триггера 21. Выходом блока 4 определения направления вращения вала является выход IK-триггера 21.The first input of the EXCLUSIVE OR element 20 is the first input of the shaft rotation direction determination unit 4, the second input of which is the second input of the EXCLUSIVE OR 20 element connected to each other, the inverter input 22 and the information I 1 trigger input 21. The output of the shaft rotation direction determination unit 4 is the output of the IK trigger 21.

Аналоговый коммутатор 17, возможный вариант реализации которого представлен на фиг.2, содержит первый блок 23 перемены знака с входом, являющимся первым входом аналогового коммутатора, и выходами аналогового и логического сигналов, второй блок 24 перемены знака с входом, являющимся вторым входом аналогового коммутатора, и выходами аналогового и логического сигналов, блок 25 перемены функций с двумя входами, подключенными к выходам аналогового сигнала первого и второго блоков перемены знака, двумя выходами аналоговых сигналов, являющимися выходами опорного и измерительного сигналов аналогового коммутатора, и выходом логического сигнала, и определитель 26 октантов с тремя входами, первый из которых подключен к выходу логического сигнала блока 25 перемены функций, а второй и третий входы определителя соединены соответственно с логическим выходом первого и второго блоков перемены знака, и выходом кода номера октантов, являющимся одноименным выходом аналогового коммутатора 17. The analog switch 17, a possible implementation of which is shown in FIG. 2, comprises a first sign changing unit 23 with an input being the first input of the analog switch and outputs of the analog and logical signals, a second sign changing unit 24 with an input being the second input of the analog switch, and outputs of analog and logical signals, block 25 of the change of functions with two inputs connected to the outputs of the analog signal of the first and second blocks of the sign change, two outputs of analog signals, which are the moves of the reference and measuring signals of the analog switch, and the output of the logical signal, and the identifier 26 octants with three inputs, the first of which is connected to the output of the logical signal of block 25 of the function change, and the second and third inputs of the determinant are connected respectively to the logical output of the first and second blocks of change sign, and the output of the octane number code, which is the same name as the output of the analog switch 17.

Блок 23 (24) перемены знака, возможный вариант реализации которого представлен на фиг.2, содержит усилитель-инвертор 27, неинвертирующий вход которого соединен с общей шиной, компаратор 28 с информационным входом, входом опорного сигнала, соединенным с общей шиной, и выходом, являющимся выходом логического сигнала блока 23 (24) перемены знака, и аналоговый переключатель 29 на одно направление с двумя информационными входами, первый из которых (нормально-закрытый контакт переключателя) соединен с выходом усилителя-инвертора 27, управляющим входом, подключенным к первому выходу компаратора 28, и выходом (общий контакт переключателя), являющимся выходом блока 23 (24) перемены знака. Соединенные друг с другом инвертирующий вход усилителя-инвертора 27, информационный вход компаратора 28 и второй (нормально-открытый контакт переключателя) информационный вход аналогового переключателя 29 является входом блока 23 (24) перемены знака. Выход логического сигнала блока 23 перемены знака является выходом старшего разряда кода номера октантов преобразователя 2 "угол-код". The sign-changing unit 23 (24), a possible embodiment of which is shown in FIG. 2, comprises an amplifier-inverter 27, the non-inverting input of which is connected to a common bus, a comparator 28 with an information input, a reference signal input connected to a common bus, and an output, which is the output of the logical signal of the sign-changing unit 23 (24), and the analog switch 29 in one direction with two information inputs, the first of which (normally-closed contact of the switch) is connected to the output of the amplifier-inverter 27, the control input, p connected to the first output of the comparator 28, and an output (common contact of the switch), which is the output of the sign-changing unit 23 (24). The inverting input of the amplifier-inverter 27 connected to each other, the information input of the comparator 28, and the second (normally open switch contact) information input of the analog switch 29 is the input of the sign-changing unit 23 (24). The output of the logical signal of the sign reversing unit 23 is the high-order output of the octant number code of the angle-to-angle converter 2.

Блок 25 перемены функций, возможный вариант реализации которого представлен на фиг. 2, содержит компаратор 30 с информационным входом, входом опорного сигнала и выходом, являющимся выходом логического сигнала блока 25 перемены функций, и аналоговый переключатель 31 на два направления с четырьмя информационными входами, управляющим входом, соединенным с выходом компаратора 30, выходом опорного сигнала (общий контакт первого направления переключателя), являющимся первым выходом блока 25 перемены функций, и выходом измерительного сигнала (общий контакт второго направления переключателя), являющимся вторым выходом блока 25 перемены функций. Соединенные друг с другом информационный вход компаратора 30, первый информационный вход переключателя 31 (нормально-закрытый контакт первого направления) и четвертый информационный вход переключателя (нормально-открытый контакт второго направления) являются первым информационным входом блока 25 перемены функций, а соединенные друг с другом вход опорного сигнала компаратора 30, второй информационный вход переключателя 31 (нормально-открытый контакт первого направления) и третий информационный вход переключателя 31 (нормально-закрытый контакт второго направления) являются вторым информационным входом блока 25 перемены функций. Function change unit 25, a possible implementation of which is shown in FIG. 2, comprises a comparator 30 with an information input, a reference signal input and an output being an output of a logic signal of the function change unit 25, and an analog two-way switch 31 with four information inputs, a control input connected to the output of the comparator 30, a reference signal output (common contact of the first direction of the switch), which is the first output of the function changing unit 25, and the output of the measuring signal (common contact of the second direction of the switch), which is the second output of the unit 25 function exchanges. The information input of the comparator 30 connected to each other, the first information input of the switch 31 (normally-closed contact of the first direction) and the fourth information input of the switch (normally-open contact of the second direction) are the first information input of the function change unit 25, and the input connected to each other the reference signal of the comparator 30, the second information input of the switch 31 (normally open contact of the first direction) and the third information input of the switch 31 (normally closed con second direction clock cycle) are the second information input of the function change unit 25.

Определитель 26 октантов, возможный вариант реализации которого представлен на фиг. 2, содержит первый логический элемент ИСКЛЮЧАЮЩЕЕ ИЛИ 32 с двумя входами, являющимися вторым и третьим входом определителя 26 октантов, и второй логический элемент ИСКЛЮЧАЮЩЕЕ ИЛИ 33 с двумя входами, первый из которых является первым входом определителя 26 октантов, а второй вход подключен к выходу первого логического элемента ИСКЛЮЧАЮЩЕЕ ИЛИ 32. Выходы элементов ИСКЛЮЧАЮЩЕЕ ИЛИ 32 И 33 являются выходами второго и третьего разрядов кода номера октантов определителя 26. Octant determinant 26, a possible implementation of which is shown in FIG. 2, contains the first logic gate EXCLUSIVE OR 32 with two inputs that are the second and third input of the octant determiner 26, and the second logic gate EXCLUSIVE OR 33 with two inputs, the first of which is the first input of the octant determiner 26, and the second input is connected to the output of the first logic element EXCLUSIVE OR 32. The outputs of the elements EXCLUSIVE OR 32 AND 33 are the outputs of the second and third bits of the code of the octane number of the determinant 26.

Формирователь 5 (8) счетных импульсов, возможный вариант реализации которого представлен на фиг.3, содержит последовательно соединенные инвертор 34, элемент 35 задержки и развязывающий элемент 36 и логический элемент ИСКЛЮЧАЮЩЕЕ ИЛИ 37 с двумя входами, второй из которых подключен к выходу развязывающего элемента 36, и выходом, являющимся выходом формирователя 5 (8) счетных импульсов. Соединенные между собой вход инвертора 34 и первый вход логического элемента ИСКЛЮЧАЮЩЕЕ ИЛИ 37 являются входом формирователя 5 (8). The counter pulse generator 5 (8), a possible embodiment of which is shown in FIG. 3, comprises a series-connected inverter 34, a delay element 35 and an isolating element 36 and an EXCLUSIVE OR 37 logic element with two inputs, the second of which is connected to the output of the isolating element 36 , and the output, which is the output of the shaper 5 (8) counting pulses. The interconnected input of the inverter 34 and the first input of the EXCLUSIVE OR 37 logic element are the input of the shaper 5 (8).

Блок 16 управления, возможный вариант реализации которого представлен на фиг. 5, содержит первый инвертор 38, логический элемент ИЛИ 39 с двумя входами, первый из которых соединен с выходом первого инвертора 38, логический элемент И-НЕ 40 с тремя входами, первый из которых соединен с выходом элемента ИЛИ 39, первый D-триггер 41 с синхронизирующим входом (вход С) и информационным входом (вход D), соединенным с общей шиной, установочным входом (вход S), второй D-триггер 42 с синхронизирующим входом, подключенным к прямому выходу первого D-триггера 41, информационным входом, соединенным с общей шиной, установочным входом, подключенным к выходу элемента ИЛИ-НЕ 40 и прямым и инверсным выходами, второй из которых подключен к третьему входу логического элемента И-НЕ 40, логический элемент И 43 с двумя входами, первый из которых подключен к прямому выходу первого D-триггера 41, а второй вход соединен с прямым выходом второго D-триггера 42, задатчик 44 фиксированного интервала времени с выходом p-разрядного параллельного кода, счетчик 45 с входом синхронизации (вход С), входом параллельной записи (вход D), соединенным с выходом задатчика 44, входом разрешения записи (вход V), соединенным с прямым выходом второго D-триггера 42, выходом двух младших разрядов и выходом переполнения (выход Р), соединенным с синхронизирующим входом первого D-триггера 41, дешифратора 46 состояния счетчика с двумя информационными входами, подключенными к первому и второму младшим разрядам счетчика 45 импульсов, управляющим входом (вход V), соединенным с прямым выходом первого D-триггера 41, и четырьмя выходами, четвертый из которых соединен с установочным входом первого D-триггера 41, второй инвертор 47 с входом, подключенным к второму выходу дешифратора 46, логический элемент И-НЕ 48 с двумя входами, второй из которых подключен к выходу второго инвертора 47, и генератора 49 импульсов с выходом, соединенным с входом тактовой частоты счетчика 45 импульсов и вторым входом логического элемента И-НЕ 40. The control unit 16, a possible implementation of which is shown in FIG. 5, contains the first inverter 38, the OR gate 39 with two inputs, the first of which is connected to the output of the first inverter 38, the NAND gate 40 with three inputs, the first of which is connected to the output of the OR element 39, the first D-trigger 41 with a clock input (input C) and an information input (input D) connected to a common bus, a setup input (input S), a second D-trigger 42 with a clock input connected to the direct output of the first D-trigger 41, an information input connected with shared bus, installation input connected to the output of the OR-NOT 40 element and direct and inverse outputs, the second of which is connected to the third input of the AND-NOT 40 logic element, the AND gate 43 with two inputs, the first of which is connected to the direct output of the first D-trigger 41, and the second input connected to the direct output of the second D-flip-flop 42, a fixed-interval timer 44 with an output of a p-bit parallel code, a counter 45 with a synchronization input (input C), a parallel recording input (input D) connected to the output of the setter 44, recording permission input (input V) connected to direct the output of the second D-flip-flop 42, the output of the two least significant bits and the overflow output (output P) connected to the clock input of the first D-flip-flop 41, the counter status decoder 46 with two information inputs connected to the first and second least significant bits of the counter 45 pulses, a control input (input V) connected to the direct output of the first D-flip-flop 41, and four outputs, the fourth of which is connected to the installation input of the first D-flip-flop 41, the second inverter 47 with an input connected to the second output of the decoder 46, logs A logical AND-NOT 48 element with two inputs, the second of which is connected to the output of the second inverter 47, and a pulse generator 49 with an output connected to the clock input of the counter 45 pulses and the second input of the AND-NOT 40 logic element.

Соединенные друг с другом вход первого инвертора 38 и первый вход логического элемента И-НЕ 48 являются первым входом блока 16 управления, а второй вход логического элемента ИЛИ 39 является вторым входом блока 16 управления. Connected to each other, the input of the first inverter 38 and the first input of the AND gate 48 are the first input of the control unit 16, and the second input of the OR gate 39 is the second input of the control unit 16.

Выход генератора 49 является первым выходом блока 16 управления, выход первого логического элемента И-НЕ 43 - вторым выходом блока 16 управления, выход логического элемента И-НЕ 48 - третьим выходом блока 16 управления, а третий и четвертый выходы дешифратора 46 являются соответственно четвертым и пятым выходами блока 16 управления. The output of the generator 49 is the first output of the control unit 16, the output of the first logical element AND-NOT 43 is the second output of the control unit 16, the output of the logical element AND-NOT 48 is the third output of the control unit 16, and the third and fourth outputs of the decoder 46 are the fourth and fifth outputs of the control unit 16.

Устройство работает следующим образом. The device operates as follows.

Растровый СКДУ преобразует угол поворота рабочего вала в двухфазную систему гармонических сигналов. Принцип действия СКДУ основан на модуляции потока излучения, осуществляемого двумя сопряженными растрами (измерительным, связанным с рабочим валом, и анализирующим неподвижным растром). Растры имеют окна, расположенные с некоторым шагом, т.е. переменную от угла прозрачность. При мелком шаге растров сигналы фотоприемников имеют квазигармоническую форму. Фазовый сдвиг между световыми потоками осуществляется за счет выполнения анализирующего растра в виде групп штрихов, смещенных друг относительно друга по углу на четверть шага измерительного растра (плюс целое число шагов). Для получения двух квадратурных гармонических сигналов в СКДУ используется четырехфазная считывающая система, с фотоприемников которой снимаются сигналы, смещенные по фазе друг относительно друга на четверть периода. Четырехфазная система сигналов преобразуется в двухфазную, т.е. в синусный и косинусный сигналы, которые формируются за счет включения по балансной схеме фотоприемников, сигналы которых смещены по фазе друг относительно друга на половину периода. При этом устраняются постоянные составляющие и другие четные гармоники сигналов фотоприемников. При перемещении измерительного растра в одном направлении сигнал на первом выходе СКДУ отстает по фазе на четверть периода от изменения сигнала на его втором выходе, а при перемещении измерительного растра в противоположном направлении - опережает на четверть периода. Поэтому знак фазового сдвига между квадратурными сигналами СКДУ характеризует направление вращения рабочего вала. Текущее значение квадратурных гармонических сигналов, сформированных растровым СКДУ, зависящее от угла поворота θ, преобразуется преобразователем 2 "угол-код" в цифровой код угла θ. Преобразователь 2 работает в амплитудном режиме и осуществляет преобразование гармонических сигналов СКДУ в формат первого октанта с одновременным формированием трех старших разрядов кода (кода номера октанта) и затем определяет младшие разряды кода угла через код тангенса этого угла, при этом код тангенса угла формирует на АЦП 18 отношения сигналов, на опорный и информационные входы которого поступают соответственно больший и меньший из сигналов СКДУ, приведенных в первый октант. Raster SKDU converts the angle of rotation of the working shaft into a two-phase system of harmonic signals. The principle of operation of SKDU is based on the modulation of the radiation flux carried out by two conjugated rasters (measuring, connected with the working shaft, and analyzing a fixed raster). Rasters have windows located at some steps, i.e. variable from angle transparency. With a small step of the rasters, the photodetector signals have a quasi-harmonic shape. The phase shift between the light fluxes is achieved by performing an analyzing raster in the form of groups of strokes offset by a quarter of a step of the measuring raster relative to each other (plus an integer number of steps). To obtain two quadrature harmonic signals in the control system, a four-phase reading system is used, from the photodetectors of which signals are removed that are phase shifted relative to each other by a quarter of the period. The four-phase signal system is converted into a two-phase, i.e. in the sine and cosine signals, which are formed due to the inclusion of a balanced photodetector, whose signals are phase shifted relative to each other by half the period. This eliminates the constant components and other even harmonics of the photodetector signals. When the measuring raster is moved in one direction, the signal at the first output of the control system is out of phase by a quarter of the period from the signal change at its second output, and when the measuring raster is moved in the opposite direction, it is ahead by a quarter of the period. Therefore, the sign of the phase shift between the quadrature signals of the SKDU characterizes the direction of rotation of the working shaft. The current value of the quadrature harmonic signals generated by the raster SKDU, depending on the angle of rotation θ, is converted by the angle-code converter 2 into a digital angle code θ. Converter 2 operates in the amplitude mode and converts harmonic signals of the control system into the first octant format with the simultaneous generation of the three most significant bits of the code (octant number code) and then determines the least significant bits of the angle code through the tangent code of this angle, while the tangent code of the angle forms on the ADC 18 the ratio of signals, to the reference and information inputs of which are respectively the larger and smaller of the signals of the control system, given in the first octant.

Преобразование угла θ поворота СКДУ 1 в цифровой код в пределах одного шага измерительного растра осуществляется следующим образом. The conversion of the angle θ of rotation of the SKDU 1 into a digital code within one step of the measuring raster is as follows.

Сигналы с выхода СКДУ 1, пропорциональные синусу (Us) и косинусу (Uc) угла θ поворота вала, поступают на входы блоков 23 и 24 перемены знака аналогового коммутатора 17. Напряжения Us=Usin θ и Uc=Ucos θ сравниваются на компараторах 28-1 и 28-2 с нулевым уровнем напряжения. В результате на выходах блоков 23 и 24 перемены знака формируются логические сигналы:
Us1=signsin θ и Uc1=sign cos θ .
The signals from the SKDU 1 output, proportional to the sine (U s ) and cosine (U c ) of the shaft rotation angle θ, are fed to the inputs of the analogue switch sign blocks 23 and 24. The voltages U s = Usin θ and U c = Ucos θ are compared to comparators 28-1 and 28-2 with a zero voltage level. As a result, at the outputs of blocks 23 and 24 of the sign change, logical signals are formed:
U s1 = signsin θ and U c1 = sign cos θ.

Эти сигналы соответствуют знакам напряжений Us и Uc. Нулевой уровень логических сигналов Us1 и Uc1 соответствует положительному значению напряжений Us и Uc. Аналоговые переключатели 29-1 и 29-2 управляются по выявленным на компараторах 28-1 и 28-2 знакам функций Usи Uc. При нулевом уровне Us1 и Uс1 обеспечивается прямая, а при единичном - инверсная передача напряжений Us и Uc на выходы блоков 23 и 24 перемены знака через инверторы 27-1 и 27-2 соответственно. Тем самым на выходах блоков 23 и 24 перемены знака формируются модули напряжений Us и Uс, т.е.These signals correspond to the signs of voltages U s and U c . The zero level of the logical signals U s1 and U c1 corresponds to a positive value of the voltages U s and U c . The analog switches 29-1 and 29-2 are controlled by the signs of the functions U s and U c identified on the comparators 28-1 and 28-2. At a zero level, U s1 and U c1 , a direct line is provided, and at a single level, an inverse transmission of voltages U s and U c to the outputs of blocks 23 and 24 of the sign change through inverters 27-1 and 27-2, respectively. Thus, at the outputs of blocks 23 and 24 of the sign reversal, voltage modules U s and U c are formed , i.e.

Us2= U·/sin θ / и Uc2=U·/cos θ/, тождественные сигналам СКДУ в первом квадранте. Таким образом угол θ приводится в первый квадрант.U s2 = U · / sin θ / and U c2 = U · / cos θ /, identical to the signals of the SKDU in the first quadrant. Thus, the angle θ is reduced to the first quadrant.

Напряжения Us2 и Uc2 сравниваются между собой на компараторе 30 блока 25 перемены функций, в результате чего на выходе компаратора 30 формируется логический сигнал Ua=0, если Us2<Uc2, либо Ua=1, если Us2>Uc2.The voltages U s2 and U c2 are compared with each other on the comparator 30 of the block 25 of the function change, as a result of which the logic signal U a = 0 is formed at the output of the comparator 30 if U s2 <U c2 , or U a = 1 if U s2 > U c2 .

Аналоговый переключатель 31 управляется сигналом Ua и обеспечивает на выходах блока 25 перемены функций появление напряжений сигналов СКДУ, приведенных в первый октант:

Figure 00000002
=
Figure 00000003
=
Figure 00000004
Figure 00000005
Figure 00000006
Figure 00000007
Figure 00000008

Figure 00000009
=
Figure 00000010
Figure 00000011
Figure 00000012
Figure 00000013
Figure 00000014

Напряжения Uизм и Uоп поступают на информационный и опорный входы АЦП 18 отношения сигналов. АЦП осуществляет преобразование отношения напряжений, т. е. sin β/cos β =tg β , в цифровой эквивалент тангенса приведенного угла β. Таким образом, в конце цикла преобразования на цифровом выходе АЦП 18 формируется двоичный код тангенса угла β.The analog switch 31 is controlled by the signal U a and provides the outputs of the block 25 of the function change the appearance of the voltage signals SKDU, shown in the first octant:
Figure 00000002
=
Figure 00000003
=
Figure 00000004
Figure 00000005
Figure 00000006
Figure 00000007
Figure 00000008

Figure 00000009
=
Figure 00000010
Figure 00000011
Figure 00000012
Figure 00000013
Figure 00000014

Voltages U ISM and U op are supplied to the information and reference inputs of the ADC 18 signal ratios. The ADC converts the voltage ratio, i.e., sin β / cos β = tg β, into the digital equivalent of the tangent of the reduced angle β. Thus, at the end of the conversion cycle, the binary tangent of the angle tangent β is formed on the digital output of the ADC 18.

Старший разряд (1р) кода угла θ совпадает со значениями сигнала Us1. Второй (2р) и третий (3р) разряды угла θ формируются в определителе октантов, осуществляющем преобразования:
2P = Us1⊕ Uc1, 3p = 2p ⊕ Ua
Значения логических сигналов на выходе блоков 23 и 24 перемены знака и блока 25 перемены функций, соответствующие изменению угла θ в диапазоне 0-360о (в пределах одного шага измерительного растра СКДУ) приведены в таблице.
The most significant bit (1p) of the angle code θ coincides with the signal values U s1 . The second (2p) and third (3p) bits of the angle θ are formed in the determinant of octants, which carries out the transformations:
2P = U s1 ⊕ U c1 , 3p = 2p ⊕ U a
The values of the logical signals at the output of the blocks 23 and 24 of the change of sign and block 25 of the change of functions corresponding to a change in the angle θ in the range 0-360 about (within one step of the measuring raster SKDU) are given in the table.

С выхода АЦП 18 цифровой код тангенса угла β поступает на адресный вход функционального арктангенсного преобразователя 19, выполненного на базе постоянного запоминающего устройства (ПЗУ), запрограммированного по закону арктангенса в диапазоне изменения угла β от 0 до 45о. ПЗУ 19 формирует на выходе цифровой код приведенного угла β, при этом нулевому входному коду tg β соответствует нулевой код угла, а максимальному входному коду tg β соответствует максимальный код N=2n-1, где n-разрядность функционального преобразователя 19.From the output of the ADC 18, the digital code of the tangent of the angle β is fed to the address input of the functional arc tangent converter 19, made on the basis of read-only memory (ROM), programmed according to the law of the arc tangent in the range of variation of the angle β from 0 to 45 about . The ROM 19 generates a digital code of the reduced angle β at the output, while the zero input code tg β corresponds to the zero code of the angle, and the maximum input code tg β corresponds to the maximum code N = 2 n -1, where n is the bit depth of the functional converter 19.

При вращении рабочего вала выходной код приведенного угла β изменяется по линейно-треугольному закону, причем в нечетных октантах код угла β совпадает со значением угла θ в пределах октанта, а в четных октантах является инверсным значением угла θ, т.е. дополняющим угол θ до 45о. Учитывая это, для получения младших разрядов кода угла θ в четных октантах в преобразователе 2 осуществляют преобразование выходного кода АЦП 18 по сигналу младшего разряда кода номера октантов с выхода аналогового коммутатора 17, поданному на вход управления выходным кодом АЦП 18. В нечетных октантах, когда младший разряд кода номера октантов равен нулю, на выход АЦП 18 проходит прямой код угла β, а в четных октантах, когда младший разряд кода номера октантов равен единице, на выходе АЦП 18 фоpмиpуется инверсный код угла β, дополняющий угол θ до 45о, т.е. равный 45о- β. Поэтому в пределах каждого октанта формируется "цифровая пила", т.е. сигнал на выходе младших разрядов преобразователя 2 "угол-код" изменяется от нуля до значения 2n-1. Таким образом, код номера октанта и код, формируемый на выходе АЦП 18, образуют циклический код угла θ, при его изменении в пределах каждого шага измерительного растра СКДУ от 0 до 360о, т.е. преобразуют угол θ поворота вала СКДУ в его цифровой эквивалент - код.When the working shaft rotates, the output code of the reduced angle β changes according to a linear triangular law, and in odd octants the angle code β coincides with the value of the angle θ within the octant, and in even octants it is the inverse value of the angle θ, i.e. complementing the angle θ to 45 about . Given this, to obtain the least significant bits of the angle code θ in even octants in the converter 2, the ADC output code 18 is converted by the signal of the least significant digit of the octant number code from the output of the analog switch 17, which is fed to the control input of the ADC output code 18. In the odd octants, when the youngest the digit number of the octant number code is zero, the direct code of the angle β passes to the output of the ADC 18, and in even octants, when the least significant digit of the code of the octant number is equal to one, the inverse code of the angle β is formed at the output of the ADC 18, complementing the angle θ to 45 about , i.e. equal to 45 about - β. Therefore, within each octant, a "digital saw" is formed, i.e. the signal at the output of the least significant bits of the angle-code converter 2 varies from zero to a value of 2 n -1. Thus, the octant number code and the code generated at the output of the ADC 18 form a cyclic code of the angle θ, when it changes within each step of the measuring rake of the SKDU from 0 to 360 °, i.e. they transform the angle θ of rotation of the SKDU shaft into its digital equivalent - code.

Сигнал младшего разряда кода угла θ с выхода преобразователя 2 и сигнал младшего разряда кода номера октанта аналогового коммутатора 17 поступают на вход формирователей 5 и 8 счетных импульсов, имеющих одинаковое исполнение. Этот сигнал инвертируется инвертором 34 и подается на элемент 35 задержки, выполненный в виде интегрирующей RC-цепи. При переключениях инвертора 34 напряжение на выходе элемента 35 задержки изменяется по экспотенциальному закону. Когда напряжение на выходе элемента задержки достигает значения, равного напряжению переключения развязывающего элемента 36, последний переключается в другое состояние. Учитывая, что переключение развязывающего элемента 36 из единичного состояния в нулевое (из нулевого состояния в единичное) происходит при напряжении, равном приблизительно половине напряжения питания, импульсы на выходе развязывающего элемента сдвинуты относительно входного сигнала формирователя 5 (8) счетных импульсов на время, равное Δ t=0,7RC. The low-order signal of the angle code θ from the output of the converter 2 and the low-order signal of the octane number code of the analog switch 17 are fed to the input of the counters 5 and 8 of the counting pulses having the same design. This signal is inverted by the inverter 34 and supplied to the delay element 35, made in the form of an integrating RC circuit. When switching the inverter 34, the voltage at the output of the delay element 35 changes exponentially. When the voltage at the output of the delay element reaches a value equal to the switching voltage of the decoupling element 36, the latter switches to another state. Considering that the switching of the decoupling element 36 from a single state to a zero state (from a zero state to a single state) occurs at a voltage equal to approximately half the supply voltage, the pulses at the output of the decoupling element are shifted relative to the input signal of the shaper 5 (8) counting pulses by a time equal to Δ t = 0.7RC.

Входной и задержанный сигналы поступают на входы логического элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, на выходе которого на каждый входной импульс формируются два счетных импульса, передние фронты которых совпадают с передним и задним фронтами входного импульса, а длительность счетных импульсов равна времени задержки сигнала. The input and delayed signals go to the inputs of the EXCLUSIVE OR logic element, at the output of which two counting pulses are formed for each input pulse, the leading edges of which coincide with the leading and trailing edges of the input pulse, and the duration of the counting pulses is equal to the signal delay time.

На фиг.4 представлены временные диаграммы, поясняющие работу формирователя 5 (8) счетных импульсов. 4 is a timing diagram explaining the operation of the shaper 5 (8) of the counting pulses.

Сформированные формирователем 5 счетные импульсы поступают на информационный вход ключа 6. При работе устройства в нижней части диапазона скоростей, когда скорость рабочего вала меньше скорости, заданной задатчиком 14, на второй управляющий вход ключа 6 и второй вход логического элемента И 11 постоянно подан сигнал логической единицы с выхода цифрового компаратора 15. Ключ 6 в каждом цикле измерения открывается сигналом фиксированного интервала времени, формируемого на втором выходе блока 16 управления, на время, равное этому интервалу. В результате счетные импульсы проходят на выход ключа 6 и поступают на синхронизирующий вход счетчика 7. Счетчик 7 подсчитывает число этих импульсов. Счетчики 7 и 10 включены последовательно, поэтому импульсы переполнения счетчика 7 через логический элемент И 11 и элемент ИЛИ 12 поступают на синхронизирующий вход счетчика 10 и подсчитываются им. Так как частота счетных импульсов пропорциональна скорости вращения вала СКДУ, в конце фиксированного интервала времени в счетчиках 7 и 10 будет записано число, представляющее собой цифровой эквивалент скорости вращения вала. После окончания фиксированного интервала времени по сигналу, сформированному на четвертом выходе блока 16 управления, результат измерения из счетчиков 7 и 10 параллельным кодом переносится к регистр 13. Полученный цифровой эквивалент скорости вращения вала (число А) в каждом цикле сравнивается цифровым компаратором 15 с заданным значением кода скорости переключения (число В) задатчика 14. Если скорость вращения вала ниже заданной, то устройство продолжает работать так, как это описано выше, при этом перед началом очередного цикла счетчики обнуляются. The counting pulses generated by the shaper 5 are fed to the information input of the key 6. When the device is operating in the lower part of the speed range, when the speed of the working shaft is less than the speed set by the setter 14, the second logical input of the key 6 and the second input of the logical element And 11 are constantly fed a signal of a logical unit from the output of the digital comparator 15. The key 6 in each measurement cycle is opened by a signal of a fixed time interval generated at the second output of the control unit 16 for a time equal to this interval. As a result, the counting pulses pass to the output of the key 6 and go to the clock input of the counter 7. Counter 7 counts the number of these pulses. The counters 7 and 10 are connected in series, therefore, the overflow pulses of the counter 7 through the logical element And 11 and the element OR 12 are received at the clock input of the counter 10 and are counted by it. Since the frequency of the counting pulses is proportional to the rotational speed of the SKDU shaft, at the end of a fixed time interval, a number representing the digital equivalent of the rotational speed of the shaft will be recorded in the counters 7 and 10. After the end of the fixed time interval according to the signal generated at the fourth output of the control unit 16, the measurement result from the counters 7 and 10 is transferred by a parallel code to register 13. The obtained digital equivalent of the shaft rotation speed (number A) in each cycle is compared by a digital comparator 15 with a given value code of the switching speed (number B) of the setter 14. If the shaft rotation speed is lower than the set value, the device continues to work as described above, while before the start of the next cycle the counters are updated are falling away.

Определение направления вращения и, следовательно, знака кода скорости производится блоком 4. Направление вращения определяется в начале движения, т.е. при скорости вращения вала, меньшей скорости, заданной задатчиком. При превышении скорости, заданной задатчиком (А>В), результат определения знака кода скорости запоминается и используется при работе в верхней части диапазона скоростей. The determination of the direction of rotation and, therefore, the sign of the speed code is made by block 4. The direction of rotation is determined at the beginning of the movement, i.e. when the shaft rotation speed is lower than the speed set by the setter. If the speed specified by the master is exceeded (A> B), the result of determining the sign of the speed code is remembered and used when working in the upper part of the speed range.

Для определения направления вращения вала предварительно формируют опорный сигнал, производя с помощью логического элемента ИСКЛЮЧАЮЩЕЕ ИЛИ 20 логическое суммирование сигналов двух младших разрядов кода угла преобразователя 2. Полученный опорный сигнал сдвинут на четверть периода относительно сигнала второго младшего разряда кода угла. При этом фаза опорного сигнала не изменяется при изменении направления вращения вала. To determine the direction of rotation of the shaft, a reference signal is preliminarily generated, using the logic element EXCLUSIVE OR 20, the logical summation of the signals of the two least significant bits of the angle code of the transducer 2. The received reference signal is shifted by a quarter of the period relative to the signal of the second least significant bit of the angle code. In this case, the phase of the reference signal does not change when the direction of rotation of the shaft changes.

Фазы сигналов второго младшего разряда кода угла и опорного сигнала сравниваются JK-триггером 21, имеющим логические элементы И на информационных входах. JK-триггер включен по схеме D-триггера и имеет управляющий вход, образованный соединенными друг с другом вторыми информационными J2 и К2-входами. Сигнал второго младшего разряда кода угла подается на информационный J1-вход JK-триггера и через инвертор 22 - на информационный вход К1, а опорный сигнал, сформированный элементом ИСКЛЮЧАЮЩЕЕ ИЛИ 20, - на синхронизирующий вход JK-триггера 21. При подаче логической единицы на управляющий вход JK-триггера (работа устройства в нижней части диапазона скоростей) в момент формирования фронта импульса на синхронизирующем входе JK-триггер 21 фиксирует опережение или отставание сигнала, поданного на информационный J1-вход относительно опорного сигнала. При этом опорный сигнал своим фронтом переводит JK-триггер 21 в состояние, определяемое уровнем напряжения на его информационном J-входе в данный момент времени. При перемещении в одном направлении сигнал второго младшего разряда кода угла опережает по фазе опорный сигнал, вследствие чего на прямом выходе JK-тригера 21 устанавливается напряжение, соответствующее логической единице, а при перемещении в противоположном направлении сигнал второго младшего разряда кода угла будет отставать по фазе от опорного сигнала и на прямом выходе JK-триггера 21 устанавливается напряжение, соответствующее логическому нулю.The phases of the signals of the second least significant bit of the angle code and the reference signal are compared by a JK trigger 21 having AND gates at the information inputs. The JK trigger is switched on according to the D-trigger circuit and has a control input formed by the second information J 2 and K 2 inputs connected to each other. The signal of the second least significant bit of the angle code is fed to the information J 1 input of the JK trigger and through the inverter 22 to the information input K 1 , and the reference signal generated by the EXCLUSIVE OR 20 element is sent to the synchronizing input of the JK trigger 21. When a logical unit is supplied to the control input of the JK-trigger (device operation in the lower part of the speed range) at the moment of formation of the pulse front at the synchronization input, the JK-trigger 21 detects the advance or lag of the signal applied to the information J 1 input relative to the reference signal. In this case, the reference signal by its front translates the JK trigger 21 into a state determined by the voltage level at its information J input at a given time. When moving in one direction, the signal of the second least significant bit of the angle code is outpaced in phase with the reference signal, as a result of which a voltage corresponding to a logical unit is set at the direct output of the JK trigger 21, and when moving in the opposite direction, the signal of the second least significant bit of the angle code will lag in phase from the reference signal and the direct output of the JK-trigger 21 sets the voltage corresponding to a logical zero.

Таким образом, сигнал с прямого выхода JK-триггера 21 определяет направление вращения вала и используется в качестве сигнала знака кода скорости вращения вала. Thus, the signal from the direct output of the JK flip-flop 21 determines the direction of rotation of the shaft and is used as a signal sign of the shaft rotation speed code.

При возрастании скорости выше скорости, заданной задатчиком 14, JK-триггер 21 переводится в режим запоминания предыдущего состояния за счет подачи логического нуля на управляющий вход блока 4 с выхода цифрового компаратора 15. Это позволяет исключить неправильную работу JK-триггера в том случае, когда частота входных сигналов, поданных на информационный и опорный входы, превышает рабочий диапазон частот JK-триггера. When the speed increases above the speed set by the setter 14, the JK-trigger 21 is transferred to the memory mode of the previous state by supplying a logic zero to the control input of block 4 from the output of the digital comparator 15. This eliminates the incorrect operation of the JK-trigger in the case when the frequency input signals applied to the information and reference inputs exceeds the operating frequency range of the JK trigger.

При достижении рабочим валом скорости вращения, равной или большей фиксированного значения, установленного в задатчике 14, по сигналу с выхода цифрового компаратора 15 включается второй канал измерения скорости и устройство автоматически переходит на счет импульсов, сформированных формирователем 8 из сигналов третьего старшего разряда кода угла,"вес" которого соответствует октанту. Частота этих импульсов также пропорциональна скорости вращения вала СКДУ. При этом цифровой компаратор 15 блокирует работу ключа 6, устанавливая на его втором управляющем входе сигнал логического нуля, и одновременно разрешает работу ключа 9, устанавливая на его втором управляющем входе сигнал логической единицы, т.е. осуществляется переключение с первого на второй канал измерения. When the working shaft reaches a rotation speed equal to or greater than the fixed value set in the setter 14, the second channel for measuring the speed is turned on by the signal from the output of the digital comparator 15 and the device automatically switches to the count of pulses generated by the former 8 from the signals of the third highest order angle code, " weight "which corresponds to the octant. The frequency of these pulses is also proportional to the rotational speed of the SKDU shaft. In this case, the digital comparator 15 blocks the operation of the key 6, setting a logical zero signal on its second control input, and at the same time enables the operation of the key 9, setting the logical unit signal on its second control input, i.e. switching from the first to the second measurement channel is carried out.

Работа устройства на втором канале измерения аналогична работе на первом канале. Счетные импульсы с выхода формирователя 8 поступают на информационный вход ключа 9. Ключ 9 открывается в каждом цикле измерения сигналом фиксированного интервала времени, формируемого на втором выходе блока 16 управления. При этом начало фиксированного интервала времени совпадает с моментом появления очередного счетного импульса формирователя 8. Счетные импульсы с выхода ключа 9 поступают через логический элемент ИЛИ 12 на вход тактовой частоты счетчика 10, формирующего старшие разряды кода скорости. Счетчик 10 подсчитывает число этих импульсов, соответствующее числу целых октантов за фиксированный интервал времени, в конце которого в счетчике будут записаны старшие разряды кода скорости вращения вала. The operation of the device on the second measurement channel is similar to the work on the first channel. The counting pulses from the output of the shaper 8 are fed to the information input of the key 9. The key 9 is opened in each measurement cycle by a signal of a fixed time interval generated at the second output of the control unit 16. At the same time, the beginning of a fixed time interval coincides with the moment of the appearance of the next counting pulse of the shaper 8. The counting pulses from the output of the key 9 are fed through a logic element OR 12 to the input of the clock frequency of the counter 10, which forms the highest bits of the speed code. The counter 10 counts the number of these pulses, corresponding to the number of whole octants for a fixed time interval, at the end of which the highest bits of the shaft rotation speed code will be recorded in the counter.

Для формирования младших разрядов кода скорости в момент окончания фиксированного интервала времени по сигналу "Перенос", сформированному блоком 16 управления на своем третьем выходе, осуществляется трансляция информации с выхода n-разрядного кода угла преобразователя 2 через преобразователь 3 кода и ее запись в счетчик 7. При этом для использования младших разрядов кода угла θ в качестве младших разрядов кода скорости вращения вала в зависимости от направления вращения рабочего вала производится преобразование прямого n-разрядного кода угла преобразователя 2, на обратный код, осуществляемое по сигналу с выхода блока 4 определения направления вращения. To form the least significant bits of the speed code at the end of a fixed time interval by the “Transfer” signal generated by the control unit 16 at its third output, information is transmitted from the output of the n-bit code of the angle converter 2 through the code converter 3 and written to the counter 7. In order to use the lower bits of the angle code θ as the lower bits of the shaft rotation speed code, a direct n-bit code is converted depending on the direction of rotation of the working shaft the angle of the Converter 2, to the reverse code, carried out by a signal from the output of the unit 4 for determining the direction of rotation.

N-разрядный код угла преобразователя 2 поступает на цифровой вход преобразователя 3 кода, выполненного в виде установленных по числу разрядов кода логических элементов ИСКЛЮЧАЮЩЕЕ ИЛИ, первые входы которых являются цифровым входом преобразователя 3 кода, а вторые входы элементов соединены друг с другом и являются его входом управления. При вращении рабочего вала СКДУ в направлении, соответствующем нарастанию кода угла θ в первом октанте, т.е. когда на управляющем входе преобразователя 3 кода сигнал равен единице, на выход преобразователя 3 транслируется прямой код угла θ, а при вращении рабочего вала в противоположном направлении сигнал на управляющем входе преобразователя 3 равен нулю и на его выход проходит обратный код угла θ. Таким образом, при вращении в любом направлении код, транслируемый на вход счетчика 7, нарастает в пределах любого октанта синхронно с изменением кода угла θ. Поэтому в момент окончания фиксированного интервала времени в счетчик 7 будет записано число, соответствующее углу поворота рабочего вала в течение времени от появления последнего счетного импульса до момента окончания фиксированного интервала времени, т.е. цифровой эквивалент соответствующей доли октанта гармонических сигналов СКДУ 1. The N-bit code of the angle of the converter 2 is fed to the digital input of the converter 3 of the code, made in the form of EXCLUSIVE OR logic elements set by the number of code bits, the first inputs of which are the digital input of the code converter 3, and the second inputs of the elements are connected to each other and are its input management. When rotating the working shaft of the SKDU in the direction corresponding to the increase in the angle code θ in the first octant, i.e. when the signal is equal to one at the control input of the code converter 3, the direct code of the angle θ is transmitted to the output of the converter 3, and when the working shaft is rotated in the opposite direction, the signal at the control input of the converter 3 is zero and the reverse angle code θ passes to its output. Thus, when rotating in any direction, the code transmitted to the input of the counter 7 increases within any octant synchronously with a change in the angle code θ. Therefore, at the end of a fixed time interval, a number 7 will be recorded in the counter 7 corresponding to the angle of rotation of the working shaft during the time from the appearance of the last counting pulse until the end of the fixed time interval, i.e. digital equivalent of the corresponding octant fraction of harmonic signals SKDU 1.

Сформированные младшие разряды кода скорости, записанные в счетчике 7, и старшие разряды кода скорости, записанные в счетчике 10, по команде, сформированной на четвертом выходе блока 16 управления, переносятся параллельным кодом в регистр 13. The generated low-order bits of the speed code recorded in the counter 7 and the high-order bits of the speed code recorded in the counter 10, by the command generated at the fourth output of the control unit 16, are transferred by the parallel code to the register 13.

Перед началом очередного цикла измерения счетчики 7 и 11 устанавливаются в нулевое состояние по команде "Сброс", сформированной на пятом выходе блока 16 управления. Before the start of the next measurement cycle, the counters 7 and 11 are set to zero by the "Reset" command generated at the fifth output of the control unit 16.

Из приведенного выше описания видно, что измерительная часть предлагаемого устройства представляет собой цифровой частотомер. Процессом преобразования информации в устройстве управляет блок 16 управления, который формирует две импульсные последовательности, одна из которых обеспечивает режим счета импульсов за фиксированный интервал времени, а другая - режим считывания информации. From the above description it is seen that the measuring part of the proposed device is a digital frequency meter. The process of converting information in the device is controlled by a control unit 16, which generates two pulse sequences, one of which provides a pulse counting mode for a fixed time interval, and the other - information reading mode.

Блок 16 управления работает в двух режимах: в нижней части диапазона скоростей в режиме автогенератора; в верхней части диапазона скоростей в режиме одновибратора с запуском от сформированных формирователем 8 счетных импульсов. The control unit 16 operates in two modes: at the bottom of the speed range in the oscillator mode; in the upper part of the speed range in the mode of one-shot with the start of 8 counting pulses generated by the shaper.

Работа блока 16 управления после прихода очередного импульса "Сброс" происходит следующим образом. The operation of the control unit 16 after the arrival of the next pulse "Reset" is as follows.

Спад положительного напряжения на четвертом выходе дешифратора 46 и на входе S триггера 41 переводит триггер в единичное состояние. При этом на прямом выходе триггера 41 формируется положительный перепад напряжения, который подается на первый вход логического элемента И 43 и на вход дешифратора 46, запрещая работу дешифратора. Поэтому в момент срабатывания триггера 41 команда "Сброс" с четвертого выхода дешифратора 46 снимается и на всех его выходах устанавливается высокий потенциал. Одновременно сигнал с прямого выхода триггера 41 поступает на синхронизирующий вход С триггера 42 и устанавливает его в нулевое состояние, при этом на прямом выходе триггера 42 формируется отрицательный, а на инверсном выходе - положительный перепад напряжения. The decline in the positive voltage at the fourth output of the decoder 46 and at the input S of the trigger 41 puts the trigger in a single state. At the same time, a positive voltage drop is formed at the direct output of the trigger 41, which is fed to the first input of the AND gate 43 and to the input of the decoder 46, inhibiting the operation of the decoder. Therefore, at the moment the trigger 41 is activated, the Reset command is removed from the fourth output of the decoder 46 and a high potential is established at all its outputs. At the same time, the signal from the direct output of the trigger 41 enters the synchronizing input C of the trigger 42 and sets it to zero, while a negative voltage is formed at the direct output of the trigger 42 and a positive voltage drop at the inverse output.

Сигнал с прямого выхода триггера 42 разрешает параллельную запись кода с выхода задатчика 44 в счетчик 45. Обратный код фиксированного интервала времени, постоянно присутствующий на входе D счетчика 45 с выхода задатчика 44, записывается в счетчик 45. Одновременно положительный фронт сигнала с инверсного выхода триггера 42 поступает на третий вход логического элемента И 40. При работе в нижней части диапазона скоростей на первом входе блока 16 управления установлен сигнал логического нуля, поданный с первого выхода (A>B) цифрового компаратора 15. Этот сигнал инвертируется инвертором 38 и через логический элемент ИЛИ 39 подается на первый вход логического элемента И 40. Таким образом, подача положительного перепада напряжения с инверсного выхода триггера 42 на третий вход логического элемента И 40 приводит к тому, что очередной импульс генератора 49 из постоянно поступающих на второй вход логического элемента И 40 проходит на установочный вход S триггера 42 и своим передним фронтом возвращает триггер 42 в единичное состояние. Триггер 42 снимает сигнал разрешения параллельной записи с входа V счетчика 46, разрешая тем самым его работу, и формирует передний фронт импульса фиксированного интервала времени, подавая на второй вход первого элемента И 43 положительный перепад напряжения, сформированного на прямом выходе триггера. Таким образом, на второй выход блока 16 управления поступает команда, разрешающая счет импульсов счетчиком 7 устройства, и одновременно начинается счет импульсов, поступающих на вход С счетчика 46 блока управления с генератора 49, т.е. отсчет фиксированного интервала времени. Так как к выходу С счетчика 45 подключен задающий генератор 49, счетчик считает импульсы, частота следования которых fo. Поэтому уровень логической единицы на его выходе переполнения появляется через строго фиксированное время Тизм, которое определяется периодом частоты следования fo и кодом введенного в счетчик числа

Figure 00000015
. После отсчета заданного числа импульсов на выходе Р счетчика 45 появляется импульс переполнения, который переключит триггер 41 в нулевое состояние. Спад положительного напряжения на прямом выходе триггера 41 формирует задний фронт сигнала фиксированного интервала времени на выходе элемента И 43 и подает команду разрешения работы на вход V дешифратора 46.The signal from the direct output of flip-flop 42 allows parallel writing of the code from the output of setter 44 to counter 45. The reverse code of a fixed time interval, which is constantly present at the input D of counter 45 from the output of setter 44, is written to counter 45. At the same time, the positive edge of the signal from inverse output of flip-flop 42 arrives at the third input of the logical element And 40. When working in the lower part of the speed range at the first input of the control unit 16 is set to a logic zero signal supplied from the first output (A> B) of the digital comparator 15. This t the signal is inverted by the inverter 38 and through the OR gate 39 is fed to the first input of the AND gate 40. Thus, applying a positive voltage drop from the inverse output of the trigger 42 to the third input of the AND gate 40 leads to the fact that the next pulse of the generator 49 from constantly arriving at the second input of the logical element And 40 passes to the installation input S of the trigger 42 and its leading edge returns the trigger 42 to a single state. The trigger 42 removes the enable signal for parallel recording from the input V of the counter 46, thereby allowing it to work, and generates a leading edge of the pulse of a fixed time interval, applying a positive voltage drop to the second input of the first element And 43 generated at the direct output of the trigger. Thus, a command is issued to the second output of the control unit 16, allowing the pulse count by the counter 7 of the device, and at the same time, the count of pulses arriving at the input From the counter 46 of the control unit from the generator 49 begins, i.e. countdown of a fixed time interval. Since the master oscillator 49 is connected to the output C of the counter 45, the counter counts pulses whose repetition rate is f o . Therefore, the level of a logical unit at its overflow output appears after a strictly fixed time T ISM , which is determined by the period of the repetition rate f o and the code of the number entered into the counter
Figure 00000015
. After counting the specified number of pulses at the output P of the counter 45, an overflow pulse appears, which will switch the trigger 41 to the zero state. The decline in the positive voltage at the forward output of the trigger 41 forms a trailing edge of the signal for a fixed time interval at the output of the And 43 element and gives a command to enable operation to the input V of the decoder 46.

При появлении импульса переполнения на выходе счетчика 45 все разряды счетчика находятся в нулевом состоянии, а поскольку сигнал разрешения записи на входе V счетчика отсутствует, счетчик продолжает считать импульсы, приходящие на его вход С. Сигналы с выходов двух младших разрядов счетчика 45 поступают на информационные входы дешифратора 46, поэтому при каждом счетном импульсе на каждом из выходов дешифратора появляются следующие друг за другом четыре импульса, длительность каждого из которых равна периоду частоты fo. Эти импульсы используются в качестве сигналов управления, обеспечивающих работу устройства в режиме считывания информации.When an overflow pulse appears at the output of the counter 45, all the bits of the counter are in the zero state, and since there is no write enable signal at the input of the counter V, the counter continues to count the pulses arriving at its input C. The signals from the outputs of the two least significant bits of the counter 45 are fed to the information inputs of the decoder 46, therefore, at each counting pulse, four pulses following one after another appear on each of the outputs of the decoder, the duration of each of which is equal to the frequency period f o . These pulses are used as control signals, ensuring the operation of the device in the mode of reading information.

При появлении сигнала на четвертом выходе дешифратора 46 цикл работы блока 16 управления заканчивается. When a signal appears on the fourth output of the decoder 46, the operation cycle of the control unit 16 ends.

При работе устройства в верхней части диапазона скорости вращения вала с выхода цифрового компаратора 15 на первый вход блока 16 управления поступает сигнал логической единицы, поэтому постоянно присутствовавший сигнал логической единицы на первом входе элемента И-НЕ 40 снимается. Это переводит блок 16 управления в режим одновибратора, при котором после завершения формирования команд в очередном цикле начало следующего цикла осуществляется по сигналу с выхода формирователя 8 счетных импульсов, поступающему на второй вход блока 16 управления, т.е. начало отсчета фиксированного интервала времени начнется одновременно с началом очередного октанта гармонических сигналов СКДУ 1, а в промежутке между командами "Сброс" и появлением счетного импульса блок 16 управления находится в режиме ожидания. When the device is operating in the upper part of the shaft rotation speed range, the output of the digital comparator 15 receives the logical unit signal at the first input of the control unit 16, therefore, the constantly present signal of the logical unit at the first input of the AND-NOT 40 element is removed. This puts the control unit 16 in single-mode operation, in which, after completion of the formation of commands in the next cycle, the start of the next cycle is carried out by the signal from the output of the shaper 8 of the counting pulses, which is fed to the second input of the control unit 16, i.e. the reference point of a fixed time interval will begin simultaneously with the beginning of the next octant of harmonic signals SKDU 1, and in the interval between the commands "Reset" and the appearance of the counting pulse control unit 16 is in standby mode.

В этом режиме работы сигнал разрешения параллельной записи в счетчик 7 формируется путем инвертирования сигнала с третьего выхода дешифратора 46 инвертором 47 и подачи его на второй выход логического элемента И-НЕ 48, на первый вход которого подан сигнал логической единицы. In this operating mode, the parallel write enable signal to the counter 7 is generated by inverting the signal from the third output of the decoder 46 by the inverter 47 and supplying it to the second output of the AND-NOT 48 logic element, to the first input of which a logical unit signal is supplied.

Таким образом, последовательность управляющих команд, сформированная блоком 16 управления, обеспечивает процесс преобразования информации в устройстве. Thus, the sequence of control commands generated by the control unit 16 provides a process for converting information in the device.

Временные диаграммы входных и выходных сигналов элементов, указанных на функциональной схеме блока 16 управления (фиг.5), поясняющие их работу, представлены на фиг.6. Timing diagrams of the input and output signals of the elements indicated on the functional diagram of the control unit 16 (Fig. 5), explaining their operation, are presented in Fig. 6.

Преимуществами предложенного технического решения измерения скорости вращения вала являются широкий диапазон измеряемых скоростей при высокой дискретности измерения, повышения точности измерения скорости вращения и снижение погрешности определения момента смены знака при реверсе. The advantages of the proposed technical solution for measuring shaft rotation speed are a wide range of measured speeds with high measurement discreteness, increasing the accuracy of measuring the rotation speed and reducing the error in determining the moment of a sign change during reverse.

Расширение диапазона измеряемых скоростей при сохранении высокой дискретности измерения достигается за счет использования второго канала измерения с большей дискретностью и одновременно использования циклического кода угла в качестве младших разрядов кода скорости в момент окончания фиксированного интервала времени. Expanding the range of measured velocities while maintaining a high resolution of measurement is achieved by using the second measurement channel with greater discreteness and at the same time using the cyclic angle code as the least significant bits of the speed code at the end of a fixed time interval.

Повышение абсолютной точности измерения при расширении диапазона скоростей достигается за счет синхронизации начала отсчета фиксированного интервала времени с моментом появления счетных импульсов. Increasing the absolute accuracy of the measurement while expanding the speed range is achieved by synchronizing the reference point of a fixed time interval with the moment of occurrence of the counting pulses.

Так как цена младшего разряда преобразователя "угол-код" сохраняется при работе во всем диапазоне скоростей, то при расширении диапазона скоростей в сторону увеличения относительная точность измерения скорости также увеличивается. Since the price of the least significant bit of the angle-to-code converter is maintained during operation in the entire speed range, with the expansion of the speed range upward, the relative accuracy of the velocity measurement also increases.

Кроме того, в предложенном устройстве существенно уменьшена динамическая погрешность определения момента смены знака скорости при реверсе за счет формирования сигнала знака скорости из сигналов двух младших разрядов циклического кода угла, имеющих высокую дискретность. In addition, in the proposed device, the dynamic error of determining the moment of changing the sign of the speed during reverse is significantly reduced due to the formation of the signal of the sign of speed from the signals of the two lower-order bits of the cyclic angle code having high resolution.

Таким образом, применение прямого преобразования сигналов растрового СКДУ с использованием преобразователя "угол-код", выполненного на основе АЦП отношения сигналов, и предложенный алгоритм обработки сигналов позволяют получить измеритель угловой скорости с широким диапазоном измерения, высокой разрешающей способностью, точностью и быстродействием при сравнительно простой технической реализации устройства на стандартной элементной базе. Thus, the use of direct conversion of raster signal systems using an angle-to-code converter based on an ADC signal ratio and the proposed signal processing algorithm make it possible to obtain an angular velocity meter with a wide measurement range, high resolution, accuracy, and speed with a relatively simple technical implementation of the device on a standard element base.

Claims (3)

1. Способ измерения скорости вращения вала, заключающийся в том, что преобразуют угол поворота вала в двухфазную систему гармонических сигналов, преобразуют эти сигналы в параметр, линейно зависящий от угла поворота вала, преобразуют этот параметр в последовательность импульсов, подсчитывают за фиксированный интервал времени число импульсов, используя его в качестве значения скорости вращения вала и одновременно формируют сигнал направления вращения, отличающийся тем, что, с целью повышения точности и расширения диапазона измеряемых скоростей, преобразуют двухфазную систему гармонических сигналов в циклический код угла поворота вала и из сигналов первого младшего и одного из старших разрядов этого кода формируют первую и вторую последовательности счетных импульсов, по первой из которых путем подсчета импульсов этой последовательности за фиксированный интервал времени определяют значение скорости вращения вала в нижней части диапазона скоростей, а при превышении измеряемой скоростью заданного значения используют вторую последовательность счетных импульсов, при этом отсчет фиксированного интервала времени начинают в момент появления счетного импульса второй последовательности, результат подсчета импульсов этой последовательности за фиксированный интервал времени используют в качестве старших разрядов кода скорости вращения вала, к которым добавляют младшие разряды, в качестве которых используют младшие разряды циклического кода угла, сформированного в момент окончания интервала измерения и взятого в прямом коде при вращении вала в направлении, соответствующем возрастанию циклического кода угла поворота вала, и в обратном коде - при вращении вала в противоположном направлении. 1. The method of measuring the speed of rotation of the shaft, which consists in converting the angle of rotation of the shaft into a two-phase system of harmonic signals, converting these signals into a parameter linearly dependent on the angle of rotation of the shaft, converting this parameter into a sequence of pulses, counting the number of pulses for a fixed time interval using it as a value of the shaft rotation speed and at the same time generate a signal of the direction of rotation, characterized in that, in order to improve accuracy and expand the range of measured with bones, convert the two-phase system of harmonic signals into a cyclic code of the angle of rotation of the shaft and from the signals of the first lower and one of the highest bits of this code form the first and second sequences of counting pulses, from the first of which by calculating the pulses of this sequence for a fixed time interval determine the value of the rotation speed the shaft in the lower part of the speed range, and when the measured speed exceeds the set value, a second sequence of counting pulses is used, with this, the countdown of the fixed time interval begins at the moment the counting pulse of the second sequence appears, the result of counting the pulses of this sequence for the fixed time interval is used as the high order bits of the shaft rotation speed code, to which the low order bits are added, which use the lower order bits of the cyclic angle code generated at the end of the measurement interval and taken in the direct code when the shaft rotates in the direction corresponding to the increase of the cyclic ode to the angle of rotation of the shaft, and in reverse code - when the shaft rotates in the opposite direction. 2. Способ по п.1, отличающийся тем, что преобразование двухфазной системы гармонических сигналов в циклический код угла поворота вала осущестляют путем приведения этой системы сигналов в первый октант с одновременным формированием трех старших разрядов циклического кода угла поворота вала, преобразуют в двоичный код отношение меньшего из приведенных сигналов к большему сигналу, осуществляют функциональное преобразование кода отношения в код тангенса приведенного угла, преобразуют этот код в циклический код угла, добавляя к старшим разрядам кода угла в качестве младших разрядов прямой код приведенного угла на нечетных октантах или обратный код приведенного угла - на четных октантах, сигнал направления вращения вала формируют путем сравнения сдвига фаз между сигналом второго младшего разряда циклического кода угла поворота вала и опорным сигналом, полученным в виде логической суммы двух младших разрядов циклического кода угла поворота вала. 2. The method according to claim 1, characterized in that the conversion of the two-phase system of harmonic signals into a cyclic code of the angle of rotation of the shaft is carried out by bringing this system of signals into the first octant with the simultaneous formation of the three high-order bits of the cyclic code of the angle of rotation of the shaft, the ratio of the smaller from the given signals to the larger signal, they carry out the functional conversion of the ratio code into the tangent code of the reduced angle, convert this code into a cyclic angle code, adding to the elder times the rows of the angle code as the least significant bits are the direct code of the reduced angle on the odd octants or the reverse code of the reduced angle is on the even octants, the shaft rotation direction signal is generated by comparing the phase shift between the signal of the second least significant bit of the cyclic code of the shaft rotation angle and the reference signal obtained in the form logical sum of the two least significant bits of the cyclic code of the angle of rotation of the shaft. 3. Устройство для измерения скорости вращения вала, содержащее растровый синусно-косинусный датчик угла, первый формирователь счетных импульсов, блок управления, блок определения направления вращения вала, первый счетчик импульсов, вход установки в нулевое состояние которого подключен к первому выходу блока управления, регистр, выход которого является цифровым выходом устройства, соединенный с выходом первого счетчика импульсов и два ключа, отличающееся тем, что в него введены преобразователь "угол - код", преобразователь кода, второй формирователь счетных импульсов, второй счетчик импульсов, логический элемент И, логический элемент ИЛИ, задатчик кода фиксированной скорости, цифровой компаратор, JK-триггер, снабженный логическими элементами И на входах J и K, инвертор и логический элемент ИСКЛЮЧАЮЩЕЕ ИЛИ, при этом информационные входы преобразователя "угол - код" соединены с выходами растрового синусно-косинусного датчика угла, вход синхронизации подключен к второму выходу блока управления, многоразрядный цифровой выход преобразователя "угол - код" подключен к преобразователю кода, выход которого соединен с входом параллельной записи второго счетчика импульсов, а вход управления - с выходом JK-триггера, первый формирователь счетных импульсов включен между выходом первого младшего разряда преобразователя "угол - код" и информационным входом первого ключа, второй формирователь счетных импульсов включен между одноразрядным цифровым выходом преобразователя "угол - код" и информационным входом второго ключа, первые управляющие входы ключей соединены с третьим выходом блока управления, четвертый выход которого подключен к входу разрешения записи второго счетчика импульсов, а пятый выход - к входу разрешения записи регистра, старшие разряды информационного входа которого соединены с выходом первого счетчика импульсов, младшие разряды - с выходом второго счетчика импульсов, младшие разряды - с выходом второго счетчика импульсов, а выход регистра соединен с первым входом цифрового компаратора, второй вход которого соединен с выходом задатчика кода фиксированной скорости, первый выход - с первым входом блока управления и с вторым управляющим входом второго ключа, а второй выход - с вторым управляющим входом первого ключа и с первым входом логического элемента И, второй вход которого подключен к выходу переполнения второго счетчика импульсов, выход первого ключа соединен со счетным входом второго счетчика импульсов, вход установки в нулевое состояние которого подключен к первому выходу блока управления, выходы второго ключа и логического элемента И через логический элемент ИЛИ соединены со счетным входом первого счетчика импульсов, второй вход блока управления подключен к выходу второго формирователя счетных импульсов, входы логического элемента ИСКЛЮЧАЮЩЕЕ ИЛИ соединены с выходами первых двух младших разрядов многоразрядного цифрового выхода преобразователя "угол - код", а выход подключен к синхронизирующему входу JK-триггера, первые входы логических элементов И, установленные на входах J и K JK-триггера соединены с вторым выходом цифрового компаратора, вход инвертора соединен с выходом второго младшего разряда многоразрядного цифрового выхода преобразователя "угол - код" и с вторым входом логического элементаИ на входе J JK-триггера, а выход - с вторым входом логического элемента И на его входе K JK-триггера. 3. A device for measuring the speed of rotation of the shaft, comprising a raster sine-cosine angle sensor, a first driver of the counting pulses, a control unit, a unit for determining the direction of rotation of the shaft, a first pulse counter, the input of the zero state of which is connected to the first output of the control unit, register, the output of which is the digital output of the device, connected to the output of the first pulse counter and two keys, characterized in that an angle-to-code converter, a code converter, and a second counting pulse generator, second pulse counter, AND logic element, OR logic element, fixed-speed code generator, digital comparator, JK-trigger equipped with AND logic inputs at J and K inputs, inverter and logic element EXCLUSIVE OR, at that, information inputs of the converter the "angle - code" is connected to the outputs of the raster sine-cosine angle sensor, the synchronization input is connected to the second output of the control unit, the multi-bit digital output of the "angle - code" converter is connected to the converter the body of the code, the output of which is connected to the parallel recording input of the second pulse counter, and the control input is with the output of the JK trigger, the first counting pulse shaper is connected between the output of the first least significant bit of the angle-code converter and the information input of the first key, the second counting pulse shaper is connected between the single-digit digital output of the angle-to-code converter and the information input of the second key, the first control inputs of the keys are connected to the third output of the control unit, the fourth output of which о is connected to the recording permission input of the second pulse counter, and the fifth output is to the register recording permission input, the highest bits of the information input of which are connected to the output of the first pulse counter, the lower bits - with the output of the second pulse counter, the lower bits - with the output of the second pulse counter, and the register output is connected to the first input of the digital comparator, the second input of which is connected to the output of the fixed-speed code setter, the first output is connected to the first input of the control unit and to the second control input the house of the second key, and the second output with the second control input of the first key and with the first input of the logical element And, the second input of which is connected to the overflow output of the second pulse counter, the output of the first key is connected to the counting input of the second pulse counter, the input of which is set to zero connected to the first output of the control unit, the outputs of the second key and logical element AND through a logical element OR connected to the counting input of the first pulse counter, the second input of the control unit is connected to the output at the second counting pulse generator, the inputs of the EXCLUSIVE OR logic element are connected to the outputs of the first two least significant bits of the multi-bit digital output of the angle-to-code converter, and the output is connected to the synchronizing input of the JK trigger, the first inputs of the logical elements And installed on the inputs J and K JK flip-flops are connected to the second output of the digital comparator, the inverter input is connected to the output of the second least significant bit of the multi-bit digital output of the angle-to-code converter and to the second input of the logic element And inlet J JK-flip-flop, and an output - to a second input of the AND gate at its input K JK-flip-flop.
SU4949113 1991-06-28 1991-06-28 Method for measuring speed of shaft rotation and device for implementation of said method RU2017156C1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU4949113 RU2017156C1 (en) 1991-06-28 1991-06-28 Method for measuring speed of shaft rotation and device for implementation of said method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU4949113 RU2017156C1 (en) 1991-06-28 1991-06-28 Method for measuring speed of shaft rotation and device for implementation of said method

Publications (1)

Publication Number Publication Date
RU2017156C1 true RU2017156C1 (en) 1994-07-30

Family

ID=21581177

Family Applications (1)

Application Number Title Priority Date Filing Date
SU4949113 RU2017156C1 (en) 1991-06-28 1991-06-28 Method for measuring speed of shaft rotation and device for implementation of said method

Country Status (1)

Country Link
RU (1) RU2017156C1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2217859C2 (en) * 2000-03-10 2003-11-27 Новоуральский политехнический институт Method for detecting rotor position in double-toothed electrical machines
RU2297637C1 (en) * 2006-01-10 2007-04-20 Государственное образовательное учреждение высшего профессионального образования Самарский государственный технический университет Method and device for measuring comparison of electrical parameters
RU2655986C1 (en) * 2017-07-11 2018-05-30 Акционерное Общество "Научно-Производственное Объединение Электромеханики" Method for determining the unbalance of gyrostabilizer frames

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
1. Авторское свидетельство СССР N 1010566, кл. G 01P 3/48,1981. *
2. Авторское свидетельство СССР N 864131, кл. G 01P 3/46, 1978. *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2217859C2 (en) * 2000-03-10 2003-11-27 Новоуральский политехнический институт Method for detecting rotor position in double-toothed electrical machines
RU2297637C1 (en) * 2006-01-10 2007-04-20 Государственное образовательное учреждение высшего профессионального образования Самарский государственный технический университет Method and device for measuring comparison of electrical parameters
RU2655986C1 (en) * 2017-07-11 2018-05-30 Акционерное Общество "Научно-Производственное Объединение Электромеханики" Method for determining the unbalance of gyrostabilizer frames

Similar Documents

Publication Publication Date Title
RU2017156C1 (en) Method for measuring speed of shaft rotation and device for implementation of said method
RU2108663C1 (en) Method for converting angle of shaft turn to code
RU2071174C1 (en) Converter of shaft rotation angle to code
JP2551680B2 (en) Position detection device
SU1387198A1 (en) Shaft rotation angle-to-code converter
SU710057A1 (en) Angle-to-phase discrete increment converter
SU760151A1 (en) Compensation-type shaft angular position-to-code converter
SU1654973A1 (en) Shift-to-code converter
SU942098A1 (en) Shaft angular position-to-code converter
RU2190914C1 (en) Power direction relay
SU1029193A1 (en) Hybrid computing device
SU1133668A1 (en) Angular displacement encoder
RU1833966C (en) Shaft rotation angle-to number converter
SU858202A1 (en) Device for digital control of thyristorized pulse converter (its versions)
SU1280698A1 (en) Shaft turn angle-to-digital converter
SU942101A1 (en) Shaft angular position-to-code converter
JPS6123914A (en) Measuring device and servo control device using the measuring device
SU439836A1 (en) Ugo code converter
SU756448A1 (en) Shaft angular travel-to-code converter
SU1410277A1 (en) Shaft angle-to-digital converter
SU922853A1 (en) Shaft angular position to code converter
SU1262730A1 (en) Shaft turn angle-to-digital converter
SU1034059A1 (en) Sine-cosine pickup signal converter to code
SU1198753A1 (en) Shaft-turn-angle-to-digital converter
SU1101867A1 (en) Shaft turn angle encoder