Claims (2)
Изобретение относитс к вычислительной технике и может быть использовано, в частности , дл вычислени проекций единичного вектора на оси. пр моугольных координат в станках с ЧПУ с записью программы по первой обрабатываемой детали. Известны устройства дл определени ар гумента вектора по его пр моугольным составл ющим , заданным в виде напр жений или кодовых эквивалентов 1 и 2. Одно из них содержит синусно-косинусный генератор, модул торы, сумматор, к выходу которого подключен компаратор, а также запоминающие чейки, подключенные к выходам генератора и управл емые компаратором . Устройство вырабатывает синус и косинус аргумента 1. Его недостаток - невысока точность пре образовани . Наиболее близким по технической сущности к предлагаемому вл етс устройство дл определени аргумента вектора, содержащее цифроаналоговые преобразователи (управл емые резисторы), подключенные к элементу сравнени . Аргумент определ етс сдвигом фаз между колебани ми, измер емыми фазометром 2. Недостаток-: ограниченна область применени , так как оно не может быть применено в р де устройств, использующих пр моугольные составл ющие единичного вектора (синус и косинус аргумента). Цель изобретени - расширение области применени за счет фиксации пр моугольных проекций единичного вектора. Цель достигаетс тем, что устройство дл определени вектора, содержащее два цифроаналоговых преобразовател , выходы которых соединены с соответствующими входами элемента сравнени , содержит два регистра и два счетчика, информационные входы счетчиков вл ютс соответствующими информационными входами устройства, выход первого счетчика соединен с входами первого регистра и первого цифроаналогового преобразовател , имеющего арккосинусную характеристику, выход второго счетчика соединен с входами второго регистра и второго цифроаналогового преобразовател , имеющего арксинусную характеристику, выход элемента сравнени подключен к входам сброса счетчиков и к управл ющим входам регистров, выходы которых вл ютс соответствующими выходами устройства. а также тем, что, с целью расширени диапазона измерени аргумента до четырех квад рантов, оно содержит два дополнительных цифроаналоговых преобразовател , знаковые входы которых вл ютс соответствующими знаковыми входами устройства, их информационные входы соединены с выходами соответствующих регистров, а выходы вл ютс дополнительными выходами устройства . На чертеже представлена блок-схема устройства. Устройство содержит счетчики 1 и 2, регистры 3 и 4, цифроаналоговые преобразователи 5 и 6, элемент 7 сравнени , дополнительные цифроаналоговые преобразователи 8 и 9. Позици ми 10 и 11 обозначены информационные входы устройства, 12 и 13знаковые входы устройства. Устройство работает следующим образом На входы 10 и 11 поступают последовательности импульсов, частота следовани которых пропорциональна пр моугольным координатам X, У вектора. Таким образом может быть задана, в частности,эквидистанта обрабать ваемого на станке контура. Напр жени на выходах преобразователей 5 и 6 имеют вид Us Karccos- ytи f Karcsin-Mf-, г/ где NX Nj - содержимое счетчиков 1 и 2; N - число импульсов, соответствующее модулю единичного вектора; К - коэффициент преобразовани . В момент равенства напр жений Uy и и $ с выхода элемента 7 сравнени поступает импульс, разрешающий перенос .содержимого счетчиков 1 и 2 в регистры 3 и 4 соответственно, а также после некоторой задержки сбрасывающий содержимое счетчиков 1 и 2 в нуль. Числа, наход щиес в момент равенства напр жений U и U в счетчиках 1 и 2, выражают в цифровой форме проекции единичного вектора на оси координат,или значени синуса и косинуса аргумента cos у) -, - Выходные сигналы устройства могут быть использованы непосредственно дл ввода коррекции в системах программного управлени станками. Технико-экономический эффект от исполь. зовани предлагаемого изобретени обусловлен улучшением характеристик преобразовани по сравнению с известными и снижением аппаратурных затрат. Формула изобретени 1.Устройство дл определени аргумента вектора, содержащее два цифроаналоговых преобразовател , выходы которых соединены с соответствующими входами элемента сравнени , отличающеес тем, что, с целью расширени области применени за счет фиксации пр моугольных проекций единичного вектора, оно содержит два регистра и два счетчика, информационные входы счетчиков вл ютс соответствующими информационными входами устройства, выход первого счетчика соединен с входами первого регистра и первого цифроаналогового преобразовател , имеющего арккосинусную характеристику , выход второго счетчика соединен с входами второго регистра и второго цифроаналогового преобразовател , имеющего арксинусную характеристику, выход элемента сравнени подключен к входам сброса счетчиков и к управл ющим входам регистров , выходы которых вл ютс соответствующими выходами устройства. 2.Устройство по п. I, отличающеес тем, что, с целью расширени диапазона измерени аргумента до четырех квадрантов, оно содержит два дополнительных цифроаналоговых преобразовател , знаковые входы ко- . торых вл ютс соответствующими знаковыми входами устройства, их информационные входы соединены с выходами соответствующих регистров, а выходы вл ютс дополнительными выходами устройства. Источники информации, прин тые во внимание при экспертизе 1.Патент Франции № 2180577, кл. G 06 G 7/00, опублик. 1974. The invention relates to computing and can be used, in particular, to compute the projections of a unit vector onto the axes. rectangular coordinates in CNC machines with recording the program on the first workpiece. Devices are known for determining the vector argument from its rectangular components specified as voltages or code equivalents 1 and 2. One of them contains a sine-cosine generator, modulators, an adder, to the output of which a comparator is connected, as well as memory cells connected to the generator outputs and controlled by a comparator. The device produces the sine and cosine of the argument 1. Its disadvantage is the low conversion accuracy. The closest in technical essence to the present invention is a device for determining a vector argument containing digital-to-analogue converters (controlled resistors) connected to the reference element. The argument is determined by the phase shift between the oscillations measured by the phase meter 2. The disadvantage is: limited scope, since it cannot be applied to a number of devices using the rectangular components of the unit vector (sine and cosine of the argument). The purpose of the invention is to expand the field of application by fixing the rectangular projections of a unit vector. The goal is achieved by the fact that a device for determining a vector, containing two digital-analogue converters, the outputs of which are connected to the corresponding inputs of the comparison element, contains two registers and two counters, the information inputs of the counters are the corresponding information inputs of the device, the output of the first counter is connected to the inputs of the first register and the first digital-to-analog converter, which has an arc-sine characteristic, the output of the second counter is connected to the inputs of the second register and the second digital alogovogo transducer having arksinusnuyu characteristic, an output of comparator is connected to the reset inputs of counters and registers to the control inputs, the outputs of which are the respective outputs of the device. and also, in order to extend the measurement range of the argument to four quadrants, it contains two additional digital-to-analog converters, whose sign inputs are the corresponding sign inputs of the device, their information inputs are connected to the outputs of the corresponding registers, and the outputs are additional outputs of the device . The drawing shows the block diagram of the device. The device contains counters 1 and 2, registers 3 and 4, digital-to-analog converters 5 and 6, reference element 7, additional digital-to-analog converters 8 and 9. Positions 10 and 11 designate the information inputs of the device, 12 and 13 sign inputs of the device. The device operates as follows. The inputs 10 and 11 receive a sequence of pulses, the frequency of which is proportional to the rectangular coordinates X, Y of the vector. In this way, in particular, the equidistant path to be machined on the machine can be set. Voltages at the outputs of converters 5 and 6 are of the form Us Karccos-yt and f Karcsin-Mf-, g / where NX Nj - the contents of counters 1 and 2; N is the number of pulses corresponding to the unit vector modulus; K - conversion factor. At the moment of equality of the voltages Uy and $ from the output of the comparison element 7, a pulse arrives allowing the transfer of the contents of counters 1 and 2 to registers 3 and 4, respectively, and after some delay, dropping the contents of counters 1 and 2 to zero. The numbers at the moment when the voltages U and U are equal in counters 1 and 2 are expressed numerically by the projection of the unit vector on the coordinate axes, or the sine and cosine values of the argument cos y) -, - The output signals of the device can be used directly to input corrections in software systems of machine tools. Technical and economic effect of using. The purpose of the present invention is due to an improvement in the conversion characteristics compared to the known ones and a decrease in hardware costs. Claim 1. A device for determining a vector argument, containing two digital-to-analog converters, the outputs of which are connected to the corresponding inputs of the comparison element, characterized in that, in order to expand the scope of application by fixing the rectangular projections of the unit vector, it contains two registers and two counters The information inputs of the counters are the corresponding information inputs of the device, the output of the first counter is connected to the inputs of the first register and the first digital-analog output. the forming having arkkosinusnuyu characteristic, the second counter output is connected to inputs of the second register and a second digital to analog converter having arksinusnuyu characteristic, an output of comparator is connected to the reset inputs of counters and registers to the control inputs, the outputs of which are the respective outputs of the device. 2. The device according to claim I, characterized in that, in order to extend the range of measurement of the argument to four quadrants, it contains two additional digital-to-analogue converters, sign inputs ko-. These are the corresponding sign inputs of the device, their information inputs are connected to the outputs of the respective registers, and the outputs are additional outputs of the device. Sources of information taken into account in the examination 1.Patent of France No. 2180577, cl. G 06 G 7/00, published 1974.
2.Двторское свидетельство СССР № 504207, кл. G 06 G 7/22, 1974 (прототип).2.Dvtorskoe certificate of the USSR № 504207, cl. G 06 G 7/22, 1974 (prototype).
J3 J3
± .±.