Fault detection method and device for soft decoding of rotary transformer and computer equipment

CN118913334APending Publication Date: 2024-11-08CHONGQING JINKANG POWER NEW ENERGY CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410942401.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-11-08

Smart Images

  • Figure CN118913334A_ABST
    Figure CN118913334A_ABST
Patent Text Reader

Abstract

The invention relates to a fault detection method and device for soft decoding of a rotary transformer and computer equipment. The method comprises the following steps: acquiring a rotary transformer excitation signal and a rotary transformer induction signal of the rotary transformer in a soft decoding process; obtaining a circuit fault detection result and an amplitude fault detection result of the rotary transformer according to a sampling result of the rotary transformer excitation signal and the rotary transformer induction signal in a preset period; based on the rotary transformer induction signal, obtaining phase deviation information of the rotary transformer, and motor rotating speed information and motor angle information detected by the rotary transformer; and according to the phase deviation information, the motor rotating speed information and the motor angle information, respectively obtaining a phase deviation fault detection result, a rotating speed overrun fault detection result and an angle tracking error overrun fault detection result of the rotary transformer. By adopting the method, the fault during soft decoding of the motor rotary transformer can be comprehensively detected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electric vehicle motors, and in particular to a method, device and computer equipment for detecting a fault of a rotary transformer by soft decoding. Background Art

[0002] In the field of electric vehicles, in order to control the motor in the electric vehicle, it is necessary to obtain the position and speed of the motor in real time. At present, a resolver is usually used, and a hardware decoding chip or software decoding is used to obtain the motor rotation position and speed. The hardware decoding solution is simple to develop and has its own diagnostic function. It can quickly and effectively detect and execute protection actions when the resolver fails to avoid damage to the motor controller, but the cost is high. In order to reduce costs, most soft decoding solutions are used. Soft decoding is to put the sampling and angle decoding algorithms into the MCU (Microcontroller Unit, motor controller) to reduce hardware costs. Soft decoding of the resolver sensing signal output by the resolver is called resolver soft decoding.

[0003] However, in the traditional method, the fault detection method of the resolver soft decoding is relatively simple, and the proposed detection method can only solve a certain fault. For the motor, when the motor is controlled by the resolver soft decoding, multiple faults may occur. Therefore, the traditional method cannot fully detect the faults during the motor resolver soft decoding. Summary of the invention

[0004] Based on this, it is necessary to provide a rotary transformer soft decoding fault detection method, device and computer equipment that can comprehensively detect faults during soft decoding of the motor rotary transformer in order to solve the above technical problems.

[0005] In a first aspect, the present application provides a method for detecting a fault of a rotary transformer by soft decoding, comprising:

[0006] Obtaining a rotary transformer excitation signal and a rotary transformer induction signal during the soft decoding process of the rotary transformer;

[0007] Obtaining a circuit fault detection result and an amplitude fault detection result of the rotary transformer according to sampling results of the rotary transformer excitation signal and the rotary transformer induction signal within a preset period;

[0008] Acquire phase offset information of the resolver based on the resolver sensing signal, as well as motor speed information and motor angle information detected by the resolver;

[0009] According to the phase offset information, the motor speed information and the motor angle information, the phase offset fault detection result, the speed over-limit fault detection result and the angle tracking error over-limit fault detection result of the rotary transformer are respectively obtained.

[0010] In one embodiment, obtaining a circuit fault detection result of the rotary transformer according to sampling results of the rotary transformer excitation signal and the rotary transformer induction signal within a preset period includes:

[0011] Comparing the sampling result of the rotary transformer excitation signal within a preset period with a first circuit threshold, and comparing the sampling result of the rotary transformer induction signal within a preset period with a second circuit threshold;

[0012] When there is a sampling result greater than the first circuit fault threshold among the sampling results of the rotary transformer excitation signal within a preset period, and there is a sampling result greater than the second circuit fault threshold among the sampling results of the rotary transformer induction signal within a preset period, a circuit fault detection result indicating that there is no circuit fault in the rotary transformer is obtained.

[0013] In one embodiment, the amplitude fault detection result of the rotary transformer is obtained according to the sampling results of the rotary transformer excitation signal and the rotary transformer induction signal within a preset period, including:

[0014] Comparing the sampling result of the rotary transformer excitation signal within a preset period with a first excitation amplitude threshold, and comparing the maximum amplitude of the sampling result of the rotary transformer excitation signal with a second excitation amplitude threshold;

[0015] Comparing the sampling result of the rotary transformer induction signal within a preset period with a first induction amplitude threshold, and comparing the maximum amplitude of the sampling result of the rotary transformer induction signal with a second induction amplitude threshold;

[0016] When there is a sampling result greater than or equal to the first excitation amplitude threshold among the sampling results of the rotary transformer excitation signal within the preset period, and the maximum amplitude of the sampling results of the rotary transformer excitation signal within the preset period is less than or equal to the second excitation amplitude threshold, and there is a sampling result greater than or equal to the first induction amplitude threshold among the sampling results of the rotary transformer induction signal within the preset period, and the maximum amplitude of the sampling results of the rotary transformer induction signal within the preset period is less than or equal to the second induction amplitude threshold, an amplitude fault detection result indicating that the rotary transformer does not have an amplitude fault is obtained.

[0017] In one embodiment, the rotary transformer sensing signal includes a sine sensing signal and a cosine sensing signal;

[0018] The acquiring the phase offset information of the rotary transformer based on the rotary transformer sensing signal includes:

[0019] Obtaining a time difference when the sine sensing signal and the cosine sensing signal are first zero;

[0020] Phase offset information between the sinusoidal induction signal and the cosine induction signal is determined according to the time difference and the signal periods of the sinusoidal induction signal and the cosine induction signal, and the phase offset information is used as the phase offset information of the resolver.

[0021] In one embodiment, the rotary transformer sensing signal includes a sine sensing signal and a cosine sensing signal;

[0022] The method of obtaining motor speed information detected by the rotary transformer based on the rotary transformer sensing signal includes:

[0023] Acquire a time difference when the sine sensing signal and the cosine sensing signal are zero for the first time, and a signal period of the sine sensing signal and the cosine sensing signal;

[0024] According to the time difference and the signal period, the sine sensing signal and the cosine sensing signal are phase-aligned to obtain an aligned sine sensing signal and a cosine sensing signal;

[0025] The motor speed information at the current moment detected by the rotary transformer is obtained according to the aligned sinusoidal sensing signal and the cosine sensing signal.

[0026] In one embodiment, obtaining the motor angle information detected by the rotary transformer based on the rotary transformer sensing signal includes:

[0027] According to the motor speed information at the current moment, the motor angle at the current moment is obtained;

[0028] Get the motor angles at multiple historical moments before the current moment and the motor angles at multiple delayed moments after the current moment;

[0029] An angle threshold is determined according to the motor angle at the current moment, the motor angles at multiple historical moments, and the motor angles at multiple delayed moments, and the angle threshold is used as the motor angle information detected by the rotary transformer.

[0030] In one embodiment, the phase offset fault detection result, the speed over-limit fault detection result and the angle tracking error over-limit fault detection result of the rotary transformer are respectively obtained according to the phase offset information, the motor speed information and the motor angle information, including:

[0031] When the phase offset information is less than or equal to a preset offset threshold, a phase offset fault detection result is obtained indicating that the rotary transformer does not have a phase offset fault;

[0032] When the motor speed information is less than or equal to the speed threshold, a speed over-limit fault detection result is obtained indicating that there is no speed over-limit fault in the rotary transformer;

[0033] When the error between the decoded motor angle obtained by the resolver after soft decoding and the motor angle information is less than or equal to a preset error threshold, an angle tracking error over-limit fault detection result indicating that the resolver does not have an angle tracking error over-limit fault is obtained.

[0034] In a second aspect, the present application also provides a rotary transformer soft decoding fault detection device, comprising:

[0035] A signal acquisition module, used to acquire a rotary transformer excitation signal and a rotary transformer induction signal of the rotary transformer during the soft decoding process;

[0036] A fault detection module is used to obtain a circuit fault detection result and an amplitude fault detection result of the rotary transformer according to sampling results of the rotary transformer excitation signal and the rotary transformer sensing signal within a preset period; obtain phase offset information of the rotary transformer based on the rotary transformer sensing signal, and motor speed information and motor angle information detected by the rotary transformer; and obtain a phase offset fault detection result, a speed over-limit fault detection result, and an angle tracking error over-limit fault detection result of the rotary transformer according to the phase offset information, the motor speed information, and the motor angle information.

[0037] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0038] Obtaining a rotary transformer excitation signal and a rotary transformer induction signal during the soft decoding process of the rotary transformer;

[0039] Obtaining a circuit fault detection result and an amplitude fault detection result of the rotary transformer according to sampling results of the rotary transformer excitation signal and the rotary transformer induction signal within a preset period;

[0040] Acquire phase offset information of the resolver based on the resolver sensing signal, as well as motor speed information and motor angle information detected by the resolver;

[0041] According to the phase offset information, the motor speed information and the motor angle information, the phase offset fault detection result, the speed over-limit fault detection result and the angle tracking error over-limit fault detection result of the rotary transformer are respectively obtained.

[0042] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0043] Obtaining a rotary transformer excitation signal and a rotary transformer induction signal during the soft decoding process of the rotary transformer;

[0044] Obtaining a circuit fault detection result and an amplitude fault detection result of the rotary transformer according to sampling results of the rotary transformer excitation signal and the rotary transformer induction signal within a preset period;

[0045] Acquire phase offset information of the resolver based on the resolver sensing signal, as well as motor speed information and motor angle information detected by the resolver;

[0046] According to the phase offset information, the motor speed information and the motor angle information, the phase offset fault detection result, the speed over-limit fault detection result and the angle tracking error over-limit fault detection result of the rotary transformer are respectively obtained.

[0047] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0048] Obtaining a rotary transformer excitation signal and a rotary transformer induction signal during the soft decoding process of the rotary transformer;

[0049] Obtaining a circuit fault detection result and an amplitude fault detection result of the rotary transformer according to sampling results of the rotary transformer excitation signal and the rotary transformer induction signal within a preset period;

[0050] Acquire phase offset information of the resolver based on the resolver sensing signal, as well as motor speed information and motor angle information detected by the resolver;

[0051] According to the phase offset information, the motor speed information and the motor angle information, the phase offset fault detection result, the speed over-limit fault detection result and the angle tracking error over-limit fault detection result of the rotary transformer are respectively obtained.

[0052] The above-mentioned resolver soft decoding fault detection method, device, computer equipment, storage medium and computer program product can comprehensively diagnose various faults that are prone to occur in resolver soft decoding through resolver excitation signals and resolver sensing signals, thereby improving the functional safety of the motor controller. In addition, the fault detection method is implemented in the motor controller, and no additional hardware circuit is required, which reduces the cost of resolver soft decoding fault detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0054] Figure 1 1 is a flow chart of a method for detecting a fault of a rotary transformer by soft decoding in one embodiment;

[0055] Figure 2 A schematic diagram of a process of obtaining phase offset information of a rotary transformer based on a rotary transformer sensing signal in one embodiment;

[0056] Figure 3 It is a schematic diagram of a process of obtaining motor speed information detected by a rotary transformer based on a rotary transformer sensing signal in one embodiment;

[0057] Figure 4 is a schematic diagram of a calculation process of motor speed information at the current moment in an embodiment;

[0058] Figure 5 A schematic diagram of a process of obtaining motor angle information detected by a rotary transformer based on a rotary transformer sensing signal in one embodiment;

[0059] Figure 6 is a schematic diagram of a process for determining an angle threshold in one embodiment;

[0060] Figure 7 is a flow chart of a method for detecting a fault of a rotary transformer by soft decoding in another embodiment;

[0061] Figure 8 Schematic diagram of the structure of a rotary transformer soft decoding system in one embodiment;

[0062] Fig. 9 is a structural schematic diagram of a fault detection module in an embodiment;

[0063] Fig.10is a structural block diagram of a fault detection device for rotary transformer soft decoding in one embodiment;

[0064] Fig.11 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0065] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0066] In an exemplary embodiment, Figure 1 As shown, a method for detecting a fault of a rotary transformer by soft decoding is provided, and the method is applied to an MCU as an example for explanation, and includes the following steps 102 to 108. Among them:

[0067] Step 102, obtaining a rotary transformer excitation signal and a rotary transformer induction signal during a soft decoding process of the rotary transformer.

[0068] Among them, the resolver is a transformer installed on the motor to obtain the position and speed of the motor rotation. The MCU and the resolver constitute the resolver soft decoding system. Soft decoding refers to the sampling and angle decoding of the resolver sensing signal output by the resolver through the MCU. The resolver excitation signal refers to the excitation signal sent by the MCU to the resolver. The resolver sensing signal refers to the sensing signal output by the resolver based on the resolver excitation signal.

[0069] Optionally, during the soft decoding process, the GTM (Generic Timer Module) in the MCU generates a resolver excitation signal and sends the resolver excitation signal to the resolver. The resolver outputs a resolver sensing signal according to the resolver excitation signal. The MCU obtains the resolver excitation signal and the resolver sensing signal of the resolver during the soft decoding process.

[0070] Step 104 , obtaining a circuit fault detection result and an amplitude fault detection result of the resolver according to sampling results of the resolver excitation signal and the resolver induction signal within a preset period.

[0071] Specifically, the sampling results of the rotary transformer excitation signal and the rotary transformer induction signal within a preset period are obtained. The sampling results of the preset period may be the sampling results of half a period, specifically the sampling results within the time range from the first sampling result being zero to the next sampling result being zero.

[0072] According to the sampling result of the rotary transformer excitation signal within the preset period, the rotary transformer excitation signal is subjected to circuit fault detection and amplitude fault detection to obtain the circuit fault detection result and amplitude fault detection result corresponding to the rotary transformer excitation signal. When the rotary transformer excitation signal has a circuit fault or an amplitude fault, the input source of the rotary transformer will fail.

[0073] According to the sampling results of the resolver sensing signal within the preset period, the resolver sensing signal is subjected to circuit fault detection and amplitude fault detection to obtain the circuit fault detection result and amplitude fault detection result corresponding to the resolver sensing signal. When the resolver sensing signal has a circuit fault or an amplitude fault, the signal sampled by the MCU will fail, affecting the calculation results of the subsequent angle decoding algorithm.

[0074] According to the circuit fault detection result corresponding to the rotary transformer excitation signal and the circuit fault detection result corresponding to the rotary transformer induction signal, the circuit fault detection result of the rotary transformer is obtained. According to the amplitude fault detection result corresponding to the rotary transformer excitation signal and the amplitude fault detection result corresponding to the rotary transformer induction signal, the amplitude fault detection result of the rotary transformer is obtained. Among them, the circuit fault detection includes short circuit detection and open circuit detection. When there is a circuit fault in the rotary transformer excitation signal or the rotary transformer induction signal, it is determined that there is a circuit fault in the rotary transformer. When there is no circuit fault in both the rotary transformer excitation signal and the rotary transformer induction signal, it is determined that there is no circuit fault in the rotary transformer. When there is an amplitude fault in the rotary transformer excitation signal or the rotary transformer induction signal, it is determined that there is an amplitude fault in the rotary transformer. When there is no amplitude fault in both the rotary transformer excitation signal and the rotary transformer induction signal, it is determined that there is no amplitude fault in the rotary transformer.

[0075] Furthermore, after obtaining the rotary transformer excitation signal and the rotary transformer induction signal of the rotary transformer in the soft decoding process, the rotary transformer excitation signal and the rotary transformer induction signal can be low-pass filtered to filter out high-frequency noise in the rotary transformer excitation signal and the rotary transformer induction signal, thereby reducing interference in subsequent fault detection. The rotary transformer is then fault-detected based on the filtered rotary transformer excitation signal and the rotary transformer induction signal.

[0076] Step 106: acquiring phase offset information of the resolver based on the resolver sensing signal, and motor speed information and motor angle information detected by the resolver.

[0077] Step 108, obtaining the phase offset fault detection result, the speed over-limit fault detection result and the angle tracking error over-limit fault detection result of the resolver respectively according to the phase offset information, the motor speed information and the motor angle information.

[0078] The phase offset information refers to the phase offset of the rotary transformer sensing signal output by the rotary transformer.

[0079] The MCU can perform phase offset fault detection, speed over-limit fault detection, and angle tracking error over-limit fault detection on the resolver. Specifically, the phase offset information of the resolver, as well as the motor speed information and motor angle information detected by the resolver, are obtained based on the resolver sensing signal. A phase offset fault detection is performed on the resolver based on the phase offset information to obtain a phase offset fault detection result of the resolver. A speed over-limit fault detection is performed on the resolver based on the motor speed information detected by the resolver to obtain a speed over-limit fault detection result of the resolver. During normal soft decoding, the resolver will feed back the output resolver sensing signal to the MCU. The MCU performs angle decoding on the resolver sensing signal through an angle decoding algorithm to calculate the rotor angle and speed, that is, the motor angle and speed. The MCU compares the motor angle obtained after angle decoding with the motor angle information detected by the resolver to obtain an angle tracking error over-limit fault detection result of the resolver.

[0080] Furthermore, the MCU may perform cyclic fault detection on the resolver soft decoding process according to a preset period.

[0081] Furthermore, the order of the above-mentioned multiple fault detections is not limited in this embodiment, and they can be executed simultaneously or sequentially according to a preset order.

[0082] In the above-mentioned resolver soft decoding fault detection method, various faults that are prone to occur in resolver soft decoding can be fully diagnosed through the resolver excitation signal and the resolver sensing signal, thereby improving the functional safety of the motor controller. In addition, the fault detection method is implemented in the motor controller, and no additional hardware circuit is required, which reduces the cost of resolver soft decoding fault detection.

[0083] In an exemplary embodiment, a circuit fault detection result of the rotary transformer is obtained based on the sampling results of the rotary transformer excitation signal and the rotary transformer induction signal within a preset period, including: comparing the sampling results of the rotary transformer excitation signal within the preset period with a first circuit threshold, and comparing the sampling results of the rotary transformer induction signal within the preset period with a second circuit threshold; when there is a sampling result greater than the first circuit fault threshold among the sampling results of the rotary transformer excitation signal within the preset period, and there is a sampling result greater than the second circuit fault threshold among the sampling results of the rotary transformer induction signal within the preset period, a circuit fault detection result indicating that there is no circuit fault in the rotary transformer is obtained.

[0084] The first circuit threshold refers to the circuit fault threshold corresponding to the rotary transformer excitation signal, and the second circuit threshold refers to the circuit fault threshold corresponding to the rotary transformer induction signal.

[0085] Specifically, the sampling results of the rotary transformer excitation signal and the rotary transformer induction signal within a preset period are respectively compared with the corresponding circuit thresholds. When there is a sampling result greater than the first circuit fault threshold in the sampling results of the rotary transformer excitation signal within the preset period, it is determined that there is no circuit fault in the rotary transformer excitation signal. When there is no sampling result greater than the first circuit fault threshold in the sampling results of the rotary transformer excitation signal within the preset period, it is determined that there is a circuit fault in the rotary transformer excitation signal. When there is a sampling result greater than the second circuit fault threshold in the sampling results of the rotary transformer induction signal within the preset period, it is determined that there is no circuit fault in the rotary transformer induction signal. When there is no sampling result greater than the second circuit fault threshold in the sampling results of the rotary transformer induction signal within the preset period, it is determined that there is a circuit fault in the rotary transformer induction signal. For example, the first circuit fault threshold is 0.5 times the maximum amplitude of the rotary transformer excitation signal. The second circuit threshold is 0.5 times the maximum amplitude of the rotary transformer induction signal.

[0086] When there is no circuit fault in the rotary transformer excitation signal and the rotary transformer induction signal, a circuit fault detection result indicating that there is no circuit fault in the rotary transformer is obtained. When there is a circuit fault in the rotary transformer excitation signal or the rotary transformer induction signal, a circuit fault detection result indicating that there is a circuit fault in the rotary transformer is obtained.

[0087] In this embodiment, the sampling results of the rotary transformer excitation signal and the rotary transformer induction signal within a preset period are compared with the corresponding circuit thresholds to obtain the circuit fault detection result of the rotary transformer, which can accurately and quickly judge the circuit fault in the rotary transformer soft decoding process.

[0088] In an exemplary embodiment, an amplitude fault detection result of the rotary transformer is obtained according to sampling results of a rotary transformer excitation signal and a rotary transformer induction signal within a preset period, including: comparing the sampling results of the rotary transformer excitation signal within the preset period with a first excitation amplitude threshold, and comparing the maximum amplitude of the sampling results of the rotary transformer excitation signal with a second excitation amplitude threshold; comparing the sampling results of the rotary transformer induction signal within the preset period with the first induction amplitude threshold, and comparing the maximum amplitude of the sampling results of the rotary transformer induction signal with the second induction amplitude threshold; when there are sampling results greater than or equal to the first excitation amplitude threshold among the sampling results of the rotary transformer excitation signal within the preset period, and the maximum amplitude of the sampling results of the rotary transformer excitation signal within the preset period is less than or equal to the second excitation amplitude threshold, and there are sampling results greater than or equal to the first induction amplitude threshold among the sampling results of the rotary transformer induction signal within the preset period, and the maximum amplitude of the sampling results of the rotary transformer induction signal within the preset period is less than or equal to the second induction amplitude threshold, an amplitude fault detection result indicating that the rotary transformer does not have an amplitude fault is obtained.

[0089] The first excitation amplitude threshold and the second excitation amplitude threshold are amplitude fault thresholds corresponding to the rotary transformer excitation signal. The first induction amplitude threshold and the second induction amplitude threshold are amplitude fault thresholds corresponding to the rotary transformer induction signal.

[0090] Specifically, the sampling results of the rotary transformer excitation signal and the rotary transformer induction signal within a preset period are respectively compared with the corresponding amplitude fault thresholds. When there are sampling results greater than or equal to the first excitation amplitude threshold in the sampling results of the rotary transformer excitation signal within the preset period, and the maximum amplitude of the sampling results of the rotary transformer excitation signal within the preset period is less than or equal to the second excitation amplitude threshold, it is determined that there is no amplitude fault in the rotary transformer excitation signal. When there are no sampling results greater than or equal to the first excitation amplitude threshold in the sampling results of the rotary transformer excitation signal within the preset period, or there are sampling results greater than or equal to the first excitation amplitude threshold, but the maximum amplitude of the sampling results of the rotary transformer excitation signal within the preset period is greater than the second excitation amplitude threshold, it is determined that there is an amplitude fault in the rotary transformer excitation signal. For example, the first excitation amplitude threshold is 0.85 times the maximum rotary transformer excitation signal amplitude. The second excitation amplitude threshold is 1.15 times the maximum rotary transformer excitation signal amplitude.

[0091] When there is a sampling result greater than or equal to the first induction amplitude threshold value in the sampling results of the rotary transformer induction signal within the preset period, and the maximum amplitude of the sampling results of the rotary transformer induction signal within the preset period is less than or equal to the second induction amplitude threshold value, it is determined that there is no amplitude fault in the rotary transformer induction signal. When there is no sampling result greater than or equal to the first induction amplitude threshold value in the sampling results of the rotary transformer induction signal within the preset period, or there is a sampling result greater than or equal to the first induction amplitude threshold value, but the maximum amplitude of the sampling results of the rotary transformer induction signal within the preset period is greater than the second induction amplitude threshold value, it is determined that there is an amplitude fault in the rotary transformer induction signal. For example, the first induction amplitude threshold value is 0.85 times the maximum rotary transformer induction signal amplitude. The second induction amplitude threshold value is 1.15 times the maximum rotary transformer induction signal amplitude.

[0092] When neither the rotary transformer excitation signal nor the rotary transformer induction signal has an amplitude fault, an amplitude fault detection result indicating that the rotary transformer does not have an amplitude fault is obtained. When the rotary transformer excitation signal or the rotary transformer induction signal has an amplitude fault, an amplitude fault detection result indicating that the rotary transformer has an amplitude fault is obtained.

[0093] In this embodiment, the sampling results of the rotary transformer excitation signal and the rotary transformer induction signal within a preset period are compared with the corresponding amplitude thresholds to obtain the amplitude fault detection result of the rotary transformer, which can accurately and quickly judge the amplitude fault in the rotary transformer soft decoding process.

[0094] In an exemplary embodiment, Figure 2 As shown, the rotary transformer sensing signal includes a sine sensing signal and a cosine sensing signal; in step 106, the phase offset information of the rotary transformer is obtained based on the rotary transformer sensing signal, including:

[0095] Step 202: Obtain the time difference between the first zero value of the sine sensing signal and the cosine sensing signal.

[0096] Step 204: determine phase offset information between the sine sensing signal and the cosine sensing signal according to the time difference and the signal periods of the sine sensing signal and the cosine sensing signal, and use the phase offset information as phase offset information of the resolver.

[0097] Specifically, the rotary transformer sensing signal includes a sine sensing signal and a cosine sensing signal. The sine sensing signal and the cosine sensing signal are expressed as follows according to the trigonometric formula:

[0098]

[0099]

[0100] in, represents a sinusoidal induction signal; represents the cosine induced signal; U represents the maximum voltage amplitude; T is the sine-cosine period, that is, the signal period of the sine induced signal and the cosine induced signal; is the difference between the time T1 when the sine induced signal is first zero and the time T2 when the cosine induced signal is first zero, that is, = T1-T2.

[0101] Get the time difference between the first zero of the sine and cosine sensing signals . According to the time difference The signal period T of the sine induction signal and the cosine induction signal is calculated according to the following formula:

[0102]

[0103] in, is the phase difference between the sine induction signal and the cosine induction signal, that is, the phase offset information. The phase offset information between the sine induction signal and the cosine induction signal is used as the phase offset information of the rotary transformer.

[0104] In this embodiment, the phase offset information of the resolver can be accurately calculated through the time difference when the sine induction signal and the cosine induction signal are zero for the first time and the signal period.

[0105] In an exemplary embodiment, Figure 3 As shown, the rotary transformer sensing signal includes a sine sensing signal and a cosine sensing signal; in step 106, the motor speed information detected by the rotary transformer is obtained based on the rotary transformer sensing signal, including:

[0106] Step 302: Acquire the time difference when the sine sensing signal and the cosine sensing signal are zero for the first time, and the signal periods of the sine sensing signal and the cosine sensing signal.

[0107] Step 304: Phase-align the sine sensing signal and the cosine sensing signal according to the time difference and the signal period to obtain aligned sine sensing signal and cosine sensing signal.

[0108] Step 306: Acquire the motor speed information at the current moment detected by the resolver according to the aligned sine sensing signal and cosine sensing signal.

[0109] Since there is a phase deviation between the sine sensing signal and the cosine sensing signal, the phase offset detection can be performed on the sine sensing signal and the cosine sensing signal to obtain the phase offset information of the sine sensing signal and the cosine sensing signal. During the phase offset detection process, the time difference when the sine sensing signal and the cosine sensing signal are first zero, and the signal period of the sine sensing signal and the cosine sensing signal are obtained, and the sine sensing signal and the cosine sensing signal are phase aligned to obtain the aligned sine sensing signal and the cosine sensing signal. Specifically, the time difference when the sine sensing signal and the cosine sensing signal are first zero, and the signal period of the sine sensing signal and the cosine sensing signal are obtained. According to the time difference and the signal period, the sampling trigger delay length of the sine sensing signal and the cosine sensing signal is determined. Among them, the sampling trigger delay length refers to the delay length when the signal starts sampling. The sampling trigger delay length can be .

[0110] The sine sensing signal and the cosine sensing signal are phase-aligned according to the sampling trigger delay time to obtain the aligned sine sensing signal and the cosine sensing signal. Specifically, when the sampling trigger delay time is greater than zero, the sampling trigger time of the cosine sensing signal is delayed. When the sampling trigger delay time is less than zero, the sampling trigger time of the sine sensing signal is delayed, and the delay time is the sampling trigger delay time. The delay time of the cosine sensing signal and the sine sensing signal is the sampling trigger delay time.

[0111] After the phase alignment process is performed, the square sum of the aligned sine sensing signal and the cosine sensing signal can be compared with the alignment threshold interval. If the square sum is within the alignment threshold interval, it is determined that the sine sensing signal and the cosine sensing signal are aligned. If the square sum is not within the alignment threshold interval, the sine sensing signal and the cosine sensing signal are not aligned, and the process returns to the step of obtaining the phase offset information of the resolver based on the resolver sensing signal.

[0112] Although the angle decoding algorithm in the MCU can calculate the motor speed, the angle decoding algorithm is calculated by cyclic phase-locked approximation, which has a time delay. It is impossible to use the motor speed calculated by the angle decoding algorithm to detect the speed over-limit fault in real time. Therefore, after determining that the sine sensing signal and the cosine sensing signal are aligned, the motor speed information at the current moment is calculated in real time based on the aligned sine sensing signal and the cosine sensing signal. Specifically, the aligned sine sensing signal and the cosine sensing signal are differentiated respectively to obtain the first differential result of the aligned sine sensing signal and the second differential result of the aligned cosine sensing signal. The first differential result is multiplied by the aligned cosine sensing signal to obtain a first product result. The second differential result is multiplied by the aligned sine sensing signal to obtain a second product result. The difference between the first product result and the second product result is used as the motor speed information at the current moment. The calculation process of the motor speed information at the current moment can be as follows: Figure 4 As shown, and They represent the aligned sine and cosine sensing signals respectively; "S" represents differential operation, and Represent the first differential result and the second differential result respectively; "X" represents the product operation, and Represent the first product result and the second product result respectively; "-" represents the difference operation; Indicates the motor speed information at the current moment.

[0113] In this embodiment, the sine sensing signal and the cosine sensing signal are phase-aligned according to the time difference and the signal period, which can reduce the system error. According to the aligned sine sensing signal and the cosine sensing signal, the motor speed information at the current moment detected by the rotary transformer is obtained in real time, thereby accurately obtaining the real-time motor speed, which is conducive to the subsequent accurate detection of the speed over-limit fault.

[0114] In an optional manner of the above embodiment, if Figure 5 As shown, in step 106, the motor angle information detected by the rotary transformer is obtained based on the rotary transformer sensing signal, including:

[0115] Step 502, obtaining the motor angle at the current moment according to the motor speed information at the current moment.

[0116] Step 504, obtaining the motor angles at multiple historical moments before the current moment and the motor angles at multiple delayed moments after the current moment.

[0117] Step 506, determining an angle threshold according to the motor angle at the current moment, the motor angles at multiple historical moments, and the motor angles at multiple delayed moments, and using the angle threshold as the motor angle information detected by the rotary transformer.

[0118] Before performing angle tracking error fault detection on the rotary transformer, it is necessary to calculate the angle threshold. The angle threshold is the motor angle information detected by the rotary transformer. Specifically, the motor speed information detected by the rotary transformer at the current moment is integrated to obtain the motor angle at the current moment. Taking the current moment as the center, obtain the motor angles of multiple historical moments before the current moment and the motor angles of multiple delayed moments after the current moment. Perform an average calculation on the motor angle at the current moment, the motor angles of multiple historical moments, and the motor angles of multiple delayed moments to obtain the angle threshold. The process of determining the angle threshold can be as follows: Figure 6 As shown, Indicates the current motor speed information; "S -1 " represents the integral operation; Indicates the motor angle at the current moment; Represents the motor angle at the current time t; Z +1 , …, Z +5 They represent the previous historical moment before the current moment t, ..., the fifth historical moment before the current moment t respectively; Z -1 , …, Z -5 They represent a delay of one moment, …, a delay of five moments respectively. , …, They represent the motor angles at the previous historical moment before the current moment t, …, and the fifth historical moment before the current moment t respectively; , …, They represent the motor angles after delaying for one moment, ..., and five moments respectively; "+" represents the sum operation; Represents the sum of the motor angles; Indicates the angle threshold.

[0119] In this embodiment, the average value of the motor angle at the current moment, the motor angles at multiple historical moments, and the motor angles at multiple delayed moments is used as the angle threshold, so that a more accurate angle threshold can be obtained, which is conducive to the subsequent accurate detection of angle tracking error exceeding the limit fault.

[0120] In an exemplary embodiment, in step 108, according to the phase offset information, the motor speed information and the motor angle information, the phase offset fault detection result, the speed over-limit fault detection result and the angle tracking error over-limit fault detection result of the rotary transformer are respectively obtained, including: when the phase offset information is less than or equal to the preset offset threshold, the phase offset fault detection result that the rotary transformer does not have a phase offset fault is obtained; when the motor speed information is less than or equal to the speed threshold, the speed over-limit fault detection result that the rotary transformer does not have a speed over-limit fault is obtained; when the error between the decoded motor angle obtained by the rotary transformer after soft decoding and the motor angle information is less than or equal to the preset error threshold, the angle tracking error over-limit fault detection result that the rotary transformer does not have an angle tracking error over-limit fault is obtained.

[0121] Specifically, after obtaining the phase offset information of the rotary transformer based on the rotary transformer sensing signal, and the motor speed information and motor angle information detected by the rotary transformer, the phase offset information is compared with a preset offset threshold, and the preset offset threshold is related to the phase lock range in the angle decoding algorithm of the rotary transformer soft decoding. For example, the preset offset threshold can be set to ±5°, and when the phase offset information is greater than the preset offset threshold, it is determined that the rotary transformer has a phase offset fault. When the phase offset information is less than or equal to the preset offset threshold, it is determined that the rotary transformer does not have a phase offset fault.

[0122] The motor speed information is compared with the speed threshold, and when the motor speed information is greater than the speed threshold, it is determined that the resolver has a speed over-limit fault. When the motor speed information is less than or equal to the speed threshold, it is determined that the resolver does not have a speed over-limit fault.

[0123] Furthermore, the speed threshold is determined as follows: Under normal circumstances, according to the sampling theorem, the sampling frequency should be greater than twice the signal frequency. However, due to the influence of the decimation coefficient of the filter in the DSADC (Delta Sigma Analog-to-Digital Converter, a high-precision analog-to-digital converter) sampling module of the MCU, the resolver induction signal needs to be oversampled according to the decimation coefficient, that is, ,in, The frequency of the rotary transformer induced signal, is the frequency of the rotary transformer excitation signal, and R is the filter extraction coefficient in the DSADC. , so the speed threshold For example, in general, the resolver excitation signal frequency is 10kHz, the filter decimation factor is 32, and the speed threshold can be set to 1963 rad / s.

[0124] The decoded motor angle obtained by the resolver after soft decoding is compared with the motor angle information. When the error between the decoded motor angle and the motor angle information is less than or equal to the preset error threshold, it is determined that the resolver does not have an angle tracking error exceeding limit fault. When the error between the decoded motor angle and the motor angle information is greater than the preset error threshold, it is determined that the resolver has an angle tracking error exceeding limit fault. For example, the preset error threshold can be 1 degree.

[0125] In this embodiment, the phase offset information, motor speed information and the decoded motor angle obtained by the rotary transformer after soft decoding are compared with the corresponding preset fault thresholds, respectively, so as to obtain accurate phase offset fault detection results, speed over-limit fault detection results and angle tracking error over-limit fault detection results.

[0126] In another exemplary embodiment, Figure 7 As shown, a method for detecting a fault of a rotary transformer by soft decoding is provided, comprising:

[0127] Obtain the rotary transformer excitation signal and the rotary transformer induction signal of the rotary transformer during the soft decoding process.

[0128] The rotary transformer excitation signal and the rotary transformer induction signal are filtered to obtain the filtered rotary transformer excitation signal and the rotary transformer induction signal.

[0129] According to the sampling results of the filtered resolver excitation signal and the resolver induction signal within a preset period, the resolver is subjected to circuit detection to identify whether there is a circuit fault in the resolver.

[0130] If there is a circuit fault, the fault is fed back to the main program in the MCU, and the fault detection ends, waiting for the next fault detection cycle. If there is no circuit fault, the resolver is tested for amplitude based on the sampling results of the filtered resolver excitation signal and the resolver induction signal within a preset period. Identify whether the resolver has an amplitude fault.

[0131] If there is an amplitude fault, the fault is fed back to the main program in the MCU, and the fault detection is terminated, waiting for the next fault detection cycle. If there is no amplitude fault, the phase offset detection is performed on the resolver to identify whether the resolver has a phase offset fault.

[0132] If there is a phase shift fault, the fault is fed back to the main program in the MCU, and the fault detection is terminated, waiting for the next fault detection cycle. If there is no phase shift fault, the resolver sensing signal is phase-aligned to obtain the aligned resolver sensing signal.

[0133] Identify whether the aligned resolver induction signal meets the alignment condition. The alignment condition means that the square sum of the aligned sine induction signal and cosine induction signal is within the alignment threshold range. If the alignment condition is met, perform speed overlimit detection on the resolver to identify whether the resolver has a speed overlimit fault. If the alignment condition is not met, return to the phase offset detection step.

[0134] If the resolver has a speed overrun fault, the fault is fed back to the main program in the MCU, and the fault detection ends, waiting for the next fault detection cycle. If the resolver does not have a speed overrun fault, the resolver is tested for angle tracking error to identify whether the resolver has an angle tracking error overrun fault.

[0135] If the resolver has an angle tracking error exceeding the limit fault, the fault is fed back to the main program in the MCU, and the fault detection ends, waiting for the next fault detection cycle. If the resolver does not have an angle tracking error exceeding the limit fault, the next fault detection cycle is waited for.

[0136] In this embodiment, the MCU can perform circuit fault detection, amplitude fault detection, phase offset fault detection, speed over-limit fault detection and angle tracking error over-limit fault detection on the rotary transformer in sequence during the rotary transformer soft decoding process, and can comprehensively diagnose various faults that are prone to occur in the soft decoding of the rotary transformer, thereby improving the functional safety of the motor controller.

[0137] In an exemplary embodiment, the structural diagram of the rotary transformer soft decoding system where the MCU is located is as follows: Figure 8 As shown, the resolver soft decoding system includes an MCU, a first peripheral hardware circuit for generating a resolver excitation signal, a resolver, and a second peripheral hardware circuit for generating a resolver induction signal. The MCU includes a GTM (Generic Timer Module), a fault detection module, a DSADC sampling module, and an angle and speed calculation module. The fault detection module is implemented by software.

[0138] During the soft decoding process, the GTM in the MCU generates PWM+ and PWM- signals and sends them to the first peripheral hardware circuit. The first peripheral hardware circuit generates a resolver excitation signal (Exct_Hi and Exct_Lo) based on the PWM+ and PWM- signals and sends it to the resolver. The resolver outputs sine and cosine signals (Sin_Hi, Sin_Lo, Cos_Hi, and Cos_Lo) based on the resolver excitation signal. The resolver sense signals (Sin+, Sin-, Cos+, and Cos-) are generated based on the sine and cosine signals by the second peripheral hardware circuit and sent to the DSADC sampling module. The resolver sense signals are processed by the DSADC sampling module, such as sampling and filtering, to obtain the sampling results (Sin1 and Cos1). The motor angle and speed are calculated by the angle decoding algorithm in the angle and speed calculation module.

[0139] The fault detection module obtains the resolver excitation signal generated by the first peripheral hardware circuit and the resolver induction signal generated by the second peripheral hardware circuit, and also obtains the frequency of the resolver excitation signal from the GTM, the filter extraction coefficient and the motor angle calculated by the angle decoding algorithm from the DSADC sampling module. The frequency of the resolver excitation signal and the filter extraction coefficient are used to calculate the speed threshold. The resolver excitation signal, the resolver induction signal and the motor angle calculated by the angle decoding algorithm are used to perform various fault detections on the resolver. The fault detection results and the motor angle and speed calculated by the angle decoding algorithm are fed back to the main program.

[0140] In this embodiment, the fault detection of the resolver soft decoding is implemented in the MCU, and no additional hardware circuit needs to be added, thereby reducing the cost of the resolver soft decoding fault detection.

[0141] In an exemplary embodiment, the structural diagram of the fault detection module is as follows: Fig. 9As shown in the figure, the fault detection module includes a VADC sampling unit (Voltage Analog-to-Digital Converter), a low-pass filter, a circuit detection unit, an amplitude detection unit, a phase offset detection unit, a phase alignment unit, a speed over-limit detection unit, and an angle tracking error detection unit. After the resolver excitation signal (Exct_Hi and Exct_Lo) and the resolver induction signal (Sin+, Sin-, Cos+, and Cos-) enter the fault detection unit, they are first sampled by the VADC sampling unit, and then pass through the low-pass filter to obtain the filtered resolver excitation signal (Exct), the filtered sine induction signal (Sin), and the filtered cosine induction signal (Cos). After that, the filtered resolver excitation signal (Exct), the filtered sine induction signal (Sin), and the filtered cosine induction signal (Cos) are subjected to circuit detection, amplitude detection, phase offset detection, phase alignment, speed over-limit detection, and angle tracking error detection in turn to detect various faults existing in the resolver, and the faults are fed back to the main program. Sin' and Cos' represent the aligned sine sensing signal and cosine sensing signal respectively. Indicates the motor speed detected when the speed exceeds the limit.

[0142] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0143] Based on the same inventive concept, the embodiment of the present application also provides a rotary transformer soft decoding fault detection device for implementing the rotary transformer soft decoding fault detection method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of one or more rotary transformer soft decoding fault detection devices provided below can refer to the limitations of the rotary transformer soft decoding fault detection method above, and will not be repeated here.

[0144] In an exemplary embodiment, Fig.10As shown, a rotary transformer soft decoding fault detection device is provided, comprising: a signal acquisition module 1002 and a fault detection module 1004, wherein:

[0145] The signal acquisition module 1002 is used to acquire the rotary transformer excitation signal and the rotary transformer induction signal of the rotary transformer during the soft decoding process.

[0146] The fault detection module 1004 is used to obtain the circuit fault detection result and the amplitude fault detection result of the rotary transformer according to the sampling results of the rotary transformer excitation signal and the rotary transformer sensing signal within a preset period; obtain the phase offset information of the rotary transformer based on the rotary transformer sensing signal, and the motor speed information and the motor angle information detected by the rotary transformer; and obtain the phase offset fault detection result, the speed over-limit fault detection result and the angle tracking error over-limit fault detection result of the rotary transformer according to the phase offset information, the motor speed information and the motor angle information.

[0147] In an exemplary embodiment, the fault detection module 1004 is also used to compare the sampling results of the rotary transformer excitation signal within a preset period with the first circuit threshold, and to compare the sampling results of the rotary transformer induction signal within a preset period with the second circuit threshold; when there is a sampling result greater than the first circuit fault threshold among the sampling results of the rotary transformer excitation signal within the preset period, and there is a sampling result greater than the second circuit fault threshold among the sampling results of the rotary transformer induction signal within the preset period, a circuit fault detection result indicating that there is no circuit fault in the rotary transformer is obtained.

[0148] In an exemplary embodiment, the fault detection module 1004 is also used to compare the sampling results of the rotary transformer excitation signal within a preset period with the first excitation amplitude threshold, and to compare the maximum amplitude of the sampling results of the rotary transformer excitation signal with the second excitation amplitude threshold; compare the sampling results of the rotary transformer induction signal within the preset period with the first induction amplitude threshold, and compare the maximum amplitude of the sampling results of the rotary transformer induction signal with the second induction amplitude threshold; when there are sampling results greater than or equal to the first excitation amplitude threshold among the sampling results of the rotary transformer excitation signal within the preset period, and the maximum amplitude of the sampling results of the rotary transformer excitation signal within the preset period is less than or equal to the second excitation amplitude threshold, and there are sampling results greater than or equal to the first induction amplitude threshold among the sampling results of the rotary transformer induction signal within the preset period, and the maximum amplitude of the sampling results of the rotary transformer induction signal within the preset period is less than or equal to the second induction amplitude threshold, an amplitude fault detection result indicating that the rotary transformer does not have an amplitude fault is obtained.

[0149] In an exemplary embodiment, the rotary transformer sensing signal includes a sine sensing signal and a cosine sensing signal; the fault detection module 1004 is further used to obtain the time difference when the sine sensing signal and the cosine sensing signal are first zero; according to the time difference and the signal period of the sine sensing signal and the cosine sensing signal, the phase offset information between the sine sensing signal and the cosine sensing signal is determined, and the phase offset information is used as the phase offset information of the rotary transformer.

[0150] In an exemplary embodiment, the rotary transformer sensing signal includes a sine sensing signal and a cosine sensing signal; the fault detection module 1004 is further used to obtain the time difference when the sine sensing signal and the cosine sensing signal are zero for the first time, and the signal period of the sine sensing signal and the cosine sensing signal; according to the time difference and the signal period, the sine sensing signal and the cosine sensing signal are phase-aligned to obtain the aligned sine sensing signal and the cosine sensing signal; according to the aligned sine sensing signal and the cosine sensing signal, the motor speed information detected by the rotary transformer at the current moment is obtained.

[0151] In an exemplary embodiment, the fault detection module 1004 is also used to obtain the motor angle at the current moment based on the motor speed information at the current moment; obtain the motor angles at multiple historical moments before the current moment and the motor angles at multiple delayed moments after the current moment; determine the angle threshold based on the motor angle at the current moment, the motor angles at multiple historical moments, and the motor angles at multiple delayed moments, and use the angle threshold as the motor angle information detected by the rotating transformer.

[0152] In an exemplary embodiment, the fault detection module 1004 is also used to obtain a phase offset fault detection result that the rotary transformer does not have a phase offset fault when the phase offset information is less than or equal to a preset offset threshold; to obtain a speed overlimit fault detection result that the rotary transformer does not have a speed overlimit fault when the motor speed information is less than or equal to the speed threshold; and to obtain an angle tracking error overlimit fault detection result that the rotary transformer does not have an angle tracking error overlimit fault when the error between the decoded motor angle obtained by the rotary transformer after soft decoding and the motor angle information is less than or equal to a preset error threshold.

[0153] Each module in the above-mentioned resolver soft decoding fault detection 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 a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.

[0154] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig.11As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store a rotary transformer excitation signal, a rotary transformer induction signal, a rotary transformer phase offset information, a rotary transformer detected motor speed information, a motor angle information, etc. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a fault detection method for soft decoding of a rotary transformer is implemented.

[0155] Those skilled in the art will understand that Fig.11 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0156] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0157] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0158] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0159] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0160] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0161] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for detecting a rotary transformer fault by soft decoding, characterized in that: The method comprises: Obtaining a rotary transformer excitation signal and a rotary transformer induction signal during the soft decoding process of the rotary transformer; Obtaining a circuit fault detection result and an amplitude fault detection result of the rotary transformer according to sampling results of the rotary transformer excitation signal and the rotary transformer induction signal within a preset period; Acquire phase offset information of the resolver based on the resolver sensing signal, as well as motor speed information and motor angle information detected by the resolver; According to the phase offset information, the motor speed information and the motor angle information, the phase offset fault detection result, the speed over-limit fault detection result and the angle tracking error over-limit fault detection result of the rotary transformer are respectively obtained.

2. The method according to claim 1, characterized in that According to the sampling results of the rotary transformer excitation signal and the rotary transformer induction signal within a preset period, a circuit fault detection result of the rotary transformer is obtained, including: Comparing the sampling result of the rotary transformer excitation signal within a preset period with a first circuit threshold, and comparing the sampling result of the rotary transformer induction signal within a preset period with a second circuit threshold; When there is a sampling result greater than the first circuit fault threshold among the sampling results of the rotary transformer excitation signal within a preset period, and there is a sampling result greater than the second circuit fault threshold among the sampling results of the rotary transformer induction signal within a preset period, a circuit fault detection result indicating that there is no circuit fault in the rotary transformer is obtained.

3. The method according to claim 1, characterized in that According to the sampling results of the rotary transformer excitation signal and the rotary transformer induction signal within a preset period, the amplitude fault detection result of the rotary transformer is obtained, including: Comparing the sampling result of the rotary transformer excitation signal within a preset period with a first excitation amplitude threshold, and comparing the maximum amplitude of the sampling result of the rotary transformer excitation signal with a second excitation amplitude threshold; Comparing the sampling result of the rotary transformer induction signal within a preset period with a first induction amplitude threshold, and comparing the maximum amplitude of the sampling result of the rotary transformer induction signal with a second induction amplitude threshold; When there is a sampling result greater than or equal to the first excitation amplitude threshold among the sampling results of the rotary transformer excitation signal within the preset period, and the maximum amplitude of the sampling results of the rotary transformer excitation signal within the preset period is less than or equal to the second excitation amplitude threshold, and there is a sampling result greater than or equal to the first induction amplitude threshold among the sampling results of the rotary transformer induction signal within the preset period, and the maximum amplitude of the sampling results of the rotary transformer induction signal within the preset period is less than or equal to the second induction amplitude threshold, an amplitude fault detection result indicating that the rotary transformer does not have an amplitude fault is obtained.

4. The method according to claim 1, characterized in that: The rotary transformer sensing signal includes a sine sensing signal and a cosine sensing signal; The acquiring the phase offset information of the rotary transformer based on the rotary transformer sensing signal comprises: Acquire a time difference when the sine sensing signal and the cosine sensing signal are first zero; Phase offset information between the sinusoidal induction signal and the cosine induction signal is determined according to the time difference and the signal periods of the sinusoidal induction signal and the cosine induction signal, and the phase offset information is used as the phase offset information of the resolver.

5. The method according to claim 1, characterized in that: The rotary transformer sensing signal includes a sine sensing signal and a cosine sensing signal; The method of obtaining motor speed information detected by the rotary transformer based on the rotary transformer sensing signal includes: Acquire a time difference when the sine sensing signal and the cosine sensing signal are zero for the first time, and a signal period of the sine sensing signal and the cosine sensing signal; According to the time difference and the signal period, the sine sensing signal and the cosine sensing signal are phase-aligned to obtain an aligned sine sensing signal and a cosine sensing signal; The motor speed information at the current moment detected by the rotary transformer is obtained according to the aligned sinusoidal sensing signal and the cosine sensing signal.

6. The method according to claim 5, characterized in that Acquiring motor angle information detected by the rotary transformer based on the rotary transformer sensing signal includes: According to the motor speed information at the current moment, the motor angle at the current moment is obtained; Get the motor angles at multiple historical moments before the current moment and the motor angles at multiple delayed moments after the current moment; An angle threshold is determined according to the motor angle at the current moment, the motor angles at multiple historical moments, and the motor angles at multiple delayed moments, and the angle threshold is used as the motor angle information detected by the rotary transformer.

7. The method according to claim 1, characterized in that The method of respectively obtaining a phase offset fault detection result, a speed over-limit fault detection result, and an angle tracking error over-limit fault detection result of the rotary transformer according to the phase offset information, the motor speed information, and the motor angle information includes: When the phase offset information is less than or equal to a preset offset threshold, a phase offset fault detection result is obtained indicating that the rotary transformer does not have a phase offset fault; When the motor speed information is less than or equal to the speed threshold, a speed over-limit fault detection result is obtained indicating that there is no speed over-limit fault in the rotary transformer; When the error between the decoded motor angle obtained by the resolver after soft decoding and the motor angle information is less than or equal to a preset error threshold, an angle tracking error over-limit fault detection result indicating that the resolver does not have an angle tracking error over-limit fault is obtained.

8. A rotary transformer soft decoding fault detection device, characterized in that: The device comprises: A signal acquisition module, used to acquire a rotary transformer excitation signal and a rotary transformer induction signal of the rotary transformer during the soft decoding process; A fault detection module is used to obtain a circuit fault detection result and an amplitude fault detection result of the rotary transformer according to sampling results of the rotary transformer excitation signal and the rotary transformer sensing signal within a preset period; obtain phase offset information of the rotary transformer based on the rotary transformer sensing signal, and motor speed information and motor angle information detected by the rotary transformer; and obtain a phase offset fault detection result, a speed over-limit fault detection result, and an angle tracking error over-limit fault detection result of the rotary transformer according to the phase offset information, the motor speed information, and the motor angle information.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Rotary transformer fault grading and intelligent diagnosis method and device

    CN121327705A

  • Diagnostic method and device of rotary transformer, electronic equipment and storage medium

    CN121453111A

  • Method and device for diagnosing resolver, electronic equipment and storage medium

    CN121453111B