Decoding circuit, decoding method and decoding device of double-excitation rotary transformer

Through the decoding circuit of the dual-excitation rotation transformer, the phase-locking loop of the triangular transformer and the dual integrator and the leading hysteresis compensator are solved in the existing technology, and the problem of complex and poor accuracy of the dual-excitation rotation transformer is realized. The excitation signal is achieved in the whole way Signal decoding redundancy and high-frequency noise suppression performance during failure.

CN118999632APending Publication Date: 2024-11-22ZHUZHOU NAT ENG RES CENT OF CONVERTERS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310572030.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-19
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The decoding of dual-excitation rotation transformers in the prior art is relatively complex and has poor accuracy, especially when the excitation signal fails, it is difficult to solve the rotation signal.

Method used

Provides a decoding circuit of a dual-excitation rotation transformer, including a demodulation module and an extraction module, demodulate the positive cosine voltage signal of the rotation signal through the triangular transformation relationship between the excitation signal and the feedback signal, and passes through the front and rear dual integrators. The phase angle margin compensation is performed with the phase locked loop of the leading hysteresis compensator to extract the rotation signal.

Benefits of technology

It realizes strong redundancy in signal decoding in abnormal situations, has better high-frequency noise suppression performance and static tracking capabilities, and solves the problem that dual-excitation rotary feedback signals are difficult to adopt traditional single-excitation rotary decoding method.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118999632A_ABST
    Figure CN118999632A_ABST
Patent Text Reader

Abstract

The invention discloses a decoding circuit, method and device for a double-excitation rotary transformer, and relates to the field of motion servo control, and the decoding circuit comprises a demodulation module which is used for obtaining two paths of excitation signals and two paths of feedback signals, and generating a decoding signal based on the triangular transformation relation between the excitation signals and the feedback signals; demodulating sine and cosine voltage signals corresponding to the resolver signal from the feedback signal; and the extraction module is used for extracting the resolver signal from the sine and cosine voltage signals. Compared with a traditional arc tangent method and a phase-locked loop based on a PI controller, the method has better high-frequency noise suppression performance and static tracking capability, and solves the problem that a traditional single-excitation rotary transformer decoding method is inconvenient to decode due to the characteristics of a double-excitation rotary transformer feedback signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of motion servo control, and in particular to a decoding circuit, a decoding method and a device for a dual-excitation rotary transformer. Background Art

[0002] Resolvers are usually used in motion servo control systems and are used for sensing and measuring angular positions. Resolvers can be used to sense and measure angular positions in motion servo control systems. Resolvers have strong vibration resistance, anti-interference ability, and stability, and are widely used in various operating environments.

[0003] At present, the excitation signal input to the rotary transformer is first generated by a crystal oscillator and other devices, and after being processed by the rotary transformer, a sine and cosine voltage signal containing angle information is output, and then the above sine and cosine voltage signals are solved by a matching decoding circuit to obtain the rotary transformer signal. The existing decoding circuit is relatively complex and has poor solving accuracy. In particular, when the rotary transformer is not a single-excitation rotary transformer but a dual-excitation rotary transformer, when one excitation signal fails, it is difficult for the existing decoding circuit to solve the rotary transformer signal.

[0004] Therefore, it is necessary to propose a decoding circuit that matches the dual-excitation rotary transformer. Summary of the invention

[0005] In view of this, an embodiment of the present invention provides a decoding circuit, a decoding method and a device for a dual-excitation rotary transformer to solve the problem that the decoding of the dual-excitation rotary transformer in the prior art is relatively complex and has poor accuracy.

[0006] According to a first aspect, an embodiment of the present invention provides a decoding circuit of a dual-excitation rotary transformer, comprising:

[0007] A demodulation module, used to obtain two excitation signals and two feedback signals, and based on the trigonometric transformation relationship between the excitation signals and the feedback signals, demodulate the sine and cosine voltage signals corresponding to the resolver signals from the feedback signals;

[0008] The extraction module is used to extract the resolver signal from the sine and cosine voltage signals.

[0009] In combination with the first aspect, in a first implementation of the first aspect, the extraction module includes:

[0010] A tracking and adjusting unit, used for acquiring the sine and cosine voltage signals, and tracking and adjusting the sine and cosine voltage signals based on a preset tracking speed to obtain a first intermediate signal;

[0011] A first integration unit, used to eliminate the tracking error contained in the first intermediate signal to obtain a second intermediate signal;

[0012] A lead-lag compensation unit, used to compensate for the phase margin of the second intermediate signal to obtain a third intermediate signal and a speed signal in the resolver signal;

[0013] The second integration unit is used to resolve the angle signal in the resolver signal from the third intermediate signal based on a preset tracking speed.

[0014] In combination with the first aspect, in a second implementation of the first aspect, the demodulation module includes:

[0015] A first acquisition unit, configured to acquire a first excitation signal; the first excitation signal is a cosine signal;

[0016] A second acquisition unit, used for acquiring a second excitation signal; the second excitation signal is a sinusoidal signal;

[0017] A third acquisition unit, configured to acquire a first feedback signal;

[0018] A fourth acquisition unit, configured to acquire a second feedback signal;

[0019] The triangular transformation unit is used to perform triangular transformation on the excitation signal and the feedback signal based on the angular position, amplitude ratio and angular frequency of the dual-excitation rotary transformer, and demodulate the feedback signal after the triangular transformation to obtain the sine-cosine voltage signal.

[0020] According to a second aspect, an embodiment of the present invention provides a decoding method for a dual-excitation rotary transformer, comprising:

[0021] Obtain two excitation signals and two feedback signals of the dual-excitation rotary transformer;

[0022] Based on the trigonometric transformation relationship between the excitation signal and the feedback signal, demodulating the sine and cosine voltage signals corresponding to the resolver signal from the feedback signal;

[0023] The phase margin of the sine and cosine voltage signals is compensated, and the resolver signal is extracted from the compensated sine and cosine voltage signals.

[0024] In combination with the second aspect, in a first implementation manner of the second aspect, based on the trigonometric transformation relationship between the excitation signal and the feedback signal, demodulating the sine and cosine voltage signals corresponding to the resolver signal from the feedback signal specifically includes:

[0025] Based on the angular frequency of the excitation signal, performing a triangular transformation on the excitation signal;

[0026] Based on the angular position and amplitude ratio of the dual-excitation rotary transformer, the feedback signal is trigonometrically transformed;

[0027] The feedback signal after triangular transformation is demodulated to obtain the sine-cosine voltage signal.

[0028] In combination with the second aspect, in a second implementation manner of the second aspect, compensating the phase margin of the sine and cosine voltage signals and extracting the resolver signal from the compensated sine and cosine voltage signals specifically includes:

[0029] Tracking and adjusting the sine and cosine voltage signals based on a preset tracking speed to obtain a first intermediate signal;

[0030] Eliminating a tracking error contained in the first intermediate signal to obtain a second intermediate signal;

[0031] Compensating the phase margin of the second intermediate signal to obtain a third intermediate signal and a speed signal in the resolver signal;

[0032] Based on the preset tracking speed, an angle signal in the resolver signal is parsed from the third intermediate signal.

[0033] In combination with the second embodiment of the second aspect, in the third embodiment of the second aspect, the phase margin is determined based on a preset frequency point and a preset compensation intensity.

[0034] According to a third aspect, an embodiment of the present invention provides a decoding circuit device of a dual-excitation rotary transformer, the device comprising:

[0035] A signal acquisition module, used to acquire two excitation signals and two feedback signals of a dual-excitation rotary transformer;

[0036] A signal demodulation module, used for demodulating a sine-cosine voltage signal corresponding to a resolver signal from the feedback signal based on a trigonometric transformation relationship between the excitation signal and the feedback signal;

[0037] The signal extraction module is used to extract the resolver signal from the sine-cosine voltage signal based on compensating the phase margin of the sine-cosine voltage signal.

[0038] According to the fourth aspect, an embodiment of the present invention provides an electronic device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the decoding method of the dual-excitation rotary transformer described in the first aspect or any preferred embodiment of the first aspect by executing the computer instructions.

[0039] According to the fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the decoding method of the dual-excitation rotary transformer described in the first aspect or any preferred embodiment of the first aspect.

[0040] The decoding circuit, method and device of the dual-excitation rotary transformer provided by the present invention are compatible with the signal decoding of the dual-excitation rotary transformer under abnormal circumstances (for example, failure of one excitation signal) through the setting of the demodulation module, and have strong redundancy characteristics. Through the setting of the extraction module, a phase-locked loop including front and rear dual integrators and a lead-lag compensator is used in the process of extracting the rotary transformer signal, that is, the phase angle signal. Compared with the traditional inverse tangent method and the phase-locked loop based on the PI controller, it has better high-frequency noise suppression performance and static tracking capability, and solves the problem that it is inconvenient to use the traditional single-excitation rotary transformer decoding method for decoding due to the inherent characteristics of the dual-excitation rotary transformer feedback signal. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The features and advantages of the present invention will be more clearly understood by referring to the accompanying drawings, which are schematic and should not be construed as limiting the present invention in any way. In the accompanying drawings:

[0042] Figure 1 is a structural schematic diagram of a decoding circuit of a dual-excitation rotary transformer according to an embodiment of the present application;

[0043] Figure 2 It is a schematic diagram of the specific structure of the extraction module in the decoding circuit of the dual-excitation rotary transformer according to an embodiment of the present application;

[0044] Figure 3 It is a schematic diagram of the specific structure of the demodulation module in the decoding circuit of the dual-excitation rotary transformer according to an embodiment of the present application;

[0045] Figure 4 is a relationship diagram of input and output in a decoding circuit of a dual-excitation rotary transformer according to an embodiment of the present application;

[0046] Figure 5 This is a specific circuit diagram of an extraction module in a decoding circuit of a dual-excitation rotary transformer according to an embodiment of the present application;

[0047] Figure 6 is a flowchart of a decoding method for a dual-excitation rotary transformer according to an embodiment of the present application;

[0048] Figure 7 It is an amplitude-frequency phase-frequency curve diagram when the phase margin compensation is not performed in the prior art;

[0049] Figure 8is an amplitude-frequency phase-frequency curve diagram after the phase margin compensation is performed by the decoding circuit of the dual-excitation rotary transformer according to the embodiment of the present application;

[0050] Fig. 9 is a structural schematic diagram of a decoding device of a dual-excitation rotary transformer according to an embodiment of the present application;

[0051] Fig.10 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution 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. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0053] Permanent magnet synchronous motors can be widely used in many fields such as industry, agriculture, aerospace, etc., and the stable operation of permanent magnet synchronous motors requires the installation of position sensors to detect position signals. Since the rotary transformer can detect the motor rotor position through the matching decoding circuit, the rotary transformer can be widely used as a more reliable absolute position sensor. Therefore, the rotary transformer can be used to sense and measure the angle position in the motion servo control system. At the same time, the rotary transformer has strong vibration resistance, anti-interference ability and stability, and is widely used in various fields using permanent magnet synchronous motors.

[0054] In the prior art, the commonly used scheme is: firstly, an excitation signal input to the rotary transformer is generated by a device such as a crystal oscillator, and after being processed by the rotary transformer, a sine-cosine voltage signal containing angle information is output, and then the above-mentioned sine-cosine voltage signal is resolved by a matching decoding circuit to obtain the rotary transformer signal. Among them, the rotary transformer output signal includes an angle signal (rotation angle) and a speed signal (rotation speed), and the decoding circuit used in conjunction with the rotary transformer is to resolve the above-mentioned angle signal and speed signal from the sine-cosine voltage signal. The existing decoding circuit is relatively complex and has poor resolution accuracy. In particular, when the rotary transformer is not a single-excitation rotary transformer but a dual-excitation rotary transformer, when one excitation signal fails, it is difficult for the existing decoding circuit to resolve the rotary transformer signal.

[0055] In order to solve the above problems, a decoding circuit of a dual-excitation rotary transformer is provided in the present embodiment. It can be understood that the decoding circuit of the dual-excitation rotary transformer provided in the embodiment of the present invention is applied to the dual-excitation rotary transformer and is used to decode the resolver signal of the dual-excitation rotary transformer. Of course, the decoding circuit of the dual-excitation rotary transformer provided in the embodiment of the present invention. Figure 1 is a schematic diagram of the structure of a decoding circuit of a dual excitation rotary transformer according to an embodiment of the present invention, such as Figure 1 As shown, the decoding circuit includes:

[0056] The demodulation module 100 is used to obtain two excitation signals and two feedback signals, and based on the trigonometric transformation relationship between the excitation signals and the feedback signals, demodulate the sine and cosine voltage signals corresponding to the resolver signals from the feedback signals.

[0057] For a dual-excitation resolver, if the frequency of the excitation signal is much greater than the mechanical angular frequency of the resolver, then its input and output satisfy the following conditions: Figure 4 The relationship shown is:

[0058] E EF =k(-E CD ·cosθ-E AB ·sinθ)

[0059] E GH = k(E AB ·cosθ-E CD ·sinθ)

[0060] Among them, E AB represents the first excitation signal, which is the input signal of the dual-excitation rotary transformer, and the excitation signal is a cosine signal; E CD represents the second excitation signal, which is the input signal of the dual-excitation rotary transformer, and the excitation signal is a sinusoidal signal; E EF Represents the feedback signal of the first channel, which is the output signal of the dual-excitation rotary transformer; E GH Represents the feedback signal of the first channel, which is the output signal of the dual-excitation rotary transformer.

[0061] In the embodiment of the present invention, the two feedback signals output by the dual-excitation rotary transformer are firstly triangularly transformed based on the angular position θ and the amplitude ratio k of the dual-excitation rotary transformer, and then the angular frequency ω of the excitation signal is converted into the triangular transformation. h , perform triangular transformation on the two excitation signals output by the dual-excitation rotary transformer, and then solve the feedback signal. Specifically:

[0062] E AB = cos(ω h t)

[0063] E cD =sin9ω h t)

[0064] E EF =-ksin(ω h t+θ)

[0065] E GH = kcos(ω h t+θ)

[0066] Where t represents the time of the excitation signal; ω h represents the angular frequency of the excitation signal; θ represents the angular position of the dual-excitation rotary transformer; k represents the amplitude ratio between the input (excitation signal) and the output (feedback signal) of the dual-excitation rotary transformer.

[0067] Finally, the feedback signal after triangular transformation is demodulated, specifically:

[0068] E GH ·E AB -E CD ·E EF = kcosθ

[0069] -E EF ·E AB -E CD ·E GH =ksinθ

[0070] Compared with the feedback signal of a single-excitation rotary transformer, the feedback signal of a dual-excitation rotary transformer is of equal amplitude, so the angle information cannot be extracted by extreme point sampling or the average value method. In the configuration of the demodulation module 100 in the embodiment of the present invention, even if one of the excitation signals of the dual-excitation rotary transformer is 0, that is, when the excitation signal of one of the channels fails, the sine and cosine voltage signals related to the rotary transformer signal can still be effectively demodulated, thereby ensuring the redundancy of the decoding circuit.

[0071] That is, the demodulation module 100 analyzes the input-output relationship of the dual-excitation rotary transformer and demodulates the feedback signal through a triangular transformation between the excitation signal and the feedback signal.

[0072] The extraction module 200 is used to extract the resolver signal from the sine and cosine voltage signals, that is, to extract the angle signal and the speed signal from the sine and cosine voltage signals.

[0073] In the prior art, after decoding, the inverse tangent function or phase-locked loop can be used to extract the rotary transformer signal. However, the inverse tangent method does not require parameter adjustment and is very sensitive to noise signals. It is only applicable when the demodulated sine and cosine voltage signals are very ideal. When a phase-locked loop including a PI controller is used to extract the phase angle signal, since the PI controller is a linear controller, the PI controller forms a control deviation based on a given value and an actual output value, and the proportion and integral of the deviation are linearly combined to form a control quantity. The PI controller causes the closed-loop characteristic of the phase-locked loop to be a type I system, which will cause the controller to have low suppression of high-frequency noise. In an embodiment of the present invention, the extraction module 200 uses a front and rear dual integrator plus a lead-lag compensator to extract the rotary transformer signal. The closed-loop characteristic of the extraction module 200 is a type II system, so the effect of suppressing high-frequency signals is better and has better static tracking capability.

[0074] The decoding circuit of the dual-excitation rotary transformer of the present invention is compatible with the signal decoding of the dual-excitation rotary transformer under abnormal circumstances (for example, failure of one excitation signal) through the setting of the demodulation module 100, and has a strong redundancy characteristic. Through the setting of the extraction module 200, a phase-locked loop including front and rear dual integrators and a lead-lag compensator is used in the process of extracting the rotary transformer signal, that is, the phase angle signal. Compared with the traditional inverse tangent method and the phase-locked loop based on the PI controller, it has better high-frequency noise suppression performance and static tracking capability, and solves the problem that it is inconvenient to use the traditional single-excitation rotary transformer decoding method for decoding due to the inherent characteristics of the dual-excitation rotary transformer feedback signal.

[0075] Combine the following Figure 2 as well as Figure 5 The decoding circuit of the dual-excitation rotary transformer of the present invention is described, wherein the extraction module 200 specifically includes:

[0076] The tracking and adjusting unit 210 is used to obtain the sine and cosine voltage signals, and to track and adjust the sine and cosine voltage signals based on a preset tracking speed to obtain a first intermediate signal.

[0077] As a preferred implementation of the embodiment of the present invention, the tracking adjustment unit 210 is implemented by a regulator, and the adjustment coefficient K of the regulator is the preset tracking speed, which adjusts the tracking speed of the actual angle of the resolver, wherein the larger the adjustment coefficient K, the faster the tracking speed.

[0078] The first integration unit 220 is used to eliminate the tracking error contained in the first intermediate signal to obtain a second intermediate signal.

[0079] As a preferred implementation of the embodiment of the present invention, the first integration unit 220 is implemented by a front integrator (first integrator), and the front integrator is used to eliminate the speed tracking error.

[0080] The lead-lag compensation unit 230 is used to compensate the phase margin of the second intermediate signal to obtain the third intermediate signal and the speed signal in the resolver signal.

[0081] As a preferred implementation of the embodiment of the present invention, the lead-lag compensation unit 230 is implemented by a lead-lag compensator, and the lead-lag compensator is used to compensate / increase the phase margin of the entire system.

[0082] Specifically, in the embodiment of the present invention, the transfer function of the lead-lag compensator is:

[0083]

[0084] Where COMP(s) represents the transfer function of the lead-lag compensator; s represents the complex parameter in the Laplace transform; ω0 represents the frequency point where the phase margin needs to be compensated; K comp Used to characterize the compensation strength, K comp The larger it is, the greater the phase margin of compensation will be.

[0085] For more details, see Figure 7 As shown in Figure 1, when no lead-lag compensation is performed, the amplitude-frequency curve of the decoding circuit passes through zero at At this time, the phase margin of the decoding circuit is 0, and the whole circuit is not stable.

[0086] See also Figure 8 As shown, the extraction module 200 of the embodiment of the present invention performs corresponding compensation operations to compensate for the phase margin of the decoding circuit at the zero point of the amplitude-frequency curve. After compensation, the amplitude-frequency phase-frequency curve of the phase-locked loop has a phase margin of about fifty degrees, and the overall system is more stable. The zero point of the amplitude-frequency curve can be adjusted by adjusting the parameters, thereby changing the response speed of the closed-loop system.

[0087] The second integration unit 240 is used to parse the angle signal in the resolver signal from the third intermediate signal based on a preset tracking speed.

[0088] As a preferred implementation of the embodiment of the present invention, the second integration unit 240 is implemented by a post-integrator (second integrator), and the post-integrator is used to resolve the angle signal in the resolver signal according to a preset tracking speed.

[0089] Combine the following Figure 3 The decoding circuit of the dual-excitation rotary transformer of the present invention is described, wherein the demodulation module 100 specifically includes:

[0090] The first acquisition unit 110 is used to acquire a first excitation signal, which is a cosine signal; the second acquisition unit 120 is used to acquire a second excitation signal, which is a sine signal; the third acquisition unit 130 is used to acquire a first feedback signal; and the fourth acquisition unit 140 is used to acquire a second feedback signal.

[0091] The triangular transformation unit 150 is used to transform the angle position θ of the dual-excitation rotary transformer, the amplitude ratio k and the angular frequency ω of the excitation signal. h , perform triangular transformation on the excitation signal and the feedback signal, and demodulate the feedback signal after the triangular transformation to obtain sine and cosine voltage signals.

[0092] In order to solve the above problems, a decoding method for a dual-excitation rotary transformer is also provided in the present embodiment. It can be understood that the decoding method for a dual-excitation rotary transformer provided in the embodiment of the present invention is applied to the dual-excitation rotary transformer and is used to decode the rotary transformer signal of the dual-excitation rotary transformer. It can be applied to electronic devices with corresponding electronic devices, which may include notebooks, desktop computers, smart phones, smart wearable devices (such as virtual reality glasses, smart watches, etc.), tablet computers, etc. Of course, the decoding method for a dual-excitation rotary transformer provided in the embodiment of the present invention can also be applied to applications running in the above-mentioned electronic devices. Figure 6 is a flow chart of a decoding method of a dual excitation rotary transformer according to an embodiment of the present invention, such as Figure 6 As shown, the method includes:

[0093] S10, obtaining two excitation signals and two feedback signals of the dual-excitation rotary transformer.

[0094] S20. Based on the triangular transformation relationship between the excitation signal and the feedback signal, demodulate the sine and cosine voltage signals corresponding to the resolver signal from the feedback signal.

[0095] In the embodiment of the present invention, the two feedback signals output by the dual-excitation rotary transformer are firstly triangularly transformed based on the angular position θ and the amplitude ratio k of the dual-excitation rotary transformer, and then the angular frequency ω of the excitation signal is converted into the triangular transformation. h , the two excitation signals output by the dual-excitation rotary transformer are triangularly transformed, and then the feedback signal is solved, and finally, the feedback signal after triangular transformation is demodulated.

[0096] Compared with the feedback signal of a single-excitation rotary transformer, the feedback signal of a dual-excitation rotary transformer is of equal amplitude, so the angle information cannot be extracted by extreme point sampling or the average value method. In an embodiment of the present invention, even if the excitation signal of one of the dual-excitation rotary transformers is 0, that is, the excitation signal of one of the dual-excitation rotary transformers fails, the sine and cosine voltage signals related to the rotary transformer signal can still be effectively demodulated, thereby ensuring the redundancy of the decoding circuit.

[0097] The method analyzes the input-output relationship of the dual-excitation rotary transformer and demodulates the feedback signal through the triangular transformation between the excitation signal and the feedback signal.

[0098] In the prior art, after decoding, the inverse tangent function or phase-locked loop can be used to extract the rotary transformer signal. However, the inverse tangent method does not require parameter adjustment and is very sensitive to noise signals. It is only applicable when the demodulated sine and cosine voltage signals are very ideal. When a phase-locked loop including a PI controller is used to extract the phase angle signal, since the PI controller is a linear controller, the PI controller forms a control deviation based on a given value and an actual output value, and the proportion and integral of the deviation are linearly combined to form a control quantity. The PI controller causes the closed-loop characteristic of the phase-locked loop to be a type I system, which will cause the controller to have low suppression of high-frequency noise. In an embodiment of the present invention, a front and rear dual integrator plus a lead-lag compensator are used to extract the rotary transformer signal. Therefore, the closed-loop characteristic in the embodiment of the present invention is a type II system, which can better suppress high-frequency signals and has better static tracking capabilities.

[0099] S30, compensating for the phase margin of the sine and cosine voltage signals, and extracting the resolver signal from the compensated sine and cosine voltage signals, wherein the phase margin is determined based on a preset frequency point and a preset compensation strength.

[0100] The decoding method of the dual-excitation rotary transformer of the present invention demodulates the sine-cosine voltage signal corresponding to the resolver signal from the feedback signal based on the triangular transformation relationship between the excitation signal and the feedback signal, is compatible with the signal decoding of the dual-excitation resolver under abnormal conditions (for example, failure of one excitation signal), has a strong redundancy characteristic, compensates for the phase margin of the sine-cosine voltage signal, and extracts the resolver signal from the compensated sine-cosine voltage signal, and adopts a phase-locked loop including a front and rear dual integrator and a lead-lag compensator in the process of extracting the resolver signal, that is, the phase angle signal. Compared with the traditional inverse tangent method and the phase-locked loop based on the PI controller, it has better high-frequency noise suppression performance and static tracking capability, and solves the problem that it is inconvenient to use the traditional single-excitation resolver decoding method for decoding due to the inherent characteristics of the dual-excitation resolver feedback signal.

[0101] The decoding device of the dual-excitation rotary transformer provided by the present invention is described below. The decoding device of the dual-excitation rotary transformer described below and the decoding method of the dual-excitation rotary transformer described above can correspond to each other.

[0102] In order to solve the above problems, a decoding device for a dual-excitation rotary transformer is also provided in the present embodiment. It can be understood that the decoding device for a dual-excitation rotary transformer provided in the embodiment of the present invention is used in conjunction with the dual-excitation rotary transformer and is used to decode the rotary transformer signal of the dual-excitation rotary transformer. It can be applied to electronic devices with corresponding electronic devices, which may include notebooks, desktop computers, smart phones, smart wearable devices (such as virtual reality glasses, smart watches, etc.), tablet computers, etc. Of course, the decoding device for a dual-excitation rotary transformer provided in the embodiment of the present invention can also be applied to applications running in the above-mentioned electronic devices. Fig. 9 is a schematic diagram of the structure of a decoding device for a dual-excitation rotary transformer according to an embodiment of the present invention, such as Fig. 9 As shown, the device comprises:

[0103] The signal acquisition module 10 is used to acquire two excitation signals and two feedback signals of the dual-excitation rotary transformer.

[0104] The signal demodulation module 20 is used to demodulate the sine and cosine voltage signals corresponding to the resolver signal from the feedback signal based on the trigonometric transformation relationship between the excitation signal and the feedback signal.

[0105] In the embodiment of the present invention, the two feedback signals output by the dual-excitation rotary transformer are firstly triangularly transformed based on the angular position θ and the amplitude ratio k of the dual-excitation rotary transformer, and then the angular frequency ω of the excitation signal is converted into the triangular transformation. h , the two excitation signals output by the dual-excitation rotary transformer are triangularly transformed, and then the feedback signal is solved, and finally, the feedback signal after triangular transformation is demodulated.

[0106] Compared with the feedback signal of a single-excitation rotary transformer, the feedback signal of a dual-excitation rotary transformer is of equal amplitude, so the angle information cannot be extracted by extreme point sampling or the average value method. In an embodiment of the present invention, even if the excitation signal of one of the dual-excitation rotary transformers is 0, that is, the excitation signal of one of the dual-excitation rotary transformers fails, the sine and cosine voltage signals related to the rotary transformer signal can still be effectively demodulated, thereby ensuring the redundancy of the decoding circuit.

[0107] The device analyzes the input-output relationship of the double-excitation rotary transformer and demodulates the feedback signal through triangular transformation between the excitation signal and the feedback signal.

[0108] In the prior art, after decoding, the inverse tangent function or phase-locked loop can be used to extract the rotary transformer signal. However, the inverse tangent method does not require parameter adjustment and is very sensitive to noise signals. It is only applicable when the demodulated sine and cosine voltage signals are very ideal. When a phase-locked loop including a PI controller is used to extract the phase angle signal, since the PI controller is a linear controller, the PI controller forms a control deviation based on a given value and an actual output value, and the proportion and integral of the deviation are linearly combined to form a control quantity. The PI controller causes the closed-loop characteristic of the phase-locked loop to be a type I system, which will cause the controller to have low suppression of high-frequency noise. In an embodiment of the present invention, a front and rear dual integrator plus a lead-lag compensator are used to extract the rotary transformer signal. Therefore, the closed-loop characteristic in the embodiment of the present invention is a type II system, which can better suppress high-frequency signals and has better static tracking capabilities.

[0109] The signal extraction module 30 is used to compensate the phase margin of the sine and cosine voltage signals and extract the resolver signal from the compensated sine and cosine voltage signals, wherein the phase margin is determined based on a preset frequency point and a preset compensation strength.

[0110] The decoding device of the dual-excitation rotary transformer of the present invention demodulates the sine-cosine voltage signal corresponding to the resolver signal from the feedback signal based on the triangular transformation relationship between the excitation signal and the feedback signal, and is compatible with the signal decoding of the dual-excitation resolver under abnormal conditions (for example, failure of one excitation signal), and has a strong redundancy characteristic. By compensating the phase margin of the sine-cosine voltage signal and extracting the resolver signal from the compensated sine-cosine voltage signal, a phase-locked loop including a front and rear dual integrator and a lead-lag compensator is used in the process of extracting the resolver signal, that is, the phase angle signal. Compared with the traditional inverse tangent method and the phase-locked loop based on the PI controller, it has better high-frequency noise suppression performance and static tracking capability, and solves the problem that it is inconvenient to use the traditional single-excitation resolver decoding device for decoding due to the inherent characteristics of the dual-excitation resolver feedback signal.

[0111] Fig.10 An example of a physical structure diagram of an electronic device is shown in FIG. Fig.10 As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 communicate with each other through the communication bus 540. The processor 510 may call the logic command in the memory 530 to execute the decoding method of the dual-excitation rotary transformer, and the method includes:

[0112] Obtain two excitation signals and two feedback signals of the dual-excitation rotary transformer;

[0113] Based on the trigonometric transformation relationship between the excitation signal and the feedback signal, demodulating the sine and cosine voltage signals corresponding to the resolver signal from the feedback signal;

[0114] The phase margin of the sine and cosine voltage signals is compensated, and the resolver signal is extracted from the compensated sine and cosine voltage signals.

[0115] In addition, the logic commands in the above-mentioned memory 530 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software medium, and the computer software medium is stored in a storage medium, including several commands to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0116] On the other hand, the present invention further provides a computer program medium, the computer program medium includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the decoding method of the dual-excitation rotary transformer provided by the above methods, the method comprising:

[0117] Obtain two excitation signals and two feedback signals of the dual-excitation rotary transformer;

[0118] Based on the trigonometric transformation relationship between the excitation signal and the feedback signal, demodulating the sine and cosine voltage signals corresponding to the resolver signal from the feedback signal;

[0119] The phase margin of the sine and cosine voltage signals is compensated, and the resolver signal is extracted from the compensated sine and cosine voltage signals.

[0120] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to perform the decoding method of the dual-excitation rotary transformer provided by the above methods, the method comprising:

[0121] Obtain two excitation signals and two feedback signals of the dual-excitation rotary transformer;

[0122] Based on the trigonometric transformation relationship between the excitation signal and the feedback signal, demodulating the sine and cosine voltage signals corresponding to the resolver signal from the feedback signal;

[0123] The phase margin of the sine and cosine voltage signals is compensated, and the resolver signal is extracted from the compensated sine and cosine voltage signals.

[0124] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

[0125] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software medium, and the computer software medium can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of commands to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.

[0126] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A decoding circuit for a dual-excitation rotary transformer, characterized in that: include: A demodulation module is used to obtain two excitation signals and two feedback signals, and based on the trigonometric transformation relationship between the excitation signals and the feedback signals, demodulate the sine and cosine voltage signals corresponding to the resolver signals from the feedback signals; The extraction module is used to extract the resolver signal from the sine and cosine voltage signals.

2. The decoding circuit of the dual-excitation rotary transformer according to claim 1, characterized in that: The extraction module includes: a tracking and adjusting unit, configured to obtain the sine and cosine voltage signals, and track and adjust the sine and cosine voltage signals based on a preset tracking speed to obtain a first intermediate signal; a first integrating unit, configured to eliminate a tracking error contained in the first intermediate signal to obtain a second intermediate signal; a lead-lag compensation unit, configured to compensate for a phase margin of the second intermediate signal to obtain a third intermediate signal and a speed signal in the resolver signal; The second integration unit is configured to parse the angle signal in the resolver signal from the third intermediate signal based on a preset tracking speed.

3. The decoding circuit of the dual-excitation rotary transformer according to claim 1, characterized in that: The demodulation module includes: A first acquisition unit is configured to acquire a first excitation signal, wherein the first excitation signal is a cosine signal; A second acquisition unit is used to acquire a second excitation signal; the second excitation signal is a sinusoidal signal; A third acquiring unit, configured to acquire a first feedback signal; a fourth acquiring unit, configured to acquire a second feedback signal; The triangular transformation unit is used to perform triangular transformation on the excitation signal and the feedback signal based on the angular position, amplitude ratio and angular frequency of the dual-excitation rotary transformer, and demodulate the feedback signal after triangular transformation to obtain the sine and cosine voltage signals.

4. A decoding method for a dual-excitation rotary transformer, characterized in that: The method comprises: Obtain two excitation signals and two feedback signals of the dual-excitation rotary transformer; Based on the trigonometric transformation relationship between the excitation signal and the feedback signal, demodulating the sine and cosine voltage signals corresponding to the resolver signal from the feedback signal; The phase margin of the sine and cosine voltage signals is compensated, and the resolver signal is extracted from the compensated sine and cosine voltage signals.

5. The decoding method of the dual-excitation rotary transformer according to claim 4, characterized in that: The demodulating, from the feedback signal, a sine and cosine voltage signal corresponding to the resolver signal based on a trigonometric transformation relationship between the excitation signal and the feedback signal specifically includes: performing a triangular transformation on the excitation signal based on an angular frequency of the excitation signal; performing a trigonometric transformation on the feedback signal based on the angular position and the amplitude ratio of the dual-excitation rotary transformer; The feedback signal after the triangular transformation is demodulated to obtain the sine and cosine voltage signals.

6. The decoding method of the dual-excitation rotary transformer according to claim 4, characterized in that: The compensating the phase margin of the sine and cosine voltage signals and extracting the resolver signal from the compensated sine and cosine voltage signals specifically includes: Tracking and adjusting the sine and cosine voltage signals based on a preset tracking speed to obtain a first intermediate signal; Eliminating a tracking error contained in the first intermediate signal to obtain a second intermediate signal; Compensating for a phase margin of the second intermediate signal to obtain a third intermediate signal and a speed signal in the resolver signal; Based on a preset tracking speed, an angle signal in the resolver signal is parsed from the third intermediate signal.

7. The decoding method of the dual-excitation rotary transformer according to claim 6, characterized in that: The phase margin is determined based on a preset frequency point and a preset compensation strength.

8. A decoding circuit device for a dual-excitation rotary transformer, characterized in that: The device comprises: A signal acquisition module is used to obtain two excitation signals and two feedback signals of the dual-excitation rotary transformer; A signal demodulation module is used to demodulate the sine and cosine voltage signals corresponding to the resolver signal from the feedback signal based on the trigonometric transformation relationship between the excitation signal and the feedback signal; A signal extraction module is used to extract the resolver signal from the sine and cosine voltage signals based on the phase margin of the compensated sine and cosine voltage signals.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the decoding method for a dual-excitation rotary transformer according to any one of claims 4 to 7 are implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the decoding method of the dual-excitation rotary transformer according to any one of claims 4 to 7 are implemented.