Sine and cosine angle transcoding tracking converter and electronic equipment

By introducing a tracking module and a cosine signal correction unit into the angle transcoding tracking converter, the accuracy problem of traditional converters when processing sinusoidal and cosine signals is solved, and higher conversion accuracy and accuracy are achieved.

CN119533530APending Publication Date: 2025-02-28GUANGDONG INST OF SEMICON IND TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411532389.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

Traditional angle transcoding tracking converters are susceptible to errors such as bias voltage, amplitude imbalance and phase shift when processing sinusoidal and cosine signals, resulting in a decrease in conversion accuracy.

Method used

A sine cosine angle transcoding tracking converter is designed, including a tracking module, a temperature sensor, a sine cosine signal correction unit and a conversion unit. Accurate sinusoidal and cosine correction signals are generated by the closed feedback loop of the tracking module and the temperature correction and amplitude correction of the sine cosine signal correction unit, thereby reducing the conversion error.

Benefits of technology

It effectively reduces the conversion error, improves the conversion accuracy of the sine and cosine signals, and ensures the accuracy of the final conversion result.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119533530A_ABST
    Figure CN119533530A_ABST
Patent Text Reader

Abstract

The invention provides a sine and cosine angle transcoding tracking converter and electronic equipment, a tracking module performs tracking processing according to externally input sine voltage and cosine voltage so as to output sine codes and cosine codes to a sine and cosine signal correction unit; the sine and cosine signal correction unit generates a sine correction signal and a cosine correction signal according to the current temperature, the sine code and the cosine code transmitted by the temperature sensor, and transmits the sine correction signal and the cosine correction signal to the conversion unit; the conversion unit generates an angle output code according to the sine correction signal and the cosine correction signal. And a closed feedback loop is arranged in the tracking module, so that the sine code and the cosine code can change along with the sine voltage and the cosine voltage, thereby reducing the conversion error and ensuring the accuracy of the final conversion result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the fields of aerospace, precision instruments and intelligent manufacturing, and in particular to a sine-cosine angle transcoding tracking converter and electronic equipment. Background Art

[0002] Angle transcoding tracking converters are widely used in aerospace, precision instrument manufacturing, signal processing, intelligent manufacturing and other fields. They provide high-precision angle and position measurement and maintain equipment stability and safety in some equipment that requires high precision and high reliability.

[0003] When processing sine and cosine signals, traditional angle-converting tracking converters are often affected by errors such as bias voltage, amplitude imbalance, and phase shift, resulting in reduced conversion accuracy. The CORDIC (Coordinate Rotation Digital Computer) algorithm is an effective method for calculating trigonometric functions and other mathematical functions. It converts the target function into a rotation problem and approximates the value of the target function through a series of rotation operations. Therefore, it is necessary to develop an angle-converting tracking converter with error correction function to solve the above problems. Summary of the invention

[0004] The object of the present invention is to provide a sine-cosine angle transcoding tracking converter and an electronic device to improve the above-mentioned problem.

[0005] In order to achieve the above purpose, the technical solution adopted by the embodiment of the present invention is as follows:

[0006] In a first aspect, an embodiment of the present invention provides a sine-cosine angle conversion tracking converter, the sine-cosine angle conversion tracking converter comprising: a tracking module, a temperature sensor, a sine-cosine signal correction unit and a conversion unit, the sine-cosine signal correction unit being connected to the tracking module, the temperature sensor and the conversion unit respectively;

[0007] The tracking module is used to perform tracking processing according to the externally input sine voltage and cosine voltage, so as to output the sine code and cosine code to the sine-cosine signal correction unit;

[0008] Wherein, the current phase angle changes with the current input angle, the current phase angle is the phase angle corresponding to the sine code and the cosine code, and the current input angle is the input angle corresponding to the sine voltage and the cosine voltage;

[0009] The sine-cosine signal correction unit is used to generate a sine correction signal and a cosine correction signal according to the current temperature transmitted by the temperature sensor, the sine code and the cosine code, and transmit the sine correction signal and the cosine correction signal to the conversion unit;

[0010] The conversion unit is used to generate an angle output code according to the sine correction signal and the cosine correction signal.

[0011] In a second aspect, an embodiment of the present invention provides an electronic device, comprising the above-mentioned sine-cosine angle transcoding tracking converter.

[0012] Compared with the prior art, the embodiment of the present invention provides a sine-cosine angle transcoding tracking converter and electronic device, including: a tracking module, a temperature sensor, a sine-cosine signal correction unit and a conversion unit, wherein the sine-cosine signal correction is connected to the tracking module, the temperature sensor and the conversion unit respectively; the tracking module is used to perform tracking processing according to the externally input sine voltage and cosine voltage to output sine code and cosine code to the sine-cosine signal correction unit; wherein the current phase angle changes with the current input angle, the current phase angle is the phase angle corresponding to the sine code and the cosine code, and the current input angle is the input angle corresponding to the sine voltage and the cosine voltage; the sine-cosine signal correction unit is used to generate a sine correction signal and a cosine correction signal according to the current temperature, the sine code and the cosine code transmitted by the temperature sensor, and transmit the sine correction signal and the cosine correction signal to the conversion unit; the conversion unit is used to generate an angle output code according to the sine correction signal and the cosine correction signal. A closed feedback loop is provided inside the tracking module so that the sine code and the cosine code can change with the sine voltage and the cosine voltage, thereby reducing the conversion error and ensuring the accuracy of the final conversion result.

[0013] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0015] Figure 1 A schematic diagram of the structure of a sine-cosine angle transcoding tracking converter provided in an embodiment of the present invention.

[0016] Figure 2 A schematic diagram of the structure of a tracking module provided in an embodiment of the present invention.

[0017] Figure 3 A schematic diagram of the structure of a sine-cosine signal correction unit provided in an embodiment of the present invention.

[0018] In the figure: 10-tracking module; 20-temperature sensor; 30-sine and cosine signal correction unit; 40-conversion unit; 101-first multiplier; 102-second multiplier; 103-error subtraction amplifier; 104-counting pulse generator; 105-reversible counter; 106-sine and cosine code generation unit; 310-sine channel; 311-third adder; 312-fourth adder; 313-sine temperature correction unit; 314-sine amplitude correction unit; 320-cosine channel; 321-fifth adder; 322-sixth adder; 323-cosine temperature correction unit; 324-cosine amplitude correction unit; 330-first adder; 340-second adder; 350-third multiplier; 360-fourth multiplier. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0020] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0021] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0022] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "disposed" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0023] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0024] Please refer to Figure 1 , Figure 1 A schematic diagram of the structure of a sine-cosine angle transcoding tracking converter provided in an embodiment of the present invention. Figure 1 In represents sinusoidal coding, represents cosine code, Tcode represents the current temperature, represents the sinusoidal correction signal, Represents the cosine correction signal.

[0025] The sine-cosine angle transcoding tracking converter comprises: a tracking module 10, a temperature sensor 20, a sine-cosine signal correction unit 30 and a conversion unit 40, and the sine-cosine signal correction unit is connected to the tracking module 10, the temperature sensor 20 and the conversion unit 40 respectively.

[0026] The tracking module 10 is used to perform tracking processing according to the externally input sine voltage and cosine voltage, so as to output the sine code and cosine code to the sine-cosine signal correction unit 30 .

[0027] Among them, the current phase angle changes with the current input angle, the current phase angle is the phase angle corresponding to the sine code and the cosine code, and the current input angle is the input angle corresponding to the sine voltage and the cosine voltage.

[0028] The sine-cosine signal correction unit 30 is used to generate a sine correction signal and a cosine correction signal according to the current temperature, sine code and cosine code transmitted by the temperature sensor 20 , and transmit the sine correction signal and the cosine correction signal to the conversion unit 40 .

[0029] The conversion unit 40 is used to generate an angle output code according to the sine correction signal and the cosine correction signal.

[0030] Among them, the angle output code is also called Angle output code, which can be expressed as

[0031] In the sine-cosine angle transcoding tracking converter provided in an embodiment of the present invention, a closed feedback loop is arranged inside the tracking module so that the sine code and the cosine code can change with the sine voltage and the cosine voltage, thereby reducing the conversion error and ensuring the accuracy of the final conversion result.

[0032] exist Figure 1 Based on the specific structure of the tracking module, the embodiment of the present invention also provides an optional implementation method, please refer to Figure 2 , Figure 2 The structure diagram of the tracking module provided by the embodiment of the present invention. In the figure, USin(θ) represents the sine voltage, UCos(θ) represents the cosine voltage, represents sinusoidal coding, represents cosine coding, Indicates pulse signal (used to indicate conversion error Err), UP indicates increasing signal, DN indicates decreasing signal, Indicates the current phase angle, Tcode indicates the current temperature, represents the sinusoidal correction signal, represents the cosine correction signal, Indicates the angle output encoding.

[0033] The tracking module 10 includes: a first multiplier 101 , a second multiplier 102 , an error subtraction amplifier 103 , a counting pulse generator 104 , a reversible counter 105 and a sine-cosine code generation unit 106 .

[0034] The first input terminal of the first multiplier 101 is used to receive the sinusoidal voltage. The second input terminal of the first multiplier 101 is connected to the cosine code output terminal of the sine-cosine code generation unit 106, and receives the cosine code output by the sine-cosine code generation unit 106. The output terminal of the first multiplier 101 is connected to the first input terminal of the error subtraction amplifier 103.

[0035] The first input terminal of the second multiplier 102 is used to receive the cosine voltage. The second input terminal of the second multiplier 102 is connected to the sine code output terminal of the sine-cosine code generation unit 106, and is used to receive the sine code output by the sine-cosine code generation unit 106. The output terminal of the second multiplier 102 is connected to the second input terminal of the error subtraction amplifier 103.

[0036] An output terminal of the error subtraction amplifier 103 is connected to an input terminal of the counting pulse generator 104 .

[0037] The output end of the counting pulse generator 104 is connected to the input end of the up / down counter 105 , and the output end of the up / down counter 105 is connected to the input end of the sine / cosine code generating unit 106 .

[0038] The sine code output terminal and the cosine code output terminal of the sine-cosine code generation unit 106 are also connected to the sine-cosine signal correction unit 30 .

[0039] Optionally, the first multiplier 101 is used to multiply the sinusoidal voltage by the cosine code, and transmit the obtained first multiplication result to the error subtraction amplifier 103 .

[0040] The second multiplier 102 is used for multiplying the cosine voltage by the sine code, and transmitting the obtained second multiplication result to the error subtraction amplifier 103 .

[0041] The error subtraction amplifier 103 is used to obtain a relative difference between the first multiplication result and the second multiplication result, amplify the relative difference to generate a pulse signal, and transmit the pulse signal to the counting pulse generator 104 .

[0042] The relative difference between the first multiplication result and the second multiplication result is the difference between the first multiplication result and the second multiplication result.

[0043] The counting pulse generator 104 is used to output an increasing signal when the pulse signal is a high-level signal, and to output a decreasing signal when the pulse signal is a low-level signal.

[0044] Optionally, when the counting pulse generator 104 receives a pulse signal, the value of the register inside it will increase by 1 or decrease by 1. If multiple pulse signals are received continuously, the value of the register will continue to increase or decrease. The counting pulse generator 104 will generate an increasing or decreasing output signal according to the value of the register. This output signal can be a digital signal, indicating the number of pulses that have been counted. The signal is determined by the sign and size of the mismatch.

[0045] The reversible counter 105 is used to generate a current phase angle according to the current input angle and the output signal of the counting pulse generator 104 , and transmit the current phase angle to the sine-cosine code generation unit 106 .

[0046] The sine and cosine code generation unit 106 is used to generate new sine codes and cosine codes according to the current phase angle.

[0047] The sine and cosine code generation unit 106 can be implemented in a variety of ways - it can be in the form of a table of sines and cosines in a ROM, where the row select address is counter encoded (including using low-order interpolation), it can also be in the form of a "rotation" mode of a CORDIC module, or in the form of calculating a direct mathematical function in a variety of ways, which are not limited here.

[0048] The output end of the sine-cosine code generation unit 106 in the tracking module provided in the jewelry box of the present invention is connected to the input end of the first multiplier 101 and the second multiplier 102 respectively, thereby closing the feedback loop and forming a tracking system to minimize the conversion error Err.

[0049] exist Figure 1 Based on the structure of the sine and cosine signal correction unit, the embodiment of the present invention also provides an optional implementation. Please refer to Figure 3 , Figure 3 A schematic diagram of the structure of a sine-cosine signal correction unit provided in an embodiment of the present invention.

[0050] The sine-cosine signal correction unit 30 includes a sine channel 310 , a cosine channel 320 , a first adder 330 , a second adder 340 , a third multiplier 350 , and a fourth multiplier 360 .

[0051] A first input end of the sine channel 310 is connected to the sine code output end of the sine-cosine code generation unit 106 (or connected to the sine code output end of the tracking module 10), a second input end of the sine channel 310 is connected to the output end of the temperature sensor 20, and the output end of the sine channel 310 is respectively connected to the first input end of the first adder 330 and the input end of the fourth multiplier 360.

[0052] The first input end of the cosine channel 320 is connected to the cosine code output end of the sine-cosine code generation unit 106, the second input end of the cosine channel 320 is connected to the output end of the temperature sensor 20, and the output end of the cosine channel 320 is respectively connected to the first input end of the second adder 340 and the input end of the third multiplier 350.

[0053] An output terminal of the third multiplier 350 is connected to a second input terminal of the first adder 330 , and an output terminal of the fourth multiplier 360 is connected to a second input terminal of the second adder 340 .

[0054] The sinusoidal channel 310 is used to generate a sinusoidal primary order correction signal (Usa) according to the sinusoidal code and the current temperature, and transmit the sinusoidal primary order correction signal to the first adder 330 and the fourth multiplier 360 .

[0055] The cosine channel 320 is used to generate a cosine primary order correction signal (Uca) according to the cosine code and the current temperature, and transmit the cosine primary order correction signal to the second adder 340 and the third multiplier 350 .

[0056] The third multiplier 350 is used to multiply the cosine primary-order correction signal by the correction factor and transmit the obtained cosine product to the first adder 330 .

[0057] The first adder 330 is used for adding the product of the sinusoidal primary-order correction signal and the cosine signal to obtain a sinusoidal correction signal.

[0058] The fourth multiplier 360 is used for multiplying the sinusoidal primary-order correction signal by the correction factor and transmitting the obtained sinusoidal product to the second adder 340 .

[0059] The second adder 340 is used to add the sine product of the cosine primary-order correction signal to obtain a cosine correction signal.

[0060] Optionally, the formula for the sine correction signal and the formula for the cosine correction signal are:

[0061]

[0062] in, represents the sinusoidal correction signal, represents the cosine correction signal, Usa represents the sine primary-order correction signal, Uca represents the cosine primary-order correction signal, and Gp represents the correction factor.

[0063] The phase shift introduced by the sine-cosine signal correction unit 30 is The input signal is converted into a proportional factor A.

[0064] Regarding the specific structure of the sine channel and the cosine channel, the embodiment of the present invention also provides an optional implementation method, please continue to refer to Figure 3 .

[0065] The sinusoidal channel 310 includes a third adder 311 , a fourth adder 312 , a sinusoidal temperature correction unit 313 , and a sinusoidal amplitude correction unit 314 .

[0066] The first input end of the third adder 311 is connected to the sine code output end of the sine-cosine code generation unit 106 as the first input end of the sine channel 310, and receives the sine code. The second input end of the third adder 311 is used to receive the digital offset value (OFFs) of the sine channel 310, and the output end of the third adder 311 is connected to the first input end of the fourth adder 312.

[0067] The input end of the sinusoidal temperature correction unit 313 is connected to the output end of the temperature sensor 20 (for accessing Tcode) as the second input end of the sinusoidal channel 310 , and the output end of the sinusoidal temperature correction unit 313 is connected to the second input end of the fourth adder 312 .

[0068] The sinusoidal temperature correction unit 313 is used to perform a preliminary correction on the current temperature to obtain a sinusoidal temperature correction signal (OFFTs(Tcode)), and transmit the signal to the fourth adder 312 .

[0069] Optionally, the sinusoidal temperature correction unit 313 is used to determine a sinusoidal temperature correction signal (OFFTs(Tcode)) according to the current temperature (Tcode) and the corresponding adjustment coefficient. The implementation of the OFFTs=f(Tcode) function can be adopted, such as a second-order polynomial, table data, or table data with intermediate value interpolation.

[0070] The output end of the fourth adder 312 is connected to the input end of the sine amplitude correction unit 314 , and the output end of the sine amplitude correction unit 314 serves as the output end of the sine channel 310 .

[0071] The fourth adder 312 is used to add the output signal of the third adder 311 The output signal (OFFs(Tcode)) of the sinusoidal temperature correction unit 313 is added, and the added signal is transmitted to the sinusoidal amplitude correction unit 314.

[0072] The sine amplitude correction unit 314 is used for multiplying the output signal of the fourth adder 312 by the sine amplitude correction coefficient (Gs) to obtain a sine primary order correction signal (Usa).

[0073] Optionally, the expression of the sinusoidal primary-order correction signal is:

[0074]

[0075] Among them, Usa represents the sinusoidal primary correction signal, Gs represents the sinusoidal amplitude correction coefficient, Represents sinusoidal coding, OFFs represents the digital offset value of the sinusoidal channel, and OFFs(Tcode) represents the sinusoidal temperature correction signal.

[0076] The cosine channel 320 includes a fifth adder 321 , a sixth adder 322 , a cosine temperature correction unit 323 , and a cosine amplitude correction unit 324 .

[0077] The first input end of the fifth adder 321 is connected to the cosine code output end of the sine-cosine code generation unit 106 (or connected to the cosine code output end of the tracking module 10) as the first input end of the cosine channel 320, and receives the cosine code. The second input end of the fifth adder 321 is used to receive the digital offset value (OFFc) of the cosine channel 320, and the output end of the fifth adder 321 is connected to the first input end of the sixth adder 322.

[0078] The input end of the cosine temperature correction unit 323 is connected to the output end of the temperature sensor 20 (for accessing Tcode) as the second input end of the cosine channel 320 , and the output end of the cosine temperature correction unit 323 is connected to the second input end of the sixth adder 322 .

[0079] The cosine temperature correction unit 323 is used to perform a preliminary correction on the current temperature to obtain a cosine temperature correction signal (OFFc(Tcode)), and transmit the cosine temperature correction signal to the sixth adder 322 .

[0080] The implementation logic of the cosine temperature correction unit 323 is similar to that of the sine temperature correction unit 313 , and both can complete temperature correction based on the adjustment coefficient, which will not be described in detail here.

[0081] The output end of the sixth adder 322 is connected to the input end of the cosine amplitude correction unit 324 , and the output end of the cosine amplitude correction unit 324 serves as the output end of the cosine channel 320 .

[0082] The sixth adder 322 is used to add the output signal of the fifth adder 321 The output signal (OFFc(Tcode)) of the cosine temperature correction unit 323 is added, and the added signal is transmitted to the cosine amplitude correction unit 324.

[0083] The cosine amplitude correction unit 324 is used for multiplying the output signal of the sixth adder 322 by the cosine amplitude correction coefficient (Gc) to obtain a cosine primary order correction signal (Uca).

[0084] Optionally, the expression of the cosine first-order correction signal is:

[0085]

[0086] Among them, Uca represents the cosine primary order correction signal, Gc represents the cosine amplitude correction coefficient, represents cosine coding, OFFc represents the digital offset value of the cosine channel, and OFFc(Tcode) represents the cosine temperature correction signal.

[0087] It should be understood that the sinusoidal correction signal and cosine correction signal is sent to the conversion unit 40, which can correct the phase shift introduced by the sin-cos signal correction unit 30 based on the phase shift The input signal is converted into a proportional factor A, which determines the angle output code

[0088] The conversion unit 40 may be, but is not limited to, a CORDIC converter in a vector mode.

[0089] The sine-cosine angle transcoding tracking converter proposed in the embodiment of the present invention can correct the basic defects of the sine-cosine signals caused by the imperfections of the sensor system and the analog processing path.

[0090] The embodiment of the present invention further provides an electronic device, which includes the above-mentioned sine-cosine angle transcoding tracking converter. The electronic device can be a motor, aerospace equipment, a precision measuring instrument, an industrial robot, and other equipment.

[0091] In summary, the embodiment of the present invention provides a sine-cosine angle transcoding tracking converter and electronic device, including: a tracking module, a temperature sensor, a sine-cosine signal correction unit and a conversion unit, wherein the sine-cosine signal correction is connected to the tracking module, the temperature sensor and the conversion unit respectively; the tracking module is used to perform tracking processing according to the externally input sine voltage and cosine voltage to output sine code and cosine code to the sine-cosine signal correction unit; wherein the current phase angle changes with the current input angle, the current phase angle is the phase angle corresponding to the sine code and the cosine code, and the current input angle is the input angle corresponding to the sine voltage and the cosine voltage; the sine-cosine signal correction unit is used to generate a sine correction signal and a cosine correction signal according to the current temperature, the sine code and the cosine code transmitted by the temperature sensor, and transmit the sine correction signal and the cosine correction signal to the conversion unit; the conversion unit is used to generate an angle output code according to the sine correction signal and the cosine correction signal. A closed feedback loop is provided inside the tracking module so that the sine code and the cosine code can change with the sine voltage and the cosine voltage, thereby reducing the conversion error and ensuring the accuracy of the final conversion result.

[0092] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

[0093] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

Claims

1. A sine-cosine angle transcoding tracking converter, characterized in that: The sine-cosine angle transcoding tracking converter comprises: a tracking module, a temperature sensor, a sine-cosine signal correction unit and a conversion unit, wherein the sine-cosine signal correction unit is connected to the tracking module, the temperature sensor and the conversion unit respectively; The tracking module is used to perform tracking processing according to the externally input sine voltage and cosine voltage, so as to output the sine code and cosine code to the sine-cosine signal correction unit; Wherein, the current phase angle changes with the current input angle, the current phase angle is the phase angle corresponding to the sine code and the cosine code, and the current input angle is the input angle corresponding to the sine voltage and the cosine voltage; The sine-cosine signal correction unit is used to generate a sine correction signal and a cosine correction signal according to the current temperature transmitted by the temperature sensor, the sine code and the cosine code, and transmit the sine correction signal and the cosine correction signal to the conversion unit; The conversion unit is used to generate an angle output code according to the sine correction signal and the cosine correction signal.

2. The sine-cosine angle transcoding tracking converter according to claim 1, characterized in that: The tracking module includes: a first multiplier, a second multiplier, an error subtraction amplifier, a counting pulse generator, a reversible counter and a sine-cosine code generation unit; The first input end of the first multiplier is used to access the sinusoidal voltage, the second input end of the first multiplier is connected to the cosine code output end of the sine-cosine code generation unit, and the output end of the first multiplier is connected to the first input end of the error subtraction amplifier; The first input end of the second multiplier is used to access the cosine voltage, the second input end of the second multiplier is connected to the sine code output end of the sine-cosine code generation unit, and the output end of the second multiplier is connected to the second input end of the error subtraction amplifier; The output end of the error subtraction amplifier is connected to the input end of the counting pulse generator; The output end of the counting pulse generator is connected to the input end of the reversible counter, and the output end of the reversible counter is connected to the input end of the sine-cosine code generating unit; The sine code output terminal and the cosine code output terminal of the sine-cosine code generation unit are also connected to the sine-cosine signal correction unit.

3. The sine-cosine angle transcoding tracking converter according to claim 2, characterized in that: The first multiplier is used for multiplying the sinusoidal voltage by the cosine code, and transmitting the obtained first multiplication result to the error subtraction amplifier; The second multiplier is used for multiplying the cosine voltage by the sine code, and transmitting the obtained second multiplication result to the error subtraction amplifier; The error subtraction amplifier is used to obtain a relative difference between the first multiplication result and the second multiplication result, amplify the relative difference to generate a pulse signal, and transmit the pulse signal to the counting pulse generator; The counting pulse generator is used to output an increasing signal when the pulse signal is a high-level signal, and to output a decreasing signal when the pulse signal is a low-level signal; The reversible counter is used to generate a current phase angle according to the current input angle and the output signal of the counting pulse generator, and transmit the current phase angle to the sine-cosine code generation unit; The sine-cosine code generation unit is used to generate new sine code and cosine code according to the current phase angle.

4. The sine-cosine angle transcoding tracking converter according to claim 2, characterized in that: The sine-cosine signal correction unit includes a sine channel, a cosine channel, a first adder, a second adder, a third multiplier and a fourth multiplier; The first input end of the sine channel is connected to the sine code output end of the sine-cosine code generation unit, the second input end of the sine channel is connected to the output end of the temperature sensor, and the output end of the sine channel is respectively connected to the first input end of the first adder and the input end of the fourth multiplier; The first input end of the cosine channel is connected to the cosine code output end of the sine-cosine code generation unit, the second input end of the cosine channel is connected to the output end of the temperature sensor, and the output end of the cosine channel is respectively connected to the first input end of the second adder and the input end of the third multiplier; The output end of the third multiplier is connected to the second input end of the first adder, and the output end of the fourth multiplier is connected to the second input end of the second adder.

5. The sine-cosine angle transcoding tracking converter according to claim 4, characterized in that: The sinusoidal channel is used to generate a sinusoidal primary-order correction signal according to the sinusoidal code and the current temperature, and transmit the sinusoidal primary-order correction signal to the first adder and the fourth multiplier; The cosine channel is used to generate a cosine primary order correction signal according to the cosine code and the current temperature, and transmit the cosine primary order correction signal to the second adder and the third multiplier; The third multiplier is used to multiply the cosine primary-order correction signal by the correction factor, and transmit the obtained cosine product to the first adder; The first adder is used for adding the cosine product of the sinusoidal primary-order correction signal to obtain the sinusoidal correction signal; The fourth multiplier is used for multiplying the sinusoidal primary-order correction signal by the correction factor, and transmitting the obtained sinusoidal product to the second adder; The second adder is used for adding the sine product to the cosine primary-order correction signal to obtain the cosine correction signal.

6. The sine-cosine angle transcoding tracking converter according to claim 4 or 5, characterized in that: The sinusoidal channel includes a third adder, a fourth adder, a sinusoidal temperature correction unit and a sinusoidal amplitude correction unit; The first input end of the third adder is used as the first input end of the sine channel and is connected to the sine code output end of the sine-cosine code generation unit; the second input end of the third adder is used to access the digital offset value of the sine channel, and the output end of the third adder is connected to the first input end of the fourth adder; The input end of the sinusoidal temperature correction unit is connected to the output end of the temperature sensor as the second input end of the sinusoidal channel, and the output end of the sinusoidal temperature correction unit is connected to the second input end of the fourth adder; The sinusoidal temperature correction unit is used to perform preliminary correction on the current temperature to obtain a sinusoidal temperature correction signal, and transmit the signal to the fourth adder; The output end of the fourth adder is connected to the input end of the sine amplitude correction unit, and the output end of the sine amplitude correction unit serves as the output end of the sine channel; The fourth adder is used for adding the output signal of the third adder and the output signal of the sinusoidal temperature correction unit, and transmitting the added signal to the sinusoidal amplitude correction unit; The sinusoidal amplitude correction unit is used for multiplying the output signal of the fourth adder by the sinusoidal amplitude correction coefficient to obtain a sinusoidal primary-order correction signal.

7. The sine-cosine angle transcoding tracking converter according to claim 6, characterized in that: The expression of the sinusoidal primary-order correction signal is: Wherein, Usa represents the sinusoidal primary-order correction signal, Gs represents the sinusoidal amplitude correction coefficient, represents the sinusoidal code, OFFs represents the digital offset value of the sinusoidal channel, and OFFs(Tcode) represents the sinusoidal temperature correction signal.

8. The sine-cosine angle transcoding tracking converter according to claim 4 or 5, characterized in that: The cosine channel includes a fifth adder, a sixth adder, a cosine temperature correction unit and a cosine amplitude correction unit; The first input end of the fifth adder is used as the first input end of the cosine channel and is connected to the cosine code output end of the sine-cosine code generation unit; the second input end of the fifth adder is used to access the digital offset value of the cosine channel, and the output end of the fifth adder is connected to the first input end of the sixth adder; The input end of the cosine temperature correction unit is connected to the output end of the temperature sensor as the second input end of the cosine channel, and the output end of the cosine temperature correction unit is connected to the second input end of the sixth adder; The cosine temperature correction unit is used to perform preliminary correction on the current temperature to obtain a cosine temperature correction signal, and transmit the cosine temperature correction signal to the sixth adder; The output end of the sixth adder is connected to the input end of the cosine amplitude correction unit, and the output end of the cosine amplitude correction unit serves as the output end of the cosine channel; The sixth adder is used for adding the output signal of the fifth adder and the output signal of the cosine temperature correction unit, and transmitting the added signal to the cosine amplitude correction unit; The cosine amplitude correction unit is used to multiply the output signal of the sixth adder by the cosine amplitude correction coefficient to obtain a cosine primary-order correction signal.

9. The sine-cosine angle transcoding tracking converter according to claim 8, characterized in that: The expression of the cosine primary order correction signal is: Wherein, Uca represents the cosine primary order correction signal, Gc represents the cosine amplitude correction coefficient, represents the cosine code, OFFc represents the digital offset value of the cosine channel, and OFFc(Tcode) represents the cosine temperature correction signal.

10. An electronic device, characterized in that: A sine-cosine angle transcoding tracking converter comprising any one of claims 1-9.