Method, device and equipment for determining wiring fault of rotary transformer

By acquiring and mapping the current and position signal correspondence between the rotary transformer in the DQ axis current closed-loop mode, the wiring fault of the rotary transformer in the permanent magnet synchronous motor is quickly judged and corrected, and the problem of motor closed-loop operation is solved due to wiring faults, which improves the problem of motor closed-loop operation failure. Judgment and correction efficiency.

CN115996008BActive Publication Date: 2025-02-11ZOOMLION HEAVY INDUSTRY SCIENCE AND TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111217198.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-19
Publication Date
2025-02-11
Estimated Expiration
2041-10-19

AI Technical Summary

Technical Problem

In permanent magnet synchronous motors, rotation transformer wiring failures often lead to the motor's closed-loop operation out of control. It is particularly important to quickly judge and correct wiring failures.

Method used

By obtaining the correspondence between the current and the position signal in the DQ axis current closed-loop mode, map it to the plane rectangular coordinate system, the wiring faults of the primary winding, the first stage winding and the second secondary winding are determined.

Benefits of technology

It realizes rapid positioning of the rotation transformer wiring fault, improves judgment efficiency, simplifies the correction process, and ensures that the motor resumes normal operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115996008B_ABST
    Figure CN115996008B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of rotary transformers, and its implementation method provides a method, device and equipment for determining the wiring fault of a rotary transformer. The method for determining the wiring fault of a rotary transformer includes: determining that the rotary transformer operates in a DQ axis current closed loop mode, obtaining the correspondence between at least one set of current and position signals of the rotary transformer in the DQ axis current closed loop mode; mapping the theoretical position corresponding to the current and the solution position obtained by decoding the position signal to a plane rectangular coordinate system, obtaining the position relationship between the theoretical position and the solution position based on the coordinate axis, and determining the wiring fault in the primary winding connection, the first secondary winding connection and the second secondary winding connection according to the position relationship. The implementation method provided by the present invention can improve the efficiency of determining the wiring fault of a rotary transformer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of rotary transformers, and in particular to a method for determining a rotary transformer wiring fault, a device for determining a rotary transformer wiring fault, a device for determining a rotary transformer wiring fault, and a permanent magnet synchronous motor. Background Art

[0002] Permanent magnet synchronous motors currently generally use resolvers to monitor the real-time position of the motor rotor. This position is a very critical factor in the motor vector closed-loop control. Incorrect position information will cause the motor closed-loop operation to lose control.

[0003] A resolver is an absolute position sensor that detects the rotation of a motor. It can detect the angular displacement and angular velocity of the rotating motor's shaft in real time. Usually, the primary winding is located on the rotor (the primary winding is excited by an AC reference source and needs to be connected to the positive and negative excitation power supply), and the two secondary windings are located on the stator (connected to the positive and negative sine signals and the positive and negative cosine signals, respectively). Only when the wiring is correctly defined can the motor rotor position be correctly analyzed. In engineering applications, various wiring faults will actually be encountered, which will cause the vehicle's power to lose control. It is particularly important to quickly judge the wiring errors and quickly replace the wiring to restore the vehicle to normal.

[0004] Permanent magnet synchronous motors currently generally use resolvers to monitor the real-time position of the motor rotor. Figure 1 Schematic diagram of the wiring of the rotary transformer in the prior art. Figure 1 As shown in the figure, the usual configuration of the rotary transformer is that the primary winding is located on the rotor and the two secondary windings are located on the stator. In a typical working condition, the secondary windings S2\S4 are cosine signal outputs, the secondary windings S1\S3 are sine signal outputs, the primary windings R1\R2 are excitation signal inputs, and the two secondary (stator) windings are mechanically offset by 90°.

[0005] When this goal is achieved, within the rated accuracy range of the converter, φ is equal to the resolver angle θ, that is, the actual motor rotor angle is obtained. The above conversion and decoding process is generally decoded using the AD2S1210 chip. Summary of the invention

[0006] The purpose of the embodiments of the present invention is to provide a method, device and equipment for locating a rotary transformer wiring fault, so as to at least solve some of the above problems.

[0007] In order to achieve the above-mentioned purpose, the first aspect of the present invention provides a method for determining the wiring fault of a locating rotary transformer, wherein the wiring includes a primary winding wiring, a first secondary winding wiring and a second secondary winding wiring, and the method includes: determining that the rotary transformer operates in a DQ-axis current closed-loop mode, and obtaining the correspondence between at least one set of current and position signals of the rotary transformer in the DQ-axis current closed-loop mode; mapping the positional relationship between the theoretical position corresponding to the current and the solved position obtained by decoding the position signal to a positional relationship in a plane rectangular coordinate system, and determining the wiring faults in the primary winding wiring, the first secondary winding wiring and the second secondary winding wiring according to the positional relationship.

[0008] Optionally, the method also includes: before determining that the rotating transformer operates in the DQ axis current closed-loop mode, determining that there is no wiring fault in the primary winding connection or correcting the wiring fault in the primary winding connection; correspondingly, the judgment step of determining the wiring fault in the primary winding connection, the first secondary winding connection and the second secondary winding connection according to the position relationship is replaced by: determining the wiring fault in the first secondary winding connection and the second secondary winding connection according to the position relationship.

[0009] Optionally, the wiring faults in the first secondary winding connection and the second secondary winding connection include one or a combination of at least two of the following wiring conditions: interchangeable misconnection of the first secondary winding connection and the second secondary winding connection, interchangeable misconnection of positive and negative in the first secondary winding connection, and interchangeable misconnection of positive and negative in the second secondary winding connection.

[0010] Optionally, determining that there is no wiring fault in the primary winding connection or correcting the wiring fault in the primary winding connection includes: obtaining the direction of movement of the rotor and the direction of change of the output position signal; determining that the primary winding connection is one of two wiring methods in which positive and negative are interchanged according to whether the direction of movement of the rotor is consistent with the change direction; when the determined wiring method is the same as the current wiring method of the primary winding, determining that there is no wiring fault in the primary winding connection; when the determined wiring method is different from the current wiring method of the primary winding, correcting the current wiring method of the primary winding to the determined wiring method.

[0011] Optionally, the correspondence between at least one set of current and position signals of the rotating transformer in the DQ-axis current closed-loop mode is obtained, including: according to at least one D-axis input current and at least one Q-axis input current, obtaining a position signal corresponding to each possible combination of the D-axis input current and the Q-axis input current; and synthesizing the obtained position signals according to the magnitude and direction of the D-axis input current and the Q-axis input current.

[0012] Optionally, the at least one D-axis input current and the at least one Q-axis input current are: the D-axis input current is a first preset current; the Q-axis input current is 0A, a second forward preset current, and a second reverse preset current respectively.

[0013] Optionally, the positional relationship based on the coordinate axis includes: interchanging the coordinate axes and / or flipping along the coordinate axes.

[0014] Optionally, determining a wiring fault in the first secondary winding connection and the second secondary winding connection according to the positional relationship includes: if the positional relationship includes an interchange of coordinate axes, then the wiring fault includes an interchange and misconnection of the first secondary winding connection and the second secondary winding connection; if the positional relationship includes flipping along the coordinate axis, then according to flipping along the X-axis and flipping along the Y-axis in the flipping along the coordinate axis, determining that the wiring fault includes a positive and negative interchange and misconnection in the first secondary winding connection and a positive and negative interchange and misconnection in the second secondary winding connection; if the positional relationship includes flipping along the coordinate axis, then according to flipping along the X-axis or flipping along the Y-axis in the flipping along the coordinate axis, determining that the wiring fault includes a positive and negative interchange and misconnection in the first secondary winding connection or a positive and negative interchange and misconnection in the second secondary winding connection.

[0015] Optionally, the method further includes: after determining the wiring fault in the first secondary winding connection and the second secondary winding connection, performing corresponding correction on the determined wiring fault.

[0016] In the second aspect of the present invention, a judgment device for locating a wiring fault of a rotary transformer is also provided, comprising: a closed-loop mode test module, used to determine whether the rotary transformer operates in a DQ-axis current closed-loop mode, a test output acquisition module, used to obtain the correspondence between at least one set of current and position signals of the rotary transformer in the DQ-axis current closed-loop mode; a position relationship determination module, used to map the theoretical position corresponding to the current and the solved position obtained by decoding the position signal to a plane rectangular coordinate system to obtain the position relationship between the theoretical position and the solved position based on the coordinate axis, and a wiring fault determination module, used to determine the wiring fault in the primary winding connection, the first secondary winding connection and the second secondary winding connection according to the position relationship.

[0017] In a third aspect of the present invention, a judgment device for locating a rotary transformer wiring fault is also provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the aforementioned judgment method for locating a rotary transformer wiring fault when executing the computer program.

[0018] In a fourth aspect of the present invention, a permanent magnet synchronous motor is provided, comprising a rotary transformer and a main control module, wherein the main control module is configured to execute the steps of the aforementioned determination method for locating a rotary transformer wiring fault.

[0019] In a fifth aspect of the present invention, a computer-readable storage medium is provided, wherein instructions are stored in the storage medium, and when the instructions are executed on a computer, the computer executes the aforementioned method for determining a wiring fault of a locating rotary transformer.

[0020] A sixth aspect of the present invention provides a computer program product, comprising a computer program, which, when executed by a processor, implements the aforementioned method for determining a wiring fault in a locating rotary transformer.

[0021] The above technical solution has the following beneficial effects:

[0022] This technical solution uses the DQ axis closed-loop current control mode, combined with the summarized coordinate position transformation method of the rotary transformer misalignment, to quickly locate the rotary transformer wiring fault. It is simple to use, easy to remember, and can quickly get results. It can be widely used in solving similar after-sales problems to improve judgment efficiency.

[0023] Other features and advantages of the embodiments of the present invention will be described in detail in the subsequent detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present invention, but do not constitute a limitation on the embodiments of the present invention. In the accompanying drawings:

[0025] Figure 1 It is a wiring diagram of a rotary transformer in the prior art;

[0026] Figure 2 The schematic diagram of the implementation of the method for determining the wiring fault of a locating rotary transformer according to the embodiment of the present invention is schematically shown;

[0027] Figure 3 A schematic diagram showing a position signal output diagram corresponding to a primary winding connection according to an embodiment of the present invention;

[0028] Figure 4 A schematic diagram showing a position signal output diagram corresponding to another primary winding connection according to an embodiment of the present invention;

[0029] Figure 5 A coordinate position relationship diagram corresponding to a wiring fault 1 according to an embodiment of the present invention is schematically shown;

[0030] Figure 6 A coordinate position relationship diagram corresponding to a wiring fault 2 according to an embodiment of the present invention is schematically shown;

[0031] Figure 7 A schematic diagram showing a coordinate position relationship diagram corresponding to a wiring fault 3 according to an embodiment of the present invention;

[0032] Figure 8 A coordinate position relationship diagram corresponding to a wiring fault 4 according to an embodiment of the present invention is schematically shown;

[0033] Fig. 9 Schematically shows a coordinate position relationship diagram corresponding to a wiring fault 9 according to an embodiment of the present invention;

[0034] Fig.10 Schematically shows a coordinate position relationship diagram corresponding to a wiring fault 10 according to an embodiment of the present invention;

[0035] Fig.11 A coordinate position relationship diagram corresponding to a wiring fault 11 according to an embodiment of the present invention is schematically shown;

[0036] Fig.12 The structure diagram of the judging device for locating the wiring fault of the rotary transformer according to the embodiment of the present invention is schematically shown. DETAILED DESCRIPTION

[0037] The specific implementation of the embodiment of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the embodiment of the present invention, and is not used to limit the embodiment of the present invention.

[0038] Figure 2 The following is a schematic diagram showing an implementation of a method for determining a wiring fault of a rotary transformer according to an embodiment of the present invention. Figure 2 As shown, a method for determining a wiring fault of a rotary transformer, wherein the wiring includes a primary winding wiring, a first secondary winding wiring, and a second secondary winding wiring, and the method includes:

[0039] S01. Determine that the rotary transformer operates in a DQ axis current closed-loop mode; the permanent magnet synchronous motor collects three-phase alternating current, and in motor control, the three-phase alternating current is generally converted into a orthogonal axis (ie, DQ axis) current through two transformations for closed-loop control.

[0040] S02. Obtain at least one set of correspondence between the current and position signal of the rotary transformer in the DQ axis current closed-loop mode; in the DQ axis current closed-loop mode, input currents to the D axis and Q axis respectively, and obtain the position signals corresponding to the above input currents. A set of correspondences includes the D axis input current, the Q axis input current and the position signal. This embodiment can be solved by only one set of correspondences, or by multiple sets of correspondences, or by combining multiple sets of correspondences into one set of correspondences for solution.

[0041] S03. Map the positional relationship between the theoretical position corresponding to the current and the solved position obtained by decoding the position signal to the positional relationship in a plane rectangular coordinate system; the theoretical position corresponding to the current refers to the position corresponding to the input current in the corresponding relationship under normal wiring conditions, and the solved position is the position obtained by decoding the position signal in the corresponding relationship. In the case where there is no wiring fault, the theoretical position should be equal to the solved position, but in the case where there is a wiring fault, the two are not equal and show a certain relationship. This embodiment corresponds and maps the relationship between the two to a positional relationship in a plane rectangular coordinate system.

[0042] S04. Determine the wiring faults in the first secondary winding connection and the second secondary winding connection according to the positional relationship. When the rotary transformer connection is miswired, the theoretical position and the solved position can be matched only by a simple transformation of the coordinate axis. The general principle is: if the positive and negative connections of the secondary winding are reversed, the coordinate axis is flipped; if the secondary winding is reversed as a whole, the coordinate axis is interchanged; if the primary winding is reversed, it can be considered that the XY axis is reversed at the same time; other various situations can be combined with these three situations.

[0043] Through the above implementation methods, through an in-depth analysis of the principle of the rotary transformer, its actual model formula under different wiring misalignment lines is obtained, and a set of rotary transformer misalignment coordinate position transformation methods are summarized. It can be used after simple memorization, and the actual angle can be obtained by mental calculation. It does not require specific devices or programs and has the advantages of being simple, convenient and widely used.

[0044] In some embodiments provided by the present invention, the method further includes: before determining that the rotary transformer operates in the DQ axis current closed loop mode, determining that there is no wiring fault in the primary winding connection or correcting the wiring fault in the primary winding connection; correspondingly, the judgment step of determining the wiring fault in the primary winding connection, the first secondary winding connection and the second secondary winding connection according to the position relationship is replaced by: determining the wiring fault in the first secondary winding connection and the second secondary winding connection according to the position relationship. The difference between this embodiment and the previous embodiment is that: first, it is judged that the primary winding connection is the correct connection, which includes two situations, namely: there is no wiring fault in the current connection state, and there is a wiring fault in the current connection state, but there is no wiring fault in the connection state after correction. Then execute the judgment method in the aforementioned DQ axis current closed loop mode. Since the wiring fault of the primary winding connection has been eliminated, only the wiring fault in the first secondary winding connection and the second secondary winding connection needs to be determined in the last step. This embodiment decomposes the judgment of the wiring fault in the previous implementation, which is conducive to improving the judgment efficiency of the wiring fault.

[0045] In some embodiments provided by the present invention, the wiring fault in the first secondary winding connection and the second secondary winding connection includes one or a combination of at least two of the following wiring conditions: the interchangeable misconnection of the first secondary winding connection and the second secondary winding connection, the interchangeable misconnection of the positive and negative in the first secondary winding connection, and the interchangeable misconnection of the positive and negative in the second secondary winding connection. The possible faults of the two sets of secondary winding connections include the interchangeable misconnection of the positive and negative within each set of secondary winding connections, that is, the positive and negative poles are reversed. It also includes the interchangeable misconnection between the two sets of secondary winding connections, that is, the connection that should be connected to the first secondary winding is connected to the second secondary winding or the connection that should be connected to the second secondary winding is connected to the first secondary winding. It may also include a wiring fault in which the above three wiring conditions are combined, for example, the above two wiring conditions occur at the same time or the above three wiring conditions occur at the same time. Therefore, the embodiments provided by the present invention can provide a judgment of subdividing the above various wiring conditions included in the wiring fault.

[0046] In some embodiments provided by the present invention, determining that there is no wiring fault in the primary winding connection or correcting the wiring fault in the primary winding connection includes: obtaining the direction of movement of the rotor and the direction of change of the output position signal; determining that the primary winding connection is one of two wiring methods in which positive and negative are interchanged according to whether the direction of movement of the rotor is consistent with the direction of change; when the determined wiring method is the same as the current wiring method of the primary winding, determining that there is no wiring fault in the primary winding connection. When the determined wiring method is different from the current wiring method of the primary winding, correcting the current wiring method of the primary winding to the determined wiring method. In the actual scenario where the motor is applied to a vehicle, the vehicle can be first suspending, the wheel can be rotated in the forward direction, the position signal of the rotary transformer can be collected, and the position signal can be observed to see whether it is reciprocating from 0 to 360°. At this time, the position signal is as follows: Figure 3 shown. Figure 3 The schematic diagram shows the position signal output diagram corresponding to the primary winding connection according to an embodiment of the present invention. If the signal is 360° to 0 reciprocating, the signal is reversed, and the position signal at this time is as follows Figure 4 shown. Figure 4 The schematic diagram shows the position signal output diagram corresponding to another primary winding connection according to an embodiment of the present invention. In this case, the primary winding connection is considered to be reversed, that is, the phase difference is 180°. Therefore, if this situation occurs, the primary winding connection is reversed first.

[0047] In some embodiments provided by the present invention, the correspondence between at least one set of current and position signals of the rotary transformer in the DQ axis current closed-loop mode is obtained, including: obtaining a position signal corresponding to each possible combination of the D axis input current and the Q axis input current according to at least one D axis input current and at least one Q axis input current; synthesizing the obtained position signal according to the magnitude and direction of the D axis input current and the Q axis input current. The DQ axis current closed-loop positioning method used in this embodiment can obtain a position signal after comprehensive calculation of at least two forward and reverse angles, which can offset the positioning error caused by resistance such as shaft friction. The specific calculation process is described below through another embodiment.

[0048] In some embodiments provided by the present invention, the at least one D-axis input current and the at least one Q-axis input current include: the D-axis input current is a first preset current; the Q-axis input current is 0A, a second forward preset current, and a second reverse preset current. Based on the previous embodiment, the calculation process of the following three Q-axis input currents is as follows: the upper computer is used to control the motor to run in the DQ-axis current closed-loop mode, at which time the Q-axis current is 0A, and the D-axis current is given to the first preset current (200A is taken as an example below), and the position information of the rotary transformer is read at this time and recorded as x0; the Q-axis current is given to the second preset current, for example: The D-axis current is 200A, and the position information of the resolver is read and recorded as x1. The Q-axis current is The D-axis current is 200A, and the position information of the rotary transformer is read and recorded as x2. According to x3=((x1+x2) / 2+x0) / 2, the position information of the rotary transformer deviation at this time can be obtained.

[0049] In some embodiments provided by the present invention, the positional relationship includes interchanging coordinate axes and / or flipping along the coordinate axes, that is, the theoretical position and the solved position can be converted to each other by interchanging coordinate axes and / or flipping along the coordinate axes.

[0050] In some embodiments provided by the present invention, the wiring fault in the first secondary winding connection and the second secondary winding connection is determined according to the positional relationship, including: if the positional relationship includes an interchange of coordinate axes, the wiring fault includes an interchange and misconnection of the first secondary winding connection and the second secondary winding connection; if the positional relationship includes flipping along the coordinate axis, according to flipping along the X-coordinate axis and flipping along the Y-coordinate axis in the flipping along the coordinate axis, the wiring fault is determined to include a positive and negative interchange and misconnection in the first secondary winding connection and a positive and negative interchange and misconnection in the second secondary winding connection; if the positional relationship includes flipping along the coordinate axis, according to flipping along the X-coordinate axis or flipping along the Y-coordinate axis in the flipping along the coordinate axis, the wiring fault is determined to include a positive and negative interchange and misconnection in the first secondary winding connection or a positive and negative interchange and misconnection in the second secondary winding connection. The corresponding relationship can be: if the relative relationship includes flipping along the X-axis in the flipping along the coordinate axis, then the wiring fault includes the positive and negative interchanged connection in the first secondary winding connection; if the relative relationship includes flipping along the Y-axis in the flipping along the coordinate axis, then the wiring fault includes the positive and negative interchanged connection in the second secondary winding connection, or vice versa. For the convenience of description, the signal in the primary winding connection is defined as an excitation signal, the signal in the first secondary winding connection is defined as a sine signal, and the signal in the second secondary winding connection is defined as a cosine signal. The specific steps for determining the wiring fault are as follows,

[0051] According to the following basic formula, the angle is recalculated for different wiring situations:

[0052]

[0053] Wiring fault 1: Only the positive and negative lines of the resolver sine are connected in reverse. In this case, the sinusoidal signal sinθ will become -sinθ, which can be further written as sin(-θ), and the basic formula is calculated as follows:

[0054]

[0055] Finally When it is smaller and closer to 0, the actual angle That is, the calculated position (here is the angle) decoded by the chip is opposite to the actual angle. The custom X-axis represents sinθ and the Y-axis represents cosθ. Taking the original angle of 35° as an example, the actual position can be represented on the coordinate axis as follows: Figure 5 shown. Figure 5 The coordinate position relationship diagram corresponding to the wiring fault 1 according to the embodiment of the present invention is schematically shown. It can be seen that in this wiring fault, the original angle can be flipped along the X axis.

[0056] Wiring fault 2: Only the positive and negative wires of the resolver cosine are connected in reverse. In this wiring fault, the cosine signal cosθ will become -cosθ, which can be further written as cos(π-θ), and the basic formula is calculated to be Since sinθ=sin(π-θ), the above formula can be further written as: Finally When it is smaller and closer to 0, the actual angle Similarly, according to the custom X-axis represents sinθ, the Y-axis represents cosθ, and the actual position can be represented on the coordinate axis as follows Figure 6 shown. Figure 6 The coordinate position relationship diagram corresponding to the wiring fault 2 according to the embodiment of the present invention is schematically shown. It can be seen that in this wiring fault, the original angle can be flipped along the Y axis.

[0057] Wiring fault 3: Only the excitation signal is connected in reverse. In this wiring fault, the basic formula can be written as: Further written as: This can be considered as wiring fault 1, the sine signal is connected in reverse; further written as: This can be considered as wiring fault 2, the cosine signal is connected in reverse. According to the two angles formula, it can be written as: Finally When it approaches 0, the actual angle Similarly, according to the custom X-axis represents sinθ, the Y-axis represents cosθ, and the actual position can be represented on the coordinate axis as follows Figure 7 shown. Figure 7 The coordinate position relationship diagram corresponding to the wiring fault 3 according to the embodiment of the present invention is schematically shown. According to the derivation process, this wiring fault can be considered as a combination of wiring fault 1 and wiring fault 2, that is, it can be replaced by wiring fault 1 plus wiring fault 2. It can be seen that under this wiring fault, the original angle can be flipped along the X axis first and then along the Y axis.

[0058] Wiring fault 4: The two groups of sine and cosine signals are interchanged, but the positive and negative wiring of each group remains unchanged. In this wiring fault, the basic formula can be written as It can be further written as:

[0059]

[0060] Finally When it approaches 0, the actual angle Similarly, according to the custom X-axis represents sinθ, the Y-axis represents cosθ, and the actual position can be represented on the coordinate axis as follows Figure 8 shown. Figure 8 The coordinate position relationship diagram corresponding to the wiring fault 4 according to the embodiment of the present invention is schematically shown. It can be seen that in this wiring fault, the X-axis and the Y-axis are interchanged, and the original angle value is rotated clockwise with the X-axis as the starting point to obtain the actual angle after transformation.

[0061] Wiring fault 5: The positive and negative of the sine and cosine signals are connected in reverse. This wiring fault can be considered as a combination of wiring fault 1 and wiring fault 2, which is the same as wiring fault 3. Flip the original angle along the X axis first, and then flip it along the Y axis.

[0062] Wiring fault 6: The positive and negative connections of the sinusoidal signal are reversed, and the positive and negative connections of the excitation signal are reversed. The basic formula under this wiring fault can be transformed into: Therefore, it can be considered to be consistent with wiring fault 2, and the original angle can be flipped along the Y axis.

[0063] Wiring fault 7: The positive and negative connections of the cosine signal are reversed, and the positive and negative connections of the excitation signal are reversed. The basic formula for this wiring fault can be transformed into: Therefore, it can be considered to be consistent with wiring fault 1, and the original angle can be flipped along the X-axis.

[0064] Wiring fault 8: The positive and negative connections of the sine and cosine signals are reversed, and the positive and negative connections of the excitation signal are reversed. This wiring fault can be considered as multiplying the basic formula by two times the negative sign, which is consistent with the original angle.

[0065] Wiring fault 9: The sine and cosine signals are swapped, and the positive and negative of the sine signal are reversed. This wiring fault can be considered as a combination of wiring fault 4 and wiring fault 1, that is, first swap the X and Y axes, and then flip along the X axis to get the actual angle. Fig. 9The coordinate position relationship diagram corresponding to the wiring fault 9 according to the embodiment of the present invention is schematically shown.

[0066] Wiring fault 10: The sine and cosine signals are swapped, and the positive and negative of the cosine signal are reversed. This wiring fault can be considered as a combination of wiring fault 4 and wiring fault 1, that is, first swap the X and Y axes, and then flip along the Y axis to get the actual angle. Fig.10 The coordinate position relationship diagram corresponding to the wiring fault 10 according to the embodiment of the present invention is schematically shown.

[0067] Wiring fault 11: The sine and cosine signals are swapped, and the positive and negative signals of the sine and cosine signals are reversed. This wiring fault can be considered as a combination of wiring fault 4, wiring fault 1, and wiring fault 2, that is, first swap the X and Y axes, then flip along the X axis, and then flip along the Y axis to get the actual angle. Fig.11 The coordinate position relationship diagram corresponding to the wiring fault 11 according to the embodiment of the present invention is schematically shown.

[0068] Wiring fault 12: The sine and cosine signals are interchanged, and the positive and negative connections of the sine signal and the excitation signal are reversed. The basic formula for this wiring fault can be transformed into: Therefore, it can be considered that the two groups of sine and cosine signals are interchanged, and the positive and negative connections of the cosine signal are reversed, which is consistent with wiring fault 10. That is, first swap the X and Y axes, and then flip along the Y axis to get the actual angle.

[0069] Wiring fault 13: The sine and cosine signals are interchanged, and the positive and negative connections of the cosine signal are reversed, and the positive and negative connections of the excitation signal are reversed. The basic formula under this wiring fault can be transformed into: Therefore, it can be considered that the two groups of sine and cosine signals are interchanged, and the positive and negative of the sine signal are reversed, which is consistent with wiring fault 9. That is, first swap the X and Y axes, and then flip along the X axis to get the actual angle

[0070] Wiring fault 14: The two groups of sine and cosine signals are interchanged, and the positive and negative of the sine and cosine signals are reversed, and the positive and negative of the excitation signal are reversed. This wiring fault multiplies the basic formula by two times the negative sign, which can be considered to be consistent with wiring fault 4. Interchange the X-axis and the Y-axis, and rotate the original angle value clockwise with the X-axis as the starting point to get the actual angle after the transformation.

[0071] In some embodiments provided by the present invention, the method further includes: after determining the wiring fault in the first secondary winding connection and the second secondary winding connection, making corresponding corrections to the determined wiring faults. According to the aforementioned steps, the actual wiring faults can be quickly obtained and corrected accordingly, and there is no need to modify the initial angle of the motor in the software, which is more suitable for mass products.

[0072] Fig.12The structure diagram of the device for determining the wiring fault of a rotary transformer according to an embodiment of the present invention is schematically shown. Fig.12 A judgment device for locating a rotary transformer wiring fault comprises: a closed-loop mode test module, used to determine whether the rotary transformer operates in a DQ axis current closed-loop mode, a test output acquisition module, used to obtain the corresponding relationship between at least one set of current and position signals of the rotary transformer in the DQ axis current closed-loop mode; a position relationship determination module, used to map the theoretical position corresponding to the current and the solution position obtained by decoding the position signal to a plane rectangular coordinate system to obtain the position relationship between the theoretical position and the solution position based on the coordinate axis, and a wiring fault determination module, used to determine the wiring fault in the primary winding connection, the first secondary winding connection and the second secondary winding connection according to the position relationship.

[0073] The specific definition of each functional module in the above-mentioned device for determining the wiring fault of the rotary transformer can be referred to the definition of the method for determining the wiring fault of the rotary transformer, which will not be repeated here. Each module in the above-mentioned device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0074] In some embodiments provided by the present invention, a judgment device for locating a rotary transformer wiring fault is also provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the aforementioned judgment method for locating a rotary transformer wiring fault when executing the computer program. The processor here has the functions of numerical calculation and logical operation, and at least has a central processing unit CPU with data processing capability, a random access memory RAM, a read-only memory ROM, a variety of I / O ports and an interrupt system, etc. The processor includes a kernel, and the kernel retrieves the corresponding program unit from the memory. One or more kernels can be set, and the aforementioned method is implemented by adjusting kernel parameters. The memory may include a non-permanent memory in a computer-readable medium, a random access memory (RAM) and / or a non-volatile memory, such as a read-only memory (ROM) or a flash memory (flash RAM), and the memory includes at least one storage chip.

[0075] In some embodiments, the aforementioned judgment device for locating the wiring fault of the rotary transformer or the aforementioned judgment device for locating the wiring fault of the rotary transformer may be a host computer. The host computer obtains the position signal of the rotary transformer through a communication interface, and after parsing and judging by the aforementioned judgment method for locating the wiring fault of the rotary transformer, a corresponding prompt is given to the determined wiring fault through a prompt device. The host computer may also be configured to have automatic testing functions such as sending a test signal.

[0076] In some embodiments provided by the present invention, a permanent magnet synchronous motor is further provided, comprising a rotary transformer and a main control module, wherein the main control module is configured to execute the steps of the aforementioned method for determining a wiring fault of a rotary transformer. When the main control module of the permanent magnet synchronous motor is configured to execute the aforementioned method for determining a wiring fault of a rotary transformer, a wiring fault can be found during the self-check process of the permanent magnet synchronous motor, and a user can be reminded to correct the wiring fault.

[0077] In one embodiment of the present invention, a computer-readable storage medium is also provided, in which instructions are stored. When the storage medium is run on a computer, the instructions, when executed by a processor, configure the processor to execute the above-mentioned method for determining the wiring fault of a locating rotary transformer.

[0078] In one embodiment of the present invention, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the above-mentioned method for determining a wiring fault of a locating rotary transformer is implemented.

[0079] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0080] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0081] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0082] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0083] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0084] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0085] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0086] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0087] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for determining a wiring fault of a rotary transformer, wherein the wiring comprises a primary winding wiring, a first secondary winding wiring and a second secondary winding wiring, characterized in that: The method comprises: Determine that the rotary transformer operates in a DQ axis current closed loop mode, Obtaining a correspondence between at least one set of current and position signals of the rotary transformer in the DQ axis current closed-loop mode, including: obtaining a position signal corresponding to each possible combination of the D axis input current and the Q axis input current according to at least one D axis input current and at least one Q axis input current; synthesizing the obtained position signals according to the magnitudes and directions of the D axis input current and the Q axis input current; The theoretical position corresponding to the current and the calculated position obtained by decoding the position signal are mapped to a plane rectangular coordinate system to obtain a positional relationship between the theoretical position and the calculated position based on the coordinate axis; the positional relationship based on the coordinate axis includes: interchanging the coordinate axis and\or flipping along the coordinate axis; A wiring fault in the primary winding connection, the first secondary winding connection, and the second secondary winding connection is determined based on the positional relationship.

2. The method according to claim 1, characterized in that The method further comprises: Before determining that the rotary transformer operates in the DQ axis current closed loop mode, determining that there is no wiring fault in the primary winding connection or correcting the wiring fault in the primary winding connection; Correspondingly, the step of determining a wiring fault in the primary winding connection, the first secondary winding connection, and the second secondary winding connection according to the positional relationship is replaced by: A wiring fault in the first secondary winding connection and the second secondary winding connection is determined based on the positional relationship.

3. The method according to claim 1 or 2, characterized in that: The connection faults in the first secondary winding connection and the second secondary winding connection include one or a combination of at least two of the following connection conditions: The first secondary winding connection and the second secondary winding connection are interchanged and misconnected; The positive and negative poles in the first secondary winding connection are interchanged and connected incorrectly; and The positive and negative terminals in the second secondary winding connection are interchanged and connected incorrectly.

4. The method according to claim 2, characterized in that: Determining that there is no wiring fault in the primary winding connection or correcting the wiring fault in the primary winding connection includes: Obtain the direction of rotor movement and the direction of change of the output position signal; According to whether the movement direction of the rotor is consistent with the change direction of the position signal, determining that the primary winding connection is one of two connection modes in which positive and negative are interchanged; When the determined wiring mode is the same as the current wiring mode of the primary winding, determining that there is no wiring fault in the wiring of the primary winding; When the determined wiring mode is different from the current wiring mode of the primary winding, the current wiring mode of the primary winding is corrected to be the determined wiring mode.

5. The method according to claim 1, characterized in that The at least one D-axis input current and the at least one Q-axis input current are: The D-axis input current is a first preset current; the Q-axis input currents are 0A, a second forward preset current, and a second reverse preset current.

6. The method according to claim 2, characterized in that Determining a connection fault in the first secondary winding connection and the second secondary winding connection according to the positional relationship includes: If the positional relationship includes the interchange of coordinate axes, then the connection fault includes the interchange and misconnection of the first secondary winding connection and the second secondary winding connection; If the positional relationship includes flipping along the coordinate axis, according to flipping along the X coordinate axis and flipping along the Y coordinate axis in the flipping along the coordinate axis, it is determined that the wiring fault includes positive and negative interchanged misconnection in the first secondary winding wiring and positive and negative interchanged misconnection in the second secondary winding wiring; If the positional relationship includes flipping along the coordinate axis, according to flipping along the X-axis or flipping along the Y-axis in the flipping along the coordinate axis, it is determined that the wiring fault includes positive and negative interchangeable connection in the first secondary winding wiring or positive and negative interchangeable connection in the second secondary winding wiring.

7. The method according to any one of claims 2, 4 to 6, characterized in that The method further comprises: After determining the connection faults in the first secondary winding connection and the second secondary winding connection, the determined connection faults are corrected accordingly.

8. A judgment device for locating a rotary transformer wiring fault, wherein the wiring includes a primary winding wiring, a first secondary winding wiring and a second secondary winding wiring, characterized in that: include: The closed-loop mode test module is used to determine whether the rotary transformer operates in the DQ axis current closed-loop mode. A test output acquisition module, used to obtain the corresponding relationship between at least one set of current and position signals of the rotary transformer in the DQ axis current closed-loop mode, including: obtaining a position signal corresponding to each possible combination of the D axis input current and the Q axis input current according to at least one D axis input current and at least one Q axis input current; synthesizing the obtained position signal according to the magnitude and direction of the D axis input current and the Q axis input current; a position relationship determination module, used for mapping the theoretical position corresponding to the current and the solved position obtained by decoding the position signal to a plane rectangular coordinate system, and obtaining the position relationship between the theoretical position and the solved position based on the coordinate axis; the position relationship based on the coordinate axis includes: interchanging the coordinate axis and\or flipping along the coordinate axis; and A wiring fault determination module is used to determine wiring faults in the primary winding connection, the first secondary winding connection and the second secondary winding connection according to the positional relationship.

9. A determination device for locating a rotary transformer wiring fault, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method for determining wiring fault of a positioning rotary transformer according to any one of claims 1 to 7 are implemented.

10. A permanent magnet synchronous motor, comprising a rotary transformer and a main control module, characterized in that: The main control module is configured to execute the steps of the method for determining wiring fault of a positioning rotary transformer according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Rotary transformer encoder wiring fault detection method, device and system

    CN108761264A

  • Rotary transformer wiring self-detection system

    CN110794343A