Electric drive assembly rotary transformer zero position diagnosis method and device
By obtaining the maximum angle threshold of gear clearance in the electric drive assembly and conducting command tests, the operating noise and NVH problems caused by high-frequency harmonic injection are solved, and the rotation zero position diagnosis is realized before the vehicle starts, ensuring the system Stability and safety.
Patent Information
- Application Number
- CN202411657296.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-19
- Publication Date
- 2025-02-25
AI Technical Summary
In the prior art, when diagnosing the rotation zero position of a permanent magnet synchronous motor, high-frequency harmonic injection will cause operating noise and NVH problems, reducing system stability.
By obtaining the maximum angle threshold for gear clearance of the electric drive assembly, a command test is performed to determine whether there is a deviation in the rotary zero-position writing value, and a diagnosis is made before the vehicle starts to avoid running noise and NVH problems.
The rotary zero-position diagnosis is achieved before the vehicle starts, avoiding operating noise and NVH problems, and ensuring system stability and motor control safety and stability.
Smart Images

Figure CN119511075A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile testing technology, and in particular to a method and device for diagnosing zero position of a resolver of an electric drive assembly. Background Art
[0002] Permanent magnet synchronous motor (PMSM) is widely used in electric vehicles and industrial fields. The key to its control lies in the accuracy of the resolver zero position. The resolver zero position directly affects the motor torque output. Deviations can lead to safety issues such as motor loss of control and increased vibration. The existing technology uses high-frequency harmonic injection to diagnose the resolver zero position. By injecting high-frequency signals and detecting responses, the actual zero position is calculated. However, this method has obvious drawbacks. High-frequency harmonic injection will bring NVH problems, increase operating noise, and even cause mechanical resonance, reducing system stability. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a method and device for diagnosing the zero position of a resolver in an electric drive assembly, which can perform resolver zero position diagnosis before the entire vehicle is started, will not generate operating noise and NVH problems, ensure system stability, and ensure the safety and stability of motor control.
[0004] The first aspect of the present application provides a method for diagnosing zero position of a resolver of an electric drive assembly, comprising:
[0005] Obtain the maximum angle threshold of the gear clearance corresponding to the electric drive assembly to be tested;
[0006] Determining an expected test result according to the maximum angle threshold of the gear clearance;
[0007] Performing a command test on the electric drive assembly to be tested to obtain a command test result;
[0008] Determine whether there is a deviation in the resolver zero position write value according to the instruction test result and the expected test result;
[0009] If yes, an error message is output.
[0010] In the above implementation process, the method can perform resolver zero position diagnosis before the vehicle is started, without generating operating noise and NVH problems, ensuring system stability and ensuring the safety and stability of motor control.
[0011] Further, the step of obtaining the maximum angle threshold of the gear clearance corresponding to the electric drive assembly to be tested includes:
[0012] Acquire electric drive data of the electric drive assembly to be tested; wherein the electric drive data includes electric drive model and electric drive batch;
[0013] Acquire the gear clearance range of the electric drive assembly to be tested according to the electric drive data;
[0014] Determine the range of the motor rotation angle according to the gear clearance range;
[0015] The maximum angle threshold of the gear clearance is determined according to the range of change of the motor resolver angle.
[0016] Further, the performing a command test on the electric drive assembly to be tested to obtain a command test result includes:
[0017] Determine a test execution sequence; wherein the test execution sequence is one of a first execution sequence, a second execution sequence, and a third execution sequence; the first execution sequence is to first perform a positive and negative torque command test and then a zero torque command test, the second execution sequence is to first perform a zero torque command test and then a positive and negative torque command test, and the third execution sequence is to perform a zero torque command test and a positive and negative torque command test in combination;
[0018] When the test execution sequence is the first execution sequence, a positive and negative torque command test of the vehicle in the P gear in a stationary state is performed on the electric drive assembly to be tested to obtain a positive and negative torque test result;
[0019] Determining expected positive and negative torque test results based on the expected test results;
[0020] When the positive and negative torque test results meet the expected positive and negative torque test results, a vehicle zero torque command test is performed on the electric drive assembly to be tested in a P gear state at rest to obtain a zero torque test result;
[0021] The positive and negative torque test results and the zero torque test result are summarized to obtain a command test result.
[0022] Further, the positive and negative torque command test of the electric drive assembly to be tested in the P gear under a stationary state is performed to obtain the positive and negative torque test results, including:
[0023] Performing a vehicle positive torque command test in the P gear at a stationary state on the electric drive assembly to be tested to obtain a first test result;
[0024] Performing a vehicle negative torque command test in the P gear at rest on the electric drive assembly to be tested to obtain a second test result;
[0025] The first test result and the second test result are summarized to obtain positive and negative torque test results.
[0026] Further, the vehicle positive torque command test is performed on the electric drive assembly to be tested in the P gear under a stationary state to obtain a first test result, including:
[0027] Obtain the pre-calibrated maximum value of the q-axis current command;
[0028] Determine a positive torque current command according to the maximum value of the q-axis current command; wherein the positive torque current command includes a d-axis current command and a q-axis current command; the d-axis current command is 0, and the q-axis current command is not less than 0 and not greater than the maximum value of the q-axis current command;
[0029] According to the positive torque current command, a vehicle positive torque command test is performed on the electric drive assembly to be tested in the P gear under a stationary state to obtain a first test result; wherein the first test result includes a change value of the resolver angle.
[0030] Further, the vehicle zero torque command test is performed on the electric drive assembly to be tested in the P gear state under a stationary state to obtain a zero torque test result, including:
[0031] Determine whether the electric drive assembly to be tested is on a side with a small gear mapping angle and a side with a large gear mapping angle;
[0032] Performing a vehicle zero torque command test in a P gear state at rest on the side with a smaller gear mapping angle to obtain a third test result;
[0033] Performing a vehicle zero torque command test in a P gear state at rest on the side with a larger gear mapping angle to obtain a fourth test result;
[0034] The third test result and the fourth test result are summarized to obtain a zero torque test result.
[0035] A second aspect of the present application provides a zero-position diagnosis device for a resolver of an electric drive assembly, the zero-position diagnosis device for a resolver of an electric drive assembly comprising:
[0036] An acquisition unit, used to acquire a maximum angle threshold of a gear clearance corresponding to the electric drive assembly to be tested;
[0037] A determination unit, configured to determine an expected test result according to the maximum angle threshold of the gear clearance;
[0038] A testing unit, used to perform a command test on the electric drive assembly to be tested and obtain a command test result;
[0039] A judging unit, used for judging whether there is a deviation in the resolver zero position writing value according to the instruction test result and the expected test result;
[0040] The output unit is used to output an error prompt message when it is determined that there is a deviation in the zero position written value of the resolver.
[0041] Furthermore, the acquisition unit includes:
[0042] A first acquisition subunit is used to acquire electric drive data of the electric drive assembly to be tested; wherein the electric drive data includes an electric drive model and an electric drive batch;
[0043] A second acquisition subunit is used to acquire the gear clearance range of the electric drive assembly to be tested according to the electric drive data;
[0044] A first determining subunit, used to determine a range of variation of a motor resolver angle according to the gear clearance range;
[0045] The second determination subunit is used to determine the maximum angle threshold of the gear clearance according to the range of change of the motor resolver angle.
[0046] Furthermore, the testing unit comprises:
[0047] A determination subunit is used to determine a test execution order; wherein the test execution order is one of a first execution order, a second execution order, and a third execution order; the first execution order is to first perform a positive and negative torque command test and then a zero torque command test, the second execution order is to first perform a zero torque command test and then a positive and negative torque command test, and the third execution order is a mixed execution of a zero torque command test and a positive and negative torque command test;
[0048] a testing subunit, configured to perform a positive and negative torque command test of the vehicle in the P gear in a stationary state on the electric drive assembly to be tested when the test execution order is the first execution order, and obtain a positive and negative torque test result;
[0049] The determination subunit is further used to determine expected positive and negative torque test results according to the expected test results;
[0050] The testing subunit is further configured to perform a vehicle zero torque command test in a P gear state at rest on the electric drive assembly to be tested to obtain a zero torque test result when the positive and negative torque test results meet the expected positive and negative torque test results;
[0051] The summarizing subunit is used to summarize the positive and negative torque test results and the zero torque test result to obtain the command test result.
[0052] Further, the test subunit is specifically used to perform a vehicle positive torque command test in a P gear under a stationary state on the electric drive assembly to be tested to obtain a first test result;
[0053] The test subunit is further used to perform a vehicle negative torque command test in the P gear at rest on the electric drive assembly to be tested to obtain a second test result;
[0054] The test subunit is specifically further used to summarize the first test result and the second test result to obtain positive and negative torque test results.
[0055] Furthermore, the testing subunit includes:
[0056] An acquisition module, used for acquiring a pre-calibrated maximum value of a q-axis current instruction;
[0057] A determination module, configured to determine a positive torque current command according to the maximum value of the q-axis current command; wherein the positive torque current command includes a d-axis current command and a q-axis current command; the d-axis current command is 0, and the q-axis current command is not less than 0 and not greater than the maximum value of the q-axis current command;
[0058] The test module is used to perform a vehicle positive torque command test of the electric drive assembly to be tested in the P gear under a stationary state according to the positive torque current command to obtain a first test result; wherein the first test result includes a change value of the resolver angle.
[0059] Further, the test subunit is specifically used to determine whether the electric drive assembly to be tested is on a side with a small gear mapping angle and on a side with a large gear mapping angle;
[0060] The test subunit is further used to perform a vehicle zero torque command test in a P gear state at rest on the side with a small gear mapping angle to obtain a third test result;
[0061] The test subunit is further used to perform a vehicle zero torque command test in a P gear state at rest on the side with a larger gear mapping angle to obtain a fourth test result;
[0062] The test subunit is specifically further used to summarize the third test result and the fourth test result to obtain a zero torque test result.
[0063] A third aspect of the present application provides an electronic device, including a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the electric drive assembly resolver zero position diagnosis method described in any one of the first aspect of the present application.
[0064] A fourth aspect of the present application provides a computer-readable storage medium storing computer program instructions, which, when read and executed by a processor, executes the electric drive assembly resolver zero-position diagnosis method described in any one of the first aspect of the present application.
[0065] The beneficial effects of the present application are as follows: the method and device can diagnose whether there is a deviation in the zero-position write value of the resolver by controlling the motor to rotate within the gear gap range through software before the vehicle is started. Since no torque is generated in the shaft system, there will be no difference in user experience at the vehicle level. At the same time, if a deviation is diagnosed, an error can be reported in time, thereby ensuring that an erroneous torque that causes safety problems will not be output. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0067] Figure 1 A schematic flow chart of a method for diagnosing zero position of a resolver of an electric drive assembly provided in an embodiment of the present application;
[0068] Figure 2 A schematic flow chart of another method for diagnosing zero position of a resolver of an electric drive assembly provided in an embodiment of the present application;
[0069] Figure 3 A schematic diagram of expected results of a positive and negative torque command test provided in an embodiment of the present application;
[0070] Figure 4 Schematic diagram of expected results of two zero torque command tests provided in embodiments of the present application;
[0071] Figure 5 A schematic diagram of the structure of a resolver zero-position diagnostic device for an electric drive assembly provided in an embodiment of the present application;
[0072] Figure 6 A schematic diagram of the structure of another electric drive assembly resolver zero-position diagnostic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0073] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0074] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0075] Example 1
[0076] Please see Figure 1 , Figure 1 A flowchart of a method for diagnosing the zero position of a resolver of an electric drive assembly provided in this embodiment. The method for diagnosing the zero position of a resolver of an electric drive assembly includes:
[0077] S101. Obtain a maximum angle threshold of a gear clearance corresponding to the electric drive assembly to be tested.
[0078] S102. Determine an expected test result according to a maximum angle threshold of a gear clearance.
[0079] S103, performing a command test on the electric drive assembly to be tested, and obtaining a command test result.
[0080] S104, judging whether there is a deviation in the resolver zero position write value according to the command test result and the expected test result, if so, executing step S105; if not, ending this process.
[0081] S105: Output error message.
[0082] In this embodiment, the execution subject of the method may be a computing device such as a computer or a server, and no limitation is made in this embodiment.
[0083] In this embodiment, the execution subject of the method may also be a smart device such as a smart phone, a tablet computer, etc., which is not limited in this embodiment.
[0084] It can be seen that the electric drive assembly resolver zero position diagnosis method described in this embodiment can use the electric drive assembly gear clearance to determine whether the resolver zero position value is correct, thereby utilizing the clearance of the transmission gear to prevent the motor from generating torque in the shaft system when rotating in the gear clearance, thereby avoiding differences in user experience at the vehicle level.
[0085] Example 2
[0086] Please see Figure 2 , Figure 2 A flowchart of a method for diagnosing the zero position of a resolver of an electric drive assembly provided in this embodiment. The method for diagnosing the zero position of a resolver of an electric drive assembly includes:
[0087] S201. Obtain electric drive data of the electric drive assembly to be tested.
[0088] In this embodiment, the electric drive data includes the electric drive model and the electric drive batch.
[0089] S202. Obtaining a gear clearance range of the electric drive assembly to be tested according to the electric drive data.
[0090] S203, determining the range of change of the motor rotation angle according to the gear clearance range.
[0091] S204, determining a maximum angle threshold of the gear clearance according to a range of change of the motor resolver angle.
[0092] In this embodiment, the method preferentially obtains the gear clearance range of all batches of the electric drive assembly to be tested, and maps the gear clearance to the variation range of the motor rotation angle, while leaving a certain margin considering the actual situation.
[0093] For example, the maximum gear clearance of a certain type of electric drive assembly is mapped to a resolver angle of 110° electrical angle. Considering a certain margin, this method will determine that the maximum possible angle of the gear clearance is 120° electrical angle.
[0094] S205. Determine an expected test result according to a maximum angle threshold of the gear clearance.
[0095] In this embodiment, the method can control the motor through the motor controller software, and based on the expected test results, comprehensively judge whether there is a large deviation between the resolver zero position write value and the actual resolver zero position, thereby realizing the diagnosis of whether the resolver zero position write value is correct.
[0096] S206: Determine the test execution order.
[0097] In this embodiment, the test execution order is one of the first execution order, the second execution order, and the third execution order;
[0098] The first execution sequence is to first perform the positive and negative torque command test and then perform the zero torque command test;
[0099] The second execution sequence is to first perform the zero torque command test and then perform the positive and negative torque command test;
[0100] The third execution sequence is a mixed execution of the zero torque command test and the positive and negative torque command tests.
[0101] In this embodiment, in order to diagnose whether the resolver zero position written value is consistent with the actual resolver zero position, a method for executing corresponding control operations according to positive and negative torque instructions and zero torque instructions is proposed. Among them, the positive and negative torque instructions and the zero torque instruction can be mixed and executed.
[0102] In this embodiment, testing according to positive and negative torque instructions refers to: testing the vehicle in P gear at rest with positive and negative torque instructions. When both test results are unexpected, it is determined that the angle deviation of the resolver zero position written value compared to the actual resolver zero position is greater than 90 degrees.
[0103] In this embodiment, testing according to the zero torque command means: performing a zero torque command test on the whole vehicle in the P gear state at rest, and making a detailed judgment through the angle deviation between the zero position write value of the resolver and the actual zero position of the resolver. Among them, when the angle position fits on one side of the gear, a zero torque command is applied. If the angle jumps and fits stably to the other side of the gear, it can be judged that there is a certain angle deviation between the zero position write value of the resolver and the actual zero position of the resolver. The size of the deviation can be quantitatively judged by gradually increasing the d-axis current command value in the zero torque command; the direction of the angle deviation can be judged by judging which side of the gear stops causing the angle to jump to the other side.
[0104] S207: When the test execution sequence is the first execution sequence, a vehicle positive torque command test is performed on the electric drive assembly to be tested in the P gear in a stationary state to obtain a first test result.
[0105] As an optional implementation, a vehicle positive torque command test is performed on the electric drive assembly to be tested in the P gear at rest to obtain a first test result, including:
[0106] Obtain the pre-calibrated maximum value of the q-axis current command;
[0107] The positive torque current command is determined according to the maximum value of the q-axis current command; wherein the positive torque current command includes the d-axis current command and the q-axis current command; the d-axis current command is 0, and the q-axis current command is not less than 0 and not greater than the maximum value of the q-axis current command;
[0108] According to the positive torque current command, a vehicle positive torque command test is performed on the electric drive assembly to be tested in the P gear under a stationary state to obtain a first test result; wherein the first test result includes a change value of the resolver angle.
[0109] For example, this method, given the id ref =0,0<=iq ref <=iq TestMax ;
[0110] Among them, id ref Refers to the d-axis current command;
[0111] iq ref Refers to the q-axis current command; in order to avoid impact on the tooth surface, iq ref The increase pattern of the absolute value is gradual increase;
[0112] iq TestMax Refers to the maximum value of the q-axis current command, which represents a positive value here; the negative maximum current will be expressed as -iq TestMax , iq TestMaxThe value is obtained after the electric drive assembly is installed on the vehicle. This value must ensure that the vehicle is not affected, the gear surfaces are tightly fitted, and the gear clearance is fully measured.
[0113] The corresponding expected test results are: the rotation angle change is positive, and the angle change value is <= Max (gear clearance mapping value, such as 120°).
[0114] S208. Perform a vehicle negative torque command test in the P gear at rest on the electric drive assembly to be tested to obtain a second test result.
[0115] As an optional implementation, a vehicle negative torque command test is performed on the electric drive assembly to be tested in the P gear at rest to obtain a second test result, including:
[0116] Determine the minimum value of the negative q-axis current command according to the maximum value of the q-axis current command;
[0117] Determine the negative torque current command according to the minimum value of the negative q-axis current command; wherein the negative torque current command includes a d-axis current command and a q-axis current command; the d-axis current command is 0, and the q-axis current command is not less than the minimum value of the negative q-axis current command and not greater than 0;
[0118] According to the negative torque current command, a vehicle negative torque command test is performed on the electric drive assembly to be tested in the P gear under a stationary state to obtain a second test result; wherein the second test result includes a change value of the resolver angle.
[0119] For example, this method can be given an id ref =0, -iq TestMax <=iq ref <=0;
[0120] The corresponding expected test results are: the rotation angle change is negative, and the angle change value is <= Max (gear clearance mapping value, such as 120°).
[0121] Please see Figure 3 , Figure 3 A schematic diagram showing expected results of a positive and negative torque command test is shown.
[0122] S209, summarizing the first test result and the second test result to obtain positive and negative torque test results.
[0123] S210. Determine expected positive and negative torque test results according to expected test results.
[0124] In this embodiment, if the positive and negative torque tests and the pass are unexpected at the same time, the subsequent second part of the test may not be performed.
[0125] If the two test results of the first part, test 1 and test 2, are the expected test results, continue with the second part of the test. And the gear clearance mapping value of the electric drive assembly can be determined through the first part of the test 1 and test 2, which can be used for the diagnosis of the second part of the test results; if the gear clearance mapping value has not been obtained, Max (gear clearance mapping value) (eg: 120°) can also be used directly for diagnosis.
[0126] S211. When the positive and negative torque test results meet the expected positive and negative torque test results, determine whether the electric drive assembly to be tested is on a side with a smaller gear mapping angle and on a side with a larger gear mapping angle.
[0127] In this embodiment, when the first test result does not meet the expected positive torque test result, and the second test result does not meet the expected negative torque test result, the first test result and the second test result are aggregated to obtain the instruction test result.
[0128] S212, performing a vehicle zero torque command test in a P gear state at rest on the side with a smaller gear mapping angle to obtain a third test result.
[0129] In this embodiment, the method can be given iq ref =0;0<=id ref <=id TestMax ;
[0130] Among them, iq ref Refers to the q-axis current command;
[0131] id ref Refers to the d-axis current command; during the test, id ref Gradually increase, if |angle change|<=gear clearance / 2, increase to id TestMax Otherwise, id ref When it is detected that |angle change|> gear gap / 2, it will no longer increase and the ID will be recorded. ref The instruction value is defined as id refstop ;
[0132] id TestMax Refers to the maximum value allowed by the d-axis current command, which represents a positive value here; id TestMax It is necessary to ensure that even if the angle of the resolver zero position writing value is greatly deviated, it will not affect the entire vehicle. TestMax andiq TestMax Consider setting them to the same size.
[0133] Corresponding expected test results: in id TestMax Within the command range, |angle change|<gear clearance / 2.
[0134] In this embodiment, if the expected test result is not met, it means that during the zero torque command test, the electric drive actually outputs positive torque, that is, the resolver zero position written value has a deviation and is larger than the actual resolver zero position. refstop , the specific size of the angle deviation can be quantified.
[0135] S213, performing a vehicle zero torque command test in a P gear state at rest on the side with a larger gear mapping angle to obtain a fourth test result.
[0136] In this embodiment, the method can be given iq ref =0;0<=id ref <=id TestMax ;
[0137] Corresponding expected test results: in id TestMax Within the command range, |angle change|<gear clearance / 2.
[0138] In this embodiment, if the expected test result is not met, it means that the electric drive actually outputs negative torque during the zero torque command test, that is, the write value of the resolver zero position is biased and smaller than the actual resolver zero position. refstop , the specific size of the angle deviation can be quantified.
[0139] Please see Figure 4 , Figure 4 Schematic diagram showing the expected results of two zero torque command tests.
[0140] S214. Summarize the third test result and the fourth test result to obtain a zero torque test result.
[0141] S215. Summarize the positive and negative torque test results and the zero torque test results to obtain the command test results.
[0142] S216. Determine whether there is a deviation in the resolver zero position write value according to the command test result and the expected test result. If so, execute step S217; if not, end this process.
[0143] S217: Output error message.
[0144] In this embodiment, the execution subject of the method may be a computing device such as a computer or a server, and no limitation is made in this embodiment.
[0145] In this embodiment, the execution subject of the method may also be a smart device such as a smart phone, a tablet computer, etc., which is not limited in this embodiment.
[0146] It can be seen that the electric drive assembly resolver zero position diagnosis method described in this embodiment can use the electric drive assembly gear clearance to determine whether the resolver zero position value is correct, thereby utilizing the clearance of the transmission gear to prevent the motor from generating torque in the shaft system when rotating in the gear clearance, thereby avoiding differences in user experience at the vehicle level.
[0147] Example 3
[0148] Please see Figure 5 , Figure 5 This is a schematic diagram of the structure of a rotary transformer zero position diagnosis device for an electric drive assembly provided in this embodiment. Figure 5 As shown, the electric drive assembly resolver zero position diagnostic device includes:
[0149] An acquisition unit 310 is used to acquire a maximum angle threshold of a gear clearance corresponding to the electric drive assembly to be tested;
[0150] A determination unit 320, configured to determine an expected test result according to a maximum angle threshold of a gear clearance;
[0151] The test unit 330 is used to perform a command test on the electric drive assembly to be tested and obtain a command test result;
[0152] A judging unit 340, configured to judge whether there is a deviation in the resolver zero position writing value according to the command test result and the expected test result;
[0153] The output unit 350 is used to output an error prompt message when it is determined that there is a deviation in the write value of the resolver zero position.
[0154] In this embodiment, the explanation of the electric drive assembly resolver zero position diagnosis device can refer to the description in Example 1 or Example 2, and will not be further elaborated in this embodiment.
[0155] It can be seen that the electric drive assembly resolver zero position diagnostic device described in this embodiment can use the electric drive assembly gear clearance to determine whether the resolver zero position value is correct, thereby utilizing the clearance of the transmission gear to prevent the motor from generating torque in the shaft system when rotating in the gear clearance, thereby avoiding differences in user experience at the vehicle level.
[0156] Example 4
[0157] Please see Figure 6 , Figure 6 This is a schematic diagram of the structure of a rotary transformer zero position diagnosis device for an electric drive assembly provided in this embodiment. Figure 6 As shown, the electric drive assembly resolver zero position diagnostic device includes:
[0158] An acquisition unit 310 is used to acquire a maximum angle threshold of a gear clearance corresponding to the electric drive assembly to be tested;
[0159] A determination unit 320, configured to determine an expected test result according to a maximum angle threshold of a gear clearance;
[0160] The test unit 330 is used to perform a command test on the electric drive assembly to be tested and obtain a command test result;
[0161] A judging unit 340, configured to judge whether there is a deviation in the resolver zero position writing value according to the command test result and the expected test result;
[0162] The output unit 350 is used to output an error prompt message when it is determined that there is a deviation in the write value of the resolver zero position.
[0163] As an optional implementation, the acquiring unit 310 includes:
[0164] The first acquisition subunit 311 is used to acquire the electric drive data of the electric drive assembly to be tested; wherein the electric drive data includes the electric drive model and the electric drive batch;
[0165] A second acquisition subunit 312 is used to acquire the gear clearance range of the electric drive assembly to be tested according to the electric drive data;
[0166] A first determining subunit 313 is used to determine a range of variation of the motor resolver angle according to a gear clearance range;
[0167] The second determining subunit 314 is used to determine the maximum angle threshold of the gear clearance according to the variation range of the motor resolver angle.
[0168] As an optional implementation, the testing unit 330 includes:
[0169] The determination subunit 331 is used to determine the test execution order; wherein the test execution order is one of the first execution order, the second execution order, and the third execution order; the first execution order is to first perform the positive and negative torque command test and then the zero torque command test, the second execution order is to first perform the zero torque command test and then the positive and negative torque command test, and the third execution order is to perform the zero torque command test and the positive and negative torque command test in combination;
[0170] The test subunit 332 is used to perform a vehicle positive and negative torque command test in the P gear in a stationary state on the electric drive assembly to be tested when the test execution order is the first execution order, and obtain a positive and negative torque test result;
[0171] The determination subunit 331 is further used to determine the expected positive and negative torque test results according to the expected test results;
[0172] The test subunit 332 is further used to perform a vehicle zero torque command test in a P gear state at a stationary state on the electric drive assembly to be tested to obtain a zero torque test result when the positive and negative torque test results meet the expected positive and negative torque test results;
[0173] The summarizing subunit 333 is used to summarize the positive and negative torque test results and the zero torque test results to obtain the command test results.
[0174] As an optional implementation, the test subunit 332 is specifically used to perform a vehicle positive torque command test in the P gear in a stationary state on the electric drive assembly to be tested, and obtain a first test result;
[0175] The test subunit 332 is further used to perform a vehicle negative torque command test in the P gear at rest on the electric drive assembly to be tested, and obtain a second test result;
[0176] The testing subunit 332 is further specifically used to summarize the first test result and the second test result to obtain the positive and negative torque test results.
[0177] As an optional implementation, the testing subunit 332 includes:
[0178] An acquisition module, used for acquiring a pre-calibrated maximum value of a q-axis current instruction;
[0179] A determination module is used to determine a positive torque current command according to a maximum value of a q-axis current command; wherein the positive torque current command includes a d-axis current command and a q-axis current command; the d-axis current command is 0, and the q-axis current command is not less than 0 and not greater than a maximum value of the q-axis current command;
[0180] The test module is used to perform a vehicle positive torque command test in the P gear of the electric drive assembly to be tested in a stationary state according to the positive torque current command to obtain a first test result; wherein the first test result includes a change value of the resolver angle.
[0181] As an optional implementation, the test subunit 332 is specifically used to determine whether the electric drive assembly to be tested is on a side with a small gear mapping angle and a side with a large gear mapping angle;
[0182] The test subunit 332 is further used to perform a vehicle zero torque command test in a P gear state at rest on the side with a small gear mapping angle to obtain a third test result;
[0183] The test subunit 332 is further used to perform a vehicle zero torque command test in a P gear state at rest on the side with a larger gear mapping angle to obtain a fourth test result;
[0184] The testing subunit 332 is further specifically used to summarize the third test result and the fourth test result to obtain a zero torque test result.
[0185] In this embodiment, the explanation of the electric drive assembly resolver zero position diagnosis device can refer to the description in Example 1 or Example 2, and will not be further elaborated in this embodiment.
[0186] It can be seen that the electric drive assembly resolver zero position diagnostic device described in this embodiment can use the electric drive assembly gear clearance to determine whether the resolver zero position value is correct, thereby utilizing the clearance of the transmission gear to prevent the motor from generating torque in the shaft system when rotating in the gear clearance, thereby avoiding differences in user experience at the vehicle level.
[0187] An embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the electric drive assembly resolver zero position diagnosis method in embodiment 1 or embodiment 2 of the present application.
[0188] An embodiment of the present application provides a computer-readable storage medium storing computer program instructions. When the computer program instructions are read and executed by a processor, the electric drive assembly resolver zero position diagnosis method in embodiment 1 or embodiment 2 of the present application is executed.
[0189] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0190] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0191] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0192] The above description is only an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.
[0193] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0194] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
Claims
1. A method for diagnosing zero position of a resolver of an electric drive assembly, characterized in that: include: Obtain the maximum angle threshold of the gear clearance corresponding to the electric drive assembly to be tested; Determining an expected test result according to the maximum angle threshold of the gear clearance; Performing a command test on the electric drive assembly to be tested to obtain a command test result; Determine whether there is a deviation in the resolver zero position write value according to the instruction test result and the expected test result; If yes, an error message is output.
2. The electric drive assembly resolver zero position diagnosis method according to claim 1, characterized in that: The step of obtaining the maximum angle threshold of the gear clearance corresponding to the electric drive assembly to be tested includes: Acquire electric drive data of the electric drive assembly to be tested; wherein the electric drive data includes electric drive model and electric drive batch; Acquire the gear clearance range of the electric drive assembly to be tested according to the electric drive data; Determine the range of the motor rotation angle according to the gear clearance range; The maximum angle threshold of the gear clearance is determined according to the range of change of the motor resolver angle.
3. The electric drive assembly resolver zero position diagnosis method according to claim 1, characterized in that: The step of performing a command test on the electric drive assembly to be tested to obtain a command test result includes: Determine a test execution sequence; wherein the test execution sequence is one of a first execution sequence, a second execution sequence, and a third execution sequence; the first execution sequence is to first perform a positive and negative torque command test and then a zero torque command test, the second execution sequence is to first perform a zero torque command test and then a positive and negative torque command test, and the third execution sequence is to perform a zero torque command test and a positive and negative torque command test in combination; When the test execution sequence is the first execution sequence, a positive and negative torque command test of the vehicle in the P gear in a stationary state is performed on the electric drive assembly to be tested to obtain a positive and negative torque test result; Determining expected positive and negative torque test results based on the expected test results; When the positive and negative torque test results meet the expected positive and negative torque test results, a vehicle zero torque command test is performed on the electric drive assembly to be tested in a P gear state at rest to obtain a zero torque test result; The positive and negative torque test results and the zero torque test result are summarized to obtain a command test result.
4. The electric drive assembly resolver zero position diagnosis method according to claim 3, characterized in that: The testing of the positive and negative torque command of the whole vehicle in the P gear at rest on the electric drive assembly to be tested to obtain the positive and negative torque test results includes: Performing a vehicle positive torque command test in the P gear at a stationary state on the electric drive assembly to be tested to obtain a first test result; Performing a vehicle negative torque command test in the P gear at rest on the electric drive assembly to be tested to obtain a second test result; The first test result and the second test result are summarized to obtain positive and negative torque test results.
5. The electric drive assembly resolver zero position diagnosis method according to claim 4, characterized in that: The step of performing a vehicle positive torque command test in a P gear at a stationary state on the electric drive assembly to be tested to obtain a first test result includes: Obtain the pre-calibrated maximum value of the q-axis current command; Determine a positive torque current command according to the maximum value of the q-axis current command; wherein the positive torque current command includes a d-axis current command and a q-axis current command; the d-axis current command is 0, and the q-axis current command is not less than 0 and not greater than the maximum value of the q-axis current command; According to the positive torque current command, a vehicle positive torque command test is performed on the electric drive assembly to be tested in the P gear under a stationary state to obtain a first test result; wherein the first test result includes a change value of the resolver angle.
6. The electric drive assembly resolver zero position diagnosis method according to claim 3, characterized in that: The step of performing a vehicle zero torque command test in a P gear state at a stationary state on the electric drive assembly to be tested to obtain a zero torque test result includes: Determine whether the electric drive assembly to be tested is on a side with a small gear mapping angle and a side with a large gear mapping angle; Performing a vehicle zero torque command test in a P gear state at rest on the side with a smaller gear mapping angle to obtain a third test result; Performing a vehicle zero torque command test in a P gear state at rest on the side with a larger gear mapping angle to obtain a fourth test result; The third test result and the fourth test result are summarized to obtain a zero torque test result.
7. A zero position diagnostic device for a resolver of an electric drive assembly, characterized in that: The electric drive assembly resolver zero position diagnosis device comprises: An acquisition unit, used to acquire a maximum angle threshold of a gear clearance corresponding to the electric drive assembly to be tested; A determination unit, configured to determine an expected test result according to the maximum angle threshold of the gear clearance; A testing unit, used to perform a command test on the electric drive assembly to be tested and obtain a command test result; A judging unit, used for judging whether there is a deviation in the resolver zero position writing value according to the instruction test result and the expected test result; The output unit is used to output an error prompt message when it is determined that there is a deviation in the zero position written value of the resolver.
8. The electric drive assembly resolver zero position diagnosis device according to claim 7, characterized in that: The acquisition unit comprises: A first acquisition subunit is used to acquire electric drive data of the electric drive assembly to be tested; wherein the electric drive data includes an electric drive model and an electric drive batch; A second acquisition subunit is used to acquire the gear clearance range of the electric drive assembly to be tested according to the electric drive data; A first determining subunit, used to determine a range of variation of a motor resolver angle according to the gear clearance range; The second determination subunit is used to determine the maximum angle threshold of the gear clearance according to the range of change of the motor resolver angle.
9. An electronic device, characterized in that: The electronic device comprises a memory and a processor, the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the electric drive assembly resolver zero position diagnosis method according to any one of claims 1 to 6.
10. A readable storage medium, characterized in that: The readable storage medium stores computer program instructions, and when the computer program instructions are read and executed by a processor, the electric drive assembly resolver zero position diagnosis method according to any one of claims 1 to 6 is executed.