Method, system and equipment for measuring zero angle of extended-range automobile motor and medium
By disassembling the connection between the engine and the motor, adjusting the load status, and using diagnostic equipment for autonomous learning, combined with preset threshold confirmation and system reset design, the complexity and high cost of zero-angle measurement of range-extended vehicle motors have been solved, achieving efficient and accurate zero-angle measurement.
Patent Information
- Application Number
- CN202510810206.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-17
- Publication Date
- 2025-11-14
AI Technical Summary
Existing technologies for measuring the zero-angle of motors in range-extended electric vehicles are complex to operate, costly, lack accuracy and reliability, and lack platform adaptability, making it difficult to measure the zero-angle of the entire vehicle motor, requiring return to the factory for repair and occupying test bench resources.
By disassembling the connection between the engine and the motor, adjusting the motor load to an unloaded state, using diagnostic equipment to connect to the CAN network for autonomous learning, confirming the results by combining preset thresholds, and ensuring that the self-learning results are effectively written through storage verification and system reset design.
It enables rapid and accurate zero-position angle measurement in ordinary repair workshops, reduces hardware dependence and operational complexity, improves measurement accuracy and reliability, avoids factory repairs and bench resource occupation, and reduces costs.
Smart Images

Figure CN120956149A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of zero-position angle measurement technology for range-extended vehicle motors, and particularly to a method, system, device, and medium for measuring the zero-position angle of range-extended vehicle motors. Background Technology
[0002] Permanent magnet synchronous motors (PMSMs) are widely used in the automotive industry due to their high power density, high efficiency, high torque density, and good control performance, as well as their simple structure and reliable operation. To achieve precise closed-loop control, it is necessary to measure the relative position signal of the rotor to the stator using a resolver transformer. This signal is crucial for controlling the motor's efficient operation; inaccurate detection will lead to errors in torque and speed calculations, directly affecting the vehicle's power performance and energy consumption. Currently, motor zero-position angle measurement is implemented in three stages: During motor production, the motor under test is driven to a specific speed by a servo motor, and the resolver zero-position angle is analyzed using a protractor. The result is written into the controller's memory via a UDS diagnostic command, and after assembly, the motor is verified at the offline testing station before being sent to the vehicle. Before being sent to the vehicle, the measurement can be completed and the results stored using the controller's built-in zero-position self-learning function on a test bench or offline testing bench. After the motor is installed in the vehicle, existing technologies either use the vehicle controller to link the engine and clutch to drive the motor for self-learning, or rely on manual judgment of vehicle vibration status combined with speed and torque thresholds to verify the zero-position value.
[0003] Measurements during the production and bench testing phases rely on angle gauges or dedicated test benches. This leads to abnormal zero-position angles after vehicle assembly (e.g., when replacing a resolver transformer), requiring return to the factory for repairs, which is time-consuming, labor-intensive, and costly. Existing technologies at the vehicle assembly stage suffer from multiple drawbacks: some methods require forced self-learning with each ignition, interfering with normal operation; others require collaborative development of the vehicle controller, engine controller, and motor controller, significantly increasing development costs; the unstable speed of the motor driven by the engine causes errors in the self-learning value; solutions relying on clutch structures are unsuitable for clutchless range-extended electric vehicles; human judgment of vehicle vibration is easily affected by road surface and load interference, and deviations in critical value calibration further reduce measurement accuracy; existing methods only perform single measurements, failing to suppress random errors. These shortcomings collectively result in high costs, complex operation, insufficient accuracy and reliability, and a lack of platform-based adaptability for vehicle motor zero-position angle measurement. Summary of the Invention
[0004] In view of the aforementioned existing problems, the present invention is proposed.
[0005] Therefore, this invention provides a method and system for measuring the zero-angle of a range-extended vehicle motor, which solves the problems of lack of a clear method for measuring the zero-angle of the P1 motor in a range-extended vehicle, difficulty and complexity of measurement in the whole vehicle and after-sales service, high measurement cost, need to occupy test bench resources, high after-sales maintenance cost, and insufficient platform adaptation.
[0006] To solve the above-mentioned technical problems, the present invention provides the following technical solution:
[0007] In a first aspect, the present invention provides a method for measuring the zero-position angle of a range-extended vehicle motor, comprising:
[0008] Disconnect the engine and motor connections, and adjust the motor load status;
[0009] Connect the diagnostic device to the CAN network and establish a diagnostic session with the motor.
[0010] The motor is controlled to perform autonomous learning operations, calculate the difference, and confirm the result by combining it with a preset threshold.
[0011] The confirmed result is written to the motor for operation verification;
[0012] Clear the temporary fault codes for autonomous learning and reassemble the engine and motor connections.
[0013] As a preferred embodiment of the zero-position angle measurement method for a range-extended vehicle motor according to the present invention, the method includes: disassembling the engine and motor connection and adjusting the motor load state, including:
[0014] Disconnect the torque transmission components between the engine and the electric motor;
[0015] Mechanical separation is achieved, and the motor input shaft is in a no-load state.
[0016] As a preferred embodiment of the zero-position angle measurement method for a range-extended vehicle motor according to the present invention, the method includes: connecting to a CAN network via a diagnostic device to establish a diagnostic session with the motor, including:
[0017] Switch to extended diagnostic session mode;
[0018] Execute the secure access authentication process to activate operation permissions;
[0019] Enter the preset function control mode and start the learning process.
[0020] As a preferred embodiment of the zero-position angle measurement method for a range-extended vehicle motor according to the present invention, the control motor performs autonomous learning operation and performs difference calculation, including:
[0021] Control the motor to perform motion within a preset speed range;
[0022] The zero-position angle of the resolver is adjusted in real time to achieve the target state, and the results are recorded in real time.
[0023] The calculations are performed based on the recorded results, and the result is the output.
[0024] As a preferred embodiment of the zero-position angle measurement method for a range-extended vehicle motor according to the present invention, the step of confirming the result by combining a preset threshold includes:
[0025] Perform continuous learning operations and record the zero-position angle results;
[0026] The difference between adjacent learning results is calculated and compared with a preset angle threshold;
[0027] If the difference does not exceed the preset angle threshold, the last learning result is adopted as the final result.
[0028] As a preferred embodiment of the zero-position angle measurement method for a range-extended vehicle motor according to the present invention, the confirmed result is written into the motor for operational verification, including:
[0029] The final result is written to the motor controller's storage medium;
[0030] Perform a reset operation on the motor controller;
[0031] Reread the zero-bit angle from the storage medium and verify it.
[0032] As a preferred embodiment of the zero-position angle measurement method for a range-extended vehicle motor according to the present invention, the following steps are included: clearing the temporary fault codes learned through self-learning and reassembling the connection between the engine and the motor.
[0033] Clear fault codes generated during the self-learning process using diagnostic commands;
[0034] Reassemble the torque transmission components between the engine and the electric motor;
[0035] Restore the powertrain mechanical connections to complete the reset.
[0036] Secondly, the present invention provides a zero-position angle measurement system for a range-extended vehicle motor, comprising:
[0037] The load decoupling module disconnects the engine and motor, and adjusts the motor load status.
[0038] The communication control module connects to the CAN network via diagnostic equipment to establish a diagnostic session with the motor;
[0039] The learning and verification module controls the motor to perform autonomous learning operations, calculates the difference, and confirms the result by combining it with a preset threshold.
[0040] The storage verification module writes the confirmed result to the motor to verify the operation.
[0041] The execution module is reset, the temporary fault codes learned by the autonomous learning process are cleared, and the connection between the engine and the motor is reassembled.
[0042] Thirdly, the present invention provides an electronic device, comprising:
[0043] Memory and processor;
[0044] The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions, which, when executed by the processor, implement the steps of a method for measuring the zero-position angle of a range-extended vehicle motor.
[0045] Fourthly, the present invention provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the method for measuring the zero-position angle of a range-extended vehicle motor.
[0046] Compared with existing technologies, the beneficial effects of this invention are as follows: This invention achieves an unloaded state by mechanically separating the engine and motor, avoiding reliance on engine drive or clutch structures, significantly reducing hardware dependence and operational complexity in the measurement scenarios of range-extended electric vehicles; through standardized diagnostic session control and redundant self-learning verification mechanisms, it eliminates human judgment errors and random environmental interference, improving the accuracy and reliability of zero-angle measurement; through the linked design of storage verification and system reset, it ensures that the self-learning results are effectively written and the vehicle's drivable state is quickly restored. This comprehensively solves the problems of zero-angle measurement in after-sales maintenance scenarios for range-extended electric vehicles, such as needing to return to the factory, occupying a test bench, high cost, and poor accuracy, enabling ordinary repair shops to complete repairs within one hour. Attached Figure Description
[0047] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0048] Figure 1 This is a schematic diagram of the overall process of a method for measuring the zero-position angle of a range-extended vehicle motor according to an embodiment of the present invention.
[0049] Figure 2 This is a schematic diagram illustrating the process of controlling the P1 generator to perform resolver self-learning in a range-extended vehicle motor zero-position angle measurement method according to an embodiment of the present invention.
[0050] Figure 3 This is a flowchart illustrating the secure access process of the motor controller in a method for measuring the zero-position angle of a range-extended vehicle motor according to an embodiment of the present invention.
[0051] Figure 4This is a schematic diagram of the resolver zero-position self-learning method for measuring the zero-position angle of a range-extended vehicle motor according to an embodiment of the present invention.
[0052] Figure 5 This is a schematic diagram of the range-extended engine system composition of a range-extended vehicle motor zero-position angle measurement method according to an embodiment of the present invention.
[0053] Figure 6 This is a simplified learning flowchart of the resolver zero-position self-learning method for a range-extended vehicle motor zero-position angle measurement method according to an embodiment of the present invention.
[0054] Figure 7 This is a diagram illustrating the composition of a range-extended vehicle motor zero-position angle measurement system according to an embodiment of the present invention. Detailed Implementation
[0055] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of the present invention.
[0056] Example 1, referring to Figure 1 As an embodiment of the present invention, a method for measuring the zero-position angle of a range-extended vehicle motor is provided, comprising:
[0057] S1: Disconnect the engine and motor connection, and adjust the motor load status;
[0058] S2: Connect to the CAN network via diagnostic equipment to establish a diagnostic session with the motor;
[0059] S3: Control the motor to perform autonomous learning operation, calculate the difference, and confirm the result by combining the preset threshold.
[0060] S4: Write the confirmed result to the motor to verify the operation;
[0061] S5: Clear the temporary fault codes for autonomous learning and reassemble the engine and motor connections.
[0062] It should be noted that existing zero-position angle measurement methods for the motors of range-extended electric vehicles have drawbacks such as strong hardware dependence, complex operation, and insufficient accuracy and reliability: they require returning to the factory and relying on dedicated test benches or corner gauges, making them unsuitable for rapid implementation in after-sales scenarios; they require engine drive, resulting in high development costs and incompatibility with clutchless architectures; and they rely on manual judgment of vibrations or single measurements, leading to poor anti-interference capabilities and unstable measurement results.
[0063] Therefore, addressing the aforementioned issues of stringent measurement conditions, low implementation efficiency, and poor result reliability, the S1-S5 steps achieve efficient and accurate zero-axis measurement within a standard repair shop: S1 mechanical decoupling creates no-load measurement conditions, eliminating reliance on engines and specialized equipment; S2 standardized diagnostic communication avoids multi-controller collaborative development, lowering the implementation threshold; S3 autonomous motion control combined with a redundancy verification mechanism suppresses random errors, ensuring measurement accuracy; S4 solidifies verification results to ensure valid data writing; and S5 system reset enables the vehicle to quickly return to a drivable state. Ultimately, this achieves the goal of completing zero-axis measurement and repair within one hour, completely resolving industry pain points such as long return-to-factory cycles, excessive bench resource consumption, and high after-sales costs.
[0064] Example 2, refer to Figures 2-6 As an embodiment of the present invention, based on the above embodiment, a method for measuring the zero-position angle of a range-extended vehicle motor is provided.
[0065] In this embodiment, in step S1, the engine and motor connection is disassembled and the motor load is adjusted by removing the engine torque damper. The torque damper is a rigid connection component between the engine and the P1 motor. After disassembly, the engine and the P1 motor are mechanically disconnected. The input shaft of the P1 motor is in an unloaded state. This operation is performed on the vehicle lift. The disconnection of the powertrain creates no-load measurement conditions and provides a basic environment for subsequent resolver self-learning.
[0066] In one optional implementation, the disassembly of the engine and motor connection in step S1 and the adjustment of the motor load state can also be achieved by disassembling the powertrain input shaft assembly. In the case of replacing the motor resolver sensor or repairing the front housing, the drive shaft assembly connecting the engine flywheel and the motor input shaft is simultaneously removed. This assembly includes a spline sleeve and a bearing support structure. After disassembly, the torque transmission path from the engine to the motor is directly cut off, allowing the motor rotor to remain in a free rotation state and meeting the mechanical conditions for no-load self-learning.
[0067] In another optional implementation, the disassembly of the engine and motor connection in step S1 and the adjustment of the motor load status can also be achieved by removing the P1 motor as a whole. For the offline maintenance scenario of the motor assembly, all fastening bolts between the motor and the engine housing are released, and the high-voltage wiring harness and cooling pipes are disconnected. The P1 motor is then hoisted and separated from the powertrain, and the motor is placed independently on the maintenance bench. At this time, the motor input shaft is completely freed from the engine load, and the resolver self-learning operation can be performed directly on the bench.
[0068] In this embodiment of the application, step S1, which involves disassembling the engine and motor connection and adjusting the motor load state, further includes:
[0069] Because the overall layout of a range-extended electric vehicle (REEV) differs from that of a hybrid electric vehicle, the engine is directly connected to the P1 generator, without an intermediate clutch mechanism. Figure 4 As shown;
[0070] The range-extended engine system assembly consists of an engine, a torque damper, an input shaft assembly, and a P1 motor assembly, such as... Figure 5 As shown; by removing the torque damper / input shaft assembly, the input shaft end of the P1 generator can be unloaded, suitable for no-load operation. d =0 Resolver zero-position self-learning method, such as Figure 6 As shown, it includes:
[0071] Prerequisite: High voltage is applied to the motor controller, and the resolver self-learning routine is entered;
[0072] The motor controller controls the motor to rotate forward to the speed threshold of 1.
[0073] The motor controller is set to a target motor speed of 0 rpm, and the resolver zero-position angle is quickly adjusted to make U d =0, record U when rotating forward. d The zero-position angle of the resolver adjusted when it equals 0V is denoted as the zero-position angle of the forward-rotating resolver.
[0074] The motor controller reverses the motor to the speed threshold of 2.
[0075] The motor controller is set to a target motor speed of 0 rpm, and the resolver zero-position angle is quickly adjusted to make U d =0, record U when reversed d The zero-position angle of the resolver adjusted when it equals 0V is denoted as the zero-position angle of the reverse resolver.
[0076] Zero position angle of resolver zero-position self-learning motor = (zero position angle of forward resolver + zero position angle of reverse resolver) / 2.
[0077] In this embodiment, in step S2, the diagnostic device connects to the CAN network and establishes a diagnostic session with the motor by turning the key to the ON position or pressing the start button to bring the vehicle into high voltage mode; the diagnostic device sends a command to control the motor controller to enter the default diagnostic session mode; the diagnostic device sends a command to control the motor controller to enter the extended diagnostic session mode; the diagnostic device continuously sends online commands to maintain the session status and prevent timeout; the diagnostic device completes security authentication with the motor controller through the secure access service; and the diagnostic device activates the motor controller to enter the preset function control mode through the routine control service.
[0078] In an optional implementation, the diagnostic session established with the motor by connecting to the CAN network via the diagnostic device in step S2 can also be achieved through a wireless diagnostic terminal. In space-constrained maintenance scenarios, a portable diagnostic instrument supporting WiFi / Bluetooth can be used to connect to the vehicle's OBD interface; the high-voltage power-on command can be automatically triggered via a mobile terminal application to replace the physical key operation; a wireless secure tunnel can be established to transmit diagnostic commands and complete the session mode switching and security authentication process.
[0079] In another optional implementation, in step S2, the diagnostic device connects to the CAN network and establishes a diagnostic session with the motor. This can also be automated by pre-programmed scripts. For batch maintenance scenarios, the diagnostic device is pre-set with a sequence of instructions including session control, secure access, and function mode activation. After connecting to the OBD interface, the script can be run with one click to automatically complete the extended session switching, LV1 security key calculation, and EOL mode activation operations without the need for manual step-by-step instruction sending.
[0080] In this embodiment, step S3 involves controlling the motor to perform an autonomous learning operation, calculating the difference, and confirming the result by combining it with a preset threshold. The resolver self-learning routine is initiated through the routine control service via the diagnostic device. The motor controller controls the motor to rotate forward to the first speed threshold, adjusts the resolver zero angle to the target state, and records the forward zero angle. The motor controller controls the motor to rotate in reverse to the second speed threshold, adjusts the resolver zero angle to the target state, and records the reverse zero angle. The average value of the forward and reverse zero angles is calculated as the result of a single self-learning operation. Two self-learning operations are performed consecutively, and the results are recorded. The difference between the two self-learning results is calculated and compared with a preset angle threshold. If the difference does not exceed the preset angle threshold, the second self-learning result is adopted as the final zero angle.
[0081] In one optional implementation, the step S3 involves controlling the motor to perform autonomous learning, calculating the difference, and confirming the result by combining it with a preset threshold. This can also be achieved through segmented temperature-increasing self-learning. For low-temperature cold start maintenance scenarios, the motor is first controlled to run at a low speed range to preheat the windings. After the motor temperature rises to the preset working window, the forward and reverse zero-position angle adjustment and average value calculation are then performed. Temperature compensation suppresses measurement deviations caused by material deformation, thereby improving the self-learning accuracy in cold environments.
[0082] In another optional implementation, the process of controlling the motor to perform autonomous learning in step S3, calculating the difference, and confirming the result by combining it with a preset threshold can also be achieved through adaptive verification of high-mileage motors. In response to the risk scenario of rotor demagnetization of high-mileage motors, the speed threshold range is dynamically expanded during forward and reverse rotation; zero-angle data at multiple speed points are collected to fit a linear relationship; after correcting the single self-learning result based on the fitting slope, redundant verification of the corrected value and comparison with the threshold are performed twice.
[0083] In this embodiment of the application, step S3, which involves controlling the motor to perform autonomous learning, calculating the difference, and confirming the result by combining it with a preset threshold, further includes:
[0084] The diagnostic equipment sends diagnostic commands to the motor controller, controlling the P1 generator to perform resolver self-learning, such as... Figure 2 As shown, the diagnostic device sends a diagnostic command to control the motor controller to enter the default diagnostic session mode (the diagnostic device sends 1001, and the motor controller returns 5001).
[0085] The diagnostic device sends a diagnostic command to control the motor controller to enter the extended diagnostic session mode (the diagnostic device sends 1003, and the motor controller returns 5003);
[0086] The diagnostic equipment keeps sending online diagnostic commands, updates the session clock, prevents ECU session timeouts, and puts the motor controller into the default diagnostic session mode.
[0087] The diagnostic device securely accesses the motor controller via LV1 by sending a secure access service diagnostic command. The motor controller and the diagnostic device complete the security authentication. The diagnostic device first sends a "request seed" security service request message to the motor controller. The motor controller replies with a positive response message containing "seed". Then, the diagnostic device calculates a "seedkey" based on the "seed" and the security algorithm and sends it to the motor controller to pass the secure access.
[0088] Specifically, the secure access process for the motor controller is as follows: Figure 3 As shown, the diagnostic device sends a request for a Seed (2701) to the motor controller; the motor controller returns an automatically generated random Seed (6702XXXX XX XX, where XX XX XX XX represents the Seed) to the diagnostic device; the diagnostic device calculates the SeedKey based on the Seed and security algorithm returned by the motor controller, and sends the key to the motor controller (2702XX XX XX XX); the motor controller determines whether the SeedKey calculated by the diagnostic device according to the security algorithm is correct. If the calculated SeedKey is correct, it returns (6702) indicating that secure access has been granted; if it returns a 7F 2735 negative response code, it indicates that secure access has failed; after this secure access failure, it can continue to request secure access twice. If it fails three times in a row, it needs to wait three minutes before it can continue to request secure access service.
[0089] The diagnostic equipment controls the motor controller to enter the EOL offline test mode through the control diagnostic service. If the motor controller returns a positive response status 1, it means that the EOL offline test mode has been entered and the next step can be continued; if it returns a positive response status 2 or a negative response code, it means that the entry into the EOL offline test mode has failed, fault code 1 is recorded, the vehicle motor zero position self-learning process ends, and the fault is troubleshooted based on the recorded fault code and the returned response information. (Entering the EOL offline test mode requires that the S54 diagnostic equipment has secure access through the motor controller).
[0090] The diagnostic equipment controls the motor controller to enter the resolver self-learning routine through the control diagnostic service, and the motor begins its first resolver zero-position self-learning.
[0091] The diagnostic equipment requests the resolver self-learning results from the control diagnostic service and determines the resolver self-learning results based on the returned information:
[0092] A return status of 0 indicates that resolver self-learning is in progress (resolver self-learning is not yet complete), and the motor resolver self-learning result should be requested again.
[0093] Return status 1 indicates that the resolver self-learning failed, fault code 2 is recorded, the whole vehicle motor zero position self-learning process ends, troubleshoot the fault based on the recorded fault code and the returned response information;
[0094] Returning to status 2 indicates that the resolver self-learning is complete and you can proceed to the next step.
[0095] The diagnostic equipment reads the motor zero-position angle value of the resolver self-learning through the identifier reading data diagnostic service, and records the first resolver self-learning zero-position angle, which is denoted as motor zero-position angle 1;
[0096] Repeat the above steps to perform a second resolver self-learning and record the second selected self-learning zero angle, denoted as motor zero angle 2. A single resolver self-learning may result in deviations due to environmental factors, mechanical vibration, or battery interference. If the difference between the two resolver self-learning results is small (less than 0.5 electrical degrees, i.e., 0.008727 rad), the second resolver self-learning result is taken as the motor zero angle.
[0097] In this embodiment of the application, step S4, which involves writing the confirmed result into the motor and performing operational verification, includes:
[0098] The difference between the two resolver self-learning results is calculated. If the absolute value of the difference is less than or equal to the radian threshold 1 (generally taken as 0.5° electrical angle, i.e., 0.008727 rad radians), the second resolver self-learning result is taken as the motor zero position angle and recorded and stored in the motor controller EEPROM; otherwise, resolver self-learning is restarted, and the comparison is performed again after the two resolver self-learnings are completed (limited to 3 times). There may also be cases where the difference between the two resolver self-learning results is greater than 0.5° electrical angle. When this case exists, resolver self-learning needs to be restarted, and the comparison is performed again after the two resolver self-learnings are completed. If the difference is greater than the threshold after three iterations, self-learning fails.
[0099] The diagnostic equipment sends a hard reset command to the motor controller (simulating a vehicle power-off) and reads the motor zero-position angle again to ensure that the motor zero-position angle learned by the second resolver self-learning has been written into the motor controller's EEPROM chip.
[0100] In this embodiment of the application, step S5, which involves clearing the temporary fault codes learned through autonomous learning and reassembling the connection between the engine and the motor, includes:
[0101] The diagnostic equipment clears fault codes. The diagnostic service clears fault codes generated by the motor controller during resolver self-learning, ensuring that the vehicle can operate normally after resolver self-learning.
[0102] After the resolver completes its self-learning, the transmitter torque damper is reinstalled, and the zero-position angle measurement of the motors on the entire vehicle is completed.
[0103] In summary, this invention proposes a vehicle-wide zero-position angle measurement scheme for the P1 motor in range-extended electric vehicles. Its core lies in: achieving motor no-load operation by disassembling the rigid connection components between the engine and the motor (such as a torque damper); utilizing standard diagnostic tools and a UDS protocol-based safe control of the motor controller; executing a specific no-load Ud=0 self-learning algorithm (adjusting the zero-position angle by forward and reverse rotation and taking the average); and introducing a redundant verification and threshold comparison mechanism for the two self-learning results to ensure the reliability of the results. This method eliminates dependence on the engine, vehicle controller, and clutch, avoids the influence of speed fluctuations, significantly reduces measurement costs and operational barriers, and is applicable to various scenarios such as vehicle repair and bench testing, possessing the advantages of high efficiency, versatility, and low cost.
[0104] Example 3 illustrates a schematic scheme for measuring the zero-angle of a range-extended vehicle motor. It should be noted that the technical solution of this system for measuring the zero-angle of a range-extended vehicle motor is based on the same concept as the technical solution of the aforementioned method for measuring the zero-angle of a range-extended vehicle motor. Details not described in detail in this embodiment of the system for measuring the zero-angle of a range-extended vehicle motor can be found in the description of the aforementioned method for measuring the zero-angle of a range-extended vehicle motor.
[0105] This embodiment also provides a zero-position angle measurement system for a range-extended vehicle motor, including:
[0106] The load decoupling module disconnects the engine and motor, and adjusts the motor load status.
[0107] The communication control module connects to the CAN network via diagnostic equipment to establish a diagnostic session with the motor;
[0108] The learning and verification module controls the motor to perform autonomous learning operations, calculates the difference, and confirms the result by combining it with a preset threshold.
[0109] The storage verification module writes the confirmed result to the motor to verify the operation.
[0110] Reset the execution module, clear the temporary fault codes learned by the self-learning process, and reassemble the connection between the engine and the motor;
[0111] Specifically, such as Figure 7 As shown, it mainly consists of a P1 generator controller, diagnostic equipment, a PC (with diagnostic equipment host computer software), a vehicle controller, an engine control unit, a BMS battery management system, other controllers, and a key / ignition switch. The key / ignition switch sends a signal to the vehicle controller. Upon receiving the power-on signal, the vehicle controller sends control signals to each controller unit. Each controller receives the signal and executes the power-on control strategy accordingly, thereby enabling the vehicle to connect to high voltage (although some controllers are not directly involved in this invention, their presence in the system ensures that the vehicle will not malfunction due to lost controller messages, preventing it from connecting to high voltage). Diagnostics are connected to the vehicle's CAN bus via the OBD port, and the corresponding software on the PC diagnostic equipment enables information exchange with the P1 generator controller, thereby controlling the P1 generator.
[0112] This embodiment also provides an electronic device applicable to the measurement of the zero-angle of a range-extended vehicle motor, comprising: a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the method for measuring the zero-angle of a range-extended vehicle motor as proposed in the above embodiment.
[0113] This embodiment also provides a storage medium storing a computer program that, when executed by a processor, implements a method for measuring the zero-position angle of a range-extended vehicle motor as proposed in the above embodiments.
[0114] The storage medium proposed in this embodiment belongs to the same inventive concept as the method for measuring the zero-position angle of a range-extended vehicle motor proposed in the above embodiments. Technical details not described in detail in this embodiment can be found in the above embodiments, and this embodiment has the same beneficial effects as the above embodiments.
[0115] Based on the above description of the implementation methods, those skilled in the art will clearly understand that the present invention can be implemented using software and necessary general-purpose hardware, and of course, it can also be implemented using hardware. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk, or optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of the various embodiments of the present invention.
[0116] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.
Claims
1. A method for measuring the zero-position angle of a range-extended vehicle motor, characterized in that, include: Disconnect the engine and motor connections, and adjust the motor load status; Connect the diagnostic equipment to the CAN network to establish a diagnostic session with the motor; The motor is controlled to perform autonomous learning operations, calculate the difference, and confirm the result by combining it with a preset threshold. The confirmed result is written to the motor for operation verification; Clear the temporary fault codes for autonomous learning and reassemble the engine and motor connections.
2. The method for measuring the zero-position angle of a range-extended vehicle motor as described in claim 1, characterized in that, Disconnect the engine and motor connections, and adjust the motor load conditions, including: Disconnect the torque transmission components between the engine and the electric motor; Mechanical separation is achieved, and the motor input shaft is in a no-load state.
3. The method for measuring the zero-position angle of a range-extended vehicle motor as described in claim 2, characterized in that, Connect the diagnostic device to the CAN network and establish a diagnostic session with the motor, including: Switch to extended diagnostic session mode; Execute the secure access authentication process to activate operation permissions; Enter the preset function control mode and start the learning process.
4. The method for measuring the zero-position angle of a range-extended vehicle motor as described in claim 3, characterized in that, The controlled motor performs autonomous learning operations and performs difference calculations, including: Control the motor to perform motion within a preset speed range; The zero-position angle of the resolver is adjusted in real time to achieve the target state, and the results are recorded in real time. The calculations are performed based on the recorded results, and the result is the output.
5. The method for measuring the zero-position angle of a range-extended vehicle motor as described in claim 4, characterized in that, The step of confirming the result by combining a preset threshold includes: Perform continuous learning operations and record the zero-position angle results; The difference between adjacent learning results is calculated and compared with a preset angle threshold; If the difference does not exceed the preset angle threshold, the last learning result is adopted as the final result.
6. The method for measuring the zero-position angle of a range-extended vehicle motor as described in claim 5, characterized in that, The confirmed results are written to the motor for operational verification, including: The final result is written to the motor controller's storage medium; Perform a reset operation on the motor controller; Reread the zero-bit angle from the storage medium and verify it.
7. The method for measuring the zero-position angle of a range-extended vehicle motor as described in claim 6, characterized in that, Clear the temporary fault codes for autonomous learning, and reassemble the engine and motor connections, including: Clear fault codes generated during the self-learning process using diagnostic commands; Reassemble the torque transmission components between the engine and the electric motor; Restore the powertrain mechanical connections to complete the reset.
8. A zero-position angle measurement system for a range-extended vehicle motor, using the method described in any one of claims 1-7, characterized in that, include: The load decoupling module disconnects the engine and motor, and adjusts the motor load status. The communication control module connects to the CAN network via diagnostic equipment to establish a diagnostic session with the motor; The learning and verification module controls the motor to perform autonomous learning operations, calculates the difference, and confirms the result by combining it with a preset threshold. The storage verification module writes the confirmed result to the motor to verify the operation. The execution module is reset, the temporary fault codes learned by the autonomous learning process are cleared, and the connection between the engine and the motor is reassembled.
9. An electronic device, comprising: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, they implement the steps of the zero-position angle measurement method for a range-extended vehicle motor as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the zero-position angle measurement method for a range-extended vehicle motor as described in any one of claims 1 to 7.