# Device for determining the argument vector

(57) Abstract:

The invention relates to computer technology and can be used in information-measuring systems. The purpose of the invention is the improved accuracy when extending the dynamic range. The device comprises a generator of trigonometric functions, consisting of a block division, shaper of the reference pulse and the quadrature generator, two block compare block allocation of maximum and minimum, the unit and the switching unit, consisting of the EXCLUSIVE OR element and the analog switch. 2 C. p. F.-ly, 5 Il.

The invention relates to computer technology and can be used in information-measuring systems, as well as in various automated devices requiring a determination of the value of arctan(X/Y) with high accuracy and large dynamic range.

A device for determining the argument of the vector containing the logarithmic function generators, power summation and subtraction of the voltage, the memory block, the block nonlinear correction, switches, and flow calibration. Its work is based on the approximation argument functions, logarithmic functions, orthogonal components.

A device with transnova Converter containing two resistors with zeropressure conductivity, resistor to zeropressure resistance and an operational amplifier.

The device has a small truncation error, since the approximation is taken mathematical expression:

arctan x (A1x + A3x3)/Bo+ x2), where the coefficients a1, A3Boshould be installed with very high accuracy, less than 0.02%

The device requires the use of complex digital devices, which in combination with the analog signals irrational.

A device for trigonometric transformations, containing adders and blocks dividing by logarithmic amplifiers connected to the subtraction unit, the output of which is connected with antilogarithmic block. It solves implicitly the following relationship:

arctan(z/x) Uo< / BR>
/2(z/x)1,2125/[1+(z/x)1,2125]

The device is quite simple in execution, has high performance, but this kind of approximation gives a large error (0,7about).

Similarly, you can implement more complex mathematical relationship using majitele, small truncation error, but limited dynamic range and quite a lot of instrumental error, because error several nonlinear devices will determine the overall error.

The most similar General technical characteristics are trigonometric functional converters time-pulse action based on the formation time intervals using a generator trigonometric functions, in which to obtain the output signal, proportional to the value of arctan(z/x), use the generator trigonometric functions, two multiplier-divider block, the adder block comparison and unit registration

The device is quite simple in execution, but has a low accuracy when reducing the amplitude of one of the signals, as in this case it is necessary to carry out measurements with the harmonic signals of small amplitude.

The aim of the invention is to improve the accuracy when extending the dynamic range.

The essence of the invention lies in the fact that when X is Y, then the measurement is carried out in a range of angles from 0 to /4 arctan(X/Y), and to retrieve the value of arctan(X/Y) in the angle range from /4 to /2, COHAB determine the values of arctan(X/Y) can be used for measuring the function of the tangent or cotangent at intervals, where their absolute values do not exceed the values of the units, thereby to reduce the requirements to the used measuring units, to improve the accuracy and to extend the dynamic range.

The purpose of the device to determine the argument of the vector containing the unit, the unit of comparison, the registration unit and the generator trigonometric functions, the first output of which is connected to the first input of the comparison, the output of which is connected to the first input of the recording unit, is achieved by the fact that it further comprises the amplitude selector, and the recording unit is made manageable, and the first and second input devices are connected to the corresponding inputs of the amplitude selector, the first and second outputs of which are connected to first and second inputs of the block dividing, respectively, the output of which is connected to the second input of the comparison, the second generator output trigonometric functions connected to the second input of the recording unit, the control input of which is connected to the third output of the amplitude selector; amplitude selector contains a block allocation of maximum, minimum and the unit of comparison, and the first and second inputs of the amplitude selector connected respectively to the Loka allocation maximum low and the output of the Comparer is connected to the first, second and third outputs of the amplitude selector, respectively.

Generator trigonometric functions contains quadrature generator, the unit and the imaging unit reference pulse, and the first and second outputs of the quadrature generator is connected to the first and second inputs of the block dividing, respectively, the input of the reference pulse shaper connected to one of the outputs of the quadrature generator, the outputs of the unit and the reference pulse shaper connected to the first and second outputs of the generator trigonometric functions, respectively.

Managed the registration unit includes a logical EXCLUSIVE OR element and the key, and the first input of the control block register connected to the first inputs of the logic gate XOR and key, the second input is connected to the output of the EXCLUSIVE OR element, the second input of the latter is connected to the second input of the control block register, a control input which is connected to the control input of the key whose output is the output of the controlled block of the Desk.

In Fig.1 shows a block diagram of the device to define the ATOR 4 trigonometric functions; switching unit 5.

Blocks in the device for determining the argument vector are connected as follows. The first and second inputs connected to first and second inputs of the amplitude selector 1, respectively, whose outputs are connected to first and second inputs of unit 2, respectively. The yield of the latter is connected to the first input unit 3 comparison to the second input of which is connected to the first output of the generator 4 trigonometric functions. The second output of the latter is connected to the first input of the control block register, the second input is connected to the output of the Comparer 3. The third (control) input of the control recording unit connected to the third output of the amplitude selector 1.

In Fig. 2 shows the structural diagram of the amplitude selector 1. It consists of a block of 6 selection of maximum and minimum and the Comparer 7. Blocks in amplitude selector 1 is connected as follows. The first and second input unit 6 selection of the minimum, maximum, and Comparer 7 pairs are interconnected and connected to the first and second inputs of the amplitude selector 1, respectively. The first and second outputs of unit 6 selection of maximum and minimum is connected to pervohody amplitude selector 1.

In Fig. 3 shows a block diagram of the generator 4 trigonometric functions, it includes a quadrature generator 8, unit 9, and the imaging unit 10 reference pulse. The units are connected as follows. The first and second outputs of the quadrature generator 8 is connected to the first and second inputs of the unit 9, respectively. The input of the shaper 10 reference pulse is connected to one of the outputs of the quadrature generator 8. The output unit 9 and the imaging unit 10 reference pulse is connected to the first and second outputs of the generator 4 trigonometric functions.

In Fig.4 shows a structural diagram of the controlled switching unit 5. It includes a logical EXCLUSIVE OR element 11 and the key 12. The first input of the control block register 5 is connected to the first inputs of the logic element 11 XOR and key 12. The second input of the control block register 5 is connected to the second input of the logical EXCLUSIVE OR element 11, the output of which is connected to the second input key 12. Control input key 12 is connected to the third (the Trustee) to the input of the control block register.

Device for determining the argument of the vector is as follows.

Vtorogo selector 1 and, accordingly, unit 6 selection of the maximum, minimum and Comparer 7. It is considered the principal value of the angle for the first quadrant, the input signals have the same signs. Unit 6 selection of the minimum, maximum, allocates, for example, on his first maximum output of the two voltage U1-1and the second minimum voltage U1-2that is, for example, to the second input of unit 2, which is the input signal-dividend. The maximum voltage U1-1supplied to the first input unit 2, which is the input signal of the divider.

Thus, at the output of unit 2 receives the voltage U2proportional to the ratio (U1-2)/(U1-1) K 1, i.e., the use of the amplitude selector provides the unit 2 in the range of values To lying in the interval K. The voltage U2will change linearly with changes in the values of K. Hence, we can write:

U2UoK, (1) where K X/Y Ux/Uywhen UxUyand K Uy/Uxwhen UyUx.

The voltage U2supplied to the first input unit of comparison 3. To the second input of the last supplied voltage U4-1from the generator 4 trigonometric functions. The formation napra U4-1obtained after division of two harmonic voltages (see Fig. 5,a,b), hence this voltage corresponds to the voltage changing according to the law of the cotangent function. The Comparer 3 compares the voltage U2from the output of the unit, which is the reference voltage U4-1. Voltage U2and U4-1are selected so that when the condition Ux=Uythe voltage U2was equal to the voltage U4-1at the moment of time corresponding to /4, i.e. 1/8 of the period of harmonic oscillation quadrature generator.

In this case, during the time when the voltage U4-1U2,at the output of the Comparer 3, for example, the logical signal "1", and during the time when U4-1U2at the output of the Comparer 3 is set to a logical signal "0", the voltage U3(see Fig.5). This sequence of pulses, the duration of which is proportional to the value arcctg are(U1-2)/U1-1), arrives at the first input of the control recording unit 5, i.e., to the first inputs of the logic gate XOR and key 12.

To the second input of the control block register 5 and respectively to the second input of the logical EXCLUSIVE OR element 11 flows through italmost which corresponds to 1/4 of the period of harmonic oscillation quadrature generator 8.

This sequence of pulses of the signal U4-2that is formed at the output of the shaper 10, shown in Fig.5,, the Driver 10 may be constructed in different ways and connected with its input to any of the outputs of the blocks 8 and 9, so it is not shown as a separate block.

The pulse sequence U3and U4-2the output of the logical EXCLUSIVE OR element 11 generates at its output the signal U11(see Fig.5,d), representing a sequence of pulses, the duration of which corresponds to the difference between the durations of the signals U4-2and U3. Since the pulse width of the signal U4-2corresponds to the interval /2, and the pulse width of the signal U3corresponds to the value arcctg are(U1-2)/U1-1), which can be represented in accordance with the expression (1):

arcctg are(U1-2)/U1-1) arctan(X/Y)arcctg are(Y/X) if X Y (2)

The pulse width of the signal U11can be written as follows:

/2-arcctg are(U1-2)/(U1-1)

/2-arcctg are(X/Y) arctan(X/Y)

if X Y (3)

Thus, the first and second input key 12 are pulse voltages U3and U11, the duration of which is proportional, respectively, arctan(X/Y) when X and Y arctan control logic signals U1-3from the third output of the amplitude selector 1, which are formed at the output of the Comparer 7. When XY, i.e., UxUyoutput key 12 receives signals U11the pulse duration of which is proportional to the value of arctan(X/Y), and in the case of XY. i.e., UxUyoutput key 12 with the first input signals U3the pulse duration of which is proportional to the value of arctan(X/Y) ( /2-arcctg are(X/Y).

Thus, for different ratios of X and Y to get the output of the controlled unit 5 a sequence of pulses, the duration of which is proportional to the value of arctan(X/Y).

Unit 6 comparison can be built in different ways when compared to one of the input signals to another input or any output unit 5 selection of maximum and minimum (so it is part of the amplitude selector and not a separate unit).

The first output of the generator 4 trigonometric functions can be implementing the functions of the various species containing in the range of 1/8 of the period of the function, changing the law of the tangent or cotangent.

Methodological device error equals zero, and when the changes of the amplitudes of the input signals in large dinamico selector provides all blocks into a smaller range. Instrumental error in the proposed device will be lower also due to the fact that the errors in the various parts of the device will be related not to the 90aboutas in other devices , and to 45aboutthat will reduce the error to approximately 2 times.

The device is implemented using a conventional well-known links.

1. Device for determining the argument of the vector containing the generator trigonometric functions and the first block of comparison, the first input is the first input device, characterized in that it introduced the block allocation of maximum and minimum, the unit, the switching unit and the second unit of comparison, the first and second inputs which are connected respectively with the output of the unit and with the first generator output trigonometric functions, the second output of which the output of the second unit of comparison is connected to information inputs of the switching unit, the output of which is output, the first input of which is connected to the first input unit selection of maximum and minimum, the outputs of which are connected with inputs of the unit, the second input device connected to the second inputs of the first unit of comparison and unit selection of maximum and minimum, the output of the first b is eat, the generator trigonometric functions contains the unit, the imaging unit reference pulse and the quadrature generator, the first output of which is connected to the first input unit and the input of the reference pulse shaper, the output of which and the output unit are respectively the second and first outputs of the generator, the second output of the quadrature generator is connected to the second input of the unit.

3. The device according to p. 1, wherein the switching unit includes an EXCLUSIVE OR element and an analog switch control input and output of which are respectively managing input and output unit, the first information input of which is connected to the first information input of the analog switch and to the first input of the EXCLUSIVE OR element, the second input and the output of which is connected respectively to the second information input unit and analog switch.

Same patents: The invention relates to measuring technique and can be used in information systems The invention relates to measuring technique and can be used as a functional Converter The invention relates to measuring technique and can be used as a functional Converter to calculate the values of the functions arc tgk when k<1 The invention relates to computer technology and can be used in information-measuring systems, as well as in various functional transducers to determine the values tgX or arcsinX with high performance, low accuracy, ease of implementation in some interval of values for the input signals changing in a large dynamic range The invention relates to measuring technique and can be used in trigonometric converters to obtain values funktsii 1= arcsin x, 2=arccos x, and various analog computing devices The invention relates to computer technology and can be used in information-measuring systems, as well as in various functional converters, when you want to simultaneously determine the value of sin x and cos x with a small error in the interval of values from 0 to /2 FIELD: computer engineering; automation, data processing and measurement technology.

SUBSTANCE: proposed converter has two registers, NOT gate, angle-code-to-sine/cosine-code functional conversion unit, two digital-to-analog converters, reference voltage supply, pulse generator, counter, two capacitors, subtracting amplifier, two modulators, threshold unit, two selector switches, two buffer followers, threshold voltage supply, comparison circuit, D flip-flop, and reference code shaper; all these components enable functional control of converter during recording pulse time and supply of signal indicating normal or abnormal operation of converter to user thereby essentially raising its self-control ability and yielding profound and reliable information.

EFFECT: enhanced comprehensiveness of control and reliability of converter output data.

1 cl, 2 dwg FIELD: computer engineering, in particular, functional transformers of angle code to sine-cosine voltages, possible use in data processing systems.

SUBSTANCE: device contains block for functional transformation of angle code to code of sine and cosine, generator of impulse pack, NOT element, registers, support voltage source, digital-analog converter, switch, capacitors, buffer repeaters, modulators, threshold block.

EFFECT: increased precision of transformation.

2 cl, 2 dwg FIELD: physics, computer engineering.

SUBSTANCE: invention relates to computer engineering, specifically special-purpose computers. The technical result is achieved by a device for calculating trigonometric functions, which comprises sine and cosine registers, increment registers of the same values, two converters for converting direct code into complementary code, connected, besides by connections between said units, with a clock pulse generator, a memory unit and an argument counter.

EFFECT: method of removing limitations on an argument of calculated functions in the range from 0 to + when calculating trigonometric functions.

1 dwg 