CN111555755A - Rapid angle analog-to-digital converter and design method - Google Patents

Rapid angle analog-to-digital converter and design method Download PDF

Info

Publication number
CN111555755A
CN111555755A CN202010441643.5A CN202010441643A CN111555755A CN 111555755 A CN111555755 A CN 111555755A CN 202010441643 A CN202010441643 A CN 202010441643A CN 111555755 A CN111555755 A CN 111555755A
Authority
CN
China
Prior art keywords
angle
analog
switch
output
positive
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202010441643.5A
Other languages
Chinese (zh)
Other versions
CN111555755B (en
Inventor
汪坚雄
胡枭
张超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Chuanzhuo Electronic Co ltd
Original Assignee
Shanghai Chuanzhuo Electronic Co ltd
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 Shanghai Chuanzhuo Electronic Co ltd filed Critical Shanghai Chuanzhuo Electronic Co ltd
Priority to CN202010441643.5A priority Critical patent/CN111555755B/en
Publication of CN111555755A publication Critical patent/CN111555755A/en
Application granted granted Critical
Publication of CN111555755B publication Critical patent/CN111555755B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

The invention discloses a rapid angle analog-to-digital converter and a design method, which are applied to an encoder based on analog sine and cosine signals and used for rapidly converting an analog angle into a digital angle signal; the method is characterized in that input differential analog sine (+ SIN, -SIN) and differential analog cosine signal (+ COS-COS) carrying rotation angle information are processed through a positive quadrant and negative quadrant switch, a cut-back algorithm DAC resistor array, a binary decoder, a one-out-of-multiple switch, a comparator, an approximation and tracking digital circuit, and a rotation angle binary digital signal is obtained in a semaphore feedback approximation mode. The invention realizes the rapid conversion from the analog signal of the rotation angle information to the binary angle digital signal, improves the accuracy of angle measurement and the real-time performance of system control feedback, and simultaneously reduces the circuit complexity and the circuit area.

Description

Rapid angle analog-to-digital converter and design method
The technical field is as follows:
the invention relates to the technical field of electronic circuits, in particular to a rapid angle analog-to-digital converter and a design method thereof, which can be used for rapidly converting an angle binary digital signal in an encoder based on an analog sine and cosine signal.
Background art:
in the field of industrial automation control application of numerical control machines, elevators, robots and the like, an encoder is a displacement and speed feedback device which is most commonly used in various motor control systems, and the speed and precision of a feedback signal of the encoder determine the response speed and precision of motor control to a great extent, so that the real-time running state of the whole system is influenced.
According to different coding modes, encoders are divided into an absolute type and an incremental type: the absolute encoder converts each angular position value into a code uniquely corresponding to the angular position value, so that the output of the absolute encoder is only related to the angular position at the time of measurement and is not related to the process before the measurement; the incremental encoder converts the angular displacement of rotation into a periodic electric pulse signal and outputs the signal, and the magnitude of the angular displacement is expressed by the number of pulses.
According to different processing signals, incremental encoders are classified into pulse signal-based encoders and sine and cosine signal-based encoders: based on a pulse signal encoder, the processed signal is a pulse, only fixed frequency multiplication can be carried out, the application field with higher resolution requirement on a real-time position value cannot be met, and the method can only be applied to a common automatic control system with lower precision; based on the sine and cosine signal encoder, theoretically, the signal can be subdivided by any multiple through electronics and then a digital signal is output, so that the sine and cosine signal encoder can be widely applied to occasions with higher subdivision requirements on real-time position values.
The encoder based on the analog sine and cosine signals has the main function of carrying out digital processing on the analog sine and cosine signals which are input by the sensing element part and carry the rotation angle information, namely processing the signals into a digital signal form of the rotation angle through an internal angle analog-to-digital converter according to a certain rule and outputting the signals. To some extent, the circuit structure and performance of the angle analog-to-digital converter determine the resolution, precision and conversion speed of the whole encoder, and further determine the performance of the whole automatic feedback control system; in a conventional angle analog-to-digital converter based on an analog sine and cosine signal, an internal circuit structure thereof generally includes: sine and cosine signal analog-digital conversion circuit, angle calculation digital circuit, compensation circuit and bias protection circuit. The improvement of the performance of the output resolution, precision and conversion speed of the angle analog-to-digital converter is often dependent on the improvement of the resolution and precision of the sine-cosine signal analog-to-digital conversion circuit and the enhancement of the calculation capability of the angle calculation digital circuit, but the complexity of the circuit design is easily increased, and the circuit area is increased.
The invention content is as follows:
in view of the shortcomings in the prior art, an embodiment of the present invention provides a fast angle adc and a design method thereof to solve the above problems in the background art.
In order to achieve the purpose, the invention provides the following technical scheme:
a fast angle analog-to-digital converter comprising:
positive and negative quadrant change-over switch, anti-switching algorithm DAC resistance array, binary decoder, one-out-of-many switch, comparator, approximation and tracking digital circuit, wherein:
the positive and negative quadrant selector switch is used for processing the differential analog sine signals and the differential analog cosine signals, so that the output analog sine signals are positive values and the output analog cosine signals are negative values;
the inverse cutting algorithm DAC resistor array is used for generating a voltage division value between the difference values of the positive analog sine signals and the negative analog cosine signals;
the binary decoder is used for decoding the binary angle code generated by the approximation and tracking digital circuit into a decimal angle code and outputting a control one-out-of-many switch;
the one-out-of-multiple switch is used for gating and outputting a voltage division value displayed at the decimal angle code by the DAC resistor of the inverse cutting algorithm;
the comparator is used for comparing the output voltage division value of the one-out-of-multiple switch with a threshold value.
As a further aspect of the invention, the approximation and tracking digital circuit is used to generate the correct angle binary code.
As a further aspect of the present invention, the positive and negative quadrant selector switch includes two alternative switches: SW _ SINP and SW _ COSN, wherein the SW _ SINP switch is used for switching to + SIN output when theta input is 0-180 degrees, and switching to-SIN output when theta exceeds 180-360 degrees; the SW _ COSN switch is used for switching to-COS output when theta input is 0-90 degrees or 270-360 degrees, and switching to + COS output when theta exceeds 90-270 degrees; where θ is the angle value produced by the approximation and tracking digital circuit.
As a further scheme of the invention, the positive input end of the DAC resistor array of the inverse switching algorithm is connected with the output of an SW _ SINP switch in the positive-negative quadrant selector switch, the negative input end of the DAC resistor array of the inverse switching algorithm is connected with the output of an SW _ COSN switch in the positive-negative quadrant selector switch, and a voltage division value between the difference values of the positive analog sine signal and the negative analog cosine signal is generated through a resistor network.
As a further scheme of the invention, the inverse cutting algorithm DAC resistor array covers an angle range of 0 to 90 degrees; the inverse cutting algorithm DAC resistor array comprises 2N-2And the resistor network divides the voltage output end.
As a further aspect of the invention, the binary decoder and the one-out-of-multiple switch combination are used for decoding the binary angle code theta _ code (2) generated by the approximation and tracking digital circuit into the decimal angle code theta _ code (10), feeding the decimal angle code theta _ code back to the inverse switching algorithm DAC resistor array, and outputting the divided voltage at the theta _ code (10) as the gated divided voltage Vsel.
As a further aspect of the present invention, the comparator includes a positive threshold comparator for comparing the output divided voltage value Vsel of the one-out-of-many switch with a positive threshold Vt, and a negative threshold comparator for comparing the output divided voltage value Vsel of the one-out-of-many switch with a negative threshold-Vt, wherein the positive threshold Vt and the negative threshold-Vt are set for both inputs.
As a further aspect of the present invention, the approximation and tracking digital circuit generates a correct angle binary code θ _ code (2) as a final output of the fast angle analog-to-digital converter through an internal approximation and tracking algorithm using an output signal of the positive threshold comparator and an output signal of the negative threshold comparator.
As a further aspect of the present invention, the approximation and tracking digital circuit, an internal approximation and tracking algorithm thereof, comprises:
when starting, generating a binary code theta _ code (2) with a preset angle by adopting an approximation algorithm; when the work is normal, a tracking algorithm is set as follows:
when the Vsel of the common input end of the comparator exceeds the set threshold Vt, the approaching and tracking digital circuit carries out positive counting, representing the increase of the angle, until the Vsel of the common input end of the comparator returns to the set threshold Vt; when the comparator common input Vsel is below the set threshold-Vt, the approach and tracking digital circuit counts back, representing a decrease in angle, until the comparator common input Vsel returns to the set threshold-Vt.
The invention also provides a design method of the rapid angle analog-to-digital converter, which comprises the following steps:
carrying out quadrant processing on the input differential analog sine and differential analog cosine signals carrying the rotation angle information;
the invention directly converts the analog sine signal and the analog cosine signal into the angle binary digital signal, does not generate the intermediate process of the digital sine signal and the digital cosine signal, and realizes the quick conversion.
The invention has the beneficial effects that:
1. because the differential analog sine (+ SIN, -SIN) and the differential analog cosine signal (+ COS-COS) carrying the rotation angle information pass through the positive and negative quadrant selector switch, the differential analog sine signal and the differential analog cosine signal are used for keeping the positive values of the analog sine signals output by the positive and negative quadrant selector switch and the negative values of the output analog cosine signals, and are matched with a DAC resistor array, approximation and tracking digital circuit to work in a backstepping algorithm, compared with the prior art, the differential analog sine signal and the differential analog cosine signal can quickly obtain a conversion result, improve the conversion efficiency and reduce the circuit complexity;
2. because the positive voltage analog sine signal and the negative voltage analog cosine signal carrying the rotation angle information are respectively processed through the positive input end and the negative input end of the DAC resistor array by the inverse cutting algorithm, the use of a high-precision sine-cosine analog-digital conversion circuit is avoided, compared with the prior art, the invention does not generate the intermediate process of sine digital signals and cosine digital signals, innovatively saves the signal processing process of high-precision sine-cosine analog-digital conversion, improves the efficiency and reduces the area of the circuit;
3. the invention adopts the gated partial pressure signal output by the DAC resistor array of the inverse cutting algorithm to directly pass through the comparator, the approximation and the tracking digital circuit, when the device is started, the approximation algorithm is adopted to generate the preset angle binary code, when the device works normally, the tracking angle algorithm is set to generate and output the digital binary code of the rotation angle information, thereby avoiding the direct calculation of the rotation angle binary code by using sine digital signals and cosine digital signals.
To more clearly illustrate the structural features and effects of the present invention, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.
Description of the drawings:
FIG. 1 is a schematic block diagram of a specific embodiment of the present invention;
FIG. 2 is a schematic diagram of the positive and negative quadrant change-over switch of the present invention;
fig. 3 is a schematic diagram of the approximation and tracking digital circuit principle of the present invention.
The specific implementation mode is as follows:
the invention will be described more fully and clearly in connection with the accompanying drawings and the accompanying knowledge, and it is to be understood that the circuit diagrams described are merely exemplary embodiments of the invention, and are not intended to represent all exemplary embodiments.
Referring to fig. 1-3, a fast angle analog-to-digital converter is applied to an encoder based on an analog sine and cosine signal to fast convert an analog angle into a digital angle signal. Processing an input differential analog sine (+ SIN-SIN) and differential analog cosine signal (+ COS-COS) carrying rotation angle information through a positive quadrant and negative quadrant selector switch, a reverse cut algorithm DAC resistor array, a binary decoder, a multi-selection switch, a comparator, an approximation and tracking digital circuit, and obtaining a rotation angle binary digital signal in a semaphore feedback approximation mode; the method and the device realize the rapid conversion from the analog signal of the rotation angle information to the binary digital signal of the angle, improve the accuracy of angle measurement and the real-time property of system control feedback, reduce the circuit complexity and reduce the circuit area.
The following technical scheme is adopted specifically:
a fast angle A/D converter comprises positive and negative quadrant switch, inverse switch DAC resistor array, binary decoder, one-out-of-multiple switch, comparator, and approximation and tracking digital circuit,
wherein:
preferably, the positive-negative quadrant selector switch comprises an alternative switch SW _ SINP and an alternative switch SW _ COSN, wherein two input ends of the SW _ SINP switch are connected with an analog sine (+ SIN, -SIN) and used for switching the SW _ SINP switch into + SIN output when theta input is 0-180 degrees, and switching the SW _ SINP switch into-SIN output when theta exceeds 180-360 degrees and used for keeping the SW _ SINP switch output to be positive; the two input ends of the SW _ COSN switch are connected with an analog cosine signal (+ COS-COS) and used for switching the SW _ COSN switch to be output by-COS when the theta input is 0-90 degrees or 270-360 degrees, and switching the SW _ COSN switch to be output by + COS when the theta exceeds 90-270 degrees and keeping the SW _ COSN switch output to be a negative value; wherein θ is an angle value generated by the approximation and tracking digital circuit;
preferably, the DAC resistor array of the inverse cut algorithm comprises a positive input end, a negative input end and 2N-2A positive input terminal of the resistor array is connected with the output of the SW _ SINP switch in the positive-negative quadrant switch, a negative input terminal of the resistor array is connected with the output of the SW _ COSN switch in the positive-negative quadrant switch, 2N-2The output ends cover the output range of 0-90 degrees and are all connected to the multi-signal input end of the one-out-of-multiple switch; wherein, N is the resolution of the angle digital signal, namely the angle binary digital signal finally output by the fast angle analog-to-digital converter designed by the invention is N bits;
preferably, the binary decoder comprises an input end and an output end, wherein the input end is connected with the output signal of the approximation and tracking digital circuit and used as a signal negative feedback regulation mode, and the output end is connected with the gating control end of the one-out-of-multiple switch and used for decoding the binary angle code theta _ code (2) at the input end of the binary decoder into a decimal angle code theta _ code (10) and outputting the decimal angle code theta _ code;
preferably, the multiple-select one switch comprises a multiple-signal input end, a gating control end and an output end, wherein the multiple-signal input end is connected with the output end of the anti-switching algorithm DAC resistor array, the gating control end is connected with the output end of the binary decoder, and is used for gating the voltage division Vr at the theta _ code (10) of the anti-switching algorithm DAC resistor array as the output Vsel of the multiple-select one switch, and the output Vsel of the multiple-select one switch is input to the common input end of the comparator; wherein the decimal angle code theta _ code (10) has the following relation with the angle value theta:
Figure BDA0002504390710000071
the divided voltage Vr and the angle value theta at the theta _ code (10) of the DAC resistor array of the inverse switching algorithm have the following relations:
Vr×(SIN(θ)+COS(θ))=COS(θ) (2)
preferably, the comparator comprises a positive threshold comparator and a negative threshold comparator, wherein the non-inverting input end of the positive threshold comparator is connected with the positive threshold Vt, the inverting input end of the negative threshold comparator is connected with the threshold-Vt, the non-inverting input end of the positive threshold comparator and the non-inverting input end of the negative threshold comparator are connected in common to be used as the common input end of the comparator, the common input end of the comparator is connected with the output Vsel of the one-out-of-multiple switch, and the comparator is used for comparing whether the Vsel approaches the set comparison threshold; wherein a positive threshold Vt and a negative threshold-Vt are set for both inputs;
preferably, the approximation and tracking digital circuit comprises two input terminals and an output terminal, wherein the two input terminals are respectively connected to the output terminal of the positive threshold comparator and the output terminal of the negative threshold comparator, and an output terminal signal is used as the output of the approximation and tracking digital circuit and also as the final output of the fast angle analog-to-digital converter designed by the present invention, and is used for generating a correct angle binary code θ _ code (2), and the specific generation algorithm is as follows:
1) when starting, generating a binary code theta _ code (2) with a preset angle by adopting an approximation algorithm;
2) when the work is normal, a tracking algorithm is set as follows:
2a) when the Vsel of the common input end of the comparator exceeds the set threshold Vt, the approaching and tracking digital circuit carries out positive counting, representing the increase of the angle, until the Vsel of the common input end of the comparator returns to the set threshold Vt;
2b) when the comparator common input end Vsel is lower than the set threshold value-Vt, the approaching and tracking digital circuit performs reverse counting, representing the angle is decreased, until the comparator common input end Vsel returns to the set threshold value-Vt;
preferably, the approximation and tracking digital circuit generates a preset angle binary code θ _ code (2) using a bisection method as an approximation algorithm when starting up.
In addition, the invention also provides a design method of the rapid angle analog-to-digital converter, which comprises the following steps: the method comprises the steps that digital processing is carried out on input differential analog sine (+ SIN, -SIN) and differential analog cosine signals (+ COS-COS) which carry rotation angle information, the analog sine signals and the analog cosine signals are directly converted into angle binary digital signals, and the intermediate process of the digital sine signals and the digital cosine signals is not generated; it adopts CMOS integrated circuit technology and digital-analog hybrid integrated circuit design method; the circuit is integrated on a single chip, and the quick conversion from the analog signal with the rotation angle information at the input end to the angle binary digital signal is realized.
According to the invention, differential analog sine (+ SIN, -SIN) and differential analog cosine signal (+ COS-COS) carrying rotation angle information are passed through the positive and negative quadrant selector switch to keep the analog sine signals output by the positive and negative quadrant selector switch to be positive values and the output analog cosine signals to be negative values, and the digital circuit is matched with a DAC resistor array, approximation and tracking to work, so that compared with the prior art, a conversion result can be obtained quickly, the conversion efficiency is improved, and the circuit complexity is reduced; the positive voltage analog sine signal and the negative voltage analog cosine signal carrying the rotation angle information are respectively processed through a positive input end and a negative input end of a DAC resistor array by a reverse cutting algorithm, so that a high-precision sine and cosine analog-digital conversion circuit is avoided; and the gated partial pressure signal output by the DAC resistor array of the inverse cut algorithm directly passes through the comparator and the approximation and tracking digital circuit, when the digital phase detector is started, the approximation algorithm is adopted to generate a preset angle binary code, when the digital phase detector works normally, the digital phase detector is set as the tracking angle algorithm and is used for generating and outputting the digital binary code of the rotation angle information, the rotation angle binary code is prevented from being directly calculated by using sine digital signals and cosine digital signals, compared with the prior art, the rotation angle binary code is creatively obtained by a signal quantity approximation mode instead of a directly calculated digital signal quantity mode, the problems that the directly calculated digital signal quantity has limited resolution and limited precision and the calculation time delay are solved, and the accuracy of angle measurement and the real-time of system feedback control are improved.
The following provides specific embodiments of the invention
Example 1
Referring to fig. 1, a fast angle analog-to-digital converter includes a positive and negative quadrant switch, a counter-cut algorithm DAC resistor array, a binary decoder, a multiple-to-one switch, a comparator, and an approximation and tracking digital circuit, in which:
referring to fig. 2, the positive-negative quadrant switch includes an alternative switch SW _ SINP and an alternative switch SW _ COSN, where two inputs of the SW _ SINP switch are connected to an analog sine (+ SIN, -SIN) for switching the SW _ SINP switch to + SIN output when the θ input is 0-180 degrees, and switching the SW _ SINP switch to-SIN output when the θ exceeds 180-360 degrees, for keeping the SW _ SINP switch output positive; the two input ends of the SW _ COSN switch are connected with an analog cosine signal (+ COS-COS) for enabling theta input to be 0-90 degrees orWhen the angle is 270-360 degrees, the SW _ COSN switch is switched to-COS output, and when the angle exceeds 90-270 degrees, the SW _ COSN switch is switched to + COS output for keeping the SW _ COSN switch output to be a negative value; wherein θ is an angle value produced by the approximation and tracking digital circuit; the DAC resistor array of inverse cut algorithm comprises positive and negative input terminals and 2N-2A positive input terminal of the resistor array is connected with the output of the SW _ SINP switch in the positive-negative quadrant switch, a negative input terminal of the resistor array is connected with the output of the SW _ COSN switch in the positive-negative quadrant switch, 2N-2The output ends cover the output range of 0-90 degrees and are all connected to the multi-signal input end of the one-out-of-multiple switch; in this embodiment, the inverse cutting algorithm DAC resistor array has 2 in common, taking N as 10, i.e. the angle digital signal resolution is 10N-2=210-2Covering the output range of 0-90 degrees with 256 output ends; the binary decoder comprises an input end and an output end, wherein the input end is connected with an output signal of the approximation and tracking digital circuit and used as a signal negative feedback regulation mode, and the output end is connected with a gating control end of the one-out-of-multiple switch and used for decoding a binary angle code theta _ code (2) at the input end of the binary decoder into a decimal angle code theta _ code (10) and outputting the decimal angle code theta _ code;
the multiple-selection one-switch comprises a multiple-signal input end, a gating control end and an output end, wherein the multiple-signal input end is connected with the output end of the anti-switching algorithm DAC resistor array, the gating control end is connected with the output end of the binary decoder, and the multiple-selection one-switch is used for gating Vr divided voltage at the theta _ code (10) position of the anti-switching algorithm DAC resistor array to serve as the output Vsel of the multiple-selection one-switch, and the output Vsel of the multiple-selection one-switch is input to the common input end of the comparator; in the present embodiment, the decimal angle code θ _ code (10) has the following relationship with the angle value θ:
Figure BDA0002504390710000101
in this embodiment, the divided voltage Vr at the θ _ code (10) of the DAC resistor array of the inverse switching algorithm and the angle value θ have the following relationship:
Vr×(SIN(θ)+COS(θ))=COS(θ) (2)
the following are specifically exemplified in this embodiment:
1) when θ is 0, θ _ code (10) is 0 obtained from formula (1), and the divided voltage Vr at 0 is 1 obtained from formula (2)
2) When theta is 90, theta _ code (10) is 255 obtained from formula (1), and the partial pressure Vr at the 255 position is 0 obtained from formula (2);
the comparator comprises a positive threshold comparator and a negative threshold comparator, wherein the in-phase input end of the positive threshold comparator is connected with a positive threshold Vt, the reverse phase input end of the negative threshold comparator is connected with a threshold-Vt, the in-phase input end of the positive threshold comparator and the in-phase input end of the negative threshold comparator are connected with the same-direction input end of the positive threshold comparator as the common input end of the comparator, the common input end of the comparator is connected with the output Vsel of the one-out-of-multiple switch, and the comparator is used for comparing whether the Vsel approaches to the set comparison threshold; wherein a positive threshold Vt and a negative threshold-Vt are set for both inputs;
the approximation and tracking digital circuit comprises two input ends and an output end, wherein the two input ends are respectively connected with the output end of the positive threshold comparator and the output end of the negative threshold comparator, an output end signal is used as the output of the approximation and tracking digital circuit and is also used as the final output of the rapid angle analog-to-digital converter designed by the invention and is used for generating a correct angle binary code theta _ code (2), and the specific generation algorithm is as follows:
1) when starting, an approximation algorithm is adopted to generate a preset angle binary code θ _ code (2), and in the embodiment, a bisection method is specifically adopted as the approximation algorithm.
2) When the work is normal, a tracking angle algorithm is set, and referring to fig. 3:
2a) when the Vsel of the common input end of the comparator exceeds the set threshold Vt, the approaching and tracking digital circuit carries out positive counting, representing the increase of the angle, until the Vsel of the common input end of the comparator returns to the set threshold Vt;
2b) when the comparator common input Vsel is below the set threshold-Vt, the approach and tracking digital circuit counts back, representing a decrease in angle, until the comparator common input Vsel returns to the set threshold-Vt.
The invention realizes the rapid conversion from the analog signal of the rotation angle information to the binary angle digital signal, improves the accuracy of angle measurement and the real-time performance of system control feedback, and simultaneously reduces the circuit complexity and the circuit area.
The technical principle of the present invention has been described above with reference to specific embodiments, which are merely preferred embodiments of the present invention. The protection scope of the present invention is not limited to the above embodiments, and all technical solutions belonging to the idea of the present invention belong to the protection scope of the present invention. Other embodiments of the invention will occur to those skilled in the art without the exercise of inventive faculty, and such will fall within the scope of the invention.

Claims (10)

1. A fast angle analog-to-digital converter, comprising:
positive and negative quadrant change-over switch, anti-switching algorithm DAC resistance array, binary decoder, one-out-of-many switch, comparator, approximation and tracking digital circuit, wherein:
the positive and negative quadrant selector switch is used for processing the differential analog sine signals and the differential analog cosine signals, so that the output analog sine signals are positive values and the output analog cosine signals are negative values;
the inverse cutting algorithm DAC resistor array is used for generating a voltage division value between the difference values of the positive analog sine signals and the negative analog cosine signals;
the binary decoder is used for decoding the binary angle code generated by the approximation and tracking digital circuit into a decimal angle code and outputting a control one-out-of-many switch;
the one-out-of-multiple switch is used for gating and outputting a voltage division value displayed at the decimal angle code by the DAC resistor of the inverse cutting algorithm;
the comparator is used for comparing the output voltage division value of the one-out-of-multiple switch with a threshold value.
2. A fast angle analog-to-digital converter as claimed in claim 1, characterized in that said approximation and tracking digital circuit is adapted to generate the correct angle binary code.
3. A fast angle analog-to-digital converter as claimed in claim 2, characterized in that said positive and negative quadrant switch comprises two alternative switches: SW _ SINP and SW _ COSN, wherein the SW _ SINP switch is used for switching to + SIN output when theta input is 0-180 degrees, and switching to-SIN output when theta exceeds 180-360 degrees; the SW _ COSN switch is used for switching to-COS output when theta input is 0-90 degrees or 270-360 degrees, and switching to + COS output when theta exceeds 90-270 degrees; where θ is the angle value produced by the approximation and tracking digital circuit.
4. The fast angle analog-to-digital converter according to claim 3, wherein the positive input terminal of the anti-switching algorithm DAC resistor array is connected to the output of the SW _ SINP switch in the positive-negative quadrant switch, the negative input terminal is connected to the output of the SW _ COSN switch in the positive-negative quadrant switch, and a voltage division value between the difference values of the positive analog sine signal and the negative analog cosine signal is generated through the resistor network.
5. A fast angle analog-to-digital converter according to claim 4, characterized in that said inverse-cut algorithm DAC resistance array covers an angle range of 0-90 degrees; the inverse cutting algorithm DAC resistor array comprises 2N-2And the resistor network divides the voltage output end.
6. A fast angle analog-to-digital converter as claimed in claim 5, characterized in that the binary decoder and the one-out-of-many switch are combined for decoding the binary angle code θ _ code (2) generated by the approximation and tracking digital circuit into the decimal angle code θ _ code (10) and feeding back to the inverse switching algorithm DAC resistor array, and outputting the divided voltage at θ _ code (10) as the gated divided voltage Vsel.
7. A fast angle analog-to-digital converter as claimed in any one of claims 1-6, characterized in that the comparator comprises a positive threshold comparator for comparing the output divided voltage value Vsel of the one-out-of-multiple switch with a positive threshold Vt, and a negative threshold comparator for comparing the output divided voltage value Vsel of the one-out-of-multiple switch with a negative threshold-Vt, wherein both the positive threshold Vt and the negative threshold-Vt are set for the inputs.
8. A fast angle a/d converter as claimed in claim 7, characterized in that the approximation and tracking digital circuit uses the output signal of the positive threshold comparator and the output signal of the negative threshold comparator to generate the correct angle binary code θ _ code (2) by means of an internal approximation and tracking algorithm as the final output of the fast angle a/d converter.
9. The fast angle analog-to-digital converter of claim 7, wherein the approximation and tracking digital circuit, its internal approximation and tracking algorithm, comprises:
when starting, generating a binary code theta _ code (2) with a preset angle by adopting an approximation algorithm; when the work is normal, a tracking algorithm is set as follows:
when the Vsel of the common input end of the comparator exceeds the set threshold Vt, the approaching and tracking digital circuit carries out positive counting, representing the increase of the angle, until the Vsel of the common input end of the comparator returns to the set threshold Vt; when the comparator common input Vsel is below the set threshold-Vt, the approach and tracking digital circuit counts back, representing a decrease in angle, until the comparator common input Vsel returns to the set threshold-Vt.
10. A design method of a fast angle analog-to-digital converter is characterized by comprising the following steps:
carrying out quadrant processing on the input differential analog sine and differential analog cosine signals carrying the rotation angle information;
and dividing the signals subjected to quadrant processing, and obtaining the binary digital signals of the rotation angle by adopting a semaphore feedback approximation mode, so as to realize the quick conversion from the analog signals to the binary digital signals of the angle.
CN202010441643.5A 2020-05-22 2020-05-22 Rapid angle analog-to-digital converter and design method Active CN111555755B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010441643.5A CN111555755B (en) 2020-05-22 2020-05-22 Rapid angle analog-to-digital converter and design method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010441643.5A CN111555755B (en) 2020-05-22 2020-05-22 Rapid angle analog-to-digital converter and design method

Publications (2)

Publication Number Publication Date
CN111555755A true CN111555755A (en) 2020-08-18
CN111555755B CN111555755B (en) 2023-08-22

Family

ID=72002119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010441643.5A Active CN111555755B (en) 2020-05-22 2020-05-22 Rapid angle analog-to-digital converter and design method

Country Status (1)

Country Link
CN (1) CN111555755B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113702658A (en) * 2021-07-16 2021-11-26 中国石油天然气集团有限公司 Rotating speed measuring device and method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1141472A (en) * 1966-06-20 1969-01-29 Decca Ltd Improvements in or relating to digitisers
US4281316A (en) * 1978-08-11 1981-07-28 The Singer Company Successive approximation S/D converter with inherent quantization error centering
US4370642A (en) * 1977-11-21 1983-01-25 The Singer Company Single non-linear converter ladder network having analog switches with digital control
EP0333070A2 (en) * 1988-03-16 1989-09-20 Tecnospace S.A. Digitalisation method of the value of an angle defined by its sinus and cosinus trigonometric coordinate
CN102879021A (en) * 2012-09-24 2013-01-16 重庆华渝电气仪表总厂 Rotary transformer angle code converting method and converter
CN103532556A (en) * 2013-10-28 2014-01-22 连云港杰瑞电子有限公司 Axial angle signal-to-serial digital signal conversion circuit of single chip
CN105180973A (en) * 2015-10-15 2015-12-23 连云港杰瑞电子有限公司 Single-chip digital-rotary transformer signal conversion method
CN207399182U (en) * 2017-10-17 2018-05-22 中国电子科技集团公司第四十三研究所 D/R converter parallel binary angles code-two-way orthogonal signalling conversion equipment
CN110784223A (en) * 2019-11-05 2020-02-11 连云港杰瑞电子有限公司 Shaft angle-digital conversion circuit and method for single-chip digital quadrant division technology
CN110880937A (en) * 2019-12-24 2020-03-13 中山大学 N bit analog-to-digital converter based on gradual approximation architecture

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1141472A (en) * 1966-06-20 1969-01-29 Decca Ltd Improvements in or relating to digitisers
US4370642A (en) * 1977-11-21 1983-01-25 The Singer Company Single non-linear converter ladder network having analog switches with digital control
US4281316A (en) * 1978-08-11 1981-07-28 The Singer Company Successive approximation S/D converter with inherent quantization error centering
EP0333070A2 (en) * 1988-03-16 1989-09-20 Tecnospace S.A. Digitalisation method of the value of an angle defined by its sinus and cosinus trigonometric coordinate
CN102879021A (en) * 2012-09-24 2013-01-16 重庆华渝电气仪表总厂 Rotary transformer angle code converting method and converter
CN103532556A (en) * 2013-10-28 2014-01-22 连云港杰瑞电子有限公司 Axial angle signal-to-serial digital signal conversion circuit of single chip
CN105180973A (en) * 2015-10-15 2015-12-23 连云港杰瑞电子有限公司 Single-chip digital-rotary transformer signal conversion method
CN207399182U (en) * 2017-10-17 2018-05-22 中国电子科技集团公司第四十三研究所 D/R converter parallel binary angles code-two-way orthogonal signalling conversion equipment
CN110784223A (en) * 2019-11-05 2020-02-11 连云港杰瑞电子有限公司 Shaft angle-digital conversion circuit and method for single-chip digital quadrant division technology
CN110880937A (en) * 2019-12-24 2020-03-13 中山大学 N bit analog-to-digital converter based on gradual approximation architecture

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
吴卫国;: "基于小波变换的高精度旋转变压器信号数字转换电路" *
张敏;: "数字-自整角机转换器的研究" *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113702658A (en) * 2021-07-16 2021-11-26 中国石油天然气集团有限公司 Rotating speed measuring device and method

Also Published As

Publication number Publication date
CN111555755B (en) 2023-08-22

Similar Documents

Publication Publication Date Title
EP0070175B1 (en) Analog-to-digital converters
CN109443451B (en) Motor position speed detection device
CN105978570B (en) High-precision signal processing system of sine and cosine encoder
CN103528612A (en) Method for increasing resolution ratio of absolute rotary encoder
US8402077B2 (en) Amplitude calculation apparatus of output signal of encoder and amplitude calculation program of output signal of encoder
US4486845A (en) Resolver to incremental shaft encoder converter
CN102650532A (en) Method for converting digital signal to synchro/rotary transformer signal
CN112033451A (en) Measuring device and method of encoder and encoder
CN109309498B (en) Current steering type digital-to-analog converter based on thermometer code
CN111555755B (en) Rapid angle analog-to-digital converter and design method
US7969114B2 (en) Motor driving system compatible with different types of encoders
CN207399182U (en) D/R converter parallel binary angles code-two-way orthogonal signalling conversion equipment
CN107666321B (en) Parallel binary angle code-two-path orthogonal signal conversion device of D/R converter
CN201138796Y (en) Improved voltage scaling digital to analog converter
Lygouras Memory reduction in look-up tables for fast symmetric function generators
US5734688A (en) Interpolation pulse generating device with two-step interpolation
KR950004498Y1 (en) Ordered phase current product circuit of ac motor
CN210014799U (en) Motor position and speed detection device
US8040267B2 (en) Decoder device and movement controller
SU1092544A1 (en) Shaft turn angle encoder
SU1088044A2 (en) Shaft turn angle encoder
CN118168449A (en) Motor rotation angle measurement system and method
CN115940945A (en) Single-channel single-ADC analog-to-digital converter sampling precision doubling circuit
JPS63111727A (en) Analog-digital converter
SU1676101A1 (en) Displacement-to-digital transducer

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant