Method and device for calculating differential phase shift of rotary transformer, circuit and electronic equipment

By calculating the I-channel and Q-channel phase shift output signals of the resolver, and using the phase-locked loop to calculate the phase offset, the problem of low accuracy in differential phase shift calculation of the resolver is solved, and fast and accurate differential phase shift calculation is achieved. Improved RDC solution accuracy.

CN118548923APending Publication Date: 2024-08-27TONGXIN MICROELECTRONICS TECHNOLOGY (BEIJING) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410474237.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-19
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

When calculating the differential phase shift of a resolver in the existing technology, the solution accuracy is affected by the inconsistency of the path delay, resulting in low efficiency.

Method used

By determining the I and Q phase shift output signals of the resolver, the selector and phase-locked loop are used to calculate the phase offset, and the differential phase shift is accurately calculated, thereby improving the RDC solution accuracy.

Benefits of technology

It achieves fast and accurate calculation of differential phase shift, lays the foundation for subsequent differential phase shift compensation, and improves the resolution accuracy of the resolver.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118548923A
    Figure CN118548923A
Patent Text Reader

Abstract

The invention relates to the technical field of rotary transformer decoding, and discloses a method for calculating the differential phase shift of a rotary transformer, and the method comprises the steps: determining an I-path phase shift output signal and a Q-path phase shift output signal of the rotary transformer according to an input reference signal of the rotary transformer; obtaining an I-path phase offset of the rotary transformer based on the I-path phase shift output signal, and obtaining a Q-path phase offset of the rotary transformer based on the Q-path phase shift output signal; and determining the differential phase shift of the rotary transformer according to the I-path phase offset and the Q-path phase offset. According to the method, the magnitude of the differential phase shift can be accurately calculated, the differential phase shift can be rapidly calculated, a foundation is laid for subsequent compensation of the differential phase shift, and the calculation precision of the RDC can be improved. The invention further discloses a device and circuit for calculating the differential phase shift of the rotary transformer and electronic equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of resolver decoding, and for example, to a method and device, circuit, and electronic device for calculating a resolver differential phase shift. Background Art

[0002] The resolver is composed of a rotor with a rotating winding and two stator windings; the position and speed can be obtained by analyzing and calculating the reference winding output. RDC (Resolver-to-Digital Converter) is a type of analog-to-digital conversion chip that converts the electrical signal proportional to the sine and / or cosine value of the rotating shaft angle output by the resolver into a digital output corresponding to the rotation angle and / or angular velocity. The I / Q output signals of the resolver are inconsistent due to factors such as path delay, which introduces a differential phase shift, which affects the resolution accuracy of the RDC. The larger the phase shift, the worse the resolution accuracy.

[0003] The related technology discloses a digital decoding method for a rotating transformer, including: performing amplitude sampling on a signal to be decoded to determine an amplitude sampling signal; wherein the signal to be decoded includes orthogonal phase deviation information, bias information and amplitude information of an AC output signal generated by the rotating transformer; performing envelope processing on the amplitude sampling signal to determine a first sine-cosine envelope signal; obtaining amplitude parameters, bias parameters and orthogonal phase deviation parameters of the first sine-cosine envelope signal determined by offline identification, and determining a standard sine-cosine signal based on the first sine-cosine envelope signal; and determining at least one of an angular position parameter and an angular velocity parameter of the rotating transformer based on the standard sine-cosine signal.

[0004] In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art:

[0005] The related art obtains the phase deviation by means of envelope processing, but the efficiency of this processing method is average.

[0006] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0007] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0008] The embodiments of the present disclosure provide a method and device, a circuit, and an electronic device for calculating the differential phase shift of a rotary transformer, so as to improve the measurement efficiency of the differential phase shift.

[0009] In some embodiments, the method comprises:

[0010] An I-path phase-shifted output signal and a Q-path phase-shifted output signal of the rotary transformer are determined according to an input reference signal of the rotary transformer; an I-path phase offset of the rotary transformer is obtained based on the I-path phase-shifted output signal, and a Q-path phase offset of the rotary transformer is obtained based on the Q-path phase-shifted output signal; and a differential phase shift of the rotary transformer is determined according to the I-path phase offset and the Q-path phase offset.

[0011] In some embodiments, the apparatus comprises:

[0012] A processor and a memory storing program instructions, characterized in that the processor is configured to execute the above-mentioned method for calculating the differential phase shift of the resolver when running the program instructions.

[0013] In some embodiments, the circuit comprises:

[0014] The selector has two input ends connected to an I-path phase-shifted output signal and a Q-path phase-shifted output signal respectively, and the I-path phase-shifted output signal or the Q-path phase-shifted output signal is selected for output by controlling a selection control signal; wherein the I-path phase-shifted output signal and the Q-path phase-shifted output signal are signals of the I-path output signal and the Q-path output signal of the rotary transformer after transmission delay; and a phase-locked loop, an input end of which is connected to the output end of the selector, comprises a phase detector, a loop filter and a digitally controlled oscillator which are sequentially connected to form a loop, and is used for calculating, filtering and integrating the input I-path phase-shifted output signal or the Q-path phase-shifted output signal to obtain the phase offset of the corresponding signal.

[0015] In some embodiments, the electronic device includes:

[0016] An electronic device body; and, as described above, a device for calculating the differential phase shift of a rotary transformer, or, as described above, a circuit for calculating the differential phase shift of a rotary transformer.

[0017] The method, device, circuit, and electronic device for calculating the differential phase shift of a rotary transformer provided by the embodiments of the present disclosure can achieve the following technical effects:

[0018] In the disclosed embodiment, based on the input reference signal of the rotary transformer, the I-path phase shift output signal and the Q-path phase shift output signal of the rotary transformer are obtained. Then, based on the I-path and Q-path phase shift output signals, the I-path and Q-path phase offsets are obtained respectively, and then the differential phase shift is calculated. This method can accurately calculate the size of the differential phase shift and calculate based on the output signal of the rotary transformer (the output signal of the rotary transformer is a digital signal), and the differential phase shift can be quickly calculated. This lays the foundation for the subsequent compensation of the differential phase shift, which helps to improve the solution accuracy of the RDC.

[0019] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:

[0021] Figure 1 is a schematic diagram of a circuit structure for calculating a differential phase shift of a rotary transformer provided by an embodiment of the present disclosure;

[0022] Figure 2 is a schematic diagram of a method for calculating a differential phase shift of a rotary transformer provided by an embodiment of the present disclosure;

[0023] Figure 3 is a structural schematic diagram of a rotary transformer provided by an embodiment of the present disclosure;

[0024] Figure 4 is a schematic diagram of the structure of a phase-locked loop provided by an embodiment of the present disclosure;

[0025] Figure 5 is a structural schematic diagram of a digitally controlled oscillator provided by an embodiment of the present disclosure;

[0026] Figure 6 is a schematic diagram of the structure of a loop filter provided by an embodiment of the present disclosure;

[0027] Figure 7 is a schematic diagram of a device for calculating a differential phase shift of a rotary transformer provided by an embodiment of the present disclosure;

[0028] Figure 8 It is a schematic diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0029] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0030] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so as to describe the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0031] Unless otherwise stated, the term "plurality" means two or more.

[0032] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.

[0033] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.

[0034] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.

[0035] Combination Figure 1 and 3 , a circuit 20 for calculating the differential phase shift of a rotary transformer, comprising: a selector 21 and a phase-locked loop 22. The selector 21, the two input ends of which are respectively connected to the I-path phase-shifted output signal and the Q-path phase-shifted output signal, selects to output the I-path phase-shifted output signal or the Q-path phase-shifted output signal by controlling the selection control signal (i.e., the switch signal). Among them, the I-path phase-shifted output signal and the Q-path phase-shifted output signal are the signals of the I-path output signal and the Q-path output signal of the rotary transformer after transmission delay; the phase-locked loop 22, the input end of which is connected to the output end of the selector 21, comprises a phase detector PD, a loop filter LF and a numerically controlled oscillator NCO which are sequentially connected to form a loop, and is used to calculate, filter and integrate the input I-path phase-shifted output signal or the Q-path phase-shifted output signal to obtain the phase shift of the corresponding signal. Among them, the phase detector PD is composed of three multipliers.

[0036] In the disclosed embodiment, when the input reference signal of the rotary transformer is known, the I-channel output signal and the Q-channel output signal of the rotary transformer can be obtained. The I-channel output signal and the Q-channel output signal introduce phase deviation due to delay in the transmission process (such as transmission through analog circuits, analog-to-digital converters and other devices and lines), forming an I-channel phase-shifted output signal and a Q-channel phase-shifted output signal. One of the phase-shifted output signals is input to the input end of the phase-locked loop through a selector, and after adjustment by the phase-locked loop, the phase shift (i.e., phase offset) of the phase-shifted output signal can be obtained. Similarly, the other phase-shifted output signal is input into the phase-locked loop to obtain the corresponding phase shift. Finally, a differential phase shift can be obtained based on the phase shift of the two signals. Here, a selector is used to select the I-channel phase-shifted output signal and the Q-channel phase-shifted output signal, so that the circuit structure can be simplified, the multiplexing of the phase-locked loop can be realized, and the area of ​​the circuit structure can be reduced.

[0037] Based on the above circuit, combined with Figure 2 As shown, the embodiment of the present disclosure provides a method for calculating a differential phase shift of a rotary transformer, comprising:

[0038] S101, the processor determines an I-path phase-shifted output signal and a Q-path phase-shifted output signal of the resolver according to an input reference signal of the resolver.

[0039] S102, the processor obtains an I-path phase offset of the resolver based on the I-path phase-shifted output signal, and obtains a Q-path phase offset of the resolver based on the Q-path phase-shifted output signal.

[0040] S103: The processor determines the differential phase shift of the resolver according to the I-path phase offset and the Q-path phase offset.

[0041] Combination Figure 3 The structural diagram of the rotary transformer in the figure can be based on the input reference signal V r Get the I-channel output signal V I '(that is, V in the figure S ) and Q output signal V Q '(that is, V in the figure C Specifically, let the input reference signal V r =A 0 *sin(ωt)

[0042] Among them, A 0 is the amplitude, ω is the angular velocity of the driving carrier; when the transformer ratio of the rotary transformer is K and the rotor angle is θ, the I-channel output signal V is obtained. I ' and Q output signal V Q ':

[0043] V Q '=K*V r*sin(θ)=K*A 0 *sin(ωt)*sin(θ)

[0044] V I '=K*V r *coS(θ)=K*A 0 *sin(ωt)*coS(θ)

[0045] When RDC resolves the output signal of the resolver, the line delay of the I and Q signals and the device delay due to process and other reasons cannot achieve equal delay, which will introduce differential phase shift. Set the phase offset of I path to α and the phase offset of Q path to β, then the phase shift output signal V I And Q-path phase shift output signal V Q for:

[0046] V Q =K*A 0 *sin(ωt+α)*sin(θ)

[0047] V I =K*A 0 *sin(ωt+β)*cos(θ)

[0048] Furthermore, the phase shift output signal of the I-way phase-locked loop is output for calculation, and the phase offset α of the I-way can be obtained when the loop is in steady state. Similarly, the phase offset of the Q-way can be obtained as β. Then, based on the phase offsets of the two ways, the differential phase shift of the rotary transformer is determined. In this way, based on the differential phase shift, compensation can be performed to improve the RDC solution accuracy.

[0049] The method for calculating the differential phase shift of the rotary transformer provided by the embodiment of the present disclosure is adopted, and the I-path phase shift output signal and the Q-path phase shift output signal are obtained based on the input reference signal of the rotary transformer. Then, the I-path and Q-path phase offsets are obtained respectively based on the I-path and Q-path phase shift output signals, and then the differential phase shift is calculated. The method can accurately calculate the size of the differential phase shift and calculate based on the output signal of the rotary transformer (the output signal of the rotary transformer is a digital signal), and the differential phase shift can be quickly calculated. This lays the foundation for the subsequent compensation of the differential phase shift, which helps to improve the solution accuracy of the RDC.

[0050] Optionally, in step S101, the processor determines I-channel phase-shifted output signal of the resolver according to an input reference signal of the resolver, including:

[0051] The processor obtains a sine value of a rotor angle of the resolver.

[0052] The processor uses the product of the input reference signal and the sine value of the rotor angle as an I output signal.

[0053] The processor obtains an I-channel phase-shifted output signal based on the I-channel output signal.

[0054] Here, the rotor angle of the rotary transformer can be in a static condition or in a dynamic condition. Among them, in the static condition, the rotor does not rotate and the rotor angle is fixed. In the dynamic condition, the rotor will rotate with the input rotational force. In this case, the rotor angle changes with time. The rotor angle can be obtained by indirectly measuring the angle through sensors, encoders, etc., or by directly measuring the rotor angle; select a suitable measurement method based on the accuracy requirements. In this way, the rotor angle can be obtained. In the embodiment of the present disclosure, the signal in the direction of the sinusoidal component of the rotor angle is used as an I-channel output signal. Therefore, after obtaining the rotor angle, the sine value of the rotor angle and the input reference signal can be used to obtain the I-channel output signal. Furthermore, based on the above content, after setting the phase offset, the I-channel phase-shifted output signal can be obtained.

[0055] Optionally, in step S101, the processor determines a Q-path phase-shifted output signal of the resolver according to an input reference signal of the resolver, including:

[0056] The processor obtains a cosine value of a rotor rotation angle of the resolver.

[0057] The processor uses the product of the input reference signal and the cosine value of the rotor angle as the Q-channel output signal.

[0058] The processor obtains a Q-path phase-shifted output signal based on the Q-path output signal.

[0059] Here, the method for obtaining the Q-path phase-shifted output signal is similar to the method for obtaining the I-path phase-shifted output signal in the previous text, and will not be described in detail. The only difference is that the Q-path phase-shifted output signal is a signal in the direction of the cosine component of the rotor angle.

[0060] Optionally, the processor obtains the rotor angle of the rotary transformer, including:

[0061] When the rotor is in a static condition or a dynamic condition, the processor obtains the angle between the rotor rotation axis and the vertical line.

[0062] The processor uses the included angle between the rotor rotation axis and the vertical line as the rotor rotation angle of the resolver.

[0063] Therein, when the rotor is in a static condition, the rotor rotation axis does not overlap with the vertical line.

[0064] As mentioned above, the rotor can be in static conditions or in dynamic conditions. Regardless of the conditions the rotor is in, the angle θ between the rotor rotation axis and the vertical line is taken as the rotor rotation angle. The vertical line refers to a vertical line perpendicular to the horizontal plane. Here, it should be noted that under static conditions, the rotation axis and the vertical line do not coincide, that is, the angle θ is not zero. When θ=0, the sine value of the rotor angle is zero. In this case, the Q-path phase offset cannot be obtained; and thus the differential phase shift of the resolver cannot be determined. Under dynamic conditions, the external input rotation force, so the rotor rotates and its rotation axis does not coincide with the vertical line.

[0065] Optionally, in step S102, the processor obtains an I-way phase offset of the resolver based on the I-way phase shift output signal, including:

[0066] The I-channel phase-shifted output signal and the two-channel first co-frequency orthogonal oscillation signals are multiplied to obtain the I-channel error signal; the processor performs low-pass filtering on the I-channel error signal; and, the I-channel error signal after low-pass filtering is integrated to adjust the first phase and generate two first co-frequency orthogonal oscillation signals; when the adjusted first phase meets the preset conditions, the processor uses the adjusted first phase as the I-channel phase offset. Or,

[0067] Step S102, the processor obtains the Q-path phase offset of the rotary transformer based on the Q-path phase shift output signal, including:

[0068] The processor multiplies the Q-path phase-shifted output signal and the two-path second co-frequency orthogonal oscillation signals to obtain a Q-path error signal; the processor performs a low-pass filtering on the Q-path error signal; and, performs an integration operation on the low-pass filtered Q-path error signal to adjust the second phase and generate two second co-frequency orthogonal oscillation signals; when the adjusted second phase meets a preset condition, the processor uses the adjusted second phase as the Q-path phase offset.

[0069] Combination Figure 4 The structure diagram of the differential phase shift calculation loop (i.e., the structure diagram of the phase-locked loop) illustrates the calculation of the Q-path phase shift output signal. The Q-path phase shift output signal and the two-path orthogonal oscillation signals of the same frequency output by the digital control oscillator are input into the phase detector for multiplication to obtain the I-path error signal; where,

[0070] Assume transformer ratio K and amplitude A 0 are all 1, that is

[0071] V Q = sin(ωt+α)*sin(θ)

[0072] NCO generates two first co-frequency orthogonal oscillation signals, set as;

[0073]

[0074]

[0075] After the phase detector operation, the error signal V is obtained. Q *NCO sin *V Q *NCO cos ,and

[0076]

[0077] The phase detector includes three multipliers. The Q-path phase-shifted output signal is multiplied by two orthogonal oscillation signals of the same frequency respectively, and then the product is multiplied to obtain the I-path error signal V Q *NCO sin *V Q *NCO cos Furthermore, the obtained Q-path error signal is input into the loop filter for low-pass filtering. After filtering, the high-frequency component is filtered out, and the filtered signal is:

[0078]

[0079] The filtered signal is used as the input signal of the digital controlled oscillator for integration operation to adjust the phase deviation and generate two orthogonal oscillation signals with the same frequency; when the adjusted second phase α meets the preset conditions, the second phase α is used as the Q-path phase offset.

[0080] The second phase α is not the output signal of the digital controlled oscillator, but the output signal of one link of the internal circuit of the digital controlled oscillator. Figure 5 The structural diagram of the numerically controlled oscillator NCO is used for explanation. The upper link is the link for processing the frequency ω, and the lower link is the link for processing the phase α; the acquisition point of the second phase α is point A in the figure.

[0081] Similarly, according to the above calculation process, after inputting the I-way phase-shifted output signal into the phase-locked loop, the I-way phase offset can be obtained, which will not be described in detail here. Among them, the NCO generates two second-way co-frequency orthogonal oscillation signals, which are set as;

[0082]

[0083]

[0084] The above calculation method is implemented by digital logic, and the differential phase shift can be calculated quickly. And the accurate differential phase shift can be obtained by using a phase-locked loop for calculation.

[0085] In addition, combined Figure 6As shown, the loop filter includes two links, one of which is a Kp proportional link and the other is a Ki integral link. The two links are added together to serve as the output of the loop filter. In the application process, the Kp and Ki parameters of the loop filter can be adjusted based on the scene requirements to achieve the requirements of differential phase shift accuracy in different scenes. For example, the required accuracy in the aviation field is relatively high, while the accuracy requirements in the industrial control field are relatively low.

[0086] Optionally, the first phase after adjustment by the processor satisfies a preset condition, or the second phase after adjustment satisfies a preset condition:

[0087] When the adjusted first phase makes the error in the I path difference error signal approach zero, it is determined that the adjusted first phase meets the preset condition; or, when the adjusted second phase makes the error in the Q path difference error signal approach zero, it is determined that the adjusted second phase meets the preset condition.

[0088] Here, the error in the I-path error signal is The error in the Q error signal is When the phase-locked loop is in steady state, the adjusted phase makes the corresponding error approach zero. or As mentioned above, the adjusted first phase or second phase can be obtained by collecting the internal signal of the digital controlled oscillator.

[0089] Optionally, in step S103, the processor determines the differential phase shift of the resolver according to the I-path phase offset and the Q-path phase offset, including:

[0090] The processor uses the difference between the Q-path phase offset and the I-path phase offset as the differential phase shift of the resolver.

[0091] Here, let phase_err be the differential phase shift, then phase_err=α-β. That is, the difference between the Q-path phase offset and the I-path phase offset is the differential phase shift. In some embodiments, the difference between the I-path phase offset and the Q-path phase offset can also be used as the differential phase shift.

[0092] Combination Figure 7As shown, the embodiment of the present disclosure provides a device 60 for calculating the differential phase shift of a rotary transformer, including a processor 61 and a memory 62. Optionally, the device 60 may also include a communication interface 63 and a bus 64. Among them, the processor 61, the communication interface 63, and the memory 62 can communicate with each other through the bus 64. The communication interface 63 can be used for information transmission. The processor 61 can call the logic instructions in the memory 62 to execute the method for calculating the differential phase shift of the rotary transformer of the above embodiment.

[0093] In addition, the logic instructions in the memory 62 described above may be implemented in the form of software functional units and when sold or used as independent products, may be stored in a computer-readable storage medium.

[0094] The memory 62 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 61 executes the function application and data processing by running the program instructions / modules stored in the memory 62, that is, the method for calculating the differential phase shift of the resolver in the above embodiment is implemented.

[0095] The memory 62 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 62 may include a high-speed random access memory and may also include a non-volatile memory.

[0096] Combination Figure 8 As shown, an embodiment of the present disclosure provides an electronic device 70, including: an electronic device body, and the above-mentioned device 60 for calculating the differential phase shift of a rotary transformer, or, the above-mentioned circuit 20 for calculating the differential phase shift of a rotary transformer. The device 60 / circuit 20 for calculating the differential phase shift of a rotary transformer is installed on the electronic device body; and the electronic device body includes a rotary transformer-digital conversion chip. The installation relationship described here is not limited to placement inside the electronic device body, but also includes installation connections with other components of the electronic device, including but not limited to physical connections, electrical connections or signal transmission connections, etc. It can be understood by those skilled in the art that the device 60 / circuit 20 for calculating the differential phase shift of a rotary transformer can be adapted to a feasible electronic device body, thereby realizing other feasible embodiments. Among them, the electronic device can be a servo drive, or various control systems, etc.

[0097] An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the above method for calculating the differential phase shift of a resolver.

[0098] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes.

[0099] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0100] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0101] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0102] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A method for calculating the differential phase shift of a resolver, It is characterized in that include: Determining an I-path phase-shifted output signal and a Q-path phase-shifted output signal of the resolver according to an input reference signal of the resolver; Obtaining an I-path phase offset of the rotary transformer based on the I-path phase shift output signal, and obtaining a Q-path phase offset of the rotary transformer based on the Q-path phase shift output signal; The differential phase shift of the resolver is determined according to the I-path phase offset and the Q-path phase offset.

2. The method according to claim 1, It is characterized in that Determining an I-channel phase-shifted output signal of the resolver according to an input reference signal of the resolver, including: Obtaining the sine value of the rotor angle of the rotary transformer; The product of the input reference signal and the sine value of the rotor angle is used as an output signal of channel I; Based on the I-channel output signal, an I-channel phase-shifted output signal is obtained.

3. The method according to claim 1, It is characterized in that The Q-path phase shift output signal of the resolver is determined according to the input reference signal of the resolver, including: Obtaining the cosine value of the rotor angle of the rotary transformer; The product of the input reference signal and the cosine value of the rotor angle is used as the Q-channel output signal; Based on the Q-path output signal, a Q-path phase-shifted output signal is obtained.

4. The method according to claim 2 or 3, It is characterized in that Obtain the rotor angle of the resolver, including: When the rotor is in a static condition or a dynamic condition, obtaining the angle between the rotor rotation axis and the vertical line; The included angle between the rotor rotation axis and the vertical line is taken as the rotor rotation angle of the rotary transformer; Therein, when the rotor is in a static condition, the rotor rotation axis does not overlap with the vertical line.

5. The method according to claim 1, It is characterized in that The I-channel phase offset of the resolver is obtained based on the I-channel phase shift output signal, including: Multiplying the I-channel phase-shifted output signal with the two-channel first co-frequency orthogonal oscillation signals to obtain an I-channel error signal; Performing low-pass filtering on the I-channel difference error signal; and performing integration operation on the I-channel error signal after low-pass filtering to adjust the first phase and generate two first same-frequency orthogonal oscillation signals; When the adjusted first phase satisfies a preset condition, the adjusted first phase is used as the I-channel phase offset; and / or, The Q-path phase offset of the resolver is obtained based on the Q-path phase shift output signal, including: The Q-path phase-shifted output signal is multiplied by two second co-frequency orthogonal oscillation signals to obtain a Q-path error signal; Performing low-pass filtering on the Q-path error signal; and performing integration operation on the low-pass filtered Q-path error signal to adjust the second phase and generate two second same-frequency orthogonal oscillation signals; When the adjusted second phase satisfies a preset condition, the adjusted second phase is used as the Q-path phase offset.

6. The method according to claim 5, It is characterized in that The first phase after adjustment in the following manner satisfies the preset condition, or the second phase after adjustment satisfies the preset condition: When the adjusted first phase makes the error in the I-path difference error signal approach zero, determining that the adjusted first phase satisfies a preset condition; or, When the adjusted second phase makes the error in the Q path difference error signal approach zero, it is determined that the adjusted second phase meets the preset condition.

7. The method according to claim 1, It is characterized in that The differential phase shift of the resolver is determined according to the I-path phase offset and the Q-path phase offset, including: The difference between the Q-path phase offset and the I-path phase offset is used as the differential phase shift of the resolver.

8. A device for calculating a differential phase shift of a resolver, comprising a processor and a memory storing program instructions, It is characterized in that The processor is configured to execute the method for calculating the differential phase shift of a resolver according to any one of claims 1 to 7 when running the program instructions.

9. A circuit for calculating the differential phase shift of a resolver, It is characterized in that include: A selector, wherein two input ends are respectively connected to an I-path phase-shifted output signal and a Q-path phase-shifted output signal, and the I-path phase-shifted output signal or the Q-path phase-shifted output signal is selected to be output by controlling a selection control signal; wherein the I-path phase-shifted output signal and the Q-path phase-shifted output signal are signals of the I-path output signal and the Q-path output signal of the rotary transformer after transmission delay; The phase-locked loop, whose input end is connected to the output end of the selector, includes a phase detector, a loop filter and a digitally controlled oscillator which are connected in sequence to form a loop, and is used to calculate, filter and integrate the input I-path phase-shifted output signal or Q-path phase-shifted output signal to obtain the phase offset of the corresponding signal.

10. An electronic device, It is characterized in that include: Electronic device body; and, The device for calculating the differential phase shift of a resolver as claimed in claim 8, or the circuit for calculating the differential phase shift of a resolver as claimed in claim 9.

Citation Information

Cited By

  • Signal loop adjusting method and device, electronic equipment and storage medium

    CN119845311A