Method, system, device and storage medium for simulating an overspeed fault of a drive motor
By using a function signal generator to generate a virtual voltage signal to replace the drive motor speed sensor, and combining it with the drive motor control unit and test computer, the problems of low efficiency and safety risks in drive motor overspeed fault simulation testing are solved, achieving efficient and flexible overspeed fault simulation and diagnosis.
Patent Information
- Application Number
- CN202511514842.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-20
- Publication Date
- 2026-08-04
- Estimated Expiration
- 2045-10-20
AI Technical Summary
Existing technologies for simulating and testing overspeed faults in drive motors are inefficient, cannot flexibly set different speed conditions, and pose safety risks.
By using a function signal generator to generate a sine or cosine virtual voltage signal with a preset signal frequency and amplitude range, the actual voltage signal of the drive motor speed sensor is replaced. The voltage signal is adjusted to simulate overspeed faults at different speeds, and diagnosis is performed in conjunction with the drive motor control unit and test computer.
It improves the efficiency and flexibility of overspeed fault simulation, ensures the accuracy and safety of testing, and can verify the response of electric vehicles under overspeed faults of varying severity.
Smart Images

Figure CN121142312B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of pure electric vehicle testing technology, and in particular to a method, system, device and storage medium for simulating overspeed faults of drive motors. Background Technology
[0002] Overspeed diagnosis of the drive motor is a key monitoring item in the OBD system of pure electric vehicles. The OBD system's drive motor overspeed diagnosis requires setting an accurate speed threshold. Once the set speed threshold is exceeded, a fault is immediately triggered and protective measures are taken. Therefore, it is necessary to repeatedly perform overspeed fault simulation tests at different speeds to verify whether the fault diagnosis system can correctly identify and alarm. Currently, using a specially designed faulty motor to simulate drive motor overspeed faults requires disassembling the original motor and installing the specially designed faulty motor. However, each overspeed fault test can only be performed on a specific overspeed mode. If it is required to test overspeed performance under different speeds and load conditions, multiple replacements or the use of multiple different specially designed motors are necessary, resulting in complex overspeed fault testing operations, low testing efficiency, and poor flexibility. Moreover, the presence of high-voltage electricity in the engine compartment poses safety risks during replacement and during the overspeed operation of the specially designed faulty motor. Summary of the Invention
[0003] This invention provides a method, system, device, and storage medium for simulating overspeed faults in drive motors, to at least solve the problems of low testing efficiency and inability to flexibly set overspeed fault conditions under different speeds in overspeed fault simulation tests. The technical solution of this invention is as follows: According to a first aspect of the present invention, a method for simulating overspeed faults in a drive motor is provided, applied to a drive motor overspeed fault simulation system. The system includes a function signal generator, a drive motor control unit, and an adapter box. A connection is established between the input terminals of the function signal generator and the drive motor control unit via the adapter box. A first signal connection exists between the function signal generator and the adapter box, and a second signal connection exists between the drive motor control unit and the adapter box. The method includes: detecting that the electric vehicle is in a fully powered-off state; disconnecting a third signal connection between the drive motor speed sensor and the adapter box; establishing a first signal connection between the function signal generator and the adapter box; detecting that the electric vehicle is in a powered-on state; adjusting the output of a first voltage signal from the function signal generator according to a preset drive motor characteristic curve; and controlling the drive motor control unit to analyze the received first voltage signal to obtain a target drive motor speed value. The first voltage signal represents a sine or cosine virtual voltage signal with a preset signal frequency and a preset amplitude range; the target drive motor speed value represents a drive motor speed value exceeding an overspeed fault threshold; starting the drive system of the electric vehicle; and under preset operating conditions, diagnosing an overspeed fault in the drive motor based on the target drive motor speed value.
[0004] As one implementation, a preset drive motor characteristic curve characterizes the relationship between the signal frequency of the voltage signal determined by the drive motor speed sensor during normal drive motor operation and the drive motor speed value. The drive motor control unit analyzes the received first voltage signal to obtain the target drive motor speed value. Specifically, this includes: according to the preset drive motor characteristic curve, calling the drive motor control unit to analyze the first voltage signal to obtain the first drive motor speed value; based on the first drive motor speed value, adjusting the preset signal frequency of the first voltage signal until the drive motor speed value analyzed by the drive motor control unit exceeds the overspeed fault threshold, thus obtaining the target drive motor speed value.
[0005] In this embodiment, the efficiency of overspeed fault simulation is improved by directly adjusting the voltage signal output by the function signal generator instead of the complex operation process of replacing the drive motor with the characteristic fault. Furthermore, different corresponding drive motor speed values are obtained by adjusting the voltage signal output of the function signal generator, thereby improving the flexibility of overspeed fault simulation.
[0006] As one implementation method, the drive motor overspeed fault simulation system also includes a test computer; the test computer is electrically or communicatively connected to the output terminal of the drive motor control unit. Before the drive motor control unit parses the received first voltage signal to obtain the target drive motor speed value, the method further includes: detecting whether the test computer can read the drive motor speed value output by the drive motor control unit, specifically including: detecting that the first drive motor speed value obtained by parsing the first voltage signal matches a preset drive motor characteristic curve, and determining that the test computer can successfully read the first drive motor speed value.
[0007] In this implementation, the testing computer can successfully read the drive motor speed value, which is an important basis for subsequently adjusting the voltage signal output by the function signal generator. This ensures the accuracy and reliability of the overspeed fault simulation test.
[0008] As one implementation method, the characteristic parameters of the voltage signal include preset signal frequency, preset amplitude range, and waveform.
[0009] The test computer detects that the first drive motor speed value obtained by parsing the first voltage signal does not match the preset drive motor characteristic curve, and determines that the test computer cannot read the first drive motor speed value. According to the preset drive motor characteristic curve, the characteristic parameters of the initial voltage signal are adjusted to obtain the second voltage signal. The test computer detects that the second drive motor speed value obtained by parsing the second voltage signal matches the preset drive motor characteristic curve, and determines that the test computer can successfully read the second drive motor speed value.
[0010] In this embodiment, when it is detected that the drive motor speed value cannot be read, it is found that the corresponding voltage signal and drive motor speed value do not match the preset drive motor characteristic curve, and the simulated voltage signal is abnormal. The abnormal voltage signal is adjusted according to the preset drive motor characteristic curve to ensure the accuracy of the output voltage signal, which is closer to the signal characteristics of the voltage signal output by the real drive motor speed sensor, thus ensuring the reliability of the overspeed fault simulation.
[0011] As one implementation method, after determining that the test computer can successfully read the first drive motor speed value, the method includes: based on the correlation between the signal frequency of the voltage signal and the drive motor speed value, adjusting the preset signal frequency of the first voltage signal until the drive motor speed value read by the test computer reaches the target drive motor speed value.
[0012] As one implementation method, after determining that the test computer can successfully read the second drive motor speed value, the method includes: based on the correlation between the signal frequency of the voltage signal and the drive motor speed value, adjusting the preset signal frequency of the second voltage signal until the drive motor speed value read by the test computer reaches the target drive motor speed value.
[0013] In this embodiment, it is determined whether the read drive motor speed value reaches the target drive motor speed value or exceeds the overspeed fault threshold. Based on the read drive motor speed value, the preset signal frequency of the voltage signal is adjusted until the drive motor speed value output by the drive motor control unit reaches the target drive motor speed value, thus ensuring the accuracy of the overspeed fault simulation.
[0014] As one implementation method, preset driving conditions characterize the driving conditions of the vehicle, including vehicle speed, engine speed, and temperature.
[0015] When the drive system of a pure electric vehicle is started, under preset operating conditions, the drive motor control unit diagnoses an overspeed fault of the drive motor based on the target drive motor speed value. This includes: under preset operating conditions, the control function signal generator continuously generates a first voltage signal or a second voltage signal corresponding to the target drive motor speed value; and when the drive motor speed value parsed by the drive motor control unit is detected to continuously exceed the overspeed fault threshold, an overspeed fault of the drive motor is diagnosed.
[0016] In this embodiment, the drive motor speed exceeding the overspeed fault threshold is the main diagnostic condition for diagnosing drive motor overspeed faults. However, due to the complexity of actual vehicle operation, detecting that the current drive motor speed exceeds the overspeed fault threshold does not directly indicate a drive motor overspeed fault. It is necessary to consider the actual operating conditions. After the vehicle drive system starts, it operates under preset operating conditions. If the drive motor speed continuously exceeds the overspeed fault threshold during the operating period, and other enterprise-defined auxiliary conditions are also met, such as vehicle speed, torque, and temperature, the drive motor control unit diagnoses the starter motor overspeed fault, thereby ensuring the authenticity of the drive motor fault diagnosis and the accuracy of the diagnostic results.
[0017] According to a second aspect of the present invention, a drive motor overspeed fault simulation system is provided. The system includes: a function signal generator, a drive motor control unit, a test computer, and an adapter box; the function signal generator and the input terminal of the drive motor control unit are connected through the adapter box; the test computer is connected to the diagnostic interface of a pure electric vehicle.
[0018] A function signal generator is used to generate and regulate the voltage signal output by the analog drive motor speed sensor.
[0019] The drive motor control unit receives the voltage signal generated by the function signal generator and analyzes the voltage signal according to the preset drive motor characteristic curve to obtain the drive motor speed value.
[0020] The test computer is used to read the drive motor speed value output by the drive motor control unit and monitor the drive motor overspeed fault diagnosis results.
[0021] The adapter box is used to facilitate signal communication between the drive motor speed sensor and function signal generator and the drive motor control unit.
[0022] The drive motor overspeed fault simulation system is configured to perform a drive motor overspeed fault simulation method as described in the first aspect and any of its possible implementations.
[0023] According to a third aspect of the present invention, a drive motor overspeed fault simulation device is provided, the device being configured to perform a drive motor overspeed fault simulation method as described in the first aspect and any possible implementation thereof.
[0024] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, on which instructions are stored, such that when the instructions in the computer-readable storage medium are executed by a processor of a drive motor overspeed fault simulation device, the drive motor overspeed fault simulation device is able to perform a drive motor overspeed fault simulation method as described in the first aspect and any possible implementation thereof.
[0025] According to a fifth aspect of the present disclosure, a computer program product is provided, the computer program product including computer instructions, which, when executed on a drive motor overspeed fault simulation device, cause the drive motor overspeed fault simulation device to perform the drive motor overspeed fault simulation method of the first aspect and any possible implementation thereof.
[0026] The technical solution provided by the embodiments of the present invention brings at least the following beneficial effects: when the pure electric vehicle is completely powered off, the third signal connection between the real drive motor sensor of the electric vehicle and the adapter box is disconnected, the first signal connection between the function signal generator and the adapter box is established, and the conversion of the real voltage signal to the virtual voltage signal between the real drive motor sensor or function signal generator of the electric vehicle and the drive motor control unit is realized through the adapter box, so as to ensure the integrity of the pure electric vehicle itself and the safety of the testing process. Upon detecting that the pure electric vehicle is powered on, a function signal generator is invoked to generate a sine or cosine virtual voltage signal with a preset signal frequency and preset amplitude range to replace the original real voltage signal from the drive motor speed sensor. The voltage signal generated by the function signal generator is adjusted, and the drive motor control unit is controlled to resolve the drive motor speed value obtained from the received voltage signal as exceeding the overspeed fault threshold. The pure electric vehicle's drive system is then started and operated under preset operating conditions. If the drive motor speed value continuously exceeds the overspeed fault threshold, an overspeed fault is diagnosed. In this way, by adjusting the voltage signal, the target drive motor speed value can be simulated efficiently and accurately. It can flexibly simulate overspeed fault situations at different speed values, thereby verifying the response of the electric vehicle under overspeed faults of varying severity, improving the efficiency of overspeed fault testing, and ensuring the flexibility and reliability of overspeed fault testing.
[0027] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0028] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.
[0029] Figure 1 This is a schematic diagram of a drive motor overspeed fault simulation system according to an exemplary embodiment. Figure 1 ; Figure 2 This is a schematic diagram of a drive motor overspeed fault simulation system according to an exemplary embodiment. Figure 2 ; Figure 3This is a flowchart illustrating a method for simulating overspeed faults in a drive motor according to an exemplary embodiment; Figure 4 This is a schematic diagram of a drive motor overspeed fault simulation device according to an exemplary embodiment. Detailed Implementation
[0030] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.
[0031] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0032] Before providing a detailed description of the drive motor overspeed fault simulation method provided in the embodiments of this application, let's briefly introduce the application scenarios and implementation environment involved in the embodiments of this application.
[0033] Research has found that on-board diagnostic (OBD) systems, as core tools for monitoring vehicle emissions and malfunctions, play a crucial role in the entire chain of environmental protection supervision—before, during, and after the event. This has prompted environmental authorities to strengthen their oversight of OBD systems in both new and in-use vehicles year by year. Whether it's production consistency verification or in-use compliance testing, OBD is a core inspection item. The "Action Plan for the Prevention and Control of Pollution from Diesel Trucks" explicitly stipulates that the OBD systems of newly manufactured motor vehicles must be strictly inspected, and illegal acts of disabling OBD functions must be severely punished. The newly implemented "Regulations on the Recall of Defective Automobile Products" and its supporting implementation measures also make clear recall provisions for OBD-related defects.
[0034] Production Vehicle Evaluation (PVE) testing is a new OBD system certification step added to the China VI emission standard. Its core purpose is to verify whether a vehicle meets the various regulatory requirements for OBD systems, and it has become the main means of verifying the overall vehicle OBD compliance. The PVE J2 test specifically targets the 14 components and systems required by the China VI standard, verifying whether their diagnostic functions meet the standards. Although the China VII standard has not yet been officially released, the draft has included pure electric vehicles in the scope of OBD management, requiring pure electric vehicles to be equipped with an OBD system and complete the PVE J2 test. Drive motor overspeed diagnosis is a key monitoring item for pure electric vehicle OBD systems. Traditional drive motor overspeed fault simulation requires a specially made faulty motor to be replaced in the actual vehicle, which is not only costly, complex, and inefficient, but also poses safety hazards due to the presence of high-voltage electricity in the engine compartment.
[0035] To address the aforementioned issues, this application proposes a method for simulating overspeed faults in drive motors. This method utilizes a function signal generator to generate a sine or cosine virtual voltage signal with a preset signal frequency and amplitude range, replacing the actual voltage signal from the original drive motor speed sensor. By adjusting the voltage signal generated by the function signal generator, the drive motor control unit is controlled to interpret the received voltage signal to ensure that the drive motor speed value exceeds the overspeed fault threshold. Thus, by adjusting the voltage signal, the target drive motor speed value can be simulated efficiently and accurately. This method can flexibly simulate overspeed faults in drive motors at different speeds, thereby verifying the response of electric vehicles under overspeed faults of varying severity. This improves the efficiency of overspeed fault testing and ensures the flexibility and reliability of overspeed fault experiments.
[0036] Secondly, the implementation architecture involved in this application will be briefly introduced below.
[0037] Figure 1 This is a schematic diagram of a drive motor overspeed fault simulation system provided in this application. Figure 1 .like Figure 1 As shown, the drive motor overspeed fault simulation system includes a function signal generator 11, a drive motor control unit 12, a test computer 13, and an adapter box 14.
[0038] The aforementioned function signal generator 11, drive motor control unit 12, test computer 13 and adapter box 14 are connected via wired or wireless communication.
[0039] The function signal generator 11 is connected to the input terminal of the drive motor control unit 12 through the adapter box 14; the test computer 13 is connected to the diagnostic interface of the pure electric vehicle.
[0040] Function signal generator 11 is configured to generate and regulate the voltage signal output by the analog drive motor speed sensor; The drive motor control unit 12 is configured to receive the voltage signal generated by the function signal generator 11. It then analyzes the voltage signal according to a preset drive motor characteristic curve to obtain the drive motor speed value. Test computer 13 is configured to read the drive motor speed value output by drive motor control unit 12; and monitor the drive motor overspeed fault diagnosis results. The adapter box 14 is configured to facilitate signal communication between the drive motor speed sensor and function signal generator 11 and the drive motor control unit 12.
[0041] In some embodiments, such as Figure 2 As shown, the adapter box 14 includes a drive motor speed sensor interface 1, a signal receiving pin interface 2 corresponding to the drive motor control unit, and a vehicle body ground pin interface 3.
[0042] If the pure electric vehicle is detected to be in a fully powered-off state, disconnect the drive motor speed sensor interface 1 and the corresponding signal receiving pin interface 2 of the drive motor control unit on the adapter box 14, and disconnect the third signal connection between the drive motor speed sensor and the adapter box.
[0043] Connect the positive terminal of the function signal generator 11 to the drive motor control unit pin interface 2 corresponding to the drive motor speed sensor, and connect the negative terminal to the vehicle body ground pin interface 3. Establish the first signal connection between the function signal generator and the adapter box.
[0044] This drive motor overspeed fault simulation system is configured to: detect when the pure electric vehicle is completely powered off; disconnect the third signal connection between the drive motor speed sensor and the adapter box; establish a first signal connection between the function signal generator and the adapter box; detect when the pure electric vehicle is powered on; adjust the function signal generator to output a first voltage signal according to a preset drive motor characteristic curve; and control the drive motor control unit to analyze the received first voltage signal to obtain the target drive motor speed value; the first voltage signal represents a sine or cosine virtual voltage signal with a preset signal frequency and preset amplitude range; the target drive motor speed value represents the drive motor speed exceeding the overspeed fault threshold; start the drive system of the pure electric vehicle; and under preset operating conditions, based on the target drive motor speed value, diagnose the drive motor overspeed fault.
[0045] As one implementation method, the drive motor overspeed fault simulation system is specifically configured to use a preset drive motor characteristic curve to characterize the relationship between the signal frequency of the voltage signal determined by the drive motor speed sensor during normal drive motor operation and the drive motor speed value. The drive motor control unit parses the received first voltage signal to obtain the target drive motor speed value. Specifically, this includes: according to the preset drive motor characteristic curve, calling the drive motor control unit to parse the first voltage signal to obtain the first drive motor speed value; based on the first drive motor speed value, adjusting the preset signal frequency of the first voltage signal until the drive motor speed value parsed by the drive motor control unit exceeds the overspeed fault threshold, thus obtaining the target drive motor speed value.
[0046] As one implementation method, the drive motor overspeed fault simulation system is specifically configured such that the drive motor overspeed fault simulation system also includes a test computer; the test computer is electrically or communicatively connected to the output terminal of the drive motor control unit. Before the drive motor control unit parses the received first voltage signal to obtain the target drive motor speed value, the method further includes: detecting whether the test computer can read the drive motor speed value output by the drive motor control unit, specifically including: detecting that the first drive motor speed value obtained by parsing the first voltage signal matches a preset drive motor characteristic curve, and determining that the test computer can successfully read the first drive motor speed value.
[0047] As one implementation method, the drive motor overspeed fault simulation system is specifically configured such that the characteristic parameters of the voltage signal include a preset signal frequency, a preset amplitude range, and a waveform. If a mismatch is detected between the first drive motor speed value obtained from parsing the first voltage signal and a preset drive motor characteristic curve, it is determined that the test computer cannot read the first drive motor speed value. Based on the preset drive motor characteristic curve, the characteristic parameters of the initial voltage signal are adjusted to obtain a second voltage signal. If a match is detected between the second drive motor speed value obtained from parsing the second voltage signal and the preset drive motor characteristic curve, it is determined that the test computer can successfully read the second drive motor speed value.
[0048] As one implementation method, the drive motor overspeed fault simulation system is specifically configured such that, after determining that the test computer can successfully read the first drive motor speed value, the method includes: based on the correlation between the signal frequency of the voltage signal and the drive motor speed value, adjusting the preset signal frequency of the first voltage signal until the drive motor speed value read by the test computer reaches the target drive motor speed value.
[0049] As one implementation method, the drive motor overspeed fault simulation system is specifically configured such that, after determining that the test computer can successfully read the second drive motor speed value, the method includes: based on the correlation between the signal frequency of the voltage signal and the drive motor speed value, adjusting the preset signal frequency of the second voltage signal until the drive motor speed value read by the test computer reaches the target drive motor speed value.
[0050] As one implementation method, the drive motor overspeed fault simulation system is specifically configured to simulate the operating conditions of a vehicle during driving by pre-defined driving conditions, including vehicle speed, engine speed, and temperature. When the drive system of a pure electric vehicle is started, under the pre-defined operating conditions, based on the target drive motor speed value, the drive motor control unit diagnoses a drive motor overspeed fault, including: under the pre-defined operating conditions, a control function signal generator continuously generates a first voltage signal or a second voltage signal corresponding to the target drive motor speed value; and when the drive motor speed value parsed by the drive motor control unit continuously exceeds the overspeed fault threshold, a drive motor overspeed fault is diagnosed.
[0051] For ease of understanding, the following detailed description of the drive motor overspeed fault simulation method provided in this application is provided in conjunction with the accompanying drawings.
[0052] Figure 3 This is a flowchart illustrating a method for simulating overspeed faults in a drive motor according to an exemplary embodiment, such as... Figure 3 As shown, the method for simulating overspeed faults in drive motors includes the following steps.
[0053] S21, it is detected that the pure electric vehicle is in a fully powered-off state, disconnect the third signal connection between the drive motor speed sensor and the adapter box, and establish the first signal connection between the function signal generator and the adapter box.
[0054] A connection is established between the function signal generator and the input terminal of the drive motor control unit via an adapter box. There is a first signal connection between the function signal generator and the adapter box, and a second signal connection between the drive motor control unit and the adapter box.
[0055] A drive motor speed sensor is used to detect the voltage signal generated during the operation of a drive motor.
[0056] Taking advantage of the fact that a function signal generator can simulate and generate a voltage signal with the same frequency and amplitude range as the real voltage signal from the drive motor speed sensor, the virtual voltage signal generated by the function signal generator is used to replace the voltage signal output by the drive motor speed sensor.
[0057] When a pure electric vehicle is powered off, the signal connection between the drive motor speed sensor and the drive motor control unit is disconnected. This ensures that all signals received by the control unit originate from the voltage signal output of a precisely controllable function signal generator, eliminating interference from the real sensor and providing accurate fault voltage signals for subsequent operation. Furthermore, the transition from the real voltage signal to the virtual voltage signal is achieved through an adapter box, eliminating the need to damage the existing vehicle wiring harness. This allows for easier disconnection of the drive motor speed sensor and drive motor control unit, improving the efficiency of overspeed fault simulation and ensuring operational safety.
[0058] S22, the pure electric vehicle is detected to be powered on. According to the preset drive motor characteristic curve, the function signal generator is adjusted to output the first voltage signal; and the drive motor control unit is controlled to analyze the received first voltage signal to obtain the target drive motor speed value.
[0059] The first voltage signal represents a sinusoidal or cosine virtual voltage signal with a preset signal frequency and a preset amplitude range. The preset amplitude range is -5V to 5V.
[0060] The target drive motor speed value indicates that the drive motor speed exceeds the overspeed fault threshold.
[0061] The preset drive motor characteristic curve is a curve that characterizes the relationship between the signal frequency of the voltage signal determined by the drive motor speed sensor during normal operation and the drive motor speed value.
[0062] Because of the rotation of the drive motor rotor, the conventional signal from the drive motor speed sensor is a sine or cosine voltage signal with an amplitude range of -5V to 5V. Its signal frequency is positively correlated with the motor speed; that is, the higher the frequency, the greater the speed value that the drive motor control unit can interpret. Therefore, based on the characteristics of the drive motor speed sensor's output signal, a function generator is used to output a sine or cosine voltage signal with a specific frequency and amplitude of -5V to 5V to simulate the voltage signal of the drive motor speed sensor.
[0063] To obtain an accurate target drive motor speed value, the signal frequency of the first voltage signal generated by the function signal generator needs to be adjusted multiple times until the drive motor speed value output by the drive motor control unit read by the test computer exceeds the overspeed fault threshold.
[0064] First, check whether the test computer can read the drive motor speed value output by the drive motor control unit. There are two possible scenarios: readable and unreadable.
[0065] First, it was detected that the test computer could read the drive motor speed value output by the drive motor control unit.
[0066] Specifically, if the speed value of the first drive motor obtained by parsing the first voltage signal is detected to match the preset characteristic curve of the drive motor, it is determined that the test computer can successfully read the speed value of the first drive motor.
[0067] Secondly, it was detected that the test computer could not read the drive motor speed value output by the drive motor control unit.
[0068] The characteristic parameters of a voltage signal include preset signal frequency, preset amplitude range, and waveform.
[0069] Specifically, if the first drive motor speed value obtained from parsing the first voltage signal is found to be mismatched with the preset drive motor characteristic curve, it is determined that the test computer cannot read the first drive motor speed value. Based on the preset drive motor characteristic curve, the characteristic parameters of the initial voltage signal are adjusted to obtain a second voltage signal. If the second drive motor speed value obtained from parsing the second voltage signal is found to match the preset drive motor characteristic curve, it is determined that the test computer can successfully read the second drive motor speed value.
[0070] In this specific implementation, when the test computer detects that it cannot read the drive motor speed value, it indicates that the current voltage signal and the corresponding parsed drive motor speed value do not match the preset drive motor characteristic curve. At this time, the characteristic parameters of the sine or cosine voltage signal output by the function signal generator channel are adjusted according to the preset drive motor characteristic curve to obtain a virtual voltage signal that matches the signal characteristics of the voltage signal output by the drive motor speed sensor, thus ensuring the reliability of the overspeed fault simulation test.
[0071] Understandably, the ability of the testing computer to successfully read the drive motor speed value is crucial for subsequently adjusting the voltage signal output by the function signal generator. This allows for a more direct determination of whether the read drive motor speed value reaches the target drive motor speed value and whether it exceeds the overspeed fault threshold. It provides vital data support for adjusting the preset signal frequency of the first voltage signal based on the read drive motor speed value until the drive motor speed value output by the drive motor control unit reaches the target drive motor speed value, thus ensuring the accuracy and reliability of the overspeed fault simulation test.
[0072] Secondly, based on the motor speed value read by the test computer, the voltage signal output by the function signal generator is adjusted.
[0073] Specifically, based on the correlation between the signal frequency of the voltage signal and the speed of the drive motor, the preset signal frequency of the first voltage signal is adjusted according to the first drive motor speed value until the drive motor speed value read by the test computer reaches the target drive motor speed value.
[0074] Optionally, based on the correlation between the voltage signal frequency and the drive motor speed value, the preset signal frequency of the second voltage signal is adjusted according to the second drive motor speed value until the drive motor speed value read by the test computer reaches the target drive motor speed value.
[0075] Understandably, by directly reading the drive motor speed value output by the drive motor control unit through the test computer, it is possible to more intuitively determine whether the drive motor speed value corresponding to the signal frequency of the current voltage signal has reached the target drive motor speed value. This allows for a more efficient achievement of the main diagnostic conditions for drive motor overspeed faults, successfully simulating drive motor overspeed faults.
[0076] In one implementation, a preset signal frequency of either the first voltage signal or the second voltage signal is recorded and stored when the target drive motor speed is reached. Based on this, drive motor overspeed faults corresponding to different drive motor speeds can be quickly reproduced.
[0077] S23, start the drive system of the pure electric vehicle. Under the preset operating conditions, based on the target drive motor speed value, the drive motor control unit diagnoses the drive motor overspeed fault.
[0078] The preset driving conditions characterize the operating conditions of the vehicle during driving, including vehicle speed, engine speed, and temperature.
[0079] Specifically, under preset operating conditions, the control function signal generator continuously generates a first voltage signal or a second voltage signal corresponding to the target drive motor speed value. If the drive motor speed value parsed by the drive motor control unit continuously exceeds the overspeed fault threshold, an overspeed fault in the drive motor is diagnosed.
[0080] Understandably, the drive motor speed exceeding the overspeed fault threshold is the primary diagnostic condition for diagnosing drive motor overspeed faults. However, due to the complexity of actual vehicle operation, when the drive motor of a pure electric vehicle is functioning normally, its speed is within a reasonable range and fluctuates depending on the overall vehicle operating conditions. Therefore, simply detecting that the current drive motor speed exceeds the overspeed fault threshold is insufficient to directly diagnose a drive motor overspeed fault. A comprehensive assessment of actual operating conditions is necessary. After the vehicle's drive system starts and operates under preset conditions, if the drive motor speed consistently exceeds the overspeed fault threshold during the operating period, and simultaneously meets other manufacturer-defined auxiliary conditions such as vehicle speed, torque, and temperature, the drive motor control unit diagnoses a starter motor overspeed fault. This ensures the authenticity and accuracy of the drive motor fault diagnosis.
[0081] Figure 4 This is a schematic diagram of a drive motor overspeed fault simulation device provided in this application. Figure 4 The drive motor overspeed fault simulation device 50 includes: a first processor 501, a communication bus 502, a memory 503, a communication interface 504, an output device 505, an input device 506, and a second processor 507.
[0082] The drive motor overspeed fault simulation device 50 may include at least one first processor 501 and a memory 503 for storing processor-executable instructions. The first processor 501 is configured to execute the instructions in the memory 503 to implement the drive motor overspeed fault simulation method in the following embodiments.
[0083] In addition, the drive motor overspeed fault simulation device 50 may also include a communication bus 502, at least one communication interface 504, an input device 506, and an output device 505.
[0084] The first processor 501 may be a processor (central processing unit, CPU), a microprocessor unit, an ASIC, or one or more integrated circuits for controlling the execution of programs according to the present application.
[0085] The communication bus 502 may include a path for transmitting information between the aforementioned components.
[0086] Communication interface 504 uses any transceiver-like device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.
[0087] Input device 506 is used to receive input signals and output device 505 is used to output signals.
[0088] Memory 503 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed discs, laser discs, optical discs, digital universal discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. Memory may exist independently and be connected to the processing unit via a bus. Memory may also be integrated with the processing unit.
[0089] The memory 503 stores instructions for executing the scheme of this application, and the execution is controlled by the first processor 501. The first processor 501 executes the instructions stored in the memory 503 to realize the functions of the method of this application.
[0090] In a specific implementation, as one example, the first processor 501 may include one or more CPUs, for example... Figure 4 CPU0 and CPU1 in the CPU.
[0091] In a specific implementation, as one example, the drive motor overspeed fault simulation device 50 may include multiple processors, such as... Figure 4 The first processor 501 and the second processor 507 are described. Each of these processors can be a single-core processor or a multi-core processor. A processor here can refer to one or more devices, circuits, and / or processing cores used to process data (such as computer program instructions).
[0092] The drive motor overspeed fault simulation device, such as Figure 4 The diagram includes a first processor 501 and a memory 503 for storing executable instructions of the first processor 501. The first processor 501 is configured to execute the executable instructions to implement the drive motor overspeed fault simulation method as described in any of the possible embodiments above. Since the same technical effects can be achieved, further details are omitted here to avoid repetition.
[0093] This application also provides a computer-readable storage medium. When the instructions in the computer-readable storage medium are executed by the processor of the drive motor overspeed fault simulation device, the drive motor overspeed fault simulation device can perform the drive motor overspeed fault simulation method as described in any of the above possible embodiments. And it can achieve the same technical effect; to avoid repetition, it will not be described again here.
[0094] This application also provides a computer program product, including a computer program or instructions, which are executed by a processor as a drive motor overspeed fault simulation method according to any of the possible implementations described above. It achieves the same technical effect, and to avoid repetition, will not be described again here.
[0095] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0096] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A method for simulating overspeed faults in a drive motor, characterized in that, An overspeed fault simulation system for drive motors is provided. The system includes a function signal generator, a drive motor control unit, and an adapter box. The function signal generator and the input terminal of the drive motor control unit are connected through the adapter box. The function signal generator and the adapter box are connected by a first signal connection, and the drive motor control unit and the adapter box are connected by a second signal connection. The method includes: If the pure electric vehicle is detected to be fully powered down, disconnect the third signal connection between the drive motor speed sensor and the adapter box; establish the first signal connection between the function signal generator and the adapter box. Upon detecting that the pure electric vehicle is powered on, the function signal generator is adjusted to output a first voltage signal according to a preset drive motor characteristic curve; and the drive motor control unit is controlled to analyze the received first voltage signal to obtain the target drive motor speed value; the first voltage signal represents a sine or cosine virtual voltage signal with a preset signal frequency and preset amplitude range; the target drive motor speed value represents the drive motor speed value exceeding the overspeed fault threshold; the preset drive motor characteristic curve represents the curve of the correlation between the signal frequency of the voltage signal determined by the drive motor speed sensor when the drive motor is operating normally and the drive motor speed value; The process of controlling the drive motor control unit to analyze the received first voltage signal to obtain the target drive motor speed value specifically includes: According to the preset drive motor characteristic curve, the drive motor control unit is invoked to analyze the first voltage signal to obtain the first drive motor speed value; based on the first drive motor speed value, the preset signal frequency of the first voltage signal is adjusted until the drive motor speed value analyzed by the drive motor control unit exceeds the overspeed fault threshold, and the target drive motor speed value is obtained. The drive motor overspeed fault simulation system further includes a test computer; the test computer is electrically or communicatively connected to the output terminal of the drive motor control unit; before the drive motor control unit parses the received first voltage signal to obtain the target drive motor speed value, the method further includes: Detecting whether the test computer can read the drive motor speed value output by the drive motor control unit specifically includes: detecting that the first drive motor speed value obtained by parsing the first voltage signal matches the preset drive motor characteristic curve, and determining that the test computer can successfully read the first drive motor speed value; After determining that the test computer can successfully read the first drive motor speed value, the method includes: adjusting the preset signal frequency of the first voltage signal based on the first drive motor speed value according to the correlation between the signal frequency of the voltage signal and the drive motor speed value, until the drive motor speed value read by the test computer reaches the target drive motor speed value. The drive system of the pure electric vehicle is started. Under preset operating conditions, based on the target drive motor speed value, the drive motor control unit diagnoses the drive motor overspeed fault. The preset operating conditions represent the operating conditions during the simulated vehicle driving process, including vehicle speed, speed, and temperature. The drive system of the pure electric vehicle, under preset operating conditions, diagnoses an overspeed fault in the drive motor control unit based on the target drive motor speed value, including: Under the preset operating conditions, the function signal generator is controlled to continuously generate the first voltage signal or the second voltage signal corresponding to the target drive motor speed value; if the drive motor speed value parsed by the drive motor control unit continuously exceeds the overspeed fault threshold, the drive motor overspeed fault is diagnosed.
2. The method for simulating overspeed faults of a drive motor according to claim 1, characterized in that, The characteristic parameters of the voltage signal include a preset signal frequency, a preset amplitude range, and a waveform; the method further includes: If the test computer detects that the first drive motor speed value obtained by parsing the first voltage signal does not match the preset drive motor characteristic curve, it is determined that the test computer cannot read the first drive motor speed value. According to the preset drive motor characteristic curve, the characteristic parameters of the first voltage signal are adjusted to obtain the second voltage signal; If the second drive motor speed value obtained by parsing the second voltage signal is detected to match the preset drive motor characteristic curve, it is determined that the test computer can successfully read the second drive motor speed value.
3. The method for simulating overspeed faults of a drive motor according to claim 2, characterized in that, After determining that the test computer can successfully read the speed value of the second drive motor, the method includes: Based on the correlation between the voltage signal frequency and the drive motor speed, and based on the second drive motor speed, the preset signal frequency of the second voltage signal is adjusted until the drive motor speed value read by the test computer reaches the target drive motor speed value.
4. A drive motor overspeed fault simulation system, characterized in that, The system includes: a function signal generator, a drive motor control unit, a test computer, and an adapter box; the function signal generator and the input terminal of the drive motor control unit are connected through the adapter box; the test computer is connected to the diagnostic interface of the pure electric vehicle. The function signal generator is used to generate and adjust the voltage signal output by the analog drive motor speed sensor; The drive motor control unit is used to receive the voltage signal generated by the function signal generator; and to analyze the voltage signal according to the preset drive motor characteristic curve to obtain the drive motor speed value; The test computer is used to read the drive motor speed value output by the drive motor control unit and monitor the drive motor overspeed fault diagnosis results. The adapter box is used to transfer the signal communication between the drive motor speed sensor and the function signal generator and the drive motor control unit; The drive motor overspeed fault simulation system is configured to perform the drive motor overspeed fault simulation method as described in any one of claims 1-3.
5. A device for simulating overspeed faults in drive motors, characterized in that, The drive motor overspeed fault simulation device is configured to perform the drive motor overspeed fault simulation method as described in any one of claims 1-3.
6. A computer-readable storage medium storing instructions thereon, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the drive motor overspeed fault simulation device, the drive motor overspeed fault simulation device is able to perform the drive motor overspeed fault simulation method as described in any one of claims 1-3.