CN111555755B - 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
CN111555755B
CN111555755B CN202010441643.5A CN202010441643A CN111555755B CN 111555755 B CN111555755 B CN 111555755B CN 202010441643 A CN202010441643 A CN 202010441643A CN 111555755 B CN111555755 B CN 111555755B
Authority
CN
China
Prior art keywords
angle
analog
output
switch
approximation
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.)
Active
Application number
CN202010441643.5A
Other languages
Chinese (zh)
Other versions
CN111555755A (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

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 analog angles into digital angle signals; the method is characterized in that input differential analog sine (+SIN, -SIN) and differential analog cosine (+COS, -COS) carrying rotation angle information are processed through a positive-negative quadrant change-over switch, a reverse-cut algorithm DAC resistor array, a binary decoder, a multiple-selection switch, a comparator, an approximation and tracking digital circuit, and a signal quantity feedback approximation mode is adopted to obtain rotation angle binary digital signals. The invention realizes the rapid conversion from the analog signal of the rotation angle information to the angle binary digital signal, improves the accuracy of angle measurement and the real-time of system control feedback, reduces the complexity of a circuit and reduces the area of the circuit.

Description

Rapid angle analog-to-digital converter and design method
Technical field:
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 rapid conversion of angle binary digital signals in an encoder based on analog sine and cosine signals.
The background technology is as follows:
in the field of industrial automation control application of numerical control machine tools, elevators, robots and the like, an encoder is the most commonly used displacement and speed feedback device 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 affected.
Encoders are classified into two types, absolute type and incremental type, according to the encoding modes: an absolute encoder converts each angular position value into a unique corresponding number, so that its output is dependent only on the angular position at the time of measurement and not on the process prior to measurement; the incremental encoder converts rotational angular displacement into periodic electric pulse signals and outputs the signals, and the magnitude of the angular displacement is represented by the number of pulses.
According to the difference of the processed signals, incremental encoders are divided into two types, namely pulse signal-based encoders and sine and cosine signal-based encoders: based on the pulse signal encoder, the processed signals are pulses, only fixed frequency multiplication can be performed, the application field with higher resolution requirement on the real-time position value can not be met, and the method is only applicable to a common automatic control system with lower precision; based on the sine and cosine signal encoder, theoretically, the signal can be processed by arbitrary multiple subdivision through electronics and then output a digital signal, so the encoder based on the sine and cosine signal can be widely applied to occasions with higher subdivision requirements on real-time position values.
The main function of the encoder based on the analog sine and cosine signals is to digitally process the analog sine and cosine signals carrying rotation angle information and input by the sensing element part, namely, the analog sine and cosine signals are processed into digital signal forms of rotation angles through an internal angle analog-digital converter according to a certain rule and output. To a certain extent, the circuit structure and performance of the angle analog-to-digital converter determine the resolution, accuracy and conversion speed of the whole encoder, and further determine the performance of the whole automatic feedback control system; the internal circuit structure of the conventional analog-to-digital converter based on analog sine and cosine signals generally comprises: the device comprises a sine and cosine signal analog-digital conversion circuit, an angle calculation digital circuit, a compensation circuit and a bias protection circuit. The improvement of the performance of the angular analog-to-digital converter in terms of output resolution, accuracy and conversion speed often depends on the improvement of the resolution and accuracy of the analog-to-digital conversion circuit for the sine and cosine signals and the improvement of the computing power of the digital circuit for angle calculation, but this easily increases the complexity of the circuit design and leads to an increase in the circuit area.
The invention comprises the following steps:
aiming at the defects existing in the prior art, the embodiment of the invention aims to provide a rapid angle analog-to-digital converter and a design method thereof so as to solve the problems in the background art.
In order to achieve the above purpose, the present invention provides the following technical solutions:
a fast angle analog-to-digital converter comprising:
positive and negative quadrant change-over switch, inverse cut algorithm DAC resistance array, binary decoder, one-out-of-multiple switch, comparator, approximation and tracking digital circuit, wherein:
the positive-negative quadrant change-over switch is used for processing the differential analog sine signals and the differential analog cosine signals to ensure that the output analog sine signals are positive values and the output analog cosine signals are negative values;
the DAC resistor array is used for generating a partial pressure value between the difference value of the positive analog sine signal and the negative analog cosine signal;
the binary decoder is used for decoding binary angle codes generated by the approximation and tracking digital circuit into decimal angle codes and outputting and controlling the one-to-one switch;
the one-out-of-many switch is used for gating the voltage division value of the DAC resistor array at the decimal angle code of the inverse cutting algorithm and outputting the voltage division value;
the comparator is used for comparing the output voltage division value of the more selected switch with a threshold value.
As a further aspect of the invention, the approximation and tracking digital circuit is configured to generate the correct angle binary code.
As a further scheme of the invention, the positive-negative quadrant change-over switch comprises two alternative switches: sw_sinp and sw_cosn, wherein the sw_sinp switch is used for switching to +sin output when θ input is 0-180 degrees, and switching to-SIN output when θ exceeds 180-360 degrees; the SW_COSN switch is used for switching to-COS output when the theta input is 0-90 degrees or 270-360 degrees, and switching to +COS output when the 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 the SW_SINP switch in the positive and negative quadrant switching switch, the negative input end of the DAC resistor array of the inverse switching algorithm is connected with the output of the SW_COSN switch in the positive and negative quadrant switching switch, and the voltage division value between the difference value of the positive analog sine signal and the negative analog cosine signal is generated through the resistor network.
As a further scheme of the invention, the back-cut algorithm DAC resistor array covers an angle range of 0-90 degrees; the DAC resistance array of the back-cut algorithm comprises 2 N-2 Partial voltage transmission of resistor networkAnd (5) an outlet end.
As a further scheme of the invention, the binary decoder and the one-to-one switch are combined, and 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 back to the inverse cutting algorithm DAC resistor array, and outputting the partial voltage at the theta_code (10) as the selected partial voltage Vsel.
As a further aspect of the present invention, the comparator includes a positive threshold comparator for comparing the output voltage division value Vsel of the more selected switch with the positive threshold Vt, and a negative threshold comparator for comparing the output voltage division value Vsel of the more selected switch with the negative threshold Vt, wherein the positive threshold Vt and the negative threshold Vt are set for the inputs.
As a further aspect of the present invention, the approximation and tracking digital circuit generates the correct angle binary code θ_code (2) by an internal approximation and tracking algorithm using the output signal of the positive threshold comparator and the output signal of the negative threshold comparator and as the final output of the fast angle analog-to-digital converter.
As a further aspect of the present invention, the approximation and tracking digital circuit, the internal approximation and tracking algorithm thereof includes:
when starting, adopting an approximation algorithm to generate a binary code theta_code (2) with a preset angle; when working normally, the tracking algorithm is set as follows:
when the common input end Vsel of the comparator exceeds a set threshold Vt, the approximation and tracking digital circuit counts forward, the representative angle increases until the common input end Vsel of the comparator returns to the set threshold Vt; when the comparator common input Vsel is below the set threshold-Vt, the approximation 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 fast angle analog-to-digital converter, which comprises the following steps:
carrying out quadrant division processing on input differential analog sine and differential analog cosine signals carrying rotation angle information;
the method directly converts the analog sine and analog cosine signals into the angle binary digital signals without generating an intermediate process of the digital sine signals and the digital cosine signals, and realizes the rapid conversion.
The invention has the beneficial effects that:
1. the invention adopts the differential analog sine (+SIN, -SIN) and the differential analog cosine (+COS, -COS) carrying the rotation angle information to pass through the positive and negative quadrant change-over switch, so that the analog sine signals output by the positive and negative quadrant change-over switch are kept positive, the output analog cosine signals are negative, and the digital circuit works in cooperation with the DAC resistor array, approximation and tracking of the inverse switching algorithm;
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 inverse cutting algorithm DAC resistor array, the use of a high-precision sine and cosine analog digital conversion circuit is avoided;
3. the invention adopts the gated partial pressure signal which is output by the inverse cutting algorithm DAC resistor array to directly pass through the comparator, the approximation and the tracking digital circuit, when the invention is started, the approximation algorithm is adopted to generate the preset angle binary code, when the operation is normal, the digital binary code is set as the tracking angle algorithm and is used for generating and outputting the rotation angle information, the direct calculation of the rotation angle binary code by using the sine digital signal and the cosine digital signal is avoided, compared with the prior art, the rotation angle binary code is creatively obtained by adopting the signal quantity approximation mode rather than the direct calculation digital signal quantity mode, the problems of limited resolution and limited precision and calculation delay of the direct calculation digital signal quantity are solved, and the accuracy of angle measurement and the real-time property of system feedback control are improved.
In order to more clearly illustrate the structural features and efficacy of the present invention, the present invention will be described in detail below with reference to the accompanying drawings and examples.
Description of the drawings:
FIG. 1 is a schematic block diagram of an embodiment of the present invention;
FIG. 2 is a schematic diagram of the principle of the positive and negative quadrant switch of the present invention;
fig. 3 is a schematic diagram of the approximation and tracking digital circuit of the present invention.
The specific embodiment is as follows:
the present invention now will be described more fully hereinafter with reference to the accompanying drawings, in which some, but not all embodiments of the invention are shown.
Referring to fig. 1-3, a fast angle analog-to-digital converter is applied to an encoder based on analog sine and cosine signals to fast convert an analog angle into a digital angle signal. The input differential analog sine (+ SIN, -SIN) and differential analog cosine (+ COS, -COS carrying rotation angle information are processed through a positive quadrant switch, a negative quadrant switch, a reverse switching algorithm DAC resistor array, a binary decoder, a multiple-selection switch, a comparator, approximation and tracking digital circuits, and a rotation angle binary digital signal is obtained in a signal quantity feedback approximation mode; the method realizes the rapid conversion from the analog signal of the rotation angle information to the angle binary digital signal, improves the accuracy of angle measurement and the real-time of system control feedback, reduces the complexity of a circuit and reduces the area of the circuit.
The technical scheme is as follows:
a fast angle analog-to-digital converter comprises a positive-negative quadrant switch, a reverse-cut algorithm DAC resistor array, a binary decoder, a multiple-selection switch, a comparator and an approximation and tracking digital circuit,
wherein:
preferably, the positive and negative quadrant switch comprises a switch SW_SINP and a switch SW_COSN, wherein two input ends of the switch SW_SINP are connected with analog sine (+SIN, -SIN) and are used for switching the switch SW_SINP into +SIN output when the theta input is 0-180 degrees, and switching the switch SW_SINP into-SIN output when the theta exceeds 180-360 degrees and are used for keeping the switch SW_SINP output positive; the two inputs of the SW_COSN switch are connected with analog cosine signals (+ COS, -COS) and are used for switching the SW_COSN switch into-COS output when the theta input is 0-90 degrees or 270-360 degrees, and switching the SW_COSN switch into +COS output when the theta exceeds 90-270 degrees and used for keeping the SW_COSN switch output to be negative; wherein θ is an angle value generated by the approximation and tracking digital circuit;
preferably, the DAC resistor array of the back-cut algorithm comprises a positive input end, a negative input end and 2 N-2 A resistor array positive input terminal connected to the output of the SW_SINP switch in the positive and negative quadrant switch, and a resistor array negative input terminal connected to the output of the SW_COSN switch in the positive and negative quadrant switch, 2 N-2 The output ends cover an output range of 0-90 degrees and are all connected with the multi-signal input ends of the multi-selection switch; wherein, N is the resolution of the angle digital signal, namely the angle binary digital signal finally output by the rapid 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 is used as a signal negative feedback regulation mode, and the output end is connected with the gating control end of the one-to-many switch and is used for decoding a binary angle code theta_code (2) of the input end of the binary decoder into a decimal angle code theta_code (10) and outputting the decimal angle code theta_code (10);
preferably, the one-to-many switch comprises a multi-signal input end, a gating control end and an output end, wherein the multi-signal input end is connected with the output end of the DAC resistor array of the inverse switching algorithm, 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 DAC resistor array of the inverse switching algorithm to serve as the output Vsel of the one-to-many switch, and the output Vsel of the one-to-many switch is input to the public input end of the comparator; wherein the decimal angle code theta_code (10) has the following relation with the angle value theta:
the partial voltage Vr at the theta_code (10) of the DAC resistor array of the above-mentioned inverse cutting algorithm has the following relationship with the angle value theta:
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 a positive threshold Vt, the inverting input end of the negative threshold comparator is connected with a threshold-Vt, the inverting input end of the positive threshold comparator and the homodromous input end of the negative threshold comparator are commonly connected as a 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 a set comparison threshold; wherein a positive threshold Vt and a negative threshold-Vt are set for the input;
preferably, the approximation and tracking digital circuit comprises two input terminals and an output terminal, wherein the two input terminals are respectively connected with 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 is also used as the final output of the fast angle analog-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, adopting an approximation algorithm to generate a binary code theta_code (2) with a preset angle;
2) When working normally, the tracking algorithm is set as follows:
2a) When the common input end Vsel of the comparator exceeds a set threshold Vt, the approximation and tracking digital circuit counts forward, the representative angle increases until the common input end Vsel of the comparator returns to the set threshold Vt;
2b) When the common input end Vsel of the comparator is lower than the set threshold value-Vt, the approximation and tracking digital circuit performs backward counting, and the representative angle is reduced until the common input end Vsel of the comparator returns to the set threshold value-Vt;
preferably, the approximation and tracking digital circuit generates the preset angle binary code θ_code (2) by using a dichotomy as an approximation algorithm when the approximation and tracking digital circuit is started.
In addition, the invention also provides a design method of the fast angle analog-to-digital converter, which comprises the following steps: the input differential analog sine (+ SIN, -SIN) and differential analog cosine (+ COS, -COS) carrying rotation angle information are subjected to digital processing, the analog sine and the analog cosine are directly converted into angle binary digital signals, and the intermediate process of digital sine signals and digital cosine signals is not generated; the method adopts a CMOS integrated circuit process and a digital-analog hybrid integrated circuit design method; the circuit is integrated on a single chip, so that the rapid conversion from an analog signal with the rotation angle information carried by the input end to an angle binary digital signal is realized.
According to the invention, differential analog sine (+SIN, -SIN) and differential analog cosine (+COS, -COS) carrying rotation angle information are used for keeping the analog sine signals output by the positive and negative quadrant change-over switch positive and the analog cosine signals output by the positive and negative quadrant change-over switch negative, and the digital circuit is matched with the DAC resistor array, approximation and tracking of the inverse switching algorithm to work, so that compared with the prior art, the 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 the positive input end and the negative input end of the inverse cutting algorithm DAC resistor array, so that a high-precision sine and cosine analog digital conversion circuit is avoided, compared with the prior art, the intermediate process of the sine digital signal and the cosine digital signal is not generated, the signal processing process of high-precision sine and cosine analog digital conversion is omitted innovatively, the efficiency is improved, and the area of the circuit is reduced; the gating partial pressure signal output by the DAC resistor array of the back-cut algorithm is directly passed through a comparator, an approximation and a tracking digital circuit, when the gating partial pressure signal is started, a preset angle binary code is generated by adopting an approximation algorithm, when the gating partial pressure signal works normally, the gating partial pressure signal is set as a tracking angle algorithm, and is used for generating and outputting the digital binary code of the rotation angle information, so that the direct calculation of the rotation angle binary code by using a sine digital signal and a cosine digital signal is avoided.
The following provides specific examples of the invention
Example 1
Referring to fig. 1, a fast angle analog-to-digital converter comprises a positive-negative quadrant switch, a reverse-cut algorithm DAC resistor array, a binary decoder, a one-to-many switch, a comparator, an approximation and tracking digital circuit, wherein:
referring to fig. 2, the positive and negative quadrant switch comprises a switch sw_sinp and a switch sw_cosn, wherein two inputs of the switch sw_sinp are connected with analog sine (+sin, -SIN) for switching the switch sw_sinp to +sin output when the θ input is 0-180 degrees, and switching the switch sw_sinp to-SIN output for keeping the switch sw_sinp output positive when the θ exceeds 180-360 degrees; the two inputs of the SW_COSN switch are connected with analog cosine signals (+ COS, -COS) and are used for switching the SW_COSN switch into-COS output when the theta input is 0-90 degrees or 270-360 degrees, and switching the SW_COSN switch into +COS output when the theta exceeds 90-270 degrees and used for keeping the SW_COSN switch output to be negative; wherein θ is an angle value generated by the approximation and tracking digital circuit; the DAC resistor array of the back-cut algorithm comprises a positive input end, a negative input end and 2 N-2 A resistor array positive input terminal connected to the output of the SW_SINP switch in the positive and negative quadrant switch, and a resistor array negative input terminal connected to the output of the SW_COSN switch in the positive and negative quadrant switch, 2 N-2 The output ends cover an output range of 0-90 degrees and are connected to the multi-signal input ends of the multi-selection switch; in this embodiment, n=10, i.e. the angle number is takenThe resolution of the signal is 10, and the total of DAC resistance array of the back-cut algorithm is 2 N-2 =2 10-2 256 output ends, covering an output range of 0-90 degrees; 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 is used as a signal negative feedback regulation mode, and the output end is connected with a gating control end of the one-to-many switch and is used for decoding a binary angle code theta_code (2) of the input end of the binary decoder into a decimal angle code theta_code (10) and outputting the decimal angle code theta_code (10);
the multi-select switch comprises a multi-signal input end, a gating control end and an output end, wherein the multi-signal input end is connected with the output end of the DAC resistor array of the anti-switching algorithm, 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 DAC resistor array of the anti-switching algorithm to serve as the output Vsel of the multi-select switch, and the output Vsel of the multi-select switch is input to the public input end of the comparator; in the present embodiment, the decimal angle code θ_code (10) has the following relationship with the angle value θ:
in this embodiment, the partial voltage Vr at the θ_code (10) of the DAC resistor array has the following relationship with the angle value θ:
Vr×(SIN(θ)+COS(θ))=COS(θ) (2)
specific examples in this embodiment are as follows:
1) When θ=0, θ_code (10) =0 is obtained from equation (1), and then the partial pressure vr=1 at 0 is obtained from equation (2)
2) When θ=90, θ_code (10) =255 is obtained from equation (1), and then the partial pressure vr=0 at 255 is obtained from equation (2);
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 a positive threshold Vt, the inverting input end of the negative threshold comparator is connected with a threshold-Vt, the inverting input end of the positive threshold comparator and the homodromous input end of the negative threshold comparator are commonly connected as a 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 a set comparison threshold; wherein a positive threshold Vt and a negative threshold-Vt are set for the input;
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, and an output end signal is used as the output of the approximation and tracking digital circuit and also used as the final output of the fast angle analog-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 binary code theta_code (2) with a preset angle, and in the embodiment, a dichotomy is specifically adopted as the approximation algorithm.
2) When working normally, setting a tracking angle algorithm, referring to fig. 3:
2a) When the common input end Vsel of the comparator exceeds a set threshold Vt, the approximation and tracking digital circuit counts forward, the representative angle increases until the common input end Vsel of the comparator returns to the set threshold Vt;
2b) When the comparator common input Vsel is below the set threshold-Vt, the approximation 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 angle binary digital signal, improves the accuracy of angle measurement and the real-time of system control feedback, reduces the complexity of a circuit and reduces the area of the circuit.
The technical principle of the present invention has been described above in connection with specific embodiments, but is only the preferred embodiment 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 concept 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 effort and are intended to fall within the scope of the invention.

Claims (6)

1. A fast angle analog-to-digital converter, comprising:
positive and negative quadrant change-over switch, inverse cut algorithm DAC resistance array, binary decoder, one-out-of-multiple switch, comparator, approximation and tracking digital circuit, wherein: the positive-negative quadrant change-over switch is used for processing differential analog sine signals and differential analog cosine signals to enable output analog sine signals to be positive values and output analog cosine signals to be negative values, and comprises two alternative switches: sw_sinp and sw_cosn, wherein the sw_sinp switch is used for switching to +sin output when θ input is 0-180 degrees, and switching to-SIN output when θ exceeds 180-360 degrees; the SW_COSN switch is used for switching to-COS output when the theta input is 0-90 degrees or 270-360 degrees, and switching to +COS output when the theta exceeds 90-270 degrees; wherein θ is an angle value generated by the approximation and tracking digital circuit;
the DAC resistor array is used for generating a partial pressure value between the difference value of the positive analog sine signal and the negative analog cosine signal;
the binary decoder is used for decoding binary angle codes generated by the approximation and tracking digital circuit into decimal angle codes and outputting and controlling the one-to-one switch;
the one-out-of-many switch is used for gating the voltage division value of the DAC resistor array at the decimal angle code of the inverse cutting algorithm and outputting the voltage division value;
the comparator is used for comparing the output voltage division value of the more than one switch with a threshold value, the comparator comprises a positive threshold comparator and a negative threshold comparator, the positive threshold comparator is used for comparing the output voltage division value Vsel of the more than one switch with a positive threshold Vt, the negative threshold comparator is used for comparing the output voltage division value Vsel of the more than one switch with a negative threshold-Vt, the positive threshold Vt and the negative threshold-Vt are set for input, the approximation and tracking digital circuit generates a correct angle binary code theta_code (2) through an internal approximation and tracking algorithm by utilizing the output signal of the positive threshold comparator and the output signal of the negative threshold comparator and is used as the final output of the fast angle analog-digital converter, and the internal approximation and tracking digital circuit comprises: when starting, adopting an approximation algorithm to generate a binary code theta_code (2) with a preset angle; when working normally, the tracking algorithm is set as follows: when the common input end Vsel of the comparator exceeds a set threshold Vt, the approximation and tracking digital circuit counts forward, the representative angle increases until the common input end Vsel of the comparator returns to the set threshold Vt; when the comparator common input Vsel is below the set threshold-Vt, the approximation and tracking digital circuit counts back, representing a decrease in angle, until the comparator common input Vsel returns to the set threshold-Vt.
2. A fast angle analog to digital converter as claimed in claim 1, in which said approximation and tracking digital circuits are used to generate the correct angle binary code.
3. A fast angle analog to digital converter according to claim 2, in which the positive input of the inverse switching algorithm DAC resistor array is connected to the output of the sw_sinp switch in the positive and negative quadrant switches, and the negative input is connected to the output of the sw_cosn switch in the positive and negative quadrant switches, and the voltage division value between the positive analog sine signal and the negative analog cosine signal difference is generated through the resistor network.
4. A fast angle analog to digital converter according to claim 3, in which said inverse cutting algorithm DAC resistor array covers an angular range of 0 degrees to 90 degrees; the DAC resistor array of the back-cut algorithm comprises 2N-2 resistor network voltage division output ends.
5. A fast angle analog to digital converter according to claim 4, in which said binary decoder and one-to-many switch are combined for decoding a binary angle code θ_code (2) generated by the approximation and tracking digital circuit into a decimal angle code θ_code (10) and feeding back to the inverse cut algorithm DAC resistor array and outputting the divided voltage at θ_code (10) as a selected divided voltage Vsel.
6. A method of designing a fast angle analog to digital converter, adapted for use in a fast angle analog to digital converter as claimed in any one of claims 1 to 5, comprising the steps of:
carrying out quadrant division processing on input differential analog sine and differential analog cosine signals carrying rotation angle information;
and obtaining the binary digital signal of the rotation angle by adopting a signal quantity feedback approximation mode for the signal after the split quadrant processing, and realizing the rapid conversion from the analog signal to the binary digital signal 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 CN111555755A (en) 2020-08-18
CN111555755B true 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)

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 (1)

* Cited by examiner, † Cited by third party
Title
吴卫国 ; .基于小波变换的高精度旋转变压器信号数字转换电路.现代电子技术.2013,(第14期),全文. *

Also Published As

Publication number Publication date
CN111555755A (en) 2020-08-18

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
US4486845A (en) Resolver to incremental shaft encoder converter
US20070297535A1 (en) Amplitude calculation apparatus of output signal of encoder and amplitude calculation program of output signal of 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
US6011502A (en) Pseudo two-step current-mode analog-to-digital converter
CN103840833A (en) Analog-digital conversion circuit of infrared focal plane array reading circuit
US7969114B2 (en) Motor driving system compatible with different types of encoders
US6608573B2 (en) Automatic resolution changing method and circuit for use in digital conversion of two-phase sinusoidal wave signals
CN112383309A (en) Analog-to-digital conversion circuit of magnetoelectric revolution speed sensor
CN207399182U (en) D/R converter parallel binary angles code-two-way orthogonal signalling conversion equipment
CN109855661A (en) A kind of incremental encoder signal processing method and system
US5572018A (en) Method and apparatus to detect absolute position using encoder having a counter clear signal
JP3201120B2 (en) Multi-rotation type absolute encoder
CN111224679B (en) Z phase signal generating circuit and encoder
CN210183317U (en) Specific-range high-precision successive approximation type 8-bit analog-to-digital conversion circuit
JPH04172203A (en) Serial encoder
Lygouras Memory reduction in look-up tables for fast symmetric function generators
CN107666321B (en) Parallel binary angle code-two-path orthogonal signal conversion device of D/R converter
US8040267B2 (en) Decoder device and movement controller
KR950004498Y1 (en) Ordered phase current product circuit of ac motor
SU1029143A1 (en) Digital-analog servo system
CN115940945A (en) Single-channel single-ADC analog-to-digital converter sampling precision doubling circuit

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